iking-web-ui-pro 1.2.7 → 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 +609 -614
- package/dist/IkDescription/ik.index.es.js +445 -450
- package/dist/IkDetailPreviewFiles/ik.index.es.js +451 -456
- package/dist/IkPreviewFile/ik.index.es.js +443 -448
- 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-CughgR_O.mjs → index-skQr1Jxv.mjs} +1406 -1407
- package/dist/{index.es-DgqPc8il.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-CVLIg3IF.mjs → jspdf.es.min-DW3hZMv2.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as ne, computed as te, openBlock as E, createElementBlock as R, createElementVNode as S, inject as ft, useModel as Zr, ref as ve, reactive as Al, watch as At, nextTick as Jr, Fragment as we, createBlock as pe, unref as x, createCommentVNode as X, createVNode as Y, withCtx as ae, toDisplayString as Te, mergeModels as Lt, resolveComponent as ti, normalizeStyle as Se, normalizeClass as ee, mergeProps as pu, createTextVNode as zr, h as Ll, createSlots as Rl, renderSlot as We, getCurrentScope as Dl, onScopeDispose as Ol, markRaw as xa, effectScope as Ml, shallowRef as Fl, onMounted as Nl, Teleport as mu, Transition as yu, withModifiers as et, resolveDynamicComponent as Bl, renderList as Qt, withDirectives as Hl, vShow as Ul } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { useLocale as jl, useNamespace as _u, useZIndex as zl, ElIcon as je, EVENT_CODE as ht, ElMessage as Vl } from "element-plus";
|
|
3
|
+
import { buildUUID as bu, ikColor as ql, paramType as Vr, _ as Si, ikFile as Gl } from "iking-utils-pro";
|
|
4
4
|
const Ye = (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 Ye = (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
|
+
}, Wl = {
|
|
30
30
|
".doc": "word",
|
|
31
31
|
".docx": "word",
|
|
32
32
|
".docxf": "word",
|
|
@@ -113,11 +113,11 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
113
113
|
".pdf": "pdf"
|
|
114
114
|
}, Ia = (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 && Wl[r] || "unknow";
|
|
117
|
+
}, Kl = (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
|
+
}, $l = {
|
|
121
121
|
key: 0,
|
|
122
122
|
t: "1686300059786",
|
|
123
123
|
class: "icon",
|
|
@@ -127,7 +127,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
127
127
|
"p-id": "7671",
|
|
128
128
|
width: "200",
|
|
129
129
|
height: "200"
|
|
130
|
-
},
|
|
130
|
+
}, Yl = {
|
|
131
131
|
key: 1,
|
|
132
132
|
t: "1686301531714",
|
|
133
133
|
class: "icon",
|
|
@@ -137,7 +137,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
137
137
|
"p-id": "9067",
|
|
138
138
|
width: "200",
|
|
139
139
|
height: "200"
|
|
140
|
-
},
|
|
140
|
+
}, Xl = {
|
|
141
141
|
key: 2,
|
|
142
142
|
t: "1686300141125",
|
|
143
143
|
class: "icon",
|
|
@@ -147,7 +147,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
147
147
|
"p-id": "8137",
|
|
148
148
|
width: "200",
|
|
149
149
|
height: "200"
|
|
150
|
-
},
|
|
150
|
+
}, Zl = {
|
|
151
151
|
key: 3,
|
|
152
152
|
t: "1686300157181",
|
|
153
153
|
class: "icon",
|
|
@@ -157,7 +157,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
157
157
|
"p-id": "8292",
|
|
158
158
|
width: "200",
|
|
159
159
|
height: "200"
|
|
160
|
-
},
|
|
160
|
+
}, Jl = {
|
|
161
161
|
key: 4,
|
|
162
162
|
t: "1686300180947",
|
|
163
163
|
class: "icon",
|
|
@@ -167,7 +167,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
167
167
|
"p-id": "8447",
|
|
168
168
|
width: "200",
|
|
169
169
|
height: "200"
|
|
170
|
-
},
|
|
170
|
+
}, Ql = {
|
|
171
171
|
key: 5,
|
|
172
172
|
t: "1686300195363",
|
|
173
173
|
class: "icon",
|
|
@@ -177,7 +177,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
177
177
|
"p-id": "8602",
|
|
178
178
|
width: "200",
|
|
179
179
|
height: "200"
|
|
180
|
-
},
|
|
180
|
+
}, ec = {
|
|
181
181
|
key: 6,
|
|
182
182
|
t: "1686300209288",
|
|
183
183
|
class: "icon",
|
|
@@ -187,7 +187,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
187
187
|
"p-id": "8757",
|
|
188
188
|
width: "200",
|
|
189
189
|
height: "200"
|
|
190
|
-
},
|
|
190
|
+
}, tc = {
|
|
191
191
|
key: 7,
|
|
192
192
|
t: "1686300225262",
|
|
193
193
|
class: "icon",
|
|
@@ -197,7 +197,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
197
197
|
"p-id": "8912",
|
|
198
198
|
width: "200",
|
|
199
199
|
height: "200"
|
|
200
|
-
},
|
|
200
|
+
}, ic = {
|
|
201
201
|
key: 8,
|
|
202
202
|
t: "1692251753690",
|
|
203
203
|
class: "icon",
|
|
@@ -207,7 +207,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
207
207
|
"p-id": "4336",
|
|
208
208
|
width: "200",
|
|
209
209
|
height: "200"
|
|
210
|
-
},
|
|
210
|
+
}, nc = {
|
|
211
211
|
key: 9,
|
|
212
212
|
t: "1692251753690",
|
|
213
213
|
class: "icon",
|
|
@@ -217,7 +217,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
217
217
|
"p-id": "4336",
|
|
218
218
|
width: "200",
|
|
219
219
|
height: "200"
|
|
220
|
-
},
|
|
220
|
+
}, rc = {
|
|
221
221
|
key: 10,
|
|
222
222
|
t: "1714099890925",
|
|
223
223
|
class: "icon",
|
|
@@ -227,7 +227,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
227
227
|
"p-id": "2271",
|
|
228
228
|
width: "200",
|
|
229
229
|
height: "200"
|
|
230
|
-
},
|
|
230
|
+
}, ac = {
|
|
231
231
|
key: 11,
|
|
232
232
|
t: "1686300037564",
|
|
233
233
|
class: "icon",
|
|
@@ -237,7 +237,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
237
237
|
"p-id": "7515",
|
|
238
238
|
width: "200",
|
|
239
239
|
height: "200"
|
|
240
|
-
},
|
|
240
|
+
}, sc = /* @__PURE__ */ ne({
|
|
241
241
|
__name: "IkFileIcon",
|
|
242
242
|
props: {
|
|
243
243
|
type: {
|
|
@@ -259,7 +259,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
259
259
|
},
|
|
260
260
|
setup(a) {
|
|
261
261
|
const s = a, r = te(() => s.file ? ei(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", $l, [...e[0] || (e[0] = [
|
|
263
263
|
S(
|
|
264
264
|
"path",
|
|
265
265
|
{
|
|
@@ -304,7 +304,7 @@ const Ye = (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", Yl, [...e[1] || (e[1] = [
|
|
308
308
|
S(
|
|
309
309
|
"path",
|
|
310
310
|
{
|
|
@@ -327,7 +327,7 @@ const Ye = (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", Xl, [...e[2] || (e[2] = [
|
|
331
331
|
S(
|
|
332
332
|
"path",
|
|
333
333
|
{
|
|
@@ -350,7 +350,7 @@ const Ye = (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", Zl, [...e[3] || (e[3] = [
|
|
354
354
|
S(
|
|
355
355
|
"path",
|
|
356
356
|
{
|
|
@@ -373,7 +373,7 @@ const Ye = (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", Jl, [...e[4] || (e[4] = [
|
|
377
377
|
S(
|
|
378
378
|
"path",
|
|
379
379
|
{
|
|
@@ -396,7 +396,7 @@ const Ye = (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", Ql, [...e[5] || (e[5] = [
|
|
400
400
|
S(
|
|
401
401
|
"path",
|
|
402
402
|
{
|
|
@@ -419,7 +419,7 @@ const Ye = (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", ec, [...e[6] || (e[6] = [
|
|
423
423
|
S(
|
|
424
424
|
"path",
|
|
425
425
|
{
|
|
@@ -442,7 +442,7 @@ const Ye = (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", tc, [...e[7] || (e[7] = [
|
|
446
446
|
S(
|
|
447
447
|
"path",
|
|
448
448
|
{
|
|
@@ -465,7 +465,7 @@ const Ye = (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", ic, [...e[8] || (e[8] = [
|
|
469
469
|
S(
|
|
470
470
|
"path",
|
|
471
471
|
{
|
|
@@ -500,7 +500,7 @@ const Ye = (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", nc, [...e[9] || (e[9] = [
|
|
504
504
|
S(
|
|
505
505
|
"path",
|
|
506
506
|
{
|
|
@@ -546,7 +546,7 @@ const Ye = (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", rc, [...e[10] || (e[10] = [
|
|
550
550
|
S(
|
|
551
551
|
"path",
|
|
552
552
|
{
|
|
@@ -581,7 +581,7 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
581
581
|
-1
|
|
582
582
|
/* CACHED */
|
|
583
583
|
)
|
|
584
|
-
])])) : (E(), R("svg",
|
|
584
|
+
])])) : (E(), R("svg", ac, [...e[11] || (e[11] = [
|
|
585
585
|
S(
|
|
586
586
|
"path",
|
|
587
587
|
{
|
|
@@ -617,9 +617,9 @@ const Ye = (a, s) => (a.install = (r) => {
|
|
|
617
617
|
)
|
|
618
618
|
])]));
|
|
619
619
|
}
|
|
620
|
-
}), Pa = Ye(
|
|
620
|
+
}), Pa = Ye(sc);
|
|
621
621
|
/*! Element Plus Icons Vue v2.3.2 */
|
|
622
|
-
var
|
|
622
|
+
var oc = /* @__PURE__ */ ne({
|
|
623
623
|
name: "ArrowLeft",
|
|
624
624
|
__name: "arrow-left",
|
|
625
625
|
setup(a) {
|
|
@@ -633,7 +633,7 @@ var sc = /* @__PURE__ */ ne({
|
|
|
633
633
|
})
|
|
634
634
|
]));
|
|
635
635
|
}
|
|
636
|
-
}),
|
|
636
|
+
}), uc = oc, lc = /* @__PURE__ */ ne({
|
|
637
637
|
name: "ArrowRight",
|
|
638
638
|
__name: "arrow-right",
|
|
639
639
|
setup(a) {
|
|
@@ -647,7 +647,7 @@ var sc = /* @__PURE__ */ ne({
|
|
|
647
647
|
})
|
|
648
648
|
]));
|
|
649
649
|
}
|
|
650
|
-
}),
|
|
650
|
+
}), cc = lc, fc = /* @__PURE__ */ ne({
|
|
651
651
|
name: "Close",
|
|
652
652
|
__name: "close",
|
|
653
653
|
setup(a) {
|
|
@@ -661,7 +661,7 @@ var sc = /* @__PURE__ */ ne({
|
|
|
661
661
|
})
|
|
662
662
|
]));
|
|
663
663
|
}
|
|
664
|
-
}), Cu =
|
|
664
|
+
}), Cu = fc, hc = /* @__PURE__ */ ne({
|
|
665
665
|
name: "FullScreen",
|
|
666
666
|
__name: "full-screen",
|
|
667
667
|
setup(a) {
|
|
@@ -675,7 +675,7 @@ var sc = /* @__PURE__ */ ne({
|
|
|
675
675
|
})
|
|
676
676
|
]));
|
|
677
677
|
}
|
|
678
|
-
}),
|
|
678
|
+
}), dc = hc, gc = /* @__PURE__ */ ne({
|
|
679
679
|
name: "RefreshLeft",
|
|
680
680
|
__name: "refresh-left",
|
|
681
681
|
setup(a) {
|
|
@@ -689,7 +689,7 @@ var sc = /* @__PURE__ */ ne({
|
|
|
689
689
|
})
|
|
690
690
|
]));
|
|
691
691
|
}
|
|
692
|
-
}),
|
|
692
|
+
}), vc = gc, pc = /* @__PURE__ */ ne({
|
|
693
693
|
name: "RefreshRight",
|
|
694
694
|
__name: "refresh-right",
|
|
695
695
|
setup(a) {
|
|
@@ -703,7 +703,7 @@ var sc = /* @__PURE__ */ ne({
|
|
|
703
703
|
})
|
|
704
704
|
]));
|
|
705
705
|
}
|
|
706
|
-
}),
|
|
706
|
+
}), mc = pc, yc = /* @__PURE__ */ ne({
|
|
707
707
|
name: "ScaleToOriginal",
|
|
708
708
|
__name: "scale-to-original",
|
|
709
709
|
setup(a) {
|
|
@@ -717,7 +717,7 @@ var sc = /* @__PURE__ */ ne({
|
|
|
717
717
|
})
|
|
718
718
|
]));
|
|
719
719
|
}
|
|
720
|
-
}),
|
|
720
|
+
}), _c = yc, bc = /* @__PURE__ */ ne({
|
|
721
721
|
name: "ZoomIn",
|
|
722
722
|
__name: "zoom-in",
|
|
723
723
|
setup(a) {
|
|
@@ -731,7 +731,7 @@ var sc = /* @__PURE__ */ ne({
|
|
|
731
731
|
})
|
|
732
732
|
]));
|
|
733
733
|
}
|
|
734
|
-
}),
|
|
734
|
+
}), Cc = bc, wc = /* @__PURE__ */ ne({
|
|
735
735
|
name: "ZoomOut",
|
|
736
736
|
__name: "zoom-out",
|
|
737
737
|
setup(a) {
|
|
@@ -745,7 +745,7 @@ var sc = /* @__PURE__ */ ne({
|
|
|
745
745
|
})
|
|
746
746
|
]));
|
|
747
747
|
}
|
|
748
|
-
}),
|
|
748
|
+
}), kc = wc;
|
|
749
749
|
const Qr = (a, s) => {
|
|
750
750
|
const r = a.__vccOpts || a;
|
|
751
751
|
for (const [t, e] of s)
|
|
@@ -829,7 +829,7 @@ const Qr = (a, s) => {
|
|
|
829
829
|
cUserInfo: d,
|
|
830
830
|
cOnlyofficePreviewType: g
|
|
831
831
|
};
|
|
832
|
-
},
|
|
832
|
+
}, Tc = { class: "head-logo" }, Sc = ["src"], Ec = { class: "text-preview-container" }, xc = { class: "text-preview-header" }, Ic = { class: "file-name" }, Pc = { class: "text-preview-content" }, Ac = /* @__PURE__ */ ne({
|
|
833
833
|
__name: "IkPreviewFileDialog",
|
|
834
834
|
props: /* @__PURE__ */ Lt({
|
|
835
835
|
file: {
|
|
@@ -907,13 +907,13 @@ const Qr = (a, s) => {
|
|
|
907
907
|
}
|
|
908
908
|
},
|
|
909
909
|
document: {
|
|
910
|
-
key: (v == null ? void 0 : v.key) ||
|
|
910
|
+
key: (v == null ? void 0 : v.key) || bu(),
|
|
911
911
|
title: z,
|
|
912
912
|
url: Rt(r.loadUrl, j),
|
|
913
913
|
fileType: K,
|
|
914
914
|
...((T = r.onlyOfficeConfig) == null ? void 0 : T.document) || {}
|
|
915
915
|
},
|
|
916
|
-
documentType:
|
|
916
|
+
documentType: Kl(K)
|
|
917
917
|
// document_fileType: getFileTypes(suffix),
|
|
918
918
|
}, console.log("config", n.value);
|
|
919
919
|
return;
|
|
@@ -949,7 +949,7 @@ const Qr = (a, s) => {
|
|
|
949
949
|
we,
|
|
950
950
|
{ key: 0 },
|
|
951
951
|
[
|
|
952
|
-
(p = o.value) != null && p.url && l.image ? (E(), pe(x(
|
|
952
|
+
(p = o.value) != null && p.url && l.image ? (E(), pe(x(Dh), {
|
|
953
953
|
key: 0,
|
|
954
954
|
onClose: m[0] || (m[0] = (C) => d()),
|
|
955
955
|
ref: "previewImgRef",
|
|
@@ -959,7 +959,7 @@ const Qr = (a, s) => {
|
|
|
959
959
|
}, null, 8, ["url-list"])) : X("v-if", !0),
|
|
960
960
|
X(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
961
961
|
X(" 文档类 "),
|
|
962
|
-
Y(x(
|
|
962
|
+
Y(x(Vg), {
|
|
963
963
|
modelValue: l.video,
|
|
964
964
|
"onUpdate:modelValue": m[1] || (m[1] = (C) => l.video = C),
|
|
965
965
|
url: (b = o.value) == null ? void 0 : b.url,
|
|
@@ -983,14 +983,14 @@ const Qr = (a, s) => {
|
|
|
983
983
|
default: ae(() => {
|
|
984
984
|
var C, L, T;
|
|
985
985
|
return [
|
|
986
|
-
S("div",
|
|
986
|
+
S("div", Tc, [
|
|
987
987
|
S("img", {
|
|
988
988
|
src: (L = (C = n.value.editorConfig.customization) == null ? void 0 : C.logo) == null ? void 0 : L.image,
|
|
989
989
|
onClick: g,
|
|
990
990
|
alt: ""
|
|
991
|
-
}, null, 8,
|
|
991
|
+
}, null, 8, Sc)
|
|
992
992
|
]),
|
|
993
|
-
Y(x(
|
|
993
|
+
Y(x(mh), {
|
|
994
994
|
"config-options": n.value,
|
|
995
995
|
"document-server-url": ((T = a.onlyOfficeConfig) == null ? void 0 : T.serverUrl) || a.onlyofficeServer
|
|
996
996
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -1018,11 +1018,11 @@ const Qr = (a, s) => {
|
|
|
1018
1018
|
default: ae(() => {
|
|
1019
1019
|
var C;
|
|
1020
1020
|
return [
|
|
1021
|
-
S("div",
|
|
1022
|
-
S("div",
|
|
1021
|
+
S("div", Ec, [
|
|
1022
|
+
S("div", xc, [
|
|
1023
1023
|
S(
|
|
1024
1024
|
"span",
|
|
1025
|
-
|
|
1025
|
+
Ic,
|
|
1026
1026
|
Te((C = o.value) == null ? void 0 : C.name),
|
|
1027
1027
|
1
|
|
1028
1028
|
/* TEXT */
|
|
@@ -1030,7 +1030,7 @@ const Qr = (a, s) => {
|
|
|
1030
1030
|
]),
|
|
1031
1031
|
S(
|
|
1032
1032
|
"pre",
|
|
1033
|
-
|
|
1033
|
+
Pc,
|
|
1034
1034
|
Te(u.value),
|
|
1035
1035
|
1
|
|
1036
1036
|
/* TEXT */
|
|
@@ -1047,19 +1047,19 @@ const Qr = (a, s) => {
|
|
|
1047
1047
|
)) : X("v-if", !0);
|
|
1048
1048
|
};
|
|
1049
1049
|
}
|
|
1050
|
-
}),
|
|
1050
|
+
}), Lc = Ye(Ac);
|
|
1051
1051
|
function ku(a) {
|
|
1052
1052
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1053
1053
|
}
|
|
1054
|
-
const
|
|
1054
|
+
const Rc = {
|
|
1055
1055
|
key: 1,
|
|
1056
1056
|
class: "h-[1em] w-[1em]",
|
|
1057
1057
|
"aria-hidden": "true"
|
|
1058
|
-
},
|
|
1058
|
+
}, Dc = ["xlink:href"], Oc = ["src"], Mc = {
|
|
1059
1059
|
key: 1,
|
|
1060
1060
|
class: "h-[1em] w-[1em]",
|
|
1061
1061
|
"aria-hidden": "true"
|
|
1062
|
-
},
|
|
1062
|
+
}, Fc = ["xlink:href"], Nc = ["src"], Bc = /* @__PURE__ */ ne({
|
|
1063
1063
|
name: "IkSvgIcon",
|
|
1064
1064
|
__name: "index",
|
|
1065
1065
|
props: {
|
|
@@ -1113,7 +1113,7 @@ const Lc = {
|
|
|
1113
1113
|
padding: t.value.showBg || t.value.bg ? t.value.padding : 0,
|
|
1114
1114
|
...t.value.color && e.value !== "iksig" ? {
|
|
1115
1115
|
"--ik-icon-deep-color": t.value.color,
|
|
1116
|
-
"--ik-icon-shallow-color": t.value.colorLight ||
|
|
1116
|
+
"--ik-icon-shallow-color": t.value.colorLight || ql.setOpacity(t.value.color, t.value.opacity)
|
|
1117
1117
|
} : {}
|
|
1118
1118
|
};
|
|
1119
1119
|
return t.value.width && (d.width = d.height = typeof t.value.width == "number" ? `${t.value.width}px` : t.value.width), d;
|
|
@@ -1169,15 +1169,15 @@ const Lc = {
|
|
|
1169
1169
|
null,
|
|
1170
1170
|
2
|
|
1171
1171
|
/* CLASS */
|
|
1172
|
-
)) : e.value === "svg" ? (E(), R("svg",
|
|
1172
|
+
)) : e.value === "svg" ? (E(), R("svg", Rc, [
|
|
1173
1173
|
S("use", {
|
|
1174
1174
|
"xlink:href": `#${t.value.name}`
|
|
1175
|
-
}, null, 8,
|
|
1175
|
+
}, null, 8, Dc)
|
|
1176
1176
|
])) : e.value === "img" ? (E(), R("img", {
|
|
1177
1177
|
key: 2,
|
|
1178
1178
|
src: t.value.name,
|
|
1179
1179
|
class: "h-[1em] w-[1em]"
|
|
1180
|
-
}, null, 8,
|
|
1180
|
+
}, null, 8, Oc)) : (E(), R(
|
|
1181
1181
|
"i",
|
|
1182
1182
|
{
|
|
1183
1183
|
key: 3,
|
|
@@ -1207,15 +1207,15 @@ const Lc = {
|
|
|
1207
1207
|
null,
|
|
1208
1208
|
2
|
|
1209
1209
|
/* CLASS */
|
|
1210
|
-
)) : e.value === "svg" ? (E(), R("svg",
|
|
1210
|
+
)) : e.value === "svg" ? (E(), R("svg", Mc, [
|
|
1211
1211
|
S("use", {
|
|
1212
1212
|
"xlink:href": `#${t.value.name}`
|
|
1213
|
-
}, null, 8,
|
|
1213
|
+
}, null, 8, Fc)
|
|
1214
1214
|
])) : e.value === "img" ? (E(), R("img", {
|
|
1215
1215
|
key: 2,
|
|
1216
1216
|
src: t.value.name,
|
|
1217
1217
|
class: "h-[1em] w-[1em]"
|
|
1218
|
-
}, null, 8,
|
|
1218
|
+
}, null, 8, Nc)) : (E(), R(
|
|
1219
1219
|
"i",
|
|
1220
1220
|
{
|
|
1221
1221
|
key: 3,
|
|
@@ -1251,7 +1251,7 @@ const Lc = {
|
|
|
1251
1251
|
);
|
|
1252
1252
|
};
|
|
1253
1253
|
}
|
|
1254
|
-
}),
|
|
1254
|
+
}), Hc = /* @__PURE__ */ Qr(Bc, [["__scopeId", "data-v-9ebb0a94"]]), tt = Ye(Hc), Uc = /* @__PURE__ */ ne({
|
|
1255
1255
|
__name: "CloseIcon",
|
|
1256
1256
|
props: {
|
|
1257
1257
|
showBg: {
|
|
@@ -1281,7 +1281,7 @@ const Lc = {
|
|
|
1281
1281
|
/* CLASS */
|
|
1282
1282
|
));
|
|
1283
1283
|
}
|
|
1284
|
-
}),
|
|
1284
|
+
}), jc = /* @__PURE__ */ Qr(Uc, [["__scopeId", "data-v-da9210e2"]]), zc = { class: "base-header" }, Vc = /* @__PURE__ */ ne({
|
|
1285
1285
|
__name: "IkBaseDialog",
|
|
1286
1286
|
props: /* @__PURE__ */ Lt({
|
|
1287
1287
|
title: { default: "" },
|
|
@@ -1305,7 +1305,7 @@ const Lc = {
|
|
|
1305
1305
|
setup(a) {
|
|
1306
1306
|
const s = a, r = Zr(a, "modelValue"), t = ve(s.fullscreen), e = ne({
|
|
1307
1307
|
setup() {
|
|
1308
|
-
return () => Ll(
|
|
1308
|
+
return () => Ll(jc, {
|
|
1309
1309
|
showBg: s.showCloseBg,
|
|
1310
1310
|
fullscreen: s.fullscreen
|
|
1311
1311
|
});
|
|
@@ -1334,7 +1334,7 @@ const Lc = {
|
|
|
1334
1334
|
])
|
|
1335
1335
|
]),
|
|
1336
1336
|
header: ae(() => [
|
|
1337
|
-
S("div",
|
|
1337
|
+
S("div", zc, [
|
|
1338
1338
|
We(i.$slots, "header", {}, () => [
|
|
1339
1339
|
zr(
|
|
1340
1340
|
Te(a.title),
|
|
@@ -1363,8 +1363,8 @@ const Lc = {
|
|
|
1363
1363
|
]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
|
|
1364
1364
|
};
|
|
1365
1365
|
}
|
|
1366
|
-
}), La = Ye(
|
|
1367
|
-
function
|
|
1366
|
+
}), La = Ye(Vc);
|
|
1367
|
+
function qc(a, s, r, t) {
|
|
1368
1368
|
function e(i) {
|
|
1369
1369
|
return i instanceof r ? i : new r(function(n) {
|
|
1370
1370
|
n(i);
|
|
@@ -1391,7 +1391,7 @@ function Vc(a, s, r, t) {
|
|
|
1391
1391
|
l((t = t.apply(a, [])).next());
|
|
1392
1392
|
});
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function Gc(a, s) {
|
|
1395
1395
|
var r = { label: 0, sent: function() {
|
|
1396
1396
|
if (i[0] & 1) throw i[1];
|
|
1397
1397
|
return i[1];
|
|
@@ -1451,9 +1451,9 @@ function qc(a, s) {
|
|
|
1451
1451
|
return { value: l[0] ? l[1] : void 0, done: !0 };
|
|
1452
1452
|
}
|
|
1453
1453
|
}
|
|
1454
|
-
var
|
|
1455
|
-
return
|
|
1456
|
-
return
|
|
1454
|
+
var Wc = function(a, s) {
|
|
1455
|
+
return qc(void 0, void 0, void 0, function() {
|
|
1456
|
+
return Gc(this, function(r) {
|
|
1457
1457
|
return [2, new Promise(function(t, e) {
|
|
1458
1458
|
try {
|
|
1459
1459
|
if (window.DocsAPI)
|
|
@@ -1487,11 +1487,11 @@ var Gc = function(a, s) {
|
|
|
1487
1487
|
e.removeAttribute("loading"), t(i);
|
|
1488
1488
|
}, e.setAttribute("loading", ""), e;
|
|
1489
1489
|
}, Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1490
|
-
function
|
|
1490
|
+
function Kc(a) {
|
|
1491
1491
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1492
1492
|
}
|
|
1493
1493
|
var xi, Da;
|
|
1494
|
-
function
|
|
1494
|
+
function $c() {
|
|
1495
1495
|
if (Da) return xi;
|
|
1496
1496
|
Da = 1;
|
|
1497
1497
|
function a() {
|
|
@@ -1522,7 +1522,7 @@ function di() {
|
|
|
1522
1522
|
return Pi = s, Pi;
|
|
1523
1523
|
}
|
|
1524
1524
|
var Ai, Fa;
|
|
1525
|
-
function
|
|
1525
|
+
function Yc() {
|
|
1526
1526
|
if (Fa) return Ai;
|
|
1527
1527
|
Fa = 1;
|
|
1528
1528
|
var a = di(), s = Array.prototype, r = s.splice;
|
|
@@ -1536,7 +1536,7 @@ function $c() {
|
|
|
1536
1536
|
return Ai = t, Ai;
|
|
1537
1537
|
}
|
|
1538
1538
|
var Li, Na;
|
|
1539
|
-
function
|
|
1539
|
+
function Xc() {
|
|
1540
1540
|
if (Na) return Li;
|
|
1541
1541
|
Na = 1;
|
|
1542
1542
|
var a = di();
|
|
@@ -1547,7 +1547,7 @@ function Yc() {
|
|
|
1547
1547
|
return Li = s, Li;
|
|
1548
1548
|
}
|
|
1549
1549
|
var Ri, Ba;
|
|
1550
|
-
function
|
|
1550
|
+
function Zc() {
|
|
1551
1551
|
if (Ba) return Ri;
|
|
1552
1552
|
Ba = 1;
|
|
1553
1553
|
var a = di();
|
|
@@ -1557,7 +1557,7 @@ function Xc() {
|
|
|
1557
1557
|
return Ri = s, Ri;
|
|
1558
1558
|
}
|
|
1559
1559
|
var Di, Ha;
|
|
1560
|
-
function
|
|
1560
|
+
function Jc() {
|
|
1561
1561
|
if (Ha) return Di;
|
|
1562
1562
|
Ha = 1;
|
|
1563
1563
|
var a = di();
|
|
@@ -1571,7 +1571,7 @@ var Oi, Ua;
|
|
|
1571
1571
|
function gi() {
|
|
1572
1572
|
if (Ua) return Oi;
|
|
1573
1573
|
Ua = 1;
|
|
1574
|
-
var a =
|
|
1574
|
+
var a = $c(), s = Yc(), r = Xc(), t = Zc(), e = Jc();
|
|
1575
1575
|
function i(n) {
|
|
1576
1576
|
var o = -1, u = n == null ? 0 : n.length;
|
|
1577
1577
|
for (this.clear(); ++o < u; ) {
|
|
@@ -1582,7 +1582,7 @@ function gi() {
|
|
|
1582
1582
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, Oi = i, Oi;
|
|
1583
1583
|
}
|
|
1584
1584
|
var Mi, ja;
|
|
1585
|
-
function
|
|
1585
|
+
function Qc() {
|
|
1586
1586
|
if (ja) return Mi;
|
|
1587
1587
|
ja = 1;
|
|
1588
1588
|
var a = gi();
|
|
@@ -1592,7 +1592,7 @@ function Jc() {
|
|
|
1592
1592
|
return Mi = s, Mi;
|
|
1593
1593
|
}
|
|
1594
1594
|
var Fi, za;
|
|
1595
|
-
function
|
|
1595
|
+
function ef() {
|
|
1596
1596
|
if (za) return Fi;
|
|
1597
1597
|
za = 1;
|
|
1598
1598
|
function a(s) {
|
|
@@ -1602,7 +1602,7 @@ function Qc() {
|
|
|
1602
1602
|
return Fi = a, Fi;
|
|
1603
1603
|
}
|
|
1604
1604
|
var Ni, Va;
|
|
1605
|
-
function
|
|
1605
|
+
function tf() {
|
|
1606
1606
|
if (Va) return Ni;
|
|
1607
1607
|
Va = 1;
|
|
1608
1608
|
function a(s) {
|
|
@@ -1611,7 +1611,7 @@ function ef() {
|
|
|
1611
1611
|
return Ni = a, Ni;
|
|
1612
1612
|
}
|
|
1613
1613
|
var Bi, qa;
|
|
1614
|
-
function
|
|
1614
|
+
function nf() {
|
|
1615
1615
|
if (qa) return Bi;
|
|
1616
1616
|
qa = 1;
|
|
1617
1617
|
function a(s) {
|
|
@@ -1641,7 +1641,7 @@ function ea() {
|
|
|
1641
1641
|
return ji = s, ji;
|
|
1642
1642
|
}
|
|
1643
1643
|
var zi, $a;
|
|
1644
|
-
function
|
|
1644
|
+
function rf() {
|
|
1645
1645
|
if ($a) return zi;
|
|
1646
1646
|
$a = 1;
|
|
1647
1647
|
var a = ea(), s = Object.prototype, r = s.hasOwnProperty, t = s.toString, e = a ? a.toStringTag : void 0;
|
|
@@ -1658,7 +1658,7 @@ function nf() {
|
|
|
1658
1658
|
return zi = i, zi;
|
|
1659
1659
|
}
|
|
1660
1660
|
var Vi, Ya;
|
|
1661
|
-
function
|
|
1661
|
+
function af() {
|
|
1662
1662
|
if (Ya) return Vi;
|
|
1663
1663
|
Ya = 1;
|
|
1664
1664
|
var a = Object.prototype, s = a.toString;
|
|
@@ -1671,7 +1671,7 @@ var qi, Xa;
|
|
|
1671
1671
|
function vi() {
|
|
1672
1672
|
if (Xa) return qi;
|
|
1673
1673
|
Xa = 1;
|
|
1674
|
-
var a = ea(), s =
|
|
1674
|
+
var a = ea(), s = rf(), r = af(), t = "[object Null]", e = "[object Undefined]", i = a ? a.toStringTag : void 0;
|
|
1675
1675
|
function n(o) {
|
|
1676
1676
|
return o == null ? o === void 0 ? e : t : i && i in Object(o) ? s(o) : r(o);
|
|
1677
1677
|
}
|
|
@@ -1701,17 +1701,17 @@ function Eu() {
|
|
|
1701
1701
|
return Wi = n, Wi;
|
|
1702
1702
|
}
|
|
1703
1703
|
var Ki, Qa;
|
|
1704
|
-
function
|
|
1704
|
+
function sf() {
|
|
1705
1705
|
if (Qa) return Ki;
|
|
1706
1706
|
Qa = 1;
|
|
1707
1707
|
var a = Ae(), s = a["__core-js_shared__"];
|
|
1708
1708
|
return Ki = s, Ki;
|
|
1709
1709
|
}
|
|
1710
1710
|
var $i, es;
|
|
1711
|
-
function
|
|
1711
|
+
function of() {
|
|
1712
1712
|
if (es) return $i;
|
|
1713
1713
|
es = 1;
|
|
1714
|
-
var a =
|
|
1714
|
+
var a = sf(), s = (function() {
|
|
1715
1715
|
var t = /[^.]+$/.exec(a && a.keys && a.keys.IE_PROTO || "");
|
|
1716
1716
|
return t ? "Symbol(src)_1." + t : "";
|
|
1717
1717
|
})();
|
|
@@ -1741,10 +1741,10 @@ function xu() {
|
|
|
1741
1741
|
return Yi = r, Yi;
|
|
1742
1742
|
}
|
|
1743
1743
|
var Xi, is;
|
|
1744
|
-
function
|
|
1744
|
+
function uf() {
|
|
1745
1745
|
if (is) return Xi;
|
|
1746
1746
|
is = 1;
|
|
1747
|
-
var a = Eu(), s =
|
|
1747
|
+
var a = Eu(), s = of(), r = Ot(), t = xu(), e = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, n = Function.prototype, o = Object.prototype, u = n.toString, l = o.hasOwnProperty, c = RegExp(
|
|
1748
1748
|
"^" + u.call(l).replace(e, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1749
1749
|
);
|
|
1750
1750
|
function f(d) {
|
|
@@ -1756,7 +1756,7 @@ function of() {
|
|
|
1756
1756
|
return Xi = f, Xi;
|
|
1757
1757
|
}
|
|
1758
1758
|
var Zi, ns;
|
|
1759
|
-
function
|
|
1759
|
+
function lf() {
|
|
1760
1760
|
if (ns) return Zi;
|
|
1761
1761
|
ns = 1;
|
|
1762
1762
|
function a(s, r) {
|
|
@@ -1768,7 +1768,7 @@ var Ji, rs;
|
|
|
1768
1768
|
function rt() {
|
|
1769
1769
|
if (rs) return Ji;
|
|
1770
1770
|
rs = 1;
|
|
1771
|
-
var a =
|
|
1771
|
+
var a = uf(), s = lf();
|
|
1772
1772
|
function r(t, e) {
|
|
1773
1773
|
var i = s(t, e);
|
|
1774
1774
|
return a(i) ? i : void 0;
|
|
@@ -1790,7 +1790,7 @@ function pi() {
|
|
|
1790
1790
|
return en = s, en;
|
|
1791
1791
|
}
|
|
1792
1792
|
var tn, os;
|
|
1793
|
-
function
|
|
1793
|
+
function cf() {
|
|
1794
1794
|
if (os) return tn;
|
|
1795
1795
|
os = 1;
|
|
1796
1796
|
var a = pi();
|
|
@@ -1800,7 +1800,7 @@ function lf() {
|
|
|
1800
1800
|
return tn = s, tn;
|
|
1801
1801
|
}
|
|
1802
1802
|
var nn, us;
|
|
1803
|
-
function
|
|
1803
|
+
function ff() {
|
|
1804
1804
|
if (us) return nn;
|
|
1805
1805
|
us = 1;
|
|
1806
1806
|
function a(s) {
|
|
@@ -1810,7 +1810,7 @@ function cf() {
|
|
|
1810
1810
|
return nn = a, nn;
|
|
1811
1811
|
}
|
|
1812
1812
|
var rn, ls;
|
|
1813
|
-
function
|
|
1813
|
+
function hf() {
|
|
1814
1814
|
if (ls) return rn;
|
|
1815
1815
|
ls = 1;
|
|
1816
1816
|
var a = pi(), s = "__lodash_hash_undefined__", r = Object.prototype, t = r.hasOwnProperty;
|
|
@@ -1825,7 +1825,7 @@ function ff() {
|
|
|
1825
1825
|
return rn = e, rn;
|
|
1826
1826
|
}
|
|
1827
1827
|
var an, cs;
|
|
1828
|
-
function
|
|
1828
|
+
function df() {
|
|
1829
1829
|
if (cs) return an;
|
|
1830
1830
|
cs = 1;
|
|
1831
1831
|
var a = pi(), s = Object.prototype, r = s.hasOwnProperty;
|
|
@@ -1836,7 +1836,7 @@ function hf() {
|
|
|
1836
1836
|
return an = t, an;
|
|
1837
1837
|
}
|
|
1838
1838
|
var sn, fs;
|
|
1839
|
-
function
|
|
1839
|
+
function gf() {
|
|
1840
1840
|
if (fs) return sn;
|
|
1841
1841
|
fs = 1;
|
|
1842
1842
|
var a = pi(), s = "__lodash_hash_undefined__";
|
|
@@ -1847,10 +1847,10 @@ function df() {
|
|
|
1847
1847
|
return sn = r, sn;
|
|
1848
1848
|
}
|
|
1849
1849
|
var on, hs;
|
|
1850
|
-
function
|
|
1850
|
+
function vf() {
|
|
1851
1851
|
if (hs) return on;
|
|
1852
1852
|
hs = 1;
|
|
1853
|
-
var a =
|
|
1853
|
+
var a = cf(), s = ff(), r = hf(), t = df(), e = gf();
|
|
1854
1854
|
function i(n) {
|
|
1855
1855
|
var o = -1, u = n == null ? 0 : n.length;
|
|
1856
1856
|
for (this.clear(); ++o < u; ) {
|
|
@@ -1861,10 +1861,10 @@ function gf() {
|
|
|
1861
1861
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, on = i, on;
|
|
1862
1862
|
}
|
|
1863
1863
|
var un, ds;
|
|
1864
|
-
function
|
|
1864
|
+
function pf() {
|
|
1865
1865
|
if (ds) return un;
|
|
1866
1866
|
ds = 1;
|
|
1867
|
-
var a =
|
|
1867
|
+
var a = vf(), s = gi(), r = ta();
|
|
1868
1868
|
function t() {
|
|
1869
1869
|
this.size = 0, this.__data__ = {
|
|
1870
1870
|
hash: new a(),
|
|
@@ -1875,7 +1875,7 @@ function vf() {
|
|
|
1875
1875
|
return un = t, un;
|
|
1876
1876
|
}
|
|
1877
1877
|
var ln, gs;
|
|
1878
|
-
function
|
|
1878
|
+
function mf() {
|
|
1879
1879
|
if (gs) return ln;
|
|
1880
1880
|
gs = 1;
|
|
1881
1881
|
function a(s) {
|
|
@@ -1888,7 +1888,7 @@ var cn, vs;
|
|
|
1888
1888
|
function mi() {
|
|
1889
1889
|
if (vs) return cn;
|
|
1890
1890
|
vs = 1;
|
|
1891
|
-
var a =
|
|
1891
|
+
var a = mf();
|
|
1892
1892
|
function s(r, t) {
|
|
1893
1893
|
var e = r.__data__;
|
|
1894
1894
|
return a(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
|
|
@@ -1896,7 +1896,7 @@ function mi() {
|
|
|
1896
1896
|
return cn = s, cn;
|
|
1897
1897
|
}
|
|
1898
1898
|
var fn, ps;
|
|
1899
|
-
function
|
|
1899
|
+
function yf() {
|
|
1900
1900
|
if (ps) return fn;
|
|
1901
1901
|
ps = 1;
|
|
1902
1902
|
var a = mi();
|
|
@@ -1907,7 +1907,7 @@ function mf() {
|
|
|
1907
1907
|
return fn = s, fn;
|
|
1908
1908
|
}
|
|
1909
1909
|
var hn, ms;
|
|
1910
|
-
function
|
|
1910
|
+
function _f() {
|
|
1911
1911
|
if (ms) return hn;
|
|
1912
1912
|
ms = 1;
|
|
1913
1913
|
var a = mi();
|
|
@@ -1917,7 +1917,7 @@ function yf() {
|
|
|
1917
1917
|
return hn = s, hn;
|
|
1918
1918
|
}
|
|
1919
1919
|
var dn, ys;
|
|
1920
|
-
function
|
|
1920
|
+
function bf() {
|
|
1921
1921
|
if (ys) return dn;
|
|
1922
1922
|
ys = 1;
|
|
1923
1923
|
var a = mi();
|
|
@@ -1927,7 +1927,7 @@ function _f() {
|
|
|
1927
1927
|
return dn = s, dn;
|
|
1928
1928
|
}
|
|
1929
1929
|
var gn, _s;
|
|
1930
|
-
function
|
|
1930
|
+
function Cf() {
|
|
1931
1931
|
if (_s) return gn;
|
|
1932
1932
|
_s = 1;
|
|
1933
1933
|
var a = mi();
|
|
@@ -1938,10 +1938,10 @@ function bf() {
|
|
|
1938
1938
|
return gn = s, gn;
|
|
1939
1939
|
}
|
|
1940
1940
|
var vn, bs;
|
|
1941
|
-
function
|
|
1941
|
+
function wf() {
|
|
1942
1942
|
if (bs) return vn;
|
|
1943
1943
|
bs = 1;
|
|
1944
|
-
var a =
|
|
1944
|
+
var a = pf(), s = yf(), r = _f(), t = bf(), e = Cf();
|
|
1945
1945
|
function i(n) {
|
|
1946
1946
|
var o = -1, u = n == null ? 0 : n.length;
|
|
1947
1947
|
for (this.clear(); ++o < u; ) {
|
|
@@ -1952,10 +1952,10 @@ function Cf() {
|
|
|
1952
1952
|
return i.prototype.clear = a, i.prototype.delete = s, i.prototype.get = r, i.prototype.has = t, i.prototype.set = e, vn = i, vn;
|
|
1953
1953
|
}
|
|
1954
1954
|
var pn, Cs;
|
|
1955
|
-
function
|
|
1955
|
+
function kf() {
|
|
1956
1956
|
if (Cs) return pn;
|
|
1957
1957
|
Cs = 1;
|
|
1958
|
-
var a = gi(), s = ta(), r =
|
|
1958
|
+
var a = gi(), s = ta(), r = wf(), t = 200;
|
|
1959
1959
|
function e(i, n) {
|
|
1960
1960
|
var o = this.__data__;
|
|
1961
1961
|
if (o instanceof a) {
|
|
@@ -1969,10 +1969,10 @@ function wf() {
|
|
|
1969
1969
|
return pn = e, pn;
|
|
1970
1970
|
}
|
|
1971
1971
|
var mn, ws;
|
|
1972
|
-
function
|
|
1972
|
+
function Tf() {
|
|
1973
1973
|
if (ws) return mn;
|
|
1974
1974
|
ws = 1;
|
|
1975
|
-
var a = gi(), s =
|
|
1975
|
+
var a = gi(), s = Qc(), r = ef(), t = tf(), e = nf(), i = kf();
|
|
1976
1976
|
function n(o) {
|
|
1977
1977
|
var u = this.__data__ = new a(o);
|
|
1978
1978
|
this.size = u.size;
|
|
@@ -1980,7 +1980,7 @@ function kf() {
|
|
|
1980
1980
|
return n.prototype.clear = s, n.prototype.delete = r, n.prototype.get = t, n.prototype.has = e, n.prototype.set = i, mn = n, mn;
|
|
1981
1981
|
}
|
|
1982
1982
|
var yn, ks;
|
|
1983
|
-
function
|
|
1983
|
+
function Sf() {
|
|
1984
1984
|
if (ks) return yn;
|
|
1985
1985
|
ks = 1;
|
|
1986
1986
|
function a(s, r) {
|
|
@@ -1991,7 +1991,7 @@ function Tf() {
|
|
|
1991
1991
|
return yn = a, yn;
|
|
1992
1992
|
}
|
|
1993
1993
|
var _n, Ts;
|
|
1994
|
-
function
|
|
1994
|
+
function Ef() {
|
|
1995
1995
|
if (Ts) return _n;
|
|
1996
1996
|
Ts = 1;
|
|
1997
1997
|
var a = rt(), s = (function() {
|
|
@@ -2007,7 +2007,7 @@ var bn, Ss;
|
|
|
2007
2007
|
function Iu() {
|
|
2008
2008
|
if (Ss) return bn;
|
|
2009
2009
|
Ss = 1;
|
|
2010
|
-
var a =
|
|
2010
|
+
var a = Ef();
|
|
2011
2011
|
function s(r, t, e) {
|
|
2012
2012
|
t == "__proto__" && a ? a(r, t, {
|
|
2013
2013
|
configurable: !0,
|
|
@@ -2046,7 +2046,7 @@ function yi() {
|
|
|
2046
2046
|
return wn = r, wn;
|
|
2047
2047
|
}
|
|
2048
2048
|
var kn, Is;
|
|
2049
|
-
function
|
|
2049
|
+
function xf() {
|
|
2050
2050
|
if (Is) return kn;
|
|
2051
2051
|
Is = 1;
|
|
2052
2052
|
function a(s, r) {
|
|
@@ -2066,7 +2066,7 @@ function Mt() {
|
|
|
2066
2066
|
return Tn = a, Tn;
|
|
2067
2067
|
}
|
|
2068
2068
|
var Sn, As;
|
|
2069
|
-
function
|
|
2069
|
+
function If() {
|
|
2070
2070
|
if (As) return Sn;
|
|
2071
2071
|
As = 1;
|
|
2072
2072
|
var a = vi(), s = Mt(), r = "[object Arguments]";
|
|
@@ -2076,10 +2076,10 @@ function xf() {
|
|
|
2076
2076
|
return Sn = t, Sn;
|
|
2077
2077
|
}
|
|
2078
2078
|
var En, Ls;
|
|
2079
|
-
function
|
|
2079
|
+
function Pf() {
|
|
2080
2080
|
if (Ls) return En;
|
|
2081
2081
|
Ls = 1;
|
|
2082
|
-
var a =
|
|
2082
|
+
var a = If(), s = Mt(), r = Object.prototype, t = r.hasOwnProperty, e = r.propertyIsEnumerable, i = a(/* @__PURE__ */ (function() {
|
|
2083
2083
|
return arguments;
|
|
2084
2084
|
})()) ? a : function(n) {
|
|
2085
2085
|
return s(n) && t.call(n, "callee") && !e.call(n, "callee");
|
|
@@ -2094,7 +2094,7 @@ function ia() {
|
|
|
2094
2094
|
return xn = a, xn;
|
|
2095
2095
|
}
|
|
2096
2096
|
var Et = { exports: {} }, In, Ds;
|
|
2097
|
-
function
|
|
2097
|
+
function Af() {
|
|
2098
2098
|
if (Ds) return In;
|
|
2099
2099
|
Ds = 1;
|
|
2100
2100
|
function a() {
|
|
@@ -2106,12 +2106,12 @@ Et.exports;
|
|
|
2106
2106
|
var Os;
|
|
2107
2107
|
function Au() {
|
|
2108
2108
|
return Os || (Os = 1, (function(a, s) {
|
|
2109
|
-
var r = Ae(), t =
|
|
2109
|
+
var r = Ae(), t = Af(), e = s && !s.nodeType && s, i = e && !0 && a && !a.nodeType && a, n = i && i.exports === e, o = n ? r.Buffer : void 0, u = o ? o.isBuffer : void 0, l = u || t;
|
|
2110
2110
|
a.exports = l;
|
|
2111
2111
|
})(Et, Et.exports)), Et.exports;
|
|
2112
2112
|
}
|
|
2113
2113
|
var Pn, Ms;
|
|
2114
|
-
function
|
|
2114
|
+
function Lf() {
|
|
2115
2115
|
if (Ms) return Pn;
|
|
2116
2116
|
Ms = 1;
|
|
2117
2117
|
var a = 9007199254740991, s = /^(?:0|[1-9]\d*)$/;
|
|
@@ -2132,7 +2132,7 @@ function Lu() {
|
|
|
2132
2132
|
return An = s, An;
|
|
2133
2133
|
}
|
|
2134
2134
|
var Ln, Ns;
|
|
2135
|
-
function
|
|
2135
|
+
function Rf() {
|
|
2136
2136
|
if (Ns) return Ln;
|
|
2137
2137
|
Ns = 1;
|
|
2138
2138
|
var a = vi(), s = Lu(), r = Mt(), 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 = {};
|
|
@@ -2169,17 +2169,17 @@ function ra() {
|
|
|
2169
2169
|
})(xt, xt.exports)), xt.exports;
|
|
2170
2170
|
}
|
|
2171
2171
|
var Dn, Us;
|
|
2172
|
-
function
|
|
2172
|
+
function Df() {
|
|
2173
2173
|
if (Us) return Dn;
|
|
2174
2174
|
Us = 1;
|
|
2175
|
-
var a =
|
|
2175
|
+
var a = Rf(), s = na(), r = ra(), t = r && r.isTypedArray, e = t ? s(t) : a;
|
|
2176
2176
|
return Dn = e, Dn;
|
|
2177
2177
|
}
|
|
2178
2178
|
var On, js;
|
|
2179
2179
|
function Ru() {
|
|
2180
2180
|
if (js) return On;
|
|
2181
2181
|
js = 1;
|
|
2182
|
-
var a =
|
|
2182
|
+
var a = xf(), s = Pf(), r = ia(), t = Au(), e = Lf(), i = Df(), n = Object.prototype, o = n.hasOwnProperty;
|
|
2183
2183
|
function u(l, c) {
|
|
2184
2184
|
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;
|
|
2185
2185
|
for (var b in l)
|
|
@@ -2215,17 +2215,17 @@ function Du() {
|
|
|
2215
2215
|
return Fn = a, Fn;
|
|
2216
2216
|
}
|
|
2217
2217
|
var Nn, qs;
|
|
2218
|
-
function
|
|
2218
|
+
function Of() {
|
|
2219
2219
|
if (qs) return Nn;
|
|
2220
2220
|
qs = 1;
|
|
2221
2221
|
var a = Du(), s = a(Object.keys, Object);
|
|
2222
2222
|
return Nn = s, Nn;
|
|
2223
2223
|
}
|
|
2224
2224
|
var Bn, Gs;
|
|
2225
|
-
function
|
|
2225
|
+
function Mf() {
|
|
2226
2226
|
if (Gs) return Bn;
|
|
2227
2227
|
Gs = 1;
|
|
2228
|
-
var a = aa(), s =
|
|
2228
|
+
var a = aa(), s = Of(), r = Object.prototype, t = r.hasOwnProperty;
|
|
2229
2229
|
function e(i) {
|
|
2230
2230
|
if (!a(i))
|
|
2231
2231
|
return s(i);
|
|
@@ -2250,14 +2250,14 @@ var Un, Ks;
|
|
|
2250
2250
|
function sa() {
|
|
2251
2251
|
if (Ks) return Un;
|
|
2252
2252
|
Ks = 1;
|
|
2253
|
-
var a = Ru(), s =
|
|
2253
|
+
var a = Ru(), s = Mf(), r = Ou();
|
|
2254
2254
|
function t(e) {
|
|
2255
2255
|
return r(e) ? a(e) : s(e);
|
|
2256
2256
|
}
|
|
2257
2257
|
return Un = t, Un;
|
|
2258
2258
|
}
|
|
2259
2259
|
var jn, $s;
|
|
2260
|
-
function
|
|
2260
|
+
function Ff() {
|
|
2261
2261
|
if ($s) return jn;
|
|
2262
2262
|
$s = 1;
|
|
2263
2263
|
var a = yi(), s = sa();
|
|
@@ -2267,7 +2267,7 @@ function Mf() {
|
|
|
2267
2267
|
return jn = r, jn;
|
|
2268
2268
|
}
|
|
2269
2269
|
var zn, Ys;
|
|
2270
|
-
function
|
|
2270
|
+
function Nf() {
|
|
2271
2271
|
if (Ys) return zn;
|
|
2272
2272
|
Ys = 1;
|
|
2273
2273
|
function a(s) {
|
|
@@ -2280,10 +2280,10 @@ function Ff() {
|
|
|
2280
2280
|
return zn = a, zn;
|
|
2281
2281
|
}
|
|
2282
2282
|
var Vn, Xs;
|
|
2283
|
-
function
|
|
2283
|
+
function Bf() {
|
|
2284
2284
|
if (Xs) return Vn;
|
|
2285
2285
|
Xs = 1;
|
|
2286
|
-
var a = Ot(), s = aa(), r =
|
|
2286
|
+
var a = Ot(), s = aa(), r = Nf(), t = Object.prototype, e = t.hasOwnProperty;
|
|
2287
2287
|
function i(n) {
|
|
2288
2288
|
if (!a(n))
|
|
2289
2289
|
return r(n);
|
|
@@ -2298,14 +2298,14 @@ var qn, Zs;
|
|
|
2298
2298
|
function oa() {
|
|
2299
2299
|
if (Zs) return qn;
|
|
2300
2300
|
Zs = 1;
|
|
2301
|
-
var a = Ru(), s =
|
|
2301
|
+
var a = Ru(), s = Bf(), r = Ou();
|
|
2302
2302
|
function t(e) {
|
|
2303
2303
|
return r(e) ? a(e, !0) : s(e);
|
|
2304
2304
|
}
|
|
2305
2305
|
return qn = t, qn;
|
|
2306
2306
|
}
|
|
2307
2307
|
var Gn, Js;
|
|
2308
|
-
function
|
|
2308
|
+
function Hf() {
|
|
2309
2309
|
if (Js) return Gn;
|
|
2310
2310
|
Js = 1;
|
|
2311
2311
|
var a = yi(), s = oa();
|
|
@@ -2317,7 +2317,7 @@ function Bf() {
|
|
|
2317
2317
|
var It = { exports: {} };
|
|
2318
2318
|
It.exports;
|
|
2319
2319
|
var Qs;
|
|
2320
|
-
function
|
|
2320
|
+
function Uf() {
|
|
2321
2321
|
return Qs || (Qs = 1, (function(a, s) {
|
|
2322
2322
|
var r = Ae(), t = s && !s.nodeType && s, e = t && !0 && a && !a.nodeType && a, i = e && e.exports === t, n = i ? r.Buffer : void 0, o = n ? n.allocUnsafe : void 0;
|
|
2323
2323
|
function u(l, c) {
|
|
@@ -2330,7 +2330,7 @@ function Hf() {
|
|
|
2330
2330
|
})(It, It.exports)), It.exports;
|
|
2331
2331
|
}
|
|
2332
2332
|
var Wn, eo;
|
|
2333
|
-
function
|
|
2333
|
+
function jf() {
|
|
2334
2334
|
if (eo) return Wn;
|
|
2335
2335
|
eo = 1;
|
|
2336
2336
|
function a(s, r) {
|
|
@@ -2342,7 +2342,7 @@ function Uf() {
|
|
|
2342
2342
|
return Wn = a, Wn;
|
|
2343
2343
|
}
|
|
2344
2344
|
var Kn, to;
|
|
2345
|
-
function
|
|
2345
|
+
function zf() {
|
|
2346
2346
|
if (to) return Kn;
|
|
2347
2347
|
to = 1;
|
|
2348
2348
|
function a(s, r) {
|
|
@@ -2367,7 +2367,7 @@ var Yn, no;
|
|
|
2367
2367
|
function ua() {
|
|
2368
2368
|
if (no) return Yn;
|
|
2369
2369
|
no = 1;
|
|
2370
|
-
var a =
|
|
2370
|
+
var a = zf(), s = Mu(), r = Object.prototype, t = r.propertyIsEnumerable, e = Object.getOwnPropertySymbols, i = e ? function(n) {
|
|
2371
2371
|
return n == null ? [] : (n = Object(n), a(e(n), function(o) {
|
|
2372
2372
|
return t.call(n, o);
|
|
2373
2373
|
}));
|
|
@@ -2375,7 +2375,7 @@ function ua() {
|
|
|
2375
2375
|
return Yn = i, Yn;
|
|
2376
2376
|
}
|
|
2377
2377
|
var Xn, ro;
|
|
2378
|
-
function
|
|
2378
|
+
function Vf() {
|
|
2379
2379
|
if (ro) return Xn;
|
|
2380
2380
|
ro = 1;
|
|
2381
2381
|
var a = yi(), s = ua();
|
|
@@ -2414,7 +2414,7 @@ function Bu() {
|
|
|
2414
2414
|
return Qn = i, Qn;
|
|
2415
2415
|
}
|
|
2416
2416
|
var er, uo;
|
|
2417
|
-
function
|
|
2417
|
+
function qf() {
|
|
2418
2418
|
if (uo) return er;
|
|
2419
2419
|
uo = 1;
|
|
2420
2420
|
var a = yi(), s = Bu();
|
|
@@ -2435,7 +2435,7 @@ function Hu() {
|
|
|
2435
2435
|
return tr = r, tr;
|
|
2436
2436
|
}
|
|
2437
2437
|
var ir, co;
|
|
2438
|
-
function
|
|
2438
|
+
function Gf() {
|
|
2439
2439
|
if (co) return ir;
|
|
2440
2440
|
co = 1;
|
|
2441
2441
|
var a = Hu(), s = ua(), r = sa();
|
|
@@ -2445,7 +2445,7 @@ function qf() {
|
|
|
2445
2445
|
return ir = t, ir;
|
|
2446
2446
|
}
|
|
2447
2447
|
var nr, fo;
|
|
2448
|
-
function
|
|
2448
|
+
function Wf() {
|
|
2449
2449
|
if (fo) return nr;
|
|
2450
2450
|
fo = 1;
|
|
2451
2451
|
var a = Hu(), s = Bu(), r = oa();
|
|
@@ -2455,28 +2455,28 @@ function Gf() {
|
|
|
2455
2455
|
return nr = t, nr;
|
|
2456
2456
|
}
|
|
2457
2457
|
var rr, ho;
|
|
2458
|
-
function
|
|
2458
|
+
function Kf() {
|
|
2459
2459
|
if (ho) return rr;
|
|
2460
2460
|
ho = 1;
|
|
2461
2461
|
var a = rt(), s = Ae(), r = a(s, "DataView");
|
|
2462
2462
|
return rr = r, rr;
|
|
2463
2463
|
}
|
|
2464
2464
|
var ar, go;
|
|
2465
|
-
function
|
|
2465
|
+
function $f() {
|
|
2466
2466
|
if (go) return ar;
|
|
2467
2467
|
go = 1;
|
|
2468
2468
|
var a = rt(), s = Ae(), r = a(s, "Promise");
|
|
2469
2469
|
return ar = r, ar;
|
|
2470
2470
|
}
|
|
2471
2471
|
var sr, vo;
|
|
2472
|
-
function
|
|
2472
|
+
function Yf() {
|
|
2473
2473
|
if (vo) return sr;
|
|
2474
2474
|
vo = 1;
|
|
2475
2475
|
var a = rt(), s = Ae(), r = a(s, "Set");
|
|
2476
2476
|
return sr = r, sr;
|
|
2477
2477
|
}
|
|
2478
2478
|
var or, po;
|
|
2479
|
-
function
|
|
2479
|
+
function Xf() {
|
|
2480
2480
|
if (po) return or;
|
|
2481
2481
|
po = 1;
|
|
2482
2482
|
var a = rt(), s = Ae(), r = a(s, "WeakMap");
|
|
@@ -2486,7 +2486,7 @@ var ur, mo;
|
|
|
2486
2486
|
function la() {
|
|
2487
2487
|
if (mo) return ur;
|
|
2488
2488
|
mo = 1;
|
|
2489
|
-
var a =
|
|
2489
|
+
var a = Kf(), s = ta(), r = $f(), t = Yf(), e = Xf(), i = vi(), n = xu(), 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;
|
|
2490
2490
|
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) {
|
|
2491
2491
|
var L = i(C), T = L == u ? C.constructor : void 0, I = T ? n(T) : "";
|
|
2492
2492
|
if (I)
|
|
@@ -2506,7 +2506,7 @@ function la() {
|
|
|
2506
2506
|
}), ur = b, ur;
|
|
2507
2507
|
}
|
|
2508
2508
|
var lr, yo;
|
|
2509
|
-
function
|
|
2509
|
+
function Zf() {
|
|
2510
2510
|
if (yo) return lr;
|
|
2511
2511
|
yo = 1;
|
|
2512
2512
|
var a = Object.prototype, s = a.hasOwnProperty;
|
|
@@ -2517,7 +2517,7 @@ function Xf() {
|
|
|
2517
2517
|
return lr = r, lr;
|
|
2518
2518
|
}
|
|
2519
2519
|
var cr, _o;
|
|
2520
|
-
function
|
|
2520
|
+
function Jf() {
|
|
2521
2521
|
if (_o) return cr;
|
|
2522
2522
|
_o = 1;
|
|
2523
2523
|
var a = Ae(), s = a.Uint8Array;
|
|
@@ -2527,7 +2527,7 @@ var fr, bo;
|
|
|
2527
2527
|
function ca() {
|
|
2528
2528
|
if (bo) return fr;
|
|
2529
2529
|
bo = 1;
|
|
2530
|
-
var a =
|
|
2530
|
+
var a = Jf();
|
|
2531
2531
|
function s(r) {
|
|
2532
2532
|
var t = new r.constructor(r.byteLength);
|
|
2533
2533
|
return new a(t).set(new a(r)), t;
|
|
@@ -2535,7 +2535,7 @@ function ca() {
|
|
|
2535
2535
|
return fr = s, fr;
|
|
2536
2536
|
}
|
|
2537
2537
|
var hr, Co;
|
|
2538
|
-
function
|
|
2538
|
+
function Qf() {
|
|
2539
2539
|
if (Co) return hr;
|
|
2540
2540
|
Co = 1;
|
|
2541
2541
|
var a = ca();
|
|
@@ -2546,7 +2546,7 @@ function Jf() {
|
|
|
2546
2546
|
return hr = s, hr;
|
|
2547
2547
|
}
|
|
2548
2548
|
var dr, wo;
|
|
2549
|
-
function
|
|
2549
|
+
function eh() {
|
|
2550
2550
|
if (wo) return dr;
|
|
2551
2551
|
wo = 1;
|
|
2552
2552
|
var a = /\w*$/;
|
|
@@ -2557,7 +2557,7 @@ function Qf() {
|
|
|
2557
2557
|
return dr = s, dr;
|
|
2558
2558
|
}
|
|
2559
2559
|
var gr, ko;
|
|
2560
|
-
function
|
|
2560
|
+
function th() {
|
|
2561
2561
|
if (ko) return gr;
|
|
2562
2562
|
ko = 1;
|
|
2563
2563
|
var a = ea(), s = a ? a.prototype : void 0, r = s ? s.valueOf : void 0;
|
|
@@ -2567,7 +2567,7 @@ function eh() {
|
|
|
2567
2567
|
return gr = t, gr;
|
|
2568
2568
|
}
|
|
2569
2569
|
var vr, To;
|
|
2570
|
-
function
|
|
2570
|
+
function ih() {
|
|
2571
2571
|
if (To) return vr;
|
|
2572
2572
|
To = 1;
|
|
2573
2573
|
var a = ca();
|
|
@@ -2578,10 +2578,10 @@ function th() {
|
|
|
2578
2578
|
return vr = s, vr;
|
|
2579
2579
|
}
|
|
2580
2580
|
var pr, So;
|
|
2581
|
-
function
|
|
2581
|
+
function nh() {
|
|
2582
2582
|
if (So) return pr;
|
|
2583
2583
|
So = 1;
|
|
2584
|
-
var a = ca(), s =
|
|
2584
|
+
var a = ca(), s = Qf(), r = eh(), t = th(), e = ih(), 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]";
|
|
2585
2585
|
function K(z, H, F) {
|
|
2586
2586
|
var re = z.constructor;
|
|
2587
2587
|
switch (H) {
|
|
@@ -2618,7 +2618,7 @@ function ih() {
|
|
|
2618
2618
|
return pr = K, pr;
|
|
2619
2619
|
}
|
|
2620
2620
|
var mr, Eo;
|
|
2621
|
-
function
|
|
2621
|
+
function rh() {
|
|
2622
2622
|
if (Eo) return mr;
|
|
2623
2623
|
Eo = 1;
|
|
2624
2624
|
var a = Ot(), s = Object.create, r = /* @__PURE__ */ (function() {
|
|
@@ -2637,17 +2637,17 @@ function nh() {
|
|
|
2637
2637
|
return mr = r, mr;
|
|
2638
2638
|
}
|
|
2639
2639
|
var yr, xo;
|
|
2640
|
-
function
|
|
2640
|
+
function ah() {
|
|
2641
2641
|
if (xo) return yr;
|
|
2642
2642
|
xo = 1;
|
|
2643
|
-
var a =
|
|
2643
|
+
var a = rh(), s = Nu(), r = aa();
|
|
2644
2644
|
function t(e) {
|
|
2645
2645
|
return typeof e.constructor == "function" && !r(e) ? a(s(e)) : {};
|
|
2646
2646
|
}
|
|
2647
2647
|
return yr = t, yr;
|
|
2648
2648
|
}
|
|
2649
2649
|
var _r, Io;
|
|
2650
|
-
function
|
|
2650
|
+
function sh() {
|
|
2651
2651
|
if (Io) return _r;
|
|
2652
2652
|
Io = 1;
|
|
2653
2653
|
var a = la(), s = Mt(), r = "[object Map]";
|
|
@@ -2657,14 +2657,14 @@ function ah() {
|
|
|
2657
2657
|
return _r = t, _r;
|
|
2658
2658
|
}
|
|
2659
2659
|
var br, Po;
|
|
2660
|
-
function
|
|
2660
|
+
function oh() {
|
|
2661
2661
|
if (Po) return br;
|
|
2662
2662
|
Po = 1;
|
|
2663
|
-
var a =
|
|
2663
|
+
var a = sh(), s = na(), r = ra(), t = r && r.isMap, e = t ? s(t) : a;
|
|
2664
2664
|
return br = e, br;
|
|
2665
2665
|
}
|
|
2666
2666
|
var Cr, Ao;
|
|
2667
|
-
function
|
|
2667
|
+
function uh() {
|
|
2668
2668
|
if (Ao) return Cr;
|
|
2669
2669
|
Ao = 1;
|
|
2670
2670
|
var a = la(), s = Mt(), r = "[object Set]";
|
|
@@ -2674,17 +2674,17 @@ function oh() {
|
|
|
2674
2674
|
return Cr = t, Cr;
|
|
2675
2675
|
}
|
|
2676
2676
|
var wr, Lo;
|
|
2677
|
-
function
|
|
2677
|
+
function lh() {
|
|
2678
2678
|
if (Lo) return wr;
|
|
2679
2679
|
Lo = 1;
|
|
2680
|
-
var a =
|
|
2680
|
+
var a = uh(), s = na(), r = ra(), t = r && r.isSet, e = t ? s(t) : a;
|
|
2681
2681
|
return wr = e, wr;
|
|
2682
2682
|
}
|
|
2683
2683
|
var kr, Ro;
|
|
2684
|
-
function
|
|
2684
|
+
function ch() {
|
|
2685
2685
|
if (Ro) return kr;
|
|
2686
2686
|
Ro = 1;
|
|
2687
|
-
var a =
|
|
2687
|
+
var a = Tf(), s = Sf(), r = Pu(), t = Ff(), e = Hf(), i = Uf(), n = jf(), o = Vf(), u = qf(), l = Gf(), c = Wf(), f = la(), d = Zf(), g = nh(), v = ah(), m = ia(), p = Au(), w = oh(), b = Ot(), C = lh(), L = sa(), T = oa(), I = 1, j = 2, K = 4, z = "[object Arguments]", H = "[object Array]", F = "[object Boolean]", re = "[object Date]", he = "[object Error]", Le = "[object Function]", Bt = "[object GeneratorFunction]", Ht = "[object Map]", Ct = "[object Number]", wt = "[object Object]", Ut = "[object RegExp]", Re = "[object Set]", N = "[object String]", G = "[object Symbol]", ie = "[object WeakMap]", de = "[object ArrayBuffer]", be = "[object DataView]", Ce = "[object Float32Array]", xe = "[object Float64Array]", Ze = "[object Int8Array]", jt = "[object Int16Array]", zt = "[object Int32Array]", kt = "[object Uint8Array]", Tl = "[object Uint8ClampedArray]", Sl = "[object Uint16Array]", El = "[object Uint32Array]", Z = {};
|
|
2688
2688
|
Z[z] = Z[H] = Z[de] = Z[be] = Z[F] = Z[re] = Z[Ce] = Z[xe] = Z[Ze] = Z[jt] = Z[zt] = Z[Ht] = Z[Ct] = Z[wt] = Z[Ut] = Z[Re] = Z[N] = Z[G] = Z[kt] = Z[Tl] = Z[Sl] = Z[El] = !0, Z[he] = Z[Le] = Z[ie] = !1;
|
|
2689
2689
|
function Vt($, ut, lt, xl, qt, He) {
|
|
2690
2690
|
var ce, Gt = ut & I, Wt = ut & j, Il = ut & K;
|
|
@@ -2726,16 +2726,16 @@ function lh() {
|
|
|
2726
2726
|
return kr = Vt, kr;
|
|
2727
2727
|
}
|
|
2728
2728
|
var Tr, Do;
|
|
2729
|
-
function
|
|
2729
|
+
function fh() {
|
|
2730
2730
|
if (Do) return Tr;
|
|
2731
2731
|
Do = 1;
|
|
2732
|
-
var a =
|
|
2732
|
+
var a = ch(), s = 1, r = 4;
|
|
2733
2733
|
function t(e) {
|
|
2734
2734
|
return a(e, s | r);
|
|
2735
2735
|
}
|
|
2736
2736
|
return Tr = t, Tr;
|
|
2737
2737
|
}
|
|
2738
|
-
var
|
|
2738
|
+
var hh = fh(), dh = /* @__PURE__ */ Kc(hh), fa = ne({
|
|
2739
2739
|
name: "DocumentEditor",
|
|
2740
2740
|
props: {
|
|
2741
2741
|
id: {
|
|
@@ -2795,7 +2795,7 @@ var fh = ch(), hh = /* @__PURE__ */ Wc(fh), fa = ne({
|
|
|
2795
2795
|
var a = this, s, r = this.documentServerUrl;
|
|
2796
2796
|
r.endsWith("/") || (r += "/");
|
|
2797
2797
|
var t = "".concat(r, "web-apps/apps/api/documents/api.js");
|
|
2798
|
-
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)),
|
|
2798
|
+
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)), Wc(t, "onlyoffice-api-script").then(function() {
|
|
2799
2799
|
return a.onLoad();
|
|
2800
2800
|
}).catch(function() {
|
|
2801
2801
|
a.onError(-2);
|
|
@@ -2844,7 +2844,7 @@ var fh = ch(), hh = /* @__PURE__ */ Wc(fh), fa = ne({
|
|
|
2844
2844
|
return;
|
|
2845
2845
|
}
|
|
2846
2846
|
!((s = window == null ? void 0 : window.DocEditor) === null || s === void 0) && s.instances || (window.DocEditor = { instances: {} });
|
|
2847
|
-
var t =
|
|
2847
|
+
var t = dh(this.config), e = {
|
|
2848
2848
|
documentType: this.documentType,
|
|
2849
2849
|
events: {
|
|
2850
2850
|
onAppReady: this.onAppReady,
|
|
@@ -2913,13 +2913,13 @@ var fh = ch(), hh = /* @__PURE__ */ Wc(fh), fa = ne({
|
|
|
2913
2913
|
}
|
|
2914
2914
|
}
|
|
2915
2915
|
});
|
|
2916
|
-
const
|
|
2917
|
-
function
|
|
2918
|
-
return E(), R("div", { id: a.id }, null, 8,
|
|
2916
|
+
const gh = ["id"];
|
|
2917
|
+
function vh(a, s, r, t, e, i) {
|
|
2918
|
+
return E(), R("div", { id: a.id }, null, 8, gh);
|
|
2919
2919
|
}
|
|
2920
|
-
fa.render =
|
|
2920
|
+
fa.render = vh;
|
|
2921
2921
|
fa.__file = "src/components/DocumentEditor.vue";
|
|
2922
|
-
const
|
|
2922
|
+
const ph = /* @__PURE__ */ ne({
|
|
2923
2923
|
__name: "IkOnlyOffice",
|
|
2924
2924
|
props: {
|
|
2925
2925
|
// 文件服务器的服务的地址
|
|
@@ -2966,39 +2966,39 @@ const vh = /* @__PURE__ */ ne({
|
|
|
2966
2966
|
/* STYLE */
|
|
2967
2967
|
));
|
|
2968
2968
|
}
|
|
2969
|
-
}),
|
|
2969
|
+
}), mh = Ye(ph);
|
|
2970
2970
|
var Oo;
|
|
2971
|
-
const Uu = typeof window < "u",
|
|
2971
|
+
const Uu = typeof window < "u", yh = (a) => typeof a == "string", _h = () => {
|
|
2972
2972
|
};
|
|
2973
2973
|
Uu && ((Oo = window == null ? void 0 : window.navigator) != null && Oo.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
2974
2974
|
function ju(a) {
|
|
2975
2975
|
return typeof a == "function" ? a() : x(a);
|
|
2976
2976
|
}
|
|
2977
|
-
function
|
|
2977
|
+
function bh(a) {
|
|
2978
2978
|
return a;
|
|
2979
2979
|
}
|
|
2980
|
-
function
|
|
2980
|
+
function Ch(a) {
|
|
2981
2981
|
return Dl() ? (Ol(a), !0) : !1;
|
|
2982
2982
|
}
|
|
2983
|
-
function
|
|
2983
|
+
function wh(a) {
|
|
2984
2984
|
var s;
|
|
2985
2985
|
const r = ju(a);
|
|
2986
2986
|
return (s = r == null ? void 0 : r.$el) != null ? s : r;
|
|
2987
2987
|
}
|
|
2988
|
-
const
|
|
2988
|
+
const kh = Uu ? window : void 0;
|
|
2989
2989
|
function $t(...a) {
|
|
2990
2990
|
let s, r, t, e;
|
|
2991
|
-
if (
|
|
2992
|
-
return
|
|
2991
|
+
if (yh(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, s = kh) : [s, r, t, e] = a, !s)
|
|
2992
|
+
return _h;
|
|
2993
2993
|
Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
|
|
2994
2994
|
const i = [], n = () => {
|
|
2995
2995
|
i.forEach((c) => c()), i.length = 0;
|
|
2996
|
-
}, o = (c, f, d, g) => (c.addEventListener(f, d, g), () => c.removeEventListener(f, d, g)), u = At(() => [
|
|
2996
|
+
}, o = (c, f, d, g) => (c.addEventListener(f, d, g), () => c.removeEventListener(f, d, g)), u = At(() => [wh(s), ju(e)], ([c, f]) => {
|
|
2997
2997
|
n(), c && i.push(...r.flatMap((d) => t.map((g) => o(c, d, g, f))));
|
|
2998
2998
|
}, { immediate: !0, flush: "post" }), l = () => {
|
|
2999
2999
|
u(), n();
|
|
3000
3000
|
};
|
|
3001
|
-
return
|
|
3001
|
+
return Ch(l), l;
|
|
3002
3002
|
}
|
|
3003
3003
|
const Mo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Fo = "__vueuse_ssr_handlers__";
|
|
3004
3004
|
Mo[Fo] = Mo[Fo] || {};
|
|
@@ -3006,15 +3006,15 @@ var No;
|
|
|
3006
3006
|
(function(a) {
|
|
3007
3007
|
a.UP = "UP", a.RIGHT = "RIGHT", a.DOWN = "DOWN", a.LEFT = "LEFT", a.NONE = "NONE";
|
|
3008
3008
|
})(No || (No = {}));
|
|
3009
|
-
var
|
|
3009
|
+
var Th = Object.defineProperty, Bo = Object.getOwnPropertySymbols, Sh = Object.prototype.hasOwnProperty, Eh = Object.prototype.propertyIsEnumerable, Ho = (a, s, r) => s in a ? Th(a, s, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[s] = r, xh = (a, s) => {
|
|
3010
3010
|
for (var r in s || (s = {}))
|
|
3011
|
-
|
|
3011
|
+
Sh.call(s, r) && Ho(a, r, s[r]);
|
|
3012
3012
|
if (Bo)
|
|
3013
3013
|
for (var r of Bo(s))
|
|
3014
|
-
|
|
3014
|
+
Eh.call(s, r) && Ho(a, r, s[r]);
|
|
3015
3015
|
return a;
|
|
3016
3016
|
};
|
|
3017
|
-
const
|
|
3017
|
+
const Ih = {
|
|
3018
3018
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
3019
3019
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
3020
3020
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -3040,10 +3040,10 @@ const xh = {
|
|
|
3040
3040
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
3041
3041
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
3042
3042
|
};
|
|
3043
|
-
|
|
3044
|
-
linear:
|
|
3045
|
-
},
|
|
3046
|
-
const
|
|
3043
|
+
xh({
|
|
3044
|
+
linear: bh
|
|
3045
|
+
}, Ih);
|
|
3046
|
+
const Ph = {
|
|
3047
3047
|
/**
|
|
3048
3048
|
* @description preview link list.
|
|
3049
3049
|
*/
|
|
@@ -3113,26 +3113,26 @@ const Ih = {
|
|
|
3113
3113
|
crossorigin: {
|
|
3114
3114
|
type: ["anonymous", "use-credentials", ""]
|
|
3115
3115
|
}
|
|
3116
|
-
},
|
|
3116
|
+
}, Ah = {
|
|
3117
3117
|
close: () => !0,
|
|
3118
3118
|
switch: (a) => Vr.isNumber(a),
|
|
3119
3119
|
rotate: (a) => Vr.isNumber(a)
|
|
3120
|
-
},
|
|
3120
|
+
}, Lh = ["src", "crossorigin"], Rh = /* @__PURE__ */ ne({
|
|
3121
3121
|
name: "ElImageViewer",
|
|
3122
3122
|
__name: "IkImageViewer",
|
|
3123
|
-
props:
|
|
3124
|
-
emits:
|
|
3123
|
+
props: Ph,
|
|
3124
|
+
emits: Ah,
|
|
3125
3125
|
setup(a, { expose: s, emit: r }) {
|
|
3126
3126
|
const t = (N) => Object.keys(N), e = {
|
|
3127
3127
|
CONTAIN: {
|
|
3128
3128
|
name: "contain",
|
|
3129
|
-
icon: xa(
|
|
3129
|
+
icon: xa(dc)
|
|
3130
3130
|
},
|
|
3131
3131
|
ORIGINAL: {
|
|
3132
3132
|
name: "original",
|
|
3133
|
-
icon: xa(
|
|
3133
|
+
icon: xa(_c)
|
|
3134
3134
|
}
|
|
3135
|
-
}, i = a, n = r, { t: o } =
|
|
3135
|
+
}, i = a, n = r, { t: o } = jl(), u = _u("image-viewer"), { nextZIndex: l } = zl(), c = ve(), f = ve([]), d = Ml(), g = ve(!0), v = ve(i.initialIndex), m = Fl(e.CONTAIN), p = ve({
|
|
3136
3136
|
scale: 1,
|
|
3137
3137
|
deg: 0,
|
|
3138
3138
|
offsetX: 0,
|
|
@@ -3351,7 +3351,7 @@ const Ih = {
|
|
|
3351
3351
|
[
|
|
3352
3352
|
Y(x(je), null, {
|
|
3353
3353
|
default: ae(() => [
|
|
3354
|
-
Y(x(
|
|
3354
|
+
Y(x(uc))
|
|
3355
3355
|
]),
|
|
3356
3356
|
_: 1
|
|
3357
3357
|
/* STABLE */
|
|
@@ -3369,7 +3369,7 @@ const Ih = {
|
|
|
3369
3369
|
[
|
|
3370
3370
|
Y(x(je), null, {
|
|
3371
3371
|
default: ae(() => [
|
|
3372
|
-
Y(x(
|
|
3372
|
+
Y(x(cc))
|
|
3373
3373
|
]),
|
|
3374
3374
|
_: 1
|
|
3375
3375
|
/* STABLE */
|
|
@@ -3399,7 +3399,7 @@ const Ih = {
|
|
|
3399
3399
|
onClick: G[1] || (G[1] = (ie) => Re("zoomOut"))
|
|
3400
3400
|
}, {
|
|
3401
3401
|
default: ae(() => [
|
|
3402
|
-
Y(x(
|
|
3402
|
+
Y(x(kc))
|
|
3403
3403
|
]),
|
|
3404
3404
|
_: 1
|
|
3405
3405
|
/* STABLE */
|
|
@@ -3408,7 +3408,7 @@ const Ih = {
|
|
|
3408
3408
|
onClick: G[2] || (G[2] = (ie) => Re("zoomIn"))
|
|
3409
3409
|
}, {
|
|
3410
3410
|
default: ae(() => [
|
|
3411
|
-
Y(x(
|
|
3411
|
+
Y(x(Cc))
|
|
3412
3412
|
]),
|
|
3413
3413
|
_: 1
|
|
3414
3414
|
/* STABLE */
|
|
@@ -3442,7 +3442,7 @@ const Ih = {
|
|
|
3442
3442
|
onClick: G[3] || (G[3] = (ie) => Re("anticlockwise"))
|
|
3443
3443
|
}, {
|
|
3444
3444
|
default: ae(() => [
|
|
3445
|
-
Y(x(
|
|
3445
|
+
Y(x(vc))
|
|
3446
3446
|
]),
|
|
3447
3447
|
_: 1
|
|
3448
3448
|
/* STABLE */
|
|
@@ -3451,7 +3451,7 @@ const Ih = {
|
|
|
3451
3451
|
onClick: G[4] || (G[4] = (ie) => Re("clockwise"))
|
|
3452
3452
|
}, {
|
|
3453
3453
|
default: ae(() => [
|
|
3454
|
-
Y(x(
|
|
3454
|
+
Y(x(mc))
|
|
3455
3455
|
]),
|
|
3456
3456
|
_: 1
|
|
3457
3457
|
/* STABLE */
|
|
@@ -3485,7 +3485,7 @@ const Ih = {
|
|
|
3485
3485
|
onLoad: re,
|
|
3486
3486
|
onError: he,
|
|
3487
3487
|
onMousedown: Le
|
|
3488
|
-
}, null, 46,
|
|
3488
|
+
}, null, 46, Lh)), [
|
|
3489
3489
|
[Ul, de === v.value]
|
|
3490
3490
|
])),
|
|
3491
3491
|
128
|
|
@@ -3506,8 +3506,8 @@ const Ih = {
|
|
|
3506
3506
|
})
|
|
3507
3507
|
]));
|
|
3508
3508
|
}
|
|
3509
|
-
}),
|
|
3510
|
-
function
|
|
3509
|
+
}), Dh = Ye(Rh);
|
|
3510
|
+
function Oh(a, s) {
|
|
3511
3511
|
var r = a == null ? null : typeof Symbol < "u" && a[Symbol.iterator] || a["@@iterator"];
|
|
3512
3512
|
if (r != null) {
|
|
3513
3513
|
var t, e, i, n, o = [], u = !0, l = !1;
|
|
@@ -3603,7 +3603,7 @@ function qr(a, s) {
|
|
|
3603
3603
|
return t.__proto__ = e, t;
|
|
3604
3604
|
}, qr(a, s);
|
|
3605
3605
|
}
|
|
3606
|
-
function
|
|
3606
|
+
function Mh() {
|
|
3607
3607
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
3608
3608
|
return !1;
|
|
3609
3609
|
if (typeof Proxy == "function")
|
|
@@ -3628,7 +3628,7 @@ function ha(a, s) {
|
|
|
3628
3628
|
return y(a);
|
|
3629
3629
|
}
|
|
3630
3630
|
function O(a) {
|
|
3631
|
-
var s =
|
|
3631
|
+
var s = Mh();
|
|
3632
3632
|
return function() {
|
|
3633
3633
|
var t = M(a), e;
|
|
3634
3634
|
if (s) {
|
|
@@ -3639,35 +3639,35 @@ function O(a) {
|
|
|
3639
3639
|
return ha(this, e);
|
|
3640
3640
|
};
|
|
3641
3641
|
}
|
|
3642
|
-
function
|
|
3642
|
+
function Fh(a, s) {
|
|
3643
3643
|
for (; !Object.prototype.hasOwnProperty.call(a, s) && (a = M(a), a !== null); )
|
|
3644
3644
|
;
|
|
3645
3645
|
return a;
|
|
3646
3646
|
}
|
|
3647
3647
|
function B() {
|
|
3648
3648
|
return typeof Reflect < "u" && Reflect.get ? B = Reflect.get.bind() : B = function(s, r, t) {
|
|
3649
|
-
var e =
|
|
3649
|
+
var e = Fh(s, r);
|
|
3650
3650
|
if (e) {
|
|
3651
3651
|
var i = Object.getOwnPropertyDescriptor(e, r);
|
|
3652
3652
|
return i.get ? i.get.call(arguments.length < 3 ? s : t) : i.value;
|
|
3653
3653
|
}
|
|
3654
3654
|
}, B.apply(this, arguments);
|
|
3655
3655
|
}
|
|
3656
|
-
function
|
|
3657
|
-
return
|
|
3656
|
+
function Nh(a, s) {
|
|
3657
|
+
return Hh(a) || Oh(a, s) || zu(a, s) || zh();
|
|
3658
3658
|
}
|
|
3659
3659
|
function Ee(a) {
|
|
3660
|
-
return
|
|
3660
|
+
return Bh(a) || Uh(a) || zu(a) || jh();
|
|
3661
3661
|
}
|
|
3662
|
-
function
|
|
3662
|
+
function Bh(a) {
|
|
3663
3663
|
if (Array.isArray(a))
|
|
3664
3664
|
return Gr(a);
|
|
3665
3665
|
}
|
|
3666
|
-
function
|
|
3666
|
+
function Hh(a) {
|
|
3667
3667
|
if (Array.isArray(a))
|
|
3668
3668
|
return a;
|
|
3669
3669
|
}
|
|
3670
|
-
function
|
|
3670
|
+
function Uh(a) {
|
|
3671
3671
|
if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
|
|
3672
3672
|
return Array.from(a);
|
|
3673
3673
|
}
|
|
@@ -3688,15 +3688,15 @@ function Gr(a, s) {
|
|
|
3688
3688
|
t[r] = a[r];
|
|
3689
3689
|
return t;
|
|
3690
3690
|
}
|
|
3691
|
-
function
|
|
3691
|
+
function jh() {
|
|
3692
3692
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3693
3693
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3694
3694
|
}
|
|
3695
|
-
function
|
|
3695
|
+
function zh() {
|
|
3696
3696
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3697
3697
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3698
3698
|
}
|
|
3699
|
-
function
|
|
3699
|
+
function Vh(a, s) {
|
|
3700
3700
|
if (typeof a != "object" || a === null)
|
|
3701
3701
|
return a;
|
|
3702
3702
|
var r = a[Symbol.toPrimitive];
|
|
@@ -3709,11 +3709,11 @@ function zh(a, s) {
|
|
|
3709
3709
|
return (s === "string" ? String : Number)(a);
|
|
3710
3710
|
}
|
|
3711
3711
|
function Vu(a) {
|
|
3712
|
-
var s =
|
|
3712
|
+
var s = Vh(a, "string");
|
|
3713
3713
|
return typeof s == "symbol" ? s : String(s);
|
|
3714
3714
|
}
|
|
3715
3715
|
var Sr = { exports: {} }, zo;
|
|
3716
|
-
function
|
|
3716
|
+
function qh() {
|
|
3717
3717
|
return zo || (zo = 1, (function(a) {
|
|
3718
3718
|
var s = Object.prototype.hasOwnProperty, r = "~";
|
|
3719
3719
|
function t() {
|
|
@@ -3819,15 +3819,15 @@ function Vh() {
|
|
|
3819
3819
|
}, o.prototype.off = o.prototype.removeListener, o.prototype.addListener = o.prototype.on, o.prefixed = r, o.EventEmitter = o, a.exports = o;
|
|
3820
3820
|
})(Sr)), Sr.exports;
|
|
3821
3821
|
}
|
|
3822
|
-
var qu =
|
|
3822
|
+
var qu = qh();
|
|
3823
3823
|
const Gu = /* @__PURE__ */ ku(qu);
|
|
3824
|
-
var
|
|
3824
|
+
var Gh = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Er = {
|
|
3825
3825
|
info: "color: #525252; background-color: #90ee90;",
|
|
3826
3826
|
error: "color: #525252; background-color: red;",
|
|
3827
3827
|
warn: "color: #525252; background-color: yellow; "
|
|
3828
3828
|
}, xr = "%c[xgplayer]", V = {
|
|
3829
3829
|
config: {
|
|
3830
|
-
debug:
|
|
3830
|
+
debug: Gh ? 3 : 0
|
|
3831
3831
|
},
|
|
3832
3832
|
logInfo: function(s) {
|
|
3833
3833
|
for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
|
|
@@ -3848,10 +3848,10 @@ var qh = typeof window < "u" && window.location && window.location.href.indexOf(
|
|
|
3848
3848
|
}
|
|
3849
3849
|
}
|
|
3850
3850
|
};
|
|
3851
|
-
function
|
|
3851
|
+
function Wh(a) {
|
|
3852
3852
|
a.logInfo = V.logInfo.bind(a), a.logWarn = V.logWarn.bind(a), a.logError = V.logError.bind(a);
|
|
3853
3853
|
}
|
|
3854
|
-
var
|
|
3854
|
+
var Kh = /* @__PURE__ */ (function() {
|
|
3855
3855
|
function a(s) {
|
|
3856
3856
|
P(this, a), this.bufferedList = s;
|
|
3857
3857
|
}
|
|
@@ -4096,7 +4096,7 @@ h.setStyleFromCsstext = function(a, s) {
|
|
|
4096
4096
|
a.style[t] = s[t];
|
|
4097
4097
|
});
|
|
4098
4098
|
};
|
|
4099
|
-
function
|
|
4099
|
+
function $h(a, s) {
|
|
4100
4100
|
for (var r = 0, t = s.length; r < t; r++)
|
|
4101
4101
|
if (a.indexOf(s[r]) > -1)
|
|
4102
4102
|
return !0;
|
|
@@ -4110,7 +4110,7 @@ h.filterStyleFromText = function(a) {
|
|
|
4110
4110
|
return t.map(function(n) {
|
|
4111
4111
|
if (n) {
|
|
4112
4112
|
var o = n.split(":");
|
|
4113
|
-
o.length > 1 && (
|
|
4113
|
+
o.length > 1 && ($h(o[0], s) ? e[o[0]] = o[1] : i[o[0]] = o[1]);
|
|
4114
4114
|
}
|
|
4115
4115
|
}), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
|
|
4116
4116
|
a.style[n] = i[n];
|
|
@@ -4175,7 +4175,7 @@ h.getBuffered2 = function(a) {
|
|
|
4175
4175
|
}
|
|
4176
4176
|
else
|
|
4177
4177
|
e = r;
|
|
4178
|
-
return new
|
|
4178
|
+
return new Kh(e);
|
|
4179
4179
|
};
|
|
4180
4180
|
h.getEventPos = function(a) {
|
|
4181
4181
|
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
@@ -4299,7 +4299,7 @@ function Wu(a) {
|
|
|
4299
4299
|
var s = ue(a);
|
|
4300
4300
|
return a !== null && (s === "object" || s === "function");
|
|
4301
4301
|
}
|
|
4302
|
-
function
|
|
4302
|
+
function Yh(a, s, r) {
|
|
4303
4303
|
var t, e, i, n, o, u, l = 0, c = !1, f = !1, d = !0, g = !s && s !== 0 && typeof window.requestAnimationFrame == "function";
|
|
4304
4304
|
if (typeof a != "function")
|
|
4305
4305
|
throw new TypeError("Expected a function");
|
|
@@ -4358,21 +4358,21 @@ function $h(a, s, r) {
|
|
|
4358
4358
|
}
|
|
4359
4359
|
return z.cancel = I, z.flush = j, z.pending = K, z;
|
|
4360
4360
|
}
|
|
4361
|
-
function
|
|
4361
|
+
function Xh(a, s, r) {
|
|
4362
4362
|
var t = !0, e = !0;
|
|
4363
4363
|
if (typeof a != "function")
|
|
4364
4364
|
throw new TypeError("Expected a function");
|
|
4365
|
-
return Wu(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e),
|
|
4365
|
+
return Wu(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Yh(a, s, {
|
|
4366
4366
|
leading: t,
|
|
4367
4367
|
trailing: e,
|
|
4368
4368
|
maxWait: s
|
|
4369
4369
|
});
|
|
4370
4370
|
}
|
|
4371
|
-
function
|
|
4371
|
+
function Zh() {
|
|
4372
4372
|
var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
|
|
4373
4373
|
return a === "zh-cn" && (a = "zh"), a;
|
|
4374
4374
|
}
|
|
4375
|
-
function
|
|
4375
|
+
function Jh(a, s, r) {
|
|
4376
4376
|
if (a) {
|
|
4377
4377
|
var t = a.getAttribute(r);
|
|
4378
4378
|
return !!(t && t === s && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
|
|
@@ -4382,7 +4382,7 @@ var Ir = {
|
|
|
4382
4382
|
android: /(Android)\s([\d.]+)/,
|
|
4383
4383
|
harmony: /(OpenHarmony|HarmonyOS)\s([\d.]+)/,
|
|
4384
4384
|
ios: /(Version)\/([\d.]+)/
|
|
4385
|
-
},
|
|
4385
|
+
}, Qh = ["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 = {
|
|
4386
4386
|
get device() {
|
|
4387
4387
|
var a = U.os;
|
|
4388
4388
|
return a.isPc ? "pc" : "mobile";
|
|
@@ -4448,7 +4448,7 @@ var Ir = {
|
|
|
4448
4448
|
if (this.supportResult)
|
|
4449
4449
|
return this.supportResult;
|
|
4450
4450
|
var r = document.createElement("video");
|
|
4451
|
-
return typeof r.canPlayType == "function" &&
|
|
4451
|
+
return typeof r.canPlayType == "function" && Qh.map(function(t) {
|
|
4452
4452
|
r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (s.isSupport = !0, s.mime += "||".concat(t));
|
|
4453
4453
|
}), this.supportResult = s, r = null, s;
|
|
4454
4454
|
},
|
|
@@ -4543,21 +4543,21 @@ var Ir = {
|
|
|
4543
4543
|
return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
|
|
4544
4544
|
}
|
|
4545
4545
|
}
|
|
4546
|
-
), _e = "play", _i = "playing", at = "ended", bt = "pause", Ft = "error", bi = "seeking", Fe = "seeked", ye = "timeupdate", Nt = "waiting", Me = "canplay",
|
|
4546
|
+
), _e = "play", _i = "playing", at = "ended", bt = "pause", Ft = "error", bi = "seeking", Fe = "seeked", ye = "timeupdate", Nt = "waiting", Me = "canplay", ed = "canplaythrough", Be = "durationchange", Ku = "volumechange", Ne = "loadeddata", td = "loadedmetadata", $u = "ratechange", Yu = "progress", da = "loadstart", st = "emptied", id = "stalled", nd = "suspend", rd = "abort", ad = "bufferedChange", ga = "focus", Xu = "blur", va = "ready", Zu = "urlNull", nt = "autoplay_started", pa = "autoplay_was_prevented", Ci = "complete", ni = "replay", ma = "destroy", wi = "urlchange", Kr = "download_speed_change", Ju = "leaveplayer", Qu = "enterplayer", el = "loading", Oe = "fullscreen_change", ri = "cssFullscreen_change", ai = "mini_state_change", ya = "definition_change", sd = "before_definition_change", $r = "after_definition_change", od = "SEI_PARSED", ud = "retry", Ke = "video_resize", Yr = "pip_change", tl = "rotate", il = "screenShot", si = "playnext", nl = "shortcut", rl = "xglog", oi = "user_action", ki = "reset", al = "source_error", sl = "source_success", ld = "switch_subtitle", ol = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], ul = {
|
|
4547
4547
|
STATS_INFO: "stats_info",
|
|
4548
4548
|
STATS_DOWNLOAD: "stats_download",
|
|
4549
4549
|
STATS_RESET: "stats_reset"
|
|
4550
4550
|
}, ll = "fps_stuck";
|
|
4551
|
-
const
|
|
4551
|
+
const cd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4552
4552
|
__proto__: null,
|
|
4553
|
-
ABORT:
|
|
4553
|
+
ABORT: rd,
|
|
4554
4554
|
AFTER_DEFINITION_CHANGE: $r,
|
|
4555
4555
|
AUTOPLAY_PREVENTED: pa,
|
|
4556
4556
|
AUTOPLAY_STARTED: nt,
|
|
4557
|
-
BEFORE_DEFINITION_CHANGE:
|
|
4558
|
-
BUFFER_CHANGE:
|
|
4557
|
+
BEFORE_DEFINITION_CHANGE: sd,
|
|
4558
|
+
BUFFER_CHANGE: ad,
|
|
4559
4559
|
CANPLAY: Me,
|
|
4560
|
-
CANPLAY_THROUGH:
|
|
4560
|
+
CANPLAY_THROUGH: ed,
|
|
4561
4561
|
COMPLETE: Ci,
|
|
4562
4562
|
CSS_FULLSCREEN_CHANGE: ri,
|
|
4563
4563
|
DEFINITION_CHANGE: ya,
|
|
@@ -4572,7 +4572,7 @@ const ld = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4572
4572
|
FULLSCREEN_CHANGE: Oe,
|
|
4573
4573
|
LEAVE_PLAYER: Ju,
|
|
4574
4574
|
LOADED_DATA: Ne,
|
|
4575
|
-
LOADED_METADATA:
|
|
4575
|
+
LOADED_METADATA: td,
|
|
4576
4576
|
LOADING: el,
|
|
4577
4577
|
LOAD_START: da,
|
|
4578
4578
|
MINI_STATE_CHANGE: ai,
|
|
@@ -4588,19 +4588,19 @@ const ld = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4588
4588
|
READY: va,
|
|
4589
4589
|
REPLAY: ni,
|
|
4590
4590
|
RESET: ki,
|
|
4591
|
-
RETRY:
|
|
4591
|
+
RETRY: ud,
|
|
4592
4592
|
ROTATE: tl,
|
|
4593
4593
|
SCREEN_SHOT: il,
|
|
4594
4594
|
SEEKED: Fe,
|
|
4595
4595
|
SEEKING: bi,
|
|
4596
|
-
SEI_PARSED:
|
|
4596
|
+
SEI_PARSED: od,
|
|
4597
4597
|
SHORTCUT: nl,
|
|
4598
4598
|
SOURCE_ERROR: al,
|
|
4599
4599
|
SOURCE_SUCCESS: sl,
|
|
4600
|
-
STALLED:
|
|
4600
|
+
STALLED: id,
|
|
4601
4601
|
STATS_EVENTS: ul,
|
|
4602
|
-
SUSPEND:
|
|
4603
|
-
SWITCH_SUBTITLE:
|
|
4602
|
+
SUSPEND: nd,
|
|
4603
|
+
SWITCH_SUBTITLE: ld,
|
|
4604
4604
|
TIME_UPDATE: ye,
|
|
4605
4605
|
URL_CHANGE: wi,
|
|
4606
4606
|
URL_NULL: Zu,
|
|
@@ -4614,7 +4614,7 @@ const ld = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4614
4614
|
function Pr(a, s) {
|
|
4615
4615
|
!this || !this.emit || (a === "error" ? this.errorHandler(a, s.error) : this.emit(a, s));
|
|
4616
4616
|
}
|
|
4617
|
-
function
|
|
4617
|
+
function fd(a, s) {
|
|
4618
4618
|
return function(r, t) {
|
|
4619
4619
|
var e = {
|
|
4620
4620
|
player: s,
|
|
@@ -4649,7 +4649,7 @@ function cd(a, s) {
|
|
|
4649
4649
|
Pr.call(s, a, e);
|
|
4650
4650
|
};
|
|
4651
4651
|
}
|
|
4652
|
-
var
|
|
4652
|
+
var hd = /* @__PURE__ */ (function(a) {
|
|
4653
4653
|
D(r, a);
|
|
4654
4654
|
var s = O(r);
|
|
4655
4655
|
function r(t) {
|
|
@@ -4693,7 +4693,7 @@ var fd = /* @__PURE__ */ (function(a) {
|
|
|
4693
4693
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
|
|
4694
4694
|
this._evHandlers || (this._evHandlers = ol.map(function(n) {
|
|
4695
4695
|
var o = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
|
|
4696
|
-
return typeof e[o] == "function" && e.on(n, e[o]), _({}, n,
|
|
4696
|
+
return typeof e[o] == "function" && e.on(n, e[o]), _({}, n, fd(n, e));
|
|
4697
4697
|
})), this._evHandlers.forEach(function(n) {
|
|
4698
4698
|
var o = Object.keys(n)[0];
|
|
4699
4699
|
i.addEventListener(o, n[o], !1);
|
|
@@ -5067,7 +5067,7 @@ var fd = /* @__PURE__ */ (function(a) {
|
|
|
5067
5067
|
B(M(r.prototype), "removeAllListeners", this).call(this);
|
|
5068
5068
|
}
|
|
5069
5069
|
}]), r;
|
|
5070
|
-
})(Gu),
|
|
5070
|
+
})(Gu), dd = /* @__PURE__ */ (function() {
|
|
5071
5071
|
function a() {
|
|
5072
5072
|
var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
5073
5073
|
name: "xgplayer",
|
|
@@ -5463,7 +5463,7 @@ var $e = /* @__PURE__ */ (function() {
|
|
|
5463
5463
|
}
|
|
5464
5464
|
}]), a;
|
|
5465
5465
|
})(), Lr, Xo;
|
|
5466
|
-
function
|
|
5466
|
+
function gd() {
|
|
5467
5467
|
if (Xo) return Lr;
|
|
5468
5468
|
Xo = 1;
|
|
5469
5469
|
var a = 9;
|
|
@@ -5481,10 +5481,10 @@ function dd() {
|
|
|
5481
5481
|
return Lr = r, Lr;
|
|
5482
5482
|
}
|
|
5483
5483
|
var Rr, Zo;
|
|
5484
|
-
function
|
|
5484
|
+
function vd() {
|
|
5485
5485
|
if (Zo) return Rr;
|
|
5486
5486
|
Zo = 1;
|
|
5487
|
-
var a =
|
|
5487
|
+
var a = gd();
|
|
5488
5488
|
function s(e, i, n, o, u) {
|
|
5489
5489
|
var l = t.apply(this, arguments);
|
|
5490
5490
|
return e.addEventListener(n, l, u), {
|
|
@@ -5505,9 +5505,9 @@ function gd() {
|
|
|
5505
5505
|
}
|
|
5506
5506
|
return Rr = r, Rr;
|
|
5507
5507
|
}
|
|
5508
|
-
var
|
|
5509
|
-
const Jo = /* @__PURE__ */ ku(
|
|
5510
|
-
var
|
|
5508
|
+
var pd = vd();
|
|
5509
|
+
const Jo = /* @__PURE__ */ ku(pd);
|
|
5510
|
+
var md = {
|
|
5511
5511
|
CONTROLS: "controls",
|
|
5512
5512
|
ROOT: "root"
|
|
5513
5513
|
}, J = {
|
|
@@ -5526,10 +5526,10 @@ var pd = {
|
|
|
5526
5526
|
function Dr(a) {
|
|
5527
5527
|
return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
|
|
5528
5528
|
}
|
|
5529
|
-
function
|
|
5529
|
+
function yd(a, s) {
|
|
5530
5530
|
return ue(a) === "object" && a.class && typeof a.class == "string" ? "".concat(s, " ").concat(a.class) : s;
|
|
5531
5531
|
}
|
|
5532
|
-
function
|
|
5532
|
+
function _d(a, s) {
|
|
5533
5533
|
return ue(a) === "object" && a.attr && ue(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
|
|
5534
5534
|
s[r] = a.attr[r];
|
|
5535
5535
|
}), s;
|
|
@@ -5552,14 +5552,14 @@ function eu(a, s) {
|
|
|
5552
5552
|
}
|
|
5553
5553
|
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);
|
|
5554
5554
|
}
|
|
5555
|
-
function
|
|
5555
|
+
function bd(a, s) {
|
|
5556
5556
|
var r = s.config.icons || s.playerConfig.icons;
|
|
5557
5557
|
Object.keys(a).map(function(t) {
|
|
5558
5558
|
var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, o = null;
|
|
5559
|
-
r && r[t] && (i =
|
|
5559
|
+
r && r[t] && (i = yd(r[t], i), n = _d(r[t], n), o = eu(r[t], t, i, n, s.pluginName)), !o && e && (o = eu(e.icon ? e.icon : e, n, i, {}, s.pluginName)), s.icons[t] = o;
|
|
5560
5560
|
});
|
|
5561
5561
|
}
|
|
5562
|
-
function
|
|
5562
|
+
function Cd(a, s) {
|
|
5563
5563
|
Object.keys(a).map(function(r) {
|
|
5564
5564
|
Object.defineProperty(s.langText, r, {
|
|
5565
5565
|
get: function() {
|
|
@@ -5583,9 +5583,9 @@ var W = /* @__PURE__ */ (function(a) {
|
|
|
5583
5583
|
var i = e.root, n = null;
|
|
5584
5584
|
this.icons = {}, this.root = null, this.parent = null, this.extraEls = [];
|
|
5585
5585
|
var o = this.registerIcons() || {};
|
|
5586
|
-
|
|
5586
|
+
bd(o, this), this.langText = {};
|
|
5587
5587
|
var u = this.registerLanguageTexts() || {};
|
|
5588
|
-
|
|
5588
|
+
Cd(u, this);
|
|
5589
5589
|
var l = "";
|
|
5590
5590
|
try {
|
|
5591
5591
|
l = this.render();
|
|
@@ -5853,7 +5853,7 @@ var W = /* @__PURE__ */ (function(a) {
|
|
|
5853
5853
|
}, {
|
|
5854
5854
|
key: "ROOT_TYPES",
|
|
5855
5855
|
get: function() {
|
|
5856
|
-
return
|
|
5856
|
+
return md;
|
|
5857
5857
|
}
|
|
5858
5858
|
}, {
|
|
5859
5859
|
key: "POSITIONS",
|
|
@@ -5861,7 +5861,7 @@ var W = /* @__PURE__ */ (function(a) {
|
|
|
5861
5861
|
return J;
|
|
5862
5862
|
}
|
|
5863
5863
|
}]), r;
|
|
5864
|
-
})($e),
|
|
5864
|
+
})($e), wd = /* @__PURE__ */ (function() {
|
|
5865
5865
|
function a() {
|
|
5866
5866
|
var s = this;
|
|
5867
5867
|
if (P(this, a), _(this, "__trigger", function(r) {
|
|
@@ -5871,7 +5871,7 @@ var W = /* @__PURE__ */ (function(a) {
|
|
|
5871
5871
|
s.__runHandler(r[e].target);
|
|
5872
5872
|
}), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
|
|
5873
5873
|
try {
|
|
5874
|
-
this.observer = new window.ResizeObserver(
|
|
5874
|
+
this.observer = new window.ResizeObserver(Xh(this.__trigger, 100, {
|
|
5875
5875
|
trailing: !0
|
|
5876
5876
|
})), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
|
|
5877
5877
|
} catch (r) {
|
|
@@ -5928,10 +5928,10 @@ var W = /* @__PURE__ */ (function(a) {
|
|
|
5928
5928
|
}
|
|
5929
5929
|
}]), a;
|
|
5930
5930
|
})(), Pt = null;
|
|
5931
|
-
function wd(a, s) {
|
|
5932
|
-
return Pt || (Pt = new Cd()), Pt.addObserver(a, s), Pt;
|
|
5933
|
-
}
|
|
5934
5931
|
function kd(a, s) {
|
|
5932
|
+
return Pt || (Pt = new wd()), Pt.addObserver(a, s), Pt;
|
|
5933
|
+
}
|
|
5934
|
+
function Td(a, s) {
|
|
5935
5935
|
var r;
|
|
5936
5936
|
(r = Pt) === null || r === void 0 || r.unObserver(a, s);
|
|
5937
5937
|
}
|
|
@@ -5939,7 +5939,7 @@ var oe = {
|
|
|
5939
5939
|
pluginGroup: {},
|
|
5940
5940
|
init: function(s) {
|
|
5941
5941
|
var r = s._pluginInfoId;
|
|
5942
|
-
r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver &&
|
|
5942
|
+
r || (r = (/* @__PURE__ */ new Date()).getTime(), s._pluginInfoId = r), !s.config.closeResizeObserver && kd(s.root, function() {
|
|
5943
5943
|
s.resize();
|
|
5944
5944
|
}), this.pluginGroup[r] = {
|
|
5945
5945
|
_originalOptions: s.config || {},
|
|
@@ -6125,7 +6125,7 @@ var oe = {
|
|
|
6125
6125
|
destroy: function(s) {
|
|
6126
6126
|
var r = s._pluginInfoId;
|
|
6127
6127
|
if (this.pluginGroup[r]) {
|
|
6128
|
-
|
|
6128
|
+
Td(s.root);
|
|
6129
6129
|
for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
|
|
6130
6130
|
var n = i[e];
|
|
6131
6131
|
this.unRegister(r, n);
|
|
@@ -6211,7 +6211,7 @@ function tu() {
|
|
|
6211
6211
|
ignores: [],
|
|
6212
6212
|
whitelist: [],
|
|
6213
6213
|
inactive: 3e3,
|
|
6214
|
-
lang:
|
|
6214
|
+
lang: Zh(),
|
|
6215
6215
|
controls: !0,
|
|
6216
6216
|
marginControls: !1,
|
|
6217
6217
|
fullscreenTarget: null,
|
|
@@ -6247,7 +6247,7 @@ function tu() {
|
|
|
6247
6247
|
}
|
|
6248
6248
|
};
|
|
6249
6249
|
}
|
|
6250
|
-
var
|
|
6250
|
+
var Sd = function(s, r) {
|
|
6251
6251
|
var t, e, i;
|
|
6252
6252
|
r.preset && r.options ? i = new r.preset(r.options, s.config) : i = new r({}, s.config);
|
|
6253
6253
|
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;
|
|
@@ -6256,7 +6256,7 @@ var Td = function(s, r) {
|
|
|
6256
6256
|
});
|
|
6257
6257
|
var m = s.config.i18n || [];
|
|
6258
6258
|
v.push.apply(v, Ee(m)), s.config.i18n = v;
|
|
6259
|
-
},
|
|
6259
|
+
}, Ed = /* @__PURE__ */ (function(a) {
|
|
6260
6260
|
D(r, a);
|
|
6261
6261
|
var s = O(r);
|
|
6262
6262
|
function r() {
|
|
@@ -6417,7 +6417,7 @@ var Td = function(s, r) {
|
|
|
6417
6417
|
};
|
|
6418
6418
|
}
|
|
6419
6419
|
}]), r;
|
|
6420
|
-
})(W),
|
|
6420
|
+
})(W), xd = {
|
|
6421
6421
|
LANG: "en",
|
|
6422
6422
|
TEXT: {
|
|
6423
6423
|
ERROR_TYPES: {
|
|
@@ -6512,7 +6512,7 @@ function dl() {
|
|
|
6512
6512
|
me.textKeys[a] = a;
|
|
6513
6513
|
});
|
|
6514
6514
|
}
|
|
6515
|
-
function
|
|
6515
|
+
function Id(a, s) {
|
|
6516
6516
|
var r = [];
|
|
6517
6517
|
if (s || (s = me), !!s.lang) {
|
|
6518
6518
|
h.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
|
|
@@ -6535,7 +6535,7 @@ function _a(a, s) {
|
|
|
6535
6535
|
r === "zh" && (r = "zh-cn"), s.lang[r] ? Dt(s.lang[r], t) : (s.langKeys.push(r), s.lang[r] = t), dl();
|
|
6536
6536
|
}
|
|
6537
6537
|
}
|
|
6538
|
-
function
|
|
6538
|
+
function Pd(a) {
|
|
6539
6539
|
var s, r = {
|
|
6540
6540
|
lang: {},
|
|
6541
6541
|
langKeys: [],
|
|
@@ -6544,7 +6544,7 @@ function Id(a) {
|
|
|
6544
6544
|
};
|
|
6545
6545
|
return Dt(r.lang, me.lang), (s = r.langKeys).push.apply(s, Ee(me.langKeys)), Dt(r.textKeys, me.textKeys), r;
|
|
6546
6546
|
}
|
|
6547
|
-
_a(
|
|
6547
|
+
_a(xd);
|
|
6548
6548
|
var _t = {
|
|
6549
6549
|
get textKeys() {
|
|
6550
6550
|
return me.textKeys;
|
|
@@ -6558,9 +6558,9 @@ var _t = {
|
|
|
6558
6558
|
a[s] = me.lang[s];
|
|
6559
6559
|
}), me.lang["zh-cn"] && (a.zh = me.lang["zh-cn"] || {}), a;
|
|
6560
6560
|
},
|
|
6561
|
-
extend:
|
|
6561
|
+
extend: Id,
|
|
6562
6562
|
use: _a,
|
|
6563
|
-
init:
|
|
6563
|
+
init: Pd
|
|
6564
6564
|
}, q = {
|
|
6565
6565
|
INITIAL: 1,
|
|
6566
6566
|
READY: 2,
|
|
@@ -6656,7 +6656,7 @@ var _t = {
|
|
|
6656
6656
|
}
|
|
6657
6657
|
}]), r;
|
|
6658
6658
|
})(qu.EventEmitter);
|
|
6659
|
-
function
|
|
6659
|
+
function Ad(a) {
|
|
6660
6660
|
for (var s = Object.keys(fe), r = 0; r < s.length; r++) {
|
|
6661
6661
|
var t = fe[s[r]];
|
|
6662
6662
|
if (t.root === a)
|
|
@@ -6664,7 +6664,7 @@ function Pd(a) {
|
|
|
6664
6664
|
}
|
|
6665
6665
|
return null;
|
|
6666
6666
|
}
|
|
6667
|
-
var
|
|
6667
|
+
var Ld = ["play", "pause", "replay", "retry"], nu = 0, ru = 0, ze = null, Ti = /* @__PURE__ */ (function(a) {
|
|
6668
6668
|
D(r, a);
|
|
6669
6669
|
var s = O(r);
|
|
6670
6670
|
function r(t) {
|
|
@@ -6694,7 +6694,7 @@ var Ad = ["play", "pause", "replay", "retry"], nu = 0, ru = 0, ze = null, Ti = /
|
|
|
6694
6694
|
to: !1
|
|
6695
6695
|
}]
|
|
6696
6696
|
});
|
|
6697
|
-
var L =
|
|
6697
|
+
var L = Jh(C, n.playerId, Ge);
|
|
6698
6698
|
if (w || C && (C === n._fullscreenEl || L))
|
|
6699
6699
|
b(), !n.config.closeFocusVideoFocus && n.media.focus(), n.fullscreen = !0, n.changeFullStyle(n.root, C, k.FULLSCREEN), n.emit(Oe, !0, n._fullScreenOffset), n.cssfullscreen && n.exitCssFullscreen();
|
|
6700
6700
|
else if (n.fullscreen) {
|
|
@@ -6714,7 +6714,7 @@ var Ad = ["play", "pause", "replay", "retry"], nu = 0, ru = 0, ze = null, Ti = /
|
|
|
6714
6714
|
n._fullscreenEl = n.media, n.onFullscreenChange(p, !0);
|
|
6715
6715
|
}), _(y(n), "_onWebkitendfullscreen", function(p) {
|
|
6716
6716
|
n.onFullscreenChange(p, !1);
|
|
6717
|
-
}), fl(y(n),
|
|
6717
|
+
}), fl(y(n), Ld), n.config = o, n._pluginInfoId = h.generateSessionId(), Wh(y(n));
|
|
6718
6718
|
var u = n.constructor.defaultPreset;
|
|
6719
6719
|
if (n.config.presets.length) {
|
|
6720
6720
|
var l = n.config.presets.indexOf("default");
|
|
@@ -6742,7 +6742,7 @@ var Ad = ["play", "pause", "replay", "retry"], nu = 0, ru = 0, ze = null, Ti = /
|
|
|
6742
6742
|
}, n._offsetInfo = {
|
|
6743
6743
|
currentTime: -1,
|
|
6744
6744
|
duration: 0
|
|
6745
|
-
}, 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
|
|
6745
|
+
}, 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 dd(), n.isUserActive = !1, n._onceSeekCanplay = null, n._isPauseBeforeSeek = 0, n.innerStates = {
|
|
6746
6746
|
isActiveLocked: !1
|
|
6747
6747
|
}, n.instManager = ze;
|
|
6748
6748
|
var c = n._initDOM();
|
|
@@ -6774,9 +6774,9 @@ var Ad = ["play", "pause", "replay", "retry"], nu = 0, ru = 0, ze = null, Ti = /
|
|
|
6774
6774
|
msg: "container id can't be empty"
|
|
6775
6775
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
6776
6776
|
}
|
|
6777
|
-
var o =
|
|
6777
|
+
var o = Ad(this.root);
|
|
6778
6778
|
if (o && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(Ge, this.playerId), this.media.setAttribute(Ge, this.playerId), (e = ze) === null || e === void 0 || e.add(this), oe.init(this), this._initBaseDoms(), this.config.controls) {
|
|
6779
|
-
var u = this.config.controls.root || null, l = oe.register(this,
|
|
6779
|
+
var u = this.config.controls.root || null, l = oe.register(this, Ed, {
|
|
6780
6780
|
root: u
|
|
6781
6781
|
});
|
|
6782
6782
|
this.controls = l;
|
|
@@ -6884,7 +6884,7 @@ var Ad = ["play", "pause", "replay", "retry"], nu = 0, ru = 0, ze = null, Ti = /
|
|
|
6884
6884
|
value: function() {
|
|
6885
6885
|
var e = this;
|
|
6886
6886
|
this.config.presets.forEach(function(i) {
|
|
6887
|
-
|
|
6887
|
+
Sd(e, i);
|
|
6888
6888
|
});
|
|
6889
6889
|
}
|
|
6890
6890
|
}, {
|
|
@@ -7879,7 +7879,7 @@ var Ad = ["play", "pause", "replay", "retry"], nu = 0, ru = 0, ze = null, Ti = /
|
|
|
7879
7879
|
r.plugins || (r.plugins = {}), r.plugins[e] = i;
|
|
7880
7880
|
}
|
|
7881
7881
|
}]), r;
|
|
7882
|
-
})(
|
|
7882
|
+
})(hd);
|
|
7883
7883
|
_(Ti, "defaultPreset", null);
|
|
7884
7884
|
_(Ti, "XgVideoProxy", null);
|
|
7885
7885
|
Ti.instManager = gl.getInstance();
|
|
@@ -7922,13 +7922,13 @@ var ot = /* @__PURE__ */ (function(a) {
|
|
|
7922
7922
|
}
|
|
7923
7923
|
}]), r;
|
|
7924
7924
|
})(W);
|
|
7925
|
-
function
|
|
7925
|
+
function Rd() {
|
|
7926
7926
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
7927
7927
|
<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>
|
|
7928
7928
|
</svg>
|
|
7929
7929
|
`, "image/svg+xml").firstChild;
|
|
7930
7930
|
}
|
|
7931
|
-
function
|
|
7931
|
+
function Dd() {
|
|
7932
7932
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
|
|
7933
7933
|
<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>
|
|
7934
7934
|
</svg>
|
|
@@ -7988,11 +7988,11 @@ var Xr = /* @__PURE__ */ (function(a) {
|
|
|
7988
7988
|
value: function() {
|
|
7989
7989
|
return {
|
|
7990
7990
|
cssFullscreen: {
|
|
7991
|
-
icon:
|
|
7991
|
+
icon: Rd,
|
|
7992
7992
|
class: "xg-get-cssfull"
|
|
7993
7993
|
},
|
|
7994
7994
|
exitCssFullscreen: {
|
|
7995
|
-
icon:
|
|
7995
|
+
icon: Dd,
|
|
7996
7996
|
class: "xg-exit-cssfull"
|
|
7997
7997
|
}
|
|
7998
7998
|
};
|
|
@@ -8029,14 +8029,14 @@ var Xr = /* @__PURE__ */ (function(a) {
|
|
|
8029
8029
|
}
|
|
8030
8030
|
}]), r;
|
|
8031
8031
|
})(ot);
|
|
8032
|
-
function
|
|
8032
|
+
function Od() {
|
|
8033
8033
|
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">
|
|
8034
8034
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
8035
8035
|
<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>
|
|
8036
8036
|
</g>
|
|
8037
8037
|
</svg>`, "image/svg+xml").firstChild;
|
|
8038
8038
|
}
|
|
8039
|
-
var
|
|
8039
|
+
var Md = /* @__PURE__ */ (function(a) {
|
|
8040
8040
|
D(r, a);
|
|
8041
8041
|
var s = O(r);
|
|
8042
8042
|
function r() {
|
|
@@ -8055,7 +8055,7 @@ var Od = /* @__PURE__ */ (function(a) {
|
|
|
8055
8055
|
value: function() {
|
|
8056
8056
|
return {
|
|
8057
8057
|
screenBack: {
|
|
8058
|
-
icon:
|
|
8058
|
+
icon: Od,
|
|
8059
8059
|
class: "xg-fullscreen-back"
|
|
8060
8060
|
}
|
|
8061
8061
|
};
|
|
@@ -8097,13 +8097,13 @@ var Od = /* @__PURE__ */ (function(a) {
|
|
|
8097
8097
|
}
|
|
8098
8098
|
}]), r;
|
|
8099
8099
|
})(W);
|
|
8100
|
-
function
|
|
8100
|
+
function Fd() {
|
|
8101
8101
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
8102
8102
|
<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>
|
|
8103
8103
|
</svg>
|
|
8104
8104
|
`, "image/svg+xml").firstChild;
|
|
8105
8105
|
}
|
|
8106
|
-
function
|
|
8106
|
+
function Nd() {
|
|
8107
8107
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
|
|
8108
8108
|
<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>
|
|
8109
8109
|
</svg>
|
|
@@ -8144,7 +8144,7 @@ var vl = /* @__PURE__ */ (function(a) {
|
|
|
8144
8144
|
var l = e.find(".xg-tips");
|
|
8145
8145
|
l && e.changeLangTextKey(l, u ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(u);
|
|
8146
8146
|
}), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
|
|
8147
|
-
plugin:
|
|
8147
|
+
plugin: Md,
|
|
8148
8148
|
options: {
|
|
8149
8149
|
config: {
|
|
8150
8150
|
onClick: function(l) {
|
|
@@ -8160,11 +8160,11 @@ var vl = /* @__PURE__ */ (function(a) {
|
|
|
8160
8160
|
value: function() {
|
|
8161
8161
|
return {
|
|
8162
8162
|
fullscreen: {
|
|
8163
|
-
icon:
|
|
8163
|
+
icon: Fd,
|
|
8164
8164
|
class: "xg-get-fullscreen"
|
|
8165
8165
|
},
|
|
8166
8166
|
exitFullscreen: {
|
|
8167
|
-
icon:
|
|
8167
|
+
icon: Nd,
|
|
8168
8168
|
class: "xg-exit-fullscreen"
|
|
8169
8169
|
}
|
|
8170
8170
|
};
|
|
@@ -8349,7 +8349,7 @@ var pl = /* @__PURE__ */ (function(a) {
|
|
|
8349
8349
|
};
|
|
8350
8350
|
}
|
|
8351
8351
|
}]), r;
|
|
8352
|
-
})(ot),
|
|
8352
|
+
})(ot), Bd = [{
|
|
8353
8353
|
tag: "xg-cache",
|
|
8354
8354
|
className: "xgplayer-progress-cache",
|
|
8355
8355
|
styleKey: "cachedColor"
|
|
@@ -8357,7 +8357,7 @@ var pl = /* @__PURE__ */ (function(a) {
|
|
|
8357
8357
|
tag: "xg-played",
|
|
8358
8358
|
className: "xgplayer-progress-played",
|
|
8359
8359
|
styleKey: "playedColor"
|
|
8360
|
-
}],
|
|
8360
|
+
}], Hd = /* @__PURE__ */ (function() {
|
|
8361
8361
|
function a(s) {
|
|
8362
8362
|
P(this, a), this.fragments = s.fragments || [], this.fragments.length === 0 && this.fragments.push({
|
|
8363
8363
|
percent: 1
|
|
@@ -8544,7 +8544,7 @@ var pl = /* @__PURE__ */ (function(a) {
|
|
|
8544
8544
|
var u = h.createDom("xg-inner", "", {
|
|
8545
8545
|
style: t ? "background:".concat(t, "; flex: ").concat(o.percent) : "flex: ".concat(o.percent)
|
|
8546
8546
|
}, "".concat(o.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
|
|
8547
|
-
return r.root.appendChild(u),
|
|
8547
|
+
return r.root.appendChild(u), Bd.forEach(function(l) {
|
|
8548
8548
|
u.appendChild(h.createDom(l.tag, "", {
|
|
8549
8549
|
style: l.styleKey ? "background: ".concat(r.style[l.styleKey], "; width:0;") : "width:0;"
|
|
8550
8550
|
}, l.className));
|
|
@@ -8692,7 +8692,7 @@ var pl = /* @__PURE__ */ (function(a) {
|
|
|
8692
8692
|
e.emitUserAction("fragment_focus", "fragment_focus", l);
|
|
8693
8693
|
}
|
|
8694
8694
|
});
|
|
8695
|
-
this.innerList ? this.innerList.reset(o) : (this.innerList = new
|
|
8695
|
+
this.innerList ? this.innerList.reset(o) : (this.innerList = new Hd(o), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(u) {
|
|
8696
8696
|
e[u] = e.innerList[u].bind(e.innerList);
|
|
8697
8697
|
}));
|
|
8698
8698
|
}
|
|
@@ -9135,21 +9135,21 @@ var pl = /* @__PURE__ */ (function(a) {
|
|
|
9135
9135
|
}
|
|
9136
9136
|
}]), r;
|
|
9137
9137
|
})(W);
|
|
9138
|
-
function
|
|
9138
|
+
function Ud() {
|
|
9139
9139
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9140
9140
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9141
9141
|
<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>
|
|
9142
9142
|
</svg>
|
|
9143
9143
|
`, "image/svg+xml").firstChild;
|
|
9144
9144
|
}
|
|
9145
|
-
function
|
|
9145
|
+
function jd() {
|
|
9146
9146
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9147
9147
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9148
9148
|
<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>
|
|
9149
9149
|
</svg>
|
|
9150
9150
|
`, "image/svg+xml").firstChild;
|
|
9151
9151
|
}
|
|
9152
|
-
function
|
|
9152
|
+
function zd() {
|
|
9153
9153
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
|
|
9154
9154
|
<path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
|
|
9155
9155
|
<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>
|
|
@@ -9204,15 +9204,15 @@ var _l = /* @__PURE__ */ (function(a) {
|
|
|
9204
9204
|
value: function() {
|
|
9205
9205
|
return {
|
|
9206
9206
|
volumeSmall: {
|
|
9207
|
-
icon:
|
|
9207
|
+
icon: jd,
|
|
9208
9208
|
class: "xg-volume-small"
|
|
9209
9209
|
},
|
|
9210
9210
|
volumeLarge: {
|
|
9211
|
-
icon:
|
|
9211
|
+
icon: Ud,
|
|
9212
9212
|
class: "xg-volume"
|
|
9213
9213
|
},
|
|
9214
9214
|
volumeMuted: {
|
|
9215
|
-
icon:
|
|
9215
|
+
icon: zd,
|
|
9216
9216
|
class: "xg-volume-mute"
|
|
9217
9217
|
}
|
|
9218
9218
|
};
|
|
@@ -9362,7 +9362,7 @@ var Ve = {
|
|
|
9362
9362
|
WAIT_END: "waitingEnd",
|
|
9363
9363
|
SEEK_START: "seekStart",
|
|
9364
9364
|
SEEK_END: "seekEnd"
|
|
9365
|
-
},
|
|
9365
|
+
}, Vd = /* @__PURE__ */ (function(a) {
|
|
9366
9366
|
D(r, a);
|
|
9367
9367
|
var s = O(r);
|
|
9368
9368
|
function r() {
|
|
@@ -9513,13 +9513,13 @@ var Ve = {
|
|
|
9513
9513
|
}
|
|
9514
9514
|
}]), r;
|
|
9515
9515
|
})(W);
|
|
9516
|
-
function
|
|
9516
|
+
function qd() {
|
|
9517
9517
|
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">
|
|
9518
9518
|
<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>
|
|
9519
9519
|
</svg>
|
|
9520
9520
|
`, "image/svg+xml").firstChild;
|
|
9521
9521
|
}
|
|
9522
|
-
var
|
|
9522
|
+
var Gd = /* @__PURE__ */ (function(a) {
|
|
9523
9523
|
D(r, a);
|
|
9524
9524
|
var s = O(r);
|
|
9525
9525
|
function r() {
|
|
@@ -9529,7 +9529,7 @@ var qd = /* @__PURE__ */ (function(a) {
|
|
|
9529
9529
|
key: "registerIcons",
|
|
9530
9530
|
value: function() {
|
|
9531
9531
|
return {
|
|
9532
|
-
replay:
|
|
9532
|
+
replay: qd
|
|
9533
9533
|
};
|
|
9534
9534
|
}
|
|
9535
9535
|
}, {
|
|
@@ -9602,7 +9602,7 @@ var qd = /* @__PURE__ */ (function(a) {
|
|
|
9602
9602
|
};
|
|
9603
9603
|
}
|
|
9604
9604
|
}]), r;
|
|
9605
|
-
})(W),
|
|
9605
|
+
})(W), Wd = /* @__PURE__ */ (function(a) {
|
|
9606
9606
|
D(r, a);
|
|
9607
9607
|
var s = O(r);
|
|
9608
9608
|
function r() {
|
|
@@ -9720,7 +9720,7 @@ var qd = /* @__PURE__ */ (function(a) {
|
|
|
9720
9720
|
}
|
|
9721
9721
|
}]), r;
|
|
9722
9722
|
})(W), Pe = {};
|
|
9723
|
-
function
|
|
9723
|
+
function Kd(a, s) {
|
|
9724
9724
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
9725
9725
|
start: null,
|
|
9726
9726
|
end: null
|
|
@@ -9738,7 +9738,7 @@ function su(a) {
|
|
|
9738
9738
|
window.clearTimeout(Pe[s].id), delete Pe[s];
|
|
9739
9739
|
});
|
|
9740
9740
|
}
|
|
9741
|
-
var
|
|
9741
|
+
var $d = /* @__PURE__ */ (function(a) {
|
|
9742
9742
|
D(r, a);
|
|
9743
9743
|
var s = O(r);
|
|
9744
9744
|
function r(t) {
|
|
@@ -9842,7 +9842,7 @@ var Kd = /* @__PURE__ */ (function(a) {
|
|
|
9842
9842
|
key: "animate",
|
|
9843
9843
|
value: function(e) {
|
|
9844
9844
|
var i = this;
|
|
9845
|
-
this._animateId =
|
|
9845
|
+
this._animateId = Kd("pauseplay", 400, {
|
|
9846
9846
|
start: function() {
|
|
9847
9847
|
h.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
|
|
9848
9848
|
},
|
|
@@ -9930,7 +9930,7 @@ var Kd = /* @__PURE__ */ (function(a) {
|
|
|
9930
9930
|
};
|
|
9931
9931
|
}
|
|
9932
9932
|
}]), r;
|
|
9933
|
-
})(W),
|
|
9933
|
+
})(W), Yd = /* @__PURE__ */ (function(a) {
|
|
9934
9934
|
D(r, a);
|
|
9935
9935
|
var s = O(r);
|
|
9936
9936
|
function r() {
|
|
@@ -10020,7 +10020,7 @@ function uu(a) {
|
|
|
10020
10020
|
return r && s;
|
|
10021
10021
|
}
|
|
10022
10022
|
var wa = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], bl = wa.length;
|
|
10023
|
-
function
|
|
10023
|
+
function Xd() {
|
|
10024
10024
|
for (var a = {
|
|
10025
10025
|
width: 0,
|
|
10026
10026
|
height: 0,
|
|
@@ -10034,15 +10034,15 @@ function Yd() {
|
|
|
10034
10034
|
}
|
|
10035
10035
|
return a;
|
|
10036
10036
|
}
|
|
10037
|
-
function
|
|
10037
|
+
function Zd(a) {
|
|
10038
10038
|
var s = window.getComputedStyle(a);
|
|
10039
10039
|
return s;
|
|
10040
10040
|
}
|
|
10041
10041
|
function lu(a) {
|
|
10042
10042
|
if (typeof a == "string" && (a = document.querySelector(a)), !(!a || ue(a) !== "object" || !a.nodeType)) {
|
|
10043
|
-
var s =
|
|
10043
|
+
var s = Zd(a);
|
|
10044
10044
|
if (s.display === "none")
|
|
10045
|
-
return
|
|
10045
|
+
return Xd();
|
|
10046
10046
|
var r = {};
|
|
10047
10047
|
r.width = a.offsetWidth, r.height = a.offsetHeight;
|
|
10048
10048
|
for (var t = r.isBorderBox = s.boxSizing === "border-box", e = 0; e < bl; e++) {
|
|
@@ -10070,7 +10070,7 @@ var Fr = {
|
|
|
10070
10070
|
mousedown: ["mousemove", "mouseup"],
|
|
10071
10071
|
touchstart: ["touchmove", "touchend", "touchcancel"],
|
|
10072
10072
|
pointerdown: ["pointermove", "pointerup", "pointercancel"]
|
|
10073
|
-
},
|
|
10073
|
+
}, Jd = /* @__PURE__ */ (function(a) {
|
|
10074
10074
|
D(r, a);
|
|
10075
10075
|
var s = O(r);
|
|
10076
10076
|
function r(t) {
|
|
@@ -10280,7 +10280,7 @@ var Fr = {
|
|
|
10280
10280
|
return parseInt(e, 10);
|
|
10281
10281
|
}
|
|
10282
10282
|
}]), r;
|
|
10283
|
-
})(Gu),
|
|
10283
|
+
})(Gu), Qd = /* @__PURE__ */ (function(a) {
|
|
10284
10284
|
D(r, a);
|
|
10285
10285
|
var s = O(r);
|
|
10286
10286
|
function r(t) {
|
|
@@ -10336,7 +10336,7 @@ var Fr = {
|
|
|
10336
10336
|
i.controls.registerPlugin(ou, o, ou.pluginName);
|
|
10337
10337
|
}
|
|
10338
10338
|
var u = h.checkTouchSupport() ? "touchend" : "click";
|
|
10339
|
-
this.bind(".mini-cancel-btn", u, this.onCancelClick), this.bind(".play-icon", u, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new
|
|
10339
|
+
this.bind(".mini-cancel-btn", u, this.onCancelClick), this.bind(".play-icon", u, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Jd(this.player.root, {
|
|
10340
10340
|
handle: this.root
|
|
10341
10341
|
})), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
|
|
10342
10342
|
}
|
|
@@ -10573,12 +10573,12 @@ var Fr = {
|
|
|
10573
10573
|
TOUCH_MOVE: "touchmove",
|
|
10574
10574
|
TOUCH_START: "touchstart",
|
|
10575
10575
|
TOUCH_END: "touchend"
|
|
10576
|
-
},
|
|
10576
|
+
}, eg = {
|
|
10577
10577
|
start: "touchstart",
|
|
10578
10578
|
end: "touchend",
|
|
10579
10579
|
move: "touchmove",
|
|
10580
10580
|
cancel: "touchcancel"
|
|
10581
|
-
},
|
|
10581
|
+
}, tg = {
|
|
10582
10582
|
start: "mousedown",
|
|
10583
10583
|
end: "mouseup",
|
|
10584
10584
|
move: "mousemove",
|
|
@@ -10587,7 +10587,7 @@ var Fr = {
|
|
|
10587
10587
|
function fu(a) {
|
|
10588
10588
|
return a && a.length > 0 ? a[a.length - 1] : null;
|
|
10589
10589
|
}
|
|
10590
|
-
function
|
|
10590
|
+
function ig() {
|
|
10591
10591
|
return {
|
|
10592
10592
|
pressDelay: 600,
|
|
10593
10593
|
dbClickDelay: 200,
|
|
@@ -10597,7 +10597,7 @@ function tg() {
|
|
|
10597
10597
|
needPreventDefault: !0
|
|
10598
10598
|
};
|
|
10599
10599
|
}
|
|
10600
|
-
var
|
|
10600
|
+
var ng = /* @__PURE__ */ (function() {
|
|
10601
10601
|
function a(s) {
|
|
10602
10602
|
var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
10603
10603
|
eventType: "touch"
|
|
@@ -10618,9 +10618,9 @@ var ig = /* @__PURE__ */ (function() {
|
|
|
10618
10618
|
start: !1,
|
|
10619
10619
|
x: 0,
|
|
10620
10620
|
y: 0
|
|
10621
|
-
}, this.config =
|
|
10621
|
+
}, this.config = ig(), Object.keys(t).map(function(e) {
|
|
10622
10622
|
r.config[e] = t[e];
|
|
10623
|
-
}), this.root = s, this.events = t.eventType === "mouse" ?
|
|
10623
|
+
}), this.root = s, this.events = t.eventType === "mouse" ? tg : eg, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
|
|
10624
10624
|
}
|
|
10625
10625
|
return A(a, [{
|
|
10626
10626
|
key: "_initEvent",
|
|
@@ -10699,7 +10699,7 @@ var ig = /* @__PURE__ */ (function() {
|
|
|
10699
10699
|
}
|
|
10700
10700
|
}]), a;
|
|
10701
10701
|
})();
|
|
10702
|
-
function
|
|
10702
|
+
function rg() {
|
|
10703
10703
|
return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
10704
10704
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
10705
10705
|
<path opacity="0.54"
|
|
@@ -10712,7 +10712,7 @@ var dt = {
|
|
|
10712
10712
|
AUTO: "auto",
|
|
10713
10713
|
SEEKING: "seeking",
|
|
10714
10714
|
PLAYBACK: "playbackrate"
|
|
10715
|
-
}, Hr = ["videoClick", "videoDbClick"],
|
|
10715
|
+
}, Hr = ["videoClick", "videoDbClick"], ag = /* @__PURE__ */ (function(a) {
|
|
10716
10716
|
D(r, a);
|
|
10717
10717
|
var s = O(r);
|
|
10718
10718
|
function r(t) {
|
|
@@ -10786,7 +10786,7 @@ var dt = {
|
|
|
10786
10786
|
value: function() {
|
|
10787
10787
|
return {
|
|
10788
10788
|
seekTipIcon: {
|
|
10789
|
-
icon:
|
|
10789
|
+
icon: rg,
|
|
10790
10790
|
class: "xg-seek-pre"
|
|
10791
10791
|
}
|
|
10792
10792
|
};
|
|
@@ -10801,7 +10801,7 @@ var dt = {
|
|
|
10801
10801
|
var i = this.playerConfig, n = this.config, o = this.player;
|
|
10802
10802
|
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();
|
|
10803
10803
|
var u = this.domEventType === "mouse" ? "mouse" : "touch";
|
|
10804
|
-
this.touch = new
|
|
10804
|
+
this.touch = new ng(this.root, {
|
|
10805
10805
|
eventType: u,
|
|
10806
10806
|
needPreventDefault: !this.config.disableGesture
|
|
10807
10807
|
}), this.root.addEventListener("contextmenu", function(d) {
|
|
@@ -11146,7 +11146,7 @@ var dt = {
|
|
|
11146
11146
|
}
|
|
11147
11147
|
}]), r;
|
|
11148
11148
|
})(W);
|
|
11149
|
-
function
|
|
11149
|
+
function sg(a) {
|
|
11150
11150
|
a.preventDefault(), a.returnValue = !1;
|
|
11151
11151
|
}
|
|
11152
11152
|
function hu(a) {
|
|
@@ -11395,7 +11395,7 @@ var du = /* @__PURE__ */ (function(a) {
|
|
|
11395
11395
|
isPress: n
|
|
11396
11396
|
}, this.keyCodeMap[o[u]]));
|
|
11397
11397
|
}
|
|
11398
|
-
|
|
11398
|
+
sg(i), i.stopPropagation();
|
|
11399
11399
|
break;
|
|
11400
11400
|
}
|
|
11401
11401
|
}
|
|
@@ -11437,13 +11437,13 @@ var du = /* @__PURE__ */ (function(a) {
|
|
|
11437
11437
|
}
|
|
11438
11438
|
}]), r;
|
|
11439
11439
|
})($e);
|
|
11440
|
-
function
|
|
11440
|
+
function og() {
|
|
11441
11441
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
|
|
11442
11442
|
<path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
|
|
11443
11443
|
</svg>
|
|
11444
11444
|
`, "image/svg+xml").firstChild;
|
|
11445
11445
|
}
|
|
11446
|
-
var
|
|
11446
|
+
var ug = /* @__PURE__ */ (function(a) {
|
|
11447
11447
|
D(r, a);
|
|
11448
11448
|
var s = O(r);
|
|
11449
11449
|
function r() {
|
|
@@ -11453,7 +11453,7 @@ var og = /* @__PURE__ */ (function(a) {
|
|
|
11453
11453
|
key: "registerIcons",
|
|
11454
11454
|
value: function() {
|
|
11455
11455
|
return {
|
|
11456
|
-
loadingIcon:
|
|
11456
|
+
loadingIcon: og
|
|
11457
11457
|
};
|
|
11458
11458
|
}
|
|
11459
11459
|
}, {
|
|
@@ -11482,7 +11482,7 @@ var og = /* @__PURE__ */ (function(a) {
|
|
|
11482
11482
|
};
|
|
11483
11483
|
}
|
|
11484
11484
|
}]), r;
|
|
11485
|
-
})(W),
|
|
11485
|
+
})(W), lg = /* @__PURE__ */ (function(a) {
|
|
11486
11486
|
D(r, a);
|
|
11487
11487
|
var s = O(r);
|
|
11488
11488
|
function r() {
|
|
@@ -11620,7 +11620,7 @@ var og = /* @__PURE__ */ (function(a) {
|
|
|
11620
11620
|
}
|
|
11621
11621
|
}]), r;
|
|
11622
11622
|
})($e);
|
|
11623
|
-
function
|
|
11623
|
+
function cg() {
|
|
11624
11624
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
|
|
11625
11625
|
<g>
|
|
11626
11626
|
<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"/>
|
|
@@ -11634,7 +11634,7 @@ function lg() {
|
|
|
11634
11634
|
</svg>
|
|
11635
11635
|
`, "image/svg+xml").firstChild;
|
|
11636
11636
|
}
|
|
11637
|
-
var
|
|
11637
|
+
var fg = /* @__PURE__ */ (function(a) {
|
|
11638
11638
|
D(r, a);
|
|
11639
11639
|
var s = O(r);
|
|
11640
11640
|
function r(t) {
|
|
@@ -11697,7 +11697,7 @@ var cg = /* @__PURE__ */ (function(a) {
|
|
|
11697
11697
|
key: "registerIcons",
|
|
11698
11698
|
value: function() {
|
|
11699
11699
|
return {
|
|
11700
|
-
rotate:
|
|
11700
|
+
rotate: cg
|
|
11701
11701
|
};
|
|
11702
11702
|
}
|
|
11703
11703
|
}, {
|
|
@@ -11730,14 +11730,14 @@ var cg = /* @__PURE__ */ (function(a) {
|
|
|
11730
11730
|
}
|
|
11731
11731
|
}]), r;
|
|
11732
11732
|
})(ot);
|
|
11733
|
-
function
|
|
11733
|
+
function hg() {
|
|
11734
11734
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
11735
11735
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
11736
11736
|
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"
|
|
11737
11737
|
fill="white" />
|
|
11738
11738
|
</svg>`, "image/svg+xml").firstChild;
|
|
11739
11739
|
}
|
|
11740
|
-
function
|
|
11740
|
+
function dg() {
|
|
11741
11741
|
return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
11742
11742
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
11743
11743
|
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"
|
|
@@ -11751,7 +11751,7 @@ var gt = {
|
|
|
11751
11751
|
PIP: "picture-in-picture",
|
|
11752
11752
|
INLINE: "inline",
|
|
11753
11753
|
FULLSCREEN: "fullscreen"
|
|
11754
|
-
},
|
|
11754
|
+
}, gg = /* @__PURE__ */ (function(a) {
|
|
11755
11755
|
D(r, a);
|
|
11756
11756
|
var s = O(r);
|
|
11757
11757
|
function r() {
|
|
@@ -11791,11 +11791,11 @@ var gt = {
|
|
|
11791
11791
|
value: function() {
|
|
11792
11792
|
return {
|
|
11793
11793
|
pipIcon: {
|
|
11794
|
-
icon:
|
|
11794
|
+
icon: hg,
|
|
11795
11795
|
class: "xg-get-pip"
|
|
11796
11796
|
},
|
|
11797
11797
|
pipIconExit: {
|
|
11798
|
-
icon:
|
|
11798
|
+
icon: dg,
|
|
11799
11799
|
class: "xg-exit-pip"
|
|
11800
11800
|
}
|
|
11801
11801
|
};
|
|
@@ -11952,13 +11952,13 @@ var gt = {
|
|
|
11952
11952
|
}
|
|
11953
11953
|
}]), r;
|
|
11954
11954
|
})(ot);
|
|
11955
|
-
function
|
|
11955
|
+
function vg() {
|
|
11956
11956
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
|
|
11957
11957
|
<path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
|
|
11958
11958
|
</svg>
|
|
11959
11959
|
`, "image/svg+xml").firstChild;
|
|
11960
11960
|
}
|
|
11961
|
-
var
|
|
11961
|
+
var pg = /* @__PURE__ */ (function(a) {
|
|
11962
11962
|
D(r, a);
|
|
11963
11963
|
var s = O(r);
|
|
11964
11964
|
function r(t) {
|
|
@@ -11977,7 +11977,7 @@ var vg = /* @__PURE__ */ (function(a) {
|
|
|
11977
11977
|
key: "registerIcons",
|
|
11978
11978
|
value: function() {
|
|
11979
11979
|
return {
|
|
11980
|
-
playNext:
|
|
11980
|
+
playNext: vg
|
|
11981
11981
|
};
|
|
11982
11982
|
}
|
|
11983
11983
|
}, {
|
|
@@ -12027,7 +12027,7 @@ var vg = /* @__PURE__ */ (function(a) {
|
|
|
12027
12027
|
}
|
|
12028
12028
|
}]), r;
|
|
12029
12029
|
})(W);
|
|
12030
|
-
function
|
|
12030
|
+
function mg() {
|
|
12031
12031
|
return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
|
|
12032
12032
|
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
12033
12033
|
<g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
|
|
@@ -12137,7 +12137,7 @@ Use Save As... to download, then click back to return to this page.`);
|
|
|
12137
12137
|
setHeaders: function(s) {
|
|
12138
12138
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
12139
12139
|
Object.entries(r).forEach(function(t) {
|
|
12140
|
-
var e =
|
|
12140
|
+
var e = Nh(t, 2), i = e[0], n = e[1];
|
|
12141
12141
|
s.setRequestHeader(i, n);
|
|
12142
12142
|
});
|
|
12143
12143
|
},
|
|
@@ -12216,11 +12216,11 @@ function Cl(a, s, r) {
|
|
|
12216
12216
|
De.downloadWithAnchor(C.target.result, e);
|
|
12217
12217
|
}, b.readAsDataURL(g), De.downloadWithIframe(g, e);
|
|
12218
12218
|
}
|
|
12219
|
-
function
|
|
12219
|
+
function yg(a) {
|
|
12220
12220
|
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = Q(Q({}, ge), s), t = r.fileName || a.split("/").pop().split("?")[0] || "download";
|
|
12221
12221
|
return fi.downloadFromURL(a, t, r);
|
|
12222
12222
|
}
|
|
12223
|
-
var
|
|
12223
|
+
var _g = /* @__PURE__ */ (function(a) {
|
|
12224
12224
|
D(r, a);
|
|
12225
12225
|
var s = O(r);
|
|
12226
12226
|
function r(t) {
|
|
@@ -12231,7 +12231,7 @@ var yg = /* @__PURE__ */ (function(a) {
|
|
|
12231
12231
|
var n = e.playerConfig.url, o = "";
|
|
12232
12232
|
h.typeOf(n) === "String" ? o = n : h.typeOf(n) === "Array" && n.length > 0 && (o = n[0].src);
|
|
12233
12233
|
var u = e.getAbsoluteURL(o);
|
|
12234
|
-
|
|
12234
|
+
yg(u, Object.assign({}, e.config.saveAsOptions || {})), e.isLock = !0, e.timer = window.setTimeout(function() {
|
|
12235
12235
|
e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
|
|
12236
12236
|
}, 300);
|
|
12237
12237
|
}
|
|
@@ -12250,7 +12250,7 @@ var yg = /* @__PURE__ */ (function(a) {
|
|
|
12250
12250
|
key: "registerIcons",
|
|
12251
12251
|
value: function() {
|
|
12252
12252
|
return {
|
|
12253
|
-
download:
|
|
12253
|
+
download: mg
|
|
12254
12254
|
};
|
|
12255
12255
|
}
|
|
12256
12256
|
}, {
|
|
@@ -12293,7 +12293,7 @@ var yg = /* @__PURE__ */ (function(a) {
|
|
|
12293
12293
|
};
|
|
12294
12294
|
}
|
|
12295
12295
|
}]), r;
|
|
12296
|
-
})(ot),
|
|
12296
|
+
})(ot), bg = /* @__PURE__ */ (function(a) {
|
|
12297
12297
|
D(r, a);
|
|
12298
12298
|
var s = O(r);
|
|
12299
12299
|
function r() {
|
|
@@ -12419,7 +12419,7 @@ var yg = /* @__PURE__ */ (function(a) {
|
|
|
12419
12419
|
};
|
|
12420
12420
|
}
|
|
12421
12421
|
}]), r;
|
|
12422
|
-
})(ot),
|
|
12422
|
+
})(ot), Cg = /* @__PURE__ */ (function() {
|
|
12423
12423
|
function a(s) {
|
|
12424
12424
|
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);
|
|
12425
12425
|
var r = this.config.maxHeight;
|
|
@@ -12499,7 +12499,7 @@ var yg = /* @__PURE__ */ (function(a) {
|
|
|
12499
12499
|
CLICK: "click",
|
|
12500
12500
|
HOVER: "hover"
|
|
12501
12501
|
};
|
|
12502
|
-
function
|
|
12502
|
+
function wg(a, s) {
|
|
12503
12503
|
return a === Ie.SIDE ? s === J.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
12504
12504
|
}
|
|
12505
12505
|
var Qe = U.device === "mobile", hi = /* @__PURE__ */ (function(a) {
|
|
@@ -12613,7 +12613,7 @@ var Qe = U.device === "mobile", hi = /* @__PURE__ */ (function(a) {
|
|
|
12613
12613
|
var c = {
|
|
12614
12614
|
config: {
|
|
12615
12615
|
data: e || [],
|
|
12616
|
-
className:
|
|
12616
|
+
className: wg(o.listType, o.position),
|
|
12617
12617
|
onItemClick: function(m, p) {
|
|
12618
12618
|
n.onItemClick(m, p);
|
|
12619
12619
|
},
|
|
@@ -12623,7 +12623,7 @@ var Qe = U.device === "mobile", hi = /* @__PURE__ */ (function(a) {
|
|
|
12623
12623
|
};
|
|
12624
12624
|
if (this.config.isShowIcon) {
|
|
12625
12625
|
var f = this.player.root.getBoundingClientRect(), d = f.height, g = o.listType === Ie.MIDDLE ? d - 50 : d;
|
|
12626
|
-
g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new
|
|
12626
|
+
g && o.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new Cg(c), this.changeCurrentText(), this.show();
|
|
12627
12627
|
}
|
|
12628
12628
|
this._resizeList();
|
|
12629
12629
|
}
|
|
@@ -12674,7 +12674,7 @@ var Qe = U.device === "mobile", hi = /* @__PURE__ */ (function(a) {
|
|
|
12674
12674
|
};
|
|
12675
12675
|
}
|
|
12676
12676
|
}]), r;
|
|
12677
|
-
})(W),
|
|
12677
|
+
})(W), kg = /* @__PURE__ */ (function(a) {
|
|
12678
12678
|
D(r, a);
|
|
12679
12679
|
var s = O(r);
|
|
12680
12680
|
function r(t) {
|
|
@@ -12775,7 +12775,7 @@ var Qe = U.device === "mobile", hi = /* @__PURE__ */ (function(a) {
|
|
|
12775
12775
|
});
|
|
12776
12776
|
}
|
|
12777
12777
|
}]), r;
|
|
12778
|
-
})(hi),
|
|
12778
|
+
})(hi), Tg = /* @__PURE__ */ (function(a) {
|
|
12779
12779
|
D(r, a);
|
|
12780
12780
|
var s = O(r);
|
|
12781
12781
|
function r(t) {
|
|
@@ -12867,7 +12867,7 @@ var Qe = U.device === "mobile", hi = /* @__PURE__ */ (function(a) {
|
|
|
12867
12867
|
});
|
|
12868
12868
|
}
|
|
12869
12869
|
}]), r;
|
|
12870
|
-
})(hi),
|
|
12870
|
+
})(hi), Sg = /* @__PURE__ */ (function(a) {
|
|
12871
12871
|
D(r, a);
|
|
12872
12872
|
var s = O(r);
|
|
12873
12873
|
function r() {
|
|
@@ -12928,7 +12928,7 @@ var Qe = U.device === "mobile", hi = /* @__PURE__ */ (function(a) {
|
|
|
12928
12928
|
return "error";
|
|
12929
12929
|
}
|
|
12930
12930
|
}]), r;
|
|
12931
|
-
})(W),
|
|
12931
|
+
})(W), Eg = /* @__PURE__ */ (function(a) {
|
|
12932
12932
|
D(r, a);
|
|
12933
12933
|
var s = O(r);
|
|
12934
12934
|
function r() {
|
|
@@ -13158,7 +13158,7 @@ var vu = {
|
|
|
13158
13158
|
return r.find('xg-spot[data-id="'.concat(s, '"]'));
|
|
13159
13159
|
}
|
|
13160
13160
|
};
|
|
13161
|
-
function
|
|
13161
|
+
function xg(a) {
|
|
13162
13162
|
var s = a.config, r = a.player;
|
|
13163
13163
|
Object.keys(vu).map(function(e) {
|
|
13164
13164
|
a[e] = vu[e].bind(a);
|
|
@@ -13182,7 +13182,7 @@ var pt = {
|
|
|
13182
13182
|
click: "onProgressClick",
|
|
13183
13183
|
mouseover: "onProgressMouseOver",
|
|
13184
13184
|
mouseenter: "onProgressMouseOver"
|
|
13185
|
-
},
|
|
13185
|
+
}, Ig = /* @__PURE__ */ (function(a) {
|
|
13186
13186
|
D(r, a);
|
|
13187
13187
|
var s = O(r);
|
|
13188
13188
|
function r(t) {
|
|
@@ -13233,7 +13233,7 @@ var pt = {
|
|
|
13233
13233
|
n.seekTime && e.player.seek(n.seekTime);
|
|
13234
13234
|
}), this.transformTimeHook = this.hook("transformTime", function(i) {
|
|
13235
13235
|
e.setTimeContent(h.format(i));
|
|
13236
|
-
}),
|
|
13236
|
+
}), xg(this), this.on(Be, function() {
|
|
13237
13237
|
e.show();
|
|
13238
13238
|
}), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
|
|
13239
13239
|
}
|
|
@@ -13457,7 +13457,7 @@ var pt = {
|
|
|
13457
13457
|
};
|
|
13458
13458
|
}
|
|
13459
13459
|
}]), r;
|
|
13460
|
-
})(W),
|
|
13460
|
+
})(W), Pg = /* @__PURE__ */ (function(a) {
|
|
13461
13461
|
D(r, a);
|
|
13462
13462
|
var s = O(r);
|
|
13463
13463
|
function r(t) {
|
|
@@ -13594,7 +13594,7 @@ var pt = {
|
|
|
13594
13594
|
function Ur(a) {
|
|
13595
13595
|
return a ? "background:".concat(a, ";") : "";
|
|
13596
13596
|
}
|
|
13597
|
-
var
|
|
13597
|
+
var Ag = /* @__PURE__ */ (function(a) {
|
|
13598
13598
|
D(r, a);
|
|
13599
13599
|
var s = O(r);
|
|
13600
13600
|
function r() {
|
|
@@ -13681,14 +13681,14 @@ var Pg = /* @__PURE__ */ (function(a) {
|
|
|
13681
13681
|
FIRST_FRAME: "firstframe",
|
|
13682
13682
|
POSTER: "poster"
|
|
13683
13683
|
};
|
|
13684
|
-
function
|
|
13684
|
+
function Lg() {
|
|
13685
13685
|
try {
|
|
13686
13686
|
return parseInt(window.performance.now(), 10);
|
|
13687
13687
|
} catch {
|
|
13688
13688
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
13689
13689
|
}
|
|
13690
13690
|
}
|
|
13691
|
-
function
|
|
13691
|
+
function Rg() {
|
|
13692
13692
|
try {
|
|
13693
13693
|
var a = document.createElement("canvas").getContext;
|
|
13694
13694
|
return !!a;
|
|
@@ -13696,7 +13696,7 @@ function Lg() {
|
|
|
13696
13696
|
return !1;
|
|
13697
13697
|
}
|
|
13698
13698
|
}
|
|
13699
|
-
var Zt = null,
|
|
13699
|
+
var Zt = null, Dg = /* @__PURE__ */ (function(a) {
|
|
13700
13700
|
D(r, a);
|
|
13701
13701
|
var s = O(r);
|
|
13702
13702
|
function r() {
|
|
@@ -13717,7 +13717,7 @@ var Zt = null, Rg = /* @__PURE__ */ (function(a) {
|
|
|
13717
13717
|
!t.player.paused && t._checkIfCanStart() && t.start(0, u);
|
|
13718
13718
|
}
|
|
13719
13719
|
}), _(y(t), "start", function(o, u) {
|
|
13720
|
-
var l = t.player.video, c =
|
|
13720
|
+
var l = t.player.video, c = Lg(), f = t.checkVideoIsSupport(l);
|
|
13721
13721
|
!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));
|
|
13722
13722
|
}), _(y(t), "stop", function() {
|
|
13723
13723
|
t.frameId && (t._loopType === "timer" ? h.clearTimeout(y(t), t.frameId) : h.cancelAnimationFrame(t.frameId), t.frameId = null);
|
|
@@ -13890,7 +13890,7 @@ var Zt = null, Rg = /* @__PURE__ */ (function(a) {
|
|
|
13890
13890
|
}, {
|
|
13891
13891
|
key: "isSupport",
|
|
13892
13892
|
get: function() {
|
|
13893
|
-
return typeof Zt == "boolean" || (Zt =
|
|
13893
|
+
return typeof Zt == "boolean" || (Zt = Rg()), Zt;
|
|
13894
13894
|
}
|
|
13895
13895
|
}, {
|
|
13896
13896
|
key: "supportCanvasFilter",
|
|
@@ -13898,7 +13898,7 @@ var Zt = null, Rg = /* @__PURE__ */ (function(a) {
|
|
|
13898
13898
|
return !(U.browser === "safari" || U.browser === "firefox");
|
|
13899
13899
|
}
|
|
13900
13900
|
}]), r;
|
|
13901
|
-
})(W),
|
|
13901
|
+
})(W), Og = {
|
|
13902
13902
|
LANG: "zh-cn",
|
|
13903
13903
|
TEXT: {
|
|
13904
13904
|
ERROR_TYPES: {
|
|
@@ -13974,7 +13974,7 @@ var Zt = null, Rg = /* @__PURE__ */ (function(a) {
|
|
|
13974
13974
|
FORWARD: "快进中",
|
|
13975
13975
|
LIVE_TIP: "直播"
|
|
13976
13976
|
}
|
|
13977
|
-
}, St = "info", jr = ul,
|
|
13977
|
+
}, St = "info", jr = ul, Mg = /* @__PURE__ */ (function(a) {
|
|
13978
13978
|
D(r, a);
|
|
13979
13979
|
var s = O(r);
|
|
13980
13980
|
function r() {
|
|
@@ -14208,7 +14208,7 @@ var Zt = null, Rg = /* @__PURE__ */ (function(a) {
|
|
|
14208
14208
|
}]), r;
|
|
14209
14209
|
})(W);
|
|
14210
14210
|
kl.BROWSER_GAP_TOLERANCE = 1e-3;
|
|
14211
|
-
var
|
|
14211
|
+
var Fg = /* @__PURE__ */ (function(a) {
|
|
14212
14212
|
D(r, a);
|
|
14213
14213
|
var s = O(r);
|
|
14214
14214
|
function r() {
|
|
@@ -14254,7 +14254,7 @@ var Mg = /* @__PURE__ */ (function(a) {
|
|
|
14254
14254
|
};
|
|
14255
14255
|
}
|
|
14256
14256
|
}]), r;
|
|
14257
|
-
})(W), yt = "cdn", Jt = ["cdn"],
|
|
14257
|
+
})(W), yt = "cdn", Jt = ["cdn"], Ng = /* @__PURE__ */ (function(a) {
|
|
14258
14258
|
D(r, a);
|
|
14259
14259
|
var s = O(r);
|
|
14260
14260
|
function r() {
|
|
@@ -14380,7 +14380,7 @@ var Mg = /* @__PURE__ */ (function(a) {
|
|
|
14380
14380
|
};
|
|
14381
14381
|
}
|
|
14382
14382
|
}]), r;
|
|
14383
|
-
})(W),
|
|
14383
|
+
})(W), Bg = /* @__PURE__ */ (function(a) {
|
|
14384
14384
|
D(r, a);
|
|
14385
14385
|
var s = O(r);
|
|
14386
14386
|
function r() {
|
|
@@ -14490,24 +14490,24 @@ var Mg = /* @__PURE__ */ (function(a) {
|
|
|
14490
14490
|
}
|
|
14491
14491
|
}]), r;
|
|
14492
14492
|
})(W);
|
|
14493
|
-
_t.use(
|
|
14494
|
-
var
|
|
14493
|
+
_t.use(Og);
|
|
14494
|
+
var Hg = /* @__PURE__ */ A(function a(s, r) {
|
|
14495
14495
|
var t, e, i;
|
|
14496
14496
|
P(this, a);
|
|
14497
|
-
var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, u = o ? [] : [
|
|
14498
|
-
this.plugins = [
|
|
14497
|
+
var n = r && r.isMobileSimulateMode === "mobile", o = r.isLive, u = o ? [] : [lg, ml, Ag, Ig, yl], l = [].concat(u, [pl, vl, fg, pg, kg, Tg, _g, bg, _l, gg]), c = [Gd, Wd, $d, ug, Yd, Sg, Eg, Pg, Qd];
|
|
14498
|
+
this.plugins = [Mg, Vd].concat(Ee(l), c, [kl, Fg]);
|
|
14499
14499
|
var f = n ? "mobile" : U.device;
|
|
14500
14500
|
switch (f) {
|
|
14501
14501
|
case "pc":
|
|
14502
|
-
(t = this.plugins).push.apply(t, [du, Br, Xr,
|
|
14502
|
+
(t = this.plugins).push.apply(t, [du, Br, Xr, Ng, Bg]);
|
|
14503
14503
|
break;
|
|
14504
14504
|
case "mobile":
|
|
14505
|
-
(e = this.plugins).push.apply(e, [
|
|
14505
|
+
(e = this.plugins).push.apply(e, [ag]);
|
|
14506
14506
|
break;
|
|
14507
14507
|
default:
|
|
14508
14508
|
(i = this.plugins).push.apply(i, [du, Br, Xr]);
|
|
14509
14509
|
}
|
|
14510
|
-
(U.os.isIpad || f === "pc") && this.plugins.push(
|
|
14510
|
+
(U.os.isIpad || f === "pc") && this.plugins.push(Dg), U.os.isIpad && this.plugins.push(Br), this.ignores = [], this.i18n = [];
|
|
14511
14511
|
}), se = /* @__PURE__ */ (function(a) {
|
|
14512
14512
|
D(r, a);
|
|
14513
14513
|
var s = O(r);
|
|
@@ -14516,11 +14516,11 @@ var Bg = /* @__PURE__ */ A(function a(s, r) {
|
|
|
14516
14516
|
}
|
|
14517
14517
|
return A(r);
|
|
14518
14518
|
})(Ti);
|
|
14519
|
-
_(se, "defaultPreset",
|
|
14519
|
+
_(se, "defaultPreset", Hg);
|
|
14520
14520
|
_(se, "Util", h);
|
|
14521
14521
|
_(se, "Sniffer", U);
|
|
14522
14522
|
_(se, "Errors", ii);
|
|
14523
|
-
_(se, "Events",
|
|
14523
|
+
_(se, "Events", cd);
|
|
14524
14524
|
_(se, "Plugin", W);
|
|
14525
14525
|
_(se, "BasePlugin", $e);
|
|
14526
14526
|
_(se, "I18N", _t);
|
|
@@ -14532,7 +14532,7 @@ _(se, "Progress", ml);
|
|
|
14532
14532
|
_(se, "FullscreenIcon", vl);
|
|
14533
14533
|
_(se, "CssFullscreenIcon", Xr);
|
|
14534
14534
|
_(se, "VolumeIcon", _l);
|
|
14535
|
-
const
|
|
14535
|
+
const Ug = ["id"], jg = /* @__PURE__ */ ne({
|
|
14536
14536
|
name: "ElImageViewer",
|
|
14537
14537
|
__name: "Player",
|
|
14538
14538
|
props: /* @__PURE__ */ Lt({
|
|
@@ -14582,7 +14582,7 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
14582
14582
|
}, o = te(() => ({
|
|
14583
14583
|
...n,
|
|
14584
14584
|
...t.config
|
|
14585
|
-
})), u = s, l = Zr(a, "modelValue"), c =
|
|
14585
|
+
})), u = s, l = Zr(a, "modelValue"), c = bu(), f = _u("image-viewer");
|
|
14586
14586
|
function d() {
|
|
14587
14587
|
u("close"), l.value = !1, r.destroy();
|
|
14588
14588
|
}
|
|
@@ -14630,7 +14630,7 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
14630
14630
|
class: ee(x(f).e("canvas"))
|
|
14631
14631
|
},
|
|
14632
14632
|
[
|
|
14633
|
-
S("div", { id: x(c) }, null, 8,
|
|
14633
|
+
S("div", { id: x(c) }, null, 8, Ug),
|
|
14634
14634
|
X(" CLOSE "),
|
|
14635
14635
|
S(
|
|
14636
14636
|
"span",
|
|
@@ -14666,18 +14666,18 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
14666
14666
|
])) : X("v-if", !0);
|
|
14667
14667
|
};
|
|
14668
14668
|
}
|
|
14669
|
-
}),
|
|
14669
|
+
}), zg = /* @__PURE__ */ Qr(jg, [["__scopeId", "data-v-b301aa7d"]]), Vg = Ye(zg), qg = ["onClick"], Gg = {
|
|
14670
14670
|
class: "flex align-center",
|
|
14671
14671
|
style: { width: "100%" }
|
|
14672
|
-
},
|
|
14672
|
+
}, Wg = ["title"], Kg = {
|
|
14673
14673
|
key: 0,
|
|
14674
14674
|
class: "size",
|
|
14675
14675
|
style: { "padding-right": "20px", "white-space": "nowrap" }
|
|
14676
|
-
},
|
|
14676
|
+
}, $g = ["onClick"], Yg = { class: "file-list" }, Xg = ["title"], Zg = {
|
|
14677
14677
|
key: 0,
|
|
14678
14678
|
class: "size",
|
|
14679
14679
|
style: { "padding-right": "20px", "white-space": "nowrap" }
|
|
14680
|
-
},
|
|
14680
|
+
}, Jg = ["onClick"], Qg = { class: "text" }, ev = ["title"], tv = { class: "size" }, iv = /* @__PURE__ */ ne({
|
|
14681
14681
|
__name: "IkPreviewFile",
|
|
14682
14682
|
props: {
|
|
14683
14683
|
list: {
|
|
@@ -14795,7 +14795,11 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
14795
14795
|
)
|
|
14796
14796
|
}, r.isOnlyOfficePreview && (c.value = !0), o("handPreview", l.value);
|
|
14797
14797
|
}, d = (p) => {
|
|
14798
|
-
|
|
14798
|
+
Vl({
|
|
14799
|
+
message: "已发送下载请求,即将开始下载",
|
|
14800
|
+
type: "info",
|
|
14801
|
+
duration: 3e3
|
|
14802
|
+
}), r.customDownload ? o("download", p) : Gl.downloadFile(
|
|
14799
14803
|
Rt(
|
|
14800
14804
|
e.value,
|
|
14801
14805
|
p[u.value.url] || p.attachmentId || p.id
|
|
@@ -14834,17 +14838,14 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
14834
14838
|
onClick: (j) => f(T),
|
|
14835
14839
|
style: Se({ width: v.value })
|
|
14836
14840
|
}, [
|
|
14837
|
-
S("div",
|
|
14838
|
-
S(
|
|
14839
|
-
"
|
|
14840
|
-
|
|
14841
|
-
|
|
14842
|
-
1
|
|
14843
|
-
/* TEXT */
|
|
14844
|
-
),
|
|
14841
|
+
S("div", Gg, [
|
|
14842
|
+
S("div", {
|
|
14843
|
+
class: "fileName simple",
|
|
14844
|
+
title: T.name
|
|
14845
|
+
}, Te(T.name), 9, Wg),
|
|
14845
14846
|
a.showFileSize ? (E(), R(
|
|
14846
14847
|
"div",
|
|
14847
|
-
|
|
14848
|
+
Kg,
|
|
14848
14849
|
Te(T.size ? `(${x(Ei)(T.size)})` : ""),
|
|
14849
14850
|
1
|
|
14850
14851
|
/* TEXT */
|
|
@@ -14875,7 +14876,7 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
14875
14876
|
2
|
|
14876
14877
|
/* CLASS */
|
|
14877
14878
|
)
|
|
14878
|
-
], 12,
|
|
14879
|
+
], 12, qg))),
|
|
14879
14880
|
128
|
|
14880
14881
|
/* KEYED_FRAGMENT */
|
|
14881
14882
|
)) : t.value === "simple-icon" ? (E(), R(
|
|
@@ -14892,7 +14893,7 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
14892
14893
|
onClick: (j) => f(T),
|
|
14893
14894
|
style: Se({ width: v.value })
|
|
14894
14895
|
}, [
|
|
14895
|
-
S("div",
|
|
14896
|
+
S("div", Yg, [
|
|
14896
14897
|
X(" 若为默认40,则simple-icon设置为20,否则设置为iconSize "),
|
|
14897
14898
|
Y(x(Pa), {
|
|
14898
14899
|
file: T,
|
|
@@ -14910,16 +14911,13 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
14910
14911
|
style: Se({ width: `calc(100% - ${a.iconSize + 10}px)` })
|
|
14911
14912
|
},
|
|
14912
14913
|
[
|
|
14913
|
-
S(
|
|
14914
|
-
"
|
|
14915
|
-
|
|
14916
|
-
|
|
14917
|
-
1
|
|
14918
|
-
/* TEXT */
|
|
14919
|
-
),
|
|
14914
|
+
S("p", {
|
|
14915
|
+
class: "fileName simple",
|
|
14916
|
+
title: T.name
|
|
14917
|
+
}, Te(T.name), 9, Xg),
|
|
14920
14918
|
a.showFileSize ? (E(), R(
|
|
14921
14919
|
"p",
|
|
14922
|
-
|
|
14920
|
+
Zg,
|
|
14923
14921
|
Te(T.size ? `(${x(Ei)(T.size)})` : ""),
|
|
14924
14922
|
1
|
|
14925
14923
|
/* TEXT */
|
|
@@ -14943,7 +14941,7 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
14943
14941
|
onClick: et((j) => f(T), ["stop"]),
|
|
14944
14942
|
title: "预览"
|
|
14945
14943
|
}, null, 8, ["onClick"])) : X("v-if", !0)
|
|
14946
|
-
], 12,
|
|
14944
|
+
], 12, $g))),
|
|
14947
14945
|
128
|
|
14948
14946
|
/* KEYED_FRAGMENT */
|
|
14949
14947
|
))
|
|
@@ -14981,17 +14979,14 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
14981
14979
|
class: "ikui-w-auto",
|
|
14982
14980
|
fields: u.value
|
|
14983
14981
|
}, null, 8, ["file", "style", "fields"]),
|
|
14984
|
-
S("div",
|
|
14985
|
-
S(
|
|
14986
|
-
"
|
|
14987
|
-
|
|
14988
|
-
|
|
14989
|
-
1
|
|
14990
|
-
/* TEXT */
|
|
14991
|
-
),
|
|
14982
|
+
S("div", Qg, [
|
|
14983
|
+
S("div", {
|
|
14984
|
+
class: "fileName",
|
|
14985
|
+
title: T.name
|
|
14986
|
+
}, Te(T.name), 9, ev),
|
|
14992
14987
|
S(
|
|
14993
14988
|
"div",
|
|
14994
|
-
|
|
14989
|
+
tv,
|
|
14995
14990
|
Te(x(Ei)(T.size)),
|
|
14996
14991
|
1
|
|
14997
14992
|
/* TEXT */
|
|
@@ -15026,7 +15021,7 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
15026
15021
|
2
|
|
15027
15022
|
/* CLASS */
|
|
15028
15023
|
)
|
|
15029
|
-
], 8,
|
|
15024
|
+
], 8, Jg)
|
|
15030
15025
|
],
|
|
15031
15026
|
6
|
|
15032
15027
|
/* CLASS, STYLE */
|
|
@@ -15043,7 +15038,7 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
15043
15038
|
64
|
|
15044
15039
|
/* STABLE_FRAGMENT */
|
|
15045
15040
|
)) : X("v-if", !0),
|
|
15046
|
-
Y(x(
|
|
15041
|
+
Y(x(Lc), {
|
|
15047
15042
|
onClose: g,
|
|
15048
15043
|
show: c.value,
|
|
15049
15044
|
"onUpdate:show": w[0] || (w[0] = (T) => c.value = T),
|
|
@@ -15059,8 +15054,8 @@ const Hg = ["id"], Ug = /* @__PURE__ */ ne({
|
|
|
15059
15054
|
);
|
|
15060
15055
|
};
|
|
15061
15056
|
}
|
|
15062
|
-
}),
|
|
15057
|
+
}), sv = Ye(iv);
|
|
15063
15058
|
export {
|
|
15064
|
-
|
|
15065
|
-
|
|
15059
|
+
sv as IkPreviewFile,
|
|
15060
|
+
sv as default
|
|
15066
15061
|
};
|