iking-web-ui-pro 0.2.33 → 0.2.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/IKPreviewFile/ik.index.es.js +604 -600
  2. package/dist/IKPreviewFile/ik.index.umd.js +46 -46
  3. package/dist/IKSearch/ik.index.es.js +623 -623
  4. package/dist/IKSearch/ik.index.umd.js +2 -2
  5. package/dist/IKSearch/style.css +1 -1
  6. package/dist/IkApprovalProcess/ik.index.es.js +463 -463
  7. package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
  8. package/dist/IkApprovalProcess/style.css +1 -1
  9. package/dist/IkApprovalProcessDetail/ik.index.es.js +675 -671
  10. package/dist/IkApprovalProcessDetail/ik.index.umd.js +46 -46
  11. package/dist/IkBaseDialog/ik.index.es.js +2 -1
  12. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  13. package/dist/IkCalendar/ik.index.es.js +1583 -1583
  14. package/dist/IkCalendar/ik.index.umd.js +1 -1
  15. package/dist/IkCalendar/style.css +1 -1
  16. package/dist/IkDescription/ik.index.es.js +827 -847
  17. package/dist/IkDescription/ik.index.umd.js +46 -46
  18. package/dist/IkDescription/style.css +1 -1
  19. package/dist/IkDetailPreviewFiles/ik.index.es.js +619 -615
  20. package/dist/IkDetailPreviewFiles/ik.index.umd.js +46 -46
  21. package/dist/IkPageFull/ik.index.es.js +689 -689
  22. package/dist/IkPageFull/ik.index.umd.js +3 -3
  23. package/dist/IkPageFull/style.css +1 -1
  24. package/dist/IkPickerUser/ik.index.es.js +317 -317
  25. package/dist/IkPickerUser/ik.index.umd.js +1 -1
  26. package/dist/IkPickerUser/style.css +1 -1
  27. package/dist/IkPlayer/ik.index.es.js +342 -339
  28. package/dist/IkPlayer/ik.index.umd.js +45 -45
  29. package/dist/IkPreviewFileDialog/ik.index.es.js +511 -507
  30. package/dist/IkPreviewFileDialog/ik.index.umd.js +46 -46
  31. package/dist/IkUploadFile/ik.index.es.js +1723 -1721
  32. package/dist/IkUploadFile/ik.index.umd.js +56 -56
  33. package/dist/IkUploadFile/style.css +1 -1
  34. package/dist/IkUploadImage/ik.index.es.js +273 -270
  35. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  36. package/dist/index.es.js +13192 -13217
  37. package/dist/index.umd.js +106 -106
  38. package/dist/src/components/IkDescription/index.d.ts +0 -76
  39. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +0 -36
  40. package/dist/style.css +1 -1
  41. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { defineComponent as J, computed as Y, openBlock as S, createElementBlock as D, createElementVNode as T, inject as ot, mergeModels as Ct, useModel as fi, ref as de, reactive as ir, watch as ut, nextTick as hi, Fragment as Ve, createBlock as pe, unref as E, createCommentVNode as ee, createVNode as G, withCtx as Q, resolveComponent as ct, normalizeClass as K, normalizeStyle as ue, createTextVNode as ei, toDisplayString as nt, h as nr, mergeProps as rr, createSlots as sr, renderSlot as Oe, getCurrentScope as or, onScopeDispose as ar, markRaw as Oi, effectScope as lr, shallowRef as ur, onMounted as cr, Teleport as yn, Transition as _n, withModifiers as ti, resolveDynamicComponent as fr, renderList as ii, withDirectives as hr, vShow as dr } from "vue";
