manim-web 0.3.19 → 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 (165) hide show
  1. package/README.md +1 -1
  2. package/dist/AmsConfiguration-BMyoprhk.js +847 -0
  3. package/dist/AmsConfiguration-BdxxYRby.js +847 -0
  4. package/dist/ConfigMacrosConfiguration-B8X_JSVI.js +46 -0
  5. package/dist/ConfigMacrosConfiguration-DUxp6DUV.js +46 -0
  6. package/dist/Entities-B1o7gN0J.js +429 -0
  7. package/dist/Entities-C82lnCux.js +429 -0
  8. package/dist/Factory-BKM7FEO-.js +107 -0
  9. package/dist/Factory-D-whCqrb.js +107 -0
  10. package/dist/{GifExporter-7EpPGupp.js → GifExporter-BrxY_q7e.js} +1 -1
  11. package/dist/{GifExporter-DCrSD6FV.js → GifExporter-S2pbxMc5.js} +1 -1
  12. package/dist/HtmlNode-BLmQ2r7U.js +981 -0
  13. package/dist/HtmlNode-DXGeKrcW.js +981 -0
  14. package/dist/InputJax-DL9oUQY4.js +41 -0
  15. package/dist/InputJax-DnDWM3Y0.js +41 -0
  16. package/dist/NewcommandConfiguration-BPjclFig.js +32 -0
  17. package/dist/NewcommandConfiguration-bJ6P1rBY.js +32 -0
  18. package/dist/NewcommandMethods-C_E3iLoK.js +187 -0
  19. package/dist/NewcommandMethods-Cb7yFm5P.js +187 -0
  20. package/dist/Options-DRlTi0G8.js +63 -0
  21. package/dist/Options-XPptO-6X.js +63 -0
  22. package/dist/ParseMethods-BMPfzfQC.js +2636 -0
  23. package/dist/ParseMethods-D3_HeS1K.js +2636 -0
  24. package/dist/Styles-Dky5jZUe.js +293 -0
  25. package/dist/Styles-J-6R3Vr8.js +293 -0
  26. package/dist/{VideoExporter-6w8xBpcV.js → VideoExporter-6ikT3u9H.js} +1 -1
  27. package/dist/{VideoExporter-DdQb18dC.js → VideoExporter-D_RxVahH.js} +1 -1
  28. package/dist/animation/Animation.d.ts +15 -0
  29. package/dist/animation/Animation.d.ts.map +1 -1
  30. package/dist/animation/transform/FadeMorphStrategy.d.ts +18 -0
  31. package/dist/animation/transform/FadeMorphStrategy.d.ts.map +1 -0
  32. package/dist/animation/transform/FadeTransforms.d.ts +2 -0
  33. package/dist/animation/transform/FadeTransforms.d.ts.map +1 -1
  34. package/dist/animation/transform/MorphStrategy.d.ts +8 -0
  35. package/dist/animation/transform/MorphStrategy.d.ts.map +1 -0
  36. package/dist/animation/transform/MovementTransforms.d.ts +8 -0
  37. package/dist/animation/transform/MovementTransforms.d.ts.map +1 -1
  38. package/dist/animation/transform/PointMorphStrategy.d.ts +36 -0
  39. package/dist/animation/transform/PointMorphStrategy.d.ts.map +1 -0
  40. package/dist/animation/transform/ShapeMorphStrategy.d.ts +39 -0
  41. package/dist/animation/transform/ShapeMorphStrategy.d.ts.map +1 -0
  42. package/dist/animation/transform/Transform.d.ts +9 -88
  43. package/dist/animation/transform/Transform.d.ts.map +1 -1
  44. package/dist/animation/transform/TransformMatching.d.ts.map +1 -1
  45. package/dist/animation/transform/TransformMatchingBase.d.ts +1 -0
  46. package/dist/animation/transform/TransformMatchingBase.d.ts.map +1 -1
  47. package/dist/animation/transform/TransformMatchingShared.d.ts +37 -0
  48. package/dist/animation/transform/TransformMatchingShared.d.ts.map +1 -0
  49. package/dist/animation/transform/TransformPairing.d.ts +19 -0
  50. package/dist/animation/transform/TransformPairing.d.ts.map +1 -0
  51. package/dist/constants/fontRender.d.ts +19 -0
  52. package/dist/constants/fontRender.d.ts.map +1 -0
  53. package/dist/constants/index.d.ts.map +1 -1
  54. package/dist/core/AnimateProxy.d.ts +1 -0
  55. package/dist/core/AnimateProxy.d.ts.map +1 -1
  56. package/dist/core/Camera.d.ts +19 -6
  57. package/dist/core/Camera.d.ts.map +1 -1
  58. package/dist/core/CameraFrame.d.ts +0 -2
  59. package/dist/core/CameraFrame.d.ts.map +1 -1
  60. package/dist/core/Group.d.ts +2 -0
  61. package/dist/core/Group.d.ts.map +1 -1
  62. package/dist/core/Mobject.d.ts +6 -0
  63. package/dist/core/Mobject.d.ts.map +1 -1
  64. package/dist/core/MobjectTraversal.d.ts +25 -0
  65. package/dist/core/MobjectTraversal.d.ts.map +1 -0
  66. package/dist/core/Scene.d.ts.map +1 -1
  67. package/dist/core/TexturedMobject.d.ts +38 -0
  68. package/dist/core/TexturedMobject.d.ts.map +1 -0
  69. package/dist/core/ThreeDScene.d.ts +18 -3
  70. package/dist/core/ThreeDScene.d.ts.map +1 -1
  71. package/dist/core/VMobject.d.ts +54 -110
  72. package/dist/core/VMobject.d.ts.map +1 -1
  73. package/dist/core/VMobjectCurveUtils.d.ts +106 -0
  74. package/dist/core/VMobjectCurveUtils.d.ts.map +1 -0
  75. package/dist/core/VMobjectGeometry.d.ts +4 -16
  76. package/dist/core/VMobjectGeometry.d.ts.map +1 -1
  77. package/dist/core/VMobjectRendering.d.ts.map +1 -1
  78. package/dist/core/VMobjectStrokeGeometry.d.ts +20 -0
  79. package/dist/core/VMobjectStrokeGeometry.d.ts.map +1 -0
  80. package/dist/core/VMobjectTransformAlignment.d.ts +11 -0
  81. package/dist/core/VMobjectTransformAlignment.d.ts.map +1 -0
  82. package/dist/html-DU38zqaN.js +829 -0
  83. package/dist/html-DjkQuIHJ.js +829 -0
  84. package/dist/index.js +4 -4
  85. package/dist/integrations/react.js +5 -5
  86. package/dist/integrations/vue.js +7 -7
  87. package/dist/interaction/Draggable.d.ts +2 -0
  88. package/dist/interaction/Draggable.d.ts.map +1 -1
  89. package/dist/interaction/OrbitControls.d.ts +2 -0
  90. package/dist/interaction/OrbitControls.d.ts.map +1 -1
  91. package/dist/lengths-CP7zmbxJ.js +54 -0
  92. package/dist/lengths-D4tR1gYA.js +54 -0
  93. package/dist/liteAdaptor-BLgze3o2.js +616 -0
  94. package/dist/liteAdaptor-zXv-jsO1.js +616 -0
  95. package/dist/manim-web.browser.js +35324 -31248
  96. package/dist/mathjax-7LgaTjtj.js +121 -0
  97. package/dist/mathjax-CoSFlQ0H.js +121 -0
  98. package/dist/mo-C5uLT3Z9.js +2675 -0
  99. package/dist/mo-CNYDGAsg.js +2675 -0
  100. package/dist/mobjects/geometry/AngleShapes.d.ts +8 -0
  101. package/dist/mobjects/geometry/AngleShapes.d.ts.map +1 -1
  102. package/dist/mobjects/geometry/BooleanOperations.d.ts +1 -1
  103. package/dist/mobjects/geometry/BooleanOperations.d.ts.map +1 -1
  104. package/dist/mobjects/geometry/PolygonExtensions.d.ts +1 -1
  105. package/dist/mobjects/geometry/PolygonExtensions.d.ts.map +1 -1
  106. package/dist/mobjects/graphing/ComplexPlane.d.ts +18 -0
  107. package/dist/mobjects/graphing/ComplexPlane.d.ts.map +1 -1
  108. package/dist/mobjects/image/index.d.ts +9 -2
  109. package/dist/mobjects/image/index.d.ts.map +1 -1
  110. package/dist/mobjects/text/MarkupText.d.ts.map +1 -1
  111. package/dist/mobjects/text/MathJaxRenderer.d.ts +4 -2
  112. package/dist/mobjects/text/MathJaxRenderer.d.ts.map +1 -1
  113. package/dist/mobjects/text/MathTex.d.ts +9 -2
  114. package/dist/mobjects/text/MathTex.d.ts.map +1 -1
  115. package/dist/mobjects/text/MathTexImage.d.ts +14 -4
  116. package/dist/mobjects/text/MathTexImage.d.ts.map +1 -1
  117. package/dist/mobjects/text/Text.d.ts +10 -5
  118. package/dist/mobjects/text/Text.d.ts.map +1 -1
  119. package/dist/mobjects/text/katexStyles.d.ts.map +1 -1
  120. package/dist/mobjects/text/svgPathParser.d.ts.map +1 -1
  121. package/dist/mobjects/three-d/ThreeDAxes.d.ts +121 -9
  122. package/dist/mobjects/three-d/ThreeDAxes.d.ts.map +1 -1
  123. package/dist/{chunk-DeC0fbbY.js → rolldown-runtime-DnwLefa7.js} +1 -1
  124. package/dist/{src-0ifQdJUj.js → src-CW4pfZdP.js} +33071 -29118
  125. package/dist/svg-CYweEoZ1.js +28698 -0
  126. package/dist/svg-swSF_J59.js +28698 -0
  127. package/dist/tex-C4_queV-.js +1423 -0
  128. package/dist/tex-CA5MLeEe.js +1423 -0
  129. package/dist/utils/math.d.ts +50 -5
  130. package/dist/utils/math.d.ts.map +1 -1
  131. package/package.json +6 -5
  132. package/dist/AllPackages-C4Ha3Jps.js +0 -7912
  133. package/dist/AllPackages-Dwxf_-Ps.js +0 -7912
  134. package/dist/BaseConfiguration-D2fikupy.js +0 -4402
  135. package/dist/BaseConfiguration-DYpI8zxb.js +0 -4402
  136. package/dist/Entities-BxzKxtF2.js +0 -458
  137. package/dist/Entities-gIbwAkB6.js +0 -458
  138. package/dist/InputJax-BszJvLkW.js +0 -43
  139. package/dist/InputJax-CgHBfQsv.js +0 -43
  140. package/dist/MathItem-4gYKatZT.js +0 -77
  141. package/dist/MathItem-BGJUnd1K.js +0 -77
  142. package/dist/Options-CQim5zsr.js +0 -188
  143. package/dist/Options-Cn9jv1mh.js +0 -188
  144. package/dist/PrioritizedList-C1R4aNEC.js +0 -36
  145. package/dist/PrioritizedList-lIkFMNlo.js +0 -36
  146. package/dist/Styles-Bi9Db-2J.js +0 -411
  147. package/dist/Styles-CzHPc-An.js +0 -411
  148. package/dist/TeXAtom-Cinii27y.js +0 -2025
  149. package/dist/TeXAtom-DFdvwkN2.js +0 -2025
  150. package/dist/html-DKkfg_ss.js +0 -1587
  151. package/dist/html-DpiYkktJ.js +0 -1587
  152. package/dist/lengths-C0YS8_KC.js +0 -65
  153. package/dist/lengths-eBH2o1TO.js +0 -65
  154. package/dist/liteAdaptor-CB8lQj3d.js +0 -828
  155. package/dist/liteAdaptor-DvuW8HsZ.js +0 -828
  156. package/dist/mathjax-BVz9WLAG.js +0 -105
  157. package/dist/mathjax-BbWkqal4.js +0 -2
  158. package/dist/mathjax-BrFZxFhK.js +0 -2
  159. package/dist/mathjax-DdKmwllV.js +0 -105
  160. package/dist/mo-B60kIOAG.js +0 -3271
  161. package/dist/mo-cSv2058o.js +0 -3271
  162. package/dist/svg-BDTt4xHZ.js +0 -23879
  163. package/dist/svg-DzbC3CbJ.js +0 -23879
  164. package/dist/tex-CRhAZgfS.js +0 -401
  165. package/dist/tex-D3LEgNlQ.js +0 -401
