iking-web-ui-pro 0.2.34 → 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 (39) hide show
  1. package/dist/IKPreviewFile/ik.index.es.js +602 -599
  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 +673 -670
  10. package/dist/IkApprovalProcessDetail/ik.index.umd.js +46 -46
  11. package/dist/IkCalendar/ik.index.es.js +1583 -1583
  12. package/dist/IkCalendar/ik.index.umd.js +1 -1
  13. package/dist/IkCalendar/style.css +1 -1
  14. package/dist/IkDescription/ik.index.es.js +825 -846
  15. package/dist/IkDescription/ik.index.umd.js +46 -46
  16. package/dist/IkDescription/style.css +1 -1
  17. package/dist/IkDetailPreviewFiles/ik.index.es.js +617 -614
  18. package/dist/IkDetailPreviewFiles/ik.index.umd.js +46 -46
  19. package/dist/IkPageFull/ik.index.es.js +689 -689
  20. package/dist/IkPageFull/ik.index.umd.js +3 -3
  21. package/dist/IkPageFull/style.css +1 -1
  22. package/dist/IkPickerUser/ik.index.es.js +317 -317
  23. package/dist/IkPickerUser/ik.index.umd.js +1 -1
  24. package/dist/IkPickerUser/style.css +1 -1
  25. package/dist/IkPlayer/ik.index.es.js +342 -339
  26. package/dist/IkPlayer/ik.index.umd.js +45 -45
  27. package/dist/IkPreviewFileDialog/ik.index.es.js +509 -506
  28. package/dist/IkPreviewFileDialog/ik.index.umd.js +46 -46
  29. package/dist/IkUploadFile/ik.index.es.js +1719 -1718
  30. package/dist/IkUploadFile/ik.index.umd.js +56 -56
  31. package/dist/IkUploadFile/style.css +1 -1
  32. package/dist/IkUploadImage/ik.index.es.js +273 -270
  33. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  34. package/dist/index.es.js +13188 -13214
  35. package/dist/index.umd.js +106 -106
  36. package/dist/src/components/IkDescription/index.d.ts +0 -76
  37. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +0 -36
  38. package/dist/style.css +1 -1
  39. 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,7 +1247,7 @@ 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
1252
  "onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u),
1250
1253
  "align-center": ""
