@ianicdev/datatables2 0.4.6 → 0.4.7

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,17 +1,17 @@
1
- import { c as Ma, _ as qa, g as Zu } from "./index-D1n6Quoc.js";
2
- var un = {}, ln = {}, lr, hn;
1
+ import { c as Ma, _ as qa, g as Zu } from "./index-BLNs0fpx.js";
2
+ var un = {}, ln = {}, ur, hn;
3
3
  function Z() {
4
- if (hn) return lr;
4
+ if (hn) return ur;
5
5
  hn = 1;
6
6
  var n = function(e) {
7
7
  return e && e.Math === Math && e;
8
8
  };
9
- return lr = // eslint-disable-next-line es/no-global-this -- safe
9
+ return ur = // eslint-disable-next-line es/no-global-this -- safe
10
10
  n(typeof globalThis == "object" && globalThis) || n(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
11
- n(typeof self == "object" && self) || n(typeof Ma == "object" && Ma) || n(typeof lr == "object" && lr) || // eslint-disable-next-line no-new-func -- fallback
11
+ n(typeof self == "object" && self) || n(typeof Ma == "object" && Ma) || n(typeof ur == "object" && ur) || // eslint-disable-next-line no-new-func -- fallback
12
12
  /* @__PURE__ */ function() {
13
13
  return this;
14
- }() || Function("return this")(), lr;
14
+ }() || Function("return this")(), ur;
15
15
  }
16
16
  var Qr = {}, Zr, fn;
17
17
  function ee() {
@@ -24,7 +24,7 @@ function ee() {
24
24
  }), Zr;
25
25
  }
26
26
  var Jr, cn;
27
- function Ee() {
27
+ function Re() {
28
28
  if (cn) return Jr;
29
29
  cn = 1;
30
30
  var n = ee();
@@ -35,7 +35,7 @@ function Ee() {
35
35
  }), Jr;
36
36
  }
37
37
  var et, vn;
