manim-web 0.3.13 → 0.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1006 -859
- package/dist/integrations/react.js +483 -475
- package/dist/integrations/vue.js +385 -377
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as S from "three";
|
|
2
|
-
import { InstancedBufferGeometry as vf, Float32BufferAttribute as $i, InstancedInterleavedBuffer as qo, InterleavedBufferAttribute as wi, WireframeGeometry as yf, Box3 as Pa, Sphere as
|
|
3
|
-
const bt = "#FFFFFF", Pf = "#DDDDDD", Af = "#BBBBBB", Lf = "#888888", Rf = "#444444", Df = "#222222", er = "#000000",
|
|
2
|
+
import { InstancedBufferGeometry as vf, Float32BufferAttribute as $i, InstancedInterleavedBuffer as qo, InterleavedBufferAttribute as wi, WireframeGeometry as yf, Box3 as Pa, Sphere as Vc, Vector3 as Ft, ShaderMaterial as bf, ShaderLib as rn, UniformsUtils as Hc, Vector2 as Re, UniformsLib as nn, Mesh as xf, Vector4 as gr, Line3 as wf, Matrix4 as Sf, MathUtils as qc, Controls as Mf, MOUSE as Mi, TOUCH as Si, Quaternion as zh, Spherical as Bh, Ray as kf, Plane as Tf, BufferGeometry as Cf } from "three";
|
|
3
|
+
const bt = "#FFFFFF", Pf = "#DDDDDD", Af = "#BBBBBB", Lf = "#888888", Rf = "#444444", Df = "#222222", er = "#000000", mx = Pf, gx = Af, Xc = Lf, _x = Rf, vx = Df, yx = "#C7E9F1", bx = "#9CDCEB", Of = "#58C4DD", xx = "#29ABCA", Ff = "#236B8E", wx = "#0000FF", Dt = Of, Sx = Ff, Mx = "#ACEAD7", kx = "#76DDC0", Ef = "#5CD0B3", Tx = "#55C1A7", Cx = "#49A88F", Aa = Ef, Px = "#C9E2AE", Ax = "#A6CF8C", zf = "#83C167", Lx = "#77B05D", Rx = "#699C52", Dx = "#00FF00", La = zf, Ox = "#FFF1B6", Fx = "#FFEA94", Bf = "#FFFF00", Ex = "#F4D345", zx = "#E8C11C", Ge = Bf, Bx = "#F7C797", Ix = "#F9B775", If = "#F0AC5F", Wx = "#E1A158", jx = "#C78D46", Ra = If, Ux = "#F7A1A3", Nx = "#FF8080", Wf = "#FC6255", Gx = "#E65A4C", Vx = "#CF5044", Hx = "#FF0000", Li = Wf, qx = "#ECABC1", Xx = "#EC92AB", jf = "#C55F73", Yx = "#A24D61", $x = "#94424F", Uf = jf, Zx = "#CAA3E8", Kx = "#B189C6", Nf = "#9A72AC", Qx = "#715582", Jx = "#644172", Da = Nf, Gf = "#D147BD", t3 = "#DC75CD", Yc = "#FF862F", e3 = "#CD853F", s3 = "#8B4513", Vf = "#1C1C1C", yt = 4, i3 = 48, r3 = 1, Hf = 14.222, qf = 8, n3 = 1920, o3 = 1080, a3 = 60, h3 = 0.1, Xf = 0.25, Yf = 0.5, l3 = 1, c3 = Yf, u3 = Xf, $f = [0, 1, 0], Oa = [0, -1, 0], Zf = [-1, 0, 0], fn = [1, 0, 0], d3 = [0, 0, 1], f3 = [0, 0, -1], Kf = [0, 0, 0], p3 = [-1, 1, 0], m3 = [1, 1, 0], g3 = [-1, -1, 0], _3 = [1, -1, 0];
|
|
4
4
|
function sr(i) {
|
|
5
5
|
return "_points3D" in i;
|
|
6
6
|
}
|
|
@@ -534,7 +534,7 @@ class $c extends vf {
|
|
|
534
534
|
t !== void 0 && e !== void 0 && (this.boundingBox.setFromBufferAttribute(t), Ih.setFromBufferAttribute(e), this.boundingBox.union(Ih));
|
|
535
535
|
}
|
|
536
536
|
computeBoundingSphere() {
|
|
537
|
-
this.boundingSphere === null && (this.boundingSphere = new
|
|
537
|
+
this.boundingSphere === null && (this.boundingSphere = new Vc()), this.boundingBox === null && this.computeBoundingBox();
|
|
538
538
|
const t = this.attributes.instanceStart, e = this.attributes.instanceEnd;
|
|
539
539
|
if (t !== void 0 && e !== void 0) {
|
|
540
540
|
const s = this.boundingSphere.center;
|
|
@@ -559,7 +559,7 @@ nn.line = {
|
|
|
559
559
|
// todo FIX - maybe change to totalSize
|
|
560
560
|
};
|
|
561
561
|
rn.line = {
|
|
562
|
-
uniforms:
|
|
562
|
+
uniforms: Hc.merge([
|
|
563
563
|
nn.common,
|
|
564
564
|
nn.fog,
|
|
565
565
|
nn.line
|
|
@@ -955,7 +955,7 @@ class $s extends bf {
|
|
|
955
955
|
constructor(t) {
|
|
956
956
|
super({
|
|
957
957
|
type: "LineMaterial",
|
|
958
|
-
uniforms:
|
|
958
|
+
uniforms: Hc.clone(rn.line.uniforms),
|
|
959
959
|
vertexShader: rn.line.vertexShader,
|
|
960
960
|
fragmentShader: rn.line.fragmentShader,
|
|
961
961
|
clipping: !0
|
|
@@ -1097,7 +1097,7 @@ class $s extends bf {
|
|
|
1097
1097
|
this.defines && (t === !0 !== this.alphaToCoverage && (this.needsUpdate = !0), t === !0 ? this.defines.USE_ALPHA_TO_COVERAGE = "" : delete this.defines.USE_ALPHA_TO_COVERAGE);
|
|
1098
1098
|
}
|
|
1099
1099
|
}
|
|
1100
|
-
const uo = new gr(), Wh = new Ft(), jh = new Ft(), re = new gr(), ne = new gr(), Ye = new gr(), fo = new Ft(), po = new Sf(), oe = new wf(), Uh = new Ft(), Lr = new Pa(), Rr = new
|
|
1100
|
+
const uo = new gr(), Wh = new Ft(), jh = new Ft(), re = new gr(), ne = new gr(), Ye = new gr(), fo = new Ft(), po = new Sf(), oe = new wf(), Uh = new Ft(), Lr = new Pa(), Rr = new Vc(), $e = new gr();
|
|
1101
1101
|
let Je, hi;
|
|
1102
1102
|
function Nh(i, t, e) {
|
|
1103
1103
|
return $e.set(0, 0, -t, 1).applyMatrix4(i.projectionMatrix), $e.multiplyScalar(1 / $e.w), $e.x = hi / e.width, $e.y = hi / e.height, $e.applyMatrix4(i.projectionMatrixInverse), $e.multiplyScalar(1 / $e.w), Math.abs(Math.max($e.x, $e.y));
|
|
@@ -1267,7 +1267,7 @@ class Se extends $c {
|
|
|
1267
1267
|
return this.setPositions(e.attributes.position.array), this;
|
|
1268
1268
|
}
|
|
1269
1269
|
}
|
|
1270
|
-
class
|
|
1270
|
+
class gt extends fp {
|
|
1271
1271
|
/**
|
|
1272
1272
|
* Constructs a new wide line.
|
|
1273
1273
|
*
|
|
@@ -1987,7 +1987,7 @@ function Fa(i, t) {
|
|
|
1987
1987
|
// dimensions (2D)
|
|
1988
1988
|
);
|
|
1989
1989
|
}
|
|
1990
|
-
function
|
|
1990
|
+
function v3(i, t, e = 0) {
|
|
1991
1991
|
const s = Fa(i, t);
|
|
1992
1992
|
if (s.length === 0) return new Float32Array(0);
|
|
1993
1993
|
const r = [...i];
|
|
@@ -2008,10 +2008,10 @@ function t0(i) {
|
|
|
2008
2008
|
t += (i[r][0] - i[s][0]) * (i[r][1] + i[s][1]);
|
|
2009
2009
|
return t / 2;
|
|
2010
2010
|
}
|
|
2011
|
-
function
|
|
2011
|
+
function y3(i) {
|
|
2012
2012
|
return t0(i) >= 0 ? i : [...i].reverse();
|
|
2013
2013
|
}
|
|
2014
|
-
function
|
|
2014
|
+
function b3(i) {
|
|
2015
2015
|
return t0(i) <= 0 ? i : [...i].reverse();
|
|
2016
2016
|
}
|
|
2017
2017
|
function gi(i, t, e) {
|
|
@@ -2024,7 +2024,7 @@ function Di(i, t, e) {
|
|
|
2024
2024
|
i[2] + (t[2] - i[2]) * e
|
|
2025
2025
|
];
|
|
2026
2026
|
}
|
|
2027
|
-
function
|
|
2027
|
+
function Vh(i) {
|
|
2028
2028
|
return i * i * (3 - 2 * i);
|
|
2029
2029
|
}
|
|
2030
2030
|
function Ea(i, t, e, s, r) {
|
|
@@ -2212,20 +2212,20 @@ function Wp(i, t, e, s) {
|
|
|
2212
2212
|
}
|
|
2213
2213
|
const d = u < 0 ? 1 : -1, f = [];
|
|
2214
2214
|
for (let _ = 0; _ < n; _++) {
|
|
2215
|
-
const b = l[(_ - 1 + n) % n], y = l[_], w = l[(_ + 1) % n], k = y[0] - b[0], C = y[1] - b[1], P = w[0] - y[0], R = w[1] - y[1], O = Math.sqrt(k * k + C * C) || 1, F = Math.sqrt(P * P + R * R) || 1, z = d * (-C / O), B = d * (k / O),
|
|
2216
|
-
let
|
|
2217
|
-
const nt = Math.sqrt(
|
|
2218
|
-
nt > 1e-10 ? (
|
|
2219
|
-
const ot = z *
|
|
2220
|
-
f.push(y[0] +
|
|
2215
|
+
const b = l[(_ - 1 + n) % n], y = l[_], w = l[(_ + 1) % n], k = y[0] - b[0], C = y[1] - b[1], P = w[0] - y[0], R = w[1] - y[1], O = Math.sqrt(k * k + C * C) || 1, F = Math.sqrt(P * P + R * R) || 1, z = d * (-C / O), B = d * (k / O), H = d * (-R / F), U = d * (P / F);
|
|
2216
|
+
let V = z + H, $ = B + U;
|
|
2217
|
+
const nt = Math.sqrt(V * V + $ * $);
|
|
2218
|
+
nt > 1e-10 ? (V /= nt, $ /= nt) : (V = z, $ = B);
|
|
2219
|
+
const ot = z * V + B * $, it = (ot > 0.1 ? c / ot : c * 2) + 5e-3;
|
|
2220
|
+
f.push(y[0] + V * it, y[1] + $ * it, y[2]);
|
|
2221
2221
|
}
|
|
2222
2222
|
for (let _ = 0; _ < n; _++) {
|
|
2223
|
-
const b = l[(_ - 1 + n) % n], y = l[_], w = l[(_ + 1) % n], k = y[0] - b[0], C = y[1] - b[1], P = w[0] - y[0], R = w[1] - y[1], O = Math.sqrt(k * k + C * C) || 1, F = Math.sqrt(P * P + R * R) || 1, z = d * (-C / O), B = d * (k / O),
|
|
2224
|
-
let
|
|
2225
|
-
const nt = Math.sqrt(
|
|
2226
|
-
nt > 1e-10 ? (
|
|
2227
|
-
const ot = z *
|
|
2228
|
-
f.push(y[0] -
|
|
2223
|
+
const b = l[(_ - 1 + n) % n], y = l[_], w = l[(_ + 1) % n], k = y[0] - b[0], C = y[1] - b[1], P = w[0] - y[0], R = w[1] - y[1], O = Math.sqrt(k * k + C * C) || 1, F = Math.sqrt(P * P + R * R) || 1, z = d * (-C / O), B = d * (k / O), H = d * (-R / F), U = d * (P / F);
|
|
2224
|
+
let V = z + H, $ = B + U;
|
|
2225
|
+
const nt = Math.sqrt(V * V + $ * $);
|
|
2226
|
+
nt > 1e-10 ? (V /= nt, $ /= nt) : (V = z, $ = B);
|
|
2227
|
+
const ot = z * V + B * $, it = ot > 0.1 ? c / ot : c * 2;
|
|
2228
|
+
f.push(y[0] - V * it, y[1] - $ * it, y[2]);
|
|
2229
2229
|
}
|
|
2230
2230
|
const p = [];
|
|
2231
2231
|
for (let _ = 0; _ < f.length; _ += 3)
|
|
@@ -2444,7 +2444,7 @@ class us extends St {
|
|
|
2444
2444
|
} else {
|
|
2445
2445
|
const o = new Se();
|
|
2446
2446
|
o.setPositions(n);
|
|
2447
|
-
const a = new
|
|
2447
|
+
const a = new gt(o, this._strokeMaterial);
|
|
2448
2448
|
a.computeLineDistances(), a.frustumCulled = !1, t.add(a), this._cachedLine2 = a;
|
|
2449
2449
|
}
|
|
2450
2450
|
} else this._cachedLine2 && (this._cachedLine2.geometry.dispose(), t.remove(this._cachedLine2), this._cachedLine2 = null);
|
|
@@ -2470,7 +2470,7 @@ class us extends St {
|
|
|
2470
2470
|
} else {
|
|
2471
2471
|
const c = new Se();
|
|
2472
2472
|
c.setPositions(l);
|
|
2473
|
-
const u = new
|
|
2473
|
+
const u = new gt(c, this._strokeMaterial);
|
|
2474
2474
|
u.computeLineDistances(), u.frustumCulled = !1, t.add(u), this._cachedLine2Array[o] = u;
|
|
2475
2475
|
}
|
|
2476
2476
|
}
|
|
@@ -2553,7 +2553,7 @@ class us extends St {
|
|
|
2553
2553
|
_disposeGroupChildren(t) {
|
|
2554
2554
|
for (; t.children.length > 0; ) {
|
|
2555
2555
|
const e = t.children[0];
|
|
2556
|
-
t.remove(e), (e instanceof S.Mesh || e instanceof S.Line || e instanceof
|
|
2556
|
+
t.remove(e), (e instanceof S.Mesh || e instanceof S.Line || e instanceof gt) && e.geometry?.dispose();
|
|
2557
2557
|
}
|
|
2558
2558
|
}
|
|
2559
2559
|
// -----------------------------------------------------------------------
|
|
@@ -3559,7 +3559,7 @@ class r0 extends W {
|
|
|
3559
3559
|
return this._createCopy();
|
|
3560
3560
|
}
|
|
3561
3561
|
}
|
|
3562
|
-
class
|
|
3562
|
+
class Ht extends St {
|
|
3563
3563
|
/**
|
|
3564
3564
|
* Create a new Group containing the given mobjects.
|
|
3565
3565
|
* @param mobjects - Mobjects to add to the group
|
|
@@ -3736,7 +3736,7 @@ class Vt extends St {
|
|
|
3736
3736
|
* Create a copy of this Group.
|
|
3737
3737
|
*/
|
|
3738
3738
|
_createCopy() {
|
|
3739
|
-
return new
|
|
3739
|
+
return new Ht();
|
|
3740
3740
|
}
|
|
3741
3741
|
/**
|
|
3742
3742
|
* Get the number of mobjects in this group.
|
|
@@ -3781,7 +3781,7 @@ class Vt extends St {
|
|
|
3781
3781
|
*/
|
|
3782
3782
|
filter(t) {
|
|
3783
3783
|
const e = this.children.filter(t);
|
|
3784
|
-
return new
|
|
3784
|
+
return new Ht(...e.map((s) => s.copy()));
|
|
3785
3785
|
}
|
|
3786
3786
|
}
|
|
3787
3787
|
class jp {
|
|
@@ -4192,7 +4192,7 @@ class Up {
|
|
|
4192
4192
|
const vs = (i) => i, ke = (i) => {
|
|
4193
4193
|
const e = 1 / (1 + Math.exp(5)), s = 1 / (1 + Math.exp(-10 * (i - 0.5)));
|
|
4194
4194
|
return Math.max(0, Math.min(1, (s - e) / (1 - 2 * e)));
|
|
4195
|
-
},
|
|
4195
|
+
}, x3 = (i) => i < 0.5 ? 4 * i * i * i : 1 - Math.pow(-2 * i + 2, 3) / 2, w3 = (i) => i * i * i, S3 = (i) => 1 - Math.pow(1 - i, 3), M3 = (i) => i * i, k3 = (i) => 1 - (1 - i) * (1 - i), T3 = (i) => i === 0 ? 0 : Math.pow(2, 10 * i - 10), C3 = (i) => i === 1 ? 1 : 1 - Math.pow(2, -10 * i), $o = (i) => i < 1 / 2.75 ? 7.5625 * i * i : i < 2 / 2.75 ? 7.5625 * (i -= 1.5 / 2.75) * i + 0.75 : i < 2.5 / 2.75 ? 7.5625 * (i -= 2.25 / 2.75) * i + 0.9375 : 7.5625 * (i -= 2.625 / 2.75) * i + 0.984375, P3 = (i) => 1 - $o(1 - i), o0 = (i) => i < 0.5 ? ke(2 * i) : ke(2 * (1 - i)), A3 = (i) => 2 * ke(0.5 * i), L3 = (i) => 2 * ke(0.5 * (i + 1)) - 1, R3 = (i) => i < 0.5 ? 0.5 * ke(2 * i) : 0.5 * (1 + ke(2 * i - 1)), D3 = (i = 0.5) => (t) => t < i ? 0 : 1, O3 = (i) => (t) => 1 - i(1 - t), F3 = (i, t) => (e) => i(t(e)), Np = (i, t) => {
|
|
4196
4196
|
if (t === 0 || t === i) return 1;
|
|
4197
4197
|
let e = 1;
|
|
4198
4198
|
for (let s = 0; s < t; s++)
|
|
@@ -4206,11 +4206,11 @@ const vs = (i) => i, ke = (i) => {
|
|
|
4206
4206
|
s += n * i[r];
|
|
4207
4207
|
}
|
|
4208
4208
|
return s;
|
|
4209
|
-
},
|
|
4209
|
+
}, E3 = (i) => Math.sqrt(1 - (1 - i) * (1 - i)), Vp = (i, t = 0.4, e = 0.6) => (s) => s < t ? i(0) : s > e ? i(1) : i((s - t) / (e - t)), z3 = (i = 1 / 3) => (t) => {
|
|
4210
4210
|
const e = 2 / (1 - i);
|
|
4211
4211
|
return t < 0.5 - i / 2 ? ke(t * e) : t < 0.5 + i / 2 ? 1 : ke((1 - t) * e);
|
|
4212
|
-
},
|
|
4213
|
-
class
|
|
4212
|
+
}, B3 = (i = -0.5) => (t) => Gp(0, 0, i, i, 1, 1, 1)(t), I3 = (i = 2) => (t) => o0(t) * Math.sin(i * Math.PI * t), W3 = (i = ke, t = 0.7) => (e) => t * i(e), j3 = Vp(vs, 0, 0.8), U3 = (i = 0.1) => (t) => 1 - Math.exp(-t / i), N3 = (i) => 3 * i * i - 2 * i * i * i, G3 = (i) => 6 * Math.pow(i, 5) - 15 * Math.pow(i, 4) + 10 * Math.pow(i, 3), V3 = (i) => 35 * Math.pow(i, 4) - 84 * Math.pow(i, 5) + 70 * Math.pow(i, 6) - 20 * Math.pow(i, 7), H3 = (i) => 1 - Math.cos(i * Math.PI / 2), q3 = (i) => Math.sin(i * Math.PI / 2), X3 = (i) => -(Math.cos(Math.PI * i) - 1) / 2, Y3 = (i) => i < 0.5 ? 2 * i * i : 1 - Math.pow(-2 * i + 2, 2) / 2, $3 = (i) => i * i * i * i, Z3 = (i) => 1 - Math.pow(1 - i, 4), K3 = (i) => i < 0.5 ? 8 * Math.pow(i, 4) : 1 - Math.pow(-2 * i + 2, 4) / 2, Q3 = (i) => Math.pow(i, 5), J3 = (i) => 1 - Math.pow(1 - i, 5), t5 = (i) => i < 0.5 ? 16 * Math.pow(i, 5) : 1 - Math.pow(-2 * i + 2, 5) / 2, e5 = (i) => i === 0 ? 0 : i === 1 ? 1 : i < 0.5 ? Math.pow(2, 20 * i - 10) / 2 : (2 - Math.pow(2, -20 * i + 10)) / 2, s5 = (i) => 1 - Math.sqrt(1 - i * i), i5 = (i) => Math.sqrt(1 - (i - 1) * (i - 1)), r5 = (i) => i < 0.5 ? (1 - Math.sqrt(1 - Math.pow(2 * i, 2))) / 2 : (Math.sqrt(1 - Math.pow(-2 * i + 2, 2)) + 1) / 2, An = 1.70158, Fr = An * 1.525, a0 = An + 1, n5 = (i) => a0 * i * i * i - An * i * i, o5 = (i) => 1 + a0 * Math.pow(i - 1, 3) + An * Math.pow(i - 1, 2), a5 = (i) => i < 0.5 ? Math.pow(2 * i, 2) * ((Fr + 1) * 2 * i - Fr) / 2 : (Math.pow(2 * i - 2, 2) * ((Fr + 1) * (2 * i - 2) + Fr) + 2) / 2, h0 = 2 * Math.PI / 3, Hh = 2 * Math.PI / 4.5, h5 = (i) => i === 0 ? 0 : i === 1 ? 1 : -Math.pow(2, 10 * i - 10) * Math.sin((10 * i - 10.75) * h0), l5 = (i) => i === 0 ? 0 : i === 1 ? 1 : Math.pow(2, -10 * i) * Math.sin((10 * i - 0.75) * h0) + 1, c5 = (i) => i === 0 ? 0 : i === 1 ? 1 : i < 0.5 ? -(Math.pow(2, 20 * i - 10) * Math.sin((20 * i - 11.125) * Hh)) / 2 : Math.pow(2, -20 * i + 10) * Math.sin((20 * i - 11.125) * Hh) / 2 + 1, u5 = (i) => i < 0.5 ? (1 - $o(1 - 2 * i)) / 2 : (1 + $o(2 * i - 1)) / 2;
|
|
4213
|
+
class dt {
|
|
4214
4214
|
/** The mobject being animated */
|
|
4215
4215
|
mobject;
|
|
4216
4216
|
/** Duration of the animation in seconds */
|
|
@@ -4323,7 +4323,7 @@ class Wa extends St {
|
|
|
4323
4323
|
return new Wa();
|
|
4324
4324
|
}
|
|
4325
4325
|
}
|
|
4326
|
-
function
|
|
4326
|
+
function Hp(i, t) {
|
|
4327
4327
|
if (i.length === 0)
|
|
4328
4328
|
return 0;
|
|
4329
4329
|
if (t === 0)
|
|
@@ -4339,7 +4339,7 @@ function Vp(i, t) {
|
|
|
4339
4339
|
return e;
|
|
4340
4340
|
}
|
|
4341
4341
|
}
|
|
4342
|
-
class di extends
|
|
4342
|
+
class di extends dt {
|
|
4343
4343
|
/** Child animations */
|
|
4344
4344
|
animations;
|
|
4345
4345
|
/** Lag ratio */
|
|
@@ -4349,7 +4349,7 @@ class di extends _t {
|
|
|
4349
4349
|
/** End times for each animation (relative to group start) */
|
|
4350
4350
|
_endTimes = [];
|
|
4351
4351
|
constructor(t, e = {}) {
|
|
4352
|
-
const s = new Wa(), r = e.lagRatio ?? 0, n =
|
|
4352
|
+
const s = new Wa(), r = e.lagRatio ?? 0, n = Hp(t, r);
|
|
4353
4353
|
super(s, {
|
|
4354
4354
|
duration: n,
|
|
4355
4355
|
rateFunc: e.rateFunc ?? vs
|
|
@@ -4409,7 +4409,7 @@ class di extends _t {
|
|
|
4409
4409
|
t.reset();
|
|
4410
4410
|
}
|
|
4411
4411
|
}
|
|
4412
|
-
function
|
|
4412
|
+
function d5(i, t) {
|
|
4413
4413
|
return new di(i, t);
|
|
4414
4414
|
}
|
|
4415
4415
|
class l0 {
|
|
@@ -4591,16 +4591,16 @@ function Rn(i, t) {
|
|
|
4591
4591
|
Rn(i.children[s], t.children[s]);
|
|
4592
4592
|
i._markDirty();
|
|
4593
4593
|
}
|
|
4594
|
-
function
|
|
4594
|
+
function f5(i) {
|
|
4595
4595
|
return JSON.stringify(i);
|
|
4596
4596
|
}
|
|
4597
|
-
function
|
|
4597
|
+
function p5(i) {
|
|
4598
4598
|
return JSON.parse(i);
|
|
4599
4599
|
}
|
|
4600
|
-
function
|
|
4600
|
+
function m5(i) {
|
|
4601
4601
|
return JSON.stringify(i);
|
|
4602
4602
|
}
|
|
4603
|
-
function
|
|
4603
|
+
function g5(i) {
|
|
4604
4604
|
return JSON.parse(i);
|
|
4605
4605
|
}
|
|
4606
4606
|
class qp {
|
|
@@ -4725,11 +4725,11 @@ class qp {
|
|
|
4725
4725
|
Rn(e[r], t.mobjects[r]);
|
|
4726
4726
|
}
|
|
4727
4727
|
}
|
|
4728
|
-
function
|
|
4728
|
+
function _5(i) {
|
|
4729
4729
|
const t = Ln(i);
|
|
4730
4730
|
return i.__savedMobjectState = t, i.savedState = i.copy(), t;
|
|
4731
4731
|
}
|
|
4732
|
-
function
|
|
4732
|
+
function v5(i) {
|
|
4733
4733
|
const t = i.__savedMobjectState;
|
|
4734
4734
|
return t ? (Rn(i, t), !0) : !1;
|
|
4735
4735
|
}
|
|
@@ -5117,7 +5117,7 @@ class ci {
|
|
|
5117
5117
|
const {
|
|
5118
5118
|
width: s,
|
|
5119
5119
|
height: r,
|
|
5120
|
-
backgroundColor: n =
|
|
5120
|
+
backgroundColor: n = Vf,
|
|
5121
5121
|
frameWidth: o = 14,
|
|
5122
5122
|
frameHeight: a = 8,
|
|
5123
5123
|
targetFps: h = 60,
|
|
@@ -5783,7 +5783,7 @@ class ci {
|
|
|
5783
5783
|
const s = t.slice(t.lastIndexOf(".")).toLowerCase();
|
|
5784
5784
|
let r;
|
|
5785
5785
|
if (s === ".gif") {
|
|
5786
|
-
const { GifExporter: n } = await Promise.resolve().then(() =>
|
|
5786
|
+
const { GifExporter: n } = await Promise.resolve().then(() => ex);
|
|
5787
5787
|
r = await new n(this, {
|
|
5788
5788
|
fps: e?.fps,
|
|
5789
5789
|
quality: e?.quality,
|
|
@@ -5795,7 +5795,7 @@ class ci {
|
|
|
5795
5795
|
workers: e?.workers
|
|
5796
5796
|
}).exportTimeline(e?.duration), n.download(r, t);
|
|
5797
5797
|
} else if (s === ".webm" || s === ".mp4" || s === ".mov") {
|
|
5798
|
-
const { VideoExporter: n } = await Promise.resolve().then(() =>
|
|
5798
|
+
const { VideoExporter: n } = await Promise.resolve().then(() => ix), o = s === ".mp4" ? "mp4" : s === ".mov" ? "mov" : "webm";
|
|
5799
5799
|
r = await new n(this, {
|
|
5800
5800
|
fps: e?.fps,
|
|
5801
5801
|
quality: e?.quality,
|
|
@@ -7129,7 +7129,7 @@ class l1 {
|
|
|
7129
7129
|
this._controls.dispose();
|
|
7130
7130
|
}
|
|
7131
7131
|
}
|
|
7132
|
-
class
|
|
7132
|
+
class b5 extends ci {
|
|
7133
7133
|
_camera3D;
|
|
7134
7134
|
_lighting;
|
|
7135
7135
|
_orbitControls = null;
|
|
@@ -7707,7 +7707,7 @@ class u1 extends St {
|
|
|
7707
7707
|
return this._height * this.scaleVector.y;
|
|
7708
7708
|
}
|
|
7709
7709
|
}
|
|
7710
|
-
class d1 extends
|
|
7710
|
+
class d1 extends dt {
|
|
7711
7711
|
_savedPosition = null;
|
|
7712
7712
|
_savedScale = null;
|
|
7713
7713
|
_startPosition = null;
|
|
@@ -7732,7 +7732,7 @@ class d1 extends _t {
|
|
|
7732
7732
|
this.interpolate(t), super.finish();
|
|
7733
7733
|
}
|
|
7734
7734
|
}
|
|
7735
|
-
class
|
|
7735
|
+
class x5 extends ci {
|
|
7736
7736
|
/** The zoomed camera with its frame */
|
|
7737
7737
|
zoomedCamera;
|
|
7738
7738
|
/** The zoomed display (texture + border) */
|
|
@@ -7842,7 +7842,7 @@ class _5 extends ci {
|
|
|
7842
7842
|
), this.zoomedDisplay.scaleVector.set(1, 1, 1), this.zoomedDisplay.setOpacity(1), this.zoomedDisplay.displayFrame.setOpacity(1), this.zoomedDisplay._markDirty();
|
|
7843
7843
|
for (const e of [this.zoomedCamera.frame, this.zoomedDisplay.displayFrame])
|
|
7844
7844
|
e.getThreeObject().traverse((s) => {
|
|
7845
|
-
if (s instanceof
|
|
7845
|
+
if (s instanceof gt) {
|
|
7846
7846
|
const r = s.material;
|
|
7847
7847
|
r.dashed = !1, r.needsUpdate = !0;
|
|
7848
7848
|
}
|
|
@@ -7862,7 +7862,7 @@ class _5 extends ci {
|
|
|
7862
7862
|
this._zoomRenderTarget && this._zoomRenderTarget.dispose(), super.dispose();
|
|
7863
7863
|
}
|
|
7864
7864
|
}
|
|
7865
|
-
class
|
|
7865
|
+
class w5 {
|
|
7866
7866
|
_camera3D;
|
|
7867
7867
|
_theta;
|
|
7868
7868
|
_phi;
|
|
@@ -8057,7 +8057,7 @@ class Na extends St {
|
|
|
8057
8057
|
return new Na();
|
|
8058
8058
|
}
|
|
8059
8059
|
}
|
|
8060
|
-
class Yh extends
|
|
8060
|
+
class Yh extends dt {
|
|
8061
8061
|
_frame;
|
|
8062
8062
|
_targetDelta = {};
|
|
8063
8063
|
_absolute = {};
|
|
@@ -8492,7 +8492,7 @@ class On extends W {
|
|
|
8492
8492
|
});
|
|
8493
8493
|
}
|
|
8494
8494
|
}
|
|
8495
|
-
class
|
|
8495
|
+
class S5 extends On {
|
|
8496
8496
|
constructor(t = {}) {
|
|
8497
8497
|
const {
|
|
8498
8498
|
vertices: e = [
|
|
@@ -8555,12 +8555,12 @@ class Fn extends On {
|
|
|
8555
8555
|
return 2 * this._radius * Math.sin(Math.PI / this._numSides);
|
|
8556
8556
|
}
|
|
8557
8557
|
}
|
|
8558
|
-
class
|
|
8558
|
+
class M5 extends Fn {
|
|
8559
8559
|
constructor(t = {}) {
|
|
8560
8560
|
super({ ...t, numSides: 6 });
|
|
8561
8561
|
}
|
|
8562
8562
|
}
|
|
8563
|
-
class
|
|
8563
|
+
class k5 extends Fn {
|
|
8564
8564
|
constructor(t = {}) {
|
|
8565
8565
|
super({ ...t, numSides: 5 });
|
|
8566
8566
|
}
|
|
@@ -8593,7 +8593,7 @@ class ar extends W {
|
|
|
8593
8593
|
return new ar([0, 0, 0], [0, 0, 0], [0, 0, 0], this.color);
|
|
8594
8594
|
}
|
|
8595
8595
|
}
|
|
8596
|
-
class Zs extends
|
|
8596
|
+
class Zs extends Ht {
|
|
8597
8597
|
_start;
|
|
8598
8598
|
_end;
|
|
8599
8599
|
_tipLength;
|
|
@@ -8768,7 +8768,7 @@ class Zs extends Vt {
|
|
|
8768
8768
|
});
|
|
8769
8769
|
}
|
|
8770
8770
|
}
|
|
8771
|
-
class Ga extends
|
|
8771
|
+
class Ga extends Ht {
|
|
8772
8772
|
_start;
|
|
8773
8773
|
_end;
|
|
8774
8774
|
_tipLength;
|
|
@@ -8825,8 +8825,8 @@ class Ga extends Vt {
|
|
|
8825
8825
|
this.add(z);
|
|
8826
8826
|
const B = new ar([r, n, o], P, R, this._color);
|
|
8827
8827
|
this.add(B);
|
|
8828
|
-
const
|
|
8829
|
-
this.add(
|
|
8828
|
+
const H = new ar([t, e, s], F, O, this._color);
|
|
8829
|
+
this.add(H);
|
|
8830
8830
|
}
|
|
8831
8831
|
getStart() {
|
|
8832
8832
|
return [...this._start];
|
|
@@ -8865,16 +8865,16 @@ class Ga extends Vt {
|
|
|
8865
8865
|
}, b = (y, w, k, C) => {
|
|
8866
8866
|
const P = w[0] - y[0], R = w[1] - y[1], O = w[2] - y[2], F = Math.sqrt(P * P + R * R + O * O);
|
|
8867
8867
|
if (F === 0) return;
|
|
8868
|
-
const z = P / F, B = R / F,
|
|
8869
|
-
let U,
|
|
8870
|
-
if (Math.abs(
|
|
8871
|
-
U = 1,
|
|
8868
|
+
const z = P / F, B = R / F, H = O / F;
|
|
8869
|
+
let U, V, $;
|
|
8870
|
+
if (Math.abs(H) > 0.99)
|
|
8871
|
+
U = 1, V = 0, $ = 0;
|
|
8872
8872
|
else {
|
|
8873
|
-
U = -B,
|
|
8874
|
-
const lt = Math.sqrt(U * U +
|
|
8875
|
-
U /= lt,
|
|
8873
|
+
U = -B, V = z, $ = 0;
|
|
8874
|
+
const lt = Math.sqrt(U * U + V * V);
|
|
8875
|
+
U /= lt, V /= lt;
|
|
8876
8876
|
}
|
|
8877
|
-
const nt = [y[0] + U * g, y[1] +
|
|
8877
|
+
const nt = [y[0] + U * g, y[1] + V * g, y[2] + $ * g], ot = [y[0] - U * g, y[1] - V * g, y[2] - $ * g], it = [];
|
|
8878
8878
|
C ? (_(it, ot, w, !0), _(it, w, nt, !1), _(it, nt, ot, !1)) : (_(it, nt, w, !0), _(it, w, ot, !1), _(it, ot, nt, !1)), k.setPoints(it);
|
|
8879
8879
|
};
|
|
8880
8880
|
b(f, p, a, !1), b(d, m, h, !0), this._start = [m[0], m[1], m[2]], this._end = [p[0], p[1], p[2]];
|
|
@@ -8890,7 +8890,7 @@ class Ga extends Vt {
|
|
|
8890
8890
|
});
|
|
8891
8891
|
}
|
|
8892
8892
|
}
|
|
8893
|
-
class
|
|
8893
|
+
class T5 extends Zs {
|
|
8894
8894
|
constructor(t = {}) {
|
|
8895
8895
|
const { direction: e, end: s, ...r } = t;
|
|
8896
8896
|
super({
|
|
@@ -9344,8 +9344,8 @@ class m0 extends W {
|
|
|
9344
9344
|
1,
|
|
9345
9345
|
Math.ceil(Math.abs(this._angle) / (Math.PI / 2) * (this._numComponents / 4))
|
|
9346
9346
|
), o = this._angle / n, a = 4 / 3 * Math.tan(o / 4), h = (m, g, _, b) => {
|
|
9347
|
-
const y = t + m * Math.cos(g), w = e + m * Math.sin(g), k = t + m * Math.cos(_), C = e + m * Math.sin(_), P = -Math.sin(g), R = Math.cos(g), O = y + a * m * P, F = w + a * m * R, z = -Math.sin(_), B = Math.cos(_),
|
|
9348
|
-
b && r.push([y, w, s]), r.push([O, F, s]), r.push([
|
|
9347
|
+
const y = t + m * Math.cos(g), w = e + m * Math.sin(g), k = t + m * Math.cos(_), C = e + m * Math.sin(_), P = -Math.sin(g), R = Math.cos(g), O = y + a * m * P, F = w + a * m * R, z = -Math.sin(_), B = Math.cos(_), H = k - a * m * z, U = C - a * m * B;
|
|
9348
|
+
b && r.push([y, w, s]), r.push([O, F, s]), r.push([H, U, s]), r.push([k, C, s]);
|
|
9349
9349
|
}, l = (m, g) => {
|
|
9350
9350
|
const _ = g[0] - m[0], b = g[1] - m[1];
|
|
9351
9351
|
r.push([m[0] + _ / 3, m[1] + b / 3, s]), r.push([m[0] + 2 * _ / 3, m[1] + 2 * b / 3, s]), r.push([...g]);
|
|
@@ -9492,8 +9492,8 @@ class g0 extends W {
|
|
|
9492
9492
|
const l = h[0] - t, c = h[1] - e;
|
|
9493
9493
|
r.push([t + l / 3, e + c / 3, s]), r.push([t + 2 * l / 3, e + 2 * c / 3, s]), r.push([...h]);
|
|
9494
9494
|
for (let m = 0; m < n; m++) {
|
|
9495
|
-
const g = this._startAngle + m * o, _ = this._startAngle + (m + 1) * o, b = t + this._radius * Math.cos(g), y = e + this._radius * Math.sin(g), w = t + this._radius * Math.cos(_), k = e + this._radius * Math.sin(_), C = -Math.sin(g), P = Math.cos(g), R = b + a * this._radius * C, O = y + a * this._radius * P, F = -Math.sin(_), z = Math.cos(_), B = w - a * this._radius * F,
|
|
9496
|
-
r.push([R, O, s]), r.push([B,
|
|
9495
|
+
const g = this._startAngle + m * o, _ = this._startAngle + (m + 1) * o, b = t + this._radius * Math.cos(g), y = e + this._radius * Math.sin(g), w = t + this._radius * Math.cos(_), k = e + this._radius * Math.sin(_), C = -Math.sin(g), P = Math.cos(g), R = b + a * this._radius * C, O = y + a * this._radius * P, F = -Math.sin(_), z = Math.cos(_), B = w - a * this._radius * F, H = k - a * this._radius * z;
|
|
9496
|
+
r.push([R, O, s]), r.push([B, H, s]), r.push([w, k, s]);
|
|
9497
9497
|
}
|
|
9498
9498
|
const u = this._startAngle + this._angle, d = [
|
|
9499
9499
|
t + this._radius * Math.cos(u),
|
|
@@ -9623,8 +9623,8 @@ class _0 extends W {
|
|
|
9623
9623
|
Math.ceil(Math.abs(s) / (Math.PI / 2) * (r / 4))
|
|
9624
9624
|
), C = s / k, P = 4 / 3 * Math.tan(C / 4);
|
|
9625
9625
|
for (let R = 0; R < k; R++) {
|
|
9626
|
-
const O = w + R * C, F = w + (R + 1) * C, z = b + f * Math.cos(O), B = y + f * Math.sin(O),
|
|
9627
|
-
R === 0 && n.push([z, B, h]), n.push([nt, ot, h]), n.push([rt,
|
|
9626
|
+
const O = w + R * C, F = w + (R + 1) * C, z = b + f * Math.cos(O), B = y + f * Math.sin(O), H = b + f * Math.cos(F), U = y + f * Math.sin(F), V = -Math.sin(O), $ = Math.cos(O), nt = z + P * f * V, ot = B + P * f * $, it = -Math.sin(F), lt = Math.cos(F), rt = H - P * f * it, mt = U - P * f * lt;
|
|
9627
|
+
R === 0 && n.push([z, B, h]), n.push([nt, ot, h]), n.push([rt, mt, h]), n.push([H, U, h]);
|
|
9628
9628
|
}
|
|
9629
9629
|
return n;
|
|
9630
9630
|
}
|
|
@@ -9694,11 +9694,11 @@ class v0 extends W {
|
|
|
9694
9694
|
const wt = b + Mt * P, K = b + (Mt + 1) * P, st = g + u * Math.cos(wt), J = _ + u * Math.sin(wt), kt = g + u * Math.cos(K), It = _ + u * Math.sin(K), ue = -Math.sin(wt), Kt = Math.cos(wt), Qt = st + R * u * ue, qe = J + R * u * Kt, Ss = -Math.sin(K), ae = Math.cos(K), ie = kt - R * u * Ss, Ot = It - R * u * ae;
|
|
9695
9695
|
Mt === 0 && t.push([st, J, o]), t.push([Qt, qe, o]), t.push([ie, Ot, o]), t.push([kt, It, o]);
|
|
9696
9696
|
}
|
|
9697
|
-
const O = b + k, F = g + u * Math.cos(O), z = _ + u * Math.sin(O), B = b + this._angle,
|
|
9697
|
+
const O = b + k, F = g + u * Math.cos(O), z = _ + u * Math.sin(O), B = b + this._angle, H = this._angle > 0 ? -Math.sin(B) : Math.sin(B), U = this._angle > 0 ? Math.cos(B) : -Math.cos(B), V = Math.sqrt(H * H + U * U), $ = H / V, ot = -(U / V), it = $, lt = F + ot * this._tipWidth, rt = z + it * this._tipWidth, mt = F - ot * this._tipWidth, ft = z - it * this._tipWidth, at = (Mt, wt) => {
|
|
9698
9698
|
const K = wt[0] - Mt[0], st = wt[1] - Mt[1], J = wt[2] - Mt[2];
|
|
9699
9699
|
t.push([Mt[0] + K / 3, Mt[1] + st / 3, Mt[2] + J / 3]), t.push([Mt[0] + 2 * K / 3, Mt[1] + 2 * st / 3, Mt[2] + 2 * J / 3]), t.push([...wt]);
|
|
9700
9700
|
};
|
|
9701
|
-
at([F, z, o], [lt, rt, o]), at([lt, rt, o], [s[0], s[1], o]), at([s[0], s[1], o], [
|
|
9701
|
+
at([F, z, o], [lt, rt, o]), at([lt, rt, o], [s[0], s[1], o]), at([s[0], s[1], o], [mt, ft, o]), at([mt, ft, o], [F, z, o]), this.setPoints3D(t);
|
|
9702
9702
|
}
|
|
9703
9703
|
/**
|
|
9704
9704
|
* Get the start point
|
|
@@ -9797,7 +9797,7 @@ class y0 extends W {
|
|
|
9797
9797
|
const c = Math.abs(this._angle) / 2, u = l / Math.sin(c), d = u * Math.cos(c), f = 2 * l;
|
|
9798
9798
|
let p = -h / f, m = a / f;
|
|
9799
9799
|
this._angle > 0 && (p = -p, m = -m);
|
|
9800
|
-
const g = r + d * p, _ = n + d * m, b = Math.atan2(e[1] - _, e[0] - g), y = (this._angle > 0 ? 1 : -1) * (this._tipLength / u), w = (this._angle > 0 ? -1 : 1) * (this._tipLength / u), k = b + y, C = b + this._angle + w, P = C - k, R = g + u * Math.cos(k), O = _ + u * Math.sin(k), F = this._angle > 0 ? Math.sin(b) : -Math.sin(b), z = this._angle > 0 ? -Math.cos(b) : Math.cos(b), B = Math.sqrt(F * F + z * z),
|
|
9800
|
+
const g = r + d * p, _ = n + d * m, b = Math.atan2(e[1] - _, e[0] - g), y = (this._angle > 0 ? 1 : -1) * (this._tipLength / u), w = (this._angle > 0 ? -1 : 1) * (this._tipLength / u), k = b + y, C = b + this._angle + w, P = C - k, R = g + u * Math.cos(k), O = _ + u * Math.sin(k), F = this._angle > 0 ? Math.sin(b) : -Math.sin(b), z = this._angle > 0 ? -Math.cos(b) : Math.cos(b), B = Math.sqrt(F * F + z * z), H = F / B, V = -(z / B), $ = H, nt = R + V * this._tipWidth, ot = O + $ * this._tipWidth, it = R - V * this._tipWidth, lt = O - $ * this._tipWidth, rt = (Ot, Jt, we) => {
|
|
9801
9801
|
const Ms = Jt[0] - Ot[0], Xe = Jt[1] - Ot[1], ze = Jt[2] - Ot[2];
|
|
9802
9802
|
we && t.push([...Ot]), t.push([Ot[0] + Ms / 3, Ot[1] + Xe / 3, Ot[2] + ze / 3]), t.push([Ot[0] + 2 * Ms / 3, Ot[1] + 2 * Xe / 3, Ot[2] + 2 * ze / 3]), t.push([...Jt]);
|
|
9803
9803
|
};
|
|
@@ -9806,18 +9806,18 @@ class y0 extends W {
|
|
|
9806
9806
|
[R, O, o],
|
|
9807
9807
|
!1
|
|
9808
9808
|
);
|
|
9809
|
-
const
|
|
9809
|
+
const mt = Math.max(
|
|
9810
9810
|
1,
|
|
9811
9811
|
Math.ceil(Math.abs(P) / (Math.PI / 2) * (this._numComponents / 4))
|
|
9812
|
-
),
|
|
9813
|
-
for (let Ot = 0; Ot <
|
|
9814
|
-
const Jt = k + Ot *
|
|
9812
|
+
), ft = P / mt, at = 4 / 3 * Math.tan(ft / 4);
|
|
9813
|
+
for (let Ot = 0; Ot < mt; Ot++) {
|
|
9814
|
+
const Jt = k + Ot * ft, we = k + (Ot + 1) * ft, Ms = g + u * Math.cos(Jt), Xe = _ + u * Math.sin(Jt), ze = g + u * Math.cos(we), ks = _ + u * Math.sin(we), Gi = -Math.sin(Jt), Vi = Math.cos(Jt), Ts = Ms + at * u * Gi, Cs = Xe + at * u * Vi, ao = -Math.sin(we), ho = Math.cos(we), lo = ze - at * u * ao, co = ks - at * u * ho;
|
|
9815
9815
|
t.push([Ts, Cs, o]), t.push([lo, co, o]), t.push([ze, ks, o]);
|
|
9816
9816
|
}
|
|
9817
9817
|
const Mt = g + u * Math.cos(C), wt = _ + u * Math.sin(C), K = b + this._angle, st = this._angle > 0 ? -Math.sin(K) : Math.sin(K), J = this._angle > 0 ? Math.cos(K) : -Math.cos(K), kt = Math.sqrt(st * st + J * J), It = st / kt, Kt = -(J / kt), Qt = It, qe = Mt + Kt * this._tipWidth, Ss = wt + Qt * this._tipWidth, ae = Mt - Kt * this._tipWidth, ie = wt - Qt * this._tipWidth;
|
|
9818
9818
|
rt([Mt, wt, o], [qe, Ss, o], !1), rt([qe, Ss, o], [s[0], s[1], o], !1), rt([s[0], s[1], o], [ae, ie, o], !1), rt([ae, ie, o], [Mt, wt, o], !1);
|
|
9819
|
-
for (let Ot =
|
|
9820
|
-
const Jt = k + (Ot + 1) *
|
|
9819
|
+
for (let Ot = mt - 1; Ot >= 0; Ot--) {
|
|
9820
|
+
const Jt = k + (Ot + 1) * ft, we = k + Ot * ft, Ms = g + u * Math.cos(Jt), Xe = _ + u * Math.sin(Jt), ze = g + u * Math.cos(we), ks = _ + u * Math.sin(we), Gi = -Math.sin(Jt), Vi = Math.cos(Jt), Ts = Ms - at * u * Gi, Cs = Xe - at * u * Vi, ao = -Math.sin(we), ho = Math.cos(we), lo = ze + at * u * ao, co = ks + at * u * ho;
|
|
9821
9821
|
t.push([Ts, Cs, o]), t.push([lo, co, o]), t.push([ze, ks, o]);
|
|
9822
9822
|
}
|
|
9823
9823
|
rt(
|
|
@@ -9927,7 +9927,7 @@ class b0 extends zn {
|
|
|
9927
9927
|
});
|
|
9928
9928
|
}
|
|
9929
9929
|
}
|
|
9930
|
-
class
|
|
9930
|
+
class Va extends W {
|
|
9931
9931
|
_start;
|
|
9932
9932
|
_end;
|
|
9933
9933
|
_dashLength;
|
|
@@ -10072,7 +10072,7 @@ class Ha extends W {
|
|
|
10072
10072
|
* Create a copy of this DashedLine
|
|
10073
10073
|
*/
|
|
10074
10074
|
_createCopy() {
|
|
10075
|
-
return new
|
|
10075
|
+
return new Va({
|
|
10076
10076
|
start: this._start,
|
|
10077
10077
|
end: this._end,
|
|
10078
10078
|
dashLength: this._dashLength,
|
|
@@ -10082,7 +10082,7 @@ class Ha extends W {
|
|
|
10082
10082
|
});
|
|
10083
10083
|
}
|
|
10084
10084
|
}
|
|
10085
|
-
class x0 extends
|
|
10085
|
+
class x0 extends Ht {
|
|
10086
10086
|
_sourceVMobject;
|
|
10087
10087
|
_numDashes;
|
|
10088
10088
|
_dashRatio;
|
|
@@ -10637,8 +10637,8 @@ class k0 extends W {
|
|
|
10637
10637
|
*/
|
|
10638
10638
|
_generateRoundedCornerPoints(t, e, s, r, n, o) {
|
|
10639
10639
|
const a = [], h = 0.5522847498, l = t - r + o, c = e + n - o, u = t + r - o, d = e + n - o, f = t + r - o, p = e - n + o, m = t - r + o, g = e - n + o, _ = (y, w, k, C) => {
|
|
10640
|
-
const P = Math.cos(k), R = Math.sin(k), O = Math.cos(k + Math.PI / 2), F = Math.sin(k + Math.PI / 2), z = [y + o * P, w + o * R, s], B = [y + o * O, w + o * F, s],
|
|
10641
|
-
C && a.push([...z]), a.push([...
|
|
10640
|
+
const P = Math.cos(k), R = Math.sin(k), O = Math.cos(k + Math.PI / 2), F = Math.sin(k + Math.PI / 2), z = [y + o * P, w + o * R, s], B = [y + o * O, w + o * F, s], H = [z[0] - h * o * R, z[1] + h * o * P, s], U = [B[0] + h * o * F, B[1] - h * o * O, s];
|
|
10641
|
+
C && a.push([...z]), a.push([...H], [...U], [...B]);
|
|
10642
10642
|
}, b = (y, w) => {
|
|
10643
10643
|
const k = w[0] - y[0], C = w[1] - y[1], P = w[2] - y[2];
|
|
10644
10644
|
a.push([y[0] + k / 3, y[1] + C / 3, y[2] + P / 3]), a.push([y[0] + 2 * k / 3, y[1] + 2 * C / 3, y[2] + 2 * P / 3]), a.push([...w]);
|
|
@@ -10837,7 +10837,7 @@ class C0 extends W {
|
|
|
10837
10837
|
});
|
|
10838
10838
|
}
|
|
10839
10839
|
}
|
|
10840
|
-
class
|
|
10840
|
+
class Ha extends W {
|
|
10841
10841
|
_width;
|
|
10842
10842
|
_height;
|
|
10843
10843
|
_cornerRadius;
|
|
@@ -10863,8 +10863,8 @@ class Va extends W {
|
|
|
10863
10863
|
const O = P[0] - C[0], F = P[1] - C[1], z = P[2] - C[2];
|
|
10864
10864
|
t.push([C[0] + O / 3, C[1] + F / 3, C[2] + z / 3]), t.push([C[0] + 2 * O / 3, C[1] + 2 * F / 3, C[2] + 2 * z / 3]), t.push([...P]);
|
|
10865
10865
|
}, c = (C, P, R) => {
|
|
10866
|
-
const O = R, F = R + Math.PI / 2, z = C + r * Math.cos(O), B = P + r * Math.sin(O),
|
|
10867
|
-
t.push([nt, ot, a]), t.push([rt,
|
|
10866
|
+
const O = R, F = R + Math.PI / 2, z = C + r * Math.cos(O), B = P + r * Math.sin(O), H = C + r * Math.cos(F), U = P + r * Math.sin(F), V = -Math.sin(O), $ = Math.cos(O), nt = z + h * r * V, ot = B + h * r * $, it = -Math.sin(F), lt = Math.cos(F), rt = H - h * r * it, mt = U - h * r * lt;
|
|
10867
|
+
t.push([nt, ot, a]), t.push([rt, mt, a]), t.push([H, U, a]);
|
|
10868
10868
|
}, u = n - e + r, d = o + s - r, f = n + e - r, p = o + s - r, m = n + e - r, g = o - s + r, _ = n - e + r, b = o - s + r, y = n - e, w = o + s - r, k = Math.PI;
|
|
10869
10869
|
t.push([y, w, a]), c(u, d, k), l(
|
|
10870
10870
|
[u, o + s, a],
|
|
@@ -10932,7 +10932,7 @@ class Va extends W {
|
|
|
10932
10932
|
* Create a copy of this RoundedRectangle
|
|
10933
10933
|
*/
|
|
10934
10934
|
_createCopy() {
|
|
10935
|
-
return new
|
|
10935
|
+
return new Ha({
|
|
10936
10936
|
width: this._width,
|
|
10937
10937
|
height: this._height,
|
|
10938
10938
|
cornerRadius: this._cornerRadius,
|
|
@@ -12226,12 +12226,12 @@ function M1(i, t, e, s, r, n, o) {
|
|
|
12226
12226
|
let a, h, l, c, u, d, f, p, m, g, _, b, y, w, k, C, P, R;
|
|
12227
12227
|
const O = i - r, F = e - r, z = t - n, B = s - n;
|
|
12228
12228
|
w = O * B, d = he * O, f = d - (d - O), p = O - f, d = he * B, m = d - (d - B), g = B - m, k = p * g - (w - f * m - p * m - f * g), C = z * F, d = he * z, f = d - (d - z), p = z - f, d = he * F, m = d - (d - F), g = F - m, P = p * g - (C - f * m - p * m - f * g), _ = k - P, u = k - _, _i[0] = k - (_ + u) + (u - P), b = w + _, u = b - w, y = w - (b - u) + (_ - u), _ = y - C, u = y - _, _i[1] = y - (_ + u) + (u - C), R = b + _, u = R - b, _i[2] = b - (R - u) + (_ - u), _i[3] = R;
|
|
12229
|
-
let
|
|
12230
|
-
if (
|
|
12229
|
+
let H = b1(4, _i), U = w1 * o;
|
|
12230
|
+
if (H >= U || -H >= U || (u = i - O, a = i - (O + u) + (u - r), u = e - F, l = e - (F + u) + (u - r), u = t - z, h = t - (z + u) + (u - n), u = s - B, c = s - (B + u) + (u - n), a === 0 && h === 0 && l === 0 && c === 0) || (U = S1 * o + y1 * Math.abs(H), H += O * c + B * a - (z * l + F * h), H >= U || -H >= U)) return H;
|
|
12231
12231
|
w = a * B, d = he * a, f = d - (d - a), p = a - f, d = he * B, m = d - (d - B), g = B - m, k = p * g - (w - f * m - p * m - f * g), C = h * F, d = he * h, f = d - (d - h), p = h - f, d = he * F, m = d - (d - F), g = F - m, P = p * g - (C - f * m - p * m - f * g), _ = k - P, u = k - _, de[0] = k - (_ + u) + (u - P), b = w + _, u = b - w, y = w - (b - u) + (_ - u), _ = y - C, u = y - _, de[1] = y - (_ + u) + (u - C), R = b + _, u = R - b, de[2] = b - (R - u) + (_ - u), de[3] = R;
|
|
12232
|
-
const
|
|
12232
|
+
const V = _o(4, _i, 4, de, Zh);
|
|
12233
12233
|
w = O * c, d = he * O, f = d - (d - O), p = O - f, d = he * c, m = d - (d - c), g = c - m, k = p * g - (w - f * m - p * m - f * g), C = z * l, d = he * z, f = d - (d - z), p = z - f, d = he * l, m = d - (d - l), g = l - m, P = p * g - (C - f * m - p * m - f * g), _ = k - P, u = k - _, de[0] = k - (_ + u) + (u - P), b = w + _, u = b - w, y = w - (b - u) + (_ - u), _ = y - C, u = y - _, de[1] = y - (_ + u) + (u - C), R = b + _, u = R - b, de[2] = b - (R - u) + (_ - u), de[3] = R;
|
|
12234
|
-
const $ = _o(
|
|
12234
|
+
const $ = _o(V, Zh, 4, de, Kh);
|
|
12235
12235
|
w = a * c, d = he * a, f = d - (d - a), p = a - f, d = he * c, m = d - (d - c), g = c - m, k = p * g - (w - f * m - p * m - f * g), C = h * l, d = he * h, f = d - (d - h), p = h - f, d = he * l, m = d - (d - l), g = l - m, P = p * g - (C - f * m - p * m - f * g), _ = k - P, u = k - _, de[0] = k - (_ + u) + (u - P), b = w + _, u = b - w, y = w - (b - u) + (_ - u), _ = y - C, u = y - _, de[1] = y - (_ + u) + (u - C), R = b + _, u = R - b, de[2] = b - (R - u) + (_ - u), de[3] = R;
|
|
12236
12236
|
const nt = _o($, Kh, 4, de, Qh);
|
|
12237
12237
|
return Qh[nt - 1];
|
|
@@ -12240,7 +12240,7 @@ function k1(i, t, e, s, r, n) {
|
|
|
12240
12240
|
const o = (t - n) * (e - r), a = (i - r) * (s - n), h = o - a, l = Math.abs(o + a);
|
|
12241
12241
|
return Math.abs(h) >= x1 * l ? h : -M1(i, t, e, s, r, n, l);
|
|
12242
12242
|
}
|
|
12243
|
-
const
|
|
12243
|
+
const Hi = (i, t) => i.ll.x <= t.x && t.x <= i.ur.x && i.ll.y <= t.y && t.y <= i.ur.y, ea = (i, t) => {
|
|
12244
12244
|
if (t.ur.x < i.ll.x || i.ur.x < t.ll.x || t.ur.y < i.ll.y || i.ur.y < t.ll.y) return null;
|
|
12245
12245
|
const e = i.ll.x < t.ll.x ? t.ll.x : i.ll.x, s = i.ur.x < t.ur.x ? i.ur.x : t.ur.x, r = i.ll.y < t.ll.y ? t.ll.y : i.ll.y, n = i.ur.y < t.ur.y ? i.ur.y : t.ur.y;
|
|
12246
12246
|
return {
|
|
@@ -12553,7 +12553,7 @@ class js {
|
|
|
12553
12553
|
getIntersection(t) {
|
|
12554
12554
|
const e = this.bbox(), s = t.bbox(), r = ea(e, s);
|
|
12555
12555
|
if (r === null) return null;
|
|
12556
|
-
const n = this.leftSE.point, o = this.rightSE.point, a = t.leftSE.point, h = t.rightSE.point, l =
|
|
12556
|
+
const n = this.leftSE.point, o = this.rightSE.point, a = t.leftSE.point, h = t.rightSE.point, l = Hi(e, a) && this.comparePoint(a) === 0, c = Hi(s, n) && t.comparePoint(n) === 0, u = Hi(e, h) && this.comparePoint(h) === 0, d = Hi(s, o) && t.comparePoint(o) === 0;
|
|
12557
12557
|
if (c && l)
|
|
12558
12558
|
return d && !u ? o : !d && u ? h : null;
|
|
12559
12559
|
if (c)
|
|
@@ -12564,7 +12564,7 @@ class js {
|
|
|
12564
12564
|
if (d) return o;
|
|
12565
12565
|
if (u) return h;
|
|
12566
12566
|
const f = L1(n, this.vector(), a, t.vector());
|
|
12567
|
-
return f === null || !
|
|
12567
|
+
return f === null || !Hi(r, f) ? null : hr.round(f.x, f.y);
|
|
12568
12568
|
}
|
|
12569
12569
|
/**
|
|
12570
12570
|
* Split the given segment into multiple segments on the given points.
|
|
@@ -13195,7 +13195,7 @@ function U1(i) {
|
|
|
13195
13195
|
}
|
|
13196
13196
|
return t;
|
|
13197
13197
|
}
|
|
13198
|
-
class
|
|
13198
|
+
class C5 extends Bn {
|
|
13199
13199
|
constructor(t, e, s = {}) {
|
|
13200
13200
|
super();
|
|
13201
13201
|
const {
|
|
@@ -13210,7 +13210,7 @@ class S5 extends Bn {
|
|
|
13210
13210
|
u.length > 0 ? (this._resultVertices = u, this._setPointsFromMultiplePolygons(u)) : l.length >= 3 && c.length >= 3 ? (this._resultVertices = [l, c], this._setPointsFromMultiplePolygons([l, c])) : l.length >= 3 ? (this._resultVertices = [l], this._setPointsFromVertices(l)) : c.length >= 3 && (this._resultVertices = [c], this._setPointsFromVertices(c)), this._centerOnPoints();
|
|
13211
13211
|
}
|
|
13212
13212
|
}
|
|
13213
|
-
class
|
|
13213
|
+
class P5 extends Bn {
|
|
13214
13214
|
constructor(t, e, s = {}) {
|
|
13215
13215
|
super();
|
|
13216
13216
|
const {
|
|
@@ -13225,7 +13225,7 @@ class M5 extends Bn {
|
|
|
13225
13225
|
u.length > 0 && (this._resultVertices = u, this._setPointsFromMultiplePolygons(u)), this._centerOnPoints();
|
|
13226
13226
|
}
|
|
13227
13227
|
}
|
|
13228
|
-
class
|
|
13228
|
+
class A5 extends Bn {
|
|
13229
13229
|
constructor(t, e, s = {}) {
|
|
13230
13230
|
super();
|
|
13231
13231
|
const {
|
|
@@ -13240,7 +13240,7 @@ class k5 extends Bn {
|
|
|
13240
13240
|
u.length > 0 ? (this._resultVertices = u, this._setPointsFromMultiplePolygons(u)) : l.length >= 3 && (this._resultVertices = [l], this._setPointsFromVertices(l)), this._centerOnPoints();
|
|
13241
13241
|
}
|
|
13242
13242
|
}
|
|
13243
|
-
class
|
|
13243
|
+
class L5 extends Bn {
|
|
13244
13244
|
constructor(t, e, s = {}) {
|
|
13245
13245
|
super();
|
|
13246
13246
|
const {
|
|
@@ -13296,7 +13296,7 @@ function G1(i, t = 1e-6) {
|
|
|
13296
13296
|
function vo(i, t = {}) {
|
|
13297
13297
|
const e = t.gridResolution ?? 100, s = t.smoothSubdivisions ?? 4, r = t.minChainLength ?? 3;
|
|
13298
13298
|
if (i.length < 4) return [];
|
|
13299
|
-
const n =
|
|
13299
|
+
const n = H1(i);
|
|
13300
13300
|
if (n.width === 0 || n.height === 0) return [];
|
|
13301
13301
|
const o = n.width / n.height;
|
|
13302
13302
|
let a, h;
|
|
@@ -13304,9 +13304,9 @@ function vo(i, t = {}) {
|
|
|
13304
13304
|
const l = q1(i, n, a, h);
|
|
13305
13305
|
Y1(l, a, h);
|
|
13306
13306
|
const c = tm(l, a, h, r);
|
|
13307
|
-
return c.length === 0 ? [] :
|
|
13307
|
+
return c.length === 0 ? [] : V1(c, n, a, h, s);
|
|
13308
13308
|
}
|
|
13309
|
-
function
|
|
13309
|
+
function V1(i, t, e, s, r) {
|
|
13310
13310
|
const n = [];
|
|
13311
13311
|
let o = !0;
|
|
13312
13312
|
for (const a of i) {
|
|
@@ -13325,7 +13325,7 @@ function H1(i, t, e, s, r) {
|
|
|
13325
13325
|
}
|
|
13326
13326
|
return n;
|
|
13327
13327
|
}
|
|
13328
|
-
function
|
|
13328
|
+
function H1(i) {
|
|
13329
13329
|
let t = 1 / 0, e = 1 / 0, s = -1 / 0, r = -1 / 0;
|
|
13330
13330
|
for (const n of i)
|
|
13331
13331
|
n[0] < t && (t = n[0]), n[1] < e && (e = n[1]), n[0] > s && (s = n[0]), n[1] > r && (r = n[1]);
|
|
@@ -13951,8 +13951,8 @@ function G0(i) {
|
|
|
13951
13951
|
function gl(i, t) {
|
|
13952
13952
|
i || G0(t);
|
|
13953
13953
|
}
|
|
13954
|
-
var ct = { fail: G0, argument: gl, assert: gl }, _l = 32768, vl = 2147483648, Oi = {}, X = {},
|
|
13955
|
-
function
|
|
13954
|
+
var ct = { fail: G0, argument: gl, assert: gl }, _l = 32768, vl = 2147483648, Oi = {}, X = {}, pt = {};
|
|
13955
|
+
function Ve(i) {
|
|
13956
13956
|
return function() {
|
|
13957
13957
|
return i;
|
|
13958
13958
|
};
|
|
@@ -13960,50 +13960,50 @@ function He(i) {
|
|
|
13960
13960
|
X.BYTE = function(i) {
|
|
13961
13961
|
return ct.argument(i >= 0 && i <= 255, "Byte value should be between 0 and 255."), [i];
|
|
13962
13962
|
};
|
|
13963
|
-
|
|
13963
|
+
pt.BYTE = Ve(1);
|
|
13964
13964
|
X.CHAR = function(i) {
|
|
13965
13965
|
return [i.charCodeAt(0)];
|
|
13966
13966
|
};
|
|
13967
|
-
|
|
13967
|
+
pt.CHAR = Ve(1);
|
|
13968
13968
|
X.CHARARRAY = function(i) {
|
|
13969
13969
|
typeof i > "u" && (i = "", console.warn("Undefined CHARARRAY encountered and treated as an empty string. This is probably caused by a missing glyph name."));
|
|
13970
13970
|
for (var t = [], e = 0; e < i.length; e += 1)
|
|
13971
13971
|
t[e] = i.charCodeAt(e);
|
|
13972
13972
|
return t;
|
|
13973
13973
|
};
|
|
13974
|
-
|
|
13974
|
+
pt.CHARARRAY = function(i) {
|
|
13975
13975
|
return typeof i > "u" ? 0 : i.length;
|
|
13976
13976
|
};
|
|
13977
13977
|
X.USHORT = function(i) {
|
|
13978
13978
|
return [i >> 8 & 255, i & 255];
|
|
13979
13979
|
};
|
|
13980
|
-
|
|
13980
|
+
pt.USHORT = Ve(2);
|
|
13981
13981
|
X.SHORT = function(i) {
|
|
13982
13982
|
return i >= _l && (i = -(2 * _l - i)), [i >> 8 & 255, i & 255];
|
|
13983
13983
|
};
|
|
13984
|
-
|
|
13984
|
+
pt.SHORT = Ve(2);
|
|
13985
13985
|
X.UINT24 = function(i) {
|
|
13986
13986
|
return [i >> 16 & 255, i >> 8 & 255, i & 255];
|
|
13987
13987
|
};
|
|
13988
|
-
|
|
13988
|
+
pt.UINT24 = Ve(3);
|
|
13989
13989
|
X.ULONG = function(i) {
|
|
13990
13990
|
return [i >> 24 & 255, i >> 16 & 255, i >> 8 & 255, i & 255];
|
|
13991
13991
|
};
|
|
13992
|
-
|
|
13992
|
+
pt.ULONG = Ve(4);
|
|
13993
13993
|
X.LONG = function(i) {
|
|
13994
13994
|
return i >= vl && (i = -(2 * vl - i)), [i >> 24 & 255, i >> 16 & 255, i >> 8 & 255, i & 255];
|
|
13995
13995
|
};
|
|
13996
|
-
|
|
13996
|
+
pt.LONG = Ve(4);
|
|
13997
13997
|
X.FIXED = X.ULONG;
|
|
13998
|
-
|
|
13998
|
+
pt.FIXED = pt.ULONG;
|
|
13999
13999
|
X.FWORD = X.SHORT;
|
|
14000
|
-
|
|
14000
|
+
pt.FWORD = pt.SHORT;
|
|
14001
14001
|
X.UFWORD = X.USHORT;
|
|
14002
|
-
|
|
14002
|
+
pt.UFWORD = pt.USHORT;
|
|
14003
14003
|
X.LONGDATETIME = function(i) {
|
|
14004
14004
|
return [0, 0, 0, 0, i >> 24 & 255, i >> 16 & 255, i >> 8 & 255, i & 255];
|
|
14005
14005
|
};
|
|
14006
|
-
|
|
14006
|
+
pt.LONGDATETIME = Ve(8);
|
|
14007
14007
|
X.TAG = function(i) {
|
|
14008
14008
|
return ct.argument(i.length === 4, "Tag should be exactly 4 ASCII characters."), [
|
|
14009
14009
|
i.charCodeAt(0),
|
|
@@ -14012,29 +14012,29 @@ X.TAG = function(i) {
|
|
|
14012
14012
|
i.charCodeAt(3)
|
|
14013
14013
|
];
|
|
14014
14014
|
};
|
|
14015
|
-
|
|
14015
|
+
pt.TAG = Ve(4);
|
|
14016
14016
|
X.Card8 = X.BYTE;
|
|
14017
|
-
|
|
14017
|
+
pt.Card8 = pt.BYTE;
|
|
14018
14018
|
X.Card16 = X.USHORT;
|
|
14019
|
-
|
|
14019
|
+
pt.Card16 = pt.USHORT;
|
|
14020
14020
|
X.OffSize = X.BYTE;
|
|
14021
|
-
|
|
14021
|
+
pt.OffSize = pt.BYTE;
|
|
14022
14022
|
X.SID = X.USHORT;
|
|
14023
|
-
|
|
14023
|
+
pt.SID = pt.USHORT;
|
|
14024
14024
|
X.NUMBER = function(i) {
|
|
14025
14025
|
return i >= -107 && i <= 107 ? [i + 139] : i >= 108 && i <= 1131 ? (i = i - 108, [(i >> 8) + 247, i & 255]) : i >= -1131 && i <= -108 ? (i = -i - 108, [(i >> 8) + 251, i & 255]) : i >= -32768 && i <= 32767 ? X.NUMBER16(i) : X.NUMBER32(i);
|
|
14026
14026
|
};
|
|
14027
|
-
|
|
14027
|
+
pt.NUMBER = function(i) {
|
|
14028
14028
|
return X.NUMBER(i).length;
|
|
14029
14029
|
};
|
|
14030
14030
|
X.NUMBER16 = function(i) {
|
|
14031
14031
|
return [28, i >> 8 & 255, i & 255];
|
|
14032
14032
|
};
|
|
14033
|
-
|
|
14033
|
+
pt.NUMBER16 = Ve(3);
|
|
14034
14034
|
X.NUMBER32 = function(i) {
|
|
14035
14035
|
return [29, i >> 24 & 255, i >> 16 & 255, i >> 8 & 255, i & 255];
|
|
14036
14036
|
};
|
|
14037
|
-
|
|
14037
|
+
pt.NUMBER32 = Ve(5);
|
|
14038
14038
|
X.REAL = function(i) {
|
|
14039
14039
|
var t = i.toString(), e = /\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(t);
|
|
14040
14040
|
if (e) {
|
|
@@ -14050,13 +14050,13 @@ X.REAL = function(i) {
|
|
|
14050
14050
|
h.push(parseInt(r.substr(l, 2), 16));
|
|
14051
14051
|
return h;
|
|
14052
14052
|
};
|
|
14053
|
-
|
|
14053
|
+
pt.REAL = function(i) {
|
|
14054
14054
|
return X.REAL(i).length;
|
|
14055
14055
|
};
|
|
14056
14056
|
X.NAME = X.CHARARRAY;
|
|
14057
|
-
|
|
14057
|
+
pt.NAME = pt.CHARARRAY;
|
|
14058
14058
|
X.STRING = X.CHARARRAY;
|
|
14059
|
-
|
|
14059
|
+
pt.STRING = pt.CHARARRAY;
|
|
14060
14060
|
Oi.UTF8 = function(i, t, e) {
|
|
14061
14061
|
for (var s = [], r = e, n = 0; n < r; n++, t += 1)
|
|
14062
14062
|
s[n] = i.getUint8(t);
|
|
@@ -14074,7 +14074,7 @@ X.UTF16 = function(i) {
|
|
|
14074
14074
|
}
|
|
14075
14075
|
return t;
|
|
14076
14076
|
};
|
|
14077
|
-
|
|
14077
|
+
pt.UTF16 = function(i) {
|
|
14078
14078
|
return i.length * 2;
|
|
14079
14079
|
};
|
|
14080
14080
|
var ia = {
|
|
@@ -14162,7 +14162,7 @@ X.MACSTRING = function(i, t) {
|
|
|
14162
14162
|
return s;
|
|
14163
14163
|
}
|
|
14164
14164
|
};
|
|
14165
|
-
|
|
14165
|
+
pt.MACSTRING = function(i, t) {
|
|
14166
14166
|
var e = X.MACSTRING(i, t);
|
|
14167
14167
|
return e !== void 0 ? e.length : 0;
|
|
14168
14168
|
};
|
|
@@ -14225,7 +14225,7 @@ X.INDEX = function(i) {
|
|
|
14225
14225
|
s
|
|
14226
14226
|
);
|
|
14227
14227
|
};
|
|
14228
|
-
|
|
14228
|
+
pt.INDEX = function(i) {
|
|
14229
14229
|
return X.INDEX(i).length;
|
|
14230
14230
|
};
|
|
14231
14231
|
X.DICT = function(i) {
|
|
@@ -14235,7 +14235,7 @@ X.DICT = function(i) {
|
|
|
14235
14235
|
}
|
|
14236
14236
|
return t;
|
|
14237
14237
|
};
|
|
14238
|
-
|
|
14238
|
+
pt.DICT = function(i) {
|
|
14239
14239
|
return X.DICT(i).length;
|
|
14240
14240
|
};
|
|
14241
14241
|
X.OPERATOR = function(i) {
|
|
@@ -14259,7 +14259,7 @@ X.OPERAND = function(i, t) {
|
|
|
14259
14259
|
return e;
|
|
14260
14260
|
};
|
|
14261
14261
|
X.OP = X.BYTE;
|
|
14262
|
-
|
|
14262
|
+
pt.OP = pt.BYTE;
|
|
14263
14263
|
var jr = typeof WeakMap == "function" && /* @__PURE__ */ new WeakMap();
|
|
14264
14264
|
X.CHARSTRING = function(i) {
|
|
14265
14265
|
if (jr) {
|
|
@@ -14273,15 +14273,15 @@ X.CHARSTRING = function(i) {
|
|
|
14273
14273
|
}
|
|
14274
14274
|
return jr && jr.set(i, e), e;
|
|
14275
14275
|
};
|
|
14276
|
-
|
|
14276
|
+
pt.CHARSTRING = function(i) {
|
|
14277
14277
|
return X.CHARSTRING(i).length;
|
|
14278
14278
|
};
|
|
14279
14279
|
X.OBJECT = function(i) {
|
|
14280
14280
|
var t = X[i.type];
|
|
14281
14281
|
return ct.argument(t !== void 0, "No encoding function for type " + i.type), t(i.value);
|
|
14282
14282
|
};
|
|
14283
|
-
|
|
14284
|
-
var t =
|
|
14283
|
+
pt.OBJECT = function(i) {
|
|
14284
|
+
var t = pt[i.type];
|
|
14285
14285
|
return ct.argument(t !== void 0, "No sizeOf function for type " + i.type), t(i.value);
|
|
14286
14286
|
};
|
|
14287
14287
|
X.TABLE = function(i) {
|
|
@@ -14299,9 +14299,9 @@ X.TABLE = function(i) {
|
|
|
14299
14299
|
}
|
|
14300
14300
|
return t;
|
|
14301
14301
|
};
|
|
14302
|
-
|
|
14302
|
+
pt.TABLE = function(i) {
|
|
14303
14303
|
for (var t = 0, e = i.fields.length, s = 0; s < e; s += 1) {
|
|
14304
|
-
var r = i.fields[s], n =
|
|
14304
|
+
var r = i.fields[s], n = pt[r.type];
|
|
14305
14305
|
ct.argument(n !== void 0, "No sizeOf function for field type " + r.type + " (" + r.name + ")");
|
|
14306
14306
|
var o = i[r.name];
|
|
14307
14307
|
o === void 0 && (o = r.value), t += n(o), r.type === "TABLE" && (t += 2);
|
|
@@ -14309,11 +14309,11 @@ ft.TABLE = function(i) {
|
|
|
14309
14309
|
return t;
|
|
14310
14310
|
};
|
|
14311
14311
|
X.RECORD = X.TABLE;
|
|
14312
|
-
|
|
14312
|
+
pt.RECORD = pt.TABLE;
|
|
14313
14313
|
X.LITERAL = function(i) {
|
|
14314
14314
|
return i;
|
|
14315
14315
|
};
|
|
14316
|
-
|
|
14316
|
+
pt.LITERAL = function(i) {
|
|
14317
14317
|
return i.length;
|
|
14318
14318
|
};
|
|
14319
14319
|
function se(i, t, e) {
|
|
@@ -14332,7 +14332,7 @@ se.prototype.encode = function() {
|
|
|
14332
14332
|
return X.TABLE(this);
|
|
14333
14333
|
};
|
|
14334
14334
|
se.prototype.sizeOf = function() {
|
|
14335
|
-
return
|
|
14335
|
+
return pt.TABLE(this);
|
|
14336
14336
|
};
|
|
14337
14337
|
function cr(i, t, e) {
|
|
14338
14338
|
e === void 0 && (e = t.length);
|
|
@@ -14455,7 +14455,7 @@ function gm(i, t) {
|
|
|
14455
14455
|
function Ka(i, t) {
|
|
14456
14456
|
return i.getUint32(t, !1);
|
|
14457
14457
|
}
|
|
14458
|
-
function
|
|
14458
|
+
function V0(i, t) {
|
|
14459
14459
|
var e = i.getInt16(t, !1), s = i.getUint16(t + 2, !1);
|
|
14460
14460
|
return e + s / 65535;
|
|
14461
14461
|
}
|
|
@@ -14521,7 +14521,7 @@ E.prototype.parseULong = function() {
|
|
|
14521
14521
|
};
|
|
14522
14522
|
E.prototype.parseOffset32 = E.prototype.parseULong;
|
|
14523
14523
|
E.prototype.parseFixed = function() {
|
|
14524
|
-
var i =
|
|
14524
|
+
var i = V0(this.data, this.offset + this.relativeOffset);
|
|
14525
14525
|
return this.relativeOffset += 4, i;
|
|
14526
14526
|
};
|
|
14527
14527
|
E.prototype.parseString = function(i) {
|
|
@@ -14783,7 +14783,7 @@ var et = {
|
|
|
14783
14783
|
getCard16: xn,
|
|
14784
14784
|
getShort: gm,
|
|
14785
14785
|
getULong: Ka,
|
|
14786
|
-
getFixed:
|
|
14786
|
+
getFixed: V0,
|
|
14787
14787
|
getTag: _m,
|
|
14788
14788
|
getOffset: vm,
|
|
14789
14789
|
getBytes: ym,
|
|
@@ -14906,7 +14906,7 @@ function Cm(i) {
|
|
|
14906
14906
|
}
|
|
14907
14907
|
return n;
|
|
14908
14908
|
}
|
|
14909
|
-
var
|
|
14909
|
+
var H0 = { parse: Mm, make: Cm }, ln = [
|
|
14910
14910
|
".notdef",
|
|
14911
14911
|
"space",
|
|
14912
14912
|
"exclam",
|
|
@@ -16463,7 +16463,7 @@ var K0 = [
|
|
|
16463
16463
|
{ name: "defaultWidthX", op: 20, type: "number", value: 0 },
|
|
16464
16464
|
{ name: "nominalWidthX", op: 21, type: "number", value: 0 }
|
|
16465
16465
|
];
|
|
16466
|
-
function
|
|
16466
|
+
function Vm(i, t) {
|
|
16467
16467
|
var e = $0(i, 0, i.byteLength);
|
|
16468
16468
|
return Z0(e, K0, t);
|
|
16469
16469
|
}
|
|
@@ -16473,7 +16473,7 @@ function J0(i, t, e, s) {
|
|
|
16473
16473
|
}
|
|
16474
16474
|
function xl(i, t, e, s) {
|
|
16475
16475
|
for (var r = [], n = 0; n < e.length; n += 1) {
|
|
16476
|
-
var o = new DataView(new Uint8Array(e[n]).buffer), a =
|
|
16476
|
+
var o = new DataView(new Uint8Array(e[n]).buffer), a = Vm(o, s);
|
|
16477
16477
|
a._subrs = [], a._subrsBias = 0, a._defaultWidthX = 0, a._nominalWidthX = 0;
|
|
16478
16478
|
var h = a.private[0], l = a.private[1];
|
|
16479
16479
|
if (h !== 0 && l !== 0) {
|
|
@@ -16488,7 +16488,7 @@ function xl(i, t, e, s) {
|
|
|
16488
16488
|
}
|
|
16489
16489
|
return r;
|
|
16490
16490
|
}
|
|
16491
|
-
function
|
|
16491
|
+
function Hm(i, t, e, s) {
|
|
16492
16492
|
var r, n, o = new et.Parser(i, t);
|
|
16493
16493
|
e -= 1;
|
|
16494
16494
|
var a = [".notdef"], h = o.parseCard8();
|
|
@@ -16542,9 +16542,9 @@ function wl(i, t, e) {
|
|
|
16542
16542
|
R = h.length % 2 !== 0, R && !c && (w = h.shift() + _), l += h.length >> 1, h.length = 0, c = !0;
|
|
16543
16543
|
}
|
|
16544
16544
|
function P(R) {
|
|
16545
|
-
for (var O, F, z, B,
|
|
16546
|
-
var
|
|
16547
|
-
switch (rt += 1,
|
|
16545
|
+
for (var O, F, z, B, H, U, V, $, nt, ot, it, lt, rt = 0; rt < R.length; ) {
|
|
16546
|
+
var mt = R[rt];
|
|
16547
|
+
switch (rt += 1, mt) {
|
|
16548
16548
|
case 1:
|
|
16549
16549
|
C();
|
|
16550
16550
|
break;
|
|
@@ -16571,26 +16571,26 @@ function wl(i, t, e) {
|
|
|
16571
16571
|
s = d + h.shift(), r = f + h.shift(), n = s + h.shift(), o = r + h.shift(), d = n + h.shift(), f = o + h.shift(), a.curveTo(s, r, n, o, d, f);
|
|
16572
16572
|
break;
|
|
16573
16573
|
case 10:
|
|
16574
|
-
|
|
16574
|
+
H = h.pop() + m, U = p[H], U && P(U);
|
|
16575
16575
|
break;
|
|
16576
16576
|
case 11:
|
|
16577
16577
|
return;
|
|
16578
16578
|
case 12:
|
|
16579
|
-
switch (
|
|
16579
|
+
switch (mt = R[rt], rt += 1, mt) {
|
|
16580
16580
|
case 35:
|
|
16581
|
-
s = d + h.shift(), r = f + h.shift(), n = s + h.shift(), o = r + h.shift(),
|
|
16581
|
+
s = d + h.shift(), r = f + h.shift(), n = s + h.shift(), o = r + h.shift(), V = n + h.shift(), $ = o + h.shift(), nt = V + h.shift(), ot = $ + h.shift(), it = nt + h.shift(), lt = ot + h.shift(), d = it + h.shift(), f = lt + h.shift(), h.shift(), a.curveTo(s, r, n, o, V, $), a.curveTo(nt, ot, it, lt, d, f);
|
|
16582
16582
|
break;
|
|
16583
16583
|
case 34:
|
|
16584
|
-
s = d + h.shift(), r = f, n = s + h.shift(), o = r + h.shift(),
|
|
16584
|
+
s = d + h.shift(), r = f, n = s + h.shift(), o = r + h.shift(), V = n + h.shift(), $ = o, nt = V + h.shift(), ot = o, it = nt + h.shift(), lt = f, d = it + h.shift(), a.curveTo(s, r, n, o, V, $), a.curveTo(nt, ot, it, lt, d, f);
|
|
16585
16585
|
break;
|
|
16586
16586
|
case 36:
|
|
16587
|
-
s = d + h.shift(), r = f + h.shift(), n = s + h.shift(), o = r + h.shift(),
|
|
16587
|
+
s = d + h.shift(), r = f + h.shift(), n = s + h.shift(), o = r + h.shift(), V = n + h.shift(), $ = o, nt = V + h.shift(), ot = o, it = nt + h.shift(), lt = ot + h.shift(), d = it + h.shift(), a.curveTo(s, r, n, o, V, $), a.curveTo(nt, ot, it, lt, d, f);
|
|
16588
16588
|
break;
|
|
16589
16589
|
case 37:
|
|
16590
|
-
s = d + h.shift(), r = f + h.shift(), n = s + h.shift(), o = r + h.shift(),
|
|
16590
|
+
s = d + h.shift(), r = f + h.shift(), n = s + h.shift(), o = r + h.shift(), V = n + h.shift(), $ = o + h.shift(), nt = V + h.shift(), ot = $ + h.shift(), it = nt + h.shift(), lt = ot + h.shift(), Math.abs(it - d) > Math.abs(lt - f) ? d = it + h.shift() : f = lt + h.shift(), a.curveTo(s, r, n, o, V, $), a.curveTo(nt, ot, it, lt, d, f);
|
|
16591
16591
|
break;
|
|
16592
16592
|
default:
|
|
16593
|
-
console.log("Glyph " + t.index + ": unknown operator 1200" +
|
|
16593
|
+
console.log("Glyph " + t.index + ": unknown operator 1200" + mt), h.length = 0;
|
|
16594
16594
|
}
|
|
16595
16595
|
break;
|
|
16596
16596
|
case 14:
|
|
@@ -16635,7 +16635,7 @@ function wl(i, t, e) {
|
|
|
16635
16635
|
O = R[rt], F = R[rt + 1], h.push((O << 24 | F << 16) >> 16), rt += 2;
|
|
16636
16636
|
break;
|
|
16637
16637
|
case 29:
|
|
16638
|
-
|
|
16638
|
+
H = h.pop() + i.gsubrsBias, U = i.gsubrs[H], U && P(U);
|
|
16639
16639
|
break;
|
|
16640
16640
|
case 30:
|
|
16641
16641
|
for (; h.length > 0 && (s = d, r = f + h.shift(), n = s + h.shift(), o = r + h.shift(), d = n + h.shift(), f = o + (h.length === 1 ? h.shift() : 0), a.curveTo(s, r, n, o, d, f), h.length !== 0); )
|
|
@@ -16646,7 +16646,7 @@ function wl(i, t, e) {
|
|
|
16646
16646
|
s = d, r = f + h.shift(), n = s + h.shift(), o = r + h.shift(), d = n + h.shift(), f = o + (h.length === 1 ? h.shift() : 0), a.curveTo(s, r, n, o, d, f);
|
|
16647
16647
|
break;
|
|
16648
16648
|
default:
|
|
16649
|
-
|
|
16649
|
+
mt < 32 ? console.log("Glyph " + t.index + ": unknown operator " + mt) : mt < 247 ? h.push(mt - 139) : mt < 251 ? (O = R[rt], rt += 1, h.push((mt - 247) * 256 + O + 108)) : mt < 255 ? (O = R[rt], rt += 1, h.push(-(mt - 251) * 256 - O - 108)) : (O = R[rt], F = R[rt + 1], z = R[rt + 2], B = R[rt + 3], rt += 4, h.push((O << 24 | F << 16 | z << 8 | B) / 65536));
|
|
16650
16650
|
}
|
|
16651
16651
|
}
|
|
16652
16652
|
}
|
|
@@ -16703,7 +16703,7 @@ function Ym(i, t, e, s) {
|
|
|
16703
16703
|
e.subrs = [], e.subrsBias = 0;
|
|
16704
16704
|
var y;
|
|
16705
16705
|
s.lowMemory ? (y = Im(i, t + c.charStrings), e.nGlyphs = y.offsets.length) : (y = Ds(i, t + c.charStrings), e.nGlyphs = y.objects.length);
|
|
16706
|
-
var w =
|
|
16706
|
+
var w = Hm(i, t + c.charset, e.nGlyphs, a.objects);
|
|
16707
16707
|
if (c.encoding === 0 ? e.cffEncoding = new wn(Pm, w) : c.encoding === 1 ? e.cffEncoding = new wn(Am, w) : e.cffEncoding = qm(i, t + c.encoding, w), e.encoding = e.encoding || e.cffEncoding, e.glyphs = new ss.GlyphSet(e), s.lowMemory)
|
|
16708
16708
|
e._push = function(P) {
|
|
16709
16709
|
var R = Wm(P, y.offsets, i, t + c.charStrings);
|
|
@@ -18554,30 +18554,30 @@ function Og(i) {
|
|
|
18554
18554
|
// Use space as the default character, if available.
|
|
18555
18555
|
usBreakChar: i.hasChar(" ") ? 32 : 0
|
|
18556
18556
|
// Use space as the break character, if available.
|
|
18557
|
-
}, i.tables.os2)), R = nu.make(i.glyphs), O =
|
|
18558
|
-
|
|
18557
|
+
}, i.tables.os2)), R = nu.make(i.glyphs), O = H0.make(i.glyphs), F = i.getEnglishName("fontFamily"), z = i.getEnglishName("fontSubfamily"), B = F + " " + z, H = i.getEnglishName("postScriptName");
|
|
18558
|
+
H || (H = F.replace(/\s/g, "") + "-" + z);
|
|
18559
18559
|
var U = {};
|
|
18560
|
-
for (var
|
|
18561
|
-
U[
|
|
18562
|
-
U.uniqueID || (U.uniqueID = { en: i.getEnglishName("manufacturer") + ":" + B }), U.postScriptName || (U.postScriptName = { en:
|
|
18560
|
+
for (var V in i.names)
|
|
18561
|
+
U[V] = i.names[V];
|
|
18562
|
+
U.uniqueID || (U.uniqueID = { en: i.getEnglishName("manufacturer") + ":" + B }), U.postScriptName || (U.postScriptName = { en: H }), U.preferredFamily || (U.preferredFamily = i.names.fontFamily), U.preferredSubfamily || (U.preferredSubfamily = i.names.fontSubfamily);
|
|
18563
18563
|
var $ = [], nt = du.make(U, $), ot = $.length > 0 ? ou.make($) : void 0, it = fu.make(), lt = su.make(i.glyphs, {
|
|
18564
18564
|
version: i.getEnglishName("version"),
|
|
18565
18565
|
fullName: B,
|
|
18566
18566
|
familyName: F,
|
|
18567
18567
|
weightName: z,
|
|
18568
|
-
postScriptName:
|
|
18568
|
+
postScriptName: H,
|
|
18569
18569
|
unitsPerEm: i.unitsPerEm,
|
|
18570
18570
|
fontBBox: [0, y.yMin, y.ascender, y.advanceWidthMax]
|
|
18571
|
-
}), rt = i.metas && Object.keys(i.metas).length > 0 ? mu.make(i.metas) : void 0,
|
|
18572
|
-
ot &&
|
|
18573
|
-
for (var
|
|
18571
|
+
}), rt = i.metas && Object.keys(i.metas).length > 0 ? mu.make(i.metas) : void 0, mt = [w, k, C, P, nt, O, it, lt, R];
|
|
18572
|
+
ot && mt.push(ot), i.tables.gsub && mt.push(pu.make(i.tables.gsub)), rt && mt.push(rt);
|
|
18573
|
+
for (var ft = gu(mt), at = ft.encode(), Mt = th(at), wt = ft.fields, K = !1, st = 0; st < wt.length; st += 1)
|
|
18574
18574
|
if (wt[st].name === "head table") {
|
|
18575
18575
|
wt[st].value.checkSumAdjustment = 2981146554 - Mt, K = !0;
|
|
18576
18576
|
break;
|
|
18577
18577
|
}
|
|
18578
18578
|
if (!K)
|
|
18579
18579
|
throw new Error("Could not find head table with checkSum to adjust.");
|
|
18580
|
-
return
|
|
18580
|
+
return ft;
|
|
18581
18581
|
}
|
|
18582
18582
|
var Fg = { make: gu, fontToTable: Og, computeCheckSum: th };
|
|
18583
18583
|
function xo(i, t) {
|
|
@@ -19206,10 +19206,10 @@ function ku(i) {
|
|
|
19206
19206
|
function Gg(i) {
|
|
19207
19207
|
return Math.sign(i) * Math.round(Math.abs(i * 2)) / 2;
|
|
19208
19208
|
}
|
|
19209
|
-
function
|
|
19209
|
+
function Vg(i) {
|
|
19210
19210
|
return Math.sign(i) * (Math.round(Math.abs(i) + 0.5) - 0.5);
|
|
19211
19211
|
}
|
|
19212
|
-
function
|
|
19212
|
+
function Hg(i) {
|
|
19213
19213
|
return Math.sign(i) * Math.ceil(Math.abs(i));
|
|
19214
19214
|
}
|
|
19215
19215
|
function qg(i) {
|
|
@@ -19650,7 +19650,7 @@ function h_(i) {
|
|
|
19650
19650
|
exports.DEBUG && console.log(i.step, "RTG[]"), i.round = ku;
|
|
19651
19651
|
}
|
|
19652
19652
|
function l_(i) {
|
|
19653
|
-
exports.DEBUG && console.log(i.step, "RTHG[]"), i.round =
|
|
19653
|
+
exports.DEBUG && console.log(i.step, "RTHG[]"), i.round = Vg;
|
|
19654
19654
|
}
|
|
19655
19655
|
function c_(i) {
|
|
19656
19656
|
var t = i.stack.pop();
|
|
@@ -19812,7 +19812,7 @@ function k_(i) {
|
|
|
19812
19812
|
function T_(i) {
|
|
19813
19813
|
exports.DEBUG && console.log(i.step, "RTDG[]"), i.round = Gg;
|
|
19814
19814
|
}
|
|
19815
|
-
function
|
|
19815
|
+
function Vl(i, t) {
|
|
19816
19816
|
var e = t.stack, s = e.pop(), r = e.pop(), n = t.z0[r], o = t.fv, a = t.pv, h = t.cvt[s];
|
|
19817
19817
|
exports.DEBUG && console.log(
|
|
19818
19818
|
t.step,
|
|
@@ -19862,7 +19862,7 @@ function D_(i) {
|
|
|
19862
19862
|
var t = i.stack, e = t.pop();
|
|
19863
19863
|
exports.DEBUG && console.log(i.step, "RCVT", e), t.push(i.cvt[e] * 64);
|
|
19864
19864
|
}
|
|
19865
|
-
function
|
|
19865
|
+
function Hl(i, t) {
|
|
19866
19866
|
var e = t.stack, s = e.pop(), r = t.z2[s];
|
|
19867
19867
|
exports.DEBUG && console.log(t.step, "GC[" + i + "]", s), e.push(t.dpv.distance(r, dr, i, !1) * 64);
|
|
19868
19868
|
}
|
|
@@ -19912,10 +19912,10 @@ function G_(i) {
|
|
|
19912
19912
|
var t = i.stack.pop();
|
|
19913
19913
|
exports.DEBUG && console.log(i.step, "IF[]", t), t || (Cu(i, !0), exports.DEBUG && console.log(i.step, "EIF[]"));
|
|
19914
19914
|
}
|
|
19915
|
-
function
|
|
19915
|
+
function V_(i) {
|
|
19916
19916
|
exports.DEBUG && console.log(i.step, "EIF[]");
|
|
19917
19917
|
}
|
|
19918
|
-
function
|
|
19918
|
+
function H_(i) {
|
|
19919
19919
|
var t = i.stack, e = t.pop(), s = t.pop();
|
|
19920
19920
|
exports.DEBUG && console.log(i.step, "AND[]", e, s), t.push(e && s ? 1 : 0);
|
|
19921
19921
|
}
|
|
@@ -20075,7 +20075,7 @@ function a2(i) {
|
|
|
20075
20075
|
exports.DEBUG && console.log(i.step, "ROFF[]"), i.round = Ng;
|
|
20076
20076
|
}
|
|
20077
20077
|
function h2(i) {
|
|
20078
|
-
exports.DEBUG && console.log(i.step, "RUTG[]"), i.round =
|
|
20078
|
+
exports.DEBUG && console.log(i.step, "RUTG[]"), i.round = Hg;
|
|
20079
20079
|
}
|
|
20080
20080
|
function l2(i) {
|
|
20081
20081
|
exports.DEBUG && console.log(i.step, "RDTG[]"), i.round = qg;
|
|
@@ -20284,9 +20284,9 @@ wu = [
|
|
|
20284
20284
|
/* 0x3D */
|
|
20285
20285
|
T_,
|
|
20286
20286
|
/* 0x3E */
|
|
20287
|
-
|
|
20287
|
+
Vl.bind(void 0, 0),
|
|
20288
20288
|
/* 0x3F */
|
|
20289
|
-
|
|
20289
|
+
Vl.bind(void 0, 1),
|
|
20290
20290
|
/* 0x40 */
|
|
20291
20291
|
C_,
|
|
20292
20292
|
/* 0x41 */
|
|
@@ -20300,9 +20300,9 @@ wu = [
|
|
|
20300
20300
|
/* 0x45 */
|
|
20301
20301
|
D_,
|
|
20302
20302
|
/* 0x46 */
|
|
20303
|
-
|
|
20303
|
+
Hl.bind(void 0, 0),
|
|
20304
20304
|
/* 0x47 */
|
|
20305
|
-
|
|
20305
|
+
Hl.bind(void 0, 1),
|
|
20306
20306
|
/* 0x48 */
|
|
20307
20307
|
void 0,
|
|
20308
20308
|
// TODO SCFS
|
|
@@ -20342,9 +20342,9 @@ wu = [
|
|
|
20342
20342
|
/* 0x58 */
|
|
20343
20343
|
G_,
|
|
20344
20344
|
/* 0x59 */
|
|
20345
|
-
H_,
|
|
20346
|
-
/* 0x5A */
|
|
20347
20345
|
V_,
|
|
20346
|
+
/* 0x5A */
|
|
20347
|
+
H_,
|
|
20348
20348
|
/* 0x5B */
|
|
20349
20349
|
q_,
|
|
20350
20350
|
/* 0x5C */
|
|
@@ -20947,7 +20947,7 @@ function Us(i) {
|
|
|
20947
20947
|
function Pu(i) {
|
|
20948
20948
|
return /[\u0630\u0690\u0621\u0631\u0661\u0671\u0622\u0632\u0672\u0692\u06C2\u0623\u0673\u0693\u06C3\u0624\u0694\u06C4\u0625\u0675\u0695\u06C5\u06E5\u0676\u0696\u06C6\u0627\u0677\u0697\u06C7\u0648\u0688\u0698\u06C8\u0689\u0699\u06C9\u068A\u06CA\u066B\u068B\u06CB\u068C\u068D\u06CD\u06FD\u068E\u06EE\u06FE\u062F\u068F\u06CF\u06EF]/.test(i);
|
|
20949
20949
|
}
|
|
20950
|
-
function
|
|
20950
|
+
function Vs(i) {
|
|
20951
20951
|
return /[\u0600-\u0605\u060C-\u060E\u0610-\u061B\u061E\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED]/.test(i);
|
|
20952
20952
|
}
|
|
20953
20953
|
function cn(i) {
|
|
@@ -21012,13 +21012,13 @@ function w2(i, t) {
|
|
|
21012
21012
|
var r = t.inputCoverage.length - 1;
|
|
21013
21013
|
if (i.lookahead.length < t.lookaheadCoverage.length)
|
|
21014
21014
|
return [];
|
|
21015
|
-
for (var n = i.lookahead.slice(r); n.length &&
|
|
21015
|
+
for (var n = i.lookahead.slice(r); n.length && Vs(n[0].char); )
|
|
21016
21016
|
n.shift();
|
|
21017
21017
|
var o = new Ue(n, 0), a = To(
|
|
21018
21018
|
t.lookaheadCoverage,
|
|
21019
21019
|
o
|
|
21020
21020
|
), h = [].concat(i.backtrack);
|
|
21021
|
-
for (h.reverse(); h.length &&
|
|
21021
|
+
for (h.reverse(); h.length && Vs(h[0].char); )
|
|
21022
21022
|
h.shift();
|
|
21023
21023
|
if (h.length < t.backtrackCoverage.length)
|
|
21024
21024
|
return [];
|
|
@@ -21261,7 +21261,7 @@ function P2(i) {
|
|
|
21261
21261
|
var t = i.current, e = i.get(-1);
|
|
21262
21262
|
return (
|
|
21263
21263
|
// ? an arabic char preceded with a non arabic char
|
|
21264
|
-
(Us(t) ||
|
|
21264
|
+
(Us(t) || Vs(t)) && !Us(e)
|
|
21265
21265
|
);
|
|
21266
21266
|
}
|
|
21267
21267
|
function A2(i) {
|
|
@@ -21269,7 +21269,7 @@ function A2(i) {
|
|
|
21269
21269
|
switch (!0) {
|
|
21270
21270
|
case t === null:
|
|
21271
21271
|
return !0;
|
|
21272
|
-
case (!Us(t) && !
|
|
21272
|
+
case (!Us(t) && !Vs(t)):
|
|
21273
21273
|
var e = y2(t);
|
|
21274
21274
|
if (!e)
|
|
21275
21275
|
return !0;
|
|
@@ -21277,7 +21277,7 @@ function A2(i) {
|
|
|
21277
21277
|
var s = !1;
|
|
21278
21278
|
if (s = i.lookahead.some(
|
|
21279
21279
|
function(r) {
|
|
21280
|
-
return Us(r) ||
|
|
21280
|
+
return Us(r) || Vs(r);
|
|
21281
21281
|
}
|
|
21282
21282
|
), !s)
|
|
21283
21283
|
return !0;
|
|
@@ -21320,7 +21320,7 @@ function ih(i, t, e) {
|
|
|
21320
21320
|
}
|
|
21321
21321
|
function E2(i) {
|
|
21322
21322
|
for (var t = [].concat(i.backtrack), e = t.length - 1; e >= 0; e--) {
|
|
21323
|
-
var s = t[e], r = Pu(s), n =
|
|
21323
|
+
var s = t[e], r = Pu(s), n = Vs(s);
|
|
21324
21324
|
if (!r && !n)
|
|
21325
21325
|
return !0;
|
|
21326
21326
|
if (r)
|
|
@@ -21332,7 +21332,7 @@ function z2(i) {
|
|
|
21332
21332
|
if (Pu(i.current))
|
|
21333
21333
|
return !1;
|
|
21334
21334
|
for (var t = 0; t < i.lookahead.length; t++) {
|
|
21335
|
-
var e = i.lookahead[t], s =
|
|
21335
|
+
var e = i.lookahead[t], s = Vs(e);
|
|
21336
21336
|
if (!s)
|
|
21337
21337
|
return !0;
|
|
21338
21338
|
}
|
|
@@ -21357,7 +21357,7 @@ function B2(i) {
|
|
|
21357
21357
|
0
|
|
21358
21358
|
);
|
|
21359
21359
|
r.forEach(function(a, h) {
|
|
21360
|
-
if (!
|
|
21360
|
+
if (!Vs(a.char)) {
|
|
21361
21361
|
n.setCurrentIndex(h), o.setCurrentIndex(h);
|
|
21362
21362
|
var l = 0;
|
|
21363
21363
|
E2(o) && (l |= 1), z2(o) && (l |= 2);
|
|
@@ -21453,13 +21453,13 @@ function N2(i) {
|
|
|
21453
21453
|
), r = Zl(s));
|
|
21454
21454
|
});
|
|
21455
21455
|
}
|
|
21456
|
-
function
|
|
21456
|
+
function He(i) {
|
|
21457
21457
|
this.baseDir = i || "ltr", this.tokenizer = new Gt(), this.featuresTags = {};
|
|
21458
21458
|
}
|
|
21459
|
-
|
|
21459
|
+
He.prototype.setText = function(i) {
|
|
21460
21460
|
this.text = i;
|
|
21461
21461
|
};
|
|
21462
|
-
|
|
21462
|
+
He.prototype.contextChecks = {
|
|
21463
21463
|
latinWordCheck: U2,
|
|
21464
21464
|
arabicWordCheck: C2,
|
|
21465
21465
|
arabicSentenceCheck: L2
|
|
@@ -21475,7 +21475,7 @@ function Co(i) {
|
|
|
21475
21475
|
function G2() {
|
|
21476
21476
|
return Co.call(this, "latinWord"), Co.call(this, "arabicWord"), Co.call(this, "arabicSentence"), this.tokenizer.tokenize(this.text);
|
|
21477
21477
|
}
|
|
21478
|
-
function
|
|
21478
|
+
function V2() {
|
|
21479
21479
|
var i = this, t = this.tokenizer.getContextRanges("arabicSentence");
|
|
21480
21480
|
t.forEach(function(e) {
|
|
21481
21481
|
var s = i.tokenizer.getRangeTokens(e);
|
|
@@ -21486,7 +21486,7 @@ function H2() {
|
|
|
21486
21486
|
);
|
|
21487
21487
|
});
|
|
21488
21488
|
}
|
|
21489
|
-
|
|
21489
|
+
He.prototype.registerFeatures = function(i, t) {
|
|
21490
21490
|
var e = this, s = t.filter(
|
|
21491
21491
|
function(r) {
|
|
21492
21492
|
return e.query.supports({ script: i, tag: r });
|
|
@@ -21494,7 +21494,7 @@ Ve.prototype.registerFeatures = function(i, t) {
|
|
|
21494
21494
|
);
|
|
21495
21495
|
this.featuresTags.hasOwnProperty(i) ? this.featuresTags[i] = this.featuresTags[i].concat(s) : this.featuresTags[i] = s;
|
|
21496
21496
|
};
|
|
21497
|
-
|
|
21497
|
+
He.prototype.applyFeatures = function(i, t) {
|
|
21498
21498
|
if (!i)
|
|
21499
21499
|
throw new Error(
|
|
21500
21500
|
"No valid font was provided to apply features"
|
|
@@ -21505,7 +21505,7 @@ Ve.prototype.applyFeatures = function(i, t) {
|
|
|
21505
21505
|
this.query.supports({ script: s.script }) && this.registerFeatures(s.script, s.tags);
|
|
21506
21506
|
}
|
|
21507
21507
|
};
|
|
21508
|
-
|
|
21508
|
+
He.prototype.registerModifier = function(i, t, e) {
|
|
21509
21509
|
this.tokenizer.registerModifier(i, t, e);
|
|
21510
21510
|
};
|
|
21511
21511
|
function rh() {
|
|
@@ -21514,7 +21514,7 @@ function rh() {
|
|
|
21514
21514
|
"glyphIndex modifier is required to apply arabic presentation features."
|
|
21515
21515
|
);
|
|
21516
21516
|
}
|
|
21517
|
-
function
|
|
21517
|
+
function H2() {
|
|
21518
21518
|
var i = this, t = "arab";
|
|
21519
21519
|
if (this.featuresTags.hasOwnProperty(t)) {
|
|
21520
21520
|
rh.call(this);
|
|
@@ -21550,19 +21550,19 @@ function X2() {
|
|
|
21550
21550
|
}
|
|
21551
21551
|
}
|
|
21552
21552
|
}
|
|
21553
|
-
|
|
21553
|
+
He.prototype.checkContextReady = function(i) {
|
|
21554
21554
|
return !!this.tokenizer.getContext(i);
|
|
21555
21555
|
};
|
|
21556
|
-
|
|
21557
|
-
this.checkContextReady("arabicWord") && (
|
|
21556
|
+
He.prototype.applyFeaturesToContexts = function() {
|
|
21557
|
+
this.checkContextReady("arabicWord") && (H2.call(this), q2.call(this)), this.checkContextReady("latinWord") && X2.call(this), this.checkContextReady("arabicSentence") && V2.call(this);
|
|
21558
21558
|
};
|
|
21559
|
-
|
|
21559
|
+
He.prototype.processText = function(i) {
|
|
21560
21560
|
(!this.text || this.text !== i) && (this.setText(i), G2.call(this), this.applyFeaturesToContexts());
|
|
21561
21561
|
};
|
|
21562
|
-
|
|
21562
|
+
He.prototype.getBidiText = function(i) {
|
|
21563
21563
|
return this.processText(i), this.tokenizer.getText();
|
|
21564
21564
|
};
|
|
21565
|
-
|
|
21565
|
+
He.prototype.getTextGlyphs = function(i) {
|
|
21566
21566
|
this.processText(i);
|
|
21567
21567
|
for (var t = [], e = 0; e < this.tokenizer.tokens.length; e++) {
|
|
21568
21568
|
var s = this.tokenizer.tokens[e];
|
|
@@ -21626,7 +21626,7 @@ Lt.prototype.updateFeatures = function(i) {
|
|
|
21626
21626
|
});
|
|
21627
21627
|
};
|
|
21628
21628
|
Lt.prototype.stringToGlyphs = function(i, t) {
|
|
21629
|
-
var e = this, s = new
|
|
21629
|
+
var e = this, s = new He(), r = function(u) {
|
|
21630
21630
|
return e.charToGlyphIndex(u.char);
|
|
21631
21631
|
};
|
|
21632
21632
|
s.registerModifier("glyphIndex", null, r);
|
|
@@ -22101,7 +22101,7 @@ function bv(i, t) {
|
|
|
22101
22101
|
}
|
|
22102
22102
|
return e;
|
|
22103
22103
|
}
|
|
22104
|
-
function
|
|
22104
|
+
function Vt(i, t) {
|
|
22105
22105
|
if (t.compression === "WOFF") {
|
|
22106
22106
|
var e = new Uint8Array(i.buffer, t.offset + 2, t.compressedLength - 2), s = new Uint8Array(t.length);
|
|
22107
22107
|
if (um(e, s), s.byteLength !== t.length)
|
|
@@ -22133,43 +22133,43 @@ function nh(i, t) {
|
|
|
22133
22133
|
var P = a[C], R = void 0;
|
|
22134
22134
|
switch (P.tag) {
|
|
22135
22135
|
case "cmap":
|
|
22136
|
-
R =
|
|
22136
|
+
R = Vt(n, P), r.tables.cmap = H0.parse(R.data, R.offset), r.encoding = new X0(r.tables.cmap);
|
|
22137
22137
|
break;
|
|
22138
22138
|
case "cvt ":
|
|
22139
|
-
R =
|
|
22139
|
+
R = Vt(n, P), k = new et.Parser(R.data, R.offset), r.tables.cvt = k.parseShortList(P.length / 2);
|
|
22140
22140
|
break;
|
|
22141
22141
|
case "fvar":
|
|
22142
22142
|
u = P;
|
|
22143
22143
|
break;
|
|
22144
22144
|
case "fpgm":
|
|
22145
|
-
R =
|
|
22145
|
+
R = Vt(n, P), k = new et.Parser(R.data, R.offset), r.tables.fpgm = k.parseByteList(P.length);
|
|
22146
22146
|
break;
|
|
22147
22147
|
case "head":
|
|
22148
|
-
R =
|
|
22148
|
+
R = Vt(n, P), r.tables.head = iu.parse(R.data, R.offset), r.unitsPerEm = r.tables.head.unitsPerEm, e = r.tables.head.indexToLocFormat;
|
|
22149
22149
|
break;
|
|
22150
22150
|
case "hhea":
|
|
22151
|
-
R =
|
|
22151
|
+
R = Vt(n, P), r.tables.hhea = ru.parse(R.data, R.offset), r.ascender = r.tables.hhea.ascender, r.descender = r.tables.hhea.descender, r.numberOfHMetrics = r.tables.hhea.numberOfHMetrics;
|
|
22152
22152
|
break;
|
|
22153
22153
|
case "hmtx":
|
|
22154
22154
|
g = P;
|
|
22155
22155
|
break;
|
|
22156
22156
|
case "ltag":
|
|
22157
|
-
R =
|
|
22157
|
+
R = Vt(n, P), s = ou.parse(R.data, R.offset);
|
|
22158
22158
|
break;
|
|
22159
22159
|
case "maxp":
|
|
22160
|
-
R =
|
|
22160
|
+
R = Vt(n, P), r.tables.maxp = au.parse(R.data, R.offset), r.numGlyphs = r.tables.maxp.numGlyphs;
|
|
22161
22161
|
break;
|
|
22162
22162
|
case "name":
|
|
22163
22163
|
y = P;
|
|
22164
22164
|
break;
|
|
22165
22165
|
case "OS/2":
|
|
22166
|
-
R =
|
|
22166
|
+
R = Vt(n, P), r.tables.os2 = la.parse(R.data, R.offset);
|
|
22167
22167
|
break;
|
|
22168
22168
|
case "post":
|
|
22169
|
-
R =
|
|
22169
|
+
R = Vt(n, P), r.tables.post = fu.parse(R.data, R.offset), r.glyphNames = new Qa(r.tables.post);
|
|
22170
22170
|
break;
|
|
22171
22171
|
case "prep":
|
|
22172
|
-
R =
|
|
22172
|
+
R = Vt(n, P), k = new et.Parser(R.data, R.offset), r.tables.prep = k.parseByteList(P.length);
|
|
22173
22173
|
break;
|
|
22174
22174
|
case "glyf":
|
|
22175
22175
|
d = P;
|
|
@@ -22197,39 +22197,39 @@ function nh(i, t) {
|
|
|
22197
22197
|
break;
|
|
22198
22198
|
}
|
|
22199
22199
|
}
|
|
22200
|
-
var O =
|
|
22200
|
+
var O = Vt(n, y);
|
|
22201
22201
|
if (r.tables.name = du.parse(O.data, O.offset, s), r.names = r.tables.name, d && b) {
|
|
22202
|
-
var F = e === 0, z =
|
|
22203
|
-
r.glyphs = xu.parse(
|
|
22202
|
+
var F = e === 0, z = Vt(n, b), B = _v.parse(z.data, z.offset, r.numGlyphs, F), H = Vt(n, d);
|
|
22203
|
+
r.glyphs = xu.parse(H.data, H.offset, B, r, t);
|
|
22204
22204
|
} else if (c) {
|
|
22205
|
-
var U =
|
|
22205
|
+
var U = Vt(n, c);
|
|
22206
22206
|
su.parse(U.data, U.offset, r, t);
|
|
22207
22207
|
} else
|
|
22208
22208
|
throw new Error("Font doesn't contain TrueType or CFF outlines.");
|
|
22209
|
-
var
|
|
22210
|
-
if (nu.parse(r,
|
|
22211
|
-
var $ =
|
|
22209
|
+
var V = Vt(n, g);
|
|
22210
|
+
if (nu.parse(r, V.data, V.offset, r.numberOfHMetrics, r.numGlyphs, r.glyphs, t), Dm(r, t), _) {
|
|
22211
|
+
var $ = Vt(n, _);
|
|
22212
22212
|
r.kerningPairs = mv.parse($.data, $.offset);
|
|
22213
22213
|
} else
|
|
22214
22214
|
r.kerningPairs = {};
|
|
22215
22215
|
if (f) {
|
|
22216
|
-
var nt =
|
|
22216
|
+
var nt = Vt(n, f);
|
|
22217
22217
|
r.tables.gdef = av.parse(nt.data, nt.offset);
|
|
22218
22218
|
}
|
|
22219
22219
|
if (p) {
|
|
22220
|
-
var ot =
|
|
22220
|
+
var ot = Vt(n, p);
|
|
22221
22221
|
r.tables.gpos = uv.parse(ot.data, ot.offset), r.position.init();
|
|
22222
22222
|
}
|
|
22223
22223
|
if (m) {
|
|
22224
|
-
var it =
|
|
22224
|
+
var it = Vt(n, m);
|
|
22225
22225
|
r.tables.gsub = pu.parse(it.data, it.offset);
|
|
22226
22226
|
}
|
|
22227
22227
|
if (u) {
|
|
22228
|
-
var lt =
|
|
22228
|
+
var lt = Vt(n, u);
|
|
22229
22229
|
r.tables.fvar = tv.parse(lt.data, lt.offset, r.names);
|
|
22230
22230
|
}
|
|
22231
22231
|
if (w) {
|
|
22232
|
-
var rt =
|
|
22232
|
+
var rt = Vt(n, w);
|
|
22233
22233
|
r.tables.meta = mu.parse(rt.data, rt.offset), r.metas = r.tables.meta;
|
|
22234
22234
|
}
|
|
22235
22235
|
return r;
|
|
@@ -22853,7 +22853,7 @@ class Ls {
|
|
|
22853
22853
|
return this.size >= 2;
|
|
22854
22854
|
}
|
|
22855
22855
|
}
|
|
22856
|
-
var hh = 0, Sn = 1, Ti = 2, gs = 3, fr = 4, Oe = 5, Fi = 6, ge = 7, Qe = [new Ls(hh, 0, !1), new Ls(Sn, 0, !0), new Ls(Ti, 1, !1), new Ls(gs, 1, !0), new Ls(fr, 2, !1), new Ls(Oe, 2, !0), new Ls(Fi, 3, !1), new Ls(ge, 3, !0)], Ov = [fr, Oe, fr, Oe, Fi, ge, Fi, ge], Fv = [Oe, Oe, Oe, Oe, ge, ge, ge, ge], Ev = [Ti, gs, fr, Oe, Fi, ge, Fi, ge], zv = [gs, gs, Oe, Oe, ge, ge, ge, ge], Bv = [Sn, Sn, gs, gs, Oe, Oe, ge, ge], Iv = [hh, Sn, Ti, gs, Ti, gs, Ti, gs],
|
|
22856
|
+
var hh = 0, Sn = 1, Ti = 2, gs = 3, fr = 4, Oe = 5, Fi = 6, ge = 7, Qe = [new Ls(hh, 0, !1), new Ls(Sn, 0, !0), new Ls(Ti, 1, !1), new Ls(gs, 1, !0), new Ls(fr, 2, !1), new Ls(Oe, 2, !0), new Ls(Fi, 3, !1), new Ls(ge, 3, !0)], Ov = [fr, Oe, fr, Oe, Fi, ge, Fi, ge], Fv = [Oe, Oe, Oe, Oe, ge, ge, ge, ge], Ev = [Ti, gs, fr, Oe, Fi, ge, Fi, ge], zv = [gs, gs, Oe, Oe, ge, ge, ge, ge], Bv = [Sn, Sn, gs, gs, Oe, Oe, ge, ge], Iv = [hh, Sn, Ti, gs, Ti, gs, Ti, gs], _t = {
|
|
22857
22857
|
DISPLAY: Qe[hh],
|
|
22858
22858
|
TEXT: Qe[Ti],
|
|
22859
22859
|
SCRIPT: Qe[fr],
|
|
@@ -22982,7 +22982,7 @@ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
22982
22982
|
c-2,6,-10,9,-24,9
|
|
22983
22983
|
c-8,0,-12,-0.7,-12,-2z M` + (1001 + t) + " " + e + `
|
|
22984
22984
|
h400000v` + (40 + t) + "h-400000z";
|
|
22985
|
-
},
|
|
22985
|
+
}, Vv = function(t, e) {
|
|
22986
22986
|
return "M473," + (2713 + t + e) + `
|
|
22987
22987
|
c339.3,-1799.3,509.3,-2700,510,-2702 l` + t / 5.298 + " -" + t + `
|
|
22988
22988
|
c3.3,-7.3,9.3,-11,18,-11 H400000v` + (40 + t) + `H1017.7
|
|
@@ -22991,7 +22991,7 @@ c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1
|
|
|
22991
22991
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
22992
22992
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
22993
22993
|
606zM` + (1001 + t) + " " + e + "h400000v" + (40 + t) + "H1017.7z";
|
|
22994
|
-
},
|
|
22994
|
+
}, Hv = function(t) {
|
|
22995
22995
|
var e = t / 2;
|
|
22996
22996
|
return "M400000 " + t + " H0 L" + e + " 0 l65 45 L145 " + (t - 80) + " H400000z";
|
|
22997
22997
|
}, qv = function(t, e, s) {
|
|
@@ -23018,7 +23018,7 @@ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
23018
23018
|
r = Gv(e, yi);
|
|
23019
23019
|
break;
|
|
23020
23020
|
case "sqrtSize4":
|
|
23021
|
-
r =
|
|
23021
|
+
r = Vv(e, yi);
|
|
23022
23022
|
break;
|
|
23023
23023
|
case "sqrtTall":
|
|
23024
23024
|
r = qv(e, yi, s);
|
|
@@ -23405,7 +23405,7 @@ l0,-` + (e + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
23405
23405
|
return Math.min(t.number * s, e.maxSize);
|
|
23406
23406
|
}, q = function(t) {
|
|
23407
23407
|
return +t.toFixed(4) + "em";
|
|
23408
|
-
},
|
|
23408
|
+
}, Hs = function(t) {
|
|
23409
23409
|
return t.filter((e) => e).join(" ");
|
|
23410
23410
|
}, Du = function(t, e, s) {
|
|
23411
23411
|
if (this.classes = t || [], this.attributes = {}, this.height = 0, this.depth = 0, this.maxFontSize = 0, this.style = s || {}, e) {
|
|
@@ -23415,7 +23415,7 @@ l0,-` + (e + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
23415
23415
|
}
|
|
23416
23416
|
}, Ou = function(t) {
|
|
23417
23417
|
var e = document.createElement(t);
|
|
23418
|
-
e.className =
|
|
23418
|
+
e.className = Hs(this.classes);
|
|
23419
23419
|
for (var s of Object.keys(this.style))
|
|
23420
23420
|
e.style[s] = this.style[s];
|
|
23421
23421
|
for (var r of Object.keys(this.attributes))
|
|
@@ -23425,7 +23425,7 @@ l0,-` + (e + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
23425
23425
|
return e;
|
|
23426
23426
|
}, Kv = /[\s"'>/=\x00-\x1f]/, Fu = function(t) {
|
|
23427
23427
|
var e = "<" + t;
|
|
23428
|
-
this.classes.length && (e += ' class="' + ce(
|
|
23428
|
+
this.classes.length && (e += ' class="' + ce(Hs(this.classes)) + '"');
|
|
23429
23429
|
var s = "";
|
|
23430
23430
|
for (var r of Object.keys(this.style))
|
|
23431
23431
|
s += oh(r) + ":" + this.style[r] + ";";
|
|
@@ -23522,7 +23522,7 @@ class Fe {
|
|
|
23522
23522
|
*/
|
|
23523
23523
|
toNode() {
|
|
23524
23524
|
var t = document.createTextNode(this.text), e = null;
|
|
23525
|
-
this.italic > 0 && (e = document.createElement("span"), e.style.marginRight = q(this.italic)), this.classes.length > 0 && (e = e || document.createElement("span"), e.className =
|
|
23525
|
+
this.italic > 0 && (e = document.createElement("span"), e.style.marginRight = q(this.italic)), this.classes.length > 0 && (e = e || document.createElement("span"), e.className = Hs(this.classes));
|
|
23526
23526
|
for (var s of Object.keys(this.style))
|
|
23527
23527
|
e = e || document.createElement("span"), e.style[s] = this.style[s];
|
|
23528
23528
|
return e ? (e.appendChild(t), e) : t;
|
|
@@ -23532,7 +23532,7 @@ class Fe {
|
|
|
23532
23532
|
*/
|
|
23533
23533
|
toMarkup() {
|
|
23534
23534
|
var t = !1, e = "<span";
|
|
23535
|
-
this.classes.length && (t = !0, e += ' class="', e += ce(
|
|
23535
|
+
this.classes.length && (t = !0, e += ' class="', e += ce(Hs(this.classes)), e += '"');
|
|
23536
23536
|
var s = "";
|
|
23537
23537
|
this.italic > 0 && (s += "margin-right:" + this.italic + "em;");
|
|
23538
23538
|
for (var r of Object.keys(this.style))
|
|
@@ -26496,8 +26496,8 @@ for (var Lo = 0; Lo < nc.length; Lo++) {
|
|
|
26496
26496
|
}
|
|
26497
26497
|
var Mn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
|
26498
26498
|
for (var Ro = 0; Ro < Mn.length; Ro++) {
|
|
26499
|
-
var
|
|
26500
|
-
v(x, M, ht,
|
|
26499
|
+
var Vr = Mn.charAt(Ro);
|
|
26500
|
+
v(x, M, ht, Vr, Vr), v(I, M, D, Vr, Vr);
|
|
26501
26501
|
}
|
|
26502
26502
|
v(x, A, D, "C", "ℂ");
|
|
26503
26503
|
v(I, A, D, "C", "ℂ");
|
|
@@ -26529,8 +26529,8 @@ for (var ti = 0; ti < 10; ti++) {
|
|
|
26529
26529
|
}
|
|
26530
26530
|
var ma = "ÐÞþ";
|
|
26531
26531
|
for (var Do = 0; Do < ma.length; Do++) {
|
|
26532
|
-
var
|
|
26533
|
-
v(x, M, ht,
|
|
26532
|
+
var Hr = ma.charAt(Do);
|
|
26533
|
+
v(x, M, ht, Hr, Hr), v(I, M, D, Hr, Hr);
|
|
26534
26534
|
}
|
|
26535
26535
|
var qr = [
|
|
26536
26536
|
["mathbf", "textbf", "Main-Bold"],
|
|
@@ -26713,7 +26713,7 @@ var Nn = function(t, e, s) {
|
|
|
26713
26713
|
} else
|
|
26714
26714
|
throw new Error("unexpected type: " + s + " in makeOrd");
|
|
26715
26715
|
}, ay = (i, t) => {
|
|
26716
|
-
if (
|
|
26716
|
+
if (Hs(i.classes) !== Hs(t.classes) || i.skew !== t.skew || i.maxFontSize !== t.maxFontSize || i.italic !== 0 && i.hasClass("mathnormal"))
|
|
26717
26717
|
return !1;
|
|
26718
26718
|
if (i.classes.length === 1) {
|
|
26719
26719
|
var e = i.classes[0];
|
|
@@ -27048,10 +27048,10 @@ var Cn = function(t) {
|
|
|
27048
27048
|
}, Xt = function(t) {
|
|
27049
27049
|
return t.type === "ordgroup" ? t.body : [t];
|
|
27050
27050
|
}, dy = /* @__PURE__ */ new Set(["leftmost", "mbin", "mopen", "mrel", "mop", "mpunct"]), fy = /* @__PURE__ */ new Set(["rightmost", "mrel", "mclose", "mpunct"]), py = {
|
|
27051
|
-
display:
|
|
27052
|
-
text:
|
|
27053
|
-
script:
|
|
27054
|
-
scriptscript:
|
|
27051
|
+
display: _t.DISPLAY,
|
|
27052
|
+
text: _t.TEXT,
|
|
27053
|
+
script: _t.SCRIPT,
|
|
27054
|
+
scriptscript: _t.SCRIPTSCRIPT
|
|
27055
27055
|
}, my = {
|
|
27056
27056
|
mord: "mord",
|
|
27057
27057
|
mop: "mop",
|
|
@@ -27198,7 +27198,7 @@ class G {
|
|
|
27198
27198
|
var t = document.createElementNS("http://www.w3.org/1998/Math/MathML", this.type);
|
|
27199
27199
|
for (var e in this.attributes)
|
|
27200
27200
|
Object.prototype.hasOwnProperty.call(this.attributes, e) && t.setAttribute(e, this.attributes[e]);
|
|
27201
|
-
this.classes.length > 0 && (t.className =
|
|
27201
|
+
this.classes.length > 0 && (t.className = Hs(this.classes));
|
|
27202
27202
|
for (var s = 0; s < this.children.length; s++)
|
|
27203
27203
|
if (this.children[s] instanceof Yt && this.children[s + 1] instanceof Yt) {
|
|
27204
27204
|
for (var r = this.children[s].toText() + this.children[++s].toText(); this.children[s + 1] instanceof Yt; )
|
|
@@ -27215,7 +27215,7 @@ class G {
|
|
|
27215
27215
|
var t = "<" + this.type;
|
|
27216
27216
|
for (var e in this.attributes)
|
|
27217
27217
|
Object.prototype.hasOwnProperty.call(this.attributes, e) && (t += " " + e + '="', t += ce(this.attributes[e]), t += '"');
|
|
27218
|
-
this.classes.length > 0 && (t += ' class ="' + ce(
|
|
27218
|
+
this.classes.length > 0 && (t += ' class ="' + ce(Hs(this.classes)) + '"'), t += ">";
|
|
27219
27219
|
for (var s = 0; s < this.children.length; s++)
|
|
27220
27220
|
t += this.children[s].toMarkup();
|
|
27221
27221
|
return t += "</" + this.type + ">", t;
|
|
@@ -27604,20 +27604,20 @@ class ds {
|
|
|
27604
27604
|
}
|
|
27605
27605
|
}
|
|
27606
27606
|
ds.BASESIZE = 6;
|
|
27607
|
-
var
|
|
27607
|
+
var Vu = function(t) {
|
|
27608
27608
|
return new ds({
|
|
27609
|
-
style: t.displayMode ?
|
|
27609
|
+
style: t.displayMode ? _t.DISPLAY : _t.TEXT,
|
|
27610
27610
|
maxSize: t.maxSize,
|
|
27611
27611
|
minRuleThickness: t.minRuleThickness
|
|
27612
27612
|
});
|
|
27613
|
-
},
|
|
27613
|
+
}, Hu = function(t, e) {
|
|
27614
27614
|
if (e.displayMode) {
|
|
27615
27615
|
var s = ["katex-display"];
|
|
27616
27616
|
e.leqno && s.push("leqno"), e.fleqn && s.push("fleqn"), t = j(s, [t]);
|
|
27617
27617
|
}
|
|
27618
27618
|
return t;
|
|
27619
27619
|
}, yy = function(t, e, s) {
|
|
27620
|
-
var r =
|
|
27620
|
+
var r = Vu(s), n;
|
|
27621
27621
|
if (s.output === "mathml")
|
|
27622
27622
|
return hc(t, e, r, s.displayMode, !0);
|
|
27623
27623
|
if (s.output === "html") {
|
|
@@ -27627,10 +27627,10 @@ var Hu = function(t) {
|
|
|
27627
27627
|
var a = hc(t, e, r, s.displayMode, !1), h = ba(t, r);
|
|
27628
27628
|
n = j(["katex"], [a, h]);
|
|
27629
27629
|
}
|
|
27630
|
-
return
|
|
27630
|
+
return Hu(n, s);
|
|
27631
27631
|
}, by = function(t, e, s) {
|
|
27632
|
-
var r =
|
|
27633
|
-
return
|
|
27632
|
+
var r = Vu(s), n = ba(t, r), o = j(["katex"], [n]);
|
|
27633
|
+
return Hu(o, s);
|
|
27634
27634
|
}, xy = {
|
|
27635
27635
|
widehat: "^",
|
|
27636
27636
|
widecheck: "ˇ",
|
|
@@ -27676,7 +27676,7 @@ var Hu = function(t) {
|
|
|
27676
27676
|
"\\cdrightarrow": "→",
|
|
27677
27677
|
"\\cdleftarrow": "←",
|
|
27678
27678
|
"\\cdlongequal": "="
|
|
27679
|
-
},
|
|
27679
|
+
}, Vn = function(t) {
|
|
27680
27680
|
var e = new G("mo", [new Yt(xy[t.replace(/^\\/, "")])]);
|
|
27681
27681
|
return e.setAttribute("stretchy", "true"), e;
|
|
27682
27682
|
}, wy = {
|
|
@@ -27726,7 +27726,7 @@ var Hu = function(t) {
|
|
|
27726
27726
|
xrightleftarrows: [["baraboveleftarrow", "rightarrowabovebar"], 1.75, 901],
|
|
27727
27727
|
xrightequilibrium: [["baraboveshortleftharpoon", "rightharpoonaboveshortbar"], 1.75, 716],
|
|
27728
27728
|
xleftequilibrium: [["shortbaraboveleftharpoon", "shortrightharpoonabovebar"], 1.75, 716]
|
|
27729
|
-
}, Sy = /* @__PURE__ */ new Set(["widehat", "widecheck", "widetilde", "utilde"]),
|
|
27729
|
+
}, Sy = /* @__PURE__ */ new Set(["widehat", "widecheck", "widetilde", "utilde"]), Hn = function(t, e) {
|
|
27730
27730
|
function s() {
|
|
27731
27731
|
var a = 4e5, h = t.label.slice(1);
|
|
27732
27732
|
if (Sy.has(h)) {
|
|
@@ -27761,12 +27761,12 @@ var Hu = function(t) {
|
|
|
27761
27761
|
throw new Error(`Correct katexImagesData or update code here to support
|
|
27762
27762
|
` + P + " children.");
|
|
27763
27763
|
for (var z = 0; z < P; z++) {
|
|
27764
|
-
var B = new qs(y[z]),
|
|
27764
|
+
var B = new qs(y[z]), H = new _s([B], {
|
|
27765
27765
|
width: "400em",
|
|
27766
27766
|
height: q(C),
|
|
27767
27767
|
viewBox: "0 0 " + a + " " + k,
|
|
27768
27768
|
preserveAspectRatio: O[z] + " slice"
|
|
27769
|
-
}), U = Xs([R[z]], [
|
|
27769
|
+
}), U = Xs([R[z]], [H], e);
|
|
27770
27770
|
if (P === 1)
|
|
27771
27771
|
return {
|
|
27772
27772
|
span: U,
|
|
@@ -27842,7 +27842,7 @@ var mh = (i, t) => {
|
|
|
27842
27842
|
}
|
|
27843
27843
|
var c = s.label === "\\c", u = c ? n.height + n.depth : Math.min(n.height, t.fontMetrics().xHeight), d;
|
|
27844
27844
|
if (s.isStretchy)
|
|
27845
|
-
d =
|
|
27845
|
+
d = Hn(s, t), d = Ct({
|
|
27846
27846
|
positionType: "firstBaseline",
|
|
27847
27847
|
children: [{
|
|
27848
27848
|
type: "elem",
|
|
@@ -27883,7 +27883,7 @@ var mh = (i, t) => {
|
|
|
27883
27883
|
var _ = j(["mord", "accent"], [d], t);
|
|
27884
27884
|
return r ? (r.children[0] = _, r.height = Math.max(_.height, r.height), r.classes[0] = "mord", r) : _;
|
|
27885
27885
|
}, qu = (i, t) => {
|
|
27886
|
-
var e = i.isStretchy ?
|
|
27886
|
+
var e = i.isStretchy ? Vn(i.label) : new G("mo", [Ee(i.label, i.mode)]), s = new G("mover", [Rt(i.base, t), e]);
|
|
27887
27887
|
return s.setAttribute("accent", "true"), s;
|
|
27888
27888
|
}, ky = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((i) => "\\" + i).join("|"));
|
|
27889
27889
|
Y({
|
|
@@ -27949,7 +27949,7 @@ Y({
|
|
|
27949
27949
|
};
|
|
27950
27950
|
},
|
|
27951
27951
|
htmlBuilder: (i, t) => {
|
|
27952
|
-
var e = Tt(i.base, t), s =
|
|
27952
|
+
var e = Tt(i.base, t), s = Hn(i, t), r = i.label === "\\utilde" ? 0.12 : 0, n = Ct({
|
|
27953
27953
|
positionType: "top",
|
|
27954
27954
|
positionData: e.height,
|
|
27955
27955
|
children: [{
|
|
@@ -27967,7 +27967,7 @@ Y({
|
|
|
27967
27967
|
return j(["mord", "accentunder"], [n], t);
|
|
27968
27968
|
},
|
|
27969
27969
|
mathmlBuilder: (i, t) => {
|
|
27970
|
-
var e =
|
|
27970
|
+
var e = Vn(i.label), s = new G("munder", [Rt(i.base, t), e]);
|
|
27971
27971
|
return s.setAttribute("accentunder", "true"), s;
|
|
27972
27972
|
}
|
|
27973
27973
|
});
|
|
@@ -28029,7 +28029,7 @@ Y({
|
|
|
28029
28029
|
r.classes.push(n + "-arrow-pad");
|
|
28030
28030
|
var o;
|
|
28031
28031
|
i.below && (s = t.havingStyle(e.sub()), o = zi(Tt(i.below, s, t), t), o.classes.push(n + "-arrow-pad"));
|
|
28032
|
-
var a =
|
|
28032
|
+
var a = Hn(i, t), h = -t.fontMetrics().axisHeight + 0.5 * a.height, l = -t.fontMetrics().axisHeight - 0.5 * a.height - 0.111;
|
|
28033
28033
|
(r.depth > 0.25 || i.label === "\\xleftequilibrium") && (l -= r.depth);
|
|
28034
28034
|
var c;
|
|
28035
28035
|
if (o) {
|
|
@@ -28066,7 +28066,7 @@ Y({
|
|
|
28066
28066
|
return c.children[0].children[0].children[1].classes.push("svg-align"), j(["mrel", "x-arrow"], [c], t);
|
|
28067
28067
|
},
|
|
28068
28068
|
mathmlBuilder(i, t) {
|
|
28069
|
-
var e =
|
|
28069
|
+
var e = Vn(i.label);
|
|
28070
28070
|
e.setAttribute("minsize", i.label.charAt(0) === "x" ? "1.75em" : "3.0em");
|
|
28071
28071
|
var s;
|
|
28072
28072
|
if (i.body) {
|
|
@@ -28654,8 +28654,8 @@ var Yi = function(t, e, s) {
|
|
|
28654
28654
|
}, Dy = function(t, e, s, r) {
|
|
28655
28655
|
return pe(t, "Size" + e + "-Regular", s, r);
|
|
28656
28656
|
}, td = function(t, e, s, r, n, o) {
|
|
28657
|
-
var a = Dy(t, e, n, r), h = gh(j(["delimsizing", "size" + e], [a], r),
|
|
28658
|
-
return s && Ju(h, r,
|
|
28657
|
+
var a = Dy(t, e, n, r), h = gh(j(["delimsizing", "size" + e], [a], r), _t.TEXT, r, o);
|
|
28658
|
+
return s && Ju(h, r, _t.TEXT), h;
|
|
28659
28659
|
}, Fo = function(t, e, s) {
|
|
28660
28660
|
var r;
|
|
28661
28661
|
e === "Size1-Regular" ? r = "delim-size1" : r = "delim-size4";
|
|
@@ -28694,7 +28694,7 @@ var Yi = function(t, e, s) {
|
|
|
28694
28694
|
s && (F *= r.sizeMultiplier);
|
|
28695
28695
|
var z = O / 2 - F, B = [];
|
|
28696
28696
|
if (u.length > 0) {
|
|
28697
|
-
var
|
|
28697
|
+
var H = O - m - y, U = Math.round(O * 1e3), V = $v(u, Math.round(H * 1e3)), $ = new qs(u, V), nt = (d / 1e3).toFixed(3) + "em", ot = (U / 1e3).toFixed(3) + "em", it = new _s([$], {
|
|
28698
28698
|
width: nt,
|
|
28699
28699
|
height: ot,
|
|
28700
28700
|
viewBox: "0 0 " + d + " " + U
|
|
@@ -28708,17 +28708,17 @@ var Yi = function(t, e, s) {
|
|
|
28708
28708
|
var rt = O - m - y + 2 * wa;
|
|
28709
28709
|
B.push(Eo(l, rt, r));
|
|
28710
28710
|
} else {
|
|
28711
|
-
var
|
|
28712
|
-
B.push(Eo(l,
|
|
28711
|
+
var mt = (O - m - y - w) / 2 + 2 * wa;
|
|
28712
|
+
B.push(Eo(l, mt, r)), B.push(Zr), B.push(Fo(h, f, n)), B.push(Zr), B.push(Eo(l, mt, r));
|
|
28713
28713
|
}
|
|
28714
28714
|
B.push(Zr), B.push(Fo(a, f, n));
|
|
28715
28715
|
}
|
|
28716
|
-
var
|
|
28716
|
+
var ft = r.havingBaseStyle(_t.TEXT), at = Ct({
|
|
28717
28717
|
positionType: "bottom",
|
|
28718
28718
|
positionData: z,
|
|
28719
28719
|
children: B
|
|
28720
28720
|
});
|
|
28721
|
-
return gh(j(["delimsizing", "mult"], [at],
|
|
28721
|
+
return gh(j(["delimsizing", "mult"], [at], ft), _t.TEXT, r, o);
|
|
28722
28722
|
}, zo = 80, Bo = 0.08, Io = function(t, e, s, r, n) {
|
|
28723
28723
|
var o = Xv(t, r, s), a = new qs(t, o), h = new _s([a], {
|
|
28724
28724
|
// Note: 1000:1 ratio of viewBox to document em width.
|
|
@@ -28747,13 +28747,13 @@ var Yi = function(t, e, s) {
|
|
|
28747
28747
|
throw new N("Illegal delimiter: '" + t + "'");
|
|
28748
28748
|
}, By = [{
|
|
28749
28749
|
type: "small",
|
|
28750
|
-
style:
|
|
28750
|
+
style: _t.SCRIPTSCRIPT
|
|
28751
28751
|
}, {
|
|
28752
28752
|
type: "small",
|
|
28753
|
-
style:
|
|
28753
|
+
style: _t.SCRIPT
|
|
28754
28754
|
}, {
|
|
28755
28755
|
type: "small",
|
|
28756
|
-
style:
|
|
28756
|
+
style: _t.TEXT
|
|
28757
28757
|
}, {
|
|
28758
28758
|
type: "large",
|
|
28759
28759
|
size: 1
|
|
@@ -28768,24 +28768,24 @@ var Yi = function(t, e, s) {
|
|
|
28768
28768
|
size: 4
|
|
28769
28769
|
}], Iy = [{
|
|
28770
28770
|
type: "small",
|
|
28771
|
-
style:
|
|
28771
|
+
style: _t.SCRIPTSCRIPT
|
|
28772
28772
|
}, {
|
|
28773
28773
|
type: "small",
|
|
28774
|
-
style:
|
|
28774
|
+
style: _t.SCRIPT
|
|
28775
28775
|
}, {
|
|
28776
28776
|
type: "small",
|
|
28777
|
-
style:
|
|
28777
|
+
style: _t.TEXT
|
|
28778
28778
|
}, {
|
|
28779
28779
|
type: "stack"
|
|
28780
28780
|
}], nd = [{
|
|
28781
28781
|
type: "small",
|
|
28782
|
-
style:
|
|
28782
|
+
style: _t.SCRIPTSCRIPT
|
|
28783
28783
|
}, {
|
|
28784
28784
|
type: "small",
|
|
28785
|
-
style:
|
|
28785
|
+
style: _t.SCRIPT
|
|
28786
28786
|
}, {
|
|
28787
28787
|
type: "small",
|
|
28788
|
-
style:
|
|
28788
|
+
style: _t.TEXT
|
|
28789
28789
|
}, {
|
|
28790
28790
|
type: "large",
|
|
28791
28791
|
size: 1
|
|
@@ -29074,7 +29074,7 @@ var _h = (i, t) => {
|
|
|
29074
29074
|
r = r / c.sizeMultiplier;
|
|
29075
29075
|
var u = e.height + e.depth + h + l;
|
|
29076
29076
|
e.style.paddingLeft = q(u / 2 + h);
|
|
29077
|
-
var d = Math.floor(1e3 * u * r), f =
|
|
29077
|
+
var d = Math.floor(1e3 * u * r), f = Hv(d), p = new _s([new qs("phase", f)], {
|
|
29078
29078
|
width: "400em",
|
|
29079
29079
|
height: q(d / 1e3),
|
|
29080
29080
|
viewBox: "0 0 400000 " + d,
|
|
@@ -29436,7 +29436,7 @@ var ns = function(t, e) {
|
|
|
29436
29436
|
e.minRuleThickness
|
|
29437
29437
|
), u = 1 / e.fontMetrics().ptPerEm, d = 5 * u;
|
|
29438
29438
|
if (t.colSeparationType && t.colSeparationType === "small") {
|
|
29439
|
-
var f = e.havingStyle(
|
|
29439
|
+
var f = e.havingStyle(_t.SCRIPT).sizeMultiplier;
|
|
29440
29440
|
d = 0.2778 * (f / e.sizeMultiplier);
|
|
29441
29441
|
}
|
|
29442
29442
|
var p = t.colSeparationType === "CD" ? jt({
|
|
@@ -29461,7 +29461,7 @@ var ns = function(t, e) {
|
|
|
29461
29461
|
var F = t.rowGaps[s], z = 0;
|
|
29462
29462
|
F && (z = jt(F, e), z > 0 && (z += b, P < z && (P = z), z = 0)), t.addJot && (P += m), R.height = C, R.depth = P, y += C, R.pos = y, y += P + z, h[s] = R, w(o[s + 1]);
|
|
29463
29463
|
}
|
|
29464
|
-
var B = y / 2 + e.fontMetrics().axisHeight,
|
|
29464
|
+
var B = y / 2 + e.fontMetrics().axisHeight, H = t.cols || [], U = [], V, $, nt = [];
|
|
29465
29465
|
if (t.tags && t.tags.some((Ts) => Ts))
|
|
29466
29466
|
for (s = 0; s < n; ++s) {
|
|
29467
29467
|
var ot = h[s], it = ot.pos - B, lt = t.tags[s], rt = void 0;
|
|
@@ -29475,25 +29475,25 @@ var ns = function(t, e) {
|
|
|
29475
29475
|
r = 0, $ = 0;
|
|
29476
29476
|
// Continue while either there are more columns or more column
|
|
29477
29477
|
// descriptions, so trailing separators don't get lost.
|
|
29478
|
-
r < a || $ <
|
|
29478
|
+
r < a || $ < H.length;
|
|
29479
29479
|
++r, ++$
|
|
29480
29480
|
) {
|
|
29481
|
-
for (var
|
|
29481
|
+
for (var mt, ft = H[$], at = !0; ((Mt = ft) == null ? void 0 : Mt.type) === "separator"; ) {
|
|
29482
29482
|
var Mt;
|
|
29483
|
-
if (at || (
|
|
29484
|
-
var wt =
|
|
29483
|
+
if (at || (V = j(["arraycolsep"], []), V.style.width = q(e.fontMetrics().doubleRuleSep), U.push(V)), ft.separator === "|" || ft.separator === ":") {
|
|
29484
|
+
var wt = ft.separator === "|" ? "solid" : "dashed", K = j(["vertical-separator"], [], e);
|
|
29485
29485
|
K.style.height = q(y), K.style.borderRightWidth = q(c), K.style.borderRightStyle = wt, K.style.margin = "0 " + q(-c / 2);
|
|
29486
29486
|
var st = y - B;
|
|
29487
29487
|
st && (K.style.verticalAlign = q(-st)), U.push(K);
|
|
29488
29488
|
} else
|
|
29489
|
-
throw new N("Invalid separator type: " +
|
|
29490
|
-
$++,
|
|
29489
|
+
throw new N("Invalid separator type: " + ft.separator);
|
|
29490
|
+
$++, ft = H[$], at = !1;
|
|
29491
29491
|
}
|
|
29492
29492
|
if (!(r >= a)) {
|
|
29493
29493
|
var J = void 0;
|
|
29494
29494
|
if (r > 0 || t.hskipBeforeAndAfter) {
|
|
29495
29495
|
var kt, It;
|
|
29496
|
-
J = (kt = (It =
|
|
29496
|
+
J = (kt = (It = ft) == null ? void 0 : It.pregap) != null ? kt : d, J !== 0 && (V = j(["arraycolsep"], []), V.style.width = q(J), U.push(V));
|
|
29497
29497
|
}
|
|
29498
29498
|
var ue = [];
|
|
29499
29499
|
for (s = 0; s < n; ++s) {
|
|
@@ -29510,10 +29510,10 @@ var ns = function(t, e) {
|
|
|
29510
29510
|
var Ss = Ct({
|
|
29511
29511
|
positionType: "individualShift",
|
|
29512
29512
|
children: ue
|
|
29513
|
-
}), ae = j(["col-align-" + (((
|
|
29513
|
+
}), ae = j(["col-align-" + (((mt = ft) == null ? void 0 : mt.align) || "c")], [Ss]);
|
|
29514
29514
|
if (U.push(ae), r < a - 1 || t.hskipBeforeAndAfter) {
|
|
29515
29515
|
var ie, Ot;
|
|
29516
|
-
J = (ie = (Ot =
|
|
29516
|
+
J = (ie = (Ot = ft) == null ? void 0 : Ot.postgap) != null ? ie : d, J !== 0 && (V = j(["arraycolsep"], []), V.style.width = q(J), U.push(V));
|
|
29517
29517
|
}
|
|
29518
29518
|
}
|
|
29519
29519
|
}
|
|
@@ -29545,8 +29545,8 @@ var ns = function(t, e) {
|
|
|
29545
29545
|
var Gi = Ct({
|
|
29546
29546
|
positionType: "individualShift",
|
|
29547
29547
|
children: nt
|
|
29548
|
-
}),
|
|
29549
|
-
return ws([Jt,
|
|
29548
|
+
}), Vi = j(["tag"], [Gi], e);
|
|
29549
|
+
return ws([Jt, Vi]);
|
|
29550
29550
|
}, Ny = {
|
|
29551
29551
|
c: "center ",
|
|
29552
29552
|
l: "left ",
|
|
@@ -30044,7 +30044,7 @@ var Gy = (i, t) => {
|
|
|
30044
30044
|
var l = Tt(i.denom, n, t), c, u, d;
|
|
30045
30045
|
i.hasBarLine ? (i.barSize ? (u = jt(i.barSize, t), c = Ei("frac-line", t, u)) : c = Ei("frac-line", t), u = c.height, d = c.height) : (c = null, u = 0, d = t.fontMetrics().defaultRuleThickness);
|
|
30046
30046
|
var f, p, m;
|
|
30047
|
-
e.size ===
|
|
30047
|
+
e.size === _t.DISPLAY.size ? (f = t.fontMetrics().num1, u > 0 ? p = 3 * d : p = 7 * d, m = t.fontMetrics().denom1) : (u > 0 ? (f = t.fontMetrics().num2, p = d) : (f = t.fontMetrics().num3, p = 3 * d), m = t.fontMetrics().denom2);
|
|
30048
30048
|
var g;
|
|
30049
30049
|
if (c) {
|
|
30050
30050
|
var b = t.fontMetrics().axisHeight;
|
|
@@ -30083,10 +30083,10 @@ var Gy = (i, t) => {
|
|
|
30083
30083
|
}
|
|
30084
30084
|
n = t.havingStyle(e), g.height *= n.sizeMultiplier / t.sizeMultiplier, g.depth *= n.sizeMultiplier / t.sizeMultiplier;
|
|
30085
30085
|
var w;
|
|
30086
|
-
e.size ===
|
|
30086
|
+
e.size === _t.DISPLAY.size ? w = t.fontMetrics().delim1 : e.size === _t.SCRIPTSCRIPT.size ? w = t.havingStyle(_t.SCRIPT).fontMetrics().delim2 : w = t.fontMetrics().delim2;
|
|
30087
30087
|
var k, C;
|
|
30088
30088
|
return i.leftDelim == null ? k = pr(t, ["mopen"]) : k = Sa(i.leftDelim, w, !0, t.havingStyle(e), i.mode, ["mopen"]), i.continued ? C = j([]) : i.rightDelim == null ? C = pr(t, ["mclose"]) : C = Sa(i.rightDelim, w, !0, t.havingStyle(e), i.mode, ["mclose"]), j(["mord"].concat(n.sizingClasses(t)), [k, j(["mfrac"], [g]), C], t);
|
|
30089
|
-
},
|
|
30089
|
+
}, Vy = (i, t) => {
|
|
30090
30090
|
var e = new G("mfrac", [Rt(i.numer, t), Rt(i.denom, t)]);
|
|
30091
30091
|
if (!i.hasBarLine)
|
|
30092
30092
|
e.setAttribute("linethickness", "0px");
|
|
@@ -30181,7 +30181,7 @@ Y({
|
|
|
30181
30181
|
}, c);
|
|
30182
30182
|
},
|
|
30183
30183
|
htmlBuilder: Gy,
|
|
30184
|
-
mathmlBuilder:
|
|
30184
|
+
mathmlBuilder: Vy
|
|
30185
30185
|
});
|
|
30186
30186
|
Y({
|
|
30187
30187
|
type: "infix",
|
|
@@ -30315,7 +30315,7 @@ Y({
|
|
|
30315
30315
|
var fd = (i, t) => {
|
|
30316
30316
|
var e = t.style, s, r;
|
|
30317
30317
|
i.type === "supsub" ? (s = i.sup ? Tt(i.sup, t.havingStyle(e.sup()), t) : Tt(i.sub, t.havingStyle(e.sub()), t), r = xt(i.base, "horizBrace")) : r = xt(i, "horizBrace");
|
|
30318
|
-
var n = Tt(r.base, t.havingBaseStyle(
|
|
30318
|
+
var n = Tt(r.base, t.havingBaseStyle(_t.DISPLAY)), o = Hn(r, t), a;
|
|
30319
30319
|
if (r.isOver ? (a = Ct({
|
|
30320
30320
|
positionType: "firstBaseline",
|
|
30321
30321
|
children: [{
|
|
@@ -30371,8 +30371,8 @@ var fd = (i, t) => {
|
|
|
30371
30371
|
});
|
|
30372
30372
|
}
|
|
30373
30373
|
return j(["mord", r.isOver ? "mover" : "munder"], [a], t);
|
|
30374
|
-
},
|
|
30375
|
-
var e =
|
|
30374
|
+
}, Hy = (i, t) => {
|
|
30375
|
+
var e = Vn(i.label);
|
|
30376
30376
|
return new G(i.isOver ? "mover" : "munder", [Rt(i.base, t), e]);
|
|
30377
30377
|
};
|
|
30378
30378
|
Y({
|
|
@@ -30395,7 +30395,7 @@ Y({
|
|
|
30395
30395
|
};
|
|
30396
30396
|
},
|
|
30397
30397
|
htmlBuilder: fd,
|
|
30398
|
-
mathmlBuilder:
|
|
30398
|
+
mathmlBuilder: Hy
|
|
30399
30399
|
});
|
|
30400
30400
|
Y({
|
|
30401
30401
|
type: "href",
|
|
@@ -30792,13 +30792,13 @@ Y({
|
|
|
30792
30792
|
});
|
|
30793
30793
|
var bc = (i, t) => {
|
|
30794
30794
|
switch (t.style.size) {
|
|
30795
|
-
case
|
|
30795
|
+
case _t.DISPLAY.size:
|
|
30796
30796
|
return i.display;
|
|
30797
|
-
case
|
|
30797
|
+
case _t.TEXT.size:
|
|
30798
30798
|
return i.text;
|
|
30799
|
-
case
|
|
30799
|
+
case _t.SCRIPT.size:
|
|
30800
30800
|
return i.script;
|
|
30801
|
-
case
|
|
30801
|
+
case _t.SCRIPTSCRIPT.size:
|
|
30802
30802
|
return i.scriptscript;
|
|
30803
30803
|
default:
|
|
30804
30804
|
return i.text;
|
|
@@ -30933,7 +30933,7 @@ var pd = (i, t, e, s, r, n, o) => {
|
|
|
30933
30933
|
var e, s, r = !1, n;
|
|
30934
30934
|
i.type === "supsub" ? (e = i.sup, s = i.sub, n = xt(i.base, "op"), r = !0) : n = xt(i, "op");
|
|
30935
30935
|
var o = t.style, a = !1;
|
|
30936
|
-
o.size ===
|
|
30936
|
+
o.size === _t.DISPLAY.size && n.symbol && !md.has(n.name) && (a = !0);
|
|
30937
30937
|
var h;
|
|
30938
30938
|
if (n.symbol) {
|
|
30939
30939
|
var l = a ? "Size2-Regular" : "Size1-Regular", c = "";
|
|
@@ -31495,7 +31495,7 @@ Y({
|
|
|
31495
31495
|
var e = Tt(i.body, t.havingCrampedStyle());
|
|
31496
31496
|
e.height === 0 && (e.height = t.fontMetrics().xHeight), e = zi(e, t);
|
|
31497
31497
|
var s = t.fontMetrics(), r = s.defaultRuleThickness, n = r;
|
|
31498
|
-
t.style.id <
|
|
31498
|
+
t.style.id < _t.TEXT.id && (n = t.fontMetrics().xHeight);
|
|
31499
31499
|
var o = r + n / 4, a = e.height + e.depth + o + r, {
|
|
31500
31500
|
span: h,
|
|
31501
31501
|
ruleWidth: l,
|
|
@@ -31522,7 +31522,7 @@ Y({
|
|
|
31522
31522
|
}]
|
|
31523
31523
|
});
|
|
31524
31524
|
if (i.index) {
|
|
31525
|
-
var p = t.havingStyle(
|
|
31525
|
+
var p = t.havingStyle(_t.SCRIPTSCRIPT), m = Tt(i.index, p, t), g = 0.6 * (f.height - f.depth), _ = Ct({
|
|
31526
31526
|
positionType: "shift",
|
|
31527
31527
|
positionData: -g,
|
|
31528
31528
|
children: [{
|
|
@@ -31543,10 +31543,10 @@ Y({
|
|
|
31543
31543
|
}
|
|
31544
31544
|
});
|
|
31545
31545
|
var wc = {
|
|
31546
|
-
display:
|
|
31547
|
-
text:
|
|
31548
|
-
script:
|
|
31549
|
-
scriptscript:
|
|
31546
|
+
display: _t.DISPLAY,
|
|
31547
|
+
text: _t.TEXT,
|
|
31548
|
+
script: _t.SCRIPT,
|
|
31549
|
+
scriptscript: _t.SCRIPTSCRIPT
|
|
31550
31550
|
};
|
|
31551
31551
|
Y({
|
|
31552
31552
|
type: "styling",
|
|
@@ -31589,10 +31589,10 @@ var Zy = function(t, e) {
|
|
|
31589
31589
|
var s = t.base;
|
|
31590
31590
|
if (s)
|
|
31591
31591
|
if (s.type === "op") {
|
|
31592
|
-
var r = s.limits && (e.style.size ===
|
|
31592
|
+
var r = s.limits && (e.style.size === _t.DISPLAY.size || s.alwaysHandleSupSub);
|
|
31593
31593
|
return r ? Ui : null;
|
|
31594
31594
|
} else if (s.type === "operatorname") {
|
|
31595
|
-
var n = s.alwaysHandleSupSub && (e.style.size ===
|
|
31595
|
+
var n = s.alwaysHandleSupSub && (e.style.size === _t.DISPLAY.size || s.limits);
|
|
31596
31596
|
return n ? gd : null;
|
|
31597
31597
|
} else {
|
|
31598
31598
|
if (s.type === "accent")
|
|
@@ -31625,7 +31625,7 @@ pi({
|
|
|
31625
31625
|
h = Tt(n, p, t), d || (u = o.depth + p.fontMetrics().subDrop * p.sizeMultiplier / t.sizeMultiplier);
|
|
31626
31626
|
}
|
|
31627
31627
|
var m;
|
|
31628
|
-
t.style ===
|
|
31628
|
+
t.style === _t.DISPLAY ? m = l.sup1 : t.style.cramped ? m = l.sup3 : m = l.sup2;
|
|
31629
31629
|
var g = t.sizeMultiplier, _ = q(0.5 / l.ptPerEm / g), b = null;
|
|
31630
31630
|
if (h) {
|
|
31631
31631
|
var y = i.base && i.base.type === "op" && i.base.name && (i.base.name === "\\oiint" || i.base.name === "\\oiiint");
|
|
@@ -31695,14 +31695,14 @@ pi({
|
|
|
31695
31695
|
else if (i.sub)
|
|
31696
31696
|
if (i.sup) {
|
|
31697
31697
|
var l = i.base;
|
|
31698
|
-
l && l.type === "op" && l.limits && t.style ===
|
|
31698
|
+
l && l.type === "op" && l.limits && t.style === _t.DISPLAY || l && l.type === "operatorname" && l.alwaysHandleSupSub && (t.style === _t.DISPLAY || l.limits) ? o = "munderover" : o = "msubsup";
|
|
31699
31699
|
} else {
|
|
31700
31700
|
var h = i.base;
|
|
31701
|
-
h && h.type === "op" && h.limits && (t.style ===
|
|
31701
|
+
h && h.type === "op" && h.limits && (t.style === _t.DISPLAY || h.alwaysHandleSupSub) || h && h.type === "operatorname" && h.alwaysHandleSupSub && (h.limits || t.style === _t.DISPLAY) ? o = "munder" : o = "msub";
|
|
31702
31702
|
}
|
|
31703
31703
|
else {
|
|
31704
31704
|
var a = i.base;
|
|
31705
|
-
a && a.type === "op" && a.limits && (t.style ===
|
|
31705
|
+
a && a.type === "op" && a.limits && (t.style === _t.DISPLAY || a.alwaysHandleSupSub) || a && a.type === "operatorname" && a.alwaysHandleSupSub && (a.limits || t.style === _t.DISPLAY) ? o = "mover" : o = "msup";
|
|
31706
31706
|
}
|
|
31707
31707
|
return new G(o, n);
|
|
31708
31708
|
}
|
|
@@ -34193,7 +34193,7 @@ function Td() {
|
|
|
34193
34193
|
}, document.head.appendChild(e);
|
|
34194
34194
|
}), ls));
|
|
34195
34195
|
}
|
|
34196
|
-
function
|
|
34196
|
+
function R5() {
|
|
34197
34197
|
return ls !== null || document.getElementById("manimweb-katex-styles") !== null;
|
|
34198
34198
|
}
|
|
34199
34199
|
function p4(i) {
|
|
@@ -34315,15 +34315,15 @@ function g4(i, t, e, s, r, n, o, a, h) {
|
|
|
34315
34315
|
return xi(u, i, t, e, s), u;
|
|
34316
34316
|
const d = Math.cos(o), f = Math.sin(o), p = (i - e) / 2, m = (t - s) / 2, g = d * p + f * m, _ = -f * p + d * m, b = g * g / (l * l) + _ * _ / (c * c);
|
|
34317
34317
|
if (b > 1) {
|
|
34318
|
-
const
|
|
34319
|
-
l *=
|
|
34318
|
+
const V = Math.sqrt(b);
|
|
34319
|
+
l *= V, c *= V;
|
|
34320
34320
|
}
|
|
34321
34321
|
const y = a === h ? -1 : 1, w = l * l * _ * _ + c * c * g * g, k = Math.max(0, (l * l * c * c - w) / w), C = y * Math.sqrt(k), P = C * l * _ / c, R = -C * c * g / l, O = d * P - f * R + (i + e) / 2, F = f * P + d * R + (t + s) / 2, z = Oc(1, 0, (g - P) / l, (_ - R) / c);
|
|
34322
34322
|
let B = Oc((g - P) / l, (_ - R) / c, (-g - P) / l, (-_ - R) / c);
|
|
34323
34323
|
h === 0 && B > 0 && (B -= 2 * Math.PI), h === 1 && B < 0 && (B += 2 * Math.PI);
|
|
34324
|
-
const
|
|
34325
|
-
for (let
|
|
34326
|
-
const $ = z +
|
|
34324
|
+
const H = Math.max(1, Math.ceil(Math.abs(B) / (Math.PI / 2))), U = B / H;
|
|
34325
|
+
for (let V = 0; V < H; V++) {
|
|
34326
|
+
const $ = z + V * U, nt = $ + U, ot = Math.sin(U) * (Math.sqrt(4 + 3 * Math.tan(U / 2) ** 2) - 1) / 3, it = Math.cos($), lt = Math.sin($), rt = Math.cos(nt), mt = Math.sin(nt), ft = O + l * d * it - c * f * lt, at = F + l * f * it + c * d * lt, Mt = O + l * d * rt - c * f * mt, wt = F + l * f * rt + c * d * mt, K = -l * d * lt - c * f * it, st = -l * f * lt + c * d * it, J = -l * d * mt - c * f * rt, kt = -l * f * mt + c * d * rt, It = ft + ot * K, ue = at + ot * st, Kt = Mt - ot * J, Qt = wt - ot * kt;
|
|
34327
34327
|
u.push([It, ue], [Kt, Qt], [Mt, wt]);
|
|
34328
34328
|
}
|
|
34329
34329
|
return u;
|
|
@@ -34365,7 +34365,7 @@ function _4(i, t = {}) {
|
|
|
34365
34365
|
if (b === "path") {
|
|
34366
34366
|
const P = p.getAttribute("d");
|
|
34367
34367
|
if (P) {
|
|
34368
|
-
const R =
|
|
34368
|
+
const R = Vo(
|
|
34369
34369
|
P,
|
|
34370
34370
|
y,
|
|
34371
34371
|
w,
|
|
@@ -34381,7 +34381,7 @@ function _4(i, t = {}) {
|
|
|
34381
34381
|
} else if (b === "use") {
|
|
34382
34382
|
const R = (p.getAttribute("xlink:href") || p.getAttribute("href") || "").replace(/^#/, ""), O = h.get(R), F = parseFloat(p.getAttribute("x") || "0"), z = parseFloat(p.getAttribute("y") || "0");
|
|
34383
34383
|
if (O) {
|
|
34384
|
-
const B =
|
|
34384
|
+
const B = Vo(
|
|
34385
34385
|
O,
|
|
34386
34386
|
y + k * F,
|
|
34387
34387
|
w + k * z,
|
|
@@ -34397,7 +34397,7 @@ function _4(i, t = {}) {
|
|
|
34397
34397
|
} else if (b === "rect") {
|
|
34398
34398
|
const P = parseFloat(p.getAttribute("x") || "0"), R = parseFloat(p.getAttribute("y") || "0"), O = parseFloat(p.getAttribute("width") || "0"), F = parseFloat(p.getAttribute("height") || "0");
|
|
34399
34399
|
if (O > 0 && F > 0) {
|
|
34400
|
-
const z = `M${P},${R} L${P + O},${R} L${P + O},${R + F} L${P},${R + F} Z`, B =
|
|
34400
|
+
const z = `M${P},${R} L${P + O},${R} L${P + O},${R + F} L${P},${R + F} Z`, B = Vo(
|
|
34401
34401
|
z,
|
|
34402
34402
|
y,
|
|
34403
34403
|
w,
|
|
@@ -34416,7 +34416,7 @@ function _4(i, t = {}) {
|
|
|
34416
34416
|
}
|
|
34417
34417
|
return f(i, 0, 0, 1), a;
|
|
34418
34418
|
}
|
|
34419
|
-
function
|
|
34419
|
+
function Vo(i, t, e, s, r, n, o, a, h) {
|
|
34420
34420
|
const l = m4(i);
|
|
34421
34421
|
if (l.length === 0) return null;
|
|
34422
34422
|
const c = [], u = [];
|
|
@@ -34467,10 +34467,10 @@ async function Cd() {
|
|
|
34467
34467
|
throw new Error("MathJax could not be loaded: no npm package and no browser environment.");
|
|
34468
34468
|
})(), Qr);
|
|
34469
34469
|
}
|
|
34470
|
-
function
|
|
34470
|
+
function D5() {
|
|
34471
34471
|
return cs !== null;
|
|
34472
34472
|
}
|
|
34473
|
-
async function
|
|
34473
|
+
async function O5() {
|
|
34474
34474
|
await Cd();
|
|
34475
34475
|
}
|
|
34476
34476
|
async function dn(i, t = {}) {
|
|
@@ -35503,7 +35503,7 @@ class kh extends W {
|
|
|
35503
35503
|
});
|
|
35504
35504
|
}
|
|
35505
35505
|
}
|
|
35506
|
-
class Th extends
|
|
35506
|
+
class Th extends Ht {
|
|
35507
35507
|
/** The x-axis NumberLine */
|
|
35508
35508
|
xAxis;
|
|
35509
35509
|
/** The y-axis NumberLine */
|
|
@@ -35703,7 +35703,7 @@ class Th extends Vt {
|
|
|
35703
35703
|
n.position.set(a + 0.5, h + 0.35, 0);
|
|
35704
35704
|
const l = this._numberToVisualX(0), c = this._yLength / 2;
|
|
35705
35705
|
o.position.set(l + 0.55, c + 0.35, 0);
|
|
35706
|
-
const u = new
|
|
35706
|
+
const u = new Ht();
|
|
35707
35707
|
return u.add(n), u.add(o), u;
|
|
35708
35708
|
}
|
|
35709
35709
|
/**
|
|
@@ -35727,7 +35727,7 @@ class Th extends Vt {
|
|
|
35727
35727
|
* @returns A Line from the x-axis to the point
|
|
35728
35728
|
*/
|
|
35729
35729
|
getVerticalLine(t, e = {}) {
|
|
35730
|
-
const { color: s = "#ffffff", strokeWidth: r = 2, lineFunc: n =
|
|
35730
|
+
const { color: s = "#ffffff", strokeWidth: r = 2, lineFunc: n = Va } = e, o = this.coordsToPoint(0, 0)[1];
|
|
35731
35731
|
return new n({
|
|
35732
35732
|
start: [t[0], o, t[2]],
|
|
35733
35733
|
end: [t[0], t[1], t[2]],
|
|
@@ -35916,7 +35916,7 @@ class Ch extends Th {
|
|
|
35916
35916
|
color: this._backgroundLineStyle.color,
|
|
35917
35917
|
strokeWidth: (this._backgroundLineStyle.strokeWidth ?? 2) / 2,
|
|
35918
35918
|
opacity: (this._backgroundLineStyle.opacity ?? 1) / 2
|
|
35919
|
-
}, this._fadedLineRatio = n, this._fadingFactor = o, this._backgroundLines = new
|
|
35919
|
+
}, this._fadedLineRatio = n, this._fadingFactor = o, this._backgroundLines = new Ht(), this._includeBackgroundLines && (this._generateBackgroundLines(), this.children.unshift(this._backgroundLines), this._backgroundLines.parent = this);
|
|
35920
35920
|
}
|
|
35921
35921
|
/**
|
|
35922
35922
|
* Generate the background grid lines
|
|
@@ -35953,26 +35953,26 @@ class Ch extends Th {
|
|
|
35953
35953
|
for (let O = 1; O <= this._fadedLineRatio; O++) {
|
|
35954
35954
|
const F = Math.round(R / s) * s + O * C;
|
|
35955
35955
|
if (F > p + c) break;
|
|
35956
|
-
const [z] = this.coordsToPoint(F, 0), B = z - this.position.x,
|
|
35956
|
+
const [z] = this.coordsToPoint(F, 0), B = z - this.position.x, H = new xe({
|
|
35957
35957
|
start: [B, -b, 0],
|
|
35958
35958
|
end: [B, b, 0],
|
|
35959
35959
|
color: y,
|
|
35960
35960
|
strokeWidth: w
|
|
35961
35961
|
});
|
|
35962
|
-
|
|
35962
|
+
H.setOpacity(k), this._backgroundLines.add(H);
|
|
35963
35963
|
}
|
|
35964
35964
|
if (o > 0 && P > 0)
|
|
35965
35965
|
for (let R = m; R <= g + c; R += o)
|
|
35966
35966
|
for (let O = 1; O <= this._fadedLineRatio; O++) {
|
|
35967
35967
|
const F = Math.round(R / o) * o + O * P;
|
|
35968
35968
|
if (F > g + c) break;
|
|
35969
|
-
const [, z] = this.coordsToPoint(0, F), B = z - this.position.y,
|
|
35969
|
+
const [, z] = this.coordsToPoint(0, F), B = z - this.position.y, H = new xe({
|
|
35970
35970
|
start: [-_, B, 0],
|
|
35971
35971
|
end: [_, B, 0],
|
|
35972
35972
|
color: y,
|
|
35973
35973
|
strokeWidth: w
|
|
35974
35974
|
});
|
|
35975
|
-
|
|
35975
|
+
H.setOpacity(k), this._backgroundLines.add(H);
|
|
35976
35976
|
}
|
|
35977
35977
|
}
|
|
35978
35978
|
}
|
|
@@ -37861,7 +37861,7 @@ class Id extends is {
|
|
|
37861
37861
|
});
|
|
37862
37862
|
}
|
|
37863
37863
|
}
|
|
37864
|
-
class C4 extends
|
|
37864
|
+
class C4 extends dt {
|
|
37865
37865
|
_tracker;
|
|
37866
37866
|
_startValue;
|
|
37867
37867
|
_endValue;
|
|
@@ -37957,7 +37957,7 @@ class Qn extends St {
|
|
|
37957
37957
|
return new S.Group();
|
|
37958
37958
|
}
|
|
37959
37959
|
}
|
|
37960
|
-
class P4 extends
|
|
37960
|
+
class P4 extends dt {
|
|
37961
37961
|
_tracker;
|
|
37962
37962
|
_startValue;
|
|
37963
37963
|
_endValue;
|
|
@@ -38091,10 +38091,10 @@ class Ph extends St {
|
|
|
38091
38091
|
return new S.Group();
|
|
38092
38092
|
}
|
|
38093
38093
|
}
|
|
38094
|
-
function
|
|
38094
|
+
function F5(i = 0) {
|
|
38095
38095
|
return new Qn(i);
|
|
38096
38096
|
}
|
|
38097
|
-
function
|
|
38097
|
+
function E5(i) {
|
|
38098
38098
|
return new Ph(i);
|
|
38099
38099
|
}
|
|
38100
38100
|
class Wd extends St {
|
|
@@ -38286,7 +38286,7 @@ class Os extends Ch {
|
|
|
38286
38286
|
labelColor: r = bt,
|
|
38287
38287
|
...n
|
|
38288
38288
|
} = t;
|
|
38289
|
-
super(n), this._includeImaginaryLabels = e, this._labelFontSize = s, this._labelColor = r, this._imaginaryLabels = new
|
|
38289
|
+
super(n), this._includeImaginaryLabels = e, this._labelFontSize = s, this._labelColor = r, this._imaginaryLabels = new Ht(), this._coordinateLabels = new Ht(), this._includeImaginaryLabels && (this._generateImaginaryLabels(), this.add(this._imaginaryLabels));
|
|
38290
38290
|
}
|
|
38291
38291
|
/**
|
|
38292
38292
|
* Generate labels for the imaginary axis (i, 2i, -i, etc.)
|
|
@@ -38580,7 +38580,7 @@ class Os extends Ch {
|
|
|
38580
38580
|
});
|
|
38581
38581
|
}
|
|
38582
38582
|
}
|
|
38583
|
-
class jd extends
|
|
38583
|
+
class jd extends Ht {
|
|
38584
38584
|
_radius;
|
|
38585
38585
|
_size;
|
|
38586
38586
|
_radialDivisions;
|
|
@@ -38613,7 +38613,7 @@ class jd extends Vt {
|
|
|
38613
38613
|
labelColor: d = bt,
|
|
38614
38614
|
azimuthOffset: f = 0
|
|
38615
38615
|
} = t;
|
|
38616
|
-
this._radius = e, this._size = s, this._radialDivisions = r, this._angularDivisions = n, this._gridColor = o, this._gridStrokeWidth = a, this._gridOpacity = h, this._includeAngleLabels = l, this._includeRadiusLabels = c, this._labelFontSize = u, this._labelColor = d, this._azimuthOffset = f, this._concentricCircles = new
|
|
38616
|
+
this._radius = e, this._size = s, this._radialDivisions = r, this._angularDivisions = n, this._gridColor = o, this._gridStrokeWidth = a, this._gridOpacity = h, this._includeAngleLabels = l, this._includeRadiusLabels = c, this._labelFontSize = u, this._labelColor = d, this._azimuthOffset = f, this._concentricCircles = new Ht(), this._radialLines = new Ht(), this._angleLabels = new Ht(), this._radiusLabels = new Ht(), this._generateGrid(), this._generateLabels(), this.add(this._concentricCircles), this.add(this._radialLines), this._includeAngleLabels && this.add(this._angleLabels), this._includeRadiusLabels && this.add(this._radiusLabels);
|
|
38617
38617
|
}
|
|
38618
38618
|
/**
|
|
38619
38619
|
* Get the visual scale factor (visual units per coordinate unit)
|
|
@@ -38788,7 +38788,7 @@ class jd extends Vt {
|
|
|
38788
38788
|
}
|
|
38789
38789
|
}
|
|
38790
38790
|
const A4 = [Dt, La, Li, Ge, Yc, Da, Aa, Ra];
|
|
38791
|
-
class Ud extends
|
|
38791
|
+
class Ud extends Ht {
|
|
38792
38792
|
/** The rectangular bars */
|
|
38793
38793
|
bars;
|
|
38794
38794
|
/** The y-axis (left side) */
|
|
@@ -39160,7 +39160,7 @@ function L4(i) {
|
|
|
39160
39160
|
const t = Math.min(Math.max(i / 3, 0), 1), e = Math.round(88 + 167 * t), s = Math.round(196 - 196 * t * t), r = Math.round(221 * (1 - t));
|
|
39161
39161
|
return `rgb(${e}, ${s}, ${r})`;
|
|
39162
39162
|
}
|
|
39163
|
-
class Jn extends
|
|
39163
|
+
class Jn extends Ht {
|
|
39164
39164
|
_func;
|
|
39165
39165
|
_xRange;
|
|
39166
39166
|
_yRange;
|
|
@@ -39457,12 +39457,12 @@ class Gd extends Jn {
|
|
|
39457
39457
|
const [z, B] = this._func(
|
|
39458
39458
|
m + _ * R / F,
|
|
39459
39459
|
g + _ * O / F
|
|
39460
|
-
),
|
|
39461
|
-
if (
|
|
39462
|
-
const U = _ * (b / w + 2 * k / P + 2 * R / F + z /
|
|
39460
|
+
), H = Math.sqrt(z * z + B * B);
|
|
39461
|
+
if (H < 1e-10) return null;
|
|
39462
|
+
const U = _ * (b / w + 2 * k / P + 2 * R / F + z / H) / 6, V = _ * (y / w + 2 * C / P + 2 * O / F + B / H) / 6;
|
|
39463
39463
|
return {
|
|
39464
39464
|
x: m + U,
|
|
39465
|
-
y: g +
|
|
39465
|
+
y: g + V,
|
|
39466
39466
|
vx: b,
|
|
39467
39467
|
vy: y
|
|
39468
39468
|
};
|
|
@@ -39620,7 +39620,7 @@ class Gd extends Jn {
|
|
|
39620
39620
|
});
|
|
39621
39621
|
}
|
|
39622
39622
|
}
|
|
39623
|
-
class
|
|
39623
|
+
class Vd extends St {
|
|
39624
39624
|
_radius;
|
|
39625
39625
|
_resolution;
|
|
39626
39626
|
_wireframe;
|
|
@@ -39736,7 +39736,7 @@ class Hd extends St {
|
|
|
39736
39736
|
* Create a copy of this Sphere
|
|
39737
39737
|
*/
|
|
39738
39738
|
_createCopy() {
|
|
39739
|
-
return new
|
|
39739
|
+
return new Vd({
|
|
39740
39740
|
radius: this._radius,
|
|
39741
39741
|
center: this._centerPoint,
|
|
39742
39742
|
color: this.color,
|
|
@@ -39746,7 +39746,7 @@ class Hd extends St {
|
|
|
39746
39746
|
});
|
|
39747
39747
|
}
|
|
39748
39748
|
}
|
|
39749
|
-
class
|
|
39749
|
+
class Hd extends St {
|
|
39750
39750
|
_sideLength;
|
|
39751
39751
|
_wireframe;
|
|
39752
39752
|
_centerPoint;
|
|
@@ -39831,7 +39831,7 @@ class Vd extends St {
|
|
|
39831
39831
|
* Create a copy of this Cube
|
|
39832
39832
|
*/
|
|
39833
39833
|
_createCopy() {
|
|
39834
|
-
return new
|
|
39834
|
+
return new Hd({
|
|
39835
39835
|
sideLength: this._sideLength,
|
|
39836
39836
|
center: this._centerPoint,
|
|
39837
39837
|
color: this.color,
|
|
@@ -40679,7 +40679,7 @@ class Pi extends St {
|
|
|
40679
40679
|
});
|
|
40680
40680
|
}
|
|
40681
40681
|
}
|
|
40682
|
-
class
|
|
40682
|
+
class z5 extends Pi {
|
|
40683
40683
|
constructor(t) {
|
|
40684
40684
|
const { direction: e, end: s, ...r } = t;
|
|
40685
40685
|
super({
|
|
@@ -40959,7 +40959,7 @@ class Es extends to {
|
|
|
40959
40959
|
});
|
|
40960
40960
|
}
|
|
40961
40961
|
}
|
|
40962
|
-
const
|
|
40962
|
+
const B5 = {
|
|
40963
40963
|
/**
|
|
40964
40964
|
* Create a sphere surface
|
|
40965
40965
|
*/
|
|
@@ -41327,7 +41327,7 @@ class Lh extends St {
|
|
|
41327
41327
|
});
|
|
41328
41328
|
}
|
|
41329
41329
|
}
|
|
41330
|
-
function
|
|
41330
|
+
function I5(i) {
|
|
41331
41331
|
const {
|
|
41332
41332
|
textureUrl: t,
|
|
41333
41333
|
darkTextureUrl: e,
|
|
@@ -41363,7 +41363,7 @@ function F5(i) {
|
|
|
41363
41363
|
textureOffset: l
|
|
41364
41364
|
});
|
|
41365
41365
|
}
|
|
41366
|
-
class $d extends
|
|
41366
|
+
class $d extends Ht {
|
|
41367
41367
|
_xAxis;
|
|
41368
41368
|
_yAxis;
|
|
41369
41369
|
_zAxis;
|
|
@@ -42240,7 +42240,7 @@ class Ni extends vt {
|
|
|
42240
42240
|
});
|
|
42241
42241
|
}
|
|
42242
42242
|
}
|
|
42243
|
-
class
|
|
42243
|
+
class W5 extends Ni {
|
|
42244
42244
|
constructor(t) {
|
|
42245
42245
|
const {
|
|
42246
42246
|
data: e,
|
|
@@ -42264,12 +42264,12 @@ class E5 extends Ni {
|
|
|
42264
42264
|
});
|
|
42265
42265
|
}
|
|
42266
42266
|
}
|
|
42267
|
-
class
|
|
42267
|
+
class j5 extends Ni {
|
|
42268
42268
|
constructor(t) {
|
|
42269
42269
|
super(t);
|
|
42270
42270
|
}
|
|
42271
42271
|
}
|
|
42272
|
-
class
|
|
42272
|
+
class U5 extends Ni {
|
|
42273
42273
|
constructor(t) {
|
|
42274
42274
|
const {
|
|
42275
42275
|
data: e,
|
|
@@ -42308,7 +42308,7 @@ class B5 extends Ni {
|
|
|
42308
42308
|
});
|
|
42309
42309
|
}
|
|
42310
42310
|
}
|
|
42311
|
-
class
|
|
42311
|
+
class N5 extends Ni {
|
|
42312
42312
|
constructor(t) {
|
|
42313
42313
|
const {
|
|
42314
42314
|
data: e,
|
|
@@ -42431,7 +42431,7 @@ class eo extends W {
|
|
|
42431
42431
|
J[0] + a[0] * kt + h[0] * It,
|
|
42432
42432
|
J[1] + a[1] * kt + h[1] * It,
|
|
42433
42433
|
J[2]
|
|
42434
|
-
], P = C(t, g, l), R = C(P, b, 0), O = C(e, -g, l), F = C(O, -b, 0), z = C(t, g * 0.3, l * 0.85), B = C(t, g * 0.78, l * 1),
|
|
42434
|
+
], P = C(t, g, l), R = C(P, b, 0), O = C(e, -g, l), F = C(O, -b, 0), z = C(t, g * 0.3, l * 0.85), B = C(t, g * 0.78, l * 1), H = C(P, b / 3, 0), U = C(P, b * 2 / 3, 0), V = C(R, _ * 0.55, u * 0.05), $ = [
|
|
42435
42435
|
this._tipPoint[0] - a[0] * _ * 0.02 - h[0] * u * 0.45,
|
|
42436
42436
|
this._tipPoint[1] - a[1] * _ * 0.02 - h[1] * u * 0.45,
|
|
42437
42437
|
this._tipPoint[2]
|
|
@@ -42439,15 +42439,15 @@ class eo extends W {
|
|
|
42439
42439
|
this._tipPoint[0] + a[0] * _ * 0.02 - h[0] * u * 0.45,
|
|
42440
42440
|
this._tipPoint[1] + a[1] * _ * 0.02 - h[1] * u * 0.45,
|
|
42441
42441
|
this._tipPoint[2]
|
|
42442
|
-
], ot = C(F, -_ * 0.55, u * 0.05), it = C(F, b / 3, 0), lt = C(F, b * 2 / 3, 0), rt = C(e, -g * 0.78, l * 1),
|
|
42442
|
+
], ot = C(F, -_ * 0.55, u * 0.05), it = C(F, b / 3, 0), lt = C(F, b * 2 / 3, 0), rt = C(e, -g * 0.78, l * 1), mt = C(e, -g * 0.3, l * 0.85), ft = [
|
|
42443
42443
|
[...t],
|
|
42444
42444
|
z,
|
|
42445
42445
|
B,
|
|
42446
42446
|
P,
|
|
42447
|
-
|
|
42447
|
+
H,
|
|
42448
42448
|
U,
|
|
42449
42449
|
R,
|
|
42450
|
-
|
|
42450
|
+
V,
|
|
42451
42451
|
$,
|
|
42452
42452
|
[...this._tipPoint],
|
|
42453
42453
|
nt,
|
|
@@ -42457,7 +42457,7 @@ class eo extends W {
|
|
|
42457
42457
|
lt,
|
|
42458
42458
|
O,
|
|
42459
42459
|
rt,
|
|
42460
|
-
|
|
42460
|
+
mt,
|
|
42461
42461
|
[...e]
|
|
42462
42462
|
], at = 0.025, Mt = [
|
|
42463
42463
|
0,
|
|
@@ -42487,7 +42487,7 @@ class eo extends W {
|
|
|
42487
42487
|
// arm end → curl edge
|
|
42488
42488
|
], wt = [];
|
|
42489
42489
|
for (let J = 0; J < 19; J++) {
|
|
42490
|
-
const kt =
|
|
42490
|
+
const kt = ft[Math.max(0, J - 1)], It = ft[Math.min(18, J + 1)], ue = It[0] - kt[0], Kt = It[1] - kt[1], Qt = Math.sqrt(ue * ue + Kt * Kt);
|
|
42491
42491
|
if (Qt < 1e-10) {
|
|
42492
42492
|
wt.push([h[0], h[1]]);
|
|
42493
42493
|
continue;
|
|
@@ -42499,7 +42499,7 @@ class eo extends W {
|
|
|
42499
42499
|
const K = [], st = [];
|
|
42500
42500
|
for (let J = 0; J < 19; J++) {
|
|
42501
42501
|
const kt = Mt[J];
|
|
42502
|
-
K.push([
|
|
42502
|
+
K.push([ft[J][0] + wt[J][0] * kt, ft[J][1] + wt[J][1] * kt, ft[J][2]]), st.push([ft[J][0] - wt[J][0] * kt, ft[J][1] - wt[J][1] * kt, ft[J][2]]);
|
|
42503
42503
|
}
|
|
42504
42504
|
this.setPoints3D([
|
|
42505
42505
|
K[0],
|
|
@@ -42659,7 +42659,7 @@ class Jd extends W {
|
|
|
42659
42659
|
J[0] + a[0] * kt + h[0] * It,
|
|
42660
42660
|
J[1] + a[1] * kt + h[1] * It,
|
|
42661
42661
|
J[2]
|
|
42662
|
-
], P = C(t, m, l), R = C(P, _, 0), O = C(e, -m, l), F = C(O, -_, 0), z = C(t, m * 0.3, l * 0.85), B = C(t, m * 0.78, l * 1),
|
|
42662
|
+
], P = C(t, m, l), R = C(P, _, 0), O = C(e, -m, l), F = C(O, -_, 0), z = C(t, m * 0.3, l * 0.85), B = C(t, m * 0.78, l * 1), H = C(P, _ / 3, 0), U = C(P, _ * 2 / 3, 0), V = C(R, g * 0.55, b * 0.05), $ = [
|
|
42663
42663
|
this._tipPoint[0] - a[0] * g * 0.02 - h[0] * b * 0.45,
|
|
42664
42664
|
this._tipPoint[1] - a[1] * g * 0.02 - h[1] * b * 0.45,
|
|
42665
42665
|
this._tipPoint[2]
|
|
@@ -42667,15 +42667,15 @@ class Jd extends W {
|
|
|
42667
42667
|
this._tipPoint[0] + a[0] * g * 0.02 - h[0] * b * 0.45,
|
|
42668
42668
|
this._tipPoint[1] + a[1] * g * 0.02 - h[1] * b * 0.45,
|
|
42669
42669
|
this._tipPoint[2]
|
|
42670
|
-
], ot = C(F, -g * 0.55, b * 0.05), it = C(F, _ / 3, 0), lt = C(F, _ * 2 / 3, 0), rt = C(e, -m * 0.78, l * 1),
|
|
42670
|
+
], ot = C(F, -g * 0.55, b * 0.05), it = C(F, _ / 3, 0), lt = C(F, _ * 2 / 3, 0), rt = C(e, -m * 0.78, l * 1), mt = C(e, -m * 0.3, l * 0.85), ft = [
|
|
42671
42671
|
[...t],
|
|
42672
42672
|
z,
|
|
42673
42673
|
B,
|
|
42674
42674
|
P,
|
|
42675
|
-
|
|
42675
|
+
H,
|
|
42676
42676
|
U,
|
|
42677
42677
|
R,
|
|
42678
|
-
|
|
42678
|
+
V,
|
|
42679
42679
|
$,
|
|
42680
42680
|
[...this._tipPoint],
|
|
42681
42681
|
nt,
|
|
@@ -42685,7 +42685,7 @@ class Jd extends W {
|
|
|
42685
42685
|
lt,
|
|
42686
42686
|
O,
|
|
42687
42687
|
rt,
|
|
42688
|
-
|
|
42688
|
+
mt,
|
|
42689
42689
|
[...e]
|
|
42690
42690
|
], at = 0.025, Mt = [
|
|
42691
42691
|
0,
|
|
@@ -42709,7 +42709,7 @@ class Jd extends W {
|
|
|
42709
42709
|
0
|
|
42710
42710
|
], wt = [];
|
|
42711
42711
|
for (let J = 0; J < 19; J++) {
|
|
42712
|
-
const kt =
|
|
42712
|
+
const kt = ft[Math.max(0, J - 1)], It = ft[Math.min(18, J + 1)], ue = It[0] - kt[0], Kt = It[1] - kt[1], Qt = Math.sqrt(ue * ue + Kt * Kt);
|
|
42713
42713
|
if (Qt < 1e-10) {
|
|
42714
42714
|
wt.push([h[0], h[1]]);
|
|
42715
42715
|
continue;
|
|
@@ -42721,7 +42721,7 @@ class Jd extends W {
|
|
|
42721
42721
|
const K = [], st = [];
|
|
42722
42722
|
for (let J = 0; J < 19; J++) {
|
|
42723
42723
|
const kt = Mt[J];
|
|
42724
|
-
K.push([
|
|
42724
|
+
K.push([ft[J][0] + wt[J][0] * kt, ft[J][1] + wt[J][1] * kt, ft[J][2]]), st.push([ft[J][0] - wt[J][0] * kt, ft[J][1] - wt[J][1] * kt, ft[J][2]]);
|
|
42725
42725
|
}
|
|
42726
42726
|
this.setPoints3D([
|
|
42727
42727
|
K[0],
|
|
@@ -42914,7 +42914,7 @@ class tf extends W {
|
|
|
42914
42914
|
});
|
|
42915
42915
|
}
|
|
42916
42916
|
}
|
|
42917
|
-
class Rh extends
|
|
42917
|
+
class Rh extends Ht {
|
|
42918
42918
|
_brace;
|
|
42919
42919
|
_label;
|
|
42920
42920
|
_labelBuff;
|
|
@@ -43124,8 +43124,8 @@ function Fs(i) {
|
|
|
43124
43124
|
function D4(i, t, e, s, r, n, o, a, h) {
|
|
43125
43125
|
const l = [];
|
|
43126
43126
|
if (r === 0 || n === 0 || i === e && t === s) {
|
|
43127
|
-
const B = i + (e - i) / 3,
|
|
43128
|
-
return [[B,
|
|
43127
|
+
const B = i + (e - i) / 3, H = t + (s - t) / 3, U = i + (e - i) * 2 / 3, V = t + (s - t) * 2 / 3;
|
|
43128
|
+
return [[B, H], [U, V], [e, s]];
|
|
43129
43129
|
}
|
|
43130
43130
|
const c = Math.cos(o), u = Math.sin(o), d = (i - e) / 2, f = (t - s) / 2, p = c * d + u * f, m = -u * d + c * f;
|
|
43131
43131
|
r = Math.abs(r), n = Math.abs(n);
|
|
@@ -43147,8 +43147,8 @@ function D4(i, t, e, s, r, n, o, a, h) {
|
|
|
43147
43147
|
h === 0 && O > 0 ? O -= 2 * Math.PI : h === 1 && O < 0 && (O += 2 * Math.PI);
|
|
43148
43148
|
const F = Math.max(1, Math.ceil(Math.abs(O) / (Math.PI / 2))), z = O / F;
|
|
43149
43149
|
for (let B = 0; B < F; B++) {
|
|
43150
|
-
const
|
|
43151
|
-
l.push([st, J], [kt, It], [
|
|
43150
|
+
const H = R + B * z, U = H + z, V = Math.sin(z) * (Math.sqrt(4 + 3 * Math.tan(z / 2) ** 2) - 1) / 3, $ = Math.cos(H), nt = Math.sin(H), ot = Math.cos(U), it = Math.sin(U), lt = C + r * c * $ - n * u * nt, rt = P + r * u * $ + n * c * nt, mt = C + r * c * ot - n * u * it, ft = P + r * u * ot + n * c * it, at = -r * c * nt - n * u * $, Mt = -r * u * nt + n * c * $, wt = -r * c * it - n * u * ot, K = -r * u * it + n * c * ot, st = lt + V * at, J = rt + V * Mt, kt = mt - V * wt, It = ft - V * K;
|
|
43151
|
+
l.push([st, J], [kt, It], [mt, ft]);
|
|
43152
43152
|
}
|
|
43153
43153
|
return l;
|
|
43154
43154
|
}
|
|
@@ -43342,7 +43342,7 @@ class Dh extends vt {
|
|
|
43342
43342
|
});
|
|
43343
43343
|
}
|
|
43344
43344
|
}
|
|
43345
|
-
function
|
|
43345
|
+
function G5(i, t) {
|
|
43346
43346
|
return new Dh({ ...t, svgString: i });
|
|
43347
43347
|
}
|
|
43348
43348
|
function O4(i, t, e, s) {
|
|
@@ -43472,7 +43472,7 @@ function E4(i, t, e, s, r, n) {
|
|
|
43472
43472
|
const F = d.get(y) - 1;
|
|
43473
43473
|
let z = w;
|
|
43474
43474
|
for (const B of O) {
|
|
43475
|
-
const
|
|
43475
|
+
const H = d.get(B), U = (k - w) * H / F;
|
|
43476
43476
|
g(B, z, z + U), z += U;
|
|
43477
43477
|
}
|
|
43478
43478
|
}
|
|
@@ -44030,7 +44030,7 @@ class Oh extends so {
|
|
|
44030
44030
|
});
|
|
44031
44031
|
}
|
|
44032
44032
|
}
|
|
44033
|
-
function
|
|
44033
|
+
function V5(i, t = {}) {
|
|
44034
44034
|
const e = Array.from({ length: i }, (r, n) => n), s = [];
|
|
44035
44035
|
for (let r = 0; r < i; r++)
|
|
44036
44036
|
for (let n = r + 1; n < i; n++)
|
|
@@ -44042,7 +44042,7 @@ function j5(i, t = {}) {
|
|
|
44042
44042
|
...t
|
|
44043
44043
|
});
|
|
44044
44044
|
}
|
|
44045
|
-
function
|
|
44045
|
+
function H5(i, t = {}) {
|
|
44046
44046
|
const e = Array.from({ length: i }, (r, n) => n), s = e.map((r, n) => [r, e[(n + 1) % i]]);
|
|
44047
44047
|
return new Qs({
|
|
44048
44048
|
vertices: e,
|
|
@@ -44051,7 +44051,7 @@ function U5(i, t = {}) {
|
|
|
44051
44051
|
...t
|
|
44052
44052
|
});
|
|
44053
44053
|
}
|
|
44054
|
-
function
|
|
44054
|
+
function q5(i, t = {}) {
|
|
44055
44055
|
const e = Array.from({ length: i }, (r, n) => n), s = [];
|
|
44056
44056
|
for (let r = 0; r < i - 1; r++)
|
|
44057
44057
|
s.push([r, r + 1]);
|
|
@@ -44067,7 +44067,7 @@ function N5(i, t = {}) {
|
|
|
44067
44067
|
...t
|
|
44068
44068
|
});
|
|
44069
44069
|
}
|
|
44070
|
-
function
|
|
44070
|
+
function X5(i, t = {}) {
|
|
44071
44071
|
const s = [0, ...Array.from({ length: i }, (n, o) => o + 1)], r = s.slice(1).map((n) => [0, n]);
|
|
44072
44072
|
return new Qs({
|
|
44073
44073
|
vertices: s,
|
|
@@ -44076,7 +44076,7 @@ function G5(i, t = {}) {
|
|
|
44076
44076
|
...t
|
|
44077
44077
|
});
|
|
44078
44078
|
}
|
|
44079
|
-
function
|
|
44079
|
+
function Y5(i, t = {}) {
|
|
44080
44080
|
const e = [], s = [], r = Math.pow(2, i + 1) - 1;
|
|
44081
44081
|
for (let n = 0; n < r; n++)
|
|
44082
44082
|
e.push(n);
|
|
@@ -44091,7 +44091,7 @@ function H5(i, t = {}) {
|
|
|
44091
44091
|
...t
|
|
44092
44092
|
});
|
|
44093
44093
|
}
|
|
44094
|
-
function
|
|
44094
|
+
function $5(i, t, e = {}) {
|
|
44095
44095
|
const s = [], r = [], n = /* @__PURE__ */ new Map();
|
|
44096
44096
|
for (let o = 0; o < i; o++)
|
|
44097
44097
|
for (let a = 0; a < t; a++) {
|
|
@@ -44105,7 +44105,7 @@ function V5(i, t, e = {}) {
|
|
|
44105
44105
|
...e
|
|
44106
44106
|
});
|
|
44107
44107
|
}
|
|
44108
|
-
function
|
|
44108
|
+
function Z5(i, t, e, s = {}) {
|
|
44109
44109
|
const r = Array.from({ length: i }, (h, l) => `L${l}`), n = Array.from({ length: t }, (h, l) => `R${l}`), o = [...r, ...n], a = e ?? [];
|
|
44110
44110
|
if (!e)
|
|
44111
44111
|
for (const h of r)
|
|
@@ -44501,7 +44501,7 @@ class Fh extends me {
|
|
|
44501
44501
|
fillOpacity: s = 1,
|
|
44502
44502
|
strokeWidth: r = 0,
|
|
44503
44503
|
strokeColor: n,
|
|
44504
|
-
frameWidth: o =
|
|
44504
|
+
frameWidth: o = Hf,
|
|
44505
44505
|
frameHeight: a = qf,
|
|
44506
44506
|
center: h = [0, 0, 0]
|
|
44507
44507
|
} = t;
|
|
@@ -44605,10 +44605,10 @@ class io extends Fh {
|
|
|
44605
44605
|
});
|
|
44606
44606
|
}
|
|
44607
44607
|
}
|
|
44608
|
-
function
|
|
44608
|
+
function K5(i = {}) {
|
|
44609
44609
|
return new io({ ...i, color: er });
|
|
44610
44610
|
}
|
|
44611
|
-
function
|
|
44611
|
+
function Q5(i = {}) {
|
|
44612
44612
|
return new io({ ...i, color: bt });
|
|
44613
44613
|
}
|
|
44614
44614
|
class Cr extends St {
|
|
@@ -45334,7 +45334,7 @@ class lf extends St {
|
|
|
45334
45334
|
this._material && (this._material.dispose(), this._material = null), this._threeObject instanceof S.Mesh && this._threeObject.geometry.dispose();
|
|
45335
45335
|
}
|
|
45336
45336
|
}
|
|
45337
|
-
const ai = 12,
|
|
45337
|
+
const ai = 12, V4 = (
|
|
45338
45338
|
/* glsl */
|
|
45339
45339
|
`
|
|
45340
45340
|
varying vec2 vUv;
|
|
@@ -45343,7 +45343,7 @@ const ai = 12, H4 = (
|
|
|
45343
45343
|
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
|
45344
45344
|
}
|
|
45345
45345
|
`
|
|
45346
|
-
),
|
|
45346
|
+
), H4 = (
|
|
45347
45347
|
/* glsl */
|
|
45348
45348
|
`
|
|
45349
45349
|
precision highp float;
|
|
@@ -45526,8 +45526,8 @@ class cf extends St {
|
|
|
45526
45526
|
u_saturation: { value: this._saturation },
|
|
45527
45527
|
u_lightness: { value: this._lightness }
|
|
45528
45528
|
},
|
|
45529
|
-
vertexShader:
|
|
45530
|
-
fragmentShader:
|
|
45529
|
+
vertexShader: V4,
|
|
45530
|
+
fragmentShader: H4,
|
|
45531
45531
|
transparent: this._opacity < 1,
|
|
45532
45532
|
side: S.DoubleSide
|
|
45533
45533
|
}), new S.Mesh(t, this._material);
|
|
@@ -46115,7 +46115,7 @@ class Eh extends vt {
|
|
|
46115
46115
|
} = t;
|
|
46116
46116
|
if (e < 1 || e > 6 || !Number.isInteger(e))
|
|
46117
46117
|
throw new Error(`DiceFace value must be an integer from 1 to 6. Got: ${e}`);
|
|
46118
|
-
this._value = e, this._size = s, this._dotColor = r, this._backgroundColor = n, this._cornerRadius = o, this._strokeColor = a, this._faceStrokeWidth = h, this._dotRadius = l ?? s * 0.08, this._faceCenter = [...c], this._background = new
|
|
46118
|
+
this._value = e, this._size = s, this._dotColor = r, this._backgroundColor = n, this._cornerRadius = o, this._strokeColor = a, this._faceStrokeWidth = h, this._dotRadius = l ?? s * 0.08, this._faceCenter = [...c], this._background = new Ha({
|
|
46119
46119
|
width: s,
|
|
46120
46120
|
height: s,
|
|
46121
46121
|
cornerRadius: o,
|
|
@@ -46229,7 +46229,7 @@ class Eh extends vt {
|
|
|
46229
46229
|
});
|
|
46230
46230
|
}
|
|
46231
46231
|
}
|
|
46232
|
-
function
|
|
46232
|
+
function J5(i = {}, t = 0.3) {
|
|
46233
46233
|
const e = i.size ?? 1.5, s = [];
|
|
46234
46234
|
for (let n = 1; n <= 6; n++) {
|
|
46235
46235
|
const o = (n - 3.5) * (e + t);
|
|
@@ -46394,7 +46394,7 @@ class Ic extends l0 {
|
|
|
46394
46394
|
return this._segments.length;
|
|
46395
46395
|
}
|
|
46396
46396
|
}
|
|
46397
|
-
class X4 extends
|
|
46397
|
+
class X4 extends dt {
|
|
46398
46398
|
constructor(t) {
|
|
46399
46399
|
super(oi.instance, { duration: t });
|
|
46400
46400
|
}
|
|
@@ -46419,7 +46419,7 @@ class oi extends St {
|
|
|
46419
46419
|
return new S.Object3D();
|
|
46420
46420
|
}
|
|
46421
46421
|
}
|
|
46422
|
-
class Y4 extends
|
|
46422
|
+
class Y4 extends dt {
|
|
46423
46423
|
_shift;
|
|
46424
46424
|
_startX = 0;
|
|
46425
46425
|
_startY = 0;
|
|
@@ -46453,10 +46453,10 @@ class Y4 extends _t {
|
|
|
46453
46453
|
this.mobject.opacity = 1, this._shift && this.mobject.position.set(this._targetX, this._targetY, this._targetZ), super.finish();
|
|
46454
46454
|
}
|
|
46455
46455
|
}
|
|
46456
|
-
function
|
|
46456
|
+
function t6(i, t) {
|
|
46457
46457
|
return new Y4(i, t);
|
|
46458
46458
|
}
|
|
46459
|
-
class $4 extends
|
|
46459
|
+
class $4 extends dt {
|
|
46460
46460
|
_initialOpacity = 1;
|
|
46461
46461
|
_shift;
|
|
46462
46462
|
_startX = 0;
|
|
@@ -46491,7 +46491,7 @@ class $4 extends _t {
|
|
|
46491
46491
|
this.mobject.opacity = 0, this._shift && this.mobject.position.set(this._endX, this._endY, this._endZ), super.finish();
|
|
46492
46492
|
}
|
|
46493
46493
|
}
|
|
46494
|
-
function
|
|
46494
|
+
function e6(i, t) {
|
|
46495
46495
|
return new $4(i, t);
|
|
46496
46496
|
}
|
|
46497
46497
|
function Ai(i) {
|
|
@@ -46502,7 +46502,7 @@ function Ai(i) {
|
|
|
46502
46502
|
}
|
|
46503
46503
|
return 1;
|
|
46504
46504
|
}
|
|
46505
|
-
class Z4 extends
|
|
46505
|
+
class Z4 extends dt {
|
|
46506
46506
|
/** Whether to use dash-based reveal (needs Line2 children) */
|
|
46507
46507
|
_useDashReveal = !1;
|
|
46508
46508
|
/** Whether the mobject has fill that needs to be animated */
|
|
@@ -46526,7 +46526,7 @@ class Z4 extends _t {
|
|
|
46526
46526
|
_hasLine2Children() {
|
|
46527
46527
|
let t = !1;
|
|
46528
46528
|
return this.mobject.getThreeObject().traverse((e) => {
|
|
46529
|
-
e instanceof
|
|
46529
|
+
e instanceof gt && (t = !0);
|
|
46530
46530
|
}), t;
|
|
46531
46531
|
}
|
|
46532
46532
|
/**
|
|
@@ -46539,7 +46539,7 @@ class Z4 extends _t {
|
|
|
46539
46539
|
if (super.begin(), this._useDashReveal = this.mobject instanceof W && this._hasLine2Children(), this._useDashReveal) {
|
|
46540
46540
|
const t = this.mobject;
|
|
46541
46541
|
this._originalFillOpacity = t.fillOpacity, this._hasFill = this._originalFillOpacity > 0, this._hasFill && t.setFillOpacity(0), this._line2Children = [], this._line2TotalLengths = [], this.mobject.getThreeObject().traverse((s) => {
|
|
46542
|
-
if (s instanceof
|
|
46542
|
+
if (s instanceof gt) {
|
|
46543
46543
|
const r = s.material;
|
|
46544
46544
|
r.dashed = !0, r.dashScale = 1, s.computeLineDistances();
|
|
46545
46545
|
const n = Ai(s);
|
|
@@ -46553,7 +46553,7 @@ class Z4 extends _t {
|
|
|
46553
46553
|
* Recursively collect original opacities of a mobject and all descendants.
|
|
46554
46554
|
*/
|
|
46555
46555
|
_collectOpacities(t) {
|
|
46556
|
-
if (this._savedOpacities.push([t, t.opacity]), t instanceof
|
|
46556
|
+
if (this._savedOpacities.push([t, t.opacity]), t instanceof Ht)
|
|
46557
46557
|
for (const e of t.children)
|
|
46558
46558
|
this._collectOpacities(e);
|
|
46559
46559
|
}
|
|
@@ -46622,10 +46622,10 @@ class Z4 extends _t {
|
|
|
46622
46622
|
super.finish();
|
|
46623
46623
|
}
|
|
46624
46624
|
}
|
|
46625
|
-
function
|
|
46625
|
+
function s6(i, t) {
|
|
46626
46626
|
return new Z4(i, t);
|
|
46627
46627
|
}
|
|
46628
|
-
class K4 extends
|
|
46628
|
+
class K4 extends dt {
|
|
46629
46629
|
/** Whether to use dash-based reveal */
|
|
46630
46630
|
_useDashReveal = !1;
|
|
46631
46631
|
/** Total path length for dash-based reveal */
|
|
@@ -46638,14 +46638,14 @@ class K4 extends _t {
|
|
|
46638
46638
|
_hasLine2Children() {
|
|
46639
46639
|
let t = !1;
|
|
46640
46640
|
return this.mobject.getThreeObject().traverse((e) => {
|
|
46641
|
-
e instanceof
|
|
46641
|
+
e instanceof gt && (t = !0);
|
|
46642
46642
|
}), t;
|
|
46643
46643
|
}
|
|
46644
46644
|
begin() {
|
|
46645
46645
|
if (super.begin(), this._useDashReveal = this.mobject instanceof W && this._hasLine2Children(), this._useDashReveal) {
|
|
46646
46646
|
const t = this.mobject;
|
|
46647
46647
|
this._originalFillOpacity = t.fillOpacity, t.setFillOpacity(0), this.mobject.getThreeObject().traverse((s) => {
|
|
46648
|
-
if (s instanceof
|
|
46648
|
+
if (s instanceof gt) {
|
|
46649
46649
|
const r = s.material;
|
|
46650
46650
|
r.dashed = !0, r.dashScale = 1, s.computeLineDistances(), this._totalLength = Ai(s), r.dashSize = 0, r.gapSize = this._totalLength, r.needsUpdate = !0;
|
|
46651
46651
|
}
|
|
@@ -46658,7 +46658,7 @@ class K4 extends _t {
|
|
|
46658
46658
|
if (t < 0.5) {
|
|
46659
46659
|
const s = t * 2;
|
|
46660
46660
|
this.mobject.getThreeObject().traverse((n) => {
|
|
46661
|
-
if (n instanceof
|
|
46661
|
+
if (n instanceof gt) {
|
|
46662
46662
|
const o = n.material, a = s * this._totalLength;
|
|
46663
46663
|
o.dashSize = a, o.gapSize = this._totalLength - a + 1e-4, o.needsUpdate = !0;
|
|
46664
46664
|
}
|
|
@@ -46666,7 +46666,7 @@ class K4 extends _t {
|
|
|
46666
46666
|
} else {
|
|
46667
46667
|
const s = (t - 0.5) * 2;
|
|
46668
46668
|
e.setFillOpacity(this._originalFillOpacity * s), this.mobject.getThreeObject().traverse((n) => {
|
|
46669
|
-
if (n instanceof
|
|
46669
|
+
if (n instanceof gt) {
|
|
46670
46670
|
const o = n.material;
|
|
46671
46671
|
o.dashed && (o.dashed = !1, o.needsUpdate = !0);
|
|
46672
46672
|
}
|
|
@@ -46676,17 +46676,17 @@ class K4 extends _t {
|
|
|
46676
46676
|
}
|
|
46677
46677
|
finish() {
|
|
46678
46678
|
this._useDashReveal && (this.mobject.setFillOpacity(this._originalFillOpacity), this.mobject.getThreeObject().traverse((s) => {
|
|
46679
|
-
if (s instanceof
|
|
46679
|
+
if (s instanceof gt) {
|
|
46680
46680
|
const r = s.material;
|
|
46681
46681
|
r.dashed = !1, r.needsUpdate = !0;
|
|
46682
46682
|
}
|
|
46683
46683
|
})), super.finish();
|
|
46684
46684
|
}
|
|
46685
46685
|
}
|
|
46686
|
-
function
|
|
46686
|
+
function i6(i, t) {
|
|
46687
46687
|
return new K4(i, t);
|
|
46688
46688
|
}
|
|
46689
|
-
class Q4 extends
|
|
46689
|
+
class Q4 extends dt {
|
|
46690
46690
|
/** Total path length for dash-based reveal */
|
|
46691
46691
|
_totalLength = 0;
|
|
46692
46692
|
/** Whether to use dash-based reveal */
|
|
@@ -46697,12 +46697,12 @@ class Q4 extends _t {
|
|
|
46697
46697
|
_hasLine2Children() {
|
|
46698
46698
|
let t = !1;
|
|
46699
46699
|
return this.mobject.getThreeObject().traverse((e) => {
|
|
46700
|
-
e instanceof
|
|
46700
|
+
e instanceof gt && (t = !0);
|
|
46701
46701
|
}), t;
|
|
46702
46702
|
}
|
|
46703
46703
|
begin() {
|
|
46704
46704
|
super.begin(), this._useDashReveal = this.mobject instanceof W && this._hasLine2Children(), this._useDashReveal && this.mobject.getThreeObject().traverse((e) => {
|
|
46705
|
-
if (e instanceof
|
|
46705
|
+
if (e instanceof gt) {
|
|
46706
46706
|
const s = e.material;
|
|
46707
46707
|
s.dashed = !0, s.dashScale = 1, e.computeLineDistances(), this._totalLength = Ai(e), s.dashSize = this._totalLength, s.gapSize = 0, s.needsUpdate = !0;
|
|
46708
46708
|
}
|
|
@@ -46710,7 +46710,7 @@ class Q4 extends _t {
|
|
|
46710
46710
|
}
|
|
46711
46711
|
interpolate(t) {
|
|
46712
46712
|
this._useDashReveal ? this.mobject.getThreeObject().traverse((s) => {
|
|
46713
|
-
if (s instanceof
|
|
46713
|
+
if (s instanceof gt) {
|
|
46714
46714
|
const r = s.material, n = (1 - t) * this._totalLength;
|
|
46715
46715
|
r.dashSize = n, r.gapSize = this._totalLength - n + 1e-4, r.needsUpdate = !0;
|
|
46716
46716
|
}
|
|
@@ -46718,17 +46718,17 @@ class Q4 extends _t {
|
|
|
46718
46718
|
}
|
|
46719
46719
|
finish() {
|
|
46720
46720
|
this._useDashReveal ? this.mobject.getThreeObject().traverse((e) => {
|
|
46721
|
-
if (e instanceof
|
|
46721
|
+
if (e instanceof gt) {
|
|
46722
46722
|
const s = e.material;
|
|
46723
46723
|
s.dashSize = 0, s.gapSize = this._totalLength, s.needsUpdate = !0;
|
|
46724
46724
|
}
|
|
46725
46725
|
}) : this.mobject.setOpacity(0), super.finish();
|
|
46726
46726
|
}
|
|
46727
46727
|
}
|
|
46728
|
-
function
|
|
46728
|
+
function r6(i, t) {
|
|
46729
46729
|
return new Q4(i, t);
|
|
46730
46730
|
}
|
|
46731
|
-
class df extends
|
|
46731
|
+
class df extends dt {
|
|
46732
46732
|
lagRatio;
|
|
46733
46733
|
_reverse;
|
|
46734
46734
|
_remover;
|
|
@@ -46756,7 +46756,7 @@ class df extends _t {
|
|
|
46756
46756
|
_hasLine2Children() {
|
|
46757
46757
|
let t = !1;
|
|
46758
46758
|
return this.mobject.getThreeObject().traverse((e) => {
|
|
46759
|
-
e instanceof
|
|
46759
|
+
e instanceof gt && (t = !0);
|
|
46760
46760
|
}), t;
|
|
46761
46761
|
}
|
|
46762
46762
|
begin() {
|
|
@@ -46772,7 +46772,7 @@ class df extends _t {
|
|
|
46772
46772
|
return;
|
|
46773
46773
|
}
|
|
46774
46774
|
this._useDashReveal = this.mobject instanceof W && this._hasLine2Children(), this._useDashReveal ? this.mobject.getThreeObject().traverse((e) => {
|
|
46775
|
-
if (e instanceof
|
|
46775
|
+
if (e instanceof gt) {
|
|
46776
46776
|
const s = e.material;
|
|
46777
46777
|
s.dashed = !0, s.dashScale = 1, e.computeLineDistances(), this._totalLength = Ai(e), this._reverse ? (s.dashSize = this._totalLength, s.gapSize = 0) : (s.dashSize = 0, s.gapSize = this._totalLength), s.needsUpdate = !0;
|
|
46778
46778
|
}
|
|
@@ -46809,7 +46809,7 @@ class df extends _t {
|
|
|
46809
46809
|
s.add(d);
|
|
46810
46810
|
let f = 1;
|
|
46811
46811
|
d.traverse((p) => {
|
|
46812
|
-
if (p instanceof
|
|
46812
|
+
if (p instanceof gt) {
|
|
46813
46813
|
const m = p.material;
|
|
46814
46814
|
m.dashed = !0, m.dashScale = 1, p.computeLineDistances(), f = Ai(p), m.dashSize = 0, m.gapSize = f, m.needsUpdate = !0;
|
|
46815
46815
|
}
|
|
@@ -46818,7 +46818,7 @@ class df extends _t {
|
|
|
46818
46818
|
this._skeletonVMobs.push(null), this._skeletonTotalLengths.push(0);
|
|
46819
46819
|
let u = 1;
|
|
46820
46820
|
h.traverse((d) => {
|
|
46821
|
-
if (d instanceof
|
|
46821
|
+
if (d instanceof gt) {
|
|
46822
46822
|
const f = d.material;
|
|
46823
46823
|
f.dashed = !0, f.dashScale = 1, d.computeLineDistances(), u = Ai(d), f.dashSize = 0, f.gapSize = u, f.needsUpdate = !0;
|
|
46824
46824
|
}
|
|
@@ -46829,7 +46829,7 @@ class df extends _t {
|
|
|
46829
46829
|
interpolate(t) {
|
|
46830
46830
|
const e = this._reverse ? 1 - t : t;
|
|
46831
46831
|
this._useGlyphStroke ? this._interpolateGlyphStroke(e) : this._useRevealProgress ? this.mobject.setRevealProgress(e) : this._useDashReveal ? this.mobject.getThreeObject().traverse((r) => {
|
|
46832
|
-
if (r instanceof
|
|
46832
|
+
if (r instanceof gt) {
|
|
46833
46833
|
const n = r.material, o = e * this._totalLength;
|
|
46834
46834
|
n.dashSize = o, n.gapSize = this._totalLength - o + 1e-4, n.needsUpdate = !0;
|
|
46835
46835
|
}
|
|
@@ -46856,7 +46856,7 @@ class df extends _t {
|
|
|
46856
46856
|
if (u) {
|
|
46857
46857
|
const d = this._skeletonTotalLengths[a] || 1;
|
|
46858
46858
|
u.getThreeObject().traverse((p) => {
|
|
46859
|
-
if (p instanceof
|
|
46859
|
+
if (p instanceof gt) {
|
|
46860
46860
|
const m = p.material, g = c * d;
|
|
46861
46861
|
m.dashSize = g, m.gapSize = d - g + 1e-4, m.needsUpdate = !0;
|
|
46862
46862
|
}
|
|
@@ -46864,7 +46864,7 @@ class df extends _t {
|
|
|
46864
46864
|
} else {
|
|
46865
46865
|
const d = this._glyphTotalLengths[a] || 1;
|
|
46866
46866
|
s[a].getThreeObject().traverse((m) => {
|
|
46867
|
-
if (m instanceof
|
|
46867
|
+
if (m instanceof gt) {
|
|
46868
46868
|
const g = m.material, _ = c * d;
|
|
46869
46869
|
g.dashSize = _, g.gapSize = d - _ + 1e-4, g.needsUpdate = !0;
|
|
46870
46870
|
}
|
|
@@ -46879,7 +46879,7 @@ class df extends _t {
|
|
|
46879
46879
|
if (h) {
|
|
46880
46880
|
const l = this._skeletonTotalLengths[a] || 1;
|
|
46881
46881
|
h.getThreeObject().traverse((u) => {
|
|
46882
|
-
if (u instanceof
|
|
46882
|
+
if (u instanceof gt) {
|
|
46883
46883
|
const d = u.material;
|
|
46884
46884
|
d.dashSize = l, d.gapSize = 1e-4, d.opacity = 1 - o, d.needsUpdate = !0;
|
|
46885
46885
|
}
|
|
@@ -46887,7 +46887,7 @@ class df extends _t {
|
|
|
46887
46887
|
} else {
|
|
46888
46888
|
const l = this._glyphTotalLengths[a] || 1;
|
|
46889
46889
|
s[a].getThreeObject().traverse((d) => {
|
|
46890
|
-
if (d instanceof
|
|
46890
|
+
if (d instanceof gt) {
|
|
46891
46891
|
const f = d.material;
|
|
46892
46892
|
f.dashSize = l, f.gapSize = 1e-4, f.opacity = 1 - o, f.needsUpdate = !0;
|
|
46893
46893
|
}
|
|
@@ -46911,12 +46911,12 @@ class df extends _t {
|
|
|
46911
46911
|
return;
|
|
46912
46912
|
}
|
|
46913
46913
|
this._remover ? (this._useDashReveal && this.mobject.getThreeObject().traverse((e) => {
|
|
46914
|
-
if (e instanceof
|
|
46914
|
+
if (e instanceof gt) {
|
|
46915
46915
|
const s = e.material;
|
|
46916
46916
|
s.dashSize = 0, s.gapSize = this._totalLength, s.needsUpdate = !0;
|
|
46917
46917
|
}
|
|
46918
46918
|
}), this.mobject.setOpacity(0)) : (this._useDashReveal && this.mobject.getThreeObject().traverse((e) => {
|
|
46919
|
-
if (e instanceof
|
|
46919
|
+
if (e instanceof gt) {
|
|
46920
46920
|
const s = e.material;
|
|
46921
46921
|
s.dashed = !1, s.needsUpdate = !0;
|
|
46922
46922
|
}
|
|
@@ -46948,7 +46948,7 @@ class df extends _t {
|
|
|
46948
46948
|
this._skeletonVMobs = [], this._skeletonTotalLengths = [], this._parentThreeObj && this._parentThreeObj.remove(e);
|
|
46949
46949
|
for (const s of t.children)
|
|
46950
46950
|
s.getThreeObject().traverse((r) => {
|
|
46951
|
-
if (r instanceof
|
|
46951
|
+
if (r instanceof gt) {
|
|
46952
46952
|
const n = r.material;
|
|
46953
46953
|
n.dashed = !1, n.needsUpdate = !0;
|
|
46954
46954
|
}
|
|
@@ -46956,7 +46956,7 @@ class df extends _t {
|
|
|
46956
46956
|
this._glyphGroup = null, this._textMesh = null, this._parentThreeObj = null;
|
|
46957
46957
|
}
|
|
46958
46958
|
}
|
|
46959
|
-
function
|
|
46959
|
+
function n6(i, t) {
|
|
46960
46960
|
return new df(i, t);
|
|
46961
46961
|
}
|
|
46962
46962
|
class J4 extends df {
|
|
@@ -46964,10 +46964,10 @@ class J4 extends df {
|
|
|
46964
46964
|
super(t, { ...e, reverse: !0, remover: !0 });
|
|
46965
46965
|
}
|
|
46966
46966
|
}
|
|
46967
|
-
function
|
|
46967
|
+
function o6(i, t) {
|
|
46968
46968
|
return new J4(i, t);
|
|
46969
46969
|
}
|
|
46970
|
-
class tb extends
|
|
46970
|
+
class tb extends dt {
|
|
46971
46971
|
/** Time per character for duration calculation */
|
|
46972
46972
|
timePerChar;
|
|
46973
46973
|
_fullText = "";
|
|
@@ -46988,10 +46988,10 @@ class tb extends _t {
|
|
|
46988
46988
|
"setText" in this.mobject && typeof this.mobject.setText == "function" && this._fullText && this.mobject.setText(this._fullText), super.finish();
|
|
46989
46989
|
}
|
|
46990
46990
|
}
|
|
46991
|
-
function
|
|
46991
|
+
function a6(i, t) {
|
|
46992
46992
|
return new tb(i, t);
|
|
46993
46993
|
}
|
|
46994
|
-
class eb extends
|
|
46994
|
+
class eb extends dt {
|
|
46995
46995
|
/** Time per character for duration calculation */
|
|
46996
46996
|
timePerChar;
|
|
46997
46997
|
_fullText = "";
|
|
@@ -47014,10 +47014,10 @@ class eb extends _t {
|
|
|
47014
47014
|
"setText" in this.mobject && typeof this.mobject.setText == "function" && this.mobject.setText(""), super.finish();
|
|
47015
47015
|
}
|
|
47016
47016
|
}
|
|
47017
|
-
function
|
|
47017
|
+
function h6(i, t) {
|
|
47018
47018
|
return new eb(i, t);
|
|
47019
47019
|
}
|
|
47020
|
-
class ro extends
|
|
47020
|
+
class ro extends dt {
|
|
47021
47021
|
/** The target mobject to transform into */
|
|
47022
47022
|
target;
|
|
47023
47023
|
/** Copy of the starting points (point morphing mode) */
|
|
@@ -47135,7 +47135,7 @@ class ro extends _t {
|
|
|
47135
47135
|
t.setPoints(this._targetPoints), t.opacity = this._targetOpacity, t.fillOpacity = this._targetFillOpacity, t.strokeWidth = this._targetStrokeWidth, t.color = this.target.color, this._interpolateFillColor && (t.fillColor = e.fillColor || e.color), t.position.copy(this._targetPosition), t.rotation.copy(this._targetRotation), t.scaleVector.copy(this._targetScale), t._markDirty(), super.finish();
|
|
47136
47136
|
}
|
|
47137
47137
|
}
|
|
47138
|
-
function
|
|
47138
|
+
function l6(i, t, e) {
|
|
47139
47139
|
return new ro(i, t, e);
|
|
47140
47140
|
}
|
|
47141
47141
|
class sb extends ro {
|
|
@@ -47150,7 +47150,7 @@ class sb extends ro {
|
|
|
47150
47150
|
super.finish();
|
|
47151
47151
|
}
|
|
47152
47152
|
}
|
|
47153
|
-
function
|
|
47153
|
+
function c6(i, t, e) {
|
|
47154
47154
|
return new sb(i, t, e);
|
|
47155
47155
|
}
|
|
47156
47156
|
class ib extends ro {
|
|
@@ -47162,7 +47162,7 @@ class ib extends ro {
|
|
|
47162
47162
|
super(t, t.targetCopy, e);
|
|
47163
47163
|
}
|
|
47164
47164
|
}
|
|
47165
|
-
function
|
|
47165
|
+
function u6(i, t) {
|
|
47166
47166
|
return new ib(i, t);
|
|
47167
47167
|
}
|
|
47168
47168
|
function ff(i) {
|
|
@@ -47173,7 +47173,7 @@ function Pn(i) {
|
|
|
47173
47173
|
for (const t of i.getFamily())
|
|
47174
47174
|
t instanceof Zs ? t.reconstructTip() : t instanceof Ga && t.reconstructTips();
|
|
47175
47175
|
}
|
|
47176
|
-
class rb extends
|
|
47176
|
+
class rb extends dt {
|
|
47177
47177
|
func;
|
|
47178
47178
|
_snapshots = [];
|
|
47179
47179
|
constructor(t, e) {
|
|
@@ -47212,10 +47212,10 @@ class rb extends _t {
|
|
|
47212
47212
|
Pn(this.mobject), this.mobject._markDirtyUpward(), super.finish();
|
|
47213
47213
|
}
|
|
47214
47214
|
}
|
|
47215
|
-
function
|
|
47215
|
+
function d6(i, t, e) {
|
|
47216
47216
|
return new rb(i, { ...e, func: t });
|
|
47217
47217
|
}
|
|
47218
|
-
class nb extends
|
|
47218
|
+
class nb extends dt {
|
|
47219
47219
|
matrix;
|
|
47220
47220
|
aboutPoint;
|
|
47221
47221
|
_snapshots = [];
|
|
@@ -47267,10 +47267,10 @@ class nb extends _t {
|
|
|
47267
47267
|
Pn(this.mobject), this.mobject._markDirtyUpward(), super.finish();
|
|
47268
47268
|
}
|
|
47269
47269
|
}
|
|
47270
|
-
function
|
|
47270
|
+
function f6(i, t, e) {
|
|
47271
47271
|
return new nb(i, { ...e, matrix: t });
|
|
47272
47272
|
}
|
|
47273
|
-
class
|
|
47273
|
+
class p6 extends dt {
|
|
47274
47274
|
/** Scale factor */
|
|
47275
47275
|
scaleFactor;
|
|
47276
47276
|
/** Initial scale */
|
|
@@ -47311,10 +47311,10 @@ class ob extends ro {
|
|
|
47311
47311
|
super(t, t.savedState, e);
|
|
47312
47312
|
}
|
|
47313
47313
|
}
|
|
47314
|
-
function
|
|
47314
|
+
function m6(i, t) {
|
|
47315
47315
|
return new ob(i, t);
|
|
47316
47316
|
}
|
|
47317
|
-
class ab extends
|
|
47317
|
+
class ab extends dt {
|
|
47318
47318
|
/** Target color */
|
|
47319
47319
|
targetColor;
|
|
47320
47320
|
/** Starting color as THREE.Color */
|
|
@@ -47335,7 +47335,7 @@ class ab extends _t {
|
|
|
47335
47335
|
this.mobject.color = this.targetColor, this.mobject._markDirty(), super.finish();
|
|
47336
47336
|
}
|
|
47337
47337
|
}
|
|
47338
|
-
function
|
|
47338
|
+
function g6(i, t, e) {
|
|
47339
47339
|
return new ab(i, { ...e, color: t });
|
|
47340
47340
|
}
|
|
47341
47341
|
function hb(i) {
|
|
@@ -47390,7 +47390,7 @@ function lb(i, t, e, s, r, n, o) {
|
|
|
47390
47390
|
n[a] = n[c], a = c;
|
|
47391
47391
|
} while (a !== 0);
|
|
47392
47392
|
}
|
|
47393
|
-
function
|
|
47393
|
+
function _6(i, t = 0) {
|
|
47394
47394
|
const e = i.length;
|
|
47395
47395
|
if (e === 0)
|
|
47396
47396
|
return { assignments: [], totalCost: 0, assignedRows: /* @__PURE__ */ new Set(), assignedCols: /* @__PURE__ */ new Set() };
|
|
@@ -47420,7 +47420,7 @@ function cb(i) {
|
|
|
47420
47420
|
const t = i;
|
|
47421
47421
|
return typeof t.getPoints == "function" && typeof t.setPoints == "function";
|
|
47422
47422
|
}
|
|
47423
|
-
class ub extends
|
|
47423
|
+
class ub extends dt {
|
|
47424
47424
|
func;
|
|
47425
47425
|
_snapshots = [];
|
|
47426
47426
|
constructor(t, e, s) {
|
|
@@ -47459,10 +47459,10 @@ class ub extends _t {
|
|
|
47459
47459
|
this.mobject._markDirtyUpward(), super.finish();
|
|
47460
47460
|
}
|
|
47461
47461
|
}
|
|
47462
|
-
function
|
|
47462
|
+
function v6(i, t, e) {
|
|
47463
47463
|
return new ub(i, t, e);
|
|
47464
47464
|
}
|
|
47465
|
-
class db extends
|
|
47465
|
+
class db extends dt {
|
|
47466
47466
|
/** Angle to rotate in radians */
|
|
47467
47467
|
angle;
|
|
47468
47468
|
/** Axis of rotation */
|
|
@@ -47518,7 +47518,7 @@ class db extends _t {
|
|
|
47518
47518
|
this.interpolate(1), super.finish();
|
|
47519
47519
|
}
|
|
47520
47520
|
}
|
|
47521
|
-
function
|
|
47521
|
+
function y6(i, t, e) {
|
|
47522
47522
|
return new db(i, { ...e, angle: t });
|
|
47523
47523
|
}
|
|
47524
47524
|
function fb(i, t, e) {
|
|
@@ -47528,7 +47528,7 @@ function fb(i, t, e) {
|
|
|
47528
47528
|
i.z + (t.z - i.z) * e
|
|
47529
47529
|
);
|
|
47530
47530
|
}
|
|
47531
|
-
class pb extends
|
|
47531
|
+
class pb extends dt {
|
|
47532
47532
|
/** Scale factor */
|
|
47533
47533
|
scaleFactor;
|
|
47534
47534
|
/** Point to scale about */
|
|
@@ -47597,10 +47597,10 @@ class pb extends _t {
|
|
|
47597
47597
|
this.interpolate(1), super.finish();
|
|
47598
47598
|
}
|
|
47599
47599
|
}
|
|
47600
|
-
function
|
|
47600
|
+
function b6(i, t, e) {
|
|
47601
47601
|
return new pb(i, { ...e, scaleFactor: t });
|
|
47602
47602
|
}
|
|
47603
|
-
class mb extends
|
|
47603
|
+
class mb extends dt {
|
|
47604
47604
|
/** Initial scale to restore at begin */
|
|
47605
47605
|
_targetScale = new S.Vector3();
|
|
47606
47606
|
constructor(t, e = {}) {
|
|
@@ -47629,10 +47629,10 @@ class mb extends _t {
|
|
|
47629
47629
|
this.mobject.scaleVector.copy(this._targetScale), this.mobject._markDirty(), super.finish();
|
|
47630
47630
|
}
|
|
47631
47631
|
}
|
|
47632
|
-
function
|
|
47632
|
+
function x6(i, t) {
|
|
47633
47633
|
return new mb(i, t);
|
|
47634
47634
|
}
|
|
47635
|
-
class gb extends
|
|
47635
|
+
class gb extends dt {
|
|
47636
47636
|
/** Direction to shift */
|
|
47637
47637
|
direction;
|
|
47638
47638
|
/** Initial position */
|
|
@@ -47674,10 +47674,10 @@ class gb extends _t {
|
|
|
47674
47674
|
), this.mobject._markDirty(), super.finish();
|
|
47675
47675
|
}
|
|
47676
47676
|
}
|
|
47677
|
-
function
|
|
47677
|
+
function w6(i, t, e) {
|
|
47678
47678
|
return new gb(i, { ...e, direction: t });
|
|
47679
47679
|
}
|
|
47680
|
-
class _b extends
|
|
47680
|
+
class _b extends dt {
|
|
47681
47681
|
/** Initial position */
|
|
47682
47682
|
_initialPosition = new S.Vector3();
|
|
47683
47683
|
/** Target position */
|
|
@@ -47715,7 +47715,7 @@ class _b extends _t {
|
|
|
47715
47715
|
this.mobject.position.copy(this._targetPosition), this.mobject._markDirty(), super.finish();
|
|
47716
47716
|
}
|
|
47717
47717
|
}
|
|
47718
|
-
function
|
|
47718
|
+
function S6(i, t) {
|
|
47719
47719
|
return new _b(i, t);
|
|
47720
47720
|
}
|
|
47721
47721
|
function vb(i, t, e, s, r) {
|
|
@@ -47734,7 +47734,7 @@ function yb(i, t, e, s, r) {
|
|
|
47734
47734
|
3 * o * (t[2] - i[2]) + 6 * n * r * (e[2] - t[2]) + 3 * a * (s[2] - e[2])
|
|
47735
47735
|
];
|
|
47736
47736
|
}
|
|
47737
|
-
class bb extends
|
|
47737
|
+
class bb extends dt {
|
|
47738
47738
|
/** The path to follow */
|
|
47739
47739
|
path;
|
|
47740
47740
|
/** Whether to orient tangent to the path */
|
|
@@ -47803,7 +47803,7 @@ class bb extends _t {
|
|
|
47803
47803
|
this.interpolate(1), super.finish();
|
|
47804
47804
|
}
|
|
47805
47805
|
}
|
|
47806
|
-
function
|
|
47806
|
+
function M6(i, t, e) {
|
|
47807
47807
|
return new bb(i, { ...e, path: t });
|
|
47808
47808
|
}
|
|
47809
47809
|
function xb(i, t, e, s) {
|
|
@@ -47841,7 +47841,7 @@ function Wc(i, t, e, s = 100) {
|
|
|
47841
47841
|
}, 0, t, e, { numSteps: r });
|
|
47842
47842
|
return [o.y[0], o.y[1], o.y[2]];
|
|
47843
47843
|
}
|
|
47844
|
-
function
|
|
47844
|
+
function k6(i, t, e, s = 100) {
|
|
47845
47845
|
if (e === 0)
|
|
47846
47846
|
return [[...t]];
|
|
47847
47847
|
const r = Math.max(1, Math.ceil(Math.abs(e) * s));
|
|
@@ -47853,7 +47853,7 @@ function x6(i, t, e, s = 100) {
|
|
|
47853
47853
|
recordTrajectory: !0
|
|
47854
47854
|
}).trajectory.map(({ y: a }) => [a[0], a[1], a[2]]);
|
|
47855
47855
|
}
|
|
47856
|
-
class wb extends
|
|
47856
|
+
class wb extends dt {
|
|
47857
47857
|
/** The homotopy function */
|
|
47858
47858
|
homotopyFunc;
|
|
47859
47859
|
/** Original points stored at animation start */
|
|
@@ -47892,7 +47892,7 @@ class wb extends _t {
|
|
|
47892
47892
|
this.interpolate(1), super.finish();
|
|
47893
47893
|
}
|
|
47894
47894
|
}
|
|
47895
|
-
class Sb extends
|
|
47895
|
+
class Sb extends dt {
|
|
47896
47896
|
/** The complex homotopy function */
|
|
47897
47897
|
complexFunc;
|
|
47898
47898
|
/** Original points stored at animation start */
|
|
@@ -47931,7 +47931,7 @@ class Sb extends _t {
|
|
|
47931
47931
|
this.interpolate(1), super.finish();
|
|
47932
47932
|
}
|
|
47933
47933
|
}
|
|
47934
|
-
class Mb extends
|
|
47934
|
+
class Mb extends dt {
|
|
47935
47935
|
/** The homotopy function */
|
|
47936
47936
|
homotopyFunc;
|
|
47937
47937
|
/** Original points stored at animation start */
|
|
@@ -48022,7 +48022,7 @@ class Mb extends _t {
|
|
|
48022
48022
|
this.interpolate(1), super.finish();
|
|
48023
48023
|
}
|
|
48024
48024
|
}
|
|
48025
|
-
class kb extends
|
|
48025
|
+
class kb extends dt {
|
|
48026
48026
|
/** The vector field function */
|
|
48027
48027
|
vectorField;
|
|
48028
48028
|
/** Virtual time to flow through */
|
|
@@ -48090,25 +48090,164 @@ class kb extends _t {
|
|
|
48090
48090
|
this.interpolate(1), super.finish();
|
|
48091
48091
|
}
|
|
48092
48092
|
}
|
|
48093
|
-
function
|
|
48093
|
+
function T6(i, t, e) {
|
|
48094
48094
|
return new wb(i, { ...e, homotopyFunc: t });
|
|
48095
48095
|
}
|
|
48096
|
-
function
|
|
48096
|
+
function C6(i, t, e) {
|
|
48097
48097
|
return new Sb(i, { ...e, complexFunc: t });
|
|
48098
48098
|
}
|
|
48099
|
-
function
|
|
48099
|
+
function P6(i, t, e) {
|
|
48100
48100
|
return new Mb(i, { ...e, homotopyFunc: t });
|
|
48101
48101
|
}
|
|
48102
|
-
function
|
|
48102
|
+
function A6(i, t, e) {
|
|
48103
48103
|
return new kb(i, { ...e, vectorField: t });
|
|
48104
48104
|
}
|
|
48105
|
-
|
|
48105
|
+
class Tb extends dt {
|
|
48106
|
+
_targetScale = new S.Vector3();
|
|
48107
|
+
_startPoint = [0, 0, 0];
|
|
48108
|
+
_endPoint = [0, 0, 0];
|
|
48109
|
+
constructor(t, e = {}) {
|
|
48110
|
+
super(t, e);
|
|
48111
|
+
}
|
|
48112
|
+
begin() {
|
|
48113
|
+
super.begin();
|
|
48114
|
+
const t = this.mobject;
|
|
48115
|
+
this._targetScale.copy(t.scaleVector), this._startPoint = t.getStart(), this._endPoint = t.getEnd(), t.scaleVector.set(1e-3, 1e-3, 1e-3);
|
|
48116
|
+
const e = this._startPoint;
|
|
48117
|
+
t.position.set(e[0], e[1], e[2]);
|
|
48118
|
+
}
|
|
48119
|
+
interpolate(t) {
|
|
48120
|
+
const e = this.mobject, s = Math.max(1e-3, t);
|
|
48121
|
+
e.scaleVector.set(
|
|
48122
|
+
this._targetScale.x * s,
|
|
48123
|
+
this._targetScale.y * s,
|
|
48124
|
+
this._targetScale.z * s
|
|
48125
|
+
);
|
|
48126
|
+
const r = this._startPoint, n = this._endPoint, o = (r[0] + n[0]) / 2, a = (r[1] + n[1]) / 2, h = (r[2] + n[2]) / 2;
|
|
48127
|
+
e.position.set(
|
|
48128
|
+
r[0] + (o - r[0]) * t,
|
|
48129
|
+
r[1] + (a - r[1]) * t,
|
|
48130
|
+
r[2] + (h - r[2]) * t
|
|
48131
|
+
), e._markDirty();
|
|
48132
|
+
}
|
|
48133
|
+
finish() {
|
|
48134
|
+
const t = this.mobject;
|
|
48135
|
+
t.scaleVector.copy(this._targetScale);
|
|
48136
|
+
const e = this._startPoint, s = this._endPoint;
|
|
48137
|
+
t.position.set(
|
|
48138
|
+
(e[0] + s[0]) / 2,
|
|
48139
|
+
(e[1] + s[1]) / 2,
|
|
48140
|
+
(e[2] + s[2]) / 2
|
|
48141
|
+
), t._markDirty(), super.finish();
|
|
48142
|
+
}
|
|
48143
|
+
}
|
|
48144
|
+
function L6(i, t) {
|
|
48145
|
+
return new Tb(i, t);
|
|
48146
|
+
}
|
|
48147
|
+
class Cb extends dt {
|
|
48148
|
+
edge;
|
|
48149
|
+
_targetScale = new S.Vector3();
|
|
48150
|
+
_targetPosition = new S.Vector3();
|
|
48151
|
+
_edgePoint = new S.Vector3();
|
|
48152
|
+
constructor(t, e) {
|
|
48153
|
+
super(t, e), this.edge = e.edge;
|
|
48154
|
+
}
|
|
48155
|
+
begin() {
|
|
48156
|
+
super.begin(), this._targetScale.copy(this.mobject.scaleVector), this._targetPosition.copy(this.mobject.position);
|
|
48157
|
+
const t = this.mobject.getBounds(), e = this.edge;
|
|
48158
|
+
this._edgePoint.set(
|
|
48159
|
+
e[0] > 0 ? t.max.x : e[0] < 0 ? t.min.x : (t.min.x + t.max.x) / 2,
|
|
48160
|
+
e[1] > 0 ? t.max.y : e[1] < 0 ? t.min.y : (t.min.y + t.max.y) / 2,
|
|
48161
|
+
e[2] > 0 ? t.max.z : e[2] < 0 ? t.min.z : (t.min.z + t.max.z) / 2
|
|
48162
|
+
), this.mobject.scaleVector.set(1e-3, 1e-3, 1e-3);
|
|
48163
|
+
}
|
|
48164
|
+
interpolate(t) {
|
|
48165
|
+
const e = Math.max(1e-3, t);
|
|
48166
|
+
this.mobject.scaleVector.set(
|
|
48167
|
+
this._targetScale.x * e,
|
|
48168
|
+
this._targetScale.y * e,
|
|
48169
|
+
this._targetScale.z * e
|
|
48170
|
+
), this.mobject.position.set(
|
|
48171
|
+
this._edgePoint.x + (this._targetPosition.x - this._edgePoint.x) * t,
|
|
48172
|
+
this._edgePoint.y + (this._targetPosition.y - this._edgePoint.y) * t,
|
|
48173
|
+
this._edgePoint.z + (this._targetPosition.z - this._edgePoint.z) * t
|
|
48174
|
+
), this.mobject._markDirty();
|
|
48175
|
+
}
|
|
48176
|
+
finish() {
|
|
48177
|
+
this.mobject.scaleVector.copy(this._targetScale), this.mobject.position.copy(this._targetPosition), this.mobject._markDirty(), super.finish();
|
|
48178
|
+
}
|
|
48179
|
+
}
|
|
48180
|
+
function R6(i, t, e) {
|
|
48181
|
+
return new Cb(i, { ...e, edge: t });
|
|
48182
|
+
}
|
|
48183
|
+
class Pb extends dt {
|
|
48184
|
+
point;
|
|
48185
|
+
_targetScale = new S.Vector3();
|
|
48186
|
+
_targetPosition = new S.Vector3();
|
|
48187
|
+
_growPoint = new S.Vector3();
|
|
48188
|
+
constructor(t, e) {
|
|
48189
|
+
super(t, e), this.point = e.point;
|
|
48190
|
+
}
|
|
48191
|
+
begin() {
|
|
48192
|
+
super.begin(), this._targetScale.copy(this.mobject.scaleVector), this._targetPosition.copy(this.mobject.position), this._growPoint.set(this.point[0], this.point[1], this.point[2]), this.mobject.scaleVector.set(1e-3, 1e-3, 1e-3), this.mobject.position.copy(this._growPoint);
|
|
48193
|
+
}
|
|
48194
|
+
interpolate(t) {
|
|
48195
|
+
const e = Math.max(1e-3, t);
|
|
48196
|
+
this.mobject.scaleVector.set(
|
|
48197
|
+
this._targetScale.x * e,
|
|
48198
|
+
this._targetScale.y * e,
|
|
48199
|
+
this._targetScale.z * e
|
|
48200
|
+
), this.mobject.position.set(
|
|
48201
|
+
this._growPoint.x + (this._targetPosition.x - this._growPoint.x) * t,
|
|
48202
|
+
this._growPoint.y + (this._targetPosition.y - this._growPoint.y) * t,
|
|
48203
|
+
this._growPoint.z + (this._targetPosition.z - this._growPoint.z) * t
|
|
48204
|
+
), this.mobject._markDirty();
|
|
48205
|
+
}
|
|
48206
|
+
finish() {
|
|
48207
|
+
this.mobject.scaleVector.copy(this._targetScale), this.mobject.position.copy(this._targetPosition), this.mobject._markDirty(), super.finish();
|
|
48208
|
+
}
|
|
48209
|
+
}
|
|
48210
|
+
function D6(i, t, e) {
|
|
48211
|
+
return new Pb(i, { ...e, point: t });
|
|
48212
|
+
}
|
|
48213
|
+
class Ab extends dt {
|
|
48214
|
+
angle;
|
|
48215
|
+
axis;
|
|
48216
|
+
_targetScale = new S.Vector3();
|
|
48217
|
+
_initialRotation = new S.Euler();
|
|
48218
|
+
_rotationAxis = new S.Vector3();
|
|
48219
|
+
constructor(t, e = {}) {
|
|
48220
|
+
super(t, e), this.angle = e.angle ?? Math.PI * 2, this.axis = e.axis ?? [0, 0, 1];
|
|
48221
|
+
}
|
|
48222
|
+
begin() {
|
|
48223
|
+
super.begin(), this._targetScale.copy(this.mobject.scaleVector), this._initialRotation.copy(this.mobject.rotation), this._rotationAxis.set(this.axis[0], this.axis[1], this.axis[2]).normalize(), this.mobject.scaleVector.set(1e-3, 1e-3, 1e-3);
|
|
48224
|
+
}
|
|
48225
|
+
interpolate(t) {
|
|
48226
|
+
const e = Math.max(1e-3, t);
|
|
48227
|
+
this.mobject.scaleVector.set(
|
|
48228
|
+
this._targetScale.x * e,
|
|
48229
|
+
this._targetScale.y * e,
|
|
48230
|
+
this._targetScale.z * e
|
|
48231
|
+
);
|
|
48232
|
+
const s = this.angle * (1 - t), r = new S.Quaternion();
|
|
48233
|
+
r.setFromAxisAngle(this._rotationAxis, -s);
|
|
48234
|
+
const n = new S.Quaternion().setFromEuler(this._initialRotation);
|
|
48235
|
+
r.multiply(n), this.mobject.rotation.setFromQuaternion(r), this.mobject._markDirty();
|
|
48236
|
+
}
|
|
48237
|
+
finish() {
|
|
48238
|
+
this.mobject.scaleVector.copy(this._targetScale), this.mobject.rotation.copy(this._initialRotation), this.mobject._markDirty(), super.finish();
|
|
48239
|
+
}
|
|
48240
|
+
}
|
|
48241
|
+
function O6(i, t) {
|
|
48242
|
+
return new Ab(i, t);
|
|
48243
|
+
}
|
|
48244
|
+
function F6(i, t) {
|
|
48106
48245
|
return new di(i, {
|
|
48107
48246
|
...t,
|
|
48108
48247
|
lagRatio: t?.lagRatio ?? 0.2
|
|
48109
48248
|
});
|
|
48110
48249
|
}
|
|
48111
|
-
class
|
|
48250
|
+
class E6 extends di {
|
|
48112
48251
|
constructor(t, e = {}) {
|
|
48113
48252
|
super(t, {
|
|
48114
48253
|
...e,
|
|
@@ -48116,13 +48255,13 @@ class C6 extends di {
|
|
|
48116
48255
|
});
|
|
48117
48256
|
}
|
|
48118
48257
|
}
|
|
48119
|
-
function
|
|
48258
|
+
function z6(i, t) {
|
|
48120
48259
|
return new di(i, {
|
|
48121
48260
|
...t,
|
|
48122
48261
|
lagRatio: 1
|
|
48123
48262
|
});
|
|
48124
48263
|
}
|
|
48125
|
-
class
|
|
48264
|
+
class B6 extends di {
|
|
48126
48265
|
constructor(t, e = {}) {
|
|
48127
48266
|
super(t, {
|
|
48128
48267
|
...e,
|
|
@@ -48130,7 +48269,7 @@ class A6 extends di {
|
|
|
48130
48269
|
});
|
|
48131
48270
|
}
|
|
48132
48271
|
}
|
|
48133
|
-
class
|
|
48272
|
+
class Lb extends dt {
|
|
48134
48273
|
_func;
|
|
48135
48274
|
/**
|
|
48136
48275
|
* Create an UpdateFromFunc animation.
|
|
@@ -48149,10 +48288,10 @@ class Tb extends _t {
|
|
|
48149
48288
|
this._func(this.mobject, t);
|
|
48150
48289
|
}
|
|
48151
48290
|
}
|
|
48152
|
-
function
|
|
48153
|
-
return new
|
|
48291
|
+
function I6(i, t, e) {
|
|
48292
|
+
return new Lb(i, t, e);
|
|
48154
48293
|
}
|
|
48155
|
-
class
|
|
48294
|
+
class Rb extends dt {
|
|
48156
48295
|
_func;
|
|
48157
48296
|
/**
|
|
48158
48297
|
* Create an UpdateFromAlphaFunc animation.
|
|
@@ -48172,10 +48311,10 @@ class Cb extends _t {
|
|
|
48172
48311
|
this._func(this.mobject, t);
|
|
48173
48312
|
}
|
|
48174
48313
|
}
|
|
48175
|
-
function
|
|
48176
|
-
return new
|
|
48314
|
+
function W6(i, t, e) {
|
|
48315
|
+
return new Rb(i, t, e);
|
|
48177
48316
|
}
|
|
48178
|
-
function
|
|
48317
|
+
function j6(i, t) {
|
|
48179
48318
|
const e = [
|
|
48180
48319
|
i.position.x - t.position.x,
|
|
48181
48320
|
i.position.y - t.position.y,
|
|
@@ -48189,7 +48328,7 @@ function D6(i, t) {
|
|
|
48189
48328
|
]);
|
|
48190
48329
|
};
|
|
48191
48330
|
}
|
|
48192
|
-
class
|
|
48331
|
+
class Db extends dt {
|
|
48193
48332
|
/** Total angle to rotate in radians */
|
|
48194
48333
|
angle;
|
|
48195
48334
|
/** Axis of rotation */
|
|
@@ -48243,10 +48382,10 @@ class Pb extends _t {
|
|
|
48243
48382
|
this.mobject._markDirty();
|
|
48244
48383
|
}
|
|
48245
48384
|
}
|
|
48246
|
-
function
|
|
48247
|
-
return new
|
|
48385
|
+
function U6(i, t) {
|
|
48386
|
+
return new Db(i, t);
|
|
48248
48387
|
}
|
|
48249
|
-
class
|
|
48388
|
+
class Ob extends dt {
|
|
48250
48389
|
/** Ring color */
|
|
48251
48390
|
ringColor;
|
|
48252
48391
|
/** Number of rings */
|
|
@@ -48297,7 +48436,7 @@ class Ab extends _t {
|
|
|
48297
48436
|
transparent: !0,
|
|
48298
48437
|
opacity: 1,
|
|
48299
48438
|
resolution: new S.Vector2(window.innerWidth, window.innerHeight)
|
|
48300
|
-
}), o = new
|
|
48439
|
+
}), o = new gt(r, n);
|
|
48301
48440
|
return o.computeLineDistances(), o;
|
|
48302
48441
|
}
|
|
48303
48442
|
_updateRing(t, e, s) {
|
|
@@ -48317,7 +48456,7 @@ class Ab extends _t {
|
|
|
48317
48456
|
}
|
|
48318
48457
|
interpolate(t) {
|
|
48319
48458
|
this._ringsGroup && this._ringsGroup.children.forEach((e, s) => {
|
|
48320
|
-
if (e instanceof
|
|
48459
|
+
if (e instanceof gt) {
|
|
48321
48460
|
const r = s * this.lagRatio, n = Math.max(0, Math.min(1, (t - r) / (1 - r * (this.numRings - 1) / this.numRings)));
|
|
48322
48461
|
if (n <= 0)
|
|
48323
48462
|
this._updateRing(e, 0.01, 0);
|
|
@@ -48330,14 +48469,14 @@ class Ab extends _t {
|
|
|
48330
48469
|
}
|
|
48331
48470
|
finish() {
|
|
48332
48471
|
this._ringsGroup && this._parentObject && (this._parentObject.remove(this._ringsGroup), this._ringsGroup.traverse((t) => {
|
|
48333
|
-
t instanceof
|
|
48472
|
+
t instanceof gt && (t.geometry.dispose(), t.material.dispose());
|
|
48334
48473
|
}), this._ringsGroup = null), super.finish();
|
|
48335
48474
|
}
|
|
48336
48475
|
}
|
|
48337
|
-
function
|
|
48338
|
-
return new
|
|
48476
|
+
function N6(i, t) {
|
|
48477
|
+
return new Ob(i, t);
|
|
48339
48478
|
}
|
|
48340
|
-
class
|
|
48479
|
+
class Fb extends dt {
|
|
48341
48480
|
/** Scale factor at peak */
|
|
48342
48481
|
scaleFactor;
|
|
48343
48482
|
/** Highlight color */
|
|
@@ -48369,10 +48508,10 @@ class Lb extends _t {
|
|
|
48369
48508
|
this.mobject.scaleVector.copy(this._originalScale), this.mobject.setColor(this._originalColor), this.mobject._markDirty(), super.finish();
|
|
48370
48509
|
}
|
|
48371
48510
|
}
|
|
48372
|
-
function
|
|
48373
|
-
return new
|
|
48511
|
+
function G6(i, t) {
|
|
48512
|
+
return new Fb(i, t);
|
|
48374
48513
|
}
|
|
48375
|
-
class
|
|
48514
|
+
class Eb extends dt {
|
|
48376
48515
|
/** Flash color */
|
|
48377
48516
|
flashColor;
|
|
48378
48517
|
/** Number of flash lines */
|
|
@@ -48411,14 +48550,14 @@ class Rb extends _t {
|
|
|
48411
48550
|
resolution: new S.Vector2(window.innerWidth, window.innerHeight)
|
|
48412
48551
|
}), r = Math.cos(t) * this.innerRadius, n = Math.sin(t) * this.innerRadius;
|
|
48413
48552
|
e.setPositions([r, n, 0, r, n, 0]);
|
|
48414
|
-
const o = new
|
|
48553
|
+
const o = new gt(e, s);
|
|
48415
48554
|
return o.computeLineDistances(), o;
|
|
48416
48555
|
}
|
|
48417
48556
|
interpolate(t) {
|
|
48418
48557
|
if (!this._flashGroup) return;
|
|
48419
48558
|
const e = this.innerRadius + (this.flashRadius - this.innerRadius) * t, s = 1 - t;
|
|
48420
48559
|
this._flashGroup.children.forEach((r, n) => {
|
|
48421
|
-
if (r instanceof
|
|
48560
|
+
if (r instanceof gt) {
|
|
48422
48561
|
const o = n / this.numLines * Math.PI * 2, a = r.material;
|
|
48423
48562
|
a.opacity = s, a.transparent = !0;
|
|
48424
48563
|
const h = Math.cos(o) * this.innerRadius, l = Math.sin(o) * this.innerRadius, c = Math.cos(o) * e, u = Math.sin(o) * e, d = new Se();
|
|
@@ -48428,14 +48567,14 @@ class Rb extends _t {
|
|
|
48428
48567
|
}
|
|
48429
48568
|
finish() {
|
|
48430
48569
|
this._flashGroup && this._parentObject && (this._parentObject.remove(this._flashGroup), this._flashGroup.traverse((t) => {
|
|
48431
|
-
t instanceof
|
|
48570
|
+
t instanceof gt && (t.geometry.dispose(), t.material.dispose());
|
|
48432
48571
|
}), this._flashGroup = null), super.finish();
|
|
48433
48572
|
}
|
|
48434
48573
|
}
|
|
48435
|
-
function
|
|
48436
|
-
return new
|
|
48574
|
+
function V6(i, t) {
|
|
48575
|
+
return new Eb(i, t);
|
|
48437
48576
|
}
|
|
48438
|
-
class
|
|
48577
|
+
class zb extends dt {
|
|
48439
48578
|
/** Shape type */
|
|
48440
48579
|
shapeType;
|
|
48441
48580
|
/** Shape color */
|
|
@@ -48484,7 +48623,7 @@ class Db extends _t {
|
|
|
48484
48623
|
this.shapeType === "circle" ? e = this._createCirclePositions() : e = this._createRectanglePositions();
|
|
48485
48624
|
const s = new Se();
|
|
48486
48625
|
s.setPositions(e);
|
|
48487
|
-
const r = new
|
|
48626
|
+
const r = new gt(s, t);
|
|
48488
48627
|
r.computeLineDistances();
|
|
48489
48628
|
const n = r.geometry.attributes.lineDistance;
|
|
48490
48629
|
return n && n.count > 0 ? this._totalLength = n.array[n.count - 1] || 1 : this._totalLength = 1, t.dashSize = 0, t.gapSize = this._totalLength, t.needsUpdate = !0, r;
|
|
@@ -48530,7 +48669,7 @@ class Db extends _t {
|
|
|
48530
48669
|
}
|
|
48531
48670
|
interpolate(t) {
|
|
48532
48671
|
this._shapeGroup && this._shapeGroup.traverse((e) => {
|
|
48533
|
-
if (e instanceof
|
|
48672
|
+
if (e instanceof gt) {
|
|
48534
48673
|
const s = e.material, r = 1 - this.timeWidth, o = (r > 0 ? Math.min(1, t / r) : 1) * this._totalLength;
|
|
48535
48674
|
if (s.dashSize = o, s.gapSize = this._totalLength - o + 1e-4, this.fadeOut && t > r) {
|
|
48536
48675
|
const a = (t - r) / this.timeWidth;
|
|
@@ -48543,14 +48682,14 @@ class Db extends _t {
|
|
|
48543
48682
|
}
|
|
48544
48683
|
finish() {
|
|
48545
48684
|
this._shapeGroup && this._parentObject && (this._parentObject.remove(this._shapeGroup), this._shapeGroup.traverse((t) => {
|
|
48546
|
-
t instanceof
|
|
48685
|
+
t instanceof gt && (t.geometry.dispose(), t.material.dispose());
|
|
48547
48686
|
}), this._shapeGroup = null), super.finish();
|
|
48548
48687
|
}
|
|
48549
48688
|
}
|
|
48550
|
-
function
|
|
48551
|
-
return new
|
|
48689
|
+
function H6(i, t) {
|
|
48690
|
+
return new zb(i, t);
|
|
48552
48691
|
}
|
|
48553
|
-
class
|
|
48692
|
+
class Bb extends dt {
|
|
48554
48693
|
/** Maximum rotation angle */
|
|
48555
48694
|
rotationAngle;
|
|
48556
48695
|
/** Number of wiggles */
|
|
@@ -48616,10 +48755,10 @@ class Ob extends _t {
|
|
|
48616
48755
|
this.mobject.rotation.setFromQuaternion(this._initialQuaternion), this.mobject.scaleVector.copy(this._initialScale), this.mobject.position.copy(this._initialPosition), this.mobject._markDirty(), super.finish();
|
|
48617
48756
|
}
|
|
48618
48757
|
}
|
|
48619
|
-
function
|
|
48620
|
-
return new
|
|
48758
|
+
function q6(i, t) {
|
|
48759
|
+
return new Bb(i, t);
|
|
48621
48760
|
}
|
|
48622
|
-
class
|
|
48761
|
+
class Ib extends dt {
|
|
48623
48762
|
/** Flash color */
|
|
48624
48763
|
flashColor;
|
|
48625
48764
|
/** Width of flash as proportion of path */
|
|
@@ -48680,7 +48819,7 @@ class Fb extends _t {
|
|
|
48680
48819
|
if (!this._flashGroup || this._pathPoints.length < 2) return;
|
|
48681
48820
|
for (; this._flashGroup.children.length > 0; ) {
|
|
48682
48821
|
const f = this._flashGroup.children[0];
|
|
48683
|
-
this._flashGroup.remove(f), f instanceof
|
|
48822
|
+
this._flashGroup.remove(f), f instanceof gt && (f.geometry.dispose(), f.material.dispose());
|
|
48684
48823
|
}
|
|
48685
48824
|
const e = this._pathPoints.length, s = t - this.timeWidth / 2, r = t + this.timeWidth / 2, n = Math.max(0, Math.floor(s * (e - 1))), o = Math.min(e - 1, Math.ceil(r * (e - 1)));
|
|
48686
48825
|
if (n >= o) return;
|
|
@@ -48699,19 +48838,19 @@ class Fb extends _t {
|
|
|
48699
48838
|
transparent: !0,
|
|
48700
48839
|
opacity: c,
|
|
48701
48840
|
resolution: new S.Vector2(window.innerWidth, window.innerHeight)
|
|
48702
|
-
}), d = new
|
|
48841
|
+
}), d = new gt(l, u);
|
|
48703
48842
|
d.computeLineDistances(), this._flashGroup.add(d);
|
|
48704
48843
|
}
|
|
48705
48844
|
finish() {
|
|
48706
48845
|
this._flashGroup && this._parentObject && (this._parentObject.remove(this._flashGroup), this._flashGroup.traverse((t) => {
|
|
48707
|
-
t instanceof
|
|
48846
|
+
t instanceof gt && (t.geometry.dispose(), t.material.dispose());
|
|
48708
48847
|
}), this._flashGroup = null), super.finish();
|
|
48709
48848
|
}
|
|
48710
48849
|
}
|
|
48711
|
-
function
|
|
48712
|
-
return new
|
|
48850
|
+
function X6(i, t) {
|
|
48851
|
+
return new Ib(i, t);
|
|
48713
48852
|
}
|
|
48714
|
-
class
|
|
48853
|
+
class Wb extends dt {
|
|
48715
48854
|
/** Wave direction */
|
|
48716
48855
|
direction;
|
|
48717
48856
|
/** Wave amplitude */
|
|
@@ -48800,10 +48939,10 @@ class Eb extends _t {
|
|
|
48800
48939
|
this._isVMobject && this.mobject.setPoints(this._originalPoints), this.mobject.position.copy(this._originalPosition), this.mobject._markDirty(), super.finish();
|
|
48801
48940
|
}
|
|
48802
48941
|
}
|
|
48803
|
-
function
|
|
48804
|
-
return new
|
|
48942
|
+
function Y6(i, t) {
|
|
48943
|
+
return new Wb(i, t);
|
|
48805
48944
|
}
|
|
48806
|
-
class
|
|
48945
|
+
class jb extends dt {
|
|
48807
48946
|
/** Focus color */
|
|
48808
48947
|
focusColor;
|
|
48809
48948
|
/** Starting radius */
|
|
@@ -48856,7 +48995,7 @@ class zb extends _t {
|
|
|
48856
48995
|
transparent: !0,
|
|
48857
48996
|
opacity: this.ringOpacity,
|
|
48858
48997
|
resolution: new S.Vector2(window.innerWidth, window.innerHeight)
|
|
48859
|
-
}), o = new
|
|
48998
|
+
}), o = new gt(r, n);
|
|
48860
48999
|
return o.computeLineDistances(), o;
|
|
48861
49000
|
}
|
|
48862
49001
|
_updateRing(t, e, s) {
|
|
@@ -48876,7 +49015,7 @@ class zb extends _t {
|
|
|
48876
49015
|
}
|
|
48877
49016
|
interpolate(t) {
|
|
48878
49017
|
this._ringsGroup && this._ringsGroup.children.forEach((e, s) => {
|
|
48879
|
-
if (e instanceof
|
|
49018
|
+
if (e instanceof gt) {
|
|
48880
49019
|
const r = s / (this.numRings * 2), n = Math.max(0, Math.min(1, (t - r) / (1 - r))), o = this.startRadius + (this.endRadius - this.startRadius) * n;
|
|
48881
49020
|
let a;
|
|
48882
49021
|
n < 0.1 ? a = n / 0.1 * this.ringOpacity : n > 0.8 ? a = (1 - (n - 0.8) / 0.2) * this.ringOpacity : a = this.ringOpacity, this._updateRing(e, Math.max(0.01, o), a);
|
|
@@ -48885,14 +49024,14 @@ class zb extends _t {
|
|
|
48885
49024
|
}
|
|
48886
49025
|
finish() {
|
|
48887
49026
|
this._ringsGroup && this._parentObject && (this._parentObject.remove(this._ringsGroup), this._ringsGroup.traverse((t) => {
|
|
48888
|
-
t instanceof
|
|
49027
|
+
t instanceof gt && (t.geometry.dispose(), t.material.dispose());
|
|
48889
49028
|
}), this._ringsGroup = null), super.finish();
|
|
48890
49029
|
}
|
|
48891
49030
|
}
|
|
48892
|
-
function
|
|
48893
|
-
return new
|
|
49031
|
+
function $6(i, t) {
|
|
49032
|
+
return new jb(i, t);
|
|
48894
49033
|
}
|
|
48895
|
-
class
|
|
49034
|
+
class Ub extends dt {
|
|
48896
49035
|
/** Scale factor at peak */
|
|
48897
49036
|
scaleFactor;
|
|
48898
49037
|
/** Number of pulses */
|
|
@@ -48920,10 +49059,10 @@ class Bb extends _t {
|
|
|
48920
49059
|
this.mobject.scaleVector.copy(this._originalScale), this.mobject._markDirty(), super.finish();
|
|
48921
49060
|
}
|
|
48922
49061
|
}
|
|
48923
|
-
function
|
|
48924
|
-
return new
|
|
49062
|
+
function Z6(i, t) {
|
|
49063
|
+
return new Ub(i, t);
|
|
48925
49064
|
}
|
|
48926
|
-
class
|
|
49065
|
+
class Nb extends dt {
|
|
48927
49066
|
/** Total path length for dash-based reveal */
|
|
48928
49067
|
_totalLength = 0;
|
|
48929
49068
|
/** Whether to use dash-based reveal (needs Line2 children) */
|
|
@@ -48940,12 +49079,12 @@ class Ib extends _t {
|
|
|
48940
49079
|
_hasLine2Children() {
|
|
48941
49080
|
let t = !1;
|
|
48942
49081
|
return this.mobject.getThreeObject().traverse((e) => {
|
|
48943
|
-
e instanceof
|
|
49082
|
+
e instanceof gt && (t = !0);
|
|
48944
49083
|
}), t;
|
|
48945
49084
|
}
|
|
48946
49085
|
begin() {
|
|
48947
49086
|
super.begin(), this._useDashReveal = this.mobject instanceof W && this._hasLine2Children(), this._useDashReveal ? this.mobject.getThreeObject().traverse((e) => {
|
|
48948
|
-
if (e instanceof
|
|
49087
|
+
if (e instanceof gt) {
|
|
48949
49088
|
const s = e.material;
|
|
48950
49089
|
s.dashed = !0, s.dashScale = 1, e.computeLineDistances();
|
|
48951
49090
|
const n = e.geometry.attributes.instanceDistanceEnd;
|
|
@@ -48961,7 +49100,7 @@ class Ib extends _t {
|
|
|
48961
49100
|
interpolate(t) {
|
|
48962
49101
|
let e;
|
|
48963
49102
|
t <= 0.5 ? e = 2 * t : e = 2 * (1 - t), this._useDashReveal ? this.mobject.getThreeObject().traverse((r) => {
|
|
48964
|
-
if (r instanceof
|
|
49103
|
+
if (r instanceof gt) {
|
|
48965
49104
|
const n = r.material, o = e * this._totalLength;
|
|
48966
49105
|
n.dashSize = o, n.gapSize = this._totalLength - o + 1e-4, n.needsUpdate = !0;
|
|
48967
49106
|
}
|
|
@@ -48969,27 +49108,27 @@ class Ib extends _t {
|
|
|
48969
49108
|
}
|
|
48970
49109
|
finish() {
|
|
48971
49110
|
this._useDashReveal ? this.mobject.getThreeObject().traverse((e) => {
|
|
48972
|
-
if (e instanceof
|
|
49111
|
+
if (e instanceof gt) {
|
|
48973
49112
|
const s = e.material;
|
|
48974
49113
|
s.dashSize = 0, s.gapSize = this._totalLength, s.needsUpdate = !0;
|
|
48975
49114
|
}
|
|
48976
49115
|
}) : this.mobject.setOpacity(0), super.finish();
|
|
48977
49116
|
}
|
|
48978
49117
|
}
|
|
48979
|
-
function
|
|
48980
|
-
return new
|
|
49118
|
+
function K6(i, t) {
|
|
49119
|
+
return new Nb(i, t);
|
|
48981
49120
|
}
|
|
48982
49121
|
const mf = 2 * Math.PI;
|
|
48983
49122
|
function gf(i) {
|
|
48984
|
-
return i < 0.5 ?
|
|
49123
|
+
return i < 0.5 ? Vh(2 * i) : Vh(2 * (1 - i));
|
|
48985
49124
|
}
|
|
48986
|
-
function
|
|
49125
|
+
function Gb(i, t) {
|
|
48987
49126
|
return Math.sin(t * mf * i) * gf(i);
|
|
48988
49127
|
}
|
|
48989
|
-
function
|
|
49128
|
+
function Vb(i, t, e) {
|
|
48990
49129
|
return i + (t - i) * e;
|
|
48991
49130
|
}
|
|
48992
|
-
class
|
|
49131
|
+
class Hb extends dt {
|
|
48993
49132
|
/** Peak scale factor */
|
|
48994
49133
|
scaleValue;
|
|
48995
49134
|
/** Maximum rotation angle */
|
|
@@ -49024,13 +49163,13 @@ class Ub extends _t {
|
|
|
49024
49163
|
this._aboutPoint.set(t[0], t[1], t[2]);
|
|
49025
49164
|
}
|
|
49026
49165
|
interpolate(t) {
|
|
49027
|
-
const e = gf(t), s =
|
|
49166
|
+
const e = gf(t), s = Vb(1, this.scaleValue, e);
|
|
49028
49167
|
this.mobject.scaleVector.set(
|
|
49029
49168
|
this._initialScale.x * s,
|
|
49030
49169
|
this._initialScale.y * s,
|
|
49031
49170
|
this._initialScale.z * s
|
|
49032
49171
|
);
|
|
49033
|
-
const r =
|
|
49172
|
+
const r = Gb(t, this.nWiggles) * this.rotationAngle, n = new S.Quaternion().setFromAxisAngle(
|
|
49034
49173
|
this._axisVector,
|
|
49035
49174
|
r
|
|
49036
49175
|
), o = new S.Quaternion().copy(this._initialQuaternion);
|
|
@@ -49044,10 +49183,10 @@ class Ub extends _t {
|
|
|
49044
49183
|
this.mobject.rotation.setFromQuaternion(this._initialQuaternion), this.mobject.scaleVector.copy(this._initialScale), this.mobject.position.copy(this._initialPosition), this.mobject._markDirty(), super.finish();
|
|
49045
49184
|
}
|
|
49046
49185
|
}
|
|
49047
|
-
function
|
|
49048
|
-
return new
|
|
49186
|
+
function Q6(i, t) {
|
|
49187
|
+
return new Hb(i, t);
|
|
49049
49188
|
}
|
|
49050
|
-
class
|
|
49189
|
+
class qb {
|
|
49051
49190
|
_scene;
|
|
49052
49191
|
_panel;
|
|
49053
49192
|
_options;
|
|
@@ -49426,7 +49565,7 @@ class Nb {
|
|
|
49426
49565
|
this._panel.remove();
|
|
49427
49566
|
}
|
|
49428
49567
|
}
|
|
49429
|
-
class
|
|
49568
|
+
class J6 extends qb {
|
|
49430
49569
|
_timeline = null;
|
|
49431
49570
|
_playPauseBtn = null;
|
|
49432
49571
|
_speedSelect = null;
|
|
@@ -49713,7 +49852,7 @@ class V6 extends Nb {
|
|
|
49713
49852
|
this._updateInterval !== null && (cancelAnimationFrame(this._updateInterval), this._updateInterval = null), super.dispose();
|
|
49714
49853
|
}
|
|
49715
49854
|
}
|
|
49716
|
-
class
|
|
49855
|
+
class Xb {
|
|
49717
49856
|
_mobject;
|
|
49718
49857
|
_scene;
|
|
49719
49858
|
_options;
|
|
@@ -49834,10 +49973,10 @@ class Gb {
|
|
|
49834
49973
|
t.removeEventListener("mousedown", this._onMouseDown), window.removeEventListener("mousemove", this._onMouseMove), window.removeEventListener("mouseup", this._onMouseUp), t.removeEventListener("touchstart", this._onTouchStart), window.removeEventListener("touchmove", this._onTouchMove), window.removeEventListener("touchend", this._onTouchEnd);
|
|
49835
49974
|
}
|
|
49836
49975
|
}
|
|
49837
|
-
function
|
|
49838
|
-
return new
|
|
49976
|
+
function t7(i, t, e) {
|
|
49977
|
+
return new Xb(i, t, e);
|
|
49839
49978
|
}
|
|
49840
|
-
class
|
|
49979
|
+
class Yb {
|
|
49841
49980
|
_mobject;
|
|
49842
49981
|
_scene;
|
|
49843
49982
|
_options;
|
|
@@ -49941,10 +50080,10 @@ class Hb {
|
|
|
49941
50080
|
t.removeEventListener("mousemove", this._onMouseMove), t.removeEventListener("mouseleave", this._onMouseLeave), this._isHovering && this._endHover();
|
|
49942
50081
|
}
|
|
49943
50082
|
}
|
|
49944
|
-
function
|
|
49945
|
-
return new
|
|
50083
|
+
function e7(i, t, e) {
|
|
50084
|
+
return new Yb(i, t, e);
|
|
49946
50085
|
}
|
|
49947
|
-
class
|
|
50086
|
+
class $b {
|
|
49948
50087
|
_mobject;
|
|
49949
50088
|
_scene;
|
|
49950
50089
|
_options;
|
|
@@ -50057,17 +50196,17 @@ class Vb {
|
|
|
50057
50196
|
t.removeEventListener("click", this._onClick), t.removeEventListener("dblclick", this._onDblClick), t.removeEventListener("touchstart", this._onTouchStart), t.removeEventListener("touchend", this._onTouchEnd);
|
|
50058
50197
|
}
|
|
50059
50198
|
}
|
|
50060
|
-
function
|
|
50061
|
-
return new
|
|
50199
|
+
function s7(i, t, e) {
|
|
50200
|
+
return new $b(i, t, e);
|
|
50062
50201
|
}
|
|
50063
|
-
function
|
|
50202
|
+
function Zb(i) {
|
|
50064
50203
|
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
|
|
50065
50204
|
}
|
|
50066
50205
|
function en(i) {
|
|
50067
50206
|
throw new Error('Could not dynamically require "' + i + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
50068
50207
|
}
|
|
50069
|
-
var
|
|
50070
|
-
function
|
|
50208
|
+
var Ho = { exports: {} }, jc;
|
|
50209
|
+
function Kb() {
|
|
50071
50210
|
return jc || (jc = 1, (function(i, t) {
|
|
50072
50211
|
(function(e) {
|
|
50073
50212
|
i.exports = e();
|
|
@@ -50283,12 +50422,12 @@ function Xb() {
|
|
|
50283
50422
|
this.renderNextFrame();
|
|
50284
50423
|
return c.call(this.imageParts, null) >= 0 ? this.renderNextFrame() : this.finishRendering();
|
|
50285
50424
|
}, m.prototype.finishRendering = function() {
|
|
50286
|
-
var g, _, b, y, w, k, C, P, R, O, F, z, B,
|
|
50287
|
-
for (P = 0,
|
|
50288
|
-
_ =
|
|
50425
|
+
var g, _, b, y, w, k, C, P, R, O, F, z, B, H, U, V;
|
|
50426
|
+
for (P = 0, H = this.imageParts, w = 0, R = H.length; w < R; w++)
|
|
50427
|
+
_ = H[w], P += (_.data.length - 1) * _.pageSize + _.cursor;
|
|
50289
50428
|
for (P += _.pageSize - _.cursor, this.log("rendering finished - filesize " + Math.round(P / 1e3) + "kb"), g = new Uint8Array(P), z = 0, U = this.imageParts, k = 0, O = U.length; k < O; k++)
|
|
50290
|
-
for (_ = U[k],
|
|
50291
|
-
B =
|
|
50429
|
+
for (_ = U[k], V = _.data, b = C = 0, F = V.length; C < F; b = ++C)
|
|
50430
|
+
B = V[b], g.set(B, z), b === _.data.length - 1 ? z += _.cursor : z += _.pageSize;
|
|
50292
50431
|
return y = new Blob([g], { type: "image/gif" }), this.emit("finished", y, g);
|
|
50293
50432
|
}, m.prototype.renderNextFrame = function() {
|
|
50294
50433
|
var g, _, b;
|
|
@@ -50320,10 +50459,10 @@ function Xb() {
|
|
|
50320
50459
|
})(n), s.exports = o;
|
|
50321
50460
|
}, { "./browser.coffee": 2, events: 1 }] }, {}, [3])(3);
|
|
50322
50461
|
});
|
|
50323
|
-
})(
|
|
50462
|
+
})(Ho)), Ho.exports;
|
|
50324
50463
|
}
|
|
50325
|
-
var
|
|
50326
|
-
const
|
|
50464
|
+
var Qb = Kb();
|
|
50465
|
+
const Jb = /* @__PURE__ */ Zb(Qb);
|
|
50327
50466
|
class no {
|
|
50328
50467
|
_scene;
|
|
50329
50468
|
_options;
|
|
@@ -50344,7 +50483,7 @@ class no {
|
|
|
50344
50483
|
* Export the timeline as a GIF
|
|
50345
50484
|
*/
|
|
50346
50485
|
async exportTimeline(t) {
|
|
50347
|
-
const e = (t || this._options.duration || this._getTimelineDuration()) ?? 5, s = Math.ceil(e * this._options.fps), r = Math.round(1e3 / this._options.fps), n = await this._createWorkerBlobUrl(), o = new
|
|
50486
|
+
const e = (t || this._options.duration || this._getTimelineDuration()) ?? 5, s = Math.ceil(e * this._options.fps), r = Math.round(1e3 / this._options.fps), n = await this._createWorkerBlobUrl(), o = new Jb({
|
|
50348
50487
|
workers: this._options.workers,
|
|
50349
50488
|
quality: this._options.quality,
|
|
50350
50489
|
width: this._options.width,
|
|
@@ -50420,13 +50559,13 @@ class no {
|
|
|
50420
50559
|
no.download(s, t);
|
|
50421
50560
|
}
|
|
50422
50561
|
}
|
|
50423
|
-
function
|
|
50562
|
+
function tx(i, t) {
|
|
50424
50563
|
return new no(i, t);
|
|
50425
50564
|
}
|
|
50426
|
-
const
|
|
50565
|
+
const ex = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
50427
50566
|
__proto__: null,
|
|
50428
50567
|
GifExporter: no,
|
|
50429
|
-
createGifExporter:
|
|
50568
|
+
createGifExporter: tx
|
|
50430
50569
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
50431
50570
|
class oo {
|
|
50432
50571
|
_scene;
|
|
@@ -50576,15 +50715,15 @@ class oo {
|
|
|
50576
50715
|
return { ...this._options };
|
|
50577
50716
|
}
|
|
50578
50717
|
}
|
|
50579
|
-
function
|
|
50718
|
+
function sx(i, t) {
|
|
50580
50719
|
return new oo(i, t);
|
|
50581
50720
|
}
|
|
50582
|
-
const
|
|
50721
|
+
const ix = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
50583
50722
|
__proto__: null,
|
|
50584
50723
|
VideoExporter: oo,
|
|
50585
|
-
createVideoExporter:
|
|
50724
|
+
createVideoExporter: sx
|
|
50586
50725
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
50587
|
-
class
|
|
50726
|
+
class rx {
|
|
50588
50727
|
_frameCount = 0;
|
|
50589
50728
|
_lastTime = 0;
|
|
50590
50729
|
_fps = 0;
|
|
@@ -50650,10 +50789,10 @@ class tx {
|
|
|
50650
50789
|
this._frameCount = 0, this._fps = 0, this._fpsHistory = [], this._lastTime = performance.now();
|
|
50651
50790
|
}
|
|
50652
50791
|
}
|
|
50653
|
-
function
|
|
50654
|
-
return new
|
|
50792
|
+
function i7() {
|
|
50793
|
+
return new rx();
|
|
50655
50794
|
}
|
|
50656
|
-
class
|
|
50795
|
+
class nx {
|
|
50657
50796
|
_frameTimes = [];
|
|
50658
50797
|
_maxSamples;
|
|
50659
50798
|
_lastFrameStart = 0;
|
|
@@ -50727,25 +50866,25 @@ class ex {
|
|
|
50727
50866
|
};
|
|
50728
50867
|
}
|
|
50729
50868
|
}
|
|
50730
|
-
function
|
|
50731
|
-
return new
|
|
50869
|
+
function r7(i) {
|
|
50870
|
+
return new nx(i);
|
|
50732
50871
|
}
|
|
50733
|
-
function
|
|
50872
|
+
function n7(i, t) {
|
|
50734
50873
|
return [t[0] * i, t[1] * i, t[2] * i];
|
|
50735
50874
|
}
|
|
50736
|
-
function
|
|
50875
|
+
function o7(...i) {
|
|
50737
50876
|
let t = 0, e = 0, s = 0;
|
|
50738
50877
|
for (const r of i)
|
|
50739
50878
|
t += r[0], e += r[1], s += r[2];
|
|
50740
50879
|
return [t, e, s];
|
|
50741
50880
|
}
|
|
50742
|
-
function
|
|
50881
|
+
function a7(i, t) {
|
|
50743
50882
|
return [i[0] - t[0], i[1] - t[1], i[2] - t[2]];
|
|
50744
50883
|
}
|
|
50745
|
-
function
|
|
50884
|
+
function h7(i, t, e) {
|
|
50746
50885
|
return e <= 1 ? e === 1 ? [i] : [] : Array.from({ length: e }, (s, r) => i + (t - i) * r / (e - 1));
|
|
50747
50886
|
}
|
|
50748
|
-
class
|
|
50887
|
+
class ox {
|
|
50749
50888
|
_container;
|
|
50750
50889
|
_bar;
|
|
50751
50890
|
_playBtn;
|
|
@@ -50811,7 +50950,7 @@ class sx {
|
|
|
50811
50950
|
this._timeDisplay.textContent = `${Uc(t)} / ${Uc(e)}`;
|
|
50812
50951
|
}
|
|
50813
50952
|
setPlaying(t, e = !1) {
|
|
50814
|
-
this._isPlaying = t, e ? (this._playBtn.innerHTML =
|
|
50953
|
+
this._isPlaying = t, e ? (this._playBtn.innerHTML = hx, this._playBtn.title = "Replay (Space)") : (this._playBtn.innerHTML = t ? ax : Nc, this._playBtn.title = t ? "Pause (Space)" : "Play (Space)"), t && this._scheduleHide();
|
|
50815
50954
|
}
|
|
50816
50955
|
setSegments(t) {
|
|
50817
50956
|
this._segmentMarkers.innerHTML = "";
|
|
@@ -50859,7 +50998,7 @@ class sx {
|
|
|
50859
50998
|
}
|
|
50860
50999
|
_createNavBtn(t) {
|
|
50861
51000
|
const e = document.createElement("button");
|
|
50862
|
-
return e.innerHTML = t === "prev" ?
|
|
51001
|
+
return e.innerHTML = t === "prev" ? lx : cx, e.title = t === "prev" ? "Previous (Left arrow)" : "Next (Right arrow)", sn(e, "28px", "28px"), e.addEventListener("click", () => {
|
|
50863
51002
|
t === "prev" ? this._callbacks.onPrev() : this._callbacks.onNext();
|
|
50864
51003
|
}), e;
|
|
50865
51004
|
}
|
|
@@ -51034,7 +51173,7 @@ class sx {
|
|
|
51034
51173
|
}
|
|
51035
51174
|
_createFullscreenBtn() {
|
|
51036
51175
|
const t = document.createElement("button");
|
|
51037
|
-
return t.innerHTML =
|
|
51176
|
+
return t.innerHTML = ux, t.title = "Fullscreen (F)", sn(t, "28px", "28px"), t.addEventListener("click", () => this._callbacks.onFullscreen()), t;
|
|
51038
51177
|
}
|
|
51039
51178
|
// ---------------------------------------------------------------------------
|
|
51040
51179
|
// Auto-hide
|
|
@@ -51135,8 +51274,8 @@ function Uc(i) {
|
|
|
51135
51274
|
const t = Math.floor(i / 60), e = Math.floor(i % 60);
|
|
51136
51275
|
return `${t}:${String(e).padStart(2, "0")}`;
|
|
51137
51276
|
}
|
|
51138
|
-
const Nc = '<svg width="18" height="18" viewBox="0 0 18 18" fill="currentColor"><path d="M5 3l10 6-10 6V3z"/></svg>',
|
|
51139
|
-
class
|
|
51277
|
+
const Nc = '<svg width="18" height="18" viewBox="0 0 18 18" fill="currentColor"><path d="M5 3l10 6-10 6V3z"/></svg>', ax = '<svg width="18" height="18" viewBox="0 0 18 18" fill="currentColor"><rect x="4" y="3" width="3.5" height="12" rx="0.5"/><rect x="10.5" y="3" width="3.5" height="12" rx="0.5"/></svg>', hx = '<svg width="18" height="18" viewBox="0 0 18 18" fill="currentColor"><path d="M9 3a6 6 0 1 0 6 6h-2a4 4 0 1 1-4-4v3l4-3.5L9 1v2z"/></svg>', lx = '<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><rect x="2" y="3" width="2" height="10"/><path d="M14 3L6 8l8 5V3z"/></svg>', cx = '<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><rect x="12" y="3" width="2" height="10"/><path d="M2 3l8 5-8 5V3z"/></svg>', Gc = '<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M8 1L8 10M8 10L5 7M8 10L11 7" stroke="currentColor" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 12v1h10v-1" stroke="currentColor" stroke-width="1.5" fill="none" stroke-linecap="round"/></svg>', ux = '<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M2 2h4v2H4v2H2V2zm8 0h4v4h-2V4h-2V2zM2 10h2v2h2v2H2v-4zm10 2h-2v2h4v-4h-2v2z"/></svg>';
|
|
51278
|
+
class dx {
|
|
51140
51279
|
_container;
|
|
51141
51280
|
_callbacks;
|
|
51142
51281
|
_onKeyDown;
|
|
@@ -51185,7 +51324,7 @@ class hx {
|
|
|
51185
51324
|
this._container.removeEventListener("keydown", this._onKeyDown);
|
|
51186
51325
|
}
|
|
51187
51326
|
}
|
|
51188
|
-
class
|
|
51327
|
+
class fx {
|
|
51189
51328
|
_realScene;
|
|
51190
51329
|
_masterTimeline;
|
|
51191
51330
|
constructor(t, e) {
|
|
@@ -51230,7 +51369,7 @@ class lx {
|
|
|
51230
51369
|
return e;
|
|
51231
51370
|
}
|
|
51232
51371
|
}
|
|
51233
|
-
class
|
|
51372
|
+
class l7 {
|
|
51234
51373
|
_scene;
|
|
51235
51374
|
_masterTimeline;
|
|
51236
51375
|
_ui;
|
|
@@ -51246,7 +51385,7 @@ class e7 {
|
|
|
51246
51385
|
_origHeight = 0;
|
|
51247
51386
|
_onFullscreenChange;
|
|
51248
51387
|
constructor(t, e = {}) {
|
|
51249
|
-
this._container = t, this._loop = e.loop ?? !1, this._autoPlay = e.autoPlay ?? !1, this._scene = new ci(t, e), this._masterTimeline = new Ic(), this._ui = new
|
|
51388
|
+
this._container = t, this._loop = e.loop ?? !1, this._autoPlay = e.autoPlay ?? !1, this._scene = new ci(t, e), this._masterTimeline = new Ic(), this._ui = new ox(
|
|
51250
51389
|
t,
|
|
51251
51390
|
{
|
|
51252
51391
|
onPlayPause: () => this.togglePlayPause(),
|
|
@@ -51260,7 +51399,7 @@ class e7 {
|
|
|
51260
51399
|
{
|
|
51261
51400
|
autoHideMs: e.autoHideMs
|
|
51262
51401
|
}
|
|
51263
|
-
), this._ui.enableScrollScrub(() => this._masterTimeline.getCurrentTime()), this._controller = new
|
|
51402
|
+
), this._ui.enableScrollScrub(() => this._masterTimeline.getCurrentTime()), this._controller = new dx(t, {
|
|
51264
51403
|
onPlayPause: () => this.togglePlayPause(),
|
|
51265
51404
|
onPrev: () => this.prevSegment(),
|
|
51266
51405
|
onNext: () => this.nextSegment(),
|
|
@@ -51286,7 +51425,7 @@ class e7 {
|
|
|
51286
51425
|
*/
|
|
51287
51426
|
async sequence(t) {
|
|
51288
51427
|
this._masterTimeline = new Ic();
|
|
51289
|
-
const e = new
|
|
51428
|
+
const e = new fx(this._scene, this._masterTimeline);
|
|
51290
51429
|
await t(e), this._scene.setTimeline(this._masterTimeline), this._masterTimeline.seek(0), this._scene.render(), this._ui.setSegments(this._masterTimeline), this._ui.updateTime(0, this._masterTimeline.getDuration()), this._autoPlay && this.play();
|
|
51291
51430
|
}
|
|
51292
51431
|
/** Get the underlying scene for direct manipulation. */
|
|
@@ -51398,29 +51537,29 @@ const _f = {
|
|
|
51398
51537
|
ADVANCED_TEXT_LAYOUT: !1
|
|
51399
51538
|
};
|
|
51400
51539
|
let mr = { ..._f };
|
|
51401
|
-
function
|
|
51540
|
+
function c7(i) {
|
|
51402
51541
|
return mr[i] ?? !1;
|
|
51403
51542
|
}
|
|
51404
|
-
function
|
|
51543
|
+
function u7(i) {
|
|
51405
51544
|
mr = { ...mr, ...i };
|
|
51406
51545
|
}
|
|
51407
|
-
function
|
|
51546
|
+
function d7() {
|
|
51408
51547
|
mr = { ..._f };
|
|
51409
51548
|
}
|
|
51410
|
-
function
|
|
51549
|
+
function f7() {
|
|
51411
51550
|
return { ...mr };
|
|
51412
51551
|
}
|
|
51413
51552
|
export {
|
|
51414
51553
|
tb as AddTextLetterByLetter,
|
|
51415
51554
|
D0 as Angle,
|
|
51416
|
-
|
|
51555
|
+
dt as Animation,
|
|
51417
51556
|
di as AnimationGroup,
|
|
51418
51557
|
m0 as AnnularSector,
|
|
51419
51558
|
p0 as Annulus,
|
|
51420
51559
|
rb as ApplyFunction,
|
|
51421
51560
|
nb as ApplyMatrix,
|
|
51422
51561
|
ub as ApplyPointwiseFunction,
|
|
51423
|
-
|
|
51562
|
+
Wb as ApplyWave,
|
|
51424
51563
|
zn as Arc,
|
|
51425
51564
|
Zo as ArcBetweenPoints,
|
|
51426
51565
|
tf as ArcBrace,
|
|
@@ -51432,10 +51571,10 @@ export {
|
|
|
51432
51571
|
Th as Axes,
|
|
51433
51572
|
er as BLACK,
|
|
51434
51573
|
Dt as BLUE,
|
|
51435
|
-
|
|
51436
|
-
|
|
51574
|
+
yx as BLUE_A,
|
|
51575
|
+
bx as BLUE_B,
|
|
51437
51576
|
Of as BLUE_C,
|
|
51438
|
-
|
|
51577
|
+
xx as BLUE_D,
|
|
51439
51578
|
Ff as BLUE_E,
|
|
51440
51579
|
M0 as BackgroundRectangle,
|
|
51441
51580
|
Ud as BarChart,
|
|
@@ -51446,77 +51585,77 @@ export {
|
|
|
51446
51585
|
Jd as BraceBetweenPoints,
|
|
51447
51586
|
Rh as BraceLabel,
|
|
51448
51587
|
ef as BraceText,
|
|
51449
|
-
|
|
51588
|
+
Ob as Broadcast,
|
|
51450
51589
|
Up as Camera2D,
|
|
51451
51590
|
Ia as Camera2DFrame,
|
|
51452
51591
|
n0 as Camera3D,
|
|
51453
51592
|
Yh as CameraAnimateProxy,
|
|
51454
|
-
|
|
51593
|
+
w5 as CameraFrame,
|
|
51455
51594
|
Dn as Circle,
|
|
51456
|
-
|
|
51457
|
-
|
|
51595
|
+
zb as Circumscribe,
|
|
51596
|
+
$b as Clickable,
|
|
51458
51597
|
Sb as ComplexHomotopy,
|
|
51459
51598
|
Os as ComplexPlane,
|
|
51460
51599
|
Ph as ComplexValueTracker,
|
|
51461
51600
|
Xd as Cone,
|
|
51462
|
-
|
|
51601
|
+
qb as Controls,
|
|
51463
51602
|
R0 as ConvexHull,
|
|
51464
51603
|
Z4 as Create,
|
|
51465
51604
|
C0 as Cross,
|
|
51466
|
-
|
|
51605
|
+
Hd as Cube,
|
|
51467
51606
|
an as CubicBezier,
|
|
51468
51607
|
v0 as CurvedArrow,
|
|
51469
51608
|
y0 as CurvedDoubleArrow,
|
|
51470
51609
|
L0 as Cutout,
|
|
51471
51610
|
Ah as Cylinder,
|
|
51472
|
-
|
|
51473
|
-
|
|
51474
|
-
|
|
51475
|
-
|
|
51476
|
-
|
|
51611
|
+
vx as DARKER_GRAY,
|
|
51612
|
+
Sx as DARK_BLUE,
|
|
51613
|
+
s3 as DARK_BROWN,
|
|
51614
|
+
_x as DARK_GRAY,
|
|
51615
|
+
r3 as DEFAULT_ANIMATION_DURATION,
|
|
51477
51616
|
U4 as DEFAULT_ASPECT_RATIO,
|
|
51478
|
-
|
|
51479
|
-
|
|
51617
|
+
i3 as DEFAULT_FONT_SIZE,
|
|
51618
|
+
a3 as DEFAULT_FPS,
|
|
51480
51619
|
qf as DEFAULT_FRAME_HEIGHT,
|
|
51481
|
-
|
|
51482
|
-
|
|
51483
|
-
|
|
51484
|
-
|
|
51485
|
-
|
|
51620
|
+
Hf as DEFAULT_FRAME_WIDTH,
|
|
51621
|
+
c3 as DEFAULT_MOBJECT_TO_EDGE_BUFFER,
|
|
51622
|
+
u3 as DEFAULT_MOBJECT_TO_MOBJECT_BUFFER,
|
|
51623
|
+
o3 as DEFAULT_PIXEL_HEIGHT,
|
|
51624
|
+
n3 as DEFAULT_PIXEL_WIDTH,
|
|
51486
51625
|
yt as DEFAULT_STROKE_WIDTH,
|
|
51487
|
-
|
|
51626
|
+
g3 as DL,
|
|
51488
51627
|
Oa as DOWN,
|
|
51489
|
-
|
|
51490
|
-
|
|
51628
|
+
_3 as DR,
|
|
51629
|
+
Va as DashedLine,
|
|
51491
51630
|
x0 as DashedVMobject,
|
|
51492
51631
|
Kd as DecimalMatrix,
|
|
51493
51632
|
is as DecimalNumber,
|
|
51494
|
-
|
|
51633
|
+
N5 as DecimalTable,
|
|
51495
51634
|
Oh as DiGraph,
|
|
51496
51635
|
Eh as DiceFace,
|
|
51497
|
-
|
|
51636
|
+
A5 as Difference,
|
|
51498
51637
|
fi as Dot,
|
|
51499
51638
|
Ga as DoubleArrow,
|
|
51500
|
-
|
|
51639
|
+
Xb as Draggable,
|
|
51501
51640
|
K4 as DrawBorderThenFill,
|
|
51502
51641
|
F0 as Elbow,
|
|
51503
51642
|
f0 as Ellipse,
|
|
51504
|
-
|
|
51643
|
+
L5 as Exclusion,
|
|
51505
51644
|
Y4 as FadeIn,
|
|
51506
51645
|
$4 as FadeOut,
|
|
51507
51646
|
ab as FadeToColor,
|
|
51508
|
-
|
|
51509
|
-
|
|
51510
|
-
|
|
51647
|
+
Eb as Flash,
|
|
51648
|
+
jb as FocusOn,
|
|
51649
|
+
nx as FrameTimeTracker,
|
|
51511
51650
|
io as FullScreenFadeRectangle,
|
|
51512
51651
|
Fh as FullScreenRectangle,
|
|
51513
51652
|
kh as FunctionGraph,
|
|
51514
51653
|
Ra as GOLD,
|
|
51515
|
-
|
|
51516
|
-
|
|
51654
|
+
Bx as GOLD_A,
|
|
51655
|
+
Ix as GOLD_B,
|
|
51517
51656
|
If as GOLD_C,
|
|
51518
|
-
|
|
51519
|
-
|
|
51657
|
+
Wx as GOLD_D,
|
|
51658
|
+
jx as GOLD_E,
|
|
51520
51659
|
Xc as GRAY,
|
|
51521
51660
|
Pf as GRAY_A,
|
|
51522
51661
|
Af as GRAY_B,
|
|
@@ -51524,59 +51663,62 @@ export {
|
|
|
51524
51663
|
Rf as GRAY_D,
|
|
51525
51664
|
Df as GRAY_E,
|
|
51526
51665
|
La as GREEN,
|
|
51527
|
-
|
|
51528
|
-
|
|
51666
|
+
Px as GREEN_A,
|
|
51667
|
+
Ax as GREEN_B,
|
|
51529
51668
|
zf as GREEN_C,
|
|
51530
|
-
|
|
51531
|
-
|
|
51669
|
+
Lx as GREEN_D,
|
|
51670
|
+
Rx as GREEN_E,
|
|
51532
51671
|
so as GenericGraph,
|
|
51533
51672
|
no as GifExporter,
|
|
51534
51673
|
Xa as GlyphVMobject,
|
|
51535
51674
|
Qs as Graph,
|
|
51536
|
-
|
|
51675
|
+
Ht as Group,
|
|
51676
|
+
Tb as GrowArrow,
|
|
51537
51677
|
mb as GrowFromCenter,
|
|
51538
|
-
|
|
51678
|
+
Cb as GrowFromEdge,
|
|
51679
|
+
Pb as GrowFromPoint,
|
|
51680
|
+
M5 as Hexagon,
|
|
51539
51681
|
wb as Homotopy,
|
|
51540
|
-
|
|
51541
|
-
|
|
51682
|
+
Yb as Hoverable,
|
|
51683
|
+
f3 as IN,
|
|
51542
51684
|
rf as ImageMobject,
|
|
51543
51685
|
Ad as ImplicitFunction,
|
|
51544
|
-
|
|
51686
|
+
Fb as Indicate,
|
|
51545
51687
|
Id as Integer,
|
|
51546
51688
|
Zd as IntegerMatrix,
|
|
51547
|
-
|
|
51689
|
+
U5 as IntegerTable,
|
|
51548
51690
|
c0 as InteractiveScene,
|
|
51549
|
-
|
|
51550
|
-
|
|
51691
|
+
P5 as Intersection,
|
|
51692
|
+
l3 as LARGE_BUFF,
|
|
51551
51693
|
Zf as LEFT,
|
|
51552
|
-
|
|
51553
|
-
|
|
51554
|
-
|
|
51555
|
-
|
|
51556
|
-
|
|
51694
|
+
mx as LIGHTER_GRAY,
|
|
51695
|
+
e3 as LIGHT_BROWN,
|
|
51696
|
+
gx as LIGHT_GRAY,
|
|
51697
|
+
t3 as LIGHT_PINK,
|
|
51698
|
+
E6 as LaggedStart,
|
|
51557
51699
|
S0 as LargeDot,
|
|
51558
51700
|
Yp as Lighting,
|
|
51559
51701
|
xe as Line,
|
|
51560
51702
|
tr as Line3D,
|
|
51561
|
-
|
|
51703
|
+
Vf as MANIM_BACKGROUND,
|
|
51562
51704
|
Uf as MAROON,
|
|
51563
|
-
|
|
51564
|
-
|
|
51705
|
+
qx as MAROON_A,
|
|
51706
|
+
Xx as MAROON_B,
|
|
51565
51707
|
jf as MAROON_C,
|
|
51566
|
-
|
|
51567
|
-
|
|
51708
|
+
Yx as MAROON_D,
|
|
51709
|
+
$x as MAROON_E,
|
|
51568
51710
|
Yf as MED_LARGE_BUFF,
|
|
51569
51711
|
Xf as MED_SMALL_BUFF,
|
|
51570
51712
|
lf as MandelbrotSet,
|
|
51571
51713
|
zd as MarkupText,
|
|
51572
51714
|
Ic as MasterTimeline,
|
|
51573
|
-
|
|
51715
|
+
W5 as MathTable,
|
|
51574
51716
|
_e as MathTex,
|
|
51575
51717
|
ka as MathTexSVG,
|
|
51576
51718
|
Tr as Matrix,
|
|
51577
51719
|
St as Mobject,
|
|
51578
51720
|
Qd as MobjectMatrix,
|
|
51579
|
-
|
|
51721
|
+
j5 as MobjectTable,
|
|
51580
51722
|
bb as MoveAlongPath,
|
|
51581
51723
|
ib as MoveToTarget,
|
|
51582
51724
|
_b as MoveToTargetPosition,
|
|
@@ -51585,41 +51727,41 @@ export {
|
|
|
51585
51727
|
Ch as NumberPlane,
|
|
51586
51728
|
Yc as ORANGE,
|
|
51587
51729
|
Kf as ORIGIN,
|
|
51588
|
-
|
|
51730
|
+
d3 as OUT,
|
|
51589
51731
|
l1 as OrbitControls,
|
|
51590
51732
|
of as PGroup,
|
|
51591
51733
|
Gf as PINK,
|
|
51592
51734
|
Cr as PMobject,
|
|
51593
|
-
|
|
51594
|
-
|
|
51595
|
-
|
|
51735
|
+
wx as PURE_BLUE,
|
|
51736
|
+
Dx as PURE_GREEN,
|
|
51737
|
+
Hx as PURE_RED,
|
|
51596
51738
|
Da as PURPLE,
|
|
51597
|
-
|
|
51598
|
-
|
|
51739
|
+
Zx as PURPLE_A,
|
|
51740
|
+
Kx as PURPLE_B,
|
|
51599
51741
|
Nf as PURPLE_C,
|
|
51600
|
-
|
|
51601
|
-
|
|
51742
|
+
Qx as PURPLE_D,
|
|
51743
|
+
Jx as PURPLE_E,
|
|
51602
51744
|
Dd as Paragraph,
|
|
51603
51745
|
Ld as ParametricFunction,
|
|
51604
51746
|
Es as ParametricSurface,
|
|
51605
|
-
|
|
51606
|
-
|
|
51747
|
+
k5 as Pentagon,
|
|
51748
|
+
rx as PerformanceMonitor,
|
|
51607
51749
|
kb as PhaseFlow,
|
|
51608
|
-
|
|
51609
|
-
|
|
51610
|
-
|
|
51611
|
-
|
|
51750
|
+
J6 as PlaybackControls,
|
|
51751
|
+
l7 as Player,
|
|
51752
|
+
dx as PlayerController,
|
|
51753
|
+
ox as PlayerUI,
|
|
51612
51754
|
hf as PointCloudDot,
|
|
51613
51755
|
af as PointMobject,
|
|
51614
51756
|
jd as PolarPlane,
|
|
51615
51757
|
On as Polygon,
|
|
51616
|
-
|
|
51758
|
+
Ub as Pulse,
|
|
51617
51759
|
Li as RED,
|
|
51618
|
-
|
|
51619
|
-
|
|
51760
|
+
Ux as RED_A,
|
|
51761
|
+
Nx as RED_B,
|
|
51620
51762
|
Wf as RED_C,
|
|
51621
|
-
|
|
51622
|
-
|
|
51763
|
+
Gx as RED_D,
|
|
51764
|
+
Vx as RED_E,
|
|
51623
51765
|
fn as RIGHT,
|
|
51624
51766
|
me as Rectangle,
|
|
51625
51767
|
Fn as RegularPolygon,
|
|
@@ -51630,37 +51772,38 @@ export {
|
|
|
51630
51772
|
ob as Restore,
|
|
51631
51773
|
O0 as RightAngle,
|
|
51632
51774
|
db as Rotate,
|
|
51633
|
-
|
|
51634
|
-
|
|
51635
|
-
|
|
51775
|
+
Db as Rotating,
|
|
51776
|
+
Ha as RoundedRectangle,
|
|
51777
|
+
h3 as SMALL_BUFF,
|
|
51636
51778
|
Dh as SVGMobject,
|
|
51637
51779
|
uf as SampleSpace,
|
|
51638
51780
|
pb as Scale,
|
|
51639
|
-
|
|
51781
|
+
p6 as ScaleInPlace,
|
|
51640
51782
|
ci as Scene,
|
|
51641
51783
|
qp as SceneStateManager,
|
|
51642
51784
|
nf as ScreenRectangle,
|
|
51643
51785
|
g0 as Sector,
|
|
51644
51786
|
Xp as SelectionManager,
|
|
51645
51787
|
gb as Shift,
|
|
51646
|
-
|
|
51647
|
-
|
|
51788
|
+
Nb as ShowCreationThenDestruction,
|
|
51789
|
+
Ib as ShowPassingFlash,
|
|
51648
51790
|
w0 as SmallDot,
|
|
51649
51791
|
Mb as SmoothedVectorizedHomotopy,
|
|
51650
|
-
|
|
51792
|
+
Vd as Sphere,
|
|
51793
|
+
Ab as SpinInFromNothing,
|
|
51651
51794
|
d0 as Square,
|
|
51652
51795
|
P0 as Star,
|
|
51653
51796
|
Gd as StreamLines,
|
|
51654
|
-
|
|
51797
|
+
B6 as Succession,
|
|
51655
51798
|
to as Surface3D,
|
|
51656
|
-
|
|
51799
|
+
B5 as SurfacePresets,
|
|
51657
51800
|
k0 as SurroundingRectangle,
|
|
51658
51801
|
Aa as TEAL,
|
|
51659
|
-
|
|
51660
|
-
|
|
51802
|
+
Mx as TEAL_A,
|
|
51803
|
+
kx as TEAL_B,
|
|
51661
51804
|
Ef as TEAL_C,
|
|
51662
|
-
|
|
51663
|
-
|
|
51805
|
+
Tx as TEAL_D,
|
|
51806
|
+
Cx as TEAL_E,
|
|
51664
51807
|
Ni as Table,
|
|
51665
51808
|
E0 as TangentLine,
|
|
51666
51809
|
b0 as TangentialArc,
|
|
@@ -51669,200 +51812,204 @@ export {
|
|
|
51669
51812
|
Mv as TextGlyphGroup,
|
|
51670
51813
|
Lh as TexturedSurface,
|
|
51671
51814
|
$d as ThreeDAxes,
|
|
51672
|
-
|
|
51815
|
+
b5 as ThreeDScene,
|
|
51673
51816
|
l0 as Timeline,
|
|
51674
51817
|
Yd as Torus,
|
|
51675
51818
|
ro as Transform,
|
|
51676
|
-
|
|
51677
|
-
|
|
51819
|
+
S5 as Triangle,
|
|
51820
|
+
p3 as UL,
|
|
51678
51821
|
$f as UP,
|
|
51679
|
-
|
|
51822
|
+
m3 as UR,
|
|
51680
51823
|
Q4 as Uncreate,
|
|
51681
51824
|
T0 as Underline,
|
|
51682
|
-
|
|
51825
|
+
C5 as Union,
|
|
51683
51826
|
Pd as UnitInterval,
|
|
51684
51827
|
J4 as Unwrite,
|
|
51685
|
-
|
|
51686
|
-
|
|
51828
|
+
Rb as UpdateFromAlphaFunc,
|
|
51829
|
+
Lb as UpdateFromFunc,
|
|
51687
51830
|
pn as VDict,
|
|
51688
51831
|
vt as VGroup,
|
|
51689
51832
|
W as VMobject,
|
|
51690
51833
|
sf as VMobjectFromSVGPath,
|
|
51691
51834
|
Qn as ValueTracker,
|
|
51692
51835
|
Wd as Variable,
|
|
51693
|
-
|
|
51694
|
-
|
|
51836
|
+
T5 as Vector,
|
|
51837
|
+
z5 as Vector3D,
|
|
51695
51838
|
Jn as VectorField,
|
|
51696
51839
|
Rd as VectorFieldVector,
|
|
51697
51840
|
r0 as VectorizedPoint,
|
|
51698
51841
|
oo as VideoExporter,
|
|
51699
51842
|
bt as WHITE,
|
|
51700
|
-
|
|
51701
|
-
|
|
51843
|
+
Bb as Wiggle,
|
|
51844
|
+
Hb as WiggleOutThenIn,
|
|
51702
51845
|
df as Write,
|
|
51703
51846
|
Ge as YELLOW,
|
|
51704
|
-
|
|
51705
|
-
|
|
51847
|
+
Ox as YELLOW_A,
|
|
51848
|
+
Fx as YELLOW_B,
|
|
51706
51849
|
Bf as YELLOW_C,
|
|
51707
|
-
|
|
51708
|
-
|
|
51850
|
+
Ex as YELLOW_D,
|
|
51851
|
+
zx as YELLOW_E,
|
|
51709
51852
|
d1 as ZoomDisplayPopOut,
|
|
51710
|
-
|
|
51711
|
-
|
|
51712
|
-
|
|
51713
|
-
|
|
51714
|
-
|
|
51715
|
-
|
|
51716
|
-
|
|
51717
|
-
|
|
51718
|
-
|
|
51719
|
-
|
|
51720
|
-
|
|
51721
|
-
|
|
51722
|
-
|
|
51723
|
-
|
|
51724
|
-
|
|
51725
|
-
|
|
51726
|
-
|
|
51727
|
-
|
|
51853
|
+
x5 as ZoomedScene,
|
|
51854
|
+
a6 as addTextLetterByLetter,
|
|
51855
|
+
o7 as addVec,
|
|
51856
|
+
d5 as animationGroup,
|
|
51857
|
+
d6 as applyFunction,
|
|
51858
|
+
f6 as applyMatrix,
|
|
51859
|
+
v6 as applyPointwiseFunction,
|
|
51860
|
+
Y6 as applyWave,
|
|
51861
|
+
R5 as areKatexStylesLoaded,
|
|
51862
|
+
Y5 as binaryTree,
|
|
51863
|
+
Z5 as bipartiteGraph,
|
|
51864
|
+
N6 as broadcast,
|
|
51865
|
+
H6 as circumscribe,
|
|
51866
|
+
V5 as completeGraph,
|
|
51867
|
+
C6 as complexHomotopy,
|
|
51868
|
+
E5 as complexValueTracker,
|
|
51869
|
+
F3 as compose,
|
|
51870
|
+
s6 as create,
|
|
51728
51871
|
gp as createBezierShaderMaterial,
|
|
51729
|
-
|
|
51730
|
-
|
|
51731
|
-
|
|
51732
|
-
|
|
51733
|
-
|
|
51734
|
-
|
|
51735
|
-
|
|
51736
|
-
|
|
51872
|
+
J5 as createDiceRow,
|
|
51873
|
+
K5 as createFadeToBlack,
|
|
51874
|
+
Q5 as createFadeToWhite,
|
|
51875
|
+
r7 as createFrameTimeTracker,
|
|
51876
|
+
tx as createGifExporter,
|
|
51877
|
+
i7 as createPerformanceMonitor,
|
|
51878
|
+
sx as createVideoExporter,
|
|
51879
|
+
H5 as cycleGraph,
|
|
51737
51880
|
Rn as deserializeMobject,
|
|
51738
|
-
|
|
51739
|
-
|
|
51740
|
-
|
|
51741
|
-
|
|
51742
|
-
|
|
51743
|
-
|
|
51744
|
-
|
|
51745
|
-
|
|
51746
|
-
|
|
51747
|
-
|
|
51748
|
-
|
|
51749
|
-
|
|
51750
|
-
|
|
51751
|
-
|
|
51752
|
-
|
|
51753
|
-
|
|
51754
|
-
|
|
51755
|
-
|
|
51756
|
-
|
|
51757
|
-
|
|
51758
|
-
|
|
51759
|
-
|
|
51760
|
-
|
|
51761
|
-
|
|
51762
|
-
|
|
51763
|
-
|
|
51881
|
+
R3 as doubleSmooth,
|
|
51882
|
+
i6 as drawBorderThenFill,
|
|
51883
|
+
w3 as easeIn,
|
|
51884
|
+
n5 as easeInBack,
|
|
51885
|
+
P3 as easeInBounce,
|
|
51886
|
+
s5 as easeInCirc,
|
|
51887
|
+
w3 as easeInCubic,
|
|
51888
|
+
h5 as easeInElastic,
|
|
51889
|
+
T3 as easeInExpo,
|
|
51890
|
+
x3 as easeInOut,
|
|
51891
|
+
a5 as easeInOutBack,
|
|
51892
|
+
u5 as easeInOutBounce,
|
|
51893
|
+
r5 as easeInOutCirc,
|
|
51894
|
+
x3 as easeInOutCubic,
|
|
51895
|
+
c5 as easeInOutElastic,
|
|
51896
|
+
e5 as easeInOutExpo,
|
|
51897
|
+
Y3 as easeInOutQuad,
|
|
51898
|
+
K3 as easeInOutQuart,
|
|
51899
|
+
t5 as easeInOutQuint,
|
|
51900
|
+
X3 as easeInOutSine,
|
|
51901
|
+
M3 as easeInQuad,
|
|
51902
|
+
$3 as easeInQuart,
|
|
51903
|
+
Q3 as easeInQuint,
|
|
51904
|
+
H3 as easeInSine,
|
|
51905
|
+
S3 as easeOut,
|
|
51906
|
+
o5 as easeOutBack,
|
|
51764
51907
|
$o as easeOutBounce,
|
|
51765
|
-
|
|
51766
|
-
|
|
51767
|
-
|
|
51768
|
-
|
|
51769
|
-
|
|
51770
|
-
|
|
51771
|
-
|
|
51772
|
-
|
|
51773
|
-
|
|
51774
|
-
|
|
51908
|
+
i5 as easeOutCirc,
|
|
51909
|
+
S3 as easeOutCubic,
|
|
51910
|
+
l5 as easeOutElastic,
|
|
51911
|
+
C3 as easeOutExpo,
|
|
51912
|
+
k3 as easeOutQuad,
|
|
51913
|
+
Z3 as easeOutQuart,
|
|
51914
|
+
J3 as easeOutQuint,
|
|
51915
|
+
q3 as easeOutSine,
|
|
51916
|
+
y3 as ensureCCW,
|
|
51917
|
+
b3 as ensureCW,
|
|
51775
51918
|
f4 as ensureKatexStyles,
|
|
51776
|
-
|
|
51777
|
-
|
|
51778
|
-
|
|
51779
|
-
|
|
51780
|
-
|
|
51919
|
+
U3 as exponentialDecay,
|
|
51920
|
+
t6 as fadeIn,
|
|
51921
|
+
e6 as fadeOut,
|
|
51922
|
+
g6 as fadeToColor,
|
|
51923
|
+
V6 as flash,
|
|
51781
51924
|
Wc as flowPoint,
|
|
51782
|
-
|
|
51783
|
-
|
|
51784
|
-
|
|
51785
|
-
|
|
51786
|
-
|
|
51787
|
-
|
|
51925
|
+
k6 as flowPointTrajectory,
|
|
51926
|
+
$6 as focusOn,
|
|
51927
|
+
f7 as getFeatureFlags,
|
|
51928
|
+
$5 as gridGraph,
|
|
51929
|
+
L6 as growArrow,
|
|
51930
|
+
x6 as growFromCenter,
|
|
51931
|
+
R6 as growFromEdge,
|
|
51932
|
+
D6 as growFromPoint,
|
|
51933
|
+
T6 as homotopy,
|
|
51788
51934
|
hb as hungarian,
|
|
51789
|
-
|
|
51790
|
-
|
|
51791
|
-
|
|
51792
|
-
|
|
51935
|
+
_6 as hungarianFromSimilarity,
|
|
51936
|
+
G6 as indicate,
|
|
51937
|
+
c7 as isFeatureEnabled,
|
|
51938
|
+
D5 as isMathJaxLoaded,
|
|
51793
51939
|
v4 as katexCanRender,
|
|
51794
|
-
|
|
51940
|
+
F6 as laggedStart,
|
|
51795
51941
|
vs as linear,
|
|
51796
|
-
|
|
51797
|
-
|
|
51798
|
-
|
|
51799
|
-
|
|
51800
|
-
|
|
51801
|
-
|
|
51802
|
-
|
|
51803
|
-
|
|
51804
|
-
|
|
51805
|
-
|
|
51942
|
+
j3 as lingering,
|
|
51943
|
+
h7 as linspace,
|
|
51944
|
+
j6 as maintainPositionRelativeTo,
|
|
51945
|
+
s7 as makeClickable,
|
|
51946
|
+
t7 as makeDraggable,
|
|
51947
|
+
e7 as makeHoverable,
|
|
51948
|
+
M6 as moveAlongPath,
|
|
51949
|
+
u6 as moveToTarget,
|
|
51950
|
+
S6 as moveToTargetPosition,
|
|
51951
|
+
W3 as notQuiteThere,
|
|
51806
51952
|
m4 as parseSVGPathData,
|
|
51807
|
-
|
|
51808
|
-
|
|
51809
|
-
|
|
51810
|
-
|
|
51811
|
-
|
|
51953
|
+
q5 as pathGraph,
|
|
51954
|
+
A6 as phaseFlow,
|
|
51955
|
+
O5 as preloadMathJax,
|
|
51956
|
+
Z6 as pulse,
|
|
51957
|
+
h6 as removeTextLetterByLetter,
|
|
51812
51958
|
dn as renderLatexToSVG,
|
|
51813
|
-
|
|
51814
|
-
|
|
51815
|
-
|
|
51816
|
-
|
|
51817
|
-
|
|
51959
|
+
c6 as replacementTransform,
|
|
51960
|
+
d7 as resetFeatureFlags,
|
|
51961
|
+
m6 as restore,
|
|
51962
|
+
v5 as restoreMobjectState,
|
|
51963
|
+
O3 as reverse,
|
|
51818
51964
|
xb as rk4Step,
|
|
51819
|
-
|
|
51820
|
-
|
|
51821
|
-
|
|
51822
|
-
|
|
51823
|
-
|
|
51824
|
-
|
|
51825
|
-
|
|
51826
|
-
|
|
51965
|
+
y6 as rotate,
|
|
51966
|
+
U6 as rotating,
|
|
51967
|
+
B3 as runningStart,
|
|
51968
|
+
L3 as rushFrom,
|
|
51969
|
+
A3 as rushInto,
|
|
51970
|
+
_5 as saveMobjectState,
|
|
51971
|
+
b6 as scale,
|
|
51972
|
+
n7 as scaleVec,
|
|
51827
51973
|
Ln as serializeMobject,
|
|
51828
|
-
|
|
51829
|
-
|
|
51830
|
-
|
|
51831
|
-
|
|
51974
|
+
u7 as setFeatureFlags,
|
|
51975
|
+
w6 as shift,
|
|
51976
|
+
K6 as showCreationThenDestruction,
|
|
51977
|
+
X6 as showPassingFlash,
|
|
51832
51978
|
t0 as signedArea2D,
|
|
51833
51979
|
vo as skeletonizeGlyph,
|
|
51834
|
-
|
|
51980
|
+
E3 as slowInto,
|
|
51835
51981
|
ke as smooth,
|
|
51836
|
-
|
|
51837
|
-
|
|
51838
|
-
|
|
51839
|
-
|
|
51840
|
-
|
|
51841
|
-
|
|
51982
|
+
P6 as smoothedVectorizedHomotopy,
|
|
51983
|
+
V3 as smoothererstep,
|
|
51984
|
+
G3 as smootherstep,
|
|
51985
|
+
N3 as smoothstep,
|
|
51986
|
+
g5 as snapshotFromJSON,
|
|
51987
|
+
m5 as snapshotToJSON,
|
|
51842
51988
|
pf as solveIVP,
|
|
51843
|
-
|
|
51844
|
-
|
|
51845
|
-
|
|
51846
|
-
|
|
51847
|
-
|
|
51848
|
-
|
|
51849
|
-
|
|
51850
|
-
|
|
51989
|
+
O6 as spinInFromNothing,
|
|
51990
|
+
Vp as squishRateFunc,
|
|
51991
|
+
X5 as starGraph,
|
|
51992
|
+
p5 as stateFromJSON,
|
|
51993
|
+
f5 as stateToJSON,
|
|
51994
|
+
D3 as stepFunction,
|
|
51995
|
+
a7 as subVec,
|
|
51996
|
+
z6 as succession,
|
|
51997
|
+
G5 as svgMobject,
|
|
51851
51998
|
_4 as svgToVMobjects,
|
|
51852
|
-
|
|
51999
|
+
I5 as texturedSphere,
|
|
51853
52000
|
o0 as thereAndBack,
|
|
51854
|
-
|
|
51855
|
-
|
|
52001
|
+
z3 as thereAndBackWithPause,
|
|
52002
|
+
l6 as transform,
|
|
51856
52003
|
Fa as triangulatePolygon,
|
|
51857
|
-
|
|
51858
|
-
|
|
51859
|
-
|
|
52004
|
+
v3 as triangulatePolygonPositions,
|
|
52005
|
+
r6 as uncreate,
|
|
52006
|
+
o6 as unwrite,
|
|
51860
52007
|
_p as updateBezierMaterialResolution,
|
|
51861
|
-
|
|
51862
|
-
|
|
51863
|
-
|
|
51864
|
-
|
|
51865
|
-
|
|
51866
|
-
|
|
51867
|
-
|
|
52008
|
+
W6 as updateFromAlphaFunc,
|
|
52009
|
+
I6 as updateFromFunc,
|
|
52010
|
+
F5 as valueTracker,
|
|
52011
|
+
q6 as wiggle,
|
|
52012
|
+
Q6 as wiggleOutThenIn,
|
|
52013
|
+
I3 as wiggleRate,
|
|
52014
|
+
n6 as write
|
|
51868
52015
|
};
|