manim-web 0.3.17 → 0.3.19
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/README.md +26 -40
- package/dist/AllPackages-C4Ha3Jps.js +7912 -0
- package/dist/AllPackages-Dwxf_-Ps.js +7912 -0
- package/dist/BaseConfiguration-D2fikupy.js +4402 -0
- package/dist/BaseConfiguration-DYpI8zxb.js +4402 -0
- package/dist/Entities-BxzKxtF2.js +458 -0
- package/dist/Entities-gIbwAkB6.js +458 -0
- package/dist/GifExporter-7EpPGupp.js +338 -0
- package/dist/GifExporter-DCrSD6FV.js +338 -0
- package/dist/InputJax-BszJvLkW.js +43 -0
- package/dist/InputJax-CgHBfQsv.js +43 -0
- package/dist/MathItem-4gYKatZT.js +77 -0
- package/dist/MathItem-BGJUnd1K.js +77 -0
- package/dist/Options-CQim5zsr.js +188 -0
- package/dist/Options-Cn9jv1mh.js +188 -0
- package/dist/PrioritizedList-C1R4aNEC.js +36 -0
- package/dist/PrioritizedList-lIkFMNlo.js +36 -0
- package/dist/Styles-Bi9Db-2J.js +411 -0
- package/dist/Styles-CzHPc-An.js +411 -0
- package/dist/TeXAtom-Cinii27y.js +2025 -0
- package/dist/TeXAtom-DFdvwkN2.js +2025 -0
- package/dist/VideoExporter-6w8xBpcV.js +102 -0
- package/dist/VideoExporter-DdQb18dC.js +102 -0
- package/dist/animation/creation/Create.d.ts +1 -1
- package/dist/animation/movement/Rotate.d.ts +2 -0
- package/dist/animation/movement/Rotate.d.ts.map +1 -1
- package/dist/animation/movement/Scale.d.ts +2 -0
- package/dist/animation/movement/Scale.d.ts.map +1 -1
- package/dist/animation/transform/ApplyTransforms.d.ts +1 -2
- package/dist/animation/transform/ApplyTransforms.d.ts.map +1 -1
- package/dist/animation/transform/Transform.d.ts +19 -0
- package/dist/animation/transform/Transform.d.ts.map +1 -1
- package/dist/animation/utility/index.d.ts +2 -0
- package/dist/animation/utility/index.d.ts.map +1 -1
- package/dist/chunk-DeC0fbbY.js +23 -0
- package/dist/core/AnimateProxy.d.ts +39 -0
- package/dist/core/AnimateProxy.d.ts.map +1 -0
- package/dist/core/CameraExtensions.d.ts +128 -0
- package/dist/core/CameraExtensions.d.ts.map +1 -1
- package/dist/core/Group.d.ts +2 -2
- package/dist/core/Group.d.ts.map +1 -1
- package/dist/core/Mobject.d.ts +40 -6
- package/dist/core/Mobject.d.ts.map +1 -1
- package/dist/core/MobjectState.d.ts +23 -2
- package/dist/core/MobjectState.d.ts.map +1 -1
- package/dist/core/NullRenderer.d.ts +42 -0
- package/dist/core/NullRenderer.d.ts.map +1 -0
- package/dist/core/Renderer.d.ts +17 -1
- package/dist/core/Renderer.d.ts.map +1 -1
- package/dist/core/Scene.d.ts +23 -5
- package/dist/core/Scene.d.ts.map +1 -1
- package/dist/core/ThreeDScene.d.ts +23 -2
- package/dist/core/ThreeDScene.d.ts.map +1 -1
- package/dist/core/VGroup.d.ts +8 -1
- package/dist/core/VGroup.d.ts.map +1 -1
- package/dist/core/ZoomedScene.d.ts +6 -2
- package/dist/core/ZoomedScene.d.ts.map +1 -1
- package/dist/html-DKkfg_ss.js +1587 -0
- package/dist/html-DpiYkktJ.js +1587 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -575
- package/dist/integrations/react.js +144 -731
- package/dist/integrations/vue.js +109 -731
- package/dist/interaction/Draggable.d.ts.map +1 -1
- package/dist/lengths-C0YS8_KC.js +65 -0
- package/dist/lengths-eBH2o1TO.js +65 -0
- package/dist/liteAdaptor-CB8lQj3d.js +828 -0
- package/dist/liteAdaptor-DvuW8HsZ.js +828 -0
- package/dist/manim-web.browser.js +72318 -83323
- package/dist/mathjax-BVz9WLAG.js +105 -0
- package/dist/mathjax-BbWkqal4.js +2 -0
- package/dist/mathjax-BrFZxFhK.js +2 -0
- package/dist/mathjax-DdKmwllV.js +105 -0
- package/dist/mo-B60kIOAG.js +3271 -0
- package/dist/mo-cSv2058o.js +3271 -0
- package/dist/mobjects/geometry/AngleShapes.d.ts +8 -0
- package/dist/mobjects/geometry/AngleShapes.d.ts.map +1 -1
- package/dist/mobjects/geometry/DashedLine.d.ts +2 -2
- package/dist/mobjects/geometry/DashedLine.d.ts.map +1 -1
- package/dist/mobjects/graphing/Axes.d.ts +2 -2
- package/dist/mobjects/graphing/Axes.d.ts.map +1 -1
- package/dist/mobjects/graphing/ComplexPlane.d.ts +4 -1
- package/dist/mobjects/graphing/ComplexPlane.d.ts.map +1 -1
- package/dist/mobjects/matrix/Matrix.d.ts +2 -2
- package/dist/mobjects/matrix/Matrix.d.ts.map +1 -1
- package/dist/mobjects/point/PGroup.d.ts +1 -1
- package/dist/mobjects/point/PGroup.d.ts.map +1 -1
- package/dist/mobjects/point/PMobject.d.ts +1 -1
- package/dist/mobjects/point/PMobject.d.ts.map +1 -1
- package/dist/mobjects/svg/Brace.d.ts +3 -3
- package/dist/mobjects/svg/Brace.d.ts.map +1 -1
- package/dist/mobjects/table/Table.d.ts +4 -4
- package/dist/mobjects/table/Table.d.ts.map +1 -1
- package/dist/mobjects/text/Code.d.ts.map +1 -1
- package/dist/mobjects/text/DecimalNumber.d.ts.map +1 -1
- package/dist/mobjects/text/MathJaxRenderer.d.ts.map +1 -1
- package/dist/mobjects/text/MathTex.d.ts +61 -202
- package/dist/mobjects/text/MathTex.d.ts.map +1 -1
- package/dist/mobjects/text/MathTexImage.d.ts +254 -0
- package/dist/mobjects/text/MathTexImage.d.ts.map +1 -0
- package/dist/mobjects/text/MathTexParts.d.ts +10 -10
- package/dist/mobjects/text/MathTexParts.d.ts.map +1 -1
- package/dist/mobjects/text/Tex.d.ts +2 -7
- package/dist/mobjects/text/Tex.d.ts.map +1 -1
- package/dist/mobjects/text/Text.d.ts.map +1 -1
- package/dist/mobjects/text/Variable.d.ts +5 -5
- package/dist/mobjects/text/Variable.d.ts.map +1 -1
- package/dist/mobjects/text/index.d.ts +2 -2
- package/dist/mobjects/text/index.d.ts.map +1 -1
- package/dist/mobjects/text/svgPathParser.d.ts.map +1 -1
- package/dist/mobjects/value-tracker/ValueTracker.d.ts +0 -14
- package/dist/mobjects/value-tracker/ValueTracker.d.ts.map +1 -1
- package/dist/player/Player.d.ts +8 -2
- package/dist/player/Player.d.ts.map +1 -1
- package/dist/player/PlayerController.d.ts +2 -0
- package/dist/player/PlayerController.d.ts.map +1 -1
- package/dist/player/PlayerUI.d.ts +5 -0
- package/dist/player/PlayerUI.d.ts.map +1 -1
- package/dist/src-0ifQdJUj.js +59703 -0
- package/dist/svg-BDTt4xHZ.js +23879 -0
- package/dist/svg-DzbC3CbJ.js +23879 -0
- package/dist/tex-CRhAZgfS.js +401 -0
- package/dist/tex-D3LEgNlQ.js +401 -0
- package/dist/utils/math.d.ts +7 -0
- package/dist/utils/math.d.ts.map +1 -1
- package/package.json +3 -2
- package/dist/featureFlags-RDWYX142.js +0 -59330
- package/dist/mobjects/text/MathTexSVG.d.ts +0 -102
- package/dist/mobjects/text/MathTexSVG.d.ts.map +0 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { t as __commonJSMin } from "./chunk-DeC0fbbY.js";
|
|
2
|
+
import { t as require_PrioritizedList } from "./PrioritizedList-C1R4aNEC.js";
|
|
3
|
+
//#region node_modules/mathjax-full/js/util/Retries.js
|
|
4
|
+
var require_Retries = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
5
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.retryAfter = e.handleRetriesFor = void 0;
|
|
6
|
+
function t(e) {
|
|
7
|
+
return new Promise(function t(n, r) {
|
|
8
|
+
try {
|
|
9
|
+
n(e());
|
|
10
|
+
} catch (e) {
|
|
11
|
+
e.retry && e.retry instanceof Promise ? e.retry.then(function() {
|
|
12
|
+
return t(n, r);
|
|
13
|
+
}).catch(function(e) {
|
|
14
|
+
return r(e);
|
|
15
|
+
}) : e.restart && e.restart.isCallback ? MathJax.Callback.After(function() {
|
|
16
|
+
return t(n, r);
|
|
17
|
+
}, e.restart) : r(e);
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
e.handleRetriesFor = t;
|
|
22
|
+
function n(e) {
|
|
23
|
+
var t = /* @__PURE__ */ Error("MathJax retry");
|
|
24
|
+
throw t.retry = e, t;
|
|
25
|
+
}
|
|
26
|
+
e.retryAfter = n;
|
|
27
|
+
})), require_version = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: !0 }), exports.VERSION = void 0, exports.VERSION = typeof PACKAGE_VERSION > "u" ? (function() {
|
|
29
|
+
var load = eval("require"), dirname = eval("__dirname"), path = load("path");
|
|
30
|
+
return load(path.resolve(dirname, "..", "..", "package.json")).version;
|
|
31
|
+
})() : PACKAGE_VERSION;
|
|
32
|
+
})), require_HandlerList = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
33
|
+
var t = e && e.__extends || (function() {
|
|
34
|
+
var e = function(t, n) {
|
|
35
|
+
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
36
|
+
e.__proto__ = t;
|
|
37
|
+
} || function(e, t) {
|
|
38
|
+
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
39
|
+
}, e(t, n);
|
|
40
|
+
};
|
|
41
|
+
return function(t, n) {
|
|
42
|
+
if (typeof n != "function" && n !== null) throw TypeError("Class extends value " + String(n) + " is not a constructor or null");
|
|
43
|
+
e(t, n);
|
|
44
|
+
function r() {
|
|
45
|
+
this.constructor = t;
|
|
46
|
+
}
|
|
47
|
+
t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
|
|
48
|
+
};
|
|
49
|
+
})(), n = e && e.__values || function(e) {
|
|
50
|
+
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
51
|
+
if (n) return n.call(e);
|
|
52
|
+
if (e && typeof e.length == "number") return { next: function() {
|
|
53
|
+
return e && r >= e.length && (e = void 0), {
|
|
54
|
+
value: e && e[r++],
|
|
55
|
+
done: !e
|
|
56
|
+
};
|
|
57
|
+
} };
|
|
58
|
+
throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
59
|
+
};
|
|
60
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.HandlerList = void 0, e.HandlerList = function(e) {
|
|
61
|
+
t(r, e);
|
|
62
|
+
function r() {
|
|
63
|
+
return e !== null && e.apply(this, arguments) || this;
|
|
64
|
+
}
|
|
65
|
+
return r.prototype.register = function(e) {
|
|
66
|
+
return this.add(e, e.priority);
|
|
67
|
+
}, r.prototype.unregister = function(e) {
|
|
68
|
+
this.remove(e);
|
|
69
|
+
}, r.prototype.handlesDocument = function(e) {
|
|
70
|
+
var t, r;
|
|
71
|
+
try {
|
|
72
|
+
for (var i = n(this), a = i.next(); !a.done; a = i.next()) {
|
|
73
|
+
var o = a.value.item;
|
|
74
|
+
if (o.handlesDocument(e)) return o;
|
|
75
|
+
}
|
|
76
|
+
} catch (e) {
|
|
77
|
+
t = { error: e };
|
|
78
|
+
} finally {
|
|
79
|
+
try {
|
|
80
|
+
a && !a.done && (r = i.return) && r.call(i);
|
|
81
|
+
} finally {
|
|
82
|
+
if (t) throw t.error;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
throw Error("Can't find handler for document");
|
|
86
|
+
}, r.prototype.document = function(e, t) {
|
|
87
|
+
return t === void 0 && (t = null), this.handlesDocument(e).create(e, t);
|
|
88
|
+
}, r;
|
|
89
|
+
}(require_PrioritizedList().PrioritizedList);
|
|
90
|
+
})), require_mathjax = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
91
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.mathjax = void 0;
|
|
92
|
+
var t = require_version(), n = require_HandlerList(), r = require_Retries();
|
|
93
|
+
e.mathjax = {
|
|
94
|
+
version: t.VERSION,
|
|
95
|
+
handlers: new n.HandlerList(),
|
|
96
|
+
document: function(t, n) {
|
|
97
|
+
return e.mathjax.handlers.document(t, n);
|
|
98
|
+
},
|
|
99
|
+
handleRetriesFor: r.handleRetriesFor,
|
|
100
|
+
retryAfter: r.retryAfter,
|
|
101
|
+
asyncLoad: null
|
|
102
|
+
};
|
|
103
|
+
}));
|
|
104
|
+
//#endregion
|
|
105
|
+
export { require_Retries as n, require_mathjax as t };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { t as __commonJSMin } from "./chunk-DeC0fbbY.js";
|
|
2
|
+
import { t as require_PrioritizedList } from "./PrioritizedList-lIkFMNlo.js";
|
|
3
|
+
//#region node_modules/mathjax-full/js/util/Retries.js
|
|
4
|
+
var require_Retries = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
5
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.retryAfter = e.handleRetriesFor = void 0;
|
|
6
|
+
function t(e) {
|
|
7
|
+
return new Promise(function t(n, r) {
|
|
8
|
+
try {
|
|
9
|
+
n(e());
|
|
10
|
+
} catch (e) {
|
|
11
|
+
e.retry && e.retry instanceof Promise ? e.retry.then(function() {
|
|
12
|
+
return t(n, r);
|
|
13
|
+
}).catch(function(e) {
|
|
14
|
+
return r(e);
|
|
15
|
+
}) : e.restart && e.restart.isCallback ? MathJax.Callback.After(function() {
|
|
16
|
+
return t(n, r);
|
|
17
|
+
}, e.restart) : r(e);
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
e.handleRetriesFor = t;
|
|
22
|
+
function n(e) {
|
|
23
|
+
var t = /* @__PURE__ */ Error("MathJax retry");
|
|
24
|
+
throw t.retry = e, t;
|
|
25
|
+
}
|
|
26
|
+
e.retryAfter = n;
|
|
27
|
+
})), require_version = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: !0 }), exports.VERSION = void 0, exports.VERSION = typeof PACKAGE_VERSION > "u" ? (function() {
|
|
29
|
+
var load = eval("require"), dirname = eval("__dirname"), path = load("path");
|
|
30
|
+
return load(path.resolve(dirname, "..", "..", "package.json")).version;
|
|
31
|
+
})() : PACKAGE_VERSION;
|
|
32
|
+
})), require_HandlerList = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
33
|
+
var t = e && e.__extends || (function() {
|
|
34
|
+
var e = function(t, n) {
|
|
35
|
+
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
36
|
+
e.__proto__ = t;
|
|
37
|
+
} || function(e, t) {
|
|
38
|
+
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
39
|
+
}, e(t, n);
|
|
40
|
+
};
|
|
41
|
+
return function(t, n) {
|
|
42
|
+
if (typeof n != "function" && n !== null) throw TypeError("Class extends value " + String(n) + " is not a constructor or null");
|
|
43
|
+
e(t, n);
|
|
44
|
+
function r() {
|
|
45
|
+
this.constructor = t;
|
|
46
|
+
}
|
|
47
|
+
t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
|
|
48
|
+
};
|
|
49
|
+
})(), n = e && e.__values || function(e) {
|
|
50
|
+
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
51
|
+
if (n) return n.call(e);
|
|
52
|
+
if (e && typeof e.length == "number") return { next: function() {
|
|
53
|
+
return e && r >= e.length && (e = void 0), {
|
|
54
|
+
value: e && e[r++],
|
|
55
|
+
done: !e
|
|
56
|
+
};
|
|
57
|
+
} };
|
|
58
|
+
throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
59
|
+
};
|
|
60
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.HandlerList = void 0, e.HandlerList = function(e) {
|
|
61
|
+
t(r, e);
|
|
62
|
+
function r() {
|
|
63
|
+
return e !== null && e.apply(this, arguments) || this;
|
|
64
|
+
}
|
|
65
|
+
return r.prototype.register = function(e) {
|
|
66
|
+
return this.add(e, e.priority);
|
|
67
|
+
}, r.prototype.unregister = function(e) {
|
|
68
|
+
this.remove(e);
|
|
69
|
+
}, r.prototype.handlesDocument = function(e) {
|
|
70
|
+
var t, r;
|
|
71
|
+
try {
|
|
72
|
+
for (var i = n(this), a = i.next(); !a.done; a = i.next()) {
|
|
73
|
+
var o = a.value.item;
|
|
74
|
+
if (o.handlesDocument(e)) return o;
|
|
75
|
+
}
|
|
76
|
+
} catch (e) {
|
|
77
|
+
t = { error: e };
|
|
78
|
+
} finally {
|
|
79
|
+
try {
|
|
80
|
+
a && !a.done && (r = i.return) && r.call(i);
|
|
81
|
+
} finally {
|
|
82
|
+
if (t) throw t.error;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
throw Error("Can't find handler for document");
|
|
86
|
+
}, r.prototype.document = function(e, t) {
|
|
87
|
+
return t === void 0 && (t = null), this.handlesDocument(e).create(e, t);
|
|
88
|
+
}, r;
|
|
89
|
+
}(require_PrioritizedList().PrioritizedList);
|
|
90
|
+
})), require_mathjax = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
91
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.mathjax = void 0;
|
|
92
|
+
var t = require_version(), n = require_HandlerList(), r = require_Retries();
|
|
93
|
+
e.mathjax = {
|
|
94
|
+
version: t.VERSION,
|
|
95
|
+
handlers: new n.HandlerList(),
|
|
96
|
+
document: function(t, n) {
|
|
97
|
+
return e.mathjax.handlers.document(t, n);
|
|
98
|
+
},
|
|
99
|
+
handleRetriesFor: r.handleRetriesFor,
|
|
100
|
+
retryAfter: r.retryAfter,
|
|
101
|
+
asyncLoad: null
|
|
102
|
+
};
|
|
103
|
+
}));
|
|
104
|
+
//#endregion
|
|
105
|
+
export { require_Retries as n, require_mathjax as t };
|