@tongfun/ui 0.0.1-alpha.11 → 0.0.1-alpha.13
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/dashboard-data-table/types.d.ts +75 -4
- package/dist/{exceljs.min-Wv5GaAY9.js → exceljs.min-7ZdqzaDb.js} +1 -1
- package/dist/{index-DvDn4W4U.js → index-Djcrydo4.js} +117247 -134887
- package/dist/index.d.ts +20 -1
- package/dist/{index.es-C-ux3Q1b.js → index.es-DidZnnzi.js} +225 -221
- package/dist/index.js +1079 -956
- package/dist/{jspdf.es.min-DHhiCpHw.js → jspdf.es.min-DKb_BKff.js} +2 -2
- package/dist/list-filter/types.d.ts +26 -1
- package/dist/lowcode-agent/icons.js +7 -2
- package/dist/lowcode-agent/index.js +6370 -1027
- package/dist/lowcode-agent/types.d.ts +2 -2
- package/dist/skill/golden-examples/dashboard-workbench.md +1 -1
- package/dist/skill/golden-examples/management-list.md +1 -1
- package/dist/skill/tongfun-ui-skill.json +2 -2
- package/dist/skill/tongfun-ui-skill.md +2 -2
- package/dist/style.css +2 -2
- package/dist/xlsx-CcDy3vJ4.js +25053 -0
- package/package.json +27 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as Xa } from "./jspdf.es.min-
|
|
1
|
+
import { jj as Ke, kJ as Do } from "./index-Djcrydo4.js";
|
|
2
|
+
import { _ as Xa } from "./jspdf.es.min-DKb_BKff.js";
|
|
3
3
|
import "vue";
|
|
4
|
-
import "lucide
|
|
4
|
+
import "@lucide/vue";
|
|
5
5
|
import "reka-ui";
|
|
6
6
|
import "class-variance-authority";
|
|
7
7
|
import "clsx";
|
|
@@ -9,6 +9,10 @@ import "tailwind-merge";
|
|
|
9
9
|
import "axios";
|
|
10
10
|
import "vue-router";
|
|
11
11
|
import "vue-echarts";
|
|
12
|
+
import "echarts/core";
|
|
13
|
+
import "echarts/renderers";
|
|
14
|
+
import "echarts/charts";
|
|
15
|
+
import "echarts/components";
|
|
12
16
|
import "cropperjs";
|
|
13
17
|
import "./lowcode-agent/icons.js";
|
|
14
18
|
import "./lowcode-agent/index.js";
|
|
@@ -38,11 +42,11 @@ var vt = function(a) {
|
|
|
38
42
|
return typeof a != "function" || a.hasOwnProperty("prototype");
|
|
39
43
|
}), Nl = br, Ft = Function.prototype.call, Y = Nl ? Ft.bind(Ft) : function() {
|
|
40
44
|
return Ft.apply(Ft, arguments);
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
var t =
|
|
45
|
+
}, ko = {}, Lo = {}.propertyIsEnumerable, jo = Object.getOwnPropertyDescriptor, Il = jo && !Lo.call({ 1: 2 }, 1);
|
|
46
|
+
ko.f = Il ? function(e) {
|
|
47
|
+
var t = jo(this, e);
|
|
44
48
|
return !!t && t.enumerable;
|
|
45
|
-
} :
|
|
49
|
+
} : Lo;
|
|
46
50
|
var Si = function(a, e) {
|
|
47
51
|
return {
|
|
48
52
|
enumerable: !(a & 1),
|
|
@@ -50,42 +54,42 @@ var Si = function(a, e) {
|
|
|
50
54
|
writable: !(a & 4),
|
|
51
55
|
value: e
|
|
52
56
|
};
|
|
53
|
-
},
|
|
57
|
+
}, Bo = br, Fo = Function.prototype, Wa = Fo.call, Ml = Bo && Fo.bind.bind(Wa, Wa), k = Bo ? Ml : function(a) {
|
|
54
58
|
return function() {
|
|
55
59
|
return Wa.apply(a, arguments);
|
|
56
60
|
};
|
|
57
|
-
}, Uo =
|
|
61
|
+
}, Uo = k, _l = Uo({}.toString), Vl = Uo("".slice), Ce = function(a) {
|
|
58
62
|
return Vl(_l(a), 8, -1);
|
|
59
|
-
}, Dl =
|
|
63
|
+
}, Dl = k, kl = D, Ll = Ce, ea = Object, jl = Dl("".split), Go = kl(function() {
|
|
60
64
|
return !ea("z").propertyIsEnumerable(0);
|
|
61
65
|
}) ? function(a) {
|
|
62
|
-
return
|
|
66
|
+
return Ll(a) === "String" ? jl(a, "") : ea(a);
|
|
63
67
|
} : ea, xr = function(a) {
|
|
64
68
|
return a == null;
|
|
65
|
-
},
|
|
66
|
-
if (
|
|
69
|
+
}, Bl = xr, Fl = TypeError, ve = function(a) {
|
|
70
|
+
if (Bl(a))
|
|
67
71
|
throw new Fl("Can't call method on " + a);
|
|
68
72
|
return a;
|
|
69
73
|
}, Ul = Go, Gl = ve, wt = function(a) {
|
|
70
74
|
return Ul(Gl(a));
|
|
71
|
-
}, ta = typeof document == "object" && document.all,
|
|
75
|
+
}, ta = typeof document == "object" && document.all, L = typeof ta > "u" && ta !== void 0 ? function(a) {
|
|
72
76
|
return typeof a == "function" || a === ta;
|
|
73
77
|
} : function(a) {
|
|
74
78
|
return typeof a == "function";
|
|
75
|
-
}, zl =
|
|
79
|
+
}, zl = L, ae = function(a) {
|
|
76
80
|
return typeof a == "object" ? a !== null : zl(a);
|
|
77
|
-
}, ra = _, Hl =
|
|
81
|
+
}, ra = _, Hl = L, Yl = function(a) {
|
|
78
82
|
return Hl(a) ? a : void 0;
|
|
79
83
|
}, Fe = function(a, e) {
|
|
80
84
|
return arguments.length < 2 ? Yl(ra[a]) : ra[a] && ra[a][e];
|
|
81
|
-
}, Xl =
|
|
85
|
+
}, Xl = k, Tr = Xl({}.isPrototypeOf), Wl = _, pn = Wl.navigator, yn = pn && pn.userAgent, Ct = yn ? String(yn) : "", zo = _, aa = Ct, mn = zo.process, bn = zo.Deno, xn = mn && mn.versions || bn && bn.version, Tn = xn && xn.v8, le, cr;
|
|
82
86
|
Tn && (le = Tn.split("."), cr = le[0] > 0 && le[0] < 4 ? 1 : +(le[0] + le[1]));
|
|
83
87
|
!cr && aa && (le = aa.match(/Edge\/(\d+)/), (!le || le[1] >= 74) && (le = aa.match(/Chrome\/(\d+)/), le && (cr = +le[1])));
|
|
84
88
|
var Ei = cr, On = Ei, ql = D, Ql = _, Kl = Ql.String, Ho = !!Object.getOwnPropertySymbols && !ql(function() {
|
|
85
89
|
var a = Symbol("symbol detection");
|
|
86
90
|
return !Kl(a) || !(Object(a) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
87
91
|
!Symbol.sham && On && On < 41;
|
|
88
|
-
}), Zl = Ho, Yo = Zl && !Symbol.sham && typeof Symbol.iterator == "symbol", Jl = Fe, eh =
|
|
92
|
+
}), Zl = Ho, Yo = Zl && !Symbol.sham && typeof Symbol.iterator == "symbol", Jl = Fe, eh = L, th = Tr, rh = Yo, ah = Object, Xo = rh ? function(a) {
|
|
89
93
|
return typeof a == "symbol";
|
|
90
94
|
} : function(a) {
|
|
91
95
|
var e = Jl("Symbol");
|
|
@@ -96,14 +100,14 @@ var Ei = cr, On = Ei, ql = D, Ql = _, Kl = Ql.String, Ho = !!Object.getOwnProper
|
|
|
96
100
|
} catch {
|
|
97
101
|
return "Object";
|
|
98
102
|
}
|
|
99
|
-
}, nh =
|
|
103
|
+
}, nh = L, sh = Or, oh = TypeError, Ae = function(a) {
|
|
100
104
|
if (nh(a))
|
|
101
105
|
return a;
|
|
102
106
|
throw new oh(sh(a) + " is not a function");
|
|
103
107
|
}, uh = Ae, lh = xr, ot = function(a, e) {
|
|
104
108
|
var t = a[e];
|
|
105
109
|
return lh(t) ? void 0 : uh(t);
|
|
106
|
-
}, ia = Y, na =
|
|
110
|
+
}, ia = Y, na = L, sa = ae, hh = TypeError, vh = function(a, e) {
|
|
107
111
|
var t, r;
|
|
108
112
|
if (e === "string" && na(t = a.toString) && !sa(r = ia(t, a)) || na(t = a.valueOf) && !sa(r = ia(t, a)) || e !== "string" && na(t = a.toString) && !sa(r = ia(t, a)))
|
|
109
113
|
return r;
|
|
@@ -127,13 +131,13 @@ var wi = Wo.exports, wn = wi, dh = Object.create || Object, Ci = function(a, e)
|
|
|
127
131
|
return wn[a] || (wn[a] = e || dh(null));
|
|
128
132
|
}, ph = ve, yh = Object, Sr = function(a) {
|
|
129
133
|
return yh(ph(a));
|
|
130
|
-
}, mh =
|
|
134
|
+
}, mh = k, bh = Sr, xh = mh({}.hasOwnProperty), fe = Object.hasOwn || function(e, t) {
|
|
131
135
|
return xh(bh(e), t);
|
|
132
|
-
}, Th =
|
|
136
|
+
}, Th = k, Oh = 0, Sh = Math.random(), Eh = Th(1.1.toString), qo = function(a) {
|
|
133
137
|
return "Symbol(" + (a === void 0 ? "" : a) + ")_" + Eh(++Oh + Sh, 36);
|
|
134
138
|
}, $h = _, wh = Ci, Cn = fe, Ch = qo, Ah = Ho, Ph = Yo, Ze = $h.Symbol, oa = wh("wks"), Rh = Ph ? Ze.for || Ze : Ze && Ze.withoutSetter || Ch, z = function(a) {
|
|
135
139
|
return Cn(oa, a) || (oa[a] = Ah && Cn(Ze, a) ? Ze[a] : Rh("Symbol." + a)), oa[a];
|
|
136
|
-
}, Nh = Y, An = ae, Pn = Xo, Ih = ot, Mh = vh, _h = z, Vh = TypeError, Dh = _h("toPrimitive"),
|
|
140
|
+
}, Nh = Y, An = ae, Pn = Xo, Ih = ot, Mh = vh, _h = z, Vh = TypeError, Dh = _h("toPrimitive"), kh = function(a, e) {
|
|
137
141
|
if (!An(a) || Pn(a))
|
|
138
142
|
return a;
|
|
139
143
|
var t = Ih(a, Dh), r;
|
|
@@ -143,10 +147,10 @@ var wi = Wo.exports, wn = wi, dh = Object.create || Object, Ci = function(a, e)
|
|
|
143
147
|
throw new Vh("Can't convert object to primitive value");
|
|
144
148
|
}
|
|
145
149
|
return e === void 0 && (e = "number"), Mh(a, e);
|
|
146
|
-
},
|
|
147
|
-
var e =
|
|
148
|
-
return
|
|
149
|
-
},
|
|
150
|
+
}, Lh = kh, jh = Xo, Qo = function(a) {
|
|
151
|
+
var e = Lh(a, "string");
|
|
152
|
+
return jh(e) ? e : e + "";
|
|
153
|
+
}, Bh = _, Rn = ae, qa = Bh.document, Fh = Rn(qa) && Rn(qa.createElement), Er = function(a) {
|
|
150
154
|
return Fh ? qa.createElement(a) : {};
|
|
151
155
|
}, Uh = he, Gh = D, zh = Er, Ko = !Uh && !Gh(function() {
|
|
152
156
|
return Object.defineProperty(zh("div"), "a", {
|
|
@@ -154,7 +158,7 @@ var wi = Wo.exports, wn = wi, dh = Object.create || Object, Ci = function(a, e)
|
|
|
154
158
|
return 7;
|
|
155
159
|
}
|
|
156
160
|
}).a !== 7;
|
|
157
|
-
}), Hh = he, Yh = Y, Xh =
|
|
161
|
+
}), Hh = he, Yh = Y, Xh = ko, Wh = Si, qh = wt, Qh = Qo, Kh = fe, Zh = Ko, Nn = Object.getOwnPropertyDescriptor;
|
|
158
162
|
$t.f = Hh ? Nn : function(e, t) {
|
|
159
163
|
if (e = qh(e), t = Qh(t), Zh)
|
|
160
164
|
try {
|
|
@@ -203,11 +207,11 @@ var lv = he, hv = Te, vv = Si, At = lv ? function(a, e, t) {
|
|
|
203
207
|
}).name === "something", dv = tu && (!Qa || Qa && cv(eu, "name").configurable), $r = {
|
|
204
208
|
PROPER: gv,
|
|
205
209
|
CONFIGURABLE: dv
|
|
206
|
-
}, pv =
|
|
210
|
+
}, pv = k, yv = L, Ka = wi, mv = pv(Function.toString);
|
|
207
211
|
yv(Ka.inspectSource) || (Ka.inspectSource = function(a) {
|
|
208
212
|
return mv(a);
|
|
209
213
|
});
|
|
210
|
-
var Ai = Ka.inspectSource, bv = _, xv =
|
|
214
|
+
var Ai = Ka.inspectSource, bv = _, xv = L, Mn = bv.WeakMap, Tv = xv(Mn) && /native code/.test(String(Mn)), Ov = Ci, Sv = qo, _n = Ov("keys"), Pi = function(a) {
|
|
211
215
|
return _n[a] || (_n[a] = Sv(a));
|
|
212
216
|
}, Ri = {}, Ev = Tv, ru = _, $v = ae, wv = At, fa = fe, ca = wi, Cv = Pi, Av = Ri, Vn = "Object already initialized", Za = ru.TypeError, Pv = ru.WeakMap, gr, Ot, dr, Rv = function(a) {
|
|
213
217
|
return dr(a) ? Ot(a) : gr(a, {});
|
|
@@ -248,22 +252,22 @@ var wr = {
|
|
|
248
252
|
has: dr,
|
|
249
253
|
enforce: Rv,
|
|
250
254
|
getterFor: Nv
|
|
251
|
-
}, Ni =
|
|
255
|
+
}, Ni = k, Iv = D, Mv = L, Gt = fe, Ja = he, _v = $r.CONFIGURABLE, Vv = Ai, au = wr, Dv = au.enforce, kv = au.get, Dn = String, or = Object.defineProperty, Lv = Ni("".slice), jv = Ni("".replace), Bv = Ni([].join), Fv = Ja && !Iv(function() {
|
|
252
256
|
return or(function() {
|
|
253
257
|
}, "length", { value: 8 }).length !== 8;
|
|
254
258
|
}), Uv = String(String).split("String"), Gv = Jo.exports = function(a, e, t) {
|
|
255
|
-
|
|
259
|
+
Lv(Dn(e), 0, 7) === "Symbol(" && (e = "[" + jv(Dn(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), t && t.getter && (e = "get " + e), t && t.setter && (e = "set " + e), (!Gt(a, "name") || _v && a.name !== e) && (Ja ? or(a, "name", { value: e, configurable: !0 }) : a.name = e), Fv && t && Gt(t, "arity") && a.length !== t.arity && or(a, "length", { value: t.arity });
|
|
256
260
|
try {
|
|
257
261
|
t && Gt(t, "constructor") && t.constructor ? Ja && or(a, "prototype", { writable: !1 }) : a.prototype && (a.prototype = void 0);
|
|
258
262
|
} catch {
|
|
259
263
|
}
|
|
260
264
|
var r = Dv(a);
|
|
261
|
-
return Gt(r, "source") || (r.source =
|
|
265
|
+
return Gt(r, "source") || (r.source = Bv(Uv, typeof e == "string" ? e : "")), a;
|
|
262
266
|
};
|
|
263
267
|
Function.prototype.toString = Gv(function() {
|
|
264
|
-
return Mv(this) &&
|
|
268
|
+
return Mv(this) && kv(this).source || Vv(this);
|
|
265
269
|
}, "toString");
|
|
266
|
-
var iu = Jo.exports, zv =
|
|
270
|
+
var iu = Jo.exports, zv = L, Hv = Te, Yv = iu, Xv = $i, Ue = function(a, e, t, r) {
|
|
267
271
|
r || (r = {});
|
|
268
272
|
var i = r.enumerable, n = r.name !== void 0 ? r.name : e;
|
|
269
273
|
if (zv(t) && Yv(t, n, r), r.global)
|
|
@@ -315,12 +319,12 @@ var iu = Jo.exports, zv = k, Hv = Te, Yv = iu, Xv = $i, Ue = function(a, e, t, r
|
|
|
315
319
|
// `Array.prototype.indexOf` method
|
|
316
320
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
317
321
|
indexOf: lf(!1)
|
|
318
|
-
}, hf =
|
|
322
|
+
}, hf = k, ga = fe, vf = wt, ff = su.indexOf, cf = Ri, kn = hf([].push), ou = function(a, e) {
|
|
319
323
|
var t = vf(a), r = 0, i = [], n;
|
|
320
324
|
for (n in t)
|
|
321
|
-
!ga(cf, n) && ga(t, n) &&
|
|
325
|
+
!ga(cf, n) && ga(t, n) && kn(i, n);
|
|
322
326
|
for (; e.length > r; )
|
|
323
|
-
ga(t, n = e[r++]) && (~ff(i, n) ||
|
|
327
|
+
ga(t, n = e[r++]) && (~ff(i, n) || kn(i, n));
|
|
324
328
|
return i;
|
|
325
329
|
}, Mi = [
|
|
326
330
|
"constructor",
|
|
@@ -336,35 +340,35 @@ nu.f = Object.getOwnPropertyNames || function(e) {
|
|
|
336
340
|
};
|
|
337
341
|
var uu = {};
|
|
338
342
|
uu.f = Object.getOwnPropertySymbols;
|
|
339
|
-
var yf = Fe, mf =
|
|
343
|
+
var yf = Fe, mf = k, bf = nu, xf = uu, Tf = J, Of = mf([].concat), Sf = yf("Reflect", "ownKeys") || function(e) {
|
|
340
344
|
var t = bf.f(Tf(e)), r = xf.f;
|
|
341
345
|
return r ? Of(t, r(e)) : t;
|
|
342
|
-
},
|
|
346
|
+
}, Ln = fe, Ef = Sf, $f = $t, wf = Te, Cf = function(a, e, t) {
|
|
343
347
|
for (var r = Ef(e), i = wf.f, n = $f.f, o = 0; o < r.length; o++) {
|
|
344
348
|
var s = r[o];
|
|
345
|
-
!
|
|
349
|
+
!Ln(a, s) && !(t && Ln(t, s)) && i(a, s, n(e, s));
|
|
346
350
|
}
|
|
347
|
-
}, Af = D, Pf =
|
|
351
|
+
}, Af = D, Pf = L, Rf = /#|\.prototype\./, Pt = function(a, e) {
|
|
348
352
|
var t = If[Nf(a)];
|
|
349
353
|
return t === _f ? !0 : t === Mf ? !1 : Pf(e) ? Af(e) : !!e;
|
|
350
354
|
}, Nf = Pt.normalize = function(a) {
|
|
351
355
|
return String(a).replace(Rf, ".").toLowerCase();
|
|
352
|
-
}, If = Pt.data = {}, Mf = Pt.NATIVE = "N", _f = Pt.POLYFILL = "P", lu = Pt, zt = _, Vf = $t.f, Df = At,
|
|
356
|
+
}, If = Pt.data = {}, Mf = Pt.NATIVE = "N", _f = Pt.POLYFILL = "P", lu = Pt, zt = _, Vf = $t.f, Df = At, kf = Ue, Lf = $i, jf = Cf, Bf = lu, ee = function(a, e) {
|
|
353
357
|
var t = a.target, r = a.global, i = a.stat, n, o, s, u, l, h;
|
|
354
|
-
if (r ? o = zt : i ? o = zt[t] ||
|
|
358
|
+
if (r ? o = zt : i ? o = zt[t] || Lf(t, {}) : o = zt[t] && zt[t].prototype, o)
|
|
355
359
|
for (s in e) {
|
|
356
|
-
if (l = e[s], a.dontCallGetSet ? (h = Vf(o, s), u = h && h.value) : u = o[s], n =
|
|
360
|
+
if (l = e[s], a.dontCallGetSet ? (h = Vf(o, s), u = h && h.value) : u = o[s], n = Bf(r ? s : t + (i ? "." : "#") + s, a.forced), !n && u !== void 0) {
|
|
357
361
|
if (typeof l == typeof u)
|
|
358
362
|
continue;
|
|
359
|
-
|
|
363
|
+
jf(l, u);
|
|
360
364
|
}
|
|
361
|
-
(a.sham || u && u.sham) && Df(l, "sham", !0),
|
|
365
|
+
(a.sham || u && u.sham) && Df(l, "sham", !0), kf(o, s, l, a);
|
|
362
366
|
}
|
|
363
367
|
}, ft = _, Ff = Ct, Uf = Ce, Ht = function(a) {
|
|
364
368
|
return Ff.slice(0, a.length) === a;
|
|
365
369
|
}, hu = function() {
|
|
366
370
|
return Ht("Bun/") ? "BUN" : Ht("Cloudflare-Workers") ? "CLOUDFLARE" : Ht("Deno/") ? "DENO" : Ht("Node.js/") ? "NODE" : ft.Bun && typeof Bun.version == "string" ? "BUN" : ft.Deno && typeof Deno.version == "object" ? "DENO" : Uf(ft.process) === "process" ? "NODE" : ft.window && ft.document ? "BROWSER" : "REST";
|
|
367
|
-
}(), Gf = hu, Ar = Gf === "NODE", zf = _, Hf = zf, Yf =
|
|
371
|
+
}(), Gf = hu, Ar = Gf === "NODE", zf = _, Hf = zf, Yf = k, Xf = Ae, Wf = function(a, e, t) {
|
|
368
372
|
try {
|
|
369
373
|
return Yf(Xf(Object.getOwnPropertyDescriptor(a, e)[t]));
|
|
370
374
|
} catch {
|
|
@@ -384,10 +388,10 @@ var yf = Fe, mf = L, bf = nu, xf = uu, Tf = J, Of = mf([].concat), Sf = yf("Refl
|
|
|
384
388
|
return function(i, n) {
|
|
385
389
|
return ac(i), ic(n), rc(i) && (a ? t(i, n) : i.__proto__ = n), i;
|
|
386
390
|
};
|
|
387
|
-
}() : void 0), nc = Te.f, sc = fe, oc = z,
|
|
388
|
-
a && !t && (a = a.prototype), a && !sc(a,
|
|
389
|
-
},
|
|
390
|
-
return t.get &&
|
|
391
|
+
}() : void 0), nc = Te.f, sc = fe, oc = z, jn = oc("toStringTag"), Pr = function(a, e, t) {
|
|
392
|
+
a && !t && (a = a.prototype), a && !sc(a, jn) && nc(a, jn, { configurable: !0, value: e });
|
|
393
|
+
}, Bn = iu, uc = Te, lc = function(a, e, t) {
|
|
394
|
+
return t.get && Bn(t.get, e, { getter: !0 }), t.set && Bn(t.set, e, { setter: !0 }), uc.f(a, e, t);
|
|
391
395
|
}, hc = Fe, vc = lc, fc = z, cc = he, Fn = fc("species"), gc = function(a) {
|
|
392
396
|
var e = hc(a);
|
|
393
397
|
cc && e && !e[Fn] && vc(e, Fn, {
|
|
@@ -402,7 +406,7 @@ var yf = Fe, mf = L, bf = nu, xf = uu, Tf = J, Of = mf([].concat), Sf = yf("Refl
|
|
|
402
406
|
throw new pc("Incorrect invocation");
|
|
403
407
|
}, mc = z, bc = mc("toStringTag"), fu = {};
|
|
404
408
|
fu[bc] = "z";
|
|
405
|
-
var xc = String(fu) === "[object z]", Tc = xc, Oc =
|
|
409
|
+
var xc = String(fu) === "[object z]", Tc = xc, Oc = L, ur = Ce, Sc = z, Ec = Sc("toStringTag"), $c = Object, wc = ur(function() {
|
|
406
410
|
return arguments;
|
|
407
411
|
}()) === "Arguments", Cc = function(a, e) {
|
|
408
412
|
try {
|
|
@@ -412,7 +416,7 @@ var xc = String(fu) === "[object z]", Tc = xc, Oc = k, ur = Ce, Sc = z, Ec = Sc(
|
|
|
412
416
|
}, cu = Tc ? ur : function(a) {
|
|
413
417
|
var e, t, r;
|
|
414
418
|
return a === void 0 ? "Undefined" : a === null ? "Null" : typeof (t = Cc(e = $c(a), Ec)) == "string" ? t : wc ? ur(e) : (r = ur(e)) === "Object" && Oc(e.callee) ? "Arguments" : r;
|
|
415
|
-
}, Ac =
|
|
419
|
+
}, Ac = k, Pc = D, gu = L, Rc = cu, Nc = Fe, Ic = Ai, du = function() {
|
|
416
420
|
}, pu = Nc("Reflect", "construct"), _i = /^\s*(?:class|function)\b/, Mc = Ac(_i.exec), _c = !_i.test(du), ct = function(e) {
|
|
417
421
|
if (!gu(e))
|
|
418
422
|
return !1;
|
|
@@ -442,27 +446,27 @@ var Vc = !pu || Pc(function() {
|
|
|
442
446
|
return ct(ct.call) || !ct(Object) || !ct(function() {
|
|
443
447
|
a = !0;
|
|
444
448
|
}) || a;
|
|
445
|
-
}) ? yu : ct, Dc = Vc,
|
|
449
|
+
}) ? yu : ct, Dc = Vc, kc = Or, Lc = TypeError, jc = function(a) {
|
|
446
450
|
if (Dc(a))
|
|
447
451
|
return a;
|
|
448
|
-
throw new kc(
|
|
449
|
-
}, Un = J,
|
|
452
|
+
throw new Lc(kc(a) + " is not a constructor");
|
|
453
|
+
}, Un = J, Bc = jc, Fc = xr, Uc = z, Gc = Uc("species"), mu = function(a, e) {
|
|
450
454
|
var t = Un(a).constructor, r;
|
|
451
|
-
return t === void 0 || Fc(r = Un(t)[Gc]) ? e :
|
|
455
|
+
return t === void 0 || Fc(r = Un(t)[Gc]) ? e : Bc(r);
|
|
452
456
|
}, zc = br, bu = Function.prototype, Gn = bu.apply, zn = bu.call, xu = typeof Reflect == "object" && Reflect.apply || (zc ? zn.bind(Gn) : function() {
|
|
453
457
|
return zn.apply(Gn, arguments);
|
|
454
|
-
}), Hc = Ce, Yc =
|
|
458
|
+
}), Hc = Ce, Yc = k, Rr = function(a) {
|
|
455
459
|
if (Hc(a) === "Function")
|
|
456
460
|
return Yc(a);
|
|
457
461
|
}, Hn = Rr, Xc = Ae, Wc = br, qc = Hn(Hn.bind), Vi = function(a, e) {
|
|
458
462
|
return Xc(a), e === void 0 ? a : Wc ? qc(a, e) : function() {
|
|
459
463
|
return a.apply(e, arguments);
|
|
460
464
|
};
|
|
461
|
-
}, Qc = Fe, Tu = Qc("document", "documentElement"), Kc =
|
|
465
|
+
}, Qc = Fe, Tu = Qc("document", "documentElement"), Kc = k, Zc = Kc([].slice), Jc = TypeError, eg = function(a, e) {
|
|
462
466
|
if (a < e)
|
|
463
467
|
throw new Jc("Not enough arguments");
|
|
464
468
|
return a;
|
|
465
|
-
}, Yn = Ct, Ou = /ipad|iphone|ipod/i.test(Yn) && /applewebkit/i.test(Yn), ie = _, tg = xu, rg = Vi, Xn =
|
|
469
|
+
}, Yn = Ct, Ou = /ipad|iphone|ipod/i.test(Yn) && /applewebkit/i.test(Yn), ie = _, tg = xu, rg = Vi, Xn = L, ag = fe, Su = D, Wn = Tu, ig = Zc, qn = Er, ng = eg, sg = Ou, og = Ar, ei = ie.setImmediate, Qn = ie.clearImmediate, ug = ie.process, da = ie.Dispatch, lg = ie.Function, Kn = ie.MessageChannel, hg = ie.String, pa = 0, xt = {}, Zn = "onreadystatechange", St, Me, ya, ma;
|
|
466
470
|
Su(function() {
|
|
467
471
|
St = ie.location;
|
|
468
472
|
});
|
|
@@ -551,13 +555,13 @@ var Sg = ti, Eg = function(a, e) {
|
|
|
551
555
|
arguments.length === 1 ? console.error(a) : console.error(a, e);
|
|
552
556
|
} catch {
|
|
553
557
|
}
|
|
554
|
-
},
|
|
558
|
+
}, ki = function(a) {
|
|
555
559
|
try {
|
|
556
560
|
return { error: !1, value: a() };
|
|
557
561
|
} catch (e) {
|
|
558
562
|
return { error: !0, value: e };
|
|
559
563
|
}
|
|
560
|
-
}, $g = _, Nr = $g.Promise, wg = _, Tt = Nr, Cg =
|
|
564
|
+
}, $g = _, Nr = $g.Promise, wg = _, Tt = Nr, Cg = L, Ag = lu, Pg = Ai, Rg = z, os = hu, Ea = Ei;
|
|
561
565
|
Tt && Tt.prototype;
|
|
562
566
|
var Ng = Rg("species"), ri = !1, Cu = Cg(wg.PromiseRejectionEvent), Ig = Ag("Promise", function() {
|
|
563
567
|
var a = Pg(Tt), e = a !== String(Tt);
|
|
@@ -591,30 +595,30 @@ var Ng = Rg("species"), ri = !1, Cu = Cg(wg.PromiseRejectionEvent), Ig = Ag("Pro
|
|
|
591
595
|
lt.f = function(a) {
|
|
592
596
|
return new _g(a);
|
|
593
597
|
};
|
|
594
|
-
var Vg = ee, pr = Ar, $e = _, Dg = Hf, nt = Y, ls = Ue, hs = vu,
|
|
598
|
+
var Vg = ee, pr = Ar, $e = _, Dg = Hf, nt = Y, ls = Ue, hs = vu, kg = Pr, Lg = gc, jg = Ae, lr = L, Bg = ae, Fg = yc, Ug = mu, Au = Eu.set, Li = Sg, Gg = Eg, zg = ki, Hg = wu, Pu = wr, yr = Nr, ji = Rt, Ru = lt, Ir = "Promise", Nu = ji.CONSTRUCTOR, Yg = ji.REJECTION_EVENT, Xg = ji.SUBCLASSING, $a = Pu.getterFor(Ir), Wg = Pu.set, Qe = yr && yr.prototype, Le = yr, Qt = Qe, Iu = $e.TypeError, ai = $e.document, Bi = $e.process, ii = Ru.f, qg = ii, Qg = !!(ai && ai.createEvent && $e.dispatchEvent), Mu = "unhandledrejection", Kg = "rejectionhandled", vs = 0, _u = 1, Zg = 2, Fi = 1, Vu = 2, Kt, fs, Du, cs, ku = function(a) {
|
|
595
599
|
var e;
|
|
596
|
-
return
|
|
597
|
-
},
|
|
600
|
+
return Bg(a) && lr(e = a.then) ? e : !1;
|
|
601
|
+
}, Lu = function(a, e) {
|
|
598
602
|
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;
|
|
599
603
|
try {
|
|
600
|
-
i ? (r || (e.rejection === Vu && ed(e), e.rejection = Fi), i === !0 ? u = t : (s && s.enter(), u = i(t), s && (s.exit(), h = !0)), u === a.promise ? o(new Iu("Promise-chain cycle")) : (l =
|
|
604
|
+
i ? (r || (e.rejection === Vu && ed(e), e.rejection = Fi), i === !0 ? u = t : (s && s.enter(), u = i(t), s && (s.exit(), h = !0)), u === a.promise ? o(new Iu("Promise-chain cycle")) : (l = ku(u)) ? nt(l, u, n, o) : n(u)) : o(t);
|
|
601
605
|
} catch (f) {
|
|
602
606
|
s && !h && s.exit(), o(f);
|
|
603
607
|
}
|
|
604
|
-
},
|
|
605
|
-
a.notified || (a.notified = !0,
|
|
608
|
+
}, ju = function(a, e) {
|
|
609
|
+
a.notified || (a.notified = !0, Li(function() {
|
|
606
610
|
for (var t = a.reactions, r; r = t.get(); )
|
|
607
|
-
|
|
611
|
+
Lu(r, a);
|
|
608
612
|
a.notified = !1, e && !a.rejection && Jg(a);
|
|
609
613
|
}));
|
|
610
|
-
},
|
|
614
|
+
}, Bu = function(a, e, t) {
|
|
611
615
|
var r, i;
|
|
612
616
|
Qg ? (r = ai.createEvent("Event"), r.promise = e, r.reason = t, r.initEvent(a, !1, !0), $e.dispatchEvent(r)) : r = { promise: e, reason: t }, !Yg && (i = $e["on" + a]) ? i(r) : a === Mu && Gg("Unhandled promise rejection", t);
|
|
613
617
|
}, Jg = function(a) {
|
|
614
618
|
nt(Au, $e, function() {
|
|
615
619
|
var e = a.facade, t = a.value, r = gs(a), i;
|
|
616
620
|
if (r && (i = zg(function() {
|
|
617
|
-
pr ?
|
|
621
|
+
pr ? Bi.emit("unhandledRejection", t, e) : Bu(Mu, e, t);
|
|
618
622
|
}), a.rejection = pr || gs(a) ? Vu : Fi, i.error))
|
|
619
623
|
throw i.value;
|
|
620
624
|
});
|
|
@@ -623,22 +627,22 @@ var Vg = ee, pr = Ar, $e = _, Dg = Hf, nt = Y, ls = Ue, hs = vu, Lg = Pr, kg = g
|
|
|
623
627
|
}, ed = function(a) {
|
|
624
628
|
nt(Au, $e, function() {
|
|
625
629
|
var e = a.facade;
|
|
626
|
-
pr ?
|
|
630
|
+
pr ? Bi.emit("rejectionHandled", e) : Bu(Kg, e, a.value);
|
|
627
631
|
});
|
|
628
632
|
}, Je = function(a, e, t) {
|
|
629
633
|
return function(r) {
|
|
630
634
|
a(e, r, t);
|
|
631
635
|
};
|
|
632
636
|
}, tt = function(a, e, t) {
|
|
633
|
-
a.done || (a.done = !0, t && (a = t), a.value = e, a.state = Zg,
|
|
637
|
+
a.done || (a.done = !0, t && (a = t), a.value = e, a.state = Zg, ju(a, !0));
|
|
634
638
|
}, ni = function(a, e, t) {
|
|
635
639
|
if (!a.done) {
|
|
636
640
|
a.done = !0, t && (a = t);
|
|
637
641
|
try {
|
|
638
642
|
if (a.facade === e)
|
|
639
643
|
throw new Iu("Promise can't be resolved itself");
|
|
640
|
-
var r =
|
|
641
|
-
r ?
|
|
644
|
+
var r = ku(e);
|
|
645
|
+
r ? Li(function() {
|
|
642
646
|
var i = { done: !1 };
|
|
643
647
|
try {
|
|
644
648
|
nt(
|
|
@@ -650,21 +654,21 @@ var Vg = ee, pr = Ar, $e = _, Dg = Hf, nt = Y, ls = Ue, hs = vu, Lg = Pr, kg = g
|
|
|
650
654
|
} catch (n) {
|
|
651
655
|
tt(i, n, a);
|
|
652
656
|
}
|
|
653
|
-
}) : (a.value = e, a.state = _u,
|
|
657
|
+
}) : (a.value = e, a.state = _u, ju(a, !1));
|
|
654
658
|
} catch (i) {
|
|
655
659
|
tt({ done: !1 }, i, a);
|
|
656
660
|
}
|
|
657
661
|
}
|
|
658
662
|
};
|
|
659
|
-
if (Nu && (
|
|
660
|
-
Fg(this, Qt),
|
|
663
|
+
if (Nu && (Le = function(e) {
|
|
664
|
+
Fg(this, Qt), jg(e), nt(Kt, this);
|
|
661
665
|
var t = $a(this);
|
|
662
666
|
try {
|
|
663
667
|
e(Je(ni, t), Je(tt, t));
|
|
664
668
|
} catch (r) {
|
|
665
669
|
tt(t, r);
|
|
666
670
|
}
|
|
667
|
-
}, Qt =
|
|
671
|
+
}, Qt = Le.prototype, Kt = function(e) {
|
|
668
672
|
Wg(this, {
|
|
669
673
|
type: Ir,
|
|
670
674
|
done: !1,
|
|
@@ -676,19 +680,19 @@ if (Nu && (ke = function(e) {
|
|
|
676
680
|
value: null
|
|
677
681
|
});
|
|
678
682
|
}, Kt.prototype = ls(Qt, "then", function(e, t) {
|
|
679
|
-
var r = $a(this), i = ii(Ug(this,
|
|
680
|
-
return r.parent = !0, i.ok = lr(e) ? e : !0, i.fail = lr(t) && t, i.domain = pr ?
|
|
681
|
-
|
|
683
|
+
var r = $a(this), i = ii(Ug(this, Le));
|
|
684
|
+
return r.parent = !0, i.ok = lr(e) ? e : !0, i.fail = lr(t) && t, i.domain = pr ? Bi.domain : void 0, r.state === vs ? r.reactions.add(i) : Li(function() {
|
|
685
|
+
Lu(i, r);
|
|
682
686
|
}), i.promise;
|
|
683
687
|
}), fs = function() {
|
|
684
688
|
var a = new Kt(), e = $a(a);
|
|
685
689
|
this.promise = a, this.resolve = Je(ni, e), this.reject = Je(tt, e);
|
|
686
690
|
}, Ru.f = ii = function(a) {
|
|
687
|
-
return a ===
|
|
691
|
+
return a === Le || a === Du ? new fs(a) : qg(a);
|
|
688
692
|
}, lr(yr) && Qe !== Object.prototype)) {
|
|
689
693
|
cs = Qe.then, Xg || ls(Qe, "then", function(e, t) {
|
|
690
694
|
var r = this;
|
|
691
|
-
return new
|
|
695
|
+
return new Le(function(i, n) {
|
|
692
696
|
nt(cs, r, i, n);
|
|
693
697
|
}).then(e, t);
|
|
694
698
|
}, { unsafe: !0 });
|
|
@@ -699,17 +703,17 @@ if (Nu && (ke = function(e) {
|
|
|
699
703
|
hs && hs(Qe, Qt);
|
|
700
704
|
}
|
|
701
705
|
Vg({ global: !0, constructor: !0, wrap: !0, forced: Nu }, {
|
|
702
|
-
Promise:
|
|
706
|
+
Promise: Le
|
|
703
707
|
});
|
|
704
708
|
Du = Dg.Promise;
|
|
705
|
-
|
|
706
|
-
|
|
709
|
+
kg(Le, Ir, !1);
|
|
710
|
+
Lg(Ir);
|
|
707
711
|
var Mr = Object.create ? /* @__PURE__ */ Object.create(null) : {}, td = z, rd = Mr, ad = td("iterator"), id = Array.prototype, nd = function(a) {
|
|
708
712
|
return a !== void 0 && (rd.Array === a || id[ad] === a);
|
|
709
713
|
}, sd = Ce, od = xr, ds = ot, ud = z, ps = ud("iterator"), ld = Array.prototype, Fu = function(a) {
|
|
710
714
|
if (!od(a))
|
|
711
715
|
return ds(a, ps) || ds(a, "@@iterator") || (sd(a) === "Arguments" ? ld[ps] : void 0);
|
|
712
|
-
}, hd = Y, vd =
|
|
716
|
+
}, hd = Y, vd = L, fd = J, cd = Or, gd = Fu, dd = TypeError, pd = function(a, e) {
|
|
713
717
|
var t = arguments.length < 2 ? gd(a) : e;
|
|
714
718
|
if (vd(t))
|
|
715
719
|
return fd(hd(t, a));
|
|
@@ -810,12 +814,12 @@ var Nd = function(a, e) {
|
|
|
810
814
|
}, Id = Nr, Md = Nd, _d = Rt.CONSTRUCTOR, Hu = _d || !Md(function(a) {
|
|
811
815
|
Id.all(a).then(void 0, function() {
|
|
812
816
|
});
|
|
813
|
-
}), Vd = ee, Dd = Y,
|
|
817
|
+
}), Vd = ee, Dd = Y, kd = Ae, Ld = lt, jd = ki, Bd = Uu, Fd = Hu;
|
|
814
818
|
Vd({ target: "Promise", stat: !0, forced: Fd }, {
|
|
815
819
|
all: function(e) {
|
|
816
|
-
var t = this, r =
|
|
817
|
-
var s =
|
|
818
|
-
|
|
820
|
+
var t = this, r = Ld.f(t), i = r.resolve, n = r.reject, o = jd(function() {
|
|
821
|
+
var s = kd(t.resolve), u = [], l = 0, h = 1;
|
|
822
|
+
Bd(e, function(f) {
|
|
819
823
|
var c = l++, v = !1;
|
|
820
824
|
h++, Dd(s, t, f).then(function(g) {
|
|
821
825
|
v || (v = !0, u[c] = g, --h || i(u));
|
|
@@ -825,7 +829,7 @@ Vd({ target: "Promise", stat: !0, forced: Fd }, {
|
|
|
825
829
|
return o.error && n(o.value), r.promise;
|
|
826
830
|
}
|
|
827
831
|
});
|
|
828
|
-
var Ud = ee, Gd = Rt.CONSTRUCTOR, si = Nr, zd = Fe, Hd =
|
|
832
|
+
var Ud = ee, Gd = Rt.CONSTRUCTOR, si = Nr, zd = Fe, Hd = L, Yd = Ue, Os = si && si.prototype;
|
|
829
833
|
Ud({ target: "Promise", proto: !0, forced: Gd, real: !0 }, {
|
|
830
834
|
catch: function(a) {
|
|
831
835
|
return this.then(void 0, a);
|
|
@@ -835,7 +839,7 @@ if (Hd(si)) {
|
|
|
835
839
|
var Ss = zd("Promise").prototype.catch;
|
|
836
840
|
Os.catch !== Ss && Yd(Os, "catch", Ss, { unsafe: !0 });
|
|
837
841
|
}
|
|
838
|
-
var Xd = ee, Wd = Y, qd = Ae, Qd = lt, Kd =
|
|
842
|
+
var Xd = ee, Wd = Y, qd = Ae, Qd = lt, Kd = ki, Zd = Uu, Jd = Hu;
|
|
839
843
|
Xd({ target: "Promise", stat: !0, forced: Jd }, {
|
|
840
844
|
race: function(e) {
|
|
841
845
|
var t = this, r = Qd.f(t), i = r.reject, n = Kd(function() {
|
|
@@ -946,10 +950,10 @@ var Hi = Object.create || function(e, t) {
|
|
|
946
950
|
var a = _p(".", "s");
|
|
947
951
|
return !(a.dotAll && a.test(`
|
|
948
952
|
`) && a.flags === "s");
|
|
949
|
-
}), Dp = D,
|
|
950
|
-
var a =
|
|
953
|
+
}), Dp = D, kp = _, Lp = kp.RegExp, jp = Dp(function() {
|
|
954
|
+
var a = Lp("(?<a>b)", "g");
|
|
951
955
|
return a.exec("b").groups.a !== "b" || "b".replace(a, "$<a>c") !== "bc";
|
|
952
|
-
}), et = Y, _r =
|
|
956
|
+
}), et = Y, _r = k, Bp = pe, Fp = Yu, Up = Xu, Gp = Ci, zp = Hi, Hp = wr.get, Yp = Vp, Xp = jp, Wp = Gp("native-string-replace", String.prototype.replace), mr = RegExp.prototype.exec, li = mr, qp = _r("".charAt), Qp = _r("".indexOf), Kp = _r("".replace), Ps = _r("".slice), hi = function() {
|
|
953
957
|
var a = /a/, e = /b*/g;
|
|
954
958
|
return et(mr, a, "a"), et(mr, e, "a"), a.lastIndex !== 0 || e.lastIndex !== 0;
|
|
955
959
|
}(), Ku = Up.BROKEN_CARET, vi = /()??/.exec("")[1] !== void 0, Zp = hi || vi || Ku || Yp || Xp, Rs = function(a, e) {
|
|
@@ -959,7 +963,7 @@ var Hi = Object.create || function(e, t) {
|
|
|
959
963
|
}
|
|
960
964
|
};
|
|
961
965
|
Zp && (li = function(e) {
|
|
962
|
-
var t = this, r = Hp(t), i =
|
|
966
|
+
var t = this, r = Hp(t), i = Bp(e), n = r.raw, o, s, u;
|
|
963
967
|
if (n)
|
|
964
968
|
return n.lastIndex = t.lastIndex, o = et(li, n, i), t.lastIndex = n.lastIndex, o && r.groups && Rs(o, r.groups), o;
|
|
965
969
|
var l = r.groups, h = Ku && t.sticky, f = et(Fp, t), c = t.source, v = 0, g = i;
|
|
@@ -1006,7 +1010,7 @@ var Is = Y, Ms = Ue, ey = Yi, _s = D, Zu = z, ty = At, ry = Zu("species"), Ca =
|
|
|
1006
1010
|
Ms(String.prototype, a, u[0]), Ms(Ca, i, u[1]);
|
|
1007
1011
|
}
|
|
1008
1012
|
r && ty(Ca[i], "sham", !0);
|
|
1009
|
-
}, Wi =
|
|
1013
|
+
}, Wi = k, ay = Cr, iy = pe, ny = ve, sy = Wi("".charAt), Vs = Wi("".charCodeAt), oy = Wi("".slice), uy = function(a) {
|
|
1010
1014
|
return function(e, t) {
|
|
1011
1015
|
var r = iy(ny(e)), i = ay(t), n = r.length, o, s;
|
|
1012
1016
|
return i < 0 || i >= n ? a ? "" : void 0 : (o = Vs(r, i), o < 55296 || o > 56319 || i + 1 === n || (s = Vs(r, i + 1)) < 56320 || s > 57343 ? a ? sy(r, i) : o : a ? oy(r, i, i + 2) : (o - 55296 << 10) + (s - 56320) + 65536);
|
|
@@ -1040,20 +1044,20 @@ var Is = Y, Ms = Ue, ey = Yi, _s = D, Zu = z, ty = At, ry = Zu("species"), Ca =
|
|
|
1040
1044
|
i(o, n[o]);
|
|
1041
1045
|
var s = Object.getOwnPropertyDescriptor(Ds.prototype, "flags").get.call(e);
|
|
1042
1046
|
return s !== r || t !== r;
|
|
1043
|
-
}), gy = { correct: cy }, dy = Y, py = fe, yy = Tr,
|
|
1047
|
+
}), gy = { correct: cy }, dy = Y, py = fe, yy = Tr, ks = gy, my = Yu, by = RegExp.prototype, Vr = ks.correct ? function(a) {
|
|
1044
1048
|
return a.flags;
|
|
1045
1049
|
} : function(a) {
|
|
1046
|
-
return !
|
|
1047
|
-
},
|
|
1050
|
+
return !ks.correct && yy(by, a) && !py(a, "flags") ? dy(my, a) : a.flags;
|
|
1051
|
+
}, Ls = Y, xy = J, Ty = L, Oy = Ce, Sy = Yi, Ey = TypeError, Qi = function(a, e) {
|
|
1048
1052
|
var t = a.exec;
|
|
1049
1053
|
if (Ty(t)) {
|
|
1050
|
-
var r =
|
|
1054
|
+
var r = Ls(t, a, e);
|
|
1051
1055
|
return r !== null && xy(r), r;
|
|
1052
1056
|
}
|
|
1053
1057
|
if (Oy(a) === "RegExp")
|
|
1054
|
-
return
|
|
1058
|
+
return Ls(Sy, a, e);
|
|
1055
1059
|
throw new Ey("RegExp#exec called on incompatible receiver");
|
|
1056
|
-
}, $y = Y, wy =
|
|
1060
|
+
}, $y = Y, wy = k, Cy = Xi, Ay = J, Py = ae, Ry = ut, Jt = pe, Ny = ve, Iy = ot, My = qi, _y = Vr, js = Qi, Aa = wy("".indexOf);
|
|
1057
1061
|
Cy("match", function(a, e, t) {
|
|
1058
1062
|
return [
|
|
1059
1063
|
// `String.prototype.match` method
|
|
@@ -1073,10 +1077,10 @@ Cy("match", function(a, e, t) {
|
|
|
1073
1077
|
return o.value;
|
|
1074
1078
|
var s = Jt(_y(i));
|
|
1075
1079
|
if (!~Aa(s, "g"))
|
|
1076
|
-
return
|
|
1080
|
+
return js(i, n);
|
|
1077
1081
|
var u = !!~Aa(s, "u") || !!~Aa(s, "v");
|
|
1078
1082
|
i.lastIndex = 0;
|
|
1079
|
-
for (var l = [], h = 0, f; (f =
|
|
1083
|
+
for (var l = [], h = 0, f; (f = js(i, n)) !== null; ) {
|
|
1080
1084
|
var c = Jt(f[0]);
|
|
1081
1085
|
l[h] = c, c === "" && (i.lastIndex = My(n, Ry(i.lastIndex), u)), h++;
|
|
1082
1086
|
}
|
|
@@ -1084,9 +1088,9 @@ Cy("match", function(a, e, t) {
|
|
|
1084
1088
|
}
|
|
1085
1089
|
];
|
|
1086
1090
|
});
|
|
1087
|
-
var Ki =
|
|
1088
|
-
var o = t + a.length, s = r.length, u =
|
|
1089
|
-
return i !== void 0 && (i = Vy(i), u =
|
|
1091
|
+
var Ki = k, Vy = Sr, Dy = Math.floor, Pa = Ki("".charAt), ky = Ki("".replace), Ra = Ki("".slice), Ly = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, jy = /\$([$&'`]|\d{1,2})/g, By = function(a, e, t, r, i, n) {
|
|
1092
|
+
var o = t + a.length, s = r.length, u = jy;
|
|
1093
|
+
return i !== void 0 && (i = Vy(i), u = Ly), ky(n, u, function(l, h) {
|
|
1090
1094
|
var f;
|
|
1091
1095
|
switch (Pa(h, 0)) {
|
|
1092
1096
|
case "$":
|
|
@@ -1112,7 +1116,7 @@ var Ki = L, Vy = Sr, Dy = Math.floor, Pa = Ki("".charAt), Ly = Ki("".replace), R
|
|
|
1112
1116
|
}
|
|
1113
1117
|
return f === void 0 ? "" : f;
|
|
1114
1118
|
});
|
|
1115
|
-
}, Fy = xu,
|
|
1119
|
+
}, Fy = xu, Bs = Y, Dr = k, Uy = Xi, Gy = D, zy = J, Hy = L, Yy = ae, Xy = Cr, Wy = ut, _e = pe, qy = ve, Qy = qi, Ky = ot, Zy = By, Jy = Vr, em = Qi, tm = z, fi = tm("replace"), rm = Math.max, am = Math.min, im = Dr([].concat), Na = Dr([].push), We = Dr("".indexOf), Fs = Dr("".slice), nm = function(a) {
|
|
1116
1120
|
return a === void 0 ? a : String(a);
|
|
1117
1121
|
}, sm = function() {
|
|
1118
1122
|
return "a".replace(/./, "$0") === "$0";
|
|
@@ -1132,7 +1136,7 @@ Uy("replace", function(a, e, t) {
|
|
|
1132
1136
|
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
1133
1137
|
function(n, o) {
|
|
1134
1138
|
var s = qy(this), u = Yy(n) ? Ky(n, fi) : void 0;
|
|
1135
|
-
return u ?
|
|
1139
|
+
return u ? Bs(u, n, s, o) : Bs(e, _e(s), n, o);
|
|
1136
1140
|
},
|
|
1137
1141
|
// `RegExp.prototype[@@replace]` method
|
|
1138
1142
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
@@ -1208,31 +1212,31 @@ var Rm = function(a) {
|
|
|
1208
1212
|
function a() {
|
|
1209
1213
|
}
|
|
1210
1214
|
return a.prototype.constructor = null, Object.getPrototypeOf(new a()) !== a.prototype;
|
|
1211
|
-
}), Mm = fe, _m =
|
|
1215
|
+
}), Mm = fe, _m = L, Vm = Sr, Dm = Pi, km = Im, zs = Dm("IE_PROTO"), di = Object, Lm = di.prototype, el = km ? di.getPrototypeOf : function(a) {
|
|
1212
1216
|
var e = Vm(a);
|
|
1213
1217
|
if (Mm(e, zs))
|
|
1214
1218
|
return e[zs];
|
|
1215
1219
|
var t = e.constructor;
|
|
1216
|
-
return _m(t) && e instanceof t ? t.prototype : e instanceof di ?
|
|
1217
|
-
},
|
|
1218
|
-
[].keys && (Ma = [].keys(), "next" in Ma ? (Ia = Hs(Hs(Ma)), Ia !== Object.prototype && (
|
|
1219
|
-
var zm = !Fm(
|
|
1220
|
+
return _m(t) && e instanceof t ? t.prototype : e instanceof di ? Lm : null;
|
|
1221
|
+
}, jm = D, Bm = L, Fm = ae, Hs = el, Um = Ue, Gm = z, pi = Gm("iterator"), tl = !1, je, Ia, Ma;
|
|
1222
|
+
[].keys && (Ma = [].keys(), "next" in Ma ? (Ia = Hs(Hs(Ma)), Ia !== Object.prototype && (je = Ia)) : tl = !0);
|
|
1223
|
+
var zm = !Fm(je) || jm(function() {
|
|
1220
1224
|
var a = {};
|
|
1221
|
-
return
|
|
1225
|
+
return je[pi].call(a) !== a;
|
|
1222
1226
|
});
|
|
1223
|
-
zm && (
|
|
1224
|
-
|
|
1227
|
+
zm && (je = {});
|
|
1228
|
+
Bm(je[pi]) || Um(je, pi, function() {
|
|
1225
1229
|
return this;
|
|
1226
1230
|
});
|
|
1227
1231
|
var rl = {
|
|
1228
|
-
IteratorPrototype:
|
|
1232
|
+
IteratorPrototype: je,
|
|
1229
1233
|
BUGGY_SAFARI_ITERATORS: tl
|
|
1230
1234
|
}, Hm = rl.IteratorPrototype, Ym = Hi, Xm = Si, Wm = Pr, qm = Mr, Qm = function() {
|
|
1231
1235
|
return this;
|
|
1232
1236
|
}, Km = function(a, e, t, r) {
|
|
1233
1237
|
var i = e + " Iterator";
|
|
1234
1238
|
return a.prototype = Ym(Hm, { next: Xm(+!r, t) }), Wm(a, i, !1), qm[i] = Qm, a;
|
|
1235
|
-
}, Zm = ee, Jm = Y, al = $r, e0 =
|
|
1239
|
+
}, Zm = ee, Jm = Y, al = $r, e0 = L, t0 = Km, Ys = el, Xs = vu, r0 = Pr, a0 = At, _a = Ue, i0 = z, n0 = Mr, il = rl, s0 = al.PROPER, o0 = al.CONFIGURABLE, Ws = il.IteratorPrototype, er = il.BUGGY_SAFARI_ITERATORS, gt = i0("iterator"), qs = "keys", dt = "values", Qs = "entries", u0 = function() {
|
|
1236
1240
|
return this;
|
|
1237
1241
|
}, l0 = function(a, e, t, r, i, n, o) {
|
|
1238
1242
|
t0(t, e, r);
|
|
@@ -1336,13 +1340,13 @@ var m0 = {
|
|
|
1336
1340
|
TextTrackCueList: 0,
|
|
1337
1341
|
TextTrackList: 0,
|
|
1338
1342
|
TouchList: 0
|
|
1339
|
-
}, b0 = Er, Va = b0("span").classList, Js = Va && Va.constructor && Va.constructor.prototype, x0 = Js === Object.prototype ? void 0 : Js, eo = _, ol = m0, T0 = x0, yt = y0, to = At, O0 = Pr, S0 = z, Da = S0("iterator"),
|
|
1343
|
+
}, b0 = Er, Va = b0("span").classList, Js = Va && Va.constructor && Va.constructor.prototype, x0 = Js === Object.prototype ? void 0 : Js, eo = _, ol = m0, T0 = x0, yt = y0, to = At, O0 = Pr, S0 = z, Da = S0("iterator"), ka = yt.values, ul = function(a, e) {
|
|
1340
1344
|
if (a) {
|
|
1341
|
-
if (a[Da] !==
|
|
1345
|
+
if (a[Da] !== ka)
|
|
1342
1346
|
try {
|
|
1343
|
-
to(a, Da,
|
|
1347
|
+
to(a, Da, ka);
|
|
1344
1348
|
} catch {
|
|
1345
|
-
a[Da] =
|
|
1349
|
+
a[Da] = ka;
|
|
1346
1350
|
}
|
|
1347
1351
|
if (O0(a, e, !0), ol[e]) {
|
|
1348
1352
|
for (var t in yt)
|
|
@@ -1355,8 +1359,8 @@ var m0 = {
|
|
|
1355
1359
|
}
|
|
1356
1360
|
}
|
|
1357
1361
|
};
|
|
1358
|
-
for (var
|
|
1359
|
-
ul(eo[
|
|
1362
|
+
for (var La in ol)
|
|
1363
|
+
ul(eo[La] && eo[La].prototype, La);
|
|
1360
1364
|
ul(T0, "DOMTokenList");
|
|
1361
1365
|
function E0(a, e) {
|
|
1362
1366
|
if (Xa(a) != "object" || !a)
|
|
@@ -1412,18 +1416,18 @@ var w0 = Ae, C0 = Sr, A0 = Go, P0 = Ii, ro = TypeError, ao = "Reduce of empty ar
|
|
|
1412
1416
|
return 1;
|
|
1413
1417
|
}, 1);
|
|
1414
1418
|
});
|
|
1415
|
-
}, M0 = ee, _0 = N0.left, V0 = ll, io = Ei, D0 = Ar,
|
|
1416
|
-
M0({ target: "Array", proto: !0, forced:
|
|
1419
|
+
}, M0 = ee, _0 = N0.left, V0 = ll, io = Ei, D0 = Ar, k0 = !D0 && io > 79 && io < 83, L0 = k0 || !V0("reduce");
|
|
1420
|
+
M0({ target: "Array", proto: !0, forced: L0 }, {
|
|
1417
1421
|
reduce: function(e) {
|
|
1418
1422
|
var t = arguments.length;
|
|
1419
1423
|
return _0(this, e, t, t > 1 ? arguments[1] : void 0);
|
|
1420
1424
|
}
|
|
1421
1425
|
});
|
|
1422
|
-
var
|
|
1426
|
+
var j0 = ee, B0 = Rr, F0 = $t.f, U0 = ut, no = pe, G0 = Zi, z0 = ve, H0 = Ji, Y0 = B0("".slice), X0 = Math.min, hl = H0("endsWith"), W0 = !hl && !!function() {
|
|
1423
1427
|
var a = F0(String.prototype, "endsWith");
|
|
1424
1428
|
return a && !a.writable;
|
|
1425
1429
|
}();
|
|
1426
|
-
|
|
1430
|
+
j0({ target: "String", proto: !0, forced: !W0 && !hl }, {
|
|
1427
1431
|
endsWith: function(e) {
|
|
1428
1432
|
var t = no(z0(this));
|
|
1429
1433
|
G0(e);
|
|
@@ -1431,7 +1435,7 @@ B0({ target: "String", proto: !0, forced: !W0 && !hl }, {
|
|
|
1431
1435
|
return Y0(t, o - r.length, o) === r;
|
|
1432
1436
|
}
|
|
1433
1437
|
});
|
|
1434
|
-
var
|
|
1438
|
+
var ja = Y, rn = k, q0 = Xi, Q0 = J, K0 = ae, Z0 = ve, J0 = mu, eb = qi, tb = ut, Ba = pe, rb = ot, ab = Vr, so = Qi, ib = Xu, nb = D, qe = ib.UNSUPPORTED_Y, sb = 4294967295, ob = Math.min, Fa = rn([].push), Ua = rn("".slice), rr = rn("".indexOf), ub = !nb(function() {
|
|
1435
1439
|
var a = /(?:)/, e = a.exec;
|
|
1436
1440
|
a.exec = function() {
|
|
1437
1441
|
return e.apply(this, arguments);
|
|
@@ -1443,14 +1447,14 @@ var Ba = Y, rn = L, q0 = Xi, Q0 = J, K0 = ae, Z0 = ve, J0 = mu, eb = qi, tb = ut
|
|
|
1443
1447
|
".".split(/()()/).length > 1 || "".split(/.?/).length;
|
|
1444
1448
|
q0("split", function(a, e, t) {
|
|
1445
1449
|
var r = "0".split(void 0, 0).length ? function(i, n) {
|
|
1446
|
-
return i === void 0 && n === 0 ? [] :
|
|
1450
|
+
return i === void 0 && n === 0 ? [] : ja(e, this, i, n);
|
|
1447
1451
|
} : e;
|
|
1448
1452
|
return [
|
|
1449
1453
|
// `String.prototype.split` method
|
|
1450
1454
|
// https://tc39.es/ecma262/#sec-string.prototype.split
|
|
1451
1455
|
function(n, o) {
|
|
1452
1456
|
var s = Z0(this), u = K0(n) ? rb(n, a) : void 0;
|
|
1453
|
-
return u ?
|
|
1457
|
+
return u ? ja(u, n, s, o) : ja(r, Ba(s), n, o);
|
|
1454
1458
|
},
|
|
1455
1459
|
// `RegExp.prototype[@@split]` method
|
|
1456
1460
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@split
|
|
@@ -1458,13 +1462,13 @@ q0("split", function(a, e, t) {
|
|
|
1458
1462
|
// NOTE: This cannot be properly polyfilled in engines that don't support
|
|
1459
1463
|
// the 'y' flag.
|
|
1460
1464
|
function(i, n) {
|
|
1461
|
-
var o = Q0(this), s =
|
|
1465
|
+
var o = Q0(this), s = Ba(i);
|
|
1462
1466
|
if (!oo) {
|
|
1463
1467
|
var u = t(r, o, s, n, r !== e);
|
|
1464
1468
|
if (u.done)
|
|
1465
1469
|
return u.value;
|
|
1466
1470
|
}
|
|
1467
|
-
var l = J0(o, RegExp), h =
|
|
1471
|
+
var l = J0(o, RegExp), h = Ba(ab(o)), f = !!~rr(h, "u") || !!~rr(h, "v");
|
|
1468
1472
|
qe ? ~rr(h, "g") || (h += "g") : ~rr(h, "y") || (h += "y");
|
|
1469
1473
|
var c = new l(qe ? "^(?:" + o.source + ")" : o, h), v = n === void 0 ? sb : n >>> 0;
|
|
1470
1474
|
if (v === 0)
|
|
@@ -1489,7 +1493,7 @@ q0("split", function(a, e, t) {
|
|
|
1489
1493
|
}
|
|
1490
1494
|
];
|
|
1491
1495
|
}, oo || !ub, qe);
|
|
1492
|
-
var
|
|
1496
|
+
var kr = { exports: {} }, mt = { exports: {} };
|
|
1493
1497
|
(function() {
|
|
1494
1498
|
var a, e, t, r, i, n;
|
|
1495
1499
|
typeof performance < "u" && performance !== null && performance.now ? mt.exports = function() {
|
|
@@ -1537,19 +1541,19 @@ if (!st || !Et) {
|
|
|
1537
1541
|
Ve[e].handle === a && (Ve[e].cancelled = !0);
|
|
1538
1542
|
};
|
|
1539
1543
|
}
|
|
1540
|
-
|
|
1544
|
+
kr.exports = function(a) {
|
|
1541
1545
|
return st.call(be, a);
|
|
1542
1546
|
};
|
|
1543
|
-
|
|
1547
|
+
kr.exports.cancel = function() {
|
|
1544
1548
|
Et.apply(be, arguments);
|
|
1545
1549
|
};
|
|
1546
|
-
|
|
1550
|
+
kr.exports.polyfill = function(a) {
|
|
1547
1551
|
a || (a = be), a.requestAnimationFrame = st, a.cancelAnimationFrame = Et;
|
|
1548
1552
|
};
|
|
1549
|
-
var fb =
|
|
1553
|
+
var fb = kr.exports;
|
|
1550
1554
|
const za = /* @__PURE__ */ Do(fb);
|
|
1551
1555
|
var vl = `
|
|
1552
|
-
\v\f\r \u2028\u2029\uFEFF`, cb =
|
|
1556
|
+
\v\f\r \u2028\u2029\uFEFF`, cb = k, gb = ve, db = pe, yi = vl, lo = cb("".replace), pb = RegExp("^[" + yi + "]+"), yb = RegExp("(^|[^" + yi + "])[" + yi + "]+$"), mb = function(a) {
|
|
1553
1557
|
return function(e) {
|
|
1554
1558
|
var t = db(gb(e));
|
|
1555
1559
|
return a & 1 && (t = lo(t, pb, "")), a & 2 && (t = lo(t, yb, "$1")), t;
|
|
@@ -1806,20 +1810,20 @@ Cb({ target: "Array", proto: !0, forced: Nb }, {
|
|
|
1806
1810
|
return fl ? bi(this, e, t) || 0 : Pb(this, e, t);
|
|
1807
1811
|
}
|
|
1808
1812
|
});
|
|
1809
|
-
var Ib = ee, Mb =
|
|
1813
|
+
var Ib = ee, Mb = k, _b = Zi, Vb = ve, fo = pe, Db = Ji, kb = Mb("".indexOf);
|
|
1810
1814
|
Ib({ target: "String", proto: !0, forced: !Db("includes") }, {
|
|
1811
1815
|
includes: function(e) {
|
|
1812
|
-
return !!~
|
|
1816
|
+
return !!~kb(
|
|
1813
1817
|
fo(Vb(this)),
|
|
1814
1818
|
fo(_b(e)),
|
|
1815
1819
|
arguments.length > 1 ? arguments[1] : void 0
|
|
1816
1820
|
);
|
|
1817
1821
|
}
|
|
1818
1822
|
});
|
|
1819
|
-
var
|
|
1820
|
-
return
|
|
1821
|
-
},
|
|
1822
|
-
|
|
1823
|
+
var Lb = Ce, jb = Array.isArray || function(e) {
|
|
1824
|
+
return Lb(e) === "Array";
|
|
1825
|
+
}, Bb = ee, Fb = k, Ub = jb, Gb = Fb([].reverse), co = [1, 2];
|
|
1826
|
+
Bb({ target: "Array", proto: !0, forced: String(co) === String(co.reverse()) }, {
|
|
1823
1827
|
reverse: function() {
|
|
1824
1828
|
return Ub(this) && (this.length = this.length), Gb(this);
|
|
1825
1829
|
}
|
|
@@ -1985,7 +1989,7 @@ function bo(a, e, t, r, i) {
|
|
|
1985
1989
|
if (O === 0)
|
|
1986
1990
|
delete v.rX, delete v.rY, delete v.xRot, delete v.lArcFlag, delete v.sweepFlag, v.type = m.LINE_TO;
|
|
1987
1991
|
else {
|
|
1988
|
-
var C = v.xRot * Math.PI / 180, P = Math.sin(C), V = Math.cos(C),
|
|
1992
|
+
var C = v.xRot * Math.PI / 180, P = Math.sin(C), V = Math.cos(C), B = 1 / E(v.rX), R = 1 / E(v.rY), X = E(V) * B + E(P) * R, W = 2 * P * V * (B - R), G = E(P) * B + 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);
|
|
1989
1993
|
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;
|
|
1990
1994
|
}
|
|
1991
1995
|
return v.sweepFlag !== void 0 && 0 > O && (v.sweepFlag = +!v.sweepFlag), v;
|
|
@@ -2051,7 +2055,7 @@ function bo(a, e, t, r, i) {
|
|
|
2051
2055
|
var v, g, d, p;
|
|
2052
2056
|
h.cX || Ha(h, f, c);
|
|
2053
2057
|
for (var y = Math.min(h.phi1, h.phi2), T = Math.max(h.phi1, h.phi2) - y, b = Math.ceil(T / 90), x = new Array(b), $ = f, E = c, O = 0; O < b; O++) {
|
|
2054
|
-
var C = po(h.phi1, h.phi2, O / b), P = po(h.phi1, h.phi2, (O + 1) / b), V = P - C,
|
|
2058
|
+
var C = po(h.phi1, h.phi2, O / b), P = po(h.phi1, h.phi2, (O + 1) / b), V = P - C, B = 4 / 3 * Math.tan(V * ye / 4), R = [Math.cos(C * ye) - B * Math.sin(C * ye), Math.sin(C * ye) + B * 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 + B * Math.sin(P * ye), H - B * Math.cos(P * ye)], N = Q[0], M = Q[1];
|
|
2055
2059
|
x[O] = { relative: h.relative, type: m.CURVE_TO };
|
|
2056
2060
|
var K = function(se, ge) {
|
|
2057
2061
|
var Oe = xi([se * h.rX, ge * h.rY], h.xRot), ze = Oe[0], It = Oe[1];
|
|
@@ -2089,7 +2093,7 @@ function bo(a, e, t, r, i) {
|
|
|
2089
2093
|
}
|
|
2090
2094
|
if (d.type & m.ARC) {
|
|
2091
2095
|
p(d.x), y(d.y), Ha(d, v, g);
|
|
2092
|
-
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,
|
|
2096
|
+
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, B = d.phi1 < d.phi2 ? [d.phi1, d.phi2] : -180 > d.phi2 ? [d.phi2 + 360, d.phi1 + 360] : [d.phi2, d.phi1], R = B[0], X = B[1], W = function(M) {
|
|
2093
2097
|
var K = M[0], se = M[1], ge = 180 * Math.atan2(se, K) / Math.PI;
|
|
2094
2098
|
return ge < R ? ge + 360 : ge;
|
|
2095
2099
|
}, G = 0, q = go(P, -O, 0).map(W); G < q.length; G++)
|
|
@@ -2303,7 +2307,7 @@ function s1(a, e, t, r, i, n) {
|
|
|
2303
2307
|
v.next = c;
|
|
2304
2308
|
for (var p = null, y = null, T = 0, b = 0, x = r1[n], $ = a1[n], E = 0; E < i; E++) {
|
|
2305
2309
|
v = c;
|
|
2306
|
-
for (var O = o[b], C = o[b + 1], P = o[b + 2], V = o[b + 3],
|
|
2310
|
+
for (var O = o[b], C = o[b + 1], P = o[b + 2], V = o[b + 3], B = 0; B < h; B++)
|
|
2307
2311
|
v.r = O, v.g = C, v.b = P, v.a = V, v = v.next;
|
|
2308
2312
|
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, Oe = 1; Oe < h; Oe++) {
|
|
2309
2313
|
var ze = b + ((u < Oe ? u : Oe) << 2), It = o[ze], on = o[ze + 1], un = o[ze + 2], ln = o[ze + 3], Mt = h - Oe;
|
|
@@ -2327,19 +2331,19 @@ function s1(a, e, t, r, i, n) {
|
|
|
2327
2331
|
}
|
|
2328
2332
|
for (var He = 0; He < r; He++) {
|
|
2329
2333
|
b = He << 2;
|
|
2330
|
-
var Re = o[b], Ne = o[b + 1], Ie = o[b + 2], te = o[b + 3], Hr = h * Re, Yr = h * Ne, Xr = h * Ie, Wr = h * te, Vt = f * Re, Dt = f * Ne,
|
|
2334
|
+
var Re = o[b], Ne = o[b + 1], Ie = o[b + 2], te = o[b + 3], Hr = h * Re, Yr = h * Ne, Xr = h * Ie, Wr = h * te, Vt = f * Re, Dt = f * Ne, kt = f * Ie, Lt = f * te;
|
|
2331
2335
|
v = c;
|
|
2332
2336
|
for (var gn = 0; gn < h; gn++)
|
|
2333
2337
|
v.r = Re, v.g = Ne, v.b = Ie, v.a = te, v = v.next;
|
|
2334
|
-
for (var dn = r, qr = 0, Qr = 0, Kr = 0, Zr = 0,
|
|
2338
|
+
for (var dn = r, qr = 0, Qr = 0, Kr = 0, Zr = 0, jt = 1; jt <= n; jt++) {
|
|
2335
2339
|
b = dn + He << 2;
|
|
2336
|
-
var
|
|
2337
|
-
Vt += (v.r = Re = o[b]) *
|
|
2340
|
+
var Bt = h - jt;
|
|
2341
|
+
Vt += (v.r = Re = o[b]) * Bt, Dt += (v.g = Ne = o[b + 1]) * Bt, kt += (v.b = Ie = o[b + 2]) * Bt, Lt += (v.a = te = o[b + 3]) * Bt, Zr += Re, qr += Ne, Qr += Ie, Kr += te, v = v.next, jt < l && (dn += r);
|
|
2338
2342
|
}
|
|
2339
2343
|
b = He, p = c, y = g;
|
|
2340
2344
|
for (var Jr = 0; Jr < i; Jr++) {
|
|
2341
2345
|
var re = b << 2;
|
|
2342
|
-
o[re + 3] = te =
|
|
2346
|
+
o[re + 3] = te = Lt * x >>> $, te > 0 ? (te = 255 / te, o[re] = (Vt * x >>> $) * te, o[re + 1] = (Dt * x >>> $) * te, o[re + 2] = (kt * x >>> $) * te) : o[re] = o[re + 1] = o[re + 2] = 0, Vt -= Hr, Dt -= Yr, kt -= Xr, Lt -= Wr, Hr -= p.r, Yr -= p.g, Xr -= p.b, Wr -= p.a, re = He + ((re = Jr + h) < l ? re : l) * r << 2, Vt += Zr += p.r = o[re], Dt += qr += p.g = o[re + 1], kt += Qr += p.b = o[re + 2], Lt += Kr += p.a = o[re + 3], p = p.next, Hr += Re = y.r, Yr += Ne = y.g, Xr += Ie = y.b, Wr += te = y.a, Zr -= Re, qr -= Ne, Qr -= Ie, Kr -= te, y = y.next, b += r;
|
|
2343
2347
|
}
|
|
2344
2348
|
}
|
|
2345
2349
|
return a;
|
|
@@ -2388,7 +2392,7 @@ function u1(a) {
|
|
|
2388
2392
|
createImage: t.loadImage
|
|
2389
2393
|
};
|
|
2390
2394
|
}
|
|
2391
|
-
var
|
|
2395
|
+
var L2 = /* @__PURE__ */ Object.freeze({
|
|
2392
2396
|
__proto__: null,
|
|
2393
2397
|
offscreen: o1,
|
|
2394
2398
|
node: u1
|
|
@@ -2672,21 +2676,21 @@ class O1 {
|
|
|
2672
2676
|
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);
|
|
2673
2677
|
}
|
|
2674
2678
|
}
|
|
2675
|
-
class
|
|
2679
|
+
class j {
|
|
2676
2680
|
constructor(e, t) {
|
|
2677
2681
|
this.x = e, this.y = t;
|
|
2678
2682
|
}
|
|
2679
2683
|
static parse(e) {
|
|
2680
2684
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, [r = t, i = t] = ne(e);
|
|
2681
|
-
return new
|
|
2685
|
+
return new j(r, i);
|
|
2682
2686
|
}
|
|
2683
2687
|
static parseScale(e) {
|
|
2684
2688
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, [r = t, i = r] = ne(e);
|
|
2685
|
-
return new
|
|
2689
|
+
return new j(r, i);
|
|
2686
2690
|
}
|
|
2687
2691
|
static parsePath(e) {
|
|
2688
2692
|
for (var t = ne(e), r = t.length, i = [], n = 0; n < r; n += 2)
|
|
2689
|
-
i.push(new
|
|
2693
|
+
i.push(new j(t[n], t[n + 1]));
|
|
2690
2694
|
return i;
|
|
2691
2695
|
}
|
|
2692
2696
|
angleTo(e) {
|
|
@@ -2777,7 +2781,7 @@ class S1 {
|
|
|
2777
2781
|
for (var {
|
|
2778
2782
|
window: r,
|
|
2779
2783
|
ctx: i
|
|
2780
|
-
} = this.screen, n = new
|
|
2784
|
+
} = this.screen, n = new j(e, t), o = i.canvas; o; )
|
|
2781
2785
|
n.x -= o.offsetLeft, n.y -= o.offsetTop, o = o.offsetParent;
|
|
2782
2786
|
return r.scrollX && (n.x += r.scrollX), r.scrollY && (n.y += r.scrollY), n;
|
|
2783
2787
|
}
|
|
@@ -2811,7 +2815,7 @@ class S1 {
|
|
|
2811
2815
|
}
|
|
2812
2816
|
}
|
|
2813
2817
|
var bl = typeof window < "u" ? window : null, xl = typeof fetch < "u" ? fetch.bind(void 0) : null;
|
|
2814
|
-
class
|
|
2818
|
+
class Lr {
|
|
2815
2819
|
constructor(e) {
|
|
2816
2820
|
var {
|
|
2817
2821
|
fetch: t = xl,
|
|
@@ -2852,8 +2856,8 @@ class kr {
|
|
|
2852
2856
|
clipY: d = 0
|
|
2853
2857
|
} = e, p = ht(i).replace(/^defer\s/, ""), [y, T] = p.split(" "), b = y || "xMidYMid", x = T || "meet", $ = n / o, E = s / u, O = Math.min($, E), C = Math.max($, E), P = o, V = u;
|
|
2854
2858
|
x === "meet" && (P *= O, V *= O), x === "slice" && (P *= C, V *= C);
|
|
2855
|
-
var
|
|
2856
|
-
if (X && r.translate(-O *
|
|
2859
|
+
var B = new S(t, "refX", f), R = new S(t, "refY", c), X = B.hasValue() && R.hasValue();
|
|
2860
|
+
if (X && r.translate(-O * B.getPixels("x"), -O * R.getPixels("y")), v) {
|
|
2857
2861
|
var W = O * g, G = O * d;
|
|
2858
2862
|
r.beginPath(), r.moveTo(W, G), r.lineTo(n, G), r.lineTo(n, s), r.lineTo(W, s), r.closePath(), r.clip();
|
|
2859
2863
|
}
|
|
@@ -2941,11 +2945,11 @@ class kr {
|
|
|
2941
2945
|
r || f.clearRect(0, 0, p, y), e.render(f), c && (this.isFirstRender = !1);
|
|
2942
2946
|
}
|
|
2943
2947
|
}
|
|
2944
|
-
|
|
2945
|
-
|
|
2948
|
+
Lr.defaultWindow = bl;
|
|
2949
|
+
Lr.defaultFetch = xl;
|
|
2946
2950
|
var {
|
|
2947
2951
|
defaultFetch: E1
|
|
2948
|
-
} =
|
|
2952
|
+
} = Lr, $1 = typeof DOMParser < "u" ? DOMParser : null;
|
|
2949
2953
|
class Ya {
|
|
2950
2954
|
constructor() {
|
|
2951
2955
|
var {
|
|
@@ -2984,7 +2988,7 @@ class Ya {
|
|
|
2984
2988
|
}
|
|
2985
2989
|
class w1 {
|
|
2986
2990
|
constructor(e, t) {
|
|
2987
|
-
this.type = "translate", this.point = null, this.point =
|
|
2991
|
+
this.type = "translate", this.point = null, this.point = j.parse(t);
|
|
2988
2992
|
}
|
|
2989
2993
|
apply(e) {
|
|
2990
2994
|
var {
|
|
@@ -3062,7 +3066,7 @@ class C1 {
|
|
|
3062
3066
|
class A1 {
|
|
3063
3067
|
constructor(e, t, r) {
|
|
3064
3068
|
this.type = "scale", this.scale = null, this.originX = null, this.originY = null;
|
|
3065
|
-
var i =
|
|
3069
|
+
var i = j.parseScale(t);
|
|
3066
3070
|
(i.x === 0 || i.y === 0) && (i.x = at, i.y = at), this.scale = i, this.originX = r[0], this.originY = r[1];
|
|
3067
3071
|
}
|
|
3068
3072
|
apply(e) {
|
|
@@ -3141,20 +3145,20 @@ function I1(a) {
|
|
|
3141
3145
|
var [e, t] = a.split("(");
|
|
3142
3146
|
return [e.trim(), t.trim().replace(")", "")];
|
|
3143
3147
|
}
|
|
3144
|
-
class
|
|
3148
|
+
class Be {
|
|
3145
3149
|
constructor(e, t, r) {
|
|
3146
3150
|
this.document = e, this.transforms = [];
|
|
3147
3151
|
var i = N1(t);
|
|
3148
3152
|
i.forEach((n) => {
|
|
3149
3153
|
if (n !== "none") {
|
|
3150
|
-
var [o, s] = I1(n), u =
|
|
3154
|
+
var [o, s] = I1(n), u = Be.transformTypes[o];
|
|
3151
3155
|
typeof u < "u" && this.transforms.push(new u(this.document, s, r));
|
|
3152
3156
|
}
|
|
3153
3157
|
});
|
|
3154
3158
|
}
|
|
3155
3159
|
static fromElement(e, t) {
|
|
3156
3160
|
var r = t.getStyle("transform", !1, !0), [i, n = i] = t.getStyle("transform-origin", !1, !0).split(), o = [i, n];
|
|
3157
|
-
return r.hasValue() ? new
|
|
3161
|
+
return r.hasValue() ? new Be(e, r.getString(), o) : null;
|
|
3158
3162
|
}
|
|
3159
3163
|
apply(e) {
|
|
3160
3164
|
for (var {
|
|
@@ -3176,7 +3180,7 @@ class je {
|
|
|
3176
3180
|
t[i].applyToPoint(e);
|
|
3177
3181
|
}
|
|
3178
3182
|
}
|
|
3179
|
-
|
|
3183
|
+
Be.transformTypes = {
|
|
3180
3184
|
translate: w1,
|
|
3181
3185
|
rotate: C1,
|
|
3182
3186
|
scale: A1,
|
|
@@ -3266,7 +3270,7 @@ class I {
|
|
|
3266
3270
|
setContext(e) {
|
|
3267
3271
|
}
|
|
3268
3272
|
applyEffects(e) {
|
|
3269
|
-
var t =
|
|
3273
|
+
var t = Be.fromElement(this.document, this);
|
|
3270
3274
|
t && t.apply(e);
|
|
3271
3275
|
var r = this.getStyle("clip-path", !1, !0);
|
|
3272
3276
|
if (r.hasValue()) {
|
|
@@ -3359,7 +3363,7 @@ function D1(a) {
|
|
|
3359
3363
|
return /^oblique\s+(-|)\d+deg$/.test(e) ? e : "";
|
|
3360
3364
|
}
|
|
3361
3365
|
}
|
|
3362
|
-
function
|
|
3366
|
+
function k1(a) {
|
|
3363
3367
|
if (!a)
|
|
3364
3368
|
return "";
|
|
3365
3369
|
var e = a.trim().toLowerCase();
|
|
@@ -3411,7 +3415,7 @@ class Z {
|
|
|
3411
3415
|
return [
|
|
3412
3416
|
D1(this.fontStyle),
|
|
3413
3417
|
this.fontVariant,
|
|
3414
|
-
|
|
3418
|
+
k1(this.fontWeight),
|
|
3415
3419
|
this.fontSize,
|
|
3416
3420
|
// Wrap fontFamily only on nodejs and only for canvas.ctx
|
|
3417
3421
|
V1(this.fontFamily)
|
|
@@ -3501,7 +3505,7 @@ class w extends m {
|
|
|
3501
3505
|
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 = [];
|
|
3502
3506
|
}
|
|
3503
3507
|
reset() {
|
|
3504
|
-
this.i = -1, this.command = null, this.previousCommand = null, this.start = new
|
|
3508
|
+
this.i = -1, this.command = null, this.previousCommand = null, this.start = new j(0, 0), this.control = new j(0, 0), this.current = new j(0, 0), this.points = [], this.angles = [];
|
|
3505
3509
|
}
|
|
3506
3510
|
isEnd() {
|
|
3507
3511
|
var {
|
|
@@ -3515,7 +3519,7 @@ class w extends m {
|
|
|
3515
3519
|
return this.previousCommand = this.command, this.command = e, e;
|
|
3516
3520
|
}
|
|
3517
3521
|
getPoint() {
|
|
3518
|
-
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
|
|
3522
|
+
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 j(this.command[e], this.command[t]);
|
|
3519
3523
|
return this.makeAbsolute(r);
|
|
3520
3524
|
}
|
|
3521
3525
|
getAsControlPoint(e, t) {
|
|
@@ -3539,7 +3543,7 @@ class w extends m {
|
|
|
3539
3543
|
x: i,
|
|
3540
3544
|
y: n
|
|
3541
3545
|
}
|
|
3542
|
-
} = this, o = new
|
|
3546
|
+
} = this, o = new j(2 * t - i, 2 * r - n);
|
|
3543
3547
|
return o;
|
|
3544
3548
|
}
|
|
3545
3549
|
makeAbsolute(e) {
|
|
@@ -3632,8 +3636,8 @@ class Ge extends I {
|
|
|
3632
3636
|
}
|
|
3633
3637
|
}
|
|
3634
3638
|
if (this.modifiedEmSizeStack = !1, typeof e.font < "u") {
|
|
3635
|
-
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"),
|
|
3636
|
-
O.setValue(R.fontStyle), C.setValue(R.fontVariant), P.setValue(R.fontWeight), V.setValue(R.fontSize),
|
|
3639
|
+
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"), B = this.getStyle("font-family"), R = new Z(O.getString(), C.getString(), P.getString(), V.hasValue() ? "".concat(V.getPixels(!0), "px") : "", B.getString(), Z.parse(E.getString(), e.font));
|
|
3640
|
+
O.setValue(R.fontStyle), C.setValue(R.fontVariant), P.setValue(R.fontWeight), V.setValue(R.fontSize), B.setValue(R.fontFamily), e.font = R.toString(), V.isPixels() && (this.document.emSize = V.getPixels(), this.modifiedEmSizeStack = !0);
|
|
3637
3641
|
}
|
|
3638
3642
|
t || (this.applyEffects(e), e.globalAlpha = this.calculateOpacity());
|
|
3639
3643
|
}
|
|
@@ -3757,7 +3761,7 @@ class A extends Ge {
|
|
|
3757
3761
|
var {
|
|
3758
3762
|
current: t,
|
|
3759
3763
|
command: r
|
|
3760
|
-
} = e, i = new
|
|
3764
|
+
} = e, i = new j((r.relative ? t.x : 0) + r.x, t.y);
|
|
3761
3765
|
return e.current = i, {
|
|
3762
3766
|
current: t,
|
|
3763
3767
|
point: i
|
|
@@ -3779,7 +3783,7 @@ class A extends Ge {
|
|
|
3779
3783
|
var {
|
|
3780
3784
|
current: t,
|
|
3781
3785
|
command: r
|
|
3782
|
-
} = e, i = new
|
|
3786
|
+
} = e, i = new j(t.x, (r.relative ? t.y : 0) + r.y);
|
|
3783
3787
|
return e.current = i, {
|
|
3784
3788
|
current: t,
|
|
3785
3789
|
point: i
|
|
@@ -3893,11 +3897,11 @@ class A extends Ge {
|
|
|
3893
3897
|
xRot: o,
|
|
3894
3898
|
lArcFlag: s,
|
|
3895
3899
|
sweepFlag: u
|
|
3896
|
-
} = r, l = o * (Math.PI / 180), h = e.getAsCurrentPoint(), f = new
|
|
3900
|
+
} = r, l = o * (Math.PI / 180), h = e.getAsCurrentPoint(), f = new j(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);
|
|
3897
3901
|
c > 1 && (i *= Math.sqrt(c), n *= Math.sqrt(c));
|
|
3898
3902
|
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)));
|
|
3899
3903
|
isNaN(v) && (v = 0);
|
|
3900
|
-
var g = new
|
|
3904
|
+
var g = new j(v * i * f.y / n, v * -n * f.x / i), d = new j((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 = Eo([1, 0], [(f.x - g.x) / i, (f.y - g.y) / n]), y = [(f.x - g.x) / i, (f.y - g.y) / n], T = [(-f.x - g.x) / i, (-f.y - g.y) / n], b = Eo(y, T);
|
|
3901
3905
|
return Ti(y, T) <= -1 && (b = Math.PI), Ti(y, T) >= 1 && (b = 0), {
|
|
3902
3906
|
currentPoint: h,
|
|
3903
3907
|
rX: i,
|
|
@@ -3921,7 +3925,7 @@ class A extends Ge {
|
|
|
3921
3925
|
centp: l,
|
|
3922
3926
|
a1: h,
|
|
3923
3927
|
ad: f
|
|
3924
|
-
} = A.pathA(r), c = 1 - s ? 1 : -1, v = h + c * (f / 2), g = new
|
|
3928
|
+
} = A.pathA(r), c = 1 - s ? 1 : -1, v = h + c * (f / 2), g = new j(l.x + n * Math.cos(v), l.y + o * Math.sin(v));
|
|
3925
3929
|
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)) {
|
|
3926
3930
|
var d = n > o ? n : o, p = n > o ? 1 : n / o, y = n > o ? o / n : 1;
|
|
3927
3931
|
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);
|
|
@@ -4123,15 +4127,15 @@ class we extends Ge {
|
|
|
4123
4127
|
return null;
|
|
4124
4128
|
}
|
|
4125
4129
|
}
|
|
4126
|
-
class
|
|
4130
|
+
class jr extends we {
|
|
4127
4131
|
constructor(e, t, r) {
|
|
4128
|
-
super(e, t, new.target ===
|
|
4132
|
+
super(e, t, new.target === jr ? !0 : r), this.type = "tspan", this.text = this.children.length > 0 ? "" : this.getTextFromNode();
|
|
4129
4133
|
}
|
|
4130
4134
|
getText() {
|
|
4131
4135
|
return this.text;
|
|
4132
4136
|
}
|
|
4133
4137
|
}
|
|
4134
|
-
class
|
|
4138
|
+
class L1 extends jr {
|
|
4135
4139
|
constructor() {
|
|
4136
4140
|
super(...arguments), this.type = "textNode";
|
|
4137
4141
|
}
|
|
@@ -4215,7 +4219,7 @@ class El extends A {
|
|
|
4215
4219
|
return null;
|
|
4216
4220
|
}
|
|
4217
4221
|
}
|
|
4218
|
-
class
|
|
4222
|
+
class j1 extends A {
|
|
4219
4223
|
constructor() {
|
|
4220
4224
|
super(...arguments), this.type = "circle";
|
|
4221
4225
|
}
|
|
@@ -4227,7 +4231,7 @@ class B1 extends A {
|
|
|
4227
4231
|
return null;
|
|
4228
4232
|
}
|
|
4229
4233
|
}
|
|
4230
|
-
class
|
|
4234
|
+
class B1 extends A {
|
|
4231
4235
|
constructor() {
|
|
4232
4236
|
super(...arguments), this.type = "ellipse";
|
|
4233
4237
|
}
|
|
@@ -4244,7 +4248,7 @@ class F1 extends A {
|
|
|
4244
4248
|
super(...arguments), this.type = "line";
|
|
4245
4249
|
}
|
|
4246
4250
|
getPoints() {
|
|
4247
|
-
return [new
|
|
4251
|
+
return [new j(this.getAttribute("x1").getPixels("x"), this.getAttribute("y1").getPixels("y")), new j(this.getAttribute("x2").getPixels("x"), this.getAttribute("y2").getPixels("y"))];
|
|
4248
4252
|
}
|
|
4249
4253
|
path(e) {
|
|
4250
4254
|
var [{
|
|
@@ -4263,7 +4267,7 @@ class F1 extends A {
|
|
|
4263
4267
|
}
|
|
4264
4268
|
class $l extends A {
|
|
4265
4269
|
constructor(e, t, r) {
|
|
4266
|
-
super(e, t, r), this.type = "polyline", this.points = [], this.points =
|
|
4270
|
+
super(e, t, r), this.type = "polyline", this.points = [], this.points = j.parsePath(this.getAttribute("points").getString());
|
|
4267
4271
|
}
|
|
4268
4272
|
path(e) {
|
|
4269
4273
|
var {
|
|
@@ -5227,7 +5231,7 @@ class o2 extends Ge {
|
|
|
5227
5231
|
document: e,
|
|
5228
5232
|
element: t
|
|
5229
5233
|
} = this;
|
|
5230
|
-
return
|
|
5234
|
+
return Be.fromElement(e, t);
|
|
5231
5235
|
}
|
|
5232
5236
|
get element() {
|
|
5233
5237
|
return this.cachedElement || (this.cachedElement = this.getHrefAttribute().getDefinition()), this.cachedElement;
|
|
@@ -5279,7 +5283,7 @@ class Al extends I {
|
|
|
5279
5283
|
e.clearRect(0, 0, i, n), e.putImageData(u, 0, 0);
|
|
5280
5284
|
}
|
|
5281
5285
|
}
|
|
5282
|
-
class
|
|
5286
|
+
class Br extends I {
|
|
5283
5287
|
constructor() {
|
|
5284
5288
|
super(...arguments), this.type = "mask";
|
|
5285
5289
|
}
|
|
@@ -5293,7 +5297,7 @@ class jr extends I {
|
|
|
5293
5297
|
u.addBoundingBox(g.getBoundingBox(e));
|
|
5294
5298
|
}), i = Math.floor(u.x1), n = Math.floor(u.y1), o = Math.floor(u.width), s = Math.floor(u.height);
|
|
5295
5299
|
}
|
|
5296
|
-
var l = this.removeStyles(t,
|
|
5300
|
+
var l = this.removeStyles(t, Br.ignoreStyles), h = r.createCanvas(i + o, n + s), f = h.getContext("2d");
|
|
5297
5301
|
r.screen.setDefaults(f), this.renderChildren(f), new Al(r, {
|
|
5298
5302
|
nodeType: 1,
|
|
5299
5303
|
childNodes: [],
|
|
@@ -5311,7 +5315,7 @@ class jr extends I {
|
|
|
5311
5315
|
render(e) {
|
|
5312
5316
|
}
|
|
5313
5317
|
}
|
|
5314
|
-
|
|
5318
|
+
Br.ignoreStyles = ["mask", "transform", "clip-path"];
|
|
5315
5319
|
var Mo = () => {
|
|
5316
5320
|
};
|
|
5317
5321
|
class u2 extends I {
|
|
@@ -5328,7 +5332,7 @@ class u2 extends I {
|
|
|
5328
5332
|
r && (r.beginPath = Mo, r.closePath = Mo), Reflect.apply(i, e, []), this.children.forEach((o) => {
|
|
5329
5333
|
if (!(typeof o.path > "u")) {
|
|
5330
5334
|
var s = typeof o.elementTransform < "u" ? o.elementTransform() : null;
|
|
5331
|
-
s || (s =
|
|
5335
|
+
s || (s = Be.fromElement(t, o)), s && s.apply(e), o.path(e), r && (r.closePath = n), s && s.unapply(e);
|
|
5332
5336
|
}
|
|
5333
5337
|
}), Reflect.apply(n, e, []), e.clip(), r && (r.beginPath = i, r.closePath = n);
|
|
5334
5338
|
}
|
|
@@ -5409,8 +5413,8 @@ class g2 extends I {
|
|
|
5409
5413
|
var d2 = {
|
|
5410
5414
|
svg: Nt,
|
|
5411
5415
|
rect: El,
|
|
5412
|
-
circle:
|
|
5413
|
-
ellipse:
|
|
5416
|
+
circle: j1,
|
|
5417
|
+
ellipse: B1,
|
|
5414
5418
|
line: F1,
|
|
5415
5419
|
polyline: $l,
|
|
5416
5420
|
polygon: U1,
|
|
@@ -5429,7 +5433,7 @@ var d2 = {
|
|
|
5429
5433
|
"missing-glyph": J1,
|
|
5430
5434
|
glyph: Sl,
|
|
5431
5435
|
text: we,
|
|
5432
|
-
tspan:
|
|
5436
|
+
tspan: jr,
|
|
5433
5437
|
tref: e2,
|
|
5434
5438
|
a: t2,
|
|
5435
5439
|
textPath: r2,
|
|
@@ -5438,7 +5442,7 @@ var d2 = {
|
|
|
5438
5442
|
symbol: n2,
|
|
5439
5443
|
style: Cl,
|
|
5440
5444
|
use: o2,
|
|
5441
|
-
mask:
|
|
5445
|
+
mask: Br,
|
|
5442
5446
|
clipPath: u2,
|
|
5443
5447
|
filter: Fr,
|
|
5444
5448
|
feDropShadow: l2,
|
|
@@ -5548,7 +5552,7 @@ class Ee {
|
|
|
5548
5552
|
return typeof r < "u" ? new r(this, e) : new M1(this, e);
|
|
5549
5553
|
}
|
|
5550
5554
|
createTextNode(e) {
|
|
5551
|
-
return new
|
|
5555
|
+
return new L1(this, e);
|
|
5552
5556
|
}
|
|
5553
5557
|
setViewBox(e) {
|
|
5554
5558
|
this.screen.setViewBox(p2({
|
|
@@ -5569,7 +5573,7 @@ function Vo(a, e) {
|
|
|
5569
5573
|
}
|
|
5570
5574
|
return t;
|
|
5571
5575
|
}
|
|
5572
|
-
function
|
|
5576
|
+
function ke(a) {
|
|
5573
5577
|
for (var e = 1; e < arguments.length; e++) {
|
|
5574
5578
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
5575
5579
|
e % 2 ? Vo(Object(t), !0).forEach(function(r) {
|
|
@@ -5589,7 +5593,7 @@ class bt {
|
|
|
5589
5593
|
*/
|
|
5590
5594
|
constructor(e, t) {
|
|
5591
5595
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
5592
|
-
this.parser = new Ya(r), this.screen = new
|
|
5596
|
+
this.parser = new Ya(r), this.screen = new Lr(e, r), this.options = r;
|
|
5593
5597
|
var i = new Ee(this, r), n = i.createDocumentElement(t);
|
|
5594
5598
|
this.document = i, this.documentElement = n;
|
|
5595
5599
|
}
|
|
@@ -5627,7 +5631,7 @@ class bt {
|
|
|
5627
5631
|
*/
|
|
5628
5632
|
fork(e, t) {
|
|
5629
5633
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
5630
|
-
return bt.from(e, t,
|
|
5634
|
+
return bt.from(e, t, ke(ke({}, this.options), r));
|
|
5631
5635
|
}
|
|
5632
5636
|
/**
|
|
5633
5637
|
* Create new Canvg instance with inherited options.
|
|
@@ -5638,7 +5642,7 @@ class bt {
|
|
|
5638
5642
|
*/
|
|
5639
5643
|
forkString(e, t) {
|
|
5640
5644
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
5641
|
-
return bt.fromString(e, t,
|
|
5645
|
+
return bt.fromString(e, t, ke(ke({}, this.options), r));
|
|
5642
5646
|
}
|
|
5643
5647
|
/**
|
|
5644
5648
|
* Document is ready promise.
|
|
@@ -5662,7 +5666,7 @@ class bt {
|
|
|
5662
5666
|
var e = arguments, t = this;
|
|
5663
5667
|
return xe(function* () {
|
|
5664
5668
|
var r = e.length > 0 && e[0] !== void 0 ? e[0] : {};
|
|
5665
|
-
t.start(
|
|
5669
|
+
t.start(ke({
|
|
5666
5670
|
enableRedraw: !0,
|
|
5667
5671
|
ignoreAnimation: !0,
|
|
5668
5672
|
ignoreMouse: !0
|
|
@@ -5679,7 +5683,7 @@ class bt {
|
|
|
5679
5683
|
screen: r,
|
|
5680
5684
|
options: i
|
|
5681
5685
|
} = this;
|
|
5682
|
-
r.start(t,
|
|
5686
|
+
r.start(t, ke(ke({
|
|
5683
5687
|
enableRedraw: !0
|
|
5684
5688
|
}, i), e));
|
|
5685
5689
|
}
|
|
@@ -5711,13 +5715,13 @@ export {
|
|
|
5711
5715
|
Co as CB3,
|
|
5712
5716
|
Ao as CB4,
|
|
5713
5717
|
bt as Canvg,
|
|
5714
|
-
|
|
5718
|
+
j1 as CircleElement,
|
|
5715
5719
|
u2 as ClipPathElement,
|
|
5716
5720
|
H1 as DefsElement,
|
|
5717
5721
|
g2 as DescElement,
|
|
5718
5722
|
Ee as Document,
|
|
5719
5723
|
I as Element,
|
|
5720
|
-
|
|
5724
|
+
B1 as EllipseElement,
|
|
5721
5725
|
Al as FeColorMatrixElement,
|
|
5722
5726
|
v2 as FeCompositeElement,
|
|
5723
5727
|
l2 as FeDropShadowElement,
|
|
@@ -5734,7 +5738,7 @@ export {
|
|
|
5734
5738
|
F1 as LineElement,
|
|
5735
5739
|
Y1 as LinearGradientElement,
|
|
5736
5740
|
z1 as MarkerElement,
|
|
5737
|
-
|
|
5741
|
+
Br as MaskElement,
|
|
5738
5742
|
Tl as Matrix,
|
|
5739
5743
|
J1 as MissingGlyphElement,
|
|
5740
5744
|
S1 as Mouse,
|
|
@@ -5743,7 +5747,7 @@ export {
|
|
|
5743
5747
|
A as PathElement,
|
|
5744
5748
|
w as PathParser,
|
|
5745
5749
|
G1 as PatternElement,
|
|
5746
|
-
|
|
5750
|
+
j as Point,
|
|
5747
5751
|
U1 as PolygonElement,
|
|
5748
5752
|
$l as PolylineElement,
|
|
5749
5753
|
S as Property,
|
|
@@ -5757,7 +5761,7 @@ export {
|
|
|
5757
5761
|
Nt as SVGElement,
|
|
5758
5762
|
s2 as SVGFontLoader,
|
|
5759
5763
|
A1 as Scale,
|
|
5760
|
-
|
|
5764
|
+
Lr as Screen,
|
|
5761
5765
|
Ol as Skew,
|
|
5762
5766
|
P1 as SkewX,
|
|
5763
5767
|
R1 as SkewY,
|
|
@@ -5765,11 +5769,11 @@ export {
|
|
|
5765
5769
|
Cl as StyleElement,
|
|
5766
5770
|
n2 as SymbolElement,
|
|
5767
5771
|
e2 as TRefElement,
|
|
5768
|
-
|
|
5772
|
+
jr as TSpanElement,
|
|
5769
5773
|
we as TextElement,
|
|
5770
5774
|
r2 as TextPathElement,
|
|
5771
5775
|
c2 as TitleElement,
|
|
5772
|
-
|
|
5776
|
+
Be as Transform,
|
|
5773
5777
|
w1 as Translate,
|
|
5774
5778
|
M1 as UnknownElement,
|
|
5775
5779
|
o2 as UseElement,
|
|
@@ -5780,7 +5784,7 @@ export {
|
|
|
5780
5784
|
f1 as normalizeAttributeName,
|
|
5781
5785
|
c1 as normalizeColor,
|
|
5782
5786
|
ml as parseExternalUrl,
|
|
5783
|
-
|
|
5787
|
+
L2 as presets,
|
|
5784
5788
|
ne as toNumbers,
|
|
5785
5789
|
l1 as trimLeft,
|
|
5786
5790
|
h1 as trimRight,
|