iking-web-ui-pro 0.2.34 → 0.2.36

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 +612 -605
  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 +683 -676
  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 +835 -852
  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 +864 -857
  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 +13879 -13901
  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,7 +1,7 @@
1
- import { defineComponent as J, computed as X, openBlock as E, createElementBlock as D, createElementVNode as T, inject as lt, ref as ge, resolveComponent as Ge, Fragment as Fe, renderList as wt, normalizeStyle as ce, toDisplayString as xe, normalizeClass as K, createVNode as G, unref as S, withModifiers as ii, createBlock as ae, createCommentVNode as ee, renderSlot as ve, withCtx as Y, mergeModels as bt, useModel as hi, reactive as nr, watch as ft, nextTick as di, createTextVNode as st, h as rr, mergeProps as ni, createSlots as sr, getCurrentScope as or, onScopeDispose as ar, markRaw as Ri, effectScope as lr, shallowRef as ur, onMounted as cr, Teleport as _n, Transition as kn, resolveDynamicComponent as fr, withDirectives as hr, vShow as dr, useCssVars as gr } from "vue";
2
- import { useLocale as pr, useNamespace as Cn, useZIndex as vr, ElIcon as De, EVENT_CODE as Xe, ElTag as mr } from "element-plus";
3
- import { paramType as ri, ikFile as yr, buildUUID as wn, ikColor as _r, _ as zt } from "iking-utils-pro";
4
- const Ae = (a, o) => {
1
+ import { defineComponent as J, computed as X, openBlock as E, createElementBlock as D, createElementVNode as T, inject as lt, ref as ge, resolveComponent as Ge, Fragment as Fe, renderList as wt, normalizeStyle as ce, toDisplayString as xe, normalizeClass as K, createVNode as G, unref as S, withModifiers as ii, createBlock as ae, createCommentVNode as ee, renderSlot as ve, withCtx as Y, mergeModels as bt, useModel as hi, reactive as rr, watch as ft, nextTick as di, createTextVNode as st, h as sr, mergeProps as ni, createSlots as or, getCurrentScope as ar, onScopeDispose as lr, markRaw as Ri, effectScope as ur, shallowRef as cr, onMounted as fr, Teleport as Cn, Transition as kn, resolveDynamicComponent as hr, withDirectives as dr, vShow as gr, useCssVars as pr } from "vue";
2
+ import { useLocale as vr, useNamespace as wn, useZIndex as mr, ElIcon as De, EVENT_CODE as Xe, ElTag as yr } from "element-plus";
3
+ import { paramType as ri, ikFile as _r, buildUUID as bn, ikColor as Cr, _ as zt } from "iking-utils-pro";
4
+ const Le = (a, o) => {
5
5
  if (a.install = (r) => {
6
6
  for (const t of [a, ...Object.values(o ?? {})])
7
7
  r.component(t.name, t);
@@ -119,10 +119,10 @@ const Ae = (a, o) => {
119
119
  }, Mi = (a) => {
120
120
  const o = a == null ? void 0 : a.toLocaleLowerCase(), r = o != null && o.startsWith(".") ? o : `.${o}`;
121
121
  return r && kr[r] || "unknow";
122
- }, Cr = (a) => {
122
+ }, wr = (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
- }, wr = {
125
+ }, br = {
126
126
  key: 0,
127
127
  t: "1686300059786",
128
128
  class: "icon",
@@ -132,7 +132,7 @@ const Ae = (a, o) => {
132
132
  "p-id": "7671",
133
133
  width: "200",
134
134
  height: "200"
135
- }, br = /* @__PURE__ */ T(
135
+ }, Tr = /* @__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 Ae = (a, o) => {
142
142
  null,
143
143
  -1
144
144
  /* HOISTED */
145
- ), Tr = /* @__PURE__ */ T(
145
+ ), Er = /* @__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 Ae = (a, o) => {
152
152
  null,
153
153
  -1
154
154
  /* HOISTED */
155
- ), Er = /* @__PURE__ */ T(
155
+ ), Sr = /* @__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 Ae = (a, o) => {
162
162
  null,
163
163
  -1
164
164
  /* HOISTED */
165
- ), Sr = /* @__PURE__ */ T(
165
+ ), xr = /* @__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 Ae = (a, o) => {
172
172
  null,
173
173
  -1
174
174
  /* HOISTED */
175
- ), xr = [
176
- br,
175
+ ), Ir = [
177
176
  Tr,
178
177
  Er,
179
- Sr
180
- ], Ir = {
178
+ Sr,
179
+ xr
180
+ ], Pr = {
181
181
  key: 1,
182
182
  t: "1686301531714",
183
183
  class: "icon",
@@ -187,7 +187,7 @@ const Ae = (a, o) => {
187
187
  "p-id": "9067",
188
188
  width: "200",
189
189
  height: "200"
190
- }, Pr = /* @__PURE__ */ T(
190
+ }, Lr = /* @__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",
@@ -207,10 +207,10 @@ const Ae = (a, o) => {
207
207
  null,
208
208
  -1
209
209
  /* HOISTED */
210
- ), Lr = [
211
- Pr,
210
+ ), Dr = [
211
+ Lr,
212
212
  Ar
213
- ], Dr = {
213
+ ], Or = {
214
214
  key: 2,
215
215
  t: "1686300141125",
216
216
  class: "icon",
@@ -220,7 +220,7 @@ const Ae = (a, o) => {
220
220
  "p-id": "8137",
221
221
  width: "200",
222
222
  height: "200"
223
- }, Or = /* @__PURE__ */ T(
223
+ }, Rr = /* @__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 Ae = (a, o) => {
230
230
  null,
231
231
  -1
232
232
  /* HOISTED */
233
- ), Rr = /* @__PURE__ */ T(
233
+ ), Mr = /* @__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 Ae = (a, o) => {
240
240
  null,
241
241
  -1
242
242
  /* HOISTED */
243
- ), Mr = [
244
- Or,
245
- Rr
246
- ], Fr = {
243
+ ), Fr = [
244
+ Rr,
245
+ Mr
246
+ ], Nr = {
247
247
  key: 3,
248
248
  t: "1686300157181",
249
249
  class: "icon",
@@ -253,7 +253,7 @@ const Ae = (a, o) => {
253
253
  "p-id": "8292",
254
254
  width: "200",
255
255
  height: "200"
256
- }, Nr = /* @__PURE__ */ T(
256
+ }, Br = /* @__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 Ae = (a, o) => {
263
263
  null,
264
264
  -1
265
265
  /* HOISTED */
266
- ), Br = /* @__PURE__ */ T(
266
+ ), Hr = /* @__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 Ae = (a, o) => {
273
273
  null,
274
274
  -1
275
275
  /* HOISTED */
276
- ), Hr = [
277
- Nr,
278
- Br
279
- ], Ur = {
276
+ ), Ur = [
277
+ Br,
278
+ Hr
279
+ ], zr = {
280
280
  key: 4,
281
281
  t: "1686300180947",
282
282
  class: "icon",
@@ -286,7 +286,7 @@ const Ae = (a, o) => {
286
286
  "p-id": "8447",
287
287
  width: "200",
288
288
  height: "200"
289
- }, zr = /* @__PURE__ */ T(
289
+ }, Vr = /* @__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 Ae = (a, o) => {
296
296
  null,
297
297
  -1
298
298
  /* HOISTED */
299
- ), Vr = /* @__PURE__ */ T(
299
+ ), jr = /* @__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 Ae = (a, o) => {
306
306
  null,
307
307
  -1
308
308
  /* HOISTED */
309
- ), jr = [
310
- zr,
311
- Vr
312
- ], Wr = {
309
+ ), Wr = [
310
+ Vr,
311
+ jr
312
+ ], Gr = {
313
313
  key: 5,
314
314
  t: "1686300195363",
315
315
  class: "icon",
@@ -319,7 +319,7 @@ const Ae = (a, o) => {
319
319
  "p-id": "8602",
320
320
  width: "200",
321
321
  height: "200"
322
- }, Gr = /* @__PURE__ */ T(
322
+ }, $r = /* @__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 Ae = (a, o) => {
329
329
  null,
330
330
  -1
331
331
  /* HOISTED */
332
- ), $r = /* @__PURE__ */ T(
332
+ ), Kr = /* @__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 Ae = (a, o) => {
339
339
  null,
340
340
  -1
341
341
  /* HOISTED */
342
- ), Kr = [
343
- Gr,
344
- $r
345
- ], Yr = {
342
+ ), Yr = [
343
+ $r,
344
+ Kr
345
+ ], Xr = {
346
346
  key: 6,
347
347
  t: "1686300209288",
348
348
  class: "icon",
@@ -352,7 +352,7 @@ const Ae = (a, o) => {
352
352
  "p-id": "8757",
353
353
  width: "200",
354
354
  height: "200"
355
- }, Xr = /* @__PURE__ */ T(
355
+ }, qr = /* @__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 Ae = (a, o) => {
362
362
  null,
363
363
  -1
364
364
  /* HOISTED */
365
- ), qr = /* @__PURE__ */ T(
365
+ ), Zr = /* @__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 Ae = (a, o) => {
372
372
  null,
373
373
  -1
374
374
  /* HOISTED */
375
- ), Zr = [
376
- Xr,
377
- qr
378
- ], Jr = {
375
+ ), Jr = [
376
+ qr,
377
+ Zr
378
+ ], Qr = {
379
379
  key: 7,
380
380
  t: "1686300225262",
381
381
  class: "icon",
@@ -385,7 +385,7 @@ const Ae = (a, o) => {
385
385
  "p-id": "8912",
386
386
  width: "200",
387
387
  height: "200"
388
- }, Qr = /* @__PURE__ */ T(
388
+ }, es = /* @__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 Ae = (a, o) => {
395
395
  null,
396
396
  -1
397
397
  /* HOISTED */
398
- ), es = /* @__PURE__ */ T(
398
+ ), ts = /* @__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 Ae = (a, o) => {
405
405
  null,
406
406
  -1
407
407
  /* HOISTED */
408
- ), ts = [
409
- Qr,
410
- es
411
- ], is = {
408
+ ), is = [
409
+ es,
410
+ ts
411
+ ], ns = {
412
412
  key: 8,
413
413
  t: "1692251753690",
414
414
  class: "icon",
@@ -418,7 +418,7 @@ const Ae = (a, o) => {
418
418
  "p-id": "4336",
419
419
  width: "200",
420
420
  height: "200"
421
- }, ns = /* @__PURE__ */ T(
421
+ }, rs = /* @__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 Ae = (a, o) => {
428
428
  null,
429
429
  -1
430
430
  /* HOISTED */
431
- ), rs = /* @__PURE__ */ T(
431
+ ), ss = /* @__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 Ae = (a, o) => {
439
439
  null,
440
440
  -1
441
441
  /* HOISTED */
442
- ), ss = /* @__PURE__ */ T(
442
+ ), os = /* @__PURE__ */ T(
443
443
  "path",
444
444
  {
445
445
  d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
@@ -449,11 +449,11 @@ const Ae = (a, o) => {
449
449
  null,
450
450
  -1
451
451
  /* HOISTED */
452
- ), os = [
453
- ns,
452
+ ), as = [
454
453
  rs,
455
- ss
456
- ], as = {
454
+ ss,
455
+ os
456
+ ], ls = {
457
457
  key: 9,
458
458
  t: "1692251753690",
459
459
  class: "icon",
@@ -463,7 +463,7 @@ const Ae = (a, o) => {
463
463
  "p-id": "4336",
464
464
  width: "200",
465
465
  height: "200"
466
- }, ls = /* @__PURE__ */ T(
466
+ }, us = /* @__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 Ae = (a, o) => {
473
473
  null,
474
474
  -1
475
475
  /* HOISTED */
476
- ), us = /* @__PURE__ */ T(
476
+ ), cs = /* @__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 Ae = (a, o) => {
483
483
  null,
484
484
  -1
485
485
  /* HOISTED */
486
- ), cs = /* @__PURE__ */ T(
486
+ ), fs = /* @__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 Ae = (a, o) => {
494
494
  null,
495
495
  -1
496
496
  /* HOISTED */
497
- ), fs = /* @__PURE__ */ T(
497
+ ), hs = /* @__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 Ae = (a, o) => {
504
504
  null,
505
505
  -1
506
506
  /* HOISTED */
507
- ), hs = [
508
- ls,
507
+ ), ds = [
509
508
  us,
510
509
  cs,
511
- fs
512
- ], ds = {
510
+ fs,
511
+ hs
512
+ ], gs = {
513
513
  key: 10,
514
514
  t: "1714099890925",
515
515
  class: "icon",
@@ -519,7 +519,7 @@ const Ae = (a, o) => {
519
519
  "p-id": "2271",
520
520
  width: "200",
521
521
  height: "200"
522
- }, gs = /* @__PURE__ */ T(
522
+ }, ps = /* @__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 Ae = (a, o) => {
529
529
  null,
530
530
  -1
531
531
  /* HOISTED */
532
- ), ps = /* @__PURE__ */ T(
532
+ ), vs = /* @__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 Ae = (a, o) => {
540
540
  null,
541
541
  -1
542
542
  /* HOISTED */
543
- ), vs = /* @__PURE__ */ T(
543
+ ), ms = /* @__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 Ae = (a, o) => {
550
550
  null,
551
551
  -1
552
552
  /* HOISTED */
553
- ), ms = [
554
- gs,
553
+ ), ys = [
555
554
  ps,
556
- vs
557
- ], ys = {
555
+ vs,
556
+ ms
557
+ ], _s = {
558
558
  key: 11,
559
559
  t: "1686300037564",
560
560
  class: "icon",
@@ -564,7 +564,7 @@ const Ae = (a, o) => {
564
564
  "p-id": "7515",
565
565
  width: "200",
566
566
  height: "200"
567
- }, _s = /* @__PURE__ */ T(
567
+ }, Cs = /* @__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",
@@ -584,7 +584,7 @@ const Ae = (a, o) => {
584
584
  null,
585
585
  -1
586
586
  /* HOISTED */
587
- ), Cs = /* @__PURE__ */ T(
587
+ ), ws = /* @__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 Ae = (a, o) => {
594
594
  null,
595
595
  -1
596
596
  /* HOISTED */
597
- ), ws = [
598
- _s,
597
+ ), bs = [
598
+ Cs,
599
599
  ks,
600
- Cs
601
- ], bs = /* @__PURE__ */ J({
600
+ ws
601
+ ], Ts = /* @__PURE__ */ J({
602
602
  __name: "IkFileIcon",
603
603
  props: {
604
604
  type: {
@@ -620,11 +620,11 @@ const Ae = (a, o) => {
620
620
  },
621
621
  setup(a) {
622
622
  const o = a, r = X(() => o.file ? si(o.file, o.fields) : o.type);
623
- return (t, e) => r.value === "image" ? (E(), D("svg", wr, xr)) : r.value === "zip" ? (E(), D("svg", Ir, Lr)) : r.value === "ppt" ? (E(), D("svg", Dr, Mr)) : r.value === "word" ? (E(), D("svg", Fr, Hr)) : r.value === "pdf" ? (E(), D("svg", Ur, jr)) : r.value === "txt" ? (E(), D("svg", Wr, Kr)) : r.value === "audio" ? (E(), D("svg", Yr, Zr)) : r.value === "video" ? (E(), D("svg", Jr, ts)) : r.value === "excel" ? (E(), D("svg", is, os)) : r.value === "exe" ? (E(), D("svg", as, hs)) : r.value === "json" ? (E(), D("svg", ds, ms)) : (E(), D("svg", ys, ws));
623
+ return (t, e) => r.value === "image" ? (E(), D("svg", br, Ir)) : r.value === "zip" ? (E(), D("svg", Pr, Dr)) : r.value === "ppt" ? (E(), D("svg", Or, Fr)) : r.value === "word" ? (E(), D("svg", Nr, Ur)) : r.value === "pdf" ? (E(), D("svg", zr, Wr)) : r.value === "txt" ? (E(), D("svg", Gr, Yr)) : r.value === "audio" ? (E(), D("svg", Xr, Jr)) : r.value === "video" ? (E(), D("svg", Qr, is)) : r.value === "excel" ? (E(), D("svg", ns, as)) : r.value === "exe" ? (E(), D("svg", ls, ds)) : r.value === "json" ? (E(), D("svg", gs, ys)) : (E(), D("svg", _s, bs));
624
624
  }
625
- }), Ts = Ae(bs);
625
+ }), Es = Le(Ts);
626
626
  /*! Element Plus Icons Vue v2.3.1 */
627
- var Es = /* @__PURE__ */ J({
627
+ var Ss = /* @__PURE__ */ J({
628
628
  name: "ArrowLeft",
629
629
  __name: "arrow-left",
630
630
  setup(a) {
@@ -638,7 +638,7 @@ var Es = /* @__PURE__ */ J({
638
638
  })
639
639
  ]));
640
640
  }
641
- }), Ss = Es, xs = /* @__PURE__ */ J({
641
+ }), xs = Ss, Is = /* @__PURE__ */ J({
642
642
  name: "ArrowRight",
643
643
  __name: "arrow-right",
644
644
  setup(a) {
@@ -652,7 +652,7 @@ var Es = /* @__PURE__ */ J({
652
652
  })
653
653
  ]));
654
654
  }
655
- }), Is = xs, Ps = /* @__PURE__ */ J({
655
+ }), Ps = Is, Ls = /* @__PURE__ */ J({
656
656
  name: "Close",
657
657
  __name: "close",
658
658
  setup(a) {
@@ -666,7 +666,7 @@ var Es = /* @__PURE__ */ J({
666
666
  })
667
667
  ]));
668
668
  }
669
- }), bn = Ps, As = /* @__PURE__ */ J({
669
+ }), Tn = Ls, As = /* @__PURE__ */ J({
670
670
  name: "FullScreen",
671
671
  __name: "full-screen",
672
672
  setup(a) {
@@ -680,7 +680,7 @@ var Es = /* @__PURE__ */ J({
680
680
  })
681
681
  ]));
682
682
  }
683
- }), Ls = As, Ds = /* @__PURE__ */ J({
683
+ }), Ds = As, Os = /* @__PURE__ */ J({
684
684
  name: "RefreshLeft",
685
685
  __name: "refresh-left",
686
686
  setup(a) {
@@ -694,7 +694,7 @@ var Es = /* @__PURE__ */ J({
694
694
  })
695
695
  ]));
696
696
  }
697
- }), Os = Ds, Rs = /* @__PURE__ */ J({
697
+ }), Rs = Os, Ms = /* @__PURE__ */ J({
698
698
  name: "RefreshRight",
699
699
  __name: "refresh-right",
700
700
  setup(a) {
@@ -708,7 +708,7 @@ var Es = /* @__PURE__ */ J({
708
708
  })
709
709
  ]));
710
710
  }
711
- }), Ms = Rs, Fs = /* @__PURE__ */ J({
711
+ }), Fs = Ms, Ns = /* @__PURE__ */ J({
712
712
  name: "ScaleToOriginal",
713
713
  __name: "scale-to-original",
714
714
  setup(a) {
@@ -722,7 +722,7 @@ var Es = /* @__PURE__ */ J({
722
722
  })
723
723
  ]));
724
724
  }
725
- }), Ns = Fs, Bs = /* @__PURE__ */ J({
725
+ }), Bs = Ns, Hs = /* @__PURE__ */ J({
726
726
  name: "ZoomIn",
727
727
  __name: "zoom-in",
728
728
  setup(a) {
@@ -736,7 +736,7 @@ var Es = /* @__PURE__ */ J({
736
736
  })
737
737
  ]));
738
738
  }
739
- }), Hs = Bs, Us = /* @__PURE__ */ J({
739
+ }), Us = Hs, zs = /* @__PURE__ */ J({
740
740
  name: "ZoomOut",
741
741
  __name: "zoom-out",
742
742
  setup(a) {
@@ -750,13 +750,13 @@ var Es = /* @__PURE__ */ J({
750
750
  })
751
751
  ]));
752
752
  }