@@ -0,0 +1,981 @@
1
+ import { o as e, t } from "./Options-XPptO-6X.js";
2
+ import { b as n, f as r, h as i, m as a, o, p as s, t as c, u as l, v as u, x as d, y as f } from "./mo-CNYDGAsg.js";
3
+ //#region node_modules/@mathjax/src/mjs/core/OutputJax.js
4
+ var p = class {
5
+ constructor(n = {}) {
6
+ this.adaptor = null;
7
+ let r = this.constructor;
8
+ this.options = e(t({}, r.OPTIONS), n), this.preFilters = new d(this.options.preFilters), this.postFilters = new d(this.options.postFilters);
9
+ }
10
+ get name() {
11
+ return this.constructor.NAME;
12
+ }
13
+ setAdaptor(e) {
14
+ this.adaptor = e;
15
+ }
16
+ initialize() {}
17
+ reset(...e) {}
18
+ getMetrics(e) {}
19
+ styleSheet(e) {
20
+ return null;
21
+ }
22
+ pageElements(e) {
23
+ return null;
24
+ }
25
+ executeFilters(e, t, n, r) {
26
+ let i = {
27
+ math: t,
28
+ document: n,
29
+ data: r
30
+ };
31
+ return e.execute(i), i.data;
32
+ }
33
+ };
34
+ p.NAME = "generic", p.OPTIONS = {
35
+ preFilters: [],
36
+ postFilters: []
37
+ };
38
+ //#endregion
39
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/math.js
40
+ var m = class extends r {
41
+ get kind() {
42
+ return "math";
43
+ }
44
+ get linebreakContainer() {
45
+ return !0;
46
+ }
47
+ get linebreakAlign() {
48
+ return "";
49
+ }
50
+ setChildInheritedAttributes(e, t, n, r) {
51
+ this.attributes.get("mode") === "display" && this.attributes.setInherited("display", "block"), e = this.addInheritedAttributes(e, this.attributes.getAllAttributes()), t = !!this.attributes.get("displaystyle") || !this.attributes.get("displaystyle") && this.attributes.get("display") === "block", this.attributes.setInherited("displaystyle", t), n = this.attributes.get("scriptlevel") || this.constructor.defaults.scriptlevel, super.setChildInheritedAttributes(e, t, n, r);
52
+ }
53
+ verifyTree(e = null) {
54
+ super.verifyTree(e), this.parent && this.mError("Improper nesting of math tags", e, !0);
55
+ }
56
+ };
57
+ m.defaults = Object.assign(Object.assign({}, r.defaults), {
58
+ mathvariant: "normal",
59
+ mathsize: "normal",
60
+ mathcolor: "",
61
+ mathbackground: "transparent",
62
+ dir: "ltr",
63
+ scriptlevel: 0,
64
+ displaystyle: !1,
65
+ display: "inline",
66
+ maxwidth: "",
67
+ overflow: "linebreak",
68
+ altimg: "",
69
+ "altimg-width": "",
70
+ "altimg-height": "",
71
+ "altimg-valign": "",
72
+ alttext: "",
73
+ cdgroup: "",
74
+ scriptsizemultiplier: 1 / Math.sqrt(2),
75
+ scriptminsize: ".4em",
76
+ infixlinebreakstyle: "before",
77
+ lineleading: "100%",
78
+ linebreakmultchar: "⁢",
79
+ indentshift: "auto",
80
+ indentalign: "auto",
81
+ indenttarget: "",
82
+ indentalignfirst: "indentalign",
83
+ indentshiftfirst: "indentshift",
84
+ indentalignlast: "indentalign",
85
+ indentshiftlast: "indentshift"
86
+ });
87
+ //#endregion
88
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mi.js
89
+ var h = class e extends a {
90
+ constructor() {
91
+ super(...arguments), this.texclass = i.ORD;
92
+ }
93
+ get kind() {
94
+ return "mi";
95
+ }
96
+ setInheritedAttributes(t = {}, n = !1, r = 0, i = !1) {
97
+ super.setInheritedAttributes(t, n, r, i), this.getText().match(e.singleCharacter) && !t.mathvariant && this.attributes.setInherited("mathvariant", "italic");
98
+ }
99
+ setTeXclass(t) {
100
+ this.getPrevClass(t);
101
+ let n = this.getText();
102
+ return n.length > 1 && n.match(e.operatorName) && this.attributes.get("mathvariant") === "normal" && this.getProperty("autoOP") === void 0 && this.getProperty("texClass") === void 0 && (this.texClass = i.OP, this.setProperty("autoOP", !0)), this;
103
+ }
104
+ };
105
+ h.defaults = Object.assign({}, a.defaults), h.operatorName = /^[a-z][a-z0-9]*$/i, h.singleCharacter = /^[\uD800-\uDBFF]?.[\u0300-\u036F\u1AB0-\u1ABE\u1DC0-\u1DFF\u20D0-\u20EF]*$/;
106
+ //#endregion
107
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mn.js
108
+ var g = class extends a {
109
+ constructor() {
110
+ super(...arguments), this.texclass = i.ORD;
111
+ }
112
+ get kind() {
113
+ return "mn";
114
+ }
115
+ };
116
+ g.defaults = Object.assign({}, a.defaults);
117
+ //#endregion
118
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mtext.js
119
+ var _ = class e extends a {
120
+ constructor() {
121
+ super(...arguments), this.texclass = i.ORD;
122
+ }
123
+ get kind() {
124
+ return "mtext";
125
+ }
126
+ get isSpacelike() {
127
+ return !!this.getText().match(/^\s*$/) && !this.attributes.hasOneOf(e.NONSPACELIKE);
128
+ }
129
+ };
130
+ _.NONSPACELIKE = [
131
+ "style",
132
+ "mathbackground",
133
+ "background"
134
+ ], _.defaults = Object.assign({}, a.defaults);
135
+ //#endregion
136
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mspace.js
137
+ var v = class e extends a {
138
+ constructor() {
139
+ super(...arguments), this.texclass = i.NONE;
140
+ }
141
+ setTeXclass(e) {
142
+ return e;
143
+ }
144
+ get kind() {
145
+ return "mspace";
146
+ }
147
+ get arity() {
148
+ return 0;
149
+ }
150
+ get isSpacelike() {
151
+ return !this.attributes.hasExplicit("linebreak") && this.canBreak;
152
+ }
153
+ get hasNewline() {
154
+ let e = this.attributes.get("linebreak");
155
+ return this.canBreak && (e === "newline" || e === "indentingnewline");
156
+ }
157
+ get canBreak() {
158
+ return !this.attributes.hasOneOf(e.NONSPACELIKE) && String(this.attributes.get("width")).trim().charAt(0) !== "-";
159
+ }
160
+ };
161
+ v.NONSPACELIKE = [
162
+ "height",
163
+ "depth",
164
+ "style",
165
+ "mathbackground",
166
+ "background"
167
+ ], v.defaults = Object.assign(Object.assign({}, a.defaults), {
168
+ width: "0em",
169
+ height: "0ex",
170
+ depth: "0ex",
171
+ linebreak: "auto",
172
+ indentshift: "auto",
173
+ indentalign: "auto",
174
+ indenttarget: "",
175
+ indentalignfirst: "indentalign",
176
+ indentshiftfirst: "indentshift",
177
+ indentalignlast: "indentalign",
178
+ indentshiftlast: "indentshift"
179
+ });
180
+ //#endregion
181
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/ms.js
182
+ var y = class extends a {
183
+ constructor() {
184
+ super(...arguments), this.texclass = i.ORD;
185
+ }
186
+ get kind() {
187
+ return "ms";
188
+ }
189
+ };
190
+ y.defaults = Object.assign(Object.assign({}, a.defaults), {
191
+ lquote: "\"",
192
+ rquote: "\""
193
+ });
194
+ //#endregion
195
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mrow.js
196
+ var b = class extends s {
197
+ constructor() {
198
+ super(...arguments), this._core = null;
199
+ }
200
+ get kind() {
201
+ return "mrow";
202
+ }
203
+ get isSpacelike() {
204
+ for (let e of this.childNodes) if (!e.isSpacelike) return !1;
205
+ return !0;
206
+ }
207
+ get isEmbellished() {
208
+ let e = !1, t = 0;
209
+ for (let n of this.childNodes) {
210
+ if (n) {
211
+ if (n.isEmbellished) {
212
+ if (e) return !1;
213
+ e = !0, this._core = t;
214
+ } else if (!n.isSpacelike) return !1;
215
+ }
216
+ t++;
217
+ }
218
+ return e;
219
+ }
220
+ core() {
221
+ return !this.isEmbellished || this._core == null ? this : this.childNodes[this._core];
222
+ }
223
+ coreMO() {
224
+ return !this.isEmbellished || this._core == null ? this : this.childNodes[this._core].coreMO();
225
+ }
226
+ nonSpaceLength() {
227
+ let e = 0;
228
+ for (let t of this.childNodes) t && !t.isSpacelike && e++;
229
+ return e;
230
+ }
231
+ firstNonSpace() {
232
+ for (let e of this.childNodes) if (e && !e.isSpacelike) return e;
233
+ return null;
234
+ }
235
+ lastNonSpace() {
236
+ let e = this.childNodes.length;
237
+ for (; --e >= 0;) {
238
+ let t = this.childNodes[e];
239
+ if (t && !t.isSpacelike) return t;
240
+ }
241
+ return null;
242
+ }
243
+ setTeXclass(e) {
244
+ if (this.getProperty("open") != null || this.getProperty("close") != null) {
245
+ this.getPrevClass(e), e = null;
246
+ for (let t of this.childNodes) e = t.setTeXclass(e);
247
+ return this.texClass ??= i.INNER, this;
248
+ }
249
+ for (let t of this.childNodes) e = t.setTeXclass(e);
250
+ return this.childNodes[0] && this.updateTeXclass(this.childNodes[0]), e;
251
+ }
252
+ };
253
+ b.defaults = Object.assign({}, s.defaults);
254
+ var x = class extends b {
255
+ get kind() {
256
+ return "inferredMrow";
257
+ }
258
+ get isInferred() {
259
+ return !0;
260
+ }
261
+ get notParent() {
262
+ return !0;
263
+ }
264
+ toString() {
265
+ return "[" + this.childNodes.join(",") + "]";
266
+ }
267
+ };
268
+ x.defaults = b.defaults;
269
+ //#endregion
270
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mfrac.js
271
+ var S = class extends l {
272
+ get kind() {
273
+ return "mfrac";
274
+ }
275
+ get arity() {
276
+ return 2;
277
+ }
278
+ get linebreakContainer() {
279
+ return !0;
280
+ }
281
+ get linebreakAlign() {
282
+ return "";
283
+ }
284
+ setTeXclass(e) {
285
+ this.getPrevClass(e);
286
+ for (let e of this.childNodes) e.setTeXclass(null);
287
+ return this;
288
+ }
289
+ setChildInheritedAttributes(e, t, n, r) {
290
+ (!t || n > 0) && n++;
291
+ let i = this.attributes.get("numalign"), a = this.attributes.get("denomalign"), o = this.addInheritedAttributes(Object.assign({}, e), {
292
+ numalign: i,
293
+ indentshift: "0",
294
+ indentalignfirst: i,
295
+ indentshiftfirst: "0",
296
+ indentalignlast: "indentalign",
297
+ indentshiftlast: "indentshift"
298
+ }), s = this.addInheritedAttributes(Object.assign({}, e), {
299
+ denalign: a,
300
+ indentshift: "0",
301
+ indentalignfirst: a,
302
+ indentshiftfirst: "0",
303
+ indentalignlast: "indentalign",
304
+ indentshiftlast: "indentshift"
305
+ });
306
+ this.childNodes[0].setInheritedAttributes(o, !1, n, r), this.childNodes[1].setInheritedAttributes(s, !1, n, !0);
307
+ }
308
+ };
309
+ S.defaults = Object.assign(Object.assign({}, l.defaults), {
310
+ linethickness: "medium",
311
+ numalign: "center",
312
+ denomalign: "center",
313
+ bevelled: !1
314
+ });
315
+ //#endregion
316
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/msqrt.js
317
+ var C = class extends s {
318
+ constructor() {
319
+ super(...arguments), this.texclass = i.ORD;
320
+ }
321
+ get kind() {
322
+ return "msqrt";
323
+ }
324
+ get arity() {
325
+ return -1;
326
+ }
327
+ get linebreakContainer() {
328
+ return !0;
329
+ }
330
+ setTeXclass(e) {
331
+ return this.getPrevClass(e), this.childNodes[0].setTeXclass(null), this;
332
+ }
333
+ setChildInheritedAttributes(e, t, n, r) {
334
+ this.childNodes[0].setInheritedAttributes(e, t, n, !0);
335
+ }
336
+ };
337
+ C.defaults = Object.assign(Object.assign({}, s.defaults), { "data-vertical-align": "bottom" });
338
+ //#endregion
339
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mroot.js
340
+ var w = class extends s {
341
+ constructor() {
342
+ super(...arguments), this.texclass = i.ORD;
343
+ }
344
+ get kind() {
345
+ return "mroot";
346
+ }
347
+ get arity() {
348
+ return 2;
349
+ }
350
+ get linebreakContainer() {
351
+ return !0;
352
+ }
353
+ setTeXclass(e) {
354
+ return this.getPrevClass(e), this.childNodes[0].setTeXclass(null), this.childNodes[1].setTeXclass(null), this;
355
+ }
356
+ setChildInheritedAttributes(e, t, n, r) {
357
+ this.childNodes[0].setInheritedAttributes(e, t, n, !0), this.childNodes[1].setInheritedAttributes(e, !1, n + 2, r);
358
+ }
359
+ };
360
+ w.defaults = Object.assign(Object.assign({}, s.defaults), { "data-vertical-align": "bottom" });
361
+ //#endregion
362
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/merror.js
363
+ var T = class extends s {
364
+ constructor() {
365
+ super(...arguments), this.texclass = i.ORD;
366
+ }
367
+ get kind() {
368
+ return "merror";
369
+ }
370
+ get arity() {
371
+ return -1;
372
+ }
373
+ get linebreakContainer() {
374
+ return !0;
375
+ }
376
+ };
377
+ T.defaults = Object.assign({}, s.defaults);
378
+ //#endregion
379
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mpadded.js
380
+ var E = class extends r {
381
+ get kind() {
382
+ return "mpadded";
383
+ }
384
+ get linebreakContainer() {
385
+ return !0;
386
+ }
387
+ setTeXclass(e) {
388
+ return this.getProperty("vbox") ? (this.getPrevClass(e), this.texClass = i.ORD, this.childNodes[0].setTeXclass(null), this) : super.setTeXclass(e);
389
+ }
390
+ };
391
+ E.defaults = Object.assign(Object.assign({}, r.defaults), {
392
+ width: "",
393
+ height: "",
394
+ depth: "",
395
+ lspace: 0,
396
+ voffset: 0
397
+ });
398
+ //#endregion
399
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mphantom.js
400
+ var D = class extends r {
401
+ constructor() {
402
+ super(...arguments), this.texclass = i.ORD;
403
+ }
404
+ get kind() {
405
+ return "mphantom";
406
+ }
407
+ };
408
+ D.defaults = Object.assign({}, r.defaults);
409
+ //#endregion
410
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mfenced.js
411
+ var O = class extends s {
412
+ constructor() {
413
+ super(...arguments), this.texclass = i.INNER, this.separators = [], this.open = null, this.close = null;
414
+ }
415
+ get kind() {
416
+ return "mfenced";
417
+ }
418
+ setTeXclass(e) {
419
+ this.getPrevClass(e), this.open && (e = this.open.setTeXclass(e)), this.childNodes[0] && (e = this.childNodes[0].setTeXclass(e));
420
+ for (let t = 1, n = this.childNodes.length; t < n; t++) this.separators[t - 1] && (e = this.separators[t - 1].setTeXclass(e)), this.childNodes[t] && (e = this.childNodes[t].setTeXclass(e));
421
+ return this.close && (e = this.close.setTeXclass(e)), (!this.open || !this.close) && this.updateTeXclass(this.open || this.childNodes[0] || this.close), e;
422
+ }
423
+ setChildInheritedAttributes(e, t, n, r) {
424
+ this.addFakeNodes();
425
+ for (let i of [this.open, this.close].concat(this.separators)) i && i.setInheritedAttributes(e, t, n, r);
426
+ super.setChildInheritedAttributes(e, t, n, r);
427
+ }
428
+ addFakeNodes() {
429
+ let { open: e, close: t, separators: n } = this.attributes.getList("open", "close", "separators");
430
+ if (e = e.replace(/[ \t\n\r]/g, ""), t = t.replace(/[ \t\n\r]/g, ""), n = n.replace(/[ \t\n\r]/g, ""), e && (this.open = this.fakeNode(e, {
431
+ fence: !0,
432
+ form: "prefix"
433
+ }, i.OPEN)), n) {
434
+ for (; n.length < this.childNodes.length - 1;) n += n.charAt(n.length - 1);
435
+ let e = 0;
436
+ for (let t of this.childNodes.slice(1)) t && this.separators.push(this.fakeNode(n.charAt(e++)));
437
+ }
438
+ t && (this.close = this.fakeNode(t, {
439
+ fence: !0,
440
+ form: "postfix"
441
+ }, i.CLOSE));
442
+ }
443
+ fakeNode(e, t = {}, n = null) {
444
+ let r = this.factory.create("text").setText(e), i = this.factory.create("mo", t, [r]);
445
+ return i.texClass = n, i.parent = this, i;
446
+ }
447
+ };
448
+ O.defaults = Object.assign(Object.assign({}, s.defaults), {
449
+ open: "(",
450
+ close: ")",
451
+ separators: ","
452
+ });
453
+ //#endregion
454
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/menclose.js
455
+ var k = class extends s {
456
+ constructor() {
457
+ super(...arguments), this.texclass = i.ORD;
458
+ }
459
+ get kind() {
460
+ return "menclose";
461
+ }
462
+ get arity() {
463
+ return -1;
464
+ }
465
+ get linebreakContainer() {
466
+ return !0;
467
+ }
468
+ setTeXclass(e) {
469
+ return e = this.childNodes[0].setTeXclass(e), this.updateTeXclass(this.childNodes[0]), e;
470
+ }
471
+ };
472
+ k.defaults = Object.assign(Object.assign({}, s.defaults), { notation: "longdiv" });
473
+ //#endregion
474
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/maction.js
475
+ var A = class extends s {
476
+ get kind() {
477
+ return "maction";
478
+ }
479
+ get arity() {
480
+ return 1;
481
+ }
482
+ get selected() {
483
+ let e = this.attributes.get("selection"), t = Math.max(1, Math.min(this.childNodes.length, e)) - 1;
484
+ return this.childNodes[t] || this.factory.create("mrow");
485
+ }
486
+ get isEmbellished() {
487
+ return this.selected.isEmbellished;
488
+ }
489
+ get isSpacelike() {
490
+ return this.selected.isSpacelike;
491
+ }
492
+ core() {
493
+ return this.selected.core();
494
+ }
495
+ coreMO() {
496
+ return this.selected.coreMO();
497
+ }
498
+ verifyAttributes(e) {
499
+ super.verifyAttributes(e), this.attributes.get("actiontype") !== "toggle" && this.attributes.hasExplicit("selection") && this.attributes.unset("selection");
500
+ }
501
+ setTeXclass(e) {
502
+ this.attributes.get("actiontype") === "tooltip" && this.childNodes[1] && this.childNodes[1].setTeXclass(null);
503
+ let t = this.selected;
504
+ return e = t.setTeXclass(e), this.updateTeXclass(t), e;
505
+ }
506
+ nextToggleSelection() {
507
+ let e = Math.max(1, parseInt(this.attributes.get("selection")) + 1);
508
+ e > this.childNodes.length && (e = 1), this.attributes.set("selection", e);
509
+ }
510
+ setChildInheritedAttributes(e, t, n, r) {
511
+ var i, a;
512
+ if (this.attributes.get("actiontype").toLowerCase() !== "tooltip") {
513
+ super.setChildInheritedAttributes(e, t, n, r);
514
+ return;
515
+ }
516
+ (i = this.childNodes[0]) == null || i.setInheritedAttributes(e, t, n, r), (a = this.childNodes[1]) == null || a.setInheritedAttributes(e, !1, 1, !1);
517
+ }
518
+ };
519
+ A.defaults = Object.assign(Object.assign({}, s.defaults), {
520
+ actiontype: "toggle",
521
+ selection: 1
522
+ });
523
+ //#endregion
524
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/msubsup.js
525
+ var j = class extends l {
526
+ get kind() {
527
+ return "msubsup";
528
+ }
529
+ get arity() {
530
+ return 3;
531
+ }
532
+ get base() {
533
+ return 0;
534
+ }
535
+ get sub() {
536
+ return 1;
537
+ }
538
+ get sup() {
539
+ return 2;
540
+ }
541
+ setChildInheritedAttributes(e, t, n, r) {
542
+ let i = this.childNodes;
543
+ i[0].setInheritedAttributes(e, t, n, r), i[1].setInheritedAttributes(e, !1, n + 1, r || this.sub === 1), i[2] && i[2].setInheritedAttributes(e, !1, n + 1, r || this.sub === 2);
544
+ }
545
+ };
546
+ j.defaults = Object.assign(Object.assign({}, l.defaults), {
547
+ subscriptshift: "",
548
+ superscriptshift: ""
549
+ });
550
+ var M = class extends j {
551
+ get kind() {
552
+ return "msub";
553
+ }
554
+ get arity() {
555
+ return 2;
556
+ }
557
+ };
558
+ M.defaults = Object.assign({}, j.defaults);
559
+ var N = class extends j {
560
+ get kind() {
561
+ return "msup";
562
+ }
563
+ get arity() {
564
+ return 2;
565
+ }
566
+ get sup() {
567
+ return 1;
568
+ }
569
+ get sub() {
570
+ return 2;
571
+ }
572
+ };
573
+ N.defaults = Object.assign({}, j.defaults);
574
+ //#endregion
575
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/munderover.js
576
+ var P = class extends l {
577
+ get kind() {
578
+ return "munderover";
579
+ }
580
+ get arity() {
581
+ return 3;
582
+ }
583
+ get base() {
584
+ return 0;
585
+ }
586
+ get under() {
587
+ return 1;
588
+ }
589
+ get over() {
590
+ return 2;
591
+ }
592
+ get linebreakContainer() {
593
+ return !0;
594
+ }
595
+ setChildInheritedAttributes(e, t, n, r) {
596
+ let i = this.childNodes;
597
+ i[0].setInheritedAttributes(e, t, n, r || !!i[this.over]);
598
+ let a = !!(!t && i[0].coreMO().attributes.get("movablelimits")), o = this.constructor.ACCENTS;
599
+ i[1].setInheritedAttributes(e, !1, this.getScriptlevel(o[1], a, n), r || this.under === 1), this.setInheritedAccent(1, o[1], t, n, r, a), i[2] && (i[2].setInheritedAttributes(e, !1, this.getScriptlevel(o[2], a, n), r || this.under === 2), this.setInheritedAccent(2, o[2], t, n, r, a));
600
+ }
601
+ getScriptlevel(e, t, n) {
602
+ return (t || !this.attributes.get(e)) && n++, n;
603
+ }
604
+ setInheritedAccent(e, t, n, r, i, a) {
605
+ let o = this.childNodes[e];
606
+ if (!this.attributes.hasExplicit(t) && o.isEmbellished) {
607
+ let e = o.coreMO().attributes.get("accent");
608
+ this.attributes.setInherited(t, e), e !== this.attributes.getDefault(t) && o.setInheritedAttributes({}, n, this.getScriptlevel(t, a, r), i);
609
+ }
610
+ }
611
+ };
612
+ P.defaults = Object.assign(Object.assign({}, l.defaults), {
613
+ accent: !1,
614
+ accentunder: !1,
615
+ align: "center"
616
+ }), P.ACCENTS = [
617
+ "",
618
+ "accentunder",
619
+ "accent"
620
+ ];
621
+ var F = class extends P {
622
+ get kind() {
623
+ return "munder";
624
+ }
625
+ get arity() {
626
+ return 2;
627
+ }
628
+ };
629
+ F.defaults = Object.assign({}, P.defaults);
630
+ var I = class extends P {
631
+ get kind() {
632
+ return "mover";
633
+ }
634
+ get arity() {
635
+ return 2;
636
+ }
637
+ get over() {
638
+ return 1;
639
+ }
640
+ get under() {
641
+ return 2;
642
+ }
643
+ };
644
+ I.defaults = Object.assign({}, P.defaults), I.ACCENTS = [
645
+ "",
646
+ "accent",
647
+ "accentunder"
648
+ ];
649
+ //#endregion
650
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mmultiscripts.js
651
+ var L = class extends j {
652
+ get kind() {
653
+ return "mmultiscripts";
654
+ }
655
+ get arity() {
656
+ return 1;
657
+ }
658
+ setChildInheritedAttributes(e, t, n, r) {
659
+ this.childNodes[0].setInheritedAttributes(e, t, n, r);
660
+ let i = !1;
661
+ for (let t = 1, a = 0; t < this.childNodes.length; t++) {
662
+ let o = this.childNodes[t];
663
+ if (o.isKind("mprescripts")) {
664
+ if (!i && (i = !0, t % 2 == 0)) {
665
+ let e = this.factory.create("none");
666
+ this.childNodes.splice(t, 0, e), e.parent = this, t++;
667
+ }
668
+ } else {
669
+ let t = r || a % 2 == 0;
670
+ o.setInheritedAttributes(e, !1, n + 1, t), a++;
671
+ }
672
+ }
673
+ this.childNodes.length % 2 == +!!i && (this.appendChild(this.factory.create("none")), this.childNodes[this.childNodes.length - 1].setInheritedAttributes(e, !1, n + 1, r));
674
+ }
675
+ verifyChildren(e) {
676
+ let t = !1, n = e.fixMmultiscripts;
677
+ for (let r = 0; r < this.childNodes.length; r++) {
678
+ let i = this.childNodes[r];
679
+ i.isKind("mprescripts") && (t ? i.mError(i.kind + " can only appear once in " + this.kind, e, !0) : (t = !0, r % 2 == 0 && !n && this.mError("There must be an equal number of prescripts of each type", e)));
680
+ }
681
+ this.childNodes.length % 2 == +!!t && !n && this.mError("There must be an equal number of scripts of each type", e), super.verifyChildren(e);
682
+ }
683
+ };
684
+ L.defaults = Object.assign({}, j.defaults);
685
+ var R = class extends s {
686
+ get kind() {
687
+ return "mprescripts";
688
+ }
689
+ get arity() {
690
+ return 0;
691
+ }
692
+ verifyTree(e) {
693
+ super.verifyTree(e), this.parent && !this.parent.isKind("mmultiscripts") && this.mError(this.kind + " must be a child of mmultiscripts", e, !0);
694
+ }
695
+ };
696
+ R.defaults = Object.assign({}, s.defaults);
697
+ var z = class extends s {
698
+ get kind() {
699
+ return "none";
700
+ }
701
+ get arity() {
702
+ return 0;
703
+ }
704
+ verifyTree(e) {
705
+ super.verifyTree(e), this.parent && !this.parent.isKind("mmultiscripts") && this.mError(this.kind + " must be a child of mmultiscripts", e, !0);
706
+ }
707
+ };
708
+ z.defaults = Object.assign({}, s.defaults);
709
+ //#endregion
710
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mtable.js
711
+ var B = class extends s {
712
+ constructor() {
713
+ super(...arguments), this.properties = { useHeight: !0 }, this.texclass = i.ORD;
714
+ }
715
+ get kind() {
716
+ return "mtable";
717
+ }
718
+ get linebreakContainer() {
719
+ return !0;
720
+ }
721
+ get linebreakAlign() {
722
+ return "";
723
+ }
724
+ setInheritedAttributes(e, t, n, r) {
725
+ for (let t of f) e[t] && this.attributes.setInherited(t, e[t][1]), this.attributes.hasExplicit(t) && this.attributes.unset(t);
726
+ super.setInheritedAttributes(e, t, n, r);
727
+ }
728
+ setChildInheritedAttributes(e, t, n, r) {
729
+ for (let e of this.childNodes) e.isKind("mtr") || this.replaceChild(this.factory.create("mtr"), e).appendChild(e);
730
+ t = !!(this.attributes.getExplicit("displaystyle") || this.attributes.getDefault("displaystyle")), e = this.addInheritedAttributes(e, {
731
+ columnalign: this.attributes.get("columnalign"),
732
+ rowalign: "center",
733
+ "data-break-align": this.attributes.get("data-break-align")
734
+ });
735
+ let i = this.attributes.getExplicit("data-cramped"), a = o(this.attributes.get("rowalign"));
736
+ for (let r of this.childNodes) e.rowalign[1] = a.shift() || e.rowalign[1], r.setInheritedAttributes(e, t, n, !!i);
737
+ }
738
+ verifyChildren(e) {
739
+ let t = null, n = this.factory;
740
+ for (let r = 0; r < this.childNodes.length; r++) {
741
+ let i = this.childNodes[r];
742
+ if (i.isKind("mtr")) t = null;
743
+ else {
744
+ let a = i.isKind("mtd");
745
+ if (t ? (this.removeChild(i), r--) : t = this.replaceChild(n.create("mtr"), i), t.appendChild(a ? i : n.create("mtd", {}, [i])), !e.fixMtables) {
746
+ i.parent.removeChild(i), i.parent = this, a && t.appendChild(n.create("mtd"));
747
+ let r = i.mError("Children of " + this.kind + " must be mtr or mlabeledtr", e, a);
748
+ t.childNodes[t.childNodes.length - 1].appendChild(r);
749
+ }
750
+ }
751
+ }
752
+ super.verifyChildren(e);
753
+ }
754
+ setTeXclass(e) {
755
+ this.getPrevClass(e);
756
+ for (let e of this.childNodes) e.setTeXclass(null);
757
+ return this;
758
+ }
759
+ };
760
+ B.defaults = Object.assign(Object.assign({}, s.defaults), {
761
+ align: "axis",
762
+ rowalign: "baseline",
763
+ columnalign: "center",
764
+ groupalign: "{left}",
765
+ alignmentscope: !0,
766
+ columnwidth: "auto",
767
+ width: "auto",
768
+ rowspacing: "1ex",
769
+ columnspacing: ".8em",
770
+ rowlines: "none",
771
+ columnlines: "none",
772
+ frame: "none",
773
+ framespacing: "0.4em 0.5ex",
774
+ equalrows: !1,
775
+ equalcolumns: !1,
776
+ displaystyle: !1,
777
+ side: "right",
778
+ minlabelspacing: "0.8em",
779
+ "data-break-align": "top"
780
+ });
781
+ //#endregion
782
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mtr.js
783
+ var V = class extends s {
784
+ get kind() {
785
+ return "mtr";
786
+ }
787
+ get linebreakContainer() {
788
+ return !0;
789
+ }
790
+ get linebreakAlign() {
791
+ return "";
792
+ }
793
+ setChildInheritedAttributes(e, t, n, r) {
794
+ for (let e of this.childNodes) e.isKind("mtd") || this.replaceChild(this.factory.create("mtd"), e).appendChild(e);
795
+ let i = o(this.attributes.get("columnalign")), a = o(this.attributes.get("data-break-align"));
796
+ this.arity === 1 && (i.unshift(this.parent.attributes.get("side")), a.unshift("top")), e = this.addInheritedAttributes(e, {
797
+ rowalign: this.attributes.get("rowalign"),
798
+ columnalign: "center",
799
+ "data-break-align": "top"
800
+ });
801
+ for (let o of this.childNodes) e.columnalign[1] = i.shift() || e.columnalign[1], e["data-vertical-align"] = [this.kind, a.shift() || e["data-break-align"][1]], o.setInheritedAttributes(e, t, n, r);
802
+ }
803
+ verifyChildren(e) {
804
+ if (this.parent && !this.parent.isKind("mtable")) {
805
+ this.mError(this.kind + " can only be a child of an mtable", e, !0);
806
+ return;
807
+ }
808
+ for (let t of this.childNodes) t.isKind("mtd") || (this.replaceChild(this.factory.create("mtd"), t).appendChild(t), e.fixMtables || t.mError("Children of " + this.kind + " must be mtd", e));
809
+ super.verifyChildren(e);
810
+ }
811
+ setTeXclass(e) {
812
+ this.getPrevClass(e);
813
+ for (let e of this.childNodes) e.setTeXclass(null);
814
+ return this;
815
+ }
816
+ };
817
+ V.defaults = Object.assign(Object.assign({}, s.defaults), {
818
+ rowalign: n,
819
+ columnalign: n,
820
+ groupalign: n,
821
+ "data-break-align": "top"
822
+ });
823
+ var H = class extends V {
824
+ get kind() {
825
+ return "mlabeledtr";
826
+ }
827
+ get arity() {
828
+ return 1;
829
+ }
830
+ }, U = class extends l {
831
+ get kind() {
832
+ return "mtd";
833
+ }
834
+ get arity() {
835
+ return -1;
836
+ }
837
+ get linebreakContainer() {
838
+ return !0;
839
+ }
840
+ get linebreakAlign() {
841
+ return "columnalign";
842
+ }
843
+ verifyChildren(e) {
844
+ if (this.parent && !this.parent.isKind("mtr")) {
845
+ this.mError(this.kind + " can only be a child of an mtr or mlabeledtr", e, !0);
846
+ return;
847
+ }
848
+ super.verifyChildren(e);
849
+ }
850
+ setTeXclass(e) {
851
+ return this.getPrevClass(e), this.childNodes[0].setTeXclass(null), this;
852
+ }
853
+ };
854
+ U.defaults = Object.assign(Object.assign({}, l.defaults), {
855
+ rowspan: 1,
856
+ columnspan: 1,
857
+ rowalign: n,
858
+ columnalign: n,
859
+ groupalign: n,
860
+ "data-vertical-align": "top"
861
+ });
862
+ //#endregion
863
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/mglyph.js
864
+ var W = class extends a {
865
+ constructor() {
866
+ super(...arguments), this.texclass = i.ORD;
867
+ }
868
+ get kind() {
869
+ return "mglyph";
870
+ }
871
+ verifyAttributes(e) {
872
+ let { src: t, fontfamily: n, index: r } = this.attributes.getList("src", "fontfamily", "index");
873
+ t === "" && (n === "" || r === "") ? this.mError("mglyph must have either src or fontfamily and index attributes", e, !0) : super.verifyAttributes(e);
874
+ }
875
+ };
876
+ W.defaults = Object.assign(Object.assign({}, a.defaults), {
877
+ alt: "",
878
+ src: "",
879
+ index: "",
880
+ width: "auto",
881
+ height: "auto",
882
+ valign: "0em"
883
+ });
884
+ //#endregion
885
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/semantics.js
886
+ var G = class extends l {
887
+ get kind() {
888
+ return "semantics";
889
+ }
890
+ get arity() {
891
+ return 1;
892
+ }
893
+ get notParent() {
894
+ return !0;
895
+ }
896
+ };
897
+ G.defaults = Object.assign(Object.assign({}, l.defaults), {
898
+ definitionUrl: null,
899
+ encoding: null
900
+ });
901
+ var K = class extends s {
902
+ get kind() {
903
+ return "annotation-xml";
904
+ }
905
+ setChildInheritedAttributes() {}
906
+ };
907
+ K.defaults = Object.assign(Object.assign({}, s.defaults), {
908
+ definitionUrl: null,
909
+ encoding: null,
910
+ cd: "mathmlkeys",
911
+ name: "",
912
+ src: null
913
+ });
914
+ var q = class extends K {
915
+ constructor() {
916
+ super(...arguments), this.properties = { isChars: !0 };
917
+ }
918
+ get kind() {
919
+ return "annotation";
920
+ }
921
+ };
922
+ q.defaults = Object.assign({}, K.defaults);
923
+ //#endregion
924
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/TeXAtom.js
925
+ var J = class extends l {
926
+ get kind() {
927
+ return "TeXAtom";
928
+ }
929
+ get arity() {
930
+ return -1;
931
+ }
932
+ get notParent() {
933
+ return !0;
934
+ }
935
+ constructor(e, t, n) {
936
+ super(e, t, n), this.texclass = i.ORD, this.setProperty("texClass", this.texClass);
937
+ }
938
+ setTeXclass(e) {
939
+ return this.childNodes[0].setTeXclass(null), this.adjustTeXclass(e);
940
+ }
941
+ adjustTeXclass(e) {
942
+ return e;
943
+ }
944
+ };
945
+ J.defaults = Object.assign({}, l.defaults), J.prototype.adjustTeXclass = c.prototype.adjustTeXclass;
946
+ //#endregion
947
+ //#region node_modules/@mathjax/src/mjs/core/MmlTree/MmlNodes/HtmlNode.js
948
+ var Y = class extends u {
949
+ get kind() {
950
+ return "html";
951
+ }
952
+ getHTML() {
953
+ return this.getXML();
954
+ }
955
+ setHTML(e, t = null) {
956
+ try {
957
+ t.getAttribute(e, "data-mjx-hdw");
958
+ } catch {
959
+ e = t.node("span", {}, [e]);
960
+ }
961
+ return this.setXML(e, t);
962
+ }
963
+ getSerializedHTML() {
964
+ return this.adaptor.outerHTML(this.xml);
965
+ }
966
+ textContent() {
967
+ return this.adaptor.textContent(this.xml);
968
+ }
969
+ toString() {
970
+ let e = this.adaptor.kind(this.xml);
971
+ return `HTML=<${e}>...</${e}>`;
972
+ }
973
+ verifyTree(e) {
974
+ if (this.parent && !this.parent.isToken) {
975
+ this.mError("HTML can only be a child of a token element", e, !0);
976
+ return;
977
+ }
978
+ }
979
+ };
980
+ //#endregion
981
+ export { b as A, D as C, C as D, w as E, h as F, m as I, p as L, v as M, _ as N, S as O, g as P, O as S, T, M as _, G as a, A as b, H as c, L as d, R as f, P as g, F as h, K as i, y as j, x as k, V as l, I as m, J as n, W as o, z as p, q as r, U as s, Y as t, B as u, j as v, E as w, k as x, N as y };