iking-web-ui-pro 1.0.48 → 1.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/IkApprovalProcess/ik.index.es.js +281 -277
  2. package/dist/IkApprovalProcessDetail/ik.index.es.js +5 -1
  3. package/dist/IkCalendar/ik.index.es.js +8 -4
  4. package/dist/IkCalendar/iking-web-ui-pro.css +1 -1
  5. package/dist/IkDescription/ik.index.es.js +466 -457
  6. package/dist/IkDescription/iking-web-ui-pro.css +1 -1
  7. package/dist/IkDetailPreviewFiles/ik.index.es.js +5 -1
  8. package/dist/IkImageUploadEditor/ik.index.es.js +1 -1
  9. package/dist/IkImageUploadEditor/iking-web-ui-pro.css +2 -2
  10. package/dist/IkPageFull/ik.index.es.js +5 -1
  11. package/dist/IkPickerUser/ik.index.es.js +249 -245
  12. package/dist/IkPlayer/ik.index.es.js +5 -1
  13. package/dist/IkPreviewFile/ik.index.es.js +5 -1
  14. package/dist/IkPreviewFileDialog/ik.index.es.js +5 -1
  15. package/dist/IkSearch/ik.index.es.js +46 -42
  16. package/dist/IkUploadFile/ik.index.es.js +6 -2
  17. package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
  18. package/dist/IkVerticalStepBar/ik.index.es.js +1 -1
  19. package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
  20. package/dist/iking-web-ui-pro.css +2 -2
  21. package/dist/{index-B7k0MBYs.mjs → index-HvOdNke5.mjs} +2911 -2902
  22. package/dist/{index.es-x4V15FUC.mjs → index.es-Dcu-FMhK.mjs} +2 -2
  23. package/dist/index.es.js +1 -1
  24. package/dist/index.umd.js +4 -4
  25. package/dist/{jspdf.es.min-Dw0HwXiw.mjs → jspdf.es.min-QU-NO5xq.mjs} +1 -1
  26. package/dist/src/components/IkUploadFile/index.d.ts +3 -3
  27. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +1 -1
  28. package/dist/src/components/IkUploadImage/index.d.ts +3 -3
  29. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
  30. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +1 -1
  31. package/dist/src/components/Provider/index.d.ts +3 -3
  32. package/dist/src/utils/use-provider.d.ts +11 -5
  33. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { defineComponent as ae, computed as Q, createElementBlock as L, openBlock as E, createElementVNode as S, inject as Ct, ref as pe, Fragment as ve, createCommentVNode as Z, createVNode as Y, renderList as xt, normalizeStyle as Te, toDisplayString as we, unref as I, normalizeClass as ee, createBlock as oe, renderSlot as Se, withModifiers as Je, mergeModels as Pt, useModel as $r, reactive as Sl, watch as At, nextTick as ci, withCtx as ie, resolveComponent as pt, mergeProps as It, createTextVNode as Lt, h as El, createSlots as xl, getCurrentScope as Il, onScopeDispose as Pl, markRaw as Ta, effectScope as Al, shallowRef as Ll, onMounted as gu, Teleport as vu, Transition as pu, resolveDynamicComponent as Dl, withDirectives as Rl, vShow as Ol, useCssVars as Ml, useAttrs as Fl } from "vue";