38
- function Ar() {
38
+ function Pr() {
39
39
  if (vn) return et;
40
40
  vn = 1;
41
41
  var n = ee();
@@ -49,7 +49,7 @@ var rt, gn;
49
49
  function se() {
50
50
  if (gn) return rt;
51
51
  gn = 1;
52
- var n = Ar(), e = Function.prototype.call;
52
+ var n = Pr(), e = Function.prototype.call;
53
53
  return rt = n ? e.bind(e) : function() {
54
54
  return e.apply(e, arguments);
55
55
  }, rt;
@@ -79,7 +79,7 @@ var at, yn;
79
79
  function re() {
80
80
  if (yn) return at;
81
81
  yn = 1;
82
- var n = Ar(), e = Function.prototype, r = e.call, t = n && e.bind.bind(r, r);
82
+ var n = Pr(), e = Function.prototype, r = e.call, t = n && e.bind.bind(r, r);
83
83
  return at = n ? t : function(i) {
84
84
  return function() {
85
85
  return r.apply(i, arguments);
@@ -107,26 +107,26 @@ function Ju() {
107
107
  } : t, st;
108
108
  }
109
109
  var ot, xn;
110
- function Je() {
110
+ function Ar() {
111
111
  return xn || (xn = 1, ot = function(n) {
112
112
  return n == null;
113
113
  }), ot;
114
114
  }
115
115
  var ut, On;
116
- function Re() {
116
+ function Ce() {
117
117
  if (On) return ut;
118
118
  On = 1;
119
- var n = Je(), e = TypeError;
119
+ var n = Ar(), e = TypeError;
120
120
  return ut = function(r) {
121
121
  if (n(r)) throw new e("Can't call method on " + r);
122
122
  return r;
123
123
  }, ut;
124
124
  }
125
125
  var lt, Tn;
126
- function cr() {
126
+ function fr() {
127
127
  if (Tn) return lt;
128
128
  Tn = 1;
129
- var n = Ju(), e = Re();
129
+ var n = Ju(), e = Ce();
130
130
  return lt = function(r) {
131
131
  return n(e(r));
132
132
  }, lt;
@@ -143,7 +143,7 @@ function te() {
143
143
  }, ht;
144
144
  }
145
145
  var ft, En;
146
- function Ce() {
146
+ function ve() {
147
147
  if (En) return ft;
148
148
  En = 1;
149
149
  var n = te();
@@ -152,7 +152,7 @@ function Ce() {
152
152
  }, ft;
153
153
  }
154
154
  var ct, Rn;
155
- function er() {
155
+ function Je() {
156
156
  if (Rn) return ct;
157
157
  Rn = 1;
158
158
  var n = Z(), e = te(), r = function(t) {
@@ -170,7 +170,7 @@ function Ir() {
170
170
  return vt = n({}.isPrototypeOf), vt;
171
171
  }
172
172
  var gt, wn;
173
- function vr() {
173
+ function cr() {
174
174
  if (wn) return gt;
175
175
  wn = 1;
176
176
  var n = Z(), e = n.navigator, r = e && e.userAgent;
@@ -180,7 +180,7 @@ var dt, Pn;
180
180
  function Ba() {
181
181
  if (Pn) return dt;
182
182
  Pn = 1;
183
- var n = Z(), e = vr(), r = n.process, t = n.Deno, i = r && r.versions || t && t.version, a = i && i.v8, s, o;
183
+ var n = Z(), e = cr(), r = n.process, t = n.Deno, i = r && r.versions || t && t.version, a = i && i.v8, s, o;
184
184
  return a && (s = a.split("."), o = s[0] > 0 && s[0] < 4 ? 1 : +(s[0] + s[1])), !o && e && (s = e.match(/Edge\/(\d+)/), (!s || s[1] >= 74) && (s = e.match(/Chrome\/(\d+)/), s && (o = +s[1]))), dt = o, dt;
185
185
  }
186
186
  var pt, An;
@@ -205,7 +205,7 @@ var mt, Nn;
205
205
  function tl() {
206
206
  if (Nn) return mt;
207
207
  Nn = 1;
208
- var n = er(), e = te(), r = Ir(), t = rl(), i = Object;
208
+ var n = Je(), e = te(), r = Ir(), t = rl(), i = Object;
209
209
  return mt = t ? function(a) {
210
210
  return typeof a == "symbol";
211
211
  } : function(a) {
@@ -237,10 +237,10 @@ function Be() {
237
237
  }, xt;
238
238
  }
239
239
  var Ot, qn;
240
- function ar() {
240
+ function ir() {
241
241
  if (qn) return Ot;
242
242
  qn = 1;
243
- var n = Be(), e = Je();
243
+ var n = Be(), e = Ar();
244
244
  return Ot = function(r, t) {
245
245
  var i = r[t];
246
246
  return e(i) ? void 0 : n(i);
@@ -250,7 +250,7 @@ var Tt, Dn;
250
250
  function $l() {
251
251
  if (Dn) return Tt;
252
252
  Dn = 1;
253
- var n = se(), e = te(), r = Ce(), t = TypeError;
253
+ var n = se(), e = te(), r = ve(), t = TypeError;
254
254
  return Tt = function(i, a) {
255
255
  var s, o;
256
256
  if (a === "string" && e(s = i.toString) && !r(o = n(s, i)) || e(s = i.valueOf) && !r(o = n(s, i)) || a !== "string" && e(s = i.toString) && !r(o = n(s, i))) return o;
@@ -281,10 +281,10 @@ function Ua() {
281
281
  kn = 1;
282
282
  var n = Me(), e = Z(), r = Fa(), t = "__core-js_shared__", i = St.exports = e[t] || r(t, {});
283
283
  return (i.versions || (i.versions = [])).push({
284
- version: "3.41.0",
284
+ version: "3.42.0",
285
285
  mode: n ? "pure" : "global",
286
286
  copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru)",
287
- license: "https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",
287
+ license: "https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",
288
288
  source: "https://github.com/zloirock/core-js"
289
289
  }), St.exports;
290
290
  }
@@ -301,7 +301,7 @@ var wt, Bn;
301
301
  function _r() {
302
302
  if (Bn) return wt;
303
303
  Bn = 1;
304
- var n = Re(), e = Object;
304
+ var n = Ce(), e = Object;
305
305
  return wt = function(r) {
306
306
  return e(n(r));
307
307
  }, wt;
@@ -337,7 +337,7 @@ var Nt, $n;
337
337
  function zl() {
338
338
  if ($n) return Nt;
339
339
  $n = 1;
340
- var n = se(), e = Ce(), r = tl(), t = ar(), i = $l(), a = ne(), s = TypeError, o = a("toPrimitive");
340
+ var n = se(), e = ve(), r = tl(), t = ir(), i = $l(), a = ne(), s = TypeError, o = a("toPrimitive");
341
341
  return Nt = function(u, l) {
342
342
  if (!e(u) || r(u)) return u;
343
343
  var h = t(u, o), c;
@@ -362,7 +362,7 @@ var Mt, Hn;
362
362
  function Mr() {
363
363
  if (Hn) return Mt;
364
364
  Hn = 1;
365
- var n = Z(), e = Ce(), r = n.document, t = e(r) && e(r.createElement);
365
+ var n = Z(), e = ve(), r = n.document, t = e(r) && e(r.createElement);
366
366
  return Mt = function(i) {
367
367
  return t ? r.createElement(i) : {};
368
368
  }, Mt;
@@ -371,7 +371,7 @@ var qt, Wn;
371
371
  function nl() {
372
372
  if (Wn) return qt;
373
373
  Wn = 1;
374
- var n = Ee(), e = ee(), r = Mr();
374
+ var n = Re(), e = ee(), r = Mr();
375
375
  return qt = !n && !e(function() {
376
376
  return Object.defineProperty(r("div"), "a", {
377
377
  get: function() {
@@ -384,7 +384,7 @@ var Yn;
384
384
  function qr() {
385
385
  if (Yn) return Qr;
386
386
  Yn = 1;
387
- var n = Ee(), e = se(), r = Gl(), t = ja(), i = cr(), a = al(), s = we(), o = nl(), u = Object.getOwnPropertyDescriptor;
387
+ var n = Re(), e = se(), r = Gl(), t = ja(), i = fr(), a = al(), s = we(), o = nl(), u = Object.getOwnPropertyDescriptor;
388
388
  return Qr.f = n ? u : function(h, c) {
389
389
  if (h = i(h), c = a(c), o) try {
390
390
  return u(h, c);
@@ -397,7 +397,7 @@ var Dt = {}, Vt, Xn;
397
397
  function sl() {
398
398
  if (Xn) return Vt;
399
399
  Xn = 1;
400
- var n = Ee(), e = ee();
400
+ var n = Re(), e = ee();
401
401
  return Vt = n && e(function() {
402
402
  return Object.defineProperty(function() {
403
403
  }, "prototype", {
@@ -410,7 +410,7 @@ var Lt, Kn;
410
410
  function ue() {
411
411
  if (Kn) return Lt;
412
412
  Kn = 1;
413
- var n = Ce(), e = String, r = TypeError;
413
+ var n = ve(), e = String, r = TypeError;
414
414
  return Lt = function(t) {
415
415
  if (n(t)) return t;
416
416
  throw new r(e(t) + " is not an object");
@@ -420,7 +420,7 @@ var Qn;
420
420
  function He() {
421
421
  if (Qn) return Dt;
422
422
  Qn = 1;
423
- var n = Ee(), e = nl(), r = sl(), t = ue(), i = al(), a = TypeError, s = Object.defineProperty, o = Object.getOwnPropertyDescriptor, u = "enumerable", l = "configurable", h = "writable";
423
+ var n = Re(), e = nl(), r = sl(), t = ue(), i = al(), a = TypeError, s = Object.defineProperty, o = Object.getOwnPropertyDescriptor, u = "enumerable", l = "configurable", h = "writable";
424
424
  return Dt.f = n ? r ? function(v, f, g) {
425
425
  if (t(v), f = i(f), t(g), typeof v == "function" && f === "prototype" && "value" in g && h in g && !g[h]) {
426
426
  var d = o(v, f);
@@ -441,10 +441,10 @@ function He() {
441
441
  }, Dt;
442
442
  }
443
443
  var kt, Zn;
444
- function gr() {
444
+ function vr() {
445
445
  if (Zn) return kt;
446
446
  Zn = 1;
447
- var n = Ee(), e = He(), r = ja();
447
+ var n = Re(), e = He(), r = ja();
448
448
  return kt = n ? function(t, i, a) {
449
449
  return e.f(t, i, r(1, a));
450
450
  } : function(t, i, a) {
@@ -455,7 +455,7 @@ var jt = { exports: {} }, Bt, Jn;
455
455
  function Dr() {
456
456
  if (Jn) return Bt;
457
457
  Jn = 1;
458
- var n = Ee(), e = we(), r = Function.prototype, t = n && Object.getOwnPropertyDescriptor, i = e(r, "name"), a = i && (function() {
458
+ var n = Re(), e = we(), r = Function.prototype, t = n && Object.getOwnPropertyDescriptor, i = e(r, "name"), a = i && (function() {
459
459
  }).name === "something", s = i && (!n || n && t(r, "name").configurable);
460
460
  return Bt = {
461
461
  EXISTS: i,
@@ -496,7 +496,7 @@ var zt, as;
496
496
  function Vr() {
497
497
  if (as) return zt;
498
498
  as = 1;
499
- var n = Hl(), e = Z(), r = Ce(), t = gr(), i = we(), a = Ua(), s = za(), o = Ha(), u = "Object already initialized", l = e.TypeError, h = e.WeakMap, c, v, f, g = function(m) {
499
+ var n = Hl(), e = Z(), r = ve(), t = vr(), i = we(), a = Ua(), s = za(), o = Ha(), u = "Object already initialized", l = e.TypeError, h = e.WeakMap, c, v, f, g = function(m) {
500
500
  return f(m) ? v(m) : c(m, {});
501
501
  }, d = function(m) {
502
502
  return function(b) {
@@ -539,7 +539,7 @@ var ns;
539
539
  function ol() {
540
540
  if (ns) return jt.exports;
541
541
  ns = 1;
542
- var n = re(), e = ee(), r = te(), t = we(), i = Ee(), a = Dr().CONFIGURABLE, s = $a(), o = Vr(), u = o.enforce, l = o.get, h = String, c = Object.defineProperty, v = n("".slice), f = n("".replace), g = n([].join), d = i && !e(function() {
542
+ var n = re(), e = ee(), r = te(), t = we(), i = Re(), a = Dr().CONFIGURABLE, s = $a(), o = Vr(), u = o.enforce, l = o.get, h = String, c = Object.defineProperty, v = n("".slice), f = n("".replace), g = n([].join), d = i && !e(function() {
543
543
  return c(function() {
544
544
  }, "length", { value: 8 }).length !== 8;
545
545
  }), p = String(String).split("String"), y = jt.exports = function(m, b, x) {
@@ -556,7 +556,7 @@ function ol() {
556
556
  }, "toString"), jt.exports;
557
557
  }
558
558
  var Ht, ss;
559
- function rr() {
559
+ function er() {
560
560
  if (ss) return Ht;
561
561
  ss = 1;
562
562
  var n = te(), e = He(), r = ol(), t = Fa();
@@ -611,7 +611,7 @@ function Yl() {
611
611
  }, Kt;
612
612
  }
613
613
  var Qt, hs;
614
- function nr() {
614
+ function ar() {
615
615
  if (hs) return Qt;
616
616
  hs = 1;
617
617
  var n = Lr(), e = Math.min;
@@ -624,7 +624,7 @@ var Zt, fs;
624
624
  function Wa() {
625
625
  if (fs) return Zt;
626
626
  fs = 1;
627
- var n = nr();
627
+ var n = ar();
628
628
  return Zt = function(e) {
629
629
  return n(e.length);
630
630
  }, Zt;
@@ -633,7 +633,7 @@ var Jt, cs;
633
633
  function ul() {
634
634
  if (cs) return Jt;
635
635
  cs = 1;
636
- var n = cr(), e = Yl(), r = Wa(), t = function(i) {
636
+ var n = fr(), e = Yl(), r = Wa(), t = function(i) {
637
637
  return function(a, s, o) {
638
638
  var u = n(a), l = r(u);
639
639
  if (l === 0) return !i && -1;
@@ -659,7 +659,7 @@ var ei, vs;
659
659
  function ll() {
660
660
  if (vs) return ei;
661
661
  vs = 1;
662
- var n = re(), e = we(), r = cr(), t = ul().indexOf, i = Ha(), a = n([].push);
662
+ var n = re(), e = we(), r = fr(), t = ul().indexOf, i = Ha(), a = n([].push);
663
663
  return ei = function(s, o) {
664
664
  var u = r(s), l = 0, h = [], c;
665
665
  for (c in u) !e(i, c) && e(u, c) && a(h, c);
@@ -696,7 +696,7 @@ var ii, ys;
696
696
  function Ql() {
697
697
  if (ys) return ii;
698
698
  ys = 1;
699
- var n = er(), e = re(), r = Xl(), t = Kl(), i = ue(), a = e([].concat);
699
+ var n = Je(), e = re(), r = Xl(), t = Kl(), i = ue(), a = e([].concat);
700
700
  return ii = n("Reflect", "ownKeys") || function(o) {
701
701
  var u = r.f(i(o)), l = t.f;
702
702
  return l ? a(u, l(o)) : u;
@@ -730,7 +730,7 @@ var si, xs;
730
730
  function le() {
731
731
  if (xs) return si;
732
732
  xs = 1;
733
- var n = Z(), e = qr().f, r = gr(), t = rr(), i = Fa(), a = Zl(), s = hl();
733
+ var n = Z(), e = qr().f, r = vr(), t = er(), i = Fa(), a = Zl(), s = hl();
734
734
  return si = function(o, u) {
735
735
  var l = o.target, h = o.global, c = o.stat, v, f, g, d, p, y;
736
736
  if (h ? f = n : c ? f = n[l] || i(l, {}) : f = n[l] && n[l].prototype, f) for (g in u) {
@@ -746,7 +746,7 @@ var oi, Os;
746
746
  function fl() {
747
747
  if (Os) return oi;
748
748
  Os = 1;
749
- var n = Z(), e = vr(), r = Ze(), t = function(i) {
749
+ var n = Z(), e = cr(), r = Ze(), t = function(i) {
750
750
  return e.slice(0, i.length) === i;
751
751
  };
752
752
  return oi = function() {
@@ -776,7 +776,7 @@ var hi, Es;
776
776
  function eh() {
777
777
  if (Es) return hi;
778
778
  Es = 1;
779
- var n = Ce();
779
+ var n = ve();
780
780
  return hi = function(e) {
781
781
  return n(e) || e === null;
782
782
  }, hi;
@@ -795,7 +795,7 @@ var ci, Cs;
795
795
  function cl() {
796
796
  if (Cs) return ci;
797
797
  Cs = 1;
798
- var n = Jl(), e = Ce(), r = Re(), t = rh();
798
+ var n = Jl(), e = ve(), r = Ce(), t = rh();
799
799
  return ci = Object.setPrototypeOf || ("__proto__" in {} ? function() {
800
800
  var i = !1, a = {}, s;
801
801
  try {
@@ -829,7 +829,7 @@ var di, As;
829
829
  function ih() {
830
830
  if (As) return di;
831
831
  As = 1;
832
- var n = er(), e = th(), r = ne(), t = Ee(), i = r("species");
832
+ var n = Je(), e = th(), r = ne(), t = Re(), i = r("species");
833
833
  return di = function(a) {
834
834
  var s = n(a);
835
835
  t && s && !s[i] && e(s, i, {
@@ -878,7 +878,7 @@ var bi, Ms;
878
878
  function sh() {
879
879
  if (Ms) return bi;
880
880
  Ms = 1;
881
- var n = re(), e = ee(), r = te(), t = Xa(), i = er(), a = $a(), s = function() {
881
+ var n = re(), e = ee(), r = te(), t = Xa(), i = Je(), a = $a(), s = function() {
882
882
  }, o = i("Reflect", "construct"), u = /^\s*(?:class|function)\b/, l = n(u.exec), h = !u.test(s), c = function(g) {
883
883
  if (!r(g)) return !1;
884
884
  try {
@@ -921,7 +921,7 @@ var Oi, Ds;
921
921
  function vl() {
922
922
  if (Ds) return Oi;
923
923
  Ds = 1;
924
- var n = ue(), e = oh(), r = Je(), t = ne(), i = t("species");
924
+ var n = ue(), e = oh(), r = Ar(), t = ne(), i = t("species");
925
925
  return Oi = function(a, s) {
926
926
  var o = n(a).constructor, u;
927
927
  return o === void 0 || r(u = n(o)[i]) ? s : e(u);
@@ -931,7 +931,7 @@ var Ti, Vs;
931
931
  function gl() {
932
932
  if (Vs) return Ti;
933
933
  Vs = 1;
934
- var n = Ar(), e = Function.prototype, r = e.apply, t = e.call;
934
+ var n = Pr(), e = Function.prototype, r = e.apply, t = e.call;
935
935
  return Ti = typeof Reflect == "object" && Reflect.apply || (n ? t.bind(r) : function() {
936
936
  return t.apply(r, arguments);
937
937
  }), Ti;
@@ -949,7 +949,7 @@ var Ei, ks;
949
949
  function Ka() {
950
950
  if (ks) return Ei;
951
951
  ks = 1;
952
- var n = Br(), e = Be(), r = Ar(), t = n(n.bind);
952
+ var n = Br(), e = Be(), r = Pr(), t = n(n.bind);
953
953
  return Ei = function(i, a) {
954
954
  return e(i), a === void 0 ? i : r ? t(i, a) : function() {
955
955
  return i.apply(a, arguments);
@@ -960,7 +960,7 @@ var Ri, js;
960
960
  function dl() {
961
961
  if (js) return Ri;
962
962
  js = 1;
963
- var n = er();
963
+ var n = Je();
964
964
  return Ri = n("document", "documentElement"), Ri;
965
965
  }
966
966
  var Ci, Bs;
@@ -984,7 +984,7 @@ var Pi, Us;
984
984
  function pl() {
985
985
  if (Us) return Pi;
986
986
  Us = 1;
987
- var n = vr();
987
+ var n = cr();
988
988
  return Pi = /(?:ipad|iphone|ipod).*applewebkit/i.test(n), Pi;
989
989
  }
990
990
  var Ai, Gs;
@@ -1036,7 +1036,7 @@ var Ii, $s;
1036
1036
  function hh() {
1037
1037
  if ($s) return Ii;
1038
1038
  $s = 1;
1039
- var n = Z(), e = Ee(), r = Object.getOwnPropertyDescriptor;
1039
+ var n = Z(), e = Re(), r = Object.getOwnPropertyDescriptor;
1040
1040
  return Ii = function(t) {
1041
1041
  if (!e) return n[t];
1042
1042
  var i = r(n, t);
@@ -1068,14 +1068,14 @@ var _i, Hs;
1068
1068
  function fh() {
1069
1069
  if (Hs) return _i;
1070
1070
  Hs = 1;
1071
- var n = vr();
1071
+ var n = cr();
1072
1072
  return _i = /ipad|iphone|ipod/i.test(n) && typeof Pebble < "u", _i;
1073
1073
  }
1074
1074
  var Mi, Ws;
1075
1075
  function ch() {
1076
1076
  if (Ws) return Mi;
1077
1077
  Ws = 1;
1078
- var n = vr();
1078
+ var n = cr();
1079
1079
  return Mi = /web0s(?!.*chrome)/i.test(n), Mi;
1080
1080
  }
1081
1081
  var qi, Ys;
@@ -1127,17 +1127,17 @@ function Qa() {
1127
1127
  }), Vi;
1128
1128
  }
1129
1129
  var Li, Qs;
1130
- function dr() {
1130
+ function gr() {
1131
1131
  if (Qs) return Li;
1132
1132
  Qs = 1;
1133
1133
  var n = Z();
1134
1134
  return Li = n.Promise, Li;
1135
1135
  }
1136
1136
  var ki, Zs;
1137
- function pr() {
1137
+ function dr() {
1138
1138
  if (Zs) return ki;
1139
1139
  Zs = 1;
1140
- var n = Z(), e = dr(), r = te(), t = hl(), i = $a(), a = ne(), s = fl(), o = Me(), u = Ba(), l = e && e.prototype, h = a("species"), c = !1, v = r(n.PromiseRejectionEvent), f = t("Promise", function() {
1140
+ var n = Z(), e = gr(), r = te(), t = hl(), i = $a(), a = ne(), s = fl(), o = Me(), u = Ba(), l = e && e.prototype, h = a("species"), c = !1, v = r(n.PromiseRejectionEvent), f = t("Promise", function() {
1141
1141
  var g = i(e), d = g !== String(e);
1142
1142
  if (!d && u === 66 || o && !(l.catch && l.finally)) return !0;
1143
1143
  if (!u || u < 51 || !/native code/.test(g)) {
@@ -1160,7 +1160,7 @@ function pr() {
1160
1160
  }, ki;
1161
1161
  }
1162
1162
  var ji = {}, Js;
1163
- function yr() {
1163
+ function pr() {
1164
1164
  if (Js) return ji;
1165
1165
  Js = 1;
1166
1166
  var n = Be(), e = TypeError, r = function(t) {
@@ -1178,47 +1178,47 @@ var eo;
1178
1178
  function dh() {
1179
1179
  if (eo) return ln;
1180
1180
  eo = 1;
1181
- var n = le(), e = Me(), r = kr(), t = Z(), i = se(), a = rr(), s = cl(), o = jr(), u = ih(), l = Be(), h = te(), c = Ce(), v = ah(), f = vl(), g = yl().set, d = vh(), p = gh(), y = Qa(), m = ml(), b = Vr(), x = dr(), S = pr(), E = yr(), O = "Promise", _ = S.CONSTRUCTOR, V = S.REJECTION_EVENT, P = S.SUBCLASSING, M = b.getterFor(O), w = b.set, k = x && x.prototype, R = x, A = k, U = t.TypeError, I = t.document, j = t.process, N = E.f, L = N, B = !!(I && I.createEvent && t.dispatchEvent), z = "unhandledrejection", X = "rejectionhandled", H = 0, Q = 1, Fe = 2, De = 1, Ae = 2, de, pe, ye, Ie, Ne = function(C) {
1181
+ var n = le(), e = Me(), r = kr(), t = Z(), i = se(), a = er(), s = cl(), o = jr(), u = ih(), l = Be(), h = te(), c = ve(), v = ah(), f = vl(), g = yl().set, d = vh(), p = gh(), y = Qa(), m = ml(), b = Vr(), x = gr(), S = dr(), E = pr(), O = "Promise", _ = S.CONSTRUCTOR, V = S.REJECTION_EVENT, P = S.SUBCLASSING, M = b.getterFor(O), w = b.set, k = x && x.prototype, R = x, A = k, U = t.TypeError, I = t.document, j = t.process, N = E.f, L = N, B = !!(I && I.createEvent && t.dispatchEvent), z = "unhandledrejection", X = "rejectionhandled", H = 0, Q = 1, Fe = 2, De = 1, Ae = 2, pe, ye, me, Ie, Ne = function(C) {
1182
1182
  var q;
1183
1183
  return c(C) && h(q = C.then) ? q : !1;
1184
1184
  }, he = function(C, q) {
1185
- var G = q.value, $ = q.state === Q, W = $ ? C.ok : C.fail, _e = C.resolve, Ve = C.reject, xe = C.domain, Oe, We, ur;
1185
+ var G = q.value, $ = q.state === Q, W = $ ? C.ok : C.fail, _e = C.resolve, Ve = C.reject, Oe = C.domain, Te, We, or;
1186
1186
  try {
1187
- W ? ($ || (q.rejection === Ae && Or(q), q.rejection = De), W === !0 ? Oe = G : (xe && xe.enter(), Oe = W(G), xe && (xe.exit(), ur = !0)), Oe === C.promise ? Ve(new U("Promise-chain cycle")) : (We = Ne(Oe)) ? i(We, Oe, _e, Ve) : _e(Oe)) : Ve(G);
1188
- } catch (Tr) {
1189
- xe && !ur && xe.exit(), Ve(Tr);
1187
+ W ? ($ || (q.rejection === Ae && xr(q), q.rejection = De), W === !0 ? Te = G : (Oe && Oe.enter(), Te = W(G), Oe && (Oe.exit(), or = !0)), Te === C.promise ? Ve(new U("Promise-chain cycle")) : (We = Ne(Te)) ? i(We, Te, _e, Ve) : _e(Te)) : Ve(G);
1188
+ } catch (Or) {
1189
+ Oe && !or && Oe.exit(), Ve(Or);
1190
1190
  }
1191
- }, me = function(C, q) {
1191
+ }, be = function(C, q) {
1192
1192
  C.notified || (C.notified = !0, d(function() {
1193
1193
  for (var G = C.reactions, $; $ = G.get(); )
1194
1194
  he($, C);
1195
- C.notified = !1, q && !C.rejection && xr(C);
1195
+ C.notified = !1, q && !C.rejection && br(C);
1196
1196
  }));
1197
1197
  }, Ue = function(C, q, G) {
1198
1198
  var $, W;
1199
1199
  B ? ($ = I.createEvent("Event"), $.promise = q, $.reason = G, $.initEvent(C, !1, !0), t.dispatchEvent($)) : $ = { promise: q, reason: G }, !V && (W = t["on" + C]) ? W($) : C === z && p("Unhandled promise rejection", G);
1200
- }, xr = function(C) {
1200
+ }, br = function(C) {
1201
1201
  i(g, t, function() {
1202
- var q = C.facade, G = C.value, $ = or(C), W;
1202
+ var q = C.facade, G = C.value, $ = sr(C), W;
1203
1203
  if ($ && (W = y(function() {
1204
1204
  r ? j.emit("unhandledRejection", G, q) : Ue(z, q, G);
1205
- }), C.rejection = r || or(C) ? Ae : De, W.error))
1205
+ }), C.rejection = r || sr(C) ? Ae : De, W.error))
1206
1206
  throw W.value;
1207
1207
  });
1208
- }, or = function(C) {
1208
+ }, sr = function(C) {
1209
1209
  return C.rejection !== De && !C.parent;
1210
- }, Or = function(C) {
1210
+ }, xr = function(C) {
1211
1211
  i(g, t, function() {
1212
1212
  var q = C.facade;
1213
1213
  r ? j.emit("rejectionHandled", q) : Ue(X, q, C.value);
1214
1214
  });
1215
- }, ve = function(C, q, G) {
1215
+ }, ge = function(C, q, G) {
1216
1216
  return function($) {
1217
1217
  C(q, $, G);
1218
1218
  };
1219
1219
  }, fe = function(C, q, G) {
1220
- C.done || (C.done = !0, G && (C = G), C.value = q, C.state = Fe, me(C, !0));
1221
- }, be = function(C, q, G) {
1220
+ C.done || (C.done = !0, G && (C = G), C.value = q, C.state = Fe, be(C, !0));
1221
+ }, xe = function(C, q, G) {
1222
1222
  if (!C.done) {
1223
1223
  C.done = !0, G && (C = G);
1224
1224
  try {
@@ -1230,27 +1230,27 @@ function dh() {
1230
1230
  i(
1231
1231
  $,
1232
1232
  q,
1233
- ve(be, W, C),
1234
- ve(fe, W, C)
1233
+ ge(xe, W, C),
1234
+ ge(fe, W, C)
1235
1235
  );
1236
1236
  } catch (_e) {
1237
1237
  fe(W, _e, C);
1238
1238
  }
1239
- }) : (C.value = q, C.state = Q, me(C, !1));
1239
+ }) : (C.value = q, C.state = Q, be(C, !1));
1240
1240
  } catch (W) {
1241
1241
  fe({ done: !1 }, W, C);
1242
1242
  }
1243
1243
  }
1244
1244
  };
1245
1245
  if (_ && (R = function(q) {
1246
- v(this, A), l(q), i(de, this);
1246
+ v(this, A), l(q), i(pe, this);
1247
1247
  var G = M(this);
1248
1248
  try {
1249
- q(ve(be, G), ve(fe, G));
1249
+ q(ge(xe, G), ge(fe, G));
1250
1250
  } catch ($) {
1251
1251
  fe(G, $);
1252
1252
  }
1253
- }, A = R.prototype, de = function(q) {
1253
+ }, A = R.prototype, pe = function(q) {
1254
1254
  w(this, {
1255
1255
  type: O,
1256
1256
  done: !1,
@@ -1261,16 +1261,16 @@ function dh() {
1261
1261
  state: H,
1262
1262
  value: null
1263
1263
  });
1264
- }, de.prototype = a(A, "then", function(q, G) {
1264
+ }, pe.prototype = a(A, "then", function(q, G) {
1265
1265
  var $ = M(this), W = N(f(this, R));
1266
1266
  return $.parent = !0, W.ok = h(q) ? q : !0, W.fail = h(G) && G, W.domain = r ? j.domain : void 0, $.state === H ? $.reactions.add(W) : d(function() {
1267
1267
  he(W, $);
1268
1268
  }), W.promise;
1269
- }), pe = function() {
1270
- var C = new de(), q = M(C);
1271
- this.promise = C, this.resolve = ve(be, q), this.reject = ve(fe, q);
1269
+ }), ye = function() {
1270
+ var C = new pe(), q = M(C);
1271
+ this.promise = C, this.resolve = ge(xe, q), this.reject = ge(fe, q);
1272
1272
  }, E.f = N = function(C) {
1273
- return C === R || C === ye ? new pe(C) : L(C);
1273
+ return C === R || C === me ? new ye(C) : L(C);
1274
1274
  }, !e && h(x) && k !== Object.prototype)) {
1275
1275
  Ie = k.then, P || a(k, "then", function(q, G) {
1276
1276
  var $ = this;
@@ -1289,14 +1289,14 @@ function dh() {
1289
1289
  }), o(R, O, !1, !0), u(O), ln;
1290
1290
  }
1291
1291
  var ro = {}, Bi, to;
1292
- function mr() {
1292
+ function yr() {
1293
1293
  return to || (to = 1, Bi = {}), Bi;
1294
1294
  }
1295
1295
  var Fi, io;
1296
1296
  function ph() {
1297
1297
  if (io) return Fi;
1298
1298
  io = 1;
1299
- var n = ne(), e = mr(), r = n("iterator"), t = Array.prototype;
1299
+ var n = ne(), e = yr(), r = n("iterator"), t = Array.prototype;
1300
1300
  return Fi = function(i) {
1301
1301
  return i !== void 0 && (e.Array === i || t[r] === i);
1302
1302
  }, Fi;
@@ -1305,7 +1305,7 @@ var Ui, ao;
1305
1305
  function bl() {
1306
1306
  if (ao) return Ui;
1307
1307
  ao = 1;
1308
- var n = Xa(), e = ar(), r = Je(), t = mr(), i = ne(), a = i("iterator");
1308
+ var n = Xa(), e = ir(), r = Ar(), t = yr(), i = ne(), a = i("iterator");
1309
1309
  return Ui = function(s) {
1310
1310
  if (!r(s)) return e(s, a) || e(s, "@@iterator") || t[n(s)];
1311
1311
  }, Ui;
@@ -1325,7 +1325,7 @@ var $i, so;
1325
1325
  function mh() {
1326
1326
  if (so) return $i;
1327
1327
  so = 1;
1328
- var n = se(), e = ue(), r = ar();
1328
+ var n = se(), e = ue(), r = ir();
1329
1329
  return $i = function(t, i, a) {
1330
1330
  var s, o;
1331
1331
  e(t);
@@ -1426,7 +1426,7 @@ var Wi, lo;
1426
1426
  function Ol() {
1427
1427
  if (lo) return Wi;
1428
1428
  lo = 1;
1429
- var n = dr(), e = bh(), r = pr().CONSTRUCTOR;
1429
+ var n = gr(), e = bh(), r = dr().CONSTRUCTOR;
1430
1430
  return Wi = r || !e(function(t) {
1431
1431
  n.all(t).then(void 0, function() {
1432
1432
  });
@@ -1436,7 +1436,7 @@ var ho;
1436
1436
  function xh() {
1437
1437
  if (ho) return ro;
1438
1438
  ho = 1;
1439
- var n = le(), e = se(), r = Be(), t = yr(), i = Qa(), a = xl(), s = Ol();
1439
+ var n = le(), e = se(), r = Be(), t = pr(), i = Qa(), a = xl(), s = Ol();
1440
1440
  return n({ target: "Promise", stat: !0, forced: s }, {
1441
1441
  all: function(u) {
1442
1442
  var l = this, h = t.f(l), c = h.resolve, v = h.reject, f = i(function() {
@@ -1456,7 +1456,7 @@ var fo = {}, co;
1456
1456
  function Oh() {
1457
1457
  if (co) return fo;
1458
1458
  co = 1;
1459
- var n = le(), e = Me(), r = pr().CONSTRUCTOR, t = dr(), i = er(), a = te(), s = rr(), o = t && t.prototype;
1459
+ var n = le(), e = Me(), r = dr().CONSTRUCTOR, t = gr(), i = Je(), a = te(), s = er(), o = t && t.prototype;
1460
1460
  if (n({ target: "Promise", proto: !0, forced: r, real: !0 }, {
1461
1461
  catch: function(l) {
1462
1462
  return this.then(void 0, l);
@@ -1471,7 +1471,7 @@ var vo = {}, go;
1471
1471
  function Th() {
1472
1472
  if (go) return vo;
1473
1473
  go = 1;
1474
- var n = le(), e = se(), r = Be(), t = yr(), i = Qa(), a = xl(), s = Ol();
1474
+ var n = le(), e = se(), r = Be(), t = pr(), i = Qa(), a = xl(), s = Ol();
1475
1475
  return n({ target: "Promise", stat: !0, forced: s }, {
1476
1476
  race: function(u) {
1477
1477
  var l = this, h = t.f(l), c = h.reject, v = i(function() {
@@ -1488,7 +1488,7 @@ var po = {}, yo;
1488
1488
  function Sh() {
1489
1489
  if (yo) return po;
1490
1490
  yo = 1;
1491
- var n = le(), e = yr(), r = pr().CONSTRUCTOR;
1491
+ var n = le(), e = pr(), r = dr().CONSTRUCTOR;
1492
1492
  return n({ target: "Promise", stat: !0, forced: r }, {
1493
1493
  reject: function(i) {
1494
1494
  var a = e.f(this), s = a.reject;
@@ -1500,7 +1500,7 @@ var mo = {}, Yi, bo;
1500
1500
  function Eh() {
1501
1501
  if (bo) return Yi;
1502
1502
  bo = 1;
1503
- var n = ue(), e = Ce(), r = yr();
1503
+ var n = ue(), e = ve(), r = pr();
1504
1504
  return Yi = function(t, i) {
1505
1505
  if (n(t), e(i) && i.constructor === t) return i;
1506
1506
  var a = r.f(t), s = a.resolve;
@@ -1511,7 +1511,7 @@ var xo;
1511
1511
  function Rh() {
1512
1512
  if (xo) return mo;
1513
1513
  xo = 1;
1514
- var n = le(), e = er(), r = Me(), t = dr(), i = pr().CONSTRUCTOR, a = Eh(), s = e("Promise"), o = r && !i;
1514
+ var n = le(), e = Je(), r = Me(), t = gr(), i = dr().CONSTRUCTOR, a = Eh(), s = e("Promise"), o = r && !i;
1515
1515
  return n({ target: "Promise", stat: !0, forced: r || i }, {
1516
1516
  resolve: function(l) {
1517
1517
  return a(o && this === s ? t : this, l);
@@ -1598,7 +1598,7 @@ var Ao;
1598
1598
  function Ph() {
1599
1599
  if (Ao) return Zi;
1600
1600
  Ao = 1;
1601
- var n = Ee(), e = sl(), r = He(), t = ue(), i = cr(), a = wh();
1601
+ var n = Re(), e = sl(), r = He(), t = ue(), i = fr(), a = wh();
1602
1602
  return Zi.f = n && !e ? Object.defineProperties : function(o, u) {
1603
1603
  t(o);
1604
1604
  for (var l = i(u), h = a(u), c = h.length, v = 0, f; c > v; ) r.f(o, f = h[v++], l[f]);
@@ -1690,7 +1690,7 @@ var aa, Do;
1690
1690
  function Ja() {
1691
1691
  if (Do) return aa;
1692
1692
  Do = 1, Nh();
1693
- var n = se(), e = rr(), r = Za(), t = ee(), i = ne(), a = gr(), s = i("species"), o = RegExp.prototype;
1693
+ var n = se(), e = er(), r = Za(), t = ee(), i = ne(), a = vr(), s = i("species"), o = RegExp.prototype;
1694
1694
  return aa = function(u, l, h, c) {
1695
1695
  var v = i(u), f = !t(function() {
1696
1696
  var y = {};
@@ -1719,7 +1719,7 @@ var na, Vo;
1719
1719
  function _h() {
1720
1720
  if (Vo) return na;
1721
1721
  Vo = 1;
1722
- var n = re(), e = Lr(), r = qe(), t = Re(), i = n("".charAt), a = n("".charCodeAt), s = n("".slice), o = function(u) {
1722
+ var n = re(), e = Lr(), r = qe(), t = Ce(), i = n("".charAt), a = n("".charCodeAt), s = n("".slice), o = function(u) {
1723
1723
  return function(l, h) {
1724
1724
  var c = r(t(l)), v = e(h), f = c.length, g, d;
1725
1725
  return v < 0 || v >= f ? u ? "" : void 0 : (g = a(c, v), g < 55296 || g > 56319 || v + 1 === f || (d = a(c, v + 1)) < 56320 || d > 57343 ? u ? i(c, v) : g : u ? s(c, v, v + 2) : (g - 55296 << 10) + (d - 56320) + 65536);
@@ -1762,13 +1762,13 @@ var jo;
1762
1762
  function Mh() {
1763
1763
  if (jo) return So;
1764
1764
  jo = 1;
1765
- var n = se(), e = Ja(), r = ue(), t = Je(), i = nr(), a = qe(), s = Re(), o = ar(), u = en(), l = rn();
1765
+ var n = se(), e = Ja(), r = ue(), t = ve(), i = ar(), a = qe(), s = Ce(), o = ir(), u = en(), l = rn();
1766
1766
  return e("match", function(h, c, v) {
1767
1767
  return [
1768
1768
  // `String.prototype.match` method
1769
1769
  // https://tc39.es/ecma262/#sec-string.prototype.match
1770
1770
  function(g) {
1771
- var d = s(this), p = t(g) ? void 0 : o(g, h);
1771
+ var d = s(this), p = t(g) ? o(g, h) : void 0;
1772
1772
  return p ? n(p, g, d) : new RegExp(g)[h](a(d));
1773
1773
  },
1774
1774
  // `RegExp.prototype[@@match]` method
@@ -1827,7 +1827,7 @@ var Uo;
1827
1827
  function Dh() {
1828
1828
  if (Uo) return Bo;
1829
1829
  Uo = 1;
1830
- var n = gl(), e = se(), r = re(), t = Ja(), i = ee(), a = ue(), s = te(), o = Je(), u = Lr(), l = nr(), h = qe(), c = Re(), v = en(), f = ar(), g = qh(), d = rn(), p = ne(), y = p("replace"), m = Math.max, b = Math.min, x = r([].concat), S = r([].push), E = r("".indexOf), O = r("".slice), _ = function(w) {
1830
+ var n = gl(), e = se(), r = re(), t = Ja(), i = ee(), a = ue(), s = te(), o = ve(), u = Lr(), l = ar(), h = qe(), c = Ce(), v = en(), f = ir(), g = qh(), d = rn(), p = ne(), y = p("replace"), m = Math.max, b = Math.min, x = r([].concat), S = r([].push), E = r("".indexOf), O = r("".slice), _ = function(w) {
1831
1831
  return w === void 0 ? w : String(w);
1832
1832
  }, V = function() {
1833
1833
  return "a".replace(/./, "$0") === "$0";
@@ -1846,7 +1846,7 @@ function Dh() {
1846
1846
  // `String.prototype.replace` method
1847
1847
  // https://tc39.es/ecma262/#sec-string.prototype.replace
1848
1848
  function(I, j) {
1849
- var N = c(this), L = o(I) ? void 0 : f(I, y);
1849
+ var N = c(this), L = o(I) ? f(I, y) : void 0;
1850
1850
  return L ? e(L, I, N, j) : e(k, h(N), I, j);
1851
1851
  },
1852
1852
  // `RegExp.prototype[@@replace]` method
@@ -1865,16 +1865,16 @@ function Dh() {
1865
1865
  var Fe = h(Q[0]);
1866
1866
  Fe === "" && (j.lastIndex = v(N, l(j.lastIndex), X));
1867
1867
  }
1868
- for (var De = "", Ae = 0, de = 0; de < H.length; de++) {
1869
- Q = H[de];
1870
- for (var pe = h(Q[0]), ye = m(b(u(Q.index), N.length), 0), Ie = [], Ne, he = 1; he < Q.length; he++) S(Ie, _(Q[he]));
1871
- var me = Q.groups;
1868
+ for (var De = "", Ae = 0, pe = 0; pe < H.length; pe++) {
1869
+ Q = H[pe];
1870
+ for (var ye = h(Q[0]), me = m(b(u(Q.index), N.length), 0), Ie = [], Ne, he = 1; he < Q.length; he++) S(Ie, _(Q[he]));
1871
+ var be = Q.groups;
1872
1872
  if (B) {
1873
- var Ue = x([pe], Ie, ye, N);
1874
- me !== void 0 && S(Ue, me), Ne = h(n(I, void 0, Ue));
1873
+ var Ue = x([ye], Ie, me, N);
1874
+ be !== void 0 && S(Ue, be), Ne = h(n(I, void 0, Ue));
1875
1875
  } else
1876
- Ne = g(pe, N, ye, Ie, me, I);
1877
- ye >= Ae && (De += O(N, Ae, ye) + Ne, Ae = ye + pe.length);
1876
+ Ne = g(ye, N, me, Ie, be, I);
1877
+ me >= Ae && (De += O(N, Ae, me) + Ne, Ae = me + ye.length);
1878
1878
  }
1879
1879
  return De + O(N, Ae);
1880
1880
  }
@@ -1886,7 +1886,7 @@ var Go = {}, la, $o;
1886
1886
  function Vh() {
1887
1887
  if ($o) return la;
1888
1888
  $o = 1;
1889
- var n = Ce(), e = Ze(), r = ne(), t = r("match");
1889
+ var n = ve(), e = Ze(), r = ne(), t = r("match");
1890
1890
  return la = function(i) {
1891
1891
  var a;
1892
1892
  return n(i) && ((a = i[t]) !== void 0 ? !!a : e(i) === "RegExp");
@@ -1925,7 +1925,7 @@ var Wo;
1925
1925
  function Lh() {
1926
1926
  if (Wo) return Go;
1927
1927
  Wo = 1;
1928
- var n = le(), e = Br(), r = qr().f, t = nr(), i = qe(), a = tn(), s = Re(), o = an(), u = Me(), l = e("".slice), h = Math.min, c = o("startsWith"), v = !u && !c && !!function() {
1928
+ var n = le(), e = Br(), r = qr().f, t = ar(), i = qe(), a = tn(), s = Ce(), o = an(), u = Me(), l = e("".slice), h = Math.min, c = o("startsWith"), v = !u && !c && !!function() {
1929
1929
  var f = r(String.prototype, "startsWith");
1930
1930
  return f && !f.writable;
1931
1931
  }();
@@ -1978,7 +1978,7 @@ var da, Qo;
1978
1978
  function Rl() {
1979
1979
  if (Qo) return da;
1980
1980
  Qo = 1;
1981
- var n = ee(), e = te(), r = Ce(), t = Fr(), i = El(), a = rr(), s = ne(), o = Me(), u = s("iterator"), l = !1, h, c, v;
1981
+ var n = ee(), e = te(), r = ve(), t = Fr(), i = El(), a = er(), s = ne(), o = Me(), u = s("iterator"), l = !1, h, c, v;
1982
1982
  [].keys && (v = [].keys(), "next" in v ? (c = i(i(v)), c !== Object.prototype && (h = c)) : l = !0);
1983
1983
  var f = !r(h) || n(function() {
1984
1984
  var g = {};
@@ -1995,7 +1995,7 @@ var pa, Zo;
1995
1995
  function Bh() {
1996
1996
  if (Zo) return pa;
1997
1997
  Zo = 1;
1998
- var n = Rl().IteratorPrototype, e = Fr(), r = ja(), t = jr(), i = mr(), a = function() {
1998
+ var n = Rl().IteratorPrototype, e = Fr(), r = ja(), t = jr(), i = yr(), a = function() {
1999
1999
  return this;
2000
2000
  };
2001
2001
  return pa = function(s, o, u, l) {
@@ -2007,7 +2007,7 @@ var ya, Jo;
2007
2007
  function Fh() {
2008
2008
  if (Jo) return ya;
2009
2009
  Jo = 1;
2010
- var n = le(), e = se(), r = Me(), t = Dr(), i = te(), a = Bh(), s = El(), o = cl(), u = jr(), l = gr(), h = rr(), c = ne(), v = mr(), f = Rl(), g = t.PROPER, d = t.CONFIGURABLE, p = f.IteratorPrototype, y = f.BUGGY_SAFARI_ITERATORS, m = c("iterator"), b = "keys", x = "values", S = "entries", E = function() {
2010
+ var n = le(), e = se(), r = Me(), t = Dr(), i = te(), a = Bh(), s = El(), o = cl(), u = jr(), l = vr(), h = er(), c = ne(), v = yr(), f = Rl(), g = t.PROPER, d = t.CONFIGURABLE, p = f.IteratorPrototype, y = f.BUGGY_SAFARI_ITERATORS, m = c("iterator"), b = "keys", x = "values", S = "entries", E = function() {
2011
2011
  return this;
2012
2012
  };
2013
2013
  return ya = function(O, _, V, P, M, w, k) {
@@ -2056,7 +2056,7 @@ var ba, ru;
2056
2056
  function Cl() {
2057
2057
  if (ru) return ba;
2058
2058
  ru = 1;
2059
- var n = cr(), e = kh(), r = mr(), t = Vr(), i = He().f, a = Fh(), s = Uh(), o = Me(), u = Ee(), l = "Array Iterator", h = t.set, c = t.getterFor(l);
2059
+ var n = fr(), e = kh(), r = yr(), t = Vr(), i = He().f, a = Fh(), s = Uh(), o = Me(), u = Re(), l = "Array Iterator", h = t.set, c = t.getterFor(l);
2060
2060
  ba = a(Array, "Array", function(f, g) {
2061
2061
  h(this, {
2062
2062
  type: l,
@@ -2134,7 +2134,7 @@ var nu;
2134
2134
  function zh() {
2135
2135
  if (nu) return tu;
2136
2136
  nu = 1;
2137
- var n = Z(), e = Gh(), r = $h(), t = Cl(), i = gr(), a = jr(), s = ne(), o = s("iterator"), u = t.values, l = function(c, v) {
2137
+ var n = Z(), e = Gh(), r = $h(), t = Cl(), i = vr(), a = jr(), s = ne(), o = s("iterator"), u = t.values, l = function(c, v) {
2138
2138
  if (c) {
2139
2139
  if (c[o] !== u) try {
2140
2140
  i(c, o, u);
@@ -2239,7 +2239,7 @@ var hu = {}, fu;
2239
2239
  function Kh() {
2240
2240
  if (fu) return hu;
2241
2241
  fu = 1;
2242
- var n = le(), e = Br(), r = qr().f, t = nr(), i = qe(), a = tn(), s = Re(), o = an(), u = Me(), l = e("".slice), h = Math.min, c = o("endsWith"), v = !u && !c && !!function() {
2242
+ var n = le(), e = Br(), r = qr().f, t = ar(), i = qe(), a = tn(), s = Ce(), o = an(), u = Me(), l = e("".slice), h = Math.min, c = o("endsWith"), v = !u && !c && !!function() {
2243
2243
  var f = r(String.prototype, "endsWith");
2244
2244
  return f && !f.writable;
2245
2245
  }();
@@ -2257,7 +2257,7 @@ var cu = {}, vu;
2257
2257
  function Qh() {
2258
2258
  if (vu) return cu;
2259
2259
  vu = 1;
2260
- var n = se(), e = re(), r = Ja(), t = ue(), i = Je(), a = Re(), s = vl(), o = en(), u = nr(), l = qe(), h = ar(), c = rn(), v = Sl(), f = ee(), g = v.UNSUPPORTED_Y, d = 4294967295, p = Math.min, y = e([].push), m = e("".slice), b = !f(function() {
2260
+ var n = se(), e = re(), r = Ja(), t = ue(), i = ve(), a = Ce(), s = vl(), o = en(), u = ar(), l = qe(), h = ir(), c = rn(), v = Sl(), f = ee(), g = v.UNSUPPORTED_Y, d = 4294967295, p = Math.min, y = e([].push), m = e("".slice), b = !f(function() {
2261
2261
  var S = /(?:)/, E = S.exec;
2262
2262
  S.exec = function() {
2263
2263
  return E.apply(this, arguments);
@@ -2275,7 +2275,7 @@ function Qh() {
2275
2275
  // `String.prototype.split` method
2276
2276
  // https://tc39.es/ecma262/#sec-string.prototype.split
2277
2277
  function(P, M) {
2278
- var w = a(this), k = i(P) ? void 0 : h(P, S);
2278
+ var w = a(this), k = i(P) ? h(P, S) : void 0;
2279
2279
  return k ? n(k, P, w, M) : n(_, l(w), P, M);
2280
2280
  },
2281
2281
  // `RegExp.prototype[@@split]` method
@@ -2310,7 +2310,7 @@ function Qh() {
2310
2310
  }, x || !b, g), cu;
2311
2311
  }
2312
2312
  Qh();
2313
- var hr = { exports: {} }, Ke = { exports: {} }, Zh = Ke.exports, gu;
2313
+ var lr = { exports: {} }, Ke = { exports: {} }, Zh = Ke.exports, gu;
2314
2314
  function Jh() {
2315
2315
  return gu || (gu = 1, (function() {
2316
2316
  var n, e, r, t, i, a;
@@ -2330,7 +2330,7 @@ function Jh() {
2330
2330
  }
2331
2331
  var du;
2332
2332
  function ef() {
2333
- if (du) return hr.exports;
2333
+ if (du) return lr.exports;
2334
2334
  du = 1;
2335
2335
  for (var n = Jh(), e = typeof window > "u" ? Ma : window, r = ["moz", "webkit"], t = "AnimationFrame", i = e["request" + t], a = e["cancel" + t] || e["cancelRequest" + t], s = 0; !i && s < r.length; s++)
2336
2336
  i = e[r[s] + "Request" + t], a = e[r[s] + "Cancel" + t] || e[r[s] + "CancelRequest" + t];
@@ -2363,13 +2363,13 @@ function ef() {
2363
2363
  l[v].handle === c && (l[v].cancelled = !0);
2364
2364
  };
2365
2365
  }
2366
- return hr.exports = function(c) {
2366
+ return lr.exports = function(c) {
2367
2367
  return i.call(e, c);
2368
- }, hr.exports.cancel = function() {
2368
+ }, lr.exports.cancel = function() {
2369
2369
  a.apply(e, arguments);
2370
- }, hr.exports.polyfill = function(c) {
2370
+ }, lr.exports.polyfill = function(c) {
2371
2371
  c || (c = e), c.requestAnimationFrame = i, c.cancelAnimationFrame = a;
2372
- }, hr.exports;
2372
+ }, lr.exports;
2373
2373
  }
2374
2374
  var rf = ef();
2375
2375
  const Ea = /* @__PURE__ */ Zu(rf);
@@ -2382,7 +2382,7 @@ var Ca, mu;
2382
2382
  function tf() {
2383
2383
  if (mu) return Ca;
2384
2384
  mu = 1;
2385
- var n = re(), e = Re(), r = qe(), t = Pl(), i = n("".replace), a = RegExp("^[" + t + "]+"), s = RegExp("(^|[^" + t + "])[" + t + "]+$"), o = function(u) {
2385
+ var n = re(), e = Ce(), r = qe(), t = Pl(), i = n("".replace), a = RegExp("^[" + t + "]+"), s = RegExp("(^|[^" + t + "])[" + t + "]+$"), o = function(u) {
2386
2386
  return function(l) {
2387
2387
  var h = r(e(l));
2388
2388
  return u & 1 && (h = i(h, a, "")), u & 2 && (h = i(h, s, "$1")), h;
@@ -2675,7 +2675,7 @@ var Eu = {}, Ru;
2675
2675
  function lf() {
2676
2676
  if (Ru) return Eu;
2677
2677
  Ru = 1;
2678
- var n = le(), e = re(), r = tn(), t = Re(), i = qe(), a = an(), s = e("".indexOf);
2678
+ var n = le(), e = re(), r = tn(), t = Ce(), i = qe(), a = an(), s = e("".indexOf);
2679
2679
  return n({ target: "String", proto: !0, forced: !a("includes") }, {
2680
2680
  includes: function(u) {
2681
2681
  return !!~s(
@@ -2761,7 +2761,7 @@ function Va(n, e) {
2761
2761
  var r = n[0], t = n[1];
2762
2762
  return [r * Math.cos(e) - t * Math.sin(e), r * Math.sin(e) + t * Math.cos(e)];
2763
2763
  }
2764
- function Se() {
2764
+ function Ee() {
2765
2765
  for (var n = [], e = 0; e < arguments.length; e++) n[e] = arguments[e];
2766
2766
  for (var r = 0; r < n.length; r++) if (typeof n[r] != "number") throw new Error("assertNumbers arguments[" + r + "] is not a number. " + typeof n[r] + " == typeof " + n[r]);
2767
2767
  return !0;
@@ -2777,7 +2777,7 @@ function Ia(n, e, r) {
2777
2777
  n.cX = d[0] + (e + a) / 2, n.cY = d[1] + (r + s) / 2, n.phi1 = Math.atan2((l - g) / i, (u - f) / t), n.phi2 = Math.atan2((-l - g) / i, (-u - f) / t), n.sweepFlag === 0 && n.phi2 > n.phi1 && (n.phi2 -= 2 * Ge), n.sweepFlag === 1 && n.phi2 < n.phi1 && (n.phi2 += 2 * Ge), n.phi1 *= 180 / Ge, n.phi2 *= 180 / Ge;
2778
2778
  }
2779
2779
  function Au(n, e, r) {
2780
- Se(n, e, r);
2780
+ Ee(n, e, r);
2781
2781
  var t = n * n + e * e - r * r;
2782
2782
  if (0 > t) return [];
2783
2783
  if (t === 0) return [[n * r / (n * n + e * e), e * r / (n * n + e * e)]];
@@ -2837,7 +2837,7 @@ function Mu(n, e, r, t, i) {
2837
2837
  };
2838
2838
  }
2839
2839
  function a(o, u, l, h, c, v) {
2840
- return Se(o, u, l, h, c, v), i(function(f, g, d, p) {
2840
+ return Ee(o, u, l, h, c, v), i(function(f, g, d, p) {
2841
2841
  var y = f.x1, m = f.x2, b = f.relative && !isNaN(p), x = f.x !== void 0 ? f.x : b ? 0 : g, S = f.y !== void 0 ? f.y : b ? 0 : d;
2842
2842
  function E(z) {
2843
2843
  return z * z;
@@ -2863,7 +2863,7 @@ function Mu(n, e, r, t, i) {
2863
2863
  function u(l) {
2864
2864
  return Math.round(l * o) / o;
2865
2865
  }
2866
- return o === void 0 && (o = 1e13), Se(o), function(l) {
2866
+ return o === void 0 && (o = 1e13), Ee(o), function(l) {
2867
2867
  return l.x1 !== void 0 && (l.x1 = u(l.x1)), l.y1 !== void 0 && (l.y1 = u(l.y1)), l.x2 !== void 0 && (l.x2 = u(l.x2)), l.y2 !== void 0 && (l.y2 = u(l.y2)), l.x !== void 0 && (l.x = u(l.x)), l.y !== void 0 && (l.y = u(l.y)), l.rX !== void 0 && (l.rX = u(l.rX)), l.rY !== void 0 && (l.rY = u(l.rY)), l;
2868
2868
  };
2869
2869
  }, n.TO_ABS = e, n.TO_REL = function() {
@@ -2876,7 +2876,7 @@ function Mu(n, e, r, t, i) {
2876
2876
  return u && h.type & T.HORIZ_LINE_TO && (h.type = T.LINE_TO, h.y = h.relative ? 0 : v), l && h.type & T.VERT_LINE_TO && (h.type = T.LINE_TO, h.x = h.relative ? 0 : c), o && h.type & T.CLOSE_PATH && (h.type = T.LINE_TO, h.x = h.relative ? f - c : f, h.y = h.relative ? g - v : g), h.type & T.ARC && (h.rX === 0 || h.rY === 0) && (h.type = T.LINE_TO, delete h.rX, delete h.rY, delete h.xRot, delete h.lArcFlag, delete h.sweepFlag), h;
2877
2877
  });
2878
2878
  }, n.NORMALIZE_ST = r, n.QT_TO_C = t, n.INFO = i, n.SANITIZE = function(o) {
2879
- o === void 0 && (o = 0), Se(o);
2879
+ o === void 0 && (o = 0), Ee(o);
2880
2880
  var u = NaN, l = NaN, h = NaN, c = NaN;
2881
2881
  return i(function(v, f, g, d, p) {
2882
2882
  var y = Math.abs, m = !1, b = 0, x = 0;
@@ -2889,21 +2889,21 @@ function Mu(n, e, r, t, i) {
2889
2889
  return v.type & T.CLOSE_PATH && y(f - d) <= o && y(g - p) <= o && (m = !0), m ? [] : v;
2890
2890
  });
2891
2891
  }, n.MATRIX = a, n.ROTATE = function(o, u, l) {
2892
- u === void 0 && (u = 0), l === void 0 && (l = 0), Se(o, u, l);
2892
+ u === void 0 && (u = 0), l === void 0 && (l = 0), Ee(o, u, l);
2893
2893
  var h = Math.sin(o), c = Math.cos(o);
2894
2894
  return a(c, h, -h, c, u - u * c + l * h, l - u * h - l * c);
2895
2895
  }, n.TRANSLATE = function(o, u) {
2896
- return u === void 0 && (u = 0), Se(o, u), a(1, 0, 0, 1, o, u);
2896
+ return u === void 0 && (u = 0), Ee(o, u), a(1, 0, 0, 1, o, u);
2897
2897
  }, n.SCALE = function(o, u) {
2898
- return u === void 0 && (u = o), Se(o, u), a(o, 0, 0, u, 0, 0);
2898
+ return u === void 0 && (u = o), Ee(o, u), a(o, 0, 0, u, 0, 0);
2899
2899
  }, n.SKEW_X = function(o) {
2900
- return Se(o), a(1, 0, Math.atan(o), 1, 0, 0);
2900
+ return Ee(o), a(1, 0, Math.atan(o), 1, 0, 0);
2901
2901
  }, n.SKEW_Y = function(o) {
2902
- return Se(o), a(1, Math.atan(o), 0, 1, 0, 0);
2902
+ return Ee(o), a(1, Math.atan(o), 0, 1, 0, 0);
2903
2903
  }, n.X_AXIS_SYMMETRY = function(o) {
2904
- return o === void 0 && (o = 0), Se(o), a(-1, 0, 0, 1, o, 0);
2904
+ return o === void 0 && (o = 0), Ee(o), a(-1, 0, 0, 1, o, 0);
2905
2905
  }, n.Y_AXIS_SYMMETRY = function(o) {
2906
- return o === void 0 && (o = 0), Se(o), a(1, 0, 0, -1, 0, o);
2906
+ return o === void 0 && (o = 0), Ee(o), a(1, 0, 0, -1, 0, o);
2907
2907
  }, n.A_TO_C = function() {
2908
2908
  return i(function(o, u, l) {
2909
2909
  return T.ARC === o.type ? function(h, c, v) {
@@ -2962,7 +2962,7 @@ function Mu(n, e, r, t, i) {
2962
2962
  return c.minX = 1 / 0, c.maxX = -1 / 0, c.minY = 1 / 0, c.maxY = -1 / 0, c;
2963
2963
  };
2964
2964
  })(ae || (ae = {}));
2965
- var Te, Nl = function() {
2965
+ var Se, Nl = function() {
2966
2966
  function n() {
2967
2967
  }
2968
2968
  return n.prototype.round = function(e) {
@@ -3089,7 +3089,7 @@ var Te, Nl = function() {
3089
3089
  var t = new gf(), i = [];
3090
3090
  return t.parse(r, i), t.finish(i), i;
3091
3091
  }, e.CLOSE_PATH = 1, e.MOVE_TO = 2, e.HORIZ_LINE_TO = 4, e.VERT_LINE_TO = 8, e.LINE_TO = 16, e.CURVE_TO = 32, e.SMOOTH_CURVE_TO = 64, e.QUAD_TO = 128, e.SMOOTH_QUAD_TO = 256, e.ARC = 512, e.LINE_COMMANDS = e.LINE_TO | e.HORIZ_LINE_TO | e.VERT_LINE_TO, e.DRAWING_COMMANDS = e.HORIZ_LINE_TO | e.VERT_LINE_TO | e.LINE_TO | e.CURVE_TO | e.SMOOTH_CURVE_TO | e.QUAD_TO | e.SMOOTH_QUAD_TO | e.ARC, e;
3092
- }(Nl), df = ((Te = {})[T.MOVE_TO] = 2, Te[T.LINE_TO] = 2, Te[T.HORIZ_LINE_TO] = 1, Te[T.VERT_LINE_TO] = 1, Te[T.CLOSE_PATH] = 0, Te[T.QUAD_TO] = 4, Te[T.SMOOTH_QUAD_TO] = 2, Te[T.CURVE_TO] = 6, Te[T.SMOOTH_CURVE_TO] = 4, Te[T.ARC] = 7, Te), Du = {}, Na, Vu;
3092
+ }(Nl), df = ((Se = {})[T.MOVE_TO] = 2, Se[T.LINE_TO] = 2, Se[T.HORIZ_LINE_TO] = 1, Se[T.VERT_LINE_TO] = 1, Se[T.CLOSE_PATH] = 0, Se[T.QUAD_TO] = 4, Se[T.SMOOTH_QUAD_TO] = 2, Se[T.CURVE_TO] = 6, Se[T.SMOOTH_CURVE_TO] = 4, Se[T.ARC] = 7, Se), Du = {}, Na, Vu;
3093
3093
  function pf() {
3094
3094
  if (Vu) return Na;
3095
3095
  Vu = 1;
@@ -3103,7 +3103,7 @@ var Lu;
3103
3103
  function yf() {
3104
3104
  if (Lu) return Du;
3105
3105
  Lu = 1;
3106
- var n = Dr().PROPER, e = rr(), r = ue(), t = qe(), i = ee(), a = pf(), s = "toString", o = RegExp.prototype, u = o[s], l = i(function() {
3106
+ var n = Dr().PROPER, e = er(), r = ue(), t = qe(), i = ee(), a = pf(), s = "toString", o = RegExp.prototype, u = o[s], l = i(function() {
3107
3107
  return u.call({ source: "a", flags: "b" }) !== "/a/b";
3108
3108
  }), h = n && u.name !== s;
3109
3109
  return (l || h) && e(o, s, function() {
@@ -3112,13 +3112,13 @@ function yf() {
3112
3112
  }, { unsafe: !0 }), Du;
3113
3113
  }
3114
3114
  yf();
3115
- function Pr(n) {
3115
+ function wr(n) {
3116
3116
  "@babel/helpers - typeof";
3117
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Pr = function(e) {
3117
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? wr = function(e) {
3118
3118
  return typeof e;
3119
- } : Pr = function(e) {
3119
+ } : wr = function(e) {
3120
3120
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
3121
- }, Pr(n);
3121
+ }, wr(n);
3122
3122
  }
3123
3123
  function mf(n, e) {
3124
3124
  if (!(n instanceof e))
@@ -3126,7 +3126,7 @@ function mf(n, e) {
3126
3126
  }
3127
3127
  var bf = [512, 512, 456, 512, 328, 456, 335, 512, 405, 328, 271, 456, 388, 335, 292, 512, 454, 405, 364, 328, 298, 271, 496, 456, 420, 388, 360, 335, 312, 292, 273, 512, 482, 454, 428, 405, 383, 364, 345, 328, 312, 298, 284, 271, 259, 496, 475, 456, 437, 420, 404, 388, 374, 360, 347, 335, 323, 312, 302, 292, 282, 273, 265, 512, 497, 482, 468, 454, 441, 428, 417, 405, 394, 383, 373, 364, 354, 345, 337, 328, 320, 312, 305, 298, 291, 284, 278, 271, 265, 259, 507, 496, 485, 475, 465, 456, 446, 437, 428, 420, 412, 404, 396, 388, 381, 374, 367, 360, 354, 347, 341, 335, 329, 323, 318, 312, 307, 302, 297, 292, 287, 282, 278, 273, 269, 265, 261, 512, 505, 497, 489, 482, 475, 468, 461, 454, 447, 441, 435, 428, 422, 417, 411, 405, 399, 394, 389, 383, 378, 373, 368, 364, 359, 354, 350, 345, 341, 337, 332, 328, 324, 320, 316, 312, 309, 305, 301, 298, 294, 291, 287, 284, 281, 278, 274, 271, 268, 265, 262, 259, 257, 507, 501, 496, 491, 485, 480, 475, 470, 465, 460, 456, 451, 446, 442, 437, 433, 428, 424, 420, 416, 412, 408, 404, 400, 396, 392, 388, 385, 381, 377, 374, 370, 367, 363, 360, 357, 354, 350, 347, 344, 341, 338, 335, 332, 329, 326, 323, 320, 318, 315, 312, 310, 307, 304, 302, 299, 297, 294, 292, 289, 287, 285, 282, 280, 278, 275, 273, 271, 269, 267, 265, 263, 261, 259], xf = [9, 11, 12, 13, 13, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24];
3128
3128
  function Of(n, e, r, t, i) {
3129
- if (typeof n == "string" && (n = document.getElementById(n)), !n || Pr(n) !== "object" || !("getContext" in n))
3129
+ if (typeof n == "string" && (n = document.getElementById(n)), !n || wr(n) !== "object" || !("getContext" in n))
3130
3130
  throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");
3131
3131
  var a = n.getContext("2d");
3132
3132
  try {
@@ -3151,11 +3151,11 @@ function Sf(n, e, r, t, i, a) {
3151
3151
  for (var O = s[b], _ = s[b + 1], V = s[b + 2], P = s[b + 3], M = 0; M < h; M++)
3152
3152
  f.r = O, f.g = _, f.b = V, f.a = P, f = f.next;
3153
3153
  for (var w = 0, k = 0, R = 0, A = 0, U = h * O, I = h * _, j = h * V, N = h * P, L = c * O, B = c * _, z = c * V, X = c * P, H = 1; H < h; H++) {
3154
- var Q = b + ((u < H ? u : H) << 2), Fe = s[Q], De = s[Q + 1], Ae = s[Q + 2], de = s[Q + 3], pe = h - H;
3155
- L += (f.r = Fe) * pe, B += (f.g = De) * pe, z += (f.b = Ae) * pe, X += (f.a = de) * pe, w += Fe, k += De, R += Ae, A += de, f = f.next;
3154
+ var Q = b + ((u < H ? u : H) << 2), Fe = s[Q], De = s[Q + 1], Ae = s[Q + 2], pe = s[Q + 3], ye = h - H;
3155
+ L += (f.r = Fe) * ye, B += (f.g = De) * ye, z += (f.b = Ae) * ye, X += (f.a = pe) * ye, w += Fe, k += De, R += Ae, A += pe, f = f.next;
3156
3156
  }
3157
3157
  p = v, y = g;
3158
- for (var ye = 0; ye < t; ye++) {
3158
+ for (var me = 0; me < t; me++) {
3159
3159
  var Ie = X * x >>> S;
3160
3160
  if (s[b + 3] = Ie, Ie !== 0) {
3161
3161
  var Ne = 255 / Ie;
@@ -3163,28 +3163,28 @@ function Sf(n, e, r, t, i, a) {
3163
3163
  } else
3164
3164
  s[b] = s[b + 1] = s[b + 2] = 0;
3165
3165
  L -= U, B -= I, z -= j, X -= N, U -= p.r, I -= p.g, j -= p.b, N -= p.a;
3166
- var he = ye + a + 1;
3166
+ var he = me + a + 1;
3167
3167
  he = m + (he < u ? he : u) << 2, w += p.r = s[he], k += p.g = s[he + 1], R += p.b = s[he + 2], A += p.a = s[he + 3], L += w, B += k, z += R, X += A, p = p.next;
3168
- var me = y, Ue = me.r, xr = me.g, or = me.b, Or = me.a;
3169
- U += Ue, I += xr, j += or, N += Or, w -= Ue, k -= xr, R -= or, A -= Or, y = y.next, b += 4;
3168
+ var be = y, Ue = be.r, br = be.g, sr = be.b, xr = be.a;
3169
+ U += Ue, I += br, j += sr, N += xr, w -= Ue, k -= br, R -= sr, A -= xr, y = y.next, b += 4;
3170
3170
  }
3171
3171
  m += t;
3172
3172
  }
3173
- for (var ve = 0; ve < t; ve++) {
3174
- b = ve << 2;
3175
- var fe = s[b], be = s[b + 1], C = s[b + 2], q = s[b + 3], G = h * fe, $ = h * be, W = h * C, _e = h * q, Ve = c * fe, xe = c * be, Oe = c * C, We = c * q;
3173
+ for (var ge = 0; ge < t; ge++) {
3174
+ b = ge << 2;
3175
+ var fe = s[b], xe = s[b + 1], C = s[b + 2], q = s[b + 3], G = h * fe, $ = h * xe, W = h * C, _e = h * q, Ve = c * fe, Oe = c * xe, Te = c * C, We = c * q;
3176
3176
  f = v;
3177
- for (var ur = 0; ur < h; ur++)
3178
- f.r = fe, f.g = be, f.b = C, f.a = q, f = f.next;
3179
- for (var Tr = t, Hr = 0, Wr = 0, Yr = 0, Xr = 0, Sr = 1; Sr <= a; Sr++) {
3180
- b = Tr + ve << 2;
3181
- var Er = h - Sr;
3182
- Ve += (f.r = fe = s[b]) * Er, xe += (f.g = be = s[b + 1]) * Er, Oe += (f.b = C = s[b + 2]) * Er, We += (f.a = q = s[b + 3]) * Er, Xr += fe, Hr += be, Wr += C, Yr += q, f = f.next, Sr < l && (Tr += t);
3177
+ for (var or = 0; or < h; or++)
3178
+ f.r = fe, f.g = xe, f.b = C, f.a = q, f = f.next;
3179
+ for (var Or = t, Hr = 0, Wr = 0, Yr = 0, Xr = 0, Tr = 1; Tr <= a; Tr++) {
3180
+ b = Or + ge << 2;
3181
+ var Sr = h - Tr;
3182
+ Ve += (f.r = fe = s[b]) * Sr, Oe += (f.g = xe = s[b + 1]) * Sr, Te += (f.b = C = s[b + 2]) * Sr, We += (f.a = q = s[b + 3]) * Sr, Xr += fe, Hr += xe, Wr += C, Yr += q, f = f.next, Tr < l && (Or += t);
3183
3183
  }
3184
- b = ve, p = v, y = g;
3184
+ b = ge, p = v, y = g;
3185
3185
  for (var Kr = 0; Kr < i; Kr++) {
3186
3186
  var ce = b << 2;
3187
- s[ce + 3] = q = We * x >>> S, q > 0 ? (q = 255 / q, s[ce] = (Ve * x >>> S) * q, s[ce + 1] = (xe * x >>> S) * q, s[ce + 2] = (Oe * x >>> S) * q) : s[ce] = s[ce + 1] = s[ce + 2] = 0, Ve -= G, xe -= $, Oe -= W, We -= _e, G -= p.r, $ -= p.g, W -= p.b, _e -= p.a, ce = ve + ((ce = Kr + h) < l ? ce : l) * t << 2, Ve += Xr += p.r = s[ce], xe += Hr += p.g = s[ce + 1], Oe += Wr += p.b = s[ce + 2], We += Yr += p.a = s[ce + 3], p = p.next, G += fe = y.r, $ += be = y.g, W += C = y.b, _e += q = y.a, Xr -= fe, Hr -= be, Wr -= C, Yr -= q, y = y.next, b += t;
3187
+ s[ce + 3] = q = We * x >>> S, q > 0 ? (q = 255 / q, s[ce] = (Ve * x >>> S) * q, s[ce + 1] = (Oe * x >>> S) * q, s[ce + 2] = (Te * x >>> S) * q) : s[ce] = s[ce + 1] = s[ce + 2] = 0, Ve -= G, Oe -= $, Te -= W, We -= _e, G -= p.r, $ -= p.g, W -= p.b, _e -= p.a, ce = ge + ((ce = Kr + h) < l ? ce : l) * t << 2, Ve += Xr += p.r = s[ce], Oe += Hr += p.g = s[ce + 1], Te += Wr += p.b = s[ce + 2], We += Yr += p.a = s[ce + 3], p = p.next, G += fe = y.r, $ += xe = y.g, W += C = y.b, _e += q = y.a, Xr -= fe, Hr -= xe, Wr -= C, Yr -= q, y = y.next, b += t;
3188
3188
  }
3189
3189
  }
3190
3190
  return n;
@@ -3238,7 +3238,7 @@ var Lc = /* @__PURE__ */ Object.freeze({
3238
3238
  offscreen: Ef,
3239
3239
  node: Rf
3240
3240
  });
3241
- function sr(n) {
3241
+ function nr(n) {
3242
3242
  return n.replace(/(?!\u3000)\s+/gm, " ");
3243
3243
  }
3244
3244
  function Cf(n) {
@@ -3247,7 +3247,7 @@ function Cf(n) {
3247
3247
  function wf(n) {
3248
3248
  return n.replace(/[\n \t]+$/, "");
3249
3249
  }
3250
- function ge(n) {
3250
+ function de(n) {
3251
3251
  var e = (n || "").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm) || [];
3252
3252
  return e.map(parseFloat);
3253
3253
  }
@@ -3274,7 +3274,7 @@ function kf(n) {
3274
3274
  var e = [0, 0, 0], r = n.replace(/:not\(([^)]*)\)/g, " $1 ").replace(/{[\s\S]*/gm, " "), t = 0;
3275
3275
  return [r, t] = Ye(r, Nf), e[1] += t, [r, t] = Ye(r, _f), e[0] += t, [r, t] = Ye(r, Mf), e[1] += t, [r, t] = Ye(r, qf), e[2] += t, [r, t] = Ye(r, Df), e[1] += t, [r, t] = Ye(r, Vf), e[1] += t, r = r.replace(/[*\s+>~]/g, " ").replace(/[#.]/g, " "), [r, t] = Ye(r, Lf), e[2] += t, e.join("");
3276
3276
  }
3277
- var ir = 1e-8;
3277
+ var tr = 1e-8;
3278
3278
  function ju(n) {
3279
3279
  return Math.sqrt(Math.pow(n[0], 2) + Math.pow(n[1], 2));
3280
3280
  }
@@ -3317,7 +3317,7 @@ class D {
3317
3317
  document: r,
3318
3318
  name: t
3319
3319
  } = this;
3320
- return sr(this.getString()).trim().split(e).map((i) => new D(r, t, i));
3320
+ return nr(this.getString()).trim().split(e).map((i) => new D(r, t, i));
3321
3321
  }
3322
3322
  hasValue(e) {
3323
3323
  var {
@@ -3522,15 +3522,15 @@ class J {
3522
3522
  this.x = e, this.y = r;
3523
3523
  }
3524
3524
  static parse(e) {
3525
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, [t = r, i = r] = ge(e);
3525
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, [t = r, i = r] = de(e);
3526
3526
  return new J(t, i);
3527
3527
  }
3528
3528
  static parseScale(e) {
3529
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, [t = r, i = t] = ge(e);
3529
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, [t = r, i = t] = de(e);
3530
3530
  return new J(t, i);
3531
3531
  }
3532
3532
  static parsePath(e) {
3533
- for (var r = ge(e), t = r.length, i = [], a = 0; a < t; a += 2)
3533
+ for (var r = de(e), t = r.length, i = [], a = 0; a < t; a += 2)
3534
3534
  i.push(new J(r[a], r[a + 1]));
3535
3535
  return i;
3536
3536
  }
@@ -3695,7 +3695,7 @@ class Ur {
3695
3695
  clip: f = !1,
3696
3696
  clipX: g = 0,
3697
3697
  clipY: d = 0
3698
- } = e, p = sr(i).replace(/^defer\s/, ""), [y, m] = p.split(" "), b = y || "xMidYMid", x = m || "meet", S = a / s, E = o / u, O = Math.min(S, E), _ = Math.max(S, E), V = s, P = u;
3698
+ } = e, p = nr(i).replace(/^defer\s/, ""), [y, m] = p.split(" "), b = y || "xMidYMid", x = m || "meet", S = a / s, E = o / u, O = Math.min(S, E), _ = Math.max(S, E), V = s, P = u;
3699
3699
  x === "meet" && (V *= O, P *= O), x === "slice" && (V *= _, P *= _);
3700
3700
  var M = new D(r, "refX", c), w = new D(r, "refY", v), k = M.hasValue() && w.hasValue();
3701
3701
  if (k && t.translate(-O * M.getPixels("x"), -O * w.getPixels("y")), f) {
@@ -3770,7 +3770,7 @@ class Ur {
3770
3770
  !r && (v || typeof i != "number" && typeof a != "number") && (g.hasValue() && (f.width = g.getPixels("x"), f.style && (f.style.width = "".concat(f.width, "px"))), d.hasValue() && (f.height = d.getPixels("y"), f.style && (f.style.height = "".concat(f.height, "px"))));
3771
3771
  var p = f.clientWidth || f.width, y = f.clientHeight || f.height;
3772
3772
  if (r && g.hasValue() && d.hasValue() && (p = g.getPixels("x"), y = d.getPixels("y")), h.setCurrent(p, y), typeof s == "number" && e.getAttribute("x", !0).setValue(s), typeof o == "number" && e.getAttribute("y", !0).setValue(o), typeof i == "number" || typeof a == "number") {
3773
- var m = ge(e.getAttribute("viewBox").getString()), b = 0, x = 0;
3773
+ var m = de(e.getAttribute("viewBox").getString()), b = 0, x = 0;
3774
3774
  if (typeof i == "number") {
3775
3775
  var S = e.getStyle("width");
3776
3776
  S.hasValue() ? b = S.getPixels("x") / i : isNaN(m[2]) || (b = m[2] / i);
@@ -3856,7 +3856,7 @@ class Gf {
3856
3856
  class $f {
3857
3857
  constructor(e, r, t) {
3858
3858
  this.type = "rotate", this.angle = null, this.originX = null, this.originY = null, this.cx = 0, this.cy = 0;
3859
- var i = ge(r);
3859
+ var i = de(r);
3860
3860
  this.angle = new D(e, "angle", i[0]), this.originX = t[0], this.originY = t[1], this.cx = i[1] || 0, this.cy = i[2] || 0;
3861
3861
  }
3862
3862
  apply(e) {
@@ -3908,7 +3908,7 @@ class zf {
3908
3908
  constructor(e, r, t) {
3909
3909
  this.type = "scale", this.scale = null, this.originX = null, this.originY = null;
3910
3910
  var i = J.parseScale(r);
3911
- (i.x === 0 || i.y === 0) && (i.x = ir, i.y = ir), this.scale = i, this.originX = t[0], this.originY = t[1];
3911
+ (i.x === 0 || i.y === 0) && (i.x = tr, i.y = tr), this.scale = i, this.originX = t[0], this.originY = t[1];
3912
3912
  }
3913
3913
  apply(e) {
3914
3914
  var {
@@ -3942,7 +3942,7 @@ class zf {
3942
3942
  }
3943
3943
  class Dl {
3944
3944
  constructor(e, r, t) {
3945
- this.type = "matrix", this.matrix = [], this.originX = null, this.originY = null, this.matrix = ge(r), this.originX = t[0], this.originY = t[1];
3945
+ this.type = "matrix", this.matrix = [], this.originX = null, this.originY = null, this.matrix = de(r), this.originX = t[0], this.originY = t[1];
3946
3946
  }
3947
3947
  apply(e) {
3948
3948
  var {
@@ -3980,7 +3980,7 @@ class Wf extends Vl {
3980
3980
  }
3981
3981
  }
3982
3982
  function Yf(n) {
3983
- return sr(n).trim().replace(/\)([a-zA-Z])/g, ") $1").replace(/\)(\s?,\s?)/g, ") ").split(/\s(?=[a-z])/);
3983
+ return nr(n).trim().replace(/\)([a-zA-Z])/g, ") $1").replace(/\)(\s?,\s?)/g, ") ").split(/\s(?=[a-z])/);
3984
3984
  }
3985
3985
  function Xf(n) {
3986
3986
  var [e, r] = n.split("(");
@@ -4227,7 +4227,7 @@ class oe {
4227
4227
  this.fontFamily = a || o.fontFamily, this.fontSize = i || o.fontSize, this.fontStyle = e || o.fontStyle, this.fontWeight = t || o.fontWeight, this.fontVariant = r || o.fontVariant;
4228
4228
  }
4229
4229
  static parse() {
4230
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", r = arguments.length > 1 ? arguments[1] : void 0, t = "", i = "", a = "", s = "", o = "", u = sr(e).trim().split(" "), l = {
4230
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", r = arguments.length > 1 ? arguments[1] : void 0, t = "", i = "", a = "", s = "", o = "", u = nr(e).trim().split(" "), l = {
4231
4231
  fontSize: !1,
4232
4232
  fontStyle: !1,
4233
4233
  fontWeight: !1,
@@ -4424,7 +4424,7 @@ class F extends T {
4424
4424
  return e;
4425
4425
  }
4426
4426
  }
4427
- class tr extends K {
4427
+ class rr extends K {
4428
4428
  constructor() {
4429
4429
  super(...arguments), this.modifiedEmSizeStack = !1;
4430
4430
  }
@@ -4466,11 +4466,11 @@ class tr extends K {
4466
4466
  var f = this.getStyle("stroke-width");
4467
4467
  if (f.hasValue()) {
4468
4468
  var g = f.getPixels();
4469
- e.lineWidth = g || ir;
4469
+ e.lineWidth = g || tr;
4470
4470
  }
4471
4471
  var d = this.getStyle("stroke-linecap"), p = this.getStyle("stroke-linejoin"), y = this.getStyle("stroke-miterlimit"), m = this.getStyle("stroke-dasharray"), b = this.getStyle("stroke-dashoffset");
4472
4472
  if (d.hasValue() && (e.lineCap = d.getString()), p.hasValue() && (e.lineJoin = p.getString()), y.hasValue() && (e.miterLimit = y.getNumber()), m.hasValue() && m.getString() !== "none") {
4473
- var x = ge(m.getString());
4473
+ var x = de(m.getString());
4474
4474
  typeof e.setLineDash < "u" ? e.setLineDash(x) : typeof e.webkitLineDash < "u" ? e.webkitLineDash = x : typeof e.mozDash < "u" && !(x.length === 1 && x[0] === 0) && (e.mozDash = x);
4475
4475
  var S = b.getPixels();
4476
4476
  typeof e.lineDashOffset < "u" ? e.lineDashOffset = S : typeof e.webkitLineDashOffset < "u" ? e.webkitLineDashOffset = S : typeof e.mozDashOffset < "u" && (e.mozDashOffset = S);
@@ -4486,7 +4486,7 @@ class tr extends K {
4486
4486
  super.clearContext(e), this.modifiedEmSizeStack && this.document.popEmSize();
4487
4487
  }
4488
4488
  }
4489
- class Y extends tr {
4489
+ class Y extends rr {
4490
4490
  constructor(e, r, t) {
4491
4491
  super(e, r, t), this.type = "path", this.pathParser = null, this.pathParser = new F(this.getAttribute("d").getString());
4492
4492
  }
@@ -4784,7 +4784,7 @@ class Ll extends Y {
4784
4784
  super(e, r, t), this.type = "glyph", this.horizAdvX = this.getAttribute("horiz-adv-x").getNumber(), this.unicode = this.getAttribute("unicode").getString(), this.arabicForm = this.getAttribute("arabic-form").getString();
4785
4785
  }
4786
4786
  }
4787
- class ze extends tr {
4787
+ class ze extends rr {
4788
4788
  constructor(e, r, t) {
4789
4789
  super(e, r, new.target === ze ? !0 : t), this.type = "text", this.x = 0, this.y = 0, this.measureCache = -1;
4790
4790
  }
@@ -4834,7 +4834,7 @@ class ze extends tr {
4834
4834
  return "";
4835
4835
  }
4836
4836
  getTextFromNode(e) {
4837
- var r = e || this.node, t = Array.from(r.parentNode.childNodes), i = t.indexOf(r), a = t.length - 1, s = sr(
4837
+ var r = e || this.node, t = Array.from(r.parentNode.childNodes), i = t.indexOf(r), a = t.length - 1, s = nr(
4838
4838
  // textNode.value
4839
4839
  // || textNode.text
4840
4840
  r.textContent || ""
@@ -4862,7 +4862,7 @@ class ze extends tr {
4862
4862
  if (a) {
4863
4863
  for (var {
4864
4864
  unitsPerEm: s
4865
- } = a.fontFace, o = oe.parse(r.ctx.font), u = t.getStyle("font-size").getNumber(o.fontSize), l = t.getStyle("font-style").getString(o.fontStyle), h = u / s, c = a.isRTL ? i.split("").reverse().join("") : i, v = ge(t.getAttribute("dx").getString()), f = c.length, g = 0; g < f; g++) {
4865
+ } = a.fontFace, o = oe.parse(r.ctx.font), u = t.getStyle("font-size").getNumber(o.fontSize), l = t.getStyle("font-style").getString(o.fontStyle), h = u / s, c = a.isRTL ? i.split("").reverse().join("") : i, v = de(t.getAttribute("dx").getString()), f = c.length, g = 0; g < f; g++) {
4866
4866
  var d = this.getGlyph(a, c, g);
4867
4867
  e.translate(this.x, this.y), e.scale(h, -h);
4868
4868
  var p = e.lineWidth;
@@ -4938,7 +4938,7 @@ class ze extends tr {
4938
4938
  parent: t
4939
4939
  } = this, i = t.getStyle("font-family").getDefinition();
4940
4940
  if (i) {
4941
- for (var a = this.getFontSize(), s = i.isRTL ? r.split("").reverse().join("") : r, o = ge(t.getAttribute("dx").getString()), u = s.length, l = 0, h = 0; h < u; h++) {
4941
+ for (var a = this.getFontSize(), s = i.isRTL ? r.split("").reverse().join("") : r, o = de(t.getAttribute("dx").getString()), u = s.length, l = 0, h = 0; h < u; h++) {
4942
4942
  var c = this.getGlyph(i, s, h);
4943
4943
  l += (c.horizAdvX || i.horizAdvX) * a / i.fontFace.unitsPerEm, typeof o[h] < "u" && !isNaN(o[h]) && (l += o[h]);
4944
4944
  }
@@ -4981,7 +4981,7 @@ class rc extends Gr {
4981
4981
  super(...arguments), this.type = "textNode";
4982
4982
  }
4983
4983
  }
4984
- class br extends tr {
4984
+ class mr extends rr {
4985
4985
  constructor() {
4986
4986
  super(...arguments), this.type = "svg", this.root = !1;
4987
4987
  }
@@ -5003,7 +5003,7 @@ class br extends tr {
5003
5003
  height: l
5004
5004
  } = i.viewPort;
5005
5005
  this.getStyle("width").hasValue() || this.getStyle("width", !0).setValue("100%"), this.getStyle("height").hasValue() || this.getStyle("height", !0).setValue("100%"), this.getStyle("color").hasValue() || this.getStyle("color", !0).setValue("black");
5006
- var h = this.getAttribute("refX"), c = this.getAttribute("refY"), v = this.getAttribute("viewBox"), f = v.hasValue() ? ge(v.getString()) : null, g = !this.root && this.getStyle("overflow").getValue("hidden") !== "visible", d = 0, p = 0, y = 0, m = 0;
5006
+ var h = this.getAttribute("refX"), c = this.getAttribute("refY"), v = this.getAttribute("viewBox"), f = v.hasValue() ? de(v.getString()) : null, g = !this.root && this.getStyle("overflow").getValue("hidden") !== "visible", d = 0, p = 0, y = 0, m = 0;
5007
5007
  f && (d = f[0], p = f[1]), this.root || (u = this.getStyle("width").getPixels("x"), l = this.getStyle("height").getPixels("y"), this.type === "marker" && (y = d, m = p, d = 0, p = 0)), i.viewPort.setCurrent(u, l), this.node && (!this.parent || ((r = this.node.parentNode) === null || r === void 0 ? void 0 : r.nodeName) === "foreignObject") && this.getStyle("transform", !1, !0).hasValue() && !this.getStyle("transform-origin", !1, !0).hasValue() && this.getStyle("transform-origin", !0, !0).setValue("50% 50%"), super.setContext(e), e.translate(this.getAttribute("x").getPixels("x"), this.getAttribute("y").getPixels("y")), f && (u = f[2], l = f[3]), t.setViewBox({
5008
5008
  ctx: e,
5009
5009
  aspectRatio: this.getAttribute("preserveAspectRatio").getString(),
@@ -5151,7 +5151,7 @@ class sc extends K {
5151
5151
  super(...arguments), this.type = "pattern";
5152
5152
  }
5153
5153
  createPattern(e, r, t) {
5154
- var i = this.getStyle("width").getPixels("x", !0), a = this.getStyle("height").getPixels("y", !0), s = new br(this.document, null);
5154
+ var i = this.getStyle("width").getPixels("x", !0), a = this.getStyle("height").getPixels("y", !0), s = new mr(this.document, null);
5155
5155
  s.attributes.viewBox = new D(this.document, "viewBox", this.getAttribute("viewBox").getValue()), s.attributes.width = new D(this.document, "width", "".concat(i, "px")), s.attributes.height = new D(this.document, "height", "".concat(a, "px")), s.attributes.transform = new D(this.document, "transform", this.getAttribute("patternTransform").getValue()), s.children = this.children;
5156
5156
  var o = this.document.createCanvas(i, a), u = o.getContext("2d"), l = this.getAttribute("x"), h = this.getAttribute("y");
5157
5157
  l.hasValue() && h.hasValue() && u.translate(l.getPixels("x", !0), h.getPixels("y", !0)), t.hasValue() ? this.styles["fill-opacity"] = t : Reflect.deleteProperty(this.styles, "fill-opacity");
@@ -5173,7 +5173,7 @@ class oc extends K {
5173
5173
  y: a
5174
5174
  } = r, s = this.getAttribute("orient").getString("auto"), o = this.getAttribute("markerUnits").getString("strokeWidth");
5175
5175
  e.translate(i, a), s === "auto" && e.rotate(t), o === "strokeWidth" && e.scale(e.lineWidth, e.lineWidth), e.save();
5176
- var u = new br(this.document, null);
5176
+ var u = new mr(this.document, null);
5177
5177
  u.type = this.type, u.attributes.viewBox = new D(this.document, "viewBox", this.getAttribute("viewBox").getValue()), u.attributes.refX = new D(this.document, "refX", this.getAttribute("refX").getValue()), u.attributes.refY = new D(this.document, "refY", this.getAttribute("refY").getValue()), u.attributes.width = new D(this.document, "width", this.getAttribute("markerWidth").getValue()), u.attributes.height = new D(this.document, "height", this.getAttribute("markerHeight").getValue()), u.attributes.overflow = new D(this.document, "overflow", this.getAttribute("overflow").getValue()), u.attributes.fill = new D(this.document, "fill", this.getAttribute("fill").getColor("black")), u.attributes.stroke = new D(this.document, "stroke", this.getAttribute("stroke").getValue("none")), u.children = this.children, u.render(e), e.restore(), o === "strokeWidth" && e.scale(1 / e.lineWidth, 1 / e.lineWidth), s === "auto" && e.rotate(-t), e.translate(-i, -a);
5178
5178
  }
5179
5179
  }
@@ -5185,7 +5185,7 @@ class uc extends K {
5185
5185
  render() {
5186
5186
  }
5187
5187
  }
5188
- class sn extends tr {
5188
+ class sn extends rr {
5189
5189
  constructor() {
5190
5190
  super(...arguments), this.type = "g";
5191
5191
  }
@@ -5230,7 +5230,7 @@ class Bl extends K {
5230
5230
  c.attributes.x = new D(o, "x", -u / 3), c.attributes.y = new D(o, "y", -u / 3), c.attributes.width = new D(o, "width", u), c.attributes.height = new D(o, "height", u);
5231
5231
  var v = new sn(o, null);
5232
5232
  v.attributes.transform = new D(o, "transform", this.getAttribute("gradientTransform").getValue()), v.children = [c];
5233
- var f = new br(o, null);
5233
+ var f = new mr(o, null);
5234
5234
  f.attributes.x = new D(o, "x", 0), f.attributes.y = new D(o, "y", 0), f.attributes.width = new D(o, "width", h.width), f.attributes.height = new D(o, "height", h.height), f.children = [v];
5235
5235
  var g = o.createCanvas(h.width, h.height), d = g.getContext("2d");
5236
5236
  return d.fillStyle = s, f.render(d), d.createPattern(g, "no-repeat");
@@ -5372,7 +5372,7 @@ class vc extends on {
5372
5372
  progress: e,
5373
5373
  from: r,
5374
5374
  to: t
5375
- } = this.getProgress(), i = ge(r.getString()), a = ge(t.getString()), s = i.map((o, u) => {
5375
+ } = this.getProgress(), i = de(r.getString()), a = de(t.getString()), s = i.map((o, u) => {
5376
5376
  var l = a[u];
5377
5377
  return o + (l - o) * e;
5378
5378
  }).join(" ");
@@ -5480,7 +5480,7 @@ function Yu(n, e) {
5480
5480
  }
5481
5481
  return r;
5482
5482
  }
5483
- function Rr(n) {
5483
+ function Er(n) {
5484
5484
  for (var e = 1; e < arguments.length; e++) {
5485
5485
  var r = arguments[e] != null ? arguments[e] : {};
5486
5486
  e % 2 ? Yu(Object(r), !0).forEach(function(t) {
@@ -5561,10 +5561,10 @@ class bc extends ze {
5561
5561
  }, p = f && g ? Math.atan2(g.y - f.y, g.x - f.x) : 0;
5562
5562
  if (o) {
5563
5563
  var y = Math.cos(Math.PI / 2 + p) * o, m = Math.cos(-p) * o;
5564
- d.p0 = Rr(Rr({}, f), {}, {
5564
+ d.p0 = Er(Er({}, f), {}, {
5565
5565
  x: f.x + y,
5566
5566
  y: f.y + m
5567
- }), d.p1 = Rr(Rr({}, g), {}, {
5567
+ }), d.p1 = Er(Er({}, g), {}, {
5568
5568
  x: g.x + y,
5569
5569
  y: g.y + m
5570
5570
  });
@@ -5771,7 +5771,7 @@ class bc extends ze {
5771
5771
  return 0;
5772
5772
  }
5773
5773
  getPointOnLine(e, r, t, i, a) {
5774
- var s = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : r, o = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : t, u = (a - t) / (i - r + ir), l = Math.sqrt(e * e / (1 + u * u));
5774
+ var s = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : r, o = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : t, u = (a - t) / (i - r + tr), l = Math.sqrt(e * e / (1 + u * u));
5775
5775
  i < r && (l *= -1);
5776
5776
  var h = u * l, c = null;
5777
5777
  if (i === r)
@@ -5779,14 +5779,14 @@ class bc extends ze {
5779
5779
  x: s,
5780
5780
  y: o + h
5781
5781
  };
5782
- else if ((o - t) / (s - r + ir) === u)
5782
+ else if ((o - t) / (s - r + tr) === u)
5783
5783
  c = {
5784
5784
  x: s + l,
5785
5785
  y: o + h
5786
5786
  };
5787
5787
  else {
5788
5788
  var v = 0, f = 0, g = this.getLineLength(r, t, i, a);
5789
- if (g < ir)
5789
+ if (g < tr)
5790
5790
  return null;
5791
5791
  var d = (s - r) * (i - r) + (o - t) * (a - t);
5792
5792
  d /= g * g, v = r + d * (i - r), f = t + d * (a - t);
@@ -5892,7 +5892,7 @@ class bc extends ze {
5892
5892
  }
5893
5893
  }
5894
5894
  var xc = /^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;
5895
- class Oc extends tr {
5895
+ class Oc extends rr {
5896
5896
  constructor(e, r, t) {
5897
5897
  super(e, r, t), this.type = "image", this.loaded = !1;
5898
5898
  var i = this.getHrefAttribute().getString();
@@ -5968,7 +5968,7 @@ class Oc extends tr {
5968
5968
  return new Pe(e, r, e + t, r + i);
5969
5969
  }
5970
5970
  }
5971
- class Tc extends tr {
5971
+ class Tc extends rr {
5972
5972
  constructor() {
5973
5973
  super(...arguments), this.type = "symbol";
5974
5974
  }
@@ -6000,7 +6000,7 @@ class Sc {
6000
6000
  class Fl extends K {
6001
6001
  constructor(e, r, t) {
6002
6002
  super(e, r, t), this.type = "style";
6003
- var i = sr(
6003
+ var i = nr(
6004
6004
  Array.from(r.childNodes).map((s) => s.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm, "").replace(/@import.*;/g, "")
6005
6005
  // remove imports
6006
6006
  ), a = i.split("}");
@@ -6031,7 +6031,7 @@ class Fl extends K {
6031
6031
  }
6032
6032
  }
6033
6033
  Fl.parseExternalUrl = _l;
6034
- class Ec extends tr {
6034
+ class Ec extends rr {
6035
6035
  constructor() {
6036
6036
  super(...arguments), this.type = "use";
6037
6037
  }
@@ -6053,7 +6053,7 @@ class Ec extends tr {
6053
6053
  } = this;
6054
6054
  if (t) {
6055
6055
  var i = t;
6056
- if (t.type === "symbol" && (i = new br(r, null), i.attributes.viewBox = new D(r, "viewBox", t.getAttribute("viewBox").getString()), i.attributes.preserveAspectRatio = new D(r, "preserveAspectRatio", t.getAttribute("preserveAspectRatio").getString()), i.attributes.overflow = new D(r, "overflow", t.getAttribute("overflow").getString()), i.children = t.children, t.styles.opacity = new D(r, "opacity", this.calculateOpacity())), i.type === "svg") {
6056
+ if (t.type === "symbol" && (i = new mr(r, null), i.attributes.viewBox = new D(r, "viewBox", t.getAttribute("viewBox").getString()), i.attributes.preserveAspectRatio = new D(r, "preserveAspectRatio", t.getAttribute("preserveAspectRatio").getString()), i.attributes.overflow = new D(r, "overflow", t.getAttribute("overflow").getString()), i.children = t.children, t.styles.opacity = new D(r, "opacity", this.calculateOpacity())), i.type === "svg") {
6057
6057
  var a = this.getStyle("width", !1, !0), s = this.getStyle("height", !1, !0);
6058
6058
  a.hasValue() && (i.attributes.width = new D(r, "width", a.getString())), s.hasValue() && (i.attributes.height = new D(r, "height", s.getString()));
6059
6059
  }
@@ -6078,10 +6078,10 @@ class Ec extends tr {
6078
6078
  return this.cachedElement || (this.cachedElement = this.getHrefAttribute().getDefinition()), this.cachedElement;
6079
6079
  }
6080
6080
  }
6081
- function Cr(n, e, r, t, i, a) {
6081
+ function Rr(n, e, r, t, i, a) {
6082
6082
  return n[r * t * 4 + e * 4 + a];
6083
6083
  }
6084
- function wr(n, e, r, t, i, a, s) {
6084
+ function Cr(n, e, r, t, i, a, s) {
6085
6085
  n[r * t * 4 + e * 4 + a] = s;
6086
6086
  }
6087
6087
  function ie(n, e, r) {
@@ -6094,7 +6094,7 @@ function ke(n, e, r, t) {
6094
6094
  class Ul extends K {
6095
6095
  constructor(e, r, t) {
6096
6096
  super(e, r, t), this.type = "feColorMatrix";
6097
- var i = ge(this.getAttribute("values").getString());
6097
+ var i = de(this.getAttribute("values").getString());
6098
6098
  switch (this.getAttribute("type").getString("matrix")) {
6099
6099
  // http://www.w3.org/TR/SVG/filters.html#feColorMatrixElement
6100
6100
  case "saturate": {
@@ -6119,8 +6119,8 @@ class Ul extends K {
6119
6119
  matrix: o
6120
6120
  } = this, u = e.getImageData(0, 0, i, a), l = 0; l < a; l++)
6121
6121
  for (var h = 0; h < i; h++) {
6122
- var c = Cr(u.data, h, l, i, a, 0), v = Cr(u.data, h, l, i, a, 1), f = Cr(u.data, h, l, i, a, 2), g = Cr(u.data, h, l, i, a, 3), d = ie(o, 0, c) + ie(o, 1, v) + ie(o, 2, f) + ie(o, 3, g) + ie(o, 4, 1), p = ie(o, 5, c) + ie(o, 6, v) + ie(o, 7, f) + ie(o, 8, g) + ie(o, 9, 1), y = ie(o, 10, c) + ie(o, 11, v) + ie(o, 12, f) + ie(o, 13, g) + ie(o, 14, 1), m = ie(o, 15, c) + ie(o, 16, v) + ie(o, 17, f) + ie(o, 18, g) + ie(o, 19, 1);
6123
- s && (d = 0, p = 0, y = 0, m *= g / 255), wr(u.data, h, l, i, a, 0, d), wr(u.data, h, l, i, a, 1, p), wr(u.data, h, l, i, a, 2, y), wr(u.data, h, l, i, a, 3, m);
6122
+ var c = Rr(u.data, h, l, i, a, 0), v = Rr(u.data, h, l, i, a, 1), f = Rr(u.data, h, l, i, a, 2), g = Rr(u.data, h, l, i, a, 3), d = ie(o, 0, c) + ie(o, 1, v) + ie(o, 2, f) + ie(o, 3, g) + ie(o, 4, 1), p = ie(o, 5, c) + ie(o, 6, v) + ie(o, 7, f) + ie(o, 8, g) + ie(o, 9, 1), y = ie(o, 10, c) + ie(o, 11, v) + ie(o, 12, f) + ie(o, 13, g) + ie(o, 14, 1), m = ie(o, 15, c) + ie(o, 16, v) + ie(o, 17, f) + ie(o, 18, g) + ie(o, 19, 1);
6123
+ s && (d = 0, p = 0, y = 0, m *= g / 255), Cr(u.data, h, l, i, a, 0, d), Cr(u.data, h, l, i, a, 1, p), Cr(u.data, h, l, i, a, 2, y), Cr(u.data, h, l, i, a, 3, m);
6124
6124
  }
6125
6125
  e.clearRect(0, 0, i, a), e.putImageData(u, 0, 0);
6126
6126
  }
@@ -6253,7 +6253,7 @@ class Nc extends K {
6253
6253
  }
6254
6254
  }
6255
6255
  var _c = {
6256
- svg: br,
6256
+ svg: mr,
6257
6257
  rect: kl,
6258
6258
  circle: tc,
6259
6259
  ellipse: ic,
@@ -6426,7 +6426,7 @@ function Xe(n) {
6426
6426
  }
6427
6427
  return n;
6428
6428
  }
6429
- class fr {
6429
+ class hr {
6430
6430
  /**
6431
6431
  * Main constructor.
6432
6432
  * @param ctx - Rendering context.
@@ -6450,7 +6450,7 @@ class fr {
6450
6450
  var t = arguments;
6451
6451
  return je(function* () {
6452
6452
  var i = t.length > 2 && t[2] !== void 0 ? t[2] : {}, a = new _a(i), s = yield a.parse(r);
6453
- return new fr(e, s, i);
6453
+ return new hr(e, s, i);
6454
6454
  })();
6455
6455
  }
6456
6456
  /**
@@ -6462,7 +6462,7 @@ class fr {
6462
6462
  */
6463
6463
  static fromString(e, r) {
6464
6464
  var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = new _a(t), a = i.parseFromString(r);
6465
- return new fr(e, a, t);
6465
+ return new hr(e, a, t);
6466
6466
  }
6467
6467
  /**
6468
6468
  * Create new Canvg instance with inherited options.
@@ -6473,7 +6473,7 @@ class fr {
6473
6473
  */
6474
6474
  fork(e, r) {
6475
6475
  var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
6476
- return fr.from(e, r, Xe(Xe({}, this.options), t));
6476
+ return hr.from(e, r, Xe(Xe({}, this.options), t));
6477
6477
  }
6478
6478
  /**
6479
6479
  * Create new Canvg instance with inherited options.
@@ -6484,7 +6484,7 @@ class fr {
6484
6484
  */
6485
6485
  forkString(e, r) {
6486
6486
  var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
6487
- return fr.fromString(e, r, Xe(Xe({}, this.options), t));
6487
+ return hr.fromString(e, r, Xe(Xe({}, this.options), t));
6488
6488
  }
6489
6489
  /**
6490
6490
  * Document is ready promise.
@@ -6556,7 +6556,7 @@ export {
6556
6556
  Uu as CB2,
6557
6557
  Gu as CB3,
6558
6558
  $u as CB4,
6559
- fr as Canvg,
6559
+ hr as Canvg,
6560
6560
  tc as CircleElement,
6561
6561
  Rc as ClipPathElement,
6562
6562
  uc as DefsElement,
@@ -6584,7 +6584,7 @@ export {
6584
6584
  Dl as Matrix,
6585
6585
  pc as MissingGlyphElement,
6586
6586
  Bf as Mouse,
6587
- ir as PSEUDO_ZERO,
6587
+ tr as PSEUDO_ZERO,
6588
6588
  _a as Parser,
6589
6589
  Y as PathElement,
6590
6590
  F as PathParser,
@@ -6598,9 +6598,9 @@ export {
6598
6598
  Wu as QB3,
6599
6599
  hc as RadialGradientElement,
6600
6600
  kl as RectElement,
6601
- tr as RenderedElement,
6601
+ rr as RenderedElement,
6602
6602
  $f as Rotate,
6603
- br as SVGElement,
6603
+ mr as SVGElement,
6604
6604
  Sc as SVGFontLoader,
6605
6605
  zf as Scale,
6606
6606
  Ur as Screen,
@@ -6620,14 +6620,14 @@ export {
6620
6620
  Kf as UnknownElement,
6621
6621
  Ec as UseElement,
6622
6622
  jf as ViewPort,
6623
- sr as compressSpaces,
6624
- fr as default,
6623
+ nr as compressSpaces,
6624
+ hr as default,
6625
6625
  kf as getSelectorSpecificity,
6626
6626
  Af as normalizeAttributeName,
6627
6627
  If as normalizeColor,
6628
6628
  _l as parseExternalUrl,
6629
6629
  Lc as presets,
6630
- ge as toNumbers,
6630
+ de as toNumbers,
6631
6631
  Cf as trimLeft,
6632
6632
  wf as trimRight,
6633
6633
  ju as vectorMagnitude,