iss-library-digital-video-v3 0.6.6 → 0.6.8

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.
@@ -1,4 +1,4 @@
1
- import { ref as O, reactive as Fe, computed as TA, watch as Ze, onMounted as ke, onBeforeUnmount as Oe, createElementBlock as ve, openBlock as Ge, withDirectives as IA, createElementVNode as yA, vShow as UA } from "vue";
1
+ import { ref as k, reactive as Fe, computed as TA, watch as Ze, onMounted as ke, onBeforeUnmount as Oe, createElementBlock as ve, openBlock as Ge, withDirectives as IA, createElementVNode as yA, vShow as UA } from "vue";
2
2
  var iA, Te = new Uint8Array(16);
3
3
  function Ie() {
4
4
  if (!iA && (iA = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !iA))
@@ -9,11 +9,11 @@ const ye = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a
9
9
  function Ue(A) {
10
10
  return typeof A == "string" && ye.test(A);
11
11
  }
12
- var F = [];
12
+ var R = [];
13
13
  for (var DA = 0; DA < 256; ++DA)
14
- F.push((DA + 256).toString(16).substr(1));
14
+ R.push((DA + 256).toString(16).substr(1));
15
15
  function Ye(A) {
16
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, t = (F[A[e + 0]] + F[A[e + 1]] + F[A[e + 2]] + F[A[e + 3]] + "-" + F[A[e + 4]] + F[A[e + 5]] + "-" + F[A[e + 6]] + F[A[e + 7]] + "-" + F[A[e + 8]] + F[A[e + 9]] + "-" + F[A[e + 10]] + F[A[e + 11]] + F[A[e + 12]] + F[A[e + 13]] + F[A[e + 14]] + F[A[e + 15]]).toLowerCase();
16
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, t = (R[A[e + 0]] + R[A[e + 1]] + R[A[e + 2]] + R[A[e + 3]] + "-" + R[A[e + 4]] + R[A[e + 5]] + "-" + R[A[e + 6]] + R[A[e + 7]] + "-" + R[A[e + 8]] + R[A[e + 9]] + "-" + R[A[e + 10]] + R[A[e + 11]] + R[A[e + 12]] + R[A[e + 13]] + R[A[e + 14]] + R[A[e + 15]]).toLowerCase();
17
17
  if (!Ue(t))
18
18
  throw TypeError("Stringified UUID is invalid");
19
19
  return t;
@@ -108,10 +108,10 @@ var Ae = { exports: {} };
108
108
  });
109
109
  const r = this.samples.length / this.option.channels, a = this.audioCtx.createBuffer(this.option.channels, r, this.option.sampleRate);
110
110
  for (let g = 0; g < this.option.channels; g++) {
111
- const E = a.getChannelData(g);
111
+ const c = a.getChannelData(g);
112
112
  let i = g, w = 50;
113
113
  for (let C = 0; C < r; C++)
114
- E[C] = this.samples[i], C < 50 && (E[C] = E[C] * C / 50), C >= r - 51 && (E[C] = E[C] * w-- / 50), i += this.option.channels;
114
+ c[C] = this.samples[i], C < 50 && (c[C] = c[C] * C / 50), C >= r - 51 && (c[C] = c[C] * w-- / 50), i += this.option.channels;
115
115
  }
