manim-web 0.3.20 → 0.3.21

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.
Files changed (144) hide show
  1. package/dist/AmsConfiguration-BMyoprhk.js +847 -0
  2. package/dist/AmsConfiguration-BdxxYRby.js +847 -0
  3. package/dist/ConfigMacrosConfiguration-B8X_JSVI.js +46 -0
  4. package/dist/ConfigMacrosConfiguration-DUxp6DUV.js +46 -0
  5. package/dist/Entities-B1o7gN0J.js +429 -0
  6. package/dist/Entities-C82lnCux.js +429 -0
  7. package/dist/Factory-BKM7FEO-.js +107 -0
  8. package/dist/Factory-D-whCqrb.js +107 -0
  9. package/dist/{GifExporter-C9lP34Iu.js → GifExporter-BrxY_q7e.js} +1 -1
  10. package/dist/{GifExporter-DBak5Vk7.js → GifExporter-S2pbxMc5.js} +1 -1
  11. package/dist/HtmlNode-BLmQ2r7U.js +981 -0
  12. package/dist/HtmlNode-DXGeKrcW.js +981 -0
  13. package/dist/InputJax-DL9oUQY4.js +41 -0
  14. package/dist/InputJax-DnDWM3Y0.js +41 -0
  15. package/dist/NewcommandConfiguration-BPjclFig.js +32 -0
  16. package/dist/NewcommandConfiguration-bJ6P1rBY.js +32 -0
  17. package/dist/NewcommandMethods-C_E3iLoK.js +187 -0
  18. package/dist/NewcommandMethods-Cb7yFm5P.js +187 -0
  19. package/dist/Options-DRlTi0G8.js +63 -0
  20. package/dist/Options-XPptO-6X.js +63 -0
  21. package/dist/ParseMethods-BMPfzfQC.js +2636 -0
  22. package/dist/ParseMethods-D3_HeS1K.js +2636 -0
  23. package/dist/Styles-Dky5jZUe.js +293 -0
  24. package/dist/Styles-J-6R3Vr8.js +293 -0
  25. package/dist/{VideoExporter-Bdtz_pWv.js → VideoExporter-6ikT3u9H.js} +1 -1
  26. package/dist/{VideoExporter-Vjfsnv1h.js → VideoExporter-D_RxVahH.js} +1 -1
  27. package/dist/animation/Animation.d.ts +15 -0
  28. package/dist/animation/Animation.d.ts.map +1 -1
  29. package/dist/animation/transform/FadeMorphStrategy.d.ts +18 -0
  30. package/dist/animation/transform/FadeMorphStrategy.d.ts.map +1 -0
  31. package/dist/animation/transform/FadeTransforms.d.ts +2 -0
  32. package/dist/animation/transform/FadeTransforms.d.ts.map +1 -1
  33. package/dist/animation/transform/MorphStrategy.d.ts +8 -0
  34. package/dist/animation/transform/MorphStrategy.d.ts.map +1 -0
  35. package/dist/animation/transform/MovementTransforms.d.ts.map +1 -1
  36. package/dist/animation/transform/PointMorphStrategy.d.ts +36 -0
  37. package/dist/animation/transform/PointMorphStrategy.d.ts.map +1 -0
  38. package/dist/animation/transform/ShapeMorphStrategy.d.ts +39 -0
  39. package/dist/animation/transform/ShapeMorphStrategy.d.ts.map +1 -0
  40. package/dist/animation/transform/Transform.d.ts +9 -91
  41. package/dist/animation/transform/Transform.d.ts.map +1 -1
  42. package/dist/animation/transform/TransformMatching.d.ts.map +1 -1
  43. package/dist/animation/transform/TransformMatchingBase.d.ts +1 -0
  44. package/dist/animation/transform/TransformMatchingBase.d.ts.map +1 -1
  45. package/dist/animation/transform/TransformMatchingShared.d.ts +37 -0
  46. package/dist/animation/transform/TransformMatchingShared.d.ts.map +1 -0
  47. package/dist/animation/transform/TransformPairing.d.ts +19 -0
  48. package/dist/animation/transform/TransformPairing.d.ts.map +1 -0
  49. package/dist/core/AnimateProxy.d.ts +1 -0
  50. package/dist/core/AnimateProxy.d.ts.map +1 -1
  51. package/dist/core/Group.d.ts +2 -0
  52. package/dist/core/Group.d.ts.map +1 -1
  53. package/dist/core/Mobject.d.ts +6 -0
  54. package/dist/core/Mobject.d.ts.map +1 -1
  55. package/dist/core/Scene.d.ts.map +1 -1
  56. package/dist/core/TexturedMobject.d.ts +38 -0
  57. package/dist/core/TexturedMobject.d.ts.map +1 -0
  58. package/dist/core/ThreeDScene.d.ts +16 -3
  59. package/dist/core/ThreeDScene.d.ts.map +1 -1
  60. package/dist/core/VMobject.d.ts +34 -109
  61. package/dist/core/VMobject.d.ts.map +1 -1
  62. package/dist/core/VMobjectCurveUtils.d.ts +106 -0
  63. package/dist/core/VMobjectCurveUtils.d.ts.map +1 -0
  64. package/dist/core/VMobjectGeometry.d.ts +2 -15
  65. package/dist/core/VMobjectGeometry.d.ts.map +1 -1
  66. package/dist/core/VMobjectRendering.d.ts.map +1 -1
  67. package/dist/core/VMobjectStrokeGeometry.d.ts +20 -0
  68. package/dist/core/VMobjectStrokeGeometry.d.ts.map +1 -0
  69. package/dist/core/VMobjectTransformAlignment.d.ts +11 -0
  70. package/dist/core/VMobjectTransformAlignment.d.ts.map +1 -0
  71. package/dist/html-DU38zqaN.js +829 -0
  72. package/dist/html-DjkQuIHJ.js +829 -0
  73. package/dist/index.js +4 -4
  74. package/dist/integrations/react.js +5 -5
  75. package/dist/integrations/vue.js +7 -7
  76. package/dist/interaction/Draggable.d.ts +2 -0
  77. package/dist/interaction/Draggable.d.ts.map +1 -1
  78. package/dist/lengths-CP7zmbxJ.js +54 -0
  79. package/dist/lengths-D4tR1gYA.js +54 -0
  80. package/dist/liteAdaptor-BLgze3o2.js +616 -0
  81. package/dist/liteAdaptor-zXv-jsO1.js +616 -0
  82. package/dist/manim-web.browser.js +34463 -31055
  83. package/dist/mathjax-7LgaTjtj.js +121 -0
  84. package/dist/mathjax-CoSFlQ0H.js +121 -0
  85. package/dist/mo-C5uLT3Z9.js +2675 -0
  86. package/dist/mo-CNYDGAsg.js +2675 -0
  87. package/dist/mobjects/geometry/BooleanOperations.d.ts +1 -1
  88. package/dist/mobjects/geometry/BooleanOperations.d.ts.map +1 -1
  89. package/dist/mobjects/geometry/PolygonExtensions.d.ts +1 -1
  90. package/dist/mobjects/geometry/PolygonExtensions.d.ts.map +1 -1
  91. package/dist/mobjects/graphing/ComplexPlane.d.ts +18 -0
  92. package/dist/mobjects/graphing/ComplexPlane.d.ts.map +1 -1
  93. package/dist/mobjects/image/index.d.ts +9 -2
  94. package/dist/mobjects/image/index.d.ts.map +1 -1
  95. package/dist/mobjects/text/MarkupText.d.ts.map +1 -1
  96. package/dist/mobjects/text/MathJaxRenderer.d.ts.map +1 -1
  97. package/dist/mobjects/text/MathTexImage.d.ts +9 -3
  98. package/dist/mobjects/text/MathTexImage.d.ts.map +1 -1
  99. package/dist/mobjects/text/Text.d.ts +8 -3
  100. package/dist/mobjects/text/Text.d.ts.map +1 -1
  101. package/dist/mobjects/text/svgPathParser.d.ts.map +1 -1
  102. package/dist/mobjects/three-d/ThreeDAxes.d.ts +8 -0
  103. package/dist/mobjects/three-d/ThreeDAxes.d.ts.map +1 -1
  104. package/dist/{src-Db7QTr4S.js → src-CW4pfZdP.js} +32387 -28979
  105. package/dist/svg-CYweEoZ1.js +28698 -0
  106. package/dist/svg-swSF_J59.js +28698 -0
  107. package/dist/tex-C4_queV-.js +1423 -0
  108. package/dist/tex-CA5MLeEe.js +1423 -0
  109. package/dist/utils/math.d.ts +7 -0
  110. package/dist/utils/math.d.ts.map +1 -1
  111. package/package.json +3 -3
  112. package/dist/AllPackages-B0GtkYjD.js +0 -7912
  113. package/dist/AllPackages-BIAELuhU.js +0 -7912
  114. package/dist/BaseConfiguration-CDf44lxS.js +0 -4402
  115. package/dist/BaseConfiguration-Chcqjv9L.js +0 -4402
  116. package/dist/Entities-B_gwJfrn.js +0 -458
  117. package/dist/Entities-CmJkmuw_.js +0 -458
  118. package/dist/InputJax-C5sGfjJ8.js +0 -43
  119. package/dist/InputJax-Jb4hSThK.js +0 -43
  120. package/dist/MathItem-BmK41eqe.js +0 -77
  121. package/dist/MathItem-C_mZyaeT.js +0 -77
  122. package/dist/Options-Ch1vGsgd.js +0 -188
  123. package/dist/Options-V6ag48Dv.js +0 -188
  124. package/dist/PrioritizedList-DkoCmqPk.js +0 -36
  125. package/dist/PrioritizedList-eKTii0tW.js +0 -36
  126. package/dist/Styles-De4BjKiV.js +0 -411
  127. package/dist/Styles-DgoiBrzf.js +0 -411
  128. package/dist/TeXAtom-DT2wCvcU.js +0 -2025
  129. package/dist/TeXAtom-JogI0lus.js +0 -2025
  130. package/dist/html-53__O8r2.js +0 -1587
  131. package/dist/html-DfHFh5II.js +0 -1587
  132. package/dist/lengths-3epoqRj7.js +0 -65
  133. package/dist/lengths-B-bX9Tfk.js +0 -65
  134. package/dist/liteAdaptor-BxFvlO-q.js +0 -828
  135. package/dist/liteAdaptor-CsOIKw2g.js +0 -828
  136. package/dist/mathjax-Bkrmftxh.js +0 -102
  137. package/dist/mathjax-DBrTNl9C.js +0 -102
  138. package/dist/mo-AzagC5AD.js +0 -3271
  139. package/dist/mo-I_6dyJsk.js +0 -3271
  140. package/dist/svg-CoGQ_sAt.js +0 -23880
  141. package/dist/svg-DiIG93Lr.js +0 -23880
  142. package/dist/tex-ChPKMfdv.js +0 -401
  143. package/dist/tex-hYZcjadW.js +0 -401
  144. /package/dist/{chunk-3e0lkp8x.js → rolldown-runtime-DnwLefa7.js} +0 -0
