ik-next-ui 0.0.13 → 0.0.14

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 (41) 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 +506 -468
  11. package/dist/IkDetailPreviewFiles/ik-next-ui.css +1 -1
  12. package/dist/IkDetailPreviewFiles/ik.index.es.js +709 -671
  13. package/dist/IkIconPicker/ik-next-ui.css +1 -1
  14. package/dist/IkIconPicker/ik.index.es.js +180 -142
  15. package/dist/IkMonacoEditor/ik-next-ui.css +1 -1
  16. package/dist/IkMonacoEditor/ik.index.es.js +418 -380
  17. package/dist/IkPickerUser/ik-next-ui.css +1 -1
  18. package/dist/IkPreviewFile/ik-next-ui.css +1 -1
  19. package/dist/IkPreviewFile/ik.index.es.js +644 -606
  20. package/dist/IkPreviewFileDialog/ik-next-ui.css +1 -1
  21. package/dist/IkPreviewFileDialog/ik.index.es.js +658 -620
  22. package/dist/IkRadioGroup/ik-next-ui.css +1 -1
  23. package/dist/IkRadioGroup/ik.index.es.js +140 -102
  24. package/dist/IkSideText/ik-next-ui.css +1 -1
  25. package/dist/IkSideText/ik.index.es.js +131 -93
  26. package/dist/IkSvgIcon/ik-next-ui.css +1 -1
  27. package/dist/IkSvgIcon/ik.index.es.js +139 -101
  28. package/dist/IkUploadFile/ik-next-ui.css +1 -1
  29. package/dist/IkUploadFile/ik.index.es.js +776 -736
  30. package/dist/IkUploadImage/ik-next-ui.css +1 -1
  31. package/dist/IkUploadImage/ik.index.es.js +261 -223
  32. package/dist/IkVerticalStepBar/ik-next-ui.css +1 -1
  33. package/dist/IkVerticalStepBar/ik.index.es.js +140 -102
  34. package/dist/Provider/ik.index.es.js +1 -1
  35. package/dist/build/version.json.d.ts +1 -1
  36. package/dist/ik-next-ui.css +2 -2
  37. package/dist/index.es.js +3044 -3043
  38. package/dist/index.umd.js +67 -67
  39. package/dist/src/components/IkUploadFile/src/hooks/useFileInfo.d.ts +1 -0
  40. package/dist/src/iking-ui/version.d.ts +1 -1
  41. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as fe, computed as ae, openBlock as _, createElementBlock as I, createElementVNode as S, inject as Pt, useModel as vi, ref as we, reactive as Ou, watch as ni, nextTick as Nt, Fragment as ue, createBlock as G, unref as w, createCommentVNode as P, createVNode as M, withCtx as j, toDisplayString as ce, mergeModels as ft, resolveComponent as na, normalizeStyle as me, normalizeClass as te, h as Fu, mergeProps as Kr, createSlots as ra, renderSlot as he, createTextVNode as Et, markRaw as La, effectScope as Mu, shallowRef as Nu, onMounted as Bu, Teleport as wl, Transition as Cl, withModifiers as De, resolveDynamicComponent as Hu, renderList as Yr, withDirectives as Uu, vShow as zu, normalizeProps as Ii, guardReactiveProps as Pi, isRef as ju } from "vue";
1
+ import { defineComponent as ce, computed as ne, openBlock as T, createElementBlock as I, createElementVNode as S, inject as Pt, useModel as vi, ref as we, reactive as Ou, watch as ni, nextTick as Nt, Fragment as ue, createBlock as G, unref as w, createCommentVNode as P, createVNode as M, withCtx as j, toDisplayString as he, mergeModels as ft, resolveComponent as na, renderSlot as fe, normalizeStyle as me, normalizeClass as te, h as Fu, mergeProps as Kr, createSlots as ra, createTextVNode as Et, markRaw as La, effectScope as Mu, shallowRef as Nu, onMounted as Bu, Teleport as wl, Transition as Cl, withModifiers as De, resolveDynamicComponent as Hu, renderList as Yr, withDirectives as Uu, vShow as zu, normalizeProps as Ii, guardReactiveProps as Pi, isRef as ju } from "vue";
2
2
  import { useLocale as Vu, useNamespace as kl, useZIndex as qu, ElIcon as Te, EVENT_CODE as bt, ElMessage as Di, ElProgress as pi, ElButton as Wu, ElTooltip as _l, ElUpload as Oa } from "element-plus";
3
3
  import { ScaleToOriginal as Gu, FullScreen as $u, Close as Tl, ArrowLeft as Ku, ArrowRight as Yu, ZoomOut as Xu, ZoomIn as Zu, RefreshLeft as Ju, RefreshRight as Qu, WarningFilled as ec, View as tc, Download as ic, QuestionFilled as Sl } from "@element-plus/icons-vue";
4
4
  import { buildUUID as Al, paramType as Fa, _ as Ri, ikFile as nc } from "iking-utils-pro";
@@ -6,7 +6,7 @@ import rc from "axios";
6
6
  import { Icon as Ma } from "@iconify/vue";
7
7
  import { UseImage as Na } from "@vueuse/components";
8
8
  import { useEventListener as Zt } from "@vueuse/core";
