ik-next-ui 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/IkApprovalProcess/ik-next-ui.css +1 -1
  2. package/dist/IkApprovalProcess/ik.index.es.js +1 -1
  3. package/dist/IkApprovalProcessDetail/ik-next-ui.css +1 -1
  4. package/dist/IkApprovalProcessDetail/ik.index.es.js +694 -656
  5. package/dist/IkBaseDialog/ik-next-ui.css +1 -1
  6. package/dist/IkBaseDialog/ik.index.es.js +154 -116
  7. package/dist/IkCollapseCard/ik-next-ui.css +1 -1
  8. package/dist/IkCollapseCard/ik.index.es.js +163 -125
  9. package/dist/IkDescription/ik-next-ui.css +1 -1
  10. package/dist/IkDescription/ik.index.es.js +610 -572
  11. package/dist/IkDetailPreviewFiles/ik-next-ui.css +1 -1
  12. package/dist/IkDetailPreviewFiles/ik.index.es.js +805 -767
  13. package/dist/IkIconPicker/ik-next-ui.css +1 -1
  14. package/dist/IkIconPicker/ik.index.es.js +180 -142
  15. package/dist/IkImageUploadEditor/ik.index.es.js +1084 -1084
  16. package/dist/IkMonacoEditor/ik-next-ui.css +1 -1
  17. package/dist/IkMonacoEditor/ik.index.es.js +418 -380
  18. package/dist/IkPickerUser/ik-next-ui.css +1 -1
  19. package/dist/IkPreviewFile/ik-next-ui.css +1 -1
  20. package/dist/IkPreviewFile/ik.index.es.js +644 -606
  21. package/dist/IkPreviewFileDialog/ik-next-ui.css +1 -1
  22. package/dist/IkPreviewFileDialog/ik.index.es.js +658 -620
  23. package/dist/IkRadioGroup/ik-next-ui.css +1 -1
  24. package/dist/IkRadioGroup/ik.index.es.js +140 -102
  25. package/dist/IkSideText/ik-next-ui.css +1 -1
  26. package/dist/IkSideText/ik.index.es.js +131 -93
  27. package/dist/IkSvgIcon/ik-next-ui.css +1 -1
  28. package/dist/IkSvgIcon/ik.index.es.js +139 -101
  29. package/dist/IkUploadFile/ik-next-ui.css +1 -1
  30. package/dist/IkUploadFile/ik.index.es.js +880 -839
  31. package/dist/IkUploadImage/ik-next-ui.css +1 -1
  32. package/dist/IkUploadImage/ik.index.es.js +261 -223
  33. package/dist/IkVerticalStepBar/ik-next-ui.css +1 -1
  34. package/dist/IkVerticalStepBar/ik.index.es.js +140 -102
  35. package/dist/Provider/ik.index.es.js +13 -19
  36. package/dist/build/version.json.d.ts +1 -1
  37. package/dist/ik-next-ui.css +2 -2
  38. package/dist/index.es.js +10093 -10097
  39. package/dist/index.umd.js +103 -103
  40. package/dist/src/components/IkDragList/index.d.ts +3 -3
  41. package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +1 -1
  42. package/dist/src/components/IkImage/index.d.ts +15 -15
  43. package/dist/src/components/IkImage/src/index.vue.d.ts +1 -1
  44. package/dist/src/components/IkPickerUser/index.d.ts +1 -1
  45. package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +1 -1
  46. package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +1 -1
  47. package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +1 -1
  48. package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +1 -1
  49. package/dist/src/components/IkSideText/IkSideText.vue.d.ts +1 -1
  50. package/dist/src/components/IkSideText/index.d.ts +1 -1
  51. package/dist/src/components/IkTooltip/index.d.ts +3 -3
  52. package/dist/src/components/IkTooltip/src/index.vue.d.ts +1 -1
  53. package/dist/src/components/IkTree/IkTree.vue.d.ts +2532 -788
  54. package/dist/src/components/IkUploadFile/src/hooks/useFileInfo.d.ts +1 -0
  55. package/dist/src/components/IkUploadImage/index.d.ts +3 -3
  56. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
  57. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +12 -17
  58. package/dist/src/components/Provider/index.d.ts +30 -77
  59. package/dist/src/components-dev/IkUmoEditor/index.d.ts +322 -0
  60. package/dist/src/iking-ui/version.d.ts +1 -1
  61. package/package.json +1 -1
  62. package/dist/src/components/IkBtnContent/index.d.ts +0 -34
  63. package/dist/src/components/IkBtnContent/src/index.d.ts +0 -36
  64. package/dist/src/components/IkTree/index.d.ts +0 -12403
@@ -1,11 +1,11 @@
1
- import { defineComponent as Se, computed as Q, openBlock as x, createElementBlock as R, createElementVNode as S, inject as Tt, ref as le, Fragment as me, createCommentVNode as K, renderList as _t, normalizeStyle as ae, toDisplayString as Te, unref as E, normalizeClass as ie, createBlock as ue, withModifiers as tt, renderSlot as $e, createVNode as G, useModel as Zr, reactive as Tu, watch as Lt, nextTick as Jr, withCtx as ne, mergeModels as Rt, resolveComponent as hi, h as Su, mergeProps as Eu, createSlots as xu, createTextVNode as Ea, markRaw as xa, effectScope as Iu, shallowRef as Pu, onMounted as Au, Teleport as hl, Transition as dl, resolveDynamicComponent as Lu, withDirectives as Ru, vShow as Du } from "vue";
1
+ import { defineComponent as be, computed as J, openBlock as x, createElementBlock as R, createElementVNode as S, inject as Tt, ref as ue, Fragment as me, createCommentVNode as $, renderList as _t, normalizeStyle as ae, toDisplayString as Se, unref as E, normalizeClass as ne, createBlock as se, withModifiers as tt, renderSlot as Ne, createVNode as G, useModel as Zr, reactive as Tu, watch as Lt, nextTick as Jr, withCtx as ie, mergeModels as Rt, resolveComponent as hi, h as Su, mergeProps as Eu, createSlots as xu, createTextVNode as Ea, markRaw as xa, effectScope as Iu, shallowRef as Pu, onMounted as Au, Teleport as hl, Transition as dl, resolveDynamicComponent as Lu, withDirectives as Ru, vShow as Du } from "vue";
2
2
  import { paramType as Vr, ikFile as Ou, buildUUID as gl, _ as Ei, ikUrl as Mu } from "iking-utils-pro";
3
3
  import { Icon as Ia } from "@iconify/vue";
4
4
  import { UseImage as Pa } from "@vueuse/components";
5
- import { useEventListener as $t } from "@vueuse/core";
6
- import { useLocale as Fu, useNamespace as vl, useZIndex as Nu, ElIcon as Ve, EVENT_CODE as ft } from "element-plus";
5
+ import { useEventListener as Kt } from "@vueuse/core";
6
+ import { useLocale as Fu, useNamespace as vl, useZIndex as Nu, ElIcon as qe, EVENT_CODE as ft } from "element-plus";
7
7
  import { ScaleToOriginal as Bu, FullScreen as Hu, Close as pl, ArrowLeft as Uu, ArrowRight as ju, ZoomOut as zu, ZoomIn as Vu, RefreshLeft as qu, RefreshRight as Gu } from "@element-plus/icons-vue";