116
116
  this.startTime < this.audioCtx.currentTime && (this.startTime = this.audioCtx.currentTime), s.buffer = a, s.connect(this.gainNode), s.connect(this.analyserNode), Promise.resolve().then(() => {
117
117
  if (typeof this.option.onstart == "function")
@@ -148,42 +148,42 @@ function ee(A, e) {
148
148
  const { toString: Xe } = Object.prototype, { getPrototypeOf: ZA } = Object, { iterator: uA, toStringTag: te } = Symbol, CA = /* @__PURE__ */ ((A) => (e) => {
149
149
  const t = Xe.call(e);
150
150
  return A[t] || (A[t] = t.slice(8, -1).toLowerCase());
151
- })(/* @__PURE__ */ Object.create(null)), U = (A) => (A = A.toLowerCase(), (e) => CA(e) === A), fA = (A) => (e) => typeof e === A, { isArray: K } = Array, j = fA("undefined");
152
- function nA(A) {
153
- return A !== null && !j(A) && A.constructor !== null && !j(A.constructor) && v(A.constructor.isBuffer) && A.constructor.isBuffer(A);
151
+ })(/* @__PURE__ */ Object.create(null)), J = (A) => (A = A.toLowerCase(), (e) => CA(e) === A), fA = (A) => (e) => typeof e === A, { isArray: j } = Array, q = fA("undefined");
152
+ function eA(A) {
153
+ return A !== null && !q(A) && A.constructor !== null && !q(A.constructor) && O(A.constructor.isBuffer) && A.constructor.isBuffer(A);
154
154
  }
155
- const ne = U("ArrayBuffer");
155
+ const ne = J("ArrayBuffer");
156
156
  function We(A) {
157
157
  let e;
158
158
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(A) : e = A && A.buffer && ne(A.buffer), e;
159
159
  }
160
- const He = fA("string"), v = fA("function"), oe = fA("number"), oA = (A) => A !== null && typeof A == "object", Le = (A) => A === !0 || A === !1, cA = (A) => {
160
+ const He = fA("string"), O = fA("function"), oe = fA("number"), tA = (A) => A !== null && typeof A == "object", Le = (A) => A === !0 || A === !1, EA = (A) => {
161
161
  if (CA(A) !== "object")
162
162
  return !1;
163
163
  const e = ZA(A);
164
164
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(te in A) && !(uA in A);
165
165
  }, xe = (A) => {
166
- if (!oA(A) || nA(A))
166
+ if (!tA(A) || eA(A))
167
167
  return !1;
168
168
  try {
169
169
  return Object.keys(A).length === 0 && Object.getPrototypeOf(A) === Object.prototype;
170
170
  } catch {
171
171
  return !1;
172
172
  }
173
- }, qe = U("Date"), je = U("File"), Ke = U("Blob"), _e = U("FileList"), $e = (A) => oA(A) && v(A.pipe), At = (A) => {
173
+ }, qe = J("Date"), je = J("File"), Ke = J("Blob"), _e = J("FileList"), $e = (A) => tA(A) && O(A.pipe), At = (A) => {
174
174
  let e;
175
- return A && (typeof FormData == "function" && A instanceof FormData || v(A.append) && ((e = CA(A)) === "formdata" || // detect form-data instance
176
- e === "object" && v(A.toString) && A.toString() === "[object FormData]"));
177
- }, et = U("URLSearchParams"), [tt, nt, ot, rt] = ["ReadableStream", "Request", "Response", "Headers"].map(U), st = (A) => A.trim ? A.trim() : A.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
178
- function rA(A, e, { allOwnKeys: t = !1 } = {}) {
175
+ return A && (typeof FormData == "function" && A instanceof FormData || O(A.append) && ((e = CA(A)) === "formdata" || // detect form-data instance
176
+ e === "object" && O(A.toString) && A.toString() === "[object FormData]"));
177
+ }, et = J("URLSearchParams"), [tt, nt, ot, rt] = ["ReadableStream", "Request", "Response", "Headers"].map(J), st = (A) => A.trim ? A.trim() : A.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
178
+ function nA(A, e, { allOwnKeys: t = !1 } = {}) {
179
179
  if (A === null || typeof A > "u")
180
180
  return;
181
181
  let n, o;
182
- if (typeof A != "object" && (A = [A]), K(A))
182
+ if (typeof A != "object" && (A = [A]), j(A))
183
183
  for (n = 0, o = A.length; n < o; n++)
184
184
  e.call(null, A[n], n, A);
185
185
  else {
186
- if (nA(A))
186
+ if (eA(A))
187
187
  return;
188
188
  const s = t ? Object.getOwnPropertyNames(A) : Object.keys(A), r = s.length;
189
189
  let a;
@@ -192,7 +192,7 @@ function rA(A, e, { allOwnKeys: t = !1 } = {}) {
192
192
  }
193
193
  }
194
194
  function re(A, e) {
195
- if (nA(A))
195
+ if (eA(A))
196
196
  return null;
197
197
  e = e.toLowerCase();
198
198
  const t = Object.keys(A);
@@ -202,23 +202,23 @@ function re(A, e) {
202
202
  return o;
203
203
  return null;
204
204
  }
205
- const W = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, se = (A) => !j(A) && A !== W;
205
+ const X = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, se = (A) => !q(A) && A !== X;
206
206
  function pA() {
207
207
  const { caseless: A, skipUndefined: e } = se(this) && this || {}, t = {}, n = (o, s) => {
208
208
  const r = A && re(t, s) || s;
209
- cA(t[r]) && cA(o) ? t[r] = pA(t[r], o) : cA(o) ? t[r] = pA({}, o) : K(o) ? t[r] = o.slice() : (!e || !j(o)) && (t[r] = o);
209
+ EA(t[r]) && EA(o) ? t[r] = pA(t[r], o) : EA(o) ? t[r] = pA({}, o) : j(o) ? t[r] = o.slice() : (!e || !q(o)) && (t[r] = o);
210
210
  };
211
211
  for (let o = 0, s = arguments.length; o < s; o++)
212
- arguments[o] && rA(arguments[o], n);
212
+ arguments[o] && nA(arguments[o], n);
213
213
  return t;
214
214
  }
215
- const Bt = (A, e, t, { allOwnKeys: n } = {}) => (rA(e, (o, s) => {
216
- t && v(o) ? A[s] = ee(o, t) : A[s] = o;
215
+ const Bt = (A, e, t, { allOwnKeys: n } = {}) => (nA(e, (o, s) => {
216
+ t && O(o) ? A[s] = ee(o, t) : A[s] = o;
217
217
  }, { allOwnKeys: n }), A), at = (A) => (A.charCodeAt(0) === 65279 && (A = A.slice(1)), A), it = (A, e, t, n) => {
218
218
  A.prototype = Object.create(e.prototype, n), A.prototype.constructor = A, Object.defineProperty(A, "super", {
219
219
  value: e.prototype
220
220
  }), t && Object.assign(A.prototype, t);
221
- }, Et = (A, e, t, n) => {
221
+ }, ct = (A, e, t, n) => {
222
222
  let o, s, r;
223
223
  const a = {};
224
224
  if (e = e || {}, A == null) return e;
@@ -228,13 +228,13 @@ const Bt = (A, e, t, { allOwnKeys: n } = {}) => (rA(e, (o, s) => {
228
228
  A = t !== !1 && ZA(A);
229
229
  } while (A && (!t || t(A, e)) && A !== Object.prototype);
230
230
  return e;
231
- }, ct = (A, e, t) => {
231
+ }, Et = (A, e, t) => {
232
232
  A = String(A), (t === void 0 || t > A.length) && (t = A.length), t -= e.length;
233
233
  const n = A.indexOf(e, t);
234
234
  return n !== -1 && n === t;
235
235
  }, gt = (A) => {
236
236
  if (!A) return null;
237
- if (K(A)) return A;
237
+ if (j(A)) return A;
238
238
  let e = A.length;
239
239
  if (!oe(e)) return null;
240
240
  const t = new Array(e);
@@ -254,23 +254,23 @@ const Bt = (A, e, t, { allOwnKeys: n } = {}) => (rA(e, (o, s) => {
254
254
  for (; (t = A.exec(e)) !== null; )
255
255
  n.push(t);
256
256
  return n;
257
- }, Ct = U("HTMLFormElement"), ft = (A) => A.toLowerCase().replace(
257
+ }, Ct = J("HTMLFormElement"), ft = (A) => A.toLowerCase().replace(
258
258
  /[-_\s]([a-z\d])(\w*)/g,
259
259
  function(t, n, o) {
260
260
  return n.toUpperCase() + o;
261
261
  }
262
- ), YA = (({ hasOwnProperty: A }) => (e, t) => A.call(e, t))(Object.prototype), dt = U("RegExp"), Be = (A, e) => {
262
+ ), YA = (({ hasOwnProperty: A }) => (e, t) => A.call(e, t))(Object.prototype), dt = J("RegExp"), Be = (A, e) => {
263
263
  const t = Object.getOwnPropertyDescriptors(A), n = {};
264
- rA(t, (o, s) => {
264
+ nA(t, (o, s) => {
265
265
  let r;
266
266
  (r = e(o, s, A)) !== !1 && (n[s] = r || o);
267
267
  }), Object.defineProperties(A, n);
268
268
  }, Qt = (A) => {
269
269
  Be(A, (e, t) => {
270
- if (v(A) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
270
+ if (O(A) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
271
271
  return !1;
272
272
  const n = A[t];
273
- if (v(n)) {
273
+ if (O(n)) {
274
274
  if (e.enumerable = !1, "writable" in e) {
275
275
  e.writable = !1;
276
276
  return;
@@ -286,74 +286,74 @@ const Bt = (A, e, t, { allOwnKeys: n } = {}) => (rA(e, (o, s) => {
286
286
  t[s] = !0;
287
287
  });
288
288
  };
289
- return K(A) ? n(A) : n(String(A).split(e)), t;
289
+ return j(A) ? n(A) : n(String(A).split(e)), t;
290
290
  }, ht = () => {
291
291
  }, mt = (A, e) => A != null && Number.isFinite(A = +A) ? A : e;
292
292
  function Mt(A) {
293
- return !!(A && v(A.append) && A[te] === "FormData" && A[uA]);
293
+ return !!(A && O(A.append) && A[te] === "FormData" && A[uA]);
294
294
  }
295
295
  const pt = (A) => {
296
296
  const e = new Array(10), t = (n, o) => {
297
- if (oA(n)) {
297
+ if (tA(n)) {
298
298
  if (e.indexOf(n) >= 0)
299
299
  return;
300
- if (nA(n))
300
+ if (eA(n))
301
301
  return n;
302
302
  if (!("toJSON" in n)) {
303
303
  e[o] = n;
304
- const s = K(n) ? [] : {};
305
- return rA(n, (r, a) => {
304
+ const s = j(n) ? [] : {};
305
+ return nA(n, (r, a) => {
306
306
  const g = t(r, o + 1);
307
- !j(g) && (s[a] = g);
307
+ !q(g) && (s[a] = g);
308
308
  }), e[o] = void 0, s;
309
309
  }
310
310
  }
311
311
  return n;
312
312
  };
313
313
  return t(A, 0);
314
- }, Rt = U("AsyncFunction"), St = (A) => A && (oA(A) || v(A)) && v(A.then) && v(A.catch), ae = ((A, e) => A ? setImmediate : e ? ((t, n) => (W.addEventListener("message", ({ source: o, data: s }) => {
315
- o === W && s === t && n.length && n.shift()();
314
+ }, Rt = J("AsyncFunction"), St = (A) => A && (tA(A) || O(A)) && O(A.then) && O(A.catch), ae = ((A, e) => A ? setImmediate : e ? ((t, n) => (X.addEventListener("message", ({ source: o, data: s }) => {
315
+ o === X && s === t && n.length && n.shift()();
316
316
  }, !1), (o) => {
317
- n.push(o), W.postMessage(t, "*");
317
+ n.push(o), X.postMessage(t, "*");
318
318
  }))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
319
319
  typeof setImmediate == "function",
320
- v(W.postMessage)
321
- ), bt = typeof queueMicrotask < "u" ? queueMicrotask.bind(W) : typeof process < "u" && process.nextTick || ae, Ft = (A) => A != null && v(A[uA]), B = {
322
- isArray: K,
320
+ O(X.postMessage)
321
+ ), bt = typeof queueMicrotask < "u" ? queueMicrotask.bind(X) : typeof process < "u" && process.nextTick || ae, Ft = (A) => A != null && O(A[uA]), B = {
322
+ isArray: j,
323
323
  isArrayBuffer: ne,
324
- isBuffer: nA,
324
+ isBuffer: eA,
325
325
  isFormData: At,
326
326
  isArrayBufferView: We,
327
327
  isString: He,
328
328
  isNumber: oe,
329
329
  isBoolean: Le,
330
- isObject: oA,
331
- isPlainObject: cA,
330
+ isObject: tA,
331
+ isPlainObject: EA,
332
332
  isEmptyObject: xe,
333
333
  isReadableStream: tt,
334
334
  isRequest: nt,
335
335
  isResponse: ot,
336
336
  isHeaders: rt,
337
- isUndefined: j,
337
+ isUndefined: q,
338
338
  isDate: qe,
339
339
  isFile: je,
340
340
  isBlob: Ke,
341
341
  isRegExp: dt,
342
- isFunction: v,
342
+ isFunction: O,
343
343
  isStream: $e,
344
344
  isURLSearchParams: et,
345
345
  isTypedArray: lt,
346
346
  isFileList: _e,
347
- forEach: rA,
347
+ forEach: nA,
348
348
  merge: pA,
349
349
  extend: Bt,
350
350
  trim: st,
351
351
  stripBOM: at,
352
352
  inherits: it,
353
- toFlatObject: Et,
353
+ toFlatObject: ct,
354
354
  kindOf: CA,
355
- kindOfTest: U,
356
- endsWith: ct,
355
+ kindOfTest: J,
356
+ endsWith: Et,
357
357
  toArray: gt,
358
358
  forEachEntry: wt,
359
359
  matchAll: ut,
@@ -368,7 +368,7 @@ const pt = (A) => {
368
368
  noop: ht,
369
369
  toFiniteNumber: mt,
370
370
  findKey: re,
371
- global: W,
371
+ global: X,
372
372
  isContextDefined: se,
373
373
  isSpecCompliantForm: Mt,
374
374
  toJSONObject: pt,
@@ -402,7 +402,7 @@ B.inherits(f, Error, {
402
402
  };
403
403
  }
404
404
  });
405
- const ie = f.prototype, Ee = {};
405
+ const ie = f.prototype, ce = {};
406
406
  [
407
407
  "ERR_BAD_OPTION_VALUE",
408
408
  "ERR_BAD_OPTION",
@@ -418,15 +418,15 @@ const ie = f.prototype, Ee = {};
418
418
  "ERR_INVALID_URL"
419
419
  // eslint-disable-next-line func-names
420
420
  ].forEach((A) => {
421
- Ee[A] = { value: A };
421
+ ce[A] = { value: A };
422
422
  });
423
- Object.defineProperties(f, Ee);
423
+ Object.defineProperties(f, ce);
424
424
  Object.defineProperty(ie, "isAxiosError", { value: !0 });
425
425
  f.from = (A, e, t, n, o, s) => {
426
426
  const r = Object.create(ie);
427
427
  B.toFlatObject(A, r, function(i) {
428
428
  return i !== Error.prototype;
429
- }, (E) => E !== "isAxiosError");
429
+ }, (c) => c !== "isAxiosError");
430
430
  const a = A && A.message ? A.message : "Error", g = e == null && A ? A.code : e;
431
431
  return f.call(r, a, g, t, n, o), A && r.cause == null && Object.defineProperty(r, "cause", { value: A, configurable: !0 }), r.name = A && A.name || "Error", s && Object.assign(r, s), r;
432
432
  };
@@ -434,12 +434,12 @@ const Zt = null;
434
434
  function RA(A) {
435
435
  return B.isPlainObject(A) || B.isArray(A);
436
436
  }
437
- function ce(A) {
437
+ function Ee(A) {
438
438
  return B.endsWith(A, "[]") ? A.slice(0, -2) : A;
439
439
  }
440
440
  function JA(A, e, t) {
441
441
  return A ? A.concat(e).map(function(o, s) {
442
- return o = ce(o), !t && s ? "[" + o + "]" : o;
442
+ return o = Ee(o), !t && s ? "[" + o + "]" : o;
443
443
  }).join(t ? "." : "") : e;
444
444
  }
445
445
  function kt(A) {
@@ -461,55 +461,55 @@ function dA(A, e, t) {
461
461
  const n = t.metaTokens, o = t.visitor || i, s = t.dots, r = t.indexes, g = (t.Blob || typeof Blob < "u" && Blob) && B.isSpecCompliantForm(e);
462
462
  if (!B.isFunction(o))
463
463
  throw new TypeError("visitor must be a function");
464
- function E(c) {
465
- if (c === null) return "";
466
- if (B.isDate(c))
467
- return c.toISOString();
468
- if (B.isBoolean(c))
469
- return c.toString();
470
- if (!g && B.isBlob(c))
464
+ function c(E) {
465
+ if (E === null) return "";
466
+ if (B.isDate(E))
467
+ return E.toISOString();
468
+ if (B.isBoolean(E))
469
+ return E.toString();
470
+ if (!g && B.isBlob(E))
471
471
  throw new f("Blob is not supported. Use a Buffer instead.");
472
- return B.isArrayBuffer(c) || B.isTypedArray(c) ? g && typeof Blob == "function" ? new Blob([c]) : Buffer.from(c) : c;
472
+ return B.isArrayBuffer(E) || B.isTypedArray(E) ? g && typeof Blob == "function" ? new Blob([E]) : Buffer.from(E) : E;
473
473
  }
474
- function i(c, u, l) {
475
- let h = c;
476
- if (c && !l && typeof c == "object") {
474
+ function i(E, u, l) {
475
+ let D = E;
476
+ if (E && !l && typeof E == "object") {
477
477
  if (B.endsWith(u, "{}"))
478
- u = n ? u : u.slice(0, -2), c = JSON.stringify(c);
479
- else if (B.isArray(c) && kt(c) || (B.isFileList(c) || B.endsWith(u, "[]")) && (h = B.toArray(c)))
480
- return u = ce(u), h.forEach(function(p, d) {
481
- !(B.isUndefined(p) || p === null) && e.append(
478
+ u = n ? u : u.slice(0, -2), E = JSON.stringify(E);
479
+ else if (B.isArray(E) && kt(E) || (B.isFileList(E) || B.endsWith(u, "[]")) && (D = B.toArray(E)))
480
+ return u = Ee(u), D.forEach(function(d, S) {
481
+ !(B.isUndefined(d) || d === null) && e.append(
482
482
  // eslint-disable-next-line no-nested-ternary
483
- r === !0 ? JA([u], d, s) : r === null ? u : u + "[]",
484
- E(p)
483
+ r === !0 ? JA([u], S, s) : r === null ? u : u + "[]",
484
+ c(d)
485
485
  );
486
486
  }), !1;
487
487
  }
488
- return RA(c) ? !0 : (e.append(JA(l, u, s), E(c)), !1);
488
+ return RA(E) ? !0 : (e.append(JA(l, u, s), c(E)), !1);
489
489
  }
490
490
  const w = [], C = Object.assign(Ot, {
491
491
  defaultVisitor: i,
492
- convertValue: E,
492
+ convertValue: c,
493
493
  isVisitable: RA
494
494
  });
495
- function D(c, u) {
496
- if (!B.isUndefined(c)) {
497
- if (w.indexOf(c) !== -1)
495
+ function h(E, u) {
496
+ if (!B.isUndefined(E)) {
497
+ if (w.indexOf(E) !== -1)
498
498
  throw Error("Circular reference detected in " + u.join("."));
499
- w.push(c), B.forEach(c, function(h, S) {
500
- (!(B.isUndefined(h) || h === null) && o.call(
499
+ w.push(E), B.forEach(E, function(D, F) {
500
+ (!(B.isUndefined(D) || D === null) && o.call(
501
501
  e,
502
- h,
503
- B.isString(S) ? S.trim() : S,
502
+ D,
503
+ B.isString(F) ? F.trim() : F,
504
504
  u,
505
505
  C
506
- )) === !0 && D(h, u ? u.concat(S) : [S]);
506
+ )) === !0 && h(D, u ? u.concat(F) : [F]);
507
507
  }), w.pop();
508
508
  }
509
509
  }
510
510
  if (!B.isObject(A))
511
511
  throw new TypeError("data must be an object");
512
- return D(A), e;
512
+ return h(A), e;
513
513
  }
514
514
  function zA(A) {
515
515
  const e = {
@@ -632,14 +632,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Jt
632
632
  hasStandardBrowserWebWorkerEnv: Yt,
633
633
  navigator: SA,
634
634
  origin: Jt
635
- }, Symbol.toStringTag, { value: "Module" })), k = {
635
+ }, Symbol.toStringTag, { value: "Module" })), b = {
636
636
  ...zt,
637
637
  ...yt
638
638
  };
639
639
  function Pt(A, e) {
640
- return dA(A, new k.classes.URLSearchParams(), {
640
+ return dA(A, new b.classes.URLSearchParams(), {
641
641
  visitor: function(t, n, o, s) {
642
- return k.isNode && B.isBuffer(t) ? (this.append(n, t.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
642
+ return b.isNode && B.isBuffer(t) ? (this.append(n, t.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
643
643
  },
644
644
  ...e
645
645
  });
@@ -681,7 +681,7 @@ function Xt(A, e, t) {
681
681
  }
682
682
  return (t || JSON.stringify)(A);
683
683
  }
684
- const sA = {
684
+ const oA = {
685
685
  transitional: we,
686
686
  adapter: ["xhr", "http", "fetch"],
687
687
  transformRequest: [function(e, t) {
@@ -710,7 +710,7 @@ const sA = {
710
710
  return s || o ? (t.setContentType("application/json", !1), Xt(e)) : e;
711
711
  }],
712
712
  transformResponse: [function(e) {
713
- const t = this.transitional || sA.transitional, n = t && t.forcedJSONParsing, o = this.responseType === "json";
713
+ const t = this.transitional || oA.transitional, n = t && t.forcedJSONParsing, o = this.responseType === "json";
714
714
  if (B.isResponse(e) || B.isReadableStream(e))
715
715
  return e;
716
716
  if (e && B.isString(e) && (n && !this.responseType || o)) {
@@ -734,8 +734,8 @@ const sA = {
734
734
  maxContentLength: -1,
735
735
  maxBodyLength: -1,
736
736
  env: {
737
- FormData: k.classes.FormData,
738
- Blob: k.classes.Blob
737
+ FormData: b.classes.FormData,
738
+ Blob: b.classes.Blob
739
739
  },
740
740
  validateStatus: function(e) {
741
741
  return e >= 200 && e < 300;
@@ -748,7 +748,7 @@ const sA = {
748
748
  }
749
749
  };
750
750
  B.forEach(["delete", "get", "head", "post", "put", "patch"], (A) => {
751
- sA.headers[A] = {};
751
+ oA.headers[A] = {};
752
752
  });
753
753
  const Wt = B.toObjectSet([
754
754
  "age",
@@ -776,7 +776,7 @@ const Wt = B.toObjectSet([
776
776
  o = r.indexOf(":"), t = r.substring(0, o).trim().toLowerCase(), n = r.substring(o + 1).trim(), !(!t || e[t] && Wt[t]) && (t === "set-cookie" ? e[t] ? e[t].push(n) : e[t] = [n] : e[t] = e[t] ? e[t] + ", " + n : n);
777
777
  }), e;
778
778
  }, VA = Symbol("internals");
779
- function eA(A) {
779
+ function $(A) {
780
780
  return A && String(A).trim().toLowerCase();
781
781
  }
782
782
  function gA(A) {
@@ -814,30 +814,30 @@ function jt(A, e) {
814
814
  });
815
815
  });
816
816
  }
817
- let G = class {
817
+ let v = class {
818
818
  constructor(e) {
819
819
  e && this.set(e);
820
820
  }
821
821
  set(e, t, n) {
822
822
  const o = this;
823
- function s(a, g, E) {
824
- const i = eA(g);
823
+ function s(a, g, c) {
824
+ const i = $(g);
825
825
  if (!i)
826
826
  throw new Error("header name must be a non-empty string");
827
827
  const w = B.findKey(o, i);
828
- (!w || o[w] === void 0 || E === !0 || E === void 0 && o[w] !== !1) && (o[w || g] = gA(a));
828
+ (!w || o[w] === void 0 || c === !0 || c === void 0 && o[w] !== !1) && (o[w || g] = gA(a));
829
829
  }
830
- const r = (a, g) => B.forEach(a, (E, i) => s(E, i, g));
830
+ const r = (a, g) => B.forEach(a, (c, i) => s(c, i, g));
831
831
  if (B.isPlainObject(e) || e instanceof this.constructor)
832
832
  r(e, t);
833
833
  else if (B.isString(e) && (e = e.trim()) && !xt(e))
834
834
  r(Ht(e), t);
835
835
  else if (B.isObject(e) && B.isIterable(e)) {
836
- let a = {}, g, E;
836
+ let a = {}, g, c;
837
837
  for (const i of e) {
838
838
  if (!B.isArray(i))
839
839
  throw TypeError("Object iterator must return a key-value pair");
840
- a[E = i[0]] = (g = a[E]) ? B.isArray(g) ? [...g, i[1]] : [g, i[1]] : i[1];
840
+ a[c = i[0]] = (g = a[c]) ? B.isArray(g) ? [...g, i[1]] : [g, i[1]] : i[1];
841
841
  }
842
842
  r(a, t);
843
843
  } else
@@ -845,7 +845,7 @@ let G = class {
845
845
  return this;
846
846
  }
847
847
  get(e, t) {
848
- if (e = eA(e), e) {
848
+ if (e = $(e), e) {
849
849
  const n = B.findKey(this, e);
850
850
  if (n) {
851
851
  const o = this[n];
@@ -862,7 +862,7 @@ let G = class {
862
862
  }
863
863
  }
864
864
  has(e, t) {
865
- if (e = eA(e), e) {
865
+ if (e = $(e), e) {
866
866
  const n = B.findKey(this, e);
867
867
  return !!(n && this[n] !== void 0 && (!t || hA(this, this[n], n, t)));
868
868
  }
@@ -872,7 +872,7 @@ let G = class {
872
872
  const n = this;
873
873
  let o = !1;
874
874
  function s(r) {
875
- if (r = eA(r), r) {
875
+ if (r = $(r), r) {
876
876
  const a = B.findKey(n, r);
877
877
  a && (!t || hA(n, n[a], a, t)) && (delete n[a], o = !0);
878
878
  }
@@ -934,14 +934,14 @@ let G = class {
934
934
  accessors: {}
935
935
  }).accessors, o = this.prototype;
936
936
  function s(r) {
937
- const a = eA(r);
937
+ const a = $(r);
938
938
  n[a] || (jt(o, r), n[a] = !0);
939
939
  }
940
940
  return B.isArray(e) ? e.forEach(s) : s(e), this;
941
941
  }
942
942
  };
943
- G.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
944
- B.reduceDescriptors(G.prototype, ({ value: A }, e) => {
943
+ v.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
944
+ B.reduceDescriptors(v.prototype, ({ value: A }, e) => {
945
945
  let t = e[0].toUpperCase() + e.slice(1);
946
946
  return {
947
947
  get: () => A,
@@ -950,9 +950,9 @@ B.reduceDescriptors(G.prototype, ({ value: A }, e) => {
950
950
  }
951
951
  };
952
952
  });
953
- B.freezeMethods(G);
953
+ B.freezeMethods(v);
954
954
  function mA(A, e) {
955
- const t = this || sA, n = e || t, o = G.from(n.headers);
955
+ const t = this || oA, n = e || t, o = v.from(n.headers);
956
956
  let s = n.data;
957
957
  return B.forEach(A, function(a) {
958
958
  s = a.call(t, s, o.normalize(), e ? e.status : void 0);
@@ -961,10 +961,10 @@ function mA(A, e) {
961
961
  function Ce(A) {
962
962
  return !!(A && A.__CANCEL__);
963
963
  }
964
- function _(A, e, t) {
964
+ function K(A, e, t) {
965
965
  f.call(this, A ?? "canceled", f.ERR_CANCELED, e, t), this.name = "CanceledError";
966
966
  }
967
- B.inherits(_, f, {
967
+ B.inherits(K, f, {
968
968
  __CANCEL__: !0
969
969
  });
970
970
  function fe(A, e, t) {
@@ -986,25 +986,25 @@ function _t(A, e) {
986
986
  const t = new Array(A), n = new Array(A);
987
987
  let o = 0, s = 0, r;
988
988
  return e = e !== void 0 ? e : 1e3, function(g) {
989
- const E = Date.now(), i = n[s];
990
- r || (r = E), t[o] = g, n[o] = E;
989
+ const c = Date.now(), i = n[s];
990
+ r || (r = c), t[o] = g, n[o] = c;
991
991
  let w = s, C = 0;
992
992
  for (; w !== o; )
993
993
  C += t[w++], w = w % A;
994
- if (o = (o + 1) % A, o === s && (s = (s + 1) % A), E - r < e)
994
+ if (o = (o + 1) % A, o === s && (s = (s + 1) % A), c - r < e)
995
995
  return;
996
- const D = i && E - i;
997
- return D ? Math.round(C * 1e3 / D) : void 0;
996
+ const h = i && c - i;
997
+ return h ? Math.round(C * 1e3 / h) : void 0;
998
998
  };
999
999
  }
1000
1000
  function $t(A, e) {
1001
1001
  let t = 0, n = 1e3 / e, o, s;
1002
- const r = (E, i = Date.now()) => {
1003
- t = i, o = null, s && (clearTimeout(s), s = null), A(...E);
1002
+ const r = (c, i = Date.now()) => {
1003
+ t = i, o = null, s && (clearTimeout(s), s = null), A(...c);
1004
1004
  };
1005
- return [(...E) => {
1005
+ return [(...c) => {
1006
1006
  const i = Date.now(), w = i - t;
1007
- w >= n ? r(E, i) : (o = E, s || (s = setTimeout(() => {
1007
+ w >= n ? r(c, i) : (o = c, s || (s = setTimeout(() => {
1008
1008
  s = null, r(o);
1009
1009
  }, n - w)));
1010
1010
  }, () => o && r(o)];
@@ -1013,15 +1013,15 @@ const wA = (A, e, t = 3) => {
1013
1013
  let n = 0;
1014
1014
  const o = _t(50, 250);
1015
1015
  return $t((s) => {
1016
- const r = s.loaded, a = s.lengthComputable ? s.total : void 0, g = r - n, E = o(g), i = r <= a;
1016
+ const r = s.loaded, a = s.lengthComputable ? s.total : void 0, g = r - n, c = o(g), i = r <= a;
1017
1017
  n = r;
1018
1018
  const w = {
1019
1019
  loaded: r,
1020
1020
  total: a,
1021
1021
  progress: a ? r / a : void 0,
1022
1022
  bytes: g,
1023
- rate: E || void 0,
1024
- estimated: E && a && i ? (a - r) / E : void 0,
1023
+ rate: c || void 0,
1024
+ estimated: c && a && i ? (a - r) / c : void 0,
1025
1025
  event: s,
1026
1026
  lengthComputable: a != null,
1027
1027
  [e ? "download" : "upload"]: !0
@@ -1035,10 +1035,10 @@ const wA = (A, e, t = 3) => {
1035
1035
  total: A,
1036
1036
  loaded: n
1037
1037
  }), e[1]];
1038
- }, XA = (A) => (...e) => B.asap(() => A(...e)), An = k.hasStandardBrowserEnv ? /* @__PURE__ */ ((A, e) => (t) => (t = new URL(t, k.origin), A.protocol === t.protocol && A.host === t.host && (e || A.port === t.port)))(
1039
- new URL(k.origin),
1040
- k.navigator && /(msie|trident)/i.test(k.navigator.userAgent)
1041
- ) : () => !0, en = k.hasStandardBrowserEnv ? (
1038
+ }, XA = (A) => (...e) => B.asap(() => A(...e)), An = b.hasStandardBrowserEnv ? /* @__PURE__ */ ((A, e) => (t) => (t = new URL(t, b.origin), A.protocol === t.protocol && A.host === t.host && (e || A.port === t.port)))(
1039
+ new URL(b.origin),
1040
+ b.navigator && /(msie|trident)/i.test(b.navigator.userAgent)
1041
+ ) : () => !0, en = b.hasStandardBrowserEnv ? (
1042
1042
  // Standard browser envs support document.cookie
1043
1043
  {
1044
1044
  write(A, e, t, n, o, s) {
@@ -1075,34 +1075,34 @@ function de(A, e, t) {
1075
1075
  let n = !tn(e);
1076
1076
  return A && (n || t == !1) ? nn(A, e) : e;
1077
1077
  }
1078
- const WA = (A) => A instanceof G ? { ...A } : A;
1079
- function L(A, e) {
1078
+ const WA = (A) => A instanceof v ? { ...A } : A;
1079
+ function H(A, e) {
1080
1080
  e = e || {};
1081
1081
  const t = {};
1082
- function n(E, i, w, C) {
1083
- return B.isPlainObject(E) && B.isPlainObject(i) ? B.merge.call({ caseless: C }, E, i) : B.isPlainObject(i) ? B.merge({}, i) : B.isArray(i) ? i.slice() : i;
1082
+ function n(c, i, w, C) {
1083
+ return B.isPlainObject(c) && B.isPlainObject(i) ? B.merge.call({ caseless: C }, c, i) : B.isPlainObject(i) ? B.merge({}, i) : B.isArray(i) ? i.slice() : i;
1084
1084
  }
1085
- function o(E, i, w, C) {
1085
+ function o(c, i, w, C) {
1086
1086
  if (B.isUndefined(i)) {
1087
- if (!B.isUndefined(E))
1088
- return n(void 0, E, w, C);
1089
- } else return n(E, i, w, C);
1087
+ if (!B.isUndefined(c))
1088
+ return n(void 0, c, w, C);
1089
+ } else return n(c, i, w, C);
1090
1090
  }
1091
- function s(E, i) {
1091
+ function s(c, i) {
1092
1092
  if (!B.isUndefined(i))
1093
1093
  return n(void 0, i);
1094
1094
  }
1095
- function r(E, i) {
1095
+ function r(c, i) {
1096
1096
  if (B.isUndefined(i)) {
1097
- if (!B.isUndefined(E))
1098
- return n(void 0, E);
1097
+ if (!B.isUndefined(c))
1098
+ return n(void 0, c);
1099
1099
  } else return n(void 0, i);
1100
1100
  }
1101
- function a(E, i, w) {
1101
+ function a(c, i, w) {
1102
1102
  if (w in e)
1103
- return n(E, i);
1103
+ return n(c, i);
1104
1104
  if (w in A)
1105
- return n(void 0, E);
1105
+ return n(void 0, c);
1106
1106
  }
1107
1107
  const g = {
1108
1108
  url: s,
@@ -1133,7 +1133,7 @@ function L(A, e) {
1133
1133
  socketPath: r,
1134
1134
  responseEncoding: r,
1135
1135
  validateStatus: a,
1136
- headers: (E, i, w) => o(WA(E), WA(i), w, !0)
1136
+ headers: (c, i, w) => o(WA(c), WA(i), w, !0)
1137
1137
  };
1138
1138
  return B.forEach(Object.keys({ ...A, ...e }), function(i) {
1139
1139
  const w = g[i] || o, C = w(A[i], e[i], i);
@@ -1141,22 +1141,22 @@ function L(A, e) {
1141
1141
  }), t;
1142
1142
  }
1143
1143
  const Qe = (A) => {
1144
- const e = L({}, A);
1144
+ const e = H({}, A);
1145
1145
  let { data: t, withXSRFToken: n, xsrfHeaderName: o, xsrfCookieName: s, headers: r, auth: a } = e;
1146
- if (e.headers = r = G.from(r), e.url = le(de(e.baseURL, e.url, e.allowAbsoluteUrls), A.params, A.paramsSerializer), a && r.set(
1146
+ if (e.headers = r = v.from(r), e.url = le(de(e.baseURL, e.url, e.allowAbsoluteUrls), A.params, A.paramsSerializer), a && r.set(
1147
1147
  "Authorization",
1148
1148
  "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
1149
1149
  ), B.isFormData(t)) {
1150
- if (k.hasStandardBrowserEnv || k.hasStandardBrowserWebWorkerEnv)
1150
+ if (b.hasStandardBrowserEnv || b.hasStandardBrowserWebWorkerEnv)
1151
1151
  r.setContentType(void 0);
1152
1152
  else if (B.isFunction(t.getHeaders)) {
1153
- const g = t.getHeaders(), E = ["content-type", "content-length"];
1153
+ const g = t.getHeaders(), c = ["content-type", "content-length"];
1154
1154
  Object.entries(g).forEach(([i, w]) => {
1155
- E.includes(i.toLowerCase()) && r.set(i, w);
1155
+ c.includes(i.toLowerCase()) && r.set(i, w);
1156
1156
  });
1157
1157
  }
1158
1158
  }
1159
- if (k.hasStandardBrowserEnv && (n && B.isFunction(n) && (n = n(e)), n || n !== !1 && An(e.url))) {
1159
+ if (b.hasStandardBrowserEnv && (n && B.isFunction(n) && (n = n(e)), n || n !== !1 && An(e.url))) {
1160
1160
  const g = o && s && en.read(s);
1161
1161
  g && r.set(o, g);
1162
1162
  }
@@ -1165,23 +1165,23 @@ const Qe = (A) => {
1165
1165
  return new Promise(function(t, n) {
1166
1166
  const o = Qe(A);
1167
1167
  let s = o.data;
1168
- const r = G.from(o.headers).normalize();
1169
- let { responseType: a, onUploadProgress: g, onDownloadProgress: E } = o, i, w, C, D, c;
1168
+ const r = v.from(o.headers).normalize();
1169
+ let { responseType: a, onUploadProgress: g, onDownloadProgress: c } = o, i, w, C, h, E;
1170
1170
  function u() {
1171
- D && D(), c && c(), o.cancelToken && o.cancelToken.unsubscribe(i), o.signal && o.signal.removeEventListener("abort", i);
1171
+ h && h(), E && E(), o.cancelToken && o.cancelToken.unsubscribe(i), o.signal && o.signal.removeEventListener("abort", i);
1172
1172
  }
1173
1173
  let l = new XMLHttpRequest();
1174
1174
  l.open(o.method.toUpperCase(), o.url, !0), l.timeout = o.timeout;
1175
- function h() {
1175
+ function D() {
1176
1176
  if (!l)
1177
1177
  return;
1178
- const p = G.from(
1178
+ const d = v.from(
1179
1179
  "getAllResponseHeaders" in l && l.getAllResponseHeaders()
1180
- ), T = {
1180
+ ), G = {
1181
1181
  data: !a || a === "text" || a === "json" ? l.responseText : l.response,
1182
1182
  status: l.status,
1183
1183
  statusText: l.statusText,
1184
- headers: p,
1184
+ headers: d,
1185
1185
  config: A,
1186
1186
  request: l
1187
1187
  };
@@ -1189,32 +1189,32 @@ const Qe = (A) => {
1189
1189
  t(Z), u();
1190
1190
  }, function(Z) {
1191
1191
  n(Z), u();
1192
- }, T), l = null;
1192
+ }, G), l = null;
1193
1193
  }
1194
- "onloadend" in l ? l.onloadend = h : l.onreadystatechange = function() {
1195
- !l || l.readyState !== 4 || l.status === 0 && !(l.responseURL && l.responseURL.indexOf("file:") === 0) || setTimeout(h);
1194
+ "onloadend" in l ? l.onloadend = D : l.onreadystatechange = function() {
1195
+ !l || l.readyState !== 4 || l.status === 0 && !(l.responseURL && l.responseURL.indexOf("file:") === 0) || setTimeout(D);
1196
1196
  }, l.onabort = function() {
1197
1197
  l && (n(new f("Request aborted", f.ECONNABORTED, A, l)), l = null);
1198
- }, l.onerror = function(d) {
1199
- const T = d && d.message ? d.message : "Network Error", P = new f(T, f.ERR_NETWORK, A, l);
1200
- P.event = d || null, n(P), l = null;
1198
+ }, l.onerror = function(S) {
1199
+ const G = S && S.message ? S.message : "Network Error", I = new f(G, f.ERR_NETWORK, A, l);
1200
+ I.event = S || null, n(I), l = null;
1201
1201
  }, l.ontimeout = function() {
1202
- let d = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1203
- const T = o.transitional || we;
1204
- o.timeoutErrorMessage && (d = o.timeoutErrorMessage), n(new f(
1205
- d,
1206
- T.clarifyTimeoutError ? f.ETIMEDOUT : f.ECONNABORTED,
1202
+ let S = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1203
+ const G = o.transitional || we;
1204
+ o.timeoutErrorMessage && (S = o.timeoutErrorMessage), n(new f(
1205
+ S,
1206
+ G.clarifyTimeoutError ? f.ETIMEDOUT : f.ECONNABORTED,
1207
1207
  A,
1208
1208
  l
1209
1209
  )), l = null;
1210
- }, s === void 0 && r.setContentType(null), "setRequestHeader" in l && B.forEach(r.toJSON(), function(d, T) {
1211
- l.setRequestHeader(T, d);
1212
- }), B.isUndefined(o.withCredentials) || (l.withCredentials = !!o.withCredentials), a && a !== "json" && (l.responseType = o.responseType), E && ([C, c] = wA(E, !0), l.addEventListener("progress", C)), g && l.upload && ([w, D] = wA(g), l.upload.addEventListener("progress", w), l.upload.addEventListener("loadend", D)), (o.cancelToken || o.signal) && (i = (p) => {
1213
- l && (n(!p || p.type ? new _(null, A, l) : p), l.abort(), l = null);
1210
+ }, s === void 0 && r.setContentType(null), "setRequestHeader" in l && B.forEach(r.toJSON(), function(S, G) {
1211
+ l.setRequestHeader(G, S);
1212
+ }), B.isUndefined(o.withCredentials) || (l.withCredentials = !!o.withCredentials), a && a !== "json" && (l.responseType = o.responseType), c && ([C, E] = wA(c, !0), l.addEventListener("progress", C)), g && l.upload && ([w, h] = wA(g), l.upload.addEventListener("progress", w), l.upload.addEventListener("loadend", h)), (o.cancelToken || o.signal) && (i = (d) => {
1213
+ l && (n(!d || d.type ? new K(null, A, l) : d), l.abort(), l = null);
1214
1214
  }, o.cancelToken && o.cancelToken.subscribe(i), o.signal && (o.signal.aborted ? i() : o.signal.addEventListener("abort", i)));
1215
- const S = Kt(o.url);
1216
- if (S && k.protocols.indexOf(S) === -1) {
1217
- n(new f("Unsupported protocol " + S + ":", f.ERR_BAD_REQUEST, A));
1215
+ const F = Kt(o.url);
1216
+ if (F && b.protocols.indexOf(F) === -1) {
1217
+ n(new f("Unsupported protocol " + F + ":", f.ERR_BAD_REQUEST, A));
1218
1218
  return;
1219
1219
  }
1220
1220
  l.send(s || null);
@@ -1223,22 +1223,22 @@ const Qe = (A) => {
1223
1223
  const { length: t } = A = A ? A.filter(Boolean) : [];
1224
1224
  if (e || t) {
1225
1225
  let n = new AbortController(), o;
1226
- const s = function(E) {
1226
+ const s = function(c) {
1227
1227
  if (!o) {
1228
1228
  o = !0, a();
1229
- const i = E instanceof Error ? E : this.reason;
1230
- n.abort(i instanceof f ? i : new _(i instanceof Error ? i.message : i));
1229
+ const i = c instanceof Error ? c : this.reason;
1230
+ n.abort(i instanceof f ? i : new K(i instanceof Error ? i.message : i));
1231
1231
  }
1232
1232
  };
1233
1233
  let r = e && setTimeout(() => {
1234
1234
  r = null, s(new f(`timeout ${e} of ms exceeded`, f.ETIMEDOUT));
1235
1235
  }, e);
1236
1236
  const a = () => {
1237
- A && (r && clearTimeout(r), r = null, A.forEach((E) => {
1238
- E.unsubscribe ? E.unsubscribe(s) : E.removeEventListener("abort", s);
1237
+ A && (r && clearTimeout(r), r = null, A.forEach((c) => {
1238
+ c.unsubscribe ? c.unsubscribe(s) : c.removeEventListener("abort", s);
1239
1239
  }), A = null);
1240
1240
  };
1241
- A.forEach((E) => E.addEventListener("abort", s));
1241
+ A.forEach((c) => c.addEventListener("abort", s));
1242
1242
  const { signal: g } = n;
1243
1243
  return g.unsubscribe = () => B.asap(a), g;
1244
1244
  }
@@ -1252,9 +1252,9 @@ const Qe = (A) => {
1252
1252
  for (; n < t; )
1253
1253
  o = n + e, yield A.slice(n, o), n = o;
1254
1254
  }, an = async function* (A, e) {
1255
- for await (const t of En(A))
1255
+ for await (const t of cn(A))
1256
1256
  yield* Bn(t, e);
1257
- }, En = async function* (A) {
1257
+ }, cn = async function* (A) {
1258
1258
  if (A[Symbol.asyncIterator]) {
1259
1259
  yield* A;
1260
1260
  return;
@@ -1278,8 +1278,8 @@ const Qe = (A) => {
1278
1278
  return new ReadableStream({
1279
1279
  async pull(g) {
1280
1280
  try {
1281
- const { done: E, value: i } = await o.next();
1282
- if (E) {
1281
+ const { done: c, value: i } = await o.next();
1282
+ if (c) {
1283
1283
  a(), g.close();
1284
1284
  return;
1285
1285
  }
@@ -1289,8 +1289,8 @@ const Qe = (A) => {
1289
1289
  t(C);
1290
1290
  }
1291
1291
  g.enqueue(new Uint8Array(i));
1292
- } catch (E) {
1293
- throw a(E), E;
1292
+ } catch (c) {
1293
+ throw a(c), c;
1294
1294
  }
1295
1295
  },
1296
1296
  cancel(g) {
@@ -1299,7 +1299,7 @@ const Qe = (A) => {
1299
1299
  }, {
1300
1300
  highWaterMark: 2
1301
1301
  });
1302
- }, LA = 64 * 1024, { isFunction: EA } = B, cn = (({ Request: A, Response: e }) => ({
1302
+ }, LA = 64 * 1024, { isFunction: cA } = B, En = (({ Request: A, Response: e }) => ({
1303
1303
  Request: A,
1304
1304
  Response: e
1305
1305
  }))(B.global), {
@@ -1314,133 +1314,133 @@ const Qe = (A) => {
1314
1314
  }, gn = (A) => {
1315
1315
  A = B.merge.call({
1316
1316
  skipUndefined: !0
1317
- }, cn, A);
1318
- const { fetch: e, Request: t, Response: n } = A, o = e ? EA(e) : typeof fetch == "function", s = EA(t), r = EA(n);
1317
+ }, En, A);
1318
+ const { fetch: e, Request: t, Response: n } = A, o = e ? cA(e) : typeof fetch == "function", s = cA(t), r = cA(n);
1319
1319
  if (!o)
1320
1320
  return !1;
1321
- const a = o && EA(xA), g = o && (typeof qA == "function" ? /* @__PURE__ */ ((c) => (u) => c.encode(u))(new qA()) : async (c) => new Uint8Array(await new t(c).arrayBuffer())), E = s && a && jA(() => {
1322
- let c = !1;
1323
- const u = new t(k.origin, {
1321
+ const a = o && cA(xA), g = o && (typeof qA == "function" ? /* @__PURE__ */ ((E) => (u) => E.encode(u))(new qA()) : async (E) => new Uint8Array(await new t(E).arrayBuffer())), c = s && a && jA(() => {
1322
+ let E = !1;
1323
+ const u = new t(b.origin, {
1324
1324
  body: new xA(),
1325
1325
  method: "POST",
1326
1326
  get duplex() {
1327
- return c = !0, "half";
1327
+ return E = !0, "half";
1328
1328
  }
1329
1329
  }).headers.has("Content-Type");
1330
- return c && !u;
1330
+ return E && !u;
1331
1331
  }), i = r && a && jA(() => B.isReadableStream(new n("").body)), w = {
1332
- stream: i && ((c) => c.body)
1332
+ stream: i && ((E) => E.body)
1333
1333
  };
1334
- o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((c) => {
1335
- !w[c] && (w[c] = (u, l) => {
1336
- let h = u && u[c];
1337
- if (h)
1338
- return h.call(u);
1339
- throw new f(`Response type '${c}' is not supported`, f.ERR_NOT_SUPPORT, l);
1334
+ o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((E) => {
1335
+ !w[E] && (w[E] = (u, l) => {
1336
+ let D = u && u[E];
1337
+ if (D)
1338
+ return D.call(u);
1339
+ throw new f(`Response type '${E}' is not supported`, f.ERR_NOT_SUPPORT, l);
1340
1340
  });
1341
1341
  });
1342
- const C = async (c) => {
1343
- if (c == null)
1342
+ const C = async (E) => {
1343
+ if (E == null)
1344
1344
  return 0;
1345
- if (B.isBlob(c))
1346
- return c.size;
1347
- if (B.isSpecCompliantForm(c))
1348
- return (await new t(k.origin, {
1345
+ if (B.isBlob(E))
1346
+ return E.size;
1347
+ if (B.isSpecCompliantForm(E))
1348
+ return (await new t(b.origin, {
1349
1349
  method: "POST",
1350
- body: c
1350
+ body: E
1351
1351
  }).arrayBuffer()).byteLength;
1352
- if (B.isArrayBufferView(c) || B.isArrayBuffer(c))
1353
- return c.byteLength;
1354
- if (B.isURLSearchParams(c) && (c = c + ""), B.isString(c))
1355
- return (await g(c)).byteLength;
1356
- }, D = async (c, u) => {
1357
- const l = B.toFiniteNumber(c.getContentLength());
1352
+ if (B.isArrayBufferView(E) || B.isArrayBuffer(E))
1353
+ return E.byteLength;
1354
+ if (B.isURLSearchParams(E) && (E = E + ""), B.isString(E))
1355
+ return (await g(E)).byteLength;
1356
+ }, h = async (E, u) => {
1357
+ const l = B.toFiniteNumber(E.getContentLength());
1358
1358
  return l ?? C(u);
1359
1359
  };
1360
- return async (c) => {
1360
+ return async (E) => {
1361
1361
  let {
1362
1362
  url: u,
1363
1363
  method: l,
1364
- data: h,
1365
- signal: S,
1366
- cancelToken: p,
1367
- timeout: d,
1368
- onDownloadProgress: T,
1369
- onUploadProgress: P,
1364
+ data: D,
1365
+ signal: F,
1366
+ cancelToken: d,
1367
+ timeout: S,
1368
+ onDownloadProgress: G,
1369
+ onUploadProgress: I,
1370
1370
  responseType: Z,
1371
- headers: $,
1372
- withCredentials: X = "same-origin",
1373
- fetchOptions: BA
1374
- } = Qe(c), AA = e || fetch;
1371
+ headers: L,
1372
+ withCredentials: x = "same-origin",
1373
+ fetchOptions: _
1374
+ } = Qe(E), rA = e || fetch;
1375
1375
  Z = Z ? (Z + "").toLowerCase() : "text";
1376
- let x = sn([S, p && p.toAbortSignal()], d), V = null;
1377
- const Y = x && x.unsubscribe && (() => {
1378
- x.unsubscribe();
1376
+ let N = sn([F, d && d.toAbortSignal()], S), V = null;
1377
+ const y = N && N.unsubscribe && (() => {
1378
+ N.unsubscribe();
1379
1379
  });
1380
- let q;
1380
+ let sA;
1381
1381
  try {
1382
- if (P && E && l !== "get" && l !== "head" && (q = await D($, h)) !== 0) {
1383
- let b = new t(u, {
1382
+ if (I && c && l !== "get" && l !== "head" && (sA = await h(L, D)) !== 0) {
1383
+ let M = new t(u, {
1384
1384
  method: "POST",
1385
- body: h,
1385
+ body: D,
1386
1386
  duplex: "half"
1387
- }), R;
1388
- if (B.isFormData(h) && (R = b.headers.get("content-type")) && $.setContentType(R), b.body) {
1389
- const [N, y] = NA(
1390
- q,
1391
- wA(XA(P))
1387
+ }), U;
1388
+ if (B.isFormData(D) && (U = M.headers.get("content-type")) && L.setContentType(U), M.body) {
1389
+ const [Y, aA] = NA(
1390
+ sA,
1391
+ wA(XA(I))
1392
1392
  );
1393
- h = HA(b.body, LA, N, y);
1393
+ D = HA(M.body, LA, Y, aA);
1394
1394
  }
1395
1395
  }
1396
- B.isString(X) || (X = X ? "include" : "omit");
1397
- const I = s && "credentials" in t.prototype, aA = {
1398
- ...BA,
1399
- signal: x,
1396
+ B.isString(x) || (x = x ? "include" : "omit");
1397
+ const T = s && "credentials" in t.prototype, BA = {
1398
+ ..._,
1399
+ signal: N,
1400
1400
  method: l.toUpperCase(),
1401
- headers: $.normalize().toJSON(),
1402
- body: h,
1401
+ headers: L.normalize().toJSON(),
1402
+ body: D,
1403
1403
  duplex: "half",
1404
- credentials: I ? X : void 0
1404
+ credentials: T ? x : void 0
1405
1405
  };
1406
- V = s && new t(u, aA);
1407
- let J = await (s ? AA(V, BA) : AA(u, aA));
1408
- const Q = i && (Z === "stream" || Z === "response");
1409
- if (i && (T || Q && Y)) {
1410
- const b = {};
1406
+ V = s && new t(u, BA);
1407
+ let Q = await (s ? rA(V, _) : rA(u, BA));
1408
+ const m = i && (Z === "stream" || Z === "response");
1409
+ if (i && (G || m && y)) {
1410
+ const M = {};
1411
1411
  ["status", "statusText", "headers"].forEach((GA) => {
1412
- b[GA] = J[GA];
1412
+ M[GA] = Q[GA];
1413
1413
  });
1414
- const R = B.toFiniteNumber(J.headers.get("content-length")), [N, y] = T && NA(
1415
- R,
1416
- wA(XA(T), !0)
1414
+ const U = B.toFiniteNumber(Q.headers.get("content-length")), [Y, aA] = G && NA(
1415
+ U,
1416
+ wA(XA(G), !0)
1417
1417
  ) || [];
1418
- J = new n(
1419
- HA(J.body, LA, N, () => {
1420
- y && y(), Y && Y();
1418
+ Q = new n(
1419
+ HA(Q.body, LA, Y, () => {
1420
+ aA && aA(), y && y();
1421
1421
  }),
1422
- b
1422
+ M
1423
1423
  );
1424
1424
  }
1425
1425
  Z = Z || "text";
1426
- let m = await w[B.findKey(w, Z) || "text"](J, c);
1427
- return !Q && Y && Y(), await new Promise((b, R) => {
1428
- fe(b, R, {
1429
- data: m,
1430
- headers: G.from(J.headers),
1431
- status: J.status,
1432
- statusText: J.statusText,
1433
- config: c,
1426
+ let z = await w[B.findKey(w, Z) || "text"](Q, E);
1427
+ return !m && y && y(), await new Promise((M, U) => {
1428
+ fe(M, U, {
1429
+ data: z,
1430
+ headers: v.from(Q.headers),
1431
+ status: Q.status,
1432
+ statusText: Q.statusText,
1433
+ config: E,
1434
1434
  request: V
1435
1435
  });
1436
1436
  });
1437
- } catch (I) {
1438
- throw Y && Y(), I && I.name === "TypeError" && /Load failed|fetch/i.test(I.message) ? Object.assign(
1439
- new f("Network Error", f.ERR_NETWORK, c, V),
1437
+ } catch (T) {
1438
+ throw y && y(), T && T.name === "TypeError" && /Load failed|fetch/i.test(T.message) ? Object.assign(
1439
+ new f("Network Error", f.ERR_NETWORK, E, V),
1440
1440
  {
1441
- cause: I.cause || I
1441
+ cause: T.cause || T
1442
1442
  }
1443
- ) : f.from(I, I && I.code, c, V);
1443
+ ) : f.from(T, T && T.code, E, V);
1444
1444
  }
1445
1445
  };
1446
1446
  }, ln = /* @__PURE__ */ new Map(), De = (A) => {
@@ -1450,10 +1450,10 @@ const Qe = (A) => {
1450
1450
  o,
1451
1451
  t
1452
1452
  ];
1453
- let r = s.length, a = r, g, E, i = ln;
1453
+ let r = s.length, a = r, g, c, i = ln;
1454
1454
  for (; a--; )
1455
- g = s[a], E = i.get(g), E === void 0 && i.set(g, E = a ? /* @__PURE__ */ new Map() : gn(e)), i = E;
1456
- return E;
1455
+ g = s[a], c = i.get(g), c === void 0 && i.set(g, c = a ? /* @__PURE__ */ new Map() : gn(e)), i = c;
1456
+ return c;
1457
1457
  };
1458
1458
  De();
1459
1459
  const bA = {
@@ -1489,7 +1489,7 @@ const KA = (A) => `- ${A}`, wn = (A) => B.isFunction(A) || A === null || A === !
1489
1489
  }
1490
1490
  if (!o) {
1491
1491
  const r = Object.entries(s).map(
1492
- ([g, E]) => `adapter ${g} ` + (E === !1 ? "is not supported by the environment" : "is not available in the build")
1492
+ ([g, c]) => `adapter ${g} ` + (c === !1 ? "is not supported by the environment" : "is not available in the build")
1493
1493
  );
1494
1494
  let a = t ? r.length > 1 ? `since :
1495
1495
  ` + r.map(KA).join(`
@@ -1505,24 +1505,24 @@ const KA = (A) => `- ${A}`, wn = (A) => B.isFunction(A) || A === null || A === !
1505
1505
  };
1506
1506
  function MA(A) {
1507
1507
  if (A.cancelToken && A.cancelToken.throwIfRequested(), A.signal && A.signal.aborted)
1508
- throw new _(null, A);
1508
+ throw new K(null, A);
1509
1509
  }
1510
1510
  function _A(A) {
1511
- return MA(A), A.headers = G.from(A.headers), A.data = mA.call(
1511
+ return MA(A), A.headers = v.from(A.headers), A.data = mA.call(
1512
1512
  A,
1513
1513
  A.transformRequest
1514
- ), ["post", "put", "patch"].indexOf(A.method) !== -1 && A.headers.setContentType("application/x-www-form-urlencoded", !1), he.getAdapter(A.adapter || sA.adapter, A)(A).then(function(n) {
1514
+ ), ["post", "put", "patch"].indexOf(A.method) !== -1 && A.headers.setContentType("application/x-www-form-urlencoded", !1), he.getAdapter(A.adapter || oA.adapter, A)(A).then(function(n) {
1515
1515
  return MA(A), n.data = mA.call(
1516
1516
  A,
1517
1517
  A.transformResponse,
1518
1518
  n
1519
- ), n.headers = G.from(n.headers), n;
1519
+ ), n.headers = v.from(n.headers), n;
1520
1520
  }, function(n) {
1521
1521
  return Ce(n) || (MA(A), n && n.response && (n.response.data = mA.call(
1522
1522
  A,
1523
1523
  A.transformResponse,
1524
1524
  n.response
1525
- ), n.response.headers = G.from(n.response.headers))), Promise.reject(n);
1525
+ ), n.response.headers = v.from(n.response.headers))), Promise.reject(n);
1526
1526
  });
1527
1527
  }
1528
1528
  const me = "1.12.2", QA = {};
@@ -1573,8 +1573,8 @@ function un(A, e, t) {
1573
1573
  const lA = {
1574
1574
  assertOptions: un,
1575
1575
  validators: QA
1576
- }, z = lA.validators;
1577
- let H = class {
1576
+ }, P = lA.validators;
1577
+ let W = class {
1578
1578
  constructor(e) {
1579
1579
  this.defaults = e || {}, this.interceptors = {
1580
1580
  request: new PA(),
@@ -1607,20 +1607,20 @@ let H = class {
1607
1607
  }
1608
1608
  }
1609
1609
  _request(e, t) {
1610
- typeof e == "string" ? (t = t || {}, t.url = e) : t = e || {}, t = L(this.defaults, t);
1610
+ typeof e == "string" ? (t = t || {}, t.url = e) : t = e || {}, t = H(this.defaults, t);
1611
1611
  const { transitional: n, paramsSerializer: o, headers: s } = t;
1612
1612
  n !== void 0 && lA.assertOptions(n, {
1613
- silentJSONParsing: z.transitional(z.boolean),
1614
- forcedJSONParsing: z.transitional(z.boolean),
1615
- clarifyTimeoutError: z.transitional(z.boolean)
1613
+ silentJSONParsing: P.transitional(P.boolean),
1614
+ forcedJSONParsing: P.transitional(P.boolean),
1615
+ clarifyTimeoutError: P.transitional(P.boolean)
1616
1616
  }, !1), o != null && (B.isFunction(o) ? t.paramsSerializer = {
1617
1617
  serialize: o
1618
1618
  } : lA.assertOptions(o, {
1619
- encode: z.function,
1620
- serialize: z.function
1619
+ encode: P.function,
1620
+ serialize: P.function
1621
1621
  }, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : t.allowAbsoluteUrls = !0), lA.assertOptions(t, {
1622
- baseUrl: z.spelling("baseURL"),
1623
- withXsrfToken: z.spelling("withXSRFToken")
1622
+ baseUrl: P.spelling("baseURL"),
1623
+ withXsrfToken: P.spelling("withXSRFToken")
1624
1624
  }, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
1625
1625
  let r = s && B.merge(
1626
1626
  s.common,
@@ -1628,55 +1628,55 @@ let H = class {
1628
1628
  );
1629
1629
  s && B.forEach(
1630
1630
  ["delete", "get", "head", "post", "put", "patch", "common"],
1631
- (c) => {
1632
- delete s[c];
1631
+ (E) => {
1632
+ delete s[E];
1633
1633
  }
1634
- ), t.headers = G.concat(r, s);
1634
+ ), t.headers = v.concat(r, s);
1635
1635
  const a = [];
1636
1636
  let g = !0;
1637
1637
  this.interceptors.request.forEach(function(u) {
1638
1638
  typeof u.runWhen == "function" && u.runWhen(t) === !1 || (g = g && u.synchronous, a.unshift(u.fulfilled, u.rejected));
1639
1639
  });
1640
- const E = [];
1640
+ const c = [];
1641
1641
  this.interceptors.response.forEach(function(u) {
1642
- E.push(u.fulfilled, u.rejected);
1642
+ c.push(u.fulfilled, u.rejected);
1643
1643
  });
1644
1644
  let i, w = 0, C;
1645
1645
  if (!g) {
1646
- const c = [_A.bind(this), void 0];
1647
- for (c.unshift(...a), c.push(...E), C = c.length, i = Promise.resolve(t); w < C; )
1648
- i = i.then(c[w++], c[w++]);
1646
+ const E = [_A.bind(this), void 0];
1647
+ for (E.unshift(...a), E.push(...c), C = E.length, i = Promise.resolve(t); w < C; )
1648
+ i = i.then(E[w++], E[w++]);
1649
1649
  return i;
1650
1650
  }
1651
1651
  C = a.length;
1652
- let D = t;
1652
+ let h = t;
1653
1653
  for (; w < C; ) {
1654
- const c = a[w++], u = a[w++];
1654
+ const E = a[w++], u = a[w++];
1655
1655
  try {
1656
- D = c(D);
1656
+ h = E(h);
1657
1657
  } catch (l) {
1658
1658
  u.call(this, l);
1659
1659
  break;
1660
1660
  }
1661
1661
  }
1662
1662
  try {
1663
- i = _A.call(this, D);
1664
- } catch (c) {
1665
- return Promise.reject(c);
1663
+ i = _A.call(this, h);
1664
+ } catch (E) {
1665
+ return Promise.reject(E);
1666
1666
  }
1667
- for (w = 0, C = E.length; w < C; )
1668
- i = i.then(E[w++], E[w++]);
1667
+ for (w = 0, C = c.length; w < C; )
1668
+ i = i.then(c[w++], c[w++]);
1669
1669
  return i;
1670
1670
  }
1671
1671
  getUri(e) {
1672
- e = L(this.defaults, e);
1672
+ e = H(this.defaults, e);
1673
1673
  const t = de(e.baseURL, e.url, e.allowAbsoluteUrls);
1674
1674
  return le(t, e.params, e.paramsSerializer);
1675
1675
  }
1676
1676
  };
1677
1677
  B.forEach(["delete", "get", "head", "options"], function(e) {
1678
- H.prototype[e] = function(t, n) {
1679
- return this.request(L(n || {}, {
1678
+ W.prototype[e] = function(t, n) {
1679
+ return this.request(H(n || {}, {
1680
1680
  method: e,
1681
1681
  url: t,
1682
1682
  data: (n || {}).data
@@ -1686,7 +1686,7 @@ B.forEach(["delete", "get", "head", "options"], function(e) {
1686
1686
  B.forEach(["post", "put", "patch"], function(e) {
1687
1687
  function t(n) {
1688
1688
  return function(s, r, a) {
1689
- return this.request(L(a || {}, {
1689
+ return this.request(H(a || {}, {
1690
1690
  method: e,
1691
1691
  headers: n ? {
1692
1692
  "Content-Type": "multipart/form-data"
@@ -1696,7 +1696,7 @@ B.forEach(["post", "put", "patch"], function(e) {
1696
1696
  }));
1697
1697
  };
1698
1698
  }
1699
- H.prototype[e] = t(), H.prototype[e + "Form"] = t(!0);
1699
+ W.prototype[e] = t(), W.prototype[e + "Form"] = t(!0);
1700
1700
  });
1701
1701
  let Cn = class Me {
1702
1702
  constructor(e) {
@@ -1722,7 +1722,7 @@ let Cn = class Me {
1722
1722
  n.unsubscribe(s);
1723
1723
  }, r;
1724
1724
  }, e(function(s, r, a) {
1725
- n.reason || (n.reason = new _(s, r, a), t(n.reason));
1725
+ n.reason || (n.reason = new K(s, r, a), t(n.reason));
1726
1726
  });
1727
1727
  }
1728
1728
  /**
@@ -1848,31 +1848,31 @@ Object.entries(FA).forEach(([A, e]) => {
1848
1848
  FA[e] = A;
1849
1849
  });
1850
1850
  function pe(A) {
1851
- const e = new H(A), t = ee(H.prototype.request, e);
1852
- return B.extend(t, H.prototype, e, { allOwnKeys: !0 }), B.extend(t, e, null, { allOwnKeys: !0 }), t.create = function(o) {
1853
- return pe(L(A, o));
1851
+ const e = new W(A), t = ee(W.prototype.request, e);
1852
+ return B.extend(t, W.prototype, e, { allOwnKeys: !0 }), B.extend(t, e, null, { allOwnKeys: !0 }), t.create = function(o) {
1853
+ return pe(H(A, o));
1854
1854
  }, t;
1855
1855
  }
1856
- const M = pe(sA);
1857
- M.Axios = H;
1858
- M.CanceledError = _;
1859
- M.CancelToken = Cn;
1860
- M.isCancel = Ce;
1861
- M.VERSION = me;
1862
- M.toFormData = dA;
1863
- M.AxiosError = f;
1864
- M.Cancel = M.CanceledError;
1865
- M.all = function(e) {
1856
+ const p = pe(oA);
1857
+ p.Axios = W;
1858
+ p.CanceledError = K;
1859
+ p.CancelToken = Cn;
1860
+ p.isCancel = Ce;
1861
+ p.VERSION = me;
1862
+ p.toFormData = dA;
1863
+ p.AxiosError = f;
1864
+ p.Cancel = p.CanceledError;
1865
+ p.all = function(e) {
1866
1866
  return Promise.all(e);
1867
1867
  };
1868
- M.spread = fn;
1869
- M.isAxiosError = dn;
1870
- M.mergeConfig = L;
1871
- M.AxiosHeaders = G;
1872
- M.formToJSON = (A) => ue(B.isHTMLForm(A) ? new FormData(A) : A);
1873
- M.getAdapter = he.getAdapter;
1874
- M.HttpStatusCode = FA;
1875
- M.default = M;
1868
+ p.spread = fn;
1869
+ p.isAxiosError = dn;
1870
+ p.mergeConfig = H;
1871
+ p.AxiosHeaders = v;
1872
+ p.formToJSON = (A) => ue(B.isHTMLForm(A) ? new FormData(A) : A);
1873
+ p.getAdapter = he.getAdapter;
1874
+ p.HttpStatusCode = FA;
1875
+ p.default = p;
1876
1876
  const {
1877
1877
  Axios: In,
1878
1878
  AxiosError: yn,
@@ -1890,7 +1890,7 @@ const {
1890
1890
  formToJSON: xn,
1891
1891
  getAdapter: qn,
1892
1892
  mergeConfig: jn
1893
- } = M, Qn = "Basic ", vA = M.create({
1893
+ } = p, Qn = "Basic ", vA = p.create({
1894
1894
  timeout: 3e4,
1895
1895
  responseType: "json"
1896
1896
  });
@@ -1933,65 +1933,65 @@ const Dn = "/lxlicence", hn = {
1933
1933
  default: "ws://10.110.145.131:8191/meta-human/stream-tts"
1934
1934
  }
1935
1935
  },
1936
- emits: ["error"],
1936
+ emits: ["error", "voice-stop-event"],
1937
1937
  setup(A, { expose: e, emit: t }) {
1938
- const n = t, o = A, s = O(!0), r = O(!1), a = O(null), g = O(""), E = O(""), i = O(!1), w = O(!1), C = O(0), D = O(0), c = O(!1), u = O(null), l = O(!1), h = Fe({
1938
+ const n = t, o = A, s = k(!0), r = k(!1), a = k(null), g = k(""), c = k(""), i = k(!1), w = k(!1), C = k(0), h = k(0), E = k(!1), u = k(null), l = Fe({
1939
1939
  mutedVolume: 0,
1940
1940
  playerVolume: 1
1941
- }), S = O("未连接"), p = O([]), d = O(null), T = TA(() => o.videoClosed), P = TA(() => o.videoOpened), Z = (Q, m = "") => {
1941
+ }), D = k("未连接"), F = k([]), d = k(null), S = TA(() => o.videoClosed), G = TA(() => o.videoOpened), I = (Q, m = "") => {
1942
1942
  Function(`window.console && console.log('${Q}', '${m}');`)();
1943
- }, $ = async () => {
1943
+ }, Z = async () => {
1944
1944
  try {
1945
- (await mn()).data.code === "0000" ? (Z("✅ 获取授权成功"), c.value = !0) : (Z("❌ 获取授权失败"), c.value = !1);
1945
+ (await mn()).data.code === "0000" ? (I("✅ 获取授权成功"), E.value = !0) : (I("❌ 获取授权失败"), E.value = !1);
1946
1946
  } catch (Q) {
1947
- Z("❌ 授权失败:", Q), n("error", "授权失败: " + Q), c.value = !1;
1947
+ I("❌ 授权失败:", Q), n("error", "授权失败: " + Q), E.value = !1;
1948
1948
  }
1949
- }, X = (Q) => {
1949
+ }, L = (Q) => {
1950
1950
  if (d.value) {
1951
1951
  const m = d.value.readyState;
1952
1952
  if (m === WebSocket.OPEN) {
1953
- S.value = "已连接";
1953
+ D.value = "已连接";
1954
1954
  return;
1955
1955
  } else if (m === WebSocket.CONNECTING) {
1956
- S.value = "连接中";
1956
+ D.value = "连接中";
1957
1957
  return;
1958
1958
  } else
1959
1959
  d.value.close();
1960
1960
  }
1961
1961
  d.value = new WebSocket(o.wsUrl), d.value.onopen = () => {
1962
- S.value = "已连接", console.log("✅ WebSocket 连接成功"), x();
1962
+ D.value = "已连接", console.log("✅ WebSocket 连接成功"), rA();
1963
1963
  }, d.value.onmessage = (m) => {
1964
- const b = m.data;
1965
- p.value.push(b), console.log("📩 收到消息:", b);
1964
+ const z = m.data;
1965
+ F.value.push(z), console.log("📩 收到消息:", z);
1966
1966
  try {
1967
- const R = JSON.parse(b);
1968
- if (R.info && R.info.speaker) {
1967
+ const M = JSON.parse(z);
1968
+ if (M.info && M.info.speaker) {
1969
1969
  if (a.value = o.spkId, !o.spkId) {
1970
- const N = R.info.speaker, y = Object.keys(N);
1971
- y.length > 0 && (a.value = y[0]);
1970
+ const U = M.info.speaker, Y = Object.keys(U);
1971
+ Y.length > 0 && (a.value = Y[0]);
1972
1972
  }
1973
1973
  console.log("spkId::", a.value);
1974
1974
  }
1975
- R.status === 0 && R.info && (i.value = !0, console.log("✅ TTS初始化成功"), Q !== "init" && V(o.content)), R.status === 1 && R.audio && !l.value && (console.log("✅ TTS 接收中..."), console.log("当前执行秒", (/* @__PURE__ */ new Date()).getSeconds()), aA(R.audio)), R.status === 2 && console.log("当前执行秒", (/* @__PURE__ */ new Date()).getSeconds());
1976
- } catch (R) {
1977
- console.error("解析消息失败:", R);
1975
+ M.status === 0 && M.info && (i.value = !0, console.log("✅ TTS初始化成功"), Q !== "init" && N(o.content)), M.status === 1 && M.audio && !w.value && (console.log("✅ TTS 接收中..."), console.log("当前执行秒", (/* @__PURE__ */ new Date()).getSeconds()), T(M.audio)), M.status === 2 && console.log("当前执行秒", (/* @__PURE__ */ new Date()).getSeconds());
1976
+ } catch (M) {
1977
+ console.error("解析消息失败:", M);
1978
1978
  }
1979
1979
  }, d.value.onclose = (m) => {
1980
- S.value = `已关闭 (代码: ${m.code})`, console.log("🔌 WebSocket 连接已关闭", m);
1980
+ D.value = `已关闭 (代码: ${m.code})`, console.log("🔌 WebSocket 连接已关闭", m);
1981
1981
  }, d.value.onerror = (m) => {
1982
- S.value = "发生错误", console.error("❌ WebSocket 错误:", m), n("error", "连接失败: " + m);
1982
+ D.value = "发生错误", console.error("❌ WebSocket 错误:", m), n("error", "连接失败: " + m);
1983
1983
  };
1984
- }, BA = () => {
1984
+ }, x = () => {
1985
1985
  r.value = !0, s.value = !1;
1986
- }, AA = () => {
1986
+ }, _ = () => {
1987
1987
  r.value = !1, s.value = !0;
1988
- }, x = () => {
1988
+ }, rA = () => {
1989
1989
  if (d.value && d.value.readyState === WebSocket.OPEN) {
1990
1990
  const Q = { task: "tts", signal: "start" };
1991
1991
  d.value.send(JSON.stringify(Q));
1992
1992
  } else
1993
1993
  console.error("请先初始化"), n("error", "请先初始化");
1994
- }, V = (Q) => {
1994
+ }, N = (Q) => {
1995
1995
  if (Q)
1996
1996
  if (d.value && d.value.readyState === WebSocket.OPEN) {
1997
1997
  const m = {
@@ -2005,13 +2005,13 @@ const Dn = "/lxlicence", hn = {
2005
2005
  d.value.send(JSON.stringify(m));
2006
2006
  } else
2007
2007
  console.error("请先初始化"), n("error", "请先初始化");
2008
- }, Y = () => {
2008
+ }, V = () => {
2009
2009
  if (console.log("关闭连接"), d.value && d.value.readyState === WebSocket.OPEN) {
2010
2010
  const Q = { task: "tts", signal: "end" };
2011
2011
  d.value.send(JSON.stringify(Q));
2012
2012
  }
2013
- }, q = () => {
2014
- if (!c.value)
2013
+ }, y = () => {
2014
+ if (!E.value)
2015
2015
  return n("error", "license未授权"), !1;
2016
2016
  try {
2017
2017
  return u.value = new Ne({
@@ -2019,42 +2019,44 @@ const Dn = "/lxlicence", hn = {
2019
2019
  channels: 1,
2020
2020
  sampleRate: 24e3,
2021
2021
  flushTime: 2e3,
2022
- onstatechange: (Q, m, b) => {
2023
- console.log("播放状态改变", b);
2022
+ onstatechange: (Q, m, z) => {
2023
+ console.log("播放状态改变", z);
2024
2024
  },
2025
2025
  onstart: () => {
2026
- console.log("开始播放onstart"), s.value && !w.value && BA(), C.value++, console.log("视频播放1::", C.value + "::" + D.value + "::" + w.value);
2026
+ console.log("开始播放onstart"), s.value && !w.value && x(), C.value++, console.log("视频播放1::", C.value + "::" + h.value + "::" + w.value);
2027
2027
  },
2028
2028
  onended: (Q, m) => {
2029
- console.log("播放结束onended", Q), console.log("当前执行秒", (/* @__PURE__ */ new Date()).getSeconds()), D.value++, console.log("视频播放2::", C.value, D.value), C.value === D.value && (console.log("停止说话了~~~"), AA(), l.value = !0);
2029
+ console.log("播放结束onended", Q), console.log("当前执行秒", (/* @__PURE__ */ new Date()).getSeconds()), h.value++, console.log("视频播放2::", C.value, h.value), C.value === h.value && (console.log("停止说话了~~~"), _(), setTimeout(() => {
2030
+ console.log("停止说话了~~~2::", C.value === h.value), C.value === h.value && n("voice-stop-event", !0);
2031
+ }, 1e3));
2030
2032
  }
2031
- }), u.value.volume(h.playerVolume), X("init"), !0;
2033
+ }), u.value.volume(l.playerVolume), L("init"), !0;
2032
2034
  } catch {
2033
2035
  return n("error", "请先初始化"), !1;
2034
2036
  }
2035
- }, I = () => {
2037
+ }, sA = () => {
2036
2038
  if (u.value)
2037
2039
  try {
2038
- l.value = !0, u.value.volume(h.mutedVolume), Y(), u.value.destroy(), w.value = !0, E.value = "", AA(), i.value = !1, q(), console.log("✅ 音频已停止");
2040
+ u.value.volume(l.mutedVolume), V(), u.value.destroy(), w.value = !0, c.value = "", _(), i.value = !1, y(), console.log("✅ 音频已停止"), n("voice-stop-event", !0);
2039
2041
  } catch (Q) {
2040
2042
  console.warn("停止音频时发生异常:", Q), n("error", "停止音频时发生异常");
2041
2043
  }
2042
- }, aA = (Q) => {
2044
+ }, T = (Q) => {
2043
2045
  if (!u.value) {
2044
2046
  console.log("receivePCMStream 音频未初始化");
2045
2047
  return;
2046
2048
  }
2047
2049
  Q = Q.replace(/=+$/, "");
2048
- const m = atob(Q), b = m.length, R = new ArrayBuffer(b), N = new Uint8Array(R);
2049
- for (let y = 0; y < b; y++)
2050
- N[y] = m.charCodeAt(y);
2051
- u.value.feed(N.buffer), E.value = "";
2052
- }, J = () => i;
2050
+ const m = atob(Q), z = m.length, M = new ArrayBuffer(z), U = new Uint8Array(M);
2051
+ for (let Y = 0; Y < z; Y++)
2052
+ U[Y] = m.charCodeAt(Y);
2053
+ u.value.feed(U.buffer), c.value = "";
2054
+ }, BA = () => i;
2053
2055
  return Ze(
2054
2056
  () => o.content,
2055
2057
  async (Q) => {
2056
2058
  if (Q) {
2057
- if (!c.value) {
2059
+ if (!E.value) {
2058
2060
  n("error", "license未授权");
2059
2061
  return;
2060
2062
  }
@@ -2062,22 +2064,22 @@ const Dn = "/lxlicence", hn = {
2062
2064
  console.error("请先初始化播放器"), n("error", "请先初始化播放器");
2063
2065
  return;
2064
2066
  }
2065
- w.value = !1, l.value = !1, C.value = 0, D.value = 0, i.value ? (E.value = "", V(Q)) : X();
2067
+ w.value = !1, C.value = 0, h.value = 0, i.value ? (c.value = "", N(Q)) : L();
2066
2068
  }
2067
2069
  },
2068
2070
  { immediate: !1 }
2069
2071
  ), ke(async () => {
2070
- g.value = Je(), await $(), q();
2072
+ g.value = Je(), await Z(), y();
2071
2073
  }), Oe(() => {
2072
- d.value && (Y(), u.value && u.value.destroy(), d.value.close());
2074
+ d.value && (V(), u.value && u.value.destroy(), d.value.close());
2073
2075
  }), e({
2074
- initAudioPlayer: q,
2075
- getWssConnectStatus: J,
2076
- stopAudioPlay: I
2076
+ initAudioPlayer: y,
2077
+ getWssConnectStatus: BA,
2078
+ stopAudioPlay: sA
2077
2079
  }), (Q, m) => (Ge(), ve("div", Sn, [
2078
2080
  IA(yA("video", {
2079
2081
  id: "mouth_closed_media_player",
2080
- src: T.value,
2082
+ src: S.value,
2081
2083
  playsinline: "",
2082
2084
  muted: "",
2083
2085
  loop: "",
@@ -2087,7 +2089,7 @@ const Dn = "/lxlicence", hn = {
2087
2089
  ]),
2088
2090
  IA(yA("video", {
2089
2091
  id: "mouth_opened_media_player",
2090
- src: P.value,
2092
+ src: G.value,
2091
2093
  playsinline: "",
2092
2094
  muted: "",
2093
2095
  loop: "",
@@ -2097,7 +2099,7 @@ const Dn = "/lxlicence", hn = {
2097
2099
  ])
2098
2100
  ]));
2099
2101
  }
2100
- }), tA = /* @__PURE__ */ Rn(Zn, [["__scopeId", "data-v-5d968d18"]]), Re = "0.6.6", Se = () => {
2102
+ }), AA = /* @__PURE__ */ Rn(Zn, [["__scopeId", "data-v-731b0eda"]]), Re = "0.6.8", Se = () => {
2101
2103
  Function(`
2102
2104
  window.console && console.log('%c灵犀数字人直播组件 iss-library-digital-video %cV${Re}', 'color: #3164F6;font-weight: 500;font-size: 12px;', 'color: #999;');
2103
2105
  `)();
@@ -2110,10 +2112,10 @@ const Dn = "/lxlicence", hn = {
2110
2112
  version: Re
2111
2113
  };
2112
2114
  };
2113
- tA.install = (A, e = {}) => {
2114
- A.component(tA.name, tA), Se(), be(e);
2115
+ AA.install = (A, e = {}) => {
2116
+ A.component(AA.name, AA), Se(), be(e);
2115
2117
  };
2116
- const kn = [tA], On = (A, e = { components: [] }, t, n = !0) => {
2118
+ const kn = [AA], On = (A, e = { components: [] }, t, n = !0) => {
2117
2119
  e = {
2118
2120
  components: [],
2119
2121
  ...e
@@ -2124,10 +2126,10 @@ const kn = [tA], On = (A, e = { components: [] }, t, n = !0) => {
2124
2126
  }), Se(), be(e);
2125
2127
  }, Kn = {
2126
2128
  install: On,
2127
- CoreDigital: tA
2129
+ CoreDigital: AA
2128
2130
  };
2129
2131
  export {
2130
- tA as CoreDigital,
2132
+ AA as CoreDigital,
2131
2133
  Kn as default,
2132
2134
  On as install
2133
2135
  };