@amsom-habitat/ui 2.14.9 → 2.15.1

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,254 +1,253 @@
1
- import { c as Ke, _ as Ua, g as Po } from "./index-CLFcph8j.js";
2
- var vt = function(a) {
1
+ import { c as Qe, _ as za, g as Io } from "./index-C2M_BBW4.js";
2
+ var ht = function(a) {
3
3
  return a && a.Math === Math && a;
4
- }, D = (
4
+ }, _ = (
5
5
  // eslint-disable-next-line es/no-global-this -- safe
6
- vt(typeof globalThis == "object" && globalThis) || vt(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
7
- vt(typeof self == "object" && self) || vt(typeof Ke == "object" && Ke) || vt(typeof Ke == "object" && Ke) || // eslint-disable-next-line no-new-func -- fallback
6
+ ht(typeof globalThis == "object" && globalThis) || ht(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
7
+ ht(typeof self == "object" && self) || ht(typeof Qe == "object" && Qe) || ht(typeof Qe == "object" && Qe) || // eslint-disable-next-line no-new-func -- fallback
8
8
  /* @__PURE__ */ function() {
9
9
  return this;
10
10
  }() || Function("return this")()
11
- ), Et = {}, k = function(a) {
11
+ ), Et = {}, D = function(a) {
12
12
  try {
13
13
  return !!a();
14
14
  } catch {
15
15
  return !0;
16
16
  }
17
- }, xl = k, le = !xl(function() {
17
+ }, $l = D, he = !$l(function() {
18
18
  return Object.defineProperty({}, 1, { get: function() {
19
19
  return 7;
20
20
  } })[1] !== 7;
21
- }), Tl = k, pr = !Tl(function() {
21
+ }), wl = D, br = !wl(function() {
22
22
  var a = (function() {
23
23
  }).bind();
24
24
  return typeof a != "function" || a.hasOwnProperty("prototype");
25
- }), Ol = pr, Ft = Function.prototype.call, Y = Ol ? Ft.bind(Ft) : function() {
25
+ }), Cl = br, Ft = Function.prototype.call, Y = Cl ? Ft.bind(Ft) : function() {
26
26
  return Ft.apply(Ft, arguments);
27
- }, Ro = {}, No = {}.propertyIsEnumerable, Io = Object.getOwnPropertyDescriptor, Sl = Io && !No.call({ 1: 2 }, 1);
28
- Ro.f = Sl ? function(e) {
29
- var t = Io(this, e);
27
+ }, Mo = {}, _o = {}.propertyIsEnumerable, Vo = Object.getOwnPropertyDescriptor, Al = Vo && !_o.call({ 1: 2 }, 1);
28
+ Mo.f = Al ? function(e) {
29
+ var t = Vo(this, e);
30
30
  return !!t && t.enumerable;
31
- } : No;
32
- var bi = function(a, e) {
31
+ } : _o;
32
+ var xi = function(a, e) {
33
33
  return {
34
34
  enumerable: !(a & 1),
35
35
  configurable: !(a & 2),
36
36
  writable: !(a & 4),
37
37
  value: e
38
38
  };
39
- }, Mo = pr, _o = Function.prototype, Ga = _o.call, El = Mo && _o.bind.bind(Ga, Ga), L = Mo ? El : function(a) {
39
+ }, Do = br, Lo = Function.prototype, Ha = Lo.call, Pl = Do && Lo.bind.bind(Ha, Ha), L = Do ? Pl : function(a) {
40
40
  return function() {
41
- return Ga.apply(a, arguments);
41
+ return Ha.apply(a, arguments);
42
42
  };
43
- }, Vo = L, $l = Vo({}.toString), wl = Vo("".slice), Be = function(a) {
44
- return wl($l(a), 8, -1);
45
- }, Cl = L, Al = k, Pl = Be, Wr = Object, Rl = Cl("".split), Do = Al(function() {
46
- return !Wr("z").propertyIsEnumerable(0);
43
+ }, ko = L, Rl = ko({}.toString), Nl = ko("".slice), je = function(a) {
44
+ return Nl(Rl(a), 8, -1);
45
+ }, Il = L, Ml = D, _l = je, Zr = Object, Vl = Il("".split), Bo = Ml(function() {
46
+ return !Zr("z").propertyIsEnumerable(0);
47
47
  }) ? function(a) {
48
- return Pl(a) === "String" ? Rl(a, "") : Wr(a);
49
- } : Wr, je = function(a) {
48
+ return _l(a) === "String" ? Vl(a, "") : Zr(a);
49
+ } : Zr, xr = function(a) {
50
50
  return a == null;
51
- }, Nl = je, Il = TypeError, he = function(a) {
52
- if (Nl(a)) throw new Il("Can't call method on " + a);
51
+ }, Dl = xr, Ll = TypeError, ve = function(a) {
52
+ if (Dl(a)) throw new Ll("Can't call method on " + a);
53
53
  return a;
54
- }, Ml = Do, _l = he, $t = function(a) {
55
- return Ml(_l(a));
56
- }, qr = typeof document == "object" && document.all, B = typeof qr > "u" && qr !== void 0 ? function(a) {
57
- return typeof a == "function" || a === qr;
54
+ }, kl = Bo, Bl = ve, $t = function(a) {
55
+ return kl(Bl(a));
56
+ }, Jr = typeof document == "object" && document.all, B = typeof Jr > "u" && Jr !== void 0 ? function(a) {
57
+ return typeof a == "function" || a === Jr;
58
58
  } : function(a) {
59
59
  return typeof a == "function";
60
- }, Vl = B, ve = function(a) {
61
- return typeof a == "object" ? a !== null : Vl(a);
62
- }, Qr = D, Dl = B, kl = function(a) {
63
- return Dl(a) ? a : void 0;
60
+ }, jl = B, ae = function(a) {
61
+ return typeof a == "object" ? a !== null : jl(a);
62
+ }, ea = _, Fl = B, Ul = function(a) {
63
+ return Fl(a) ? a : void 0;
64
64
  }, Fe = function(a, e) {
65
- return arguments.length < 2 ? kl(Qr[a]) : Qr[a] && Qr[a][e];
66
- }, Ll = L, yr = Ll({}.isPrototypeOf), mr = typeof navigator < "u" && String(navigator.userAgent) || "", ko = D, Kr = mr, cn = ko.process, gn = ko.Deno, dn = cn && cn.versions || gn && gn.version, pn = dn && dn.v8, ue, hr;
67
- pn && (ue = pn.split("."), hr = ue[0] > 0 && ue[0] < 4 ? 1 : +(ue[0] + ue[1]));
68
- !hr && Kr && (ue = Kr.match(/Edge\/(\d+)/), (!ue || ue[1] >= 74) && (ue = Kr.match(/Chrome\/(\d+)/), ue && (hr = +ue[1])));
69
- var xi = hr, yn = xi, Bl = k, jl = D, Fl = jl.String, Lo = !!Object.getOwnPropertySymbols && !Bl(function() {
65
+ return arguments.length < 2 ? Ul(ea[a]) : ea[a] && ea[a][e];
66
+ }, Gl = L, Tr = Gl({}.isPrototypeOf), zl = _, gn = zl.navigator, dn = gn && gn.userAgent, wt = dn ? String(dn) : "", jo = _, ta = wt, pn = jo.process, yn = jo.Deno, mn = pn && pn.versions || yn && yn.version, bn = mn && mn.v8, le, cr;
67
+ bn && (le = bn.split("."), cr = le[0] > 0 && le[0] < 4 ? 1 : +(le[0] + le[1]));
68
+ !cr && ta && (le = ta.match(/Edge\/(\d+)/), (!le || le[1] >= 74) && (le = ta.match(/Chrome\/(\d+)/), le && (cr = +le[1])));
69
+ var Ti = cr, xn = Ti, Hl = D, Yl = _, Xl = Yl.String, Fo = !!Object.getOwnPropertySymbols && !Hl(function() {
70
70
  var a = Symbol("symbol detection");
71
- return !Fl(a) || !(Object(a) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
72
- !Symbol.sham && yn && yn < 41;
73
- }), Ul = Lo, Bo = Ul && !Symbol.sham && typeof Symbol.iterator == "symbol", Gl = Fe, zl = B, Hl = yr, Yl = Bo, Xl = Object, jo = Yl ? function(a) {
71
+ return !Xl(a) || !(Object(a) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
72
+ !Symbol.sham && xn && xn < 41;
73
+ }), Wl = Fo, Uo = Wl && !Symbol.sham && typeof Symbol.iterator == "symbol", ql = Fe, Ql = B, Kl = Tr, Zl = Uo, Jl = Object, Go = Zl ? function(a) {
74
74
  return typeof a == "symbol";
75
75
  } : function(a) {
76
- var e = Gl("Symbol");
77
- return zl(e) && Hl(e.prototype, Xl(a));
78
- }, Wl = String, br = function(a) {
76
+ var e = ql("Symbol");
77
+ return Ql(e) && Kl(e.prototype, Jl(a));
78
+ }, eh = String, Or = function(a) {
79
79
  try {
80
- return Wl(a);
80
+ return eh(a);
81
81
  } catch {
82
82
  return "Object";
83
83
  }
84
- }, ql = B, Ql = br, Kl = TypeError, Te = function(a) {
85
- if (ql(a)) return a;
86
- throw new Kl(Ql(a) + " is not a function");
87
- }, Zl = Te, Jl = je, ot = function(a, e) {
84
+ }, th = B, rh = Or, ah = TypeError, Te = function(a) {
85
+ if (th(a)) return a;
86
+ throw new ah(rh(a) + " is not a function");
87
+ }, ih = Te, nh = xr, st = function(a, e) {
88
88
  var t = a[e];
89
- return Jl(t) ? void 0 : Zl(t);
90
- }, Zr = Y, Jr = B, ea = ve, eh = TypeError, th = function(a, e) {
89
+ return nh(t) ? void 0 : ih(t);
90
+ }, ra = Y, aa = B, ia = ae, sh = TypeError, oh = function(a, e) {
91
91
  var t, r;
92
- if (e === "string" && Jr(t = a.toString) && !ea(r = Zr(t, a)) || Jr(t = a.valueOf) && !ea(r = Zr(t, a)) || e !== "string" && Jr(t = a.toString) && !ea(r = Zr(t, a))) return r;
93
- throw new eh("Can't convert object to primitive value");
94
- }, Fo = { exports: {} }, mn = D, rh = Object.defineProperty, Ti = function(a, e) {
92
+ if (e === "string" && aa(t = a.toString) && !ia(r = ra(t, a)) || aa(t = a.valueOf) && !ia(r = ra(t, a)) || e !== "string" && aa(t = a.toString) && !ia(r = ra(t, a))) return r;
93
+ throw new sh("Can't convert object to primitive value");
94
+ }, zo = { exports: {} }, Tn = _, uh = Object.defineProperty, Oi = function(a, e) {
95
95
  try {
96
- rh(mn, a, { value: e, configurable: !0, writable: !0 });
96
+ uh(Tn, a, { value: e, configurable: !0, writable: !0 });
97
97
  } catch {
98
- mn[a] = e;
98
+ Tn[a] = e;
99
99
  }
100
100
  return e;
101
- }, ah = D, ih = Ti, bn = "__core-js_shared__", xn = Fo.exports = ah[bn] || ih(bn, {});
102
- (xn.versions || (xn.versions = [])).push({
103
- version: "3.37.1",
101
+ }, lh = _, hh = Oi, On = "__core-js_shared__", Sn = zo.exports = lh[On] || hh(On, {});
102
+ (Sn.versions || (Sn.versions = [])).push({
103
+ version: "3.45.1",
104
104
  mode: "global",
105
- copyright: "© 2014-2024 Denis Pushkarev (zloirock.ru)",
106
- license: "https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",
105
+ copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru)",
106
+ license: "https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE",
107
107
  source: "https://github.com/zloirock/core-js"
108
108
  });
109
- var Oi = Fo.exports, Tn = Oi, Si = function(a, e) {
110
- return Tn[a] || (Tn[a] = e || {});
111
- }, nh = he, sh = Object, xr = function(a) {
112
- return sh(nh(a));
113
- }, oh = L, uh = xr, lh = oh({}.hasOwnProperty), fe = Object.hasOwn || function(e, t) {
114
- return lh(uh(e), t);
115
- }, hh = L, vh = 0, fh = Math.random(), ch = hh(1 .toString), Uo = function(a) {
116
- return "Symbol(" + (a === void 0 ? "" : a) + ")_" + ch(++vh + fh, 36);
117
- }, gh = D, dh = Si, On = fe, ph = Uo, yh = Lo, mh = Bo, Ze = gh.Symbol, ta = dh("wks"), bh = mh ? Ze.for || Ze : Ze && Ze.withoutSetter || ph, z = function(a) {
118
- return On(ta, a) || (ta[a] = yh && On(Ze, a) ? Ze[a] : bh("Symbol." + a)), ta[a];
119
- }, xh = Y, Sn = ve, En = jo, Th = ot, Oh = th, Sh = z, Eh = TypeError, $h = Sh("toPrimitive"), wh = function(a, e) {
120
- if (!Sn(a) || En(a)) return a;
121
- var t = Th(a, $h), r;
109
+ var Si = zo.exports, En = Si, Ei = function(a, e) {
110
+ return En[a] || (En[a] = e || {});
111
+ }, vh = ve, fh = Object, Sr = function(a) {
112
+ return fh(vh(a));
113
+ }, ch = L, gh = Sr, dh = ch({}.hasOwnProperty), fe = Object.hasOwn || function(e, t) {
114
+ return dh(gh(e), t);
115
+ }, ph = L, yh = 0, mh = Math.random(), bh = ph(1.1.toString), Ho = function(a) {
116
+ return "Symbol(" + (a === void 0 ? "" : a) + ")_" + bh(++yh + mh, 36);
117
+ }, xh = _, Th = Ei, $n = fe, Oh = Ho, Sh = Fo, Eh = Uo, Ke = xh.Symbol, na = Th("wks"), $h = Eh ? Ke.for || Ke : Ke && Ke.withoutSetter || Oh, z = function(a) {
118
+ return $n(na, a) || (na[a] = Sh && $n(Ke, a) ? Ke[a] : $h("Symbol." + a)), na[a];
119
+ }, wh = Y, wn = ae, Cn = Go, Ch = st, Ah = oh, Ph = z, Rh = TypeError, Nh = Ph("toPrimitive"), Ih = function(a, e) {
120
+ if (!wn(a) || Cn(a)) return a;
121
+ var t = Ch(a, Nh), r;
122
122
  if (t) {
123
- if (e === void 0 && (e = "default"), r = xh(t, a, e), !Sn(r) || En(r)) return r;
124
- throw new Eh("Can't convert object to primitive value");
125
- }
126
- return e === void 0 && (e = "number"), Oh(a, e);
127
- }, Ch = wh, Ah = jo, Go = function(a) {
128
- var e = Ch(a, "string");
129
- return Ah(e) ? e : e + "";
130
- }, Ph = D, $n = ve, za = Ph.document, Rh = $n(za) && $n(za.createElement), Tr = function(a) {
131
- return Rh ? za.createElement(a) : {};
132
- }, Nh = le, Ih = k, Mh = Tr, zo = !Nh && !Ih(function() {
133
- return Object.defineProperty(Mh("div"), "a", {
123
+ if (e === void 0 && (e = "default"), r = wh(t, a, e), !wn(r) || Cn(r)) return r;
124
+ throw new Rh("Can't convert object to primitive value");
125
+ }
126
+ return e === void 0 && (e = "number"), Ah(a, e);
127
+ }, Mh = Ih, _h = Go, Yo = function(a) {
128
+ var e = Mh(a, "string");
129
+ return _h(e) ? e : e + "";
130
+ }, Vh = _, An = ae, Ya = Vh.document, Dh = An(Ya) && An(Ya.createElement), Er = function(a) {
131
+ return Dh ? Ya.createElement(a) : {};
132
+ }, Lh = he, kh = D, Bh = Er, Xo = !Lh && !kh(function() {
133
+ return Object.defineProperty(Bh("div"), "a", {
134
134
  get: function() {
135
135
  return 7;
136
136
  }
137
137
  }).a !== 7;
138
- }), _h = le, Vh = Y, Dh = Ro, kh = bi, Lh = $t, Bh = Go, jh = fe, Fh = zo, wn = Object.getOwnPropertyDescriptor;
139
- Et.f = _h ? wn : function(e, t) {
140
- if (e = Lh(e), t = Bh(t), Fh) try {
141
- return wn(e, t);
138
+ }), jh = he, Fh = Y, Uh = Mo, Gh = xi, zh = $t, Hh = Yo, Yh = fe, Xh = Xo, Pn = Object.getOwnPropertyDescriptor;
139
+ Et.f = jh ? Pn : function(e, t) {
140
+ if (e = zh(e), t = Hh(t), Xh) try {
141
+ return Pn(e, t);
142
142
  } catch {
143
143
  }
144
- if (jh(e, t)) return kh(!Vh(Dh.f, e, t), e[t]);
144
+ if (Yh(e, t)) return Gh(!Fh(Uh.f, e, t), e[t]);
145
145
  };
146
- var Oe = {}, Uh = le, Gh = k, Ho = Uh && Gh(function() {
146
+ var Oe = {}, Wh = he, qh = D, Wo = Wh && qh(function() {
147
147
  return Object.defineProperty(function() {
148
148
  }, "prototype", {
149
149
  value: 42,
150
150
  writable: !1
151
151
  }).prototype !== 42;
152
- }), zh = ve, Hh = String, Yh = TypeError, J = function(a) {
153
- if (zh(a)) return a;
154
- throw new Yh(Hh(a) + " is not an object");
155
- }, Xh = le, Wh = zo, qh = Ho, Ut = J, Cn = Go, Qh = TypeError, ra = Object.defineProperty, Kh = Object.getOwnPropertyDescriptor, aa = "enumerable", ia = "configurable", na = "writable";
156
- Oe.f = Xh ? qh ? function(e, t, r) {
157
- if (Ut(e), t = Cn(t), Ut(r), typeof e == "function" && t === "prototype" && "value" in r && na in r && !r[na]) {
158
- var i = Kh(e, t);
159
- i && i[na] && (e[t] = r.value, r = {
160
- configurable: ia in r ? r[ia] : i[ia],
161
- enumerable: aa in r ? r[aa] : i[aa],
152
+ }), Qh = ae, Kh = String, Zh = TypeError, J = function(a) {
153
+ if (Qh(a)) return a;
154
+ throw new Zh(Kh(a) + " is not an object");
155
+ }, Jh = he, ev = Xo, tv = Wo, Ut = J, Rn = Yo, rv = TypeError, sa = Object.defineProperty, av = Object.getOwnPropertyDescriptor, oa = "enumerable", ua = "configurable", la = "writable";
156
+ Oe.f = Jh ? tv ? function(e, t, r) {
157
+ if (Ut(e), t = Rn(t), Ut(r), typeof e == "function" && t === "prototype" && "value" in r && la in r && !r[la]) {
158
+ var i = av(e, t);
159
+ i && i[la] && (e[t] = r.value, r = {
160
+ configurable: ua in r ? r[ua] : i[ua],
161
+ enumerable: oa in r ? r[oa] : i[oa],
162
162
  writable: !1
163
163
  });
164
164
  }
165
- return ra(e, t, r);
166
- } : ra : function(e, t, r) {
167
- if (Ut(e), t = Cn(t), Ut(r), Wh) try {
168
- return ra(e, t, r);
165
+ return sa(e, t, r);
166
+ } : sa : function(e, t, r) {
167
+ if (Ut(e), t = Rn(t), Ut(r), ev) try {
168
+ return sa(e, t, r);
169
169
  } catch {
170
170
  }
171
- if ("get" in r || "set" in r) throw new Qh("Accessors not supported");
171
+ if ("get" in r || "set" in r) throw new rv("Accessors not supported");
172
172
  return "value" in r && (e[t] = r.value), e;
173
173
  };
174
- var Zh = le, Jh = Oe, ev = bi, wt = Zh ? function(a, e, t) {
175
- return Jh.f(a, e, ev(1, t));
174
+ var iv = he, nv = Oe, sv = xi, Ct = iv ? function(a, e, t) {
175
+ return nv.f(a, e, sv(1, t));
176
176
  } : function(a, e, t) {
177
177
  return a[e] = t, a;
178
- }, Yo = { exports: {} }, Ha = le, tv = fe, Xo = Function.prototype, rv = Ha && Object.getOwnPropertyDescriptor, Ei = tv(Xo, "name"), av = Ei && (function() {
179
- }).name === "something", iv = Ei && (!Ha || Ha && rv(Xo, "name").configurable), Or = {
180
- EXISTS: Ei,
181
- PROPER: av,
182
- CONFIGURABLE: iv
183
- }, nv = L, sv = B, Ya = Oi, ov = nv(Function.toString);
184
- sv(Ya.inspectSource) || (Ya.inspectSource = function(a) {
185
- return ov(a);
178
+ }, qo = { exports: {} }, Xa = he, ov = fe, Qo = Function.prototype, uv = Xa && Object.getOwnPropertyDescriptor, Ko = ov(Qo, "name"), lv = Ko && (function() {
179
+ }).name === "something", hv = Ko && (!Xa || Xa && uv(Qo, "name").configurable), $r = {
180
+ PROPER: lv,
181
+ CONFIGURABLE: hv
182
+ }, vv = L, fv = B, Wa = Si, cv = vv(Function.toString);
183
+ fv(Wa.inspectSource) || (Wa.inspectSource = function(a) {
184
+ return cv(a);
186
185
  });
187
- var $i = Ya.inspectSource, uv = D, lv = B, An = uv.WeakMap, hv = lv(An) && /native code/.test(String(An)), vv = Si, fv = Uo, Pn = vv("keys"), wi = function(a) {
188
- return Pn[a] || (Pn[a] = fv(a));
189
- }, Ci = {}, cv = hv, Wo = D, gv = ve, dv = wt, sa = fe, oa = Oi, pv = wi, yv = Ci, Rn = "Object already initialized", Xa = Wo.TypeError, mv = Wo.WeakMap, vr, Tt, fr, bv = function(a) {
190
- return fr(a) ? Tt(a) : vr(a, {});
191
- }, xv = function(a) {
186
+ var $i = Wa.inspectSource, gv = _, dv = B, Nn = gv.WeakMap, pv = dv(Nn) && /native code/.test(String(Nn)), yv = Ei, mv = Ho, In = yv("keys"), wi = function(a) {
187
+ return In[a] || (In[a] = mv(a));
188
+ }, Ci = {}, bv = pv, Zo = _, xv = ae, Tv = Ct, ha = fe, va = Si, Ov = wi, Sv = Ci, Mn = "Object already initialized", qa = Zo.TypeError, Ev = Zo.WeakMap, gr, Tt, dr, $v = function(a) {
189
+ return dr(a) ? Tt(a) : gr(a, {});
190
+ }, wv = function(a) {
192
191
  return function(e) {
193
192
  var t;
194
- if (!gv(e) || (t = Tt(e)).type !== a)
195
- throw new Xa("Incompatible receiver, " + a + " required");
193
+ if (!xv(e) || (t = Tt(e)).type !== a)
194
+ throw new qa("Incompatible receiver, " + a + " required");
196
195
  return t;
197
196
  };
198
197
  };
199
- if (cv || oa.state) {
200
- var de = oa.state || (oa.state = new mv());
201
- de.get = de.get, de.has = de.has, de.set = de.set, vr = function(a, e) {
202
- if (de.has(a)) throw new Xa(Rn);
198
+ if (bv || va.state) {
199
+ var de = va.state || (va.state = new Ev());
200
+ de.get = de.get, de.has = de.has, de.set = de.set, gr = function(a, e) {
201
+ if (de.has(a)) throw new qa(Mn);
203
202
  return e.facade = a, de.set(a, e), e;
204
203
  }, Tt = function(a) {
205
204
  return de.get(a) || {};
206
- }, fr = function(a) {
205
+ }, dr = function(a) {
207
206
  return de.has(a);
208
207
  };
209
208
  } else {
210
- var Ye = pv("state");
211
- yv[Ye] = !0, vr = function(a, e) {
212
- if (sa(a, Ye)) throw new Xa(Rn);
213
- return e.facade = a, dv(a, Ye, e), e;
209
+ var Ye = Ov("state");
210
+ Sv[Ye] = !0, gr = function(a, e) {
211
+ if (ha(a, Ye)) throw new qa(Mn);
212
+ return e.facade = a, Tv(a, Ye, e), e;
214
213
  }, Tt = function(a) {
215
- return sa(a, Ye) ? a[Ye] : {};
216
- }, fr = function(a) {
217
- return sa(a, Ye);
214
+ return ha(a, Ye) ? a[Ye] : {};
215
+ }, dr = function(a) {
216
+ return ha(a, Ye);
218
217
  };
219
218
  }
220
- var Sr = {
221
- set: vr,
219
+ var wr = {
220
+ set: gr,
222
221
  get: Tt,
223
- has: fr,
224
- enforce: bv,
225
- getterFor: xv
226
- }, Ai = L, Tv = k, Ov = B, Gt = fe, Wa = le, Sv = Or.CONFIGURABLE, Ev = $i, qo = Sr, $v = qo.enforce, wv = qo.get, Nn = String, ir = Object.defineProperty, Cv = Ai("".slice), Av = Ai("".replace), Pv = Ai([].join), Rv = Wa && !Tv(function() {
227
- return ir(function() {
222
+ has: dr,
223
+ enforce: $v,
224
+ getterFor: wv
225
+ }, Ai = L, Cv = D, Av = B, Gt = fe, Qa = he, Pv = $r.CONFIGURABLE, Rv = $i, Jo = wr, Nv = Jo.enforce, Iv = Jo.get, _n = String, or = Object.defineProperty, Mv = Ai("".slice), _v = Ai("".replace), Vv = Ai([].join), Dv = Qa && !Cv(function() {
226
+ return or(function() {
228
227
  }, "length", { value: 8 }).length !== 8;
229
- }), Nv = String(String).split("String"), Iv = Yo.exports = function(a, e, t) {
230
- Cv(Nn(e), 0, 7) === "Symbol(" && (e = "[" + Av(Nn(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), t && t.getter && (e = "get " + e), t && t.setter && (e = "set " + e), (!Gt(a, "name") || Sv && a.name !== e) && (Wa ? ir(a, "name", { value: e, configurable: !0 }) : a.name = e), Rv && t && Gt(t, "arity") && a.length !== t.arity && ir(a, "length", { value: t.arity });
228
+ }), Lv = String(String).split("String"), kv = qo.exports = function(a, e, t) {
229
+ Mv(_n(e), 0, 7) === "Symbol(" && (e = "[" + _v(_n(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), t && t.getter && (e = "get " + e), t && t.setter && (e = "set " + e), (!Gt(a, "name") || Pv && a.name !== e) && (Qa ? or(a, "name", { value: e, configurable: !0 }) : a.name = e), Dv && t && Gt(t, "arity") && a.length !== t.arity && or(a, "length", { value: t.arity });
231
230
  try {
232
- t && Gt(t, "constructor") && t.constructor ? Wa && ir(a, "prototype", { writable: !1 }) : a.prototype && (a.prototype = void 0);
231
+ t && Gt(t, "constructor") && t.constructor ? Qa && or(a, "prototype", { writable: !1 }) : a.prototype && (a.prototype = void 0);
233
232
  } catch {
234
233
  }
235
- var r = $v(a);
236
- return Gt(r, "source") || (r.source = Pv(Nv, typeof e == "string" ? e : "")), a;
234
+ var r = Nv(a);
235
+ return Gt(r, "source") || (r.source = Vv(Lv, typeof e == "string" ? e : "")), a;
237
236
  };
238
- Function.prototype.toString = Iv(function() {
239
- return Ov(this) && wv(this).source || Ev(this);
237
+ Function.prototype.toString = kv(function() {
238
+ return Av(this) && Iv(this).source || Rv(this);
240
239
  }, "toString");
241
- var Qo = Yo.exports, Mv = B, _v = Oe, Vv = Qo, Dv = Ti, Ue = function(a, e, t, r) {
240
+ var eu = qo.exports, Bv = B, jv = Oe, Fv = eu, Uv = Oi, Ue = function(a, e, t, r) {
242
241
  r || (r = {});
243
242
  var i = r.enumerable, n = r.name !== void 0 ? r.name : e;
244
- if (Mv(t) && Vv(t, n, r), r.global)
245
- i ? a[e] = t : Dv(e, t);
243
+ if (Bv(t) && Fv(t, n, r), r.global)
244
+ i ? a[e] = t : Uv(e, t);
246
245
  else {
247
246
  try {
248
247
  r.unsafe ? a[e] && (i = !0) : delete a[e];
249
248
  } catch {
250
249
  }
251
- i ? a[e] = t : _v.f(a, e, {
250
+ i ? a[e] = t : jv.f(a, e, {
252
251
  value: t,
253
252
  enumerable: !1,
254
253
  configurable: !r.nonConfigurable,
@@ -256,25 +255,25 @@ var Qo = Yo.exports, Mv = B, _v = Oe, Vv = Qo, Dv = Ti, Ue = function(a, e, t, r
256
255
  });
257
256
  }
258
257
  return a;
259
- }, Ko = {}, kv = Math.ceil, Lv = Math.floor, Bv = Math.trunc || function(e) {
258
+ }, tu = {}, Gv = Math.ceil, zv = Math.floor, Hv = Math.trunc || function(e) {
260
259
  var t = +e;
261
- return (t > 0 ? Lv : kv)(t);
262
- }, jv = Bv, Er = function(a) {
260
+ return (t > 0 ? zv : Gv)(t);
261
+ }, Yv = Hv, Cr = function(a) {
263
262
  var e = +a;
264
- return e !== e || e === 0 ? 0 : jv(e);
265
- }, Fv = Er, Uv = Math.max, Gv = Math.min, zv = function(a, e) {
266
- var t = Fv(a);
267
- return t < 0 ? Uv(t + e, 0) : Gv(t, e);
268
- }, Hv = Er, Yv = Math.min, ut = function(a) {
269
- var e = Hv(a);
270
- return e > 0 ? Yv(e, 9007199254740991) : 0;
271
- }, Xv = ut, Pi = function(a) {
272
- return Xv(a.length);
273
- }, Wv = $t, qv = zv, Qv = Pi, In = function(a) {
263
+ return e !== e || e === 0 ? 0 : Yv(e);
264
+ }, Xv = Cr, Wv = Math.max, qv = Math.min, Qv = function(a, e) {
265
+ var t = Xv(a);
266
+ return t < 0 ? Wv(t + e, 0) : qv(t, e);
267
+ }, Kv = Cr, Zv = Math.min, ot = function(a) {
268
+ var e = Kv(a);
269
+ return e > 0 ? Zv(e, 9007199254740991) : 0;
270
+ }, Jv = ot, Pi = function(a) {
271
+ return Jv(a.length);
272
+ }, ef = $t, tf = Qv, rf = Pi, af = function(a) {
274
273
  return function(e, t, r) {
275
- var i = Wv(e), n = Qv(i);
274
+ var i = ef(e), n = rf(i);
276
275
  if (n === 0) return !a && -1;
277
- var o = qv(r, n), s;
276
+ var o = tf(r, n), s;
278
277
  if (a && t !== t) {
279
278
  for (; n > o; )
280
279
  if (s = i[o++], s !== s) return !0;
@@ -282,17 +281,14 @@ var Qo = Yo.exports, Mv = B, _v = Oe, Vv = Qo, Dv = Ti, Ue = function(a, e, t, r
282
281
  if ((a || o in i) && i[o] === t) return a || o || 0;
283
282
  return !a && -1;
284
283
  };
285
- }, Zo = {
286
- // `Array.prototype.includes` method
287
- // https://tc39.es/ecma262/#sec-array.prototype.includes
288
- includes: In(!0),
284
+ }, ru = {
289
285
  // `Array.prototype.indexOf` method
290
286
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
291
- indexOf: In(!1)
292
- }, Kv = L, ua = fe, Zv = $t, Jv = Zo.indexOf, ef = Ci, Mn = Kv([].push), Jo = function(a, e) {
293
- var t = Zv(a), r = 0, i = [], n;
294
- for (n in t) !ua(ef, n) && ua(t, n) && Mn(i, n);
295
- for (; e.length > r; ) ua(t, n = e[r++]) && (~Jv(i, n) || Mn(i, n));
287
+ indexOf: af(!1)
288
+ }, nf = L, fa = fe, sf = $t, of = ru.indexOf, uf = Ci, Vn = nf([].push), au = function(a, e) {
289
+ var t = sf(a), r = 0, i = [], n;
290
+ for (n in t) !fa(uf, n) && fa(t, n) && Vn(i, n);
291
+ for (; e.length > r; ) fa(t, n = e[r++]) && (~of(i, n) || Vn(i, n));
296
292
  return i;
297
293
  }, Ri = [
298
294
  "constructor",
@@ -302,173 +298,176 @@ var Qo = Yo.exports, Mv = B, _v = Oe, Vv = Qo, Dv = Ti, Ue = function(a, e, t, r
302
298
  "toLocaleString",
303
299
  "toString",
304
300
  "valueOf"
305
- ], tf = Jo, rf = Ri, af = rf.concat("length", "prototype");
306
- Ko.f = Object.getOwnPropertyNames || function(e) {
307
- return tf(e, af);
301
+ ], lf = au, hf = Ri, vf = hf.concat("length", "prototype");
302
+ tu.f = Object.getOwnPropertyNames || function(e) {
303
+ return lf(e, vf);
308
304
  };
309
- var eu = {};
310
- eu.f = Object.getOwnPropertySymbols;
311
- var nf = Fe, sf = L, of = Ko, uf = eu, lf = J, hf = sf([].concat), vf = nf("Reflect", "ownKeys") || function(e) {
312
- var t = of.f(lf(e)), r = uf.f;
313
- return r ? hf(t, r(e)) : t;
314
- }, _n = fe, ff = vf, cf = Et, gf = Oe, df = function(a, e, t) {
315
- for (var r = ff(e), i = gf.f, n = cf.f, o = 0; o < r.length; o++) {
305
+ var iu = {};
306
+ iu.f = Object.getOwnPropertySymbols;
307
+ var ff = Fe, cf = L, gf = tu, df = iu, pf = J, yf = cf([].concat), mf = ff("Reflect", "ownKeys") || function(e) {
308
+ var t = gf.f(pf(e)), r = df.f;
309
+ return r ? yf(t, r(e)) : t;
310
+ }, Dn = fe, bf = mf, xf = Et, Tf = Oe, Of = function(a, e, t) {
311
+ for (var r = bf(e), i = Tf.f, n = xf.f, o = 0; o < r.length; o++) {
316
312
  var s = r[o];
317
- !_n(a, s) && !(t && _n(t, s)) && i(a, s, n(e, s));
318
- }
319
- }, pf = k, yf = B, mf = /#|\.prototype\./, Ct = function(a, e) {
320
- var t = xf[bf(a)];
321
- return t === Of ? !0 : t === Tf ? !1 : yf(e) ? pf(e) : !!e;
322
- }, bf = Ct.normalize = function(a) {
323
- return String(a).replace(mf, ".").toLowerCase();
324
- }, xf = Ct.data = {}, Tf = Ct.NATIVE = "N", Of = Ct.POLYFILL = "P", tu = Ct, zt = D, Sf = Et.f, Ef = wt, $f = Ue, wf = Ti, Cf = df, Af = tu, ee = function(a, e) {
313
+ !Dn(a, s) && !(t && Dn(t, s)) && i(a, s, n(e, s));
314
+ }
315
+ }, Sf = D, Ef = B, $f = /#|\.prototype\./, At = function(a, e) {
316
+ var t = Cf[wf(a)];
317
+ return t === Pf ? !0 : t === Af ? !1 : Ef(e) ? Sf(e) : !!e;
318
+ }, wf = At.normalize = function(a) {
319
+ return String(a).replace($f, ".").toLowerCase();
320
+ }, Cf = At.data = {}, Af = At.NATIVE = "N", Pf = At.POLYFILL = "P", nu = At, zt = _, Rf = Et.f, Nf = Ct, If = Ue, Mf = Oi, _f = Of, Vf = nu, ee = function(a, e) {
325
321
  var t = a.target, r = a.global, i = a.stat, n, o, s, u, l, h;
326
- if (r ? o = zt : i ? o = zt[t] || wf(t, {}) : o = zt[t] && zt[t].prototype, o) for (s in e) {
327
- if (l = e[s], a.dontCallGetSet ? (h = Sf(o, s), u = h && h.value) : u = o[s], n = Af(r ? s : t + (i ? "." : "#") + s, a.forced), !n && u !== void 0) {
322
+ if (r ? o = zt : i ? o = zt[t] || Mf(t, {}) : o = zt[t] && zt[t].prototype, o) for (s in e) {
323
+ if (l = e[s], a.dontCallGetSet ? (h = Rf(o, s), u = h && h.value) : u = o[s], n = Vf(r ? s : t + (i ? "." : "#") + s, a.forced), !n && u !== void 0) {
328
324
  if (typeof l == typeof u) continue;
329
- Cf(l, u);
325
+ _f(l, u);
330
326
  }
331
- (a.sham || u && u.sham) && Ef(l, "sham", !0), $f(o, s, l, a);
327
+ (a.sham || u && u.sham) && Nf(l, "sham", !0), If(o, s, l, a);
332
328
  }
333
- }, Pf = D, Rf = Be, At = Rf(Pf.process) === "process", Nf = L, If = Te, Mf = function(a, e, t) {
329
+ }, vt = _, Df = wt, Lf = je, Ht = function(a) {
330
+ return Df.slice(0, a.length) === a;
331
+ }, su = function() {
332
+ return Ht("Bun/") ? "BUN" : Ht("Cloudflare-Workers") ? "CLOUDFLARE" : Ht("Deno/") ? "DENO" : Ht("Node.js/") ? "NODE" : vt.Bun && typeof Bun.version == "string" ? "BUN" : vt.Deno && typeof Deno.version == "object" ? "DENO" : Lf(vt.process) === "process" ? "NODE" : vt.window && vt.document ? "BROWSER" : "REST";
333
+ }(), kf = su, Ar = kf === "NODE", Bf = _, jf = Bf, Ff = L, Uf = Te, Gf = function(a, e, t) {
334
334
  try {
335
- return Nf(If(Object.getOwnPropertyDescriptor(a, e)[t]));
335
+ return Ff(Uf(Object.getOwnPropertyDescriptor(a, e)[t]));
336
336
  } catch {
337
337
  }
338
- }, _f = ve, Vf = function(a) {
339
- return _f(a) || a === null;
340
- }, Df = Vf, kf = String, Lf = TypeError, Bf = function(a) {
341
- if (Df(a)) return a;
342
- throw new Lf("Can't set " + kf(a) + " as a prototype");
343
- }, jf = Mf, Ff = ve, Uf = he, Gf = Bf, ru = Object.setPrototypeOf || ("__proto__" in {} ? function() {
338
+ }, zf = ae, Hf = function(a) {
339
+ return zf(a) || a === null;
340
+ }, Yf = Hf, Xf = String, Wf = TypeError, qf = function(a) {
341
+ if (Yf(a)) return a;
342
+ throw new Wf("Can't set " + Xf(a) + " as a prototype");
343
+ }, Qf = Gf, Kf = ae, Zf = ve, Jf = qf, ou = Object.setPrototypeOf || ("__proto__" in {} ? function() {
344
344
  var a = !1, e = {}, t;
345
345
  try {
346
- t = jf(Object.prototype, "__proto__", "set"), t(e, []), a = e instanceof Array;
346
+ t = Qf(Object.prototype, "__proto__", "set"), t(e, []), a = e instanceof Array;
347
347
  } catch {
348
348
  }
349
349
  return function(i, n) {
350
- return Uf(i), Gf(n), Ff(i) && (a ? t(i, n) : i.__proto__ = n), i;
350
+ return Zf(i), Jf(n), Kf(i) && (a ? t(i, n) : i.__proto__ = n), i;
351
351
  };
352
- }() : void 0), zf = Oe.f, Hf = fe, Yf = z, Vn = Yf("toStringTag"), $r = function(a, e, t) {
353
- a && !t && (a = a.prototype), a && !Hf(a, Vn) && zf(a, Vn, { configurable: !0, value: e });
354
- }, Dn = Qo, Xf = Oe, Wf = function(a, e, t) {
355
- return t.get && Dn(t.get, e, { getter: !0 }), t.set && Dn(t.set, e, { setter: !0 }), Xf.f(a, e, t);
356
- }, qf = Fe, Qf = Wf, Kf = z, Zf = le, kn = Kf("species"), Jf = function(a) {
357
- var e = qf(a);
358
- Zf && e && !e[kn] && Qf(e, kn, {
352
+ }() : void 0), ec = Oe.f, tc = fe, rc = z, Ln = rc("toStringTag"), Pr = function(a, e, t) {
353
+ a && !t && (a = a.prototype), a && !tc(a, Ln) && ec(a, Ln, { configurable: !0, value: e });
354
+ }, kn = eu, ac = Oe, ic = function(a, e, t) {
355
+ return t.get && kn(t.get, e, { getter: !0 }), t.set && kn(t.set, e, { setter: !0 }), ac.f(a, e, t);
356
+ }, nc = Fe, sc = ic, oc = z, uc = he, Bn = oc("species"), lc = function(a) {
357
+ var e = nc(a);
358
+ uc && e && !e[Bn] && sc(e, Bn, {
359
359
  configurable: !0,
360
360
  get: function() {
361
361
  return this;
362
362
  }
363
363
  });
364
- }, ec = yr, tc = TypeError, rc = function(a, e) {
365
- if (ec(e, a)) return a;
366
- throw new tc("Incorrect invocation");
367
- }, ac = z, ic = ac("toStringTag"), au = {};
368
- au[ic] = "z";
369
- var nc = String(au) === "[object z]", sc = nc, oc = B, nr = Be, uc = z, lc = uc("toStringTag"), hc = Object, vc = nr(/* @__PURE__ */ function() {
364
+ }, hc = Tr, vc = TypeError, fc = function(a, e) {
365
+ if (hc(e, a)) return a;
366
+ throw new vc("Incorrect invocation");
367
+ }, cc = z, gc = cc("toStringTag"), uu = {};
368
+ uu[gc] = "z";
369
+ var dc = String(uu) === "[object z]", pc = dc, yc = B, ur = je, mc = z, bc = mc("toStringTag"), xc = Object, Tc = ur(/* @__PURE__ */ function() {
370
370
  return arguments;
371
- }()) === "Arguments", fc = function(a, e) {
371
+ }()) === "Arguments", Oc = function(a, e) {
372
372
  try {
373
373
  return a[e];
374
374
  } catch {
375
375
  }
376
- }, Ni = sc ? nr : function(a) {
376
+ }, Ni = pc ? ur : function(a) {
377
377
  var e, t, r;
378
- return a === void 0 ? "Undefined" : a === null ? "Null" : typeof (t = fc(e = hc(a), lc)) == "string" ? t : vc ? nr(e) : (r = nr(e)) === "Object" && oc(e.callee) ? "Arguments" : r;
379
- }, cc = L, gc = k, iu = B, dc = Ni, pc = Fe, yc = $i, nu = function() {
380
- }, su = pc("Reflect", "construct"), Ii = /^\s*(?:class|function)\b/, mc = cc(Ii.exec), bc = !Ii.test(nu), ft = function(e) {
381
- if (!iu(e)) return !1;
378
+ return a === void 0 ? "Undefined" : a === null ? "Null" : typeof (t = Oc(e = xc(a), bc)) == "string" ? t : Tc ? ur(e) : (r = ur(e)) === "Object" && yc(e.callee) ? "Arguments" : r;
379
+ }, Sc = L, Ec = D, lu = B, $c = Ni, wc = Fe, Cc = $i, hu = function() {
380
+ }, vu = wc("Reflect", "construct"), Ii = /^\s*(?:class|function)\b/, Ac = Sc(Ii.exec), Pc = !Ii.test(hu), ft = function(e) {
381
+ if (!lu(e)) return !1;
382
382
  try {
383
- return su(nu, [], e), !0;
383
+ return vu(hu, [], e), !0;
384
384
  } catch {
385
385
  return !1;
386
386
  }
387
- }, ou = function(e) {
388
- if (!iu(e)) return !1;
389
- switch (dc(e)) {
387
+ }, fu = function(e) {
388
+ if (!lu(e)) return !1;
389
+ switch ($c(e)) {
390
390
  case "AsyncFunction":
391
391
  case "GeneratorFunction":
392
392
  case "AsyncGeneratorFunction":
393
393
  return !1;
394
394
  }
395
395
  try {
396
- return bc || !!mc(Ii, yc(e));
396
+ return Pc || !!Ac(Ii, Cc(e));
397
397
  } catch {
398
398
  return !0;
399
399
  }
400
400
  };
401
- ou.sham = !0;
402
- var xc = !su || gc(function() {
401
+ fu.sham = !0;
402
+ var Rc = !vu || Ec(function() {
403
403
  var a;
404
404
  return ft(ft.call) || !ft(Object) || !ft(function() {
405
405
  a = !0;
406
406
  }) || a;
407
- }) ? ou : ft, Tc = xc, Oc = br, Sc = TypeError, Ec = function(a) {
408
- if (Tc(a)) return a;
409
- throw new Sc(Oc(a) + " is not a constructor");
410
- }, Ln = J, $c = Ec, wc = je, Cc = z, Ac = Cc("species"), uu = function(a, e) {
411
- var t = Ln(a).constructor, r;
412
- return t === void 0 || wc(r = Ln(t)[Ac]) ? e : $c(r);
413
- }, Pc = pr, lu = Function.prototype, Bn = lu.apply, jn = lu.call, hu = typeof Reflect == "object" && Reflect.apply || (Pc ? jn.bind(Bn) : function() {
414
- return jn.apply(Bn, arguments);
415
- }), Rc = Be, Nc = L, wr = function(a) {
416
- if (Rc(a) === "Function") return Nc(a);
417
- }, Fn = wr, Ic = Te, Mc = pr, _c = Fn(Fn.bind), Mi = function(a, e) {
418
- return Ic(a), e === void 0 ? a : Mc ? _c(a, e) : function() {
407
+ }) ? fu : ft, Nc = Rc, Ic = Or, Mc = TypeError, _c = function(a) {
408
+ if (Nc(a)) return a;
409
+ throw new Mc(Ic(a) + " is not a constructor");
410
+ }, jn = J, Vc = _c, Dc = xr, Lc = z, kc = Lc("species"), cu = function(a, e) {
411
+ var t = jn(a).constructor, r;
412
+ return t === void 0 || Dc(r = jn(t)[kc]) ? e : Vc(r);
413
+ }, Bc = br, gu = Function.prototype, Fn = gu.apply, Un = gu.call, du = typeof Reflect == "object" && Reflect.apply || (Bc ? Un.bind(Fn) : function() {
414
+ return Un.apply(Fn, arguments);
415
+ }), jc = je, Fc = L, Rr = function(a) {
416
+ if (jc(a) === "Function") return Fc(a);
417
+ }, Gn = Rr, Uc = Te, Gc = br, zc = Gn(Gn.bind), Mi = function(a, e) {
418
+ return Uc(a), e === void 0 ? a : Gc ? zc(a, e) : function() {
419
419
  return a.apply(e, arguments);
420
420
  };
421
- }, Vc = Fe, vu = Vc("document", "documentElement"), Dc = L, kc = Dc([].slice), Lc = TypeError, Bc = function(a, e) {
422
- if (a < e) throw new Lc("Not enough arguments");
421
+ }, Hc = Fe, pu = Hc("document", "documentElement"), Yc = L, Xc = Yc([].slice), Wc = TypeError, qc = function(a, e) {
422
+ if (a < e) throw new Wc("Not enough arguments");
423
423
  return a;
424
- }, jc = mr, fu = /(?:ipad|iphone|ipod).*applewebkit/i.test(jc), ae = D, Fc = hu, Uc = Mi, Un = B, Gc = fe, cu = k, Gn = vu, zc = kc, zn = Tr, Hc = Bc, Yc = fu, Xc = At, qa = ae.setImmediate, Qa = ae.clearImmediate, Wc = ae.process, la = ae.Dispatch, qc = ae.Function, Hn = ae.MessageChannel, Qc = ae.String, ha = 0, bt = {}, Yn = "onreadystatechange", Ot, Ie, va, fa;
425
- cu(function() {
426
- Ot = ae.location;
424
+ }, Qc = wt, yu = /(?:ipad|iphone|ipod).*applewebkit/i.test(Qc), ie = _, Kc = du, Zc = Mi, zn = B, Jc = fe, mu = D, Hn = pu, eg = Xc, Yn = Er, tg = qc, rg = yu, ag = Ar, Ka = ie.setImmediate, Xn = ie.clearImmediate, ig = ie.process, ca = ie.Dispatch, ng = ie.Function, Wn = ie.MessageChannel, sg = ie.String, ga = 0, bt = {}, qn = "onreadystatechange", Ot, Ie, da, pa;
425
+ mu(function() {
426
+ Ot = ie.location;
427
427
  });
428
428
  var _i = function(a) {
429
- if (Gc(bt, a)) {
429
+ if (Jc(bt, a)) {
430
430
  var e = bt[a];
431
431
  delete bt[a], e();
432
432
  }
433
- }, ca = function(a) {
433
+ }, ya = function(a) {
434
434
  return function() {
435
435
  _i(a);
436
436
  };
437
- }, Xn = function(a) {
437
+ }, Qn = function(a) {
438
438
  _i(a.data);
439
- }, Wn = function(a) {
440
- ae.postMessage(Qc(a), Ot.protocol + "//" + Ot.host);
439
+ }, Kn = function(a) {
440
+ ie.postMessage(sg(a), Ot.protocol + "//" + Ot.host);
441
441
  };
442
- (!qa || !Qa) && (qa = function(e) {
443
- Hc(arguments.length, 1);
444
- var t = Un(e) ? e : qc(e), r = zc(arguments, 1);
445
- return bt[++ha] = function() {
446
- Fc(t, void 0, r);
447
- }, Ie(ha), ha;
448
- }, Qa = function(e) {
442
+ (!Ka || !Xn) && (Ka = function(e) {
443
+ tg(arguments.length, 1);
444
+ var t = zn(e) ? e : ng(e), r = eg(arguments, 1);
445
+ return bt[++ga] = function() {
446
+ Kc(t, void 0, r);
447
+ }, Ie(ga), ga;
448
+ }, Xn = function(e) {
449
449
  delete bt[e];
450
- }, Xc ? Ie = function(a) {
451
- Wc.nextTick(ca(a));
452
- } : la && la.now ? Ie = function(a) {
453
- la.now(ca(a));
454
- } : Hn && !Yc ? (va = new Hn(), fa = va.port2, va.port1.onmessage = Xn, Ie = Uc(fa.postMessage, fa)) : ae.addEventListener && Un(ae.postMessage) && !ae.importScripts && Ot && Ot.protocol !== "file:" && !cu(Wn) ? (Ie = Wn, ae.addEventListener("message", Xn, !1)) : Yn in zn("script") ? Ie = function(a) {
455
- Gn.appendChild(zn("script"))[Yn] = function() {
456
- Gn.removeChild(this), _i(a);
450
+ }, ag ? Ie = function(a) {
451
+ ig.nextTick(ya(a));
452
+ } : ca && ca.now ? Ie = function(a) {
453
+ ca.now(ya(a));
454
+ } : Wn && !rg ? (da = new Wn(), pa = da.port2, da.port1.onmessage = Qn, Ie = Zc(pa.postMessage, pa)) : ie.addEventListener && zn(ie.postMessage) && !ie.importScripts && Ot && Ot.protocol !== "file:" && !mu(Kn) ? (Ie = Kn, ie.addEventListener("message", Qn, !1)) : qn in Yn("script") ? Ie = function(a) {
455
+ Hn.appendChild(Yn("script"))[qn] = function() {
456
+ Hn.removeChild(this), _i(a);
457
457
  };
458
458
  } : Ie = function(a) {
459
- setTimeout(ca(a), 0);
459
+ setTimeout(ya(a), 0);
460
460
  });
461
- var gu = {
462
- set: qa,
463
- clear: Qa
464
- }, qn = D, Kc = le, Zc = Object.getOwnPropertyDescriptor, Jc = function(a) {
465
- if (!Kc) return qn[a];
466
- var e = Zc(qn, a);
461
+ var bu = {
462
+ set: Ka
463
+ }, Zn = _, og = he, ug = Object.getOwnPropertyDescriptor, lg = function(a) {
464
+ if (!og) return Zn[a];
465
+ var e = ug(Zn, a);
467
466
  return e && e.value;
468
- }, du = function() {
467
+ }, xu = function() {
469
468
  this.head = null, this.tail = null;
470
469
  };
471
- du.prototype = {
470
+ xu.prototype = {
472
471
  add: function(a) {
473
472
  var e = { item: a, next: null }, t = this.tail;
474
473
  t ? t.next = e : this.head = e, this.tail = e;
@@ -481,30 +480,30 @@ du.prototype = {
481
480
  }
482
481
  }
483
482
  };
484
- var pu = du, eg = mr, tg = /ipad|iphone|ipod/i.test(eg) && typeof Pebble < "u", rg = mr, ag = /web0s(?!.*chrome)/i.test(rg), it = D, ig = Jc, Qn = Mi, ga = gu.set, ng = pu, sg = fu, og = tg, ug = ag, da = At, Kn = it.MutationObserver || it.WebKitMutationObserver, Zn = it.document, Jn = it.process, Ht = it.Promise, Ka = ig("queueMicrotask"), Xe, pa, ya, Yt, es;
485
- if (!Ka) {
486
- var Xt = new ng(), Wt = function() {
483
+ var Tu = xu, hg = wt, vg = /ipad|iphone|ipod/i.test(hg) && typeof Pebble < "u", fg = wt, cg = /web0s(?!.*chrome)/i.test(fg), at = _, gg = lg, Jn = Mi, ma = bu.set, dg = Tu, pg = yu, yg = vg, mg = cg, ba = Ar, es = at.MutationObserver || at.WebKitMutationObserver, ts = at.document, rs = at.process, Yt = at.Promise, Za = gg("queueMicrotask"), Xe, xa, Ta, Xt, as;
484
+ if (!Za) {
485
+ var Wt = new dg(), qt = function() {
487
486
  var a, e;
488
- for (da && (a = Jn.domain) && a.exit(); e = Xt.get(); ) try {
487
+ for (ba && (a = rs.domain) && a.exit(); e = Wt.get(); ) try {
489
488
  e();
490
489
  } catch (t) {
491
- throw Xt.head && Xe(), t;
490
+ throw Wt.head && Xe(), t;
492
491
  }
493
492
  a && a.enter();
494
493
  };
495
- !sg && !da && !ug && Kn && Zn ? (pa = !0, ya = Zn.createTextNode(""), new Kn(Wt).observe(ya, { characterData: !0 }), Xe = function() {
496
- ya.data = pa = !pa;
497
- }) : !og && Ht && Ht.resolve ? (Yt = Ht.resolve(void 0), Yt.constructor = Ht, es = Qn(Yt.then, Yt), Xe = function() {
498
- es(Wt);
499
- }) : da ? Xe = function() {
500
- Jn.nextTick(Wt);
501
- } : (ga = Qn(ga, it), Xe = function() {
502
- ga(Wt);
503
- }), Ka = function(a) {
504
- Xt.head || Xe(), Xt.add(a);
494
+ !pg && !ba && !mg && es && ts ? (xa = !0, Ta = ts.createTextNode(""), new es(qt).observe(Ta, { characterData: !0 }), Xe = function() {
495
+ Ta.data = xa = !xa;
496
+ }) : !yg && Yt && Yt.resolve ? (Xt = Yt.resolve(void 0), Xt.constructor = Yt, as = Jn(Xt.then, Xt), Xe = function() {
497
+ as(qt);
498
+ }) : ba ? Xe = function() {
499
+ rs.nextTick(qt);
500
+ } : (ma = Jn(ma, at), Xe = function() {
501
+ ma(qt);
502
+ }), Za = function(a) {
503
+ Wt.head || Xe(), Wt.add(a);
505
504
  };
506
505
  }
507
- var lg = Ka, hg = function(a, e) {
506
+ var bg = Za, xg = function(a, e) {
508
507
  try {
509
508
  arguments.length === 1 ? console.error(a) : console.error(a, e);
510
509
  } catch {
@@ -515,12 +514,12 @@ var lg = Ka, hg = function(a, e) {
515
514
  } catch (e) {
516
515
  return { error: !0, value: e };
517
516
  }
518
- }, vg = D, Cr = vg.Promise, yu = typeof Deno == "object" && Deno && typeof Deno.version == "object", fg = yu, cg = At, gg = !fg && !cg && typeof window == "object" && typeof document == "object", dg = D, xt = Cr, pg = B, yg = tu, mg = $i, bg = z, xg = gg, Tg = yu, ma = xi;
517
+ }, Tg = _, Nr = Tg.Promise, Og = _, xt = Nr, Sg = B, Eg = nu, $g = $i, wg = z, is = su, Oa = Ti;
519
518
  xt && xt.prototype;
520
- var Og = bg("species"), Za = !1, mu = pg(dg.PromiseRejectionEvent), Sg = yg("Promise", function() {
521
- var a = mg(xt), e = a !== String(xt);
522
- if (!e && ma === 66) return !0;
523
- if (!ma || ma < 51 || !/native code/.test(a)) {
519
+ var Cg = wg("species"), Ja = !1, Ou = Sg(Og.PromiseRejectionEvent), Ag = Eg("Promise", function() {
520
+ var a = $g(xt), e = a !== String(xt);
521
+ if (!e && Oa === 66) return !0;
522
+ if (!Oa || Oa < 51 || !/native code/.test(a)) {
524
523
  var t = new xt(function(n) {
525
524
  n(1);
526
525
  }), r = function(n) {
@@ -528,215 +527,216 @@ var Og = bg("species"), Za = !1, mu = pg(dg.PromiseRejectionEvent), Sg = yg("Pro
528
527
  }, function() {
529
528
  });
530
529
  }, i = t.constructor = {};
531
- if (i[Og] = r, Za = t.then(function() {
532
- }) instanceof r, !Za) return !0;
530
+ if (i[Cg] = r, Ja = t.then(function() {
531
+ }) instanceof r, !Ja) return !0;
533
532
  }
534
- return !e && (xg || Tg) && !mu;
533
+ return !e && (is === "BROWSER" || is === "DENO") && !Ou;
535
534
  }), Pt = {
536
- CONSTRUCTOR: Sg,
537
- REJECTION_EVENT: mu,
538
- SUBCLASSING: Za
539
- }, lt = {}, ts = Te, Eg = TypeError, $g = function(a) {
535
+ CONSTRUCTOR: Ag,
536
+ REJECTION_EVENT: Ou,
537
+ SUBCLASSING: Ja
538
+ }, ut = {}, ns = Te, Pg = TypeError, Rg = function(a) {
540
539
  var e, t;
541
540
  this.promise = new a(function(r, i) {
542
- if (e !== void 0 || t !== void 0) throw new Eg("Bad Promise constructor");
541
+ if (e !== void 0 || t !== void 0) throw new Pg("Bad Promise constructor");
543
542
  e = r, t = i;
544
- }), this.resolve = ts(e), this.reject = ts(t);
543
+ }), this.resolve = ns(e), this.reject = ns(t);
545
544
  };
546
- lt.f = function(a) {
547
- return new $g(a);
545
+ ut.f = function(a) {
546
+ return new Rg(a);
548
547
  };
549
- var wg = ee, cr = At, we = D, nt = Y, rs = Ue, as = ru, Cg = $r, Ag = Jf, Pg = Te, sr = B, Rg = ve, Ng = rc, Ig = uu, bu = gu.set, Di = lg, Mg = hg, _g = Vi, Vg = pu, xu = Sr, gr = Cr, ki = Pt, Tu = lt, Ar = "Promise", Ou = ki.CONSTRUCTOR, Dg = ki.REJECTION_EVENT, kg = ki.SUBCLASSING, ba = xu.getterFor(Ar), Lg = xu.set, Qe = gr && gr.prototype, De = gr, qt = Qe, Su = we.TypeError, Ja = we.document, Li = we.process, ei = Tu.f, Bg = ei, jg = !!(Ja && Ja.createEvent && we.dispatchEvent), Eu = "unhandledrejection", Fg = "rejectionhandled", is = 0, $u = 1, Ug = 2, Bi = 1, wu = 2, Qt, ns, Gg, ss, Cu = function(a) {
548
+ var Ng = ee, pr = Ar, we = _, Ig = jf, it = Y, ss = Ue, os = ou, Mg = Pr, _g = lc, Vg = Te, lr = B, Dg = ae, Lg = fc, kg = cu, Su = bu.set, Di = bg, Bg = xg, jg = Vi, Fg = Tu, Eu = wr, yr = Nr, Li = Pt, $u = ut, Ir = "Promise", wu = Li.CONSTRUCTOR, Ug = Li.REJECTION_EVENT, Gg = Li.SUBCLASSING, Sa = Eu.getterFor(Ir), zg = Eu.set, qe = yr && yr.prototype, Le = yr, Qt = qe, Cu = we.TypeError, ei = we.document, ki = we.process, ti = $u.f, Hg = ti, Yg = !!(ei && ei.createEvent && we.dispatchEvent), Au = "unhandledrejection", Xg = "rejectionhandled", us = 0, Pu = 1, Wg = 2, Bi = 1, Ru = 2, Kt, ls, Nu, hs, Iu = function(a) {
550
549
  var e;
551
- return Rg(a) && sr(e = a.then) ? e : !1;
552
- }, Au = function(a, e) {
553
- var t = e.value, r = e.state === $u, i = r ? a.ok : a.fail, n = a.resolve, o = a.reject, s = a.domain, u, l, h;
550
+ return Dg(a) && lr(e = a.then) ? e : !1;
551
+ }, Mu = function(a, e) {
552
+ var t = e.value, r = e.state === Pu, i = r ? a.ok : a.fail, n = a.resolve, o = a.reject, s = a.domain, u, l, h;
554
553
  try {
555
- i ? (r || (e.rejection === wu && Hg(e), e.rejection = Bi), i === !0 ? u = t : (s && s.enter(), u = i(t), s && (s.exit(), h = !0)), u === a.promise ? o(new Su("Promise-chain cycle")) : (l = Cu(u)) ? nt(l, u, n, o) : n(u)) : o(t);
554
+ i ? (r || (e.rejection === Ru && Qg(e), e.rejection = Bi), i === !0 ? u = t : (s && s.enter(), u = i(t), s && (s.exit(), h = !0)), u === a.promise ? o(new Cu("Promise-chain cycle")) : (l = Iu(u)) ? it(l, u, n, o) : n(u)) : o(t);
556
555
  } catch (f) {
557
556
  s && !h && s.exit(), o(f);
558
557
  }
559
- }, Pu = function(a, e) {
558
+ }, _u = function(a, e) {
560
559
  a.notified || (a.notified = !0, Di(function() {
561
560
  for (var t = a.reactions, r; r = t.get(); )
562
- Au(r, a);
563
- a.notified = !1, e && !a.rejection && zg(a);
561
+ Mu(r, a);
562
+ a.notified = !1, e && !a.rejection && qg(a);
564
563
  }));
565
- }, Ru = function(a, e, t) {
564
+ }, Vu = function(a, e, t) {
566
565
  var r, i;
567
- jg ? (r = Ja.createEvent("Event"), r.promise = e, r.reason = t, r.initEvent(a, !1, !0), we.dispatchEvent(r)) : r = { promise: e, reason: t }, !Dg && (i = we["on" + a]) ? i(r) : a === Eu && Mg("Unhandled promise rejection", t);
568
- }, zg = function(a) {
569
- nt(bu, we, function() {
570
- var e = a.facade, t = a.value, r = os(a), i;
571
- if (r && (i = _g(function() {
572
- cr ? Li.emit("unhandledRejection", t, e) : Ru(Eu, e, t);
573
- }), a.rejection = cr || os(a) ? wu : Bi, i.error))
566
+ Yg ? (r = ei.createEvent("Event"), r.promise = e, r.reason = t, r.initEvent(a, !1, !0), we.dispatchEvent(r)) : r = { promise: e, reason: t }, !Ug && (i = we["on" + a]) ? i(r) : a === Au && Bg("Unhandled promise rejection", t);
567
+ }, qg = function(a) {
568
+ it(Su, we, function() {
569
+ var e = a.facade, t = a.value, r = vs(a), i;
570
+ if (r && (i = jg(function() {
571
+ pr ? ki.emit("unhandledRejection", t, e) : Vu(Au, e, t);
572
+ }), a.rejection = pr || vs(a) ? Ru : Bi, i.error))
574
573
  throw i.value;
575
574
  });
576
- }, os = function(a) {
575
+ }, vs = function(a) {
577
576
  return a.rejection !== Bi && !a.parent;
578
- }, Hg = function(a) {
579
- nt(bu, we, function() {
577
+ }, Qg = function(a) {
578
+ it(Su, we, function() {
580
579
  var e = a.facade;
581
- cr ? Li.emit("rejectionHandled", e) : Ru(Fg, e, a.value);
580
+ pr ? ki.emit("rejectionHandled", e) : Vu(Xg, e, a.value);
582
581
  });
583
- }, Je = function(a, e, t) {
582
+ }, Ze = function(a, e, t) {
584
583
  return function(r) {
585
584
  a(e, r, t);
586
585
  };
587
- }, tt = function(a, e, t) {
588
- a.done || (a.done = !0, t && (a = t), a.value = e, a.state = Ug, Pu(a, !0));
589
- }, ti = function(a, e, t) {
586
+ }, et = function(a, e, t) {
587
+ a.done || (a.done = !0, t && (a = t), a.value = e, a.state = Wg, _u(a, !0));
588
+ }, ri = function(a, e, t) {
590
589
  if (!a.done) {
591
590
  a.done = !0, t && (a = t);
592
591
  try {
593
- if (a.facade === e) throw new Su("Promise can't be resolved itself");
594
- var r = Cu(e);
592
+ if (a.facade === e) throw new Cu("Promise can't be resolved itself");
593
+ var r = Iu(e);
595
594
  r ? Di(function() {
596
595
  var i = { done: !1 };
597
596
  try {
598
- nt(
597
+ it(
599
598
  r,
600
599
  e,
601
- Je(ti, i, a),
602
- Je(tt, i, a)
600
+ Ze(ri, i, a),
601
+ Ze(et, i, a)
603
602
  );
604
603
  } catch (n) {
605
- tt(i, n, a);
604
+ et(i, n, a);
606
605
  }
607
- }) : (a.value = e, a.state = $u, Pu(a, !1));
606
+ }) : (a.value = e, a.state = Pu, _u(a, !1));
608
607
  } catch (i) {
609
- tt({ done: !1 }, i, a);
608
+ et({ done: !1 }, i, a);
610
609
  }
611
610
  }
612
611
  };
613
- if (Ou && (De = function(e) {
614
- Ng(this, qt), Pg(e), nt(Qt, this);
615
- var t = ba(this);
612
+ if (wu && (Le = function(e) {
613
+ Lg(this, Qt), Vg(e), it(Kt, this);
614
+ var t = Sa(this);
616
615
  try {
617
- e(Je(ti, t), Je(tt, t));
616
+ e(Ze(ri, t), Ze(et, t));
618
617
  } catch (r) {
619
- tt(t, r);
618
+ et(t, r);
620
619
  }
621
- }, qt = De.prototype, Qt = function(e) {
622
- Lg(this, {
623
- type: Ar,
620
+ }, Qt = Le.prototype, Kt = function(e) {
621
+ zg(this, {
622
+ type: Ir,
624
623
  done: !1,
625
624
  notified: !1,
626
625
  parent: !1,
627
- reactions: new Vg(),
626
+ reactions: new Fg(),
628
627
  rejection: !1,
629
- state: is,
630
- value: void 0
628
+ state: us,
629
+ value: null
631
630
  });
632
- }, Qt.prototype = rs(qt, "then", function(e, t) {
633
- var r = ba(this), i = ei(Ig(this, De));
634
- return r.parent = !0, i.ok = sr(e) ? e : !0, i.fail = sr(t) && t, i.domain = cr ? Li.domain : void 0, r.state === is ? r.reactions.add(i) : Di(function() {
635
- Au(i, r);
631
+ }, Kt.prototype = ss(Qt, "then", function(e, t) {
632
+ var r = Sa(this), i = ti(kg(this, Le));
633
+ return r.parent = !0, i.ok = lr(e) ? e : !0, i.fail = lr(t) && t, i.domain = pr ? ki.domain : void 0, r.state === us ? r.reactions.add(i) : Di(function() {
634
+ Mu(i, r);
636
635
  }), i.promise;
637
- }), ns = function() {
638
- var a = new Qt(), e = ba(a);
639
- this.promise = a, this.resolve = Je(ti, e), this.reject = Je(tt, e);
640
- }, Tu.f = ei = function(a) {
641
- return a === De || a === Gg ? new ns(a) : Bg(a);
642
- }, sr(gr) && Qe !== Object.prototype)) {
643
- ss = Qe.then, kg || rs(Qe, "then", function(e, t) {
636
+ }), ls = function() {
637
+ var a = new Kt(), e = Sa(a);
638
+ this.promise = a, this.resolve = Ze(ri, e), this.reject = Ze(et, e);
639
+ }, $u.f = ti = function(a) {
640
+ return a === Le || a === Nu ? new ls(a) : Hg(a);
641
+ }, lr(yr) && qe !== Object.prototype)) {
642
+ hs = qe.then, Gg || ss(qe, "then", function(e, t) {
644
643
  var r = this;
645
- return new De(function(i, n) {
646
- nt(ss, r, i, n);
644
+ return new Le(function(i, n) {
645
+ it(hs, r, i, n);
647
646
  }).then(e, t);
648
647
  }, { unsafe: !0 });
649
648
  try {
650
- delete Qe.constructor;
649
+ delete qe.constructor;
651
650
  } catch {
652
651
  }
653
- as && as(Qe, qt);
652
+ os && os(qe, Qt);
654
653
  }
655
- wg({ global: !0, constructor: !0, wrap: !0, forced: Ou }, {
656
- Promise: De
654
+ Ng({ global: !0, constructor: !0, wrap: !0, forced: wu }, {
655
+ Promise: Le
657
656
  });
658
- Cg(De, Ar, !1);
659
- Ag(Ar);
660
- var Rt = {}, Yg = z, Xg = Rt, Wg = Yg("iterator"), qg = Array.prototype, Qg = function(a) {
661
- return a !== void 0 && (Xg.Array === a || qg[Wg] === a);
662
- }, Kg = Ni, us = ot, Zg = je, Jg = Rt, ed = z, td = ed("iterator"), Nu = function(a) {
663
- if (!Zg(a)) return us(a, td) || us(a, "@@iterator") || Jg[Kg(a)];
664
- }, rd = Y, ad = Te, id = J, nd = br, sd = Nu, od = TypeError, ud = function(a, e) {
665
- var t = arguments.length < 2 ? sd(a) : e;
666
- if (ad(t)) return id(rd(t, a));
667
- throw new od(nd(a) + " is not iterable");
668
- }, ld = Y, ls = J, hd = ot, vd = function(a, e, t) {
657
+ Nu = Ig.Promise;
658
+ Mg(Le, Ir, !1);
659
+ _g(Ir);
660
+ var Rt = {}, Kg = z, Zg = Rt, Jg = Kg("iterator"), ed = Array.prototype, td = function(a) {
661
+ return a !== void 0 && (Zg.Array === a || ed[Jg] === a);
662
+ }, rd = Ni, fs = st, ad = xr, id = Rt, nd = z, sd = nd("iterator"), Du = function(a) {
663
+ if (!ad(a)) return fs(a, sd) || fs(a, "@@iterator") || id[rd(a)];
664
+ }, od = Y, ud = Te, ld = J, hd = Or, vd = Du, fd = TypeError, cd = function(a, e) {
665
+ var t = arguments.length < 2 ? vd(a) : e;
666
+ if (ud(t)) return ld(od(t, a));
667
+ throw new fd(hd(a) + " is not iterable");
668
+ }, gd = Y, cs = J, dd = st, pd = function(a, e, t) {
669
669
  var r, i;
670
- ls(a);
670
+ cs(a);
671
671
  try {
672
- if (r = hd(a, "return"), !r) {
672
+ if (r = dd(a, "return"), !r) {
673
673
  if (e === "throw") throw t;
674
674
  return t;
675
675
  }
676
- r = ld(r, a);
676
+ r = gd(r, a);
677
677
  } catch (n) {
678
678
  i = !0, r = n;
679
679
  }
680
680
  if (e === "throw") throw t;
681
681
  if (i) throw r;
682
- return ls(r), t;
683
- }, fd = Mi, cd = Y, gd = J, dd = br, pd = Qg, yd = Pi, hs = yr, md = ud, bd = Nu, vs = vd, xd = TypeError, or = function(a, e) {
682
+ return cs(r), t;
683
+ }, yd = Mi, md = Y, bd = J, xd = Or, Td = td, Od = Pi, gs = Tr, Sd = cd, Ed = Du, ds = pd, $d = TypeError, hr = function(a, e) {
684
684
  this.stopped = a, this.result = e;
685
- }, fs = or.prototype, Iu = function(a, e, t) {
686
- var r = t && t.that, i = !!(t && t.AS_ENTRIES), n = !!(t && t.IS_RECORD), o = !!(t && t.IS_ITERATOR), s = !!(t && t.INTERRUPTED), u = fd(e, r), l, h, f, c, v, d, g, p = function(x) {
687
- return l && vs(l, "normal", x), new or(!0, x);
685
+ }, ps = hr.prototype, Lu = function(a, e, t) {
686
+ var r = t && t.that, i = !!(t && t.AS_ENTRIES), n = !!(t && t.IS_RECORD), o = !!(t && t.IS_ITERATOR), s = !!(t && t.INTERRUPTED), u = yd(e, r), l, h, f, c, v, g, d, p = function(x) {
687
+ return l && ds(l, "normal"), new hr(!0, x);
688
688
  }, y = function(x) {
689
- return i ? (gd(x), s ? u(x[0], x[1], p) : u(x[0], x[1])) : s ? u(x, p) : u(x);
689
+ return i ? (bd(x), s ? u(x[0], x[1], p) : u(x[0], x[1])) : s ? u(x, p) : u(x);
690
690
  };
691
691
  if (n)
692
692
  l = a.iterator;
693
693
  else if (o)
694
694
  l = a;
695
695
  else {
696
- if (h = bd(a), !h) throw new xd(dd(a) + " is not iterable");
697
- if (pd(h)) {
698
- for (f = 0, c = yd(a); c > f; f++)
699
- if (v = y(a[f]), v && hs(fs, v)) return v;
700
- return new or(!1);
696
+ if (h = Ed(a), !h) throw new $d(xd(a) + " is not iterable");
697
+ if (Td(h)) {
698
+ for (f = 0, c = Od(a); c > f; f++)
699
+ if (v = y(a[f]), v && gs(ps, v)) return v;
700
+ return new hr(!1);
701
701
  }
702
- l = md(a, h);
702
+ l = Sd(a, h);
703
703
  }
704
- for (d = n ? a.next : l.next; !(g = cd(d, l)).done; ) {
704
+ for (g = n ? a.next : l.next; !(d = md(g, l)).done; ) {
705
705
  try {
706
- v = y(g.value);
706
+ v = y(d.value);
707
707
  } catch (x) {
708
- vs(l, "throw", x);
708
+ ds(l, "throw", x);
709
709
  }
710
- if (typeof v == "object" && v && hs(fs, v)) return v;
710
+ if (typeof v == "object" && v && gs(ps, v)) return v;
711
711
  }
712
- return new or(!1);
713
- }, Td = z, Mu = Td("iterator"), _u = !1;
712
+ return new hr(!1);
713
+ }, wd = z, ku = wd("iterator"), Bu = !1;
714
714
  try {
715
- var Od = 0, cs = {
715
+ var Cd = 0, ys = {
716
716
  next: function() {
717
- return { done: !!Od++ };
717
+ return { done: !!Cd++ };
718
718
  },
719
719
  return: function() {
720
- _u = !0;
720
+ Bu = !0;
721
721
  }
722
722
  };
723
- cs[Mu] = function() {
723
+ ys[ku] = function() {
724
724
  return this;
725
- }, Array.from(cs, function() {
725
+ }, Array.from(ys, function() {
726
726
  throw 2;
727
727
  });
728
728
  } catch {
729
729
  }
730
- var Sd = function(a, e) {
730
+ var Ad = function(a, e) {
731
731
  try {
732
- if (!e && !_u) return !1;
732
+ if (!e && !Bu) return !1;
733
733
  } catch {
734
734
  return !1;
735
735
  }
736
736
  var t = !1;
737
737
  try {
738
738
  var r = {};
739
- r[Mu] = function() {
739
+ r[ku] = function() {
740
740
  return {
741
741
  next: function() {
742
742
  return { done: t = !0 };
@@ -746,65 +746,65 @@ var Sd = function(a, e) {
746
746
  } catch {
747
747
  }
748
748
  return t;
749
- }, Ed = Cr, $d = Sd, wd = Pt.CONSTRUCTOR, Vu = wd || !$d(function(a) {
750
- Ed.all(a).then(void 0, function() {
749
+ }, Pd = Nr, Rd = Ad, Nd = Pt.CONSTRUCTOR, ju = Nd || !Rd(function(a) {
750
+ Pd.all(a).then(void 0, function() {
751
751
  });
752
- }), Cd = ee, Ad = Y, Pd = Te, Rd = lt, Nd = Vi, Id = Iu, Md = Vu;
753
- Cd({ target: "Promise", stat: !0, forced: Md }, {
752
+ }), Id = ee, Md = Y, _d = Te, Vd = ut, Dd = Vi, Ld = Lu, kd = ju;
753
+ Id({ target: "Promise", stat: !0, forced: kd }, {
754
754
  all: function(e) {
755
- var t = this, r = Rd.f(t), i = r.resolve, n = r.reject, o = Nd(function() {
756
- var s = Pd(t.resolve), u = [], l = 0, h = 1;
757
- Id(e, function(f) {
755
+ var t = this, r = Vd.f(t), i = r.resolve, n = r.reject, o = Dd(function() {
756
+ var s = _d(t.resolve), u = [], l = 0, h = 1;
757
+ Ld(e, function(f) {
758
758
  var c = l++, v = !1;
759
- h++, Ad(s, t, f).then(function(d) {
760
- v || (v = !0, u[c] = d, --h || i(u));
759
+ h++, Md(s, t, f).then(function(g) {
760
+ v || (v = !0, u[c] = g, --h || i(u));
761
761
  }, n);
762
762
  }), --h || i(u);
763
763
  });
764
764
  return o.error && n(o.value), r.promise;
765
765
  }
766
766
  });
767
- var _d = ee, Vd = Pt.CONSTRUCTOR, ri = Cr, Dd = Fe, kd = B, Ld = Ue, gs = ri && ri.prototype;
768
- _d({ target: "Promise", proto: !0, forced: Vd, real: !0 }, {
767
+ var Bd = ee, jd = Pt.CONSTRUCTOR, ai = Nr, Fd = Fe, Ud = B, Gd = Ue, ms = ai && ai.prototype;
768
+ Bd({ target: "Promise", proto: !0, forced: jd, real: !0 }, {
769
769
  catch: function(a) {
770
770
  return this.then(void 0, a);
771
771
  }
772
772
  });
773
- if (kd(ri)) {
774
- var ds = Dd("Promise").prototype.catch;
775
- gs.catch !== ds && Ld(gs, "catch", ds, { unsafe: !0 });
773
+ if (Ud(ai)) {
774
+ var bs = Fd("Promise").prototype.catch;
775
+ ms.catch !== bs && Gd(ms, "catch", bs, { unsafe: !0 });
776
776
  }
777
- var Bd = ee, jd = Y, Fd = Te, Ud = lt, Gd = Vi, zd = Iu, Hd = Vu;
778
- Bd({ target: "Promise", stat: !0, forced: Hd }, {
777
+ var zd = ee, Hd = Y, Yd = Te, Xd = ut, Wd = Vi, qd = Lu, Qd = ju;
778
+ zd({ target: "Promise", stat: !0, forced: Qd }, {
779
779
  race: function(e) {
780
- var t = this, r = Ud.f(t), i = r.reject, n = Gd(function() {
781
- var o = Fd(t.resolve);
782
- zd(e, function(s) {
783
- jd(o, t, s).then(r.resolve, i);
780
+ var t = this, r = Xd.f(t), i = r.reject, n = Wd(function() {
781
+ var o = Yd(t.resolve);
782
+ qd(e, function(s) {
783
+ Hd(o, t, s).then(r.resolve, i);
784
784
  });
785
785
  });
786
786
  return n.error && i(n.value), r.promise;
787
787
  }
788
788
  });
789
- var Yd = ee, Xd = lt, Wd = Pt.CONSTRUCTOR;
790
- Yd({ target: "Promise", stat: !0, forced: Wd }, {
789
+ var Kd = ee, Zd = ut, Jd = Pt.CONSTRUCTOR;
790
+ Kd({ target: "Promise", stat: !0, forced: Jd }, {
791
791
  reject: function(e) {
792
- var t = Xd.f(this), r = t.reject;
792
+ var t = Zd.f(this), r = t.reject;
793
793
  return r(e), t.promise;
794
794
  }
795
795
  });
796
- var qd = J, Qd = ve, Kd = lt, Zd = function(a, e) {
797
- if (qd(a), Qd(e) && e.constructor === a) return e;
798
- var t = Kd.f(a), r = t.resolve;
796
+ var ep = J, tp = ae, rp = ut, ap = function(a, e) {
797
+ if (ep(a), tp(e) && e.constructor === a) return e;
798
+ var t = rp.f(a), r = t.resolve;
799
799
  return r(e), t.promise;
800
- }, Jd = ee, ep = Fe, tp = Pt.CONSTRUCTOR, rp = Zd;
801
- ep("Promise");
802
- Jd({ target: "Promise", stat: !0, forced: tp }, {
800
+ }, ip = ee, np = Fe, sp = Pt.CONSTRUCTOR, op = ap;
801
+ np("Promise");
802
+ ip({ target: "Promise", stat: !0, forced: sp }, {
803
803
  resolve: function(e) {
804
- return rp(this, e);
804
+ return op(this, e);
805
805
  }
806
806
  });
807
- function ps(a, e, t, r, i, n, o) {
807
+ function xs(a, e, t, r, i, n, o) {
808
808
  try {
809
809
  var s = a[n](o), u = s.value;
810
810
  } catch (l) {
@@ -818,102 +818,103 @@ function xe(a) {
818
818
  return new Promise(function(r, i) {
819
819
  var n = a.apply(e, t);
820
820
  function o(u) {
821
- ps(n, r, i, o, s, "next", u);
821
+ xs(n, r, i, o, s, "next", u);
822
822
  }
823
823
  function s(u) {
824
- ps(n, r, i, o, s, "throw", u);
824
+ xs(n, r, i, o, s, "throw", u);
825
825
  }
826
826
  o(void 0);
827
827
  });
828
828
  };
829
829
  }
830
- var ap = Ni, ip = String, pe = function(a) {
831
- if (ap(a) === "Symbol") throw new TypeError("Cannot convert a Symbol value to a string");
832
- return ip(a);
833
- }, np = J, Du = function() {
834
- var a = np(this), e = "";
830
+ var up = Ni, lp = String, pe = function(a) {
831
+ if (up(a) === "Symbol") throw new TypeError("Cannot convert a Symbol value to a string");
832
+ return lp(a);
833
+ }, hp = J, Fu = function() {
834
+ var a = hp(this), e = "";
835
835
  return a.hasIndices && (e += "d"), a.global && (e += "g"), a.ignoreCase && (e += "i"), a.multiline && (e += "m"), a.dotAll && (e += "s"), a.unicode && (e += "u"), a.unicodeSets && (e += "v"), a.sticky && (e += "y"), e;
836
- }, ji = k, sp = D, Fi = sp.RegExp, Ui = ji(function() {
836
+ }, ji = D, vp = _, Fi = vp.RegExp, Ui = ji(function() {
837
837
  var a = Fi("a", "y");
838
838
  return a.lastIndex = 2, a.exec("abcd") !== null;
839
- }), op = Ui || ji(function() {
839
+ });
840
+ Ui || ji(function() {
840
841
  return !Fi("a", "y").sticky;
841
- }), up = Ui || ji(function() {
842
+ });
843
+ var fp = Ui || ji(function() {
842
844
  var a = Fi("^r", "gy");
843
845
  return a.lastIndex = 2, a.exec("str") !== null;
844
- }), ku = {
845
- BROKEN_CARET: up,
846
- MISSED_STICKY: op,
846
+ }), Uu = {
847
+ BROKEN_CARET: fp,
847
848
  UNSUPPORTED_Y: Ui
848
- }, Lu = {}, lp = Jo, hp = Ri, vp = Object.keys || function(e) {
849
- return lp(e, hp);
850
- }, fp = le, cp = Ho, gp = Oe, dp = J, pp = $t, yp = vp;
851
- Lu.f = fp && !cp ? Object.defineProperties : function(e, t) {
852
- dp(e);
853
- for (var r = pp(t), i = yp(t), n = i.length, o = 0, s; n > o; ) gp.f(e, s = i[o++], r[s]);
849
+ }, Gu = {}, cp = au, gp = Ri, dp = Object.keys || function(e) {
850
+ return cp(e, gp);
851
+ }, pp = he, yp = Wo, mp = Oe, bp = J, xp = $t, Tp = dp;
852
+ Gu.f = pp && !yp ? Object.defineProperties : function(e, t) {
853
+ bp(e);
854
+ for (var r = xp(t), i = Tp(t), n = i.length, o = 0, s; n > o; ) mp.f(e, s = i[o++], r[s]);
854
855
  return e;
855
856
  };
856
- var mp = J, bp = Lu, ys = Ri, xp = Ci, Tp = vu, Op = Tr, Sp = wi, ms = ">", bs = "<", ai = "prototype", ii = "script", Bu = Sp("IE_PROTO"), xa = function() {
857
- }, ju = function(a) {
858
- return bs + ii + ms + a + bs + "/" + ii + ms;
859
- }, xs = function(a) {
860
- a.write(ju("")), a.close();
857
+ var Op = J, Sp = Gu, Ts = Ri, Ep = Ci, $p = pu, wp = Er, Cp = wi, Os = ">", Ss = "<", ii = "prototype", ni = "script", zu = Cp("IE_PROTO"), Ea = function() {
858
+ }, Hu = function(a) {
859
+ return Ss + ni + Os + a + Ss + "/" + ni + Os;
860
+ }, Es = function(a) {
861
+ a.write(Hu("")), a.close();
861
862
  var e = a.parentWindow.Object;
862
863
  return a = null, e;
863
- }, Ep = function() {
864
- var a = Op("iframe"), e = "java" + ii + ":", t;
865
- return a.style.display = "none", Tp.appendChild(a), a.src = String(e), t = a.contentWindow.document, t.open(), t.write(ju("document.F=Object")), t.close(), t.F;
866
- }, Kt, ur = function() {
864
+ }, Ap = function() {
865
+ var a = wp("iframe"), e = "java" + ni + ":", t;
866
+ return a.style.display = "none", $p.appendChild(a), a.src = String(e), t = a.contentWindow.document, t.open(), t.write(Hu("document.F=Object")), t.close(), t.F;
867
+ }, Zt, vr = function() {
867
868
  try {
868
- Kt = new ActiveXObject("htmlfile");
869
+ Zt = new ActiveXObject("htmlfile");
869
870
  } catch {
870
871
  }
871
- ur = typeof document < "u" ? document.domain && Kt ? xs(Kt) : Ep() : xs(Kt);
872
- for (var a = ys.length; a--; ) delete ur[ai][ys[a]];
873
- return ur();
872
+ vr = typeof document < "u" ? document.domain && Zt ? Es(Zt) : Ap() : Es(Zt);
873
+ for (var a = Ts.length; a--; ) delete vr[ii][Ts[a]];
874
+ return vr();
874
875
  };
875
- xp[Bu] = !0;
876
+ Ep[zu] = !0;
876
877
  var Gi = Object.create || function(e, t) {
877
878
  var r;
878
- return e !== null ? (xa[ai] = mp(e), r = new xa(), xa[ai] = null, r[Bu] = e) : r = ur(), t === void 0 ? r : bp.f(r, t);
879
- }, $p = k, wp = D, Cp = wp.RegExp, Ap = $p(function() {
880
- var a = Cp(".", "s");
879
+ return e !== null ? (Ea[ii] = Op(e), r = new Ea(), Ea[ii] = null, r[zu] = e) : r = vr(), t === void 0 ? r : Sp.f(r, t);
880
+ }, Pp = D, Rp = _, Np = Rp.RegExp, Ip = Pp(function() {
881
+ var a = Np(".", "s");
881
882
  return !(a.dotAll && a.test(`
882
883
  `) && a.flags === "s");
883
- }), Pp = k, Rp = D, Np = Rp.RegExp, Ip = Pp(function() {
884
- var a = Np("(?<a>b)", "g");
884
+ }), Mp = D, _p = _, Vp = _p.RegExp, Dp = Mp(function() {
885
+ var a = Vp("(?<a>b)", "g");
885
886
  return a.exec("b").groups.a !== "b" || "b".replace(a, "$<a>c") !== "bc";
886
- }), et = Y, Pr = L, Mp = pe, _p = Du, Vp = ku, Dp = Si, kp = Gi, Lp = Sr.get, Bp = Ap, jp = Ip, Fp = Dp("native-string-replace", String.prototype.replace), dr = RegExp.prototype.exec, ni = dr, Up = Pr("".charAt), Gp = Pr("".indexOf), zp = Pr("".replace), Ta = Pr("".slice), si = function() {
887
+ }), Je = Y, Mr = L, Lp = pe, kp = Fu, Bp = Uu, jp = Ei, Fp = Gi, Up = wr.get, Gp = Ip, zp = Dp, Hp = jp("native-string-replace", String.prototype.replace), mr = RegExp.prototype.exec, si = mr, Yp = Mr("".charAt), Xp = Mr("".indexOf), Wp = Mr("".replace), $a = Mr("".slice), oi = function() {
887
888
  var a = /a/, e = /b*/g;
888
- return et(dr, a, "a"), et(dr, e, "a"), a.lastIndex !== 0 || e.lastIndex !== 0;
889
- }(), Fu = Vp.BROKEN_CARET, oi = /()??/.exec("")[1] !== void 0, Hp = si || oi || Fu || Bp || jp;
890
- Hp && (ni = function(e) {
891
- var t = this, r = Lp(t), i = Mp(e), n = r.raw, o, s, u, l, h, f, c;
889
+ return Je(mr, a, "a"), Je(mr, e, "a"), a.lastIndex !== 0 || e.lastIndex !== 0;
890
+ }(), Yu = Bp.BROKEN_CARET, ui = /()??/.exec("")[1] !== void 0, qp = oi || ui || Yu || Gp || zp;
891
+ qp && (si = function(e) {
892
+ var t = this, r = Up(t), i = Lp(e), n = r.raw, o, s, u, l, h, f, c;
892
893
  if (n)
893
- return n.lastIndex = t.lastIndex, o = et(ni, n, i), t.lastIndex = n.lastIndex, o;
894
- var v = r.groups, d = Fu && t.sticky, g = et(_p, t), p = t.source, y = 0, x = i;
895
- if (d && (g = zp(g, "y", ""), Gp(g, "g") === -1 && (g += "g"), x = Ta(i, t.lastIndex), t.lastIndex > 0 && (!t.multiline || t.multiline && Up(i, t.lastIndex - 1) !== `
896
- `) && (p = "(?: " + p + ")", x = " " + x, y++), s = new RegExp("^(?:" + p + ")", g)), oi && (s = new RegExp("^" + p + "$(?!\\s)", g)), si && (u = t.lastIndex), l = et(dr, d ? s : t, x), d ? l ? (l.input = Ta(l.input, y), l[0] = Ta(l[0], y), l.index = t.lastIndex, t.lastIndex += l[0].length) : t.lastIndex = 0 : si && l && (t.lastIndex = t.global ? l.index + l[0].length : u), oi && l && l.length > 1 && et(Fp, l[0], s, function() {
894
+ return n.lastIndex = t.lastIndex, o = Je(si, n, i), t.lastIndex = n.lastIndex, o;
895
+ var v = r.groups, g = Yu && t.sticky, d = Je(kp, t), p = t.source, y = 0, x = i;
896
+ if (g && (d = Wp(d, "y", ""), Xp(d, "g") === -1 && (d += "g"), x = $a(i, t.lastIndex), t.lastIndex > 0 && (!t.multiline || t.multiline && Yp(i, t.lastIndex - 1) !== `
897
+ `) && (p = "(?: " + p + ")", x = " " + x, y++), s = new RegExp("^(?:" + p + ")", d)), ui && (s = new RegExp("^" + p + "$(?!\\s)", d)), oi && (u = t.lastIndex), l = Je(mr, g ? s : t, x), g ? l ? (l.input = $a(l.input, y), l[0] = $a(l[0], y), l.index = t.lastIndex, t.lastIndex += l[0].length) : t.lastIndex = 0 : oi && l && (t.lastIndex = t.global ? l.index + l[0].length : u), ui && l && l.length > 1 && Je(Hp, l[0], s, function() {
897
898
  for (h = 1; h < arguments.length - 2; h++)
898
899
  arguments[h] === void 0 && (l[h] = void 0);
899
900
  }), l && v)
900
- for (l.groups = f = kp(null), h = 0; h < v.length; h++)
901
+ for (l.groups = f = Fp(null), h = 0; h < v.length; h++)
901
902
  c = v[h], f[c[0]] = l[c[1]];
902
903
  return l;
903
904
  });
904
- var zi = ni, Yp = ee, Ts = zi;
905
- Yp({ target: "RegExp", proto: !0, forced: /./.exec !== Ts }, {
906
- exec: Ts
905
+ var zi = si, Qp = ee, $s = zi;
906
+ Qp({ target: "RegExp", proto: !0, forced: /./.exec !== $s }, {
907
+ exec: $s
907
908
  });
908
- var Os = Y, Ss = Ue, Xp = zi, Es = k, Uu = z, Wp = wt, qp = Uu("species"), Oa = RegExp.prototype, Hi = function(a, e, t, r) {
909
- var i = Uu(a), n = !Es(function() {
909
+ var ws = Y, Cs = Ue, Kp = zi, As = D, Xu = z, Zp = Ct, Jp = Xu("species"), wa = RegExp.prototype, Hi = function(a, e, t, r) {
910
+ var i = Xu(a), n = !As(function() {
910
911
  var l = {};
911
912
  return l[i] = function() {
912
913
  return 7;
913
914
  }, ""[a](l) !== 7;
914
- }), o = n && !Es(function() {
915
+ }), o = n && !As(function() {
915
916
  var l = !1, h = /a/;
916
- return a === "split" && (h = {}, h.constructor = {}, h.constructor[qp] = function() {
917
+ return a === "split" && (h = {}, h.constructor = {}, h.constructor[Jp] = function() {
917
918
  return h;
918
919
  }, h.flags = "", h[i] = /./[i]), h.exec = function() {
919
920
  return l = !0, null;
@@ -921,212 +922,236 @@ var Os = Y, Ss = Ue, Xp = zi, Es = k, Uu = z, Wp = wt, qp = Uu("species"), Oa =
921
922
  });
922
923
  if (!n || !o || t) {
923
924
  var s = /./[i], u = e(i, ""[a], function(l, h, f, c, v) {
924
- var d = h.exec;
925
- return d === Xp || d === Oa.exec ? n && !v ? { done: !0, value: Os(s, h, f, c) } : { done: !0, value: Os(l, f, h, c) } : { done: !1 };
925
+ var g = h.exec;
926
+ return g === Kp || g === wa.exec ? n && !v ? { done: !0, value: ws(s, h, f, c) } : { done: !0, value: ws(l, f, h, c) } : { done: !1 };
926
927
  });
927
- Ss(String.prototype, a, u[0]), Ss(Oa, i, u[1]);
928
+ Cs(String.prototype, a, u[0]), Cs(wa, i, u[1]);
928
929
  }
929
- r && Wp(Oa[i], "sham", !0);
930
- }, Yi = L, Qp = Er, Kp = pe, Zp = he, Jp = Yi("".charAt), $s = Yi("".charCodeAt), ey = Yi("".slice), ws = function(a) {
930
+ r && Zp(wa[i], "sham", !0);
931
+ }, Yi = L, ey = Cr, ty = pe, ry = ve, ay = Yi("".charAt), Ps = Yi("".charCodeAt), iy = Yi("".slice), ny = function(a) {
931
932
  return function(e, t) {
932
- var r = Kp(Zp(e)), i = Qp(t), n = r.length, o, s;
933
- return i < 0 || i >= n ? a ? "" : void 0 : (o = $s(r, i), o < 55296 || o > 56319 || i + 1 === n || (s = $s(r, i + 1)) < 56320 || s > 57343 ? a ? Jp(r, i) : o : a ? ey(r, i, i + 2) : (o - 55296 << 10) + (s - 56320) + 65536);
933
+ var r = ty(ry(e)), i = ey(t), n = r.length, o, s;
934
+ return i < 0 || i >= n ? a ? "" : void 0 : (o = Ps(r, i), o < 55296 || o > 56319 || i + 1 === n || (s = Ps(r, i + 1)) < 56320 || s > 57343 ? a ? ay(r, i) : o : a ? iy(r, i, i + 2) : (o - 55296 << 10) + (s - 56320) + 65536);
934
935
  };
935
- }, ty = {
936
- // `String.prototype.codePointAt` method
937
- // https://tc39.es/ecma262/#sec-string.prototype.codepointat
938
- codeAt: ws(!1),
936
+ }, sy = {
939
937
  // `String.prototype.at` method
940
938
  // https://github.com/mathiasbynens/String.prototype.at
941
- charAt: ws(!0)
942
- }, ry = ty.charAt, Xi = function(a, e, t) {
943
- return e + (t ? ry(a, e).length : 1);
944
- }, Cs = Y, ay = J, iy = B, ny = Be, sy = zi, oy = TypeError, Wi = function(a, e) {
939
+ charAt: ny(!0)
940
+ }, oy = sy.charAt, Xi = function(a, e, t) {
941
+ return e + (t ? oy(a, e).length : 1);
942
+ }, uy = _, ly = D, Rs = uy.RegExp, hy = !ly(function() {
943
+ var a = !0;
944
+ try {
945
+ Rs(".", "d");
946
+ } catch {
947
+ a = !1;
948
+ }
949
+ var e = {}, t = "", r = a ? "dgimsy" : "gimsy", i = function(u, l) {
950
+ Object.defineProperty(e, u, { get: function() {
951
+ return t += l, !0;
952
+ } });
953
+ }, n = {
954
+ dotAll: "s",
955
+ global: "g",
956
+ ignoreCase: "i",
957
+ multiline: "m",
958
+ sticky: "y"
959
+ };
960
+ a && (n.hasIndices = "d");
961
+ for (var o in n) i(o, n[o]);
962
+ var s = Object.getOwnPropertyDescriptor(Rs.prototype, "flags").get.call(e);
963
+ return s !== r || t !== r;
964
+ }), vy = { correct: hy }, fy = Y, cy = fe, gy = Tr, Ns = vy, dy = Fu, py = RegExp.prototype, Wi = Ns.correct ? function(a) {
965
+ return a.flags;
966
+ } : function(a) {
967
+ return !Ns.correct && gy(py, a) && !cy(a, "flags") ? fy(dy, a) : a.flags;
968
+ }, Is = Y, yy = J, my = B, by = je, xy = zi, Ty = TypeError, qi = function(a, e) {
945
969
  var t = a.exec;
946
- if (iy(t)) {
947
- var r = Cs(t, a, e);
948
- return r !== null && ay(r), r;
949
- }
950
- if (ny(a) === "RegExp") return Cs(sy, a, e);
951
- throw new oy("RegExp#exec called on incompatible receiver");
952
- }, uy = Y, ly = Hi, hy = J, vy = je, fy = ut, Sa = pe, cy = he, gy = ot, dy = Xi, As = Wi;
953
- ly("match", function(a, e, t) {
970
+ if (my(t)) {
971
+ var r = Is(t, a, e);
972
+ return r !== null && yy(r), r;
973
+ }
974
+ if (by(a) === "RegExp") return Is(xy, a, e);
975
+ throw new Ty("RegExp#exec called on incompatible receiver");
976
+ }, Oy = Y, Sy = L, Ey = Hi, $y = J, wy = ae, Cy = ot, Jt = pe, Ay = ve, Py = st, Ry = Xi, Ny = Wi, Ms = qi, _s = Sy("".indexOf);
977
+ Ey("match", function(a, e, t) {
954
978
  return [
955
979
  // `String.prototype.match` method
956
980
  // https://tc39.es/ecma262/#sec-string.prototype.match
957
981
  function(i) {
958
- var n = cy(this), o = vy(i) ? void 0 : gy(i, a);
959
- return o ? uy(o, i, n) : new RegExp(i)[a](Sa(n));
982
+ var n = Ay(this), o = wy(i) ? Py(i, a) : void 0;
983
+ return o ? Oy(o, i, n) : new RegExp(i)[a](Jt(n));
960
984
  },
961
985
  // `RegExp.prototype[@@match]` method
962
986
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
963
987
  function(r) {
964
- var i = hy(this), n = Sa(r), o = t(e, i, n);
988
+ var i = $y(this), n = Jt(r), o = t(e, i, n);
965
989
  if (o.done) return o.value;
966
- if (!i.global) return As(i, n);
967
- var s = i.unicode;
990
+ var s = Jt(Ny(i));
991
+ if (_s(s, "g") === -1) return Ms(i, n);
992
+ var u = _s(s, "u") !== -1;
968
993
  i.lastIndex = 0;
969
- for (var u = [], l = 0, h; (h = As(i, n)) !== null; ) {
970
- var f = Sa(h[0]);
971
- u[l] = f, f === "" && (i.lastIndex = dy(n, fy(i.lastIndex), s)), l++;
994
+ for (var l = [], h = 0, f; (f = Ms(i, n)) !== null; ) {
995
+ var c = Jt(f[0]);
996
+ l[h] = c, c === "" && (i.lastIndex = Ry(n, Cy(i.lastIndex), u)), h++;
972
997
  }
973
- return l === 0 ? null : u;
998
+ return h === 0 ? null : l;
974
999
  }
975
1000
  ];
976
1001
  });
977
- var qi = L, py = xr, yy = Math.floor, Ea = qi("".charAt), my = qi("".replace), $a = qi("".slice), by = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, xy = /\$([$&'`]|\d{1,2})/g, Ty = function(a, e, t, r, i, n) {
978
- var o = t + a.length, s = r.length, u = xy;
979
- return i !== void 0 && (i = py(i), u = by), my(n, u, function(l, h) {
1002
+ var Qi = L, Iy = Sr, My = Math.floor, Ca = Qi("".charAt), _y = Qi("".replace), Aa = Qi("".slice), Vy = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, Dy = /\$([$&'`]|\d{1,2})/g, Ly = function(a, e, t, r, i, n) {
1003
+ var o = t + a.length, s = r.length, u = Dy;
1004
+ return i !== void 0 && (i = Iy(i), u = Vy), _y(n, u, function(l, h) {
980
1005
  var f;
981
- switch (Ea(h, 0)) {
1006
+ switch (Ca(h, 0)) {
982
1007
  case "$":
983
1008
  return "$";
984
1009
  case "&":
985
1010
  return a;
986
1011
  case "`":
987
- return $a(e, 0, t);
1012
+ return Aa(e, 0, t);
988
1013
  case "'":
989
- return $a(e, o);
1014
+ return Aa(e, o);
990
1015
  case "<":
991
- f = i[$a(h, 1, -1)];
1016
+ f = i[Aa(h, 1, -1)];
992
1017
  break;
993
1018
  default:
994
1019
  var c = +h;
995
1020
  if (c === 0) return l;
996
1021
  if (c > s) {
997
- var v = yy(c / 10);
998
- return v === 0 ? l : v <= s ? r[v - 1] === void 0 ? Ea(h, 1) : r[v - 1] + Ea(h, 1) : l;
1022
+ var v = My(c / 10);
1023
+ return v === 0 ? l : v <= s ? r[v - 1] === void 0 ? Ca(h, 1) : r[v - 1] + Ca(h, 1) : l;
999
1024
  }
1000
1025
  f = r[c - 1];
1001
1026
  }
1002
1027
  return f === void 0 ? "" : f;
1003
1028
  });
1004
- }, Oy = hu, Ps = Y, Rr = L, Sy = Hi, Ey = k, $y = J, wy = B, Cy = je, Ay = Er, Py = ut, We = pe, Ry = he, Ny = Xi, Iy = ot, My = Ty, _y = Wi, Vy = z, ui = Vy("replace"), Dy = Math.max, ky = Math.min, Ly = Rr([].concat), wa = Rr([].push), Rs = Rr("".indexOf), Ns = Rr("".slice), By = function(a) {
1029
+ }, ky = du, Vs = Y, _r = L, By = Hi, jy = D, Fy = J, Uy = B, Gy = ae, zy = Cr, Hy = ot, Me = pe, Yy = ve, Xy = Xi, Wy = st, qy = Ly, Qy = Wi, Ky = qi, Zy = z, li = Zy("replace"), Jy = Math.max, em = Math.min, tm = _r([].concat), Pa = _r([].push), er = _r("".indexOf), Ds = _r("".slice), rm = function(a) {
1005
1030
  return a === void 0 ? a : String(a);
1006
- }, jy = function() {
1031
+ }, am = function() {
1007
1032
  return "a".replace(/./, "$0") === "$0";
1008
- }(), Is = function() {
1009
- return /./[ui] ? /./[ui]("a", "$0") === "" : !1;
1010
- }(), Fy = !Ey(function() {
1033
+ }(), Ls = function() {
1034
+ return /./[li] ? /./[li]("a", "$0") === "" : !1;
1035
+ }(), im = !jy(function() {
1011
1036
  var a = /./;
1012
1037
  return a.exec = function() {
1013
1038
  var e = [];
1014
1039
  return e.groups = { a: "7" }, e;
1015
1040
  }, "".replace(a, "$<a>") !== "7";
1016
1041
  });
1017
- Sy("replace", function(a, e, t) {
1018
- var r = Is ? "$" : "$0";
1042
+ By("replace", function(a, e, t) {
1043
+ var r = Ls ? "$" : "$0";
1019
1044
  return [
1020
1045
  // `String.prototype.replace` method
1021
1046
  // https://tc39.es/ecma262/#sec-string.prototype.replace
1022
1047
  function(n, o) {
1023
- var s = Ry(this), u = Cy(n) ? void 0 : Iy(n, ui);
1024
- return u ? Ps(u, n, s, o) : Ps(e, We(s), n, o);
1048
+ var s = Yy(this), u = Gy(n) ? Wy(n, li) : void 0;
1049
+ return u ? Vs(u, n, s, o) : Vs(e, Me(s), n, o);
1025
1050
  },
1026
1051
  // `RegExp.prototype[@@replace]` method
1027
1052
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
1028
1053
  function(i, n) {
1029
- var o = $y(this), s = We(i);
1030
- if (typeof n == "string" && Rs(n, r) === -1 && Rs(n, "$<") === -1) {
1054
+ var o = Fy(this), s = Me(i);
1055
+ if (typeof n == "string" && er(n, r) === -1 && er(n, "$<") === -1) {
1031
1056
  var u = t(e, o, s, n);
1032
1057
  if (u.done) return u.value;
1033
1058
  }
1034
- var l = wy(n);
1035
- l || (n = We(n));
1036
- var h = o.global, f;
1037
- h && (f = o.unicode, o.lastIndex = 0);
1038
- for (var c = [], v; v = _y(o, s), !(v === null || (wa(c, v), !h)); ) {
1039
- var d = We(v[0]);
1040
- d === "" && (o.lastIndex = Ny(s, Py(o.lastIndex), f));
1059
+ var l = Uy(n);
1060
+ l || (n = Me(n));
1061
+ var h = Me(Qy(o)), f = er(h, "g") !== -1, c;
1062
+ f && (c = er(h, "u") !== -1, o.lastIndex = 0);
1063
+ for (var v = [], g; g = Ky(o, s), !(g === null || (Pa(v, g), !f)); ) {
1064
+ var d = Me(g[0]);
1065
+ d === "" && (o.lastIndex = Xy(s, Hy(o.lastIndex), c));
1041
1066
  }
1042
- for (var g = "", p = 0, y = 0; y < c.length; y++) {
1043
- v = c[y];
1044
- for (var x = We(v[0]), b = Dy(ky(Ay(v.index), s.length), 0), T = [], $, E = 1; E < v.length; E++) wa(T, By(v[E]));
1045
- var O = v.groups;
1067
+ for (var p = "", y = 0, x = 0; x < v.length; x++) {
1068
+ g = v[x];
1069
+ for (var b = Me(g[0]), T = Jy(em(zy(g.index), s.length), 0), $ = [], E, O = 1; O < g.length; O++) Pa($, rm(g[O]));
1070
+ var C = g.groups;
1046
1071
  if (l) {
1047
- var C = Ly([x], T, b, s);
1048
- O !== void 0 && wa(C, O), $ = We(Oy(n, void 0, C));
1072
+ var P = tm([b], $, T, s);
1073
+ C !== void 0 && Pa(P, C), E = Me(ky(n, void 0, P));
1049
1074
  } else
1050
- $ = My(x, s, b, T, O, n);
1051
- b >= p && (g += Ns(s, p, b) + $, p = b + x.length);
1075
+ E = qy(b, s, T, $, C, n);
1076
+ T >= y && (p += Ds(s, y, T) + E, y = T + b.length);
1052
1077
  }
1053
- return g + Ns(s, p);
1078
+ return p + Ds(s, y);
1054
1079
  }
1055
1080
  ];
1056
- }, !Fy || !jy || Is);
1057
- var Uy = ve, Gy = Be, zy = z, Hy = zy("match"), Yy = function(a) {
1081
+ }, !im || !am || Ls);
1082
+ var nm = ae, sm = je, om = z, um = om("match"), lm = function(a) {
1058
1083
  var e;
1059
- return Uy(a) && ((e = a[Hy]) !== void 0 ? !!e : Gy(a) === "RegExp");
1060
- }, Xy = Yy, Wy = TypeError, Qi = function(a) {
1061
- if (Xy(a))
1062
- throw new Wy("The method doesn't accept regular expressions");
1084
+ return nm(a) && ((e = a[um]) !== void 0 ? !!e : sm(a) === "RegExp");
1085
+ }, hm = lm, vm = TypeError, Ki = function(a) {
1086
+ if (hm(a))
1087
+ throw new vm("The method doesn't accept regular expressions");
1063
1088
  return a;
1064
- }, qy = z, Qy = qy("match"), Ki = function(a) {
1089
+ }, fm = z, cm = fm("match"), Zi = function(a) {
1065
1090
  var e = /./;
1066
1091
  try {
1067
1092
  "/./"[a](e);
1068
1093
  } catch {
1069
1094
  try {
1070
- return e[Qy] = !1, "/./"[a](e);
1095
+ return e[cm] = !1, "/./"[a](e);
1071
1096
  } catch {
1072
1097
  }
1073
1098
  }
1074
1099
  return !1;
1075
- }, Ky = ee, Zy = wr, Jy = Et.f, em = ut, Ms = pe, tm = Qi, rm = he, am = Ki, im = Zy("".slice), nm = Math.min, Gu = am("startsWith"), sm = !Gu && !!function() {
1076
- var a = Jy(String.prototype, "startsWith");
1100
+ }, gm = ee, dm = Rr, pm = Et.f, ym = ot, ks = pe, mm = Ki, bm = ve, xm = Zi, Tm = dm("".slice), Om = Math.min, Wu = xm("startsWith"), Sm = !Wu && !!function() {
1101
+ var a = pm(String.prototype, "startsWith");
1077
1102
  return a && !a.writable;
1078
1103
  }();
1079
- Ky({ target: "String", proto: !0, forced: !sm && !Gu }, {
1104
+ gm({ target: "String", proto: !0, forced: !Sm && !Wu }, {
1080
1105
  startsWith: function(e) {
1081
- var t = Ms(rm(this));
1082
- tm(e);
1083
- var r = em(nm(arguments.length > 1 ? arguments[1] : void 0, t.length)), i = Ms(e);
1084
- return im(t, r, r + i.length) === i;
1106
+ var t = ks(bm(this));
1107
+ mm(e);
1108
+ var r = ym(Om(arguments.length > 1 ? arguments[1] : void 0, t.length)), i = ks(e);
1109
+ return Tm(t, r, r + i.length) === i;
1085
1110
  }
1086
1111
  });
1087
- var om = z, um = Gi, lm = Oe.f, li = om("unscopables"), hi = Array.prototype;
1088
- hi[li] === void 0 && lm(hi, li, {
1112
+ var Em = z, $m = Gi, wm = Oe.f, hi = Em("unscopables"), vi = Array.prototype;
1113
+ vi[hi] === void 0 && wm(vi, hi, {
1089
1114
  configurable: !0,
1090
- value: um(null)
1115
+ value: $m(null)
1091
1116
  });
1092
- var hm = function(a) {
1093
- hi[li][a] = !0;
1094
- }, vm = k, fm = !vm(function() {
1117
+ var Cm = function(a) {
1118
+ vi[hi][a] = !0;
1119
+ }, Am = D, Pm = !Am(function() {
1095
1120
  function a() {
1096
1121
  }
1097
1122
  return a.prototype.constructor = null, Object.getPrototypeOf(new a()) !== a.prototype;
1098
- }), cm = fe, gm = B, dm = xr, pm = wi, ym = fm, _s = pm("IE_PROTO"), vi = Object, mm = vi.prototype, zu = ym ? vi.getPrototypeOf : function(a) {
1099
- var e = dm(a);
1100
- if (cm(e, _s)) return e[_s];
1123
+ }), Rm = fe, Nm = B, Im = Sr, Mm = wi, _m = Pm, Bs = Mm("IE_PROTO"), fi = Object, Vm = fi.prototype, qu = _m ? fi.getPrototypeOf : function(a) {
1124
+ var e = Im(a);
1125
+ if (Rm(e, Bs)) return e[Bs];
1101
1126
  var t = e.constructor;
1102
- return gm(t) && e instanceof t ? t.prototype : e instanceof vi ? mm : null;
1103
- }, bm = k, xm = B, Tm = ve, Vs = zu, Om = Ue, Sm = z, fi = Sm("iterator"), Hu = !1, ke, Ca, Aa;
1104
- [].keys && (Aa = [].keys(), "next" in Aa ? (Ca = Vs(Vs(Aa)), Ca !== Object.prototype && (ke = Ca)) : Hu = !0);
1105
- var Em = !Tm(ke) || bm(function() {
1127
+ return Nm(t) && e instanceof t ? t.prototype : e instanceof fi ? Vm : null;
1128
+ }, Dm = D, Lm = B, km = ae, js = qu, Bm = Ue, jm = z, ci = jm("iterator"), Qu = !1, ke, Ra, Na;
1129
+ [].keys && (Na = [].keys(), "next" in Na ? (Ra = js(js(Na)), Ra !== Object.prototype && (ke = Ra)) : Qu = !0);
1130
+ var Fm = !km(ke) || Dm(function() {
1106
1131
  var a = {};
1107
- return ke[fi].call(a) !== a;
1132
+ return ke[ci].call(a) !== a;
1108
1133
  });
1109
- Em && (ke = {});
1110
- xm(ke[fi]) || Om(ke, fi, function() {
1134
+ Fm && (ke = {});
1135
+ Lm(ke[ci]) || Bm(ke, ci, function() {
1111
1136
  return this;
1112
1137
  });
1113
- var Yu = {
1138
+ var Ku = {
1114
1139
  IteratorPrototype: ke,
1115
- BUGGY_SAFARI_ITERATORS: Hu
1116
- }, $m = Yu.IteratorPrototype, wm = Gi, Cm = bi, Am = $r, Pm = Rt, Rm = function() {
1140
+ BUGGY_SAFARI_ITERATORS: Qu
1141
+ }, Um = Ku.IteratorPrototype, Gm = Gi, zm = xi, Hm = Pr, Ym = Rt, Xm = function() {
1117
1142
  return this;
1118
- }, Nm = function(a, e, t, r) {
1143
+ }, Wm = function(a, e, t, r) {
1119
1144
  var i = e + " Iterator";
1120
- return a.prototype = wm($m, { next: Cm(+!r, t) }), Am(a, i, !1), Pm[i] = Rm, a;
1121
- }, Im = ee, Mm = Y, Xu = Or, _m = B, Vm = Nm, Ds = zu, ks = ru, Dm = $r, km = wt, Pa = Ue, Lm = z, Bm = Rt, Wu = Yu, jm = Xu.PROPER, Fm = Xu.CONFIGURABLE, Ls = Wu.IteratorPrototype, Zt = Wu.BUGGY_SAFARI_ITERATORS, ct = Lm("iterator"), Bs = "keys", gt = "values", js = "entries", Um = function() {
1145
+ return a.prototype = Gm(Um, { next: zm(+!r, t) }), Hm(a, i, !1), Ym[i] = Xm, a;
1146
+ }, qm = ee, Qm = Y, Zu = $r, Km = B, Zm = Wm, Fs = qu, Us = ou, Jm = Pr, e0 = Ct, Ia = Ue, t0 = z, r0 = Rt, Ju = Ku, a0 = Zu.PROPER, i0 = Zu.CONFIGURABLE, Gs = Ju.IteratorPrototype, tr = Ju.BUGGY_SAFARI_ITERATORS, ct = t0("iterator"), zs = "keys", gt = "values", Hs = "entries", n0 = function() {
1122
1147
  return this;
1123
- }, Gm = function(a, e, t, r, i, n, o) {
1124
- Vm(t, e, r);
1148
+ }, s0 = function(a, e, t, r, i, n, o) {
1149
+ Zm(t, e, r);
1125
1150
  var s = function(y) {
1126
1151
  if (y === i && c) return c;
1127
- if (!Zt && y && y in h) return h[y];
1152
+ if (!tr && y && y in h) return h[y];
1128
1153
  switch (y) {
1129
- case Bs:
1154
+ case zs:
1130
1155
  return function() {
1131
1156
  return new t(this, y);
1132
1157
  };
@@ -1134,7 +1159,7 @@ var Yu = {
1134
1159
  return function() {
1135
1160
  return new t(this, y);
1136
1161
  };
1137
- case js:
1162
+ case Hs:
1138
1163
  return function() {
1139
1164
  return new t(this, y);
1140
1165
  };
@@ -1142,24 +1167,24 @@ var Yu = {
1142
1167
  return function() {
1143
1168
  return new t(this);
1144
1169
  };
1145
- }, u = e + " Iterator", l = !1, h = a.prototype, f = h[ct] || h["@@iterator"] || i && h[i], c = !Zt && f || s(i), v = e === "Array" && h.entries || f, d, g, p;
1146
- if (v && (d = Ds(v.call(new a())), d !== Object.prototype && d.next && (Ds(d) !== Ls && (ks ? ks(d, Ls) : _m(d[ct]) || Pa(d, ct, Um)), Dm(d, u, !0))), jm && i === gt && f && f.name !== gt && (Fm ? km(h, "name", gt) : (l = !0, c = function() {
1147
- return Mm(f, this);
1170
+ }, u = e + " Iterator", l = !1, h = a.prototype, f = h[ct] || h["@@iterator"] || i && h[i], c = !tr && f || s(i), v = e === "Array" && h.entries || f, g, d, p;
1171
+ if (v && (g = Fs(v.call(new a())), g !== Object.prototype && g.next && (Fs(g) !== Gs && (Us ? Us(g, Gs) : Km(g[ct]) || Ia(g, ct, n0)), Jm(g, u, !0))), a0 && i === gt && f && f.name !== gt && (i0 ? e0(h, "name", gt) : (l = !0, c = function() {
1172
+ return Qm(f, this);
1148
1173
  })), i)
1149
- if (g = {
1174
+ if (d = {
1150
1175
  values: s(gt),
1151
- keys: n ? c : s(Bs),
1152
- entries: s(js)
1153
- }, o) for (p in g)
1154
- (Zt || l || !(p in h)) && Pa(h, p, g[p]);
1155
- else Im({ target: e, proto: !0, forced: Zt || l }, g);
1156
- return h[ct] !== c && Pa(h, ct, c, { name: i }), Bm[e] = c, g;
1157
- }, zm = function(a, e) {
1176
+ keys: n ? c : s(zs),
1177
+ entries: s(Hs)
1178
+ }, o) for (p in d)
1179
+ (tr || l || !(p in h)) && Ia(h, p, d[p]);
1180
+ else qm({ target: e, proto: !0, forced: tr || l }, d);
1181
+ return h[ct] !== c && Ia(h, ct, c, { name: i }), r0[e] = c, d;
1182
+ }, o0 = function(a, e) {
1158
1183
  return { value: a, done: e };
1159
- }, Hm = $t, Zi = hm, Fs = Rt, qu = Sr, Ym = Oe.f, Xm = Gm, Jt = zm, Wm = le, Qu = "Array Iterator", qm = qu.set, Qm = qu.getterFor(Qu), Km = Xm(Array, "Array", function(a, e) {
1160
- qm(this, {
1161
- type: Qu,
1162
- target: Hm(a),
1184
+ }, u0 = $t, Ji = Cm, Ys = Rt, el = wr, l0 = Oe.f, h0 = s0, rr = o0, v0 = he, tl = "Array Iterator", f0 = el.set, c0 = el.getterFor(tl), g0 = h0(Array, "Array", function(a, e) {
1185
+ f0(this, {
1186
+ type: tl,
1187
+ target: u0(a),
1163
1188
  // target
1164
1189
  index: 0,
1165
1190
  // next index
@@ -1167,25 +1192,25 @@ var Yu = {
1167
1192
  // kind
1168
1193
  });
1169
1194
  }, function() {
1170
- var a = Qm(this), e = a.target, t = a.index++;
1195
+ var a = c0(this), e = a.target, t = a.index++;
1171
1196
  if (!e || t >= e.length)
1172
- return a.target = void 0, Jt(void 0, !0);
1197
+ return a.target = null, rr(void 0, !0);
1173
1198
  switch (a.kind) {
1174
1199
  case "keys":
1175
- return Jt(t, !1);
1200
+ return rr(t, !1);
1176
1201
  case "values":
1177
- return Jt(e[t], !1);
1178
- }
1179
- return Jt([t, e[t]], !1);
1180
- }, "values"), Us = Fs.Arguments = Fs.Array;
1181
- Zi("keys");
1182
- Zi("values");
1183
- Zi("entries");
1184
- if (Wm && Us.name !== "values") try {
1185
- Ym(Us, "name", { value: "values" });
1202
+ return rr(e[t], !1);
1203
+ }
1204
+ return rr([t, e[t]], !1);
1205
+ }, "values"), Xs = Ys.Arguments = Ys.Array;
1206
+ Ji("keys");
1207
+ Ji("values");
1208
+ Ji("entries");
1209
+ if (v0 && Xs.name !== "values") try {
1210
+ l0(Xs, "name", { value: "values" });
1186
1211
  } catch {
1187
1212
  }
1188
- var Zm = {
1213
+ var d0 = {
1189
1214
  CSSRuleList: 0,
1190
1215
  CSSStyleDeclaration: 0,
1191
1216
  CSSValueList: 0,
@@ -1217,52 +1242,52 @@ var Zm = {
1217
1242
  TextTrackCueList: 0,
1218
1243
  TextTrackList: 0,
1219
1244
  TouchList: 0
1220
- }, Jm = Tr, Ra = Jm("span").classList, Gs = Ra && Ra.constructor && Ra.constructor.prototype, e0 = Gs === Object.prototype ? void 0 : Gs, zs = D, Ku = Zm, t0 = e0, pt = Km, Hs = wt, r0 = $r, a0 = z, Na = a0("iterator"), Ia = pt.values, Zu = function(a, e) {
1245
+ }, p0 = Er, Ma = p0("span").classList, Ws = Ma && Ma.constructor && Ma.constructor.prototype, y0 = Ws === Object.prototype ? void 0 : Ws, qs = _, rl = d0, m0 = y0, pt = g0, Qs = Ct, b0 = Pr, x0 = z, _a = x0("iterator"), Va = pt.values, al = function(a, e) {
1221
1246
  if (a) {
1222
- if (a[Na] !== Ia) try {
1223
- Hs(a, Na, Ia);
1247
+ if (a[_a] !== Va) try {
1248
+ Qs(a, _a, Va);
1224
1249
  } catch {
1225
- a[Na] = Ia;
1250
+ a[_a] = Va;
1226
1251
  }
1227
- if (r0(a, e, !0), Ku[e]) {
1252
+ if (b0(a, e, !0), rl[e]) {
1228
1253
  for (var t in pt)
1229
1254
  if (a[t] !== pt[t]) try {
1230
- Hs(a, t, pt[t]);
1255
+ Qs(a, t, pt[t]);
1231
1256
  } catch {
1232
1257
  a[t] = pt[t];
1233
1258
  }
1234
1259
  }
1235
1260
  }
1236
1261
  };
1237
- for (var Ma in Ku)
1238
- Zu(zs[Ma] && zs[Ma].prototype, Ma);
1239
- Zu(t0, "DOMTokenList");
1240
- function i0(a, e) {
1241
- if (Ua(a) != "object" || !a) return a;
1262
+ for (var Da in rl)
1263
+ al(qs[Da] && qs[Da].prototype, Da);
1264
+ al(m0, "DOMTokenList");
1265
+ function T0(a, e) {
1266
+ if (za(a) != "object" || !a) return a;
1242
1267
  var t = a[Symbol.toPrimitive];
1243
1268
  if (t !== void 0) {
1244
- var r = t.call(a, e || "default");
1245
- if (Ua(r) != "object") return r;
1269
+ var r = t.call(a, e);
1270
+ if (za(r) != "object") return r;
1246
1271
  throw new TypeError("@@toPrimitive must return a primitive value.");
1247
1272
  }
1248
1273
  return (e === "string" ? String : Number)(a);
1249
1274
  }
1250
- function n0(a) {
1251
- var e = i0(a, "string");
1252
- return Ua(e) == "symbol" ? e : e + "";
1275
+ function O0(a) {
1276
+ var e = T0(a, "string");
1277
+ return za(e) == "symbol" ? e : e + "";
1253
1278
  }
1254
- function Ji(a, e, t) {
1255
- return (e = n0(e)) in a ? Object.defineProperty(a, e, {
1279
+ function en(a, e, t) {
1280
+ return (e = O0(e)) in a ? Object.defineProperty(a, e, {
1256
1281
  value: t,
1257
1282
  enumerable: !0,
1258
1283
  configurable: !0,
1259
1284
  writable: !0
1260
1285
  }) : a[e] = t, a;
1261
1286
  }
1262
- var s0 = Te, o0 = xr, u0 = Do, l0 = Pi, Ys = TypeError, Xs = "Reduce of empty array with no initial value", Ws = function(a) {
1287
+ var S0 = Te, E0 = Sr, $0 = Bo, w0 = Pi, Ks = TypeError, Zs = "Reduce of empty array with no initial value", C0 = function(a) {
1263
1288
  return function(e, t, r, i) {
1264
- var n = o0(e), o = u0(n), s = l0(n);
1265
- if (s0(t), s === 0 && r < 2) throw new Ys(Xs);
1289
+ var n = E0(e), o = $0(n), s = w0(n);
1290
+ if (S0(t), s === 0 && r < 2) throw new Ks(Zs);
1266
1291
  var u = a ? s - 1 : 0, l = a ? -1 : 1;
1267
1292
  if (r < 2) for (; ; ) {
1268
1293
  if (u in o) {
@@ -1270,64 +1295,61 @@ var s0 = Te, o0 = xr, u0 = Do, l0 = Pi, Ys = TypeError, Xs = "Reduce of empty ar
1270
1295
  break;
1271
1296
  }
1272
1297
  if (u += l, a ? u < 0 : s <= u)
1273
- throw new Ys(Xs);
1298
+ throw new Ks(Zs);
1274
1299
  }
1275
1300
  for (; a ? u >= 0 : s > u; u += l) u in o && (i = t(i, o[u], u, n));
1276
1301
  return i;
1277
1302
  };
1278
- }, h0 = {
1303
+ }, A0 = {
1279
1304
  // `Array.prototype.reduce` method
1280
1305
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
1281
- left: Ws(!1),
1282
- // `Array.prototype.reduceRight` method
1283
- // https://tc39.es/ecma262/#sec-array.prototype.reduceright
1284
- right: Ws(!0)
1285
- }, v0 = k, Ju = function(a, e) {
1306
+ left: C0(!1)
1307
+ }, P0 = D, il = function(a, e) {
1286
1308
  var t = [][a];
1287
- return !!t && v0(function() {
1309
+ return !!t && P0(function() {
1288
1310
  t.call(null, e || function() {
1289
1311
  return 1;
1290
1312
  }, 1);
1291
1313
  });
1292
- }, f0 = ee, c0 = h0.left, g0 = Ju, qs = xi, d0 = At, p0 = !d0 && qs > 79 && qs < 83, y0 = p0 || !g0("reduce");
1293
- f0({ target: "Array", proto: !0, forced: y0 }, {
1314
+ }, R0 = ee, N0 = A0.left, I0 = il, Js = Ti, M0 = Ar, _0 = !M0 && Js > 79 && Js < 83, V0 = _0 || !I0("reduce");
1315
+ R0({ target: "Array", proto: !0, forced: V0 }, {
1294
1316
  reduce: function(e) {
1295
1317
  var t = arguments.length;
1296
- return c0(this, e, t, t > 1 ? arguments[1] : void 0);
1318
+ return N0(this, e, t, t > 1 ? arguments[1] : void 0);
1297
1319
  }
1298
1320
  });
1299
- var m0 = ee, b0 = wr, x0 = Et.f, T0 = ut, Qs = pe, O0 = Qi, S0 = he, E0 = Ki, $0 = b0("".slice), w0 = Math.min, el = E0("endsWith"), C0 = !el && !!function() {
1300
- var a = x0(String.prototype, "endsWith");
1321
+ var D0 = ee, L0 = Rr, k0 = Et.f, B0 = ot, eo = pe, j0 = Ki, F0 = ve, U0 = Zi, G0 = L0("".slice), z0 = Math.min, nl = U0("endsWith"), H0 = !nl && !!function() {
1322
+ var a = k0(String.prototype, "endsWith");
1301
1323
  return a && !a.writable;
1302
1324
  }();
1303
- m0({ target: "String", proto: !0, forced: !C0 && !el }, {
1325
+ D0({ target: "String", proto: !0, forced: !H0 && !nl }, {
1304
1326
  endsWith: function(e) {
1305
- var t = Qs(S0(this));
1306
- O0(e);
1307
- var r = arguments.length > 1 ? arguments[1] : void 0, i = t.length, n = r === void 0 ? i : w0(T0(r), i), o = Qs(e);
1308
- return $0(t, n - o.length, n) === o;
1327
+ var t = eo(F0(this));
1328
+ j0(e);
1329
+ var r = arguments.length > 1 ? arguments[1] : void 0, i = t.length, n = r === void 0 ? i : z0(B0(r), i), o = eo(e);
1330
+ return G0(t, n - o.length, n) === o;
1309
1331
  }
1310
1332
  });
1311
- var _a = Y, tl = L, A0 = Hi, P0 = J, R0 = je, N0 = he, I0 = uu, M0 = Xi, _0 = ut, Ks = pe, V0 = ot, Zs = Wi, D0 = ku, k0 = k, qe = D0.UNSUPPORTED_Y, L0 = 4294967295, B0 = Math.min, Va = tl([].push), Da = tl("".slice), j0 = !k0(function() {
1333
+ var La = Y, sl = L, Y0 = Hi, X0 = J, W0 = ae, q0 = ve, Q0 = cu, K0 = Xi, Z0 = ot, to = pe, J0 = st, ro = qi, eb = Uu, tb = D, We = eb.UNSUPPORTED_Y, rb = 4294967295, ab = Math.min, ka = sl([].push), Ba = sl("".slice), ib = !tb(function() {
1312
1334
  var a = /(?:)/, e = a.exec;
1313
1335
  a.exec = function() {
1314
1336
  return e.apply(this, arguments);
1315
1337
  };
1316
1338
  var t = "ab".split(a);
1317
1339
  return t.length !== 2 || t[0] !== "a" || t[1] !== "b";
1318
- }), Js = "abbc".split(/(b)*/)[1] === "c" || // eslint-disable-next-line regexp/no-empty-group -- required for testing
1340
+ }), ao = "abbc".split(/(b)*/)[1] === "c" || // eslint-disable-next-line regexp/no-empty-group -- required for testing
1319
1341
  "test".split(/(?:)/, -1).length !== 4 || "ab".split(/(?:ab)*/).length !== 2 || ".".split(/(.?)(.?)/).length !== 4 || // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
1320
1342
  ".".split(/()()/).length > 1 || "".split(/.?/).length;
1321
- A0("split", function(a, e, t) {
1343
+ Y0("split", function(a, e, t) {
1322
1344
  var r = "0".split(void 0, 0).length ? function(i, n) {
1323
- return i === void 0 && n === 0 ? [] : _a(e, this, i, n);
1345
+ return i === void 0 && n === 0 ? [] : La(e, this, i, n);
1324
1346
  } : e;
1325
1347
  return [
1326
1348
  // `String.prototype.split` method
1327
1349
  // https://tc39.es/ecma262/#sec-string.prototype.split
1328
1350
  function(n, o) {
1329
- var s = N0(this), u = R0(n) ? void 0 : V0(n, a);
1330
- return u ? _a(u, n, s, o) : _a(r, Ks(s), n, o);
1351
+ var s = q0(this), u = W0(n) ? J0(n, a) : void 0;
1352
+ return u ? La(u, n, s, o) : La(r, to(s), n, o);
1331
1353
  },
1332
1354
  // `RegExp.prototype[@@split]` method
1333
1355
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
@@ -1335,31 +1357,31 @@ A0("split", function(a, e, t) {
1335
1357
  // NOTE: This cannot be properly polyfilled in engines that don't support
1336
1358
  // the 'y' flag.
1337
1359
  function(i, n) {
1338
- var o = P0(this), s = Ks(i);
1339
- if (!Js) {
1360
+ var o = X0(this), s = to(i);
1361
+ if (!ao) {
1340
1362
  var u = t(r, o, s, n, r !== e);
1341
1363
  if (u.done) return u.value;
1342
1364
  }
1343
- var l = I0(o, RegExp), h = o.unicode, f = (o.ignoreCase ? "i" : "") + (o.multiline ? "m" : "") + (o.unicode ? "u" : "") + (qe ? "g" : "y"), c = new l(qe ? "^(?:" + o.source + ")" : o, f), v = n === void 0 ? L0 : n >>> 0;
1365
+ var l = Q0(o, RegExp), h = o.unicode, f = (o.ignoreCase ? "i" : "") + (o.multiline ? "m" : "") + (o.unicode ? "u" : "") + (We ? "g" : "y"), c = new l(We ? "^(?:" + o.source + ")" : o, f), v = n === void 0 ? rb : n >>> 0;
1344
1366
  if (v === 0) return [];
1345
- if (s.length === 0) return Zs(c, s) === null ? [s] : [];
1346
- for (var d = 0, g = 0, p = []; g < s.length; ) {
1347
- c.lastIndex = qe ? 0 : g;
1348
- var y = Zs(c, qe ? Da(s, g) : s), x;
1349
- if (y === null || (x = B0(_0(c.lastIndex + (qe ? g : 0)), s.length)) === d)
1350
- g = M0(s, g, h);
1367
+ if (s.length === 0) return ro(c, s) === null ? [s] : [];
1368
+ for (var g = 0, d = 0, p = []; d < s.length; ) {
1369
+ c.lastIndex = We ? 0 : d;
1370
+ var y = ro(c, We ? Ba(s, d) : s), x;
1371
+ if (y === null || (x = ab(Z0(c.lastIndex + (We ? d : 0)), s.length)) === g)
1372
+ d = K0(s, d, h);
1351
1373
  else {
1352
- if (Va(p, Da(s, d, g)), p.length === v) return p;
1374
+ if (ka(p, Ba(s, g, d)), p.length === v) return p;
1353
1375
  for (var b = 1; b <= y.length - 1; b++)
1354
- if (Va(p, y[b]), p.length === v) return p;
1355
- g = d = x;
1376
+ if (ka(p, y[b]), p.length === v) return p;
1377
+ d = g = x;
1356
1378
  }
1357
1379
  }
1358
- return Va(p, Da(s, d)), p;
1380
+ return ka(p, Ba(s, g)), p;
1359
1381
  }
1360
1382
  ];
1361
- }, Js || !j0, qe);
1362
- var Nr = { exports: {} }, yt = { exports: {} };
1383
+ }, ao || !ib, We);
1384
+ var Vr = { exports: {} }, yt = { exports: {} };
1363
1385
  (function() {
1364
1386
  var a, e, t, r, i, n;
1365
1387
  typeof performance < "u" && performance !== null && performance.now ? yt.exports = function() {
@@ -1374,22 +1396,22 @@ var Nr = { exports: {} }, yt = { exports: {} };
1374
1396
  }, t = Date.now()) : (yt.exports = function() {
1375
1397
  return (/* @__PURE__ */ new Date()).getTime() - t;
1376
1398
  }, t = (/* @__PURE__ */ new Date()).getTime());
1377
- }).call(Ke);
1378
- var F0 = yt.exports, U0 = F0, be = typeof window > "u" ? Ke : window, er = ["moz", "webkit"], rt = "AnimationFrame", st = be["request" + rt], St = be["cancel" + rt] || be["cancelRequest" + rt];
1379
- for (var dt = 0; !st && dt < er.length; dt++)
1380
- st = be[er[dt] + "Request" + rt], St = be[er[dt] + "Cancel" + rt] || be[er[dt] + "CancelRequest" + rt];
1381
- if (!st || !St) {
1382
- var ka = 0, eo = 0, Me = [], G0 = 1e3 / 60;
1383
- st = function(a) {
1384
- if (Me.length === 0) {
1385
- var e = U0(), t = Math.max(0, G0 - (e - ka));
1386
- ka = t + e, setTimeout(function() {
1387
- var r = Me.slice(0);
1388
- Me.length = 0;
1399
+ }).call(Qe);
1400
+ var nb = yt.exports, sb = nb, be = typeof window > "u" ? Qe : window, ar = ["moz", "webkit"], tt = "AnimationFrame", nt = be["request" + tt], St = be["cancel" + tt] || be["cancelRequest" + tt];
1401
+ for (var dt = 0; !nt && dt < ar.length; dt++)
1402
+ nt = be[ar[dt] + "Request" + tt], St = be[ar[dt] + "Cancel" + tt] || be[ar[dt] + "CancelRequest" + tt];
1403
+ if (!nt || !St) {
1404
+ var ja = 0, io = 0, _e = [], ob = 1e3 / 60;
1405
+ nt = function(a) {
1406
+ if (_e.length === 0) {
1407
+ var e = sb(), t = Math.max(0, ob - (e - ja));
1408
+ ja = t + e, setTimeout(function() {
1409
+ var r = _e.slice(0);
1410
+ _e.length = 0;
1389
1411
  for (var i = 0; i < r.length; i++)
1390
1412
  if (!r[i].cancelled)
1391
1413
  try {
1392
- r[i].callback(ka);
1414
+ r[i].callback(ja);
1393
1415
  } catch (n) {
1394
1416
  setTimeout(function() {
1395
1417
  throw n;
@@ -1397,54 +1419,48 @@ if (!st || !St) {
1397
1419
  }
1398
1420
  }, Math.round(t));
1399
1421
  }
1400
- return Me.push({
1401
- handle: ++eo,
1422
+ return _e.push({
1423
+ handle: ++io,
1402
1424
  callback: a,
1403
1425
  cancelled: !1
1404
- }), eo;
1426
+ }), io;
1405
1427
  }, St = function(a) {
1406
- for (var e = 0; e < Me.length; e++)
1407
- Me[e].handle === a && (Me[e].cancelled = !0);
1428
+ for (var e = 0; e < _e.length; e++)
1429
+ _e[e].handle === a && (_e[e].cancelled = !0);
1408
1430
  };
1409
1431
  }
1410
- Nr.exports = function(a) {
1411
- return st.call(be, a);
1432
+ Vr.exports = function(a) {
1433
+ return nt.call(be, a);
1412
1434
  };
1413
- Nr.exports.cancel = function() {
1435
+ Vr.exports.cancel = function() {
1414
1436
  St.apply(be, arguments);
1415
1437
  };
1416
- Nr.exports.polyfill = function(a) {
1417
- a || (a = be), a.requestAnimationFrame = st, a.cancelAnimationFrame = St;
1438
+ Vr.exports.polyfill = function(a) {
1439
+ a || (a = be), a.requestAnimationFrame = nt, a.cancelAnimationFrame = St;
1418
1440
  };
1419
- var z0 = Nr.exports;
1420
- const La = /* @__PURE__ */ Po(z0);
1421
- var rl = `
1422
- \v\f\r                 \u2028\u2029\uFEFF`, H0 = L, Y0 = he, X0 = pe, ci = rl, to = H0("".replace), W0 = RegExp("^[" + ci + "]+"), q0 = RegExp("(^|[^" + ci + "])[" + ci + "]+$"), Ba = function(a) {
1441
+ var ub = Vr.exports;
1442
+ const Fa = /* @__PURE__ */ Io(ub);
1443
+ var ol = `
1444
+ \v\f\r                 \u2028\u2029\uFEFF`, lb = L, hb = ve, vb = pe, gi = ol, no = lb("".replace), fb = RegExp("^[" + gi + "]+"), cb = RegExp("(^|[^" + gi + "])[" + gi + "]+$"), gb = function(a) {
1423
1445
  return function(e) {
1424
- var t = X0(Y0(e));
1425
- return a & 1 && (t = to(t, W0, "")), a & 2 && (t = to(t, q0, "$1")), t;
1446
+ var t = vb(hb(e));
1447
+ return a & 1 && (t = no(t, fb, "")), a & 2 && (t = no(t, cb, "$1")), t;
1426
1448
  };
1427
- }, Q0 = {
1428
- // `String.prototype.{ trimLeft, trimStart }` methods
1429
- // https://tc39.es/ecma262/#sec-string.prototype.trimstart
1430
- start: Ba(1),
1431
- // `String.prototype.{ trimRight, trimEnd }` methods
1432
- // https://tc39.es/ecma262/#sec-string.prototype.trimend
1433
- end: Ba(2),
1449
+ }, db = {
1434
1450
  // `String.prototype.trim` method
1435
1451
  // https://tc39.es/ecma262/#sec-string.prototype.trim
1436
- trim: Ba(3)
1437
- }, K0 = Or.PROPER, Z0 = k, ro = rl, ao = "​…᠎", J0 = function(a) {
1438
- return Z0(function() {
1439
- return !!ro[a]() || ao[a]() !== ao || K0 && ro[a].name !== a;
1452
+ trim: gb(3)
1453
+ }, pb = $r.PROPER, yb = D, so = ol, oo = "​…᠎", mb = function(a) {
1454
+ return yb(function() {
1455
+ return !!so[a]() || oo[a]() !== oo || pb && so[a].name !== a;
1440
1456
  });
1441
- }, eb = ee, tb = Q0.trim, rb = J0;
1442
- eb({ target: "String", proto: !0, forced: rb("trim") }, {
1457
+ }, bb = ee, xb = db.trim, Tb = mb;
1458
+ bb({ target: "String", proto: !0, forced: Tb("trim") }, {
1443
1459
  trim: function() {
1444
- return tb(this);
1460
+ return xb(this);
1445
1461
  }
1446
1462
  });
1447
- var ab = function(a) {
1463
+ var Ob = function(a) {
1448
1464
  this.ok = !1, this.alpha = 1, a.charAt(0) == "#" && (a = a.substr(1, 6)), a = a.replace(/ /g, ""), a = a.toLowerCase();
1449
1465
  var e = {
1450
1466
  aliceblue: "f0f8ff",
@@ -1663,41 +1679,41 @@ var ab = function(a) {
1663
1679
  v.setAttribute("id", "rgbcolor-examples");
1664
1680
  for (var l = 0; l < u.length; l++)
1665
1681
  try {
1666
- var d = document.createElement("li"), g = new RGBColor(u[l]), p = document.createElement("div");
1667
- p.style.cssText = "margin: 3px; border: 1px solid black; background:" + g.toHex() + "; color:" + g.toHex(), p.appendChild(document.createTextNode("test"));
1682
+ var g = document.createElement("li"), d = new RGBColor(u[l]), p = document.createElement("div");
1683
+ p.style.cssText = "margin: 3px; border: 1px solid black; background:" + d.toHex() + "; color:" + d.toHex(), p.appendChild(document.createTextNode("test"));
1668
1684
  var y = document.createTextNode(
1669
- " " + u[l] + " -> " + g.toRGB() + " -> " + g.toHex()
1685
+ " " + u[l] + " -> " + d.toRGB() + " -> " + d.toHex()
1670
1686
  );
1671
- d.appendChild(p), d.appendChild(y), v.appendChild(d);
1687
+ g.appendChild(p), g.appendChild(y), v.appendChild(g);
1672
1688
  } catch {
1673
1689
  }
1674
1690
  return v;
1675
1691
  };
1676
1692
  };
1677
- const gi = /* @__PURE__ */ Po(ab);
1678
- var ib = ee, nb = wr, sb = Zo.indexOf, ob = Ju, di = nb([].indexOf), al = !!di && 1 / di([1], 1, -0) < 0, ub = al || !ob("indexOf");
1679
- ib({ target: "Array", proto: !0, forced: ub }, {
1693
+ const di = /* @__PURE__ */ Io(Ob);
1694
+ var Sb = ee, Eb = Rr, $b = ru.indexOf, wb = il, pi = Eb([].indexOf), ul = !!pi && 1 / pi([1], 1, -0) < 0, Cb = ul || !wb("indexOf");
1695
+ Sb({ target: "Array", proto: !0, forced: Cb }, {
1680
1696
  indexOf: function(e) {
1681
1697
  var t = arguments.length > 1 ? arguments[1] : void 0;
1682
- return al ? di(this, e, t) || 0 : sb(this, e, t);
1698
+ return ul ? pi(this, e, t) || 0 : $b(this, e, t);
1683
1699
  }
1684
1700
  });
1685
- var lb = ee, hb = L, vb = Qi, fb = he, io = pe, cb = Ki, gb = hb("".indexOf);
1686
- lb({ target: "String", proto: !0, forced: !cb("includes") }, {
1701
+ var Ab = ee, Pb = L, Rb = Ki, Nb = ve, uo = pe, Ib = Zi, Mb = Pb("".indexOf);
1702
+ Ab({ target: "String", proto: !0, forced: !Ib("includes") }, {
1687
1703
  includes: function(e) {
1688
- return !!~gb(
1689
- io(fb(this)),
1690
- io(vb(e)),
1704
+ return !!~Mb(
1705
+ uo(Nb(this)),
1706
+ uo(Rb(e)),
1691
1707
  arguments.length > 1 ? arguments[1] : void 0
1692
1708
  );
1693
1709
  }
1694
1710
  });
1695
- var db = Be, pb = Array.isArray || function(e) {
1696
- return db(e) === "Array";
1697
- }, yb = ee, mb = L, bb = pb, xb = mb([].reverse), no = [1, 2];
1698
- yb({ target: "Array", proto: !0, forced: String(no) === String(no.reverse()) }, {
1711
+ var _b = je, Vb = Array.isArray || function(e) {
1712
+ return _b(e) === "Array";
1713
+ }, Db = ee, Lb = L, kb = Vb, Bb = Lb([].reverse), lo = [1, 2];
1714
+ Db({ target: "Array", proto: !0, forced: String(lo) === String(lo.reverse()) }, {
1699
1715
  reverse: function() {
1700
- return bb(this) && (this.length = this.length), xb(this);
1716
+ return kb(this) && (this.length = this.length), Bb(this);
1701
1717
  }
1702
1718
  });
1703
1719
  /*! *****************************************************************************
@@ -1714,21 +1730,21 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1714
1730
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1715
1731
  PERFORMANCE OF THIS SOFTWARE.
1716
1732
  ***************************************************************************** */
1717
- var il = function(a, e) {
1718
- return (il = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, r) {
1733
+ var ll = function(a, e) {
1734
+ return (ll = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, r) {
1719
1735
  t.__proto__ = r;
1720
1736
  } || function(t, r) {
1721
1737
  for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
1722
1738
  })(a, e);
1723
1739
  };
1724
- function nl(a, e) {
1740
+ function hl(a, e) {
1725
1741
  if (typeof e != "function" && e !== null) throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
1726
1742
  function t() {
1727
1743
  this.constructor = a;
1728
1744
  }
1729
- il(a, e), a.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
1745
+ ll(a, e), a.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
1730
1746
  }
1731
- function Tb(a) {
1747
+ function jb(a) {
1732
1748
  var e = "";
1733
1749
  Array.isArray(a) || (a = [a]);
1734
1750
  for (var t = 0; t < a.length; t++) {
@@ -1749,27 +1765,27 @@ function Tb(a) {
1749
1765
  }
1750
1766
  return e;
1751
1767
  }
1752
- function pi(a, e) {
1768
+ function yi(a, e) {
1753
1769
  var t = a[0], r = a[1];
1754
1770
  return [t * Math.cos(e) - r * Math.sin(e), t * Math.sin(e) + r * Math.cos(e)];
1755
1771
  }
1756
- function oe() {
1772
+ function ue() {
1757
1773
  for (var a = [], e = 0; e < arguments.length; e++) a[e] = arguments[e];
1758
1774
  for (var t = 0; t < a.length; t++) if (typeof a[t] != "number") throw new Error("assertNumbers arguments[" + t + "] is not a number. " + typeof a[t] + " == typeof " + a[t]);
1759
1775
  return !0;
1760
1776
  }
1761
1777
  var Ee = Math.PI;
1762
- function ja(a, e, t) {
1778
+ function Ua(a, e, t) {
1763
1779
  a.lArcFlag = a.lArcFlag === 0 ? 0 : 1, a.sweepFlag = a.sweepFlag === 0 ? 0 : 1;
1764
1780
  var r = a.rX, i = a.rY, n = a.x, o = a.y;
1765
1781
  r = Math.abs(a.rX), i = Math.abs(a.rY);
1766
- var s = pi([(e - n) / 2, (t - o) / 2], -a.xRot / 180 * Ee), u = s[0], l = s[1], h = Math.pow(u, 2) / Math.pow(r, 2) + Math.pow(l, 2) / Math.pow(i, 2);
1782
+ var s = yi([(e - n) / 2, (t - o) / 2], -a.xRot / 180 * Ee), u = s[0], l = s[1], h = Math.pow(u, 2) / Math.pow(r, 2) + Math.pow(l, 2) / Math.pow(i, 2);
1767
1783
  1 < h && (r *= Math.sqrt(h), i *= Math.sqrt(h)), a.rX = r, a.rY = i;
1768
- var f = Math.pow(r, 2) * Math.pow(l, 2) + Math.pow(i, 2) * Math.pow(u, 2), c = (a.lArcFlag !== a.sweepFlag ? 1 : -1) * Math.sqrt(Math.max(0, (Math.pow(r, 2) * Math.pow(i, 2) - f) / f)), v = r * l / i * c, d = -i * u / r * c, g = pi([v, d], a.xRot / 180 * Ee);
1769
- a.cX = g[0] + (e + n) / 2, a.cY = g[1] + (t + o) / 2, a.phi1 = Math.atan2((l - d) / i, (u - v) / r), a.phi2 = Math.atan2((-l - d) / i, (-u - v) / r), a.sweepFlag === 0 && a.phi2 > a.phi1 && (a.phi2 -= 2 * Ee), a.sweepFlag === 1 && a.phi2 < a.phi1 && (a.phi2 += 2 * Ee), a.phi1 *= 180 / Ee, a.phi2 *= 180 / Ee;
1784
+ var f = Math.pow(r, 2) * Math.pow(l, 2) + Math.pow(i, 2) * Math.pow(u, 2), c = (a.lArcFlag !== a.sweepFlag ? 1 : -1) * Math.sqrt(Math.max(0, (Math.pow(r, 2) * Math.pow(i, 2) - f) / f)), v = r * l / i * c, g = -i * u / r * c, d = yi([v, g], a.xRot / 180 * Ee);
1785
+ a.cX = d[0] + (e + n) / 2, a.cY = d[1] + (t + o) / 2, a.phi1 = Math.atan2((l - g) / i, (u - v) / r), a.phi2 = Math.atan2((-l - g) / i, (-u - v) / r), a.sweepFlag === 0 && a.phi2 > a.phi1 && (a.phi2 -= 2 * Ee), a.sweepFlag === 1 && a.phi2 < a.phi1 && (a.phi2 += 2 * Ee), a.phi1 *= 180 / Ee, a.phi2 *= 180 / Ee;
1770
1786
  }
1771
- function so(a, e, t) {
1772
- oe(a, e, t);
1787
+ function ho(a, e, t) {
1788
+ ue(a, e, t);
1773
1789
  var r = a * a + e * e - t * t;
1774
1790
  if (0 > r) return [];
1775
1791
  if (r === 0) return [[a * t / (a * a + e * e), e * t / (a * a + e * e)]];
@@ -1777,23 +1793,23 @@ function so(a, e, t) {
1777
1793
  return [[(a * t + e * i) / (a * a + e * e), (e * t - a * i) / (a * a + e * e)], [(a * t - e * i) / (a * a + e * e), (e * t + a * i) / (a * a + e * e)]];
1778
1794
  }
1779
1795
  var U, ye = Math.PI / 180;
1780
- function oo(a, e, t) {
1796
+ function vo(a, e, t) {
1781
1797
  return (1 - t) * a + t * e;
1782
1798
  }
1783
- function uo(a, e, t, r) {
1799
+ function fo(a, e, t, r) {
1784
1800
  return a + Math.cos(r / 180 * Ee) * e + Math.sin(r / 180 * Ee) * t;
1785
1801
  }
1786
- function lo(a, e, t, r) {
1802
+ function co(a, e, t, r) {
1787
1803
  var i = 1e-6, n = e - a, o = t - e, s = 3 * n + 3 * (r - t) - 6 * o, u = 6 * (o - n), l = 3 * n;
1788
1804
  return Math.abs(s) < i ? [-l / u] : function(h, f, c) {
1789
1805
  var v = h * h / 4 - f;
1790
1806
  if (v < -c) return [];
1791
1807
  if (v <= c) return [-h / 2];
1792
- var d = Math.sqrt(v);
1793
- return [-h / 2 - d, -h / 2 + d];
1808
+ var g = Math.sqrt(v);
1809
+ return [-h / 2 - g, -h / 2 + g];
1794
1810
  }(u / s, l / s, i);
1795
1811
  }
1796
- function ho(a, e, t, r, i) {
1812
+ function go(a, e, t, r, i) {
1797
1813
  var n = 1 - i;
1798
1814
  return a * (n * n * n) + e * (3 * n * n * i) + t * (3 * n * i * i) + r * (i * i * i);
1799
1815
  }
@@ -1829,17 +1845,17 @@ function ho(a, e, t, r, i) {
1829
1845
  };
1830
1846
  }
1831
1847
  function n(s, u, l, h, f, c) {
1832
- return oe(s, u, l, h, f, c), i(function(v, d, g, p) {
1833
- var y = v.x1, x = v.x2, b = v.relative && !isNaN(p), T = v.x !== void 0 ? v.x : b ? 0 : d, $ = v.y !== void 0 ? v.y : b ? 0 : g;
1834
- function E(ne) {
1835
- return ne * ne;
1848
+ return ue(s, u, l, h, f, c), i(function(v, g, d, p) {
1849
+ var y = v.x1, x = v.x2, b = v.relative && !isNaN(p), T = v.x !== void 0 ? v.x : b ? 0 : g, $ = v.y !== void 0 ? v.y : b ? 0 : d;
1850
+ function E(se) {
1851
+ return se * se;
1836
1852
  }
1837
- v.type & m.HORIZ_LINE_TO && u !== 0 && (v.type = m.LINE_TO, v.y = v.relative ? 0 : g), v.type & m.VERT_LINE_TO && l !== 0 && (v.type = m.LINE_TO, v.x = v.relative ? 0 : d), v.x !== void 0 && (v.x = v.x * s + $ * l + (b ? 0 : f)), v.y !== void 0 && (v.y = T * u + v.y * h + (b ? 0 : c)), v.x1 !== void 0 && (v.x1 = v.x1 * s + v.y1 * l + (b ? 0 : f)), v.y1 !== void 0 && (v.y1 = y * u + v.y1 * h + (b ? 0 : c)), v.x2 !== void 0 && (v.x2 = v.x2 * s + v.y2 * l + (b ? 0 : f)), v.y2 !== void 0 && (v.y2 = x * u + v.y2 * h + (b ? 0 : c));
1853
+ v.type & m.HORIZ_LINE_TO && u !== 0 && (v.type = m.LINE_TO, v.y = v.relative ? 0 : d), v.type & m.VERT_LINE_TO && l !== 0 && (v.type = m.LINE_TO, v.x = v.relative ? 0 : g), v.x !== void 0 && (v.x = v.x * s + $ * l + (b ? 0 : f)), v.y !== void 0 && (v.y = T * u + v.y * h + (b ? 0 : c)), v.x1 !== void 0 && (v.x1 = v.x1 * s + v.y1 * l + (b ? 0 : f)), v.y1 !== void 0 && (v.y1 = y * u + v.y1 * h + (b ? 0 : c)), v.x2 !== void 0 && (v.x2 = v.x2 * s + v.y2 * l + (b ? 0 : f)), v.y2 !== void 0 && (v.y2 = x * u + v.y2 * h + (b ? 0 : c));
1838
1854
  var O = s * h - u * l;
1839
1855
  if (v.xRot !== void 0 && (s !== 1 || u !== 0 || l !== 0 || h !== 1)) if (O === 0) delete v.rX, delete v.rY, delete v.xRot, delete v.lArcFlag, delete v.sweepFlag, v.type = m.LINE_TO;
1840
1856
  else {
1841
- var C = v.xRot * Math.PI / 180, I = Math.sin(C), _ = Math.cos(C), j = 1 / E(v.rX), P = 1 / E(v.rY), X = E(_) * j + E(I) * P, W = 2 * I * _ * (j - P), G = E(I) * j + E(_) * P, q = X * h * h - W * u * h + G * u * u, H = W * (s * h + u * l) - 2 * (X * l * h + G * s * u), Q = X * l * l - W * s * l + G * s * s, R = (Math.atan2(H, q - Q) + Math.PI) % Math.PI / 2, M = Math.sin(R), K = Math.cos(R);
1842
- v.rX = Math.abs(O) / Math.sqrt(q * E(K) + H * M * K + Q * E(M)), v.rY = Math.abs(O) / Math.sqrt(q * E(M) - H * M * K + Q * E(K)), v.xRot = 180 * R / Math.PI;
1857
+ var C = v.xRot * Math.PI / 180, P = Math.sin(C), V = Math.cos(C), j = 1 / E(v.rX), R = 1 / E(v.rY), X = E(V) * j + E(P) * R, W = 2 * P * V * (j - R), G = E(P) * j + E(V) * R, q = X * h * h - W * u * h + G * u * u, H = W * (s * h + u * l) - 2 * (X * l * h + G * s * u), Q = X * l * l - W * s * l + G * s * s, N = (Math.atan2(H, q - Q) + Math.PI) % Math.PI / 2, M = Math.sin(N), K = Math.cos(N);
1858
+ v.rX = Math.abs(O) / Math.sqrt(q * E(K) + H * M * K + Q * E(M)), v.rY = Math.abs(O) / Math.sqrt(q * E(M) - H * M * K + Q * E(K)), v.xRot = 180 * N / Math.PI;
1843
1859
  }
1844
1860
  return v.sweepFlag !== void 0 && 0 > O && (v.sweepFlag = +!v.sweepFlag), v;
1845
1861
  });
@@ -1855,7 +1871,7 @@ function ho(a, e, t, r, i) {
1855
1871
  function u(l) {
1856
1872
  return Math.round(l * s) / s;
1857
1873
  }
1858
- return s === void 0 && (s = 1e13), oe(s), function(l) {
1874
+ return s === void 0 && (s = 1e13), ue(s), function(l) {
1859
1875
  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;
1860
1876
  };
1861
1877
  }, a.TO_ABS = e, a.TO_REL = function() {
@@ -1863,90 +1879,90 @@ function ho(a, e, t, r, i) {
1863
1879
  return s.relative || (s.x1 !== void 0 && (s.x1 -= u), s.y1 !== void 0 && (s.y1 -= l), s.x2 !== void 0 && (s.x2 -= u), s.y2 !== void 0 && (s.y2 -= l), s.x !== void 0 && (s.x -= u), s.y !== void 0 && (s.y -= l), s.relative = !0), s;
1864
1880
  });
1865
1881
  }, a.NORMALIZE_HVZ = function(s, u, l) {
1866
- return s === void 0 && (s = !0), u === void 0 && (u = !0), l === void 0 && (l = !0), i(function(h, f, c, v, d) {
1882
+ return s === void 0 && (s = !0), u === void 0 && (u = !0), l === void 0 && (l = !0), i(function(h, f, c, v, g) {
1867
1883
  if (isNaN(v) && !(h.type & m.MOVE_TO)) throw new Error("path must start with moveto");
1868
- return u && h.type & m.HORIZ_LINE_TO && (h.type = m.LINE_TO, h.y = h.relative ? 0 : c), l && h.type & m.VERT_LINE_TO && (h.type = m.LINE_TO, h.x = h.relative ? 0 : f), s && h.type & m.CLOSE_PATH && (h.type = m.LINE_TO, h.x = h.relative ? v - f : v, h.y = h.relative ? d - c : d), h.type & m.ARC && (h.rX === 0 || h.rY === 0) && (h.type = m.LINE_TO, delete h.rX, delete h.rY, delete h.xRot, delete h.lArcFlag, delete h.sweepFlag), h;
1884
+ return u && h.type & m.HORIZ_LINE_TO && (h.type = m.LINE_TO, h.y = h.relative ? 0 : c), l && h.type & m.VERT_LINE_TO && (h.type = m.LINE_TO, h.x = h.relative ? 0 : f), s && h.type & m.CLOSE_PATH && (h.type = m.LINE_TO, h.x = h.relative ? v - f : v, h.y = h.relative ? g - c : g), h.type & m.ARC && (h.rX === 0 || h.rY === 0) && (h.type = m.LINE_TO, delete h.rX, delete h.rY, delete h.xRot, delete h.lArcFlag, delete h.sweepFlag), h;
1869
1885
  });
1870
1886
  }, a.NORMALIZE_ST = t, a.QT_TO_C = r, a.INFO = i, a.SANITIZE = function(s) {
1871
- s === void 0 && (s = 0), oe(s);
1887
+ s === void 0 && (s = 0), ue(s);
1872
1888
  var u = NaN, l = NaN, h = NaN, f = NaN;
1873
- return i(function(c, v, d, g, p) {
1889
+ return i(function(c, v, g, d, p) {
1874
1890
  var y = Math.abs, x = !1, b = 0, T = 0;
1875
- if (c.type & m.SMOOTH_CURVE_TO && (b = isNaN(u) ? 0 : v - u, T = isNaN(l) ? 0 : d - l), c.type & (m.CURVE_TO | m.SMOOTH_CURVE_TO) ? (u = c.relative ? v + c.x2 : c.x2, l = c.relative ? d + c.y2 : c.y2) : (u = NaN, l = NaN), c.type & m.SMOOTH_QUAD_TO ? (h = isNaN(h) ? v : 2 * v - h, f = isNaN(f) ? d : 2 * d - f) : c.type & m.QUAD_TO ? (h = c.relative ? v + c.x1 : c.x1, f = c.relative ? d + c.y1 : c.y2) : (h = NaN, f = NaN), c.type & m.LINE_COMMANDS || c.type & m.ARC && (c.rX === 0 || c.rY === 0 || !c.lArcFlag) || c.type & m.CURVE_TO || c.type & m.SMOOTH_CURVE_TO || c.type & m.QUAD_TO || c.type & m.SMOOTH_QUAD_TO) {
1876
- var $ = c.x === void 0 ? 0 : c.relative ? c.x : c.x - v, E = c.y === void 0 ? 0 : c.relative ? c.y : c.y - d;
1877
- b = isNaN(h) ? c.x1 === void 0 ? b : c.relative ? c.x : c.x1 - v : h - v, T = isNaN(f) ? c.y1 === void 0 ? T : c.relative ? c.y : c.y1 - d : f - d;
1878
- var O = c.x2 === void 0 ? 0 : c.relative ? c.x : c.x2 - v, C = c.y2 === void 0 ? 0 : c.relative ? c.y : c.y2 - d;
1891
+ if (c.type & m.SMOOTH_CURVE_TO && (b = isNaN(u) ? 0 : v - u, T = isNaN(l) ? 0 : g - l), c.type & (m.CURVE_TO | m.SMOOTH_CURVE_TO) ? (u = c.relative ? v + c.x2 : c.x2, l = c.relative ? g + c.y2 : c.y2) : (u = NaN, l = NaN), c.type & m.SMOOTH_QUAD_TO ? (h = isNaN(h) ? v : 2 * v - h, f = isNaN(f) ? g : 2 * g - f) : c.type & m.QUAD_TO ? (h = c.relative ? v + c.x1 : c.x1, f = c.relative ? g + c.y1 : c.y2) : (h = NaN, f = NaN), c.type & m.LINE_COMMANDS || c.type & m.ARC && (c.rX === 0 || c.rY === 0 || !c.lArcFlag) || c.type & m.CURVE_TO || c.type & m.SMOOTH_CURVE_TO || c.type & m.QUAD_TO || c.type & m.SMOOTH_QUAD_TO) {
1892
+ var $ = c.x === void 0 ? 0 : c.relative ? c.x : c.x - v, E = c.y === void 0 ? 0 : c.relative ? c.y : c.y - g;
1893
+ b = isNaN(h) ? c.x1 === void 0 ? b : c.relative ? c.x : c.x1 - v : h - v, T = isNaN(f) ? c.y1 === void 0 ? T : c.relative ? c.y : c.y1 - g : f - g;
1894
+ var O = c.x2 === void 0 ? 0 : c.relative ? c.x : c.x2 - v, C = c.y2 === void 0 ? 0 : c.relative ? c.y : c.y2 - g;
1879
1895
  y($) <= s && y(E) <= s && y(b) <= s && y(T) <= s && y(O) <= s && y(C) <= s && (x = !0);
1880
1896
  }
1881
- return c.type & m.CLOSE_PATH && y(v - g) <= s && y(d - p) <= s && (x = !0), x ? [] : c;
1897
+ return c.type & m.CLOSE_PATH && y(v - d) <= s && y(g - p) <= s && (x = !0), x ? [] : c;
1882
1898
  });
1883
1899
  }, a.MATRIX = n, a.ROTATE = function(s, u, l) {
1884
- u === void 0 && (u = 0), l === void 0 && (l = 0), oe(s, u, l);
1900
+ u === void 0 && (u = 0), l === void 0 && (l = 0), ue(s, u, l);
1885
1901
  var h = Math.sin(s), f = Math.cos(s);
1886
1902
  return n(f, h, -h, f, u - u * f + l * h, l - u * h - l * f);
1887
1903
  }, a.TRANSLATE = function(s, u) {
1888
- return u === void 0 && (u = 0), oe(s, u), n(1, 0, 0, 1, s, u);
1904
+ return u === void 0 && (u = 0), ue(s, u), n(1, 0, 0, 1, s, u);
1889
1905
  }, a.SCALE = function(s, u) {
1890
- return u === void 0 && (u = s), oe(s, u), n(s, 0, 0, u, 0, 0);
1906
+ return u === void 0 && (u = s), ue(s, u), n(s, 0, 0, u, 0, 0);
1891
1907
  }, a.SKEW_X = function(s) {
1892
- return oe(s), n(1, 0, Math.atan(s), 1, 0, 0);
1908
+ return ue(s), n(1, 0, Math.atan(s), 1, 0, 0);
1893
1909
  }, a.SKEW_Y = function(s) {
1894
- return oe(s), n(1, Math.atan(s), 0, 1, 0, 0);
1910
+ return ue(s), n(1, Math.atan(s), 0, 1, 0, 0);
1895
1911
  }, a.X_AXIS_SYMMETRY = function(s) {
1896
- return s === void 0 && (s = 0), oe(s), n(-1, 0, 0, 1, s, 0);
1912
+ return s === void 0 && (s = 0), ue(s), n(-1, 0, 0, 1, s, 0);
1897
1913
  }, a.Y_AXIS_SYMMETRY = function(s) {
1898
- return s === void 0 && (s = 0), oe(s), n(1, 0, 0, -1, 0, s);
1914
+ return s === void 0 && (s = 0), ue(s), n(1, 0, 0, -1, 0, s);
1899
1915
  }, a.A_TO_C = function() {
1900
1916
  return i(function(s, u, l) {
1901
1917
  return m.ARC === s.type ? function(h, f, c) {
1902
- var v, d, g, p;
1903
- h.cX || ja(h, f, c);
1918
+ var v, g, d, p;
1919
+ h.cX || Ua(h, f, c);
1904
1920
  for (var y = Math.min(h.phi1, h.phi2), x = Math.max(h.phi1, h.phi2) - y, b = Math.ceil(x / 90), T = new Array(b), $ = f, E = c, O = 0; O < b; O++) {
1905
- var C = oo(h.phi1, h.phi2, O / b), I = oo(h.phi1, h.phi2, (O + 1) / b), _ = I - C, j = 4 / 3 * Math.tan(_ * ye / 4), P = [Math.cos(C * ye) - j * Math.sin(C * ye), Math.sin(C * ye) + j * Math.cos(C * ye)], X = P[0], W = P[1], G = [Math.cos(I * ye), Math.sin(I * ye)], q = G[0], H = G[1], Q = [q + j * Math.sin(I * ye), H - j * Math.cos(I * ye)], R = Q[0], M = Q[1];
1921
+ var C = vo(h.phi1, h.phi2, O / b), P = vo(h.phi1, h.phi2, (O + 1) / b), V = P - C, j = 4 / 3 * Math.tan(V * ye / 4), R = [Math.cos(C * ye) - j * Math.sin(C * ye), Math.sin(C * ye) + j * Math.cos(C * ye)], X = R[0], W = R[1], G = [Math.cos(P * ye), Math.sin(P * ye)], q = G[0], H = G[1], Q = [q + j * Math.sin(P * ye), H - j * Math.cos(P * ye)], N = Q[0], M = Q[1];
1906
1922
  T[O] = { relative: h.relative, type: m.CURVE_TO };
1907
- var K = function(ne, ge) {
1908
- var Se = pi([ne * h.rX, ge * h.rY], h.xRot), ze = Se[0], It = Se[1];
1923
+ var K = function(se, ge) {
1924
+ var Se = yi([se * h.rX, ge * h.rY], h.xRot), ze = Se[0], It = Se[1];
1909
1925
  return [h.cX + ze, h.cY + It];
1910
1926
  };
1911
- v = K(X, W), T[O].x1 = v[0], T[O].y1 = v[1], d = K(R, M), T[O].x2 = d[0], T[O].y2 = d[1], g = K(q, H), T[O].x = g[0], T[O].y = g[1], h.relative && (T[O].x1 -= $, T[O].y1 -= E, T[O].x2 -= $, T[O].y2 -= E, T[O].x -= $, T[O].y -= E), $ = (p = [T[O].x, T[O].y])[0], E = p[1];
1927
+ v = K(X, W), T[O].x1 = v[0], T[O].y1 = v[1], g = K(N, M), T[O].x2 = g[0], T[O].y2 = g[1], d = K(q, H), T[O].x = d[0], T[O].y = d[1], h.relative && (T[O].x1 -= $, T[O].y1 -= E, T[O].x2 -= $, T[O].y2 -= E, T[O].x -= $, T[O].y -= E), $ = (p = [T[O].x, T[O].y])[0], E = p[1];
1912
1928
  }
1913
1929
  return T;
1914
1930
  }(s, s.relative ? 0 : u, s.relative ? 0 : l) : s;
1915
1931
  });
1916
1932
  }, a.ANNOTATE_ARCS = function() {
1917
1933
  return i(function(s, u, l) {
1918
- return s.relative && (u = 0, l = 0), m.ARC === s.type && ja(s, u, l), s;
1934
+ return s.relative && (u = 0, l = 0), m.ARC === s.type && Ua(s, u, l), s;
1919
1935
  });
1920
1936
  }, a.CLONE = o, a.CALCULATE_BOUNDS = function() {
1921
1937
  var s = function(c) {
1922
1938
  var v = {};
1923
- for (var d in c) v[d] = c[d];
1939
+ for (var g in c) v[g] = c[g];
1924
1940
  return v;
1925
- }, u = e(), l = r(), h = t(), f = i(function(c, v, d) {
1926
- var g = h(l(u(s(c))));
1941
+ }, u = e(), l = r(), h = t(), f = i(function(c, v, g) {
1942
+ var d = h(l(u(s(c))));
1927
1943
  function p(M) {
1928
1944
  M > f.maxX && (f.maxX = M), M < f.minX && (f.minX = M);
1929
1945
  }
1930
1946
  function y(M) {
1931
1947
  M > f.maxY && (f.maxY = M), M < f.minY && (f.minY = M);
1932
1948
  }
1933
- if (g.type & m.DRAWING_COMMANDS && (p(v), y(d)), g.type & m.HORIZ_LINE_TO && p(g.x), g.type & m.VERT_LINE_TO && y(g.y), g.type & m.LINE_TO && (p(g.x), y(g.y)), g.type & m.CURVE_TO) {
1934
- p(g.x), y(g.y);
1935
- for (var x = 0, b = lo(v, g.x1, g.x2, g.x); x < b.length; x++)
1936
- 0 < (R = b[x]) && 1 > R && p(ho(v, g.x1, g.x2, g.x, R));
1937
- for (var T = 0, $ = lo(d, g.y1, g.y2, g.y); T < $.length; T++)
1938
- 0 < (R = $[T]) && 1 > R && y(ho(d, g.y1, g.y2, g.y, R));
1949
+ if (d.type & m.DRAWING_COMMANDS && (p(v), y(g)), d.type & m.HORIZ_LINE_TO && p(d.x), d.type & m.VERT_LINE_TO && y(d.y), d.type & m.LINE_TO && (p(d.x), y(d.y)), d.type & m.CURVE_TO) {
1950
+ p(d.x), y(d.y);
1951
+ for (var x = 0, b = co(v, d.x1, d.x2, d.x); x < b.length; x++)
1952
+ 0 < (N = b[x]) && 1 > N && p(go(v, d.x1, d.x2, d.x, N));
1953
+ for (var T = 0, $ = co(g, d.y1, d.y2, d.y); T < $.length; T++)
1954
+ 0 < (N = $[T]) && 1 > N && y(go(g, d.y1, d.y2, d.y, N));
1939
1955
  }
1940
- if (g.type & m.ARC) {
1941
- p(g.x), y(g.y), ja(g, v, d);
1942
- for (var E = g.xRot / 180 * Math.PI, O = Math.cos(E) * g.rX, C = Math.sin(E) * g.rX, I = -Math.sin(E) * g.rY, _ = Math.cos(E) * g.rY, j = g.phi1 < g.phi2 ? [g.phi1, g.phi2] : -180 > g.phi2 ? [g.phi2 + 360, g.phi1 + 360] : [g.phi2, g.phi1], P = j[0], X = j[1], W = function(M) {
1943
- var K = M[0], ne = M[1], ge = 180 * Math.atan2(ne, K) / Math.PI;
1944
- return ge < P ? ge + 360 : ge;
1945
- }, G = 0, q = so(I, -O, 0).map(W); G < q.length; G++)
1946
- (R = q[G]) > P && R < X && p(uo(g.cX, O, I, R));
1947
- for (var H = 0, Q = so(_, -C, 0).map(W); H < Q.length; H++) {
1948
- var R;
1949
- (R = Q[H]) > P && R < X && y(uo(g.cY, C, _, R));
1956
+ if (d.type & m.ARC) {
1957
+ p(d.x), y(d.y), Ua(d, v, g);
1958
+ for (var E = d.xRot / 180 * Math.PI, O = Math.cos(E) * d.rX, C = Math.sin(E) * d.rX, P = -Math.sin(E) * d.rY, V = Math.cos(E) * d.rY, j = d.phi1 < d.phi2 ? [d.phi1, d.phi2] : -180 > d.phi2 ? [d.phi2 + 360, d.phi1 + 360] : [d.phi2, d.phi1], R = j[0], X = j[1], W = function(M) {
1959
+ var K = M[0], se = M[1], ge = 180 * Math.atan2(se, K) / Math.PI;
1960
+ return ge < R ? ge + 360 : ge;
1961
+ }, G = 0, q = ho(P, -O, 0).map(W); G < q.length; G++)
1962
+ (N = q[G]) > R && N < X && p(fo(d.cX, O, P, N));
1963
+ for (var H = 0, Q = ho(V, -C, 0).map(W); H < Q.length; H++) {
1964
+ var N;
1965
+ (N = Q[H]) > R && N < X && y(fo(d.cY, C, V, N));
1950
1966
  }
1951
1967
  }
1952
1968
  return c;
@@ -1954,7 +1970,7 @@ function ho(a, e, t, r, i) {
1954
1970
  return f.minX = 1 / 0, f.maxX = -1 / 0, f.minY = 1 / 0, f.maxY = -1 / 0, f;
1955
1971
  };
1956
1972
  })(U || (U = {}));
1957
- var se, sl = function() {
1973
+ var oe, vl = function() {
1958
1974
  function a() {
1959
1975
  }
1960
1976
  return a.prototype.round = function(e) {
@@ -1992,17 +2008,17 @@ var se, sl = function() {
1992
2008
  }, a.prototype.annotateArcs = function() {
1993
2009
  return this.transform(U.ANNOTATE_ARCS());
1994
2010
  }, a;
1995
- }(), Ob = function(a) {
2011
+ }(), Fb = function(a) {
1996
2012
  return a === " " || a === " " || a === "\r" || a === `
1997
2013
  `;
1998
- }, vo = function(a) {
2014
+ }, po = function(a) {
1999
2015
  return 48 <= a.charCodeAt(0) && a.charCodeAt(0) <= 57;
2000
- }, Sb = function(a) {
2016
+ }, Ub = function(a) {
2001
2017
  function e() {
2002
2018
  var t = a.call(this) || this;
2003
2019
  return t.curNumber = "", t.curCommandType = -1, t.curCommandRelative = !1, t.canParseCommandOrComma = !0, t.curNumberHasExp = !1, t.curNumberHasExpDigits = !1, t.curNumberHasDecimal = !1, t.curArgs = [], t;
2004
2020
  }
2005
- return nl(e, a), e.prototype.finish = function(t) {
2021
+ return hl(e, a), e.prototype.finish = function(t) {
2006
2022
  if (t === void 0 && (t = []), this.parse(" ", t), this.curArgs.length !== 0 || !this.canParseCommandOrComma) throw new SyntaxError("Unterminated command at the path end.");
2007
2023
  return t;
2008
2024
  }, e.prototype.parse = function(t, r) {
@@ -2011,8 +2027,8 @@ var se, sl = function() {
2011
2027
  for (var n = function(f) {
2012
2028
  r.push(f), i.curArgs.length = 0, i.canParseCommandOrComma = !0;
2013
2029
  }, o = 0; o < t.length; o++) {
2014
- var s = t[o], u = !(this.curCommandType !== m.ARC || this.curArgs.length !== 3 && this.curArgs.length !== 4 || this.curNumber.length !== 1 || this.curNumber !== "0" && this.curNumber !== "1"), l = vo(s) && (this.curNumber === "0" && s === "0" || u);
2015
- if (!vo(s) || l) if (s !== "e" && s !== "E") if (s !== "-" && s !== "+" || !this.curNumberHasExp || this.curNumberHasExpDigits) if (s !== "." || this.curNumberHasExp || this.curNumberHasDecimal || u) {
2030
+ var s = t[o], u = !(this.curCommandType !== m.ARC || this.curArgs.length !== 3 && this.curArgs.length !== 4 || this.curNumber.length !== 1 || this.curNumber !== "0" && this.curNumber !== "1"), l = po(s) && (this.curNumber === "0" && s === "0" || u);
2031
+ if (!po(s) || l) if (s !== "e" && s !== "E") if (s !== "-" && s !== "+" || !this.curNumberHasExp || this.curNumberHasExpDigits) if (s !== "." || this.curNumberHasExp || this.curNumberHasDecimal || u) {
2016
2032
  if (this.curNumber && this.curCommandType !== -1) {
2017
2033
  var h = Number(this.curNumber);
2018
2034
  if (isNaN(h)) throw new SyntaxError("Invalid number ending at " + o);
@@ -2021,9 +2037,9 @@ var se, sl = function() {
2021
2037
  if (0 > h) throw new SyntaxError('Expected positive number, got "' + h + '" at index "' + o + '"');
2022
2038
  } else if ((this.curArgs.length === 3 || this.curArgs.length === 4) && this.curNumber !== "0" && this.curNumber !== "1") throw new SyntaxError('Expected a flag, got "' + this.curNumber + '" at index "' + o + '"');
2023
2039
  }
2024
- this.curArgs.push(h), this.curArgs.length === Eb[this.curCommandType] && (m.HORIZ_LINE_TO === this.curCommandType ? n({ type: m.HORIZ_LINE_TO, relative: this.curCommandRelative, x: h }) : m.VERT_LINE_TO === this.curCommandType ? n({ type: m.VERT_LINE_TO, relative: this.curCommandRelative, y: h }) : this.curCommandType === m.MOVE_TO || this.curCommandType === m.LINE_TO || this.curCommandType === m.SMOOTH_QUAD_TO ? (n({ type: this.curCommandType, relative: this.curCommandRelative, x: this.curArgs[0], y: this.curArgs[1] }), m.MOVE_TO === this.curCommandType && (this.curCommandType = m.LINE_TO)) : this.curCommandType === m.CURVE_TO ? n({ type: m.CURVE_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x2: this.curArgs[2], y2: this.curArgs[3], x: this.curArgs[4], y: this.curArgs[5] }) : this.curCommandType === m.SMOOTH_CURVE_TO ? n({ type: m.SMOOTH_CURVE_TO, relative: this.curCommandRelative, x2: this.curArgs[0], y2: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === m.QUAD_TO ? n({ type: m.QUAD_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === m.ARC && n({ type: m.ARC, relative: this.curCommandRelative, rX: this.curArgs[0], rY: this.curArgs[1], xRot: this.curArgs[2], lArcFlag: this.curArgs[3], sweepFlag: this.curArgs[4], x: this.curArgs[5], y: this.curArgs[6] })), this.curNumber = "", this.curNumberHasExpDigits = !1, this.curNumberHasExp = !1, this.curNumberHasDecimal = !1, this.canParseCommandOrComma = !0;
2040
+ this.curArgs.push(h), this.curArgs.length === Gb[this.curCommandType] && (m.HORIZ_LINE_TO === this.curCommandType ? n({ type: m.HORIZ_LINE_TO, relative: this.curCommandRelative, x: h }) : m.VERT_LINE_TO === this.curCommandType ? n({ type: m.VERT_LINE_TO, relative: this.curCommandRelative, y: h }) : this.curCommandType === m.MOVE_TO || this.curCommandType === m.LINE_TO || this.curCommandType === m.SMOOTH_QUAD_TO ? (n({ type: this.curCommandType, relative: this.curCommandRelative, x: this.curArgs[0], y: this.curArgs[1] }), m.MOVE_TO === this.curCommandType && (this.curCommandType = m.LINE_TO)) : this.curCommandType === m.CURVE_TO ? n({ type: m.CURVE_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x2: this.curArgs[2], y2: this.curArgs[3], x: this.curArgs[4], y: this.curArgs[5] }) : this.curCommandType === m.SMOOTH_CURVE_TO ? n({ type: m.SMOOTH_CURVE_TO, relative: this.curCommandRelative, x2: this.curArgs[0], y2: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === m.QUAD_TO ? n({ type: m.QUAD_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === m.ARC && n({ type: m.ARC, relative: this.curCommandRelative, rX: this.curArgs[0], rY: this.curArgs[1], xRot: this.curArgs[2], lArcFlag: this.curArgs[3], sweepFlag: this.curArgs[4], x: this.curArgs[5], y: this.curArgs[6] })), this.curNumber = "", this.curNumberHasExpDigits = !1, this.curNumberHasExp = !1, this.curNumberHasDecimal = !1, this.canParseCommandOrComma = !0;
2025
2041
  }
2026
- if (!Ob(s)) if (s === "," && this.canParseCommandOrComma) this.canParseCommandOrComma = !1;
2042
+ if (!Fb(s)) if (s === "," && this.canParseCommandOrComma) this.canParseCommandOrComma = !1;
2027
2043
  else if (s !== "+" && s !== "-" && s !== ".") if (l) this.curNumber = s, this.curNumberHasDecimal = !1;
2028
2044
  else {
2029
2045
  if (this.curArgs.length !== 0) throw new SyntaxError("Unterminated command at index " + o + ".");
@@ -2059,12 +2075,12 @@ var se, sl = function() {
2059
2075
  return i;
2060
2076
  } } });
2061
2077
  }, e;
2062
- }(sl), m = function(a) {
2078
+ }(vl), m = function(a) {
2063
2079
  function e(t) {
2064
2080
  var r = a.call(this) || this;
2065
2081
  return r.commands = typeof t == "string" ? e.parse(t) : t, r;
2066
2082
  }
2067
- return nl(e, a), e.prototype.encode = function() {
2083
+ return hl(e, a), e.prototype.encode = function() {
2068
2084
  return e.encode(this.commands);
2069
2085
  }, e.prototype.getBounds = function() {
2070
2086
  var t = U.CALCULATE_BOUNDS();
@@ -2076,36 +2092,33 @@ var se, sl = function() {
2076
2092
  }
2077
2093
  return this.commands = r, this;
2078
2094
  }, e.encode = function(t) {
2079
- return Tb(t);
2095
+ return jb(t);
2080
2096
  }, e.parse = function(t) {
2081
- var r = new Sb(), i = [];
2097
+ var r = new Ub(), i = [];
2082
2098
  return r.parse(t, i), r.finish(i), i;
2083
2099
  }, 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;
2084
- }(sl), Eb = ((se = {})[m.MOVE_TO] = 2, se[m.LINE_TO] = 2, se[m.HORIZ_LINE_TO] = 1, se[m.VERT_LINE_TO] = 1, se[m.CLOSE_PATH] = 0, se[m.QUAD_TO] = 4, se[m.SMOOTH_QUAD_TO] = 2, se[m.CURVE_TO] = 6, se[m.SMOOTH_CURVE_TO] = 4, se[m.ARC] = 7, se), $b = Y, wb = fe, Cb = yr, Ab = Du, fo = RegExp.prototype, Pb = function(a) {
2085
- var e = a.flags;
2086
- return e === void 0 && !("flags" in fo) && !wb(a, "flags") && Cb(fo, a) ? $b(Ab, a) : e;
2087
- }, Rb = Or.PROPER, Nb = Ue, Ib = J, co = pe, Mb = k, _b = Pb, en = "toString", ol = RegExp.prototype, ul = ol[en], Vb = Mb(function() {
2088
- return ul.call({ source: "a", flags: "b" }) !== "/a/b";
2089
- }), Db = Rb && ul.name !== en;
2090
- (Vb || Db) && Nb(ol, en, function() {
2091
- var e = Ib(this), t = co(e.source), r = co(_b(e));
2100
+ }(vl), Gb = ((oe = {})[m.MOVE_TO] = 2, oe[m.LINE_TO] = 2, oe[m.HORIZ_LINE_TO] = 1, oe[m.VERT_LINE_TO] = 1, oe[m.CLOSE_PATH] = 0, oe[m.QUAD_TO] = 4, oe[m.SMOOTH_QUAD_TO] = 2, oe[m.CURVE_TO] = 6, oe[m.SMOOTH_CURVE_TO] = 4, oe[m.ARC] = 7, oe), zb = $r.PROPER, Hb = Ue, Yb = J, yo = pe, Xb = D, Wb = Wi, tn = "toString", fl = RegExp.prototype, cl = fl[tn], qb = Xb(function() {
2101
+ return cl.call({ source: "a", flags: "b" }) !== "/a/b";
2102
+ }), Qb = zb && cl.name !== tn;
2103
+ (qb || Qb) && Hb(fl, tn, function() {
2104
+ var e = Yb(this), t = yo(e.source), r = yo(Wb(e));
2092
2105
  return "/" + t + "/" + r;
2093
2106
  }, { unsafe: !0 });
2094
- function lr(a) {
2107
+ function fr(a) {
2095
2108
  "@babel/helpers - typeof";
2096
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? lr = function(e) {
2109
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? fr = function(e) {
2097
2110
  return typeof e;
2098
- } : lr = function(e) {
2111
+ } : fr = function(e) {
2099
2112
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2100
- }, lr(a);
2113
+ }, fr(a);
2101
2114
  }
2102
- function kb(a, e) {
2115
+ function Kb(a, e) {
2103
2116
  if (!(a instanceof e))
2104
2117
  throw new TypeError("Cannot call a class as a function");
2105
2118
  }
2106
- var Lb = [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], Bb = [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];
2107
- function jb(a, e, t, r, i) {
2108
- if (typeof a == "string" && (a = document.getElementById(a)), !a || lr(a) !== "object" || !("getContext" in a))
2119
+ var Zb = [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], Jb = [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];
2120
+ function e1(a, e, t, r, i) {
2121
+ if (typeof a == "string" && (a = document.getElementById(a)), !a || fr(a) !== "object" || !("getContext" in a))
2109
2122
  throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");
2110
2123
  var n = a.getContext("2d");
2111
2124
  try {
@@ -2114,69 +2127,69 @@ function jb(a, e, t, r, i) {
2114
2127
  throw new Error("unable to access image data: " + o);
2115
2128
  }
2116
2129
  }
2117
- function Fb(a, e, t, r, i, n) {
2130
+ function t1(a, e, t, r, i, n) {
2118
2131
  if (!(isNaN(n) || n < 1)) {
2119
2132
  n |= 0;
2120
- var o = jb(a, e, t, r, i);
2121
- o = Ub(o, e, t, r, i, n), a.getContext("2d").putImageData(o, e, t);
2133
+ var o = e1(a, e, t, r, i);
2134
+ o = r1(o, e, t, r, i, n), a.getContext("2d").putImageData(o, e, t);
2122
2135
  }
2123
2136
  }
2124
- function Ub(a, e, t, r, i, n) {
2125
- for (var o = a.data, s = 2 * n + 1, u = r - 1, l = i - 1, h = n + 1, f = h * (h + 1) / 2, c = new go(), v = c, d, g = 1; g < s; g++)
2126
- v = v.next = new go(), g === h && (d = v);
2137
+ function r1(a, e, t, r, i, n) {
2138
+ for (var o = a.data, s = 2 * n + 1, u = r - 1, l = i - 1, h = n + 1, f = h * (h + 1) / 2, c = new mo(), v = c, g, d = 1; d < s; d++)
2139
+ v = v.next = new mo(), d === h && (g = v);
2127
2140
  v.next = c;
2128
- for (var p = null, y = null, x = 0, b = 0, T = Lb[n], $ = Bb[n], E = 0; E < i; E++) {
2141
+ for (var p = null, y = null, x = 0, b = 0, T = Zb[n], $ = Jb[n], E = 0; E < i; E++) {
2129
2142
  v = c;
2130
- for (var O = o[b], C = o[b + 1], I = o[b + 2], _ = o[b + 3], j = 0; j < h; j++)
2131
- v.r = O, v.g = C, v.b = I, v.a = _, v = v.next;
2132
- for (var P = 0, X = 0, W = 0, G = 0, q = h * O, H = h * C, Q = h * I, R = h * _, M = f * O, K = f * C, ne = f * I, ge = f * _, Se = 1; Se < h; Se++) {
2133
- var ze = b + ((u < Se ? u : Se) << 2), It = o[ze], an = o[ze + 1], nn = o[ze + 2], sn = o[ze + 3], Mt = h - Se;
2134
- M += (v.r = It) * Mt, K += (v.g = an) * Mt, ne += (v.b = nn) * Mt, ge += (v.a = sn) * Mt, P += It, X += an, W += nn, G += sn, v = v.next;
2143
+ for (var O = o[b], C = o[b + 1], P = o[b + 2], V = o[b + 3], j = 0; j < h; j++)
2144
+ v.r = O, v.g = C, v.b = P, v.a = V, v = v.next;
2145
+ for (var R = 0, X = 0, W = 0, G = 0, q = h * O, H = h * C, Q = h * P, N = h * V, M = f * O, K = f * C, se = f * P, ge = f * V, Se = 1; Se < h; Se++) {
2146
+ var ze = b + ((u < Se ? u : Se) << 2), It = o[ze], nn = o[ze + 1], sn = o[ze + 2], on = o[ze + 3], Mt = h - Se;
2147
+ M += (v.r = It) * Mt, K += (v.g = nn) * Mt, se += (v.b = sn) * Mt, ge += (v.a = on) * Mt, R += It, X += nn, W += sn, G += on, v = v.next;
2135
2148
  }
2136
- p = c, y = d;
2137
- for (var Dr = 0; Dr < r; Dr++) {
2138
- var kr = ge * T >>> $;
2139
- if (o[b + 3] = kr, kr !== 0) {
2140
- var Lr = 255 / kr;
2141
- o[b] = (M * T >>> $) * Lr, o[b + 1] = (K * T >>> $) * Lr, o[b + 2] = (ne * T >>> $) * Lr;
2149
+ p = c, y = g;
2150
+ for (var jr = 0; jr < r; jr++) {
2151
+ var Fr = ge * T >>> $;
2152
+ if (o[b + 3] = Fr, Fr !== 0) {
2153
+ var Ur = 255 / Fr;
2154
+ o[b] = (M * T >>> $) * Ur, o[b + 1] = (K * T >>> $) * Ur, o[b + 2] = (se * T >>> $) * Ur;
2142
2155
  } else
2143
2156
  o[b] = o[b + 1] = o[b + 2] = 0;
2144
- M -= q, K -= H, ne -= Q, ge -= R, q -= p.r, H -= p.g, Q -= p.b, R -= p.a;
2145
- var Ae = Dr + n + 1;
2146
- Ae = x + (Ae < u ? Ae : u) << 2, P += p.r = o[Ae], X += p.g = o[Ae + 1], W += p.b = o[Ae + 2], G += p.a = o[Ae + 3], M += P, K += X, ne += W, ge += G, p = p.next;
2147
- var _t = y, on = _t.r, un = _t.g, ln = _t.b, hn = _t.a;
2148
- q += on, H += un, Q += ln, R += hn, P -= on, X -= un, W -= ln, G -= hn, y = y.next, b += 4;
2157
+ M -= q, K -= H, se -= Q, ge -= N, q -= p.r, H -= p.g, Q -= p.b, N -= p.a;
2158
+ var Ae = jr + n + 1;
2159
+ Ae = x + (Ae < u ? Ae : u) << 2, R += p.r = o[Ae], X += p.g = o[Ae + 1], W += p.b = o[Ae + 2], G += p.a = o[Ae + 3], M += R, K += X, se += W, ge += G, p = p.next;
2160
+ var _t = y, un = _t.r, ln = _t.g, hn = _t.b, vn = _t.a;
2161
+ q += un, H += ln, Q += hn, N += vn, R -= un, X -= ln, W -= hn, G -= vn, y = y.next, b += 4;
2149
2162
  }
2150
2163
  x += r;
2151
2164
  }
2152
2165
  for (var He = 0; He < r; He++) {
2153
2166
  b = He << 2;
2154
- var Pe = o[b], Re = o[b + 1], Ne = o[b + 2], te = o[b + 3], Br = h * Pe, jr = h * Re, Fr = h * Ne, Ur = h * te, Vt = f * Pe, Dt = f * Re, kt = f * Ne, Lt = f * te;
2167
+ var Pe = o[b], Re = o[b + 1], Ne = o[b + 2], te = o[b + 3], Gr = h * Pe, zr = h * Re, Hr = h * Ne, Yr = h * te, Vt = f * Pe, Dt = f * Re, Lt = f * Ne, kt = f * te;
2155
2168
  v = c;
2156
- for (var vn = 0; vn < h; vn++)
2169
+ for (var fn = 0; fn < h; fn++)
2157
2170
  v.r = Pe, v.g = Re, v.b = Ne, v.a = te, v = v.next;
2158
- for (var fn = r, Gr = 0, zr = 0, Hr = 0, Yr = 0, Bt = 1; Bt <= n; Bt++) {
2159
- b = fn + He << 2;
2171
+ for (var cn = r, Xr = 0, Wr = 0, qr = 0, Qr = 0, Bt = 1; Bt <= n; Bt++) {
2172
+ b = cn + He << 2;
2160
2173
  var jt = h - Bt;
2161
- Vt += (v.r = Pe = o[b]) * jt, Dt += (v.g = Re = o[b + 1]) * jt, kt += (v.b = Ne = o[b + 2]) * jt, Lt += (v.a = te = o[b + 3]) * jt, Yr += Pe, Gr += Re, zr += Ne, Hr += te, v = v.next, Bt < l && (fn += r);
2174
+ Vt += (v.r = Pe = o[b]) * jt, Dt += (v.g = Re = o[b + 1]) * jt, Lt += (v.b = Ne = o[b + 2]) * jt, kt += (v.a = te = o[b + 3]) * jt, Qr += Pe, Xr += Re, Wr += Ne, qr += te, v = v.next, Bt < l && (cn += r);
2162
2175
  }
2163
- b = He, p = c, y = d;
2164
- for (var Xr = 0; Xr < i; Xr++) {
2176
+ b = He, p = c, y = g;
2177
+ for (var Kr = 0; Kr < i; Kr++) {
2165
2178
  var re = b << 2;
2166
- o[re + 3] = te = Lt * T >>> $, te > 0 ? (te = 255 / te, o[re] = (Vt * T >>> $) * te, o[re + 1] = (Dt * T >>> $) * te, o[re + 2] = (kt * T >>> $) * te) : o[re] = o[re + 1] = o[re + 2] = 0, Vt -= Br, Dt -= jr, kt -= Fr, Lt -= Ur, Br -= p.r, jr -= p.g, Fr -= p.b, Ur -= p.a, re = He + ((re = Xr + h) < l ? re : l) * r << 2, Vt += Yr += p.r = o[re], Dt += Gr += p.g = o[re + 1], kt += zr += p.b = o[re + 2], Lt += Hr += p.a = o[re + 3], p = p.next, Br += Pe = y.r, jr += Re = y.g, Fr += Ne = y.b, Ur += te = y.a, Yr -= Pe, Gr -= Re, zr -= Ne, Hr -= te, y = y.next, b += r;
2179
+ o[re + 3] = te = kt * T >>> $, te > 0 ? (te = 255 / te, o[re] = (Vt * T >>> $) * te, o[re + 1] = (Dt * T >>> $) * te, o[re + 2] = (Lt * T >>> $) * te) : o[re] = o[re + 1] = o[re + 2] = 0, Vt -= Gr, Dt -= zr, Lt -= Hr, kt -= Yr, Gr -= p.r, zr -= p.g, Hr -= p.b, Yr -= p.a, re = He + ((re = Kr + h) < l ? re : l) * r << 2, Vt += Qr += p.r = o[re], Dt += Xr += p.g = o[re + 1], Lt += Wr += p.b = o[re + 2], kt += qr += p.a = o[re + 3], p = p.next, Gr += Pe = y.r, zr += Re = y.g, Hr += Ne = y.b, Yr += te = y.a, Qr -= Pe, Xr -= Re, Wr -= Ne, qr -= te, y = y.next, b += r;
2167
2180
  }
2168
2181
  }
2169
2182
  return a;
2170
2183
  }
2171
- var go = (
2184
+ var mo = (
2172
2185
  /**
2173
2186
  * Set properties.
2174
2187
  */
2175
2188
  function a() {
2176
- kb(this, a), this.r = 0, this.g = 0, this.b = 0, this.a = 0, this.next = null;
2189
+ Kb(this, a), this.r = 0, this.g = 0, this.b = 0, this.a = 0, this.next = null;
2177
2190
  }
2178
2191
  );
2179
- function Gb() {
2192
+ function a1() {
2180
2193
  var {
2181
2194
  DOMParser: a
2182
2195
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = {
@@ -2196,7 +2209,7 @@ function Gb() {
2196
2209
  };
2197
2210
  return (typeof DOMParser < "u" || typeof a > "u") && Reflect.deleteProperty(e, "DOMParser"), e;
2198
2211
  }
2199
- function zb(a) {
2212
+ function i1(a) {
2200
2213
  var {
2201
2214
  DOMParser: e,
2202
2215
  canvas: t,
@@ -2212,76 +2225,76 @@ function zb(a) {
2212
2225
  createImage: t.loadImage
2213
2226
  };
2214
2227
  }
2215
- var r2 = /* @__PURE__ */ Object.freeze({
2228
+ var p2 = /* @__PURE__ */ Object.freeze({
2216
2229
  __proto__: null,
2217
- offscreen: Gb,
2218
- node: zb
2230
+ offscreen: a1,
2231
+ node: i1
2219
2232
  });
2220
- function ht(a) {
2233
+ function lt(a) {
2221
2234
  return a.replace(/(?!\u3000)\s+/gm, " ");
2222
2235
  }
2223
- function Hb(a) {
2236
+ function n1(a) {
2224
2237
  return a.replace(/^[\n \t]+/, "");
2225
2238
  }
2226
- function Yb(a) {
2239
+ function s1(a) {
2227
2240
  return a.replace(/[\n \t]+$/, "");
2228
2241
  }
2229
- function ie(a) {
2242
+ function ne(a) {
2230
2243
  var e = (a || "").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm) || [];
2231
2244
  return e.map(parseFloat);
2232
2245
  }
2233
- var Xb = /^[A-Z-]+$/;
2234
- function Wb(a) {
2235
- return Xb.test(a) ? a.toLowerCase() : a;
2246
+ var o1 = /^[A-Z-]+$/;
2247
+ function u1(a) {
2248
+ return o1.test(a) ? a.toLowerCase() : a;
2236
2249
  }
2237
- function ll(a) {
2250
+ function gl(a) {
2238
2251
  var e = /url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(a) || [];
2239
2252
  return e[2] || e[3] || e[4];
2240
2253
  }
2241
- function qb(a) {
2254
+ function l1(a) {
2242
2255
  if (!a.startsWith("rgb"))
2243
2256
  return a;
2244
2257
  var e = 3, t = a.replace(/\d+(\.\d+)?/g, (r, i) => e-- && i ? String(Math.round(parseFloat(r))) : r);
2245
2258
  return t;
2246
2259
  }
2247
- var Qb = /(\[[^\]]+\])/g, Kb = /(#[^\s+>~.[:]+)/g, Zb = /(\.[^\s+>~.[:]+)/g, Jb = /(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi, e1 = /(:[\w-]+\([^)]*\))/gi, t1 = /(:[^\s+>~.[:]+)/g, r1 = /([^\s+>~.[:]+)/g;
2248
- function _e(a, e) {
2260
+ var h1 = /(\[[^\]]+\])/g, v1 = /(#[^\s+>~.[:]+)/g, f1 = /(\.[^\s+>~.[:]+)/g, c1 = /(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi, g1 = /(:[\w-]+\([^)]*\))/gi, d1 = /(:[^\s+>~.[:]+)/g, p1 = /([^\s+>~.[:]+)/g;
2261
+ function Ve(a, e) {
2249
2262
  var t = e.exec(a);
2250
2263
  return t ? [a.replace(e, " "), t.length] : [a, 0];
2251
2264
  }
2252
- function a1(a) {
2265
+ function y1(a) {
2253
2266
  var e = [0, 0, 0], t = a.replace(/:not\(([^)]*)\)/g, " $1 ").replace(/{[\s\S]*/gm, " "), r = 0;
2254
- return [t, r] = _e(t, Qb), e[1] += r, [t, r] = _e(t, Kb), e[0] += r, [t, r] = _e(t, Zb), e[1] += r, [t, r] = _e(t, Jb), e[2] += r, [t, r] = _e(t, e1), e[1] += r, [t, r] = _e(t, t1), e[1] += r, t = t.replace(/[*\s+>~]/g, " ").replace(/[#.]/g, " "), [t, r] = _e(t, r1), e[2] += r, e.join("");
2267
+ return [t, r] = Ve(t, h1), e[1] += r, [t, r] = Ve(t, v1), e[0] += r, [t, r] = Ve(t, f1), e[1] += r, [t, r] = Ve(t, c1), e[2] += r, [t, r] = Ve(t, g1), e[1] += r, [t, r] = Ve(t, d1), e[1] += r, t = t.replace(/[*\s+>~]/g, " ").replace(/[#.]/g, " "), [t, r] = Ve(t, p1), e[2] += r, e.join("");
2255
2268
  }
2256
- var at = 1e-8;
2257
- function po(a) {
2269
+ var rt = 1e-8;
2270
+ function bo(a) {
2258
2271
  return Math.sqrt(Math.pow(a[0], 2) + Math.pow(a[1], 2));
2259
2272
  }
2260
- function yi(a, e) {
2261
- return (a[0] * e[0] + a[1] * e[1]) / (po(a) * po(e));
2273
+ function mi(a, e) {
2274
+ return (a[0] * e[0] + a[1] * e[1]) / (bo(a) * bo(e));
2262
2275
  }
2263
- function yo(a, e) {
2264
- return (a[0] * e[1] < a[1] * e[0] ? -1 : 1) * Math.acos(yi(a, e));
2276
+ function xo(a, e) {
2277
+ return (a[0] * e[1] < a[1] * e[0] ? -1 : 1) * Math.acos(mi(a, e));
2265
2278
  }
2266
- function mo(a) {
2279
+ function To(a) {
2267
2280
  return a * a * a;
2268
2281
  }
2269
- function bo(a) {
2282
+ function Oo(a) {
2270
2283
  return 3 * a * a * (1 - a);
2271
2284
  }
2272
- function xo(a) {
2285
+ function So(a) {
2273
2286
  return 3 * a * (1 - a) * (1 - a);
2274
2287
  }
2275
- function To(a) {
2288
+ function Eo(a) {
2276
2289
  return (1 - a) * (1 - a) * (1 - a);
2277
2290
  }
2278
- function Oo(a) {
2291
+ function $o(a) {
2279
2292
  return a * a;
2280
2293
  }
2281
- function So(a) {
2294
+ function wo(a) {
2282
2295
  return 2 * a * (1 - a);
2283
2296
  }
2284
- function Eo(a) {
2297
+ function Co(a) {
2285
2298
  return (1 - a) * (1 - a);
2286
2299
  }
2287
2300
  class S {
@@ -2296,7 +2309,7 @@ class S {
2296
2309
  document: t,
2297
2310
  name: r
2298
2311
  } = this;
2299
- return ht(this.getString()).trim().split(e).map((i) => new S(t, r, i));
2312
+ return lt(this.getString()).trim().split(e).map((i) => new S(t, r, i));
2300
2313
  }
2301
2314
  hasValue(e) {
2302
2315
  var {
@@ -2344,7 +2357,7 @@ class S {
2344
2357
  }
2345
2358
  getColor(e) {
2346
2359
  var t = this.getString(e);
2347
- return this.isNormalizedColor || (this.isNormalizedColor = !0, t = qb(t), this.value = t), t;
2360
+ return this.isNormalizedColor || (this.isNormalizedColor = !0, t = l1(t), this.value = t), t;
2348
2361
  }
2349
2362
  getDpi() {
2350
2363
  return 96;
@@ -2445,7 +2458,7 @@ class S {
2445
2458
  for (var t = this.getColor(), r = t.length, i = 0, n = 0; n < r && (t[n] === "," && i++, i !== 3); n++)
2446
2459
  ;
2447
2460
  if (e.hasValue() && this.isString() && i !== 3) {
2448
- var o = new gi(t);
2461
+ var o = new di(t);
2449
2462
  o.ok && (o.alpha = e.getNumber(), t = o.toRGBA());
2450
2463
  }
2451
2464
  return new S(this.document, this.name, t);
@@ -2464,7 +2477,7 @@ S.textBaselineMapping = {
2464
2477
  hanging: "hanging",
2465
2478
  mathematical: "alphabetic"
2466
2479
  };
2467
- class i1 {
2480
+ class m1 {
2468
2481
  constructor() {
2469
2482
  this.viewPorts = [];
2470
2483
  }
@@ -2496,21 +2509,21 @@ class i1 {
2496
2509
  return typeof e == "number" ? e : e === "x" ? this.width : e === "y" ? this.height : Math.sqrt(Math.pow(this.width, 2) + Math.pow(this.height, 2)) / Math.sqrt(2);
2497
2510
  }
2498
2511
  }
2499
- class V {
2512
+ class k {
2500
2513
  constructor(e, t) {
2501
2514
  this.x = e, this.y = t;
2502
2515
  }
2503
2516
  static parse(e) {
2504
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, [r = t, i = t] = ie(e);
2505
- return new V(r, i);
2517
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, [r = t, i = t] = ne(e);
2518
+ return new k(r, i);
2506
2519
  }
2507
2520
  static parseScale(e) {
2508
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, [r = t, i = r] = ie(e);
2509
- return new V(r, i);
2521
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, [r = t, i = r] = ne(e);
2522
+ return new k(r, i);
2510
2523
  }
2511
2524
  static parsePath(e) {
2512
- for (var t = ie(e), r = t.length, i = [], n = 0; n < r; n += 2)
2513
- i.push(new V(t[n], t[n + 1]));
2525
+ for (var t = ne(e), r = t.length, i = [], n = 0; n < r; n += 2)
2526
+ i.push(new k(t[n], t[n + 1]));
2514
2527
  return i;
2515
2528
  }
2516
2529
  angleTo(e) {
@@ -2524,7 +2537,7 @@ class V {
2524
2537
  this.x = i, this.y = n;
2525
2538
  }
2526
2539
  }
2527
- class n1 {
2540
+ class b1 {
2528
2541
  constructor(e) {
2529
2542
  this.screen = e, this.working = !1, this.events = [], this.eventElements = [], this.onClick = this.onClick.bind(this), this.onMouseMove = this.onMouseMove.bind(this);
2530
2543
  }
@@ -2601,7 +2614,7 @@ class n1 {
2601
2614
  for (var {
2602
2615
  window: r,
2603
2616
  ctx: i
2604
- } = this.screen, n = new V(e, t), o = i.canvas; o; )
2617
+ } = this.screen, n = new k(e, t), o = i.canvas; o; )
2605
2618
  n.x -= o.offsetLeft, n.y -= o.offsetTop, o = o.offsetParent;
2606
2619
  return r.scrollX && (n.x += r.scrollX), r.scrollY && (n.y += r.scrollY), n;
2607
2620
  }
@@ -2634,14 +2647,14 @@ class n1 {
2634
2647
  });
2635
2648
  }
2636
2649
  }
2637
- var hl = typeof window < "u" ? window : null, vl = typeof fetch < "u" ? fetch.bind(void 0) : null;
2638
- class Ir {
2650
+ var dl = typeof window < "u" ? window : null, pl = typeof fetch < "u" ? fetch.bind(void 0) : null;
2651
+ class Dr {
2639
2652
  constructor(e) {
2640
2653
  var {
2641
- fetch: t = vl,
2642
- window: r = hl
2654
+ fetch: t = pl,
2655
+ window: r = dl
2643
2656
  } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2644
- this.ctx = e, this.FRAMERATE = 30, this.MAX_VIRTUAL_PIXELS = 3e4, this.CLIENT_WIDTH = 800, this.CLIENT_HEIGHT = 600, this.viewPort = new i1(), this.mouse = new n1(this), this.animations = [], this.waits = [], this.frameDuration = 0, this.isReadyLock = !1, this.isFirstRender = !0, this.intervalId = null, this.window = r, this.fetch = t;
2657
+ this.ctx = e, this.FRAMERATE = 30, this.MAX_VIRTUAL_PIXELS = 3e4, this.CLIENT_WIDTH = 800, this.CLIENT_HEIGHT = 600, this.viewPort = new m1(), this.mouse = new b1(this), this.animations = [], this.waits = [], this.frameDuration = 0, this.isReadyLock = !1, this.isFirstRender = !0, this.intervalId = null, this.window = r, this.fetch = t;
2645
2658
  }
2646
2659
  wait(e) {
2647
2660
  this.waits.push(e);
@@ -2672,18 +2685,18 @@ class Ir {
2672
2685
  refX: f,
2673
2686
  refY: c,
2674
2687
  clip: v = !1,
2675
- clipX: d = 0,
2676
- clipY: g = 0
2677
- } = e, p = ht(i).replace(/^defer\s/, ""), [y, x] = p.split(" "), b = y || "xMidYMid", T = x || "meet", $ = n / o, E = s / u, O = Math.min($, E), C = Math.max($, E), I = o, _ = u;
2678
- T === "meet" && (I *= O, _ *= O), T === "slice" && (I *= C, _ *= C);
2679
- var j = new S(t, "refX", f), P = new S(t, "refY", c), X = j.hasValue() && P.hasValue();
2680
- if (X && r.translate(-O * j.getPixels("x"), -O * P.getPixels("y")), v) {
2681
- var W = O * d, G = O * g;
2688
+ clipX: g = 0,
2689
+ clipY: d = 0
2690
+ } = e, p = lt(i).replace(/^defer\s/, ""), [y, x] = p.split(" "), b = y || "xMidYMid", T = x || "meet", $ = n / o, E = s / u, O = Math.min($, E), C = Math.max($, E), P = o, V = u;
2691
+ T === "meet" && (P *= O, V *= O), T === "slice" && (P *= C, V *= C);
2692
+ var j = new S(t, "refX", f), R = new S(t, "refY", c), X = j.hasValue() && R.hasValue();
2693
+ if (X && r.translate(-O * j.getPixels("x"), -O * R.getPixels("y")), v) {
2694
+ var W = O * g, G = O * d;
2682
2695
  r.beginPath(), r.moveTo(W, G), r.lineTo(n, G), r.lineTo(n, s), r.lineTo(W, s), r.closePath(), r.clip();
2683
2696
  }
2684
2697
  if (!X) {
2685
- var q = T === "meet" && O === E, H = T === "slice" && C === E, Q = T === "meet" && O === $, R = T === "slice" && C === $;
2686
- b.startsWith("xMid") && (q || H) && r.translate(n / 2 - I / 2, 0), b.endsWith("YMid") && (Q || R) && r.translate(0, s / 2 - _ / 2), b.startsWith("xMax") && (q || H) && r.translate(n - I, 0), b.endsWith("YMax") && (Q || R) && r.translate(0, s - _);
2698
+ var q = T === "meet" && O === E, H = T === "slice" && C === E, Q = T === "meet" && O === $, N = T === "slice" && C === $;
2699
+ b.startsWith("xMid") && (q || H) && r.translate(n / 2 - P / 2, 0), b.endsWith("YMid") && (Q || N) && r.translate(0, s / 2 - V / 2), b.startsWith("xMax") && (q || H) && r.translate(n - P, 0), b.endsWith("YMax") && (Q || N) && r.translate(0, s - V);
2687
2700
  }
2688
2701
  switch (!0) {
2689
2702
  case b === "none":
@@ -2713,18 +2726,18 @@ class Ir {
2713
2726
  } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, {
2714
2727
  FRAMERATE: c,
2715
2728
  mouse: v
2716
- } = this, d = 1e3 / c;
2717
- if (this.frameDuration = d, this.readyPromise = new Promise((b) => {
2729
+ } = this, g = 1e3 / c;
2730
+ if (this.frameDuration = g, this.readyPromise = new Promise((b) => {
2718
2731
  this.resolveReady = b;
2719
2732
  }), this.isReady() && this.render(e, n, o, u, l, h, f), !!t) {
2720
- var g = Date.now(), p = g, y = 0, x = () => {
2721
- g = Date.now(), y = g - p, y >= d && (p = g - y % d, this.shouldUpdate(i, s) && (this.render(e, n, o, u, l, h, f), v.runEvents())), this.intervalId = La(x);
2733
+ var d = Date.now(), p = d, y = 0, x = () => {
2734
+ d = Date.now(), y = d - p, y >= g && (p = d - y % g, this.shouldUpdate(i, s) && (this.render(e, n, o, u, l, h, f), v.runEvents())), this.intervalId = Fa(x);
2722
2735
  };
2723
- r || v.start(), this.intervalId = La(x);
2736
+ r || v.start(), this.intervalId = Fa(x);
2724
2737
  }
2725
2738
  }
2726
2739
  stop() {
2727
- this.intervalId && (La.cancel(this.intervalId), this.intervalId = null), this.mouse.stop();
2740
+ this.intervalId && (Fa.cancel(this.intervalId), this.intervalId = null), this.mouse.stop();
2728
2741
  }
2729
2742
  shouldUpdate(e, t) {
2730
2743
  if (!e) {
@@ -2745,11 +2758,11 @@ class Ir {
2745
2758
  isFirstRender: c
2746
2759
  } = this, v = f.canvas;
2747
2760
  h.clear(), v.width && v.height ? h.setCurrent(v.width, v.height) : h.setCurrent(u, l);
2748
- var d = e.getStyle("width"), g = e.getStyle("height");
2749
- !t && (c || typeof i != "number" && typeof n != "number") && (d.hasValue() && (v.width = d.getPixels("x"), v.style && (v.style.width = "".concat(v.width, "px"))), g.hasValue() && (v.height = g.getPixels("y"), v.style && (v.style.height = "".concat(v.height, "px"))));
2761
+ var g = e.getStyle("width"), d = e.getStyle("height");
2762
+ !t && (c || typeof i != "number" && typeof n != "number") && (g.hasValue() && (v.width = g.getPixels("x"), v.style && (v.style.width = "".concat(v.width, "px"))), d.hasValue() && (v.height = d.getPixels("y"), v.style && (v.style.height = "".concat(v.height, "px"))));
2750
2763
  var p = v.clientWidth || v.width, y = v.clientHeight || v.height;
2751
- if (t && d.hasValue() && g.hasValue() && (p = d.getPixels("x"), y = g.getPixels("y")), h.setCurrent(p, y), typeof o == "number" && e.getAttribute("x", !0).setValue(o), typeof s == "number" && e.getAttribute("y", !0).setValue(s), typeof i == "number" || typeof n == "number") {
2752
- var x = ie(e.getAttribute("viewBox").getString()), b = 0, T = 0;
2764
+ if (t && g.hasValue() && d.hasValue() && (p = g.getPixels("x"), y = d.getPixels("y")), h.setCurrent(p, y), typeof o == "number" && e.getAttribute("x", !0).setValue(o), typeof s == "number" && e.getAttribute("y", !0).setValue(s), typeof i == "number" || typeof n == "number") {
2765
+ var x = ne(e.getAttribute("viewBox").getString()), b = 0, T = 0;
2753
2766
  if (typeof i == "number") {
2754
2767
  var $ = e.getStyle("width");
2755
2768
  $.hasValue() ? b = $.getPixels("x") / i : isNaN(x[2]) || (b = x[2] / i);
@@ -2765,16 +2778,16 @@ class Ir {
2765
2778
  r || f.clearRect(0, 0, p, y), e.render(f), c && (this.isFirstRender = !1);
2766
2779
  }
2767
2780
  }
2768
- Ir.defaultWindow = hl;
2769
- Ir.defaultFetch = vl;
2781
+ Dr.defaultWindow = dl;
2782
+ Dr.defaultFetch = pl;
2770
2783
  var {
2771
- defaultFetch: s1
2772
- } = Ir, o1 = typeof DOMParser < "u" ? DOMParser : null;
2773
- class Fa {
2784
+ defaultFetch: x1
2785
+ } = Dr, T1 = typeof DOMParser < "u" ? DOMParser : null;
2786
+ class Ga {
2774
2787
  constructor() {
2775
2788
  var {
2776
- fetch: e = s1,
2777
- DOMParser: t = o1
2789
+ fetch: e = x1,
2790
+ DOMParser: t = T1
2778
2791
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2779
2792
  this.fetch = e, this.DOMParser = t;
2780
2793
  }
@@ -2806,9 +2819,9 @@ class Fa {
2806
2819
  })();
2807
2820
  }
2808
2821
  }
2809
- class u1 {
2822
+ class O1 {
2810
2823
  constructor(e, t) {
2811
- this.type = "translate", this.point = null, this.point = V.parse(t);
2824
+ this.type = "translate", this.point = null, this.point = k.parse(t);
2812
2825
  }
2813
2826
  apply(e) {
2814
2827
  var {
@@ -2832,10 +2845,10 @@ class u1 {
2832
2845
  e.applyTransform([1, 0, 0, 1, t || 0, r || 0]);
2833
2846
  }
2834
2847
  }
2835
- class l1 {
2848
+ class S1 {
2836
2849
  constructor(e, t, r) {
2837
2850
  this.type = "rotate", this.angle = null, this.originX = null, this.originY = null, this.cx = 0, this.cy = 0;
2838
- var i = ie(t);
2851
+ var i = ne(t);
2839
2852
  this.angle = new S(e, "angle", i[0]), this.originX = r[0], this.originY = r[1], this.cx = i[1] || 0, this.cy = i[2] || 0;
2840
2853
  }
2841
2854
  apply(e) {
@@ -2883,11 +2896,11 @@ class l1 {
2883
2896
  ]);
2884
2897
  }
2885
2898
  }
2886
- class h1 {
2899
+ class E1 {
2887
2900
  constructor(e, t, r) {
2888
2901
  this.type = "scale", this.scale = null, this.originX = null, this.originY = null;
2889
- var i = V.parseScale(t);
2890
- (i.x === 0 || i.y === 0) && (i.x = at, i.y = at), this.scale = i, this.originX = r[0], this.originY = r[1];
2902
+ var i = k.parseScale(t);
2903
+ (i.x === 0 || i.y === 0) && (i.x = rt, i.y = rt), this.scale = i, this.originX = r[0], this.originY = r[1];
2891
2904
  }
2892
2905
  apply(e) {
2893
2906
  var {
@@ -2919,9 +2932,9 @@ class h1 {
2919
2932
  e.applyTransform([t || 0, 0, 0, r || 0, 0, 0]);
2920
2933
  }
2921
2934
  }
2922
- class fl {
2935
+ class yl {
2923
2936
  constructor(e, t, r) {
2924
- this.type = "matrix", this.matrix = [], this.originX = null, this.originY = null, this.matrix = ie(t), this.originX = r[0], this.originY = r[1];
2937
+ this.type = "matrix", this.matrix = [], this.originX = null, this.originY = null, this.matrix = ne(t), this.originX = r[0], this.originY = r[1];
2925
2938
  }
2926
2939
  apply(e) {
2927
2940
  var {
@@ -2936,49 +2949,49 @@ class fl {
2936
2949
  originX: t,
2937
2950
  originY: r,
2938
2951
  matrix: i
2939
- } = this, n = i[0], o = i[2], s = i[4], u = i[1], l = i[3], h = i[5], f = 0, c = 0, v = 1, d = 1 / (n * (l * v - h * c) - o * (u * v - h * f) + s * (u * c - l * f)), g = t.getPixels("x"), p = r.getPixels("y");
2940
- e.translate(g, p), e.transform(d * (l * v - h * c), d * (h * f - u * v), d * (s * c - o * v), d * (n * v - s * f), d * (o * h - s * l), d * (s * u - n * h)), e.translate(-g, -p);
2952
+ } = this, n = i[0], o = i[2], s = i[4], u = i[1], l = i[3], h = i[5], f = 0, c = 0, v = 1, g = 1 / (n * (l * v - h * c) - o * (u * v - h * f) + s * (u * c - l * f)), d = t.getPixels("x"), p = r.getPixels("y");
2953
+ e.translate(d, p), e.transform(g * (l * v - h * c), g * (h * f - u * v), g * (s * c - o * v), g * (n * v - s * f), g * (o * h - s * l), g * (s * u - n * h)), e.translate(-d, -p);
2941
2954
  }
2942
2955
  applyToPoint(e) {
2943
2956
  e.applyTransform(this.matrix);
2944
2957
  }
2945
2958
  }
2946
- class cl extends fl {
2959
+ class ml extends yl {
2947
2960
  constructor(e, t, r) {
2948
2961
  super(e, t, r), this.type = "skew", this.angle = null, this.angle = new S(e, "angle", t);
2949
2962
  }
2950
2963
  }
2951
- class v1 extends cl {
2964
+ class $1 extends ml {
2952
2965
  constructor(e, t, r) {
2953
2966
  super(e, t, r), this.type = "skewX", this.matrix = [1, 0, Math.tan(this.angle.getRadians()), 1, 0, 0];
2954
2967
  }
2955
2968
  }
2956
- class f1 extends cl {
2969
+ class w1 extends ml {
2957
2970
  constructor(e, t, r) {
2958
2971
  super(e, t, r), this.type = "skewY", this.matrix = [1, Math.tan(this.angle.getRadians()), 0, 1, 0, 0];
2959
2972
  }
2960
2973
  }
2961
- function c1(a) {
2962
- return ht(a).trim().replace(/\)([a-zA-Z])/g, ") $1").replace(/\)(\s?,\s?)/g, ") ").split(/\s(?=[a-z])/);
2974
+ function C1(a) {
2975
+ return lt(a).trim().replace(/\)([a-zA-Z])/g, ") $1").replace(/\)(\s?,\s?)/g, ") ").split(/\s(?=[a-z])/);
2963
2976
  }
2964
- function g1(a) {
2977
+ function A1(a) {
2965
2978
  var [e, t] = a.split("(");
2966
2979
  return [e.trim(), t.trim().replace(")", "")];
2967
2980
  }
2968
- class Le {
2981
+ class Be {
2969
2982
  constructor(e, t, r) {
2970
2983
  this.document = e, this.transforms = [];
2971
- var i = c1(t);
2984
+ var i = C1(t);
2972
2985
  i.forEach((n) => {
2973
2986
  if (n !== "none") {
2974
- var [o, s] = g1(n), u = Le.transformTypes[o];
2987
+ var [o, s] = A1(n), u = Be.transformTypes[o];
2975
2988
  typeof u < "u" && this.transforms.push(new u(this.document, s, r));
2976
2989
  }
2977
2990
  });
2978
2991
  }
2979
2992
  static fromElement(e, t) {
2980
2993
  var r = t.getStyle("transform", !1, !0), [i, n = i] = t.getStyle("transform-origin", !1, !0).split(), o = [i, n];
2981
- return r.hasValue() ? new Le(e, r.getString(), o) : null;
2994
+ return r.hasValue() ? new Be(e, r.getString(), o) : null;
2982
2995
  }
2983
2996
  apply(e) {
2984
2997
  for (var {
@@ -3000,20 +3013,20 @@ class Le {
3000
3013
  t[i].applyToPoint(e);
3001
3014
  }
3002
3015
  }
3003
- Le.transformTypes = {
3004
- translate: u1,
3005
- rotate: l1,
3006
- scale: h1,
3007
- matrix: fl,
3008
- skewX: v1,
3009
- skewY: f1
3016
+ Be.transformTypes = {
3017
+ translate: O1,
3018
+ rotate: S1,
3019
+ scale: E1,
3020
+ matrix: yl,
3021
+ skewX: $1,
3022
+ skewY: w1
3010
3023
  };
3011
- class N {
3024
+ class I {
3012
3025
  constructor(e, t) {
3013
3026
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
3014
- if (this.document = e, this.node = t, this.captureTextNodes = r, this.attributes = {}, this.styles = {}, this.stylesSpecificity = {}, this.animationFrozen = !1, this.animationFrozenValue = "", this.parent = null, this.children = [], !(!t || t.nodeType !== 1)) {
3027
+ if (this.document = e, this.node = t, this.captureTextNodes = r, this.attributes = /* @__PURE__ */ Object.create(null), this.styles = /* @__PURE__ */ Object.create(null), this.stylesSpecificity = /* @__PURE__ */ Object.create(null), this.animationFrozen = !1, this.animationFrozenValue = "", this.parent = null, this.children = [], !(!t || t.nodeType !== 1)) {
3015
3028
  if (Array.from(t.attributes).forEach((s) => {
3016
- var u = Wb(s.nodeName);
3029
+ var u = u1(s.nodeName);
3017
3030
  this.attributes[u] = new S(e, u, s.value);
3018
3031
  }), this.addStylesFromStyleDefinition(), this.getAttribute("style").hasValue()) {
3019
3032
  var i = this.getAttribute("style").getString().split(";").map((s) => s.trim());
@@ -3090,7 +3103,7 @@ class N {
3090
3103
  setContext(e) {
3091
3104
  }
3092
3105
  applyEffects(e) {
3093
- var t = Le.fromElement(this.document, this);
3106
+ var t = Be.fromElement(this.document, this);
3094
3107
  t && t.apply(e);
3095
3108
  var r = this.getStyle("clip-path", !1, !0);
3096
3109
  if (r.hasValue()) {
@@ -3106,8 +3119,8 @@ class N {
3106
3119
  });
3107
3120
  }
3108
3121
  addChild(e) {
3109
- var t = e instanceof N ? e : this.document.createElement(e);
3110
- t.parent = this, N.ignoreChildTypes.includes(t.type) || this.children.push(t);
3122
+ var t = e instanceof I ? e : this.document.createElement(e);
3123
+ t.parent = this, I.ignoreChildTypes.includes(t.type) || this.children.push(t);
3111
3124
  }
3112
3125
  matchesSelector(e) {
3113
3126
  var t, {
@@ -3154,20 +3167,20 @@ class N {
3154
3167
  return ((e = this.parent) === null || e === void 0 ? void 0 : e.children.indexOf(this)) === 0;
3155
3168
  }
3156
3169
  }
3157
- N.ignoreChildTypes = ["title"];
3158
- class d1 extends N {
3170
+ I.ignoreChildTypes = ["title"];
3171
+ class P1 extends I {
3159
3172
  constructor(e, t, r) {
3160
3173
  super(e, t, r);
3161
3174
  }
3162
3175
  }
3163
- function p1(a) {
3176
+ function R1(a) {
3164
3177
  var e = a.trim();
3165
3178
  return /^('|")/.test(e) ? e : '"'.concat(e, '"');
3166
3179
  }
3167
- function y1(a) {
3168
- return typeof process > "u" ? a : a.trim().split(",").map(p1).join(",");
3180
+ function N1(a) {
3181
+ return typeof process > "u" ? a : a.trim().split(",").map(R1).join(",");
3169
3182
  }
3170
- function m1(a) {
3183
+ function I1(a) {
3171
3184
  if (!a)
3172
3185
  return "";
3173
3186
  var e = a.trim().toLowerCase();
@@ -3183,7 +3196,7 @@ function m1(a) {
3183
3196
  return /^oblique\s+(-|)\d+deg$/.test(e) ? e : "";
3184
3197
  }
3185
3198
  }
3186
- function b1(a) {
3199
+ function M1(a) {
3187
3200
  if (!a)
3188
3201
  return "";
3189
3202
  var e = a.trim().toLowerCase();
@@ -3206,7 +3219,7 @@ class Z {
3206
3219
  this.fontFamily = n || s.fontFamily, this.fontSize = i || s.fontSize, this.fontStyle = e || s.fontStyle, this.fontWeight = r || s.fontWeight, this.fontVariant = t || s.fontVariant;
3207
3220
  }
3208
3221
  static parse() {
3209
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 ? arguments[1] : void 0, r = "", i = "", n = "", o = "", s = "", u = ht(e).trim().split(" "), l = {
3222
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 ? arguments[1] : void 0, r = "", i = "", n = "", o = "", s = "", u = lt(e).trim().split(" "), l = {
3210
3223
  fontSize: !1,
3211
3224
  fontStyle: !1,
3212
3225
  fontWeight: !1,
@@ -3233,12 +3246,12 @@ class Z {
3233
3246
  }
3234
3247
  toString() {
3235
3248
  return [
3236
- m1(this.fontStyle),
3249
+ I1(this.fontStyle),
3237
3250
  this.fontVariant,
3238
- b1(this.fontWeight),
3251
+ M1(this.fontWeight),
3239
3252
  this.fontSize,
3240
3253
  // Wrap fontFamily only on nodejs and only for canvas.ctx
3241
- y1(this.fontFamily)
3254
+ N1(this.fontFamily)
3242
3255
  ].join(" ").trim();
3243
3256
  }
3244
3257
  }
@@ -3325,7 +3338,7 @@ class w extends m {
3325
3338
  super(e.replace(/([+\-.])\s+/gm, "$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g, "")), this.control = null, this.start = null, this.current = null, this.command = null, this.commands = this.commands, this.i = -1, this.previousCommand = null, this.points = [], this.angles = [];
3326
3339
  }
3327
3340
  reset() {
3328
- this.i = -1, this.command = null, this.previousCommand = null, this.start = new V(0, 0), this.control = new V(0, 0), this.current = new V(0, 0), this.points = [], this.angles = [];
3341
+ this.i = -1, this.command = null, this.previousCommand = null, this.start = new k(0, 0), this.control = new k(0, 0), this.current = new k(0, 0), this.points = [], this.angles = [];
3329
3342
  }
3330
3343
  isEnd() {
3331
3344
  var {
@@ -3339,7 +3352,7 @@ class w extends m {
3339
3352
  return this.previousCommand = this.command, this.command = e, e;
3340
3353
  }
3341
3354
  getPoint() {
3342
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "x", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "y", r = new V(this.command[e], this.command[t]);
3355
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "x", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "y", r = new k(this.command[e], this.command[t]);
3343
3356
  return this.makeAbsolute(r);
3344
3357
  }
3345
3358
  getAsControlPoint(e, t) {
@@ -3363,7 +3376,7 @@ class w extends m {
3363
3376
  x: i,
3364
3377
  y: n
3365
3378
  }
3366
- } = this, o = new V(2 * t - i, 2 * r - n);
3379
+ } = this, o = new k(2 * t - i, 2 * r - n);
3367
3380
  return o;
3368
3381
  }
3369
3382
  makeAbsolute(e) {
@@ -3403,7 +3416,7 @@ class w extends m {
3403
3416
  return e;
3404
3417
  }
3405
3418
  }
3406
- class Ge extends N {
3419
+ class Ge extends I {
3407
3420
  constructor() {
3408
3421
  super(...arguments), this.modifiedEmSizeStack = !1;
3409
3422
  }
@@ -3444,20 +3457,20 @@ class Ge extends N {
3444
3457
  }
3445
3458
  var v = this.getStyle("stroke-width");
3446
3459
  if (v.hasValue()) {
3447
- var d = v.getPixels();
3448
- e.lineWidth = d || at;
3460
+ var g = v.getPixels();
3461
+ e.lineWidth = g || rt;
3449
3462
  }
3450
- var g = this.getStyle("stroke-linecap"), p = this.getStyle("stroke-linejoin"), y = this.getStyle("stroke-miterlimit"), x = this.getStyle("stroke-dasharray"), b = this.getStyle("stroke-dashoffset");
3451
- if (g.hasValue() && (e.lineCap = g.getString()), p.hasValue() && (e.lineJoin = p.getString()), y.hasValue() && (e.miterLimit = y.getNumber()), x.hasValue() && x.getString() !== "none") {
3452
- var T = ie(x.getString());
3463
+ var d = this.getStyle("stroke-linecap"), p = this.getStyle("stroke-linejoin"), y = this.getStyle("stroke-miterlimit"), x = this.getStyle("stroke-dasharray"), b = this.getStyle("stroke-dashoffset");
3464
+ if (d.hasValue() && (e.lineCap = d.getString()), p.hasValue() && (e.lineJoin = p.getString()), y.hasValue() && (e.miterLimit = y.getNumber()), x.hasValue() && x.getString() !== "none") {
3465
+ var T = ne(x.getString());
3453
3466
  typeof e.setLineDash < "u" ? e.setLineDash(T) : typeof e.webkitLineDash < "u" ? e.webkitLineDash = T : typeof e.mozDash < "u" && !(T.length === 1 && T[0] === 0) && (e.mozDash = T);
3454
3467
  var $ = b.getPixels();
3455
3468
  typeof e.lineDashOffset < "u" ? e.lineDashOffset = $ : typeof e.webkitLineDashOffset < "u" ? e.webkitLineDashOffset = $ : typeof e.mozDashOffset < "u" && (e.mozDashOffset = $);
3456
3469
  }
3457
3470
  }
3458
3471
  if (this.modifiedEmSizeStack = !1, typeof e.font < "u") {
3459
- var E = this.getStyle("font"), O = this.getStyle("font-style"), C = this.getStyle("font-variant"), I = this.getStyle("font-weight"), _ = this.getStyle("font-size"), j = this.getStyle("font-family"), P = new Z(O.getString(), C.getString(), I.getString(), _.hasValue() ? "".concat(_.getPixels(!0), "px") : "", j.getString(), Z.parse(E.getString(), e.font));
3460
- O.setValue(P.fontStyle), C.setValue(P.fontVariant), I.setValue(P.fontWeight), _.setValue(P.fontSize), j.setValue(P.fontFamily), e.font = P.toString(), _.isPixels() && (this.document.emSize = _.getPixels(), this.modifiedEmSizeStack = !0);
3472
+ var E = this.getStyle("font"), O = this.getStyle("font-style"), C = this.getStyle("font-variant"), P = this.getStyle("font-weight"), V = this.getStyle("font-size"), j = this.getStyle("font-family"), R = new Z(O.getString(), C.getString(), P.getString(), V.hasValue() ? "".concat(V.getPixels(!0), "px") : "", j.getString(), Z.parse(E.getString(), e.font));
3473
+ O.setValue(R.fontStyle), C.setValue(R.fontVariant), P.setValue(R.fontWeight), V.setValue(R.fontSize), j.setValue(R.fontFamily), e.font = R.toString(), V.isPixels() && (this.document.emSize = V.getPixels(), this.modifiedEmSizeStack = !0);
3461
3474
  }
3462
3475
  t || (this.applyEffects(e), e.globalAlpha = this.calculateOpacity());
3463
3476
  }
@@ -3530,12 +3543,12 @@ class A extends Ge {
3530
3543
  }
3531
3544
  if (o.isUrlDefinition())
3532
3545
  for (var f = o.getDefinition(), c = 1; c < i; c++) {
3533
- var [v, d] = r[c];
3534
- f.render(e, v, d);
3546
+ var [v, g] = r[c];
3547
+ f.render(e, v, g);
3535
3548
  }
3536
3549
  if (s.isUrlDefinition()) {
3537
- var g = s.getDefinition(), [p, y] = r[i];
3538
- g.render(e, p, y);
3550
+ var d = s.getDefinition(), [p, y] = r[i];
3551
+ d.render(e, p, y);
3539
3552
  }
3540
3553
  }
3541
3554
  }
@@ -3581,7 +3594,7 @@ class A extends Ge {
3581
3594
  var {
3582
3595
  current: t,
3583
3596
  command: r
3584
- } = e, i = new V((r.relative ? t.x : 0) + r.x, t.y);
3597
+ } = e, i = new k((r.relative ? t.x : 0) + r.x, t.y);
3585
3598
  return e.current = i, {
3586
3599
  current: t,
3587
3600
  point: i
@@ -3603,7 +3616,7 @@ class A extends Ge {
3603
3616
  var {
3604
3617
  current: t,
3605
3618
  command: r
3606
- } = e, i = new V(t.x, (r.relative ? t.y : 0) + r.y);
3619
+ } = e, i = new k(t.x, (r.relative ? t.y : 0) + r.y);
3607
3620
  return e.current = i, {
3608
3621
  current: t,
3609
3622
  point: i
@@ -3717,18 +3730,18 @@ class A extends Ge {
3717
3730
  xRot: o,
3718
3731
  lArcFlag: s,
3719
3732
  sweepFlag: u
3720
- } = r, l = o * (Math.PI / 180), h = e.getAsCurrentPoint(), f = new V(Math.cos(l) * (t.x - h.x) / 2 + Math.sin(l) * (t.y - h.y) / 2, -Math.sin(l) * (t.x - h.x) / 2 + Math.cos(l) * (t.y - h.y) / 2), c = Math.pow(f.x, 2) / Math.pow(i, 2) + Math.pow(f.y, 2) / Math.pow(n, 2);
3733
+ } = r, l = o * (Math.PI / 180), h = e.getAsCurrentPoint(), f = new k(Math.cos(l) * (t.x - h.x) / 2 + Math.sin(l) * (t.y - h.y) / 2, -Math.sin(l) * (t.x - h.x) / 2 + Math.cos(l) * (t.y - h.y) / 2), c = Math.pow(f.x, 2) / Math.pow(i, 2) + Math.pow(f.y, 2) / Math.pow(n, 2);
3721
3734
  c > 1 && (i *= Math.sqrt(c), n *= Math.sqrt(c));
3722
3735
  var v = (s === u ? -1 : 1) * Math.sqrt((Math.pow(i, 2) * Math.pow(n, 2) - Math.pow(i, 2) * Math.pow(f.y, 2) - Math.pow(n, 2) * Math.pow(f.x, 2)) / (Math.pow(i, 2) * Math.pow(f.y, 2) + Math.pow(n, 2) * Math.pow(f.x, 2)));
3723
3736
  isNaN(v) && (v = 0);
3724
- var d = new V(v * i * f.y / n, v * -n * f.x / i), g = new V((t.x + h.x) / 2 + Math.cos(l) * d.x - Math.sin(l) * d.y, (t.y + h.y) / 2 + Math.sin(l) * d.x + Math.cos(l) * d.y), p = yo([1, 0], [(f.x - d.x) / i, (f.y - d.y) / n]), y = [(f.x - d.x) / i, (f.y - d.y) / n], x = [(-f.x - d.x) / i, (-f.y - d.y) / n], b = yo(y, x);
3725
- return yi(y, x) <= -1 && (b = Math.PI), yi(y, x) >= 1 && (b = 0), {
3737
+ var g = new k(v * i * f.y / n, v * -n * f.x / i), d = new k((t.x + h.x) / 2 + Math.cos(l) * g.x - Math.sin(l) * g.y, (t.y + h.y) / 2 + Math.sin(l) * g.x + Math.cos(l) * g.y), p = xo([1, 0], [(f.x - g.x) / i, (f.y - g.y) / n]), y = [(f.x - g.x) / i, (f.y - g.y) / n], x = [(-f.x - g.x) / i, (-f.y - g.y) / n], b = xo(y, x);
3738
+ return mi(y, x) <= -1 && (b = Math.PI), mi(y, x) >= 1 && (b = 0), {
3726
3739
  currentPoint: h,
3727
3740
  rX: i,
3728
3741
  rY: n,
3729
3742
  sweepFlag: u,
3730
3743
  xAxisRotation: l,
3731
- centp: g,
3744
+ centp: d,
3732
3745
  a1: p,
3733
3746
  ad: b
3734
3747
  };
@@ -3745,10 +3758,10 @@ class A extends Ge {
3745
3758
  centp: l,
3746
3759
  a1: h,
3747
3760
  ad: f
3748
- } = A.pathA(r), c = 1 - s ? 1 : -1, v = h + c * (f / 2), d = new V(l.x + n * Math.cos(v), l.y + o * Math.sin(v));
3749
- if (r.addMarkerAngle(d, v - c * Math.PI / 2), r.addMarkerAngle(i, v - c * Math.PI), t.addPoint(i.x, i.y), e && !isNaN(h) && !isNaN(f)) {
3750
- var g = n > o ? n : o, p = n > o ? 1 : n / o, y = n > o ? o / n : 1;
3751
- e.translate(l.x, l.y), e.rotate(u), e.scale(p, y), e.arc(0, 0, g, h, h + f, !!(1 - s)), e.scale(1 / p, 1 / y), e.rotate(-u), e.translate(-l.x, -l.y);
3761
+ } = A.pathA(r), c = 1 - s ? 1 : -1, v = h + c * (f / 2), g = new k(l.x + n * Math.cos(v), l.y + o * Math.sin(v));
3762
+ if (r.addMarkerAngle(g, v - c * Math.PI / 2), r.addMarkerAngle(i, v - c * Math.PI), t.addPoint(i.x, i.y), e && !isNaN(h) && !isNaN(f)) {
3763
+ var d = n > o ? n : o, p = n > o ? 1 : n / o, y = n > o ? o / n : 1;
3764
+ e.translate(l.x, l.y), e.rotate(u), e.scale(p, y), e.arc(0, 0, d, h, h + f, !!(1 - s)), e.scale(1 / p, 1 / y), e.rotate(-u), e.translate(-l.x, -l.y);
3752
3765
  }
3753
3766
  }
3754
3767
  static pathZ(e) {
@@ -3758,7 +3771,7 @@ class A extends Ge {
3758
3771
  A.pathZ(this.pathParser), e && t.x1 !== t.x2 && t.y1 !== t.y2 && e.closePath();
3759
3772
  }
3760
3773
  }
3761
- class gl extends A {
3774
+ class bl extends A {
3762
3775
  constructor(e, t, r) {
3763
3776
  super(e, t, r), this.type = "glyph", this.horizAdvX = this.getAttribute("horiz-adv-x").getNumber(), this.unicode = this.getAttribute("unicode").getString(), this.arabicForm = this.getAttribute("arabic-form").getString();
3764
3777
  }
@@ -3803,7 +3816,7 @@ class Ce extends Ge {
3803
3816
  var o = t.length, s = t[r - 1], u = t[r + 1], l = "isolated";
3804
3817
  if ((r === 0 || s === " ") && r < o - 1 && u !== " " && (l = "terminal"), r > 0 && s !== " " && r < o - 1 && u !== " " && (l = "medial"), r > 0 && s !== " " && (r === o - 1 || u === " ") && (l = "initial"), typeof e.glyphs[i] < "u") {
3805
3818
  var h = e.glyphs[i];
3806
- n = h instanceof gl ? h : h[l];
3819
+ n = h instanceof bl ? h : h[l];
3807
3820
  }
3808
3821
  } else
3809
3822
  n = e.glyphs[i];
@@ -3813,12 +3826,12 @@ class Ce extends Ge {
3813
3826
  return "";
3814
3827
  }
3815
3828
  getTextFromNode(e) {
3816
- var t = e || this.node, r = Array.from(t.parentNode.childNodes), i = r.indexOf(t), n = r.length - 1, o = ht(
3829
+ var t = e || this.node, r = Array.from(t.parentNode.childNodes), i = r.indexOf(t), n = r.length - 1, o = lt(
3817
3830
  // textNode.value
3818
3831
  // || textNode.text
3819
3832
  t.textContent || ""
3820
3833
  );
3821
- return i === 0 && (o = Hb(o)), i === n && (o = Yb(o)), o;
3834
+ return i === 0 && (o = n1(o)), i === n && (o = s1(o)), o;
3822
3835
  }
3823
3836
  renderChildren(e) {
3824
3837
  if (this.type !== "text") {
@@ -3841,11 +3854,11 @@ class Ce extends Ge {
3841
3854
  if (n) {
3842
3855
  for (var {
3843
3856
  unitsPerEm: o
3844
- } = n.fontFace, s = Z.parse(t.ctx.font), u = r.getStyle("font-size").getNumber(s.fontSize), l = r.getStyle("font-style").getString(s.fontStyle), h = u / o, f = n.isRTL ? i.split("").reverse().join("") : i, c = ie(r.getAttribute("dx").getString()), v = f.length, d = 0; d < v; d++) {
3845
- var g = this.getGlyph(n, f, d);
3857
+ } = n.fontFace, s = Z.parse(t.ctx.font), u = r.getStyle("font-size").getNumber(s.fontSize), l = r.getStyle("font-style").getString(s.fontStyle), h = u / o, f = n.isRTL ? i.split("").reverse().join("") : i, c = ne(r.getAttribute("dx").getString()), v = f.length, g = 0; g < v; g++) {
3858
+ var d = this.getGlyph(n, f, g);
3846
3859
  e.translate(this.x, this.y), e.scale(h, -h);
3847
3860
  var p = e.lineWidth;
3848
- e.lineWidth = e.lineWidth * o / u, l === "italic" && e.transform(1, 0, 0.4, 1, 0, 0), g.render(e), l === "italic" && e.transform(1, 0, -0.4, 1, 0, 0), e.lineWidth = p, e.scale(1 / h, -1 / h), e.translate(-this.x, -this.y), this.x += u * (g.horizAdvX || n.horizAdvX) / o, typeof c[d] < "u" && !isNaN(c[d]) && (this.x += c[d]);
3861
+ e.lineWidth = e.lineWidth * o / u, l === "italic" && e.transform(1, 0, 0.4, 1, 0, 0), d.render(e), l === "italic" && e.transform(1, 0, -0.4, 1, 0, 0), e.lineWidth = p, e.scale(1 / h, -1 / h), e.translate(-this.x, -this.y), this.x += u * (d.horizAdvX || n.horizAdvX) / o, typeof c[g] < "u" && !isNaN(c[g]) && (this.x += c[g]);
3849
3862
  }
3850
3863
  return;
3851
3864
  }
@@ -3917,7 +3930,7 @@ class Ce extends Ge {
3917
3930
  parent: r
3918
3931
  } = this, i = r.getStyle("font-family").getDefinition();
3919
3932
  if (i) {
3920
- for (var n = this.getFontSize(), o = i.isRTL ? t.split("").reverse().join("") : t, s = ie(r.getAttribute("dx").getString()), u = o.length, l = 0, h = 0; h < u; h++) {
3933
+ for (var n = this.getFontSize(), o = i.isRTL ? t.split("").reverse().join("") : t, s = ne(r.getAttribute("dx").getString()), u = o.length, l = 0, h = 0; h < u; h++) {
3921
3934
  var f = this.getGlyph(i, o, h);
3922
3935
  l += (f.horizAdvX || i.horizAdvX) * n / i.fontFace.unitsPerEm, typeof s[h] < "u" && !isNaN(s[h]) && (l += s[h]);
3923
3936
  }
@@ -3947,15 +3960,15 @@ class Ce extends Ge {
3947
3960
  return null;
3948
3961
  }
3949
3962
  }
3950
- class Mr extends Ce {
3963
+ class Lr extends Ce {
3951
3964
  constructor(e, t, r) {
3952
- super(e, t, new.target === Mr ? !0 : r), this.type = "tspan", this.text = this.children.length > 0 ? "" : this.getTextFromNode();
3965
+ super(e, t, new.target === Lr ? !0 : r), this.type = "tspan", this.text = this.children.length > 0 ? "" : this.getTextFromNode();
3953
3966
  }
3954
3967
  getText() {
3955
3968
  return this.text;
3956
3969
  }
3957
3970
  }
3958
- class x1 extends Mr {
3971
+ class _1 extends Lr {
3959
3972
  constructor() {
3960
3973
  super(...arguments), this.type = "textNode";
3961
3974
  }
@@ -3982,19 +3995,19 @@ class Nt extends Ge {
3982
3995
  height: l
3983
3996
  } = i.viewPort;
3984
3997
  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");
3985
- var h = this.getAttribute("refX"), f = this.getAttribute("refY"), c = this.getAttribute("viewBox"), v = c.hasValue() ? ie(c.getString()) : null, d = !this.root && this.getStyle("overflow").getValue("hidden") !== "visible", g = 0, p = 0, y = 0, x = 0;
3986
- v && (g = v[0], p = v[1]), this.root || (u = this.getStyle("width").getPixels("x"), l = this.getStyle("height").getPixels("y"), this.type === "marker" && (y = g, x = p, g = 0, p = 0)), i.viewPort.setCurrent(u, l), this.node && (!this.parent || ((t = this.node.parentNode) === null || t === void 0 ? void 0 : t.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")), v && (u = v[2], l = v[3]), r.setViewBox({
3998
+ var h = this.getAttribute("refX"), f = this.getAttribute("refY"), c = this.getAttribute("viewBox"), v = c.hasValue() ? ne(c.getString()) : null, g = !this.root && this.getStyle("overflow").getValue("hidden") !== "visible", d = 0, p = 0, y = 0, x = 0;
3999
+ v && (d = v[0], p = v[1]), this.root || (u = this.getStyle("width").getPixels("x"), l = this.getStyle("height").getPixels("y"), this.type === "marker" && (y = d, x = p, d = 0, p = 0)), i.viewPort.setCurrent(u, l), this.node && (!this.parent || ((t = this.node.parentNode) === null || t === void 0 ? void 0 : t.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")), v && (u = v[2], l = v[3]), r.setViewBox({
3987
4000
  ctx: e,
3988
4001
  aspectRatio: this.getAttribute("preserveAspectRatio").getString(),
3989
4002
  width: i.viewPort.width,
3990
4003
  desiredWidth: u,
3991
4004
  height: i.viewPort.height,
3992
4005
  desiredHeight: l,
3993
- minX: g,
4006
+ minX: d,
3994
4007
  minY: p,
3995
4008
  refX: h.getValue(),
3996
4009
  refY: f.getValue(),
3997
- clip: d,
4010
+ clip: g,
3998
4011
  clipX: y,
3999
4012
  clipY: x
4000
4013
  }), v && (i.viewPort.removeCurrent(), i.viewPort.setCurrent(u, l));
@@ -4023,7 +4036,7 @@ class Nt extends Ge {
4023
4036
  }
4024
4037
  }
4025
4038
  }
4026
- class dl extends A {
4039
+ class xl extends A {
4027
4040
  constructor() {
4028
4041
  super(...arguments), this.type = "rect";
4029
4042
  }
@@ -4039,7 +4052,7 @@ class dl extends A {
4039
4052
  return null;
4040
4053
  }
4041
4054
  }
4042
- class T1 extends A {
4055
+ class V1 extends A {
4043
4056
  constructor() {
4044
4057
  super(...arguments), this.type = "circle";
4045
4058
  }
@@ -4051,7 +4064,7 @@ class T1 extends A {
4051
4064
  return null;
4052
4065
  }
4053
4066
  }
4054
- class O1 extends A {
4067
+ class D1 extends A {
4055
4068
  constructor() {
4056
4069
  super(...arguments), this.type = "ellipse";
4057
4070
  }
@@ -4063,12 +4076,12 @@ class O1 extends A {
4063
4076
  return null;
4064
4077
  }
4065
4078
  }
4066
- class S1 extends A {
4079
+ class L1 extends A {
4067
4080
  constructor() {
4068
4081
  super(...arguments), this.type = "line";
4069
4082
  }
4070
4083
  getPoints() {
4071
- return [new V(this.getAttribute("x1").getPixels("x"), this.getAttribute("y1").getPixels("y")), new V(this.getAttribute("x2").getPixels("x"), this.getAttribute("y2").getPixels("y"))];
4084
+ return [new k(this.getAttribute("x1").getPixels("x"), this.getAttribute("y1").getPixels("y")), new k(this.getAttribute("x2").getPixels("x"), this.getAttribute("y2").getPixels("y"))];
4072
4085
  }
4073
4086
  path(e) {
4074
4087
  var [{
@@ -4085,9 +4098,9 @@ class S1 extends A {
4085
4098
  return [[e, r], [t, r]];
4086
4099
  }
4087
4100
  }
4088
- class pl extends A {
4101
+ class Tl extends A {
4089
4102
  constructor(e, t, r) {
4090
- super(e, t, r), this.type = "polyline", this.points = [], this.points = V.parsePath(this.getAttribute("points").getString());
4103
+ super(e, t, r), this.type = "polyline", this.points = [], this.points = k.parsePath(this.getAttribute("points").getString());
4091
4104
  }
4092
4105
  path(e) {
4093
4106
  var {
@@ -4113,7 +4126,7 @@ class pl extends A {
4113
4126
  }), r.length > 0 && r.push([e[e.length - 1], r[r.length - 1][1]]), r;
4114
4127
  }
4115
4128
  }
4116
- class E1 extends pl {
4129
+ class k1 extends Tl {
4117
4130
  constructor() {
4118
4131
  super(...arguments), this.type = "polygon";
4119
4132
  }
@@ -4125,7 +4138,7 @@ class E1 extends pl {
4125
4138
  return e && (e.lineTo(r, i), e.closePath()), t;
4126
4139
  }
4127
4140
  }
4128
- class $1 extends N {
4141
+ class B1 extends I {
4129
4142
  constructor() {
4130
4143
  super(...arguments), this.type = "pattern";
4131
4144
  }
@@ -4141,7 +4154,7 @@ class $1 extends N {
4141
4154
  return v;
4142
4155
  }
4143
4156
  }
4144
- class w1 extends N {
4157
+ class j1 extends I {
4145
4158
  constructor() {
4146
4159
  super(...arguments), this.type = "marker";
4147
4160
  }
@@ -4157,14 +4170,14 @@ class w1 extends N {
4157
4170
  }
4158
4171
  }
4159
4172
  }
4160
- class C1 extends N {
4173
+ class F1 extends I {
4161
4174
  constructor() {
4162
4175
  super(...arguments), this.type = "defs";
4163
4176
  }
4164
4177
  render() {
4165
4178
  }
4166
4179
  }
4167
- class tn extends Ge {
4180
+ class rn extends Ge {
4168
4181
  constructor() {
4169
4182
  super(...arguments), this.type = "g";
4170
4183
  }
@@ -4175,7 +4188,7 @@ class tn extends Ge {
4175
4188
  }), t;
4176
4189
  }
4177
4190
  }
4178
- class yl extends N {
4191
+ class Ol extends I {
4179
4192
  constructor(e, t, r) {
4180
4193
  super(e, t, r), this.attributesToInherit = ["gradientUnits"], this.stops = [];
4181
4194
  var {
@@ -4205,14 +4218,14 @@ class yl extends N {
4205
4218
  } = this, {
4206
4219
  MAX_VIRTUAL_PIXELS: u,
4207
4220
  viewPort: l
4208
- } = s.screen, [h] = l.viewPorts, f = new dl(s, null);
4221
+ } = s.screen, [h] = l.viewPorts, f = new xl(s, null);
4209
4222
  f.attributes.x = new S(s, "x", -u / 3), f.attributes.y = new S(s, "y", -u / 3), f.attributes.width = new S(s, "width", u), f.attributes.height = new S(s, "height", u);
4210
- var c = new tn(s, null);
4223
+ var c = new rn(s, null);
4211
4224
  c.attributes.transform = new S(s, "transform", this.getAttribute("gradientTransform").getValue()), c.children = [f];
4212
4225
  var v = new Nt(s, null);
4213
4226
  v.attributes.x = new S(s, "x", 0), v.attributes.y = new S(s, "y", 0), v.attributes.width = new S(s, "width", h.width), v.attributes.height = new S(s, "height", h.height), v.children = [c];
4214
- var d = s.createCanvas(h.width, h.height), g = d.getContext("2d");
4215
- return g.fillStyle = o, v.render(g), g.createPattern(d, "no-repeat");
4227
+ var g = s.createCanvas(h.width, h.height), d = g.getContext("2d");
4228
+ return d.fillStyle = o, v.render(d), d.createPattern(g, "no-repeat");
4216
4229
  }
4217
4230
  return o;
4218
4231
  }
@@ -4229,7 +4242,7 @@ class yl extends N {
4229
4242
  return t;
4230
4243
  }
4231
4244
  }
4232
- class A1 extends yl {
4245
+ class U1 extends Ol {
4233
4246
  constructor(e, t, r) {
4234
4247
  super(e, t, r), this.type = "linearGradient", this.attributesToInherit.push("x1", "y1", "x2", "y2");
4235
4248
  }
@@ -4242,7 +4255,7 @@ class A1 extends yl {
4242
4255
  return n === s && o === u ? null : e.createLinearGradient(n, o, s, u);
4243
4256
  }
4244
4257
  }
4245
- class P1 extends yl {
4258
+ class G1 extends Ol {
4246
4259
  constructor(e, t, r) {
4247
4260
  super(e, t, r), this.type = "radialGradient", this.attributesToInherit.push("cx", "cy", "r", "fx", "fy", "fr");
4248
4261
  }
@@ -4257,14 +4270,14 @@ class P1 extends yl {
4257
4270
  return e.createRadialGradient(s, u, h, n, o, l);
4258
4271
  }
4259
4272
  }
4260
- class R1 extends N {
4273
+ class z1 extends I {
4261
4274
  constructor(e, t, r) {
4262
4275
  super(e, t, r), this.type = "stop";
4263
4276
  var i = Math.max(0, Math.min(1, this.getAttribute("offset").getNumber())), n = this.getStyle("stop-opacity"), o = this.getStyle("stop-color", !0);
4264
4277
  o.getString() === "" && o.setValue("#000"), n.hasValue() && (o = o.addOpacity(n)), this.offset = i, this.color = o.getColor();
4265
4278
  }
4266
4279
  }
4267
- class rn extends N {
4280
+ class an extends I {
4268
4281
  constructor(e, t, r) {
4269
4282
  super(e, t, r), this.type = "animate", this.duration = 0, this.initialValue = null, this.initialUnits = "", this.removed = !1, this.frozen = !1, e.screen.animations.push(this), this.begin = this.getAttribute("begin").getMilliseconds(), this.maxDuration = this.begin + this.getAttribute("dur").getMilliseconds(), this.from = this.getAttribute("from"), this.to = this.getAttribute("to"), this.values = new S(e, "values", null);
4270
4283
  var i = this.getAttribute("values");
@@ -4325,7 +4338,7 @@ class rn extends N {
4325
4338
  return r;
4326
4339
  }
4327
4340
  }
4328
- class N1 extends rn {
4341
+ class H1 extends an {
4329
4342
  constructor() {
4330
4343
  super(...arguments), this.type = "animateColor";
4331
4344
  }
@@ -4334,7 +4347,7 @@ class N1 extends rn {
4334
4347
  progress: e,
4335
4348
  from: t,
4336
4349
  to: r
4337
- } = this.getProgress(), i = new gi(t.getColor()), n = new gi(r.getColor());
4350
+ } = this.getProgress(), i = new di(t.getColor()), n = new di(r.getColor());
4338
4351
  if (i.ok && n.ok) {
4339
4352
  var o = i.r + (n.r - i.r) * e, s = i.g + (n.g - i.g) * e, u = i.b + (n.b - i.b) * e;
4340
4353
  return "rgb(".concat(Math.floor(o), ", ").concat(Math.floor(s), ", ").concat(Math.floor(u), ")");
@@ -4342,7 +4355,7 @@ class N1 extends rn {
4342
4355
  return this.getAttribute("from").getColor();
4343
4356
  }
4344
4357
  }
4345
- class I1 extends rn {
4358
+ class Y1 extends an {
4346
4359
  constructor() {
4347
4360
  super(...arguments), this.type = "animateTransform";
4348
4361
  }
@@ -4351,16 +4364,16 @@ class I1 extends rn {
4351
4364
  progress: e,
4352
4365
  from: t,
4353
4366
  to: r
4354
- } = this.getProgress(), i = ie(t.getString()), n = ie(r.getString()), o = i.map((s, u) => {
4367
+ } = this.getProgress(), i = ne(t.getString()), n = ne(r.getString()), o = i.map((s, u) => {
4355
4368
  var l = n[u];
4356
4369
  return s + (l - s) * e;
4357
4370
  }).join(" ");
4358
4371
  return o;
4359
4372
  }
4360
4373
  }
4361
- class M1 extends N {
4374
+ class X1 extends I {
4362
4375
  constructor(e, t, r) {
4363
- super(e, t, r), this.type = "font", this.glyphs = {}, this.horizAdvX = this.getAttribute("horiz-adv-x").getNumber();
4376
+ super(e, t, r), this.type = "font", this.glyphs = /* @__PURE__ */ Object.create(null), this.horizAdvX = this.getAttribute("horiz-adv-x").getNumber();
4364
4377
  var {
4365
4378
  definitions: i
4366
4379
  } = e, {
@@ -4379,7 +4392,7 @@ class M1 extends N {
4379
4392
  break;
4380
4393
  case "glyph": {
4381
4394
  var u = o;
4382
- u.arabicForm ? (this.isRTL = !0, this.isArabic = !0, typeof this.glyphs[u.unicode] > "u" && (this.glyphs[u.unicode] = {}), this.glyphs[u.unicode][u.arabicForm] = u) : this.glyphs[u.unicode] = u;
4395
+ u.arabicForm ? (this.isRTL = !0, this.isArabic = !0, typeof this.glyphs[u.unicode] > "u" && (this.glyphs[u.unicode] = /* @__PURE__ */ Object.create(null)), this.glyphs[u.unicode][u.arabicForm] = u) : this.glyphs[u.unicode] = u;
4383
4396
  break;
4384
4397
  }
4385
4398
  }
@@ -4387,17 +4400,17 @@ class M1 extends N {
4387
4400
  render() {
4388
4401
  }
4389
4402
  }
4390
- class _1 extends N {
4403
+ class W1 extends I {
4391
4404
  constructor(e, t, r) {
4392
4405
  super(e, t, r), this.type = "font-face", this.ascent = this.getAttribute("ascent").getNumber(), this.descent = this.getAttribute("descent").getNumber(), this.unitsPerEm = this.getAttribute("units-per-em").getNumber();
4393
4406
  }
4394
4407
  }
4395
- class V1 extends A {
4408
+ class q1 extends A {
4396
4409
  constructor() {
4397
4410
  super(...arguments), this.type = "missing-glyph", this.horizAdvX = 0;
4398
4411
  }
4399
4412
  }
4400
- class D1 extends Ce {
4413
+ class Q1 extends Ce {
4401
4414
  constructor() {
4402
4415
  super(...arguments), this.type = "tref";
4403
4416
  }
@@ -4411,7 +4424,7 @@ class D1 extends Ce {
4411
4424
  return "";
4412
4425
  }
4413
4426
  }
4414
- class k1 extends Ce {
4427
+ class K1 extends Ce {
4415
4428
  constructor(e, t, r) {
4416
4429
  super(e, t, r), this.type = "a";
4417
4430
  var {
@@ -4434,7 +4447,7 @@ class k1 extends Ce {
4434
4447
  } = t.screen, o = new S(t, "fontSize", Z.parse(t.ctx.font).fontSize);
4435
4448
  n.isWorking() && n.checkBoundingBox(this, new ce(r, i - o.getPixels("y"), r + this.measureText(e), i));
4436
4449
  } else if (this.children.length > 0) {
4437
- var s = new tn(this.document, null);
4450
+ var s = new rn(this.document, null);
4438
4451
  s.children = this.children, s.parent = this, s.render(e);
4439
4452
  }
4440
4453
  }
@@ -4449,7 +4462,7 @@ class k1 extends Ce {
4449
4462
  e.canvas.style.cursor = "pointer";
4450
4463
  }
4451
4464
  }
4452
- function $o(a, e) {
4465
+ function Ao(a, e) {
4453
4466
  var t = Object.keys(a);
4454
4467
  if (Object.getOwnPropertySymbols) {
4455
4468
  var r = Object.getOwnPropertySymbols(a);
@@ -4459,18 +4472,18 @@ function $o(a, e) {
4459
4472
  }
4460
4473
  return t;
4461
4474
  }
4462
- function tr(a) {
4475
+ function ir(a) {
4463
4476
  for (var e = 1; e < arguments.length; e++) {
4464
4477
  var t = arguments[e] != null ? arguments[e] : {};
4465
- e % 2 ? $o(Object(t), !0).forEach(function(r) {
4466
- Ji(a, r, t[r]);
4467
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : $o(Object(t)).forEach(function(r) {
4478
+ e % 2 ? Ao(Object(t), !0).forEach(function(r) {
4479
+ en(a, r, t[r]);
4480
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Ao(Object(t)).forEach(function(r) {
4468
4481
  Object.defineProperty(a, r, Object.getOwnPropertyDescriptor(t, r));
4469
4482
  });
4470
4483
  }
4471
4484
  return a;
4472
4485
  }
4473
- class L1 extends Ce {
4486
+ class Z1 extends Ce {
4474
4487
  constructor(e, t, r) {
4475
4488
  super(e, t, r), this.type = "textPath", this.textWidth = 0, this.textHeight = 0, this.pathLength = -1, this.glyphInfo = null, this.letterSpacingCache = [], this.measuresCache = /* @__PURE__ */ new Map([["", 0]]);
4476
4489
  var i = this.getHrefAttribute().getDefinition();
@@ -4502,8 +4515,8 @@ class L1 extends Ce {
4502
4515
  e && e.quadraticCurveTo(n[0], n[1], n[2], n[3]);
4503
4516
  break;
4504
4517
  case w.ARC: {
4505
- var [o, s, u, l, h, f, c, v] = n, d = u > l ? u : l, g = u > l ? 1 : u / l, p = u > l ? l / u : 1;
4506
- e && (e.translate(o, s), e.rotate(c), e.scale(g, p), e.arc(0, 0, d, h, h + f, !!(1 - v)), e.scale(1 / g, 1 / p), e.rotate(-c), e.translate(-o, -s));
4518
+ var [o, s, u, l, h, f, c, v] = n, g = u > l ? u : l, d = u > l ? 1 : u / l, p = u > l ? l / u : 1;
4519
+ e && (e.translate(o, s), e.rotate(c), e.scale(d, p), e.arc(0, 0, g, h, h + f, !!(1 - v)), e.scale(1 / d, 1 / p), e.rotate(-c), e.translate(-o, -s));
4507
4520
  break;
4508
4521
  }
4509
4522
  case w.CLOSE_PATH:
@@ -4534,23 +4547,23 @@ class L1 extends Ce {
4534
4547
  findSegmentToFitChar(e, t, r, i, n, o, s, u, l) {
4535
4548
  var h = o, f = this.measureText(e, u);
4536
4549
  u === " " && t === "justify" && r < i && (f += (i - r) / n), l > -1 && (h += this.getLetterSpacingAt(l));
4537
- var c = this.textHeight / 20, v = this.getEquidistantPointOnPath(h, c, 0), d = this.getEquidistantPointOnPath(h + f, c, 0), g = {
4550
+ var c = this.textHeight / 20, v = this.getEquidistantPointOnPath(h, c, 0), g = this.getEquidistantPointOnPath(h + f, c, 0), d = {
4538
4551
  p0: v,
4539
- p1: d
4540
- }, p = v && d ? Math.atan2(d.y - v.y, d.x - v.x) : 0;
4552
+ p1: g
4553
+ }, p = v && g ? Math.atan2(g.y - v.y, g.x - v.x) : 0;
4541
4554
  if (s) {
4542
4555
  var y = Math.cos(Math.PI / 2 + p) * s, x = Math.cos(-p) * s;
4543
- g.p0 = tr(tr({}, v), {}, {
4556
+ d.p0 = ir(ir({}, v), {}, {
4544
4557
  x: v.x + y,
4545
4558
  y: v.y + x
4546
- }), g.p1 = tr(tr({}, d), {}, {
4547
- x: d.x + y,
4548
- y: d.y + x
4559
+ }), d.p1 = ir(ir({}, g), {}, {
4560
+ x: g.x + y,
4561
+ y: g.y + x
4549
4562
  });
4550
4563
  }
4551
4564
  return h += f, {
4552
4565
  offset: h,
4553
- segment: g,
4566
+ segment: d,
4554
4567
  rotation: p
4555
4568
  };
4556
4569
  }
@@ -4574,8 +4587,8 @@ class L1 extends Ce {
4574
4587
  this.letterSpacingCache = f;
4575
4588
  for (var v = 0; v < c; v++)
4576
4589
  f.push(typeof n[v] < "u" ? n[v] : h);
4577
- var d = f.reduce((T, $, E) => E === 0 ? 0 : T + $ || 0, 0), g = this.measureText(e), p = Math.max(g + d, 0);
4578
- this.textWidth = g, this.textHeight = this.getFontSize(), this.glyphInfo = [];
4590
+ var g = f.reduce((T, $, E) => E === 0 ? 0 : T + $ || 0, 0), d = this.measureText(e), p = Math.max(d + g, 0);
4591
+ this.textWidth = d, this.textHeight = this.getFontSize(), this.glyphInfo = [];
4579
4592
  var y = this.getPathLength(), x = this.getStyle("startOffset").getNumber(0) * y, b = 0;
4580
4593
  (s === "middle" || s === "center") && (b = -p / 2), (s === "end" || s === "right") && (b = -p), b += x, r.forEach((T, $) => {
4581
4594
  var {
@@ -4750,7 +4763,7 @@ class L1 extends Ce {
4750
4763
  return 0;
4751
4764
  }
4752
4765
  getPointOnLine(e, t, r, i, n) {
4753
- var o = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : t, s = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : r, u = (n - r) / (i - t + at), l = Math.sqrt(e * e / (1 + u * u));
4766
+ var o = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : t, s = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : r, u = (n - r) / (i - t + rt), l = Math.sqrt(e * e / (1 + u * u));
4754
4767
  i < t && (l *= -1);
4755
4768
  var h = u * l, f = null;
4756
4769
  if (i === t)
@@ -4758,17 +4771,17 @@ class L1 extends Ce {
4758
4771
  x: o,
4759
4772
  y: s + h
4760
4773
  };
4761
- else if ((s - r) / (o - t + at) === u)
4774
+ else if ((s - r) / (o - t + rt) === u)
4762
4775
  f = {
4763
4776
  x: o + l,
4764
4777
  y: s + h
4765
4778
  };
4766
4779
  else {
4767
- var c = 0, v = 0, d = this.getLineLength(t, r, i, n);
4768
- if (d < at)
4780
+ var c = 0, v = 0, g = this.getLineLength(t, r, i, n);
4781
+ if (g < rt)
4769
4782
  return null;
4770
- var g = (o - t) * (i - t) + (s - r) * (n - r);
4771
- g /= d * d, c = t + g * (i - t), v = r + g * (n - r);
4783
+ var d = (o - t) * (i - t) + (s - r) * (n - r);
4784
+ d /= g * g, c = t + d * (i - t), v = r + d * (n - r);
4772
4785
  var p = this.getLineLength(o, s, c, v), y = Math.sqrt(e * e - p * p);
4773
4786
  l = Math.sqrt(y * y / (1 + u * u)), i < t && (l *= -1), h = u * l, f = {
4774
4787
  x: c + l,
@@ -4821,14 +4834,14 @@ class L1 extends Ce {
4821
4834
  return this.pathLength === -1 && (this.pathLength = this.dataArray.reduce((e, t) => t.pathLength > 0 ? e + t.pathLength : e, 0)), this.pathLength;
4822
4835
  }
4823
4836
  getPointOnCubicBezier(e, t, r, i, n, o, s, u, l) {
4824
- var h = u * mo(e) + o * bo(e) + i * xo(e) + t * To(e), f = l * mo(e) + s * bo(e) + n * xo(e) + r * To(e);
4837
+ var h = u * To(e) + o * Oo(e) + i * So(e) + t * Eo(e), f = l * To(e) + s * Oo(e) + n * So(e) + r * Eo(e);
4825
4838
  return {
4826
4839
  x: h,
4827
4840
  y: f
4828
4841
  };
4829
4842
  }
4830
4843
  getPointOnQuadraticBezier(e, t, r, i, n, o, s) {
4831
- var u = o * Oo(e) + i * So(e) + t * Eo(e), l = s * Oo(e) + n * So(e) + r * Eo(e);
4844
+ var u = o * $o(e) + i * wo(e) + t * Co(e), l = s * $o(e) + n * wo(e) + r * Co(e);
4832
4845
  return {
4833
4846
  x: u,
4834
4847
  y: l
@@ -4870,8 +4883,8 @@ class L1 extends Ce {
4870
4883
  return this.equidistantCache.points[i] || null;
4871
4884
  }
4872
4885
  }
4873
- var B1 = /^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;
4874
- class j1 extends Ge {
4886
+ var J1 = /^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;
4887
+ class e2 extends Ge {
4875
4888
  constructor(e, t, r) {
4876
4889
  super(e, t, r), this.type = "image", this.loaded = !1;
4877
4890
  var i = this.getHrefAttribute().getString();
@@ -4895,7 +4908,7 @@ class j1 extends Ge {
4895
4908
  loadSvg(e) {
4896
4909
  var t = this;
4897
4910
  return xe(function* () {
4898
- var r = B1.exec(e);
4911
+ var r = J1.exec(e);
4899
4912
  if (r) {
4900
4913
  var i = r[5];
4901
4914
  r[4] === "base64" ? t.image = atob(i) : t.image = decodeURIComponent(i);
@@ -4947,14 +4960,14 @@ class j1 extends Ge {
4947
4960
  return new ce(e, t, e + r, t + i);
4948
4961
  }
4949
4962
  }
4950
- class F1 extends Ge {
4963
+ class t2 extends Ge {
4951
4964
  constructor() {
4952
4965
  super(...arguments), this.type = "symbol";
4953
4966
  }
4954
4967
  render(e) {
4955
4968
  }
4956
4969
  }
4957
- class U1 {
4970
+ class r2 {
4958
4971
  constructor(e) {
4959
4972
  this.document = e, this.loaded = !1, e.fonts.push(this);
4960
4973
  }
@@ -4976,10 +4989,10 @@ class U1 {
4976
4989
  })();
4977
4990
  }
4978
4991
  }
4979
- class ml extends N {
4992
+ class Sl extends I {
4980
4993
  constructor(e, t, r) {
4981
4994
  super(e, t, r), this.type = "style";
4982
- var i = ht(
4995
+ var i = lt(
4983
4996
  Array.from(t.childNodes).map((o) => o.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm, "").replace(/@import.*;/g, "")
4984
4997
  // remove imports
4985
4998
  ), n = i.split("}");
@@ -4994,12 +5007,12 @@ class ml extends N {
4994
5007
  if (h.forEach((p) => {
4995
5008
  var y = p.indexOf(":"), x = p.substr(0, y).trim(), b = p.substr(y + 1, p.length - y).trim();
4996
5009
  x && b && (v[x] = new S(e, x, b));
4997
- }), e.styles[c] = v, e.stylesSpecificity[c] = a1(c), c === "@font-face") {
4998
- var d = v["font-family"].getString().replace(/"|'/g, ""), g = v.src.getString().split(",");
4999
- g.forEach((p) => {
5010
+ }), e.styles[c] = v, e.stylesSpecificity[c] = y1(c), c === "@font-face") {
5011
+ var g = v["font-family"].getString().replace(/"|'/g, ""), d = v.src.getString().split(",");
5012
+ d.forEach((p) => {
5000
5013
  if (p.indexOf('format("svg")') > 0) {
5001
- var y = ll(p);
5002
- y && new U1(e).load(d, y);
5014
+ var y = gl(p);
5015
+ y && new r2(e).load(g, y);
5003
5016
  }
5004
5017
  });
5005
5018
  }
@@ -5009,8 +5022,8 @@ class ml extends N {
5009
5022
  });
5010
5023
  }
5011
5024
  }
5012
- ml.parseExternalUrl = ll;
5013
- class G1 extends Ge {
5025
+ Sl.parseExternalUrl = gl;
5026
+ class a2 extends Ge {
5014
5027
  constructor() {
5015
5028
  super(...arguments), this.type = "use";
5016
5029
  }
@@ -5051,16 +5064,16 @@ class G1 extends Ge {
5051
5064
  document: e,
5052
5065
  element: t
5053
5066
  } = this;
5054
- return Le.fromElement(e, t);
5067
+ return Be.fromElement(e, t);
5055
5068
  }
5056
5069
  get element() {
5057
5070
  return this.cachedElement || (this.cachedElement = this.getHrefAttribute().getDefinition()), this.cachedElement;
5058
5071
  }
5059
5072
  }
5060
- function rr(a, e, t, r, i, n) {
5073
+ function nr(a, e, t, r, i, n) {
5061
5074
  return a[t * r * 4 + e * 4 + n];
5062
5075
  }
5063
- function ar(a, e, t, r, i, n, o) {
5076
+ function sr(a, e, t, r, i, n, o) {
5064
5077
  a[t * r * 4 + e * 4 + n] = o;
5065
5078
  }
5066
5079
  function F(a, e, t) {
@@ -5070,10 +5083,10 @@ function F(a, e, t) {
5070
5083
  function me(a, e, t, r) {
5071
5084
  return e + Math.cos(a) * t + Math.sin(a) * r;
5072
5085
  }
5073
- class bl extends N {
5086
+ class El extends I {
5074
5087
  constructor(e, t, r) {
5075
5088
  super(e, t, r), this.type = "feColorMatrix";
5076
- var i = ie(this.getAttribute("values").getString());
5089
+ var i = ne(this.getAttribute("values").getString());
5077
5090
  switch (this.getAttribute("type").getString("matrix")) {
5078
5091
  case "saturate": {
5079
5092
  var n = i[0];
@@ -5097,13 +5110,13 @@ class bl extends N {
5097
5110
  matrix: s
5098
5111
  } = this, u = e.getImageData(0, 0, i, n), l = 0; l < n; l++)
5099
5112
  for (var h = 0; h < i; h++) {
5100
- var f = rr(u.data, h, l, i, n, 0), c = rr(u.data, h, l, i, n, 1), v = rr(u.data, h, l, i, n, 2), d = rr(u.data, h, l, i, n, 3), g = F(s, 0, f) + F(s, 1, c) + F(s, 2, v) + F(s, 3, d) + F(s, 4, 1), p = F(s, 5, f) + F(s, 6, c) + F(s, 7, v) + F(s, 8, d) + F(s, 9, 1), y = F(s, 10, f) + F(s, 11, c) + F(s, 12, v) + F(s, 13, d) + F(s, 14, 1), x = F(s, 15, f) + F(s, 16, c) + F(s, 17, v) + F(s, 18, d) + F(s, 19, 1);
5101
- o && (g = 0, p = 0, y = 0, x *= d / 255), ar(u.data, h, l, i, n, 0, g), ar(u.data, h, l, i, n, 1, p), ar(u.data, h, l, i, n, 2, y), ar(u.data, h, l, i, n, 3, x);
5113
+ var f = nr(u.data, h, l, i, n, 0), c = nr(u.data, h, l, i, n, 1), v = nr(u.data, h, l, i, n, 2), g = nr(u.data, h, l, i, n, 3), d = F(s, 0, f) + F(s, 1, c) + F(s, 2, v) + F(s, 3, g) + F(s, 4, 1), p = F(s, 5, f) + F(s, 6, c) + F(s, 7, v) + F(s, 8, g) + F(s, 9, 1), y = F(s, 10, f) + F(s, 11, c) + F(s, 12, v) + F(s, 13, g) + F(s, 14, 1), x = F(s, 15, f) + F(s, 16, c) + F(s, 17, v) + F(s, 18, g) + F(s, 19, 1);
5114
+ o && (d = 0, p = 0, y = 0, x *= g / 255), sr(u.data, h, l, i, n, 0, d), sr(u.data, h, l, i, n, 1, p), sr(u.data, h, l, i, n, 2, y), sr(u.data, h, l, i, n, 3, x);
5102
5115
  }
5103
5116
  e.clearRect(0, 0, i, n), e.putImageData(u, 0, 0);
5104
5117
  }
5105
5118
  }
5106
- class _r extends N {
5119
+ class kr extends I {
5107
5120
  constructor() {
5108
5121
  super(...arguments), this.type = "mask";
5109
5122
  }
@@ -5113,12 +5126,12 @@ class _r extends N {
5113
5126
  } = this, i = this.getAttribute("x").getPixels("x"), n = this.getAttribute("y").getPixels("y"), o = this.getStyle("width").getPixels("x"), s = this.getStyle("height").getPixels("y");
5114
5127
  if (!o && !s) {
5115
5128
  var u = new ce();
5116
- this.children.forEach((d) => {
5117
- u.addBoundingBox(d.getBoundingBox(e));
5129
+ this.children.forEach((g) => {
5130
+ u.addBoundingBox(g.getBoundingBox(e));
5118
5131
  }), i = Math.floor(u.x1), n = Math.floor(u.y1), o = Math.floor(u.width), s = Math.floor(u.height);
5119
5132
  }
5120
- var l = this.removeStyles(t, _r.ignoreStyles), h = r.createCanvas(i + o, n + s), f = h.getContext("2d");
5121
- r.screen.setDefaults(f), this.renderChildren(f), new bl(r, {
5133
+ var l = this.removeStyles(t, kr.ignoreStyles), h = r.createCanvas(i + o, n + s), f = h.getContext("2d");
5134
+ r.screen.setDefaults(f), this.renderChildren(f), new El(r, {
5122
5135
  nodeType: 1,
5123
5136
  childNodes: [],
5124
5137
  attributes: [{
@@ -5135,10 +5148,10 @@ class _r extends N {
5135
5148
  render(e) {
5136
5149
  }
5137
5150
  }
5138
- _r.ignoreStyles = ["mask", "transform", "clip-path"];
5139
- var wo = () => {
5151
+ kr.ignoreStyles = ["mask", "transform", "clip-path"];
5152
+ var Po = () => {
5140
5153
  };
5141
- class z1 extends N {
5154
+ class i2 extends I {
5142
5155
  constructor() {
5143
5156
  super(...arguments), this.type = "clipPath";
5144
5157
  }
@@ -5149,17 +5162,17 @@ class z1 extends N {
5149
5162
  beginPath: i,
5150
5163
  closePath: n
5151
5164
  } = e;
5152
- r && (r.beginPath = wo, r.closePath = wo), Reflect.apply(i, e, []), this.children.forEach((o) => {
5165
+ r && (r.beginPath = Po, r.closePath = Po), Reflect.apply(i, e, []), this.children.forEach((o) => {
5153
5166
  if (!(typeof o.path > "u")) {
5154
5167
  var s = typeof o.elementTransform < "u" ? o.elementTransform() : null;
5155
- s || (s = Le.fromElement(t, o)), s && s.apply(e), o.path(e), r && (r.closePath = n), s && s.unapply(e);
5168
+ s || (s = Be.fromElement(t, o)), s && s.apply(e), o.path(e), r && (r.closePath = n), s && s.unapply(e);
5156
5169
  }
5157
5170
  }), Reflect.apply(n, e, []), e.clip(), r && (r.beginPath = i, r.closePath = n);
5158
5171
  }
5159
5172
  render(e) {
5160
5173
  }
5161
5174
  }
5162
- class Vr extends N {
5175
+ class Br extends I {
5163
5176
  constructor() {
5164
5177
  super(...arguments), this.type = "filter";
5165
5178
  }
@@ -5176,39 +5189,39 @@ class Vr extends N {
5176
5189
  });
5177
5190
  var u = Math.floor(n.width), l = Math.floor(n.height), h = u + 2 * o, f = l + 2 * s;
5178
5191
  if (!(h < 1 || f < 1)) {
5179
- var c = Math.floor(n.x), v = Math.floor(n.y), d = this.removeStyles(t, Vr.ignoreStyles), g = r.createCanvas(h, f), p = g.getContext("2d");
5192
+ var c = Math.floor(n.x), v = Math.floor(n.y), g = this.removeStyles(t, Br.ignoreStyles), d = r.createCanvas(h, f), p = d.getContext("2d");
5180
5193
  r.screen.setDefaults(p), p.translate(-c + o, -v + s), t.render(p), i.forEach((y) => {
5181
5194
  typeof y.apply == "function" && y.apply(p, 0, 0, h, f);
5182
- }), e.drawImage(g, 0, 0, h, f, c - o, v - s, h, f), this.restoreStyles(t, d);
5195
+ }), e.drawImage(d, 0, 0, h, f, c - o, v - s, h, f), this.restoreStyles(t, g);
5183
5196
  }
5184
5197
  }
5185
5198
  }
5186
5199
  render(e) {
5187
5200
  }
5188
5201
  }
5189
- Vr.ignoreStyles = ["filter", "transform", "clip-path"];
5190
- class H1 extends N {
5202
+ Br.ignoreStyles = ["filter", "transform", "clip-path"];
5203
+ class n2 extends I {
5191
5204
  constructor(e, t, r) {
5192
5205
  super(e, t, r), this.type = "feDropShadow", this.addStylesFromStyleDefinition();
5193
5206
  }
5194
5207
  apply(e, t, r, i, n) {
5195
5208
  }
5196
5209
  }
5197
- class Y1 extends N {
5210
+ class s2 extends I {
5198
5211
  constructor() {
5199
5212
  super(...arguments), this.type = "feMorphology";
5200
5213
  }
5201
5214
  apply(e, t, r, i, n) {
5202
5215
  }
5203
5216
  }
5204
- class X1 extends N {
5217
+ class o2 extends I {
5205
5218
  constructor() {
5206
5219
  super(...arguments), this.type = "feComposite";
5207
5220
  }
5208
5221
  apply(e, t, r, i, n) {
5209
5222
  }
5210
5223
  }
5211
- class W1 extends N {
5224
+ class u2 extends I {
5212
5225
  constructor(e, t, r) {
5213
5226
  super(e, t, r), this.type = "feGaussianBlur", this.blurRadius = Math.floor(this.getAttribute("stdDeviation").getNumber()), this.extraFilterDistance = this.blurRadius;
5214
5227
  }
@@ -5217,63 +5230,63 @@ class W1 extends N {
5217
5230
  document: o,
5218
5231
  blurRadius: s
5219
5232
  } = this, u = o.window ? o.window.document.body : null, l = e.canvas;
5220
- l.id = o.getUniqueId(), u && (l.style.display = "none", u.appendChild(l)), Fb(l, t, r, i, n, s), u && u.removeChild(l);
5233
+ l.id = o.getUniqueId(), u && (l.style.display = "none", u.appendChild(l)), t1(l, t, r, i, n, s), u && u.removeChild(l);
5221
5234
  }
5222
5235
  }
5223
- class q1 extends N {
5236
+ class l2 extends I {
5224
5237
  constructor() {
5225
5238
  super(...arguments), this.type = "title";
5226
5239
  }
5227
5240
  }
5228
- class Q1 extends N {
5241
+ class h2 extends I {
5229
5242
  constructor() {
5230
5243
  super(...arguments), this.type = "desc";
5231
5244
  }
5232
5245
  }
5233
- var K1 = {
5246
+ var v2 = {
5234
5247
  svg: Nt,
5235
- rect: dl,
5236
- circle: T1,
5237
- ellipse: O1,
5238
- line: S1,
5239
- polyline: pl,
5240
- polygon: E1,
5248
+ rect: xl,
5249
+ circle: V1,
5250
+ ellipse: D1,
5251
+ line: L1,
5252
+ polyline: Tl,
5253
+ polygon: k1,
5241
5254
  path: A,
5242
- pattern: $1,
5243
- marker: w1,
5244
- defs: C1,
5245
- linearGradient: A1,
5246
- radialGradient: P1,
5247
- stop: R1,
5248
- animate: rn,
5249
- animateColor: N1,
5250
- animateTransform: I1,
5251
- font: M1,
5252
- "font-face": _1,
5253
- "missing-glyph": V1,
5254
- glyph: gl,
5255
+ pattern: B1,
5256
+ marker: j1,
5257
+ defs: F1,
5258
+ linearGradient: U1,
5259
+ radialGradient: G1,
5260
+ stop: z1,
5261
+ animate: an,
5262
+ animateColor: H1,
5263
+ animateTransform: Y1,
5264
+ font: X1,
5265
+ "font-face": W1,
5266
+ "missing-glyph": q1,
5267
+ glyph: bl,
5255
5268
  text: Ce,
5256
- tspan: Mr,
5257
- tref: D1,
5258
- a: k1,
5259
- textPath: L1,
5260
- image: j1,
5261
- g: tn,
5262
- symbol: F1,
5263
- style: ml,
5264
- use: G1,
5265
- mask: _r,
5266
- clipPath: z1,
5267
- filter: Vr,
5268
- feDropShadow: H1,
5269
- feMorphology: Y1,
5270
- feComposite: X1,
5271
- feColorMatrix: bl,
5272
- feGaussianBlur: W1,
5273
- title: q1,
5274
- desc: Q1
5269
+ tspan: Lr,
5270
+ tref: Q1,
5271
+ a: K1,
5272
+ textPath: Z1,
5273
+ image: e2,
5274
+ g: rn,
5275
+ symbol: t2,
5276
+ style: Sl,
5277
+ use: a2,
5278
+ mask: kr,
5279
+ clipPath: i2,
5280
+ filter: Br,
5281
+ feDropShadow: n2,
5282
+ feMorphology: s2,
5283
+ feComposite: o2,
5284
+ feColorMatrix: El,
5285
+ feGaussianBlur: u2,
5286
+ title: l2,
5287
+ desc: h2
5275
5288
  };
5276
- function Co(a, e) {
5289
+ function Ro(a, e) {
5277
5290
  var t = Object.keys(a);
5278
5291
  if (Object.getOwnPropertySymbols) {
5279
5292
  var r = Object.getOwnPropertySymbols(a);
@@ -5283,26 +5296,26 @@ function Co(a, e) {
5283
5296
  }
5284
5297
  return t;
5285
5298
  }
5286
- function Z1(a) {
5299
+ function f2(a) {
5287
5300
  for (var e = 1; e < arguments.length; e++) {
5288
5301
  var t = arguments[e] != null ? arguments[e] : {};
5289
- e % 2 ? Co(Object(t), !0).forEach(function(r) {
5290
- Ji(a, r, t[r]);
5291
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Co(Object(t)).forEach(function(r) {
5302
+ e % 2 ? Ro(Object(t), !0).forEach(function(r) {
5303
+ en(a, r, t[r]);
5304
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Ro(Object(t)).forEach(function(r) {
5292
5305
  Object.defineProperty(a, r, Object.getOwnPropertyDescriptor(t, r));
5293
5306
  });
5294
5307
  }
5295
5308
  return a;
5296
5309
  }
5297
- function J1(a, e) {
5310
+ function c2(a, e) {
5298
5311
  var t = document.createElement("canvas");
5299
5312
  return t.width = a, t.height = e, t;
5300
5313
  }
5301
- function e2(a) {
5302
- return mi.apply(this, arguments);
5314
+ function g2(a) {
5315
+ return bi.apply(this, arguments);
5303
5316
  }
5304
- function mi() {
5305
- return mi = xe(function* (a) {
5317
+ function bi() {
5318
+ return bi = xe(function* (a) {
5306
5319
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, t = document.createElement("img");
5307
5320
  return e && (t.crossOrigin = "Anonymous"), new Promise((r, i) => {
5308
5321
  t.onload = () => {
@@ -5311,7 +5324,7 @@ function mi() {
5311
5324
  i(l);
5312
5325
  }, t.src = a;
5313
5326
  });
5314
- }), mi.apply(this, arguments);
5327
+ }), bi.apply(this, arguments);
5315
5328
  }
5316
5329
  class $e {
5317
5330
  constructor(e) {
@@ -5322,7 +5335,7 @@ class $e {
5322
5335
  createImage: n = $e.createImage,
5323
5336
  anonymousCrossOrigin: o
5324
5337
  } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5325
- this.canvg = e, this.definitions = {}, this.styles = {}, this.stylesSpecificity = {}, this.images = [], this.fonts = [], this.emSizeStack = [], this.uniqueId = 0, this.screen = e.screen, this.rootEmSize = t, this.emSize = r, this.createCanvas = i, this.createImage = this.bindCreateImage(n, o), this.screen.wait(this.isImagesLoaded.bind(this)), this.screen.wait(this.isFontsLoaded.bind(this));
5338
+ this.canvg = e, this.definitions = /* @__PURE__ */ Object.create(null), this.styles = /* @__PURE__ */ Object.create(null), this.stylesSpecificity = /* @__PURE__ */ Object.create(null), this.images = [], this.fonts = [], this.emSizeStack = [], this.uniqueId = 0, this.screen = e.screen, this.rootEmSize = t, this.emSize = r, this.createCanvas = i, this.createImage = this.bindCreateImage(n, o), this.screen.wait(this.isImagesLoaded.bind(this)), this.screen.wait(this.isFontsLoaded.bind(this));
5326
5339
  }
5327
5340
  bindCreateImage(e, t) {
5328
5341
  return typeof t == "boolean" ? (r, i) => e(r, typeof i == "boolean" ? i : t) : e;
@@ -5369,21 +5382,21 @@ class $e {
5369
5382
  }
5370
5383
  createElement(e) {
5371
5384
  var t = e.nodeName.replace(/^[^:]+:/, ""), r = $e.elementTypes[t];
5372
- return typeof r < "u" ? new r(this, e) : new d1(this, e);
5385
+ return typeof r < "u" ? new r(this, e) : new P1(this, e);
5373
5386
  }
5374
5387
  createTextNode(e) {
5375
- return new x1(this, e);
5388
+ return new _1(this, e);
5376
5389
  }
5377
5390
  setViewBox(e) {
5378
- this.screen.setViewBox(Z1({
5391
+ this.screen.setViewBox(f2({
5379
5392
  document: this
5380
5393
  }, e));
5381
5394
  }
5382
5395
  }
5383
- $e.createCanvas = J1;
5384
- $e.createImage = e2;
5385
- $e.elementTypes = K1;
5386
- function Ao(a, e) {
5396
+ $e.createCanvas = c2;
5397
+ $e.createImage = g2;
5398
+ $e.elementTypes = v2;
5399
+ function No(a, e) {
5387
5400
  var t = Object.keys(a);
5388
5401
  if (Object.getOwnPropertySymbols) {
5389
5402
  var r = Object.getOwnPropertySymbols(a);
@@ -5393,12 +5406,12 @@ function Ao(a, e) {
5393
5406
  }
5394
5407
  return t;
5395
5408
  }
5396
- function Ve(a) {
5409
+ function De(a) {
5397
5410
  for (var e = 1; e < arguments.length; e++) {
5398
5411
  var t = arguments[e] != null ? arguments[e] : {};
5399
- e % 2 ? Ao(Object(t), !0).forEach(function(r) {
5400
- Ji(a, r, t[r]);
5401
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Ao(Object(t)).forEach(function(r) {
5412
+ e % 2 ? No(Object(t), !0).forEach(function(r) {
5413
+ en(a, r, t[r]);
5414
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : No(Object(t)).forEach(function(r) {
5402
5415
  Object.defineProperty(a, r, Object.getOwnPropertyDescriptor(t, r));
5403
5416
  });
5404
5417
  }
@@ -5413,7 +5426,7 @@ class mt {
5413
5426
  */
5414
5427
  constructor(e, t) {
5415
5428
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5416
- this.parser = new Fa(r), this.screen = new Ir(e, r), this.options = r;
5429
+ this.parser = new Ga(r), this.screen = new Dr(e, r), this.options = r;
5417
5430
  var i = new $e(this, r), n = i.createDocumentElement(t);
5418
5431
  this.document = i, this.documentElement = n;
5419
5432
  }
@@ -5427,7 +5440,7 @@ class mt {
5427
5440
  static from(e, t) {
5428
5441
  var r = arguments;
5429
5442
  return xe(function* () {
5430
- var i = r.length > 2 && r[2] !== void 0 ? r[2] : {}, n = new Fa(i), o = yield n.parse(t);
5443
+ var i = r.length > 2 && r[2] !== void 0 ? r[2] : {}, n = new Ga(i), o = yield n.parse(t);
5431
5444
  return new mt(e, o, i);
5432
5445
  })();
5433
5446
  }
@@ -5439,7 +5452,7 @@ class mt {
5439
5452
  * @returns Canvg instance.
5440
5453
  */
5441
5454
  static fromString(e, t) {
5442
- var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = new Fa(r), n = i.parseFromString(t);
5455
+ var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = new Ga(r), n = i.parseFromString(t);
5443
5456
  return new mt(e, n, r);
5444
5457
  }
5445
5458
  /**
@@ -5451,7 +5464,7 @@ class mt {
5451
5464
  */
5452
5465
  fork(e, t) {
5453
5466
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5454
- return mt.from(e, t, Ve(Ve({}, this.options), r));
5467
+ return mt.from(e, t, De(De({}, this.options), r));
5455
5468
  }
5456
5469
  /**
5457
5470
  * Create new Canvg instance with inherited options.
@@ -5462,7 +5475,7 @@ class mt {
5462
5475
  */
5463
5476
  forkString(e, t) {
5464
5477
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5465
- return mt.fromString(e, t, Ve(Ve({}, this.options), r));
5478
+ return mt.fromString(e, t, De(De({}, this.options), r));
5466
5479
  }
5467
5480
  /**
5468
5481
  * Document is ready promise.
@@ -5486,7 +5499,7 @@ class mt {
5486
5499
  var e = arguments, t = this;
5487
5500
  return xe(function* () {
5488
5501
  var r = e.length > 0 && e[0] !== void 0 ? e[0] : {};
5489
- t.start(Ve({
5502
+ t.start(De({
5490
5503
  enableRedraw: !0,
5491
5504
  ignoreAnimation: !0,
5492
5505
  ignoreMouse: !0
@@ -5503,7 +5516,7 @@ class mt {
5503
5516
  screen: r,
5504
5517
  options: i
5505
5518
  } = this;
5506
- r.start(t, Ve(Ve({
5519
+ r.start(t, De(De({
5507
5520
  enableRedraw: !0
5508
5521
  }, i), e));
5509
5522
  }
@@ -5525,90 +5538,90 @@ class mt {
5525
5538
  }
5526
5539
  }
5527
5540
  export {
5528
- k1 as AElement,
5529
- N1 as AnimateColorElement,
5530
- rn as AnimateElement,
5531
- I1 as AnimateTransformElement,
5541
+ K1 as AElement,
5542
+ H1 as AnimateColorElement,
5543
+ an as AnimateElement,
5544
+ Y1 as AnimateTransformElement,
5532
5545
  ce as BoundingBox,
5533
- mo as CB1,
5534
- bo as CB2,
5535
- xo as CB3,
5536
- To as CB4,
5546
+ To as CB1,
5547
+ Oo as CB2,
5548
+ So as CB3,
5549
+ Eo as CB4,
5537
5550
  mt as Canvg,
5538
- T1 as CircleElement,
5539
- z1 as ClipPathElement,
5540
- C1 as DefsElement,
5541
- Q1 as DescElement,
5551
+ V1 as CircleElement,
5552
+ i2 as ClipPathElement,
5553
+ F1 as DefsElement,
5554
+ h2 as DescElement,
5542
5555
  $e as Document,
5543
- N as Element,
5544
- O1 as EllipseElement,
5545
- bl as FeColorMatrixElement,
5546
- X1 as FeCompositeElement,
5547
- H1 as FeDropShadowElement,
5548
- W1 as FeGaussianBlurElement,
5549
- Y1 as FeMorphologyElement,
5550
- Vr as FilterElement,
5556
+ I as Element,
5557
+ D1 as EllipseElement,
5558
+ El as FeColorMatrixElement,
5559
+ o2 as FeCompositeElement,
5560
+ n2 as FeDropShadowElement,
5561
+ u2 as FeGaussianBlurElement,
5562
+ s2 as FeMorphologyElement,
5563
+ Br as FilterElement,
5551
5564
  Z as Font,
5552
- M1 as FontElement,
5553
- _1 as FontFaceElement,
5554
- tn as GElement,
5555
- gl as GlyphElement,
5556
- yl as GradientElement,
5557
- j1 as ImageElement,
5558
- S1 as LineElement,
5559
- A1 as LinearGradientElement,
5560
- w1 as MarkerElement,
5561
- _r as MaskElement,
5562
- fl as Matrix,
5563
- V1 as MissingGlyphElement,
5564
- n1 as Mouse,
5565
- at as PSEUDO_ZERO,
5566
- Fa as Parser,
5565
+ X1 as FontElement,
5566
+ W1 as FontFaceElement,
5567
+ rn as GElement,
5568
+ bl as GlyphElement,
5569
+ Ol as GradientElement,
5570
+ e2 as ImageElement,
5571
+ L1 as LineElement,
5572
+ U1 as LinearGradientElement,
5573
+ j1 as MarkerElement,
5574
+ kr as MaskElement,
5575
+ yl as Matrix,
5576
+ q1 as MissingGlyphElement,
5577
+ b1 as Mouse,
5578
+ rt as PSEUDO_ZERO,
5579
+ Ga as Parser,
5567
5580
  A as PathElement,
5568
5581
  w as PathParser,
5569
- $1 as PatternElement,
5570
- V as Point,
5571
- E1 as PolygonElement,
5572
- pl as PolylineElement,
5582
+ B1 as PatternElement,
5583
+ k as Point,
5584
+ k1 as PolygonElement,
5585
+ Tl as PolylineElement,
5573
5586
  S as Property,
5574
- Oo as QB1,
5575
- So as QB2,
5576
- Eo as QB3,
5577
- P1 as RadialGradientElement,
5578
- dl as RectElement,
5587
+ $o as QB1,
5588
+ wo as QB2,
5589
+ Co as QB3,
5590
+ G1 as RadialGradientElement,
5591
+ xl as RectElement,
5579
5592
  Ge as RenderedElement,
5580
- l1 as Rotate,
5593
+ S1 as Rotate,
5581
5594
  Nt as SVGElement,
5582
- U1 as SVGFontLoader,
5583
- h1 as Scale,
5584
- Ir as Screen,
5585
- cl as Skew,
5586
- v1 as SkewX,
5587
- f1 as SkewY,
5588
- R1 as StopElement,
5589
- ml as StyleElement,
5590
- F1 as SymbolElement,
5591
- D1 as TRefElement,
5592
- Mr as TSpanElement,
5595
+ r2 as SVGFontLoader,
5596
+ E1 as Scale,
5597
+ Dr as Screen,
5598
+ ml as Skew,
5599
+ $1 as SkewX,
5600
+ w1 as SkewY,
5601
+ z1 as StopElement,
5602
+ Sl as StyleElement,
5603
+ t2 as SymbolElement,
5604
+ Q1 as TRefElement,
5605
+ Lr as TSpanElement,
5593
5606
  Ce as TextElement,
5594
- L1 as TextPathElement,
5595
- q1 as TitleElement,
5596
- Le as Transform,
5597
- u1 as Translate,
5598
- d1 as UnknownElement,
5599
- G1 as UseElement,
5600
- i1 as ViewPort,
5601
- ht as compressSpaces,
5607
+ Z1 as TextPathElement,
5608
+ l2 as TitleElement,
5609
+ Be as Transform,
5610
+ O1 as Translate,
5611
+ P1 as UnknownElement,
5612
+ a2 as UseElement,
5613
+ m1 as ViewPort,
5614
+ lt as compressSpaces,
5602
5615
  mt as default,
5603
- a1 as getSelectorSpecificity,
5604
- Wb as normalizeAttributeName,
5605
- qb as normalizeColor,
5606
- ll as parseExternalUrl,
5607
- r2 as presets,
5608
- ie as toNumbers,
5609
- Hb as trimLeft,
5610
- Yb as trimRight,
5611
- po as vectorMagnitude,
5612
- yo as vectorsAngle,
5613
- yi as vectorsRatio
5616
+ y1 as getSelectorSpecificity,
5617
+ u1 as normalizeAttributeName,
5618
+ l1 as normalizeColor,
5619
+ gl as parseExternalUrl,
5620
+ p2 as presets,
5621
+ ne as toNumbers,
5622
+ n1 as trimLeft,
5623
+ s1 as trimRight,
5624
+ bo as vectorMagnitude,
5625
+ xo as vectorsAngle,
5626
+ mi as vectorsRatio
5614
5627
  };