753
- }), zs = Us;
753
+ }), Vs = zs;
754
754
  const gt = (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
- }, Vs = (a, o = 2) => {
759
+ }, js = (a, o = 2) => {
760
760
  if (a === void 0)
761
761
  return "";
762
762
  if (a === 0)
@@ -764,69 +764,72 @@ const gt = (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
- }, ht = (a, o) => o ? o.startsWith("http") ? o : `${a || location.origin}${o}` : "", js = (a) => {
768
- const o = lt("loadUrl"), r = X(() => a.loadUrl || a.fileUrl || (o == null ? void 0 : o.value)), t = lt("uploadUrl"), e = X(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = lt("token"), n = X(() => a.token || (i == null ? void 0 : i.value)), s = lt("onlyofficeConfig"), l = X(() => a.onlyofficeConfig || (s == null ? void 0 : s.value)), u = lt("userInfo"), c = X(() => a.userInfo || (u == null ? void 0 : u.value));
767
+ }, ht = (a, o) => o ? o.startsWith("http") ? o : `${a || location.origin}${o}` : "", Fi = [
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
+ ], Ws = (a) => {
823
+ const o = lt("loadUrl"), r = X(() => a.loadUrl || a.fileUrl || (o == null ? void 0 : o.value)), t = lt("uploadUrl"), e = X(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = lt("token"), n = X(() => a.token || (i == null ? void 0 : i.value)), s = lt("onlyofficeConfig"), l = X(() => a.onlyofficeConfig || (s == null ? void 0 : s.value)), u = lt("userInfo"), c = X(() => a.userInfo || (u == null ? void 0 : u.value)), h = [...Fi, ...Fi.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
- }, Tn = js, Ws = ["onClick"], Gs = { class: "fileName simple" }, $s = ["onClick"], Ks = { class: "text" }, Ys = { class: "fileName" }, Xs = { class: "size" }, qs = /* @__PURE__ */ J({
832
+ }, En = Ws, Gs = ["onClick"], $s = { class: "fileName simple" }, Ks = ["onClick"], Ys = { class: "text" }, Xs = { class: "fileName" }, qs = { class: "size" }, Zs = /* @__PURE__ */ J({
830
833
  __name: "IkPreviewFile",
831
834
  props: {
832
835
  list: {
@@ -902,7 +905,7 @@ const gt = (a, o) => {
902
905
  },
903
906
  emits: ["handPreview"],
904
907
  setup(a, { emit: o }) {
905
- const r = a, { cLoadUrl: t, cOnlyofficeConfig: e, cOnlyofficePreviewType: i } = Tn(r), n = o, s = X(() => ({
908
+ const r = a, { cLoadUrl: t, cOnlyofficeConfig: e, cOnlyofficePreviewType: i } = En(r), n = o, s = X(() => ({
906
909
  name: "name",
907
910
  url: "url",
908
911
  suffix: "suffix",
@@ -915,31 +918,35 @@ const gt = (a, o) => {
915
918
  name: g.name,
916
919
  url: ht(
917
920
  t.value,
918
- 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)
921
+ (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)
919
922
  )
920
923
  }, r.isOnlyOfficePreview && (u.value = !0), n("handPreview", l.value);
921
924
  }, h = (g) => {
922
- yr.downloadFile(
925
+ _r.downloadFile(
923
926
  ht(
924
927
  t.value,
925
928
  g[s.value.url] || g.attachmentId || g.id
926
929
  ),
927
930
  g[s.value.name] || g.attachmentName
928
931
  );
929
- }, d = X(() => ri.isNumber(r.width) ? `${r.width}px` : r.width), p = X(() => r.list.map((g) => ({
930
- ...g,
931
- name: g[s.value.name] || g.attachmentName,
932
- size: g[s.value.size] || g.fileSize || g.attachmentSize,
933
- suffix: g[s.value.suffix] || g.attachmentSuffix
934
- })));
932
+ }, d = X(() => ri.isNumber(r.width) ? `${r.width}px` : r.width), p = X(() => r.list.map((g) => {
933
+ var y;
934
+ const m = g[s.value.name] || g.attachmentName;
935
+ return {
936
+ ...g,
937
+ name: m,
938
+ size: g[s.value.size] || (g == null ? void 0 : g.fileSize) || (g == null ? void 0 : g.attachmentSize),
939
+ suffix: g[s.value.suffix] || (g == null ? void 0 : g.attachmentSuffix) || ((y = m.split(".")) == null ? void 0 : y.at(-1))
940
+ };
941
+ }));
935
942
  return (g, m) => {
936
- var C, b, w;
943
+ var k, b, w;
937
944
  const y = Ge("tmplate");
938
945
  return E(), D(
939
946
  Fe,
940
947
  null,
941
948
  [
942
- (C = a.list) != null && C.length ? (E(), D(
949
+ (k = a.list) != null && k.length ? (E(), D(
943
950
  Fe,
944
951
  { key: 0 },
945
952
  [
@@ -953,7 +960,7 @@ const gt = (a, o) => {
953
960
  }, [
954
961
  T(
955
962
  "div",
956
- Gs,
963
+ $s,
957
964
  xe(P.name),
958
965
  1
959
966
  /* TEXT */
@@ -983,7 +990,7 @@ const gt = (a, o) => {
983
990
  2
984
991
  /* CLASS */
985
992
  )
986
- ], 12, Ws))),
993
+ ], 12, Gs))),
987
994
  256
988
995
  /* UNKEYED_FRAGMENT */
989
996
  )) : (E(), ae(y, { key: 1 }, {
@@ -1008,24 +1015,24 @@ const gt = (a, o) => {
1008
1015
  class: "file-card",
1009
1016
  onClick: (R) => c(P)
1010
1017
  }, [
1011
- G(S(Ts), {
1018
+ G(S(Es), {
1012
1019
  file: P,
1013
1020
  style: ce({ height: `${a.iconSize}px` }),
1014
1021
  class: "ikui-w-auto",
1015
1022
  fields: s.value
1016
1023
  }, null, 8, ["file", "style", "fields"]),
1017
- T("div", Ks, [
1024
+ T("div", Ys, [
1018
1025
  T(
1019
1026
  "div",
1020
- Ys,
1027
+ Xs,
1021
1028
  xe(P.name),
1022
1029
  1
1023
1030
  /* TEXT */
1024
1031
  ),
1025
1032
  T(
1026
1033
  "div",
1027
- Xs,
1028
- xe(S(Vs)(P.size)),
1034
+ qs,
1035
+ xe(S(js)(P.size)),
1029
1036
  1
1030
1037
  /* TEXT */
1031
1038
  )
@@ -1057,7 +1064,7 @@ const gt = (a, o) => {
1057
1064
  2
1058
1065
  /* CLASS */
1059
1066
  )
1060
- ], 8, $s)
1067
+ ], 8, Ks)
1061
1068
  ],
1062
1069
  6
1063
1070
  /* CLASS, STYLE */
@@ -1074,7 +1081,7 @@ const gt = (a, o) => {
1074
1081
  64
1075
1082
  /* STABLE_FRAGMENT */
1076
1083
  )) : ee("v-if", !0),
1077
- G(S(Qs), {
1084
+ G(S(eo), {
1078
1085
  show: u.value,
1079
1086
  "onUpdate:show": m[0] || (m[0] = (P) => u.value = P),
1080
1087
  loadUrl: S(t),
@@ -1090,7 +1097,7 @@ const gt = (a, o) => {
1090
1097
  };
1091
1098
  }
1092
1099
  });
1093
- const Zs = Ae(qs), Js = /* @__PURE__ */ J({
1100
+ const Js = Le(Zs), Qs = /* @__PURE__ */ J({
1094
1101
  __name: "IkPreviewFileDialog",
1095
1102
  props: /* @__PURE__ */ bt({
1096
1103
  file: {
@@ -1133,14 +1140,14 @@ const Zs = Ae(qs), Js = /* @__PURE__ */ J({
1133
1140
  suffix: "suffix",
1134
1141
  size: "fileSize",
1135
1142
  ...o.field
1136
- })), e = ge(null), i = ge(null), n = nr({
1143
+ })), e = ge(null), i = ge(null), n = rr({
1137
1144
  image: !1,
1138
1145
  office: !1,
1139
1146
  video: !1
1140
1147
  }), s = (u) => {
1141
1148
  var c, h, d, p, g, m, y;
1142
1149
  try {
1143
- const C = ((c = u == null ? void 0 : u.response) == null ? void 0 : c.data) || u, b = C[t.value.url] || (C == null ? void 0 : C.id) || C.attachmentId, w = (h = C[t.value.suffix] || C.attachmentSuffix) == null ? void 0 : h.toLowerCase(), P = C[t.value.name] || (C == null ? void 0 : C.attachmentName) || (C == null ? void 0 : C.originName);
1150
+ const k = ((c = u == null ? void 0 : u.response) == null ? void 0 : c.data) || u, b = k[t.value.url] || (k == null ? void 0 : k.id) || k.attachmentId, w = (h = k[t.value.suffix] || k.attachmentSuffix) == null ? void 0 : h.toLowerCase(), P = k[t.value.name] || (k == null ? void 0 : k.attachmentName) || (k == null ? void 0 : k.originName);
1144
1151
  if (i.value = {
1145
1152
  ...u,
1146
1153
  name: u[t.value.name],
@@ -1164,18 +1171,18 @@ const Zs = Ae(qs), Js = /* @__PURE__ */ J({
1164
1171
  }
1165
1172
  },
1166
1173
  document: {
1167
- key: wn(),
1174
+ key: bn(),
1168
1175
  title: P,
1169
1176
  url: ht(o.loadUrl, b),
1170
1177
  fileType: w,
1171
1178
  ...((y = o.onlyOfficeConfig) == null ? void 0 : y.document) || {}
1172
1179
  },
1173
- documentType: Cr(w)
1180
+ documentType: wr(w)
1174
1181
  };
1175
1182
  return;
1176
1183
  }
1177
- } catch (C) {
1178
- console.info("预览错误: ", C);
1184
+ } catch (k) {
1185
+ console.info("预览错误: ", k);
1179
1186
  }
1180
1187
  };
1181
1188
  ft([r, o.file], ([u, c]) => {
@@ -1192,7 +1199,7 @@ const Zs = Ae(qs), Js = /* @__PURE__ */ J({
1192
1199
  Fe,
1193
1200
  { key: 0 },
1194
1201
  [
1195
- (h = i.value) != null && h.url && n.image ? (E(), ae(S(Ho), {
1202
+ (h = i.value) != null && h.url && n.image ? (E(), ae(S(Uo), {
1196
1203
  key: 0,
1197
1204
  onClose: c[0] || (c[0] = (g) => l()),
1198
1205
  ref: "previewImgRef",
@@ -1202,12 +1209,12 @@ const Zs = Ae(qs), Js = /* @__PURE__ */ J({
1202
1209
  }, null, 8, ["url-list"])) : ee("v-if", !0),
1203
1210
  ee(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
1204
1211
  ee(" 文档类 "),
1205
- G(S(tu), {
1212
+ G(S(iu), {
1206
1213
  modelValue: n.video,
1207
1214
  "onUpdate:modelValue": c[1] || (c[1] = (g) => n.video = g),
1208
1215
  url: (p = i.value) == null ? void 0 : p.url
1209
1216
  }, null, 8, ["modelValue", "url"]),
1210
- G(S(go), {
1217
+ G(S(po), {
1211
1218
  modelValue: n.office,
1212
1219
  "onUpdate:modelValue": c[2] || (c[2] = (g) => n.office = g),
1213
1220
  draggable: "",
@@ -1225,7 +1232,7 @@ const Zs = Ae(qs), Js = /* @__PURE__ */ J({
1225
1232
  default: Y(() => {
1226
1233
  var g;
1227
1234
  return [
1228
- G(S(bo), {
1235
+ G(S(To), {
1229
1236
  "config-options": e.value,
1230
1237
  "document-server-url": ((g = a.onlyOfficeConfig) == null ? void 0 : g.serverUrl) || a.onlyofficeServer
1231
1238
  }, null, 8, ["config-options", "document-server-url"])
@@ -1241,18 +1248,18 @@ const Zs = Ae(qs), Js = /* @__PURE__ */ J({
1241
1248
  };
1242
1249
  }
1243
1250
  });
1244
- const Qs = Ae(Js), eo = {
1251
+ const eo = Le(Qs), to = {
1245
1252
  key: 0,
1246
1253
  class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
1247
- }, to = {
1254
+ }, io = {
1248
1255
  key: 1,
1249
1256
  class: "h-[1em] w-[1em]",
1250
1257
  "aria-hidden": "true"
1251
- }, io = ["xlink:href"], no = ["src"], ro = {
1258
+ }, no = ["xlink:href"], ro = ["src"], so = {
1252
1259
  key: 1,
1253
1260
  class: "h-[1em] w-[1em]",
1254
1261
  "aria-hidden": "true"
1255
- }, so = ["xlink:href"], oo = ["src"], ao = /* @__PURE__ */ J({
1262
+ }, oo = ["xlink:href"], ao = ["src"], lo = /* @__PURE__ */ J({
1256
1263
  name: "IkSvgIcon",
1257
1264
  __name: "index",
1258
1265
  props: {
@@ -1305,14 +1312,14 @@ const Qs = Ae(Js), eo = {
1305
1312
  padding: r.value.showBg || r.value.bg ? r.value.padding : 0,
1306
1313
  ...r.value.color && t.value !== "iksig" ? {
1307
1314
  "--ik-color-icon-dark": r.value.color,
1308
- "--ik-color-icon-light": r.value.colorLight || _r.setOpacity(r.value.color, r.value.opacity)
1315
+ "--ik-color-icon-light": r.value.colorLight || Cr.setOpacity(r.value.color, r.value.opacity)
1309
1316
  } : {}
1310
1317
  };
1311
1318
  return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
1312
1319
  });
1313
1320
  return (i, n) => {
1314
1321
  const s = Ge("el-tooltip"), l = Ge("el-button");
1315
- return r.value.tableIconType === "icon" || !r.value.tableIconType ? (E(), D("span", eo, [
1322
+ return r.value.tableIconType === "icon" || !r.value.tableIconType ? (E(), D("span", to, [
1316
1323
  r.value.notip || !r.value.title ? (E(), D(
1317
1324
  "i",
1318
1325
  {
@@ -1344,15 +1351,15 @@ const Qs = Ae(Js), eo = {
1344
1351
  null,
1345
1352
  6
1346
1353
  /* CLASS, STYLE */
1347
- )) : t.value === "svg" ? (E(), D("svg", to, [
1354
+ )) : t.value === "svg" ? (E(), D("svg", io, [
1348
1355
  T("use", {
1349
1356
  "xlink:href": `#${r.value.name}`
1350
- }, null, 8, io)
1357
+ }, null, 8, no)
1351
1358
  ])) : t.value === "img" ? (E(), D("img", {
1352
1359
  key: 2,
1353
1360
  src: r.value.name,
1354
1361
  class: "h-[1em] w-[1em]"
1355
- }, null, 8, no)) : (E(), D(
1362
+ }, null, 8, ro)) : (E(), D(
1356
1363
  "i",
1357
1364
  {
1358
1365
  key: 3,
@@ -1400,15 +1407,15 @@ const Qs = Ae(Js), eo = {
1400
1407
  null,
1401
1408
  6
1402
1409
  /* CLASS, STYLE */
1403
- )) : t.value === "svg" ? (E(), D("svg", ro, [
1410
+ )) : t.value === "svg" ? (E(), D("svg", so, [
1404
1411
  T("use", {
1405
1412
  "xlink:href": `#${r.value.name}`
1406
- }, null, 8, so)
1413
+ }, null, 8, oo)
1407
1414
  ])) : t.value === "img" ? (E(), D("img", {
1408
1415
  key: 2,
1409
1416
  src: r.value.name,
1410
1417
  class: "h-[1em] w-[1em]"
1411
- }, null, 8, oo)) : (E(), D(
1418
+ }, null, 8, ao)) : (E(), D(
1412
1419
  "i",
1413
1420
  {
1414
1421
  key: 3,
@@ -1444,7 +1451,7 @@ const Qs = Ae(Js), eo = {
1444
1451
  };
1445
1452
  }
1446
1453
  });
1447
- const lo = /* @__PURE__ */ gt(ao, [["__scopeId", "data-v-52806adf"]]), nt = Ae(lo), uo = /* @__PURE__ */ J({
1454
+ const uo = /* @__PURE__ */ gt(lo, [["__scopeId", "data-v-52806adf"]]), nt = Le(uo), co = /* @__PURE__ */ J({
1448
1455
  __name: "CloseIcon",
1449
1456
  props: {
1450
1457
  showBg: {
@@ -1475,7 +1482,7 @@ const lo = /* @__PURE__ */ gt(ao, [["__scopeId", "data-v-52806adf"]]), nt = Ae(l
1475
1482
  ));
1476
1483
  }
1477
1484
  });
1478
- const co = /* @__PURE__ */ gt(uo, [["__scopeId", "data-v-da39e979"]]), fo = { class: "base-header" }, ho = /* @__PURE__ */ J({
1485
+ const fo = /* @__PURE__ */ gt(co, [["__scopeId", "data-v-da39e979"]]), ho = { class: "base-header" }, go = /* @__PURE__ */ J({
1479
1486
  __name: "IkBaseDialog",
1480
1487
  props: /* @__PURE__ */ bt({
1481
1488
  title: { default: "" },
@@ -1500,7 +1507,7 @@ const co = /* @__PURE__ */ gt(uo, [["__scopeId", "data-v-da39e979"]]), fo = { cl
1500
1507
  t.value = !t.value;
1501
1508
  }, i = J({
1502
1509
  setup() {
1503
- return () => rr(co, {
1510
+ return () => sr(fo, {
1504
1511
  showBg: o.showCloseBg,
1505
1512
  fullscreen: o.fullscreen
1506
1513
  });
@@ -1517,7 +1524,7 @@ const co = /* @__PURE__ */ gt(uo, [["__scopeId", "data-v-da39e979"]]), fo = { cl
1517
1524
  class: `ik-base-dialog ${n.noHeader ? "no-header" : ""} ${n.noFooter ? "no-footer" : ""}`,
1518
1525
  fullscreen: t.value,
1519
1526
  "modal-class": "baseDialog"
1520
- }), sr({
1527
+ }), or({
1521
1528
  icon: Y(() => [
1522
1529
  ve(n.$slots, "title", {}, () => [
1523
1530
  st(
@@ -1528,7 +1535,7 @@ const co = /* @__PURE__ */ gt(uo, [["__scopeId", "data-v-da39e979"]]), fo = { cl
1528
1535
  ])
1529
1536
  ]),
1530
1537
  header: Y(() => [
1531
- T("div", fo, [
1538
+ T("div", ho, [
1532
1539
  ve(n.$slots, "header", {}, () => [
1533
1540
  st(
1534
1541
  xe(n.title),
@@ -1562,12 +1569,12 @@ const co = /* @__PURE__ */ gt(uo, [["__scopeId", "data-v-da39e979"]]), fo = { cl
1562
1569
  };
1563
1570
  }
1564
1571
  });
1565
- const go = Ae(ho);
1566
- var po = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1572
+ const po = Le(go);
1573
+ var vo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1567
1574
  function gi(a) {
1568
1575
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1569
1576
  }
1570
- function vo(a, o, r, t) {
1577
+ function mo(a, o, r, t) {
1571
1578
  function e(i) {
1572
1579
  return i instanceof r ? i : new r(function(n) {
1573
1580
  n(i);
@@ -1594,7 +1601,7 @@ function vo(a, o, r, t) {
1594
1601
  u((t = t.apply(a, o || [])).next());
1595
1602
  });
1596
1603
  }
1597
- function mo(a, o) {
1604
+ function yo(a, o) {
1598
1605
  var r = { label: 0, sent: function() {
1599
1606
  if (i[0] & 1)
1600
1607
  throw i[1];
@@ -1659,9 +1666,9 @@ function mo(a, o) {
1659
1666
  return { value: u[0] ? u[1] : void 0, done: !0 };
1660
1667
  }
1661
1668
  }
1662
- var yo = function(a, o) {
1663
- return vo(void 0, void 0, void 0, function() {
1664
- return mo(this, function(r) {
1669
+ var _o = function(a, o) {
1670
+ return mo(void 0, void 0, void 0, function() {
1671
+ return yo(this, function(r) {
1665
1672
  return [2, new Promise(function(t, e) {
1666
1673
  try {
1667
1674
  if (window.DocsAPI)
@@ -1673,12 +1680,12 @@ var yo = function(a, o) {
1673
1680
  if (!l) {
1674
1681
  if (clearInterval(n), window.DocsAPI)
1675
1682
  return t(null);
1676
- var u = Fi(o, a, t, e);
1683
+ var u = Ni(o, a, t, e);
1677
1684
  i.remove(), document.body.appendChild(u);
1678
1685
  }
1679
1686
  }, 500);
1680
1687
  else {
1681
- var s = Fi(o, a, t, e);
1688
+ var s = Ni(o, a, t, e);
1682
1689
  document.body.appendChild(s);
1683
1690
  }
1684
1691
  } catch (l) {
@@ -1687,7 +1694,7 @@ var yo = function(a, o) {
1687
1694
  })];
1688
1695
  });
1689
1696
  });
1690
- }, Fi = function(a, o, r, t) {
1697
+ }, Ni = function(a, o, r, t) {
1691
1698
  var e = document.createElement("script");
1692
1699
  return e.id = a, e.type = "text/javascript", e.src = o, e.async = !0, e.onload = function() {
1693
1700
  e.removeAttribute("loading"), r(null);
@@ -1749,7 +1756,7 @@ var yo = function(a, o) {
1749
1756
  var a = this, o = this.documentServerUrl;
1750
1757
  o.endsWith("/") || (o += "/");
1751
1758
  var r = "".concat(o, "web-apps/apps/api/documents/api.js");
1752
- yo(r, "onlyoffice-api-script").then(function() {
1759
+ _o(r, "onlyoffice-api-script").then(function() {
1753
1760
  return a.onLoad();
1754
1761
  }).catch(function() {
1755
1762
  a.onError(-2);
@@ -1863,13 +1870,13 @@ var yo = function(a, o) {
1863
1870
  }
1864
1871
  }
1865
1872
  });
1866
- const _o = ["id"];
1873
+ const Co = ["id"];
1867
1874
  function ko(a, o, r, t, e, i) {
1868
- return E(), D("div", { id: a.id }, null, 8, _o);
1875
+ return E(), D("div", { id: a.id }, null, 8, Co);
1869
1876
  }
1870
1877
  pi.render = ko;
1871
1878
  pi.__file = "src/components/DocumentEditor.vue";
1872
- const Co = /* @__PURE__ */ J({
1879
+ const wo = /* @__PURE__ */ J({
1873
1880
  __name: "IkOnlyOffice",
1874
1881
  props: {
1875
1882
  // 文件服务器的服务的地址
@@ -1917,55 +1924,55 @@ const Co = /* @__PURE__ */ J({
1917
1924
  ));
1918
1925
  }
1919
1926
  });
1920
- const wo = /* @__PURE__ */ gt(Co, [["__scopeId", "data-v-98d51ef9"]]), bo = Ae(wo);
1921
- var Ni;
1922
- const En = typeof window < "u", To = (a) => typeof a == "string", Eo = () => {
1927
+ const bo = /* @__PURE__ */ gt(wo, [["__scopeId", "data-v-98d51ef9"]]), To = Le(bo);
1928
+ var Bi;
1929
+ const Sn = typeof window < "u", Eo = (a) => typeof a == "string", So = () => {
1923
1930
  };
1924
- En && ((Ni = window == null ? void 0 : window.navigator) != null && Ni.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1925
- function Sn(a) {
1931
+ Sn && ((Bi = window == null ? void 0 : window.navigator) != null && Bi.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1932
+ function xn(a) {
1926
1933
  return typeof a == "function" ? a() : S(a);
1927
1934
  }
1928
- function So(a) {
1929
- return a;
1930
- }
1931
1935
  function xo(a) {
1932
- return or() ? (ar(a), !0) : !1;
1936
+ return a;
1933
1937
  }
1934
1938
  function Io(a) {
1939
+ return ar() ? (lr(a), !0) : !1;
1940
+ }
1941
+ function Po(a) {
1935
1942
  var o;
1936
- const r = Sn(a);
1943
+ const r = xn(a);
1937
1944
  return (o = r == null ? void 0 : r.$el) != null ? o : r;
1938
1945
  }
1939
- const Po = En ? window : void 0;
1946
+ const Lo = Sn ? window : void 0;
1940
1947
  function mt(...a) {
1941
1948
  let o, r, t, e;
1942
- if (To(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, o = Po) : [o, r, t, e] = a, !o)
1943
- return Eo;
1949
+ if (Eo(a[0]) || Array.isArray(a[0]) ? ([r, t, e] = a, o = Lo) : [o, r, t, e] = a, !o)
1950
+ return So;
1944
1951
  Array.isArray(r) || (r = [r]), Array.isArray(t) || (t = [t]);
1945
1952
  const i = [], n = () => {
1946
1953
  i.forEach((c) => c()), i.length = 0;
1947
- }, s = (c, h, d, p) => (c.addEventListener(h, d, p), () => c.removeEventListener(h, d, p)), l = ft(() => [Io(o), Sn(e)], ([c, h]) => {
1954
+ }, s = (c, h, d, p) => (c.addEventListener(h, d, p), () => c.removeEventListener(h, d, p)), l = ft(() => [Po(o), xn(e)], ([c, h]) => {
1948
1955
  n(), c && i.push(...r.flatMap((d) => t.map((p) => s(c, d, p, h))));
1949
1956
  }, { immediate: !0, flush: "post" }), u = () => {
1950
1957
  l(), n();
1951
1958
  };
1952
- return xo(u), u;
1959
+ return Io(u), u;
1953
1960
  }
1954
- const Bi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Hi = "__vueuse_ssr_handlers__";
1955
- Bi[Hi] = Bi[Hi] || {};
1956
- var Ui;
1961
+ const Hi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ui = "__vueuse_ssr_handlers__";
1962
+ Hi[Ui] = Hi[Ui] || {};
1963
+ var zi;
1957
1964
  (function(a) {
1958
1965
  a.UP = "UP", a.RIGHT = "RIGHT", a.DOWN = "DOWN", a.LEFT = "LEFT", a.NONE = "NONE";
1959
- })(Ui || (Ui = {}));
1960
- var Ao = Object.defineProperty, zi = Object.getOwnPropertySymbols, Lo = Object.prototype.hasOwnProperty, Do = Object.prototype.propertyIsEnumerable, Vi = (a, o, r) => o in a ? Ao(a, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[o] = r, Oo = (a, o) => {
1966
+ })(zi || (zi = {}));
1967
+ var Ao = Object.defineProperty, Vi = Object.getOwnPropertySymbols, Do = Object.prototype.hasOwnProperty, Oo = Object.prototype.propertyIsEnumerable, ji = (a, o, r) => o in a ? Ao(a, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[o] = r, Ro = (a, o) => {
1961
1968
  for (var r in o || (o = {}))
1962
- Lo.call(o, r) && Vi(a, r, o[r]);
1963
- if (zi)
1964
- for (var r of zi(o))
1965
- Do.call(o, r) && Vi(a, r, o[r]);
1969
+ Do.call(o, r) && ji(a, r, o[r]);
1970
+ if (Vi)
1971
+ for (var r of Vi(o))
1972
+ Oo.call(o, r) && ji(a, r, o[r]);
1966
1973
  return a;
1967
1974
  };
1968
- const Ro = {
1975
+ const Mo = {
1969
1976
  easeInSine: [0.12, 0, 0.39, 0],
1970
1977
  easeOutSine: [0.61, 1, 0.88, 1],
1971
1978
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -1991,10 +1998,10 @@ const Ro = {
1991
1998
  easeOutBack: [0.34, 1.56, 0.64, 1],
1992
1999
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
1993
2000
  };
1994
- Oo({
1995
- linear: So
1996
- }, Ro);
1997
- const Mo = {
2001
+ Ro({
2002
+ linear: xo
2003
+ }, Mo);
2004
+ const Fo = {
1998
2005
  /**
1999
2006
  * @description preview link list.
2000
2007
  */
@@ -2064,32 +2071,32 @@ const Mo = {
2064
2071
  crossorigin: {
2065
2072
  type: ["anonymous", "use-credentials", ""]
2066
2073
  }
2067
- }, Fo = {
2074
+ }, No = {
2068
2075
  close: () => !0,
2069
2076
  switch: (a) => ri.isNumber(a),
2070
2077
  rotate: (a) => ri.isNumber(a)
2071
- }, No = ["src", "crossorigin"], Bo = /* @__PURE__ */ J({
2078
+ }, Bo = ["src", "crossorigin"], Ho = /* @__PURE__ */ J({
2072
2079
  name: "ElImageViewer",
2073
2080
  __name: "IkImageViewer",
2074
- props: Mo,
2075
- emits: Fo,
2081
+ props: Fo,
2082
+ emits: No,
2076
2083
  setup(a, { expose: o, emit: r }) {
2077
2084
  const t = (N) => Object.keys(N), e = {
2078
2085
  CONTAIN: {
2079
2086
  name: "contain",
2080
- icon: Ri(Ls)
2087
+ icon: Ri(Ds)
2081
2088
  },
2082
2089
  ORIGINAL: {
2083
2090
  name: "original",
2084
- icon: Ri(Ns)
2091
+ icon: Ri(Bs)
2085
2092
  }
2086
- }, i = a, n = r, { t: s } = pr(), l = Cn("image-viewer"), { nextZIndex: u } = vr(), c = ge(), h = ge([]), d = lr(), p = ge(!0), g = ge(i.initialIndex), m = ur(e.CONTAIN), y = ge({
2093
+ }, i = a, n = r, { t: s } = vr(), l = wn("image-viewer"), { nextZIndex: u } = mr(), c = ge(), h = ge([]), d = ur(), p = ge(!0), g = ge(i.initialIndex), m = cr(e.CONTAIN), y = ge({
2087
2094
  scale: 1,
2088
2095
  deg: 0,
2089
2096
  offsetX: 0,
2090
2097
  offsetY: 0,
2091
2098
  enableTransition: !1
2092
- }), C = ge(i.zIndex ?? u()), b = X(() => {
2099
+ }), k = ge(i.zIndex ?? u()), b = X(() => {
2093
2100
  const { urlList: N } = i;
2094
2101
  return N.length <= 1;
2095
2102
  }), w = X(() => g.value === 0), P = X(() => g.value === i.urlList.length - 1), F = X(() => i.urlList[g.value]), U = X(() => [
@@ -2102,11 +2109,11 @@ const Mo = {
2102
2109
  l.is("disabled", !i.infinite && P.value)
2103
2110
  ]), te = X(() => {
2104
2111
  const { scale: N, deg: W, offsetX: q, offsetY: pe, enableTransition: _e } = y.value;
2105
- let ke = q / N, Le = pe / N;
2112
+ let Ce = q / N, Ae = pe / N;
2106
2113
  const at = W * Math.PI / 180, Di = Math.cos(at), Oi = Math.sin(at);
2107
- ke = ke * Di + Le * Oi, Le = Le * Di - q / N * Oi;
2114
+ Ce = Ce * Di + Ae * Oi, Ae = Ae * Di - q / N * Oi;
2108
2115
  const Ut = {
2109
- transform: `scale(${N}) rotate(${W}deg) translate(${ke}px, ${Le}px)`,
2116
+ transform: `scale(${N}) rotate(${W}deg) translate(${Ce}px, ${Ae}px)`,
2110
2117
  transition: _e ? "transform .3s" : ""
2111
2118
  };
2112
2119
  return m.value.name === e.CONTAIN.name && (Ut.maxWidth = Ut.maxHeight = "100%"), Ut;
@@ -2124,13 +2131,13 @@ const Mo = {
2124
2131
  Pi();
2125
2132
  break;
2126
2133
  case Xe.left:
2127
- Ai();
2134
+ Li();
2128
2135
  break;
2129
2136
  case Xe.up:
2130
2137
  ze("zoomIn");
2131
2138
  break;
2132
2139
  case Xe.right:
2133
- Li();
2140
+ Ai();
2134
2141
  break;
2135
2142
  case Xe.down:
2136
2143
  ze("zoomOut");
@@ -2160,15 +2167,15 @@ const Mo = {
2160
2167
  if (p.value || N.button !== 0 || !c.value)
2161
2168
  return;
2162
2169
  y.value.enableTransition = !1;
2163
- const { offsetX: W, offsetY: q } = y.value, pe = N.pageX, _e = N.pageY, ke = zt.throttle((at) => {
2170
+ const { offsetX: W, offsetY: q } = y.value, pe = N.pageX, _e = N.pageY, Ce = zt.throttle((at) => {
2164
2171
  y.value = {
2165
2172
  ...y.value,
2166
2173
  offsetX: W + at.pageX - pe,
2167
2174
  offsetY: q + at.pageY - _e
2168
2175
  };
2169
- }), Le = mt(document, "mousemove", ke);
2176
+ }), Ae = mt(document, "mousemove", Ce);
2170
2177
  mt(document, "mouseup", () => {
2171
- Le();
2178
+ Ae();
2172
2179
  }), N.preventDefault();
2173
2180
  }
2174
2181
  function Ii() {
@@ -2183,23 +2190,23 @@ const Mo = {
2183
2190
  function Pi() {
2184
2191
  if (p.value)
2185
2192
  return;
2186
- const N = t(e), W = Object.values(e), q = m.value.name, _e = ((W == null ? void 0 : W.findIndex((ke) => ke.name === q)) + 1) % N.length;
2193
+ const N = t(e), W = Object.values(e), q = m.value.name, _e = ((W == null ? void 0 : W.findIndex((Ce) => Ce.name === q)) + 1) % N.length;
2187
2194
  m.value = e[N[_e]], Ii();
2188
2195
  }
2189
2196
  function Ht(N) {
2190
2197
  const W = i.urlList.length;
2191
2198
  g.value = (N + W) % W;
2192
2199
  }
2193
- function Ai() {
2200
+ function Li() {
2194
2201
  w.value && !i.infinite || Ht(g.value - 1);
2195
2202
  }
2196
- function Li() {
2203
+ function Ai() {
2197
2204
  P.value && !i.infinite || Ht(g.value + 1);
2198
2205
  }
2199
2206
  function ze(N, W = {}) {
2200
2207
  if (p.value)
2201
2208
  return;
2202
- const { minScale: q, maxScale: pe } = i, { zoomRate: _e, rotateDeg: ke, enableTransition: Le } = {
2209
+ const { minScale: q, maxScale: pe } = i, { zoomRate: _e, rotateDeg: Ce, enableTransition: Ae } = {
2203
2210
  zoomRate: i.zoomRate,
2204
2211
  rotateDeg: 90,
2205
2212
  enableTransition: !0,
@@ -2217,13 +2224,13 @@ const Mo = {
2217
2224
  ));
2218
2225
  break;
2219
2226
  case "clockwise":
2220
- y.value.deg += ke, n("rotate", y.value.deg);
2227
+ y.value.deg += Ce, n("rotate", y.value.deg);
2221
2228
  break;
2222
2229
  case "anticlockwise":
2223
- y.value.deg -= ke, n("rotate", y.value.deg);
2230
+ y.value.deg -= Ce, n("rotate", y.value.deg);
2224
2231
  break;
2225
2232
  }
2226
- y.value.enableTransition = Le;
2233
+ y.value.enableTransition = Ae;
2227
2234
  }
2228
2235
  return ft(F, () => {
2229
2236
  di(() => {
@@ -2232,7 +2239,7 @@ const Mo = {
2232
2239
  });
2233
2240
  }), ft(g, (N) => {
2234
2241
  Ii(), n("switch", N);
2235
- }), cr(() => {
2242
+ }), fr(() => {
2236
2243
  var N, W;
2237
2244
  z(), (W = (N = c.value) == null ? void 0 : N.focus) == null || W.call(N);
2238
2245
  }), o({
@@ -2240,7 +2247,7 @@ const Mo = {
2240
2247
  * @description manually switch image
2241
2248
  */
2242
2249
  setActiveItem: Ht
2243
- }), (N, W) => (E(), ae(_n, { to: "body" }, [
2250
+ }), (N, W) => (E(), ae(Cn, { to: "body" }, [
2244
2251
  G(kn, {
2245
2252
  name: "viewer-fade",
2246
2253
  appear: ""
@@ -2253,7 +2260,7 @@ const Mo = {
2253
2260
  ref: c,
2254
2261
  tabindex: -1,
2255
2262
  class: K(S(l).e("wrapper")),
2256
- style: ce({ zIndex: C.value })
2263
+ style: ce({ zIndex: k.value })
2257
2264
  },
2258
2265
  [
2259
2266
  T(
@@ -2276,7 +2283,7 @@ const Mo = {
2276
2283
  [
2277
2284
  G(S(De), null, {
2278
2285
  default: Y(() => [
2279
- G(S(bn))
2286
+ G(S(Tn))
2280
2287
  ]),
2281
2288
  _: 1
2282
2289
  /* STABLE */
@@ -2294,12 +2301,12 @@ const Mo = {
2294
2301
  "span",
2295
2302
  {
2296
2303
  class: K(U.value),
2297
- onClick: Ai
2304
+ onClick: Li
2298
2305
  },
2299
2306
  [
2300
2307
  G(S(De), null, {
2301
2308
  default: Y(() => [
2302
- G(S(Ss))
2309
+ G(S(xs))
2303
2310
  ]),
2304
2311
  _: 1
2305
2312
  /* STABLE */
@@ -2312,12 +2319,12 @@ const Mo = {
2312
2319
  "span",
2313
2320
  {
2314
2321
  class: K(R.value),
2315
- onClick: Li
2322
+ onClick: Ai
2316
2323
  },
2317
2324
  [
2318
2325
  G(S(De), null, {
2319
2326
  default: Y(() => [
2320
- G(S(Is))
2327
+ G(S(Ps))
2321
2328
  ]),
2322
2329
  _: 1
2323
2330
  /* STABLE */
@@ -2347,7 +2354,7 @@ const Mo = {
2347
2354
  onClick: W[1] || (W[1] = (q) => ze("zoomOut"))
2348
2355
  }, {
2349
2356
  default: Y(() => [
2350
- G(S(zs))
2357
+ G(S(Vs))
2351
2358
  ]),
2352
2359
  _: 1
2353
2360
  /* STABLE */
@@ -2356,7 +2363,7 @@ const Mo = {
2356
2363
  onClick: W[2] || (W[2] = (q) => ze("zoomIn"))
2357
2364
  }, {
2358
2365
  default: Y(() => [
2359
- G(S(Hs))
2366
+ G(S(Us))
2360
2367
  ]),
2361
2368
  _: 1
2362
2369
  /* STABLE */
@@ -2372,7 +2379,7 @@ const Mo = {
2372
2379
  ),
2373
2380
  G(S(De), { onClick: Pi }, {
2374
2381
  default: Y(() => [
2375
- (E(), ae(fr(m.value.icon)))
2382
+ (E(), ae(hr(m.value.icon)))
2376
2383
  ]),
2377
2384
  _: 1
2378
2385
  /* STABLE */
@@ -2390,7 +2397,7 @@ const Mo = {
2390
2397
  onClick: W[3] || (W[3] = (q) => ze("anticlockwise"))
2391
2398
  }, {
2392
2399
  default: Y(() => [
2393
- G(S(Os))
2400
+ G(S(Rs))
2394
2401
  ]),
2395
2402
  _: 1
2396
2403
  /* STABLE */
@@ -2399,7 +2406,7 @@ const Mo = {
2399
2406
  onClick: W[4] || (W[4] = (q) => ze("clockwise"))
2400
2407
  }, {
2401
2408
  default: Y(() => [
2402
- G(S(Ms))
2409
+ G(S(Fs))
2403
2410
  ]),
2404
2411
  _: 1
2405
2412
  /* STABLE */
@@ -2422,7 +2429,7 @@ const Mo = {
2422
2429
  (E(!0), D(
2423
2430
  Fe,
2424
2431
  null,
2425
- wt(N.urlList, (q, pe) => hr((E(), D("img", {
2432
+ wt(N.urlList, (q, pe) => dr((E(), D("img", {
2426
2433
  ref_for: !0,
2427
2434
  ref: (_e) => h.value[pe] = _e,
2428
2435
  key: q,
@@ -2433,8 +2440,8 @@ const Mo = {
2433
2440
  onLoad: le,
2434
2441
  onError: ue,
2435
2442
  onMousedown: be
2436
- }, null, 46, No)), [
2437
- [dr, pe === g.value]
2443
+ }, null, 46, Bo)), [
2444
+ [gr, pe === g.value]
2438
2445
  ])),
2439
2446
  128
2440
2447
  /* KEYED_FRAGMENT */
@@ -2454,8 +2461,8 @@ const Mo = {
2454
2461
  })
2455
2462
  ]));
2456
2463
  }
2457
- }), Ho = Ae(Bo);
2458
- function ji(a, o) {
2464
+ }), Uo = Le(Ho);
2465
+ function Wi(a, o) {
2459
2466
  var r = Object.keys(a);
2460
2467
  if (Object.getOwnPropertySymbols) {
2461
2468
  var t = Object.getOwnPropertySymbols(a);
@@ -2468,9 +2475,9 @@ function ji(a, o) {
2468
2475
  function Z(a) {
2469
2476
  for (var o = 1; o < arguments.length; o++) {
2470
2477
  var r = arguments[o] != null ? arguments[o] : {};
2471
- o % 2 ? ji(Object(r), !0).forEach(function(t) {
2478
+ o % 2 ? Wi(Object(r), !0).forEach(function(t) {
2472
2479
  _(a, t, r[t]);
2473
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : ji(Object(r)).forEach(function(t) {
2480
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : Wi(Object(r)).forEach(function(t) {
2474
2481
  Object.defineProperty(a, t, Object.getOwnPropertyDescriptor(r, t));
2475
2482
  });
2476
2483
  }
@@ -2488,26 +2495,26 @@ function x(a, o) {
2488
2495
  if (!(a instanceof o))
2489
2496
  throw new TypeError("Cannot call a class as a function");
2490
2497
  }
2491
- function Wi(a, o) {
2498
+ function Gi(a, o) {
2492
2499
  for (var r = 0; r < o.length; r++) {
2493
2500
  var t = o[r];
2494
- t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(a, xn(t.key), t);
2501
+ t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(a, In(t.key), t);
2495
2502
  }
2496
2503
  }
2497
2504
  function I(a, o, r) {
2498
- return o && Wi(a.prototype, o), r && Wi(a, r), Object.defineProperty(a, "prototype", {
2505
+ return o && Gi(a.prototype, o), r && Gi(a, r), Object.defineProperty(a, "prototype", {
2499
2506
  writable: !1
2500
2507
  }), a;
2501
2508
  }
2502
2509
  function _(a, o, r) {
2503
- return o = xn(o), o in a ? Object.defineProperty(a, o, {
2510
+ return o = In(o), o in a ? Object.defineProperty(a, o, {
2504
2511
  value: r,
2505
2512
  enumerable: !0,
2506
2513
  configurable: !0,
2507
2514
  writable: !0
2508
2515
  }) : a[o] = r, a;
2509
2516
  }
2510
- function A(a, o) {
2517
+ function L(a, o) {
2511
2518
  if (typeof o != "function" && o !== null)
2512
2519
  throw new TypeError("Super expression must either be null or a function");
2513
2520
  a.prototype = Object.create(o && o.prototype, {
@@ -2530,7 +2537,7 @@ function oi(a, o) {
2530
2537
  return t.__proto__ = e, t;
2531
2538
  }, oi(a, o);
2532
2539
  }
2533
- function Uo() {
2540
+ function zo() {
2534
2541
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2535
2542
  return !1;
2536
2543
  if (typeof Proxy == "function")
@@ -2554,8 +2561,8 @@ function vi(a, o) {
2554
2561
  throw new TypeError("Derived constructors may only return object or undefined");
2555
2562
  return v(a);
2556
2563
  }
2557
- function L(a) {
2558
- var o = Uo();
2564
+ function A(a) {
2565
+ var o = zo();
2559
2566
  return function() {
2560
2567
  var t = O(a), e;
2561
2568
  if (o) {
@@ -2566,14 +2573,14 @@ function L(a) {
2566
2573
  return vi(this, e);
2567
2574
  };
2568
2575
  }
2569
- function zo(a, o) {
2576
+ function Vo(a, o) {
2570
2577
  for (; !Object.prototype.hasOwnProperty.call(a, o) && (a = O(a), a !== null); )
2571
2578
  ;
2572
2579
  return a;
2573
2580
  }
2574
2581
  function M() {
2575
2582
  return typeof Reflect < "u" && Reflect.get ? M = Reflect.get.bind() : M = function(o, r, t) {
2576
- var e = zo(o, r);
2583
+ var e = Vo(o, r);
2577
2584
  if (e) {
2578
2585
  var i = Object.getOwnPropertyDescriptor(e, r);
2579
2586
  return i.get ? i.get.call(arguments.length < 3 ? o : t) : i.value;
@@ -2581,17 +2588,17 @@ function M() {
2581
2588
  }, M.apply(this, arguments);
2582
2589
  }
2583
2590
  function me(a) {
2584
- return Vo(a) || jo(a) || Wo(a) || Go();
2591
+ return jo(a) || Wo(a) || Go(a) || $o();
2585
2592
  }
2586
- function Vo(a) {
2593
+ function jo(a) {
2587
2594
  if (Array.isArray(a))
2588
2595
  return ai(a);
2589
2596
  }
2590
- function jo(a) {
2597
+ function Wo(a) {
2591
2598
  if (typeof Symbol < "u" && a[Symbol.iterator] != null || a["@@iterator"] != null)
2592
2599
  return Array.from(a);
2593
2600
  }
2594
- function Wo(a, o) {
2601
+ function Go(a, o) {
2595
2602
  if (a) {
2596
2603
  if (typeof a == "string")
2597
2604
  return ai(a, o);
@@ -2608,11 +2615,11 @@ function ai(a, o) {
2608
2615
  t[r] = a[r];
2609
2616
  return t;
2610
2617
  }
2611
- function Go() {
2618
+ function $o() {
2612
2619
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2613
2620
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2614
2621
  }
2615
- function $o(a, o) {
2622
+ function Ko(a, o) {
2616
2623
  if (typeof a != "object" || a === null)
2617
2624
  return a;
2618
2625
  var r = a[Symbol.toPrimitive];
@@ -2624,11 +2631,11 @@ function $o(a, o) {
2624
2631
  }
2625
2632
  return (o === "string" ? String : Number)(a);
2626
2633
  }
2627
- function xn(a) {
2628
- var o = $o(a, "string");
2634
+ function In(a) {
2635
+ var o = Ko(a, "string");
2629
2636
  return typeof o == "symbol" ? o : String(o);
2630
2637
  }
2631
- var In = { exports: {} };
2638
+ var Pn = { exports: {} };
2632
2639
  (function(a) {
2633
2640
  var o = Object.prototype.hasOwnProperty, r = "~";
2634
2641
  function t() {
@@ -2672,9 +2679,9 @@ var In = { exports: {} };
2672
2679
  var m = r ? r + u : u;
2673
2680
  if (!this._events[m])
2674
2681
  return !1;
2675
- var y = this._events[m], C = arguments.length, b, w;
2682
+ var y = this._events[m], k = arguments.length, b, w;
2676
2683
  if (y.fn) {
2677
- switch (y.once && this.removeListener(u, y.fn, void 0, !0), C) {
2684
+ switch (y.once && this.removeListener(u, y.fn, void 0, !0), k) {
2678
2685
  case 1:
2679
2686
  return y.fn.call(y.context), !0;
2680
2687
  case 2:
@@ -2688,13 +2695,13 @@ var In = { exports: {} };
2688
2695
  case 6:
2689
2696
  return y.fn.call(y.context, c, h, d, p, g), !0;
2690
2697
  }
2691
- for (w = 1, b = new Array(C - 1); w < C; w++)
2698
+ for (w = 1, b = new Array(k - 1); w < k; w++)
2692
2699
  b[w - 1] = arguments[w];
2693
2700
  y.fn.apply(y.context, b);
2694
2701
  } else {
2695
2702
  var P = y.length, F;
2696
2703
  for (w = 0; w < P; w++)
2697
- switch (y[w].once && this.removeListener(u, y[w].fn, void 0, !0), C) {
2704
+ switch (y[w].once && this.removeListener(u, y[w].fn, void 0, !0), k) {
2698
2705
  case 1:
2699
2706
  y[w].fn.call(y[w].context);
2700
2707
  break;
@@ -2709,7 +2716,7 @@ var In = { exports: {} };
2709
2716
  break;
2710
2717
  default:
2711
2718
  if (!b)
2712
- for (F = 1, b = new Array(C - 1); F < C; F++)
2719
+ for (F = 1, b = new Array(k - 1); F < k; F++)
2713
2720
  b[F - 1] = arguments[F];
2714
2721
  y[w].fn.apply(y[w].context, b);
2715
2722
  }
@@ -2729,7 +2736,7 @@ var In = { exports: {} };
2729
2736
  if (g.fn)
2730
2737
  g.fn === c && (!d || g.once) && (!h || g.context === h) && n(this, p);
2731
2738
  else {
2732
- for (var m = 0, y = [], C = g.length; m < C; m++)
2739
+ for (var m = 0, y = [], k = g.length; m < k; m++)
2733
2740
  (g[m].fn !== c || d && !g[m].once || h && g[m].context !== h) && y.push(g[m]);
2734
2741
  y.length ? this._events[p] = y.length === 1 ? y[0] : y : n(this, p);
2735
2742
  }
@@ -2738,16 +2745,16 @@ var In = { exports: {} };
2738
2745
  var c;
2739
2746
  return u ? (c = r ? r + u : u, this._events[c] && n(this, c)) : (this._events = new t(), this._eventsCount = 0), this;
2740
2747
  }, s.prototype.off = s.prototype.removeListener, s.prototype.addListener = s.prototype.on, s.prefixed = r, s.EventEmitter = s, a.exports = s;
2741
- })(In);
2742
- var Pn = In.exports;
2743
- const An = /* @__PURE__ */ gi(Pn);
2744
- var Ko = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Vt = {
2748
+ })(Pn);
2749
+ var Ln = Pn.exports;
2750
+ const An = /* @__PURE__ */ gi(Ln);
2751
+ var Yo = typeof window < "u" && window.location && window.location.href.indexOf("xgplayerdebugger=1") > -1, Vt = {
2745
2752
  info: "color: #525252; background-color: #90ee90;",
2746
2753
  error: "color: #525252; background-color: red;",
2747
2754
  warn: "color: #525252; background-color: yellow; "
2748
2755
  }, jt = "%c[xgplayer]", H = {
2749
2756
  config: {
2750
- debug: Ko ? 3 : 0
2757
+ debug: Yo ? 3 : 0
2751
2758
  },
2752
2759
  logInfo: function(o) {
2753
2760
  for (var r, t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
@@ -2768,10 +2775,10 @@ var Ko = typeof window < "u" && window.location && window.location.href.indexOf(
2768
2775
  }
2769
2776
  }
2770
2777
  };
2771
- function Yo(a) {
2778
+ function Xo(a) {
2772
2779
  a.logInfo = H.logInfo.bind(a), a.logWarn = H.logWarn.bind(a), a.logError = H.logError.bind(a);
2773
2780
  }
2774
- var Xo = /* @__PURE__ */ function() {
2781
+ var qo = /* @__PURE__ */ function() {
2775
2782
  function a(o) {
2776
2783
  x(this, a), this.bufferedList = o;
2777
2784
  }
@@ -3017,7 +3024,7 @@ f.setStyleFromCsstext = function(a, o) {
3017
3024
  a.style[t] = o[t];
3018
3025
  });
3019
3026
  };
3020
- function qo(a, o) {
3027
+ function Zo(a, o) {
3021
3028
  for (var r = 0, t = o.length; r < t; r++)
3022
3029
  if (a.indexOf(o[r]) > -1)
3023
3030
  return !0;
@@ -3031,7 +3038,7 @@ f.filterStyleFromText = function(a) {
3031
3038
  return t.map(function(n) {
3032
3039
  if (n) {
3033
3040
  var s = n.split(":");
3034
- s.length > 1 && (qo(s[0], o) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
3041
+ s.length > 1 && (Zo(s[0], o) ? e[s[0]] = s[1] : i[s[0]] = s[1]);
3035
3042
  }
3036
3043
  }), a.setAttribute("style", ""), Object.keys(i).map(function(n) {
3037
3044
  a.style[n] = i[n];
@@ -3096,7 +3103,7 @@ f.getBuffered2 = function(a) {
3096
3103
  }
3097
3104
  else
3098
3105
  e = r;
3099
- return new Xo(e);
3106
+ return new qo(e);
3100
3107
  };
3101
3108
  f.getEventPos = function(a) {
3102
3109
  var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
@@ -3216,15 +3223,15 @@ f.getCurrentTimeByOffset = function(a, o) {
3216
3223
  }
3217
3224
  return a;
3218
3225
  };
3219
- function Ln(a) {
3226
+ function Dn(a) {
3220
3227
  var o = se(a);
3221
3228
  return a !== null && (o === "object" || o === "function");
3222
3229
  }
3223
- function Zo(a, o, r) {
3230
+ function Jo(a, o, r) {
3224
3231
  var t, e, i, n, s, l, u = 0, c = !1, h = !1, d = !0, p = !o && o !== 0 && typeof window.requestAnimationFrame == "function";
3225
3232
  if (typeof a != "function")
3226
3233
  throw new TypeError("Expected a function");
3227
- 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);
3234
+ o = +o || 0, Dn(r) && (c = !!r.leading, h = "maxWait" in r, i = h ? Math.max(+r.maxWait || 0, o) : i, d = "trailing" in r ? !!r.trailing : d);
3228
3235
  function g(z) {
3229
3236
  var ne = t, le = e;
3230
3237
  return t = e = void 0, u = z, n = a.apply(le, ne), n;
@@ -3237,7 +3244,7 @@ function Zo(a, o, r) {
3237
3244
  return window.cancelAnimationFrame(z);
3238
3245
  clearTimeout(z);
3239
3246
  }
3240
- function C(z) {
3247
+ function k(z) {
3241
3248
  return u = z, s = m(P, o), c ? g(z) : n;
3242
3249
  }
3243
3250
  function b(z) {
@@ -3271,7 +3278,7 @@ function Zo(a, o, r) {
3271
3278
  ue[be] = arguments[be];
3272
3279
  if (t = ue, e = this, l = z, ne) {
3273
3280
  if (s === void 0)
3274
- return C(l);
3281
+ return k(l);
3275
3282
  if (h)
3276
3283
  return s = m(P, o), g(l);
3277
3284
  }
@@ -3279,30 +3286,30 @@ function Zo(a, o, r) {
3279
3286
  }
3280
3287
  return Q.cancel = U, Q.flush = R, Q.pending = te, Q;
3281
3288
  }
3282
- function Jo(a, o, r) {
3289
+ function Qo(a, o, r) {
3283
3290
  var t = !0, e = !0;
3284
3291
  if (typeof a != "function")
3285
3292
  throw new TypeError("Expected a function");
3286
- return Ln(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Zo(a, o, {
3293
+ return Dn(r) && (t = "leading" in r ? !!r.leading : t, e = "trailing" in r ? !!r.trailing : e), Jo(a, o, {
3287
3294
  leading: t,
3288
3295
  trailing: e,
3289
3296
  maxWait: o
3290
3297
  });
3291
3298
  }
3292
- function Qo() {
3299
+ function ea() {
3293
3300
  var a = (document.documentElement.getAttribute("lang") || navigator.language || "zh-cn").toLocaleLowerCase();
3294
3301
  return a === "zh-cn" && (a = "zh"), a;
3295
3302
  }
3296
- function ea(a, o, r) {
3303
+ function ta(a, o, r) {
3297
3304
  if (a) {
3298
3305
  var t = a.getAttribute(r);
3299
3306
  return !!(t && t === o && (a.tagName === "VIDEO" || a.tagName === "AUDIO"));
3300
3307
  }
3301
3308
  }
3302
- var Gi = {
3309
+ var $i = {
3303
3310
  android: /(Android)\s([\d.]+)/,
3304
3311
  ios: /(Version)\/([\d.]+)/
3305
- }, ta = ["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 = {
3312
+ }, ia = ["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 = {
3306
3313
  get device() {
3307
3314
  var a = B.os;
3308
3315
  return a.isPc ? "pc" : "mobile";
@@ -3341,7 +3348,7 @@ var Gi = {
3341
3348
  if (typeof navigator > "u")
3342
3349
  return 0;
3343
3350
  var a = navigator.userAgent, o = "";
3344
- /(?:iPhone)|(?:iPad|PlayBook)/.test(a) ? o = Gi.ios : o = Gi.android;
3351
+ /(?:iPhone)|(?:iPad|PlayBook)/.test(a) ? o = $i.ios : o = $i.android;
3345
3352
  var r = o ? o.exec(a) : [];
3346
3353
  if (r && r.length >= 3) {
3347
3354
  var t = r[2].split(".");
@@ -3365,7 +3372,7 @@ var Gi = {
3365
3372
  if (this.supportResult)
3366
3373
  return this.supportResult;
3367
3374
  var r = document.createElement("video");
3368
- return typeof r.canPlayType == "function" && ta.map(function(t) {
3375
+ return typeof r.canPlayType == "function" && ia.map(function(t) {
3369
3376
  r.canPlayType('video/mp4; codecs="'.concat(t, '"')) === "probably" && (o.isSupport = !0, o.mime += "||".concat(t));
3370
3377
  }), this.supportResult = o, r = null, o;
3371
3378
  },
@@ -3404,14 +3411,14 @@ var Gi = {
3404
3411
  return Promise.resolve(r);
3405
3412
  }
3406
3413
  }
3407
- }, li = "3.0.18", $i = {
3414
+ }, li = "3.0.18", Ki = {
3408
3415
  1: "media",
3409
3416
  2: "media",
3410
3417
  3: "media",
3411
3418
  4: "media",
3412
3419
  5: "media",
3413
3420
  6: "media"
3414
- }, Ki = {
3421
+ }, Yi = {
3415
3422
  1: 5101,
3416
3423
  2: 5102,
3417
3424
  3: 5103,
@@ -3432,7 +3439,7 @@ var Gi = {
3432
3439
  var t = o && o.i18n ? o.i18n.ERROR_TYPES : null;
3433
3440
  if (o.media) {
3434
3441
  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;
3435
- Ki[p] && (p = Ki[p]);
3442
+ Yi[p] && (p = Yi[p]);
3436
3443
  var g = {
3437
3444
  playerVersion: li,
3438
3445
  currentTime: n,
@@ -3455,26 +3462,26 @@ var Gi = {
3455
3462
  for (var m = {
3456
3463
  playerVersion: li,
3457
3464
  domain: document.domain
3458
- }, y = ["errorType", "currentTime", "duration", "networkState", "readyState", "src", "currentSrc", "ended", "errd", "errorCode", "mediaError"], C = 0; C < arguments.length; C++)
3459
- m[y[C]] = arguments[C];
3465
+ }, y = ["errorType", "currentTime", "duration", "networkState", "readyState", "src", "currentSrc", "ended", "errd", "errorCode", "mediaError"], k = 0; k < arguments.length; k++)
3466
+ m[y[k]] = arguments[k];
3460
3467
  return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
3461
3468
  }
3462
3469
  }
3463
- ), de = "play", mi = "playing", $e = "ended", ot = "pause", pt = "error", Rt = "seeking", Ie = "seeked", he = "timeupdate", vt = "waiting", Se = "canplay", ia = "canplaythrough", He = "durationchange", Dn = "volumechange", Pe = "loadeddata", na = "loadedmetadata", On = "ratechange", Rn = "progress", yi = "loadstart", Ke = "emptied", ra = "stalled", sa = "suspend", oa = "abort", aa = "bufferedChange", _i = "focus", Mn = "blur", ki = "ready", Fn = "urlNull", We = "autoplay_started", Ci = "autoplay_was_prevented", Mt = "complete", Et = "replay", wi = "destroy", Ft = "urlchange", ui = "download_speed_change", Nn = "leaveplayer", Bn = "enterplayer", Hn = "loading", Te = "fullscreen_change", St = "cssFullscreen_change", xt = "mini_state_change", bi = "definition_change", la = "before_definition_change", ci = "after_definition_change", ua = "SEI_PARSED", ca = "retry", Ne = "video_resize", fi = "pip_change", Un = "rotate", zn = "screenShot", It = "playnext", Vn = "shortcut", jn = "xglog", Pt = "user_action", Nt = "reset", Wn = "source_error", Gn = "source_success", fa = "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 = {
3470
+ ), de = "play", mi = "playing", $e = "ended", ot = "pause", pt = "error", Rt = "seeking", Ie = "seeked", he = "timeupdate", vt = "waiting", Se = "canplay", na = "canplaythrough", He = "durationchange", On = "volumechange", Pe = "loadeddata", ra = "loadedmetadata", Rn = "ratechange", Mn = "progress", yi = "loadstart", Ke = "emptied", sa = "stalled", oa = "suspend", aa = "abort", la = "bufferedChange", _i = "focus", Fn = "blur", Ci = "ready", Nn = "urlNull", We = "autoplay_started", ki = "autoplay_was_prevented", Mt = "complete", Et = "replay", wi = "destroy", Ft = "urlchange", ui = "download_speed_change", Bn = "leaveplayer", Hn = "enterplayer", Un = "loading", Te = "fullscreen_change", St = "cssFullscreen_change", xt = "mini_state_change", bi = "definition_change", ua = "before_definition_change", ci = "after_definition_change", ca = "SEI_PARSED", fa = "retry", Ne = "video_resize", fi = "pip_change", zn = "rotate", Vn = "screenShot", It = "playnext", jn = "shortcut", Wn = "xglog", Pt = "user_action", Nt = "reset", Gn = "source_error", $n = "source_success", ha = "switch_subtitle", Kn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], Yn = {
3464
3471
  STATS_INFO: "stats_info",
3465
3472
  STATS_DOWNLOAD: "stats_download",
3466
3473
  STATS_RESET: "stats_reset"
3467
- }, Yn = "fps_stuck";
3468
- const ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3474
+ }, Xn = "fps_stuck";
3475
+ const da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3469
3476
  __proto__: null,
3470
- ABORT: oa,
3477
+ ABORT: aa,
3471
3478
  AFTER_DEFINITION_CHANGE: ci,
3472
- AUTOPLAY_PREVENTED: Ci,
3479
+ AUTOPLAY_PREVENTED: ki,
3473
3480
  AUTOPLAY_STARTED: We,
3474
- BEFORE_DEFINITION_CHANGE: la,
3475
- BUFFER_CHANGE: aa,
3481
+ BEFORE_DEFINITION_CHANGE: ua,
3482
+ BUFFER_CHANGE: la,
3476
3483
  CANPLAY: Se,
3477
- CANPLAY_THROUGH: ia,
3484
+ CANPLAY_THROUGH: na,
3478
3485
  COMPLETE: Mt,
3479
3486
  CSS_FULLSCREEN_CHANGE: St,
3480
3487
  DEFINITION_CHANGE: bi,
@@ -3483,55 +3490,55 @@ const ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3483
3490
  DURATION_CHANGE: He,
3484
3491
  EMPTIED: Ke,
3485
3492
  ENDED: $e,
3486
- ENTER_PLAYER: Bn,
3493
+ ENTER_PLAYER: Hn,
3487
3494
  ERROR: pt,
3488
- FPS_STUCK: Yn,
3495
+ FPS_STUCK: Xn,
3489
3496
  FULLSCREEN_CHANGE: Te,
3490
- LEAVE_PLAYER: Nn,
3497
+ LEAVE_PLAYER: Bn,
3491
3498
  LOADED_DATA: Pe,
3492
- LOADED_METADATA: na,
3493
- LOADING: Hn,
3499
+ LOADED_METADATA: ra,
3500
+ LOADING: Un,
3494
3501
  LOAD_START: yi,
3495
3502
  MINI_STATE_CHANGE: xt,
3496
3503
  PAUSE: ot,
3497
3504
  PIP_CHANGE: fi,
3498
3505
  PLAY: de,
3499
- PLAYER_BLUR: Mn,
3506
+ PLAYER_BLUR: Fn,
3500
3507
  PLAYER_FOCUS: _i,
3501
3508
  PLAYING: mi,
3502
3509
  PLAYNEXT: It,
3503
- PROGRESS: Rn,
3504
- RATE_CHANGE: On,
3505
- READY: ki,
3510
+ PROGRESS: Mn,
3511
+ RATE_CHANGE: Rn,
3512
+ READY: Ci,
3506
3513
  REPLAY: Et,
3507
3514
  RESET: Nt,
3508
- RETRY: ca,
3509
- ROTATE: Un,
3510
- SCREEN_SHOT: zn,
3515
+ RETRY: fa,
3516
+ ROTATE: zn,
3517
+ SCREEN_SHOT: Vn,
3511
3518
  SEEKED: Ie,
3512
3519
  SEEKING: Rt,
3513
- SEI_PARSED: ua,
3514
- SHORTCUT: Vn,
3515
- SOURCE_ERROR: Wn,
3516
- SOURCE_SUCCESS: Gn,
3517
- STALLED: ra,
3518
- STATS_EVENTS: Kn,
3519
- SUSPEND: sa,
3520
- SWITCH_SUBTITLE: fa,
3520
+ SEI_PARSED: ca,
3521
+ SHORTCUT: jn,
3522
+ SOURCE_ERROR: Gn,
3523
+ SOURCE_SUCCESS: $n,
3524
+ STALLED: sa,
3525
+ STATS_EVENTS: Yn,
3526
+ SUSPEND: oa,
3527
+ SWITCH_SUBTITLE: ha,
3521
3528
  TIME_UPDATE: he,
3522
3529
  URL_CHANGE: Ft,
3523
- URL_NULL: Fn,
3530
+ URL_NULL: Nn,
3524
3531
  USER_ACTION: Pt,
3525
- VIDEO_EVENTS: $n,
3532
+ VIDEO_EVENTS: Kn,
3526
3533
  VIDEO_RESIZE: Ne,
3527
- VOLUME_CHANGE: Dn,
3534
+ VOLUME_CHANGE: On,
3528
3535
  WAITING: vt,
3529
- XGLOG: jn
3536
+ XGLOG: Wn
3530
3537
  }, Symbol.toStringTag, { value: "Module" }));
3531
3538
  function Wt(a, o) {
3532
3539
  !this || !this.emit || (a === "error" ? this.errorHandler(a, o.error) : this.emit(a, o));
3533
3540
  }
3534
- function da(a, o) {
3541
+ function ga(a, o) {
3535
3542
  return function(r, t) {
3536
3543
  var e = {
3537
3544
  player: o,
@@ -3566,9 +3573,9 @@ function da(a, o) {
3566
3573
  Wt.call(o, a, e);
3567
3574
  };
3568
3575
  }
3569
- var ga = /* @__PURE__ */ function(a) {
3570
- A(r, a);
3571
- var o = L(r);
3576
+ var pa = /* @__PURE__ */ function(a) {
3577
+ L(r, a);
3578
+ var o = A(r);
3572
3579
  function r(t) {
3573
3580
  var e;
3574
3581
  x(this, r), e = o.call(this, t), e._hasStart = !1, e._currentTime = 0, e._duration = 0, e._internalOp = {}, e._lastMuted = !1, e.vtype = "MP4", e._rate = -1, e.mediaConfig = Object.assign({}, {
@@ -3608,9 +3615,9 @@ var ga = /* @__PURE__ */ function(a) {
3608
3615
  key: "attachVideoEvents",
3609
3616
  value: function() {
3610
3617
  var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.media;
3611
- this._evHandlers || (this._evHandlers = $n.map(function(n) {
3618
+ this._evHandlers || (this._evHandlers = Kn.map(function(n) {
3612
3619
  var s = "on".concat(n.charAt(0).toUpperCase()).concat(n.slice(1));
3613
- return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, da(n, e));
3620
+ return typeof e[s] == "function" && e.on(n, e[s]), _({}, n, ga(n, e));
3614
3621
  })), this._evHandlers.forEach(function(n) {
3615
3622
  var s = Object.keys(n)[0];
3616
3623
  i.addEventListener(s, n[s], !1);
@@ -3642,7 +3649,7 @@ var ga = /* @__PURE__ */ function(a) {
3642
3649
  var s = e.children;
3643
3650
  if (s) {
3644
3651
  this._videoSourceCount = s.length, this._videoSourceIndex = s.length, this._vLoadeddata = function(h) {
3645
- n.emit(Gn, {
3652
+ n.emit($n, {
3646
3653
  src: h.target.currentSrc,
3647
3654
  host: f.getHostFromUrl(h.target.currentSrc)
3648
3655
  });
@@ -3661,8 +3668,8 @@ var ga = /* @__PURE__ */ function(a) {
3661
3668
  };
3662
3669
  l ? l.error(h, p) : n.errorHandler("error", p);
3663
3670
  }
3664
- var g = $i[4];
3665
- n.emit(Wn, new Tt(n, {
3671
+ var g = Ki[4];
3672
+ n.emit(Gn, new Tt(n, {
3666
3673
  errorType: g,
3667
3674
  errorCode: 4,
3668
3675
  errorMessage: "sources_load_error",
@@ -3695,7 +3702,7 @@ var ga = /* @__PURE__ */ function(a) {
3695
3702
  value: function(e) {
3696
3703
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
3697
3704
  if (this.media && (this.media.error || i)) {
3698
- var n = this.media.error || i, s = n.code ? $i[n.code] : "other", l = n.message;
3705
+ var n = this.media.error || i, s = n.code ? Ki[n.code] : "other", l = n.message;
3699
3706
  this.media.currentSrc || (l = "empty_src", n = {
3700
3707
  code: 6,
3701
3708
  message: l
@@ -3984,7 +3991,7 @@ var ga = /* @__PURE__ */ function(a) {
3984
3991
  M(O(r.prototype), "removeAllListeners", this).call(this);
3985
3992
  }
3986
3993
  }]), r;
3987
- }(An), pa = /* @__PURE__ */ function() {
3994
+ }(An), va = /* @__PURE__ */ function() {
3988
3995
  function a() {
3989
3996
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
3990
3997
  name: "xgplayer",
@@ -4062,7 +4069,7 @@ var ga = /* @__PURE__ */ function(a) {
4062
4069
  t.clear();
4063
4070
  }
4064
4071
  }]), a;
4065
- }(), Yi = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], Xi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], qi = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], je = "data-xgplayerid";
4072
+ }(), Xi = ["fullscreenchange", "webkitfullscreenchange", "mozfullscreenchange", "MSFullscreenChange"], qi = ["requestFullscreen", "webkitRequestFullscreen", "mozRequestFullScreen", "msRequestFullscreen"], Zi = ["exitFullscreen", "webkitExitFullscreen", "mozCancelFullScreen", "msExitFullscreen"], je = "data-xgplayerid";
4066
4073
  function yt(a, o, r) {
4067
4074
  for (var t = arguments.length, e = new Array(t > 3 ? t - 3 : 0), i = 3; i < t; i++)
4068
4075
  e[i - 3] = arguments[i];
@@ -4073,7 +4080,7 @@ function yt(a, o, r) {
4073
4080
  r.call.apply(r, [a].concat(l));
4074
4081
  }) : r.call.apply(r, [a].concat(e)));
4075
4082
  }
4076
- function At(a, o) {
4083
+ function Lt(a, o) {
4077
4084
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
4078
4085
  pre: null,
4079
4086
  next: null
@@ -4102,7 +4109,7 @@ function At(a, o) {
4102
4109
  yt.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
4103
4110
  }).bind(this);
4104
4111
  }
4105
- function Lt(a, o) {
4112
+ function At(a, o) {
4106
4113
  var r = this.__hooks;
4107
4114
  if (r)
4108
4115
  return r.hasOwnProperty(a) ? (r && (r[a] = o), !0) : (console.warn("has no supported hook which name [".concat(a, "]")), !1);
@@ -4111,14 +4118,14 @@ function Dt(a, o) {
4111
4118
  var r = this.__hooks;
4112
4119
  r && delete r[a];
4113
4120
  }
4114
- function Zi(a) {
4121
+ function Ji(a) {
4115
4122
  if (!(!this.plugins || !this.plugins[a.toLowerCase()])) {
4116
4123
  for (var o = this.plugins[a.toLowerCase()], r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), e = 1; e < r; e++)
4117
4124
  t[e - 1] = arguments[e];
4118
4125
  return o.useHooks && o.useHooks.apply(o, t);
4119
4126
  }
4120
4127
  }
4121
- function Ji(a) {
4128
+ function Qi(a) {
4122
4129
  if (!(!this.plugins || !this.plugins[a.toLowerCase()])) {
4123
4130
  var o = this.plugins[a.toLowerCase()];
4124
4131
  if (o) {
@@ -4128,7 +4135,7 @@ function Ji(a) {
4128
4135
  }
4129
4136
  }
4130
4137
  }
4131
- function Xn(a) {
4138
+ function qn(a) {
4132
4139
  var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
4133
4140
  a.__hooks = {}, o && o.map(function(r) {
4134
4141
  a.__hooks[r] = null;
@@ -4141,7 +4148,7 @@ function Xn(a) {
4141
4148
  }
4142
4149
  });
4143
4150
  }
4144
- function qn(a) {
4151
+ function Zn(a) {
4145
4152
  a.__hooks = null;
4146
4153
  }
4147
4154
  function Ee(a, o, r) {
@@ -4165,7 +4172,7 @@ function Gt(a, o) {
4165
4172
  }
4166
4173
  var Be = /* @__PURE__ */ function() {
4167
4174
  function a(o) {
4168
- 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);
4175
+ x(this, a), f.checkIsFunction(this.beforeCreate) && this.beforeCreate(o), qn(this), this.__args = o, this.__events = {}, this.__onceEvents = {}, this.config = o.config || {}, this.player = null, this.playerConfig = {}, this.pluginName = "", this.__init(o);
4169
4176
  }
4170
4177
  return I(a, [{
4171
4178
  key: "beforeCreate",
@@ -4292,14 +4299,14 @@ var Be = /* @__PURE__ */ function() {
4292
4299
  }, {
4293
4300
  key: "hook",
4294
4301
  value: function(r, t) {
4295
- return At.call.apply(At, [this].concat(Array.prototype.slice.call(arguments)));
4302
+ return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
4296
4303
  }
4297
4304
  }, {
4298
4305
  key: "useHooks",
4299
4306
  value: function(r, t) {
4300
4307
  for (var e = arguments.length, i = new Array(e > 2 ? e - 2 : 0), n = 2; n < e; n++)
4301
4308
  i[n - 2] = arguments[n];
4302
- return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
4309
+ return At.call.apply(At, [this].concat(Array.prototype.slice.call(arguments)));
4303
4310
  }
4304
4311
  }, {
4305
4312
  key: "removeHooks",
@@ -4329,7 +4336,7 @@ var Be = /* @__PURE__ */ function() {
4329
4336
  var r = this, t = this.player, e = this.pluginName;
4330
4337
  this.offAll(), f.clearAllTimers(this), f.checkIsFunction(this.destroy) && this.destroy(), ["player", "playerConfig", "pluginName", "logger", "__args", "__hooks"].map(function(i) {
4331
4338
  r[i] = null;
4332
- }), t.unRegisterPlugin(e), qn(this);
4339
+ }), t.unRegisterPlugin(e), Zn(this);
4333
4340
  }
4334
4341
  }], [{
4335
4342
  key: "defineGetterOrSetter",
@@ -4348,21 +4355,21 @@ var Be = /* @__PURE__ */ function() {
4348
4355
  return "pluginName";
4349
4356
  }
4350
4357
  }]), a;
4351
- }(), va = 9;
4358
+ }(), ma = 9;
4352
4359
  if (typeof Element < "u" && !Element.prototype.matches) {
4353
4360
  var qe = Element.prototype;
4354
4361
  qe.matches = qe.matchesSelector || qe.mozMatchesSelector || qe.msMatchesSelector || qe.oMatchesSelector || qe.webkitMatchesSelector;
4355
4362
  }
4356
- function ma(a, o) {
4357
- for (; a && a.nodeType !== va; ) {
4363
+ function ya(a, o) {
4364
+ for (; a && a.nodeType !== ma; ) {
4358
4365
  if (typeof a.matches == "function" && a.matches(o))
4359
4366
  return a;
4360
4367
  a = a.parentNode;
4361
4368
  }
4362
4369
  }
4363
- var ya = ma, _a = ya;
4370
+ var _a = ya, Ca = _a;
4364
4371
  function $t(a, o, r, t, e) {
4365
- var i = Ca.apply(this, arguments);
4372
+ var i = wa.apply(this, arguments);
4366
4373
  return a.addEventListener(r, i, e), {
4367
4374
  destroy: function() {
4368
4375
  a.removeEventListener(r, i, e);
@@ -4374,14 +4381,14 @@ function ka(a, o, r, t, e) {
4374
4381
  return $t(i, o, r, t, e);
4375
4382
  }));
4376
4383
  }
4377
- function Ca(a, o, r, t) {
4384
+ function wa(a, o, r, t) {
4378
4385
  return function(e) {
4379
- e.delegateTarget = _a(e.target, o), e.delegateTarget && t.call(a, e);
4386
+ e.delegateTarget = Ca(e.target, o), e.delegateTarget && t.call(a, e);
4380
4387
  };
4381
4388
  }
4382
- var wa = ka;
4383
- const Qi = /* @__PURE__ */ gi(wa);
4384
- var ba = {
4389
+ var ba = ka;
4390
+ const en = /* @__PURE__ */ gi(ba);
4391
+ var Ta = {
4385
4392
  CONTROLS: "controls",
4386
4393
  ROOT: "root"
4387
4394
  }, $ = {
@@ -4394,22 +4401,22 @@ var ba = {
4394
4401
  CONTROLS_RIGHT: "controlsRight",
4395
4402
  CONTROLS_CENTER: "controlsCenter",
4396
4403
  CONTROLS: "controls"
4397
- }, en = {
4404
+ }, tn = {
4398
4405
  ICON_DISABLE: "xg-icon-disable",
4399
4406
  ICON_HIDE: "xg-icon-hide"
4400
4407
  };
4401
4408
  function Kt(a) {
4402
4409
  return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
4403
4410
  }
4404
- function Ta(a, o) {
4411
+ function Ea(a, o) {
4405
4412
  return se(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
4406
4413
  }
4407
- function Ea(a, o) {
4414
+ function Sa(a, o) {
4408
4415
  return se(a) === "object" && a.attr && se(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
4409
4416
  o[r] = a.attr[r];
4410
4417
  }), o;
4411
4418
  }
4412
- function tn(a, o) {
4419
+ function nn(a, o) {
4413
4420
  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;
4414
4421
  if (a instanceof window.Element)
4415
4422
  return f.addClass(a, r), Object.keys(t).map(function(n) {
@@ -4427,14 +4434,14 @@ function tn(a, o) {
4427
4434
  }
4428
4435
  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);
4429
4436
  }
4430
- function Sa(a, o) {
4437
+ function xa(a, o) {
4431
4438
  var r = o.config.icons || o.playerConfig.icons;
4432
4439
  Object.keys(a).map(function(t) {
4433
4440
  var e = a[t], i = e && e.class ? e.class : "", n = e && e.attr ? e.attr : {}, s = null;
4434
- r && r[t] && (i = Ta(r[t], i), n = Ea(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;
4441
+ r && r[t] && (i = Ea(r[t], i), n = Sa(r[t], n), s = nn(r[t], t, i, n, o.pluginName)), !s && e && (s = nn(e.icon ? e.icon : e, n, i, {}, o.pluginName)), o.icons[t] = s;
4435
4442
  });
4436
4443
  }
4437
- function xa(a, o) {
4444
+ function Ia(a, o) {
4438
4445
  Object.keys(a).map(function(r) {
4439
4446
  Object.defineProperty(o.langText, r, {
4440
4447
  get: function() {
@@ -4445,8 +4452,8 @@ function xa(a, o) {
4445
4452
  });
4446
4453
  }
4447
4454
  var j = /* @__PURE__ */ function(a) {
4448
- A(r, a);
4449
- var o = L(r);
4455
+ L(r, a);
4456
+ var o = A(r);
4450
4457
  function r() {
4451
4458
  var t, e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4452
4459
  return x(this, r), t = o.call(this, e), t.__delegates = [], t;
@@ -4458,9 +4465,9 @@ var j = /* @__PURE__ */ function(a) {
4458
4465
  var i = e.root, n = null;
4459
4466
  this.icons = {}, this.root = null, this.parent = null;
4460
4467
  var s = this.registerIcons() || {};
4461
- Sa(s, this), this.langText = {};
4468
+ xa(s, this), this.langText = {};
4462
4469
  var l = this.registerLanguageTexts() || {};
4463
- xa(l, this);
4470
+ Ia(l, this);
4464
4471
  var u = "";
4465
4472
  try {
4466
4473
  u = this.render();
@@ -4531,12 +4538,12 @@ var j = /* @__PURE__ */ function(a) {
4531
4538
  }, {
4532
4539
  key: "disable",
4533
4540
  value: function() {
4534
- this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"), en.ICON_DISABLE);
4541
+ this.config.disable = !0, f.addClass(this.find(".xgplayer-icon"), tn.ICON_DISABLE);
4535
4542
  }
4536
4543
  }, {
4537
4544
  key: "enable",
4538
4545
  value: function() {
4539
- this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"), en.ICON_DISABLE);
4546
+ this.config.disable = !1, f.removeClass(this.find(".xgplayer-icon"), tn.ICON_DISABLE);
4540
4547
  }
4541
4548
  }, {
4542
4549
  key: "children",
@@ -4717,11 +4724,11 @@ var j = /* @__PURE__ */ function(a) {
4717
4724
  if (e instanceof window.Node && typeof s == "function")
4718
4725
  if (Array.isArray(n))
4719
4726
  n.forEach(function(h) {
4720
- var d = Qi(e, i, h, s, l);
4727
+ var d = en(e, i, h, s, l);
4721
4728
  d.key = "".concat(i, "_").concat(h), u.push(d);
4722
4729
  });
4723
4730
  else {
4724
- var c = Qi(e, i, n, s, l);
4731
+ var c = en(e, i, n, s, l);
4725
4732
  c.key = "".concat(i, "_").concat(n), u.push(c);
4726
4733
  }
4727
4734
  return u;
@@ -4729,7 +4736,7 @@ var j = /* @__PURE__ */ function(a) {
4729
4736
  }, {
4730
4737
  key: "ROOT_TYPES",
4731
4738
  get: function() {
4732
- return ba;
4739
+ return Ta;
4733
4740
  }
4734
4741
  }, {
4735
4742
  key: "POSITIONS",
@@ -4737,7 +4744,7 @@ var j = /* @__PURE__ */ function(a) {
4737
4744
  return $;
4738
4745
  }
4739
4746
  }]), r;
4740
- }(Be), Ia = /* @__PURE__ */ function() {
4747
+ }(Be), Pa = /* @__PURE__ */ function() {
4741
4748
  function a() {
4742
4749
  var o = this;
4743
4750
  if (x(this, a), _(this, "__trigger", function(r) {
@@ -4747,7 +4754,7 @@ var j = /* @__PURE__ */ function(a) {
4747
4754
  o.__runHandler(r[e].target);
4748
4755
  }), this.__handlers = [], this.timeStamp = 0, this.observer = null, !!window.ResizeObserver)
4749
4756
  try {
4750
- this.observer = new window.ResizeObserver(Jo(this.__trigger, 100, {
4757
+ this.observer = new window.ResizeObserver(Qo(this.__trigger, 100, {
4751
4758
  trailing: !0
4752
4759
  })), this.timeStamp = (/* @__PURE__ */ new Date()).getTime();
4753
4760
  } catch (r) {
@@ -4802,8 +4809,8 @@ var j = /* @__PURE__ */ function(a) {
4802
4809
  }
4803
4810
  }]), a;
4804
4811
  }(), ct = null;
4805
- function Pa(a, o) {
4806
- return ct || (ct = new Ia()), ct.addObserver(a, o), ct;
4812
+ function La(a, o) {
4813
+ return ct || (ct = new Pa()), ct.addObserver(a, o), ct;
4807
4814
  }
4808
4815
  function Aa(a, o) {
4809
4816
  ct.unObserver(a, o);
@@ -4812,7 +4819,7 @@ var ie = {
4812
4819
  pluginGroup: {},
4813
4820
  init: function(o) {
4814
4821
  var r = o._pluginInfoId;
4815
- r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver && Pa(o.root, function() {
4822
+ r || (r = (/* @__PURE__ */ new Date()).getTime(), o._pluginInfoId = r), !o.config.closeResizeObserver && La(o.root, function() {
4816
4823
  o.resize();
4817
4824
  }), this.pluginGroup[r] = {
4818
4825
  _originalOptions: o.config || {},
@@ -5006,7 +5013,7 @@ var ie = {
5006
5013
  delete this.pluginGroup[r], delete o._pluginInfoId;
5007
5014
  }
5008
5015
  }
5009
- }, k = {
5016
+ }, C = {
5010
5017
  DEFAULT: "xgplayer",
5011
5018
  DEFAULT_SKIN: "xgplayer-skin-default",
5012
5019
  ENTER: "xgplayer-is-enter",
@@ -5037,7 +5044,7 @@ var ie = {
5037
5044
  MOBILE: "xgplayer-mobile",
5038
5045
  MINI: "xgplayer-mini"
5039
5046
  };
5040
- function nn() {
5047
+ function rn() {
5041
5048
  return {
5042
5049
  id: "",
5043
5050
  el: null,
@@ -5084,7 +5091,7 @@ function nn() {
5084
5091
  ignores: [],
5085
5092
  whitelist: [],
5086
5093
  inactive: 3e3,
5087
- lang: Qo(),
5094
+ lang: ea(),
5088
5095
  controls: !0,
5089
5096
  marginControls: !1,
5090
5097
  fullscreenTarget: null,
@@ -5120,7 +5127,7 @@ function nn() {
5120
5127
  }
5121
5128
  };
5122
5129
  }
5123
- var La = function(o, r) {
5130
+ var Da = function(o, r) {
5124
5131
  var t, e, i;
5125
5132
  r.preset && r.options ? i = new r.preset(r.options, o.config) : i = new r({}, o.config);
5126
5133
  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;
@@ -5129,9 +5136,9 @@ var La = function(o, r) {
5129
5136
  });
5130
5137
  var m = o.config.i18n || [];
5131
5138
  g.push.apply(g, me(m)), o.config.i18n = g;
5132
- }, Da = /* @__PURE__ */ function(a) {
5133
- A(r, a);
5134
- var o = L(r);
5139
+ }, Oa = /* @__PURE__ */ function(a) {
5140
+ L(r, a);
5141
+ var o = A(r);
5135
5142
  function r() {
5136
5143
  var t;
5137
5144
  x(this, r);
@@ -5157,7 +5164,7 @@ var La = function(o, r) {
5157
5164
  value: function() {
5158
5165
  var e = this, i = this.config, n = i.disable, s = i.height, l = i.mode;
5159
5166
  if (!n) {
5160
- l === "flex" && this.player.addClass(k.FLEX_CONTROLS);
5167
+ l === "flex" && this.player.addClass(C.FLEX_CONTROLS);
5161
5168
  var u = {
5162
5169
  height: "".concat(s, "px")
5163
5170
  };
@@ -5194,12 +5201,12 @@ var La = function(o, r) {
5194
5201
  }, {
5195
5202
  key: "recoverAutoHide",
5196
5203
  value: function() {
5197
- this.config.autoHide && f.addClass(this.root, k.CONTROLS_AUTOHIDE);
5204
+ this.config.autoHide && f.addClass(this.root, C.CONTROLS_AUTOHIDE);
5198
5205
  }
5199
5206
  }, {
5200
5207
  key: "pauseAutoHide",
5201
5208
  value: function() {
5202
- f.removeClass(this.root, k.CONTROLS_AUTOHIDE);
5209
+ f.removeClass(this.root, C.CONTROLS_AUTOHIDE);
5203
5210
  }
5204
5211
  }, {
5205
5212
  key: "show",
@@ -5260,7 +5267,7 @@ var La = function(o, r) {
5260
5267
  "flex-controls": i === "flex"
5261
5268
  }, {
5262
5269
  "bottom-controls": i === "bottom"
5263
- }, _({}, k.CONTROLS_AUTOHIDE, n), {
5270
+ }, _({}, C.CONTROLS_AUTOHIDE, n), {
5264
5271
  "xgplayer-controls-initshow": s || !n
5265
5272
  });
5266
5273
  return '<xg-controls class="'.concat(u, `" unselectable="on">
@@ -5290,7 +5297,7 @@ var La = function(o, r) {
5290
5297
  };
5291
5298
  }
5292
5299
  }]), r;
5293
- }(j), Oa = {
5300
+ }(j), Ra = {
5294
5301
  LANG: "en",
5295
5302
  TEXT: {
5296
5303
  ERROR_TYPES: {
@@ -5380,12 +5387,12 @@ function dt(a, o) {
5380
5387
  t === "Object" ? (e !== "Object" && (a[r] = {}), dt(a[r], o[r])) : a[r] = o[r];
5381
5388
  }), a;
5382
5389
  }
5383
- function Zn() {
5390
+ function Jn() {
5384
5391
  Object.keys(fe.lang.en).map(function(a) {
5385
5392
  fe.textKeys[a] = a;
5386
5393
  });
5387
5394
  }
5388
- function Ra(a, o) {
5395
+ function Ma(a, o) {
5389
5396
  var r = [];
5390
5397
  if (o || (o = fe), !!o.lang) {
5391
5398
  f.typeOf(a) !== "Array" ? r = Object.keys(a).map(function(i) {
@@ -5398,17 +5405,17 @@ function Ra(a, o) {
5398
5405
  var t = o, e = t.lang;
5399
5406
  r.map(function(i) {
5400
5407
  i.LANG === "zh" && (i.LANG = "zh-cn"), e[i.LANG] ? dt(e[i.LANG] || {}, i.TEXT || {}) : Ti(i, o);
5401
- }), Zn();
5408
+ }), Jn();
5402
5409
  }
5403
5410
  }
5404
5411
  function Ti(a, o) {
5405
5412
  var r = a.LANG;
5406
5413
  if (o || (o = fe), !!o.lang) {
5407
5414
  var t = a.TEXT || {};
5408
- r === "zh" && (r = "zh-cn"), o.lang[r] ? dt(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t), Zn();
5415
+ r === "zh" && (r = "zh-cn"), o.lang[r] ? dt(o.lang[r], t) : (o.langKeys.push(r), o.lang[r] = t), Jn();
5409
5416
  }
5410
5417
  }
5411
- function Ma(a) {
5418
+ function Fa(a) {
5412
5419
  var o, r = {
5413
5420
  lang: {},
5414
5421
  langKeys: [],
@@ -5417,7 +5424,7 @@ function Ma(a) {
5417
5424
  };
5418
5425
  return dt(r.lang, fe.lang), (o = r.langKeys).push.apply(o, me(fe.langKeys)), dt(r.textKeys, fe.textKeys), r;
5419
5426
  }
5420
- Ti(Oa);
5427
+ Ti(Ra);
5421
5428
  var rt = {
5422
5429
  get textKeys() {
5423
5430
  return fe.textKeys;
@@ -5431,9 +5438,9 @@ var rt = {
5431
5438
  a[o] = fe.lang[o];
5432
5439
  }), fe.lang["zh-cn"] && (a.zh = fe.lang["zh-cn"] || {}), a;
5433
5440
  },
5434
- extend: Ra,
5441
+ extend: Ma,
5435
5442
  use: Ti,
5436
- init: Ma
5443
+ init: Fa
5437
5444
  }, V = {
5438
5445
  INITIAL: 1,
5439
5446
  READY: 2,
@@ -5443,9 +5450,9 @@ var rt = {
5443
5450
  RUNNING: 6,
5444
5451
  ENDED: 7,
5445
5452
  DESTROYED: 8
5446
- }, rn = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], oe = {}, Yt = null, Jn = /* @__PURE__ */ function(a) {
5447
- A(r, a);
5448
- var o = L(r);
5453
+ }, sn = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], oe = {}, Yt = null, Qn = /* @__PURE__ */ function(a) {
5454
+ L(r, a);
5455
+ var o = A(r);
5449
5456
  function r() {
5450
5457
  return x(this, r), o.apply(this, arguments);
5451
5458
  }
@@ -5529,8 +5536,8 @@ var rt = {
5529
5536
  return Yt || (Yt = new r()), Yt;
5530
5537
  }
5531
5538
  }]), r;
5532
- }(Pn.EventEmitter);
5533
- function Fa(a) {
5539
+ }(Ln.EventEmitter);
5540
+ function Na(a) {
5534
5541
  for (var o = Object.keys(oe), r = 0; r < o.length; r++) {
5535
5542
  var t = oe[o[r]];
5536
5543
  if (t.root === a)
@@ -5538,24 +5545,24 @@ function Fa(a) {
5538
5545
  }
5539
5546
  return null;
5540
5547
  }
5541
- var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /* @__PURE__ */ function(a) {
5542
- A(r, a);
5543
- var o = L(r);
5548
+ var Ba = ["play", "pause", "replay", "retry"], on = 0, an = 0, Oe = null, Bt = /* @__PURE__ */ function(a) {
5549
+ L(r, a);
5550
+ var o = A(r);
5544
5551
  function r(t) {
5545
5552
  var e;
5546
5553
  x(this, r);
5547
- var i = f.deepMerge(nn(), t);
5554
+ var i = f.deepMerge(rn(), t);
5548
5555
  e = o.call(this, i), _(v(e), "canPlayFunc", function() {
5549
5556
  if (e.config) {
5550
5557
  var g = e.config, m = g.autoplay, y = g.defaultPlaybackRate;
5551
- H.logInfo("player", "canPlayFunc, startTime", e.__startTime), e.__startTime > 0 && e.duration > 0 && (e.currentTime = e.__startTime > e.duration ? e.duration : e.__startTime, e.__startTime = -1), e.playbackRate = y, (m || e._useAutoplay) && e.mediaPlay(), e.off(Se, e.canPlayFunc), e.removeClass(k.ENTER);
5558
+ H.logInfo("player", "canPlayFunc, startTime", e.__startTime), e.__startTime > 0 && e.duration > 0 && (e.currentTime = e.__startTime > e.duration ? e.duration : e.__startTime, e.__startTime = -1), e.playbackRate = y, (m || e._useAutoplay) && e.mediaPlay(), e.off(Se, e.canPlayFunc), e.removeClass(C.ENTER);
5552
5559
  }
5553
5560
  }), _(v(e), "onFullscreenChange", function(g, m) {
5554
5561
  var y = function() {
5555
5562
  f.setTimeout(v(e), function() {
5556
5563
  e.resize();
5557
5564
  }, 100);
5558
- }, C = f.getFullScreenEl();
5565
+ }, k = f.getFullScreenEl();
5559
5566
  e._fullActionFrom ? e._fullActionFrom = "" : e.emit(Pt, {
5560
5567
  eventType: "system",
5561
5568
  action: "switch_fullscreen",
@@ -5568,19 +5575,19 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5568
5575
  to: !1
5569
5576
  }]
5570
5577
  });
5571
- var b = ea(C, e.playerId, je);
5572
- if (m || C && (C === e._fullscreenEl || b))
5573
- y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, k.FULLSCREEN), e.emit(Te, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5578
+ var b = ta(k, e.playerId, je);
5579
+ if (m || k && (k === e._fullscreenEl || b))
5580
+ y(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, k, C.FULLSCREEN), e.emit(Te, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
5574
5581
  else if (e.fullscreen) {
5575
5582
  y();
5576
5583
  var w = v(e), P = w._fullScreenOffset, F = w.config;
5577
5584
  if (F.needFullscreenScroll ? (window.scrollTo(P.left, P.top), f.setTimeout(v(e), function() {
5578
5585
  e.fullscreen = !1, e._fullScreenOffset = null;
5579
5586
  }, 100)) : (!e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !1, e._fullScreenOffset = null), e.cssfullscreen)
5580
- e.removeClass(k.FULLSCREEN);
5587
+ e.removeClass(C.FULLSCREEN);
5581
5588
  else {
5582
5589
  var U = e._fullscreenEl;
5583
- !U && (e.root.contains(g.target) || g.target === e.root) && (U = g.target), e.recoverFullStyle(e.root, U, k.FULLSCREEN);
5590
+ !U && (e.root.contains(g.target) || g.target === e.root) && (U = g.target), e.recoverFullStyle(e.root, U, C.FULLSCREEN);
5584
5591
  }
5585
5592
  e._fullscreenEl = null, e.emit(Te, !1);
5586
5593
  }
@@ -5588,7 +5595,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5588
5595
  e._fullscreenEl = e.media, e.onFullscreenChange(g, !0);
5589
5596
  }), _(v(e), "_onWebkitendfullscreen", function(g) {
5590
5597
  e.onFullscreenChange(g, !1);
5591
- }), Xn(v(e), Na), e.config = i, e._pluginInfoId = f.generateSessionId(), Yo(v(e));
5598
+ }), qn(v(e), Ba), e.config = i, e._pluginInfoId = f.generateSessionId(), Xo(v(e));
5592
5599
  var n = e.constructor.defaultPreset;
5593
5600
  if (e.config.presets.length) {
5594
5601
  var s = e.config.presets.indexOf("default");
@@ -5617,7 +5624,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5617
5624
  }, e._offsetInfo = {
5618
5625
  currentTime: -1,
5619
5626
  duration: 0
5620
- }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = rt.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new pa(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5627
+ }, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = rt.init(e._pluginInfoId), B.os.isAndroid && B.osVersion > 0 && B.osVersion < 6 && (e.config.autoplay = !1), e.database = new va(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
5621
5628
  isActiveLocked: !1
5622
5629
  }, e.instManager = Oe;
5623
5630
  var l = e._initDOM();
@@ -5631,7 +5638,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5631
5638
  p || (h.defaultDefinition = h.list[0].definition, p = h.list[0]), e.config.url = p.url, e.curDefinition = p;
5632
5639
  }
5633
5640
  return e._bindEvents(), e._registerPresets(), e._registerPlugins(), ie.onPluginsReady(v(e)), e.getInitDefinition(), e.setState(V.READY), f.setTimeout(v(e), function() {
5634
- e.emit(ki);
5641
+ e.emit(Ci);
5635
5642
  }, 0), e.onReady && e.onReady(), (e.config.videoInit || e.config.autoplay) && (!e.hasStart || e.state < V.ATTACHED) && e.start(), e;
5636
5643
  }
5637
5644
  return I(r, [{
@@ -5649,7 +5656,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5649
5656
  msg: "container id can't be empty"
5650
5657
  })), console.error("this.confg.id or this.config.el can't be empty"), !1;
5651
5658
  }
5652
- var s = Fa(this.root);
5659
+ var s = Na(this.root);
5653
5660
  s && (H.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(je, this.playerId), (e = Oe) === null || e === void 0 || e.add(this), ie.init(this), this._initBaseDoms();
5654
5661
  var l = this.constructor.XgVideoProxy;
5655
5662
  if (l && this.mediaConfig.mediaType === l.mediaType) {
@@ -5659,23 +5666,23 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5659
5666
  this.attachVideoEvents(c), this.media = c;
5660
5667
  }
5661
5668
  if (this.media.setAttribute(je, this.playerId), this.config.controls) {
5662
- var h = this.config.controls.root || null, d = ie.register(this, Da, {
5669
+ var h = this.config.controls.root || null, d = ie.register(this, Oa, {
5663
5670
  root: h
5664
5671
  });
5665
5672
  this.controls = d;
5666
5673
  }
5667
5674
  var p = this.config.isMobileSimulateMode === "mobile" ? "mobile" : B.device;
5668
- if (this.addClass("".concat(k.DEFAULT, " ").concat(k.INACTIVE, " xgplayer-").concat(p, " ").concat(this.config.controls ? "" : k.NO_CONTROLS)), this.config.autoplay ? this.addClass(k.ENTER) : this.addClass(k.NO_START), this.config.fluid) {
5675
+ if (this.addClass("".concat(C.DEFAULT, " ").concat(C.INACTIVE, " xgplayer-").concat(p, " ").concat(this.config.controls ? "" : C.NO_CONTROLS)), this.config.autoplay ? this.addClass(C.ENTER) : this.addClass(C.NO_START), this.config.fluid) {
5669
5676
  var g = this.config, m = g.width, y = g.height;
5670
5677
  (typeof m != "number" || typeof y != "number") && (m = 600, y = 337.5);
5671
- var C = {
5678
+ var k = {
5672
5679
  width: "100%",
5673
5680
  height: "0",
5674
5681
  "max-width": "100%",
5675
5682
  "padding-top": "".concat(y * 100 / m, "%")
5676
5683
  };
5677
- Object.keys(C).forEach(function(R) {
5678
- i.root.style[R] = C[R];
5684
+ Object.keys(k).forEach(function(R) {
5685
+ i.root.style[R] = k[R];
5679
5686
  });
5680
5687
  } else
5681
5688
  ["width", "height"].forEach(function(R) {
@@ -5697,7 +5704,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5697
5704
  var e = this;
5698
5705
  ["focus", "blur"].forEach(function(i) {
5699
5706
  e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
5700
- }), Yi.forEach(function(i) {
5707
+ }), Xi.forEach(function(i) {
5701
5708
  document && document.addEventListener(i, e.onFullscreenChange);
5702
5709
  }), B.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(Pe, this.resize), this.playFunc = function() {
5703
5710
  e.config.closeFocusVideoFocus || e.media.focus();
@@ -5707,7 +5714,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5707
5714
  key: "_unbindEvents",
5708
5715
  value: function() {
5709
5716
  var e = this;
5710
- this.root.removeEventListener("mousemove", this.mousemoveFunc), Yi.forEach(function(i) {
5717
+ this.root.removeEventListener("mousemove", this.mousemoveFunc), Xi.forEach(function(i) {
5711
5718
  document.removeEventListener(i, e.onFullscreenChange);
5712
5719
  }), this.playFunc && this.off(de, this.playFunc), this.off(Se, this.canPlayFunc), this.media.removeEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.removeEventListener("webkitendfullscreen", this._onWebkitendfullscreen);
5713
5720
  }
@@ -5720,7 +5727,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5720
5727
  key: "_startInit",
5721
5728
  value: function(e) {
5722
5729
  var i = this;
5723
- 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))) {
5730
+ if (this.media && !((!e || e === "" || f.typeOf(e) === "Array" && e.length === 0) && (e = "", this.emit(Nn), H.logWarn("config.url is null, please get url and run player._startInit(url)"), this.config.nullUrlStart))) {
5724
5731
  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);
5725
5732
  var n = this.innerContainer ? this.innerContainer : this.root;
5726
5733
  this.media instanceof window.Element && !n.contains(this.media) && n.insertBefore(this.media, n.firstChild);
@@ -5767,7 +5774,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5767
5774
  value: function() {
5768
5775
  var e = this;
5769
5776
  this.config.presets.forEach(function(i) {
5770
- La(e, i);
5777
+ Da(e, i);
5771
5778
  });
5772
5779
  }
5773
5780
  }, {
@@ -5782,7 +5789,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5782
5789
  this.leftBar || (this.leftBar = f.createPositionBar("xg-left-bar", this.root)), i = this.leftBar;
5783
5790
  break;
5784
5791
  case $.ROOT_TOP:
5785
- this.topBar || (this.topBar = f.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && f.addClass(this.topBar, k.TOP_BAR_AUTOHIDE)), i = this.topBar;
5792
+ this.topBar || (this.topBar = f.createPositionBar("xg-top-bar", this.root), this.config.topBarAutoHide && f.addClass(this.topBar, C.TOP_BAR_AUTOHIDE)), i = this.topBar;
5786
5793
  break;
5787
5794
  default:
5788
5795
  i = this.innerContainer || this.root;
@@ -5910,22 +5917,22 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5910
5917
  value: function() {
5911
5918
  var e = this;
5912
5919
  if (!this.hasStart && this.state < V.ATTACHED) {
5913
- this.removeClass(k.NO_START), this.addClass(k.ENTER), this.start(), this._useAutoplay = !0;
5920
+ this.removeClass(C.NO_START), this.addClass(C.ENTER), this.start(), this._useAutoplay = !0;
5914
5921
  return;
5915
5922
  }
5916
- this.state < V.RUNNING && (this.removeClass(k.NO_START), !this.isCanplay && this.addClass(k.ENTER));
5923
+ this.state < V.RUNNING && (this.removeClass(C.NO_START), !this.isCanplay && this.addClass(C.ENTER));
5917
5924
  var i = M(O(r.prototype), "play", this).call(this);
5918
5925
  return i !== void 0 && i && i.then ? i.then(function() {
5919
- e.removeClass(k.NOT_ALLOW_AUTOPLAY), e.addClass(k.PLAYING), e.state < V.RUNNING && (H.logInfo(">>>>playPromise.then"), e.setState(V.RUNNING), e.emit(We));
5926
+ e.removeClass(C.NOT_ALLOW_AUTOPLAY), e.addClass(C.PLAYING), e.state < V.RUNNING && (H.logInfo(">>>>playPromise.then"), e.setState(V.RUNNING), e.emit(We));
5920
5927
  }).catch(function(n) {
5921
5928
  if (H.logWarn(">>>>playPromise.catch", n.name), e.media && e.media.error) {
5922
- e.onError(), e.removeClass(k.ENTER);
5929
+ e.onError(), e.removeClass(C.ENTER);
5923
5930
  return;
5924
5931
  }
5925
5932
  n.name === "NotAllowedError" && (e._errorTimer = f.setTimeout(e, function() {
5926
- e._errorTimer = null, e.emit(Ci), e.addClass(k.NOT_ALLOW_AUTOPLAY), e.removeClass(k.ENTER), e.pause(), e.setState(V.NOTALLOW);
5933
+ e._errorTimer = null, e.emit(ki), e.addClass(C.NOT_ALLOW_AUTOPLAY), e.removeClass(C.ENTER), e.pause(), e.setState(V.NOTALLOW);
5927
5934
  }, 0));
5928
- }) : (H.logWarn("video.play not return promise"), this.state < V.RUNNING && (this.setState(V.RUNNING), this.removeClass(k.NOT_ALLOW_AUTOPLAY), this.removeClass(k.NO_START), this.removeClass(k.ENTER), this.addClass(k.PLAYING), this.emit(We))), i;
5935
+ }) : (H.logWarn("video.play not return promise"), this.state < V.RUNNING && (this.setState(V.RUNNING), this.removeClass(C.NOT_ALLOW_AUTOPLAY), this.removeClass(C.NO_START), this.removeClass(C.ENTER), this.addClass(C.PLAYING), this.emit(We))), i;
5929
5936
  }
5930
5937
  }, {
5931
5938
  key: "mediaPause",
@@ -5941,7 +5948,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5941
5948
  key: "play",
5942
5949
  value: function() {
5943
5950
  var e = this;
5944
- return this.removeClass(k.PAUSED), Ee(this, "play", function() {
5951
+ return this.removeClass(C.PAUSED), Ee(this, "play", function() {
5945
5952
  return e.mediaPlay();
5946
5953
  });
5947
5954
  }
@@ -5960,7 +5967,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5960
5967
  if (!(!this.media || Number.isNaN(Number(e)) || !this.hasStart)) {
5961
5968
  var s = this.config, l = s.isSeekedPlay, u = s.seekedStatus, c = i || (l ? "play" : u);
5962
5969
  e = e < 0 ? 0 : e > this.duration ? parseInt(this.duration, 10) : e, !this._isPauseBeforeSeek && (this._isPauseBeforeSeek = this.paused ? 2 : 1), this._onceSeekCanplay && this.off(Ie, this._onceSeekCanplay), this._onceSeekCanplay = function() {
5963
- switch (n.removeClass(k.ENTER), n.isSeeking = !1, c) {
5970
+ switch (n.removeClass(C.ENTER), n.isSeeking = !1, c) {
5964
5971
  case "play":
5965
5972
  n.play();
5966
5973
  break;
@@ -5971,7 +5978,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
5971
5978
  n._isPauseBeforeSeek > 1 || n.paused ? n.pause() : n.play();
5972
5979
  }
5973
5980
  n._isPauseBeforeSeek = 0, n._onceSeekCanplay = null;
5974
- }, this.once(Ie, this._onceSeekCanplay), this.state < V.RUNNING ? (this.removeClass(k.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
5981
+ }, this.once(Ie, this._onceSeekCanplay), this.state < V.RUNNING ? (this.removeClass(C.NO_START), this.currentTime = e, this.play()) : this.currentTime = e;
5975
5982
  }
5976
5983
  }
5977
5984
  }, {
@@ -6018,10 +6025,10 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6018
6025
  }, {
6019
6026
  key: "resetState",
6020
6027
  value: function() {
6021
- var e = this, i = k.NOT_ALLOW_AUTOPLAY, n = k.PLAYING, s = k.NO_START, l = k.PAUSED, u = k.REPLAY, c = k.ENTER, h = k.ENDED, d = k.ERROR, p = k.LOADING, g = [i, n, s, l, u, c, h, d, p];
6028
+ var e = this, i = C.NOT_ALLOW_AUTOPLAY, n = C.PLAYING, s = C.NO_START, l = C.PAUSED, u = C.REPLAY, c = C.ENTER, h = C.ENDED, d = C.ERROR, p = C.LOADING, g = [i, n, s, l, u, c, h, d, p];
6022
6029
  this.hasStart = !1, this.isError = !1, this._useAutoplay = !1, this.mediaPause(), this._accPlayed.acc = 0, this._accPlayed.t = 0, this._accPlayed.loopAcc = 0, g.forEach(function(m) {
6023
6030
  e.removeClass(m);
6024
- }), this.addClass(k.NO_START), this.emit(Nt);
6031
+ }), this.addClass(C.NO_START), this.emit(Nt);
6025
6032
  }
6026
6033
  }, {
6027
6034
  key: "reset",
@@ -6032,7 +6039,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6032
6039
  if (s && (i.map(function(u) {
6033
6040
  e.deregister(u);
6034
6041
  }), n)) {
6035
- var l = nn();
6042
+ var l = rn();
6036
6043
  Object.keys(this.config).keys(function(u) {
6037
6044
  e.config[u] !== "undefined" && (u === "plugins" || u === "presets" || u === "el" || u === "id") && (e.config[u] = l[u]);
6038
6045
  });
@@ -6043,7 +6050,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6043
6050
  value: function() {
6044
6051
  var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
6045
6052
  if (!(!s || !l)) {
6046
- if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(je), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(wi), (e = Oe) === 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)
6053
+ if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(je), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), f.clearAllTimers(this), this.emit(wi), (e = Oe) === null || e === void 0 || e.remove(this), ie.destroy(this), Zn(this), M(O(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
6047
6054
  for (var u = n.children, c = 0; c < u.length; c++)
6048
6055
  n.removeChild(u[c]);
6049
6056
  !n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
@@ -6061,7 +6068,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6061
6068
  key: "replay",
6062
6069
  value: function() {
6063
6070
  var e = this;
6064
- this.removeClass(k.ENDED), this.currentTime = 0, this.isSeeking = !1, Ee(this, "replay", function() {
6071
+ this.removeClass(C.ENDED), this.currentTime = 0, this.isSeeking = !1, Ee(this, "replay", function() {
6065
6072
  e.once(Ie, function() {
6066
6073
  var i = e.mediaPlay();
6067
6074
  i && i.catch && i.catch(function(n) {
@@ -6074,7 +6081,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6074
6081
  key: "retry",
6075
6082
  value: function() {
6076
6083
  var e = this;
6077
- this.removeClass(k.ERROR), this.addClass(k.LOADING), Ee(this, "retry", function() {
6084
+ this.removeClass(C.ERROR), this.addClass(C.LOADING), Ee(this, "retry", function() {
6078
6085
  var i = e.currentTime, n = e.config.url, s = f.isMSE(e.media) ? {
6079
6086
  url: n
6080
6087
  } : e._preProcessUrl(n);
@@ -6086,12 +6093,12 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6086
6093
  }, {
6087
6094
  key: "changeFullStyle",
6088
6095
  value: function(e, i, n, s) {
6089
- e && (s || (s = k.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = f.filterStyleFromText(e)), f.addClass(e, n), i && i !== e && !this._orgPCss && (this._orgPCss = f.filterStyleFromText(i), f.addClass(i, s), i.setAttribute(je, this.playerId)));
6096
+ e && (s || (s = C.PARENT_FULLSCREEN), this._orgCss || (this._orgCss = f.filterStyleFromText(e)), f.addClass(e, n), i && i !== e && !this._orgPCss && (this._orgPCss = f.filterStyleFromText(i), f.addClass(i, s), i.setAttribute(je, this.playerId)));
6090
6097
  }
6091
6098
  }, {
6092
6099
  key: "recoverFullStyle",
6093
6100
  value: function(e, i, n, s) {
6094
- s || (s = k.PARENT_FULLSCREEN), this._orgCss && (f.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), f.removeClass(e, n), i && i !== e && this._orgPCss && (f.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", f.removeClass(i, s), i.removeAttribute(je));
6101
+ s || (s = C.PARENT_FULLSCREEN), this._orgCss && (f.setStyleFromCsstext(e, this._orgCss), this._orgCss = ""), f.removeClass(e, n), i && i !== e && this._orgPCss && (f.setStyleFromCsstext(i, this._orgPCss), this._orgPCss = "", f.removeClass(i, s), i.removeAttribute(je));
6095
6102
  }
6096
6103
  }, {
6097
6104
  key: "getFullscreen",
@@ -6105,8 +6112,8 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6105
6112
  if (s === this._fullscreenEl)
6106
6113
  return this.onFullscreenChange(), Promise.resolve();
6107
6114
  try {
6108
- for (var l = 0; l < Xi.length; l++) {
6109
- var u = Xi[l];
6115
+ for (var l = 0; l < qi.length; l++) {
6116
+ var u = qi[l];
6110
6117
  if (e[u]) {
6111
6118
  var c = u === "webkitRequestFullscreen" ? e.webkitRequestFullscreen(window.Element.ALLOW_KEYBOARD_INPUT) : e[u]();
6112
6119
  return c && c.then ? c : Promise.resolve();
@@ -6125,8 +6132,8 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6125
6132
  var i = this.media;
6126
6133
  this._fullActionFrom = "exit";
6127
6134
  try {
6128
- for (var n = 0; n < qi.length; n++) {
6129
- var s = qi[n];
6135
+ for (var n = 0; n < Zi.length; n++) {
6136
+ var s = Zi[n];
6130
6137
  if (document[s]) {
6131
6138
  var l = document[s]();
6132
6139
  return l && l.then ? l : Promise.resolve();
@@ -6143,7 +6150,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6143
6150
  value: function() {
6144
6151
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
6145
6152
  this.isRotateFullscreen ? this.exitRotateFullscreen() : this.fullscreen && this.exitFullscreen();
6146
- var i = e ? "".concat(k.INNER_FULLSCREEN, " ").concat(k.CSS_FULLSCREEN) : k.CSS_FULLSCREEN;
6153
+ var i = e ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.CSS_FULLSCREEN) : C.CSS_FULLSCREEN;
6147
6154
  this.changeFullStyle(this.root, e, i);
6148
6155
  var n = this.config.fullscreen, s = n === void 0 ? {} : n, l = s.useCssFullscreen === !0 || typeof s.useCssFullscreen == "function" && s.useCssFullscreen();
6149
6156
  l && (this.fullscreen = !0, this.emit(Te, !0)), this._cssfullscreenEl = e, this.cssfullscreen = !0, this.emit(St, !0);
@@ -6151,7 +6158,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6151
6158
  }, {
6152
6159
  key: "exitCssFullscreen",
6153
6160
  value: function() {
6154
- var e = this._cssfullscreenEl ? "".concat(k.INNER_FULLSCREEN, " ").concat(k.CSS_FULLSCREEN) : k.CSS_FULLSCREEN;
6161
+ var e = this._cssfullscreenEl ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.CSS_FULLSCREEN) : C.CSS_FULLSCREEN;
6155
6162
  if (!this.fullscreen)
6156
6163
  this.recoverFullStyle(this.root, this._cssfullscreenEl, e);
6157
6164
  else {
@@ -6165,14 +6172,14 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6165
6172
  value: function() {
6166
6173
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.config.fullscreenTarget;
6167
6174
  this.cssfullscreen && this.exitCssFullscreen(e);
6168
- var i = e ? "".concat(k.INNER_FULLSCREEN, " ").concat(k.ROTATE_FULLSCREEN) : k.ROTATE_FULLSCREEN;
6169
- this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, k.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style"), this.root.style.width = "".concat(window.innerHeight, "px"), this.emit(Te, !0);
6175
+ var i = e ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.ROTATE_FULLSCREEN) : C.ROTATE_FULLSCREEN;
6176
+ this._fullscreenEl = e || this.root, this.changeFullStyle(this.root, e, i, C.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !0, this.fullscreen = !0, this.setRotateDeg(90), this._rootStyle = this.root.getAttribute("style"), this.root.style.width = "".concat(window.innerHeight, "px"), this.emit(Te, !0);
6170
6177
  }
6171
6178
  }, {
6172
6179
  key: "exitRotateFullscreen",
6173
6180
  value: function(e) {
6174
- var i = this._fullscreenEl !== this.root ? "".concat(k.INNER_FULLSCREEN, " ").concat(k.ROTATE_FULLSCREEN) : k.ROTATE_FULLSCREEN;
6175
- this.recoverFullStyle(this.root, this._fullscreenEl, i, k.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(Te, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
6181
+ var i = this._fullscreenEl !== this.root ? "".concat(C.INNER_FULLSCREEN, " ").concat(C.ROTATE_FULLSCREEN) : C.ROTATE_FULLSCREEN;
6182
+ this.recoverFullStyle(this.root, this._fullscreenEl, i, C.PARENT_ROTATE_FULLSCREEN), this.isRotateFullscreen = !1, this.fullscreen = !1, this.setRotateDeg(0), this.emit(Te, !1), this._rootStyle && (this.root.style.style = this._rootStyle, this._rootStyle = !1);
6176
6183
  }
6177
6184
  }, {
6178
6185
  key: "setRotateDeg",
@@ -6205,7 +6212,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6205
6212
  this.onBlur(e);
6206
6213
  return;
6207
6214
  }
6208
- this._clearUserTimer(), this.emit(Mn, Z({
6215
+ this._clearUserTimer(), this.emit(Fn, Z({
6209
6216
  paused: this.paused,
6210
6217
  ended: this.ended
6211
6218
  }, e));
@@ -6217,7 +6224,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6217
6224
  autoHide: !0,
6218
6225
  delay: 3e3
6219
6226
  }, n = this.innerStates;
6220
- if (this.isActive = !0, this.removeClass(k.INACTIVE), this._clearUserTimer(), i.isLock !== void 0 && (n.isActiveLocked = i.isLock), i.autoHide === !1 || i.isLock === !0 || n.isActiveLocked) {
6227
+ if (this.isActive = !0, this.removeClass(C.INACTIVE), this._clearUserTimer(), i.isLock !== void 0 && (n.isActiveLocked = i.isLock), i.autoHide === !1 || i.isLock === !0 || n.isActiveLocked) {
6221
6228
  this._clearUserTimer();
6222
6229
  return;
6223
6230
  }
@@ -6232,7 +6239,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6232
6239
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = e.ignorePaused, n = i === void 0 ? !1 : i;
6233
6240
  if (!this.innerStates.isActiveLocked) {
6234
6241
  var s = this.config.closePauseVideoFocus;
6235
- this.isActive = !1, (n || s || !this.paused && !this.ended) && this.addClass(k.INACTIVE);
6242
+ this.isActive = !1, (n || s || !this.paused && !this.ended) && this.addClass(C.INACTIVE);
6236
6243
  }
6237
6244
  }
6238
6245
  }, {
@@ -6243,7 +6250,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6243
6250
  }, {
6244
6251
  key: "onCanplay",
6245
6252
  value: function() {
6246
- this.removeClass(k.ENTER), this.removeClass(k.ERROR), this.removeClass(k.LOADING), this.isCanplay = !0, this.waitTimer && f.clearTimeout(this, this.waitTimer);
6253
+ this.removeClass(C.ENTER), this.removeClass(C.ERROR), this.removeClass(C.LOADING), this.isCanplay = !0, this.waitTimer && f.clearTimeout(this, this.waitTimer);
6247
6254
  }
6248
6255
  }, {
6249
6256
  key: "onLoadeddata",
@@ -6253,44 +6260,44 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6253
6260
  }, {
6254
6261
  key: "onLoadstart",
6255
6262
  value: function() {
6256
- this.removeClass(k.ERROR), this.isCanplay = !1;
6263
+ this.removeClass(C.ERROR), this.isCanplay = !1;
6257
6264
  }
6258
6265
  }, {
6259
6266
  key: "onPlay",
6260
6267
  value: function() {
6261
- this.state === V.ENDED && this.setState(V.RUNNING), this.removeClass(k.PAUSED), this.ended && this.removeClass(k.ENDED), !this.config.closePlayVideoFocus && this.focus();
6268
+ this.state === V.ENDED && this.setState(V.RUNNING), this.removeClass(C.PAUSED), this.ended && this.removeClass(C.ENDED), !this.config.closePlayVideoFocus && this.focus();
6262
6269
  }
6263
6270
  }, {
6264
6271
  key: "onPause",
6265
6272
  value: function() {
6266
- this.addClass(k.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
6273
+ this.addClass(C.PAUSED), this.updateAcc("pause"), this.config.closePauseVideoFocus || (this._clearUserTimer(), this.focus());
6267
6274
  }
6268
6275
  }, {
6269
6276
  key: "onEnded",
6270
6277
  value: function() {
6271
- this.updateAcc("ended"), this.addClass(k.ENDED), this.setState(V.ENDED);
6278
+ this.updateAcc("ended"), this.addClass(C.ENDED), this.setState(V.ENDED);
6272
6279
  }
6273
6280
  }, {
6274
6281
  key: "onError",
6275
6282
  value: function() {
6276
- this.isError = !0, this.updateAcc("error"), this.removeClass(k.NOT_ALLOW_AUTOPLAY), this.removeClass(k.NO_START), this.removeClass(k.ENTER), this.removeClass(k.LOADING), this.addClass(k.ERROR);
6283
+ this.isError = !0, this.updateAcc("error"), this.removeClass(C.NOT_ALLOW_AUTOPLAY), this.removeClass(C.NO_START), this.removeClass(C.ENTER), this.removeClass(C.LOADING), this.addClass(C.ERROR);
6277
6284
  }
6278
6285
  }, {
6279
6286
  key: "onSeeking",
6280
6287
  value: function() {
6281
- this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(k.SEEKING);
6288
+ this.isSeeking || this.updateAcc("seeking"), this.isSeeking = !0, this.addClass(C.SEEKING);
6282
6289
  }
6283
6290
  }, {
6284
6291
  key: "onSeeked",
6285
6292
  value: function() {
6286
- this.isSeeking = !1, this.waitTimer && f.clearTimeout(this, this.waitTimer), this.removeClass(k.LOADING), this.removeClass(k.SEEKING);
6293
+ this.isSeeking = !1, this.waitTimer && f.clearTimeout(this, this.waitTimer), this.removeClass(C.LOADING), this.removeClass(C.SEEKING);
6287
6294
  }
6288
6295
  }, {
6289
6296
  key: "onWaiting",
6290
6297
  value: function() {
6291
6298
  var e = this;
6292
6299
  this.waitTimer && f.clearTimeout(this, this.waitTimer), this.updateAcc("waiting"), this.waitTimer = f.setTimeout(this, function() {
6293
- e.addClass(k.LOADING), e.emit(Hn), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
6300
+ e.addClass(C.LOADING), e.emit(Un), f.clearTimeout(e, e.waitTimer), e.waitTimer = null;
6294
6301
  }, this.config.minWaitDelay);
6295
6302
  }
6296
6303
  }, {
@@ -6298,7 +6305,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6298
6305
  value: function() {
6299
6306
  var e = this;
6300
6307
  this.isError = !1;
6301
- var i = k.NO_START, n = k.PAUSED, s = k.ENDED, l = k.ERROR, u = k.REPLAY, c = k.LOADING, h = [i, n, s, l, u, c];
6308
+ var i = C.NO_START, n = C.PAUSED, s = C.ENDED, l = C.ERROR, u = C.REPLAY, c = C.LOADING, h = [i, n, s, l, u, c];
6302
6309
  h.forEach(function(d) {
6303
6310
  e.removeClass(d);
6304
6311
  }), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
@@ -6306,7 +6313,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6306
6313
  }, {
6307
6314
  key: "onTimeupdate",
6308
6315
  value: function() {
6309
- !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(k.LOADING)) && this.media.readyState > 2 && (this.removeClass(k.LOADING), f.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === V.NOTALLOW && this.duration && (this.setState(V.RUNNING), this.emit(We)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
6316
+ !this._videoHeight && this.media.videoHeight && this.resize(), (this.waitTimer || this.hasClass(C.LOADING)) && this.media.readyState > 2 && (this.removeClass(C.LOADING), f.clearTimeout(this, this.waitTimer), this.waitTimer = null), !this.paused && this.state === V.NOTALLOW && this.duration && (this.setState(V.RUNNING), this.emit(We)), !this._accPlayed.t && !this.paused && !this.ended && (this._accPlayed.t = (/* @__PURE__ */ new Date()).getTime());
6310
6317
  }
6311
6318
  }, {
6312
6319
  key: "onVolumechange",
@@ -6365,7 +6372,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6365
6372
  this.videoPos.pi = c, u = u < 0 ? 0 : u;
6366
6373
  var h = {
6367
6374
  rotate: u
6368
- }, d = 0, p = 0, g = 1, m = Math.abs(u / 90), y = this.root, C = this.innerContainer, b = y.offsetWidth, w = C ? C.offsetHeight : y.offsetHeight, P = w, F = b;
6375
+ }, d = 0, p = 0, g = 1, m = Math.abs(u / 90), y = this.root, k = this.innerContainer, b = y.offsetWidth, w = k ? k.offsetHeight : y.offsetHeight, P = w, F = b;
6369
6376
  if (m % 2 === 0)
6370
6377
  g = s > 0 ? 100 / s : l > 0 ? 100 / l : 1, h.scale = g, d = i > 0 ? (100 - s) / 2 - i : 0, h.y = m === 2 ? 0 - d : d, p = n > 0 ? (100 - l) / 2 - n : 0, h.x = m === 2 ? 0 - p : p, this.media.style.width = "".concat(F, "px"), this.media.style.height = "".concat(P, "px");
6371
6378
  else if (m % 2 === 1) {
@@ -6422,15 +6429,15 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6422
6429
  var n = this.media, s = n.videoWidth, l = n.videoHeight, u = this.config, c = u.fitVideoSize, h = u.videoFillMode;
6423
6430
  if ((h === "fill" || h === "cover" || h === "contain") && this.setAttribute("data-xgfill", h), !(!l || !s)) {
6424
6431
  this._videoHeight = l, this._videoWidth = s;
6425
- var d = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, p = i.width, g = i.height - d, m = parseInt(s / l * 1e3, 10), y = parseInt(p / g * 1e3, 10), C = p, b = g, w = {};
6426
- c === "auto" && y > m || c === "fixWidth" ? (b = p / m * 1e3, this.config.fluid ? w.paddingTop = "".concat(b * 100 / C, "%") : w.height = "".concat(b + d, "px")) : (c === "auto" && y < m || c === "fixHeight") && (C = m * g / 1e3, w.width = "".concat(C, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(w).forEach(function(F) {
6432
+ var d = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, p = i.width, g = i.height - d, m = parseInt(s / l * 1e3, 10), y = parseInt(p / g * 1e3, 10), k = p, b = g, w = {};
6433
+ c === "auto" && y > m || c === "fixWidth" ? (b = p / m * 1e3, this.config.fluid ? w.paddingTop = "".concat(b * 100 / k, "%") : w.height = "".concat(b + d, "px")) : (c === "auto" && y < m || c === "fixHeight") && (k = m * g / 1e3, w.width = "".concat(k, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(w).forEach(function(F) {
6427
6434
  e.root.style[F] = w[F];
6428
6435
  }), (h === "fillHeight" && y < m || h === "fillWidth" && y > m) && this.setAttribute("data-xgfill", "cover");
6429
6436
  var P = {
6430
6437
  videoScale: m,
6431
- vWidth: C,
6438
+ vWidth: k,
6432
6439
  vHeight: b,
6433
- cWidth: C,
6440
+ cWidth: k,
6434
6441
  cHeight: b + d
6435
6442
  };
6436
6443
  this.resizePosition(), this.emit(Ne, P);
@@ -6450,7 +6457,7 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6450
6457
  }, {
6451
6458
  key: "setState",
6452
6459
  value: function(e) {
6453
- H.logInfo("setState", "state from:".concat(rn[this.state], " to:").concat(rn[e])), this._state = e;
6460
+ H.logInfo("setState", "state from:".concat(sn[this.state], " to:").concat(sn[e])), this._state = e;
6454
6461
  }
6455
6462
  }, {
6456
6463
  key: "_preProcessUrl",
@@ -6616,18 +6623,18 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6616
6623
  }, {
6617
6624
  key: "avgSpeed",
6618
6625
  get: function() {
6619
- return on;
6626
+ return an;
6620
6627
  },
6621
6628
  set: function(e) {
6622
- on = e;
6629
+ an = e;
6623
6630
  }
6624
6631
  }, {
6625
6632
  key: "realTimeSpeed",
6626
6633
  get: function() {
6627
- return sn;
6634
+ return on;
6628
6635
  },
6629
6636
  set: function(e) {
6630
- sn = e;
6637
+ on = e;
6631
6638
  }
6632
6639
  }, {
6633
6640
  key: "offsetCurrentTime",
@@ -6648,12 +6655,12 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6648
6655
  }, {
6649
6656
  key: "hook",
6650
6657
  value: function(e, i) {
6651
- return At.call.apply(At, [this].concat(Array.prototype.slice.call(arguments)));
6658
+ return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
6652
6659
  }
6653
6660
  }, {
6654
6661
  key: "useHooks",
6655
6662
  value: function(e, i) {
6656
- return Lt.call.apply(Lt, [this].concat(Array.prototype.slice.call(arguments)));
6663
+ return At.call.apply(At, [this].concat(Array.prototype.slice.call(arguments)));
6657
6664
  }
6658
6665
  }, {
6659
6666
  key: "removeHooks",
@@ -6665,14 +6672,14 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6665
6672
  value: function(e, i, n) {
6666
6673
  for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
6667
6674
  l[u - 3] = arguments[u];
6668
- return Zi.call.apply(Zi, [this].concat(Array.prototype.slice.call(arguments)));
6675
+ return Ji.call.apply(Ji, [this].concat(Array.prototype.slice.call(arguments)));
6669
6676
  }
6670
6677
  }, {
6671
6678
  key: "removePluginHooks",
6672
6679
  value: function(e, i, n) {
6673
6680
  for (var s = arguments.length, l = new Array(s > 3 ? s - 3 : 0), u = 3; u < s; u++)
6674
6681
  l[u - 3] = arguments[u];
6675
- return Ji.call.apply(Ji, [this].concat(Array.prototype.slice.call(arguments)));
6682
+ return Qi.call.apply(Qi, [this].concat(Array.prototype.slice.call(arguments)));
6676
6683
  }
6677
6684
  }, {
6678
6685
  key: "setUserActive",
@@ -6729,10 +6736,10 @@ var Na = ["play", "pause", "replay", "retry"], sn = 0, on = 0, Oe = null, Bt = /
6729
6736
  r.plugins || (r.plugins = {}), r.plugins[e] = i;
6730
6737
  }
6731
6738
  }]), r;
6732
- }(ga);
6739
+ }(pa);
6733
6740
  _(Bt, "defaultPreset", null);
6734
6741
  _(Bt, "XgVideoProxy", null);
6735
- Bt.instManager = Jn.getInstance();
6742
+ Bt.instManager = Qn.getInstance();
6736
6743
  function re() {
6737
6744
  return (/* @__PURE__ */ new Date()).getTime();
6738
6745
  }
@@ -6744,9 +6751,9 @@ var Re = {
6744
6751
  WAIT_END: "waitingEnd",
6745
6752
  SEEK_START: "seekStart",
6746
6753
  SEEK_END: "seekEnd"
6747
- }, Ba = /* @__PURE__ */ function(a) {
6748
- A(r, a);
6749
- var o = L(r);
6754
+ }, Ha = /* @__PURE__ */ function(a) {
6755
+ L(r, a);
6756
+ var o = A(r);
6750
6757
  function r() {
6751
6758
  var t;
6752
6759
  x(this, r);
@@ -6871,7 +6878,7 @@ var Re = {
6871
6878
  key: "emitLog",
6872
6879
  value: function(e, i) {
6873
6880
  var n = this.player;
6874
- this.emit(jn, Z({
6881
+ this.emit(Wn, Z({
6875
6882
  t: re(),
6876
6883
  host: f.getHostFromUrl(n.currentSrc),
6877
6884
  vtype: n.vtype,
@@ -6895,15 +6902,15 @@ var Re = {
6895
6902
  }
6896
6903
  }]), r;
6897
6904
  }(j);
6898
- function Ha() {
6905
+ function Ua() {
6899
6906
  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">
6900
6907
  <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>
6901
6908
  </svg>
6902
6909
  `, "image/svg+xml").firstChild;
6903
6910
  }
6904
- var Ua = /* @__PURE__ */ function(a) {
6905
- A(r, a);
6906
- var o = L(r);
6911
+ var za = /* @__PURE__ */ function(a) {
6912
+ L(r, a);
6913
+ var o = A(r);
6907
6914
  function r() {
6908
6915
  return x(this, r), o.apply(this, arguments);
6909
6916
  }
@@ -6911,7 +6918,7 @@ var Ua = /* @__PURE__ */ function(a) {
6911
6918
  key: "registerIcons",
6912
6919
  value: function() {
6913
6920
  return {
6914
- replay: Ha
6921
+ replay: Ua
6915
6922
  };
6916
6923
  }
6917
6924
  }, {
@@ -6984,9 +6991,9 @@ var Ua = /* @__PURE__ */ function(a) {
6984
6991
  };
6985
6992
  }
6986
6993
  }]), r;
6987
- }(j), za = /* @__PURE__ */ function(a) {
6988
- A(r, a);
6989
- var o = L(r);
6994
+ }(j), Va = /* @__PURE__ */ function(a) {
6995
+ L(r, a);
6996
+ var o = A(r);
6990
6997
  function r() {
6991
6998
  return x(this, r), o.apply(this, arguments);
6992
6999
  }
@@ -7109,7 +7116,7 @@ function Si() {
7109
7116
  `, "image/svg+xml").firstChild;
7110
7117
  }
7111
7118
  var we = {};
7112
- function Va(a, o) {
7119
+ function ja(a, o) {
7113
7120
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
7114
7121
  start: null,
7115
7122
  end: null
@@ -7118,7 +7125,7 @@ function Va(a, o) {
7118
7125
  r.end && r.end(), window.clearTimeout(we[a].id), delete we[a];
7119
7126
  }, o), we[a].id;
7120
7127
  }
7121
- function an(a) {
7128
+ function ln(a) {
7122
7129
  if (a) {
7123
7130
  window.clearTimeout(a);
7124
7131
  return;
@@ -7127,9 +7134,9 @@ function an(a) {
7127
7134
  window.clearTimeout(we[o].id), delete we[o];
7128
7135
  });
7129
7136
  }
7130
- var ja = /* @__PURE__ */ function(a) {
7131
- A(r, a);
7132
- var o = L(r);
7137
+ var Wa = /* @__PURE__ */ function(a) {
7138
+ L(r, a);
7139
+ var o = A(r);
7133
7140
  function r(t) {
7134
7141
  var e;
7135
7142
  return x(this, r), e = o.call(this, t), _(v(e), "onPlayerReset", function() {
@@ -7147,9 +7154,9 @@ var ja = /* @__PURE__ */ function(a) {
7147
7154
  key: "afterCreate",
7148
7155
  value: function() {
7149
7156
  var e = this, i = this.player, n = this.playerConfig;
7150
- this.initIcons(), this.once(ki, function() {
7157
+ this.initIcons(), this.once(Ci, function() {
7151
7158
  n && (n.lang && n.lang === "en" ? f.addClass(i.root, "lang-is-en") : n.lang === "jp" && f.addClass(i.root, "lang-is-jp"));
7152
- }), this.on(We, this.onAutoplayStart), n.autoplay || this.show(), this.on(Ci, function() {
7159
+ }), this.on(We, this.onAutoplayStart), n.autoplay || this.show(), this.on(ki, function() {
7153
7160
  var s = e.config.mode === "auto" ? "auto-hide" : "hide";
7154
7161
  e.setAttr("data-state", "play"), f.removeClass(e.root, s), e.show();
7155
7162
  }), this.on(de, function() {
@@ -7219,7 +7226,7 @@ var ja = /* @__PURE__ */ function(a) {
7219
7226
  key: "animate",
7220
7227
  value: function(e) {
7221
7228
  var i = this;
7222
- this._animateId = Va("pauseplay", 400, {
7229
+ this._animateId = ja("pauseplay", 400, {
7223
7230
  start: function() {
7224
7231
  f.addClass(i.root, "interact"), i.show(), i.switchStatus(!0);
7225
7232
  },
@@ -7231,7 +7238,7 @@ var ja = /* @__PURE__ */ function(a) {
7231
7238
  }, {
7232
7239
  key: "endAnimate",
7233
7240
  value: function() {
7234
- f.removeClass(this.root, "interact"), an(this._animateId), this._animateId = null;
7241
+ f.removeClass(this.root, "interact"), ln(this._animateId), this._animateId = null;
7235
7242
  }
7236
7243
  }, {
7237
7244
  key: "switchPausePlay",
@@ -7275,7 +7282,7 @@ var ja = /* @__PURE__ */ function(a) {
7275
7282
  }, {
7276
7283
  key: "destroy",
7277
7284
  value: function() {
7278
- this.unbind(["click", "touchend"], this.clickHandler), an(this._animateId);
7285
+ this.unbind(["click", "touchend"], this.clickHandler), ln(this._animateId);
7279
7286
  }
7280
7287
  }, {
7281
7288
  key: "render",
@@ -7302,9 +7309,9 @@ var ja = /* @__PURE__ */ function(a) {
7302
7309
  };
7303
7310
  }
7304
7311
  }]), r;
7305
- }(j), Wa = /* @__PURE__ */ function(a) {
7306
- A(r, a);
7307
- var o = L(r);
7312
+ }(j), Ga = /* @__PURE__ */ function(a) {
7313
+ L(r, a);
7314
+ var o = A(r);
7308
7315
  function r() {
7309
7316
  return x(this, r), o.apply(this, arguments);
7310
7317
  }
@@ -7347,9 +7354,9 @@ function Ue(a, o, r) {
7347
7354
  return '<div class="xg-tips hide"></div>';
7348
7355
  }
7349
7356
  }
7350
- var ln = /* @__PURE__ */ function(a) {
7351
- A(r, a);
7352
- var o = L(r);
7357
+ var un = /* @__PURE__ */ function(a) {
7358
+ L(r, a);
7359
+ var o = A(r);
7353
7360
  function r() {
7354
7361
  return x(this, r), o.apply(this, arguments);
7355
7362
  }
@@ -7397,12 +7404,12 @@ var ln = /* @__PURE__ */ function(a) {
7397
7404
  }
7398
7405
  }]), r;
7399
7406
  }(j);
7400
- function un(a) {
7407
+ function cn(a) {
7401
7408
  var o = parseFloat(a), r = a.indexOf("%") === -1 && !Number.isNaN(o);
7402
7409
  return r && o;
7403
7410
  }
7404
- var xi = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], Qn = xi.length;
7405
- function Ga() {
7411
+ var xi = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], er = xi.length;
7412
+ function $a() {
7406
7413
  for (var a = {
7407
7414
  width: 0,
7408
7415
  height: 0,
@@ -7410,30 +7417,30 @@ function Ga() {
7410
7417
  innerHeight: 0,
7411
7418
  outerWidth: 0,
7412
7419
  outerHeight: 0
7413
- }, o = 0; o < Qn; o++) {
7420
+ }, o = 0; o < er; o++) {
7414
7421
  var r = xi[o];
7415
7422
  a[r] = 0;
7416
7423
  }
7417
7424
  return a;
7418
7425
  }
7419
- function $a(a) {
7426
+ function Ka(a) {
7420
7427
  var o = window.getComputedStyle(a);
7421
7428
  return o;
7422
7429
  }
7423
- function cn(a) {
7430
+ function fn(a) {
7424
7431
  if (typeof a == "string" && (a = document.querySelector(a)), !(!a || se(a) !== "object" || !a.nodeType)) {
7425
- var o = $a(a);
7432
+ var o = Ka(a);
7426
7433
  if (o.display === "none")
7427
- return Ga();
7434
+ return $a();
7428
7435
  var r = {};
7429
7436
  r.width = a.offsetWidth, r.height = a.offsetHeight;
7430
- for (var t = r.isBorderBox = o.boxSizing === "border-box", e = 0; e < Qn; e++) {
7437
+ for (var t = r.isBorderBox = o.boxSizing === "border-box", e = 0; e < er; e++) {
7431
7438
  var i = xi[e], n = o[i], s = parseFloat(n);
7432
7439
  r[i] = Number.isNaN(s) ? 0 : s;
7433
7440
  }
7434
- 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);
7441
+ 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 = cn(o.width);
7435
7442
  m !== !1 && (r.width = m + (g ? 0 : l + d));
7436
- var y = un(o.height);
7443
+ var y = cn(o.height);
7437
7444
  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;
7438
7445
  }
7439
7446
  }
@@ -7448,13 +7455,13 @@ var qt = {
7448
7455
  START: "dragStart",
7449
7456
  MOVE: "dragMove",
7450
7457
  ENDED: "dragEnded"
7451
- }, fn = {
7458
+ }, hn = {
7452
7459
  mousedown: ["mousemove", "mouseup"],
7453
7460
  touchstart: ["touchmove", "touchend", "touchcancel"],
7454
7461
  pointerdown: ["pointermove", "pointerup", "pointercancel"]
7455
- }, Ka = /* @__PURE__ */ function(a) {
7456
- A(r, a);
7457
- var o = L(r);
7462
+ }, Ya = /* @__PURE__ */ function(a) {
7463
+ L(r, a);
7464
+ var o = A(r);
7458
7465
  function r(t) {
7459
7466
  var e, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7460
7467
  return x(this, r), e = o.call(this), e.isEnabled = !0, e.isDragging = !1, e.isDown = !1, e.position = {}, e.downPoint = {}, e.dragPoint = {
@@ -7469,7 +7476,7 @@ var qt = {
7469
7476
  key: "_bindStartEvent",
7470
7477
  value: function() {
7471
7478
  var e = this;
7472
- "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) {
7479
+ "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)]), hn[this._startKey].map(function(i) {
7473
7480
  e["on".concat(i)] = e["on".concat(i)].bind(e);
7474
7481
  });
7475
7482
  }
@@ -7483,7 +7490,7 @@ var qt = {
7483
7490
  value: function(e) {
7484
7491
  var i = this;
7485
7492
  if (e) {
7486
- var n = fn[this._startKey];
7493
+ var n = hn[this._startKey];
7487
7494
  n.map(function(s) {
7488
7495
  window.addEventListener(s, i["on".concat(s)]);
7489
7496
  }), this._boundPointerEvents = n;
@@ -7575,7 +7582,7 @@ var qt = {
7575
7582
  value: function(e, i) {
7576
7583
  if (!(!this._root || this.isDown || !this.isEnabled)) {
7577
7584
  this.downPoint = i, this.dragPoint.x = 0, this.dragPoint.y = 0, this._getPosition();
7578
- var n = cn(this._root);
7585
+ var n = fn(this._root);
7579
7586
  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);
7580
7587
  }
7581
7588
  }
@@ -7656,15 +7663,15 @@ var qt = {
7656
7663
  key: "_getPositionCoord",
7657
7664
  value: function(e, i) {
7658
7665
  if (e.indexOf("%") !== -1) {
7659
- var n = cn(this._root.parentNode);
7666
+ var n = fn(this._root.parentNode);
7660
7667
  return n ? parseFloat(e) / 100 * n[i] : 0;
7661
7668
  }
7662
7669
  return parseInt(e, 10);
7663
7670
  }
7664
7671
  }]), r;
7665
- }(An), Ya = /* @__PURE__ */ function(a) {
7666
- A(r, a);
7667
- var o = L(r);
7672
+ }(An), Xa = /* @__PURE__ */ function(a) {
7673
+ L(r, a);
7674
+ var o = A(r);
7668
7675
  function r(t) {
7669
7676
  var e;
7670
7677
  x(this, r), e = o.call(this, t), _(v(e), "onCancelClick", function(s) {
@@ -7715,10 +7722,10 @@ var qt = {
7715
7722
  }
7716
7723
  }
7717
7724
  };
7718
- i.controls.registerPlugin(ln, s, ln.pluginName);
7725
+ i.controls.registerPlugin(un, s, un.pluginName);
7719
7726
  }
7720
7727
  var l = f.checkTouchSupport() ? "touchend" : "click";
7721
- this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Ka(this.player.root, {
7728
+ this.bind(".mini-cancel-btn", l, this.onCancelClick), this.bind(".play-icon", l, this.onCenterClick), this.config.disableDrag || (this._draggabilly = new Ya(this.player.root, {
7722
7729
  handle: this.root
7723
7730
  })), this.config.isScrollSwitch && window.addEventListener("scroll", this.onScroll);
7724
7731
  }
@@ -7817,8 +7824,8 @@ var qt = {
7817
7824
  mouseleave: "onMouseLeave",
7818
7825
  mousemove: "onMouseMove"
7819
7826
  }, Zt = ["videoClick", "videoDbClick"], Jt = /* @__PURE__ */ function(a) {
7820
- A(r, a);
7821
- var o = L(r);
7827
+ L(r, a);
7828
+ var o = A(r);
7822
7829
  function r() {
7823
7830
  var t;
7824
7831
  x(this, r);
@@ -7833,7 +7840,7 @@ var qt = {
7833
7840
  var l = v(t), u = l.playerConfig, c = l.player;
7834
7841
  !u.closeFocusVideoFocus && c.media.focus(), u.closeDelayBlur ? c.focus({
7835
7842
  autoHide: !1
7836
- }) : c.focus(), t.emit(Bn);
7843
+ }) : c.focus(), t.emit(Hn);
7837
7844
  }), _(v(t), "onMouseLeave", function(s) {
7838
7845
  var l = t.playerConfig, u = l.closePlayerBlur, c = l.leavePlayerTime, h = l.closeDelayBlur;
7839
7846
  !u && !h && (c ? t.player.focus({
@@ -7841,7 +7848,7 @@ var qt = {
7841
7848
  delay: c
7842
7849
  }) : t.player.blur({
7843
7850
  ignorePaused: !0
7844
- })), t.emit(Nn);
7851
+ })), t.emit(Bn);
7845
7852
  }), _(v(t), "onVideoClick", function(s) {
7846
7853
  var l = v(t), u = l.player, c = l.playerConfig;
7847
7854
  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() {
@@ -7932,21 +7939,21 @@ var qt = {
7932
7939
  TOUCH_MOVE: "touchmove",
7933
7940
  TOUCH_START: "touchstart",
7934
7941
  TOUCH_END: "touchend"
7935
- }, Xa = {
7942
+ }, qa = {
7936
7943
  start: "touchstart",
7937
7944
  end: "touchend",
7938
7945
  move: "touchmove",
7939
7946
  cancel: "touchcancel"
7940
- }, qa = {
7947
+ }, Za = {
7941
7948
  start: "mousedown",
7942
7949
  end: "mouseup",
7943
7950
  move: "mousemove",
7944
7951
  cancel: "mouseleave"
7945
7952
  };
7946
- function hn(a) {
7953
+ function dn(a) {
7947
7954
  return a && a.length > 0 ? a[a.length - 1] : null;
7948
7955
  }
7949
- function Za() {
7956
+ function Ja() {
7950
7957
  return {
7951
7958
  pressDelay: 600,
7952
7959
  dbClickDelay: 200,
@@ -7956,13 +7963,13 @@ function Za() {
7956
7963
  needPreventDefault: !0
7957
7964
  };
7958
7965
  }
7959
- var Ja = /* @__PURE__ */ function() {
7966
+ var Qa = /* @__PURE__ */ function() {
7960
7967
  function a(o) {
7961
7968
  var r = this, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
7962
7969
  eventType: "touch"
7963
7970
  };
7964
7971
  x(this, a), _(this, "onTouchStart", function(e) {
7965
- var i = r._pos, n = r.root, s = hn(e.touches);
7972
+ var i = r._pos, n = r.root, s = dn(e.touches);
7966
7973
  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(Me.TOUCH_START, e);
7967
7974
  }), _(this, "onTouchCancel", function(e) {
7968
7975
  r.onTouchEnd(e);
@@ -7970,16 +7977,16 @@ var Ja = /* @__PURE__ */ function() {
7970
7977
  var i = r._pos, n = r.root;
7971
7978
  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(Me.PRESS_END, e), r.trigger(Me.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
7972
7979
  }), _(this, "onTouchMove", function(e) {
7973
- 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;
7980
+ var i = r._pos, n = r.config, s = dn(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;
7974
7981
  Math.abs(h) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(Me.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger(Me.TOUCH_MOVE, e));
7975
7982
  }), this._pos = {
7976
7983
  moving: !1,
7977
7984
  start: !1,
7978
7985
  x: 0,
7979
7986
  y: 0
7980
- }, this.config = Za(), Object.keys(t).map(function(e) {
7987
+ }, this.config = Ja(), Object.keys(t).map(function(e) {
7981
7988
  r.config[e] = t[e];
7982
- }), this.root = o, this.events = t.eventType === "mouse" ? qa : Xa, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
7989
+ }), this.root = o, this.events = t.eventType === "mouse" ? Za : qa, this.pressIntrvalId = null, this.dbIntrvalId = null, this.__handlers = {}, this._initEvent();
7983
7990
  }
7984
7991
  return I(a, [{
7985
7992
  key: "_initEvent",
@@ -8058,7 +8065,7 @@ var Ja = /* @__PURE__ */ function() {
8058
8065
  }
8059
8066
  }]), a;
8060
8067
  }();
8061
- function Qa() {
8068
+ function el() {
8062
8069
  return new DOMParser().parseFromString(`<svg width="20" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"
8063
8070
  xmlns:xlink="http://www.w3.org/1999/xlink">
8064
8071
  <path opacity="0.54"
@@ -8072,9 +8079,9 @@ var Ze = {
8072
8079
  SEEKING: "seeking",
8073
8080
  PLAYBACK: "playbackrate",
8074
8081
  LIGHT: ""
8075
- }, Qt = ["videoClick", "videoDbClick"], el = /* @__PURE__ */ function(a) {
8076
- A(r, a);
8077
- var o = L(r);
8082
+ }, Qt = ["videoClick", "videoDbClick"], tl = /* @__PURE__ */ function(a) {
8083
+ L(r, a);
8084
+ var o = A(r);
8078
8085
  function r(t) {
8079
8086
  var e;
8080
8087
  return x(this, r), e = o.call(this, t), _(v(e), "onTouchStart", function(i) {
@@ -8091,12 +8098,12 @@ var Ze = {
8091
8098
  if (!(!n || u.disableGesture || !e.duration || !l.isStart)) {
8092
8099
  var h = u.miniMoveStep, d = u.hideControlsActive, p = parseInt(n.pageX - l.left, 10), g = parseInt(n.pageY - l.top, 10), m = c.rotateDeg === 90 ? g : p, y = c.rotateDeg === 90 ? p : g;
8093
8100
  if (Math.abs(m - l.x) > h || Math.abs(y - l.y) > h) {
8094
- var C = m - l.x, b = y - l.y, w = l.scope;
8095
- if (w === -1 && (w = e.checkScope(m, y, C, b, l), w === 0 && (d ? c.blur() : c.focus({
8101
+ var k = m - l.x, b = y - l.y, w = l.scope;
8102
+ if (w === -1 && (w = e.checkScope(m, y, k, b, l), w === 0 && (d ? c.blur() : c.focus({
8096
8103
  autoHide: !1
8097
8104
  }), !l.time && (l.time = parseInt(c.currentTime * 1e3, 10) + e.timeOffset * 1e3)), l.scope = w), w === -1 || w > 0 && !u.gestureY || w === 0 && !u.gestureX)
8098
8105
  return;
8099
- e.executeMove(C, b, w, l.width, l.height), l.x = m, l.y = y;
8106
+ e.executeMove(k, b, w, l.width, l.height), l.x = m, l.y = y;
8100
8107
  }
8101
8108
  }
8102
8109
  }), _(v(e), "onTouchEnd", function(i) {
@@ -8144,7 +8151,7 @@ var Ze = {
8144
8151
  value: function() {
8145
8152
  return {
8146
8153
  seekTipIcon: {
8147
- icon: Qa,
8154
+ icon: el,
8148
8155
  class: "xg-seek-pre"
8149
8156
  }
8150
8157
  };
@@ -8159,7 +8166,7 @@ var Ze = {
8159
8166
  var i = this.playerConfig, n = this.config, s = this.player;
8160
8167
  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();
8161
8168
  var l = this.domEventType === "mouse" ? "mouse" : "touch";
8162
- this.touch = new Ja(this.root, {
8169
+ this.touch = new Qa(this.root, {
8163
8170
  eventType: l,
8164
8171
  needPreventDefault: !this.config.disableGesture
8165
8172
  }), this.root.addEventListener("contextmenu", function(d) {
@@ -8501,16 +8508,16 @@ var Ze = {
8501
8508
  }
8502
8509
  }]), r;
8503
8510
  }(j);
8504
- function tl(a) {
8511
+ function il(a) {
8505
8512
  a.preventDefault(), a.returnValue = !1;
8506
8513
  }
8507
- function dn(a) {
8514
+ function gn(a) {
8508
8515
  var o = a.tagName;
8509
8516
  return !!(o === "INPUT" || o === "TEXTAREA" || a.isContentEditable);
8510
8517
  }
8511
- var gn = /* @__PURE__ */ function(a) {
8512
- A(r, a);
8513
- var o = L(r);
8518
+ var pn = /* @__PURE__ */ function(a) {
8519
+ L(r, a);
8520
+ var o = A(r);
8514
8521
  function r() {
8515
8522
  var t;
8516
8523
  x(this, r);
@@ -8519,11 +8526,11 @@ var gn = /* @__PURE__ */ function(a) {
8519
8526
  return t = o.call.apply(o, [this].concat(i)), _(v(t), "onBodyKeyDown", function(s) {
8520
8527
  if (t.player) {
8521
8528
  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;
8522
- if (g || m || !(d.isUserActive || y) || dn(l.target) || !t.checkIsVisible() || l.metaKey || l.altKey || l.ctrlKey) {
8529
+ if (g || m || !(d.isUserActive || y) || gn(l.target) || !t.checkIsVisible() || l.metaKey || l.altKey || l.ctrlKey) {
8523
8530
  h.isBodyKeyDown = !1;
8524
8531
  return;
8525
8532
  }
8526
- !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);
8533
+ !s.repeat && !h.isKeyDown && ((l.target === document.body || t.config.isGlobalTrigger && !gn(l.target)) && t.checkCode(u, !0) && (h.isBodyKeyDown = !0), document.addEventListener("keyup", t.onBodyKeyUp)), h.isBodyKeyDown && t.handleKeyDown(l);
8527
8534
  }
8528
8535
  }), _(v(t), "onBodyKeyUp", function(s) {
8529
8536
  t.player && (document.removeEventListener("keyup", t.onBodyKeyUp), t.handleKeyUp(s));
@@ -8744,13 +8751,13 @@ var gn = /* @__PURE__ */ function(a) {
8744
8751
  if (h === e) {
8745
8752
  if (!d && !(n && g)) {
8746
8753
  var m = n && p || c;
8747
- typeof m == "function" ? c(i, this.player, n) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, n), this.emit(Vn, Z({
8754
+ typeof m == "function" ? c(i, this.player, n) : typeof m == "string" && typeof this[m] == "function" && this[m](i, this.player, n), this.emit(jn, Z({
8748
8755
  key: s[l],
8749
8756
  target: i.target,
8750
8757
  isPress: n
8751
8758
  }, this.keyCodeMap[s[l]]));
8752
8759
  }
8753
- tl(i), i.stopPropagation();
8760
+ il(i), i.stopPropagation();
8754
8761
  break;
8755
8762
  }
8756
8763
  }
@@ -8792,15 +8799,15 @@ var gn = /* @__PURE__ */ function(a) {
8792
8799
  }
8793
8800
  }]), r;
8794
8801
  }(Be);
8795
- function il() {
8802
+ function nl() {
8796
8803
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="-5 -5 110 110">
8797
8804
  <path d="M100,50A50,50,0,1,1,50,0" stroke-width="5" stroke="#ddd" stroke-dasharray="236" fill="none"></path>
8798
8805
  </svg>
8799
8806
  `, "image/svg+xml").firstChild;
8800
8807
  }
8801
- var nl = /* @__PURE__ */ function(a) {
8802
- A(r, a);
8803
- var o = L(r);
8808
+ var rl = /* @__PURE__ */ function(a) {
8809
+ L(r, a);
8810
+ var o = A(r);
8804
8811
  function r() {
8805
8812
  return x(this, r), o.apply(this, arguments);
8806
8813
  }
@@ -8808,7 +8815,7 @@ var nl = /* @__PURE__ */ function(a) {
8808
8815
  key: "registerIcons",
8809
8816
  value: function() {
8810
8817
  return {
8811
- loadingIcon: il
8818
+ loadingIcon: nl
8812
8819
  };
8813
8820
  }
8814
8821
  }, {
@@ -8837,7 +8844,7 @@ var nl = /* @__PURE__ */ function(a) {
8837
8844
  };
8838
8845
  }
8839
8846
  }]), r;
8840
- }(j), rl = [{
8847
+ }(j), sl = [{
8841
8848
  tag: "xg-cache",
8842
8849
  className: "xgplayer-progress-cache",
8843
8850
  styleKey: "cachedColor"
@@ -8845,7 +8852,7 @@ var nl = /* @__PURE__ */ function(a) {
8845
8852
  tag: "xg-played",
8846
8853
  className: "xgplayer-progress-played",
8847
8854
  styleKey: "playedColor"
8848
- }], sl = /* @__PURE__ */ function() {
8855
+ }], ol = /* @__PURE__ */ function() {
8849
8856
  function a(o) {
8850
8857
  x(this, a), this.fragments = o.fragments || [], this.fragments.length === 0 && this.fragments.push({
8851
8858
  percent: 1
@@ -9032,7 +9039,7 @@ var nl = /* @__PURE__ */ function(a) {
9032
9039
  var l = f.createDom("xg-inner", "", {
9033
9040
  style: t ? "background:".concat(t, "; flex: ").concat(s.percent) : "flex: ".concat(s.percent)
9034
9041
  }, "".concat(s.isFocus ? n : "", " xgplayer-progress-inner ").concat(i));
9035
- return r.root.appendChild(l), rl.forEach(function(u) {
9042
+ return r.root.appendChild(l), sl.forEach(function(u) {
9036
9043
  l.appendChild(f.createDom(u.tag, "", {
9037
9044
  style: u.styleKey ? "background: ".concat(r.style[u.styleKey], "; width:0;") : "width:0;"
9038
9045
  }, u.className));
@@ -9045,12 +9052,12 @@ var nl = /* @__PURE__ */ function(a) {
9045
9052
  return this.root;
9046
9053
  }
9047
9054
  }]), a;
9048
- }(), pn = {
9055
+ }(), vn = {
9049
9056
  POINT: "inner-focus-point",
9050
9057
  HIGHLIGHT: "inner-focus-highlight"
9051
- }, ol = /* @__PURE__ */ function(a) {
9052
- A(r, a);
9053
- var o = L(r);
9058
+ }, al = /* @__PURE__ */ function(a) {
9059
+ L(r, a);
9060
+ var o = A(r);
9054
9061
  function r(t) {
9055
9062
  var e;
9056
9063
  return x(this, r), e = o.call(this, t), _(v(e), "onMoveOnly", function(i, n) {
@@ -9178,7 +9185,7 @@ var nl = /* @__PURE__ */ function(a) {
9178
9185
  e.emitUserAction("fragment_focus", "fragment_focus", u);
9179
9186
  }
9180
9187
  });
9181
- this.innerList ? this.innerList.reset(s) : (this.innerList = new sl(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
9188
+ this.innerList ? this.innerList.reset(s) : (this.innerList = new ol(s), this.outer.insertBefore(this.innerList.render(), this.outer.children[0]), ["findHightLight", "unHightLight", "setHightLight", "findFragment"].map(function(l) {
9182
9189
  e[l] = e.innerList[l].bind(e.innerList);
9183
9190
  }));
9184
9191
  }
@@ -9212,7 +9219,7 @@ var nl = /* @__PURE__ */ function(a) {
9212
9219
  e.onTimeupdate();
9213
9220
  }), this.on(Ie, function() {
9214
9221
  e.onTimeupdate(), e.onCacheUpdate();
9215
- }), this.on(Rn, function() {
9222
+ }), this.on(Mn, function() {
9216
9223
  e.onCacheUpdate();
9217
9224
  }), this.on($e, function() {
9218
9225
  e.onCacheUpdate(!0), e.onTimeupdate(!0), e._state.now = 0;
@@ -9323,10 +9330,10 @@ var nl = /* @__PURE__ */ function(a) {
9323
9330
  m = m > d ? d : m < 0 ? 0 : m;
9324
9331
  var y = m / d;
9325
9332
  y = y < 0 ? 0 : y > 1 ? 1 : y;
9326
- var C = parseInt(y * this.offsetDuration * 1e3, 10) / 1e3, b = f.getCurrentTimeByOffset(C, n.timeSegments);
9333
+ var k = parseInt(y * this.offsetDuration * 1e3, 10) / 1e3, b = f.getCurrentTimeByOffset(k, n.timeSegments);
9327
9334
  return {
9328
9335
  percent: y,
9329
- currentTime: C,
9336
+ currentTime: k,
9330
9337
  seekTime: b,
9331
9338
  offset: m,
9332
9339
  width: d,
@@ -9441,7 +9448,7 @@ var nl = /* @__PURE__ */ function(a) {
9441
9448
  fragments: [{
9442
9449
  percent: 1
9443
9450
  }],
9444
- fragFocusClass: pn.POINT,
9451
+ fragFocusClass: vn.POINT,
9445
9452
  fragClass: "",
9446
9453
  fragAutoFocus: !1,
9447
9454
  miniMoveStep: 5,
@@ -9456,12 +9463,12 @@ var nl = /* @__PURE__ */ function(a) {
9456
9463
  }, {
9457
9464
  key: "FRAGMENT_FOCUS_CLASS",
9458
9465
  get: function() {
9459
- return pn;
9466
+ return vn;
9460
9467
  }
9461
9468
  }]), r;
9462
9469
  }(j), Ye = /* @__PURE__ */ function(a) {
9463
- A(r, a);
9464
- var o = L(r);
9470
+ L(r, a);
9471
+ var o = A(r);
9465
9472
  function r() {
9466
9473
  var t;
9467
9474
  x(this, r);
@@ -9488,9 +9495,9 @@ var nl = /* @__PURE__ */ function(a) {
9488
9495
  this.unbind("mouseenter", this._onMouseenter), this.unbind("mouseleave", this._onMouseLeave);
9489
9496
  }
9490
9497
  }]), r;
9491
- }(j), al = /* @__PURE__ */ function(a) {
9492
- A(r, a);
9493
- var o = L(r);
9498
+ }(j), ll = /* @__PURE__ */ function(a) {
9499
+ L(r, a);
9500
+ var o = A(r);
9494
9501
  function r() {
9495
9502
  return x(this, r), o.apply(this, arguments);
9496
9503
  }
@@ -9576,16 +9583,16 @@ var nl = /* @__PURE__ */ function(a) {
9576
9583
  }
9577
9584
  }]), r;
9578
9585
  }(Ye);
9579
- function ll() {
9586
+ function ul() {
9580
9587
  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">
9581
9588
  <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9582
9589
  <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>
9583
9590
  </g>
9584
9591
  </svg>`, "image/svg+xml").firstChild;
9585
9592
  }
9586
- var ul = /* @__PURE__ */ function(a) {
9587
- A(r, a);
9588
- var o = L(r);
9593
+ var cl = /* @__PURE__ */ function(a) {
9594
+ L(r, a);
9595
+ var o = A(r);
9589
9596
  function r() {
9590
9597
  return x(this, r), o.apply(this, arguments);
9591
9598
  }
@@ -9602,7 +9609,7 @@ var ul = /* @__PURE__ */ function(a) {
9602
9609
  value: function() {
9603
9610
  return {
9604
9611
  screenBack: {
9605
- icon: ll,
9612
+ icon: ul,
9606
9613
  class: "xg-fullscreen-back"
9607
9614
  }
9608
9615
  };
@@ -9644,21 +9651,21 @@ var ul = /* @__PURE__ */ function(a) {
9644
9651
  }
9645
9652
  }]), r;
9646
9653
  }(j);
9647
- function cl() {
9654
+ function fl() {
9648
9655
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9649
9656
  <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>
9650
9657
  </svg>
9651
9658
  `, "image/svg+xml").firstChild;
9652
9659
  }
9653
- function fl() {
9660
+ function hl() {
9654
9661
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="2 -4 28 40">
9655
9662
  <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>
9656
9663
  </svg>
9657
9664
  `, "image/svg+xml").firstChild;
9658
9665
  }
9659
- var hl = /* @__PURE__ */ function(a) {
9660
- A(r, a);
9661
- var o = L(r);
9666
+ var dl = /* @__PURE__ */ function(a) {
9667
+ L(r, a);
9668
+ var o = A(r);
9662
9669
  function r() {
9663
9670
  var t;
9664
9671
  x(this, r);
@@ -9691,7 +9698,7 @@ var hl = /* @__PURE__ */ function(a) {
9691
9698
  var u = e.find(".xg-tips");
9692
9699
  u && e.changeLangTextKey(u, l ? e.i18nKeys.EXITFULLSCREEN_TIPS : e.i18nKeys.FULLSCREEN_TIPS), e.animate(l);
9693
9700
  }), this.config.needBackIcon && (this.topBackIcon = this.player.registerPlugin({
9694
- plugin: ul,
9701
+ plugin: cl,
9695
9702
  options: {
9696
9703
  config: {
9697
9704
  onClick: function(u) {
@@ -9707,11 +9714,11 @@ var hl = /* @__PURE__ */ function(a) {
9707
9714
  value: function() {
9708
9715
  return {
9709
9716
  fullscreen: {
9710
- icon: cl,
9717
+ icon: fl,
9711
9718
  class: "xg-get-fullscreen"
9712
9719
  },
9713
9720
  exitFullscreen: {
9714
- icon: fl,
9721
+ icon: hl,
9715
9722
  class: "xg-exit-fullscreen"
9716
9723
  }
9717
9724
  };
@@ -9792,9 +9799,9 @@ var hl = /* @__PURE__ */ function(a) {
9792
9799
  };
9793
9800
  }
9794
9801
  }]), r;
9795
- }(Ye), dl = /* @__PURE__ */ function(a) {
9796
- A(r, a);
9797
- var o = L(r);
9802
+ }(Ye), gl = /* @__PURE__ */ function(a) {
9803
+ L(r, a);
9804
+ var o = A(r);
9798
9805
  function r(t) {
9799
9806
  var e;
9800
9807
  return x(this, r), e = o.call(this, t), e.isActiving = !1, e;
@@ -9942,9 +9949,9 @@ var hl = /* @__PURE__ */ function(a) {
9942
9949
  };
9943
9950
  }
9944
9951
  }]), r;
9945
- }(j), gl = /* @__PURE__ */ function(a) {
9946
- A(r, a);
9947
- var o = L(r);
9952
+ }(j), pl = /* @__PURE__ */ function(a) {
9953
+ L(r, a);
9954
+ var o = A(r);
9948
9955
  function r() {
9949
9956
  var t;
9950
9957
  x(this, r);
@@ -10080,30 +10087,30 @@ var hl = /* @__PURE__ */ function(a) {
10080
10087
  }
10081
10088
  }]), r;
10082
10089
  }(Be);
10083
- function pl() {
10090
+ function vl() {
10084
10091
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10085
10092
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10086
10093
  <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>
10087
10094
  </svg>
10088
10095
  `, "image/svg+xml").firstChild;
10089
10096
  }
10090
- function vl() {
10097
+ function ml() {
10091
10098
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10092
10099
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10093
10100
  <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>
10094
10101
  </svg>
10095
10102
  `, "image/svg+xml").firstChild;
10096
10103
  }
10097
- function ml() {
10104
+ function yl() {
10098
10105
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="28" height="40" viewBox="0 -10 28 40">
10099
10106
  <path fill="#fff" transform="scale(0.0220625 0.0220625)" d="M358.4 358.4h-204.8v307.2h204.8l256 256v-819.2l-256 256z"></path>
10100
10107
  <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>
10101
10108
  </svg>
10102
10109
  `, "image/svg+xml").firstChild;
10103
10110
  }
10104
- var yl = /* @__PURE__ */ function(a) {
10105
- A(r, a);
10106
- var o = L(r);
10111
+ var _l = /* @__PURE__ */ function(a) {
10112
+ L(r, a);
10113
+ var o = A(r);
10107
10114
  function r() {
10108
10115
  var t;
10109
10116
  x(this, r);
@@ -10149,15 +10156,15 @@ var yl = /* @__PURE__ */ function(a) {
10149
10156
  value: function() {
10150
10157
  return {
10151
10158
  volumeSmall: {
10152
- icon: vl,
10159
+ icon: ml,
10153
10160
  class: "xg-volume-small"
10154
10161
  },
10155
10162
  volumeLarge: {
10156
- icon: pl,
10163
+ icon: vl,
10157
10164
  class: "xg-volume"
10158
10165
  },
10159
10166
  volumeMuted: {
10160
- icon: ml,
10167
+ icon: yl,
10161
10168
  class: "xg-volume-mute"
10162
10169
  }
10163
10170
  };
@@ -10179,7 +10186,7 @@ var yl = /* @__PURE__ */ function(a) {
10179
10186
  pre: function(u) {
10180
10187
  u.preventDefault(), u.stopPropagation();
10181
10188
  }
10182
- }), 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(Pe, this.onVolumeChange), f.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
10189
+ }), 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(On, this.onVolumeChange), this.once(Pe, this.onVolumeChange), f.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
10183
10190
  }
10184
10191
  }
10185
10192
  }, {
@@ -10296,7 +10303,7 @@ var yl = /* @__PURE__ */ function(a) {
10296
10303
  }
10297
10304
  }]), r;
10298
10305
  }(j);
10299
- function _l() {
10306
+ function Cl() {
10300
10307
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-4 -6 40 40" fill="none">
10301
10308
  <g clip-path="url(#clip0)">
10302
10309
  <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"/>
@@ -10311,8 +10318,8 @@ function _l() {
10311
10318
  `, "image/svg+xml").firstChild;
10312
10319
  }
10313
10320
  var kl = /* @__PURE__ */ function(a) {
10314
- A(r, a);
10315
- var o = L(r);
10321
+ L(r, a);
10322
+ var o = A(r);
10316
10323
  function r(t) {
10317
10324
  var e;
10318
10325
  return x(this, r), e = o.call(this, t), e.rotateDeg = e.config.rotateDeg || 0, e;
@@ -10348,9 +10355,9 @@ var kl = /* @__PURE__ */ function(a) {
10348
10355
  this.player.videoRotateDeg = e;
10349
10356
  return;
10350
10357
  }
10351
- var n = this.player, s = this.rootWidth, l = this.rootHeight, u = n.root, c = n.innerContainer, h = n.media, d = u.offsetWidth, p = c && i ? c.offsetHeight : u.offsetHeight, g = s, m = l, y = 0, C = 0;
10352
- (e === 0.75 || e === 0.25) && (g = "".concat(p, "px"), m = "".concat(d, "px"), y = -(p - d) / 2, C = -(d - p) / 2);
10353
- var b = "translate(".concat(y, "px,").concat(C, "px) rotate(").concat(e, "turn)"), w = {
10358
+ var n = this.player, s = this.rootWidth, l = this.rootHeight, u = n.root, c = n.innerContainer, h = n.media, d = u.offsetWidth, p = c && i ? c.offsetHeight : u.offsetHeight, g = s, m = l, y = 0, k = 0;
10359
+ (e === 0.75 || e === 0.25) && (g = "".concat(p, "px"), m = "".concat(d, "px"), y = -(p - d) / 2, k = -(d - p) / 2);
10360
+ var b = "translate(".concat(y, "px,").concat(k, "px) rotate(").concat(e, "turn)"), w = {
10354
10361
  transformOrigin: "center center",
10355
10362
  transform: b,
10356
10363
  webKitTransform: b,
@@ -10367,13 +10374,13 @@ var kl = /* @__PURE__ */ function(a) {
10367
10374
  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;
10368
10375
  this.rotateDeg || (this.rotateDeg = 0);
10369
10376
  var l = e ? 1 : -1;
10370
- this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(Un, this.rotateDeg * 360);
10377
+ this.rotateDeg = (this.rotateDeg + 1 + l * 0.25 * n) % 1, this.updateRotateDeg(this.rotateDeg, i), s.emit(zn, this.rotateDeg * 360);
10371
10378
  }
10372
10379
  }, {
10373
10380
  key: "registerIcons",
10374
10381
  value: function() {
10375
10382
  return {
10376
- rotate: _l
10383
+ rotate: Cl
10377
10384
  };
10378
10385
  }
10379
10386
  }, {
@@ -10406,14 +10413,14 @@ var kl = /* @__PURE__ */ function(a) {
10406
10413
  }
10407
10414
  }]), r;
10408
10415
  }(Ye);
10409
- function Cl() {
10416
+ function wl() {
10410
10417
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10411
10418
  <path fill-rule="evenodd" clip-rule="evenodd"
10412
10419
  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"
10413
10420
  fill="white" />
10414
10421
  </svg>`, "image/svg+xml").firstChild;
10415
10422
  }
10416
- function wl() {
10423
+ function bl() {
10417
10424
  return new DOMParser().parseFromString(`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
10418
10425
  <path fill-rule="evenodd" clip-rule="evenodd"
10419
10426
  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"
@@ -10427,9 +10434,9 @@ var Je = {
10427
10434
  PIP: "picture-in-picture",
10428
10435
  INLINE: "inline",
10429
10436
  FULLSCREEN: "fullscreen"
10430
- }, bl = /* @__PURE__ */ function(a) {
10431
- A(r, a);
10432
- var o = L(r);
10437
+ }, Tl = /* @__PURE__ */ function(a) {
10438
+ L(r, a);
10439
+ var o = A(r);
10433
10440
  function r() {
10434
10441
  var t;
10435
10442
  x(this, r);
@@ -10467,11 +10474,11 @@ var Je = {
10467
10474
  value: function() {
10468
10475
  return {
10469
10476
  pipIcon: {
10470
- icon: Cl,
10477
+ icon: wl,
10471
10478
  class: "xg-get-pip"
10472
10479
  },
10473
10480
  pipIconExit: {
10474
- icon: wl,
10481
+ icon: bl,
10475
10482
  class: "xg-exit-pip"
10476
10483
  }
10477
10484
  };
@@ -10533,7 +10540,7 @@ var Je = {
10533
10540
  documentPictureInPicture.requestWindow(u).then(function(h) {
10534
10541
  var d = s.docPiPNode, p = s.docPiPStyle;
10535
10542
  e.enterPIPCallback();
10536
- var g = d || i.root, m = g.parentElement, y = g.previousSibling, C = g.nextSibling;
10543
+ var g = d || i.root, m = g.parentElement, y = g.previousSibling, k = g.nextSibling;
10537
10544
  e.copyStyleIntoPiPWindow(h);
10538
10545
  var b = document.createElement("style");
10539
10546
  if (b.append("body{padding:0; margin:0;}"), p) {
@@ -10544,7 +10551,7 @@ var Je = {
10544
10551
  .xgplayer{width: 100%!important; height: 100%!important;}
10545
10552
  `);
10546
10553
  h.document.head.append(b), h.document.body.append(g), h.addEventListener("pagehide", function(P) {
10547
- m && (C ? m.insertBefore(g, C) : y ? m.insertBefore(g, y.nextSibling) : m.appendChild(g)), e.leavePIPCallback();
10554
+ m && (k ? m.insertBefore(g, k) : y ? m.insertBefore(g, y.nextSibling) : m.appendChild(g)), e.leavePIPCallback();
10548
10555
  }, {
10549
10556
  once: !0
10550
10557
  });
@@ -10630,15 +10637,15 @@ var Je = {
10630
10637
  }
10631
10638
  }]), r;
10632
10639
  }(Ye);
10633
- function Tl() {
10640
+ function El() {
10634
10641
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="40" viewBox="10 0 24 40">
10635
10642
  <path transform="scale(0.038 0.028)" d="M800 380v768h-128v-352l-320 320v-704l320 320v-352z"></path>
10636
10643
  </svg>
10637
10644
  `, "image/svg+xml").firstChild;
10638
10645
  }
10639
- var El = /* @__PURE__ */ function(a) {
10640
- A(r, a);
10641
- var o = L(r);
10646
+ var Sl = /* @__PURE__ */ function(a) {
10647
+ L(r, a);
10648
+ var o = A(r);
10642
10649
  function r(t) {
10643
10650
  var e;
10644
10651
  return x(this, r), e = o.call(this, t), _(v(e), "playNext", function(i) {
@@ -10655,7 +10662,7 @@ var El = /* @__PURE__ */ function(a) {
10655
10662
  key: "registerIcons",
10656
10663
  value: function() {
10657
10664
  return {
10658
- playNext: Tl
10665
+ playNext: El
10659
10666
  };
10660
10667
  }
10661
10668
  }, {
@@ -10704,22 +10711,22 @@ var El = /* @__PURE__ */ function(a) {
10704
10711
  };
10705
10712
  }
10706
10713
  }]), r;
10707
- }(j), er = { exports: {} };
10714
+ }(j), tr = { exports: {} };
10708
10715
  (function(a, o) {
10709
10716
  (function(r, t) {
10710
10717
  a.exports = t();
10711
- })(po, function() {
10718
+ })(vo, function() {
10712
10719
  return function r(t, e, i) {
10713
10720
  var n = window, s = "application/octet-stream", l = i || s, u = t, c = !e && !i && u, h = document.createElement("a"), d = function(R) {
10714
10721
  return String(R);
10715
10722
  }, p = n.Blob || n.MozBlob || n.WebKitBlob || d, g = e || "download", m, y;
10716
10723
  if (p = p.call ? p.bind(n) : Blob, String(this) === "true" && (u = [u, l], l = u[0], u = u[1]), c && c.length < 2048 && (g = c.split("/").pop().split("?")[0], h.href = c, h.href.indexOf(c) !== -1)) {
10717
- var C = new XMLHttpRequest();
10718
- return C.open("GET", c, !0), C.responseType = "blob", C.onload = function(R) {
10724
+ var k = new XMLHttpRequest();
10725
+ return k.open("GET", c, !0), k.responseType = "blob", k.onload = function(R) {
10719
10726
  r(R.target.response, g, s);
10720
10727
  }, setTimeout(function() {
10721
- C.send();
10722
- }, 0), C;
10728
+ k.send();
10729
+ }, 0), k;
10723
10730
  }
10724
10731
  if (/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(u))
10725
10732
  if (u.length > 1024 * 1024 * 1.999 && p !== d)
@@ -10776,10 +10783,10 @@ Use Save As... to download, then click back to return to this page.`) && (locati
10776
10783
  return !0;
10777
10784
  };
10778
10785
  });
10779
- })(er);
10780
- var Sl = er.exports;
10781
- const xl = /* @__PURE__ */ gi(Sl);
10782
- function Il() {
10786
+ })(tr);
10787
+ var xl = tr.exports;
10788
+ const Il = /* @__PURE__ */ gi(xl);
10789
+ function Pl() {
10783
10790
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
10784
10791
  <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
10785
10792
  <g transform="translate(-488.000000, -340.000000)" fill="#FFFFFF">
@@ -10796,9 +10803,9 @@ function Il() {
10796
10803
  </svg>
10797
10804
  `, "image/svg+xml").firstChild;
10798
10805
  }
10799
- var Pl = /* @__PURE__ */ function(a) {
10800
- A(r, a);
10801
- var o = L(r);
10806
+ var Ll = /* @__PURE__ */ function(a) {
10807
+ L(r, a);
10808
+ var o = A(r);
10802
10809
  function r(t) {
10803
10810
  var e;
10804
10811
  return x(this, r), e = o.call(this, t), _(v(e), "download", function(i) {
@@ -10807,7 +10814,7 @@ var Pl = /* @__PURE__ */ function(a) {
10807
10814
  var n = e.playerConfig.url, s = "";
10808
10815
  f.typeOf(n) === "String" ? s = n : f.typeOf(n) === "Array" && n.length > 0 && (s = n[0].src);
10809
10816
  var l = e.getAbsoluteURL(s);
10810
- xl(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10817
+ Il(l), e.isLock = !0, e.timer = window.setTimeout(function() {
10811
10818
  e.isLock = !1, window.clearTimeout(e.timer), e.timer = null;
10812
10819
  }, 300);
10813
10820
  }
@@ -10826,7 +10833,7 @@ var Pl = /* @__PURE__ */ function(a) {
10826
10833
  key: "registerIcons",
10827
10834
  value: function() {
10828
10835
  return {
10829
- download: Il
10836
+ download: Pl
10830
10837
  };
10831
10838
  }
10832
10839
  }, {
@@ -10869,8 +10876,8 @@ var Pl = /* @__PURE__ */ function(a) {
10869
10876
  }
10870
10877
  }]), r;
10871
10878
  }(Ye), Al = /* @__PURE__ */ function(a) {
10872
- A(r, a);
10873
- var o = L(r);
10879
+ L(r, a);
10880
+ var o = A(r);
10874
10881
  function r() {
10875
10882
  return x(this, r), o.apply(this, arguments);
10876
10883
  }
@@ -10923,7 +10930,7 @@ var Pl = /* @__PURE__ */ function(a) {
10923
10930
  e.preventDefault(), e.stopPropagation(), this.emitUserAction(e, "shot");
10924
10931
  var n = this.config;
10925
10932
  this.shot(n.width, n.height).then(function(s) {
10926
- i.emit(zn, s), n.saveImg && i.saveScreenShot(s, n.name + n.format);
10933
+ i.emit(Vn, s), n.saveImg && i.saveScreenShot(s, n.name + n.format);
10927
10934
  });
10928
10935
  }
10929
10936
  }, {
@@ -10939,8 +10946,8 @@ var Pl = /* @__PURE__ */ function(a) {
10939
10946
  g = u.media.canvas;
10940
10947
  else {
10941
10948
  n.canvas ? (n.canvas.width = e || l.width, n.canvas.height = i || l.height) : n.createCanvas(e, i), g = n.canvas, m = n.canvasCtx;
10942
- var y = u.media.videoWidth / u.media.videoHeight, C = g.width / g.height, b = 0, w = 0, P = u.media.videoWidth, F = u.media.videoHeight, U, R, te, Q;
10943
- y > C ? (te = g.width, Q = g.width / y, U = 0, R = Math.round((g.height - Q) / 2)) : y === C ? (te = g.width, Q = g.height, U = 0, R = 0) : y < C && (te = g.height * y, Q = g.height, U = Math.round((g.width - te) / 2), R = 0), m.drawImage(u.media, b, w, P, F, U, R, te, Q);
10949
+ var y = u.media.videoWidth / u.media.videoHeight, k = g.width / g.height, b = 0, w = 0, P = u.media.videoWidth, F = u.media.videoHeight, U, R, te, Q;
10950
+ y > k ? (te = g.width, Q = g.width / y, U = 0, R = Math.round((g.height - Q) / 2)) : y === k ? (te = g.width, Q = g.height, U = 0, R = 0) : y < k && (te = g.height * y, Q = g.height, U = Math.round((g.width - te) / 2), R = 0), m.drawImage(u.media, b, w, P, F, U, R, te, Q);
10944
10951
  }
10945
10952
  var z = g.toDataURL(h, c).replace(h, "image/octet-stream");
10946
10953
  z = z.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), d(z);
@@ -10994,7 +11001,7 @@ var Pl = /* @__PURE__ */ function(a) {
10994
11001
  };
10995
11002
  }
10996
11003
  }]), r;
10997
- }(Ye), Ll = /* @__PURE__ */ function() {
11004
+ }(Ye), Dl = /* @__PURE__ */ function() {
10998
11005
  function a(o) {
10999
11006
  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);
11000
11007
  var r = this.config.maxHeight;
@@ -11066,7 +11073,7 @@ var Pl = /* @__PURE__ */ function(a) {
11066
11073
  }), this._delegates = null), this.root.innerHTML = null, this.parent.removeChild(this.root), this.root = null;
11067
11074
  }
11068
11075
  }]), a;
11069
- }(), Ce = {
11076
+ }(), ke = {
11070
11077
  SIDE: "side",
11071
11078
  MIDDLE: "middle",
11072
11079
  DEFAULT: "default"
@@ -11074,12 +11081,12 @@ var Pl = /* @__PURE__ */ function(a) {
11074
11081
  CLICK: "click",
11075
11082
  HOVER: "hover"
11076
11083
  };
11077
- function Dl(a, o) {
11078
- return a === Ce.SIDE ? o === $.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
11084
+ function Ol(a, o) {
11085
+ return a === ke.SIDE ? o === $.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
11079
11086
  }
11080
11087
  var Ve = B.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11081
- A(r, a);
11082
- var o = L(r);
11088
+ L(r, a);
11089
+ var o = A(r);
11083
11090
  function r(t) {
11084
11091
  var e;
11085
11092
  return x(this, r), e = o.call(this, t), _(v(e), "onEnter", function(i) {
@@ -11093,7 +11100,7 @@ var Ve = B.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11093
11100
  }), _(v(e), "onLeave", function(i) {
11094
11101
  i.stopPropagation(), e.emit("icon_mouseleave", {
11095
11102
  pluginName: e.pluginName
11096
- }), e.config.listType !== Ce.SIDE && e.isActive && e.toggle(!1);
11103
+ }), e.config.listType !== ke.SIDE && e.isActive && e.toggle(!1);
11097
11104
  }), _(v(e), "onListEnter", function(i) {
11098
11105
  e.enterType = 2;
11099
11106
  }), _(v(e), "onListLeave", function(i) {
@@ -11109,7 +11116,7 @@ var Ve = B.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11109
11116
  key: "afterCreate",
11110
11117
  value: function() {
11111
11118
  var e = this, i = this.config;
11112
- this.initIcons(), Ve = Ve || this.domEventType === "touch", Ve && B.device === "mobile" && i.listType === Ce.DEFAULT && (i.listType = Ce.SIDE), i.hidePortrait && f.addClass(this.root, "portrait"), this.on([Ne, Te], function() {
11119
+ this.initIcons(), Ve = Ve || this.domEventType === "touch", Ve && B.device === "mobile" && i.listType === ke.DEFAULT && (i.listType = ke.SIDE), i.hidePortrait && f.addClass(this.root, "portrait"), this.on([Ne, Te], function() {
11113
11120
  e._resizeList();
11114
11121
  }), this.once(Se, function() {
11115
11122
  i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
@@ -11153,7 +11160,7 @@ var Ve = B.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11153
11160
  value: function(e) {
11154
11161
  if (!(e === this.isActive || this.config.disable)) {
11155
11162
  var i = this.player.controls, n = this.config.listType;
11156
- e ? (n === Ce.SIDE ? i.blur() : i.focus(), this.optionsList && this.optionsList.show()) : (n === Ce.SIDE ? i.focus() : i.focusAwhile(), this.optionsList && this.optionsList.hide()), this.isActive = e;
11163
+ e ? (n === ke.SIDE ? i.blur() : i.focus(), this.optionsList && this.optionsList.show()) : (n === ke.SIDE ? i.focus() : i.focusAwhile(), this.optionsList && this.optionsList.hide()), this.isActive = e;
11157
11164
  }
11158
11165
  }
11159
11166
  }, {
@@ -11163,7 +11170,7 @@ var Ve = B.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11163
11170
  var n = this.config, s = n.listType, l = n.list;
11164
11171
  this.curIndex = i.to.index, this.curItem = l[this.curIndex], this.changeCurrentText();
11165
11172
  var u = this.config.isItemClickHide;
11166
- (u || Ve || s === Ce.SIDE) && this.toggle(!1);
11173
+ (u || Ve || s === ke.SIDE) && this.toggle(!1);
11167
11174
  }
11168
11175
  }, {
11169
11176
  key: "onIconClick",
@@ -11188,17 +11195,17 @@ var Ve = B.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11188
11195
  var c = {
11189
11196
  config: {
11190
11197
  data: e || [],
11191
- className: Dl(s.listType, s.position),
11198
+ className: Ol(s.listType, s.position),
11192
11199
  onItemClick: function(m, y) {
11193
11200
  n.onItemClick(m, y);
11194
11201
  },
11195
11202
  domEventType: Ve ? "touch" : "mouse"
11196
11203
  },
11197
- root: s.listType === Ce.SIDE ? u.innerContainer || u.root : this.root
11204
+ root: s.listType === ke.SIDE ? u.innerContainer || u.root : this.root
11198
11205
  };
11199
11206
  if (this.config.isShowIcon) {
11200
- var h = this.player.root.getBoundingClientRect(), d = h.height, p = s.listType === Ce.MIDDLE ? d - 50 : d;
11201
- p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Ll(c), this.changeCurrentText(), this.show();
11207
+ var h = this.player.root.getBoundingClientRect(), d = h.height, p = s.listType === ke.MIDDLE ? d - 50 : d;
11208
+ p && s.heightLimit && (c.config.maxHeight = "".concat(p, "px")), this.optionsList = new Dl(c), this.changeCurrentText(), this.show();
11202
11209
  }
11203
11210
  this._resizeList();
11204
11211
  }
@@ -11206,7 +11213,7 @@ var Ve = B.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11206
11213
  key: "_resizeList",
11207
11214
  value: function() {
11208
11215
  if (this.config.heightLimit) {
11209
- var e = this.player.root.getBoundingClientRect(), i = e.height, n = this.config.listType === Ce.MIDDLE ? i - 50 : i;
11216
+ var e = this.player.root.getBoundingClientRect(), i = e.height, n = this.config.listType === ke.MIDDLE ? i - 50 : i;
11210
11217
  this.optionsList && this.optionsList.setStyle({
11211
11218
  maxHeight: "".concat(n, "px")
11212
11219
  });
@@ -11249,9 +11256,9 @@ var Ve = B.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11249
11256
  };
11250
11257
  }
11251
11258
  }]), r;
11252
- }(j), Ol = /* @__PURE__ */ function(a) {
11253
- A(r, a);
11254
- var o = L(r);
11259
+ }(j), Rl = /* @__PURE__ */ function(a) {
11260
+ L(r, a);
11261
+ var o = A(r);
11255
11262
  function r(t) {
11256
11263
  var e;
11257
11264
  return x(this, r), e = o.call(this, t), e.curTime = 0, e.isPaused = !0, e;
@@ -11350,9 +11357,9 @@ var Ve = B.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11350
11357
  });
11351
11358
  }
11352
11359
  }]), r;
11353
- }(Ot), Rl = /* @__PURE__ */ function(a) {
11354
- A(r, a);
11355
- var o = L(r);
11360
+ }(Ot), Ml = /* @__PURE__ */ function(a) {
11361
+ L(r, a);
11362
+ var o = A(r);
11356
11363
  function r(t) {
11357
11364
  var e;
11358
11365
  return x(this, r), e = o.call(this, t), e.curRate = 1, e;
@@ -11372,7 +11379,7 @@ var Ve = B.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11372
11379
  key: "afterCreate",
11373
11380
  value: function() {
11374
11381
  var e = this;
11375
- M(O(r.prototype), "afterCreate", this).call(this), this.on(On, function() {
11382
+ M(O(r.prototype), "afterCreate", this).call(this), this.on(Rn, function() {
11376
11383
  e.curValue !== e.player.playbackRate && e.renderItemList();
11377
11384
  }), this.renderItemList();
11378
11385
  }
@@ -11443,21 +11450,21 @@ var Ve = B.device === "mobile", Ot = /* @__PURE__ */ function(a) {
11443
11450
  }
11444
11451
  }]), r;
11445
11452
  }(Ot);
11446
- function Ml() {
11453
+ function Fl() {
11447
11454
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11448
11455
  <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>
11449
11456
  </svg>
11450
11457
  `, "image/svg+xml").firstChild;
11451
11458
  }
11452
- function Fl() {
11459
+ function Nl() {
11453
11460
  return new DOMParser().parseFromString(`<svg xmlns="http://www.w3.org/2000/svg" width="31" height="40" viewBox="0 -5 31 40">
11454
11461
  <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>
11455
11462
  </svg>
11456
11463
  `, "image/svg+xml").firstChild;
11457
11464
  }
11458
- var vn = /* @__PURE__ */ function(a) {
11459
- A(r, a);
11460
- var o = L(r);
11465
+ var mn = /* @__PURE__ */ function(a) {
11466
+ L(r, a);
11467
+ var o = A(r);
11461
11468
  function r() {
11462
11469
  return x(this, r), o.apply(this, arguments);
11463
11470
  }
@@ -11509,11 +11516,11 @@ var vn = /* @__PURE__ */ function(a) {
11509
11516
  value: function() {
11510
11517
  return {
11511
11518
  cssFullscreen: {
11512
- icon: Ml,
11519
+ icon: Fl,
11513
11520
  class: "xg-get-cssfull"
11514
11521
  },
11515
11522
  exitCssFullscreen: {
11516
- icon: Fl,
11523
+ icon: Nl,
11517
11524
  class: "xg-exit-cssfull"
11518
11525
  }
11519
11526
  };
@@ -11549,9 +11556,9 @@ var vn = /* @__PURE__ */ function(a) {
11549
11556
  };
11550
11557
  }
11551
11558
  }]), r;
11552
- }(Ye), Nl = /* @__PURE__ */ function(a) {
11553
- A(r, a);
11554
- var o = L(r);
11559
+ }(Ye), Bl = /* @__PURE__ */ function(a) {
11560
+ L(r, a);
11561
+ var o = A(r);
11555
11562
  function r() {
11556
11563
  return x(this, r), o.apply(this, arguments);
11557
11564
  }
@@ -11610,9 +11617,9 @@ var vn = /* @__PURE__ */ function(a) {
11610
11617
  return "error";
11611
11618
  }
11612
11619
  }]), r;
11613
- }(j), Bl = /* @__PURE__ */ function(a) {
11614
- A(r, a);
11615
- var o = L(r);
11620
+ }(j), Hl = /* @__PURE__ */ function(a) {
11621
+ L(r, a);
11622
+ var o = A(r);
11616
11623
  function r() {
11617
11624
  return x(this, r), o.apply(this, arguments);
11618
11625
  }
@@ -11662,7 +11669,7 @@ var vn = /* @__PURE__ */ function(a) {
11662
11669
  }, {
11663
11670
  key: "render",
11664
11671
  value: function() {
11665
- return '<xg-prompt class="xgplayer-prompt '.concat(k.CONTROLS_FOLLOW, `">
11672
+ return '<xg-prompt class="xgplayer-prompt '.concat(C.CONTROLS_FOLLOW, `">
11666
11673
  <span class="xgplayer-prompt-detail"></span>
11667
11674
  </xg-prompt>`);
11668
11675
  }
@@ -11688,7 +11695,7 @@ var vn = /* @__PURE__ */ function(a) {
11688
11695
  };
11689
11696
  }
11690
11697
  }]), r;
11691
- }(j), mn = {
11698
+ }(j), yn = {
11692
11699
  time: 0,
11693
11700
  text: "",
11694
11701
  id: 1,
@@ -11698,12 +11705,12 @@ var vn = /* @__PURE__ */ function(a) {
11698
11705
  width: 6,
11699
11706
  height: 6
11700
11707
  };
11701
- function tr(a) {
11702
- Object.keys(mn).map(function(o) {
11703
- a[o] === void 0 && (a[o] = mn[o]);
11708
+ function ir(a) {
11709
+ Object.keys(yn).map(function(o) {
11710
+ a[o] === void 0 && (a[o] = yn[o]);
11704
11711
  });
11705
11712
  }
11706
- var yn = {
11713
+ var _n = {
11707
11714
  _updateDotDom: function(o, r) {
11708
11715
  if (r) {
11709
11716
  var t = this.calcuPosition(o.time, o.duration), e = o.style || {};
@@ -11720,7 +11727,7 @@ var yn = {
11720
11727
  },
11721
11728
  createDot: function(o) {
11722
11729
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, t = this.player.plugins.progress;
11723
- if (t && (r && (tr(o), this._ispots.push(o)), !(!this.ispotsInit && r))) {
11730
+ if (t && (r && (ir(o), this._ispots.push(o)), !(!this.ispotsInit && r))) {
11724
11731
  var e = this.calcuPosition(o.time, o.duration), i = o.style || {};
11725
11732
  i.left = "".concat(e.left, "%"), i.width = "".concat(e.width, "%");
11726
11733
  var n = "xgspot_".concat(o.id, " xgplayer-spot");
@@ -11840,14 +11847,14 @@ var yn = {
11840
11847
  return r.find('xg-spot[data-id="'.concat(o, '"]'));
11841
11848
  }
11842
11849
  };
11843
- function Hl(a) {
11850
+ function Ul(a) {
11844
11851
  var o = a.config, r = a.player;
11845
- Object.keys(yn).map(function(e) {
11846
- a[e] = yn[e].bind(a);
11852
+ Object.keys(_n).map(function(e) {
11853
+ a[e] = _n[e].bind(a);
11847
11854
  });
11848
11855
  var t = r.config.progressDot || o.ispots || [];
11849
11856
  a._ispots = t.map(function(e) {
11850
- return tr(e), e;
11857
+ return ir(e), e;
11851
11858
  }), a.ispotsInit = !1, a.playerSize = {
11852
11859
  left: r.sizeInfo.left,
11853
11860
  width: r.sizeInfo.width
@@ -11864,9 +11871,9 @@ var et = {
11864
11871
  click: "onProgressClick",
11865
11872
  mouseover: "onProgressMouseOver",
11866
11873
  mouseenter: "onProgressMouseOver"
11867
- }, Ul = /* @__PURE__ */ function(a) {
11868
- A(r, a);
11869
- var o = L(r);
11874
+ }, zl = /* @__PURE__ */ function(a) {
11875
+ L(r, a);
11876
+ var o = A(r);
11870
11877
  function r(t) {
11871
11878
  var e;
11872
11879
  return x(this, r), e = o.call(this, t), _(v(e), "onMousemove", function(i) {
@@ -11915,7 +11922,7 @@ var et = {
11915
11922
  n.seekTime && e.player.seek(n.seekTime);
11916
11923
  }), this.transformTimeHook = this.hook("transformTime", function(i) {
11917
11924
  e.setTimeContent(f.format(i));
11918
- }), Hl(this), this.on(He, function() {
11925
+ }), Ul(this), this.on(He, function() {
11919
11926
  e.show();
11920
11927
  }), this.config.disable && this.disable(), this.extTextRoot = this.find(".xg-spot-ext-text");
11921
11928
  }
@@ -12139,9 +12146,9 @@ var et = {
12139
12146
  };
12140
12147
  }
12141
12148
  }]), r;
12142
- }(j), zl = /* @__PURE__ */ function(a) {
12143
- A(r, a);
12144
- var o = L(r);
12149
+ }(j), Vl = /* @__PURE__ */ function(a) {
12150
+ L(r, a);
12151
+ var o = A(r);
12145
12152
  function r(t) {
12146
12153
  var e;
12147
12154
  return x(this, r), e = o.call(this, t), e.ratio = 1, e.interval = null, e._preloadMark = {}, e;
@@ -12203,7 +12210,7 @@ var et = {
12203
12210
  this.interval = Math.round(this.player.duration / l);
12204
12211
  var p = Math.ceil(e / this.interval);
12205
12212
  p = p > l ? l : p;
12206
- var g = p < u * c ? 0 : Math.ceil(p / (u * c)) - 1, m = p - g * (c * u), y = m > 0 ? Math.ceil(m / c) - 1 : 0, C = m > 0 ? m - y * c - 1 : 0, b = 0, w = 0;
12213
+ var g = p < u * c ? 0 : Math.ceil(p / (u * c)) - 1, m = p - g * (c * u), y = m > 0 ? Math.ceil(m / c) - 1 : 0, k = m > 0 ? m - y * c - 1 : 0, b = 0, w = 0;
12207
12214
  if (i && n) {
12208
12215
  var P = i / n;
12209
12216
  P < h / d ? (w = n, b = w * (h / d)) : (b = i, w = b / (h / d));
@@ -12213,14 +12220,14 @@ var et = {
12213
12220
  return {
12214
12221
  urlIndex: g,
12215
12222
  rowIndex: y,
12216
- colIndex: C,
12223
+ colIndex: k,
12217
12224
  url: F,
12218
12225
  height: w,
12219
12226
  width: b,
12220
12227
  style: {
12221
12228
  backgroundImage: "url(".concat(F, ")"),
12222
12229
  backgroundSize: "".concat(b * c, "px auto"),
12223
- backgroundPosition: "-".concat(C * b, "px -").concat(y * w, "px"),
12230
+ backgroundPosition: "-".concat(k * b, "px -").concat(y * w, "px"),
12224
12231
  width: "".concat(b, "px"),
12225
12232
  height: "".concat(w, "px")
12226
12233
  }
@@ -12277,9 +12284,9 @@ var et = {
12277
12284
  function ei(a) {
12278
12285
  return a ? "background:".concat(a, ";") : "";
12279
12286
  }
12280
- var Vl = /* @__PURE__ */ function(a) {
12281
- A(r, a);
12282
- var o = L(r);
12287
+ var jl = /* @__PURE__ */ function(a) {
12288
+ L(r, a);
12289
+ var o = A(r);
12283
12290
  function r() {
12284
12291
  var t;
12285
12292
  x(this, r);
@@ -12365,14 +12372,14 @@ var Vl = /* @__PURE__ */ function(a) {
12365
12372
  FRAME_RATE: "framerate",
12366
12373
  POSTER: "poster"
12367
12374
  };
12368
- function jl() {
12375
+ function Wl() {
12369
12376
  try {
12370
12377
  return parseInt(window.performance.now(), 10);
12371
12378
  } catch {
12372
12379
  return (/* @__PURE__ */ new Date()).getTime();
12373
12380
  }
12374
12381
  }
12375
- function Wl() {
12382
+ function Gl() {
12376
12383
  try {
12377
12384
  var a = document.createElement("canvas").getContext;
12378
12385
  return !!a;
@@ -12380,9 +12387,9 @@ function Wl() {
12380
12387
  return !1;
12381
12388
  }
12382
12389
  }
12383
- var kt = null, Gl = /* @__PURE__ */ function(a) {
12384
- A(r, a);
12385
- var o = L(r);
12390
+ var Ct = null, $l = /* @__PURE__ */ function(a) {
12391
+ L(r, a);
12392
+ var o = A(r);
12386
12393
  function r() {
12387
12394
  var t;
12388
12395
  x(this, r);
@@ -12401,7 +12408,7 @@ var kt = null, Gl = /* @__PURE__ */ function(a) {
12401
12408
  !t.player.paused && t._checkIfCanStart() && t.start(0, l);
12402
12409
  }
12403
12410
  }), _(v(t), "start", function(s, l) {
12404
- var u = t.player.video, c = jl(), h = t.checkVideoIsSupport(u);
12411
+ var u = t.player.video, c = Wl(), h = t.checkVideoIsSupport(u);
12405
12412
  !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 === tt.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));
12406
12413
  }), _(v(t), "stop", function() {
12407
12414
  t.frameId && (t._loopType === "timer" ? f.clearTimeout(v(t), t.frameId) : f.cancelAnimationFrame(t.frameId), t.frameId = null);
@@ -12574,7 +12581,7 @@ var kt = null, Gl = /* @__PURE__ */ function(a) {
12574
12581
  }, {
12575
12582
  key: "isSupport",
12576
12583
  get: function() {
12577
- return typeof kt == "boolean" || (kt = Wl()), kt;
12584
+ return typeof Ct == "boolean" || (Ct = Gl()), Ct;
12578
12585
  }
12579
12586
  }, {
12580
12587
  key: "supportCanvasFilter",
@@ -12582,7 +12589,7 @@ var kt = null, Gl = /* @__PURE__ */ function(a) {
12582
12589
  return !(B.browser === "safari" || B.browser === "firefox");
12583
12590
  }
12584
12591
  }]), r;
12585
- }(j), $l = {
12592
+ }(j), Kl = {
12586
12593
  LANG: "zh-cn",
12587
12594
  TEXT: {
12588
12595
  ERROR_TYPES: {
@@ -12657,9 +12664,9 @@ var kt = null, Gl = /* @__PURE__ */ function(a) {
12657
12664
  FORWARD: "快进中",
12658
12665
  LIVE_TIP: "直播"
12659
12666
  }
12660
- }, ut = "info", ti = Kn, Kl = /* @__PURE__ */ function(a) {
12661
- A(r, a);
12662
- var o = L(r);
12667
+ }, ut = "info", ti = Yn, Yl = /* @__PURE__ */ function(a) {
12668
+ L(r, a);
12669
+ var o = A(r);
12663
12670
  function r() {
12664
12671
  var t;
12665
12672
  x(this, r);
@@ -12801,9 +12808,9 @@ var kt = null, Gl = /* @__PURE__ */ function(a) {
12801
12808
  return {};
12802
12809
  }
12803
12810
  }]), r;
12804
- }(Be), ir = /* @__PURE__ */ function(a) {
12805
- A(r, a);
12806
- var o = L(r);
12811
+ }(Be), nr = /* @__PURE__ */ function(a) {
12812
+ L(r, a);
12813
+ var o = A(r);
12807
12814
  function r() {
12808
12815
  var t;
12809
12816
  x(this, r);
@@ -12823,8 +12830,8 @@ var kt = null, Gl = /* @__PURE__ */ function(a) {
12823
12830
  console.log("GapJump bufferRange ", c.start(g), c.end(g));
12824
12831
  var m = c.start(g) + 0.1, y = l.media.duration;
12825
12832
  if (!(m > y)) {
12826
- var C = m - p, b = C <= h;
12827
- C < r.BROWSER_GAP_TOLERANCE || b && (u.useGapJump !== !1 && (l.media.currentTime = t.isSafari ? m + 0.1 : m), t.player && t.player.emit("detectGap"), console.log("gapJump gapIndex", g, " isGapSamll:", b, " currentTime:", l.media.currentTime, " jumpSize:", p - l.media.currentTime), m !== 0.08 && l && l.emit("log", {
12833
+ var k = m - p, b = k <= h;
12834
+ k < r.BROWSER_GAP_TOLERANCE || b && (u.useGapJump !== !1 && (l.media.currentTime = t.isSafari ? m + 0.1 : m), t.player && t.player.emit("detectGap"), console.log("gapJump gapIndex", g, " isGapSamll:", b, " currentTime:", l.media.currentTime, " jumpSize:", p - l.media.currentTime), m !== 0.08 && l && l.emit("log", {
12828
12835
  type: "oneevent",
12829
12836
  end_type: "gap",
12830
12837
  vid: l.config.vid,
@@ -12890,10 +12897,10 @@ var kt = null, Gl = /* @__PURE__ */ function(a) {
12890
12897
  }
12891
12898
  }]), r;
12892
12899
  }(j);
12893
- ir.BROWSER_GAP_TOLERANCE = 1e-3;
12894
- var Yl = /* @__PURE__ */ function(a) {
12895
- A(r, a);
12896
- var o = L(r);
12900
+ nr.BROWSER_GAP_TOLERANCE = 1e-3;
12901
+ var Xl = /* @__PURE__ */ function(a) {
12902
+ L(r, a);
12903
+ var o = A(r);
12897
12904
  function r() {
12898
12905
  var t;
12899
12906
  x(this, r);
@@ -12937,9 +12944,9 @@ var Yl = /* @__PURE__ */ function(a) {
12937
12944
  };
12938
12945
  }
12939
12946
  }]), r;
12940
- }(j), it = "cdn", Ct = ["cdn"], Xl = /* @__PURE__ */ function(a) {
12941
- A(r, a);
12942
- var o = L(r);
12947
+ }(j), it = "cdn", kt = ["cdn"], ql = /* @__PURE__ */ function(a) {
12948
+ L(r, a);
12949
+ var o = A(r);
12943
12950
  function r() {
12944
12951
  var t;
12945
12952
  x(this, r);
@@ -12956,7 +12963,7 @@ var Yl = /* @__PURE__ */ function(a) {
12956
12963
  }), _(v(t), "startTimer", function() {
12957
12964
  f.isMSE(t.player.video) || (t.initSpeedList(), t.cnt = 0, t.timer = setTimeout(t.testSpeed, t.config.testTimeStep));
12958
12965
  }), _(v(t), "initSpeedList", function() {
12959
- t.speedListCache = {}, Ct.forEach(function(s) {
12966
+ t.speedListCache = {}, kt.forEach(function(s) {
12960
12967
  t.speedListCache[s] = [];
12961
12968
  });
12962
12969
  }), _(v(t), "_onRealSpeedChange", function(s) {
@@ -12969,8 +12976,8 @@ var Yl = /* @__PURE__ */ function(a) {
12969
12976
  try {
12970
12977
  var p = (/* @__PURE__ */ new Date()).getTime(), g = null, m = new XMLHttpRequest();
12971
12978
  t.xhr = m, m.open("GET", d);
12972
- var y = {}, C = Math.floor(Math.random() * 10);
12973
- y.Range = "bytes=" + C + "-" + (u + C), y && Object.keys(y).forEach(function(b) {
12979
+ var y = {}, k = Math.floor(Math.random() * 10);
12980
+ y.Range = "bytes=" + k + "-" + (u + k), y && Object.keys(y).forEach(function(b) {
12974
12981
  m.setRequestHeader(b, y[b]);
12975
12982
  }), m.onreadystatechange = function() {
12976
12983
  if (m.readyState === 4) {
@@ -13013,7 +13020,7 @@ var Yl = /* @__PURE__ */ function(a) {
13013
13020
  key: "afterCreate",
13014
13021
  value: function() {
13015
13022
  var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
13016
- (n == null ? void 0 : n.length) > 0 && Ct.push.apply(Ct, me(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Pe, Et], this.startTimer);
13023
+ (n == null ? void 0 : n.length) > 0 && kt.push.apply(kt, me(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([Pe, Et], this.startTimer);
13017
13024
  }
13018
13025
  }, {
13019
13026
  key: "getSpeedName",
@@ -13040,7 +13047,7 @@ var Yl = /* @__PURE__ */ function(a) {
13040
13047
  key: "destroy",
13041
13048
  value: function() {
13042
13049
  var e = this;
13043
- this.off("real_time_speed", this._onRealSpeedChange), this.off([Pe, Et], this.startTimer), Ct.forEach(function(i) {
13050
+ this.off("real_time_speed", this._onRealSpeedChange), this.off([Pe, Et], this.startTimer), kt.forEach(function(i) {
13044
13051
  e.speedListCache && e.speedListCache[i] && (e.speedListCache[i] = []);
13045
13052
  }), this.speedListCache && (this.speedListCache = {}), clearTimeout(this.timer), this.timer = null, this.xhr && this.xhr.readyState !== 4 && (this.xhr.cancel && this.xhr.cancel(), this.xhr = null);
13046
13053
  }
@@ -13063,9 +13070,9 @@ var Yl = /* @__PURE__ */ function(a) {
13063
13070
  };
13064
13071
  }
13065
13072
  }]), r;
13066
- }(j), ql = /* @__PURE__ */ function(a) {
13067
- A(r, a);
13068
- var o = L(r);
13073
+ }(j), Zl = /* @__PURE__ */ function(a) {
13074
+ L(r, a);
13075
+ var o = A(r);
13069
13076
  function r() {
13070
13077
  return x(this, r), o.apply(this, arguments);
13071
13078
  }
@@ -13130,7 +13137,7 @@ var Yl = /* @__PURE__ */ function(a) {
13130
13137
  totalVideoFrames: i,
13131
13138
  droppedVideoFrames: n,
13132
13139
  checkInterval: s
13133
- }), this._currentStuckCount >= this.config.stuckCount && (this.emit(Yn, this._payload), this._reset())) : this._reset());
13140
+ }), this._currentStuckCount >= this.config.stuckCount && (this.emit(Xn, this._payload), this._reset())) : this._reset());
13134
13141
  }
13135
13142
  }
13136
13143
  }, {
@@ -13173,43 +13180,43 @@ var Yl = /* @__PURE__ */ function(a) {
13173
13180
  }
13174
13181
  }]), r;
13175
13182
  }(j);
13176
- rt.use($l);
13177
- var Zl = /* @__PURE__ */ I(function a(o, r) {
13183
+ rt.use(Kl);
13184
+ var Jl = /* @__PURE__ */ I(function a(o, r) {
13178
13185
  var t, e, i;
13179
13186
  x(this, a);
13180
- var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [gl, ol, Vl, Ul, dl], u = [].concat(l, [al, hl, kl, El, Ol, Rl, Pl, Al, yl, bl]), c = [Ua, za, ja, nl, Wa, Nl, Bl, zl, Ya];
13181
- this.plugins = [Kl, Ba].concat(me(u), c, [ir, Yl]);
13187
+ var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [pl, al, jl, zl, gl], u = [].concat(l, [ll, dl, kl, Sl, Rl, Ml, Ll, Al, _l, Tl]), c = [za, Va, Wa, rl, Ga, Bl, Hl, Vl, Xa];
13188
+ this.plugins = [Yl, Ha].concat(me(u), c, [nr, Xl]);
13182
13189
  var h = n ? "mobile" : B.device;
13183
13190
  switch (h) {
13184
13191
  case "pc":
13185
- (t = this.plugins).push.apply(t, [gn, Jt, vn, Xl, ql]);
13192
+ (t = this.plugins).push.apply(t, [pn, Jt, mn, ql, Zl]);
13186
13193
  break;
13187
13194
  case "mobile":
13188
- (e = this.plugins).push.apply(e, [el]);
13195
+ (e = this.plugins).push.apply(e, [tl]);
13189
13196
  break;
13190
13197
  default:
13191
- (i = this.plugins).push.apply(i, [gn, Jt, vn]);
13198
+ (i = this.plugins).push.apply(i, [pn, Jt, mn]);
13192
13199
  }
13193
- (B.os.isIpad || h === "pc") && this.plugins.push(Gl), B.os.isIpad && this.plugins.push(Jt), this.ignores = [], this.i18n = [];
13200
+ (B.os.isIpad || h === "pc") && this.plugins.push($l), B.os.isIpad && this.plugins.push(Jt), this.ignores = [], this.i18n = [];
13194
13201
  }), ye = /* @__PURE__ */ function(a) {
13195
- A(r, a);
13196
- var o = L(r);
13202
+ L(r, a);
13203
+ var o = A(r);
13197
13204
  function r() {
13198
13205
  return x(this, r), o.apply(this, arguments);
13199
13206
  }
13200
13207
  return I(r);
13201
13208
  }(Bt);
13202
- _(ye, "defaultPreset", Zl);
13209
+ _(ye, "defaultPreset", Jl);
13203
13210
  _(ye, "Util", f);
13204
13211
  _(ye, "Sniffer", B);
13205
13212
  _(ye, "Errors", Tt);
13206
- _(ye, "Events", ha);
13213
+ _(ye, "Events", da);
13207
13214
  _(ye, "Plugin", j);
13208
13215
  _(ye, "BasePlugin", Be);
13209
13216
  _(ye, "I18N", rt);
13210
- _(ye, "STATE_CLASS", k);
13211
- _(ye, "InstManager", Jn);
13212
- const Jl = ["id"], Ql = /* @__PURE__ */ J({
13217
+ _(ye, "STATE_CLASS", C);
13218
+ _(ye, "InstManager", Qn);
13219
+ const Ql = ["id"], eu = /* @__PURE__ */ J({
13213
13220
  name: "ElImageViewer",
13214
13221
  __name: "Player",
13215
13222
  props: /* @__PURE__ */ bt({
@@ -13238,7 +13245,7 @@ const Jl = ["id"], Ql = /* @__PURE__ */ J({
13238
13245
  }, ["update:modelValue"]),
13239
13246
  setup(a, { emit: o }) {
13240
13247
  let r = null;
13241
- const t = a, { cLoadUrl: e } = Tn(t), i = X(() => ht(e.value, t.url)), n = {
13248
+ const t = a, { cLoadUrl: e } = En(t), i = X(() => ht(e.value, t.url)), n = {
13242
13249
  width: "100%",
13243
13250
  height: "100%",
13244
13251
  // 是否自动播放
@@ -13259,7 +13266,7 @@ const Jl = ["id"], Ql = /* @__PURE__ */ J({
13259
13266
  }, s = X(() => ({
13260
13267
  ...n,
13261
13268
  ...t.config
13262
- })), l = o, u = hi(a, "modelValue"), c = wn(), h = Cn("image-viewer");
13269
+ })), l = o, u = hi(a, "modelValue"), c = bn(), h = wn("image-viewer");
13263
13270
  function d() {
13264
13271
  l("close"), u.value = !1, r.destroy();
13265
13272
  }
@@ -13273,7 +13280,7 @@ const Jl = ["id"], Ql = /* @__PURE__ */ J({
13273
13280
  });
13274
13281
  }), (p, g) => {
13275
13282
  const m = Ge("el-icon");
13276
- return u.value ? (E(), ae(_n, {
13283
+ return u.value ? (E(), ae(Cn, {
13277
13284
  key: 0,
13278
13285
  to: "body"
13279
13286
  }, [
@@ -13307,7 +13314,7 @@ const Jl = ["id"], Ql = /* @__PURE__ */ J({
13307
13314
  class: K(S(h).e("canvas"))
13308
13315
  },
13309
13316
  [
13310
- T("div", { id: S(c) }, null, 8, Jl),
13317
+ T("div", { id: S(c) }, null, 8, Ql),
13311
13318
  ee(" CLOSE "),
13312
13319
  T(
13313
13320
  "span",
@@ -13318,7 +13325,7 @@ const Jl = ["id"], Ql = /* @__PURE__ */ J({
13318
13325
  [
13319
13326
  G(m, { onClick: d }, {
13320
13327
  default: Y(() => [
13321
- G(S(bn))
13328
+ G(S(Tn))
13322
13329
  ]),
13323
13330
  _: 1
13324
13331
  /* STABLE */
@@ -13344,7 +13351,7 @@ const Jl = ["id"], Ql = /* @__PURE__ */ J({
13344
13351
  };
13345
13352
  }
13346
13353
  });
13347
- const eu = /* @__PURE__ */ gt(Ql, [["__scopeId", "data-v-b301aa7d"]]), tu = Ae(eu), iu = /* @__PURE__ */ J({
13354
+ const tu = /* @__PURE__ */ gt(eu, [["__scopeId", "data-v-b301aa7d"]]), iu = Le(tu), nu = /* @__PURE__ */ J({
13348
13355
  __name: "IkDescription",
13349
13356
  props: {
13350
13357
  showIcon: {
@@ -13373,29 +13380,10 @@ const eu = /* @__PURE__ */ gt(Ql, [["__scopeId", "data-v-b301aa7d"]]), tu = Ae(e
13373
13380
  type: String,
13374
13381
  default: ""
13375
13382
  },
13376
- kkUrl: {
13377
- type: String,
13378
- default: ""
13379
- },
13380
13383
  labelWidth: {
13381
13384
  type: String || Number,
13382
13385
  default: "150px"
13383
13386
  },
13384
- // 是否需要onlyoffice预览
13385
- isOnlyOfficePreview: {
13386
- type: Boolean,
13387
- default: !1
13388
- },
13389
- // 需要onlyoffice预览的文件类型
13390
- onlyOfficeAccept: {
13391
- type: String,
13392
- default: ".pdf,.docx,.doc.ppt,.pptx,.xlsx,.xls,"
13393
- },
13394
- // onlyoffice服务地址
13395
- onlyofficeServer: {
13396
- type: String,
13397
- default: ""
13398
- },
13399
13387
  // onlyoffice公共配置
13400
13388
  onlyOfficeConfig: {
13401
13389
  type: Object,
@@ -13403,8 +13391,8 @@ const eu = /* @__PURE__ */ gt(Ql, [["__scopeId", "data-v-b301aa7d"]]), tu = Ae(e
13403
13391
  }
13404
13392
  },
13405
13393
  setup(a) {
13406
- gr((e) => ({
13407
- c6d35c88: t.value
13394
+ pr((e) => ({
13395
+ "78351cba": t.value
13408
13396
  }));
13409
13397
  const o = a, r = {
13410
13398
  id: "id",
@@ -13452,7 +13440,7 @@ const eu = /* @__PURE__ */ gt(Ql, [["__scopeId", "data-v-b301aa7d"]]), tu = Ae(e
13452
13440
  /* TEXT */
13453
13441
  ),
13454
13442
  l[r.tag] ? (E(), ae(
13455
- S(mr),
13443
+ S(yr),
13456
13444
  {
13457
13445
  key: 0,
13458
13446
  size: "small"
@@ -13471,17 +13459,12 @@ const eu = /* @__PURE__ */ gt(Ql, [["__scopeId", "data-v-b301aa7d"]]), tu = Ae(e
13471
13459
  1024
13472
13460
  /* DYNAMIC_SLOTS */
13473
13461
  )) : ee("v-if", !0),
13474
- G(S(Zs), {
13462
+ G(S(Js), {
13475
13463
  list: l[r.fileList],
13476
13464
  field: a.fileField,
13477
13465
  "load-url": a.loadUrl,
13478
- "kk-url": a.kkUrl,
13479
- "show-bg": !1,
13480
- isOnlyOfficePreview: a.isOnlyOfficePreview,
13481
- onlyOfficeAccept: a.onlyOfficeAccept,
13482
- onlyofficeServer: a.onlyofficeServer,
13483
- onlyOfficeConfig: a.onlyOfficeConfig
13484
- }, null, 8, ["list", "field", "load-url", "kk-url", "isOnlyOfficePreview", "onlyOfficeAccept", "onlyofficeServer", "onlyOfficeConfig"])
13466
+ "show-bg": !1
13467
+ }, null, 8, ["list", "field", "load-url"])
13485
13468
  ], !0)
13486
13469
  ]),
13487
13470
  _: 2
@@ -13503,8 +13486,8 @@ const eu = /* @__PURE__ */ gt(Ql, [["__scopeId", "data-v-b301aa7d"]]), tu = Ae(e
13503
13486
  };
13504
13487
  }
13505
13488
  });
13506
- const nu = /* @__PURE__ */ gt(iu, [["__scopeId", "data-v-a15afa30"]]), au = Ae(nu);
13489
+ const ru = /* @__PURE__ */ gt(nu, [["__scopeId", "data-v-8171d392"]]), lu = Le(ru);
13507
13490
  export {
13508
- au as IkDescriptions,
13509
- au as default
13491
+ lu as IkDescriptions,
13492
+ lu as default
13510
13493
  };