2
- import { useLocale as Nl, useNamespace as mu, useZIndex as Bl, ElIcon as je, EVENT_CODE as ut, ElTag as Hl } from "element-plus";
3
- import { paramType as Hr, ikFile as Ul, buildUUID as yu, ikColor as jl, _ as wi } from "iking-utils-pro";
1
+ import { defineComponent as ae, computed as Q, createElementBlock as L, openBlock as E, createElementVNode as S, inject as Ct, ref as pe, Fragment as ve, createCommentVNode as Z, createVNode as Y, renderList as xt, normalizeStyle as Te, toDisplayString as we, unref as I, normalizeClass as ee, createBlock as oe, renderSlot as Se, withModifiers as Je, mergeModels as Pt, useModel as $r, reactive as Sl, watch as At, nextTick as ci, withCtx as ie, resolveComponent as pt, mergeProps as It, createTextVNode as Lt, h as El, createSlots as xl, getCurrentScope as Il, onScopeDispose as Pl, markRaw as Ta, effectScope as Al, shallowRef as Ll, onMounted as gu, Teleport as vu, Transition as pu, resolveDynamicComponent as Dl, withDirectives as Rl, vShow as Ol, useCssVars as Ml, useAttrs as Fl, onUpdated as Nl } from "vue";
2
+ import { useLocale as Bl, useNamespace as mu, useZIndex as Hl, ElIcon as je, EVENT_CODE as ut, ElTag as Ul } from "element-plus";
3
+ import { paramType as Hr, ikFile as jl, buildUUID as yu, ikColor as zl, _ as wi } from "iking-utils-pro";
4
4
  const Ne = (a, s) => (a.install = (n) => {
5
5
  for (const t of [a, ...Object.values({})])
6
6
  n.component(t.name, t);
@@ -26,7 +26,7 @@ const Ne = (a, s) => (a.install = (n) => {
26
26
  if (typeof t == "string" && (t.includes(l) || t === l))
27
27
  return e[l];
28
28
  return "unknown";
29
- }, zl = {
29
+ }, Vl = {
30
30
  ".doc": "word",
31
31
  ".docx": "word",
32
32
  ".docxf": "word",
@@ -113,11 +113,11 @@ const Ne = (a, s) => (a.install = (n) => {
113
113
  ".pdf": "pdf"
114
114
  }, Sa = (a) => {
115
115
  const s = a == null ? void 0 : a.toLocaleLowerCase(), n = s != null && s.startsWith(".") ? s : `.${s}`;
116
- return n && zl[n] || "unknow";
117
- }, Vl = (a) => {
116
+ return n && Vl[n] || "unknow";
117
+ }, ql = (a) => {
118
118
  let s = "", n = ["doc", "docx"], t = ["xls", "xlsx"], e = ["ppt", "pptx"], i = ["pdf"];
119
119
  return n.includes(a) && (s = "word"), t.includes(a) && (s = "cell"), e.includes(a) && (s = "slide"), i.includes(a) && (s = "text-pdf"), s;
120
- }, ql = {
120
+ }, Gl = {
121
121
  key: 0,
122
122
  t: "1686300059786",
123
123
  class: "icon",
@@ -127,7 +127,7 @@ const Ne = (a, s) => (a.install = (n) => {
127
127
  "p-id": "7671",
128
128
  width: "200",
129
129
  height: "200"
130
- }, Gl = {
130
+ }, Wl = {
131
131
  key: 1,
132
132
  t: "1686301531714",
133
133
  class: "icon",
@@ -137,7 +137,7 @@ const Ne = (a, s) => (a.install = (n) => {
137
137
  "p-id": "9067",
138
138
  width: "200",
139
139
  height: "200"
140
- }, Wl = {
140
+ }, Kl = {
141
141
  key: 2,
142
142
  t: "1686300141125",
143
143
  class: "icon",
@@ -147,7 +147,7 @@ const Ne = (a, s) => (a.install = (n) => {
147
147
  "p-id": "8137",
148
148
  width: "200",
149
149
  height: "200"
150
- }, Kl = {
150
+ }, $l = {
151
151
  key: 3,
152
152
  t: "1686300157181",
153
153
  class: "icon",
@@ -157,7 +157,7 @@ const Ne = (a, s) => (a.install = (n) => {
157
157
  "p-id": "8292",
158
158
  width: "200",
159
159
  height: "200"
160
- }, $l = {
160
+ }, Yl = {
161
161
  key: 4,
162
162
  t: "1686300180947",
163
163
  class: "icon",
@@ -167,7 +167,7 @@ const Ne = (a, s) => (a.install = (n) => {
167
167
  "p-id": "8447",
168
168
  width: "200",
169
169
  height: "200"
170
- }, Yl = {
170
+ }, Xl = {
171
171
  key: 5,
172
172
  t: "1686300195363",
173
173
  class: "icon",
@@ -177,7 +177,7 @@ const Ne = (a, s) => (a.install = (n) => {
177
177
  "p-id": "8602",
178
178
  width: "200",
179
179
  height: "200"
180
- }, Xl = {
180
+ }, Zl = {
181
181
  key: 6,
182
182
  t: "1686300209288",
183
183
  class: "icon",
@@ -187,7 +187,7 @@ const Ne = (a, s) => (a.install = (n) => {
187
187
  "p-id": "8757",
188
188
  width: "200",
189
189
  height: "200"
190
- }, Zl = {
190
+ }, Jl = {
191
191
  key: 7,
192
192
  t: "1686300225262",
193
193
  class: "icon",
@@ -197,7 +197,7 @@ const Ne = (a, s) => (a.install = (n) => {
197
197
  "p-id": "8912",
198
198
  width: "200",
199
199
  height: "200"
200
- }, Jl = {
200
+ }, Ql = {
201
201
  key: 8,
202
202
  t: "1692251753690",
203
203
  class: "icon",
@@ -207,7 +207,7 @@ const Ne = (a, s) => (a.install = (n) => {
207
207
  "p-id": "4336",
208
208
  width: "200",
209
209
  height: "200"
210
- }, Ql = {
210
+ }, ec = {
211
211
  key: 9,
212
212
  t: "1692251753690",
213
213
  class: "icon",
@@ -217,7 +217,7 @@ const Ne = (a, s) => (a.install = (n) => {
217
217
  "p-id": "4336",
218
218
  width: "200",
219
219
  height: "200"
220
- }, ec = {
220
+ }, tc = {
221
221
  key: 10,
222
222
  t: "1714099890925",
223
223
  class: "icon",
@@ -227,7 +227,7 @@ const Ne = (a, s) => (a.install = (n) => {
227
227
  "p-id": "2271",
228
228
  width: "200",
229
229
  height: "200"
230
- }, tc = {
230
+ }, ic = {
231
231
  key: 11,
232
232
  t: "1686300037564",
233
233
  class: "icon",
@@ -237,7 +237,7 @@ const Ne = (a, s) => (a.install = (n) => {
237
237
  "p-id": "7515",
238
238
  width: "200",
239
239
  height: "200"
240
- }, ic = /* @__PURE__ */ ae({
240
+ }, nc = /* @__PURE__ */ ae({
241
241
  __name: "IkFileIcon",
242
242
  props: {
243
243
  type: {
@@ -259,7 +259,7 @@ const Ne = (a, s) => (a.install = (n) => {
259
259
  },
260
260
  setup(a) {
261
261
  const s = a, n = Q(() => s.file ? Ur(s.file, s.fields) : s.type);
262
- return (t, e) => n.value === "image" ? (E(), L("svg", ql, [...e[0] || (e[0] = [
262
+ return (t, e) => n.value === "image" ? (E(), L("svg", Gl, [...e[0] || (e[0] = [
263
263
  S(
264
264
  "path",
265
265
  {
@@ -304,7 +304,7 @@ const Ne = (a, s) => (a.install = (n) => {
304
304
  -1
305
305
  /* CACHED */
306
306
  )
307
- ])])) : n.value === "zip" ? (E(), L("svg", Gl, [...e[1] || (e[1] = [
307
+ ])])) : n.value === "zip" ? (E(), L("svg", Wl, [...e[1] || (e[1] = [
308
308
  S(
309
309
  "path",
310
310
  {
@@ -327,7 +327,7 @@ const Ne = (a, s) => (a.install = (n) => {
327
327
  -1
328
328
  /* CACHED */
329
329
  )
330
- ])])) : n.value === "ppt" ? (E(), L("svg", Wl, [...e[2] || (e[2] = [
330
+ ])])) : n.value === "ppt" ? (E(), L("svg", Kl, [...e[2] || (e[2] = [
331
331
  S(
332
332
  "path",
333
333
  {
@@ -350,7 +350,7 @@ const Ne = (a, s) => (a.install = (n) => {
350
350
  -1
351
351
  /* CACHED */
352
352
  )
353
- ])])) : n.value === "word" ? (E(), L("svg", Kl, [...e[3] || (e[3] = [
353
+ ])])) : n.value === "word" ? (E(), L("svg", $l, [...e[3] || (e[3] = [
354
354
  S(
355
355
  "path",
356
356
  {
@@ -373,7 +373,7 @@ const Ne = (a, s) => (a.install = (n) => {
373
373
  -1
374
374
  /* CACHED */
375
375
  )
376
- ])])) : n.value === "pdf" ? (E(), L("svg", $l, [...e[4] || (e[4] = [
376
+ ])])) : n.value === "pdf" ? (E(), L("svg", Yl, [...e[4] || (e[4] = [
377
377
  S(
378
378
  "path",
379
379
  {
@@ -396,7 +396,7 @@ const Ne = (a, s) => (a.install = (n) => {
396
396
  -1
397
397
  /* CACHED */
398
398
  )
399
- ])])) : n.value === "txt" ? (E(), L("svg", Yl, [...e[5] || (e[5] = [
399
+ ])])) : n.value === "txt" ? (E(), L("svg", Xl, [...e[5] || (e[5] = [
400
400
  S(
401
401
  "path",
402
402
  {
@@ -419,7 +419,7 @@ const Ne = (a, s) => (a.install = (n) => {
419
419
  -1
420
420
  /* CACHED */
421
421
  )
422
- ])])) : n.value === "audio" ? (E(), L("svg", Xl, [...e[6] || (e[6] = [
422
+ ])])) : n.value === "audio" ? (E(), L("svg", Zl, [...e[6] || (e[6] = [
423
423
  S(
424
424
  "path",
425
425
  {
@@ -442,7 +442,7 @@ const Ne = (a, s) => (a.install = (n) => {
442
442
  -1
443
443
  /* CACHED */
444
444
  )
445
- ])])) : n.value === "video" ? (E(), L("svg", Zl, [...e[7] || (e[7] = [
445
+ ])])) : n.value === "video" ? (E(), L("svg", Jl, [...e[7] || (e[7] = [
446
446
  S(
447
447
  "path",
448
448
  {
@@ -465,7 +465,7 @@ const Ne = (a, s) => (a.install = (n) => {
465
465
  -1
466
466
  /* CACHED */
467
467
  )
468
- ])])) : n.value === "excel" ? (E(), L("svg", Jl, [...e[8] || (e[8] = [
468
+ ])])) : n.value === "excel" ? (E(), L("svg", Ql, [...e[8] || (e[8] = [
469
469
  S(
470
470
  "path",
471
471
  {
@@ -500,7 +500,7 @@ const Ne = (a, s) => (a.install = (n) => {
500
500
  -1
501
501
  /* CACHED */
502
502
  )
503
- ])])) : n.value === "exe" ? (E(), L("svg", Ql, [...e[9] || (e[9] = [
503
+ ])])) : n.value === "exe" ? (E(), L("svg", ec, [...e[9] || (e[9] = [
504
504
  S(
505
505
  "path",
506
506
  {
@@ -546,7 +546,7 @@ const Ne = (a, s) => (a.install = (n) => {
546
546
  -1
547
547
  /* CACHED */
548
548
  )
549
- ])])) : n.value === "json" ? (E(), L("svg", ec, [...e[10] || (e[10] = [
549
+ ])])) : n.value === "json" ? (E(), L("svg", tc, [...e[10] || (e[10] = [
550
550
  S(
551
551
  "path",
552
552
  {
@@ -581,7 +581,7 @@ const Ne = (a, s) => (a.install = (n) => {
581
581
  -1
582
582
  /* CACHED */
583
583
  )
584
- ])])) : (E(), L("svg", tc, [...e[11] || (e[11] = [
584
+ ])])) : (E(), L("svg", ic, [...e[11] || (e[11] = [
585
585
  S(
586
586
  "path",
587
587
  {
@@ -617,9 +617,9 @@ const Ne = (a, s) => (a.install = (n) => {
617
617
  )
618
618
  ])]));
619
619
  }
620
- }), Ea = Ne(ic);
620
+ }), Ea = Ne(nc);
621
621
  /*! Element Plus Icons Vue v2.3.1 */
622
- var nc = /* @__PURE__ */ ae({
622
+ var rc = /* @__PURE__ */ ae({
623
623
  name: "ArrowLeft",
624
624
  __name: "arrow-left",
625
625
  setup(a) {
@@ -633,7 +633,7 @@ var nc = /* @__PURE__ */ ae({
633
633
  })
634
634
  ]));
635
635
  }
636
- }), rc = nc, ac = /* @__PURE__ */ ae({
636
+ }), ac = rc, sc = /* @__PURE__ */ ae({
637
637
  name: "ArrowRight",
638
638
  __name: "arrow-right",
639
639
  setup(a) {
@@ -647,7 +647,7 @@ var nc = /* @__PURE__ */ ae({
647
647
  })
648
648
  ]));
649
649
  }
650
- }), sc = ac, oc = /* @__PURE__ */ ae({
650
+ }), oc = sc, uc = /* @__PURE__ */ ae({
651
651
  name: "Close",
652
652
  __name: "close",
653
653
  setup(a) {
@@ -661,7 +661,7 @@ var nc = /* @__PURE__ */ ae({
661
661
  })
662
662
  ]));
663
663
  }
664
- }), _u = oc, uc = /* @__PURE__ */ ae({
664
+ }), _u = uc, lc = /* @__PURE__ */ ae({
665
665
  name: "FullScreen",
666
666
  __name: "full-screen",
667
667
  setup(a) {
@@ -675,7 +675,7 @@ var nc = /* @__PURE__ */ ae({
675
675
  })
676
676
  ]));
677
677
  }
678
- }), lc = uc, cc = /* @__PURE__ */ ae({
678
+ }), cc = lc, fc = /* @__PURE__ */ ae({
679
679
  name: "RefreshLeft",
680
680
  __name: "refresh-left",
681
681
  setup(a) {
@@ -689,7 +689,7 @@ var nc = /* @__PURE__ */ ae({
689
689
  })
690
690
  ]));
691
691
  }
692
- }), fc = cc, hc = /* @__PURE__ */ ae({
692
+ }), hc = fc, dc = /* @__PURE__ */ ae({
693
693
  name: "RefreshRight",
694
694
  __name: "refresh-right",
695
695
  setup(a) {
@@ -703,7 +703,7 @@ var nc = /* @__PURE__ */ ae({
703
703
  })
704
704
  ]));
705
705
  }
706
- }), dc = hc, gc = /* @__PURE__ */ ae({
706
+ }), gc = dc, vc = /* @__PURE__ */ ae({
707
707
  name: "ScaleToOriginal",
708
708
  __name: "scale-to-original",
709
709
  setup(a) {
@@ -717,7 +717,7 @@ var nc = /* @__PURE__ */ ae({
717
717
  })
718
718
  ]));
719
719
  }
720
- }), vc = gc, pc = /* @__PURE__ */ ae({
720
+ }), pc = vc, mc = /* @__PURE__ */ ae({
721
721
  name: "ZoomIn",
722
722
  __name: "zoom-in",
723
723
  setup(a) {
@@ -731,7 +731,7 @@ var nc = /* @__PURE__ */ ae({
731
731
  })
732
732
  ]));
733
733
  }
734
- }), mc = pc, yc = /* @__PURE__ */ ae({
734
+ }), yc = mc, _c = /* @__PURE__ */ ae({
735
735
  name: "ZoomOut",
736
736
  __name: "zoom-out",
737
737
  setup(a) {
@@ -745,7 +745,7 @@ var nc = /* @__PURE__ */ ae({
745
745
  })
746
746
  ]));
747
747
  }
748
- }), _c = yc;
748
+ }), bc = _c;
749
749
  const fi = (a, s) => {
750
750
  const n = a.__vccOpts || a;
751
751
  for (const [t, e] of s)
@@ -757,7 +757,11 @@ const fi = (a, s) => {
757
757
  const n = ["B", "KB", "MB", "GB", "TB"], t = Math.floor(Math.log(a) / Math.log(1024));
758
758
  let e = a / Math.pow(1024, t);
759
759
  return (e % 1 === 0 ? e.toFixed(s || 0) : e.toFixed(s)) + " " + n[t];
760
- }, Dt = (a, s) => s ? s != null && s.startsWith("http") ? s : `${a || location.origin}${s}` : "", xa = [
760
+ }, Dt = (a, s) => {
761
+ if (!s) return "";
762
+ const n = /(\/api\/server\/oss\/download\?fileUrl=)(.*)(\/api\/server\/oss\/download\?fileUrl=)/;
763
+ return s.startsWith("http") ? s.replace(n, "$1$2") : `${a || location.origin}${s}`.replace(n, "$1$2");
764
+ }, xa = [
761
765
  "csv",
762
766
  "djvu",
763
767
  "doc",
@@ -822,18 +826,18 @@ const fi = (a, s) => {
822
826
  cUserInfo: c,
823
827
  cOnlyofficePreviewType: f
824
828
  };
825
- }, bc = ["onClick"], Cc = {
829
+ }, Cc = ["onClick"], kc = {
826
830
  class: "flex align-center",
827
831
  style: { width: "100%" }
828
- }, kc = { class: "fileName simple" }, wc = {
832
+ }, wc = { class: "fileName simple" }, Tc = {
829
833
  key: 0,
830
834
  class: "size",
831
835
  style: { "padding-right": "20px", "white-space": "nowrap" }
832
- }, Tc = ["onClick"], Sc = { class: "file-list" }, Ec = { class: "fileName simple" }, xc = {
836
+ }, Sc = ["onClick"], Ec = { class: "file-list" }, xc = { class: "fileName simple" }, Ic = {
833
837
  key: 0,
834
838
  class: "size",
835
839
  style: { "padding-right": "20px", "white-space": "nowrap" }
836
- }, Ic = ["onClick"], Pc = { class: "text" }, Ac = { class: "fileName" }, Lc = { class: "size" }, Dc = /* @__PURE__ */ ae({
840
+ }, Pc = ["onClick"], Ac = { class: "text" }, Lc = { class: "fileName" }, Dc = { class: "size" }, Rc = /* @__PURE__ */ ae({
837
841
  __name: "IkPreviewFile",
838
842
  props: {
839
843
  list: {
@@ -951,7 +955,7 @@ const fi = (a, s) => {
951
955
  )
952
956
  }, n.isOnlyOfficePreview && (c.value = !0), o("handPreview", l.value);
953
957
  }, d = (p) => {
954
- n.customDownload ? o("download", p) : Ul.downloadFile(
958
+ n.customDownload ? o("download", p) : jl.downloadFile(
955
959
  Dt(
956
960
  e.value,
957
961
  p[u.value.url] || p.attachmentId || p.id
@@ -990,17 +994,17 @@ const fi = (a, s) => {
990
994
  onClick: (R) => f(T),
991
995
  style: Te({ width: v.value })
992
996
  }, [
993
- S("div", Cc, [
997
+ S("div", kc, [
994
998
  S(
995
999
  "div",
996
- kc,
1000
+ wc,
997
1001
  we(T.name),
998
1002
  1
999
1003
  /* TEXT */
1000
1004
  ),
1001
1005
  a.showFileSize ? (E(), L(
1002
1006
  "div",
1003
- wc,
1007
+ Tc,
1004
1008
  we(T.size ? `(${I(Ti)(T.size)})` : ""),
1005
1009
  1
1006
1010
  /* TEXT */
@@ -1031,7 +1035,7 @@ const fi = (a, s) => {
1031
1035
  2
1032
1036
  /* CLASS */
1033
1037
  )
1034
- ], 12, bc))),
1038
+ ], 12, Cc))),
1035
1039
  128
1036
1040
  /* KEYED_FRAGMENT */
1037
1041
  )) : t.value === "simple-icon" ? (E(), L(
@@ -1048,7 +1052,7 @@ const fi = (a, s) => {
1048
1052
  onClick: (R) => f(T),
1049
1053
  style: Te({ width: v.value })
1050
1054
  }, [
1051
- S("div", Sc, [
1055
+ S("div", Ec, [
1052
1056
  Z(" 若为默认40,则simple-icon设置为20,否则设置为iconSize "),
1053
1057
  Y(I(Ea), {
1054
1058
  file: T,
@@ -1068,14 +1072,14 @@ const fi = (a, s) => {
1068
1072
  [
1069
1073
  S(
1070
1074
  "p",
1071
- Ec,
1075
+ xc,
1072
1076
  we(T.name),
1073
1077
  1
1074
1078
  /* TEXT */
1075
1079
  ),
1076
1080
  a.showFileSize ? (E(), L(
1077
1081
  "p",
1078
- xc,
1082
+ Ic,
1079
1083
  we(T.size ? `(${I(Ti)(T.size)})` : ""),
1080
1084
  1
1081
1085
  /* TEXT */
@@ -1099,7 +1103,7 @@ const fi = (a, s) => {
1099
1103
  onClick: Je((R) => f(T), ["stop"]),
1100
1104
  title: "预览"
1101
1105
  }, null, 8, ["onClick"])) : Z("v-if", !0)
1102
- ], 12, Tc))),
1106
+ ], 12, Sc))),
1103
1107
  128
1104
1108
  /* KEYED_FRAGMENT */
1105
1109
  ))
@@ -1137,17 +1141,17 @@ const fi = (a, s) => {
1137
1141
  class: "ikui-w-auto",
1138
1142
  fields: u.value
1139
1143
  }, null, 8, ["file", "style", "fields"]),
1140
- S("div", Pc, [
1144
+ S("div", Ac, [
1141
1145
  S(
1142
1146
  "div",
1143
- Ac,
1147
+ Lc,
1144
1148
  we(T.name),
1145
1149
  1
1146
1150
  /* TEXT */
1147
1151
  ),
1148
1152
  S(
1149
1153
  "div",
1150
- Lc,
1154
+ Dc,
1151
1155
  we(I(Ti)(T.size)),
1152
1156
  1
1153
1157
  /* TEXT */
@@ -1182,7 +1186,7 @@ const fi = (a, s) => {
1182
1186
  2
1183
1187
  /* CLASS */
1184
1188
  )
1185
- ], 8, Ic)
1189
+ ], 8, Pc)
1186
1190
  ],
1187
1191
  6
1188
1192
  /* CLASS, STYLE */
@@ -1199,7 +1203,7 @@ const fi = (a, s) => {
1199
1203
  64
1200
1204
  /* STABLE_FRAGMENT */
1201
1205
  )) : Z("v-if", !0),
1202
- Y(I(Nc), {
1206
+ Y(I(Bc), {
1203
1207
  onClose: g,
1204
1208
  show: c.value,
1205
1209
  "onUpdate:show": C[0] || (C[0] = (T) => c.value = T),
@@ -1215,7 +1219,7 @@ const fi = (a, s) => {
1215
1219
  );
1216
1220
  };
1217
1221
  }
1218
- }), Rc = Ne(Dc), Oc = { class: "head-logo" }, Mc = ["src"], Fc = /* @__PURE__ */ ae({
1222
+ }), Oc = Ne(Rc), Mc = { class: "head-logo" }, Fc = ["src"], Nc = /* @__PURE__ */ ae({
1219
1223
  __name: "IkPreviewFileDialog",
1220
1224
  props: /* @__PURE__ */ Pt({
1221
1225
  file: {
@@ -1295,7 +1299,7 @@ const fi = (a, s) => {
1295
1299
  fileType: D,
1296
1300
  ...((k = n.onlyOfficeConfig) == null ? void 0 : k.document) || {}
1297
1301
  },
1298
- documentType: Vl(D)
1302
+ documentType: ql(D)
1299
1303
  // document_fileType: getFileTypes(suffix),
1300
1304
  }, console.log("config", r.value);
1301
1305
  return;
@@ -1324,7 +1328,7 @@ const fi = (a, s) => {
1324
1328
  ve,
1325
1329
  { key: 0 },
1326
1330
  [
1327
- (v = o.value) != null && v.url && u.image ? (E(), oe(I(Uh), {
1331
+ (v = o.value) != null && v.url && u.image ? (E(), oe(I(jh), {
1328
1332
  key: 0,
1329
1333
  onClose: g[0] || (g[0] = (C) => c()),
1330
1334
  ref: "previewImgRef",
@@ -1334,13 +1338,13 @@ const fi = (a, s) => {
1334
1338
  }, null, 8, ["url-list"])) : Z("v-if", !0),
1335
1339
  Z(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1336
1340
  Z(" 文档类 "),
1337
- Y(I(Xg), {
1341
+ Y(I(Zg), {
1338
1342
  modelValue: u.video,
1339
1343
  "onUpdate:modelValue": g[1] || (g[1] = (C) => u.video = C),
1340
1344
  url: (p = o.value) == null ? void 0 : p.url,
1341
1345
  onClose: c
1342
1346
  }, null, 8, ["modelValue", "url"]),
1343
- Y(I(Xc), {
1347
+ Y(I(Zc), {
1344
1348
  modelValue: u.office,
1345
1349
  "onUpdate:modelValue": g[2] || (g[2] = (C) => u.office = C),
1346
1350
  draggable: "",
@@ -1358,14 +1362,14 @@ const fi = (a, s) => {
1358
1362
  default: ie(() => {
1359
1363
  var C, b, k;
1360
1364
  return [
1361
- S("div", Oc, [
1365
+ S("div", Mc, [
1362
1366
  S("img", {
1363
1367
  src: (b = (C = r.value.editorConfig.customization) == null ? void 0 : C.logo) == null ? void 0 : b.image,
1364
1368
  onClick: f,
1365
1369
  alt: ""
1366
- }, null, 8, Mc)
1370
+ }, null, 8, Fc)
1367
1371
  ]),
1368
- Y(I(Th), {
1372
+ Y(I(Sh), {
1369
1373
  "config-options": r.value,
1370
1374
  "document-server-url": ((k = a.onlyOfficeConfig) == null ? void 0 : k.serverUrl) || a.onlyofficeServer
1371
1375
  }, null, 8, ["config-options", "document-server-url"])
@@ -1380,19 +1384,19 @@ const fi = (a, s) => {
1380
1384
  )) : Z("v-if", !0);
1381
1385
  };
1382
1386
  }
1383
- }), Nc = Ne(Fc);
1387
+ }), Bc = Ne(Nc);
1384
1388
  function Yr(a) {
1385
1389
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1386
1390
  }
1387
- const Bc = {
1391
+ const Hc = {
1388
1392
  key: 1,
1389
1393
  class: "h-[1em] w-[1em]",
1390
1394
  "aria-hidden": "true"
1391
- }, Hc = ["xlink:href"], Uc = ["src"], jc = {
1395
+ }, Uc = ["xlink:href"], jc = ["src"], zc = {
1392
1396
  key: 1,
1393
1397
  class: "h-[1em] w-[1em]",
1394
1398
  "aria-hidden": "true"
1395
- }, zc = ["xlink:href"], Vc = ["src"], qc = /* @__PURE__ */ ae({
1399
+ }, Vc = ["xlink:href"], qc = ["src"], Gc = /* @__PURE__ */ ae({
1396
1400
  name: "IkSvgIcon",
1397
1401
  __name: "index",
1398
1402
  props: {
@@ -1446,7 +1450,7 @@ const Bc = {
1446
1450
  padding: t.value.showBg || t.value.bg ? t.value.padding : 0,
1447
1451
  ...t.value.color && e.value !== "iksig" ? {
1448
1452
  "--ik-icon-deep-color": t.value.color,
1449
- "--ik-icon-shallow-color": t.value.colorLight || jl.setOpacity(t.value.color, t.value.opacity)
1453
+ "--ik-icon-shallow-color": t.value.colorLight || zl.setOpacity(t.value.color, t.value.opacity)
1450
1454
  } : {}
1451
1455
  };
1452
1456
  return t.value.width && (d.width = d.height = typeof t.value.width == "number" ? `${t.value.width}px` : t.value.width), d;
@@ -1502,15 +1506,15 @@ const Bc = {
1502
1506
  null,
1503
1507
  2
1504
1508
  /* CLASS */
1505
- )) : e.value === "svg" ? (E(), L("svg", Bc, [
1509
+ )) : e.value === "svg" ? (E(), L("svg", Hc, [
1506
1510
  S("use", {
1507
1511
  "xlink:href": `#${t.value.name}`
1508
- }, null, 8, Hc)
1512
+ }, null, 8, Uc)
1509
1513
  ])) : e.value === "img" ? (E(), L("img", {
1510
1514
  key: 2,
1511
1515
  src: t.value.name,
1512
1516
  class: "h-[1em] w-[1em]"
1513
- }, null, 8, Uc)) : (E(), L(
1517
+ }, null, 8, jc)) : (E(), L(
1514
1518
  "i",
1515
1519
  {
1516
1520
  key: 3,
@@ -1540,15 +1544,15 @@ const Bc = {
1540
1544
  null,
1541
1545
  2
1542
1546
  /* CLASS */
1543
- )) : e.value === "svg" ? (E(), L("svg", jc, [
1547
+ )) : e.value === "svg" ? (E(), L("svg", zc, [
1544
1548
  S("use", {
1545
1549
  "xlink:href": `#${t.value.name}`
1546
- }, null, 8, zc)
1550
+ }, null, 8, Vc)
1547
1551
  ])) : e.value === "img" ? (E(), L("img", {
1548
1552
  key: 2,
1549
1553
  src: t.value.name,
1550
1554
  class: "h-[1em] w-[1em]"
1551
- }, null, 8, Vc)) : (E(), L(
1555
+ }, null, 8, qc)) : (E(), L(
1552
1556
  "i",
1553
1557
  {
1554
1558
  key: 3,
@@ -1584,7 +1588,7 @@ const Bc = {
1584
1588
  );
1585
1589
  };
1586
1590
  }
1587
- }), Gc = /* @__PURE__ */ fi(qc, [["__scopeId", "data-v-d5c74053"]]), Qe = Ne(Gc), Wc = /* @__PURE__ */ ae({
1591
+ }), Wc = /* @__PURE__ */ fi(Gc, [["__scopeId", "data-v-d5c74053"]]), Qe = Ne(Wc), Kc = /* @__PURE__ */ ae({
1588
1592
  __name: "CloseIcon",
1589
1593
  props: {
1590
1594
  showBg: {
@@ -1614,7 +1618,7 @@ const Bc = {
1614
1618
  /* CLASS */
1615
1619
  ));
1616
1620
  }
1617
- }), Kc = /* @__PURE__ */ fi(Wc, [["__scopeId", "data-v-22f2afe8"]]), $c = { class: "base-header" }, Yc = /* @__PURE__ */ ae({
1621
+ }), $c = /* @__PURE__ */ fi(Kc, [["__scopeId", "data-v-22f2afe8"]]), Yc = { class: "base-header" }, Xc = /* @__PURE__ */ ae({
1618
1622
  __name: "IkBaseDialog",
1619
1623
  props: /* @__PURE__ */ Pt({
1620
1624
  title: { default: "" },
@@ -1638,7 +1642,7 @@ const Bc = {
1638
1642
  setup(a) {
1639
1643
  const s = a, n = $r(a, "modelValue"), t = pe(s.fullscreen), e = ae({
1640
1644
  setup() {
1641
- return () => El(Kc, {
1645
+ return () => El($c, {
1642
1646
  showBg: s.showCloseBg,
1643
1647
  fullscreen: s.fullscreen
1644
1648
  });
@@ -1666,7 +1670,7 @@ const Bc = {
1666
1670
  ])
1667
1671
  ]),
1668
1672
  header: ie(() => [
1669
- S("div", $c, [
1673
+ S("div", Yc, [
1670
1674
  Se(i.$slots, "header", {}, () => [
1671
1675
  Lt(
1672
1676
  we(a.title),
@@ -1695,8 +1699,8 @@ const Bc = {
1695
1699
  ]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
1696
1700
  };
1697
1701
  }
1698
- }), Xc = Ne(Yc);
1699
- function Zc(a, s, n, t) {
1702
+ }), Zc = Ne(Xc);
1703
+ function Jc(a, s, n, t) {
1700
1704
  function e(i) {
1701
1705
  return i instanceof n ? i : new n(function(r) {
1702
1706
  r(i);
@@ -1723,7 +1727,7 @@ function Zc(a, s, n, t) {
1723
1727
  l((t = t.apply(a, [])).next());
1724
1728
  });
1725
1729
  }
1726
- function Jc(a, s) {
1730
+ function Qc(a, s) {
1727
1731
  var n = { label: 0, sent: function() {
1728
1732
  if (i[0] & 1) throw i[1];
1729
1733
  return i[1];
@@ -1783,9 +1787,9 @@ function Jc(a, s) {
1783
1787
  return { value: l[0] ? l[1] : void 0, done: !0 };
1784
1788
  }
1785
1789
  }
1786
- var Qc = function(a, s) {
1787
- return Zc(void 0, void 0, void 0, function() {
1788
- return Jc(this, function(n) {
1790
+ var ef = function(a, s) {
1791
+ return Jc(void 0, void 0, void 0, function() {
1792
+ return Qc(this, function(n) {
1789
1793
  return [2, new Promise(function(t, e) {
1790
1794
  try {
1791
1795
  if (window.DocsAPI)
@@ -1819,11 +1823,11 @@ var Qc = function(a, s) {
1819
1823
  e.removeAttribute("loading"), t(i);
1820
1824
  }, e.setAttribute("loading", ""), e;
1821
1825
  }, Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1822
- function ef(a) {
1826
+ function tf(a) {
1823
1827
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1824
1828
  }
1825
1829
  var Si, Pa;
1826
- function tf() {
1830
+ function nf() {
1827
1831
  if (Pa) return Si;
1828
1832
  Pa = 1;
1829
1833
  function a() {
@@ -1854,7 +1858,7 @@ function hi() {
1854
1858
  return xi = s, xi;
1855
1859
  }
1856
1860
  var Ii, Da;
1857
- function nf() {
1861
+ function rf() {
1858
1862
  if (Da) return Ii;
1859
1863
  Da = 1;
1860
1864
  var a = hi(), s = Array.prototype, n = s.splice;
@@ -1868,7 +1872,7 @@ function nf() {
1868
1872
  return Ii = t, Ii;
1869
1873
  }
1870
1874
  var Pi, Ra;
1871
- function rf() {
1875
+ function af() {
1872
1876
  if (Ra) return Pi;
1873
1877
  Ra = 1;
1874
1878
  var a = hi();
@@ -1879,7 +1883,7 @@ function rf() {
1879
1883
  return Pi = s, Pi;
1880
1884
  }
1881
1885
  var Ai, Oa;
1882
- function af() {
1886
+ function sf() {
1883
1887
  if (Oa) return Ai;
1884
1888
  Oa = 1;
1885
1889
  var a = hi();
@@ -1889,7 +1893,7 @@ function af() {
1889
1893
  return Ai = s, Ai;
1890
1894
  }
1891
1895
  var Li, Ma;
1892
- function sf() {
1896
+ function of() {
1893
1897
  if (Ma) return Li;
1894
1898
  Ma = 1;
1895
1899
  var a = hi();
@@ -1903,7 +1907,7 @@ var Di, Fa;
1903
1907
  function di() {
1904
1908
  if (Fa) return Di;
1905
1909
  Fa = 1;
1906
- var a = tf(), s = nf(), n = rf(), t = af(), e = sf();
1910
+ var a = nf(), s = rf(), n = af(), t = sf(), e = of();
1907
1911
  function i(r) {
1908
1912
  var o = -1, u = r == null ? 0 : r.length;
1909
1913
  for (this.clear(); ++o < u; ) {
@@ -1914,7 +1918,7 @@ function di() {
1914
1918
  return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = n, i.prototype.has = t, i.prototype.set = e, Di = i, Di;
1915
1919
  }
1916
1920
  var Ri, Na;
1917
- function of() {
1921
+ function uf() {
1918
1922
  if (Na) return Ri;
1919
1923
  Na = 1;
1920
1924
  var a = di();
@@ -1924,7 +1928,7 @@ function of() {
1924
1928
  return Ri = s, Ri;
1925
1929
  }
1926
1930
  var Oi, Ba;
1927
- function uf() {
1931
+ function lf() {
1928
1932
  if (Ba) return Oi;
1929
1933
  Ba = 1;
1930
1934
  function a(s) {
@@ -1934,7 +1938,7 @@ function uf() {
1934
1938
  return Oi = a, Oi;
1935
1939
  }
1936
1940
  var Mi, Ha;
1937
- function lf() {
1941
+ function cf() {
1938
1942
  if (Ha) return Mi;
1939
1943
  Ha = 1;
1940
1944
  function a(s) {
@@ -1943,7 +1947,7 @@ function lf() {
1943
1947
  return Mi = a, Mi;
1944
1948
  }
1945
1949
  var Fi, Ua;
1946
- function cf() {
1950
+ function ff() {
1947
1951
  if (Ua) return Fi;
1948
1952
  Ua = 1;
1949
1953
  function a(s) {
@@ -1973,7 +1977,7 @@ function Xr() {
1973
1977
  return Hi = s, Hi;
1974
1978
  }
1975
1979
  var Ui, qa;
1976
- function ff() {
1980
+ function hf() {
1977
1981
  if (qa) return Ui;
1978
1982
  qa = 1;
1979
1983
  var a = Xr(), s = Object.prototype, n = s.hasOwnProperty, t = s.toString, e = a ? a.toStringTag : void 0;
@@ -1990,7 +1994,7 @@ function ff() {
1990
1994
  return Ui = i, Ui;
1991
1995
  }
1992
1996
  var ji, Ga;
1993
- function hf() {
1997
+ function df() {
1994
1998
  if (Ga) return ji;
1995
1999
  Ga = 1;
1996
2000
  var a = Object.prototype, s = a.toString;
@@ -2003,7 +2007,7 @@ var zi, Wa;
2003
2007
  function gi() {
2004
2008
  if (Wa) return zi;
2005
2009
  Wa = 1;
2006
- var a = Xr(), s = ff(), n = hf(), t = "[object Null]", e = "[object Undefined]", i = a ? a.toStringTag : void 0;
2010
+ var a = Xr(), s = hf(), n = df(), t = "[object Null]", e = "[object Undefined]", i = a ? a.toStringTag : void 0;
2007
2011
  function r(o) {
2008
2012
  return o == null ? o === void 0 ? e : t : i && i in Object(o) ? s(o) : n(o);
2009
2013
  }
@@ -2033,17 +2037,17 @@ function wu() {
2033
2037
  return qi = r, qi;
2034
2038
  }
2035
2039
  var Gi, Ya;
2036
- function df() {
2040
+ function gf() {
2037
2041
  if (Ya) return Gi;
2038
2042
  Ya = 1;
2039
2043
  var a = Le(), s = a["__core-js_shared__"];
2040
2044
  return Gi = s, Gi;
2041
2045
  }
2042
2046
  var Wi, Xa;
2043
- function gf() {
2047
+ function vf() {
2044
2048
  if (Xa) return Wi;
2045
2049
  Xa = 1;
2046
- var a = df(), s = (function() {
2050
+ var a = gf(), s = (function() {
2047
2051
  var t = /[^.]+$/.exec(a && a.keys && a.keys.IE_PROTO || "");
2048
2052
  return t ? "Symbol(src)_1." + t : "";
2049
2053
  })();
@@ -2073,10 +2077,10 @@ function Tu() {
2073
2077
  return Ki = n, Ki;
2074
2078
  }
2075
2079
  var $i, Ja;
2076
- function vf() {
2080
+ function pf() {
2077
2081
  if (Ja) return $i;
2078
2082
  Ja = 1;
2079
- var a = wu(), s = gf(), n = Ot(), t = Tu(), e = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, r = Function.prototype, o = Object.prototype, u = r.toString, l = o.hasOwnProperty, c = RegExp(
2083
+ var a = wu(), s = vf(), n = Ot(), t = Tu(), e = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, r = Function.prototype, o = Object.prototype, u = r.toString, l = o.hasOwnProperty, c = RegExp(
2080
2084
  "^" + u.call(l).replace(e, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2081
2085
  );
2082
2086
  function f(d) {
@@ -2088,7 +2092,7 @@ function vf() {
2088
2092
  return $i = f, $i;
2089
2093
  }
2090
2094
  var Yi, Qa;
2091
- function pf() {
2095
+ function mf() {
2092
2096
  if (Qa) return Yi;
2093
2097
  Qa = 1;
2094
2098
  function a(s, n) {
@@ -2100,7 +2104,7 @@ var Xi, es;
2100
2104
  function tt() {
2101
2105
  if (es) return Xi;
2102
2106
  es = 1;
2103
- var a = vf(), s = pf();
2107
+ var a = pf(), s = mf();
2104
2108
  function n(t, e) {
2105
2109
  var i = s(t, e);
2106
2110
  return a(i) ? i : void 0;
@@ -2122,7 +2126,7 @@ function vi() {
2122
2126
  return Ji = s, Ji;
2123
2127
  }
2124
2128
  var Qi, ns;
2125
- function mf() {
2129
+ function yf() {
2126
2130
  if (ns) return Qi;
2127
2131
  ns = 1;
2128
2132
  var a = vi();
@@ -2132,7 +2136,7 @@ function mf() {
2132
2136
  return Qi = s, Qi;
2133
2137
  }
2134
2138
  var en, rs;
2135
- function yf() {
2139
+ function _f() {
2136
2140
  if (rs) return en;
2137
2141
  rs = 1;
2138
2142
  function a(s) {
@@ -2142,7 +2146,7 @@ function yf() {
2142
2146
  return en = a, en;
2143
2147
  }
2144
2148
  var tn, as;
2145
- function _f() {
2149
+ function bf() {
2146
2150
  if (as) return tn;
2147
2151
  as = 1;
2148
2152
  var a = vi(), s = "__lodash_hash_undefined__", n = Object.prototype, t = n.hasOwnProperty;
@@ -2157,7 +2161,7 @@ function _f() {
2157
2161
  return tn = e, tn;
2158
2162
  }
2159
2163
  var nn, ss;
2160
- function bf() {
2164
+ function Cf() {
2161
2165
  if (ss) return nn;
2162
2166
  ss = 1;
2163
2167
  var a = vi(), s = Object.prototype, n = s.hasOwnProperty;
@@ -2168,7 +2172,7 @@ function bf() {
2168
2172
  return nn = t, nn;
2169
2173
  }
2170
2174
  var rn, os;
2171
- function Cf() {
2175
+ function kf() {
2172
2176
  if (os) return rn;
2173
2177
  os = 1;
2174
2178
  var a = vi(), s = "__lodash_hash_undefined__";
@@ -2179,10 +2183,10 @@ function Cf() {
2179
2183
  return rn = n, rn;
2180
2184
  }
2181
2185
  var an, us;
2182
- function kf() {
2186
+ function wf() {
2183
2187
  if (us) return an;
2184
2188
  us = 1;
2185
- var a = mf(), s = yf(), n = _f(), t = bf(), e = Cf();
2189
+ var a = yf(), s = _f(), n = bf(), t = Cf(), e = kf();
2186
2190
  function i(r) {
2187
2191
  var o = -1, u = r == null ? 0 : r.length;
2188
2192
  for (this.clear(); ++o < u; ) {
@@ -2193,10 +2197,10 @@ function kf() {
2193
2197
  return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = n, i.prototype.has = t, i.prototype.set = e, an = i, an;
2194
2198
  }
2195
2199
  var sn, ls;
2196
- function wf() {
2200
+ function Tf() {
2197
2201
  if (ls) return sn;
2198
2202
  ls = 1;
2199
- var a = kf(), s = di(), n = Zr();
2203
+ var a = wf(), s = di(), n = Zr();
2200
2204
  function t() {
2201
2205
  this.size = 0, this.__data__ = {
2202
2206
  hash: new a(),
@@ -2207,7 +2211,7 @@ function wf() {
2207
2211
  return sn = t, sn;
2208
2212
  }
2209
2213
  var on, cs;
2210
- function Tf() {
2214
+ function Sf() {
2211
2215
  if (cs) return on;
2212
2216
  cs = 1;
2213
2217
  function a(s) {
@@ -2220,7 +2224,7 @@ var un, fs;
2220
2224
  function pi() {
2221
2225
  if (fs) return un;
2222
2226
  fs = 1;
2223
- var a = Tf();
2227
+ var a = Sf();
2224
2228
  function s(n, t) {
2225
2229
  var e = n.__data__;
2226
2230
  return a(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
@@ -2228,7 +2232,7 @@ function pi() {
2228
2232
  return un = s, un;
2229
2233
  }
2230
2234
  var ln, hs;
2231
- function Sf() {
2235
+ function Ef() {
2232
2236
  if (hs) return ln;
2233
2237
  hs = 1;
2234
2238
  var a = pi();
@@ -2239,7 +2243,7 @@ function Sf() {
2239
2243
  return ln = s, ln;
2240
2244
  }
2241
2245
  var cn, ds;
2242
- function Ef() {
2246
+ function xf() {
2243
2247
  if (ds) return cn;
2244
2248
  ds = 1;
2245
2249
  var a = pi();
@@ -2249,7 +2253,7 @@ function Ef() {
2249
2253
  return cn = s, cn;
2250
2254
  }
2251
2255
  var fn, gs;
2252
- function xf() {
2256
+ function If() {
2253
2257
  if (gs) return fn;
2254
2258
  gs = 1;
2255
2259
  var a = pi();
@@ -2259,7 +2263,7 @@ function xf() {
2259
2263
  return fn = s, fn;
2260
2264
  }
2261
2265
  var hn, vs;
2262
- function If() {
2266
+ function Pf() {
2263
2267
  if (vs) return hn;
2264
2268
  vs = 1;
2265
2269
  var a = pi();
@@ -2270,10 +2274,10 @@ function If() {
2270
2274
  return hn = s, hn;
2271
2275
  }
2272
2276
  var dn, ps;
2273
- function Pf() {
2277
+ function Af() {
2274
2278
  if (ps) return dn;
2275
2279
  ps = 1;
2276
- var a = wf(), s = Sf(), n = Ef(), t = xf(), e = If();
2280
+ var a = Tf(), s = Ef(), n = xf(), t = If(), e = Pf();
2277
2281
  function i(r) {
2278
2282
  var o = -1, u = r == null ? 0 : r.length;
2279
2283
  for (this.clear(); ++o < u; ) {
@@ -2284,10 +2288,10 @@ function Pf() {
2284
2288
  return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = n, i.prototype.has = t, i.prototype.set = e, dn = i, dn;
2285
2289
  }
2286
2290
  var gn, ms;
2287
- function Af() {
2291
+ function Lf() {
2288
2292
  if (ms) return gn;
2289
2293
  ms = 1;
2290
- var a = di(), s = Zr(), n = Pf(), t = 200;
2294
+ var a = di(), s = Zr(), n = Af(), t = 200;
2291
2295
  function e(i, r) {
2292
2296
  var o = this.__data__;
2293
2297
  if (o instanceof a) {
@@ -2301,10 +2305,10 @@ function Af() {
2301
2305
  return gn = e, gn;
2302
2306
  }
2303
2307
  var vn, ys;
2304
- function Lf() {
2308
+ function Df() {
2305
2309
  if (ys) return vn;
2306
2310
  ys = 1;
2307
- var a = di(), s = of(), n = uf(), t = lf(), e = cf(), i = Af();
2311
+ var a = di(), s = uf(), n = lf(), t = cf(), e = ff(), i = Lf();
2308
2312
  function r(o) {
2309
2313
  var u = this.__data__ = new a(o);
2310
2314
  this.size = u.size;
@@ -2312,7 +2316,7 @@ function Lf() {
2312
2316
  return r.prototype.clear = s, r.prototype.delete = n, r.prototype.get = t, r.prototype.has = e, r.prototype.set = i, vn = r, vn;
2313
2317
  }
2314
2318
  var pn, _s;
2315
- function Df() {
2319
+ function Rf() {
2316
2320
  if (_s) return pn;
2317
2321
  _s = 1;
2318
2322
  function a(s, n) {
@@ -2323,7 +2327,7 @@ function Df() {
2323
2327
  return pn = a, pn;
2324
2328
  }
2325
2329
  var mn, bs;
2326
- function Rf() {
2330
+ function Of() {
2327
2331
  if (bs) return mn;
2328
2332
  bs = 1;
2329
2333
  var a = tt(), s = (function() {
@@ -2339,7 +2343,7 @@ var yn, Cs;
2339
2343
  function Su() {
2340
2344
  if (Cs) return yn;
2341
2345
  Cs = 1;
2342
- var a = Rf();
2346
+ var a = Of();
2343
2347
  function s(n, t, e) {
2344
2348
  t == "__proto__" && a ? a(n, t, {
2345
2349
  configurable: !0,
@@ -2378,7 +2382,7 @@ function mi() {
2378
2382
  return bn = n, bn;
2379
2383
  }
2380
2384
  var Cn, Ts;
2381
- function Of() {
2385
+ function Mf() {
2382
2386
  if (Ts) return Cn;
2383
2387
  Ts = 1;
2384
2388
  function a(s, n) {
@@ -2398,7 +2402,7 @@ function Mt() {
2398
2402
  return kn = a, kn;
2399
2403
  }
2400
2404
  var wn, Es;
2401
- function Mf() {
2405
+ function Ff() {
2402
2406
  if (Es) return wn;
2403
2407
  Es = 1;
2404
2408
  var a = gi(), s = Mt(), n = "[object Arguments]";
@@ -2408,10 +2412,10 @@ function Mf() {
2408
2412
  return wn = t, wn;
2409
2413
  }
2410
2414
  var Tn, xs;
2411
- function Ff() {
2415
+ function Nf() {
2412
2416
  if (xs) return Tn;
2413
2417
  xs = 1;
2414
- var a = Mf(), s = Mt(), n = Object.prototype, t = n.hasOwnProperty, e = n.propertyIsEnumerable, i = a(/* @__PURE__ */ (function() {
2418
+ var a = Ff(), s = Mt(), n = Object.prototype, t = n.hasOwnProperty, e = n.propertyIsEnumerable, i = a(/* @__PURE__ */ (function() {
2415
2419
  return arguments;
2416
2420
  })()) ? a : function(r) {
2417
2421
  return s(r) && t.call(r, "callee") && !e.call(r, "callee");
@@ -2426,7 +2430,7 @@ function Jr() {
2426
2430
  return Sn = a, Sn;
2427
2431
  }
2428
2432
  var wt = { exports: {} }, En, Ps;
2429
- function Nf() {
2433
+ function Bf() {
2430
2434
  if (Ps) return En;
2431
2435
  Ps = 1;
2432
2436
  function a() {
@@ -2438,12 +2442,12 @@ wt.exports;
2438
2442
  var As;
2439
2443
  function xu() {
2440
2444
  return As || (As = 1, (function(a, s) {
2441
- var n = Le(), t = Nf(), e = s && !s.nodeType && s, i = e && !0 && a && !a.nodeType && a, r = i && i.exports === e, o = r ? n.Buffer : void 0, u = o ? o.isBuffer : void 0, l = u || t;
2445
+ var n = Le(), t = Bf(), e = s && !s.nodeType && s, i = e && !0 && a && !a.nodeType && a, r = i && i.exports === e, o = r ? n.Buffer : void 0, u = o ? o.isBuffer : void 0, l = u || t;
2442
2446
  a.exports = l;
2443
2447
  })(wt, wt.exports)), wt.exports;
2444
2448
  }
2445
2449
  var xn, Ls;
2446
- function Bf() {
2450
+ function Hf() {
2447
2451
  if (Ls) return xn;
2448
2452
  Ls = 1;
2449
2453
  var a = 9007199254740991, s = /^(?:0|[1-9]\d*)$/;
@@ -2464,7 +2468,7 @@ function Iu() {
2464
2468
  return In = s, In;
2465
2469
  }
2466
2470
  var Pn, Rs;
2467
- function Hf() {
2471
+ function Uf() {
2468
2472
  if (Rs) return Pn;
2469
2473
  Rs = 1;
2470
2474
  var a = gi(), s = Iu(), n = Mt(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", r = "[object Date]", o = "[object Error]", u = "[object Function]", l = "[object Map]", c = "[object Number]", f = "[object Object]", d = "[object RegExp]", g = "[object Set]", v = "[object String]", m = "[object WeakMap]", p = "[object ArrayBuffer]", C = "[object DataView]", b = "[object Float32Array]", k = "[object Float64Array]", x = "[object Int8Array]", T = "[object Int16Array]", D = "[object Int32Array]", R = "[object Uint8Array]", K = "[object Uint8ClampedArray]", z = "[object Uint16Array]", B = "[object Uint32Array]", O = {};
@@ -2501,17 +2505,17 @@ function ea() {
2501
2505
  })(Tt, Tt.exports)), Tt.exports;
2502
2506
  }
2503
2507
  var Ln, Fs;
2504
- function Uf() {
2508
+ function jf() {
2505
2509
  if (Fs) return Ln;
2506
2510
  Fs = 1;
2507
- var a = Hf(), s = Qr(), n = ea(), t = n && n.isTypedArray, e = t ? s(t) : a;
2511
+ var a = Uf(), s = Qr(), n = ea(), t = n && n.isTypedArray, e = t ? s(t) : a;
2508
2512
  return Ln = e, Ln;
2509
2513
  }
2510
2514
  var Dn, Ns;
2511
2515
  function Pu() {
2512
2516
  if (Ns) return Dn;
2513
2517
  Ns = 1;
2514
- var a = Of(), s = Ff(), n = Jr(), t = xu(), e = Bf(), i = Uf(), r = Object.prototype, o = r.hasOwnProperty;
2518
+ var a = Mf(), s = Nf(), n = Jr(), t = xu(), e = Hf(), i = jf(), r = Object.prototype, o = r.hasOwnProperty;
2515
2519
  function u(l, c) {
2516
2520
  var f = n(l), d = !f && s(l), g = !f && !d && t(l), v = !f && !d && !g && i(l), m = f || d || g || v, p = m ? a(l.length, String) : [], C = p.length;
2517
2521
  for (var b in l)
@@ -2547,17 +2551,17 @@ function Au() {
2547
2551
  return On = a, On;
2548
2552
  }
2549
2553
  var Mn, Us;
2550
- function jf() {
2554
+ function zf() {
2551
2555
  if (Us) return Mn;
2552
2556
  Us = 1;
2553
2557
  var a = Au(), s = a(Object.keys, Object);
2554
2558
  return Mn = s, Mn;
2555
2559
  }
2556
2560
  var Fn, js;
2557
- function zf() {
2561
+ function Vf() {
2558
2562
  if (js) return Fn;
2559
2563
  js = 1;
2560
- var a = ta(), s = jf(), n = Object.prototype, t = n.hasOwnProperty;
2564
+ var a = ta(), s = zf(), n = Object.prototype, t = n.hasOwnProperty;
2561
2565
  function e(i) {
2562
2566
  if (!a(i))
2563
2567
  return s(i);
@@ -2582,14 +2586,14 @@ var Bn, Vs;
2582
2586
  function ia() {
2583
2587
  if (Vs) return Bn;
2584
2588
  Vs = 1;
2585
- var a = Pu(), s = zf(), n = Lu();
2589
+ var a = Pu(), s = Vf(), n = Lu();
2586
2590
  function t(e) {
2587
2591
  return n(e) ? a(e) : s(e);
2588
2592
  }
2589
2593
  return Bn = t, Bn;
2590
2594
  }
2591
2595
  var Hn, qs;
2592
- function Vf() {
2596
+ function qf() {
2593
2597
  if (qs) return Hn;
2594
2598
  qs = 1;
2595
2599
  var a = mi(), s = ia();
@@ -2599,7 +2603,7 @@ function Vf() {
2599
2603
  return Hn = n, Hn;
2600
2604
  }
2601
2605
  var Un, Gs;
2602
- function qf() {
2606
+ function Gf() {
2603
2607
  if (Gs) return Un;
2604
2608
  Gs = 1;
2605
2609
  function a(s) {
@@ -2612,10 +2616,10 @@ function qf() {
2612
2616
  return Un = a, Un;
2613
2617
  }
2614
2618
  var jn, Ws;
2615
- function Gf() {
2619
+ function Wf() {
2616
2620
  if (Ws) return jn;
2617
2621
  Ws = 1;
2618
- var a = Ot(), s = ta(), n = qf(), t = Object.prototype, e = t.hasOwnProperty;
2622
+ var a = Ot(), s = ta(), n = Gf(), t = Object.prototype, e = t.hasOwnProperty;
2619
2623
  function i(r) {
2620
2624
  if (!a(r))
2621
2625
  return n(r);
@@ -2630,14 +2634,14 @@ var zn, Ks;
2630
2634
  function na() {
2631
2635
  if (Ks) return zn;
2632
2636
  Ks = 1;
2633
- var a = Pu(), s = Gf(), n = Lu();
2637
+ var a = Pu(), s = Wf(), n = Lu();
2634
2638
  function t(e) {
2635
2639
  return n(e) ? a(e, !0) : s(e);
2636
2640
  }
2637
2641
  return zn = t, zn;
2638
2642
  }
2639
2643
  var Vn, $s;
2640
- function Wf() {
2644
+ function Kf() {
2641
2645
  if ($s) return Vn;
2642
2646
  $s = 1;
2643
2647
  var a = mi(), s = na();
@@ -2649,7 +2653,7 @@ function Wf() {
2649
2653
  var St = { exports: {} };
2650
2654
  St.exports;
2651
2655
  var Ys;
2652
- function Kf() {
2656
+ function $f() {
2653
2657
  return Ys || (Ys = 1, (function(a, s) {
2654
2658
  var n = Le(), t = s && !s.nodeType && s, e = t && !0 && a && !a.nodeType && a, i = e && e.exports === t, r = i ? n.Buffer : void 0, o = r ? r.allocUnsafe : void 0;
2655
2659
  function u(l, c) {
@@ -2662,7 +2666,7 @@ function Kf() {
2662
2666
  })(St, St.exports)), St.exports;
2663
2667
  }
2664
2668
  var qn, Xs;
2665
- function $f() {
2669
+ function Yf() {
2666
2670
  if (Xs) return qn;
2667
2671
  Xs = 1;
2668
2672
  function a(s, n) {
@@ -2674,7 +2678,7 @@ function $f() {
2674
2678
  return qn = a, qn;
2675
2679
  }
2676
2680
  var Gn, Zs;
2677
- function Yf() {
2681
+ function Xf() {
2678
2682
  if (Zs) return Gn;
2679
2683
  Zs = 1;
2680
2684
  function a(s, n) {
@@ -2699,7 +2703,7 @@ var Kn, Qs;
2699
2703
  function ra() {
2700
2704
  if (Qs) return Kn;
2701
2705
  Qs = 1;
2702
- var a = Yf(), s = Du(), n = Object.prototype, t = n.propertyIsEnumerable, e = Object.getOwnPropertySymbols, i = e ? function(r) {
2706
+ var a = Xf(), s = Du(), n = Object.prototype, t = n.propertyIsEnumerable, e = Object.getOwnPropertySymbols, i = e ? function(r) {
2703
2707
  return r == null ? [] : (r = Object(r), a(e(r), function(o) {
2704
2708
  return t.call(r, o);
2705
2709
  }));
@@ -2707,7 +2711,7 @@ function ra() {
2707
2711
  return Kn = i, Kn;
2708
2712
  }
2709
2713
  var $n, eo;
2710
- function Xf() {
2714
+ function Zf() {
2711
2715
  if (eo) return $n;
2712
2716
  eo = 1;
2713
2717
  var a = mi(), s = ra();
@@ -2746,7 +2750,7 @@ function Mu() {
2746
2750
  return Zn = i, Zn;
2747
2751
  }
2748
2752
  var Jn, ro;
2749
- function Zf() {
2753
+ function Jf() {
2750
2754
  if (ro) return Jn;
2751
2755
  ro = 1;
2752
2756
  var a = mi(), s = Mu();
@@ -2767,7 +2771,7 @@ function Fu() {
2767
2771
  return Qn = n, Qn;
2768
2772
  }
2769
2773
  var er, so;
2770
- function Jf() {
2774
+ function Qf() {
2771
2775
  if (so) return er;
2772
2776
  so = 1;
2773
2777
  var a = Fu(), s = ra(), n = ia();
@@ -2777,7 +2781,7 @@ function Jf() {
2777
2781
  return er = t, er;
2778
2782
  }
2779
2783
  var tr, oo;
2780
- function Qf() {
2784
+ function eh() {
2781
2785
  if (oo) return tr;
2782
2786
  oo = 1;
2783
2787
  var a = Fu(), s = Mu(), n = na();
@@ -2787,28 +2791,28 @@ function Qf() {
2787
2791
  return tr = t, tr;
2788
2792
  }
2789
2793
  var ir, uo;
2790
- function eh() {
2794
+ function th() {
2791
2795
  if (uo) return ir;
2792
2796
  uo = 1;
2793
2797
  var a = tt(), s = Le(), n = a(s, "DataView");
2794
2798
  return ir = n, ir;
2795
2799
  }
2796
2800
  var nr, lo;
2797
- function th() {
2801
+ function ih() {
2798
2802
  if (lo) return nr;
2799
2803
  lo = 1;
2800
2804
  var a = tt(), s = Le(), n = a(s, "Promise");
2801
2805
  return nr = n, nr;
2802
2806
  }
2803
2807
  var rr, co;
2804
- function ih() {
2808
+ function nh() {
2805
2809
  if (co) return rr;
2806
2810
  co = 1;
2807
2811
  var a = tt(), s = Le(), n = a(s, "Set");
2808
2812
  return rr = n, rr;
2809
2813
  }
2810
2814
  var ar, fo;
2811
- function nh() {
2815
+ function rh() {
2812
2816
  if (fo) return ar;
2813
2817
  fo = 1;
2814
2818
  var a = tt(), s = Le(), n = a(s, "WeakMap");
@@ -2818,7 +2822,7 @@ var sr, ho;
2818
2822
  function aa() {
2819
2823
  if (ho) return sr;
2820
2824
  ho = 1;
2821
- var a = eh(), s = Zr(), n = th(), t = ih(), e = nh(), i = gi(), r = Tu(), o = "[object Map]", u = "[object Object]", l = "[object Promise]", c = "[object Set]", f = "[object WeakMap]", d = "[object DataView]", g = r(a), v = r(s), m = r(n), p = r(t), C = r(e), b = i;
2825
+ var a = th(), s = Zr(), n = ih(), t = nh(), e = rh(), i = gi(), r = Tu(), o = "[object Map]", u = "[object Object]", l = "[object Promise]", c = "[object Set]", f = "[object WeakMap]", d = "[object DataView]", g = r(a), v = r(s), m = r(n), p = r(t), C = r(e), b = i;
2822
2826
  return (a && b(new a(new ArrayBuffer(1))) != d || s && b(new s()) != o || n && b(n.resolve()) != l || t && b(new t()) != c || e && b(new e()) != f) && (b = function(k) {
2823
2827
  var x = i(k), T = x == u ? k.constructor : void 0, D = T ? r(T) : "";
2824
2828
  if (D)
@@ -2838,7 +2842,7 @@ function aa() {
2838
2842
  }), sr = b, sr;
2839
2843
  }
2840
2844
  var or, go;
2841
- function rh() {
2845
+ function ah() {
2842
2846
  if (go) return or;
2843
2847
  go = 1;
2844
2848
  var a = Object.prototype, s = a.hasOwnProperty;
@@ -2849,7 +2853,7 @@ function rh() {
2849
2853
  return or = n, or;
2850
2854
  }
2851
2855
  var ur, vo;
2852
- function ah() {
2856
+ function sh() {
2853
2857
  if (vo) return ur;
2854
2858
  vo = 1;
2855
2859
  var a = Le(), s = a.Uint8Array;
@@ -2859,7 +2863,7 @@ var lr, po;
2859
2863
  function sa() {
2860
2864
  if (po) return lr;
2861
2865
  po = 1;
2862
- var a = ah();
2866
+ var a = sh();
2863
2867
  function s(n) {
2864
2868
  var t = new n.constructor(n.byteLength);
2865
2869
  return new a(t).set(new a(n)), t;
@@ -2867,7 +2871,7 @@ function sa() {
2867
2871
  return lr = s, lr;
2868
2872
  }
2869
2873
  var cr, mo;
2870
- function sh() {
2874
+ function oh() {
2871
2875
  if (mo) return cr;
2872
2876
  mo = 1;
2873
2877
  var a = sa();
@@ -2878,7 +2882,7 @@ function sh() {
2878
2882
  return cr = s, cr;
2879
2883
  }
2880
2884
  var fr, yo;
2881
- function oh() {
2885
+ function uh() {
2882
2886
  if (yo) return fr;
2883
2887
  yo = 1;
2884
2888
  var a = /\w*$/;
@@ -2889,7 +2893,7 @@ function oh() {
2889
2893
  return fr = s, fr;
2890
2894
  }
2891
2895
  var hr, _o;
2892
- function uh() {
2896
+ function lh() {
2893
2897
  if (_o) return hr;
2894
2898
  _o = 1;
2895
2899
  var a = Xr(), s = a ? a.prototype : void 0, n = s ? s.valueOf : void 0;
@@ -2899,7 +2903,7 @@ function uh() {
2899
2903
  return hr = t, hr;
2900
2904
  }
2901
2905
  var dr, bo;
2902
- function lh() {
2906
+ function ch() {
2903
2907
  if (bo) return dr;
2904
2908
  bo = 1;
2905
2909
  var a = sa();
@@ -2910,10 +2914,10 @@ function lh() {
2910
2914
  return dr = s, dr;
2911
2915
  }
2912
2916
  var gr, Co;
2913
- function ch() {
2917
+ function fh() {
2914
2918
  if (Co) return gr;
2915
2919
  Co = 1;
2916
- var a = sa(), s = sh(), n = oh(), t = uh(), e = lh(), i = "[object Boolean]", r = "[object Date]", o = "[object Map]", u = "[object Number]", l = "[object RegExp]", c = "[object Set]", f = "[object String]", d = "[object Symbol]", g = "[object ArrayBuffer]", v = "[object DataView]", m = "[object Float32Array]", p = "[object Float64Array]", C = "[object Int8Array]", b = "[object Int16Array]", k = "[object Int32Array]", x = "[object Uint8Array]", T = "[object Uint8ClampedArray]", D = "[object Uint16Array]", R = "[object Uint32Array]";
2920
+ var a = sa(), s = oh(), n = uh(), t = lh(), e = ch(), i = "[object Boolean]", r = "[object Date]", o = "[object Map]", u = "[object Number]", l = "[object RegExp]", c = "[object Set]", f = "[object String]", d = "[object Symbol]", g = "[object ArrayBuffer]", v = "[object DataView]", m = "[object Float32Array]", p = "[object Float64Array]", C = "[object Int8Array]", b = "[object Int16Array]", k = "[object Int32Array]", x = "[object Uint8Array]", T = "[object Uint8ClampedArray]", D = "[object Uint16Array]", R = "[object Uint32Array]";
2917
2921
  function K(z, B, O) {
2918
2922
  var ne = z.constructor;
2919
2923
  switch (B) {
@@ -2950,7 +2954,7 @@ function ch() {
2950
2954
  return gr = K, gr;
2951
2955
  }
2952
2956
  var vr, ko;
2953
- function fh() {
2957
+ function hh() {
2954
2958
  if (ko) return vr;
2955
2959
  ko = 1;
2956
2960
  var a = Ot(), s = Object.create, n = /* @__PURE__ */ (function() {
@@ -2969,17 +2973,17 @@ function fh() {
2969
2973
  return vr = n, vr;
2970
2974
  }
2971
2975
  var pr, wo;
2972
- function hh() {
2976
+ function dh() {
2973
2977
  if (wo) return pr;
2974
2978
  wo = 1;
2975
- var a = fh(), s = Ou(), n = ta();
2979
+ var a = hh(), s = Ou(), n = ta();
2976
2980
  function t(e) {
2977
2981
  return typeof e.constructor == "function" && !n(e) ? a(s(e)) : {};
2978
2982
  }
2979
2983
  return pr = t, pr;
2980
2984
  }
2981
2985
  var mr, To;
2982
- function dh() {
2986
+ function gh() {
2983
2987
  if (To) return mr;
2984
2988
  To = 1;
2985
2989
  var a = aa(), s = Mt(), n = "[object Map]";
@@ -2989,14 +2993,14 @@ function dh() {
2989
2993
  return mr = t, mr;
2990
2994
  }
2991
2995
  var yr, So;
2992
- function gh() {
2996
+ function vh() {
2993
2997
  if (So) return yr;
2994
2998
  So = 1;
2995
- var a = dh(), s = Qr(), n = ea(), t = n && n.isMap, e = t ? s(t) : a;
2999
+ var a = gh(), s = Qr(), n = ea(), t = n && n.isMap, e = t ? s(t) : a;
2996
3000
  return yr = e, yr;
2997
3001
  }
2998
3002
  var _r, Eo;
2999
- function vh() {
3003
+ function ph() {
3000
3004
  if (Eo) return _r;
3001
3005
  Eo = 1;
3002
3006
  var a = aa(), s = Mt(), n = "[object Set]";
@@ -3006,17 +3010,17 @@ function vh() {
3006
3010
  return _r = t, _r;
3007
3011
  }
3008
3012
  var br, xo;
3009
- function ph() {
3013
+ function mh() {
3010
3014
  if (xo) return br;
3011
3015
  xo = 1;
3012
- var a = vh(), s = Qr(), n = ea(), t = n && n.isSet, e = t ? s(t) : a;
3016
+ var a = ph(), s = Qr(), n = ea(), t = n && n.isSet, e = t ? s(t) : a;
3013
3017
  return br = e, br;
3014
3018
  }
3015
3019
  var Cr, Io;
3016
- function mh() {
3020
+ function yh() {
3017
3021
  if (Io) return Cr;
3018
3022
  Io = 1;
3019
- var a = Lf(), s = Df(), n = Eu(), t = Vf(), e = Wf(), i = Kf(), r = $f(), o = Xf(), u = Zf(), l = Jf(), c = Qf(), f = aa(), d = rh(), g = ch(), v = hh(), m = Jr(), p = xu(), C = gh(), b = Ot(), k = ph(), x = ia(), T = na(), D = 1, R = 2, K = 4, z = "[object Arguments]", B = "[object Array]", O = "[object Boolean]", ne = "[object Date]", se = "[object Error]", be = "[object Function]", Bt = "[object GeneratorFunction]", Ht = "[object Map]", yt = "[object Number]", _t = "[object Object]", Ut = "[object RegExp]", De = "[object Set]", H = "[object String]", G = "[object Symbol]", te = "[object WeakMap]", ge = "[object ArrayBuffer]", Ce = "[object DataView]", ke = "[object Float32Array]", xe = "[object Float64Array]", Ye = "[object Int8Array]", jt = "[object Int16Array]", zt = "[object Int32Array]", bt = "[object Uint8Array]", _l = "[object Uint8ClampedArray]", bl = "[object Uint16Array]", Cl = "[object Uint32Array]", X = {};
3023
+ var a = Df(), s = Rf(), n = Eu(), t = qf(), e = Kf(), i = $f(), r = Yf(), o = Zf(), u = Jf(), l = Qf(), c = eh(), f = aa(), d = ah(), g = fh(), v = dh(), m = Jr(), p = xu(), C = vh(), b = Ot(), k = mh(), x = ia(), T = na(), D = 1, R = 2, K = 4, z = "[object Arguments]", B = "[object Array]", O = "[object Boolean]", ne = "[object Date]", se = "[object Error]", be = "[object Function]", Bt = "[object GeneratorFunction]", Ht = "[object Map]", yt = "[object Number]", _t = "[object Object]", Ut = "[object RegExp]", De = "[object Set]", H = "[object String]", G = "[object Symbol]", te = "[object WeakMap]", ge = "[object ArrayBuffer]", Ce = "[object DataView]", ke = "[object Float32Array]", xe = "[object Float64Array]", Ye = "[object Int8Array]", jt = "[object Int16Array]", zt = "[object Int32Array]", bt = "[object Uint8Array]", _l = "[object Uint8ClampedArray]", bl = "[object Uint16Array]", Cl = "[object Uint32Array]", X = {};
3020
3024
  X[z] = X[B] = X[ge] = X[Ce] = X[O] = X[ne] = X[ke] = X[xe] = X[Ye] = X[jt] = X[zt] = X[Ht] = X[yt] = X[_t] = X[Ut] = X[De] = X[H] = X[G] = X[bt] = X[_l] = X[bl] = X[Cl] = !0, X[se] = X[be] = X[te] = !1;
3021
3025
  function Vt($, at, st, kl, qt, He) {
3022
3026
  var he, Gt = at & D, Wt = at & R, wl = at & K;
@@ -3058,16 +3062,16 @@ function mh() {
3058
3062
  return Cr = Vt, Cr;
3059
3063
  }
3060
3064
  var kr, Po;
3061
- function yh() {
3065
+ function _h() {
3062
3066
  if (Po) return kr;
3063
3067
  Po = 1;
3064
- var a = mh(), s = 1, n = 4;
3068
+ var a = yh(), s = 1, n = 4;
3065
3069
  function t(e) {
3066
3070
  return a(e, s | n);
3067
3071
  }
3068
3072
  return kr = t, kr;
3069
3073
  }
3070
- var _h = yh(), bh = /* @__PURE__ */ ef(_h), oa = ae({
3074
+ var bh = _h(), Ch = /* @__PURE__ */ tf(bh), oa = ae({
3071
3075
  name: "DocumentEditor",
3072
3076
  props: {
3073
3077
  id: {
@@ -3127,7 +3131,7 @@ var _h = yh(), bh = /* @__PURE__ */ ef(_h), oa = ae({
3127
3131
  var a = this, s, n = this.documentServerUrl;
3128
3132
  n.endsWith("/") || (n += "/");
3129
3133
  var t = "".concat(n, "web-apps/apps/api/documents/api.js");
3130
- 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() {
3134
+ 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)), ef(t, "onlyoffice-api-script").then(function() {
3131
3135
  return a.onLoad();
3132
3136
  }).catch(function() {
3133
3137
  a.onError(-2);
@@ -3176,7 +3180,7 @@ var _h = yh(), bh = /* @__PURE__ */ ef(_h), oa = ae({
3176
3180
  return;
3177
3181
  }
3178
3182
  !((s = window == null ? void 0 : window.DocEditor) === null || s === void 0) && s.instances || (window.DocEditor = { instances: {} });
3179
- var t = bh(this.config), e = {
3183
+ var t = Ch(this.config), e = {
3180
3184
  documentType: this.documentType,
3181
3185
  events: {
3182
3186
  onAppReady: this.onAppReady,
@@ -3245,13 +3249,13 @@ var _h = yh(), bh = /* @__PURE__ */ ef(_h), oa = ae({
3245
3249
  }
3246
3250
  }
3247
3251
  });
3248
- const Ch = ["id"];
3249
- function kh(a, s, n, t, e, i) {
3250
- return E(), L("div", { id: a.id }, null, 8, Ch);
3252
+ const kh = ["id"];
3253
+ function wh(a, s, n, t, e, i) {
3254
+ return E(), L("div", { id: a.id }, null, 8, kh);
3251
3255
  }
3252
- oa.render = kh;
3256
+ oa.render = wh;
3253
3257
  oa.__file = "src/components/DocumentEditor.vue";
3254
- const wh = /* @__PURE__ */ ae({
3258
+ const Th = /* @__PURE__ */ ae({
3255
3259
  __name: "IkOnlyOffice",
3256
3260
  props: {
3257
3261
  // 文件服务器的服务的地址
@@ -3298,39 +3302,39 @@ const wh = /* @__PURE__ */ ae({
3298
3302
  /* STYLE */
3299
3303
  ));
3300
3304
  }
3301
- }), Th = Ne(wh);
3305
+ }), Sh = Ne(Th);
3302
3306
  var Ao;
3303
- const Nu = typeof window < "u", Sh = (a) => typeof a == "string", Eh = () => {
3307
+ const Nu = typeof window < "u", Eh = (a) => typeof a == "string", xh = () => {
3304
3308
  };
3305
3309
  Nu && ((Ao = window == null ? void 0 : window.navigator) != null && Ao.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
3306
3310
  function Bu(a) {
3307
3311
  return typeof a == "function" ? a() : I(a);
3308
3312
  }
3309
- function xh(a) {
3313
+ function Ih(a) {
3310
3314
  return a;
3311
3315
  }
3312
- function Ih(a) {
3316
+ function Ph(a) {
3313
3317
  return Il() ? (Pl(a), !0) : !1;
3314
3318
  }
3315
- function Ph(a) {
3319
+ function Ah(a) {
3316
3320
  var s;
3317
3321
  const n = Bu(a);
3318
3322
  return (s = n == null ? void 0 : n.$el) != null ? s : n;
3319
3323
  }
3320
- const Ah = Nu ? window : void 0;
3324
+ const Lh = Nu ? window : void 0;
3321
3325
  function $t(...a) {
3322
3326
  let s, n, t, e;
3323
- if (Sh(a[0]) || Array.isArray(a[0]) ? ([n, t, e] = a, s = Ah) : [s, n, t, e] = a, !s)
3324
- return Eh;
3327
+ if (Eh(a[0]) || Array.isArray(a[0]) ? ([n, t, e] = a, s = Lh) : [s, n, t, e] = a, !s)
3328
+ return xh;
3325
3329
  Array.isArray(n) || (n = [n]), Array.isArray(t) || (t = [t]);
3326
3330
  const i = [], r = () => {
3327
3331
  i.forEach((c) => c()), i.length = 0;
3328
- }, o = (c, f, d, g) => (c.addEventListener(f, d, g), () => c.removeEventListener(f, d, g)), u = At(() => [Ph(s), Bu(e)], ([c, f]) => {
3332
+ }, o = (c, f, d, g) => (c.addEventListener(f, d, g), () => c.removeEventListener(f, d, g)), u = At(() => [Ah(s), Bu(e)], ([c, f]) => {
3329
3333
  r(), c && i.push(...n.flatMap((d) => t.map((g) => o(c, d, g, f))));
3330
3334
  }, { immediate: !0, flush: "post" }), l = () => {
3331
3335
  u(), r();
3332
3336
  };
3333
- return Ih(l), l;
3337
+ return Ph(l), l;
3334
3338
  }
3335
3339
  const Lo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Do = "__vueuse_ssr_handlers__";
3336
3340
  Lo[Do] = Lo[Do] || {};
@@ -3338,15 +3342,15 @@ var Ro;
3338
3342
  (function(a) {
3339
3343
  a.UP = "UP", a.RIGHT = "RIGHT", a.DOWN = "DOWN", a.LEFT = "LEFT", a.NONE = "NONE";
3340
3344
  })(Ro || (Ro = {}));
3341
- var Lh = Object.defineProperty, Oo = Object.getOwnPropertySymbols, Dh = Object.prototype.hasOwnProperty, Rh = Object.prototype.propertyIsEnumerable, Mo = (a, s, n) => s in a ? Lh(a, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : a[s] = n, Oh = (a, s) => {
3345
+ var Dh = Object.defineProperty, Oo = Object.getOwnPropertySymbols, Rh = Object.prototype.hasOwnProperty, Oh = Object.prototype.propertyIsEnumerable, Mo = (a, s, n) => s in a ? Dh(a, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : a[s] = n, Mh = (a, s) => {
3342
3346
  for (var n in s || (s = {}))
3343
- Dh.call(s, n) && Mo(a, n, s[n]);
3347
+ Rh.call(s, n) && Mo(a, n, s[n]);
3344
3348
  if (Oo)
3345
3349
  for (var n of Oo(s))
3346
- Rh.call(s, n) && Mo(a, n, s[n]);
3350
+ Oh.call(s, n) && Mo(a, n, s[n]);
3347
3351
  return a;
3348
3352
  };
3349
- const Mh = {
3353
+ const Fh = {
3350
3354
  easeInSine: [0.12, 0, 0.39, 0],
3351
3355
  easeOutSine: [0.61, 1, 0.88, 1],
3352
3356
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -3372,10 +3376,10 @@ const Mh = {
3372
3376
  easeOutBack: [0.34, 1.56, 0.64, 1],
3373
3377
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
3374
3378
  };
3375
- Oh({
3376
- linear: xh
3377
- }, Mh);
3378
- const Fh = {
3379
+ Mh({
3380
+ linear: Ih
3381
+ }, Fh);
3382
+ const Nh = {
3379
3383
  /**
3380
3384
  * @description preview link list.
3381
3385
  */
@@ -3445,26 +3449,26 @@ const Fh = {
3445
3449
  crossorigin: {
3446
3450
  type: ["anonymous", "use-credentials", ""]
3447
3451
  }
3448
- }, Nh = {
3452
+ }, Bh = {
3449
3453
  close: () => !0,
3450
3454
  switch: (a) => Hr.isNumber(a),
3451
3455
  rotate: (a) => Hr.isNumber(a)
3452
- }, Bh = ["src", "crossorigin"], Hh = /* @__PURE__ */ ae({
3456
+ }, Hh = ["src", "crossorigin"], Uh = /* @__PURE__ */ ae({
3453
3457
  name: "ElImageViewer",
3454
3458
  __name: "IkImageViewer",
3455
- props: Fh,
3456
- emits: Nh,
3459
+ props: Nh,
3460
+ emits: Bh,
3457
3461
  setup(a, { expose: s, emit: n }) {
3458
3462
  const t = (H) => Object.keys(H), e = {
3459
3463
  CONTAIN: {
3460
3464
  name: "contain",
3461
- icon: Ta(lc)
3465
+ icon: Ta(cc)
3462
3466
  },
3463
3467
  ORIGINAL: {
3464
3468
  name: "original",
3465
- icon: Ta(vc)
3469
+ icon: Ta(pc)
3466
3470
  }
3467
- }, i = a, r = n, { t: o } = Nl(), u = mu("image-viewer"), { nextZIndex: l } = Bl(), c = pe(), f = pe([]), d = Al(), g = pe(!0), v = pe(i.initialIndex), m = Ll(e.CONTAIN), p = pe({
3471
+ }, i = a, r = n, { t: o } = Bl(), u = mu("image-viewer"), { nextZIndex: l } = Hl(), c = pe(), f = pe([]), d = Al(), g = pe(!0), v = pe(i.initialIndex), m = Ll(e.CONTAIN), p = pe({
3468
3472
  scale: 1,
3469
3473
  deg: 0,
3470
3474
  offsetX: 0,
@@ -3683,7 +3687,7 @@ const Fh = {
3683
3687
  [
3684
3688
  Y(I(je), null, {
3685
3689
  default: ie(() => [
3686
- Y(I(rc))
3690
+ Y(I(ac))
3687
3691
  ]),
3688
3692
  _: 1
3689
3693
  /* STABLE */
@@ -3701,7 +3705,7 @@ const Fh = {
3701
3705
  [
3702
3706
  Y(I(je), null, {
3703
3707
  default: ie(() => [
3704
- Y(I(sc))
3708
+ Y(I(oc))
3705
3709
  ]),
3706
3710
  _: 1
3707
3711
  /* STABLE */
@@ -3731,7 +3735,7 @@ const Fh = {
3731
3735
  onClick: G[1] || (G[1] = (te) => De("zoomOut"))
3732
3736
  }, {
3733
3737
  default: ie(() => [
3734
- Y(I(_c))
3738
+ Y(I(bc))
3735
3739
  ]),
3736
3740
  _: 1
3737
3741
  /* STABLE */
@@ -3740,7 +3744,7 @@ const Fh = {
3740
3744
  onClick: G[2] || (G[2] = (te) => De("zoomIn"))
3741
3745
  }, {
3742
3746
  default: ie(() => [
3743
- Y(I(mc))
3747
+ Y(I(yc))
3744
3748
  ]),
3745
3749
  _: 1
3746
3750
  /* STABLE */
@@ -3774,7 +3778,7 @@ const Fh = {
3774
3778
  onClick: G[3] || (G[3] = (te) => De("anticlockwise"))
3775
3779
  }, {
3776
3780
  default: ie(() => [
3777
- Y(I(fc))
3781
+ Y(I(hc))
3778
3782
  ]),
3779
3783
  _: 1
3780
3784
  /* STABLE */
@@ -3783,7 +3787,7 @@ const Fh = {
3783
3787
  onClick: G[4] || (G[4] = (te) => De("clockwise"))
3784
3788
  }, {
3785
3789
  default: ie(() => [
3786
- Y(I(dc))
3790
+ Y(I(gc))
3787
3791
  ]),
3788
3792
  _: 1
3789
3793
  /* STABLE */
@@ -3817,7 +3821,7 @@ const Fh = {
3817
3821
  onLoad: ne,
3818
3822
  onError: se,
3819
3823
  onMousedown: be
3820
- }, null, 46, Bh)), [
3824
+ }, null, 46, Hh)), [
3821
3825
  [Ol, ge === v.value]
3822
3826
  ])),
3823
3827
  128
@@ -3838,7 +3842,7 @@ const Fh = {
3838
3842
  })
3839
3843
  ]));
3840
3844
  }
3841
- }), Uh = Ne(Hh);
3845
+ }), jh = Ne(Uh);
3842
3846
  function Fo(a, s) {
3843
3847
  var n = Object.keys(a);
3844
3848
  if (Object.getOwnPropertySymbols) {
@@ -3914,7 +3918,7 @@ function jr(a, s) {
3914
3918
  return t.__proto__ = e, t;
3915
3919
  }, jr(a, s);
3916
3920
  }
3917
- function jh() {
3921
+ function zh() {
3918
3922
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
3919
3923
  return !1;
3920
3924
  if (typeof Proxy == "function")
@@ -3939,7 +3943,7 @@ function ua(a, s) {
3939
3943
  return y(a);
3940
3944
  }
3941
3945
  function F(a) {
3942
- var s = jh();
3946
+ var s = zh();
3943
3947
  return function() {
3944
3948
  var t = N(a), e;
3945
3949
  if (s) {
@@ -3950,14 +3954,14 @@ function F(a) {
3950
3954
  return ua(this, e);
3951
3955
  };
3952
3956
  }
3953
- function zh(a, s) {
3957
+ function Vh(a, s) {
3954
3958
  for (; !Object.prototype.hasOwnProperty.call(a, s) && (a = N(a), a !== null); )
3955
3959
  ;
3956
3960
  return a;
3957
3961
  }
3958
3962
  function U() {
3959
3963
  return typeof Reflect < "u" && Reflect.get ? U = Reflect.get.bind() : U = function(s, n, t) {
3960
- var e = zh(s, n);
3964
+ var e = Vh(s, n);
3961
3965
  if (e) {
3962
3966
  var i = Object.getOwnPropertyDescriptor(e, n);
3963
3967
  return i.get ? i.get.call(arguments.length < 3 ? s : t) : i.value;
@@ -3965,17 +3969,17 @@ function U() {
3965
3969
  }, U.apply(this, arguments);
3966
3970
  }
3967
3971
  function Ee(a) {
3968
- return Vh(a) || qh(a) || Gh(a) || Wh();
3972
+ return qh(a) || Gh(a) || Wh(a) || Kh();
3969
3973
  }
3970
- function Vh(a) {
3974
+ function qh(a) {
3971
3975
  if (Array.isArray(a))
3972
3976
  return zr(a);
3973
3977
  }
3974
- function qh(a) {
3978
+ function Gh(a) {
3975
3979
  if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
3976
3980
  return Array.from(a);
3977
3981
  }
3978
- function Gh(a, s) {
3982
+ function Wh(a, s) {
3979
3983
  if (a) {
3980
3984
  if (typeof a == "string")
3981
3985
  return zr(a, s);
@@ -3992,11 +3996,11 @@ function zr(a, s) {
3992
3996
  t[n] = a[n];
3993
3997
  return t;
3994
3998
  }
3995
- function Wh() {
3999
+ function Kh() {
3996
4000
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
3997
4001
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3998
4002
  }
3999
- function Kh(a, s) {
4003
+ function $h(a, s) {
4000
4004
  if (typeof a != "object" || a === null)
4001
4005
  return a;
4002
4006
  var n = a[Symbol.toPrimitive];
@@ -4009,11 +4013,11 @@ function Kh(a, s) {
4009
4013
  return (s === "string" ? String : Number)(a);
4010
4014
  }
4011
4015
  function Hu(a) {
4012
- var s = Kh(a, "string");
4016
+ var s = $h(a, "string");
4013
4017
  return typeof s == "symbol" ? s : String(s);
4014
4018
  }
4015
4019
  var wr = { exports: {} }, Bo;
4016
- function $h() {
4020
+ function Yh() {
4017
4021
  return Bo || (Bo = 1, (function(a) {
4018
4022
  var s = Object.prototype.hasOwnProperty, n = "~";
4019
4023
  function t() {
@@ -4119,15 +4123,15 @@ function $h() {
4119
4123
  }, o.prototype.off = o.prototype.removeListener, o.prototype.addListener = o.prototype.on, o.prefixed = n, o.EventEmitter = o, a.exports = o;
4120
4124
  })(wr)), wr.exports;
4121
4125
  }
4122
- var Uu = $h();
4126
+ var Uu = Yh();
4123
4127
  const ju = /* @__PURE__ */ Yr(Uu);
4124
- var Yh = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Tr = {
4128
+ var Xh = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Tr = {
4125
4129
  info: "color: #525252; background-color: #90ee90;",
4126
4130
  error: "color: #525252; background-color: red;",
4127
4131
  warn: "color: #525252; background-color: yellow; "
4128
4132
  }, Sr = "%c[xgplayer]", V = {
4129
4133
  config: {
4130
- debug: Yh ? 3 : 0
4134
+ debug: Xh ? 3 : 0
4131
4135
  },
4132
4136
  logInfo: function(s) {
4133
4137
  for (var n, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
@@ -4148,10 +4152,10 @@ var Yh = typeof window < "u" && window.location && window.location.href.indexOf(
4148
4152
  }
4149
4153
  }
4150
4154
  };
4151
- function Xh(a) {
4155
+ function Zh(a) {
4152
4156
  a.logInfo = V.logInfo.bind(a), a.logWarn = V.logWarn.bind(a), a.logError = V.logError.bind(a);
4153
4157
  }
4154
- var Zh = /* @__PURE__ */ (function() {
4158
+ var Jh = /* @__PURE__ */ (function() {
4155
4159
  function a(s) {
4156
4160
  P(this, a), this.bufferedList = s;
4157
4161
  }
@@ -4396,7 +4400,7 @@ h.setStyleFromCsstext = function(a, s) {
4396
4400
  a.style[t] = s[t];
4397
4401
  });
4398
4402
  };
4399
- function Jh(a, s) {
4403
+ function Qh(a, s) {
4400
4404
  for (var n = 0, t = s.length; n < t; n++)
4401
4405
  if (a.indexOf(s[n]) > -1)
4402
4406
  return !0;
@@ -4410,7 +4414,7 @@ h.filterStyleFromText = function(a) {
4410
4414
  return t.map(function(r) {
4411
4415
  if (r) {
4412
4416
  var o = r.split(":");
4413
- o.length > 1 && (Jh(o[0], s) ? e[o[0]] = o[1] : i[o[0]] = o[1]);
4417
+ o.length > 1 && (Qh(o[0], s) ? e[o[0]] = o[1] : i[o[0]] = o[1]);
4414
4418
  }
4415
4419
  }), a.setAttribute("style", ""), Object.keys(i).map(function(r) {
4416
4420
  a.style[r] = i[r];
@@ -4475,7 +4479,7 @@ h.getBuffered2 = function(a) {
4475
4479
  }
4476
4480
  else
4477
4481
  e = n;
4478
- return new Zh(e);
4482
+ return new Jh(e);
4479
4483
  };
4480
4484
  h.getEventPos = function(a) {
4481
4485
  var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
@@ -4599,7 +4603,7 @@ function zu(a) {
4599
4603
  var s = fe(a);
4600
4604
  return a !== null && (s === "object" || s === "function");
4601
4605
  }
4602
- function Qh(a, s, n) {
4606
+ function ed(a, s, n) {
4603
4607
  var t, e, i, r, o, u, l = 0, c = !1, f = !1, d = !0, g = !s && s !== 0 && typeof window.requestAnimationFrame == "function";
4604
4608
  if (typeof a != "function")
4605
4609
  throw new TypeError("Expected a function");
@@ -4658,21 +4662,21 @@ function Qh(a, s, n) {
4658
4662
  }
4659
4663
  return z.cancel = D, z.flush = R, z.pending = K, z;
4660
4664
  }
4661
- function ed(a, s, n) {
4665
+ function td(a, s, n) {
4662
4666
  var t = !0, e = !0;
4663
4667
  if (typeof a != "function")
4664
4668
  throw new TypeError("Expected a function");
4665
- return zu(n) && (t = "leading" in n ? !!n.leading : t, e = "trailing" in n ? !!n.trailing : e), Qh(a, s, {
4669
+ return zu(n) && (t = "leading" in n ? !!n.leading : t, e = "trailing" in n ? !!n.trailing : e), ed(a, s, {
4666
4670
  leading: t,
4667
4671
  trailing: e,
4668
4672
  maxWait: s
4669
4673
  });
4670
4674
  }
4671
- function td() {
4675
+ function id() {
4672
4676
  var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
4673
4677
  return a === "zh-cn" && (a = "zh"), a;
4674
4678
  }
4675
- function id(a, s, n) {
4679
+ function nd(a, s, n) {
4676
4680
  if (a) {
4677
4681
  var t = a.getAttribute(n);
4678
4682
  return !!(t && t === s && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
@@ -4681,7 +4685,7 @@ function id(a, s, n) {
4681
4685
  var Ho = {
4682
4686
  android: /(Android)\s([\d.]+)/,
4683
4687
  ios: /(Version)\/([\d.]+)/
4684
- }, nd = ["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"], j = {
4688
+ }, rd = ["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"], j = {
4685
4689
  get device() {
4686
4690
  var a = j.os;
4687
4691
  return a.isPc ? "pc" : "mobile";
@@ -4746,7 +4750,7 @@ var Ho = {
4746
4750
  if (this.supportResult)
4747
4751
  return this.supportResult;
4748
4752
  var n = document.createElement("video");
4749
- return typeof n.canPlayType == "function" && nd.map(function(t) {
4753
+ return typeof n.canPlayType == "function" && rd.map(function(t) {
4750
4754
  n.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (s.isSupport = !0, s.mime += "||".concat(t));
4751
4755
  }), this.supportResult = s, n = null, s;
4752
4756
  },
@@ -4841,21 +4845,21 @@ var Ho = {
4841
4845
  return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
4842
4846
  }
4843
4847
  }
4844
- ), _e = "play", la = "playing", it = "ended", mt = "pause", Ft = "error", yi = "seeking", Me = "seeked", ye = "timeupdate", Nt = "waiting", Oe = "canplay", rd = "canplaythrough", Be = "durationchange", Vu = "volumechange", Fe = "loadeddata", ad = "loadedmetadata", qu = "ratechange", Gu = "progress", ca = "loadstart", nt = "emptied", sd = "stalled", od = "suspend", ud = "abort", ld = "bufferedChange", fa = "focus", Wu = "blur", ha = "ready", Ku = "urlNull", et = "autoplay_started", da = "autoplay_was_prevented", _i = "complete", ti = "replay", ga = "destroy", bi = "urlchange", qr = "download_speed_change", $u = "leaveplayer", Yu = "enterplayer", Xu = "loading", Re = "fullscreen_change", ii = "cssFullscreen_change", ni = "mini_state_change", va = "definition_change", cd = "before_definition_change", Gr = "after_definition_change", fd = "SEI_PARSED", hd = "retry", We = "video_resize", Wr = "pip_change", Zu = "rotate", Ju = "screenShot", ri = "playnext", Qu = "shortcut", el = "xglog", ai = "user_action", Ci = "reset", tl = "source_error", il = "source_success", dd = "switch_subtitle", nl = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], rl = {
4848
+ ), _e = "play", la = "playing", it = "ended", mt = "pause", Ft = "error", yi = "seeking", Me = "seeked", ye = "timeupdate", Nt = "waiting", Oe = "canplay", ad = "canplaythrough", Be = "durationchange", Vu = "volumechange", Fe = "loadeddata", sd = "loadedmetadata", qu = "ratechange", Gu = "progress", ca = "loadstart", nt = "emptied", od = "stalled", ud = "suspend", ld = "abort", cd = "bufferedChange", fa = "focus", Wu = "blur", ha = "ready", Ku = "urlNull", et = "autoplay_started", da = "autoplay_was_prevented", _i = "complete", ti = "replay", ga = "destroy", bi = "urlchange", qr = "download_speed_change", $u = "leaveplayer", Yu = "enterplayer", Xu = "loading", Re = "fullscreen_change", ii = "cssFullscreen_change", ni = "mini_state_change", va = "definition_change", fd = "before_definition_change", Gr = "after_definition_change", hd = "SEI_PARSED", dd = "retry", We = "video_resize", Wr = "pip_change", Zu = "rotate", Ju = "screenShot", ri = "playnext", Qu = "shortcut", el = "xglog", ai = "user_action", Ci = "reset", tl = "source_error", il = "source_success", gd = "switch_subtitle", nl = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], rl = {
4845
4849
  STATS_INFO: "stats_info",
4846
4850
  STATS_DOWNLOAD: "stats_download",
4847
4851
  STATS_RESET: "stats_reset"
4848
4852
  }, al = "fps_stuck";
4849
- const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4853
+ const vd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4850
4854
  __proto__: null,
4851
- ABORT: ud,
4855
+ ABORT: ld,
4852
4856
  AFTER_DEFINITION_CHANGE: Gr,
4853
4857
  AUTOPLAY_PREVENTED: da,
4854
4858
  AUTOPLAY_STARTED: et,
4855
- BEFORE_DEFINITION_CHANGE: cd,
4856
- BUFFER_CHANGE: ld,
4859
+ BEFORE_DEFINITION_CHANGE: fd,
4860
+ BUFFER_CHANGE: cd,
4857
4861
  CANPLAY: Oe,
4858
- CANPLAY_THROUGH: rd,
4862
+ CANPLAY_THROUGH: ad,
4859
4863
  COMPLETE: _i,
4860
4864
  CSS_FULLSCREEN_CHANGE: ii,
4861
4865
  DEFINITION_CHANGE: va,
@@ -4870,7 +4874,7 @@ const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4870
4874
  FULLSCREEN_CHANGE: Re,
4871
4875
  LEAVE_PLAYER: $u,
4872
4876
  LOADED_DATA: Fe,
4873
- LOADED_METADATA: ad,
4877
+ LOADED_METADATA: sd,
4874
4878
  LOADING: Xu,
4875
4879
  LOAD_START: ca,
4876
4880
  MINI_STATE_CHANGE: ni,
@@ -4886,19 +4890,19 @@ const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4886
4890
  READY: ha,
4887
4891
  REPLAY: ti,
4888
4892
  RESET: Ci,
4889
- RETRY: hd,
4893
+ RETRY: dd,
4890
4894
  ROTATE: Zu,
4891
4895
  SCREEN_SHOT: Ju,
4892
4896
  SEEKED: Me,
4893
4897
  SEEKING: yi,
4894
- SEI_PARSED: fd,
4898
+ SEI_PARSED: hd,
4895
4899
  SHORTCUT: Qu,
4896
4900
  SOURCE_ERROR: tl,
4897
4901
  SOURCE_SUCCESS: il,
4898
- STALLED: sd,
4902
+ STALLED: od,
4899
4903
  STATS_EVENTS: rl,
4900
- SUSPEND: od,
4901
- SWITCH_SUBTITLE: dd,
4904
+ SUSPEND: ud,
4905
+ SWITCH_SUBTITLE: gd,
4902
4906
  TIME_UPDATE: ye,
4903
4907
  URL_CHANGE: bi,
4904
4908
  URL_NULL: Ku,
@@ -4912,7 +4916,7 @@ const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4912
4916
  function Er(a, s) {
4913
4917
  !this || !this.emit || (a === "error" ? this.errorHandler(a, s.error) : this.emit(a, s));
4914
4918
  }
4915
- function vd(a, s) {
4919
+ function pd(a, s) {
4916
4920
  return function(n, t) {
4917
4921
  var e = {
4918
4922
  player: s,
@@ -4947,7 +4951,7 @@ function vd(a, s) {
4947
4951
  Er.call(s, a, e);
4948
4952
  };
4949
4953
  }
4950
- var pd = /* @__PURE__ */ (function(a) {
4954
+ var md = /* @__PURE__ */ (function(a) {
4951
4955
  M(n, a);
4952
4956
  var s = F(n);
4953
4957
  function n(t) {
@@ -4991,7 +4995,7 @@ var pd = /* @__PURE__ */ (function(a) {
4991
4995
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
4992
4996
  this._evHandlers || (this._evHandlers = nl.map(function(r) {
4993
4997
  var o = "on".concat(r.charAt(0).toUpperCase()).concat(r.slice(1));
4994
- return typeof e[o] == "function" && e.on(r, e[o]), _({}, r, vd(r, e));
4998
+ return typeof e[o] == "function" && e.on(r, e[o]), _({}, r, pd(r, e));
4995
4999
  })), this._evHandlers.forEach(function(r) {
4996
5000
  var o = Object.keys(r)[0];
4997
5001
  i.addEventListener(o, r[o], !1);
@@ -5365,7 +5369,7 @@ var pd = /* @__PURE__ */ (function(a) {
5365
5369
  U(N(n.prototype), "removeAllListeners", this).call(this);
5366
5370
  }
5367
5371
  }]), n;
5368
- })(ju), md = /* @__PURE__ */ (function() {
5372
+ })(ju), yd = /* @__PURE__ */ (function() {
5369
5373
  function a() {
5370
5374
  var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
5371
5375
  name: "xgplayer",
@@ -5761,7 +5765,7 @@ var Ke = /* @__PURE__ */ (function() {
5761
5765
  }
5762
5766
  }]), a;
5763
5767
  })(), Ir, Ko;
5764
- function yd() {
5768
+ function _d() {
5765
5769
  if (Ko) return Ir;
5766
5770
  Ko = 1;
5767
5771
  var a = 9;
@@ -5779,10 +5783,10 @@ function yd() {
5779
5783
  return Ir = n, Ir;
5780
5784
  }
5781
5785
  var Pr, $o;
5782
- function _d() {
5786
+ function bd() {
5783
5787
  if ($o) return Pr;
5784
5788
  $o = 1;
5785
- var a = yd();
5789
+ var a = _d();
5786
5790
  function s(e, i, r, o, u) {
5787
5791
  var l = t.apply(this, arguments);
5788
5792
  return e.addEventListener(r, l, u), {
@@ -5803,9 +5807,9 @@ function _d() {
5803
5807
  }
5804
5808
  return Pr = n, Pr;
5805
5809
  }
5806
- var bd = _d();
5807
- const Yo = /* @__PURE__ */ Yr(bd);
5808
- var Cd = {
5810
+ var Cd = bd();
5811
+ const Yo = /* @__PURE__ */ Yr(Cd);
5812
+ var kd = {
5809
5813
  CONTROLS: "controls",
5810
5814
  ROOT: "root"
5811
5815
  }, J = {
@@ -5824,10 +5828,10 @@ var Cd = {
5824
5828
  function Ar(a) {
5825
5829
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
5826
5830
  }
5827
- function kd(a, s) {
5831
+ function wd(a, s) {
5828
5832
  return fe(a) === "object" && a.class && typeof a.class == "string" ? "".concat(s, " ").concat(a.class) : s;
5829
5833
  }
5830
- function wd(a, s) {
5834
+ function Td(a, s) {
5831
5835
  return fe(a) === "object" && a.attr && fe(a.attr) === "object" && Object.keys(a.attr).map(function(n) {
5832
5836
  s[n] = a.attr[n];
5833
5837
  }), s;
@@ -5850,14 +5854,14 @@ function Zo(a, s) {
5850
5854
  }
5851
5855
  return typeof a == "string" ? h.createDomFromHtml(a, t, n) : (V.logWarn("warn>>icons.".concat(s, " in config of plugin named [").concat(e, "] is invalid")), null);
5852
5856
  }
5853
- function Td(a, s) {
5857
+ function Sd(a, s) {
5854
5858
  var n = s.config.icons || s.playerConfig.icons;
5855
5859
  Object.keys(a).map(function(t) {
5856
5860
  var e = a[t], i = e && e.class ? e.class : "", r = e && e.attr ? e.attr : {}, o = null;
5857
- n && n[t] && (i = kd(n[t], i), r = wd(n[t], r), o = Zo(n[t], t, i, r, s.pluginName)), !o && e && (o = Zo(e.icon ? e.icon : e, r, i, {}, s.pluginName)), s.icons[t] = o;
5861
+ n && n[t] && (i = wd(n[t], i), r = Td(n[t], r), o = Zo(n[t], t, i, r, s.pluginName)), !o && e && (o = Zo(e.icon ? e.icon : e, r, i, {}, s.pluginName)), s.icons[t] = o;
5858
5862
  });
5859
5863
  }
5860
- function Sd(a, s) {
5864
+ function Ed(a, s) {
5861
5865
  Object.keys(a).map(function(n) {
5862
5866
  Object.defineProperty(s.langText, n, {
5863
5867
  get: function() {
@@ -5881,9 +5885,9 @@ var W = /* @__PURE__ */ (function(a) {
5881
5885
  var i = e.root, r = null;
5882
5886
  this.icons = {}, this.root = null, this.parent = null, this.extraEls = [];
5883
5887
  var o = this.registerIcons() || {};
5884
- Td(o, this), this.langText = {};
5888
+ Sd(o, this), this.langText = {};
5885
5889
  var u = this.registerLanguageTexts() || {};
5886
- Sd(u, this);
5890
+ Ed(u, this);
5887
5891
  var l = "";
5888
5892
  try {
5889
5893
  l = this.render();
@@ -6151,7 +6155,7 @@ var W = /* @__PURE__ */ (function(a) {
6151
6155
  }, {
6152
6156
  key: "ROOT_TYPES",
6153
6157
  get: function() {
6154
- return Cd;
6158
+ return kd;
6155
6159
  }
6156
6160
  }, {
6157
6161
  key: "POSITIONS",
@@ -6159,7 +6163,7 @@ var W = /* @__PURE__ */ (function(a) {
6159
6163
  return J;
6160
6164
  }
6161
6165
  }]), n;
6162
- })(Ke), Ed = /* @__PURE__ */ (function() {
6166
+ })(Ke), xd = /* @__PURE__ */ (function() {
6163
6167
  function a() {
6164
6168
  var s = this;
6165
6169
  if (P(this, a), _(this, "__trigger", function(n) {
@@ -6169,7 +6173,7 @@ var W = /* @__PURE__ */ (function(a) {
6169
6173
  s.__runHandler(n[e].target);
6170
6174
  }), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
6171
6175
  try {
6172
- this.observer = new window.ResizeObserver(ed(this.__trigger, 100, {
6176
+ this.observer = new window.ResizeObserver(td(this.__trigger, 100, {
6173
6177
  trailing: !0
6174
6178
  })), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
6175
6179
  } catch (n) {
@@ -6226,10 +6230,10 @@ var W = /* @__PURE__ */ (function(a) {
6226
6230
  }
6227
6231
  }]), a;
6228
6232
  })(), Et = null;
6229
- function xd(a, s) {
6230
- return Et || (Et = new Ed()), Et.addObserver(a, s), Et;
6231
- }
6232
6233
  function Id(a, s) {
6234
+ return Et || (Et = new xd()), Et.addObserver(a, s), Et;
6235
+ }
6236
+ function Pd(a, s) {
6233
6237
  var n;
6234
6238
  (n = Et) === null || n === void 0 || n.unObserver(a, s);
6235
6239
  }
@@ -6237,7 +6241,7 @@ var le = {
6237
6241
  pluginGroup: {},
6238
6242
  init: function(s) {
6239
6243
  var n = s._pluginInfoId;
6240
- n || (n = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = n), !s.config.closeResizeObserver && xd(s.root, function() {
6244
+ n || (n = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = n), !s.config.closeResizeObserver && Id(s.root, function() {
6241
6245
  s.resize();
6242
6246
  }), this.pluginGroup[n] = {
6243
6247
  _originalOptions: s.config || {},
@@ -6423,7 +6427,7 @@ var le = {
6423
6427
  destroy: function(s) {
6424
6428
  var n = s._pluginInfoId;
6425
6429
  if (this.pluginGroup[n]) {
6426
- Id(s.root);
6430
+ Pd(s.root);
6427
6431
  for (var t = this.pluginGroup[n]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
6428
6432
  var r = i[e];
6429
6433
  this.unRegister(n, r);
@@ -6509,7 +6513,7 @@ function Jo() {
6509
6513
  ignores: [],
6510
6514
  whitelist: [],
6511
6515
  inactive: 3e3,
6512
- lang: td(),
6516
+ lang: id(),
6513
6517
  controls: !0,
6514
6518
  marginControls: !1,
6515
6519
  fullscreenTarget: null,
@@ -6545,7 +6549,7 @@ function Jo() {
6545
6549
  }
6546
6550
  };
6547
6551
  }
6548
- var Pd = function(s, n) {
6552
+ var Ad = function(s, n) {
6549
6553
  var t, e, i;
6550
6554
  n.preset && n.options ? i = new n.preset(n.options, s.config) : i = new n({}, s.config);
6551
6555
  var r = i, o = r.plugins, u = o === void 0 ? [] : o, l = r.ignores, c = l === void 0 ? [] : l, f = r.icons, d = f === void 0 ? {} : f, g = r.i18n, v = g === void 0 ? [] : g;
@@ -6554,7 +6558,7 @@ var Pd = function(s, n) {
6554
6558
  });
6555
6559
  var m = s.config.i18n || [];
6556
6560
  v.push.apply(v, Ee(m)), s.config.i18n = v;
6557
- }, Ad = /* @__PURE__ */ (function(a) {
6561
+ }, Ld = /* @__PURE__ */ (function(a) {
6558
6562
  M(n, a);
6559
6563
  var s = F(n);
6560
6564
  function n() {
@@ -6715,7 +6719,7 @@ var Pd = function(s, n) {
6715
6719
  };
6716
6720
  }
6717
6721
  }]), n;
6718
- })(W), Ld = {
6722
+ })(W), Dd = {
6719
6723
  LANG: "en",
6720
6724
  TEXT: {
6721
6725
  ERROR_TYPES: {
@@ -6809,7 +6813,7 @@ function ll() {
6809
6813
  me.textKeys[a] = a;
6810
6814
  });
6811
6815
  }
6812
- function Dd(a, s) {
6816
+ function Rd(a, s) {
6813
6817
  var n = [];
6814
6818
  if (s || (s = me), !!s.lang) {
6815
6819
  h.typeOf(a) !== "Array" ? n = Object.keys(a).map(function(i) {
@@ -6832,7 +6836,7 @@ function pa(a, s) {
6832
6836
  n === "zh" && (n = "zh-cn"), s.lang[n] ? Rt(s.lang[n], t) : (s.langKeys.push(n), s.lang[n] = t), ll();
6833
6837
  }
6834
6838
  }
6835
- function Rd(a) {
6839
+ function Od(a) {
6836
6840
  var s, n = {
6837
6841
  lang: {},
6838
6842
  langKeys: [],
@@ -6841,7 +6845,7 @@ function Rd(a) {
6841
6845
  };
6842
6846
  return Rt(n.lang, me.lang), (s = n.langKeys).push.apply(s, Ee(me.langKeys)), Rt(n.textKeys, me.textKeys), n;
6843
6847
  }
6844
- pa(Ld);
6848
+ pa(Dd);
6845
6849
  var vt = {
6846
6850
  get textKeys() {
6847
6851
  return me.textKeys;
@@ -6855,9 +6859,9 @@ var vt = {
6855
6859
  a[s] = me.lang[s];
6856
6860
  }), me.lang["zh-cn"] && (a.zh = me.lang["zh-cn"] || {}), a;
6857
6861
  },
6858
- extend: Dd,
6862
+ extend: Rd,
6859
6863
  use: pa,
6860
- init: Rd
6864
+ init: Od
6861
6865
  }, q = {
6862
6866
  INITIAL: 1,
6863
6867
  READY: 2,
@@ -6953,7 +6957,7 @@ var vt = {
6953
6957
  }
6954
6958
  }]), n;
6955
6959
  })(Uu.EventEmitter);
6956
- function Od(a) {
6960
+ function Md(a) {
6957
6961
  for (var s = Object.keys(de), n = 0; n < s.length; n++) {
6958
6962
  var t = de[s[n]];
6959
6963
  if (t.root === a)
@@ -6961,7 +6965,7 @@ function Od(a) {
6961
6965
  }
6962
6966
  return null;
6963
6967
  }
6964
- var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /* @__PURE__ */ (function(a) {
6968
+ var Fd = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /* @__PURE__ */ (function(a) {
6965
6969
  M(n, a);
6966
6970
  var s = F(n);
6967
6971
  function n(t) {
@@ -6991,7 +6995,7 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
6991
6995
  to: !1
6992
6996
  }]
6993
6997
  });
6994
- var b = id(C, e.playerId, Ge);
6998
+ var b = nd(C, e.playerId, Ge);
6995
6999
  if (m || C && (C === e._fullscreenEl || b))
6996
7000
  p(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, w.FULLSCREEN), e.emit(Re, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
6997
7001
  else if (e.fullscreen) {
@@ -7011,7 +7015,7 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
7011
7015
  e._fullscreenEl = e.media, e.onFullscreenChange(v, !0);
7012
7016
  }), _(y(e), "_onWebkitendfullscreen", function(v) {
7013
7017
  e.onFullscreenChange(v, !1);
7014
- }), ol(y(e), Md), e.config = i, e._pluginInfoId = h.generateSessionId(), Xh(y(e));
7018
+ }), ol(y(e), Fd), e.config = i, e._pluginInfoId = h.generateSessionId(), Zh(y(e));
7015
7019
  var r = e.constructor.defaultPreset;
7016
7020
  if (e.config.presets.length) {
7017
7021
  var o = e.config.presets.indexOf("default");
@@ -7039,7 +7043,7 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
7039
7043
  }, e._offsetInfo = {
7040
7044
  currentTime: -1,
7041
7045
  duration: 0
7042
- }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = vt.init(e._pluginInfoId), j.os.isAndroid && j.osVersion > 0 && j.osVersion < 6 && (e.config.autoplay = !1), e.database = new md(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
7046
+ }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = vt.init(e._pluginInfoId), j.os.isAndroid && j.osVersion > 0 && j.osVersion < 6 && (e.config.autoplay = !1), e.database = new yd(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
7043
7047
  isActiveLocked: !1
7044
7048
  }, e.instManager = ze;
7045
7049
  var u = e._initDOM();
@@ -7071,9 +7075,9 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
7071
7075
  msg: "container id can't be empty"
7072
7076
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
7073
7077
  }
7074
- var o = Od(this.root);
7078
+ var o = Md(this.root);
7075
7079
  if (o && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(Ge, this.playerId), this.media.setAttribute(Ge, this.playerId), (e = ze) === null || e === void 0 || e.add(this), le.init(this), this._initBaseDoms(), this.config.controls) {
7076
- var u = this.config.controls.root || null, l = le.register(this, Ad, {
7080
+ var u = this.config.controls.root || null, l = le.register(this, Ld, {
7077
7081
  root: u
7078
7082
  });
7079
7083
  this.controls = l;
@@ -7181,7 +7185,7 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
7181
7185
  value: function() {
7182
7186
  var e = this;
7183
7187
  this.config.presets.forEach(function(i) {
7184
- Pd(e, i);
7188
+ Ad(e, i);
7185
7189
  });
7186
7190
  }
7187
7191
  }, {
@@ -8163,7 +8167,7 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
8163
8167
  n.plugins || (n.plugins = {}), n.plugins[e] = i;
8164
8168
  }
8165
8169
  }]), n;
8166
- })(pd);
8170
+ })(md);
8167
8171
  _(ki, "defaultPreset", null);
8168
8172
  _(ki, "XgVideoProxy", null);
8169
8173
  ki.instManager = cl.getInstance();
@@ -8206,13 +8210,13 @@ var rt = /* @__PURE__ */ (function(a) {
8206
8210
  }
8207
8211
  }]), n;
8208
8212
  })(W);
8209
- function Fd() {
8213
+ function Nd() {
8210
8214
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
8211
8215
  <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>
8212
8216
  </svg>
8213
8217
  `, "image/svg+xml").firstChild;
8214
8218
  }
8215
- function Nd() {
8219
+ function Bd() {
8216
8220
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
8217
8221
  <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>
8218
8222
  </svg>
@@ -8272,11 +8276,11 @@ var Kr = /* @__PURE__ */ (function(a) {
8272
8276
  value: function() {
8273
8277
  return {
8274
8278
  cssFullscreen: {
8275
- icon: Fd,
8279
+ icon: Nd,
8276
8280
  class: "xg-get-cssfull"
8277
8281
  },
8278
8282
  exitCssFullscreen: {
8279
- icon: Nd,
8283
+ icon: Bd,
8280
8284
  class: "xg-exit-cssfull"
8281
8285
  }
8282
8286
  };
@@ -8313,14 +8317,14 @@ var Kr = /* @__PURE__ */ (function(a) {
8313
8317
  }
8314
8318
  }]), n;
8315
8319
  })(rt);
8316
- function Bd() {
8320
+ function Hd() {
8317
8321
  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">
8318
8322
  <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8319
8323
  <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>
8320
8324
  </g>
8321
8325
  </svg>`, "image/svg+xml").firstChild;
8322
8326
  }
8323
- var Hd = /* @__PURE__ */ (function(a) {
8327
+ var Ud = /* @__PURE__ */ (function(a) {
8324
8328
  M(n, a);
8325
8329
  var s = F(n);
8326
8330
  function n() {
@@ -8339,7 +8343,7 @@ var Hd = /* @__PURE__ */ (function(a) {
8339
8343
  value: function() {
8340
8344
  return {
8341
8345
  screenBack: {
8342
- icon: Bd,
8346
+ icon: Hd,
8343
8347
  class: "xg-fullscreen-back"
8344
8348
  }
8345
8349
  };
@@ -8381,13 +8385,13 @@ var Hd = /* @__PURE__ */ (function(a) {
8381
8385
  }
8382
8386
  }]), n;
8383
8387
  })(W);
8384
- function Ud() {
8388
+ function jd() {
8385
8389
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
8386
8390
  <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>
8387
8391
  </svg>
8388
8392
  `, "image/svg+xml").firstChild;
8389
8393
  }
8390
- function jd() {
8394
+ function zd() {
8391
8395
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
8392
8396
  <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>
8393
8397
  </svg>
@@ -8428,7 +8432,7 @@ var fl = /* @__PURE__ */ (function(a) {
8428
8432
  var l = e.find(".xg-tips");
8429
8433
  l && e.changeLangTextKey(l, u ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(u);
8430
8434
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
8431
- plugin: Hd,
8435
+ plugin: Ud,
8432
8436
  options: {
8433
8437
  config: {
8434
8438
  onClick: function(l) {
@@ -8444,11 +8448,11 @@ var fl = /* @__PURE__ */ (function(a) {
8444
8448
  value: function() {
8445
8449
  return {
8446
8450
  fullscreen: {
8447
- icon: Ud,
8451
+ icon: jd,
8448
8452
  class: "xg-get-fullscreen"
8449
8453
  },
8450
8454
  exitFullscreen: {
8451
- icon: jd,
8455
+ icon: zd,
8452
8456
  class: "xg-exit-fullscreen"
8453
8457
  }
8454
8458
  };
@@ -8633,7 +8637,7 @@ var hl = /* @__PURE__ */ (function(a) {
8633
8637
  };
8634
8638
  }
8635
8639
  }]), n;
8636
- })(rt), zd = [{
8640
+ })(rt), Vd = [{
8637
8641
  tag: "xg-cache",
8638
8642
  className: "xgplayer-progress-cache",
8639
8643
  styleKey: "cachedColor"
@@ -8641,7 +8645,7 @@ var hl = /* @__PURE__ */ (function(a) {
8641
8645
  tag: "xg-played",
8642
8646
  className: "xgplayer-progress-played",
8643
8647
  styleKey: "playedColor"
8644
- }], Vd = /* @__PURE__ */ (function() {
8648
+ }], qd = /* @__PURE__ */ (function() {
8645
8649
  function a(s) {
8646
8650
  P(this, a), this.fragments = s.fragments || [], this.fragments.length === 0 && this.fragments.push({
8647
8651
  percent: 1
@@ -8828,7 +8832,7 @@ var hl = /* @__PURE__ */ (function(a) {
8828
8832
  var u = h.createDom("xg-inner", "", {
8829
8833
  style: t ? "background:".concat(t, "; flex: ").concat(o.percent) : "flex: ".concat(o.percent)
8830
8834
  }, "".concat(o.isFocus ? r : "", " xgplayer-progress-inner ").concat(i));
8831
- return n.root.appendChild(u), zd.forEach(function(l) {
8835
+ return n.root.appendChild(u), Vd.forEach(function(l) {
8832
8836
  u.appendChild(h.createDom(l.tag, "", {
8833
8837
  style: l.styleKey ? "background: ".concat(n.style[l.styleKey], "; width:0;") : "width:0;"
8834
8838
  }, l.className));
@@ -8976,7 +8980,7 @@ var hl = /* @__PURE__ */ (function(a) {
8976
8980
  e.emitUserAction("fragment_focus", "fragment_focus", l);
8977
8981
  }
8978
8982
  });
8979
- this.innerList ? this.innerList.reset(o) : (this.innerList = new Vd(o), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(u) {
8983
+ this.innerList ? this.innerList.reset(o) : (this.innerList = new qd(o), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(u) {
8980
8984
  e[u] = e.innerList[u].bind(e.innerList);
8981
8985
  }));
8982
8986
  }
@@ -9419,21 +9423,21 @@ var hl = /* @__PURE__ */ (function(a) {
9419
9423
  }
9420
9424
  }]), n;
9421
9425
  })(W);
9422
- function qd() {
9426
+ function Gd() {
9423
9427
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9424
9428
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9425
9429
  <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>
9426
9430
  </svg>
9427
9431
  `, "image/svg+xml").firstChild;
9428
9432
  }
9429
- function Gd() {
9433
+ function Wd() {
9430
9434
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9431
9435
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9432
9436
  <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>
9433
9437
  </svg>
9434
9438
  `, "image/svg+xml").firstChild;
9435
9439
  }
9436
- function Wd() {
9440
+ function Kd() {
9437
9441
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9438
9442
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9439
9443
  <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>
@@ -9488,15 +9492,15 @@ var vl = /* @__PURE__ */ (function(a) {
9488
9492
  value: function() {
9489
9493
  return {
9490
9494
  volumeSmall: {
9491
- icon: Gd,
9495
+ icon: Wd,
9492
9496
  class: "xg-volume-small"
9493
9497
  },
9494
9498
  volumeLarge: {
9495
- icon: qd,
9499
+ icon: Gd,
9496
9500
  class: "xg-volume"
9497
9501
  },
9498
9502
  volumeMuted: {
9499
- icon: Wd,
9503
+ icon: Kd,
9500
9504
  class: "xg-volume-mute"
9501
9505
  }
9502
9506
  };
@@ -9646,7 +9650,7 @@ var Ve = {
9646
9650
  WAIT_END: "waitingEnd",
9647
9651
  SEEK_START: "seekStart",
9648
9652
  SEEK_END: "seekEnd"
9649
- }, Kd = /* @__PURE__ */ (function(a) {
9653
+ }, $d = /* @__PURE__ */ (function(a) {
9650
9654
  M(n, a);
9651
9655
  var s = F(n);
9652
9656
  function n() {
@@ -9797,13 +9801,13 @@ var Ve = {
9797
9801
  }
9798
9802
  }]), n;
9799
9803
  })(W);
9800
- function $d() {
9804
+ function Yd() {
9801
9805
  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">
9802
9806
  <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>
9803
9807
  </svg>
9804
9808
  `, "image/svg+xml").firstChild;
9805
9809
  }
9806
- var Yd = /* @__PURE__ */ (function(a) {
9810
+ var Xd = /* @__PURE__ */ (function(a) {
9807
9811
  M(n, a);
9808
9812
  var s = F(n);
9809
9813
  function n() {
@@ -9813,7 +9817,7 @@ var Yd = /* @__PURE__ */ (function(a) {
9813
9817
  key: "registerIcons",
9814
9818
  value: function() {
9815
9819
  return {
9816
- replay: $d
9820
+ replay: Yd
9817
9821
  };
9818
9822
  }
9819
9823
  }, {
@@ -9886,7 +9890,7 @@ var Yd = /* @__PURE__ */ (function(a) {
9886
9890
  };
9887
9891
  }
9888
9892
  }]), n;
9889
- })(W), Xd = /* @__PURE__ */ (function(a) {
9893
+ })(W), Zd = /* @__PURE__ */ (function(a) {
9890
9894
  M(n, a);
9891
9895
  var s = F(n);
9892
9896
  function n() {
@@ -9998,7 +10002,7 @@ var Yd = /* @__PURE__ */ (function(a) {
9998
10002
  }
9999
10003
  }]), n;
10000
10004
  })(W), Pe = {};
10001
- function Zd(a, s) {
10005
+ function Jd(a, s) {
10002
10006
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
10003
10007
  start: null,
10004
10008
  end: null
@@ -10016,7 +10020,7 @@ function nu(a) {
10016
10020
  window.clearTimeout(Pe[s].id), delete Pe[s];
10017
10021
  });
10018
10022
  }
10019
- var Jd = /* @__PURE__ */ (function(a) {
10023
+ var Qd = /* @__PURE__ */ (function(a) {
10020
10024
  M(n, a);
10021
10025
  var s = F(n);
10022
10026
  function n(t) {
@@ -10120,7 +10124,7 @@ var Jd = /* @__PURE__ */ (function(a) {
10120
10124
  key: "animate",
10121
10125
  value: function(e) {
10122
10126
  var i = this;
10123
- this._animateId = Zd("pauseplay", 400, {
10127
+ this._animateId = Jd("pauseplay", 400, {
10124
10128
  start: function() {
10125
10129
  h.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
10126
10130
  },
@@ -10208,7 +10212,7 @@ var Jd = /* @__PURE__ */ (function(a) {
10208
10212
  };
10209
10213
  }
10210
10214
  }]), n;
10211
- })(W), Qd = /* @__PURE__ */ (function(a) {
10215
+ })(W), eg = /* @__PURE__ */ (function(a) {
10212
10216
  M(n, a);
10213
10217
  var s = F(n);
10214
10218
  function n() {
@@ -10298,7 +10302,7 @@ function au(a) {
10298
10302
  return n && s;
10299
10303
  }
10300
10304
  var _a = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], pl = _a.length;
10301
- function eg() {
10305
+ function tg() {
10302
10306
  for (var a = {
10303
10307
  width: 0,
10304
10308
  height: 0,
@@ -10312,15 +10316,15 @@ function eg() {
10312
10316
  }
10313
10317
  return a;
10314
10318
  }
10315
- function tg(a) {
10319
+ function ig(a) {
10316
10320
  var s = window.getComputedStyle(a);
10317
10321
  return s;
10318
10322
  }
10319
10323
  function su(a) {
10320
10324
  if (typeof a == "string" && (a = document.querySelector(a)), !(!a || fe(a) !== "object" || !a.nodeType)) {
10321
- var s = tg(a);
10325
+ var s = ig(a);
10322
10326
  if (s.display === "none")
10323
- return eg();
10327
+ return tg();
10324
10328
  var n = {};
10325
10329
  n.width = a.offsetWidth, n.height = a.offsetHeight;
10326
10330
  for (var t = n.isBorderBox = s.boxSizing === "border-box", e = 0; e < pl; e++) {
@@ -10348,7 +10352,7 @@ var Rr = {
10348
10352
  mousedown: ["mousemove", "mouseup"],
10349
10353
  touchstart: ["touchmove", "touchend", "touchcancel"],
10350
10354
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
10351
- }, ig = /* @__PURE__ */ (function(a) {
10355
+ }, ng = /* @__PURE__ */ (function(a) {
10352
10356
  M(n, a);
10353
10357
  var s = F(n);
10354
10358
  function n(t) {
@@ -10558,7 +10562,7 @@ var Rr = {
10558
10562
  return parseInt(e, 10);
10559
10563
  }
10560
10564
  }]), n;
10561
- })(ju), ng = /* @__PURE__ */ (function(a) {
10565
+ })(ju), rg = /* @__PURE__ */ (function(a) {
10562
10566
  M(n, a);
10563
10567
  var s = F(n);
10564
10568
  function n(t) {
@@ -10614,7 +10618,7 @@ var Rr = {
10614
10618
  i.controls.registerPlugin(ru, o, ru.pluginName);
10615
10619
  }
10616
10620
  var u = h.checkTouchSupport() ? "touchend" : "click";
10617
- this.bind(".mini-cancel-btn", u, this.onCancelClick), this.bind(".play-icon", u, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new ig(this.player.root, {
10621
+ this.bind(".mini-cancel-btn", u, this.onCancelClick), this.bind(".play-icon", u, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new ng(this.player.root, {
10618
10622
  handle: this.root
10619
10623
  })), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
10620
10624
  }
@@ -10833,12 +10837,12 @@ var Rr = {
10833
10837
  TOUCH_MOVE: "touchmove",
10834
10838
  TOUCH_START: "touchstart",
10835
10839
  TOUCH_END: "touchend"
10836
- }, rg = {
10840
+ }, ag = {
10837
10841
  start: "touchstart",
10838
10842
  end: "touchend",
10839
10843
  move: "touchmove",
10840
10844
  cancel: "touchcancel"
10841
- }, ag = {
10845
+ }, sg = {
10842
10846
  start: "mousedown",
10843
10847
  end: "mouseup",
10844
10848
  move: "mousemove",
@@ -10847,7 +10851,7 @@ var Rr = {
10847
10851
  function uu(a) {
10848
10852
  return a && a.length > 0 ? a[a.length - 1] : null;
10849
10853
  }
10850
- function sg() {
10854
+ function og() {
10851
10855
  return {
10852
10856
  pressDelay: 600,
10853
10857
  dbClickDelay: 200,
@@ -10857,7 +10861,7 @@ function sg() {
10857
10861
  needPreventDefault: !0
10858
10862
  };
10859
10863
  }
10860
- var og = /* @__PURE__ */ (function() {
10864
+ var ug = /* @__PURE__ */ (function() {
10861
10865
  function a(s) {
10862
10866
  var n = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
10863
10867
  eventType: "touch"
@@ -10878,9 +10882,9 @@ var og = /* @__PURE__ */ (function() {
10878
10882
  start: !1,
10879
10883
  x: 0,
10880
10884
  y: 0
10881
- }, this.config = sg(), Object.keys(t).map(function(e) {
10885
+ }, this.config = og(), Object.keys(t).map(function(e) {
10882
10886
  n.config[e] = t[e];
10883
- }), this.root = s, this.events = t.eventType === "mouse" ? ag : rg, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
10887
+ }), this.root = s, this.events = t.eventType === "mouse" ? sg : ag, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
10884
10888
  }
10885
10889
  return A(a, [{
10886
10890
  key: "_initEvent",
@@ -10959,7 +10963,7 @@ var og = /* @__PURE__ */ (function() {
10959
10963
  }
10960
10964
  }]), a;
10961
10965
  })();
10962
- function ug() {
10966
+ function lg() {
10963
10967
  return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
10964
10968
  xmlns:xlink="http://www.w3.org/1999/xlink">
10965
10969
  <path opacity="0.54"
@@ -10972,7 +10976,7 @@ var lt = {
10972
10976
  AUTO: "auto",
10973
10977
  SEEKING: "seeking",
10974
10978
  PLAYBACK: "playbackrate"
10975
- }, Fr = ["videoClick", "videoDbClick"], lg = /* @__PURE__ */ (function(a) {
10979
+ }, Fr = ["videoClick", "videoDbClick"], cg = /* @__PURE__ */ (function(a) {
10976
10980
  M(n, a);
10977
10981
  var s = F(n);
10978
10982
  function n(t) {
@@ -11044,7 +11048,7 @@ var lt = {
11044
11048
  value: function() {
11045
11049
  return {
11046
11050
  seekTipIcon: {
11047
- icon: ug,
11051
+ icon: lg,
11048
11052
  class: "xg-seek-pre"
11049
11053
  }
11050
11054
  };
@@ -11059,7 +11063,7 @@ var lt = {
11059
11063
  var i = this.playerConfig, r = this.config, o = this.player;
11060
11064
  i.closeVideoDblclick === !0 && (r.closedbClick = !0), this.resetPos(), h.isUndefined(i.disableGesture) || (r.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = h.createDom("xg-mask", "", {}, "xgmask"), o.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
11061
11065
  var u = this.domEventType === "mouse" ? "mouse" : "touch";
11062
- this.touch = new og(this.root, {
11066
+ this.touch = new ug(this.root, {
11063
11067
  eventType: u,
11064
11068
  needPreventDefault: !this.config.disableGesture
11065
11069
  }), this.root.addEventListener("contextmenu", function(d) {
@@ -11404,7 +11408,7 @@ var lt = {
11404
11408
  }
11405
11409
  }]), n;
11406
11410
  })(W);
11407
- function cg(a) {
11411
+ function fg(a) {
11408
11412
  a.preventDefault(), a.returnValue = !1;
11409
11413
  }
11410
11414
  function lu(a) {
@@ -11653,7 +11657,7 @@ var cu = /* @__PURE__ */ (function(a) {
11653
11657
  isPress: r
11654
11658
  }, this.keyCodeMap[o[u]]));
11655
11659
  }
11656
- cg(i), i.stopPropagation();
11660
+ fg(i), i.stopPropagation();
11657
11661
  break;
11658
11662
  }
11659
11663
  }
@@ -11695,13 +11699,13 @@ var cu = /* @__PURE__ */ (function(a) {
11695
11699
  }
11696
11700
  }]), n;
11697
11701
  })(Ke);
11698
- function fg() {
11702
+ function hg() {
11699
11703
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
11700
11704
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
11701
11705
  </svg>
11702
11706
  `, "image/svg+xml").firstChild;
11703
11707
  }
11704
- var hg = /* @__PURE__ */ (function(a) {
11708
+ var dg = /* @__PURE__ */ (function(a) {
11705
11709
  M(n, a);
11706
11710
  var s = F(n);
11707
11711
  function n() {
@@ -11711,7 +11715,7 @@ var hg = /* @__PURE__ */ (function(a) {
11711
11715
  key: "registerIcons",
11712
11716
  value: function() {
11713
11717
  return {
11714
- loadingIcon: fg
11718
+ loadingIcon: hg
11715
11719
  };
11716
11720
  }
11717
11721
  }, {
@@ -11740,7 +11744,7 @@ var hg = /* @__PURE__ */ (function(a) {
11740
11744
  };
11741
11745
  }
11742
11746
  }]), n;
11743
- })(W), dg = /* @__PURE__ */ (function(a) {
11747
+ })(W), gg = /* @__PURE__ */ (function(a) {
11744
11748
  M(n, a);
11745
11749
  var s = F(n);
11746
11750
  function n() {
@@ -11878,7 +11882,7 @@ var hg = /* @__PURE__ */ (function(a) {
11878
11882
  }
11879
11883
  }]), n;
11880
11884
  })(Ke);
11881
- function gg() {
11885
+ function vg() {
11882
11886
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
11883
11887
  <g>
11884
11888
  <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"/>
@@ -11892,7 +11896,7 @@ function gg() {
11892
11896
  </svg>
11893
11897
  `, "image/svg+xml").firstChild;
11894
11898
  }
11895
- var vg = /* @__PURE__ */ (function(a) {
11899
+ var pg = /* @__PURE__ */ (function(a) {
11896
11900
  M(n, a);
11897
11901
  var s = F(n);
11898
11902
  function n(t) {
@@ -11955,7 +11959,7 @@ var vg = /* @__PURE__ */ (function(a) {
11955
11959
  key: "registerIcons",
11956
11960
  value: function() {
11957
11961
  return {
11958
- rotate: gg
11962
+ rotate: vg
11959
11963
  };
11960
11964
  }
11961
11965
  }, {
@@ -11988,14 +11992,14 @@ var vg = /* @__PURE__ */ (function(a) {
11988
11992
  }
11989
11993
  }]), n;
11990
11994
  })(rt);
11991
- function pg() {
11995
+ function mg() {
11992
11996
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
11993
11997
  <path fill-rule="evenodd" clip-rule="evenodd"
11994
11998
  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"
11995
11999
  fill="white" />
11996
12000
  </svg>`, "image/svg+xml").firstChild;
11997
12001
  }
11998
- function mg() {
12002
+ function yg() {
11999
12003
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
12000
12004
  <path fill-rule="evenodd" clip-rule="evenodd"
12001
12005
  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"
@@ -12009,7 +12013,7 @@ var ct = {
12009
12013
  PIP: "picture-in-picture",
12010
12014
  INLINE: "inline",
12011
12015
  FULLSCREEN: "fullscreen"
12012
- }, yg = /* @__PURE__ */ (function(a) {
12016
+ }, _g = /* @__PURE__ */ (function(a) {
12013
12017
  M(n, a);
12014
12018
  var s = F(n);
12015
12019
  function n() {
@@ -12049,11 +12053,11 @@ var ct = {
12049
12053
  value: function() {
12050
12054
  return {
12051
12055
  pipIcon: {
12052
- icon: pg,
12056
+ icon: mg,
12053
12057
  class: "xg-get-pip"
12054
12058
  },
12055
12059
  pipIconExit: {
12056
- icon: mg,
12060
+ icon: yg,
12057
12061
  class: "xg-exit-pip"
12058
12062
  }
12059
12063
  };
@@ -12210,13 +12214,13 @@ var ct = {
12210
12214
  }
12211
12215
  }]), n;
12212
12216
  })(rt);
12213
- function _g() {
12217
+ function bg() {
12214
12218
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
12215
12219
  <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
12216
12220
  </svg>
12217
12221
  `, "image/svg+xml").firstChild;
12218
12222
  }
12219
- var bg = /* @__PURE__ */ (function(a) {
12223
+ var Cg = /* @__PURE__ */ (function(a) {
12220
12224
  M(n, a);
12221
12225
  var s = F(n);
12222
12226
  function n(t) {
@@ -12235,7 +12239,7 @@ var bg = /* @__PURE__ */ (function(a) {
12235
12239
  key: "registerIcons",
12236
12240
  value: function() {
12237
12241
  return {
12238
- playNext: _g
12242
+ playNext: bg
12239
12243
  };
12240
12244
  }
12241
12245
  }, {
@@ -12284,12 +12288,12 @@ var bg = /* @__PURE__ */ (function(a) {
12284
12288
  };
12285
12289
  }
12286
12290
  }]), n;
12287
- })(W), Qt = { exports: {} }, Cg = Qt.exports, fu;
12288
- function kg() {
12291
+ })(W), Qt = { exports: {} }, kg = Qt.exports, fu;
12292
+ function wg() {
12289
12293
  return fu || (fu = 1, (function(a, s) {
12290
12294
  (function(n, t) {
12291
12295
  a.exports = t();
12292
- })(Cg, function() {
12296
+ })(kg, function() {
12293
12297
  return function n(t, e, i) {
12294
12298
  var r = window, o = "application/octet-stream", u = i || o, l = t, c = !e && !i && l, f = document.createElement("a"), d = function(R) {
12295
12299
  return String(R);
@@ -12357,9 +12361,9 @@ Use Save As... to download, then click back to return to this page.`) && (locati
12357
12361
  });
12358
12362
  })(Qt)), Qt.exports;
12359
12363
  }
12360
- var wg = kg();
12361
- const Tg = /* @__PURE__ */ Yr(wg);
12362
- function Sg() {
12364
+ var Tg = wg();
12365
+ const Sg = /* @__PURE__ */ Yr(Tg);
12366
+ function Eg() {
12363
12367
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
12364
12368
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
12365
12369
  <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
@@ -12376,7 +12380,7 @@ function Sg() {
12376
12380
  </svg>
12377
12381
  `, "image/svg+xml").firstChild;
12378
12382
  }
12379
- var Eg = /* @__PURE__ */ (function(a) {
12383
+ var xg = /* @__PURE__ */ (function(a) {
12380
12384
  M(n, a);
12381
12385
  var s = F(n);
12382
12386
  function n(t) {
@@ -12387,7 +12391,7 @@ var Eg = /* @__PURE__ */ (function(a) {
12387
12391
  var r = e.playerConfig.url, o = "";
12388
12392
  h.typeOf(r) === "String" ? o = r : h.typeOf(r) === "Array" && r.length > 0 && (o = r[0].src);
12389
12393
  var u = e.getAbsoluteURL(o);
12390
- Tg(u), e.isLock = !0, e.timer = window.setTimeout(function() {
12394
+ Sg(u), e.isLock = !0, e.timer = window.setTimeout(function() {
12391
12395
  e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
12392
12396
  }, 300);
12393
12397
  }
@@ -12406,7 +12410,7 @@ var Eg = /* @__PURE__ */ (function(a) {
12406
12410
  key: "registerIcons",
12407
12411
  value: function() {
12408
12412
  return {
12409
- download: Sg
12413
+ download: Eg
12410
12414
  };
12411
12415
  }
12412
12416
  }, {
@@ -12448,7 +12452,7 @@ var Eg = /* @__PURE__ */ (function(a) {
12448
12452
  };
12449
12453
  }
12450
12454
  }]), n;
12451
- })(rt), xg = /* @__PURE__ */ (function(a) {
12455
+ })(rt), Ig = /* @__PURE__ */ (function(a) {
12452
12456
  M(n, a);
12453
12457
  var s = F(n);
12454
12458
  function n() {
@@ -12574,7 +12578,7 @@ var Eg = /* @__PURE__ */ (function(a) {
12574
12578
  };
12575
12579
  }
12576
12580
  }]), n;
12577
- })(rt), Ig = /* @__PURE__ */ (function() {
12581
+ })(rt), Pg = /* @__PURE__ */ (function() {
12578
12582
  function a(s) {
12579
12583
  P(this, a), this.config = s.config, this.parent = s.root, this.root = h.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), s.root.appendChild(this.root);
12580
12584
  var n = this.config.maxHeight;
@@ -12654,7 +12658,7 @@ var Eg = /* @__PURE__ */ (function(a) {
12654
12658
  CLICK: "click",
12655
12659
  HOVER: "hover"
12656
12660
  };
12657
- function Pg(a, s) {
12661
+ function Ag(a, s) {
12658
12662
  return a === Ie.SIDE ? s === J.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
12659
12663
  }
12660
12664
  var Ze = j.device === "mobile", li = /* @__PURE__ */ (function(a) {
@@ -12768,7 +12772,7 @@ var Ze = j.device === "mobile", li = /* @__PURE__ */ (function(a) {
12768
12772
  var c = {
12769
12773
  config: {
12770
12774
  data: e || [],
12771
- className: Pg(o.listType, o.position),
12775
+ className: Ag(o.listType, o.position),
12772
12776
  onItemClick: function(m, p) {
12773
12777
  r.onItemClick(m, p);
12774
12778
  },
@@ -12778,7 +12782,7 @@ var Ze = j.device === "mobile", li = /* @__PURE__ */ (function(a) {
12778
12782
  };
12779
12783
  if (this.config.isShowIcon) {
12780
12784
  var f = this.player.root.getBoundingClientRect(), d = f.height, g = o.listType === Ie.MIDDLE ? d - 50 : d;
12781
- g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new Ig(c), this.changeCurrentText(), this.show();
12785
+ g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new Pg(c), this.changeCurrentText(), this.show();
12782
12786
  }
12783
12787
  this._resizeList();
12784
12788
  }
@@ -12829,7 +12833,7 @@ var Ze = j.device === "mobile", li = /* @__PURE__ */ (function(a) {
12829
12833
  };
12830
12834
  }
12831
12835
  }]), n;
12832
- })(W), Ag = /* @__PURE__ */ (function(a) {
12836
+ })(W), Lg = /* @__PURE__ */ (function(a) {
12833
12837
  M(n, a);
12834
12838
  var s = F(n);
12835
12839
  function n(t) {
@@ -12930,7 +12934,7 @@ var Ze = j.device === "mobile", li = /* @__PURE__ */ (function(a) {
12930
12934
  });
12931
12935
  }
12932
12936
  }]), n;
12933
- })(li), Lg = /* @__PURE__ */ (function(a) {
12937
+ })(li), Dg = /* @__PURE__ */ (function(a) {
12934
12938
  M(n, a);
12935
12939
  var s = F(n);
12936
12940
  function n(t) {
@@ -13022,7 +13026,7 @@ var Ze = j.device === "mobile", li = /* @__PURE__ */ (function(a) {
13022
13026
  });
13023
13027
  }
13024
13028
  }]), n;
13025
- })(li), Dg = /* @__PURE__ */ (function(a) {
13029
+ })(li), Rg = /* @__PURE__ */ (function(a) {
13026
13030
  M(n, a);
13027
13031
  var s = F(n);
13028
13032
  function n() {
@@ -13083,7 +13087,7 @@ var Ze = j.device === "mobile", li = /* @__PURE__ */ (function(a) {
13083
13087
  return "error";
13084
13088
  }
13085
13089
  }]), n;
13086
- })(W), Rg = /* @__PURE__ */ (function(a) {
13090
+ })(W), Og = /* @__PURE__ */ (function(a) {
13087
13091
  M(n, a);
13088
13092
  var s = F(n);
13089
13093
  function n() {
@@ -13313,7 +13317,7 @@ var du = {
13313
13317
  return n.find('xg-spot[data-id="'.concat(s, '"]'));
13314
13318
  }
13315
13319
  };
13316
- function Og(a) {
13320
+ function Mg(a) {
13317
13321
  var s = a.config, n = a.player;
13318
13322
  Object.keys(du).map(function(e) {
13319
13323
  a[e] = du[e].bind(a);
@@ -13337,7 +13341,7 @@ var ht = {
13337
13341
  click: "onProgressClick",
13338
13342
  mouseover: "onProgressMouseOver",
13339
13343
  mouseenter: "onProgressMouseOver"
13340
- }, Mg = /* @__PURE__ */ (function(a) {
13344
+ }, Fg = /* @__PURE__ */ (function(a) {
13341
13345
  M(n, a);
13342
13346
  var s = F(n);
13343
13347
  function n(t) {
@@ -13388,7 +13392,7 @@ var ht = {
13388
13392
  r.seekTime && e.player.seek(r.seekTime);
13389
13393
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
13390
13394
  e.setTimeContent(h.format(i));
13391
- }), Og(this), this.on(Be, function() {
13395
+ }), Mg(this), this.on(Be, function() {
13392
13396
  e.show();
13393
13397
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
13394
13398
  }
@@ -13612,7 +13616,7 @@ var ht = {
13612
13616
  };
13613
13617
  }
13614
13618
  }]), n;
13615
- })(W), Fg = /* @__PURE__ */ (function(a) {
13619
+ })(W), Ng = /* @__PURE__ */ (function(a) {
13616
13620
  M(n, a);
13617
13621
  var s = F(n);
13618
13622
  function n(t) {
@@ -13749,7 +13753,7 @@ var ht = {
13749
13753
  function Nr(a) {
13750
13754
  return a ? "background:".concat(a, ";") : "";
13751
13755
  }
13752
- var Ng = /* @__PURE__ */ (function(a) {
13756
+ var Bg = /* @__PURE__ */ (function(a) {
13753
13757
  M(n, a);
13754
13758
  var s = F(n);
13755
13759
  function n() {
@@ -13836,14 +13840,14 @@ var Ng = /* @__PURE__ */ (function(a) {
13836
13840
  FIRST_FRAME: "firstframe",
13837
13841
  POSTER: "poster"
13838
13842
  };
13839
- function Bg() {
13843
+ function Hg() {
13840
13844
  try {
13841
13845
  return parseInt(window.performance.now(), 10);
13842
13846
  } catch {
13843
13847
  return (/* @__PURE__ */ new Date()).getTime();
13844
13848
  }
13845
13849
  }
13846
- function Hg() {
13850
+ function Ug() {
13847
13851
  try {
13848
13852
  var a = document.createElement("canvas").getContext;
13849
13853
  return !!a;
@@ -13851,7 +13855,7 @@ function Hg() {
13851
13855
  return !1;
13852
13856
  }
13853
13857
  }
13854
- var Zt = null, Ug = /* @__PURE__ */ (function(a) {
13858
+ var Zt = null, jg = /* @__PURE__ */ (function(a) {
13855
13859
  M(n, a);
13856
13860
  var s = F(n);
13857
13861
  function n() {
@@ -13872,7 +13876,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
13872
13876
  !t.player.paused && t._checkIfCanStart() && t.start(0, u);
13873
13877
  }
13874
13878
  }), _(y(t), "start", function(o, u) {
13875
- var l = t.player.video, c = Bg(), f = t.checkVideoIsSupport(l);
13879
+ var l = t.player.video, c = Hg(), f = t.checkVideoIsSupport(l);
13876
13880
  !f || !t.canvasCtx || (u || (u = t.interval), t.stop(), l.videoWidth && l.videoHeight && (t.videoPI = l.videoHeight > 0 ? parseInt(l.videoWidth / l.videoHeight * 100, 10) : 0, (t.config.mode === dt.REAL_TIME || c - t.preTime >= u) && (l && l.videoWidth && t.update(f, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? h.setTimeout(y(t), t.start, u) : h.requestAnimationFrame(t.start));
13877
13881
  }), _(y(t), "stop", function() {
13878
13882
  t.frameId && (t._loopType === "timer" ? h.clearTimeout(y(t), t.frameId) : h.cancelAnimationFrame(t.frameId), t.frameId = null);
@@ -14045,7 +14049,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
14045
14049
  }, {
14046
14050
  key: "isSupport",
14047
14051
  get: function() {
14048
- return typeof Zt == "boolean" || (Zt = Hg()), Zt;
14052
+ return typeof Zt == "boolean" || (Zt = Ug()), Zt;
14049
14053
  }
14050
14054
  }, {
14051
14055
  key: "supportCanvasFilter",
@@ -14053,7 +14057,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
14053
14057
  return !(j.browser === "safari" || j.browser === "firefox");
14054
14058
  }
14055
14059
  }]), n;
14056
- })(W), jg = {
14060
+ })(W), zg = {
14057
14061
  LANG: "zh-cn",
14058
14062
  TEXT: {
14059
14063
  ERROR_TYPES: {
@@ -14128,7 +14132,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
14128
14132
  FORWARD: "快进中",
14129
14133
  LIVE_TIP: "直播"
14130
14134
  }
14131
- }, kt = "info", Br = rl, zg = /* @__PURE__ */ (function(a) {
14135
+ }, kt = "info", Br = rl, Vg = /* @__PURE__ */ (function(a) {
14132
14136
  M(n, a);
14133
14137
  var s = F(n);
14134
14138
  function n() {
@@ -14362,7 +14366,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
14362
14366
  }]), n;
14363
14367
  })(W);
14364
14368
  yl.BROWSER_GAP_TOLERANCE = 1e-3;
14365
- var Vg = /* @__PURE__ */ (function(a) {
14369
+ var qg = /* @__PURE__ */ (function(a) {
14366
14370
  M(n, a);
14367
14371
  var s = F(n);
14368
14372
  function n() {
@@ -14408,7 +14412,7 @@ var Vg = /* @__PURE__ */ (function(a) {
14408
14412
  };
14409
14413
  }
14410
14414
  }]), n;
14411
- })(W), gt = "cdn", Jt = ["cdn"], qg = /* @__PURE__ */ (function(a) {
14415
+ })(W), gt = "cdn", Jt = ["cdn"], Gg = /* @__PURE__ */ (function(a) {
14412
14416
  M(n, a);
14413
14417
  var s = F(n);
14414
14418
  function n() {
@@ -14534,7 +14538,7 @@ var Vg = /* @__PURE__ */ (function(a) {
14534
14538
  };
14535
14539
  }
14536
14540
  }]), n;
14537
- })(W), Gg = /* @__PURE__ */ (function(a) {
14541
+ })(W), Wg = /* @__PURE__ */ (function(a) {
14538
14542
  M(n, a);
14539
14543
  var s = F(n);
14540
14544
  function n() {
@@ -14644,24 +14648,24 @@ var Vg = /* @__PURE__ */ (function(a) {
14644
14648
  }
14645
14649
  }]), n;
14646
14650
  })(W);
14647
- vt.use(jg);
14648
- var Wg = /* @__PURE__ */ A(function a(s, n) {
14651
+ vt.use(zg);
14652
+ var Kg = /* @__PURE__ */ A(function a(s, n) {
14649
14653
  var t, e, i;
14650
14654
  P(this, a);
14651
- var r = n && n.isMobileSimulateMode === "mobile", o = n.isLive, u = o ? [] : [dg, dl, Ng, Mg, gl], l = [].concat(u, [hl, fl, vg, bg, Ag, Lg, Eg, xg, vl, yg]), c = [Yd, Xd, Jd, hg, Qd, Dg, Rg, Fg, ng];
14652
- this.plugins = [zg, Kd].concat(Ee(l), c, [yl, Vg]);
14655
+ var r = n && n.isMobileSimulateMode === "mobile", o = n.isLive, u = o ? [] : [gg, dl, Bg, Fg, gl], l = [].concat(u, [hl, fl, pg, Cg, Lg, Dg, xg, Ig, vl, _g]), c = [Xd, Zd, Qd, dg, eg, Rg, Og, Ng, rg];
14656
+ this.plugins = [Vg, $d].concat(Ee(l), c, [yl, qg]);
14653
14657
  var f = r ? "mobile" : j.device;
14654
14658
  switch (f) {
14655
14659
  case "pc":
14656
- (t = this.plugins).push.apply(t, [cu, Mr, Kr, qg, Gg]);
14660
+ (t = this.plugins).push.apply(t, [cu, Mr, Kr, Gg, Wg]);
14657
14661
  break;
14658
14662
  case "mobile":
14659
- (e = this.plugins).push.apply(e, [lg]);
14663
+ (e = this.plugins).push.apply(e, [cg]);
14660
14664
  break;
14661
14665
  default:
14662
14666
  (i = this.plugins).push.apply(i, [cu, Mr, Kr]);
14663
14667
  }
14664
- (j.os.isIpad || f === "pc") && this.plugins.push(Ug), j.os.isIpad && this.plugins.push(Mr), this.ignores = [], this.i18n = [];
14668
+ (j.os.isIpad || f === "pc") && this.plugins.push(jg), j.os.isIpad && this.plugins.push(Mr), this.ignores = [], this.i18n = [];
14665
14669
  }), ue = /* @__PURE__ */ (function(a) {
14666
14670
  M(n, a);
14667
14671
  var s = F(n);
@@ -14670,11 +14674,11 @@ var Wg = /* @__PURE__ */ A(function a(s, n) {
14670
14674
  }
14671
14675
  return A(n);
14672
14676
  })(ki);
14673
- _(ue, "defaultPreset", Wg);
14677
+ _(ue, "defaultPreset", Kg);
14674
14678
  _(ue, "Util", h);
14675
14679
  _(ue, "Sniffer", j);
14676
14680
  _(ue, "Errors", ei);
14677
- _(ue, "Events", gd);
14681
+ _(ue, "Events", vd);
14678
14682
  _(ue, "Plugin", W);
14679
14683
  _(ue, "BasePlugin", Ke);
14680
14684
  _(ue, "I18N", vt);
@@ -14686,7 +14690,7 @@ _(ue, "Progress", dl);
14686
14690
  _(ue, "FullscreenIcon", fl);
14687
14691
  _(ue, "CssFullscreenIcon", Kr);
14688
14692
  _(ue, "VolumeIcon", vl);
14689
- const Kg = ["id"], $g = /* @__PURE__ */ ae({
14693
+ const $g = ["id"], Yg = /* @__PURE__ */ ae({
14690
14694
  name: "ElImageViewer",
14691
14695
  __name: "Player",
14692
14696
  props: /* @__PURE__ */ Pt({
@@ -14784,7 +14788,7 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
14784
14788
  class: ee(I(f).e("canvas"))
14785
14789
  },
14786
14790
  [
14787
- S("div", { id: I(c) }, null, 8, Kg),
14791
+ S("div", { id: I(c) }, null, 8, $g),
14788
14792
  Z(" CLOSE "),
14789
14793
  S(
14790
14794
  "span",
@@ -14820,7 +14824,7 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
14820
14824
  ])) : Z("v-if", !0);
14821
14825
  };
14822
14826
  }
14823
- }), Yg = /* @__PURE__ */ fi($g, [["__scopeId", "data-v-b301aa7d"]]), Xg = Ne(Yg), Zg = { key: 2 }, Jg = /* @__PURE__ */ ae({
14827
+ }), Xg = /* @__PURE__ */ fi(Yg, [["__scopeId", "data-v-b301aa7d"]]), Zg = Ne(Xg), Jg = { key: 2 }, Qg = /* @__PURE__ */ ae({
14824
14828
  __name: "IkDescription",
14825
14829
  props: {
14826
14830
  showIcon: {
@@ -14864,9 +14868,9 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
14864
14868
  }
14865
14869
  },
14866
14870
  setup(a) {
14867
- Ml((u) => ({
14868
- v2c889c15: e.value,
14869
- v2b18e4f0: r.value
14871
+ Ml((l) => ({
14872
+ v94702e64: e.value,
14873
+ v61b7e769: r.value
14870
14874
  }));
14871
14875
  const s = a, n = {
14872
14876
  id: "id",
@@ -14876,55 +14880,60 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
14876
14880
  tag: "tag",
14877
14881
  fileList: "fileList",
14878
14882
  ...s.fileField
14879
- }, t = Fl(), e = Q(() => typeof s.labelWidth == "number" ? `${s.labelWidth}px` : s.labelWidth), i = (/* @__PURE__ */ new Date()).getTime(), r = pe(""), o = Q(() => s.listData.filter((u) => u.show !== !1));
14880
- return gu(() => {
14881
- ci(() => {
14882
- var d;
14883
- const u = Number.parseInt(
14883
+ }, t = Fl(), e = Q(() => typeof s.labelWidth == "number" ? `${s.labelWidth}px` : s.labelWidth), i = (/* @__PURE__ */ new Date()).getTime(), r = pe(""), o = Q(() => s.listData.filter((l) => l.show !== !1)), u = () => {
14884
+ r.value && r.value !== "100%" || ci(() => {
14885
+ var g;
14886
+ const l = Number(
14884
14887
  (t == null ? void 0 : t.column) || s.column || s.props.column
14885
14888
  );
14886
- if (!u) {
14889
+ if (!l) {
14887
14890
  r.value = "";
14888
14891
  return;
14889
14892
  }
14890
- const l = document.getElementById(`ik-description__container-${i}`), c = (d = l == null ? void 0 : l.getBoundingClientRect()) == null ? void 0 : d.width, f = (c - Number.parseInt(e.value) * u) / u;
14891
- r.value = c ? `${f}px` : "100%";
14893
+ const c = document.getElementById(`ik-description__container-${i}`), f = (g = c == null ? void 0 : c.getBoundingClientRect()) == null ? void 0 : g.width;
14894
+ if (!f) {
14895
+ r.value = "100%";
14896
+ return;
14897
+ }
14898
+ const d = (f - Number.parseInt(e.value) * l) / l;
14899
+ r.value = `${d}px`;
14892
14900
  });
14893
- }), (u, l) => {
14894
- const c = pt("el-descriptions-item"), f = pt("el-descriptions");
14895
- return E(), oe(f, It({
14901
+ };
14902
+ return gu(u), Nl(u), (l, c) => {
14903
+ const f = pt("el-descriptions-item"), d = pt("el-descriptions");
14904
+ return E(), oe(d, It({
14896
14905
  id: `ik-description__container-${I(i)}`,
14897
14906
  class: "margin-top"
14898
14907
  }, { ...a.titleProps, ...s, ...s.props }), {
14899
14908
  extra: ie(() => [
14900
- Se(u.$slots, "extra", {}, void 0, !0)
14909
+ Se(l.$slots, "extra", {}, void 0, !0)
14901
14910
  ]),
14902
14911
  default: ie(() => [
14903
14912
  (E(!0), L(
14904
14913
  ve,
14905
14914
  null,
14906
- xt(o.value, (d) => (E(), oe(
14907
- c,
14915
+ xt(o.value, (g) => (E(), oe(
14916
+ f,
14908
14917
  It({
14909
- key: d[n.id]
14918
+ key: g[n.id]
14910
14919
  }, { ref_for: !0 }, {
14911
- ...d[n.props],
14912
- ...d
14920
+ ...g[n.props],
14921
+ ...g
14913
14922
  }),
14914
14923
  {
14915
14924
  label: ie(() => [
14916
- Se(u.$slots, d[n.label], { item: d }, () => [
14925
+ Se(l.$slots, g[n.label], { item: g }, () => [
14917
14926
  Lt(
14918
- we(d[n.label]),
14927
+ we(g[n.label]),
14919
14928
  1
14920
14929
  /* TEXT */
14921
14930
  )
14922
14931
  ], !0)
14923
14932
  ]),
14924
14933
  default: ie(() => [
14925
- Se(u.$slots, `${d[n.label]}_value`, { item: d }, () => [
14926
- d[n.tag] ? (E(), oe(
14927
- I(Hl),
14934
+ Se(l.$slots, `${g[n.label]}_value`, { item: g }, () => [
14935
+ g[n.tag] ? (E(), oe(
14936
+ I(Ul),
14928
14937
  {
14929
14938
  key: 0,
14930
14939
  size: "small"
@@ -14932,7 +14941,7 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
14932
14941
  {
14933
14942
  default: ie(() => [
14934
14943
  Lt(
14935
- we(d[n.value].value),
14944
+ we(g[n.value].value),
14936
14945
  1
14937
14946
  /* TEXT */
14938
14947
  )
@@ -14942,17 +14951,17 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
14942
14951
  },
14943
14952
  1024
14944
14953
  /* DYNAMIC_SLOTS */
14945
- )) : d[n.fileList] ? (E(), oe(I(Rc), It({
14954
+ )) : g[n.fileList] ? (E(), oe(I(Oc), It({
14946
14955
  key: 1,
14947
- list: d[n.fileList],
14956
+ list: g[n.fileList],
14948
14957
  field: a.fileField,
14949
14958
  "load-url": a.loadUrl,
14950
14959
  "show-bg": !1,
14951
14960
  "show-file-size": !0
14952
14961
  }, { ref_for: !0 }, a.previewProps), null, 16, ["list", "field", "load-url"])) : (E(), L(
14953
14962
  "span",
14954
- Zg,
14955
- we(d[n.value]),
14963
+ Jg,
14964
+ we(g[n.value]),
14956
14965
  1
14957
14966
  /* TEXT */
14958
14967
  ))
@@ -14973,8 +14982,8 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
14973
14982
  }, 16, ["id"]);
14974
14983
  };
14975
14984
  }
14976
- }), Qg = /* @__PURE__ */ fi(Jg, [["__scopeId", "data-v-443424f0"]]), nv = Ne(Qg);
14985
+ }), ev = /* @__PURE__ */ fi(Qg, [["__scopeId", "data-v-015073e3"]]), rv = Ne(ev);
14977
14986
  export {
14978
- nv as IkDescriptions,
14979
- nv as default
14987
+ rv as IkDescriptions,
14988
+ rv as default
14980
14989
  };