@@ -1,102 +0,0 @@
1
- import { t as e } from "./chunk-3e0lkp8x.js";
2
- import { t } from "./PrioritizedList-eKTii0tW.js";
3
- //#region node_modules/mathjax-full/js/util/Retries.js
4
- var n = /* @__PURE__ */ e(((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
- })), r = /* @__PURE__ */ e(((e) => {
28
- Object.defineProperty(e, "__esModule", { value: !0 }), e.VERSION = void 0, e.VERSION = "3.2.2";
29
- })), i = /* @__PURE__ */ e(((e) => {
30
- var n = e && e.__extends || (function() {
31
- var e = function(t, n) {
32
- return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
33
- e.__proto__ = t;
34
- } || function(e, t) {
35
- for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
36
- }, e(t, n);
37
- };
38
- return function(t, n) {
39
- if (typeof n != "function" && n !== null) throw TypeError("Class extends value " + String(n) + " is not a constructor or null");
40
- e(t, n);
41
- function r() {
42
- this.constructor = t;
43
- }
44
- t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
45
- };
46
- })(), r = e && e.__values || function(e) {
47
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
48
- if (n) return n.call(e);
49
- if (e && typeof e.length == "number") return { next: function() {
50
- return e && r >= e.length && (e = void 0), {
51
- value: e && e[r++],
52
- done: !e
53
- };
54
- } };
55
- throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
56
- };
57
- Object.defineProperty(e, "__esModule", { value: !0 }), e.HandlerList = void 0, e.HandlerList = function(e) {
58
- n(t, e);
59
- function t() {
60
- return e !== null && e.apply(this, arguments) || this;
61
- }
62
- return t.prototype.register = function(e) {
63
- return this.add(e, e.priority);
64
- }, t.prototype.unregister = function(e) {
65
- this.remove(e);
66
- }, t.prototype.handlesDocument = function(e) {
67
- var t, n;
68
- try {
69
- for (var i = r(this), a = i.next(); !a.done; a = i.next()) {
70
- var o = a.value.item;
71
- if (o.handlesDocument(e)) return o;
72
- }
73
- } catch (e) {
74
- t = { error: e };
75
- } finally {
76
- try {
77
- a && !a.done && (n = i.return) && n.call(i);
78
- } finally {
79
- if (t) throw t.error;
80
- }
81
- }
82
- throw Error("Can't find handler for document");
83
- }, t.prototype.document = function(e, t) {
84
- return t === void 0 && (t = null), this.handlesDocument(e).create(e, t);
85
- }, t;
86
- }(t().PrioritizedList);
87
- })), a = /* @__PURE__ */ e(((e) => {
88
- Object.defineProperty(e, "__esModule", { value: !0 }), e.mathjax = void 0;
89
- var t = r(), a = i(), o = n();
90
- e.mathjax = {
91
- version: t.VERSION,
92
- handlers: new a.HandlerList(),
93
- document: function(t, n) {
94
- return e.mathjax.handlers.document(t, n);
95
- },
96
- handleRetriesFor: o.handleRetriesFor,
97
- retryAfter: o.retryAfter,
98
- asyncLoad: null
99
- };
100
- }));
101
- //#endregion
102
- export { n, a as t };
@@ -1,102 +0,0 @@
1
- import { t as e } from "./chunk-3e0lkp8x.js";
2
- import { t } from "./PrioritizedList-DkoCmqPk.js";
3
- //#region node_modules/mathjax-full/js/util/Retries.js
4
- var n = /* @__PURE__ */ e(((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
- })), r = /* @__PURE__ */ e(((e) => {
28
- Object.defineProperty(e, "__esModule", { value: !0 }), e.VERSION = void 0, e.VERSION = "3.2.2";
29
- })), i = /* @__PURE__ */ e(((e) => {
30
- var n = e && e.__extends || (function() {
31
- var e = function(t, n) {
32
- return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
33
- e.__proto__ = t;
34
- } || function(e, t) {
35
- for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
36
- }, e(t, n);
37
- };
38
- return function(t, n) {
39
- if (typeof n != "function" && n !== null) throw TypeError("Class extends value " + String(n) + " is not a constructor or null");
40
- e(t, n);
41
- function r() {
42
- this.constructor = t;
43
- }
44
- t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
45
- };
46
- })(), r = e && e.__values || function(e) {
47
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
48
- if (n) return n.call(e);
49
- if (e && typeof e.length == "number") return { next: function() {
50
- return e && r >= e.length && (e = void 0), {
51
- value: e && e[r++],
52
- done: !e
53
- };
54
- } };
55
- throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
56
- };
57
- Object.defineProperty(e, "__esModule", { value: !0 }), e.HandlerList = void 0, e.HandlerList = function(e) {
58
- n(t, e);
59
- function t() {
60
- return e !== null && e.apply(this, arguments) || this;
61
- }
62
- return t.prototype.register = function(e) {
63
- return this.add(e, e.priority);
64
- }, t.prototype.unregister = function(e) {
65
- this.remove(e);
66
- }, t.prototype.handlesDocument = function(e) {
67
- var t, n;
68
- try {
69
- for (var i = r(this), a = i.next(); !a.done; a = i.next()) {
70
- var o = a.value.item;
71
- if (o.handlesDocument(e)) return o;
72
- }
73
- } catch (e) {
74
- t = { error: e };
75
- } finally {
76
- try {
77
- a && !a.done && (n = i.return) && n.call(i);
78
- } finally {
79
- if (t) throw t.error;
80
- }
81
- }
82
- throw Error("Can't find handler for document");
83
- }, t.prototype.document = function(e, t) {
84
- return t === void 0 && (t = null), this.handlesDocument(e).create(e, t);
85
- }, t;
86
- }(t().PrioritizedList);
87
- })), a = /* @__PURE__ */ e(((e) => {
88
- Object.defineProperty(e, "__esModule", { value: !0 }), e.mathjax = void 0;
89
- var t = r(), a = i(), o = n();
90
- e.mathjax = {
91
- version: t.VERSION,
92
- handlers: new a.HandlerList(),
93
- document: function(t, n) {
94
- return e.mathjax.handlers.document(t, n);
95
- },
96
- handleRetriesFor: o.handleRetriesFor,
97
- retryAfter: o.retryAfter,
98
- asyncLoad: null
99
- };
100
- }));
101
- //#endregion
102
- export { n, a as t };