9
- const it = (a, s) => (a.install = (r) => {
9
+ const $e = (a, s) => (a.install = (r) => {
10
10
  for (const t of [a, ...Object.values({})])
11
11
  r.component(t.name, t);
12
12
  }, a);
@@ -258,7 +258,7 @@ const ut = (a, s) => {
258
258
  "p-id": "7515",
259
259
  width: "200",
260
260
  height: "200"
261
- }, bc = /* @__PURE__ */ fe({
261
+ }, bc = /* @__PURE__ */ ce({
262
262
  __name: "IkFileIcon",
263
263
  props: {
264
264
  type: {
@@ -279,8 +279,8 @@ const ut = (a, s) => {
279
279
  }
280
280
  },
281
281
  setup(a) {
282
- const s = a, r = ae(() => s.file ? ut(s.file, s.fields) : s.type);
283
- return (t, e) => r.value === "image" ? (_(), I("svg", oc, [...e[0] || (e[0] = [
282
+ const s = a, r = ne(() => s.file ? ut(s.file, s.fields) : s.type);
283
+ return (t, e) => r.value === "image" ? (T(), I("svg", oc, [...e[0] || (e[0] = [
284
284
  S(
285
285
  "path",
286
286
  {
@@ -325,7 +325,7 @@ const ut = (a, s) => {
325
325
  -1
326
326
  /* CACHED */
327
327
  )
328
- ])])) : r.value === "zip" ? (_(), I("svg", lc, [...e[1] || (e[1] = [
328
+ ])])) : r.value === "zip" ? (T(), I("svg", lc, [...e[1] || (e[1] = [
329
329
  S(
330
330
  "path",
331
331
  {
@@ -348,7 +348,7 @@ const ut = (a, s) => {
348
348
  -1
349
349
  /* CACHED */
350
350
  )
351
- ])])) : r.value === "ppt" ? (_(), I("svg", uc, [...e[2] || (e[2] = [
351
+ ])])) : r.value === "ppt" ? (T(), I("svg", uc, [...e[2] || (e[2] = [
352
352
  S(
353
353
  "path",
354
354
  {
@@ -371,7 +371,7 @@ const ut = (a, s) => {
371
371
  -1
372
372
  /* CACHED */
373
373
  )
374
- ])])) : r.value === "word" ? (_(), I("svg", cc, [...e[3] || (e[3] = [
374
+ ])])) : r.value === "word" ? (T(), I("svg", cc, [...e[3] || (e[3] = [
375
375
  S(
376
376
  "path",
377
377
  {
@@ -394,7 +394,7 @@ const ut = (a, s) => {
394
394
  -1
395
395
  /* CACHED */
396
396
  )
397
- ])])) : r.value === "pdf" ? (_(), I("svg", fc, [...e[4] || (e[4] = [
397
+ ])])) : r.value === "pdf" ? (T(), I("svg", fc, [...e[4] || (e[4] = [
398
398
  S(
399
399
  "path",
400
400
  {
@@ -417,7 +417,7 @@ const ut = (a, s) => {
417
417
  -1
418
418
  /* CACHED */
419
419
  )
420
- ])])) : r.value === "txt" ? (_(), I("svg", hc, [...e[5] || (e[5] = [
420
+ ])])) : r.value === "txt" ? (T(), I("svg", hc, [...e[5] || (e[5] = [
421
421
  S(
422
422
  "path",
423
423
  {
@@ -440,7 +440,7 @@ const ut = (a, s) => {
440
440
  -1
441
441
  /* CACHED */
442
442
  )
443
- ])])) : r.value === "audio" ? (_(), I("svg", dc, [...e[6] || (e[6] = [
443
+ ])])) : r.value === "audio" ? (T(), I("svg", dc, [...e[6] || (e[6] = [
444
444
  S(
445
445
  "path",
446
446
  {
@@ -463,7 +463,7 @@ const ut = (a, s) => {
463
463
  -1
464
464
  /* CACHED */
465
465
  )
466
- ])])) : r.value === "video" ? (_(), I("svg", gc, [...e[7] || (e[7] = [
466
+ ])])) : r.value === "video" ? (T(), I("svg", gc, [...e[7] || (e[7] = [
467
467
  S(
468
468
  "path",
469
469
  {
@@ -486,7 +486,7 @@ const ut = (a, s) => {
486
486
  -1
487
487
  /* CACHED */
488
488
  )
489
- ])])) : r.value === "excel" ? (_(), I("svg", vc, [...e[8] || (e[8] = [
489
+ ])])) : r.value === "excel" ? (T(), I("svg", vc, [...e[8] || (e[8] = [
490
490
  S(
491
491
  "path",
492
492
  {
@@ -521,7 +521,7 @@ const ut = (a, s) => {
521
521
  -1
522
522
  /* CACHED */
523
523
  )
524
- ])])) : r.value === "exe" ? (_(), I("svg", pc, [...e[9] || (e[9] = [
524
+ ])])) : r.value === "exe" ? (T(), I("svg", pc, [...e[9] || (e[9] = [
525
525
  S(
526
526
  "path",
527
527
  {
@@ -567,7 +567,7 @@ const ut = (a, s) => {
567
567
  -1
568
568
  /* CACHED */
569
569
  )
570
- ])])) : r.value === "json" ? (_(), I("svg", mc, [...e[10] || (e[10] = [
570
+ ])])) : r.value === "json" ? (T(), I("svg", mc, [...e[10] || (e[10] = [
571
571
  S(
572
572
  "path",
573
573
  {
@@ -602,7 +602,7 @@ const ut = (a, s) => {
602
602
  -1
603
603
  /* CACHED */
604
604
  )
605
- ])])) : (_(), I("svg", yc, [...e[11] || (e[11] = [
605
+ ])])) : (T(), I("svg", yc, [...e[11] || (e[11] = [
606
606
  S(
607
607
  "path",
608
608
  {
@@ -638,7 +638,7 @@ const ut = (a, s) => {
638
638
  )
639
639
  ])]));
640
640
  }
641
- }), aa = it(bc), Be = (a, s) => {
641
+ }), aa = $e(bc), Be = (a, s) => {
642
642
  const r = a.__vccOpts || a;
643
643
  for (const [t, e] of s)
644
644
  r[t] = e;
@@ -709,7 +709,7 @@ const ut = (a, s) => {
709
709
  "flv",
710
710
  "tls"
711
711
  ], xl = (a) => {
712
- const s = Pt("loadUrl"), r = ae(() => a.loadUrl || a.fileUrl || (s == null ? void 0 : s.value)), t = Pt("uploadUrl"), e = ae(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Pt("token"), n = ae(() => a.token || (i == null ? void 0 : i.value)), o = Pt("onlyofficeConfig"), l = ae(() => a.onlyofficeConfig || (o == null ? void 0 : o.value)), u = Pt("userInfo"), c = ae(() => a.userInfo || (u == null ? void 0 : u.value)), h = [...Ha, ...Ha.map((d) => d.toLocaleUpperCase())];
712
+ const s = Pt("loadUrl"), r = ne(() => a.loadUrl || a.fileUrl || (s == null ? void 0 : s.value)), t = Pt("uploadUrl"), e = ne(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Pt("token"), n = ne(() => a.token || (i == null ? void 0 : i.value)), o = Pt("onlyofficeConfig"), l = ne(() => a.onlyofficeConfig || (o == null ? void 0 : o.value)), u = Pt("userInfo"), c = ne(() => a.userInfo || (u == null ? void 0 : u.value)), h = [...Ha, ...Ha.map((d) => d.toLocaleUpperCase())];
713
713
  return {
714
714
  cLoadUrl: r,
715
715
  cUploadUrl: e,
@@ -721,7 +721,7 @@ const ut = (a, s) => {
721
721
  Authorization: n.value
722
722
  }
723
723
  };
724
- }, wc = { class: "head-logo" }, Cc = ["src"], kc = { class: "text-preview-container" }, _c = { class: "text-preview-header" }, Tc = { class: "file-name" }, Sc = { class: "text-preview-content" }, Ac = /* @__PURE__ */ fe({
724
+ }, wc = { class: "head-logo" }, Cc = ["src"], kc = { class: "text-preview-container" }, _c = { class: "text-preview-header" }, Tc = { class: "file-name" }, Sc = { class: "text-preview-content" }, Ac = /* @__PURE__ */ ce({
725
725
  __name: "IkPreviewFileDialog",
726
726
  props: /* @__PURE__ */ ft({
727
727
  file: {
@@ -758,7 +758,7 @@ const ut = (a, s) => {
758
758
  }),
759
759
  emits: /* @__PURE__ */ ft(["close"], ["update:show"]),
760
760
  setup(a, { emit: s }) {
761
- const r = a, t = s, e = vi(a, "show"), i = ae(() => ({
761
+ const r = a, t = s, e = vi(a, "show"), i = ne(() => ({
762
762
  name: "name",
763
763
  url: "url",
764
764
  suffix: "suffix",
@@ -770,7 +770,7 @@ const ut = (a, s) => {
770
770
  video: !1,
771
771
  text: !1
772
772
  }), c = (v) => {
773
- var m, p, T, y, C, E, x;
773
+ var m, p, _, y, C, E, x;
774
774
  try {
775
775
  const D = ((m = v == null ? void 0 : v.response) == null ? void 0 : m.data) || v, Z = D[i.value.url] || (D == null ? void 0 : D.id) || D.attachmentId, Y = (p = D[i.value.suffix] || D.attachmentSuffix) == null ? void 0 : p.toLowerCase(), q = D[i.value.name] || (D == null ? void 0 : D.attachmentName) || (D == null ? void 0 : D.originName);
776
776
  if (o.value = {
@@ -786,7 +786,7 @@ const ut = (a, s) => {
786
786
  } else if (v && ut(v, i.value) === "txt") {
787
787
  u.text = !0, h(o.value.url);
788
788
  return;
789
- } else if ((((T = r.onlyOfficeConfig) == null ? void 0 : T.accept) || r.onlyOfficeAccept).includes(Y)) {
789
+ } else if ((((_ = r.onlyOfficeConfig) == null ? void 0 : _.accept) || r.onlyOfficeAccept).includes(Y)) {
790
790
  u.office = !0, n.value = {
791
791
  ...r.onlyOfficeConfig,
792
792
  editorConfig: {
@@ -836,22 +836,22 @@ const ut = (a, s) => {
836
836
  (m = (v = n.value.editorConfig.customization) == null ? void 0 : v.logo) != null && m.link && window.open(n.value.editorConfig.customization.logo.link);
837
837
  };
838
838
  return (v, m) => {
839
- var p, T, y;
840
- return e.value ? (_(), I(
839
+ var p, _, y;
840
+ return e.value ? (T(), I(
841
841
  ue,
842
842
  { key: 0 },
843
843
  [
844
- (p = o.value) != null && p.url && u.image ? (_(), G(w(yh), {
844
+ (p = o.value) != null && p.url && u.image ? (T(), G(w(wh), {
845
845
  key: 0,
846
846
  onClose: m[0] || (m[0] = (C) => d()),
847
847
  ref: "previewImgRef",
848
- "url-list": [(T = o.value) == null ? void 0 : T.url],
848
+ "url-list": [(_ = o.value) == null ? void 0 : _.url],
849
849
  teleported: "",
850
850
  "z-index": 9999
851
851
  }, null, 8, ["url-list"])) : P("v-if", !0),
852
852
  P(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
853
853
  P(" 文档类 "),
854
- M(w(xg), {
854
+ M(w(Pg), {
855
855
  modelValue: u.video,
856
856
  "onUpdate:modelValue": m[1] || (m[1] = (C) => u.video = C),
857
857
  url: (y = o.value) == null ? void 0 : y.url,
@@ -882,7 +882,7 @@ const ut = (a, s) => {
882
882
  alt: ""
883
883
  }, null, 8, Cc)
884
884
  ]),
885
- M(w(dh), {
885
+ M(w(vh), {
886
886
  "config-options": n.value,
887
887
  "document-server-url": ((x = a.onlyOfficeConfig) == null ? void 0 : x.serverUrl) || a.onlyofficeServer
888
888
  }, null, 8, ["config-options", "document-server-url"])
@@ -915,7 +915,7 @@ const ut = (a, s) => {
915
915
  S(
916
916
  "span",
917
917
  Tc,
918
- ce((C = o.value) == null ? void 0 : C.name),
918
+ he((C = o.value) == null ? void 0 : C.name),
919
919
  1
920
920
  /* TEXT */
921
921
  )
@@ -923,7 +923,7 @@ const ut = (a, s) => {
923
923
  S(
924
924
  "pre",
925
925
  Sc,
926
- ce(l.value),
926
+ he(l.value),
927
927
  1
928
928
  /* TEXT */
929
929
  )
@@ -939,15 +939,54 @@ const ut = (a, s) => {
939
939
  )) : P("v-if", !0);
940
940
  };
941
941
  }
942
- }), Ec = it(Ac);
942
+ }), Ec = $e(Ac);
943
943
  function Il(a) {
944
944
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
945
945
  }
946
- const xc = {
946
+ const xc = /* @__PURE__ */ ce({
947
+ __name: "index",
948
+ props: {
949
+ effect: {
950
+ type: String,
951
+ default: "dark"
952
+ },
953
+ content: {
954
+ type: String,
955
+ default: ""
956
+ },
957
+ text: {
958
+ type: String,
959
+ default: ""
960
+ },
961
+ placement: {
962
+ type: String,
963
+ default: "top"
964
+ }
965
+ },
966
+ setup(a) {
967
+ const s = a, r = ne(() => s.effect);
968
+ return (t, e) => {
969
+ const i = na("el-tooltip");
970
+ return T(), G(i, {
971
+ class: "gl-tooltip",
972
+ effect: r.value,
973
+ content: a.text || a.content,
974
+ placement: a.placement,
975
+ enterable: !1
976
+ }, {
977
+ default: j(() => [
978
+ fe(t.$slots, "default")
979
+ ]),
980
+ _: 3
981
+ /* FORWARDED */
982
+ }, 8, ["effect", "content", "placement"]);
983
+ };
984
+ }
985
+ }), Ic = $e(xc), Pc = {
947
986
  key: 2,
948
987
  class: "shrink-0 size-inherit",
949
988
  "aria-hidden": "true"
950
- }, Ic = ["xlink:href"], Pc = ["xlink:href"], Dc = ["size"], Rc = ["xlink:href"], Lc = ["xlink:href"], Oc = /* @__PURE__ */ fe({
989
+ }, Dc = ["xlink:href"], Rc = ["xlink:href"], Lc = ["size"], Oc = ["xlink:href"], Fc = ["xlink:href"], Mc = /* @__PURE__ */ ce({
951
990
  name: "IkSvgIcon",
952
991
  __name: "index",
953
992
  props: {
@@ -970,7 +1009,7 @@ const xc = {
970
1009
  },
971
1010
  emits: ["click"],
972
1011
  setup(a, { emit: s }) {
973
- const r = a, t = s, e = ae(() => r.danger ? "danger" : r.error ? "error" : r.type), i = ae(() => {
1012
+ const r = a, t = s, e = ne(() => r.danger ? "danger" : r.error ? "error" : r.type), i = ne(() => {
974
1013
  if (!r.name)
975
1014
  return;
976
1015
  const d = (g) => /^\.{1,2}\//.test(g) || g.startsWith("/") || g.includes("/");
@@ -983,14 +1022,14 @@ const xc = {
983
1022
  function o() {
984
1023
  return r.size ? n[r.size] || r.size : 18;
985
1024
  }
986
- const l = ae(() => {
1025
+ const l = ne(() => {
987
1026
  const d = o(), g = typeof d == "number" ? `${d}px` : d;
988
1027
  return {
989
1028
  width: g,
990
1029
  height: g,
991
1030
  fontSize: g
992
1031
  };
993
- }), u = ae(() => {
1032
+ }), u = ne(() => {
994
1033
  const g = `${Number.parseInt(o()) + 8}px`;
995
1034
  return {
996
1035
  width: g,
@@ -1000,7 +1039,7 @@ const xc = {
1000
1039
  function c(d) {
1001
1040
  r.onClick ? r.onClick(d) : t("click", d);
1002
1041
  }
1003
- const h = ae(() => {
1042
+ const h = ne(() => {
1004
1043
  if (i.value !== "two-color-svg")
1005
1044
  return {};
1006
1045
  const d = {};
@@ -1021,9 +1060,8 @@ const xc = {
1021
1060
  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;
1022
1061
  });
1023
1062
  return (d, g) => {
1024
- var m;
1025
- const v = na("IkTooltip");
1026
- return _(), I(
1063
+ var v;
1064
+ return T(), I(
1027
1065
  "i",
1028
1066
  {
1029
1067
  class: te(w(El)(
@@ -1040,32 +1078,32 @@ const xc = {
1040
1078
  onClick: c
1041
1079
  },
1042
1080
  [
1043
- a.title ? (_(), G(v, {
1081
+ a.title ? (T(), G(w(Ic), {
1044
1082
  key: 0,
1045
1083
  text: a.title
1046
1084
  }, {
1047
1085
  default: j(() => {
1048
- var p;
1086
+ var m;
1049
1087
  return [
1050
- i.value === "unocss" ? (_(), I(
1088
+ i.value === "unocss" ? (T(), I(
1051
1089
  "i",
1052
1090
  {
1053
1091
  key: 0,
1054
- class: te(["iconfont shrink-0 size-inherit", `${a.name} ${(p = a.name) == null ? void 0 : p.split("_")[0]}`]),
1092
+ class: te(["iconfont shrink-0 size-inherit", `${a.name} ${(m = a.name) == null ? void 0 : m.split("_")[0]}`]),
1055
1093
  style: me({ ...h.value, ...a.showBg ? l.value : {} })
1056
1094
  },
1057
1095
  null,
1058
1096
  6
1059
1097
  /* CLASS, STYLE */
1060
- )) : i.value === "iconify" ? (_(), G(w(Ma), {
1098
+ )) : i.value === "iconify" ? (T(), G(w(Ma), {
1061
1099
  key: 1,
1062
1100
  icon: a.name,
1063
1101
  class: "shrink-0 size-inherit"
1064
- }, null, 8, ["icon"])) : i.value === "svg" ? (_(), I("svg", xc, [
1102
+ }, null, 8, ["icon"])) : i.value === "svg" ? (T(), I("svg", Pc, [
1065
1103
  S("use", {
1066
1104
  "xlink:href": `#icon-${a.name}`
1067
- }, null, 8, Ic)
1068
- ])) : i.value === "two-color-svg" ? (_(), I(
1105
+ }, null, 8, Dc)
1106
+ ])) : i.value === "two-color-svg" ? (T(), I(
1069
1107
  "svg",
1070
1108
  {
1071
1109
  key: 3,
@@ -1076,11 +1114,11 @@ const xc = {
1076
1114
  [
1077
1115
  S("use", {
1078
1116
  "xlink:href": `#${a.name}`
1079
- }, null, 8, Pc)
1117
+ }, null, 8, Rc)
1080
1118
  ],
1081
1119
  4
1082
1120
  /* STYLE */
1083
- )) : i.value === "img" ? (_(), G(w(Na), {
1121
+ )) : i.value === "img" ? (T(), G(w(Na), {
1084
1122
  key: 4,
1085
1123
  src: a.name,
1086
1124
  class: "shrink-0"
@@ -1110,25 +1148,25 @@ const xc = {
1110
1148
  }),
1111
1149
  _: 1
1112
1150
  /* STABLE */
1113
- }, 8, ["text"])) : (_(), I(
1151
+ }, 8, ["text"])) : (T(), I(
1114
1152
  ue,
1115
1153
  { key: 1 },
1116
1154
  [
1117
- i.value === "unocss" ? (_(), I(
1155
+ i.value === "unocss" ? (T(), I(
1118
1156
  "i",
1119
1157
  {
1120
1158
  key: 0,
1121
- class: te(["iconfont shrink-0 size-inherit", `${a.name} ${(m = a.name) == null ? void 0 : m.split("_")[0]}`]),
1159
+ class: te(["iconfont shrink-0 size-inherit", `${a.name} ${(v = a.name) == null ? void 0 : v.split("_")[0]}`]),
1122
1160
  style: me({ ...h.value, ...a.showBg ? l.value : {} })
1123
1161
  },
1124
1162
  null,
1125
1163
  6
1126
1164
  /* CLASS, STYLE */
1127
- )) : i.value === "iconify" ? (_(), G(w(Ma), {
1165
+ )) : i.value === "iconify" ? (T(), G(w(Ma), {
1128
1166
  key: 1,
1129
1167
  icon: a.name,
1130
1168
  class: "shrink-0 size-inherit"
1131
- }, null, 8, ["icon"])) : i.value === "svg" ? (_(), I("svg", {
1169
+ }, null, 8, ["icon"])) : i.value === "svg" ? (T(), I("svg", {
1132
1170
  key: 2,
1133
1171
  class: "shrink-0 size-inherit",
1134
1172
  size: a.size,
@@ -1136,8 +1174,8 @@ const xc = {
1136
1174
  }, [
1137
1175
  S("use", {
1138
1176
  "xlink:href": `#icon-${a.name}`
1139
- }, null, 8, Rc)
1140
- ], 8, Dc)) : i.value === "two-color-svg" ? (_(), I(
1177
+ }, null, 8, Oc)
1178
+ ], 8, Lc)) : i.value === "two-color-svg" ? (T(), I(
1141
1179
  "svg",
1142
1180
  {
1143
1181
  key: 3,
@@ -1148,11 +1186,11 @@ const xc = {
1148
1186
  [
1149
1187
  S("use", {
1150
1188
  "xlink:href": `#${a.name}`
1151
- }, null, 8, Lc)
1189
+ }, null, 8, Fc)
1152
1190
  ],
1153
1191
  4
1154
1192
  /* STYLE */
1155
- )) : i.value === "img" ? (_(), G(w(Na), {
1193
+ )) : i.value === "img" ? (T(), G(w(Na), {
1156
1194
  key: 4,
1157
1195
  src: a.name,
1158
1196
  class: "shrink-0"
@@ -1188,7 +1226,7 @@ const xc = {
1188
1226
  );
1189
1227
  };
1190
1228
  }
1191
- }), Fc = /* @__PURE__ */ Be(Oc, [["__scopeId", "data-v-7dee8b6e"]]), le = it(Fc), Mc = /* @__PURE__ */ fe({
1229
+ }), Nc = /* @__PURE__ */ Be(Mc, [["__scopeId", "data-v-c202da9d"]]), le = $e(Nc), Bc = /* @__PURE__ */ ce({
1192
1230
  __name: "CloseIcon",
1193
1231
  props: {
1194
1232
  showBg: {
@@ -1201,7 +1239,7 @@ const xc = {
1201
1239
  }
1202
1240
  },
1203
1241
  setup(a) {
1204
- return (s, r) => (_(), I(
1242
+ return (s, r) => (T(), I(
1205
1243
  "div",
1206
1244
  {
1207
1245
  class: te({ "exit-main-page-maximize": a.showBg && a.fullscreen })
@@ -1218,7 +1256,7 @@ const xc = {
1218
1256
  /* CLASS */
1219
1257
  ));
1220
1258
  }
1221
- }), Nc = /* @__PURE__ */ Be(Mc, [["__scopeId", "data-v-739899b1"]]), Bc = { class: "base-header" }, Hc = /* @__PURE__ */ fe({
1259
+ }), Hc = /* @__PURE__ */ Be(Bc, [["__scopeId", "data-v-739899b1"]]), Uc = { class: "base-header" }, zc = /* @__PURE__ */ ce({
1222
1260
  __name: "IkBaseDialog",
1223
1261
  props: /* @__PURE__ */ ft({
1224
1262
  title: { default: "" },
@@ -1240,9 +1278,9 @@ const xc = {
1240
1278
  }),
1241
1279
  emits: ["update:modelValue"],
1242
1280
  setup(a) {
1243
- const s = a, r = vi(a, "modelValue"), t = we(s.fullscreen), e = fe({
1281
+ const s = a, r = vi(a, "modelValue"), t = we(s.fullscreen), e = ce({
1244
1282
  setup() {
1245
- return () => Fu(Nc, {
1283
+ return () => Fu(Hc, {
1246
1284
  showBg: s.showCloseBg,
1247
1285
  fullscreen: s.fullscreen
1248
1286
  });
@@ -1250,7 +1288,7 @@ const xc = {
1250
1288
  });
1251
1289
  return (i, n) => {
1252
1290
  const o = na("el-dialog");
1253
- return _(), G(o, Kr({
1291
+ return T(), G(o, Kr({
1254
1292
  modelValue: r.value,
1255
1293
  "onUpdate:modelValue": n[0] || (n[0] = (l) => r.value = l),
1256
1294
  "align-center": ""
@@ -1262,19 +1300,19 @@ const xc = {
1262
1300
  "modal-class": "baseDialog"
1263
1301
  }), ra({
1264
1302
  icon: j(() => [
1265
- he(i.$slots, "title", {}, () => [
1303
+ fe(i.$slots, "title", {}, () => [
1266
1304
  Et(
1267
- ce(a.title),
1305
+ he(a.title),
1268
1306
  1
1269
1307
  /* TEXT */
1270
1308
  )
1271
1309
  ])
1272
1310
  ]),
1273
1311
  header: j(() => [
1274
- S("div", Bc, [
1275
- he(i.$slots, "header", {}, () => [
1312
+ S("div", Uc, [
1313
+ fe(i.$slots, "header", {}, () => [
1276
1314
  Et(
1277
- ce(a.title),
1315
+ he(a.title),
1278
1316
  1
1279
1317
  /* TEXT */
1280
1318
  )
@@ -1282,7 +1320,7 @@ const xc = {
1282
1320
  ])
1283
1321
  ]),
1284
1322
  default: j(() => [
1285
- he(i.$slots, "default")
1323
+ fe(i.$slots, "default")
1286
1324
  ]),
1287
1325
  _: 2
1288
1326
  /* DYNAMIC */
@@ -1290,15 +1328,15 @@ const xc = {
1290
1328
  i.$slots.footer ? {
1291
1329
  name: "footer",
1292
1330
  fn: j(() => [
1293
- he(i.$slots, "footer")
1331
+ fe(i.$slots, "footer")
1294
1332
  ]),
1295
1333
  key: "0"
1296
1334
  } : void 0
1297
1335
  ]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
1298
1336
  };
1299
1337
  }
1300
- }), Ua = it(Hc);
1301
- function Uc(a, s, r, t) {
1338
+ }), Ua = $e(zc);
1339
+ function jc(a, s, r, t) {
1302
1340
  function e(i) {
1303
1341
  return i instanceof r ? i : new r(function(n) {
1304
1342
  n(i);
@@ -1325,7 +1363,7 @@ function Uc(a, s, r, t) {
1325
1363
  u((t = t.apply(a, [])).next());
1326
1364
  });
1327
1365
  }
1328
- function zc(a, s) {
1366
+ function Vc(a, s) {
1329
1367
  var r = { label: 0, sent: function() {
1330
1368
  if (i[0] & 1) throw i[1];
1331
1369
  return i[1];
@@ -1385,9 +1423,9 @@ function zc(a, s) {
1385
1423
  return { value: u[0] ? u[1] : void 0, done: !0 };
1386
1424
  }
1387
1425
  }
1388
- var jc = function(a, s) {
1389
- return Uc(void 0, void 0, void 0, function() {
1390
- return zc(this, function(r) {
1426
+ var qc = function(a, s) {
1427
+ return jc(void 0, void 0, void 0, function() {
1428
+ return Vc(this, function(r) {
1391
1429
  return [2, new Promise(function(t, e) {
1392
1430
  try {
1393
1431
  if (window.DocsAPI)
@@ -1421,11 +1459,11 @@ var jc = function(a, s) {
1421
1459
  e.removeAttribute("loading"), t(i);
1422
1460
  }, e.setAttribute("loading", ""), e;
1423
1461
  }, Jt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1424
- function Vc(a) {
1462
+ function Wc(a) {
1425
1463
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1426
1464
  }
1427
1465
  var Li, ja;
1428
- function qc() {
1466
+ function Gc() {
1429
1467
  if (ja) return Li;
1430
1468
  ja = 1;
1431
1469
  function a() {
@@ -1456,7 +1494,7 @@ function mi() {
1456
1494
  return Fi = s, Fi;
1457
1495
  }
1458
1496
  var Mi, Wa;
1459
- function Wc() {
1497
+ function $c() {
1460
1498
  if (Wa) return Mi;
1461
1499
  Wa = 1;
1462
1500
  var a = mi(), s = Array.prototype, r = s.splice;
@@ -1470,7 +1508,7 @@ function Wc() {
1470
1508
  return Mi = t, Mi;
1471
1509
  }
1472
1510
  var Ni, Ga;
1473
- function Gc() {
1511
+ function Kc() {
1474
1512
  if (Ga) return Ni;
1475
1513
  Ga = 1;
1476
1514
  var a = mi();
@@ -1481,7 +1519,7 @@ function Gc() {
1481
1519
  return Ni = s, Ni;
1482
1520
  }
1483
1521
  var Bi, $a;
1484
- function $c() {
1522
+ function Yc() {
1485
1523
  if ($a) return Bi;
1486
1524
  $a = 1;
1487
1525
  var a = mi();
@@ -1491,7 +1529,7 @@ function $c() {
1491
1529
  return Bi = s, Bi;
1492
1530
  }
1493
1531
  var Hi, Ka;
1494
- function Kc() {
1532
+ function Xc() {
1495
1533
  if (Ka) return Hi;
1496
1534
  Ka = 1;
1497
1535
  var a = mi();
@@ -1505,7 +1543,7 @@ var Ui, Ya;
1505
1543
  function yi() {
1506
1544
  if (Ya) return Ui;
1507
1545
  Ya = 1;
1508
- var a = qc(), s = Wc(), r = Gc(), t = $c(), e = Kc();
1546
+ var a = Gc(), s = $c(), r = Kc(), t = Yc(), e = Xc();
1509
1547
  function i(n) {
1510
1548
  var o = -1, l = n == null ? 0 : n.length;
1511
1549
  for (this.clear(); ++o < l; ) {
@@ -1516,7 +1554,7 @@ function yi() {
1516
1554
  return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, Ui = i, Ui;
1517
1555
  }
1518
1556
  var zi, Xa;
1519
- function Yc() {
1557
+ function Zc() {
1520
1558
  if (Xa) return zi;
1521
1559
  Xa = 1;
1522
1560
  var a = yi();
@@ -1526,7 +1564,7 @@ function Yc() {
1526
1564
  return zi = s, zi;
1527
1565
  }
1528
1566
  var ji, Za;
1529
- function Xc() {
1567
+ function Jc() {
1530
1568
  if (Za) return ji;
1531
1569
  Za = 1;
1532
1570
  function a(s) {
@@ -1536,7 +1574,7 @@ function Xc() {
1536
1574
  return ji = a, ji;
1537
1575
  }
1538
1576
  var Vi, Ja;
1539
- function Zc() {
1577
+ function Qc() {
1540
1578
  if (Ja) return Vi;
1541
1579
  Ja = 1;
1542
1580
  function a(s) {
@@ -1545,7 +1583,7 @@ function Zc() {
1545
1583
  return Vi = a, Vi;
1546
1584
  }
1547
1585
  var qi, Qa;
1548
- function Jc() {
1586
+ function ef() {
1549
1587
  if (Qa) return qi;
1550
1588
  Qa = 1;
1551
1589
  function a(s) {
@@ -1575,7 +1613,7 @@ function sa() {
1575
1613
  return $i = s, $i;
1576
1614
  }
1577
1615
  var Ki, ns;
1578
- function Qc() {
1616
+ function tf() {
1579
1617
  if (ns) return Ki;
1580
1618
  ns = 1;
1581
1619
  var a = sa(), s = Object.prototype, r = s.hasOwnProperty, t = s.toString, e = a ? a.toStringTag : void 0;
@@ -1592,7 +1630,7 @@ function Qc() {
1592
1630
  return Ki = i, Ki;
1593
1631
  }
1594
1632
  var Yi, rs;
1595
- function ef() {
1633
+ function nf() {
1596
1634
  if (rs) return Yi;
1597
1635
  rs = 1;
1598
1636
  var a = Object.prototype, s = a.toString;
@@ -1605,7 +1643,7 @@ var Xi, as;
1605
1643
  function bi() {
1606
1644
  if (as) return Xi;
1607
1645
  as = 1;
1608
- var a = sa(), s = Qc(), r = ef(), t = "[object Null]", e = "[object Undefined]", i = a ? a.toStringTag : void 0;
1646
+ var a = sa(), s = tf(), r = nf(), t = "[object Null]", e = "[object Undefined]", i = a ? a.toStringTag : void 0;
1609
1647
  function n(o) {
1610
1648
  return o == null ? o === void 0 ? e : t : i && i in Object(o) ? s(o) : r(o);
1611
1649
  }
@@ -1635,17 +1673,17 @@ function Rl() {
1635
1673
  return Ji = n, Ji;
1636
1674
  }
1637
1675
  var Qi, ls;
1638
- function tf() {
1676
+ function rf() {
1639
1677
  if (ls) return Qi;
1640
1678
  ls = 1;
1641
1679
  var a = He(), s = a["__core-js_shared__"];
1642
1680
  return Qi = s, Qi;
1643
1681
  }
1644
1682
  var en, us;
1645
- function nf() {
1683
+ function af() {
1646
1684
  if (us) return en;
1647
1685
  us = 1;
1648
- var a = tf(), s = (function() {
1686
+ var a = rf(), s = (function() {
1649
1687
  var t = /[^.]+$/.exec(a && a.keys && a.keys.IE_PROTO || "");
1650
1688
  return t ? "Symbol(src)_1." + t : "";
1651
1689
  })();
@@ -1675,10 +1713,10 @@ function Ll() {
1675
1713
  return tn = r, tn;
1676
1714
  }
1677
1715
  var nn, fs;
1678
- function rf() {
1716
+ function sf() {
1679
1717
  if (fs) return nn;
1680
1718
  fs = 1;
1681
- var a = Rl(), s = nf(), r = zt(), t = Ll(), e = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, n = Function.prototype, o = Object.prototype, l = n.toString, u = o.hasOwnProperty, c = RegExp(
1719
+ var a = Rl(), s = af(), r = zt(), t = Ll(), e = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, n = Function.prototype, o = Object.prototype, l = n.toString, u = o.hasOwnProperty, c = RegExp(
1682
1720
  "^" + l.call(u).replace(e, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1683
1721
  );
1684
1722
  function h(d) {
@@ -1690,7 +1728,7 @@ function rf() {
1690
1728
  return nn = h, nn;
1691
1729
  }
1692
1730
  var rn, hs;
1693
- function af() {
1731
+ function of() {
1694
1732
  if (hs) return rn;
1695
1733
  hs = 1;
1696
1734
  function a(s, r) {
@@ -1702,7 +1740,7 @@ var an, ds;
1702
1740
  function ht() {
1703
1741
  if (ds) return an;
1704
1742
  ds = 1;
1705
- var a = rf(), s = af();
1743
+ var a = sf(), s = of();
1706
1744
  function r(t, e) {
1707
1745
  var i = s(t, e);
1708
1746
  return a(i) ? i : void 0;
@@ -1724,7 +1762,7 @@ function wi() {
1724
1762
  return on = s, on;
1725
1763
  }
1726
1764
  var ln, ps;
1727
- function sf() {
1765
+ function lf() {
1728
1766
  if (ps) return ln;
1729
1767
  ps = 1;
1730
1768
  var a = wi();
@@ -1734,7 +1772,7 @@ function sf() {
1734
1772
  return ln = s, ln;
1735
1773
  }
1736
1774
  var un, ms;
1737
- function of() {
1775
+ function uf() {
1738
1776
  if (ms) return un;
1739
1777
  ms = 1;
1740
1778
  function a(s) {
@@ -1744,7 +1782,7 @@ function of() {
1744
1782
  return un = a, un;
1745
1783
  }
1746
1784
  var cn, ys;
1747
- function lf() {
1785
+ function cf() {
1748
1786
  if (ys) return cn;
1749
1787
  ys = 1;
1750
1788
  var a = wi(), s = "__lodash_hash_undefined__", r = Object.prototype, t = r.hasOwnProperty;
@@ -1759,7 +1797,7 @@ function lf() {
1759
1797
  return cn = e, cn;
1760
1798
  }
1761
1799
  var fn, bs;
1762
- function uf() {
1800
+ function ff() {
1763
1801
  if (bs) return fn;
1764
1802
  bs = 1;
1765
1803
  var a = wi(), s = Object.prototype, r = s.hasOwnProperty;
@@ -1770,7 +1808,7 @@ function uf() {
1770
1808
  return fn = t, fn;
1771
1809
  }
1772
1810
  var hn, ws;
1773
- function cf() {
1811
+ function hf() {
1774
1812
  if (ws) return hn;
1775
1813
  ws = 1;
1776
1814
  var a = wi(), s = "__lodash_hash_undefined__";
@@ -1781,10 +1819,10 @@ function cf() {
1781
1819
  return hn = r, hn;
1782
1820
  }
1783
1821
  var dn, Cs;
1784
- function ff() {
1822
+ function df() {
1785
1823
  if (Cs) return dn;
1786
1824
  Cs = 1;
1787
- var a = sf(), s = of(), r = lf(), t = uf(), e = cf();
1825
+ var a = lf(), s = uf(), r = cf(), t = ff(), e = hf();
1788
1826
  function i(n) {
1789
1827
  var o = -1, l = n == null ? 0 : n.length;
1790
1828
  for (this.clear(); ++o < l; ) {
@@ -1795,10 +1833,10 @@ function ff() {
1795
1833
  return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, dn = i, dn;
1796
1834
  }
1797
1835
  var gn, ks;
1798
- function hf() {
1836
+ function gf() {
1799
1837
  if (ks) return gn;
1800
1838
  ks = 1;
1801
- var a = ff(), s = yi(), r = oa();
1839
+ var a = df(), s = yi(), r = oa();
1802
1840
  function t() {
1803
1841
  this.size = 0, this.__data__ = {
1804
1842
  hash: new a(),
@@ -1809,7 +1847,7 @@ function hf() {
1809
1847
  return gn = t, gn;
1810
1848
  }
1811
1849
  var vn, _s;
1812
- function df() {
1850
+ function vf() {
1813
1851
  if (_s) return vn;
1814
1852
  _s = 1;
1815
1853
  function a(s) {
@@ -1822,7 +1860,7 @@ var pn, Ts;
1822
1860
  function Ci() {
1823
1861
  if (Ts) return pn;
1824
1862
  Ts = 1;
1825
- var a = df();
1863
+ var a = vf();
1826
1864
  function s(r, t) {
1827
1865
  var e = r.__data__;
1828
1866
  return a(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
@@ -1830,7 +1868,7 @@ function Ci() {
1830
1868
  return pn = s, pn;
1831
1869
  }
1832
1870
  var mn, Ss;
1833
- function gf() {
1871
+ function pf() {
1834
1872
  if (Ss) return mn;
1835
1873
  Ss = 1;
1836
1874
  var a = Ci();
@@ -1841,7 +1879,7 @@ function gf() {
1841
1879
  return mn = s, mn;
1842
1880
  }
1843
1881
  var yn, As;
1844
- function vf() {
1882
+ function mf() {
1845
1883
  if (As) return yn;
1846
1884
  As = 1;
1847
1885
  var a = Ci();
@@ -1851,7 +1889,7 @@ function vf() {
1851
1889
  return yn = s, yn;
1852
1890
  }
1853
1891
  var bn, Es;
1854
- function pf() {
1892
+ function yf() {
1855
1893
  if (Es) return bn;
1856
1894
  Es = 1;
1857
1895
  var a = Ci();
@@ -1861,7 +1899,7 @@ function pf() {
1861
1899
  return bn = s, bn;
1862
1900
  }
1863
1901
  var wn, xs;
1864
- function mf() {
1902
+ function bf() {
1865
1903
  if (xs) return wn;
1866
1904
  xs = 1;
1867
1905
  var a = Ci();
@@ -1872,10 +1910,10 @@ function mf() {
1872
1910
  return wn = s, wn;
1873
1911
  }
1874
1912
  var Cn, Is;
1875
- function yf() {
1913
+ function wf() {
1876
1914
  if (Is) return Cn;
1877
1915
  Is = 1;
1878
- var a = hf(), s = gf(), r = vf(), t = pf(), e = mf();
1916
+ var a = gf(), s = pf(), r = mf(), t = yf(), e = bf();
1879
1917
  function i(n) {
1880
1918
  var o = -1, l = n == null ? 0 : n.length;
1881
1919
  for (this.clear(); ++o < l; ) {
@@ -1886,10 +1924,10 @@ function yf() {
1886
1924
  return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, Cn = i, Cn;
1887
1925
  }
1888
1926
  var kn, Ps;
1889
- function bf() {
1927
+ function Cf() {
1890
1928
  if (Ps) return kn;
1891
1929
  Ps = 1;
1892
- var a = yi(), s = oa(), r = yf(), t = 200;
1930
+ var a = yi(), s = oa(), r = wf(), t = 200;
1893
1931
  function e(i, n) {
1894
1932
  var o = this.__data__;
1895
1933
  if (o instanceof a) {
@@ -1903,10 +1941,10 @@ function bf() {
1903
1941
  return kn = e, kn;
1904
1942
  }
1905
1943
  var _n, Ds;
1906
- function wf() {
1944
+ function kf() {
1907
1945
  if (Ds) return _n;
1908
1946
  Ds = 1;
1909
- var a = yi(), s = Yc(), r = Xc(), t = Zc(), e = Jc(), i = bf();
1947
+ var a = yi(), s = Zc(), r = Jc(), t = Qc(), e = ef(), i = Cf();
1910
1948
  function n(o) {
1911
1949
  var l = this.__data__ = new a(o);
1912
1950
  this.size = l.size;
@@ -1914,7 +1952,7 @@ function wf() {
1914
1952
  return n.prototype.clear = s, n.prototype.delete = r, n.prototype.get = t, n.prototype.has = e, n.prototype.set = i, _n = n, _n;
1915
1953
  }
1916
1954
  var Tn, Rs;
1917
- function Cf() {
1955
+ function _f() {
1918
1956
  if (Rs) return Tn;
1919
1957
  Rs = 1;
1920
1958
  function a(s, r) {
@@ -1925,7 +1963,7 @@ function Cf() {
1925
1963
  return Tn = a, Tn;
1926
1964
  }
1927
1965
  var Sn, Ls;
1928
- function kf() {
1966
+ function Tf() {
1929
1967
  if (Ls) return Sn;
1930
1968
  Ls = 1;
1931
1969
  var a = ht(), s = (function() {
@@ -1941,7 +1979,7 @@ var An, Os;
1941
1979
  function Ol() {
1942
1980
  if (Os) return An;
1943
1981
  Os = 1;
1944
- var a = kf();
1982
+ var a = Tf();
1945
1983
  function s(r, t, e) {
1946
1984
  t == "__proto__" && a ? a(r, t, {
1947
1985
  configurable: !0,
@@ -1980,7 +2018,7 @@ function ki() {
1980
2018
  return xn = r, xn;
1981
2019
  }
1982
2020
  var In, Ns;
1983
- function _f() {
2021
+ function Sf() {
1984
2022
  if (Ns) return In;
1985
2023
  Ns = 1;
1986
2024
  function a(s, r) {
@@ -2000,7 +2038,7 @@ function jt() {
2000
2038
  return Pn = a, Pn;
2001
2039
  }
2002
2040
  var Dn, Hs;
2003
- function Tf() {
2041
+ function Af() {
2004
2042
  if (Hs) return Dn;
2005
2043
  Hs = 1;
2006
2044
  var a = bi(), s = jt(), r = "[object Arguments]";
@@ -2010,10 +2048,10 @@ function Tf() {
2010
2048
  return Dn = t, Dn;
2011
2049
  }
2012
2050
  var Rn, Us;
2013
- function Sf() {
2051
+ function Ef() {
2014
2052
  if (Us) return Rn;
2015
2053
  Us = 1;
2016
- var a = Tf(), s = jt(), r = Object.prototype, t = r.hasOwnProperty, e = r.propertyIsEnumerable, i = a(/* @__PURE__ */ (function() {
2054
+ var a = Af(), s = jt(), r = Object.prototype, t = r.hasOwnProperty, e = r.propertyIsEnumerable, i = a(/* @__PURE__ */ (function() {
2017
2055
  return arguments;
2018
2056
  })()) ? a : function(n) {
2019
2057
  return s(n) && t.call(n, "callee") && !e.call(n, "callee");
@@ -2028,7 +2066,7 @@ function la() {
2028
2066
  return Ln = a, Ln;
2029
2067
  }
2030
2068
  var Lt = { exports: {} }, On, js;
2031
- function Af() {
2069
+ function xf() {
2032
2070
  if (js) return On;
2033
2071
  js = 1;
2034
2072
  function a() {
@@ -2040,12 +2078,12 @@ Lt.exports;
2040
2078
  var Vs;
2041
2079
  function Ml() {
2042
2080
  return Vs || (Vs = 1, (function(a, s) {
2043
- var r = He(), t = Af(), 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;
2081
+ var r = He(), 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;
2044
2082
  a.exports = u;
2045
2083
  })(Lt, Lt.exports)), Lt.exports;
2046
2084
  }
2047
2085
  var Fn, qs;
2048
- function Ef() {
2086
+ function If() {
2049
2087
  if (qs) return Fn;
2050
2088
  qs = 1;
2051
2089
  var a = 9007199254740991, s = /^(?:0|[1-9]\d*)$/;
@@ -2066,11 +2104,11 @@ function Nl() {
2066
2104
  return Mn = s, Mn;
2067
2105
  }
2068
2106
  var Nn, Gs;
2069
- function xf() {
2107
+ function Pf() {
2070
2108
  if (Gs) return Nn;
2071
2109
  Gs = 1;
2072
- var a = bi(), s = Nl(), r = jt(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", n = "[object Date]", o = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", h = "[object Object]", d = "[object RegExp]", g = "[object Set]", v = "[object String]", m = "[object WeakMap]", p = "[object ArrayBuffer]", T = "[object DataView]", y = "[object Float32Array]", C = "[object Float64Array]", E = "[object Int8Array]", x = "[object Int16Array]", D = "[object Int32Array]", Z = "[object Uint8Array]", Y = "[object Uint8ClampedArray]", q = "[object Uint16Array]", N = "[object Uint32Array]", O = {};
2073
- O[y] = O[C] = O[E] = O[x] = O[D] = O[Z] = O[Y] = O[q] = O[N] = !0, O[t] = O[e] = O[p] = O[i] = O[T] = O[n] = O[o] = O[l] = O[u] = O[c] = O[h] = O[d] = O[g] = O[v] = O[m] = !1;
2110
+ var a = bi(), s = Nl(), r = jt(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", n = "[object Date]", o = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", h = "[object Object]", d = "[object RegExp]", g = "[object Set]", v = "[object String]", m = "[object WeakMap]", p = "[object ArrayBuffer]", _ = "[object DataView]", y = "[object Float32Array]", C = "[object Float64Array]", E = "[object Int8Array]", x = "[object Int16Array]", D = "[object Int32Array]", Z = "[object Uint8Array]", Y = "[object Uint8ClampedArray]", q = "[object Uint16Array]", N = "[object Uint32Array]", O = {};
2111
+ O[y] = O[C] = O[E] = O[x] = O[D] = O[Z] = O[Y] = O[q] = O[N] = !0, O[t] = O[e] = O[p] = O[i] = O[_] = O[n] = O[o] = O[l] = O[u] = O[c] = O[h] = O[d] = O[g] = O[v] = O[m] = !1;
2074
2112
  function oe(ge) {
2075
2113
  return r(ge) && s(ge.length) && !!O[a(ge)];
2076
2114
  }
@@ -2103,25 +2141,25 @@ function ca() {
2103
2141
  })(Ot, Ot.exports)), Ot.exports;
2104
2142
  }
2105
2143
  var Hn, Ys;
2106
- function If() {
2144
+ function Df() {
2107
2145
  if (Ys) return Hn;
2108
2146
  Ys = 1;
2109
- var a = xf(), s = ua(), r = ca(), t = r && r.isTypedArray, e = t ? s(t) : a;
2147
+ var a = Pf(), s = ua(), r = ca(), t = r && r.isTypedArray, e = t ? s(t) : a;
2110
2148
  return Hn = e, Hn;
2111
2149
  }
2112
2150
  var Un, Xs;
2113
2151
  function Bl() {
2114
2152
  if (Xs) return Un;
2115
2153
  Xs = 1;
2116
- var a = _f(), s = Sf(), r = la(), t = Ml(), e = Ef(), i = If(), n = Object.prototype, o = n.hasOwnProperty;
2154
+ var a = Sf(), s = Ef(), r = la(), t = Ml(), e = If(), i = Df(), n = Object.prototype, o = n.hasOwnProperty;
2117
2155
  function l(u, c) {
2118
- var h = r(u), d = !h && s(u), g = !h && !d && t(u), v = !h && !d && !g && i(u), m = h || d || g || v, p = m ? a(u.length, String) : [], T = p.length;
2156
+ var h = r(u), d = !h && s(u), g = !h && !d && t(u), v = !h && !d && !g && i(u), m = h || d || g || v, p = m ? a(u.length, String) : [], _ = p.length;
2119
2157
  for (var y in u)
2120
2158
  (c || o.call(u, y)) && !(m && // Safari 9 has enumerable `arguments.length` in strict mode.
2121
2159
  (y == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
2122
2160
  g && (y == "offset" || y == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
2123
2161
  v && (y == "buffer" || y == "byteLength" || y == "byteOffset") || // Skip index properties.
2124
- e(y, T))) && p.push(y);
2162
+ e(y, _))) && p.push(y);
2125
2163
  return p;
2126
2164
  }
2127
2165
  return Un = l, Un;
@@ -2149,17 +2187,17 @@ function Hl() {
2149
2187
  return jn = a, jn;
2150
2188
  }
2151
2189
  var Vn, Qs;
2152
- function Pf() {
2190
+ function Rf() {
2153
2191
  if (Qs) return Vn;
2154
2192
  Qs = 1;
2155
2193
  var a = Hl(), s = a(Object.keys, Object);
2156
2194
  return Vn = s, Vn;
2157
2195
  }
2158
2196
  var qn, eo;
2159
- function Df() {
2197
+ function Lf() {
2160
2198
  if (eo) return qn;
2161
2199
  eo = 1;
2162
- var a = fa(), s = Pf(), r = Object.prototype, t = r.hasOwnProperty;
2200
+ var a = fa(), s = Rf(), r = Object.prototype, t = r.hasOwnProperty;
2163
2201
  function e(i) {
2164
2202
  if (!a(i))
2165
2203
  return s(i);
@@ -2184,14 +2222,14 @@ var Gn, io;
2184
2222
  function ha() {
2185
2223
  if (io) return Gn;
2186
2224
  io = 1;
2187
- var a = Bl(), s = Df(), r = Ul();
2225
+ var a = Bl(), s = Lf(), r = Ul();
2188
2226
  function t(e) {
2189
2227
  return r(e) ? a(e) : s(e);
2190
2228
  }
2191
2229
  return Gn = t, Gn;
2192
2230
  }
2193
2231
  var $n, no;
2194
- function Rf() {
2232
+ function Of() {
2195
2233
  if (no) return $n;
2196
2234
  no = 1;
2197
2235
  var a = ki(), s = ha();
@@ -2201,7 +2239,7 @@ function Rf() {
2201
2239
  return $n = r, $n;
2202
2240
  }
2203
2241
  var Kn, ro;
2204
- function Lf() {
2242
+ function Ff() {
2205
2243
  if (ro) return Kn;
2206
2244
  ro = 1;
2207
2245
  function a(s) {
@@ -2214,10 +2252,10 @@ function Lf() {
2214
2252
  return Kn = a, Kn;
2215
2253
  }
2216
2254
  var Yn, ao;
2217
- function Of() {
2255
+ function Mf() {
2218
2256
  if (ao) return Yn;
2219
2257
  ao = 1;
2220
- var a = zt(), s = fa(), r = Lf(), t = Object.prototype, e = t.hasOwnProperty;
2258
+ var a = zt(), s = fa(), r = Ff(), t = Object.prototype, e = t.hasOwnProperty;
2221
2259
  function i(n) {
2222
2260
  if (!a(n))
2223
2261
  return r(n);
@@ -2232,14 +2270,14 @@ var Xn, so;
2232
2270
  function da() {
2233
2271
  if (so) return Xn;
2234
2272
  so = 1;
2235
- var a = Bl(), s = Of(), r = Ul();
2273
+ var a = Bl(), s = Mf(), r = Ul();
2236
2274
  function t(e) {
2237
2275
  return r(e) ? a(e, !0) : s(e);
2238
2276
  }
2239
2277
  return Xn = t, Xn;
2240
2278
  }
2241
2279
  var Zn, oo;
2242
- function Ff() {
2280
+ function Nf() {
2243
2281
  if (oo) return Zn;
2244
2282
  oo = 1;
2245
2283
  var a = ki(), s = da();
@@ -2251,7 +2289,7 @@ function Ff() {
2251
2289
  var Ft = { exports: {} };
2252
2290
  Ft.exports;
2253
2291
  var lo;
2254
- function Mf() {
2292
+ function Bf() {
2255
2293
  return lo || (lo = 1, (function(a, s) {
2256
2294
  var r = He(), 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;
2257
2295
  function l(u, c) {
@@ -2264,7 +2302,7 @@ function Mf() {
2264
2302
  })(Ft, Ft.exports)), Ft.exports;
2265
2303
  }
2266
2304
  var Jn, uo;
2267
- function Nf() {
2305
+ function Hf() {
2268
2306
  if (uo) return Jn;
2269
2307
  uo = 1;
2270
2308
  function a(s, r) {
@@ -2276,7 +2314,7 @@ function Nf() {
2276
2314
  return Jn = a, Jn;
2277
2315
  }
2278
2316
  var Qn, co;
2279
- function Bf() {
2317
+ function Uf() {
2280
2318
  if (co) return Qn;
2281
2319
  co = 1;
2282
2320
  function a(s, r) {
@@ -2301,7 +2339,7 @@ var tr, ho;
2301
2339
  function ga() {
2302
2340
  if (ho) return tr;
2303
2341
  ho = 1;
2304
- var a = Bf(), s = zl(), r = Object.prototype, t = r.propertyIsEnumerable, e = Object.getOwnPropertySymbols, i = e ? function(n) {
2342
+ var a = Uf(), s = zl(), r = Object.prototype, t = r.propertyIsEnumerable, e = Object.getOwnPropertySymbols, i = e ? function(n) {
2305
2343
  return n == null ? [] : (n = Object(n), a(e(n), function(o) {
2306
2344
  return t.call(n, o);
2307
2345
  }));
@@ -2309,7 +2347,7 @@ function ga() {
2309
2347
  return tr = i, tr;
2310
2348
  }
2311
2349
  var ir, go;
2312
- function Hf() {
2350
+ function zf() {
2313
2351
  if (go) return ir;
2314
2352
  go = 1;
2315
2353
  var a = ki(), s = ga();
@@ -2348,7 +2386,7 @@ function ql() {
2348
2386
  return ar = i, ar;
2349
2387
  }
2350
2388
  var sr, yo;
2351
- function Uf() {
2389
+ function jf() {
2352
2390
  if (yo) return sr;
2353
2391
  yo = 1;
2354
2392
  var a = ki(), s = ql();
@@ -2369,7 +2407,7 @@ function Wl() {
2369
2407
  return or = r, or;
2370
2408
  }
2371
2409
  var lr, wo;
2372
- function zf() {
2410
+ function Vf() {
2373
2411
  if (wo) return lr;
2374
2412
  wo = 1;
2375
2413
  var a = Wl(), s = ga(), r = ha();
@@ -2379,7 +2417,7 @@ function zf() {
2379
2417
  return lr = t, lr;
2380
2418
  }
2381
2419
  var ur, Co;
2382
- function jf() {
2420
+ function qf() {
2383
2421
  if (Co) return ur;
2384
2422
  Co = 1;
2385
2423
  var a = Wl(), s = ql(), r = da();
@@ -2389,28 +2427,28 @@ function jf() {
2389
2427
  return ur = t, ur;
2390
2428
  }
2391
2429
  var cr, ko;
2392
- function Vf() {
2430
+ function Wf() {
2393
2431
  if (ko) return cr;
2394
2432
  ko = 1;
2395
2433
  var a = ht(), s = He(), r = a(s, "DataView");
2396
2434
  return cr = r, cr;
2397
2435
  }
2398
2436
  var fr, _o;
2399
- function qf() {
2437
+ function Gf() {
2400
2438
  if (_o) return fr;
2401
2439
  _o = 1;
2402
2440
  var a = ht(), s = He(), r = a(s, "Promise");
2403
2441
  return fr = r, fr;
2404
2442
  }
2405
2443
  var hr, To;
2406
- function Wf() {
2444
+ function $f() {
2407
2445
  if (To) return hr;
2408
2446
  To = 1;
2409
2447
  var a = ht(), s = He(), r = a(s, "Set");
2410
2448
  return hr = r, hr;
2411
2449
  }
2412
2450
  var dr, So;
2413
- function Gf() {
2451
+ function Kf() {
2414
2452
  if (So) return dr;
2415
2453
  So = 1;
2416
2454
  var a = ht(), s = He(), r = a(s, "WeakMap");
@@ -2420,7 +2458,7 @@ var gr, Ao;
2420
2458
  function va() {
2421
2459
  if (Ao) return gr;
2422
2460
  Ao = 1;
2423
- var a = Vf(), s = oa(), r = qf(), t = Wf(), e = Gf(), i = bi(), n = Ll(), o = "[object Map]", l = "[object Object]", u = "[object Promise]", c = "[object Set]", h = "[object WeakMap]", d = "[object DataView]", g = n(a), v = n(s), m = n(r), p = n(t), T = n(e), y = i;
2461
+ var a = Wf(), s = oa(), r = Gf(), t = $f(), e = Kf(), i = bi(), n = Ll(), o = "[object Map]", l = "[object Object]", u = "[object Promise]", c = "[object Set]", h = "[object WeakMap]", d = "[object DataView]", g = n(a), v = n(s), m = n(r), p = n(t), _ = n(e), y = i;
2424
2462
  return (a && y(new a(new ArrayBuffer(1))) != d || s && y(new s()) != o || r && y(r.resolve()) != u || t && y(new t()) != c || e && y(new e()) != h) && (y = function(C) {
2425
2463
  var E = i(C), x = E == l ? C.constructor : void 0, D = x ? n(x) : "";
2426
2464
  if (D)
@@ -2433,14 +2471,14 @@ function va() {
2433
2471
  return u;
2434
2472
  case p:
2435
2473
  return c;
2436
- case T:
2474
+ case _:
2437
2475
  return h;
2438
2476
  }
2439
2477
  return E;
2440
2478
  }), gr = y, gr;
2441
2479
  }
2442
2480
  var vr, Eo;
2443
- function $f() {
2481
+ function Yf() {
2444
2482
  if (Eo) return vr;
2445
2483
  Eo = 1;
2446
2484
  var a = Object.prototype, s = a.hasOwnProperty;
@@ -2451,7 +2489,7 @@ function $f() {
2451
2489
  return vr = r, vr;
2452
2490
  }
2453
2491
  var pr, xo;
2454
- function Kf() {
2492
+ function Xf() {
2455
2493
  if (xo) return pr;
2456
2494
  xo = 1;
2457
2495
  var a = He(), s = a.Uint8Array;
@@ -2461,7 +2499,7 @@ var mr, Io;
2461
2499
  function pa() {
2462
2500
  if (Io) return mr;
2463
2501
  Io = 1;
2464
- var a = Kf();
2502
+ var a = Xf();
2465
2503
  function s(r) {
2466
2504
  var t = new r.constructor(r.byteLength);
2467
2505
  return new a(t).set(new a(r)), t;
@@ -2469,7 +2507,7 @@ function pa() {
2469
2507
  return mr = s, mr;
2470
2508
  }
2471
2509
  var yr, Po;
2472
- function Yf() {
2510
+ function Zf() {
2473
2511
  if (Po) return yr;
2474
2512
  Po = 1;
2475
2513
  var a = pa();
@@ -2480,7 +2518,7 @@ function Yf() {
2480
2518
  return yr = s, yr;
2481
2519
  }
2482
2520
  var br, Do;
2483
- function Xf() {
2521
+ function Jf() {
2484
2522
  if (Do) return br;
2485
2523
  Do = 1;
2486
2524
  var a = /\w*$/;
@@ -2491,7 +2529,7 @@ function Xf() {
2491
2529
  return br = s, br;
2492
2530
  }
2493
2531
  var wr, Ro;
2494
- function Zf() {
2532
+ function Qf() {
2495
2533
  if (Ro) return wr;
2496
2534
  Ro = 1;
2497
2535
  var a = sa(), s = a ? a.prototype : void 0, r = s ? s.valueOf : void 0;
@@ -2501,7 +2539,7 @@ function Zf() {
2501
2539
  return wr = t, wr;
2502
2540
  }
2503
2541
  var Cr, Lo;
2504
- function Jf() {
2542
+ function eh() {
2505
2543
  if (Lo) return Cr;
2506
2544
  Lo = 1;
2507
2545
  var a = pa();
@@ -2512,10 +2550,10 @@ function Jf() {
2512
2550
  return Cr = s, Cr;
2513
2551
  }
2514
2552
  var kr, Oo;
2515
- function Qf() {
2553
+ function th() {
2516
2554
  if (Oo) return kr;
2517
2555
  Oo = 1;
2518
- var a = pa(), s = Yf(), r = Xf(), t = Zf(), e = Jf(), i = "[object Boolean]", n = "[object Date]", o = "[object Map]", l = "[object Number]", u = "[object RegExp]", c = "[object Set]", h = "[object String]", d = "[object Symbol]", g = "[object ArrayBuffer]", v = "[object DataView]", m = "[object Float32Array]", p = "[object Float64Array]", T = "[object Int8Array]", y = "[object Int16Array]", C = "[object Int32Array]", E = "[object Uint8Array]", x = "[object Uint8ClampedArray]", D = "[object Uint16Array]", Z = "[object Uint32Array]";
2556
+ var a = pa(), s = Zf(), r = Jf(), t = Qf(), e = eh(), i = "[object Boolean]", n = "[object Date]", o = "[object Map]", l = "[object Number]", u = "[object RegExp]", c = "[object Set]", h = "[object String]", d = "[object Symbol]", g = "[object ArrayBuffer]", v = "[object DataView]", m = "[object Float32Array]", p = "[object Float64Array]", _ = "[object Int8Array]", y = "[object Int16Array]", C = "[object Int32Array]", E = "[object Uint8Array]", x = "[object Uint8ClampedArray]", D = "[object Uint16Array]", Z = "[object Uint32Array]";
2519
2557
  function Y(q, N, O) {
2520
2558
  var oe = q.constructor;
2521
2559
  switch (N) {
@@ -2528,7 +2566,7 @@ function Qf() {
2528
2566
  return s(q, O);
2529
2567
  case m:
2530
2568
  case p:
2531
- case T:
2569
+ case _:
2532
2570
  case y:
2533
2571
  case C:
2534
2572
  case E:
@@ -2552,7 +2590,7 @@ function Qf() {
2552
2590
  return kr = Y, kr;
2553
2591
  }
2554
2592
  var _r, Fo;
2555
- function eh() {
2593
+ function ih() {
2556
2594
  if (Fo) return _r;
2557
2595
  Fo = 1;
2558
2596
  var a = zt(), s = Object.create, r = /* @__PURE__ */ (function() {
@@ -2571,17 +2609,17 @@ function eh() {
2571
2609
  return _r = r, _r;
2572
2610
  }
2573
2611
  var Tr, Mo;
2574
- function th() {
2612
+ function nh() {
2575
2613
  if (Mo) return Tr;
2576
2614
  Mo = 1;
2577
- var a = eh(), s = Vl(), r = fa();
2615
+ var a = ih(), s = Vl(), r = fa();
2578
2616
  function t(e) {
2579
2617
  return typeof e.constructor == "function" && !r(e) ? a(s(e)) : {};
2580
2618
  }
2581
2619
  return Tr = t, Tr;
2582
2620
  }
2583
2621
  var Sr, No;
2584
- function ih() {
2622
+ function rh() {
2585
2623
  if (No) return Sr;
2586
2624
  No = 1;
2587
2625
  var a = va(), s = jt(), r = "[object Map]";
@@ -2591,14 +2629,14 @@ function ih() {
2591
2629
  return Sr = t, Sr;
2592
2630
  }
2593
2631
  var Ar, Bo;
2594
- function nh() {
2632
+ function ah() {
2595
2633
  if (Bo) return Ar;
2596
2634
  Bo = 1;
2597
- var a = ih(), s = ua(), r = ca(), t = r && r.isMap, e = t ? s(t) : a;
2635
+ var a = rh(), s = ua(), r = ca(), t = r && r.isMap, e = t ? s(t) : a;
2598
2636
  return Ar = e, Ar;
2599
2637
  }
2600
2638
  var Er, Ho;
2601
- function rh() {
2639
+ function sh() {
2602
2640
  if (Ho) return Er;
2603
2641
  Ho = 1;
2604
2642
  var a = va(), s = jt(), r = "[object Set]";
@@ -2608,21 +2646,21 @@ function rh() {
2608
2646
  return Er = t, Er;
2609
2647
  }
2610
2648
  var xr, Uo;
2611
- function ah() {
2649
+ function oh() {
2612
2650
  if (Uo) return xr;
2613
2651
  Uo = 1;
2614
- var a = rh(), s = ua(), r = ca(), t = r && r.isSet, e = t ? s(t) : a;
2652
+ var a = sh(), s = ua(), r = ca(), t = r && r.isSet, e = t ? s(t) : a;
2615
2653
  return xr = e, xr;
2616
2654
  }
2617
2655
  var Ir, zo;
2618
- function sh() {
2656
+ function lh() {
2619
2657
  if (zo) return Ir;
2620
2658
  zo = 1;
2621
- var a = wf(), s = Cf(), r = Fl(), t = Rf(), e = Ff(), i = Mf(), n = Nf(), o = Hf(), l = Uf(), u = zf(), c = jf(), h = va(), d = $f(), g = Qf(), v = th(), m = la(), p = Ml(), T = nh(), y = zt(), C = ah(), E = ha(), x = da(), D = 1, Z = 2, Y = 4, q = "[object Arguments]", N = "[object Array]", O = "[object Boolean]", oe = "[object Date]", ge = "[object Error]", xe = "[object Function]", rt = "[object GeneratorFunction]", Ue = "[object Map]", Le = "[object Number]", Oe = "[object Object]", ze = "[object RegExp]", ee = "[object Set]", F = "[object String]", $ = "[object Symbol]", U = "[object WeakMap]", re = "[object ArrayBuffer]", ve = "[object DataView]", Ie = "[object Float32Array]", Fe = "[object Float64Array]", at = "[object Int8Array]", Wt = "[object Int16Array]", Gt = "[object Int32Array]", It = "[object Uint8Array]", xu = "[object Uint8ClampedArray]", Iu = "[object Uint16Array]", Pu = "[object Uint32Array]", ie = {};
2622
- ie[q] = ie[N] = ie[re] = ie[ve] = ie[O] = ie[oe] = ie[Ie] = ie[Fe] = ie[at] = ie[Wt] = ie[Gt] = ie[Ue] = ie[Le] = ie[Oe] = ie[ze] = ie[ee] = ie[F] = ie[$] = ie[It] = ie[xu] = ie[Iu] = ie[Pu] = !0, ie[ge] = ie[xe] = ie[U] = !1;
2623
- function $t(Q, pt, mt, Du, Kt, Ke) {
2659
+ var a = kf(), s = _f(), r = Fl(), t = Of(), e = Nf(), i = Bf(), n = Hf(), o = zf(), l = jf(), u = Vf(), c = qf(), h = va(), d = Yf(), g = th(), v = nh(), m = la(), p = Ml(), _ = ah(), y = zt(), C = oh(), E = ha(), x = da(), D = 1, Z = 2, Y = 4, q = "[object Arguments]", N = "[object Array]", O = "[object Boolean]", oe = "[object Date]", ge = "[object Error]", xe = "[object Function]", rt = "[object GeneratorFunction]", Ue = "[object Map]", Le = "[object Number]", Oe = "[object Object]", ze = "[object RegExp]", ee = "[object Set]", F = "[object String]", $ = "[object Symbol]", U = "[object WeakMap]", ae = "[object ArrayBuffer]", ve = "[object DataView]", Ie = "[object Float32Array]", Fe = "[object Float64Array]", at = "[object Int8Array]", Wt = "[object Int16Array]", Gt = "[object Int32Array]", It = "[object Uint8Array]", xu = "[object Uint8ClampedArray]", Iu = "[object Uint16Array]", Pu = "[object Uint32Array]", ie = {};
2660
+ ie[q] = ie[N] = ie[ae] = ie[ve] = ie[O] = ie[oe] = ie[Ie] = ie[Fe] = ie[at] = ie[Wt] = ie[Gt] = ie[Ue] = ie[Le] = ie[Oe] = ie[ze] = ie[ee] = ie[F] = ie[$] = ie[It] = ie[xu] = ie[Iu] = ie[Pu] = !0, ie[ge] = ie[xe] = ie[U] = !1;
2661
+ function $t(Q, pt, mt, Du, Kt, Ye) {
2624
2662
  var Ce, Yt = pt & D, Xt = pt & Z, Ru = pt & Y;
2625
- if (mt && (Ce = Kt ? mt(Q, Du, Kt, Ke) : mt(Q)), Ce !== void 0)
2663
+ if (mt && (Ce = Kt ? mt(Q, Du, Kt, Ye) : mt(Q)), Ce !== void 0)
2626
2664
  return Ce;
2627
2665
  if (!y(Q))
2628
2666
  return Q;
@@ -2643,33 +2681,33 @@ function sh() {
2643
2681
  Ce = g(Q, yt, Yt);
2644
2682
  }
2645
2683
  }
2646
- Ke || (Ke = new a());
2647
- var Da = Ke.get(Q);
2684
+ Ye || (Ye = new a());
2685
+ var Da = Ye.get(Q);
2648
2686
  if (Da)
2649
2687
  return Da;
2650
- Ke.set(Q, Ce), C(Q) ? Q.forEach(function(Ye) {
2651
- Ce.add($t(Ye, pt, mt, Ye, Q, Ke));
2652
- }) : T(Q) && Q.forEach(function(Ye, st) {
2653
- Ce.set(st, $t(Ye, pt, mt, st, Q, Ke));
2688
+ Ye.set(Q, Ce), C(Q) ? Q.forEach(function(Xe) {
2689
+ Ce.add($t(Xe, pt, mt, Xe, Q, Ye));
2690
+ }) : _(Q) && Q.forEach(function(Xe, st) {
2691
+ Ce.set(st, $t(Xe, pt, mt, st, Q, Ye));
2654
2692
  });
2655
2693
  var Lu = Ru ? Xt ? c : u : Xt ? x : E, Ra = Ia ? void 0 : Lu(Q);
2656
- return s(Ra || Q, function(Ye, st) {
2657
- Ra && (st = Ye, Ye = Q[st]), r(Ce, st, $t(Ye, pt, mt, st, Q, Ke));
2694
+ return s(Ra || Q, function(Xe, st) {
2695
+ Ra && (st = Xe, Xe = Q[st]), r(Ce, st, $t(Xe, pt, mt, st, Q, Ye));
2658
2696
  }), Ce;
2659
2697
  }
2660
2698
  return Ir = $t, Ir;
2661
2699
  }
2662
2700
  var Pr, jo;
2663
- function oh() {
2701
+ function uh() {
2664
2702
  if (jo) return Pr;
2665
2703
  jo = 1;
2666
- var a = sh(), s = 1, r = 4;
2704
+ var a = lh(), s = 1, r = 4;
2667
2705
  function t(e) {
2668
2706
  return a(e, s | r);
2669
2707
  }
2670
2708
  return Pr = t, Pr;
2671
2709
  }
2672
- var lh = oh(), uh = /* @__PURE__ */ Vc(lh), ma = fe({
2710
+ var ch = uh(), fh = /* @__PURE__ */ Wc(ch), ma = ce({
2673
2711
  name: "DocumentEditor",
2674
2712
  props: {
2675
2713
  id: {
@@ -2729,7 +2767,7 @@ var lh = oh(), uh = /* @__PURE__ */ Vc(lh), ma = fe({
2729
2767
  var a = this, s, r = this.documentServerUrl;
2730
2768
  r.endsWith("/") || (r += "/");
2731
2769
  var t = "".concat(r, "web-apps/apps/api/documents/api.js");
2732
- 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)), jc(t, "onlyoffice-api-script").then(function() {
2770
+ 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)), qc(t, "onlyoffice-api-script").then(function() {
2733
2771
  return a.onLoad();
2734
2772
  }).catch(function() {
2735
2773
  a.onError(-2);
@@ -2778,7 +2816,7 @@ var lh = oh(), uh = /* @__PURE__ */ Vc(lh), ma = fe({
2778
2816
  return;
2779
2817
  }
2780
2818
  !((s = window == null ? void 0 : window.DocEditor) === null || s === void 0) && s.instances || (window.DocEditor = { instances: {} });
2781
- var t = uh(this.config), e = {
2819
+ var t = fh(this.config), e = {
2782
2820
  documentType: this.documentType,
2783
2821
  events: {
2784
2822
  onAppReady: this.onAppReady,
@@ -2847,13 +2885,13 @@ var lh = oh(), uh = /* @__PURE__ */ Vc(lh), ma = fe({
2847
2885
  }
2848
2886
  }
2849
2887
  });
2850
- const ch = ["id"];
2851
- function fh(a, s, r, t, e, i) {
2852
- return _(), I("div", { id: a.id }, null, 8, ch);
2888
+ const hh = ["id"];
2889
+ function dh(a, s, r, t, e, i) {
2890
+ return T(), I("div", { id: a.id }, null, 8, hh);
2853
2891
  }
2854
- ma.render = fh;
2892
+ ma.render = dh;
2855
2893
  ma.__file = "src/components/DocumentEditor.vue";
2856
- const hh = /* @__PURE__ */ fe({
2894
+ const gh = /* @__PURE__ */ ce({
2857
2895
  __name: "IkOnlyOffice",
2858
2896
  props: {
2859
2897
  // 文件服务器的服务的地址
@@ -2882,7 +2920,7 @@ const hh = /* @__PURE__ */ fe({
2882
2920
  }), t = () => {
2883
2921
  console.info("文档加载完成", r.value);
2884
2922
  };
2885
- return (e, i) => (_(), I(
2923
+ return (e, i) => (T(), I(
2886
2924
  "div",
2887
2925
  {
2888
2926
  style: me({ height: s.officeHeight })
@@ -2900,7 +2938,7 @@ const hh = /* @__PURE__ */ fe({
2900
2938
  /* STYLE */
2901
2939
  ));
2902
2940
  }
2903
- }), dh = it(hh), gh = {
2941
+ }), vh = $e(gh), ph = {
2904
2942
  /**
2905
2943
  * @description preview link list.
2906
2944
  */
@@ -2970,15 +3008,15 @@ const hh = /* @__PURE__ */ fe({
2970
3008
  crossorigin: {
2971
3009
  type: ["anonymous", "use-credentials", ""]
2972
3010
  }
2973
- }, vh = {
3011
+ }, mh = {
2974
3012
  close: () => !0,
2975
3013
  switch: (a) => Fa.isNumber(a),
2976
3014
  rotate: (a) => Fa.isNumber(a)
2977
- }, ph = ["src", "crossorigin"], mh = /* @__PURE__ */ fe({
3015
+ }, yh = ["src", "crossorigin"], bh = /* @__PURE__ */ ce({
2978
3016
  name: "ElImageViewer",
2979
3017
  __name: "IkImageViewer",
2980
- props: gh,
2981
- emits: vh,
3018
+ props: ph,
3019
+ emits: mh,
2982
3020
  setup(a, { expose: s, emit: r }) {
2983
3021
  const t = (F) => Object.keys(F), e = {
2984
3022
  CONTAIN: {
@@ -2995,20 +3033,20 @@ const hh = /* @__PURE__ */ fe({
2995
3033
  offsetX: 0,
2996
3034
  offsetY: 0,
2997
3035
  enableTransition: !1
2998
- }), T = we(i.zIndex ?? u()), y = ae(() => {
3036
+ }), _ = we(i.zIndex ?? u()), y = ne(() => {
2999
3037
  const { urlList: F } = i;
3000
3038
  return F.length <= 1;
3001
- }), C = ae(() => v.value === 0), E = ae(() => v.value === i.urlList.length - 1), x = ae(() => i.urlList[v.value]), D = ae(() => [
3039
+ }), C = ne(() => v.value === 0), E = ne(() => v.value === i.urlList.length - 1), x = ne(() => i.urlList[v.value]), D = ne(() => [
3002
3040
  l.e("btn"),
3003
3041
  l.e("prev"),
3004
3042
  l.is("disabled", !i.infinite && C.value)
3005
- ]), Z = ae(() => [
3043
+ ]), Z = ne(() => [
3006
3044
  l.e("btn"),
3007
3045
  l.e("next"),
3008
3046
  l.is("disabled", !i.infinite && E.value)
3009
- ]), Y = ae(() => {
3010
- const { scale: F, deg: $, offsetX: U, offsetY: re, enableTransition: ve } = p.value;
3011
- let Ie = U / F, Fe = re / F;
3047
+ ]), Y = ne(() => {
3048
+ const { scale: F, deg: $, offsetX: U, offsetY: ae, enableTransition: ve } = p.value;
3049
+ let Ie = U / F, Fe = ae / F;
3012
3050
  const at = $ * Math.PI / 180, Wt = Math.cos(at), Gt = Math.sin(at);
3013
3051
  Ie = Ie * Wt + Fe * Gt, Fe = Fe * Wt - U / F * Gt;
3014
3052
  const It = {
@@ -3049,8 +3087,8 @@ const hh = /* @__PURE__ */ fe({
3049
3087
  break;
3050
3088
  }
3051
3089
  }), $ = Ri.throttle((U) => {
3052
- const re = U.deltaY || U.deltaX;
3053
- ee(re < 0 ? "zoomIn" : "zoomOut", {
3090
+ const ae = U.deltaY || U.deltaX;
3091
+ ee(ae < 0 ? "zoomIn" : "zoomOut", {
3054
3092
  zoomRate: i.zoomRate,
3055
3093
  enableTransition: !1
3056
3094
  });
@@ -3071,10 +3109,10 @@ const hh = /* @__PURE__ */ fe({
3071
3109
  function xe(F) {
3072
3110
  if (g.value || F.button !== 0 || !c.value) return;
3073
3111
  p.value.enableTransition = !1;
3074
- const { offsetX: $, offsetY: U } = p.value, re = F.pageX, ve = F.pageY, Ie = Ri.throttle((at) => {
3112
+ const { offsetX: $, offsetY: U } = p.value, ae = F.pageX, ve = F.pageY, Ie = Ri.throttle((at) => {
3075
3113
  p.value = {
3076
3114
  ...p.value,
3077
- offsetX: $ + at.pageX - re,
3115
+ offsetX: $ + at.pageX - ae,
3078
3116
  offsetY: U + at.pageY - ve
3079
3117
  };
3080
3118
  }), Fe = Zt(document, "mousemove", Ie);
@@ -3108,7 +3146,7 @@ const hh = /* @__PURE__ */ fe({
3108
3146
  }
3109
3147
  function ee(F, $ = {}) {
3110
3148
  if (g.value) return;
3111
- const { minScale: U, maxScale: re } = i, { zoomRate: ve, rotateDeg: Ie, enableTransition: Fe } = {
3149
+ const { minScale: U, maxScale: ae } = i, { zoomRate: ve, rotateDeg: Ie, enableTransition: Fe } = {
3112
3150
  zoomRate: i.zoomRate,
3113
3151
  rotateDeg: 90,
3114
3152
  enableTransition: !0,
@@ -3121,7 +3159,7 @@ const hh = /* @__PURE__ */ fe({
3121
3159
  ));
3122
3160
  break;
3123
3161
  case "zoomIn":
3124
- p.value.scale < re && (p.value.scale = Number.parseFloat(
3162
+ p.value.scale < ae && (p.value.scale = Number.parseFloat(
3125
3163
  (p.value.scale * ve).toFixed(3)
3126
3164
  ));
3127
3165
  break;
@@ -3149,7 +3187,7 @@ const hh = /* @__PURE__ */ fe({
3149
3187
  * @description manually switch image
3150
3188
  */
3151
3189
  setActiveItem: Le
3152
- }), (F, $) => (_(), G(wl, { to: "body" }, [
3190
+ }), (F, $) => (T(), G(wl, { to: "body" }, [
3153
3191
  M(Cl, {
3154
3192
  name: "viewer-fade",
3155
3193
  appear: ""
@@ -3162,7 +3200,7 @@ const hh = /* @__PURE__ */ fe({
3162
3200
  ref: c,
3163
3201
  tabindex: -1,
3164
3202
  class: te(w(l).e("wrapper")),
3165
- style: me({ zIndex: T.value })
3203
+ style: me({ zIndex: _.value })
3166
3204
  },
3167
3205
  [
3168
3206
  S(
@@ -3195,7 +3233,7 @@ const hh = /* @__PURE__ */ fe({
3195
3233
  /* CLASS */
3196
3234
  ),
3197
3235
  P(" ARROW "),
3198
- y.value ? P("v-if", !0) : (_(), I(
3236
+ y.value ? P("v-if", !0) : (T(), I(
3199
3237
  ue,
3200
3238
  { key: 0 },
3201
3239
  [
@@ -3281,7 +3319,7 @@ const hh = /* @__PURE__ */ fe({
3281
3319
  ),
3282
3320
  M(w(Te), { onClick: Ue }, {
3283
3321
  default: j(() => [
3284
- (_(), G(Hu(m.value.icon)))
3322
+ (T(), G(Hu(m.value.icon)))
3285
3323
  ]),
3286
3324
  _: 1
3287
3325
  /* STABLE */
@@ -3328,12 +3366,12 @@ const hh = /* @__PURE__ */ fe({
3328
3366
  class: te(w(l).e("canvas"))
3329
3367
  },
3330
3368
  [
3331
- (_(!0), I(
3369
+ (T(!0), I(
3332
3370
  ue,
3333
3371
  null,
3334
- Yr(F.urlList, (U, re) => Uu((_(), I("img", {
3372
+ Yr(F.urlList, (U, ae) => Uu((T(), I("img", {
3335
3373
  ref_for: !0,
3336
- ref: (ve) => h.value[re] = ve,
3374
+ ref: (ve) => h.value[ae] = ve,
3337
3375
  key: U,
3338
3376
  src: U,
3339
3377
  style: me(Y.value),
@@ -3342,8 +3380,8 @@ const hh = /* @__PURE__ */ fe({
3342
3380
  onLoad: oe,
3343
3381
  onError: ge,
3344
3382
  onMousedown: xe
3345
- }, null, 46, ph)), [
3346
- [zu, re === v.value]
3383
+ }, null, 46, yh)), [
3384
+ [zu, ae === v.value]
3347
3385
  ])),
3348
3386
  128
3349
3387
  /* KEYED_FRAGMENT */
@@ -3352,7 +3390,7 @@ const hh = /* @__PURE__ */ fe({
3352
3390
  2
3353
3391
  /* CLASS */
3354
3392
  ),
3355
- he(F.$slots, "default")
3393
+ fe(F.$slots, "default")
3356
3394
  ],
3357
3395
  6
3358
3396
  /* CLASS, STYLE */
@@ -3363,8 +3401,8 @@ const hh = /* @__PURE__ */ fe({
3363
3401
  })
3364
3402
  ]));
3365
3403
  }
3366
- }), yh = it(mh);
3367
- function bh(a, s) {
3404
+ }), wh = $e(bh);
3405
+ function Ch(a, s) {
3368
3406
  var r = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
3369
3407
  if (r != null) {
3370
3408
  var t, e, i, n, o = [], l = !0, u = !1;
@@ -3460,7 +3498,7 @@ function Xr(a, s) {
3460
3498
  return t.__proto__ = e, t;
3461
3499
  }, Xr(a, s);
3462
3500
  }
3463
- function wh() {
3501
+ function kh() {
3464
3502
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
3465
3503
  return !1;
3466
3504
  if (typeof Proxy == "function")
@@ -3485,7 +3523,7 @@ function ya(a, s) {
3485
3523
  return b(a);
3486
3524
  }
3487
3525
  function H(a) {
3488
- var s = wh();
3526
+ var s = kh();
3489
3527
  return function() {
3490
3528
  var t = z(a), e;
3491
3529
  if (s) {
@@ -3496,35 +3534,35 @@ function H(a) {
3496
3534
  return ya(this, e);
3497
3535
  };
3498
3536
  }
3499
- function Ch(a, s) {
3537
+ function _h(a, s) {
3500
3538
  for (; !Object.prototype.hasOwnProperty.call(a, s) && (a = z(a), a !== null); )
3501
3539
  ;
3502
3540
  return a;
3503
3541
  }
3504
3542
  function V() {
3505
3543
  return typeof Reflect < "u" && Reflect.get ? V = Reflect.get.bind() : V = function(s, r, t) {
3506
- var e = Ch(s, r);
3544
+ var e = _h(s, r);
3507
3545
  if (e) {
3508
3546
  var i = Object.getOwnPropertyDescriptor(e, r);
3509
3547
  return i.get ? i.get.call(arguments.length < 3 ? s : t) : i.value;
3510
3548
  }
3511
3549
  }, V.apply(this, arguments);
3512
3550
  }
3513
- function kh(a, s) {
3514
- return Th(a) || bh(a, s) || Gl(a, s) || Eh();
3551
+ function Th(a, s) {
3552
+ return Ah(a) || Ch(a, s) || Gl(a, s) || Ih();
3515
3553
  }
3516
3554
  function Re(a) {
3517
- return _h(a) || Sh(a) || Gl(a) || Ah();
3555
+ return Sh(a) || Eh(a) || Gl(a) || xh();
3518
3556
  }
3519
- function _h(a) {
3557
+ function Sh(a) {
3520
3558
  if (Array.isArray(a))
3521
3559
  return Zr(a);
3522
3560
  }
3523
- function Th(a) {
3561
+ function Ah(a) {
3524
3562
  if (Array.isArray(a))
3525
3563
  return a;
3526
3564
  }
3527
- function Sh(a) {
3565
+ function Eh(a) {
3528
3566
  if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
3529
3567
  return Array.from(a);
3530
3568
  }
@@ -3545,15 +3583,15 @@ function Zr(a, s) {
3545
3583
  t[r] = a[r];
3546
3584
  return t;
3547
3585
  }
3548
- function Ah() {
3586
+ function xh() {
3549
3587
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
3550
3588
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3551
3589
  }
3552
- function Eh() {
3590
+ function Ih() {
3553
3591
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3554
3592
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3555
3593
  }
3556
- function xh(a, s) {
3594
+ function Ph(a, s) {
3557
3595
  if (typeof a != "object" || a === null)
3558
3596
  return a;
3559
3597
  var r = a[Symbol.toPrimitive];
@@ -3566,11 +3604,11 @@ function xh(a, s) {
3566
3604
  return (s === "string" ? String : Number)(a);
3567
3605
  }
3568
3606
  function $l(a) {
3569
- var s = xh(a, "string");
3607
+ var s = Ph(a, "string");
3570
3608
  return typeof s == "symbol" ? s : String(s);
3571
3609
  }
3572
3610
  var Dr = { exports: {} }, Wo;
3573
- function Ih() {
3611
+ function Dh() {
3574
3612
  return Wo || (Wo = 1, (function(a) {
3575
3613
  var s = Object.prototype.hasOwnProperty, r = "~";
3576
3614
  function t() {
@@ -3610,9 +3648,9 @@ function Ih() {
3610
3648
  }, o.prototype.emit = function(u, c, h, d, g, v) {
3611
3649
  var m = r ? r + u : u;
3612
3650
  if (!this._events[m]) return !1;
3613
- var p = this._events[m], T = arguments.length, y, C;
3651
+ var p = this._events[m], _ = arguments.length, y, C;
3614
3652
  if (p.fn) {
3615
- switch (p.once && this.removeListener(u, p.fn, void 0, !0), T) {
3653
+ switch (p.once && this.removeListener(u, p.fn, void 0, !0), _) {
3616
3654
  case 1:
3617
3655
  return p.fn.call(p.context), !0;
3618
3656
  case 2:
@@ -3626,13 +3664,13 @@ function Ih() {
3626
3664
  case 6:
3627
3665
  return p.fn.call(p.context, c, h, d, g, v), !0;
3628
3666
  }
3629
- for (C = 1, y = new Array(T - 1); C < T; C++)
3667
+ for (C = 1, y = new Array(_ - 1); C < _; C++)
3630
3668
  y[C - 1] = arguments[C];
3631
3669
  p.fn.apply(p.context, y);
3632
3670
  } else {
3633
3671
  var E = p.length, x;
3634
3672
  for (C = 0; C < E; C++)
3635
- switch (p[C].once && this.removeListener(u, p[C].fn, void 0, !0), T) {
3673
+ switch (p[C].once && this.removeListener(u, p[C].fn, void 0, !0), _) {
3636
3674
  case 1:
3637
3675
  p[C].fn.call(p[C].context);
3638
3676
  break;
@@ -3646,7 +3684,7 @@ function Ih() {
3646
3684
  p[C].fn.call(p[C].context, c, h, d);
3647
3685
  break;
3648
3686
  default:
3649
- if (!y) for (x = 1, y = new Array(T - 1); x < T; x++)
3687
+ if (!y) for (x = 1, y = new Array(_ - 1); x < _; x++)
3650
3688
  y[x - 1] = arguments[x];
3651
3689
  p[C].fn.apply(p[C].context, y);
3652
3690
  }
@@ -3665,7 +3703,7 @@ function Ih() {
3665
3703
  if (v.fn)
3666
3704
  v.fn === c && (!d || v.once) && (!h || v.context === h) && n(this, g);
3667
3705
  else {
3668
- for (var m = 0, p = [], T = v.length; m < T; m++)
3706
+ for (var m = 0, p = [], _ = v.length; m < _; m++)
3669
3707
  (v[m].fn !== c || d && !v[m].once || h && v[m].context !== h) && p.push(v[m]);
3670
3708
  p.length ? this._events[g] = p.length === 1 ? p[0] : p : n(this, g);
3671
3709
  }
@@ -3676,15 +3714,15 @@ function Ih() {
3676
3714
  }, o.prototype.off = o.prototype.removeListener, o.prototype.addListener = o.prototype.on, o.prefixed = r, o.EventEmitter = o, a.exports = o;
3677
3715
  })(Dr)), Dr.exports;
3678
3716
  }
3679
- var Kl = Ih();
3717
+ var Kl = Dh();
3680
3718
  const Yl = /* @__PURE__ */ Il(Kl);
3681
- var Ph = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Rr = {
3719
+ var Rh = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Rr = {
3682
3720
  info: "color: #525252; background-color: #90ee90;",
3683
3721
  error: "color: #525252; background-color: red;",
3684
3722
  warn: "color: #525252; background-color: yellow; "
3685
3723
  }, Lr = "%c[xgplayer]", K = {
3686
3724
  config: {
3687
- debug: Ph ? 3 : 0
3725
+ debug: Rh ? 3 : 0
3688
3726
  },
3689
3727
  logInfo: function(s) {
3690
3728
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
@@ -3705,10 +3743,10 @@ var Ph = typeof window < "u" && window.location && window.location.href.indexOf(
3705
3743
  }
3706
3744
  }
3707
3745
  };
3708
- function Dh(a) {
3746
+ function Lh(a) {
3709
3747
  a.logInfo = K.logInfo.bind(a), a.logWarn = K.logWarn.bind(a), a.logError = K.logError.bind(a);
3710
3748
  }
3711
- var Rh = /* @__PURE__ */ (function() {
3749
+ var Oh = /* @__PURE__ */ (function() {
3712
3750
  function a(s) {
3713
3751
  R(this, a), this.bufferedList = s;
3714
3752
  }
@@ -3953,7 +3991,7 @@ f.setStyleFromCsstext = function(a, s) {
3953
3991
  a.style[t] = s[t];
3954
3992
  });
3955
3993
  };
3956
- function Lh(a, s) {
3994
+ function Fh(a, s) {
3957
3995
  for (var r = 0, t = s.length; r < t; r++)
3958
3996
  if (a.indexOf(s[r]) > -1)
3959
3997
  return !0;
@@ -3967,7 +4005,7 @@ f.filterStyleFromText = function(a) {
3967
4005
  return t.map(function(n) {
3968
4006
  if (n) {
3969
4007
  var o = n.split(":");
3970
- o.length > 1 && (Lh(o[0], s) ? e[o[0]] = o[1] : i[o[0]] = o[1]);
4008
+ o.length > 1 && (Fh(o[0], s) ? e[o[0]] = o[1] : i[o[0]] = o[1]);
3971
4009
  }
3972
4010
  }), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
3973
4011
  a.style[n] = i[n];
@@ -4032,7 +4070,7 @@ f.getBuffered2 = function(a) {
4032
4070
  }
4033
4071
  else
4034
4072
  e = r;
4035
- return new Rh(e);
4073
+ return new Oh(e);
4036
4074
  };
4037
4075
  f.getEventPos = function(a) {
4038
4076
  var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
@@ -4156,7 +4194,7 @@ function Xl(a) {
4156
4194
  var s = ye(a);
4157
4195
  return a !== null && (s === "object" || s === "function");
4158
4196
  }
4159
- function Oh(a, s, r) {
4197
+ function Mh(a, s, r) {
4160
4198
  var t, e, i, n, o, l, u = 0, c = !1, h = !1, d = !0, g = !s && s !== 0 && typeof window.requestAnimationFrame == "function";
4161
4199
  if (typeof a != "function")
4162
4200
  throw new TypeError("Expected a function");
@@ -4173,7 +4211,7 @@ function Oh(a, s, r) {
4173
4211
  return window.cancelAnimationFrame(N);
4174
4212
  clearTimeout(N);
4175
4213
  }
4176
- function T(N) {
4214
+ function _(N) {
4177
4215
  return u = N, o = m(E, s), c ? v(N) : n;
4178
4216
  }
4179
4217
  function y(N) {
@@ -4207,7 +4245,7 @@ function Oh(a, s, r) {
4207
4245
  ge[xe] = arguments[xe];
4208
4246
  if (t = ge, e = this, l = N, O) {
4209
4247
  if (o === void 0)
4210
- return T(l);
4248
+ return _(l);
4211
4249
  if (h)
4212
4250
  return o = m(E, s), v(l);
4213
4251
  }
@@ -4215,21 +4253,21 @@ function Oh(a, s, r) {
4215
4253
  }
4216
4254
  return q.cancel = D, q.flush = Z, q.pending = Y, q;
4217
4255
  }
4218
- function Fh(a, s, r) {
4256
+ function Nh(a, s, r) {
4219
4257
  var t = !0, e = !0;
4220
4258
  if (typeof a != "function")
4221
4259
  throw new TypeError("Expected a function");
4222
- return Xl(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Oh(a, s, {
4260
+ return Xl(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Mh(a, s, {
4223
4261
  leading: t,
4224
4262
  trailing: e,
4225
4263
  maxWait: s
4226
4264
  });
4227
4265
  }
4228
- function Mh() {
4266
+ function Bh() {
4229
4267
  var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
4230
4268
  return a === "zh-cn" && (a = "zh"), a;
4231
4269
  }
4232
- function Nh(a, s, r) {
4270
+ function Hh(a, s, r) {
4233
4271
  if (a) {
4234
4272
  var t = a.getAttribute(r);
4235
4273
  return !!(t && t === s && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
@@ -4239,7 +4277,7 @@ var Or = {
4239
4277
  android: /(Android)\s([\d.]+)/,
4240
4278
  harmony: /(OpenHarmony|HarmonyOS)\s([\d.]+)/,
4241
4279
  ios: /(Version)\/([\d.]+)/
4242
- }, Bh = ["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"], W = {
4280
+ }, Uh = ["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"], W = {
4243
4281
  get device() {
4244
4282
  var a = W.os;
4245
4283
  return a.isPc ? "pc" : "mobile";
@@ -4305,7 +4343,7 @@ var Or = {
4305
4343
  if (this.supportResult)
4306
4344
  return this.supportResult;
4307
4345
  var r = document.createElement("video");
4308
- return typeof r.canPlayType == "function" && Bh.map(function(t) {
4346
+ return typeof r.canPlayType == "function" && Uh.map(function(t) {
4309
4347
  r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (s.isSupport = !0, s.mime += "||".concat(t));
4310
4348
  }), this.supportResult = s, r = null, s;
4311
4349
  },
@@ -4395,32 +4433,32 @@ var Or = {
4395
4433
  for (var m = {
4396
4434
  playerVersion: Jr,
4397
4435
  domain: document.domain
4398
- }, p = ["errorType", "currentTime", "duration", "networkState", "readyState", "src", "currentSrc", "ended", "errd", "errorCode", "mediaError"], T = 0; T < arguments.length; T++)
4399
- m[p[T]] = arguments[T];
4436
+ }, p = ["errorType", "currentTime", "duration", "networkState", "readyState", "src", "currentSrc", "ended", "errd", "errorCode", "mediaError"], _ = 0; _ < arguments.length; _++)
4437
+ m[p[_]] = arguments[_];
4400
4438
  return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
4401
4439
  }
4402
4440
  }
4403
- ), Ee = "play", _i = "playing", dt = "ended", xt = "pause", Vt = "error", Ti = "seeking", We = "seeked", Ae = "timeupdate", qt = "waiting", qe = "canplay", Hh = "canplaythrough", $e = "durationchange", Zl = "volumechange", Ge = "loadeddata", Uh = "loadedmetadata", Jl = "ratechange", Ql = "progress", ba = "loadstart", gt = "emptied", zh = "stalled", jh = "suspend", Vh = "abort", qh = "bufferedChange", wa = "focus", eu = "blur", Ca = "ready", tu = "urlNull", ct = "autoplay_started", ka = "autoplay_was_prevented", Si = "complete", ai = "replay", _a = "destroy", Ai = "urlchange", Qr = "download_speed_change", iu = "leaveplayer", nu = "enterplayer", ru = "loading", Ve = "fullscreen_change", si = "cssFullscreen_change", oi = "mini_state_change", Ta = "definition_change", Wh = "before_definition_change", ea = "after_definition_change", Gh = "SEI_PARSED", $h = "retry", et = "video_resize", ta = "pip_change", au = "rotate", su = "screenShot", li = "playnext", ou = "shortcut", lu = "xglog", ui = "user_action", Ei = "reset", uu = "source_error", cu = "source_success", Kh = "switch_subtitle", fu = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], hu = {
4441
+ ), Ee = "play", _i = "playing", dt = "ended", xt = "pause", Vt = "error", Ti = "seeking", We = "seeked", Ae = "timeupdate", qt = "waiting", qe = "canplay", zh = "canplaythrough", Ke = "durationchange", Zl = "volumechange", Ge = "loadeddata", jh = "loadedmetadata", Jl = "ratechange", Ql = "progress", ba = "loadstart", gt = "emptied", Vh = "stalled", qh = "suspend", Wh = "abort", Gh = "bufferedChange", wa = "focus", eu = "blur", Ca = "ready", tu = "urlNull", ct = "autoplay_started", ka = "autoplay_was_prevented", Si = "complete", ai = "replay", _a = "destroy", Ai = "urlchange", Qr = "download_speed_change", iu = "leaveplayer", nu = "enterplayer", ru = "loading", Ve = "fullscreen_change", si = "cssFullscreen_change", oi = "mini_state_change", Ta = "definition_change", $h = "before_definition_change", ea = "after_definition_change", Kh = "SEI_PARSED", Yh = "retry", tt = "video_resize", ta = "pip_change", au = "rotate", su = "screenShot", li = "playnext", ou = "shortcut", lu = "xglog", ui = "user_action", Ei = "reset", uu = "source_error", cu = "source_success", Xh = "switch_subtitle", fu = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], hu = {
4404
4442
  STATS_INFO: "stats_info",
4405
4443
  STATS_DOWNLOAD: "stats_download",
4406
4444
  STATS_RESET: "stats_reset"
4407
4445
  }, du = "fps_stuck";
4408
- const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4446
+ const Zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4409
4447
  __proto__: null,
4410
- ABORT: Vh,
4448
+ ABORT: Wh,
4411
4449
  AFTER_DEFINITION_CHANGE: ea,
4412
4450
  AUTOPLAY_PREVENTED: ka,
4413
4451
  AUTOPLAY_STARTED: ct,
4414
- BEFORE_DEFINITION_CHANGE: Wh,
4415
- BUFFER_CHANGE: qh,
4452
+ BEFORE_DEFINITION_CHANGE: $h,
4453
+ BUFFER_CHANGE: Gh,
4416
4454
  CANPLAY: qe,
4417
- CANPLAY_THROUGH: Hh,
4455
+ CANPLAY_THROUGH: zh,
4418
4456
  COMPLETE: Si,
4419
4457
  CSS_FULLSCREEN_CHANGE: si,
4420
4458
  DEFINITION_CHANGE: Ta,
4421
4459
  DESTROY: _a,
4422
4460
  DOWNLOAD_SPEED_CHANGE: Qr,
4423
- DURATION_CHANGE: $e,
4461
+ DURATION_CHANGE: Ke,
4424
4462
  EMPTIED: gt,
4425
4463
  ENDED: dt,
4426
4464
  ENTER_PLAYER: nu,
@@ -4429,7 +4467,7 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4429
4467
  FULLSCREEN_CHANGE: Ve,
4430
4468
  LEAVE_PLAYER: iu,
4431
4469
  LOADED_DATA: Ge,
4432
- LOADED_METADATA: Uh,
4470
+ LOADED_METADATA: jh,
4433
4471
  LOADING: ru,
4434
4472
  LOAD_START: ba,
4435
4473
  MINI_STATE_CHANGE: oi,
@@ -4445,25 +4483,25 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4445
4483
  READY: Ca,
4446
4484
  REPLAY: ai,
4447
4485
  RESET: Ei,
4448
- RETRY: $h,
4486
+ RETRY: Yh,
4449
4487
  ROTATE: au,
4450
4488
  SCREEN_SHOT: su,
4451
4489
  SEEKED: We,
4452
4490
  SEEKING: Ti,
4453
- SEI_PARSED: Gh,
4491
+ SEI_PARSED: Kh,
4454
4492
  SHORTCUT: ou,
4455
4493
  SOURCE_ERROR: uu,
4456
4494
  SOURCE_SUCCESS: cu,
4457
- STALLED: zh,
4495
+ STALLED: Vh,
4458
4496
  STATS_EVENTS: hu,
4459
- SUSPEND: jh,
4460
- SWITCH_SUBTITLE: Kh,
4497
+ SUSPEND: qh,
4498
+ SWITCH_SUBTITLE: Xh,
4461
4499
  TIME_UPDATE: Ae,
4462
4500
  URL_CHANGE: Ai,
4463
4501
  URL_NULL: tu,
4464
4502
  USER_ACTION: ui,
4465
4503
  VIDEO_EVENTS: fu,
4466
- VIDEO_RESIZE: et,
4504
+ VIDEO_RESIZE: tt,
4467
4505
  VOLUME_CHANGE: Zl,
4468
4506
  WAITING: qt,
4469
4507
  XGLOG: lu
@@ -4471,7 +4509,7 @@ const Yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4471
4509
  function Fr(a, s) {
4472
4510
  !this || !this.emit || (a === "error" ? this.errorHandler(a, s.error) : this.emit(a, s));
4473
4511
  }
4474
- function Xh(a, s) {
4512
+ function Jh(a, s) {
4475
4513
  return function(r, t) {
4476
4514
  var e = {
4477
4515
  player: s,
@@ -4506,7 +4544,7 @@ function Xh(a, s) {
4506
4544
  Fr.call(s, a, e);
4507
4545
  };
4508
4546
  }
4509
- var Zh = /* @__PURE__ */ (function(a) {
4547
+ var Qh = /* @__PURE__ */ (function(a) {
4510
4548
  B(r, a);
4511
4549
  var s = H(r);
4512
4550
  function r(t) {
@@ -4550,7 +4588,7 @@ var Zh = /* @__PURE__ */ (function(a) {
4550
4588
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
4551
4589
  this._evHandlers || (this._evHandlers = fu.map(function(n) {
4552
4590
  var o = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
4553
- return typeof e[o] == "function" && e.on(n, e[o]), k({}, n, Xh(n, e));
4591
+ return typeof e[o] == "function" && e.on(n, e[o]), k({}, n, Jh(n, e));
4554
4592
  })), this._evHandlers.forEach(function(n) {
4555
4593
  var o = Object.keys(n)[0];
4556
4594
  i.addEventListener(o, n[o], !1);
@@ -4924,7 +4962,7 @@ var Zh = /* @__PURE__ */ (function(a) {
4924
4962
  V(z(r.prototype), "removeAllListeners", this).call(this);
4925
4963
  }
4926
4964
  }]), r;
4927
- })(Yl), Jh = /* @__PURE__ */ (function() {
4965
+ })(Yl), ed = /* @__PURE__ */ (function() {
4928
4966
  function a() {
4929
4967
  var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
4930
4968
  name: "xgplayer",
@@ -5002,7 +5040,7 @@ var Zh = /* @__PURE__ */ (function(a) {
5002
5040
  t.clear();
5003
5041
  }
5004
5042
  }]), a;
5005
- })(), Ko = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Yo = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], Xo = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], Qe = "data-xgplayerid";
5043
+ })(), Ko = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Yo = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], Xo = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], et = "data-xgplayerid";
5006
5044
  function Qt(a, s, r) {
5007
5045
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
5008
5046
  e[i - 3] = arguments[i];
@@ -5106,16 +5144,16 @@ function Pe(a, s, r) {
5106
5144
  v[m - 3] = arguments[m];
5107
5145
  if (o++, n.length === 0 || o === n.length)
5108
5146
  return d.call.apply(d, [c, c].concat(v));
5109
- var p = n[o], T = p.call.apply(p, [c, c].concat(v));
5110
- if (T && T.then)
5111
- return T.then(function(y) {
5147
+ var p = n[o], _ = p.call.apply(p, [c, c].concat(v));
5148
+ if (_ && _.then)
5149
+ return _.then(function(y) {
5112
5150
  return y === !1 ? null : u.apply(void 0, [c, h, d].concat(v));
5113
5151
  }).catch(function(y) {
5114
5152
  console.warn("[runHooks]".concat(h, " reject"), y.message);
5115
5153
  });
5116
- if (T !== !1)
5154
+ if (_ !== !1)
5117
5155
  return u.apply(void 0, [c, h, d].concat(v));
5118
- if (T === !1)
5156
+ if (_ === !1)
5119
5157
  return !1;
5120
5158
  };
5121
5159
  return l.apply(void 0, [a, s, r].concat(e));
@@ -5125,7 +5163,7 @@ function Pe(a, s, r) {
5125
5163
  function Mr(a, s) {
5126
5164
  K.logError("[".concat(a, "] event or callback cant be undefined or null when call ").concat(s));
5127
5165
  }
5128
- var tt = /* @__PURE__ */ (function() {
5166
+ var it = /* @__PURE__ */ (function() {
5129
5167
  function a(s) {
5130
5168
  R(this, a), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(s), vu(this), this.__args = s, this.__events = {}, this.__onceEvents = {}, this.config = s.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(s);
5131
5169
  }
@@ -5320,7 +5358,7 @@ var tt = /* @__PURE__ */ (function() {
5320
5358
  }
5321
5359
  }]), a;
5322
5360
  })(), Nr, Qo;
5323
- function Qh() {
5361
+ function td() {
5324
5362
  if (Qo) return Nr;
5325
5363
  Qo = 1;
5326
5364
  var a = 9;
@@ -5338,10 +5376,10 @@ function Qh() {
5338
5376
  return Nr = r, Nr;
5339
5377
  }
5340
5378
  var Br, el;
5341
- function ed() {
5379
+ function id() {
5342
5380
  if (el) return Br;
5343
5381
  el = 1;
5344
- var a = Qh();
5382
+ var a = td();
5345
5383
  function s(e, i, n, o, l) {
5346
5384
  var u = t.apply(this, arguments);
5347
5385
  return e.addEventListener(n, u, l), {
@@ -5362,12 +5400,12 @@ function ed() {
5362
5400
  }
5363
5401
  return Br = r, Br;
5364
5402
  }
5365
- var td = ed();
5366
- const tl = /* @__PURE__ */ Il(td);
5367
- var id = {
5403
+ var nd = id();
5404
+ const tl = /* @__PURE__ */ Il(nd);
5405
+ var rd = {
5368
5406
  CONTROLS: "controls",
5369
5407
  ROOT: "root"
5370
- }, ne = {
5408
+ }, re = {
5371
5409
  ROOT: "root",
5372
5410
  ROOT_LEFT: "rootLeft",
5373
5411
  ROOT_RIGHT: "rootRight",
@@ -5383,10 +5421,10 @@ var id = {
5383
5421
  function Hr(a) {
5384
5422
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
5385
5423
  }
5386
- function nd(a, s) {
5424
+ function ad(a, s) {
5387
5425
  return ye(a) === "object" && a.class && typeof a.class == "string" ? "".concat(s, " ").concat(a.class) : s;
5388
5426
  }
5389
- function rd(a, s) {
5427
+ function sd(a, s) {
5390
5428
  return ye(a) === "object" && a.attr && ye(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
5391
5429
  s[r] = a.attr[r];
5392
5430
  }), s;
@@ -5409,14 +5447,14 @@ function nl(a, s) {
5409
5447
  }
5410
5448
  return typeof a == "string" ? f.createDomFromHtml(a, t, r) : (K.logWarn("warn>>icons.".concat(s, " in config of plugin named [").concat(e, "] is invalid")), null);
5411
5449
  }
5412
- function ad(a, s) {
5450
+ function od(a, s) {
5413
5451
  var r = s.config.icons || s.playerConfig.icons;
5414
5452
  Object.keys(a).map(function(t) {
5415
5453
  var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, o = null;
5416
- r && r[t] && (i = nd(r[t], i), n = rd(r[t], n), o = nl(r[t], t, i, n, s.pluginName)), !o && e && (o = nl(e.icon ? e.icon : e, n, i, {}, s.pluginName)), s.icons[t] = o;
5454
+ r && r[t] && (i = ad(r[t], i), n = sd(r[t], n), o = nl(r[t], t, i, n, s.pluginName)), !o && e && (o = nl(e.icon ? e.icon : e, n, i, {}, s.pluginName)), s.icons[t] = o;
5417
5455
  });
5418
5456
  }
5419
- function sd(a, s) {
5457
+ function ld(a, s) {
5420
5458
  Object.keys(a).map(function(r) {
5421
5459
  Object.defineProperty(s.langText, r, {
5422
5460
  get: function() {
@@ -5440,9 +5478,9 @@ var J = /* @__PURE__ */ (function(a) {
5440
5478
  var i = e.root, n = null;
5441
5479
  this.icons = {}, this.root = null, this.parent = null, this.extraEls = [];
5442
5480
  var o = this.registerIcons() || {};
5443
- ad(o, this), this.langText = {};
5481
+ od(o, this), this.langText = {};
5444
5482
  var l = this.registerLanguageTexts() || {};
5445
- sd(l, this);
5483
+ ld(l, this);
5446
5484
  var u = "";
5447
5485
  try {
5448
5486
  u = this.render();
@@ -5710,15 +5748,15 @@ var J = /* @__PURE__ */ (function(a) {
5710
5748
  }, {
5711
5749
  key: "ROOT_TYPES",
5712
5750
  get: function() {
5713
- return id;
5751
+ return rd;
5714
5752
  }
5715
5753
  }, {
5716
5754
  key: "POSITIONS",
5717
5755
  get: function() {
5718
- return ne;
5756
+ return re;
5719
5757
  }
5720
5758
  }]), r;
5721
- })(tt), od = /* @__PURE__ */ (function() {
5759
+ })(it), ud = /* @__PURE__ */ (function() {
5722
5760
  function a() {
5723
5761
  var s = this;
5724
5762
  if (R(this, a), k(this, "__trigger", function(r) {
@@ -5728,7 +5766,7 @@ var J = /* @__PURE__ */ (function(a) {
5728
5766
  s.__runHandler(r[e].target);
5729
5767
  }), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
5730
5768
  try {
5731
- this.observer = new window.ResizeObserver(Fh(this.__trigger, 100, {
5769
+ this.observer = new window.ResizeObserver(Nh(this.__trigger, 100, {
5732
5770
  trailing: !0
5733
5771
  })), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
5734
5772
  } catch (r) {
@@ -5740,7 +5778,7 @@ var J = /* @__PURE__ */ (function(a) {
5740
5778
  value: function(r, t) {
5741
5779
  if (this.observer) {
5742
5780
  this.observer.observe(r);
5743
- for (var e = r.getAttribute(Qe), i = this.__handlers, n = -1, o = 0; o < i.length; o++)
5781
+ for (var e = r.getAttribute(et), i = this.__handlers, n = -1, o = 0; o < i.length; o++)
5744
5782
  i[o] && r === i[o].target && (n = o);
5745
5783
  n > -1 ? this.__handlers[n].handler = t : this.__handlers.push({
5746
5784
  target: r,
@@ -5785,10 +5823,10 @@ var J = /* @__PURE__ */ (function(a) {
5785
5823
  }
5786
5824
  }]), a;
5787
5825
  })(), Mt = null;
5788
- function ld(a, s) {
5789
- return Mt || (Mt = new od()), Mt.addObserver(a, s), Mt;
5826
+ function cd(a, s) {
5827
+ return Mt || (Mt = new ud()), Mt.addObserver(a, s), Mt;
5790
5828
  }
5791
- function ud(a, s) {
5829
+ function fd(a, s) {
5792
5830
  var r;
5793
5831
  (r = Mt) === null || r === void 0 || r.unObserver(a, s);
5794
5832
  }
@@ -5796,7 +5834,7 @@ var pe = {
5796
5834
  pluginGroup: {},
5797
5835
  init: function(s) {
5798
5836
  var r = s._pluginInfoId;
5799
- r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver && ld(s.root, function() {
5837
+ r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver && cd(s.root, function() {
5800
5838
  s.resize();
5801
5839
  }), this.pluginGroup[r] = {
5802
5840
  _originalOptions: s.config || {},
@@ -5982,7 +6020,7 @@ var pe = {
5982
6020
  destroy: function(s) {
5983
6021
  var r = s._pluginInfoId;
5984
6022
  if (this.pluginGroup[r]) {
5985
- ud(s.root);
6023
+ fd(s.root);
5986
6024
  for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
5987
6025
  var n = i[e];
5988
6026
  this.unRegister(r, n);
@@ -6068,7 +6106,7 @@ function rl() {
6068
6106
  ignores: [],
6069
6107
  whitelist: [],
6070
6108
  inactive: 3e3,
6071
- lang: Mh(),
6109
+ lang: Bh(),
6072
6110
  controls: !0,
6073
6111
  marginControls: !1,
6074
6112
  fullscreenTarget: null,
@@ -6104,7 +6142,7 @@ function rl() {
6104
6142
  }
6105
6143
  };
6106
6144
  }
6107
- var cd = function(s, r) {
6145
+ var hd = function(s, r) {
6108
6146
  var t, e, i;
6109
6147
  r.preset && r.options ? i = new r.preset(r.options, s.config) : i = new r({}, s.config);
6110
6148
  var n = i, o = n.plugins, l = o === void 0 ? [] : o, u = n.ignores, c = u === void 0 ? [] : u, h = n.icons, d = h === void 0 ? {} : h, g = n.i18n, v = g === void 0 ? [] : g;
@@ -6113,7 +6151,7 @@ var cd = function(s, r) {
6113
6151
  });
6114
6152
  var m = s.config.i18n || [];
6115
6153
  v.push.apply(v, Re(m)), s.config.i18n = v;
6116
- }, fd = /* @__PURE__ */ (function(a) {
6154
+ }, dd = /* @__PURE__ */ (function(a) {
6117
6155
  B(r, a);
6118
6156
  var s = H(r);
6119
6157
  function r() {
@@ -6209,16 +6247,16 @@ var cd = function(s, r) {
6209
6247
  if (!i.root) {
6210
6248
  var l = i.position ? i.position : i.config && i.config.position ? i.config.position : o.position;
6211
6249
  switch (l) {
6212
- case ne.CONTROLS_LEFT:
6250
+ case re.CONTROLS_LEFT:
6213
6251
  i.root = this.left;
6214
6252
  break;
6215
- case ne.CONTROLS_RIGHT:
6253
+ case re.CONTROLS_RIGHT:
6216
6254
  i.root = this.right;
6217
6255
  break;
6218
- case ne.CONTROLS_CENTER:
6256
+ case re.CONTROLS_CENTER:
6219
6257
  i.root = this.center;
6220
6258
  break;
6221
- case ne.CONTROLS:
6259
+ case re.CONTROLS:
6222
6260
  i.root = this.root;
6223
6261
  break;
6224
6262
  default:
@@ -6274,7 +6312,7 @@ var cd = function(s, r) {
6274
6312
  };
6275
6313
  }
6276
6314
  }]), r;
6277
- })(J), hd = {
6315
+ })(J), gd = {
6278
6316
  LANG: "en",
6279
6317
  TEXT: {
6280
6318
  ERROR_TYPES: {
@@ -6369,7 +6407,7 @@ function mu() {
6369
6407
  Se.textKeys[a] = a;
6370
6408
  });
6371
6409
  }
6372
- function dd(a, s) {
6410
+ function vd(a, s) {
6373
6411
  var r = [];
6374
6412
  if (s || (s = Se), !!s.lang) {
6375
6413
  f.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
@@ -6392,7 +6430,7 @@ function Sa(a, s) {
6392
6430
  r === "zh" && (r = "zh-cn"), s.lang[r] ? Ht(s.lang[r], t) : (s.langKeys.push(r), s.lang[r] = t), mu();
6393
6431
  }
6394
6432
  }
6395
- function gd(a) {
6433
+ function pd(a) {
6396
6434
  var s, r = {
6397
6435
  lang: {},
6398
6436
  langKeys: [],
@@ -6401,7 +6439,7 @@ function gd(a) {
6401
6439
  };
6402
6440
  return Ht(r.lang, Se.lang), (s = r.langKeys).push.apply(s, Re(Se.langKeys)), Ht(r.textKeys, Se.textKeys), r;
6403
6441
  }
6404
- Sa(hd);
6442
+ Sa(gd);
6405
6443
  var At = {
6406
6444
  get textKeys() {
6407
6445
  return Se.textKeys;
@@ -6415,9 +6453,9 @@ var At = {
6415
6453
  a[s] = Se.lang[s];
6416
6454
  }), Se.lang["zh-cn"] && (a.zh = Se.lang["zh-cn"] || {}), a;
6417
6455
  },
6418
- extend: dd,
6456
+ extend: vd,
6419
6457
  use: Sa,
6420
- init: gd
6458
+ init: pd
6421
6459
  }, X = {
6422
6460
  INITIAL: 1,
6423
6461
  READY: 2,
@@ -6513,7 +6551,7 @@ var At = {
6513
6551
  }
6514
6552
  }]), r;
6515
6553
  })(Kl.EventEmitter);
6516
- function vd(a) {
6554
+ function md(a) {
6517
6555
  for (var s = Object.keys(ke), r = 0; r < s.length; r++) {
6518
6556
  var t = ke[s[r]];
6519
6557
  if (t.root === a)
@@ -6521,7 +6559,7 @@ function vd(a) {
6521
6559
  }
6522
6560
  return null;
6523
6561
  }
6524
- var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /* @__PURE__ */ (function(a) {
6562
+ var yd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Ze = null, xi = /* @__PURE__ */ (function(a) {
6525
6563
  B(r, a);
6526
6564
  var s = H(r);
6527
6565
  function r(t) {
@@ -6530,10 +6568,10 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
6530
6568
  var o = f.deepMerge(rl(), t);
6531
6569
  n = s.call(this, o), k(b(n), "canPlayFunc", function() {
6532
6570
  if (n.config) {
6533
- var p = n.config, T = p.autoplay, y = p.defaultPlaybackRate;
6534
- K.logInfo("player", "canPlayFunc, startTime", n.__startTime), n._seekToStartTime(), n.playbackRate = y, (T || n._useAutoplay) && n.mediaPlay(), n.off(qe, n.canPlayFunc), n.removeClass(A.ENTER);
6571
+ var p = n.config, _ = p.autoplay, y = p.defaultPlaybackRate;
6572
+ K.logInfo("player", "canPlayFunc, startTime", n.__startTime), n._seekToStartTime(), n.playbackRate = y, (_ || n._useAutoplay) && n.mediaPlay(), n.off(qe, n.canPlayFunc), n.removeClass(A.ENTER);
6535
6573
  }
6536
- }), k(b(n), "onFullscreenChange", function(p, T) {
6574
+ }), k(b(n), "onFullscreenChange", function(p, _) {
6537
6575
  var y = function() {
6538
6576
  f.setTimeout(b(n), function() {
6539
6577
  n.resize();
@@ -6551,8 +6589,8 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
6551
6589
  to: !1
6552
6590
  }]
6553
6591
  });
6554
- var E = Nh(C, n.playerId, Qe);
6555
- if (T || C && (C === n._fullscreenEl || E))
6592
+ var E = Hh(C, n.playerId, et);
6593
+ if (_ || C && (C === n._fullscreenEl || E))
6556
6594
  y(), !n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !0, n.changeFullStyle(n.root, C, A.FULLSCREEN), n.emit(Ve, !0, n._fullScreenOffset), n.cssfullscreen && n.exitCssFullscreen();
6557
6595
  else if (n.fullscreen) {
6558
6596
  y();
@@ -6571,7 +6609,7 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
6571
6609
  n._fullscreenEl = n.media, n.onFullscreenChange(p, !0);
6572
6610
  }), k(b(n), "_onWebkitendfullscreen", function(p) {
6573
6611
  n.onFullscreenChange(p, !1);
6574
- }), vu(b(n), pd), n.config = o, n._pluginInfoId = f.generateSessionId(), Dh(b(n));
6612
+ }), vu(b(n), yd), n.config = o, n._pluginInfoId = f.generateSessionId(), Lh(b(n));
6575
6613
  var l = n.constructor.defaultPreset;
6576
6614
  if (n.config.presets.length) {
6577
6615
  var u = n.config.presets.indexOf("default");
@@ -6599,9 +6637,9 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
6599
6637
  }, n._offsetInfo = {
6600
6638
  currentTime: -1,
6601
6639
  duration: 0
6602
- }, n.innerContainer = null, n.controls = null, n.topBar = null, n.root = null, n.__i18n = At.init(n._pluginInfoId), W.os.isAndroid && W.osVersion > 0 && W.osVersion < 6 && (n.config.autoplay = !1), n.database = new Jh(), n.isUserActive = !1, n._onceSeekCanplay = null, n._isPauseBeforeSeek = 0, n.innerStates = {
6640
+ }, n.innerContainer = null, n.controls = null, n.topBar = null, n.root = null, n.__i18n = At.init(n._pluginInfoId), W.os.isAndroid && W.osVersion > 0 && W.osVersion < 6 && (n.config.autoplay = !1), n.database = new ed(), n.isUserActive = !1, n._onceSeekCanplay = null, n._isPauseBeforeSeek = 0, n.innerStates = {
6603
6641
  isActiveLocked: !1
6604
- }, n.instManager = Xe;
6642
+ }, n.instManager = Ze;
6605
6643
  var c = n._initDOM();
6606
6644
  if (!c)
6607
6645
  return console.error(new Error("can't find the dom which id is ".concat(n.config.id, " or this.config.el does not exist"))), ya(n);
@@ -6631,9 +6669,9 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
6631
6669
  msg: "container id can't be empty"
6632
6670
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
6633
6671
  }
6634
- var o = vd(this.root);
6635
- if (o && (K.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(Qe, this.playerId), this.media.setAttribute(Qe, this.playerId), (e = Xe) === null || e === void 0 || e.add(this), pe.init(this), this._initBaseDoms(), this.config.controls) {
6636
- var l = this.config.controls.root || null, u = pe.register(this, fd, {
6672
+ var o = md(this.root);
6673
+ if (o && (K.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(et, this.playerId), this.media.setAttribute(et, this.playerId), (e = Ze) === null || e === void 0 || e.add(this), pe.init(this), this._initBaseDoms(), this.config.controls) {
6674
+ var l = this.config.controls.root || null, u = pe.register(this, dd, {
6637
6675
  root: l
6638
6676
  });
6639
6677
  this.controls = u;
@@ -6655,8 +6693,8 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
6655
6693
  ["width", "height"].forEach(function(E) {
6656
6694
  i.config[E] && (typeof i.config[E] != "number" ? i.root.style[E] = i.config[E] : i.root.style[E] = "".concat(i.config[E], "px"));
6657
6695
  });
6658
- var m = this.root.getBoundingClientRect(), p = m.width, T = m.height, y = m.left, C = m.top;
6659
- return this.sizeInfo.width = p, this.sizeInfo.height = T, this.sizeInfo.left = y, this.sizeInfo.top = C, !0;
6696
+ var m = this.root.getBoundingClientRect(), p = m.width, _ = m.height, y = m.left, C = m.top;
6697
+ return this.sizeInfo.width = p, this.sizeInfo.height = _, this.sizeInfo.left = y, this.sizeInfo.top = C, !0;
6660
6698
  }
6661
6699
  }, {
6662
6700
  key: "_initBaseDoms",
@@ -6741,7 +6779,7 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
6741
6779
  value: function() {
6742
6780
  var e = this;
6743
6781
  this.config.presets.forEach(function(i) {
6744
- cd(e, i);
6782
+ hd(e, i);
6745
6783
  });
6746
6784
  }
6747
6785
  }, {
@@ -6749,13 +6787,13 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
6749
6787
  value: function(e) {
6750
6788
  var i = null;
6751
6789
  switch (e) {
6752
- case ne.ROOT_RIGHT:
6790
+ case re.ROOT_RIGHT:
6753
6791
  this.rightBar || (this.rightBar = f.createPositionBar("xg-right-bar", this.root)), i = this.rightBar;
6754
6792
  break;
6755
- case ne.ROOT_LEFT:
6793
+ case re.ROOT_LEFT:
6756
6794
  this.leftBar || (this.leftBar = f.createPositionBar("xg-left-bar", this.root)), i = this.leftBar;
6757
6795
  break;
6758
- case ne.ROOT_TOP:
6796
+ case re.ROOT_TOP:
6759
6797
  this.topBar || (this.topBar = f.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && f.addClass(this.topBar, A.TOP_BAR_AUTOHIDE)), i = this.topBar;
6760
6798
  break;
6761
6799
  default:
@@ -6781,7 +6819,7 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
6781
6819
  }, {
6782
6820
  key: "deregister",
6783
6821
  value: function(e) {
6784
- typeof e == "string" ? pe.unRegister(this, e) : e instanceof tt && pe.unRegister(this, e.pluginName);
6822
+ typeof e == "string" ? pe.unRegister(this, e) : e instanceof it && pe.unRegister(this, e.pluginName);
6785
6823
  }
6786
6824
  }, {
6787
6825
  key: "unRegisterPlugin",
@@ -6793,7 +6831,7 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
6793
6831
  key: "removePluginFromConfig",
6794
6832
  value: function(e) {
6795
6833
  var i;
6796
- if (typeof e == "string" ? i = e : e instanceof tt && (i = e.pluginName), !!i)
6834
+ if (typeof e == "string" ? i = e : e instanceof it && (i = e.pluginName), !!i)
6797
6835
  for (var n = this.config.plugins.length - 1; n > -1; n--) {
6798
6836
  var o = this.config.plugins[n];
6799
6837
  if (o.pluginName.toLowerCase() === i.toLowerCase()) {
@@ -7025,7 +7063,7 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
7025
7063
  value: function() {
7026
7064
  var e, i = this, n = this.innerContainer, o = this.root, l = this.media;
7027
7065
  if (!(!o || !l)) {
7028
- if (this.hasStart = !1, this._useAutoplay = !1, o.removeAttribute(Qe), l.removeAttribute(Qe), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(_a), (e = Xe) === null || e === void 0 || e.remove(this), pe.destroy(this), pu(this), V(z(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
7066
+ if (this.hasStart = !1, this._useAutoplay = !1, o.removeAttribute(et), l.removeAttribute(et), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(_a), (e = Ze) === null || e === void 0 || e.remove(this), pe.destroy(this), pu(this), V(z(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
7029
7067
  for (var u = n.children, c = 0; c < u.length; c++)
7030
7068
  n.removeChild(u[c]);
7031
7069
  !n && l instanceof window.Node && o.contains(l) && !this.config.remainMediaAfterDestroy && o.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
@@ -7068,12 +7106,12 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
7068
7106
  }, {
7069
7107
  key: "changeFullStyle",
7070
7108
  value: function(e, i, n, o) {
7071
- e && (o || (o = A.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = f.filterStyleFromText(e)), f.addClass(e, n), i && i !== e && !this._orgPCss && (this._orgPCss = f.filterStyleFromText(i), f.addClass(i, o), i.setAttribute(Qe, this.playerId)));
7109
+ e && (o || (o = A.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = f.filterStyleFromText(e)), f.addClass(e, n), i && i !== e && !this._orgPCss && (this._orgPCss = f.filterStyleFromText(i), f.addClass(i, o), i.setAttribute(et, this.playerId)));
7072
7110
  }
7073
7111
  }, {
7074
7112
  key: "recoverFullStyle",
7075
7113
  value: function(e, i, n, o) {
7076
- o || (o = A.PARENT_FULLSCREEN), this._orgCss && (f.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), f.removeClass(e, n), i && i !== e && this._orgPCss && (f.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", f.removeClass(i, o), i.removeAttribute(Qe));
7114
+ o || (o = A.PARENT_FULLSCREEN), this._orgCss && (f.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), f.removeClass(e, n), i && i !== e && this._orgPCss && (f.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", f.removeClass(i, o), i.removeAttribute(et));
7077
7115
  }
7078
7116
  }, {
7079
7117
  key: "getFullscreen",
@@ -7239,7 +7277,7 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
7239
7277
  key: "onLoadeddata",
7240
7278
  value: function() {
7241
7279
  var e = this;
7242
- this.isError = !1, this.isSeeking = !1, this.__startTime > 0 && (this.duration > 0 ? this._seekToStartTime() : this.once($e, function() {
7280
+ this.isError = !1, this.isSeeking = !1, this.__startTime > 0 && (this.duration > 0 ? this._seekToStartTime() : this.once(Ke, function() {
7243
7281
  e._seekToStartTime();
7244
7282
  }));
7245
7283
  }
@@ -7358,7 +7396,7 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
7358
7396
  this.videoPos.pi = h, c = c < 0 ? 0 : c;
7359
7397
  var d = {
7360
7398
  rotate: c
7361
- }, g = 0, v = 0, m = 1, p = Math.abs(c / 90), T = this.root, y = this.innerContainer, C = T.offsetWidth, E = y ? y.offsetHeight : T.offsetHeight, x = {}, D = E, Z = C;
7399
+ }, g = 0, v = 0, m = 1, p = Math.abs(c / 90), _ = this.root, y = this.innerContainer, C = _.offsetWidth, E = y ? y.offsetHeight : _.offsetHeight, x = {}, D = E, Z = C;
7362
7400
  if (p % 2 === 0)
7363
7401
  m = l > 0 ? 100 / l : u > 0 ? 100 / u : 1, d.scale = m, g = n > 0 ? (100 - l) / 2 - n : 0, d.y = p === 2 ? 0 - g : g, v = o > 0 ? (100 - u) / 2 - o : 0, d.x = p === 2 ? 0 - v : v, x.width = "".concat(Z, "px"), x.height = "".concat(D, "px"), x.maxWidth = "", x.maxHeight = "";
7364
7402
  else if (p % 2 === 1) {
@@ -7417,18 +7455,18 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
7417
7455
  var n = this.media, o = n.videoWidth, l = n.videoHeight, u = this.config, c = u.fitVideoSize, h = u.videoFillMode;
7418
7456
  if ((h === "fill" || h === "cover" || h === "contain") && this.setAttribute("data-xgfill", h), !(!l || !o)) {
7419
7457
  this._videoHeight = l, this._videoWidth = o;
7420
- var d = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, g = i.width, v = i.height - d, m = parseInt(o / l * 1e3, 10), p = parseInt(g / v * 1e3, 10), T = g, y = v, C = {};
7421
- c === "auto" && p > m || c === "fixWidth" ? (y = g / m * 1e3, this.config.fluid ? C.paddingTop = "".concat(y * 100 / T, "%") : C.height = "".concat(y + d, "px")) : (c === "auto" && p < m || c === "fixHeight") && (T = m * v / 1e3, C.width = "".concat(T, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(C).forEach(function(x) {
7458
+ var d = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, g = i.width, v = i.height - d, m = parseInt(o / l * 1e3, 10), p = parseInt(g / v * 1e3, 10), _ = g, y = v, C = {};
7459
+ c === "auto" && p > m || c === "fixWidth" ? (y = g / m * 1e3, this.config.fluid ? C.paddingTop = "".concat(y * 100 / _, "%") : C.height = "".concat(y + d, "px")) : (c === "auto" && p < m || c === "fixHeight") && (_ = m * v / 1e3, C.width = "".concat(_, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(C).forEach(function(x) {
7422
7460
  e.root.style[x] = C[x];
7423
7461
  }), (h === "fillHeight" && p < m || h === "fillWidth" && p > m) && this.setAttribute("data-xgfill", "cover");
7424
7462
  var E = {
7425
7463
  videoScale: m,
7426
- vWidth: T,
7464
+ vWidth: _,
7427
7465
  vHeight: y,
7428
- cWidth: T,
7466
+ cWidth: _,
7429
7467
  cHeight: y + d
7430
7468
  };
7431
- this.resizePosition(), this.emit(et, E);
7469
+ this.resizePosition(), this.emit(tt, E);
7432
7470
  }
7433
7471
  }
7434
7472
  }
@@ -7685,7 +7723,7 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
7685
7723
  key: "setUserActive",
7686
7724
  value: function(e, i) {
7687
7725
  var n;
7688
- typeof i == "boolean" && i !== this.muted && (this.addInnerOP("volumechange"), f.typeOf(i) === Boolean && (this.muted = i)), (n = Xe) === null || n === void 0 || n.setActive(this.playerId, e);
7726
+ typeof i == "boolean" && i !== this.muted && (this.addInnerOP("volumechange"), f.typeOf(i) === Boolean && (this.muted = i)), (n = Ze) === null || n === void 0 || n.setActive(this.playerId, e);
7689
7727
  }
7690
7728
  }], [{
7691
7729
  key: "debugger",
@@ -7698,22 +7736,22 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
7698
7736
  }, {
7699
7737
  key: "instManager",
7700
7738
  get: function() {
7701
- return Xe;
7739
+ return Ze;
7702
7740
  },
7703
7741
  set: function(e) {
7704
- Xe = e;
7742
+ Ze = e;
7705
7743
  }
7706
7744
  }, {
7707
7745
  key: "getCurrentUserActivePlayerId",
7708
7746
  value: function() {
7709
7747
  var e;
7710
- return (e = Xe) === null || e === void 0 ? void 0 : e.getActiveId();
7748
+ return (e = Ze) === null || e === void 0 ? void 0 : e.getActiveId();
7711
7749
  }
7712
7750
  }, {
7713
7751
  key: "setCurrentUserActive",
7714
7752
  value: function(e, i) {
7715
7753
  var n;
7716
- (n = Xe) === null || n === void 0 || n.setActive(e, i);
7754
+ (n = Ze) === null || n === void 0 || n.setActive(e, i);
7717
7755
  }
7718
7756
  }, {
7719
7757
  key: "isHevcSupported",
@@ -7736,7 +7774,7 @@ var pd = ["play", "pause", "replay", "retry"], sl = 0, ol = 0, Xe = null, xi = /
7736
7774
  r.plugins || (r.plugins = {}), r.plugins[e] = i;
7737
7775
  }
7738
7776
  }]), r;
7739
- })(Zh);
7777
+ })(Qh);
7740
7778
  k(xi, "defaultPreset", null);
7741
7779
  k(xi, "XgVideoProxy", null);
7742
7780
  xi.instManager = yu.getInstance();
@@ -7779,13 +7817,13 @@ var vt = /* @__PURE__ */ (function(a) {
7779
7817
  }
7780
7818
  }]), r;
7781
7819
  })(J);
7782
- function md() {
7820
+ function bd() {
7783
7821
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
7784
7822
  <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>
7785
7823
  </svg>
7786
7824
  `, "image/svg+xml").firstChild;
7787
7825
  }
7788
- function yd() {
7826
+ function wd() {
7789
7827
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
7790
7828
  <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>
7791
7829
  </svg>
@@ -7845,11 +7883,11 @@ var ia = /* @__PURE__ */ (function(a) {
7845
7883
  value: function() {
7846
7884
  return {
7847
7885
  cssFullscreen: {
7848
- icon: md,
7886
+ icon: bd,
7849
7887
  class: "xg-get-cssfull"
7850
7888
  },
7851
7889
  exitCssFullscreen: {
7852
- icon: yd,
7890
+ icon: wd,
7853
7891
  class: "xg-exit-cssfull"
7854
7892
  }
7855
7893
  };
@@ -7878,7 +7916,7 @@ var ia = /* @__PURE__ */ (function(a) {
7878
7916
  key: "defaultConfig",
7879
7917
  get: function() {
7880
7918
  return {
7881
- position: ne.CONTROLS_RIGHT,
7919
+ position: re.CONTROLS_RIGHT,
7882
7920
  index: 1,
7883
7921
  disable: !1,
7884
7922
  target: null
@@ -7886,14 +7924,14 @@ var ia = /* @__PURE__ */ (function(a) {
7886
7924
  }
7887
7925
  }]), r;
7888
7926
  })(vt);
7889
- function bd() {
7927
+ function Cd() {
7890
7928
  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">
7891
7929
  <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7892
7930
  <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>
7893
7931
  </g>
7894
7932
  </svg>`, "image/svg+xml").firstChild;
7895
7933
  }
7896
- var wd = /* @__PURE__ */ (function(a) {
7934
+ var kd = /* @__PURE__ */ (function(a) {
7897
7935
  B(r, a);
7898
7936
  var s = H(r);
7899
7937
  function r() {
@@ -7912,7 +7950,7 @@ var wd = /* @__PURE__ */ (function(a) {
7912
7950
  value: function() {
7913
7951
  return {
7914
7952
  screenBack: {
7915
- icon: bd,
7953
+ icon: Cd,
7916
7954
  class: "xg-fullscreen-back"
7917
7955
  }
7918
7956
  };
@@ -7948,19 +7986,19 @@ var wd = /* @__PURE__ */ (function(a) {
7948
7986
  key: "defaultConfig",
7949
7987
  get: function() {
7950
7988
  return {
7951
- position: ne.ROOT_TOP,
7989
+ position: re.ROOT_TOP,
7952
7990
  index: 0
7953
7991
  };
7954
7992
  }
7955
7993
  }]), r;
7956
7994
  })(J);
7957
- function Cd() {
7995
+ function _d() {
7958
7996
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
7959
7997
  <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>
7960
7998
  </svg>
7961
7999
  `, "image/svg+xml").firstChild;
7962
8000
  }
7963
- function kd() {
8001
+ function Td() {
7964
8002
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
7965
8003
  <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>
7966
8004
  </svg>
@@ -8001,7 +8039,7 @@ var bu = /* @__PURE__ */ (function(a) {
8001
8039
  var u = e.find(".xg-tips");
8002
8040
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
8003
8041
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
8004
- plugin: wd,
8042
+ plugin: kd,
8005
8043
  options: {
8006
8044
  config: {
8007
8045
  onClick: function(u) {
@@ -8017,11 +8055,11 @@ var bu = /* @__PURE__ */ (function(a) {
8017
8055
  value: function() {
8018
8056
  return {
8019
8057
  fullscreen: {
8020
- icon: Cd,
8058
+ icon: _d,
8021
8059
  class: "xg-get-fullscreen"
8022
8060
  },
8023
8061
  exitFullscreen: {
8024
- icon: kd,
8062
+ icon: Td,
8025
8063
  class: "xg-exit-fullscreen"
8026
8064
  }
8027
8065
  };
@@ -8089,7 +8127,7 @@ var bu = /* @__PURE__ */ (function(a) {
8089
8127
  key: "defaultConfig",
8090
8128
  get: function() {
8091
8129
  return {
8092
- position: ne.CONTROLS_RIGHT,
8130
+ position: re.CONTROLS_RIGHT,
8093
8131
  index: 0,
8094
8132
  useCssFullscreen: !1,
8095
8133
  rotateFullscreen: !1,
@@ -8200,13 +8238,13 @@ var wu = /* @__PURE__ */ (function(a) {
8200
8238
  key: "defaultConfig",
8201
8239
  get: function() {
8202
8240
  return {
8203
- position: ne.CONTROLS_LEFT,
8241
+ position: re.CONTROLS_LEFT,
8204
8242
  index: 0,
8205
8243
  disable: !1
8206
8244
  };
8207
8245
  }
8208
8246
  }]), r;
8209
- })(vt), _d = [{
8247
+ })(vt), Sd = [{
8210
8248
  tag: "xg-cache",
8211
8249
  className: "xgplayer-progress-cache",
8212
8250
  styleKey: "cachedColor"
@@ -8214,7 +8252,7 @@ var wu = /* @__PURE__ */ (function(a) {
8214
8252
  tag: "xg-played",
8215
8253
  className: "xgplayer-progress-played",
8216
8254
  styleKey: "playedColor"
8217
- }], Td = /* @__PURE__ */ (function() {
8255
+ }], Ad = /* @__PURE__ */ (function() {
8218
8256
  function a(s) {
8219
8257
  R(this, a), this.fragments = s.fragments || [], this.fragments.length === 0 && this.fragments.push({
8220
8258
  percent: 1
@@ -8401,7 +8439,7 @@ var wu = /* @__PURE__ */ (function(a) {
8401
8439
  var l = f.createDom("xg-inner", "", {
8402
8440
  style: t ? "background:".concat(t, "; flex: ").concat(o.percent) : "flex: ".concat(o.percent)
8403
8441
  }, "".concat(o.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
8404
- return r.root.appendChild(l), _d.forEach(function(u) {
8442
+ return r.root.appendChild(l), Sd.forEach(function(u) {
8405
8443
  l.appendChild(f.createDom(u.tag, "", {
8406
8444
  style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
8407
8445
  }, u.className));
@@ -8549,7 +8587,7 @@ var wu = /* @__PURE__ */ (function(a) {
8549
8587
  e.emitUserAction("fragment_focus", "fragment_focus", u);
8550
8588
  }
8551
8589
  });
8552
- this.innerList ? this.innerList.reset(o) : (this.innerList = new Td(o), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
8590
+ this.innerList ? this.innerList.reset(o) : (this.innerList = new Ad(o), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
8553
8591
  e[l] = e.innerList[l].bind(e.innerList);
8554
8592
  }));
8555
8593
  }
@@ -8583,7 +8621,7 @@ var wu = /* @__PURE__ */ (function(a) {
8583
8621
  key: "listenEvents",
8584
8622
  value: function() {
8585
8623
  var e = this;
8586
- this.on($e, function() {
8624
+ this.on(Ke, function() {
8587
8625
  e.onMouseLeave();
8588
8626
  }), this.on(Ae, function() {
8589
8627
  e.onTimeupdate();
@@ -8595,7 +8633,7 @@ var wu = /* @__PURE__ */ (function(a) {
8595
8633
  e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
8596
8634
  }), this.on(gt, function() {
8597
8635
  e.onReset();
8598
- }), this.on(et, function() {
8636
+ }), this.on(tt, function() {
8599
8637
  e.onVideoResize();
8600
8638
  });
8601
8639
  }
@@ -8699,10 +8737,10 @@ var wu = /* @__PURE__ */ (function(a) {
8699
8737
  m = m > d ? d : m < 0 ? 0 : m;
8700
8738
  var p = m / d;
8701
8739
  p = p < 0 ? 0 : p > 1 ? 1 : p, Number.isNaN(p) && (p = this.player.currentTime / this.offsetDuration);
8702
- var T = parseInt(p * this.offsetDuration * 1e3, 10) / 1e3, y = f.getCurrentTimeByOffset(T, n.timeSegments);
8740
+ var _ = parseInt(p * this.offsetDuration * 1e3, 10) / 1e3, y = f.getCurrentTimeByOffset(_, n.timeSegments);
8703
8741
  return {
8704
8742
  percent: p,
8705
- currentTime: T,
8743
+ currentTime: _,
8706
8744
  seekTime: y,
8707
8745
  offset: m,
8708
8746
  width: d,
@@ -8807,7 +8845,7 @@ var wu = /* @__PURE__ */ (function(a) {
8807
8845
  key: "defaultConfig",
8808
8846
  get: function() {
8809
8847
  return {
8810
- position: ne.CONTROLS_CENTER,
8848
+ position: re.CONTROLS_CENTER,
8811
8849
  index: 0,
8812
8850
  disable: !1,
8813
8851
  isDraggingSeek: !0,
@@ -8869,7 +8907,7 @@ var wu = /* @__PURE__ */ (function(a) {
8869
8907
  key: "listenEvents",
8870
8908
  value: function() {
8871
8909
  var e = this;
8872
- this.on([$e, We, Ae], function(i) {
8910
+ this.on([Ke, We, Ae], function(i) {
8873
8911
  i.eventName === "durationchange" && (e.isActiving = !1), e.onTimeUpdate();
8874
8912
  }), this.on(dt, function() {
8875
8913
  e.onTimeUpdate(!0);
@@ -8985,28 +9023,28 @@ var wu = /* @__PURE__ */ (function(a) {
8985
9023
  key: "defaultConfig",
8986
9024
  get: function() {
8987
9025
  return {
8988
- position: ne.CONTROLS_LEFT,
9026
+ position: re.CONTROLS_LEFT,
8989
9027
  index: 2,
8990
9028
  disable: !1
8991
9029
  };
8992
9030
  }
8993
9031
  }]), r;
8994
9032
  })(J);
8995
- function Sd() {
9033
+ function Ed() {
8996
9034
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
8997
9035
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
8998
9036
  <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>
8999
9037
  </svg>
9000
9038
  `, "image/svg+xml").firstChild;
9001
9039
  }
9002
- function Ad() {
9040
+ function xd() {
9003
9041
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9004
9042
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9005
9043
  <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>
9006
9044
  </svg>
9007
9045
  `, "image/svg+xml").firstChild;
9008
9046
  }
9009
- function Ed() {
9047
+ function Id() {
9010
9048
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9011
9049
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9012
9050
  <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>
@@ -9061,15 +9099,15 @@ var _u = /* @__PURE__ */ (function(a) {
9061
9099
  value: function() {
9062
9100
  return {
9063
9101
  volumeSmall: {
9064
- icon: Ad,
9102
+ icon: xd,
9065
9103
  class: "xg-volume-small"
9066
9104
  },
9067
9105
  volumeLarge: {
9068
- icon: Sd,
9106
+ icon: Ed,
9069
9107
  class: "xg-volume"
9070
9108
  },
9071
9109
  volumeMuted: {
9072
- icon: Ed,
9110
+ icon: Id,
9073
9111
  class: "xg-volume-mute"
9074
9112
  }
9075
9113
  };
@@ -9198,7 +9236,7 @@ var _u = /* @__PURE__ */ (function(a) {
9198
9236
  key: "defaultConfig",
9199
9237
  get: function() {
9200
9238
  return {
9201
- position: ne.CONTROLS_RIGHT,
9239
+ position: re.CONTROLS_RIGHT,
9202
9240
  index: 1,
9203
9241
  disable: !1,
9204
9242
  showValueLabel: !1,
@@ -9211,7 +9249,7 @@ var _u = /* @__PURE__ */ (function(a) {
9211
9249
  function be() {
9212
9250
  return (/* @__PURE__ */ new Date()).getTime();
9213
9251
  }
9214
- var Ze = {
9252
+ var Je = {
9215
9253
  LOAD_START: "loadstart",
9216
9254
  LOADED_DATA: "loadeddata",
9217
9255
  FIRST_FRAME: "firstFrame",
@@ -9219,7 +9257,7 @@ var Ze = {
9219
9257
  WAIT_END: "waitingEnd",
9220
9258
  SEEK_START: "seekStart",
9221
9259
  SEEK_END: "seekEnd"
9222
- }, xd = /* @__PURE__ */ (function(a) {
9260
+ }, Pd = /* @__PURE__ */ (function(a) {
9223
9261
  B(r, a);
9224
9262
  var s = H(r);
9225
9263
  function r() {
@@ -9240,13 +9278,13 @@ var Ze = {
9240
9278
  isLs: !1
9241
9279
  }, t.vt = 0, t.pt = 0, t.fvt = 0, t.newPointTime = be(), t.loadedCostTime = 0, t.startCostTime = 0, t._isSeeking = !1, t.seekingStart = 0, t.waitingStart = 0, t.fixedWaitingStart = 0, t._isWaiting = !1, t._waitTimer && f.clearTimeout(b(t), t._waitTimer), t._waittTimer && f.clearTimeout(b(t), t._waittTimer), t._waitTimer = null, t._waittTimer = null, t._waitType = 0;
9242
9280
  }), k(b(t), "_onSeeking", function() {
9243
- t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = be(), t.emitLog(Ze.SEEK_START, {
9281
+ t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = be(), t.emitLog(Je.SEEK_START, {
9244
9282
  start: be()
9245
9283
  }));
9246
9284
  }), k(b(t), "_onSeeked", function() {
9247
9285
  t.suspendSeekingStatus("seeked");
9248
9286
  }), k(b(t), "_onWaitingLoadStart", function() {
9249
- t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = be(), t.fixedWaitingStart = be(), t._waitType = 1, t.emitLog(Ze.WAIT_START, {
9287
+ t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = be(), t.fixedWaitingStart = be(), t._waitType = 1, t.emitLog(Je.WAIT_START, {
9250
9288
  fixedStart: t.fixedWaitingStart,
9251
9289
  start: t.waitingStart,
9252
9290
  type: 1,
@@ -9254,7 +9292,7 @@ var Ze = {
9254
9292
  }));
9255
9293
  }), k(b(t), "_onWaiting", function() {
9256
9294
  t._isWaiting || !t.vt || (t._isWaiting = !0, t.vt ? t.seekingStart ? t._waitType = 2 : t._waitType = 0 : t._waitType = 1, t.fixedWaitingStart = be(), t._waitTimer = f.setTimeout(b(t), function() {
9257
- t._isWaiting && (t.waitingStart = be(), f.clearTimeout(b(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(Ze.WAIT_START, {
9295
+ t._isWaiting && (t.waitingStart = be(), f.clearTimeout(b(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(Je.WAIT_START, {
9258
9296
  fixedStart: t.fixedWaitingStart,
9259
9297
  start: t.waitingStart,
9260
9298
  type: t._waitType,
@@ -9273,11 +9311,11 @@ var Ze = {
9273
9311
  var e = this;
9274
9312
  this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = be(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(ba, function() {
9275
9313
  var i = e._state, n = i.autoplayStart, o = i.isFFSend;
9276
- e.startCostTime = be() - e.newPointTime, K.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(Ze.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = be(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
9314
+ e.startCostTime = be() - e.newPointTime, K.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(Je.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = be(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
9277
9315
  }), this.on(Ge, function() {
9278
9316
  e.vt = be(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
9279
9317
  var i = e._state, n = i.isTimeUpdate, o = i.isFFSend, l = i.autoplayStart;
9280
- K.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(Ze.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
9318
+ K.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(Je.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
9281
9319
  }), this.on(Ti, this._onSeeking), this.on(We, this._onSeeked), this.on(_a, function() {
9282
9320
  e.endState("destroy");
9283
9321
  }), this.on(Ai, function() {
@@ -9296,7 +9334,7 @@ var Ze = {
9296
9334
  value: function(e) {
9297
9335
  this.s = be();
9298
9336
  var i = this._state, n = i.isFFLoading, o = i.isFFSend;
9299
- K.logInfo("[xgLogger]".concat(this.player.playerId, " _sendFF"), "".concat(e, " fvt:").concat(this.fvt, " isFFLoading:").concat(n, " !isFFSend:").concat(!o)), this.vt > 0 && n && !o && (K.logInfo("[xgLogger]".concat(this.player.playerId, " emitLog_firstFrame"), e), this._state.isFFLoading = !1, this._state.isFFSend = !0, this.emitLog(Ze.FIRST_FRAME, {
9337
+ K.logInfo("[xgLogger]".concat(this.player.playerId, " _sendFF"), "".concat(e, " fvt:").concat(this.fvt, " isFFLoading:").concat(n, " !isFFSend:").concat(!o)), this.vt > 0 && n && !o && (K.logInfo("[xgLogger]".concat(this.player.playerId, " emitLog_firstFrame"), e), this._state.isFFLoading = !1, this._state.isFFSend = !0, this.emitLog(Je.FIRST_FRAME, {
9300
9338
  fvt: this.fvt,
9301
9339
  costTime: this.fvt,
9302
9340
  vt: this.vt,
@@ -9322,7 +9360,7 @@ var Ze = {
9322
9360
  value: function(e) {
9323
9361
  if (this.seekingStart) {
9324
9362
  var i = be(), n = i - this.seekingStart;
9325
- this.seekingStart = 0, this.emitLog(Ze.SEEK_END, {
9363
+ this.seekingStart = 0, this.emitLog(Je.SEEK_END, {
9326
9364
  end: i,
9327
9365
  costTime: n,
9328
9366
  endType: e
@@ -9334,7 +9372,7 @@ var Ze = {
9334
9372
  value: function(e) {
9335
9373
  if (this._waitTimer && (f.clearTimeout(this, this._waitTimer), this._waitTimer = null), this._waittTimer && (f.clearTimeout(this, this._waittTimer), this._waittTimer = null), this._isWaiting = !1, !!this.waitingStart) {
9336
9374
  var i = be(), n = i - this.waitingStart, o = i - this.fixedWaitingStart, l = this.config.waitTimeout;
9337
- this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(Ze.WAIT_END, {
9375
+ this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(Je.WAIT_END, {
9338
9376
  fixedCostTime: o > l ? l : o,
9339
9377
  costTime: n > l ? l : n,
9340
9378
  type: e === "loadeddata" ? 1 : this._waitType,
@@ -9370,13 +9408,13 @@ var Ze = {
9370
9408
  }
9371
9409
  }]), r;
9372
9410
  })(J);
9373
- function Id() {
9411
+ function Dd() {
9374
9412
  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">
9375
9413
  <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>
9376
9414
  </svg>
9377
9415
  `, "image/svg+xml").firstChild;
9378
9416
  }
9379
- var Pd = /* @__PURE__ */ (function(a) {
9417
+ var Rd = /* @__PURE__ */ (function(a) {
9380
9418
  B(r, a);
9381
9419
  var s = H(r);
9382
9420
  function r() {
@@ -9386,7 +9424,7 @@ var Pd = /* @__PURE__ */ (function(a) {
9386
9424
  key: "registerIcons",
9387
9425
  value: function() {
9388
9426
  return {
9389
- replay: Id
9427
+ replay: Dd
9390
9428
  };
9391
9429
  }
9392
9430
  }, {
@@ -9459,7 +9497,7 @@ var Pd = /* @__PURE__ */ (function(a) {
9459
9497
  };
9460
9498
  }
9461
9499
  }]), r;
9462
- })(J), Dd = /* @__PURE__ */ (function(a) {
9500
+ })(J), Ld = /* @__PURE__ */ (function(a) {
9463
9501
  B(r, a);
9464
9502
  var s = H(r);
9465
9503
  function r() {
@@ -9577,7 +9615,7 @@ var Pd = /* @__PURE__ */ (function(a) {
9577
9615
  }
9578
9616
  }]), r;
9579
9617
  })(J), Ne = {};
9580
- function Rd(a, s) {
9618
+ function Od(a, s) {
9581
9619
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
9582
9620
  start: null,
9583
9621
  end: null
@@ -9595,7 +9633,7 @@ function ul(a) {
9595
9633
  window.clearTimeout(Ne[s].id), delete Ne[s];
9596
9634
  });
9597
9635
  }
9598
- var Ld = /* @__PURE__ */ (function(a) {
9636
+ var Fd = /* @__PURE__ */ (function(a) {
9599
9637
  B(r, a);
9600
9638
  var s = H(r);
9601
9639
  function r(t) {
@@ -9699,7 +9737,7 @@ var Ld = /* @__PURE__ */ (function(a) {
9699
9737
  key: "animate",
9700
9738
  value: function(e) {
9701
9739
  var i = this;
9702
- this._animateId = Rd("pauseplay", 400, {
9740
+ this._animateId = Od("pauseplay", 400, {
9703
9741
  start: function() {
9704
9742
  f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
9705
9743
  },
@@ -9787,7 +9825,7 @@ var Ld = /* @__PURE__ */ (function(a) {
9787
9825
  };
9788
9826
  }
9789
9827
  }]), r;
9790
- })(J), Od = /* @__PURE__ */ (function(a) {
9828
+ })(J), Md = /* @__PURE__ */ (function(a) {
9791
9829
  B(r, a);
9792
9830
  var s = H(r);
9793
9831
  function r() {
@@ -9866,7 +9904,7 @@ var Ld = /* @__PURE__ */ (function(a) {
9866
9904
  key: "defaultConfig",
9867
9905
  get: function() {
9868
9906
  return {
9869
- position: ne.CONTROLS_RIGHT,
9907
+ position: re.CONTROLS_RIGHT,
9870
9908
  index: 10
9871
9909
  };
9872
9910
  }
@@ -9877,7 +9915,7 @@ function fl(a) {
9877
9915
  return r && s;
9878
9916
  }
9879
9917
  var xa = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Tu = xa.length;
9880
- function Fd() {
9918
+ function Nd() {
9881
9919
  for (var a = {
9882
9920
  width: 0,
9883
9921
  height: 0,
@@ -9891,15 +9929,15 @@ function Fd() {
9891
9929
  }
9892
9930
  return a;
9893
9931
  }
9894
- function Md(a) {
9932
+ function Bd(a) {
9895
9933
  var s = window.getComputedStyle(a);
9896
9934
  return s;
9897
9935
  }
9898
9936
  function hl(a) {
9899
9937
  if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ye(a) !== "object" || !a.nodeType)) {
9900
- var s = Md(a);
9938
+ var s = Bd(a);
9901
9939
  if (s.display === "none")
9902
- return Fd();
9940
+ return Nd();
9903
9941
  var r = {};
9904
9942
  r.width = a.offsetWidth, r.height = a.offsetHeight;
9905
9943
  for (var t = r.isBorderBox = s.boxSizing === "border-box", e = 0; e < Tu; e++) {
@@ -9927,7 +9965,7 @@ var jr = {
9927
9965
  mousedown: ["mousemove", "mouseup"],
9928
9966
  touchstart: ["touchmove", "touchend", "touchcancel"],
9929
9967
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
9930
- }, Nd = /* @__PURE__ */ (function(a) {
9968
+ }, Hd = /* @__PURE__ */ (function(a) {
9931
9969
  B(r, a);
9932
9970
  var s = H(r);
9933
9971
  function r(t) {
@@ -10137,7 +10175,7 @@ var jr = {
10137
10175
  return parseInt(e, 10);
10138
10176
  }
10139
10177
  }]), r;
10140
- })(Yl), Bd = /* @__PURE__ */ (function(a) {
10178
+ })(Yl), Ud = /* @__PURE__ */ (function(a) {
10141
10179
  B(r, a);
10142
10180
  var s = H(r);
10143
10181
  function r(t) {
@@ -10193,7 +10231,7 @@ var jr = {
10193
10231
  i.controls.registerPlugin(cl, o, cl.pluginName);
10194
10232
  }
10195
10233
  var l = f.checkTouchSupport() ? "touchend" : "click";
10196
- this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Nd(this.player.root, {
10234
+ this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Hd(this.player.root, {
10197
10235
  handle: this.root
10198
10236
  })), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
10199
10237
  }
@@ -10422,7 +10460,7 @@ var jr = {
10422
10460
  return {};
10423
10461
  }
10424
10462
  }]), r;
10425
- })(tt), Je = {
10463
+ })(it), Qe = {
10426
10464
  PRESS: "press",
10427
10465
  PRESS_END: "pressend",
10428
10466
  DOUBlE_CLICK: "doubleclick",
@@ -10430,12 +10468,12 @@ var jr = {
10430
10468
  TOUCH_MOVE: "touchmove",
10431
10469
  TOUCH_START: "touchstart",
10432
10470
  TOUCH_END: "touchend"
10433
- }, Hd = {
10471
+ }, zd = {
10434
10472
  start: "touchstart",
10435
10473
  end: "touchend",
10436
10474
  move: "touchmove",
10437
10475
  cancel: "touchcancel"
10438
- }, Ud = {
10476
+ }, jd = {
10439
10477
  start: "mousedown",
10440
10478
  end: "mouseup",
10441
10479
  move: "mousemove",
@@ -10444,7 +10482,7 @@ var jr = {
10444
10482
  function gl(a) {
10445
10483
  return a && a.length > 0 ? a[a.length - 1] : null;
10446
10484
  }
10447
- function zd() {
10485
+ function Vd() {
10448
10486
  return {
10449
10487
  pressDelay: 600,
10450
10488
  dbClickDelay: 200,
@@ -10454,30 +10492,30 @@ function zd() {
10454
10492
  needPreventDefault: !0
10455
10493
  };
10456
10494
  }
10457
- var jd = /* @__PURE__ */ (function() {
10495
+ var qd = /* @__PURE__ */ (function() {
10458
10496
  function a(s) {
10459
10497
  var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
10460
10498
  eventType: "touch"
10461
10499
  };
10462
10500
  R(this, a), k(this, "onTouchStart", function(e) {
10463
10501
  var i = r._pos, n = r.root, o = gl(e.touches);
10464
- 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(Je.TOUCH_START, e);
10502
+ 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(Qe.TOUCH_START, e);
10465
10503
  }), k(this, "onTouchCancel", function(e) {
10466
10504
  r.onTouchEnd(e);
10467
10505
  }), k(this, "onTouchEnd", function(e) {
10468
10506
  var i = r._pos, n = r.root;
10469
- 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(Je.PRESS_END, e), r.trigger(Je.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
10507
+ 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(Qe.PRESS_END, e), r.trigger(Qe.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
10470
10508
  }), k(this, "onTouchMove", function(e) {
10471
10509
  var i = r._pos, n = r.config, o = gl(e.touches), l = o ? parseInt(o.pageX, 10) : e.pageX, u = o ? parseInt(o.pageY, 10) : e.pageX, c = l - i.x, h = u - i.y;
10472
- Math.abs(h) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(Je.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger(Je.TOUCH_MOVE, e));
10510
+ Math.abs(h) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(Qe.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger(Qe.TOUCH_MOVE, e));
10473
10511
  }), this._pos = {
10474
10512
  moving: !1,
10475
10513
  start: !1,
10476
10514
  x: 0,
10477
10515
  y: 0
10478
- }, this.config = zd(), Object.keys(t).map(function(e) {
10516
+ }, this.config = Vd(), Object.keys(t).map(function(e) {
10479
10517
  r.config[e] = t[e];
10480
- }), this.root = s, this.events = t.eventType === "mouse" ? Ud : Hd, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
10518
+ }), this.root = s, this.events = t.eventType === "mouse" ? jd : zd, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
10481
10519
  }
10482
10520
  return L(a, [{
10483
10521
  key: "_initEvent",
@@ -10489,7 +10527,7 @@ var jd = /* @__PURE__ */ (function() {
10489
10527
  value: function(r) {
10490
10528
  var t = this, e = this.config;
10491
10529
  this.pressIntrvalId && this.__clearPress(), this.pressIntrvalId = setTimeout(function() {
10492
- t.trigger(Je.PRESS, r), t._pos.press = !0, t.__clearPress();
10530
+ t.trigger(Qe.PRESS, r), t._pos.press = !0, t.__clearPress();
10493
10531
  }, e.pressDelay);
10494
10532
  }
10495
10533
  }, {
@@ -10502,11 +10540,11 @@ var jd = /* @__PURE__ */ (function() {
10502
10540
  value: function(r) {
10503
10541
  var t = this, e = this.config;
10504
10542
  if (this.dbIntrvalId) {
10505
- this.__clearDb(), this.trigger(Je.DOUBlE_CLICK, r);
10543
+ this.__clearDb(), this.trigger(Qe.DOUBlE_CLICK, r);
10506
10544
  return;
10507
10545
  }
10508
10546
  this.dbIntrvalId = setTimeout(function() {
10509
- t.__clearDb(), !t._pos.start && !t._pos.press && !t._pos.moving && t.trigger(Je.CLICK, r);
10547
+ t.__clearDb(), !t._pos.start && !t._pos.press && !t._pos.moving && t.trigger(Qe.CLICK, r);
10510
10548
  }, e.dbClickDelay);
10511
10549
  }
10512
10550
  }, {
@@ -10556,7 +10594,7 @@ var jd = /* @__PURE__ */ (function() {
10556
10594
  }
10557
10595
  }]), a;
10558
10596
  })();
10559
- function Vd() {
10597
+ function Wd() {
10560
10598
  return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
10561
10599
  xmlns:xlink="http://www.w3.org/1999/xlink">
10562
10600
  <path opacity="0.54"
@@ -10569,7 +10607,7 @@ var wt = {
10569
10607
  AUTO: "auto",
10570
10608
  SEEKING: "seeking",
10571
10609
  PLAYBACK: "playbackrate"
10572
- }, Wr = ["videoClick", "videoDbClick"], qd = /* @__PURE__ */ (function(a) {
10610
+ }, Wr = ["videoClick", "videoDbClick"], Gd = /* @__PURE__ */ (function(a) {
10573
10611
  B(r, a);
10574
10612
  var s = H(r);
10575
10613
  function r(t) {
@@ -10588,12 +10626,12 @@ var wt = {
10588
10626
  if (!(!n || u.disableGesture || !e.duration || !l.isStart)) {
10589
10627
  var h = u.miniMoveStep, d = u.hideControlsActive, g = parseInt(n.pageX - l.left, 10), v = parseInt(n.pageY - l.top, 10), m = c.rotateDeg === 90 ? v : g, p = c.rotateDeg === 90 ? g : v;
10590
10628
  if (Math.abs(m - l.x) > h || Math.abs(p - l.y) > h) {
10591
- var T = m - l.x, y = p - l.y, C = l.scope;
10592
- if (C === -1 && (C = e.checkScope(m, p, T, y, l), C === 0 && (d ? c.blur() : c.focus({
10629
+ var _ = m - l.x, y = p - l.y, C = l.scope;
10630
+ if (C === -1 && (C = e.checkScope(m, p, _, y, l), C === 0 && (d ? c.blur() : c.focus({
10593
10631
  autoHide: !1
10594
10632
  }), !l.time && (l.time = parseInt(c.currentTime * 1e3, 10) + e.timeOffset * 1e3)), l.scope = C), C === -1 || C > 0 && !u.gestureY || C === 0 && !u.gestureX)
10595
10633
  return;
10596
- e.executeMove(T, y, C, l.width, l.height), l.x = m, l.y = p;
10634
+ e.executeMove(_, y, C, l.width, l.height), l.x = m, l.y = p;
10597
10635
  }
10598
10636
  }
10599
10637
  }), k(b(e), "onTouchEnd", function(i) {
@@ -10643,7 +10681,7 @@ var wt = {
10643
10681
  value: function() {
10644
10682
  return {
10645
10683
  seekTipIcon: {
10646
- icon: Vd,
10684
+ icon: Wd,
10647
10685
  class: "xg-seek-pre"
10648
10686
  }
10649
10687
  };
@@ -10658,14 +10696,14 @@ var wt = {
10658
10696
  var i = this.playerConfig, n = this.config, o = this.player;
10659
10697
  i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), f.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = f.createDom("xg-mask", "", {}, "xgmask"), o.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
10660
10698
  var l = this.domEventType === "mouse" ? "mouse" : "touch";
10661
- this.touch = new jd(this.root, {
10699
+ this.touch = new qd(this.root, {
10662
10700
  eventType: l,
10663
10701
  needPreventDefault: !this.config.disableGesture
10664
10702
  }), this.root.addEventListener("contextmenu", function(d) {
10665
10703
  d.preventDefault();
10666
10704
  }), o.root.addEventListener("touchmove", this.onRootTouchMove, !0), o.root.addEventListener("touchend", this.onRootTouchEnd, !0), o.root.addEventListener("touchcancel", this.onRootTouchEnd, !0);
10667
10705
  var u = this.player.controls;
10668
- 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($e, function() {
10706
+ 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(Ke, function() {
10669
10707
  var d = e.player, g = e.config;
10670
10708
  d.duration > 0 && d.duration * 1e3 < g.moveDuration && (g.moveDuration = d.duration * 1e3);
10671
10709
  }), this.on([qe, dt], function() {
@@ -11003,7 +11041,7 @@ var wt = {
11003
11041
  }
11004
11042
  }]), r;
11005
11043
  })(J);
11006
- function Wd(a) {
11044
+ function $d(a) {
11007
11045
  a.preventDefault(), a.returnValue = !1;
11008
11046
  }
11009
11047
  function vl(a) {
@@ -11252,7 +11290,7 @@ var pl = /* @__PURE__ */ (function(a) {
11252
11290
  isPress: n
11253
11291
  }, this.keyCodeMap[o[l]]));
11254
11292
  }
11255
- Wd(i), i.stopPropagation();
11293
+ $d(i), i.stopPropagation();
11256
11294
  break;
11257
11295
  }
11258
11296
  }
@@ -11293,14 +11331,14 @@ var pl = /* @__PURE__ */ (function(a) {
11293
11331
  };
11294
11332
  }
11295
11333
  }]), r;
11296
- })(tt);
11297
- function Gd() {
11334
+ })(it);
11335
+ function Kd() {
11298
11336
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
11299
11337
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
11300
11338
  </svg>
11301
11339
  `, "image/svg+xml").firstChild;
11302
11340
  }
11303
- var $d = /* @__PURE__ */ (function(a) {
11341
+ var Yd = /* @__PURE__ */ (function(a) {
11304
11342
  B(r, a);
11305
11343
  var s = H(r);
11306
11344
  function r() {
@@ -11310,7 +11348,7 @@ var $d = /* @__PURE__ */ (function(a) {
11310
11348
  key: "registerIcons",
11311
11349
  value: function() {
11312
11350
  return {
11313
- loadingIcon: Gd
11351
+ loadingIcon: Kd
11314
11352
  };
11315
11353
  }
11316
11354
  }, {
@@ -11335,11 +11373,11 @@ var $d = /* @__PURE__ */ (function(a) {
11335
11373
  key: "defaultConfig",
11336
11374
  get: function() {
11337
11375
  return {
11338
- position: ne.ROOT
11376
+ position: re.ROOT
11339
11377
  };
11340
11378
  }
11341
11379
  }]), r;
11342
- })(J), Kd = /* @__PURE__ */ (function(a) {
11380
+ })(J), Xd = /* @__PURE__ */ (function(a) {
11343
11381
  B(r, a);
11344
11382
  var s = H(r);
11345
11383
  function r() {
@@ -11395,7 +11433,7 @@ var $d = /* @__PURE__ */ (function(a) {
11395
11433
  return L(r, [{
11396
11434
  key: "afterCreate",
11397
11435
  value: function() {
11398
- this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on($e, this._onDurationChange), this.on(Ge, this._onLoadedData), this.on(Ae, this._onTimeupdate), this.on(Ti, this._onSeeking), this.on(Ee, this._onPlay);
11436
+ this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Ke, this._onDurationChange), this.on(Ge, this._onLoadedData), this.on(Ae, this._onTimeupdate), this.on(Ti, this._onSeeking), this.on(Ee, this._onPlay);
11399
11437
  }
11400
11438
  }, {
11401
11439
  key: "setConfig",
@@ -11476,8 +11514,8 @@ var $d = /* @__PURE__ */ (function(a) {
11476
11514
  };
11477
11515
  }
11478
11516
  }]), r;
11479
- })(tt);
11480
- function Yd() {
11517
+ })(it);
11518
+ function Zd() {
11481
11519
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
11482
11520
  <g>
11483
11521
  <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"/>
@@ -11491,7 +11529,7 @@ function Yd() {
11491
11529
  </svg>
11492
11530
  `, "image/svg+xml").firstChild;
11493
11531
  }
11494
- var Xd = /* @__PURE__ */ (function(a) {
11532
+ var Jd = /* @__PURE__ */ (function(a) {
11495
11533
  B(r, a);
11496
11534
  var s = H(r);
11497
11535
  function r(t) {
@@ -11503,7 +11541,7 @@ var Xd = /* @__PURE__ */ (function(a) {
11503
11541
  value: function() {
11504
11542
  var e = this;
11505
11543
  if (!this.config.disable) {
11506
- V(z(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.rotate), this.onBtnClick = this.onBtnClick.bind(this), this.bind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick), this.on(et, function() {
11544
+ V(z(r.prototype), "afterCreate", this).call(this), this.appendChild(".xgplayer-icon", this.icons.rotate), this.onBtnClick = this.onBtnClick.bind(this), this.bind(".xgplayer-icon", ["click", "touchend"], this.onBtnClick), this.on(tt, function() {
11507
11545
  e.rotateDeg && e.config.innerRotate && f.setTimeout(e, function() {
11508
11546
  e.updateRotateDeg(e.rotateDeg, e.config.innerRotate);
11509
11547
  }, 100);
@@ -11529,9 +11567,9 @@ var Xd = /* @__PURE__ */ (function(a) {
11529
11567
  this.player.videoRotateDeg = e;
11530
11568
  return;
11531
11569
  }
11532
- var n = this.player, o = this.rootWidth, l = this.rootHeight, u = n.root, c = n.innerContainer, h = n.media, d = u.offsetWidth, g = c && i ? c.offsetHeight : u.offsetHeight, v = o, m = l, p = 0, T = 0;
11533
- (e === 0.75 || e === 0.25) && (v = "".concat(g, "px"), m = "".concat(d, "px"), p = -(g - d) / 2, T = -(d - g) / 2);
11534
- var y = "translate(".concat(p, "px,").concat(T, "px) rotate(").concat(e, "turn)"), C = {
11570
+ var n = this.player, o = this.rootWidth, l = this.rootHeight, u = n.root, c = n.innerContainer, h = n.media, d = u.offsetWidth, g = c && i ? c.offsetHeight : u.offsetHeight, v = o, m = l, p = 0, _ = 0;
11571
+ (e === 0.75 || e === 0.25) && (v = "".concat(g, "px"), m = "".concat(d, "px"), p = -(g - d) / 2, _ = -(d - g) / 2);
11572
+ var y = "translate(".concat(p, "px,").concat(_, "px) rotate(").concat(e, "turn)"), C = {
11535
11573
  transformOrigin: "center center",
11536
11574
  transform: y,
11537
11575
  webKitTransform: y,
@@ -11554,7 +11592,7 @@ var Xd = /* @__PURE__ */ (function(a) {
11554
11592
  key: "registerIcons",
11555
11593
  value: function() {
11556
11594
  return {
11557
- rotate: Yd
11595
+ rotate: Zd
11558
11596
  };
11559
11597
  }
11560
11598
  }, {
@@ -11577,7 +11615,7 @@ var Xd = /* @__PURE__ */ (function(a) {
11577
11615
  key: "defaultConfig",
11578
11616
  get: function() {
11579
11617
  return {
11580
- position: ne.CONTROLS_RIGHT,
11618
+ position: re.CONTROLS_RIGHT,
11581
11619
  index: 6,
11582
11620
  innerRotate: !0,
11583
11621
  clockwise: !1,
@@ -11587,14 +11625,14 @@ var Xd = /* @__PURE__ */ (function(a) {
11587
11625
  }
11588
11626
  }]), r;
11589
11627
  })(vt);
11590
- function Zd() {
11628
+ function Qd() {
11591
11629
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
11592
11630
  <path fill-rule="evenodd" clip-rule="evenodd"
11593
11631
  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"
11594
11632
  fill="white" />
11595
11633
  </svg>`, "image/svg+xml").firstChild;
11596
11634
  }
11597
- function Jd() {
11635
+ function eg() {
11598
11636
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
11599
11637
  <path fill-rule="evenodd" clip-rule="evenodd"
11600
11638
  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"
@@ -11608,7 +11646,7 @@ var Ct = {
11608
11646
  PIP: "picture-in-picture",
11609
11647
  INLINE: "inline",
11610
11648
  FULLSCREEN: "fullscreen"
11611
- }, Qd = /* @__PURE__ */ (function(a) {
11649
+ }, tg = /* @__PURE__ */ (function(a) {
11612
11650
  B(r, a);
11613
11651
  var s = H(r);
11614
11652
  function r() {
@@ -11648,11 +11686,11 @@ var Ct = {
11648
11686
  value: function() {
11649
11687
  return {
11650
11688
  pipIcon: {
11651
- icon: Zd,
11689
+ icon: Qd,
11652
11690
  class: "xg-get-pip"
11653
11691
  },
11654
11692
  pipIconExit: {
11655
- icon: Jd,
11693
+ icon: eg,
11656
11694
  class: "xg-exit-pip"
11657
11695
  }
11658
11696
  };
@@ -11714,7 +11752,7 @@ var Ct = {
11714
11752
  documentPictureInPicture.requestWindow(u).then(function(h) {
11715
11753
  var d = o.docPiPNode, g = o.docPiPStyle;
11716
11754
  e.enterPIPCallback();
11717
- var v = d || i.root, m = v.parentElement, p = v.previousSibling, T = v.nextSibling;
11755
+ var v = d || i.root, m = v.parentElement, p = v.previousSibling, _ = v.nextSibling;
11718
11756
  e.copyStyleIntoPiPWindow(h);
11719
11757
  var y = document.createElement("style");
11720
11758
  if (y.append("body{padding:0; margin:0;}"), g) {
@@ -11724,7 +11762,7 @@ var Ct = {
11724
11762
  .xgplayer{width: 100%!important; height: 100%!important;}
11725
11763
  `);
11726
11764
  h.document.head.append(y), h.document.body.append(v), h.addEventListener("pagehide", function(E) {
11727
- m && (T ? m.insertBefore(v, T) : p ? m.insertBefore(v, p.nextSibling) : m.appendChild(v)), e.leavePIPCallback();
11765
+ m && (_ ? m.insertBefore(v, _) : p ? m.insertBefore(v, p.nextSibling) : m.appendChild(v)), e.leavePIPCallback();
11728
11766
  }, {
11729
11767
  once: !0
11730
11768
  });
@@ -11792,7 +11830,7 @@ var Ct = {
11792
11830
  key: "defaultConfig",
11793
11831
  get: function() {
11794
11832
  return {
11795
- position: ne.CONTROLS_RIGHT,
11833
+ position: re.CONTROLS_RIGHT,
11796
11834
  index: 6,
11797
11835
  showIcon: !1,
11798
11836
  preferDocument: !1,
@@ -11809,13 +11847,13 @@ var Ct = {
11809
11847
  }
11810
11848
  }]), r;
11811
11849
  })(vt);
11812
- function eg() {
11850
+ function ig() {
11813
11851
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
11814
11852
  <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
11815
11853
  </svg>
11816
11854
  `, "image/svg+xml").firstChild;
11817
11855
  }
11818
- var tg = /* @__PURE__ */ (function(a) {
11856
+ var ng = /* @__PURE__ */ (function(a) {
11819
11857
  B(r, a);
11820
11858
  var s = H(r);
11821
11859
  function r(t) {
@@ -11834,7 +11872,7 @@ var tg = /* @__PURE__ */ (function(a) {
11834
11872
  key: "registerIcons",
11835
11873
  value: function() {
11836
11874
  return {
11837
- playNext: eg
11875
+ playNext: ig
11838
11876
  };
11839
11877
  }
11840
11878
  }, {
@@ -11876,7 +11914,7 @@ var tg = /* @__PURE__ */ (function(a) {
11876
11914
  key: "defaultConfig",
11877
11915
  get: function() {
11878
11916
  return {
11879
- position: ne.CONTROLS_LEFT,
11917
+ position: re.CONTROLS_LEFT,
11880
11918
  index: 1,
11881
11919
  url: null,
11882
11920
  urlList: []
@@ -11884,7 +11922,7 @@ var tg = /* @__PURE__ */ (function(a) {
11884
11922
  }
11885
11923
  }]), r;
11886
11924
  })(J);
11887
- function ig() {
11925
+ function rg() {
11888
11926
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
11889
11927
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
11890
11928
  <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
@@ -11994,7 +12032,7 @@ Use Save As... to download, then click back to return to this page.`);
11994
12032
  setHeaders: function(s) {
11995
12033
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
11996
12034
  Object.entries(r).forEach(function(t) {
11997
- var e = kh(t, 2), i = e[0], n = e[1];
12035
+ var e = Th(t, 2), i = e[0], n = e[1];
11998
12036
  s.setRequestHeader(i, n);
11999
12037
  });
12000
12038
  },
@@ -12065,19 +12103,19 @@ function Su(a, s, r) {
12065
12103
  var p = "data:" + i + ";base64," + btoa(g);
12066
12104
  return je.downloadWithAnchor(p, e);
12067
12105
  } catch {
12068
- var T = "data:" + i + "," + encodeURIComponent(g);
12069
- return je.downloadWithAnchor(T, e);
12106
+ var _ = "data:" + i + "," + encodeURIComponent(g);
12107
+ return je.downloadWithAnchor(_, e);
12070
12108
  }
12071
12109
  var y = new FileReader();
12072
12110
  return y.onload = function(C) {
12073
12111
  je.downloadWithAnchor(C.target.result, e);
12074
12112
  }, y.readAsDataURL(g), je.downloadWithIframe(g, e);
12075
12113
  }
12076
- function ng(a) {
12114
+ function ag(a) {
12077
12115
  var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = se(se({}, _e), s), t = r.fileName || a.split("/").pop().split("?")[0] || "download";
12078
12116
  return di.downloadFromURL(a, t, r);
12079
12117
  }
12080
- var rg = /* @__PURE__ */ (function(a) {
12118
+ var sg = /* @__PURE__ */ (function(a) {
12081
12119
  B(r, a);
12082
12120
  var s = H(r);
12083
12121
  function r(t) {
@@ -12088,7 +12126,7 @@ var rg = /* @__PURE__ */ (function(a) {
12088
12126
  var n = e.playerConfig.url, o = "";
12089
12127
  f.typeOf(n) === "String" ? o = n : f.typeOf(n) === "Array" && n.length > 0 && (o = n[0].src);
12090
12128
  var l = e.getAbsoluteURL(o);
12091
- ng(l, Object.assign({}, e.config.saveAsOptions || {})), e.isLock = !0, e.timer = window.setTimeout(function() {
12129
+ ag(l, Object.assign({}, e.config.saveAsOptions || {})), e.isLock = !0, e.timer = window.setTimeout(function() {
12092
12130
  e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
12093
12131
  }, 300);
12094
12132
  }
@@ -12107,7 +12145,7 @@ var rg = /* @__PURE__ */ (function(a) {
12107
12145
  key: "registerIcons",
12108
12146
  value: function() {
12109
12147
  return {
12110
- download: ig
12148
+ download: rg
12111
12149
  };
12112
12150
  }
12113
12151
  }, {
@@ -12143,14 +12181,14 @@ var rg = /* @__PURE__ */ (function(a) {
12143
12181
  key: "defaultConfig",
12144
12182
  get: function() {
12145
12183
  return {
12146
- position: ne.CONTROLS_RIGHT,
12184
+ position: re.CONTROLS_RIGHT,
12147
12185
  index: 3,
12148
12186
  disable: !0,
12149
12187
  saveAsOptions: {}
12150
12188
  };
12151
12189
  }
12152
12190
  }]), r;
12153
- })(vt), ag = /* @__PURE__ */ (function(a) {
12191
+ })(vt), og = /* @__PURE__ */ (function(a) {
12154
12192
  B(r, a);
12155
12193
  var s = H(r);
12156
12194
  function r() {
@@ -12168,7 +12206,7 @@ var rg = /* @__PURE__ */ (function(a) {
12168
12206
  var e = this.config;
12169
12207
  this.initSize = function(i) {
12170
12208
  e.fitVideo && (e.width = i.vWidth, e.height = i.vHeight);
12171
- }, this.once(et, this.initSize);
12209
+ }, this.once(tt, this.initSize);
12172
12210
  }
12173
12211
  }, {
12174
12212
  key: "onPluginsReady",
@@ -12221,8 +12259,8 @@ var rg = /* @__PURE__ */ (function(a) {
12221
12259
  v = u.media.canvas;
12222
12260
  else {
12223
12261
  n.canvas ? (n.canvas.width = e || l.width, n.canvas.height = i || l.height) : n.createCanvas(e, i), v = n.canvas, m = n.canvasCtx;
12224
- var p = u.media.videoWidth / u.media.videoHeight, T = v.width / v.height, y = 0, C = 0, E = u.media.videoWidth, x = u.media.videoHeight, D, Z, Y, q;
12225
- p > T ? (Y = v.width, q = v.width / p, D = 0, Z = Math.round((v.height - q) / 2)) : p === T ? (Y = v.width, q = v.height, D = 0, Z = 0) : p < T && (Y = v.height * p, q = v.height, D = Math.round((v.width - Y) / 2), Z = 0), m.drawImage(u.media, y, C, E, x, D, Z, Y, q);
12262
+ var p = u.media.videoWidth / u.media.videoHeight, _ = v.width / v.height, y = 0, C = 0, E = u.media.videoWidth, x = u.media.videoHeight, D, Z, Y, q;
12263
+ p > _ ? (Y = v.width, q = v.width / p, D = 0, Z = Math.round((v.height - q) / 2)) : p === _ ? (Y = v.width, q = v.height, D = 0, Z = 0) : p < _ && (Y = v.height * p, q = v.height, D = Math.round((v.width - Y) / 2), Z = 0), m.drawImage(u.media, y, C, E, x, D, Z, Y, q);
12226
12264
  }
12227
12265
  var N = v.toDataURL(h, c).replace(h, "image/octet-stream");
12228
12266
  N = N.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), d(N);
@@ -12238,7 +12276,7 @@ var rg = /* @__PURE__ */ (function(a) {
12238
12276
  }, {
12239
12277
  key: "destroy",
12240
12278
  value: function() {
12241
- V(z(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(et, this.initSize);
12279
+ V(z(r.prototype), "destroy", this).call(this), this.unbind(["click", "touchend"], this.onClickBtn), this.off(tt, this.initSize);
12242
12280
  }
12243
12281
  }, {
12244
12282
  key: "render",
@@ -12262,7 +12300,7 @@ var rg = /* @__PURE__ */ (function(a) {
12262
12300
  key: "defaultConfig",
12263
12301
  get: function() {
12264
12302
  return {
12265
- position: ne.CONTROLS_RIGHT,
12303
+ position: re.CONTROLS_RIGHT,
12266
12304
  index: 5,
12267
12305
  quality: 0.92,
12268
12306
  type: "image/png",
@@ -12276,7 +12314,7 @@ var rg = /* @__PURE__ */ (function(a) {
12276
12314
  };
12277
12315
  }
12278
12316
  }]), r;
12279
- })(vt), sg = /* @__PURE__ */ (function() {
12317
+ })(vt), lg = /* @__PURE__ */ (function() {
12280
12318
  function a(s) {
12281
12319
  R(this, a), this.config = s.config, this.parent = s.root, this.root = f.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), s.root.appendChild(this.root);
12282
12320
  var r = this.config.maxHeight;
@@ -12356,8 +12394,8 @@ var rg = /* @__PURE__ */ (function(a) {
12356
12394
  CLICK: "click",
12357
12395
  HOVER: "hover"
12358
12396
  };
12359
- function og(a, s) {
12360
- return a === Me.SIDE ? s === ne.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
12397
+ function ug(a, s) {
12398
+ return a === Me.SIDE ? s === re.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
12361
12399
  }
12362
12400
  var ot = W.device === "mobile", gi = /* @__PURE__ */ (function(a) {
12363
12401
  B(r, a);
@@ -12391,7 +12429,7 @@ var ot = W.device === "mobile", gi = /* @__PURE__ */ (function(a) {
12391
12429
  key: "afterCreate",
12392
12430
  value: function() {
12393
12431
  var e = this, i = this.config;
12394
- this.initIcons(), ot = ot || this.domEventType === "touch", ot && W.device === "mobile" && i.listType === Me.DEFAULT && (i.listType = Me.SIDE), i.hidePortrait && f.addClass(this.root, "portrait"), this.on([et, Ve], function() {
12432
+ this.initIcons(), ot = ot || this.domEventType === "touch", ot && W.device === "mobile" && i.listType === Me.DEFAULT && (i.listType = Me.SIDE), i.hidePortrait && f.addClass(this.root, "portrait"), this.on([tt, Ve], function() {
12395
12433
  e._resizeList();
12396
12434
  }), this.once(qe, function() {
12397
12435
  i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
@@ -12470,7 +12508,7 @@ var ot = W.device === "mobile", gi = /* @__PURE__ */ (function(a) {
12470
12508
  var c = {
12471
12509
  config: {
12472
12510
  data: e || [],
12473
- className: og(o.listType, o.position),
12511
+ className: ug(o.listType, o.position),
12474
12512
  onItemClick: function(m, p) {
12475
12513
  n.onItemClick(m, p);
12476
12514
  },
@@ -12480,7 +12518,7 @@ var ot = W.device === "mobile", gi = /* @__PURE__ */ (function(a) {
12480
12518
  };
12481
12519
  if (this.config.isShowIcon) {
12482
12520
  var h = this.player.root.getBoundingClientRect(), d = h.height, g = o.listType === Me.MIDDLE ? d - 50 : d;
12483
- g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new sg(c), this.changeCurrentText(), this.show();
12521
+ g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new lg(c), this.changeCurrentText(), this.show();
12484
12522
  }
12485
12523
  this._resizeList();
12486
12524
  }
@@ -12518,7 +12556,7 @@ var ot = W.device === "mobile", gi = /* @__PURE__ */ (function(a) {
12518
12556
  key: "defaultConfig",
12519
12557
  get: function() {
12520
12558
  return {
12521
- position: ne.CONTROLS_RIGHT,
12559
+ position: re.CONTROLS_RIGHT,
12522
12560
  index: 100,
12523
12561
  list: [],
12524
12562
  listType: "default",
@@ -12531,7 +12569,7 @@ var ot = W.device === "mobile", gi = /* @__PURE__ */ (function(a) {
12531
12569
  };
12532
12570
  }
12533
12571
  }]), r;
12534
- })(J), lg = /* @__PURE__ */ (function(a) {
12572
+ })(J), cg = /* @__PURE__ */ (function(a) {
12535
12573
  B(r, a);
12536
12574
  var s = H(r);
12537
12575
  function r(t) {
@@ -12621,7 +12659,7 @@ var ot = W.device === "mobile", gi = /* @__PURE__ */ (function(a) {
12621
12659
  key: "defaultConfig",
12622
12660
  get: function() {
12623
12661
  return se(se({}, gi.defaultConfig), {}, {
12624
- position: ne.CONTROLS_RIGHT,
12662
+ position: re.CONTROLS_RIGHT,
12625
12663
  index: 3,
12626
12664
  list: [],
12627
12665
  defaultDefinition: "",
@@ -12632,7 +12670,7 @@ var ot = W.device === "mobile", gi = /* @__PURE__ */ (function(a) {
12632
12670
  });
12633
12671
  }
12634
12672
  }]), r;
12635
- })(gi), ug = /* @__PURE__ */ (function(a) {
12673
+ })(gi), fg = /* @__PURE__ */ (function(a) {
12636
12674
  B(r, a);
12637
12675
  var s = H(r);
12638
12676
  function r(t) {
@@ -12715,7 +12753,7 @@ var ot = W.device === "mobile", gi = /* @__PURE__ */ (function(a) {
12715
12753
  key: "defaultConfig",
12716
12754
  get: function() {
12717
12755
  return se(se({}, gi.defaultConfig), {}, {
12718
- position: ne.CONTROLS_RIGHT,
12756
+ position: re.CONTROLS_RIGHT,
12719
12757
  index: 4,
12720
12758
  list: [2, 1.5, 1, 0.75, 0.5],
12721
12759
  className: "xgplayer-playbackrate",
@@ -12724,7 +12762,7 @@ var ot = W.device === "mobile", gi = /* @__PURE__ */ (function(a) {
12724
12762
  });
12725
12763
  }
12726
12764
  }]), r;
12727
- })(gi), cg = /* @__PURE__ */ (function(a) {
12765
+ })(gi), hg = /* @__PURE__ */ (function(a) {
12728
12766
  B(r, a);
12729
12767
  var s = H(r);
12730
12768
  function r() {
@@ -12785,7 +12823,7 @@ var ot = W.device === "mobile", gi = /* @__PURE__ */ (function(a) {
12785
12823
  return "error";
12786
12824
  }
12787
12825
  }]), r;
12788
- })(J), fg = /* @__PURE__ */ (function(a) {
12826
+ })(J), dg = /* @__PURE__ */ (function(a) {
12789
12827
  B(r, a);
12790
12828
  var s = H(r);
12791
12829
  function r() {
@@ -13015,7 +13053,7 @@ var yl = {
13015
13053
  return r.find('xg-spot[data-id="'.concat(s, '"]'));
13016
13054
  }
13017
13055
  };
13018
- function hg(a) {
13056
+ function gg(a) {
13019
13057
  var s = a.config, r = a.player;
13020
13058
  Object.keys(yl).map(function(e) {
13021
13059
  a[e] = yl[e].bind(a);
@@ -13026,9 +13064,9 @@ function hg(a) {
13026
13064
  }), a.ispotsInit = !1, a.playerSize = {
13027
13065
  left: r.sizeInfo.left,
13028
13066
  width: r.sizeInfo.width
13029
- }, a.on($e, function() {
13067
+ }, a.on(Ke, function() {
13030
13068
  a.ispotsInit ? a.updateDuration() : a.initDots();
13031
- }), a.on(et, function() {
13069
+ }), a.on(tt, function() {
13032
13070
  a.positionDots();
13033
13071
  });
13034
13072
  }
@@ -13039,7 +13077,7 @@ var _t = {
13039
13077
  click: "onProgressClick",
13040
13078
  mouseover: "onProgressMouseOver",
13041
13079
  mouseenter: "onProgressMouseOver"
13042
- }, dg = /* @__PURE__ */ (function(a) {
13080
+ }, vg = /* @__PURE__ */ (function(a) {
13043
13081
  B(r, a);
13044
13082
  var s = H(r);
13045
13083
  function r(t) {
@@ -13090,7 +13128,7 @@ var _t = {
13090
13128
  n.seekTime && e.player.seek(n.seekTime);
13091
13129
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
13092
13130
  e.setTimeContent(f.format(i));
13093
- }), hg(this), this.on($e, function() {
13131
+ }), gg(this), this.on(Ke, function() {
13094
13132
  e.show();
13095
13133
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
13096
13134
  }
@@ -13314,7 +13352,7 @@ var _t = {
13314
13352
  };
13315
13353
  }
13316
13354
  }]), r;
13317
- })(J), gg = /* @__PURE__ */ (function(a) {
13355
+ })(J), pg = /* @__PURE__ */ (function(a) {
13318
13356
  B(r, a);
13319
13357
  var s = H(r);
13320
13358
  function r(t) {
@@ -13325,7 +13363,7 @@ var _t = {
13325
13363
  key: "afterCreate",
13326
13364
  value: function() {
13327
13365
  var e = this;
13328
- this.usable && this.initThumbnail(), this.on([$e], function() {
13366
+ this.usable && this.initThumbnail(), this.on([Ke], function() {
13329
13367
  var i = e.config, n = i.pic_num, o = i.interval;
13330
13368
  e.usable && (e.interval = o > 0 ? o : Math.round(e.player.duration * 1e3 / n) / 1e3);
13331
13369
  });
@@ -13378,7 +13416,7 @@ var _t = {
13378
13416
  this.interval = Math.round(this.player.duration / l);
13379
13417
  var g = Math.ceil(e / this.interval);
13380
13418
  g = g > l ? l : g;
13381
- var v = g < u * c ? 0 : Math.ceil(g / (u * c)) - 1, m = g - v * (c * u), p = m > 0 ? Math.ceil(m / c) - 1 : 0, T = m > 0 ? m - p * c - 1 : 0, y = 0, C = 0;
13419
+ var v = g < u * c ? 0 : Math.ceil(g / (u * c)) - 1, m = g - v * (c * u), p = m > 0 ? Math.ceil(m / c) - 1 : 0, _ = m > 0 ? m - p * c - 1 : 0, y = 0, C = 0;
13382
13420
  if (i && n) {
13383
13421
  var E = i / n;
13384
13422
  E < h / d ? (C = n, y = C * (h / d)) : (y = i, C = y / (h / d));
@@ -13387,14 +13425,14 @@ var _t = {
13387
13425
  return {
13388
13426
  urlIndex: v,
13389
13427
  rowIndex: p,
13390
- colIndex: T,
13428
+ colIndex: _,
13391
13429
  url: x,
13392
13430
  height: C,
13393
13431
  width: y,
13394
13432
  style: {
13395
13433
  backgroundImage: "url(".concat(x, ")"),
13396
13434
  backgroundSize: "".concat(y * c, "px auto"),
13397
- backgroundPosition: "-".concat(T * y, "px -").concat(p * C, "px"),
13435
+ backgroundPosition: "-".concat(_ * y, "px -").concat(p * C, "px"),
13398
13436
  width: "".concat(y, "px"),
13399
13437
  height: "".concat(C, "px")
13400
13438
  }
@@ -13451,7 +13489,7 @@ var _t = {
13451
13489
  function Gr(a) {
13452
13490
  return a ? "background:".concat(a, ";") : "";
13453
13491
  }
13454
- var vg = /* @__PURE__ */ (function(a) {
13492
+ var mg = /* @__PURE__ */ (function(a) {
13455
13493
  B(r, a);
13456
13494
  var s = H(r);
13457
13495
  function r() {
@@ -13538,14 +13576,14 @@ var vg = /* @__PURE__ */ (function(a) {
13538
13576
  FIRST_FRAME: "firstframe",
13539
13577
  POSTER: "poster"
13540
13578
  };
13541
- function pg() {
13579
+ function yg() {
13542
13580
  try {
13543
13581
  return parseInt(window.performance.now(), 10);
13544
13582
  } catch {
13545
13583
  return (/* @__PURE__ */ new Date()).getTime();
13546
13584
  }
13547
13585
  }
13548
- function mg() {
13586
+ function bg() {
13549
13587
  try {
13550
13588
  var a = document.createElement("canvas").getContext;
13551
13589
  return !!a;
@@ -13553,7 +13591,7 @@ function mg() {
13553
13591
  return !1;
13554
13592
  }
13555
13593
  }
13556
- var ti = null, yg = /* @__PURE__ */ (function(a) {
13594
+ var ti = null, wg = /* @__PURE__ */ (function(a) {
13557
13595
  B(r, a);
13558
13596
  var s = H(r);
13559
13597
  function r() {
@@ -13574,7 +13612,7 @@ var ti = null, yg = /* @__PURE__ */ (function(a) {
13574
13612
  !t.player.paused && t._checkIfCanStart() && t.start(0, l);
13575
13613
  }
13576
13614
  }), k(b(t), "start", function(o, l) {
13577
- var u = t.player.video, c = pg(), h = t.checkVideoIsSupport(u);
13615
+ var u = t.player.video, c = yg(), h = t.checkVideoIsSupport(u);
13578
13616
  !h || !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 === Tt.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(h, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? f.setTimeout(b(t), t.start, l) : f.requestAnimationFrame(t.start));
13579
13617
  }), k(b(t), "stop", function() {
13580
13618
  t.frameId && (t._loopType === "timer" ? f.clearTimeout(b(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
@@ -13747,7 +13785,7 @@ var ti = null, yg = /* @__PURE__ */ (function(a) {
13747
13785
  }, {
13748
13786
  key: "isSupport",
13749
13787
  get: function() {
13750
- return typeof ti == "boolean" || (ti = mg()), ti;
13788
+ return typeof ti == "boolean" || (ti = bg()), ti;
13751
13789
  }
13752
13790
  }, {
13753
13791
  key: "supportCanvasFilter",
@@ -13755,7 +13793,7 @@ var ti = null, yg = /* @__PURE__ */ (function(a) {
13755
13793
  return !(W.browser === "safari" || W.browser === "firefox");
13756
13794
  }
13757
13795
  }]), r;
13758
- })(J), bg = {
13796
+ })(J), Cg = {
13759
13797
  LANG: "zh-cn",
13760
13798
  TEXT: {
13761
13799
  ERROR_TYPES: {
@@ -13831,7 +13869,7 @@ var ti = null, yg = /* @__PURE__ */ (function(a) {
13831
13869
  FORWARD: "快进中",
13832
13870
  LIVE_TIP: "直播"
13833
13871
  }
13834
- }, Rt = "info", $r = hu, wg = /* @__PURE__ */ (function(a) {
13872
+ }, Rt = "info", $r = hu, kg = /* @__PURE__ */ (function(a) {
13835
13873
  B(r, a);
13836
13874
  var s = H(r);
13837
13875
  function r() {
@@ -13975,7 +14013,7 @@ var ti = null, yg = /* @__PURE__ */ (function(a) {
13975
14013
  return {};
13976
14014
  }
13977
14015
  }]), r;
13978
- })(tt), Eu = /* @__PURE__ */ (function(a) {
14016
+ })(it), Eu = /* @__PURE__ */ (function(a) {
13979
14017
  B(r, a);
13980
14018
  var s = H(r);
13981
14019
  function r() {
@@ -13997,8 +14035,8 @@ var ti = null, yg = /* @__PURE__ */ (function(a) {
13997
14035
  console.log("GapJump bufferRange ", c.start(v), c.end(v));
13998
14036
  var m = c.start(v) + 0.1, p = l.media.duration;
13999
14037
  if (!(m > p)) {
14000
- var T = m - g, y = T <= h;
14001
- T < r.BROWSER_GAP_TOLERANCE || y && (u.useGapJump !== !1 && (l.media.currentTime = t.isSafari ? m + 0.1 : m), t.player && t.player.emit("detectGap"), console.log("gapJump gapIndex", v, " isGapSamll:", y, " currentTime:", l.media.currentTime, " jumpSize:", g - l.media.currentTime), m !== 0.08 && l && l.emit("log", {
14038
+ var _ = m - g, y = _ <= h;
14039
+ _ < r.BROWSER_GAP_TOLERANCE || y && (u.useGapJump !== !1 && (l.media.currentTime = t.isSafari ? m + 0.1 : m), t.player && t.player.emit("detectGap"), console.log("gapJump gapIndex", v, " isGapSamll:", y, " currentTime:", l.media.currentTime, " jumpSize:", g - l.media.currentTime), m !== 0.08 && l && l.emit("log", {
14002
14040
  type: "oneevent",
14003
14041
  end_type: "gap",
14004
14042
  vid: l.config.vid,
@@ -14065,7 +14103,7 @@ var ti = null, yg = /* @__PURE__ */ (function(a) {
14065
14103
  }]), r;
14066
14104
  })(J);
14067
14105
  Eu.BROWSER_GAP_TOLERANCE = 1e-3;
14068
- var Cg = /* @__PURE__ */ (function(a) {
14106
+ var _g = /* @__PURE__ */ (function(a) {
14069
14107
  B(r, a);
14070
14108
  var s = H(r);
14071
14109
  function r() {
@@ -14111,7 +14149,7 @@ var Cg = /* @__PURE__ */ (function(a) {
14111
14149
  };
14112
14150
  }
14113
14151
  }]), r;
14114
- })(J), St = "cdn", ii = ["cdn"], kg = /* @__PURE__ */ (function(a) {
14152
+ })(J), St = "cdn", ii = ["cdn"], Tg = /* @__PURE__ */ (function(a) {
14115
14153
  B(r, a);
14116
14154
  var s = H(r);
14117
14155
  function r() {
@@ -14143,8 +14181,8 @@ var Cg = /* @__PURE__ */ (function(a) {
14143
14181
  try {
14144
14182
  var g = (/* @__PURE__ */ new Date()).getTime(), v = null, m = new XMLHttpRequest();
14145
14183
  t.xhr = m, m.open("GET", d);
14146
- var p = {}, T = Math.floor(Math.random() * 10);
14147
- p.Range = "bytes=" + T + "-" + (u + T), p && Object.keys(p).forEach(function(y) {
14184
+ var p = {}, _ = Math.floor(Math.random() * 10);
14185
+ p.Range = "bytes=" + _ + "-" + (u + _), p && Object.keys(p).forEach(function(y) {
14148
14186
  m.setRequestHeader(y, p[y]);
14149
14187
  }), m.onreadystatechange = function() {
14150
14188
  if (m.readyState === 4) {
@@ -14237,7 +14275,7 @@ var Cg = /* @__PURE__ */ (function(a) {
14237
14275
  };
14238
14276
  }
14239
14277
  }]), r;
14240
- })(J), _g = /* @__PURE__ */ (function(a) {
14278
+ })(J), Sg = /* @__PURE__ */ (function(a) {
14241
14279
  B(r, a);
14242
14280
  var s = H(r);
14243
14281
  function r() {
@@ -14347,24 +14385,24 @@ var Cg = /* @__PURE__ */ (function(a) {
14347
14385
  }
14348
14386
  }]), r;
14349
14387
  })(J);
14350
- At.use(bg);
14351
- var Tg = /* @__PURE__ */ L(function a(s, r) {
14388
+ At.use(Cg);
14389
+ var Ag = /* @__PURE__ */ L(function a(s, r) {
14352
14390
  var t, e, i;
14353
14391
  R(this, a);
14354
- var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, l = o ? [] : [Kd, Cu, vg, dg, ku], u = [].concat(l, [wu, bu, Xd, tg, lg, ug, rg, ag, _u, Qd]), c = [Pd, Dd, Ld, $d, Od, cg, fg, gg, Bd];
14355
- this.plugins = [wg, xd].concat(Re(u), c, [Eu, Cg]);
14392
+ var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, l = o ? [] : [Xd, Cu, mg, vg, ku], u = [].concat(l, [wu, bu, Jd, ng, cg, fg, sg, og, _u, tg]), c = [Rd, Ld, Fd, Yd, Md, hg, dg, pg, Ud];
14393
+ this.plugins = [kg, Pd].concat(Re(u), c, [Eu, _g]);
14356
14394
  var h = n ? "mobile" : W.device;
14357
14395
  switch (h) {
14358
14396
  case "pc":
14359
- (t = this.plugins).push.apply(t, [pl, qr, ia, kg, _g]);
14397
+ (t = this.plugins).push.apply(t, [pl, qr, ia, Tg, Sg]);
14360
14398
  break;
14361
14399
  case "mobile":
14362
- (e = this.plugins).push.apply(e, [qd]);
14400
+ (e = this.plugins).push.apply(e, [Gd]);
14363
14401
  break;
14364
14402
  default:
14365
14403
  (i = this.plugins).push.apply(i, [pl, qr, ia]);
14366
14404
  }
14367
- (W.os.isIpad || h === "pc") && this.plugins.push(yg), W.os.isIpad && this.plugins.push(qr), this.ignores = [], this.i18n = [];
14405
+ (W.os.isIpad || h === "pc") && this.plugins.push(wg), W.os.isIpad && this.plugins.push(qr), this.ignores = [], this.i18n = [];
14368
14406
  }), de = /* @__PURE__ */ (function(a) {
14369
14407
  B(r, a);
14370
14408
  var s = H(r);
@@ -14373,13 +14411,13 @@ var Tg = /* @__PURE__ */ L(function a(s, r) {
14373
14411
  }
14374
14412
  return L(r);
14375
14413
  })(xi);
14376
- k(de, "defaultPreset", Tg);
14414
+ k(de, "defaultPreset", Ag);
14377
14415
  k(de, "Util", f);
14378
14416
  k(de, "Sniffer", W);
14379
14417
  k(de, "Errors", ri);
14380
- k(de, "Events", Yh);
14418
+ k(de, "Events", Zh);
14381
14419
  k(de, "Plugin", J);
14382
- k(de, "BasePlugin", tt);
14420
+ k(de, "BasePlugin", it);
14383
14421
  k(de, "I18N", At);
14384
14422
  k(de, "STATE_CLASS", A);
14385
14423
  k(de, "InstManager", yu);
@@ -14389,7 +14427,7 @@ k(de, "Progress", Cu);
14389
14427
  k(de, "FullscreenIcon", bu);
14390
14428
  k(de, "CssFullscreenIcon", ia);
14391
14429
  k(de, "VolumeIcon", _u);
14392
- const Sg = ["id"], Ag = /* @__PURE__ */ fe({
14430
+ const Eg = ["id"], xg = /* @__PURE__ */ ce({
14393
14431
  name: "ElImageViewer",
14394
14432
  __name: "Player",
14395
14433
  props: /* @__PURE__ */ ft({
@@ -14418,7 +14456,7 @@ const Sg = ["id"], Ag = /* @__PURE__ */ fe({
14418
14456
  }, ["update:modelValue"]),
14419
14457
  setup(a, { emit: s }) {
14420
14458
  let r = null;
14421
- const t = a, { cLoadUrl: e } = xl(t), i = ae(() => Bt(e.value, t.url)), n = {
14459
+ const t = a, { cLoadUrl: e } = xl(t), i = ne(() => Bt(e.value, t.url)), n = {
14422
14460
  width: "100%",
14423
14461
  height: "100%",
14424
14462
  // 是否自动播放
@@ -14436,7 +14474,7 @@ const Sg = ["id"], Ag = /* @__PURE__ */ fe({
14436
14474
  poster: "",
14437
14475
  lang: "zh-CN",
14438
14476
  screenShot: !0
14439
- }, o = ae(() => ({
14477
+ }, o = ne(() => ({
14440
14478
  ...n,
14441
14479
  ...t.config
14442
14480
  })), l = s, u = vi(a, "modelValue"), c = Al(), h = kl("image-viewer");
@@ -14453,7 +14491,7 @@ const Sg = ["id"], Ag = /* @__PURE__ */ fe({
14453
14491
  });
14454
14492
  }), (g, v) => {
14455
14493
  const m = na("el-icon");
14456
- return u.value ? (_(), G(wl, {
14494
+ return u.value ? (T(), G(wl, {
14457
14495
  key: 0,
14458
14496
  to: "body"
14459
14497
  }, [
@@ -14487,7 +14525,7 @@ const Sg = ["id"], Ag = /* @__PURE__ */ fe({
14487
14525
  class: te(w(h).e("canvas"))
14488
14526
  },
14489
14527
  [
14490
- S("div", { id: w(c) }, null, 8, Sg),
14528
+ S("div", { id: w(c) }, null, 8, Eg),
14491
14529
  P(" CLOSE "),
14492
14530
  S(
14493
14531
  "span",
@@ -14511,7 +14549,7 @@ const Sg = ["id"], Ag = /* @__PURE__ */ fe({
14511
14549
  2
14512
14550
  /* CLASS */
14513
14551
  ),
14514
- he(g.$slots, "default", {}, void 0, !0)
14552
+ fe(g.$slots, "default", {}, void 0, !0)
14515
14553
  ],
14516
14554
  6
14517
14555
  /* CLASS, STYLE */
@@ -14523,15 +14561,15 @@ const Sg = ["id"], Ag = /* @__PURE__ */ fe({
14523
14561
  ])) : P("v-if", !0);
14524
14562
  };
14525
14563
  }
14526
- }), Eg = /* @__PURE__ */ Be(Ag, [["__scopeId", "data-v-b301aa7d"]]), xg = it(Eg), Ig = {
14564
+ }), Ig = /* @__PURE__ */ Be(xg, [["__scopeId", "data-v-b301aa7d"]]), Pg = $e(Ig), Dg = {
14527
14565
  name: "name",
14528
14566
  url: "url",
14529
14567
  suffix: "suffix",
14530
14568
  size: "size"
14531
14569
  };
14532
- function Pg(a) {
14533
- const { props: s } = a, r = ae(() => ({
14534
- ...Ig,
14570
+ function Rg(a) {
14571
+ const { props: s } = a, r = ne(() => ({
14572
+ ...Dg,
14535
14573
  ...s.defaultFileds
14536
14574
  })), {
14537
14575
  cLoadUrl: t,
@@ -14539,10 +14577,11 @@ function Pg(a) {
14539
14577
  cToken: i,
14540
14578
  cOnlyofficeConfig: n,
14541
14579
  cUserInfo: o,
14542
- cOnlyofficePreviewType: l
14543
- } = xl(s), u = (v) => {
14544
- var m, p, T;
14545
- return ((p = (m = v == null ? void 0 : v.response) == null ? void 0 : m.data) == null ? void 0 : p[r.value.suffix]) || ((T = v == null ? void 0 : v.data) == null ? void 0 : T[r.value.suffix]) || (v == null ? void 0 : v[r.value.suffix]) || "";
14580
+ cOnlyofficePreviewType: l,
14581
+ cHeaders: u
14582
+ } = xl(s), c = (m) => {
14583
+ var p, _, y;
14584
+ return ((_ = (p = m == null ? void 0 : m.response) == null ? void 0 : p.data) == null ? void 0 : _[r.value.suffix]) || ((y = m == null ? void 0 : m.data) == null ? void 0 : y[r.value.suffix]) || (m == null ? void 0 : m[r.value.suffix]) || "";
14546
14585
  };
14547
14586
  return {
14548
14587
  mixDefaultField: r,
@@ -14552,28 +14591,29 @@ function Pg(a) {
14552
14591
  cOnlyofficeConfig: n,
14553
14592
  cUserInfo: o,
14554
14593
  cOnlyofficePreviewType: l,
14555
- getFileSuffix: u,
14556
- getFileUrl: (v) => {
14557
- var m, p;
14558
- return v[r.value.url] || ((p = (m = v == null ? void 0 : v.response) == null ? void 0 : m.data) == null ? void 0 : p.id) || "";
14594
+ getFileSuffix: c,
14595
+ getFileUrl: (m) => {
14596
+ var p, _;
14597
+ return m[r.value.url] || ((_ = (p = m == null ? void 0 : m.response) == null ? void 0 : p.data) == null ? void 0 : _.id) || "";
14559
14598
  },
14560
- getFileName: (v) => {
14561
- var m, p;
14562
- return v[r.value.name] || ((p = (m = v == null ? void 0 : v.response) == null ? void 0 : m.data) == null ? void 0 : p[r.value.name]) || v.name || "";
14599
+ getFileName: (m) => {
14600
+ var p, _;
14601
+ return m[r.value.name] || ((_ = (p = m == null ? void 0 : m.response) == null ? void 0 : p.data) == null ? void 0 : _[r.value.name]) || m.name || "";
14563
14602
  },
14564
- getFileSize: (v) => v[r.value.size] || v.size || 0,
14565
- canView: (v) => {
14566
- const m = u(v);
14567
- return l.includes(m);
14568
- }
14603
+ getFileSize: (m) => m[r.value.size] || m.size || 0,
14604
+ canView: (m) => {
14605
+ const p = c(m);
14606
+ return l.includes(p);
14607
+ },
14608
+ cHeaders: u
14569
14609
  };
14570
14610
  }
14571
- const Dg = {
14611
+ const Lg = {
14572
14612
  Authorization: "Bearer iking",
14573
14613
  "X-Tenant": "sys",
14574
14614
  "Content-Type": "application/x-www-form-urlencoded"
14575
14615
  };
14576
- function Rg(a) {
14616
+ function Og(a) {
14577
14617
  const {
14578
14618
  props: s,
14579
14619
  emit: r,
@@ -14594,12 +14634,12 @@ function Rg(a) {
14594
14634
  Bt(i.value, o(p)),
14595
14635
  l(p)
14596
14636
  );
14597
- }, g = (p, T = !1) => {
14637
+ }, g = (p, _ = !1) => {
14598
14638
  var y;
14599
14639
  (y = e.value) == null || y.abort(p);
14600
14640
  }, v = (p) => {
14601
- var T;
14602
- p.status !== "success" && g(p), (T = e.value) == null || T.handleRemove(p), t.value = t.value.filter((y) => y.uid !== p.uid), r("delete", p);
14641
+ var _;
14642
+ p.status !== "success" && g(p), (_ = e.value) == null || _.handleRemove(p), t.value = t.value.filter((y) => y.uid !== p.uid), r("delete", p);
14603
14643
  };
14604
14644
  return {
14605
14645
  fileData: u,
@@ -14607,14 +14647,14 @@ function Rg(a) {
14607
14647
  handlePreview: h,
14608
14648
  handleDownload: d,
14609
14649
  handleDelete: async (p) => {
14610
- var T, y, C;
14650
+ var _, y, C;
14611
14651
  if (v(p), s.trueDelete)
14612
14652
  try {
14613
- const E = ((y = (T = p == null ? void 0 : p.response) == null ? void 0 : T.data) == null ? void 0 : y.id) || ((C = p == null ? void 0 : p.data) == null ? void 0 : C.id) || (p == null ? void 0 : p.id) || o(p);
14653
+ const E = ((y = (_ = p == null ? void 0 : p.response) == null ? void 0 : _.data) == null ? void 0 : y.id) || ((C = p == null ? void 0 : p.data) == null ? void 0 : C.id) || (p == null ? void 0 : p.id) || o(p);
14614
14654
  await rc.post(
14615
14655
  n.value.replace("/oss/upload", "/oss/delete"),
14616
14656
  { fileUrl: E },
14617
- { headers: Dg }
14657
+ { headers: Lg }
14618
14658
  );
14619
14659
  } catch (E) {
14620
14660
  console.error("删除文件失败:", E);
@@ -14624,7 +14664,7 @@ function Rg(a) {
14624
14664
  removeFileFromList: v
14625
14665
  };
14626
14666
  }
14627
- function Lg(a) {
14667
+ function Fg(a) {
14628
14668
  const { props: s, emit: r, modelValue: t, refUpload: e, removeFileFromList: i } = a, n = we([]), o = (y) => {
14629
14669
  const C = y.size / 1024 / 1024;
14630
14670
  return C < (s.size || 50) ? !0 : (r("outSize"), Di({
@@ -14633,7 +14673,7 @@ function Lg(a) {
14633
14673
  showClose: !0,
14634
14674
  duration: 5e3
14635
14675
  }), !1);
14636
- }, l = ae(() => {
14676
+ }, l = ne(() => {
14637
14677
  const { accept: y } = s;
14638
14678
  return y === "*" ? "*" : `${y.toLowerCase()},${y.toUpperCase()}`;
14639
14679
  }), u = (y, C) => {
@@ -14675,13 +14715,13 @@ function Lg(a) {
14675
14715
  y.status = "ready", C !== void 0 && n.value.splice(C, 1), (E = e.value) == null || E.handleStart(y.raw), (x = e.value) == null || x.submit();
14676
14716
  }, p = (y, C) => {
14677
14717
  n.value.splice(C, 1);
14678
- }, T = ae(
14718
+ }, _ = ne(
14679
14719
  () => t.value.length >= (s.limit || 1) || !1
14680
14720
  );
14681
14721
  return {
14682
14722
  errorList: n,
14683
14723
  fileAccepts: l,
14684
- isDisabled: T,
14724
+ isDisabled: _,
14685
14725
  beforeUpload: o,
14686
14726
  handleChange: u,
14687
14727
  beforeRemove: c,
@@ -14693,7 +14733,7 @@ function Lg(a) {
14693
14733
  handleRemoveError: p
14694
14734
  };
14695
14735
  }
14696
- const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class: "file-name-loading" }, Ng = { class: "file-name" }, Bg = { class: "file-size" }, Hg = { class: "operate-btn" }, Ug = /* @__PURE__ */ fe({
14736
+ const Mg = { class: "ik-error-flie-list" }, Ng = { class: "name" }, Bg = { class: "file-name-loading" }, Hg = { class: "file-name" }, Ug = { class: "file-size" }, zg = { class: "operate-btn" }, jg = /* @__PURE__ */ ce({
14697
14737
  __name: "ErrorFileItem",
14698
14738
  props: {
14699
14739
  file: {},
@@ -14703,8 +14743,8 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14703
14743
  emits: ["retry", "remove"],
14704
14744
  setup(a, { emit: s }) {
14705
14745
  const r = s;
14706
- return (t, e) => (_(), I("div", Og, [
14707
- S("div", Fg, [
14746
+ return (t, e) => (T(), I("div", Mg, [
14747
+ S("div", Ng, [
14708
14748
  M(w(Te), {
14709
14749
  size: 32,
14710
14750
  class: "info",
@@ -14716,24 +14756,24 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14716
14756
  _: 1
14717
14757
  /* STABLE */
14718
14758
  }),
14719
- S("div", Mg, [
14759
+ S("div", Bg, [
14720
14760
  S(
14721
14761
  "p",
14722
- Ng,
14723
- ce(a.file[a.fieldName] || a.file.name),
14762
+ Hg,
14763
+ he(a.file[a.fieldName] || a.file.name),
14724
14764
  1
14725
14765
  /* TEXT */
14726
14766
  ),
14727
14767
  S(
14728
14768
  "p",
14729
- Bg,
14730
- ce(w(Ut)(a.file.size)),
14769
+ Ug,
14770
+ he(w(Ut)(a.file.size)),
14731
14771
  1
14732
14772
  /* TEXT */
14733
14773
  )
14734
14774
  ])
14735
14775
  ]),
14736
- S("div", Hg, [
14776
+ S("div", zg, [
14737
14777
  M(w(le), {
14738
14778
  onClick: e[0] || (e[0] = De((i) => r("retry", a.file, a.index), ["stop"])),
14739
14779
  name: "iksvg_zhongzhi",
@@ -14752,14 +14792,14 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14752
14792
  ])
14753
14793
  ]));
14754
14794
  }
14755
- }), bl = /* @__PURE__ */ Be(Ug, [["__scopeId", "data-v-c4061a88"]]), zg = {
14795
+ }), bl = /* @__PURE__ */ Be(jg, [["__scopeId", "data-v-c4061a88"]]), Vg = {
14756
14796
  class: "flex align-center",
14757
14797
  style: { width: "100%" }
14758
- }, jg = { class: "fileName simple" }, Vg = {
14798
+ }, qg = { class: "fileName simple" }, Wg = {
14759
14799
  key: 0,
14760
14800
  class: "size",
14761
14801
  style: { "padding-right": "20px", "white-space": "nowrap" }
14762
- }, qg = /* @__PURE__ */ fe({
14802
+ }, Gg = /* @__PURE__ */ ce({
14763
14803
  __name: "FileItemSimple",
14764
14804
  props: {
14765
14805
  file: { type: Object, required: !0 },
@@ -14772,24 +14812,24 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14772
14812
  emits: ["preview", "download", "delete"],
14773
14813
  setup(a, { emit: s }) {
14774
14814
  const r = s;
14775
- return (t, e) => (_(), I(
14815
+ return (t, e) => (T(), I(
14776
14816
  "div",
14777
14817
  {
14778
14818
  class: te(["iking-privew-annex simple", { "is-show-bg": a.showBg }])
14779
14819
  },
14780
14820
  [
14781
- S("div", zg, [
14821
+ S("div", Vg, [
14782
14822
  S(
14783
14823
  "div",
14784
- jg,
14785
- ce(a.file[a.mixDefaultField.name] || a.file.name),
14824
+ qg,
14825
+ he(a.file[a.mixDefaultField.name] || a.file.name),
14786
14826
  1
14787
14827
  /* TEXT */
14788
14828
  ),
14789
- a.showFileSize ? (_(), I(
14829
+ a.showFileSize ? (T(), I(
14790
14830
  "div",
14791
- Vg,
14792
- " (" + ce(w(Ut)(a.file[a.mixDefaultField.size] || a.file.size)) + ") ",
14831
+ Wg,
14832
+ " (" + he(w(Ut)(a.file[a.mixDefaultField.size] || a.file.size)) + ") ",
14793
14833
  1
14794
14834
  /* TEXT */
14795
14835
  )) : P("v-if", !0)
@@ -14800,18 +14840,18 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14800
14840
  class: te({ "hover-show": !a.showBg })
14801
14841
  },
14802
14842
  [
14803
- a.file.status === "success" ? (_(), I(
14843
+ a.file.status === "success" ? (T(), I(
14804
14844
  ue,
14805
14845
  { key: 0 },
14806
14846
  [
14807
- a.isShowDownload ? (_(), G(w(le), {
14847
+ a.isShowDownload ? (T(), G(w(le), {
14808
14848
  key: 0,
14809
14849
  name: "iksvg_daochu",
14810
14850
  onClick: e[0] || (e[0] = De((i) => r("download", a.file), ["stop"])),
14811
14851
  size: 20,
14812
14852
  title: "下载"
14813
14853
  })) : P("v-if", !0),
14814
- a.canViewFile ? (_(), G(w(le), {
14854
+ a.canViewFile ? (T(), G(w(le), {
14815
14855
  key: 1,
14816
14856
  name: "iksvg_yulan",
14817
14857
  onClick: e[1] || (e[1] = (i) => r("preview", a.file)),
@@ -14828,7 +14868,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14828
14868
  ],
14829
14869
  64
14830
14870
  /* STABLE_FRAGMENT */
14831
- )) : (_(), G(w(le), {
14871
+ )) : (T(), G(w(le), {
14832
14872
  key: 1,
14833
14873
  onClick: e[3] || (e[3] = De((i) => r("delete", a.file), ["stop"])),
14834
14874
  error: "",
@@ -14840,7 +14880,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14840
14880
  2
14841
14881
  /* CLASS */
14842
14882
  ),
14843
- a.file.percentage && a.file.status === "uploading" ? (_(), G(w(pi), {
14883
+ a.file.percentage && a.file.status === "uploading" ? (T(), G(w(pi), {
14844
14884
  key: 0,
14845
14885
  "text-inside": "",
14846
14886
  percentage: a.file.percentage,
@@ -14852,11 +14892,11 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14852
14892
  /* CLASS */
14853
14893
  ));
14854
14894
  }
14855
- }), Wg = /* @__PURE__ */ Be(qg, [["__scopeId", "data-v-75f214cd"]]), Gg = { class: "file-list" }, $g = ["src"], Kg = { class: "fileName simple" }, Yg = {
14895
+ }), $g = /* @__PURE__ */ Be(Gg, [["__scopeId", "data-v-75f214cd"]]), Kg = { class: "file-list" }, Yg = ["src"], Xg = { class: "fileName simple" }, Zg = {
14856
14896
  key: 0,
14857
14897
  class: "size",
14858
14898
  style: { "padding-right": "20px", "white-space": "nowrap" }
14859
- }, Xg = /* @__PURE__ */ fe({
14899
+ }, Jg = /* @__PURE__ */ ce({
14860
14900
  __name: "FileItemSimpleIcon",
14861
14901
  props: {
14862
14902
  file: { type: Object, required: !0 },
@@ -14872,26 +14912,26 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14872
14912
  emits: ["preview", "download", "delete"],
14873
14913
  setup(a, { emit: s }) {
14874
14914
  const r = a, t = s, e = (i) => ut(i, r.mixDefaultField);
14875
- return (i, n) => (_(), I(
14915
+ return (i, n) => (T(), I(
14876
14916
  "div",
14877
14917
  {
14878
14918
  class: te(["iking-privew-annex simple-icon", { "is-show-bg": a.showBg }])
14879
14919
  },
14880
14920
  [
14881
- S("div", Gg, [
14921
+ S("div", Kg, [
14882
14922
  P(" 默认文件图标 "),
14883
- !i.$slots.fileIcon && (!a.customIconData[e(a.file)] || !a.customIconData[e(a.file)][a.customIconFields.icon]) ? (_(), G(w(aa), {
14923
+ !i.$slots.fileIcon && (!a.customIconData[e(a.file)] || !a.customIconData[e(a.file)][a.customIconFields.icon]) ? (T(), G(w(aa), {
14884
14924
  key: 0,
14885
14925
  type: e(a.file),
14886
14926
  style: me({ height: `${a.iconSize === 40 ? 20 : a.iconSize}px`, marginRight: "10px" }),
14887
14927
  class: "ikui-w-auto"
14888
- }, null, 8, ["type", "style"])) : !i.$slots.fileIcon && a.customIconData[e(a.file)] && a.customIconData[e(a.file)][a.customIconFields.icon] ? (_(), I(
14928
+ }, null, 8, ["type", "style"])) : !i.$slots.fileIcon && a.customIconData[e(a.file)] && a.customIconData[e(a.file)][a.customIconFields.icon] ? (T(), I(
14889
14929
  ue,
14890
14930
  { key: 1 },
14891
14931
  [
14892
14932
  P(" 自定义图标 "),
14893
14933
  S("div", null, [
14894
- a.customIconData[e(a.file)][a.customIconFields.type] === "img" ? (_(), I("img", {
14934
+ a.customIconData[e(a.file)][a.customIconFields.type] === "img" ? (T(), I("img", {
14895
14935
  key: 0,
14896
14936
  src: a.customIconData[e(a.file)][a.customIconFields.icon],
14897
14937
  alt: "",
@@ -14901,7 +14941,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14901
14941
  height: `${a.iconSize === 40 ? 20 : a.iconSize}px`,
14902
14942
  marginRight: "10px"
14903
14943
  })
14904
- }, null, 12, $g)) : (_(), I(
14944
+ }, null, 12, Yg)) : (T(), I(
14905
14945
  "span",
14906
14946
  {
14907
14947
  key: 1,
@@ -14918,7 +14958,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14918
14958
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
14919
14959
  )) : P("v-if", !0),
14920
14960
  P(" 插槽 "),
14921
- he(i.$slots, "fileIcon", { file: a.file }, void 0, !0),
14961
+ fe(i.$slots, "fileIcon", { file: a.file }, void 0, !0),
14922
14962
  S(
14923
14963
  "div",
14924
14964
  {
@@ -14928,15 +14968,15 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14928
14968
  [
14929
14969
  S(
14930
14970
  "p",
14931
- Kg,
14932
- ce(a.file[a.mixDefaultField.name] || a.file.name),
14971
+ Xg,
14972
+ he(a.file[a.mixDefaultField.name] || a.file.name),
14933
14973
  1
14934
14974
  /* TEXT */
14935
14975
  ),
14936
- a.showFileSize ? (_(), I(
14976
+ a.showFileSize ? (T(), I(
14937
14977
  "p",
14938
- Yg,
14939
- " (" + ce(w(Ut)(a.file[a.mixDefaultField.size] || a.file.size)) + ") ",
14978
+ Zg,
14979
+ " (" + he(w(Ut)(a.file[a.mixDefaultField.size] || a.file.size)) + ") ",
14940
14980
  1
14941
14981
  /* TEXT */
14942
14982
  )) : P("v-if", !0)
@@ -14944,7 +14984,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14944
14984
  4
14945
14985
  /* STYLE */
14946
14986
  ),
14947
- a.file.percentage && a.file.status === "uploading" ? (_(), G(w(pi), {
14987
+ a.file.percentage && a.file.status === "uploading" ? (T(), G(w(pi), {
14948
14988
  key: 2,
14949
14989
  "text-inside": "",
14950
14990
  percentage: a.file.percentage,
@@ -14958,18 +14998,18 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14958
14998
  class: te(["flex flex-center", { "hover-show": !a.showBg }])
14959
14999
  },
14960
15000
  [
14961
- a.file.status === "success" ? (_(), I(
15001
+ a.file.status === "success" ? (T(), I(
14962
15002
  ue,
14963
15003
  { key: 0 },
14964
15004
  [
14965
- a.isShowDownload ? (_(), G(w(le), {
15005
+ a.isShowDownload ? (T(), G(w(le), {
14966
15006
  key: 0,
14967
15007
  name: "iksvg_daochu",
14968
15008
  onClick: n[0] || (n[0] = De((o) => t("download", a.file), ["stop"])),
14969
15009
  size: 20,
14970
15010
  title: "下载"
14971
15011
  })) : P("v-if", !0),
14972
- a.canViewFile ? (_(), G(w(le), {
15012
+ a.canViewFile ? (T(), G(w(le), {
14973
15013
  key: 1,
14974
15014
  name: "iksvg_yulan",
14975
15015
  onClick: n[1] || (n[1] = (o) => t("preview", a.file)),
@@ -14986,7 +15026,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
14986
15026
  ],
14987
15027
  64
14988
15028
  /* STABLE_FRAGMENT */
14989
- )) : (_(), G(w(le), {
15029
+ )) : (T(), G(w(le), {
14990
15030
  key: 1,
14991
15031
  onClick: n[3] || (n[3] = De((o) => t("delete", a.file), ["stop"])),
14992
15032
  error: "",
@@ -15003,10 +15043,10 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15003
15043
  /* CLASS */
15004
15044
  ));
15005
15045
  }
15006
- }), Zg = /* @__PURE__ */ Be(Xg, [["__scopeId", "data-v-e942ccdb"]]), Jg = { class: "file-card" }, Qg = ["src"], ev = { class: "file-icon" }, tv = { class: "text" }, iv = { class: "fileName" }, nv = { key: 0 }, rv = {
15046
+ }), Qg = /* @__PURE__ */ Be(Jg, [["__scopeId", "data-v-e942ccdb"]]), ev = { class: "file-card" }, tv = ["src"], iv = { class: "file-icon" }, nv = { class: "text" }, rv = { class: "fileName" }, av = { key: 0 }, sv = {
15007
15047
  key: 0,
15008
15048
  class: "size"
15009
- }, av = /* @__PURE__ */ fe({
15049
+ }, ov = /* @__PURE__ */ ce({
15010
15050
  __name: "FileItemDefault",
15011
15051
  props: {
15012
15052
  file: { type: Object, required: !0 },
@@ -15021,32 +15061,32 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15021
15061
  emits: ["preview", "download", "delete"],
15022
15062
  setup(a, { emit: s }) {
15023
15063
  const r = a, t = s, e = (i) => ut(i, r.mixDefaultField);
15024
- return (i, n) => (_(), I(
15064
+ return (i, n) => (T(), I(
15025
15065
  "div",
15026
15066
  {
15027
15067
  class: te(["iking-privew-annex", { "is-show-bg": a.showBg }])
15028
15068
  },
15029
15069
  [
15030
- S("div", Jg, [
15070
+ S("div", ev, [
15031
15071
  P(" 默认文件图标 "),
15032
- !i.$slots.fileIcon && (!a.customIconData[e(a.file)] || !a.customIconData[e(a.file)][a.customIconFields.icon]) ? (_(), G(w(aa), {
15072
+ !i.$slots.fileIcon && (!a.customIconData[e(a.file)] || !a.customIconData[e(a.file)][a.customIconFields.icon]) ? (T(), G(w(aa), {
15033
15073
  key: 0,
15034
15074
  type: e(a.file),
15035
15075
  style: me({ height: `${a.iconSize}px` }),
15036
15076
  class: "ikui-w-auto"
15037
- }, null, 8, ["type", "style"])) : !i.$slots.fileIcon && a.customIconData[e(a.file)] && a.customIconData[e(a.file)][a.customIconFields.icon] ? (_(), I(
15077
+ }, null, 8, ["type", "style"])) : !i.$slots.fileIcon && a.customIconData[e(a.file)] && a.customIconData[e(a.file)][a.customIconFields.icon] ? (T(), I(
15038
15078
  ue,
15039
15079
  { key: 1 },
15040
15080
  [
15041
15081
  P(" 自定义图标 "),
15042
15082
  S("div", null, [
15043
- a.customIconData[e(a.file)][a.customIconFields.type] === "img" ? (_(), I("img", {
15083
+ a.customIconData[e(a.file)][a.customIconFields.type] === "img" ? (T(), I("img", {
15044
15084
  key: 0,
15045
15085
  src: a.customIconData[e(a.file)][a.customIconFields.icon],
15046
15086
  alt: "",
15047
15087
  class: "file-img-icon",
15048
15088
  style: me({ height: `${a.iconSize}px` })
15049
- }, null, 12, Qg)) : (_(), I(
15089
+ }, null, 12, tv)) : (T(), I(
15050
15090
  "span",
15051
15091
  {
15052
15092
  key: 1,
@@ -15063,32 +15103,32 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15063
15103
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
15064
15104
  )) : P("v-if", !0),
15065
15105
  P(" 插槽 "),
15066
- S("div", ev, [
15067
- he(i.$slots, "fileIcon", { file: a.file }, void 0, !0)
15106
+ S("div", iv, [
15107
+ fe(i.$slots, "fileIcon", { file: a.file }, void 0, !0)
15068
15108
  ]),
15069
- S("div", tv, [
15070
- S("div", iv, [
15109
+ S("div", nv, [
15110
+ S("div", rv, [
15071
15111
  Et(
15072
- ce(a.file[a.mixDefaultField.name] || a.file.name) + " ",
15112
+ he(a.file[a.mixDefaultField.name] || a.file.name) + " ",
15073
15113
  1
15074
15114
  /* TEXT */
15075
15115
  ),
15076
- a.file.percentage && a.file.status === "uploading" ? (_(), I(
15116
+ a.file.percentage && a.file.status === "uploading" ? (T(), I(
15077
15117
  "span",
15078
- nv,
15079
- "(" + ce(a.file.percentage) + "%)",
15118
+ av,
15119
+ "(" + he(a.file.percentage) + "%)",
15080
15120
  1
15081
15121
  /* TEXT */
15082
15122
  )) : P("v-if", !0)
15083
15123
  ]),
15084
- a.file.status === "success" ? (_(), I(
15124
+ a.file.status === "success" ? (T(), I(
15085
15125
  "div",
15086
- rv,
15087
- ce(w(Ut)(a.file[a.mixDefaultField.size] || a.file.size)),
15126
+ sv,
15127
+ he(w(Ut)(a.file[a.mixDefaultField.size] || a.file.size)),
15088
15128
  1
15089
15129
  /* TEXT */
15090
15130
  )) : P("v-if", !0),
15091
- a.file.percentage && a.file.status === "uploading" ? (_(), G(w(pi), {
15131
+ a.file.percentage && a.file.status === "uploading" ? (T(), G(w(pi), {
15092
15132
  key: 1,
15093
15133
  "text-inside": "",
15094
15134
  percentage: a.file.percentage,
@@ -15103,11 +15143,11 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15103
15143
  class: te(["flex flex-center", { "hover-show": !a.showBg }])
15104
15144
  },
15105
15145
  [
15106
- a.file.status === "success" ? (_(), I(
15146
+ a.file.status === "success" ? (T(), I(
15107
15147
  ue,
15108
15148
  { key: 0 },
15109
15149
  [
15110
- a.canViewFile ? (_(), G(w(le), {
15150
+ a.canViewFile ? (T(), G(w(le), {
15111
15151
  key: 0,
15112
15152
  onClick: n[0] || (n[0] = (o) => t("preview", a.file)),
15113
15153
  name: "iksvg_yulan",
@@ -15115,7 +15155,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15115
15155
  "show-bg": "",
15116
15156
  size: a.showBg ? "default" : 20
15117
15157
  }, null, 8, ["size"])) : P("v-if", !0),
15118
- a.isShowDownload ? (_(), G(w(le), {
15158
+ a.isShowDownload ? (T(), G(w(le), {
15119
15159
  key: 1,
15120
15160
  name: "iksvg_daochu",
15121
15161
  onClick: n[1] || (n[1] = De((o) => t("download", a.file), ["stop"])),
@@ -15134,7 +15174,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15134
15174
  ],
15135
15175
  64
15136
15176
  /* STABLE_FRAGMENT */
15137
- )) : (_(), G(w(le), {
15177
+ )) : (T(), G(w(le), {
15138
15178
  key: 1,
15139
15179
  onClick: n[3] || (n[3] = De((o) => t("delete", a.file), ["stop"])),
15140
15180
  error: "",
@@ -15152,13 +15192,13 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15152
15192
  /* CLASS */
15153
15193
  ));
15154
15194
  }
15155
- }), sv = /* @__PURE__ */ Be(av, [["__scopeId", "data-v-9af2a07d"]]), ov = { class: "ik-flie-list" }, lv = { class: "name" }, uv = ["src"], cv = { class: "file-icon" }, fv = { class: "file-name-loading" }, hv = { class: "file-name" }, dv = { key: 0 }, gv = {
15195
+ }), lv = /* @__PURE__ */ Be(ov, [["__scopeId", "data-v-9af2a07d"]]), uv = { class: "ik-flie-list" }, cv = { class: "name" }, fv = ["src"], hv = { class: "file-icon" }, dv = { class: "file-name-loading" }, gv = { class: "file-name" }, vv = { key: 0 }, pv = {
15156
15196
  key: 0,
15157
15197
  class: "file-size"
15158
- }, vv = {
15198
+ }, mv = {
15159
15199
  key: 0,
15160
15200
  class: "operate-btn"
15161
- }, pv = /* @__PURE__ */ fe({
15201
+ }, yv = /* @__PURE__ */ ce({
15162
15202
  __name: "FileItemCard",
15163
15203
  props: {
15164
15204
  file: { type: Object, required: !0 },
@@ -15171,24 +15211,24 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15171
15211
  emits: ["preview", "download", "delete"],
15172
15212
  setup(a, { emit: s }) {
15173
15213
  const r = a, t = s, e = (i) => ut(i, r.mixDefaultField);
15174
- return (i, n) => (_(), I("div", ov, [
15175
- S("div", lv, [
15214
+ return (i, n) => (T(), I("div", uv, [
15215
+ S("div", cv, [
15176
15216
  P(" 默认文件图标 "),
15177
- !i.$slots.fileIcon && (!a.customIconData[e(a.file)] || !a.customIconData[e(a.file)][a.customIconFields.icon]) ? (_(), G(w(aa), {
15217
+ !i.$slots.fileIcon && (!a.customIconData[e(a.file)] || !a.customIconData[e(a.file)][a.customIconFields.icon]) ? (T(), G(w(aa), {
15178
15218
  key: 0,
15179
15219
  type: e(a.file)
15180
- }, null, 8, ["type"])) : !i.$slots.fileIcon && a.customIconData[e(a.file)] && a.customIconData[e(a.file)][a.customIconFields.icon] ? (_(), I(
15220
+ }, null, 8, ["type"])) : !i.$slots.fileIcon && a.customIconData[e(a.file)] && a.customIconData[e(a.file)][a.customIconFields.icon] ? (T(), I(
15181
15221
  ue,
15182
15222
  { key: 1 },
15183
15223
  [
15184
15224
  P(" 自定义图标 "),
15185
15225
  S("div", null, [
15186
- a.customIconData[e(a.file)][a.customIconFields.type] === "img" ? (_(), I("img", {
15226
+ a.customIconData[e(a.file)][a.customIconFields.type] === "img" ? (T(), I("img", {
15187
15227
  key: 0,
15188
15228
  src: a.customIconData[e(a.file)][a.customIconFields.icon],
15189
15229
  alt: "",
15190
15230
  class: "file-img-icon"
15191
- }, null, 8, uv)) : (_(), I(
15231
+ }, null, 8, fv)) : (T(), I(
15192
15232
  "span",
15193
15233
  {
15194
15234
  key: 1,
@@ -15204,32 +15244,32 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15204
15244
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
15205
15245
  )) : P("v-if", !0),
15206
15246
  P(" 插槽 "),
15207
- S("div", cv, [
15208
- he(i.$slots, "fileIcon", { file: a.file }, void 0, !0)
15247
+ S("div", hv, [
15248
+ fe(i.$slots, "fileIcon", { file: a.file }, void 0, !0)
15209
15249
  ]),
15210
- S("div", fv, [
15211
- S("p", hv, [
15250
+ S("div", dv, [
15251
+ S("p", gv, [
15212
15252
  Et(
15213
- ce(a.file[a.mixDefaultField.name] || a.file.name) + " ",
15253
+ he(a.file[a.mixDefaultField.name] || a.file.name) + " ",
15214
15254
  1
15215
15255
  /* TEXT */
15216
15256
  ),
15217
- a.file.percentage && a.file.status === "uploading" ? (_(), I(
15257
+ a.file.percentage && a.file.status === "uploading" ? (T(), I(
15218
15258
  "span",
15219
- dv,
15220
- "(" + ce(a.file.percentage) + "%)",
15259
+ vv,
15260
+ "(" + he(a.file.percentage) + "%)",
15221
15261
  1
15222
15262
  /* TEXT */
15223
15263
  )) : P("v-if", !0)
15224
15264
  ]),
15225
- a.file.status === "success" ? (_(), I(
15265
+ a.file.status === "success" ? (T(), I(
15226
15266
  "p",
15227
- gv,
15228
- ce(w(Ut)(a.file[a.mixDefaultField.size] || a.file.size)),
15267
+ pv,
15268
+ he(w(Ut)(a.file[a.mixDefaultField.size] || a.file.size)),
15229
15269
  1
15230
15270
  /* TEXT */
15231
15271
  )) : P("v-if", !0),
15232
- a.file.percentage && a.file.status === "uploading" ? (_(), G(w(pi), {
15272
+ a.file.percentage && a.file.status === "uploading" ? (T(), G(w(pi), {
15233
15273
  key: 1,
15234
15274
  "text-inside": "",
15235
15275
  percentage: a.file.percentage,
@@ -15238,11 +15278,11 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15238
15278
  }, null, 8, ["percentage"])) : P("v-if", !0)
15239
15279
  ])
15240
15280
  ]),
15241
- a.preview ? (_(), I(
15281
+ a.preview ? (T(), I(
15242
15282
  ue,
15243
15283
  { key: 1 },
15244
15284
  [
15245
- (a.preview || a.file.percentage === 100) && a.canViewFile ? (_(), G(w(Te), {
15285
+ (a.preview || a.file.percentage === 100) && a.canViewFile ? (T(), G(w(Te), {
15246
15286
  key: 0,
15247
15287
  title: "预览",
15248
15288
  class: "primary"
@@ -15270,12 +15310,12 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15270
15310
  ],
15271
15311
  64
15272
15312
  /* STABLE_FRAGMENT */
15273
- )) : (_(), I("div", vv, [
15274
- a.file.status === "success" ? (_(), I(
15313
+ )) : (T(), I("div", mv, [
15314
+ a.file.status === "success" ? (T(), I(
15275
15315
  ue,
15276
15316
  { key: 0 },
15277
15317
  [
15278
- a.canViewFile ? (_(), G(w(le), {
15318
+ a.canViewFile ? (T(), G(w(le), {
15279
15319
  key: 0,
15280
15320
  onClick: n[0] || (n[0] = (o) => t("preview", a.file)),
15281
15321
  name: "iksvg_yulan",
@@ -15294,7 +15334,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15294
15334
  ],
15295
15335
  64
15296
15336
  /* STABLE_FRAGMENT */
15297
- )) : (_(), G(w(le), {
15337
+ )) : (T(), G(w(le), {
15298
15338
  key: 1,
15299
15339
  onClick: n[2] || (n[2] = (o) => t("delete", a.file)),
15300
15340
  error: "",
@@ -15306,7 +15346,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15306
15346
  ]))
15307
15347
  ]));
15308
15348
  }
15309
- }), mv = /* @__PURE__ */ Be(pv, [["__scopeId", "data-v-e9c73cb6"]]), yv = /* @__PURE__ */ fe({
15349
+ }), bv = /* @__PURE__ */ Be(yv, [["__scopeId", "data-v-e9c73cb6"]]), wv = /* @__PURE__ */ ce({
15310
15350
  __name: "UploadTriggerButton",
15311
15351
  props: {
15312
15352
  showIcon: { type: Boolean, default: !0 },
@@ -15317,10 +15357,10 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15317
15357
  preview: { type: Boolean, default: !1 }
15318
15358
  },
15319
15359
  setup(a) {
15320
- return (s, r) => (_(), G(w(Wu), { disabled: a.disabled }, ra({
15360
+ return (s, r) => (T(), G(w(Wu), { disabled: a.disabled }, ra({
15321
15361
  default: j(() => [
15322
15362
  Et(
15323
- " " + ce(a.title),
15363
+ " " + he(a.title),
15324
15364
  1
15325
15365
  /* TEXT */
15326
15366
  )
@@ -15340,10 +15380,10 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15340
15380
  } : void 0
15341
15381
  ]), 1032, ["disabled"]));
15342
15382
  }
15343
- }), bv = "data:image/webp;base64,UklGRnoEAABXRUJQVlA4WAoAAAAwAAAALwAALwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBImAAAAA2AYm3bsuhFm7u72wZoTrbGIcoKaKyAROJQbQmW2IVb/WkW3ZmPd3ymRMQEwJfV56QRo5pHErkUkFdQWRJpeGW6SoL9EvaWxAdbAeiVd5gyAK5NAdOtv4uNfsT21TUukBVjgFubBOQS+Ip7G/k2LpatkF2hAuBI5siAdsL2j3DHQrJ7NKDbUIyOj3bhqADBsgNPUqUlgncLVlA4IOwBAABwDQCdASowADAAPm0yk0ckIyGhJzgMkIANiWwArDM9tzexcZ3vwYZdKHIB749Ap5gP1E/YD34/QB6AH+A9F//S+w1z2/sz/5DzdDABM7ldHg1iMkeWX8LH9T1VzicAWGJgnNq4e/5P/NObJOBUhFC8dPnhmAD+9wGzP9Zfeg5ENi90xn4awZvrlCLnfwvZX//s4u6n2Pa2TF/r8wh0GtdNNJIBMRbrMaCBwyl6z86DqQgvpixbIdOVbwZFf/7KjC+uzJ5nNRyJ1Rpab8pIf2m1+SBOfX9w7EFXUErK8NSCsePMPazMXKH5y9Wl+nfiSrmsv079Fk6NkDF3Dxr+C+Rp4UdG/f3kP8PZfd/FyRupWURiDOrAjLamuF4OPo2BylwD7ulmdgDn4BEMXuvpYCACy4yCVjgsOzqToG2rSfJOtxy6Hh1/B2gu7X1MdJpHsdHdUrlRzTLKyV3wZG5a64SKKB2/QGk8IRZT0veUdDeo579/WyTU3ujQZeKNBS9ANlv1muyN9Kf5bm1f3UoPm/KnDkqf/1f2jf6aQJ7IYNod25fVfhRX+l1u9qBzs/bVezF7ZgC2LOuuJl1Tvwgeujpg9Uc/m0A9X878DzEkgxP/sPGviOfCElM1J/Kr3TTCwCkfW+K3oZuMB7HAAAA=", wv = { class: "ik-upload-trigger-card" }, Cv = { class: "card" }, kv = { class: "title" }, _v = ["src"], Tv = {
15383
+ }), Cv = "data:image/webp;base64,UklGRnoEAABXRUJQVlA4WAoAAAAwAAAALwAALwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBImAAAAA2AYm3bsuhFm7u72wZoTrbGIcoKaKyAROJQbQmW2IVb/WkW3ZmPd3ymRMQEwJfV56QRo5pHErkUkFdQWRJpeGW6SoL9EvaWxAdbAeiVd5gyAK5NAdOtv4uNfsT21TUukBVjgFubBOQS+Ip7G/k2LpatkF2hAuBI5siAdsL2j3DHQrJ7NKDbUIyOj3bhqADBsgNPUqUlgncLVlA4IOwBAABwDQCdASowADAAPm0yk0ckIyGhJzgMkIANiWwArDM9tzexcZ3vwYZdKHIB749Ap5gP1E/YD34/QB6AH+A9F//S+w1z2/sz/5DzdDABM7ldHg1iMkeWX8LH9T1VzicAWGJgnNq4e/5P/NObJOBUhFC8dPnhmAD+9wGzP9Zfeg5ENi90xn4awZvrlCLnfwvZX//s4u6n2Pa2TF/r8wh0GtdNNJIBMRbrMaCBwyl6z86DqQgvpixbIdOVbwZFf/7KjC+uzJ5nNRyJ1Rpab8pIf2m1+SBOfX9w7EFXUErK8NSCsePMPazMXKH5y9Wl+nfiSrmsv079Fk6NkDF3Dxr+C+Rp4UdG/f3kP8PZfd/FyRupWURiDOrAjLamuF4OPo2BylwD7ulmdgDn4BEMXuvpYCACy4yCVjgsOzqToG2rSfJOtxy6Hh1/B2gu7X1MdJpHsdHdUrlRzTLKyV3wZG5a64SKKB2/QGk8IRZT0veUdDeo579/WyTU3ujQZeKNBS9ANlv1muyN9Kf5bm1f3UoPm/KnDkqf/1f2jf6aQJ7IYNod25fVfhRX+l1u9qBzs/bVezF7ZgC2LOuuJl1Tvwgeujpg9Uc/m0A9X878DzEkgxP/sPGviOfCElM1J/Kr3TTCwCkfW+K3oZuMB7HAAAA=", kv = { class: "ik-upload-trigger-card" }, _v = { class: "card" }, Tv = { class: "title" }, Sv = ["src"], Av = {
15344
15384
  key: 0,
15345
15385
  class: "tip-slot"
15346
- }, Sv = /* @__PURE__ */ fe({
15386
+ }, Ev = /* @__PURE__ */ ce({
15347
15387
  __name: "UploadTriggerCard",
15348
15388
  props: {
15349
15389
  showIcon: { type: Boolean, default: !0 },
@@ -15356,26 +15396,26 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15356
15396
  preview: { type: Boolean, default: !1 }
15357
15397
  },
15358
15398
  setup(a) {
15359
- return (s, r) => (_(), I("div", wv, [
15360
- S("div", Cv, [
15361
- S("div", kv, [
15362
- a.imageMode ? he(s.$slots, "image", { key: 0 }, () => [
15399
+ return (s, r) => (T(), I("div", kv, [
15400
+ S("div", _v, [
15401
+ S("div", Tv, [
15402
+ a.imageMode ? fe(s.$slots, "image", { key: 0 }, () => [
15363
15403
  S("img", {
15364
- src: w(bv),
15404
+ src: w(Cv),
15365
15405
  class: "w-[48px] h-[48px]"
15366
- }, null, 8, _v)
15367
- ], !0) : a.showIcon ? (_(), G(w(le), {
15406
+ }, null, 8, Sv)
15407
+ ], !0) : a.showIcon ? (T(), G(w(le), {
15368
15408
  key: 1,
15369
15409
  name: "iksvg_img_shangchuanhetongfujianbeifen",
15370
15410
  size: 40
15371
15411
  })) : P("v-if", !0),
15372
15412
  S("span", null, [
15373
15413
  Et(
15374
- ce(a.title) + " ",
15414
+ he(a.title) + " ",
15375
15415
  1
15376
15416
  /* TEXT */
15377
15417
  ),
15378
- !a.preview && a.tip && !s.$slots.tip ? (_(), G(w(_l), {
15418
+ !a.preview && a.tip && !s.$slots.tip ? (T(), G(w(_l), {
15379
15419
  key: 0,
15380
15420
  effect: "dark",
15381
15421
  content: a.tipText || "",
@@ -15405,12 +15445,12 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15405
15445
  padding: "0"
15406
15446
  })
15407
15447
  ]),
15408
- s.$slots.tip ? (_(), I("div", Tv, [
15409
- he(s.$slots, "tip", {}, void 0, !0)
15448
+ s.$slots.tip ? (T(), I("div", Av, [
15449
+ fe(s.$slots, "tip", {}, void 0, !0)
15410
15450
  ])) : P("v-if", !0)
15411
15451
  ]));
15412
15452
  }
15413
- }), Av = /* @__PURE__ */ Be(Sv, [["__scopeId", "data-v-9c185a5f"]]), Ev = /* @__PURE__ */ fe({
15453
+ }), xv = /* @__PURE__ */ Be(Ev, [["__scopeId", "data-v-9c185a5f"]]), Iv = /* @__PURE__ */ ce({
15414
15454
  __name: "index",
15415
15455
  props: /* @__PURE__ */ ft({
15416
15456
  showIcon: { type: Boolean, default: !0 },
@@ -15463,14 +15503,14 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15463
15503
  getFileName: h,
15464
15504
  canView: d,
15465
15505
  cHeaders: g
15466
- } = Pg({ props: r }), {
15506
+ } = Rg({ props: r }), {
15467
15507
  fileData: v,
15468
15508
  officeVisible: m,
15469
15509
  handlePreview: p,
15470
- handleDownload: T,
15510
+ handleDownload: _,
15471
15511
  handleDelete: y,
15472
15512
  removeFileFromList: C
15473
- } = Rg({
15513
+ } = Og({
15474
15514
  props: r,
15475
15515
  emit: t,
15476
15516
  modelValue: e,
@@ -15491,31 +15531,31 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15491
15531
  handleProgress: oe,
15492
15532
  handleRetryUpload: ge,
15493
15533
  handleRemoveError: xe
15494
- } = Lg({
15534
+ } = Fg({
15495
15535
  props: r,
15496
15536
  emit: t,
15497
15537
  modelValue: e,
15498
15538
  refUpload: i,
15499
15539
  removeFileFromList: C
15500
- }), rt = ae(() => r.simple ? "simple" : r.showType), Ue = (ee) => {
15540
+ }), rt = ne(() => r.simple ? "simple" : r.showType), Ue = (ee) => {
15501
15541
  p(ee);
15502
15542
  }, Le = (ee) => {
15503
- T(ee);
15543
+ _(ee);
15504
15544
  }, Oe = (ee) => {
15505
15545
  y(ee);
15506
15546
  }, ze = (ee) => d(ee);
15507
15547
  return (ee, F) => {
15508
15548
  var $;
15509
- return _(), I(
15549
+ return T(), I(
15510
15550
  ue,
15511
15551
  null,
15512
15552
  [
15513
- a.preview ? P("v-if", !0) : (_(), I(
15553
+ a.preview ? P("v-if", !0) : (T(), I(
15514
15554
  ue,
15515
15555
  { key: 0 },
15516
15556
  [
15517
15557
  P(" button 类型上传 "),
15518
- a.type === "button" ? (_(), G(w(Oa), Kr({
15558
+ a.type === "button" ? (T(), G(w(Oa), Kr({
15519
15559
  key: 0,
15520
15560
  class: "ik-file-upload"
15521
15561
  }, ee.$attrs, {
@@ -15538,8 +15578,8 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15538
15578
  "on-error": w(O)
15539
15579
  }), {
15540
15580
  trigger: j(() => [
15541
- he(ee.$slots, "trigger", {}, () => [
15542
- M(yv, {
15581
+ fe(ee.$slots, "trigger", {}, () => [
15582
+ M(wv, {
15543
15583
  "show-icon": a.showIcon,
15544
15584
  title: a.title,
15545
15585
  tip: a.tip,
@@ -15551,7 +15591,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15551
15591
  ]),
15552
15592
  file: j(({ file: U }) => [
15553
15593
  P(" simple 模式 "),
15554
- rt.value === "simple" ? (_(), G(Wg, {
15594
+ rt.value === "simple" ? (T(), G($g, {
15555
15595
  key: 0,
15556
15596
  file: U,
15557
15597
  "mix-default-field": w(n),
@@ -15562,12 +15602,12 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15562
15602
  onPreview: Ue,
15563
15603
  onDownload: Le,
15564
15604
  onDelete: Oe
15565
- }, null, 8, ["file", "mix-default-field", "show-bg", "show-file-size", "is-show-download", "can-view-file"])) : rt.value === "simple-icon" ? (_(), I(
15605
+ }, null, 8, ["file", "mix-default-field", "show-bg", "show-file-size", "is-show-download", "can-view-file"])) : rt.value === "simple-icon" ? (T(), I(
15566
15606
  ue,
15567
15607
  { key: 1 },
15568
15608
  [
15569
15609
  P(" simple-icon 模式 "),
15570
- M(Zg, {
15610
+ M(Qg, {
15571
15611
  file: U,
15572
15612
  "mix-default-field": w(n),
15573
15613
  "custom-icon-data": a.customIconData,
@@ -15581,8 +15621,8 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15581
15621
  onDownload: Le,
15582
15622
  onDelete: Oe
15583
15623
  }, {
15584
- fileIcon: j((re) => [
15585
- he(ee.$slots, "fileIcon", Ii(Pi(re)), void 0, !0)
15624
+ fileIcon: j((ae) => [
15625
+ fe(ee.$slots, "fileIcon", Ii(Pi(ae)), void 0, !0)
15586
15626
  ]),
15587
15627
  _: 3
15588
15628
  /* FORWARDED */
@@ -15590,12 +15630,12 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15590
15630
  ],
15591
15631
  2112
15592
15632
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
15593
- )) : (_(), I(
15633
+ )) : (T(), I(
15594
15634
  ue,
15595
15635
  { key: 2 },
15596
15636
  [
15597
15637
  P(" default 模式 "),
15598
- M(sv, {
15638
+ M(lv, {
15599
15639
  file: U,
15600
15640
  "mix-default-field": w(n),
15601
15641
  "custom-icon-data": a.customIconData,
@@ -15608,8 +15648,8 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15608
15648
  onDownload: Le,
15609
15649
  onDelete: Oe
15610
15650
  }, {
15611
- fileIcon: j((re) => [
15612
- he(ee.$slots, "fileIcon", Ii(Pi(re)), void 0, !0)
15651
+ fileIcon: j((ae) => [
15652
+ fe(ee.$slots, "fileIcon", Ii(Pi(ae)), void 0, !0)
15613
15653
  ]),
15614
15654
  _: 3
15615
15655
  /* FORWARDED */
@@ -15622,7 +15662,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15622
15662
  default: j(() => {
15623
15663
  var U;
15624
15664
  return [
15625
- !a.preview && a.tip ? (_(), G(w(_l), {
15665
+ !a.preview && a.tip ? (T(), G(w(_l), {
15626
15666
  key: 0,
15627
15667
  effect: "dark",
15628
15668
  content: a.tipText || "",
@@ -15643,12 +15683,12 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15643
15683
  _: 1
15644
15684
  /* STABLE */
15645
15685
  }, 8, ["content"])) : P("v-if", !0),
15646
- (U = w(E)) != null && U.length ? (_(!0), I(
15686
+ (U = w(E)) != null && U.length ? (T(!0), I(
15647
15687
  ue,
15648
15688
  { key: 1 },
15649
- Yr(w(E), (re, ve) => (_(), G(bl, {
15650
- key: re.uid,
15651
- file: re,
15689
+ Yr(w(E), (ae, ve) => (T(), G(bl, {
15690
+ key: ae.uid,
15691
+ file: ae,
15652
15692
  index: ve,
15653
15693
  "field-name": w(n).name,
15654
15694
  onRetry: w(ge),
@@ -15661,7 +15701,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15661
15701
  }),
15662
15702
  _: 3
15663
15703
  /* FORWARDED */
15664
- }, 16, ["accept", "action", "file-list", "before-upload", "before-remove", "on-exceed", "on-change", "multiple", "headers", "limit", "on-progress", "on-success", "on-error"])) : (_(), I(
15704
+ }, 16, ["accept", "action", "file-list", "before-upload", "before-remove", "on-exceed", "on-change", "multiple", "headers", "limit", "on-progress", "on-success", "on-error"])) : (T(), I(
15665
15705
  ue,
15666
15706
  { key: 1 },
15667
15707
  [
@@ -15688,7 +15728,7 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15688
15728
  "on-change": w(Z)
15689
15729
  }), {
15690
15730
  trigger: j(() => [
15691
- M(Av, {
15731
+ M(xv, {
15692
15732
  "show-icon": a.showIcon,
15693
15733
  title: a.title,
15694
15734
  tip: a.tip,
@@ -15704,21 +15744,21 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15704
15744
  ee.$slots.image ? {
15705
15745
  name: "image",
15706
15746
  fn: j(() => [
15707
- he(ee.$slots, "image", {}, void 0, !0)
15747
+ fe(ee.$slots, "image", {}, void 0, !0)
15708
15748
  ]),
15709
15749
  key: "0"
15710
15750
  } : void 0,
15711
15751
  ee.$slots.tip ? {
15712
15752
  name: "tip",
15713
15753
  fn: j(() => [
15714
- he(ee.$slots, "tip", {}, void 0, !0)
15754
+ fe(ee.$slots, "tip", {}, void 0, !0)
15715
15755
  ]),
15716
15756
  key: "1"
15717
15757
  } : void 0
15718
15758
  ]), 1032, ["show-icon", "title", "tip", "tip-text", "image-mode", "plain", "disabled", "preview"])
15719
15759
  ]),
15720
15760
  file: j(({ file: U }) => [
15721
- M(mv, {
15761
+ M(bv, {
15722
15762
  file: U,
15723
15763
  "mix-default-field": w(n),
15724
15764
  "custom-icon-data": a.customIconData,
@@ -15729,8 +15769,8 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15729
15769
  onDownload: Le,
15730
15770
  onDelete: Oe
15731
15771
  }, {
15732
- fileIcon: j((re) => [
15733
- he(ee.$slots, "fileIcon", Ii(Pi(re)), void 0, !0)
15772
+ fileIcon: j((ae) => [
15773
+ fe(ee.$slots, "fileIcon", Ii(Pi(ae)), void 0, !0)
15734
15774
  ]),
15735
15775
  _: 3
15736
15776
  /* FORWARDED */
@@ -15739,12 +15779,12 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15739
15779
  default: j(() => {
15740
15780
  var U;
15741
15781
  return [
15742
- (U = w(E)) != null && U.length ? (_(!0), I(
15782
+ (U = w(E)) != null && U.length ? (T(!0), I(
15743
15783
  ue,
15744
15784
  { key: 0 },
15745
- Yr(w(E), (re, ve) => (_(), G(bl, {
15746
- key: re.uid,
15747
- file: re,
15785
+ Yr(w(E), (ae, ve) => (T(), G(bl, {
15786
+ key: ae.uid,
15787
+ file: ae,
15748
15788
  index: ve,
15749
15789
  "field-name": w(n).name,
15750
15790
  onRetry: w(ge),
@@ -15782,8 +15822,8 @@ const Og = { class: "ik-error-flie-list" }, Fg = { class: "name" }, Mg = { class
15782
15822
  );
15783
15823
  };
15784
15824
  }
15785
- }), xv = /* @__PURE__ */ Be(Ev, [["__scopeId", "data-v-f01477f2"]]), Nv = it(xv);
15825
+ }), Pv = /* @__PURE__ */ Be(Iv, [["__scopeId", "data-v-f01477f2"]]), Hv = $e(Pv);
15786
15826
  export {
15787
- Nv as IkUploadFile,
15788
- Nv as default
15827
+ Hv as IkUploadFile,
15828
+ Hv as default
15789
15829
  };