8
- const He = (a, s) => (a.install = (r) => {
8
+ const Ae = (a, s) => (a.install = (r) => {
9
9
  for (const t of [a, ...Object.values({})])
10
10
  r.component(t.name, t);
11
11
  }, a);
@@ -134,10 +134,10 @@ const ei = (a, s) => {
134
134
  }, Aa = (a) => {
135
135
  const s = a == null ? void 0 : a.toLocaleLowerCase(), r = s != null && s.startsWith(".") ? s : `.${s}`;
136
136
  return r && Wu[r] || "unknow";
137
- }, Ku = (a) => {
137
+ }, $u = (a) => {
138
138
  let s = "", r = ["doc", "docx"], t = ["xls", "xlsx"], e = ["ppt", "pptx"], i = ["pdf"];
139
139
  return r.includes(a) && (s = "word"), t.includes(a) && (s = "cell"), e.includes(a) && (s = "slide"), i.includes(a) && (s = "text-pdf"), s;
140
- }, $u = {
140
+ }, Ku = {
141
141
  key: 0,
142
142
  t: "1686300059786",
143
143
  class: "icon",
@@ -257,7 +257,7 @@ const ei = (a, s) => {
257
257
  "p-id": "7515",
258
258
  width: "200",
259
259
  height: "200"
260
- }, sc = /* @__PURE__ */ Se({
260
+ }, sc = /* @__PURE__ */ be({
261
261
  __name: "IkFileIcon",
262
262
  props: {
263
263
  type: {
@@ -278,8 +278,8 @@ const ei = (a, s) => {
278
278
  }
279
279
  },
280
280
  setup(a) {
281
- const s = a, r = Q(() => s.file ? ei(s.file, s.fields) : s.type);
282
- return (t, e) => r.value === "image" ? (x(), R("svg", $u, [...e[0] || (e[0] = [
281
+ const s = a, r = J(() => s.file ? ei(s.file, s.fields) : s.type);
282
+ return (t, e) => r.value === "image" ? (x(), R("svg", Ku, [...e[0] || (e[0] = [
283
283
  S(
284
284
  "path",
285
285
  {
@@ -637,7 +637,7 @@ const ei = (a, s) => {
637
637
  )
638
638
  ])]));
639
639
  }
640
- }), La = He(sc), di = (a, s) => {
640
+ }), La = Ae(sc), di = (a, s) => {
641
641
  const r = a.__vccOpts || a;
642
642
  for (const [t, e] of s)
643
643
  r[t] = e;
@@ -708,7 +708,7 @@ const ei = (a, s) => {
708
708
  "flv",
709
709
  "tls"
710
710
  ], yl = (a) => {
711
- const s = Tt("loadUrl"), r = Q(() => a.loadUrl || a.fileUrl || (s == null ? void 0 : s.value)), t = Tt("uploadUrl"), e = Q(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Tt("token"), n = Q(() => a.token || (i == null ? void 0 : i.value)), o = Tt("onlyofficeConfig"), l = Q(() => a.onlyofficeConfig || (o == null ? void 0 : o.value)), u = Tt("userInfo"), c = Q(() => a.userInfo || (u == null ? void 0 : u.value)), f = [...Ra, ...Ra.map((d) => d.toLocaleUpperCase())];
711
+ const s = Tt("loadUrl"), r = J(() => a.loadUrl || a.fileUrl || (s == null ? void 0 : s.value)), t = Tt("uploadUrl"), e = J(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Tt("token"), n = J(() => a.token || (i == null ? void 0 : i.value)), o = Tt("onlyofficeConfig"), l = J(() => a.onlyofficeConfig || (o == null ? void 0 : o.value)), u = Tt("userInfo"), c = J(() => a.userInfo || (u == null ? void 0 : u.value)), f = [...Ra, ...Ra.map((d) => d.toLocaleUpperCase())];
712
712
  return {
713
713
  cLoadUrl: r,
714
714
  cUploadUrl: e,
@@ -731,7 +731,7 @@ const ei = (a, s) => {
731
731
  key: 0,
732
732
  class: "size",
733
733
  style: { "padding-right": "20px", "white-space": "nowrap" }
734
- }, vc = ["onClick"], pc = { class: "text" }, mc = { class: "fileName" }, yc = { class: "size" }, _c = /* @__PURE__ */ Se({
734
+ }, vc = ["onClick"], pc = { class: "text" }, mc = { class: "fileName" }, yc = { class: "size" }, _c = /* @__PURE__ */ be({
735
735
  __name: "IkPreviewFile",
736
736
  props: {
737
737
  list: {
@@ -832,13 +832,13 @@ const ei = (a, s) => {
832
832
  },
833
833
  emits: ["handPreview", "download", "close"],
834
834
  setup(a, { emit: s }) {
835
- const r = a, t = Q(() => r.simple ? "simple" : r.showType), { cLoadUrl: e, cOnlyofficeConfig: i, cOnlyofficePreviewType: n } = yl(r), o = s, l = Q(() => ({
835
+ const r = a, t = J(() => r.simple ? "simple" : r.showType), { cLoadUrl: e, cOnlyofficeConfig: i, cOnlyofficePreviewType: n } = yl(r), o = s, l = J(() => ({
836
836
  name: "name",
837
837
  url: "url",
838
838
  suffix: "suffix",
839
839
  size: "size",
840
840
  ...r.field
841
- })), u = le({}), c = le(!1), f = (p) => {
841
+ })), u = ue({}), c = ue(!1), f = (p) => {
842
842
  var k, b;
843
843
  u.value = {
844
844
  ...p,
@@ -858,7 +858,7 @@ const ei = (a, s) => {
858
858
  );
859
859
  }, g = (p) => {
860
860
  o("close", p);
861
- }, v = Q(() => Vr.isNumber(r.width) ? `${r.width}px` : r.width), m = Q(() => r.list.map((p) => {
861
+ }, v = J(() => Vr.isNumber(r.width) ? `${r.width}px` : r.width), m = J(() => r.list.map((p) => {
862
862
  var b;
863
863
  const k = p[l.value.name] || p.attachmentName;
864
864
  return {
@@ -878,7 +878,7 @@ const ei = (a, s) => {
878
878
  me,
879
879
  { key: 0 },
880
880
  [
881
- K(" 简单模式 "),
881
+ $(" 简单模式 "),
882
882
  t.value === "simple" ? (x(!0), R(
883
883
  me,
884
884
  { key: 0 },
@@ -892,37 +892,37 @@ const ei = (a, s) => {
892
892
  S(
893
893
  "div",
894
894
  uc,
895
- Te(T.name),
895
+ Se(T.name),
896
896
  1
897
897
  /* TEXT */
898
898
  ),
899
899
  a.showFileSize ? (x(), R(
900
900
  "div",
901
901
  cc,
902
- Te(T.size ? `(${E(xi)(T.size)})` : ""),
902
+ Se(T.size ? `(${E(xi)(T.size)})` : ""),
903
903
  1
904
904
  /* TEXT */
905
- )) : K("v-if", !0)
905
+ )) : $("v-if", !0)
906
906
  ]),
907
907
  S(
908
908
  "div",
909
909
  {
910
- class: ie(["flex flex-center", { "hover-show": a.iconHoverShow }])
910
+ class: ne(["flex flex-center", { "hover-show": a.iconHoverShow }])
911
911
  },
912
912
  [
913
- a.showDownloadBtn ? (x(), ue(E(Oe), {
913
+ a.showDownloadBtn ? (x(), se(E(Me), {
914
914
  key: 0,
915
915
  name: "iksvg_daochu",
916
916
  onClick: tt((j) => d(T), ["stop"]),
917
917
  size: 20
918
- }, null, 8, ["onClick"])) : K("v-if", !0),
919
- E(n).includes(T.suffix) && a.showPreviewBtn ? (x(), ue(E(Oe), {
918
+ }, null, 8, ["onClick"])) : $("v-if", !0),
919
+ E(n).includes(T.suffix) && a.showPreviewBtn ? (x(), se(E(Me), {
920
920
  key: 1,
921
921
  name: "iksvg_yulan",
922
922
  size: 20,
923
923
  onClick: tt((j) => f(T), ["stop"])
924
- }, null, 8, ["onClick"])) : K("v-if", !0),
925
- $e(p.$slots, "operation", {
924
+ }, null, 8, ["onClick"])) : $("v-if", !0),
925
+ Ne(p.$slots, "operation", {
926
926
  data: { ...T, findex: I }
927
927
  })
928
928
  ],
@@ -936,7 +936,7 @@ const ei = (a, s) => {
936
936
  me,
937
937
  { key: 1 },
938
938
  [
939
- K(" 简单图标模式 "),
939
+ $(" 简单图标模式 "),
940
940
  (x(!0), R(
941
941
  me,
942
942
  null,
@@ -947,7 +947,7 @@ const ei = (a, s) => {
947
947
  style: ae({ width: v.value })
948
948
  }, [
949
949
  S("div", hc, [
950
- K(" 若为默认40,则simple-icon设置为20,否则设置为iconSize "),
950
+ $(" 若为默认40,则simple-icon设置为20,否则设置为iconSize "),
951
951
  G(E(La), {
952
952
  file: T,
953
953
  style: ae({
@@ -967,36 +967,36 @@ const ei = (a, s) => {
967
967
  S(
968
968
  "p",
969
969
  dc,
970
- Te(T.name),
970
+ Se(T.name),
971
971
  1
972
972
  /* TEXT */
973
973
  ),
974
974
  a.showFileSize ? (x(), R(
975
975
  "p",
976
976
  gc,
977
- Te(T.size ? `(${E(xi)(T.size)})` : ""),
977
+ Se(T.size ? `(${E(xi)(T.size)})` : ""),
978
978
  1
979
979
  /* TEXT */
980
- )) : K("v-if", !0)
980
+ )) : $("v-if", !0)
981
981
  ],
982
982
  4
983
983
  /* STYLE */
984
984
  )
985
985
  ]),
986
- a.showDownloadBtn ? (x(), ue(E(Oe), {
986
+ a.showDownloadBtn ? (x(), se(E(Me), {
987
987
  key: 0,
988
988
  name: "iksvg_daochu",
989
989
  size: 20,
990
990
  title: "下载",
991
991
  onClick: tt((j) => d(T), ["stop"])
992
- }, null, 8, ["onClick"])) : K("v-if", !0),
993
- E(n).includes(T.suffix) && a.showPreviewBtn ? (x(), ue(E(Oe), {
992
+ }, null, 8, ["onClick"])) : $("v-if", !0),
993
+ E(n).includes(T.suffix) && a.showPreviewBtn ? (x(), se(E(Me), {
994
994
  key: 1,
995
995
  name: "iksvg_yulan",
996
996
  size: 20,
997
997
  onClick: tt((j) => f(T), ["stop"]),
998
998
  title: "预览"
999
- }, null, 8, ["onClick"])) : K("v-if", !0)
999
+ }, null, 8, ["onClick"])) : $("v-if", !0)
1000
1000
  ], 12, fc))),
1001
1001
  128
1002
1002
  /* KEYED_FRAGMENT */
@@ -1008,7 +1008,7 @@ const ei = (a, s) => {
1008
1008
  me,
1009
1009
  { key: 2 },
1010
1010
  [
1011
- K(" 默认模式 "),
1011
+ $(" 默认模式 "),
1012
1012
  (x(!0), R(
1013
1013
  me,
1014
1014
  null,
@@ -1017,7 +1017,7 @@ const ei = (a, s) => {
1017
1017
  return x(), R(
1018
1018
  "div",
1019
1019
  {
1020
- class: ie(["iking-privew-annex", { "is-bg": a.showBg }]),
1020
+ class: ne(["iking-privew-annex", { "is-bg": a.showBg }]),
1021
1021
  key: I,
1022
1022
  style: ae({
1023
1023
  marginBottom: I == ((j = a.list) == null ? void 0 : j.length) - 1 ? "0" : "10px",
@@ -1039,14 +1039,14 @@ const ei = (a, s) => {
1039
1039
  S(
1040
1040
  "div",
1041
1041
  mc,
1042
- Te(T.name),
1042
+ Se(T.name),
1043
1043
  1
1044
1044
  /* TEXT */
1045
1045
  ),
1046
1046
  S(
1047
1047
  "div",
1048
1048
  yc,
1049
- Te(E(xi)(T.size)),
1049
+ Se(E(xi)(T.size)),
1050
1050
  1
1051
1051
  /* TEXT */
1052
1052
  )
@@ -1054,26 +1054,26 @@ const ei = (a, s) => {
1054
1054
  S(
1055
1055
  "div",
1056
1056
  {
1057
- class: ie(["flex flex-center", { "hover-show": a.iconHoverShow }])
1057
+ class: ne(["flex flex-center", { "hover-show": a.iconHoverShow }])
1058
1058
  },
1059
1059
  [
1060
- a.showDownloadBtn ? (x(), ue(E(Oe), {
1060
+ a.showDownloadBtn ? (x(), se(E(Me), {
1061
1061
  key: 0,
1062
1062
  name: "iksvg_daochu",
1063
1063
  onClick: tt((Y) => d(T), ["stop"]),
1064
1064
  bg: a.showBg,
1065
1065
  size: a.showBg ? "default" : 20,
1066
1066
  title: "下载"
1067
- }, null, 8, ["onClick", "bg", "size"])) : K("v-if", !0),
1068
- E(n).includes(T.suffix) && a.showPreviewBtn ? (x(), ue(E(Oe), {
1067
+ }, null, 8, ["onClick", "bg", "size"])) : $("v-if", !0),
1068
+ E(n).includes(T.suffix) && a.showPreviewBtn ? (x(), se(E(Me), {
1069
1069
  key: 1,
1070
1070
  name: "iksvg_yulan",
1071
1071
  bg: a.showBg,
1072
1072
  size: a.showBg ? "default" : 20,
1073
1073
  title: "预览",
1074
1074
  onClick: tt((Y) => f(T), ["stop"])
1075
- }, null, 8, ["bg", "size", "onClick"])) : K("v-if", !0),
1076
- $e(p.$slots, "operation", {
1075
+ }, null, 8, ["bg", "size", "onClick"])) : $("v-if", !0),
1076
+ Ne(p.$slots, "operation", {
1077
1077
  data: { ...T, findex: I }
1078
1078
  })
1079
1079
  ],
@@ -1096,7 +1096,7 @@ const ei = (a, s) => {
1096
1096
  ],
1097
1097
  64
1098
1098
  /* STABLE_FRAGMENT */
1099
- )) : K("v-if", !0),
1099
+ )) : $("v-if", !0),
1100
1100
  G(E(Ic), {
1101
1101
  onClose: g,
1102
1102
  show: c.value,
@@ -1113,7 +1113,7 @@ const ei = (a, s) => {
1113
1113
  );
1114
1114
  };
1115
1115
  }
1116
- }), bc = He(_c), Cc = { class: "head-logo" }, kc = ["src"], wc = { class: "text-preview-container" }, Tc = { class: "text-preview-header" }, Sc = { class: "file-name" }, Ec = { class: "text-preview-content" }, xc = /* @__PURE__ */ Se({
1116
+ }), bc = Ae(_c), Cc = { class: "head-logo" }, kc = ["src"], wc = { class: "text-preview-container" }, Tc = { class: "text-preview-header" }, Sc = { class: "file-name" }, Ec = { class: "text-preview-content" }, xc = /* @__PURE__ */ be({
1117
1117
  __name: "IkPreviewFileDialog",
1118
1118
  props: /* @__PURE__ */ Rt({
1119
1119
  file: {
@@ -1150,13 +1150,13 @@ const ei = (a, s) => {
1150
1150
  }),
1151
1151
  emits: /* @__PURE__ */ Rt(["close"], ["update:show"]),
1152
1152
  setup(a, { emit: s }) {
1153
- const r = a, t = s, e = Zr(a, "show"), i = Q(() => ({
1153
+ const r = a, t = s, e = Zr(a, "show"), i = J(() => ({
1154
1154
  name: "name",
1155
1155
  url: "url",
1156
1156
  suffix: "suffix",
1157
1157
  size: "fileSize",
1158
1158
  ...r.field
1159
- })), n = le(null), o = le(null), l = le(""), u = Tu({
1159
+ })), n = ue(null), o = ue(null), l = ue(""), u = Tu({
1160
1160
  image: !1,
1161
1161
  office: !1,
1162
1162
  video: !1,
@@ -1197,7 +1197,7 @@ const ei = (a, s) => {
1197
1197
  fileType: Y,
1198
1198
  ...((T = r.onlyOfficeConfig) == null ? void 0 : T.document) || {}
1199
1199
  },
1200
- documentType: Ku(Y)
1200
+ documentType: $u(Y)
1201
1201
  // document_fileType: getFileTypes(suffix),
1202
1202
  }, console.log("config", n.value);
1203
1203
  return;
@@ -1233,17 +1233,17 @@ const ei = (a, s) => {
1233
1233
  me,
1234
1234
  { key: 0 },
1235
1235
  [
1236
- (p = o.value) != null && p.url && u.image ? (x(), ue(E(_h), {
1236
+ (p = o.value) != null && p.url && u.image ? (x(), se(E(Ch), {
1237
1237
  key: 0,
1238
1238
  onClose: m[0] || (m[0] = (C) => d()),
1239
1239
  ref: "previewImgRef",
1240
1240
  "url-list": [(k = o.value) == null ? void 0 : k.url],
1241
1241
  teleported: "",
1242
1242
  "z-index": 9999
1243
- }, null, 8, ["url-list"])) : K("v-if", !0),
1244
- K(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1245
- K(" 文档类 "),
1246
- G(E(Pg), {
1243
+ }, null, 8, ["url-list"])) : $("v-if", !0),
1244
+ $(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1245
+ $(" 文档类 "),
1246
+ G(E(Lg), {
1247
1247
  modelValue: u.video,
1248
1248
  "onUpdate:modelValue": m[1] || (m[1] = (C) => u.video = C),
1249
1249
  url: (b = o.value) == null ? void 0 : b.url,
@@ -1264,7 +1264,7 @@ const ei = (a, s) => {
1264
1264
  onClose: d,
1265
1265
  "modal-class": "ik-only-preview-dialog"
1266
1266
  }, {
1267
- default: ne(() => {
1267
+ default: ie(() => {
1268
1268
  var C, L, T;
1269
1269
  return [
1270
1270
  S("div", Cc, [
@@ -1274,7 +1274,7 @@ const ei = (a, s) => {
1274
1274
  alt: ""
1275
1275
  }, null, 8, kc)
1276
1276
  ]),
1277
- G(E(gh), {
1277
+ G(E(ph), {
1278
1278
  "config-options": n.value,
1279
1279
  "document-server-url": ((T = a.onlyOfficeConfig) == null ? void 0 : T.serverUrl) || a.onlyofficeServer
1280
1280
  }, null, 8, ["config-options", "document-server-url"])
@@ -1283,7 +1283,7 @@ const ei = (a, s) => {
1283
1283
  _: 1
1284
1284
  /* STABLE */
1285
1285
  }, 8, ["modelValue"]),
1286
- K(" txt文件预览 "),
1286
+ $(" txt文件预览 "),
1287
1287
  G(E(Da), {
1288
1288
  modelValue: u.text,
1289
1289
  "onUpdate:modelValue": m[3] || (m[3] = (C) => u.text = C),
@@ -1299,7 +1299,7 @@ const ei = (a, s) => {
1299
1299
  onClose: d,
1300
1300
  "modal-class": "ik-text-preview-dialog"
1301
1301
  }, {
1302
- default: ne(() => {
1302
+ default: ie(() => {
1303
1303
  var C;
1304
1304
  return [
1305
1305
  S("div", wc, [
@@ -1307,7 +1307,7 @@ const ei = (a, s) => {
1307
1307
  S(
1308
1308
  "span",
1309
1309
  Sc,
1310
- Te((C = o.value) == null ? void 0 : C.name),
1310
+ Se((C = o.value) == null ? void 0 : C.name),
1311
1311
  1
1312
1312
  /* TEXT */
1313
1313
  )
@@ -1315,7 +1315,7 @@ const ei = (a, s) => {
1315
1315
  S(
1316
1316
  "pre",
1317
1317
  Ec,
1318
- Te(l.value),
1318
+ Se(l.value),
1319
1319
  1
1320
1320
  /* TEXT */
1321
1321
  )
@@ -1328,18 +1328,57 @@ const ei = (a, s) => {
1328
1328
  ],
1329
1329
  64
1330
1330
  /* STABLE_FRAGMENT */
1331
- )) : K("v-if", !0);
1331
+ )) : $("v-if", !0);
1332
1332
  };
1333
1333
  }
1334
- }), Ic = He(xc);
1334
+ }), Ic = Ae(xc);
1335
1335
  function _l(a) {
1336
1336
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1337
1337
  }
1338
- const Pc = {
1338
+ const Pc = /* @__PURE__ */ be({
1339
+ __name: "index",
1340
+ props: {
1341
+ effect: {
1342
+ type: String,
1343
+ default: "dark"
1344
+ },
1345
+ content: {
1346
+ type: String,
1347
+ default: ""
1348
+ },
1349
+ text: {
1350
+ type: String,
1351
+ default: ""
1352
+ },
1353
+ placement: {
1354
+ type: String,
1355
+ default: "top"
1356
+ }
1357
+ },
1358
+ setup(a) {
1359
+ const s = a, r = J(() => s.effect);
1360
+ return (t, e) => {
1361
+ const i = hi("el-tooltip");
1362
+ return x(), se(i, {
1363
+ class: "gl-tooltip",
1364
+ effect: r.value,
1365
+ content: a.text || a.content,
1366
+ placement: a.placement,
1367
+ enterable: !1
1368
+ }, {
1369
+ default: ie(() => [
1370
+ Ne(t.$slots, "default")
1371
+ ]),
1372
+ _: 3
1373
+ /* FORWARDED */
1374
+ }, 8, ["effect", "content", "placement"]);
1375
+ };
1376
+ }
1377
+ }), Ac = Ae(Pc), Lc = {
1339
1378
  key: 2,
1340
1379
  class: "shrink-0 size-inherit",
1341
1380
  "aria-hidden": "true"
1342
- }, Ac = ["xlink:href"], Lc = ["xlink:href"], Rc = ["size"], Dc = ["xlink:href"], Oc = ["xlink:href"], Mc = /* @__PURE__ */ Se({
1381
+ }, Rc = ["xlink:href"], Dc = ["xlink:href"], Oc = ["size"], Mc = ["xlink:href"], Fc = ["xlink:href"], Nc = /* @__PURE__ */ be({
1343
1382
  name: "IkSvgIcon",
1344
1383
  __name: "index",
1345
1384
  props: {
@@ -1362,7 +1401,7 @@ const Pc = {
1362
1401
  },
1363
1402
  emits: ["click"],
1364
1403
  setup(a, { emit: s }) {
1365
- const r = a, t = s, e = Q(() => r.danger ? "danger" : r.error ? "error" : r.type), i = Q(() => {
1404
+ const r = a, t = s, e = J(() => r.danger ? "danger" : r.error ? "error" : r.type), i = J(() => {
1366
1405
  if (!r.name)
1367
1406
  return;
1368
1407
  const d = (g) => /^\.{1,2}\//.test(g) || g.startsWith("/") || g.includes("/");
@@ -1375,14 +1414,14 @@ const Pc = {
1375
1414
  function o() {
1376
1415
  return r.size ? n[r.size] || r.size : 18;
1377
1416
  }
1378
- const l = Q(() => {
1417
+ const l = J(() => {
1379
1418
  const d = o(), g = typeof d == "number" ? `${d}px` : d;
1380
1419
  return {
1381
1420
  width: g,
1382
1421
  height: g,
1383
1422
  fontSize: g
1384
1423
  };
1385
- }), u = Q(() => {
1424
+ }), u = J(() => {
1386
1425
  const g = `${Number.parseInt(o()) + 8}px`;
1387
1426
  return {
1388
1427
  width: g,
@@ -1392,7 +1431,7 @@ const Pc = {
1392
1431
  function c(d) {
1393
1432
  r.onClick ? r.onClick(d) : t("click", d);
1394
1433
  }
1395
- const f = Q(() => {
1434
+ const f = J(() => {
1396
1435
  if (i.value !== "two-color-svg")
1397
1436
  return {};
1398
1437
  const d = {};
@@ -1413,12 +1452,11 @@ const Pc = {
1413
1452
  return r.active && e.value !== "default" && !r.deepColor && !r.shallowColor && r.colorMode === "auto" && (d["--ik-icon-deep-color"] = `var(--ik-icon-${e.value}-deep-active)`, d["--ik-icon-shallow-color"] = `var(--ik-icon-${e.value}-shallow-active)`), d;
1414
1453
  });
1415
1454
  return (d, g) => {
1416
- var m;
1417
- const v = hi("IkTooltip");
1455
+ var v;
1418
1456
  return x(), R(
1419
1457
  "i",
1420
1458
  {
1421
- class: ie(E(ml)(
1459
+ class: ne(E(ml)(
1422
1460
  "ik-icon relative size-[1em] flex-inline items-center justify-center fill-current leading-[1em]",
1423
1461
  r.class,
1424
1462
  a.showBg ? "bg" : "",
@@ -1432,31 +1470,31 @@ const Pc = {
1432
1470
  onClick: c
1433
1471
  },
1434
1472
  [
1435
- a.title ? (x(), ue(v, {
1473
+ a.title ? (x(), se(E(Ac), {
1436
1474
  key: 0,
1437
1475
  text: a.title
1438
1476
  }, {
1439
- default: ne(() => {
1440
- var p;
1477
+ default: ie(() => {
1478
+ var m;
1441
1479
  return [
1442
1480
  i.value === "unocss" ? (x(), R(
1443
1481
  "i",
1444
1482
  {
1445
1483
  key: 0,
1446
- class: ie(["iconfont shrink-0 size-inherit", `${a.name} ${(p = a.name) == null ? void 0 : p.split("_")[0]}`]),
1484
+ class: ne(["iconfont shrink-0 size-inherit", `${a.name} ${(m = a.name) == null ? void 0 : m.split("_")[0]}`]),
1447
1485
  style: ae({ ...f.value, ...a.showBg ? l.value : {} })
1448
1486
  },
1449
1487
  null,
1450
1488
  6
1451
1489
  /* CLASS, STYLE */
1452
- )) : i.value === "iconify" ? (x(), ue(E(Ia), {
1490
+ )) : i.value === "iconify" ? (x(), se(E(Ia), {
1453
1491
  key: 1,
1454
1492
  icon: a.name,
1455
1493
  class: "shrink-0 size-inherit"
1456
- }, null, 8, ["icon"])) : i.value === "svg" ? (x(), R("svg", Pc, [
1494
+ }, null, 8, ["icon"])) : i.value === "svg" ? (x(), R("svg", Lc, [
1457
1495
  S("use", {
1458
1496
  "xlink:href": `#icon-${a.name}`
1459
- }, null, 8, Ac)
1497
+ }, null, 8, Rc)
1460
1498
  ])) : i.value === "two-color-svg" ? (x(), R(
1461
1499
  "svg",
1462
1500
  {
@@ -1468,16 +1506,16 @@ const Pc = {
1468
1506
  [
1469
1507
  S("use", {
1470
1508
  "xlink:href": `#${a.name}`
1471
- }, null, 8, Lc)
1509
+ }, null, 8, Dc)
1472
1510
  ],
1473
1511
  4
1474
1512
  /* STYLE */
1475
- )) : i.value === "img" ? (x(), ue(E(Pa), {
1513
+ )) : i.value === "img" ? (x(), se(E(Pa), {
1476
1514
  key: 4,
1477
1515
  src: a.name,
1478
1516
  class: "shrink-0"
1479
1517
  }, {
1480
- loading: ne(() => [...g[0] || (g[0] = [
1518
+ loading: ie(() => [...g[0] || (g[0] = [
1481
1519
  S(
1482
1520
  "i",
1483
1521
  { class: "i-line-md:loading-loop size-inherit" },
@@ -1486,7 +1524,7 @@ const Pc = {
1486
1524
  /* CACHED */
1487
1525
  )
1488
1526
  ])]),
1489
- error: ne(() => [...g[1] || (g[1] = [
1527
+ error: ie(() => [...g[1] || (g[1] = [
1490
1528
  S(
1491
1529
  "i",
1492
1530
  { class: "i-ph:image-broken-duotone size-inherit" },
@@ -1497,7 +1535,7 @@ const Pc = {
1497
1535
  ])]),
1498
1536
  _: 1
1499
1537
  /* STABLE */
1500
- }, 8, ["src"])) : K("v-if", !0)
1538
+ }, 8, ["src"])) : $("v-if", !0)
1501
1539
  ];
1502
1540
  }),
1503
1541
  _: 1
@@ -1510,13 +1548,13 @@ const Pc = {
1510
1548
  "i",
1511
1549
  {
1512
1550
  key: 0,
1513
- class: ie(["iconfont shrink-0 size-inherit", `${a.name} ${(m = a.name) == null ? void 0 : m.split("_")[0]}`]),
1551
+ class: ne(["iconfont shrink-0 size-inherit", `${a.name} ${(v = a.name) == null ? void 0 : v.split("_")[0]}`]),
1514
1552
  style: ae({ ...f.value, ...a.showBg ? l.value : {} })
1515
1553
  },
1516
1554
  null,
1517
1555
  6
1518
1556
  /* CLASS, STYLE */
1519
- )) : i.value === "iconify" ? (x(), ue(E(Ia), {
1557
+ )) : i.value === "iconify" ? (x(), se(E(Ia), {
1520
1558
  key: 1,
1521
1559
  icon: a.name,
1522
1560
  class: "shrink-0 size-inherit"
@@ -1528,8 +1566,8 @@ const Pc = {
1528
1566
  }, [
1529
1567
  S("use", {
1530
1568
  "xlink:href": `#icon-${a.name}`
1531
- }, null, 8, Dc)
1532
- ], 8, Rc)) : i.value === "two-color-svg" ? (x(), R(
1569
+ }, null, 8, Mc)
1570
+ ], 8, Oc)) : i.value === "two-color-svg" ? (x(), R(
1533
1571
  "svg",
1534
1572
  {
1535
1573
  key: 3,
@@ -1540,16 +1578,16 @@ const Pc = {
1540
1578
  [
1541
1579
  S("use", {
1542
1580
  "xlink:href": `#${a.name}`
1543
- }, null, 8, Oc)
1581
+ }, null, 8, Fc)
1544
1582
  ],
1545
1583
  4
1546
1584
  /* STYLE */
1547
- )) : i.value === "img" ? (x(), ue(E(Pa), {
1585
+ )) : i.value === "img" ? (x(), se(E(Pa), {
1548
1586
  key: 4,
1549
1587
  src: a.name,
1550
1588
  class: "shrink-0"
1551
1589
  }, {
1552
- loading: ne(() => [...g[2] || (g[2] = [
1590
+ loading: ie(() => [...g[2] || (g[2] = [
1553
1591
  S(
1554
1592
  "i",
1555
1593
  { class: "i-line-md:loading-loop size-inherit" },
@@ -1558,7 +1596,7 @@ const Pc = {
1558
1596
  /* CACHED */
1559
1597
  )
1560
1598
  ])]),
1561
- error: ne(() => [...g[3] || (g[3] = [
1599
+ error: ie(() => [...g[3] || (g[3] = [
1562
1600
  S(
1563
1601
  "i",
1564
1602
  { class: "i-ph:image-broken-duotone size-inherit" },
@@ -1569,7 +1607,7 @@ const Pc = {
1569
1607
  ])]),
1570
1608
  _: 1
1571
1609
  /* STABLE */
1572
- }, 8, ["src"])) : K("v-if", !0)
1610
+ }, 8, ["src"])) : $("v-if", !0)
1573
1611
  ],
1574
1612
  64
1575
1613
  /* STABLE_FRAGMENT */
@@ -1580,7 +1618,7 @@ const Pc = {
1580
1618
  );
1581
1619
  };
1582
1620
  }
1583
- }), Fc = /* @__PURE__ */ di(Mc, [["__scopeId", "data-v-7dee8b6e"]]), Oe = He(Fc), Nc = /* @__PURE__ */ Se({
1621
+ }), Bc = /* @__PURE__ */ di(Nc, [["__scopeId", "data-v-c202da9d"]]), Me = Ae(Bc), Hc = /* @__PURE__ */ be({
1584
1622
  __name: "CloseIcon",
1585
1623
  props: {
1586
1624
  showBg: {
@@ -1596,10 +1634,10 @@ const Pc = {
1596
1634
  return (s, r) => (x(), R(
1597
1635
  "div",
1598
1636
  {
1599
- class: ie({ "exit-main-page-maximize": a.showBg && a.fullscreen })
1637
+ class: ne({ "exit-main-page-maximize": a.showBg && a.fullscreen })
1600
1638
  },
1601
1639
  [
1602
- G(E(Oe), {
1640
+ G(E(Me), {
1603
1641
  name: "iksvg_guanbidanchuang",
1604
1642
  danger: "",
1605
1643
  title: "关闭",
@@ -1610,7 +1648,7 @@ const Pc = {
1610
1648
  /* CLASS */
1611
1649
  ));
1612
1650
  }
1613
- }), Bc = /* @__PURE__ */ di(Nc, [["__scopeId", "data-v-739899b1"]]), Hc = { class: "base-header" }, Uc = /* @__PURE__ */ Se({
1651
+ }), Uc = /* @__PURE__ */ di(Hc, [["__scopeId", "data-v-739899b1"]]), jc = { class: "base-header" }, zc = /* @__PURE__ */ be({
1614
1652
  __name: "IkBaseDialog",
1615
1653
  props: /* @__PURE__ */ Rt({
1616
1654
  title: { default: "" },
@@ -1632,9 +1670,9 @@ const Pc = {
1632
1670
  }),
1633
1671
  emits: ["update:modelValue"],
1634
1672
  setup(a) {
1635
- const s = a, r = Zr(a, "modelValue"), t = le(s.fullscreen), e = Se({
1673
+ const s = a, r = Zr(a, "modelValue"), t = ue(s.fullscreen), e = be({
1636
1674
  setup() {
1637
- return () => Su(Bc, {
1675
+ return () => Su(Uc, {
1638
1676
  showBg: s.showCloseBg,
1639
1677
  fullscreen: s.fullscreen
1640
1678
  });
@@ -1642,7 +1680,7 @@ const Pc = {
1642
1680
  });
1643
1681
  return (i, n) => {
1644
1682
  const o = hi("el-dialog");
1645
- return x(), ue(o, Eu({
1683
+ return x(), se(o, Eu({
1646
1684
  modelValue: r.value,
1647
1685
  "onUpdate:modelValue": n[0] || (n[0] = (l) => r.value = l),
1648
1686
  "align-center": ""
@@ -1653,44 +1691,44 @@ const Pc = {
1653
1691
  fullscreen: t.value || s.fullscreen,
1654
1692
  "modal-class": "baseDialog"
1655
1693
  }), xu({
1656
- icon: ne(() => [
1657
- $e(i.$slots, "title", {}, () => [
1694
+ icon: ie(() => [
1695
+ Ne(i.$slots, "title", {}, () => [
1658
1696
  Ea(
1659
- Te(a.title),
1697
+ Se(a.title),
1660
1698
  1
1661
1699
  /* TEXT */
1662
1700
  )
1663
1701
  ])
1664
1702
  ]),
1665
- header: ne(() => [
1666
- S("div", Hc, [
1667
- $e(i.$slots, "header", {}, () => [
1703
+ header: ie(() => [
1704
+ S("div", jc, [
1705
+ Ne(i.$slots, "header", {}, () => [
1668
1706
  Ea(
1669
- Te(a.title),
1707
+ Se(a.title),
1670
1708
  1
1671
1709
  /* TEXT */
1672
1710
  )
1673
1711
  ])
1674
1712
  ])
1675
1713
  ]),
1676
- default: ne(() => [
1677
- $e(i.$slots, "default")
1714
+ default: ie(() => [
1715
+ Ne(i.$slots, "default")
1678
1716
  ]),
1679
1717
  _: 2
1680
1718
  /* DYNAMIC */
1681
1719
  }, [
1682
1720
  i.$slots.footer ? {
1683
1721
  name: "footer",
1684
- fn: ne(() => [
1685
- $e(i.$slots, "footer")
1722
+ fn: ie(() => [
1723
+ Ne(i.$slots, "footer")
1686
1724
  ]),
1687
1725
  key: "0"
1688
1726
  } : void 0
1689
1727
  ]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
1690
1728
  };
1691
1729
  }
1692
- }), Da = He(Uc);
1693
- function jc(a, s, r, t) {
1730
+ }), Da = Ae(zc);
1731
+ function Vc(a, s, r, t) {
1694
1732
  function e(i) {
1695
1733
  return i instanceof r ? i : new r(function(n) {
1696
1734
  n(i);
@@ -1717,7 +1755,7 @@ function jc(a, s, r, t) {
1717
1755
  u((t = t.apply(a, [])).next());
1718
1756
  });
1719
1757
  }
1720
- function zc(a, s) {
1758
+ function qc(a, s) {
1721
1759
  var r = { label: 0, sent: function() {
1722
1760
  if (i[0] & 1) throw i[1];
1723
1761
  return i[1];
@@ -1777,9 +1815,9 @@ function zc(a, s) {
1777
1815
  return { value: u[0] ? u[1] : void 0, done: !0 };
1778
1816
  }
1779
1817
  }
1780
- var Vc = function(a, s) {
1781
- return jc(void 0, void 0, void 0, function() {
1782
- return zc(this, function(r) {
1818
+ var Gc = function(a, s) {
1819
+ return Vc(void 0, void 0, void 0, function() {
1820
+ return qc(this, function(r) {
1783
1821
  return [2, new Promise(function(t, e) {
1784
1822
  try {
1785
1823
  if (window.DocsAPI)
@@ -1813,11 +1851,11 @@ var Vc = function(a, s) {
1813
1851
  e.removeAttribute("loading"), t(i);
1814
1852
  }, e.setAttribute("loading", ""), e;
1815
1853
  }, Yt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1816
- function qc(a) {
1854
+ function Wc(a) {
1817
1855
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1818
1856
  }
1819
1857
  var Ii, Ma;
1820
- function Gc() {
1858
+ function $c() {
1821
1859
  if (Ma) return Ii;
1822
1860
  Ma = 1;
1823
1861
  function a() {
@@ -1848,7 +1886,7 @@ function gi() {
1848
1886
  return Ai = s, Ai;
1849
1887
  }
1850
1888
  var Li, Ba;
1851
- function Wc() {
1889
+ function Kc() {
1852
1890
  if (Ba) return Li;
1853
1891
  Ba = 1;
1854
1892
  var a = gi(), s = Array.prototype, r = s.splice;
@@ -1862,7 +1900,7 @@ function Wc() {
1862
1900
  return Li = t, Li;
1863
1901
  }
1864
1902
  var Ri, Ha;
1865
- function Kc() {
1903
+ function Yc() {
1866
1904
  if (Ha) return Ri;
1867
1905
  Ha = 1;
1868
1906
  var a = gi();
@@ -1873,7 +1911,7 @@ function Kc() {
1873
1911
  return Ri = s, Ri;
1874
1912
  }
1875
1913
  var Di, Ua;
1876
- function $c() {
1914
+ function Xc() {
1877
1915
  if (Ua) return Di;
1878
1916
  Ua = 1;
1879
1917
  var a = gi();
@@ -1883,7 +1921,7 @@ function $c() {
1883
1921
  return Di = s, Di;
1884
1922
  }
1885
1923
  var Oi, ja;
1886
- function Yc() {
1924
+ function Zc() {
1887
1925
  if (ja) return Oi;
1888
1926
  ja = 1;
1889
1927
  var a = gi();
@@ -1897,7 +1935,7 @@ var Mi, za;
1897
1935
  function vi() {
1898
1936
  if (za) return Mi;
1899
1937
  za = 1;
1900
- var a = Gc(), s = Wc(), r = Kc(), t = $c(), e = Yc();
1938
+ var a = $c(), s = Kc(), r = Yc(), t = Xc(), e = Zc();
1901
1939
  function i(n) {
1902
1940
  var o = -1, l = n == null ? 0 : n.length;
1903
1941
  for (this.clear(); ++o < l; ) {
@@ -1908,7 +1946,7 @@ function vi() {
1908
1946
  return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, Mi = i, Mi;
1909
1947
  }
1910
1948
  var Fi, Va;
1911
- function Xc() {
1949
+ function Jc() {
1912
1950
  if (Va) return Fi;
1913
1951
  Va = 1;
1914
1952
  var a = vi();
@@ -1918,7 +1956,7 @@ function Xc() {
1918
1956
  return Fi = s, Fi;
1919
1957
  }
1920
1958
  var Ni, qa;
1921
- function Zc() {
1959
+ function Qc() {
1922
1960
  if (qa) return Ni;
1923
1961
  qa = 1;
1924
1962
  function a(s) {
@@ -1928,7 +1966,7 @@ function Zc() {
1928
1966
  return Ni = a, Ni;
1929
1967
  }
1930
1968
  var Bi, Ga;
1931
- function Jc() {
1969
+ function ef() {
1932
1970
  if (Ga) return Bi;
1933
1971
  Ga = 1;
1934
1972
  function a(s) {
@@ -1937,7 +1975,7 @@ function Jc() {
1937
1975
  return Bi = a, Bi;
1938
1976
  }
1939
1977
  var Hi, Wa;
1940
- function Qc() {
1978
+ function tf() {
1941
1979
  if (Wa) return Hi;
1942
1980
  Wa = 1;
1943
1981
  function a(s) {
@@ -1945,17 +1983,17 @@ function Qc() {
1945
1983
  }
1946
1984
  return Hi = a, Hi;
1947
1985
  }
1948
- var Ui, Ka;
1986
+ var Ui, $a;
1949
1987
  function Cl() {
1950
- if (Ka) return Ui;
1951
- Ka = 1;
1988
+ if ($a) return Ui;
1989
+ $a = 1;
1952
1990
  var a = typeof Yt == "object" && Yt && Yt.Object === Object && Yt;
1953
1991
  return Ui = a, Ui;
1954
1992
  }
1955
- var ji, $a;
1956
- function Ae() {
1957
- if ($a) return ji;
1958
- $a = 1;
1993
+ var ji, Ka;
1994
+ function Le() {
1995
+ if (Ka) return ji;
1996
+ Ka = 1;
1959
1997
  var a = Cl(), s = typeof self == "object" && self && self.Object === Object && self, r = a || s || Function("return this")();
1960
1998
  return ji = r, ji;
1961
1999
  }
@@ -1963,11 +2001,11 @@ var zi, Ya;
1963
2001
  function Qr() {
1964
2002
  if (Ya) return zi;
1965
2003
  Ya = 1;
1966
- var a = Ae(), s = a.Symbol;
2004
+ var a = Le(), s = a.Symbol;
1967
2005
  return zi = s, zi;
1968
2006
  }
1969
2007
  var Vi, Xa;
1970
- function ef() {
2008
+ function nf() {
1971
2009
  if (Xa) return Vi;
1972
2010
  Xa = 1;
1973
2011
  var a = Qr(), s = Object.prototype, r = s.hasOwnProperty, t = s.toString, e = a ? a.toStringTag : void 0;
@@ -1984,7 +2022,7 @@ function ef() {
1984
2022
  return Vi = i, Vi;
1985
2023
  }
1986
2024
  var qi, Za;
1987
- function tf() {
2025
+ function rf() {
1988
2026
  if (Za) return qi;
1989
2027
  Za = 1;
1990
2028
  var a = Object.prototype, s = a.toString;
@@ -1997,7 +2035,7 @@ var Gi, Ja;
1997
2035
  function pi() {
1998
2036
  if (Ja) return Gi;
1999
2037
  Ja = 1;
2000
- var a = Qr(), s = ef(), r = tf(), t = "[object Null]", e = "[object Undefined]", i = a ? a.toStringTag : void 0;
2038
+ var a = Qr(), s = nf(), r = rf(), t = "[object Null]", e = "[object Undefined]", i = a ? a.toStringTag : void 0;
2001
2039
  function n(o) {
2002
2040
  return o == null ? o === void 0 ? e : t : i && i in Object(o) ? s(o) : r(o);
2003
2041
  }
@@ -2013,9 +2051,9 @@ function Mt() {
2013
2051
  }
2014
2052
  return Wi = a, Wi;
2015
2053
  }
2016
- var Ki, es;
2054
+ var $i, es;
2017
2055
  function kl() {
2018
- if (es) return Ki;
2056
+ if (es) return $i;
2019
2057
  es = 1;
2020
2058
  var a = pi(), s = Mt(), r = "[object AsyncFunction]", t = "[object Function]", e = "[object GeneratorFunction]", i = "[object Proxy]";
2021
2059
  function n(o) {
@@ -2024,20 +2062,20 @@ function kl() {
2024
2062
  var l = a(o);
2025
2063
  return l == t || l == e || l == r || l == i;
2026
2064
  }
2027
- return Ki = n, Ki;
2065
+ return $i = n, $i;
2028
2066
  }
2029
- var $i, ts;
2030
- function nf() {
2031
- if (ts) return $i;
2067
+ var Ki, ts;
2068
+ function af() {
2069
+ if (ts) return Ki;
2032
2070
  ts = 1;
2033
- var a = Ae(), s = a["__core-js_shared__"];
2034
- return $i = s, $i;
2071
+ var a = Le(), s = a["__core-js_shared__"];
2072
+ return Ki = s, Ki;
2035
2073
  }
2036
2074
  var Yi, is;
2037
- function rf() {
2075
+ function sf() {
2038
2076
  if (is) return Yi;
2039
2077
  is = 1;
2040
- var a = nf(), s = (function() {
2078
+ var a = af(), s = (function() {
2041
2079
  var t = /[^.]+$/.exec(a && a.keys && a.keys.IE_PROTO || "");
2042
2080
  return t ? "Symbol(src)_1." + t : "";
2043
2081
  })();
@@ -2067,10 +2105,10 @@ function wl() {
2067
2105
  return Xi = r, Xi;
2068
2106
  }
2069
2107
  var Zi, rs;
2070
- function af() {
2108
+ function of() {
2071
2109
  if (rs) return Zi;
2072
2110
  rs = 1;
2073
- var a = kl(), s = rf(), r = Mt(), t = wl(), e = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, n = Function.prototype, o = Object.prototype, l = n.toString, u = o.hasOwnProperty, c = RegExp(
2111
+ var a = kl(), s = sf(), r = Mt(), t = wl(), e = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, n = Function.prototype, o = Object.prototype, l = n.toString, u = o.hasOwnProperty, c = RegExp(
2074
2112
  "^" + l.call(u).replace(e, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2075
2113
  );
2076
2114
  function f(d) {
@@ -2082,7 +2120,7 @@ function af() {
2082
2120
  return Zi = f, Zi;
2083
2121
  }
2084
2122
  var Ji, as;
2085
- function sf() {
2123
+ function lf() {
2086
2124
  if (as) return Ji;
2087
2125
  as = 1;
2088
2126
  function a(s, r) {
@@ -2094,7 +2132,7 @@ var Qi, ss;
2094
2132
  function rt() {
2095
2133
  if (ss) return Qi;
2096
2134
  ss = 1;
2097
- var a = af(), s = sf();
2135
+ var a = of(), s = lf();
2098
2136
  function r(t, e) {
2099
2137
  var i = s(t, e);
2100
2138
  return a(i) ? i : void 0;
@@ -2105,7 +2143,7 @@ var en, os;
2105
2143
  function ea() {
2106
2144
  if (os) return en;
2107
2145
  os = 1;
2108
- var a = rt(), s = Ae(), r = a(s, "Map");
2146
+ var a = rt(), s = Le(), r = a(s, "Map");
2109
2147
  return en = r, en;
2110
2148
  }
2111
2149
  var tn, ls;
@@ -2116,7 +2154,7 @@ function mi() {
2116
2154
  return tn = s, tn;
2117
2155
  }
2118
2156
  var nn, us;
2119
- function of() {
2157
+ function uf() {
2120
2158
  if (us) return nn;
2121
2159
  us = 1;
2122
2160
  var a = mi();
@@ -2126,7 +2164,7 @@ function of() {
2126
2164
  return nn = s, nn;
2127
2165
  }
2128
2166
  var rn, cs;
2129
- function lf() {
2167
+ function cf() {
2130
2168
  if (cs) return rn;
2131
2169
  cs = 1;
2132
2170
  function a(s) {
@@ -2136,7 +2174,7 @@ function lf() {
2136
2174
  return rn = a, rn;
2137
2175
  }
2138
2176
  var an, fs;
2139
- function uf() {
2177
+ function ff() {
2140
2178
  if (fs) return an;
2141
2179
  fs = 1;
2142
2180
  var a = mi(), s = "__lodash_hash_undefined__", r = Object.prototype, t = r.hasOwnProperty;
@@ -2151,7 +2189,7 @@ function uf() {
2151
2189
  return an = e, an;
2152
2190
  }
2153
2191
  var sn, hs;
2154
- function cf() {
2192
+ function hf() {
2155
2193
  if (hs) return sn;
2156
2194
  hs = 1;
2157
2195
  var a = mi(), s = Object.prototype, r = s.hasOwnProperty;
@@ -2162,7 +2200,7 @@ function cf() {
2162
2200
  return sn = t, sn;
2163
2201
  }
2164
2202
  var on, ds;
2165
- function ff() {
2203
+ function df() {
2166
2204
  if (ds) return on;
2167
2205
  ds = 1;
2168
2206
  var a = mi(), s = "__lodash_hash_undefined__";
@@ -2173,10 +2211,10 @@ function ff() {
2173
2211
  return on = r, on;
2174
2212
  }
2175
2213
  var ln, gs;
2176
- function hf() {
2214
+ function gf() {
2177
2215
  if (gs) return ln;
2178
2216
  gs = 1;
2179
- var a = of(), s = lf(), r = uf(), t = cf(), e = ff();
2217
+ var a = uf(), s = cf(), r = ff(), t = hf(), e = df();
2180
2218
  function i(n) {
2181
2219
  var o = -1, l = n == null ? 0 : n.length;
2182
2220
  for (this.clear(); ++o < l; ) {
@@ -2187,10 +2225,10 @@ function hf() {
2187
2225
  return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, ln = i, ln;
2188
2226
  }
2189
2227
  var un, vs;
2190
- function df() {
2228
+ function vf() {
2191
2229
  if (vs) return un;
2192
2230
  vs = 1;
2193
- var a = hf(), s = vi(), r = ea();
2231
+ var a = gf(), s = vi(), r = ea();
2194
2232
  function t() {
2195
2233
  this.size = 0, this.__data__ = {
2196
2234
  hash: new a(),
@@ -2201,7 +2239,7 @@ function df() {
2201
2239
  return un = t, un;
2202
2240
  }
2203
2241
  var cn, ps;
2204
- function gf() {
2242
+ function pf() {
2205
2243
  if (ps) return cn;
2206
2244
  ps = 1;
2207
2245
  function a(s) {
@@ -2214,7 +2252,7 @@ var fn, ms;
2214
2252
  function yi() {
2215
2253
  if (ms) return fn;
2216
2254
  ms = 1;
2217
- var a = gf();
2255
+ var a = pf();
2218
2256
  function s(r, t) {
2219
2257
  var e = r.__data__;
2220
2258
  return a(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
@@ -2222,7 +2260,7 @@ function yi() {
2222
2260
  return fn = s, fn;
2223
2261
  }
2224
2262
  var hn, ys;
2225
- function vf() {
2263
+ function mf() {
2226
2264
  if (ys) return hn;
2227
2265
  ys = 1;
2228
2266
  var a = yi();
@@ -2233,7 +2271,7 @@ function vf() {
2233
2271
  return hn = s, hn;
2234
2272
  }
2235
2273
  var dn, _s;
2236
- function pf() {
2274
+ function yf() {
2237
2275
  if (_s) return dn;
2238
2276
  _s = 1;
2239
2277
  var a = yi();
@@ -2243,7 +2281,7 @@ function pf() {
2243
2281
  return dn = s, dn;
2244
2282
  }
2245
2283
  var gn, bs;
2246
- function mf() {
2284
+ function _f() {
2247
2285
  if (bs) return gn;
2248
2286
  bs = 1;
2249
2287
  var a = yi();
@@ -2253,7 +2291,7 @@ function mf() {
2253
2291
  return gn = s, gn;
2254
2292
  }
2255
2293
  var vn, Cs;
2256
- function yf() {
2294
+ function bf() {
2257
2295
  if (Cs) return vn;
2258
2296
  Cs = 1;
2259
2297
  var a = yi();
@@ -2264,10 +2302,10 @@ function yf() {
2264
2302
  return vn = s, vn;
2265
2303
  }
2266
2304
  var pn, ks;
2267
- function _f() {
2305
+ function Cf() {
2268
2306
  if (ks) return pn;
2269
2307
  ks = 1;
2270
- var a = df(), s = vf(), r = pf(), t = mf(), e = yf();
2308
+ var a = vf(), s = mf(), r = yf(), t = _f(), e = bf();
2271
2309
  function i(n) {
2272
2310
  var o = -1, l = n == null ? 0 : n.length;
2273
2311
  for (this.clear(); ++o < l; ) {
@@ -2278,10 +2316,10 @@ function _f() {
2278
2316
  return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, pn = i, pn;
2279
2317
  }
2280
2318
  var mn, ws;
2281
- function bf() {
2319
+ function kf() {
2282
2320
  if (ws) return mn;
2283
2321
  ws = 1;
2284
- var a = vi(), s = ea(), r = _f(), t = 200;
2322
+ var a = vi(), s = ea(), r = Cf(), t = 200;
2285
2323
  function e(i, n) {
2286
2324
  var o = this.__data__;
2287
2325
  if (o instanceof a) {
@@ -2295,10 +2333,10 @@ function bf() {
2295
2333
  return mn = e, mn;
2296
2334
  }
2297
2335
  var yn, Ts;
2298
- function Cf() {
2336
+ function wf() {
2299
2337
  if (Ts) return yn;
2300
2338
  Ts = 1;
2301
- var a = vi(), s = Xc(), r = Zc(), t = Jc(), e = Qc(), i = bf();
2339
+ var a = vi(), s = Jc(), r = Qc(), t = ef(), e = tf(), i = kf();
2302
2340
  function n(o) {
2303
2341
  var l = this.__data__ = new a(o);
2304
2342
  this.size = l.size;
@@ -2306,7 +2344,7 @@ function Cf() {
2306
2344
  return n.prototype.clear = s, n.prototype.delete = r, n.prototype.get = t, n.prototype.has = e, n.prototype.set = i, yn = n, yn;
2307
2345
  }
2308
2346
  var _n, Ss;
2309
- function kf() {
2347
+ function Tf() {
2310
2348
  if (Ss) return _n;
2311
2349
  Ss = 1;
2312
2350
  function a(s, r) {
@@ -2317,7 +2355,7 @@ function kf() {
2317
2355
  return _n = a, _n;
2318
2356
  }
2319
2357
  var bn, Es;
2320
- function wf() {
2358
+ function Sf() {
2321
2359
  if (Es) return bn;
2322
2360
  Es = 1;
2323
2361
  var a = rt(), s = (function() {
@@ -2333,7 +2371,7 @@ var Cn, xs;
2333
2371
  function Tl() {
2334
2372
  if (xs) return Cn;
2335
2373
  xs = 1;
2336
- var a = wf();
2374
+ var a = Sf();
2337
2375
  function s(r, t, e) {
2338
2376
  t == "__proto__" && a ? a(r, t, {
2339
2377
  configurable: !0,
@@ -2372,7 +2410,7 @@ function _i() {
2372
2410
  return wn = r, wn;
2373
2411
  }
2374
2412
  var Tn, As;
2375
- function Tf() {
2413
+ function Ef() {
2376
2414
  if (As) return Tn;
2377
2415
  As = 1;
2378
2416
  function a(s, r) {
@@ -2392,7 +2430,7 @@ function Ft() {
2392
2430
  return Sn = a, Sn;
2393
2431
  }
2394
2432
  var En, Rs;
2395
- function Sf() {
2433
+ function xf() {
2396
2434
  if (Rs) return En;
2397
2435
  Rs = 1;
2398
2436
  var a = pi(), s = Ft(), r = "[object Arguments]";
@@ -2402,10 +2440,10 @@ function Sf() {
2402
2440
  return En = t, En;
2403
2441
  }
2404
2442
  var xn, Ds;
2405
- function Ef() {
2443
+ function If() {
2406
2444
  if (Ds) return xn;
2407
2445
  Ds = 1;
2408
- var a = Sf(), s = Ft(), r = Object.prototype, t = r.hasOwnProperty, e = r.propertyIsEnumerable, i = a(/* @__PURE__ */ (function() {
2446
+ var a = xf(), s = Ft(), r = Object.prototype, t = r.hasOwnProperty, e = r.propertyIsEnumerable, i = a(/* @__PURE__ */ (function() {
2409
2447
  return arguments;
2410
2448
  })()) ? a : function(n) {
2411
2449
  return s(n) && t.call(n, "callee") && !e.call(n, "callee");
@@ -2420,7 +2458,7 @@ function ta() {
2420
2458
  return In = a, In;
2421
2459
  }
2422
2460
  var xt = { exports: {} }, Pn, Ms;
2423
- function xf() {
2461
+ function Pf() {
2424
2462
  if (Ms) return Pn;
2425
2463
  Ms = 1;
2426
2464
  function a() {
@@ -2432,12 +2470,12 @@ xt.exports;
2432
2470
  var Fs;
2433
2471
  function El() {
2434
2472
  return Fs || (Fs = 1, (function(a, s) {
2435
- var r = Ae(), t = xf(), e = s && !s.nodeType && s, i = e && !0 && a && !a.nodeType && a, n = i && i.exports === e, o = n ? r.Buffer : void 0, l = o ? o.isBuffer : void 0, u = l || t;
2473
+ var r = Le(), t = Pf(), e = s && !s.nodeType && s, i = e && !0 && a && !a.nodeType && a, n = i && i.exports === e, o = n ? r.Buffer : void 0, l = o ? o.isBuffer : void 0, u = l || t;
2436
2474
  a.exports = u;
2437
2475
  })(xt, xt.exports)), xt.exports;
2438
2476
  }
2439
2477
  var An, Ns;
2440
- function If() {
2478
+ function Af() {
2441
2479
  if (Ns) return An;
2442
2480
  Ns = 1;
2443
2481
  var a = 9007199254740991, s = /^(?:0|[1-9]\d*)$/;
@@ -2458,7 +2496,7 @@ function xl() {
2458
2496
  return Ln = s, Ln;
2459
2497
  }
2460
2498
  var Rn, Hs;
2461
- function Pf() {
2499
+ function Lf() {
2462
2500
  if (Hs) return Rn;
2463
2501
  Hs = 1;
2464
2502
  var a = pi(), s = xl(), r = Ft(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", n = "[object Date]", o = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", d = "[object RegExp]", g = "[object Set]", v = "[object String]", m = "[object WeakMap]", p = "[object ArrayBuffer]", k = "[object DataView]", b = "[object Float32Array]", C = "[object Float64Array]", L = "[object Int8Array]", T = "[object Int16Array]", I = "[object Int32Array]", j = "[object Uint8Array]", Y = "[object Uint8ClampedArray]", z = "[object Uint16Array]", H = "[object Uint32Array]", F = {};
@@ -2495,17 +2533,17 @@ function na() {
2495
2533
  })(It, It.exports)), It.exports;
2496
2534
  }
2497
2535
  var On, zs;
2498
- function Af() {
2536
+ function Rf() {
2499
2537
  if (zs) return On;
2500
2538
  zs = 1;
2501
- var a = Pf(), s = ia(), r = na(), t = r && r.isTypedArray, e = t ? s(t) : a;
2539
+ var a = Lf(), s = ia(), r = na(), t = r && r.isTypedArray, e = t ? s(t) : a;
2502
2540
  return On = e, On;
2503
2541
  }
2504
2542
  var Mn, Vs;
2505
2543
  function Il() {
2506
2544
  if (Vs) return Mn;
2507
2545
  Vs = 1;
2508
- var a = Tf(), s = Ef(), r = ta(), t = El(), e = If(), i = Af(), n = Object.prototype, o = n.hasOwnProperty;
2546
+ var a = Ef(), s = If(), r = ta(), t = El(), e = Af(), i = Rf(), n = Object.prototype, o = n.hasOwnProperty;
2509
2547
  function l(u, c) {
2510
2548
  var f = r(u), d = !f && s(u), g = !f && !d && t(u), v = !f && !d && !g && i(u), m = f || d || g || v, p = m ? a(u.length, String) : [], k = p.length;
2511
2549
  for (var b in u)
@@ -2541,17 +2579,17 @@ function Pl() {
2541
2579
  return Nn = a, Nn;
2542
2580
  }
2543
2581
  var Bn, Ws;
2544
- function Lf() {
2582
+ function Df() {
2545
2583
  if (Ws) return Bn;
2546
2584
  Ws = 1;
2547
2585
  var a = Pl(), s = a(Object.keys, Object);
2548
2586
  return Bn = s, Bn;
2549
2587
  }
2550
- var Hn, Ks;
2551
- function Rf() {
2552
- if (Ks) return Hn;
2553
- Ks = 1;
2554
- var a = ra(), s = Lf(), r = Object.prototype, t = r.hasOwnProperty;
2588
+ var Hn, $s;
2589
+ function Of() {
2590
+ if ($s) return Hn;
2591
+ $s = 1;
2592
+ var a = ra(), s = Df(), r = Object.prototype, t = r.hasOwnProperty;
2555
2593
  function e(i) {
2556
2594
  if (!a(i))
2557
2595
  return s(i);
@@ -2562,10 +2600,10 @@ function Rf() {
2562
2600
  }
2563
2601
  return Hn = e, Hn;
2564
2602
  }
2565
- var Un, $s;
2603
+ var Un, Ks;
2566
2604
  function Al() {
2567
- if ($s) return Un;
2568
- $s = 1;
2605
+ if (Ks) return Un;
2606
+ Ks = 1;
2569
2607
  var a = kl(), s = xl();
2570
2608
  function r(t) {
2571
2609
  return t != null && s(t.length) && !a(t);
@@ -2576,14 +2614,14 @@ var jn, Ys;
2576
2614
  function aa() {
2577
2615
  if (Ys) return jn;
2578
2616
  Ys = 1;
2579
- var a = Il(), s = Rf(), r = Al();
2617
+ var a = Il(), s = Of(), r = Al();
2580
2618
  function t(e) {
2581
2619
  return r(e) ? a(e) : s(e);
2582
2620
  }
2583
2621
  return jn = t, jn;
2584
2622
  }
2585
2623
  var zn, Xs;
2586
- function Df() {
2624
+ function Mf() {
2587
2625
  if (Xs) return zn;
2588
2626
  Xs = 1;
2589
2627
  var a = _i(), s = aa();
@@ -2593,7 +2631,7 @@ function Df() {
2593
2631
  return zn = r, zn;
2594
2632
  }
2595
2633
  var Vn, Zs;
2596
- function Of() {
2634
+ function Ff() {
2597
2635
  if (Zs) return Vn;
2598
2636
  Zs = 1;
2599
2637
  function a(s) {
@@ -2606,10 +2644,10 @@ function Of() {
2606
2644
  return Vn = a, Vn;
2607
2645
  }
2608
2646
  var qn, Js;
2609
- function Mf() {
2647
+ function Nf() {
2610
2648
  if (Js) return qn;
2611
2649
  Js = 1;
2612
- var a = Mt(), s = ra(), r = Of(), t = Object.prototype, e = t.hasOwnProperty;
2650
+ var a = Mt(), s = ra(), r = Ff(), t = Object.prototype, e = t.hasOwnProperty;
2613
2651
  function i(n) {
2614
2652
  if (!a(n))
2615
2653
  return r(n);
@@ -2624,14 +2662,14 @@ var Gn, Qs;
2624
2662
  function sa() {
2625
2663
  if (Qs) return Gn;
2626
2664
  Qs = 1;
2627
- var a = Il(), s = Mf(), r = Al();
2665
+ var a = Il(), s = Nf(), r = Al();
2628
2666
  function t(e) {
2629
2667
  return r(e) ? a(e, !0) : s(e);
2630
2668
  }
2631
2669
  return Gn = t, Gn;
2632
2670
  }
2633
2671
  var Wn, eo;
2634
- function Ff() {
2672
+ function Bf() {
2635
2673
  if (eo) return Wn;
2636
2674
  eo = 1;
2637
2675
  var a = _i(), s = sa();
@@ -2643,9 +2681,9 @@ function Ff() {
2643
2681
  var Pt = { exports: {} };
2644
2682
  Pt.exports;
2645
2683
  var to;
2646
- function Nf() {
2684
+ function Hf() {
2647
2685
  return to || (to = 1, (function(a, s) {
2648
- var r = Ae(), t = s && !s.nodeType && s, e = t && !0 && a && !a.nodeType && a, i = e && e.exports === t, n = i ? r.Buffer : void 0, o = n ? n.allocUnsafe : void 0;
2686
+ var r = Le(), t = s && !s.nodeType && s, e = t && !0 && a && !a.nodeType && a, i = e && e.exports === t, n = i ? r.Buffer : void 0, o = n ? n.allocUnsafe : void 0;
2649
2687
  function l(u, c) {
2650
2688
  if (c)
2651
2689
  return u.slice();
@@ -2655,9 +2693,9 @@ function Nf() {
2655
2693
  a.exports = l;
2656
2694
  })(Pt, Pt.exports)), Pt.exports;
2657
2695
  }
2658
- var Kn, io;
2659
- function Bf() {
2660
- if (io) return Kn;
2696
+ var $n, io;
2697
+ function Uf() {
2698
+ if (io) return $n;
2661
2699
  io = 1;
2662
2700
  function a(s, r) {
2663
2701
  var t = -1, e = s.length;
@@ -2665,11 +2703,11 @@ function Bf() {
2665
2703
  r[t] = s[t];
2666
2704
  return r;
2667
2705
  }
2668
- return Kn = a, Kn;
2706
+ return $n = a, $n;
2669
2707
  }
2670
- var $n, no;
2671
- function Hf() {
2672
- if (no) return $n;
2708
+ var Kn, no;
2709
+ function jf() {
2710
+ if (no) return Kn;
2673
2711
  no = 1;
2674
2712
  function a(s, r) {
2675
2713
  for (var t = -1, e = s == null ? 0 : s.length, i = 0, n = []; ++t < e; ) {
@@ -2678,7 +2716,7 @@ function Hf() {
2678
2716
  }
2679
2717
  return n;
2680
2718
  }
2681
- return $n = a, $n;
2719
+ return Kn = a, Kn;
2682
2720
  }
2683
2721
  var Yn, ro;
2684
2722
  function Ll() {
@@ -2693,7 +2731,7 @@ var Xn, ao;
2693
2731
  function oa() {
2694
2732
  if (ao) return Xn;
2695
2733
  ao = 1;
2696
- var a = Hf(), s = Ll(), r = Object.prototype, t = r.propertyIsEnumerable, e = Object.getOwnPropertySymbols, i = e ? function(n) {
2734
+ var a = jf(), s = Ll(), r = Object.prototype, t = r.propertyIsEnumerable, e = Object.getOwnPropertySymbols, i = e ? function(n) {
2697
2735
  return n == null ? [] : (n = Object(n), a(e(n), function(o) {
2698
2736
  return t.call(n, o);
2699
2737
  }));
@@ -2701,7 +2739,7 @@ function oa() {
2701
2739
  return Xn = i, Xn;
2702
2740
  }
2703
2741
  var Zn, so;
2704
- function Uf() {
2742
+ function zf() {
2705
2743
  if (so) return Zn;
2706
2744
  so = 1;
2707
2745
  var a = _i(), s = oa();
@@ -2740,7 +2778,7 @@ function Ol() {
2740
2778
  return er = i, er;
2741
2779
  }
2742
2780
  var tr, co;
2743
- function jf() {
2781
+ function Vf() {
2744
2782
  if (co) return tr;
2745
2783
  co = 1;
2746
2784
  var a = _i(), s = Ol();
@@ -2761,7 +2799,7 @@ function Ml() {
2761
2799
  return ir = r, ir;
2762
2800
  }
2763
2801
  var nr, ho;
2764
- function zf() {
2802
+ function qf() {
2765
2803
  if (ho) return nr;
2766
2804
  ho = 1;
2767
2805
  var a = Ml(), s = oa(), r = aa();
@@ -2771,7 +2809,7 @@ function zf() {
2771
2809
  return nr = t, nr;
2772
2810
  }
2773
2811
  var rr, go;
2774
- function Vf() {
2812
+ function Gf() {
2775
2813
  if (go) return rr;
2776
2814
  go = 1;
2777
2815
  var a = Ml(), s = Ol(), r = sa();
@@ -2781,38 +2819,38 @@ function Vf() {
2781
2819
  return rr = t, rr;
2782
2820
  }
2783
2821
  var ar, vo;
2784
- function qf() {
2822
+ function Wf() {
2785
2823
  if (vo) return ar;
2786
2824
  vo = 1;
2787
- var a = rt(), s = Ae(), r = a(s, "DataView");
2825
+ var a = rt(), s = Le(), r = a(s, "DataView");
2788
2826
  return ar = r, ar;
2789
2827
  }
2790
2828
  var sr, po;
2791
- function Gf() {
2829
+ function $f() {
2792
2830
  if (po) return sr;
2793
2831
  po = 1;
2794
- var a = rt(), s = Ae(), r = a(s, "Promise");
2832
+ var a = rt(), s = Le(), r = a(s, "Promise");
2795
2833
  return sr = r, sr;
2796
2834
  }
2797
2835
  var or, mo;
2798
- function Wf() {
2836
+ function Kf() {
2799
2837
  if (mo) return or;
2800
2838
  mo = 1;
2801
- var a = rt(), s = Ae(), r = a(s, "Set");
2839
+ var a = rt(), s = Le(), r = a(s, "Set");
2802
2840
  return or = r, or;
2803
2841
  }
2804
2842
  var lr, yo;
2805
- function Kf() {
2843
+ function Yf() {
2806
2844
  if (yo) return lr;
2807
2845
  yo = 1;
2808
- var a = rt(), s = Ae(), r = a(s, "WeakMap");
2846
+ var a = rt(), s = Le(), r = a(s, "WeakMap");
2809
2847
  return lr = r, lr;
2810
2848
  }
2811
2849
  var ur, _o;
2812
2850
  function la() {
2813
2851
  if (_o) return ur;
2814
2852
  _o = 1;
2815
- var a = qf(), s = ea(), r = Gf(), t = Wf(), e = Kf(), i = pi(), n = wl(), o = "[object Map]", l = "[object Object]", u = "[object Promise]", c = "[object Set]", f = "[object WeakMap]", d = "[object DataView]", g = n(a), v = n(s), m = n(r), p = n(t), k = n(e), b = i;
2853
+ var a = Wf(), s = ea(), r = $f(), t = Kf(), e = Yf(), i = pi(), n = wl(), o = "[object Map]", l = "[object Object]", u = "[object Promise]", c = "[object Set]", f = "[object WeakMap]", d = "[object DataView]", g = n(a), v = n(s), m = n(r), p = n(t), k = n(e), b = i;
2816
2854
  return (a && b(new a(new ArrayBuffer(1))) != d || s && b(new s()) != o || r && b(r.resolve()) != u || t && b(new t()) != c || e && b(new e()) != f) && (b = function(C) {
2817
2855
  var L = i(C), T = L == l ? C.constructor : void 0, I = T ? n(T) : "";
2818
2856
  if (I)
@@ -2832,7 +2870,7 @@ function la() {
2832
2870
  }), ur = b, ur;
2833
2871
  }
2834
2872
  var cr, bo;
2835
- function $f() {
2873
+ function Xf() {
2836
2874
  if (bo) return cr;
2837
2875
  bo = 1;
2838
2876
  var a = Object.prototype, s = a.hasOwnProperty;
@@ -2843,17 +2881,17 @@ function $f() {
2843
2881
  return cr = r, cr;
2844
2882
  }
2845
2883
  var fr, Co;
2846
- function Yf() {
2884
+ function Zf() {
2847
2885
  if (Co) return fr;
2848
2886
  Co = 1;
2849
- var a = Ae(), s = a.Uint8Array;
2887
+ var a = Le(), s = a.Uint8Array;
2850
2888
  return fr = s, fr;
2851
2889
  }
2852
2890
  var hr, ko;
2853
2891
  function ua() {
2854
2892
  if (ko) return hr;
2855
2893
  ko = 1;
2856
- var a = Yf();
2894
+ var a = Zf();
2857
2895
  function s(r) {
2858
2896
  var t = new r.constructor(r.byteLength);
2859
2897
  return new a(t).set(new a(r)), t;
@@ -2861,7 +2899,7 @@ function ua() {
2861
2899
  return hr = s, hr;
2862
2900
  }
2863
2901
  var dr, wo;
2864
- function Xf() {
2902
+ function Jf() {
2865
2903
  if (wo) return dr;
2866
2904
  wo = 1;
2867
2905
  var a = ua();
@@ -2872,7 +2910,7 @@ function Xf() {
2872
2910
  return dr = s, dr;
2873
2911
  }
2874
2912
  var gr, To;
2875
- function Zf() {
2913
+ function Qf() {
2876
2914
  if (To) return gr;
2877
2915
  To = 1;
2878
2916
  var a = /\w*$/;
@@ -2883,7 +2921,7 @@ function Zf() {
2883
2921
  return gr = s, gr;
2884
2922
  }
2885
2923
  var vr, So;
2886
- function Jf() {
2924
+ function eh() {
2887
2925
  if (So) return vr;
2888
2926
  So = 1;
2889
2927
  var a = Qr(), s = a ? a.prototype : void 0, r = s ? s.valueOf : void 0;
@@ -2893,7 +2931,7 @@ function Jf() {
2893
2931
  return vr = t, vr;
2894
2932
  }
2895
2933
  var pr, Eo;
2896
- function Qf() {
2934
+ function th() {
2897
2935
  if (Eo) return pr;
2898
2936
  Eo = 1;
2899
2937
  var a = ua();
@@ -2904,10 +2942,10 @@ function Qf() {
2904
2942
  return pr = s, pr;
2905
2943
  }
2906
2944
  var mr, xo;
2907
- function eh() {
2945
+ function ih() {
2908
2946
  if (xo) return mr;
2909
2947
  xo = 1;
2910
- var a = ua(), s = Xf(), r = Zf(), t = Jf(), e = Qf(), i = "[object Boolean]", n = "[object Date]", o = "[object Map]", l = "[object Number]", u = "[object RegExp]", c = "[object Set]", f = "[object String]", d = "[object Symbol]", g = "[object ArrayBuffer]", v = "[object DataView]", m = "[object Float32Array]", p = "[object Float64Array]", k = "[object Int8Array]", b = "[object Int16Array]", C = "[object Int32Array]", L = "[object Uint8Array]", T = "[object Uint8ClampedArray]", I = "[object Uint16Array]", j = "[object Uint32Array]";
2948
+ var a = ua(), s = Jf(), r = Qf(), t = eh(), e = th(), i = "[object Boolean]", n = "[object Date]", o = "[object Map]", l = "[object Number]", u = "[object RegExp]", c = "[object Set]", f = "[object String]", d = "[object Symbol]", g = "[object ArrayBuffer]", v = "[object DataView]", m = "[object Float32Array]", p = "[object Float64Array]", k = "[object Int8Array]", b = "[object Int16Array]", C = "[object Int32Array]", L = "[object Uint8Array]", T = "[object Uint8ClampedArray]", I = "[object Uint16Array]", j = "[object Uint32Array]";
2911
2949
  function Y(z, H, F) {
2912
2950
  var re = z.constructor;
2913
2951
  switch (H) {
@@ -2944,7 +2982,7 @@ function eh() {
2944
2982
  return mr = Y, mr;
2945
2983
  }
2946
2984
  var yr, Io;
2947
- function th() {
2985
+ function nh() {
2948
2986
  if (Io) return yr;
2949
2987
  Io = 1;
2950
2988
  var a = Mt(), s = Object.create, r = /* @__PURE__ */ (function() {
@@ -2963,17 +3001,17 @@ function th() {
2963
3001
  return yr = r, yr;
2964
3002
  }
2965
3003
  var _r, Po;
2966
- function ih() {
3004
+ function rh() {
2967
3005
  if (Po) return _r;
2968
3006
  Po = 1;
2969
- var a = th(), s = Dl(), r = ra();
3007
+ var a = nh(), s = Dl(), r = ra();
2970
3008
  function t(e) {
2971
3009
  return typeof e.constructor == "function" && !r(e) ? a(s(e)) : {};
2972
3010
  }
2973
3011
  return _r = t, _r;
2974
3012
  }
2975
3013
  var br, Ao;
2976
- function nh() {
3014
+ function ah() {
2977
3015
  if (Ao) return br;
2978
3016
  Ao = 1;
2979
3017
  var a = la(), s = Ft(), r = "[object Map]";
@@ -2983,14 +3021,14 @@ function nh() {
2983
3021
  return br = t, br;
2984
3022
  }
2985
3023
  var Cr, Lo;
2986
- function rh() {
3024
+ function sh() {
2987
3025
  if (Lo) return Cr;
2988
3026
  Lo = 1;
2989
- var a = nh(), s = ia(), r = na(), t = r && r.isMap, e = t ? s(t) : a;
3027
+ var a = ah(), s = ia(), r = na(), t = r && r.isMap, e = t ? s(t) : a;
2990
3028
  return Cr = e, Cr;
2991
3029
  }
2992
3030
  var kr, Ro;
2993
- function ah() {
3031
+ function oh() {
2994
3032
  if (Ro) return kr;
2995
3033
  Ro = 1;
2996
3034
  var a = la(), s = Ft(), r = "[object Set]";
@@ -3000,21 +3038,21 @@ function ah() {
3000
3038
  return kr = t, kr;
3001
3039
  }
3002
3040
  var wr, Do;
3003
- function sh() {
3041
+ function lh() {
3004
3042
  if (Do) return wr;
3005
3043
  Do = 1;
3006
- var a = ah(), s = ia(), r = na(), t = r && r.isSet, e = t ? s(t) : a;
3044
+ var a = oh(), s = ia(), r = na(), t = r && r.isSet, e = t ? s(t) : a;
3007
3045
  return wr = e, wr;
3008
3046
  }
3009
3047
  var Tr, Oo;
3010
- function oh() {
3048
+ function uh() {
3011
3049
  if (Oo) return Tr;
3012
3050
  Oo = 1;
3013
- var a = Cf(), s = kf(), r = Sl(), t = Df(), e = Ff(), i = Nf(), n = Bf(), o = Uf(), l = jf(), u = zf(), c = Vf(), f = la(), d = $f(), g = eh(), v = ih(), m = ta(), p = El(), k = rh(), b = Mt(), C = sh(), L = aa(), T = sa(), I = 1, j = 2, Y = 4, z = "[object Arguments]", H = "[object Array]", F = "[object Boolean]", re = "[object Date]", ge = "[object Error]", Le = "[object Function]", Ht = "[object GeneratorFunction]", Ut = "[object Map]", Ct = "[object Number]", kt = "[object Object]", jt = "[object RegExp]", Re = "[object Set]", N = "[object String]", W = "[object Symbol]", te = "[object WeakMap]", ve = "[object ArrayBuffer]", Ce = "[object DataView]", ke = "[object Float32Array]", xe = "[object Float64Array]", Je = "[object Int8Array]", zt = "[object Int16Array]", Vt = "[object Int32Array]", wt = "[object Uint8Array]", yu = "[object Uint8ClampedArray]", _u = "[object Uint16Array]", bu = "[object Uint32Array]", Z = {};
3014
- Z[z] = Z[H] = Z[ve] = Z[Ce] = Z[F] = Z[re] = Z[ke] = Z[xe] = Z[Je] = Z[zt] = Z[Vt] = Z[Ut] = Z[Ct] = Z[kt] = Z[jt] = Z[Re] = Z[N] = Z[W] = Z[wt] = Z[yu] = Z[_u] = Z[bu] = !0, Z[ge] = Z[Le] = Z[te] = !1;
3015
- function qt(X, lt, ut, Cu, Gt, je) {
3016
- var he, Wt = lt & I, Kt = lt & j, ku = lt & Y;
3017
- if (ut && (he = Gt ? ut(X, Cu, Gt, je) : ut(X)), he !== void 0)
3051
+ var a = wf(), s = Tf(), r = Sl(), t = Mf(), e = Bf(), i = Hf(), n = Uf(), o = zf(), l = Vf(), u = qf(), c = Gf(), f = la(), d = Xf(), g = ih(), v = rh(), m = ta(), p = El(), k = sh(), b = Mt(), C = lh(), L = aa(), T = sa(), I = 1, j = 2, Y = 4, z = "[object Arguments]", H = "[object Array]", F = "[object Boolean]", re = "[object Date]", ge = "[object Error]", Re = "[object Function]", Ht = "[object GeneratorFunction]", Ut = "[object Map]", Ct = "[object Number]", kt = "[object Object]", jt = "[object RegExp]", De = "[object Set]", N = "[object String]", W = "[object Symbol]", te = "[object WeakMap]", ve = "[object ArrayBuffer]", ke = "[object DataView]", we = "[object Float32Array]", xe = "[object Float64Array]", Je = "[object Int8Array]", zt = "[object Int16Array]", Vt = "[object Int32Array]", wt = "[object Uint8Array]", yu = "[object Uint8ClampedArray]", _u = "[object Uint16Array]", bu = "[object Uint32Array]", Z = {};
3052
+ Z[z] = Z[H] = Z[ve] = Z[ke] = Z[F] = Z[re] = Z[we] = Z[xe] = Z[Je] = Z[zt] = Z[Vt] = Z[Ut] = Z[Ct] = Z[kt] = Z[jt] = Z[De] = Z[N] = Z[W] = Z[wt] = Z[yu] = Z[_u] = Z[bu] = !0, Z[ge] = Z[Re] = Z[te] = !1;
3053
+ function qt(X, lt, ut, Cu, Gt, ze) {
3054
+ var he, Wt = lt & I, $t = lt & j, ku = lt & Y;
3055
+ if (ut && (he = Gt ? ut(X, Cu, Gt, ze) : ut(X)), he !== void 0)
3018
3056
  return he;
3019
3057
  if (!b(X))
3020
3058
  return X;
@@ -3023,45 +3061,45 @@ function oh() {
3023
3061
  if (he = d(X), !Wt)
3024
3062
  return n(X, he);
3025
3063
  } else {
3026
- var ct = f(X), wa = ct == Le || ct == Ht;
3064
+ var ct = f(X), wa = ct == Re || ct == Ht;
3027
3065
  if (p(X))
3028
3066
  return i(X, Wt);
3029
3067
  if (ct == kt || ct == z || wa && !Gt) {
3030
- if (he = Kt || wa ? {} : v(X), !Wt)
3031
- return Kt ? l(X, e(he, X)) : o(X, t(he, X));
3068
+ if (he = $t || wa ? {} : v(X), !Wt)
3069
+ return $t ? l(X, e(he, X)) : o(X, t(he, X));
3032
3070
  } else {
3033
3071
  if (!Z[ct])
3034
3072
  return Gt ? X : {};
3035
3073
  he = g(X, ct, Wt);
3036
3074
  }
3037
3075
  }
3038
- je || (je = new a());
3039
- var Ta = je.get(X);
3076
+ ze || (ze = new a());
3077
+ var Ta = ze.get(X);
3040
3078
  if (Ta)
3041
3079
  return Ta;
3042
- je.set(X, he), C(X) ? X.forEach(function(ze) {
3043
- he.add(qt(ze, lt, ut, ze, X, je));
3044
- }) : k(X) && X.forEach(function(ze, Qe) {
3045
- he.set(Qe, qt(ze, lt, ut, Qe, X, je));
3080
+ ze.set(X, he), C(X) ? X.forEach(function(Ve) {
3081
+ he.add(qt(Ve, lt, ut, Ve, X, ze));
3082
+ }) : k(X) && X.forEach(function(Ve, Qe) {
3083
+ he.set(Qe, qt(Ve, lt, ut, Qe, X, ze));
3046
3084
  });
3047
- var wu = ku ? Kt ? c : u : Kt ? T : L, Sa = ka ? void 0 : wu(X);
3048
- return s(Sa || X, function(ze, Qe) {
3049
- Sa && (Qe = ze, ze = X[Qe]), r(he, Qe, qt(ze, lt, ut, Qe, X, je));
3085
+ var wu = ku ? $t ? c : u : $t ? T : L, Sa = ka ? void 0 : wu(X);
3086
+ return s(Sa || X, function(Ve, Qe) {
3087
+ Sa && (Qe = Ve, Ve = X[Qe]), r(he, Qe, qt(Ve, lt, ut, Qe, X, ze));
3050
3088
  }), he;
3051
3089
  }
3052
3090
  return Tr = qt, Tr;
3053
3091
  }
3054
3092
  var Sr, Mo;
3055
- function lh() {
3093
+ function ch() {
3056
3094
  if (Mo) return Sr;
3057
3095
  Mo = 1;
3058
- var a = oh(), s = 1, r = 4;
3096
+ var a = uh(), s = 1, r = 4;
3059
3097
  function t(e) {
3060
3098
  return a(e, s | r);
3061
3099
  }
3062
3100
  return Sr = t, Sr;
3063
3101
  }
3064
- var uh = lh(), ch = /* @__PURE__ */ qc(uh), ca = Se({
3102
+ var fh = ch(), hh = /* @__PURE__ */ Wc(fh), ca = be({
3065
3103
  name: "DocumentEditor",
3066
3104
  props: {
3067
3105
  id: {
@@ -3121,7 +3159,7 @@ var uh = lh(), ch = /* @__PURE__ */ qc(uh), ca = Se({
3121
3159
  var a = this, s, r = this.documentServerUrl;
3122
3160
  r.endsWith("/") || (r += "/");
3123
3161
  var t = "".concat(r, "web-apps/apps/api/documents/api.js");
3124
- this.shardkey && (typeof this.shardkey == "boolean" ? t += "?shardkey=".concat((s = this.config.document) === null || s === void 0 ? void 0 : s.key) : t += "?shardkey=".concat(this.shardkey)), Vc(t, "onlyoffice-api-script").then(function() {
3162
+ this.shardkey && (typeof this.shardkey == "boolean" ? t += "?shardkey=".concat((s = this.config.document) === null || s === void 0 ? void 0 : s.key) : t += "?shardkey=".concat(this.shardkey)), Gc(t, "onlyoffice-api-script").then(function() {
3125
3163
  return a.onLoad();
3126
3164
  }).catch(function() {
3127
3165
  a.onError(-2);
@@ -3170,7 +3208,7 @@ var uh = lh(), ch = /* @__PURE__ */ qc(uh), ca = Se({
3170
3208
  return;
3171
3209
  }
3172
3210
  !((s = window == null ? void 0 : window.DocEditor) === null || s === void 0) && s.instances || (window.DocEditor = { instances: {} });
3173
- var t = ch(this.config), e = {
3211
+ var t = hh(this.config), e = {
3174
3212
  documentType: this.documentType,
3175
3213
  events: {
3176
3214
  onAppReady: this.onAppReady,
@@ -3239,13 +3277,13 @@ var uh = lh(), ch = /* @__PURE__ */ qc(uh), ca = Se({
3239
3277
  }
3240
3278
  }
3241
3279
  });
3242
- const fh = ["id"];
3243
- function hh(a, s, r, t, e, i) {
3244
- return x(), R("div", { id: a.id }, null, 8, fh);
3280
+ const dh = ["id"];
3281
+ function gh(a, s, r, t, e, i) {
3282
+ return x(), R("div", { id: a.id }, null, 8, dh);
3245
3283
  }
3246
- ca.render = hh;
3284
+ ca.render = gh;
3247
3285
  ca.__file = "src/components/DocumentEditor.vue";
3248
- const dh = /* @__PURE__ */ Se({
3286
+ const vh = /* @__PURE__ */ be({
3249
3287
  __name: "IkOnlyOffice",
3250
3288
  props: {
3251
3289
  // 文件服务器的服务的地址
@@ -3266,7 +3304,7 @@ const dh = /* @__PURE__ */ Se({
3266
3304
  }
3267
3305
  },
3268
3306
  setup(a) {
3269
- const s = a, r = le({
3307
+ const s = a, r = ue({
3270
3308
  width: "100%",
3271
3309
  height: "100%",
3272
3310
  ...s.configOptions || {},
@@ -3292,7 +3330,7 @@ const dh = /* @__PURE__ */ Se({
3292
3330
  /* STYLE */
3293
3331
  ));
3294
3332
  }
3295
- }), gh = He(dh), vh = {
3333
+ }), ph = Ae(vh), mh = {
3296
3334
  /**
3297
3335
  * @description preview link list.
3298
3336
  */
@@ -3362,15 +3400,15 @@ const dh = /* @__PURE__ */ Se({
3362
3400
  crossorigin: {
3363
3401
  type: ["anonymous", "use-credentials", ""]
3364
3402
  }
3365
- }, ph = {
3403
+ }, yh = {
3366
3404
  close: () => !0,
3367
3405
  switch: (a) => Vr.isNumber(a),
3368
3406
  rotate: (a) => Vr.isNumber(a)
3369
- }, mh = ["src", "crossorigin"], yh = /* @__PURE__ */ Se({
3407
+ }, _h = ["src", "crossorigin"], bh = /* @__PURE__ */ be({
3370
3408
  name: "ElImageViewer",
3371
3409
  __name: "IkImageViewer",
3372
- props: vh,
3373
- emits: ph,
3410
+ props: mh,
3411
+ emits: yh,
3374
3412
  setup(a, { expose: s, emit: r }) {
3375
3413
  const t = (N) => Object.keys(N), e = {
3376
3414
  CONTAIN: {
@@ -3381,31 +3419,31 @@ const dh = /* @__PURE__ */ Se({
3381
3419
  name: "original",
3382
3420
  icon: xa(Bu)
3383
3421
  }
3384
- }, i = a, n = r, { t: o } = Fu(), l = vl("image-viewer"), { nextZIndex: u } = Nu(), c = le(), f = le([]), d = Iu(), g = le(!0), v = le(i.initialIndex), m = Pu(e.CONTAIN), p = le({
3422
+ }, i = a, n = r, { t: o } = Fu(), l = vl("image-viewer"), { nextZIndex: u } = Nu(), c = ue(), f = ue([]), d = Iu(), g = ue(!0), v = ue(i.initialIndex), m = Pu(e.CONTAIN), p = ue({
3385
3423
  scale: 1,
3386
3424
  deg: 0,
3387
3425
  offsetX: 0,
3388
3426
  offsetY: 0,
3389
3427
  enableTransition: !1
3390
- }), k = le(i.zIndex ?? u()), b = Q(() => {
3428
+ }), k = ue(i.zIndex ?? u()), b = J(() => {
3391
3429
  const { urlList: N } = i;
3392
3430
  return N.length <= 1;
3393
- }), C = Q(() => v.value === 0), L = Q(() => v.value === i.urlList.length - 1), T = Q(() => i.urlList[v.value]), I = Q(() => [
3431
+ }), C = J(() => v.value === 0), L = J(() => v.value === i.urlList.length - 1), T = J(() => i.urlList[v.value]), I = J(() => [
3394
3432
  l.e("btn"),
3395
3433
  l.e("prev"),
3396
3434
  l.is("disabled", !i.infinite && C.value)
3397
- ]), j = Q(() => [
3435
+ ]), j = J(() => [
3398
3436
  l.e("btn"),
3399
3437
  l.e("next"),
3400
3438
  l.is("disabled", !i.infinite && L.value)
3401
- ]), Y = Q(() => {
3402
- const { scale: N, deg: W, offsetX: te, offsetY: ve, enableTransition: Ce } = p.value;
3403
- let ke = te / N, xe = ve / N;
3439
+ ]), Y = J(() => {
3440
+ const { scale: N, deg: W, offsetX: te, offsetY: ve, enableTransition: ke } = p.value;
3441
+ let we = te / N, xe = ve / N;
3404
3442
  const Je = W * Math.PI / 180, zt = Math.cos(Je), Vt = Math.sin(Je);
3405
- ke = ke * zt + xe * Vt, xe = xe * zt - te / N * Vt;
3443
+ we = we * zt + xe * Vt, xe = xe * zt - te / N * Vt;
3406
3444
  const wt = {
3407
- transform: `scale(${N}) rotate(${W}deg) translate(${ke}px, ${xe}px)`,
3408
- transition: Ce ? "transform .3s" : ""
3445
+ transform: `scale(${N}) rotate(${W}deg) translate(${we}px, ${xe}px)`,
3446
+ transition: ke ? "transform .3s" : ""
3409
3447
  };
3410
3448
  return m.value.name === e.CONTAIN.name && (wt.maxWidth = wt.maxHeight = "100%"), wt;
3411
3449
  });
@@ -3429,7 +3467,7 @@ const dh = /* @__PURE__ */ Se({
3429
3467
  break;
3430
3468
  // UP_ARROW
3431
3469
  case ft.up:
3432
- Re("zoomIn");
3470
+ De("zoomIn");
3433
3471
  break;
3434
3472
  // RIGHT_ARROW
3435
3473
  case ft.right:
@@ -3437,18 +3475,18 @@ const dh = /* @__PURE__ */ Se({
3437
3475
  break;
3438
3476
  // DOWN_ARROW
3439
3477
  case ft.down:
3440
- Re("zoomOut");
3478
+ De("zoomOut");
3441
3479
  break;
3442
3480
  }
3443
3481
  }), W = Ei.throttle((te) => {
3444
3482
  const ve = te.deltaY || te.deltaX;
3445
- Re(ve < 0 ? "zoomIn" : "zoomOut", {
3483
+ De(ve < 0 ? "zoomIn" : "zoomOut", {
3446
3484
  zoomRate: i.zoomRate,
3447
3485
  enableTransition: !1
3448
3486
  });
3449
3487
  });
3450
3488
  d.run(() => {
3451
- $t(document, "keydown", N), $t(document, "wheel", W);
3489
+ Kt(document, "keydown", N), Kt(document, "wheel", W);
3452
3490
  });
3453
3491
  }
3454
3492
  function F() {
@@ -3460,17 +3498,17 @@ const dh = /* @__PURE__ */ Se({
3460
3498
  function ge(N) {
3461
3499
  g.value = !1, N.target.alt = o("el.image.error");
3462
3500
  }
3463
- function Le(N) {
3501
+ function Re(N) {
3464
3502
  if (g.value || N.button !== 0 || !c.value) return;
3465
3503
  p.value.enableTransition = !1;
3466
- const { offsetX: W, offsetY: te } = p.value, ve = N.pageX, Ce = N.pageY, ke = Ei.throttle((Je) => {
3504
+ const { offsetX: W, offsetY: te } = p.value, ve = N.pageX, ke = N.pageY, we = Ei.throttle((Je) => {
3467
3505
  p.value = {
3468
3506
  ...p.value,
3469
3507
  offsetX: W + Je.pageX - ve,
3470
- offsetY: te + Je.pageY - Ce
3508
+ offsetY: te + Je.pageY - ke
3471
3509
  };
3472
- }), xe = $t(document, "mousemove", ke);
3473
- $t(document, "mouseup", () => {
3510
+ }), xe = Kt(document, "mousemove", we);
3511
+ Kt(document, "mouseup", () => {
3474
3512
  xe();
3475
3513
  }), N.preventDefault();
3476
3514
  }
@@ -3485,8 +3523,8 @@ const dh = /* @__PURE__ */ Se({
3485
3523
  }
3486
3524
  function Ut() {
3487
3525
  if (g.value) return;
3488
- const N = t(e), W = Object.values(e), te = m.value.name, Ce = ((W == null ? void 0 : W.findIndex((ke) => ke.name === te)) + 1) % N.length;
3489
- m.value = e[N[Ce]], Ht();
3526
+ const N = t(e), W = Object.values(e), te = m.value.name, ke = ((W == null ? void 0 : W.findIndex((we) => we.name === te)) + 1) % N.length;
3527
+ m.value = e[N[ke]], Ht();
3490
3528
  }
3491
3529
  function Ct(N) {
3492
3530
  const W = i.urlList.length;
@@ -3498,9 +3536,9 @@ const dh = /* @__PURE__ */ Se({
3498
3536
  function jt() {
3499
3537
  L.value && !i.infinite || Ct(v.value + 1);
3500
3538
  }
3501
- function Re(N, W = {}) {
3539
+ function De(N, W = {}) {
3502
3540
  if (g.value) return;
3503
- const { minScale: te, maxScale: ve } = i, { zoomRate: Ce, rotateDeg: ke, enableTransition: xe } = {
3541
+ const { minScale: te, maxScale: ve } = i, { zoomRate: ke, rotateDeg: we, enableTransition: xe } = {
3504
3542
  zoomRate: i.zoomRate,
3505
3543
  rotateDeg: 90,
3506
3544
  enableTransition: !0,
@@ -3509,19 +3547,19 @@ const dh = /* @__PURE__ */ Se({
3509
3547
  switch (N) {
3510
3548
  case "zoomOut":
3511
3549
  p.value.scale > te && (p.value.scale = Number.parseFloat(
3512
- (p.value.scale / Ce).toFixed(3)
3550
+ (p.value.scale / ke).toFixed(3)
3513
3551
  ));
3514
3552
  break;
3515
3553
  case "zoomIn":
3516
3554
  p.value.scale < ve && (p.value.scale = Number.parseFloat(
3517
- (p.value.scale * Ce).toFixed(3)
3555
+ (p.value.scale * ke).toFixed(3)
3518
3556
  ));
3519
3557
  break;
3520
3558
  case "clockwise":
3521
- p.value.deg += ke, n("rotate", p.value.deg);
3559
+ p.value.deg += we, n("rotate", p.value.deg);
3522
3560
  break;
3523
3561
  case "anticlockwise":
3524
- p.value.deg -= ke, n("rotate", p.value.deg);
3562
+ p.value.deg -= we, n("rotate", p.value.deg);
3525
3563
  break;
3526
3564
  }
3527
3565
  p.value.enableTransition = xe;
@@ -3541,42 +3579,42 @@ const dh = /* @__PURE__ */ Se({
3541
3579
  * @description manually switch image
3542
3580
  */
3543
3581
  setActiveItem: Ct
3544
- }), (N, W) => (x(), ue(hl, { to: "body" }, [
3582
+ }), (N, W) => (x(), se(hl, { to: "body" }, [
3545
3583
  G(dl, {
3546
3584
  name: "viewer-fade",
3547
3585
  appear: ""
3548
3586
  }, {
3549
- default: ne(() => [
3587
+ default: ie(() => [
3550
3588
  S(
3551
3589
  "div",
3552
3590
  {
3553
3591
  ref_key: "wrapper",
3554
3592
  ref: c,
3555
3593
  tabindex: -1,
3556
- class: ie(E(l).e("wrapper")),
3594
+ class: ne(E(l).e("wrapper")),
3557
3595
  style: ae({ zIndex: k.value })
3558
3596
  },
3559
3597
  [
3560
3598
  S(
3561
3599
  "div",
3562
3600
  {
3563
- class: ie(E(l).e("mask")),
3601
+ class: ne(E(l).e("mask")),
3564
3602
  onClick: W[0] || (W[0] = tt((te) => N.hideOnClickModal && z(), ["self"]))
3565
3603
  },
3566
3604
  null,
3567
3605
  2
3568
3606
  /* CLASS */
3569
3607
  ),
3570
- K(" CLOSE "),
3608
+ $(" CLOSE "),
3571
3609
  S(
3572
3610
  "span",
3573
3611
  {
3574
- class: ie([E(l).e("btn"), E(l).e("close")]),
3612
+ class: ne([E(l).e("btn"), E(l).e("close")]),
3575
3613
  onClick: z
3576
3614
  },
3577
3615
  [
3578
- G(E(Ve), null, {
3579
- default: ne(() => [
3616
+ G(E(qe), null, {
3617
+ default: ie(() => [
3580
3618
  G(E(pl))
3581
3619
  ]),
3582
3620
  _: 1
@@ -3586,20 +3624,20 @@ const dh = /* @__PURE__ */ Se({
3586
3624
  2
3587
3625
  /* CLASS */
3588
3626
  ),
3589
- K(" ARROW "),
3590
- b.value ? K("v-if", !0) : (x(), R(
3627
+ $(" ARROW "),
3628
+ b.value ? $("v-if", !0) : (x(), R(
3591
3629
  me,
3592
3630
  { key: 0 },
3593
3631
  [
3594
3632
  S(
3595
3633
  "span",
3596
3634
  {
3597
- class: ie(I.value),
3635
+ class: ne(I.value),
3598
3636
  onClick: kt
3599
3637
  },
3600
3638
  [
3601
- G(E(Ve), null, {
3602
- default: ne(() => [
3639
+ G(E(qe), null, {
3640
+ default: ie(() => [
3603
3641
  G(E(Uu))
3604
3642
  ]),
3605
3643
  _: 1
@@ -3612,12 +3650,12 @@ const dh = /* @__PURE__ */ Se({
3612
3650
  S(
3613
3651
  "span",
3614
3652
  {
3615
- class: ie(j.value),
3653
+ class: ne(j.value),
3616
3654
  onClick: jt
3617
3655
  },
3618
3656
  [
3619
- G(E(Ve), null, {
3620
- default: ne(() => [
3657
+ G(E(qe), null, {
3658
+ default: ie(() => [
3621
3659
  G(E(ju))
3622
3660
  ]),
3623
3661
  _: 1
@@ -3631,32 +3669,32 @@ const dh = /* @__PURE__ */ Se({
3631
3669
  64
3632
3670
  /* STABLE_FRAGMENT */
3633
3671
  )),
3634
- K(" ACTIONS "),
3672
+ $(" ACTIONS "),
3635
3673
  S(
3636
3674
  "div",
3637
3675
  {
3638
- class: ie([E(l).e("btn"), E(l).e("actions")])
3676
+ class: ne([E(l).e("btn"), E(l).e("actions")])
3639
3677
  },
3640
3678
  [
3641
3679
  S(
3642
3680
  "div",
3643
3681
  {
3644
- class: ie(E(l).e("actions__inner"))
3682
+ class: ne(E(l).e("actions__inner"))
3645
3683
  },
3646
3684
  [
3647
- G(E(Ve), {
3648
- onClick: W[1] || (W[1] = (te) => Re("zoomOut"))
3685
+ G(E(qe), {
3686
+ onClick: W[1] || (W[1] = (te) => De("zoomOut"))
3649
3687
  }, {
3650
- default: ne(() => [
3688
+ default: ie(() => [
3651
3689
  G(E(zu))
3652
3690
  ]),
3653
3691
  _: 1
3654
3692
  /* STABLE */
3655
3693
  }),
3656
- G(E(Ve), {
3657
- onClick: W[2] || (W[2] = (te) => Re("zoomIn"))
3694
+ G(E(qe), {
3695
+ onClick: W[2] || (W[2] = (te) => De("zoomIn"))
3658
3696
  }, {
3659
- default: ne(() => [
3697
+ default: ie(() => [
3660
3698
  G(E(Vu))
3661
3699
  ]),
3662
3700
  _: 1
@@ -3665,15 +3703,15 @@ const dh = /* @__PURE__ */ Se({
3665
3703
  S(
3666
3704
  "i",
3667
3705
  {
3668
- class: ie(E(l).e("actions__divider"))
3706
+ class: ne(E(l).e("actions__divider"))
3669
3707
  },
3670
3708
  null,
3671
3709
  2
3672
3710
  /* CLASS */
3673
3711
  ),
3674
- G(E(Ve), { onClick: Ut }, {
3675
- default: ne(() => [
3676
- (x(), ue(Lu(m.value.icon)))
3712
+ G(E(qe), { onClick: Ut }, {
3713
+ default: ie(() => [
3714
+ (x(), se(Lu(m.value.icon)))
3677
3715
  ]),
3678
3716
  _: 1
3679
3717
  /* STABLE */
@@ -3681,25 +3719,25 @@ const dh = /* @__PURE__ */ Se({
3681
3719
  S(
3682
3720
  "i",
3683
3721
  {
3684
- class: ie(E(l).e("actions__divider"))
3722
+ class: ne(E(l).e("actions__divider"))
3685
3723
  },
3686
3724
  null,
3687
3725
  2
3688
3726
  /* CLASS */
3689
3727
  ),
3690
- G(E(Ve), {
3691
- onClick: W[3] || (W[3] = (te) => Re("anticlockwise"))
3728
+ G(E(qe), {
3729
+ onClick: W[3] || (W[3] = (te) => De("anticlockwise"))
3692
3730
  }, {
3693
- default: ne(() => [
3731
+ default: ie(() => [
3694
3732
  G(E(qu))
3695
3733
  ]),
3696
3734
  _: 1
3697
3735
  /* STABLE */
3698
3736
  }),
3699
- G(E(Ve), {
3700
- onClick: W[4] || (W[4] = (te) => Re("clockwise"))
3737
+ G(E(qe), {
3738
+ onClick: W[4] || (W[4] = (te) => De("clockwise"))
3701
3739
  }, {
3702
- default: ne(() => [
3740
+ default: ie(() => [
3703
3741
  G(E(Gu))
3704
3742
  ]),
3705
3743
  _: 1
@@ -3713,11 +3751,11 @@ const dh = /* @__PURE__ */ Se({
3713
3751
  2
3714
3752
  /* CLASS */
3715
3753
  ),
3716
- K(" CANVAS "),
3754
+ $(" CANVAS "),
3717
3755
  S(
3718
3756
  "div",
3719
3757
  {
3720
- class: ie(E(l).e("canvas"))
3758
+ class: ne(E(l).e("canvas"))
3721
3759
  },
3722
3760
  [
3723
3761
  (x(!0), R(
@@ -3725,16 +3763,16 @@ const dh = /* @__PURE__ */ Se({
3725
3763
  null,
3726
3764
  _t(N.urlList, (te, ve) => Ru((x(), R("img", {
3727
3765
  ref_for: !0,
3728
- ref: (Ce) => f.value[ve] = Ce,
3766
+ ref: (ke) => f.value[ve] = ke,
3729
3767
  key: te,
3730
3768
  src: te,
3731
3769
  style: ae(Y.value),
3732
- class: ie(E(l).e("img")),
3770
+ class: ne(E(l).e("img")),
3733
3771
  crossorigin: N.crossorigin,
3734
3772
  onLoad: re,
3735
3773
  onError: ge,
3736
- onMousedown: Le
3737
- }, null, 46, mh)), [
3774
+ onMousedown: Re
3775
+ }, null, 46, _h)), [
3738
3776
  [Du, ve === v.value]
3739
3777
  ])),
3740
3778
  128
@@ -3744,7 +3782,7 @@ const dh = /* @__PURE__ */ Se({
3744
3782
  2
3745
3783
  /* CLASS */
3746
3784
  ),
3747
- $e(N.$slots, "default")
3785
+ Ne(N.$slots, "default")
3748
3786
  ],
3749
3787
  6
3750
3788
  /* CLASS, STYLE */
@@ -3755,8 +3793,8 @@ const dh = /* @__PURE__ */ Se({
3755
3793
  })
3756
3794
  ]));
3757
3795
  }
3758
- }), _h = He(yh);
3759
- function bh(a, s) {
3796
+ }), Ch = Ae(bh);
3797
+ function kh(a, s) {
3760
3798
  var r = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
3761
3799
  if (r != null) {
3762
3800
  var t, e, i, n, o = [], l = !0, u = !1;
@@ -3852,7 +3890,7 @@ function qr(a, s) {
3852
3890
  return t.__proto__ = e, t;
3853
3891
  }, qr(a, s);
3854
3892
  }
3855
- function Ch() {
3893
+ function wh() {
3856
3894
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
3857
3895
  return !1;
3858
3896
  if (typeof Proxy == "function")
@@ -3877,7 +3915,7 @@ function fa(a, s) {
3877
3915
  return y(a);
3878
3916
  }
3879
3917
  function O(a) {
3880
- var s = Ch();
3918
+ var s = wh();
3881
3919
  return function() {
3882
3920
  var t = M(a), e;
3883
3921
  if (s) {
@@ -3888,35 +3926,35 @@ function O(a) {
3888
3926
  return fa(this, e);
3889
3927
  };
3890
3928
  }
3891
- function kh(a, s) {
3929
+ function Th(a, s) {
3892
3930
  for (; !Object.prototype.hasOwnProperty.call(a, s) && (a = M(a), a !== null); )
3893
3931
  ;
3894
3932
  return a;
3895
3933
  }
3896
3934
  function B() {
3897
3935
  return typeof Reflect < "u" && Reflect.get ? B = Reflect.get.bind() : B = function(s, r, t) {
3898
- var e = kh(s, r);
3936
+ var e = Th(s, r);
3899
3937
  if (e) {
3900
3938
  var i = Object.getOwnPropertyDescriptor(e, r);
3901
3939
  return i.get ? i.get.call(arguments.length < 3 ? s : t) : i.value;
3902
3940
  }
3903
3941
  }, B.apply(this, arguments);
3904
3942
  }
3905
- function wh(a, s) {
3906
- return Sh(a) || bh(a, s) || Fl(a, s) || Ih();
3943
+ function Sh(a, s) {
3944
+ return xh(a) || kh(a, s) || Fl(a, s) || Ah();
3907
3945
  }
3908
3946
  function Ee(a) {
3909
- return Th(a) || Eh(a) || Fl(a) || xh();
3947
+ return Eh(a) || Ih(a) || Fl(a) || Ph();
3910
3948
  }
3911
- function Th(a) {
3949
+ function Eh(a) {
3912
3950
  if (Array.isArray(a))
3913
3951
  return Gr(a);
3914
3952
  }
3915
- function Sh(a) {
3953
+ function xh(a) {
3916
3954
  if (Array.isArray(a))
3917
3955
  return a;
3918
3956
  }
3919
- function Eh(a) {
3957
+ function Ih(a) {
3920
3958
  if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
3921
3959
  return Array.from(a);
3922
3960
  }
@@ -3937,15 +3975,15 @@ function Gr(a, s) {
3937
3975
  t[r] = a[r];
3938
3976
  return t;
3939
3977
  }
3940
- function xh() {
3978
+ function Ph() {
3941
3979
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
3942
3980
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3943
3981
  }
3944
- function Ih() {
3982
+ function Ah() {
3945
3983
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3946
3984
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3947
3985
  }
3948
- function Ph(a, s) {
3986
+ function Lh(a, s) {
3949
3987
  if (typeof a != "object" || a === null)
3950
3988
  return a;
3951
3989
  var r = a[Symbol.toPrimitive];
@@ -3958,11 +3996,11 @@ function Ph(a, s) {
3958
3996
  return (s === "string" ? String : Number)(a);
3959
3997
  }
3960
3998
  function Nl(a) {
3961
- var s = Ph(a, "string");
3999
+ var s = Lh(a, "string");
3962
4000
  return typeof s == "symbol" ? s : String(s);
3963
4001
  }
3964
4002
  var Er = { exports: {} }, Bo;
3965
- function Ah() {
4003
+ function Rh() {
3966
4004
  return Bo || (Bo = 1, (function(a) {
3967
4005
  var s = Object.prototype.hasOwnProperty, r = "~";
3968
4006
  function t() {
@@ -4068,15 +4106,15 @@ function Ah() {
4068
4106
  }, o.prototype.off = o.prototype.removeListener, o.prototype.addListener = o.prototype.on, o.prefixed = r, o.EventEmitter = o, a.exports = o;
4069
4107
  })(Er)), Er.exports;
4070
4108
  }
4071
- var Bl = Ah();
4109
+ var Bl = Rh();
4072
4110
  const Hl = /* @__PURE__ */ _l(Bl);
4073
- var Lh = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, xr = {
4111
+ var Dh = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, xr = {
4074
4112
  info: "color: #525252; background-color: #90ee90;",
4075
4113
  error: "color: #525252; background-color: red;",
4076
4114
  warn: "color: #525252; background-color: yellow; "
4077
4115
  }, Ir = "%c[xgplayer]", V = {
4078
4116
  config: {
4079
- debug: Lh ? 3 : 0
4117
+ debug: Dh ? 3 : 0
4080
4118
  },
4081
4119
  logInfo: function(s) {
4082
4120
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
@@ -4097,10 +4135,10 @@ var Lh = typeof window < "u" && window.location && window.location.href.indexOf(
4097
4135
  }
4098
4136
  }
4099
4137
  };
4100
- function Rh(a) {
4138
+ function Oh(a) {
4101
4139
  a.logInfo = V.logInfo.bind(a), a.logWarn = V.logWarn.bind(a), a.logError = V.logError.bind(a);
4102
4140
  }
4103
- var Dh = /* @__PURE__ */ (function() {
4141
+ var Mh = /* @__PURE__ */ (function() {
4104
4142
  function a(s) {
4105
4143
  P(this, a), this.bufferedList = s;
4106
4144
  }
@@ -4345,7 +4383,7 @@ h.setStyleFromCsstext = function(a, s) {
4345
4383
  a.style[t] = s[t];
4346
4384
  });
4347
4385
  };
4348
- function Oh(a, s) {
4386
+ function Fh(a, s) {
4349
4387
  for (var r = 0, t = s.length; r < t; r++)
4350
4388
  if (a.indexOf(s[r]) > -1)
4351
4389
  return !0;
@@ -4359,7 +4397,7 @@ h.filterStyleFromText = function(a) {
4359
4397
  return t.map(function(n) {
4360
4398
  if (n) {
4361
4399
  var o = n.split(":");
4362
- o.length > 1 && (Oh(o[0], s) ? e[o[0]] = o[1] : i[o[0]] = o[1]);
4400
+ o.length > 1 && (Fh(o[0], s) ? e[o[0]] = o[1] : i[o[0]] = o[1]);
4363
4401
  }
4364
4402
  }), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
4365
4403
  a.style[n] = i[n];
@@ -4424,7 +4462,7 @@ h.getBuffered2 = function(a) {
4424
4462
  }
4425
4463
  else
4426
4464
  e = r;
4427
- return new Dh(e);
4465
+ return new Mh(e);
4428
4466
  };
4429
4467
  h.getEventPos = function(a) {
4430
4468
  var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
@@ -4548,7 +4586,7 @@ function Ul(a) {
4548
4586
  var s = ce(a);
4549
4587
  return a !== null && (s === "object" || s === "function");
4550
4588
  }
4551
- function Mh(a, s, r) {
4589
+ function Nh(a, s, r) {
4552
4590
  var t, e, i, n, o, l, u = 0, c = !1, f = !1, d = !0, g = !s && s !== 0 && typeof window.requestAnimationFrame == "function";
4553
4591
  if (typeof a != "function")
4554
4592
  throw new TypeError("Expected a function");
@@ -4595,8 +4633,8 @@ function Mh(a, s, r) {
4595
4633
  return o !== void 0;
4596
4634
  }
4597
4635
  function z() {
4598
- for (var H = Date.now(), F = C(H), re = arguments.length, ge = new Array(re), Le = 0; Le < re; Le++)
4599
- ge[Le] = arguments[Le];
4636
+ for (var H = Date.now(), F = C(H), re = arguments.length, ge = new Array(re), Re = 0; Re < re; Re++)
4637
+ ge[Re] = arguments[Re];
4600
4638
  if (t = ge, e = this, l = H, F) {
4601
4639
  if (o === void 0)
4602
4640
  return k(l);
@@ -4607,21 +4645,21 @@ function Mh(a, s, r) {
4607
4645
  }
4608
4646
  return z.cancel = I, z.flush = j, z.pending = Y, z;
4609
4647
  }
4610
- function Fh(a, s, r) {
4648
+ function Bh(a, s, r) {
4611
4649
  var t = !0, e = !0;
4612
4650
  if (typeof a != "function")
4613
4651
  throw new TypeError("Expected a function");
4614
- return Ul(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Mh(a, s, {
4652
+ return Ul(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Nh(a, s, {
4615
4653
  leading: t,
4616
4654
  trailing: e,
4617
4655
  maxWait: s
4618
4656
  });
4619
4657
  }
4620
- function Nh() {
4658
+ function Hh() {
4621
4659
  var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
4622
4660
  return a === "zh-cn" && (a = "zh"), a;
4623
4661
  }
4624
- function Bh(a, s, r) {
4662
+ function Uh(a, s, r) {
4625
4663
  if (a) {
4626
4664
  var t = a.getAttribute(r);
4627
4665
  return !!(t && t === s && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
@@ -4631,7 +4669,7 @@ var Pr = {
4631
4669
  android: /(Android)\s([\d.]+)/,
4632
4670
  harmony: /(OpenHarmony|HarmonyOS)\s([\d.]+)/,
4633
4671
  ios: /(Version)\/([\d.]+)/
4634
- }, Hh = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], U = {
4672
+ }, jh = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], U = {
4635
4673
  get device() {
4636
4674
  var a = U.os;
4637
4675
  return a.isPc ? "pc" : "mobile";
@@ -4697,7 +4735,7 @@ var Pr = {
4697
4735
  if (this.supportResult)
4698
4736
  return this.supportResult;
4699
4737
  var r = document.createElement("video");
4700
- return typeof r.canPlayType == "function" && Hh.map(function(t) {
4738
+ return typeof r.canPlayType == "function" && jh.map(function(t) {
4701
4739
  r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (s.isSupport = !0, s.mime += "||".concat(t));
4702
4740
  }), this.supportResult = s, r = null, s;
4703
4741
  },
@@ -4792,42 +4830,42 @@ var Pr = {
4792
4830
  return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
4793
4831
  }
4794
4832
  }
4795
- ), be = "play", bi = "playing", at = "ended", bt = "pause", Nt = "error", Ci = "seeking", Ne = "seeked", _e = "timeupdate", Bt = "waiting", Fe = "canplay", Uh = "canplaythrough", Ue = "durationchange", jl = "volumechange", Be = "loadeddata", jh = "loadedmetadata", zl = "ratechange", Vl = "progress", ha = "loadstart", st = "emptied", zh = "stalled", Vh = "suspend", qh = "abort", Gh = "bufferedChange", da = "focus", ql = "blur", ga = "ready", Gl = "urlNull", nt = "autoplay_started", va = "autoplay_was_prevented", ki = "complete", ii = "replay", pa = "destroy", wi = "urlchange", Kr = "download_speed_change", Wl = "leaveplayer", Kl = "enterplayer", $l = "loading", Me = "fullscreen_change", ni = "cssFullscreen_change", ri = "mini_state_change", ma = "definition_change", Wh = "before_definition_change", $r = "after_definition_change", Kh = "SEI_PARSED", $h = "retry", Ye = "video_resize", Yr = "pip_change", Yl = "rotate", Xl = "screenShot", ai = "playnext", Zl = "shortcut", Jl = "xglog", si = "user_action", Ti = "reset", Ql = "source_error", eu = "source_success", Yh = "switch_subtitle", tu = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], iu = {
4833
+ ), Ce = "play", bi = "playing", at = "ended", bt = "pause", Nt = "error", Ci = "seeking", He = "seeked", _e = "timeupdate", Bt = "waiting", Be = "canplay", zh = "canplaythrough", je = "durationchange", jl = "volumechange", Ue = "loadeddata", Vh = "loadedmetadata", zl = "ratechange", Vl = "progress", ha = "loadstart", st = "emptied", qh = "stalled", Gh = "suspend", Wh = "abort", $h = "bufferedChange", da = "focus", ql = "blur", ga = "ready", Gl = "urlNull", nt = "autoplay_started", va = "autoplay_was_prevented", ki = "complete", ii = "replay", pa = "destroy", wi = "urlchange", $r = "download_speed_change", Wl = "leaveplayer", $l = "enterplayer", Kl = "loading", Fe = "fullscreen_change", ni = "cssFullscreen_change", ri = "mini_state_change", ma = "definition_change", Kh = "before_definition_change", Kr = "after_definition_change", Yh = "SEI_PARSED", Xh = "retry", Ye = "video_resize", Yr = "pip_change", Yl = "rotate", Xl = "screenShot", ai = "playnext", Zl = "shortcut", Jl = "xglog", si = "user_action", Ti = "reset", Ql = "source_error", eu = "source_success", Zh = "switch_subtitle", tu = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], iu = {
4796
4834
  STATS_INFO: "stats_info",
4797
4835
  STATS_DOWNLOAD: "stats_download",
4798
4836
  STATS_RESET: "stats_reset"
4799
4837
  }, nu = "fps_stuck";
4800
- const Xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4838
+ const Jh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4801
4839
  __proto__: null,
4802
- ABORT: qh,
4803
- AFTER_DEFINITION_CHANGE: $r,
4840
+ ABORT: Wh,
4841
+ AFTER_DEFINITION_CHANGE: Kr,
4804
4842
  AUTOPLAY_PREVENTED: va,
4805
4843
  AUTOPLAY_STARTED: nt,
4806
- BEFORE_DEFINITION_CHANGE: Wh,
4807
- BUFFER_CHANGE: Gh,
4808
- CANPLAY: Fe,
4809
- CANPLAY_THROUGH: Uh,
4844
+ BEFORE_DEFINITION_CHANGE: Kh,
4845
+ BUFFER_CHANGE: $h,
4846
+ CANPLAY: Be,
4847
+ CANPLAY_THROUGH: zh,
4810
4848
  COMPLETE: ki,
4811
4849
  CSS_FULLSCREEN_CHANGE: ni,
4812
4850
  DEFINITION_CHANGE: ma,
4813
4851
  DESTROY: pa,
4814
- DOWNLOAD_SPEED_CHANGE: Kr,
4815
- DURATION_CHANGE: Ue,
4852
+ DOWNLOAD_SPEED_CHANGE: $r,
4853
+ DURATION_CHANGE: je,
4816
4854
  EMPTIED: st,
4817
4855
  ENDED: at,
4818
- ENTER_PLAYER: Kl,
4856
+ ENTER_PLAYER: $l,
4819
4857
  ERROR: Nt,
4820
4858
  FPS_STUCK: nu,
4821
- FULLSCREEN_CHANGE: Me,
4859
+ FULLSCREEN_CHANGE: Fe,
4822
4860
  LEAVE_PLAYER: Wl,
4823
- LOADED_DATA: Be,
4824
- LOADED_METADATA: jh,
4825
- LOADING: $l,
4861
+ LOADED_DATA: Ue,
4862
+ LOADED_METADATA: Vh,
4863
+ LOADING: Kl,
4826
4864
  LOAD_START: ha,
4827
4865
  MINI_STATE_CHANGE: ri,
4828
4866
  PAUSE: bt,
4829
4867
  PIP_CHANGE: Yr,
4830
- PLAY: be,
4868
+ PLAY: Ce,
4831
4869
  PLAYER_BLUR: ql,
4832
4870
  PLAYER_FOCUS: da,
4833
4871
  PLAYING: bi,
@@ -4837,19 +4875,19 @@ const Xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4837
4875
  READY: ga,
4838
4876
  REPLAY: ii,
4839
4877
  RESET: Ti,
4840
- RETRY: $h,
4878
+ RETRY: Xh,
4841
4879
  ROTATE: Yl,
4842
4880
  SCREEN_SHOT: Xl,
4843
- SEEKED: Ne,
4881
+ SEEKED: He,
4844
4882
  SEEKING: Ci,
4845
- SEI_PARSED: Kh,
4883
+ SEI_PARSED: Yh,
4846
4884
  SHORTCUT: Zl,
4847
4885
  SOURCE_ERROR: Ql,
4848
4886
  SOURCE_SUCCESS: eu,
4849
- STALLED: zh,
4887
+ STALLED: qh,
4850
4888
  STATS_EVENTS: iu,
4851
- SUSPEND: Vh,
4852
- SWITCH_SUBTITLE: Yh,
4889
+ SUSPEND: Gh,
4890
+ SWITCH_SUBTITLE: Zh,
4853
4891
  TIME_UPDATE: _e,
4854
4892
  URL_CHANGE: wi,
4855
4893
  URL_NULL: Gl,
@@ -4863,7 +4901,7 @@ const Xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4863
4901
  function Ar(a, s) {
4864
4902
  !this || !this.emit || (a === "error" ? this.errorHandler(a, s.error) : this.emit(a, s));
4865
4903
  }
4866
- function Zh(a, s) {
4904
+ function Qh(a, s) {
4867
4905
  return function(r, t) {
4868
4906
  var e = {
4869
4907
  player: s,
@@ -4898,7 +4936,7 @@ function Zh(a, s) {
4898
4936
  Ar.call(s, a, e);
4899
4937
  };
4900
4938
  }
4901
- var Jh = /* @__PURE__ */ (function(a) {
4939
+ var ed = /* @__PURE__ */ (function(a) {
4902
4940
  D(r, a);
4903
4941
  var s = O(r);
4904
4942
  function r(t) {
@@ -4942,7 +4980,7 @@ var Jh = /* @__PURE__ */ (function(a) {
4942
4980
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
4943
4981
  this._evHandlers || (this._evHandlers = tu.map(function(n) {
4944
4982
  var o = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
4945
- return typeof e[o] == "function" && e.on(n, e[o]), _({}, n, Zh(n, e));
4983
+ return typeof e[o] == "function" && e.on(n, e[o]), _({}, n, Qh(n, e));
4946
4984
  })), this._evHandlers.forEach(function(n) {
4947
4985
  var o = Object.keys(n)[0];
4948
4986
  i.addEventListener(o, n[o], !1);
@@ -5316,7 +5354,7 @@ var Jh = /* @__PURE__ */ (function(a) {
5316
5354
  B(M(r.prototype), "removeAllListeners", this).call(this);
5317
5355
  }
5318
5356
  }]), r;
5319
- })(Hl), Qh = /* @__PURE__ */ (function() {
5357
+ })(Hl), td = /* @__PURE__ */ (function() {
5320
5358
  function a() {
5321
5359
  var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
5322
5360
  name: "xgplayer",
@@ -5421,7 +5459,7 @@ function oi(a, s) {
5421
5459
  }
5422
5460
  if (this.__hooks && this.__hooks[a])
5423
5461
  try {
5424
- var n = we.apply(void 0, [this, a, s].concat(Array.prototype.slice.call(arguments)));
5462
+ var n = Te.apply(void 0, [this, a, s].concat(Array.prototype.slice.call(arguments)));
5425
5463
  n ? n.then ? n.then(function(o) {
5426
5464
  o !== !1 && Xt.apply(void 0, [e, s, r.next].concat(Ee(t)));
5427
5465
  }).catch(function(o) {
@@ -5489,7 +5527,7 @@ function au(a) {
5489
5527
  function su(a) {
5490
5528
  a.__hooks = null;
5491
5529
  }
5492
- function we(a, s, r) {
5530
+ function Te(a, s, r) {
5493
5531
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
5494
5532
  e[i - 3] = arguments[i];
5495
5533
  if (a.__hooks && Array.isArray(a.__hooks[s])) {
@@ -5712,7 +5750,7 @@ var Xe = /* @__PURE__ */ (function() {
5712
5750
  }
5713
5751
  }]), a;
5714
5752
  })(), Rr, Wo;
5715
- function ed() {
5753
+ function id() {
5716
5754
  if (Wo) return Rr;
5717
5755
  Wo = 1;
5718
5756
  var a = 9;
@@ -5729,11 +5767,11 @@ function ed() {
5729
5767
  }
5730
5768
  return Rr = r, Rr;
5731
5769
  }
5732
- var Dr, Ko;
5733
- function td() {
5734
- if (Ko) return Dr;
5735
- Ko = 1;
5736
- var a = ed();
5770
+ var Dr, $o;
5771
+ function nd() {
5772
+ if ($o) return Dr;
5773
+ $o = 1;
5774
+ var a = id();
5737
5775
  function s(e, i, n, o, l) {
5738
5776
  var u = t.apply(this, arguments);
5739
5777
  return e.addEventListener(n, u, l), {
@@ -5754,12 +5792,12 @@ function td() {
5754
5792
  }
5755
5793
  return Dr = r, Dr;
5756
5794
  }
5757
- var id = td();
5758
- const $o = /* @__PURE__ */ _l(id);
5759
- var nd = {
5795
+ var rd = nd();
5796
+ const Ko = /* @__PURE__ */ _l(rd);
5797
+ var ad = {
5760
5798
  CONTROLS: "controls",
5761
5799
  ROOT: "root"
5762
- }, J = {
5800
+ }, Q = {
5763
5801
  ROOT: "root",
5764
5802
  ROOT_LEFT: "rootLeft",
5765
5803
  ROOT_RIGHT: "rootRight",
@@ -5775,10 +5813,10 @@ var nd = {
5775
5813
  function Or(a) {
5776
5814
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
5777
5815
  }
5778
- function rd(a, s) {
5816
+ function sd(a, s) {
5779
5817
  return ce(a) === "object" && a.class && typeof a.class == "string" ? "".concat(s, " ").concat(a.class) : s;
5780
5818
  }
5781
- function ad(a, s) {
5819
+ function od(a, s) {
5782
5820
  return ce(a) === "object" && a.attr && ce(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
5783
5821
  s[r] = a.attr[r];
5784
5822
  }), s;
@@ -5801,14 +5839,14 @@ function Xo(a, s) {
5801
5839
  }
5802
5840
  return typeof a == "string" ? h.createDomFromHtml(a, t, r) : (V.logWarn("warn>>icons.".concat(s, " in config of plugin named [").concat(e, "] is invalid")), null);
5803
5841
  }
5804
- function sd(a, s) {
5842
+ function ld(a, s) {
5805
5843
  var r = s.config.icons || s.playerConfig.icons;
5806
5844
  Object.keys(a).map(function(t) {
5807
5845
  var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, o = null;
5808
- r && r[t] && (i = rd(r[t], i), n = ad(r[t], n), o = Xo(r[t], t, i, n, s.pluginName)), !o && e && (o = Xo(e.icon ? e.icon : e, n, i, {}, s.pluginName)), s.icons[t] = o;
5846
+ r && r[t] && (i = sd(r[t], i), n = od(r[t], n), o = Xo(r[t], t, i, n, s.pluginName)), !o && e && (o = Xo(e.icon ? e.icon : e, n, i, {}, s.pluginName)), s.icons[t] = o;
5809
5847
  });
5810
5848
  }
5811
- function od(a, s) {
5849
+ function ud(a, s) {
5812
5850
  Object.keys(a).map(function(r) {
5813
5851
  Object.defineProperty(s.langText, r, {
5814
5852
  get: function() {
@@ -5818,7 +5856,7 @@ function od(a, s) {
5818
5856
  });
5819
5857
  });
5820
5858
  }
5821
- var $ = /* @__PURE__ */ (function(a) {
5859
+ var K = /* @__PURE__ */ (function(a) {
5822
5860
  D(r, a);
5823
5861
  var s = O(r);
5824
5862
  function r() {
@@ -5832,9 +5870,9 @@ var $ = /* @__PURE__ */ (function(a) {
5832
5870
  var i = e.root, n = null;
5833
5871
  this.icons = {}, this.root = null, this.parent = null, this.extraEls = [];
5834
5872
  var o = this.registerIcons() || {};
5835
- sd(o, this), this.langText = {};
5873
+ ld(o, this), this.langText = {};
5836
5874
  var l = this.registerLanguageTexts() || {};
5837
- od(l, this);
5875
+ ud(l, this);
5838
5876
  var u = "";
5839
5877
  try {
5840
5878
  u = this.render();
@@ -6090,11 +6128,11 @@ var $ = /* @__PURE__ */ (function(a) {
6090
6128
  if (e instanceof window.Node && typeof o == "function")
6091
6129
  if (Array.isArray(n))
6092
6130
  n.forEach(function(f) {
6093
- var d = $o(e, i, f, o, l);
6131
+ var d = Ko(e, i, f, o, l);
6094
6132
  d.key = "".concat(i, "_").concat(f), u.push(d);
6095
6133
  });
6096
6134
  else {
6097
- var c = $o(e, i, n, o, l);
6135
+ var c = Ko(e, i, n, o, l);
6098
6136
  c.key = "".concat(i, "_").concat(n), u.push(c);
6099
6137
  }
6100
6138
  return u;
@@ -6102,15 +6140,15 @@ var $ = /* @__PURE__ */ (function(a) {
6102
6140
  }, {
6103
6141
  key: "ROOT_TYPES",
6104
6142
  get: function() {
6105
- return nd;
6143
+ return ad;
6106
6144
  }
6107
6145
  }, {
6108
6146
  key: "POSITIONS",
6109
6147
  get: function() {
6110
- return J;
6148
+ return Q;
6111
6149
  }
6112
6150
  }]), r;
6113
- })(Xe), ld = /* @__PURE__ */ (function() {
6151
+ })(Xe), cd = /* @__PURE__ */ (function() {
6114
6152
  function a() {
6115
6153
  var s = this;
6116
6154
  if (P(this, a), _(this, "__trigger", function(r) {
@@ -6120,7 +6158,7 @@ var $ = /* @__PURE__ */ (function(a) {
6120
6158
  s.__runHandler(r[e].target);
6121
6159
  }), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
6122
6160
  try {
6123
- this.observer = new window.ResizeObserver(Fh(this.__trigger, 100, {
6161
+ this.observer = new window.ResizeObserver(Bh(this.__trigger, 100, {
6124
6162
  trailing: !0
6125
6163
  })), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
6126
6164
  } catch (r) {
@@ -6177,18 +6215,18 @@ var $ = /* @__PURE__ */ (function(a) {
6177
6215
  }
6178
6216
  }]), a;
6179
6217
  })(), At = null;
6180
- function ud(a, s) {
6181
- return At || (At = new ld()), At.addObserver(a, s), At;
6218
+ function fd(a, s) {
6219
+ return At || (At = new cd()), At.addObserver(a, s), At;
6182
6220
  }
6183
- function cd(a, s) {
6221
+ function hd(a, s) {
6184
6222
  var r;
6185
6223
  (r = At) === null || r === void 0 || r.unObserver(a, s);
6186
6224
  }
6187
- var oe = {
6225
+ var le = {
6188
6226
  pluginGroup: {},
6189
6227
  init: function(s) {
6190
6228
  var r = s._pluginInfoId;
6191
- r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver && ud(s.root, function() {
6229
+ r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver && fd(s.root, function() {
6192
6230
  s.resize();
6193
6231
  }), this.pluginGroup[r] = {
6194
6232
  _originalOptions: s.config || {},
@@ -6374,7 +6412,7 @@ var oe = {
6374
6412
  destroy: function(s) {
6375
6413
  var r = s._pluginInfoId;
6376
6414
  if (this.pluginGroup[r]) {
6377
- cd(s.root);
6415
+ hd(s.root);
6378
6416
  for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
6379
6417
  var n = i[e];
6380
6418
  this.unRegister(r, n);
@@ -6460,7 +6498,7 @@ function Zo() {
6460
6498
  ignores: [],
6461
6499
  whitelist: [],
6462
6500
  inactive: 3e3,
6463
- lang: Nh(),
6501
+ lang: Hh(),
6464
6502
  controls: !0,
6465
6503
  marginControls: !1,
6466
6504
  fullscreenTarget: null,
@@ -6496,7 +6534,7 @@ function Zo() {
6496
6534
  }
6497
6535
  };
6498
6536
  }
6499
- var fd = function(s, r) {
6537
+ var dd = function(s, r) {
6500
6538
  var t, e, i;
6501
6539
  r.preset && r.options ? i = new r.preset(r.options, s.config) : i = new r({}, s.config);
6502
6540
  var n = i, o = n.plugins, l = o === void 0 ? [] : o, u = n.ignores, c = u === void 0 ? [] : u, f = n.icons, d = f === void 0 ? {} : f, g = n.i18n, v = g === void 0 ? [] : g;
@@ -6505,7 +6543,7 @@ var fd = function(s, r) {
6505
6543
  });
6506
6544
  var m = s.config.i18n || [];
6507
6545
  v.push.apply(v, Ee(m)), s.config.i18n = v;
6508
- }, hd = /* @__PURE__ */ (function(a) {
6546
+ }, gd = /* @__PURE__ */ (function(a) {
6509
6547
  D(r, a);
6510
6548
  var s = O(r);
6511
6549
  function r() {
@@ -6601,16 +6639,16 @@ var fd = function(s, r) {
6601
6639
  if (!i.root) {
6602
6640
  var l = i.position ? i.position : i.config && i.config.position ? i.config.position : o.position;
6603
6641
  switch (l) {
6604
- case J.CONTROLS_LEFT:
6642
+ case Q.CONTROLS_LEFT:
6605
6643
  i.root = this.left;
6606
6644
  break;
6607
- case J.CONTROLS_RIGHT:
6645
+ case Q.CONTROLS_RIGHT:
6608
6646
  i.root = this.right;
6609
6647
  break;
6610
- case J.CONTROLS_CENTER:
6648
+ case Q.CONTROLS_CENTER:
6611
6649
  i.root = this.center;
6612
6650
  break;
6613
- case J.CONTROLS:
6651
+ case Q.CONTROLS:
6614
6652
  i.root = this.root;
6615
6653
  break;
6616
6654
  default:
@@ -6666,7 +6704,7 @@ var fd = function(s, r) {
6666
6704
  };
6667
6705
  }
6668
6706
  }]), r;
6669
- })($), dd = {
6707
+ })(K), vd = {
6670
6708
  LANG: "en",
6671
6709
  TEXT: {
6672
6710
  ERROR_TYPES: {
@@ -6761,7 +6799,7 @@ function ou() {
6761
6799
  ye.textKeys[a] = a;
6762
6800
  });
6763
6801
  }
6764
- function gd(a, s) {
6802
+ function pd(a, s) {
6765
6803
  var r = [];
6766
6804
  if (s || (s = ye), !!s.lang) {
6767
6805
  h.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
@@ -6784,7 +6822,7 @@ function ya(a, s) {
6784
6822
  r === "zh" && (r = "zh-cn"), s.lang[r] ? Ot(s.lang[r], t) : (s.langKeys.push(r), s.lang[r] = t), ou();
6785
6823
  }
6786
6824
  }
6787
- function vd(a) {
6825
+ function md(a) {
6788
6826
  var s, r = {
6789
6827
  lang: {},
6790
6828
  langKeys: [],
@@ -6793,7 +6831,7 @@ function vd(a) {
6793
6831
  };
6794
6832
  return Ot(r.lang, ye.lang), (s = r.langKeys).push.apply(s, Ee(ye.langKeys)), Ot(r.textKeys, ye.textKeys), r;
6795
6833
  }
6796
- ya(dd);
6834
+ ya(vd);
6797
6835
  var yt = {
6798
6836
  get textKeys() {
6799
6837
  return ye.textKeys;
@@ -6807,9 +6845,9 @@ var yt = {
6807
6845
  a[s] = ye.lang[s];
6808
6846
  }), ye.lang["zh-cn"] && (a.zh = ye.lang["zh-cn"] || {}), a;
6809
6847
  },
6810
- extend: gd,
6848
+ extend: pd,
6811
6849
  use: ya,
6812
- init: vd
6850
+ init: md
6813
6851
  }, q = {
6814
6852
  INITIAL: 1,
6815
6853
  READY: 2,
@@ -6905,7 +6943,7 @@ var yt = {
6905
6943
  }
6906
6944
  }]), r;
6907
6945
  })(Bl.EventEmitter);
6908
- function pd(a) {
6946
+ function yd(a) {
6909
6947
  for (var s = Object.keys(de), r = 0; r < s.length; r++) {
6910
6948
  var t = de[s[r]];
6911
6949
  if (t.root === a)
@@ -6913,7 +6951,7 @@ function pd(a) {
6913
6951
  }
6914
6952
  return null;
6915
6953
  }
6916
- var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /* @__PURE__ */ (function(a) {
6954
+ var _d = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, Ge = null, Si = /* @__PURE__ */ (function(a) {
6917
6955
  D(r, a);
6918
6956
  var s = O(r);
6919
6957
  function r(t) {
@@ -6923,7 +6961,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
6923
6961
  n = s.call(this, o), _(y(n), "canPlayFunc", function() {
6924
6962
  if (n.config) {
6925
6963
  var p = n.config, k = p.autoplay, b = p.defaultPlaybackRate;
6926
- V.logInfo("player", "canPlayFunc, startTime", n.__startTime), n._seekToStartTime(), n.playbackRate = b, (k || n._useAutoplay) && n.mediaPlay(), n.off(Fe, n.canPlayFunc), n.removeClass(w.ENTER);
6964
+ V.logInfo("player", "canPlayFunc, startTime", n.__startTime), n._seekToStartTime(), n.playbackRate = b, (k || n._useAutoplay) && n.mediaPlay(), n.off(Be, n.canPlayFunc), n.removeClass(w.ENTER);
6927
6965
  }
6928
6966
  }), _(y(n), "onFullscreenChange", function(p, k) {
6929
6967
  var b = function() {
@@ -6943,9 +6981,9 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
6943
6981
  to: !1
6944
6982
  }]
6945
6983
  });
6946
- var L = Bh(C, n.playerId, Ke);
6984
+ var L = Uh(C, n.playerId, Ke);
6947
6985
  if (k || C && (C === n._fullscreenEl || L))
6948
- b(), !n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !0, n.changeFullStyle(n.root, C, w.FULLSCREEN), n.emit(Me, !0, n._fullScreenOffset), n.cssfullscreen && n.exitCssFullscreen();
6986
+ b(), !n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !0, n.changeFullStyle(n.root, C, w.FULLSCREEN), n.emit(Fe, !0, n._fullScreenOffset), n.cssfullscreen && n.exitCssFullscreen();
6949
6987
  else if (n.fullscreen) {
6950
6988
  b();
6951
6989
  var T = y(n), I = T._fullScreenOffset, j = T.config;
@@ -6957,13 +6995,13 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
6957
6995
  var Y = n._fullscreenEl;
6958
6996
  !Y && (n.root.contains(p.target) || p.target === n.root) && (Y = p.target), n.recoverFullStyle(n.root, Y, w.FULLSCREEN);
6959
6997
  }
6960
- n._fullscreenEl = null, n.emit(Me, !1);
6998
+ n._fullscreenEl = null, n.emit(Fe, !1);
6961
6999
  }
6962
7000
  }), _(y(n), "_onWebkitbeginfullscreen", function(p) {
6963
7001
  n._fullscreenEl = n.media, n.onFullscreenChange(p, !0);
6964
7002
  }), _(y(n), "_onWebkitendfullscreen", function(p) {
6965
7003
  n.onFullscreenChange(p, !1);
6966
- }), au(y(n), md), n.config = o, n._pluginInfoId = h.generateSessionId(), Rh(y(n));
7004
+ }), au(y(n), _d), n.config = o, n._pluginInfoId = h.generateSessionId(), Oh(y(n));
6967
7005
  var l = n.constructor.defaultPreset;
6968
7006
  if (n.config.presets.length) {
6969
7007
  var u = n.config.presets.indexOf("default");
@@ -6991,9 +7029,9 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
6991
7029
  }, n._offsetInfo = {
6992
7030
  currentTime: -1,
6993
7031
  duration: 0
6994
- }, n.innerContainer = null, n.controls = null, n.topBar = null, n.root = null, n.__i18n = yt.init(n._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (n.config.autoplay = !1), n.database = new Qh(), n.isUserActive = !1, n._onceSeekCanplay = null, n._isPauseBeforeSeek = 0, n.innerStates = {
7032
+ }, n.innerContainer = null, n.controls = null, n.topBar = null, n.root = null, n.__i18n = yt.init(n._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (n.config.autoplay = !1), n.database = new td(), n.isUserActive = !1, n._onceSeekCanplay = null, n._isPauseBeforeSeek = 0, n.innerStates = {
6995
7033
  isActiveLocked: !1
6996
- }, n.instManager = qe;
7034
+ }, n.instManager = Ge;
6997
7035
  var c = n._initDOM();
6998
7036
  if (!c)
6999
7037
  return console.error(new Error("can't find the dom which id is ".concat(n.config.id, " or this.config.el does not exist"))), fa(n);
@@ -7004,7 +7042,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7004
7042
  });
7005
7043
  m || (g.defaultDefinition = g.list[0].definition, m = g.list[0]), n.curDefinition = m, v || (n.config.url = m.url);
7006
7044
  }
7007
- return n._bindEvents(), n._registerPresets(), n._registerPlugins(), oe.onPluginsReady(y(n)), n.getInitDefinition(), n.setState(q.READY), h.setTimeout(y(n), function() {
7045
+ return n._bindEvents(), n._registerPresets(), n._registerPlugins(), le.onPluginsReady(y(n)), n.getInitDefinition(), n.setState(q.READY), h.setTimeout(y(n), function() {
7008
7046
  n.emit(ga);
7009
7047
  }, 0), (e = (i = n).onReady) === null || e === void 0 || e.call(i), (n.config.videoInit || n.config.autoplay) && (!n.hasStart || n.state < q.ATTACHED) && n.start(), n;
7010
7048
  }
@@ -7023,9 +7061,9 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7023
7061
  msg: "container id can't be empty"
7024
7062
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
7025
7063
  }
7026
- var o = pd(this.root);
7027
- if (o && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(Ke, this.playerId), this.media.setAttribute(Ke, this.playerId), (e = qe) === null || e === void 0 || e.add(this), oe.init(this), this._initBaseDoms(), this.config.controls) {
7028
- var l = this.config.controls.root || null, u = oe.register(this, hd, {
7064
+ var o = yd(this.root);
7065
+ if (o && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(Ke, this.playerId), this.media.setAttribute(Ke, this.playerId), (e = Ge) === null || e === void 0 || e.add(this), le.init(this), this._initBaseDoms(), this.config.controls) {
7066
+ var l = this.config.controls.root || null, u = le.register(this, gd, {
7029
7067
  root: l
7030
7068
  });
7031
7069
  this.controls = u;
@@ -7065,9 +7103,9 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7065
7103
  e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
7066
7104
  }), jo.forEach(function(i) {
7067
7105
  document && document.addEventListener(i, e.onFullscreenChange);
7068
- }), U.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(Be, this.resize), this.playFunc = function() {
7106
+ }), U.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(Ue, this.resize), this.playFunc = function() {
7069
7107
  e.config.closeFocusVideoFocus || e.media.focus();
7070
- }, this.once(be, this.playFunc);
7108
+ }, this.once(Ce, this.playFunc);
7071
7109
  }
7072
7110
  }, {
7073
7111
  key: "_unbindEvents",
@@ -7075,7 +7113,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7075
7113
  var e = this;
7076
7114
  this.root.removeEventListener("mousemove", this.mousemoveFunc), jo.forEach(function(i) {
7077
7115
  document.removeEventListener(i, e.onFullscreenChange);
7078
- }), this.playFunc && this.off(be, this.playFunc), this.off(Fe, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
7116
+ }), this.playFunc && this.off(Ce, this.playFunc), this.off(Be, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
7079
7117
  }
7080
7118
  }, {
7081
7119
  key: "_clearUserTimer",
@@ -7093,7 +7131,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7093
7131
  var l = this.media.readyState;
7094
7132
  V.logInfo("_startInit readyState", l), this.config.autoplay && (!h.isMSE(this.media) && this.load(), (U.os.isIpad || U.os.isPhone) && this.mediaPlay());
7095
7133
  var u = this.config.startTime;
7096
- this.__startTime = u > 0 ? u : -1, this.config.startTime = 0, l >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(Fe, this.canPlayFunc), (!this.hasStart || this.state < q.ATTACHED) && oe.afterInit(this), this.hasStart = !0, this.setState(q.ATTACHED), h.setTimeout(this, function() {
7134
+ this.__startTime = u > 0 ? u : -1, this.config.startTime = 0, l >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(Be, this.canPlayFunc), (!this.hasStart || this.state < q.ATTACHED) && le.afterInit(this), this.hasStart = !0, this.setState(q.ATTACHED), h.setTimeout(this, function() {
7097
7135
  i.emit(ki);
7098
7136
  }, 0);
7099
7137
  }
@@ -7114,7 +7152,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7114
7152
  if (!i && c[d.toLowerCase()])
7115
7153
  return;
7116
7154
  if (f.lazy && f.loader) {
7117
- var g = oe.lazyRegister(e, f);
7155
+ var g = le.lazyRegister(e, f);
7118
7156
  f.forceBeforeInit && (g.then(function() {
7119
7157
  e._loadingPlugins.splice(e._loadingPlugins.indexOf(g), 1);
7120
7158
  }).catch(function(v) {
@@ -7133,7 +7171,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7133
7171
  value: function() {
7134
7172
  var e = this;
7135
7173
  this.config.presets.forEach(function(i) {
7136
- fd(e, i);
7174
+ dd(e, i);
7137
7175
  });
7138
7176
  }
7139
7177
  }, {
@@ -7141,13 +7179,13 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7141
7179
  value: function(e) {
7142
7180
  var i = null;
7143
7181
  switch (e) {
7144
- case J.ROOT_RIGHT:
7182
+ case Q.ROOT_RIGHT:
7145
7183
  this.rightBar || (this.rightBar = h.createPositionBar("xg-right-bar", this.root)), i = this.rightBar;
7146
7184
  break;
7147
- case J.ROOT_LEFT:
7185
+ case Q.ROOT_LEFT:
7148
7186
  this.leftBar || (this.leftBar = h.createPositionBar("xg-left-bar", this.root)), i = this.leftBar;
7149
7187
  break;
7150
- case J.ROOT_TOP:
7188
+ case Q.ROOT_TOP:
7151
7189
  this.topBar || (this.topBar = h.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && h.addClass(this.topBar, w.TOP_BAR_AUTOHIDE)), i = this.topBar;
7152
7190
  break;
7153
7191
  default:
@@ -7159,21 +7197,21 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7159
7197
  }, {
7160
7198
  key: "registerPlugin",
7161
7199
  value: function(e, i) {
7162
- var n = oe.formatPluginInfo(e, i), o = n.PLUFGIN, l = n.options, u = this.config.plugins, c = oe.checkPluginIfExits(o.pluginName, u);
7200
+ var n = le.formatPluginInfo(e, i), o = n.PLUFGIN, l = n.options, u = this.config.plugins, c = le.checkPluginIfExits(o.pluginName, u);
7163
7201
  !c && u.push(o);
7164
- var f = oe.getRootByConfig(o.pluginName, this.config);
7202
+ var f = le.getRootByConfig(o.pluginName, this.config);
7165
7203
  f.root && (l.root = f.root), f.position && (l.position = f.position);
7166
7204
  var d = l.position ? l.position : l.config && l.config.position || o.defaultConfig && o.defaultConfig.position;
7167
7205
  if (!l.root && typeof d == "string" && d.indexOf("controls") > -1) {
7168
7206
  var g;
7169
7207
  return (g = this.controls) === null || g === void 0 ? void 0 : g.registerPlugin(o, l, o.pluginName);
7170
7208
  }
7171
- return l.root || (l.root = this._getRootByPosition(d)), oe.register(this, o, l);
7209
+ return l.root || (l.root = this._getRootByPosition(d)), le.register(this, o, l);
7172
7210
  }
7173
7211
  }, {
7174
7212
  key: "deregister",
7175
7213
  value: function(e) {
7176
- typeof e == "string" ? oe.unRegister(this, e) : e instanceof Xe && oe.unRegister(this, e.pluginName);
7214
+ typeof e == "string" ? le.unRegister(this, e) : e instanceof Xe && le.unRegister(this, e.pluginName);
7177
7215
  }
7178
7216
  }, {
7179
7217
  key: "unRegisterPlugin",
@@ -7197,12 +7235,12 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7197
7235
  }, {
7198
7236
  key: "plugins",
7199
7237
  get: function() {
7200
- return oe.getPlugins(this);
7238
+ return le.getPlugins(this);
7201
7239
  }
7202
7240
  }, {
7203
7241
  key: "getPlugin",
7204
7242
  value: function(e) {
7205
- var i = oe.findPlugin(this, e);
7243
+ var i = le.findPlugin(this, e);
7206
7244
  return i && i.pluginName ? i : null;
7207
7245
  }
7208
7246
  }, {
@@ -7237,7 +7275,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7237
7275
  var i = this;
7238
7276
  if (!(this.state > q.ATTACHING)) {
7239
7277
  var n = this._playSessionId;
7240
- return h.isNotNull(n) && (this._playSessionId = void 0), !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(q.ATTACHING), this._registerPlugins(!1), oe.beforeInit(this).then(function() {
7278
+ return h.isNotNull(n) && (this._playSessionId = void 0), !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(q.ATTACHING), this._registerPlugins(!1), le.beforeInit(this).then(function() {
7241
7279
  if (i.config) {
7242
7280
  e || (e = i.url || i.config.url);
7243
7281
  var o = i.preProcessUrl(e), l = i._startInit(o.url, {
@@ -7315,7 +7353,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7315
7353
  key: "play",
7316
7354
  value: function() {
7317
7355
  var e = this;
7318
- return this.removeClass(w.PAUSED), we(this, "play", function() {
7356
+ return this.removeClass(w.PAUSED), Te(this, "play", function() {
7319
7357
  return e.mediaPlay();
7320
7358
  });
7321
7359
  }
@@ -7323,7 +7361,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7323
7361
  key: "pause",
7324
7362
  value: function() {
7325
7363
  var e = this;
7326
- we(this, "pause", function() {
7364
+ Te(this, "pause", function() {
7327
7365
  B(M(r.prototype), "pause", e).call(e);
7328
7366
  });
7329
7367
  }
@@ -7333,7 +7371,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7333
7371
  var n = this;
7334
7372
  if (!(!this.media || Number.isNaN(Number(e)) || !this.hasStart)) {
7335
7373
  var o = this.config, l = o.isSeekedPlay, u = o.seekedStatus, c = i || (l ? "play" : u);
7336
- e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(Ne, this._onceSeekCanplay), this._onceSeekCanplay = function() {
7374
+ e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(He, this._onceSeekCanplay), this._onceSeekCanplay = function() {
7337
7375
  switch (n.removeClass(w.ENTER), n.isSeeking = !1, c) {
7338
7376
  case "play":
7339
7377
  n.play();
@@ -7345,7 +7383,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7345
7383
  n._isPauseBeforeSeek > 1 || n.paused ? n.pause() : n.play();
7346
7384
  }
7347
7385
  n._isPauseBeforeSeek = 0, n._onceSeekCanplay = null;
7348
- }, this.once(Ne, this._onceSeekCanplay), this.state < q.RUNNING ? (this.removeClass(w.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
7386
+ }, this.once(He, this._onceSeekCanplay), this.state < q.RUNNING ? (this.removeClass(w.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
7349
7387
  }
7350
7388
  }
7351
7389
  }, {
@@ -7373,11 +7411,11 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7373
7411
  seamless: o.seamless !== !1 && typeof MediaSource < "u" && typeof MediaSource.isTypeSupported == "function"
7374
7412
  }, e));
7375
7413
  l && l.then ? l.then(function() {
7376
- n.emit($r, {
7414
+ n.emit(Kr, {
7377
7415
  from: i,
7378
7416
  to: e
7379
7417
  });
7380
- }) : this.emit($r, {
7418
+ }) : this.emit(Kr, {
7381
7419
  from: i,
7382
7420
  to: e
7383
7421
  });
@@ -7387,7 +7425,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7387
7425
  value: function() {
7388
7426
  this.load(), this.reloadFunc = function() {
7389
7427
  this.play();
7390
- }, this.once(Be, this.reloadFunc);
7428
+ }, this.once(Ue, this.reloadFunc);
7391
7429
  }
7392
7430
  }, {
7393
7431
  key: "resetState",
@@ -7417,7 +7455,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7417
7455
  value: function() {
7418
7456
  var e, i = this, n = this.innerContainer, o = this.root, l = this.media;
7419
7457
  if (!(!o || !l)) {
7420
- if (this.hasStart = !1, this._useAutoplay = !1, o.removeAttribute(Ke), l.removeAttribute(Ke), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(pa), (e = qe) === null || e === void 0 || e.remove(this), oe.destroy(this), su(this), B(M(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
7458
+ if (this.hasStart = !1, this._useAutoplay = !1, o.removeAttribute(Ke), l.removeAttribute(Ke), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(pa), (e = Ge) === null || e === void 0 || e.remove(this), le.destroy(this), su(this), B(M(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
7421
7459
  for (var u = n.children, c = 0; c < u.length; c++)
7422
7460
  n.removeChild(u[c]);
7423
7461
  !n && l instanceof window.Node && o.contains(l) && !this.config.remainMediaAfterDestroy && o.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
@@ -7435,8 +7473,8 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7435
7473
  key: "replay",
7436
7474
  value: function() {
7437
7475
  var e = this;
7438
- this.removeClass(w.ENDED), this.currentTime = 0, this.isSeeking = !1, we(this, "replay", function() {
7439
- e.once(Ne, function() {
7476
+ this.removeClass(w.ENDED), this.currentTime = 0, this.isSeeking = !1, Te(this, "replay", function() {
7477
+ e.once(He, function() {
7440
7478
  var i = e.mediaPlay();
7441
7479
  i && i.catch && i.catch(function(n) {
7442
7480
  console.log(n);
@@ -7448,11 +7486,11 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7448
7486
  key: "retry",
7449
7487
  value: function() {
7450
7488
  var e = this;
7451
- this.removeClass(w.ERROR), this.addClass(w.LOADING), we(this, "retry", function() {
7489
+ this.removeClass(w.ERROR), this.addClass(w.LOADING), Te(this, "retry", function() {
7452
7490
  var i = e.currentTime, n = e.config.url, o = h.isMSE(e.media) ? {
7453
7491
  url: n
7454
7492
  } : e.preProcessUrl(n);
7455
- e.src = o.url, !e.config.isLive && (e.currentTime = i), e.once(Fe, function() {
7493
+ e.src = o.url, !e.config.isLive && (e.currentTime = i), e.once(Be, function() {
7456
7494
  e.mediaPlay();
7457
7495
  });
7458
7496
  });
@@ -7526,7 +7564,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7526
7564
  var i = e ? "".concat(w.INNER_FULLSCREEN, " ").concat(w.CSS_FULLSCREEN) : w.CSS_FULLSCREEN;
7527
7565
  this.changeFullStyle(this.root, e, i);
7528
7566
  var n = this.config.fullscreen, o = n === void 0 ? {} : n, l = o.useCssFullscreen === !0 || typeof o.useCssFullscreen == "function" && o.useCssFullscreen();
7529
- l && (this.fullscreen = !0, this.emit(Me, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(ni, !0);
7567
+ l && (this.fullscreen = !0, this.emit(Fe, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(ni, !0);
7530
7568
  }
7531
7569
  }, {
7532
7570
  key: "exitCssFullscreen",
@@ -7536,7 +7574,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7536
7574
  this.recoverFullStyle(this.root, this._cssfullscreenEl, e);
7537
7575
  else {
7538
7576
  var i = this.config.fullscreen, n = i === void 0 ? {} : i, o = n.useCssFullscreen === !0 || typeof n.useCssFullscreen == "function" && n.useCssFullscreen();
7539
- o ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(Me, !1)) : this.removeClass(e);
7577
+ o ? (this.recoverFullStyle(this.root, this._cssfullscreenEl, e), this.fullscreen = !1, this.emit(Fe, !1)) : this.removeClass(e);
7540
7578
  }
7541
7579
  this._cssfullscreenEl = null, this.cssfullscreen = !1, this.emit(ni, !1);
7542
7580
  }
@@ -7548,13 +7586,13 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7548
7586
  var i = e ? "".concat(w.INNER_FULLSCREEN, " ").concat(w.ROTATE_FULLSCREEN) : w.ROTATE_FULLSCREEN;
7549
7587
  this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, w.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style");
7550
7588
  var n = Math.abs(window.orientation) === 90 || Math.abs(screen.orientation.angle) === 90;
7551
- this.root.style.width = n ? "".concat(window.innerWidth, "px") : "".concat(window.innerHeight, "px"), this.emit(Me, !0);
7589
+ this.root.style.width = n ? "".concat(window.innerWidth, "px") : "".concat(window.innerHeight, "px"), this.emit(Fe, !0);
7552
7590
  }
7553
7591
  }, {
7554
7592
  key: "exitRotateFullscreen",
7555
7593
  value: function(e) {
7556
7594
  var i = this._fullscreenEl !== this.root ? "".concat(w.INNER_FULLSCREEN, " ").concat(w.ROTATE_FULLSCREEN) : w.ROTATE_FULLSCREEN;
7557
- this.recoverFullStyle(this.root, this._fullscreenEl, i, w.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(Me, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
7595
+ this.recoverFullStyle(this.root, this._fullscreenEl, i, w.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(Fe, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
7558
7596
  }
7559
7597
  }, {
7560
7598
  key: "setRotateDeg",
@@ -7631,7 +7669,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7631
7669
  key: "onLoadeddata",
7632
7670
  value: function() {
7633
7671
  var e = this;
7634
- this.isError = !1, this.isSeeking = !1, this.__startTime > 0 && (this.duration > 0 ? this._seekToStartTime() : this.once(Ue, function() {
7672
+ this.isError = !1, this.isSeeking = !1, this.__startTime > 0 && (this.duration > 0 ? this._seekToStartTime() : this.once(je, function() {
7635
7673
  e._seekToStartTime();
7636
7674
  }));
7637
7675
  }
@@ -7675,7 +7713,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7675
7713
  value: function() {
7676
7714
  var e = this;
7677
7715
  this.waitTimer && h.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = h.setTimeout(this, function() {
7678
- e.addClass(w.LOADING), e.emit($l), h.clearTimeout(e, e.waitTimer), e.waitTimer = null;
7716
+ e.addClass(w.LOADING), e.emit(Kl), h.clearTimeout(e, e.waitTimer), e.waitTimer = null;
7679
7717
  }, this.config.minWaitDelay);
7680
7718
  }
7681
7719
  }, {
@@ -7795,7 +7833,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7795
7833
  key: "playNext",
7796
7834
  value: function(e) {
7797
7835
  var i = this;
7798
- this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, we(this, "playnext", function() {
7836
+ this.resetState(), this.setConfig(e), this._currentTime = 0, this._duration = 0, Te(this, "playnext", function() {
7799
7837
  i.start(), i.emit(ai, e);
7800
7838
  });
7801
7839
  }
@@ -7923,7 +7961,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
7923
7961
  console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(yt.langKeys.join(), "] "));
7924
7962
  return;
7925
7963
  }
7926
- this.config.lang = e, oe.setLang(e, this);
7964
+ this.config.lang = e, le.setLang(e, this);
7927
7965
  }
7928
7966
  }, {
7929
7967
  key: "i18n",
@@ -8047,7 +8085,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
8047
8085
  value: function() {
8048
8086
  for (var e = arguments.length, i = new Array(e), n = 0; n < e; n++)
8049
8087
  i[n] = arguments[n];
8050
- return we.call.apply(we, [this].concat(Array.prototype.slice.call(arguments)));
8088
+ return Te.call.apply(Te, [this].concat(Array.prototype.slice.call(arguments)));
8051
8089
  }
8052
8090
  }, {
8053
8091
  key: "useHooks",
@@ -8077,7 +8115,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
8077
8115
  key: "setUserActive",
8078
8116
  value: function(e, i) {
8079
8117
  var n;
8080
- typeof i == "boolean" && i !== this.muted && (this.addInnerOP("volumechange"), h.typeOf(i) === Boolean && (this.muted = i)), (n = qe) === null || n === void 0 || n.setActive(this.playerId, e);
8118
+ typeof i == "boolean" && i !== this.muted && (this.addInnerOP("volumechange"), h.typeOf(i) === Boolean && (this.muted = i)), (n = Ge) === null || n === void 0 || n.setActive(this.playerId, e);
8081
8119
  }
8082
8120
  }], [{
8083
8121
  key: "debugger",
@@ -8090,22 +8128,22 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
8090
8128
  }, {
8091
8129
  key: "instManager",
8092
8130
  get: function() {
8093
- return qe;
8131
+ return Ge;
8094
8132
  },
8095
8133
  set: function(e) {
8096
- qe = e;
8134
+ Ge = e;
8097
8135
  }
8098
8136
  }, {
8099
8137
  key: "getCurrentUserActivePlayerId",
8100
8138
  value: function() {
8101
8139
  var e;
8102
- return (e = qe) === null || e === void 0 ? void 0 : e.getActiveId();
8140
+ return (e = Ge) === null || e === void 0 ? void 0 : e.getActiveId();
8103
8141
  }
8104
8142
  }, {
8105
8143
  key: "setCurrentUserActive",
8106
8144
  value: function(e, i) {
8107
8145
  var n;
8108
- (n = qe) === null || n === void 0 || n.setActive(e, i);
8146
+ (n = Ge) === null || n === void 0 || n.setActive(e, i);
8109
8147
  }
8110
8148
  }, {
8111
8149
  key: "isHevcSupported",
@@ -8128,7 +8166,7 @@ var md = ["play", "pause", "replay", "retry"], Qo = 0, el = 0, qe = null, Si = /
8128
8166
  r.plugins || (r.plugins = {}), r.plugins[e] = i;
8129
8167
  }
8130
8168
  }]), r;
8131
- })(Jh);
8169
+ })(ed);
8132
8170
  _(Si, "defaultPreset", null);
8133
8171
  _(Si, "XgVideoProxy", null);
8134
8172
  Si.instManager = lu.getInstance();
@@ -8170,14 +8208,14 @@ var ot = /* @__PURE__ */ (function(a) {
8170
8208
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
8171
8209
  }
8172
8210
  }]), r;
8173
- })($);
8174
- function yd() {
8211
+ })(K);
8212
+ function bd() {
8175
8213
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
8176
8214
  <path fill="#fff" transform="scale(1.3, 1.3)" class='path_full' d="M9,10v1a.9.9,0,0,1-1,1,.9.9,0,0,1-1-1V9A.9.9,0,0,1,8,8h2a.9.9,0,0,1,1,1,.9.9,0,0,1-1,1Zm6,4V13a1,1,0,0,1,2,0v2a.9.9,0,0,1-1,1H14a1,1,0,0,1,0-2Zm3-7H6V17H18Zm2,0V17a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V7A2,2,0,0,1,6,5H18A2,2,0,0,1,20,7Z"></path>
8177
8215
  </svg>
8178
8216
  `, "image/svg+xml").firstChild;
8179
8217
  }
8180
- function _d() {
8218
+ function Cd() {
8181
8219
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
8182
8220
  <path fill="#fff" transform="scale(1.3, 1.3)" d="M9,10V9a.9.9,0,0,1,1-1,.9.9,0,0,1,1,1v2a.9.9,0,0,1-1,1H8a.9.9,0,0,1-1-1,.9.9,0,0,1,1-1Zm6,4v1a1,1,0,0,1-2,0V13a.9.9,0,0,1,1-1h2a1,1,0,0,1,0,2Zm3-7H6V17H18Zm2,0V17a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V7A2,2,0,0,1,6,5H18A2,2,0,0,1,20,7Z"></path>
8183
8221
  </svg>
@@ -8237,11 +8275,11 @@ var Xr = /* @__PURE__ */ (function(a) {
8237
8275
  value: function() {
8238
8276
  return {
8239
8277
  cssFullscreen: {
8240
- icon: yd,
8278
+ icon: bd,
8241
8279
  class: "xg-get-cssfull"
8242
8280
  },
8243
8281
  exitCssFullscreen: {
8244
- icon: _d,
8282
+ icon: Cd,
8245
8283
  class: "xg-exit-cssfull"
8246
8284
  }
8247
8285
  };
@@ -8270,7 +8308,7 @@ var Xr = /* @__PURE__ */ (function(a) {
8270
8308
  key: "defaultConfig",
8271
8309
  get: function() {
8272
8310
  return {
8273
- position: J.CONTROLS_RIGHT,
8311
+ position: Q.CONTROLS_RIGHT,
8274
8312
  index: 1,
8275
8313
  disable: !1,
8276
8314
  target: null
@@ -8278,14 +8316,14 @@ var Xr = /* @__PURE__ */ (function(a) {
8278
8316
  }
8279
8317
  }]), r;
8280
8318
  })(ot);
8281
- function bd() {
8319
+ function kd() {
8282
8320
  return new DOMParser().parseFromString(`<svg width="32px" height="40px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
8283
8321
  <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8284
8322
  <path d="M11.2374369,14 L17.6187184,7.61871843 C17.9604272,7.27700968 17.9604272,6.72299032 17.6187184,6.38128157 C17.2770097,6.03957281 16.7229903,6.03957281 16.3812816,6.38128157 L9.38128157,13.3812816 C9.03957281,13.7229903 9.03957281,14.2770097 9.38128157,14.6187184 L16.3812816,21.6187184 C16.7229903,21.9604272 17.2770097,21.9604272 17.6187184,21.6187184 C17.9604272,21.2770097 17.9604272,20.7229903 17.6187184,20.3812816 L11.2374369,14 L11.2374369,14 Z" fill="#FFFFFF"></path>
8285
8323
  </g>
8286
8324
  </svg>`, "image/svg+xml").firstChild;
8287
8325
  }
8288
- var Cd = /* @__PURE__ */ (function(a) {
8326
+ var wd = /* @__PURE__ */ (function(a) {
8289
8327
  D(r, a);
8290
8328
  var s = O(r);
8291
8329
  function r() {
@@ -8304,7 +8342,7 @@ var Cd = /* @__PURE__ */ (function(a) {
8304
8342
  value: function() {
8305
8343
  return {
8306
8344
  screenBack: {
8307
- icon: bd,
8345
+ icon: kd,
8308
8346
  class: "xg-fullscreen-back"
8309
8347
  }
8310
8348
  };
@@ -8340,19 +8378,19 @@ var Cd = /* @__PURE__ */ (function(a) {
8340
8378
  key: "defaultConfig",
8341
8379
  get: function() {
8342
8380
  return {
8343
- position: J.ROOT_TOP,
8381
+ position: Q.ROOT_TOP,
8344
8382
  index: 0
8345
8383
  };
8346
8384
  }
8347
8385
  }]), r;
8348
- })($);
8349
- function kd() {
8386
+ })(K);
8387
+ function Td() {
8350
8388
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
8351
8389
  <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>
8352
8390
  </svg>
8353
8391
  `, "image/svg+xml").firstChild;
8354
8392
  }
8355
- function wd() {
8393
+ function Sd() {
8356
8394
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
8357
8395
  <path fill="#fff" transform="scale(0.0320625 0.0320625)" d="M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z"></path>
8358
8396
  </svg>
@@ -8389,11 +8427,11 @@ var uu = /* @__PURE__ */ (function(a) {
8389
8427
  to: !c
8390
8428
  });
8391
8429
  }
8392
- }), this.bind(".xgplayer-fullscreen", ["touchend", "click"], this.handleFullscreen), this.on(Me, function(l) {
8430
+ }), this.bind(".xgplayer-fullscreen", ["touchend", "click"], this.handleFullscreen), this.on(Fe, function(l) {
8393
8431
  var u = e.find(".xg-tips");
8394
8432
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
8395
8433
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
8396
- plugin: Cd,
8434
+ plugin: wd,
8397
8435
  options: {
8398
8436
  config: {
8399
8437
  onClick: function(u) {
@@ -8409,11 +8447,11 @@ var uu = /* @__PURE__ */ (function(a) {
8409
8447
  value: function() {
8410
8448
  return {
8411
8449
  fullscreen: {
8412
- icon: kd,
8450
+ icon: Td,
8413
8451
  class: "xg-get-fullscreen"
8414
8452
  },
8415
8453
  exitFullscreen: {
8416
- icon: wd,
8454
+ icon: Sd,
8417
8455
  class: "xg-exit-fullscreen"
8418
8456
  }
8419
8457
  };
@@ -8481,7 +8519,7 @@ var uu = /* @__PURE__ */ (function(a) {
8481
8519
  key: "defaultConfig",
8482
8520
  get: function() {
8483
8521
  return {
8484
- position: J.CONTROLS_RIGHT,
8522
+ position: Q.CONTROLS_RIGHT,
8485
8523
  index: 0,
8486
8524
  useCssFullscreen: !1,
8487
8525
  rotateFullscreen: !1,
@@ -8536,7 +8574,7 @@ var cu = /* @__PURE__ */ (function(a) {
8536
8574
  key: "listenEvents",
8537
8575
  value: function() {
8538
8576
  var e = this, i = this.player;
8539
- this.on([be, bt, Nt, st], function() {
8577
+ this.on([Ce, bt, Nt, st], function() {
8540
8578
  e.animate(i.paused);
8541
8579
  });
8542
8580
  }
@@ -8592,13 +8630,13 @@ var cu = /* @__PURE__ */ (function(a) {
8592
8630
  key: "defaultConfig",
8593
8631
  get: function() {
8594
8632
  return {
8595
- position: J.CONTROLS_LEFT,
8633
+ position: Q.CONTROLS_LEFT,
8596
8634
  index: 0,
8597
8635
  disable: !1
8598
8636
  };
8599
8637
  }
8600
8638
  }]), r;
8601
- })(ot), Td = [{
8639
+ })(ot), Ed = [{
8602
8640
  tag: "xg-cache",
8603
8641
  className: "xgplayer-progress-cache",
8604
8642
  styleKey: "cachedColor"
@@ -8606,7 +8644,7 @@ var cu = /* @__PURE__ */ (function(a) {
8606
8644
  tag: "xg-played",
8607
8645
  className: "xgplayer-progress-played",
8608
8646
  styleKey: "playedColor"
8609
- }], Sd = /* @__PURE__ */ (function() {
8647
+ }], xd = /* @__PURE__ */ (function() {
8610
8648
  function a(s) {
8611
8649
  P(this, a), this.fragments = s.fragments || [], this.fragments.length === 0 && this.fragments.push({
8612
8650
  percent: 1
@@ -8793,7 +8831,7 @@ var cu = /* @__PURE__ */ (function(a) {
8793
8831
  var l = h.createDom("xg-inner", "", {
8794
8832
  style: t ? "background:".concat(t, "; flex: ").concat(o.percent) : "flex: ".concat(o.percent)
8795
8833
  }, "".concat(o.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
8796
- return r.root.appendChild(l), Td.forEach(function(u) {
8834
+ return r.root.appendChild(l), Ed.forEach(function(u) {
8797
8835
  l.appendChild(h.createDom(u.tag, "", {
8798
8836
  style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
8799
8837
  }, u.className));
@@ -8941,7 +8979,7 @@ var cu = /* @__PURE__ */ (function(a) {
8941
8979
  e.emitUserAction("fragment_focus", "fragment_focus", u);
8942
8980
  }
8943
8981
  });
8944
- this.innerList ? this.innerList.reset(o) : (this.innerList = new Sd(o), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
8982
+ this.innerList ? this.innerList.reset(o) : (this.innerList = new xd(o), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
8945
8983
  e[l] = e.innerList[l].bind(e.innerList);
8946
8984
  }));
8947
8985
  }
@@ -8975,11 +9013,11 @@ var cu = /* @__PURE__ */ (function(a) {
8975
9013
  key: "listenEvents",
8976
9014
  value: function() {
8977
9015
  var e = this;
8978
- this.on(Ue, function() {
9016
+ this.on(je, function() {
8979
9017
  e.onMouseLeave();
8980
9018
  }), this.on(_e, function() {
8981
9019
  e.onTimeupdate();
8982
- }), this.on(Ne, function() {
9020
+ }), this.on(He, function() {
8983
9021
  e.onTimeupdate(), e.onCacheUpdate();
8984
9022
  }), this.on(Vl, function() {
8985
9023
  e.onCacheUpdate();
@@ -9199,7 +9237,7 @@ var cu = /* @__PURE__ */ (function(a) {
9199
9237
  key: "defaultConfig",
9200
9238
  get: function() {
9201
9239
  return {
9202
- position: J.CONTROLS_CENTER,
9240
+ position: Q.CONTROLS_CENTER,
9203
9241
  index: 0,
9204
9242
  disable: !1,
9205
9243
  isDraggingSeek: !0,
@@ -9227,7 +9265,7 @@ var cu = /* @__PURE__ */ (function(a) {
9227
9265
  return tl;
9228
9266
  }
9229
9267
  }]), r;
9230
- })($), hu = /* @__PURE__ */ (function(a) {
9268
+ })(K), hu = /* @__PURE__ */ (function(a) {
9231
9269
  D(r, a);
9232
9270
  var s = O(r);
9233
9271
  function r(t) {
@@ -9261,7 +9299,7 @@ var cu = /* @__PURE__ */ (function(a) {
9261
9299
  key: "listenEvents",
9262
9300
  value: function() {
9263
9301
  var e = this;
9264
- this.on([Ue, Ne, _e], function(i) {
9302
+ this.on([je, He, _e], function(i) {
9265
9303
  i.eventName === "durationchange" && (e.isActiving = !1), e.onTimeUpdate();
9266
9304
  }), this.on(at, function() {
9267
9305
  e.onTimeUpdate(!0);
@@ -9349,7 +9387,7 @@ var cu = /* @__PURE__ */ (function(a) {
9349
9387
  var e = this, i = this.player, n = function() {
9350
9388
  e.isActiving = !1;
9351
9389
  };
9352
- this.off(Ne, n), i.isSeeking && i.media.seeking ? this.once(Ne, n) : this.isActiving = !1;
9390
+ this.off(He, n), i.isSeeking && i.media.seeking ? this.once(He, n) : this.isActiving = !1;
9353
9391
  }
9354
9392
  }, {
9355
9393
  key: "destroy",
@@ -9377,28 +9415,28 @@ var cu = /* @__PURE__ */ (function(a) {
9377
9415
  key: "defaultConfig",
9378
9416
  get: function() {
9379
9417
  return {
9380
- position: J.CONTROLS_LEFT,
9418
+ position: Q.CONTROLS_LEFT,
9381
9419
  index: 2,
9382
9420
  disable: !1
9383
9421
  };
9384
9422
  }
9385
9423
  }]), r;
9386
- })($);
9387
- function Ed() {
9424
+ })(K);
9425
+ function Id() {
9388
9426
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9389
9427
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9390
9428
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M940.632 837.632l-72.192-72.192c65.114-64.745 105.412-154.386 105.412-253.44s-40.299-188.695-105.396-253.424l-0.016-0.016 72.192-72.192c83.639 83.197 135.401 198.37 135.401 325.632s-51.762 242.434-135.381 325.612l-0.020 0.020zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>
9391
9429
  </svg>
9392
9430
  `, "image/svg+xml").firstChild;
9393
9431
  }
9394
- function xd() {
9432
+ function Pd() {
9395
9433
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9396
9434
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9397
9435
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021zM795.648 693.248l-72.704-72.704c27.756-27.789 44.921-66.162 44.921-108.544s-17.165-80.755-44.922-108.546l0.002 0.002 72.704-72.704c46.713 46.235 75.639 110.363 75.639 181.248s-28.926 135.013-75.617 181.227l-0.021 0.021z"></path>
9398
9436
  </svg>
9399
9437
  `, "image/svg+xml").firstChild;
9400
9438
  }
9401
- function Id() {
9439
+ function Ad() {
9402
9440
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9403
9441
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9404
9442
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M920.4 439.808l-108.544-109.056-72.704 72.704 109.568 108.544-109.056 108.544 72.704 72.704 108.032-109.568 108.544 109.056 72.704-72.704-109.568-108.032 109.056-108.544-72.704-72.704-108.032 109.568z"></path>
@@ -9453,15 +9491,15 @@ var du = /* @__PURE__ */ (function(a) {
9453
9491
  value: function() {
9454
9492
  return {
9455
9493
  volumeSmall: {
9456
- icon: xd,
9494
+ icon: Pd,
9457
9495
  class: "xg-volume-small"
9458
9496
  },
9459
9497
  volumeLarge: {
9460
- icon: Ed,
9498
+ icon: Id,
9461
9499
  class: "xg-volume"
9462
9500
  },
9463
9501
  volumeMuted: {
9464
- icon: Id,
9502
+ icon: Ad,
9465
9503
  class: "xg-volume-mute"
9466
9504
  }
9467
9505
  };
@@ -9483,7 +9521,7 @@ var du = /* @__PURE__ */ (function(a) {
9483
9521
  pre: function(u) {
9484
9522
  u.preventDefault(), u.stopPropagation();
9485
9523
  }
9486
- }), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), U.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(jl, this.onVolumeChange), this.once(Be, this.onVolumeChange), h.typeOf(o) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
9524
+ }), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), U.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(jl, this.onVolumeChange), this.once(Ue, this.onVolumeChange), h.typeOf(o) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
9487
9525
  }
9488
9526
  }
9489
9527
  }, {
@@ -9590,7 +9628,7 @@ var du = /* @__PURE__ */ (function(a) {
9590
9628
  key: "defaultConfig",
9591
9629
  get: function() {
9592
9630
  return {
9593
- position: J.CONTROLS_RIGHT,
9631
+ position: Q.CONTROLS_RIGHT,
9594
9632
  index: 1,
9595
9633
  disable: !1,
9596
9634
  showValueLabel: !1,
@@ -9599,11 +9637,11 @@ var du = /* @__PURE__ */ (function(a) {
9599
9637
  };
9600
9638
  }
9601
9639
  }]), r;
9602
- })($);
9640
+ })(K);
9603
9641
  function fe() {
9604
9642
  return (/* @__PURE__ */ new Date()).getTime();
9605
9643
  }
9606
- var Ge = {
9644
+ var We = {
9607
9645
  LOAD_START: "loadstart",
9608
9646
  LOADED_DATA: "loadeddata",
9609
9647
  FIRST_FRAME: "firstFrame",
@@ -9611,7 +9649,7 @@ var Ge = {
9611
9649
  WAIT_END: "waitingEnd",
9612
9650
  SEEK_START: "seekStart",
9613
9651
  SEEK_END: "seekEnd"
9614
- }, Pd = /* @__PURE__ */ (function(a) {
9652
+ }, Ld = /* @__PURE__ */ (function(a) {
9615
9653
  D(r, a);
9616
9654
  var s = O(r);
9617
9655
  function r() {
@@ -9632,13 +9670,13 @@ var Ge = {
9632
9670
  isLs: !1
9633
9671
  }, t.vt = 0, t.pt = 0, t.fvt = 0, t.newPointTime = fe(), t.loadedCostTime = 0, t.startCostTime = 0, t._isSeeking = !1, t.seekingStart = 0, t.waitingStart = 0, t.fixedWaitingStart = 0, t._isWaiting = !1, t._waitTimer && h.clearTimeout(y(t), t._waitTimer), t._waittTimer && h.clearTimeout(y(t), t._waittTimer), t._waitTimer = null, t._waittTimer = null, t._waitType = 0;
9634
9672
  }), _(y(t), "_onSeeking", function() {
9635
- t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = fe(), t.emitLog(Ge.SEEK_START, {
9673
+ t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = fe(), t.emitLog(We.SEEK_START, {
9636
9674
  start: fe()
9637
9675
  }));
9638
9676
  }), _(y(t), "_onSeeked", function() {
9639
9677
  t.suspendSeekingStatus("seeked");
9640
9678
  }), _(y(t), "_onWaitingLoadStart", function() {
9641
- t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = fe(), t.fixedWaitingStart = fe(), t._waitType = 1, t.emitLog(Ge.WAIT_START, {
9679
+ t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = fe(), t.fixedWaitingStart = fe(), t._waitType = 1, t.emitLog(We.WAIT_START, {
9642
9680
  fixedStart: t.fixedWaitingStart,
9643
9681
  start: t.waitingStart,
9644
9682
  type: 1,
@@ -9646,7 +9684,7 @@ var Ge = {
9646
9684
  }));
9647
9685
  }), _(y(t), "_onWaiting", function() {
9648
9686
  t._isWaiting || !t.vt || (t._isWaiting = !0, t.vt ? t.seekingStart ? t._waitType = 2 : t._waitType = 0 : t._waitType = 1, t.fixedWaitingStart = fe(), t._waitTimer = h.setTimeout(y(t), function() {
9649
- t._isWaiting && (t.waitingStart = fe(), h.clearTimeout(y(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(Ge.WAIT_START, {
9687
+ t._isWaiting && (t.waitingStart = fe(), h.clearTimeout(y(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(We.WAIT_START, {
9650
9688
  fixedStart: t.fixedWaitingStart,
9651
9689
  start: t.waitingStart,
9652
9690
  type: t._waitType,
@@ -9665,16 +9703,16 @@ var Ge = {
9665
9703
  var e = this;
9666
9704
  this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = fe(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(ha, function() {
9667
9705
  var i = e._state, n = i.autoplayStart, o = i.isFFSend;
9668
- e.startCostTime = fe() - e.newPointTime, V.logInfo("[xgLogger]".concat(e.player.playerId, " LOAD_START"), "autoplayStart:".concat(n, " isFFSend:").concat(o, " startCostTime:").concat(e.startCostTime, " newPointTime").concat(e.newPointTime)), !o && (!i.isLs && e.emitLog(Ge.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = fe(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
9669
- }), this.on(Be, function() {
9706
+ e.startCostTime = fe() - e.newPointTime, V.logInfo("[xgLogger]".concat(e.player.playerId, " LOAD_START"), "autoplayStart:".concat(n, " isFFSend:").concat(o, " startCostTime:").concat(e.startCostTime, " newPointTime").concat(e.newPointTime)), !o && (!i.isLs && e.emitLog(We.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = fe(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
9707
+ }), this.on(Ue, function() {
9670
9708
  e.vt = fe(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
9671
9709
  var i = e._state, n = i.isTimeUpdate, o = i.isFFSend, l = i.autoplayStart;
9672
- 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"), o || e.emitLog(Ge.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
9673
- }), this.on(Ci, this._onSeeking), this.on(Ne, this._onSeeked), this.on(pa, function() {
9710
+ 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"), o || e.emitLog(We.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
9711
+ }), this.on(Ci, this._onSeeking), this.on(He, this._onSeeked), this.on(pa, function() {
9674
9712
  e.endState("destroy");
9675
9713
  }), this.on(wi, function() {
9676
9714
  e.endState("urlChange"), V.logInfo("[xgLogger]".concat(e.player.playerId, " URL_CHANGE")), e._state.isFFSend && e._onReset();
9677
- }), this.on([bi, Fe], this._onPlaying), this.on(Bt, this._onWaiting), this.on(Nt, this._onError), this.on(Ti, function() {
9715
+ }), this.on([bi, Be], this._onPlaying), this.on(Bt, this._onWaiting), this.on(Nt, this._onError), this.on(Ti, function() {
9678
9716
  V.logInfo("[xgLogger]".concat(e.player.playerId, " RESET")), e.endState("reset"), e._initOnceEvents(), e._onReset();
9679
9717
  });
9680
9718
  }
@@ -9688,7 +9726,7 @@ var Ge = {
9688
9726
  value: function(e) {
9689
9727
  this.s = fe();
9690
9728
  var i = this._state, n = i.isFFLoading, o = i.isFFSend;
9691
- V.logInfo("[xgLogger]".concat(this.player.playerId, " _sendFF"), "".concat(e, " fvt:").concat(this.fvt, " isFFLoading:").concat(n, " !isFFSend:").concat(!o)), this.vt > 0 && n && !o && (V.logInfo("[xgLogger]".concat(this.player.playerId, " emitLog_firstFrame"), e), this._state.isFFLoading = !1, this._state.isFFSend = !0, this.emitLog(Ge.FIRST_FRAME, {
9729
+ V.logInfo("[xgLogger]".concat(this.player.playerId, " _sendFF"), "".concat(e, " fvt:").concat(this.fvt, " isFFLoading:").concat(n, " !isFFSend:").concat(!o)), this.vt > 0 && n && !o && (V.logInfo("[xgLogger]".concat(this.player.playerId, " emitLog_firstFrame"), e), this._state.isFFLoading = !1, this._state.isFFSend = !0, this.emitLog(We.FIRST_FRAME, {
9692
9730
  fvt: this.fvt,
9693
9731
  costTime: this.fvt,
9694
9732
  vt: this.vt,
@@ -9714,7 +9752,7 @@ var Ge = {
9714
9752
  value: function(e) {
9715
9753
  if (this.seekingStart) {
9716
9754
  var i = fe(), n = i - this.seekingStart;
9717
- this.seekingStart = 0, this.emitLog(Ge.SEEK_END, {
9755
+ this.seekingStart = 0, this.emitLog(We.SEEK_END, {
9718
9756
  end: i,
9719
9757
  costTime: n,
9720
9758
  endType: e
@@ -9726,7 +9764,7 @@ var Ge = {
9726
9764
  value: function(e) {
9727
9765
  if (this._waitTimer && (h.clearTimeout(this, this._waitTimer), this._waitTimer = null), this._waittTimer && (h.clearTimeout(this, this._waittTimer), this._waittTimer = null), this._isWaiting = !1, !!this.waitingStart) {
9728
9766
  var i = fe(), n = i - this.waitingStart, o = i - this.fixedWaitingStart, l = this.config.waitTimeout;
9729
- this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(Ge.WAIT_END, {
9767
+ this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(We.WAIT_END, {
9730
9768
  fixedCostTime: o > l ? l : o,
9731
9769
  costTime: n > l ? l : n,
9732
9770
  type: e === "loadeddata" ? 1 : this._waitType,
@@ -9761,14 +9799,14 @@ var Ge = {
9761
9799
  };
9762
9800
  }
9763
9801
  }]), r;
9764
- })($);
9765
- function Ad() {
9802
+ })(K);
9803
+ function Rd() {
9766
9804
  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">
9767
9805
  <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>
9768
9806
  </svg>
9769
9807
  `, "image/svg+xml").firstChild;
9770
9808
  }
9771
- var Ld = /* @__PURE__ */ (function(a) {
9809
+ var Dd = /* @__PURE__ */ (function(a) {
9772
9810
  D(r, a);
9773
9811
  var s = O(r);
9774
9812
  function r() {
@@ -9778,14 +9816,14 @@ var Ld = /* @__PURE__ */ (function(a) {
9778
9816
  key: "registerIcons",
9779
9817
  value: function() {
9780
9818
  return {
9781
- replay: Ad
9819
+ replay: Rd
9782
9820
  };
9783
9821
  }
9784
9822
  }, {
9785
9823
  key: "afterCreate",
9786
9824
  value: function() {
9787
9825
  var e = this;
9788
- $.insert(this.icons.replay, this.root, 0), this.__handleReplay = this.hook("replayClick", function() {
9826
+ K.insert(this.icons.replay, this.root, 0), this.__handleReplay = this.hook("replayClick", function() {
9789
9827
  e.player.replay();
9790
9828
  }, {
9791
9829
  pre: function(n) {
@@ -9802,7 +9840,7 @@ var Ld = /* @__PURE__ */ (function(a) {
9802
9840
  i.setAttribute("transform", n);
9803
9841
  }
9804
9842
  }
9805
- }), this.on(be, function() {
9843
+ }), this.on(Ce, function() {
9806
9844
  e.hide();
9807
9845
  });
9808
9846
  }
@@ -9851,7 +9889,7 @@ var Ld = /* @__PURE__ */ (function(a) {
9851
9889
  };
9852
9890
  }
9853
9891
  }]), r;
9854
- })($), Rd = /* @__PURE__ */ (function(a) {
9892
+ })(K), Od = /* @__PURE__ */ (function(a) {
9855
9893
  D(r, a);
9856
9894
  var s = O(r);
9857
9895
  function r() {
@@ -9894,7 +9932,7 @@ var Ld = /* @__PURE__ */ (function(a) {
9894
9932
  e.show(), e.config.useVideoPoster || h.addClass(e.root, "xg-showplay"), e.once(_e, function() {
9895
9933
  e.onTimeUpdate();
9896
9934
  });
9897
- })) : this.on(be, function() {
9935
+ })) : this.on(Ce, function() {
9898
9936
  e.hide();
9899
9937
  });
9900
9938
  }
@@ -9968,8 +10006,8 @@ var Ld = /* @__PURE__ */ (function(a) {
9968
10006
  };
9969
10007
  }
9970
10008
  }]), r;
9971
- })($), Pe = {};
9972
- function Dd(a, s) {
10009
+ })(K), Pe = {};
10010
+ function Md(a, s) {
9973
10011
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
9974
10012
  start: null,
9975
10013
  end: null
@@ -9987,7 +10025,7 @@ function il(a) {
9987
10025
  window.clearTimeout(Pe[s].id), delete Pe[s];
9988
10026
  });
9989
10027
  }
9990
- var Od = /* @__PURE__ */ (function(a) {
10028
+ var Fd = /* @__PURE__ */ (function(a) {
9991
10029
  D(r, a);
9992
10030
  var s = O(r);
9993
10031
  function r(t) {
@@ -10018,7 +10056,7 @@ var Od = /* @__PURE__ */ (function(a) {
10018
10056
  }), this.on(nt, this.onAutoplayStart), this.on(va, function() {
10019
10057
  var o = e.config.mode === "auto" ? "auto-hide" : "hide";
10020
10058
  e.setAttr("data-state", "play"), h.removeClass(e.root, o), e.show();
10021
- }), this.on(be, function() {
10059
+ }), this.on(Ce, function() {
10022
10060
  e.toggleTo("play");
10023
10061
  }), this.on(bt, function() {
10024
10062
  e.toggleTo("pause");
@@ -10091,7 +10129,7 @@ var Od = /* @__PURE__ */ (function(a) {
10091
10129
  key: "animate",
10092
10130
  value: function(e) {
10093
10131
  var i = this;
10094
- this._animateId = Dd("pauseplay", 400, {
10132
+ this._animateId = Md("pauseplay", 400, {
10095
10133
  start: function() {
10096
10134
  h.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
10097
10135
  },
@@ -10179,7 +10217,7 @@ var Od = /* @__PURE__ */ (function(a) {
10179
10217
  };
10180
10218
  }
10181
10219
  }]), r;
10182
- })($), Md = /* @__PURE__ */ (function(a) {
10220
+ })(K), Nd = /* @__PURE__ */ (function(a) {
10183
10221
  D(r, a);
10184
10222
  var s = O(r);
10185
10223
  function r() {
@@ -10214,7 +10252,7 @@ var Od = /* @__PURE__ */ (function(a) {
10214
10252
  };
10215
10253
  }
10216
10254
  }]), r;
10217
- })($), nl = /* @__PURE__ */ (function(a) {
10255
+ })(K), nl = /* @__PURE__ */ (function(a) {
10218
10256
  D(r, a);
10219
10257
  var s = O(r);
10220
10258
  function r() {
@@ -10258,18 +10296,18 @@ var Od = /* @__PURE__ */ (function(a) {
10258
10296
  key: "defaultConfig",
10259
10297
  get: function() {
10260
10298
  return {
10261
- position: J.CONTROLS_RIGHT,
10299
+ position: Q.CONTROLS_RIGHT,
10262
10300
  index: 10
10263
10301
  };
10264
10302
  }
10265
10303
  }]), r;
10266
- })($);
10304
+ })(K);
10267
10305
  function rl(a) {
10268
10306
  var s = parseFloat(a), r = a.indexOf("%") === -1 && !Number.isNaN(s);
10269
10307
  return r && s;
10270
10308
  }
10271
10309
  var Ca = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], gu = Ca.length;
10272
- function Fd() {
10310
+ function Bd() {
10273
10311
  for (var a = {
10274
10312
  width: 0,
10275
10313
  height: 0,
@@ -10283,15 +10321,15 @@ function Fd() {
10283
10321
  }
10284
10322
  return a;
10285
10323
  }
10286
- function Nd(a) {
10324
+ function Hd(a) {
10287
10325
  var s = window.getComputedStyle(a);
10288
10326
  return s;
10289
10327
  }
10290
10328
  function al(a) {
10291
10329
  if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ce(a) !== "object" || !a.nodeType)) {
10292
- var s = Nd(a);
10330
+ var s = Hd(a);
10293
10331
  if (s.display === "none")
10294
- return Fd();
10332
+ return Bd();
10295
10333
  var r = {};
10296
10334
  r.width = a.offsetWidth, r.height = a.offsetHeight;
10297
10335
  for (var t = r.isBorderBox = s.boxSizing === "border-box", e = 0; e < gu; e++) {
@@ -10319,7 +10357,7 @@ var Nr = {
10319
10357
  mousedown: ["mousemove", "mouseup"],
10320
10358
  touchstart: ["touchmove", "touchend", "touchcancel"],
10321
10359
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
10322
- }, Bd = /* @__PURE__ */ (function(a) {
10360
+ }, Ud = /* @__PURE__ */ (function(a) {
10323
10361
  D(r, a);
10324
10362
  var s = O(r);
10325
10363
  function r(t) {
@@ -10529,7 +10567,7 @@ var Nr = {
10529
10567
  return parseInt(e, 10);
10530
10568
  }
10531
10569
  }]), r;
10532
- })(Hl), Hd = /* @__PURE__ */ (function(a) {
10570
+ })(Hl), jd = /* @__PURE__ */ (function(a) {
10533
10571
  D(r, a);
10534
10572
  var s = O(r);
10535
10573
  function r(t) {
@@ -10565,7 +10603,7 @@ var Nr = {
10565
10603
  var e = this;
10566
10604
  this.initIcons(), this.on(bt, function() {
10567
10605
  e.setAttr("data-state", "pause");
10568
- }), this.on(be, function() {
10606
+ }), this.on(Ce, function() {
10569
10607
  e.setAttr("data-state", "play");
10570
10608
  });
10571
10609
  }
@@ -10585,7 +10623,7 @@ var Nr = {
10585
10623
  i.controls.registerPlugin(nl, o, nl.pluginName);
10586
10624
  }
10587
10625
  var l = h.checkTouchSupport() ? "touchend" : "click";
10588
- this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Bd(this.player.root, {
10626
+ this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Ud(this.player.root, {
10589
10627
  handle: this.root
10590
10628
  })), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
10591
10629
  }
@@ -10684,7 +10722,7 @@ var Nr = {
10684
10722
  };
10685
10723
  }
10686
10724
  }]), r;
10687
- })($), Zt = {
10725
+ })(K), Zt = {
10688
10726
  mouseenter: "onMouseEnter",
10689
10727
  mouseleave: "onMouseLeave",
10690
10728
  mousemove: "onMouseMove"
@@ -10713,7 +10751,7 @@ var Nr = {
10713
10751
  var l = y(t), u = l.playerConfig, c = l.player;
10714
10752
  !u.closeFocusVideoFocus && c.media.focus(), u.closeDelayBlur ? c.focus({
10715
10753
  autoHide: !1
10716
- }) : c.focus(), t.emit(Kl);
10754
+ }) : c.focus(), t.emit($l);
10717
10755
  }), _(y(t), "onMouseLeave", function(o) {
10718
10756
  if (t._isMobileTouchActive()) {
10719
10757
  o == null || o.stopImmediatePropagation();
@@ -10729,7 +10767,7 @@ var Nr = {
10729
10767
  }), _(y(t), "onVideoClick", function(o) {
10730
10768
  var l = y(t), u = l.player, c = l.playerConfig;
10731
10769
  o.target && c.closeVideoClick || (o.target === u.root || o.target === u.media || o.target === u.innerContainer || o.target === u.media.__canvas) && (o.preventDefault(), c.closeVideoStopPropagation || o.stopPropagation(), t._clickCount++, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), t.clickTimer = setTimeout(function() {
10732
- t._clickCount && (t._clickCount--, we(y(t), Br[0], function(f, d) {
10770
+ t._clickCount && (t._clickCount--, Te(y(t), Br[0], function(f, d) {
10733
10771
  t.switchPlayPause(d.e);
10734
10772
  }, {
10735
10773
  e: o,
@@ -10743,7 +10781,7 @@ var Nr = {
10743
10781
  t._clickCount = 0;
10744
10782
  return;
10745
10783
  }
10746
- t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), o.preventDefault(), o.stopPropagation(), we(y(t), Br[1], function(f, d) {
10784
+ t._clickCount = 0, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), o.preventDefault(), o.stopPropagation(), Te(y(t), Br[1], function(f, d) {
10747
10785
  t.emitUserAction(d.e, "switch_fullscreen", {
10748
10786
  props: "fullscreen",
10749
10787
  from: u.fullscreen,
@@ -10814,7 +10852,7 @@ var Nr = {
10814
10852
  return {};
10815
10853
  }
10816
10854
  }]), r;
10817
- })(Xe), We = {
10855
+ })(Xe), $e = {
10818
10856
  PRESS: "press",
10819
10857
  PRESS_END: "pressend",
10820
10858
  DOUBlE_CLICK: "doubleclick",
@@ -10822,12 +10860,12 @@ var Nr = {
10822
10860
  TOUCH_MOVE: "touchmove",
10823
10861
  TOUCH_START: "touchstart",
10824
10862
  TOUCH_END: "touchend"
10825
- }, Ud = {
10863
+ }, zd = {
10826
10864
  start: "touchstart",
10827
10865
  end: "touchend",
10828
10866
  move: "touchmove",
10829
10867
  cancel: "touchcancel"
10830
- }, jd = {
10868
+ }, Vd = {
10831
10869
  start: "mousedown",
10832
10870
  end: "mouseup",
10833
10871
  move: "mousemove",
@@ -10836,7 +10874,7 @@ var Nr = {
10836
10874
  function ol(a) {
10837
10875
  return a && a.length > 0 ? a[a.length - 1] : null;
10838
10876
  }
10839
- function zd() {
10877
+ function qd() {
10840
10878
  return {
10841
10879
  pressDelay: 600,
10842
10880
  dbClickDelay: 200,
@@ -10846,30 +10884,30 @@ function zd() {
10846
10884
  needPreventDefault: !0
10847
10885
  };
10848
10886
  }
10849
- var Vd = /* @__PURE__ */ (function() {
10887
+ var Gd = /* @__PURE__ */ (function() {
10850
10888
  function a(s) {
10851
10889
  var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
10852
10890
  eventType: "touch"
10853
10891
  };
10854
10892
  P(this, a), _(this, "onTouchStart", function(e) {
10855
10893
  var i = r._pos, n = r.root, o = ol(e.touches);
10856
- i.x = o ? parseInt(o.pageX, 10) : e.pageX, i.y = o ? parseInt(o.pageX, 10) : e.pageX, i.start = !0, r.__setPress(e), n.addEventListener(r.events.end, r.onTouchEnd), n.addEventListener(r.events.cancel, r.onTouchCancel), n.addEventListener(r.events.move, r.onTouchMove), r.trigger(We.TOUCH_START, e);
10894
+ i.x = o ? parseInt(o.pageX, 10) : e.pageX, i.y = o ? parseInt(o.pageX, 10) : e.pageX, i.start = !0, r.__setPress(e), n.addEventListener(r.events.end, r.onTouchEnd), n.addEventListener(r.events.cancel, r.onTouchCancel), n.addEventListener(r.events.move, r.onTouchMove), r.trigger($e.TOUCH_START, e);
10857
10895
  }), _(this, "onTouchCancel", function(e) {
10858
10896
  r.onTouchEnd(e);
10859
10897
  }), _(this, "onTouchEnd", function(e) {
10860
10898
  var i = r._pos, n = r.root;
10861
- r.__clearPress(), n.removeEventListener(r.events.cancel, r.onTouchCancel), n.removeEventListener(r.events.end, r.onTouchEnd), n.removeEventListener(r.events.move, r.onTouchMove), e.moving = i.moving, e.press = i.press, i.press && r.trigger(We.PRESS_END, e), r.trigger(We.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
10899
+ r.__clearPress(), n.removeEventListener(r.events.cancel, r.onTouchCancel), n.removeEventListener(r.events.end, r.onTouchEnd), n.removeEventListener(r.events.move, r.onTouchMove), e.moving = i.moving, e.press = i.press, i.press && r.trigger($e.PRESS_END, e), r.trigger($e.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
10862
10900
  }), _(this, "onTouchMove", function(e) {
10863
10901
  var i = r._pos, n = r.config, o = ol(e.touches), l = o ? parseInt(o.pageX, 10) : e.pageX, u = o ? parseInt(o.pageY, 10) : e.pageX, c = l - i.x, f = u - i.y;
10864
- Math.abs(f) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(We.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger(We.TOUCH_MOVE, e));
10902
+ Math.abs(f) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger($e.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger($e.TOUCH_MOVE, e));
10865
10903
  }), this._pos = {
10866
10904
  moving: !1,
10867
10905
  start: !1,
10868
10906
  x: 0,
10869
10907
  y: 0
10870
- }, this.config = zd(), Object.keys(t).map(function(e) {
10908
+ }, this.config = qd(), Object.keys(t).map(function(e) {
10871
10909
  r.config[e] = t[e];
10872
- }), this.root = s, this.events = t.eventType === "mouse" ? jd : Ud, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
10910
+ }), this.root = s, this.events = t.eventType === "mouse" ? Vd : zd, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
10873
10911
  }
10874
10912
  return A(a, [{
10875
10913
  key: "_initEvent",
@@ -10881,7 +10919,7 @@ var Vd = /* @__PURE__ */ (function() {
10881
10919
  value: function(r) {
10882
10920
  var t = this, e = this.config;
10883
10921
  this.pressIntrvalId && this.__clearPress(), this.pressIntrvalId = setTimeout(function() {
10884
- t.trigger(We.PRESS, r), t._pos.press = !0, t.__clearPress();
10922
+ t.trigger($e.PRESS, r), t._pos.press = !0, t.__clearPress();
10885
10923
  }, e.pressDelay);
10886
10924
  }
10887
10925
  }, {
@@ -10894,11 +10932,11 @@ var Vd = /* @__PURE__ */ (function() {
10894
10932
  value: function(r) {
10895
10933
  var t = this, e = this.config;
10896
10934
  if (this.dbIntrvalId) {
10897
- this.__clearDb(), this.trigger(We.DOUBlE_CLICK, r);
10935
+ this.__clearDb(), this.trigger($e.DOUBlE_CLICK, r);
10898
10936
  return;
10899
10937
  }
10900
10938
  this.dbIntrvalId = setTimeout(function() {
10901
- t.__clearDb(), !t._pos.start && !t._pos.press && !t._pos.moving && t.trigger(We.CLICK, r);
10939
+ t.__clearDb(), !t._pos.start && !t._pos.press && !t._pos.moving && t.trigger($e.CLICK, r);
10902
10940
  }, e.dbClickDelay);
10903
10941
  }
10904
10942
  }, {
@@ -10948,7 +10986,7 @@ var Vd = /* @__PURE__ */ (function() {
10948
10986
  }
10949
10987
  }]), a;
10950
10988
  })();
10951
- function qd() {
10989
+ function Wd() {
10952
10990
  return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
10953
10991
  xmlns:xlink="http://www.w3.org/1999/xlink">
10954
10992
  <path opacity="0.54"
@@ -10961,7 +10999,7 @@ var ht = {
10961
10999
  AUTO: "auto",
10962
11000
  SEEKING: "seeking",
10963
11001
  PLAYBACK: "playbackrate"
10964
- }, Ur = ["videoClick", "videoDbClick"], Gd = /* @__PURE__ */ (function(a) {
11002
+ }, Ur = ["videoClick", "videoDbClick"], $d = /* @__PURE__ */ (function(a) {
10965
11003
  D(r, a);
10966
11004
  var s = O(r);
10967
11005
  function r(t) {
@@ -11035,7 +11073,7 @@ var ht = {
11035
11073
  value: function() {
11036
11074
  return {
11037
11075
  seekTipIcon: {
11038
- icon: qd,
11076
+ icon: Wd,
11039
11077
  class: "xg-seek-pre"
11040
11078
  }
11041
11079
  };
@@ -11050,17 +11088,17 @@ var ht = {
11050
11088
  var i = this.playerConfig, n = this.config, o = this.player;
11051
11089
  i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), h.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = h.createDom("xg-mask", "", {}, "xgmask"), o.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
11052
11090
  var l = this.domEventType === "mouse" ? "mouse" : "touch";
11053
- this.touch = new Vd(this.root, {
11091
+ this.touch = new Gd(this.root, {
11054
11092
  eventType: l,
11055
11093
  needPreventDefault: !this.config.disableGesture
11056
11094
  }), this.root.addEventListener("contextmenu", function(d) {
11057
11095
  d.preventDefault();
11058
11096
  }), o.root.addEventListener("touchmove", this.onRootTouchMove, !0), o.root.addEventListener("touchend", this.onRootTouchEnd, !0), o.root.addEventListener("touchcancel", this.onRootTouchEnd, !0);
11059
11097
  var u = this.player.controls;
11060
- u && u.center && (u.center.addEventListener("touchmove", this.onRootTouchMove, !0), u.center.addEventListener("touchend", this.onRootTouchEnd, !0), u.center.addEventListener("touchcancel", this.onRootTouchEnd, !0)), this.on(Ue, function() {
11098
+ u && u.center && (u.center.addEventListener("touchmove", this.onRootTouchMove, !0), u.center.addEventListener("touchend", this.onRootTouchEnd, !0), u.center.addEventListener("touchcancel", this.onRootTouchEnd, !0)), this.on(je, function() {
11061
11099
  var d = e.player, g = e.config;
11062
11100
  d.duration > 0 && d.duration * 1e3 < g.moveDuration && (g.moveDuration = d.duration * 1e3);
11063
- }), this.on([Fe, at], function() {
11101
+ }), this.on([Be, at], function() {
11064
11102
  var d = e.pos, g = d.time, v = d.isStart;
11065
11103
  !v && g > 0 && (e.pos.time = 0);
11066
11104
  });
@@ -11227,7 +11265,7 @@ var ht = {
11227
11265
  key: "onClick",
11228
11266
  value: function(e) {
11229
11267
  var i = this, n = this.player;
11230
- we(this, Ur[0], function(o, l) {
11268
+ Te(this, Ur[0], function(o, l) {
11231
11269
  i.clickHandler(l.e);
11232
11270
  }, {
11233
11271
  e,
@@ -11238,7 +11276,7 @@ var ht = {
11238
11276
  key: "onDbClick",
11239
11277
  value: function(e) {
11240
11278
  var i = this, n = this.player;
11241
- we(this, Ur[1], function(o, l) {
11279
+ Te(this, Ur[1], function(o, l) {
11242
11280
  i.dbClickHandler(l.e);
11243
11281
  }, {
11244
11282
  e,
@@ -11394,8 +11432,8 @@ var ht = {
11394
11432
  };
11395
11433
  }
11396
11434
  }]), r;
11397
- })($);
11398
- function Wd(a) {
11435
+ })(K);
11436
+ function Kd(a) {
11399
11437
  a.preventDefault(), a.returnValue = !1;
11400
11438
  }
11401
11439
  function ll(a) {
@@ -11644,7 +11682,7 @@ var ul = /* @__PURE__ */ (function(a) {
11644
11682
  isPress: n
11645
11683
  }, this.keyCodeMap[o[l]]));
11646
11684
  }
11647
- Wd(i), i.stopPropagation();
11685
+ Kd(i), i.stopPropagation();
11648
11686
  break;
11649
11687
  }
11650
11688
  }
@@ -11686,13 +11724,13 @@ var ul = /* @__PURE__ */ (function(a) {
11686
11724
  }
11687
11725
  }]), r;
11688
11726
  })(Xe);
11689
- function Kd() {
11727
+ function Yd() {
11690
11728
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
11691
11729
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
11692
11730
  </svg>
11693
11731
  `, "image/svg+xml").firstChild;
11694
11732
  }
11695
- var $d = /* @__PURE__ */ (function(a) {
11733
+ var Xd = /* @__PURE__ */ (function(a) {
11696
11734
  D(r, a);
11697
11735
  var s = O(r);
11698
11736
  function r() {
@@ -11702,7 +11740,7 @@ var $d = /* @__PURE__ */ (function(a) {
11702
11740
  key: "registerIcons",
11703
11741
  value: function() {
11704
11742
  return {
11705
- loadingIcon: Kd
11743
+ loadingIcon: Yd
11706
11744
  };
11707
11745
  }
11708
11746
  }, {
@@ -11727,11 +11765,11 @@ var $d = /* @__PURE__ */ (function(a) {
11727
11765
  key: "defaultConfig",
11728
11766
  get: function() {
11729
11767
  return {
11730
- position: J.ROOT
11768
+ position: Q.ROOT
11731
11769
  };
11732
11770
  }
11733
11771
  }]), r;
11734
- })($), Yd = /* @__PURE__ */ (function(a) {
11772
+ })(K), Zd = /* @__PURE__ */ (function(a) {
11735
11773
  D(r, a);
11736
11774
  var s = O(r);
11737
11775
  function r() {
@@ -11787,7 +11825,7 @@ var $d = /* @__PURE__ */ (function(a) {
11787
11825
  return A(r, [{
11788
11826
  key: "afterCreate",
11789
11827
  value: function() {
11790
- this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Ue, this._onDurationChange), this.on(Be, this._onLoadedData), this.on(_e, this._onTimeupdate), this.on(Ci, this._onSeeking), this.on(be, this._onPlay);
11828
+ this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(je, this._onDurationChange), this.on(Ue, this._onLoadedData), this.on(_e, this._onTimeupdate), this.on(Ci, this._onSeeking), this.on(Ce, this._onPlay);
11791
11829
  }
11792
11830
  }, {
11793
11831
  key: "setConfig",
@@ -11869,7 +11907,7 @@ var $d = /* @__PURE__ */ (function(a) {
11869
11907
  }
11870
11908
  }]), r;
11871
11909
  })(Xe);
11872
- function Xd() {
11910
+ function Jd() {
11873
11911
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
11874
11912
  <g>
11875
11913
  <path transform="scale(1.5 1.5)" d="M11.6665 9.16663H4.1665C2.78579 9.16663 1.6665 10.2859 1.6665 11.6666V15.8333C1.6665 17.214 2.78579 18.3333 4.1665 18.3333H11.6665C13.0472 18.3333 14.1665 17.214 14.1665 15.8333V11.6666C14.1665 10.2859 13.0472 9.16663 11.6665 9.16663Z" fill="white"/>
@@ -11883,7 +11921,7 @@ function Xd() {
11883
11921
  </svg>
11884
11922
  `, "image/svg+xml").firstChild;
11885
11923
  }
11886
- var Zd = /* @__PURE__ */ (function(a) {
11924
+ var Qd = /* @__PURE__ */ (function(a) {
11887
11925
  D(r, a);
11888
11926
  var s = O(r);
11889
11927
  function r(t) {
@@ -11946,7 +11984,7 @@ var Zd = /* @__PURE__ */ (function(a) {
11946
11984
  key: "registerIcons",
11947
11985
  value: function() {
11948
11986
  return {
11949
- rotate: Xd
11987
+ rotate: Jd
11950
11988
  };
11951
11989
  }
11952
11990
  }, {
@@ -11969,7 +12007,7 @@ var Zd = /* @__PURE__ */ (function(a) {
11969
12007
  key: "defaultConfig",
11970
12008
  get: function() {
11971
12009
  return {
11972
- position: J.CONTROLS_RIGHT,
12010
+ position: Q.CONTROLS_RIGHT,
11973
12011
  index: 6,
11974
12012
  innerRotate: !0,
11975
12013
  clockwise: !1,
@@ -11979,14 +12017,14 @@ var Zd = /* @__PURE__ */ (function(a) {
11979
12017
  }
11980
12018
  }]), r;
11981
12019
  })(ot);
11982
- function Jd() {
12020
+ function eg() {
11983
12021
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
11984
12022
  <path fill-rule="evenodd" clip-rule="evenodd"
11985
12023
  d="M16.5 4.3H3.5C3.38954 4.3 3.3 4.38954 3.3 4.5V15.5C3.3 15.6105 3.38954 15.7 3.5 15.7H8.50005L8.50006 17.5H3.5C2.39543 17.5 1.5 16.6046 1.5 15.5V4.5C1.5 3.39543 2.39543 2.5 3.5 2.5H16.5C17.6046 2.5 18.5 3.39543 18.5 4.5V8.5H16.7V4.5C16.7 4.38954 16.6105 4.3 16.5 4.3ZM12 11.5C11.4477 11.5 11 11.9477 11 12.5L11 16.5C11 17.0523 11.4478 17.5 12 17.5H17.5C18.0523 17.5 18.5 17.0523 18.5 16.5L18.5 12.5C18.5 11.9477 18.0523 11.5 17.5 11.5H12Z"
11986
12024
  fill="white" />
11987
12025
  </svg>`, "image/svg+xml").firstChild;
11988
12026
  }
11989
- function Qd() {
12027
+ function tg() {
11990
12028
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
11991
12029
  <path fill-rule="evenodd" clip-rule="evenodd"
11992
12030
  d="M16.5 4.3H3.5C3.38954 4.3 3.3 4.38954 3.3 4.5V15.5C3.3 15.6105 3.38954 15.7 3.5 15.7H8.50005L8.50006 17.5H3.5C2.39543 17.5 1.5 16.6046 1.5 15.5V4.5C1.5 3.39543 2.39543 2.5 3.5 2.5H16.5C17.6046 2.5 18.5 3.39543 18.5 4.5V8.5H16.7V4.5C16.7 4.38954 16.6105 4.3 16.5 4.3ZM12 11.5C11.4477 11.5 11 11.9477 11 12.5L11 16.5C11 17.0523 11.4478 17.5 12 17.5H17.5C18.0523 17.5 18.5 17.0523 18.5 16.5L18.5 12.5C18.5 11.9477 18.0523 11.5 17.5 11.5H12Z"
@@ -12000,7 +12038,7 @@ var dt = {
12000
12038
  PIP: "picture-in-picture",
12001
12039
  INLINE: "inline",
12002
12040
  FULLSCREEN: "fullscreen"
12003
- }, eg = /* @__PURE__ */ (function(a) {
12041
+ }, ig = /* @__PURE__ */ (function(a) {
12004
12042
  D(r, a);
12005
12043
  var s = O(r);
12006
12044
  function r() {
@@ -12040,11 +12078,11 @@ var dt = {
12040
12078
  value: function() {
12041
12079
  return {
12042
12080
  pipIcon: {
12043
- icon: Jd,
12081
+ icon: eg,
12044
12082
  class: "xg-get-pip"
12045
12083
  },
12046
12084
  pipIconExit: {
12047
- icon: Qd,
12085
+ icon: tg,
12048
12086
  class: "xg-exit-pip"
12049
12087
  }
12050
12088
  };
@@ -12184,7 +12222,7 @@ var dt = {
12184
12222
  key: "defaultConfig",
12185
12223
  get: function() {
12186
12224
  return {
12187
- position: J.CONTROLS_RIGHT,
12225
+ position: Q.CONTROLS_RIGHT,
12188
12226
  index: 6,
12189
12227
  showIcon: !1,
12190
12228
  preferDocument: !1,
@@ -12201,13 +12239,13 @@ var dt = {
12201
12239
  }
12202
12240
  }]), r;
12203
12241
  })(ot);
12204
- function tg() {
12242
+ function ng() {
12205
12243
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
12206
12244
  <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
12207
12245
  </svg>
12208
12246
  `, "image/svg+xml").firstChild;
12209
12247
  }
12210
- var ig = /* @__PURE__ */ (function(a) {
12248
+ var rg = /* @__PURE__ */ (function(a) {
12211
12249
  D(r, a);
12212
12250
  var s = O(r);
12213
12251
  function r(t) {
@@ -12226,7 +12264,7 @@ var ig = /* @__PURE__ */ (function(a) {
12226
12264
  key: "registerIcons",
12227
12265
  value: function() {
12228
12266
  return {
12229
- playNext: tg
12267
+ playNext: ng
12230
12268
  };
12231
12269
  }
12232
12270
  }, {
@@ -12268,15 +12306,15 @@ var ig = /* @__PURE__ */ (function(a) {
12268
12306
  key: "defaultConfig",
12269
12307
  get: function() {
12270
12308
  return {
12271
- position: J.CONTROLS_LEFT,
12309
+ position: Q.CONTROLS_LEFT,
12272
12310
  index: 1,
12273
12311
  url: null,
12274
12312
  urlList: []
12275
12313
  };
12276
12314
  }
12277
12315
  }]), r;
12278
- })($);
12279
- function ng() {
12316
+ })(K);
12317
+ function ag() {
12280
12318
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
12281
12319
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
12282
12320
  <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
@@ -12336,7 +12374,7 @@ var pe = {
12336
12374
  r[t] = s.charCodeAt(t);
12337
12375
  return r;
12338
12376
  }
12339
- }, De = {
12377
+ }, Oe = {
12340
12378
  downloadWithAnchor: function(s, r) {
12341
12379
  var t = document.createElement("a");
12342
12380
  t.href = s, t.setAttribute("download", r), t.className = "download-js-link", t.innerHTML = "downloading...", t.style.display = "none";
@@ -12354,7 +12392,7 @@ var pe = {
12354
12392
  var t = new FileReader();
12355
12393
  return t.onload = function(i) {
12356
12394
  var n = i.target.result;
12357
- De.downloadWithSafari(n, r);
12395
+ Oe.downloadWithSafari(n, r);
12358
12396
  }, t.readAsDataURL(s), !0;
12359
12397
  }
12360
12398
  if (it.isDataURL(s) && (s = "data:" + s.replace(/^data:([\w\/\-\+]+)/, pe.mimeType)), !window.open(s)) {
@@ -12370,7 +12408,7 @@ Use Save As... to download, then click back to return to this page.`);
12370
12408
  var t = new FileReader();
12371
12409
  return t.onload = function(i) {
12372
12410
  var n = i.target.result;
12373
- De.downloadWithIframe(n, r);
12411
+ Oe.downloadWithIframe(n, r);
12374
12412
  }, t.readAsDataURL(s), !0;
12375
12413
  }
12376
12414
  var e = document.createElement("iframe");
@@ -12386,7 +12424,7 @@ Use Save As... to download, then click back to return to this page.`);
12386
12424
  setHeaders: function(s) {
12387
12425
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
12388
12426
  Object.entries(r).forEach(function(t) {
12389
- var e = wh(t, 2), i = e[0], n = e[1];
12427
+ var e = Sh(t, 2), i = e[0], n = e[1];
12390
12428
  s.setRequestHeader(i, n);
12391
12429
  });
12392
12430
  },
@@ -12424,7 +12462,7 @@ function vu(a, s, r) {
12424
12462
  var c = it.dataURLToBlob(a);
12425
12463
  return i = c.type || i, vu(c, e, i);
12426
12464
  } else
12427
- return St.isIEWithMsSaveBlob() ? navigator.msSaveBlob(it.dataURLToBlob(a), e) : De.downloadWithAnchor(a, e);
12465
+ return St.isIEWithMsSaveBlob() ? navigator.msSaveBlob(it.dataURLToBlob(a), e) : Oe.downloadWithAnchor(a, e);
12428
12466
  if (typeof a == "string" && it.hasNonASCII(a)) {
12429
12467
  var f = it.stringToUint8Array(a), d = window.Blob || window.MozBlob || window.WebKitBlob || function(C, L) {
12430
12468
  return C;
@@ -12448,28 +12486,28 @@ function vu(a, s, r) {
12448
12486
  return navigator.msSaveBlob(g, e);
12449
12487
  if (St.supportsObjectURL()) {
12450
12488
  var m = URL.createObjectURL(g);
12451
- return De.downloadWithAnchor(m, e);
12489
+ return Oe.downloadWithAnchor(m, e);
12452
12490
  }
12453
12491
  if (St.isSafari())
12454
- return De.downloadWithSafari(g, e);
12492
+ return Oe.downloadWithSafari(g, e);
12455
12493
  if (typeof g == "string" || g.constructor === String)
12456
12494
  try {
12457
12495
  var p = "data:" + i + ";base64," + btoa(g);
12458
- return De.downloadWithAnchor(p, e);
12496
+ return Oe.downloadWithAnchor(p, e);
12459
12497
  } catch {
12460
12498
  var k = "data:" + i + "," + encodeURIComponent(g);
12461
- return De.downloadWithAnchor(k, e);
12499
+ return Oe.downloadWithAnchor(k, e);
12462
12500
  }
12463
12501
  var b = new FileReader();
12464
12502
  return b.onload = function(C) {
12465
- De.downloadWithAnchor(C.target.result, e);
12466
- }, b.readAsDataURL(g), De.downloadWithIframe(g, e);
12503
+ Oe.downloadWithAnchor(C.target.result, e);
12504
+ }, b.readAsDataURL(g), Oe.downloadWithIframe(g, e);
12467
12505
  }
12468
- function rg(a) {
12506
+ function sg(a) {
12469
12507
  var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = ee(ee({}, pe), s), t = r.fileName || a.split("/").pop().split("?")[0] || "download";
12470
12508
  return ci.downloadFromURL(a, t, r);
12471
12509
  }
12472
- var ag = /* @__PURE__ */ (function(a) {
12510
+ var og = /* @__PURE__ */ (function(a) {
12473
12511
  D(r, a);
12474
12512
  var s = O(r);
12475
12513
  function r(t) {
@@ -12480,7 +12518,7 @@ var ag = /* @__PURE__ */ (function(a) {
12480
12518
  var n = e.playerConfig.url, o = "";
12481
12519
  h.typeOf(n) === "String" ? o = n : h.typeOf(n) === "Array" && n.length > 0 && (o = n[0].src);
12482
12520
  var l = e.getAbsoluteURL(o);
12483
- rg(l, Object.assign({}, e.config.saveAsOptions || {})), e.isLock = !0, e.timer = window.setTimeout(function() {
12521
+ sg(l, Object.assign({}, e.config.saveAsOptions || {})), e.isLock = !0, e.timer = window.setTimeout(function() {
12484
12522
  e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
12485
12523
  }, 300);
12486
12524
  }
@@ -12499,7 +12537,7 @@ var ag = /* @__PURE__ */ (function(a) {
12499
12537
  key: "registerIcons",
12500
12538
  value: function() {
12501
12539
  return {
12502
- download: ng
12540
+ download: ag
12503
12541
  };
12504
12542
  }
12505
12543
  }, {
@@ -12535,14 +12573,14 @@ var ag = /* @__PURE__ */ (function(a) {
12535
12573
  key: "defaultConfig",
12536
12574
  get: function() {
12537
12575
  return {
12538
- position: J.CONTROLS_RIGHT,
12576
+ position: Q.CONTROLS_RIGHT,
12539
12577
  index: 3,
12540
12578
  disable: !0,
12541
12579
  saveAsOptions: {}
12542
12580
  };
12543
12581
  }
12544
12582
  }]), r;
12545
- })(ot), sg = /* @__PURE__ */ (function(a) {
12583
+ })(ot), lg = /* @__PURE__ */ (function(a) {
12546
12584
  D(r, a);
12547
12585
  var s = O(r);
12548
12586
  function r() {
@@ -12654,7 +12692,7 @@ var ag = /* @__PURE__ */ (function(a) {
12654
12692
  key: "defaultConfig",
12655
12693
  get: function() {
12656
12694
  return {
12657
- position: J.CONTROLS_RIGHT,
12695
+ position: Q.CONTROLS_RIGHT,
12658
12696
  index: 5,
12659
12697
  quality: 0.92,
12660
12698
  type: "image/png",
@@ -12668,7 +12706,7 @@ var ag = /* @__PURE__ */ (function(a) {
12668
12706
  };
12669
12707
  }
12670
12708
  }]), r;
12671
- })(ot), og = /* @__PURE__ */ (function() {
12709
+ })(ot), ug = /* @__PURE__ */ (function() {
12672
12710
  function a(s) {
12673
12711
  P(this, a), this.config = s.config, this.parent = s.root, this.root = h.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), s.root.appendChild(this.root);
12674
12712
  var r = this.config.maxHeight;
@@ -12676,7 +12714,7 @@ var ag = /* @__PURE__ */ (function(a) {
12676
12714
  maxHeight: r
12677
12715
  }), this.onItemClick = this.onItemClick.bind(this), this.renderItemList();
12678
12716
  var t = this.config.domEventType === "touch" ? "touchend" : "click";
12679
- this._delegates = $.delegate.call(this, this.root, "li", t, this.onItemClick);
12717
+ this._delegates = K.delegate.call(this, this.root, "li", t, this.onItemClick);
12680
12718
  }
12681
12719
  return A(a, [{
12682
12720
  key: "renderItemList",
@@ -12748,8 +12786,8 @@ var ag = /* @__PURE__ */ (function(a) {
12748
12786
  CLICK: "click",
12749
12787
  HOVER: "hover"
12750
12788
  };
12751
- function lg(a, s) {
12752
- return a === Ie.SIDE ? s === J.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
12789
+ function cg(a, s) {
12790
+ return a === Ie.SIDE ? s === Q.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
12753
12791
  }
12754
12792
  var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
12755
12793
  D(r, a);
@@ -12783,9 +12821,9 @@ var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
12783
12821
  key: "afterCreate",
12784
12822
  value: function() {
12785
12823
  var e = this, i = this.config;
12786
- this.initIcons(), et = et || this.domEventType === "touch", et && U.device === "mobile" && i.listType === Ie.DEFAULT && (i.listType = Ie.SIDE), i.hidePortrait && h.addClass(this.root, "portrait"), this.on([Ye, Me], function() {
12824
+ this.initIcons(), et = et || this.domEventType === "touch", et && U.device === "mobile" && i.listType === Ie.DEFAULT && (i.listType = Ie.SIDE), i.hidePortrait && h.addClass(this.root, "portrait"), this.on([Ye, Fe], function() {
12787
12825
  e._resizeList();
12788
- }), this.once(Fe, function() {
12826
+ }), this.once(Be, function() {
12789
12827
  i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
12790
12828
  }), et && this.on(da, function() {
12791
12829
  e.isActive && (e.optionsList && e.optionsList.hide(), e.isActive = !1);
@@ -12862,7 +12900,7 @@ var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
12862
12900
  var c = {
12863
12901
  config: {
12864
12902
  data: e || [],
12865
- className: lg(o.listType, o.position),
12903
+ className: cg(o.listType, o.position),
12866
12904
  onItemClick: function(m, p) {
12867
12905
  n.onItemClick(m, p);
12868
12906
  },
@@ -12872,7 +12910,7 @@ var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
12872
12910
  };
12873
12911
  if (this.config.isShowIcon) {
12874
12912
  var f = this.player.root.getBoundingClientRect(), d = f.height, g = o.listType === Ie.MIDDLE ? d - 50 : d;
12875
- g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new og(c), this.changeCurrentText(), this.show();
12913
+ g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new ug(c), this.changeCurrentText(), this.show();
12876
12914
  }
12877
12915
  this._resizeList();
12878
12916
  }
@@ -12910,7 +12948,7 @@ var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
12910
12948
  key: "defaultConfig",
12911
12949
  get: function() {
12912
12950
  return {
12913
- position: J.CONTROLS_RIGHT,
12951
+ position: Q.CONTROLS_RIGHT,
12914
12952
  index: 100,
12915
12953
  list: [],
12916
12954
  listType: "default",
@@ -12923,7 +12961,7 @@ var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
12923
12961
  };
12924
12962
  }
12925
12963
  }]), r;
12926
- })($), ug = /* @__PURE__ */ (function(a) {
12964
+ })(K), fg = /* @__PURE__ */ (function(a) {
12927
12965
  D(r, a);
12928
12966
  var s = O(r);
12929
12967
  function r(t) {
@@ -13013,7 +13051,7 @@ var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
13013
13051
  key: "defaultConfig",
13014
13052
  get: function() {
13015
13053
  return ee(ee({}, fi.defaultConfig), {}, {
13016
- position: J.CONTROLS_RIGHT,
13054
+ position: Q.CONTROLS_RIGHT,
13017
13055
  index: 3,
13018
13056
  list: [],
13019
13057
  defaultDefinition: "",
@@ -13024,7 +13062,7 @@ var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
13024
13062
  });
13025
13063
  }
13026
13064
  }]), r;
13027
- })(fi), cg = /* @__PURE__ */ (function(a) {
13065
+ })(fi), hg = /* @__PURE__ */ (function(a) {
13028
13066
  D(r, a);
13029
13067
  var s = O(r);
13030
13068
  function r(t) {
@@ -13107,7 +13145,7 @@ var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
13107
13145
  key: "defaultConfig",
13108
13146
  get: function() {
13109
13147
  return ee(ee({}, fi.defaultConfig), {}, {
13110
- position: J.CONTROLS_RIGHT,
13148
+ position: Q.CONTROLS_RIGHT,
13111
13149
  index: 4,
13112
13150
  list: [2, 1.5, 1, 0.75, 0.5],
13113
13151
  className: "xgplayer-playbackrate",
@@ -13116,7 +13154,7 @@ var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
13116
13154
  });
13117
13155
  }
13118
13156
  }]), r;
13119
- })(fi), fg = /* @__PURE__ */ (function(a) {
13157
+ })(fi), dg = /* @__PURE__ */ (function(a) {
13120
13158
  D(r, a);
13121
13159
  var s = O(r);
13122
13160
  function r() {
@@ -13177,7 +13215,7 @@ var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
13177
13215
  return "error";
13178
13216
  }
13179
13217
  }]), r;
13180
- })($), hg = /* @__PURE__ */ (function(a) {
13218
+ })(K), gg = /* @__PURE__ */ (function(a) {
13181
13219
  D(r, a);
13182
13220
  var s = O(r);
13183
13221
  function r() {
@@ -13255,7 +13293,7 @@ var et = U.device === "mobile", fi = /* @__PURE__ */ (function(a) {
13255
13293
  };
13256
13294
  }
13257
13295
  }]), r;
13258
- })($), cl = {
13296
+ })(K), cl = {
13259
13297
  time: 0,
13260
13298
  text: "",
13261
13299
  id: 1,
@@ -13407,7 +13445,7 @@ var fl = {
13407
13445
  return r.find('xg-spot[data-id="'.concat(s, '"]'));
13408
13446
  }
13409
13447
  };
13410
- function dg(a) {
13448
+ function vg(a) {
13411
13449
  var s = a.config, r = a.player;
13412
13450
  Object.keys(fl).map(function(e) {
13413
13451
  a[e] = fl[e].bind(a);
@@ -13418,7 +13456,7 @@ function dg(a) {
13418
13456
  }), a.ispotsInit = !1, a.playerSize = {
13419
13457
  left: r.sizeInfo.left,
13420
13458
  width: r.sizeInfo.width
13421
- }, a.on(Ue, function() {
13459
+ }, a.on(je, function() {
13422
13460
  a.ispotsInit ? a.updateDuration() : a.initDots();
13423
13461
  }), a.on(Ye, function() {
13424
13462
  a.positionDots();
@@ -13431,7 +13469,7 @@ var vt = {
13431
13469
  click: "onProgressClick",
13432
13470
  mouseover: "onProgressMouseOver",
13433
13471
  mouseenter: "onProgressMouseOver"
13434
- }, gg = /* @__PURE__ */ (function(a) {
13472
+ }, pg = /* @__PURE__ */ (function(a) {
13435
13473
  D(r, a);
13436
13474
  var s = O(r);
13437
13475
  function r(t) {
@@ -13482,7 +13520,7 @@ var vt = {
13482
13520
  n.seekTime && e.player.seek(n.seekTime);
13483
13521
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
13484
13522
  e.setTimeContent(h.format(i));
13485
- }), dg(this), this.on(Ue, function() {
13523
+ }), vg(this), this.on(je, function() {
13486
13524
  e.show();
13487
13525
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
13488
13526
  }
@@ -13706,7 +13744,7 @@ var vt = {
13706
13744
  };
13707
13745
  }
13708
13746
  }]), r;
13709
- })($), vg = /* @__PURE__ */ (function(a) {
13747
+ })(K), mg = /* @__PURE__ */ (function(a) {
13710
13748
  D(r, a);
13711
13749
  var s = O(r);
13712
13750
  function r(t) {
@@ -13717,7 +13755,7 @@ var vt = {
13717
13755
  key: "afterCreate",
13718
13756
  value: function() {
13719
13757
  var e = this;
13720
- this.usable && this.initThumbnail(), this.on([Ue], function() {
13758
+ this.usable && this.initThumbnail(), this.on([je], function() {
13721
13759
  var i = e.config, n = i.pic_num, o = i.interval;
13722
13760
  e.usable && (e.interval = o > 0 ? o : Math.round(e.player.duration * 1e3 / n) / 1e3);
13723
13761
  });
@@ -13839,11 +13877,11 @@ var vt = {
13839
13877
  };
13840
13878
  }
13841
13879
  }]), r;
13842
- })($);
13880
+ })(K);
13843
13881
  function jr(a) {
13844
13882
  return a ? "background:".concat(a, ";") : "";
13845
13883
  }
13846
- var pg = /* @__PURE__ */ (function(a) {
13884
+ var yg = /* @__PURE__ */ (function(a) {
13847
13885
  D(r, a);
13848
13886
  var s = O(r);
13849
13887
  function r() {
@@ -13925,19 +13963,19 @@ var pg = /* @__PURE__ */ (function(a) {
13925
13963
  };
13926
13964
  }
13927
13965
  }]), r;
13928
- })($), pt = {
13966
+ })(K), pt = {
13929
13967
  REAL_TIME: "realtime",
13930
13968
  FIRST_FRAME: "firstframe",
13931
13969
  POSTER: "poster"
13932
13970
  };
13933
- function mg() {
13971
+ function _g() {
13934
13972
  try {
13935
13973
  return parseInt(window.performance.now(), 10);
13936
13974
  } catch {
13937
13975
  return (/* @__PURE__ */ new Date()).getTime();
13938
13976
  }
13939
13977
  }
13940
- function yg() {
13978
+ function bg() {
13941
13979
  try {
13942
13980
  var a = document.createElement("canvas").getContext;
13943
13981
  return !!a;
@@ -13945,7 +13983,7 @@ function yg() {
13945
13983
  return !1;
13946
13984
  }
13947
13985
  }
13948
- var Jt = null, _g = /* @__PURE__ */ (function(a) {
13986
+ var Jt = null, Cg = /* @__PURE__ */ (function(a) {
13949
13987
  D(r, a);
13950
13988
  var s = O(r);
13951
13989
  function r() {
@@ -13966,7 +14004,7 @@ var Jt = null, _g = /* @__PURE__ */ (function(a) {
13966
14004
  !t.player.paused && t._checkIfCanStart() && t.start(0, l);
13967
14005
  }
13968
14006
  }), _(y(t), "start", function(o, l) {
13969
- var u = t.player.video, c = mg(), f = t.checkVideoIsSupport(u);
14007
+ var u = t.player.video, c = _g(), f = t.checkVideoIsSupport(u);
13970
14008
  !f || !t.canvasCtx || (l || (l = t.interval), t.stop(), u.videoWidth && u.videoHeight && (t.videoPI = u.videoHeight > 0 ? parseInt(u.videoWidth / u.videoHeight * 100, 10) : 0, (t.config.mode === pt.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(f, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? h.setTimeout(y(t), t.start, l) : h.requestAnimationFrame(t.start));
13971
14009
  }), _(y(t), "stop", function() {
13972
14010
  t.frameId && (t._loopType === "timer" ? h.clearTimeout(y(t), t.frameId) : h.cancelAnimationFrame(t.frameId), t.frameId = null);
@@ -13990,12 +14028,12 @@ var Jt = null, _g = /* @__PURE__ */ (function(a) {
13990
14028
  e.player && (e.init(), e.renderByPoster(), e.player.paused || e.start());
13991
14029
  }), o !== pt.POSTER && (o !== pt.FIRST_FRAME && (this.on(st, function() {
13992
14030
  e.stop();
13993
- }), this.on(be, function() {
14031
+ }), this.on(Ce, function() {
13994
14032
  var u = e.config.startInterval;
13995
14033
  e._checkIfCanStart() && e.start(0, u);
13996
14034
  }), this.on(bt, function() {
13997
14035
  e.stop();
13998
- })), this.on(Be, this.onLoadedData), this.on(ha, function() {
14036
+ })), this.on(Ue, this.onLoadedData), this.on(ha, function() {
13999
14037
  e._isLoaded = !1, e.stop();
14000
14038
  }), document.addEventListener("visibilitychange", this.onVisibilitychange)));
14001
14039
  }
@@ -14139,7 +14177,7 @@ var Jt = null, _g = /* @__PURE__ */ (function(a) {
14139
14177
  }, {
14140
14178
  key: "isSupport",
14141
14179
  get: function() {
14142
- return typeof Jt == "boolean" || (Jt = yg()), Jt;
14180
+ return typeof Jt == "boolean" || (Jt = bg()), Jt;
14143
14181
  }
14144
14182
  }, {
14145
14183
  key: "supportCanvasFilter",
@@ -14147,7 +14185,7 @@ var Jt = null, _g = /* @__PURE__ */ (function(a) {
14147
14185
  return !(U.browser === "safari" || U.browser === "firefox");
14148
14186
  }
14149
14187
  }]), r;
14150
- })($), bg = {
14188
+ })(K), kg = {
14151
14189
  LANG: "zh-cn",
14152
14190
  TEXT: {
14153
14191
  ERROR_TYPES: {
@@ -14223,7 +14261,7 @@ var Jt = null, _g = /* @__PURE__ */ (function(a) {
14223
14261
  FORWARD: "快进中",
14224
14262
  LIVE_TIP: "直播"
14225
14263
  }
14226
- }, Et = "info", zr = iu, Cg = /* @__PURE__ */ (function(a) {
14264
+ }, Et = "info", zr = iu, wg = /* @__PURE__ */ (function(a) {
14227
14265
  D(r, a);
14228
14266
  var s = O(r);
14229
14267
  function r() {
@@ -14408,7 +14446,7 @@ var Jt = null, _g = /* @__PURE__ */ (function(a) {
14408
14446
  key: "afterCreate",
14409
14447
  value: function() {
14410
14448
  var e = this, i = this.config.useGapJump;
14411
- i !== !1 && (this.hasPlayed = !1, this.seekingEventReceived = !1, this.isSafari = /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), this.on(Bt, this.onGapJump), this.on(be, function() {
14449
+ i !== !1 && (this.hasPlayed = !1, this.seekingEventReceived = !1, this.isSafari = /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), this.on(Bt, this.onGapJump), this.on(Ce, function() {
14412
14450
  e.hasPlayed = !0;
14413
14451
  }), this.on(Ci, function() {
14414
14452
  e.seekingEventReceived = !0;
@@ -14455,9 +14493,9 @@ var Jt = null, _g = /* @__PURE__ */ (function(a) {
14455
14493
  };
14456
14494
  }
14457
14495
  }]), r;
14458
- })($);
14496
+ })(K);
14459
14497
  mu.BROWSER_GAP_TOLERANCE = 1e-3;
14460
- var kg = /* @__PURE__ */ (function(a) {
14498
+ var Tg = /* @__PURE__ */ (function(a) {
14461
14499
  D(r, a);
14462
14500
  var s = O(r);
14463
14501
  function r() {
@@ -14481,9 +14519,9 @@ var kg = /* @__PURE__ */ (function(a) {
14481
14519
  key: "afterCreate",
14482
14520
  value: function() {
14483
14521
  var e = this, i = this.config, n = i.useWaitingTimeoutJump, o = i.jumpSize;
14484
- n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = o, this.on(Bt, this.onWaiting), this.on([bi, Fe], function() {
14522
+ n !== !1 && (this.hasPlayed = !1, this.jumpCnt = 0, this.timer = null, this.jumpSize = o, this.on(Bt, this.onWaiting), this.on([bi, Be], function() {
14485
14523
  clearTimeout(e.timer), e.timer = null, e.jumpSize = e.config.jumpSize;
14486
- }), this.on(be, function() {
14524
+ }), this.on(Ce, function() {
14487
14525
  e.hasPlayed = !0;
14488
14526
  }));
14489
14527
  }
@@ -14503,7 +14541,7 @@ var kg = /* @__PURE__ */ (function(a) {
14503
14541
  };
14504
14542
  }
14505
14543
  }]), r;
14506
- })($), mt = "cdn", Qt = ["cdn"], wg = /* @__PURE__ */ (function(a) {
14544
+ })(K), mt = "cdn", Qt = ["cdn"], Sg = /* @__PURE__ */ (function(a) {
14507
14545
  D(r, a);
14508
14546
  var s = O(r);
14509
14547
  function r() {
@@ -14562,13 +14600,13 @@ var kg = /* @__PURE__ */ (function(a) {
14562
14600
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : mt, l = t.getSpeed(o), u = y(t), c = u.player;
14563
14601
  if (c)
14564
14602
  if (o === mt)
14565
- (!c.avgSpeed || l !== c.avgSpeed) && (c.avgSpeed = l, c.emit(Kr, {
14603
+ (!c.avgSpeed || l !== c.avgSpeed) && (c.avgSpeed = l, c.emit($r, {
14566
14604
  speed: l,
14567
14605
  realTimeSpeed: c.realTimeSpeed
14568
14606
  }));
14569
14607
  else {
14570
14608
  var f = t.getSpeedName("avg", o);
14571
- (!c[f] || l !== c[f]) && (c[f] = l, c.emit(Kr, {
14609
+ (!c[f] || l !== c[f]) && (c[f] = l, c.emit($r, {
14572
14610
  speed: l,
14573
14611
  realTimeSpeed: c.realTimeSpeed
14574
14612
  }));
@@ -14579,7 +14617,7 @@ var kg = /* @__PURE__ */ (function(a) {
14579
14617
  key: "afterCreate",
14580
14618
  value: function() {
14581
14619
  var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
14582
- (n == null ? void 0 : n.length) > 0 && Qt.push.apply(Qt, Ee(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Be, ii], this.startTimer);
14620
+ (n == null ? void 0 : n.length) > 0 && Qt.push.apply(Qt, Ee(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Ue, ii], this.startTimer);
14583
14621
  }
14584
14622
  }, {
14585
14623
  key: "getSpeedName",
@@ -14606,7 +14644,7 @@ var kg = /* @__PURE__ */ (function(a) {
14606
14644
  key: "destroy",
14607
14645
  value: function() {
14608
14646
  var e = this;
14609
- this.off("real_time_speed", this._onRealSpeedChange), this.off([Be, ii], this.startTimer), Qt.forEach(function(i) {
14647
+ this.off("real_time_speed", this._onRealSpeedChange), this.off([Ue, ii], this.startTimer), Qt.forEach(function(i) {
14610
14648
  e.speedListCache && e.speedListCache[i] && (e.speedListCache[i] = []);
14611
14649
  }), this.speedListCache && (this.speedListCache = {}), clearTimeout(this.timer), this.timer = null, this.xhr && this.xhr.readyState !== 4 && (this.xhr.cancel && this.xhr.cancel(), this.xhr = null);
14612
14650
  }
@@ -14629,7 +14667,7 @@ var kg = /* @__PURE__ */ (function(a) {
14629
14667
  };
14630
14668
  }
14631
14669
  }]), r;
14632
- })($), Tg = /* @__PURE__ */ (function(a) {
14670
+ })(K), Eg = /* @__PURE__ */ (function(a) {
14633
14671
  D(r, a);
14634
14672
  var s = O(r);
14635
14673
  function r() {
@@ -14641,7 +14679,7 @@ var kg = /* @__PURE__ */ (function(a) {
14641
14679
  var e = this, i = this.player, n = this.config, o = i.media || i.video;
14642
14680
  if (this.timer = null, this._lastDecodedFrames = 0, this._currentStuckCount = 0, this._lastCheckPoint = null, this._payload = [], !n.disabled) {
14643
14681
  var l = o.getVideoPlaybackQuality;
14644
- l && (this.on(be, function() {
14682
+ l && (this.on(Ce, function() {
14645
14683
  e._startTick();
14646
14684
  }), this.on(bt, function() {
14647
14685
  e._stopTick();
@@ -14738,26 +14776,26 @@ var kg = /* @__PURE__ */ (function(a) {
14738
14776
  };
14739
14777
  }
14740
14778
  }]), r;
14741
- })($);
14742
- yt.use(bg);
14743
- var Sg = /* @__PURE__ */ A(function a(s, r) {
14779
+ })(K);
14780
+ yt.use(kg);
14781
+ var xg = /* @__PURE__ */ A(function a(s, r) {
14744
14782
  var t, e, i;
14745
14783
  P(this, a);
14746
- var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, l = o ? [] : [Yd, fu, pg, gg, hu], u = [].concat(l, [cu, uu, Zd, ig, ug, cg, ag, sg, du, eg]), c = [Ld, Rd, Od, $d, Md, fg, hg, vg, Hd];
14747
- this.plugins = [Cg, Pd].concat(Ee(u), c, [mu, kg]);
14784
+ var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, l = o ? [] : [Zd, fu, yg, pg, hu], u = [].concat(l, [cu, uu, Qd, rg, fg, hg, og, lg, du, ig]), c = [Dd, Od, Fd, Xd, Nd, dg, gg, mg, jd];
14785
+ this.plugins = [wg, Ld].concat(Ee(u), c, [mu, Tg]);
14748
14786
  var f = n ? "mobile" : U.device;
14749
14787
  switch (f) {
14750
14788
  case "pc":
14751
- (t = this.plugins).push.apply(t, [ul, Hr, Xr, wg, Tg]);
14789
+ (t = this.plugins).push.apply(t, [ul, Hr, Xr, Sg, Eg]);
14752
14790
  break;
14753
14791
  case "mobile":
14754
- (e = this.plugins).push.apply(e, [Gd]);
14792
+ (e = this.plugins).push.apply(e, [$d]);
14755
14793
  break;
14756
14794
  default:
14757
14795
  (i = this.plugins).push.apply(i, [ul, Hr, Xr]);
14758
14796
  }
14759
- (U.os.isIpad || f === "pc") && this.plugins.push(_g), U.os.isIpad && this.plugins.push(Hr), this.ignores = [], this.i18n = [];
14760
- }), se = /* @__PURE__ */ (function(a) {
14797
+ (U.os.isIpad || f === "pc") && this.plugins.push(Cg), U.os.isIpad && this.plugins.push(Hr), this.ignores = [], this.i18n = [];
14798
+ }), oe = /* @__PURE__ */ (function(a) {
14761
14799
  D(r, a);
14762
14800
  var s = O(r);
14763
14801
  function r() {
@@ -14765,23 +14803,23 @@ var Sg = /* @__PURE__ */ A(function a(s, r) {
14765
14803
  }
14766
14804
  return A(r);
14767
14805
  })(Si);
14768
- _(se, "defaultPreset", Sg);
14769
- _(se, "Util", h);
14770
- _(se, "Sniffer", U);
14771
- _(se, "Errors", ti);
14772
- _(se, "Events", Xh);
14773
- _(se, "Plugin", $);
14774
- _(se, "BasePlugin", Xe);
14775
- _(se, "I18N", yt);
14776
- _(se, "STATE_CLASS", w);
14777
- _(se, "InstManager", lu);
14778
- _(se, "PlayIcon", cu);
14779
- _(se, "TimeIcon", hu);
14780
- _(se, "Progress", fu);
14781
- _(se, "FullscreenIcon", uu);
14782
- _(se, "CssFullscreenIcon", Xr);
14783
- _(se, "VolumeIcon", du);
14784
- const Eg = ["id"], xg = /* @__PURE__ */ Se({
14806
+ _(oe, "defaultPreset", xg);
14807
+ _(oe, "Util", h);
14808
+ _(oe, "Sniffer", U);
14809
+ _(oe, "Errors", ti);
14810
+ _(oe, "Events", Jh);
14811
+ _(oe, "Plugin", K);
14812
+ _(oe, "BasePlugin", Xe);
14813
+ _(oe, "I18N", yt);
14814
+ _(oe, "STATE_CLASS", w);
14815
+ _(oe, "InstManager", lu);
14816
+ _(oe, "PlayIcon", cu);
14817
+ _(oe, "TimeIcon", hu);
14818
+ _(oe, "Progress", fu);
14819
+ _(oe, "FullscreenIcon", uu);
14820
+ _(oe, "CssFullscreenIcon", Xr);
14821
+ _(oe, "VolumeIcon", du);
14822
+ const Ig = ["id"], Pg = /* @__PURE__ */ be({
14785
14823
  name: "ElImageViewer",
14786
14824
  __name: "Player",
14787
14825
  props: /* @__PURE__ */ Rt({
@@ -14810,7 +14848,7 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
14810
14848
  }, ["update:modelValue"]),
14811
14849
  setup(a, { emit: s }) {
14812
14850
  let r = null;
14813
- const t = a, { cLoadUrl: e } = yl(t), i = Q(() => Dt(e.value, t.url)), n = {
14851
+ const t = a, { cLoadUrl: e } = yl(t), i = J(() => Dt(e.value, t.url)), n = {
14814
14852
  width: "100%",
14815
14853
  height: "100%",
14816
14854
  // 是否自动播放
@@ -14828,7 +14866,7 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
14828
14866
  poster: "",
14829
14867
  lang: "zh-CN",
14830
14868
  screenShot: !0
14831
- }, o = Q(() => ({
14869
+ }, o = J(() => ({
14832
14870
  ...n,
14833
14871
  ...t.config
14834
14872
  })), l = s, u = Zr(a, "modelValue"), c = gl(), f = vl("image-viewer");
@@ -14837,7 +14875,7 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
14837
14875
  }
14838
14876
  return Lt(() => u.value, (g) => {
14839
14877
  g && Jr(() => {
14840
- r = new se({
14878
+ r = new oe({
14841
14879
  id: c,
14842
14880
  url: i.value,
14843
14881
  ...o.value
@@ -14845,7 +14883,7 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
14845
14883
  });
14846
14884
  }), (g, v) => {
14847
14885
  const m = hi("el-icon");
14848
- return u.value ? (x(), ue(hl, {
14886
+ return u.value ? (x(), se(hl, {
14849
14887
  key: 0,
14850
14888
  to: "body"
14851
14889
  }, [
@@ -14853,43 +14891,43 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
14853
14891
  name: "viewer-fade",
14854
14892
  appear: ""
14855
14893
  }, {
14856
- default: ne(() => [
14894
+ default: ie(() => [
14857
14895
  S(
14858
14896
  "div",
14859
14897
  {
14860
14898
  ref: "wrapper",
14861
14899
  tabindex: -1,
14862
- class: ie(E(f).e("wrapper")),
14900
+ class: ne(E(f).e("wrapper")),
14863
14901
  style: ae({ zIndex: a.zIndex })
14864
14902
  },
14865
14903
  [
14866
14904
  S(
14867
14905
  "div",
14868
14906
  {
14869
- class: ie(E(f).e("mask"))
14907
+ class: ne(E(f).e("mask"))
14870
14908
  },
14871
14909
  null,
14872
14910
  2
14873
14911
  /* CLASS */
14874
14912
  ),
14875
- K(" CANVAS "),
14913
+ $(" CANVAS "),
14876
14914
  S(
14877
14915
  "div",
14878
14916
  {
14879
- class: ie(E(f).e("canvas"))
14917
+ class: ne(E(f).e("canvas"))
14880
14918
  },
14881
14919
  [
14882
- S("div", { id: E(c) }, null, 8, Eg),
14883
- K(" CLOSE "),
14920
+ S("div", { id: E(c) }, null, 8, Ig),
14921
+ $(" CLOSE "),
14884
14922
  S(
14885
14923
  "span",
14886
14924
  {
14887
- class: ie([E(f).e("btn"), E(f).e("close")]),
14925
+ class: ne([E(f).e("btn"), E(f).e("close")]),
14888
14926
  onClick: d
14889
14927
  },
14890
14928
  [
14891
14929
  G(m, { onClick: d }, {
14892
- default: ne(() => [
14930
+ default: ie(() => [
14893
14931
  G(E(pl))
14894
14932
  ]),
14895
14933
  _: 1
@@ -14903,7 +14941,7 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
14903
14941
  2
14904
14942
  /* CLASS */
14905
14943
  ),
14906
- $e(g.$slots, "default", {}, void 0, !0)
14944
+ Ne(g.$slots, "default", {}, void 0, !0)
14907
14945
  ],
14908
14946
  6
14909
14947
  /* CLASS, STYLE */
@@ -14912,19 +14950,19 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
14912
14950
  _: 3
14913
14951
  /* FORWARDED */
14914
14952
  })
14915
- ])) : K("v-if", !0);
14953
+ ])) : $("v-if", !0);
14916
14954
  };
14917
14955
  }
14918
- }), Ig = /* @__PURE__ */ di(xg, [["__scopeId", "data-v-b301aa7d"]]), Pg = He(Ig), Ag = {
14956
+ }), Ag = /* @__PURE__ */ di(Pg, [["__scopeId", "data-v-b301aa7d"]]), Lg = Ae(Ag), Rg = {
14919
14957
  key: 0,
14920
14958
  class: "preview-files"
14921
- }, Lg = {
14959
+ }, Dg = {
14922
14960
  class: "flex",
14923
14961
  style: { width: "80%", "align-items": "center" }
14924
- }, Rg = ["onClick"], Dg = ["title"], Og = { style: { color: "#b8c6d9" } }, Mg = ["onClick"], Fg = {
14962
+ }, Og = ["onClick"], Mg = ["title"], Fg = { style: { color: "#b8c6d9" } }, Ng = ["onClick"], Bg = {
14925
14963
  key: 1,
14926
14964
  class: "flex preview-img"
14927
- }, Ng = /* @__PURE__ */ Se({
14965
+ }, Hg = /* @__PURE__ */ be({
14928
14966
  __name: "IkDetailPreviewFiles",
14929
14967
  props: {
14930
14968
  // 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
@@ -14954,7 +14992,7 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
14954
14992
  }
14955
14993
  },
14956
14994
  setup(a) {
14957
- const s = a, r = le(s.fileList);
14995
+ const s = a, r = ue(s.fileList);
14958
14996
  Lt(
14959
14997
  () => s.fileList,
14960
14998
  (u) => {
@@ -14962,7 +15000,7 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
14962
15000
  },
14963
15001
  { immediate: !0 }
14964
15002
  );
14965
- const t = le(!1), e = le({}), i = (u) => {
15003
+ const t = ue(!1), e = ue({}), i = (u) => {
14966
15004
  e.value = {
14967
15005
  url: u.url,
14968
15006
  name: u.name
@@ -14982,7 +15020,7 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
14982
15020
  var d, g;
14983
15021
  const f = hi("el-image");
14984
15022
  return x(), R("div", null, [
14985
- s.fileType === "file" ? (x(), R("div", Ag, [
15023
+ s.fileType === "file" ? (x(), R("div", Rg, [
14986
15024
  (x(!0), R(
14987
15025
  me,
14988
15026
  null,
@@ -14997,8 +15035,8 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
14997
15035
  })
14998
15036
  },
14999
15037
  [
15000
- S("div", Lg, [
15001
- G(E(Oe), {
15038
+ S("div", Dg, [
15039
+ G(E(Me), {
15002
15040
  name: n(v),
15003
15041
  style: ae(`color:${o(v)}`),
15004
15042
  size: 36
@@ -15009,21 +15047,21 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
15009
15047
  }, [
15010
15048
  S("p", {
15011
15049
  title: v.name
15012
- }, Te(v.name), 9, Dg),
15050
+ }, Se(v.name), 9, Mg),
15013
15051
  S(
15014
15052
  "p",
15015
- Og,
15016
- Te((v.size / 1024).toFixed(2)) + "KB",
15053
+ Fg,
15054
+ Se((v.size / 1024).toFixed(2)) + "KB",
15017
15055
  1
15018
15056
  /* TEXT */
15019
15057
  )
15020
- ], 8, Rg)
15058
+ ], 8, Og)
15021
15059
  ]),
15022
15060
  S("div", {
15023
15061
  class: "file-preview",
15024
15062
  onClick: (p) => i(v)
15025
15063
  }, [
15026
- G(E(Oe), { name: "iksvg_yulan" }),
15064
+ G(E(Me), { name: "iksvg_yulan" }),
15027
15065
  c[1] || (c[1] = S(
15028
15066
  "span",
15029
15067
  null,
@@ -15031,7 +15069,7 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
15031
15069
  -1
15032
15070
  /* CACHED */
15033
15071
  ))
15034
- ], 8, Mg)
15072
+ ], 8, Ng)
15035
15073
  ],
15036
15074
  4
15037
15075
  /* STYLE */
@@ -15039,8 +15077,8 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
15039
15077
  128
15040
15078
  /* KEYED_FRAGMENT */
15041
15079
  ))
15042
- ])) : K("v-if", !0),
15043
- s.fileType === "img" ? (x(), R("div", Fg, [
15080
+ ])) : $("v-if", !0),
15081
+ s.fileType === "img" ? (x(), R("div", Bg, [
15044
15082
  (x(!0), R(
15045
15083
  me,
15046
15084
  null,
@@ -15058,7 +15096,7 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
15058
15096
  128
15059
15097
  /* KEYED_FRAGMENT */
15060
15098
  ))
15061
- ])) : K("v-if", !0),
15099
+ ])) : $("v-if", !0),
15062
15100
  G(E(bc), {
15063
15101
  modelValue: t.value,
15064
15102
  "onUpdate:modelValue": c[0] || (c[0] = (v) => t.value = v),
@@ -15070,8 +15108,8 @@ const Eg = ["id"], xg = /* @__PURE__ */ Se({
15070
15108
  ]);
15071
15109
  };
15072
15110
  }
15073
- }), Bg = /* @__PURE__ */ di(Ng, [["__scopeId", "data-v-8da56541"]]), Wg = He(Bg);
15111
+ }), Ug = /* @__PURE__ */ di(Hg, [["__scopeId", "data-v-8da56541"]]), Kg = Ae(Ug);
15074
15112
  export {
15075
- Wg as IkDetailPreviewFiles,
15076
- Wg as default
15113
+ Kg as IkDetailPreviewFiles,
15114
+ Kg as default
15077
15115
  };