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