@sl-material/sl-table-sheet 1.0.0-beta7 → 1.0.0-beta8
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/config/config.d.ts +2 -1
- package/core/styles/toolbar.d.ts +1 -1
- package/package.json +1 -1
- package/sl-table-sheet.cjs.js +31 -37
- package/sl-table-sheet.es.js +322 -329
- package/sl-table-sheet.umd.umd.js +40 -46
package/sl-table-sheet.es.js
CHANGED
|
@@ -27654,12 +27654,12 @@ function ZM(r, e, t, i, n) {
|
|
|
27654
27654
|
y: s
|
|
27655
27655
|
};
|
|
27656
27656
|
}
|
|
27657
|
-
let Ei = class
|
|
27657
|
+
let Ei = class e4 {
|
|
27658
27658
|
constructor(e = 0, t = 0, i, n) {
|
|
27659
27659
|
this.x = 0, this.y = 0, this.x = e, this.y = t, this.x1 = i, this.y1 = n;
|
|
27660
27660
|
}
|
|
27661
27661
|
clone() {
|
|
27662
|
-
return new
|
|
27662
|
+
return new e4(this.x, this.y);
|
|
27663
27663
|
}
|
|
27664
27664
|
copyFrom(e) {
|
|
27665
27665
|
return this.x = e.x, this.y = e.y, this.x1 = e.x1, this.y1 = e.y1, this.defined = e.defined, this.context = e.context, this;
|
|
@@ -27798,7 +27798,7 @@ const tk = (r) => {
|
|
|
27798
27798
|
let e = r.charCodeAt(0), t = r.length === 2 ? r.charCodeAt(1) : 0, i = e;
|
|
27799
27799
|
return 55296 <= e && e <= 56319 && 56320 <= t && t <= 57343 && (e &= 1023, t &= 1023, i = e << 10 | t, i += 65536), i === 12288 || 65281 <= i && i <= 65376 || 65504 <= i && i <= 65510 ? "F" : i === 8361 || 65377 <= i && i <= 65470 || 65474 <= i && i <= 65479 || 65482 <= i && i <= 65487 || 65490 <= i && i <= 65495 || 65498 <= i && i <= 65500 || 65512 <= i && i <= 65518 ? "H" : 4352 <= i && i <= 4447 || 4515 <= i && i <= 4519 || 4602 <= i && i <= 4607 || 9001 <= i && i <= 9002 || 11904 <= i && i <= 11929 || 11931 <= i && i <= 12019 || 12032 <= i && i <= 12245 || 12272 <= i && i <= 12283 || 12289 <= i && i <= 12350 || 12353 <= i && i <= 12438 || 12441 <= i && i <= 12543 || 12549 <= i && i <= 12589 || 12593 <= i && i <= 12686 || 12688 <= i && i <= 12730 || 12736 <= i && i <= 12771 || 12784 <= i && i <= 12830 || 12832 <= i && i <= 12871 || 12880 <= i && i <= 13054 || 13056 <= i && i <= 19903 || 19968 <= i && i <= 42124 || 42128 <= i && i <= 42182 || 43360 <= i && i <= 43388 || 44032 <= i && i <= 55203 || 55216 <= i && i <= 55238 || 55243 <= i && i <= 55291 || 63744 <= i && i <= 64255 || 65040 <= i && i <= 65049 || 65072 <= i && i <= 65106 || 65108 <= i && i <= 65126 || 65128 <= i && i <= 65131 || 110592 <= i && i <= 110593 || 127488 <= i && i <= 127490 || 127504 <= i && i <= 127546 || 127552 <= i && i <= 127560 || 127568 <= i && i <= 127569 || 131072 <= i && i <= 194367 || 177984 <= i && i <= 196605 || 196608 <= i && i <= 262141 ? "W" : 32 <= i && i <= 126 || 162 <= i && i <= 163 || 165 <= i && i <= 166 || i === 172 || i === 175 || 10214 <= i && i <= 10221 || 10629 <= i && i <= 10630 ? "Na" : i === 161 || i === 164 || 167 <= i && i <= 168 || i === 170 || 173 <= i && i <= 174 || 176 <= i && i <= 180 || 182 <= i && i <= 186 || 188 <= i && i <= 191 || i === 198 || i === 208 || 215 <= i && i <= 216 || 222 <= i && i <= 225 || i === 230 || 232 <= i && i <= 234 || 236 <= i && i <= 237 || i === 240 || 242 <= i && i <= 243 || 247 <= i && i <= 250 || i === 252 || i === 254 || i === 257 || i === 273 || i === 275 || i === 283 || 294 <= i && i <= 295 || i === 299 || 305 <= i && i <= 307 || i === 312 || 319 <= i && i <= 322 || i === 324 || 328 <= i && i <= 331 || i === 333 || 338 <= i && i <= 339 || 358 <= i && i <= 359 || i === 363 || i === 462 || i === 464 || i === 466 || i === 468 || i === 470 || i === 472 || i === 474 || i === 476 || i === 593 || i === 609 || i === 708 || i === 711 || 713 <= i && i <= 715 || i === 717 || i === 720 || 728 <= i && i <= 731 || i === 733 || i === 735 || 768 <= i && i <= 879 || 913 <= i && i <= 929 || 931 <= i && i <= 937 || 945 <= i && i <= 961 || 963 <= i && i <= 969 || i === 1025 || 1040 <= i && i <= 1103 || i === 1105 || i === 8208 || 8211 <= i && i <= 8214 || 8216 <= i && i <= 8217 || 8220 <= i && i <= 8221 || 8224 <= i && i <= 8226 || 8228 <= i && i <= 8231 || i === 8240 || 8242 <= i && i <= 8243 || i === 8245 || i === 8251 || i === 8254 || i === 8308 || i === 8319 || 8321 <= i && i <= 8324 || i === 8364 || i === 8451 || i === 8453 || i === 8457 || i === 8467 || i === 8470 || 8481 <= i && i <= 8482 || i === 8486 || i === 8491 || 8531 <= i && i <= 8532 || 8539 <= i && i <= 8542 || 8544 <= i && i <= 8555 || 8560 <= i && i <= 8569 || i === 8585 || 8592 <= i && i <= 8601 || 8632 <= i && i <= 8633 || i === 8658 || i === 8660 || i === 8679 || i === 8704 || 8706 <= i && i <= 8707 || 8711 <= i && i <= 8712 || i === 8715 || i === 8719 || i === 8721 || i === 8725 || i === 8730 || 8733 <= i && i <= 8736 || i === 8739 || i === 8741 || 8743 <= i && i <= 8748 || i === 8750 || 8756 <= i && i <= 8759 || 8764 <= i && i <= 8765 || i === 8776 || i === 8780 || i === 8786 || 8800 <= i && i <= 8801 || 8804 <= i && i <= 8807 || 8810 <= i && i <= 8811 || 8814 <= i && i <= 8815 || 8834 <= i && i <= 8835 || 8838 <= i && i <= 8839 || i === 8853 || i === 8857 || i === 8869 || i === 8895 || i === 8978 || 9312 <= i && i <= 9449 || 9451 <= i && i <= 9547 || 9552 <= i && i <= 9587 || 9600 <= i && i <= 9615 || 9618 <= i && i <= 9621 || 9632 <= i && i <= 9633 || 9635 <= i && i <= 9641 || 9650 <= i && i <= 9651 || 9654 <= i && i <= 9655 || 9660 <= i && i <= 9661 || 9664 <= i && i <= 9665 || 9670 <= i && i <= 9672 || i === 9675 || 9678 <= i && i <= 9681 || 9698 <= i && i <= 9701 || i === 9711 || 9733 <= i && i <= 9734 || i === 9737 || 9742 <= i && i <= 9743 || 9748 <= i && i <= 9749 || i === 9756 || i === 9758 || i === 9792 || i === 9794 || 9824 <= i && i <= 9825 || 9827 <= i && i <= 9829 || 9831 <= i && i <= 9834 || 9836 <= i && i <= 9837 || i === 9839 || 9886 <= i && i <= 9887 || 9918 <= i && i <= 9919 || 9924 <= i && i <= 9933 || 9935 <= i && i <= 9953 || i === 9955 || 9960 <= i && i <= 9983 || i === 10045 || i === 10071 || 10102 <= i && i <= 10111 || 11093 <= i && i <= 11097 || 12872 <= i && i <= 12879 || 57344 <= i && i <= 63743 || 65024 <= i && i <= 65039 || i === 65533 || 127232 <= i && i <= 127242 || 127248 <= i && i <= 127277 || 127280 <= i && i <= 127337 || 127344 <= i && i <= 127386 || 917760 <= i && i <= 917999 || 983040 <= i && i <= 1048573 || 1048576 <= i && i <= 1114109 ? "A" : "N";
|
|
27800
27800
|
};
|
|
27801
|
-
function
|
|
27801
|
+
function t4(r, e = {}, t) {
|
|
27802
27802
|
t || (t = 1);
|
|
27803
27803
|
const { fontStyle: i = e.fontStyle, fontVariant: n = e.fontVariant, fontWeight: o = e.fontWeight, fontSize: s = e.fontSize, fontFamily: a = e.fontFamily } = r;
|
|
27804
27804
|
return (i ? i + " " : "") + (n ? n + " " : "") + (o ? o + " " : "") + s * t + "px " + (a || "sans-serif");
|
|
@@ -27811,7 +27811,7 @@ let sd = class qh {
|
|
|
27811
27811
|
if (this._notSupportCanvas) return !1;
|
|
27812
27812
|
if (zi(this._canvas) && (Do(this._option.getCanvasForMeasure) && (this._canvas = this._option.getCanvasForMeasure()), zi(this._canvas) && typeof window < "u" && window.document !== void 0 && globalThis && Do(globalThis.document) && (this._canvas = globalThis.document.createElement("canvas"))), zi(this._context) && Do(this._canvas)) {
|
|
27813
27813
|
const e = this._canvas.getContext("2d");
|
|
27814
|
-
Do(e) && (e.save(), e.font =
|
|
27814
|
+
Do(e) && (e.save(), e.font = t4(this.textSpec), this._contextSaved = !0, this._context = e);
|
|
27815
27815
|
}
|
|
27816
27816
|
return !zi(this._context) || (this._notSupportCanvas = !0, !1);
|
|
27817
27817
|
}
|
|
@@ -27977,12 +27977,12 @@ function UA(r, e, t) {
|
|
|
27977
27977
|
const { x1: i, y1: n, x2: o, y2: s } = e;
|
|
27978
27978
|
return t.onlyTranslate() ? (r !== e && r.setValue(e.x1, e.y1, e.x2, e.y2), r.translate(t.e, t.f), e) : (r.clear(), r.add(t.a * i + t.c * n + t.e, t.b * i + t.d * n + t.f), r.add(t.a * o + t.c * n + t.e, t.b * o + t.d * n + t.f), r.add(t.a * o + t.c * s + t.e, t.b * o + t.d * s + t.f), r.add(t.a * i + t.c * s + t.e, t.b * i + t.d * s + t.f), e);
|
|
27979
27979
|
}
|
|
27980
|
-
let og = class
|
|
27980
|
+
let og = class i4 {
|
|
27981
27981
|
constructor(e) {
|
|
27982
27982
|
e ? this.setValue(e.x1, e.y1, e.x2, e.y2) : this.clear();
|
|
27983
27983
|
}
|
|
27984
27984
|
clone() {
|
|
27985
|
-
return new
|
|
27985
|
+
return new i4(this);
|
|
27986
27986
|
}
|
|
27987
27987
|
clear() {
|
|
27988
27988
|
return this.x1 = +Number.MAX_VALUE, this.y1 = +Number.MAX_VALUE, this.x2 = -Number.MAX_VALUE, this.y2 = -Number.MAX_VALUE, this;
|
|
@@ -28235,7 +28235,7 @@ function ik(r, e, t) {
|
|
|
28235
28235
|
b: l
|
|
28236
28236
|
};
|
|
28237
28237
|
}
|
|
28238
|
-
function
|
|
28238
|
+
function r4(r, e, t) {
|
|
28239
28239
|
r /= 255, e /= 255, t /= 255;
|
|
28240
28240
|
const i = Math.min(r, e, t), n = Math.max(r, e, t), o = n - i;
|
|
28241
28241
|
let s = 0, a = 0, l = 0;
|
|
@@ -28400,7 +28400,7 @@ const ire = /^#([0-9a-f]{3,8})$/, rk = {
|
|
|
28400
28400
|
function fm(r) {
|
|
28401
28401
|
return ((r = Math.max(0, Math.min(255, Math.round(r) || 0))) < 16 ? "0" : "") + r.toString(16);
|
|
28402
28402
|
}
|
|
28403
|
-
function
|
|
28403
|
+
function n4(r) {
|
|
28404
28404
|
return nn(r) ? new Ts(r >> 16, r >> 8 & 255, 255 & r, 1) : oi(r) ? new Ts(r[0], r[1], r[2]) : new Ts(255, 255, 255);
|
|
28405
28405
|
}
|
|
28406
28406
|
function rre(r) {
|
|
@@ -28416,7 +28416,7 @@ const nk = (r, e) => {
|
|
|
28416
28416
|
const t = ire.exec(r);
|
|
28417
28417
|
if (e || t) {
|
|
28418
28418
|
const i = parseInt(t[1], 16), n = t[1].length;
|
|
28419
|
-
return n === 3 ? new Ts((i >> 8 & 15) + ((i >> 8 & 15) << 4), (i >> 4 & 15) + ((i >> 4 & 15) << 4), (15 & i) + ((15 & i) << 4), 1) : n === 6 ?
|
|
28419
|
+
return n === 3 ? new Ts((i >> 8 & 15) + ((i >> 8 & 15) << 4), (i >> 4 & 15) + ((i >> 4 & 15) << 4), (15 & i) + ((15 & i) << 4), 1) : n === 6 ? n4(i) : n === 8 ? new Ts(i >> 24 & 255, i >> 16 & 255, i >> 8 & 255, (255 & i) / 255) : null;
|
|
28420
28420
|
}
|
|
28421
28421
|
};
|
|
28422
28422
|
let ok = class Zh {
|
|
@@ -28446,7 +28446,7 @@ let ok = class Zh {
|
|
|
28446
28446
|
}
|
|
28447
28447
|
static parseColorString(e) {
|
|
28448
28448
|
if (Do(rk[e])) return rre(rk[e]);
|
|
28449
|
-
if (Do(Sw[e])) return
|
|
28449
|
+
if (Do(Sw[e])) return n4(Sw[e]);
|
|
28450
28450
|
const t = `${e}`.trim().toLowerCase(), i = nk(t);
|
|
28451
28451
|
if (i !== void 0) return i;
|
|
28452
28452
|
if (/^(rgb|RGB|rgba|RGBA)/.test(t)) {
|
|
@@ -28496,7 +28496,7 @@ let ok = class Zh {
|
|
|
28496
28496
|
return 0.5 * (Math.max(this.color.r, this.color.g, this.color.b) / 255 + Math.min(this.color.r, this.color.g, this.color.b) / 255);
|
|
28497
28497
|
}
|
|
28498
28498
|
setHsl(e, t, i) {
|
|
28499
|
-
const n = this.color.opacity, o =
|
|
28499
|
+
const n = this.color.opacity, o = r4(this.color.r, this.color.g, this.color.b), s = ik(zi(e) ? o.h : jie(e, 0, 360), zi(t) ? o.s : t >= 0 && t <= 1 ? 100 * t : t, zi(i) ? o.l : i <= 1 && i >= 0 ? 100 * i : i);
|
|
28500
28500
|
return this.color = new Ts(s.r, s.g, s.b, n), this;
|
|
28501
28501
|
}
|
|
28502
28502
|
setRGB(e, t, i) {
|
|
@@ -28570,7 +28570,7 @@ let ok = class Zh {
|
|
|
28570
28570
|
return `${e === 1 ? "rgb(" : "rgba("}${this.r},${this.g},${this.b}${e === 1 ? ")" : `,${e})`}`;
|
|
28571
28571
|
}
|
|
28572
28572
|
formatHsl() {
|
|
28573
|
-
const e = this.opacity, { h: t, s: i, l: n } =
|
|
28573
|
+
const e = this.opacity, { h: t, s: i, l: n } = r4(this.r, this.g, this.b);
|
|
28574
28574
|
return `${e === 1 ? "hsl(" : "hsla("}${t},${i}%,${n}%${e === 1 ? ")" : `,${e})`}`;
|
|
28575
28575
|
}
|
|
28576
28576
|
toString() {
|
|
@@ -28772,7 +28772,7 @@ class $A {
|
|
|
28772
28772
|
return e != null ? this.calcProjLength(e) : (Number.isFinite(this.length) || (this.length = this.calcLength()), this.length);
|
|
28773
28773
|
}
|
|
28774
28774
|
}
|
|
28775
|
-
function
|
|
28775
|
+
function o4(r, e) {
|
|
28776
28776
|
let t = 0;
|
|
28777
28777
|
const i = r.length;
|
|
28778
28778
|
for (let n = 0; n < i; n++) {
|
|
@@ -28782,13 +28782,13 @@ function oH(r, e) {
|
|
|
28782
28782
|
return t / 2;
|
|
28783
28783
|
}
|
|
28784
28784
|
function fre(r, e, t, i, n) {
|
|
28785
|
-
return
|
|
28785
|
+
return o4([r.x, e.x, t.x, i.x], [r.y, e.y, t.y, i.y]);
|
|
28786
28786
|
}
|
|
28787
28787
|
function hk(r, e, t, i, n) {
|
|
28788
28788
|
const o = 1 - n;
|
|
28789
28789
|
return o * o * o * r + 3 * e * n * o * o + 3 * t * n * n * o + i * n * n * n;
|
|
28790
28790
|
}
|
|
28791
|
-
function
|
|
28791
|
+
function s4(r, e, t, i, n) {
|
|
28792
28792
|
const o = hk(r.x, e.x, t.x, i.x, n), s = hk(r.y, e.y, t.y, i.y, n);
|
|
28793
28793
|
return new Ei(o, s);
|
|
28794
28794
|
}
|
|
@@ -28796,15 +28796,15 @@ function uk(r, e, t, i) {
|
|
|
28796
28796
|
const n = 1 - i;
|
|
28797
28797
|
return n * n * r + 2 * n * i * e + i * i * t;
|
|
28798
28798
|
}
|
|
28799
|
-
function
|
|
28799
|
+
function a4(r, e, t, i) {
|
|
28800
28800
|
const n = uk(r.x, e.x, t.x, i), o = uk(r.y, e.y, t.y, i);
|
|
28801
28801
|
return new Ei(n, o);
|
|
28802
28802
|
}
|
|
28803
28803
|
function gre(r, e, t, i) {
|
|
28804
|
-
return
|
|
28804
|
+
return o4([r.x, e.x, t.x], [r.y, e.y, t.y]);
|
|
28805
28805
|
}
|
|
28806
28806
|
function Ad(r, e) {
|
|
28807
|
-
const { p0: t, p1: i, p2: n, p3: o } = r, s =
|
|
28807
|
+
const { p0: t, p1: i, p2: n, p3: o } = r, s = s4(t, i, n, o, e), a = Js.pointAtPP(t, i, e), l = Js.pointAtPP(i, n, e), h = Js.pointAtPP(n, o, e), u = Js.pointAtPP(a, l, e), c = Js.pointAtPP(l, h, e);
|
|
28808
28808
|
return [new Mv(t, a, u, s), new Mv(s, c, h, o)];
|
|
28809
28809
|
}
|
|
28810
28810
|
class Mv extends $A {
|
|
@@ -28815,7 +28815,7 @@ class Mv extends $A {
|
|
|
28815
28815
|
return Number.isFinite(this.p0.x + this.p0.y + this.p1.x + this.p1.y + this.p2.x + this.p2.y + this.p3.x + this.p3.y);
|
|
28816
28816
|
}
|
|
28817
28817
|
getPointAt(e) {
|
|
28818
|
-
if (this.defined !== !1) return
|
|
28818
|
+
if (this.defined !== !1) return s4(this.p0, this.p1, this.p2, this.p3, e);
|
|
28819
28819
|
throw new Error("defined为false的点不能getPointAt");
|
|
28820
28820
|
}
|
|
28821
28821
|
calcLength() {
|
|
@@ -28976,7 +28976,7 @@ function jd(r, e, t) {
|
|
|
28976
28976
|
const i = e ?? (hi(t[t.length - 1].x - t[0].x) > hi(t[t.length - 1].y - t[0].y) ? gi.ROW : gi.COLUMN);
|
|
28977
28977
|
return r === "monotoneY" ? new pre(r, i) : new n1(r, i);
|
|
28978
28978
|
}
|
|
28979
|
-
class
|
|
28979
|
+
class l4 {
|
|
28980
28980
|
constructor(e, t) {
|
|
28981
28981
|
this.context = e, t && (this.startPoint = t);
|
|
28982
28982
|
}
|
|
@@ -29013,7 +29013,7 @@ function Gg(r, e = {}) {
|
|
|
29013
29013
|
const { direction: t, startPoint: i } = e;
|
|
29014
29014
|
if (r.length < 2 - +!!i) return null;
|
|
29015
29015
|
const n = jd("linear", t, r);
|
|
29016
|
-
return mre(new
|
|
29016
|
+
return mre(new l4(n, i), r), n;
|
|
29017
29017
|
}
|
|
29018
29018
|
function mre(r, e) {
|
|
29019
29019
|
return lc(r, e, 1);
|
|
@@ -29080,7 +29080,7 @@ function Mw(r, e, t, i, n) {
|
|
|
29080
29080
|
const o = r._x0, s = r._y0, a = r._x1, l = r._y1, h = (a - o) / 3;
|
|
29081
29081
|
r.context.bezierCurveTo(o + h, s + h * e, a - h, l - h * t, a, l, i, r.lastPoint1);
|
|
29082
29082
|
}
|
|
29083
|
-
class
|
|
29083
|
+
class h4 {
|
|
29084
29084
|
constructor(e, t) {
|
|
29085
29085
|
this.context = e, this.startPoint = t;
|
|
29086
29086
|
}
|
|
@@ -29125,7 +29125,7 @@ class hH {
|
|
|
29125
29125
|
return this.context.tryUpdateLength();
|
|
29126
29126
|
}
|
|
29127
29127
|
}
|
|
29128
|
-
class _re extends
|
|
29128
|
+
class _re extends h4 {
|
|
29129
29129
|
constructor(e, t) {
|
|
29130
29130
|
super(e, t);
|
|
29131
29131
|
}
|
|
@@ -29145,7 +29145,7 @@ function yre(r, e = {}) {
|
|
|
29145
29145
|
if (r.length < 2 - +!!i) return null;
|
|
29146
29146
|
if (r.length < 3 - +!!i) return Gg(r, e);
|
|
29147
29147
|
const n = jd("monotoneX", t, r);
|
|
29148
|
-
return wre(new
|
|
29148
|
+
return wre(new h4(n, i), r), n;
|
|
29149
29149
|
}
|
|
29150
29150
|
function xre(r, e) {
|
|
29151
29151
|
return lc(r, e, 2);
|
|
@@ -29157,7 +29157,7 @@ function Sre(r, e = {}) {
|
|
|
29157
29157
|
const n = jd("monotoneY", t, r);
|
|
29158
29158
|
return xre(new _re(n, i), r), n;
|
|
29159
29159
|
}
|
|
29160
|
-
let
|
|
29160
|
+
let u4 = class {
|
|
29161
29161
|
constructor(e, t = 0.5, i) {
|
|
29162
29162
|
this.context = e, this._t = t, this.startPoint = i;
|
|
29163
29163
|
}
|
|
@@ -29194,7 +29194,7 @@ let uH = class {
|
|
|
29194
29194
|
return this.context.tryUpdateLength();
|
|
29195
29195
|
}
|
|
29196
29196
|
};
|
|
29197
|
-
class Are extends
|
|
29197
|
+
class Are extends u4 {
|
|
29198
29198
|
lineEnd() {
|
|
29199
29199
|
this.context.closePath();
|
|
29200
29200
|
}
|
|
@@ -29203,18 +29203,18 @@ function kw(r, e, t = {}) {
|
|
|
29203
29203
|
const { direction: i, startPoint: n } = t;
|
|
29204
29204
|
if (r.length < 2 - +!!n) return null;
|
|
29205
29205
|
const o = new n1("step", i ?? (hi(r[r.length - 1].x - r[0].x) > hi(r[r.length - 1].y - r[0].y) ? gi.ROW : gi.COLUMN));
|
|
29206
|
-
return
|
|
29206
|
+
return c4(new u4(o, e, n), r), o;
|
|
29207
29207
|
}
|
|
29208
|
-
function
|
|
29208
|
+
function c4(r, e) {
|
|
29209
29209
|
return lc(r, e, 1);
|
|
29210
29210
|
}
|
|
29211
29211
|
function Rre(r, e, t = {}) {
|
|
29212
29212
|
const { direction: i, startPoint: n } = t;
|
|
29213
29213
|
if (r.length < 2 - +!!n) return null;
|
|
29214
29214
|
const o = new n1("step", i ?? (hi(r[r.length - 1].x - r[0].x) > hi(r[r.length - 1].y - r[0].y) ? gi.ROW : gi.COLUMN));
|
|
29215
|
-
return
|
|
29215
|
+
return c4(new Are(o, e, n), r), o;
|
|
29216
29216
|
}
|
|
29217
|
-
class Tre extends
|
|
29217
|
+
class Tre extends l4 {
|
|
29218
29218
|
lineEnd() {
|
|
29219
29219
|
this.context.closePath();
|
|
29220
29220
|
}
|
|
@@ -29228,7 +29228,7 @@ function Ere(r, e = {}) {
|
|
|
29228
29228
|
function Mre(r, e) {
|
|
29229
29229
|
return lc(r, e, 1);
|
|
29230
29230
|
}
|
|
29231
|
-
function
|
|
29231
|
+
function d4(r, e, t, i, n) {
|
|
29232
29232
|
let o = r._x1, s = r._y1, a = r._x2, l = r._y2;
|
|
29233
29233
|
if (r._l01_a > Pi) {
|
|
29234
29234
|
const h = 2 * r._l01_2a + 3 * r._l01_a * r._l12_a + r._l12_2a, u = 3 * r._l01_a * (r._l01_a + r._l12_a);
|
|
@@ -29282,7 +29282,7 @@ class kre {
|
|
|
29282
29282
|
case 2:
|
|
29283
29283
|
this._point = 3;
|
|
29284
29284
|
default:
|
|
29285
|
-
|
|
29285
|
+
d4(this, t, i, this._lastDefined1 !== !1 && this._lastDefined2 !== !1);
|
|
29286
29286
|
}
|
|
29287
29287
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = i, this._lastDefined1 = this._lastDefined2, this._lastDefined2 = e.defined, this.lastPoint0 = this.lastPoint1, this.lastPoint1 = e;
|
|
29288
29288
|
}
|
|
@@ -29290,7 +29290,7 @@ class kre {
|
|
|
29290
29290
|
return this.context.tryUpdateLength();
|
|
29291
29291
|
}
|
|
29292
29292
|
}
|
|
29293
|
-
function
|
|
29293
|
+
function f4(r, e) {
|
|
29294
29294
|
return function(t, i, n = {}) {
|
|
29295
29295
|
const { direction: o, startPoint: s } = n;
|
|
29296
29296
|
if (t.length < 2 - +!!s) return null;
|
|
@@ -29299,7 +29299,7 @@ function fH(r, e) {
|
|
|
29299
29299
|
return lc(l, t, 2), a;
|
|
29300
29300
|
};
|
|
29301
29301
|
}
|
|
29302
|
-
const Bre =
|
|
29302
|
+
const Bre = f4("catmullRom", kre);
|
|
29303
29303
|
class Fre {
|
|
29304
29304
|
constructor(e, t = 0.5, i) {
|
|
29305
29305
|
this.context = e, this.startPoint = i, this._alpha = t;
|
|
@@ -29351,7 +29351,7 @@ class Fre {
|
|
|
29351
29351
|
this._point = 3, this._x5 = t, this._y5 = i;
|
|
29352
29352
|
break;
|
|
29353
29353
|
default:
|
|
29354
|
-
|
|
29354
|
+
d4(this, t, i, this._lastDefined1 !== !1 && this._lastDefined2 !== !1);
|
|
29355
29355
|
}
|
|
29356
29356
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = i, this._lastDefined1 = this._lastDefined2, this._lastDefined2 = e.defined, this.lastPoint0 = this.lastPoint1, this.lastPoint1 = e;
|
|
29357
29357
|
}
|
|
@@ -29359,9 +29359,9 @@ class Fre {
|
|
|
29359
29359
|
return this.context.tryUpdateLength();
|
|
29360
29360
|
}
|
|
29361
29361
|
}
|
|
29362
|
-
const Ire =
|
|
29362
|
+
const Ire = f4("catmullRomClosed", Fre);
|
|
29363
29363
|
function Pre(r, e) {
|
|
29364
|
-
const { p0: t, p1: i, p2: n } = r, o =
|
|
29364
|
+
const { p0: t, p1: i, p2: n } = r, o = a4(t, i, n, e), s = Js.pointAtPP(t, i, e), a = Js.pointAtPP(i, n, e);
|
|
29365
29365
|
return [new Yy(t, s, o), new Yy(o, a, n)];
|
|
29366
29366
|
}
|
|
29367
29367
|
class Yy extends $A {
|
|
@@ -29372,7 +29372,7 @@ class Yy extends $A {
|
|
|
29372
29372
|
return Number.isFinite(this.p0.x + this.p0.y + this.p1.x + this.p1.y + this.p2.x + this.p2.y);
|
|
29373
29373
|
}
|
|
29374
29374
|
getPointAt(e) {
|
|
29375
|
-
if (this.defined !== !1) return
|
|
29375
|
+
if (this.defined !== !1) return a4(this.p0, this.p1, this.p2, e);
|
|
29376
29376
|
throw new Error("defined为false的点不能getPointAt");
|
|
29377
29377
|
}
|
|
29378
29378
|
calcLength() {
|
|
@@ -29777,7 +29777,7 @@ const Dre = {
|
|
|
29777
29777
|
anchor: [0, 0],
|
|
29778
29778
|
anchor3d: [0, 0],
|
|
29779
29779
|
postMatrix: new Vn()
|
|
29780
|
-
},
|
|
29780
|
+
}, g4 = {
|
|
29781
29781
|
fillOpacity: 1,
|
|
29782
29782
|
fill: !1,
|
|
29783
29783
|
shadowBlur: 0,
|
|
@@ -29794,7 +29794,7 @@ const Dre = {
|
|
|
29794
29794
|
miterLimit: 10,
|
|
29795
29795
|
strokeBoundsBuffer: 2,
|
|
29796
29796
|
stroke: !1
|
|
29797
|
-
},
|
|
29797
|
+
}, p4 = Object.assign({
|
|
29798
29798
|
outerBorder: Object.assign(Object.assign({}, Bw), {
|
|
29799
29799
|
distance: 0
|
|
29800
29800
|
}),
|
|
@@ -29861,7 +29861,7 @@ const Dre = {
|
|
|
29861
29861
|
html: null,
|
|
29862
29862
|
react: null,
|
|
29863
29863
|
vue: null
|
|
29864
|
-
},
|
|
29864
|
+
}, g4), p4), Dre), Hre), m4 = {
|
|
29865
29865
|
connectedType: "none",
|
|
29866
29866
|
connectedStyle: {},
|
|
29867
29867
|
connectedX: NaN,
|
|
@@ -29906,7 +29906,7 @@ const Dre = {
|
|
|
29906
29906
|
padAngle: 0,
|
|
29907
29907
|
cap: !1,
|
|
29908
29908
|
forceShowCap: !1
|
|
29909
|
-
}), Ure = Object.assign(Object.assign(Object.assign({}, ar),
|
|
29909
|
+
}), Ure = Object.assign(Object.assign(Object.assign({}, ar), m4), {
|
|
29910
29910
|
points: [],
|
|
29911
29911
|
segments: [],
|
|
29912
29912
|
curveType: "linear",
|
|
@@ -29938,7 +29938,7 @@ const Dre = {
|
|
|
29938
29938
|
height: 0,
|
|
29939
29939
|
cornerRadius: 0,
|
|
29940
29940
|
clip: !1
|
|
29941
|
-
}), jre = Object.assign(Object.assign(Object.assign({}, ar),
|
|
29941
|
+
}), jre = Object.assign(Object.assign(Object.assign({}, ar), m4), {
|
|
29942
29942
|
points: [],
|
|
29943
29943
|
segments: [],
|
|
29944
29944
|
curveType: "linear",
|
|
@@ -29987,7 +29987,7 @@ const Zre = Object.assign(Object.assign({}, ar), {
|
|
|
29987
29987
|
size: 10,
|
|
29988
29988
|
keepDirIn3d: !0,
|
|
29989
29989
|
clipRange: 1
|
|
29990
|
-
}),
|
|
29990
|
+
}), v4 = Object.assign(Object.assign(Object.assign({}, ar), Co), {
|
|
29991
29991
|
strokeBoundsBuffer: 0,
|
|
29992
29992
|
keepDirIn3d: !0
|
|
29993
29993
|
}), cl = Object.assign(Object.assign(Object.assign({}, ar), Co), {
|
|
@@ -30326,10 +30326,10 @@ const jA = {
|
|
|
30326
30326
|
y: "x",
|
|
30327
30327
|
bottom: "right"
|
|
30328
30328
|
}
|
|
30329
|
-
},
|
|
30329
|
+
}, b4 = {
|
|
30330
30330
|
fill: !0,
|
|
30331
30331
|
stroke: !1
|
|
30332
|
-
}, Fv = /\w|\(|\)|-/,
|
|
30332
|
+
}, Fv = /\w|\(|\)|-/, C4 = /[.?!,;:/,。?!、;:]/, rne = /\S/, _4 = (r, e) => {
|
|
30333
30333
|
let t = e.fontSize || 16;
|
|
30334
30334
|
switch (e.script) {
|
|
30335
30335
|
case "super":
|
|
@@ -30346,16 +30346,16 @@ const jA = {
|
|
|
30346
30346
|
});
|
|
30347
30347
|
};
|
|
30348
30348
|
function nne(r, e, t) {
|
|
30349
|
-
const i = e && e.fill ||
|
|
30349
|
+
const i = e && e.fill || b4.fill, { fillOpacity: n = 1, opacity: o = 1 } = e;
|
|
30350
30350
|
r.globalAlpha = n * o, r.fillStyle = t ? Bv(r, i, {
|
|
30351
30351
|
AABBBounds: t
|
|
30352
|
-
}) : i,
|
|
30352
|
+
}) : i, _4(r, e);
|
|
30353
30353
|
}
|
|
30354
30354
|
function one(r, e) {
|
|
30355
|
-
const t = e && e.stroke ||
|
|
30355
|
+
const t = e && e.stroke || b4.stroke;
|
|
30356
30356
|
if (!t) return void (r.globalAlpha = 0);
|
|
30357
30357
|
const { strokeOpacity: i = 1, opacity: n = 1 } = e;
|
|
30358
|
-
r.globalAlpha = i * n, r.lineWidth = e && typeof e.lineWidth == "number" ? e.lineWidth : 1, r.strokeStyle = t,
|
|
30358
|
+
r.globalAlpha = i * n, r.lineWidth = e && typeof e.lineWidth == "number" ? e.lineWidth : 1, r.strokeStyle = t, _4(r, e);
|
|
30359
30359
|
}
|
|
30360
30360
|
function ev(r, e, t, i, n) {
|
|
30361
30361
|
if (r.length <= 1 || !e || e <= 0) return 0;
|
|
@@ -30376,12 +30376,12 @@ function ev(r, e, t, i, n) {
|
|
|
30376
30376
|
}
|
|
30377
30377
|
function tv(r, e, t = !1) {
|
|
30378
30378
|
let i = e;
|
|
30379
|
-
for (; Fv.test(r[i - 1]) && Fv.test(r[i]) ||
|
|
30379
|
+
for (; Fv.test(r[i - 1]) && Fv.test(r[i]) || C4.test(r[i]); ) if (i--, i <= 0) return t ? sne(r, e) : e;
|
|
30380
30380
|
return i;
|
|
30381
30381
|
}
|
|
30382
30382
|
function sne(r, e) {
|
|
30383
30383
|
let t = e;
|
|
30384
|
-
for (; Fv.test(r[t + 1]) && Fv.test(r[t]) ||
|
|
30384
|
+
for (; Fv.test(r[t + 1]) && Fv.test(r[t]) || C4.test(r[t]); ) if (t++, t >= r.length) return t;
|
|
30385
30385
|
return t + 1;
|
|
30386
30386
|
}
|
|
30387
30387
|
function uu(r, e, t = "actual") {
|
|
@@ -30446,7 +30446,7 @@ let qy = class {
|
|
|
30446
30446
|
}
|
|
30447
30447
|
return r;
|
|
30448
30448
|
}
|
|
30449
|
-
estimate(r, { fontSize: e =
|
|
30449
|
+
estimate(r, { fontSize: e = v4.fontSize }) {
|
|
30450
30450
|
let t = 0, i = 0;
|
|
30451
30451
|
for (let n = 0; n < r.length; n++) r.charCodeAt(n) < 128 ? t++ : i++;
|
|
30452
30452
|
return {
|
|
@@ -30784,15 +30784,15 @@ let Rd = class extends qy {
|
|
|
30784
30784
|
}
|
|
30785
30785
|
};
|
|
30786
30786
|
Rd = lne([Ne()], Rd);
|
|
30787
|
-
const
|
|
30787
|
+
const w4 = Symbol.for("CanvasFactory"), hne = Symbol.for("Context2dFactory");
|
|
30788
30788
|
function Zy(r) {
|
|
30789
|
-
return bt.getNamed(
|
|
30789
|
+
return bt.getNamed(w4, We.global.env)(r);
|
|
30790
30790
|
}
|
|
30791
|
-
const
|
|
30791
|
+
const y4 = 1e-4, mk = Math.sqrt(3), mm = 1 / 3;
|
|
30792
30792
|
function hh(r) {
|
|
30793
30793
|
return r > -hg && r < hg;
|
|
30794
30794
|
}
|
|
30795
|
-
function
|
|
30795
|
+
function x4(r) {
|
|
30796
30796
|
return r > hg || r < -hg;
|
|
30797
30797
|
}
|
|
30798
30798
|
const Ta = [0, 0], As = [0, 0], ad = [0, 0];
|
|
@@ -30811,7 +30811,7 @@ function une(r, e, t, i, n) {
|
|
|
30811
30811
|
const o = r - 2 * e + t, s = 2 * (e - r), a = r - i;
|
|
30812
30812
|
let l = 0;
|
|
30813
30813
|
if (hh(o)) {
|
|
30814
|
-
if (
|
|
30814
|
+
if (x4(s)) {
|
|
30815
30815
|
const h = -a / s;
|
|
30816
30816
|
h >= 0 && h <= 1 && (n[l++] = h);
|
|
30817
30817
|
}
|
|
@@ -30840,7 +30840,7 @@ function dne(r, e, t, i, n, o, s, a, l) {
|
|
|
30840
30840
|
f < c && (h = d, c = f);
|
|
30841
30841
|
}
|
|
30842
30842
|
c = 1 / 0;
|
|
30843
|
-
for (let d = 0; d < 32 && !(u <
|
|
30843
|
+
for (let d = 0; d < 32 && !(u < y4); d++) {
|
|
30844
30844
|
const f = h - u, g = h + u;
|
|
30845
30845
|
As[0] = gl(r, t, n, f), As[1] = gl(e, i, o, f);
|
|
30846
30846
|
const p = ld(As, Ta);
|
|
@@ -30858,7 +30858,7 @@ function fne(r, e, t, i, n, o, s, a, l, h, u) {
|
|
|
30858
30858
|
Ta[0] = l, Ta[1] = h;
|
|
30859
30859
|
for (let C = 0; C < 1; C += 0.05) As[0] = pl(r, t, n, s, C), As[1] = pl(e, i, o, a, C), f = ld(Ta, As), f < v && (p = C, v = f);
|
|
30860
30860
|
v = 1 / 0;
|
|
30861
|
-
for (let C = 0; C < 32 && !(m <
|
|
30861
|
+
for (let C = 0; C < 32 && !(m < y4); C++) c = p - m, d = p + m, As[0] = pl(r, t, n, s, c), As[1] = pl(e, i, o, a, c), f = ld(As, Ta), c >= 0 && f < v ? (p = c, v = f) : (ad[0] = pl(r, t, n, s, d), ad[1] = pl(e, i, o, a, d), g = ld(ad, Ta), d <= 1 && g < v ? (p = d, v = g) : m *= 0.5);
|
|
30862
30862
|
return Math.sqrt(v);
|
|
30863
30863
|
}
|
|
30864
30864
|
function vm(r) {
|
|
@@ -30930,7 +30930,7 @@ function bne(r, e, t, i, n) {
|
|
|
30930
30930
|
const o = 6 * t - 12 * e + 6 * r, s = 9 * e + 3 * i - 3 * r - 9 * t, a = 3 * e - 3 * r;
|
|
30931
30931
|
let l = 0;
|
|
30932
30932
|
if (hh(s)) {
|
|
30933
|
-
if (
|
|
30933
|
+
if (x4(o)) {
|
|
30934
30934
|
const h = -a / o;
|
|
30935
30935
|
h >= 0 && h <= 1 && (n[l++] = h);
|
|
30936
30936
|
}
|
|
@@ -31017,7 +31017,7 @@ function Sne(r, e) {
|
|
|
31017
31017
|
n += i, !e && n - t >= Mt ? n = t + Mt : e && t - n >= Mt ? n = t - Mt : !e && t > n ? n = t + (Mt - Fw(t - n)) : e && t < n && (n = t - (Mt - Fw(n - t))), r[0] = t, r[1] = n;
|
|
31018
31018
|
}
|
|
31019
31019
|
const Ff = [0, 0];
|
|
31020
|
-
function
|
|
31020
|
+
function S4(r, e, t, i, n) {
|
|
31021
31021
|
const o = r, s = r.length;
|
|
31022
31022
|
let a, l, h = 0, u = 0, c = 0, d = 0, f = 0;
|
|
31023
31023
|
for (let g = 0; g < s; g++) {
|
|
@@ -31070,10 +31070,10 @@ function SH(r, e, t, i, n) {
|
|
|
31070
31070
|
return t || Cne(c, f) || (h += $h(u, c, d, f, i, n) || 0), h !== 0;
|
|
31071
31071
|
}
|
|
31072
31072
|
function Ane(r, e, t) {
|
|
31073
|
-
return
|
|
31073
|
+
return S4(r, 0, !1, e, t);
|
|
31074
31074
|
}
|
|
31075
31075
|
function Rne(r, e, t, i) {
|
|
31076
|
-
return
|
|
31076
|
+
return S4(r, e, !0, t, i);
|
|
31077
31077
|
}
|
|
31078
31078
|
class Tne {
|
|
31079
31079
|
constructor() {
|
|
@@ -31264,12 +31264,12 @@ let Jy = class extends JD {
|
|
|
31264
31264
|
}
|
|
31265
31265
|
};
|
|
31266
31266
|
Jy = Ene([Ne(), Mne("design:paramtypes", [])], Jy);
|
|
31267
|
-
var
|
|
31267
|
+
var A4 = function(r, e, t, i) {
|
|
31268
31268
|
var n, o = arguments.length, s = o < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i;
|
|
31269
31269
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(r, e, t, i);
|
|
31270
31270
|
else for (var a = r.length - 1; a >= 0; a--) (n = r[a]) && (s = (o < 3 ? n(s) : o > 3 ? n(e, t, s) : n(e, t)) || s);
|
|
31271
31271
|
return o > 3 && s && Object.defineProperty(e, t, s), s;
|
|
31272
|
-
},
|
|
31272
|
+
}, R4 = function(r, e) {
|
|
31273
31273
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(r, e);
|
|
31274
31274
|
}, vk = function(r, e) {
|
|
31275
31275
|
return function(t, i) {
|
|
@@ -31363,7 +31363,7 @@ let Qy = class {
|
|
|
31363
31363
|
return u.nativeCanvas ? u.nativeCanvas : null;
|
|
31364
31364
|
}
|
|
31365
31365
|
};
|
|
31366
|
-
Qy =
|
|
31366
|
+
Qy = A4([Ne(), vk(0, Ot(vr)), vk(0, Wr(xl)), R4("design:paramtypes", [Object])], Qy);
|
|
31367
31367
|
var th;
|
|
31368
31368
|
(function(r) {
|
|
31369
31369
|
r[r.transform = 0] = "transform", r[r.matrix = 1] = "matrix";
|
|
@@ -31415,7 +31415,7 @@ let ex = class {
|
|
|
31415
31415
|
return this;
|
|
31416
31416
|
}
|
|
31417
31417
|
};
|
|
31418
|
-
ex =
|
|
31418
|
+
ex = A4([Ne(), R4("design:paramtypes", [])], ex);
|
|
31419
31419
|
const Ln = {
|
|
31420
31420
|
arc: Wre,
|
|
31421
31421
|
area: Ure,
|
|
@@ -31423,7 +31423,7 @@ const Ln = {
|
|
|
31423
31423
|
line: jre,
|
|
31424
31424
|
path: Xre,
|
|
31425
31425
|
symbol: Zre,
|
|
31426
|
-
text:
|
|
31426
|
+
text: v4,
|
|
31427
31427
|
rect: qre,
|
|
31428
31428
|
polygon: Kre,
|
|
31429
31429
|
star: Yre,
|
|
@@ -31513,15 +31513,15 @@ class cg {
|
|
|
31513
31513
|
});
|
|
31514
31514
|
}
|
|
31515
31515
|
}
|
|
31516
|
-
const
|
|
31516
|
+
const T4 = new cg();
|
|
31517
31517
|
function kt(r, e) {
|
|
31518
|
-
return r.glyphHost ? kt(r.glyphHost) : e ? (r.isContainer, e) : Bne(r) || r.attachedThemeGraphic && kt(r.attachedThemeGraphic) ||
|
|
31518
|
+
return r.glyphHost ? kt(r.glyphHost) : e ? (r.isContainer, e) : Bne(r) || r.attachedThemeGraphic && kt(r.attachedThemeGraphic) || T4.getTheme();
|
|
31519
31519
|
}
|
|
31520
31520
|
function Bne(r) {
|
|
31521
31521
|
let e;
|
|
31522
31522
|
if (e = r.isContainer ? r : r.parent, e) {
|
|
31523
31523
|
for (; e && !e.theme; ) e = e.parent;
|
|
31524
|
-
return e ? (e.theme || e.createTheme(), e.theme.getTheme(e)) :
|
|
31524
|
+
return e ? (e.theme || e.createTheme(), e.theme.getTheme(e)) : T4.getTheme();
|
|
31525
31525
|
}
|
|
31526
31526
|
return null;
|
|
31527
31527
|
}
|
|
@@ -32030,7 +32030,7 @@ class KA extends $g {
|
|
|
32030
32030
|
super(), this.type = e, this.detail = t;
|
|
32031
32031
|
}
|
|
32032
32032
|
}
|
|
32033
|
-
const
|
|
32033
|
+
const E4 = "*", vu = typeof performance == "object" && performance.now ? performance : Date;
|
|
32034
32034
|
function Yl(r) {
|
|
32035
32035
|
return r === "mouse" || r === "pen";
|
|
32036
32036
|
}
|
|
@@ -32261,7 +32261,7 @@ let Pne = class {
|
|
|
32261
32261
|
this.emitDelegation(e, t);
|
|
32262
32262
|
}
|
|
32263
32263
|
emitDelegation(e, t) {
|
|
32264
|
-
const i = e.currentTarget._events[
|
|
32264
|
+
const i = e.currentTarget._events[E4];
|
|
32265
32265
|
if (i) if ("fn" in i) i.fn.call(i.context, e, t);
|
|
32266
32266
|
else for (let n = 0, o = i.length; n < o && !e.propagationImmediatelyStopped; n++) i[n].fn.call(i[n].context, e, t);
|
|
32267
32267
|
}
|
|
@@ -32702,7 +32702,7 @@ const Yne = new Kne();
|
|
|
32702
32702
|
function Sk(r, e, t, i, n = 0) {
|
|
32703
32703
|
return r.moveTo(t + e + 2 * n, e + i + n), r.lineTo(t - e - 2 * n, e + i + n), r.lineTo(t, i - e - 2 * n), r.closePath(), !0;
|
|
32704
32704
|
}
|
|
32705
|
-
class
|
|
32705
|
+
class M4 extends Er {
|
|
32706
32706
|
constructor() {
|
|
32707
32707
|
super(...arguments), this.type = "triangleUp", this.pathStr = "M0.5,0.5 L-0.5,0.5 L0,-0.5 Z";
|
|
32708
32708
|
}
|
|
@@ -32713,13 +32713,13 @@ class MH extends Er {
|
|
|
32713
32713
|
return Sk(e, this.parseSize(t) / 2, i, n, o);
|
|
32714
32714
|
}
|
|
32715
32715
|
}
|
|
32716
|
-
const qne = new
|
|
32717
|
-
class Zne extends
|
|
32716
|
+
const qne = new M4();
|
|
32717
|
+
class Zne extends M4 {
|
|
32718
32718
|
constructor() {
|
|
32719
32719
|
super(...arguments), this.type = "triangle";
|
|
32720
32720
|
}
|
|
32721
32721
|
}
|
|
32722
|
-
const Jne = new Zne(),
|
|
32722
|
+
const Jne = new Zne(), k4 = Math.sin(Math.PI / 10) / Math.sin(7 * Math.PI / 10), Qne = Math.sin(Rn / 10) * k4, eoe = -Math.cos(Rn / 10) * k4;
|
|
32723
32723
|
function Ak(r, e, t, i) {
|
|
32724
32724
|
const n = Qne * e, o = eoe * e;
|
|
32725
32725
|
r.moveTo(t, -e + i), r.lineTo(n + t, o + i);
|
|
@@ -33061,9 +33061,9 @@ class Gk {
|
|
|
33061
33061
|
this.path.bounds && (t.x1 = this.path.bounds.x1 * e, t.y1 = this.path.bounds.y1 * e, t.x2 = this.path.bounds.x2 * e, t.y2 = this.path.bounds.y2 * e);
|
|
33062
33062
|
}
|
|
33063
33063
|
}
|
|
33064
|
-
const Ooe = [Wne, $ne, Xne, Yne, Coe, Jne, ioe, ooe, aoe, hoe, coe, foe, poe, qne, voe, woe, xoe, Aoe, Toe, Loe, Moe, Boe, Ioe],
|
|
33064
|
+
const Ooe = [Wne, $ne, Xne, Yne, Coe, Jne, ioe, ooe, aoe, hoe, coe, foe, poe, qne, voe, woe, xoe, Aoe, Toe, Loe, Moe, Boe, Ioe], B4 = {};
|
|
33065
33065
|
Ooe.forEach((r) => {
|
|
33066
|
-
|
|
33066
|
+
B4[r.type] = r;
|
|
33067
33067
|
});
|
|
33068
33068
|
const Doe = {
|
|
33069
33069
|
arrowLeft: "M 0.25 -0.5 L -0.25 0 l 0.5 0.5",
|
|
@@ -33190,14 +33190,14 @@ class Woe {
|
|
|
33190
33190
|
}
|
|
33191
33191
|
}
|
|
33192
33192
|
function Uoe(r, e) {
|
|
33193
|
-
return
|
|
33193
|
+
return F4(r);
|
|
33194
33194
|
}
|
|
33195
|
-
function
|
|
33195
|
+
function F4(r, e) {
|
|
33196
33196
|
const t = {};
|
|
33197
33197
|
for (let i = 0; i < r.length; i++) {
|
|
33198
33198
|
const n = r[i], o = Voe(n);
|
|
33199
33199
|
if (o !== void 0 && n[o]) {
|
|
33200
|
-
const s =
|
|
33200
|
+
const s = F4(n[o]);
|
|
33201
33201
|
$oe(s), n[":@"] && Goe(s, n[":@"]), t[o] !== void 0 && t.hasOwnProperty(o) ? (Array.isArray(t[o]) || (t[o] = [t[o]]), t[o].push(s)) : t[o] = s;
|
|
33202
33202
|
}
|
|
33203
33203
|
}
|
|
@@ -33268,17 +33268,17 @@ function Yoe(r) {
|
|
|
33268
33268
|
direction: hd.VERTICAL
|
|
33269
33269
|
}), e;
|
|
33270
33270
|
}
|
|
33271
|
-
const qoe = ["…", "(", ")", "—", "【", "】", "「", "」", "《", "》"],
|
|
33272
|
-
qoe.forEach((r) =>
|
|
33273
|
-
const Zoe = [""],
|
|
33271
|
+
const qoe = ["…", "(", ")", "—", "【", "】", "「", "」", "《", "》"], I4 = /* @__PURE__ */ new Map();
|
|
33272
|
+
qoe.forEach((r) => I4.set(r, !0));
|
|
33273
|
+
const Zoe = [""], P4 = /* @__PURE__ */ new Map();
|
|
33274
33274
|
function Joe(r) {
|
|
33275
|
-
if (
|
|
33276
|
-
if (
|
|
33275
|
+
if (I4.has(r)) return !0;
|
|
33276
|
+
if (P4.has(r)) return !1;
|
|
33277
33277
|
let e = !1;
|
|
33278
33278
|
return r.codePointAt(0) < 256 && (e = !0), e;
|
|
33279
33279
|
}
|
|
33280
|
-
Zoe.forEach((r) =>
|
|
33281
|
-
const a1 = mn(), Qoe = mn(),
|
|
33280
|
+
Zoe.forEach((r) => P4.set(r, !0));
|
|
33281
|
+
const a1 = mn(), Qoe = mn(), L4 = mn(), l1 = mn();
|
|
33282
33282
|
mn();
|
|
33283
33283
|
const qA = mn(), h1 = mn(), Xg = mn(), u1 = mn(), c1 = mn();
|
|
33284
33284
|
mn();
|
|
@@ -33286,7 +33286,7 @@ const ZA = mn();
|
|
|
33286
33286
|
mn();
|
|
33287
33287
|
const JA = mn();
|
|
33288
33288
|
mn();
|
|
33289
|
-
const d1 = mn(), f1 = mn(), QA = Symbol.for("GraphicService"),
|
|
33289
|
+
const d1 = mn(), f1 = mn(), QA = Symbol.for("GraphicService"), O4 = Symbol.for("GraphicCreator"), D4 = {
|
|
33290
33290
|
"stroke-linecap": "lineCap",
|
|
33291
33291
|
"stroke-linejoin": "lineJoin",
|
|
33292
33292
|
"stroke-dasharray": "lineDash",
|
|
@@ -33296,11 +33296,11 @@ const d1 = mn(), f1 = mn(), QA = Symbol.for("GraphicService"), OH = Symbol.for("
|
|
|
33296
33296
|
"stroke-opacity": "strokeOpacity",
|
|
33297
33297
|
stroke: "stroke",
|
|
33298
33298
|
fill: "fill"
|
|
33299
|
-
}, ese = Object.keys(
|
|
33299
|
+
}, ese = Object.keys(D4), tse = {
|
|
33300
33300
|
duration: 200,
|
|
33301
33301
|
easing: "cubicOut"
|
|
33302
33302
|
};
|
|
33303
|
-
function
|
|
33303
|
+
function H4(r) {
|
|
33304
33304
|
return r[0] = 1, r[1] = 0, r[2] = 0, r[3] = 0, r[4] = 0, r[5] = 1, r[6] = 0, r[7] = 0, r[8] = 0, r[9] = 0, r[10] = 1, r[11] = 0, r[12] = 0, r[13] = 0, r[14] = 0, r[15] = 1, r;
|
|
33305
33305
|
}
|
|
33306
33306
|
function ise(r, e, t) {
|
|
@@ -33369,7 +33369,7 @@ class e2 {
|
|
|
33369
33369
|
this.pools = [];
|
|
33370
33370
|
}
|
|
33371
33371
|
static identity(e) {
|
|
33372
|
-
return
|
|
33372
|
+
return H4(e);
|
|
33373
33373
|
}
|
|
33374
33374
|
allocate() {
|
|
33375
33375
|
if (!this.pools.length) return Xk();
|
|
@@ -34040,7 +34040,7 @@ class Kr extends Ine {
|
|
|
34040
34040
|
}
|
|
34041
34041
|
parsePath(e) {
|
|
34042
34042
|
if (!e) return null;
|
|
34043
|
-
let t =
|
|
34043
|
+
let t = B4[e];
|
|
34044
34044
|
if (t || (t = Kr.userSymbolMap[e], t)) return t;
|
|
34045
34045
|
const i = Doe[e];
|
|
34046
34046
|
if (joe(e = i || e) === !0) {
|
|
@@ -34052,7 +34052,7 @@ class Kr extends Ine {
|
|
|
34052
34052
|
c.forEach((v) => {
|
|
34053
34053
|
const C = new Xr().fromString(v.d), _ = {};
|
|
34054
34054
|
ese.forEach((y) => {
|
|
34055
|
-
v[y] && (_[
|
|
34055
|
+
v[y] && (_[D4[y]] = v[y]);
|
|
34056
34056
|
}), d.push({
|
|
34057
34057
|
path: C,
|
|
34058
34058
|
attribute: _
|
|
@@ -34819,7 +34819,7 @@ class bse extends Ha {
|
|
|
34819
34819
|
}, t)), this.afterDrawCbs.forEach((n) => n(this));
|
|
34820
34820
|
}
|
|
34821
34821
|
}
|
|
34822
|
-
const
|
|
34822
|
+
const N4 = Symbol.for("TransformUtil"), z4 = Symbol.for("GraphicUtil"), r2 = Symbol.for("LayerService"), W4 = Symbol.for("StaticLayerHandlerContribution"), Cse = Symbol.for("DynamicLayerHandlerContribution"), _se = Symbol.for("VirtualLayerHandlerContribution");
|
|
34823
34823
|
var t0, wse = function(r, e, t, i) {
|
|
34824
34824
|
var n, o = arguments.length, s = o < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i;
|
|
34825
34825
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(r, e, t, i);
|
|
@@ -34846,7 +34846,7 @@ let i0 = t0 = class {
|
|
|
34846
34846
|
}
|
|
34847
34847
|
getLayerHandler(r) {
|
|
34848
34848
|
let e;
|
|
34849
|
-
return e = r === "static" ? bt.get(
|
|
34849
|
+
return e = r === "static" ? bt.get(W4) : r === "dynamic" ? bt.get(Cse) : bt.get(_se), e;
|
|
34850
34850
|
}
|
|
34851
34851
|
createLayer(r, e = {
|
|
34852
34852
|
main: !1
|
|
@@ -34888,7 +34888,7 @@ let i0 = t0 = class {
|
|
|
34888
34888
|
};
|
|
34889
34889
|
i0.idprefix = "visactor_layer", i0.prefix_count = 0, i0 = t0 = wse([Ne(), yse("design:paramtypes", [])], i0);
|
|
34890
34890
|
const xse = new At((r) => {
|
|
34891
|
-
r(zA).to(jy).inSingletonScope(), r(ug).to(Jy), r(
|
|
34891
|
+
r(zA).to(jy).inSingletonScope(), r(ug).to(Jy), r(z4).to(Qy).inSingletonScope(), r(N4).to(ex).inSingletonScope(), r(r2).to(i0).inSingletonScope();
|
|
34892
34892
|
});
|
|
34893
34893
|
function Ed(r, e) {
|
|
34894
34894
|
return !(!r && !e);
|
|
@@ -34900,13 +34900,13 @@ function dg(r, e) {
|
|
|
34900
34900
|
function ju(r, e, t) {
|
|
34901
34901
|
return t && r * e > 0;
|
|
34902
34902
|
}
|
|
34903
|
-
function
|
|
34903
|
+
function U4(r, e, t, i, n) {
|
|
34904
34904
|
return n && r * e > 0 && t !== 0 && i !== 0;
|
|
34905
34905
|
}
|
|
34906
34906
|
function ax(r, e) {
|
|
34907
34907
|
return r * e > 0;
|
|
34908
34908
|
}
|
|
34909
|
-
function
|
|
34909
|
+
function V4(r, e, t, i, n) {
|
|
34910
34910
|
return n ? r * e > 0 : r * e > 0 && t !== 0 && i !== 0;
|
|
34911
34911
|
}
|
|
34912
34912
|
function Sse(r, e, t, i, n, o, s, a) {
|
|
@@ -34927,7 +34927,7 @@ function uh(r, e, t, i, n, o, s) {
|
|
|
34927
34927
|
y11: T * (n / S - 1)
|
|
34928
34928
|
};
|
|
34929
34929
|
}
|
|
34930
|
-
function
|
|
34930
|
+
function G4(r, e, t, i, n) {
|
|
34931
34931
|
const o = hi(t - e), s = r.getParsedCornerRadius(), a = oi(s), { outerDeltaAngle: l, innerDeltaAngle: h, outerStartAngle: u, outerEndAngle: c, innerEndAngle: d, innerStartAngle: f } = r.getParsePadAngle(e, t), g = a ? s[0] : s, p = a ? s[1] : s, m = a ? s[2] : s, v = a ? s[3] : s, C = Math.max(p, g), _ = Math.max(m, v);
|
|
34932
34932
|
let y = C, S = _;
|
|
34933
34933
|
const w = n * Lr(u), A = n * Zi(u), R = i * Lr(d), T = i * Zi(d);
|
|
@@ -34974,7 +34974,7 @@ function lx(r, e, t, i, n, o, s) {
|
|
|
34974
34974
|
if (n <= Pi) e.moveTo(t, i);
|
|
34975
34975
|
else if (h >= Mt - Pi) e.moveTo(t + n * Lr(a), i + n * Zi(a)), e.arc(t, i, n, a, l, !u), o > Pi && (e.moveTo(t + o * Lr(l), i + o * Zi(l)), e.arc(t, i, o, l, a, u));
|
|
34976
34976
|
else {
|
|
34977
|
-
const { outerDeltaAngle: d, xors: f, yors: g, xirs: p, yirs: m, limitedOcr: v, outerCornerRadiusStart: C, outerCornerRadiusEnd: _, maxOuterCornerRadius: y, xore: S, yore: w, xire: A, yire: R, outerStartAngle: T, outerEndAngle: M, limitedIcr: k, innerDeltaAngle: B, innerEndAngle: I, innerStartAngle: L, innerCornerRadiusStart: P, innerCornerRadiusEnd: O, maxInnerCornerRadius: H } =
|
|
34977
|
+
const { outerDeltaAngle: d, xors: f, yors: g, xirs: p, yirs: m, limitedOcr: v, outerCornerRadiusStart: C, outerCornerRadiusEnd: _, maxOuterCornerRadius: y, xore: S, yore: w, xire: A, yire: R, outerStartAngle: T, outerEndAngle: M, limitedIcr: k, innerDeltaAngle: B, innerEndAngle: I, innerStartAngle: L, innerCornerRadiusStart: P, innerCornerRadiusEnd: O, maxInnerCornerRadius: H } = G4(r, a, l, o, n);
|
|
34978
34978
|
if (d < 1e-3) s && (s[3] || s[1]) && e.moveTo(t + f, i + g), c = !0;
|
|
34979
34979
|
else if (v > Pi) {
|
|
34980
34980
|
const V = Mn(C, v), N = Mn(_, v), j = uh(p, m, f, g, n, V, Number(u)), U = uh(S, w, A, R, n, N, Number(u));
|
|
@@ -35010,7 +35010,7 @@ var Rse = function(r, e, t, i) {
|
|
|
35010
35010
|
e(t, i, r);
|
|
35011
35011
|
};
|
|
35012
35012
|
};
|
|
35013
|
-
function $
|
|
35013
|
+
function $4(r, e, t) {
|
|
35014
35014
|
var i;
|
|
35015
35015
|
const { x: n = t.x, y: o = t.y, z: s = t.z, dx: a = t.dx, dy: l = t.dy, dz: h = t.dz, scaleX: u = t.scaleX, scaleY: c = t.scaleY, scaleZ: d = t.scaleZ, alpha: f = t.alpha, beta: g = t.beta, angle: p = t.angle, anchor3d: m = e.attribute.anchor, anchor: v } = e.attribute, C = [0, 0, 0];
|
|
35016
35016
|
if (m) {
|
|
@@ -35024,7 +35024,7 @@ function $H(r, e, t) {
|
|
|
35024
35024
|
} else C[1] = m[1];
|
|
35025
35025
|
C[2] = (i = m[2]) !== null && i !== void 0 ? i : 0;
|
|
35026
35026
|
}
|
|
35027
|
-
if (
|
|
35027
|
+
if (H4(r), Lf(r, r, [n + a, o + l, s + h]), Lf(r, r, [C[0], C[1], C[2]]), ise(r, r, g), rse(r, r, f), Lf(r, r, [-C[0], -C[1], C[2]]), ose(r, r, [u, c, d]), p) {
|
|
35028
35028
|
const _ = Hr.allocate(), y = [0, 0];
|
|
35029
35029
|
if (v) {
|
|
35030
35030
|
if (typeof m[0] == "string") {
|
|
@@ -35137,7 +35137,7 @@ let gx = class {
|
|
|
35137
35137
|
};
|
|
35138
35138
|
}
|
|
35139
35139
|
};
|
|
35140
|
-
gx = Rse([Ne(), Ese(0, Ot(
|
|
35140
|
+
gx = Rse([Ne(), Ese(0, Ot(O4)), Tse("design:paramtypes", [Object])], gx);
|
|
35141
35141
|
const Yg = (r, e, t) => {
|
|
35142
35142
|
const { outerBorder: i, shadowBlur: n = e.shadowBlur } = r;
|
|
35143
35143
|
if (i) {
|
|
@@ -35196,7 +35196,7 @@ class kd extends Kr {
|
|
|
35196
35196
|
}
|
|
35197
35197
|
}
|
|
35198
35198
|
kd.NOWORK_ANIMATE_ATTR = ca;
|
|
35199
|
-
function
|
|
35199
|
+
function j4(r) {
|
|
35200
35200
|
return new kd(r);
|
|
35201
35201
|
}
|
|
35202
35202
|
class px {
|
|
@@ -35292,7 +35292,7 @@ const tB = ["text", "maxLineWidth", "maxWidth", "textAlign", "textBaseline", "he
|
|
|
35292
35292
|
class Wi extends Kr {
|
|
35293
35293
|
get font() {
|
|
35294
35294
|
const e = this.getGraphicTheme();
|
|
35295
|
-
return this._font || (this._font =
|
|
35295
|
+
return this._font || (this._font = t4(this.attribute, e)), this._font;
|
|
35296
35296
|
}
|
|
35297
35297
|
get clipedText() {
|
|
35298
35298
|
var e;
|
|
@@ -35725,7 +35725,7 @@ const Bse = (r, e, t) => {
|
|
|
35725
35725
|
}
|
|
35726
35726
|
return t;
|
|
35727
35727
|
}, iB = ["symbolType", "size", ...Ls];
|
|
35728
|
-
let
|
|
35728
|
+
let X4 = class vx extends Kr {
|
|
35729
35729
|
constructor(e = {
|
|
35730
35730
|
symbolType: "circle"
|
|
35731
35731
|
}) {
|
|
@@ -35798,14 +35798,14 @@ let XH = class vx extends Kr {
|
|
|
35798
35798
|
return vx.NOWORK_ANIMATE_ATTR;
|
|
35799
35799
|
}
|
|
35800
35800
|
};
|
|
35801
|
-
|
|
35801
|
+
X4.NOWORK_ANIMATE_ATTR = Object.assign({
|
|
35802
35802
|
symbolType: 1
|
|
35803
35803
|
}, ca);
|
|
35804
35804
|
function Bd(r) {
|
|
35805
|
-
return new
|
|
35805
|
+
return new X4(r);
|
|
35806
35806
|
}
|
|
35807
35807
|
const rB = ["segments", "points", "curveType", "curveTension", ...Ls];
|
|
35808
|
-
let
|
|
35808
|
+
let K4 = class bx extends Kr {
|
|
35809
35809
|
constructor(e = {}) {
|
|
35810
35810
|
super(e), this.type = "line", this.numberType = Xg;
|
|
35811
35811
|
}
|
|
@@ -35872,12 +35872,12 @@ let KH = class bx extends Kr {
|
|
|
35872
35872
|
return bx.NOWORK_ANIMATE_ATTR;
|
|
35873
35873
|
}
|
|
35874
35874
|
};
|
|
35875
|
-
|
|
35875
|
+
K4.NOWORK_ANIMATE_ATTR = Object.assign({
|
|
35876
35876
|
segments: 1,
|
|
35877
35877
|
curveType: 1
|
|
35878
35878
|
}, ca);
|
|
35879
35879
|
function Xo(r) {
|
|
35880
|
-
return new
|
|
35880
|
+
return new K4(r);
|
|
35881
35881
|
}
|
|
35882
35882
|
const Fse = (r) => {
|
|
35883
35883
|
if (!r) return {
|
|
@@ -36969,7 +36969,7 @@ class pg extends Kr {
|
|
|
36969
36969
|
}
|
|
36970
36970
|
}
|
|
36971
36971
|
pg.NOWORK_ANIMATE_ATTR = ca;
|
|
36972
|
-
function
|
|
36972
|
+
function Y4(r) {
|
|
36973
36973
|
return new pg(r);
|
|
36974
36974
|
}
|
|
36975
36975
|
class Nse extends Ha {
|
|
@@ -37405,13 +37405,13 @@ function Na(r, e, t, i, n, o, s = !0, a) {
|
|
|
37405
37405
|
} else a && a[0] ? a[0](p[0], p[1], v[0], v[1]) : r.lineTo(v[0], v[1]), a && a[1] ? a[1](v[0], v[1], _[0], _[1]) : r.lineTo(_[0], _[1]), a && a[2] ? a[2](_[0], _[1], S[0], S[1]) : r.lineTo(S[0], S[1]), a && a[2] ? a[2](S[0], S[1], p[0], p[1]) : r.lineTo(p[0], p[1]);
|
|
37406
37406
|
return !a && r.closePath(), r;
|
|
37407
37407
|
}
|
|
37408
|
-
var
|
|
37408
|
+
var q4 = function(r, e, t, i) {
|
|
37409
37409
|
var n, o = arguments.length, s = o < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i;
|
|
37410
37410
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(r, e, t, i);
|
|
37411
37411
|
else for (var a = r.length - 1; a >= 0; a--) (n = r[a]) && (s = (o < 3 ? n(s) : o > 3 ? n(e, t, s) : n(e, t)) || s);
|
|
37412
37412
|
return o > 3 && s && Object.defineProperty(e, t, s), s;
|
|
37413
37413
|
};
|
|
37414
|
-
class
|
|
37414
|
+
class Z4 {
|
|
37415
37415
|
constructor() {
|
|
37416
37416
|
this.time = Jt.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
37417
37417
|
}
|
|
@@ -37441,7 +37441,7 @@ let Id = class {
|
|
|
37441
37441
|
Array.isArray(g) && g.some((p) => p === !1) && (f.doStroke = !1);
|
|
37442
37442
|
}
|
|
37443
37443
|
};
|
|
37444
|
-
Id =
|
|
37444
|
+
Id = q4([Ne()], Id);
|
|
37445
37445
|
let Pd = class {
|
|
37446
37446
|
constructor() {
|
|
37447
37447
|
this.time = Jt.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37466,9 +37466,9 @@ let Pd = class {
|
|
|
37466
37466
|
}
|
|
37467
37467
|
}
|
|
37468
37468
|
};
|
|
37469
|
-
Pd =
|
|
37470
|
-
const oae = new
|
|
37471
|
-
class lae extends
|
|
37469
|
+
Pd = q4([Ne()], Pd);
|
|
37470
|
+
const oae = new Z4(), sae = Xd, aae = Eh;
|
|
37471
|
+
class lae extends Z4 {
|
|
37472
37472
|
constructor() {
|
|
37473
37473
|
super(...arguments), this.time = Jt.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
37474
37474
|
}
|
|
@@ -37571,7 +37571,7 @@ class Ao {
|
|
|
37571
37571
|
const g = f && (n || Mse(e)), p = g ? e.transMatrix.onlyTranslate() && !c : l === 1 && h === 1 && u === 0 && !c;
|
|
37572
37572
|
if (g) {
|
|
37573
37573
|
const m = Hr.allocate(), v = Hr.allocate();
|
|
37574
|
-
$
|
|
37574
|
+
$4(v, e, t), Kg(m, d || m, v), Cr.x = 0, Cr.y = 0, Cr.z = 0, i.modelMatrix = m, i.setTransform(1, 0, 0, 1, 0, 0, !0), Hr.free(v);
|
|
37575
37575
|
}
|
|
37576
37576
|
if (p && !d) {
|
|
37577
37577
|
const m = e.getOffsetXY(t);
|
|
@@ -37644,7 +37644,7 @@ let Hv = class extends Ao {
|
|
|
37644
37644
|
const O = n;
|
|
37645
37645
|
n = o, o = O;
|
|
37646
37646
|
}
|
|
37647
|
-
const { xors: g, yors: p, xirs: m, yirs: v, limitedOcr: C, outerCornerRadiusStart: _, outerCornerRadiusEnd: y, maxOuterCornerRadius: S, xore: w, yore: A, xire: R, yire: T, limitedIcr: M, innerDeltaAngle: k, innerStartAngle: B, innerCornerRadiusStart: I, innerCornerRadiusEnd: L, maxInnerCornerRadius: P } =
|
|
37647
|
+
const { xors: g, yors: p, xirs: m, yirs: v, limitedOcr: C, outerCornerRadiusStart: _, outerCornerRadiusEnd: y, maxOuterCornerRadius: S, xore: w, yore: A, xire: R, yire: T, limitedIcr: M, innerDeltaAngle: k, innerStartAngle: B, innerCornerRadiusStart: I, innerCornerRadiusEnd: L, maxInnerCornerRadius: P } = G4(r, u, c, o, n);
|
|
37648
37648
|
if (C > Pi) {
|
|
37649
37649
|
const O = Mn(_, C), H = Mn(y, C), V = uh(m, v, g, p, n, O, Number(d)), N = uh(w, A, R, T, n, H, Number(d));
|
|
37650
37650
|
if (C < S && O === H) e.moveTo(t + V.cx + V.x01, i + V.cy + V.y01), e.arc(t + V.cx, i + V.cy, C, li(V.y01, V.x01), li(N.y01, N.x01), !d);
|
|
@@ -37777,7 +37777,7 @@ function gB(r, e, t, i, n, o, s) {
|
|
|
37777
37777
|
}
|
|
37778
37778
|
return h;
|
|
37779
37779
|
}
|
|
37780
|
-
function
|
|
37780
|
+
function J4(r, e, t, i, n) {
|
|
37781
37781
|
const { offsetX: o = 0, offsetY: s = 0, offsetZ: a = 0, mode: l = "none", drawConnect: h = !1 } = n || {};
|
|
37782
37782
|
if (h && l === "none" || !e) return;
|
|
37783
37783
|
let u = !0;
|
|
@@ -37857,7 +37857,7 @@ let mg = class extends Ao {
|
|
|
37857
37857
|
if (!e) return;
|
|
37858
37858
|
r.beginPath();
|
|
37859
37859
|
const m = (p = this.z) !== null && p !== void 0 ? p : 0;
|
|
37860
|
-
|
|
37860
|
+
J4(r, e, l, h, {
|
|
37861
37861
|
offsetX: u,
|
|
37862
37862
|
offsetY: c,
|
|
37863
37863
|
offsetZ: m
|
|
@@ -38006,7 +38006,7 @@ var Eae = function(r, e, t, i) {
|
|
|
38006
38006
|
};
|
|
38007
38007
|
let yx = class extends Ao {
|
|
38008
38008
|
constructor(r) {
|
|
38009
|
-
super(), this.graphicRenderContributions = r, this.numberType =
|
|
38009
|
+
super(), this.graphicRenderContributions = r, this.numberType = L4, this.builtinContributions = [Rae, Tae], this.init(r);
|
|
38010
38010
|
}
|
|
38011
38011
|
drawLinearAreaHighPerformance(r, e, t, i, n, o, s, a, l, h, u, c, d) {
|
|
38012
38012
|
var f, g, p;
|
|
@@ -38175,7 +38175,7 @@ let yx = class extends Ao {
|
|
|
38175
38175
|
if (n !== !1) if (p) p(r, s, a);
|
|
38176
38176
|
else {
|
|
38177
38177
|
const { stroke: T = a && a[1] && a[1].stroke } = s;
|
|
38178
|
-
oi(T) && (T[0] || T[2]) && T[1] === !1 && (r.beginPath(),
|
|
38178
|
+
oi(T) && (T[0] || T[2]) && T[1] === !1 && (r.beginPath(), J4(r, T[0] ? e.top : e.bottom, l, y === gi.ROW ? "x" : "y", {
|
|
38179
38179
|
offsetX: h,
|
|
38180
38180
|
offsetY: u,
|
|
38181
38181
|
offsetZ: c
|
|
@@ -38247,7 +38247,7 @@ let Uv = class extends Ao {
|
|
|
38247
38247
|
const { fill: h = l.fill, background: u, stroke: c = l.stroke, cornerRadius: d = l.cornerRadius, cornerType: f = l.cornerType, opacity: g = l.opacity, fillOpacity: p = l.fillOpacity, lineWidth: m = l.lineWidth, strokeOpacity: v = l.strokeOpacity, visible: C = l.visible, x1: _, y1: y, x: S = l.x, y: w = l.y, fillStrokeOrder: A = l.fillStrokeOrder, drawStrokeWhenZeroWH: R = l.drawStrokeWhenZeroWH } = r.attribute;
|
|
38248
38248
|
let { width: T, height: M } = r.attribute;
|
|
38249
38249
|
T = (T ?? _ - S) || 0, M = (M ?? y - w) || 0;
|
|
38250
|
-
const k =
|
|
38250
|
+
const k = U4(g, p, T, M, h), B = V4(g, v, T, M, R), I = Ed(h, u), L = dg(c, m);
|
|
38251
38251
|
if (!r.valid || !C || !I && !L || !(k || B || s || a || u)) return;
|
|
38252
38252
|
d === 0 || oi(d) && d.every((O) => O === 0) ? (e.beginPath(), e.rect(t, i, T, M)) : (e.beginPath(), Na(e, t, i, T, M, d, f !== "bevel"));
|
|
38253
38253
|
const P = {
|
|
@@ -38396,7 +38396,7 @@ class Nae extends m1 {
|
|
|
38396
38396
|
L && Gv.free(I), B();
|
|
38397
38397
|
}
|
|
38398
38398
|
}
|
|
38399
|
-
const
|
|
38399
|
+
const Q4 = new Nae();
|
|
38400
38400
|
var zae = function(r, e, t, i) {
|
|
38401
38401
|
var n, o = arguments.length, s = o < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i;
|
|
38402
38402
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(r, e, t, i);
|
|
@@ -38411,7 +38411,7 @@ var zae = function(r, e, t, i) {
|
|
|
38411
38411
|
};
|
|
38412
38412
|
let xx = class extends Ao {
|
|
38413
38413
|
constructor(r) {
|
|
38414
|
-
super(), this.graphicRenderContributions = r, this.numberType = f1, this.builtinContributions = [
|
|
38414
|
+
super(), this.graphicRenderContributions = r, this.numberType = f1, this.builtinContributions = [Q4], this.init(r);
|
|
38415
38415
|
}
|
|
38416
38416
|
drawShape(r, e, t, i, n, o, s, a) {
|
|
38417
38417
|
var l, h, u;
|
|
@@ -38492,7 +38492,7 @@ let xx = class extends Ao {
|
|
|
38492
38492
|
}
|
|
38493
38493
|
};
|
|
38494
38494
|
xx = zae([Ne(), CB(0, Ot(vr)), CB(0, Wr(Ov)), Wae("design:paramtypes", [Object])], xx);
|
|
38495
|
-
function
|
|
38495
|
+
function eH(r, e, t, i) {
|
|
38496
38496
|
if (e && e.length) {
|
|
38497
38497
|
r.moveTo(e[0].x + t, e[0].y + i);
|
|
38498
38498
|
for (let n = 1; n < e.length; n++) r.lineTo(e[n].x + t, e[n].y + i);
|
|
@@ -38500,7 +38500,7 @@ function e4(r, e, t, i) {
|
|
|
38500
38500
|
}
|
|
38501
38501
|
function Uae(r, e, t, i, n, o = !0) {
|
|
38502
38502
|
var s;
|
|
38503
|
-
if (e.length < 3) return void
|
|
38503
|
+
if (e.length < 3) return void eH(r, e, t, i);
|
|
38504
38504
|
let a = 0, l = e.length - 1;
|
|
38505
38505
|
o || (a += 1, l -= 1, r.moveTo(e[0].x + t, e[0].y + i));
|
|
38506
38506
|
for (let h = a; h <= l; h++) {
|
|
@@ -38547,7 +38547,7 @@ let Sx = class extends Ao {
|
|
|
38547
38547
|
const l = kt(r, o == null ? void 0 : o.theme).polygon, { points: h = l.points, cornerRadius: u = l.cornerRadius, x: c = l.x, y: d = l.y, closePath: f = l.closePath, fillStrokeOrder: g = l.fillStrokeOrder } = r.attribute, p = this.valid(r, l, s, a);
|
|
38548
38548
|
if (!p) return;
|
|
38549
38549
|
const { fVisible: m, sVisible: v, doFill: C, doStroke: _ } = p;
|
|
38550
|
-
e.beginPath(), u <= 0 || oi(u) && u.every((w) => w === 0) ?
|
|
38550
|
+
e.beginPath(), u <= 0 || oi(u) && u.every((w) => w === 0) ? eH(e.camera ? e : e.nativeContext, h, t, i) : Uae(e.camera ? e : e.nativeContext, h, t, i, u, f), f && e.closePath(), e.setShadowBlendStyle && e.setShadowBlendStyle(r, r.attribute, l), this.beforeRenderStep(r, e, t, i, C, _, m, v, l, n, s, a);
|
|
38551
38551
|
const y = () => {
|
|
38552
38552
|
C && (s ? s(e, r.attribute, l) : m && (e.setCommonStyle(r, r.attribute, c - t, d - i, l), e.fill()));
|
|
38553
38553
|
}, S = () => {
|
|
@@ -38584,7 +38584,7 @@ let Ax = class {
|
|
|
38584
38584
|
const { clip: h, fill: u, stroke: c, background: d } = r.attribute;
|
|
38585
38585
|
if (!(h || u || c || d)) return;
|
|
38586
38586
|
l = l ?? kt(r, o == null ? void 0 : o.theme).group;
|
|
38587
|
-
const { opacity: f = l.opacity, width: g = l.width, height: p = l.height, fillOpacity: m = l.fillOpacity, strokeOpacity: v = l.strokeOpacity, cornerRadius: C = l.cornerRadius, path: _ = l.path, lineWidth: y = l.lineWidth, visible: S = l.visible, fillStrokeOrder: w = l.fillStrokeOrder, cornerType: A = l.cornerType, x: R = l.x, y: T = l.y } = r.attribute, M =
|
|
38587
|
+
const { opacity: f = l.opacity, width: g = l.width, height: p = l.height, fillOpacity: m = l.fillOpacity, strokeOpacity: v = l.strokeOpacity, cornerRadius: C = l.cornerRadius, path: _ = l.path, lineWidth: y = l.lineWidth, visible: S = l.visible, fillStrokeOrder: w = l.fillStrokeOrder, cornerType: A = l.cornerType, x: R = l.x, y: T = l.y } = r.attribute, M = U4(f, m, g, p, u), k = V4(f, v, g, p), B = Ed(u, d), I = dg(c, y);
|
|
38588
38588
|
if (!r.valid || !S || !h && (!B && !I || !(M || k || s || a || d)))
|
|
38589
38589
|
return;
|
|
38590
38590
|
if (_ && _.length && n.drawContribution) {
|
|
@@ -38629,7 +38629,7 @@ let Ax = class {
|
|
|
38629
38629
|
const f = s.modelMatrix;
|
|
38630
38630
|
if (s.camera) {
|
|
38631
38631
|
const v = kt(r, i == null ? void 0 : i.theme).group, C = Hr.allocate(), _ = Hr.allocate();
|
|
38632
|
-
$
|
|
38632
|
+
$4(_, r, v), Kg(C, f || C, _), s.modelMatrix = C, Hr.free(_), s.setTransform(1, 0, 0, 1, 0, 0, !0);
|
|
38633
38633
|
} else s.transformFromMatrix(r.transMatrix, !0);
|
|
38634
38634
|
s.beginPath(), i.skipDraw ? this.drawShape(r, s, 0, 0, t, i, () => !1, () => !1) : this.drawShape(r, s, 0, 0, t, null, null, null);
|
|
38635
38635
|
const { scrollX: g, scrollY: p } = r.attribute;
|
|
@@ -38704,7 +38704,7 @@ let Rx = class extends Ao {
|
|
|
38704
38704
|
}
|
|
38705
38705
|
};
|
|
38706
38706
|
Rx = Yae([Ne(), yB(0, Ot(vr)), yB(0, Wr(bu)), qae("design:paramtypes", [Object])], Rx);
|
|
38707
|
-
const
|
|
38707
|
+
const tH = Symbol.for("IncrementalDrawContribution"), $v = Symbol.for("ArcRender"), jv = Symbol.for("CircleRender"), lo = Symbol.for("GraphicRender"), xB = Symbol.for("GroupRender"), Xv = Symbol.for("LineRender"), Kv = Symbol.for("PathRender"), Yv = Symbol.for("PolygonRender"), qv = Symbol.for("RectRender"), Zv = Symbol.for("SymbolRender"), Tx = Symbol.for("TextRender"), Ex = Symbol.for("RichTextRender"), Mx = Symbol.for("ImageRender"), a2 = Symbol.for("DrawContribution"), iH = (r, e, t, i) => {
|
|
38708
38708
|
let n, o = !1, s = !1;
|
|
38709
38709
|
if (e.forEachChildren((a) => (o = a.numberType === Qoe, !o)), e.forEachChildren((a) => (s = !!a.findFace, !s)), o) {
|
|
38710
38710
|
const a = e.getChildren(), l = [...a];
|
|
@@ -38871,7 +38871,7 @@ class rle {
|
|
|
38871
38871
|
s.modelMatrix = Kg(c, u, h);
|
|
38872
38872
|
}
|
|
38873
38873
|
} else s.modelMatrix = h;
|
|
38874
|
-
return s.setTransform(1, 0, 0, 1, 0, 0, !0), e.isContainer ?
|
|
38874
|
+
return s.setTransform(1, 0, 0, 1, 0, 0, !0), e.isContainer ? iH(s, e, (c, d) => n.renderGroup(e, i, e.parent.globalTransMatrix, !c && d), i) : n.renderItem(e, i), s.camera = null, s.restore(), s.modelMatrix !== u && Hr.free(s.modelMatrix), s.modelMatrix = u, i.in3dInterceptor = !1, !0;
|
|
38875
38875
|
}
|
|
38876
38876
|
initCanvasCtx(e) {
|
|
38877
38877
|
e.setTransformForCurrent();
|
|
@@ -39000,7 +39000,7 @@ let rb = class {
|
|
|
39000
39000
|
const o = e.pickContext, s = r.stage;
|
|
39001
39001
|
if (!o || !s) return null;
|
|
39002
39002
|
if (i.in3dInterceptor = !0, o.save(), this.initCanvasCtx(o), o.camera = s.camera, r.isContainer) {
|
|
39003
|
-
const a =
|
|
39003
|
+
const a = iH(o, r, () => e.pickGroup(r, t, n.parentMatrix, i), i);
|
|
39004
39004
|
return o.camera = null, i.in3dInterceptor = !1, o.restore(), a;
|
|
39005
39005
|
}
|
|
39006
39006
|
return o.restore(), null;
|
|
@@ -39013,8 +39013,8 @@ rb = v1([Ne()], rb);
|
|
|
39013
39013
|
const lle = new At((r, e, t) => {
|
|
39014
39014
|
t(ud) || (r(RB).toSelf(), r(ud).toService(RB)), r(rb).toSelf().inSingletonScope(), r(Kc).toService(rb), r(tb).toSelf().inSingletonScope(), r(Kc).toService(tb), r(ib).toSelf().inSingletonScope(), r(Kc).toService(ib), En(r, Kc), r(eb).toSelf().inSingletonScope(), r(Qv).toService(eb), En(r, Qv);
|
|
39015
39015
|
}), hle = new At((r) => {
|
|
39016
|
-
r(QA).to(gx), r(
|
|
39017
|
-
}), bg = Symbol.for("AutoEnablePlugins"),
|
|
39016
|
+
r(QA).to(gx), r(O4).toConstantValue(st);
|
|
39017
|
+
}), bg = Symbol.for("AutoEnablePlugins"), rH = Symbol.for("PluginService");
|
|
39018
39018
|
var ule = function(r, e, t, i) {
|
|
39019
39019
|
var n, o = arguments.length, s = o < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i;
|
|
39020
39020
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(r, e, t, i);
|
|
@@ -39062,7 +39062,7 @@ let Bx = class {
|
|
|
39062
39062
|
};
|
|
39063
39063
|
Bx = ule([Ne(), TB(0, Ot(vr)), TB(0, Wr(bg)), cle("design:paramtypes", [Object])], Bx);
|
|
39064
39064
|
const dle = new At((r) => {
|
|
39065
|
-
r(
|
|
39065
|
+
r(rH).to(Bx), kie(r, bg);
|
|
39066
39066
|
}), fle = new At((r) => {
|
|
39067
39067
|
En(r, i1);
|
|
39068
39068
|
}), gle = new At((r) => {
|
|
@@ -39147,7 +39147,7 @@ let nb = class {
|
|
|
39147
39147
|
};
|
|
39148
39148
|
nb = ple([Ne(), mle("design:paramtypes", [])], nb);
|
|
39149
39149
|
const vle = new At((r) => {
|
|
39150
|
-
r(nb).toSelf(), r(
|
|
39150
|
+
r(nb).toSelf(), r(W4).toService(nb);
|
|
39151
39151
|
});
|
|
39152
39152
|
function ble(r) {
|
|
39153
39153
|
r.load(fle), r.load(gle), r.load(vle);
|
|
@@ -39177,7 +39177,7 @@ var Cle = function(r, e, t, i) {
|
|
|
39177
39177
|
l((i = i.apply(r, e || [])).next());
|
|
39178
39178
|
});
|
|
39179
39179
|
};
|
|
39180
|
-
function
|
|
39180
|
+
function nH(r, e, t) {
|
|
39181
39181
|
const i = {}, n = [];
|
|
39182
39182
|
return r.forEachChildren((o) => {
|
|
39183
39183
|
const { zIndex: s = e } = o.attribute;
|
|
@@ -39187,7 +39187,7 @@ function n4(r, e, t) {
|
|
|
39187
39187
|
zIdxArray: n
|
|
39188
39188
|
};
|
|
39189
39189
|
}
|
|
39190
|
-
function
|
|
39190
|
+
function oH(r, e, t, i = !1, n = !1) {
|
|
39191
39191
|
let o = !1;
|
|
39192
39192
|
if (n) o = !0;
|
|
39193
39193
|
else {
|
|
@@ -39200,7 +39200,7 @@ function o4(r, e, t, i = !1, n = !1) {
|
|
|
39200
39200
|
}, i);
|
|
39201
39201
|
}
|
|
39202
39202
|
if (o) {
|
|
39203
|
-
const { childMap: s, zIdxArray: a } =
|
|
39203
|
+
const { childMap: s, zIdxArray: a } = nH(r, e, i);
|
|
39204
39204
|
let l = !1;
|
|
39205
39205
|
for (let h = 0; h < a.length && !l; h++) {
|
|
39206
39206
|
const u = s[a[h]];
|
|
@@ -39231,7 +39231,7 @@ function _le(r, e, t, i = !1) {
|
|
|
39231
39231
|
}, i);
|
|
39232
39232
|
let o = null, s = !1;
|
|
39233
39233
|
if (n) {
|
|
39234
|
-
const { childMap: a, zIdxArray: l } =
|
|
39234
|
+
const { childMap: a, zIdxArray: l } = nH(r, t, i);
|
|
39235
39235
|
let h = !1;
|
|
39236
39236
|
for (let u = 0; u < l.length && !h; u++) {
|
|
39237
39237
|
const c = a[l[u]];
|
|
@@ -39264,7 +39264,7 @@ let ob = class {
|
|
|
39264
39264
|
var s;
|
|
39265
39265
|
t ? i.forEachChildren((a) => {
|
|
39266
39266
|
n.break || (a.isContainer ? this.renderGroup(a, n, o) : this.renderItem(a, n));
|
|
39267
|
-
}) :
|
|
39267
|
+
}) : oH(i, ar.zIndex, (a) => {
|
|
39268
39268
|
n.break || (a.isContainer ? this.renderGroup(a, n, o) : this.renderItem(a, n));
|
|
39269
39269
|
}, !1, !!(!((s = n.context) === null || s === void 0) && s.camera));
|
|
39270
39270
|
}, this.currentRenderMap = /* @__PURE__ */ new Map(), this.defaultRenderMap = /* @__PURE__ */ new Map(), this.styleRenderMap = /* @__PURE__ */ new Map(), this.dirtyBounds = new og(), this.backupDirtyBounds = new og(), this.global = We.global, this.layerService = We.layerService, oi(this.contributions) || (this.contributions = [this.contributions]), this.init();
|
|
@@ -39341,7 +39341,7 @@ let ob = class {
|
|
|
39341
39341
|
zIndex: n.size,
|
|
39342
39342
|
group: r
|
|
39343
39343
|
}, n.set(r._uid, o));
|
|
39344
|
-
const s = o.layer.getNativeHandler().getContext(), a = o.drawContribution || bt.get(
|
|
39344
|
+
const s = o.layer.getNativeHandler().getContext(), a = o.drawContribution || bt.get(tH);
|
|
39345
39345
|
a.dirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0), a.backupDirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0), a.draw(this.currentRenderService, Object.assign(Object.assign({}, e), {
|
|
39346
39346
|
drawContribution: a,
|
|
39347
39347
|
clear: "transparent",
|
|
@@ -39472,7 +39472,7 @@ var Sle = function(r, e, t, i) {
|
|
|
39472
39472
|
};
|
|
39473
39473
|
let Fx = class extends yx {
|
|
39474
39474
|
constructor() {
|
|
39475
|
-
super(...arguments), this.numberType =
|
|
39475
|
+
super(...arguments), this.numberType = L4;
|
|
39476
39476
|
}
|
|
39477
39477
|
drawShape(r, e, t, i, n, o, s) {
|
|
39478
39478
|
if (r.incremental && n.multiGraphicOptions) {
|
|
@@ -39627,7 +39627,7 @@ let Ix = class extends ob {
|
|
|
39627
39627
|
};
|
|
39628
39628
|
Ix = Ale([Ne(), Nf(0, KD(lo)), Nf(1, Ot(sb)), Nf(2, Ot(Fx)), Nf(3, Ot(vr)), Nf(3, Wr(vg)), Rle("design:paramtypes", [Array, Object, Object, Object])], Ix);
|
|
39629
39629
|
const Tle = new At((r) => {
|
|
39630
|
-
r(m1).toSelf().inSingletonScope(), r(s2).toSelf().inSingletonScope(), r(a2).to(ob), r(
|
|
39630
|
+
r(m1).toSelf().inSingletonScope(), r(s2).toSelf().inSingletonScope(), r(a2).to(ob), r(tH).to(Ix), r(xB).to(Ax).inSingletonScope(), r(lo).toService(xB), En(r, Ks), r(aa).toSelf().inSingletonScope(), En(r, n2), En(r, lo), r(Jv).toSelf().inSingletonScope(), r(vg).toService(Jv), En(r, vg);
|
|
39631
39631
|
});
|
|
39632
39632
|
function Ele(r) {
|
|
39633
39633
|
r.load(Tle);
|
|
@@ -39638,9 +39638,9 @@ function Cg() {
|
|
|
39638
39638
|
Cg.__loaded = !1, Cg();
|
|
39639
39639
|
const ft = bt.get(zA);
|
|
39640
39640
|
We.global = ft;
|
|
39641
|
-
const Mle = bt.get(
|
|
39641
|
+
const Mle = bt.get(z4);
|
|
39642
39642
|
We.graphicUtil = Mle;
|
|
39643
|
-
const kle = bt.get(
|
|
39643
|
+
const kle = bt.get(N4);
|
|
39644
39644
|
We.transformUtil = kle;
|
|
39645
39645
|
const Ble = bt.get(QA);
|
|
39646
39646
|
We.graphicService = Ble;
|
|
@@ -39770,7 +39770,7 @@ class Ole {
|
|
|
39770
39770
|
}
|
|
39771
39771
|
}
|
|
39772
39772
|
let du;
|
|
39773
|
-
function
|
|
39773
|
+
function sH() {
|
|
39774
39774
|
if (du == null) try {
|
|
39775
39775
|
const r = document.createElement("canvas"), e = r.getContext("2d");
|
|
39776
39776
|
du = !!(window && r.getBoundingClientRect && requestAnimationFrame && window.devicePixelRatio && e && e.isPointInPath && e.isPointInStroke), du && (du = !!document.createElement);
|
|
@@ -39779,12 +39779,12 @@ function s4() {
|
|
|
39779
39779
|
}
|
|
39780
39780
|
}
|
|
39781
39781
|
function l2() {
|
|
39782
|
-
|
|
39782
|
+
sH();
|
|
39783
39783
|
const r = We.global && We.global.env;
|
|
39784
39784
|
return r ? r === "browser" : du;
|
|
39785
39785
|
}
|
|
39786
39786
|
function Dle() {
|
|
39787
|
-
|
|
39787
|
+
sH();
|
|
39788
39788
|
const r = We.global && We.global.env;
|
|
39789
39789
|
return r ? r === "node" : !du;
|
|
39790
39790
|
}
|
|
@@ -39895,7 +39895,7 @@ class Hle extends Ha {
|
|
|
39895
39895
|
afterRender: new Dn(["stage"]),
|
|
39896
39896
|
afterClearScreen: new Dn(["stage"]),
|
|
39897
39897
|
afterClearRect: new Dn(["stage"])
|
|
39898
|
-
}, this.global = We.global, !this.global.env && l2() && this.global.setEnv("browser"), this.window = bt.get(ug), this.renderService = bt.get(WA), this.pluginService = bt.get(
|
|
39898
|
+
}, this.global = We.global, !this.global.env && l2() && this.global.setEnv("browser"), this.window = bt.get(ug), this.renderService = bt.get(WA), this.pluginService = bt.get(rH), this.layerService = bt.get(r2), this.graphicService = bt.get(QA), this.pluginService.active(this, e), this._beforeRenderList = [], this._afterRenderList = [], this.window.create({
|
|
39899
39899
|
width: e.width,
|
|
39900
39900
|
height: e.height,
|
|
39901
39901
|
viewBox: e.viewBox,
|
|
@@ -40535,7 +40535,7 @@ let Lx = class {
|
|
|
40535
40535
|
const c = this.pickItem(r, h.clone(), t, i);
|
|
40536
40536
|
c && c.graphic && (n.graphic = c.graphic, n.params = c.params);
|
|
40537
40537
|
const d = r.attribute.pickable !== !1 && u;
|
|
40538
|
-
return l.multiply(a.a, a.b, a.c, a.d, a.e, a.f), r.attribute.childrenPickable === !1 || c && c.graphic ||
|
|
40538
|
+
return l.multiply(a.a, a.b, a.c, a.d, a.e, a.f), r.attribute.childrenPickable === !1 || c && c.graphic || oH(r, ar.zIndex, (f) => {
|
|
40539
40539
|
if (f.isContainer) {
|
|
40540
40540
|
const g = new Ei(e.x, e.y), p = kt(r).group, { scrollX: m = p.scrollX, scrollY: v = p.scrollY } = r.attribute;
|
|
40541
40541
|
g.x -= m, g.y -= v, n = this.pickGroup(f, g, l, i);
|
|
@@ -40602,7 +40602,7 @@ var the = function(r, e, t, i) {
|
|
|
40602
40602
|
};
|
|
40603
40603
|
let Ox = class extends Ao {
|
|
40604
40604
|
constructor() {
|
|
40605
|
-
super(), this.numberType = JA, this.builtinContributions = [
|
|
40605
|
+
super(), this.numberType = JA, this.builtinContributions = [Q4], this.init();
|
|
40606
40606
|
}
|
|
40607
40607
|
drawShape(r, e, t, i, n) {
|
|
40608
40608
|
const o = kt(r).richtext, { strokeOpacity: s = o.strokeOpacity, opacity: a = o.opacity, fillOpacity: l = o.fillOpacity, visible: h = o.visible } = r.attribute;
|
|
@@ -40638,7 +40638,7 @@ function ohe() {
|
|
|
40638
40638
|
st.RegisterGraphicCreator("arc", Dv);
|
|
40639
40639
|
}
|
|
40640
40640
|
function she() {
|
|
40641
|
-
st.RegisterGraphicCreator("circle",
|
|
40641
|
+
st.RegisterGraphicCreator("circle", j4);
|
|
40642
40642
|
}
|
|
40643
40643
|
function ahe() {
|
|
40644
40644
|
st.RegisterGraphicCreator("group", Lv);
|
|
@@ -40653,7 +40653,7 @@ function uhe() {
|
|
|
40653
40653
|
st.RegisterGraphicCreator("path", Hse);
|
|
40654
40654
|
}
|
|
40655
40655
|
function che() {
|
|
40656
|
-
st.RegisterGraphicCreator("polygon",
|
|
40656
|
+
st.RegisterGraphicCreator("polygon", Y4);
|
|
40657
40657
|
}
|
|
40658
40658
|
function dhe() {
|
|
40659
40659
|
st.RegisterGraphicCreator("rect", Oi);
|
|
@@ -40936,7 +40936,7 @@ const ro = (r, e, t) => {
|
|
|
40936
40936
|
for (let n = 0; n < i.length; n++) r = r ? r[i[n]] : void 0;
|
|
40937
40937
|
return r === void 0 ? t : r;
|
|
40938
40938
|
};
|
|
40939
|
-
function
|
|
40939
|
+
function aH(r, e, t) {
|
|
40940
40940
|
let i;
|
|
40941
40941
|
if (!ut(r) || typeof r != "object" || e) return r;
|
|
40942
40942
|
const n = Ai(r), o = r.length;
|
|
@@ -40945,11 +40945,11 @@ function a4(r, e, t) {
|
|
|
40945
40945
|
let a = -1;
|
|
40946
40946
|
if (i) for (; ++a < (s || r).length; ) {
|
|
40947
40947
|
const l = s ? s[a] : a, h = r[l];
|
|
40948
|
-
i[l] =
|
|
40948
|
+
i[l] = aH(h, e);
|
|
40949
40949
|
}
|
|
40950
40950
|
return i;
|
|
40951
40951
|
}
|
|
40952
|
-
function
|
|
40952
|
+
function lH(r, e, t = !1, i = !1) {
|
|
40953
40953
|
if (e) {
|
|
40954
40954
|
if (r === e) return;
|
|
40955
40955
|
if (ut(e) && typeof e == "object") {
|
|
@@ -40958,7 +40958,7 @@ function l4(r, e, t = !1, i = !1) {
|
|
|
40958
40958
|
let { length: s } = o, a = -1;
|
|
40959
40959
|
for (; s--; ) {
|
|
40960
40960
|
const l = o[++a];
|
|
40961
|
-
!ut(n[l]) || typeof n[l] != "object" || i && Ai(r[l]) ?
|
|
40961
|
+
!ut(n[l]) || typeof n[l] != "object" || i && Ai(r[l]) ? hH(r, l, n[l]) : Ahe(r, e, l, t, i);
|
|
40962
40962
|
}
|
|
40963
40963
|
}
|
|
40964
40964
|
}
|
|
@@ -40976,9 +40976,9 @@ function Ahe(r, e, t, i = !1, n = !1) {
|
|
|
40976
40976
|
for (; ++h < u; ) a[h] = o[h];
|
|
40977
40977
|
}
|
|
40978
40978
|
} else A0(s) ? (a = o ?? {}, typeof o != "function" && typeof o == "object" || (a = {})) : l = !1;
|
|
40979
|
-
l &&
|
|
40979
|
+
l && lH(a, s, i, n), hH(r, t, a);
|
|
40980
40980
|
}
|
|
40981
|
-
function
|
|
40981
|
+
function hH(r, e, t) {
|
|
40982
40982
|
(t !== void 0 && !Rhe(r[e], t) || t === void 0 && !(e in r)) && (r[e] = t);
|
|
40983
40983
|
}
|
|
40984
40984
|
function Rhe(r, e) {
|
|
@@ -40988,7 +40988,7 @@ function vt(r, ...e) {
|
|
|
40988
40988
|
let t = -1;
|
|
40989
40989
|
const i = e.length;
|
|
40990
40990
|
for (; ++t < i; )
|
|
40991
|
-
|
|
40991
|
+
lH(r, e[t], !0);
|
|
40992
40992
|
return r;
|
|
40993
40993
|
}
|
|
40994
40994
|
function The(r) {
|
|
@@ -41022,7 +41022,7 @@ function qc(r) {
|
|
|
41022
41022
|
if (u2(r))
|
|
41023
41023
|
return r[r.length - 1];
|
|
41024
41024
|
}
|
|
41025
|
-
const
|
|
41025
|
+
const uH = (r, e) => {
|
|
41026
41026
|
var t;
|
|
41027
41027
|
if (r.length === 0) return;
|
|
41028
41028
|
let i = r[0];
|
|
@@ -41073,7 +41073,7 @@ try {
|
|
|
41073
41073
|
} catch {
|
|
41074
41074
|
cb = !1;
|
|
41075
41075
|
}
|
|
41076
|
-
function
|
|
41076
|
+
function cH(r, e, t) {
|
|
41077
41077
|
let i, n, o, s, a, l, h = 0, u = !1, c = !1, d = !0;
|
|
41078
41078
|
const f = !e && e !== 0 && cb;
|
|
41079
41079
|
if (typeof r != "function") throw new TypeError("Expected a function");
|
|
@@ -41121,10 +41121,10 @@ function c4(r, e, t) {
|
|
|
41121
41121
|
}, _;
|
|
41122
41122
|
}
|
|
41123
41123
|
cb = !1;
|
|
41124
|
-
function
|
|
41124
|
+
function dH(r, e, t) {
|
|
41125
41125
|
let i = !0, n = !0;
|
|
41126
41126
|
if (typeof r != "function") throw new TypeError("Expected a function");
|
|
41127
|
-
return la(t) && (i = "leading" in t ? !!t.leading : i, n = "trailing" in t ? !!t.trailing : n),
|
|
41127
|
+
return la(t) && (i = "leading" in t ? !!t.leading : i, n = "trailing" in t ? !!t.trailing : n), cH(r, e, {
|
|
41128
41128
|
leading: i,
|
|
41129
41129
|
trailing: n,
|
|
41130
41130
|
maxWait: e
|
|
@@ -41154,7 +41154,7 @@ function $B(r) {
|
|
|
41154
41154
|
function Lhe(r, e, t) {
|
|
41155
41155
|
if (r === null) return e;
|
|
41156
41156
|
if (e === null) return r;
|
|
41157
|
-
const { x11: i, x12: n, y11: o, y12: s, x21: a, x22: l, y21: h, y22: u } =
|
|
41157
|
+
const { x11: i, x12: n, y11: o, y12: s, x21: a, x22: l, y21: h, y22: u } = fH(r, e);
|
|
41158
41158
|
return i >= l || n <= a || o >= u || s <= h ? {
|
|
41159
41159
|
x1: 0,
|
|
41160
41160
|
y1: 0,
|
|
@@ -41171,7 +41171,7 @@ var Zc;
|
|
|
41171
41171
|
(function(r) {
|
|
41172
41172
|
r[r.NONE = 0] = "NONE", r[r.BBOX1 = 1] = "BBOX1", r[r.BBOX2 = 2] = "BBOX2";
|
|
41173
41173
|
})(Zc || (Zc = {}));
|
|
41174
|
-
const
|
|
41174
|
+
const fH = (r, e, t) => {
|
|
41175
41175
|
let i = r.x1, n = r.x2, o = r.y1, s = r.y2, a = e.x1, l = e.x2, h = e.y1, u = e.y2;
|
|
41176
41176
|
return {
|
|
41177
41177
|
x11: i,
|
|
@@ -41186,7 +41186,7 @@ const f4 = (r, e, t) => {
|
|
|
41186
41186
|
};
|
|
41187
41187
|
function Ohe(r, e, t) {
|
|
41188
41188
|
if (!r || !e) return Zc.NONE;
|
|
41189
|
-
const { x11: i, x12: n, y11: o, y12: s, x21: a, x22: l, y21: h, y22: u } =
|
|
41189
|
+
const { x11: i, x12: n, y11: o, y12: s, x21: a, x22: l, y21: h, y22: u } = fH(r, e);
|
|
41190
41190
|
return i > a && n < l && o > h && s < u ? Zc.BBOX1 : a > i && l < n && h > o && u < s ? Zc.BBOX2 : Zc.NONE;
|
|
41191
41191
|
}
|
|
41192
41192
|
function Dhe(r, e, t) {
|
|
@@ -41450,12 +41450,12 @@ function Whe(r, e, t) {
|
|
|
41450
41450
|
const { x1: i, y1: n, x2: o, y2: s } = e;
|
|
41451
41451
|
return t.onlyTranslate() ? (r !== e && r.setValue(e.x1, e.y1, e.x2, e.y2), r.translate(t.e, t.f), e) : (r.clear(), r.add(t.a * i + t.c * n + t.e, t.b * i + t.d * n + t.f), r.add(t.a * o + t.c * n + t.e, t.b * o + t.d * n + t.f), r.add(t.a * o + t.c * s + t.e, t.b * o + t.d * s + t.f), r.add(t.a * i + t.c * s + t.e, t.b * i + t.d * s + t.f), e);
|
|
41452
41452
|
}
|
|
41453
|
-
let
|
|
41453
|
+
let gH = class pH {
|
|
41454
41454
|
constructor(e) {
|
|
41455
41455
|
e ? this.setValue(e.x1, e.y1, e.x2, e.y2) : this.clear();
|
|
41456
41456
|
}
|
|
41457
41457
|
clone() {
|
|
41458
|
-
return new
|
|
41458
|
+
return new pH(this);
|
|
41459
41459
|
}
|
|
41460
41460
|
clear() {
|
|
41461
41461
|
return this.x1 = +Number.MAX_VALUE, this.y1 = +Number.MAX_VALUE, this.x2 = -Number.MAX_VALUE, this.y2 = -Number.MAX_VALUE, this;
|
|
@@ -41539,7 +41539,7 @@ let g4 = class p4 {
|
|
|
41539
41539
|
const { x1: o, y1: s, x2: a, y2: l } = this;
|
|
41540
41540
|
return [e * o + (1 - e) * i, t * s + (1 - t) * n, e * a + (1 - e) * i, t * l + (1 - t) * n];
|
|
41541
41541
|
}
|
|
41542
|
-
}, _g = class extends
|
|
41542
|
+
}, _g = class extends gH {
|
|
41543
41543
|
};
|
|
41544
41544
|
function ha(r) {
|
|
41545
41545
|
if (xr(r)) return [r, r, r, r];
|
|
@@ -41623,7 +41623,7 @@ class Ro extends Ha {
|
|
|
41623
41623
|
const Mh = Symbol.for("MathPickerContribution"), YB = Symbol.for("MathArcPicker"), qB = Symbol.for("MathCirclePicker"), fb = Symbol.for("MathImagePicker"), ZB = Symbol.for("MathLinePicker"), JB = Symbol.for("MathPathPicker"), QB = Symbol.for("MathRectPicker"), eF = Symbol.for("MathSymbolPicker"), tF = Symbol.for("MathTextPicker"), iF = Symbol.for("MathPolygonPicker"), rF = Symbol.for("CanvasArcPicker"), nF = Symbol.for("CanvasCirclePicker"), oF = Symbol.for("CanvasImagePicker"), sF = Symbol.for("CanvasLinePicker"), aF = Symbol.for("CanvasPathPicker"), lF = Symbol.for("CanvasRectPicker"), hF = Symbol.for("CanvasSymbolPicker"), uF = Symbol.for("CanvasTextPicker"), cF = Symbol.for("CanvasPolygonPicker"), dF = Symbol.for("CanvasRichTextPicker"), fF = Symbol.for("CanvasGroupPicker"), xo = Symbol.for("CanvasPickerContribution"), d2 = (r, e) => Object.prototype.toString.call(r) === `[object ${e}]`, Vhe = (r) => typeof r == "function", zw = (r, e = !1) => {
|
|
41624
41624
|
const t = typeof r;
|
|
41625
41625
|
return e ? t === "string" : t === "string" || d2(r, "String");
|
|
41626
|
-
},
|
|
41626
|
+
}, mH = (r) => Array.isArray ? Array.isArray(r) : d2(r, "Array"), f2 = (r, e = !1) => {
|
|
41627
41627
|
const t = typeof r;
|
|
41628
41628
|
return e ? t === "number" : t === "number" || d2(r, "Number");
|
|
41629
41629
|
}, gF = (r) => f2(r) && Number.isFinite(r), Ghe = typeof console < "u";
|
|
@@ -41635,7 +41635,7 @@ var Ys;
|
|
|
41635
41635
|
(function(r) {
|
|
41636
41636
|
r[r.None = 0] = "None", r[r.Error = 1] = "Error", r[r.Warn = 2] = "Warn", r[r.Info = 3] = "Info", r[r.Debug = 4] = "Debug";
|
|
41637
41637
|
})(Ys || (Ys = {}));
|
|
41638
|
-
let
|
|
41638
|
+
let vH = class Lo {
|
|
41639
41639
|
static getInstance(e, t) {
|
|
41640
41640
|
return Lo._instance && f2(e) ? Lo._instance.level(e) : Lo._instance || (Lo._instance = new Lo(e, t)), Lo._instance;
|
|
41641
41641
|
}
|
|
@@ -41690,7 +41690,7 @@ let v4 = class Lo {
|
|
|
41690
41690
|
return this._level >= Ys.Debug && Bm(this._method || "log", "DEBUG", e), this;
|
|
41691
41691
|
}
|
|
41692
41692
|
};
|
|
41693
|
-
|
|
41693
|
+
vH._instance = null;
|
|
41694
41694
|
const $he = Math.PI, pF = 2 * Math.PI;
|
|
41695
41695
|
function jhe(r) {
|
|
41696
41696
|
return 180 * r / Math.PI;
|
|
@@ -41704,12 +41704,12 @@ function Xhe(r, e, t) {
|
|
|
41704
41704
|
const { x1: i, y1: n, x2: o, y2: s } = e;
|
|
41705
41705
|
return t.onlyTranslate() ? (r !== e && r.setValue(e.x1, e.y1, e.x2, e.y2), r.translate(t.e, t.f), e) : (r.clear(), r.add(t.a * i + t.c * n + t.e, t.b * i + t.d * n + t.f), r.add(t.a * o + t.c * n + t.e, t.b * o + t.d * n + t.f), r.add(t.a * o + t.c * s + t.e, t.b * o + t.d * s + t.f), r.add(t.a * i + t.c * s + t.e, t.b * i + t.d * s + t.f), e);
|
|
41706
41706
|
}
|
|
41707
|
-
let Khe = class
|
|
41707
|
+
let Khe = class bH {
|
|
41708
41708
|
constructor(e) {
|
|
41709
41709
|
e ? this.setValue(e.x1, e.y1, e.x2, e.y2) : this.clear();
|
|
41710
41710
|
}
|
|
41711
41711
|
clone() {
|
|
41712
|
-
return new
|
|
41712
|
+
return new bH(this);
|
|
41713
41713
|
}
|
|
41714
41714
|
clear() {
|
|
41715
41715
|
return this.x1 = +Number.MAX_VALUE, this.y1 = +Number.MAX_VALUE, this.x2 = -Number.MAX_VALUE, this.y2 = -Number.MAX_VALUE, this;
|
|
@@ -41730,7 +41730,7 @@ let Khe = class b4 {
|
|
|
41730
41730
|
return e < this.x1 && (this.x1 = e), t < this.y1 && (this.y1 = t), e > this.x2 && (this.x2 = e), t > this.y2 && (this.y2 = t), this;
|
|
41731
41731
|
}
|
|
41732
41732
|
expand(e = 0) {
|
|
41733
|
-
return
|
|
41733
|
+
return mH(e) ? (this.y1 -= e[0], this.x2 += e[1], this.y2 += e[2], this.x1 -= e[3]) : (this.x1 -= e, this.y1 -= e, this.x2 += e, this.y2 += e), this;
|
|
41734
41734
|
}
|
|
41735
41735
|
round() {
|
|
41736
41736
|
return this.x1 = Math.floor(this.x1), this.y1 = Math.floor(this.y1), this.x2 = Math.ceil(this.x2), this.y2 = Math.ceil(this.y2), this;
|
|
@@ -42083,7 +42083,7 @@ class Zhe extends Th {
|
|
|
42083
42083
|
emitEvent(e, t) {
|
|
42084
42084
|
if (!this.element) return;
|
|
42085
42085
|
const i = this.element._events;
|
|
42086
|
-
this._callListeners(e, t, i[
|
|
42086
|
+
this._callListeners(e, t, i[E4]), this._callListeners(e, t, i[e]), this.emit(e, t);
|
|
42087
42087
|
}
|
|
42088
42088
|
_callListeners(e, t, i) {
|
|
42089
42089
|
if (i) if ("fn" in i) i.fn.call(i.context, t, e);
|
|
@@ -42208,9 +42208,9 @@ let dd = class {
|
|
|
42208
42208
|
r !== !!this._inuse && (this._inuse = r, r ? (this.nativeContext.save(), this.reset()) : (this.nativeContext.restore(), this._font = ""));
|
|
42209
42209
|
}
|
|
42210
42210
|
constructor(r, e) {
|
|
42211
|
-
this.fillAttributes = Object.assign(Object.assign({},
|
|
42211
|
+
this.fillAttributes = Object.assign(Object.assign({}, g4), {
|
|
42212
42212
|
opacity: 1
|
|
42213
|
-
}), this.strokeAttributes = Object.assign(Object.assign({},
|
|
42213
|
+
}), this.strokeAttributes = Object.assign(Object.assign({}, p4), {
|
|
42214
42214
|
opacity: 1
|
|
42215
42215
|
}), this.textAttributes = Object.assign(Object.assign({}, Co), {
|
|
42216
42216
|
opacity: 1
|
|
@@ -42220,7 +42220,7 @@ let dd = class {
|
|
|
42220
42220
|
this.nativeContext = t, this.canvas = r, this.matrix = new Ba(1, 0, 0, 1, 0, 0), this.stack = [], this.dpr = e, this.applyedMatrix = new Ba(1, 0, 0, 1, 0, 0), this._clearMatrix = new Ba(1, 0, 0, 1, 0, 0), this.baseGlobalAlpha = 1;
|
|
42221
42221
|
}
|
|
42222
42222
|
reset(r = !0) {
|
|
42223
|
-
this.stack.length &&
|
|
42223
|
+
this.stack.length && vH.getInstance().warn("可能存在bug,matrix没有清空"), this.matrix.setValue(1, 0, 0, 1, 0, 0), this.applyedMatrix = new Ba(1, 0, 0, 1, 0, 0), this.stack.length = 0, r && this.nativeContext.setTransform(1, 0, 0, 1, 0, 0);
|
|
42224
42224
|
}
|
|
42225
42225
|
getCanvas() {
|
|
42226
42226
|
return this.canvas;
|
|
@@ -42597,12 +42597,12 @@ let fd = class extends t2 {
|
|
|
42597
42597
|
}
|
|
42598
42598
|
};
|
|
42599
42599
|
fd.env = "browser", fd = tue([Ne(), iue("design:paramtypes", [Object])], fd);
|
|
42600
|
-
function
|
|
42600
|
+
function CH(r, e) {
|
|
42601
42601
|
return new At((t) => {
|
|
42602
|
-
t(
|
|
42602
|
+
t(w4).toDynamicValue(() => (i) => new r(i)).whenTargetNamed(r.env), t(hne).toDynamicValue(() => (i, n) => new e(i, n)).whenTargetNamed(e.env);
|
|
42603
42603
|
});
|
|
42604
42604
|
}
|
|
42605
|
-
const rue =
|
|
42605
|
+
const rue = CH(fd, dd);
|
|
42606
42606
|
var nue = function(r, e, t, i) {
|
|
42607
42607
|
var n, o = arguments.length, s = o < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i;
|
|
42608
42608
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(r, e, t, i);
|
|
@@ -43237,7 +43237,7 @@ let SF = !1;
|
|
|
43237
43237
|
const Due = new At((r, e, t, i) => {
|
|
43238
43238
|
SF || (SF = !0, r(JB).to(Gx).inSingletonScope(), r(Mh).toService(JB));
|
|
43239
43239
|
}), Ww = new g2();
|
|
43240
|
-
class
|
|
43240
|
+
class _H {
|
|
43241
43241
|
constructor() {
|
|
43242
43242
|
this.type = "rect", this.numberType = ZA;
|
|
43243
43243
|
}
|
|
@@ -43255,7 +43255,7 @@ class _4 {
|
|
|
43255
43255
|
a += c.x, l += c.y, n.setTransformForCurrent();
|
|
43256
43256
|
} else a = 0, l = 0, h = !1, n.transformFromMatrix(e.transMatrix, !0);
|
|
43257
43257
|
let u = !0;
|
|
43258
|
-
if (!h || e.shadowRoot || f2(s, !0) && s !== 0 ||
|
|
43258
|
+
if (!h || e.shadowRoot || f2(s, !0) && s !== 0 || mH(s) && s.some((c) => c !== 0)) u = !1, this.canvasRenderer.drawShape(e, n, a, l, {}, null, (c, d, f) => !!u || (u = c.isPointInPath(t.x, t.y), u), (c, d, f) => {
|
|
43259
43259
|
if (u) return !0;
|
|
43260
43260
|
const g = d.lineWidth || f.lineWidth, p = d.pickStrokeBuffer || f.pickStrokeBuffer, m = d.keepStrokeScale || f.keepStrokeScale;
|
|
43261
43261
|
return n.lineWidth = m ? g + p : Da(n, g + p, n.dpr), u = c.isPointInStroke(t.x, t.y), u;
|
|
@@ -43283,7 +43283,7 @@ var Hue = function(r, e, t, i) {
|
|
|
43283
43283
|
e(t, i, r);
|
|
43284
43284
|
};
|
|
43285
43285
|
};
|
|
43286
|
-
let $x = class extends
|
|
43286
|
+
let $x = class extends _H {
|
|
43287
43287
|
constructor(r) {
|
|
43288
43288
|
super(), this.canvasRenderer = r;
|
|
43289
43289
|
}
|
|
@@ -43377,7 +43377,7 @@ let gd = class extends t2 {
|
|
|
43377
43377
|
}
|
|
43378
43378
|
};
|
|
43379
43379
|
gd.env = "node", gd = Zue([Ne(), Jue("design:paramtypes", [Object])], gd);
|
|
43380
|
-
const Que =
|
|
43380
|
+
const Que = CH(gd, R0);
|
|
43381
43381
|
var ece = function(r, e, t, i) {
|
|
43382
43382
|
var n, o = arguments.length, s = o < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i;
|
|
43383
43383
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(r, e, t, i);
|
|
@@ -43615,7 +43615,7 @@ var hce = function(r, e, t, i) {
|
|
|
43615
43615
|
e(t, i, r);
|
|
43616
43616
|
};
|
|
43617
43617
|
};
|
|
43618
|
-
let Yx = class extends
|
|
43618
|
+
let Yx = class extends _H {
|
|
43619
43619
|
constructor(r) {
|
|
43620
43620
|
super(), this.canvasRenderer = r;
|
|
43621
43621
|
}
|
|
@@ -43625,7 +43625,7 @@ let kF = !1;
|
|
|
43625
43625
|
const dce = new At((r, e, t, i) => {
|
|
43626
43626
|
kF || (kF = !0, r(lF).to(Yx).inSingletonScope(), r(xo).toService(lF));
|
|
43627
43627
|
});
|
|
43628
|
-
class
|
|
43628
|
+
class wH extends Ao {
|
|
43629
43629
|
contains(e, t, i) {
|
|
43630
43630
|
if (!e.AABBBounds.containsPoint(t)) return !1;
|
|
43631
43631
|
if (e.attribute.pickMode === "imprecise") return !0;
|
|
@@ -43660,7 +43660,7 @@ var fce = function(r, e, t, i) {
|
|
|
43660
43660
|
e(t, i, r);
|
|
43661
43661
|
};
|
|
43662
43662
|
};
|
|
43663
|
-
let qx = class extends
|
|
43663
|
+
let qx = class extends wH {
|
|
43664
43664
|
constructor(r) {
|
|
43665
43665
|
super(), this.canvasRenderer = r, this.type = "line", this.numberType = Xg;
|
|
43666
43666
|
}
|
|
@@ -43670,7 +43670,7 @@ let BF = !1;
|
|
|
43670
43670
|
const mce = new At((r, e, t, i) => {
|
|
43671
43671
|
BF || (BF = !0, r(sF).to(qx).inSingletonScope(), r(xo).toService(sF));
|
|
43672
43672
|
});
|
|
43673
|
-
class
|
|
43673
|
+
class yH extends Ao {
|
|
43674
43674
|
contains(e, t, i) {
|
|
43675
43675
|
const { pickContext: n } = i ?? {};
|
|
43676
43676
|
if (!n) return !1;
|
|
@@ -43700,7 +43700,7 @@ var vce = function(r, e, t, i) {
|
|
|
43700
43700
|
e(t, i, r);
|
|
43701
43701
|
};
|
|
43702
43702
|
};
|
|
43703
|
-
let Zx = class extends
|
|
43703
|
+
let Zx = class extends yH {
|
|
43704
43704
|
constructor(r) {
|
|
43705
43705
|
super(), this.canvasRenderer = r, this.type = "symbol", this.numberType = d1;
|
|
43706
43706
|
}
|
|
@@ -43768,7 +43768,7 @@ var Ace = function(r, e, t, i) {
|
|
|
43768
43768
|
e(t, i, r);
|
|
43769
43769
|
};
|
|
43770
43770
|
};
|
|
43771
|
-
let Qx = class extends
|
|
43771
|
+
let Qx = class extends yH {
|
|
43772
43772
|
constructor(r) {
|
|
43773
43773
|
super(), this.canvasRenderer = r, this.type = "text", this.numberType = f1;
|
|
43774
43774
|
}
|
|
@@ -43811,7 +43811,7 @@ var Mce = function(r, e, t, i) {
|
|
|
43811
43811
|
e(t, i, r);
|
|
43812
43812
|
};
|
|
43813
43813
|
};
|
|
43814
|
-
let eS = class extends
|
|
43814
|
+
let eS = class extends wH {
|
|
43815
43815
|
constructor(r) {
|
|
43816
43816
|
super(), this.canvasRenderer = r, this.type = "path", this.numberType = u1;
|
|
43817
43817
|
}
|
|
@@ -43890,7 +43890,7 @@ let HF = !1;
|
|
|
43890
43890
|
const Gce = new At((r, e, t, i) => {
|
|
43891
43891
|
HF || (HF = !0, r(oF).to(rS).inSingletonScope(), r(xo).toService(oF));
|
|
43892
43892
|
});
|
|
43893
|
-
var Iu = {},
|
|
43893
|
+
var Iu = {}, xH = {}, Sl = {};
|
|
43894
43894
|
Object.defineProperty(Sl, "__esModule", {
|
|
43895
43895
|
value: !0
|
|
43896
43896
|
});
|
|
@@ -43940,12 +43940,12 @@ var Kce = function(e) {
|
|
|
43940
43940
|
};
|
|
43941
43941
|
};
|
|
43942
43942
|
Or.buildStream = Kce;
|
|
43943
|
-
var
|
|
43943
|
+
var SH = function() {
|
|
43944
43944
|
return function(e) {
|
|
43945
43945
|
return e.data[e.pos++];
|
|
43946
43946
|
};
|
|
43947
43947
|
};
|
|
43948
|
-
Or.readByte =
|
|
43948
|
+
Or.readByte = SH;
|
|
43949
43949
|
var Yce = function() {
|
|
43950
43950
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
43951
43951
|
return function(t) {
|
|
@@ -43994,7 +43994,7 @@ var ede = function(e, t, i) {
|
|
|
43994
43994
|
return n;
|
|
43995
43995
|
}, tde = function(e) {
|
|
43996
43996
|
return function(t) {
|
|
43997
|
-
for (var i =
|
|
43997
|
+
for (var i = SH()(t), n = new Array(8), o = 0; o < 8; o++)
|
|
43998
43998
|
n[7 - o] = !!(i & 1 << o);
|
|
43999
43999
|
return Object.keys(e).reduce(function(s, a) {
|
|
44000
44000
|
var l = e[a];
|
|
@@ -44184,7 +44184,7 @@ Or.readBits = tde;
|
|
|
44184
44184
|
}
|
|
44185
44185
|
], u = h;
|
|
44186
44186
|
r.default = u;
|
|
44187
|
-
})(
|
|
44187
|
+
})(xH);
|
|
44188
44188
|
var C1 = {};
|
|
44189
44189
|
Object.defineProperty(C1, "__esModule", {
|
|
44190
44190
|
value: !0
|
|
@@ -44240,20 +44240,20 @@ _1.lzw = rde;
|
|
|
44240
44240
|
Object.defineProperty(Iu, "__esModule", {
|
|
44241
44241
|
value: !0
|
|
44242
44242
|
});
|
|
44243
|
-
var
|
|
44243
|
+
var AH = Iu.decompressFrames = Iu.decompressFrame = RH = Iu.parseGIF = void 0, nde = hde(xH), ode = Sl, sde = Or, ade = C1, lde = _1;
|
|
44244
44244
|
function hde(r) {
|
|
44245
44245
|
return r && r.__esModule ? r : { default: r };
|
|
44246
44246
|
}
|
|
44247
44247
|
var ude = function(e) {
|
|
44248
44248
|
var t = new Uint8Array(e);
|
|
44249
44249
|
return (0, ode.parse)((0, sde.buildStream)(t), nde.default);
|
|
44250
|
-
},
|
|
44250
|
+
}, RH = Iu.parseGIF = ude, cde = function(e) {
|
|
44251
44251
|
for (var t = e.pixels.length, i = new Uint8ClampedArray(t * 4), n = 0; n < t; n++) {
|
|
44252
44252
|
var o = n * 4, s = e.pixels[n], a = e.colorTable[s] || [0, 0, 0];
|
|
44253
44253
|
i[o] = a[0], i[o + 1] = a[1], i[o + 2] = a[2], i[o + 3] = s !== e.transparentIndex ? 255 : 0;
|
|
44254
44254
|
}
|
|
44255
44255
|
return i;
|
|
44256
|
-
},
|
|
44256
|
+
}, TH = function(e, t, i) {
|
|
44257
44257
|
if (!e.image) {
|
|
44258
44258
|
console.warn("gif frame does not have associated image.");
|
|
44259
44259
|
return;
|
|
@@ -44271,15 +44271,15 @@ var ude = function(e) {
|
|
|
44271
44271
|
};
|
|
44272
44272
|
return n.descriptor.lct && n.descriptor.lct.exists ? a.colorTable = n.lct : a.colorTable = t, e.gce && (a.delay = (e.gce.delay || 10) * 10, a.disposalType = e.gce.extras.disposal, e.gce.extras.transparentColorGiven && (a.transparentIndex = e.gce.transparentColorIndex)), i && (a.patch = cde(a)), a;
|
|
44273
44273
|
};
|
|
44274
|
-
Iu.decompressFrame =
|
|
44274
|
+
Iu.decompressFrame = TH;
|
|
44275
44275
|
var dde = function(e, t) {
|
|
44276
44276
|
return e.frames.filter(function(i) {
|
|
44277
44277
|
return i.image;
|
|
44278
44278
|
}).map(function(i) {
|
|
44279
|
-
return
|
|
44279
|
+
return TH(i, e.gct, t);
|
|
44280
44280
|
});
|
|
44281
44281
|
};
|
|
44282
|
-
|
|
44282
|
+
AH = Iu.decompressFrames = dde;
|
|
44283
44283
|
const Wa = l2();
|
|
44284
44284
|
function wb() {
|
|
44285
44285
|
wb.__loaded || (wb.__loaded = !0, ohe(), bt.load(Xle), bt.load(Wa ? lce : Cue));
|
|
@@ -44290,7 +44290,7 @@ function yb() {
|
|
|
44290
44290
|
yb.__loaded || (yb.__loaded = !0, she(), bt.load(Zle), bt.load(Wa ? Sce : xue));
|
|
44291
44291
|
}
|
|
44292
44292
|
yb.__loaded = !1;
|
|
44293
|
-
const
|
|
44293
|
+
const EH = yb;
|
|
44294
44294
|
function xb() {
|
|
44295
44295
|
xb.__loaded || (xb.__loaded = !0, ahe());
|
|
44296
44296
|
}
|
|
@@ -44346,10 +44346,10 @@ function Ib() {
|
|
|
44346
44346
|
}
|
|
44347
44347
|
Ib.__loaded = !1;
|
|
44348
44348
|
const vde = Ib;
|
|
44349
|
-
function
|
|
44349
|
+
function MH() {
|
|
44350
44350
|
ho(), Ll();
|
|
44351
44351
|
}
|
|
44352
|
-
const
|
|
44352
|
+
const kH = "PingFang SC,Helvetica Neue,Microsoft Yahei,system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol", bde = 14;
|
|
44353
44353
|
var oo;
|
|
44354
44354
|
(function(r) {
|
|
44355
44355
|
r.selected = "selected", r.selectedReverse = "selected_reverse", r.hover = "hover", r.hoverReverse = "hover_reverse";
|
|
@@ -44369,10 +44369,10 @@ function T0() {
|
|
|
44369
44369
|
return ft.env === "browser" ? ["pointerup", "pointerleave", "pointercancel"] : ["pointerup", "pointerleave", "pointerupoutside"];
|
|
44370
44370
|
}
|
|
44371
44371
|
const zF = {
|
|
44372
|
-
debounce:
|
|
44373
|
-
throttle:
|
|
44372
|
+
debounce: cH,
|
|
44373
|
+
throttle: dH
|
|
44374
44374
|
};
|
|
44375
|
-
|
|
44375
|
+
MH();
|
|
44376
44376
|
class Ku extends Ro {
|
|
44377
44377
|
constructor(e, t) {
|
|
44378
44378
|
super(t != null && t.skipDefault ? e : vt({}, Ku.defaultAttributes, e)), this.name = "scrollbar", this._handleTouchMove = (i) => {
|
|
@@ -44555,15 +44555,15 @@ function Yu(r, e) {
|
|
|
44555
44555
|
t.isContainer && !i && Yu(t, e);
|
|
44556
44556
|
});
|
|
44557
44557
|
}
|
|
44558
|
-
function
|
|
44558
|
+
function BH(r, e) {
|
|
44559
44559
|
return [r[0] * e, r[1] * e];
|
|
44560
44560
|
}
|
|
44561
|
-
function
|
|
44561
|
+
function FH(r) {
|
|
44562
44562
|
const [e, t] = r;
|
|
44563
44563
|
return Math.sqrt(e * e + t * t);
|
|
44564
44564
|
}
|
|
44565
44565
|
function yde(r) {
|
|
44566
|
-
let e =
|
|
44566
|
+
let e = FH(r);
|
|
44567
44567
|
return e > 0 && (e = 1 / e), [r[0] * e, r[1] * e];
|
|
44568
44568
|
}
|
|
44569
44569
|
function xde(r, e) {
|
|
@@ -44574,9 +44574,9 @@ function WF(r, e, t) {
|
|
|
44574
44574
|
const i = xde(r, e), n = Ihe(r, e) >= 0;
|
|
44575
44575
|
return t ? n ? 2 * Math.PI - i : i : n ? i : 2 * Math.PI - i;
|
|
44576
44576
|
}
|
|
44577
|
-
const
|
|
44577
|
+
const IH = (r, e, t, i) => new cd(Object.assign({
|
|
44578
44578
|
defaultFontParams: Object.assign({
|
|
44579
|
-
fontFamily:
|
|
44579
|
+
fontFamily: kH,
|
|
44580
44580
|
fontSize: bde
|
|
44581
44581
|
}, i),
|
|
44582
44582
|
getTextBounds: p1,
|
|
@@ -44589,7 +44589,7 @@ function y1(r, e, t = {}) {
|
|
|
44589
44589
|
};
|
|
44590
44590
|
const i = p1({
|
|
44591
44591
|
text: r,
|
|
44592
|
-
fontFamily: e.fontFamily || t.fontFamily ||
|
|
44592
|
+
fontFamily: e.fontFamily || t.fontFamily || kH,
|
|
44593
44593
|
fontSize: e.fontSize || t.fontSize || 12,
|
|
44594
44594
|
fontWeight: e.fontWeight || t.fontWeight,
|
|
44595
44595
|
textAlign: e.textAlign || "center",
|
|
@@ -44604,13 +44604,13 @@ function y1(r, e, t = {}) {
|
|
|
44604
44604
|
};
|
|
44605
44605
|
}
|
|
44606
44606
|
function Sde(r, e = "type") {
|
|
44607
|
-
return
|
|
44607
|
+
return PH(r, e) === "rich";
|
|
44608
44608
|
}
|
|
44609
|
-
function
|
|
44609
|
+
function PH(r, e = "type") {
|
|
44610
44610
|
var t, i;
|
|
44611
44611
|
return la(r.text) && "type" in r.text ? (t = r.text.type) !== null && t !== void 0 ? t : "text" : e in r && (i = r[e]) !== null && i !== void 0 ? i : "text";
|
|
44612
44612
|
}
|
|
44613
|
-
function
|
|
44613
|
+
function LH(r) {
|
|
44614
44614
|
var e, t;
|
|
44615
44615
|
return ut(r.maxLineWidth) && (r.maxWidth = r.maxLineWidth, delete r.maxLineWidth), r.width = (e = r.width) !== null && e !== void 0 ? e : 0, r.height = (t = r.height) !== null && t !== void 0 ? t : 0, r.textConfig = r.text.text || r.text, r;
|
|
44616
44616
|
}
|
|
@@ -44623,10 +44623,10 @@ function Rde(r) {
|
|
|
44623
44623
|
return r.react = i, r.text = t, r.renderable = !1, r;
|
|
44624
44624
|
}
|
|
44625
44625
|
function nS(r, e = "type") {
|
|
44626
|
-
const t =
|
|
44627
|
-
return t === "rich" ? st.richtext(
|
|
44626
|
+
const t = PH(r, e);
|
|
44627
|
+
return t === "rich" ? st.richtext(LH(r)) : (t === "html" ? r = Ade(r) : t === "react" && (r = Rde(r)), st.text(r));
|
|
44628
44628
|
}
|
|
44629
|
-
function
|
|
44629
|
+
function OH() {
|
|
44630
44630
|
ho(), Ll(), Yd(), w1(), da();
|
|
44631
44631
|
}
|
|
44632
44632
|
var UF = function(r, e) {
|
|
@@ -44638,7 +44638,7 @@ var UF = function(r, e) {
|
|
|
44638
44638
|
}
|
|
44639
44639
|
return t;
|
|
44640
44640
|
};
|
|
44641
|
-
|
|
44641
|
+
OH();
|
|
44642
44642
|
class Ml extends Ro {
|
|
44643
44643
|
getBgRect() {
|
|
44644
44644
|
return this._bgRect;
|
|
@@ -44675,7 +44675,7 @@ class Ml extends Ro {
|
|
|
44675
44675
|
if (w += T, R += T, Sde({
|
|
44676
44676
|
text: n
|
|
44677
44677
|
}) || g === "rich") {
|
|
44678
|
-
const W = Object.assign(Object.assign(Object.assign({},
|
|
44678
|
+
const W = Object.assign(Object.assign(Object.assign({}, LH(Object.assign({
|
|
44679
44679
|
type: g,
|
|
44680
44680
|
text: n
|
|
44681
44681
|
}, o))), o), {
|
|
@@ -44793,7 +44793,7 @@ Ml.defaultAttributes = {
|
|
|
44793
44793
|
fill: "#000"
|
|
44794
44794
|
}
|
|
44795
44795
|
};
|
|
44796
|
-
const
|
|
44796
|
+
const DH = {
|
|
44797
44797
|
visible: !0,
|
|
44798
44798
|
position: "auto",
|
|
44799
44799
|
titleStyle: {
|
|
@@ -44813,14 +44813,14 @@ const D4 = {
|
|
|
44813
44813
|
lineWidth: 1,
|
|
44814
44814
|
cornerRadius: 4
|
|
44815
44815
|
}
|
|
44816
|
-
},
|
|
44817
|
-
poptip: vt({},
|
|
44816
|
+
}, HH = {
|
|
44817
|
+
poptip: vt({}, DH)
|
|
44818
44818
|
};
|
|
44819
44819
|
function Tde() {
|
|
44820
44820
|
ho(), da(), Yd(), Ll();
|
|
44821
44821
|
}
|
|
44822
44822
|
function Ede(r) {
|
|
44823
|
-
vt(
|
|
44823
|
+
vt(HH.poptip, DH, r);
|
|
44824
44824
|
}
|
|
44825
44825
|
var Mde = function(r, e) {
|
|
44826
44826
|
var t = {};
|
|
@@ -44984,7 +44984,7 @@ class wg extends Ro {
|
|
|
44984
44984
|
if (!rt) break;
|
|
44985
44985
|
{
|
|
44986
44986
|
VF.setValue(0, 0, we, Y).transformWithMatrix(O.globalTransMatrix);
|
|
44987
|
-
const tt = VF, ei = new
|
|
44987
|
+
const tt = VF, ei = new gH().setValue(0, 0, rt[0], rt[1]);
|
|
44988
44988
|
if (De) {
|
|
44989
44989
|
if (Ohe(tt, ei)) break;
|
|
44990
44990
|
{
|
|
@@ -45143,7 +45143,7 @@ var Bde = function(r, e, t, i) {
|
|
|
45143
45143
|
return o > 3 && s && Object.defineProperty(e, t, s), s;
|
|
45144
45144
|
};
|
|
45145
45145
|
function Fde(r, e) {
|
|
45146
|
-
return vt(r,
|
|
45146
|
+
return vt(r, HH.poptip, e), r;
|
|
45147
45147
|
}
|
|
45148
45148
|
let E0 = class {
|
|
45149
45149
|
render(r, e, t, i, n, o, s, a, l, h, u, c, d) {
|
|
@@ -45177,13 +45177,13 @@ let E0 = class {
|
|
|
45177
45177
|
}
|
|
45178
45178
|
};
|
|
45179
45179
|
E0 = Bde([Ne()], E0);
|
|
45180
|
-
var
|
|
45180
|
+
var NH = function(r, e, t, i) {
|
|
45181
45181
|
var n, o = arguments.length, s = o < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i;
|
|
45182
45182
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(r, e, t, i);
|
|
45183
45183
|
else for (var a = r.length - 1; a >= 0; a--) (n = r[a]) && (s = (o < 3 ? n(s) : o > 3 ? n(e, t, s) : n(e, t)) || s);
|
|
45184
45184
|
return o > 3 && s && Object.defineProperty(e, t, s), s;
|
|
45185
45185
|
};
|
|
45186
|
-
class
|
|
45186
|
+
class zH {
|
|
45187
45187
|
constructor() {
|
|
45188
45188
|
this.activeEvent = "onRegister", this._uid = Tr.GenAutoIncrementId(), this.poptip = (e) => {
|
|
45189
45189
|
const t = e.target;
|
|
@@ -45211,13 +45211,13 @@ class z4 {
|
|
|
45211
45211
|
t.removeEventListener("pointerover", this.poptip);
|
|
45212
45212
|
}
|
|
45213
45213
|
}
|
|
45214
|
-
let M0 = class extends
|
|
45214
|
+
let M0 = class extends zH {
|
|
45215
45215
|
constructor() {
|
|
45216
45216
|
super(...arguments), this.name = "poptip", this.key = this.name + this._uid;
|
|
45217
45217
|
}
|
|
45218
45218
|
};
|
|
45219
|
-
M0 =
|
|
45220
|
-
let k0 = class extends
|
|
45219
|
+
M0 = NH([Ne()], M0);
|
|
45220
|
+
let k0 = class extends zH {
|
|
45221
45221
|
constructor() {
|
|
45222
45222
|
super(...arguments), this.name = "poptipForText", this.key = this.name + this._uid, this.pointerlave = (r) => {
|
|
45223
45223
|
const { stage: e } = this.pluginService;
|
|
@@ -45240,7 +45240,7 @@ let k0 = class extends z4 {
|
|
|
45240
45240
|
super.deactivate(r), e.removeEventListener("pointerleave", this.pointerlave);
|
|
45241
45241
|
}
|
|
45242
45242
|
};
|
|
45243
|
-
k0 =
|
|
45243
|
+
k0 = NH([Ne()], k0);
|
|
45244
45244
|
const Ide = new At((r, e, t, i) => {
|
|
45245
45245
|
t(E0) || (r(E0).toSelf().inSingletonScope(), r(n2).toService(E0)), t(M0) || (r(M0).toSelf(), r(bg).toService(M0)), t(k0) || (r(k0).toSelf(), r(bg).toService(k0));
|
|
45246
45246
|
});
|
|
@@ -45515,12 +45515,12 @@ function Nde(r, e) {
|
|
|
45515
45515
|
var t, i;
|
|
45516
45516
|
return !((t = r.OBBBounds) === null || t === void 0) && t.empty() || !((i = e.OBBBounds) === null || i === void 0) && i.empty() ? Dhe(r.AABBBounds, e.AABBBounds) && (!r.rotatedBounds || !e.rotatedBounds || Hhe(r.rotatedBounds, e.rotatedBounds, !0)) : r.OBBBounds.intersects(e.OBBBounds);
|
|
45517
45517
|
}
|
|
45518
|
-
const
|
|
45519
|
-
function
|
|
45518
|
+
const WH = Math.sin(Math.PI / 10);
|
|
45519
|
+
function UH(r, e = WH) {
|
|
45520
45520
|
const t = !xi(r) && r !== 0, i = t ? Math.cos(r) : 1;
|
|
45521
45521
|
return t && Math.abs(i) <= e;
|
|
45522
45522
|
}
|
|
45523
|
-
function m2(r, e =
|
|
45523
|
+
function m2(r, e = WH) {
|
|
45524
45524
|
const t = !xi(r) && r !== 0, i = t ? Math.sin(r) : 0;
|
|
45525
45525
|
return !t || Math.abs(i) <= e;
|
|
45526
45526
|
}
|
|
@@ -45544,7 +45544,7 @@ function Ude(r) {
|
|
|
45544
45544
|
t.type !== "group" && t.id && (e[t.id] = t);
|
|
45545
45545
|
}), e;
|
|
45546
45546
|
}
|
|
45547
|
-
function
|
|
45547
|
+
function VH(r, e) {
|
|
45548
45548
|
return {
|
|
45549
45549
|
x: r.x + e[0],
|
|
45550
45550
|
y: r.y + e[1]
|
|
@@ -45552,13 +45552,13 @@ function V4(r, e) {
|
|
|
45552
45552
|
}
|
|
45553
45553
|
function YF(r, e, t, i = !1, n = !1) {
|
|
45554
45554
|
const o = [e.x - t.x, e.y - t.y];
|
|
45555
|
-
return
|
|
45555
|
+
return BH(o, (i ? -1 : 1) * (n ? -1 : 1) * r / FH(o));
|
|
45556
45556
|
}
|
|
45557
45557
|
function Vde(r, e, t, i, n) {
|
|
45558
45558
|
const o = Phe({
|
|
45559
45559
|
x: 0,
|
|
45560
45560
|
y: 0
|
|
45561
|
-
}, t, r), s =
|
|
45561
|
+
}, t, r), s = VH(o, YF(i, o, e, n));
|
|
45562
45562
|
return zde(s, YF(i || 1, s, e, n));
|
|
45563
45563
|
}
|
|
45564
45564
|
function ia(r, e, t) {
|
|
@@ -45625,7 +45625,7 @@ class Yde extends Xde {
|
|
|
45625
45625
|
return this._prevInnerView;
|
|
45626
45626
|
}
|
|
45627
45627
|
getBoundsWithoutRender(e) {
|
|
45628
|
-
const t =
|
|
45628
|
+
const t = aH(this.attribute);
|
|
45629
45629
|
t.scale = this.attribute.scale, this.attribute = e;
|
|
45630
45630
|
const i = st.group({
|
|
45631
45631
|
x: this.attribute.x,
|
|
@@ -45744,7 +45744,7 @@ class Yde extends Xde {
|
|
|
45744
45744
|
i.name = un.title, i.id = this._getNodeId("title"), e.add(i);
|
|
45745
45745
|
}
|
|
45746
45746
|
getVerticalCoord(e, t, i) {
|
|
45747
|
-
return
|
|
45747
|
+
return VH(e, this.getVerticalVector(t, i, e));
|
|
45748
45748
|
}
|
|
45749
45749
|
getTickLineItems() {
|
|
45750
45750
|
const { tick: e } = this.attribute, t = this.data, i = [], { alignWithLabel: n, inside: o = !1, length: s, dataFilter: a } = e;
|
|
@@ -45983,19 +45983,19 @@ function S1(r = 0) {
|
|
|
45983
45983
|
}
|
|
45984
45984
|
function ife(r, e) {
|
|
45985
45985
|
e.forEach((t, i) => {
|
|
45986
|
-
t.attribute.angle && t.setAttributes(Object.assign(Object.assign({}, $
|
|
45986
|
+
t.attribute.angle && t.setAttributes(Object.assign(Object.assign({}, $H(r, t.attribute.angle)), {
|
|
45987
45987
|
angle: S1(t.attribute.angle)
|
|
45988
45988
|
}));
|
|
45989
45989
|
});
|
|
45990
45990
|
}
|
|
45991
45991
|
function rfe(r, e) {
|
|
45992
45992
|
e.forEach((t) => {
|
|
45993
|
-
t.attribute.angle && t.setAttributes(Object.assign(Object.assign({},
|
|
45993
|
+
t.attribute.angle && t.setAttributes(Object.assign(Object.assign({}, GH(r, t.attribute.angle)), {
|
|
45994
45994
|
angle: S1(t.attribute.angle)
|
|
45995
45995
|
}));
|
|
45996
45996
|
});
|
|
45997
45997
|
}
|
|
45998
|
-
function
|
|
45998
|
+
function GH(r, e = 0) {
|
|
45999
45999
|
let t = ["center", "left", "left", "left", "center", "right", "right", "right", "left"], i = ["top", "top", "middle", "bottom", "bottom", "bottom", "middle", "top", "top"];
|
|
46000
46000
|
r === "top" && (t = ["center", "right", "right", "right", "center", "left", "left", "left", "right"], i = ["bottom", "bottom", "middle", "top", "top", "top", "middle", "bottom", "bottom"]);
|
|
46001
46001
|
const n = (e = S1(e)) / (0.5 * Math.PI);
|
|
@@ -46005,7 +46005,7 @@ function G4(r, e = 0) {
|
|
|
46005
46005
|
textBaseline: i[o]
|
|
46006
46006
|
};
|
|
46007
46007
|
}
|
|
46008
|
-
function $
|
|
46008
|
+
function $H(r, e = 0) {
|
|
46009
46009
|
let t = ["right", "right", "center", "left", "left", "left", "center", "right", "right"], i = ["middle", "middle", "top", "top", "middle", "middle", "bottom", "bottom", "middle"];
|
|
46010
46010
|
r === "right" && (t = ["left", "left", "center", "right", "right", "right", "center", "left", "left"], i = ["middle", "middle", "bottom", "bottom", "middle", "middle", "top", "middle", "middle"]);
|
|
46011
46011
|
const n = (e = S1(e)) / (0.5 * Math.PI);
|
|
@@ -46030,7 +46030,7 @@ function nfe(r) {
|
|
|
46030
46030
|
function ofe(r, e) {
|
|
46031
46031
|
const { limitLength: t, verticalLimitLength: i, ellipsis: n = "...", orient: o, axisLength: s } = e;
|
|
46032
46032
|
if (Mi(r) || !xr(t)) return;
|
|
46033
|
-
const a = nfe(e.overflowLimitLength), l = r[0], h = l.attribute.angle, u = !xi(h), c = u ? Math.cos(h) : 1, d = u ? Math.sin(h) : 0, f = m2(h), g =
|
|
46033
|
+
const a = nfe(e.overflowLimitLength), l = r[0], h = l.attribute.angle, u = !xi(h), c = u ? Math.cos(h) : 1, d = u ? Math.sin(h) : 0, f = m2(h), g = UH(h), p = o === "top" || o === "bottom", m = l.attribute.direction, v = !f && !g && p && (r.length < 2 || r.some((C) => Math.abs(C.AABBBounds.width() - l.AABBBounds.width()) >= 2)) && l.AABBBounds.width() > Math.abs(t / d);
|
|
46034
46034
|
r.forEach((C) => {
|
|
46035
46035
|
var _;
|
|
46036
46036
|
if (p && (g && Math.floor(C.AABBBounds.height()) <= t || f && Math.floor(C.AABBBounds.width()) <= i) || !p && (m === "vertical" && Math.floor(C.AABBBounds.height()) <= i || m !== "vertical" && (f && Math.floor(C.AABBBounds.width()) <= t || g && Math.floor(C.AABBBounds.height()) <= i)))
|
|
@@ -46056,7 +46056,7 @@ function ofe(r, e) {
|
|
|
46056
46056
|
function sfe(r, e) {
|
|
46057
46057
|
const { limitLength: t, axisLength: i, ellipsis: n = "...", orient: o } = e;
|
|
46058
46058
|
if (Mi(r) || !xr(t)) return;
|
|
46059
|
-
const s = r[0].attribute.angle, a = m2(s), l =
|
|
46059
|
+
const s = r[0].attribute.angle, a = m2(s), l = UH(s), h = o === "top" || o === "bottom";
|
|
46060
46060
|
let u = i / r.length;
|
|
46061
46061
|
r.forEach((c, d) => {
|
|
46062
46062
|
var f, g, p, m, v;
|
|
@@ -46136,7 +46136,7 @@ class lfe {
|
|
|
46136
46136
|
}
|
|
46137
46137
|
getVerticalVector(e, t = !1, i) {
|
|
46138
46138
|
const { verticalFactor: n = 1 } = this.attribute, o = this.getRelativeVector(), s = yde(o), a = [s[1], -1 * s[0]];
|
|
46139
|
-
return
|
|
46139
|
+
return BH(a, e * (t ? 1 : -1) * n);
|
|
46140
46140
|
}
|
|
46141
46141
|
}
|
|
46142
46142
|
const v2 = (r, e) => Object.prototype.toString.call(r) === `[object ${e}]`, nh = (r) => typeof r == "function", lr = (r) => r == null, Gn = (r) => r != null, QF = (r, e = !1) => {
|
|
@@ -46171,7 +46171,7 @@ function eI(r, e, t = !0) {
|
|
|
46171
46171
|
} else ufe(r, e, t);
|
|
46172
46172
|
}
|
|
46173
46173
|
const cfe = 1e-10, dfe = 1e-10;
|
|
46174
|
-
function
|
|
46174
|
+
function jH(r, e, t = dfe, i = cfe) {
|
|
46175
46175
|
const n = i, o = t * Math.max(r, e);
|
|
46176
46176
|
return Math.abs(r - e) <= Math.max(n, o);
|
|
46177
46177
|
}
|
|
@@ -46629,7 +46629,7 @@ class C2 extends Th {
|
|
|
46629
46629
|
}
|
|
46630
46630
|
const _2 = new C2();
|
|
46631
46631
|
_2.isGlobal = !0;
|
|
46632
|
-
class
|
|
46632
|
+
class XH {
|
|
46633
46633
|
constructor(e = Tr.GenAutoIncrementId(), t = _2, i) {
|
|
46634
46634
|
this.id = e, this.status = ln.INITIAL, this._timeline = t, t.addAnimate(this), this.slience = i, this._startTime = 0, this._duration = 0, this._totalDuration = 0, this._loopCount = 0, this._currentLoop = 0, this._bounce = !1, this._firstStep = null, this._lastStep = null, this._startProps = {}, this._endProps = {}, this._preventAttrs = /* @__PURE__ */ new Set(), this.currentTime = 0, this.interpolateUpdateFunction = null, this.priority = 0;
|
|
46635
46635
|
}
|
|
@@ -46841,7 +46841,7 @@ class vfe {
|
|
|
46841
46841
|
return Date.now();
|
|
46842
46842
|
}
|
|
46843
46843
|
}
|
|
46844
|
-
class
|
|
46844
|
+
class KH extends Th {
|
|
46845
46845
|
constructor(e) {
|
|
46846
46846
|
super(), this.timelines = [], this.frameTimeHistory = [], this.handleTick = (t, i) => {
|
|
46847
46847
|
const { once: n = !1 } = i ?? {};
|
|
@@ -47416,7 +47416,7 @@ class _fe {
|
|
|
47416
47416
|
}
|
|
47417
47417
|
animate(e) {
|
|
47418
47418
|
var t, i, n;
|
|
47419
|
-
const o = new
|
|
47419
|
+
const o = new XH(e == null ? void 0 : e.id, (i = (t = e == null ? void 0 : e.timeline) !== null && t !== void 0 ? t : this.stage && this.stage.getTimeline()) !== null && i !== void 0 ? i : _2, e == null ? void 0 : e.slience);
|
|
47420
47420
|
if (o.bind(this), e) {
|
|
47421
47421
|
const { onStart: s, onEnd: a, onRemove: l } = e;
|
|
47422
47422
|
s != null && o.onStart(s), a != null && o.onEnd(a), l != null && o.onRemove(l);
|
|
@@ -47427,7 +47427,7 @@ class _fe {
|
|
|
47427
47427
|
return new C2();
|
|
47428
47428
|
}
|
|
47429
47429
|
createTicker(e) {
|
|
47430
|
-
return new
|
|
47430
|
+
return new KH(e);
|
|
47431
47431
|
}
|
|
47432
47432
|
setFinalAttributes(e) {
|
|
47433
47433
|
this.finalAttribute || (this.finalAttribute = {}), Object.assign(this.finalAttribute, e);
|
|
@@ -47492,7 +47492,7 @@ class qd extends Vt {
|
|
|
47492
47492
|
this._animator && this._animator.stop();
|
|
47493
47493
|
}
|
|
47494
47494
|
}
|
|
47495
|
-
class
|
|
47495
|
+
class YH extends Vt {
|
|
47496
47496
|
constructor(e, t, i, n, o) {
|
|
47497
47497
|
super(e, t, i, n, o), this.willCallBeforeStageRender = !0, this.willCallAfterStageRender = !0, this.checkStatusAfterRender = !0, this._beforeStageRender = () => {
|
|
47498
47498
|
if (!this.willCallBeforeStageRender) return;
|
|
@@ -47681,7 +47681,7 @@ class yg extends Vt {
|
|
|
47681
47681
|
this.showCursor && (this.blinkCursor ? Math.floor(t / 0.1) % 2 == 0 && (l = this.beforeText + a + this.cursorChar + this.afterText) : l = this.beforeText + a + this.cursorChar + this.afterText), this.target.setAttribute("text", l);
|
|
47682
47682
|
}
|
|
47683
47683
|
}
|
|
47684
|
-
class
|
|
47684
|
+
class qH extends Vt {
|
|
47685
47685
|
constructor(e, t, i, n, o) {
|
|
47686
47686
|
super(e, t, i, n, o);
|
|
47687
47687
|
}
|
|
@@ -47703,7 +47703,7 @@ class q4 extends Vt {
|
|
|
47703
47703
|
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
47704
47704
|
}
|
|
47705
47705
|
}
|
|
47706
|
-
class
|
|
47706
|
+
class ZH extends Vt {
|
|
47707
47707
|
constructor(e, t, i, n, o) {
|
|
47708
47708
|
super(e, t, i, n, o);
|
|
47709
47709
|
}
|
|
@@ -47725,7 +47725,7 @@ class Z4 extends Vt {
|
|
|
47725
47725
|
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
47726
47726
|
}
|
|
47727
47727
|
}
|
|
47728
|
-
class Sfe extends
|
|
47728
|
+
class Sfe extends qH {
|
|
47729
47729
|
constructor(e, t, i, n, o) {
|
|
47730
47730
|
super(e, t, i, n, o), this.keys = ["clipRange"], this.from = {
|
|
47731
47731
|
clipRange: 0
|
|
@@ -47738,12 +47738,12 @@ class Sfe extends q4 {
|
|
|
47738
47738
|
t && (this.target.attribute.clipRangeByDimension = t);
|
|
47739
47739
|
}
|
|
47740
47740
|
}
|
|
47741
|
-
class Afe extends
|
|
47741
|
+
class Afe extends ZH {
|
|
47742
47742
|
constructor(e, t, i, n, o) {
|
|
47743
47743
|
super(e, t, i, n, o), this.keys = ["clipRange"];
|
|
47744
47744
|
}
|
|
47745
47745
|
}
|
|
47746
|
-
class Rfe extends
|
|
47746
|
+
class Rfe extends qH {
|
|
47747
47747
|
constructor(e, t, i, n, o) {
|
|
47748
47748
|
super(e, t, i, n, o), this.keys = ["opacity", "fillOpacity", "strokeOpacity"], this.from = {
|
|
47749
47749
|
opacity: 0,
|
|
@@ -47752,7 +47752,7 @@ class Rfe extends q4 {
|
|
|
47752
47752
|
};
|
|
47753
47753
|
}
|
|
47754
47754
|
}
|
|
47755
|
-
class Tfe extends
|
|
47755
|
+
class Tfe extends ZH {
|
|
47756
47756
|
constructor(e, t, i, n, o) {
|
|
47757
47757
|
super(e, t, i, n, o), this.keys = ["opacity", "fillOpacity", "strokeOpacity"];
|
|
47758
47758
|
}
|
|
@@ -47847,7 +47847,7 @@ const Efe = (r, e, t) => {
|
|
|
47847
47847
|
}
|
|
47848
47848
|
};
|
|
47849
47849
|
};
|
|
47850
|
-
class
|
|
47850
|
+
class JH extends Vt {
|
|
47851
47851
|
constructor(e, t, i, n, o) {
|
|
47852
47852
|
super(e, t, i, n, o);
|
|
47853
47853
|
}
|
|
@@ -47872,7 +47872,7 @@ class J4 extends Vt {
|
|
|
47872
47872
|
this._updateFunction && (this._updateFunction(t), this.target.addUpdateShapeAndBoundsTag());
|
|
47873
47873
|
}
|
|
47874
47874
|
}
|
|
47875
|
-
class Ife extends
|
|
47875
|
+
class Ife extends JH {
|
|
47876
47876
|
onBind() {
|
|
47877
47877
|
var e, t, i;
|
|
47878
47878
|
super.onBind();
|
|
@@ -47882,7 +47882,7 @@ class Ife extends J4 {
|
|
|
47882
47882
|
a && this.target.setAttributes(a), ((i = this.params.controlOptions) === null || i === void 0 ? void 0 : i.immediatelyApply) !== !1 && this.target.setAttributes(s), this.determineUpdateFunction();
|
|
47883
47883
|
}
|
|
47884
47884
|
}
|
|
47885
|
-
class Pfe extends
|
|
47885
|
+
class Pfe extends JH {
|
|
47886
47886
|
onBind() {
|
|
47887
47887
|
super.onBind();
|
|
47888
47888
|
const { from: e, to: t } = (i = this.target, n = this.params.options, this.params, ((o = n == null ? void 0 : n.overall) !== null && o !== void 0 && o) !== !1 ? Ffe(i, n) : Bfe(i, n));
|
|
@@ -48154,7 +48154,7 @@ class $fe extends Vt {
|
|
|
48154
48154
|
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
48155
48155
|
}
|
|
48156
48156
|
}
|
|
48157
|
-
const
|
|
48157
|
+
const QH = (r, e, t) => {
|
|
48158
48158
|
const i = r.getFinalAttribute().points, n = {
|
|
48159
48159
|
x: 0,
|
|
48160
48160
|
y: 0
|
|
@@ -48166,7 +48166,7 @@ const Q4 = (r, e, t) => {
|
|
|
48166
48166
|
const i = r.getFinalAttribute();
|
|
48167
48167
|
return {
|
|
48168
48168
|
from: {
|
|
48169
|
-
points:
|
|
48169
|
+
points: QH(r, e)
|
|
48170
48170
|
},
|
|
48171
48171
|
to: {
|
|
48172
48172
|
points: i.points
|
|
@@ -48202,7 +48202,7 @@ class Kfe extends Jd {
|
|
|
48202
48202
|
points: e.getFinalAttribute().points
|
|
48203
48203
|
},
|
|
48204
48204
|
to: {
|
|
48205
|
-
points:
|
|
48205
|
+
points: QH(e, t)
|
|
48206
48206
|
}
|
|
48207
48207
|
});
|
|
48208
48208
|
this.props = o, this.propKeys = Object.keys(o).filter((s) => o[s] != null), this.from = n || i, this.to = o;
|
|
@@ -49836,7 +49836,7 @@ const H0e = (r, e) => {
|
|
|
49836
49836
|
var t;
|
|
49837
49837
|
const i = (t = r.getFinalAttribute().angle) !== null && t !== void 0 ? t : 0;
|
|
49838
49838
|
let n = 0;
|
|
49839
|
-
return n =
|
|
49839
|
+
return n = jH(i / (2 * Math.PI), 0) ? Math.round(i / (2 * Math.PI)) * Math.PI * 2 : kl(e == null ? void 0 : e.angle) ? e.angle : (e == null ? void 0 : e.orient) === "anticlockwise" ? Math.ceil(i / (2 * Math.PI)) * Math.PI * 2 : Math.floor(i / (2 * Math.PI)) * Math.PI * 2, {
|
|
49840
49840
|
from: {
|
|
49841
49841
|
angle: n
|
|
49842
49842
|
},
|
|
@@ -49848,7 +49848,7 @@ const H0e = (r, e) => {
|
|
|
49848
49848
|
var t;
|
|
49849
49849
|
const i = (t = r.getFinalAttribute().angle) !== null && t !== void 0 ? t : 0;
|
|
49850
49850
|
let n = 0;
|
|
49851
|
-
return n =
|
|
49851
|
+
return n = jH(i / (2 * Math.PI), 0) ? Math.round(i / (2 * Math.PI)) * Math.PI * 2 : kl(e == null ? void 0 : e.angle) ? e.angle : (e == null ? void 0 : e.orient) === "anticlockwise" ? Math.ceil(i / (2 * Math.PI)) * Math.PI * 2 : Math.floor(i / (2 * Math.PI)) * Math.PI * 2, {
|
|
49852
49852
|
from: {
|
|
49853
49853
|
angle: i
|
|
49854
49854
|
},
|
|
@@ -50082,7 +50082,7 @@ class G0e extends Vt {
|
|
|
50082
50082
|
}
|
|
50083
50083
|
}
|
|
50084
50084
|
}
|
|
50085
|
-
class Jg extends
|
|
50085
|
+
class Jg extends YH {
|
|
50086
50086
|
constructor(e, t, i, n, o) {
|
|
50087
50087
|
super(e, t, i, n, o), this.webglCanvas = null, this.gl = null, this.program = null, this.currentAnimationRatio = 0, this.animationTime = 0;
|
|
50088
50088
|
}
|
|
@@ -51401,7 +51401,7 @@ class q0e extends $0e {
|
|
|
51401
51401
|
}
|
|
51402
51402
|
}
|
|
51403
51403
|
}
|
|
51404
|
-
class Z0e extends
|
|
51404
|
+
class Z0e extends YH {
|
|
51405
51405
|
constructor(e, t, i, n, o) {
|
|
51406
51406
|
var s, a;
|
|
51407
51407
|
super(e, t, i, n, o), this.blurConfig = {
|
|
@@ -51747,8 +51747,8 @@ class Hd extends Yde {
|
|
|
51747
51747
|
getLabelAlign(e, t, i) {
|
|
51748
51748
|
const n = this.attribute.orient;
|
|
51749
51749
|
if (["top", "bottom", "right", "left"].includes(n) || e[0] === 0 && e[1] === 0) {
|
|
51750
|
-
if (n === "top" || n === "bottom") return
|
|
51751
|
-
if (n === "left" || n === "right") return $
|
|
51750
|
+
if (n === "top" || n === "bottom") return GH(t ? n === "bottom" ? "top" : "bottom" : n, i);
|
|
51751
|
+
if (n === "left" || n === "right") return $H(t ? n === "left" ? "right" : "left" : n, i);
|
|
51752
51752
|
}
|
|
51753
51753
|
return {
|
|
51754
51754
|
textAlign: this.getTextAlign(e),
|
|
@@ -51906,7 +51906,7 @@ const Al = (r) => r.map((e, t) => ({
|
|
|
51906
51906
|
const d = ["bottom", "top"].includes(a), f = ["left", "right"].includes(a);
|
|
51907
51907
|
let g = 1, p = 0;
|
|
51908
51908
|
d || (f ? (g = 0, p = 1) : u && (g = Math.cos(u), p = -Math.sin(u)));
|
|
51909
|
-
const m =
|
|
51909
|
+
const m = IH(s), v = r.range();
|
|
51910
51910
|
let C = [];
|
|
51911
51911
|
for (let _ = 0; _ < e.length; _++) {
|
|
51912
51912
|
const y = e[_], S = h ? h(y) : `${y}`;
|
|
@@ -53299,7 +53299,7 @@ const Uge = (r, e) => {
|
|
|
53299
53299
|
}) : n;
|
|
53300
53300
|
f = r.ticks(g);
|
|
53301
53301
|
} else if (e.sampling) {
|
|
53302
|
-
const g = ((t = e.labelStyle.fontSize) !== null && t !== void 0 ? t : 12) + 2, p = c2(c), m =
|
|
53302
|
+
const g = ((t = e.labelStyle.fontSize) !== null && t !== void 0 ? t : 12) + 2, p = c2(c), m = uH(c);
|
|
53303
53303
|
if (i.length <= d / g) {
|
|
53304
53304
|
const v = _I(r, i, e, u);
|
|
53305
53305
|
if (v) {
|
|
@@ -53367,7 +53367,7 @@ const Uge = (r, e) => {
|
|
|
53367
53367
|
};
|
|
53368
53368
|
}, $ge = (r, e, t) => {
|
|
53369
53369
|
var i;
|
|
53370
|
-
const { labelStyle: n, getRadius: o, labelOffset: s, labelFormatter: a, inside: l } = t, h = o == null ? void 0 : o(), u = (i = n.angle) !== null && i !== void 0 ? i : 0, c =
|
|
53370
|
+
const { labelStyle: n, getRadius: o, labelOffset: s, labelFormatter: a, inside: l } = t, h = o == null ? void 0 : o(), u = (i = n.angle) !== null && i !== void 0 ? i : 0, c = IH(n);
|
|
53371
53371
|
return e.map((d) => {
|
|
53372
53372
|
const f = a ? a(d) : `${d}`, { width: g, height: p } = c.quickMeasure(f), m = Math.max(g, nI), v = Math.max(p, nI), C = r.scale(d), _ = {
|
|
53373
53373
|
x: 0,
|
|
@@ -53393,7 +53393,7 @@ const Uge = (r, e) => {
|
|
|
53393
53393
|
}) : t;
|
|
53394
53394
|
u = r.ticks(f);
|
|
53395
53395
|
} else if (e.sampling) {
|
|
53396
|
-
const c = r.domain(), d = r.range(), f = $ge(r, c, e), g = c2(d), p =
|
|
53396
|
+
const c = r.domain(), d = r.range(), f = $ge(r, c, e), g = c2(d), p = uH(d), m = Math.abs(p - g) * (h + s) / c.length, { step: v, delCount: C } = Xge(c, f, a, Math.floor(f.reduce((_, y) => Math.min(_, y.width(), y.height()), Number.MAX_VALUE) / m));
|
|
53397
53397
|
u = r.stepTicks(v), u = u.slice(0, u.length - C);
|
|
53398
53398
|
} else u = r.domain();
|
|
53399
53399
|
return Al(u);
|
|
@@ -53608,10 +53608,10 @@ function k2() {
|
|
|
53608
53608
|
ho(), da(), Ll(), Yd();
|
|
53609
53609
|
}
|
|
53610
53610
|
function B2() {
|
|
53611
|
-
ho(),
|
|
53611
|
+
ho(), OH();
|
|
53612
53612
|
}
|
|
53613
53613
|
function qge() {
|
|
53614
|
-
B2(), R6(),
|
|
53614
|
+
B2(), R6(), MH();
|
|
53615
53615
|
}
|
|
53616
53616
|
function Zge() {
|
|
53617
53617
|
B2(), k2();
|
|
@@ -53958,7 +53958,7 @@ class R1 extends M2 {
|
|
|
53958
53958
|
}, o, s) : this._itemsContainer.setAttribute(t, -(c - 1) * e);
|
|
53959
53959
|
}
|
|
53960
53960
|
};
|
|
53961
|
-
this._itemContext.isScrollbar ? (this._pagerComponent.addEventListener("scrollDrag", h), this._pagerComponent.addEventListener("scrollUp", h), this.attribute.pager.roamScroll && (this.addEventListener("wheel", (c) => c.nativeEvent.preventDefault()), this.addEventListener("wheel",
|
|
53961
|
+
this._itemContext.isScrollbar ? (this._pagerComponent.addEventListener("scrollDrag", h), this._pagerComponent.addEventListener("scrollUp", h), this.attribute.pager.roamScroll && (this.addEventListener("wheel", (c) => c.nativeEvent.preventDefault()), this.addEventListener("wheel", dH(l, 50)))) : (this._pagerComponent.addEventListener("toPrev", h), this._pagerComponent.addEventListener("toNext", h));
|
|
53962
53962
|
}
|
|
53963
53963
|
_renderPager() {
|
|
53964
53964
|
const e = this._title ? this._title.AABBBounds.height() + ro(this.attribute, "title.space", 8) : 0, { maxWidth: t, maxCol: i = 1, maxRow: n = 2, item: o = {}, pager: s = {} } = this.attribute, { spaceCol: a = nv, spaceRow: l = ov } = o, h = this._itemsContainer, { space: u = dS, defaultCurrent: c = 1 } = s, d = xI(s, ["space", "defaultCurrent"]), { isHorizontal: f } = this._itemContext, g = this._contentMaxHeight;
|
|
@@ -55334,7 +55334,7 @@ F6.defaultAttributes = {
|
|
|
55334
55334
|
}
|
|
55335
55335
|
};
|
|
55336
55336
|
function lpe() {
|
|
55337
|
-
ho(), Ll(), da(),
|
|
55337
|
+
ho(), Ll(), da(), EH();
|
|
55338
55338
|
}
|
|
55339
55339
|
lpe();
|
|
55340
55340
|
class Sg extends Ro {
|
|
@@ -56069,7 +56069,7 @@ P6.defaultAttributes = {
|
|
|
56069
56069
|
};
|
|
56070
56070
|
let AI = !1;
|
|
56071
56071
|
function O6() {
|
|
56072
|
-
AI || (AI = !0, Cg(), l2() ? vb(bt) : Dle() && _b(bt), fde(),
|
|
56072
|
+
AI || (AI = !0, Cg(), l2() ? vb(bt) : Dle() && _b(bt), fde(), EH(), ho(), Zg(), p2(), Ll(), w1(), mde(), Yd(), da(), UB(), Pde(), UB());
|
|
56073
56073
|
}
|
|
56074
56074
|
const Qd = (r, e) => Object.prototype.toString.call(r) === `[object ${e}]`, Fa = (r, e = !1) => e ? typeof r == "boolean" : r === !0 || r === !1 || Qd(r, "Boolean"), Zo = (r) => typeof r == "function", ii = (r) => r == null, oe = (r) => r != null, Nr = (r) => {
|
|
56075
56075
|
const e = typeof r;
|
|
@@ -61621,7 +61621,7 @@ class Zu extends Xu {
|
|
|
61621
61621
|
}
|
|
61622
61622
|
loadGif() {
|
|
61623
61623
|
this.playing = !1, _i.GetFile(this.attribute.gif + `?role=gif&radom=${Math.random()}`, "arrayBuffer").then((e) => {
|
|
61624
|
-
const t =
|
|
61624
|
+
const t = RH(e), i = AH(t, !0);
|
|
61625
61625
|
this.renderGIF(i), this.resources.set(this.attribute.image, {
|
|
61626
61626
|
state: "success",
|
|
61627
61627
|
data: this.gifCanvas
|
|
@@ -61988,7 +61988,7 @@ function J1e(r, e, t, i) {
|
|
|
61988
61988
|
j.name = o.name, n.appendChild(j);
|
|
61989
61989
|
break;
|
|
61990
61990
|
case "circle":
|
|
61991
|
-
const U =
|
|
61991
|
+
const U = j4({
|
|
61992
61992
|
x: o.x,
|
|
61993
61993
|
y: o.y,
|
|
61994
61994
|
dx: (S = o.dx) !== null && S !== void 0 ? S : 0,
|
|
@@ -75684,7 +75684,7 @@ class OSe extends Vt {
|
|
|
75684
75684
|
}
|
|
75685
75685
|
class DSe {
|
|
75686
75686
|
constructor(e) {
|
|
75687
|
-
this.table = e, this.timeline = new C2(), this.ticker = new
|
|
75687
|
+
this.table = e, this.timeline = new C2(), this.ticker = new KH(this.table.scenegraph.stage), this.ticker.addTimeline(this.timeline), this.ticker.setFPS(60), this.tempGraphic = Oi({});
|
|
75688
75688
|
}
|
|
75689
75689
|
scrollTo(e, t) {
|
|
75690
75690
|
var i, n;
|
|
@@ -75701,7 +75701,7 @@ class DSe {
|
|
|
75701
75701
|
x: Ie(s) ? f - this.table.getFrozenColsWidth() : this.table.scrollLeft,
|
|
75702
75702
|
y: Ie(a) ? g - this.table.getFrozenRowsHeight() : this.table.scrollTop
|
|
75703
75703
|
}, m = Fa(t) ? t ? 3e3 : 0 : (i = t == null ? void 0 : t.duration) !== null && i !== void 0 ? i : 3e3, v = Fa(t) ? t ? "linear" : "" : (n = t == null ? void 0 : t.easing) !== null && n !== void 0 ? n : "linear";
|
|
75704
|
-
new
|
|
75704
|
+
new XH(Tr.GenAutoIncrementId(), this.timeline).bind(this.tempGraphic).play(new OSe(o, p, m, v, {
|
|
75705
75705
|
graphic: this.tempGraphic,
|
|
75706
75706
|
table: this.table
|
|
75707
75707
|
})), this.ticker.start();
|
|
@@ -83422,7 +83422,7 @@ function j2e(r, e, t) {
|
|
|
83422
83422
|
});
|
|
83423
83423
|
else if (n === "triangle") {
|
|
83424
83424
|
let g, p, m, v;
|
|
83425
|
-
o === "right-top" ? (l = e.attribute.width - a, h = a, g = l - s, p = h, m = l, v = h + s) : o === "left-top" ? (l = a, h = a, g = l + s, p = h, m = l, v = h + s) : o === "right-bottom" ? (l = e.attribute.width - a, h = e.attribute.height - a, g = l - s, p = h, m = l, v = h - s) : o === "left-bottom" && (l = a, h = e.attribute.height - a, g = l + s, p = h, m = l, v = h - s), d = i, f =
|
|
83425
|
+
o === "right-top" ? (l = e.attribute.width - a, h = a, g = l - s, p = h, m = l, v = h + s) : o === "left-top" ? (l = a, h = a, g = l + s, p = h, m = l, v = h + s) : o === "right-bottom" ? (l = e.attribute.width - a, h = e.attribute.height - a, g = l - s, p = h, m = l, v = h - s) : o === "left-bottom" && (l = a, h = e.attribute.height - a, g = l + s, p = h, m = l, v = h - s), d = i, f = Y4({
|
|
83426
83426
|
points: [{
|
|
83427
83427
|
x: l,
|
|
83428
83428
|
y: h
|
|
@@ -97657,7 +97657,6 @@ const tPe = `
|
|
|
97657
97657
|
font-size: 14px;
|
|
97658
97658
|
color: var(--sl-vtable-content-color);
|
|
97659
97659
|
flex-shrink: 0;
|
|
97660
|
-
height: 60px;
|
|
97661
97660
|
border-radius: 4px;
|
|
97662
97661
|
}
|
|
97663
97662
|
|
|
@@ -97668,15 +97667,13 @@ const tPe = `
|
|
|
97668
97667
|
}
|
|
97669
97668
|
|
|
97670
97669
|
.sl-toolbar-btn {
|
|
97671
|
-
padding: 6px
|
|
97670
|
+
padding: 6px 16px;
|
|
97672
97671
|
height: 32px;
|
|
97673
|
-
background: var(--sl-vtable-bg-color1);
|
|
97674
97672
|
border: 1px solid var(--sl-vtable-bg-color1);
|
|
97675
|
-
border-radius:
|
|
97673
|
+
border-radius: 4px;
|
|
97676
97674
|
font-size: 14px;
|
|
97677
97675
|
color: var(--sl-vtable-content-color);
|
|
97678
97676
|
cursor: pointer;
|
|
97679
|
-
transition: all 0.2s;
|
|
97680
97677
|
white-space: nowrap;
|
|
97681
97678
|
}
|
|
97682
97679
|
|
|
@@ -97732,17 +97729,12 @@ const tPe = `
|
|
|
97732
97729
|
align-items: center;
|
|
97733
97730
|
background: var(--sl-vtable-bg-color1);
|
|
97734
97731
|
border: 1px solid var(--sl-vtable-bg-color1);
|
|
97735
|
-
border-radius:
|
|
97732
|
+
border-radius: 4px;
|
|
97736
97733
|
transition: all 0.2s;
|
|
97737
97734
|
height: 32px;
|
|
97738
97735
|
box-sizing: border-box;
|
|
97739
97736
|
}
|
|
97740
97737
|
|
|
97741
|
-
.sl-freeze-input-wrapper:hover {
|
|
97742
|
-
background: #E8E9EB;
|
|
97743
|
-
border-color: var(--sl-vtable-primary-color);
|
|
97744
|
-
}
|
|
97745
|
-
|
|
97746
97738
|
.sl-freeze-input-wrapper:focus-within {
|
|
97747
97739
|
border-color: var(--sl-vtable-primary-color);
|
|
97748
97740
|
box-shadow: 0 0 0 2px rgba(40, 120, 255, 0.1);
|
|
@@ -97752,7 +97744,7 @@ const tPe = `
|
|
|
97752
97744
|
width: 30px;
|
|
97753
97745
|
height: 30px;
|
|
97754
97746
|
padding: 0px 2px;
|
|
97755
|
-
border-radius:
|
|
97747
|
+
border-radius: 4px 0px 0px 4px;
|
|
97756
97748
|
background: #fff;
|
|
97757
97749
|
border: none;
|
|
97758
97750
|
font-size: 14px;
|
|
@@ -97776,29 +97768,18 @@ const tPe = `
|
|
|
97776
97768
|
|
|
97777
97769
|
.sl-freeze-arrow {
|
|
97778
97770
|
width: 20px;
|
|
97779
|
-
height:
|
|
97771
|
+
height: 10px;
|
|
97780
97772
|
padding: 0;
|
|
97781
97773
|
background: transparent;
|
|
97782
97774
|
border: none;
|
|
97783
|
-
font-size:
|
|
97775
|
+
font-size: 14px;
|
|
97784
97776
|
color: var(--sl-vtable-content-color);
|
|
97785
97777
|
cursor: pointer;
|
|
97786
97778
|
display: flex;
|
|
97787
97779
|
align-items: center;
|
|
97788
97780
|
justify-content: center;
|
|
97789
|
-
transition: all 0.2s;
|
|
97790
|
-
opacity: 0.6;
|
|
97791
|
-
}
|
|
97792
|
-
|
|
97793
|
-
.sl-freeze-arrow:hover {
|
|
97794
|
-
background: rgba(40, 120, 255, 0.1);
|
|
97795
|
-
opacity: 1;
|
|
97796
|
-
color: var(--sl-vtable-primary-color);
|
|
97797
97781
|
}
|
|
97798
97782
|
|
|
97799
|
-
.sl-freeze-arrow:active {
|
|
97800
|
-
background: rgba(40, 120, 255, 0.2);
|
|
97801
|
-
}
|
|
97802
97783
|
|
|
97803
97784
|
.sl-freeze-arrow-up {
|
|
97804
97785
|
border-radius: 0 8px 0 0;
|
|
@@ -97806,7 +97787,7 @@ const tPe = `
|
|
|
97806
97787
|
|
|
97807
97788
|
.sl-freeze-arrow-down {
|
|
97808
97789
|
border-radius: 0 0 8px 0;
|
|
97809
|
-
|
|
97790
|
+
transform: rotate(180deg);
|
|
97810
97791
|
}
|
|
97811
97792
|
|
|
97812
97793
|
.sl-freeze-suffix {
|
|
@@ -98630,9 +98611,9 @@ class fPe {
|
|
|
98630
98611
|
const o = document.createElement("div");
|
|
98631
98612
|
o.className = "sl-freeze-arrows";
|
|
98632
98613
|
const s = document.createElement("button");
|
|
98633
|
-
s.className = "sl-freeze-arrow sl-freeze-arrow-up", s.innerHTML = "
|
|
98614
|
+
s.className = "sl-freeze-arrow sl-freeze-arrow-up", s.innerHTML = "^", s.type = "button";
|
|
98634
98615
|
const a = document.createElement("button");
|
|
98635
|
-
a.className = "sl-freeze-arrow sl-freeze-arrow-down", a.innerHTML = "
|
|
98616
|
+
a.className = "sl-freeze-arrow sl-freeze-arrow-down", a.innerHTML = "^", a.type = "button", o.appendChild(s), o.appendChild(a);
|
|
98636
98617
|
const l = document.createElement("span");
|
|
98637
98618
|
l.className = "sl-freeze-suffix", l.textContent = Fy("toolbar.buttons.freeze.suffix");
|
|
98638
98619
|
const h = (u) => {
|
|
@@ -98763,15 +98744,14 @@ const gPe = (r, e) => ({
|
|
|
98763
98744
|
}
|
|
98764
98745
|
// 或者简单使用: marked: true,
|
|
98765
98746
|
}), T3 = {
|
|
98766
|
-
// bgColor: "#f5f5f5",
|
|
98767
98747
|
color: "#1D2129",
|
|
98768
98748
|
fontSize: 14,
|
|
98769
98749
|
fontWeight: "400",
|
|
98770
|
-
|
|
98750
|
+
bgColor: "#F9FAFB"
|
|
98771
98751
|
}, Py = {
|
|
98772
|
-
// bgColor: "#ffffff",
|
|
98773
98752
|
color: "#6B7280",
|
|
98774
|
-
fontSize: 14
|
|
98753
|
+
fontSize: 14,
|
|
98754
|
+
bgColor: "white"
|
|
98775
98755
|
};
|
|
98776
98756
|
class E3 {
|
|
98777
98757
|
/**
|
|
@@ -99009,6 +98989,19 @@ class NPe {
|
|
|
99009
98989
|
overflow: hidden;
|
|
99010
98990
|
position: relative;
|
|
99011
98991
|
margin-top:12px;
|
|
98992
|
+
border-radius: 4px;
|
|
98993
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
98994
|
+
}
|
|
98995
|
+
/* VTableSheet 表格主体样式 - 移除内部边框避免双边框 */
|
|
98996
|
+
.sl-table-container .vtable-sheet {
|
|
98997
|
+
border-radius: 4px;
|
|
98998
|
+
overflow: hidden;
|
|
98999
|
+
}
|
|
99000
|
+
.sl-table-container .vtable-sheet .vtable-body {
|
|
99001
|
+
border: none !important;
|
|
99002
|
+
}
|
|
99003
|
+
.sl-table-container .vtable-sheet .vtable-header {
|
|
99004
|
+
border: none !important;
|
|
99012
99005
|
}
|
|
99013
99006
|
/* 当使用自定义 SheetTabs 时,隐藏 VTableSheet 原生的 sheet tab */
|
|
99014
99007
|
.sl-table-sheet-wrapper.hide-native-sheet-tab .vtable-sheet-tab-bar {
|