2
- import { buildUUID as Cn, ikColor as gr, paramType as ni, _ as Ht, ikFile as pr } from "iking-utils-pro";
3
- import { useLocale as vr, useNamespace as kn, useZIndex as mr, ElIcon as Pe, EVENT_CODE as Ke } from "element-plus";
1
+ import { defineComponent as J, computed as Y, openBlock as S, createElementBlock as D, createElementVNode as T, inject as ot, mergeModels as Ct, useModel as fi, ref as de, reactive as nr, watch as ut, nextTick as hi, Fragment as Ve, createBlock as pe, unref as E, createCommentVNode as ee, createVNode as G, withCtx as Q, resolveComponent as ct, normalizeClass as K, normalizeStyle as ue, createTextVNode as ei, toDisplayString as nt, h as rr, mergeProps as sr, createSlots as or, renderSlot as Oe, getCurrentScope as ar, onScopeDispose as lr, markRaw as Oi, effectScope as ur, shallowRef as cr, onMounted as fr, Teleport as _n, Transition as Cn, withModifiers as ti, resolveDynamicComponent as hr, renderList as ii, withDirectives as dr, vShow as gr } from "vue";
2
+ import { buildUUID as kn, ikColor as pr, paramType as ni, _ as Ht, ikFile as vr } from "iking-utils-pro";
3
+ import { useLocale as mr, useNamespace as wn, useZIndex as yr, ElIcon as Pe, EVENT_CODE as Ke } from "element-plus";
4
4
  const Fe = (a, o) => {
5
5
  if (a.install = (r) => {
6
6
  for (const t of [a, ...Object.values(o ?? {})])
@@ -31,7 +31,7 @@ const Fe = (a, o) => {
31
31
  if (typeof t == "string" && (t.includes(u) || t === u))
32
32
  return e[u];
33
33
  return "unknown";
34
- }, yr = {
34
+ }, _r = {
35
35
  ".doc": "word",
36
36
  ".docx": "word",
37
37
  ".docxf": "word",
@@ -118,11 +118,11 @@ const Fe = (a, o) => {
118
118
  ".pdf": "pdf"
119
119
  }, Ri = (a) => {
120
120
  const o = a == null ? void 0 : a.toLocaleLowerCase(), r = o != null && o.startsWith(".") ? o : `.${o}`;
121
- return r && yr[r] || "unknow";
122
- }, _r = (a) => {
121
+ return r && _r[r] || "unknow";
122
+ }, Cr = (a) => {
123
123
  let o = "", r = ["doc", "docx"], t = ["xls", "xlsx"], e = ["ppt", "pptx"], i = ["pdf"];
124
124
  return r.includes(a) && (o = "word"), t.includes(a) && (o = "cell"), e.includes(a) && (o = "slide"), i.includes(a) && (o = "text-pdf"), o;
125
- }, Cr = {
125
+ }, kr = {
126
126
  key: 0,
127
127
  t: "1686300059786",
128
128
  class: "icon",
@@ -132,7 +132,7 @@ const Fe = (a, o) => {
132
132
  "p-id": "7671",
133
133
  width: "200",
134
134
  height: "200"
135
- }, kr = /* @__PURE__ */ T(
135
+ }, wr = /* @__PURE__ */ T(
136
136
  "path",
137
137
  {
138
138
  d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
@@ -142,7 +142,7 @@ const Fe = (a, o) => {
142
142
  null,
143
143
  -1
144
144
  /* HOISTED */
145
- ), wr = /* @__PURE__ */ T(
145
+ ), br = /* @__PURE__ */ T(
146
146
  "path",
147
147
  {
148
148
  d: "M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",
@@ -152,7 +152,7 @@ const Fe = (a, o) => {
152
152
  null,
153
153
  -1
154
154
  /* HOISTED */
155
- ), br = /* @__PURE__ */ T(
155
+ ), Tr = /* @__PURE__ */ T(
156
156
  "path",
157
157
  {
158
158
  d: "M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",
@@ -162,7 +162,7 @@ const Fe = (a, o) => {
162
162
  null,
163
163
  -1
164
164
  /* HOISTED */
165
- ), Tr = /* @__PURE__ */ T(
165
+ ), Er = /* @__PURE__ */ T(
166
166
  "path",
167
167
  {
168
168
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -172,12 +172,12 @@ const Fe = (a, o) => {
172
172
  null,
173
173
  -1
174
174
  /* HOISTED */
175
- ), Er = [
176
- kr,
175
+ ), Sr = [
177
176
  wr,
178
177
  br,
179
- Tr
180
- ], Sr = {
178
+ Tr,
179
+ Er
180
+ ], xr = {
181
181
  key: 1,
182
182
  t: "1686301531714",
183
183
  class: "icon",
@@ -187,7 +187,7 @@ const Fe = (a, o) => {
187
187
  "p-id": "9067",
188
188
  width: "200",
189
189
  height: "200"
190
- }, xr = /* @__PURE__ */ T(
190
+ }, Ir = /* @__PURE__ */ T(
191
191
  "path",
192
192
  {
193
193
  d: "M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",
@@ -197,7 +197,7 @@ const Fe = (a, o) => {
197
197
  null,
198
198
  -1
199
199
  /* HOISTED */
200
- ), Ir = /* @__PURE__ */ T(
200
+ ), Pr = /* @__PURE__ */ T(
201
201
  "path",
202
202
  {
203
203
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -207,10 +207,10 @@ const Fe = (a, o) => {
207
207
  null,
208
208
  -1
209
209
  /* HOISTED */
210
- ), Pr = [
211
- xr,
212
- Ir
213
- ], Lr = {
210
+ ), Lr = [
211
+ Ir,
212
+ Pr
213
+ ], Ar = {
214
214
  key: 2,
215
215
  t: "1686300141125",
216
216
  class: "icon",
@@ -220,7 +220,7 @@ const Fe = (a, o) => {
220
220
  "p-id": "8137",
221
221
  width: "200",
222
222
  height: "200"
223
- }, Ar = /* @__PURE__ */ T(
223
+ }, Dr = /* @__PURE__ */ T(
224
224
  "path",
225
225
  {
226
226
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",
@@ -230,7 +230,7 @@ const Fe = (a, o) => {
230
230
  null,
231
231
  -1
232
232
  /* HOISTED */
233
- ), Dr = /* @__PURE__ */ T(
233
+ ), Or = /* @__PURE__ */ T(
234
234
  "path",
235
235
  {
236
236
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -240,10 +240,10 @@ const Fe = (a, o) => {
240
240
  null,
241
241
  -1
242
242
  /* HOISTED */
243
- ), Or = [
244
- Ar,
245
- Dr
246
- ], Rr = {
243
+ ), Rr = [
244
+ Dr,
245
+ Or
246
+ ], Mr = {
247
247
  key: 3,
248
248
  t: "1686300157181",
249
249
  class: "icon",
@@ -253,7 +253,7 @@ const Fe = (a, o) => {
253
253
  "p-id": "8292",
254
254
  width: "200",
255
255
  height: "200"
256
- }, Mr = /* @__PURE__ */ T(
256
+ }, Fr = /* @__PURE__ */ T(
257
257
  "path",
258
258
  {
259
259
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 607.573333l68.266667 191.146667c13.653333 27.306667 54.613333 27.306667 61.44 0l102.4-273.066667c6.826667-20.48 0-34.133333-20.48-40.96s-34.133333 0-40.96 13.653334l-68.266667 191.146666-68.266667-191.146666c-13.653333-27.306667-54.613333-27.306667-68.266666 0l-68.266667 191.146666-68.266667-191.146666c-6.826667-13.653333-27.306667-27.306667-47.786666-20.48s-27.306667 27.306667-20.48 47.786666l102.4 273.066667c13.653333 27.306667 54.613333 27.306667 61.44 0l75.093333-191.146667z",
@@ -263,7 +263,7 @@ const Fe = (a, o) => {
263
263
  null,
264
264
  -1
265
265
  /* HOISTED */
266
- ), Fr = /* @__PURE__ */ T(
266
+ ), Nr = /* @__PURE__ */ T(
267
267
  "path",
268
268
  {
269
269
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -273,10 +273,10 @@ const Fe = (a, o) => {
273
273
  null,
274
274
  -1
275
275
  /* HOISTED */
276
- ), Nr = [
277
- Mr,
278
- Fr
279
- ], Br = {
276
+ ), Br = [
277
+ Fr,
278
+ Nr
279
+ ], Hr = {
280
280
  key: 4,
281
281
  t: "1686300180947",
282
282
  class: "icon",
@@ -286,7 +286,7 @@ const Fe = (a, o) => {
286
286
  "p-id": "8447",
287
287
  width: "200",
288
288
  height: "200"
289
- }, Hr = /* @__PURE__ */ T(
289
+ }, Ur = /* @__PURE__ */ T(
290
290
  "path",
291
291
  {
292
292
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",
@@ -296,7 +296,7 @@ const Fe = (a, o) => {
296
296
  null,
297
297
  -1
298
298
  /* HOISTED */
299
- ), Ur = /* @__PURE__ */ T(
299
+ ), zr = /* @__PURE__ */ T(
300
300
  "path",
301
301
  {
302
302
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -306,10 +306,10 @@ const Fe = (a, o) => {
306
306
  null,
307
307
  -1
308
308
  /* HOISTED */
309
- ), zr = [
310
- Hr,
311
- Ur
312
- ], Vr = {
309
+ ), Vr = [
310
+ Ur,
311
+ zr
312
+ ], jr = {
313
313
  key: 5,
314
314
  t: "1686300195363",
315
315
  class: "icon",
@@ -319,7 +319,7 @@ const Fe = (a, o) => {
319
319
  "p-id": "8602",
320
320
  width: "200",
321
321
  height: "200"
322
- }, jr = /* @__PURE__ */ T(
322
+ }, Wr = /* @__PURE__ */ T(
323
323
  "path",
324
324
  {
325
325
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",
@@ -329,7 +329,7 @@ const Fe = (a, o) => {
329
329
  null,
330
330
  -1
331
331
  /* HOISTED */
332
- ), Wr = /* @__PURE__ */ T(
332
+ ), Gr = /* @__PURE__ */ T(
333
333
  "path",
334
334
  {
335
335
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -339,10 +339,10 @@ const Fe = (a, o) => {
339
339
  null,
340
340
  -1
341
341
  /* HOISTED */
342
- ), Gr = [
343
- jr,
344
- Wr
345
- ], $r = {
342
+ ), $r = [
343
+ Wr,
344
+ Gr
345
+ ], Kr = {
346
346
  key: 6,
347
347
  t: "1686300209288",
348
348
  class: "icon",
@@ -352,7 +352,7 @@ const Fe = (a, o) => {
352
352
  "p-id": "8757",
353
353
  width: "200",
354
354
  height: "200"
355
- }, Kr = /* @__PURE__ */ T(
355
+ }, Yr = /* @__PURE__ */ T(
356
356
  "path",
357
357
  {
358
358
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",
@@ -362,7 +362,7 @@ const Fe = (a, o) => {
362
362
  null,
363
363
  -1
364
364
  /* HOISTED */
365
- ), Yr = /* @__PURE__ */ T(
365
+ ), Xr = /* @__PURE__ */ T(
366
366
  "path",
367
367
  {
368
368
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -372,10 +372,10 @@ const Fe = (a, o) => {
372
372
  null,
373
373
  -1
374
374
  /* HOISTED */
375
- ), Xr = [
376
- Kr,
377
- Yr
378
- ], qr = {
375
+ ), qr = [
376
+ Yr,
377
+ Xr
378
+ ], Zr = {
379
379
  key: 7,
380
380
  t: "1686300225262",
381
381
  class: "icon",
@@ -385,7 +385,7 @@ const Fe = (a, o) => {
385
385
  "p-id": "8912",
386
386
  width: "200",
387
387
  height: "200"
388
- }, Zr = /* @__PURE__ */ T(
388
+ }, Jr = /* @__PURE__ */ T(
389
389
  "path",
390
390
  {
391
391
  d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",
@@ -395,7 +395,7 @@ const Fe = (a, o) => {
395
395
  null,
396
396
  -1
397
397
  /* HOISTED */
398
- ), Jr = /* @__PURE__ */ T(
398
+ ), Qr = /* @__PURE__ */ T(
399
399
  "path",
400
400
  {
401
401
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -405,10 +405,10 @@ const Fe = (a, o) => {
405
405
  null,
406
406
  -1
407
407
  /* HOISTED */
408
- ), Qr = [
409
- Zr,
410
- Jr
411
- ], es = {
408
+ ), es = [
409
+ Jr,
410
+ Qr
411
+ ], ts = {
412
412
  key: 8,
413
413
  t: "1692251753690",
414
414
  class: "icon",
@@ -418,7 +418,7 @@ const Fe = (a, o) => {
418
418
  "p-id": "4336",
419
419
  width: "200",
420
420
  height: "200"
421
- }, ts = /* @__PURE__ */ T(
421
+ }, is = /* @__PURE__ */ T(
422
422
  "path",
423
423
  {
424
424
  d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
@@ -428,7 +428,7 @@ const Fe = (a, o) => {
428
428
  null,
429
429
  -1
430
430
  /* HOISTED */
431
- ), is = /* @__PURE__ */ T(
431
+ ), ns = /* @__PURE__ */ T(
432
432
  "path",
433
433
  {
434
434
  d: "M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",
@@ -439,7 +439,7 @@ const Fe = (a, o) => {
439
439
  null,
440
440
  -1
441
441
  /* HOISTED */
442
- ), ns = /* @__PURE__ */ T(
442
+ ), rs = /* @__PURE__ */ T(
443
443
  "path",
444
444
  {
445
445
  d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
@@ -449,11 +449,11 @@ const Fe = (a, o) => {
449
449
  null,
450
450
  -1
451
451
  /* HOISTED */
452
- ), rs = [
453
- ts,
452
+ ), ss = [
454
453
  is,
455
- ns
456
- ], ss = {
454
+ ns,
455
+ rs
456
+ ], os = {
457
457
  key: 9,
458
458
  t: "1692251753690",
459
459
  class: "icon",
@@ -463,7 +463,7 @@ const Fe = (a, o) => {
463
463
  "p-id": "4336",
464
464
  width: "200",
465
465
  height: "200"
466
- }, os = /* @__PURE__ */ T(
466
+ }, as = /* @__PURE__ */ T(
467
467
  "path",
468
468
  {
469
469
  d: "M145.6 0C100.8 0 64 36.8 64 81.6v860.8C64 987.2 100.8 1024 145.6 1024h732.8c44.8 0 81.6-36.8 81.6-81.6V324.8L657.6 0h-512z",
@@ -473,7 +473,7 @@ const Fe = (a, o) => {
473
473
  null,
474
474
  -1
475
475
  /* HOISTED */
476
- ), as = /* @__PURE__ */ T(
476
+ ), ls = /* @__PURE__ */ T(
477
477
  "path",
478
478
  {
479
479
  d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
@@ -483,7 +483,7 @@ const Fe = (a, o) => {
483
483
  null,
484
484
  -1
485
485
  /* HOISTED */
486
- ), ls = /* @__PURE__ */ T(
486
+ ), us = /* @__PURE__ */ T(
487
487
  "path",
488
488
  {
489
489
  d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
@@ -494,7 +494,7 @@ const Fe = (a, o) => {
494
494
  null,
495
495
  -1
496
496
  /* HOISTED */
497
- ), us = /* @__PURE__ */ T(
497
+ ), cs = /* @__PURE__ */ T(
498
498
  "path",
499
499
  {
500
500
  d: "M344 862.4h-100.8c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h100.8c4.8 0 9.6 4.8 9.6 11.2 0 6.4-4.8 9.6-9.6 9.6h-94.4v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h94.4c4.8 0 9.6 4.8 9.6 9.6 0 6.4-4.8 11.2-9.6 11.2z m193.6 1.6c-4.8 0-8 0-9.6-3.2l-59.2-80-60.8 80c-1.6 3.2-4.8 3.2-8 3.2-6.4 0-11.2-4.8-11.2-11.2 0-1.6 0-4.8 1.6-6.4l62.4-81.6-57.6-78.4c-1.6-1.6-3.2-3.2-3.2-6.4 0-4.8 4.8-11.2 12.8-11.2 3.2 0 6.4 1.6 8 4.8l56 73.6 54.4-73.6c1.6-3.2 4.8-4.8 9.6-4.8s11.2 4.8 11.2 11.2c0 3.2 0 4.8-1.6 6.4l-57.6 76.8 60.8 83.2c1.6 1.6 3.2 4.8 3.2 6.4 0 6.4-6.4 11.2-11.2 11.2z m171.2-1.6h-99.2c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h99.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-92.8v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h92.8c6.4 0 11.2 4.8 11.2 9.6 0 6.4-4.8 11.2-11.2 11.2z",
@@ -504,12 +504,12 @@ const Fe = (a, o) => {
504
504
  null,
505
505
  -1
506
506
  /* HOISTED */
507
- ), cs = [
508
- os,
507
+ ), fs = [
509
508
  as,
510
509
  ls,
511
- us
512
- ], fs = {
510
+ us,
511
+ cs
512
+ ], hs = {
513
513
  key: 10,
514
514
  t: "1714099890925",
515
515
  class: "icon",
@@ -519,7 +519,7 @@ const Fe = (a, o) => {
519
519
  "p-id": "2271",
520
520
  width: "200",
521
521
  height: "200"
522
- }, hs = /* @__PURE__ */ T(
522
+ }, ds = /* @__PURE__ */ T(
523
523
  "path",
524
524
  {
525
525
  d: "M227.555556 28.444444h389.404444a19.911111 19.911111 0 0 1 14.734222 6.542223l271.132445 298.211555a28.444444 28.444444 0 0 1 7.395555 19.143111V938.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H227.555556a56.888889 56.888889 0 0 1-56.888889-56.888889V85.333333a56.888889 56.888889 0 0 1 56.888889-56.888889z",
@@ -529,7 +529,7 @@ const Fe = (a, o) => {
529
529
  null,
530
530
  -1
531
531
  /* HOISTED */
532
- ), ds = /* @__PURE__ */ T(
532
+ ), gs = /* @__PURE__ */ T(
533
533
  "path",
534
534
  {
535
535
  d: "M625.777778 30.492444a19.911111 19.911111 0 0 1 5.916444 4.465778l271.132445 298.24a28.444444 28.444444 0 0 1 5.176889 8.135111H682.666667a56.888889 56.888889 0 0 1-56.888889-56.888889V30.492444z",
@@ -540,7 +540,7 @@ const Fe = (a, o) => {
540
540
  null,
541
541
  -1
542
542
  /* HOISTED */
543
- ), gs = /* @__PURE__ */ T(
543
+ ), ps = /* @__PURE__ */ T(
544
544
  "path",
545
545
  {
546
546
  d: "M396.288 645.176889c0 5.461333-0.796444 10.865778-2.389333 16.156444-1.592889 5.319111-4.266667 10.069333-7.964445 14.222223-3.697778 4.181333-8.647111 7.509333-14.791111 10.012444a60.871111 60.871111 0 0 1-22.869333 3.754667c-15.160889 0-26.851556-3.982222-35.043556-11.946667-8.192-7.964444-12.288-19.683556-12.288-35.157333v-10.012445h21.617778v6.826667c0 4.721778 0.369778 9.045333 1.137778 12.970667a28.074667 28.074667 0 0 0 3.982222 10.24 18.773333 18.773333 0 0 0 7.964444 6.712888c3.413333 1.592889 7.765333 2.389333 13.084445 2.389334 9.870222 0 16.64-2.645333 20.366222-7.964445 3.697778-5.290667 5.575111-12.430222 5.575111-21.390222v-118.784h21.617778v121.969778z m44.145778 3.413333c0.142222 4.266667 1.137778 7.850667 2.958222 10.808889a20.593778 20.593778 0 0 0 7.168 7.054222c2.958222 1.763556 6.286222 3.015111 10.012444 3.754667 3.697778 0.768 7.537778 1.137778 11.491556 1.137778 3.043556 0 6.229333-0.227556 9.557333-0.682667 3.328-0.455111 6.4-1.28 9.216-2.503111a17.294222 17.294222 0 0 0 6.940445-5.347556 14.250667 14.250667 0 0 0 2.730666-8.988444 12.885333 12.885333 0 0 0-5.688888-11.377778c-3.783111-2.56-8.533333-4.664889-14.222223-6.257778a232.561778 232.561778 0 0 0-18.545777-4.323555 96.227556 96.227556 0 0 1-18.545778-5.461333 38.4 38.4 0 0 1-14.222222-9.898667c-3.783111-4.266667-5.688889-10.154667-5.688889-17.749333a28.16 28.16 0 0 1 3.982222-15.246223c2.645333-4.266667 6.058667-7.68 10.24-10.353777 4.181333-2.645333 8.874667-4.608 14.108444-5.916445 5.233778-1.28 10.439111-1.934222 15.587556-1.934222 6.684444 0 12.8 0.568889 18.432 1.706667 5.603556 1.137778 10.581333 3.128889 14.904889 5.916444 4.323556 2.816 7.765333 6.599111 10.353778 11.377778 2.56 4.778667 4.096 10.752 4.551111 17.863111h-19.342223a19.569778 19.569778 0 0 0-2.958222-9.443556 19.370667 19.370667 0 0 0-6.371555-6.030222 28.956444 28.956444 0 0 0-8.533334-3.299555 43.918222 43.918222 0 0 0-9.443555-1.024c-2.872889 0-5.802667 0.227556-8.760889 0.682666a29.496889 29.496889 0 0 0-8.078222 2.389334 16.270222 16.270222 0 0 0-5.916445 4.551111 11.463111 11.463111 0 0 0-2.275555 7.395555c0 3.356444 1.166222 6.115556 3.527111 8.305778a28.16 28.16 0 0 0 8.988444 5.461333c3.640889 1.422222 7.736889 2.673778 12.288 3.640889 4.551111 0.995556 9.102222 1.991111 13.653334 3.072 4.835556 1.080889 9.585778 2.360889 14.222222 3.868445 4.636444 1.536 8.732444 3.527111 12.288 6.030222s6.456889 5.660444 8.647111 9.443555a27.733333 27.733333 0 0 1 3.299555 14.108445c0 7.111111-1.479111 13.056-4.437333 17.749333a34.702222 34.702222 0 0 1-11.605333 11.377778 48.497778 48.497778 0 0 1-16.156445 6.030222c-5.973333 1.137778-11.946667 1.706667-17.863111 1.706667a82.773333 82.773333 0 0 1-18.659555-2.048 45.795556 45.795556 0 0 1-15.701334-6.712889 34.218667 34.218667 0 0 1-10.922666-12.288 42.581333 42.581333 0 0 1-4.551111-18.545778h19.342222z m116.053333-21.617778c0 7.111111 0.938667 13.482667 2.844445 19.000889 1.905778 5.546667 4.522667 10.183111 7.850666 13.880889a34.076444 34.076444 0 0 0 25.941334 11.491556 34.076444 34.076444 0 0 0 25.941333-11.491556c3.328-3.697778 5.973333-8.334222 7.850667-13.880889 1.905778-5.518222 2.844444-11.861333 2.844444-19.000889 0-7.111111-0.938667-13.454222-2.844444-19.000888a41.016889 41.016889 0 0 0-7.850667-13.994667 33.422222 33.422222 0 0 0-11.719111-8.647111 34.872889 34.872889 0 0 0-14.222222-2.958222c-5.006222 0-9.756444 0.995556-14.222223 2.958222-4.465778 1.991111-8.391111 4.835556-11.719111 8.647111-3.328 3.811556-5.973333 8.476444-7.850666 13.994667-1.905778 5.546667-2.844444 11.889778-2.844445 19.000888z m-20.48 0c0-8.647111 1.223111-16.725333 3.640889-24.234666a54.897778 54.897778 0 0 1 10.922667-19.569778c4.835556-5.518222 10.837333-9.898667 17.976889-13.084444 7.111111-3.185778 15.331556-4.778667 24.576-4.778667 9.386667 0 17.635556 1.592889 24.689777 4.778667 7.054222 3.185778 12.999111 7.566222 17.863111 13.084444 4.835556 5.546667 8.504889 12.060444 10.922667 19.569778 2.417778 7.509333 3.640889 15.587556 3.640889 24.234666 0 8.647111-1.223111 16.696889-3.640889 24.120889-2.417778 7.452444-6.058667 13.937778-10.922667 19.456-4.835556 5.546667-10.808889 9.870222-17.863111 12.970667-7.054222 3.128889-15.274667 4.664889-24.689777 4.664889-9.244444 0-17.436444-1.536-24.576-4.664889a50.261333 50.261333 0 0 1-17.976889-12.970667 55.068444 55.068444 0 0 1-10.922667-19.456 77.283556 77.283556 0 0 1-3.640889-24.120889z m136.988445-58.936888h18.204444v18.659555h0.455111c8.049778-14.250667 20.764444-21.390222 38.229333-21.390222 7.736889 0 14.193778 1.080889 19.342223 3.185778 5.148444 2.133333 9.329778 5.091556 12.515555 8.874666 3.185778 3.811556 5.404444 8.305778 6.712889 13.539556 1.28 5.233778 1.934222 11.036444 1.934222 17.408v77.368889h-19.342222v-79.644445c0-7.281778-2.133333-13.027556-6.371555-17.294222-4.266667-4.266667-10.097778-6.371556-17.521778-6.371555-5.916444 0-11.036444 0.910222-15.36 2.730666a28.814222 28.814222 0 0 0-10.808889 7.736889 33.336889 33.336889 0 0 0-6.485333 11.719111c-1.422222 4.494222-2.161778 9.386667-2.161778 14.677334v66.446222h-19.342222V568.035556z",
@@ -550,11 +550,11 @@ const Fe = (a, o) => {
550
550
  null,
551
551
  -1
552
552
  /* HOISTED */
553
- ), ps = [
554
- hs,
553
+ ), vs = [
555
554
  ds,
556
- gs
557
- ], vs = {
555
+ gs,
556
+ ps
557
+ ], ms = {
558
558
  key: 11,
559
559
  t: "1686300037564",
560
560
  class: "icon",
@@ -564,7 +564,7 @@ const Fe = (a, o) => {
564
564
  "p-id": "7515",
565
565
  width: "200",
566
566
  height: "200"
567
- }, ms = /* @__PURE__ */ T(
567
+ }, ys = /* @__PURE__ */ T(
568
568
  "path",
569
569
  {
570
570
  d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
@@ -574,7 +574,7 @@ const Fe = (a, o) => {
574
574
  null,
575
575
  -1
576
576
  /* HOISTED */
577
- ), ys = /* @__PURE__ */ T(
577
+ ), _s = /* @__PURE__ */ T(
578
578
  "path",
579
579
  {
580
580
  d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
@@ -584,7 +584,7 @@ const Fe = (a, o) => {
584
584
  null,
585
585
  -1
586
586
  /* HOISTED */
587
- ), _s = /* @__PURE__ */ T(
587
+ ), Cs = /* @__PURE__ */ T(
588
588
  "path",
589
589
  {
590
590
  d: "M384 499.2c0-25.6 5.12-46.08 10.24-58.88 5.12-12.8 15.36-25.6 28.16-35.84 12.8-12.8 25.6-20.48 43.52-25.6 15.36-5.12 30.72-7.68 48.64-7.68 35.84 0 64 10.24 89.6 30.72C627.2 422.4 640 448 640 481.28c0 15.36-5.12 28.16-10.24 40.96s-17.92 28.16-38.4 46.08-28.16 30.72-35.84 38.4c-7.68 7.68-10.24 17.92-15.36 28.16-5.12 10.24-2.56 17.92-2.56 43.52h-51.2c0-25.6 2.56-38.4 5.12-51.2s7.68-23.04 15.36-33.28 15.36-23.04 33.28-40.96c17.92-17.92 30.72-30.72 35.84-38.4 5.12-7.68 10.24-20.48 10.24-38.4s-7.68-30.72-20.48-43.52-30.72-20.48-53.76-20.48c-51.2 0-76.8 35.84-76.8 87.04h-51.2z m153.6 281.6h-51.2v-51.2h51.2v51.2z",
@@ -594,11 +594,11 @@ const Fe = (a, o) => {
594
594
  null,
595
595
  -1
596
596
  /* HOISTED */
597
- ), Cs = [
598
- ms,
597
+ ), ks = [
599
598
  ys,
600
- _s
601
- ], ks = /* @__PURE__ */ J({
599
+ _s,
600
+ Cs
601
+ ], ws = /* @__PURE__ */ J({
602
602
  __name: "IkFileIcon",
603
603
  props: {
604
604
  type: {
@@ -620,11 +620,11 @@ const Fe = (a, o) => {
620
620
  },
621
621
  setup(a) {
622
622
  const o = a, r = Y(() => o.file ? ri(o.file, o.fields) : o.type);
623
- return (t, e) => r.value === "image" ? (S(), D("svg", Cr, Er)) : r.value === "zip" ? (S(), D("svg", Sr, Pr)) : r.value === "ppt" ? (S(), D("svg", Lr, Or)) : r.value === "word" ? (S(), D("svg", Rr, Nr)) : r.value === "pdf" ? (S(), D("svg", Br, zr)) : r.value === "txt" ? (S(), D("svg", Vr, Gr)) : r.value === "audio" ? (S(), D("svg", $r, Xr)) : r.value === "video" ? (S(), D("svg", qr, Qr)) : r.value === "excel" ? (S(), D("svg", es, rs)) : r.value === "exe" ? (S(), D("svg", ss, cs)) : r.value === "json" ? (S(), D("svg", fs, ps)) : (S(), D("svg", vs, Cs));
623
+ return (t, e) => r.value === "image" ? (S(), D("svg", kr, Sr)) : r.value === "zip" ? (S(), D("svg", xr, Lr)) : r.value === "ppt" ? (S(), D("svg", Ar, Rr)) : r.value === "word" ? (S(), D("svg", Mr, Br)) : r.value === "pdf" ? (S(), D("svg", Hr, Vr)) : r.value === "txt" ? (S(), D("svg", jr, $r)) : r.value === "audio" ? (S(), D("svg", Kr, qr)) : r.value === "video" ? (S(), D("svg", Zr, es)) : r.value === "excel" ? (S(), D("svg", ts, ss)) : r.value === "exe" ? (S(), D("svg", os, fs)) : r.value === "json" ? (S(), D("svg", hs, vs)) : (S(), D("svg", ms, ks));
624
624
  }
625
- }), ws = Fe(ks);
625
+ }), bs = Fe(ws);
626
626
  /*! Element Plus Icons Vue v2.3.1 */
627
- var bs = /* @__PURE__ */ J({
627
+ var Ts = /* @__PURE__ */ J({
628
628
  name: "ArrowLeft",
629
629
  __name: "arrow-left",
630
630
  setup(a) {
@@ -638,7 +638,7 @@ var bs = /* @__PURE__ */ J({
638
638
  })
639
639
  ]));
640
640
  }
641
- }), Ts = bs, Es = /* @__PURE__ */ J({
641
+ }), Es = Ts, Ss = /* @__PURE__ */ J({
642
642
  name: "ArrowRight",
643
643
  __name: "arrow-right",
644
644
  setup(a) {
@@ -652,7 +652,7 @@ var bs = /* @__PURE__ */ J({
652
652
  })
653
653
  ]));
654
654
  }
655
- }), Ss = Es, xs = /* @__PURE__ */ J({
655
+ }), xs = Ss, Is = /* @__PURE__ */ J({
656
656
  name: "Close",
657
657
  __name: "close",
658
658
  setup(a) {
@@ -666,7 +666,7 @@ var bs = /* @__PURE__ */ J({
666
666
  })
667
667
  ]));
668
668
  }
669
- }), wn = xs, Is = /* @__PURE__ */ J({
669
+ }), bn = Is, Ps = /* @__PURE__ */ J({
670
670
  name: "FullScreen",
671
671
  __name: "full-screen",
672
672
  setup(a) {
@@ -680,7 +680,7 @@ var bs = /* @__PURE__ */ J({
680
680
  })
681
681
  ]));
682
682
  }
683
- }), Ps = Is, Ls = /* @__PURE__ */ J({
683
+ }), Ls = Ps, As = /* @__PURE__ */ J({
684
684
  name: "RefreshLeft",
685
685
  __name: "refresh-left",
686
686
  setup(a) {
@@ -694,7 +694,7 @@ var bs = /* @__PURE__ */ J({
694
694
  })
695
695
  ]));
696
696
  }
697
- }), As = Ls, Ds = /* @__PURE__ */ J({
697
+ }), Ds = As, Os = /* @__PURE__ */ J({
698
698
  name: "RefreshRight",
699
699
  __name: "refresh-right",
700
700
  setup(a) {
@@ -708,7 +708,7 @@ var bs = /* @__PURE__ */ J({
708
708
  })
709
709
  ]));
710
710
  }
711
- }), Os = Ds, Rs = /* @__PURE__ */ J({
711
+ }), Rs = Os, Ms = /* @__PURE__ */ J({
712
712
  name: "ScaleToOriginal",
713
713
  __name: "scale-to-original",
714
714
  setup(a) {
@@ -722,7 +722,7 @@ var bs = /* @__PURE__ */ J({
722
722
  })
723
723
  ]));
724
724
  }
725
- }), Ms = Rs, Fs = /* @__PURE__ */ J({
725
+ }), Fs = Ms, Ns = /* @__PURE__ */ J({
726
726
  name: "ZoomIn",
727
727
  __name: "zoom-in",
728
728
  setup(a) {
@@ -736,7 +736,7 @@ var bs = /* @__PURE__ */ J({
736
736
  })
737
737
  ]));
738
738
  }
739
- }), Ns = Fs, Bs = /* @__PURE__ */ J({
739
+ }), Bs = Ns, Hs = /* @__PURE__ */ J({
740
740
  name: "ZoomOut",
741
741
  __name: "zoom-out",
742
742
  setup(a) {
@@ -750,13 +750,13 @@ var bs = /* @__PURE__ */ J({
750
750
  })
751
751
  ]));
752
752
  }
753
- }), Hs = Bs;
753
+ }), Us = Hs;
754
754
  const At = (a, o) => {
755
755
  const r = a.__vccOpts || a;
756
756
  for (const [t, e] of o)
757
757
  r[t] = e;
758
758
  return r;
759
- }, Us = (a, o = 2) => {
759
+ }, zs = (a, o = 2) => {
760
760
  if (a === void 0)
761
761
  return "";
762
762
  if (a === 0)
@@ -764,69 +764,72 @@ const At = (a, o) => {
764
764
  const r = ["B", "KB", "MB", "GB", "TB"], t = Math.floor(Math.log(a) / Math.log(1024));
765
765
  let e = a / Math.pow(1024, t);
766
766
  return (e % 1 === 0 ? e.toFixed(o || 0) : e.toFixed(o)) + " " + r[t];
767
- }, ft = (a, o) => o ? o.startsWith("http") ? o : `${a || location.origin}${o}` : "", zs = (a) => {
768
- const o = ot("loadUrl"), r = Y(() => a.loadUrl || a.fileUrl || (o == null ? void 0 : o.value)), t = ot("uploadUrl"), e = Y(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = ot("token"), n = Y(() => a.token || (i == null ? void 0 : i.value)), s = ot("onlyofficeConfig"), l = Y(() => a.onlyofficeConfig || (s == null ? void 0 : s.value)), u = ot("userInfo"), c = Y(() => a.userInfo || (u == null ? void 0 : u.value));
767
+ }, ft = (a, o) => o ? o.startsWith("http") ? o : `${a || location.origin}${o}` : "", Mi = [
768
+ "csv",
769
+ "djvu",
770
+ "doc",
771
+ "docm",
772
+ "docx",
773
+ "docxf",
774
+ "dot",
775
+ "dotm",
776
+ "dotx",
777
+ "epub",
778
+ "fb2",
779
+ "fodp",
780
+ "fods",
781
+ "fodt",
782
+ "htm",
783
+ "html",
784
+ "mht",
785
+ "odp",
786
+ "ods",
787
+ "odt",
788
+ "oform",
789
+ "otp",
790
+ "ots",
791
+ "ott",
792
+ "oxps",
793
+ "pdf",
794
+ "pot",
795
+ "potm",
796
+ "potx",
797
+ "pps",
798
+ "ppsm",
799
+ "ppsx",
800
+ "ppt",
801
+ "pptm",
802
+ "pptx",
803
+ "rtf",
804
+ "txt",
805
+ "xls",
806
+ "xlsb",
807
+ "xlsm",
808
+ "xlsx",
809
+ "xlt",
810
+ "xltm",
811
+ "xltx",
812
+ "xml",
813
+ "xps",
814
+ "png",
815
+ "jpeg",
816
+ "jpg",
817
+ "webp",
818
+ "video",
819
+ "mp4",
820
+ "flv",
821
+ "tls"
822
+ ], Vs = (a) => {
823
+ const o = ot("loadUrl"), r = Y(() => a.loadUrl || a.fileUrl || (o == null ? void 0 : o.value)), t = ot("uploadUrl"), e = Y(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = ot("token"), n = Y(() => a.token || (i == null ? void 0 : i.value)), s = ot("onlyofficeConfig"), l = Y(() => a.onlyofficeConfig || (s == null ? void 0 : s.value)), u = ot("userInfo"), c = Y(() => a.userInfo || (u == null ? void 0 : u.value)), h = [...Mi, ...Mi.map((d) => d.toLocaleUpperCase())];
769
824
  return {
770
825
  cLoadUrl: r,
771
826
  cUploadUrl: e,
772
827
  cToken: n,
773
828
  cOnlyofficeConfig: l,
774
829
  cUserInfo: c,
775
- cOnlyofficePreviewType: [
776
- "csv",
777
- "djvu",
778
- "doc",
779
- "docm",
780
- "docx",
781
- "docxf",
782
- "dot",
783
- "dotm",
784
- "dotx",
785
- "epub",
786
- "fb2",
787
- "fodp",
788
- "fods",
789
- "fodt",
790
- "htm",
791
- "html",
792
- "mht",
793
- "odp",
794
- "ods",
795
- "odt",
796
- "oform",
797
- "otp",
798
- "ots",
799
- "ott",
800
- "oxps",
801
- "pdf",
802
- "pot",
803
- "potm",
804
- "potx",
805
- "pps",
806
- "ppsm",
807
- "ppsx",
808
- "ppt",
809
- "pptm",
810
- "pptx",
811
- "rtf",
812
- "txt",
813
- "xls",
814
- "xlsb",
815
- "xlsm",
816
- "xlsx",
817
- "xlt",
818
- "xltm",
819
- "xltx",
820
- "xml",
821
- "xps",
822
- "png",
823
- "jpeg",
824
- "jpg",
825
- "video",
826
- "mp4"
827
- ]
830
+ cOnlyofficePreviewType: h
828
831
  };
829
- }, bn = zs, Vs = /* @__PURE__ */ J({
832
+ }, Tn = Vs, js = /* @__PURE__ */ J({
830
833
  __name: "IkPreviewFileDialog",
831
834
  props: /* @__PURE__ */ Ct({
832
835
  file: {
@@ -869,7 +872,7 @@ const At = (a, o) => {
869
872
  suffix: "suffix",
870
873
  size: "fileSize",
871
874
  ...o.field
872
- })), e = de(null), i = de(null), n = ir({
875
+ })), e = de(null), i = de(null), n = nr({
873
876
  image: !1,
874
877
  office: !1,
875
878
  video: !1
@@ -900,13 +903,13 @@ const At = (a, o) => {
900
903
  }
901
904
  },
902
905
  document: {
903
- key: Cn(),
906
+ key: kn(),
904
907
  title: P,
905
908
  url: ft(o.loadUrl, b),
906
909
  fileType: w,
907
910
  ...((y = o.onlyOfficeConfig) == null ? void 0 : y.document) || {}
908
911
  },
909
- documentType: _r(w)
912
+ documentType: Cr(w)
910
913
  };
911
914
  return;
912
915
  }
@@ -928,7 +931,7 @@ const At = (a, o) => {
928
931
  Ve,
929
932
  { key: 0 },
930
933
  [
931
- (h = i.value) != null && h.url && n.image ? (S(), pe(E(Po), {
934
+ (h = i.value) != null && h.url && n.image ? (S(), pe(E(Lo), {
932
935
  key: 0,
933
936
  onClose: c[0] || (c[0] = (g) => l()),
934
937
  ref: "previewImgRef",
@@ -938,12 +941,12 @@ const At = (a, o) => {
938
941
  }, null, 8, ["url-list"])) : ee("v-if", !0),
939
942
  ee(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
940
943
  ee(" 文档类 "),
941
- G(E(Gl), {
944
+ G(E($l), {
942
945
  modelValue: n.video,
943
946
  "onUpdate:modelValue": c[1] || (c[1] = (g) => n.video = g),
944
947
  url: (p = i.value) == null ? void 0 : p.url
945
948
  }, null, 8, ["modelValue", "url"]),
946
- G(E(no), {
949
+ G(E(ro), {
947
950
  modelValue: n.office,
948
951
  "onUpdate:modelValue": c[2] || (c[2] = (g) => n.office = g),
949
952
  draggable: "",
@@ -961,7 +964,7 @@ const At = (a, o) => {
961
964
  default: Q(() => {
962
965
  var g;
963
966
  return [
964
- G(E(ho), {
967
+ G(E(go), {
965
968
  "config-options": e.value,
966
969
  "document-server-url": ((g = a.onlyOfficeConfig) == null ? void 0 : g.serverUrl) || a.onlyofficeServer
967
970
  }, null, 8, ["config-options", "document-server-url"])
@@ -977,18 +980,18 @@ const At = (a, o) => {
977
980
  };
978
981
  }
979
982
  });
980
- const js = Fe(Vs), Ws = {
983
+ const Ws = Fe(js), Gs = {
981
984
  key: 0,
982
985
  class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
983
- }, Gs = {
986
+ }, $s = {
984
987
  key: 1,
985
988
  class: "h-[1em] w-[1em]",
986
989
  "aria-hidden": "true"
987
- }, $s = ["xlink:href"], Ks = ["src"], Ys = {
990
+ }, Ks = ["xlink:href"], Ys = ["src"], Xs = {
988
991
  key: 1,
989
992
  class: "h-[1em] w-[1em]",
990
993
  "aria-hidden": "true"
991
- }, Xs = ["xlink:href"], qs = ["src"], Zs = /* @__PURE__ */ J({
994
+ }, qs = ["xlink:href"], Zs = ["src"], Js = /* @__PURE__ */ J({
992
995
  name: "IkSvgIcon",
993
996
  __name: "index",
994
997
  props: {
@@ -1041,14 +1044,14 @@ const js = Fe(Vs), Ws = {
1041
1044
  padding: r.value.showBg || r.value.bg ? r.value.padding : 0,
1042
1045
  ...r.value.color && t.value !== "iksig" ? {
1043
1046
  "--ik-color-icon-dark": r.value.color,
1044
- "--ik-color-icon-light": r.value.colorLight || gr.setOpacity(r.value.color, r.value.opacity)
1047
+ "--ik-color-icon-light": r.value.colorLight || pr.setOpacity(r.value.color, r.value.opacity)
1045
1048
  } : {}
1046
1049
  };
1047
1050
  return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
1048
1051
  });
1049
1052
  return (i, n) => {
1050
1053
  const s = ct("el-tooltip"), l = ct("el-button");
1051
- return r.value.tableIconType === "icon" || !r.value.tableIconType ? (S(), D("span", Ws, [
1054
+ return r.value.tableIconType === "icon" || !r.value.tableIconType ? (S(), D("span", Gs, [
1052
1055
  r.value.notip || !r.value.title ? (S(), D(
1053
1056
  "i",
1054
1057
  {
@@ -1080,15 +1083,15 @@ const js = Fe(Vs), Ws = {
1080
1083
  null,
1081
1084
  6
1082
1085
  /* CLASS, STYLE */
1083
- )) : t.value === "svg" ? (S(), D("svg", Gs, [
1086
+ )) : t.value === "svg" ? (S(), D("svg", $s, [
1084
1087
  T("use", {
1085
1088
  "xlink:href": `#${r.value.name}`
1086
- }, null, 8, $s)
1089
+ }, null, 8, Ks)
1087
1090
  ])) : t.value === "img" ? (S(), D("img", {
1088
1091
  key: 2,
1089
1092
  src: r.value.name,
1090
1093
  class: "h-[1em] w-[1em]"
1091
- }, null, 8, Ks)) : (S(), D(
1094
+ }, null, 8, Ys)) : (S(), D(
1092
1095
  "i",
1093
1096
  {
1094
1097
  key: 3,
@@ -1136,15 +1139,15 @@ const js = Fe(Vs), Ws = {
1136
1139
  null,
1137
1140
  6
1138
1141
  /* CLASS, STYLE */
1139
- )) : t.value === "svg" ? (S(), D("svg", Ys, [
1142
+ )) : t.value === "svg" ? (S(), D("svg", Xs, [
1140
1143
  T("use", {
1141
1144
  "xlink:href": `#${r.value.name}`
1142
- }, null, 8, Xs)
1145
+ }, null, 8, qs)
1143
1146
  ])) : t.value === "img" ? (S(), D("img", {
1144
1147
  key: 2,
1145
1148
  src: r.value.name,
1146
1149
  class: "h-[1em] w-[1em]"
1147
- }, null, 8, qs)) : (S(), D(
1150
+ }, null, 8, Zs)) : (S(), D(
1148
1151
  "i",
1149
1152
  {
1150
1153
  key: 3,
@@ -1180,7 +1183,7 @@ const js = Fe(Vs), Ws = {
1180
1183
  };
1181
1184
  }
1182
1185
  });
1183
- const Js = /* @__PURE__ */ At(Zs, [["__scopeId", "data-v-52806adf"]]), tt = Fe(Js), Qs = /* @__PURE__ */ J({
1186
+ const Qs = /* @__PURE__ */ At(Js, [["__scopeId", "data-v-52806adf"]]), tt = Fe(Qs), eo = /* @__PURE__ */ J({
1184
1187
  __name: "CloseIcon",
1185
1188
  props: {
1186
1189
  showBg: {
@@ -1211,7 +1214,7 @@ const Js = /* @__PURE__ */ At(Zs, [["__scopeId", "data-v-52806adf"]]), tt = Fe(J
1211
1214
  ));
1212
1215
  }
1213
1216
  });
1214
- const eo = /* @__PURE__ */ At(Qs, [["__scopeId", "data-v-da39e979"]]), to = { class: "base-header" }, io = /* @__PURE__ */ J({
1217
+ const to = /* @__PURE__ */ At(eo, [["__scopeId", "data-v-da39e979"]]), io = { class: "base-header" }, no = /* @__PURE__ */ J({
1215
1218
  __name: "IkBaseDialog",
1216
1219
  props: /* @__PURE__ */ Ct({
1217
1220
  title: { default: "" },
@@ -1236,7 +1239,7 @@ const eo = /* @__PURE__ */ At(Qs, [["__scopeId", "data-v-da39e979"]]), to = { cl
1236
1239
  t.value = !t.value;
1237
1240
  }, i = J({
1238
1241
  setup() {
1239
- return () => nr(eo, {
1242
+ return () => rr(to, {
1240
1243
  showBg: o.showCloseBg,
1241
1244
  fullscreen: o.fullscreen
1242
1245
  });
@@ -1244,15 +1247,16 @@ const eo = /* @__PURE__ */ At(Qs, [["__scopeId", "data-v-da39e979"]]), to = { cl
1244
1247
  });
1245
1248
  return (n, s) => {
1246
1249
  const l = ct("el-dialog");
1247
- return S(), pe(l, rr({
1250
+ return S(), pe(l, sr({
1248
1251
  modelValue: r.value,
1249
- "onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u)
1252
+ "onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u),
1253
+ "align-center": ""
1250
1254
  }, n.$attrs, {
1251
1255
  "close-icon": E(i),
1252
1256
  class: `ik-base-dialog ${n.noHeader ? "no-header" : ""} ${n.noFooter ? "no-footer" : ""}`,
1253
1257
  fullscreen: t.value,
1254
1258
  "modal-class": "baseDialog"
1255
- }), sr({
1259
+ }), or({
1256
1260
  icon: Q(() => [
1257
1261
  Oe(n.$slots, "title", {}, () => [
1258
1262
  ei(
@@ -1263,7 +1267,7 @@ const eo = /* @__PURE__ */ At(Qs, [["__scopeId", "data-v-da39e979"]]), to = { cl
1263
1267
  ])
1264
1268
  ]),
1265
1269
  header: Q(() => [
1266
- T("div", to, [
1270
+ T("div", io, [
1267
1271
  Oe(n.$slots, "header", {}, () => [
1268
1272
  ei(
1269
1273
  nt(n.title),
@@ -1297,12 +1301,12 @@ const eo = /* @__PURE__ */ At(Qs, [["__scopeId", "data-v-da39e979"]]), to = { cl
1297
1301
  };
1298
1302
  }
1299
1303
  });
1300
- const no = Fe(io);
1301
- var ro = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1304
+ const ro = Fe(no);
1305
+ var so = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1302
1306
  function di(a) {
1303
1307
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1304
1308
  }
1305
- function so(a, o, r, t) {
1309
+ function oo(a, o, r, t) {
1306
1310
  function e(i) {
1307
1311
  return i instanceof r ? i : new r(function(n) {
1308
1312
  n(i);
@@ -1329,7 +1333,7 @@ function so(a, o, r, t) {
1329
1333
  u((t = t.apply(a, o || [])).next());
1330
1334
  });
1331
1335
  }
1332
- function oo(a, o) {
1336
+ function ao(a, o) {
1333
1337
  var r = { label: 0, sent: function() {
1334
1338
  if (i[0] & 1)
1335
1339
  throw i[1];
@@ -1394,9 +1398,9 @@ function oo(a, o) {
1394
1398
  return { value: u[0] ? u[1] : void 0, done: !0 };
1395
1399
  }
1396
1400
  }
1397
- var ao = function(a, o) {
1398
- return so(void 0, void 0, void 0, function() {
1399
- return oo(this, function(r) {
1401
+ var lo = function(a, o) {
1402
+ return oo(void 0, void 0, void 0, function() {
1403
+ return ao(this, function(r) {
1400
1404
  return [2, new Promise(function(t, e) {
1401
1405
  try {
1402
1406
  if (window.DocsAPI)
@@ -1408,12 +1412,12 @@ var ao = function(a, o) {
1408
1412
  if (!l) {
1409
1413
  if (clearInterval(n), window.DocsAPI)
1410
1414
  return t(null);
1411
- var u = Mi(o, a, t, e);
1415
+ var u = Fi(o, a, t, e);
1412
1416
  i.remove(), document.body.appendChild(u);
1413
1417
  }
1414
1418
  }, 500);
1415
1419
  else {
1416
- var s = Mi(o, a, t, e);
1420
+ var s = Fi(o, a, t, e);
1417
1421
  document.body.appendChild(s);
1418
1422
  }
1419
1423
  } catch (l) {
@@ -1422,7 +1426,7 @@ var ao = function(a, o) {
1422
1426
  })];
1423
1427
  });
1424
1428
  });
1425
- }, Mi = function(a, o, r, t) {
1429
+ }, Fi = function(a, o, r, t) {
1426
1430
  var e = document.createElement("script");
1427
1431
  return e.id = a, e.type = "text/javascript", e.src = o, e.async = !0, e.onload = function() {
1428
1432
  e.removeAttribute("loading"), r(null);
@@ -1484,7 +1488,7 @@ var ao = function(a, o) {
1484
1488
  var a = this, o = this.documentServerUrl;
1485
1489
  o.endsWith("/") || (o += "/");
1486
1490
  var r = "".concat(o, "web-apps/apps/api/documents/api.js");
1487
- ao(r, "onlyoffice-api-script").then(function() {
1491
+ lo(r, "onlyoffice-api-script").then(function() {
1488
1492
  return a.onLoad();
1489
1493
  }).catch(function() {
1490
1494
  a.onError(-2);
@@ -1598,13 +1602,13 @@ var ao = function(a, o) {
1598
1602
  }
1599
1603
  }
1600
1604
  });
1601
- const lo = ["id"];
1602
- function uo(a, o, r, t, e, i) {
1603
- return S(), D("div", { id: a.id }, null, 8, lo);
1605
+ const uo = ["id"];
1606
+ function co(a, o, r, t, e, i) {
1607
+ return S(), D("div", { id: a.id }, null, 8, uo);
1604
1608
  }
1605
- gi.render = uo;
1609
+ gi.render = co;
1606
1610
  gi.__file = "src/components/DocumentEditor.vue";
1607
- const co = /* @__PURE__ */ J({
1611
+ const fo = /* @__PURE__ */ J({
1608
1612
  __name: "IkOnlyOffice",
1609
1613
  props: {
1610
1614
  // 文件服务器的服务的地址
@@ -1652,55 +1656,55 @@ const co = /* @__PURE__ */ J({
1652
1656
  ));
1653
1657
  }
1654
1658
  });
1655
- const fo = /* @__PURE__ */ At(co, [["__scopeId", "data-v-98d51ef9"]]), ho = Fe(fo);
1656
- var Fi;
1657
- const Tn = typeof window < "u", go = (a) => typeof a == "string", po = () => {
1659
+ const ho = /* @__PURE__ */ At(fo, [["__scopeId", "data-v-98d51ef9"]]), go = Fe(ho);
1660
+ var Ni;
1661
+ const En = typeof window < "u", po = (a) => typeof a == "string", vo = () => {
1658
1662
  };
1659
- Tn && ((Fi = window == null ? void 0 : window.navigator) != null && Fi.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1660
- function En(a) {
1663
+ En && ((Ni = window == null ? void 0 : window.navigator) != null && Ni.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1664
+ function Sn(a) {
1661
1665
  return typeof a == "function" ? a() : E(a);
1662
1666
  }
1663
- function vo(a) {
1664
- return a;
1665
- }
1666
1667
  function mo(a) {
1667
- return or() ? (ar(a), !0) : !1;
1668
+ return a;
1668
1669
  }
1669
1670
  function yo(a) {
1671
+ return ar() ? (lr(a), !0) : !1;
1672
+ }
1673
+ function _o(a) {
1670
1674
  var o;
1671
- const r = En(a);
1675
+ const r = Sn(a);
1672
1676
  return (o = r == null ? void 0 : r.$el) != null ? o : r;
1673
1677
  }
1674
- const _o = Tn ? window : void 0;
1678
+ const Co = En ? window : void 0;
1675
1679
  function pt(...a) {
1676
1680
  let o, r, t, e;
1677
- if (go(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, o = _o) : [o, r, t, e] = a, !o)
1678
- return po;
1681
+ if (po(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, o = Co) : [o, r, t, e] = a, !o)
1682
+ return vo;
1679
1683
  Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
1680
1684
  const i = [], n = () => {
1681
1685
  i.forEach((c) => c()), i.length = 0;
1682
- }, s = (c, h, d, p) => (c.addEventListener(h, d, p), () => c.removeEventListener(h, d, p)), l = ut(() => [yo(o), En(e)], ([c, h]) => {
1686
+ }, s = (c, h, d, p) => (c.addEventListener(h, d, p), () => c.removeEventListener(h, d, p)), l = ut(() => [_o(o), Sn(e)], ([c, h]) => {
1683
1687
  n(), c && i.push(...r.flatMap((d) => t.map((p) => s(c, d, p, h))));
1684
1688
  }, { immediate: !0, flush: "post" }), u = () => {
1685
1689
  l(), n();
1686
1690
  };
1687
- return mo(u), u;
1691
+ return yo(u), u;
1688
1692
  }
1689
- const Ni = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Bi = "__vueuse_ssr_handlers__";
1690
- Ni[Bi] = Ni[Bi] || {};
1691
- var Hi;
1693
+ const Bi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Hi = "__vueuse_ssr_handlers__";
1694
+ Bi[Hi] = Bi[Hi] || {};
1695
+ var Ui;
1692
1696
  (function(a) {
1693
1697
  a.UP = "UP", a.RIGHT = "RIGHT", a.DOWN = "DOWN", a.LEFT = "LEFT", a.NONE = "NONE";
1694
- })(Hi || (Hi = {}));
1695
- var Co = Object.defineProperty, Ui = Object.getOwnPropertySymbols, ko = Object.prototype.hasOwnProperty, wo = Object.prototype.propertyIsEnumerable, zi = (a, o, r) => o in a ? Co(a, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[o] = r, bo = (a, o) => {
1698
+ })(Ui || (Ui = {}));
1699
+ var ko = Object.defineProperty, zi = Object.getOwnPropertySymbols, wo = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, Vi = (a, o, r) => o in a ? ko(a, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[o] = r, To = (a, o) => {
1696
1700
  for (var r in o || (o = {}))
1697
- ko.call(o, r) && zi(a, r, o[r]);
1698
- if (Ui)
1699
- for (var r of Ui(o))
1700
- wo.call(o, r) && zi(a, r, o[r]);
1701
+ wo.call(o, r) && Vi(a, r, o[r]);
1702
+ if (zi)
1703
+ for (var r of zi(o))
1704
+ bo.call(o, r) && Vi(a, r, o[r]);
1701
1705
  return a;
1702
1706
  };
1703
- const To = {
1707
+ const Eo = {
1704
1708
  easeInSine: [0.12, 0, 0.39, 0],
1705
1709
  easeOutSine: [0.61, 1, 0.88, 1],
1706
1710
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -1726,10 +1730,10 @@ const To = {
1726
1730
  easeOutBack: [0.34, 1.56, 0.64, 1],
1727
1731
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
1728
1732
  };
1729
- bo({
1730
- linear: vo
1731
- }, To);
1732
- const Eo = {
1733
+ To({
1734
+ linear: mo
1735
+ }, Eo);
1736
+ const So = {
1733
1737
  /**
1734
1738
  * @description preview link list.
1735
1739
  */
@@ -1799,26 +1803,26 @@ const Eo = {
1799
1803
  crossorigin: {
1800
1804
  type: ["anonymous", "use-credentials", ""]
1801
1805
  }
1802
- }, So = {
1806
+ }, xo = {
1803
1807
  close: () => !0,
1804
1808
  switch: (a) => ni.isNumber(a),
1805
1809
  rotate: (a) => ni.isNumber(a)
1806
- }, xo = ["src", "crossorigin"], Io = /* @__PURE__ */ J({
1810
+ }, Io = ["src", "crossorigin"], Po = /* @__PURE__ */ J({
1807
1811
  name: "ElImageViewer",
1808
1812
  __name: "IkImageViewer",
1809
- props: Eo,
1810
- emits: So,
1813
+ props: So,
1814
+ emits: xo,
1811
1815
  setup(a, { expose: o, emit: r }) {
1812
1816
  const t = (N) => Object.keys(N), e = {
1813
1817
  CONTAIN: {
1814
1818
  name: "contain",
1815
- icon: Oi(Ps)
1819
+ icon: Oi(Ls)
1816
1820
  },
1817
1821
  ORIGINAL: {
1818
1822
  name: "original",
1819
- icon: Oi(Ms)
1823
+ icon: Oi(Fs)
1820
1824
  }
1821
- }, i = a, n = r, { t: s } = vr(), l = kn("image-viewer"), { nextZIndex: u } = mr(), c = de(), h = de([]), d = lr(), p = de(!0), g = de(i.initialIndex), m = ur(e.CONTAIN), y = de({
1825
+ }, i = a, n = r, { t: s } = mr(), l = wn("image-viewer"), { nextZIndex: u } = yr(), c = de(), h = de([]), d = ur(), p = de(!0), g = de(i.initialIndex), m = cr(e.CONTAIN), y = de({
1822
1826
  scale: 1,
1823
1827
  deg: 0,
1824
1828
  offsetX: 0,
@@ -1967,7 +1971,7 @@ const Eo = {
1967
1971
  });
1968
1972
  }), ut(g, (N) => {
1969
1973
  xi(), n("switch", N);
1970
- }), cr(() => {
1974
+ }), fr(() => {
1971
1975
  var N, W;
1972
1976
  z(), (W = (N = c.value) == null ? void 0 : N.focus) == null || W.call(N);
1973
1977
  }), o({
@@ -1975,8 +1979,8 @@ const Eo = {
1975
1979
  * @description manually switch image
1976
1980
  */
1977
1981
  setActiveItem: Nt
1978
- }), (N, W) => (S(), pe(yn, { to: "body" }, [
1979
- G(_n, {
1982
+ }), (N, W) => (S(), pe(_n, { to: "body" }, [
1983
+ G(Cn, {
1980
1984
  name: "viewer-fade",
1981
1985
  appear: ""
1982
1986
  }, {
@@ -2011,7 +2015,7 @@ const Eo = {
2011
2015
  [
2012
2016
  G(E(Pe), null, {
2013
2017
  default: Q(() => [
2014
- G(E(wn))
2018
+ G(E(bn))
2015
2019
  ]),
2016
2020
  _: 1
2017
2021
  /* STABLE */
@@ -2034,7 +2038,7 @@ const Eo = {
2034
2038
  [
2035
2039
  G(E(Pe), null, {
2036
2040
  default: Q(() => [
2037
- G(E(Ts))
2041
+ G(E(Es))
2038
2042
  ]),
2039
2043
  _: 1
2040
2044
  /* STABLE */
@@ -2052,7 +2056,7 @@ const Eo = {
2052
2056
  [
2053
2057
  G(E(Pe), null, {
2054
2058
  default: Q(() => [
2055
- G(E(Ss))
2059
+ G(E(xs))
2056
2060
  ]),
2057
2061
  _: 1
2058
2062
  /* STABLE */
@@ -2082,7 +2086,7 @@ const Eo = {
2082
2086
  onClick: W[1] || (W[1] = (X) => He("zoomOut"))
2083
2087
  }, {
2084
2088
  default: Q(() => [
2085
- G(E(Hs))
2089
+ G(E(Us))
2086
2090
  ]),
2087
2091
  _: 1
2088
2092
  /* STABLE */
@@ -2091,7 +2095,7 @@ const Eo = {
2091
2095
  onClick: W[2] || (W[2] = (X) => He("zoomIn"))
2092
2096
  }, {
2093
2097
  default: Q(() => [
2094
- G(E(Ns))
2098
+ G(E(Bs))
2095
2099
  ]),
2096
2100
  _: 1
2097
2101
  /* STABLE */
@@ -2107,7 +2111,7 @@ const Eo = {
2107
2111
  ),
2108
2112
  G(E(Pe), { onClick: Ii }, {
2109
2113
  default: Q(() => [
2110
- (S(), pe(fr(m.value.icon)))
2114
+ (S(), pe(hr(m.value.icon)))
2111
2115
  ]),
2112
2116
  _: 1
2113
2117
  /* STABLE */
@@ -2125,7 +2129,7 @@ const Eo = {
2125
2129
  onClick: W[3] || (W[3] = (X) => He("anticlockwise"))
2126
2130
  }, {
2127
2131
  default: Q(() => [
2128
- G(E(As))
2132
+ G(E(Ds))
2129
2133
  ]),
2130
2134
  _: 1
2131
2135
  /* STABLE */
@@ -2134,7 +2138,7 @@ const Eo = {
2134
2138
  onClick: W[4] || (W[4] = (X) => He("clockwise"))
2135
2139
  }, {
2136
2140
  default: Q(() => [
2137
- G(E(Os))
2141
+ G(E(Rs))
2138
2142
  ]),
2139
2143
  _: 1
2140
2144
  /* STABLE */
@@ -2157,7 +2161,7 @@ const Eo = {
2157
2161
  (S(!0), D(
2158
2162
  Ve,
2159
2163
  null,
2160
- ii(N.urlList, (X, ge) => hr((S(), D("img", {
2164
+ ii(N.urlList, (X, ge) => dr((S(), D("img", {
2161
2165
  ref_for: !0,
2162
2166
  ref: (ye) => h.value[ge] = ye,
2163
2167
  key: X,
@@ -2168,8 +2172,8 @@ const Eo = {
2168
2172
  onLoad: ae,
2169
2173
  onError: le,
2170
2174
  onMousedown: we
2171
- }, null, 46, xo)), [
2172
- [dr, ge === g.value]
2175
+ }, null, 46, Io)), [
2176
+ [gr, ge === g.value]
2173
2177
  ])),
2174
2178
  128
2175
2179
  /* KEYED_FRAGMENT */
@@ -2189,8 +2193,8 @@ const Eo = {
2189
2193
  })
2190
2194
  ]));
2191
2195
  }
2192
- }), Po = Fe(Io);
2193
- function Vi(a, o) {
2196
+ }), Lo = Fe(Po);
2197
+ function ji(a, o) {
2194
2198
  var r = Object.keys(a);
2195
2199
  if (Object.getOwnPropertySymbols) {
2196
2200
  var t = Object.getOwnPropertySymbols(a);
@@ -2203,9 +2207,9 @@ function Vi(a, o) {
2203
2207
  function q(a) {
2204
2208
  for (var o = 1; o < arguments.length; o++) {
2205
2209
  var r = arguments[o] != null ? arguments[o] : {};
2206
- o % 2 ? Vi(Object(r), !0).forEach(function(t) {
2210
+ o % 2 ? ji(Object(r), !0).forEach(function(t) {
2207
2211
  _(a, t, r[t]);
2208
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : Vi(Object(r)).forEach(function(t) {
2212
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : ji(Object(r)).forEach(function(t) {
2209
2213
  Object.defineProperty(a, t, Object.getOwnPropertyDescriptor(r, t));
2210
2214
  });
2211
2215
  }
@@ -2223,19 +2227,19 @@ function x(a, o) {
2223
2227
  if (!(a instanceof o))
2224
2228
  throw new TypeError("Cannot call a class as a function");
2225
2229
  }
2226
- function ji(a, o) {
2230
+ function Wi(a, o) {
2227
2231
  for (var r = 0; r < o.length; r++) {
2228
2232
  var t = o[r];
2229
- t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(a, Sn(t.key), t);
2233
+ t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(a, xn(t.key), t);
2230
2234
  }
2231
2235
  }
2232
2236
  function I(a, o, r) {
2233
- return o && ji(a.prototype, o), r && ji(a, r), Object.defineProperty(a, "prototype", {
2237
+ return o && Wi(a.prototype, o), r && Wi(a, r), Object.defineProperty(a, "prototype", {
2234
2238
  writable: !1
2235
2239
  }), a;
2236
2240
  }
2237
2241
  function _(a, o, r) {
2238
- return o = Sn(o), o in a ? Object.defineProperty(a, o, {
2242
+ return o = xn(o), o in a ? Object.defineProperty(a, o, {
2239
2243
  value: r,
2240
2244
  enumerable: !0,
2241
2245
  configurable: !0,
@@ -2265,7 +2269,7 @@ function si(a, o) {
2265
2269
  return t.__proto__ = e, t;
2266
2270
  }, si(a, o);
2267
2271
  }
2268
- function Lo() {
2272
+ function Ao() {
2269
2273
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2270
2274
  return !1;
2271
2275
  if (typeof Proxy == "function")
@@ -2290,7 +2294,7 @@ function pi(a, o) {
2290
2294
  return v(a);
2291
2295
  }
2292
2296
  function A(a) {
2293
- var o = Lo();
2297
+ var o = Ao();
2294
2298
  return function() {
2295
2299
  var t = O(a), e;
2296
2300
  if (o) {
@@ -2301,14 +2305,14 @@ function A(a) {
2301
2305
  return pi(this, e);
2302
2306
  };
2303
2307
  }
2304
- function Ao(a, o) {
2308
+ function Do(a, o) {
2305
2309
  for (; !Object.prototype.hasOwnProperty.call(a, o) && (a = O(a), a !== null); )
2306
2310
  ;
2307
2311
  return a;
2308
2312
  }
2309
2313
  function M() {
2310
2314
  return typeof Reflect < "u" && Reflect.get ? M = Reflect.get.bind() : M = function(o, r, t) {
2311
- var e = Ao(o, r);
2315
+ var e = Do(o, r);
2312
2316
  if (e) {
2313
2317
  var i = Object.getOwnPropertyDescriptor(e, r);
2314
2318
  return i.get ? i.get.call(arguments.length < 3 ? o : t) : i.value;
@@ -2316,17 +2320,17 @@ function M() {
2316
2320
  }, M.apply(this, arguments);
2317
2321
  }
2318
2322
  function ve(a) {
2319
- return Do(a) || Oo(a) || Ro(a) || Mo();
2323
+ return Oo(a) || Ro(a) || Mo(a) || Fo();
2320
2324
  }
2321
- function Do(a) {
2325
+ function Oo(a) {
2322
2326
  if (Array.isArray(a))
2323
2327
  return oi(a);
2324
2328
  }
2325
- function Oo(a) {
2329
+ function Ro(a) {
2326
2330
  if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
2327
2331
  return Array.from(a);
2328
2332
  }
2329
- function Ro(a, o) {
2333
+ function Mo(a, o) {
2330
2334
  if (a) {
2331
2335
  if (typeof a == "string")
2332
2336
  return oi(a, o);
@@ -2343,11 +2347,11 @@ function oi(a, o) {
2343
2347
  t[r] = a[r];
2344
2348
  return t;
2345
2349
  }
2346
- function Mo() {
2350
+ function Fo() {
2347
2351
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2348
2352
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2349
2353
  }
2350
- function Fo(a, o) {
2354
+ function No(a, o) {
2351
2355
  if (typeof a != "object" || a === null)
2352
2356
  return a;
2353
2357
  var r = a[Symbol.toPrimitive];
@@ -2359,11 +2363,11 @@ function Fo(a, o) {
2359
2363
  }
2360
2364
  return (o === "string" ? String : Number)(a);
2361
2365
  }
2362
- function Sn(a) {
2363
- var o = Fo(a, "string");
2366
+ function xn(a) {
2367
+ var o = No(a, "string");
2364
2368
  return typeof o == "symbol" ? o : String(o);
2365
2369
  }
2366
- var xn = { exports: {} };
2370
+ var In = { exports: {} };
2367
2371
  (function(a) {
2368
2372
  var o = Object.prototype.hasOwnProperty, r = "~";
2369
2373
  function t() {
@@ -2473,16 +2477,16 @@ var xn = { exports: {} };
2473
2477
  var c;
2474
2478
  return u ? (c = r ? r + u : u, this._events[c] && n(this, c)) : (this._events = new t(), this._eventsCount = 0), this;
2475
2479
  }, s.prototype.off = s.prototype.removeListener, s.prototype.addListener = s.prototype.on, s.prefixed = r, s.EventEmitter = s, a.exports = s;
2476
- })(xn);
2477
- var In = xn.exports;
2478
- const Pn = /* @__PURE__ */ di(In);
2479
- var No = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Ut = {
2480
+ })(In);
2481
+ var Pn = In.exports;
2482
+ const Ln = /* @__PURE__ */ di(Pn);
2483
+ var Bo = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Ut = {
2480
2484
  info: "color: #525252; background-color: #90ee90;",
2481
2485
  error: "color: #525252; background-color: red;",
2482
2486
  warn: "color: #525252; background-color: yellow; "
2483
2487
  }, zt = "%c[xgplayer]", H = {
2484
2488
  config: {
2485
- debug: No ? 3 : 0
2489
+ debug: Bo ? 3 : 0
2486
2490
  },
2487
2491
  logInfo: function(o) {
2488
2492
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
@@ -2503,10 +2507,10 @@ var No = typeof window < "u" && window.location && window.location.href.indexOf(
2503
2507
  }
2504
2508
  }
2505
2509
  };
2506
- function Bo(a) {
2510
+ function Ho(a) {
2507
2511
  a.logInfo = H.logInfo.bind(a), a.logWarn = H.logWarn.bind(a), a.logError = H.logError.bind(a);
2508
2512
  }
2509
- var Ho = /* @__PURE__ */ function() {
2513
+ var Uo = /* @__PURE__ */ function() {
2510
2514
  function a(o) {
2511
2515
  x(this, a), this.bufferedList = o;
2512
2516
  }
@@ -2752,7 +2756,7 @@ f.setStyleFromCsstext = function(a, o) {
2752
2756
  a.style[t] = o[t];
2753
2757
  });
2754
2758
  };
2755
- function Uo(a, o) {
2759
+ function zo(a, o) {
2756
2760
  for (var r = 0, t = o.length; r < t; r++)
2757
2761
  if (a.indexOf(o[r]) > -1)
2758
2762
  return !0;
@@ -2766,7 +2770,7 @@ f.filterStyleFromText = function(a) {
2766
2770
  return t.map(function(n) {
2767
2771
  if (n) {
2768
2772
  var s = n.split(":");
2769
- s.length > 1 && (Uo(s[0], o) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
2773
+ s.length > 1 && (zo(s[0], o) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
2770
2774
  }
2771
2775
  }), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
2772
2776
  a.style[n] = i[n];
@@ -2831,7 +2835,7 @@ f.getBuffered2 = function(a) {
2831
2835
  }
2832
2836
  else
2833
2837
  e = r;
2834
- return new Ho(e);
2838
+ return new Uo(e);
2835
2839
  };
2836
2840
  f.getEventPos = function(a) {
2837
2841
  var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
@@ -2951,15 +2955,15 @@ f.getCurrentTimeByOffset = function(a, o) {
2951
2955
  }
2952
2956
  return a;
2953
2957
  };
2954
- function Ln(a) {
2958
+ function An(a) {
2955
2959
  var o = se(a);
2956
2960
  return a !== null && (o === "object" || o === "function");
2957
2961
  }
2958
- function zo(a, o, r) {
2962
+ function Vo(a, o, r) {
2959
2963
  var t, e, i, n, s, l, u = 0, c = !1, h = !1, d = !0, p = !o && o !== 0 && typeof window.requestAnimationFrame == "function";
2960
2964
  if (typeof a != "function")
2961
2965
  throw new TypeError("Expected a function");
2962
- o = +o || 0, Ln(r) && (c = !!r.leading, h = "maxWait" in r, i = h ? Math.max(+r.maxWait || 0, o) : i, d = "trailing" in r ? !!r.trailing : d);
2966
+ o = +o || 0, An(r) && (c = !!r.leading, h = "maxWait" in r, i = h ? Math.max(+r.maxWait || 0, o) : i, d = "trailing" in r ? !!r.trailing : d);
2963
2967
  function g(z) {
2964
2968
  var ne = t, ae = e;
2965
2969
  return t = e = void 0, u = z, n = a.apply(ae, ne), n;
@@ -3014,30 +3018,30 @@ function zo(a, o, r) {
3014
3018
  }
3015
3019
  return Z.cancel = U, Z.flush = R, Z.pending = te, Z;
3016
3020
  }
3017
- function Vo(a, o, r) {
3021
+ function jo(a, o, r) {
3018
3022
  var t = !0, e = !0;
3019
3023
  if (typeof a != "function")
3020
3024
  throw new TypeError("Expected a function");
3021
- return Ln(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), zo(a, o, {
3025
+ return An(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Vo(a, o, {
3022
3026
  leading: t,
3023
3027
  trailing: e,
3024
3028
  maxWait: o
3025
3029
  });
3026
3030
  }
3027
- function jo() {
3031
+ function Wo() {
3028
3032
  var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
3029
3033
  return a === "zh-cn" && (a = "zh"), a;
3030
3034
  }
3031
- function Wo(a, o, r) {
3035
+ function Go(a, o, r) {
3032
3036
  if (a) {
3033
3037
  var t = a.getAttribute(r);
3034
3038
  return !!(t && t === o && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
3035
3039
  }
3036
3040
  }
3037
- var Wi = {
3041
+ var Gi = {
3038
3042
  android: /(Android)\s([\d.]+)/,
3039
3043
  ios: /(Version)\/([\d.]+)/
3040
- }, Go = ["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", "avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], B = {
3044
+ }, $o = ["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", "avc1.42E01E, mp4a.40.2", "avc1.58A01E, mp4a.40.2", "avc1.4D401E, mp4a.40.2", "avc1.64001E, mp4a.40.2", "mp4v.20.8, mp4a.40.2", "mp4v.20.240, mp4a.40.2"], B = {
3041
3045
  get device() {
3042
3046
  var a = B.os;
3043
3047
  return a.isPc ? "pc" : "mobile";
@@ -3076,7 +3080,7 @@ var Wi = {
3076
3080
  if (typeof navigator > "u")
3077
3081
  return 0;
3078
3082
  var a = navigator.userAgent, o = "";
3079
- /(?:iPhone)|(?:iPad|PlayBook)/.test(a) ? o = Wi.ios : o = Wi.android;
3083
+ /(?:iPhone)|(?:iPad|PlayBook)/.test(a) ? o = Gi.ios : o = Gi.android;
3080
3084
  var r = o ? o.exec(a) : [];
3081
3085
  if (r && r.length >= 3) {
3082
3086
  var t = r[2].split(".");
@@ -3100,7 +3104,7 @@ var Wi = {
3100
3104
  if (this.supportResult)
3101
3105
  return this.supportResult;
3102
3106
  var r = document.createElement("video");
3103
- return typeof r.canPlayType == "function" && Go.map(function(t) {
3107
+ return typeof r.canPlayType == "function" && $o.map(function(t) {
3104
3108
  r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (o.isSupport = !0, o.mime += "||".concat(t));
3105
3109
  }), this.supportResult = o, r = null, o;
3106
3110
  },
@@ -3139,14 +3143,14 @@ var Wi = {
3139
3143
  return Promise.resolve(r);
3140
3144
  }
3141
3145
  }
3142
- }, ai = "3.0.18", Gi = {
3146
+ }, ai = "3.0.18", $i = {
3143
3147
  1: "media",
3144
3148
  2: "media",
3145
3149
  3: "media",
3146
3150
  4: "media",
3147
3151
  5: "media",
3148
3152
  6: "media"
3149
- }, $i = {
3153
+ }, Ki = {
3150
3154
  1: 5101,
3151
3155
  2: 5102,
3152
3156
  3: 5103,
@@ -3167,7 +3171,7 @@ var Wi = {
3167
3171
  var t = o && o.i18n ? o.i18n.ERROR_TYPES : null;
3168
3172
  if (o.media) {
3169
3173
  var e = r.mediaError ? r.mediaError : o.media.error || {}, i = o.duration, n = o.currentTime, s = o.ended, l = o.src, u = o.currentSrc, c = o.media, h = c.readyState, d = c.networkState, p = r.errorCode || e.code;
3170
- $i[p] && (p = $i[p]);
3174
+ Ki[p] && (p = Ki[p]);
3171
3175
  var g = {
3172
3176
  playerVersion: ai,
3173
3177
  currentTime: n,
@@ -3195,21 +3199,21 @@ var Wi = {
3195
3199
  return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
3196
3200
  }
3197
3201
  }
3198
- ), he = "play", vi = "playing", We = "ended", rt = "pause", dt = "error", Dt = "seeking", Se = "seeked", fe = "timeupdate", gt = "waiting", Ee = "canplay", $o = "canplaythrough", Ne = "durationchange", An = "volumechange", xe = "loadeddata", Ko = "loadedmetadata", Dn = "ratechange", On = "progress", mi = "loadstart", Ge = "emptied", Yo = "stalled", Xo = "suspend", qo = "abort", Zo = "bufferedChange", yi = "focus", Rn = "blur", _i = "ready", Mn = "urlNull", je = "autoplay_started", Ci = "autoplay_was_prevented", Ot = "complete", wt = "replay", ki = "destroy", Rt = "urlchange", li = "download_speed_change", Fn = "leaveplayer", Nn = "enterplayer", Bn = "loading", be = "fullscreen_change", bt = "cssFullscreen_change", Tt = "mini_state_change", wi = "definition_change", Jo = "before_definition_change", ui = "after_definition_change", Qo = "SEI_PARSED", ea = "retry", Re = "video_resize", ci = "pip_change", Hn = "rotate", Un = "screenShot", Et = "playnext", zn = "shortcut", Vn = "xglog", St = "user_action", Mt = "reset", jn = "source_error", Wn = "source_success", ta = "switch_subtitle", Gn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], $n = {
3202
+ ), he = "play", vi = "playing", We = "ended", rt = "pause", dt = "error", Dt = "seeking", Se = "seeked", fe = "timeupdate", gt = "waiting", Ee = "canplay", Ko = "canplaythrough", Ne = "durationchange", Dn = "volumechange", xe = "loadeddata", Yo = "loadedmetadata", On = "ratechange", Rn = "progress", mi = "loadstart", Ge = "emptied", Xo = "stalled", qo = "suspend", Zo = "abort", Jo = "bufferedChange", yi = "focus", Mn = "blur", _i = "ready", Fn = "urlNull", je = "autoplay_started", Ci = "autoplay_was_prevented", Ot = "complete", wt = "replay", ki = "destroy", Rt = "urlchange", li = "download_speed_change", Nn = "leaveplayer", Bn = "enterplayer", Hn = "loading", be = "fullscreen_change", bt = "cssFullscreen_change", Tt = "mini_state_change", wi = "definition_change", Qo = "before_definition_change", ui = "after_definition_change", ea = "SEI_PARSED", ta = "retry", Re = "video_resize", ci = "pip_change", Un = "rotate", zn = "screenShot", Et = "playnext", Vn = "shortcut", jn = "xglog", St = "user_action", Mt = "reset", Wn = "source_error", Gn = "source_success", ia = "switch_subtitle", $n = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Kn = {
3199
3203
  STATS_INFO: "stats_info",
3200
3204
  STATS_DOWNLOAD: "stats_download",
3201
3205
  STATS_RESET: "stats_reset"
3202
- }, Kn = "fps_stuck";
3203
- const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3206
+ }, Yn = "fps_stuck";
3207
+ const na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3204
3208
  __proto__: null,
3205
- ABORT: qo,
3209
+ ABORT: Zo,
3206
3210
  AFTER_DEFINITION_CHANGE: ui,
3207
3211
  AUTOPLAY_PREVENTED: Ci,
3208
3212
  AUTOPLAY_STARTED: je,
3209
- BEFORE_DEFINITION_CHANGE: Jo,
3210
- BUFFER_CHANGE: Zo,
3213
+ BEFORE_DEFINITION_CHANGE: Qo,
3214
+ BUFFER_CHANGE: Jo,
3211
3215
  CANPLAY: Ee,
3212
- CANPLAY_THROUGH: $o,
3216
+ CANPLAY_THROUGH: Ko,
3213
3217
  COMPLETE: Ot,
3214
3218
  CSS_FULLSCREEN_CHANGE: bt,
3215
3219
  DEFINITION_CHANGE: wi,
@@ -3218,55 +3222,55 @@ const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3218
3222
  DURATION_CHANGE: Ne,
3219
3223
  EMPTIED: Ge,
3220
3224
  ENDED: We,
3221
- ENTER_PLAYER: Nn,
3225
+ ENTER_PLAYER: Bn,
3222
3226
  ERROR: dt,
3223
- FPS_STUCK: Kn,
3227
+ FPS_STUCK: Yn,
3224
3228
  FULLSCREEN_CHANGE: be,
3225
- LEAVE_PLAYER: Fn,
3229
+ LEAVE_PLAYER: Nn,
3226
3230
  LOADED_DATA: xe,
3227
- LOADED_METADATA: Ko,
3228
- LOADING: Bn,
3231
+ LOADED_METADATA: Yo,
3232
+ LOADING: Hn,
3229
3233
  LOAD_START: mi,
3230
3234
  MINI_STATE_CHANGE: Tt,
3231
3235
  PAUSE: rt,
3232
3236
  PIP_CHANGE: ci,
3233
3237
  PLAY: he,
3234
- PLAYER_BLUR: Rn,
3238
+ PLAYER_BLUR: Mn,
3235
3239
  PLAYER_FOCUS: yi,
3236
3240
  PLAYING: vi,
3237
3241
  PLAYNEXT: Et,
3238
- PROGRESS: On,
3239
- RATE_CHANGE: Dn,
3242
+ PROGRESS: Rn,
3243
+ RATE_CHANGE: On,
3240
3244
  READY: _i,
3241
3245
  REPLAY: wt,
3242
3246
  RESET: Mt,
3243
- RETRY: ea,
3244
- ROTATE: Hn,
3245
- SCREEN_SHOT: Un,
3247
+ RETRY: ta,
3248
+ ROTATE: Un,
3249
+ SCREEN_SHOT: zn,
3246
3250
  SEEKED: Se,
3247
3251
  SEEKING: Dt,
3248
- SEI_PARSED: Qo,
3249
- SHORTCUT: zn,
3250
- SOURCE_ERROR: jn,
3251
- SOURCE_SUCCESS: Wn,
3252
- STALLED: Yo,
3253
- STATS_EVENTS: $n,
3254
- SUSPEND: Xo,
3255
- SWITCH_SUBTITLE: ta,
3252
+ SEI_PARSED: ea,
3253
+ SHORTCUT: Vn,
3254
+ SOURCE_ERROR: Wn,
3255
+ SOURCE_SUCCESS: Gn,
3256
+ STALLED: Xo,
3257
+ STATS_EVENTS: Kn,
3258
+ SUSPEND: qo,
3259
+ SWITCH_SUBTITLE: ia,
3256
3260
  TIME_UPDATE: fe,
3257
3261
  URL_CHANGE: Rt,
3258
- URL_NULL: Mn,
3262
+ URL_NULL: Fn,
3259
3263
  USER_ACTION: St,
3260
- VIDEO_EVENTS: Gn,
3264
+ VIDEO_EVENTS: $n,
3261
3265
  VIDEO_RESIZE: Re,
3262
- VOLUME_CHANGE: An,
3266
+ VOLUME_CHANGE: Dn,
3263
3267
  WAITING: gt,
3264
- XGLOG: Vn
3268
+ XGLOG: jn
3265
3269
  }, Symbol.toStringTag, { value: "Module" }));
3266
3270
  function Vt(a, o) {
3267
3271
  !this || !this.emit || (a === "error" ? this.errorHandler(a, o.error) : this.emit(a, o));
3268
3272
  }
3269
- function na(a, o) {
3273
+ function ra(a, o) {
3270
3274
  return function(r, t) {
3271
3275
  var e = {
3272
3276
  player: o,
@@ -3301,7 +3305,7 @@ function na(a, o) {
3301
3305
  Vt.call(o, a, e);
3302
3306
  };
3303
3307
  }
3304
- var ra = /* @__PURE__ */ function(a) {
3308
+ var sa = /* @__PURE__ */ function(a) {
3305
3309
  L(r, a);
3306
3310
  var o = A(r);
3307
3311
  function r(t) {
@@ -3343,9 +3347,9 @@ var ra = /* @__PURE__ */ function(a) {
3343
3347
  key: "attachVideoEvents",
3344
3348
  value: function() {
3345
3349
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
3346
- this._evHandlers || (this._evHandlers = Gn.map(function(n) {
3350
+ this._evHandlers || (this._evHandlers = $n.map(function(n) {
3347
3351
  var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
3348
- return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, na(n, e));
3352
+ return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, ra(n, e));
3349
3353
  })), this._evHandlers.forEach(function(n) {
3350
3354
  var s = Object.keys(n)[0];
3351
3355
  i.addEventListener(s, n[s], !1);
@@ -3377,7 +3381,7 @@ var ra = /* @__PURE__ */ function(a) {
3377
3381
  var s = e.children;
3378
3382
  if (s) {
3379
3383
  this._videoSourceCount = s.length, this._videoSourceIndex = s.length, this._vLoadeddata = function(h) {
3380
- n.emit(Wn, {
3384
+ n.emit(Gn, {
3381
3385
  src: h.target.currentSrc,
3382
3386
  host: f.getHostFromUrl(h.target.currentSrc)
3383
3387
  });
@@ -3396,8 +3400,8 @@ var ra = /* @__PURE__ */ function(a) {
3396
3400
  };
3397
3401
  l ? l.error(h, p) : n.errorHandler("error", p);
3398
3402
  }
3399
- var g = Gi[4];
3400
- n.emit(jn, new kt(n, {
3403
+ var g = $i[4];
3404
+ n.emit(Wn, new kt(n, {
3401
3405
  errorType: g,
3402
3406
  errorCode: 4,
3403
3407
  errorMessage: "sources_load_error",
@@ -3430,7 +3434,7 @@ var ra = /* @__PURE__ */ function(a) {
3430
3434
  value: function(e) {
3431
3435
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
3432
3436
  if (this.media && (this.media.error || i)) {
3433
- var n = this.media.error || i, s = n.code ? Gi[n.code] : "other", l = n.message;
3437
+ var n = this.media.error || i, s = n.code ? $i[n.code] : "other", l = n.message;
3434
3438
  this.media.currentSrc || (l = "empty_src", n = {
3435
3439
  code: 6,
3436
3440
  message: l
@@ -3719,7 +3723,7 @@ var ra = /* @__PURE__ */ function(a) {
3719
3723
  M(O(r.prototype), "removeAllListeners", this).call(this);
3720
3724
  }
3721
3725
  }]), r;
3722
- }(Pn), sa = /* @__PURE__ */ function() {
3726
+ }(Ln), oa = /* @__PURE__ */ function() {
3723
3727
  function a() {
3724
3728
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
3725
3729
  name: "xgplayer",
@@ -3797,7 +3801,7 @@ var ra = /* @__PURE__ */ function(a) {
3797
3801
  t.clear();
3798
3802
  }
3799
3803
  }]), a;
3800
- }(), Ki = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Yi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], Xi = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], ze = "data-xgplayerid";
3804
+ }(), Yi = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Xi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], qi = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], ze = "data-xgplayerid";
3801
3805
  function vt(a, o, r) {
3802
3806
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
3803
3807
  e[i - 3] = arguments[i];
@@ -3846,14 +3850,14 @@ function Pt(a, o) {
3846
3850
  var r = this.__hooks;
3847
3851
  r && delete r[a];
3848
3852
  }
3849
- function qi(a) {
3853
+ function Zi(a) {
3850
3854
  if (!(!this.plugins || !this.plugins[a.toLowerCase()])) {
3851
3855
  for (var o = this.plugins[a.toLowerCase()], r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), e = 1; e < r; e++)
3852
3856
  t[e - 1] = arguments[e];
3853
3857
  return o.useHooks && o.useHooks.apply(o, t);
3854
3858
  }
3855
3859
  }
3856
- function Zi(a) {
3860
+ function Ji(a) {
3857
3861
  if (!(!this.plugins || !this.plugins[a.toLowerCase()])) {
3858
3862
  var o = this.plugins[a.toLowerCase()];
3859
3863
  if (o) {
@@ -3863,7 +3867,7 @@ function Zi(a) {
3863
3867
  }
3864
3868
  }
3865
3869
  }
3866
- function Yn(a) {
3870
+ function Xn(a) {
3867
3871
  var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
3868
3872
  a.__hooks = {}, o && o.map(function(r) {
3869
3873
  a.__hooks[r] = null;
@@ -3876,7 +3880,7 @@ function Yn(a) {
3876
3880
  }
3877
3881
  });
3878
3882
  }
3879
- function Xn(a) {
3883
+ function qn(a) {
3880
3884
  a.__hooks = null;
3881
3885
  }
3882
3886
  function Te(a, o, r) {
@@ -3900,7 +3904,7 @@ function jt(a, o) {
3900
3904
  }
3901
3905
  var Me = /* @__PURE__ */ function() {
3902
3906
  function a(o) {
3903
- x(this, a), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(o), Yn(this), this.__args = o, this.__events = {}, this.__onceEvents = {}, this.config = o.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(o);
3907
+ x(this, a), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(o), Xn(this), this.__args = o, this.__events = {}, this.__onceEvents = {}, this.config = o.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(o);
3904
3908
  }
3905
3909
  return I(a, [{
3906
3910
  key: "beforeCreate",
@@ -4064,7 +4068,7 @@ var Me = /* @__PURE__ */ function() {
4064
4068
  var r = this, t = this.player, e = this.pluginName;
4065
4069
  this.offAll(), f.clearAllTimers(this), f.checkIsFunction(this.destroy) && this.destroy(), ["player", "playerConfig", "pluginName", "logger", "__args", "__hooks"].map(function(i) {
4066
4070
  r[i] = null;
4067
- }), t.unRegisterPlugin(e), Xn(this);
4071
+ }), t.unRegisterPlugin(e), qn(this);
4068
4072
  }
4069
4073
  }], [{
4070
4074
  key: "defineGetterOrSetter",
@@ -4083,40 +4087,40 @@ var Me = /* @__PURE__ */ function() {
4083
4087
  return "pluginName";
4084
4088
  }
4085
4089
  }]), a;
4086
- }(), oa = 9;
4090
+ }(), aa = 9;
4087
4091
  if (typeof Element < "u" && !Element.prototype.matches) {
4088
4092
  var Ye = Element.prototype;
4089
4093
  Ye.matches = Ye.matchesSelector || Ye.mozMatchesSelector || Ye.msMatchesSelector || Ye.oMatchesSelector || Ye.webkitMatchesSelector;
4090
4094
  }
4091
- function aa(a, o) {
4092
- for (; a && a.nodeType !== oa; ) {
4095
+ function la(a, o) {
4096
+ for (; a && a.nodeType !== aa; ) {
4093
4097
  if (typeof a.matches == "function" && a.matches(o))
4094
4098
  return a;
4095
4099
  a = a.parentNode;
4096
4100
  }
4097
4101
  }
4098
- var la = aa, ua = la;
4102
+ var ua = la, ca = ua;
4099
4103
  function Wt(a, o, r, t, e) {
4100
- var i = fa.apply(this, arguments);
4104
+ var i = ha.apply(this, arguments);
4101
4105
  return a.addEventListener(r, i, e), {
4102
4106
  destroy: function() {
4103
4107
  a.removeEventListener(r, i, e);
4104
4108
  }
4105
4109
  };
4106
4110
  }
4107
- function ca(a, o, r, t, e) {
4111
+ function fa(a, o, r, t, e) {
4108
4112
  return typeof a.addEventListener == "function" ? Wt.apply(null, arguments) : typeof r == "function" ? Wt.bind(null, document).apply(null, arguments) : (typeof a == "string" && (a = document.querySelectorAll(a)), Array.prototype.map.call(a, function(i) {
4109
4113
  return Wt(i, o, r, t, e);
4110
4114
  }));
4111
4115
  }
4112
- function fa(a, o, r, t) {
4116
+ function ha(a, o, r, t) {
4113
4117
  return function(e) {
4114
- e.delegateTarget = ua(e.target, o), e.delegateTarget && t.call(a, e);
4118
+ e.delegateTarget = ca(e.target, o), e.delegateTarget && t.call(a, e);
4115
4119
  };
4116
4120
  }
4117
- var ha = ca;
4118
- const Ji = /* @__PURE__ */ di(ha);
4119
- var da = {
4121
+ var da = fa;
4122
+ const Qi = /* @__PURE__ */ di(da);
4123
+ var ga = {
4120
4124
  CONTROLS: "controls",
4121
4125
  ROOT: "root"
4122
4126
  }, $ = {
@@ -4129,22 +4133,22 @@ var da = {
4129
4133
  CONTROLS_RIGHT: "controlsRight",
4130
4134
  CONTROLS_CENTER: "controlsCenter",
4131
4135
  CONTROLS: "controls"
4132
- }, Qi = {
4136
+ }, en = {
4133
4137
  ICON_DISABLE: "xg-icon-disable",
4134
4138
  ICON_HIDE: "xg-icon-hide"
4135
4139
  };
4136
4140
  function Gt(a) {
4137
4141
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
4138
4142
  }
4139
- function ga(a, o) {
4143
+ function pa(a, o) {
4140
4144
  return se(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
4141
4145
  }
4142
- function pa(a, o) {
4146
+ function va(a, o) {
4143
4147
  return se(a) === "object" && a.attr && se(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
4144
4148
  o[r] = a.attr[r];
4145
4149
  }), o;
4146
4150
  }
4147
- function en(a, o) {
4151
+ function tn(a, o) {
4148
4152
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "", t = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, e = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : "", i = null;
4149
4153
  if (a instanceof window.Element)
4150
4154
  return f.addClass(a, r), Object.keys(t).map(function(n) {
@@ -4162,14 +4166,14 @@ function en(a, o) {
4162
4166
  }
4163
4167
  return typeof a == "string" ? f.createDomFromHtml(a, t, r) : (H.logWarn("warn>>icons.".concat(o, " in config of plugin named [").concat(e, "] is invalid")), null);
4164
4168
  }
4165
- function va(a, o) {
4169
+ function ma(a, o) {
4166
4170
  var r = o.config.icons || o.playerConfig.icons;
4167
4171
  Object.keys(a).map(function(t) {
4168
4172
  var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
4169
- r && r[t] && (i = ga(r[t], i), n = pa(r[t], n), s = en(r[t], t, i, n, o.pluginName)), !s && e && (s = en(e.icon ? e.icon : e, n, i, {}, o.pluginName)), o.icons[t] = s;
4173
+ r && r[t] && (i = pa(r[t], i), n = va(r[t], n), s = tn(r[t], t, i, n, o.pluginName)), !s && e && (s = tn(e.icon ? e.icon : e, n, i, {}, o.pluginName)), o.icons[t] = s;
4170
4174
  });
4171
4175
  }
4172
- function ma(a, o) {
4176
+ function ya(a, o) {
4173
4177
  Object.keys(a).map(function(r) {
4174
4178
  Object.defineProperty(o.langText, r, {
4175
4179
  get: function() {
@@ -4193,9 +4197,9 @@ var j = /* @__PURE__ */ function(a) {
4193
4197
  var i = e.root, n = null;
4194
4198
  this.icons = {}, this.root = null, this.parent = null;
4195
4199
  var s = this.registerIcons() || {};
4196
- va(s, this), this.langText = {};
4200
+ ma(s, this), this.langText = {};
4197
4201
  var l = this.registerLanguageTexts() || {};
4198
- ma(l, this);
4202
+ ya(l, this);
4199
4203
  var u = "";
4200
4204
  try {
4201
4205
  u = this.render();
@@ -4266,12 +4270,12 @@ var j = /* @__PURE__ */ function(a) {
4266
4270
  }, {
4267
4271
  key: "disable",
4268
4272
  value: function() {
4269
- this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"), Qi.ICON_DISABLE);
4273
+ this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"), en.ICON_DISABLE);
4270
4274
  }
4271
4275
  }, {
4272
4276
  key: "enable",
4273
4277
  value: function() {
4274
- this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"), Qi.ICON_DISABLE);
4278
+ this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"), en.ICON_DISABLE);
4275
4279
  }
4276
4280
  }, {
4277
4281
  key: "children",
@@ -4452,11 +4456,11 @@ var j = /* @__PURE__ */ function(a) {
4452
4456
  if (e instanceof window.Node && typeof s == "function")
4453
4457
  if (Array.isArray(n))
4454
4458
  n.forEach(function(h) {
4455
- var d = Ji(e, i, h, s, l);
4459
+ var d = Qi(e, i, h, s, l);
4456
4460
  d.key = "".concat(i, "_").concat(h), u.push(d);
4457
4461
  });
4458
4462
  else {
4459
- var c = Ji(e, i, n, s, l);
4463
+ var c = Qi(e, i, n, s, l);
4460
4464
  c.key = "".concat(i, "_").concat(n), u.push(c);
4461
4465
  }
4462
4466
  return u;
@@ -4464,7 +4468,7 @@ var j = /* @__PURE__ */ function(a) {
4464
4468
  }, {
4465
4469
  key: "ROOT_TYPES",
4466
4470
  get: function() {
4467
- return da;
4471
+ return ga;
4468
4472
  }
4469
4473
  }, {
4470
4474
  key: "POSITIONS",
@@ -4472,7 +4476,7 @@ var j = /* @__PURE__ */ function(a) {
4472
4476
  return $;
4473
4477
  }
4474
4478
  }]), r;
4475
- }(Me), ya = /* @__PURE__ */ function() {
4479
+ }(Me), _a = /* @__PURE__ */ function() {
4476
4480
  function a() {
4477
4481
  var o = this;
4478
4482
  if (x(this, a), _(this, "__trigger", function(r) {
@@ -4482,7 +4486,7 @@ var j = /* @__PURE__ */ function(a) {
4482
4486
  o.__runHandler(r[e].target);
4483
4487
  }), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
4484
4488
  try {
4485
- this.observer = new window.ResizeObserver(Vo(this.__trigger, 100, {
4489
+ this.observer = new window.ResizeObserver(jo(this.__trigger, 100, {
4486
4490
  trailing: !0
4487
4491
  })), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
4488
4492
  } catch (r) {
@@ -4537,17 +4541,17 @@ var j = /* @__PURE__ */ function(a) {
4537
4541
  }
4538
4542
  }]), a;
4539
4543
  }(), lt = null;
4540
- function _a(a, o) {
4541
- return lt || (lt = new ya()), lt.addObserver(a, o), lt;
4542
- }
4543
4544
  function Ca(a, o) {
4545
+ return lt || (lt = new _a()), lt.addObserver(a, o), lt;
4546
+ }
4547
+ function ka(a, o) {
4544
4548
  lt.unObserver(a, o);
4545
4549
  }
4546
4550
  var ie = {
4547
4551
  pluginGroup: {},
4548
4552
  init: function(o) {
4549
4553
  var r = o._pluginInfoId;
4550
- r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver && _a(o.root, function() {
4554
+ r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver && Ca(o.root, function() {
4551
4555
  o.resize();
4552
4556
  }), this.pluginGroup[r] = {
4553
4557
  _originalOptions: o.config || {},
@@ -4733,7 +4737,7 @@ var ie = {
4733
4737
  destroy: function(o) {
4734
4738
  var r = o._pluginInfoId;
4735
4739
  if (this.pluginGroup[r]) {
4736
- Ca(o.root);
4740
+ ka(o.root);
4737
4741
  for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
4738
4742
  var n = i[e];
4739
4743
  this.unRegister(r, n);
@@ -4772,7 +4776,7 @@ var ie = {
4772
4776
  MOBILE: "xgplayer-mobile",
4773
4777
  MINI: "xgplayer-mini"
4774
4778
  };
4775
- function tn() {
4779
+ function nn() {
4776
4780
  return {
4777
4781
  id: "",
4778
4782
  el: null,
@@ -4819,7 +4823,7 @@ function tn() {
4819
4823
  ignores: [],
4820
4824
  whitelist: [],
4821
4825
  inactive: 3e3,
4822
- lang: jo(),
4826
+ lang: Wo(),
4823
4827
  controls: !0,
4824
4828
  marginControls: !1,
4825
4829
  fullscreenTarget: null,
@@ -4855,7 +4859,7 @@ function tn() {
4855
4859
  }
4856
4860
  };
4857
4861
  }
4858
- var ka = function(o, r) {
4862
+ var wa = function(o, r) {
4859
4863
  var t, e, i;
4860
4864
  r.preset && r.options ? i = new r.preset(r.options, o.config) : i = new r({}, o.config);
4861
4865
  var n = i, s = n.plugins, l = s === void 0 ? [] : s, u = n.ignores, c = u === void 0 ? [] : u, h = n.icons, d = h === void 0 ? {} : h, p = n.i18n, g = p === void 0 ? [] : p;
@@ -4864,7 +4868,7 @@ var ka = function(o, r) {
4864
4868
  });
4865
4869
  var m = o.config.i18n || [];
4866
4870
  g.push.apply(g, ve(m)), o.config.i18n = g;
4867
- }, wa = /* @__PURE__ */ function(a) {
4871
+ }, ba = /* @__PURE__ */ function(a) {
4868
4872
  L(r, a);
4869
4873
  var o = A(r);
4870
4874
  function r() {
@@ -5025,7 +5029,7 @@ var ka = function(o, r) {
5025
5029
  };
5026
5030
  }
5027
5031
  }]), r;
5028
- }(j), ba = {
5032
+ }(j), Ta = {
5029
5033
  LANG: "en",
5030
5034
  TEXT: {
5031
5035
  ERROR_TYPES: {
@@ -5115,12 +5119,12 @@ function ht(a, o) {
5115
5119
  t === "Object" ? (e !== "Object" && (a[r] = {}), ht(a[r], o[r])) : a[r] = o[r];
5116
5120
  }), a;
5117
5121
  }
5118
- function qn() {
5122
+ function Zn() {
5119
5123
  Object.keys(ce.lang.en).map(function(a) {
5120
5124
  ce.textKeys[a] = a;
5121
5125
  });
5122
5126
  }
5123
- function Ta(a, o) {
5127
+ function Ea(a, o) {
5124
5128
  var r = [];
5125
5129
  if (o || (o = ce), !!o.lang) {
5126
5130
  f.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
@@ -5133,17 +5137,17 @@ function Ta(a, o) {
5133
5137
  var t = o, e = t.lang;
5134
5138
  r.map(function(i) {
5135
5139
  i.LANG === "zh" && (i.LANG = "zh-cn"), e[i.LANG] ? ht(e[i.LANG] || {}, i.TEXT || {}) : bi(i, o);
5136
- }), qn();
5140
+ }), Zn();
5137
5141
  }
5138
5142
  }
5139
5143
  function bi(a, o) {
5140
5144
  var r = a.LANG;
5141
5145
  if (o || (o = ce), !!o.lang) {
5142
5146
  var t = a.TEXT || {};
5143
- r === "zh" && (r = "zh-cn"), o.lang[r] ? ht(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t), qn();
5147
+ r === "zh" && (r = "zh-cn"), o.lang[r] ? ht(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t), Zn();
5144
5148
  }
5145
5149
  }
5146
- function Ea(a) {
5150
+ function Sa(a) {
5147
5151
  var o, r = {
5148
5152
  lang: {},
5149
5153
  langKeys: [],
@@ -5152,7 +5156,7 @@ function Ea(a) {
5152
5156
  };
5153
5157
  return ht(r.lang, ce.lang), (o = r.langKeys).push.apply(o, ve(ce.langKeys)), ht(r.textKeys, ce.textKeys), r;
5154
5158
  }
5155
- bi(ba);
5159
+ bi(Ta);
5156
5160
  var it = {
5157
5161
  get textKeys() {
5158
5162
  return ce.textKeys;
@@ -5166,9 +5170,9 @@ var it = {
5166
5170
  a[o] = ce.lang[o];
5167
5171
  }), ce.lang["zh-cn"] && (a.zh = ce.lang["zh-cn"] || {}), a;
5168
5172
  },
5169
- extend: Ta,
5173
+ extend: Ea,
5170
5174
  use: bi,
5171
- init: Ea
5175
+ init: Sa
5172
5176
  }, V = {
5173
5177
  INITIAL: 1,
5174
5178
  READY: 2,
@@ -5178,7 +5182,7 @@ var it = {
5178
5182
  RUNNING: 6,
5179
5183
  ENDED: 7,
5180
5184
  DESTROYED: 8
5181
- }, nn = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], oe = {}, $t = null, Zn = /* @__PURE__ */ function(a) {
5185
+ }, rn = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], oe = {}, $t = null, Jn = /* @__PURE__ */ function(a) {
5182
5186
  L(r, a);
5183
5187
  var o = A(r);
5184
5188
  function r() {
@@ -5264,8 +5268,8 @@ var it = {
5264
5268
  return $t || ($t = new r()), $t;
5265
5269
  }
5266
5270
  }]), r;
5267
- }(In.EventEmitter);
5268
- function Sa(a) {
5271
+ }(Pn.EventEmitter);
5272
+ function xa(a) {
5269
5273
  for (var o = Object.keys(oe), r = 0; r < o.length; r++) {
5270
5274
  var t = oe[o[r]];
5271
5275
  if (t.root === a)
@@ -5273,13 +5277,13 @@ function Sa(a) {
5273
5277
  }
5274
5278
  return null;
5275
5279
  }
5276
- var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /* @__PURE__ */ function(a) {
5280
+ var Ia = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Le = null, Ft = /* @__PURE__ */ function(a) {
5277
5281
  L(r, a);
5278
5282
  var o = A(r);
5279
5283
  function r(t) {
5280
5284
  var e;
5281
5285
  x(this, r);
5282
- var i = f.deepMerge(tn(), t);
5286
+ var i = f.deepMerge(nn(), t);
5283
5287
  e = o.call(this, i), _(v(e), "canPlayFunc", function() {
5284
5288
  if (e.config) {
5285
5289
  var g = e.config, m = g.autoplay, y = g.defaultPlaybackRate;
@@ -5303,7 +5307,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5303
5307
  to: !1
5304
5308
  }]
5305
5309
  });
5306
- var b = Wo(k, e.playerId, ze);
5310
+ var b = Go(k, e.playerId, ze);
5307
5311
  if (m || k && (k === e._fullscreenEl || b))
5308
5312
  y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, k, C.FULLSCREEN), e.emit(be, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5309
5313
  else if (e.fullscreen) {
@@ -5323,7 +5327,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5323
5327
  e._fullscreenEl = e.media, e.onFullscreenChange(g, !0);
5324
5328
  }), _(v(e), "_onWebkitendfullscreen", function(g) {
5325
5329
  e.onFullscreenChange(g, !1);
5326
- }), Yn(v(e), xa), e.config = i, e._pluginInfoId = f.generateSessionId(), Bo(v(e));
5330
+ }), Xn(v(e), Ia), e.config = i, e._pluginInfoId = f.generateSessionId(), Ho(v(e));
5327
5331
  var n = e.constructor.defaultPreset;
5328
5332
  if (e.config.presets.length) {
5329
5333
  var s = e.config.presets.indexOf("default");
@@ -5352,7 +5356,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5352
5356
  }, e._offsetInfo = {
5353
5357
  currentTime: -1,
5354
5358
  duration: 0
5355
- }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = it.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new sa(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5359
+ }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = it.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new oa(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5356
5360
  isActiveLocked: !1
5357
5361
  }, e.instManager = Le;
5358
5362
  var l = e._initDOM();
@@ -5384,7 +5388,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5384
5388
  msg: "container id can't be empty"
5385
5389
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
5386
5390
  }
5387
- var s = Sa(this.root);
5391
+ var s = xa(this.root);
5388
5392
  s && (H.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(ze, this.playerId), (e = Le) === null || e === void 0 || e.add(this), ie.init(this), this._initBaseDoms();
5389
5393
  var l = this.constructor.XgVideoProxy;
5390
5394
  if (l && this.mediaConfig.mediaType === l.mediaType) {
@@ -5394,7 +5398,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5394
5398
  this.attachVideoEvents(c), this.media = c;
5395
5399
  }
5396
5400
  if (this.media.setAttribute(ze, this.playerId), this.config.controls) {
5397
- var h = this.config.controls.root || null, d = ie.register(this, wa, {
5401
+ var h = this.config.controls.root || null, d = ie.register(this, ba, {
5398
5402
  root: h
5399
5403
  });
5400
5404
  this.controls = d;
@@ -5432,7 +5436,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5432
5436
  var e = this;
5433
5437
  ["focus", "blur"].forEach(function(i) {
5434
5438
  e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
5435
- }), Ki.forEach(function(i) {
5439
+ }), Yi.forEach(function(i) {
5436
5440
  document && document.addEventListener(i, e.onFullscreenChange);
5437
5441
  }), B.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(xe, this.resize), this.playFunc = function() {
5438
5442
  e.config.closeFocusVideoFocus || e.media.focus();
@@ -5442,7 +5446,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5442
5446
  key: "_unbindEvents",
5443
5447
  value: function() {
5444
5448
  var e = this;
5445
- this.root.removeEventListener("mousemove", this.mousemoveFunc), Ki.forEach(function(i) {
5449
+ this.root.removeEventListener("mousemove", this.mousemoveFunc), Yi.forEach(function(i) {
5446
5450
  document.removeEventListener(i, e.onFullscreenChange);
5447
5451
  }), this.playFunc && this.off(he, this.playFunc), this.off(Ee, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
5448
5452
  }
@@ -5455,7 +5459,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5455
5459
  key: "_startInit",
5456
5460
  value: function(e) {
5457
5461
  var i = this;
5458
- if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(Mn), H.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
5462
+ if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(Fn), H.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
5459
5463
  this.handleSource && (this._detachSourceEvents(this.media), f.typeOf(e) === "Array" && e.length > 0 ? this._attachSourceEvents(this.media, e) : !this.media.src || this.media.src !== e ? this.media.src = e : e || this.media.removeAttribute("src")), f.typeOf(this.config.volume) === "Number" && (this.volume = this.config.volume);
5460
5464
  var n = this.innerContainer ? this.innerContainer : this.root;
5461
5465
  this.media instanceof window.Element && !n.contains(this.media) && n.insertBefore(this.media, n.firstChild);
@@ -5502,7 +5506,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5502
5506
  value: function() {
5503
5507
  var e = this;
5504
5508
  this.config.presets.forEach(function(i) {
5505
- ka(e, i);
5509
+ wa(e, i);
5506
5510
  });
5507
5511
  }
5508
5512
  }, {
@@ -5767,7 +5771,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5767
5771
  if (s && (i.map(function(u) {
5768
5772
  e.deregister(u);
5769
5773
  }), n)) {
5770
- var l = tn();
5774
+ var l = nn();
5771
5775
  Object.keys(this.config).keys(function(u) {
5772
5776
  e.config[u] !== "undefined" && (u === "plugins" || u === "presets" || u === "el" || u === "id") && (e.config[u] = l[u]);
5773
5777
  });
@@ -5778,7 +5782,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5778
5782
  value: function() {
5779
5783
  var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
5780
5784
  if (!(!s || !l)) {
5781
- if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(ze), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(ki), (e = Le) === null || e === void 0 || e.remove(this), ie.destroy(this), Xn(this), M(O(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
5785
+ if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(ze), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(ki), (e = Le) === null || e === void 0 || e.remove(this), ie.destroy(this), qn(this), M(O(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
5782
5786
  for (var u = n.children, c = 0; c < u.length; c++)
5783
5787
  n.removeChild(u[c]);
5784
5788
  !n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
@@ -5840,8 +5844,8 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5840
5844
  if (s === this._fullscreenEl)
5841
5845
  return this.onFullscreenChange(), Promise.resolve();
5842
5846
  try {
5843
- for (var l = 0; l < Yi.length; l++) {
5844
- var u = Yi[l];
5847
+ for (var l = 0; l < Xi.length; l++) {
5848
+ var u = Xi[l];
5845
5849
  if (e[u]) {
5846
5850
  var c = u === "webkitRequestFullscreen" ? e.webkitRequestFullscreen(window.Element.ALLOW_KEYBOARD_INPUT) : e[u]();
5847
5851
  return c && c.then ? c : Promise.resolve();
@@ -5860,8 +5864,8 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5860
5864
  var i = this.media;
5861
5865
  this._fullActionFrom = "exit";
5862
5866
  try {
5863
- for (var n = 0; n < Xi.length; n++) {
5864
- var s = Xi[n];
5867
+ for (var n = 0; n < qi.length; n++) {
5868
+ var s = qi[n];
5865
5869
  if (document[s]) {
5866
5870
  var l = document[s]();
5867
5871
  return l && l.then ? l : Promise.resolve();
@@ -5940,7 +5944,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5940
5944
  this.onBlur(e);
5941
5945
  return;
5942
5946
  }
5943
- this._clearUserTimer(), this.emit(Rn, q({
5947
+ this._clearUserTimer(), this.emit(Mn, q({
5944
5948
  paused: this.paused,
5945
5949
  ended: this.ended
5946
5950
  }, e));
@@ -6025,7 +6029,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
6025
6029
  value: function() {
6026
6030
  var e = this;
6027
6031
  this.waitTimer && f.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = f.setTimeout(this, function() {
6028
- e.addClass(C.LOADING), e.emit(Bn), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
6032
+ e.addClass(C.LOADING), e.emit(Hn), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
6029
6033
  }, this.config.minWaitDelay);
6030
6034
  }
6031
6035
  }, {
@@ -6185,7 +6189,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
6185
6189
  }, {
6186
6190
  key: "setState",
6187
6191
  value: function(e) {
6188
- H.logInfo("setState", "state from:".concat(nn[this.state], " to:").concat(nn[e])), this._state = e;
6192
+ H.logInfo("setState", "state from:".concat(rn[this.state], " to:").concat(rn[e])), this._state = e;
6189
6193
  }
6190
6194
  }, {
6191
6195
  key: "_preProcessUrl",
@@ -6351,18 +6355,18 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
6351
6355
  }, {
6352
6356
  key: "avgSpeed",
6353
6357
  get: function() {
6354
- return sn;
6358
+ return on;
6355
6359
  },
6356
6360
  set: function(e) {
6357
- sn = e;
6361
+ on = e;
6358
6362
  }
6359
6363
  }, {
6360
6364
  key: "realTimeSpeed",
6361
6365
  get: function() {
6362
- return rn;
6366
+ return sn;
6363
6367
  },
6364
6368
  set: function(e) {
6365
- rn = e;
6369
+ sn = e;
6366
6370
  }
6367
6371
  }, {
6368
6372
  key: "offsetCurrentTime",
@@ -6400,14 +6404,14 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
6400
6404
  value: function(e, i, n) {
6401
6405
  for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
6402
6406
  l[u - 3] = arguments[u];
6403
- return qi.call.apply(qi, [this].concat(Array.prototype.slice.call(arguments)));
6407
+ return Zi.call.apply(Zi, [this].concat(Array.prototype.slice.call(arguments)));
6404
6408
  }
6405
6409
  }, {
6406
6410
  key: "removePluginHooks",
6407
6411
  value: function(e, i, n) {
6408
6412
  for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
6409
6413
  l[u - 3] = arguments[u];
6410
- return Zi.call.apply(Zi, [this].concat(Array.prototype.slice.call(arguments)));
6414
+ return Ji.call.apply(Ji, [this].concat(Array.prototype.slice.call(arguments)));
6411
6415
  }
6412
6416
  }, {
6413
6417
  key: "setUserActive",
@@ -6464,10 +6468,10 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
6464
6468
  r.plugins || (r.plugins = {}), r.plugins[e] = i;
6465
6469
  }
6466
6470
  }]), r;
6467
- }(ra);
6471
+ }(sa);
6468
6472
  _(Ft, "defaultPreset", null);
6469
6473
  _(Ft, "XgVideoProxy", null);
6470
- Ft.instManager = Zn.getInstance();
6474
+ Ft.instManager = Jn.getInstance();
6471
6475
  function re() {
6472
6476
  return (/* @__PURE__ */ new Date()).getTime();
6473
6477
  }
@@ -6479,7 +6483,7 @@ var Ae = {
6479
6483
  WAIT_END: "waitingEnd",
6480
6484
  SEEK_START: "seekStart",
6481
6485
  SEEK_END: "seekEnd"
6482
- }, Ia = /* @__PURE__ */ function(a) {
6486
+ }, Pa = /* @__PURE__ */ function(a) {
6483
6487
  L(r, a);
6484
6488
  var o = A(r);
6485
6489
  function r() {
@@ -6606,7 +6610,7 @@ var Ae = {
6606
6610
  key: "emitLog",
6607
6611
  value: function(e, i) {
6608
6612
  var n = this.player;
6609
- this.emit(Vn, q({
6613
+ this.emit(jn, q({
6610
6614
  t: re(),
6611
6615
  host: f.getHostFromUrl(n.currentSrc),
6612
6616
  vtype: n.vtype,
@@ -6630,13 +6634,13 @@ var Ae = {
6630
6634
  }
6631
6635
  }]), r;
6632
6636
  }(j);
6633
- function Pa() {
6637
+ function La() {
6634
6638
  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">
6635
6639
  <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>
6636
6640
  </svg>
6637
6641
  `, "image/svg+xml").firstChild;
6638
6642
  }
6639
- var La = /* @__PURE__ */ function(a) {
6643
+ var Aa = /* @__PURE__ */ function(a) {
6640
6644
  L(r, a);
6641
6645
  var o = A(r);
6642
6646
  function r() {
@@ -6646,7 +6650,7 @@ var La = /* @__PURE__ */ function(a) {
6646
6650
  key: "registerIcons",
6647
6651
  value: function() {
6648
6652
  return {
6649
- replay: Pa
6653
+ replay: La
6650
6654
  };
6651
6655
  }
6652
6656
  }, {
@@ -6719,7 +6723,7 @@ var La = /* @__PURE__ */ function(a) {
6719
6723
  };
6720
6724
  }
6721
6725
  }]), r;
6722
- }(j), Aa = /* @__PURE__ */ function(a) {
6726
+ }(j), Da = /* @__PURE__ */ function(a) {
6723
6727
  L(r, a);
6724
6728
  var o = A(r);
6725
6729
  function r() {
@@ -6844,7 +6848,7 @@ function Ei() {
6844
6848
  `, "image/svg+xml").firstChild;
6845
6849
  }
6846
6850
  var ke = {};
6847
- function Da(a, o) {
6851
+ function Oa(a, o) {
6848
6852
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
6849
6853
  start: null,
6850
6854
  end: null
@@ -6853,7 +6857,7 @@ function Da(a, o) {
6853
6857
  r.end && r.end(), window.clearTimeout(ke[a].id), delete ke[a];
6854
6858
  }, o), ke[a].id;
6855
6859
  }
6856
- function on(a) {
6860
+ function an(a) {
6857
6861
  if (a) {
6858
6862
  window.clearTimeout(a);
6859
6863
  return;
@@ -6862,7 +6866,7 @@ function on(a) {
6862
6866
  window.clearTimeout(ke[o].id), delete ke[o];
6863
6867
  });
6864
6868
  }
6865
- var Oa = /* @__PURE__ */ function(a) {
6869
+ var Ra = /* @__PURE__ */ function(a) {
6866
6870
  L(r, a);
6867
6871
  var o = A(r);
6868
6872
  function r(t) {
@@ -6954,7 +6958,7 @@ var Oa = /* @__PURE__ */ function(a) {
6954
6958
  key: "animate",
6955
6959
  value: function(e) {
6956
6960
  var i = this;
6957
- this._animateId = Da("pauseplay", 400, {
6961
+ this._animateId = Oa("pauseplay", 400, {
6958
6962
  start: function() {
6959
6963
  f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
6960
6964
  },
@@ -6966,7 +6970,7 @@ var Oa = /* @__PURE__ */ function(a) {
6966
6970
  }, {
6967
6971
  key: "endAnimate",
6968
6972
  value: function() {
6969
- f.removeClass(this.root, "interact"), on(this._animateId), this._animateId = null;
6973
+ f.removeClass(this.root, "interact"), an(this._animateId), this._animateId = null;
6970
6974
  }
6971
6975
  }, {
6972
6976
  key: "switchPausePlay",
@@ -7010,7 +7014,7 @@ var Oa = /* @__PURE__ */ function(a) {
7010
7014
  }, {
7011
7015
  key: "destroy",
7012
7016
  value: function() {
7013
- this.unbind(["click", "touchend"], this.clickHandler), on(this._animateId);
7017
+ this.unbind(["click", "touchend"], this.clickHandler), an(this._animateId);
7014
7018
  }
7015
7019
  }, {
7016
7020
  key: "render",
@@ -7037,7 +7041,7 @@ var Oa = /* @__PURE__ */ function(a) {
7037
7041
  };
7038
7042
  }
7039
7043
  }]), r;
7040
- }(j), Ra = /* @__PURE__ */ function(a) {
7044
+ }(j), Ma = /* @__PURE__ */ function(a) {
7041
7045
  L(r, a);
7042
7046
  var o = A(r);
7043
7047
  function r() {
@@ -7082,7 +7086,7 @@ function Be(a, o, r) {
7082
7086
  return '<div class="xg-tips hide"></div>';
7083
7087
  }
7084
7088
  }
7085
- var an = /* @__PURE__ */ function(a) {
7089
+ var ln = /* @__PURE__ */ function(a) {
7086
7090
  L(r, a);
7087
7091
  var o = A(r);
7088
7092
  function r() {
@@ -7132,12 +7136,12 @@ var an = /* @__PURE__ */ function(a) {
7132
7136
  }
7133
7137
  }]), r;
7134
7138
  }(j);
7135
- function ln(a) {
7139
+ function un(a) {
7136
7140
  var o = parseFloat(a), r = a.indexOf("%") === -1 && !Number.isNaN(o);
7137
7141
  return r && o;
7138
7142
  }
7139
- var Si = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Jn = Si.length;
7140
- function Ma() {
7143
+ var Si = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Qn = Si.length;
7144
+ function Fa() {
7141
7145
  for (var a = {
7142
7146
  width: 0,
7143
7147
  height: 0,
@@ -7145,30 +7149,30 @@ function Ma() {
7145
7149
  innerHeight: 0,
7146
7150
  outerWidth: 0,
7147
7151
  outerHeight: 0
7148
- }, o = 0; o < Jn; o++) {
7152
+ }, o = 0; o < Qn; o++) {
7149
7153
  var r = Si[o];
7150
7154
  a[r] = 0;
7151
7155
  }
7152
7156
  return a;
7153
7157
  }
7154
- function Fa(a) {
7158
+ function Na(a) {
7155
7159
  var o = window.getComputedStyle(a);
7156
7160
  return o;
7157
7161
  }
7158
- function un(a) {
7162
+ function cn(a) {
7159
7163
  if (typeof a == "string" && (a = document.querySelector(a)), !(!a || se(a) !== "object" || !a.nodeType)) {
7160
- var o = Fa(a);
7164
+ var o = Na(a);
7161
7165
  if (o.display === "none")
7162
- return Ma();
7166
+ return Fa();
7163
7167
  var r = {};
7164
7168
  r.width = a.offsetWidth, r.height = a.offsetHeight;
7165
- for (var t = r.isBorderBox = o.boxSizing === "border-box", e = 0; e < Jn; e++) {
7169
+ for (var t = r.isBorderBox = o.boxSizing === "border-box", e = 0; e < Qn; e++) {
7166
7170
  var i = Si[e], n = o[i], s = parseFloat(n);
7167
7171
  r[i] = Number.isNaN(s) ? 0 : s;
7168
7172
  }
7169
- var l = r.paddingLeft + r.paddingRight, u = r.paddingTop + r.paddingBottom, c = r.marginLeft + r.marginRight, h = r.marginTop + r.marginBottom, d = r.borderLeftWidth + r.borderRightWidth, p = r.borderTopWidth + r.borderBottomWidth, g = t, m = ln(o.width);
7173
+ var l = r.paddingLeft + r.paddingRight, u = r.paddingTop + r.paddingBottom, c = r.marginLeft + r.marginRight, h = r.marginTop + r.marginBottom, d = r.borderLeftWidth + r.borderRightWidth, p = r.borderTopWidth + r.borderBottomWidth, g = t, m = un(o.width);
7170
7174
  m !== !1 && (r.width = m + (g ? 0 : l + d));
7171
- var y = ln(o.height);
7175
+ var y = un(o.height);
7172
7176
  return y !== !1 && (r.height = y + (g ? 0 : u + p)), r.innerWidth = r.width - (l + d), r.innerHeight = r.height - (u + p), r.outerWidth = r.width + c, r.outerHeight = r.height + h, r;
7173
7177
  }
7174
7178
  }
@@ -7183,11 +7187,11 @@ var Yt = {
7183
7187
  START: "dragStart",
7184
7188
  MOVE: "dragMove",
7185
7189
  ENDED: "dragEnded"
7186
- }, cn = {
7190
+ }, fn = {
7187
7191
  mousedown: ["mousemove", "mouseup"],
7188
7192
  touchstart: ["touchmove", "touchend", "touchcancel"],
7189
7193
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
7190
- }, Na = /* @__PURE__ */ function(a) {
7194
+ }, Ba = /* @__PURE__ */ function(a) {
7191
7195
  L(r, a);
7192
7196
  var o = A(r);
7193
7197
  function r(t) {
@@ -7204,7 +7208,7 @@ var Yt = {
7204
7208
  key: "_bindStartEvent",
7205
7209
  value: function() {
7206
7210
  var e = this;
7207
- "ontouchstart" in window ? this._startKey = "touchstart" : this._startKey = "mousedown", this["on".concat(this._startKey)] = this["on".concat(this._startKey)].bind(this), this._handlerDom.addEventListener(this._startKey, this["on".concat(this._startKey)]), cn[this._startKey].map(function(i) {
7211
+ "ontouchstart" in window ? this._startKey = "touchstart" : this._startKey = "mousedown", this["on".concat(this._startKey)] = this["on".concat(this._startKey)].bind(this), this._handlerDom.addEventListener(this._startKey, this["on".concat(this._startKey)]), fn[this._startKey].map(function(i) {
7208
7212
  e["on".concat(i)] = e["on".concat(i)].bind(e);
7209
7213
  });
7210
7214
  }
@@ -7218,7 +7222,7 @@ var Yt = {
7218
7222
  value: function(e) {
7219
7223
  var i = this;
7220
7224
  if (e) {
7221
- var n = cn[this._startKey];
7225
+ var n = fn[this._startKey];
7222
7226
  n.map(function(s) {
7223
7227
  window.addEventListener(s, i["on".concat(s)]);
7224
7228
  }), this._boundPointerEvents = n;
@@ -7310,7 +7314,7 @@ var Yt = {
7310
7314
  value: function(e, i) {
7311
7315
  if (!(!this._root || this.isDown || !this.isEnabled)) {
7312
7316
  this.downPoint = i, this.dragPoint.x = 0, this.dragPoint.y = 0, this._getPosition();
7313
- var n = un(this._root);
7317
+ var n = cn(this._root);
7314
7318
  this.startPos.x = this.position.x, this.startPos.y = this.position.y, this.startPos.maxY = window.innerHeight - n.height, this.startPos.maxX = window.innerWidth - n.width, this.setLeftTop(), this.isDown = !0, this._bindPostStartEvents(e);
7315
7319
  }
7316
7320
  }
@@ -7391,13 +7395,13 @@ var Yt = {
7391
7395
  key: "_getPositionCoord",
7392
7396
  value: function(e, i) {
7393
7397
  if (e.indexOf("%") !== -1) {
7394
- var n = un(this._root.parentNode);
7398
+ var n = cn(this._root.parentNode);
7395
7399
  return n ? parseFloat(e) / 100 * n[i] : 0;
7396
7400
  }
7397
7401
  return parseInt(e, 10);
7398
7402
  }
7399
7403
  }]), r;
7400
- }(Pn), Ba = /* @__PURE__ */ function(a) {
7404
+ }(Ln), Ha = /* @__PURE__ */ function(a) {
7401
7405
  L(r, a);
7402
7406
  var o = A(r);
7403
7407
  function r(t) {
@@ -7450,10 +7454,10 @@ var Yt = {
7450
7454
  }
7451
7455
  }
7452
7456
  };
7453
- i.controls.registerPlugin(an, s, an.pluginName);
7457
+ i.controls.registerPlugin(ln, s, ln.pluginName);
7454
7458
  }
7455
7459
  var l = f.checkTouchSupport() ? "touchend" : "click";
7456
- this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Na(this.player.root, {
7460
+ this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Ba(this.player.root, {
7457
7461
  handle: this.root
7458
7462
  })), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
7459
7463
  }
@@ -7568,7 +7572,7 @@ var Yt = {
7568
7572
  var l = v(t), u = l.playerConfig, c = l.player;
7569
7573
  !u.closeFocusVideoFocus && c.media.focus(), u.closeDelayBlur ? c.focus({
7570
7574
  autoHide: !1
7571
- }) : c.focus(), t.emit(Nn);
7575
+ }) : c.focus(), t.emit(Bn);
7572
7576
  }), _(v(t), "onMouseLeave", function(s) {
7573
7577
  var l = t.playerConfig, u = l.closePlayerBlur, c = l.leavePlayerTime, h = l.closeDelayBlur;
7574
7578
  !u && !h && (c ? t.player.focus({
@@ -7576,7 +7580,7 @@ var Yt = {
7576
7580
  delay: c
7577
7581
  }) : t.player.blur({
7578
7582
  ignorePaused: !0
7579
- })), t.emit(Fn);
7583
+ })), t.emit(Nn);
7580
7584
  }), _(v(t), "onVideoClick", function(s) {
7581
7585
  var l = v(t), u = l.player, c = l.playerConfig;
7582
7586
  s.target && c.closeVideoClick || (s.target === u.root || s.target === u.media || s.target === u.innerContainer || s.target === u.media.__canvas) && (s.preventDefault(), c.closeVideoStopPropagation || s.stopPropagation(), t._clickCount++, t.clickTimer && (clearTimeout(t.clickTimer), t.clickTimer = null), t.clickTimer = setTimeout(function() {
@@ -7667,21 +7671,21 @@ var Yt = {
7667
7671
  TOUCH_MOVE: "touchmove",
7668
7672
  TOUCH_START: "touchstart",
7669
7673
  TOUCH_END: "touchend"
7670
- }, Ha = {
7674
+ }, Ua = {
7671
7675
  start: "touchstart",
7672
7676
  end: "touchend",
7673
7677
  move: "touchmove",
7674
7678
  cancel: "touchcancel"
7675
- }, Ua = {
7679
+ }, za = {
7676
7680
  start: "mousedown",
7677
7681
  end: "mouseup",
7678
7682
  move: "mousemove",
7679
7683
  cancel: "mouseleave"
7680
7684
  };
7681
- function fn(a) {
7685
+ function hn(a) {
7682
7686
  return a && a.length > 0 ? a[a.length - 1] : null;
7683
7687
  }
7684
- function za() {
7688
+ function Va() {
7685
7689
  return {
7686
7690
  pressDelay: 600,
7687
7691
  dbClickDelay: 200,
@@ -7691,13 +7695,13 @@ function za() {
7691
7695
  needPreventDefault: !0
7692
7696
  };
7693
7697
  }
7694
- var Va = /* @__PURE__ */ function() {
7698
+ var ja = /* @__PURE__ */ function() {
7695
7699
  function a(o) {
7696
7700
  var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
7697
7701
  eventType: "touch"
7698
7702
  };
7699
7703
  x(this, a), _(this, "onTouchStart", function(e) {
7700
- var i = r._pos, n = r.root, s = fn(e.touches);
7704
+ var i = r._pos, n = r.root, s = hn(e.touches);
7701
7705
  i.x = s ? parseInt(s.pageX, 10) : e.pageX, i.y = s ? parseInt(s.pageX, 10) : e.pageX, i.start = !0, r.__setPress(e), n.addEventListener(r.events.end, r.onTouchEnd), n.addEventListener(r.events.cancel, r.onTouchCancel), n.addEventListener(r.events.move, r.onTouchMove), r.trigger(De.TOUCH_START, e);
7702
7706
  }), _(this, "onTouchCancel", function(e) {
7703
7707
  r.onTouchEnd(e);
@@ -7705,16 +7709,16 @@ var Va = /* @__PURE__ */ function() {
7705
7709
  var i = r._pos, n = r.root;
7706
7710
  r.__clearPress(), n.removeEventListener(r.events.cancel, r.onTouchCancel), n.removeEventListener(r.events.end, r.onTouchEnd), n.removeEventListener(r.events.move, r.onTouchMove), e.moving = i.moving, e.press = i.press, i.press && r.trigger(De.PRESS_END, e), r.trigger(De.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
7707
7711
  }), _(this, "onTouchMove", function(e) {
7708
- var i = r._pos, n = r.config, s = fn(e.touches), l = s ? parseInt(s.pageX, 10) : e.pageX, u = s ? parseInt(s.pageY, 10) : e.pageX, c = l - i.x, h = u - i.y;
7712
+ var i = r._pos, n = r.config, s = hn(e.touches), l = s ? parseInt(s.pageX, 10) : e.pageX, u = s ? parseInt(s.pageY, 10) : e.pageX, c = l - i.x, h = u - i.y;
7709
7713
  Math.abs(h) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(De.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger(De.TOUCH_MOVE, e));
7710
7714
  }), this._pos = {
7711
7715
  moving: !1,
7712
7716
  start: !1,
7713
7717
  x: 0,
7714
7718
  y: 0
7715
- }, this.config = za(), Object.keys(t).map(function(e) {
7719
+ }, this.config = Va(), Object.keys(t).map(function(e) {
7716
7720
  r.config[e] = t[e];
7717
- }), this.root = o, this.events = t.eventType === "mouse" ? Ua : Ha, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
7721
+ }), this.root = o, this.events = t.eventType === "mouse" ? za : Ua, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
7718
7722
  }
7719
7723
  return I(a, [{
7720
7724
  key: "_initEvent",
@@ -7793,7 +7797,7 @@ var Va = /* @__PURE__ */ function() {
7793
7797
  }
7794
7798
  }]), a;
7795
7799
  }();
7796
- function ja() {
7800
+ function Wa() {
7797
7801
  return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
7798
7802
  xmlns:xlink="http://www.w3.org/1999/xlink">
7799
7803
  <path opacity="0.54"
@@ -7807,7 +7811,7 @@ var Xe = {
7807
7811
  SEEKING: "seeking",
7808
7812
  PLAYBACK: "playbackrate",
7809
7813
  LIGHT: ""
7810
- }, Zt = ["videoClick", "videoDbClick"], Wa = /* @__PURE__ */ function(a) {
7814
+ }, Zt = ["videoClick", "videoDbClick"], Ga = /* @__PURE__ */ function(a) {
7811
7815
  L(r, a);
7812
7816
  var o = A(r);
7813
7817
  function r(t) {
@@ -7879,7 +7883,7 @@ var Xe = {
7879
7883
  value: function() {
7880
7884
  return {
7881
7885
  seekTipIcon: {
7882
- icon: ja,
7886
+ icon: Wa,
7883
7887
  class: "xg-seek-pre"
7884
7888
  }
7885
7889
  };
@@ -7894,7 +7898,7 @@ var Xe = {
7894
7898
  var i = this.playerConfig, n = this.config, s = this.player;
7895
7899
  i.closeVideoDblclick === !0 && (n.closedbClick = !0), this.resetPos(), f.isUndefined(i.disableGesture) || (n.disableGesture = !!i.disableGesture), this.appendChild(".xg-seek-icon", this.icons.seekTipIcon), this.xgMask = f.createDom("xg-mask", "", {}, "xgmask"), s.root.appendChild(this.xgMask), this.initCustomStyle(), this.registerThumbnail();
7896
7900
  var l = this.domEventType === "mouse" ? "mouse" : "touch";
7897
- this.touch = new Va(this.root, {
7901
+ this.touch = new ja(this.root, {
7898
7902
  eventType: l,
7899
7903
  needPreventDefault: !this.config.disableGesture
7900
7904
  }), this.root.addEventListener("contextmenu", function(d) {
@@ -8236,14 +8240,14 @@ var Xe = {
8236
8240
  }
8237
8241
  }]), r;
8238
8242
  }(j);
8239
- function Ga(a) {
8243
+ function $a(a) {
8240
8244
  a.preventDefault(), a.returnValue = !1;
8241
8245
  }
8242
- function hn(a) {
8246
+ function dn(a) {
8243
8247
  var o = a.tagName;
8244
8248
  return !!(o === "INPUT" || o === "TEXTAREA" || a.isContentEditable);
8245
8249
  }
8246
- var dn = /* @__PURE__ */ function(a) {
8250
+ var gn = /* @__PURE__ */ function(a) {
8247
8251
  L(r, a);
8248
8252
  var o = A(r);
8249
8253
  function r() {
@@ -8254,11 +8258,11 @@ var dn = /* @__PURE__ */ function(a) {
8254
8258
  return t = o.call.apply(o, [this].concat(i)), _(v(t), "onBodyKeyDown", function(s) {
8255
8259
  if (t.player) {
8256
8260
  var l = s || window.event, u = l.keyCode, c = v(t), h = c._keyState, d = c.player, p = t.config, g = p.disable, m = p.disableBodyTrigger, y = p.isIgnoreUserActive;
8257
- if (g || m || !(d.isUserActive || y) || hn(l.target) || !t.checkIsVisible() || l.metaKey || l.altKey || l.ctrlKey) {
8261
+ if (g || m || !(d.isUserActive || y) || dn(l.target) || !t.checkIsVisible() || l.metaKey || l.altKey || l.ctrlKey) {
8258
8262
  h.isBodyKeyDown = !1;
8259
8263
  return;
8260
8264
  }
8261
- !s.repeat && !h.isKeyDown && ((l.target === document.body || t.config.isGlobalTrigger && !hn(l.target)) && t.checkCode(u, !0) && (h.isBodyKeyDown = !0), document.addEventListener("keyup", t.onBodyKeyUp)), h.isBodyKeyDown && t.handleKeyDown(l);
8265
+ !s.repeat && !h.isKeyDown && ((l.target === document.body || t.config.isGlobalTrigger && !dn(l.target)) && t.checkCode(u, !0) && (h.isBodyKeyDown = !0), document.addEventListener("keyup", t.onBodyKeyUp)), h.isBodyKeyDown && t.handleKeyDown(l);
8262
8266
  }
8263
8267
  }), _(v(t), "onBodyKeyUp", function(s) {
8264
8268
  t.player && (document.removeEventListener("keyup", t.onBodyKeyUp), t.handleKeyUp(s));
@@ -8479,13 +8483,13 @@ var dn = /* @__PURE__ */ function(a) {
8479
8483
  if (h === e) {
8480
8484
  if (!d && !(n && g)) {
8481
8485
  var m = n && p || c;
8482
- typeof m == "function" ? c(i, this.player, n) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, n), this.emit(zn, q({
8486
+ typeof m == "function" ? c(i, this.player, n) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, n), this.emit(Vn, q({
8483
8487
  key: s[l],
8484
8488
  target: i.target,
8485
8489
  isPress: n
8486
8490
  }, this.keyCodeMap[s[l]]));
8487
8491
  }
8488
- Ga(i), i.stopPropagation();
8492
+ $a(i), i.stopPropagation();
8489
8493
  break;
8490
8494
  }
8491
8495
  }
@@ -8527,13 +8531,13 @@ var dn = /* @__PURE__ */ function(a) {
8527
8531
  }
8528
8532
  }]), r;
8529
8533
  }(Me);
8530
- function $a() {
8534
+ function Ka() {
8531
8535
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
8532
8536
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
8533
8537
  </svg>
8534
8538
  `, "image/svg+xml").firstChild;
8535
8539
  }
8536
- var Ka = /* @__PURE__ */ function(a) {
8540
+ var Ya = /* @__PURE__ */ function(a) {
8537
8541
  L(r, a);
8538
8542
  var o = A(r);
8539
8543
  function r() {
@@ -8543,7 +8547,7 @@ var Ka = /* @__PURE__ */ function(a) {
8543
8547
  key: "registerIcons",
8544
8548
  value: function() {
8545
8549
  return {
8546
- loadingIcon: $a
8550
+ loadingIcon: Ka
8547
8551
  };
8548
8552
  }
8549
8553
  }, {
@@ -8572,7 +8576,7 @@ var Ka = /* @__PURE__ */ function(a) {
8572
8576
  };
8573
8577
  }
8574
8578
  }]), r;
8575
- }(j), Ya = [{
8579
+ }(j), Xa = [{
8576
8580
  tag: "xg-cache",
8577
8581
  className: "xgplayer-progress-cache",
8578
8582
  styleKey: "cachedColor"
@@ -8580,7 +8584,7 @@ var Ka = /* @__PURE__ */ function(a) {
8580
8584
  tag: "xg-played",
8581
8585
  className: "xgplayer-progress-played",
8582
8586
  styleKey: "playedColor"
8583
- }], Xa = /* @__PURE__ */ function() {
8587
+ }], qa = /* @__PURE__ */ function() {
8584
8588
  function a(o) {
8585
8589
  x(this, a), this.fragments = o.fragments || [], this.fragments.length === 0 && this.fragments.push({
8586
8590
  percent: 1
@@ -8767,7 +8771,7 @@ var Ka = /* @__PURE__ */ function(a) {
8767
8771
  var l = f.createDom("xg-inner", "", {
8768
8772
  style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
8769
8773
  }, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
8770
- return r.root.appendChild(l), Ya.forEach(function(u) {
8774
+ return r.root.appendChild(l), Xa.forEach(function(u) {
8771
8775
  l.appendChild(f.createDom(u.tag, "", {
8772
8776
  style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
8773
8777
  }, u.className));
@@ -8780,10 +8784,10 @@ var Ka = /* @__PURE__ */ function(a) {
8780
8784
  return this.root;
8781
8785
  }
8782
8786
  }]), a;
8783
- }(), gn = {
8787
+ }(), pn = {
8784
8788
  POINT: "inner-focus-point",
8785
8789
  HIGHLIGHT: "inner-focus-highlight"
8786
- }, qa = /* @__PURE__ */ function(a) {
8790
+ }, Za = /* @__PURE__ */ function(a) {
8787
8791
  L(r, a);
8788
8792
  var o = A(r);
8789
8793
  function r(t) {
@@ -8913,7 +8917,7 @@ var Ka = /* @__PURE__ */ function(a) {
8913
8917
  e.emitUserAction("fragment_focus", "fragment_focus", u);
8914
8918
  }
8915
8919
  });
8916
- this.innerList ? this.innerList.reset(s) : (this.innerList = new Xa(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
8920
+ this.innerList ? this.innerList.reset(s) : (this.innerList = new qa(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
8917
8921
  e[l] = e.innerList[l].bind(e.innerList);
8918
8922
  }));
8919
8923
  }
@@ -8947,7 +8951,7 @@ var Ka = /* @__PURE__ */ function(a) {
8947
8951
  e.onTimeupdate();
8948
8952
  }), this.on(Se, function() {
8949
8953
  e.onTimeupdate(), e.onCacheUpdate();
8950
- }), this.on(On, function() {
8954
+ }), this.on(Rn, function() {
8951
8955
  e.onCacheUpdate();
8952
8956
  }), this.on(We, function() {
8953
8957
  e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
@@ -9176,7 +9180,7 @@ var Ka = /* @__PURE__ */ function(a) {
9176
9180
  fragments: [{
9177
9181
  percent: 1
9178
9182
  }],
9179
- fragFocusClass: gn.POINT,
9183
+ fragFocusClass: pn.POINT,
9180
9184
  fragClass: "",
9181
9185
  fragAutoFocus: !1,
9182
9186
  miniMoveStep: 5,
@@ -9191,7 +9195,7 @@ var Ka = /* @__PURE__ */ function(a) {
9191
9195
  }, {
9192
9196
  key: "FRAGMENT_FOCUS_CLASS",
9193
9197
  get: function() {
9194
- return gn;
9198
+ return pn;
9195
9199
  }
9196
9200
  }]), r;
9197
9201
  }(j), $e = /* @__PURE__ */ function(a) {
@@ -9223,7 +9227,7 @@ var Ka = /* @__PURE__ */ function(a) {
9223
9227
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
9224
9228
  }
9225
9229
  }]), r;
9226
- }(j), Za = /* @__PURE__ */ function(a) {
9230
+ }(j), Ja = /* @__PURE__ */ function(a) {
9227
9231
  L(r, a);
9228
9232
  var o = A(r);
9229
9233
  function r() {
@@ -9311,14 +9315,14 @@ var Ka = /* @__PURE__ */ function(a) {
9311
9315
  }
9312
9316
  }]), r;
9313
9317
  }($e);
9314
- function Ja() {
9318
+ function Qa() {
9315
9319
  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">
9316
9320
  <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9317
9321
  <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>
9318
9322
  </g>
9319
9323
  </svg>`, "image/svg+xml").firstChild;
9320
9324
  }
9321
- var Qa = /* @__PURE__ */ function(a) {
9325
+ var el = /* @__PURE__ */ function(a) {
9322
9326
  L(r, a);
9323
9327
  var o = A(r);
9324
9328
  function r() {
@@ -9337,7 +9341,7 @@ var Qa = /* @__PURE__ */ function(a) {
9337
9341
  value: function() {
9338
9342
  return {
9339
9343
  screenBack: {
9340
- icon: Ja,
9344
+ icon: Qa,
9341
9345
  class: "xg-fullscreen-back"
9342
9346
  }
9343
9347
  };
@@ -9379,19 +9383,19 @@ var Qa = /* @__PURE__ */ function(a) {
9379
9383
  }
9380
9384
  }]), r;
9381
9385
  }(j);
9382
- function el() {
9386
+ function tl() {
9383
9387
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9384
9388
  <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>
9385
9389
  </svg>
9386
9390
  `, "image/svg+xml").firstChild;
9387
9391
  }
9388
- function tl() {
9392
+ function il() {
9389
9393
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9390
9394
  <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>
9391
9395
  </svg>
9392
9396
  `, "image/svg+xml").firstChild;
9393
9397
  }
9394
- var il = /* @__PURE__ */ function(a) {
9398
+ var nl = /* @__PURE__ */ function(a) {
9395
9399
  L(r, a);
9396
9400
  var o = A(r);
9397
9401
  function r() {
@@ -9426,7 +9430,7 @@ var il = /* @__PURE__ */ function(a) {
9426
9430
  var u = e.find(".xg-tips");
9427
9431
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
9428
9432
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
9429
- plugin: Qa,
9433
+ plugin: el,
9430
9434
  options: {
9431
9435
  config: {
9432
9436
  onClick: function(u) {
@@ -9442,11 +9446,11 @@ var il = /* @__PURE__ */ function(a) {
9442
9446
  value: function() {
9443
9447
  return {
9444
9448
  fullscreen: {
9445
- icon: el,
9449
+ icon: tl,
9446
9450
  class: "xg-get-fullscreen"
9447
9451
  },
9448
9452
  exitFullscreen: {
9449
- icon: tl,
9453
+ icon: il,
9450
9454
  class: "xg-exit-fullscreen"
9451
9455
  }
9452
9456
  };
@@ -9527,7 +9531,7 @@ var il = /* @__PURE__ */ function(a) {
9527
9531
  };
9528
9532
  }
9529
9533
  }]), r;
9530
- }($e), nl = /* @__PURE__ */ function(a) {
9534
+ }($e), rl = /* @__PURE__ */ function(a) {
9531
9535
  L(r, a);
9532
9536
  var o = A(r);
9533
9537
  function r(t) {
@@ -9677,7 +9681,7 @@ var il = /* @__PURE__ */ function(a) {
9677
9681
  };
9678
9682
  }
9679
9683
  }]), r;
9680
- }(j), rl = /* @__PURE__ */ function(a) {
9684
+ }(j), sl = /* @__PURE__ */ function(a) {
9681
9685
  L(r, a);
9682
9686
  var o = A(r);
9683
9687
  function r() {
@@ -9815,28 +9819,28 @@ var il = /* @__PURE__ */ function(a) {
9815
9819
  }
9816
9820
  }]), r;
9817
9821
  }(Me);
9818
- function sl() {
9822
+ function ol() {
9819
9823
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9820
9824
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9821
9825
  <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>
9822
9826
  </svg>
9823
9827
  `, "image/svg+xml").firstChild;
9824
9828
  }
9825
- function ol() {
9829
+ function al() {
9826
9830
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9827
9831
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9828
9832
  <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>
9829
9833
  </svg>
9830
9834
  `, "image/svg+xml").firstChild;
9831
9835
  }
9832
- function al() {
9836
+ function ll() {
9833
9837
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9834
9838
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
9835
9839
  <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>
9836
9840
  </svg>
9837
9841
  `, "image/svg+xml").firstChild;
9838
9842
  }
9839
- var ll = /* @__PURE__ */ function(a) {
9843
+ var ul = /* @__PURE__ */ function(a) {
9840
9844
  L(r, a);
9841
9845
  var o = A(r);
9842
9846
  function r() {
@@ -9884,15 +9888,15 @@ var ll = /* @__PURE__ */ function(a) {
9884
9888
  value: function() {
9885
9889
  return {
9886
9890
  volumeSmall: {
9887
- icon: ol,
9891
+ icon: al,
9888
9892
  class: "xg-volume-small"
9889
9893
  },
9890
9894
  volumeLarge: {
9891
- icon: sl,
9895
+ icon: ol,
9892
9896
  class: "xg-volume"
9893
9897
  },
9894
9898
  volumeMuted: {
9895
- icon: al,
9899
+ icon: ll,
9896
9900
  class: "xg-volume-mute"
9897
9901
  }
9898
9902
  };
@@ -9914,7 +9918,7 @@ var ll = /* @__PURE__ */ function(a) {
9914
9918
  pre: function(u) {
9915
9919
  u.preventDefault(), u.stopPropagation();
9916
9920
  }
9917
- }), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), B.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(An, this.onVolumeChange), this.once(xe, this.onVolumeChange), f.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
9921
+ }), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), B.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(Dn, this.onVolumeChange), this.once(xe, this.onVolumeChange), f.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
9918
9922
  }
9919
9923
  }
9920
9924
  }, {
@@ -10031,7 +10035,7 @@ var ll = /* @__PURE__ */ function(a) {
10031
10035
  }
10032
10036
  }]), r;
10033
10037
  }(j);
10034
- function ul() {
10038
+ function cl() {
10035
10039
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
10036
10040
  <g clip-path="url(#clip0)">
10037
10041
  <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"/>
@@ -10045,7 +10049,7 @@ function ul() {
10045
10049
  </svg>
10046
10050
  `, "image/svg+xml").firstChild;
10047
10051
  }
10048
- var cl = /* @__PURE__ */ function(a) {
10052
+ var fl = /* @__PURE__ */ function(a) {
10049
10053
  L(r, a);
10050
10054
  var o = A(r);
10051
10055
  function r(t) {
@@ -10102,13 +10106,13 @@ var cl = /* @__PURE__ */ function(a) {
10102
10106
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, s = this.player;
10103
10107
  this.rotateDeg || (this.rotateDeg = 0);
10104
10108
  var l = e ? 1 : -1;
10105
- this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(Hn, this.rotateDeg * 360);
10109
+ this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(Un, this.rotateDeg * 360);
10106
10110
  }
10107
10111
  }, {
10108
10112
  key: "registerIcons",
10109
10113
  value: function() {
10110
10114
  return {
10111
- rotate: ul
10115
+ rotate: cl
10112
10116
  };
10113
10117
  }
10114
10118
  }, {
@@ -10141,14 +10145,14 @@ var cl = /* @__PURE__ */ function(a) {
10141
10145
  }
10142
10146
  }]), r;
10143
10147
  }($e);
10144
- function fl() {
10148
+ function hl() {
10145
10149
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10146
10150
  <path fill-rule="evenodd" clip-rule="evenodd"
10147
10151
  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"
10148
10152
  fill="white" />
10149
10153
  </svg>`, "image/svg+xml").firstChild;
10150
10154
  }
10151
- function hl() {
10155
+ function dl() {
10152
10156
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10153
10157
  <path fill-rule="evenodd" clip-rule="evenodd"
10154
10158
  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"
@@ -10162,7 +10166,7 @@ var qe = {
10162
10166
  PIP: "picture-in-picture",
10163
10167
  INLINE: "inline",
10164
10168
  FULLSCREEN: "fullscreen"
10165
- }, dl = /* @__PURE__ */ function(a) {
10169
+ }, gl = /* @__PURE__ */ function(a) {
10166
10170
  L(r, a);
10167
10171
  var o = A(r);
10168
10172
  function r() {
@@ -10202,11 +10206,11 @@ var qe = {
10202
10206
  value: function() {
10203
10207
  return {
10204
10208
  pipIcon: {
10205
- icon: fl,
10209
+ icon: hl,
10206
10210
  class: "xg-get-pip"
10207
10211
  },
10208
10212
  pipIconExit: {
10209
- icon: hl,
10213
+ icon: dl,
10210
10214
  class: "xg-exit-pip"
10211
10215
  }
10212
10216
  };
@@ -10365,13 +10369,13 @@ var qe = {
10365
10369
  }
10366
10370
  }]), r;
10367
10371
  }($e);
10368
- function gl() {
10372
+ function pl() {
10369
10373
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
10370
10374
  <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
10371
10375
  </svg>
10372
10376
  `, "image/svg+xml").firstChild;
10373
10377
  }
10374
- var pl = /* @__PURE__ */ function(a) {
10378
+ var vl = /* @__PURE__ */ function(a) {
10375
10379
  L(r, a);
10376
10380
  var o = A(r);
10377
10381
  function r(t) {
@@ -10390,7 +10394,7 @@ var pl = /* @__PURE__ */ function(a) {
10390
10394
  key: "registerIcons",
10391
10395
  value: function() {
10392
10396
  return {
10393
- playNext: gl
10397
+ playNext: pl
10394
10398
  };
10395
10399
  }
10396
10400
  }, {
@@ -10439,11 +10443,11 @@ var pl = /* @__PURE__ */ function(a) {
10439
10443
  };
10440
10444
  }
10441
10445
  }]), r;
10442
- }(j), Qn = { exports: {} };
10446
+ }(j), er = { exports: {} };
10443
10447
  (function(a, o) {
10444
10448
  (function(r, t) {
10445
10449
  a.exports = t();
10446
- })(ro, function() {
10450
+ })(so, function() {
10447
10451
  return function r(t, e, i) {
10448
10452
  var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, h = document.createElement("a"), d = function(R) {
10449
10453
  return String(R);
@@ -10511,10 +10515,10 @@ Use Save As... to download, then click back to return to this page.`) && (locati
10511
10515
  return !0;
10512
10516
  };
10513
10517
  });
10514
- })(Qn);
10515
- var vl = Qn.exports;
10516
- const ml = /* @__PURE__ */ di(vl);
10517
- function yl() {
10518
+ })(er);
10519
+ var ml = er.exports;
10520
+ const yl = /* @__PURE__ */ di(ml);
10521
+ function _l() {
10518
10522
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
10519
10523
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10520
10524
  <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
@@ -10531,7 +10535,7 @@ function yl() {
10531
10535
  </svg>
10532
10536
  `, "image/svg+xml").firstChild;
10533
10537
  }
10534
- var _l = /* @__PURE__ */ function(a) {
10538
+ var Cl = /* @__PURE__ */ function(a) {
10535
10539
  L(r, a);
10536
10540
  var o = A(r);
10537
10541
  function r(t) {
@@ -10542,7 +10546,7 @@ var _l = /* @__PURE__ */ function(a) {
10542
10546
  var n = e.playerConfig.url, s = "";
10543
10547
  f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
10544
10548
  var l = e.getAbsoluteURL(s);
10545
- ml(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10549
+ yl(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10546
10550
  e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
10547
10551
  }, 300);
10548
10552
  }
@@ -10561,7 +10565,7 @@ var _l = /* @__PURE__ */ function(a) {
10561
10565
  key: "registerIcons",
10562
10566
  value: function() {
10563
10567
  return {
10564
- download: yl
10568
+ download: _l
10565
10569
  };
10566
10570
  }
10567
10571
  }, {
@@ -10603,7 +10607,7 @@ var _l = /* @__PURE__ */ function(a) {
10603
10607
  };
10604
10608
  }
10605
10609
  }]), r;
10606
- }($e), Cl = /* @__PURE__ */ function(a) {
10610
+ }($e), kl = /* @__PURE__ */ function(a) {
10607
10611
  L(r, a);
10608
10612
  var o = A(r);
10609
10613
  function r() {
@@ -10658,7 +10662,7 @@ var _l = /* @__PURE__ */ function(a) {
10658
10662
  e.preventDefault(), e.stopPropagation(), this.emitUserAction(e, "shot");
10659
10663
  var n = this.config;
10660
10664
  this.shot(n.width, n.height).then(function(s) {
10661
- i.emit(Un, s), n.saveImg && i.saveScreenShot(s, n.name + n.format);
10665
+ i.emit(zn, s), n.saveImg && i.saveScreenShot(s, n.name + n.format);
10662
10666
  });
10663
10667
  }
10664
10668
  }, {
@@ -10729,7 +10733,7 @@ var _l = /* @__PURE__ */ function(a) {
10729
10733
  };
10730
10734
  }
10731
10735
  }]), r;
10732
- }($e), kl = /* @__PURE__ */ function() {
10736
+ }($e), wl = /* @__PURE__ */ function() {
10733
10737
  function a(o) {
10734
10738
  x(this, a), this.config = o.config, this.parent = o.root, this.root = f.createDom("ul", "", {}, "xg-options-list xg-list-slide-scroll ".concat(this.config.className)), o.root.appendChild(this.root);
10735
10739
  var r = this.config.maxHeight;
@@ -10809,7 +10813,7 @@ var _l = /* @__PURE__ */ function(a) {
10809
10813
  CLICK: "click",
10810
10814
  HOVER: "hover"
10811
10815
  };
10812
- function wl(a, o) {
10816
+ function bl(a, o) {
10813
10817
  return a === Ce.SIDE ? o === $.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
10814
10818
  }
10815
10819
  var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
@@ -10923,7 +10927,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
10923
10927
  var c = {
10924
10928
  config: {
10925
10929
  data: e || [],
10926
- className: wl(s.listType, s.position),
10930
+ className: bl(s.listType, s.position),
10927
10931
  onItemClick: function(m, y) {
10928
10932
  n.onItemClick(m, y);
10929
10933
  },
@@ -10933,7 +10937,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
10933
10937
  };
10934
10938
  if (this.config.isShowIcon) {
10935
10939
  var h = this.player.root.getBoundingClientRect(), d = h.height, p = s.listType === Ce.MIDDLE ? d - 50 : d;
10936
- p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new kl(c), this.changeCurrentText(), this.show();
10940
+ p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new wl(c), this.changeCurrentText(), this.show();
10937
10941
  }
10938
10942
  this._resizeList();
10939
10943
  }
@@ -10984,7 +10988,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
10984
10988
  };
10985
10989
  }
10986
10990
  }]), r;
10987
- }(j), bl = /* @__PURE__ */ function(a) {
10991
+ }(j), Tl = /* @__PURE__ */ function(a) {
10988
10992
  L(r, a);
10989
10993
  var o = A(r);
10990
10994
  function r(t) {
@@ -11085,7 +11089,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
11085
11089
  });
11086
11090
  }
11087
11091
  }]), r;
11088
- }(Lt), Tl = /* @__PURE__ */ function(a) {
11092
+ }(Lt), El = /* @__PURE__ */ function(a) {
11089
11093
  L(r, a);
11090
11094
  var o = A(r);
11091
11095
  function r(t) {
@@ -11107,7 +11111,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
11107
11111
  key: "afterCreate",
11108
11112
  value: function() {
11109
11113
  var e = this;
11110
- M(O(r.prototype), "afterCreate", this).call(this), this.on(Dn, function() {
11114
+ M(O(r.prototype), "afterCreate", this).call(this), this.on(On, function() {
11111
11115
  e.curValue !== e.player.playbackRate && e.renderItemList();
11112
11116
  }), this.renderItemList();
11113
11117
  }
@@ -11178,19 +11182,19 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
11178
11182
  }
11179
11183
  }]), r;
11180
11184
  }(Lt);
11181
- function El() {
11185
+ function Sl() {
11182
11186
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11183
11187
  <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>
11184
11188
  </svg>
11185
11189
  `, "image/svg+xml").firstChild;
11186
11190
  }
11187
- function Sl() {
11191
+ function xl() {
11188
11192
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11189
11193
  <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>
11190
11194
  </svg>
11191
11195
  `, "image/svg+xml").firstChild;
11192
11196
  }
11193
- var pn = /* @__PURE__ */ function(a) {
11197
+ var vn = /* @__PURE__ */ function(a) {
11194
11198
  L(r, a);
11195
11199
  var o = A(r);
11196
11200
  function r() {
@@ -11244,11 +11248,11 @@ var pn = /* @__PURE__ */ function(a) {
11244
11248
  value: function() {
11245
11249
  return {
11246
11250
  cssFullscreen: {
11247
- icon: El,
11251
+ icon: Sl,
11248
11252
  class: "xg-get-cssfull"
11249
11253
  },
11250
11254
  exitCssFullscreen: {
11251
- icon: Sl,
11255
+ icon: xl,
11252
11256
  class: "xg-exit-cssfull"
11253
11257
  }
11254
11258
  };
@@ -11284,7 +11288,7 @@ var pn = /* @__PURE__ */ function(a) {
11284
11288
  };
11285
11289
  }
11286
11290
  }]), r;
11287
- }($e), xl = /* @__PURE__ */ function(a) {
11291
+ }($e), Il = /* @__PURE__ */ function(a) {
11288
11292
  L(r, a);
11289
11293
  var o = A(r);
11290
11294
  function r() {
@@ -11345,7 +11349,7 @@ var pn = /* @__PURE__ */ function(a) {
11345
11349
  return "error";
11346
11350
  }
11347
11351
  }]), r;
11348
- }(j), Il = /* @__PURE__ */ function(a) {
11352
+ }(j), Pl = /* @__PURE__ */ function(a) {
11349
11353
  L(r, a);
11350
11354
  var o = A(r);
11351
11355
  function r() {
@@ -11423,7 +11427,7 @@ var pn = /* @__PURE__ */ function(a) {
11423
11427
  };
11424
11428
  }
11425
11429
  }]), r;
11426
- }(j), vn = {
11430
+ }(j), mn = {
11427
11431
  time: 0,
11428
11432
  text: "",
11429
11433
  id: 1,
@@ -11433,12 +11437,12 @@ var pn = /* @__PURE__ */ function(a) {
11433
11437
  width: 6,
11434
11438
  height: 6
11435
11439
  };
11436
- function er(a) {
11437
- Object.keys(vn).map(function(o) {
11438
- a[o] === void 0 && (a[o] = vn[o]);
11440
+ function tr(a) {
11441
+ Object.keys(mn).map(function(o) {
11442
+ a[o] === void 0 && (a[o] = mn[o]);
11439
11443
  });
11440
11444
  }
11441
- var mn = {
11445
+ var yn = {
11442
11446
  _updateDotDom: function(o, r) {
11443
11447
  if (r) {
11444
11448
  var t = this.calcuPosition(o.time, o.duration), e = o.style || {};
@@ -11455,7 +11459,7 @@ var mn = {
11455
11459
  },
11456
11460
  createDot: function(o) {
11457
11461
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, t = this.player.plugins.progress;
11458
- if (t && (r && (er(o), this._ispots.push(o)), !(!this.ispotsInit && r))) {
11462
+ if (t && (r && (tr(o), this._ispots.push(o)), !(!this.ispotsInit && r))) {
11459
11463
  var e = this.calcuPosition(o.time, o.duration), i = o.style || {};
11460
11464
  i.left = "".concat(e.left, "%"), i.width = "".concat(e.width, "%");
11461
11465
  var n = "xgspot_".concat(o.id, " xgplayer-spot");
@@ -11575,14 +11579,14 @@ var mn = {
11575
11579
  return r.find('xg-spot[data-id="'.concat(o, '"]'));
11576
11580
  }
11577
11581
  };
11578
- function Pl(a) {
11582
+ function Ll(a) {
11579
11583
  var o = a.config, r = a.player;
11580
- Object.keys(mn).map(function(e) {
11581
- a[e] = mn[e].bind(a);
11584
+ Object.keys(yn).map(function(e) {
11585
+ a[e] = yn[e].bind(a);
11582
11586
  });
11583
11587
  var t = r.config.progressDot || o.ispots || [];
11584
11588
  a._ispots = t.map(function(e) {
11585
- return er(e), e;
11589
+ return tr(e), e;
11586
11590
  }), a.ispotsInit = !1, a.playerSize = {
11587
11591
  left: r.sizeInfo.left,
11588
11592
  width: r.sizeInfo.width
@@ -11599,7 +11603,7 @@ var Je = {
11599
11603
  click: "onProgressClick",
11600
11604
  mouseover: "onProgressMouseOver",
11601
11605
  mouseenter: "onProgressMouseOver"
11602
- }, Ll = /* @__PURE__ */ function(a) {
11606
+ }, Al = /* @__PURE__ */ function(a) {
11603
11607
  L(r, a);
11604
11608
  var o = A(r);
11605
11609
  function r(t) {
@@ -11650,7 +11654,7 @@ var Je = {
11650
11654
  n.seekTime && e.player.seek(n.seekTime);
11651
11655
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
11652
11656
  e.setTimeContent(f.format(i));
11653
- }), Pl(this), this.on(Ne, function() {
11657
+ }), Ll(this), this.on(Ne, function() {
11654
11658
  e.show();
11655
11659
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
11656
11660
  }
@@ -11874,7 +11878,7 @@ var Je = {
11874
11878
  };
11875
11879
  }
11876
11880
  }]), r;
11877
- }(j), Al = /* @__PURE__ */ function(a) {
11881
+ }(j), Dl = /* @__PURE__ */ function(a) {
11878
11882
  L(r, a);
11879
11883
  var o = A(r);
11880
11884
  function r(t) {
@@ -12012,7 +12016,7 @@ var Je = {
12012
12016
  function Jt(a) {
12013
12017
  return a ? "background:".concat(a, ";") : "";
12014
12018
  }
12015
- var Dl = /* @__PURE__ */ function(a) {
12019
+ var Ol = /* @__PURE__ */ function(a) {
12016
12020
  L(r, a);
12017
12021
  var o = A(r);
12018
12022
  function r() {
@@ -12100,14 +12104,14 @@ var Dl = /* @__PURE__ */ function(a) {
12100
12104
  FRAME_RATE: "framerate",
12101
12105
  POSTER: "poster"
12102
12106
  };
12103
- function Ol() {
12107
+ function Rl() {
12104
12108
  try {
12105
12109
  return parseInt(window.performance.now(), 10);
12106
12110
  } catch {
12107
12111
  return (/* @__PURE__ */ new Date()).getTime();
12108
12112
  }
12109
12113
  }
12110
- function Rl() {
12114
+ function Ml() {
12111
12115
  try {
12112
12116
  var a = document.createElement("canvas").getContext;
12113
12117
  return !!a;
@@ -12115,7 +12119,7 @@ function Rl() {
12115
12119
  return !1;
12116
12120
  }
12117
12121
  }
12118
- var yt = null, Ml = /* @__PURE__ */ function(a) {
12122
+ var yt = null, Fl = /* @__PURE__ */ function(a) {
12119
12123
  L(r, a);
12120
12124
  var o = A(r);
12121
12125
  function r() {
@@ -12136,7 +12140,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12136
12140
  !t.player.paused && t._checkIfCanStart() && t.start(0, l);
12137
12141
  }
12138
12142
  }), _(v(t), "start", function(s, l) {
12139
- var u = t.player.video, c = Ol(), h = t.checkVideoIsSupport(u);
12143
+ var u = t.player.video, c = Rl(), h = t.checkVideoIsSupport(u);
12140
12144
  !h || !t.canvasCtx || (l || (l = t.interval), t.stop(), u.videoWidth && u.videoHeight && (t.videoPI = u.videoHeight > 0 ? parseInt(u.videoWidth / u.videoHeight * 100, 10) : 0, (t.config.mode === Qe.REAL_TIME || c - t.preTime >= l) && (u && u.videoWidth && t.update(h, t.videoPI), t.preTime = c)), t.frameId = t._loopType === "timer" ? f.setTimeout(v(t), t.start, l) : f.requestAnimationFrame(t.start));
12141
12145
  }), _(v(t), "stop", function() {
12142
12146
  t.frameId && (t._loopType === "timer" ? f.clearTimeout(v(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
@@ -12309,7 +12313,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12309
12313
  }, {
12310
12314
  key: "isSupport",
12311
12315
  get: function() {
12312
- return typeof yt == "boolean" || (yt = Rl()), yt;
12316
+ return typeof yt == "boolean" || (yt = Ml()), yt;
12313
12317
  }
12314
12318
  }, {
12315
12319
  key: "supportCanvasFilter",
@@ -12317,7 +12321,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12317
12321
  return !(B.browser === "safari" || B.browser === "firefox");
12318
12322
  }
12319
12323
  }]), r;
12320
- }(j), Fl = {
12324
+ }(j), Nl = {
12321
12325
  LANG: "zh-cn",
12322
12326
  TEXT: {
12323
12327
  ERROR_TYPES: {
@@ -12392,7 +12396,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12392
12396
  FORWARD: "快进中",
12393
12397
  LIVE_TIP: "直播"
12394
12398
  }
12395
- }, at = "info", Qt = $n, Nl = /* @__PURE__ */ function(a) {
12399
+ }, at = "info", Qt = Kn, Bl = /* @__PURE__ */ function(a) {
12396
12400
  L(r, a);
12397
12401
  var o = A(r);
12398
12402
  function r() {
@@ -12536,7 +12540,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12536
12540
  return {};
12537
12541
  }
12538
12542
  }]), r;
12539
- }(Me), tr = /* @__PURE__ */ function(a) {
12543
+ }(Me), ir = /* @__PURE__ */ function(a) {
12540
12544
  L(r, a);
12541
12545
  var o = A(r);
12542
12546
  function r() {
@@ -12625,8 +12629,8 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12625
12629
  }
12626
12630
  }]), r;
12627
12631
  }(j);
12628
- tr.BROWSER_GAP_TOLERANCE = 1e-3;
12629
- var Bl = /* @__PURE__ */ function(a) {
12632
+ ir.BROWSER_GAP_TOLERANCE = 1e-3;
12633
+ var Hl = /* @__PURE__ */ function(a) {
12630
12634
  L(r, a);
12631
12635
  var o = A(r);
12632
12636
  function r() {
@@ -12672,7 +12676,7 @@ var Bl = /* @__PURE__ */ function(a) {
12672
12676
  };
12673
12677
  }
12674
12678
  }]), r;
12675
- }(j), et = "cdn", _t = ["cdn"], Hl = /* @__PURE__ */ function(a) {
12679
+ }(j), et = "cdn", _t = ["cdn"], Ul = /* @__PURE__ */ function(a) {
12676
12680
  L(r, a);
12677
12681
  var o = A(r);
12678
12682
  function r() {
@@ -12798,7 +12802,7 @@ var Bl = /* @__PURE__ */ function(a) {
12798
12802
  };
12799
12803
  }
12800
12804
  }]), r;
12801
- }(j), Ul = /* @__PURE__ */ function(a) {
12805
+ }(j), zl = /* @__PURE__ */ function(a) {
12802
12806
  L(r, a);
12803
12807
  var o = A(r);
12804
12808
  function r() {
@@ -12865,7 +12869,7 @@ var Bl = /* @__PURE__ */ function(a) {
12865
12869
  totalVideoFrames: i,
12866
12870
  droppedVideoFrames: n,
12867
12871
  checkInterval: s
12868
- }), this._currentStuckCount >= this.config.stuckCount && (this.emit(Kn, this._payload), this._reset())) : this._reset());
12872
+ }), this._currentStuckCount >= this.config.stuckCount && (this.emit(Yn, this._payload), this._reset())) : this._reset());
12869
12873
  }
12870
12874
  }
12871
12875
  }, {
@@ -12908,24 +12912,24 @@ var Bl = /* @__PURE__ */ function(a) {
12908
12912
  }
12909
12913
  }]), r;
12910
12914
  }(j);
12911
- it.use(Fl);
12912
- var zl = /* @__PURE__ */ I(function a(o, r) {
12915
+ it.use(Nl);
12916
+ var Vl = /* @__PURE__ */ I(function a(o, r) {
12913
12917
  var t, e, i;
12914
12918
  x(this, a);
12915
- var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [rl, qa, Dl, Ll, nl], u = [].concat(l, [Za, il, cl, pl, bl, Tl, _l, Cl, ll, dl]), c = [La, Aa, Oa, Ka, Ra, xl, Il, Al, Ba];
12916
- this.plugins = [Nl, Ia].concat(ve(u), c, [tr, Bl]);
12919
+ var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [sl, Za, Ol, Al, rl], u = [].concat(l, [Ja, nl, fl, vl, Tl, El, Cl, kl, ul, gl]), c = [Aa, Da, Ra, Ya, Ma, Il, Pl, Dl, Ha];
12920
+ this.plugins = [Bl, Pa].concat(ve(u), c, [ir, Hl]);
12917
12921
  var h = n ? "mobile" : B.device;
12918
12922
  switch (h) {
12919
12923
  case "pc":
12920
- (t = this.plugins).push.apply(t, [dn, qt, pn, Hl, Ul]);
12924
+ (t = this.plugins).push.apply(t, [gn, qt, vn, Ul, zl]);
12921
12925
  break;
12922
12926
  case "mobile":
12923
- (e = this.plugins).push.apply(e, [Wa]);
12927
+ (e = this.plugins).push.apply(e, [Ga]);
12924
12928
  break;
12925
12929
  default:
12926
- (i = this.plugins).push.apply(i, [dn, qt, pn]);
12930
+ (i = this.plugins).push.apply(i, [gn, qt, vn]);
12927
12931
  }
12928
- (B.os.isIpad || h === "pc") && this.plugins.push(Ml), B.os.isIpad && this.plugins.push(qt), this.ignores = [], this.i18n = [];
12932
+ (B.os.isIpad || h === "pc") && this.plugins.push(Fl), B.os.isIpad && this.plugins.push(qt), this.ignores = [], this.i18n = [];
12929
12933
  }), me = /* @__PURE__ */ function(a) {
12930
12934
  L(r, a);
12931
12935
  var o = A(r);
@@ -12934,17 +12938,17 @@ var zl = /* @__PURE__ */ I(function a(o, r) {
12934
12938
  }
12935
12939
  return I(r);
12936
12940
  }(Ft);
12937
- _(me, "defaultPreset", zl);
12941
+ _(me, "defaultPreset", Vl);
12938
12942
  _(me, "Util", f);
12939
12943
  _(me, "Sniffer", B);
12940
12944
  _(me, "Errors", kt);
12941
- _(me, "Events", ia);
12945
+ _(me, "Events", na);
12942
12946
  _(me, "Plugin", j);
12943
12947
  _(me, "BasePlugin", Me);
12944
12948
  _(me, "I18N", it);
12945
12949
  _(me, "STATE_CLASS", C);
12946
- _(me, "InstManager", Zn);
12947
- const Vl = ["id"], jl = /* @__PURE__ */ J({
12950
+ _(me, "InstManager", Jn);
12951
+ const jl = ["id"], Wl = /* @__PURE__ */ J({
12948
12952
  name: "ElImageViewer",
12949
12953
  __name: "Player",
12950
12954
  props: /* @__PURE__ */ Ct({
@@ -12973,7 +12977,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
12973
12977
  }, ["update:modelValue"]),
12974
12978
  setup(a, { emit: o }) {
12975
12979
  let r = null;
12976
- const t = a, { cLoadUrl: e } = bn(t), i = Y(() => ft(e.value, t.url)), n = {
12980
+ const t = a, { cLoadUrl: e } = Tn(t), i = Y(() => ft(e.value, t.url)), n = {
12977
12981
  width: "100%",
12978
12982
  height: "100%",
12979
12983
  // 是否自动播放
@@ -12994,7 +12998,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
12994
12998
  }, s = Y(() => ({
12995
12999
  ...n,
12996
13000
  ...t.config
12997
- })), l = o, u = fi(a, "modelValue"), c = Cn(), h = kn("image-viewer");
13001
+ })), l = o, u = fi(a, "modelValue"), c = kn(), h = wn("image-viewer");
12998
13002
  function d() {
12999
13003
  l("close"), u.value = !1, r.destroy();
13000
13004
  }
@@ -13008,11 +13012,11 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
13008
13012
  });
13009
13013
  }), (p, g) => {
13010
13014
  const m = ct("el-icon");
13011
- return u.value ? (S(), pe(yn, {
13015
+ return u.value ? (S(), pe(_n, {
13012
13016
  key: 0,
13013
13017
  to: "body"
13014
13018
  }, [
13015
- G(_n, {
13019
+ G(Cn, {
13016
13020
  name: "viewer-fade",
13017
13021
  appear: ""
13018
13022
  }, {
@@ -13042,7 +13046,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
13042
13046
  class: K(E(h).e("canvas"))
13043
13047
  },
13044
13048
  [
13045
- T("div", { id: E(c) }, null, 8, Vl),
13049
+ T("div", { id: E(c) }, null, 8, jl),
13046
13050
  ee(" CLOSE "),
13047
13051
  T(
13048
13052
  "span",
@@ -13053,7 +13057,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
13053
13057
  [
13054
13058
  G(m, { onClick: d }, {
13055
13059
  default: Q(() => [
13056
- G(E(wn))
13060
+ G(E(bn))
13057
13061
  ]),
13058
13062
  _: 1
13059
13063
  /* STABLE */
@@ -13079,7 +13083,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
13079
13083
  };
13080
13084
  }
13081
13085
  });
13082
- const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(Wl), $l = ["onClick"], Kl = { class: "fileName simple" }, Yl = ["onClick"], Xl = { class: "text" }, ql = { class: "fileName" }, Zl = { class: "size" }, Jl = /* @__PURE__ */ J({
13086
+ const Gl = /* @__PURE__ */ At(Wl, [["__scopeId", "data-v-b301aa7d"]]), $l = Fe(Gl), Kl = ["onClick"], Yl = { class: "fileName simple" }, Xl = ["onClick"], ql = { class: "text" }, Zl = { class: "fileName" }, Jl = { class: "size" }, Ql = /* @__PURE__ */ J({
13083
13087
  __name: "IkPreviewFile",
13084
13088
  props: {
13085
13089
  list: {
@@ -13155,7 +13159,7 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13155
13159
  },
13156
13160
  emits: ["handPreview"],
13157
13161
  setup(a, { emit: o }) {
13158
- const r = a, { cLoadUrl: t, cOnlyofficeConfig: e, cOnlyofficePreviewType: i } = bn(r), n = o, s = Y(() => ({
13162
+ const r = a, { cLoadUrl: t, cOnlyofficeConfig: e, cOnlyofficePreviewType: i } = Tn(r), n = o, s = Y(() => ({
13159
13163
  name: "name",
13160
13164
  url: "url",
13161
13165
  suffix: "suffix",
@@ -13168,11 +13172,11 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13168
13172
  name: g.name,
13169
13173
  url: ft(
13170
13174
  t.value,
13171
- g.url || ((y = (m = g == null ? void 0 : g.response) == null ? void 0 : m.data) == null ? void 0 : y.id) || (g == null ? void 0 : g.id)
13175
+ (g == null ? void 0 : g.url) || ((y = (m = g == null ? void 0 : g.response) == null ? void 0 : m.data) == null ? void 0 : y.id) || (g == null ? void 0 : g.id)
13172
13176
  )
13173
13177
  }, r.isOnlyOfficePreview && (u.value = !0), n("handPreview", l.value);
13174
13178
  }, h = (g) => {
13175
- pr.downloadFile(
13179
+ vr.downloadFile(
13176
13180
  ft(
13177
13181
  t.value,
13178
13182
  g[s.value.url] || g.attachmentId || g.id
@@ -13206,7 +13210,7 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13206
13210
  }, [
13207
13211
  T(
13208
13212
  "div",
13209
- Kl,
13213
+ Yl,
13210
13214
  nt(P.name),
13211
13215
  1
13212
13216
  /* TEXT */
@@ -13236,7 +13240,7 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13236
13240
  2
13237
13241
  /* CLASS */
13238
13242
  )
13239
- ], 12, $l))),
13243
+ ], 12, Kl))),
13240
13244
  256
13241
13245
  /* UNKEYED_FRAGMENT */
13242
13246
  )) : (S(), pe(y, { key: 1 }, {
@@ -13261,24 +13265,24 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13261
13265
  class: "file-card",
13262
13266
  onClick: (R) => c(P)
13263
13267
  }, [
13264
- G(E(ws), {
13268
+ G(E(bs), {
13265
13269
  file: P,
13266
13270
  style: ue({ height: `${a.iconSize}px` }),
13267
13271
  class: "ikui-w-auto",
13268
13272
  fields: s.value
13269
13273
  }, null, 8, ["file", "style", "fields"]),
13270
- T("div", Xl, [
13274
+ T("div", ql, [
13271
13275
  T(
13272
13276
  "div",
13273
- ql,
13277
+ Zl,
13274
13278
  nt(P.name),
13275
13279
  1
13276
13280
  /* TEXT */
13277
13281
  ),
13278
13282
  T(
13279
13283
  "div",
13280
- Zl,
13281
- nt(E(Us)(P.size)),
13284
+ Jl,
13285
+ nt(E(zs)(P.size)),
13282
13286
  1
13283
13287
  /* TEXT */
13284
13288
  )
@@ -13310,7 +13314,7 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13310
13314
  2
13311
13315
  /* CLASS */
13312
13316
  )
13313
- ], 8, Yl)
13317
+ ], 8, Xl)
13314
13318
  ],
13315
13319
  6
13316
13320
  /* CLASS, STYLE */
@@ -13327,7 +13331,7 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13327
13331
  64
13328
13332
  /* STABLE_FRAGMENT */
13329
13333
  )) : ee("v-if", !0),
13330
- G(E(js), {
13334
+ G(E(Ws), {
13331
13335
  show: u.value,
13332
13336
  "onUpdate:show": m[0] || (m[0] = (P) => u.value = P),
13333
13337
  loadUrl: E(t),
@@ -13343,8 +13347,8 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13343
13347
  };
13344
13348
  }
13345
13349
  });
13346
- const iu = Fe(Jl);
13350
+ const nu = Fe(Ql);
13347
13351
  export {
13348
- iu as IkPreviewFile,
13349
- iu as default
13352
+ nu as IkPreviewFile,
13353
+ nu as default
13350
13354
  };