@zyzgroup/core-web 0.1.33 → 0.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- function Vr() {
2
- return typeof window < "u" ? window : typeof global < "u" ? global : this || {};
1
+ function ei() {
2
+ return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : this || {};
3
3
  }
4
- const ei = (i) => {
4
+ const si = (i) => {
5
5
  let t = null;
6
6
  switch (i) {
7
7
  case "any-character":
@@ -42,7 +42,7 @@ const ei = (i) => {
42
42
  break;
43
43
  case "native-method":
44
44
  t = RegExp(
45
- "^" + Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(ei("regexp"), "\\$&").replace(
45
+ "^" + Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(si("regexp"), "\\$&").replace(
46
46
  /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
47
47
  "$1.*?"
48
48
  ) + "$"
@@ -140,8 +140,8 @@ const ei = (i) => {
140
140
  break;
141
141
  }
142
142
  return t;
143
- }, ee = (i, t) => (typeof i == "string" && (i = ei(i) || new RegExp(i)), i.test(t)), Gr = (i, t) => {
144
- typeof i == "string" && (i = ei(i) || new RegExp(i));
143
+ }, ee = (i, t) => (typeof i == "string" && (i = si(i) || new RegExp(i)), i.test(t)), Ur = (i, t) => {
144
+ typeof i == "string" && (i = si(i) || new RegExp(i));
145
145
  const e = t.match(i);
146
146
  return e ? i.flags.toLowerCase().indexOf("g") >= 0 ? e.map(
147
147
  (s) => ({
@@ -154,8 +154,8 @@ const ei = (i) => {
154
154
  fullMatch: e[0],
155
155
  groupMatchs: e.slice(1)
156
156
  } : null;
157
- }, qr = (i, t) => {
158
- typeof i == "string" && (i = ei(i) || new RegExp(i));
157
+ }, Vr = (i, t) => {
158
+ typeof i == "string" && (i = si(i) || new RegExp(i));
159
159
  const e = [], s = t.matchAll(i);
160
160
  for (const n of s)
161
161
  e.push({
@@ -169,11 +169,11 @@ function Wa(i) {
169
169
  const t = i.match(/[\s\S]/gu);
170
170
  return t ? t.length : 0;
171
171
  }
172
- function Gn(i, t) {
172
+ function Vn(i, t) {
173
173
  const e = i.codePointAt(t);
174
174
  return e ? String.fromCodePoint(e) : void 0;
175
175
  }
176
- function jr(i = 12) {
176
+ function Gr(i = 12) {
177
177
  const t = "ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789", e = t.length;
178
178
  let s = "";
179
179
  for (let n = 0; n < i; n++)
@@ -190,10 +190,10 @@ const yt = (i, t = "-") => {
190
190
  function Ja(i) {
191
191
  return i.replace(/(^\w|[_-]\w)/g, (t) => t.slice(-1).toUpperCase());
192
192
  }
193
- function Hr(i) {
193
+ function qr(i) {
194
194
  return Za(Ja(i));
195
195
  }
196
- function $r(i) {
196
+ function jr(i) {
197
197
  let t = "";
198
198
  for (let e = 0, s = i.length; e < s; e++) {
199
199
  const n = i.charCodeAt(e);
@@ -213,25 +213,25 @@ function Ka(i, t = !0) {
213
213
  );
214
214
  }
215
215
  const th = "[object String]", eh = "[object Symbol]";
216
- function Wr(i) {
216
+ function Hr(i) {
217
217
  return Object.prototype.toString.call(i);
218
218
  }
219
219
  function sh(i) {
220
220
  return i != null;
221
221
  }
222
222
  function ih(i) {
223
- return Wr(i) === th;
223
+ return Hr(i) === th;
224
224
  }
225
225
  function nh(i) {
226
226
  return i === i + 0;
227
227
  }
228
228
  function rh(i) {
229
- return Wr(i) === eh;
229
+ return Hr(i) === eh;
230
230
  }
231
- function Zr(i, ...t) {
231
+ function $r(i, ...t) {
232
232
  return new i.constructor(...t);
233
233
  }
234
- function qn(i, t) {
234
+ function Gn(i, t) {
235
235
  for (const e in i)
236
236
  Object.prototype.hasOwnProperty.call(i, e) && !t(e, i[e]) && delete i[e];
237
237
  return i;
@@ -255,26 +255,26 @@ function Te(i, t) {
255
255
  const e = i.findIndex((s) => s === t);
256
256
  return e >= 0 && i.splice(e, 1), i;
257
257
  }
258
- function Jr(i, t) {
258
+ function Wr(i, t) {
259
259
  return i.findIndex((e) => e == t) >= 0;
260
260
  }
261
261
  function ch(i, ...t) {
262
262
  return t.forEach((e) => {
263
- Jr(i, e) || i.push(e);
263
+ Wr(i, e) || i.push(e);
264
264
  }), i;
265
265
  }
266
- let jn;
266
+ let qn;
267
267
  try {
268
- jn = Map;
268
+ qn = Map;
269
269
  } catch {
270
- jn = function() {
270
+ qn = function() {
271
271
  };
272
272
  }
273
- let Hn;
273
+ let jn;
274
274
  try {
275
- Hn = Set;
275
+ jn = Set;
276
276
  } catch {
277
- Hn = function() {
277
+ jn = function() {
278
278
  };
279
279
  }
280
280
  function Rt(i, t) {
@@ -310,7 +310,7 @@ function Jt(i, t = 12) {
310
310
  return +fh(i, t);
311
311
  }
312
312
  function Yi(i, t) {
313
- const e = Gr("number-single", String(i));
313
+ const e = Ur("number-single", String(i));
314
314
  return {
315
315
  hasNumber: !!e,
316
316
  number: e && !Array.isArray(e) && e.fullMatch ? parseFloat(e.fullMatch) : sh(t) ? t : NaN,
@@ -318,8 +318,8 @@ function Yi(i, t) {
318
318
  suffix: e && !Array.isArray(e) && e.fullMatch ? i.substring(e.matchIndex + e.fullMatch.length) : ""
319
319
  };
320
320
  }
321
- function Qr(i) {
322
- const t = Gr("number", i);
321
+ function Zr(i) {
322
+ const t = Ur("number", i);
323
323
  return t ? Array.isArray(t) ? t.map((e) => Number(e.fullMatch)) : [Number(t.fullMatch)] : [];
324
324
  }
325
325
  const re = dh();
@@ -605,26 +605,22 @@ class ke {
605
605
  }
606
606
  }
607
607
  }
608
- let si = !1, nn = (i, t) => {
609
- };
610
- function sf() {
611
- si = !0;
612
- }
613
- function nf() {
614
- si = !1;
608
+ function Jr() {
609
+ return ei().openLog || !1;
615
610
  }
616
- function rf(i) {
617
- nn = i;
611
+ function Qr(i, t) {
612
+ const e = ei().logUploadFn;
613
+ e && e(i, t);
618
614
  }
619
615
  function Ce(i) {
620
- nn("info", i), si && (!console || typeof console != "object" || typeof console.log != "function" || console.log(i));
616
+ Qr("info", i), Jr() && (!console || typeof console != "object" || typeof console.log != "function" || console.log(i));
621
617
  }
622
618
  function vh(i) {
623
- nn("warn", i), si && (!console || typeof console != "object" || typeof console.warn != "function" || console.warn(i));
619
+ Qr("warn", i), Jr() && (!console || typeof console != "object" || typeof console.warn != "function" || console.warn(i));
624
620
  }
625
621
  const Xi = () => {
626
622
  };
627
- function rn(i, t = 3, e) {
623
+ function nn(i, t = 3, e) {
628
624
  return async function(...s) {
629
625
  let n;
630
626
  for (let r = 0; r < t; r++)
@@ -644,7 +640,7 @@ function rn(i, t = 3, e) {
644
640
  ), n;
645
641
  };
646
642
  }
647
- function on(i, t = 6e4) {
643
+ function rn(i, t = 6e4) {
648
644
  const e = new ke(), s = new ke();
649
645
  return async function(...n) {
650
646
  const r = Date.now();
@@ -690,10 +686,10 @@ class Ch {
690
686
  this.subscribers.forEach((t) => t());
691
687
  }
692
688
  }
693
- const $n = /* @__PURE__ */ new WeakMap();
689
+ const Hn = /* @__PURE__ */ new WeakMap();
694
690
  function zs(i, t) {
695
- let e = $n.get(i);
696
- e || (e = /* @__PURE__ */ new Map(), $n.set(i, e));
691
+ let e = Hn.get(i);
692
+ e || (e = /* @__PURE__ */ new Map(), Hn.set(i, e));
697
693
  let s = e.get(t);
698
694
  return s || (s = new Ch(), e.set(t, s)), s;
699
695
  }
@@ -701,7 +697,7 @@ function _h(i, t = !1) {
701
697
  return Object.keys(i).forEach((e) => {
702
698
  let s = i[e];
703
699
  if (t && typeof s == "object" && s !== null)
704
- i[e] = an(s, t);
700
+ i[e] = on(s, t);
705
701
  else {
706
702
  const n = zs(i, e);
707
703
  Object.defineProperty(i, e, {
@@ -726,14 +722,14 @@ function _h(i, t = !1) {
726
722
  function ii(i, t = !1) {
727
723
  return _h({ value: i }, t);
728
724
  }
729
- function an(i, t = !1) {
725
+ function on(i, t = !1) {
730
726
  const e = {
731
727
  // 拦截对象属性的读取
732
728
  // target 目标对象、key 键值、receiver 当前proxy实例
733
729
  get(n, r, o) {
734
730
  const a = Reflect.get(n, r, o);
735
731
  if (t && typeof a == "object" && a !== null && !("isYZReactiveProxy" in a)) {
736
- const c = an(a, t);
732
+ const c = on(a, t);
737
733
  c.YZReactiveProxyParentTarget = n, c.YZReactiveProxyParentKey = r, Reflect.set(o, r, c);
738
734
  }
739
735
  return zs(n, r).add(), Reflect.get(n, r, o);
@@ -794,7 +790,7 @@ function an(i, t = !1) {
794
790
  };
795
791
  return new Proxy(i, e);
796
792
  }
797
- const Kr = an;
793
+ const Kr = on;
798
794
  function Th(i = 3, t) {
799
795
  return function(e, s, n) {
800
796
  const r = `${e.constructor.name}.${String(s)}`, o = n.value;
@@ -802,7 +798,7 @@ function Th(i = 3, t) {
802
798
  throw new SyntaxError(
803
799
  `@Retry() can only be used on functions, not: ${r}`
804
800
  );
805
- const a = rn(o, i, t);
801
+ const a = nn(o, i, t);
806
802
  return {
807
803
  ...n,
808
804
  async value(...h) {
@@ -818,7 +814,7 @@ function Ph(i = 6e4) {
818
814
  throw new SyntaxError(
819
815
  `@Cache() can only be used on functions, not: ${n}`
820
816
  );
821
- const o = on(r, i);
817
+ const o = rn(r, i);
822
818
  return {
823
819
  ...s,
824
820
  async value(...a) {
@@ -847,11 +843,11 @@ function Eh() {
847
843
  i.resolve = t, i.reject = e;
848
844
  }), i;
849
845
  }
850
- let Wn;
846
+ let $n;
851
847
  try {
852
- Wn = Promise;
848
+ $n = Promise;
853
849
  } catch {
854
- Wn = function() {
850
+ $n = function() {
855
851
  };
856
852
  }
857
853
  function to(i) {
@@ -1015,7 +1011,7 @@ function so(i, t) {
1015
1011
  return i.apply(t, arguments);
1016
1012
  };
1017
1013
  }
1018
- const { toString: Ih } = Object.prototype, { getPrototypeOf: hn } = Object, ni = ((i) => (t) => {
1014
+ const { toString: Ih } = Object.prototype, { getPrototypeOf: an } = Object, ni = ((i) => (t) => {
1019
1015
  const e = Ih.call(t);
1020
1016
  return i[e] || (i[e] = e.slice(8, -1).toLowerCase());
1021
1017
  })(/* @__PURE__ */ Object.create(null)), Gt = (i) => (i = i.toLowerCase(), (t) => ni(t) === i), ri = (i) => (t) => typeof t === i, { isArray: He } = Array, cs = ri("undefined");
@@ -1030,7 +1026,7 @@ function Rh(i) {
1030
1026
  const Lh = ri("string"), Et = ri("function"), no = ri("number"), oi = (i) => i !== null && typeof i == "object", zh = (i) => i === !0 || i === !1, Os = (i) => {
1031
1027
  if (ni(i) !== "object")
1032
1028
  return !1;
1033
- const t = hn(i);
1029
+ const t = an(i);
1034
1030
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in i) && !(Symbol.iterator in i);
1035
1031
  }, Oh = Gt("Date"), Fh = Gt("File"), Nh = Gt("Blob"), Bh = Gt("FileList"), Yh = (i) => oi(i) && Et(i.pipe), Xh = (i) => {
1036
1032
  let t;
@@ -1084,7 +1080,7 @@ const $h = (i, t, e, { allOwnKeys: s } = {}) => (us(t, (n, r) => {
1084
1080
  do {
1085
1081
  for (n = Object.getOwnPropertyNames(i), r = n.length; r-- > 0; )
1086
1082
  o = n[r], (!s || s(o, i, t)) && !a[o] && (t[o] = i[o], a[o] = !0);
1087
- i = e !== !1 && hn(i);
1083
+ i = e !== !1 && an(i);
1088
1084
  } while (i && (!e || e(i, t)) && i !== Object.prototype);
1089
1085
  return t;
1090
1086
  }, Qh = (i, t, e) => {
@@ -1103,7 +1099,7 @@ const $h = (i, t, e, { allOwnKeys: s } = {}) => (us(t, (n, r) => {
1103
1099
  for (; t-- > 0; )
1104
1100
  e[t] = i[t];
1105
1101
  return e;
1106
- }, tc = ((i) => (t) => i && t instanceof i)(typeof Uint8Array < "u" && hn(Uint8Array)), ec = (i, t) => {
1102
+ }, tc = ((i) => (t) => i && t instanceof i)(typeof Uint8Array < "u" && an(Uint8Array)), ec = (i, t) => {
1107
1103
  const s = (i && i[Symbol.iterator]).call(i);
1108
1104
  let n;
1109
1105
  for (; (n = s.next()) && !n.done; ) {
@@ -1121,7 +1117,7 @@ const $h = (i, t, e, { allOwnKeys: s } = {}) => (us(t, (n, r) => {
1121
1117
  function(e, s, n) {
1122
1118
  return s.toUpperCase() + n;
1123
1119
  }
1124
- ), Zn = (({ hasOwnProperty: i }) => (t, e) => i.call(t, e))(Object.prototype), rc = Gt("RegExp"), ao = (i, t) => {
1120
+ ), Wn = (({ hasOwnProperty: i }) => (t, e) => i.call(t, e))(Object.prototype), rc = Gt("RegExp"), ao = (i, t) => {
1125
1121
  const e = Object.getOwnPropertyDescriptors(i), s = {};
1126
1122
  us(e, (n, r) => {
1127
1123
  let o;
@@ -1217,8 +1213,8 @@ const uc = (i) => {
1217
1213
  forEachEntry: ec,
1218
1214
  matchAll: sc,
1219
1215
  isHTMLForm: ic,
1220
- hasOwnProperty: Zn,
1221
- hasOwnProp: Zn,
1216
+ hasOwnProperty: Wn,
1217
+ hasOwnProp: Wn,
1222
1218
  // an alias to avoid ESLint no-prototype-builtins detection
1223
1219
  reduceDescriptors: ao,
1224
1220
  freezeMethods: oc,
@@ -1293,7 +1289,7 @@ function Vi(i) {
1293
1289
  function uo(i) {
1294
1290
  return E.endsWith(i, "[]") ? i.slice(0, -2) : i;
1295
1291
  }
1296
- function Jn(i, t, e) {
1292
+ function Zn(i, t, e) {
1297
1293
  return i ? i.concat(t).map(function(n, r) {
1298
1294
  return n = uo(n), !e && r ? "[" + n + "]" : n;
1299
1295
  }).join(e ? "." : "") : t;
@@ -1335,12 +1331,12 @@ function ai(i, t, e) {
1335
1331
  return S = uo(S), w.forEach(function(g, y) {
1336
1332
  !(E.isUndefined(g) || g === null) && t.append(
1337
1333
  // eslint-disable-next-line no-nested-ternary
1338
- o === !0 ? Jn([S], y, r) : o === null ? S : S + "[]",
1334
+ o === !0 ? Zn([S], y, r) : o === null ? S : S + "[]",
1339
1335
  c(g)
1340
1336
  );
1341
1337
  }), !1;
1342
1338
  }
1343
- return Vi(m) ? !0 : (t.append(Jn(v, S, r), c(m)), !1);
1339
+ return Vi(m) ? !0 : (t.append(Zn(v, S, r), c(m)), !1);
1344
1340
  }
1345
1341
  const u = [], f = Object.assign(yc, {
1346
1342
  defaultVisitor: l,
@@ -1366,7 +1362,7 @@ function ai(i, t, e) {
1366
1362
  throw new TypeError("data must be an object");
1367
1363
  return d(i), t;
1368
1364
  }
1369
- function Qn(i) {
1365
+ function Jn(i) {
1370
1366
  const t = {
1371
1367
  "!": "%21",
1372
1368
  "'": "%27",
@@ -1380,17 +1376,17 @@ function Qn(i) {
1380
1376
  return t[s];
1381
1377
  });
1382
1378
  }
1383
- function cn(i, t) {
1379
+ function hn(i, t) {
1384
1380
  this._pairs = [], i && ai(i, this, t);
1385
1381
  }
1386
- const fo = cn.prototype;
1382
+ const fo = hn.prototype;
1387
1383
  fo.append = function(t, e) {
1388
1384
  this._pairs.push([t, e]);
1389
1385
  };
1390
1386
  fo.toString = function(t) {
1391
1387
  const e = t ? function(s) {
1392
- return t.call(this, s, Qn);
1393
- } : Qn;
1388
+ return t.call(this, s, Jn);
1389
+ } : Jn;
1394
1390
  return this._pairs.map(function(n) {
1395
1391
  return e(n[0]) + "=" + e(n[1]);
1396
1392
  }, "").join("&");
@@ -1407,7 +1403,7 @@ function mo(i, t, e) {
1407
1403
  });
1408
1404
  const n = e && e.serialize;
1409
1405
  let r;
1410
- if (n ? r = n(t, e) : r = E.isURLSearchParams(t) ? t.toString() : new cn(t, e).toString(s), r) {
1406
+ if (n ? r = n(t, e) : r = E.isURLSearchParams(t) ? t.toString() : new hn(t, e).toString(s), r) {
1411
1407
  const o = i.indexOf("#");
1412
1408
  o !== -1 && (i = i.slice(0, o)), i += (i.indexOf("?") === -1 ? "?" : "&") + r;
1413
1409
  }
@@ -1467,11 +1463,11 @@ class wc {
1467
1463
  });
1468
1464
  }
1469
1465
  }
1470
- const Kn = wc, po = {
1466
+ const Qn = wc, po = {
1471
1467
  silentJSONParsing: !0,
1472
1468
  forcedJSONParsing: !0,
1473
1469
  clarifyTimeoutError: !1
1474
- }, bc = typeof URLSearchParams < "u" ? URLSearchParams : cn, Sc = typeof FormData < "u" ? FormData : null, vc = typeof Blob < "u" ? Blob : null, Cc = {
1470
+ }, bc = typeof URLSearchParams < "u" ? URLSearchParams : hn, Sc = typeof FormData < "u" ? FormData : null, vc = typeof Blob < "u" ? Blob : null, Cc = {
1475
1471
  isBrowser: !0,
1476
1472
  classes: {
1477
1473
  URLSearchParams: bc,
@@ -1479,10 +1475,10 @@ const Kn = wc, po = {
1479
1475
  Blob: vc
1480
1476
  },
1481
1477
  protocols: ["http", "https", "file", "blob", "url", "data"]
1482
- }, ln = typeof window < "u" && typeof document < "u", Gi = typeof navigator == "object" && navigator || void 0, _c = ln && (!Gi || ["ReactNative", "NativeScript", "NS"].indexOf(Gi.product) < 0), Tc = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1483
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Pc = ln && window.location.href || "http://localhost", Mc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1478
+ }, cn = typeof window < "u" && typeof document < "u", Gi = typeof navigator == "object" && navigator || void 0, _c = cn && (!Gi || ["ReactNative", "NativeScript", "NS"].indexOf(Gi.product) < 0), Tc = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1479
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Pc = cn && window.location.href || "http://localhost", Mc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1484
1480
  __proto__: null,
1485
- hasBrowserEnv: ln,
1481
+ hasBrowserEnv: cn,
1486
1482
  hasStandardBrowserEnv: _c,
1487
1483
  hasStandardBrowserWebWorkerEnv: Tc,
1488
1484
  navigator: Gi,
@@ -1536,7 +1532,7 @@ function Ic(i, t, e) {
1536
1532
  }
1537
1533
  return (e || JSON.stringify)(i);
1538
1534
  }
1539
- const un = {
1535
+ const ln = {
1540
1536
  transitional: po,
1541
1537
  adapter: ["xhr", "http", "fetch"],
1542
1538
  transformRequest: [function(t, e) {
@@ -1565,7 +1561,7 @@ const un = {
1565
1561
  return r || n ? (e.setContentType("application/json", !1), Ic(t)) : t;
1566
1562
  }],
1567
1563
  transformResponse: [function(t) {
1568
- const e = this.transitional || un.transitional, s = e && e.forcedJSONParsing, n = this.responseType === "json";
1564
+ const e = this.transitional || ln.transitional, s = e && e.forcedJSONParsing, n = this.responseType === "json";
1569
1565
  if (E.isResponse(t) || E.isReadableStream(t))
1570
1566
  return t;
1571
1567
  if (t && E.isString(t) && (s && !this.responseType || n)) {
@@ -1603,9 +1599,9 @@ const un = {
1603
1599
  }
1604
1600
  };
1605
1601
  E.forEach(["delete", "get", "head", "post", "put", "patch"], (i) => {
1606
- un.headers[i] = {};
1602
+ ln.headers[i] = {};
1607
1603
  });
1608
- const fn = un, Dc = E.toObjectSet([
1604
+ const un = ln, Dc = E.toObjectSet([
1609
1605
  "age",
1610
1606
  "authorization",
1611
1607
  "content-length",
@@ -1630,7 +1626,7 @@ const fn = un, Dc = E.toObjectSet([
1630
1626
  `).forEach(function(o) {
1631
1627
  n = o.indexOf(":"), e = o.substring(0, n).trim().toLowerCase(), s = o.substring(n + 1).trim(), !(!e || t[e] && Dc[e]) && (e === "set-cookie" ? t[e] ? t[e].push(s) : t[e] = [s] : t[e] = t[e] ? t[e] + ", " + s : s);
1632
1628
  }), t;
1633
- }, tr = Symbol("internals");
1629
+ }, Kn = Symbol("internals");
1634
1630
  function Qe(i) {
1635
1631
  return i && String(i).trim().toLowerCase();
1636
1632
  }
@@ -1777,7 +1773,7 @@ class hi {
1777
1773
  return e.forEach((n) => s.set(n)), s;
1778
1774
  }
1779
1775
  static accessor(t) {
1780
- const s = (this[tr] = this[tr] = {
1776
+ const s = (this[Kn] = this[Kn] = {
1781
1777
  accessors: {}
1782
1778
  }).accessors, n = this.prototype;
1783
1779
  function r(o) {
@@ -1800,7 +1796,7 @@ E.reduceDescriptors(hi.prototype, ({ value: i }, t) => {
1800
1796
  E.freezeMethods(hi);
1801
1797
  const Ut = hi;
1802
1798
  function Mi(i, t) {
1803
- const e = this || fn, s = t || e, n = Ut.from(s.headers);
1799
+ const e = this || un, s = t || e, n = Ut.from(s.headers);
1804
1800
  let r = s.data;
1805
1801
  return E.forEach(i, function(a) {
1806
1802
  r = a.call(e, r, n.normalize(), t ? t.status : void 0);
@@ -1876,14 +1872,14 @@ const Us = (i, t, e = 3) => {
1876
1872
  };
1877
1873
  i(u);
1878
1874
  }, e);
1879
- }, er = (i, t) => {
1875
+ }, tr = (i, t) => {
1880
1876
  const e = i != null;
1881
1877
  return [(s) => t[0]({
1882
1878
  lengthComputable: e,
1883
1879
  total: i,
1884
1880
  loaded: s
1885
1881
  }), t[1]];
1886
- }, sr = (i) => (...t) => E.asap(() => i(...t)), Xc = lt.hasStandardBrowserEnv ? ((i, t) => (e) => (e = new URL(e, lt.origin), i.protocol === e.protocol && i.host === e.host && (t || i.port === e.port)))(
1882
+ }, er = (i) => (...t) => E.asap(() => i(...t)), Xc = lt.hasStandardBrowserEnv ? ((i, t) => (e) => (e = new URL(e, lt.origin), i.protocol === e.protocol && i.host === e.host && (t || i.port === e.port)))(
1887
1883
  new URL(lt.origin),
1888
1884
  lt.navigator && /(msie|trident)/i.test(lt.navigator.userAgent)
1889
1885
  ) : () => !0, Uc = lt.hasStandardBrowserEnv ? (
@@ -1923,7 +1919,7 @@ function wo(i, t, e) {
1923
1919
  let s = !Vc(t);
1924
1920
  return i && (s || e == !1) ? Gc(i, t) : t;
1925
1921
  }
1926
- const ir = (i) => i instanceof Ut ? { ...i } : i;
1922
+ const sr = (i) => i instanceof Ut ? { ...i } : i;
1927
1923
  function Ie(i, t) {
1928
1924
  t = t || {};
1929
1925
  const e = {};
@@ -1983,7 +1979,7 @@ function Ie(i, t) {
1983
1979
  socketPath: o,
1984
1980
  responseEncoding: o,
1985
1981
  validateStatus: a,
1986
- headers: (c, l, u) => n(ir(c), ir(l), u, !0)
1982
+ headers: (c, l, u) => n(sr(c), sr(l), u, !0)
1987
1983
  };
1988
1984
  return E.forEach(Object.keys(Object.assign({}, i, t)), function(l) {
1989
1985
  const u = h[l] || n, f = u(i[l], t[l], l);
@@ -2119,7 +2115,7 @@ const bo = (i) => {
2119
2115
  } finally {
2120
2116
  await t.cancel();
2121
2117
  }
2122
- }, nr = (i, t, e, s) => {
2118
+ }, ir = (i, t, e, s) => {
2123
2119
  const n = Zc(i, t);
2124
2120
  let r = 0, o, a = (h) => {
2125
2121
  o || (o = !0, s && s(h));
@@ -2164,7 +2160,7 @@ const bo = (i) => {
2164
2160
  }
2165
2161
  }).headers.has("Content-Type");
2166
2162
  return i && !t;
2167
- }), rr = 64 * 1024, qi = So && vo(() => E.isReadableStream(new Response("").body)), Vs = {
2163
+ }), nr = 64 * 1024, qi = So && vo(() => E.isReadableStream(new Response("").body)), Vs = {
2168
2164
  stream: qi && ((i) => i.body)
2169
2165
  };
2170
2166
  ci && ((i) => {
@@ -2220,11 +2216,11 @@ const tl = async (i) => {
2220
2216
  duplex: "half"
2221
2217
  }), C;
2222
2218
  if (E.isFormData(s) && (C = _.headers.get("content-type")) && l.setContentType(C), _.body) {
2223
- const [D, X] = er(
2219
+ const [D, X] = tr(
2224
2220
  v,
2225
- Us(sr(h))
2221
+ Us(er(h))
2226
2222
  );
2227
- s = nr(_.body, rr, D, X);
2223
+ s = ir(_.body, nr, D, X);
2228
2224
  }
2229
2225
  }
2230
2226
  E.isString(u) || (u = u ? "include" : "omit");
@@ -2245,12 +2241,12 @@ const tl = async (i) => {
2245
2241
  ["status", "statusText", "headers"].forEach((V) => {
2246
2242
  _[V] = b[V];
2247
2243
  });
2248
- const C = E.toFiniteNumber(b.headers.get("content-length")), [D, X] = a && er(
2244
+ const C = E.toFiniteNumber(b.headers.get("content-length")), [D, X] = a && tr(
2249
2245
  C,
2250
- Us(sr(a), !0)
2246
+ Us(er(a), !0)
2251
2247
  ) || [];
2252
2248
  b = new Response(
2253
- nr(b.body, rr, D, () => {
2249
+ ir(b.body, nr, D, () => {
2254
2250
  X && X(), S && S();
2255
2251
  }),
2256
2252
  _
@@ -2290,7 +2286,7 @@ E.forEach(ji, (i, t) => {
2290
2286
  Object.defineProperty(i, "adapterName", { value: t });
2291
2287
  }
2292
2288
  });
2293
- const or = (i) => `- ${i}`, il = (i) => E.isFunction(i) || i === null || i === !1, Co = {
2289
+ const rr = (i) => `- ${i}`, il = (i) => E.isFunction(i) || i === null || i === !1, Co = {
2294
2290
  getAdapter: (i) => {
2295
2291
  i = E.isArray(i) ? i : [i];
2296
2292
  const { length: t } = i;
@@ -2310,8 +2306,8 @@ const or = (i) => `- ${i}`, il = (i) => E.isFunction(i) || i === null || i === !
2310
2306
  ([a, h]) => `adapter ${a} ` + (h === !1 ? "is not supported by the environment" : "is not available in the build")
2311
2307
  );
2312
2308
  let o = t ? r.length > 1 ? `since :
2313
- ` + r.map(or).join(`
2314
- `) : " " + or(r[0]) : "as no adapter specified";
2309
+ ` + r.map(rr).join(`
2310
+ `) : " " + rr(r[0]) : "as no adapter specified";
2315
2311
  throw new B(
2316
2312
  "There is no suitable adapter to dispatch the request " + o,
2317
2313
  "ERR_NOT_SUPPORT"
@@ -2325,11 +2321,11 @@ function Ei(i) {
2325
2321
  if (i.cancelToken && i.cancelToken.throwIfRequested(), i.signal && i.signal.aborted)
2326
2322
  throw new $e(null, i);
2327
2323
  }
2328
- function ar(i) {
2324
+ function or(i) {
2329
2325
  return Ei(i), i.headers = Ut.from(i.headers), i.data = Mi.call(
2330
2326
  i,
2331
2327
  i.transformRequest
2332
- ), ["post", "put", "patch"].indexOf(i.method) !== -1 && i.headers.setContentType("application/x-www-form-urlencoded", !1), Co.getAdapter(i.adapter || fn.adapter)(i).then(function(s) {
2328
+ ), ["post", "put", "patch"].indexOf(i.method) !== -1 && i.headers.setContentType("application/x-www-form-urlencoded", !1), Co.getAdapter(i.adapter || un.adapter)(i).then(function(s) {
2333
2329
  return Ei(i), s.data = Mi.call(
2334
2330
  i,
2335
2331
  i.transformResponse,
@@ -2349,7 +2345,7 @@ const _o = "1.8.4", li = {};
2349
2345
  return typeof s === i || "a" + (t < 1 ? "n " : " ") + i;
2350
2346
  };
2351
2347
  });
2352
- const hr = {};
2348
+ const ar = {};
2353
2349
  li.transitional = function(t, e, s) {
2354
2350
  function n(r, o) {
2355
2351
  return "[Axios v" + _o + "] Transitional option '" + r + "'" + o + (s ? ". " + s : "");
@@ -2360,7 +2356,7 @@ li.transitional = function(t, e, s) {
2360
2356
  n(o, " has been removed" + (e ? " in " + e : "")),
2361
2357
  B.ERR_DEPRECATED
2362
2358
  );
2363
- return e && !hr[o] && (hr[o] = !0, console.warn(
2359
+ return e && !ar[o] && (ar[o] = !0, console.warn(
2364
2360
  n(
2365
2361
  o,
2366
2362
  " has been deprecated since v" + e + " and will be removed in the near future"
@@ -2395,8 +2391,8 @@ const Ns = {
2395
2391
  class Gs {
2396
2392
  constructor(t) {
2397
2393
  this.defaults = t, this.interceptors = {
2398
- request: new Kn(),
2399
- response: new Kn()
2394
+ request: new Qn(),
2395
+ response: new Qn()
2400
2396
  };
2401
2397
  }
2402
2398
  /**
@@ -2461,7 +2457,7 @@ class Gs {
2461
2457
  });
2462
2458
  let l, u = 0, f;
2463
2459
  if (!h) {
2464
- const m = [ar.bind(this), void 0];
2460
+ const m = [or.bind(this), void 0];
2465
2461
  for (m.unshift.apply(m, a), m.push.apply(m, c), f = m.length, l = Promise.resolve(e); u < f; )
2466
2462
  l = l.then(m[u++], m[u++]);
2467
2463
  return l;
@@ -2478,7 +2474,7 @@ class Gs {
2478
2474
  }
2479
2475
  }
2480
2476
  try {
2481
- l = ar.call(this, d);
2477
+ l = or.call(this, d);
2482
2478
  } catch (m) {
2483
2479
  return Promise.reject(m);
2484
2480
  }
@@ -2517,7 +2513,7 @@ E.forEach(["post", "put", "patch"], function(t) {
2517
2513
  Gs.prototype[t] = e(), Gs.prototype[t + "Form"] = e(!0);
2518
2514
  });
2519
2515
  const Bs = Gs;
2520
- class dn {
2516
+ class fn {
2521
2517
  constructor(t) {
2522
2518
  if (typeof t != "function")
2523
2519
  throw new TypeError("executor must be a function.");
@@ -2584,14 +2580,14 @@ class dn {
2584
2580
  static source() {
2585
2581
  let t;
2586
2582
  return {
2587
- token: new dn(function(n) {
2583
+ token: new fn(function(n) {
2588
2584
  t = n;
2589
2585
  }),
2590
2586
  cancel: t
2591
2587
  };
2592
2588
  }
2593
2589
  }
2594
- const rl = dn;
2590
+ const rl = fn;
2595
2591
  function ol(i) {
2596
2592
  return function(e) {
2597
2593
  return i.apply(null, e);
@@ -2675,7 +2671,7 @@ function To(i) {
2675
2671
  return To(Ie(i, n));
2676
2672
  }, e;
2677
2673
  }
2678
- const et = To(fn);
2674
+ const et = To(un);
2679
2675
  et.Axios = Bs;
2680
2676
  et.CanceledError = $e;
2681
2677
  et.CancelToken = rl;
@@ -2813,7 +2809,7 @@ class pl {
2813
2809
  this.pendingRequestMap.clear();
2814
2810
  }
2815
2811
  }
2816
- const Eo = (i) => new XMLSerializer().serializeToString(i), of = (i, t = "text/html") => new DOMParser().parseFromString(i, t), gl = (i, t = pt.SVG, e = Xs.utf8) => sn(Eo(i), t, e);
2812
+ const Eo = (i) => new XMLSerializer().serializeToString(i), sf = (i, t = "text/html") => new DOMParser().parseFromString(i, t), gl = (i, t = pt.SVG, e = Xs.utf8) => sn(Eo(i), t, e);
2817
2813
  async function Ao(i = ["*"], t) {
2818
2814
  if (!document || !(document instanceof Document))
2819
2815
  throw new Error("This is not a browser environment");
@@ -2870,18 +2866,18 @@ function ui(i, t = Lt.text, e) {
2870
2866
  }
2871
2867
  });
2872
2868
  }
2873
- async function af(i) {
2869
+ async function nf(i) {
2874
2870
  const t = await ui(
2875
2871
  i,
2876
2872
  Lt.arraybuffer
2877
2873
  );
2878
2874
  return gh(t);
2879
2875
  }
2880
- const hf = (i) => {
2876
+ const rf = (i) => {
2881
2877
  let t;
2882
2878
  return i instanceof File ? t = i.name : t = i, t.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i)?.[1] || "";
2883
2879
  };
2884
- function cf(i) {
2880
+ function of(i) {
2885
2881
  switch (i.toLowerCase()) {
2886
2882
  case "jpg":
2887
2883
  case "jpeg":
@@ -2929,7 +2925,7 @@ async function yl(i, t = 1 * 1024 * 1024) {
2929
2925
  )
2930
2926
  );
2931
2927
  }
2932
- class lf {
2928
+ class af {
2933
2929
  axios;
2934
2930
  // 获取服务器端 文件 MD5 hash 地址
2935
2931
  checkURL;
@@ -2988,7 +2984,7 @@ class lf {
2988
2984
  this.timer && (clearInterval(this.timer), this.timer = void 0);
2989
2985
  }
2990
2986
  }
2991
- function uf(i, t) {
2987
+ function hf(i, t) {
2992
2988
  const e = ii(t?.value || "");
2993
2989
  if (!e.value) {
2994
2990
  const s = `; ${document.cookie}`.split(`; ${i}=`).pop()?.split(";").shift();
@@ -3001,7 +2997,7 @@ function uf(i, t) {
3001
2997
  }
3002
2998
  }), e;
3003
2999
  }
3004
- function ff() {
3000
+ function cf() {
3005
3001
  const i = document.cookie.split("; ");
3006
3002
  for (let t = 0; t < i.length; t++) {
3007
3003
  const e = window.location.hostname.split(".");
@@ -3031,10 +3027,10 @@ function xl(i, t) {
3031
3027
  window.localStorage.removeItem(i);
3032
3028
  }), e;
3033
3029
  }
3034
- function df() {
3030
+ function lf() {
3035
3031
  window.localStorage.clear();
3036
3032
  }
3037
- function mf(i, t) {
3033
+ function uf(i, t) {
3038
3034
  const e = ii(t || "");
3039
3035
  if (!t)
3040
3036
  try {
@@ -3056,7 +3052,7 @@ function wl(i, t) {
3056
3052
  let e;
3057
3053
  return i.objectStoreNames.contains(t) || (e = i.createObjectStore(t, { keyPath: "id" })), e;
3058
3054
  }
3059
- function pf(i, t = 1, e) {
3055
+ function ff(i, t = 1, e) {
3060
3056
  return new Promise((s, n) => {
3061
3057
  let r;
3062
3058
  const o = window.indexedDB.open(i, t);
@@ -3067,7 +3063,7 @@ function pf(i, t = 1, e) {
3067
3063
  };
3068
3064
  });
3069
3065
  }
3070
- function gf(i, t, e = { id: 1, name: "xxx" }) {
3066
+ function df(i, t, e = { id: 1, name: "xxx" }) {
3071
3067
  return new Promise((s, n) => {
3072
3068
  const r = i.transaction(
3073
3069
  [t],
@@ -3123,7 +3119,7 @@ const bl = [
3123
3119
  "dragleave",
3124
3120
  "drop"
3125
3121
  ], Tl = ["change"];
3126
- function yf(i, t, e = {
3122
+ function mf(i, t, e = {
3127
3123
  bubbles: !0,
3128
3124
  detail: {}
3129
3125
  }) {
@@ -3142,7 +3138,7 @@ function yf(i, t, e = {
3142
3138
  else
3143
3139
  throw new Error(`Can't fire event : ${t}`);
3144
3140
  }
3145
- function xf(i, t) {
3141
+ function pf(i, t) {
3146
3142
  const e = i.changedTouches[0];
3147
3143
  return new MouseEvent(t, {
3148
3144
  bubbles: !0,
@@ -3175,13 +3171,13 @@ function Pl(i) {
3175
3171
  } catch {
3176
3172
  }
3177
3173
  }
3178
- function wf(i, t) {
3174
+ function gf(i, t) {
3179
3175
  let e = document.createElement(i);
3180
3176
  t = "on" + t;
3181
3177
  let s = t in e;
3182
3178
  return s || (e.setAttribute(t, "return;"), s = typeof e[t] == "function"), e = null, s;
3183
3179
  }
3184
- function bf(i) {
3180
+ function yf(i) {
3185
3181
  if (document.implementation.hasFeature("MouseEvents", "2.0"))
3186
3182
  return i.button;
3187
3183
  switch (i.button) {
@@ -3198,12 +3194,12 @@ function bf(i) {
3198
3194
  return 1;
3199
3195
  }
3200
3196
  }
3201
- const mn = () => {
3197
+ const dn = () => {
3202
3198
  const i = navigator.userAgent.toLowerCase();
3203
3199
  let t = "Unknown";
3204
3200
  return /iphone|ipad|ipod/i.test(i) ? t = "iOS" : /android/i.test(i) ? t = "Android" : /BlackBerry/i.test(i) ? t = "BlackBerry" : /mac/i.test(i) ? t = "macOS" : /win/i.test(i) ? t = "Windows" : /linux/i.test(i) ? t = "Linux" : /bsd/i.test(i) && (t = "BSD"), t.toLowerCase();
3205
3201
  };
3206
- function Sf(i = navigator.userAgent) {
3202
+ function xf(i = navigator.userAgent) {
3207
3203
  let t = "Unknown";
3208
3204
  if (/iPhone|iPad|iPod/i.test(i)) {
3209
3205
  const e = i.match(/OS (\d+_\d+)/i);
@@ -3220,7 +3216,7 @@ function Sf(i = navigator.userAgent) {
3220
3216
  }
3221
3217
  return t.toLowerCase();
3222
3218
  }
3223
- function vf(i, t) {
3219
+ function wf(i, t) {
3224
3220
  const e = i.split("."), s = t.split(".");
3225
3221
  for (let n = 0, r = e.length; n < r; n++) {
3226
3222
  if (s.length == n)
@@ -3235,7 +3231,7 @@ function Io() {
3235
3231
  let t = "Unknown";
3236
3232
  return /opr/i.test(i) || /opera/i.test(i) ? t = "Opera" : /chrome/i.test(i) ? t = "Chrome" : /firefox/i.test(i) ? t = "Firefox" : /safari/i.test(i) ? t = "Safari" : /edge/i.test(i) ? t = "Edge" : /msie|trident/i.test(i) ? t = "IE" : /MicroMessenger/i.test(i) ? t = "Wechat" : /alipay/i.test(i) && (t = "Ali"), t.toLowerCase();
3237
3233
  }
3238
- const Cf = () => {
3234
+ const bf = () => {
3239
3235
  const i = navigator.userAgent;
3240
3236
  let t = "Unknown";
3241
3237
  if (/Chrome/.test(i)) {
@@ -3256,25 +3252,25 @@ const Cf = () => {
3256
3252
  }
3257
3253
  return t;
3258
3254
  };
3259
- function _f() {
3255
+ function Sf() {
3260
3256
  return (navigator.browserLanguage || navigator.language).toLowerCase();
3261
3257
  }
3262
- function Tf() {
3258
+ function vf() {
3263
3259
  return Intl.DateTimeFormat().resolvedOptions().timeZone.toLowerCase();
3264
3260
  }
3265
3261
  function Do() {
3266
- return mn() === "ios";
3262
+ return dn() === "ios";
3267
3263
  }
3268
3264
  function Ro() {
3269
- return mn() === "macos";
3265
+ return dn() === "macos";
3270
3266
  }
3271
- function Pf() {
3267
+ function Cf() {
3272
3268
  return Do() | Ro();
3273
3269
  }
3274
3270
  function Ml() {
3275
- return mn() === "android";
3271
+ return dn() === "android";
3276
3272
  }
3277
- function Mf() {
3273
+ function _f() {
3278
3274
  return Do() || Ml();
3279
3275
  }
3280
3276
  function El() {
@@ -3288,24 +3284,24 @@ function El() {
3288
3284
  const s = i.indexOf("Edge/");
3289
3285
  return s > 0 ? parseInt(i.substring(s + 5, i.indexOf(".", s)), 10) : -1;
3290
3286
  }
3291
- const Ef = El() !== -1, Af = document.documentMode ? document.documentMode === 9 : !1, kf = document.documentMode ? document.documentMode === 10 : !1, If = document.documentMode ? document.documentMode === 11 : !1;
3287
+ const Tf = El() !== -1, Pf = document.documentMode ? document.documentMode === 9 : !1, Mf = document.documentMode ? document.documentMode === 10 : !1, Ef = document.documentMode ? document.documentMode === 11 : !1;
3292
3288
  function Al() {
3293
3289
  return Io() === "wechat";
3294
3290
  }
3295
3291
  function kl() {
3296
3292
  return Io() === "ali";
3297
3293
  }
3298
- function Df() {
3294
+ function Af() {
3299
3295
  return Al() && navigator.userAgent.match(/miniprogram/i) || window.__wxjs_environment === "miniprogram";
3300
3296
  }
3301
- function Rf() {
3297
+ function kf() {
3302
3298
  return kl() && navigator.userAgent.match(/miniprogram/i);
3303
3299
  }
3304
- const Lf = typeof document < "u", Il = typeof window < "u", zf = typeof history < "u", Of = Il && window.File && window.FileReader && window.FileList && window.Blob, Dl = (() => {
3305
- const i = Vr();
3300
+ const If = typeof document < "u", Il = typeof window < "u", Df = typeof history < "u", Rf = Il && window.File && window.FileReader && window.FileList && window.Blob, Dl = (() => {
3301
+ const i = ei();
3306
3302
  return !!(i.Worker && i.Blob && i.Promise && i.OffscreenCanvas && i.OffscreenCanvasRenderingContext2D && i.HTMLCanvasElement && i.HTMLCanvasElement.prototype.transferControlToOffscreen && i.URL && i.URL.createObjectURL);
3307
- })(), Ff = typeof Path2D == "function" && typeof DOMMatrix == "function", Rl = function() {
3308
- if (!Vr().OffscreenCanvas)
3303
+ })(), Lf = typeof Path2D == "function" && typeof DOMMatrix == "function", Rl = function() {
3304
+ if (!ei().OffscreenCanvas)
3309
3305
  return !1;
3310
3306
  const t = new OffscreenCanvas(1, 1), e = t.getContext("2d");
3311
3307
  e.fillRect(0, 0, 1, 1);
@@ -3316,15 +3312,15 @@ const Lf = typeof document < "u", Il = typeof window < "u", zf = typeof history
3316
3312
  return !1;
3317
3313
  }
3318
3314
  return !0;
3319
- }(), Nf = typeof HTMLElement == "object" ? function(t) {
3315
+ }(), zf = typeof HTMLElement == "object" ? function(t) {
3320
3316
  return t instanceof HTMLElement;
3321
3317
  } : function(t) {
3322
3318
  return t && typeof t == "object" && t.nodeType === 1 && typeof t.nodeName == "string";
3323
- }, Bf = "webkit moz ms o".split(" ");
3319
+ }, Of = "webkit moz ms o".split(" ");
3324
3320
  function Ai(i) {
3325
3321
  return typeof i == "function" && /native code/.test(i.toString());
3326
3322
  }
3327
- function Yf() {
3323
+ function Ff() {
3328
3324
  return "ontouchstart" in window || "ontouchend" in document || navigator.maxTouchPoints > 0;
3329
3325
  }
3330
3326
  (function() {
@@ -3349,7 +3345,7 @@ function Lo(i) {
3349
3345
  t = !0;
3350
3346
  };
3351
3347
  }
3352
- function cr(i, t = 0) {
3348
+ function hr(i, t = 0) {
3353
3349
  if (t == 0)
3354
3350
  return i(Z()), () => {
3355
3351
  };
@@ -3358,20 +3354,20 @@ function cr(i, t = 0) {
3358
3354
  return Lo((s) => s - e >= t ? (i(s), !1) : !0);
3359
3355
  }
3360
3356
  }
3361
- function Xf(i, t = 0) {
3357
+ function Nf(i, t = 0) {
3362
3358
  let e = !1, s = 0;
3363
3359
  const n = Z(), r = (o) => {
3364
3360
  if (e)
3365
3361
  return;
3366
3362
  s++;
3367
3363
  const a = o - n - s * t;
3368
- i(o, s, t <= a), cr(r, Math.max(0, t - a));
3364
+ i(o, s, t <= a), hr(r, Math.max(0, t - a));
3369
3365
  };
3370
- return cr(r, t), () => {
3366
+ return hr(r, t), () => {
3371
3367
  e = !0;
3372
3368
  };
3373
3369
  }
3374
- function Uf(i, t = 20) {
3370
+ function Bf(i, t = 20) {
3375
3371
  const e = 1e3 / t;
3376
3372
  let s = 0, n;
3377
3373
  return () => (Z() - s >= e && (s = Z(), n = i()), n);
@@ -3425,7 +3421,7 @@ function Ol(i) {
3425
3421
  e < le && Se < le ? (e < 8 && (e = 8), le = e < Se ? Se : e) : e > le && Se > le ? le = e < Se ? Se : e : Se = e, qs = t + le, zl.postMessage(null);
3426
3422
  });
3427
3423
  }
3428
- function Vf(i) {
3424
+ function Yf(i) {
3429
3425
  if (typeof setImmediate < "u" && Ai(setImmediate))
3430
3426
  setImmediate(i);
3431
3427
  else if (typeof MessageChannel < "u" && (Ai(MessageChannel) || MessageChannel.toString() === "[object MessageChannelConstructor]")) {
@@ -3434,7 +3430,7 @@ function Vf(i) {
3434
3430
  } else
3435
3431
  typeof Promise < "u" && Ai(Promise) ? Promise.resolve().then(i) : setTimeout(i, 0);
3436
3432
  }
3437
- function Gf(i) {
3433
+ function Xf(i) {
3438
3434
  typeof queueMicrotask == "function" ? queueMicrotask(i) : Promise.resolve().then(i).catch(
3439
3435
  (t) => setTimeout(() => {
3440
3436
  throw t;
@@ -3763,10 +3759,10 @@ function jl(i) {
3763
3759
  const [t, e, s, n] = Uo(i);
3764
3760
  return [1 - s, 1 - n, 1 - t, 1 - e];
3765
3761
  }
3766
- function qf(i) {
3762
+ function Uf(i) {
3767
3763
  return Xo(...Uo(i));
3768
3764
  }
3769
- function jf(i) {
3765
+ function Vf(i) {
3770
3766
  return Xo(...jl(i));
3771
3767
  }
3772
3768
  const me = {
@@ -4097,7 +4093,7 @@ class Go {
4097
4093
  typeof s == "string" ? this._valuesStartRepeat[t] = this._valuesStartRepeat[t] + parseFloat(s) : this._valuesStartRepeat[t] = s, this._valuesEnd[t] = e;
4098
4094
  }
4099
4095
  }
4100
- const Hl = fs.nextId, $l = zt.getAll.bind(zt), Wl = zt.removeAll.bind(zt), Zl = zt.add.bind(zt), Jl = zt.remove.bind(zt), Ql = zt.update.bind(zt), Hf = {
4096
+ const Hl = fs.nextId, $l = zt.getAll.bind(zt), Wl = zt.removeAll.bind(zt), Zl = zt.add.bind(zt), Jl = zt.remove.bind(zt), Ql = zt.update.bind(zt), Gf = {
4101
4097
  now: Z,
4102
4098
  Sequence: fs,
4103
4099
  Easing: z,
@@ -4111,7 +4107,7 @@ const Hl = fs.nextId, $l = zt.getAll.bind(zt), Wl = zt.removeAll.bind(zt), Zl =
4111
4107
  remove: Jl,
4112
4108
  update: Ql
4113
4109
  };
4114
- class lr {
4110
+ class cr {
4115
4111
  autoStart;
4116
4112
  startTime;
4117
4113
  oldTime;
@@ -4142,7 +4138,7 @@ class lr {
4142
4138
  return t;
4143
4139
  }
4144
4140
  }
4145
- class pn {
4141
+ class mn {
4146
4142
  tweens = [];
4147
4143
  /// 异步任务队列
4148
4144
  // private taskQueue: AsyncTaskQueue = new AsyncTaskQueue(1);
@@ -4196,7 +4192,7 @@ class pn {
4196
4192
  };
4197
4193
  runTweens(t) {
4198
4194
  this.cancelRequestAnimationCycle();
4199
- const e = new lr(), s = this.frameDuration;
4195
+ const e = new cr(), s = this.frameDuration;
4200
4196
  return new Promise((n) => {
4201
4197
  this.onGroupStart?.(), this.cancelRequestAnimationCycle = Lo(
4202
4198
  (r) => {
@@ -4217,7 +4213,7 @@ class pn {
4217
4213
  });
4218
4214
  }
4219
4215
  isPaused = !1;
4220
- pausedClock = new lr();
4216
+ pausedClock = new cr();
4221
4217
  pausedDuration = 0;
4222
4218
  /// 注意传入的 tweens 为深拷贝新数据
4223
4219
  play(t = this.cloneTweens(this.tweens)) {
@@ -4242,17 +4238,17 @@ class pn {
4242
4238
  }
4243
4239
  }
4244
4240
  const Hs = new ke(), qo = (i = !0) => {
4245
- Hs.filter((t, e) => (e.alternate && (vn(e, e.alternate), i && Hs.set(t, e.alternate), e.alternate = void 0), i));
4241
+ Hs.filter((t, e) => (e.alternate && (Sn(e, e.alternate), i && Hs.set(t, e.alternate), e.alternate = void 0), i));
4246
4242
  };
4247
4243
  function jo(i) {
4248
4244
  let t = Hs.get(i);
4249
- return t || (t = Sn(i), Hs.set(i, t)), t;
4245
+ return t || (t = bn(i), Hs.set(i, t)), t;
4250
4246
  }
4251
4247
  function Ho(i) {
4252
4248
  const t = jo(i);
4253
- return t.alternate || (t.alternate = Sn(i)), t.alternate;
4249
+ return t.alternate || (t.alternate = bn(i)), t.alternate;
4254
4250
  }
4255
- function $f(i, t, e = !0) {
4251
+ function qf(i, t, e = !0) {
4256
4252
  t(Ho(i)), qo(e);
4257
4253
  }
4258
4254
  function $o(i, t, e = !0) {
@@ -4264,11 +4260,11 @@ function Y(i) {
4264
4260
  function gt(i) {
4265
4261
  return i * 180 / Math.PI;
4266
4262
  }
4267
- function gn(i, t, e = 0) {
4263
+ function pn(i, t, e = 0) {
4268
4264
  return Math.sqrt(i * i + t * t + e * e);
4269
4265
  }
4270
- function yn(i, t, e, s) {
4271
- return gn(e - i, s - t);
4266
+ function gn(i, t, e, s) {
4267
+ return pn(e - i, s - t);
4272
4268
  }
4273
4269
  function Di(i, t, e, s) {
4274
4270
  const n = e - i, r = s - t;
@@ -4284,7 +4280,7 @@ function Vt(i, t) {
4284
4280
  dy: Math.sin(i) * t
4285
4281
  };
4286
4282
  }
4287
- function Wf(i, t, e) {
4283
+ function jf(i, t, e) {
4288
4284
  if (typeof e == "number") {
4289
4285
  const s = Math.sqrt(Math.pow(i, 2) + Math.pow(t, 2) + Math.pow(e, 2));
4290
4286
  return {
@@ -4300,13 +4296,13 @@ function Wf(i, t, e) {
4300
4296
  };
4301
4297
  }
4302
4298
  }
4303
- function Zf(i, t, e, s, n = 10) {
4299
+ function Hf(i, t, e, s, n = 10) {
4304
4300
  if (Math.abs(e - i) < n && Math.abs(s - t) < n)
4305
4301
  return "no";
4306
4302
  const r = gt(De(i, t, e, s));
4307
4303
  return r >= -135 && r <= -45 ? "up" : r > 45 && r < 135 ? "down" : r >= 135 && r <= 180 || r >= -180 && r < -135 ? "left" : "right";
4308
4304
  }
4309
- const ur = Kl(
4305
+ const lr = Kl(
4310
4306
  "50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",
4311
4307
  32
4312
4308
  );
@@ -4466,7 +4462,7 @@ class Ri {
4466
4462
  this.__root.appendChild(s);
4467
4463
  }
4468
4464
  }
4469
- class fr {
4465
+ class ur {
4470
4466
  __root;
4471
4467
  __ctx;
4472
4468
  constructor(t, e) {
@@ -4565,7 +4561,7 @@ class $s {
4565
4561
  for (let r = 0; r < n.length; r++) {
4566
4562
  const o = Ke[n[r]], a = this[n[r]];
4567
4563
  if (o.apply) {
4568
- if (a instanceof fr) {
4564
+ if (a instanceof ur) {
4569
4565
  if (a.__ctx)
4570
4566
  for (; a.__ctx.__SVGdefs.childNodes.length; ) {
4571
4567
  const h = a.__ctx.__SVGdefs.childNodes[0].getAttribute("id");
@@ -4630,9 +4626,9 @@ class $s {
4630
4626
  'xmlns="http://www.w3.org/2000/svg',
4631
4627
  'xmlns:xlink="http://www.w3.org/1999/xlink'
4632
4628
  )), t) {
4633
- const n = Object.keys(ur);
4629
+ const n = Object.keys(lr);
4634
4630
  for (let r = 0, o = n.length; r < o; r++) {
4635
- const a = n[r], h = ur[a], c = new RegExp(a, "gi");
4631
+ const a = n[r], h = lr[a], c = new RegExp(a, "gi");
4636
4632
  c.test(e) && (e = e.replace(c, h));
4637
4633
  }
4638
4634
  }
@@ -5112,7 +5108,7 @@ class $s {
5112
5108
  ), s.appendChild(r), this.__SVGdefs.appendChild(s)) : t instanceof $s && (s.setAttribute("width", "" + t.width), s.setAttribute(
5113
5109
  "height",
5114
5110
  "" + t.height
5115
- ), s.appendChild(t.__rootSVG.childNodes[1]), this.__SVGdefs.appendChild(s)), new fr(s, this);
5111
+ ), s.appendChild(t.__rootSVG.childNodes[1]), this.__SVGdefs.appendChild(s)), new ur(s, this);
5116
5112
  }
5117
5113
  setLineDash(t) {
5118
5114
  t && t.length > 0 ? this.lineDash = t.join(",") : this.lineDash = null;
@@ -5467,7 +5463,7 @@ let fi = class {
5467
5463
  return isNaN(l) || isNaN(u) ? null : { x: l, y: u };
5468
5464
  }
5469
5465
  };
5470
- const dr = fi;
5466
+ const fr = fi;
5471
5467
  class Zi extends fi {
5472
5468
  // x方向的半径
5473
5469
  rx;
@@ -5740,7 +5736,7 @@ class xt extends fi {
5740
5736
  }
5741
5737
  }
5742
5738
  const os = Math.PI * 2;
5743
- function mr(i, t, e, s) {
5739
+ function dr(i, t, e, s) {
5744
5740
  const n = i * s - t * e < 0 ? -1 : 1;
5745
5741
  let r = i * e + t * s;
5746
5742
  return r > 1 && (r = 1), r < -1 && (r = -1), n * Math.acos(r);
@@ -5749,8 +5745,8 @@ function nu(i, t, e, s, n, r, o, a, h, c) {
5749
5745
  const l = c * (i - e) / 2 + h * (t - s) / 2, u = -h * (i - e) / 2 + c * (t - s) / 2, f = o * o, d = a * a, m = l * l, S = u * u;
5750
5746
  let v = f * d - f * S - d * m;
5751
5747
  v < 0 && (v = 0), v /= f * S + d * m, v = Math.sqrt(v) * (n === r ? -1 : 1);
5752
- const w = v * o / a * u, b = v * -a / o * l, g = c * w - h * b + (i + e) / 2, y = h * w + c * b + (t + s) / 2, _ = (l - w) / o, C = (u - b) / a, D = (-l - w) / o, X = (-u - b) / a, V = mr(1, 0, _, C);
5753
- let q = mr(_, C, D, X);
5748
+ const w = v * o / a * u, b = v * -a / o * l, g = c * w - h * b + (i + e) / 2, y = h * w + c * b + (t + s) / 2, _ = (l - w) / o, C = (u - b) / a, D = (-l - w) / o, X = (-u - b) / a, V = dr(1, 0, _, C);
5749
+ let q = dr(_, C, D, X);
5754
5750
  return r === 0 && q > 0 && (q -= os), r === 1 && q < 0 && (q += os), [g, y, V, q];
5755
5751
  }
5756
5752
  function ru(i, t) {
@@ -5837,16 +5833,16 @@ class Ye {
5837
5833
  return e && _e(s, e), s;
5838
5834
  }
5839
5835
  static createSvgPath(t, e) {
5840
- return this.createSVGElement("path", { d: t, id: e || jr() });
5836
+ return this.createSVGElement("path", { d: t, id: e || Gr() });
5841
5837
  }
5842
5838
  static downloadFromSVGElement(t, e = "shape") {
5843
- return Yr(
5839
+ return Br(
5844
5840
  gl(t),
5845
5841
  `${e}.svg`
5846
5842
  );
5847
5843
  }
5848
5844
  static downloadFromSVGString(t, e = "shape") {
5849
- return Yr(sn(t), `${e}.svg`);
5845
+ return Br(sn(t), `${e}.svg`);
5850
5846
  }
5851
5847
  static getSVGRawStringFromElement(t) {
5852
5848
  return Eo(t);
@@ -5882,7 +5878,7 @@ class Ye {
5882
5878
  /([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,
5883
5879
  (s, n, r) => {
5884
5880
  let o = n.toLowerCase();
5885
- const a = Qr(r);
5881
+ const a = Zr(r);
5886
5882
  for (o == "m" && a.length > As[o] && (e.push([
5887
5883
  n,
5888
5884
  ...a.splice(0, As[o])
@@ -6445,7 +6441,7 @@ class Pt {
6445
6441
  const t = this.polymorphPoints, e = t.length;
6446
6442
  let s = t[e - 2], n = t[e - 1], r = 0;
6447
6443
  for (let o = 0; o < e; o += 6)
6448
- r += yn(t[o], t[o + 1], s, n), s = t[o], n = t[o + 1];
6444
+ r += gn(t[o], t[o + 1], s, n), s = t[o], n = t[o + 1];
6449
6445
  return Math.floor(r);
6450
6446
  }
6451
6447
  expendFill(t) {
@@ -6523,7 +6519,7 @@ class H extends je {
6523
6519
  parent;
6524
6520
  shapes = [];
6525
6521
  constructor(t) {
6526
- if (super(), this.id = jr(), t?.d && (this.originD = t?.d), t?.originMatrix && (this.originMatrix = t.originMatrix), this.independentTransformInGroup = typeof t?.independentTransformInGroup == "boolean" ? t.independentTransformInGroup : !1, this.x = t?.x || 0, this.y = t?.y || 0, this.cX = 0, this.cY = 0, typeof t?.centerX == "number" && typeof t?.centerY == "number" && this.forceSetCXY(t.centerX - this.x, t.centerY - this.y), this.degree = t?.degree || 0, this.scalarX = 1, this.scalarY = 1, t?.scalar !== void 0 && (this.scalarX = t.scalar, this.scalarY = t.scalar), t?.scalarX !== void 0 && (this.scalarX = t.scalarX), t?.scalarY !== void 0 && (this.scalarY = t.scalarY), this.diffXInGroup = t?.diffXInGroup || 0, this.diffYInGroup = t?.diffYInGroup || 0, this.diffDegreeInGroup = t?.diffDegreeInGroup || 0, this.diffScalarXInGroup = t?.diffScalarXInGroup || 1, this.diffScalarYInGroup = t?.diffScalarYInGroup || 1, this.vx = t?.vx || 0, this.vy = t?.vy || 0, this.ax = t?.ax || 0, this.ay = t?.ay || 0, this.mass = t?.mass || 1, this.attrs = {
6522
+ if (super(), this.id = Gr(), t?.d && (this.originD = t?.d), t?.originMatrix && (this.originMatrix = t.originMatrix), this.independentTransformInGroup = typeof t?.independentTransformInGroup == "boolean" ? t.independentTransformInGroup : !1, this.x = t?.x || 0, this.y = t?.y || 0, this.cX = 0, this.cY = 0, typeof t?.centerX == "number" && typeof t?.centerY == "number" && this.forceSetCXY(t.centerX - this.x, t.centerY - this.y), this.degree = t?.degree || 0, this.scalarX = 1, this.scalarY = 1, t?.scalar !== void 0 && (this.scalarX = t.scalar, this.scalarY = t.scalar), t?.scalarX !== void 0 && (this.scalarX = t.scalarX), t?.scalarY !== void 0 && (this.scalarY = t.scalarY), this.diffXInGroup = t?.diffXInGroup || 0, this.diffYInGroup = t?.diffYInGroup || 0, this.diffDegreeInGroup = t?.diffDegreeInGroup || 0, this.diffScalarXInGroup = t?.diffScalarXInGroup || 1, this.diffScalarYInGroup = t?.diffScalarYInGroup || 1, this.vx = t?.vx || 0, this.vy = t?.vy || 0, this.ax = t?.ax || 0, this.ay = t?.ay || 0, this.mass = t?.mass || 1, this.attrs = {
6527
6523
  // "paint-order": "markers stroke fill", // 先 stroke 再 fill
6528
6524
  // "paint-order": "fill stroke markers", // default
6529
6525
  stroke: "none",
@@ -6531,7 +6527,7 @@ class H extends je {
6531
6527
  // "pointerEvents": "none",
6532
6528
  }, t?.attrs && this.setAttr(t?.attrs), this.enableDrag = t?.enableDrag || !1, this.alongPath = t?.alongPath, this.targetToAfterDragFree = t?.targetToAfterDragFree, this.followMouse = t?.followMouse || !1, this.isShow = typeof t?.isShow == "boolean" ? t?.isShow : !0, this.strokeArmyAnts = t?.strokeArmyAnts || !1, this.strokeArmyAnts) {
6533
6529
  const s = this.getAttr("stroke-dasharray", "4 4");
6534
- this.setAttr("stroke-dasharray", s), this.strokeDashTotalLength = Qr(
6530
+ this.setAttr("stroke-dasharray", s), this.strokeDashTotalLength = Zr(
6535
6531
  s
6536
6532
  ).reduce((n, r) => n + r, 0);
6537
6533
  }
@@ -6646,7 +6642,7 @@ class H extends je {
6646
6642
  return this.el instanceof SVGGeometryElement ? this.el.isPointInStroke(n) : !1;
6647
6643
  }
6648
6644
  clone() {
6649
- return Zr(this).copy(this);
6645
+ return $r(this).copy(this);
6650
6646
  }
6651
6647
  copy(t) {
6652
6648
  return this.id = t.id, this.originD = t.originD, this.originMatrix = t.originMatrix, this.independentTransformInGroup = t.independentTransformInGroup, this.x = t.x, this.y = t.y, this.cX = t.cX, this.cY = t.cY, this.degree = t.degree, this.scalarX = t.scalarX, this.scalarY = t.scalarY, this.diffXInGroup = t.diffXInGroup, this.diffYInGroup = t.diffYInGroup, this.diffDegreeInGroup = t.diffDegreeInGroup, this.diffScalarXInGroup = t.diffScalarXInGroup, this.diffScalarYInGroup = t.diffScalarYInGroup, this.vx = t.vx, this.vy = t.vy, this.ax = t.ax, this.ay = t.ay, this.mass = t.mass, this.attrs = {
@@ -6675,7 +6671,7 @@ class H extends je {
6675
6671
  return !!this.attrs[t] || !!this.attrs[yt(t)];
6676
6672
  }
6677
6673
  distance(t) {
6678
- return yn(this.x, this.y, t.x, t.y);
6674
+ return gn(this.x, this.y, t.x, t.y);
6679
6675
  }
6680
6676
  rotateTo(t) {
6681
6677
  this.degree = gt(De(this.x, this.y, t.x, t.y));
@@ -6746,7 +6742,7 @@ class H extends je {
6746
6742
  strokeDasharray: `${n} ${n}`,
6747
6743
  strokeDashoffset: `${n}`
6748
6744
  });
6749
- const r = e?.onUpdate, o = new pn({ frameDuration: t });
6745
+ const r = e?.onUpdate, o = new mn({ frameDuration: t });
6750
6746
  o.addTween(
6751
6747
  { offset: n },
6752
6748
  { offset: 0 },
@@ -6811,7 +6807,7 @@ class ks extends H {
6811
6807
  return this.x === t.x && this.y === t.y && this.z === t.z && this.radius === t.radius && this.mass === t.mass;
6812
6808
  }
6813
6809
  length() {
6814
- return gn(this.x, this.y, this.z);
6810
+ return pn(this.x, this.y, this.z);
6815
6811
  }
6816
6812
  distance(t) {
6817
6813
  const e = t.x - this.x, s = t.y - this.y, n = t.z - this.z;
@@ -6880,7 +6876,7 @@ class ks extends H {
6880
6876
  };
6881
6877
  }
6882
6878
  }
6883
- class xn {
6879
+ class yn {
6884
6880
  // x, y, z 表示旋转轴的方向
6885
6881
  _x;
6886
6882
  _y;
@@ -6948,7 +6944,7 @@ class xn {
6948
6944
  return this._x = t, this._y = e, this._z = s, this._w = n, this._onChangeCallback(), this;
6949
6945
  }
6950
6946
  clone() {
6951
- return new xn(this._x, this._y, this._z, this._w);
6947
+ return new yn(this._x, this._y, this._z, this._w);
6952
6948
  }
6953
6949
  copy(t) {
6954
6950
  return this._x = t.x, this._y = t.y, this._z = t.z, this._w = t.w, this._onChangeCallback(), this;
@@ -7286,7 +7282,7 @@ class di {
7286
7282
  }
7287
7283
  /// 相对于 v 的垂直分量
7288
7284
  perpendOnVector(t) {
7289
- return pr.copy(this).projectOnVector(t), this.sub(pr);
7285
+ return mr.copy(this).projectOnVector(t), this.sub(mr);
7290
7286
  }
7291
7287
  /// 模、范数、长度
7292
7288
  /// |P| >= 0
@@ -7445,10 +7441,10 @@ class Ot {
7445
7441
  return this.x = t.x * e.x, this.y = t.y * e.y, this.z = t.z * e.z, this;
7446
7442
  }
7447
7443
  applyEuler(t) {
7448
- return this.applyQuaternion(gr.setFromEuler(t));
7444
+ return this.applyQuaternion(pr.setFromEuler(t));
7449
7445
  }
7450
7446
  applyAxisAngle(t, e) {
7451
- return this.applyQuaternion(gr.setFromAxisAngle(t, e));
7447
+ return this.applyQuaternion(pr.setFromAxisAngle(t, e));
7452
7448
  }
7453
7449
  applyMatrix3(t) {
7454
7450
  const e = this.x, s = this.y, n = this.z, r = t.value;
@@ -7878,7 +7874,7 @@ class Zo {
7878
7874
  yield this.x, yield this.y, yield this.z, yield this.w;
7879
7875
  }
7880
7876
  }
7881
- const pr = new di(), Li = new Ot(), gr = new xn(), Is = 2e3, yr = 2001, xr = [1, 0, 0, 1], wr = [1, 0, 0, 1, 0, 0], br = [1, 0, 0, 0, 1, 0, 0, 0, 1], Sr = [
7877
+ const mr = new di(), Li = new Ot(), pr = new yn(), Is = 2e3, gr = 2001, yr = [1, 0, 0, 1], xr = [1, 0, 0, 1, 0, 0], wr = [1, 0, 0, 0, 1, 0, 0, 0, 1], br = [
7882
7878
  1,
7883
7879
  0,
7884
7880
  0,
@@ -7899,7 +7895,7 @@ const pr = new di(), Li = new Ot(), gr = new xn(), Is = 2e3, yr = 2001, xr = [1,
7899
7895
  class Jo {
7900
7896
  /// 按列顺序
7901
7897
  value;
7902
- constructor(t = xr) {
7898
+ constructor(t = yr) {
7903
7899
  this.value = Array.from(t);
7904
7900
  }
7905
7901
  get m11() {
@@ -7931,7 +7927,7 @@ class Jo {
7931
7927
  return this.m11 = t, this.m21 = e, this.m12 = s, this.m22 = n, this;
7932
7928
  }
7933
7929
  identity() {
7934
- return this.value = Array.from(xr), this;
7930
+ return this.value = Array.from(yr), this;
7935
7931
  }
7936
7932
  get isIdentity() {
7937
7933
  return this.m11 == 1 && this.m12 == 0 && this.m21 == 0 && this.m22 == 1;
@@ -7971,7 +7967,7 @@ class Jo {
7971
7967
  class ds {
7972
7968
  /// 按列顺序
7973
7969
  value;
7974
- constructor(t = br) {
7970
+ constructor(t = wr) {
7975
7971
  this.value = Array.from(t);
7976
7972
  }
7977
7973
  get m11() {
@@ -8034,7 +8030,7 @@ class ds {
8034
8030
  return l[0] = t, l[1] = n, l[2] = a, l[3] = e, l[4] = r, l[5] = h, l[6] = s, l[7] = o, l[8] = c, this;
8035
8031
  }
8036
8032
  identity() {
8037
- return this.value = Array.from(br), this;
8033
+ return this.value = Array.from(wr), this;
8038
8034
  }
8039
8035
  get isIdentity() {
8040
8036
  return this.m11 == 1 && this.m12 == 0 && this.m13 == 0 && this.m21 == 0 && this.m22 == 1 && this.m23 == 0 && this.m31 == 0 && this.m32 == 0 && this.m33 == 1;
@@ -8141,7 +8137,7 @@ class Tt {
8141
8137
  /// 按列顺序
8142
8138
  value;
8143
8139
  is3dSpecial = !1;
8144
- constructor(t = Sr) {
8140
+ constructor(t = br) {
8145
8141
  this.value = Array.from(t);
8146
8142
  }
8147
8143
  get m11() {
@@ -8252,7 +8248,7 @@ class Tt {
8252
8248
  return !this.is2D();
8253
8249
  }
8254
8250
  identity() {
8255
- return this.value = Array.from(Sr), this;
8251
+ return this.value = Array.from(br), this;
8256
8252
  }
8257
8253
  get isIdentity() {
8258
8254
  return this.m11 == 1 && this.m12 == 0 && this.m13 == 0 && this.m14 == 0 && this.m21 == 0 && this.m22 == 1 && this.m23 == 0 && this.m24 == 0 && this.m31 == 0 && this.m32 == 0 && this.m33 == 1 && this.m34 == 0 && this.m41 == 0 && this.m42 == 0 && this.m43 == 0 && this.m44 == 1;
@@ -8265,7 +8261,7 @@ class Tt {
8265
8261
  }
8266
8262
  // matrix4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1)
8267
8263
  static fromString(t) {
8268
- const e = new Tt(), s = qr("number", t);
8264
+ const e = new Tt(), s = Vr("number", t);
8269
8265
  return s.length === 16 && s.forEach((n, r) => {
8270
8266
  n.fullMatch && (e.value[r] = parseFloat(n.fullMatch));
8271
8267
  }), e;
@@ -8502,7 +8498,7 @@ class Tt {
8502
8498
  let d, m;
8503
8499
  if (a === Is)
8504
8500
  d = -(o + r) / (o - r), m = -2 * o * r / (o - r);
8505
- else if (a === yr)
8501
+ else if (a === gr)
8506
8502
  d = -o / (o - r), m = -o * r / (o - r);
8507
8503
  else
8508
8504
  throw new Error(
@@ -8515,7 +8511,7 @@ class Tt {
8515
8511
  let m, S;
8516
8512
  if (a === Is)
8517
8513
  m = (o + r) * u, S = -2 * u;
8518
- else if (a === yr)
8514
+ else if (a === gr)
8519
8515
  m = r * u, S = -1 * u;
8520
8516
  else
8521
8517
  throw new Error(
@@ -8680,7 +8676,7 @@ class Mt {
8680
8676
  _m23 = 0;
8681
8677
  _m33 = 1;
8682
8678
  matrix4;
8683
- constructor(t = wr) {
8679
+ constructor(t = xr) {
8684
8680
  this.value = Array.from(t), this.matrix4 = this.toMatrix4();
8685
8681
  }
8686
8682
  get m11() {
@@ -8739,7 +8735,7 @@ class Mt {
8739
8735
  }
8740
8736
  // matrix(1, 0, 0, 1, -50, -50)
8741
8737
  static fromString(t) {
8742
- const e = new Mt(), s = qr("number", t);
8738
+ const e = new Mt(), s = Vr("number", t);
8743
8739
  return s.length === 6 && s.forEach((n, r) => {
8744
8740
  n.fullMatch && (e.value[r] = parseFloat(n.fullMatch));
8745
8741
  }), e;
@@ -8766,7 +8762,7 @@ class Mt {
8766
8762
  return t ? (t.value = e, t) : new Tt(e);
8767
8763
  }
8768
8764
  identity() {
8769
- return this.value = Array.from(wr), this.m13 = 0, this.m23 = 0, this.m33 = 1, this.matrix4 = this.toMatrix4(), this;
8765
+ return this.value = Array.from(xr), this.m13 = 0, this.m23 = 0, this.m33 = 1, this.matrix4 = this.toMatrix4(), this;
8770
8766
  }
8771
8767
  get isIdentity() {
8772
8768
  return this.m11 == 1 && this.m12 == 0 && this.m13 == 0 && this.m21 == 0 && this.m22 == 1 && this.m23 == 0 && this.m31 == 0 && this.m32 == 0 && this.m33 == 1;
@@ -9108,13 +9104,13 @@ function Ko(i) {
9108
9104
  ]);
9109
9105
  return c.multiplySelf(new DOMMatrix(i?.originMatrix || "")), c;
9110
9106
  }
9111
- function Qf(i, t) {
9107
+ function Wf(i, t) {
9112
9108
  const e = new Path2D(i), s = new Path2D();
9113
9109
  return s.addPath(e, Ko(t)), s;
9114
9110
  }
9115
9111
  function Xe(i, t, e) {
9116
9112
  const s = jo(i);
9117
- return s.props.style = s.props.style || {}, t ? s.props.style[t] || s.props.style[Hr(t)] || s.props.style[yt(t)] || "" : s.props.style;
9113
+ return s.props.style = s.props.style || {}, t ? s.props.style[t] || s.props.style[qr(t)] || s.props.style[yt(t)] || "" : s.props.style;
9118
9114
  }
9119
9115
  function ta(i, t, e) {
9120
9116
  $o(
@@ -9143,7 +9139,7 @@ function ea(i) {
9143
9139
  s && n && (t[s.trim()] = n.trim());
9144
9140
  }), t;
9145
9141
  }
9146
- function Kf(i, t, e) {
9142
+ function Zf(i, t, e) {
9147
9143
  let s = i.style[t] || "";
9148
9144
  if (!s && getComputedStyle) {
9149
9145
  t = yt(t);
@@ -9152,13 +9148,13 @@ function Kf(i, t, e) {
9152
9148
  }
9153
9149
  return s || (s = i.currentStyle[t] || ""), s;
9154
9150
  }
9155
- function wn(i, t, e) {
9151
+ function xn(i, t, e) {
9156
9152
  typeof t == "string" && e ? i.style.setProperty(
9157
9153
  yt(t),
9158
9154
  e.replace(/!important/i, ""),
9159
9155
  e.toLowerCase().includes("!important") ? "important" : ""
9160
9156
  ) : t instanceof Object && Object.keys(t).forEach((s) => {
9161
- wn(i, s, t[s]);
9157
+ xn(i, s, t[s]);
9162
9158
  });
9163
9159
  }
9164
9160
  function sa(i, t) {
@@ -9185,7 +9181,7 @@ function cu(i, t) {
9185
9181
  };
9186
9182
  }
9187
9183
  }
9188
- function td(i, t, e = {}) {
9184
+ function Jf(i, t, e = {}) {
9189
9185
  Object.prototype.hasOwnProperty.call(e, "transform") || Object.assign(e, {
9190
9186
  transform: Xe(i, "transform") || ""
9191
9187
  });
@@ -9379,7 +9375,7 @@ function _e(i, t, e) {
9379
9375
  });
9380
9376
  });
9381
9377
  }
9382
- const ed = ["-o-", "-ms-", "-moz-", "-webkit-", ""];
9378
+ const Qf = ["-o-", "-ms-", "-moz-", "-webkit-", ""];
9383
9379
  function ia(i) {
9384
9380
  const t = {};
9385
9381
  for (let e = 0, s = i.attributes, n = s.length; e < n; e++) {
@@ -9394,13 +9390,13 @@ function lu(i, t) {
9394
9390
  function ls(i, t, e) {
9395
9391
  return i.setAttribute(yt(t), "" + e);
9396
9392
  }
9397
- function sd(i, t) {
9393
+ function Kf(i, t) {
9398
9394
  t.split(/[,\s]+/i).forEach((e) => {
9399
9395
  const s = yt(e.trim());
9400
9396
  s != "" && i.removeAttribute(s);
9401
9397
  });
9402
9398
  }
9403
- function id(i, t) {
9399
+ function td(i, t) {
9404
9400
  ls(i, "draggable", "true");
9405
9401
  const e = [];
9406
9402
  return e.push(
@@ -9426,7 +9422,7 @@ function id(i, t) {
9426
9422
  e.forEach((s) => s());
9427
9423
  };
9428
9424
  }
9429
- function nd(i, t) {
9425
+ function ed(i, t) {
9430
9426
  const e = [];
9431
9427
  return e.push(
9432
9428
  N(i, "dragenter", (s) => {
@@ -9456,7 +9452,7 @@ function nd(i, t) {
9456
9452
  e.forEach((s) => s());
9457
9453
  };
9458
9454
  }
9459
- function rd() {
9455
+ function sd() {
9460
9456
  return {
9461
9457
  screenWidth: window.screen.width,
9462
9458
  screenHeight: window.screen.height,
@@ -9488,7 +9484,7 @@ function mi() {
9488
9484
  offsetParent: i.offsetParent
9489
9485
  };
9490
9486
  }
9491
- function od() {
9487
+ function id() {
9492
9488
  const i = document.body;
9493
9489
  return {
9494
9490
  clientWidth: i.clientWidth,
@@ -9518,7 +9514,7 @@ function uu() {
9518
9514
  height: document.body.clientHeight
9519
9515
  };
9520
9516
  }
9521
- function ad() {
9517
+ function nd() {
9522
9518
  const { scrollWidth: i, scrollHeight: t } = mi();
9523
9519
  return {
9524
9520
  // width: Math.min(scrollWidth, contentWidth),
@@ -9526,7 +9522,7 @@ function ad() {
9526
9522
  height: t
9527
9523
  };
9528
9524
  }
9529
- function vr(i) {
9525
+ function Sr(i) {
9530
9526
  const { top: t, left: e, width: s, height: n } = i.getBoundingClientRect(), { scrollLeft: r, scrollTop: o } = mi();
9531
9527
  return {
9532
9528
  x: e + r,
@@ -9535,7 +9531,7 @@ function vr(i) {
9535
9531
  height: n
9536
9532
  };
9537
9533
  }
9538
- function hd(i) {
9534
+ function rd(i) {
9539
9535
  let t = i, e = 0, s = 0;
9540
9536
  for (; t !== null; )
9541
9537
  e += t.offsetLeft, s += t.offsetTop, t.offsetParent instanceof HTMLElement ? t = t.offsetParent : t = null;
@@ -9549,7 +9545,7 @@ function hd(i) {
9549
9545
  function fu(i) {
9550
9546
  return i.getBoundingClientRect();
9551
9547
  }
9552
- function cd(i) {
9548
+ function od(i) {
9553
9549
  const t = i.getBoundingClientRect();
9554
9550
  return {
9555
9551
  x: i.offsetLeft,
@@ -9558,7 +9554,7 @@ function cd(i) {
9558
9554
  height: t.height || t.bottom - t.top
9559
9555
  };
9560
9556
  }
9561
- function ld() {
9557
+ function ad() {
9562
9558
  const { clientHeight: i, scrollTop: t, scrollHeight: e } = mi(), s = e - i;
9563
9559
  return s <= 0 ? 0 : t / s * 100;
9564
9560
  }
@@ -9591,7 +9587,7 @@ function du() {
9591
9587
  }
9592
9588
  };
9593
9589
  }
9594
- function ud(i) {
9590
+ function hd(i) {
9595
9591
  if ("center" in i) {
9596
9592
  const t = i.center, e = fu(i.target);
9597
9593
  return {
@@ -9604,7 +9600,7 @@ function ud(i) {
9604
9600
  y: i.clientY
9605
9601
  };
9606
9602
  }
9607
- function Cr(i) {
9603
+ function vr(i) {
9608
9604
  if ("center" in i)
9609
9605
  return i.center;
9610
9606
  if (typeof i.pageX == "number" && typeof i.pageY == "number")
@@ -9624,7 +9620,7 @@ function ts(i, t) {
9624
9620
  y: 0
9625
9621
  };
9626
9622
  if (t) {
9627
- const s = Cr(i), n = vr(t);
9623
+ const s = vr(i), n = Sr(t);
9628
9624
  e.x = O(s.x - n.x, 0, n.width), e.y = O(s.y - n.y, 0, n.height);
9629
9625
  } else {
9630
9626
  let s = 0, n = 0;
@@ -9635,7 +9631,7 @@ function ts(i, t) {
9635
9631
  if ("offsetX" in i)
9636
9632
  e.x = i.offsetX + s, e.y = i.offsetY + n;
9637
9633
  else {
9638
- const r = Cr(i), o = vr(i.target);
9634
+ const r = vr(i), o = Sr(i.target);
9639
9635
  e.x = O(r.x - o.x + s, 0, o.width), e.y = O(r.y - o.y + n, 0, o.height);
9640
9636
  }
9641
9637
  }
@@ -9773,7 +9769,7 @@ var na = { exports: {} };
9773
9769
  var x = p.ownerDocument || p;
9774
9770
  return x.defaultView || x.parentWindow || t;
9775
9771
  }
9776
- var Nt = /mobile|tablet|ip(ad|hone|od)|android/i, R = "ontouchstart" in t, I = st(t, "PointerEvent") !== n, F = R && Nt.test(navigator.userAgent), G = "touch", ft = "pen", Bt = "mouse", ps = "kinect", gs = 25, it = 1, qt = 2, J = 4, ct = 8, Le = 1, ye = 2, xe = 4, he = 8, A = 16, K = ye | xe, we = he | A, Tn = K | we, Pn = ["x", "y"], ys = ["clientX", "clientY"];
9772
+ var Nt = /mobile|tablet|ip(ad|hone|od)|android/i, R = "ontouchstart" in t, I = st(t, "PointerEvent") !== n, F = R && Nt.test(navigator.userAgent), G = "touch", ft = "pen", Bt = "mouse", ps = "kinect", gs = 25, it = 1, qt = 2, J = 4, ct = 8, Le = 1, ye = 2, xe = 4, he = 8, A = 16, K = ye | xe, we = he | A, _n = K | we, Tn = ["x", "y"], ys = ["clientX", "clientY"];
9777
9773
  function kt(p, x) {
9778
9774
  var P = this;
9779
9775
  this.manager = p, this.callback = x, this.element = p.element, this.target = p.options.inputTarget, this.domHandler = function(M) {
@@ -9810,10 +9806,10 @@ var na = { exports: {} };
9810
9806
  }
9811
9807
  function _a(p, x) {
9812
9808
  var P = p.session, M = x.pointers, k = M.length;
9813
- P.firstInput || (P.firstInput = Mn(x)), k > 1 && !P.firstMultiple ? P.firstMultiple = Mn(x) : k === 1 && (P.firstMultiple = !1);
9814
- var L = P.firstInput, U = P.firstMultiple, nt = U ? U.center : L.center, ht = x.center = En(M);
9815
- x.timeStamp = l(), x.deltaTime = x.timeStamp - L.timeStamp, x.angle = pi(nt, ht), x.distance = xs(nt, ht), Ta(P, x), x.offsetDirection = kn(x.deltaX, x.deltaY);
9816
- var dt = An(x.deltaTime, x.deltaX, x.deltaY);
9809
+ P.firstInput || (P.firstInput = Pn(x)), k > 1 && !P.firstMultiple ? P.firstMultiple = Pn(x) : k === 1 && (P.firstMultiple = !1);
9810
+ var L = P.firstInput, U = P.firstMultiple, nt = U ? U.center : L.center, ht = x.center = Mn(M);
9811
+ x.timeStamp = l(), x.deltaTime = x.timeStamp - L.timeStamp, x.angle = pi(nt, ht), x.distance = xs(nt, ht), Ta(P, x), x.offsetDirection = An(x.deltaX, x.deltaY);
9812
+ var dt = En(x.deltaTime, x.deltaX, x.deltaY);
9817
9813
  x.overallVelocityX = dt.x, x.overallVelocityY = dt.y, x.overallVelocity = c(dt.x) > c(dt.y) ? dt.x : dt.y, x.scale = U ? Ea(U.pointers, M) : 1, x.rotation = U ? Ma(U.pointers, M) : 0, x.maxPointers = P.prevInput ? x.pointers.length > P.prevInput.maxPointers ? x.pointers.length : P.prevInput.maxPointers : x.pointers.length, Pa(P, x);
9818
9814
  var Ht = p.element;
9819
9815
  X(x.srcEvent.target, Ht) && (Ht = x.srcEvent.target), x.target = Ht;
@@ -9831,13 +9827,13 @@ var na = { exports: {} };
9831
9827
  function Pa(p, x) {
9832
9828
  var P = p.lastInterval || x, M = x.timeStamp - P.timeStamp, k, L, U, nt;
9833
9829
  if (x.eventType != ct && (M > gs || P.velocity === n)) {
9834
- var ht = x.deltaX - P.deltaX, dt = x.deltaY - P.deltaY, Ht = An(M, ht, dt);
9835
- L = Ht.x, U = Ht.y, k = c(Ht.x) > c(Ht.y) ? Ht.x : Ht.y, nt = kn(ht, dt), p.lastInterval = x;
9830
+ var ht = x.deltaX - P.deltaX, dt = x.deltaY - P.deltaY, Ht = En(M, ht, dt);
9831
+ L = Ht.x, U = Ht.y, k = c(Ht.x) > c(Ht.y) ? Ht.x : Ht.y, nt = An(ht, dt), p.lastInterval = x;
9836
9832
  } else
9837
9833
  k = P.velocity, L = P.velocityX, U = P.velocityY, nt = P.direction;
9838
9834
  x.velocity = k, x.velocityX = L, x.velocityY = U, x.direction = nt;
9839
9835
  }
9840
- function Mn(p) {
9836
+ function Pn(p) {
9841
9837
  for (var x = [], P = 0; P < p.pointers.length; )
9842
9838
  x[P] = {
9843
9839
  clientX: h(p.pointers[P].clientX),
@@ -9846,12 +9842,12 @@ var na = { exports: {} };
9846
9842
  return {
9847
9843
  timeStamp: l(),
9848
9844
  pointers: x,
9849
- center: En(x),
9845
+ center: Mn(x),
9850
9846
  deltaX: p.deltaX,
9851
9847
  deltaY: p.deltaY
9852
9848
  };
9853
9849
  }
9854
- function En(p) {
9850
+ function Mn(p) {
9855
9851
  var x = p.length;
9856
9852
  if (x === 1)
9857
9853
  return {
@@ -9865,22 +9861,22 @@ var na = { exports: {} };
9865
9861
  y: h(M / x)
9866
9862
  };
9867
9863
  }
9868
- function An(p, x, P) {
9864
+ function En(p, x, P) {
9869
9865
  return {
9870
9866
  x: x / p || 0,
9871
9867
  y: P / p || 0
9872
9868
  };
9873
9869
  }
9874
- function kn(p, x) {
9870
+ function An(p, x) {
9875
9871
  return p === x ? Le : c(p) >= c(x) ? p < 0 ? ye : xe : x < 0 ? he : A;
9876
9872
  }
9877
9873
  function xs(p, x, P) {
9878
- P || (P = Pn);
9874
+ P || (P = Tn);
9879
9875
  var M = x[P[0]] - p[P[0]], k = x[P[1]] - p[P[1]];
9880
9876
  return Math.sqrt(M * M + k * k);
9881
9877
  }
9882
9878
  function pi(p, x, P) {
9883
- P || (P = Pn);
9879
+ P || (P = Tn);
9884
9880
  var M = x[P[0]] - p[P[0]], k = x[P[1]] - p[P[1]];
9885
9881
  return Math.atan2(k, M) * 180 / Math.PI;
9886
9882
  }
@@ -9925,10 +9921,10 @@ var na = { exports: {} };
9925
9921
  4: Bt,
9926
9922
  5: ps
9927
9923
  // see https://twitter.com/jacobrossi/status/480596438489890816
9928
- }, In = "pointerdown", Dn = "pointermove pointerup pointercancel";
9929
- t.MSPointerEvent && !t.PointerEvent && (In = "MSPointerDown", Dn = "MSPointerMove MSPointerUp MSPointerCancel");
9924
+ }, kn = "pointerdown", In = "pointermove pointerup pointercancel";
9925
+ t.MSPointerEvent && !t.PointerEvent && (kn = "MSPointerDown", In = "MSPointerMove MSPointerUp MSPointerCancel");
9930
9926
  function gi() {
9931
- this.evEl = In, this.evWin = Dn, kt.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
9927
+ this.evEl = kn, this.evWin = In, kt.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
9932
9928
  }
9933
9929
  b(gi, kt, {
9934
9930
  /**
@@ -9951,10 +9947,10 @@ var na = { exports: {} };
9951
9947
  touchend: J,
9952
9948
  touchcancel: ct
9953
9949
  }, za = "touchstart", Oa = "touchstart touchmove touchend touchcancel";
9954
- function Rn() {
9950
+ function Dn() {
9955
9951
  this.evTarget = za, this.evWin = Oa, this.started = !1, kt.apply(this, arguments);
9956
9952
  }
9957
- b(Rn, kt, {
9953
+ b(Dn, kt, {
9958
9954
  handler: function(x) {
9959
9955
  var P = La[x.type];
9960
9956
  if (P === it && (this.started = !0), !!this.started) {
@@ -10011,7 +10007,7 @@ var na = { exports: {} };
10011
10007
  nt
10012
10008
  ];
10013
10009
  }
10014
- var Xa = 2500, Ln = 25;
10010
+ var Xa = 2500, Rn = 25;
10015
10011
  function yi() {
10016
10012
  kt.apply(this, arguments);
10017
10013
  var p = g(this.handler, this);
@@ -10042,9 +10038,9 @@ var na = { exports: {} };
10042
10038
  }
10043
10039
  });
10044
10040
  function Ua(p, x) {
10045
- p & it ? (this.primaryTouch = x.changedPointers[0].identifier, zn.call(this, x)) : p & (J | ct) && zn.call(this, x);
10041
+ p & it ? (this.primaryTouch = x.changedPointers[0].identifier, Ln.call(this, x)) : p & (J | ct) && Ln.call(this, x);
10046
10042
  }
10047
- function zn(p) {
10043
+ function Ln(p) {
10048
10044
  var x = p.changedPointers[0];
10049
10045
  if (x.identifier === this.primaryTouch) {
10050
10046
  var P = { x: x.clientX, y: x.clientY };
@@ -10059,12 +10055,12 @@ var na = { exports: {} };
10059
10055
  function Va(p) {
10060
10056
  for (var x = p.srcEvent.clientX, P = p.srcEvent.clientY, M = 0; M < this.lastTouches.length; M++) {
10061
10057
  var k = this.lastTouches[M], L = Math.abs(x - k.x), U = Math.abs(P - k.y);
10062
- if (L <= Ln && U <= Ln)
10058
+ if (L <= Rn && U <= Rn)
10063
10059
  return !0;
10064
10060
  }
10065
10061
  return !1;
10066
10062
  }
10067
- var On = st(o.style, "touchAction"), Fn = On !== n, Nn = "compute", Bn = "auto", xi = "manipulation", be = "none", We = "pan-x", Ze = "pan-y", Ss = qa();
10063
+ var zn = st(o.style, "touchAction"), On = zn !== n, Fn = "compute", Nn = "auto", xi = "manipulation", be = "none", We = "pan-x", Ze = "pan-y", Ss = qa();
10068
10064
  function wi(p, x) {
10069
10065
  this.manager = p, this.set(x);
10070
10066
  }
@@ -10074,7 +10070,7 @@ var na = { exports: {} };
10074
10070
  * @param {String} value
10075
10071
  */
10076
10072
  set: function(p) {
10077
- p == Nn && (p = this.compute()), Fn && this.manager.element.style && Ss[p] && (this.manager.element.style[On] = p), this.actions = p.toLowerCase().trim();
10073
+ p == Fn && (p = this.compute()), On && this.manager.element.style && Ss[p] && (this.manager.element.style[zn] = p), this.actions = p.toLowerCase().trim();
10078
10074
  },
10079
10075
  /**
10080
10076
  * just re-set the touchAction value
@@ -10123,10 +10119,10 @@ var na = { exports: {} };
10123
10119
  if (V(p, be))
10124
10120
  return be;
10125
10121
  var x = V(p, We), P = V(p, Ze);
10126
- return x && P ? be : x || P ? x ? We : Ze : V(p, xi) ? xi : Bn;
10122
+ return x && P ? be : x || P ? x ? We : Ze : V(p, xi) ? xi : Nn;
10127
10123
  }
10128
10124
  function qa() {
10129
- if (!Fn)
10125
+ if (!On)
10130
10126
  return !1;
10131
10127
  var p = {}, x = t.CSS && t.CSS.supports;
10132
10128
  return ["auto", "manipulation", "pan-y", "pan-x", "pan-x pan-y", "none"].forEach(function(P) {
@@ -10218,7 +10214,7 @@ var na = { exports: {} };
10218
10214
  function M(k) {
10219
10215
  x.manager.emit(k, p);
10220
10216
  }
10221
- P < ce && M(x.options.event + Yn(P)), M(x.options.event), p.additionalEvent && M(p.additionalEvent), P >= ce && M(x.options.event + Yn(P));
10217
+ P < ce && M(x.options.event + Bn(P)), M(x.options.event), p.additionalEvent && M(p.additionalEvent), P >= ce && M(x.options.event + Bn(P));
10222
10218
  },
10223
10219
  /**
10224
10220
  * Check that all the require failure recognizers has failed,
@@ -10280,10 +10276,10 @@ var na = { exports: {} };
10280
10276
  reset: function() {
10281
10277
  }
10282
10278
  };
10283
- function Yn(p) {
10279
+ function Bn(p) {
10284
10280
  return p & Je ? "cancel" : p & ce ? "end" : p & ze ? "move" : p & It ? "start" : "";
10285
10281
  }
10286
- function Xn(p) {
10282
+ function Yn(p) {
10287
10283
  return p == A ? "down" : p == he ? "up" : p == ye ? "left" : p == xe ? "right" : "";
10288
10284
  }
10289
10285
  function Cs(p, x) {
@@ -10338,7 +10334,7 @@ var na = { exports: {} };
10338
10334
  event: "pan",
10339
10335
  threshold: 10,
10340
10336
  pointers: 1,
10341
- direction: Tn
10337
+ direction: _n
10342
10338
  },
10343
10339
  getTouchAction: function() {
10344
10340
  var p = this.options.direction, x = [];
@@ -10353,7 +10349,7 @@ var na = { exports: {} };
10353
10349
  },
10354
10350
  emit: function(p) {
10355
10351
  this.pX = p.deltaX, this.pY = p.deltaY;
10356
- var x = Xn(p.direction);
10352
+ var x = Yn(p.direction);
10357
10353
  x && (p.additionalEvent = this.options.event + x), this._super.emit.call(this, p);
10358
10354
  }
10359
10355
  });
@@ -10401,7 +10397,7 @@ var na = { exports: {} };
10401
10397
  // a minimal movement is ok, but keep it low
10402
10398
  },
10403
10399
  getTouchAction: function() {
10404
- return [Bn];
10400
+ return [Nn];
10405
10401
  },
10406
10402
  process: function(p) {
10407
10403
  var x = this.options, P = p.pointers.length === x.pointers, M = p.distance < x.threshold, k = p.deltaTime > x.time;
@@ -10465,7 +10461,7 @@ var na = { exports: {} };
10465
10461
  return x & (K | we) ? P = p.overallVelocity : x & K ? P = p.overallVelocityX : x & we && (P = p.overallVelocityY), this._super.attrTest.call(this, p) && x & p.offsetDirection && p.distance > this.options.threshold && p.maxPointers == this.options.pointers && c(P) > this.options.velocity && p.eventType & J;
10466
10462
  },
10467
10463
  emit: function(p) {
10468
- var x = Xn(p.offsetDirection);
10464
+ var x = Yn(p.offsetDirection);
10469
10465
  x && this.manager.emit(this.options.event + x, p), this.manager.emit(this.options.event, p);
10470
10466
  }
10471
10467
  });
@@ -10539,7 +10535,7 @@ var na = { exports: {} };
10539
10535
  * @type {String}
10540
10536
  * @default compute
10541
10537
  */
10542
- touchAction: Nn,
10538
+ touchAction: Fn,
10543
10539
  /**
10544
10540
  * @type {Boolean}
10545
10541
  * @default true
@@ -10621,9 +10617,9 @@ var na = { exports: {} };
10621
10617
  tapHighlightColor: "rgba(0,0,0,0)"
10622
10618
  }
10623
10619
  };
10624
- var ja = 1, Un = 2;
10620
+ var ja = 1, Xn = 2;
10625
10621
  function _i(p, x) {
10626
- this.options = S({}, te.defaults, x || {}), this.options.inputTarget = this.options.inputTarget || p, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = p, this.input = va(this), this.touchAction = new wi(this, this.options.touchAction), Vn(this, !0), d(this.options.recognizers, function(P) {
10622
+ this.options = S({}, te.defaults, x || {}), this.options.inputTarget = this.options.inputTarget || p, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = p, this.input = va(this), this.touchAction = new wi(this, this.options.touchAction), Un(this, !0), d(this.options.recognizers, function(P) {
10627
10623
  var M = this.add(new P[0](P[1]));
10628
10624
  P[2] && M.recognizeWith(P[2]), P[3] && M.requireFailure(P[3]);
10629
10625
  }, this);
@@ -10644,7 +10640,7 @@ var na = { exports: {} };
10644
10640
  * @param {Boolean} [force]
10645
10641
  */
10646
10642
  stop: function(p) {
10647
- this.session.stopped = p ? Un : ja;
10643
+ this.session.stopped = p ? Xn : ja;
10648
10644
  },
10649
10645
  /**
10650
10646
  * run the recognizers!
@@ -10659,7 +10655,7 @@ var na = { exports: {} };
10659
10655
  var P, M = this.recognizers, k = x.curRecognizer;
10660
10656
  (!k || k && k.state & Qt) && (k = x.curRecognizer = null);
10661
10657
  for (var L = 0; L < M.length; )
10662
- P = M[L], x.stopped !== Un && // 1
10658
+ P = M[L], x.stopped !== Xn && // 1
10663
10659
  (!k || P == k || // 2
10664
10660
  P.canRecognizeWith(k)) ? P.recognize(p) : P.reset(), !k && P.state & (It | ze | ce) && (k = x.curRecognizer = P), L++;
10665
10661
  }
@@ -10752,10 +10748,10 @@ var na = { exports: {} };
10752
10748
  * it doesn't unbind dom events, that is the user own responsibility
10753
10749
  */
10754
10750
  destroy: function() {
10755
- this.element && Vn(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
10751
+ this.element && Un(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
10756
10752
  }
10757
10753
  };
10758
- function Vn(p, x) {
10754
+ function Un(p, x) {
10759
10755
  var P = p.element;
10760
10756
  if (P.style) {
10761
10757
  var M;
@@ -10787,7 +10783,7 @@ var na = { exports: {} };
10787
10783
  DIRECTION_DOWN: A,
10788
10784
  DIRECTION_HORIZONTAL: K,
10789
10785
  DIRECTION_VERTICAL: we,
10790
- DIRECTION_ALL: Tn,
10786
+ DIRECTION_ALL: _n,
10791
10787
  Manager: _i,
10792
10788
  Input: kt,
10793
10789
  TouchAction: wi,
@@ -10795,7 +10791,7 @@ var na = { exports: {} };
10795
10791
  MouseInput: ws,
10796
10792
  PointerEventInput: gi,
10797
10793
  TouchMouseInput: yi,
10798
- SingleTouchInput: Rn,
10794
+ SingleTouchInput: Dn,
10799
10795
  Recognizer: Kt,
10800
10796
  AttrRecognizer: Yt,
10801
10797
  Tap: Ts,
@@ -10833,7 +10829,7 @@ async function ra(i, t) {
10833
10829
  s.observe(i);
10834
10830
  });
10835
10831
  }
10836
- function fd(i) {
10832
+ function cd(i) {
10837
10833
  return i(window.innerWidth, window.innerHeight), N(
10838
10834
  window,
10839
10835
  "orientationchange" in window ? "orientationchange" : "resize",
@@ -10856,7 +10852,7 @@ function gu(i, t) {
10856
10852
  };
10857
10853
  return e.on("pointerDown", s), () => e.off("pointerDown", s);
10858
10854
  }
10859
- function dd(i, t) {
10855
+ function ld(i, t) {
10860
10856
  const e = i.eb, s = (o) => {
10861
10857
  document.addEventListener("mousemove", r, !1), document.addEventListener("mouseup", n, !1), t?.start?.(o);
10862
10858
  }, n = (o) => {
@@ -10866,7 +10862,7 @@ function dd(i, t) {
10866
10862
  };
10867
10863
  return e.on("mouseDown", s), () => e.off("mouseDown", s);
10868
10864
  }
10869
- function md(i, t) {
10865
+ function ud(i, t) {
10870
10866
  const e = i.eb, s = (o) => {
10871
10867
  e.on("touchMove", r), e.on("touchEnd", n), e.on("touchCancel", n);
10872
10868
  const a = o.changedTouches[0];
@@ -10881,7 +10877,7 @@ function md(i, t) {
10881
10877
  };
10882
10878
  return e.on("touchStart", s), () => e.off("touchStart", s);
10883
10879
  }
10884
- function pd(i = document.documentElement) {
10880
+ function fd(i = document.documentElement) {
10885
10881
  const t = new je(), e = new pu(i);
10886
10882
  let s = [];
10887
10883
  const n = du(), r = n.mousePoint, o = (A) => {
@@ -11017,7 +11013,7 @@ function pd(i = document.documentElement) {
11017
11013
  }
11018
11014
  };
11019
11015
  }
11020
- function gd(i, t, e = 50) {
11016
+ function dd(i, t, e = 50) {
11021
11017
  return Ae(i, {
11022
11018
  move: () => {
11023
11019
  i.mousePoint.dStartY > 0 && i.mousePoint.dStartY < e;
@@ -11027,7 +11023,7 @@ function gd(i, t, e = 50) {
11027
11023
  }
11028
11024
  });
11029
11025
  }
11030
- function yd(i, t, e = 50) {
11026
+ function md(i, t, e = 50) {
11031
11027
  return Ae(i, {
11032
11028
  move: () => {
11033
11029
  i.mousePoint.dStartY > 0 && i.mousePoint.dStartY < e;
@@ -11058,10 +11054,10 @@ wt(() => {
11058
11054
  break;
11059
11055
  }
11060
11056
  });
11061
- function xd(i) {
11057
+ function pd(i) {
11062
11058
  Re.value = i;
11063
11059
  }
11064
- function wd() {
11060
+ function gd() {
11065
11061
  switch (Re.value) {
11066
11062
  case "dark":
11067
11063
  return "dark";
@@ -11069,19 +11065,19 @@ function wd() {
11069
11065
  return "light";
11070
11066
  }
11071
11067
  }
11072
- function bd() {
11068
+ function yd() {
11073
11069
  Re.value = Re.value == "dark" ? "light" : "dark";
11074
11070
  }
11075
11071
  function xu(i, t = "") {
11076
11072
  return getComputedStyle(document.documentElement).getPropertyValue(i) || t;
11077
11073
  }
11078
- function Sd(i, t) {
11074
+ function xd(i, t) {
11079
11075
  document.documentElement.style.setProperty(i, t);
11080
11076
  }
11081
- const vd = {
11077
+ const wd = {
11082
11078
  getSelectedText: () => window.getSelection()?.toString() || ""
11083
11079
  };
11084
- function Cd(i) {
11080
+ function bd(i) {
11085
11081
  document.getElementsByTagName("title")[0].innerText = i, document.title = i;
11086
11082
  }
11087
11083
  function wu(i) {
@@ -11117,9 +11113,9 @@ async function Su(i, t) {
11117
11113
  });
11118
11114
  }
11119
11115
  const ie = new je();
11120
- let _r = "";
11116
+ let Cr = "";
11121
11117
  Su(document, () => {
11122
- location.href !== _r && (_r = location.href, ie.emit("urlchange", location.href));
11118
+ location.href !== Cr && (Cr = location.href, ie.emit("urlchange", location.href));
11123
11119
  });
11124
11120
  N(window, "hashchange", () => {
11125
11121
  ie.emit("hashchange", location.hash);
@@ -11145,15 +11141,15 @@ const vu = {
11145
11141
  ie.off("popstate", i);
11146
11142
  })
11147
11143
  };
11148
- function _d(i) {
11144
+ function Sd(i) {
11149
11145
  return vu.onPopState(() => {
11150
11146
  const { pathname: t, search: e } = location;
11151
11147
  i[t]?.();
11152
11148
  });
11153
11149
  }
11154
- let Tr = !1;
11150
+ let _r = !1;
11155
11151
  function Cu() {
11156
- Tr || (Tr = !0, cu(`
11152
+ _r || (_r = !0, cu(`
11157
11153
  :root {
11158
11154
  --sat:env(safe-area-inset-top, 0px);
11159
11155
  --sar:env(safe-area-inset-right, 0px);
@@ -11183,7 +11179,7 @@ ra(document.documentElement, () => {
11183
11179
  n !== Qs && Dt.emit("left", n), Qs = n;
11184
11180
  }, 0);
11185
11181
  });
11186
- const Td = {
11182
+ const vd = {
11187
11183
  onTop: (i) => (Ws && i(Ws), Dt.on("top", i), () => {
11188
11184
  Dt.off("top", i);
11189
11185
  }),
@@ -11197,18 +11193,18 @@ const Td = {
11197
11193
  Dt.off("left", i);
11198
11194
  })
11199
11195
  }, es = [];
11200
- let Pr = Xi;
11196
+ let Tr = Xi;
11201
11197
  function _u(i) {
11202
- return es.length == 0 && (Pr = N(document, "scroll", (t) => {
11198
+ return es.length == 0 && (Tr = N(document, "scroll", (t) => {
11203
11199
  es.forEach((e) => e(t));
11204
11200
  })), es.push(i), () => {
11205
- Te(es, i), es.length == 0 && Pr();
11201
+ Te(es, i), es.length == 0 && Tr();
11206
11202
  };
11207
11203
  }
11208
- function Pd(i, t) {
11204
+ function Cd(i, t) {
11209
11205
  window.scrollTo(i, t);
11210
11206
  }
11211
- function Md() {
11207
+ function _d() {
11212
11208
  let i = Xi, t = Xi;
11213
11209
  return "scrollRestoration" in window.history && (window.history.scrollRestoration = "manual", i = bu(() => {
11214
11210
  window.history.scrollRestoration = "auto";
@@ -11234,7 +11230,7 @@ async function Tu(i, t, e = {
11234
11230
  ).observe(i);
11235
11231
  });
11236
11232
  }
11237
- function Ed(i, t) {
11233
+ function Td(i, t) {
11238
11234
  let e;
11239
11235
  function s() {
11240
11236
  const { width: n, height: r } = t?.root?.getBoundingClientRect() || uu(), { top: o, left: a, right: h, bottom: c } = i.getBoundingClientRect();
@@ -11242,7 +11238,7 @@ function Ed(i, t) {
11242
11238
  }
11243
11239
  return s(), _u(s);
11244
11240
  }
11245
- async function Ad(i, t) {
11241
+ async function Pd(i, t) {
11246
11242
  let e;
11247
11243
  const s = typeof t.threshold == "number" ? t.threshold : 0.5;
11248
11244
  return Tu(
@@ -11262,12 +11258,12 @@ async function Ad(i, t) {
11262
11258
  }
11263
11259
  );
11264
11260
  }
11265
- function kd(i) {
11261
+ function Md(i) {
11266
11262
  return i(!document.hidden), N(window, "visibilitychange", () => {
11267
11263
  i(!document.hidden);
11268
11264
  });
11269
11265
  }
11270
- function Id(i, t, e, s, n) {
11266
+ function Ed(i, t, e, s, n) {
11271
11267
  const r = t / e;
11272
11268
  let o = 0, a = 0;
11273
11269
  switch (i) {
@@ -11298,7 +11294,7 @@ function Pu(i) {
11298
11294
  return new ImageData(i.width, i.height);
11299
11295
  }
11300
11296
  }
11301
- const Dd = (i) => {
11297
+ const Ad = (i) => {
11302
11298
  const t = i.width, e = i.height, s = t * e * 3, n = s + 54, r = [
11303
11299
  // WORD bfType -- The file type signature; must be "BM"
11304
11300
  66,
@@ -11400,10 +11396,10 @@ const Dd = (i) => {
11400
11396
  return btoa(S);
11401
11397
  }
11402
11398
  return d(r.concat(o)) + d(c);
11403
- }, Rd = (i) => {
11399
+ }, kd = (i) => {
11404
11400
  const { width: t, height: e } = i, s = document.createElement("canvas"), n = s.getContext("2d");
11405
11401
  return s.width = t, s.height = e, n.putImageData(i, 0, 0, 0, 0, t, e), s.toDataURL("image/png");
11406
- }, Ld = (i, t, e) => {
11402
+ }, Id = (i, t, e) => {
11407
11403
  const { width: s, height: n } = i, r = document.createElement("canvas"), o = r.getContext("2d");
11408
11404
  r.width = s, r.height = n, o.putImageData(i, 0, 0, 0, 0, s, n);
11409
11405
  const a = `image/${t ? t.toLowerCase() : "png"}`;
@@ -11415,10 +11411,10 @@ const Dd = (i) => {
11415
11411
  1
11416
11412
  );
11417
11413
  };
11418
- function zd(i, t) {
11414
+ function Dd(i, t) {
11419
11415
  return createImageBitmap(i, t);
11420
11416
  }
11421
- function Od(i) {
11417
+ function Rd(i) {
11422
11418
  const t = [], e = [], s = [];
11423
11419
  let n = 0;
11424
11420
  for (let h = 0, c = i.data.length; h < c; h += 4)
@@ -11443,7 +11439,7 @@ function Oi(i) {
11443
11439
  return;
11444
11440
  return e[o];
11445
11441
  }
11446
- const Fd = (i) => {
11442
+ const Ld = (i) => {
11447
11443
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11448
11444
  for (let o = 0; o < s; o++)
11449
11445
  for (let a = 0; a < e; a++) {
@@ -11451,7 +11447,7 @@ const Fd = (i) => {
11451
11447
  n[h] = t[(o * e + e - a - 1) * 4], n[h + 1] = t[(o * e + e - a - 1) * 4 + 1], n[h + 2] = t[(o * e + e - a - 1) * 4 + 2], n[h + 3] = t[(o * e + e - a - 1) * 4 + 3];
11452
11448
  }
11453
11449
  return new ImageData(n, e, s);
11454
- }, Nd = (i) => {
11450
+ }, zd = (i) => {
11455
11451
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11456
11452
  for (let o = 0; o < s; o++)
11457
11453
  for (let a = 0; a < e; a++) {
@@ -11459,7 +11455,7 @@ const Fd = (i) => {
11459
11455
  n[h] = t[((s - o - 1) * e + a) * 4], n[h + 1] = t[((s - o - 1) * e + a) * 4 + 1], n[h + 2] = t[((s - o - 1) * e + a) * 4 + 2], n[h + 3] = t[((s - o - 1) * e + a) * 4 + 3];
11460
11456
  }
11461
11457
  return new ImageData(n, e, s);
11462
- }, Bd = (i) => {
11458
+ }, Od = (i) => {
11463
11459
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11464
11460
  for (let o = 0; o < e; o++)
11465
11461
  for (let a = 0; a < s; a++) {
@@ -11467,7 +11463,7 @@ const Fd = (i) => {
11467
11463
  n[h] = t[(a * e + e - o - 1) * 4], n[h + 1] = t[(a * e + e - o - 1) * 4 + 1], n[h + 2] = t[(a * e + e - o - 1) * 4 + 2], n[h + 3] = t[(a * e + e - o - 1) * 4 + 3];
11468
11464
  }
11469
11465
  return new ImageData(n, s, e);
11470
- }, Yd = (i) => {
11466
+ }, Fd = (i) => {
11471
11467
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11472
11468
  for (let o = 0; o < e; o++)
11473
11469
  for (let a = 0; a < s; a++) {
@@ -11475,7 +11471,7 @@ const Fd = (i) => {
11475
11471
  n[h] = t[((s - a - 1) * e + o) * 4], n[h + 1] = t[((s - a - 1) * e + o) * 4 + 1], n[h + 2] = t[((s - a - 1) * e + o) * 4 + 2], n[h + 3] = t[((s - a - 1) * e + o) * 4 + 3];
11476
11472
  }
11477
11473
  return new ImageData(n, s, e);
11478
- }, Xd = (i) => {
11474
+ }, Nd = (i) => {
11479
11475
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11480
11476
  for (let o = 0; o < s; o++)
11481
11477
  for (let a = 0; a < e; a++) {
@@ -11483,7 +11479,7 @@ const Fd = (i) => {
11483
11479
  n[h] = c, n[h + 1] = c, n[h + 2] = c, n[h + 3] = t[h + 3];
11484
11480
  }
11485
11481
  return new ImageData(n, e, s);
11486
- }, Ud = (i) => {
11482
+ }, Bd = (i) => {
11487
11483
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11488
11484
  for (let o = 0; o < s; o++)
11489
11485
  for (let a = 0; a < e; a++) {
@@ -11491,7 +11487,7 @@ const Fd = (i) => {
11491
11487
  n[h] = c, n[h + 1] = c, n[h + 2] = c, n[h + 3] = t[h + 3];
11492
11488
  }
11493
11489
  return new ImageData(n, e, s);
11494
- }, Vd = (i) => {
11490
+ }, Yd = (i) => {
11495
11491
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11496
11492
  for (let o = 0; o < s; o++)
11497
11493
  for (let a = 0; a < e; a++) {
@@ -11499,7 +11495,7 @@ const Fd = (i) => {
11499
11495
  n[h] = l, n[h + 1] = l, n[h + 2] = l, n[h + 3] = t[h + 3];
11500
11496
  }
11501
11497
  return new ImageData(n, e, s);
11502
- }, Gd = (i) => {
11498
+ }, Xd = (i) => {
11503
11499
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11504
11500
  for (let o = 0; o < s; o++)
11505
11501
  for (let a = 0; a < e; a++) {
@@ -11507,7 +11503,7 @@ const Fd = (i) => {
11507
11503
  n[h] = 255 - t[h], n[h + 1] = 255 - t[h + 1], n[h + 2] = 255 - t[h + 2], n[h + 3] = t[h + 3];
11508
11504
  }
11509
11505
  return new ImageData(n, e, s);
11510
- }, qd = (i) => {
11506
+ }, Ud = (i) => {
11511
11507
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11512
11508
  for (let o = 0; o < s; o++)
11513
11509
  for (let a = 0; a < e; a++) {
@@ -11515,7 +11511,7 @@ const Fd = (i) => {
11515
11511
  n[h] = t[h], n[h + 1] = 0, n[h + 2] = 0, n[h + 3] = t[h + 3];
11516
11512
  }
11517
11513
  return new ImageData(n, e, s);
11518
- }, jd = (i) => {
11514
+ }, Vd = (i) => {
11519
11515
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11520
11516
  for (let o = 0; o < s; o++)
11521
11517
  for (let a = 0; a < e; a++) {
@@ -11523,7 +11519,7 @@ const Fd = (i) => {
11523
11519
  n[h] = 0, n[h + 1] = t[h + 1], n[h + 2] = 0, n[h + 3] = t[h + 3];
11524
11520
  }
11525
11521
  return new ImageData(n, e, s);
11526
- }, Hd = (i) => {
11522
+ }, Gd = (i) => {
11527
11523
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11528
11524
  for (let o = 0; o < s; o++)
11529
11525
  for (let a = 0; a < e; a++) {
@@ -11531,7 +11527,7 @@ const Fd = (i) => {
11531
11527
  n[h] = 0, n[h + 1] = 0, n[h + 2] = t[h + 2], n[h + 3] = t[h + 3];
11532
11528
  }
11533
11529
  return new ImageData(n, e, s);
11534
- }, $d = (i) => {
11530
+ }, qd = (i) => {
11535
11531
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11536
11532
  for (let o = 0; o < s; o++)
11537
11533
  for (let a = 0; a < e; a++) {
@@ -11539,7 +11535,7 @@ const Fd = (i) => {
11539
11535
  n[h] = t[h], n[h + 1] = t[h + 1], n[h + 2] = 0, n[h + 3] = t[h + 3];
11540
11536
  }
11541
11537
  return new ImageData(n, e, s);
11542
- }, Wd = (i) => {
11538
+ }, jd = (i) => {
11543
11539
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11544
11540
  for (let o = 0; o < s; o++)
11545
11541
  for (let a = 0; a < e; a++) {
@@ -11547,7 +11543,7 @@ const Fd = (i) => {
11547
11543
  n[h] = t[h], n[h + 1] = 0, n[h + 2] = t[h + 1], n[h + 3] = t[h + 3];
11548
11544
  }
11549
11545
  return new ImageData(n, e, s);
11550
- }, Zd = (i) => {
11546
+ }, Hd = (i) => {
11551
11547
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11552
11548
  for (let o = 0; o < s; o++)
11553
11549
  for (let a = 0; a < e; a++) {
@@ -11555,7 +11551,7 @@ const Fd = (i) => {
11555
11551
  n[h] = 0, n[h + 1] = t[h + 1], n[h + 2] = t[h + 1], n[h + 3] = t[h + 3];
11556
11552
  }
11557
11553
  return new ImageData(n, e, s);
11558
- }, Jd = (i) => {
11554
+ }, $d = (i) => {
11559
11555
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11560
11556
  for (let o = 0; o < s; o++)
11561
11557
  for (let a = 0; a < e; a++) {
@@ -11563,7 +11559,7 @@ const Fd = (i) => {
11563
11559
  n[h] = t[h], n[h + 1] = c, n[h + 2] = c, n[h + 3] = t[h + 3];
11564
11560
  }
11565
11561
  return new ImageData(n, e, s);
11566
- }, Qd = (i) => {
11562
+ }, Wd = (i) => {
11567
11563
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11568
11564
  for (let o = 0; o < s; o++)
11569
11565
  for (let a = 0; a < e; a++) {
@@ -11571,7 +11567,7 @@ const Fd = (i) => {
11571
11567
  n[h] = c, n[h + 1] = t[h + 1], n[h + 2] = c, n[h + 3] = t[h + 3];
11572
11568
  }
11573
11569
  return new ImageData(n, e, s);
11574
- }, Kd = (i) => {
11570
+ }, Zd = (i) => {
11575
11571
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11576
11572
  for (let o = 0; o < s; o++)
11577
11573
  for (let a = 0; a < e; a++) {
@@ -11579,7 +11575,7 @@ const Fd = (i) => {
11579
11575
  n[h] = c, n[h + 1] = c, n[h + 2] = t[h + 2], n[h + 3] = t[h + 3];
11580
11576
  }
11581
11577
  return new ImageData(n, e, s);
11582
- }, tm = (i) => oa(i, [-1, -1, -1, -1, 9, -1, -1, -1, -1]), em = (i) => oa(i, [-1, -1, -1, -1, 8, -1, -1, -1, -1]), sm = (i) => {
11578
+ }, Jd = (i) => oa(i, [-1, -1, -1, -1, 9, -1, -1, -1, -1]), Qd = (i) => oa(i, [-1, -1, -1, -1, 8, -1, -1, -1, -1]), Kd = (i) => {
11583
11579
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11584
11580
  for (let o = 0; o < s; o++)
11585
11581
  for (let a = 0; a < e; a++) {
@@ -11587,7 +11583,7 @@ const Fd = (i) => {
11587
11583
  n[h] = t[h], n[h + 1] = t[h + 1], n[h + 2] = t[h + 2], n[h + 3] = 255;
11588
11584
  }
11589
11585
  return new ImageData(n, e, s);
11590
- }, im = (i) => {
11586
+ }, tm = (i) => {
11591
11587
  const { data: t, width: e, height: s } = i, n = new Uint8ClampedArray(t.length);
11592
11588
  for (let o = 0; o < s; o++)
11593
11589
  for (let a = 0; a < e; a++) {
@@ -11609,7 +11605,7 @@ const Fd = (i) => {
11609
11605
  }
11610
11606
  return new ImageData(n, e, s);
11611
11607
  };
11612
- function nm(i, t, e, s, n, r = !1, o) {
11608
+ function em(i, t, e, s, n, r = !1, o) {
11613
11609
  const { data: a, width: h, height: c } = i;
11614
11610
  let l = n, u = s, f = t, d = e;
11615
11611
  if (l < 0 ? l = 0 : l > h && (l = h), u < 0 ? u = 0 : u > c && (u = c), f < 1 ? f = 1 : f > h && (f = h), d < 1 ? d = 1 : d > c && (d = c), l + f > h && (f = h - l), u + d > c && (d = c - u), r) {
@@ -11630,7 +11626,7 @@ function nm(i, t, e, s, n, r = !1, o) {
11630
11626
  return new ImageData(m, f, d);
11631
11627
  }
11632
11628
  }
11633
- function rm(i, t, e, s) {
11629
+ function sm(i, t, e, s) {
11634
11630
  const { data: n, width: r, height: o } = i;
11635
11631
  let a = t;
11636
11632
  a > Math.floor(r / 2) && (a = Math.floor(r / 2)), a > Math.floor(o / 2) && (a = Math.floor(o / 2)), a < 0 && (a = 0);
@@ -11651,13 +11647,13 @@ function rm(i, t, e, s) {
11651
11647
  }
11652
11648
  return new ImageData(h, r, o);
11653
11649
  }
11654
- function om(i, t, e, s, n, r = 1e4) {
11650
+ function im(i, t, e, s, n, r = 1e4) {
11655
11651
  const o = new Image();
11656
11652
  o.src = i;
11657
11653
  const a = document.createElement("canvas"), h = a.getContext("2d");
11658
11654
  return a.width = r, a.height = r, h.drawImage(o, 0, 0, t, e, 0, 0, s, n), h.getImageData(0, 0, s, n);
11659
11655
  }
11660
- function am(i, t) {
11656
+ function nm(i, t) {
11661
11657
  const { data: e, width: s, height: n } = i, r = new Uint8ClampedArray(e.length);
11662
11658
  for (let a = 0; a < n; a++)
11663
11659
  for (let h = 0; h < s; h++) {
@@ -11675,7 +11671,7 @@ function am(i, t) {
11675
11671
  }
11676
11672
  return new ImageData(r, s, n);
11677
11673
  }
11678
- function hm(i, t, e = !1) {
11674
+ function rm(i, t, e = !1) {
11679
11675
  const { data: s, width: n, height: r } = i, o = new Uint8ClampedArray(s.length);
11680
11676
  for (let h = 0; h < r; h++)
11681
11677
  for (let c = 0; c < n; c++) {
@@ -11686,7 +11682,7 @@ function hm(i, t, e = !1) {
11686
11682
  }
11687
11683
  return new ImageData(o, n, r);
11688
11684
  }
11689
- function cm(i, t, e, s) {
11685
+ function om(i, t, e, s) {
11690
11686
  const { data: n, width: r, height: o } = i, {
11691
11687
  data: a,
11692
11688
  width: h,
@@ -11717,7 +11713,7 @@ function cm(i, t, e, s) {
11717
11713
  }
11718
11714
  return new ImageData(f, r, o);
11719
11715
  }
11720
- function lm(i, t, e, s, n, r = 10) {
11716
+ function am(i, t, e, s, n, r = 10) {
11721
11717
  const { data: o, width: a, height: h } = i;
11722
11718
  let c = n, l = s, u = t, f = e;
11723
11719
  c < 0 ? c = 0 : c > a && (c = a), l < 0 ? l = 0 : l > h && (l = h), u < 1 ? u = 1 : u > a && (u = a), f < 1 ? f = 1 : f > h && (f = h), c + u > a && (u = a - c), l + f > h && (f = h - l);
@@ -11740,7 +11736,7 @@ function lm(i, t, e, s, n, r = 10) {
11740
11736
  }
11741
11737
  return new ImageData(d, a, h);
11742
11738
  }
11743
- function um(i, t, e = {
11739
+ function hm(i, t, e = {
11744
11740
  backgroundColor: { r: 0, g: 0, b: 0, a: 255 },
11745
11741
  changeIntoColor: { r: 0, g: 0, b: 0, a: 0 }
11746
11742
  }) {
@@ -12444,7 +12440,7 @@ class ne {
12444
12440
  }
12445
12441
  }
12446
12442
  }
12447
- class Mr {
12443
+ class Pr {
12448
12444
  buffer;
12449
12445
  length;
12450
12446
  constructor() {
@@ -12511,7 +12507,7 @@ class Ee {
12511
12507
  const e = ne.getRSBlocks(
12512
12508
  t,
12513
12509
  this.errorCorrectLevel
12514
- ), s = new Mr();
12510
+ ), s = new Pr();
12515
12511
  let n = 0;
12516
12512
  for (let r = 0; r < e.length; r++)
12517
12513
  n += e[r].dataCount;
@@ -12625,7 +12621,7 @@ class Ee {
12625
12621
  }
12626
12622
  }
12627
12623
  static createData(t, e, s) {
12628
- const n = ne.getRSBlocks(t, e), r = new Mr();
12624
+ const n = ne.getRSBlocks(t, e), r = new Pr();
12629
12625
  for (let a = 0; a < s.length; a++) {
12630
12626
  const h = s[a];
12631
12627
  r.put(h.mode, 4), r.put(
@@ -12676,9 +12672,9 @@ class Ee {
12676
12672
  return c;
12677
12673
  }
12678
12674
  }
12679
- const Er = Math.ceil, as = Math.floor, Ar = Math.round;
12680
- function fm(i, t) {
12681
- const e = $r(i), s = t?.ecc || "H", n = t?.size || 256, r = -1, o = t?.padding || 0, a = t?.color || "#000000", h = t?.background || "#ffffff", c = new Ee(r, s);
12675
+ const Mr = Math.ceil, as = Math.floor, Er = Math.round;
12676
+ function cm(i, t) {
12677
+ const e = jr(i), s = t?.ecc || "H", n = t?.size || 256, r = -1, o = t?.padding || 0, a = t?.color || "#000000", h = t?.background || "#ffffff", c = new Ee(r, s);
12682
12678
  c.addData(e), c.make();
12683
12679
  const l = c.getModuleCount(), u = (n - o * 2) / l, f = o, d = n - o;
12684
12680
  return Au(n, a, h, function(m, S) {
@@ -12689,17 +12685,17 @@ function fm(i, t) {
12689
12685
  return 1;
12690
12686
  });
12691
12687
  }
12692
- function dm(i, t) {
12693
- const e = t.x || 0, s = t.y || 0, n = $r(i), r = t.ctx, o = t.ecc || "H", a = typeof t.size == "number" ? as(t.size) : 256, h = t.padding || 0, c = -1, l = t.color || "#000000", u = t.background || "#ffffff", f = new Ee(c, o);
12688
+ function lm(i, t) {
12689
+ const e = t.x || 0, s = t.y || 0, n = jr(i), r = t.ctx, o = t.ecc || "H", a = typeof t.size == "number" ? as(t.size) : 256, h = t.padding || 0, c = -1, l = t.color || "#000000", u = t.background || "#ffffff", f = new Ee(c, o);
12694
12690
  f.addData(n), f.make();
12695
12691
  const d = f.getModuleCount(), m = (a - h * 2) / d;
12696
12692
  r.fillStyle = u, r.fillRect(e, s, a, a);
12697
12693
  for (let S = 0; S < d; S++)
12698
12694
  for (let v = 0; v < d; v++) {
12699
- const w = Er((v + 1) * m) - as(v * m), b = Er((S + 1) * m) - as(S * m);
12695
+ const w = Mr((v + 1) * m) - as(v * m), b = Mr((S + 1) * m) - as(S * m);
12700
12696
  r.fillStyle = f.isDark(S, v) ? l : u, r.fillRect(
12701
- e + Ar(v * m) + h,
12702
- s + Ar(S * m) + h,
12697
+ e + Er(v * m) + h,
12698
+ s + Er(S * m) + h,
12703
12699
  w,
12704
12700
  b
12705
12701
  );
@@ -12856,7 +12852,7 @@ class ae {
12856
12852
  return this._onChangeCallback = t, this;
12857
12853
  }
12858
12854
  clone() {
12859
- return Zr(
12855
+ return $r(
12860
12856
  this,
12861
12857
  this.array,
12862
12858
  this.itemSize,
@@ -12872,42 +12868,42 @@ class ae {
12872
12868
  };
12873
12869
  }
12874
12870
  }
12875
- class mm extends ae {
12871
+ class um extends ae {
12876
12872
  constructor(t, e, s = !1) {
12877
12873
  super(new Int8Array(t), e, s);
12878
12874
  }
12879
12875
  }
12880
- class pm extends ae {
12876
+ class fm extends ae {
12881
12877
  constructor(t, e, s = !1) {
12882
12878
  super(new Uint8Array(t), e, s);
12883
12879
  }
12884
12880
  }
12885
- class gm extends ae {
12881
+ class dm extends ae {
12886
12882
  constructor(t, e, s = !1) {
12887
12883
  super(new Uint8ClampedArray(t), e, s);
12888
12884
  }
12889
12885
  }
12890
- class ym extends ae {
12886
+ class mm extends ae {
12891
12887
  constructor(t, e, s = !1) {
12892
12888
  super(new Int16Array(t), e, s);
12893
12889
  }
12894
12890
  }
12895
- class xm extends ae {
12891
+ class pm extends ae {
12896
12892
  constructor(t, e, s = !1) {
12897
12893
  super(new Uint16Array(t), e, s);
12898
12894
  }
12899
12895
  }
12900
- class wm extends ae {
12896
+ class gm extends ae {
12901
12897
  constructor(t, e, s = !1) {
12902
12898
  super(new Int32Array(t), e, s);
12903
12899
  }
12904
12900
  }
12905
- class bm extends ae {
12901
+ class ym extends ae {
12906
12902
  constructor(t, e, s = !1) {
12907
12903
  super(new Uint32Array(t), e, s);
12908
12904
  }
12909
12905
  }
12910
- class Sm extends ae {
12906
+ class xm extends ae {
12911
12907
  isFloat16BufferAttribute = !0;
12912
12908
  constructor(t, e, s = !1) {
12913
12909
  super(new Uint16Array(t), e, s);
@@ -12950,7 +12946,7 @@ class Sm extends ae {
12950
12946
  return t *= this.itemSize, this.normalized && (e = j(e, this.array), s = j(s, this.array), n = j(n, this.array), r = j(r, this.array)), this.array[t + 0] = St(e), this.array[t + 1] = St(s), this.array[t + 2] = St(n), this.array[t + 3] = St(r), this;
12951
12947
  }
12952
12948
  }
12953
- class vm extends ae {
12949
+ class wm extends ae {
12954
12950
  constructor(t, e, s = !1) {
12955
12951
  super(new Float32Array(t), e, s);
12956
12952
  }
@@ -13055,7 +13051,7 @@ class ut extends H {
13055
13051
  break;
13056
13052
  case "parallel":
13057
13053
  default:
13058
- const n = new pn({ frameDuration: t }), r = {}, o = {};
13054
+ const n = new mn({ frameDuration: t }), r = {}, o = {};
13059
13055
  this.shapes.forEach((a, h) => {
13060
13056
  const c = Jt(a.getTotalLength(), 0);
13061
13057
  r[`offset_${h}`] = c, o[`offset_${h}`] = 0, a.setAttr({
@@ -13669,7 +13665,7 @@ function Ue(i) {
13669
13665
  function Ve(i) {
13670
13666
  return i < 31308e-7 ? i * 12.92 : 1.055 * Math.pow(i, 0.41666) - 0.055;
13671
13667
  }
13672
- const Du = "", Be = "srgb", ca = "srgb-linear", la = "linear", Qi = "srgb", kr = new ds().set(
13668
+ const Du = "", Be = "srgb", ca = "srgb-linear", la = "linear", Qi = "srgb", Ar = new ds().set(
13673
13669
  0.4123908,
13674
13670
  0.3575843,
13675
13671
  0.1804808,
@@ -13679,7 +13675,7 @@ const Du = "", Be = "srgb", ca = "srgb-linear", la = "linear", Qi = "srgb", kr =
13679
13675
  0.0193308,
13680
13676
  0.1191948,
13681
13677
  0.9505322
13682
- ), Ir = new ds().set(
13678
+ ), kr = new ds().set(
13683
13679
  3.2409699,
13684
13680
  -1.5373832,
13685
13681
  -0.4986108,
@@ -13689,7 +13685,7 @@ const Du = "", Be = "srgb", ca = "srgb-linear", la = "linear", Qi = "srgb", kr =
13689
13685
  0.0556301,
13690
13686
  -0.203977,
13691
13687
  1.0569715
13692
- ), Dr = [0.64, 0.33, 0.3, 0.6, 0.15, 0.06], Rr = [0.2126, 0.7152, 0.0722], Lr = [0.3127, 0.329], ua = {
13688
+ ), Ir = [0.64, 0.33, 0.3, 0.6, 0.15, 0.06], Dr = [0.2126, 0.7152, 0.0722], Rr = [0.3127, 0.329], ua = {
13693
13689
  enabled: !0,
13694
13690
  workingColorSpace: ca,
13695
13691
  /**
@@ -13745,22 +13741,22 @@ const Du = "", Be = "srgb", ca = "srgb-linear", la = "linear", Qi = "srgb", kr =
13745
13741
  };
13746
13742
  ua.define({
13747
13743
  [ca]: {
13748
- primaries: Dr,
13749
- whitePoint: Lr,
13744
+ primaries: Ir,
13745
+ whitePoint: Rr,
13750
13746
  transfer: la,
13751
- toXYZ: kr,
13752
- fromXYZ: Ir,
13753
- luminanceCoefficients: Rr,
13747
+ toXYZ: Ar,
13748
+ fromXYZ: kr,
13749
+ luminanceCoefficients: Dr,
13754
13750
  workingColorSpaceConfig: { unpackColorSpace: Be },
13755
13751
  outputColorSpaceConfig: { drawingBufferColorSpace: Be }
13756
13752
  },
13757
13753
  [Be]: {
13758
- primaries: Dr,
13759
- whitePoint: Lr,
13754
+ primaries: Ir,
13755
+ whitePoint: Rr,
13760
13756
  transfer: Qi,
13761
- toXYZ: kr,
13762
- fromXYZ: Ir,
13763
- luminanceCoefficients: Rr,
13757
+ toXYZ: Ar,
13758
+ fromXYZ: kr,
13759
+ luminanceCoefficients: Dr,
13764
13760
  outputColorSpaceConfig: { drawingBufferColorSpace: Be }
13765
13761
  }
13766
13762
  });
@@ -13824,12 +13820,12 @@ class Ge extends H {
13824
13820
  t.beginPath(), t.moveTo(0, 0), t.lineTo(this.toX - this.x, this.toY - this.y);
13825
13821
  }
13826
13822
  intersection(t) {
13827
- const e = new dr({
13823
+ const e = new fr({
13828
13824
  x: this.x,
13829
13825
  y: this.y,
13830
13826
  toX: this.toX,
13831
13827
  toY: this.toY
13832
- }), s = new dr({
13828
+ }), s = new fr({
13833
13829
  x: t.x,
13834
13830
  y: t.y,
13835
13831
  toX: t.toX,
@@ -13838,7 +13834,7 @@ class Ge extends H {
13838
13834
  return e.intersection(s);
13839
13835
  }
13840
13836
  }
13841
- class Cm extends H {
13837
+ class bm extends H {
13842
13838
  cx;
13843
13839
  cy;
13844
13840
  toX;
@@ -13948,9 +13944,9 @@ class Ru extends je {
13948
13944
  this.emit("finish");
13949
13945
  return;
13950
13946
  }
13951
- let e, s, n = Gn(this.source, 0);
13947
+ let e, s, n = Vn(this.source, 0);
13952
13948
  for (let r = 1; r < t; r++)
13953
- e = s, s = n, n = Gn(this.source, r), this.raw += s, s && this.step(s, n, e);
13949
+ e = s, s = n, n = Vn(this.source, r), this.raw += s, s && this.step(s, n, e);
13954
13950
  n && this.step(n, void 0, s), this.emit("finish");
13955
13951
  }
13956
13952
  step(t, e, s) {
@@ -13974,7 +13970,7 @@ class Ru extends je {
13974
13970
  }
13975
13971
  break;
13976
13972
  case "entity":
13977
- ee("whitespace", t) ? (this.textchunk += zr(this.entity), this.mode = "text") : t == ";" ? (this.textchunk += zr(this.entity + t), this.mode = "text") : this.entity += t;
13973
+ ee("whitespace", t) ? (this.textchunk += Lr(this.entity), this.mode = "text") : t == ";" ? (this.textchunk += Lr(this.entity + t), this.mode = "text") : this.entity += t;
13978
13974
  break;
13979
13975
  case "special":
13980
13976
  if (s == "!" && t == "-" && e == "-") {
@@ -14118,7 +14114,7 @@ class Ru extends je {
14118
14114
  }
14119
14115
  }
14120
14116
  }
14121
- function zr(i) {
14117
+ function Lr(i) {
14122
14118
  const t = {
14123
14119
  lt: 60,
14124
14120
  "lt;": 60,
@@ -14139,7 +14135,7 @@ function zr(i) {
14139
14135
  let e;
14140
14136
  return i.charAt(0) == "#" ? i.charAt(1).toLowerCase() == "x" ? e = parseInt(i.substring(2), 16) : e = parseInt(i.substring(1), 10) : e = t[i], e ? String.fromCharCode(e) : "&" + i;
14141
14137
  }
14142
- var Or = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
14138
+ var zr = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
14143
14139
  function Lu(i, t = {}) {
14144
14140
  var e = 1, s = 1;
14145
14141
  function n(R) {
@@ -14238,8 +14234,8 @@ function Lu(i, t = {}) {
14238
14234
  return h("property missing ':'");
14239
14235
  var F = d(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/), G = R({
14240
14236
  type: "declaration",
14241
- property: I.replace(Or, ""),
14242
- value: F ? se(F[0]).replace(Or, "") : ""
14237
+ property: I.replace(zr, ""),
14238
+ value: F ? se(F[0]).replace(zr, "") : ""
14243
14239
  });
14244
14240
  return d(/^[;\s]*/), G;
14245
14241
  }
@@ -14616,7 +14612,7 @@ const Bi = [
14616
14612
  "font-weight",
14617
14613
  "letter-spacing"
14618
14614
  ];
14619
- class _m {
14615
+ class Sm {
14620
14616
  controller;
14621
14617
  rootEl;
14622
14618
  ue;
@@ -14685,7 +14681,7 @@ class _m {
14685
14681
  e.text,
14686
14682
  e.x,
14687
14683
  e.y,
14688
- qn(e.getAttrs(), (n, r) => typeof r == "string")
14684
+ Gn(e.getAttrs(), (n, r) => typeof r == "string")
14689
14685
  ) : (e.el = _t.createSvgPath(e.toSVGPathD(), e.id), this.ue.insert(e.el))), e.followMouse && (!Ys(e.x, this.controller.mousePoint.x, 5) || !Ys(e.y, this.controller.mousePoint.y, 5)) && e.followTo(this.controller.mousePoint), e.targetToAfterDragFree && (this.controller.mousePoint.isDown || e.runEaseTo(
14690
14686
  {
14691
14687
  x: e.targetToAfterDragFree.targetX,
@@ -14710,7 +14706,7 @@ class _m {
14710
14706
  const s = e.toSVGPathD();
14711
14707
  if (this.attr(
14712
14708
  e,
14713
- qn(e.getAttrs(), (n, r) => typeof r == "string")
14709
+ Gn(e.getAttrs(), (n, r) => typeof r == "string")
14714
14710
  ), this.attr(e, "d", s), !this.currentMouseInShape) {
14715
14711
  const n = e.isPointInPath(
14716
14712
  this.controller.mousePoint.x,
@@ -14805,7 +14801,7 @@ class _m {
14805
14801
  }), this.ue.insert(o), o;
14806
14802
  }
14807
14803
  }
14808
- class Tm extends ut {
14804
+ class vm extends ut {
14809
14805
  svgWidth = 0;
14810
14806
  svgHeight = 0;
14811
14807
  width = 0;
@@ -14892,7 +14888,7 @@ class pe extends H {
14892
14888
  };
14893
14889
  }
14894
14890
  length() {
14895
- return gn(this.x, this.y);
14891
+ return pn(this.x, this.y);
14896
14892
  }
14897
14893
  scalar(t) {
14898
14894
  return this.x *= t, this.y *= t, this;
@@ -15192,7 +15188,7 @@ class Fu extends H {
15192
15188
  t.beginPath(), t.ellipse(0, 0, this.rx, this.ry, 0, 0, 2 * Math.PI, !0), t.closePath();
15193
15189
  }
15194
15190
  }
15195
- class Pm extends H {
15191
+ class Cm extends H {
15196
15192
  constructor(t) {
15197
15193
  super(t);
15198
15194
  }
@@ -15213,7 +15209,7 @@ class Pm extends H {
15213
15209
  t.beginPath(), t.moveTo(-50, -25), t.lineTo(0, -25), t.lineTo(0, -50), t.lineTo(50, 0), t.lineTo(0, 50), t.lineTo(0, 25), t.lineTo(-50, 25), t.lineTo(-50, -25), t.closePath();
15214
15210
  }
15215
15211
  }
15216
- class Mm extends H {
15212
+ class _m extends H {
15217
15213
  constructor(t) {
15218
15214
  super(t);
15219
15215
  }
@@ -15238,7 +15234,7 @@ class Mm extends H {
15238
15234
  t.beginPath(), t.moveTo(4, 24), t.lineTo(8, 16), t.lineTo(14, 10), t.lineTo(15, 0), t.lineTo(9, -10), t.lineTo(2, 0), t.lineTo(-2, 0), t.lineTo(-9, -10), t.lineTo(-15, 0), t.lineTo(-14, 10), t.lineTo(-8, 16), t.lineTo(-4, 24), t.closePath();
15239
15235
  }
15240
15236
  }
15241
- class Em extends H {
15237
+ class Tm extends H {
15242
15238
  rx;
15243
15239
  ry;
15244
15240
  constructor(t) {
@@ -15259,7 +15255,7 @@ class Em extends H {
15259
15255
  ];
15260
15256
  }
15261
15257
  }
15262
- class Am extends H {
15258
+ class Pm extends H {
15263
15259
  rx;
15264
15260
  ry;
15265
15261
  constructor(t) {
@@ -15296,7 +15292,7 @@ class Am extends H {
15296
15292
  ];
15297
15293
  }
15298
15294
  }
15299
- class km extends H {
15295
+ class Mm extends H {
15300
15296
  r;
15301
15297
  constructor(t) {
15302
15298
  super(t), this.r = t?.r || 20;
@@ -15310,7 +15306,7 @@ class km extends H {
15310
15306
  return t;
15311
15307
  }
15312
15308
  }
15313
- class Im extends H {
15309
+ class Em extends H {
15314
15310
  constructor(t) {
15315
15311
  super(t);
15316
15312
  }
@@ -15326,12 +15322,12 @@ class Im extends H {
15326
15322
  ];
15327
15323
  }
15328
15324
  }
15329
- class Dm extends H {
15325
+ class Am extends H {
15330
15326
  constructor(t) {
15331
15327
  super(t), this.originD = "m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z";
15332
15328
  }
15333
15329
  }
15334
- class Rm extends ut {
15330
+ class km extends ut {
15335
15331
  constructor(t) {
15336
15332
  super(t);
15337
15333
  const e = new Ge({
@@ -15453,7 +15449,7 @@ class Nu extends ut {
15453
15449
  });
15454
15450
  }
15455
15451
  }
15456
- class Lm extends ut {
15452
+ class Im extends ut {
15457
15453
  radius;
15458
15454
  expandRaidus;
15459
15455
  startDegree;
@@ -15591,11 +15587,11 @@ class Bu extends H {
15591
15587
  ), t.closePath();
15592
15588
  }
15593
15589
  containPoint(t, e) {
15594
- const s = yn(this.x, this.y, t, e), n = gt(De(this.x, this.y, t, e));
15590
+ const s = gn(this.x, this.y, t, e), n = gt(De(this.x, this.y, t, e));
15595
15591
  return s <= this.radius && n >= this.startDegree && n <= this.endDegree;
15596
15592
  }
15597
15593
  }
15598
- class zm extends ut {
15594
+ class Dm extends ut {
15599
15595
  showFlame;
15600
15596
  ship;
15601
15597
  flame;
@@ -15622,7 +15618,7 @@ class zm extends ut {
15622
15618
  });
15623
15619
  }
15624
15620
  }
15625
- class Om extends ut {
15621
+ class Rm extends ut {
15626
15622
  value;
15627
15623
  backgroundRect;
15628
15624
  occupyRect;
@@ -15682,7 +15678,7 @@ class Om extends ut {
15682
15678
  });
15683
15679
  }
15684
15680
  }
15685
- class Fm extends ut {
15681
+ class Lm extends ut {
15686
15682
  width;
15687
15683
  height;
15688
15684
  cornerRadius;
@@ -15719,7 +15715,7 @@ class Fm extends ut {
15719
15715
  };
15720
15716
  }
15721
15717
  }
15722
- class Fr extends H {
15718
+ class Or extends H {
15723
15719
  extendDegree;
15724
15720
  radius;
15725
15721
  startDegree;
@@ -15770,7 +15766,7 @@ class Fr extends H {
15770
15766
  );
15771
15767
  }
15772
15768
  }
15773
- class Nm extends ut {
15769
+ class zm extends ut {
15774
15770
  percent = 0;
15775
15771
  ringBg;
15776
15772
  ring;
@@ -15784,7 +15780,7 @@ class Nm extends ut {
15784
15780
  const e = t?.startDegree || 0, s = t?.endDegree || 180, n = t?.extendDegree || 15, r = t?.lineWidth || 12;
15785
15781
  this.bgColor = t?.bgColor || "#B3C6E7", this.startColor = t?.startColor || "#5A82F0", this.endColor = t?.endColor || "#66B3FF", this.percent = t?.percent || 0, this.indicatorLineCount = 22 + 1;
15786
15782
  const o = 20, a = 2, h = 17;
15787
- this.ringBg = new Fr({
15783
+ this.ringBg = new Or({
15788
15784
  ...t,
15789
15785
  x: t?.x,
15790
15786
  y: t?.y,
@@ -15795,7 +15791,7 @@ class Nm extends ut {
15795
15791
  extendDegree: n,
15796
15792
  lineWidth: r,
15797
15793
  color: this.bgColor
15798
- }), this.addShape(this.ringBg), this.ring = new Fr({
15794
+ }), this.addShape(this.ringBg), this.ring = new Or({
15799
15795
  ...t,
15800
15796
  x: t?.x,
15801
15797
  y: t?.y,
@@ -15881,7 +15877,7 @@ class Nm extends ut {
15881
15877
  }
15882
15878
  }
15883
15879
  }
15884
- class Nr extends H {
15880
+ class Fr extends H {
15885
15881
  radius;
15886
15882
  startDegree;
15887
15883
  endDegree;
@@ -15928,7 +15924,7 @@ class Nr extends H {
15928
15924
  );
15929
15925
  }
15930
15926
  }
15931
- class Bm extends ut {
15927
+ class Om extends ut {
15932
15928
  percent = 0;
15933
15929
  ringBg;
15934
15930
  ring;
@@ -15938,7 +15934,7 @@ class Bm extends ut {
15938
15934
  constructor(t) {
15939
15935
  super(t);
15940
15936
  const e = t?.lineWidth || 12;
15941
- this.bgColor = t?.bgColor || "#B3C6E7", this.startColor = t?.startColor || "#5A82F0", this.endColor = t?.endColor || "#66B3FF", this.percent = t?.percent || 0, this.ringBg = new Nr({
15937
+ this.bgColor = t?.bgColor || "#B3C6E7", this.startColor = t?.startColor || "#5A82F0", this.endColor = t?.endColor || "#66B3FF", this.percent = t?.percent || 0, this.ringBg = new Fr({
15942
15938
  ...t,
15943
15939
  x: t?.x,
15944
15940
  y: t?.y,
@@ -15948,7 +15944,7 @@ class Bm extends ut {
15948
15944
  endDegree: 360,
15949
15945
  lineWidth: e,
15950
15946
  color: this.bgColor
15951
- }), this.addShape(this.ringBg), this.ring = new Nr({
15947
+ }), this.addShape(this.ringBg), this.ring = new Fr({
15952
15948
  ...t,
15953
15949
  x: t?.x,
15954
15950
  y: t?.y,
@@ -16008,7 +16004,7 @@ class Yu extends H {
16008
16004
  }
16009
16005
  }
16010
16006
  const Xu = Yu;
16011
- class Ym extends H {
16007
+ class Fm extends H {
16012
16008
  points;
16013
16009
  light;
16014
16010
  constructor(t = []) {
@@ -16071,7 +16067,7 @@ class Ym extends H {
16071
16067
  return e.r *= s, e.g *= s, e.b *= s, e.toString();
16072
16068
  }
16073
16069
  }
16074
- class Xm extends ut {
16070
+ class Nm extends ut {
16075
16071
  fettis = [];
16076
16072
  constructor(t, e, s) {
16077
16073
  super();
@@ -16277,7 +16273,7 @@ class fa {
16277
16273
  }), o);
16278
16274
  }
16279
16275
  polymorphTween(t = 6e3, e) {
16280
- const s = this.shapes.findIndex((a) => a instanceof ut) >= 0 ? this.polymorphGroup() : this.polymorph(), n = s(0), r = e?.onUpdate, o = new pn({ frameDuration: t });
16276
+ const s = this.shapes.findIndex((a) => a instanceof ut) >= 0 ? this.polymorphGroup() : this.polymorph(), n = s(0), r = e?.onUpdate, o = new mn({ frameDuration: t });
16281
16277
  o.addTween(
16282
16278
  { t: 0 },
16283
16279
  { t: 1 },
@@ -16350,12 +16346,12 @@ const Uu = {
16350
16346
  this.map.clear();
16351
16347
  }
16352
16348
  };
16353
- function Um(i, t, e) {
16349
+ function Bm(i, t, e) {
16354
16350
  const s = new OffscreenCanvas(i, t), n = s.getContext("2d");
16355
16351
  if (n)
16356
16352
  return e(n), s.transferToImageBitmap();
16357
16353
  }
16358
- function Vm(i, t, e) {
16354
+ function Ym(i, t, e) {
16359
16355
  const s = i.createPattern(
16360
16356
  Uu.transform(t),
16361
16357
  "no-repeat"
@@ -16368,13 +16364,13 @@ function Vm(i, t, e) {
16368
16364
  function Vu(i) {
16369
16365
  return window.URL.createObjectURL(i);
16370
16366
  }
16371
- function Gm(i) {
16367
+ function Xm(i) {
16372
16368
  return window.URL.revokeObjectURL(i);
16373
16369
  }
16374
- const Br = new ke();
16370
+ const Nr = new ke();
16375
16371
  async function Gu(i, t = 6e4) {
16376
16372
  return new Promise((e, s) => {
16377
- const n = typeof i == "string" ? i : Vu(i), r = Br.get(n);
16373
+ const n = typeof i == "string" ? i : Vu(i), r = Nr.get(n);
16378
16374
  if (r)
16379
16375
  return e(r);
16380
16376
  const o = document.createElement("img");
@@ -16387,7 +16383,7 @@ async function Gu(i, t = 6e4) {
16387
16383
  element: o,
16388
16384
  imageData: Pu(o)
16389
16385
  };
16390
- Br.set(n, u), e(u), o.onerror = o.onload = null;
16386
+ Nr.set(n, u), e(u), o.onerror = o.onload = null;
16391
16387
  }, o.onerror = (h) => {
16392
16388
  clearTimeout(a), s(h);
16393
16389
  }, o.src = n;
@@ -16405,7 +16401,7 @@ async function da(i = Lt.text, t = ["*"]) {
16405
16401
  data: n
16406
16402
  };
16407
16403
  }
16408
- async function qm(i = ["image/*"]) {
16404
+ async function Um(i = ["image/*"]) {
16409
16405
  const e = (await Ao(i))[0];
16410
16406
  if (!e.type.match(/image\/*/))
16411
16407
  return new Error("Not Image Type!");
@@ -16456,7 +16452,7 @@ function ma(i, t, e) {
16456
16452
  resume: () => r = !1
16457
16453
  };
16458
16454
  }
16459
- const jm = {
16455
+ const Vm = {
16460
16456
  BACKSPACE: 8,
16461
16457
  TAB: 9,
16462
16458
  COMMA: 188,
@@ -16474,7 +16470,7 @@ const jm = {
16474
16470
  RIGHT: 39,
16475
16471
  SPACE: 32
16476
16472
  };
16477
- function Hm(i) {
16473
+ function Gm(i) {
16478
16474
  if (i.key)
16479
16475
  return i.key;
16480
16476
  if (i.keyCode)
@@ -16482,7 +16478,7 @@ function Hm(i) {
16482
16478
  if (i.which)
16483
16479
  return i.which;
16484
16480
  }
16485
- async function $m(i = { keys: ["o"] }, t = Lt.text) {
16481
+ async function qm(i = { keys: ["o"] }, t = Lt.text) {
16486
16482
  const e = Eh(), s = ma(
16487
16483
  i,
16488
16484
  async () => {
@@ -16498,7 +16494,7 @@ async function $m(i = { keys: ["o"] }, t = Lt.text) {
16498
16494
  );
16499
16495
  return await e.promise;
16500
16496
  }
16501
- function Wm(i = { keys: ["o"] }, t = Lt.text) {
16497
+ function jm(i = { keys: ["o"] }, t = Lt.text) {
16502
16498
  const e = new je();
16503
16499
  return ma(
16504
16500
  i,
@@ -16519,7 +16515,7 @@ function Wm(i = { keys: ["o"] }, t = Lt.text) {
16519
16515
  }
16520
16516
  };
16521
16517
  }
16522
- async function Zm(i, t = 6e4) {
16518
+ async function Hm(i, t = 6e4) {
16523
16519
  return new Promise((e, s) => {
16524
16520
  const n = document.createElement("script");
16525
16521
  n.type = "text/javascript", n.async = !1, n.onload = (o) => {
@@ -16533,7 +16529,7 @@ async function Zm(i, t = 6e4) {
16533
16529
  document.body.appendChild(n);
16534
16530
  });
16535
16531
  }
16536
- async function Jm(i, t = document.getElementsByTagName("head")[0], e = 6e4) {
16532
+ async function $m(i, t = document.getElementsByTagName("head")[0], e = 6e4) {
16537
16533
  return new Promise((s, n) => {
16538
16534
  const r = document.createElement("link");
16539
16535
  r.setAttribute("type", "text/css"), r.setAttribute("rel", "stylesheet"), r.onload = (a) => {
@@ -16547,7 +16543,7 @@ async function Jm(i, t = document.getElementsByTagName("head")[0], e = 6e4) {
16547
16543
  t.appendChild(r);
16548
16544
  });
16549
16545
  }
16550
- function Qm() {
16546
+ function Wm() {
16551
16547
  return new Promise((i) => {
16552
16548
  const t = Array.from(
16553
16549
  document.querySelectorAll("link[rel=stylesheet]")
@@ -16561,7 +16557,7 @@ function Qm() {
16561
16557
  });
16562
16558
  });
16563
16559
  }
16564
- function Yr(i, t) {
16560
+ function Br(i, t) {
16565
16561
  const e = document.createElement("a");
16566
16562
  e.style.visibility = "hidden", e.download = t, typeof i == "string" ? e.href = i : e.href = window.URL.createObjectURL(i), e.click();
16567
16563
  }
@@ -16569,7 +16565,7 @@ const en = new ke();
16569
16565
  function pa(i, t) {
16570
16566
  return ah({ url: i, ...t });
16571
16567
  }
16572
- async function bn(i, t) {
16568
+ async function wn(i, t) {
16573
16569
  if (typeof fetch > "u")
16574
16570
  throw new Error("fetch() not supported!");
16575
16571
  if (typeof AbortController > "u")
@@ -16630,21 +16626,21 @@ async function bn(i, t) {
16630
16626
  } else
16631
16627
  return Promise.reject(h);
16632
16628
  }
16633
- function Km(i, t) {
16629
+ function Zm(i, t) {
16634
16630
  const e = en.get(pa(i, t));
16635
16631
  e && e.abort();
16636
16632
  }
16637
- function tp(i = 3, t) {
16638
- return rn(bn, i, t);
16633
+ function Jm(i = 3, t) {
16634
+ return nn(wn, i, t);
16639
16635
  }
16640
- function ep(i = 6e4) {
16641
- return on(bn, i);
16636
+ function Qm(i = 6e4) {
16637
+ return rn(wn, i);
16642
16638
  }
16643
- function sp(i = 6e4, t = 3, e) {
16644
- return on(rn(bn, t, e), i);
16639
+ function Km(i = 6e4, t = 3, e) {
16640
+ return rn(nn(wn, t, e), i);
16645
16641
  }
16646
- function ip(i, t, e) {
16647
- if (typeof t == "string" && (t = Hr(t)), (typeof t == "string" || t === void 0) && e === void 0) {
16642
+ function tp(i, t, e) {
16643
+ if (typeof t == "string" && (t = qr(t)), (typeof t == "string" || t === void 0) && e === void 0) {
16648
16644
  const s = Object.assign({}, i.dataset);
16649
16645
  return Object.keys(s).forEach((n) => {
16650
16646
  if (s[n]?.startsWith("[") || s[n]?.startsWith("{"))
@@ -16660,7 +16656,7 @@ function ip(i, t, e) {
16660
16656
  });
16661
16657
  }
16662
16658
  }
16663
- function np(i, t) {
16659
+ function ep(i, t) {
16664
16660
  t.split(/[,\s]+/).forEach((e) => {
16665
16661
  e.trim() != "" && delete i.dataset[e.trim()];
16666
16662
  });
@@ -16698,16 +16694,16 @@ function ga(i, t, e = "toggle") {
16698
16694
  );
16699
16695
  }
16700
16696
  }
16701
- function rp(i, t) {
16697
+ function sp(i, t) {
16702
16698
  ga(i, t, "add");
16703
16699
  }
16704
- function op(i, t) {
16700
+ function ip(i, t) {
16705
16701
  ga(i, t, "remove");
16706
16702
  }
16707
- function hp(i, t) {
16703
+ function np(i, t) {
16708
16704
  return new RegExp("(?:^|\\s+)" + t + "(?:\\s+|$)").test(i.className) || !1;
16709
16705
  }
16710
- function cp(i, t) {
16706
+ function rp(i, t) {
16711
16707
  Xe(i, "display") == "none" && t === void 0 || t === !0 ? ju(i) : Hu(i);
16712
16708
  }
16713
16709
  function ju(i) {
@@ -16834,21 +16830,21 @@ function $u(i, t = !1) {
16834
16830
  n != s && e.content.replaceChild(n, s);
16835
16831
  }), e.content;
16836
16832
  }
16837
- function lp(i) {
16833
+ function op(i) {
16838
16834
  return document.createElement.call(document, i);
16839
16835
  }
16840
- function up(i) {
16836
+ function hp(i) {
16841
16837
  return document.createElementNS("http://www.w3.org/1999/xhtml", i);
16842
16838
  }
16843
- function fp(i) {
16839
+ function cp(i) {
16844
16840
  return document.createTextNode.call(document, i);
16845
16841
  }
16846
16842
  function ya(i) {
16847
- return i.tagName == "SCRIPT" && (i = Xr(i)), i.querySelectorAll && i.querySelectorAll("script").forEach((t) => {
16848
- t.parentNode?.replaceChild(Xr(t), t);
16843
+ return i.tagName == "SCRIPT" && (i = Yr(i)), i.querySelectorAll && i.querySelectorAll("script").forEach((t) => {
16844
+ t.parentNode?.replaceChild(Yr(t), t);
16849
16845
  }), i;
16850
16846
  }
16851
- function Xr(i) {
16847
+ function Yr(i) {
16852
16848
  const t = i.ownerDocument.createElement("script");
16853
16849
  t.text = i.text;
16854
16850
  const e = i.attributes;
@@ -16856,7 +16852,7 @@ function Xr(i) {
16856
16852
  t.setAttribute(e[s].name, e[s].value);
16857
16853
  return t;
16858
16854
  }
16859
- function dp(i) {
16855
+ function lp(i) {
16860
16856
  return {
16861
16857
  shadowRoot: () => {
16862
16858
  let t = i;
@@ -16871,7 +16867,7 @@ function dp(i) {
16871
16867
  }
16872
16868
  };
16873
16869
  }
16874
- function mp(i, t = "http://test.com/localstorage.html") {
16870
+ function up(i, t = "http://test.com/localstorage.html") {
16875
16871
  const e = document.createElement("iframe");
16876
16872
  e.src = t, document.body.append(e), setTimeout(function() {
16877
16873
  e.contentWindow?.postMessage(i, t);
@@ -16879,7 +16875,7 @@ function mp(i, t = "http://test.com/localstorage.html") {
16879
16875
  e.remove();
16880
16876
  }, 6e3);
16881
16877
  }
16882
- async function pp(i) {
16878
+ async function fp(i) {
16883
16879
  if (navigator.clipboard)
16884
16880
  return await navigator.clipboard.writeText(i);
16885
16881
  {
@@ -16887,7 +16883,7 @@ async function pp(i) {
16887
16883
  return t.value = i, t.style.opacity = "0", t.style.position = "fixed", t.style.top = "0", t.style.left = "0", t.focus(), t.select(), document.execCommand("copy");
16888
16884
  }
16889
16885
  }
16890
- function gp() {
16886
+ function dp() {
16891
16887
  return "geolocation" in navigator ? new Promise((i, t) => {
16892
16888
  navigator.geolocation.getCurrentPosition(
16893
16889
  (e) => {
@@ -16900,10 +16896,10 @@ function gp() {
16900
16896
  );
16901
16897
  }) : Promise.reject("Geolocation is not available.");
16902
16898
  }
16903
- function yp(i = 200) {
16899
+ function mp(i = 200) {
16904
16900
  "vibrate" in navigator ? window.navigator.vibrate(i) : console.error("Your device is not support vibrate on this browser.");
16905
16901
  }
16906
- function xp(i) {
16902
+ function pp(i) {
16907
16903
  const t = new Proxy(window, {
16908
16904
  get(e, s, n) {
16909
16905
  if (typeof s == "string" && ["open", "location", "document"].includes(s))
@@ -17008,11 +17004,11 @@ function Ne(i, t = {}, e = [], s) {
17008
17004
  el: s
17009
17005
  };
17010
17006
  }
17011
- function Sn(i) {
17007
+ function bn(i) {
17012
17008
  return Ne(
17013
17009
  i.tagName,
17014
17010
  ia(i),
17015
- Array.from(i.children).map((t) => Sn(t)),
17011
+ Array.from(i.children).map((t) => bn(t)),
17016
17012
  i
17017
17013
  );
17018
17014
  }
@@ -17022,13 +17018,13 @@ function hs(i, t = document.documentElement) {
17022
17018
  if (i.el = document.createElement(i.tag), i.props)
17023
17019
  for (const e in i.props) {
17024
17020
  const s = i.props[e];
17025
- e.startsWith("on") ? i.el.addEventListener(e.slice(2).toLowerCase(), s) : e === "style" ? wn(i.el, i.props[e]) : ls(i.el, e, s);
17021
+ e.startsWith("on") ? i.el.addEventListener(e.slice(2).toLowerCase(), s) : e === "style" ? xn(i.el, i.props[e]) : ls(i.el, e, s);
17026
17022
  }
17027
17023
  return i.children && (typeof i.children == "string" ? i.el.appendChild(document.createTextNode(i.children)) : i.children.forEach((e) => {
17028
17024
  hs(e, i.el);
17029
17025
  })), t.appendChild(i.el), i.el;
17030
17026
  }
17031
- function vn(i, t) {
17027
+ function Sn(i, t) {
17032
17028
  if (!i.el)
17033
17029
  return;
17034
17030
  if (i.tag !== t.tag) {
@@ -17050,7 +17046,7 @@ function vn(i, t) {
17050
17046
  } else if (a === "style") {
17051
17047
  for (const l in h)
17052
17048
  l in c || sa(e, l);
17053
- wn(e, c);
17049
+ xn(e, c);
17054
17050
  } else
17055
17051
  ls(e, a, c);
17056
17052
  }
@@ -17064,7 +17060,7 @@ function vn(i, t) {
17064
17060
  else {
17065
17061
  const a = Math.min(r.length, o.length);
17066
17062
  for (let h = 0; h < a; h++)
17067
- vn(r[h], o[h]);
17063
+ Sn(r[h], o[h]);
17068
17064
  o.length > r.length && o.slice(r.length).forEach((h) => {
17069
17065
  hs(h, e);
17070
17066
  }), o.length < r.length && r.slice(o.length).forEach((h) => {
@@ -17072,7 +17068,7 @@ function vn(i, t) {
17072
17068
  });
17073
17069
  }
17074
17070
  }
17075
- class wp {
17071
+ class gp {
17076
17072
  state;
17077
17073
  el;
17078
17074
  constructor(t, e) {
@@ -17100,7 +17096,7 @@ class wp {
17100
17096
  } else if (de(s).isInputCheckbox()) {
17101
17097
  const l = s;
17102
17098
  wt(() => {
17103
- l.checked = Jr(
17099
+ l.checked = Wr(
17104
17100
  this.getStateValue(c),
17105
17101
  l.value
17106
17102
  );
@@ -17204,7 +17200,7 @@ class wp {
17204
17200
  })`;
17205
17201
  }
17206
17202
  }
17207
- class bp {
17203
+ class yp {
17208
17204
  requestid = 0;
17209
17205
  url;
17210
17206
  socket;
@@ -17264,7 +17260,7 @@ class bp {
17264
17260
  return delete this.waitings[this.requestid], r;
17265
17261
  }
17266
17262
  }
17267
- function Sp(i) {
17263
+ function xp(i) {
17268
17264
  const t = document.documentElement, e = window.top === window.self ? window.devicePixelRatio : 1;
17269
17265
  t.dataset.dpr = e;
17270
17266
  let s = 100;
@@ -17282,10 +17278,10 @@ function Sp(i) {
17282
17278
  !1
17283
17279
  );
17284
17280
  }
17285
- function vp(i, t = import.meta.url) {
17281
+ function wp(i, t = import.meta.url) {
17286
17282
  return new URL(i, t);
17287
17283
  }
17288
- function Cn(i = window.location.href) {
17284
+ function vn(i = window.location.href) {
17289
17285
  try {
17290
17286
  return new URL(i);
17291
17287
  } catch {
@@ -17302,15 +17298,15 @@ function Cn(i = window.location.href) {
17302
17298
  };
17303
17299
  }
17304
17300
  }
17305
- function Cp(i) {
17306
- const t = Cn(i);
17301
+ function bp(i) {
17302
+ const t = vn(i);
17307
17303
  return t.protocol === "http:" || t.protocol === "https:";
17308
17304
  }
17309
17305
  function Ju(i = window.location.href) {
17310
- const t = Cn(i), e = t.href.indexOf(t.hash);
17306
+ const t = vn(i), e = t.href.indexOf(t.hash);
17311
17307
  return t.hash && e >= 0 ? t.href.substring(0, e) : t.href;
17312
17308
  }
17313
- function _p(i = Cn().search) {
17309
+ function Sp(i = vn().search) {
17314
17310
  i = decodeURIComponent(i).replace(/^[#?&]/, "");
17315
17311
  const t = {};
17316
17312
  if (!i)
@@ -17321,10 +17317,10 @@ function _p(i = Cn().search) {
17321
17317
  t[s[1]] = s[2], s = e.exec(i);
17322
17318
  return t;
17323
17319
  }
17324
- const Tp = (i = window.location.href) => JSON.parse(
17320
+ const vp = (i = window.location.href) => JSON.parse(
17325
17321
  '{"' + decodeURI(i.split("?")[1]).replace(/"/g, '\\"').replace(/&/g, '","').replace(/=/g, '":"') + '"}'
17326
17322
  );
17327
- function _n(i) {
17323
+ function Cn(i) {
17328
17324
  return "?" + Object.entries(i).map(([t, e]) => `${encodeURIComponent(t)}=${encodeURIComponent(e)}`).join("&");
17329
17325
  }
17330
17326
  function Qu(i) {
@@ -17335,16 +17331,16 @@ function Qu(i) {
17335
17331
  function Ku(i, t) {
17336
17332
  return i.replace(/(?:\?.*)?$/, t.replace(/^[&?]/, "?"));
17337
17333
  }
17338
- function Pp(i, t) {
17339
- return Ku(i, _n(t));
17334
+ function Cp(i, t) {
17335
+ return Ku(i, Cn(t));
17340
17336
  }
17341
17337
  function wa(i, t) {
17342
17338
  return i + t.replace(/^[&?]/, i.indexOf("?") >= 0 ? "&" : "?");
17343
17339
  }
17344
- function Mp(i, t) {
17345
- return wa(i, _n(t));
17340
+ function _p(i, t) {
17341
+ return wa(i, Cn(t));
17346
17342
  }
17347
- class Ep {
17343
+ class Tp {
17348
17344
  worker;
17349
17345
  cbs = {};
17350
17346
  constructor(t) {
@@ -17416,7 +17412,7 @@ class Ep {
17416
17412
  });
17417
17413
  }
17418
17414
  }
17419
- class Ap {
17415
+ class Pp {
17420
17416
  port1;
17421
17417
  port2;
17422
17418
  port1MessageCbs = [];
@@ -17486,7 +17482,7 @@ function tf() {
17486
17482
  i = new XMLHttpRequest();
17487
17483
  return i;
17488
17484
  }
17489
- function kp(i, t) {
17485
+ function Mp(i, t) {
17490
17486
  return new Promise((e, s) => {
17491
17487
  const {
17492
17488
  method: n = "GET",
@@ -17539,7 +17535,7 @@ function kp(i, t) {
17539
17535
  switch (d) {
17540
17536
  case "GET":
17541
17537
  let b = "";
17542
- r instanceof FormData ? b = Qu(r) : b = _n(r), f.open("GET", wa(i, b), !0), w(), f.send(null);
17538
+ r instanceof FormData ? b = Qu(r) : b = Cn(r), f.open("GET", wa(i, b), !0), w(), f.send(null);
17543
17539
  break;
17544
17540
  default:
17545
17541
  f.open(d, i, !0), w(), m ? f.sendAsBinary(o) : v ? f.send(JSON.stringify(r)) : S ? f.send(
@@ -17554,7 +17550,7 @@ function kp(i, t) {
17554
17550
  }
17555
17551
  });
17556
17552
  }
17557
- async function Ip(i) {
17553
+ async function Ep(i) {
17558
17554
  const t = {
17559
17555
  url: i.action || "",
17560
17556
  data: {},
@@ -17608,7 +17604,7 @@ Content-Type: ` + d.type + `\r
17608
17604
  `) + "--" + t.boundary + `--\r
17609
17605
  `, t;
17610
17606
  }
17611
- class Dp {
17607
+ class Ap {
17612
17608
  controller;
17613
17609
  ctx;
17614
17610
  shapes = [];
@@ -17841,7 +17837,7 @@ function ef(i, t) {
17841
17837
  }
17842
17838
  }
17843
17839
  }
17844
- class Rp {
17840
+ class kp {
17845
17841
  localVideoUtil;
17846
17842
  remoteVideoUtil;
17847
17843
  localPeerConnection = null;
@@ -17964,7 +17960,7 @@ ${t.sdp}.`), this.remotePeerConnection && (this.trace("remotePeerConnection setL
17964
17960
  return t === this.localPeerConnection ? "localPeerConnection" : "remotePeerConnection";
17965
17961
  }
17966
17962
  }
17967
- class Lp {
17963
+ class Ip {
17968
17964
  canvas;
17969
17965
  gl;
17970
17966
  constructor(t) {
@@ -17974,13 +17970,13 @@ class Lp {
17974
17970
  throw new Error("WebGL failed to initialize.");
17975
17971
  }
17976
17972
  }
17977
- const ba = [], Ur = {};
17973
+ const ba = [], Xr = {};
17978
17974
  function Sa(i) {
17979
17975
  ba.push(i);
17980
17976
  }
17981
- function zp(i, t = !1) {
17977
+ function Dp(i, t = !1) {
17982
17978
  const e = Ju();
17983
- if (Ur[e])
17979
+ if (Xr[e])
17984
17980
  return;
17985
17981
  wx.error((r) => {
17986
17982
  console.log(r.errMsg || JSON.stringify(r));
@@ -18034,9 +18030,9 @@ function zp(i, t = !1) {
18034
18030
  jsApiList: s,
18035
18031
  openTagList: n
18036
18032
  })
18037
- ), Ur[e] = !0;
18033
+ ), Xr[e] = !0;
18038
18034
  }
18039
- function Op(i) {
18035
+ function Rp(i) {
18040
18036
  return new Promise((t, e) => {
18041
18037
  wx.checkJsApi({
18042
18038
  jsApiList: [i],
@@ -18049,74 +18045,74 @@ function Op(i) {
18049
18045
  });
18050
18046
  });
18051
18047
  }
18052
- function Fp(i) {
18048
+ function Lp(i) {
18053
18049
  Sa(function() {
18054
18050
  wx.updateAppMessageShareData(i);
18055
18051
  });
18056
18052
  }
18057
- function Np(i) {
18053
+ function zp(i) {
18058
18054
  Sa(function() {
18059
18055
  wx.updateTimelineShareData(i);
18060
18056
  });
18061
18057
  }
18062
- function Bp(i) {
18058
+ function Op(i) {
18063
18059
  wx.chooseImage(i);
18064
18060
  }
18065
- function Yp(i) {
18061
+ function Fp(i) {
18066
18062
  wx.previewImage(i);
18067
18063
  }
18068
- function Xp(i) {
18064
+ function Np(i) {
18069
18065
  wx.uploadImage(i);
18070
18066
  }
18071
- function Up(i) {
18067
+ function Bp(i) {
18072
18068
  wx.downloadImage(i);
18073
18069
  }
18074
- function Vp(i) {
18070
+ function Yp(i) {
18075
18071
  wx.getLocalImgData(i);
18076
18072
  }
18077
- function Gp() {
18073
+ function Xp() {
18078
18074
  wx.startRecord();
18079
18075
  }
18080
- function qp(i) {
18076
+ function Up(i) {
18081
18077
  wx.stopRecord(i);
18082
18078
  }
18083
- function jp(i) {
18079
+ function Vp(i) {
18084
18080
  wx.onVoiceRecordEnd(i);
18085
18081
  }
18086
- function Hp(i) {
18082
+ function Gp(i) {
18087
18083
  wx.playVoice(i);
18088
18084
  }
18089
- function $p(i) {
18085
+ function qp(i) {
18090
18086
  wx.pauseVoice(i);
18091
18087
  }
18092
- function Wp(i) {
18088
+ function jp(i) {
18093
18089
  wx.stopVoice(i);
18094
18090
  }
18095
- function Zp(i) {
18091
+ function Hp(i) {
18096
18092
  wx.onVoicePlayEnd(i);
18097
18093
  }
18098
- function Jp(i) {
18094
+ function $p(i) {
18099
18095
  wx.uploadVoice(i);
18100
18096
  }
18101
- function Qp(i) {
18097
+ function Wp(i) {
18102
18098
  wx.downloadVoice(i);
18103
18099
  }
18104
- function Kp(i) {
18100
+ function Zp(i) {
18105
18101
  wx.translateVoice(i);
18106
18102
  }
18107
- function t0(i) {
18103
+ function Jp(i) {
18108
18104
  wx.getNetworkType(i);
18109
18105
  }
18110
- function e0(i) {
18106
+ function Qp(i) {
18111
18107
  wx.openLocation(i);
18112
18108
  }
18113
- function s0(i) {
18109
+ function Kp(i) {
18114
18110
  wx.getLocation(i);
18115
18111
  }
18116
- function i0(i) {
18112
+ function t0(i) {
18117
18113
  wx.scanQRCode(i);
18118
18114
  }
18119
- function n0(i, t, e) {
18115
+ function e0(i, t, e) {
18120
18116
  function s() {
18121
18117
  WeixinJSBridge.invoke("getBrandWCPayRequest", i, function(n) {
18122
18118
  n.err_msg == "get_brand_wcpay_request:ok" ? t() : e(n.err_msg);
@@ -18124,12 +18120,12 @@ function n0(i, t, e) {
18124
18120
  }
18125
18121
  typeof WeixinJSBridge > "u" ? document.addEventListener ? document.addEventListener("WeixinJSBridgeReady", s, !1) : document.attachEvent && (document.attachEvent("WeixinJSBridgeReady", s), document.attachEvent("onWeixinJSBridgeReady", s)) : s();
18126
18122
  }
18127
- function r0(i, t, e = "snsapi_userinfo", s = "") {
18123
+ function s0(i, t, e = "snsapi_userinfo", s = "") {
18128
18124
  return `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${i}&redirect_uri=${encodeURIComponent(
18129
18125
  t
18130
18126
  )}&response_type=code&scope=${e}&state=${s}#wechat_redirect`;
18131
18127
  }
18132
- function o0(i) {
18128
+ function i0(i) {
18133
18129
  window.AlipayJSBridge ? i && i() : document.addEventListener("AlipayJSBridgeReady", i, !1);
18134
18130
  }
18135
18131
  function ms(i, t) {
@@ -18171,7 +18167,7 @@ function ms(i, t) {
18171
18167
  }
18172
18168
  return `${i.error}(${e}): ${i.errorMessage}`;
18173
18169
  }
18174
- function a0(i, t, e) {
18170
+ function n0(i, t, e) {
18175
18171
  ap.tradePay(
18176
18172
  Object.assign(i, {
18177
18173
  // fail: (res: commonFailOption) => {
@@ -18203,7 +18199,7 @@ function a0(i, t, e) {
18203
18199
  }
18204
18200
  );
18205
18201
  }
18206
- function h0(i, t, e) {
18202
+ function r0(i, t, e) {
18207
18203
  ap.scan(
18208
18204
  Object.assign(i, {
18209
18205
  fail: (s) => {
@@ -18215,7 +18211,7 @@ function h0(i, t, e) {
18215
18211
  }
18216
18212
  );
18217
18213
  }
18218
- function c0(i, t, e) {
18214
+ function o0(i, t, e) {
18219
18215
  ap.getLocation(
18220
18216
  Object.assign(i, {
18221
18217
  fail: (s) => {
@@ -18227,7 +18223,7 @@ function c0(i, t, e) {
18227
18223
  }
18228
18224
  );
18229
18225
  }
18230
- function l0(i, t, e) {
18226
+ function a0(i, t, e) {
18231
18227
  ap.openLocation(
18232
18228
  Object.assign(i, {
18233
18229
  fail: (s) => {
@@ -18239,7 +18235,7 @@ function l0(i, t, e) {
18239
18235
  }
18240
18236
  );
18241
18237
  }
18242
- function u0(i, t, e) {
18238
+ function h0(i, t, e) {
18243
18239
  ap.chooseImage(
18244
18240
  Object.assign(i, {
18245
18241
  fail: (s) => {
@@ -18251,7 +18247,7 @@ function u0(i, t, e) {
18251
18247
  }
18252
18248
  );
18253
18249
  }
18254
- function f0(i, t, e) {
18250
+ function c0(i, t, e) {
18255
18251
  ap.previewImage(
18256
18252
  Object.assign(i, {
18257
18253
  fail: (s) => {
@@ -18263,13 +18259,13 @@ function f0(i, t, e) {
18263
18259
  }
18264
18260
  );
18265
18261
  }
18266
- class d0 {
18262
+ class l0 {
18267
18263
  map;
18268
18264
  constructor(t, e = 120.619585, s = 31.299379, n = 18) {
18269
18265
  this.map = new T.Map(t), this.map.centerAndZoom(new T.LngLat(e, s), n);
18270
18266
  }
18271
18267
  }
18272
- class m0 {
18268
+ class u0 {
18273
18269
  /// 当前页数,从0开始
18274
18270
  currentPage;
18275
18271
  /// 每页item数量
@@ -18340,7 +18336,7 @@ class m0 {
18340
18336
  this.nextText && (this.currentPage < this.totalPages - 1 || this.nextShowAlways) && this.appendVNode(t, this.currentPage + 1, {
18341
18337
  text: this.nextText,
18342
18338
  classes: "next"
18343
- }), vn(this.parentVNode, t), this.parentVNode = t;
18339
+ }), Sn(this.parentVNode, t), this.parentVNode = t;
18344
18340
  }
18345
18341
  selectPage(t, e) {
18346
18342
  this.currentPage = t = t < 0 ? 0 : t < this.totalPages ? t : this.totalPages - 1, this.drawLinks();
@@ -18355,19 +18351,19 @@ class m0 {
18355
18351
  }
18356
18352
  }
18357
18353
  export {
18358
- Pm as Arrow,
18354
+ Cm as Arrow,
18359
18355
  Xo as BezierEasing,
18360
18356
  ae as BufferAttribute,
18361
- qf as CSSToJSEasing,
18362
- lr as Clock,
18357
+ Uf as CSSToJSEasing,
18358
+ cr as Clock,
18363
18359
  rt as Color,
18364
18360
  ua as ColorManagement,
18365
- jm as CommonKeyCode,
18366
- Xm as Confetti,
18367
- Dm as Cross,
18361
+ Vm as CommonKeyCode,
18362
+ Nm as Confetti,
18363
+ Am as Cross,
18368
18364
  $s as CustomCanvasContext,
18369
18365
  Ri as CustomCanvasGradient,
18370
- fr as CustomCanvasPattern,
18366
+ ur as CustomCanvasPattern,
18371
18367
  Ru as DOMParse,
18372
18368
  Ye as DOMSVGUtil,
18373
18369
  gl as DOMToBlob,
@@ -18377,364 +18373,361 @@ export {
18377
18373
  Fu as Ellipse,
18378
18374
  Mo as FetchWithAxios,
18379
18375
  pl as FetchWithAxiosRequestCancel,
18380
- lf as FileUpload,
18381
- Sm as Float16BufferAttribute,
18382
- vm as Float32BufferAttribute,
18383
- Mm as Fox,
18384
- Fr as HalfRing,
18385
- Nm as HalfRingIndicator,
18386
- Em as Heart,
18387
- Am as HeartVariant,
18388
- ym as Int16BufferAttribute,
18389
- wm as Int32BufferAttribute,
18390
- mm as Int8BufferAttribute,
18376
+ af as FileUpload,
18377
+ xm as Float16BufferAttribute,
18378
+ wm as Float32BufferAttribute,
18379
+ _m as Fox,
18380
+ Or as HalfRing,
18381
+ zm as HalfRingIndicator,
18382
+ Tm as Heart,
18383
+ Pm as HeartVariant,
18384
+ mm as Int16BufferAttribute,
18385
+ gm as Int32BufferAttribute,
18386
+ um as Int8BufferAttribute,
18391
18387
  me as Interpolation,
18392
18388
  Ge as Line,
18393
- Tm as LinePicture,
18394
- Cm as LineQuadraticBezier,
18389
+ vm as LinePicture,
18390
+ bm as LineQuadraticBezier,
18395
18391
  ca as LinearSRGBColorSpace,
18396
18392
  Ve as LinearToSRGB,
18397
18393
  la as LinearTransfer,
18398
18394
  ve as Ls,
18399
- wp as MVVM,
18395
+ gp as MVVM,
18400
18396
  Mt as Matrix,
18401
18397
  Jo as Matrix2,
18402
18398
  ds as Matrix3,
18403
18399
  Tt as Matrix4,
18404
18400
  Du as NoColorSpace,
18405
- m0 as Pagination,
18401
+ u0 as Pagination,
18406
18402
  pe as Point,
18407
18403
  ks as Point3D,
18408
- Ym as Point3Ds,
18404
+ Fm as Point3Ds,
18409
18405
  Ou as Points,
18410
18406
  Ee as QRCode,
18411
- Im as Rabbit,
18407
+ Em as Rabbit,
18412
18408
  ge as Rect,
18413
- Nr as Ring,
18414
- Bm as RingIndicator,
18409
+ Fr as Ring,
18410
+ Om as RingIndicator,
18415
18411
  Be as SRGBColorSpace,
18416
18412
  Ue as SRGBToLinear,
18417
18413
  Qi as SRGBTransfer,
18418
18414
  zu as SVGParse,
18419
18415
  As as SVGParsedPathArgsLength,
18420
- Lm as Sector,
18416
+ Im as Sector,
18421
18417
  Bu as SectorArc,
18422
- Fm as Segment,
18418
+ Lm as Segment,
18423
18419
  H as Shape,
18424
18420
  fa as ShapeCombo,
18425
18421
  ut as ShapeGroup,
18426
- zm as Ship,
18427
- Om as Slider,
18428
- km as Star,
18429
- Hf as TWEEN,
18422
+ Dm as Ship,
18423
+ Rm as Slider,
18424
+ Mm as Star,
18425
+ Gf as TWEEN,
18430
18426
  ti as Text,
18431
- pn as Timeline,
18427
+ mn as Timeline,
18432
18428
  Nu as Tip,
18433
- Rm as Tree,
18429
+ km as Tree,
18434
18430
  Go as Tween,
18435
- xm as Uint16BufferAttribute,
18436
- bm as Uint32BufferAttribute,
18437
- pm as Uint8BufferAttribute,
18438
- gm as Uint8ClampedBufferAttribute,
18431
+ pm as Uint16BufferAttribute,
18432
+ ym as Uint32BufferAttribute,
18433
+ fm as Uint8BufferAttribute,
18434
+ dm as Uint8ClampedBufferAttribute,
18439
18435
  di as Vector2,
18440
18436
  Ot as Vector3,
18441
18437
  Zo as Vector4,
18442
18438
  Is as WebGLCoordinateSystem,
18443
- Lp as WebGLRenderer,
18444
- yr as WebGPUCoordinateSystem,
18445
- Rp as WebRTCClient,
18446
- bp as WebSocketClient,
18447
- Dp as YZCanvas,
18439
+ Ip as WebGLRenderer,
18440
+ gr as WebGPUCoordinateSystem,
18441
+ kp as WebRTCClient,
18442
+ yp as WebSocketClient,
18443
+ Ap as YZCanvas,
18448
18444
  Wi as YZCanvasContext,
18449
- Ap as YZMessageChannel,
18450
- _m as YZSVG,
18451
- Ep as YZWorker,
18445
+ Pp as YZMessageChannel,
18446
+ Sm as YZSVG,
18447
+ Tp as YZWorker,
18452
18448
  Wt as __color,
18453
- rp as addClass,
18454
- cm as addWatermark,
18449
+ sp as addClass,
18450
+ om as addWatermark,
18455
18451
  Sa as addWxJsReadyFnBeforeConfig,
18456
- kp as ajax,
18457
- u0 as aliJsChooseImage,
18458
- c0 as aliJsGetLocation,
18459
- l0 as aliJsOpenLocation,
18460
- f0 as aliJsPreviewImage,
18461
- o0 as aliJsReady,
18462
- h0 as aliJsScan,
18463
- a0 as aliJsTradePay,
18452
+ Mp as ajax,
18453
+ h0 as aliJsChooseImage,
18454
+ o0 as aliJsGetLocation,
18455
+ a0 as aliJsOpenLocation,
18456
+ c0 as aliJsPreviewImage,
18457
+ i0 as aliJsReady,
18458
+ r0 as aliJsScan,
18459
+ n0 as aliJsTradePay,
18464
18460
  De as angle,
18465
18461
  wa as appendURL,
18466
- Mp as appendURLRecord,
18462
+ _p as appendURLRecord,
18467
18463
  lu as atomReadAttribute,
18468
18464
  ia as atomReadAttributes,
18469
- Kf as atomReadStyle,
18465
+ Zf as atomReadStyle,
18470
18466
  ea as atomReadStyles,
18471
- sd as atomRemoveAttribute,
18472
- np as atomRemoveDataset,
18467
+ Kf as atomRemoveAttribute,
18468
+ ep as atomRemoveDataset,
18473
18469
  sa as atomRemoveStyle,
18474
18470
  ls as atomWriteAttribute,
18475
- wn as atomWriteStyle,
18471
+ xn as atomWriteStyle,
18476
18472
  Mu as base64EncodeOutputStream,
18477
18473
  Uu as bitmapMapper,
18478
- zd as blobToImageData,
18474
+ Dd as blobToImageData,
18479
18475
  ha as byteArrayOutputStream,
18480
18476
  Rl as canDrawBitmap,
18481
- Ff as canUsePaths,
18477
+ Lf as canUsePaths,
18482
18478
  Dl as canUseWorker,
18483
18479
  Pl as cancelBubble,
18484
- Km as cancelFetch,
18485
- am as changeBrightness,
18486
- hm as changeDiaphaneity,
18487
- om as changeSize,
18488
- Op as checkWxJsApi,
18489
- ff as clearCookies,
18490
- df as clearLocalStorage,
18491
- nf as closeLog,
18492
- td as combineTransformToMatrix,
18493
- vf as compareVersion,
18494
- Id as computeImageDisplayRect,
18495
- lp as createElement,
18496
- up as createElementNS,
18480
+ Zm as cancelFetch,
18481
+ nm as changeBrightness,
18482
+ rm as changeDiaphaneity,
18483
+ im as changeSize,
18484
+ Rp as checkWxJsApi,
18485
+ cf as clearCookies,
18486
+ lf as clearLocalStorage,
18487
+ Jf as combineTransformToMatrix,
18488
+ wf as compareVersion,
18489
+ Ed as computeImageDisplayRect,
18490
+ op as createElement,
18491
+ hp as createElementNS,
18497
18492
  $u as createFragment,
18498
- pf as createIndexDB,
18493
+ ff as createIndexDB,
18499
18494
  Vu as createObjectURL,
18500
- Uf as createRunCycleInMaxRate,
18501
- fp as createTextNode,
18495
+ Bf as createRunCycleInMaxRate,
18496
+ cp as createTextNode,
18502
18497
  tf as createXMLHttpRequest,
18503
- yn as distance,
18498
+ gn as distance,
18504
18499
  Di as distance2,
18505
- ed as domPrefixes,
18506
- Vm as drawBitmapInCanvas,
18507
- dm as drawQRCodeToCanvas,
18500
+ Qf as domPrefixes,
18501
+ Ym as drawBitmapInCanvas,
18502
+ lm as drawQRCodeToCanvas,
18508
18503
  Uo as easeNameToCubicBezier,
18509
- Fd as flipSideToSide,
18510
- Nd as flipUpsideDown,
18504
+ Ld as flipSideToSide,
18505
+ zd as flipUpsideDown,
18511
18506
  Ku as flushURL,
18512
- Pp as flushURLRecord,
18507
+ Cp as flushURLRecord,
18513
18508
  Qu as formDataToSearch,
18514
- Um as getBitmapFromCanvas,
18515
- od as getBodyPosition,
18509
+ Bm as getBitmapFromCanvas,
18510
+ id as getBodyPosition,
18516
18511
  Io as getBrowserClient,
18517
- Cf as getBrowserClientVersion,
18518
- _f as getBrowserLanguage,
18512
+ bf as getBrowserClientVersion,
18513
+ Sf as getBrowserLanguage,
18519
18514
  xu as getCSSVar,
18520
18515
  Ko as getDOMMatrix,
18521
- Zf as getDirection,
18516
+ Hf as getDirection,
18522
18517
  mi as getDocumentElementPosition,
18523
- vr as getElementPositionInPage,
18524
- hd as getElementPositionInPage2,
18518
+ Sr as getElementPositionInPage,
18519
+ rd as getElementPositionInPage2,
18525
18520
  fu as getElementPositionInViewport,
18526
18521
  pa as getFetchId,
18527
- hf as getFileExtension,
18522
+ rf as getFileExtension,
18528
18523
  yl as getFileMD5Hash,
18529
- af as getFileTypeFromFile,
18530
- Ip as getFormSubmitData,
18524
+ nf as getFileTypeFromFile,
18525
+ Ep as getFormSubmitData,
18531
18526
  Pu as getImageData,
18532
- um as getImageDataByAIData,
18533
- Od as getImageMainColor,
18527
+ hm as getImageDataByAIData,
18528
+ Rd as getImageMainColor,
18534
18529
  El as getInternetExplorerVersion,
18535
- Hm as getKeyCode,
18536
- cf as getMIME,
18537
- bf as getMouseButton,
18530
+ Gm as getKeyCode,
18531
+ of as getMIME,
18532
+ yf as getMouseButton,
18538
18533
  ts as getMousePositionInElement,
18539
- Cr as getMousePositionInPage,
18540
- ud as getMousePositionInViewport,
18541
- mn as getOperatingSystem,
18542
- Sf as getOperatingSystemVersion,
18543
- ad as getPageSize,
18544
- Tp as getParameters,
18545
- vp as getPath,
18546
- cd as getRelativeBoundingClientRect,
18547
- rd as getScreenPosition,
18534
+ vr as getMousePositionInPage,
18535
+ hd as getMousePositionInViewport,
18536
+ dn as getOperatingSystem,
18537
+ xf as getOperatingSystemVersion,
18538
+ nd as getPageSize,
18539
+ vp as getParameters,
18540
+ wp as getPath,
18541
+ od as getRelativeBoundingClientRect,
18542
+ sd as getScreenPosition,
18548
18543
  Xe as getStyle,
18549
- wd as getTheme,
18550
- Tf as getTimeZone,
18551
- Cn as getURL,
18552
- ld as getVerticalScrollPercentInPage,
18544
+ gd as getTheme,
18545
+ vf as getTimeZone,
18546
+ vn as getURL,
18547
+ ad as getVerticalScrollPercentInPage,
18553
18548
  uu as getViewportSize,
18554
18549
  jo as getVnode,
18555
18550
  Eu as gifImage,
18556
18551
  Ne as h,
18557
- Sn as hFromEl,
18558
- hp as hasClass,
18559
- Lf as hasDocument,
18560
- zf as hasHistory,
18552
+ bn as hFromEl,
18553
+ np as hasClass,
18554
+ If as hasDocument,
18555
+ Df as hasHistory,
18561
18556
  Il as hasWindow,
18562
18557
  Hu as hideEl,
18563
- mp as iframePostMessage,
18564
- Dd as imageDataToBitmap,
18565
- Ld as imageDataToBlob,
18566
- Rd as imageDataToDataURL,
18567
- $f as immediateVnode,
18558
+ up as iframePostMessage,
18559
+ Ad as imageDataToBitmap,
18560
+ Id as imageDataToBlob,
18561
+ kd as imageDataToDataURL,
18562
+ qf as immediateVnode,
18568
18563
  cu as injectStyle,
18569
- zp as injectWxJsConfig,
18564
+ Dp as injectWxJsConfig,
18570
18565
  kl as isAliBrowser,
18571
- Rf as isAliMiniProgram,
18566
+ kf as isAliMiniProgram,
18572
18567
  Ml as isAndroid,
18573
- Pf as isAppleDevice,
18574
- Of as isBrowserSupportFileAPI,
18575
- Nf as isElement,
18576
- wf as isEventSupported,
18577
- Ef as isIE,
18578
- kf as isIE10,
18579
- If as isIE11,
18580
- Af as isIE9,
18568
+ Cf as isAppleDevice,
18569
+ Rf as isBrowserSupportFileAPI,
18570
+ zf as isElement,
18571
+ gf as isEventSupported,
18572
+ Tf as isIE,
18573
+ Mf as isIE10,
18574
+ Ef as isIE11,
18575
+ Pf as isIE9,
18581
18576
  Do as isIOS,
18582
18577
  Ro as isMacOS,
18583
- Mf as isMobile,
18578
+ _f as isMobile,
18584
18579
  Ai as isNative,
18585
- Yf as isTouchSupport,
18586
- Cp as isURL,
18580
+ Ff as isTouchSupport,
18581
+ bp as isURL,
18587
18582
  Al as isWxBrowser,
18588
- Df as isWxMiniProgram,
18589
- sm as jpgToPng,
18590
- Bd as leftRotate,
18591
- gn as length,
18592
- d0 as mapTDTJSSDK,
18593
- em as marginSharpen,
18594
- Gf as microTask,
18595
- lm as mosaic,
18583
+ Af as isWxMiniProgram,
18584
+ Kd as jpgToPng,
18585
+ Od as leftRotate,
18586
+ pn as length,
18587
+ l0 as mapTDTJSSDK,
18588
+ Qd as marginSharpen,
18589
+ Xf as microTask,
18590
+ am as mosaic,
18596
18591
  hs as mount,
18597
- Vf as nextTick,
18598
- Wf as normalizePoint,
18592
+ Yf as nextTick,
18593
+ jf as normalizePoint,
18599
18594
  ul as objectSignature,
18600
18595
  bu as onBeforeUnload,
18601
18596
  wu as onDocumentReady,
18602
- sf as openLog,
18603
18597
  Au as outputGifBase64,
18604
- fm as outputQRCodeBase64,
18598
+ cm as outputQRCodeBase64,
18605
18599
  Lu as parseCSS,
18606
18600
  Qo as parseTransformToMatrix,
18607
- vn as patch,
18608
- im as pngToJpg,
18601
+ Sn as patch,
18602
+ tm as pngToJpg,
18609
18603
  Vt as polar,
18610
- Bf as prefixes,
18604
+ Of as prefixes,
18611
18605
  Me as preventDefault,
18612
- rm as radiusClip,
18606
+ sm as radiusClip,
18613
18607
  ui as readFileInBrowser,
18614
- _n as recordToSearch,
18615
- nm as rectClip,
18616
- op as removeClass,
18608
+ Cn as recordToSearch,
18609
+ em as rectClip,
18610
+ ip as removeClass,
18617
18611
  Lo as requestAnimationFrameCycle,
18618
- jf as reverseCSSToJSEasing,
18612
+ Vf as reverseCSSToJSEasing,
18619
18613
  jl as reverseEaseNameToCubicBezier,
18620
18614
  Fl as reverseEasing,
18621
- Gm as revokeObjectURL,
18622
- Yd as rightRotate,
18615
+ Xm as revokeObjectURL,
18616
+ Fd as rightRotate,
18623
18617
  Zt as rotatePoint,
18624
18618
  Ll as scheduleIdle,
18625
18619
  $o as scheduleVnode,
18626
18620
  zo as scheduleYZIdle,
18627
- Pd as scrollTo,
18628
- _p as searchToRecord,
18621
+ Cd as scrollTo,
18622
+ Sp as searchToRecord,
18629
18623
  Ao as selectFileInBrowser,
18630
- Sd as setCSSVar,
18631
- Xf as setIntervalAccurate,
18632
- rf as setLogUpload,
18633
- Md as setManualScroll,
18634
- Sp as setRem,
18624
+ xd as setCSSVar,
18625
+ Nf as setIntervalAccurate,
18626
+ _d as setManualScroll,
18627
+ xp as setRem,
18635
18628
  ta as setStyle,
18636
- xd as setTheme,
18637
- cr as setTimeoutAccurate,
18638
- Cd as setWindowTitle,
18639
- tm as sharpen,
18629
+ pd as setTheme,
18630
+ hr as setTimeoutAccurate,
18631
+ bd as setWindowTitle,
18632
+ Jd as sharpen,
18640
18633
  ju as showEl,
18641
18634
  ll as signature,
18642
- xf as simulateMouseEventFromTouch,
18643
- of as stringToDOM,
18644
- Vd as toBlackAndWhite,
18645
- Hd as toBlue,
18646
- Zd as toBlueAndGreen,
18647
- Kd as toBlueAndGrey,
18635
+ pf as simulateMouseEventFromTouch,
18636
+ sf as stringToDOM,
18637
+ Yd as toBlackAndWhite,
18638
+ Gd as toBlue,
18639
+ Hd as toBlueAndGreen,
18640
+ Zd as toBlueAndGrey,
18648
18641
  gt as toDegree,
18649
- jd as toGreen,
18650
- Qd as toGreenAndGrey,
18651
- Xd as toGrey,
18652
- Ud as toGrey2,
18653
- Gd as toOpposite,
18642
+ Vd as toGreen,
18643
+ Wd as toGreenAndGrey,
18644
+ Nd as toGrey,
18645
+ Bd as toGrey2,
18646
+ Xd as toOpposite,
18654
18647
  Y as toRadian,
18655
- qd as toRed,
18656
- Wd as toRedAndBlue,
18657
- $d as toRedAndGreen,
18658
- Jd as toRedAndGrey,
18648
+ Ud as toRed,
18649
+ jd as toRedAndBlue,
18650
+ qd as toRedAndGreen,
18651
+ $d as toRedAndGrey,
18659
18652
  ga as toggleClass,
18660
- cp as toggleElDisplay,
18661
- bd as toggleTheme,
18662
- Qf as transformPath2D,
18653
+ rp as toggleElDisplay,
18654
+ yd as toggleTheme,
18655
+ Wf as transformPath2D,
18663
18656
  Ju as trimHash,
18664
18657
  _e as useAttribute,
18665
- Yr as useClickA,
18666
- pp as useClipboard,
18667
- uf as useCookie,
18668
- ip as useDataset,
18669
- id as useDraggable,
18670
- nd as useDrop,
18658
+ Br as useClickA,
18659
+ fp as useClipboard,
18660
+ hf as useCookie,
18661
+ tp as useDataset,
18662
+ td as useDraggable,
18663
+ ed as useDrop,
18671
18664
  de as useElement,
18672
- pd as useElementEventBus,
18665
+ fd as useElementEventBus,
18673
18666
  N as useEventListener,
18674
18667
  vu as useFeRouteChange,
18675
- bn as useFetch,
18676
- ep as useFetchCache,
18677
- tp as useFetchRetry,
18678
- sp as useFetchRetryCache,
18679
- yf as useFireEvent,
18680
- _d as useHistoryRouter,
18668
+ wn as useFetch,
18669
+ Qm as useFetchCache,
18670
+ Jm as useFetchRetry,
18671
+ Km as useFetchRetryCache,
18672
+ mf as useFireEvent,
18673
+ Sd as useHistoryRouter,
18681
18674
  ma as useHotKey,
18682
- Wm as useHotKeyFileLoop,
18683
- $m as useHotKeyFileOnce,
18675
+ jm as useHotKeyFileLoop,
18676
+ qm as useHotKeyFileOnce,
18684
18677
  Tu as useIntersection,
18685
18678
  Gu as useLoadImage,
18686
- Jm as useLoadLink,
18687
- Zm as useLoadScript,
18679
+ $m as useLoadLink,
18680
+ Hm as useLoadScript,
18688
18681
  xl as useLocalStorage,
18689
18682
  xa as useLocale,
18690
- gp as useLocation,
18683
+ dp as useLocation,
18691
18684
  yu as useMedia,
18692
18685
  du as useMousePoint,
18693
18686
  Su as useMutation,
18694
18687
  Ae as usePressDownMove,
18695
- dd as usePressDownMoveWithMouse,
18688
+ ld as usePressDownMoveWithMouse,
18696
18689
  gu as usePressDownMoveWithPointer,
18697
- md as usePressDownMoveWithTouch,
18698
- gd as usePullDown,
18699
- yd as usePullUp,
18690
+ ud as usePressDownMoveWithTouch,
18691
+ dd as usePullDown,
18692
+ md as usePullUp,
18700
18693
  ra as useResize,
18701
- xp as useRunInSandbox,
18702
- Td as useSafeArea,
18694
+ pp as useRunInSandbox,
18695
+ vd as useSafeArea,
18703
18696
  _u as useScroll,
18704
18697
  da as useSelectFile,
18705
- qm as useSelectFileImage,
18706
- mf as useSessionStorage,
18707
- dp as useShadowRoot,
18708
- yp as useVibrate,
18709
- Ad as useVisible,
18710
- Ed as useVisibleSimple,
18711
- vd as useWindow,
18712
- fd as useWindowResize,
18713
- kd as useWindowVisible,
18714
- Qm as waitForStyleSheetsLoaded,
18715
- gf as writeToIndexDB,
18716
- Bp as wxJsChooseImage,
18717
- Up as wxJsDownloadImage,
18718
- Qp as wxJsDownloadVoice,
18719
- Vp as wxJsGetLocalImgData,
18720
- s0 as wxJsGetLocation,
18721
- t0 as wxJsGetNetworkType,
18722
- r0 as wxJsLogin,
18723
- Zp as wxJsOnVoicePlayEnd,
18724
- jp as wxJsOnVoiceRecordEnd,
18725
- e0 as wxJsOpenLocation,
18726
- $p as wxJsPauseVoice,
18727
- n0 as wxJsPay,
18728
- Hp as wxJsPlayVoice,
18729
- Yp as wxJsPreviewImage,
18730
- i0 as wxJsScanQRCode,
18731
- Gp as wxJsStartRecord,
18732
- qp as wxJsStopRecord,
18733
- Wp as wxJsStopVoice,
18734
- Kp as wxJsTranslateVoice,
18735
- Fp as wxJsUpdateAppMessageShareData,
18736
- Np as wxJsUpdateTimelineShareData,
18737
- Xp as wxJsUploadImage,
18738
- Jp as wxJsUploadVoice
18698
+ Um as useSelectFileImage,
18699
+ uf as useSessionStorage,
18700
+ lp as useShadowRoot,
18701
+ mp as useVibrate,
18702
+ Pd as useVisible,
18703
+ Td as useVisibleSimple,
18704
+ wd as useWindow,
18705
+ cd as useWindowResize,
18706
+ Md as useWindowVisible,
18707
+ Wm as waitForStyleSheetsLoaded,
18708
+ df as writeToIndexDB,
18709
+ Op as wxJsChooseImage,
18710
+ Bp as wxJsDownloadImage,
18711
+ Wp as wxJsDownloadVoice,
18712
+ Yp as wxJsGetLocalImgData,
18713
+ Kp as wxJsGetLocation,
18714
+ Jp as wxJsGetNetworkType,
18715
+ s0 as wxJsLogin,
18716
+ Hp as wxJsOnVoicePlayEnd,
18717
+ Vp as wxJsOnVoiceRecordEnd,
18718
+ Qp as wxJsOpenLocation,
18719
+ qp as wxJsPauseVoice,
18720
+ e0 as wxJsPay,
18721
+ Gp as wxJsPlayVoice,
18722
+ Fp as wxJsPreviewImage,
18723
+ t0 as wxJsScanQRCode,
18724
+ Xp as wxJsStartRecord,
18725
+ Up as wxJsStopRecord,
18726
+ jp as wxJsStopVoice,
18727
+ Zp as wxJsTranslateVoice,
18728
+ Lp as wxJsUpdateAppMessageShareData,
18729
+ zp as wxJsUpdateTimelineShareData,
18730
+ Np as wxJsUploadImage,
18731
+ $p as wxJsUploadVoice
18739
18732
  };
18740
18733
  //# sourceMappingURL=zyzgroup_core_web.js.map