iking-web-ui-pro 1.2.8 → 1.2.9
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.
- package/dist/IkApprovalProcessDetail/ik.index.es.js +494 -490
- package/dist/IkDescription/ik.index.es.js +436 -432
- package/dist/IkDetailPreviewFiles/ik.index.es.js +442 -438
- package/dist/IkPreviewFile/ik.index.es.js +434 -430
- package/dist/IkUploadFile/ik.index.es.js +143 -139
- package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
- package/dist/iking-web-ui-pro.css +1 -1
- package/dist/{index-Cbyui2C0.mjs → index-skQr1Jxv.mjs} +786 -778
- package/dist/{index.es-ByDyBGi-.mjs → index.es--LLk46rW.mjs} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/{jspdf.es.min-BpyVpHjP.mjs → jspdf.es.min-DW3hZMv2.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as re, computed as J, openBlock as E, createElementBlock as R, createElementVNode as S, inject as ft, ref as de, Fragment as ye, createCommentVNode as X, renderList as Lt, normalizeStyle as Se, toDisplayString as ge, unref as x, normalizeClass as te, createBlock as se, withModifiers as et, renderSlot as Ee, createVNode as Y, useModel as ea, reactive as Ll, watch as Dt, nextTick as vi, withCtx as ie, mergeModels as Ot, resolveComponent as bt, mergeProps as Rt, createTextVNode as Mt, h as Rl, createSlots as Dl, getCurrentScope as Ol, onScopeDispose as Ml, markRaw as Ia, effectScope as Fl, shallowRef as Nl, onMounted as mu, Teleport as yu, Transition as _u, resolveDynamicComponent as Bl, withDirectives as Hl, vShow as Ul, useCssVars as jl, useAttrs as zl, onUpdated as Vl } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { paramType as Gr, ikFile as
|
|
2
|
+
import { ElMessage as ql, useLocale as Wl, useNamespace as bu, useZIndex as Gl, ElIcon as Ve, EVENT_CODE as ht, ElTag as Kl } from "element-plus";
|
|
3
|
+
import { paramType as Gr, ikFile as $l, buildUUID as Cu, ikColor as Yl, _ as Pi } from "iking-utils-pro";
|
|
4
4
|
const He = (a, s) => (a.install = (r) => {
|
|
5
5
|
for (const t of [a, ...Object.values({})])
|
|
6
6
|
r.component(t.name, t);
|
|
@@ -26,7 +26,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
26
26
|
if (typeof t == "string" && (t.includes(l) || t === l))
|
|
27
27
|
return e[l];
|
|
28
28
|
return "unknown";
|
|
29
|
-
},
|
|
29
|
+
}, Xl = {
|
|
30
30
|
".doc": "word",
|
|
31
31
|
".docx": "word",
|
|
32
32
|
".docxf": "word",
|
|
@@ -113,11 +113,11 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
113
113
|
".pdf": "pdf"
|
|
114
114
|
}, Pa = (a) => {
|
|
115
115
|
const s = a == null ? void 0 : a.toLocaleLowerCase(), r = s != null && s.startsWith(".") ? s : `.${s}`;
|
|
116
|
-
return r &&
|
|
117
|
-
},
|
|
116
|
+
return r && Xl[r] || "unknow";
|
|
117
|
+
}, Zl = (a) => {
|
|
118
118
|
let s = "", r = ["doc", "docx"], t = ["xls", "xlsx"], e = ["ppt", "pptx"], i = ["pdf"];
|
|
119
119
|
return r.includes(a) && (s = "word"), t.includes(a) && (s = "cell"), e.includes(a) && (s = "slide"), i.includes(a) && (s = "text-pdf"), s;
|
|
120
|
-
},
|
|
120
|
+
}, Jl = {
|
|
121
121
|
key: 0,
|
|
122
122
|
t: "1686300059786",
|
|
123
123
|
class: "icon",
|
|
@@ -127,7 +127,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
127
127
|
"p-id": "7671",
|
|
128
128
|
width: "200",
|
|
129
129
|
height: "200"
|
|
130
|
-
},
|
|
130
|
+
}, Ql = {
|
|
131
131
|
key: 1,
|
|
132
132
|
t: "1686301531714",
|
|
133
133
|
class: "icon",
|
|
@@ -137,7 +137,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
137
137
|
"p-id": "9067",
|
|
138
138
|
width: "200",
|
|
139
139
|
height: "200"
|
|
140
|
-
},
|
|
140
|
+
}, ec = {
|
|
141
141
|
key: 2,
|
|
142
142
|
t: "1686300141125",
|
|
143
143
|
class: "icon",
|
|
@@ -147,7 +147,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
147
147
|
"p-id": "8137",
|
|
148
148
|
width: "200",
|
|
149
149
|
height: "200"
|
|
150
|
-
},
|
|
150
|
+
}, tc = {
|
|
151
151
|
key: 3,
|
|
152
152
|
t: "1686300157181",
|
|
153
153
|
class: "icon",
|
|
@@ -157,7 +157,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
157
157
|
"p-id": "8292",
|
|
158
158
|
width: "200",
|
|
159
159
|
height: "200"
|
|
160
|
-
},
|
|
160
|
+
}, ic = {
|
|
161
161
|
key: 4,
|
|
162
162
|
t: "1686300180947",
|
|
163
163
|
class: "icon",
|
|
@@ -167,7 +167,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
167
167
|
"p-id": "8447",
|
|
168
168
|
width: "200",
|
|
169
169
|
height: "200"
|
|
170
|
-
},
|
|
170
|
+
}, nc = {
|
|
171
171
|
key: 5,
|
|
172
172
|
t: "1686300195363",
|
|
173
173
|
class: "icon",
|
|
@@ -177,7 +177,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
177
177
|
"p-id": "8602",
|
|
178
178
|
width: "200",
|
|
179
179
|
height: "200"
|
|
180
|
-
},
|
|
180
|
+
}, rc = {
|
|
181
181
|
key: 6,
|
|
182
182
|
t: "1686300209288",
|
|
183
183
|
class: "icon",
|
|
@@ -187,7 +187,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
187
187
|
"p-id": "8757",
|
|
188
188
|
width: "200",
|
|
189
189
|
height: "200"
|
|
190
|
-
},
|
|
190
|
+
}, ac = {
|
|
191
191
|
key: 7,
|
|
192
192
|
t: "1686300225262",
|
|
193
193
|
class: "icon",
|
|
@@ -197,7 +197,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
197
197
|
"p-id": "8912",
|
|
198
198
|
width: "200",
|
|
199
199
|
height: "200"
|
|
200
|
-
},
|
|
200
|
+
}, sc = {
|
|
201
201
|
key: 8,
|
|
202
202
|
t: "1692251753690",
|
|
203
203
|
class: "icon",
|
|
@@ -207,7 +207,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
207
207
|
"p-id": "4336",
|
|
208
208
|
width: "200",
|
|
209
209
|
height: "200"
|
|
210
|
-
},
|
|
210
|
+
}, oc = {
|
|
211
211
|
key: 9,
|
|
212
212
|
t: "1692251753690",
|
|
213
213
|
class: "icon",
|
|
@@ -217,7 +217,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
217
217
|
"p-id": "4336",
|
|
218
218
|
width: "200",
|
|
219
219
|
height: "200"
|
|
220
|
-
},
|
|
220
|
+
}, uc = {
|
|
221
221
|
key: 10,
|
|
222
222
|
t: "1714099890925",
|
|
223
223
|
class: "icon",
|
|
@@ -227,7 +227,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
227
227
|
"p-id": "2271",
|
|
228
228
|
width: "200",
|
|
229
229
|
height: "200"
|
|
230
|
-
},
|
|
230
|
+
}, lc = {
|
|
231
231
|
key: 11,
|
|
232
232
|
t: "1686300037564",
|
|
233
233
|
class: "icon",
|
|
@@ -237,7 +237,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
237
237
|
"p-id": "7515",
|
|
238
238
|
width: "200",
|
|
239
239
|
height: "200"
|
|
240
|
-
},
|
|
240
|
+
}, cc = /* @__PURE__ */ re({
|
|
241
241
|
__name: "IkFileIcon",
|
|
242
242
|
props: {
|
|
243
243
|
type: {
|
|
@@ -259,7 +259,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
259
259
|
},
|
|
260
260
|
setup(a) {
|
|
261
261
|
const s = a, r = J(() => s.file ? ni(s.file, s.fields) : s.type);
|
|
262
|
-
return (t, e) => r.value === "image" ? (E(), R("svg",
|
|
262
|
+
return (t, e) => r.value === "image" ? (E(), R("svg", Jl, [...e[0] || (e[0] = [
|
|
263
263
|
S(
|
|
264
264
|
"path",
|
|
265
265
|
{
|
|
@@ -304,7 +304,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
304
304
|
-1
|
|
305
305
|
/* CACHED */
|
|
306
306
|
)
|
|
307
|
-
])])) : r.value === "zip" ? (E(), R("svg",
|
|
307
|
+
])])) : r.value === "zip" ? (E(), R("svg", Ql, [...e[1] || (e[1] = [
|
|
308
308
|
S(
|
|
309
309
|
"path",
|
|
310
310
|
{
|
|
@@ -327,7 +327,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
327
327
|
-1
|
|
328
328
|
/* CACHED */
|
|
329
329
|
)
|
|
330
|
-
])])) : r.value === "ppt" ? (E(), R("svg",
|
|
330
|
+
])])) : r.value === "ppt" ? (E(), R("svg", ec, [...e[2] || (e[2] = [
|
|
331
331
|
S(
|
|
332
332
|
"path",
|
|
333
333
|
{
|
|
@@ -350,7 +350,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
350
350
|
-1
|
|
351
351
|
/* CACHED */
|
|
352
352
|
)
|
|
353
|
-
])])) : r.value === "word" ? (E(), R("svg",
|
|
353
|
+
])])) : r.value === "word" ? (E(), R("svg", tc, [...e[3] || (e[3] = [
|
|
354
354
|
S(
|
|
355
355
|
"path",
|
|
356
356
|
{
|
|
@@ -373,7 +373,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
373
373
|
-1
|
|
374
374
|
/* CACHED */
|
|
375
375
|
)
|
|
376
|
-
])])) : r.value === "pdf" ? (E(), R("svg",
|
|
376
|
+
])])) : r.value === "pdf" ? (E(), R("svg", ic, [...e[4] || (e[4] = [
|
|
377
377
|
S(
|
|
378
378
|
"path",
|
|
379
379
|
{
|
|
@@ -396,7 +396,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
396
396
|
-1
|
|
397
397
|
/* CACHED */
|
|
398
398
|
)
|
|
399
|
-
])])) : r.value === "txt" ? (E(), R("svg",
|
|
399
|
+
])])) : r.value === "txt" ? (E(), R("svg", nc, [...e[5] || (e[5] = [
|
|
400
400
|
S(
|
|
401
401
|
"path",
|
|
402
402
|
{
|
|
@@ -419,7 +419,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
419
419
|
-1
|
|
420
420
|
/* CACHED */
|
|
421
421
|
)
|
|
422
|
-
])])) : r.value === "audio" ? (E(), R("svg",
|
|
422
|
+
])])) : r.value === "audio" ? (E(), R("svg", rc, [...e[6] || (e[6] = [
|
|
423
423
|
S(
|
|
424
424
|
"path",
|
|
425
425
|
{
|
|
@@ -442,7 +442,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
442
442
|
-1
|
|
443
443
|
/* CACHED */
|
|
444
444
|
)
|
|
445
|
-
])])) : r.value === "video" ? (E(), R("svg",
|
|
445
|
+
])])) : r.value === "video" ? (E(), R("svg", ac, [...e[7] || (e[7] = [
|
|
446
446
|
S(
|
|
447
447
|
"path",
|
|
448
448
|
{
|
|
@@ -465,7 +465,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
465
465
|
-1
|
|
466
466
|
/* CACHED */
|
|
467
467
|
)
|
|
468
|
-
])])) : r.value === "excel" ? (E(), R("svg",
|
|
468
|
+
])])) : r.value === "excel" ? (E(), R("svg", sc, [...e[8] || (e[8] = [
|
|
469
469
|
S(
|
|
470
470
|
"path",
|
|
471
471
|
{
|
|
@@ -500,7 +500,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
500
500
|
-1
|
|
501
501
|
/* CACHED */
|
|
502
502
|
)
|
|
503
|
-
])])) : r.value === "exe" ? (E(), R("svg",
|
|
503
|
+
])])) : r.value === "exe" ? (E(), R("svg", oc, [...e[9] || (e[9] = [
|
|
504
504
|
S(
|
|
505
505
|
"path",
|
|
506
506
|
{
|
|
@@ -546,7 +546,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
546
546
|
-1
|
|
547
547
|
/* CACHED */
|
|
548
548
|
)
|
|
549
|
-
])])) : r.value === "json" ? (E(), R("svg",
|
|
549
|
+
])])) : r.value === "json" ? (E(), R("svg", uc, [...e[10] || (e[10] = [
|
|
550
550
|
S(
|
|
551
551
|
"path",
|
|
552
552
|
{
|
|
@@ -581,7 +581,7 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
581
581
|
-1
|
|
582
582
|
/* CACHED */
|
|
583
583
|
)
|
|
584
|
-
])])) : (E(), R("svg",
|
|
584
|
+
])])) : (E(), R("svg", lc, [...e[11] || (e[11] = [
|
|
585
585
|
S(
|
|
586
586
|
"path",
|
|
587
587
|
{
|
|
@@ -617,9 +617,9 @@ const He = (a, s) => (a.install = (r) => {
|
|
|
617
617
|
)
|
|
618
618
|
])]));
|
|
619
619
|
}
|
|
620
|
-
}), Aa = He(
|
|
620
|
+
}), Aa = He(cc);
|
|
621
621
|
/*! Element Plus Icons Vue v2.3.2 */
|
|
622
|
-
var
|
|
622
|
+
var fc = /* @__PURE__ */ re({
|
|
623
623
|
name: "ArrowLeft",
|
|
624
624
|
__name: "arrow-left",
|
|
625
625
|
setup(a) {
|
|
@@ -633,7 +633,7 @@ var cc = /* @__PURE__ */ re({
|
|
|
633
633
|
})
|
|
634
634
|
]));
|
|
635
635
|
}
|
|
636
|
-
}),
|
|
636
|
+
}), hc = fc, dc = /* @__PURE__ */ re({
|
|
637
637
|
name: "ArrowRight",
|
|
638
638
|
__name: "arrow-right",
|
|
639
639
|
setup(a) {
|
|
@@ -647,7 +647,7 @@ var cc = /* @__PURE__ */ re({
|
|
|
647
647
|
})
|
|
648
648
|
]));
|
|
649
649
|
}
|
|
650
|
-
}),
|
|
650
|
+
}), gc = dc, vc = /* @__PURE__ */ re({
|
|
651
651
|
name: "Close",
|
|
652
652
|
__name: "close",
|
|
653
653
|
setup(a) {
|
|
@@ -661,7 +661,7 @@ var cc = /* @__PURE__ */ re({
|
|
|
661
661
|
})
|
|
662
662
|
]));
|
|
663
663
|
}
|
|
664
|
-
}), wu =
|
|
664
|
+
}), wu = vc, pc = /* @__PURE__ */ re({
|
|
665
665
|
name: "FullScreen",
|
|
666
666
|
__name: "full-screen",
|
|
667
667
|
setup(a) {
|
|
@@ -675,7 +675,7 @@ var cc = /* @__PURE__ */ re({
|
|
|
675
675
|
})
|
|
676
676
|
]));
|
|
677
677
|
}
|
|
678
|
-
}),
|
|
678
|
+
}), mc = pc, yc = /* @__PURE__ */ re({
|
|
679
679
|
name: "RefreshLeft",
|
|
680
680
|
__name: "refresh-left",
|
|
681
681
|
setup(a) {
|
|
@@ -689,7 +689,7 @@ var cc = /* @__PURE__ */ re({
|
|
|
689
689
|
})
|
|
690
690
|
]));
|
|
691
691
|
}
|
|
692
|
-
}),
|
|
692
|
+
}), _c = yc, bc = /* @__PURE__ */ re({
|
|
693
693
|
name: "RefreshRight",
|
|
694
694
|
__name: "refresh-right",
|
|
695
695
|
setup(a) {
|
|
@@ -703,7 +703,7 @@ var cc = /* @__PURE__ */ re({
|
|
|
703
703
|
})
|
|
704
704
|
]));
|
|
705
705
|
}
|
|
706
|
-
}),
|
|
706
|
+
}), Cc = bc, wc = /* @__PURE__ */ re({
|
|
707
707
|
name: "ScaleToOriginal",
|
|
708
708
|
__name: "scale-to-original",
|
|
709
709
|
setup(a) {
|
|
@@ -717,7 +717,7 @@ var cc = /* @__PURE__ */ re({
|
|
|
717
717
|
})
|
|
718
718
|
]));
|
|
719
719
|
}
|
|
720
|
-
}),
|
|
720
|
+
}), kc = wc, Tc = /* @__PURE__ */ re({
|
|
721
721
|
name: "ZoomIn",
|
|
722
722
|
__name: "zoom-in",
|
|
723
723
|
setup(a) {
|
|
@@ -731,7 +731,7 @@ var cc = /* @__PURE__ */ re({
|
|
|
731
731
|
})
|
|
732
732
|
]));
|
|
733
733
|
}
|
|
734
|
-
}),
|
|
734
|
+
}), Sc = Tc, Ec = /* @__PURE__ */ re({
|
|
735
735
|
name: "ZoomOut",
|
|
736
736
|
__name: "zoom-out",
|
|
737
737
|
setup(a) {
|
|
@@ -745,7 +745,7 @@ var cc = /* @__PURE__ */ re({
|
|
|
745
745
|
})
|
|
746
746
|
]));
|
|
747
747
|
}
|
|
748
|
-
}),
|
|
748
|
+
}), xc = Ec;
|
|
749
749
|
const pi = (a, s) => {
|
|
750
750
|
const r = a.__vccOpts || a;
|
|
751
751
|
for (const [t, e] of s)
|
|
@@ -829,18 +829,18 @@ const pi = (a, s) => {
|
|
|
829
829
|
cUserInfo: d,
|
|
830
830
|
cOnlyofficePreviewType: g
|
|
831
831
|
};
|
|
832
|
-
},
|
|
832
|
+
}, Ic = ["onClick"], Pc = {
|
|
833
833
|
class: "flex align-center",
|
|
834
834
|
style: { width: "100%" }
|
|
835
|
-
},
|
|
835
|
+
}, Ac = ["title"], Lc = {
|
|
836
836
|
key: 0,
|
|
837
837
|
class: "size",
|
|
838
838
|
style: { "padding-right": "20px", "white-space": "nowrap" }
|
|
839
|
-
},
|
|
839
|
+
}, Rc = ["onClick"], Dc = { class: "file-list" }, Oc = ["title"], Mc = {
|
|
840
840
|
key: 0,
|
|
841
841
|
class: "size",
|
|
842
842
|
style: { "padding-right": "20px", "white-space": "nowrap" }
|
|
843
|
-
},
|
|
843
|
+
}, Fc = ["onClick"], Nc = { class: "text" }, Bc = ["title"], Hc = { class: "size" }, Uc = /* @__PURE__ */ re({
|
|
844
844
|
__name: "IkPreviewFile",
|
|
845
845
|
props: {
|
|
846
846
|
list: {
|
|
@@ -958,7 +958,11 @@ const pi = (a, s) => {
|
|
|
958
958
|
)
|
|
959
959
|
}, r.isOnlyOfficePreview && (c.value = !0), o("handPreview", l.value);
|
|
960
960
|
}, d = (p) => {
|
|
961
|
-
|
|
961
|
+
ql({
|
|
962
|
+
message: "已发送下载请求,即将开始下载",
|
|
963
|
+
type: "info",
|
|
964
|
+
duration: 3e3
|
|
965
|
+
}), r.customDownload ? o("download", p) : $l.downloadFile(
|
|
962
966
|
Ft(
|
|
963
967
|
e.value,
|
|
964
968
|
p[u.value.url] || p.attachmentId || p.id
|
|
@@ -997,14 +1001,14 @@ const pi = (a, s) => {
|
|
|
997
1001
|
onClick: (j) => f(T),
|
|
998
1002
|
style: Se({ width: v.value })
|
|
999
1003
|
}, [
|
|
1000
|
-
S("div",
|
|
1004
|
+
S("div", Pc, [
|
|
1001
1005
|
S("div", {
|
|
1002
1006
|
class: "fileName simple",
|
|
1003
1007
|
title: T.name
|
|
1004
|
-
}, ge(T.name), 9,
|
|
1008
|
+
}, ge(T.name), 9, Ac),
|
|
1005
1009
|
a.showFileSize ? (E(), R(
|
|
1006
1010
|
"div",
|
|
1007
|
-
|
|
1011
|
+
Lc,
|
|
1008
1012
|
ge(T.size ? `(${x(Ai)(T.size)})` : ""),
|
|
1009
1013
|
1
|
|
1010
1014
|
/* TEXT */
|
|
@@ -1035,7 +1039,7 @@ const pi = (a, s) => {
|
|
|
1035
1039
|
2
|
|
1036
1040
|
/* CLASS */
|
|
1037
1041
|
)
|
|
1038
|
-
], 12,
|
|
1042
|
+
], 12, Ic))),
|
|
1039
1043
|
128
|
|
1040
1044
|
/* KEYED_FRAGMENT */
|
|
1041
1045
|
)) : t.value === "simple-icon" ? (E(), R(
|
|
@@ -1052,7 +1056,7 @@ const pi = (a, s) => {
|
|
|
1052
1056
|
onClick: (j) => f(T),
|
|
1053
1057
|
style: Se({ width: v.value })
|
|
1054
1058
|
}, [
|
|
1055
|
-
S("div",
|
|
1059
|
+
S("div", Dc, [
|
|
1056
1060
|
X(" 若为默认40,则simple-icon设置为20,否则设置为iconSize "),
|
|
1057
1061
|
Y(x(Aa), {
|
|
1058
1062
|
file: T,
|
|
@@ -1073,10 +1077,10 @@ const pi = (a, s) => {
|
|
|
1073
1077
|
S("p", {
|
|
1074
1078
|
class: "fileName simple",
|
|
1075
1079
|
title: T.name
|
|
1076
|
-
}, ge(T.name), 9,
|
|
1080
|
+
}, ge(T.name), 9, Oc),
|
|
1077
1081
|
a.showFileSize ? (E(), R(
|
|
1078
1082
|
"p",
|
|
1079
|
-
|
|
1083
|
+
Mc,
|
|
1080
1084
|
ge(T.size ? `(${x(Ai)(T.size)})` : ""),
|
|
1081
1085
|
1
|
|
1082
1086
|
/* TEXT */
|
|
@@ -1100,7 +1104,7 @@ const pi = (a, s) => {
|
|
|
1100
1104
|
onClick: et((j) => f(T), ["stop"]),
|
|
1101
1105
|
title: "预览"
|
|
1102
1106
|
}, null, 8, ["onClick"])) : X("v-if", !0)
|
|
1103
|
-
], 12,
|
|
1107
|
+
], 12, Rc))),
|
|
1104
1108
|
128
|
|
1105
1109
|
/* KEYED_FRAGMENT */
|
|
1106
1110
|
))
|
|
@@ -1138,14 +1142,14 @@ const pi = (a, s) => {
|
|
|
1138
1142
|
class: "ikui-w-auto",
|
|
1139
1143
|
fields: u.value
|
|
1140
1144
|
}, null, 8, ["file", "style", "fields"]),
|
|
1141
|
-
S("div",
|
|
1145
|
+
S("div", Nc, [
|
|
1142
1146
|
S("div", {
|
|
1143
1147
|
class: "fileName",
|
|
1144
1148
|
title: T.name
|
|
1145
|
-
}, ge(T.name), 9,
|
|
1149
|
+
}, ge(T.name), 9, Bc),
|
|
1146
1150
|
S(
|
|
1147
1151
|
"div",
|
|
1148
|
-
|
|
1152
|
+
Hc,
|
|
1149
1153
|
ge(x(Ai)(T.size)),
|
|
1150
1154
|
1
|
|
1151
1155
|
/* TEXT */
|
|
@@ -1180,7 +1184,7 @@ const pi = (a, s) => {
|
|
|
1180
1184
|
2
|
|
1181
1185
|
/* CLASS */
|
|
1182
1186
|
)
|
|
1183
|
-
], 8,
|
|
1187
|
+
], 8, Fc)
|
|
1184
1188
|
],
|
|
1185
1189
|
6
|
|
1186
1190
|
/* CLASS, STYLE */
|
|
@@ -1197,7 +1201,7 @@ const pi = (a, s) => {
|
|
|
1197
1201
|
64
|
|
1198
1202
|
/* STABLE_FRAGMENT */
|
|
1199
1203
|
)) : X("v-if", !0),
|
|
1200
|
-
Y(x(
|
|
1204
|
+
Y(x(Yc), {
|
|
1201
1205
|
onClose: g,
|
|
1202
1206
|
show: c.value,
|
|
1203
1207
|
"onUpdate:show": w[0] || (w[0] = (T) => c.value = T),
|
|
@@ -1213,7 +1217,7 @@ const pi = (a, s) => {
|
|
|
1213
1217
|
);
|
|
1214
1218
|
};
|
|
1215
1219
|
}
|
|
1216
|
-
}),
|
|
1220
|
+
}), jc = He(Uc), zc = { class: "head-logo" }, Vc = ["src"], qc = { class: "text-preview-container" }, Wc = { class: "text-preview-header" }, Gc = { class: "file-name" }, Kc = { class: "text-preview-content" }, $c = /* @__PURE__ */ re({
|
|
1217
1221
|
__name: "IkPreviewFileDialog",
|
|
1218
1222
|
props: /* @__PURE__ */ Ot({
|
|
1219
1223
|
file: {
|
|
@@ -1297,7 +1301,7 @@ const pi = (a, s) => {
|
|
|
1297
1301
|
fileType: K,
|
|
1298
1302
|
...((T = r.onlyOfficeConfig) == null ? void 0 : T.document) || {}
|
|
1299
1303
|
},
|
|
1300
|
-
documentType:
|
|
1304
|
+
documentType: Zl(K)
|
|
1301
1305
|
// document_fileType: getFileTypes(suffix),
|
|
1302
1306
|
}, console.log("config", n.value);
|
|
1303
1307
|
return;
|
|
@@ -1333,7 +1337,7 @@ const pi = (a, s) => {
|
|
|
1333
1337
|
ye,
|
|
1334
1338
|
{ key: 0 },
|
|
1335
1339
|
[
|
|
1336
|
-
(p = o.value) != null && p.url && l.image ? (E(), se(x(
|
|
1340
|
+
(p = o.value) != null && p.url && l.image ? (E(), se(x(Zh), {
|
|
1337
1341
|
key: 0,
|
|
1338
1342
|
onClose: m[0] || (m[0] = (C) => d()),
|
|
1339
1343
|
ref: "previewImgRef",
|
|
@@ -1343,7 +1347,7 @@ const pi = (a, s) => {
|
|
|
1343
1347
|
}, null, 8, ["url-list"])) : X("v-if", !0),
|
|
1344
1348
|
X(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
1345
1349
|
X(" 文档类 "),
|
|
1346
|
-
Y(x(
|
|
1350
|
+
Y(x(ov), {
|
|
1347
1351
|
modelValue: l.video,
|
|
1348
1352
|
"onUpdate:modelValue": m[1] || (m[1] = (C) => l.video = C),
|
|
1349
1353
|
url: (b = o.value) == null ? void 0 : b.url,
|
|
@@ -1367,14 +1371,14 @@ const pi = (a, s) => {
|
|
|
1367
1371
|
default: ie(() => {
|
|
1368
1372
|
var C, L, T;
|
|
1369
1373
|
return [
|
|
1370
|
-
S("div",
|
|
1374
|
+
S("div", zc, [
|
|
1371
1375
|
S("img", {
|
|
1372
1376
|
src: (L = (C = n.value.editorConfig.customization) == null ? void 0 : C.logo) == null ? void 0 : L.image,
|
|
1373
1377
|
onClick: g,
|
|
1374
1378
|
alt: ""
|
|
1375
|
-
}, null, 8,
|
|
1379
|
+
}, null, 8, Vc)
|
|
1376
1380
|
]),
|
|
1377
|
-
Y(x(
|
|
1381
|
+
Y(x(Mh), {
|
|
1378
1382
|
"config-options": n.value,
|
|
1379
1383
|
"document-server-url": ((T = a.onlyOfficeConfig) == null ? void 0 : T.serverUrl) || a.onlyofficeServer
|
|
1380
1384
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -1402,11 +1406,11 @@ const pi = (a, s) => {
|
|
|
1402
1406
|
default: ie(() => {
|
|
1403
1407
|
var C;
|
|
1404
1408
|
return [
|
|
1405
|
-
S("div",
|
|
1406
|
-
S("div",
|
|
1409
|
+
S("div", qc, [
|
|
1410
|
+
S("div", Wc, [
|
|
1407
1411
|
S(
|
|
1408
1412
|
"span",
|
|
1409
|
-
|
|
1413
|
+
Gc,
|
|
1410
1414
|
ge((C = o.value) == null ? void 0 : C.name),
|
|
1411
1415
|
1
|
|
1412
1416
|
/* TEXT */
|
|
@@ -1414,7 +1418,7 @@ const pi = (a, s) => {
|
|
|
1414
1418
|
]),
|
|
1415
1419
|
S(
|
|
1416
1420
|
"pre",
|
|
1417
|
-
|
|
1421
|
+
Kc,
|
|
1418
1422
|
ge(u.value),
|
|
1419
1423
|
1
|
|
1420
1424
|
/* TEXT */
|
|
@@ -1431,19 +1435,19 @@ const pi = (a, s) => {
|
|
|
1431
1435
|
)) : X("v-if", !0);
|
|
1432
1436
|
};
|
|
1433
1437
|
}
|
|
1434
|
-
}),
|
|
1438
|
+
}), Yc = He($c);
|
|
1435
1439
|
function Tu(a) {
|
|
1436
1440
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1437
1441
|
}
|
|
1438
|
-
const
|
|
1442
|
+
const Xc = {
|
|
1439
1443
|
key: 1,
|
|
1440
1444
|
class: "h-[1em] w-[1em]",
|
|
1441
1445
|
"aria-hidden": "true"
|
|
1442
|
-
},
|
|
1446
|
+
}, Zc = ["xlink:href"], Jc = ["src"], Qc = {
|
|
1443
1447
|
key: 1,
|
|
1444
1448
|
class: "h-[1em] w-[1em]",
|
|
1445
1449
|
"aria-hidden": "true"
|
|
1446
|
-
},
|
|
1450
|
+
}, ef = ["xlink:href"], tf = ["src"], nf = /* @__PURE__ */ re({
|
|
1447
1451
|
name: "IkSvgIcon",
|
|
1448
1452
|
__name: "index",
|
|
1449
1453
|
props: {
|
|
@@ -1497,7 +1501,7 @@ const Yc = {
|
|
|
1497
1501
|
padding: t.value.showBg || t.value.bg ? t.value.padding : 0,
|
|
1498
1502
|
...t.value.color && e.value !== "iksig" ? {
|
|
1499
1503
|
"--ik-icon-deep-color": t.value.color,
|
|
1500
|
-
"--ik-icon-shallow-color": t.value.colorLight ||
|
|
1504
|
+
"--ik-icon-shallow-color": t.value.colorLight || Yl.setOpacity(t.value.color, t.value.opacity)
|
|
1501
1505
|
} : {}
|
|
1502
1506
|
};
|
|
1503
1507
|
return t.value.width && (d.width = d.height = typeof t.value.width == "number" ? `${t.value.width}px` : t.value.width), d;
|
|
@@ -1553,15 +1557,15 @@ const Yc = {
|
|
|
1553
1557
|
null,
|
|
1554
1558
|
2
|
|
1555
1559
|
/* CLASS */
|
|
1556
|
-
)) : e.value === "svg" ? (E(), R("svg",
|
|
1560
|
+
)) : e.value === "svg" ? (E(), R("svg", Xc, [
|
|
1557
1561
|
S("use", {
|
|
1558
1562
|
"xlink:href": `#${t.value.name}`
|
|
1559
|
-
}, null, 8,
|
|
1563
|
+
}, null, 8, Zc)
|
|
1560
1564
|
])) : e.value === "img" ? (E(), R("img", {
|
|
1561
1565
|
key: 2,
|
|
1562
1566
|
src: t.value.name,
|
|
1563
1567
|
class: "h-[1em] w-[1em]"
|
|
1564
|
-
}, null, 8,
|
|
1568
|
+
}, null, 8, Jc)) : (E(), R(
|
|
1565
1569
|
"i",
|
|
1566
1570
|
{
|
|
1567
1571
|
key: 3,
|
|
@@ -1591,15 +1595,15 @@ const Yc = {
|
|
|
1591
1595
|
null,
|
|
1592
1596
|
2
|
|
1593
1597
|
/* CLASS */
|
|
1594
|
-
)) : e.value === "svg" ? (E(), R("svg",
|
|
1598
|
+
)) : e.value === "svg" ? (E(), R("svg", Qc, [
|
|
1595
1599
|
S("use", {
|
|
1596
1600
|
"xlink:href": `#${t.value.name}`
|
|
1597
|
-
}, null, 8,
|
|
1601
|
+
}, null, 8, ef)
|
|
1598
1602
|
])) : e.value === "img" ? (E(), R("img", {
|
|
1599
1603
|
key: 2,
|
|
1600
1604
|
src: t.value.name,
|
|
1601
1605
|
class: "h-[1em] w-[1em]"
|
|
1602
|
-
}, null, 8,
|
|
1606
|
+
}, null, 8, tf)) : (E(), R(
|
|
1603
1607
|
"i",
|
|
1604
1608
|
{
|
|
1605
1609
|
key: 3,
|
|
@@ -1635,7 +1639,7 @@ const Yc = {
|
|
|
1635
1639
|
);
|
|
1636
1640
|
};
|
|
1637
1641
|
}
|
|
1638
|
-
}),
|
|
1642
|
+
}), rf = /* @__PURE__ */ pi(nf, [["__scopeId", "data-v-9ebb0a94"]]), tt = He(rf), af = /* @__PURE__ */ re({
|
|
1639
1643
|
__name: "CloseIcon",
|
|
1640
1644
|
props: {
|
|
1641
1645
|
showBg: {
|
|
@@ -1665,7 +1669,7 @@ const Yc = {
|
|
|
1665
1669
|
/* CLASS */
|
|
1666
1670
|
));
|
|
1667
1671
|
}
|
|
1668
|
-
}),
|
|
1672
|
+
}), sf = /* @__PURE__ */ pi(af, [["__scopeId", "data-v-da9210e2"]]), of = { class: "base-header" }, uf = /* @__PURE__ */ re({
|
|
1669
1673
|
__name: "IkBaseDialog",
|
|
1670
1674
|
props: /* @__PURE__ */ Ot({
|
|
1671
1675
|
title: { default: "" },
|
|
@@ -1689,7 +1693,7 @@ const Yc = {
|
|
|
1689
1693
|
setup(a) {
|
|
1690
1694
|
const s = a, r = ea(a, "modelValue"), t = de(s.fullscreen), e = re({
|
|
1691
1695
|
setup() {
|
|
1692
|
-
return () => Rl(
|
|
1696
|
+
return () => Rl(sf, {
|
|
1693
1697
|
showBg: s.showCloseBg,
|
|
1694
1698
|
fullscreen: s.fullscreen
|
|
1695
1699
|
});
|
|
@@ -1718,7 +1722,7 @@ const Yc = {
|
|
|
1718
1722
|
])
|
|
1719
1723
|
]),
|
|
1720
1724
|
header: ie(() => [
|
|
1721
|
-
S("div",
|
|
1725
|
+
S("div", of, [
|
|
1722
1726
|
Ee(i.$slots, "header", {}, () => [
|
|
1723
1727
|
Mt(
|
|
1724
1728
|
ge(a.title),
|
|
@@ -1747,8 +1751,8 @@ const Yc = {
|
|
|
1747
1751
|
]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
|
|
1748
1752
|
};
|
|
1749
1753
|
}
|
|
1750
|
-
}), Ra = He(
|
|
1751
|
-
function
|
|
1754
|
+
}), Ra = He(uf);
|
|
1755
|
+
function lf(a, s, r, t) {
|
|
1752
1756
|
function e(i) {
|
|
1753
1757
|
return i instanceof r ? i : new r(function(n) {
|
|
1754
1758
|
n(i);
|
|
@@ -1775,7 +1779,7 @@ function uf(a, s, r, t) {
|
|
|
1775
1779
|
l((t = t.apply(a, [])).next());
|
|
1776
1780
|
});
|
|
1777
1781
|
}
|
|
1778
|
-
function
|
|
1782
|
+
function cf(a, s) {
|
|
1779
1783
|
var r = { label: 0, sent: function() {
|
|
1780
1784
|
if (i[0] & 1) throw i[1];
|
|
1781
1785
|
return i[1];
|
|
@@ -1835,9 +1839,9 @@ function lf(a, s) {
|
|
|
1835
1839
|
return { value: l[0] ? l[1] : void 0, done: !0 };
|
|
1836
1840
|
}
|
|
1837
1841
|
}
|
|
1838
|
-
var
|
|
1839
|
-
return
|
|
1840
|
-
return
|
|
1842
|
+
var ff = function(a, s) {
|
|
1843
|
+
return lf(void 0, void 0, void 0, function() {
|
|
1844
|
+
return cf(this, function(r) {
|
|
1841
1845
|
return [2, new Promise(function(t, e) {
|
|
1842
1846
|
try {
|
|
1843
1847
|
if (window.DocsAPI)
|
|
@@ -1871,11 +1875,11 @@ var cf = function(a, s) {
|
|
|
1871
1875
|
e.removeAttribute("loading"), t(i);
|
|
1872
1876
|
}, e.setAttribute("loading", ""), e;
|
|
1873
1877
|
}, Zt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1874
|
-
function
|
|
1878
|
+
function hf(a) {
|
|
1875
1879
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1876
1880
|
}
|
|
1877
1881
|
var Li, Oa;
|
|
1878
|
-
function
|
|
1882
|
+
function df() {
|
|
1879
1883
|
if (Oa) return Li;
|
|
1880
1884
|
Oa = 1;
|
|
1881
1885
|
function a() {
|
|
@@ -1906,7 +1910,7 @@ function mi() {
|
|
|
1906
1910
|
return Di = s, Di;
|
|
1907
1911
|
}
|
|
1908
1912
|
var Oi, Na;
|
|
1909
|
-
function
|
|
1913
|
+
function gf() {
|
|
1910
1914
|
if (Na) return Oi;
|
|
1911
1915
|
Na = 1;
|
|
1912
1916
|
var a = mi(), s = Array.prototype, r = s.splice;
|
|
@@ -1920,7 +1924,7 @@ function df() {
|
|
|
1920
1924
|
return Oi = t, Oi;
|
|
1921
1925
|
}
|
|
1922
1926
|
var Mi, Ba;
|
|
1923
|
-
function
|
|
1927
|
+
function vf() {
|
|
1924
1928
|
if (Ba) return Mi;
|
|
1925
1929
|
Ba = 1;
|
|
1926
1930
|
var a = mi();
|
|
@@ -1931,7 +1935,7 @@ function gf() {
|
|
|
1931
1935
|
return Mi = s, Mi;
|
|
1932
1936
|
}
|
|
1933
1937
|
var Fi, Ha;
|
|
1934
|
-
function
|
|
1938
|
+
function pf() {
|
|
1935
1939
|
if (Ha) return Fi;
|
|
1936
1940
|
Ha = 1;
|
|
1937
1941
|
var a = mi();
|
|
@@ -1941,7 +1945,7 @@ function vf() {
|
|
|
1941
1945
|
return Fi = s, Fi;
|
|
1942
1946
|
}
|
|
1943
1947
|
var Ni, Ua;
|
|
1944
|
-
function
|
|
1948
|
+
function mf() {
|
|
1945
1949
|
if (Ua) return Ni;
|
|
1946
1950
|
Ua = 1;
|
|
1947
1951
|
var a = mi();
|
|
@@ -1955,7 +1959,7 @@ var Bi, ja;
|
|
|
1955
1959
|
function yi() {
|
|
1956
1960
|
if (ja) return Bi;
|
|
1957
1961
|
ja = 1;
|
|
1958
|
-
var a =
|
|
1962
|
+
var a = df(), s = gf(), r = vf(), t = pf(), e = mf();
|
|
1959
1963
|
function i(n) {
|
|
1960
1964
|
var o = -1, u = n == null ? 0 : n.length;
|
|
1961
1965
|
for (this.clear(); ++o < u; ) {
|
|
@@ -1966,7 +1970,7 @@ function yi() {
|
|
|
1966
1970
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, Bi = i, Bi;
|
|
1967
1971
|
}
|
|
1968
1972
|
var Hi, za;
|
|
1969
|
-
function
|
|
1973
|
+
function yf() {
|
|
1970
1974
|
if (za) return Hi;
|
|
1971
1975
|
za = 1;
|
|
1972
1976
|
var a = yi();
|
|
@@ -1976,7 +1980,7 @@ function mf() {
|
|
|
1976
1980
|
return Hi = s, Hi;
|
|
1977
1981
|
}
|
|
1978
1982
|
var Ui, Va;
|
|
1979
|
-
function
|
|
1983
|
+
function _f() {
|
|
1980
1984
|
if (Va) return Ui;
|
|
1981
1985
|
Va = 1;
|
|
1982
1986
|
function a(s) {
|
|
@@ -1986,7 +1990,7 @@ function yf() {
|
|
|
1986
1990
|
return Ui = a, Ui;
|
|
1987
1991
|
}
|
|
1988
1992
|
var ji, qa;
|
|
1989
|
-
function
|
|
1993
|
+
function bf() {
|
|
1990
1994
|
if (qa) return ji;
|
|
1991
1995
|
qa = 1;
|
|
1992
1996
|
function a(s) {
|
|
@@ -1995,7 +1999,7 @@ function _f() {
|
|
|
1995
1999
|
return ji = a, ji;
|
|
1996
2000
|
}
|
|
1997
2001
|
var zi, Wa;
|
|
1998
|
-
function
|
|
2002
|
+
function Cf() {
|
|
1999
2003
|
if (Wa) return zi;
|
|
2000
2004
|
Wa = 1;
|
|
2001
2005
|
function a(s) {
|
|
@@ -2025,7 +2029,7 @@ function ta() {
|
|
|
2025
2029
|
return Wi = s, Wi;
|
|
2026
2030
|
}
|
|
2027
2031
|
var Gi, Ya;
|
|
2028
|
-
function
|
|
2032
|
+
function wf() {
|
|
2029
2033
|
if (Ya) return Gi;
|
|
2030
2034
|
Ya = 1;
|
|
2031
2035
|
var a = ta(), s = Object.prototype, r = s.hasOwnProperty, t = s.toString, e = a ? a.toStringTag : void 0;
|
|
@@ -2042,7 +2046,7 @@ function Cf() {
|
|
|
2042
2046
|
return Gi = i, Gi;
|
|
2043
2047
|
}
|
|
2044
2048
|
var Ki, Xa;
|
|
2045
|
-
function
|
|
2049
|
+
function kf() {
|
|
2046
2050
|
if (Xa) return Ki;
|
|
2047
2051
|
Xa = 1;
|
|
2048
2052
|
var a = Object.prototype, s = a.toString;
|
|
@@ -2055,7 +2059,7 @@ var $i, Za;
|
|
|
2055
2059
|
function _i() {
|
|
2056
2060
|
if (Za) return $i;
|
|
2057
2061
|
Za = 1;
|
|
2058
|
-
var a = ta(), s =
|
|
2062
|
+
var a = ta(), s = wf(), r = kf(), t = "[object Null]", e = "[object Undefined]", i = a ? a.toStringTag : void 0;
|
|
2059
2063
|
function n(o) {
|
|
2060
2064
|
return o == null ? o === void 0 ? e : t : i && i in Object(o) ? s(o) : r(o);
|
|
2061
2065
|
}
|
|
@@ -2085,17 +2089,17 @@ function xu() {
|
|
|
2085
2089
|
return Xi = n, Xi;
|
|
2086
2090
|
}
|
|
2087
2091
|
var Zi, es;
|
|
2088
|
-
function
|
|
2092
|
+
function Tf() {
|
|
2089
2093
|
if (es) return Zi;
|
|
2090
2094
|
es = 1;
|
|
2091
2095
|
var a = Le(), s = a["__core-js_shared__"];
|
|
2092
2096
|
return Zi = s, Zi;
|
|
2093
2097
|
}
|
|
2094
2098
|
var Ji, ts;
|
|
2095
|
-
function
|
|
2099
|
+
function Sf() {
|
|
2096
2100
|
if (ts) return Ji;
|
|
2097
2101
|
ts = 1;
|
|
2098
|
-
var a =
|
|
2102
|
+
var a = Tf(), s = (function() {
|
|
2099
2103
|
var t = /[^.]+$/.exec(a && a.keys && a.keys.IE_PROTO || "");
|
|
2100
2104
|
return t ? "Symbol(src)_1." + t : "";
|
|
2101
2105
|
})();
|
|
@@ -2125,10 +2129,10 @@ function Iu() {
|
|
|
2125
2129
|
return Qi = r, Qi;
|
|
2126
2130
|
}
|
|
2127
2131
|
var en, ns;
|
|
2128
|
-
function
|
|
2132
|
+
function Ef() {
|
|
2129
2133
|
if (ns) return en;
|
|
2130
2134
|
ns = 1;
|
|
2131
|
-
var a = xu(), s =
|
|
2135
|
+
var a = xu(), s = Sf(), r = Bt(), t = Iu(), e = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, n = Function.prototype, o = Object.prototype, u = n.toString, l = o.hasOwnProperty, c = RegExp(
|
|
2132
2136
|
"^" + u.call(l).replace(e, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
2133
2137
|
);
|
|
2134
2138
|
function f(d) {
|
|
@@ -2140,7 +2144,7 @@ function Sf() {
|
|
|
2140
2144
|
return en = f, en;
|
|
2141
2145
|
}
|
|
2142
2146
|
var tn, rs;
|
|
2143
|
-
function
|
|
2147
|
+
function xf() {
|
|
2144
2148
|
if (rs) return tn;
|
|
2145
2149
|
rs = 1;
|
|
2146
2150
|
function a(s, r) {
|
|
@@ -2152,7 +2156,7 @@ var nn, as;
|
|
|
2152
2156
|
function rt() {
|
|
2153
2157
|
if (as) return nn;
|
|
2154
2158
|
as = 1;
|
|
2155
|
-
var a =
|
|
2159
|
+
var a = Ef(), s = xf();
|
|
2156
2160
|
function r(t, e) {
|
|
2157
2161
|
var i = s(t, e);
|
|
2158
2162
|
return a(i) ? i : void 0;
|
|
@@ -2174,7 +2178,7 @@ function bi() {
|
|
|
2174
2178
|
return an = s, an;
|
|
2175
2179
|
}
|
|
2176
2180
|
var sn, us;
|
|
2177
|
-
function
|
|
2181
|
+
function If() {
|
|
2178
2182
|
if (us) return sn;
|
|
2179
2183
|
us = 1;
|
|
2180
2184
|
var a = bi();
|
|
@@ -2184,7 +2188,7 @@ function xf() {
|
|
|
2184
2188
|
return sn = s, sn;
|
|
2185
2189
|
}
|
|
2186
2190
|
var on, ls;
|
|
2187
|
-
function
|
|
2191
|
+
function Pf() {
|
|
2188
2192
|
if (ls) return on;
|
|
2189
2193
|
ls = 1;
|
|
2190
2194
|
function a(s) {
|
|
@@ -2194,7 +2198,7 @@ function If() {
|
|
|
2194
2198
|
return on = a, on;
|
|
2195
2199
|
}
|
|
2196
2200
|
var un, cs;
|
|
2197
|
-
function
|
|
2201
|
+
function Af() {
|
|
2198
2202
|
if (cs) return un;
|
|
2199
2203
|
cs = 1;
|
|
2200
2204
|
var a = bi(), s = "__lodash_hash_undefined__", r = Object.prototype, t = r.hasOwnProperty;
|
|
@@ -2209,7 +2213,7 @@ function Pf() {
|
|
|
2209
2213
|
return un = e, un;
|
|
2210
2214
|
}
|
|
2211
2215
|
var ln, fs;
|
|
2212
|
-
function
|
|
2216
|
+
function Lf() {
|
|
2213
2217
|
if (fs) return ln;
|
|
2214
2218
|
fs = 1;
|
|
2215
2219
|
var a = bi(), s = Object.prototype, r = s.hasOwnProperty;
|
|
@@ -2220,7 +2224,7 @@ function Af() {
|
|
|
2220
2224
|
return ln = t, ln;
|
|
2221
2225
|
}
|
|
2222
2226
|
var cn, hs;
|
|
2223
|
-
function
|
|
2227
|
+
function Rf() {
|
|
2224
2228
|
if (hs) return cn;
|
|
2225
2229
|
hs = 1;
|
|
2226
2230
|
var a = bi(), s = "__lodash_hash_undefined__";
|
|
@@ -2231,10 +2235,10 @@ function Lf() {
|
|
|
2231
2235
|
return cn = r, cn;
|
|
2232
2236
|
}
|
|
2233
2237
|
var fn, ds;
|
|
2234
|
-
function
|
|
2238
|
+
function Df() {
|
|
2235
2239
|
if (ds) return fn;
|
|
2236
2240
|
ds = 1;
|
|
2237
|
-
var a =
|
|
2241
|
+
var a = If(), s = Pf(), r = Af(), t = Lf(), e = Rf();
|
|
2238
2242
|
function i(n) {
|
|
2239
2243
|
var o = -1, u = n == null ? 0 : n.length;
|
|
2240
2244
|
for (this.clear(); ++o < u; ) {
|
|
@@ -2245,10 +2249,10 @@ function Rf() {
|
|
|
2245
2249
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, fn = i, fn;
|
|
2246
2250
|
}
|
|
2247
2251
|
var hn, gs;
|
|
2248
|
-
function
|
|
2252
|
+
function Of() {
|
|
2249
2253
|
if (gs) return hn;
|
|
2250
2254
|
gs = 1;
|
|
2251
|
-
var a =
|
|
2255
|
+
var a = Df(), s = yi(), r = ia();
|
|
2252
2256
|
function t() {
|
|
2253
2257
|
this.size = 0, this.__data__ = {
|
|
2254
2258
|
hash: new a(),
|
|
@@ -2259,7 +2263,7 @@ function Df() {
|
|
|
2259
2263
|
return hn = t, hn;
|
|
2260
2264
|
}
|
|
2261
2265
|
var dn, vs;
|
|
2262
|
-
function
|
|
2266
|
+
function Mf() {
|
|
2263
2267
|
if (vs) return dn;
|
|
2264
2268
|
vs = 1;
|
|
2265
2269
|
function a(s) {
|
|
@@ -2272,7 +2276,7 @@ var gn, ps;
|
|
|
2272
2276
|
function Ci() {
|
|
2273
2277
|
if (ps) return gn;
|
|
2274
2278
|
ps = 1;
|
|
2275
|
-
var a =
|
|
2279
|
+
var a = Mf();
|
|
2276
2280
|
function s(r, t) {
|
|
2277
2281
|
var e = r.__data__;
|
|
2278
2282
|
return a(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
|
|
@@ -2280,7 +2284,7 @@ function Ci() {
|
|
|
2280
2284
|
return gn = s, gn;
|
|
2281
2285
|
}
|
|
2282
2286
|
var vn, ms;
|
|
2283
|
-
function
|
|
2287
|
+
function Ff() {
|
|
2284
2288
|
if (ms) return vn;
|
|
2285
2289
|
ms = 1;
|
|
2286
2290
|
var a = Ci();
|
|
@@ -2291,7 +2295,7 @@ function Mf() {
|
|
|
2291
2295
|
return vn = s, vn;
|
|
2292
2296
|
}
|
|
2293
2297
|
var pn, ys;
|
|
2294
|
-
function
|
|
2298
|
+
function Nf() {
|
|
2295
2299
|
if (ys) return pn;
|
|
2296
2300
|
ys = 1;
|
|
2297
2301
|
var a = Ci();
|
|
@@ -2301,7 +2305,7 @@ function Ff() {
|
|
|
2301
2305
|
return pn = s, pn;
|
|
2302
2306
|
}
|
|
2303
2307
|
var mn, _s;
|
|
2304
|
-
function
|
|
2308
|
+
function Bf() {
|
|
2305
2309
|
if (_s) return mn;
|
|
2306
2310
|
_s = 1;
|
|
2307
2311
|
var a = Ci();
|
|
@@ -2311,7 +2315,7 @@ function Nf() {
|
|
|
2311
2315
|
return mn = s, mn;
|
|
2312
2316
|
}
|
|
2313
2317
|
var yn, bs;
|
|
2314
|
-
function
|
|
2318
|
+
function Hf() {
|
|
2315
2319
|
if (bs) return yn;
|
|
2316
2320
|
bs = 1;
|
|
2317
2321
|
var a = Ci();
|
|
@@ -2322,10 +2326,10 @@ function Bf() {
|
|
|
2322
2326
|
return yn = s, yn;
|
|
2323
2327
|
}
|
|
2324
2328
|
var _n, Cs;
|
|
2325
|
-
function
|
|
2329
|
+
function Uf() {
|
|
2326
2330
|
if (Cs) return _n;
|
|
2327
2331
|
Cs = 1;
|
|
2328
|
-
var a =
|
|
2332
|
+
var a = Of(), s = Ff(), r = Nf(), t = Bf(), e = Hf();
|
|
2329
2333
|
function i(n) {
|
|
2330
2334
|
var o = -1, u = n == null ? 0 : n.length;
|
|
2331
2335
|
for (this.clear(); ++o < u; ) {
|
|
@@ -2336,10 +2340,10 @@ function Hf() {
|
|
|
2336
2340
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, _n = i, _n;
|
|
2337
2341
|
}
|
|
2338
2342
|
var bn, ws;
|
|
2339
|
-
function
|
|
2343
|
+
function jf() {
|
|
2340
2344
|
if (ws) return bn;
|
|
2341
2345
|
ws = 1;
|
|
2342
|
-
var a = yi(), s = ia(), r =
|
|
2346
|
+
var a = yi(), s = ia(), r = Uf(), t = 200;
|
|
2343
2347
|
function e(i, n) {
|
|
2344
2348
|
var o = this.__data__;
|
|
2345
2349
|
if (o instanceof a) {
|
|
@@ -2353,10 +2357,10 @@ function Uf() {
|
|
|
2353
2357
|
return bn = e, bn;
|
|
2354
2358
|
}
|
|
2355
2359
|
var Cn, ks;
|
|
2356
|
-
function
|
|
2360
|
+
function zf() {
|
|
2357
2361
|
if (ks) return Cn;
|
|
2358
2362
|
ks = 1;
|
|
2359
|
-
var a = yi(), s =
|
|
2363
|
+
var a = yi(), s = yf(), r = _f(), t = bf(), e = Cf(), i = jf();
|
|
2360
2364
|
function n(o) {
|
|
2361
2365
|
var u = this.__data__ = new a(o);
|
|
2362
2366
|
this.size = u.size;
|
|
@@ -2364,7 +2368,7 @@ function jf() {
|
|
|
2364
2368
|
return n.prototype.clear = s, n.prototype.delete = r, n.prototype.get = t, n.prototype.has = e, n.prototype.set = i, Cn = n, Cn;
|
|
2365
2369
|
}
|
|
2366
2370
|
var wn, Ts;
|
|
2367
|
-
function
|
|
2371
|
+
function Vf() {
|
|
2368
2372
|
if (Ts) return wn;
|
|
2369
2373
|
Ts = 1;
|
|
2370
2374
|
function a(s, r) {
|
|
@@ -2375,7 +2379,7 @@ function zf() {
|
|
|
2375
2379
|
return wn = a, wn;
|
|
2376
2380
|
}
|
|
2377
2381
|
var kn, Ss;
|
|
2378
|
-
function
|
|
2382
|
+
function qf() {
|
|
2379
2383
|
if (Ss) return kn;
|
|
2380
2384
|
Ss = 1;
|
|
2381
2385
|
var a = rt(), s = (function() {
|
|
@@ -2391,7 +2395,7 @@ var Tn, Es;
|
|
|
2391
2395
|
function Pu() {
|
|
2392
2396
|
if (Es) return Tn;
|
|
2393
2397
|
Es = 1;
|
|
2394
|
-
var a =
|
|
2398
|
+
var a = qf();
|
|
2395
2399
|
function s(r, t, e) {
|
|
2396
2400
|
t == "__proto__" && a ? a(r, t, {
|
|
2397
2401
|
configurable: !0,
|
|
@@ -2430,7 +2434,7 @@ function wi() {
|
|
|
2430
2434
|
return En = r, En;
|
|
2431
2435
|
}
|
|
2432
2436
|
var xn, Ps;
|
|
2433
|
-
function
|
|
2437
|
+
function Wf() {
|
|
2434
2438
|
if (Ps) return xn;
|
|
2435
2439
|
Ps = 1;
|
|
2436
2440
|
function a(s, r) {
|
|
@@ -2450,7 +2454,7 @@ function Ht() {
|
|
|
2450
2454
|
return In = a, In;
|
|
2451
2455
|
}
|
|
2452
2456
|
var Pn, Ls;
|
|
2453
|
-
function
|
|
2457
|
+
function Gf() {
|
|
2454
2458
|
if (Ls) return Pn;
|
|
2455
2459
|
Ls = 1;
|
|
2456
2460
|
var a = _i(), s = Ht(), r = "[object Arguments]";
|
|
@@ -2460,10 +2464,10 @@ function Wf() {
|
|
|
2460
2464
|
return Pn = t, Pn;
|
|
2461
2465
|
}
|
|
2462
2466
|
var An, Rs;
|
|
2463
|
-
function
|
|
2467
|
+
function Kf() {
|
|
2464
2468
|
if (Rs) return An;
|
|
2465
2469
|
Rs = 1;
|
|
2466
|
-
var a =
|
|
2470
|
+
var a = Gf(), s = Ht(), r = Object.prototype, t = r.hasOwnProperty, e = r.propertyIsEnumerable, i = a(/* @__PURE__ */ (function() {
|
|
2467
2471
|
return arguments;
|
|
2468
2472
|
})()) ? a : function(n) {
|
|
2469
2473
|
return s(n) && t.call(n, "callee") && !e.call(n, "callee");
|
|
@@ -2478,7 +2482,7 @@ function na() {
|
|
|
2478
2482
|
return Ln = a, Ln;
|
|
2479
2483
|
}
|
|
2480
2484
|
var xt = { exports: {} }, Rn, Os;
|
|
2481
|
-
function
|
|
2485
|
+
function $f() {
|
|
2482
2486
|
if (Os) return Rn;
|
|
2483
2487
|
Os = 1;
|
|
2484
2488
|
function a() {
|
|
@@ -2490,12 +2494,12 @@ xt.exports;
|
|
|
2490
2494
|
var Ms;
|
|
2491
2495
|
function Lu() {
|
|
2492
2496
|
return Ms || (Ms = 1, (function(a, s) {
|
|
2493
|
-
var r = Le(), t =
|
|
2497
|
+
var r = Le(), t = $f(), e = s && !s.nodeType && s, i = e && !0 && a && !a.nodeType && a, n = i && i.exports === e, o = n ? r.Buffer : void 0, u = o ? o.isBuffer : void 0, l = u || t;
|
|
2494
2498
|
a.exports = l;
|
|
2495
2499
|
})(xt, xt.exports)), xt.exports;
|
|
2496
2500
|
}
|
|
2497
2501
|
var Dn, Fs;
|
|
2498
|
-
function
|
|
2502
|
+
function Yf() {
|
|
2499
2503
|
if (Fs) return Dn;
|
|
2500
2504
|
Fs = 1;
|
|
2501
2505
|
var a = 9007199254740991, s = /^(?:0|[1-9]\d*)$/;
|
|
@@ -2516,7 +2520,7 @@ function Ru() {
|
|
|
2516
2520
|
return On = s, On;
|
|
2517
2521
|
}
|
|
2518
2522
|
var Mn, Bs;
|
|
2519
|
-
function
|
|
2523
|
+
function Xf() {
|
|
2520
2524
|
if (Bs) return Mn;
|
|
2521
2525
|
Bs = 1;
|
|
2522
2526
|
var a = _i(), s = Ru(), r = Ht(), t = "[object Arguments]", e = "[object Array]", i = "[object Boolean]", n = "[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]", w = "[object DataView]", b = "[object Float32Array]", C = "[object Float64Array]", L = "[object Int8Array]", T = "[object Int16Array]", I = "[object Int32Array]", j = "[object Uint8Array]", K = "[object Uint8ClampedArray]", z = "[object Uint16Array]", H = "[object Uint32Array]", F = {};
|
|
@@ -2553,17 +2557,17 @@ function aa() {
|
|
|
2553
2557
|
})(It, It.exports)), It.exports;
|
|
2554
2558
|
}
|
|
2555
2559
|
var Nn, js;
|
|
2556
|
-
function
|
|
2560
|
+
function Zf() {
|
|
2557
2561
|
if (js) return Nn;
|
|
2558
2562
|
js = 1;
|
|
2559
|
-
var a =
|
|
2563
|
+
var a = Xf(), s = ra(), r = aa(), t = r && r.isTypedArray, e = t ? s(t) : a;
|
|
2560
2564
|
return Nn = e, Nn;
|
|
2561
2565
|
}
|
|
2562
2566
|
var Bn, zs;
|
|
2563
2567
|
function Du() {
|
|
2564
2568
|
if (zs) return Bn;
|
|
2565
2569
|
zs = 1;
|
|
2566
|
-
var a =
|
|
2570
|
+
var a = Wf(), s = Kf(), r = na(), t = Lu(), e = Yf(), i = Zf(), n = Object.prototype, o = n.hasOwnProperty;
|
|
2567
2571
|
function u(l, c) {
|
|
2568
2572
|
var f = r(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) : [], w = p.length;
|
|
2569
2573
|
for (var b in l)
|
|
@@ -2599,17 +2603,17 @@ function Ou() {
|
|
|
2599
2603
|
return Un = a, Un;
|
|
2600
2604
|
}
|
|
2601
2605
|
var jn, Ws;
|
|
2602
|
-
function
|
|
2606
|
+
function Jf() {
|
|
2603
2607
|
if (Ws) return jn;
|
|
2604
2608
|
Ws = 1;
|
|
2605
2609
|
var a = Ou(), s = a(Object.keys, Object);
|
|
2606
2610
|
return jn = s, jn;
|
|
2607
2611
|
}
|
|
2608
2612
|
var zn, Gs;
|
|
2609
|
-
function
|
|
2613
|
+
function Qf() {
|
|
2610
2614
|
if (Gs) return zn;
|
|
2611
2615
|
Gs = 1;
|
|
2612
|
-
var a = sa(), s =
|
|
2616
|
+
var a = sa(), s = Jf(), r = Object.prototype, t = r.hasOwnProperty;
|
|
2613
2617
|
function e(i) {
|
|
2614
2618
|
if (!a(i))
|
|
2615
2619
|
return s(i);
|
|
@@ -2634,14 +2638,14 @@ var qn, $s;
|
|
|
2634
2638
|
function oa() {
|
|
2635
2639
|
if ($s) return qn;
|
|
2636
2640
|
$s = 1;
|
|
2637
|
-
var a = Du(), s =
|
|
2641
|
+
var a = Du(), s = Qf(), r = Mu();
|
|
2638
2642
|
function t(e) {
|
|
2639
2643
|
return r(e) ? a(e) : s(e);
|
|
2640
2644
|
}
|
|
2641
2645
|
return qn = t, qn;
|
|
2642
2646
|
}
|
|
2643
2647
|
var Wn, Ys;
|
|
2644
|
-
function
|
|
2648
|
+
function eh() {
|
|
2645
2649
|
if (Ys) return Wn;
|
|
2646
2650
|
Ys = 1;
|
|
2647
2651
|
var a = wi(), s = oa();
|
|
@@ -2651,7 +2655,7 @@ function Qf() {
|
|
|
2651
2655
|
return Wn = r, Wn;
|
|
2652
2656
|
}
|
|
2653
2657
|
var Gn, Xs;
|
|
2654
|
-
function
|
|
2658
|
+
function th() {
|
|
2655
2659
|
if (Xs) return Gn;
|
|
2656
2660
|
Xs = 1;
|
|
2657
2661
|
function a(s) {
|
|
@@ -2664,10 +2668,10 @@ function eh() {
|
|
|
2664
2668
|
return Gn = a, Gn;
|
|
2665
2669
|
}
|
|
2666
2670
|
var Kn, Zs;
|
|
2667
|
-
function
|
|
2671
|
+
function ih() {
|
|
2668
2672
|
if (Zs) return Kn;
|
|
2669
2673
|
Zs = 1;
|
|
2670
|
-
var a = Bt(), s = sa(), r =
|
|
2674
|
+
var a = Bt(), s = sa(), r = th(), t = Object.prototype, e = t.hasOwnProperty;
|
|
2671
2675
|
function i(n) {
|
|
2672
2676
|
if (!a(n))
|
|
2673
2677
|
return r(n);
|
|
@@ -2682,14 +2686,14 @@ var $n, Js;
|
|
|
2682
2686
|
function ua() {
|
|
2683
2687
|
if (Js) return $n;
|
|
2684
2688
|
Js = 1;
|
|
2685
|
-
var a = Du(), s =
|
|
2689
|
+
var a = Du(), s = ih(), r = Mu();
|
|
2686
2690
|
function t(e) {
|
|
2687
2691
|
return r(e) ? a(e, !0) : s(e);
|
|
2688
2692
|
}
|
|
2689
2693
|
return $n = t, $n;
|
|
2690
2694
|
}
|
|
2691
2695
|
var Yn, Qs;
|
|
2692
|
-
function
|
|
2696
|
+
function nh() {
|
|
2693
2697
|
if (Qs) return Yn;
|
|
2694
2698
|
Qs = 1;
|
|
2695
2699
|
var a = wi(), s = ua();
|
|
@@ -2701,7 +2705,7 @@ function ih() {
|
|
|
2701
2705
|
var Pt = { exports: {} };
|
|
2702
2706
|
Pt.exports;
|
|
2703
2707
|
var eo;
|
|
2704
|
-
function
|
|
2708
|
+
function rh() {
|
|
2705
2709
|
return eo || (eo = 1, (function(a, s) {
|
|
2706
2710
|
var r = Le(), t = s && !s.nodeType && s, e = t && !0 && a && !a.nodeType && a, i = e && e.exports === t, n = i ? r.Buffer : void 0, o = n ? n.allocUnsafe : void 0;
|
|
2707
2711
|
function u(l, c) {
|
|
@@ -2714,7 +2718,7 @@ function nh() {
|
|
|
2714
2718
|
})(Pt, Pt.exports)), Pt.exports;
|
|
2715
2719
|
}
|
|
2716
2720
|
var Xn, to;
|
|
2717
|
-
function
|
|
2721
|
+
function ah() {
|
|
2718
2722
|
if (to) return Xn;
|
|
2719
2723
|
to = 1;
|
|
2720
2724
|
function a(s, r) {
|
|
@@ -2726,7 +2730,7 @@ function rh() {
|
|
|
2726
2730
|
return Xn = a, Xn;
|
|
2727
2731
|
}
|
|
2728
2732
|
var Zn, io;
|
|
2729
|
-
function
|
|
2733
|
+
function sh() {
|
|
2730
2734
|
if (io) return Zn;
|
|
2731
2735
|
io = 1;
|
|
2732
2736
|
function a(s, r) {
|
|
@@ -2751,7 +2755,7 @@ var Qn, ro;
|
|
|
2751
2755
|
function la() {
|
|
2752
2756
|
if (ro) return Qn;
|
|
2753
2757
|
ro = 1;
|
|
2754
|
-
var a =
|
|
2758
|
+
var a = sh(), s = Fu(), r = Object.prototype, t = r.propertyIsEnumerable, e = Object.getOwnPropertySymbols, i = e ? function(n) {
|
|
2755
2759
|
return n == null ? [] : (n = Object(n), a(e(n), function(o) {
|
|
2756
2760
|
return t.call(n, o);
|
|
2757
2761
|
}));
|
|
@@ -2759,7 +2763,7 @@ function la() {
|
|
|
2759
2763
|
return Qn = i, Qn;
|
|
2760
2764
|
}
|
|
2761
2765
|
var er, ao;
|
|
2762
|
-
function
|
|
2766
|
+
function oh() {
|
|
2763
2767
|
if (ao) return er;
|
|
2764
2768
|
ao = 1;
|
|
2765
2769
|
var a = wi(), s = la();
|
|
@@ -2798,7 +2802,7 @@ function Hu() {
|
|
|
2798
2802
|
return nr = i, nr;
|
|
2799
2803
|
}
|
|
2800
2804
|
var rr, lo;
|
|
2801
|
-
function
|
|
2805
|
+
function uh() {
|
|
2802
2806
|
if (lo) return rr;
|
|
2803
2807
|
lo = 1;
|
|
2804
2808
|
var a = wi(), s = Hu();
|
|
@@ -2819,7 +2823,7 @@ function Uu() {
|
|
|
2819
2823
|
return ar = r, ar;
|
|
2820
2824
|
}
|
|
2821
2825
|
var sr, fo;
|
|
2822
|
-
function
|
|
2826
|
+
function lh() {
|
|
2823
2827
|
if (fo) return sr;
|
|
2824
2828
|
fo = 1;
|
|
2825
2829
|
var a = Uu(), s = la(), r = oa();
|
|
@@ -2829,7 +2833,7 @@ function uh() {
|
|
|
2829
2833
|
return sr = t, sr;
|
|
2830
2834
|
}
|
|
2831
2835
|
var or, ho;
|
|
2832
|
-
function
|
|
2836
|
+
function ch() {
|
|
2833
2837
|
if (ho) return or;
|
|
2834
2838
|
ho = 1;
|
|
2835
2839
|
var a = Uu(), s = Hu(), r = ua();
|
|
@@ -2839,28 +2843,28 @@ function lh() {
|
|
|
2839
2843
|
return or = t, or;
|
|
2840
2844
|
}
|
|
2841
2845
|
var ur, go;
|
|
2842
|
-
function
|
|
2846
|
+
function fh() {
|
|
2843
2847
|
if (go) return ur;
|
|
2844
2848
|
go = 1;
|
|
2845
2849
|
var a = rt(), s = Le(), r = a(s, "DataView");
|
|
2846
2850
|
return ur = r, ur;
|
|
2847
2851
|
}
|
|
2848
2852
|
var lr, vo;
|
|
2849
|
-
function
|
|
2853
|
+
function hh() {
|
|
2850
2854
|
if (vo) return lr;
|
|
2851
2855
|
vo = 1;
|
|
2852
2856
|
var a = rt(), s = Le(), r = a(s, "Promise");
|
|
2853
2857
|
return lr = r, lr;
|
|
2854
2858
|
}
|
|
2855
2859
|
var cr, po;
|
|
2856
|
-
function
|
|
2860
|
+
function dh() {
|
|
2857
2861
|
if (po) return cr;
|
|
2858
2862
|
po = 1;
|
|
2859
2863
|
var a = rt(), s = Le(), r = a(s, "Set");
|
|
2860
2864
|
return cr = r, cr;
|
|
2861
2865
|
}
|
|
2862
2866
|
var fr, mo;
|
|
2863
|
-
function
|
|
2867
|
+
function gh() {
|
|
2864
2868
|
if (mo) return fr;
|
|
2865
2869
|
mo = 1;
|
|
2866
2870
|
var a = rt(), s = Le(), r = a(s, "WeakMap");
|
|
@@ -2870,7 +2874,7 @@ var hr, yo;
|
|
|
2870
2874
|
function ca() {
|
|
2871
2875
|
if (yo) return hr;
|
|
2872
2876
|
yo = 1;
|
|
2873
|
-
var a =
|
|
2877
|
+
var a = fh(), s = ia(), r = hh(), t = dh(), e = gh(), i = _i(), n = Iu(), o = "[object Map]", u = "[object Object]", l = "[object Promise]", c = "[object Set]", f = "[object WeakMap]", d = "[object DataView]", g = n(a), v = n(s), m = n(r), p = n(t), w = n(e), b = i;
|
|
2874
2878
|
return (a && b(new a(new ArrayBuffer(1))) != d || s && b(new s()) != o || r && b(r.resolve()) != l || t && b(new t()) != c || e && b(new e()) != f) && (b = function(C) {
|
|
2875
2879
|
var L = i(C), T = L == u ? C.constructor : void 0, I = T ? n(T) : "";
|
|
2876
2880
|
if (I)
|
|
@@ -2890,7 +2894,7 @@ function ca() {
|
|
|
2890
2894
|
}), hr = b, hr;
|
|
2891
2895
|
}
|
|
2892
2896
|
var dr, _o;
|
|
2893
|
-
function
|
|
2897
|
+
function vh() {
|
|
2894
2898
|
if (_o) return dr;
|
|
2895
2899
|
_o = 1;
|
|
2896
2900
|
var a = Object.prototype, s = a.hasOwnProperty;
|
|
@@ -2901,7 +2905,7 @@ function gh() {
|
|
|
2901
2905
|
return dr = r, dr;
|
|
2902
2906
|
}
|
|
2903
2907
|
var gr, bo;
|
|
2904
|
-
function
|
|
2908
|
+
function ph() {
|
|
2905
2909
|
if (bo) return gr;
|
|
2906
2910
|
bo = 1;
|
|
2907
2911
|
var a = Le(), s = a.Uint8Array;
|
|
@@ -2911,7 +2915,7 @@ var vr, Co;
|
|
|
2911
2915
|
function fa() {
|
|
2912
2916
|
if (Co) return vr;
|
|
2913
2917
|
Co = 1;
|
|
2914
|
-
var a =
|
|
2918
|
+
var a = ph();
|
|
2915
2919
|
function s(r) {
|
|
2916
2920
|
var t = new r.constructor(r.byteLength);
|
|
2917
2921
|
return new a(t).set(new a(r)), t;
|
|
@@ -2919,7 +2923,7 @@ function fa() {
|
|
|
2919
2923
|
return vr = s, vr;
|
|
2920
2924
|
}
|
|
2921
2925
|
var pr, wo;
|
|
2922
|
-
function
|
|
2926
|
+
function mh() {
|
|
2923
2927
|
if (wo) return pr;
|
|
2924
2928
|
wo = 1;
|
|
2925
2929
|
var a = fa();
|
|
@@ -2930,7 +2934,7 @@ function ph() {
|
|
|
2930
2934
|
return pr = s, pr;
|
|
2931
2935
|
}
|
|
2932
2936
|
var mr, ko;
|
|
2933
|
-
function
|
|
2937
|
+
function yh() {
|
|
2934
2938
|
if (ko) return mr;
|
|
2935
2939
|
ko = 1;
|
|
2936
2940
|
var a = /\w*$/;
|
|
@@ -2941,7 +2945,7 @@ function mh() {
|
|
|
2941
2945
|
return mr = s, mr;
|
|
2942
2946
|
}
|
|
2943
2947
|
var yr, To;
|
|
2944
|
-
function
|
|
2948
|
+
function _h() {
|
|
2945
2949
|
if (To) return yr;
|
|
2946
2950
|
To = 1;
|
|
2947
2951
|
var a = ta(), s = a ? a.prototype : void 0, r = s ? s.valueOf : void 0;
|
|
@@ -2951,7 +2955,7 @@ function yh() {
|
|
|
2951
2955
|
return yr = t, yr;
|
|
2952
2956
|
}
|
|
2953
2957
|
var _r, So;
|
|
2954
|
-
function
|
|
2958
|
+
function bh() {
|
|
2955
2959
|
if (So) return _r;
|
|
2956
2960
|
So = 1;
|
|
2957
2961
|
var a = fa();
|
|
@@ -2962,10 +2966,10 @@ function _h() {
|
|
|
2962
2966
|
return _r = s, _r;
|
|
2963
2967
|
}
|
|
2964
2968
|
var br, Eo;
|
|
2965
|
-
function
|
|
2969
|
+
function Ch() {
|
|
2966
2970
|
if (Eo) return br;
|
|
2967
2971
|
Eo = 1;
|
|
2968
|
-
var a = fa(), s =
|
|
2972
|
+
var a = fa(), s = mh(), r = yh(), t = _h(), e = bh(), i = "[object Boolean]", n = "[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]", w = "[object Int8Array]", b = "[object Int16Array]", C = "[object Int32Array]", L = "[object Uint8Array]", T = "[object Uint8ClampedArray]", I = "[object Uint16Array]", j = "[object Uint32Array]";
|
|
2969
2973
|
function K(z, H, F) {
|
|
2970
2974
|
var ae = z.constructor;
|
|
2971
2975
|
switch (H) {
|
|
@@ -3002,7 +3006,7 @@ function bh() {
|
|
|
3002
3006
|
return br = K, br;
|
|
3003
3007
|
}
|
|
3004
3008
|
var Cr, xo;
|
|
3005
|
-
function
|
|
3009
|
+
function wh() {
|
|
3006
3010
|
if (xo) return Cr;
|
|
3007
3011
|
xo = 1;
|
|
3008
3012
|
var a = Bt(), s = Object.create, r = /* @__PURE__ */ (function() {
|
|
@@ -3021,17 +3025,17 @@ function Ch() {
|
|
|
3021
3025
|
return Cr = r, Cr;
|
|
3022
3026
|
}
|
|
3023
3027
|
var wr, Io;
|
|
3024
|
-
function
|
|
3028
|
+
function kh() {
|
|
3025
3029
|
if (Io) return wr;
|
|
3026
3030
|
Io = 1;
|
|
3027
|
-
var a =
|
|
3031
|
+
var a = wh(), s = Bu(), r = sa();
|
|
3028
3032
|
function t(e) {
|
|
3029
3033
|
return typeof e.constructor == "function" && !r(e) ? a(s(e)) : {};
|
|
3030
3034
|
}
|
|
3031
3035
|
return wr = t, wr;
|
|
3032
3036
|
}
|
|
3033
3037
|
var kr, Po;
|
|
3034
|
-
function
|
|
3038
|
+
function Th() {
|
|
3035
3039
|
if (Po) return kr;
|
|
3036
3040
|
Po = 1;
|
|
3037
3041
|
var a = ca(), s = Ht(), r = "[object Map]";
|
|
@@ -3041,14 +3045,14 @@ function kh() {
|
|
|
3041
3045
|
return kr = t, kr;
|
|
3042
3046
|
}
|
|
3043
3047
|
var Tr, Ao;
|
|
3044
|
-
function
|
|
3048
|
+
function Sh() {
|
|
3045
3049
|
if (Ao) return Tr;
|
|
3046
3050
|
Ao = 1;
|
|
3047
|
-
var a =
|
|
3051
|
+
var a = Th(), s = ra(), r = aa(), t = r && r.isMap, e = t ? s(t) : a;
|
|
3048
3052
|
return Tr = e, Tr;
|
|
3049
3053
|
}
|
|
3050
3054
|
var Sr, Lo;
|
|
3051
|
-
function
|
|
3055
|
+
function Eh() {
|
|
3052
3056
|
if (Lo) return Sr;
|
|
3053
3057
|
Lo = 1;
|
|
3054
3058
|
var a = ca(), s = Ht(), r = "[object Set]";
|
|
@@ -3058,17 +3062,17 @@ function Sh() {
|
|
|
3058
3062
|
return Sr = t, Sr;
|
|
3059
3063
|
}
|
|
3060
3064
|
var Er, Ro;
|
|
3061
|
-
function
|
|
3065
|
+
function xh() {
|
|
3062
3066
|
if (Ro) return Er;
|
|
3063
3067
|
Ro = 1;
|
|
3064
|
-
var a =
|
|
3068
|
+
var a = Eh(), s = ra(), r = aa(), t = r && r.isSet, e = t ? s(t) : a;
|
|
3065
3069
|
return Er = e, Er;
|
|
3066
3070
|
}
|
|
3067
3071
|
var xr, Do;
|
|
3068
|
-
function
|
|
3072
|
+
function Ih() {
|
|
3069
3073
|
if (Do) return xr;
|
|
3070
3074
|
Do = 1;
|
|
3071
|
-
var a =
|
|
3075
|
+
var a = zf(), s = Vf(), r = Au(), t = eh(), e = nh(), i = rh(), n = ah(), o = oh(), u = uh(), l = lh(), c = ch(), f = ca(), d = vh(), g = Ch(), v = kh(), m = na(), p = Lu(), w = Sh(), b = Bt(), C = xh(), L = oa(), T = ua(), I = 1, j = 2, K = 4, z = "[object Arguments]", H = "[object Array]", F = "[object Boolean]", ae = "[object Date]", ve = "[object Error]", Re = "[object Function]", zt = "[object GeneratorFunction]", Vt = "[object Map]", wt = "[object Number]", kt = "[object Object]", qt = "[object RegExp]", De = "[object Set]", N = "[object String]", W = "[object Symbol]", ne = "[object WeakMap]", pe = "[object ArrayBuffer]", we = "[object DataView]", ke = "[object Float32Array]", Ie = "[object Float64Array]", Ze = "[object Int8Array]", Wt = "[object Int16Array]", Gt = "[object Int32Array]", Tt = "[object Uint8Array]", Sl = "[object Uint8ClampedArray]", El = "[object Uint16Array]", xl = "[object Uint32Array]", Z = {};
|
|
3072
3076
|
Z[z] = Z[H] = Z[pe] = Z[we] = Z[F] = Z[ae] = Z[ke] = Z[Ie] = Z[Ze] = Z[Wt] = Z[Gt] = Z[Vt] = Z[wt] = Z[kt] = Z[qt] = Z[De] = Z[N] = Z[W] = Z[Tt] = Z[Sl] = Z[El] = Z[xl] = !0, Z[ve] = Z[Re] = Z[ne] = !1;
|
|
3073
3077
|
function Kt($, ut, lt, Il, $t, je) {
|
|
3074
3078
|
var fe, Yt = ut & I, Xt = ut & j, Pl = ut & K;
|
|
@@ -3110,16 +3114,16 @@ function xh() {
|
|
|
3110
3114
|
return xr = Kt, xr;
|
|
3111
3115
|
}
|
|
3112
3116
|
var Ir, Oo;
|
|
3113
|
-
function
|
|
3117
|
+
function Ph() {
|
|
3114
3118
|
if (Oo) return Ir;
|
|
3115
3119
|
Oo = 1;
|
|
3116
|
-
var a =
|
|
3120
|
+
var a = Ih(), s = 1, r = 4;
|
|
3117
3121
|
function t(e) {
|
|
3118
3122
|
return a(e, s | r);
|
|
3119
3123
|
}
|
|
3120
3124
|
return Ir = t, Ir;
|
|
3121
3125
|
}
|
|
3122
|
-
var
|
|
3126
|
+
var Ah = Ph(), Lh = /* @__PURE__ */ hf(Ah), ha = re({
|
|
3123
3127
|
name: "DocumentEditor",
|
|
3124
3128
|
props: {
|
|
3125
3129
|
id: {
|
|
@@ -3179,7 +3183,7 @@ var Ph = Ih(), Ah = /* @__PURE__ */ ff(Ph), ha = re({
|
|
|
3179
3183
|
var a = this, s, r = this.documentServerUrl;
|
|
3180
3184
|
r.endsWith("/") || (r += "/");
|
|
3181
3185
|
var t = "".concat(r, "web-apps/apps/api/documents/api.js");
|
|
3182
|
-
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)),
|
|
3186
|
+
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)), ff(t, "onlyoffice-api-script").then(function() {
|
|
3183
3187
|
return a.onLoad();
|
|
3184
3188
|
}).catch(function() {
|
|
3185
3189
|
a.onError(-2);
|
|
@@ -3228,7 +3232,7 @@ var Ph = Ih(), Ah = /* @__PURE__ */ ff(Ph), ha = re({
|
|
|
3228
3232
|
return;
|
|
3229
3233
|
}
|
|
3230
3234
|
!((s = window == null ? void 0 : window.DocEditor) === null || s === void 0) && s.instances || (window.DocEditor = { instances: {} });
|
|
3231
|
-
var t =
|
|
3235
|
+
var t = Lh(this.config), e = {
|
|
3232
3236
|
documentType: this.documentType,
|
|
3233
3237
|
events: {
|
|
3234
3238
|
onAppReady: this.onAppReady,
|
|
@@ -3297,13 +3301,13 @@ var Ph = Ih(), Ah = /* @__PURE__ */ ff(Ph), ha = re({
|
|
|
3297
3301
|
}
|
|
3298
3302
|
}
|
|
3299
3303
|
});
|
|
3300
|
-
const
|
|
3301
|
-
function
|
|
3302
|
-
return E(), R("div", { id: a.id }, null, 8,
|
|
3304
|
+
const Rh = ["id"];
|
|
3305
|
+
function Dh(a, s, r, t, e, i) {
|
|
3306
|
+
return E(), R("div", { id: a.id }, null, 8, Rh);
|
|
3303
3307
|
}
|
|
3304
|
-
ha.render =
|
|
3308
|
+
ha.render = Dh;
|
|
3305
3309
|
ha.__file = "src/components/DocumentEditor.vue";
|
|
3306
|
-
const
|
|
3310
|
+
const Oh = /* @__PURE__ */ re({
|
|
3307
3311
|
__name: "IkOnlyOffice",
|
|
3308
3312
|
props: {
|
|
3309
3313
|
// 文件服务器的服务的地址
|
|
@@ -3350,39 +3354,39 @@ const Dh = /* @__PURE__ */ re({
|
|
|
3350
3354
|
/* STYLE */
|
|
3351
3355
|
));
|
|
3352
3356
|
}
|
|
3353
|
-
}),
|
|
3357
|
+
}), Mh = He(Oh);
|
|
3354
3358
|
var Mo;
|
|
3355
|
-
const ju = typeof window < "u",
|
|
3359
|
+
const ju = typeof window < "u", Fh = (a) => typeof a == "string", Nh = () => {
|
|
3356
3360
|
};
|
|
3357
3361
|
ju && ((Mo = window == null ? void 0 : window.navigator) != null && Mo.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
3358
3362
|
function zu(a) {
|
|
3359
3363
|
return typeof a == "function" ? a() : x(a);
|
|
3360
3364
|
}
|
|
3361
|
-
function
|
|
3365
|
+
function Bh(a) {
|
|
3362
3366
|
return a;
|
|
3363
3367
|
}
|
|
3364
|
-
function
|
|
3368
|
+
function Hh(a) {
|
|
3365
3369
|
return Ol() ? (Ml(a), !0) : !1;
|
|
3366
3370
|
}
|
|
3367
|
-
function
|
|
3371
|
+
function Uh(a) {
|
|
3368
3372
|
var s;
|
|
3369
3373
|
const r = zu(a);
|
|
3370
3374
|
return (s = r == null ? void 0 : r.$el) != null ? s : r;
|
|
3371
3375
|
}
|
|
3372
|
-
const
|
|
3376
|
+
const jh = ju ? window : void 0;
|
|
3373
3377
|
function Jt(...a) {
|
|
3374
3378
|
let s, r, t, e;
|
|
3375
|
-
if (
|
|
3376
|
-
return
|
|
3379
|
+
if (Fh(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, s = jh) : [s, r, t, e] = a, !s)
|
|
3380
|
+
return Nh;
|
|
3377
3381
|
Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
|
|
3378
3382
|
const i = [], n = () => {
|
|
3379
3383
|
i.forEach((c) => c()), i.length = 0;
|
|
3380
|
-
}, o = (c, f, d, g) => (c.addEventListener(f, d, g), () => c.removeEventListener(f, d, g)), u = Dt(() => [
|
|
3384
|
+
}, o = (c, f, d, g) => (c.addEventListener(f, d, g), () => c.removeEventListener(f, d, g)), u = Dt(() => [Uh(s), zu(e)], ([c, f]) => {
|
|
3381
3385
|
n(), c && i.push(...r.flatMap((d) => t.map((g) => o(c, d, g, f))));
|
|
3382
3386
|
}, { immediate: !0, flush: "post" }), l = () => {
|
|
3383
3387
|
u(), n();
|
|
3384
3388
|
};
|
|
3385
|
-
return
|
|
3389
|
+
return Hh(l), l;
|
|
3386
3390
|
}
|
|
3387
3391
|
const Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, No = "__vueuse_ssr_handlers__";
|
|
3388
3392
|
Fo[No] = Fo[No] || {};
|
|
@@ -3390,15 +3394,15 @@ var Bo;
|
|
|
3390
3394
|
(function(a) {
|
|
3391
3395
|
a.UP = "UP", a.RIGHT = "RIGHT", a.DOWN = "DOWN", a.LEFT = "LEFT", a.NONE = "NONE";
|
|
3392
3396
|
})(Bo || (Bo = {}));
|
|
3393
|
-
var
|
|
3397
|
+
var zh = Object.defineProperty, Ho = Object.getOwnPropertySymbols, Vh = Object.prototype.hasOwnProperty, qh = Object.prototype.propertyIsEnumerable, Uo = (a, s, r) => s in a ? zh(a, s, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[s] = r, Wh = (a, s) => {
|
|
3394
3398
|
for (var r in s || (s = {}))
|
|
3395
|
-
|
|
3399
|
+
Vh.call(s, r) && Uo(a, r, s[r]);
|
|
3396
3400
|
if (Ho)
|
|
3397
3401
|
for (var r of Ho(s))
|
|
3398
|
-
|
|
3402
|
+
qh.call(s, r) && Uo(a, r, s[r]);
|
|
3399
3403
|
return a;
|
|
3400
3404
|
};
|
|
3401
|
-
const
|
|
3405
|
+
const Gh = {
|
|
3402
3406
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
3403
3407
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
3404
3408
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -3424,10 +3428,10 @@ const Wh = {
|
|
|
3424
3428
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
3425
3429
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
3426
3430
|
};
|
|
3427
|
-
|
|
3428
|
-
linear:
|
|
3429
|
-
},
|
|
3430
|
-
const
|
|
3431
|
+
Wh({
|
|
3432
|
+
linear: Bh
|
|
3433
|
+
}, Gh);
|
|
3434
|
+
const Kh = {
|
|
3431
3435
|
/**
|
|
3432
3436
|
* @description preview link list.
|
|
3433
3437
|
*/
|
|
@@ -3497,26 +3501,26 @@ const Gh = {
|
|
|
3497
3501
|
crossorigin: {
|
|
3498
3502
|
type: ["anonymous", "use-credentials", ""]
|
|
3499
3503
|
}
|
|
3500
|
-
},
|
|
3504
|
+
}, $h = {
|
|
3501
3505
|
close: () => !0,
|
|
3502
3506
|
switch: (a) => Gr.isNumber(a),
|
|
3503
3507
|
rotate: (a) => Gr.isNumber(a)
|
|
3504
|
-
},
|
|
3508
|
+
}, Yh = ["src", "crossorigin"], Xh = /* @__PURE__ */ re({
|
|
3505
3509
|
name: "ElImageViewer",
|
|
3506
3510
|
__name: "IkImageViewer",
|
|
3507
|
-
props:
|
|
3508
|
-
emits:
|
|
3511
|
+
props: Kh,
|
|
3512
|
+
emits: $h,
|
|
3509
3513
|
setup(a, { expose: s, emit: r }) {
|
|
3510
3514
|
const t = (N) => Object.keys(N), e = {
|
|
3511
3515
|
CONTAIN: {
|
|
3512
3516
|
name: "contain",
|
|
3513
|
-
icon: Ia(
|
|
3517
|
+
icon: Ia(mc)
|
|
3514
3518
|
},
|
|
3515
3519
|
ORIGINAL: {
|
|
3516
3520
|
name: "original",
|
|
3517
|
-
icon: Ia(
|
|
3521
|
+
icon: Ia(kc)
|
|
3518
3522
|
}
|
|
3519
|
-
}, i = a, n = r, { t: o } =
|
|
3523
|
+
}, i = a, n = r, { t: o } = Wl(), u = bu("image-viewer"), { nextZIndex: l } = Gl(), c = de(), f = de([]), d = Fl(), g = de(!0), v = de(i.initialIndex), m = Nl(e.CONTAIN), p = de({
|
|
3520
3524
|
scale: 1,
|
|
3521
3525
|
deg: 0,
|
|
3522
3526
|
offsetX: 0,
|
|
@@ -3735,7 +3739,7 @@ const Gh = {
|
|
|
3735
3739
|
[
|
|
3736
3740
|
Y(x(Ve), null, {
|
|
3737
3741
|
default: ie(() => [
|
|
3738
|
-
Y(x(
|
|
3742
|
+
Y(x(hc))
|
|
3739
3743
|
]),
|
|
3740
3744
|
_: 1
|
|
3741
3745
|
/* STABLE */
|
|
@@ -3753,7 +3757,7 @@ const Gh = {
|
|
|
3753
3757
|
[
|
|
3754
3758
|
Y(x(Ve), null, {
|
|
3755
3759
|
default: ie(() => [
|
|
3756
|
-
Y(x(
|
|
3760
|
+
Y(x(gc))
|
|
3757
3761
|
]),
|
|
3758
3762
|
_: 1
|
|
3759
3763
|
/* STABLE */
|
|
@@ -3783,7 +3787,7 @@ const Gh = {
|
|
|
3783
3787
|
onClick: W[1] || (W[1] = (ne) => De("zoomOut"))
|
|
3784
3788
|
}, {
|
|
3785
3789
|
default: ie(() => [
|
|
3786
|
-
Y(x(
|
|
3790
|
+
Y(x(xc))
|
|
3787
3791
|
]),
|
|
3788
3792
|
_: 1
|
|
3789
3793
|
/* STABLE */
|
|
@@ -3792,7 +3796,7 @@ const Gh = {
|
|
|
3792
3796
|
onClick: W[2] || (W[2] = (ne) => De("zoomIn"))
|
|
3793
3797
|
}, {
|
|
3794
3798
|
default: ie(() => [
|
|
3795
|
-
Y(x(
|
|
3799
|
+
Y(x(Sc))
|
|
3796
3800
|
]),
|
|
3797
3801
|
_: 1
|
|
3798
3802
|
/* STABLE */
|
|
@@ -3826,7 +3830,7 @@ const Gh = {
|
|
|
3826
3830
|
onClick: W[3] || (W[3] = (ne) => De("anticlockwise"))
|
|
3827
3831
|
}, {
|
|
3828
3832
|
default: ie(() => [
|
|
3829
|
-
Y(x(
|
|
3833
|
+
Y(x(_c))
|
|
3830
3834
|
]),
|
|
3831
3835
|
_: 1
|
|
3832
3836
|
/* STABLE */
|
|
@@ -3835,7 +3839,7 @@ const Gh = {
|
|
|
3835
3839
|
onClick: W[4] || (W[4] = (ne) => De("clockwise"))
|
|
3836
3840
|
}, {
|
|
3837
3841
|
default: ie(() => [
|
|
3838
|
-
Y(x(
|
|
3842
|
+
Y(x(Cc))
|
|
3839
3843
|
]),
|
|
3840
3844
|
_: 1
|
|
3841
3845
|
/* STABLE */
|
|
@@ -3869,7 +3873,7 @@ const Gh = {
|
|
|
3869
3873
|
onLoad: ae,
|
|
3870
3874
|
onError: ve,
|
|
3871
3875
|
onMousedown: Re
|
|
3872
|
-
}, null, 46,
|
|
3876
|
+
}, null, 46, Yh)), [
|
|
3873
3877
|
[Ul, pe === v.value]
|
|
3874
3878
|
])),
|
|
3875
3879
|
128
|
|
@@ -3890,8 +3894,8 @@ const Gh = {
|
|
|
3890
3894
|
})
|
|
3891
3895
|
]));
|
|
3892
3896
|
}
|
|
3893
|
-
}),
|
|
3894
|
-
function
|
|
3897
|
+
}), Zh = He(Xh);
|
|
3898
|
+
function Jh(a, s) {
|
|
3895
3899
|
var r = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
|
|
3896
3900
|
if (r != null) {
|
|
3897
3901
|
var t, e, i, n, o = [], u = !0, l = !1;
|
|
@@ -3987,7 +3991,7 @@ function Kr(a, s) {
|
|
|
3987
3991
|
return t.__proto__ = e, t;
|
|
3988
3992
|
}, Kr(a, s);
|
|
3989
3993
|
}
|
|
3990
|
-
function
|
|
3994
|
+
function Qh() {
|
|
3991
3995
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
3992
3996
|
return !1;
|
|
3993
3997
|
if (typeof Proxy == "function")
|
|
@@ -4012,7 +4016,7 @@ function da(a, s) {
|
|
|
4012
4016
|
return y(a);
|
|
4013
4017
|
}
|
|
4014
4018
|
function O(a) {
|
|
4015
|
-
var s =
|
|
4019
|
+
var s = Qh();
|
|
4016
4020
|
return function() {
|
|
4017
4021
|
var t = M(a), e;
|
|
4018
4022
|
if (s) {
|
|
@@ -4023,35 +4027,35 @@ function O(a) {
|
|
|
4023
4027
|
return da(this, e);
|
|
4024
4028
|
};
|
|
4025
4029
|
}
|
|
4026
|
-
function
|
|
4030
|
+
function ed(a, s) {
|
|
4027
4031
|
for (; !Object.prototype.hasOwnProperty.call(a, s) && (a = M(a), a !== null); )
|
|
4028
4032
|
;
|
|
4029
4033
|
return a;
|
|
4030
4034
|
}
|
|
4031
4035
|
function B() {
|
|
4032
4036
|
return typeof Reflect < "u" && Reflect.get ? B = Reflect.get.bind() : B = function(s, r, t) {
|
|
4033
|
-
var e =
|
|
4037
|
+
var e = ed(s, r);
|
|
4034
4038
|
if (e) {
|
|
4035
4039
|
var i = Object.getOwnPropertyDescriptor(e, r);
|
|
4036
4040
|
return i.get ? i.get.call(arguments.length < 3 ? s : t) : i.value;
|
|
4037
4041
|
}
|
|
4038
4042
|
}, B.apply(this, arguments);
|
|
4039
4043
|
}
|
|
4040
|
-
function
|
|
4041
|
-
return
|
|
4044
|
+
function td(a, s) {
|
|
4045
|
+
return nd(a) || Jh(a, s) || Vu(a, s) || sd();
|
|
4042
4046
|
}
|
|
4043
4047
|
function xe(a) {
|
|
4044
|
-
return
|
|
4048
|
+
return id(a) || rd(a) || Vu(a) || ad();
|
|
4045
4049
|
}
|
|
4046
|
-
function
|
|
4050
|
+
function id(a) {
|
|
4047
4051
|
if (Array.isArray(a))
|
|
4048
4052
|
return $r(a);
|
|
4049
4053
|
}
|
|
4050
|
-
function
|
|
4054
|
+
function nd(a) {
|
|
4051
4055
|
if (Array.isArray(a))
|
|
4052
4056
|
return a;
|
|
4053
4057
|
}
|
|
4054
|
-
function
|
|
4058
|
+
function rd(a) {
|
|
4055
4059
|
if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
|
|
4056
4060
|
return Array.from(a);
|
|
4057
4061
|
}
|
|
@@ -4072,15 +4076,15 @@ function $r(a, s) {
|
|
|
4072
4076
|
t[r] = a[r];
|
|
4073
4077
|
return t;
|
|
4074
4078
|
}
|
|
4075
|
-
function
|
|
4079
|
+
function ad() {
|
|
4076
4080
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4077
4081
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4078
4082
|
}
|
|
4079
|
-
function
|
|
4083
|
+
function sd() {
|
|
4080
4084
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4081
4085
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4082
4086
|
}
|
|
4083
|
-
function
|
|
4087
|
+
function od(a, s) {
|
|
4084
4088
|
if (typeof a != "object" || a === null)
|
|
4085
4089
|
return a;
|
|
4086
4090
|
var r = a[Symbol.toPrimitive];
|
|
@@ -4093,11 +4097,11 @@ function sd(a, s) {
|
|
|
4093
4097
|
return (s === "string" ? String : Number)(a);
|
|
4094
4098
|
}
|
|
4095
4099
|
function qu(a) {
|
|
4096
|
-
var s =
|
|
4100
|
+
var s = od(a, "string");
|
|
4097
4101
|
return typeof s == "symbol" ? s : String(s);
|
|
4098
4102
|
}
|
|
4099
4103
|
var Pr = { exports: {} }, Vo;
|
|
4100
|
-
function
|
|
4104
|
+
function ud() {
|
|
4101
4105
|
return Vo || (Vo = 1, (function(a) {
|
|
4102
4106
|
var s = Object.prototype.hasOwnProperty, r = "~";
|
|
4103
4107
|
function t() {
|
|
@@ -4203,15 +4207,15 @@ function od() {
|
|
|
4203
4207
|
}, o.prototype.off = o.prototype.removeListener, o.prototype.addListener = o.prototype.on, o.prefixed = r, o.EventEmitter = o, a.exports = o;
|
|
4204
4208
|
})(Pr)), Pr.exports;
|
|
4205
4209
|
}
|
|
4206
|
-
var Wu =
|
|
4210
|
+
var Wu = ud();
|
|
4207
4211
|
const Gu = /* @__PURE__ */ Tu(Wu);
|
|
4208
|
-
var
|
|
4212
|
+
var ld = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Ar = {
|
|
4209
4213
|
info: "color: #525252; background-color: #90ee90;",
|
|
4210
4214
|
error: "color: #525252; background-color: red;",
|
|
4211
4215
|
warn: "color: #525252; background-color: yellow; "
|
|
4212
4216
|
}, Lr = "%c[xgplayer]", V = {
|
|
4213
4217
|
config: {
|
|
4214
|
-
debug:
|
|
4218
|
+
debug: ld ? 3 : 0
|
|
4215
4219
|
},
|
|
4216
4220
|
logInfo: function(s) {
|
|
4217
4221
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
@@ -4232,10 +4236,10 @@ var ud = typeof window < "u" && window.location && window.location.href.indexOf(
|
|
|
4232
4236
|
}
|
|
4233
4237
|
}
|
|
4234
4238
|
};
|
|
4235
|
-
function
|
|
4239
|
+
function cd(a) {
|
|
4236
4240
|
a.logInfo = V.logInfo.bind(a), a.logWarn = V.logWarn.bind(a), a.logError = V.logError.bind(a);
|
|
4237
4241
|
}
|
|
4238
|
-
var
|
|
4242
|
+
var fd = /* @__PURE__ */ (function() {
|
|
4239
4243
|
function a(s) {
|
|
4240
4244
|
P(this, a), this.bufferedList = s;
|
|
4241
4245
|
}
|
|
@@ -4480,7 +4484,7 @@ h.setStyleFromCsstext = function(a, s) {
|
|
|
4480
4484
|
a.style[t] = s[t];
|
|
4481
4485
|
});
|
|
4482
4486
|
};
|
|
4483
|
-
function
|
|
4487
|
+
function hd(a, s) {
|
|
4484
4488
|
for (var r = 0, t = s.length; r < t; r++)
|
|
4485
4489
|
if (a.indexOf(s[r]) > -1)
|
|
4486
4490
|
return !0;
|
|
@@ -4494,7 +4498,7 @@ h.filterStyleFromText = function(a) {
|
|
|
4494
4498
|
return t.map(function(n) {
|
|
4495
4499
|
if (n) {
|
|
4496
4500
|
var o = n.split(":");
|
|
4497
|
-
o.length > 1 && (
|
|
4501
|
+
o.length > 1 && (hd(o[0], s) ? e[o[0]] = o[1] : i[o[0]] = o[1]);
|
|
4498
4502
|
}
|
|
4499
4503
|
}), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
|
|
4500
4504
|
a.style[n] = i[n];
|
|
@@ -4559,7 +4563,7 @@ h.getBuffered2 = function(a) {
|
|
|
4559
4563
|
}
|
|
4560
4564
|
else
|
|
4561
4565
|
e = r;
|
|
4562
|
-
return new
|
|
4566
|
+
return new fd(e);
|
|
4563
4567
|
};
|
|
4564
4568
|
h.getEventPos = function(a) {
|
|
4565
4569
|
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -4683,7 +4687,7 @@ function Ku(a) {
|
|
|
4683
4687
|
var s = le(a);
|
|
4684
4688
|
return a !== null && (s === "object" || s === "function");
|
|
4685
4689
|
}
|
|
4686
|
-
function
|
|
4690
|
+
function dd(a, s, r) {
|
|
4687
4691
|
var t, e, i, n, o, u, l = 0, c = !1, f = !1, d = !0, g = !s && s !== 0 && typeof window.requestAnimationFrame == "function";
|
|
4688
4692
|
if (typeof a != "function")
|
|
4689
4693
|
throw new TypeError("Expected a function");
|
|
@@ -4742,21 +4746,21 @@ function hd(a, s, r) {
|
|
|
4742
4746
|
}
|
|
4743
4747
|
return z.cancel = I, z.flush = j, z.pending = K, z;
|
|
4744
4748
|
}
|
|
4745
|
-
function
|
|
4749
|
+
function gd(a, s, r) {
|
|
4746
4750
|
var t = !0, e = !0;
|
|
4747
4751
|
if (typeof a != "function")
|
|
4748
4752
|
throw new TypeError("Expected a function");
|
|
4749
|
-
return Ku(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e),
|
|
4753
|
+
return Ku(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), dd(a, s, {
|
|
4750
4754
|
leading: t,
|
|
4751
4755
|
trailing: e,
|
|
4752
4756
|
maxWait: s
|
|
4753
4757
|
});
|
|
4754
4758
|
}
|
|
4755
|
-
function
|
|
4759
|
+
function vd() {
|
|
4756
4760
|
var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
4757
4761
|
return a === "zh-cn" && (a = "zh"), a;
|
|
4758
4762
|
}
|
|
4759
|
-
function
|
|
4763
|
+
function pd(a, s, r) {
|
|
4760
4764
|
if (a) {
|
|
4761
4765
|
var t = a.getAttribute(r);
|
|
4762
4766
|
return !!(t && t === s && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
|
|
@@ -4766,7 +4770,7 @@ var Rr = {
|
|
|
4766
4770
|
android: /(Android)\s([\d.]+)/,
|
|
4767
4771
|
harmony: /(OpenHarmony|HarmonyOS)\s([\d.]+)/,
|
|
4768
4772
|
ios: /(Version)\/([\d.]+)/
|
|
4769
|
-
},
|
|
4773
|
+
}, md = ["avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "avc1.42E01E", "mp4v.20.8", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], U = {
|
|
4770
4774
|
get device() {
|
|
4771
4775
|
var a = U.os;
|
|
4772
4776
|
return a.isPc ? "pc" : "mobile";
|
|
@@ -4832,7 +4836,7 @@ var Rr = {
|
|
|
4832
4836
|
if (this.supportResult)
|
|
4833
4837
|
return this.supportResult;
|
|
4834
4838
|
var r = document.createElement("video");
|
|
4835
|
-
return typeof r.canPlayType == "function" &&
|
|
4839
|
+
return typeof r.canPlayType == "function" && md.map(function(t) {
|
|
4836
4840
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (s.isSupport = !0, s.mime += "||".concat(t));
|
|
4837
4841
|
}), this.supportResult = s, r = null, s;
|
|
4838
4842
|
},
|
|
@@ -4927,21 +4931,21 @@ var Rr = {
|
|
|
4927
4931
|
return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
|
|
4928
4932
|
}
|
|
4929
4933
|
}
|
|
4930
|
-
), Ce = "play", ki = "playing", at = "ended", Ct = "pause", Ut = "error", Ti = "seeking", Ne = "seeked", be = "timeupdate", jt = "waiting", Fe = "canplay",
|
|
4934
|
+
), Ce = "play", ki = "playing", at = "ended", Ct = "pause", Ut = "error", Ti = "seeking", Ne = "seeked", be = "timeupdate", jt = "waiting", Fe = "canplay", yd = "canplaythrough", Ue = "durationchange", $u = "volumechange", Be = "loadeddata", _d = "loadedmetadata", Yu = "ratechange", Xu = "progress", ga = "loadstart", st = "emptied", bd = "stalled", Cd = "suspend", wd = "abort", kd = "bufferedChange", va = "focus", Zu = "blur", pa = "ready", Ju = "urlNull", nt = "autoplay_started", ma = "autoplay_was_prevented", Si = "complete", ai = "replay", ya = "destroy", Ei = "urlchange", Xr = "download_speed_change", Qu = "leaveplayer", el = "enterplayer", tl = "loading", Me = "fullscreen_change", si = "cssFullscreen_change", oi = "mini_state_change", _a = "definition_change", Td = "before_definition_change", Zr = "after_definition_change", Sd = "SEI_PARSED", Ed = "retry", $e = "video_resize", Jr = "pip_change", il = "rotate", nl = "screenShot", ui = "playnext", rl = "shortcut", al = "xglog", li = "user_action", xi = "reset", sl = "source_error", ol = "source_success", xd = "switch_subtitle", ul = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], ll = {
|
|
4931
4935
|
STATS_INFO: "stats_info",
|
|
4932
4936
|
STATS_DOWNLOAD: "stats_download",
|
|
4933
4937
|
STATS_RESET: "stats_reset"
|
|
4934
4938
|
}, cl = "fps_stuck";
|
|
4935
|
-
const
|
|
4939
|
+
const Id = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4936
4940
|
__proto__: null,
|
|
4937
|
-
ABORT:
|
|
4941
|
+
ABORT: wd,
|
|
4938
4942
|
AFTER_DEFINITION_CHANGE: Zr,
|
|
4939
4943
|
AUTOPLAY_PREVENTED: ma,
|
|
4940
4944
|
AUTOPLAY_STARTED: nt,
|
|
4941
|
-
BEFORE_DEFINITION_CHANGE:
|
|
4942
|
-
BUFFER_CHANGE:
|
|
4945
|
+
BEFORE_DEFINITION_CHANGE: Td,
|
|
4946
|
+
BUFFER_CHANGE: kd,
|
|
4943
4947
|
CANPLAY: Fe,
|
|
4944
|
-
CANPLAY_THROUGH:
|
|
4948
|
+
CANPLAY_THROUGH: yd,
|
|
4945
4949
|
COMPLETE: Si,
|
|
4946
4950
|
CSS_FULLSCREEN_CHANGE: si,
|
|
4947
4951
|
DEFINITION_CHANGE: _a,
|
|
@@ -4956,7 +4960,7 @@ const xd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4956
4960
|
FULLSCREEN_CHANGE: Me,
|
|
4957
4961
|
LEAVE_PLAYER: Qu,
|
|
4958
4962
|
LOADED_DATA: Be,
|
|
4959
|
-
LOADED_METADATA:
|
|
4963
|
+
LOADED_METADATA: _d,
|
|
4960
4964
|
LOADING: tl,
|
|
4961
4965
|
LOAD_START: ga,
|
|
4962
4966
|
MINI_STATE_CHANGE: oi,
|
|
@@ -4972,19 +4976,19 @@ const xd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4972
4976
|
READY: pa,
|
|
4973
4977
|
REPLAY: ai,
|
|
4974
4978
|
RESET: xi,
|
|
4975
|
-
RETRY:
|
|
4979
|
+
RETRY: Ed,
|
|
4976
4980
|
ROTATE: il,
|
|
4977
4981
|
SCREEN_SHOT: nl,
|
|
4978
4982
|
SEEKED: Ne,
|
|
4979
4983
|
SEEKING: Ti,
|
|
4980
|
-
SEI_PARSED:
|
|
4984
|
+
SEI_PARSED: Sd,
|
|
4981
4985
|
SHORTCUT: rl,
|
|
4982
4986
|
SOURCE_ERROR: sl,
|
|
4983
4987
|
SOURCE_SUCCESS: ol,
|
|
4984
|
-
STALLED:
|
|
4988
|
+
STALLED: bd,
|
|
4985
4989
|
STATS_EVENTS: ll,
|
|
4986
|
-
SUSPEND:
|
|
4987
|
-
SWITCH_SUBTITLE:
|
|
4990
|
+
SUSPEND: Cd,
|
|
4991
|
+
SWITCH_SUBTITLE: xd,
|
|
4988
4992
|
TIME_UPDATE: be,
|
|
4989
4993
|
URL_CHANGE: Ei,
|
|
4990
4994
|
URL_NULL: Ju,
|
|
@@ -4998,7 +5002,7 @@ const xd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4998
5002
|
function Dr(a, s) {
|
|
4999
5003
|
!this || !this.emit || (a === "error" ? this.errorHandler(a, s.error) : this.emit(a, s));
|
|
5000
5004
|
}
|
|
5001
|
-
function
|
|
5005
|
+
function Pd(a, s) {
|
|
5002
5006
|
return function(r, t) {
|
|
5003
5007
|
var e = {
|
|
5004
5008
|
player: s,
|
|
@@ -5033,7 +5037,7 @@ function Id(a, s) {
|
|
|
5033
5037
|
Dr.call(s, a, e);
|
|
5034
5038
|
};
|
|
5035
5039
|
}
|
|
5036
|
-
var
|
|
5040
|
+
var Ad = /* @__PURE__ */ (function(a) {
|
|
5037
5041
|
D(r, a);
|
|
5038
5042
|
var s = O(r);
|
|
5039
5043
|
function r(t) {
|
|
@@ -5077,7 +5081,7 @@ var Pd = /* @__PURE__ */ (function(a) {
|
|
|
5077
5081
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
5078
5082
|
this._evHandlers || (this._evHandlers = ul.map(function(n) {
|
|
5079
5083
|
var o = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
|
|
5080
|
-
return typeof e[o] == "function" && e.on(n, e[o]), _({}, n,
|
|
5084
|
+
return typeof e[o] == "function" && e.on(n, e[o]), _({}, n, Pd(n, e));
|
|
5081
5085
|
})), this._evHandlers.forEach(function(n) {
|
|
5082
5086
|
var o = Object.keys(n)[0];
|
|
5083
5087
|
i.addEventListener(o, n[o], !1);
|
|
@@ -5451,7 +5455,7 @@ var Pd = /* @__PURE__ */ (function(a) {
|
|
|
5451
5455
|
B(M(r.prototype), "removeAllListeners", this).call(this);
|
|
5452
5456
|
}
|
|
5453
5457
|
}]), r;
|
|
5454
|
-
})(Gu),
|
|
5458
|
+
})(Gu), Ld = /* @__PURE__ */ (function() {
|
|
5455
5459
|
function a() {
|
|
5456
5460
|
var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
5457
5461
|
name: "xgplayer",
|
|
@@ -5847,7 +5851,7 @@ var Ye = /* @__PURE__ */ (function() {
|
|
|
5847
5851
|
}
|
|
5848
5852
|
}]), a;
|
|
5849
5853
|
})(), Mr, Zo;
|
|
5850
|
-
function
|
|
5854
|
+
function Rd() {
|
|
5851
5855
|
if (Zo) return Mr;
|
|
5852
5856
|
Zo = 1;
|
|
5853
5857
|
var a = 9;
|
|
@@ -5865,10 +5869,10 @@ function Ld() {
|
|
|
5865
5869
|
return Mr = r, Mr;
|
|
5866
5870
|
}
|
|
5867
5871
|
var Fr, Jo;
|
|
5868
|
-
function
|
|
5872
|
+
function Dd() {
|
|
5869
5873
|
if (Jo) return Fr;
|
|
5870
5874
|
Jo = 1;
|
|
5871
|
-
var a =
|
|
5875
|
+
var a = Rd();
|
|
5872
5876
|
function s(e, i, n, o, u) {
|
|
5873
5877
|
var l = t.apply(this, arguments);
|
|
5874
5878
|
return e.addEventListener(n, l, u), {
|
|
@@ -5889,9 +5893,9 @@ function Rd() {
|
|
|
5889
5893
|
}
|
|
5890
5894
|
return Fr = r, Fr;
|
|
5891
5895
|
}
|
|
5892
|
-
var
|
|
5893
|
-
const Qo = /* @__PURE__ */ Tu(
|
|
5894
|
-
var
|
|
5896
|
+
var Od = Dd();
|
|
5897
|
+
const Qo = /* @__PURE__ */ Tu(Od);
|
|
5898
|
+
var Md = {
|
|
5895
5899
|
CONTROLS: "controls",
|
|
5896
5900
|
ROOT: "root"
|
|
5897
5901
|
}, Q = {
|
|
@@ -5910,10 +5914,10 @@ var Od = {
|
|
|
5910
5914
|
function Nr(a) {
|
|
5911
5915
|
return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
|
|
5912
5916
|
}
|
|
5913
|
-
function
|
|
5917
|
+
function Fd(a, s) {
|
|
5914
5918
|
return le(a) === "object" && a.class && typeof a.class == "string" ? "".concat(s, " ").concat(a.class) : s;
|
|
5915
5919
|
}
|
|
5916
|
-
function
|
|
5920
|
+
function Nd(a, s) {
|
|
5917
5921
|
return le(a) === "object" && a.attr && le(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
|
|
5918
5922
|
s[r] = a.attr[r];
|
|
5919
5923
|
}), s;
|
|
@@ -5936,14 +5940,14 @@ function tu(a, s) {
|
|
|
5936
5940
|
}
|
|
5937
5941
|
return typeof a == "string" ? h.createDomFromHtml(a, t, r) : (V.logWarn("warn>>icons.".concat(s, " in config of plugin named [").concat(e, "] is invalid")), null);
|
|
5938
5942
|
}
|
|
5939
|
-
function
|
|
5943
|
+
function Bd(a, s) {
|
|
5940
5944
|
var r = s.config.icons || s.playerConfig.icons;
|
|
5941
5945
|
Object.keys(a).map(function(t) {
|
|
5942
5946
|
var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, o = null;
|
|
5943
|
-
r && r[t] && (i =
|
|
5947
|
+
r && r[t] && (i = Fd(r[t], i), n = Nd(r[t], n), o = tu(r[t], t, i, n, s.pluginName)), !o && e && (o = tu(e.icon ? e.icon : e, n, i, {}, s.pluginName)), s.icons[t] = o;
|
|
5944
5948
|
});
|
|
5945
5949
|
}
|
|
5946
|
-
function
|
|
5950
|
+
function Hd(a, s) {
|
|
5947
5951
|
Object.keys(a).map(function(r) {
|
|
5948
5952
|
Object.defineProperty(s.langText, r, {
|
|
5949
5953
|
get: function() {
|
|
@@ -5967,9 +5971,9 @@ var G = /* @__PURE__ */ (function(a) {
|
|
|
5967
5971
|
var i = e.root, n = null;
|
|
5968
5972
|
this.icons = {}, this.root = null, this.parent = null, this.extraEls = [];
|
|
5969
5973
|
var o = this.registerIcons() || {};
|
|
5970
|
-
|
|
5974
|
+
Bd(o, this), this.langText = {};
|
|
5971
5975
|
var u = this.registerLanguageTexts() || {};
|
|
5972
|
-
|
|
5976
|
+
Hd(u, this);
|
|
5973
5977
|
var l = "";
|
|
5974
5978
|
try {
|
|
5975
5979
|
l = this.render();
|
|
@@ -6237,7 +6241,7 @@ var G = /* @__PURE__ */ (function(a) {
|
|
|
6237
6241
|
}, {
|
|
6238
6242
|
key: "ROOT_TYPES",
|
|
6239
6243
|
get: function() {
|
|
6240
|
-
return
|
|
6244
|
+
return Md;
|
|
6241
6245
|
}
|
|
6242
6246
|
}, {
|
|
6243
6247
|
key: "POSITIONS",
|
|
@@ -6245,7 +6249,7 @@ var G = /* @__PURE__ */ (function(a) {
|
|
|
6245
6249
|
return Q;
|
|
6246
6250
|
}
|
|
6247
6251
|
}]), r;
|
|
6248
|
-
})(Ye),
|
|
6252
|
+
})(Ye), Ud = /* @__PURE__ */ (function() {
|
|
6249
6253
|
function a() {
|
|
6250
6254
|
var s = this;
|
|
6251
6255
|
if (P(this, a), _(this, "__trigger", function(r) {
|
|
@@ -6255,7 +6259,7 @@ var G = /* @__PURE__ */ (function(a) {
|
|
|
6255
6259
|
s.__runHandler(r[e].target);
|
|
6256
6260
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
6257
6261
|
try {
|
|
6258
|
-
this.observer = new window.ResizeObserver(
|
|
6262
|
+
this.observer = new window.ResizeObserver(gd(this.__trigger, 100, {
|
|
6259
6263
|
trailing: !0
|
|
6260
6264
|
})), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
|
|
6261
6265
|
} catch (r) {
|
|
@@ -6312,10 +6316,10 @@ var G = /* @__PURE__ */ (function(a) {
|
|
|
6312
6316
|
}
|
|
6313
6317
|
}]), a;
|
|
6314
6318
|
})(), At = null;
|
|
6315
|
-
function Ud(a, s) {
|
|
6316
|
-
return At || (At = new Hd()), At.addObserver(a, s), At;
|
|
6317
|
-
}
|
|
6318
6319
|
function jd(a, s) {
|
|
6320
|
+
return At || (At = new Ud()), At.addObserver(a, s), At;
|
|
6321
|
+
}
|
|
6322
|
+
function zd(a, s) {
|
|
6319
6323
|
var r;
|
|
6320
6324
|
(r = At) === null || r === void 0 || r.unObserver(a, s);
|
|
6321
6325
|
}
|
|
@@ -6323,7 +6327,7 @@ var ue = {
|
|
|
6323
6327
|
pluginGroup: {},
|
|
6324
6328
|
init: function(s) {
|
|
6325
6329
|
var r = s._pluginInfoId;
|
|
6326
|
-
r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver &&
|
|
6330
|
+
r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver && jd(s.root, function() {
|
|
6327
6331
|
s.resize();
|
|
6328
6332
|
}), this.pluginGroup[r] = {
|
|
6329
6333
|
_originalOptions: s.config || {},
|
|
@@ -6509,7 +6513,7 @@ var ue = {
|
|
|
6509
6513
|
destroy: function(s) {
|
|
6510
6514
|
var r = s._pluginInfoId;
|
|
6511
6515
|
if (this.pluginGroup[r]) {
|
|
6512
|
-
|
|
6516
|
+
zd(s.root);
|
|
6513
6517
|
for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
|
|
6514
6518
|
var n = i[e];
|
|
6515
6519
|
this.unRegister(r, n);
|
|
@@ -6595,7 +6599,7 @@ function iu() {
|
|
|
6595
6599
|
ignores: [],
|
|
6596
6600
|
whitelist: [],
|
|
6597
6601
|
inactive: 3e3,
|
|
6598
|
-
lang:
|
|
6602
|
+
lang: vd(),
|
|
6599
6603
|
controls: !0,
|
|
6600
6604
|
marginControls: !1,
|
|
6601
6605
|
fullscreenTarget: null,
|
|
@@ -6631,7 +6635,7 @@ function iu() {
|
|
|
6631
6635
|
}
|
|
6632
6636
|
};
|
|
6633
6637
|
}
|
|
6634
|
-
var
|
|
6638
|
+
var Vd = function(s, r) {
|
|
6635
6639
|
var t, e, i;
|
|
6636
6640
|
r.preset && r.options ? i = new r.preset(r.options, s.config) : i = new r({}, s.config);
|
|
6637
6641
|
var n = i, o = n.plugins, u = o === void 0 ? [] : o, l = n.ignores, c = l === void 0 ? [] : l, f = n.icons, d = f === void 0 ? {} : f, g = n.i18n, v = g === void 0 ? [] : g;
|
|
@@ -6640,7 +6644,7 @@ var zd = function(s, r) {
|
|
|
6640
6644
|
});
|
|
6641
6645
|
var m = s.config.i18n || [];
|
|
6642
6646
|
v.push.apply(v, xe(m)), s.config.i18n = v;
|
|
6643
|
-
},
|
|
6647
|
+
}, qd = /* @__PURE__ */ (function(a) {
|
|
6644
6648
|
D(r, a);
|
|
6645
6649
|
var s = O(r);
|
|
6646
6650
|
function r() {
|
|
@@ -6801,7 +6805,7 @@ var zd = function(s, r) {
|
|
|
6801
6805
|
};
|
|
6802
6806
|
}
|
|
6803
6807
|
}]), r;
|
|
6804
|
-
})(G),
|
|
6808
|
+
})(G), Wd = {
|
|
6805
6809
|
LANG: "en",
|
|
6806
6810
|
TEXT: {
|
|
6807
6811
|
ERROR_TYPES: {
|
|
@@ -6896,7 +6900,7 @@ function gl() {
|
|
|
6896
6900
|
_e.textKeys[a] = a;
|
|
6897
6901
|
});
|
|
6898
6902
|
}
|
|
6899
|
-
function
|
|
6903
|
+
function Gd(a, s) {
|
|
6900
6904
|
var r = [];
|
|
6901
6905
|
if (s || (s = _e), !!s.lang) {
|
|
6902
6906
|
h.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
|
|
@@ -6919,7 +6923,7 @@ function ba(a, s) {
|
|
|
6919
6923
|
r === "zh" && (r = "zh-cn"), s.lang[r] ? Nt(s.lang[r], t) : (s.langKeys.push(r), s.lang[r] = t), gl();
|
|
6920
6924
|
}
|
|
6921
6925
|
}
|
|
6922
|
-
function
|
|
6926
|
+
function Kd(a) {
|
|
6923
6927
|
var s, r = {
|
|
6924
6928
|
lang: {},
|
|
6925
6929
|
langKeys: [],
|
|
@@ -6928,7 +6932,7 @@ function Gd(a) {
|
|
|
6928
6932
|
};
|
|
6929
6933
|
return Nt(r.lang, _e.lang), (s = r.langKeys).push.apply(s, xe(_e.langKeys)), Nt(r.textKeys, _e.textKeys), r;
|
|
6930
6934
|
}
|
|
6931
|
-
ba(
|
|
6935
|
+
ba(Wd);
|
|
6932
6936
|
var _t = {
|
|
6933
6937
|
get textKeys() {
|
|
6934
6938
|
return _e.textKeys;
|
|
@@ -6942,9 +6946,9 @@ var _t = {
|
|
|
6942
6946
|
a[s] = _e.lang[s];
|
|
6943
6947
|
}), _e.lang["zh-cn"] && (a.zh = _e.lang["zh-cn"] || {}), a;
|
|
6944
6948
|
},
|
|
6945
|
-
extend:
|
|
6949
|
+
extend: Gd,
|
|
6946
6950
|
use: ba,
|
|
6947
|
-
init:
|
|
6951
|
+
init: Kd
|
|
6948
6952
|
}, q = {
|
|
6949
6953
|
INITIAL: 1,
|
|
6950
6954
|
READY: 2,
|
|
@@ -7040,7 +7044,7 @@ var _t = {
|
|
|
7040
7044
|
}
|
|
7041
7045
|
}]), r;
|
|
7042
7046
|
})(Wu.EventEmitter);
|
|
7043
|
-
function
|
|
7047
|
+
function $d(a) {
|
|
7044
7048
|
for (var s = Object.keys(he), r = 0; r < s.length; r++) {
|
|
7045
7049
|
var t = he[s[r]];
|
|
7046
7050
|
if (t.root === a)
|
|
@@ -7048,7 +7052,7 @@ function Kd(a) {
|
|
|
7048
7052
|
}
|
|
7049
7053
|
return null;
|
|
7050
7054
|
}
|
|
7051
|
-
var
|
|
7055
|
+
var Yd = ["play", "pause", "replay", "retry"], ru = 0, au = 0, qe = null, Ii = /* @__PURE__ */ (function(a) {
|
|
7052
7056
|
D(r, a);
|
|
7053
7057
|
var s = O(r);
|
|
7054
7058
|
function r(t) {
|
|
@@ -7078,7 +7082,7 @@ var $d = ["play", "pause", "replay", "retry"], ru = 0, au = 0, qe = null, Ii = /
|
|
|
7078
7082
|
to: !1
|
|
7079
7083
|
}]
|
|
7080
7084
|
});
|
|
7081
|
-
var L =
|
|
7085
|
+
var L = pd(C, n.playerId, Ke);
|
|
7082
7086
|
if (w || C && (C === n._fullscreenEl || L))
|
|
7083
7087
|
b(), !n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !0, n.changeFullStyle(n.root, C, k.FULLSCREEN), n.emit(Me, !0, n._fullScreenOffset), n.cssfullscreen && n.exitCssFullscreen();
|
|
7084
7088
|
else if (n.fullscreen) {
|
|
@@ -7098,7 +7102,7 @@ var $d = ["play", "pause", "replay", "retry"], ru = 0, au = 0, qe = null, Ii = /
|
|
|
7098
7102
|
n._fullscreenEl = n.media, n.onFullscreenChange(p, !0);
|
|
7099
7103
|
}), _(y(n), "_onWebkitendfullscreen", function(p) {
|
|
7100
7104
|
n.onFullscreenChange(p, !1);
|
|
7101
|
-
}), hl(y(n),
|
|
7105
|
+
}), hl(y(n), Yd), n.config = o, n._pluginInfoId = h.generateSessionId(), cd(y(n));
|
|
7102
7106
|
var u = n.constructor.defaultPreset;
|
|
7103
7107
|
if (n.config.presets.length) {
|
|
7104
7108
|
var l = n.config.presets.indexOf("default");
|
|
@@ -7126,7 +7130,7 @@ var $d = ["play", "pause", "replay", "retry"], ru = 0, au = 0, qe = null, Ii = /
|
|
|
7126
7130
|
}, n._offsetInfo = {
|
|
7127
7131
|
currentTime: -1,
|
|
7128
7132
|
duration: 0
|
|
7129
|
-
}, n.innerContainer = null, n.controls = null, n.topBar = null, n.root = null, n.__i18n = _t.init(n._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (n.config.autoplay = !1), n.database = new
|
|
7133
|
+
}, n.innerContainer = null, n.controls = null, n.topBar = null, n.root = null, n.__i18n = _t.init(n._pluginInfoId), U.os.isAndroid && U.osVersion > 0 && U.osVersion < 6 && (n.config.autoplay = !1), n.database = new Ld(), n.isUserActive = !1, n._onceSeekCanplay = null, n._isPauseBeforeSeek = 0, n.innerStates = {
|
|
7130
7134
|
isActiveLocked: !1
|
|
7131
7135
|
}, n.instManager = qe;
|
|
7132
7136
|
var c = n._initDOM();
|
|
@@ -7158,9 +7162,9 @@ var $d = ["play", "pause", "replay", "retry"], ru = 0, au = 0, qe = null, Ii = /
|
|
|
7158
7162
|
msg: "container id can't be empty"
|
|
7159
7163
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
7160
7164
|
}
|
|
7161
|
-
var o =
|
|
7165
|
+
var o = $d(this.root);
|
|
7162
7166
|
if (o && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(Ke, this.playerId), this.media.setAttribute(Ke, this.playerId), (e = qe) === null || e === void 0 || e.add(this), ue.init(this), this._initBaseDoms(), this.config.controls) {
|
|
7163
|
-
var u = this.config.controls.root || null, l = ue.register(this,
|
|
7167
|
+
var u = this.config.controls.root || null, l = ue.register(this, qd, {
|
|
7164
7168
|
root: u
|
|
7165
7169
|
});
|
|
7166
7170
|
this.controls = l;
|
|
@@ -7268,7 +7272,7 @@ var $d = ["play", "pause", "replay", "retry"], ru = 0, au = 0, qe = null, Ii = /
|
|
|
7268
7272
|
value: function() {
|
|
7269
7273
|
var e = this;
|
|
7270
7274
|
this.config.presets.forEach(function(i) {
|
|
7271
|
-
|
|
7275
|
+
Vd(e, i);
|
|
7272
7276
|
});
|
|
7273
7277
|
}
|
|
7274
7278
|
}, {
|
|
@@ -8263,7 +8267,7 @@ var $d = ["play", "pause", "replay", "retry"], ru = 0, au = 0, qe = null, Ii = /
|
|
|
8263
8267
|
r.plugins || (r.plugins = {}), r.plugins[e] = i;
|
|
8264
8268
|
}
|
|
8265
8269
|
}]), r;
|
|
8266
|
-
})(
|
|
8270
|
+
})(Ad);
|
|
8267
8271
|
_(Ii, "defaultPreset", null);
|
|
8268
8272
|
_(Ii, "XgVideoProxy", null);
|
|
8269
8273
|
Ii.instManager = vl.getInstance();
|
|
@@ -8306,13 +8310,13 @@ var ot = /* @__PURE__ */ (function(a) {
|
|
|
8306
8310
|
}
|
|
8307
8311
|
}]), r;
|
|
8308
8312
|
})(G);
|
|
8309
|
-
function
|
|
8313
|
+
function Xd() {
|
|
8310
8314
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
8311
8315
|
<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>
|
|
8312
8316
|
</svg>
|
|
8313
8317
|
`, "image/svg+xml").firstChild;
|
|
8314
8318
|
}
|
|
8315
|
-
function
|
|
8319
|
+
function Zd() {
|
|
8316
8320
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
8317
8321
|
<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>
|
|
8318
8322
|
</svg>
|
|
@@ -8372,11 +8376,11 @@ var Qr = /* @__PURE__ */ (function(a) {
|
|
|
8372
8376
|
value: function() {
|
|
8373
8377
|
return {
|
|
8374
8378
|
cssFullscreen: {
|
|
8375
|
-
icon:
|
|
8379
|
+
icon: Xd,
|
|
8376
8380
|
class: "xg-get-cssfull"
|
|
8377
8381
|
},
|
|
8378
8382
|
exitCssFullscreen: {
|
|
8379
|
-
icon:
|
|
8383
|
+
icon: Zd,
|
|
8380
8384
|
class: "xg-exit-cssfull"
|
|
8381
8385
|
}
|
|
8382
8386
|
};
|
|
@@ -8413,14 +8417,14 @@ var Qr = /* @__PURE__ */ (function(a) {
|
|
|
8413
8417
|
}
|
|
8414
8418
|
}]), r;
|
|
8415
8419
|
})(ot);
|
|
8416
|
-
function
|
|
8420
|
+
function Jd() {
|
|
8417
8421
|
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">
|
|
8418
8422
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
8419
8423
|
<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>
|
|
8420
8424
|
</g>
|
|
8421
8425
|
</svg>`, "image/svg+xml").firstChild;
|
|
8422
8426
|
}
|
|
8423
|
-
var
|
|
8427
|
+
var Qd = /* @__PURE__ */ (function(a) {
|
|
8424
8428
|
D(r, a);
|
|
8425
8429
|
var s = O(r);
|
|
8426
8430
|
function r() {
|
|
@@ -8439,7 +8443,7 @@ var Jd = /* @__PURE__ */ (function(a) {
|
|
|
8439
8443
|
value: function() {
|
|
8440
8444
|
return {
|
|
8441
8445
|
screenBack: {
|
|
8442
|
-
icon:
|
|
8446
|
+
icon: Jd,
|
|
8443
8447
|
class: "xg-fullscreen-back"
|
|
8444
8448
|
}
|
|
8445
8449
|
};
|
|
@@ -8481,13 +8485,13 @@ var Jd = /* @__PURE__ */ (function(a) {
|
|
|
8481
8485
|
}
|
|
8482
8486
|
}]), r;
|
|
8483
8487
|
})(G);
|
|
8484
|
-
function
|
|
8488
|
+
function eg() {
|
|
8485
8489
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
8486
8490
|
<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>
|
|
8487
8491
|
</svg>
|
|
8488
8492
|
`, "image/svg+xml").firstChild;
|
|
8489
8493
|
}
|
|
8490
|
-
function
|
|
8494
|
+
function tg() {
|
|
8491
8495
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
8492
8496
|
<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>
|
|
8493
8497
|
</svg>
|
|
@@ -8528,7 +8532,7 @@ var pl = /* @__PURE__ */ (function(a) {
|
|
|
8528
8532
|
var l = e.find(".xg-tips");
|
|
8529
8533
|
l && e.changeLangTextKey(l, u ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(u);
|
|
8530
8534
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
8531
|
-
plugin:
|
|
8535
|
+
plugin: Qd,
|
|
8532
8536
|
options: {
|
|
8533
8537
|
config: {
|
|
8534
8538
|
onClick: function(l) {
|
|
@@ -8544,11 +8548,11 @@ var pl = /* @__PURE__ */ (function(a) {
|
|
|
8544
8548
|
value: function() {
|
|
8545
8549
|
return {
|
|
8546
8550
|
fullscreen: {
|
|
8547
|
-
icon:
|
|
8551
|
+
icon: eg,
|
|
8548
8552
|
class: "xg-get-fullscreen"
|
|
8549
8553
|
},
|
|
8550
8554
|
exitFullscreen: {
|
|
8551
|
-
icon:
|
|
8555
|
+
icon: tg,
|
|
8552
8556
|
class: "xg-exit-fullscreen"
|
|
8553
8557
|
}
|
|
8554
8558
|
};
|
|
@@ -8733,7 +8737,7 @@ var ml = /* @__PURE__ */ (function(a) {
|
|
|
8733
8737
|
};
|
|
8734
8738
|
}
|
|
8735
8739
|
}]), r;
|
|
8736
|
-
})(ot),
|
|
8740
|
+
})(ot), ig = [{
|
|
8737
8741
|
tag: "xg-cache",
|
|
8738
8742
|
className: "xgplayer-progress-cache",
|
|
8739
8743
|
styleKey: "cachedColor"
|
|
@@ -8741,7 +8745,7 @@ var ml = /* @__PURE__ */ (function(a) {
|
|
|
8741
8745
|
tag: "xg-played",
|
|
8742
8746
|
className: "xgplayer-progress-played",
|
|
8743
8747
|
styleKey: "playedColor"
|
|
8744
|
-
}],
|
|
8748
|
+
}], ng = /* @__PURE__ */ (function() {
|
|
8745
8749
|
function a(s) {
|
|
8746
8750
|
P(this, a), this.fragments = s.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
8747
8751
|
percent: 1
|
|
@@ -8928,7 +8932,7 @@ var ml = /* @__PURE__ */ (function(a) {
|
|
|
8928
8932
|
var u = h.createDom("xg-inner", "", {
|
|
8929
8933
|
style: t ? "background:".concat(t, "; flex: ").concat(o.percent) : "flex: ".concat(o.percent)
|
|
8930
8934
|
}, "".concat(o.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
|
|
8931
|
-
return r.root.appendChild(u),
|
|
8935
|
+
return r.root.appendChild(u), ig.forEach(function(l) {
|
|
8932
8936
|
u.appendChild(h.createDom(l.tag, "", {
|
|
8933
8937
|
style: l.styleKey ? "background: ".concat(r.style[l.styleKey], "; width:0;") : "width:0;"
|
|
8934
8938
|
}, l.className));
|
|
@@ -9076,7 +9080,7 @@ var ml = /* @__PURE__ */ (function(a) {
|
|
|
9076
9080
|
e.emitUserAction("fragment_focus", "fragment_focus", l);
|
|
9077
9081
|
}
|
|
9078
9082
|
});
|
|
9079
|
-
this.innerList ? this.innerList.reset(o) : (this.innerList = new
|
|
9083
|
+
this.innerList ? this.innerList.reset(o) : (this.innerList = new ng(o), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(u) {
|
|
9080
9084
|
e[u] = e.innerList[u].bind(e.innerList);
|
|
9081
9085
|
}));
|
|
9082
9086
|
}
|
|
@@ -9519,21 +9523,21 @@ var ml = /* @__PURE__ */ (function(a) {
|
|
|
9519
9523
|
}
|
|
9520
9524
|
}]), r;
|
|
9521
9525
|
})(G);
|
|
9522
|
-
function
|
|
9526
|
+
function rg() {
|
|
9523
9527
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9524
9528
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9525
9529
|
<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>
|
|
9526
9530
|
</svg>
|
|
9527
9531
|
`, "image/svg+xml").firstChild;
|
|
9528
9532
|
}
|
|
9529
|
-
function
|
|
9533
|
+
function ag() {
|
|
9530
9534
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9531
9535
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9532
9536
|
<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>
|
|
9533
9537
|
</svg>
|
|
9534
9538
|
`, "image/svg+xml").firstChild;
|
|
9535
9539
|
}
|
|
9536
|
-
function
|
|
9540
|
+
function sg() {
|
|
9537
9541
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9538
9542
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9539
9543
|
<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>
|
|
@@ -9588,15 +9592,15 @@ var bl = /* @__PURE__ */ (function(a) {
|
|
|
9588
9592
|
value: function() {
|
|
9589
9593
|
return {
|
|
9590
9594
|
volumeSmall: {
|
|
9591
|
-
icon:
|
|
9595
|
+
icon: ag,
|
|
9592
9596
|
class: "xg-volume-small"
|
|
9593
9597
|
},
|
|
9594
9598
|
volumeLarge: {
|
|
9595
|
-
icon:
|
|
9599
|
+
icon: rg,
|
|
9596
9600
|
class: "xg-volume"
|
|
9597
9601
|
},
|
|
9598
9602
|
volumeMuted: {
|
|
9599
|
-
icon:
|
|
9603
|
+
icon: sg,
|
|
9600
9604
|
class: "xg-volume-mute"
|
|
9601
9605
|
}
|
|
9602
9606
|
};
|
|
@@ -9746,7 +9750,7 @@ var We = {
|
|
|
9746
9750
|
WAIT_END: "waitingEnd",
|
|
9747
9751
|
SEEK_START: "seekStart",
|
|
9748
9752
|
SEEK_END: "seekEnd"
|
|
9749
|
-
},
|
|
9753
|
+
}, og = /* @__PURE__ */ (function(a) {
|
|
9750
9754
|
D(r, a);
|
|
9751
9755
|
var s = O(r);
|
|
9752
9756
|
function r() {
|
|
@@ -9897,13 +9901,13 @@ var We = {
|
|
|
9897
9901
|
}
|
|
9898
9902
|
}]), r;
|
|
9899
9903
|
})(G);
|
|
9900
|
-
function
|
|
9904
|
+
function ug() {
|
|
9901
9905
|
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">
|
|
9902
9906
|
<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>
|
|
9903
9907
|
</svg>
|
|
9904
9908
|
`, "image/svg+xml").firstChild;
|
|
9905
9909
|
}
|
|
9906
|
-
var
|
|
9910
|
+
var lg = /* @__PURE__ */ (function(a) {
|
|
9907
9911
|
D(r, a);
|
|
9908
9912
|
var s = O(r);
|
|
9909
9913
|
function r() {
|
|
@@ -9913,7 +9917,7 @@ var ug = /* @__PURE__ */ (function(a) {
|
|
|
9913
9917
|
key: "registerIcons",
|
|
9914
9918
|
value: function() {
|
|
9915
9919
|
return {
|
|
9916
|
-
replay:
|
|
9920
|
+
replay: ug
|
|
9917
9921
|
};
|
|
9918
9922
|
}
|
|
9919
9923
|
}, {
|
|
@@ -9986,7 +9990,7 @@ var ug = /* @__PURE__ */ (function(a) {
|
|
|
9986
9990
|
};
|
|
9987
9991
|
}
|
|
9988
9992
|
}]), r;
|
|
9989
|
-
})(G),
|
|
9993
|
+
})(G), cg = /* @__PURE__ */ (function(a) {
|
|
9990
9994
|
D(r, a);
|
|
9991
9995
|
var s = O(r);
|
|
9992
9996
|
function r() {
|
|
@@ -10104,7 +10108,7 @@ var ug = /* @__PURE__ */ (function(a) {
|
|
|
10104
10108
|
}
|
|
10105
10109
|
}]), r;
|
|
10106
10110
|
})(G), Ae = {};
|
|
10107
|
-
function
|
|
10111
|
+
function fg(a, s) {
|
|
10108
10112
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
10109
10113
|
start: null,
|
|
10110
10114
|
end: null
|
|
@@ -10122,7 +10126,7 @@ function ou(a) {
|
|
|
10122
10126
|
window.clearTimeout(Ae[s].id), delete Ae[s];
|
|
10123
10127
|
});
|
|
10124
10128
|
}
|
|
10125
|
-
var
|
|
10129
|
+
var hg = /* @__PURE__ */ (function(a) {
|
|
10126
10130
|
D(r, a);
|
|
10127
10131
|
var s = O(r);
|
|
10128
10132
|
function r(t) {
|
|
@@ -10226,7 +10230,7 @@ var fg = /* @__PURE__ */ (function(a) {
|
|
|
10226
10230
|
key: "animate",
|
|
10227
10231
|
value: function(e) {
|
|
10228
10232
|
var i = this;
|
|
10229
|
-
this._animateId =
|
|
10233
|
+
this._animateId = fg("pauseplay", 400, {
|
|
10230
10234
|
start: function() {
|
|
10231
10235
|
h.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
|
|
10232
10236
|
},
|
|
@@ -10314,7 +10318,7 @@ var fg = /* @__PURE__ */ (function(a) {
|
|
|
10314
10318
|
};
|
|
10315
10319
|
}
|
|
10316
10320
|
}]), r;
|
|
10317
|
-
})(G),
|
|
10321
|
+
})(G), dg = /* @__PURE__ */ (function(a) {
|
|
10318
10322
|
D(r, a);
|
|
10319
10323
|
var s = O(r);
|
|
10320
10324
|
function r() {
|
|
@@ -10404,7 +10408,7 @@ function lu(a) {
|
|
|
10404
10408
|
return r && s;
|
|
10405
10409
|
}
|
|
10406
10410
|
var ka = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Cl = ka.length;
|
|
10407
|
-
function
|
|
10411
|
+
function gg() {
|
|
10408
10412
|
for (var a = {
|
|
10409
10413
|
width: 0,
|
|
10410
10414
|
height: 0,
|
|
@@ -10418,15 +10422,15 @@ function dg() {
|
|
|
10418
10422
|
}
|
|
10419
10423
|
return a;
|
|
10420
10424
|
}
|
|
10421
|
-
function
|
|
10425
|
+
function vg(a) {
|
|
10422
10426
|
var s = window.getComputedStyle(a);
|
|
10423
10427
|
return s;
|
|
10424
10428
|
}
|
|
10425
10429
|
function cu(a) {
|
|
10426
10430
|
if (typeof a == "string" && (a = document.querySelector(a)), !(!a || le(a) !== "object" || !a.nodeType)) {
|
|
10427
|
-
var s =
|
|
10431
|
+
var s = vg(a);
|
|
10428
10432
|
if (s.display === "none")
|
|
10429
|
-
return
|
|
10433
|
+
return gg();
|
|
10430
10434
|
var r = {};
|
|
10431
10435
|
r.width = a.offsetWidth, r.height = a.offsetHeight;
|
|
10432
10436
|
for (var t = r.isBorderBox = s.boxSizing === "border-box", e = 0; e < Cl; e++) {
|
|
@@ -10454,7 +10458,7 @@ var Ur = {
|
|
|
10454
10458
|
mousedown: ["mousemove", "mouseup"],
|
|
10455
10459
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
10456
10460
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
10457
|
-
},
|
|
10461
|
+
}, pg = /* @__PURE__ */ (function(a) {
|
|
10458
10462
|
D(r, a);
|
|
10459
10463
|
var s = O(r);
|
|
10460
10464
|
function r(t) {
|
|
@@ -10664,7 +10668,7 @@ var Ur = {
|
|
|
10664
10668
|
return parseInt(e, 10);
|
|
10665
10669
|
}
|
|
10666
10670
|
}]), r;
|
|
10667
|
-
})(Gu),
|
|
10671
|
+
})(Gu), mg = /* @__PURE__ */ (function(a) {
|
|
10668
10672
|
D(r, a);
|
|
10669
10673
|
var s = O(r);
|
|
10670
10674
|
function r(t) {
|
|
@@ -10720,7 +10724,7 @@ var Ur = {
|
|
|
10720
10724
|
i.controls.registerPlugin(uu, o, uu.pluginName);
|
|
10721
10725
|
}
|
|
10722
10726
|
var u = h.checkTouchSupport() ? "touchend" : "click";
|
|
10723
|
-
this.bind(".mini-cancel-btn", u, this.onCancelClick), this.bind(".play-icon", u, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new
|
|
10727
|
+
this.bind(".mini-cancel-btn", u, this.onCancelClick), this.bind(".play-icon", u, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new pg(this.player.root, {
|
|
10724
10728
|
handle: this.root
|
|
10725
10729
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
10726
10730
|
}
|
|
@@ -10957,12 +10961,12 @@ var Ur = {
|
|
|
10957
10961
|
TOUCH_MOVE: "touchmove",
|
|
10958
10962
|
TOUCH_START: "touchstart",
|
|
10959
10963
|
TOUCH_END: "touchend"
|
|
10960
|
-
},
|
|
10964
|
+
}, yg = {
|
|
10961
10965
|
start: "touchstart",
|
|
10962
10966
|
end: "touchend",
|
|
10963
10967
|
move: "touchmove",
|
|
10964
10968
|
cancel: "touchcancel"
|
|
10965
|
-
},
|
|
10969
|
+
}, _g = {
|
|
10966
10970
|
start: "mousedown",
|
|
10967
10971
|
end: "mouseup",
|
|
10968
10972
|
move: "mousemove",
|
|
@@ -10971,7 +10975,7 @@ var Ur = {
|
|
|
10971
10975
|
function hu(a) {
|
|
10972
10976
|
return a && a.length > 0 ? a[a.length - 1] : null;
|
|
10973
10977
|
}
|
|
10974
|
-
function
|
|
10978
|
+
function bg() {
|
|
10975
10979
|
return {
|
|
10976
10980
|
pressDelay: 600,
|
|
10977
10981
|
dbClickDelay: 200,
|
|
@@ -10981,7 +10985,7 @@ function _g() {
|
|
|
10981
10985
|
needPreventDefault: !0
|
|
10982
10986
|
};
|
|
10983
10987
|
}
|
|
10984
|
-
var
|
|
10988
|
+
var Cg = /* @__PURE__ */ (function() {
|
|
10985
10989
|
function a(s) {
|
|
10986
10990
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
10987
10991
|
eventType: "touch"
|
|
@@ -11002,9 +11006,9 @@ var bg = /* @__PURE__ */ (function() {
|
|
|
11002
11006
|
start: !1,
|
|
11003
11007
|
x: 0,
|
|
11004
11008
|
y: 0
|
|
11005
|
-
}, this.config =
|
|
11009
|
+
}, this.config = bg(), Object.keys(t).map(function(e) {
|
|
11006
11010
|
r.config[e] = t[e];
|
|
11007
|
-
}), this.root = s, this.events = t.eventType === "mouse" ?
|
|
11011
|
+
}), this.root = s, this.events = t.eventType === "mouse" ? _g : yg, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
11008
11012
|
}
|
|
11009
11013
|
return A(a, [{
|
|
11010
11014
|
key: "_initEvent",
|
|
@@ -11083,7 +11087,7 @@ var bg = /* @__PURE__ */ (function() {
|
|
|
11083
11087
|
}
|
|
11084
11088
|
}]), a;
|
|
11085
11089
|
})();
|
|
11086
|
-
function
|
|
11090
|
+
function wg() {
|
|
11087
11091
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
11088
11092
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
11089
11093
|
<path opacity="0.54"
|
|
@@ -11096,7 +11100,7 @@ var dt = {
|
|
|
11096
11100
|
AUTO: "auto",
|
|
11097
11101
|
SEEKING: "seeking",
|
|
11098
11102
|
PLAYBACK: "playbackrate"
|
|
11099
|
-
}, Vr = ["videoClick", "videoDbClick"],
|
|
11103
|
+
}, Vr = ["videoClick", "videoDbClick"], kg = /* @__PURE__ */ (function(a) {
|
|
11100
11104
|
D(r, a);
|
|
11101
11105
|
var s = O(r);
|
|
11102
11106
|
function r(t) {
|
|
@@ -11170,7 +11174,7 @@ var dt = {
|
|
|
11170
11174
|
value: function() {
|
|
11171
11175
|
return {
|
|
11172
11176
|
seekTipIcon: {
|
|
11173
|
-
icon:
|
|
11177
|
+
icon: wg,
|
|
11174
11178
|
class: "xg-seek-pre"
|
|
11175
11179
|
}
|
|
11176
11180
|
};
|
|
@@ -11185,7 +11189,7 @@ var dt = {
|
|
|
11185
11189
|
var i = this.playerConfig, n = this.config, o = this.player;
|
|
11186
11190
|
i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), h.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = h.createDom("xg-mask", "", {}, "xgmask"), o.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
|
|
11187
11191
|
var u = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
11188
|
-
this.touch = new
|
|
11192
|
+
this.touch = new Cg(this.root, {
|
|
11189
11193
|
eventType: u,
|
|
11190
11194
|
needPreventDefault: !this.config.disableGesture
|
|
11191
11195
|
}), this.root.addEventListener("contextmenu", function(d) {
|
|
@@ -11530,7 +11534,7 @@ var dt = {
|
|
|
11530
11534
|
}
|
|
11531
11535
|
}]), r;
|
|
11532
11536
|
})(G);
|
|
11533
|
-
function
|
|
11537
|
+
function Tg(a) {
|
|
11534
11538
|
a.preventDefault(), a.returnValue = !1;
|
|
11535
11539
|
}
|
|
11536
11540
|
function du(a) {
|
|
@@ -11779,7 +11783,7 @@ var gu = /* @__PURE__ */ (function(a) {
|
|
|
11779
11783
|
isPress: n
|
|
11780
11784
|
}, this.keyCodeMap[o[u]]));
|
|
11781
11785
|
}
|
|
11782
|
-
|
|
11786
|
+
Tg(i), i.stopPropagation();
|
|
11783
11787
|
break;
|
|
11784
11788
|
}
|
|
11785
11789
|
}
|
|
@@ -11821,13 +11825,13 @@ var gu = /* @__PURE__ */ (function(a) {
|
|
|
11821
11825
|
}
|
|
11822
11826
|
}]), r;
|
|
11823
11827
|
})(Ye);
|
|
11824
|
-
function
|
|
11828
|
+
function Sg() {
|
|
11825
11829
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
11826
11830
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
11827
11831
|
</svg>
|
|
11828
11832
|
`, "image/svg+xml").firstChild;
|
|
11829
11833
|
}
|
|
11830
|
-
var
|
|
11834
|
+
var Eg = /* @__PURE__ */ (function(a) {
|
|
11831
11835
|
D(r, a);
|
|
11832
11836
|
var s = O(r);
|
|
11833
11837
|
function r() {
|
|
@@ -11837,7 +11841,7 @@ var Sg = /* @__PURE__ */ (function(a) {
|
|
|
11837
11841
|
key: "registerIcons",
|
|
11838
11842
|
value: function() {
|
|
11839
11843
|
return {
|
|
11840
|
-
loadingIcon:
|
|
11844
|
+
loadingIcon: Sg
|
|
11841
11845
|
};
|
|
11842
11846
|
}
|
|
11843
11847
|
}, {
|
|
@@ -11866,7 +11870,7 @@ var Sg = /* @__PURE__ */ (function(a) {
|
|
|
11866
11870
|
};
|
|
11867
11871
|
}
|
|
11868
11872
|
}]), r;
|
|
11869
|
-
})(G),
|
|
11873
|
+
})(G), xg = /* @__PURE__ */ (function(a) {
|
|
11870
11874
|
D(r, a);
|
|
11871
11875
|
var s = O(r);
|
|
11872
11876
|
function r() {
|
|
@@ -12004,7 +12008,7 @@ var Sg = /* @__PURE__ */ (function(a) {
|
|
|
12004
12008
|
}
|
|
12005
12009
|
}]), r;
|
|
12006
12010
|
})(Ye);
|
|
12007
|
-
function
|
|
12011
|
+
function Ig() {
|
|
12008
12012
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
12009
12013
|
<g>
|
|
12010
12014
|
<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"/>
|
|
@@ -12018,7 +12022,7 @@ function xg() {
|
|
|
12018
12022
|
</svg>
|
|
12019
12023
|
`, "image/svg+xml").firstChild;
|
|
12020
12024
|
}
|
|
12021
|
-
var
|
|
12025
|
+
var Pg = /* @__PURE__ */ (function(a) {
|
|
12022
12026
|
D(r, a);
|
|
12023
12027
|
var s = O(r);
|
|
12024
12028
|
function r(t) {
|
|
@@ -12081,7 +12085,7 @@ var Ig = /* @__PURE__ */ (function(a) {
|
|
|
12081
12085
|
key: "registerIcons",
|
|
12082
12086
|
value: function() {
|
|
12083
12087
|
return {
|
|
12084
|
-
rotate:
|
|
12088
|
+
rotate: Ig
|
|
12085
12089
|
};
|
|
12086
12090
|
}
|
|
12087
12091
|
}, {
|
|
@@ -12114,14 +12118,14 @@ var Ig = /* @__PURE__ */ (function(a) {
|
|
|
12114
12118
|
}
|
|
12115
12119
|
}]), r;
|
|
12116
12120
|
})(ot);
|
|
12117
|
-
function
|
|
12121
|
+
function Ag() {
|
|
12118
12122
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
12119
12123
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
12120
12124
|
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"
|
|
12121
12125
|
fill="white" />
|
|
12122
12126
|
</svg>`, "image/svg+xml").firstChild;
|
|
12123
12127
|
}
|
|
12124
|
-
function
|
|
12128
|
+
function Lg() {
|
|
12125
12129
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
12126
12130
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
12127
12131
|
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"
|
|
@@ -12135,7 +12139,7 @@ var gt = {
|
|
|
12135
12139
|
PIP: "picture-in-picture",
|
|
12136
12140
|
INLINE: "inline",
|
|
12137
12141
|
FULLSCREEN: "fullscreen"
|
|
12138
|
-
},
|
|
12142
|
+
}, Rg = /* @__PURE__ */ (function(a) {
|
|
12139
12143
|
D(r, a);
|
|
12140
12144
|
var s = O(r);
|
|
12141
12145
|
function r() {
|
|
@@ -12175,11 +12179,11 @@ var gt = {
|
|
|
12175
12179
|
value: function() {
|
|
12176
12180
|
return {
|
|
12177
12181
|
pipIcon: {
|
|
12178
|
-
icon:
|
|
12182
|
+
icon: Ag,
|
|
12179
12183
|
class: "xg-get-pip"
|
|
12180
12184
|
},
|
|
12181
12185
|
pipIconExit: {
|
|
12182
|
-
icon:
|
|
12186
|
+
icon: Lg,
|
|
12183
12187
|
class: "xg-exit-pip"
|
|
12184
12188
|
}
|
|
12185
12189
|
};
|
|
@@ -12336,13 +12340,13 @@ var gt = {
|
|
|
12336
12340
|
}
|
|
12337
12341
|
}]), r;
|
|
12338
12342
|
})(ot);
|
|
12339
|
-
function
|
|
12343
|
+
function Dg() {
|
|
12340
12344
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
12341
12345
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
12342
12346
|
</svg>
|
|
12343
12347
|
`, "image/svg+xml").firstChild;
|
|
12344
12348
|
}
|
|
12345
|
-
var
|
|
12349
|
+
var Og = /* @__PURE__ */ (function(a) {
|
|
12346
12350
|
D(r, a);
|
|
12347
12351
|
var s = O(r);
|
|
12348
12352
|
function r(t) {
|
|
@@ -12361,7 +12365,7 @@ var Dg = /* @__PURE__ */ (function(a) {
|
|
|
12361
12365
|
key: "registerIcons",
|
|
12362
12366
|
value: function() {
|
|
12363
12367
|
return {
|
|
12364
|
-
playNext:
|
|
12368
|
+
playNext: Dg
|
|
12365
12369
|
};
|
|
12366
12370
|
}
|
|
12367
12371
|
}, {
|
|
@@ -12411,7 +12415,7 @@ var Dg = /* @__PURE__ */ (function(a) {
|
|
|
12411
12415
|
}
|
|
12412
12416
|
}]), r;
|
|
12413
12417
|
})(G);
|
|
12414
|
-
function
|
|
12418
|
+
function Mg() {
|
|
12415
12419
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
12416
12420
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
12417
12421
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -12521,7 +12525,7 @@ Use Save As... to download, then click back to return to this page.`);
|
|
|
12521
12525
|
setHeaders: function(s) {
|
|
12522
12526
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
12523
12527
|
Object.entries(r).forEach(function(t) {
|
|
12524
|
-
var e =
|
|
12528
|
+
var e = td(t, 2), i = e[0], n = e[1];
|
|
12525
12529
|
s.setRequestHeader(i, n);
|
|
12526
12530
|
});
|
|
12527
12531
|
},
|
|
@@ -12600,11 +12604,11 @@ function wl(a, s, r) {
|
|
|
12600
12604
|
Oe.downloadWithAnchor(C.target.result, e);
|
|
12601
12605
|
}, b.readAsDataURL(g), Oe.downloadWithIframe(g, e);
|
|
12602
12606
|
}
|
|
12603
|
-
function
|
|
12607
|
+
function Fg(a) {
|
|
12604
12608
|
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = ee(ee({}, me), s), t = r.fileName || a.split("/").pop().split("?")[0] || "download";
|
|
12605
12609
|
return di.downloadFromURL(a, t, r);
|
|
12606
12610
|
}
|
|
12607
|
-
var
|
|
12611
|
+
var Ng = /* @__PURE__ */ (function(a) {
|
|
12608
12612
|
D(r, a);
|
|
12609
12613
|
var s = O(r);
|
|
12610
12614
|
function r(t) {
|
|
@@ -12615,7 +12619,7 @@ var Fg = /* @__PURE__ */ (function(a) {
|
|
|
12615
12619
|
var n = e.playerConfig.url, o = "";
|
|
12616
12620
|
h.typeOf(n) === "String" ? o = n : h.typeOf(n) === "Array" && n.length > 0 && (o = n[0].src);
|
|
12617
12621
|
var u = e.getAbsoluteURL(o);
|
|
12618
|
-
|
|
12622
|
+
Fg(u, Object.assign({}, e.config.saveAsOptions || {})), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
12619
12623
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
12620
12624
|
}, 300);
|
|
12621
12625
|
}
|
|
@@ -12634,7 +12638,7 @@ var Fg = /* @__PURE__ */ (function(a) {
|
|
|
12634
12638
|
key: "registerIcons",
|
|
12635
12639
|
value: function() {
|
|
12636
12640
|
return {
|
|
12637
|
-
download:
|
|
12641
|
+
download: Mg
|
|
12638
12642
|
};
|
|
12639
12643
|
}
|
|
12640
12644
|
}, {
|
|
@@ -12677,7 +12681,7 @@ var Fg = /* @__PURE__ */ (function(a) {
|
|
|
12677
12681
|
};
|
|
12678
12682
|
}
|
|
12679
12683
|
}]), r;
|
|
12680
|
-
})(ot),
|
|
12684
|
+
})(ot), Bg = /* @__PURE__ */ (function(a) {
|
|
12681
12685
|
D(r, a);
|
|
12682
12686
|
var s = O(r);
|
|
12683
12687
|
function r() {
|
|
@@ -12803,7 +12807,7 @@ var Fg = /* @__PURE__ */ (function(a) {
|
|
|
12803
12807
|
};
|
|
12804
12808
|
}
|
|
12805
12809
|
}]), r;
|
|
12806
|
-
})(ot),
|
|
12810
|
+
})(ot), Hg = /* @__PURE__ */ (function() {
|
|
12807
12811
|
function a(s) {
|
|
12808
12812
|
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);
|
|
12809
12813
|
var r = this.config.maxHeight;
|
|
@@ -12883,7 +12887,7 @@ var Fg = /* @__PURE__ */ (function(a) {
|
|
|
12883
12887
|
CLICK: "click",
|
|
12884
12888
|
HOVER: "hover"
|
|
12885
12889
|
};
|
|
12886
|
-
function
|
|
12890
|
+
function Ug(a, s) {
|
|
12887
12891
|
return a === Pe.SIDE ? s === Q.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
12888
12892
|
}
|
|
12889
12893
|
var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
@@ -12997,7 +13001,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
12997
13001
|
var c = {
|
|
12998
13002
|
config: {
|
|
12999
13003
|
data: e || [],
|
|
13000
|
-
className:
|
|
13004
|
+
className: Ug(o.listType, o.position),
|
|
13001
13005
|
onItemClick: function(m, p) {
|
|
13002
13006
|
n.onItemClick(m, p);
|
|
13003
13007
|
},
|
|
@@ -13007,7 +13011,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13007
13011
|
};
|
|
13008
13012
|
if (this.config.isShowIcon) {
|
|
13009
13013
|
var f = this.player.root.getBoundingClientRect(), d = f.height, g = o.listType === Pe.MIDDLE ? d - 50 : d;
|
|
13010
|
-
g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new
|
|
13014
|
+
g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new Hg(c), this.changeCurrentText(), this.show();
|
|
13011
13015
|
}
|
|
13012
13016
|
this._resizeList();
|
|
13013
13017
|
}
|
|
@@ -13058,7 +13062,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13058
13062
|
};
|
|
13059
13063
|
}
|
|
13060
13064
|
}]), r;
|
|
13061
|
-
})(G),
|
|
13065
|
+
})(G), jg = /* @__PURE__ */ (function(a) {
|
|
13062
13066
|
D(r, a);
|
|
13063
13067
|
var s = O(r);
|
|
13064
13068
|
function r(t) {
|
|
@@ -13159,7 +13163,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13159
13163
|
});
|
|
13160
13164
|
}
|
|
13161
13165
|
}]), r;
|
|
13162
|
-
})(gi),
|
|
13166
|
+
})(gi), zg = /* @__PURE__ */ (function(a) {
|
|
13163
13167
|
D(r, a);
|
|
13164
13168
|
var s = O(r);
|
|
13165
13169
|
function r(t) {
|
|
@@ -13251,7 +13255,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13251
13255
|
});
|
|
13252
13256
|
}
|
|
13253
13257
|
}]), r;
|
|
13254
|
-
})(gi),
|
|
13258
|
+
})(gi), Vg = /* @__PURE__ */ (function(a) {
|
|
13255
13259
|
D(r, a);
|
|
13256
13260
|
var s = O(r);
|
|
13257
13261
|
function r() {
|
|
@@ -13312,7 +13316,7 @@ var Qe = U.device === "mobile", gi = /* @__PURE__ */ (function(a) {
|
|
|
13312
13316
|
return "error";
|
|
13313
13317
|
}
|
|
13314
13318
|
}]), r;
|
|
13315
|
-
})(G),
|
|
13319
|
+
})(G), qg = /* @__PURE__ */ (function(a) {
|
|
13316
13320
|
D(r, a);
|
|
13317
13321
|
var s = O(r);
|
|
13318
13322
|
function r() {
|
|
@@ -13542,7 +13546,7 @@ var pu = {
|
|
|
13542
13546
|
return r.find('xg-spot[data-id="'.concat(s, '"]'));
|
|
13543
13547
|
}
|
|
13544
13548
|
};
|
|
13545
|
-
function
|
|
13549
|
+
function Wg(a) {
|
|
13546
13550
|
var s = a.config, r = a.player;
|
|
13547
13551
|
Object.keys(pu).map(function(e) {
|
|
13548
13552
|
a[e] = pu[e].bind(a);
|
|
@@ -13566,7 +13570,7 @@ var pt = {
|
|
|
13566
13570
|
click: "onProgressClick",
|
|
13567
13571
|
mouseover: "onProgressMouseOver",
|
|
13568
13572
|
mouseenter: "onProgressMouseOver"
|
|
13569
|
-
},
|
|
13573
|
+
}, Gg = /* @__PURE__ */ (function(a) {
|
|
13570
13574
|
D(r, a);
|
|
13571
13575
|
var s = O(r);
|
|
13572
13576
|
function r(t) {
|
|
@@ -13617,7 +13621,7 @@ var pt = {
|
|
|
13617
13621
|
n.seekTime && e.player.seek(n.seekTime);
|
|
13618
13622
|
}), this.transformTimeHook = this.hook("transformTime", function(i) {
|
|
13619
13623
|
e.setTimeContent(h.format(i));
|
|
13620
|
-
}),
|
|
13624
|
+
}), Wg(this), this.on(Ue, function() {
|
|
13621
13625
|
e.show();
|
|
13622
13626
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
13623
13627
|
}
|
|
@@ -13841,7 +13845,7 @@ var pt = {
|
|
|
13841
13845
|
};
|
|
13842
13846
|
}
|
|
13843
13847
|
}]), r;
|
|
13844
|
-
})(G),
|
|
13848
|
+
})(G), Kg = /* @__PURE__ */ (function(a) {
|
|
13845
13849
|
D(r, a);
|
|
13846
13850
|
var s = O(r);
|
|
13847
13851
|
function r(t) {
|
|
@@ -13978,7 +13982,7 @@ var pt = {
|
|
|
13978
13982
|
function qr(a) {
|
|
13979
13983
|
return a ? "background:".concat(a, ";") : "";
|
|
13980
13984
|
}
|
|
13981
|
-
var
|
|
13985
|
+
var $g = /* @__PURE__ */ (function(a) {
|
|
13982
13986
|
D(r, a);
|
|
13983
13987
|
var s = O(r);
|
|
13984
13988
|
function r() {
|
|
@@ -14065,14 +14069,14 @@ var Kg = /* @__PURE__ */ (function(a) {
|
|
|
14065
14069
|
FIRST_FRAME: "firstframe",
|
|
14066
14070
|
POSTER: "poster"
|
|
14067
14071
|
};
|
|
14068
|
-
function
|
|
14072
|
+
function Yg() {
|
|
14069
14073
|
try {
|
|
14070
14074
|
return parseInt(window.performance.now(), 10);
|
|
14071
14075
|
} catch {
|
|
14072
14076
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
14073
14077
|
}
|
|
14074
14078
|
}
|
|
14075
|
-
function
|
|
14079
|
+
function Xg() {
|
|
14076
14080
|
try {
|
|
14077
14081
|
var a = document.createElement("canvas").getContext;
|
|
14078
14082
|
return !!a;
|
|
@@ -14080,7 +14084,7 @@ function Yg() {
|
|
|
14080
14084
|
return !1;
|
|
14081
14085
|
}
|
|
14082
14086
|
}
|
|
14083
|
-
var ti = null,
|
|
14087
|
+
var ti = null, Zg = /* @__PURE__ */ (function(a) {
|
|
14084
14088
|
D(r, a);
|
|
14085
14089
|
var s = O(r);
|
|
14086
14090
|
function r() {
|
|
@@ -14101,7 +14105,7 @@ var ti = null, Xg = /* @__PURE__ */ (function(a) {
|
|
|
14101
14105
|
!t.player.paused && t._checkIfCanStart() && t.start(0, u);
|
|
14102
14106
|
}
|
|
14103
14107
|
}), _(y(t), "start", function(o, u) {
|
|
14104
|
-
var l = t.player.video, c =
|
|
14108
|
+
var l = t.player.video, c = Yg(), f = t.checkVideoIsSupport(l);
|
|
14105
14109
|
!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 === mt.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));
|
|
14106
14110
|
}), _(y(t), "stop", function() {
|
|
14107
14111
|
t.frameId && (t._loopType === "timer" ? h.clearTimeout(y(t), t.frameId) : h.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -14274,7 +14278,7 @@ var ti = null, Xg = /* @__PURE__ */ (function(a) {
|
|
|
14274
14278
|
}, {
|
|
14275
14279
|
key: "isSupport",
|
|
14276
14280
|
get: function() {
|
|
14277
|
-
return typeof ti == "boolean" || (ti =
|
|
14281
|
+
return typeof ti == "boolean" || (ti = Xg()), ti;
|
|
14278
14282
|
}
|
|
14279
14283
|
}, {
|
|
14280
14284
|
key: "supportCanvasFilter",
|
|
@@ -14282,7 +14286,7 @@ var ti = null, Xg = /* @__PURE__ */ (function(a) {
|
|
|
14282
14286
|
return !(U.browser === "safari" || U.browser === "firefox");
|
|
14283
14287
|
}
|
|
14284
14288
|
}]), r;
|
|
14285
|
-
})(G),
|
|
14289
|
+
})(G), Jg = {
|
|
14286
14290
|
LANG: "zh-cn",
|
|
14287
14291
|
TEXT: {
|
|
14288
14292
|
ERROR_TYPES: {
|
|
@@ -14358,7 +14362,7 @@ var ti = null, Xg = /* @__PURE__ */ (function(a) {
|
|
|
14358
14362
|
FORWARD: "快进中",
|
|
14359
14363
|
LIVE_TIP: "直播"
|
|
14360
14364
|
}
|
|
14361
|
-
}, Et = "info", Wr = ll,
|
|
14365
|
+
}, Et = "info", Wr = ll, Qg = /* @__PURE__ */ (function(a) {
|
|
14362
14366
|
D(r, a);
|
|
14363
14367
|
var s = O(r);
|
|
14364
14368
|
function r() {
|
|
@@ -14592,7 +14596,7 @@ var ti = null, Xg = /* @__PURE__ */ (function(a) {
|
|
|
14592
14596
|
}]), r;
|
|
14593
14597
|
})(G);
|
|
14594
14598
|
Tl.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
14595
|
-
var
|
|
14599
|
+
var ev = /* @__PURE__ */ (function(a) {
|
|
14596
14600
|
D(r, a);
|
|
14597
14601
|
var s = O(r);
|
|
14598
14602
|
function r() {
|
|
@@ -14638,7 +14642,7 @@ var Qg = /* @__PURE__ */ (function(a) {
|
|
|
14638
14642
|
};
|
|
14639
14643
|
}
|
|
14640
14644
|
}]), r;
|
|
14641
|
-
})(G), yt = "cdn", ii = ["cdn"],
|
|
14645
|
+
})(G), yt = "cdn", ii = ["cdn"], tv = /* @__PURE__ */ (function(a) {
|
|
14642
14646
|
D(r, a);
|
|
14643
14647
|
var s = O(r);
|
|
14644
14648
|
function r() {
|
|
@@ -14764,7 +14768,7 @@ var Qg = /* @__PURE__ */ (function(a) {
|
|
|
14764
14768
|
};
|
|
14765
14769
|
}
|
|
14766
14770
|
}]), r;
|
|
14767
|
-
})(G),
|
|
14771
|
+
})(G), iv = /* @__PURE__ */ (function(a) {
|
|
14768
14772
|
D(r, a);
|
|
14769
14773
|
var s = O(r);
|
|
14770
14774
|
function r() {
|
|
@@ -14874,24 +14878,24 @@ var Qg = /* @__PURE__ */ (function(a) {
|
|
|
14874
14878
|
}
|
|
14875
14879
|
}]), r;
|
|
14876
14880
|
})(G);
|
|
14877
|
-
_t.use(
|
|
14878
|
-
var
|
|
14881
|
+
_t.use(Jg);
|
|
14882
|
+
var nv = /* @__PURE__ */ A(function a(s, r) {
|
|
14879
14883
|
var t, e, i;
|
|
14880
14884
|
P(this, a);
|
|
14881
|
-
var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, u = o ? [] : [
|
|
14882
|
-
this.plugins = [
|
|
14885
|
+
var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, u = o ? [] : [xg, yl, $g, Gg, _l], l = [].concat(u, [ml, pl, Pg, Og, jg, zg, Ng, Bg, bl, Rg]), c = [lg, cg, hg, Eg, dg, Vg, qg, Kg, mg];
|
|
14886
|
+
this.plugins = [Qg, og].concat(xe(l), c, [Tl, ev]);
|
|
14883
14887
|
var f = n ? "mobile" : U.device;
|
|
14884
14888
|
switch (f) {
|
|
14885
14889
|
case "pc":
|
|
14886
|
-
(t = this.plugins).push.apply(t, [gu, zr, Qr,
|
|
14890
|
+
(t = this.plugins).push.apply(t, [gu, zr, Qr, tv, iv]);
|
|
14887
14891
|
break;
|
|
14888
14892
|
case "mobile":
|
|
14889
|
-
(e = this.plugins).push.apply(e, [
|
|
14893
|
+
(e = this.plugins).push.apply(e, [kg]);
|
|
14890
14894
|
break;
|
|
14891
14895
|
default:
|
|
14892
14896
|
(i = this.plugins).push.apply(i, [gu, zr, Qr]);
|
|
14893
14897
|
}
|
|
14894
|
-
(U.os.isIpad || f === "pc") && this.plugins.push(
|
|
14898
|
+
(U.os.isIpad || f === "pc") && this.plugins.push(Zg), U.os.isIpad && this.plugins.push(zr), this.ignores = [], this.i18n = [];
|
|
14895
14899
|
}), oe = /* @__PURE__ */ (function(a) {
|
|
14896
14900
|
D(r, a);
|
|
14897
14901
|
var s = O(r);
|
|
@@ -14900,11 +14904,11 @@ var iv = /* @__PURE__ */ A(function a(s, r) {
|
|
|
14900
14904
|
}
|
|
14901
14905
|
return A(r);
|
|
14902
14906
|
})(Ii);
|
|
14903
|
-
_(oe, "defaultPreset",
|
|
14907
|
+
_(oe, "defaultPreset", nv);
|
|
14904
14908
|
_(oe, "Util", h);
|
|
14905
14909
|
_(oe, "Sniffer", U);
|
|
14906
14910
|
_(oe, "Errors", ri);
|
|
14907
|
-
_(oe, "Events",
|
|
14911
|
+
_(oe, "Events", Id);
|
|
14908
14912
|
_(oe, "Plugin", G);
|
|
14909
14913
|
_(oe, "BasePlugin", Ye);
|
|
14910
14914
|
_(oe, "I18N", _t);
|
|
@@ -14916,7 +14920,7 @@ _(oe, "Progress", yl);
|
|
|
14916
14920
|
_(oe, "FullscreenIcon", pl);
|
|
14917
14921
|
_(oe, "CssFullscreenIcon", Qr);
|
|
14918
14922
|
_(oe, "VolumeIcon", bl);
|
|
14919
|
-
const
|
|
14923
|
+
const rv = ["id"], av = /* @__PURE__ */ re({
|
|
14920
14924
|
name: "ElImageViewer",
|
|
14921
14925
|
__name: "Player",
|
|
14922
14926
|
props: /* @__PURE__ */ Ot({
|
|
@@ -15014,7 +15018,7 @@ const nv = ["id"], rv = /* @__PURE__ */ re({
|
|
|
15014
15018
|
class: te(x(f).e("canvas"))
|
|
15015
15019
|
},
|
|
15016
15020
|
[
|
|
15017
|
-
S("div", { id: x(c) }, null, 8,
|
|
15021
|
+
S("div", { id: x(c) }, null, 8, rv),
|
|
15018
15022
|
X(" CLOSE "),
|
|
15019
15023
|
S(
|
|
15020
15024
|
"span",
|
|
@@ -15050,7 +15054,7 @@ const nv = ["id"], rv = /* @__PURE__ */ re({
|
|
|
15050
15054
|
])) : X("v-if", !0);
|
|
15051
15055
|
};
|
|
15052
15056
|
}
|
|
15053
|
-
}),
|
|
15057
|
+
}), sv = /* @__PURE__ */ pi(av, [["__scopeId", "data-v-b301aa7d"]]), ov = He(sv), uv = { key: 2 }, lv = /* @__PURE__ */ re({
|
|
15054
15058
|
__name: "IkDescription",
|
|
15055
15059
|
props: {
|
|
15056
15060
|
showIcon: {
|
|
@@ -15160,7 +15164,7 @@ const nv = ["id"], rv = /* @__PURE__ */ re({
|
|
|
15160
15164
|
default: ie(() => [
|
|
15161
15165
|
Ee(l.$slots, `${g[r.label]}_value`, { item: g }, () => [
|
|
15162
15166
|
g[r.tag] ? (E(), se(
|
|
15163
|
-
x(
|
|
15167
|
+
x(Kl),
|
|
15164
15168
|
{
|
|
15165
15169
|
key: 0,
|
|
15166
15170
|
size: "small"
|
|
@@ -15178,7 +15182,7 @@ const nv = ["id"], rv = /* @__PURE__ */ re({
|
|
|
15178
15182
|
},
|
|
15179
15183
|
1024
|
|
15180
15184
|
/* DYNAMIC_SLOTS */
|
|
15181
|
-
)) : g[r.fileList] ? (E(), se(x(
|
|
15185
|
+
)) : g[r.fileList] ? (E(), se(x(jc), Rt({
|
|
15182
15186
|
key: 1,
|
|
15183
15187
|
list: g[r.fileList],
|
|
15184
15188
|
field: a.fileField,
|
|
@@ -15187,7 +15191,7 @@ const nv = ["id"], rv = /* @__PURE__ */ re({
|
|
|
15187
15191
|
"show-file-size": !0
|
|
15188
15192
|
}, { ref_for: !0 }, a.previewProps), null, 16, ["list", "field", "load-url"])) : (E(), R(
|
|
15189
15193
|
"span",
|
|
15190
|
-
|
|
15194
|
+
uv,
|
|
15191
15195
|
ge(g[r.value]),
|
|
15192
15196
|
1
|
|
15193
15197
|
/* TEXT */
|
|
@@ -15209,8 +15213,8 @@ const nv = ["id"], rv = /* @__PURE__ */ re({
|
|
|
15209
15213
|
}, 16, ["id"]);
|
|
15210
15214
|
};
|
|
15211
15215
|
}
|
|
15212
|
-
}),
|
|
15216
|
+
}), cv = /* @__PURE__ */ pi(lv, [["__scopeId", "data-v-e9542f99"]]), gv = He(cv);
|
|
15213
15217
|
export {
|
|
15214
|
-
|
|
15215
|
-
|
|
15218
|
+
gv as IkDescriptions,
|
|
15219
|
+
gv as default
|
|
15216
15220
|
};
|