@@ -1253,7 +1256,7 @@ const eo = /* @__PURE__ */ At(Qs, [["__scopeId", "data-v-da39e979"]]), to = { cl
1253
1256
  class: `ik-base-dialog ${n.noHeader ? "no-header" : ""} ${n.noFooter ? "no-footer" : ""}`,
1254
1257
  fullscreen: t.value,
1255
1258
  "modal-class": "baseDialog"
1256
- }), sr({
1259
+ }), or({
1257
1260
  icon: Q(() => [
1258
1261
  Oe(n.$slots, "title", {}, () => [
1259
1262
  ei(
@@ -1264,7 +1267,7 @@ const eo = /* @__PURE__ */ At(Qs, [["__scopeId", "data-v-da39e979"]]), to = { cl
1264
1267
  ])
1265
1268
  ]),
1266
1269
  header: Q(() => [
1267
- T("div", to, [
1270
+ T("div", io, [
1268
1271
  Oe(n.$slots, "header", {}, () => [
1269
1272
  ei(
1270
1273
  nt(n.title),
@@ -1298,12 +1301,12 @@ const eo = /* @__PURE__ */ At(Qs, [["__scopeId", "data-v-da39e979"]]), to = { cl
1298
1301
  };
1299
1302
  }
1300
1303
  });
1301
- const no = Fe(io);
1302
- 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 : {};
1303
1306
  function di(a) {
1304
1307
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1305
1308
  }
1306
- function so(a, o, r, t) {
1309
+ function oo(a, o, r, t) {
1307
1310
  function e(i) {
1308
1311
  return i instanceof r ? i : new r(function(n) {
1309
1312
  n(i);
@@ -1330,7 +1333,7 @@ function so(a, o, r, t) {
1330
1333
  u((t = t.apply(a, o || [])).next());
1331
1334
  });
1332
1335
  }
1333
- function oo(a, o) {
1336
+ function ao(a, o) {
1334
1337
  var r = { label: 0, sent: function() {
1335
1338
  if (i[0] & 1)
1336
1339
  throw i[1];
@@ -1395,9 +1398,9 @@ function oo(a, o) {
1395
1398
  return { value: u[0] ? u[1] : void 0, done: !0 };
1396
1399
  }
1397
1400
  }
1398
- var ao = function(a, o) {
1399
- return so(void 0, void 0, void 0, function() {
1400
- 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) {
1401
1404
  return [2, new Promise(function(t, e) {
1402
1405
  try {
1403
1406
  if (window.DocsAPI)
@@ -1409,12 +1412,12 @@ var ao = function(a, o) {
1409
1412
  if (!l) {
1410
1413
  if (clearInterval(n), window.DocsAPI)
1411
1414
  return t(null);
1412
- var u = Mi(o, a, t, e);
1415
+ var u = Fi(o, a, t, e);
1413
1416
  i.remove(), document.body.appendChild(u);
1414
1417
  }
1415
1418
  }, 500);
1416
1419
  else {
1417
- var s = Mi(o, a, t, e);
1420
+ var s = Fi(o, a, t, e);
1418
1421
  document.body.appendChild(s);
1419
1422
  }
1420
1423
  } catch (l) {
@@ -1423,7 +1426,7 @@ var ao = function(a, o) {
1423
1426
  })];
1424
1427
  });
1425
1428
  });
1426
- }, Mi = function(a, o, r, t) {
1429
+ }, Fi = function(a, o, r, t) {
1427
1430
  var e = document.createElement("script");
1428
1431
  return e.id = a, e.type = "text/javascript", e.src = o, e.async = !0, e.onload = function() {
1429
1432
  e.removeAttribute("loading"), r(null);
@@ -1485,7 +1488,7 @@ var ao = function(a, o) {
1485
1488
  var a = this, o = this.documentServerUrl;
1486
1489
  o.endsWith("/") || (o += "/");
1487
1490
  var r = "".concat(o, "web-apps/apps/api/documents/api.js");
1488
- ao(r, "onlyoffice-api-script").then(function() {
1491
+ lo(r, "onlyoffice-api-script").then(function() {
1489
1492
  return a.onLoad();
1490
1493
  }).catch(function() {
1491
1494
  a.onError(-2);
@@ -1599,13 +1602,13 @@ var ao = function(a, o) {
1599
1602
  }
1600
1603
  }
1601
1604
  });
1602
- const lo = ["id"];
1603
- function uo(a, o, r, t, e, i) {
1604
- 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);
1605
1608
  }
1606
- gi.render = uo;
1609
+ gi.render = co;
1607
1610
  gi.__file = "src/components/DocumentEditor.vue";
1608
- const co = /* @__PURE__ */ J({
1611
+ const fo = /* @__PURE__ */ J({
1609
1612
  __name: "IkOnlyOffice",
1610
1613
  props: {
1611
1614
  // 文件服务器的服务的地址
@@ -1653,55 +1656,55 @@ const co = /* @__PURE__ */ J({
1653
1656
  ));
1654
1657
  }
1655
1658
  });
1656
- const fo = /* @__PURE__ */ At(co, [["__scopeId", "data-v-98d51ef9"]]), ho = Fe(fo);
1657
- var Fi;
1658
- 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 = () => {
1659
1662
  };
1660
- Tn && ((Fi = window == null ? void 0 : window.navigator) != null && Fi.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1661
- 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) {
1662
1665
  return typeof a == "function" ? a() : E(a);
1663
1666
  }
1664
- function vo(a) {
1665
- return a;
1666
- }
1667
1667
  function mo(a) {
1668
- return or() ? (ar(a), !0) : !1;
1668
+ return a;
1669
1669
  }
1670
1670
  function yo(a) {
1671
+ return ar() ? (lr(a), !0) : !1;
1672
+ }
1673
+ function _o(a) {
1671
1674
  var o;
1672
- const r = En(a);
1675
+ const r = Sn(a);
1673
1676
  return (o = r == null ? void 0 : r.$el) != null ? o : r;
1674
1677
  }
1675
- const _o = Tn ? window : void 0;
1678
+ const Co = En ? window : void 0;
1676
1679
  function pt(...a) {
1677
1680
  let o, r, t, e;
1678
- if (go(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, o = _o) : [o, r, t, e] = a, !o)
1679
- 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;
1680
1683
  Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
1681
1684
  const i = [], n = () => {
1682
1685
  i.forEach((c) => c()), i.length = 0;
1683
- }, 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]) => {
1684
1687
  n(), c && i.push(...r.flatMap((d) => t.map((p) => s(c, d, p, h))));
1685
1688
  }, { immediate: !0, flush: "post" }), u = () => {
1686
1689
  l(), n();
1687
1690
  };
1688
- return mo(u), u;
1691
+ return yo(u), u;
1689
1692
  }
1690
- const Ni = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Bi = "__vueuse_ssr_handlers__";
1691
- Ni[Bi] = Ni[Bi] || {};
1692
- 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;
1693
1696
  (function(a) {
1694
1697
  a.UP = "UP", a.RIGHT = "RIGHT", a.DOWN = "DOWN", a.LEFT = "LEFT", a.NONE = "NONE";
1695
- })(Hi || (Hi = {}));
1696
- 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) => {
1697
1700
  for (var r in o || (o = {}))
1698
- ko.call(o, r) && zi(a, r, o[r]);
1699
- if (Ui)
1700
- for (var r of Ui(o))
1701
- 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]);
1702
1705
  return a;
1703
1706
  };
1704
- const To = {
1707
+ const Eo = {
1705
1708
  easeInSine: [0.12, 0, 0.39, 0],
1706
1709
  easeOutSine: [0.61, 1, 0.88, 1],
1707
1710
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -1727,10 +1730,10 @@ const To = {
1727
1730
  easeOutBack: [0.34, 1.56, 0.64, 1],
1728
1731
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
1729
1732
  };
1730
- bo({
1731
- linear: vo
1732
- }, To);
1733
- const Eo = {
1733
+ To({
1734
+ linear: mo
1735
+ }, Eo);
1736
+ const So = {
1734
1737
  /**
1735
1738
  * @description preview link list.
1736
1739
  */
@@ -1800,26 +1803,26 @@ const Eo = {
1800
1803
  crossorigin: {
1801
1804
  type: ["anonymous", "use-credentials", ""]
1802
1805
  }
1803
- }, So = {
1806
+ }, xo = {
1804
1807
  close: () => !0,
1805
1808
  switch: (a) => ni.isNumber(a),
1806
1809
  rotate: (a) => ni.isNumber(a)
1807
- }, xo = ["src", "crossorigin"], Io = /* @__PURE__ */ J({
1810
+ }, Io = ["src", "crossorigin"], Po = /* @__PURE__ */ J({
1808
1811
  name: "ElImageViewer",
1809
1812
  __name: "IkImageViewer",
1810
- props: Eo,
1811
- emits: So,
1813
+ props: So,
1814
+ emits: xo,
1812
1815
  setup(a, { expose: o, emit: r }) {
1813
1816
  const t = (N) => Object.keys(N), e = {
1814
1817
  CONTAIN: {
1815
1818
  name: "contain",
1816
- icon: Oi(Ps)
1819
+ icon: Oi(Ls)
1817
1820
  },
1818
1821
  ORIGINAL: {
1819
1822
  name: "original",
1820
- icon: Oi(Ms)
1823
+ icon: Oi(Fs)
1821
1824
  }
1822
- }, 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({
1823
1826
  scale: 1,
1824
1827
  deg: 0,
1825
1828
  offsetX: 0,
@@ -1968,7 +1971,7 @@ const Eo = {
1968
1971
  });
1969
1972
  }), ut(g, (N) => {
1970
1973
  xi(), n("switch", N);
1971
- }), cr(() => {
1974
+ }), fr(() => {
1972
1975
  var N, W;
1973
1976
  z(), (W = (N = c.value) == null ? void 0 : N.focus) == null || W.call(N);
1974
1977
  }), o({
@@ -1976,8 +1979,8 @@ const Eo = {
1976
1979
  * @description manually switch image
1977
1980
  */
1978
1981
  setActiveItem: Nt
1979
- }), (N, W) => (S(), pe(yn, { to: "body" }, [
1980
- G(_n, {
1982
+ }), (N, W) => (S(), pe(_n, { to: "body" }, [
1983
+ G(Cn, {
1981
1984
  name: "viewer-fade",
1982
1985
  appear: ""
1983
1986
  }, {
@@ -2012,7 +2015,7 @@ const Eo = {
2012
2015
  [
2013
2016
  G(E(Pe), null, {
2014
2017
  default: Q(() => [
2015
- G(E(wn))
2018
+ G(E(bn))
2016
2019
  ]),
2017
2020
  _: 1
2018
2021
  /* STABLE */
@@ -2035,7 +2038,7 @@ const Eo = {
2035
2038
  [
2036
2039
  G(E(Pe), null, {
2037
2040
  default: Q(() => [
2038
- G(E(Ts))
2041
+ G(E(Es))
2039
2042
  ]),
2040
2043
  _: 1
2041
2044
  /* STABLE */
@@ -2053,7 +2056,7 @@ const Eo = {
2053
2056
  [
2054
2057
  G(E(Pe), null, {
2055
2058
  default: Q(() => [
2056
- G(E(Ss))
2059
+ G(E(xs))
2057
2060
  ]),
2058
2061
  _: 1
2059
2062
  /* STABLE */
@@ -2083,7 +2086,7 @@ const Eo = {
2083
2086
  onClick: W[1] || (W[1] = (X) => He("zoomOut"))
2084
2087
  }, {
2085
2088
  default: Q(() => [
2086
- G(E(Hs))
2089
+ G(E(Us))
2087
2090
  ]),
2088
2091
  _: 1
2089
2092
  /* STABLE */
@@ -2092,7 +2095,7 @@ const Eo = {
2092
2095
  onClick: W[2] || (W[2] = (X) => He("zoomIn"))
2093
2096
  }, {
2094
2097
  default: Q(() => [
2095
- G(E(Ns))
2098
+ G(E(Bs))
2096
2099
  ]),
2097
2100
  _: 1
2098
2101
  /* STABLE */
@@ -2108,7 +2111,7 @@ const Eo = {
2108
2111
  ),
2109
2112
  G(E(Pe), { onClick: Ii }, {
2110
2113
  default: Q(() => [
2111
- (S(), pe(fr(m.value.icon)))
2114
+ (S(), pe(hr(m.value.icon)))
2112
2115
  ]),
2113
2116
  _: 1
2114
2117
  /* STABLE */
@@ -2126,7 +2129,7 @@ const Eo = {
2126
2129
  onClick: W[3] || (W[3] = (X) => He("anticlockwise"))
2127
2130
  }, {
2128
2131
  default: Q(() => [
2129
- G(E(As))
2132
+ G(E(Ds))
2130
2133
  ]),
2131
2134
  _: 1
2132
2135
  /* STABLE */
@@ -2135,7 +2138,7 @@ const Eo = {
2135
2138
  onClick: W[4] || (W[4] = (X) => He("clockwise"))
2136
2139
  }, {
2137
2140
  default: Q(() => [
2138
- G(E(Os))
2141
+ G(E(Rs))
2139
2142
  ]),
2140
2143
  _: 1
2141
2144
  /* STABLE */
@@ -2158,7 +2161,7 @@ const Eo = {
2158
2161
  (S(!0), D(
2159
2162
  Ve,
2160
2163
  null,
2161
- ii(N.urlList, (X, ge) => hr((S(), D("img", {
2164
+ ii(N.urlList, (X, ge) => dr((S(), D("img", {
2162
2165
  ref_for: !0,
2163
2166
  ref: (ye) => h.value[ge] = ye,
2164
2167
  key: X,
@@ -2169,8 +2172,8 @@ const Eo = {
2169
2172
  onLoad: ae,
2170
2173
  onError: le,
2171
2174
  onMousedown: we
2172
- }, null, 46, xo)), [
2173
- [dr, ge === g.value]
2175
+ }, null, 46, Io)), [
2176
+ [gr, ge === g.value]
2174
2177
  ])),
2175
2178
  128
2176
2179
  /* KEYED_FRAGMENT */
@@ -2190,8 +2193,8 @@ const Eo = {
2190
2193
  })
2191
2194
  ]));
2192
2195
  }
2193
- }), Po = Fe(Io);
2194
- function Vi(a, o) {
2196
+ }), Lo = Fe(Po);
2197
+ function ji(a, o) {
2195
2198
  var r = Object.keys(a);
2196
2199
  if (Object.getOwnPropertySymbols) {
2197
2200
  var t = Object.getOwnPropertySymbols(a);
@@ -2204,9 +2207,9 @@ function Vi(a, o) {
2204
2207
  function q(a) {
2205
2208
  for (var o = 1; o < arguments.length; o++) {
2206
2209
  var r = arguments[o] != null ? arguments[o] : {};
2207
- o % 2 ? Vi(Object(r), !0).forEach(function(t) {
2210
+ o % 2 ? ji(Object(r), !0).forEach(function(t) {
2208
2211
  _(a, t, r[t]);
2209
- }) : 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) {
2210
2213
  Object.defineProperty(a, t, Object.getOwnPropertyDescriptor(r, t));
2211
2214
  });
2212
2215
  }
@@ -2224,19 +2227,19 @@ function x(a, o) {
2224
2227
  if (!(a instanceof o))
2225
2228
  throw new TypeError("Cannot call a class as a function");
2226
2229
  }
2227
- function ji(a, o) {
2230
+ function Wi(a, o) {
2228
2231
  for (var r = 0; r < o.length; r++) {
2229
2232
  var t = o[r];
2230
- 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);
2231
2234
  }
2232
2235
  }
2233
2236
  function I(a, o, r) {
2234
- 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", {
2235
2238
  writable: !1
2236
2239
  }), a;
2237
2240
  }
2238
2241
  function _(a, o, r) {
2239
- return o = Sn(o), o in a ? Object.defineProperty(a, o, {
2242
+ return o = xn(o), o in a ? Object.defineProperty(a, o, {
2240
2243
  value: r,
2241
2244
  enumerable: !0,
2242
2245
  configurable: !0,
@@ -2266,7 +2269,7 @@ function si(a, o) {
2266
2269
  return t.__proto__ = e, t;
2267
2270
  }, si(a, o);
2268
2271
  }
2269
- function Lo() {
2272
+ function Ao() {
2270
2273
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2271
2274
  return !1;
2272
2275
  if (typeof Proxy == "function")
@@ -2291,7 +2294,7 @@ function pi(a, o) {
2291
2294
  return v(a);
2292
2295
  }
2293
2296
  function A(a) {
2294
- var o = Lo();
2297
+ var o = Ao();
2295
2298
  return function() {
2296
2299
  var t = O(a), e;
2297
2300
  if (o) {
@@ -2302,14 +2305,14 @@ function A(a) {
2302
2305
  return pi(this, e);
2303
2306
  };
2304
2307
  }
2305
- function Ao(a, o) {
2308
+ function Do(a, o) {
2306
2309
  for (; !Object.prototype.hasOwnProperty.call(a, o) && (a = O(a), a !== null); )
2307
2310
  ;
2308
2311
  return a;
2309
2312
  }
2310
2313
  function M() {
2311
2314
  return typeof Reflect < "u" && Reflect.get ? M = Reflect.get.bind() : M = function(o, r, t) {
2312
- var e = Ao(o, r);
2315
+ var e = Do(o, r);
2313
2316
  if (e) {
2314
2317
  var i = Object.getOwnPropertyDescriptor(e, r);
2315
2318
  return i.get ? i.get.call(arguments.length < 3 ? o : t) : i.value;
@@ -2317,17 +2320,17 @@ function M() {
2317
2320
  }, M.apply(this, arguments);
2318
2321
  }
2319
2322
  function ve(a) {
2320
- return Do(a) || Oo(a) || Ro(a) || Mo();
2323
+ return Oo(a) || Ro(a) || Mo(a) || Fo();
2321
2324
  }
2322
- function Do(a) {
2325
+ function Oo(a) {
2323
2326
  if (Array.isArray(a))
2324
2327
  return oi(a);
2325
2328
  }
2326
- function Oo(a) {
2329
+ function Ro(a) {
2327
2330
  if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
2328
2331
  return Array.from(a);
2329
2332
  }
2330
- function Ro(a, o) {
2333
+ function Mo(a, o) {
2331
2334
  if (a) {
2332
2335
  if (typeof a == "string")
2333
2336
  return oi(a, o);
@@ -2344,11 +2347,11 @@ function oi(a, o) {
2344
2347
  t[r] = a[r];
2345
2348
  return t;
2346
2349
  }
2347
- function Mo() {
2350
+ function Fo() {
2348
2351
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2349
2352
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2350
2353
  }
2351
- function Fo(a, o) {
2354
+ function No(a, o) {
2352
2355
  if (typeof a != "object" || a === null)
2353
2356
  return a;
2354
2357
  var r = a[Symbol.toPrimitive];
@@ -2360,11 +2363,11 @@ function Fo(a, o) {
2360
2363
  }
2361
2364
  return (o === "string" ? String : Number)(a);
2362
2365
  }
2363
- function Sn(a) {
2364
- var o = Fo(a, "string");
2366
+ function xn(a) {
2367
+ var o = No(a, "string");
2365
2368
  return typeof o == "symbol" ? o : String(o);
2366
2369
  }
2367
- var xn = { exports: {} };
2370
+ var In = { exports: {} };
2368
2371
  (function(a) {
2369
2372
  var o = Object.prototype.hasOwnProperty, r = "~";
2370
2373
  function t() {
@@ -2474,16 +2477,16 @@ var xn = { exports: {} };
2474
2477
  var c;
2475
2478
  return u ? (c = r ? r + u : u, this._events[c] && n(this, c)) : (this._events = new t(), this._eventsCount = 0), this;
2476
2479
  }, s.prototype.off = s.prototype.removeListener, s.prototype.addListener = s.prototype.on, s.prefixed = r, s.EventEmitter = s, a.exports = s;
2477
- })(xn);
2478
- var In = xn.exports;
2479
- const Pn = /* @__PURE__ */ di(In);
2480
- 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 = {
2481
2484
  info: "color: #525252; background-color: #90ee90;",
2482
2485
  error: "color: #525252; background-color: red;",
2483
2486
  warn: "color: #525252; background-color: yellow; "
2484
2487
  }, zt = "%c[xgplayer]", H = {
2485
2488
  config: {
2486
- debug: No ? 3 : 0
2489
+ debug: Bo ? 3 : 0
2487
2490
  },
2488
2491
  logInfo: function(o) {
2489
2492
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
@@ -2504,10 +2507,10 @@ var No = typeof window < "u" && window.location && window.location.href.indexOf(
2504
2507
  }
2505
2508
  }
2506
2509
  };
2507
- function Bo(a) {
2510
+ function Ho(a) {
2508
2511
  a.logInfo = H.logInfo.bind(a), a.logWarn = H.logWarn.bind(a), a.logError = H.logError.bind(a);
2509
2512
  }
2510
- var Ho = /* @__PURE__ */ function() {
2513
+ var Uo = /* @__PURE__ */ function() {
2511
2514
  function a(o) {
2512
2515
  x(this, a), this.bufferedList = o;
2513
2516
  }
@@ -2753,7 +2756,7 @@ f.setStyleFromCsstext = function(a, o) {
2753
2756
  a.style[t] = o[t];
2754
2757
  });
2755
2758
  };
2756
- function Uo(a, o) {
2759
+ function zo(a, o) {
2757
2760
  for (var r = 0, t = o.length; r < t; r++)
2758
2761
  if (a.indexOf(o[r]) > -1)
2759
2762
  return !0;
@@ -2767,7 +2770,7 @@ f.filterStyleFromText = function(a) {
2767
2770
  return t.map(function(n) {
2768
2771
  if (n) {
2769
2772
  var s = n.split(":");
2770
- 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]);
2771
2774
  }
2772
2775
  }), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
2773
2776
  a.style[n] = i[n];
@@ -2832,7 +2835,7 @@ f.getBuffered2 = function(a) {
2832
2835
  }
2833
2836
  else
2834
2837
  e = r;
2835
- return new Ho(e);
2838
+ return new Uo(e);
2836
2839
  };
2837
2840
  f.getEventPos = function(a) {
2838
2841
  var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
@@ -2952,15 +2955,15 @@ f.getCurrentTimeByOffset = function(a, o) {
2952
2955
  }
2953
2956
  return a;
2954
2957
  };
2955
- function Ln(a) {
2958
+ function An(a) {
2956
2959
  var o = se(a);
2957
2960
  return a !== null && (o === "object" || o === "function");
2958
2961
  }
2959
- function zo(a, o, r) {
2962
+ function Vo(a, o, r) {
2960
2963
  var t, e, i, n, s, l, u = 0, c = !1, h = !1, d = !0, p = !o && o !== 0 && typeof window.requestAnimationFrame == "function";
2961
2964
  if (typeof a != "function")
2962
2965
  throw new TypeError("Expected a function");
2963
- 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);
2964
2967
  function g(z) {
2965
2968
  var ne = t, ae = e;
2966
2969
  return t = e = void 0, u = z, n = a.apply(ae, ne), n;
@@ -3015,30 +3018,30 @@ function zo(a, o, r) {
3015
3018
  }
3016
3019
  return Z.cancel = U, Z.flush = R, Z.pending = te, Z;
3017
3020
  }
3018
- function Vo(a, o, r) {
3021
+ function jo(a, o, r) {
3019
3022
  var t = !0, e = !0;
3020
3023
  if (typeof a != "function")
3021
3024
  throw new TypeError("Expected a function");
3022
- 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, {
3023
3026
  leading: t,
3024
3027
  trailing: e,
3025
3028
  maxWait: o
3026
3029
  });
3027
3030
  }
3028
- function jo() {
3031
+ function Wo() {
3029
3032
  var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
3030
3033
  return a === "zh-cn" && (a = "zh"), a;
3031
3034
  }
3032
- function Wo(a, o, r) {
3035
+ function Go(a, o, r) {
3033
3036
  if (a) {
3034
3037
  var t = a.getAttribute(r);
3035
3038
  return !!(t && t === o && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
3036
3039
  }
3037
3040
  }
3038
- var Wi = {
3041
+ var Gi = {
3039
3042
  android: /(Android)\s([\d.]+)/,
3040
3043
  ios: /(Version)\/([\d.]+)/
3041
- }, 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 = {
3042
3045
  get device() {
3043
3046
  var a = B.os;
3044
3047
  return a.isPc ? "pc" : "mobile";
@@ -3077,7 +3080,7 @@ var Wi = {
3077
3080
  if (typeof navigator > "u")
3078
3081
  return 0;
3079
3082
  var a = navigator.userAgent, o = "";
3080
- /(?:iPhone)|(?:iPad|PlayBook)/.test(a) ? o = Wi.ios : o = Wi.android;
3083
+ /(?:iPhone)|(?:iPad|PlayBook)/.test(a) ? o = Gi.ios : o = Gi.android;
3081
3084
  var r = o ? o.exec(a) : [];
3082
3085
  if (r && r.length >= 3) {
3083
3086
  var t = r[2].split(".");
@@ -3101,7 +3104,7 @@ var Wi = {
3101
3104
  if (this.supportResult)
3102
3105
  return this.supportResult;
3103
3106
  var r = document.createElement("video");
3104
- return typeof r.canPlayType == "function" && Go.map(function(t) {
3107
+ return typeof r.canPlayType == "function" && $o.map(function(t) {
3105
3108
  r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (o.isSupport = !0, o.mime += "||".concat(t));
3106
3109
  }), this.supportResult = o, r = null, o;
3107
3110
  },
@@ -3140,14 +3143,14 @@ var Wi = {
3140
3143
  return Promise.resolve(r);
3141
3144
  }
3142
3145
  }
3143
- }, ai = "3.0.18", Gi = {
3146
+ }, ai = "3.0.18", $i = {
3144
3147
  1: "media",
3145
3148
  2: "media",
3146
3149
  3: "media",
3147
3150
  4: "media",
3148
3151
  5: "media",
3149
3152
  6: "media"
3150
- }, $i = {
3153
+ }, Ki = {
3151
3154
  1: 5101,
3152
3155
  2: 5102,
3153
3156
  3: 5103,
@@ -3168,7 +3171,7 @@ var Wi = {
3168
3171
  var t = o && o.i18n ? o.i18n.ERROR_TYPES : null;
3169
3172
  if (o.media) {
3170
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;
3171
- $i[p] && (p = $i[p]);
3174
+ Ki[p] && (p = Ki[p]);
3172
3175
  var g = {
3173
3176
  playerVersion: ai,
3174
3177
  currentTime: n,
@@ -3196,21 +3199,21 @@ var Wi = {
3196
3199
  return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
3197
3200
  }
3198
3201
  }
3199
- ), 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 = {
3200
3203
  STATS_INFO: "stats_info",
3201
3204
  STATS_DOWNLOAD: "stats_download",
3202
3205
  STATS_RESET: "stats_reset"
3203
- }, Kn = "fps_stuck";
3204
- const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3206
+ }, Yn = "fps_stuck";
3207
+ const na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3205
3208
  __proto__: null,
3206
- ABORT: qo,
3209
+ ABORT: Zo,
3207
3210
  AFTER_DEFINITION_CHANGE: ui,
3208
3211
  AUTOPLAY_PREVENTED: Ci,
3209
3212
  AUTOPLAY_STARTED: je,
3210
- BEFORE_DEFINITION_CHANGE: Jo,
3211
- BUFFER_CHANGE: Zo,
3213
+ BEFORE_DEFINITION_CHANGE: Qo,
3214
+ BUFFER_CHANGE: Jo,
3212
3215
  CANPLAY: Ee,
3213
- CANPLAY_THROUGH: $o,
3216
+ CANPLAY_THROUGH: Ko,
3214
3217
  COMPLETE: Ot,
3215
3218
  CSS_FULLSCREEN_CHANGE: bt,
3216
3219
  DEFINITION_CHANGE: wi,
@@ -3219,55 +3222,55 @@ const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3219
3222
  DURATION_CHANGE: Ne,
3220
3223
  EMPTIED: Ge,
3221
3224
  ENDED: We,
3222
- ENTER_PLAYER: Nn,
3225
+ ENTER_PLAYER: Bn,
3223
3226
  ERROR: dt,
3224
- FPS_STUCK: Kn,
3227
+ FPS_STUCK: Yn,
3225
3228
  FULLSCREEN_CHANGE: be,
3226
- LEAVE_PLAYER: Fn,
3229
+ LEAVE_PLAYER: Nn,
3227
3230
  LOADED_DATA: xe,
3228
- LOADED_METADATA: Ko,
3229
- LOADING: Bn,
3231
+ LOADED_METADATA: Yo,
3232
+ LOADING: Hn,
3230
3233
  LOAD_START: mi,
3231
3234
  MINI_STATE_CHANGE: Tt,
3232
3235
  PAUSE: rt,
3233
3236
  PIP_CHANGE: ci,
3234
3237
  PLAY: he,
3235
- PLAYER_BLUR: Rn,
3238
+ PLAYER_BLUR: Mn,
3236
3239
  PLAYER_FOCUS: yi,
3237
3240
  PLAYING: vi,
3238
3241
  PLAYNEXT: Et,
3239
- PROGRESS: On,
3240
- RATE_CHANGE: Dn,
3242
+ PROGRESS: Rn,
3243
+ RATE_CHANGE: On,
3241
3244
  READY: _i,
3242
3245
  REPLAY: wt,
3243
3246
  RESET: Mt,
3244
- RETRY: ea,
3245
- ROTATE: Hn,
3246
- SCREEN_SHOT: Un,
3247
+ RETRY: ta,
3248
+ ROTATE: Un,
3249
+ SCREEN_SHOT: zn,
3247
3250
  SEEKED: Se,
3248
3251
  SEEKING: Dt,
3249
- SEI_PARSED: Qo,
3250
- SHORTCUT: zn,
3251
- SOURCE_ERROR: jn,
3252
- SOURCE_SUCCESS: Wn,
3253
- STALLED: Yo,
3254
- STATS_EVENTS: $n,
3255
- SUSPEND: Xo,
3256
- 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,
3257
3260
  TIME_UPDATE: fe,
3258
3261
  URL_CHANGE: Rt,
3259
- URL_NULL: Mn,
3262
+ URL_NULL: Fn,
3260
3263
  USER_ACTION: St,
3261
- VIDEO_EVENTS: Gn,
3264
+ VIDEO_EVENTS: $n,
3262
3265
  VIDEO_RESIZE: Re,
3263
- VOLUME_CHANGE: An,
3266
+ VOLUME_CHANGE: Dn,
3264
3267
  WAITING: gt,
3265
- XGLOG: Vn
3268
+ XGLOG: jn
3266
3269
  }, Symbol.toStringTag, { value: "Module" }));
3267
3270
  function Vt(a, o) {
3268
3271
  !this || !this.emit || (a === "error" ? this.errorHandler(a, o.error) : this.emit(a, o));
3269
3272
  }
3270
- function na(a, o) {
3273
+ function ra(a, o) {
3271
3274
  return function(r, t) {
3272
3275
  var e = {
3273
3276
  player: o,
@@ -3302,7 +3305,7 @@ function na(a, o) {
3302
3305
  Vt.call(o, a, e);
3303
3306
  };
3304
3307
  }
3305
- var ra = /* @__PURE__ */ function(a) {
3308
+ var sa = /* @__PURE__ */ function(a) {
3306
3309
  L(r, a);
3307
3310
  var o = A(r);
3308
3311
  function r(t) {
@@ -3344,9 +3347,9 @@ var ra = /* @__PURE__ */ function(a) {
3344
3347
  key: "attachVideoEvents",
3345
3348
  value: function() {
3346
3349
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
3347
- this._evHandlers || (this._evHandlers = Gn.map(function(n) {
3350
+ this._evHandlers || (this._evHandlers = $n.map(function(n) {
3348
3351
  var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
3349
- 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));
3350
3353
  })), this._evHandlers.forEach(function(n) {
3351
3354
  var s = Object.keys(n)[0];
3352
3355
  i.addEventListener(s, n[s], !1);
@@ -3378,7 +3381,7 @@ var ra = /* @__PURE__ */ function(a) {
3378
3381
  var s = e.children;
3379
3382
  if (s) {
3380
3383
  this._videoSourceCount = s.length, this._videoSourceIndex = s.length, this._vLoadeddata = function(h) {
3381
- n.emit(Wn, {
3384
+ n.emit(Gn, {
3382
3385
  src: h.target.currentSrc,
3383
3386
  host: f.getHostFromUrl(h.target.currentSrc)
3384
3387
  });
@@ -3397,8 +3400,8 @@ var ra = /* @__PURE__ */ function(a) {
3397
3400
  };
3398
3401
  l ? l.error(h, p) : n.errorHandler("error", p);
3399
3402
  }
3400
- var g = Gi[4];
3401
- n.emit(jn, new kt(n, {
3403
+ var g = $i[4];
3404
+ n.emit(Wn, new kt(n, {
3402
3405
  errorType: g,
3403
3406
  errorCode: 4,
3404
3407
  errorMessage: "sources_load_error",
@@ -3431,7 +3434,7 @@ var ra = /* @__PURE__ */ function(a) {
3431
3434
  value: function(e) {
3432
3435
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
3433
3436
  if (this.media && (this.media.error || i)) {
3434
- 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;
3435
3438
  this.media.currentSrc || (l = "empty_src", n = {
3436
3439
  code: 6,
3437
3440
  message: l
@@ -3720,7 +3723,7 @@ var ra = /* @__PURE__ */ function(a) {
3720
3723
  M(O(r.prototype), "removeAllListeners", this).call(this);
3721
3724
  }
3722
3725
  }]), r;
3723
- }(Pn), sa = /* @__PURE__ */ function() {
3726
+ }(Ln), oa = /* @__PURE__ */ function() {
3724
3727
  function a() {
3725
3728
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
3726
3729
  name: "xgplayer",
@@ -3798,7 +3801,7 @@ var ra = /* @__PURE__ */ function(a) {
3798
3801
  t.clear();
3799
3802
  }
3800
3803
  }]), a;
3801
- }(), 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";
3802
3805
  function vt(a, o, r) {
3803
3806
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
3804
3807
  e[i - 3] = arguments[i];
@@ -3847,14 +3850,14 @@ function Pt(a, o) {
3847
3850
  var r = this.__hooks;
3848
3851
  r && delete r[a];
3849
3852
  }
3850
- function qi(a) {
3853
+ function Zi(a) {
3851
3854
  if (!(!this.plugins || !this.plugins[a.toLowerCase()])) {
3852
3855
  for (var o = this.plugins[a.toLowerCase()], r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), e = 1; e < r; e++)
3853
3856
  t[e - 1] = arguments[e];
3854
3857
  return o.useHooks && o.useHooks.apply(o, t);
3855
3858
  }
3856
3859
  }
3857
- function Zi(a) {
3860
+ function Ji(a) {
3858
3861
  if (!(!this.plugins || !this.plugins[a.toLowerCase()])) {
3859
3862
  var o = this.plugins[a.toLowerCase()];
3860
3863
  if (o) {
@@ -3864,7 +3867,7 @@ function Zi(a) {
3864
3867
  }
3865
3868
  }
3866
3869
  }
3867
- function Yn(a) {
3870
+ function Xn(a) {
3868
3871
  var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
3869
3872
  a.__hooks = {}, o && o.map(function(r) {
3870
3873
  a.__hooks[r] = null;
@@ -3877,7 +3880,7 @@ function Yn(a) {
3877
3880
  }
3878
3881
  });
3879
3882
  }
3880
- function Xn(a) {
3883
+ function qn(a) {
3881
3884
  a.__hooks = null;
3882
3885
  }
3883
3886
  function Te(a, o, r) {
@@ -3901,7 +3904,7 @@ function jt(a, o) {
3901
3904
  }
3902
3905
  var Me = /* @__PURE__ */ function() {
3903
3906
  function a(o) {
3904
- 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);
3905
3908
  }
3906
3909
  return I(a, [{
3907
3910
  key: "beforeCreate",
@@ -4065,7 +4068,7 @@ var Me = /* @__PURE__ */ function() {
4065
4068
  var r = this, t = this.player, e = this.pluginName;
4066
4069
  this.offAll(), f.clearAllTimers(this), f.checkIsFunction(this.destroy) && this.destroy(), ["player", "playerConfig", "pluginName", "logger", "__args", "__hooks"].map(function(i) {
4067
4070
  r[i] = null;
4068
- }), t.unRegisterPlugin(e), Xn(this);
4071
+ }), t.unRegisterPlugin(e), qn(this);
4069
4072
  }
4070
4073
  }], [{
4071
4074
  key: "defineGetterOrSetter",
@@ -4084,40 +4087,40 @@ var Me = /* @__PURE__ */ function() {
4084
4087
  return "pluginName";
4085
4088
  }
4086
4089
  }]), a;
4087
- }(), oa = 9;
4090
+ }(), aa = 9;
4088
4091
  if (typeof Element < "u" && !Element.prototype.matches) {
4089
4092
  var Ye = Element.prototype;
4090
4093
  Ye.matches = Ye.matchesSelector || Ye.mozMatchesSelector || Ye.msMatchesSelector || Ye.oMatchesSelector || Ye.webkitMatchesSelector;
4091
4094
  }
4092
- function aa(a, o) {
4093
- for (; a && a.nodeType !== oa; ) {
4095
+ function la(a, o) {
4096
+ for (; a && a.nodeType !== aa; ) {
4094
4097
  if (typeof a.matches == "function" && a.matches(o))
4095
4098
  return a;
4096
4099
  a = a.parentNode;
4097
4100
  }
4098
4101
  }
4099
- var la = aa, ua = la;
4102
+ var ua = la, ca = ua;
4100
4103
  function Wt(a, o, r, t, e) {
4101
- var i = fa.apply(this, arguments);
4104
+ var i = ha.apply(this, arguments);
4102
4105
  return a.addEventListener(r, i, e), {
4103
4106
  destroy: function() {
4104
4107
  a.removeEventListener(r, i, e);
4105
4108
  }
4106
4109
  };
4107
4110
  }
4108
- function ca(a, o, r, t, e) {
4111
+ function fa(a, o, r, t, e) {
4109
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) {
4110
4113
  return Wt(i, o, r, t, e);
4111
4114
  }));
4112
4115
  }
4113
- function fa(a, o, r, t) {
4116
+ function ha(a, o, r, t) {
4114
4117
  return function(e) {
4115
- 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);
4116
4119
  };
4117
4120
  }
4118
- var ha = ca;
4119
- const Ji = /* @__PURE__ */ di(ha);
4120
- var da = {
4121
+ var da = fa;
4122
+ const Qi = /* @__PURE__ */ di(da);
4123
+ var ga = {
4121
4124
  CONTROLS: "controls",
4122
4125
  ROOT: "root"
4123
4126
  }, $ = {
@@ -4130,22 +4133,22 @@ var da = {
4130
4133
  CONTROLS_RIGHT: "controlsRight",
4131
4134
  CONTROLS_CENTER: "controlsCenter",
4132
4135
  CONTROLS: "controls"
4133
- }, Qi = {
4136
+ }, en = {
4134
4137
  ICON_DISABLE: "xg-icon-disable",
4135
4138
  ICON_HIDE: "xg-icon-hide"
4136
4139
  };
4137
4140
  function Gt(a) {
4138
4141
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
4139
4142
  }
4140
- function ga(a, o) {
4143
+ function pa(a, o) {
4141
4144
  return se(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
4142
4145
  }
4143
- function pa(a, o) {
4146
+ function va(a, o) {
4144
4147
  return se(a) === "object" && a.attr && se(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
4145
4148
  o[r] = a.attr[r];
4146
4149
  }), o;
4147
4150
  }
4148
- function en(a, o) {
4151
+ function tn(a, o) {
4149
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;
4150
4153
  if (a instanceof window.Element)
4151
4154
  return f.addClass(a, r), Object.keys(t).map(function(n) {
@@ -4163,14 +4166,14 @@ function en(a, o) {
4163
4166
  }
4164
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);
4165
4168
  }
4166
- function va(a, o) {
4169
+ function ma(a, o) {
4167
4170
  var r = o.config.icons || o.playerConfig.icons;
4168
4171
  Object.keys(a).map(function(t) {
4169
4172
  var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
4170
- 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;
4171
4174
  });
4172
4175
  }
4173
- function ma(a, o) {
4176
+ function ya(a, o) {
4174
4177
  Object.keys(a).map(function(r) {
4175
4178
  Object.defineProperty(o.langText, r, {
4176
4179
  get: function() {
@@ -4194,9 +4197,9 @@ var j = /* @__PURE__ */ function(a) {
4194
4197
  var i = e.root, n = null;
4195
4198
  this.icons = {}, this.root = null, this.parent = null;
4196
4199
  var s = this.registerIcons() || {};
4197
- va(s, this), this.langText = {};
4200
+ ma(s, this), this.langText = {};
4198
4201
  var l = this.registerLanguageTexts() || {};
4199
- ma(l, this);
4202
+ ya(l, this);
4200
4203
  var u = "";
4201
4204
  try {
4202
4205
  u = this.render();
@@ -4267,12 +4270,12 @@ var j = /* @__PURE__ */ function(a) {
4267
4270
  }, {
4268
4271
  key: "disable",
4269
4272
  value: function() {
4270
- 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);
4271
4274
  }
4272
4275
  }, {
4273
4276
  key: "enable",
4274
4277
  value: function() {
4275
- 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);
4276
4279
  }
4277
4280
  }, {
4278
4281
  key: "children",
@@ -4453,11 +4456,11 @@ var j = /* @__PURE__ */ function(a) {
4453
4456
  if (e instanceof window.Node && typeof s == "function")
4454
4457
  if (Array.isArray(n))
4455
4458
  n.forEach(function(h) {
4456
- var d = Ji(e, i, h, s, l);
4459
+ var d = Qi(e, i, h, s, l);
4457
4460
  d.key = "".concat(i, "_").concat(h), u.push(d);
4458
4461
  });
4459
4462
  else {
4460
- var c = Ji(e, i, n, s, l);
4463
+ var c = Qi(e, i, n, s, l);
4461
4464
  c.key = "".concat(i, "_").concat(n), u.push(c);
4462
4465
  }
4463
4466
  return u;
@@ -4465,7 +4468,7 @@ var j = /* @__PURE__ */ function(a) {
4465
4468
  }, {
4466
4469
  key: "ROOT_TYPES",
4467
4470
  get: function() {
4468
- return da;
4471
+ return ga;
4469
4472
  }
4470
4473
  }, {
4471
4474
  key: "POSITIONS",
@@ -4473,7 +4476,7 @@ var j = /* @__PURE__ */ function(a) {
4473
4476
  return $;
4474
4477
  }
4475
4478
  }]), r;
4476
- }(Me), ya = /* @__PURE__ */ function() {
4479
+ }(Me), _a = /* @__PURE__ */ function() {
4477
4480
  function a() {
4478
4481
  var o = this;
4479
4482
  if (x(this, a), _(this, "__trigger", function(r) {
@@ -4483,7 +4486,7 @@ var j = /* @__PURE__ */ function(a) {
4483
4486
  o.__runHandler(r[e].target);
4484
4487
  }), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
4485
4488
  try {
4486
- this.observer = new window.ResizeObserver(Vo(this.__trigger, 100, {
4489
+ this.observer = new window.ResizeObserver(jo(this.__trigger, 100, {
4487
4490
  trailing: !0
4488
4491
  })), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
4489
4492
  } catch (r) {
@@ -4538,17 +4541,17 @@ var j = /* @__PURE__ */ function(a) {
4538
4541
  }
4539
4542
  }]), a;
4540
4543
  }(), lt = null;
4541
- function _a(a, o) {
4542
- return lt || (lt = new ya()), lt.addObserver(a, o), lt;
4543
- }
4544
4544
  function Ca(a, o) {
4545
+ return lt || (lt = new _a()), lt.addObserver(a, o), lt;
4546
+ }
4547
+ function ka(a, o) {
4545
4548
  lt.unObserver(a, o);
4546
4549
  }
4547
4550
  var ie = {
4548
4551
  pluginGroup: {},
4549
4552
  init: function(o) {
4550
4553
  var r = o._pluginInfoId;
4551
- 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() {
4552
4555
  o.resize();
4553
4556
  }), this.pluginGroup[r] = {
4554
4557
  _originalOptions: o.config || {},
@@ -4734,7 +4737,7 @@ var ie = {
4734
4737
  destroy: function(o) {
4735
4738
  var r = o._pluginInfoId;
4736
4739
  if (this.pluginGroup[r]) {
4737
- Ca(o.root);
4740
+ ka(o.root);
4738
4741
  for (var t = this.pluginGroup[r]._plugins, e = 0, i = Object.keys(t); e < i.length; e++) {
4739
4742
  var n = i[e];
4740
4743
  this.unRegister(r, n);
@@ -4773,7 +4776,7 @@ var ie = {
4773
4776
  MOBILE: "xgplayer-mobile",
4774
4777
  MINI: "xgplayer-mini"
4775
4778
  };
4776
- function tn() {
4779
+ function nn() {
4777
4780
  return {
4778
4781
  id: "",
4779
4782
  el: null,
@@ -4820,7 +4823,7 @@ function tn() {
4820
4823
  ignores: [],
4821
4824
  whitelist: [],
4822
4825
  inactive: 3e3,
4823
- lang: jo(),
4826
+ lang: Wo(),
4824
4827
  controls: !0,
4825
4828
  marginControls: !1,
4826
4829
  fullscreenTarget: null,
@@ -4856,7 +4859,7 @@ function tn() {
4856
4859
  }
4857
4860
  };
4858
4861
  }
4859
- var ka = function(o, r) {
4862
+ var wa = function(o, r) {
4860
4863
  var t, e, i;
4861
4864
  r.preset && r.options ? i = new r.preset(r.options, o.config) : i = new r({}, o.config);
4862
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;
@@ -4865,7 +4868,7 @@ var ka = function(o, r) {
4865
4868
  });
4866
4869
  var m = o.config.i18n || [];
4867
4870
  g.push.apply(g, ve(m)), o.config.i18n = g;
4868
- }, wa = /* @__PURE__ */ function(a) {
4871
+ }, ba = /* @__PURE__ */ function(a) {
4869
4872
  L(r, a);
4870
4873
  var o = A(r);
4871
4874
  function r() {
@@ -5026,7 +5029,7 @@ var ka = function(o, r) {
5026
5029
  };
5027
5030
  }
5028
5031
  }]), r;
5029
- }(j), ba = {
5032
+ }(j), Ta = {
5030
5033
  LANG: "en",
5031
5034
  TEXT: {
5032
5035
  ERROR_TYPES: {
@@ -5116,12 +5119,12 @@ function ht(a, o) {
5116
5119
  t === "Object" ? (e !== "Object" && (a[r] = {}), ht(a[r], o[r])) : a[r] = o[r];
5117
5120
  }), a;
5118
5121
  }
5119
- function qn() {
5122
+ function Zn() {
5120
5123
  Object.keys(ce.lang.en).map(function(a) {
5121
5124
  ce.textKeys[a] = a;
5122
5125
  });
5123
5126
  }
5124
- function Ta(a, o) {
5127
+ function Ea(a, o) {
5125
5128
  var r = [];
5126
5129
  if (o || (o = ce), !!o.lang) {
5127
5130
  f.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
@@ -5134,17 +5137,17 @@ function Ta(a, o) {
5134
5137
  var t = o, e = t.lang;
5135
5138
  r.map(function(i) {
5136
5139
  i.LANG === "zh" && (i.LANG = "zh-cn"), e[i.LANG] ? ht(e[i.LANG] || {}, i.TEXT || {}) : bi(i, o);
5137
- }), qn();
5140
+ }), Zn();
5138
5141
  }
5139
5142
  }
5140
5143
  function bi(a, o) {
5141
5144
  var r = a.LANG;
5142
5145
  if (o || (o = ce), !!o.lang) {
5143
5146
  var t = a.TEXT || {};
5144
- 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();
5145
5148
  }
5146
5149
  }
5147
- function Ea(a) {
5150
+ function Sa(a) {
5148
5151
  var o, r = {
5149
5152
  lang: {},
5150
5153
  langKeys: [],
@@ -5153,7 +5156,7 @@ function Ea(a) {
5153
5156
  };
5154
5157
  return ht(r.lang, ce.lang), (o = r.langKeys).push.apply(o, ve(ce.langKeys)), ht(r.textKeys, ce.textKeys), r;
5155
5158
  }
5156
- bi(ba);
5159
+ bi(Ta);
5157
5160
  var it = {
5158
5161
  get textKeys() {
5159
5162
  return ce.textKeys;
@@ -5167,9 +5170,9 @@ var it = {
5167
5170
  a[o] = ce.lang[o];
5168
5171
  }), ce.lang["zh-cn"] && (a.zh = ce.lang["zh-cn"] || {}), a;
5169
5172
  },
5170
- extend: Ta,
5173
+ extend: Ea,
5171
5174
  use: bi,
5172
- init: Ea
5175
+ init: Sa
5173
5176
  }, V = {
5174
5177
  INITIAL: 1,
5175
5178
  READY: 2,
@@ -5179,7 +5182,7 @@ var it = {
5179
5182
  RUNNING: 6,
5180
5183
  ENDED: 7,
5181
5184
  DESTROYED: 8
5182
- }, 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) {
5183
5186
  L(r, a);
5184
5187
  var o = A(r);
5185
5188
  function r() {
@@ -5265,8 +5268,8 @@ var it = {
5265
5268
  return $t || ($t = new r()), $t;
5266
5269
  }
5267
5270
  }]), r;
5268
- }(In.EventEmitter);
5269
- function Sa(a) {
5271
+ }(Pn.EventEmitter);
5272
+ function xa(a) {
5270
5273
  for (var o = Object.keys(oe), r = 0; r < o.length; r++) {
5271
5274
  var t = oe[o[r]];
5272
5275
  if (t.root === a)
@@ -5274,13 +5277,13 @@ function Sa(a) {
5274
5277
  }
5275
5278
  return null;
5276
5279
  }
5277
- 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) {
5278
5281
  L(r, a);
5279
5282
  var o = A(r);
5280
5283
  function r(t) {
5281
5284
  var e;
5282
5285
  x(this, r);
5283
- var i = f.deepMerge(tn(), t);
5286
+ var i = f.deepMerge(nn(), t);
5284
5287
  e = o.call(this, i), _(v(e), "canPlayFunc", function() {
5285
5288
  if (e.config) {
5286
5289
  var g = e.config, m = g.autoplay, y = g.defaultPlaybackRate;
@@ -5304,7 +5307,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5304
5307
  to: !1
5305
5308
  }]
5306
5309
  });
5307
- var b = Wo(k, e.playerId, ze);
5310
+ var b = Go(k, e.playerId, ze);
5308
5311
  if (m || k && (k === e._fullscreenEl || b))
5309
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();
5310
5313
  else if (e.fullscreen) {
@@ -5324,7 +5327,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5324
5327
  e._fullscreenEl = e.media, e.onFullscreenChange(g, !0);
5325
5328
  }), _(v(e), "_onWebkitendfullscreen", function(g) {
5326
5329
  e.onFullscreenChange(g, !1);
5327
- }), 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));
5328
5331
  var n = e.constructor.defaultPreset;
5329
5332
  if (e.config.presets.length) {
5330
5333
  var s = e.config.presets.indexOf("default");
@@ -5353,7 +5356,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5353
5356
  }, e._offsetInfo = {
5354
5357
  currentTime: -1,
5355
5358
  duration: 0
5356
- }, 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 = {
5357
5360
  isActiveLocked: !1
5358
5361
  }, e.instManager = Le;
5359
5362
  var l = e._initDOM();
@@ -5385,7 +5388,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5385
5388
  msg: "container id can't be empty"
5386
5389
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
5387
5390
  }
5388
- var s = Sa(this.root);
5391
+ var s = xa(this.root);
5389
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();
5390
5393
  var l = this.constructor.XgVideoProxy;
5391
5394
  if (l && this.mediaConfig.mediaType === l.mediaType) {
@@ -5395,7 +5398,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5395
5398
  this.attachVideoEvents(c), this.media = c;
5396
5399
  }
5397
5400
  if (this.media.setAttribute(ze, this.playerId), this.config.controls) {
5398
- 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, {
5399
5402
  root: h
5400
5403
  });
5401
5404
  this.controls = d;
@@ -5433,7 +5436,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5433
5436
  var e = this;
5434
5437
  ["focus", "blur"].forEach(function(i) {
5435
5438
  e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
5436
- }), Ki.forEach(function(i) {
5439
+ }), Yi.forEach(function(i) {
5437
5440
  document && document.addEventListener(i, e.onFullscreenChange);
5438
5441
  }), B.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(xe, this.resize), this.playFunc = function() {
5439
5442
  e.config.closeFocusVideoFocus || e.media.focus();
@@ -5443,7 +5446,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5443
5446
  key: "_unbindEvents",
5444
5447
  value: function() {
5445
5448
  var e = this;
5446
- this.root.removeEventListener("mousemove", this.mousemoveFunc), Ki.forEach(function(i) {
5449
+ this.root.removeEventListener("mousemove", this.mousemoveFunc), Yi.forEach(function(i) {
5447
5450
  document.removeEventListener(i, e.onFullscreenChange);
5448
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);
5449
5452
  }
@@ -5456,7 +5459,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5456
5459
  key: "_startInit",
5457
5460
  value: function(e) {
5458
5461
  var i = this;
5459
- 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))) {
5460
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);
5461
5464
  var n = this.innerContainer ? this.innerContainer : this.root;
5462
5465
  this.media instanceof window.Element && !n.contains(this.media) && n.insertBefore(this.media, n.firstChild);
@@ -5503,7 +5506,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5503
5506
  value: function() {
5504
5507
  var e = this;
5505
5508
  this.config.presets.forEach(function(i) {
5506
- ka(e, i);
5509
+ wa(e, i);
5507
5510
  });
5508
5511
  }
5509
5512
  }, {
@@ -5768,7 +5771,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5768
5771
  if (s && (i.map(function(u) {
5769
5772
  e.deregister(u);
5770
5773
  }), n)) {
5771
- var l = tn();
5774
+ var l = nn();
5772
5775
  Object.keys(this.config).keys(function(u) {
5773
5776
  e.config[u] !== "undefined" && (u === "plugins" || u === "presets" || u === "el" || u === "id") && (e.config[u] = l[u]);
5774
5777
  });
@@ -5779,7 +5782,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5779
5782
  value: function() {
5780
5783
  var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
5781
5784
  if (!(!s || !l)) {
5782
- 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)
5783
5786
  for (var u = n.children, c = 0; c < u.length; c++)
5784
5787
  n.removeChild(u[c]);
5785
5788
  !n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
@@ -5841,8 +5844,8 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5841
5844
  if (s === this._fullscreenEl)
5842
5845
  return this.onFullscreenChange(), Promise.resolve();
5843
5846
  try {
5844
- for (var l = 0; l < Yi.length; l++) {
5845
- var u = Yi[l];
5847
+ for (var l = 0; l < Xi.length; l++) {
5848
+ var u = Xi[l];
5846
5849
  if (e[u]) {
5847
5850
  var c = u === "webkitRequestFullscreen" ? e.webkitRequestFullscreen(window.Element.ALLOW_KEYBOARD_INPUT) : e[u]();
5848
5851
  return c && c.then ? c : Promise.resolve();
@@ -5861,8 +5864,8 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5861
5864
  var i = this.media;
5862
5865
  this._fullActionFrom = "exit";
5863
5866
  try {
5864
- for (var n = 0; n < Xi.length; n++) {
5865
- var s = Xi[n];
5867
+ for (var n = 0; n < qi.length; n++) {
5868
+ var s = qi[n];
5866
5869
  if (document[s]) {
5867
5870
  var l = document[s]();
5868
5871
  return l && l.then ? l : Promise.resolve();
@@ -5941,7 +5944,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
5941
5944
  this.onBlur(e);
5942
5945
  return;
5943
5946
  }
5944
- this._clearUserTimer(), this.emit(Rn, q({
5947
+ this._clearUserTimer(), this.emit(Mn, q({
5945
5948
  paused: this.paused,
5946
5949
  ended: this.ended
5947
5950
  }, e));
@@ -6026,7 +6029,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
6026
6029
  value: function() {
6027
6030
  var e = this;
6028
6031
  this.waitTimer && f.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = f.setTimeout(this, function() {
6029
- 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;
6030
6033
  }, this.config.minWaitDelay);
6031
6034
  }
6032
6035
  }, {
@@ -6186,7 +6189,7 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
6186
6189
  }, {
6187
6190
  key: "setState",
6188
6191
  value: function(e) {
6189
- 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;
6190
6193
  }
6191
6194
  }, {
6192
6195
  key: "_preProcessUrl",
@@ -6352,18 +6355,18 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
6352
6355
  }, {
6353
6356
  key: "avgSpeed",
6354
6357
  get: function() {
6355
- return sn;
6358
+ return on;
6356
6359
  },
6357
6360
  set: function(e) {
6358
- sn = e;
6361
+ on = e;
6359
6362
  }
6360
6363
  }, {
6361
6364
  key: "realTimeSpeed",
6362
6365
  get: function() {
6363
- return rn;
6366
+ return sn;
6364
6367
  },
6365
6368
  set: function(e) {
6366
- rn = e;
6369
+ sn = e;
6367
6370
  }
6368
6371
  }, {
6369
6372
  key: "offsetCurrentTime",
@@ -6401,14 +6404,14 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
6401
6404
  value: function(e, i, n) {
6402
6405
  for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
6403
6406
  l[u - 3] = arguments[u];
6404
- 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)));
6405
6408
  }
6406
6409
  }, {
6407
6410
  key: "removePluginHooks",
6408
6411
  value: function(e, i, n) {
6409
6412
  for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
6410
6413
  l[u - 3] = arguments[u];
6411
- 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)));
6412
6415
  }
6413
6416
  }, {
6414
6417
  key: "setUserActive",
@@ -6465,10 +6468,10 @@ var xa = ["play", "pause", "replay", "retry"], rn = 0, sn = 0, Le = null, Ft = /
6465
6468
  r.plugins || (r.plugins = {}), r.plugins[e] = i;
6466
6469
  }
6467
6470
  }]), r;
6468
- }(ra);
6471
+ }(sa);
6469
6472
  _(Ft, "defaultPreset", null);
6470
6473
  _(Ft, "XgVideoProxy", null);
6471
- Ft.instManager = Zn.getInstance();
6474
+ Ft.instManager = Jn.getInstance();
6472
6475
  function re() {
6473
6476
  return (/* @__PURE__ */ new Date()).getTime();
6474
6477
  }
@@ -6480,7 +6483,7 @@ var Ae = {
6480
6483
  WAIT_END: "waitingEnd",
6481
6484
  SEEK_START: "seekStart",
6482
6485
  SEEK_END: "seekEnd"
6483
- }, Ia = /* @__PURE__ */ function(a) {
6486
+ }, Pa = /* @__PURE__ */ function(a) {
6484
6487
  L(r, a);
6485
6488
  var o = A(r);
6486
6489
  function r() {
@@ -6607,7 +6610,7 @@ var Ae = {
6607
6610
  key: "emitLog",
6608
6611
  value: function(e, i) {
6609
6612
  var n = this.player;
6610
- this.emit(Vn, q({
6613
+ this.emit(jn, q({
6611
6614
  t: re(),
6612
6615
  host: f.getHostFromUrl(n.currentSrc),
6613
6616
  vtype: n.vtype,
@@ -6631,13 +6634,13 @@ var Ae = {
6631
6634
  }
6632
6635
  }]), r;
6633
6636
  }(j);
6634
- function Pa() {
6637
+ function La() {
6635
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">
6636
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>
6637
6640
  </svg>
6638
6641
  `, "image/svg+xml").firstChild;
6639
6642
  }
6640
- var La = /* @__PURE__ */ function(a) {
6643
+ var Aa = /* @__PURE__ */ function(a) {
6641
6644
  L(r, a);
6642
6645
  var o = A(r);
6643
6646
  function r() {
@@ -6647,7 +6650,7 @@ var La = /* @__PURE__ */ function(a) {
6647
6650
  key: "registerIcons",
6648
6651
  value: function() {
6649
6652
  return {
6650
- replay: Pa
6653
+ replay: La
6651
6654
  };
6652
6655
  }
6653
6656
  }, {
@@ -6720,7 +6723,7 @@ var La = /* @__PURE__ */ function(a) {
6720
6723
  };
6721
6724
  }
6722
6725
  }]), r;
6723
- }(j), Aa = /* @__PURE__ */ function(a) {
6726
+ }(j), Da = /* @__PURE__ */ function(a) {
6724
6727
  L(r, a);
6725
6728
  var o = A(r);
6726
6729
  function r() {
@@ -6845,7 +6848,7 @@ function Ei() {
6845
6848
  `, "image/svg+xml").firstChild;
6846
6849
  }
6847
6850
  var ke = {};
6848
- function Da(a, o) {
6851
+ function Oa(a, o) {
6849
6852
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
6850
6853
  start: null,
6851
6854
  end: null
@@ -6854,7 +6857,7 @@ function Da(a, o) {
6854
6857
  r.end && r.end(), window.clearTimeout(ke[a].id), delete ke[a];
6855
6858
  }, o), ke[a].id;
6856
6859
  }
6857
- function on(a) {
6860
+ function an(a) {
6858
6861
  if (a) {
6859
6862
  window.clearTimeout(a);
6860
6863
  return;
@@ -6863,7 +6866,7 @@ function on(a) {
6863
6866
  window.clearTimeout(ke[o].id), delete ke[o];
6864
6867
  });
6865
6868
  }
6866
- var Oa = /* @__PURE__ */ function(a) {
6869
+ var Ra = /* @__PURE__ */ function(a) {
6867
6870
  L(r, a);
6868
6871
  var o = A(r);
6869
6872
  function r(t) {
@@ -6955,7 +6958,7 @@ var Oa = /* @__PURE__ */ function(a) {
6955
6958
  key: "animate",
6956
6959
  value: function(e) {
6957
6960
  var i = this;
6958
- this._animateId = Da("pauseplay", 400, {
6961
+ this._animateId = Oa("pauseplay", 400, {
6959
6962
  start: function() {
6960
6963
  f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
6961
6964
  },
@@ -6967,7 +6970,7 @@ var Oa = /* @__PURE__ */ function(a) {
6967
6970
  }, {
6968
6971
  key: "endAnimate",
6969
6972
  value: function() {
6970
- f.removeClass(this.root, "interact"), on(this._animateId), this._animateId = null;
6973
+ f.removeClass(this.root, "interact"), an(this._animateId), this._animateId = null;
6971
6974
  }
6972
6975
  }, {
6973
6976
  key: "switchPausePlay",
@@ -7011,7 +7014,7 @@ var Oa = /* @__PURE__ */ function(a) {
7011
7014
  }, {
7012
7015
  key: "destroy",
7013
7016
  value: function() {
7014
- this.unbind(["click", "touchend"], this.clickHandler), on(this._animateId);
7017
+ this.unbind(["click", "touchend"], this.clickHandler), an(this._animateId);
7015
7018
  }
7016
7019
  }, {
7017
7020
  key: "render",
@@ -7038,7 +7041,7 @@ var Oa = /* @__PURE__ */ function(a) {
7038
7041
  };
7039
7042
  }
7040
7043
  }]), r;
7041
- }(j), Ra = /* @__PURE__ */ function(a) {
7044
+ }(j), Ma = /* @__PURE__ */ function(a) {
7042
7045
  L(r, a);
7043
7046
  var o = A(r);
7044
7047
  function r() {
@@ -7083,7 +7086,7 @@ function Be(a, o, r) {
7083
7086
  return '<div class="xg-tips hide"></div>';
7084
7087
  }
7085
7088
  }
7086
- var an = /* @__PURE__ */ function(a) {
7089
+ var ln = /* @__PURE__ */ function(a) {
7087
7090
  L(r, a);
7088
7091
  var o = A(r);
7089
7092
  function r() {
@@ -7133,12 +7136,12 @@ var an = /* @__PURE__ */ function(a) {
7133
7136
  }
7134
7137
  }]), r;
7135
7138
  }(j);
7136
- function ln(a) {
7139
+ function un(a) {
7137
7140
  var o = parseFloat(a), r = a.indexOf("%") === -1 && !Number.isNaN(o);
7138
7141
  return r && o;
7139
7142
  }
7140
- var Si = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Jn = Si.length;
7141
- function Ma() {
7143
+ var Si = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Qn = Si.length;
7144
+ function Fa() {
7142
7145
  for (var a = {
7143
7146
  width: 0,
7144
7147
  height: 0,
@@ -7146,30 +7149,30 @@ function Ma() {
7146
7149
  innerHeight: 0,
7147
7150
  outerWidth: 0,
7148
7151
  outerHeight: 0
7149
- }, o = 0; o < Jn; o++) {
7152
+ }, o = 0; o < Qn; o++) {
7150
7153
  var r = Si[o];
7151
7154
  a[r] = 0;
7152
7155
  }
7153
7156
  return a;
7154
7157
  }
7155
- function Fa(a) {
7158
+ function Na(a) {
7156
7159
  var o = window.getComputedStyle(a);
7157
7160
  return o;
7158
7161
  }
7159
- function un(a) {
7162
+ function cn(a) {
7160
7163
  if (typeof a == "string" && (a = document.querySelector(a)), !(!a || se(a) !== "object" || !a.nodeType)) {
7161
- var o = Fa(a);
7164
+ var o = Na(a);
7162
7165
  if (o.display === "none")
7163
- return Ma();
7166
+ return Fa();
7164
7167
  var r = {};
7165
7168
  r.width = a.offsetWidth, r.height = a.offsetHeight;
7166
- 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++) {
7167
7170
  var i = Si[e], n = o[i], s = parseFloat(n);
7168
7171
  r[i] = Number.isNaN(s) ? 0 : s;
7169
7172
  }
7170
- 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);
7171
7174
  m !== !1 && (r.width = m + (g ? 0 : l + d));
7172
- var y = ln(o.height);
7175
+ var y = un(o.height);
7173
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;
7174
7177
  }
7175
7178
  }
@@ -7184,11 +7187,11 @@ var Yt = {
7184
7187
  START: "dragStart",
7185
7188
  MOVE: "dragMove",
7186
7189
  ENDED: "dragEnded"
7187
- }, cn = {
7190
+ }, fn = {
7188
7191
  mousedown: ["mousemove", "mouseup"],
7189
7192
  touchstart: ["touchmove", "touchend", "touchcancel"],
7190
7193
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
7191
- }, Na = /* @__PURE__ */ function(a) {
7194
+ }, Ba = /* @__PURE__ */ function(a) {
7192
7195
  L(r, a);
7193
7196
  var o = A(r);
7194
7197
  function r(t) {
@@ -7205,7 +7208,7 @@ var Yt = {
7205
7208
  key: "_bindStartEvent",
7206
7209
  value: function() {
7207
7210
  var e = this;
7208
- "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) {
7209
7212
  e["on".concat(i)] = e["on".concat(i)].bind(e);
7210
7213
  });
7211
7214
  }
@@ -7219,7 +7222,7 @@ var Yt = {
7219
7222
  value: function(e) {
7220
7223
  var i = this;
7221
7224
  if (e) {
7222
- var n = cn[this._startKey];
7225
+ var n = fn[this._startKey];
7223
7226
  n.map(function(s) {
7224
7227
  window.addEventListener(s, i["on".concat(s)]);
7225
7228
  }), this._boundPointerEvents = n;
@@ -7311,7 +7314,7 @@ var Yt = {
7311
7314
  value: function(e, i) {
7312
7315
  if (!(!this._root || this.isDown || !this.isEnabled)) {
7313
7316
  this.downPoint = i, this.dragPoint.x = 0, this.dragPoint.y = 0, this._getPosition();
7314
- var n = un(this._root);
7317
+ var n = cn(this._root);
7315
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);
7316
7319
  }
7317
7320
  }
@@ -7392,13 +7395,13 @@ var Yt = {
7392
7395
  key: "_getPositionCoord",
7393
7396
  value: function(e, i) {
7394
7397
  if (e.indexOf("%") !== -1) {
7395
- var n = un(this._root.parentNode);
7398
+ var n = cn(this._root.parentNode);
7396
7399
  return n ? parseFloat(e) / 100 * n[i] : 0;
7397
7400
  }
7398
7401
  return parseInt(e, 10);
7399
7402
  }
7400
7403
  }]), r;
7401
- }(Pn), Ba = /* @__PURE__ */ function(a) {
7404
+ }(Ln), Ha = /* @__PURE__ */ function(a) {
7402
7405
  L(r, a);
7403
7406
  var o = A(r);
7404
7407
  function r(t) {
@@ -7451,10 +7454,10 @@ var Yt = {
7451
7454
  }
7452
7455
  }
7453
7456
  };
7454
- i.controls.registerPlugin(an, s, an.pluginName);
7457
+ i.controls.registerPlugin(ln, s, ln.pluginName);
7455
7458
  }
7456
7459
  var l = f.checkTouchSupport() ? "touchend" : "click";
7457
- 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, {
7458
7461
  handle: this.root
7459
7462
  })), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
7460
7463
  }
@@ -7569,7 +7572,7 @@ var Yt = {
7569
7572
  var l = v(t), u = l.playerConfig, c = l.player;
7570
7573
  !u.closeFocusVideoFocus && c.media.focus(), u.closeDelayBlur ? c.focus({
7571
7574
  autoHide: !1
7572
- }) : c.focus(), t.emit(Nn);
7575
+ }) : c.focus(), t.emit(Bn);
7573
7576
  }), _(v(t), "onMouseLeave", function(s) {
7574
7577
  var l = t.playerConfig, u = l.closePlayerBlur, c = l.leavePlayerTime, h = l.closeDelayBlur;
7575
7578
  !u && !h && (c ? t.player.focus({
@@ -7577,7 +7580,7 @@ var Yt = {
7577
7580
  delay: c
7578
7581
  }) : t.player.blur({
7579
7582
  ignorePaused: !0
7580
- })), t.emit(Fn);
7583
+ })), t.emit(Nn);
7581
7584
  }), _(v(t), "onVideoClick", function(s) {
7582
7585
  var l = v(t), u = l.player, c = l.playerConfig;
7583
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() {
@@ -7668,21 +7671,21 @@ var Yt = {
7668
7671
  TOUCH_MOVE: "touchmove",
7669
7672
  TOUCH_START: "touchstart",
7670
7673
  TOUCH_END: "touchend"
7671
- }, Ha = {
7674
+ }, Ua = {
7672
7675
  start: "touchstart",
7673
7676
  end: "touchend",
7674
7677
  move: "touchmove",
7675
7678
  cancel: "touchcancel"
7676
- }, Ua = {
7679
+ }, za = {
7677
7680
  start: "mousedown",
7678
7681
  end: "mouseup",
7679
7682
  move: "mousemove",
7680
7683
  cancel: "mouseleave"
7681
7684
  };
7682
- function fn(a) {
7685
+ function hn(a) {
7683
7686
  return a && a.length > 0 ? a[a.length - 1] : null;
7684
7687
  }
7685
- function za() {
7688
+ function Va() {
7686
7689
  return {
7687
7690
  pressDelay: 600,
7688
7691
  dbClickDelay: 200,
@@ -7692,13 +7695,13 @@ function za() {
7692
7695
  needPreventDefault: !0
7693
7696
  };
7694
7697
  }
7695
- var Va = /* @__PURE__ */ function() {
7698
+ var ja = /* @__PURE__ */ function() {
7696
7699
  function a(o) {
7697
7700
  var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
7698
7701
  eventType: "touch"
7699
7702
  };
7700
7703
  x(this, a), _(this, "onTouchStart", function(e) {
7701
- var i = r._pos, n = r.root, s = fn(e.touches);
7704
+ var i = r._pos, n = r.root, s = hn(e.touches);
7702
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);
7703
7706
  }), _(this, "onTouchCancel", function(e) {
7704
7707
  r.onTouchEnd(e);
@@ -7706,16 +7709,16 @@ var Va = /* @__PURE__ */ function() {
7706
7709
  var i = r._pos, n = r.root;
7707
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;
7708
7711
  }), _(this, "onTouchMove", function(e) {
7709
- 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;
7710
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));
7711
7714
  }), this._pos = {
7712
7715
  moving: !1,
7713
7716
  start: !1,
7714
7717
  x: 0,
7715
7718
  y: 0
7716
- }, this.config = za(), Object.keys(t).map(function(e) {
7719
+ }, this.config = Va(), Object.keys(t).map(function(e) {
7717
7720
  r.config[e] = t[e];
7718
- }), 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();
7719
7722
  }
7720
7723
  return I(a, [{
7721
7724
  key: "_initEvent",
@@ -7794,7 +7797,7 @@ var Va = /* @__PURE__ */ function() {
7794
7797
  }
7795
7798
  }]), a;
7796
7799
  }();
7797
- function ja() {
7800
+ function Wa() {
7798
7801
  return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
7799
7802
  xmlns:xlink="http://www.w3.org/1999/xlink">
7800
7803
  <path opacity="0.54"
@@ -7808,7 +7811,7 @@ var Xe = {
7808
7811
  SEEKING: "seeking",
7809
7812
  PLAYBACK: "playbackrate",
7810
7813
  LIGHT: ""
7811
- }, Zt = ["videoClick", "videoDbClick"], Wa = /* @__PURE__ */ function(a) {
7814
+ }, Zt = ["videoClick", "videoDbClick"], Ga = /* @__PURE__ */ function(a) {
7812
7815
  L(r, a);
7813
7816
  var o = A(r);
7814
7817
  function r(t) {
@@ -7880,7 +7883,7 @@ var Xe = {
7880
7883
  value: function() {
7881
7884
  return {
7882
7885
  seekTipIcon: {
7883
- icon: ja,
7886
+ icon: Wa,
7884
7887
  class: "xg-seek-pre"
7885
7888
  }
7886
7889
  };
@@ -7895,7 +7898,7 @@ var Xe = {
7895
7898
  var i = this.playerConfig, n = this.config, s = this.player;
7896
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();
7897
7900
  var l = this.domEventType === "mouse" ? "mouse" : "touch";
7898
- this.touch = new Va(this.root, {
7901
+ this.touch = new ja(this.root, {
7899
7902
  eventType: l,
7900
7903
  needPreventDefault: !this.config.disableGesture
7901
7904
  }), this.root.addEventListener("contextmenu", function(d) {
@@ -8237,14 +8240,14 @@ var Xe = {
8237
8240
  }
8238
8241
  }]), r;
8239
8242
  }(j);
8240
- function Ga(a) {
8243
+ function $a(a) {
8241
8244
  a.preventDefault(), a.returnValue = !1;
8242
8245
  }
8243
- function hn(a) {
8246
+ function dn(a) {
8244
8247
  var o = a.tagName;
8245
8248
  return !!(o === "INPUT" || o === "TEXTAREA" || a.isContentEditable);
8246
8249
  }
8247
- var dn = /* @__PURE__ */ function(a) {
8250
+ var gn = /* @__PURE__ */ function(a) {
8248
8251
  L(r, a);
8249
8252
  var o = A(r);
8250
8253
  function r() {
@@ -8255,11 +8258,11 @@ var dn = /* @__PURE__ */ function(a) {
8255
8258
  return t = o.call.apply(o, [this].concat(i)), _(v(t), "onBodyKeyDown", function(s) {
8256
8259
  if (t.player) {
8257
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;
8258
- 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) {
8259
8262
  h.isBodyKeyDown = !1;
8260
8263
  return;
8261
8264
  }
8262
- !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);
8263
8266
  }
8264
8267
  }), _(v(t), "onBodyKeyUp", function(s) {
8265
8268
  t.player && (document.removeEventListener("keyup", t.onBodyKeyUp), t.handleKeyUp(s));
@@ -8480,13 +8483,13 @@ var dn = /* @__PURE__ */ function(a) {
8480
8483
  if (h === e) {
8481
8484
  if (!d && !(n && g)) {
8482
8485
  var m = n && p || c;
8483
- 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({
8484
8487
  key: s[l],
8485
8488
  target: i.target,
8486
8489
  isPress: n
8487
8490
  }, this.keyCodeMap[s[l]]));
8488
8491
  }
8489
- Ga(i), i.stopPropagation();
8492
+ $a(i), i.stopPropagation();
8490
8493
  break;
8491
8494
  }
8492
8495
  }
@@ -8528,13 +8531,13 @@ var dn = /* @__PURE__ */ function(a) {
8528
8531
  }
8529
8532
  }]), r;
8530
8533
  }(Me);
8531
- function $a() {
8534
+ function Ka() {
8532
8535
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
8533
8536
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
8534
8537
  </svg>
8535
8538
  `, "image/svg+xml").firstChild;
8536
8539
  }
8537
- var Ka = /* @__PURE__ */ function(a) {
8540
+ var Ya = /* @__PURE__ */ function(a) {
8538
8541
  L(r, a);
8539
8542
  var o = A(r);
8540
8543
  function r() {
@@ -8544,7 +8547,7 @@ var Ka = /* @__PURE__ */ function(a) {
8544
8547
  key: "registerIcons",
8545
8548
  value: function() {
8546
8549
  return {
8547
- loadingIcon: $a
8550
+ loadingIcon: Ka
8548
8551
  };
8549
8552
  }
8550
8553
  }, {
@@ -8573,7 +8576,7 @@ var Ka = /* @__PURE__ */ function(a) {
8573
8576
  };
8574
8577
  }
8575
8578
  }]), r;
8576
- }(j), Ya = [{
8579
+ }(j), Xa = [{
8577
8580
  tag: "xg-cache",
8578
8581
  className: "xgplayer-progress-cache",
8579
8582
  styleKey: "cachedColor"
@@ -8581,7 +8584,7 @@ var Ka = /* @__PURE__ */ function(a) {
8581
8584
  tag: "xg-played",
8582
8585
  className: "xgplayer-progress-played",
8583
8586
  styleKey: "playedColor"
8584
- }], Xa = /* @__PURE__ */ function() {
8587
+ }], qa = /* @__PURE__ */ function() {
8585
8588
  function a(o) {
8586
8589
  x(this, a), this.fragments = o.fragments || [], this.fragments.length === 0 && this.fragments.push({
8587
8590
  percent: 1
@@ -8768,7 +8771,7 @@ var Ka = /* @__PURE__ */ function(a) {
8768
8771
  var l = f.createDom("xg-inner", "", {
8769
8772
  style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
8770
8773
  }, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
8771
- return r.root.appendChild(l), Ya.forEach(function(u) {
8774
+ return r.root.appendChild(l), Xa.forEach(function(u) {
8772
8775
  l.appendChild(f.createDom(u.tag, "", {
8773
8776
  style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
8774
8777
  }, u.className));
@@ -8781,10 +8784,10 @@ var Ka = /* @__PURE__ */ function(a) {
8781
8784
  return this.root;
8782
8785
  }
8783
8786
  }]), a;
8784
- }(), gn = {
8787
+ }(), pn = {
8785
8788
  POINT: "inner-focus-point",
8786
8789
  HIGHLIGHT: "inner-focus-highlight"
8787
- }, qa = /* @__PURE__ */ function(a) {
8790
+ }, Za = /* @__PURE__ */ function(a) {
8788
8791
  L(r, a);
8789
8792
  var o = A(r);
8790
8793
  function r(t) {
@@ -8914,7 +8917,7 @@ var Ka = /* @__PURE__ */ function(a) {
8914
8917
  e.emitUserAction("fragment_focus", "fragment_focus", u);
8915
8918
  }
8916
8919
  });
8917
- 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) {
8918
8921
  e[l] = e.innerList[l].bind(e.innerList);
8919
8922
  }));
8920
8923
  }
@@ -8948,7 +8951,7 @@ var Ka = /* @__PURE__ */ function(a) {
8948
8951
  e.onTimeupdate();
8949
8952
  }), this.on(Se, function() {
8950
8953
  e.onTimeupdate(), e.onCacheUpdate();
8951
- }), this.on(On, function() {
8954
+ }), this.on(Rn, function() {
8952
8955
  e.onCacheUpdate();
8953
8956
  }), this.on(We, function() {
8954
8957
  e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
@@ -9177,7 +9180,7 @@ var Ka = /* @__PURE__ */ function(a) {
9177
9180
  fragments: [{
9178
9181
  percent: 1
9179
9182
  }],
9180
- fragFocusClass: gn.POINT,
9183
+ fragFocusClass: pn.POINT,
9181
9184
  fragClass: "",
9182
9185
  fragAutoFocus: !1,
9183
9186
  miniMoveStep: 5,
@@ -9192,7 +9195,7 @@ var Ka = /* @__PURE__ */ function(a) {
9192
9195
  }, {
9193
9196
  key: "FRAGMENT_FOCUS_CLASS",
9194
9197
  get: function() {
9195
- return gn;
9198
+ return pn;
9196
9199
  }
9197
9200
  }]), r;
9198
9201
  }(j), $e = /* @__PURE__ */ function(a) {
@@ -9224,7 +9227,7 @@ var Ka = /* @__PURE__ */ function(a) {
9224
9227
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
9225
9228
  }
9226
9229
  }]), r;
9227
- }(j), Za = /* @__PURE__ */ function(a) {
9230
+ }(j), Ja = /* @__PURE__ */ function(a) {
9228
9231
  L(r, a);
9229
9232
  var o = A(r);
9230
9233
  function r() {
@@ -9312,14 +9315,14 @@ var Ka = /* @__PURE__ */ function(a) {
9312
9315
  }
9313
9316
  }]), r;
9314
9317
  }($e);
9315
- function Ja() {
9318
+ function Qa() {
9316
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">
9317
9320
  <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9318
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>
9319
9322
  </g>
9320
9323
  </svg>`, "image/svg+xml").firstChild;
9321
9324
  }
9322
- var Qa = /* @__PURE__ */ function(a) {
9325
+ var el = /* @__PURE__ */ function(a) {
9323
9326
  L(r, a);
9324
9327
  var o = A(r);
9325
9328
  function r() {
@@ -9338,7 +9341,7 @@ var Qa = /* @__PURE__ */ function(a) {
9338
9341
  value: function() {
9339
9342
  return {
9340
9343
  screenBack: {
9341
- icon: Ja,
9344
+ icon: Qa,
9342
9345
  class: "xg-fullscreen-back"
9343
9346
  }
9344
9347
  };
@@ -9380,19 +9383,19 @@ var Qa = /* @__PURE__ */ function(a) {
9380
9383
  }
9381
9384
  }]), r;
9382
9385
  }(j);
9383
- function el() {
9386
+ function tl() {
9384
9387
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9385
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>
9386
9389
  </svg>
9387
9390
  `, "image/svg+xml").firstChild;
9388
9391
  }
9389
- function tl() {
9392
+ function il() {
9390
9393
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9391
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>
9392
9395
  </svg>
9393
9396
  `, "image/svg+xml").firstChild;
9394
9397
  }
9395
- var il = /* @__PURE__ */ function(a) {
9398
+ var nl = /* @__PURE__ */ function(a) {
9396
9399
  L(r, a);
9397
9400
  var o = A(r);
9398
9401
  function r() {
@@ -9427,7 +9430,7 @@ var il = /* @__PURE__ */ function(a) {
9427
9430
  var u = e.find(".xg-tips");
9428
9431
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
9429
9432
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
9430
- plugin: Qa,
9433
+ plugin: el,
9431
9434
  options: {
9432
9435
  config: {
9433
9436
  onClick: function(u) {
@@ -9443,11 +9446,11 @@ var il = /* @__PURE__ */ function(a) {
9443
9446
  value: function() {
9444
9447
  return {
9445
9448
  fullscreen: {
9446
- icon: el,
9449
+ icon: tl,
9447
9450
  class: "xg-get-fullscreen"
9448
9451
  },
9449
9452
  exitFullscreen: {
9450
- icon: tl,
9453
+ icon: il,
9451
9454
  class: "xg-exit-fullscreen"
9452
9455
  }
9453
9456
  };
@@ -9528,7 +9531,7 @@ var il = /* @__PURE__ */ function(a) {
9528
9531
  };
9529
9532
  }
9530
9533
  }]), r;
9531
- }($e), nl = /* @__PURE__ */ function(a) {
9534
+ }($e), rl = /* @__PURE__ */ function(a) {
9532
9535
  L(r, a);
9533
9536
  var o = A(r);
9534
9537
  function r(t) {
@@ -9678,7 +9681,7 @@ var il = /* @__PURE__ */ function(a) {
9678
9681
  };
9679
9682
  }
9680
9683
  }]), r;
9681
- }(j), rl = /* @__PURE__ */ function(a) {
9684
+ }(j), sl = /* @__PURE__ */ function(a) {
9682
9685
  L(r, a);
9683
9686
  var o = A(r);
9684
9687
  function r() {
@@ -9816,28 +9819,28 @@ var il = /* @__PURE__ */ function(a) {
9816
9819
  }
9817
9820
  }]), r;
9818
9821
  }(Me);
9819
- function sl() {
9822
+ function ol() {
9820
9823
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9821
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>
9822
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>
9823
9826
  </svg>
9824
9827
  `, "image/svg+xml").firstChild;
9825
9828
  }
9826
- function ol() {
9829
+ function al() {
9827
9830
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9828
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>
9829
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>
9830
9833
  </svg>
9831
9834
  `, "image/svg+xml").firstChild;
9832
9835
  }
9833
- function al() {
9836
+ function ll() {
9834
9837
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
9835
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>
9836
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>
9837
9840
  </svg>
9838
9841
  `, "image/svg+xml").firstChild;
9839
9842
  }
9840
- var ll = /* @__PURE__ */ function(a) {
9843
+ var ul = /* @__PURE__ */ function(a) {
9841
9844
  L(r, a);
9842
9845
  var o = A(r);
9843
9846
  function r() {
@@ -9885,15 +9888,15 @@ var ll = /* @__PURE__ */ function(a) {
9885
9888
  value: function() {
9886
9889
  return {
9887
9890
  volumeSmall: {
9888
- icon: ol,
9891
+ icon: al,
9889
9892
  class: "xg-volume-small"
9890
9893
  },
9891
9894
  volumeLarge: {
9892
- icon: sl,
9895
+ icon: ol,
9893
9896
  class: "xg-volume"
9894
9897
  },
9895
9898
  volumeMuted: {
9896
- icon: al,
9899
+ icon: ll,
9897
9900
  class: "xg-volume-mute"
9898
9901
  }
9899
9902
  };
@@ -9915,7 +9918,7 @@ var ll = /* @__PURE__ */ function(a) {
9915
9918
  pre: function(u) {
9916
9919
  u.preventDefault(), u.stopPropagation();
9917
9920
  }
9918
- }), 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();
9919
9922
  }
9920
9923
  }
9921
9924
  }, {
@@ -10032,7 +10035,7 @@ var ll = /* @__PURE__ */ function(a) {
10032
10035
  }
10033
10036
  }]), r;
10034
10037
  }(j);
10035
- function ul() {
10038
+ function cl() {
10036
10039
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
10037
10040
  <g clip-path="url(#clip0)">
10038
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"/>
@@ -10046,7 +10049,7 @@ function ul() {
10046
10049
  </svg>
10047
10050
  `, "image/svg+xml").firstChild;
10048
10051
  }
10049
- var cl = /* @__PURE__ */ function(a) {
10052
+ var fl = /* @__PURE__ */ function(a) {
10050
10053
  L(r, a);
10051
10054
  var o = A(r);
10052
10055
  function r(t) {
@@ -10103,13 +10106,13 @@ var cl = /* @__PURE__ */ function(a) {
10103
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;
10104
10107
  this.rotateDeg || (this.rotateDeg = 0);
10105
10108
  var l = e ? 1 : -1;
10106
- 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);
10107
10110
  }
10108
10111
  }, {
10109
10112
  key: "registerIcons",
10110
10113
  value: function() {
10111
10114
  return {
10112
- rotate: ul
10115
+ rotate: cl
10113
10116
  };
10114
10117
  }
10115
10118
  }, {
@@ -10142,14 +10145,14 @@ var cl = /* @__PURE__ */ function(a) {
10142
10145
  }
10143
10146
  }]), r;
10144
10147
  }($e);
10145
- function fl() {
10148
+ function hl() {
10146
10149
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10147
10150
  <path fill-rule="evenodd" clip-rule="evenodd"
10148
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"
10149
10152
  fill="white" />
10150
10153
  </svg>`, "image/svg+xml").firstChild;
10151
10154
  }
10152
- function hl() {
10155
+ function dl() {
10153
10156
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10154
10157
  <path fill-rule="evenodd" clip-rule="evenodd"
10155
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"
@@ -10163,7 +10166,7 @@ var qe = {
10163
10166
  PIP: "picture-in-picture",
10164
10167
  INLINE: "inline",
10165
10168
  FULLSCREEN: "fullscreen"
10166
- }, dl = /* @__PURE__ */ function(a) {
10169
+ }, gl = /* @__PURE__ */ function(a) {
10167
10170
  L(r, a);
10168
10171
  var o = A(r);
10169
10172
  function r() {
@@ -10203,11 +10206,11 @@ var qe = {
10203
10206
  value: function() {
10204
10207
  return {
10205
10208
  pipIcon: {
10206
- icon: fl,
10209
+ icon: hl,
10207
10210
  class: "xg-get-pip"
10208
10211
  },
10209
10212
  pipIconExit: {
10210
- icon: hl,
10213
+ icon: dl,
10211
10214
  class: "xg-exit-pip"
10212
10215
  }
10213
10216
  };
@@ -10366,13 +10369,13 @@ var qe = {
10366
10369
  }
10367
10370
  }]), r;
10368
10371
  }($e);
10369
- function gl() {
10372
+ function pl() {
10370
10373
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
10371
10374
  <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
10372
10375
  </svg>
10373
10376
  `, "image/svg+xml").firstChild;
10374
10377
  }
10375
- var pl = /* @__PURE__ */ function(a) {
10378
+ var vl = /* @__PURE__ */ function(a) {
10376
10379
  L(r, a);
10377
10380
  var o = A(r);
10378
10381
  function r(t) {
@@ -10391,7 +10394,7 @@ var pl = /* @__PURE__ */ function(a) {
10391
10394
  key: "registerIcons",
10392
10395
  value: function() {
10393
10396
  return {
10394
- playNext: gl
10397
+ playNext: pl
10395
10398
  };
10396
10399
  }
10397
10400
  }, {
@@ -10440,11 +10443,11 @@ var pl = /* @__PURE__ */ function(a) {
10440
10443
  };
10441
10444
  }
10442
10445
  }]), r;
10443
- }(j), Qn = { exports: {} };
10446
+ }(j), er = { exports: {} };
10444
10447
  (function(a, o) {
10445
10448
  (function(r, t) {
10446
10449
  a.exports = t();
10447
- })(ro, function() {
10450
+ })(so, function() {
10448
10451
  return function r(t, e, i) {
10449
10452
  var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, h = document.createElement("a"), d = function(R) {
10450
10453
  return String(R);
@@ -10512,10 +10515,10 @@ Use Save As... to download, then click back to return to this page.`) && (locati
10512
10515
  return !0;
10513
10516
  };
10514
10517
  });
10515
- })(Qn);
10516
- var vl = Qn.exports;
10517
- const ml = /* @__PURE__ */ di(vl);
10518
- function yl() {
10518
+ })(er);
10519
+ var ml = er.exports;
10520
+ const yl = /* @__PURE__ */ di(ml);
10521
+ function _l() {
10519
10522
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
10520
10523
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10521
10524
  <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
@@ -10532,7 +10535,7 @@ function yl() {
10532
10535
  </svg>
10533
10536
  `, "image/svg+xml").firstChild;
10534
10537
  }
10535
- var _l = /* @__PURE__ */ function(a) {
10538
+ var Cl = /* @__PURE__ */ function(a) {
10536
10539
  L(r, a);
10537
10540
  var o = A(r);
10538
10541
  function r(t) {
@@ -10543,7 +10546,7 @@ var _l = /* @__PURE__ */ function(a) {
10543
10546
  var n = e.playerConfig.url, s = "";
10544
10547
  f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
10545
10548
  var l = e.getAbsoluteURL(s);
10546
- ml(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10549
+ yl(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10547
10550
  e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
10548
10551
  }, 300);
10549
10552
  }
@@ -10562,7 +10565,7 @@ var _l = /* @__PURE__ */ function(a) {
10562
10565
  key: "registerIcons",
10563
10566
  value: function() {
10564
10567
  return {
10565
- download: yl
10568
+ download: _l
10566
10569
  };
10567
10570
  }
10568
10571
  }, {
@@ -10604,7 +10607,7 @@ var _l = /* @__PURE__ */ function(a) {
10604
10607
  };
10605
10608
  }
10606
10609
  }]), r;
10607
- }($e), Cl = /* @__PURE__ */ function(a) {
10610
+ }($e), kl = /* @__PURE__ */ function(a) {
10608
10611
  L(r, a);
10609
10612
  var o = A(r);
10610
10613
  function r() {
@@ -10659,7 +10662,7 @@ var _l = /* @__PURE__ */ function(a) {
10659
10662
  e.preventDefault(), e.stopPropagation(), this.emitUserAction(e, "shot");
10660
10663
  var n = this.config;
10661
10664
  this.shot(n.width, n.height).then(function(s) {
10662
- 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);
10663
10666
  });
10664
10667
  }
10665
10668
  }, {
@@ -10730,7 +10733,7 @@ var _l = /* @__PURE__ */ function(a) {
10730
10733
  };
10731
10734
  }
10732
10735
  }]), r;
10733
- }($e), kl = /* @__PURE__ */ function() {
10736
+ }($e), wl = /* @__PURE__ */ function() {
10734
10737
  function a(o) {
10735
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);
10736
10739
  var r = this.config.maxHeight;
@@ -10810,7 +10813,7 @@ var _l = /* @__PURE__ */ function(a) {
10810
10813
  CLICK: "click",
10811
10814
  HOVER: "hover"
10812
10815
  };
10813
- function wl(a, o) {
10816
+ function bl(a, o) {
10814
10817
  return a === Ce.SIDE ? o === $.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
10815
10818
  }
10816
10819
  var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
@@ -10924,7 +10927,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
10924
10927
  var c = {
10925
10928
  config: {
10926
10929
  data: e || [],
10927
- className: wl(s.listType, s.position),
10930
+ className: bl(s.listType, s.position),
10928
10931
  onItemClick: function(m, y) {
10929
10932
  n.onItemClick(m, y);
10930
10933
  },
@@ -10934,7 +10937,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
10934
10937
  };
10935
10938
  if (this.config.isShowIcon) {
10936
10939
  var h = this.player.root.getBoundingClientRect(), d = h.height, p = s.listType === Ce.MIDDLE ? d - 50 : d;
10937
- 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();
10938
10941
  }
10939
10942
  this._resizeList();
10940
10943
  }
@@ -10985,7 +10988,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
10985
10988
  };
10986
10989
  }
10987
10990
  }]), r;
10988
- }(j), bl = /* @__PURE__ */ function(a) {
10991
+ }(j), Tl = /* @__PURE__ */ function(a) {
10989
10992
  L(r, a);
10990
10993
  var o = A(r);
10991
10994
  function r(t) {
@@ -11086,7 +11089,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
11086
11089
  });
11087
11090
  }
11088
11091
  }]), r;
11089
- }(Lt), Tl = /* @__PURE__ */ function(a) {
11092
+ }(Lt), El = /* @__PURE__ */ function(a) {
11090
11093
  L(r, a);
11091
11094
  var o = A(r);
11092
11095
  function r(t) {
@@ -11108,7 +11111,7 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
11108
11111
  key: "afterCreate",
11109
11112
  value: function() {
11110
11113
  var e = this;
11111
- 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() {
11112
11115
  e.curValue !== e.player.playbackRate && e.renderItemList();
11113
11116
  }), this.renderItemList();
11114
11117
  }
@@ -11179,19 +11182,19 @@ var Ue = B.device === "mobile", Lt = /* @__PURE__ */ function(a) {
11179
11182
  }
11180
11183
  }]), r;
11181
11184
  }(Lt);
11182
- function El() {
11185
+ function Sl() {
11183
11186
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11184
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>
11185
11188
  </svg>
11186
11189
  `, "image/svg+xml").firstChild;
11187
11190
  }
11188
- function Sl() {
11191
+ function xl() {
11189
11192
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11190
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>
11191
11194
  </svg>
11192
11195
  `, "image/svg+xml").firstChild;
11193
11196
  }
11194
- var pn = /* @__PURE__ */ function(a) {
11197
+ var vn = /* @__PURE__ */ function(a) {
11195
11198
  L(r, a);
11196
11199
  var o = A(r);
11197
11200
  function r() {
@@ -11245,11 +11248,11 @@ var pn = /* @__PURE__ */ function(a) {
11245
11248
  value: function() {
11246
11249
  return {
11247
11250
  cssFullscreen: {
11248
- icon: El,
11251
+ icon: Sl,
11249
11252
  class: "xg-get-cssfull"
11250
11253
  },
11251
11254
  exitCssFullscreen: {
11252
- icon: Sl,
11255
+ icon: xl,
11253
11256
  class: "xg-exit-cssfull"
11254
11257
  }
11255
11258
  };
@@ -11285,7 +11288,7 @@ var pn = /* @__PURE__ */ function(a) {
11285
11288
  };
11286
11289
  }
11287
11290
  }]), r;
11288
- }($e), xl = /* @__PURE__ */ function(a) {
11291
+ }($e), Il = /* @__PURE__ */ function(a) {
11289
11292
  L(r, a);
11290
11293
  var o = A(r);
11291
11294
  function r() {
@@ -11346,7 +11349,7 @@ var pn = /* @__PURE__ */ function(a) {
11346
11349
  return "error";
11347
11350
  }
11348
11351
  }]), r;
11349
- }(j), Il = /* @__PURE__ */ function(a) {
11352
+ }(j), Pl = /* @__PURE__ */ function(a) {
11350
11353
  L(r, a);
11351
11354
  var o = A(r);
11352
11355
  function r() {
@@ -11424,7 +11427,7 @@ var pn = /* @__PURE__ */ function(a) {
11424
11427
  };
11425
11428
  }
11426
11429
  }]), r;
11427
- }(j), vn = {
11430
+ }(j), mn = {
11428
11431
  time: 0,
11429
11432
  text: "",
11430
11433
  id: 1,
@@ -11434,12 +11437,12 @@ var pn = /* @__PURE__ */ function(a) {
11434
11437
  width: 6,
11435
11438
  height: 6
11436
11439
  };
11437
- function er(a) {
11438
- Object.keys(vn).map(function(o) {
11439
- 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]);
11440
11443
  });
11441
11444
  }
11442
- var mn = {
11445
+ var yn = {
11443
11446
  _updateDotDom: function(o, r) {
11444
11447
  if (r) {
11445
11448
  var t = this.calcuPosition(o.time, o.duration), e = o.style || {};
@@ -11456,7 +11459,7 @@ var mn = {
11456
11459
  },
11457
11460
  createDot: function(o) {
11458
11461
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, t = this.player.plugins.progress;
11459
- 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))) {
11460
11463
  var e = this.calcuPosition(o.time, o.duration), i = o.style || {};
11461
11464
  i.left = "".concat(e.left, "%"), i.width = "".concat(e.width, "%");
11462
11465
  var n = "xgspot_".concat(o.id, " xgplayer-spot");
@@ -11576,14 +11579,14 @@ var mn = {
11576
11579
  return r.find('xg-spot[data-id="'.concat(o, '"]'));
11577
11580
  }
11578
11581
  };
11579
- function Pl(a) {
11582
+ function Ll(a) {
11580
11583
  var o = a.config, r = a.player;
11581
- Object.keys(mn).map(function(e) {
11582
- a[e] = mn[e].bind(a);
11584
+ Object.keys(yn).map(function(e) {
11585
+ a[e] = yn[e].bind(a);
11583
11586
  });
11584
11587
  var t = r.config.progressDot || o.ispots || [];
11585
11588
  a._ispots = t.map(function(e) {
11586
- return er(e), e;
11589
+ return tr(e), e;
11587
11590
  }), a.ispotsInit = !1, a.playerSize = {
11588
11591
  left: r.sizeInfo.left,
11589
11592
  width: r.sizeInfo.width
@@ -11600,7 +11603,7 @@ var Je = {
11600
11603
  click: "onProgressClick",
11601
11604
  mouseover: "onProgressMouseOver",
11602
11605
  mouseenter: "onProgressMouseOver"
11603
- }, Ll = /* @__PURE__ */ function(a) {
11606
+ }, Al = /* @__PURE__ */ function(a) {
11604
11607
  L(r, a);
11605
11608
  var o = A(r);
11606
11609
  function r(t) {
@@ -11651,7 +11654,7 @@ var Je = {
11651
11654
  n.seekTime && e.player.seek(n.seekTime);
11652
11655
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
11653
11656
  e.setTimeContent(f.format(i));
11654
- }), Pl(this), this.on(Ne, function() {
11657
+ }), Ll(this), this.on(Ne, function() {
11655
11658
  e.show();
11656
11659
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
11657
11660
  }
@@ -11875,7 +11878,7 @@ var Je = {
11875
11878
  };
11876
11879
  }
11877
11880
  }]), r;
11878
- }(j), Al = /* @__PURE__ */ function(a) {
11881
+ }(j), Dl = /* @__PURE__ */ function(a) {
11879
11882
  L(r, a);
11880
11883
  var o = A(r);
11881
11884
  function r(t) {
@@ -12013,7 +12016,7 @@ var Je = {
12013
12016
  function Jt(a) {
12014
12017
  return a ? "background:".concat(a, ";") : "";
12015
12018
  }
12016
- var Dl = /* @__PURE__ */ function(a) {
12019
+ var Ol = /* @__PURE__ */ function(a) {
12017
12020
  L(r, a);
12018
12021
  var o = A(r);
12019
12022
  function r() {
@@ -12101,14 +12104,14 @@ var Dl = /* @__PURE__ */ function(a) {
12101
12104
  FRAME_RATE: "framerate",
12102
12105
  POSTER: "poster"
12103
12106
  };
12104
- function Ol() {
12107
+ function Rl() {
12105
12108
  try {
12106
12109
  return parseInt(window.performance.now(), 10);
12107
12110
  } catch {
12108
12111
  return (/* @__PURE__ */ new Date()).getTime();
12109
12112
  }
12110
12113
  }
12111
- function Rl() {
12114
+ function Ml() {
12112
12115
  try {
12113
12116
  var a = document.createElement("canvas").getContext;
12114
12117
  return !!a;
@@ -12116,7 +12119,7 @@ function Rl() {
12116
12119
  return !1;
12117
12120
  }
12118
12121
  }
12119
- var yt = null, Ml = /* @__PURE__ */ function(a) {
12122
+ var yt = null, Fl = /* @__PURE__ */ function(a) {
12120
12123
  L(r, a);
12121
12124
  var o = A(r);
12122
12125
  function r() {
@@ -12137,7 +12140,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12137
12140
  !t.player.paused && t._checkIfCanStart() && t.start(0, l);
12138
12141
  }
12139
12142
  }), _(v(t), "start", function(s, l) {
12140
- var u = t.player.video, c = Ol(), h = t.checkVideoIsSupport(u);
12143
+ var u = t.player.video, c = Rl(), h = t.checkVideoIsSupport(u);
12141
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));
12142
12145
  }), _(v(t), "stop", function() {
12143
12146
  t.frameId && (t._loopType === "timer" ? f.clearTimeout(v(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
@@ -12310,7 +12313,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12310
12313
  }, {
12311
12314
  key: "isSupport",
12312
12315
  get: function() {
12313
- return typeof yt == "boolean" || (yt = Rl()), yt;
12316
+ return typeof yt == "boolean" || (yt = Ml()), yt;
12314
12317
  }
12315
12318
  }, {
12316
12319
  key: "supportCanvasFilter",
@@ -12318,7 +12321,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12318
12321
  return !(B.browser === "safari" || B.browser === "firefox");
12319
12322
  }
12320
12323
  }]), r;
12321
- }(j), Fl = {
12324
+ }(j), Nl = {
12322
12325
  LANG: "zh-cn",
12323
12326
  TEXT: {
12324
12327
  ERROR_TYPES: {
@@ -12393,7 +12396,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12393
12396
  FORWARD: "快进中",
12394
12397
  LIVE_TIP: "直播"
12395
12398
  }
12396
- }, at = "info", Qt = $n, Nl = /* @__PURE__ */ function(a) {
12399
+ }, at = "info", Qt = Kn, Bl = /* @__PURE__ */ function(a) {
12397
12400
  L(r, a);
12398
12401
  var o = A(r);
12399
12402
  function r() {
@@ -12537,7 +12540,7 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12537
12540
  return {};
12538
12541
  }
12539
12542
  }]), r;
12540
- }(Me), tr = /* @__PURE__ */ function(a) {
12543
+ }(Me), ir = /* @__PURE__ */ function(a) {
12541
12544
  L(r, a);
12542
12545
  var o = A(r);
12543
12546
  function r() {
@@ -12626,8 +12629,8 @@ var yt = null, Ml = /* @__PURE__ */ function(a) {
12626
12629
  }
12627
12630
  }]), r;
12628
12631
  }(j);
12629
- tr.BROWSER_GAP_TOLERANCE = 1e-3;
12630
- var Bl = /* @__PURE__ */ function(a) {
12632
+ ir.BROWSER_GAP_TOLERANCE = 1e-3;
12633
+ var Hl = /* @__PURE__ */ function(a) {
12631
12634
  L(r, a);
12632
12635
  var o = A(r);
12633
12636
  function r() {
@@ -12673,7 +12676,7 @@ var Bl = /* @__PURE__ */ function(a) {
12673
12676
  };
12674
12677
  }
12675
12678
  }]), r;
12676
- }(j), et = "cdn", _t = ["cdn"], Hl = /* @__PURE__ */ function(a) {
12679
+ }(j), et = "cdn", _t = ["cdn"], Ul = /* @__PURE__ */ function(a) {
12677
12680
  L(r, a);
12678
12681
  var o = A(r);
12679
12682
  function r() {
@@ -12799,7 +12802,7 @@ var Bl = /* @__PURE__ */ function(a) {
12799
12802
  };
12800
12803
  }
12801
12804
  }]), r;
12802
- }(j), Ul = /* @__PURE__ */ function(a) {
12805
+ }(j), zl = /* @__PURE__ */ function(a) {
12803
12806
  L(r, a);
12804
12807
  var o = A(r);
12805
12808
  function r() {
@@ -12866,7 +12869,7 @@ var Bl = /* @__PURE__ */ function(a) {
12866
12869
  totalVideoFrames: i,
12867
12870
  droppedVideoFrames: n,
12868
12871
  checkInterval: s
12869
- }), 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());
12870
12873
  }
12871
12874
  }
12872
12875
  }, {
@@ -12909,24 +12912,24 @@ var Bl = /* @__PURE__ */ function(a) {
12909
12912
  }
12910
12913
  }]), r;
12911
12914
  }(j);
12912
- it.use(Fl);
12913
- var zl = /* @__PURE__ */ I(function a(o, r) {
12915
+ it.use(Nl);
12916
+ var Vl = /* @__PURE__ */ I(function a(o, r) {
12914
12917
  var t, e, i;
12915
12918
  x(this, a);
12916
- 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];
12917
- 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]);
12918
12921
  var h = n ? "mobile" : B.device;
12919
12922
  switch (h) {
12920
12923
  case "pc":
12921
- (t = this.plugins).push.apply(t, [dn, qt, pn, Hl, Ul]);
12924
+ (t = this.plugins).push.apply(t, [gn, qt, vn, Ul, zl]);
12922
12925
  break;
12923
12926
  case "mobile":
12924
- (e = this.plugins).push.apply(e, [Wa]);
12927
+ (e = this.plugins).push.apply(e, [Ga]);
12925
12928
  break;
12926
12929
  default:
12927
- (i = this.plugins).push.apply(i, [dn, qt, pn]);
12930
+ (i = this.plugins).push.apply(i, [gn, qt, vn]);
12928
12931
  }
12929
- (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 = [];
12930
12933
  }), me = /* @__PURE__ */ function(a) {
12931
12934
  L(r, a);
12932
12935
  var o = A(r);
@@ -12935,17 +12938,17 @@ var zl = /* @__PURE__ */ I(function a(o, r) {
12935
12938
  }
12936
12939
  return I(r);
12937
12940
  }(Ft);
12938
- _(me, "defaultPreset", zl);
12941
+ _(me, "defaultPreset", Vl);
12939
12942
  _(me, "Util", f);
12940
12943
  _(me, "Sniffer", B);
12941
12944
  _(me, "Errors", kt);
12942
- _(me, "Events", ia);
12945
+ _(me, "Events", na);
12943
12946
  _(me, "Plugin", j);
12944
12947
  _(me, "BasePlugin", Me);
12945
12948
  _(me, "I18N", it);
12946
12949
  _(me, "STATE_CLASS", C);
12947
- _(me, "InstManager", Zn);
12948
- const Vl = ["id"], jl = /* @__PURE__ */ J({
12950
+ _(me, "InstManager", Jn);
12951
+ const jl = ["id"], Wl = /* @__PURE__ */ J({
12949
12952
  name: "ElImageViewer",
12950
12953
  __name: "Player",
12951
12954
  props: /* @__PURE__ */ Ct({
@@ -12974,7 +12977,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
12974
12977
  }, ["update:modelValue"]),
12975
12978
  setup(a, { emit: o }) {
12976
12979
  let r = null;
12977
- 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 = {
12978
12981
  width: "100%",
12979
12982
  height: "100%",
12980
12983
  // 是否自动播放
@@ -12995,7 +12998,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
12995
12998
  }, s = Y(() => ({
12996
12999
  ...n,
12997
13000
  ...t.config
12998
- })), 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");
12999
13002
  function d() {
13000
13003
  l("close"), u.value = !1, r.destroy();
13001
13004
  }
@@ -13009,11 +13012,11 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
13009
13012
  });
13010
13013
  }), (p, g) => {
13011
13014
  const m = ct("el-icon");
13012
- return u.value ? (S(), pe(yn, {
13015
+ return u.value ? (S(), pe(_n, {
13013
13016
  key: 0,
13014
13017
  to: "body"
13015
13018
  }, [
13016
- G(_n, {
13019
+ G(Cn, {
13017
13020
  name: "viewer-fade",
13018
13021
  appear: ""
13019
13022
  }, {
@@ -13043,7 +13046,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
13043
13046
  class: K(E(h).e("canvas"))
13044
13047
  },
13045
13048
  [
13046
- T("div", { id: E(c) }, null, 8, Vl),
13049
+ T("div", { id: E(c) }, null, 8, jl),
13047
13050
  ee(" CLOSE "),
13048
13051
  T(
13049
13052
  "span",
@@ -13054,7 +13057,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
13054
13057
  [
13055
13058
  G(m, { onClick: d }, {
13056
13059
  default: Q(() => [
13057
- G(E(wn))
13060
+ G(E(bn))
13058
13061
  ]),
13059
13062
  _: 1
13060
13063
  /* STABLE */
@@ -13080,7 +13083,7 @@ const Vl = ["id"], jl = /* @__PURE__ */ J({
13080
13083
  };
13081
13084
  }
13082
13085
  });
13083
- 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({
13084
13087
  __name: "IkPreviewFile",
13085
13088
  props: {
13086
13089
  list: {
@@ -13156,7 +13159,7 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13156
13159
  },
13157
13160
  emits: ["handPreview"],
13158
13161
  setup(a, { emit: o }) {
13159
- 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(() => ({
13160
13163
  name: "name",
13161
13164
  url: "url",
13162
13165
  suffix: "suffix",
@@ -13169,11 +13172,11 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13169
13172
  name: g.name,
13170
13173
  url: ft(
13171
13174
  t.value,
13172
- 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)
13173
13176
  )
13174
13177
  }, r.isOnlyOfficePreview && (u.value = !0), n("handPreview", l.value);
13175
13178
  }, h = (g) => {
13176
- pr.downloadFile(
13179
+ vr.downloadFile(
13177
13180
  ft(
13178
13181
  t.value,
13179
13182
  g[s.value.url] || g.attachmentId || g.id
@@ -13207,7 +13210,7 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13207
13210
  }, [
13208
13211
  T(
13209
13212
  "div",
13210
- Kl,
13213
+ Yl,
13211
13214
  nt(P.name),
13212
13215
  1
13213
13216
  /* TEXT */
@@ -13237,7 +13240,7 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13237
13240
  2
13238
13241
  /* CLASS */
13239
13242
  )
13240
- ], 12, $l))),
13243
+ ], 12, Kl))),
13241
13244
  256
13242
13245
  /* UNKEYED_FRAGMENT */
13243
13246
  )) : (S(), pe(y, { key: 1 }, {
@@ -13262,24 +13265,24 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13262
13265
  class: "file-card",
13263
13266
  onClick: (R) => c(P)
13264
13267
  }, [
13265
- G(E(ws), {
13268
+ G(E(bs), {
13266
13269
  file: P,
13267
13270
  style: ue({ height: `${a.iconSize}px` }),
13268
13271
  class: "ikui-w-auto",
13269
13272
  fields: s.value
13270
13273
  }, null, 8, ["file", "style", "fields"]),
13271
- T("div", Xl, [
13274
+ T("div", ql, [
13272
13275
  T(
13273
13276
  "div",
13274
- ql,
13277
+ Zl,
13275
13278
  nt(P.name),
13276
13279
  1
13277
13280
  /* TEXT */
13278
13281
  ),
13279
13282
  T(
13280
13283
  "div",
13281
- Zl,
13282
- nt(E(Us)(P.size)),
13284
+ Jl,
13285
+ nt(E(zs)(P.size)),
13283
13286
  1
13284
13287
  /* TEXT */
13285
13288
  )
@@ -13311,7 +13314,7 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13311
13314
  2
13312
13315
  /* CLASS */
13313
13316
  )
13314
- ], 8, Yl)
13317
+ ], 8, Xl)
13315
13318
  ],
13316
13319
  6
13317
13320
  /* CLASS, STYLE */
@@ -13328,7 +13331,7 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13328
13331
  64
13329
13332
  /* STABLE_FRAGMENT */
13330
13333
  )) : ee("v-if", !0),
13331
- G(E(js), {
13334
+ G(E(Ws), {
13332
13335
  show: u.value,
13333
13336
  "onUpdate:show": m[0] || (m[0] = (P) => u.value = P),
13334
13337
  loadUrl: E(t),
@@ -13344,8 +13347,8 @@ const Wl = /* @__PURE__ */ At(jl, [["__scopeId", "data-v-b301aa7d"]]), Gl = Fe(W
13344
13347
  };
13345
13348
  }
13346
13349
  });
13347
- const iu = Fe(Jl);
13350
+ const nu = Fe(Ql);
13348
13351
  export {
13349
- iu as IkPreviewFile,
13350
- iu as default
13352
+ nu as IkPreviewFile,
13353
+ nu as default
13351
13354
  };