@layers-app/editor 0.4.0 → 0.4.1-progress-bar.3

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 (217) hide show
  1. package/README.md +215 -1
  2. package/dist/index.cjs +2 -2
  3. package/dist/index.d.ts +3 -2
  4. package/dist/index.js +2 -2
  5. package/dist/{layers.Cg3zhLTz.js → layers.0BKT3dAm.js} +1 -1
  6. package/dist/{layers.Czj3PJzZ.js → layers.1Q0bKeWa.js} +1 -1
  7. package/dist/{layers.BoIttUlh.js → layers.1zdxHm06.js} +1 -1
  8. package/dist/layers.2iVWc-Sw.js +6 -0
  9. package/dist/{layers.CylfN5iO.js → layers.6V1XsGG9.js} +9 -9
  10. package/dist/{layers.Dq0wRjbC.js → layers.6zy4SwDR.js} +1 -1
  11. package/dist/{layers.B3xfUipV.js → layers.8idXMR2I.js} +1 -1
  12. package/dist/{layers.XMeRR-JR.js → layers.8nVUd6Cd.js} +1 -1
  13. package/dist/{layers.D-xK8h4X.js → layers.9Y-LH55f.js} +1 -1
  14. package/dist/{layers.C_0uL0lu.js → layers.B-T1E33V.js} +1 -1
  15. package/dist/{layers.CTzpQJrz.js → layers.B00eUWf5.js} +3 -3
  16. package/dist/{layers.DjZdvQQY.js → layers.B07PLqjD.js} +1 -1
  17. package/dist/{layers.Bb0NXUFw.js → layers.B1FsQsPz.js} +1 -1
  18. package/dist/{layers.BBZL6QaK.js → layers.B1Xw_x3E.js} +1 -1
  19. package/dist/{layers.srlypw1l.js → layers.B2IJDn9h.js} +1 -1
  20. package/dist/{layers.D6dwFhht.js → layers.B2J8jAr0.js} +1 -1
  21. package/dist/{layers.OeuRpLZr.js → layers.B3OumH1j.js} +1 -1
  22. package/dist/{layers.CJBYVYBK.js → layers.B4L4F166.js} +1 -1
  23. package/dist/{layers.D4v0XyUf.js → layers.B4TbjCdG.js} +1 -1
  24. package/dist/{layers.D9JK3npg.js → layers.B52OePBO.js} +1 -1
  25. package/dist/{layers.DCAo6G5D.js → layers.B5PAL3Mk.js} +1 -1
  26. package/dist/{layers.C1iEaL9k.js → layers.B6B9VWj3.js} +1 -1
  27. package/dist/{layers.A_NuFq0j.js → layers.B6__RU1n.js} +3 -3
  28. package/dist/{layers.D-1CXIBI.js → layers.B8bKInQH.js} +4 -4
  29. package/dist/{layers.CYJyjqCg.js → layers.B9eAh7P_.js} +1 -1
  30. package/dist/{layers.HsplLW7l.js → layers.B9yTlauH.js} +1 -1
  31. package/dist/{layers.1EHoXd8e.js → layers.BALPvTsf.js} +1 -1
  32. package/dist/{layers.-WGsbPEO.js → layers.BFp-zvtK.js} +2 -2
  33. package/dist/{layers.DygycO7X.js → layers.BGy27fAg.js} +1 -1
  34. package/dist/{layers.igIdIxGe.js → layers.BINzdWAH.js} +1 -1
  35. package/dist/{layers.XJChT8Le.js → layers.BLwZ01pc.js} +1 -1
  36. package/dist/{layers.CYHkquLL.js → layers.BM8bbp_W.js} +1 -1
  37. package/dist/{layers.DBOFmWi_.js → layers.BMUEyFmT.js} +4 -4
  38. package/dist/{layers.D_ILz54C.js → layers.BMqFOOLk.js} +1 -1
  39. package/dist/{layers.D0rE1hbF.js → layers.BNDlBtkw.js} +1 -1
  40. package/dist/{layers.CuAZJoX1.js → layers.BOdz6LuM.js} +1 -1
  41. package/dist/{layers.BBXYbcFN.js → layers.BQbv2l1Q.js} +1 -1
  42. package/dist/{layers.C0q8oCjN.js → layers.BWUQzudO.js} +1 -1
  43. package/dist/{layers.SwZPMavM.js → layers.BWes4FV6.js} +1 -1
  44. package/dist/{layers.BYRpGhl3.js → layers.BXemj8co.js} +1 -1
  45. package/dist/{layers.DLBD3WBx.js → layers.BXqzqaLD.js} +1 -1
  46. package/dist/{layers.BFxRJ3Li.js → layers.BY-5oSoX.js} +1 -1
  47. package/dist/{layers.DGWfd9sT.js → layers.BZBiEl1t.js} +1 -1
  48. package/dist/{layers.VAQxBGRz.js → layers.B_I2_Ysw.js} +1 -1
  49. package/dist/layers.Bd_x9_TQ.js +295 -0
  50. package/dist/{layers.BblO5S7z.js → layers.BdnbE0GC.js} +1 -1
  51. package/dist/{layers.Do3LJDis.js → layers.Beh3qZ28.js} +4 -4
  52. package/dist/{layers.BU5FG1HP.js → layers.BfJfgTbX.js} +1 -1
  53. package/dist/{layers.FoT1zSFE.js → layers.Bgsr62HT.js} +1 -1
  54. package/dist/{layers.MczyPMMk.js → layers.BhFTOUEQ.js} +1 -1
  55. package/dist/{layers.BkrI3eMq.js → layers.BiDw0-fz.js} +1 -1
  56. package/dist/{layers.5Sr9IY96.js → layers.BjYgho3K.js} +1 -1
  57. package/dist/{layers.D3Qwcfa_.js → layers.BksglUOs.js} +1 -1
  58. package/dist/{layers.BzRvQtZ0.js → layers.Blny7oG0.js} +1 -1
  59. package/dist/layers.Bo_RF4hw.js +1 -0
  60. package/dist/{layers.BlPVzVNM.js → layers.BokKoRy8.js} +1 -1
  61. package/dist/{layers.tqtFgs0l.js → layers.BorvtHOi.js} +1 -1
  62. package/dist/{layers.bSw_jQ5U.js → layers.Boy6btZn.js} +1 -1
  63. package/dist/{layers.DRFq8PR7.js → layers.BpcnSSgi.js} +1 -1
  64. package/dist/{layers.MLq12lxF.js → layers.Bq5XsBQ5.js} +1 -1
  65. package/dist/{layers.DPnpGXQm.js → layers.BrmNxkNo.js} +1 -1
  66. package/dist/{layers.D87gRG-J.js → layers.BsfqIAP_.js} +3 -3
  67. package/dist/{layers.DIc9Pn5-.js → layers.BtJq8l8D.js} +28 -28
  68. package/dist/{layers.BQFScIff.js → layers.Bu52dnul.js} +1 -1
  69. package/dist/{layers.B7O9Ykf9.js → layers.BuAvFce5.js} +1 -1
  70. package/dist/{layers.B6YfcxJD.js → layers.BvUbYsIh.js} +1 -1
  71. package/dist/{layers.Dmrtdk6A.js → layers.By3VbeCS.js} +1 -1
  72. package/dist/{layers.OUHm0dZY.js → layers.ByDzkznS.js} +1 -1
  73. package/dist/{layers.Cef-VRJs.js → layers.By_5dXH0.js} +1 -1
  74. package/dist/{layers.j1hLqMc8.js → layers.Bz5QjNcA.js} +1 -1
  75. package/dist/{layers.DUYA7tE_.js → layers.BzUiZIOE.js} +1 -1
  76. package/dist/{layers.AEy2G-Gv.js → layers.C-uV1VCU.js} +1 -1
  77. package/dist/{layers.B2AGu32C.js → layers.C0Lgw_Sx.js} +1107 -1111
  78. package/dist/{layers.C1w3XBPW.js → layers.C26pM0u3.js} +7 -7
  79. package/dist/layers.C4FOGS9l.js +185 -0
  80. package/dist/layers.C9JFHNAE.js +1 -0
  81. package/dist/{layers.CrZ6TV4m.js → layers.CAJk9JhL.js} +1 -1
  82. package/dist/{layers.D-EQ5B97.js → layers.CD5PtIhc.js} +1 -1
  83. package/dist/{layers.Cle37JNX.js → layers.CDNgyFBt.js} +1 -1
  84. package/dist/{layers.BbpcdAWy.js → layers.CE-j3pAE.js} +1 -1
  85. package/dist/{layers.L1UaldnR.js → layers.CEVuKCHo.js} +1 -1
  86. package/dist/{layers.CSW2aYxs.js → layers.CGidME_e.js} +1 -1
  87. package/dist/{layers.DukBaqf8.js → layers.CH9EvzwD.js} +1 -1
  88. package/dist/{layers.Bn7Yja2i.js → layers.CHked0HY.js} +1 -1
  89. package/dist/{layers.DRYGpdtc.js → layers.CI6xrP1g.js} +6 -6
  90. package/dist/{layers.CHuQjPi1.js → layers.CJF9KY-T.js} +1 -1
  91. package/dist/{layers.DQ8aCG7v.js → layers.CKMeR2-b.js} +3 -3
  92. package/dist/{layers.Dn02LanZ.js → layers.CKYW0WK7.js} +3 -3
  93. package/dist/{layers.BRu1ZkhL.js → layers.CLdEpCNh.js} +1 -1
  94. package/dist/{layers.CsmOgd93.js → layers.CLpA8_n-.js} +1 -1
  95. package/dist/{layers.CdvbuuVd.js → layers.CMQADtnC.js} +1 -1
  96. package/dist/{layers.K3yYYJdK.js → layers.CMbloLIy.js} +1 -1
  97. package/dist/{layers.COaiyaHl.js → layers.COXN2kFB.js} +3 -3
  98. package/dist/{layers.CoVavTdv.js → layers.CPx5B7ir.js} +1 -1
  99. package/dist/{layers.B3CuqfYy.js → layers.CRA_nEuS.js} +1 -1
  100. package/dist/{layers.CQqtbI-S.js → layers.CRLkAMek.js} +1 -1
  101. package/dist/{layers.Bs7-WFjs.js → layers.CS9HkXCg.js} +5 -5
  102. package/dist/{layers.CoZpR7_r.js → layers.CYv0EfdM.js} +1 -1
  103. package/dist/{layers.uwhbxtz3.js → layers.CaCduGHo.js} +1 -1
  104. package/dist/{layers.CldWERA-.js → layers.CcmZJ8tC.js} +1 -1
  105. package/dist/{layers.D8fb1iDb.js → layers.CdjVacyq.js} +1 -1
  106. package/dist/{layers.BCbGsxxm.js → layers.Cgc-09DU.js} +1 -1
  107. package/dist/{layers.DmgkuDwj.js → layers.CiBFjZKG.js} +1 -1
  108. package/dist/{layers.DrTVlGxj.js → layers.CjPkCdgH.js} +1 -1
  109. package/dist/{layers.cu7eSI3X.js → layers.ClZGx92s.js} +1 -1
  110. package/dist/{layers.OGhIzIND.js → layers.Cn3TJVxn.js} +1 -1
  111. package/dist/{layers.Dd-Mdjt8.js → layers.CoYfVa-H.js} +1 -1
  112. package/dist/{layers.AIQle8wy.js → layers.CrfJaH_d.js} +1 -1
  113. package/dist/{layers.D_3fuwmS.js → layers.CuZy8M38.js} +1 -1
  114. package/dist/{layers.CRWsKrSv.js → layers.CwXBI6y0.js} +1 -1
  115. package/dist/{layers.C00LPdpd.js → layers.CxcPmkCK.js} +3 -3
  116. package/dist/{layers.BjFHkSyo.js → layers.CylP6018.js} +1 -1
  117. package/dist/{layers.DPhgksD-.js → layers.Czd9b-rz.js} +1 -1
  118. package/dist/{layers.CSfCebqe.js → layers.D-eduCMA.js} +1 -1
  119. package/dist/{layers.BWj5iNQV.js → layers.D1D3d2s8.js} +1 -1
  120. package/dist/{layers.Bh0aB-u7.js → layers.D1Yq_Nfk.js} +2 -2
  121. package/dist/{layers.bn1dbtN4.js → layers.D3AyF_2n.js} +1 -1
  122. package/dist/{layers.BW99L8Fl.js → layers.D3Kz5FCm.js} +1 -1
  123. package/dist/{layers.78ekkCq0.js → layers.D60BHc_p.js} +1 -1
  124. package/dist/{layers.CrpDpBIW.js → layers.D78X4VTs.js} +3 -3
  125. package/dist/{layers.BLQfYqXT.js → layers.D94P2sn2.js} +1 -1
  126. package/dist/{layers.DhZsCIrr.js → layers.D9JHrVDJ.js} +1 -1
  127. package/dist/{layers.Lz059Um8.js → layers.D9SJiNDj.js} +1 -1
  128. package/dist/{layers.jrSryxFl.js → layers.DFdjepbk.js} +1 -1
  129. package/dist/{layers.Ct-zQnmI.js → layers.DHZsZqkG.js} +1 -1
  130. package/dist/{layers.B5bQ8hRv.js → layers.DJB-BQnx.js} +1 -1
  131. package/dist/{layers.DvxaikrZ.js → layers.DKN5lpDV.js} +1 -1
  132. package/dist/{layers.WPo01EJ5.js → layers.DLIhfwr4.js} +1 -1
  133. package/dist/{layers.BUuBI6QS.js → layers.DM9Ek_DW.js} +1 -1
  134. package/dist/{layers.CXUGZO8g.js → layers.DNhKVEkn.js} +1 -1
  135. package/dist/{layers.wf8u33re.js → layers.DOM00Sog.js} +1 -1
  136. package/dist/{layers.BirPY36J.js → layers.DPI_LwKI.js} +4 -4
  137. package/dist/{layers.C4ROEdAW.js → layers.DQ3bFSBD.js} +1 -1
  138. package/dist/{layers.Dgm8-XFN.js → layers.DQyxi1RB.js} +1 -1
  139. package/dist/{layers.CFa6SgS0.js → layers.DR2gsH63.js} +1 -1
  140. package/dist/{layers.Bit9KYIY.js → layers.DScqf052.js} +1 -1
  141. package/dist/{layers.D2Jbdqtj.js → layers.DTAFC-N6.js} +1 -1
  142. package/dist/{layers.2cerO4OS.js → layers.DU1uF3vu.js} +1 -1
  143. package/dist/{layers.CX9eMlzX.js → layers.DWgJ-0in.js} +1 -1
  144. package/dist/{layers.B1VZZIP7.js → layers.DYXfsszA.js} +8 -8
  145. package/dist/{layers.BFlWA9Iz.js → layers.DbO0HQdI.js} +3 -3
  146. package/dist/{layers.CEmVEjbM.js → layers.DbqSqZYc.js} +1 -1
  147. package/dist/{layers.iBT5g_cH.js → layers.DcsPqj-Z.js} +2 -2
  148. package/dist/{layers.B0lp7rOz.js → layers.Df3ACIjf.js} +1 -1
  149. package/dist/{layers.B4n4WelM.js → layers.DfC8ktsR.js} +1 -1
  150. package/dist/{layers.COhnMbFE.js → layers.DgappVOU.js} +4 -4
  151. package/dist/{layers.0RkUYii1.js → layers.DgpnKPWf.js} +2 -2
  152. package/dist/{layers.UHZ7LEG5.js → layers.Dj7bXKS7.js} +1 -1
  153. package/dist/{layers.BiCOjicn.js → layers.DksNCZxQ.js} +1 -1
  154. package/dist/{layers.D4RhFsg6.js → layers.DmsM6Qg9.js} +1 -1
  155. package/dist/{layers.CbseH42B.js → layers.Du1Nf-NG.js} +1 -1
  156. package/dist/{layers.PsWF_Poj.js → layers.DuxyP0ji.js} +1 -1
  157. package/dist/{layers.DdjaY7yq.js → layers.Dw-QkFZF.js} +1 -1
  158. package/dist/{layers.D-uwIUCE.js → layers.DyTNHqEl.js} +1 -1
  159. package/dist/{layers.weZ4wJXB.js → layers.DzOm3Vhh.js} +1 -1
  160. package/dist/{layers.B4qkzU1u.js → layers.DzXvemFN.js} +1 -1
  161. package/dist/{layers.IKdQaUN6.js → layers.DzvZ6W1a.js} +1 -1
  162. package/dist/{layers.0FtwCmdk.js → layers.FXzreM3I.js} +1 -1
  163. package/dist/{layers.DpzPbocR.js → layers.Ge67u4Lg.js} +1 -1
  164. package/dist/{layers.DgwJ1eL7.js → layers.HFHOtFHx.js} +1 -1
  165. package/dist/{layers.BNUbfOwd.js → layers.IRjje9W2.js} +1 -1
  166. package/dist/layers.J9q2zgQ_.js +8 -0
  167. package/dist/{layers.-wDyU9sN.js → layers.JjAR2UxQ.js} +1 -1
  168. package/dist/{layers.BE_DKuuD.js → layers.LYACMOfO.js} +5 -5
  169. package/dist/{layers.D6SbX5Az.js → layers.LfZgmPJt.js} +1 -1
  170. package/dist/layers.Qrdvj3Iv.js +1 -0
  171. package/dist/{layers.oQqeIYLp.js → layers.SCriQjMt.js} +4 -4
  172. package/dist/{layers.CyxAbBDV.js → layers.TI1pGvFM.js} +1 -1
  173. package/dist/{layers.Dqsk7GNe.js → layers.U7OjbG2L.js} +1 -1
  174. package/dist/{layers.BS1BSw0O.js → layers.UKh9Jf6g.js} +1 -1
  175. package/dist/{layers.C4qaO0MD.js → layers.UW5njpyk.js} +1 -1
  176. package/dist/{layers.DSl3dgu7.js → layers.Weole8br.js} +1 -1
  177. package/dist/{layers.HstOwREP.js → layers.X1Hs4Ov6.js} +17035 -16373
  178. package/dist/{layers.Dmf-FkA-.js → layers.ZFRN2MNV.js} +1 -1
  179. package/dist/{layers.9jdDI2yV.js → layers.ZqniUea_.js} +1 -1
  180. package/dist/{layers.D3sICpwv.js → layers._0bIFJ4H.js} +1 -1
  181. package/dist/{layers.D4DB55K_.js → layers._mJmZgn0.js} +1 -1
  182. package/dist/{layers.CAwBq0yQ.js → layers.aKJCHsCI.js} +1 -1
  183. package/dist/{layers.CeU6SAcT.js → layers.bRN3h1qV.js} +1 -1
  184. package/dist/{layers.CAcpgnDk.js → layers.flxCpcfq.js} +1 -1
  185. package/dist/{layers.DobBKdZ6.js → layers.gy6tMPzp.js} +1 -1
  186. package/dist/layers.hweLqW3I.js +261 -0
  187. package/dist/{layers.DipbuRcs.js → layers.is6YPW79.js} +1 -1
  188. package/dist/{layers.BZ217a7U.js → layers.j5Yynxwv.js} +1 -1
  189. package/dist/{layers.Bfw0Gunv.js → layers.jPLG-SGj.js} +2246 -2229
  190. package/dist/{layers.BP3xLRrX.js → layers.jrDFXoC0.js} +1 -1
  191. package/dist/{layers.BM0ksLnS.js → layers.kBLCRQY5.js} +1 -1
  192. package/dist/{layers.DJVg69Yo.js → layers.llTG3OaH.js} +2 -2
  193. package/dist/{layers.DAvEslJc.js → layers.nxKnOebX.js} +1 -1
  194. package/dist/{layers.raic7pCl.js → layers.oG_YCgf2.js} +3 -3
  195. package/dist/{layers.3Ekf-o8F.js → layers.p-ST12c6.js} +1 -1
  196. package/dist/{layers.Dd9WE-Kq.js → layers.pUhX3uEP.js} +2 -2
  197. package/dist/{layers.CLOKCltZ.js → layers.pkE_hmFx.js} +1 -1
  198. package/dist/{layers.Cn2QpKZw.js → layers.qj44olZl.js} +1 -1
  199. package/dist/{layers.C996Xek1.js → layers.rFMPe5_F.js} +4 -4
  200. package/dist/{layers.DVgohoWC.js → layers.rh7aXOCX.js} +1 -1
  201. package/dist/{layers.CmLupkS6.js → layers.sFQ0Fe8o.js} +4 -4
  202. package/dist/{layers.Bnu-owJj.js → layers.upuz9Vfs.js} +1 -1
  203. package/dist/{layers.Bp_lUbdE.js → layers.vcIs-HWp.js} +1 -1
  204. package/dist/{layers.DoI-3ssc.js → layers.wVeBuHpP.js} +4 -4
  205. package/dist/{layers.cdGjFrMq.js → layers.xgRxOD3D.js} +1 -1
  206. package/dist/{layers.DkyFv1Ys.js → layers.xlb9LMQY.js} +1 -1
  207. package/dist/{layers.R7Qt9hQa.js → layers.zThsVp-1.js} +1 -1
  208. package/dist/{layers.DgJemaOm.js → layers.zhsEYWVP.js} +2 -2
  209. package/package.json +12 -3
  210. package/dist/layers.BVrcjbG3.js +0 -8
  211. package/dist/layers.BkQdsQ8U.js +0 -285
  212. package/dist/layers.Cs24L6er.js +0 -261
  213. package/dist/layers.DR14S1m9.js +0 -161
  214. package/dist/layers.DSd23vw_.js +0 -1
  215. package/dist/layers.DzUJmmvD.js +0 -1
  216. package/dist/layers.M6o7NygO.js +0 -6
  217. package/dist/layers.OH8pkzdf.js +0 -1
@@ -1,4 +1,4 @@
1
- class o0 {
1
+ class u0 {
2
2
  // The + prefix indicates that these fields aren't writeable
3
3
  // Lexer holding the input string.
4
4
  // Start offset, zero-based inclusive.
@@ -15,7 +15,7 @@ class o0 {
15
15
  * - Otherwise, returns null.
16
16
  */
17
17
  static range(e, t) {
18
- return t ? !e || !e.loc || !t.loc || e.loc.lexer !== t.loc.lexer ? null : new o0(e.loc.lexer, e.loc.start, t.loc.end) : e && e.loc;
18
+ return t ? !e || !e.loc || !t.loc || e.loc.lexer !== t.loc.lexer ? null : new u0(e.loc.lexer, e.loc.start, t.loc.end) : e && e.loc;
19
19
  }
20
20
  }
21
21
  class m0 {
@@ -29,7 +29,7 @@ class m0 {
29
29
  * the whole input range enclosed by these two.
30
30
  */
31
31
  range(e, t) {
32
- return new m0(t, o0.range(this, e));
32
+ return new m0(t, u0.range(this, e));
33
33
  }
34
34
  }
35
35
  class M {
@@ -38,10 +38,10 @@ class M {
38
38
  // The underlying error message without any context added.
39
39
  constructor(e, t) {
40
40
  this.name = void 0, this.position = void 0, this.length = void 0, this.rawMessage = void 0;
41
- var a = "KaTeX parse error: " + e, n, s, o = t && t.loc;
42
- if (o && o.start <= o.end) {
43
- var h = o.lexer.input;
44
- n = o.start, s = o.end, n === h.length ? a += " at end of input: " : a += " at position " + (n + 1) + ": ";
41
+ var a = "KaTeX parse error: " + e, n, s, u = t && t.loc;
42
+ if (u && u.start <= u.end) {
43
+ var h = u.lexer.input;
44
+ n = u.start, s = u.end, n === h.length ? a += " at end of input: " : a += " at position " + (n + 1) + ": ";
45
45
  var c = h.slice(n, s).replace(/[^]/g, "$&̲"), p;
46
46
  n > 15 ? p = "…" + h.slice(n - 15, n) : p = h.slice(0, n);
47
47
  var g;
@@ -53,41 +53,38 @@ class M {
53
53
  }
54
54
  M.prototype.__proto__ = Error.prototype;
55
55
  var fa = function(e, t) {
56
- return e.indexOf(t) !== -1;
57
- }, pa = function(e, t) {
58
56
  return e === void 0 ? t : e;
59
- }, va = /([A-Z])/g, ga = function(e) {
60
- return e.replace(va, "-$1").toLowerCase();
61
- }, ba = {
57
+ }, pa = /([A-Z])/g, va = function(e) {
58
+ return e.replace(pa, "-$1").toLowerCase();
59
+ }, ga = {
62
60
  "&": "&amp;",
63
61
  ">": "&gt;",
64
62
  "<": "&lt;",
65
63
  '"': "&quot;",
66
64
  "'": "&#x27;"
67
- }, ya = /[&><"']/g;
68
- function xa(r) {
69
- return String(r).replace(ya, (e) => ba[e]);
65
+ }, ba = /[&><"']/g;
66
+ function ya(r) {
67
+ return String(r).replace(ba, (e) => ga[e]);
70
68
  }
71
69
  var vr = function r(e) {
72
70
  return e.type === "ordgroup" || e.type === "color" ? e.body.length === 1 ? r(e.body[0]) : e : e.type === "font" ? r(e.body) : e;
73
- }, wa = function(e) {
71
+ }, xa = function(e) {
74
72
  var t = vr(e);
75
73
  return t.type === "mathord" || t.type === "textord" || t.type === "atom";
76
- }, ka = function(e) {
74
+ }, wa = function(e) {
77
75
  if (!e)
78
76
  throw new Error("Expected non-null, but got " + String(e));
79
77
  return e;
80
- }, Sa = function(e) {
78
+ }, ka = function(e) {
81
79
  var t = /^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);
82
80
  return t ? t[2] !== ":" || !/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1]) ? null : t[1].toLowerCase() : "_relative";
83
- }, q = {
84
- contains: fa,
85
- deflt: pa,
86
- escape: xa,
87
- hyphenate: ga,
81
+ }, G = {
82
+ deflt: fa,
83
+ escape: ya,
84
+ hyphenate: va,
88
85
  getBaseElem: vr,
89
- isCharacterBox: wa,
90
- protocolFromUrl: Sa
86
+ isCharacterBox: xa,
87
+ protocolFromUrl: ka
91
88
  }, ze = {
92
89
  displayMode: {
93
90
  type: "boolean",
@@ -175,7 +172,7 @@ var vr = function r(e) {
175
172
  cli: !1
176
173
  }
177
174
  };
178
- function Ma(r) {
175
+ function Sa(r) {
179
176
  if (r.default)
180
177
  return r.default;
181
178
  var e = r.type, t = Array.isArray(e) ? e[0] : e;
@@ -198,7 +195,7 @@ class dt {
198
195
  for (var t in ze)
199
196
  if (ze.hasOwnProperty(t)) {
200
197
  var a = ze[t];
201
- this[t] = e[t] !== void 0 ? a.processor ? a.processor(e[t]) : e[t] : Ma(a);
198
+ this[t] = e[t] !== void 0 ? a.processor ? a.processor(e[t]) : e[t] : Sa(a);
202
199
  }
203
200
  }
204
201
  /**
@@ -241,7 +238,7 @@ class dt {
241
238
  */
242
239
  isTrusted(e) {
243
240
  if (e.url && !e.protocol) {
244
- var t = q.protocolFromUrl(e.url);
241
+ var t = G.protocolFromUrl(e.url);
245
242
  if (t == null)
246
243
  return !1;
247
244
  e.protocol = t;
@@ -258,40 +255,40 @@ class O0 {
258
255
  * Get the style of a superscript given a base in the current style.
259
256
  */
260
257
  sup() {
261
- return y0[za[this.id]];
258
+ return y0[Ma[this.id]];
262
259
  }
263
260
  /**
264
261
  * Get the style of a subscript given a base in the current style.
265
262
  */
266
263
  sub() {
267
- return y0[Aa[this.id]];
264
+ return y0[za[this.id]];
268
265
  }
269
266
  /**
270
267
  * Get the style of a fraction numerator given the fraction in the current
271
268
  * style.
272
269
  */
273
270
  fracNum() {
274
- return y0[Ta[this.id]];
271
+ return y0[Aa[this.id]];
275
272
  }
276
273
  /**
277
274
  * Get the style of a fraction denominator given the fraction in the current
278
275
  * style.
279
276
  */
280
277
  fracDen() {
281
- return y0[Ba[this.id]];
278
+ return y0[Ta[this.id]];
282
279
  }
283
280
  /**
284
281
  * Get the cramped version of a style (in particular, cramping a cramped style
285
282
  * doesn't change the style).
286
283
  */
287
284
  cramp() {
288
- return y0[Da[this.id]];
285
+ return y0[Ba[this.id]];
289
286
  }
290
287
  /**
291
288
  * Get a text or display version of this style.
292
289
  */
293
290
  text() {
294
- return y0[Ca[this.id]];
291
+ return y0[Da[this.id]];
295
292
  }
296
293
  /**
297
294
  * Return true if this style is tightly spaced (scriptstyle/scriptscriptstyle)
@@ -300,7 +297,7 @@ class O0 {
300
297
  return this.size >= 2;
301
298
  }
302
299
  }
303
- var ft = 0, Te = 1, ee = 2, B0 = 3, le = 4, f0 = 5, te = 6, n0 = 7, y0 = [new O0(ft, 0, !1), new O0(Te, 0, !0), new O0(ee, 1, !1), new O0(B0, 1, !0), new O0(le, 2, !1), new O0(f0, 2, !0), new O0(te, 3, !1), new O0(n0, 3, !0)], za = [le, f0, le, f0, te, n0, te, n0], Aa = [f0, f0, f0, f0, n0, n0, n0, n0], Ta = [ee, B0, le, f0, te, n0, te, n0], Ba = [B0, B0, f0, f0, n0, n0, n0, n0], Da = [Te, Te, B0, B0, f0, f0, n0, n0], Ca = [ft, Te, ee, B0, ee, B0, ee, B0], R = {
300
+ var ft = 0, Te = 1, ee = 2, B0 = 3, le = 4, f0 = 5, te = 6, n0 = 7, y0 = [new O0(ft, 0, !1), new O0(Te, 0, !0), new O0(ee, 1, !1), new O0(B0, 1, !0), new O0(le, 2, !1), new O0(f0, 2, !0), new O0(te, 3, !1), new O0(n0, 3, !0)], Ma = [le, f0, le, f0, te, n0, te, n0], za = [f0, f0, f0, f0, n0, n0, n0, n0], Aa = [ee, B0, le, f0, te, n0, te, n0], Ta = [B0, B0, f0, f0, n0, n0, n0, n0], Ba = [Te, Te, B0, B0, f0, f0, n0, n0], Da = [ft, Te, ee, B0, ee, B0, ee, B0], E = {
304
301
  DISPLAY: y0[ft],
305
302
  TEXT: y0[ee],
306
303
  SCRIPT: y0[le],
@@ -364,7 +361,7 @@ var ft = 0, Te = 1, ee = 2, B0 = 3, le = 4, f0 = 5, te = 6, n0 = 7, y0 = [new O0
364
361
  name: "hangul",
365
362
  blocks: [[44032, 55215]]
366
363
  }];
367
- function Na(r) {
364
+ function Ca(r) {
368
365
  for (var e = 0; e < nt.length; e++)
369
366
  for (var t = nt[e], a = 0; a < t.blocks.length; a++) {
370
367
  var n = t.blocks[a];
@@ -381,7 +378,7 @@ function gr(r) {
381
378
  return !0;
382
379
  return !1;
383
380
  }
384
- var _0 = 80, qa = function(e, t) {
381
+ var _0 = 80, Na = function(e, t) {
385
382
  return "M95," + (622 + e + t) + `
386
383
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
387
384
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
@@ -394,7 +391,7 @@ H400000v` + (40 + e) + `H845.2724
394
391
  s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
395
392
  c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
396
393
  M` + (834 + e) + " " + t + "h400000v" + (40 + e) + "h-400000z";
397
- }, Ea = function(e, t) {
394
+ }, qa = function(e, t) {
398
395
  return "M263," + (601 + e + t) + `c0.7,0,18,39.7,52,119
399
396
  c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
400
397
  c340,-704.7,510.7,-1060.3,512,-1067
@@ -406,7 +403,7 @@ c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
406
403
  s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
407
404
  c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
408
405
  M` + (1001 + e) + " " + t + "h400000v" + (40 + e) + "h-400000z";
409
- }, Ra = function(e, t) {
406
+ }, Ea = function(e, t) {
410
407
  return "M983 " + (10 + e + t) + `
411
408
  l` + e / 3.13 + " -" + e + `
412
409
  c4,-6.7,10,-10,18,-10 H400000v` + (40 + e) + `
@@ -417,7 +414,7 @@ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
417
414
  c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
418
415
  c53.7,-170.3,84.5,-266.8,92.5,-289.5z
419
416
  M` + (1001 + e) + " " + t + "h400000v" + (40 + e) + "h-400000z";
420
- }, Ia = function(e, t) {
417
+ }, Ra = function(e, t) {
421
418
  return "M424," + (2398 + e + t) + `
422
419
  c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
423
420
  c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
@@ -429,7 +426,7 @@ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
429
426
  c-2,6,-10,9,-24,9
430
427
  c-8,0,-12,-0.7,-12,-2z M` + (1001 + e) + " " + t + `
431
428
  h400000v` + (40 + e) + "h-400000z";
432
- }, Fa = function(e, t) {
429
+ }, Ia = function(e, t) {
433
430
  return "M473," + (2713 + e + t) + `
434
431
  c339.3,-1799.3,509.3,-2700,510,-2702 l` + e / 5.298 + " -" + e + `
435
432
  c3.3,-7.3,9.3,-11,18,-11 H400000v` + (40 + e) + `H1017.7
@@ -438,40 +435,40 @@ 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
438
435
  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
439
436
  s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
440
437
  606zM` + (1001 + e) + " " + t + "h400000v" + (40 + e) + "H1017.7z";
441
- }, Oa = function(e) {
438
+ }, Fa = function(e) {
442
439
  var t = e / 2;
443
440
  return "M400000 " + e + " H0 L" + t + " 0 l65 45 L145 " + (e - 80) + " H400000z";
444
- }, Ha = function(e, t, a) {
441
+ }, Oa = function(e, t, a) {
445
442
  var n = a - 54 - t - e;
446
443
  return "M702 " + (e + t) + "H400000" + (40 + e) + `
447
444
  H742v` + n + `l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
448
445
  h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
449
446
  c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
450
447
  219 661 l218 661zM702 ` + t + "H400000v" + (40 + e) + "H742z";
451
- }, La = function(e, t, a) {
448
+ }, Ha = function(e, t, a) {
452
449
  t = 1e3 * t;
453
450
  var n = "";
454
451
  switch (e) {
455
452
  case "sqrtMain":
456
- n = qa(t, _0);
453
+ n = Na(t, _0);
457
454
  break;
458
455
  case "sqrtSize1":
459
- n = Ea(t, _0);
456
+ n = qa(t, _0);
460
457
  break;
461
458
  case "sqrtSize2":
462
- n = Ra(t, _0);
459
+ n = Ea(t, _0);
463
460
  break;
464
461
  case "sqrtSize3":
465
- n = Ia(t, _0);
462
+ n = Ra(t, _0);
466
463
  break;
467
464
  case "sqrtSize4":
468
- n = Fa(t, _0);
465
+ n = Ia(t, _0);
469
466
  break;
470
467
  case "sqrtTall":
471
- n = Ha(t, _0, a);
468
+ n = Oa(t, _0, a);
472
469
  }
473
470
  return n;
474
- }, Pa = function(e, t) {
471
+ }, La = function(e, t) {
475
472
  switch (e) {
476
473
  case "⎜":
477
474
  return "M291 0 H417 V" + t + " H291z M291 0 H417 V" + t + " H291z";
@@ -746,7 +743,7 @@ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
746
743
  -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
747
744
  c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
748
745
  M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`
749
- }, Ga = function(e, t) {
746
+ }, Pa = function(e, t) {
750
747
  switch (e) {
751
748
  case "lbrack":
752
749
  return "M403 1759 V84 H666 V0 H319 V1759 v" + t + ` v1759 h347 v-84
@@ -800,14 +797,13 @@ l0,-` + (t + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
800
797
  throw new Error("Unknown stretchy delimiter.");
801
798
  }
802
799
  };
803
- class ue {
804
- // HtmlDomNode
800
+ class oe {
805
801
  // Never used; needed for satisfying interface.
806
802
  constructor(e) {
807
803
  this.children = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.maxFontSize = void 0, this.style = void 0, this.children = e, this.classes = [], this.height = 0, this.depth = 0, this.maxFontSize = 0, this.style = {};
808
804
  }
809
805
  hasClass(e) {
810
- return q.contains(this.classes, e);
806
+ return this.classes.includes(e);
811
807
  }
812
808
  /** Convert the fragment into a node. */
813
809
  toNode() {
@@ -3060,7 +3056,7 @@ var x0 = {
3060
3056
  ю: "m",
3061
3057
  я: "r"
3062
3058
  };
3063
- function Va(r, e) {
3059
+ function Ga(r, e) {
3064
3060
  x0[r] = e;
3065
3061
  }
3066
3062
  function pt(r, e, t) {
@@ -3077,7 +3073,7 @@ function pt(r, e, t) {
3077
3073
  };
3078
3074
  }
3079
3075
  var Ue = {};
3080
- function Ua(r) {
3076
+ function Va(r) {
3081
3077
  var e;
3082
3078
  if (r >= 5 ? e = 0 : r >= 3 ? e = 1 : e = 2, !Ue[e]) {
3083
3079
  var t = Ue[e] = {
@@ -3088,7 +3084,7 @@ function Ua(r) {
3088
3084
  }
3089
3085
  return Ue[e];
3090
3086
  }
3091
- var Ya = [
3087
+ var Ua = [
3092
3088
  // Each element contains [textsize, scriptsize, scriptscriptsize].
3093
3089
  // The size mappings are taken from TeX with \normalsize=10pt.
3094
3090
  [1, 1, 1],
@@ -3128,7 +3124,7 @@ var Ya = [
3128
3124
  2.074,
3129
3125
  2.488
3130
3126
  ], Lt = function(e, t) {
3131
- return t.size < 2 ? e : Ya[e - 1][t.size - 1];
3127
+ return t.size < 2 ? e : Ua[e - 1][t.size - 1];
3132
3128
  };
3133
3129
  class T0 {
3134
3130
  // A font family applies to a group of fonts (i.e. SansSerif), while a font
@@ -3296,7 +3292,7 @@ class T0 {
3296
3292
  * Return the font metrics for this size.
3297
3293
  */
3298
3294
  fontMetrics() {
3299
- return this._fontMetrics || (this._fontMetrics = Ua(this.size)), this._fontMetrics;
3295
+ return this._fontMetrics || (this._fontMetrics = Va(this.size)), this._fontMetrics;
3300
3296
  }
3301
3297
  /**
3302
3298
  * Gets the CSS color of the current options object
@@ -3334,12 +3330,12 @@ var it = {
3334
3330
  // https://tex.stackexchange.com/a/41371
3335
3331
  px: 803 / 800
3336
3332
  // \pdfpxdimen defaults to 1 bp in pdfTeX and LuaTeX
3337
- }, Xa = {
3333
+ }, Ya = {
3338
3334
  ex: !0,
3339
3335
  em: !0,
3340
3336
  mu: !0
3341
3337
  }, br = function(e) {
3342
- return typeof e != "string" && (e = e.unit), e in it || e in Xa || e === "ex";
3338
+ return typeof e != "string" && (e = e.unit), e in it || e in Ya || e === "ex";
3343
3339
  }, K = function(e, t) {
3344
3340
  var a;
3345
3341
  if (e.unit in it)
@@ -3377,22 +3373,22 @@ var it = {
3377
3373
  for (var s = 0; s < this.children.length; s++)
3378
3374
  t.appendChild(this.children[s].toNode());
3379
3375
  return t;
3380
- }, $a = /[\s"'>/=\x00-\x1f]/, wr = function(e) {
3376
+ }, Xa = /[\s"'>/=\x00-\x1f]/, wr = function(e) {
3381
3377
  var t = "<" + e;
3382
- this.classes.length && (t += ' class="' + q.escape(P0(this.classes)) + '"');
3378
+ this.classes.length && (t += ' class="' + G.escape(P0(this.classes)) + '"');
3383
3379
  var a = "";
3384
3380
  for (var n in this.style)
3385
- this.style.hasOwnProperty(n) && (a += q.hyphenate(n) + ":" + this.style[n] + ";");
3386
- a && (t += ' style="' + q.escape(a) + '"');
3381
+ this.style.hasOwnProperty(n) && (a += G.hyphenate(n) + ":" + this.style[n] + ";");
3382
+ a && (t += ' style="' + G.escape(a) + '"');
3387
3383
  for (var s in this.attributes)
3388
3384
  if (this.attributes.hasOwnProperty(s)) {
3389
- if ($a.test(s))
3385
+ if (Xa.test(s))
3390
3386
  throw new M("Invalid attribute name '" + s + "'");
3391
- t += " " + s + '="' + q.escape(this.attributes[s]) + '"';
3387
+ t += " " + s + '="' + G.escape(this.attributes[s]) + '"';
3392
3388
  }
3393
3389
  t += ">";
3394
- for (var o = 0; o < this.children.length; o++)
3395
- t += this.children[o].toMarkup();
3390
+ for (var u = 0; u < this.children.length; u++)
3391
+ t += this.children[u].toMarkup();
3396
3392
  return t += "</" + e + ">", t;
3397
3393
  };
3398
3394
  class he {
@@ -3408,7 +3404,7 @@ class he {
3408
3404
  this.attributes[e] = t;
3409
3405
  }
3410
3406
  hasClass(e) {
3411
- return q.contains(this.classes, e);
3407
+ return this.classes.includes(e);
3412
3408
  }
3413
3409
  toNode() {
3414
3410
  return xr.call(this, "span");
@@ -3425,7 +3421,7 @@ class vt {
3425
3421
  this.attributes[e] = t;
3426
3422
  }
3427
3423
  hasClass(e) {
3428
- return q.contains(this.classes, e);
3424
+ return this.classes.includes(e);
3429
3425
  }
3430
3426
  toNode() {
3431
3427
  return xr.call(this, "a");
@@ -3434,12 +3430,12 @@ class vt {
3434
3430
  return wr.call(this, "a");
3435
3431
  }
3436
3432
  }
3437
- class Wa {
3433
+ class $a {
3438
3434
  constructor(e, t, a) {
3439
3435
  this.src = void 0, this.alt = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.maxFontSize = void 0, this.style = void 0, this.alt = t, this.src = e, this.classes = ["mord"], this.style = a;
3440
3436
  }
3441
3437
  hasClass(e) {
3442
- return q.contains(this.classes, e);
3438
+ return this.classes.includes(e);
3443
3439
  }
3444
3440
  toNode() {
3445
3441
  var e = document.createElement("img");
@@ -3449,13 +3445,13 @@ class Wa {
3449
3445
  return e;
3450
3446
  }
3451
3447
  toMarkup() {
3452
- var e = '<img src="' + q.escape(this.src) + '"' + (' alt="' + q.escape(this.alt) + '"'), t = "";
3448
+ var e = '<img src="' + G.escape(this.src) + '"' + (' alt="' + G.escape(this.alt) + '"'), t = "";
3453
3449
  for (var a in this.style)
3454
- this.style.hasOwnProperty(a) && (t += q.hyphenate(a) + ":" + this.style[a] + ";");
3455
- return t && (e += ' style="' + q.escape(t) + '"'), e += "'/>", e;
3450
+ this.style.hasOwnProperty(a) && (t += G.hyphenate(a) + ":" + this.style[a] + ";");
3451
+ return t && (e += ' style="' + G.escape(t) + '"'), e += "'/>", e;
3456
3452
  }
3457
3453
  }
3458
- var ja = {
3454
+ var Wa = {
3459
3455
  î: "ı̂",
3460
3456
  ï: "ı̈",
3461
3457
  í: "ı́",
@@ -3463,13 +3459,13 @@ var ja = {
3463
3459
  ì: "ı̀"
3464
3460
  };
3465
3461
  class p0 {
3466
- constructor(e, t, a, n, s, o, h, c) {
3467
- this.text = void 0, this.height = void 0, this.depth = void 0, this.italic = void 0, this.skew = void 0, this.width = void 0, this.maxFontSize = void 0, this.classes = void 0, this.style = void 0, this.text = e, this.height = t || 0, this.depth = a || 0, this.italic = n || 0, this.skew = s || 0, this.width = o || 0, this.classes = h || [], this.style = c || {}, this.maxFontSize = 0;
3468
- var p = Na(this.text.charCodeAt(0));
3469
- p && this.classes.push(p + "_fallback"), /[îïíì]/.test(this.text) && (this.text = ja[this.text]);
3462
+ constructor(e, t, a, n, s, u, h, c) {
3463
+ this.text = void 0, this.height = void 0, this.depth = void 0, this.italic = void 0, this.skew = void 0, this.width = void 0, this.maxFontSize = void 0, this.classes = void 0, this.style = void 0, this.text = e, this.height = t || 0, this.depth = a || 0, this.italic = n || 0, this.skew = s || 0, this.width = u || 0, this.classes = h || [], this.style = c || {}, this.maxFontSize = 0;
3464
+ var p = Ca(this.text.charCodeAt(0));
3465
+ p && this.classes.push(p + "_fallback"), /[îïíì]/.test(this.text) && (this.text = Wa[this.text]);
3470
3466
  }
3471
3467
  hasClass(e) {
3472
- return q.contains(this.classes, e);
3468
+ return this.classes.includes(e);
3473
3469
  }
3474
3470
  /**
3475
3471
  * Creates a text node or span from a symbol node. Note that a span is only
@@ -3487,13 +3483,13 @@ class p0 {
3487
3483
  */
3488
3484
  toMarkup() {
3489
3485
  var e = !1, t = "<span";
3490
- this.classes.length && (e = !0, t += ' class="', t += q.escape(P0(this.classes)), t += '"');
3486
+ this.classes.length && (e = !0, t += ' class="', t += G.escape(P0(this.classes)), t += '"');
3491
3487
  var a = "";
3492
3488
  this.italic > 0 && (a += "margin-right:" + this.italic + "em;");
3493
3489
  for (var n in this.style)
3494
- this.style.hasOwnProperty(n) && (a += q.hyphenate(n) + ":" + this.style[n] + ";");
3495
- a && (e = !0, t += ' style="' + q.escape(a) + '"');
3496
- var s = q.escape(this.text);
3490
+ this.style.hasOwnProperty(n) && (a += G.hyphenate(n) + ":" + this.style[n] + ";");
3491
+ a && (e = !0, t += ' style="' + G.escape(a) + '"');
3492
+ var s = G.escape(this.text);
3497
3493
  return e ? (t += ">", t += s, t += "</span>", t) : s;
3498
3494
  }
3499
3495
  }
@@ -3512,7 +3508,7 @@ class C0 {
3512
3508
  toMarkup() {
3513
3509
  var e = '<svg xmlns="http://www.w3.org/2000/svg"';
3514
3510
  for (var t in this.attributes)
3515
- Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="' + q.escape(this.attributes[t]) + '"');
3511
+ Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="' + G.escape(this.attributes[t]) + '"');
3516
3512
  e += ">";
3517
3513
  for (var a = 0; a < this.children.length; a++)
3518
3514
  e += this.children[a].toMarkup();
@@ -3528,7 +3524,7 @@ class G0 {
3528
3524
  return this.alternate ? t.setAttribute("d", this.alternate) : t.setAttribute("d", Ft[this.pathName]), t;
3529
3525
  }
3530
3526
  toMarkup() {
3531
- return this.alternate ? '<path d="' + q.escape(this.alternate) + '"/>' : '<path d="' + q.escape(Ft[this.pathName]) + '"/>';
3527
+ return this.alternate ? '<path d="' + G.escape(this.alternate) + '"/>' : '<path d="' + G.escape(Ft[this.pathName]) + '"/>';
3532
3528
  }
3533
3529
  }
3534
3530
  class st {
@@ -3544,7 +3540,7 @@ class st {
3544
3540
  toMarkup() {
3545
3541
  var e = "<line";
3546
3542
  for (var t in this.attributes)
3547
- Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="' + q.escape(this.attributes[t]) + '"');
3543
+ Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="' + G.escape(this.attributes[t]) + '"');
3548
3544
  return e += "/>", e;
3549
3545
  }
3550
3546
  }
@@ -3553,19 +3549,19 @@ function Pt(r) {
3553
3549
  return r;
3554
3550
  throw new Error("Expected symbolNode but got " + String(r) + ".");
3555
3551
  }
3556
- function Za(r) {
3552
+ function ja(r) {
3557
3553
  if (r instanceof he)
3558
3554
  return r;
3559
3555
  throw new Error("Expected span<HtmlDomNode> but got " + String(r) + ".");
3560
3556
  }
3561
- var Ka = {
3557
+ var Za = {
3562
3558
  bin: 1,
3563
3559
  close: 1,
3564
3560
  inner: 1,
3565
3561
  open: 1,
3566
3562
  punct: 1,
3567
3563
  rel: 1
3568
- }, Ja = {
3564
+ }, Ka = {
3569
3565
  "accent-token": 1,
3570
3566
  mathord: 1,
3571
3567
  "op-token": 1,
@@ -3582,102 +3578,102 @@ function i(r, e, t, a, n, s) {
3582
3578
  replace: a
3583
3579
  }, s && a && ($[r][a] = $[r][n]);
3584
3580
  }
3585
- var l = "math", k = "text", u = "main", d = "ams", W = "accent-token", D = "bin", i0 = "close", re = "inner", E = "mathord", _ = "op-token", c0 = "open", qe = "punct", f = "rel", E0 = "spacing", v = "textord";
3586
- i(l, u, f, "≡", "\\equiv", !0);
3587
- i(l, u, f, "≺", "\\prec", !0);
3588
- i(l, u, f, "≻", "\\succ", !0);
3589
- i(l, u, f, "∼", "\\sim", !0);
3590
- i(l, u, f, "⊥", "\\perp");
3591
- i(l, u, f, "⪯", "\\preceq", !0);
3592
- i(l, u, f, "⪰", "\\succeq", !0);
3593
- i(l, u, f, "≃", "\\simeq", !0);
3594
- i(l, u, f, "∣", "\\mid", !0);
3595
- i(l, u, f, "≪", "\\ll", !0);
3596
- i(l, u, f, "≫", "\\gg", !0);
3597
- i(l, u, f, "≍", "\\asymp", !0);
3598
- i(l, u, f, "∥", "\\parallel");
3599
- i(l, u, f, "⋈", "\\bowtie", !0);
3600
- i(l, u, f, "⌣", "\\smile", !0);
3601
- i(l, u, f, "⊑", "\\sqsubseteq", !0);
3602
- i(l, u, f, "⊒", "\\sqsupseteq", !0);
3603
- i(l, u, f, "≐", "\\doteq", !0);
3604
- i(l, u, f, "⌢", "\\frown", !0);
3605
- i(l, u, f, "∋", "\\ni", !0);
3606
- i(l, u, f, "∝", "\\propto", !0);
3607
- i(l, u, f, "⊢", "\\vdash", !0);
3608
- i(l, u, f, "⊣", "\\dashv", !0);
3609
- i(l, u, f, "∋", "\\owns");
3610
- i(l, u, qe, ".", "\\ldotp");
3611
- i(l, u, qe, "⋅", "\\cdotp");
3612
- i(l, u, v, "#", "\\#");
3613
- i(k, u, v, "#", "\\#");
3614
- i(l, u, v, "&", "\\&");
3615
- i(k, u, v, "&", "\\&");
3616
- i(l, u, v, "ℵ", "\\aleph", !0);
3617
- i(l, u, v, "∀", "\\forall", !0);
3618
- i(l, u, v, "ℏ", "\\hbar", !0);
3619
- i(l, u, v, "∃", "\\exists", !0);
3620
- i(l, u, v, "∇", "\\nabla", !0);
3621
- i(l, u, v, "♭", "\\flat", !0);
3622
- i(l, u, v, "ℓ", "\\ell", !0);
3623
- i(l, u, v, "♮", "\\natural", !0);
3624
- i(l, u, v, "♣", "\\clubsuit", !0);
3625
- i(l, u, v, "℘", "\\wp", !0);
3626
- i(l, u, v, "♯", "\\sharp", !0);
3627
- i(l, u, v, "♢", "\\diamondsuit", !0);
3628
- i(l, u, v, "ℜ", "\\Re", !0);
3629
- i(l, u, v, "♡", "\\heartsuit", !0);
3630
- i(l, u, v, "ℑ", "\\Im", !0);
3631
- i(l, u, v, "♠", "\\spadesuit", !0);
3632
- i(l, u, v, "§", "\\S", !0);
3633
- i(k, u, v, "§", "\\S");
3634
- i(l, u, v, "¶", "\\P", !0);
3635
- i(k, u, v, "¶", "\\P");
3636
- i(l, u, v, "†", "\\dag");
3637
- i(k, u, v, "†", "\\dag");
3638
- i(k, u, v, "†", "\\textdagger");
3639
- i(l, u, v, "‡", "\\ddag");
3640
- i(k, u, v, "‡", "\\ddag");
3641
- i(k, u, v, "‡", "\\textdaggerdbl");
3642
- i(l, u, i0, "⎱", "\\rmoustache", !0);
3643
- i(l, u, c0, "⎰", "\\lmoustache", !0);
3644
- i(l, u, i0, "⟯", "\\rgroup", !0);
3645
- i(l, u, c0, "⟮", "\\lgroup", !0);
3646
- i(l, u, D, "∓", "\\mp", !0);
3647
- i(l, u, D, "⊖", "\\ominus", !0);
3648
- i(l, u, D, "⊎", "\\uplus", !0);
3649
- i(l, u, D, "⊓", "\\sqcap", !0);
3650
- i(l, u, D, "∗", "\\ast");
3651
- i(l, u, D, "⊔", "\\sqcup", !0);
3652
- i(l, u, D, "◯", "\\bigcirc", !0);
3653
- i(l, u, D, "∙", "\\bullet", !0);
3654
- i(l, u, D, "‡", "\\ddagger");
3655
- i(l, u, D, "≀", "\\wr", !0);
3656
- i(l, u, D, "⨿", "\\amalg");
3657
- i(l, u, D, "&", "\\And");
3658
- i(l, u, f, "⟵", "\\longleftarrow", !0);
3659
- i(l, u, f, "⇐", "\\Leftarrow", !0);
3660
- i(l, u, f, "⟸", "\\Longleftarrow", !0);
3661
- i(l, u, f, "⟶", "\\longrightarrow", !0);
3662
- i(l, u, f, "⇒", "\\Rightarrow", !0);
3663
- i(l, u, f, "⟹", "\\Longrightarrow", !0);
3664
- i(l, u, f, "↔", "\\leftrightarrow", !0);
3665
- i(l, u, f, "⟷", "\\longleftrightarrow", !0);
3666
- i(l, u, f, "⇔", "\\Leftrightarrow", !0);
3667
- i(l, u, f, "⟺", "\\Longleftrightarrow", !0);
3668
- i(l, u, f, "↦", "\\mapsto", !0);
3669
- i(l, u, f, "⟼", "\\longmapsto", !0);
3670
- i(l, u, f, "↗", "\\nearrow", !0);
3671
- i(l, u, f, "↩", "\\hookleftarrow", !0);
3672
- i(l, u, f, "↪", "\\hookrightarrow", !0);
3673
- i(l, u, f, "↘", "\\searrow", !0);
3674
- i(l, u, f, "↼", "\\leftharpoonup", !0);
3675
- i(l, u, f, "⇀", "\\rightharpoonup", !0);
3676
- i(l, u, f, "↙", "\\swarrow", !0);
3677
- i(l, u, f, "↽", "\\leftharpoondown", !0);
3678
- i(l, u, f, "⇁", "\\rightharpoondown", !0);
3679
- i(l, u, f, "↖", "\\nwarrow", !0);
3680
- i(l, u, f, "⇌", "\\rightleftharpoons", !0);
3581
+ var l = "math", k = "text", o = "main", d = "ams", W = "accent-token", D = "bin", i0 = "close", re = "inner", q = "mathord", _ = "op-token", c0 = "open", qe = "punct", f = "rel", E0 = "spacing", v = "textord";
3582
+ i(l, o, f, "≡", "\\equiv", !0);
3583
+ i(l, o, f, "≺", "\\prec", !0);
3584
+ i(l, o, f, "≻", "\\succ", !0);
3585
+ i(l, o, f, "∼", "\\sim", !0);
3586
+ i(l, o, f, "⊥", "\\perp");
3587
+ i(l, o, f, "⪯", "\\preceq", !0);
3588
+ i(l, o, f, "⪰", "\\succeq", !0);
3589
+ i(l, o, f, "≃", "\\simeq", !0);
3590
+ i(l, o, f, "∣", "\\mid", !0);
3591
+ i(l, o, f, "≪", "\\ll", !0);
3592
+ i(l, o, f, "≫", "\\gg", !0);
3593
+ i(l, o, f, "≍", "\\asymp", !0);
3594
+ i(l, o, f, "∥", "\\parallel");
3595
+ i(l, o, f, "⋈", "\\bowtie", !0);
3596
+ i(l, o, f, "⌣", "\\smile", !0);
3597
+ i(l, o, f, "⊑", "\\sqsubseteq", !0);
3598
+ i(l, o, f, "⊒", "\\sqsupseteq", !0);
3599
+ i(l, o, f, "≐", "\\doteq", !0);
3600
+ i(l, o, f, "⌢", "\\frown", !0);
3601
+ i(l, o, f, "∋", "\\ni", !0);
3602
+ i(l, o, f, "∝", "\\propto", !0);
3603
+ i(l, o, f, "⊢", "\\vdash", !0);
3604
+ i(l, o, f, "⊣", "\\dashv", !0);
3605
+ i(l, o, f, "∋", "\\owns");
3606
+ i(l, o, qe, ".", "\\ldotp");
3607
+ i(l, o, qe, "⋅", "\\cdotp");
3608
+ i(l, o, v, "#", "\\#");
3609
+ i(k, o, v, "#", "\\#");
3610
+ i(l, o, v, "&", "\\&");
3611
+ i(k, o, v, "&", "\\&");
3612
+ i(l, o, v, "ℵ", "\\aleph", !0);
3613
+ i(l, o, v, "∀", "\\forall", !0);
3614
+ i(l, o, v, "ℏ", "\\hbar", !0);
3615
+ i(l, o, v, "∃", "\\exists", !0);
3616
+ i(l, o, v, "∇", "\\nabla", !0);
3617
+ i(l, o, v, "♭", "\\flat", !0);
3618
+ i(l, o, v, "ℓ", "\\ell", !0);
3619
+ i(l, o, v, "♮", "\\natural", !0);
3620
+ i(l, o, v, "♣", "\\clubsuit", !0);
3621
+ i(l, o, v, "℘", "\\wp", !0);
3622
+ i(l, o, v, "♯", "\\sharp", !0);
3623
+ i(l, o, v, "♢", "\\diamondsuit", !0);
3624
+ i(l, o, v, "ℜ", "\\Re", !0);
3625
+ i(l, o, v, "♡", "\\heartsuit", !0);
3626
+ i(l, o, v, "ℑ", "\\Im", !0);
3627
+ i(l, o, v, "♠", "\\spadesuit", !0);
3628
+ i(l, o, v, "§", "\\S", !0);
3629
+ i(k, o, v, "§", "\\S");
3630
+ i(l, o, v, "¶", "\\P", !0);
3631
+ i(k, o, v, "¶", "\\P");
3632
+ i(l, o, v, "†", "\\dag");
3633
+ i(k, o, v, "†", "\\dag");
3634
+ i(k, o, v, "†", "\\textdagger");
3635
+ i(l, o, v, "‡", "\\ddag");
3636
+ i(k, o, v, "‡", "\\ddag");
3637
+ i(k, o, v, "‡", "\\textdaggerdbl");
3638
+ i(l, o, i0, "⎱", "\\rmoustache", !0);
3639
+ i(l, o, c0, "⎰", "\\lmoustache", !0);
3640
+ i(l, o, i0, "⟯", "\\rgroup", !0);
3641
+ i(l, o, c0, "⟮", "\\lgroup", !0);
3642
+ i(l, o, D, "∓", "\\mp", !0);
3643
+ i(l, o, D, "⊖", "\\ominus", !0);
3644
+ i(l, o, D, "⊎", "\\uplus", !0);
3645
+ i(l, o, D, "⊓", "\\sqcap", !0);
3646
+ i(l, o, D, "∗", "\\ast");
3647
+ i(l, o, D, "⊔", "\\sqcup", !0);
3648
+ i(l, o, D, "◯", "\\bigcirc", !0);
3649
+ i(l, o, D, "∙", "\\bullet", !0);
3650
+ i(l, o, D, "‡", "\\ddagger");
3651
+ i(l, o, D, "≀", "\\wr", !0);
3652
+ i(l, o, D, "⨿", "\\amalg");
3653
+ i(l, o, D, "&", "\\And");
3654
+ i(l, o, f, "⟵", "\\longleftarrow", !0);
3655
+ i(l, o, f, "⇐", "\\Leftarrow", !0);
3656
+ i(l, o, f, "⟸", "\\Longleftarrow", !0);
3657
+ i(l, o, f, "⟶", "\\longrightarrow", !0);
3658
+ i(l, o, f, "⇒", "\\Rightarrow", !0);
3659
+ i(l, o, f, "⟹", "\\Longrightarrow", !0);
3660
+ i(l, o, f, "↔", "\\leftrightarrow", !0);
3661
+ i(l, o, f, "⟷", "\\longleftrightarrow", !0);
3662
+ i(l, o, f, "⇔", "\\Leftrightarrow", !0);
3663
+ i(l, o, f, "⟺", "\\Longleftrightarrow", !0);
3664
+ i(l, o, f, "↦", "\\mapsto", !0);
3665
+ i(l, o, f, "⟼", "\\longmapsto", !0);
3666
+ i(l, o, f, "↗", "\\nearrow", !0);
3667
+ i(l, o, f, "↩", "\\hookleftarrow", !0);
3668
+ i(l, o, f, "↪", "\\hookrightarrow", !0);
3669
+ i(l, o, f, "↘", "\\searrow", !0);
3670
+ i(l, o, f, "↼", "\\leftharpoonup", !0);
3671
+ i(l, o, f, "⇀", "\\rightharpoonup", !0);
3672
+ i(l, o, f, "↙", "\\swarrow", !0);
3673
+ i(l, o, f, "↽", "\\leftharpoondown", !0);
3674
+ i(l, o, f, "⇁", "\\rightharpoondown", !0);
3675
+ i(l, o, f, "↖", "\\nwarrow", !0);
3676
+ i(l, o, f, "⇌", "\\rightleftharpoons", !0);
3681
3677
  i(l, d, f, "≮", "\\nless", !0);
3682
3678
  i(l, d, f, "", "\\@nleqslant");
3683
3679
  i(l, d, f, "", "\\@nleqq");
@@ -3757,7 +3753,7 @@ i(l, d, v, "★", "\\bigstar");
3757
3753
  i(l, d, v, "∢", "\\sphericalangle", !0);
3758
3754
  i(l, d, v, "∁", "\\complement", !0);
3759
3755
  i(l, d, v, "ð", "\\eth", !0);
3760
- i(k, u, v, "ð", "ð");
3756
+ i(k, o, v, "ð", "ð");
3761
3757
  i(l, d, v, "╱", "\\diagup");
3762
3758
  i(l, d, v, "╲", "\\diagdown");
3763
3759
  i(l, d, v, "□", "\\square");
@@ -3847,7 +3843,7 @@ i(l, d, f, "⋙", "\\gggtr");
3847
3843
  i(l, d, D, "⊲", "\\lhd");
3848
3844
  i(l, d, D, "⊳", "\\rhd");
3849
3845
  i(l, d, f, "≂", "\\eqsim", !0);
3850
- i(l, u, f, "⋈", "\\Join");
3846
+ i(l, o, f, "⋈", "\\Join");
3851
3847
  i(l, d, f, "≑", "\\Doteq", !0);
3852
3848
  i(l, d, D, "∔", "\\dotplus", !0);
3853
3849
  i(l, d, D, "∖", "\\smallsetminus");
@@ -3885,8 +3881,8 @@ i(l, d, f, "↰", "\\Lsh", !0);
3885
3881
  i(l, d, f, "⇈", "\\upuparrows", !0);
3886
3882
  i(l, d, f, "↿", "\\upharpoonleft", !0);
3887
3883
  i(l, d, f, "⇃", "\\downharpoonleft", !0);
3888
- i(l, u, f, "⊶", "\\origof", !0);
3889
- i(l, u, f, "⊷", "\\imageof", !0);
3884
+ i(l, o, f, "⊶", "\\origof", !0);
3885
+ i(l, o, f, "⊷", "\\imageof", !0);
3890
3886
  i(l, d, f, "⊸", "\\multimap", !0);
3891
3887
  i(l, d, f, "↭", "\\leftrightsquigarrow", !0);
3892
3888
  i(l, d, f, "⇉", "\\rightrightarrows", !0);
@@ -3904,297 +3900,297 @@ i(l, d, f, "⇝", "\\rightsquigarrow", !0);
3904
3900
  i(l, d, f, "⇝", "\\leadsto");
3905
3901
  i(l, d, f, "⇛", "\\Rrightarrow", !0);
3906
3902
  i(l, d, f, "↾", "\\restriction");
3907
- i(l, u, v, "‘", "`");
3908
- i(l, u, v, "$", "\\$");
3909
- i(k, u, v, "$", "\\$");
3910
- i(k, u, v, "$", "\\textdollar");
3911
- i(l, u, v, "%", "\\%");
3912
- i(k, u, v, "%", "\\%");
3913
- i(l, u, v, "_", "\\_");
3914
- i(k, u, v, "_", "\\_");
3915
- i(k, u, v, "_", "\\textunderscore");
3916
- i(l, u, v, "∠", "\\angle", !0);
3917
- i(l, u, v, "∞", "\\infty", !0);
3918
- i(l, u, v, "′", "\\prime");
3919
- i(l, u, v, "△", "\\triangle");
3920
- i(l, u, v, "Γ", "\\Gamma", !0);
3921
- i(l, u, v, "Δ", "\\Delta", !0);
3922
- i(l, u, v, "Θ", "\\Theta", !0);
3923
- i(l, u, v, "Λ", "\\Lambda", !0);
3924
- i(l, u, v, "Ξ", "\\Xi", !0);
3925
- i(l, u, v, "Π", "\\Pi", !0);
3926
- i(l, u, v, "Σ", "\\Sigma", !0);
3927
- i(l, u, v, "Υ", "\\Upsilon", !0);
3928
- i(l, u, v, "Φ", "\\Phi", !0);
3929
- i(l, u, v, "Ψ", "\\Psi", !0);
3930
- i(l, u, v, "Ω", "\\Omega", !0);
3931
- i(l, u, v, "A", "Α");
3932
- i(l, u, v, "B", "Β");
3933
- i(l, u, v, "E", "Ε");
3934
- i(l, u, v, "Z", "Ζ");
3935
- i(l, u, v, "H", "Η");
3936
- i(l, u, v, "I", "Ι");
3937
- i(l, u, v, "K", "Κ");
3938
- i(l, u, v, "M", "Μ");
3939
- i(l, u, v, "N", "Ν");
3940
- i(l, u, v, "O", "Ο");
3941
- i(l, u, v, "P", "Ρ");
3942
- i(l, u, v, "T", "Τ");
3943
- i(l, u, v, "X", "Χ");
3944
- i(l, u, v, "¬", "\\neg", !0);
3945
- i(l, u, v, "¬", "\\lnot");
3946
- i(l, u, v, "⊤", "\\top");
3947
- i(l, u, v, "⊥", "\\bot");
3948
- i(l, u, v, "∅", "\\emptyset");
3903
+ i(l, o, v, "‘", "`");
3904
+ i(l, o, v, "$", "\\$");
3905
+ i(k, o, v, "$", "\\$");
3906
+ i(k, o, v, "$", "\\textdollar");
3907
+ i(l, o, v, "%", "\\%");
3908
+ i(k, o, v, "%", "\\%");
3909
+ i(l, o, v, "_", "\\_");
3910
+ i(k, o, v, "_", "\\_");
3911
+ i(k, o, v, "_", "\\textunderscore");
3912
+ i(l, o, v, "∠", "\\angle", !0);
3913
+ i(l, o, v, "∞", "\\infty", !0);
3914
+ i(l, o, v, "′", "\\prime");
3915
+ i(l, o, v, "△", "\\triangle");
3916
+ i(l, o, v, "Γ", "\\Gamma", !0);
3917
+ i(l, o, v, "Δ", "\\Delta", !0);
3918
+ i(l, o, v, "Θ", "\\Theta", !0);
3919
+ i(l, o, v, "Λ", "\\Lambda", !0);
3920
+ i(l, o, v, "Ξ", "\\Xi", !0);
3921
+ i(l, o, v, "Π", "\\Pi", !0);
3922
+ i(l, o, v, "Σ", "\\Sigma", !0);
3923
+ i(l, o, v, "Υ", "\\Upsilon", !0);
3924
+ i(l, o, v, "Φ", "\\Phi", !0);
3925
+ i(l, o, v, "Ψ", "\\Psi", !0);
3926
+ i(l, o, v, "Ω", "\\Omega", !0);
3927
+ i(l, o, v, "A", "Α");
3928
+ i(l, o, v, "B", "Β");
3929
+ i(l, o, v, "E", "Ε");
3930
+ i(l, o, v, "Z", "Ζ");
3931
+ i(l, o, v, "H", "Η");
3932
+ i(l, o, v, "I", "Ι");
3933
+ i(l, o, v, "K", "Κ");
3934
+ i(l, o, v, "M", "Μ");
3935
+ i(l, o, v, "N", "Ν");
3936
+ i(l, o, v, "O", "Ο");
3937
+ i(l, o, v, "P", "Ρ");
3938
+ i(l, o, v, "T", "Τ");
3939
+ i(l, o, v, "X", "Χ");
3940
+ i(l, o, v, "¬", "\\neg", !0);
3941
+ i(l, o, v, "¬", "\\lnot");
3942
+ i(l, o, v, "⊤", "\\top");
3943
+ i(l, o, v, "⊥", "\\bot");
3944
+ i(l, o, v, "∅", "\\emptyset");
3949
3945
  i(l, d, v, "∅", "\\varnothing");
3950
- i(l, u, E, "α", "\\alpha", !0);
3951
- i(l, u, E, "β", "\\beta", !0);
3952
- i(l, u, E, "γ", "\\gamma", !0);
3953
- i(l, u, E, "δ", "\\delta", !0);
3954
- i(l, u, E, "ϵ", "\\epsilon", !0);
3955
- i(l, u, E, "ζ", "\\zeta", !0);
3956
- i(l, u, E, "η", "\\eta", !0);
3957
- i(l, u, E, "θ", "\\theta", !0);
3958
- i(l, u, E, "ι", "\\iota", !0);
3959
- i(l, u, E, "κ", "\\kappa", !0);
3960
- i(l, u, E, "λ", "\\lambda", !0);
3961
- i(l, u, E, "μ", "\\mu", !0);
3962
- i(l, u, E, "ν", "\\nu", !0);
3963
- i(l, u, E, "ξ", "\\xi", !0);
3964
- i(l, u, E, "ο", "\\omicron", !0);
3965
- i(l, u, E, "π", "\\pi", !0);
3966
- i(l, u, E, "ρ", "\\rho", !0);
3967
- i(l, u, E, "σ", "\\sigma", !0);
3968
- i(l, u, E, "τ", "\\tau", !0);
3969
- i(l, u, E, "υ", "\\upsilon", !0);
3970
- i(l, u, E, "ϕ", "\\phi", !0);
3971
- i(l, u, E, "χ", "\\chi", !0);
3972
- i(l, u, E, "ψ", "\\psi", !0);
3973
- i(l, u, E, "ω", "\\omega", !0);
3974
- i(l, u, E, "ε", "\\varepsilon", !0);
3975
- i(l, u, E, "ϑ", "\\vartheta", !0);
3976
- i(l, u, E, "ϖ", "\\varpi", !0);
3977
- i(l, u, E, "ϱ", "\\varrho", !0);
3978
- i(l, u, E, "ς", "\\varsigma", !0);
3979
- i(l, u, E, "φ", "\\varphi", !0);
3980
- i(l, u, D, "∗", "*", !0);
3981
- i(l, u, D, "+", "+");
3982
- i(l, u, D, "−", "-", !0);
3983
- i(l, u, D, "⋅", "\\cdot", !0);
3984
- i(l, u, D, "∘", "\\circ", !0);
3985
- i(l, u, D, "÷", "\\div", !0);
3986
- i(l, u, D, "±", "\\pm", !0);
3987
- i(l, u, D, "×", "\\times", !0);
3988
- i(l, u, D, "∩", "\\cap", !0);
3989
- i(l, u, D, "∪", "\\cup", !0);
3990
- i(l, u, D, "∖", "\\setminus", !0);
3991
- i(l, u, D, "∧", "\\land");
3992
- i(l, u, D, "∨", "\\lor");
3993
- i(l, u, D, "∧", "\\wedge", !0);
3994
- i(l, u, D, "∨", "\\vee", !0);
3995
- i(l, u, v, "√", "\\surd");
3996
- i(l, u, c0, "⟨", "\\langle", !0);
3997
- i(l, u, c0, "∣", "\\lvert");
3998
- i(l, u, c0, "∥", "\\lVert");
3999
- i(l, u, i0, "?", "?");
4000
- i(l, u, i0, "!", "!");
4001
- i(l, u, i0, "⟩", "\\rangle", !0);
4002
- i(l, u, i0, "∣", "\\rvert");
4003
- i(l, u, i0, "∥", "\\rVert");
4004
- i(l, u, f, "=", "=");
4005
- i(l, u, f, ":", ":");
4006
- i(l, u, f, "≈", "\\approx", !0);
4007
- i(l, u, f, "≅", "\\cong", !0);
4008
- i(l, u, f, "≥", "\\ge");
4009
- i(l, u, f, "≥", "\\geq", !0);
4010
- i(l, u, f, "←", "\\gets");
4011
- i(l, u, f, ">", "\\gt", !0);
4012
- i(l, u, f, "∈", "\\in", !0);
4013
- i(l, u, f, "", "\\@not");
4014
- i(l, u, f, "⊂", "\\subset", !0);
4015
- i(l, u, f, "⊃", "\\supset", !0);
4016
- i(l, u, f, "⊆", "\\subseteq", !0);
4017
- i(l, u, f, "⊇", "\\supseteq", !0);
3946
+ i(l, o, q, "α", "\\alpha", !0);
3947
+ i(l, o, q, "β", "\\beta", !0);
3948
+ i(l, o, q, "γ", "\\gamma", !0);
3949
+ i(l, o, q, "δ", "\\delta", !0);
3950
+ i(l, o, q, "ϵ", "\\epsilon", !0);
3951
+ i(l, o, q, "ζ", "\\zeta", !0);
3952
+ i(l, o, q, "η", "\\eta", !0);
3953
+ i(l, o, q, "θ", "\\theta", !0);
3954
+ i(l, o, q, "ι", "\\iota", !0);
3955
+ i(l, o, q, "κ", "\\kappa", !0);
3956
+ i(l, o, q, "λ", "\\lambda", !0);
3957
+ i(l, o, q, "μ", "\\mu", !0);
3958
+ i(l, o, q, "ν", "\\nu", !0);
3959
+ i(l, o, q, "ξ", "\\xi", !0);
3960
+ i(l, o, q, "ο", "\\omicron", !0);
3961
+ i(l, o, q, "π", "\\pi", !0);
3962
+ i(l, o, q, "ρ", "\\rho", !0);
3963
+ i(l, o, q, "σ", "\\sigma", !0);
3964
+ i(l, o, q, "τ", "\\tau", !0);
3965
+ i(l, o, q, "υ", "\\upsilon", !0);
3966
+ i(l, o, q, "ϕ", "\\phi", !0);
3967
+ i(l, o, q, "χ", "\\chi", !0);
3968
+ i(l, o, q, "ψ", "\\psi", !0);
3969
+ i(l, o, q, "ω", "\\omega", !0);
3970
+ i(l, o, q, "ε", "\\varepsilon", !0);
3971
+ i(l, o, q, "ϑ", "\\vartheta", !0);
3972
+ i(l, o, q, "ϖ", "\\varpi", !0);
3973
+ i(l, o, q, "ϱ", "\\varrho", !0);
3974
+ i(l, o, q, "ς", "\\varsigma", !0);
3975
+ i(l, o, q, "φ", "\\varphi", !0);
3976
+ i(l, o, D, "∗", "*", !0);
3977
+ i(l, o, D, "+", "+");
3978
+ i(l, o, D, "−", "-", !0);
3979
+ i(l, o, D, "⋅", "\\cdot", !0);
3980
+ i(l, o, D, "∘", "\\circ", !0);
3981
+ i(l, o, D, "÷", "\\div", !0);
3982
+ i(l, o, D, "±", "\\pm", !0);
3983
+ i(l, o, D, "×", "\\times", !0);
3984
+ i(l, o, D, "∩", "\\cap", !0);
3985
+ i(l, o, D, "∪", "\\cup", !0);
3986
+ i(l, o, D, "∖", "\\setminus", !0);
3987
+ i(l, o, D, "∧", "\\land");
3988
+ i(l, o, D, "∨", "\\lor");
3989
+ i(l, o, D, "∧", "\\wedge", !0);
3990
+ i(l, o, D, "∨", "\\vee", !0);
3991
+ i(l, o, v, "√", "\\surd");
3992
+ i(l, o, c0, "⟨", "\\langle", !0);
3993
+ i(l, o, c0, "∣", "\\lvert");
3994
+ i(l, o, c0, "∥", "\\lVert");
3995
+ i(l, o, i0, "?", "?");
3996
+ i(l, o, i0, "!", "!");
3997
+ i(l, o, i0, "⟩", "\\rangle", !0);
3998
+ i(l, o, i0, "∣", "\\rvert");
3999
+ i(l, o, i0, "∥", "\\rVert");
4000
+ i(l, o, f, "=", "=");
4001
+ i(l, o, f, ":", ":");
4002
+ i(l, o, f, "≈", "\\approx", !0);
4003
+ i(l, o, f, "≅", "\\cong", !0);
4004
+ i(l, o, f, "≥", "\\ge");
4005
+ i(l, o, f, "≥", "\\geq", !0);
4006
+ i(l, o, f, "←", "\\gets");
4007
+ i(l, o, f, ">", "\\gt", !0);
4008
+ i(l, o, f, "∈", "\\in", !0);
4009
+ i(l, o, f, "", "\\@not");
4010
+ i(l, o, f, "⊂", "\\subset", !0);
4011
+ i(l, o, f, "⊃", "\\supset", !0);
4012
+ i(l, o, f, "⊆", "\\subseteq", !0);
4013
+ i(l, o, f, "⊇", "\\supseteq", !0);
4018
4014
  i(l, d, f, "⊈", "\\nsubseteq", !0);
4019
4015
  i(l, d, f, "⊉", "\\nsupseteq", !0);
4020
- i(l, u, f, "⊨", "\\models");
4021
- i(l, u, f, "←", "\\leftarrow", !0);
4022
- i(l, u, f, "≤", "\\le");
4023
- i(l, u, f, "≤", "\\leq", !0);
4024
- i(l, u, f, "<", "\\lt", !0);
4025
- i(l, u, f, "→", "\\rightarrow", !0);
4026
- i(l, u, f, "→", "\\to");
4016
+ i(l, o, f, "⊨", "\\models");
4017
+ i(l, o, f, "←", "\\leftarrow", !0);
4018
+ i(l, o, f, "≤", "\\le");
4019
+ i(l, o, f, "≤", "\\leq", !0);
4020
+ i(l, o, f, "<", "\\lt", !0);
4021
+ i(l, o, f, "→", "\\rightarrow", !0);
4022
+ i(l, o, f, "→", "\\to");
4027
4023
  i(l, d, f, "≱", "\\ngeq", !0);
4028
4024
  i(l, d, f, "≰", "\\nleq", !0);
4029
- i(l, u, E0, " ", "\\ ");
4030
- i(l, u, E0, " ", "\\space");
4031
- i(l, u, E0, " ", "\\nobreakspace");
4032
- i(k, u, E0, " ", "\\ ");
4033
- i(k, u, E0, " ", " ");
4034
- i(k, u, E0, " ", "\\space");
4035
- i(k, u, E0, " ", "\\nobreakspace");
4036
- i(l, u, E0, null, "\\nobreak");
4037
- i(l, u, E0, null, "\\allowbreak");
4038
- i(l, u, qe, ",", ",");
4039
- i(l, u, qe, ";", ";");
4025
+ i(l, o, E0, " ", "\\ ");
4026
+ i(l, o, E0, " ", "\\space");
4027
+ i(l, o, E0, " ", "\\nobreakspace");
4028
+ i(k, o, E0, " ", "\\ ");
4029
+ i(k, o, E0, " ", " ");
4030
+ i(k, o, E0, " ", "\\space");
4031
+ i(k, o, E0, " ", "\\nobreakspace");
4032
+ i(l, o, E0, null, "\\nobreak");
4033
+ i(l, o, E0, null, "\\allowbreak");
4034
+ i(l, o, qe, ",", ",");
4035
+ i(l, o, qe, ";", ";");
4040
4036
  i(l, d, D, "⊼", "\\barwedge", !0);
4041
4037
  i(l, d, D, "⊻", "\\veebar", !0);
4042
- i(l, u, D, "⊙", "\\odot", !0);
4043
- i(l, u, D, "⊕", "\\oplus", !0);
4044
- i(l, u, D, "⊗", "\\otimes", !0);
4045
- i(l, u, v, "∂", "\\partial", !0);
4046
- i(l, u, D, "⊘", "\\oslash", !0);
4038
+ i(l, o, D, "⊙", "\\odot", !0);
4039
+ i(l, o, D, "⊕", "\\oplus", !0);
4040
+ i(l, o, D, "⊗", "\\otimes", !0);
4041
+ i(l, o, v, "∂", "\\partial", !0);
4042
+ i(l, o, D, "⊘", "\\oslash", !0);
4047
4043
  i(l, d, D, "⊚", "\\circledcirc", !0);
4048
4044
  i(l, d, D, "⊡", "\\boxdot", !0);
4049
- i(l, u, D, "△", "\\bigtriangleup");
4050
- i(l, u, D, "▽", "\\bigtriangledown");
4051
- i(l, u, D, "†", "\\dagger");
4052
- i(l, u, D, "⋄", "\\diamond");
4053
- i(l, u, D, "⋆", "\\star");
4054
- i(l, u, D, "◃", "\\triangleleft");
4055
- i(l, u, D, "▹", "\\triangleright");
4056
- i(l, u, c0, "{", "\\{");
4057
- i(k, u, v, "{", "\\{");
4058
- i(k, u, v, "{", "\\textbraceleft");
4059
- i(l, u, i0, "}", "\\}");
4060
- i(k, u, v, "}", "\\}");
4061
- i(k, u, v, "}", "\\textbraceright");
4062
- i(l, u, c0, "{", "\\lbrace");
4063
- i(l, u, i0, "}", "\\rbrace");
4064
- i(l, u, c0, "[", "\\lbrack", !0);
4065
- i(k, u, v, "[", "\\lbrack", !0);
4066
- i(l, u, i0, "]", "\\rbrack", !0);
4067
- i(k, u, v, "]", "\\rbrack", !0);
4068
- i(l, u, c0, "(", "\\lparen", !0);
4069
- i(l, u, i0, ")", "\\rparen", !0);
4070
- i(k, u, v, "<", "\\textless", !0);
4071
- i(k, u, v, ">", "\\textgreater", !0);
4072
- i(l, u, c0, "⌊", "\\lfloor", !0);
4073
- i(l, u, i0, "⌋", "\\rfloor", !0);
4074
- i(l, u, c0, "⌈", "\\lceil", !0);
4075
- i(l, u, i0, "⌉", "\\rceil", !0);
4076
- i(l, u, v, "\\", "\\backslash");
4077
- i(l, u, v, "∣", "|");
4078
- i(l, u, v, "∣", "\\vert");
4079
- i(k, u, v, "|", "\\textbar", !0);
4080
- i(l, u, v, "∥", "\\|");
4081
- i(l, u, v, "∥", "\\Vert");
4082
- i(k, u, v, "∥", "\\textbardbl");
4083
- i(k, u, v, "~", "\\textasciitilde");
4084
- i(k, u, v, "\\", "\\textbackslash");
4085
- i(k, u, v, "^", "\\textasciicircum");
4086
- i(l, u, f, "↑", "\\uparrow", !0);
4087
- i(l, u, f, "⇑", "\\Uparrow", !0);
4088
- i(l, u, f, "↓", "\\downarrow", !0);
4089
- i(l, u, f, "⇓", "\\Downarrow", !0);
4090
- i(l, u, f, "↕", "\\updownarrow", !0);
4091
- i(l, u, f, "⇕", "\\Updownarrow", !0);
4092
- i(l, u, _, "∐", "\\coprod");
4093
- i(l, u, _, "⋁", "\\bigvee");
4094
- i(l, u, _, "⋀", "\\bigwedge");
4095
- i(l, u, _, "⨄", "\\biguplus");
4096
- i(l, u, _, "⋂", "\\bigcap");
4097
- i(l, u, _, "⋃", "\\bigcup");
4098
- i(l, u, _, "∫", "\\int");
4099
- i(l, u, _, "∫", "\\intop");
4100
- i(l, u, _, "∬", "\\iint");
4101
- i(l, u, _, "∭", "\\iiint");
4102
- i(l, u, _, "∏", "\\prod");
4103
- i(l, u, _, "∑", "\\sum");
4104
- i(l, u, _, "⨂", "\\bigotimes");
4105
- i(l, u, _, "⨁", "\\bigoplus");
4106
- i(l, u, _, "⨀", "\\bigodot");
4107
- i(l, u, _, "∮", "\\oint");
4108
- i(l, u, _, "∯", "\\oiint");
4109
- i(l, u, _, "∰", "\\oiiint");
4110
- i(l, u, _, "⨆", "\\bigsqcup");
4111
- i(l, u, _, "∫", "\\smallint");
4112
- i(k, u, re, "…", "\\textellipsis");
4113
- i(l, u, re, "…", "\\mathellipsis");
4114
- i(k, u, re, "…", "\\ldots", !0);
4115
- i(l, u, re, "…", "\\ldots", !0);
4116
- i(l, u, re, "⋯", "\\@cdots", !0);
4117
- i(l, u, re, "⋱", "\\ddots", !0);
4118
- i(l, u, v, "⋮", "\\varvdots");
4119
- i(k, u, v, "⋮", "\\varvdots");
4120
- i(l, u, W, "ˊ", "\\acute");
4121
- i(l, u, W, "ˋ", "\\grave");
4122
- i(l, u, W, "¨", "\\ddot");
4123
- i(l, u, W, "~", "\\tilde");
4124
- i(l, u, W, "ˉ", "\\bar");
4125
- i(l, u, W, "˘", "\\breve");
4126
- i(l, u, W, "ˇ", "\\check");
4127
- i(l, u, W, "^", "\\hat");
4128
- i(l, u, W, "⃗", "\\vec");
4129
- i(l, u, W, "˙", "\\dot");
4130
- i(l, u, W, "˚", "\\mathring");
4131
- i(l, u, E, "", "\\@imath");
4132
- i(l, u, E, "", "\\@jmath");
4133
- i(l, u, v, "ı", "ı");
4134
- i(l, u, v, "ȷ", "ȷ");
4135
- i(k, u, v, "ı", "\\i", !0);
4136
- i(k, u, v, "ȷ", "\\j", !0);
4137
- i(k, u, v, "ß", "\\ss", !0);
4138
- i(k, u, v, "æ", "\\ae", !0);
4139
- i(k, u, v, "œ", "\\oe", !0);
4140
- i(k, u, v, "ø", "\\o", !0);
4141
- i(k, u, v, "Æ", "\\AE", !0);
4142
- i(k, u, v, "Œ", "\\OE", !0);
4143
- i(k, u, v, "Ø", "\\O", !0);
4144
- i(k, u, W, "ˊ", "\\'");
4145
- i(k, u, W, "ˋ", "\\`");
4146
- i(k, u, W, "ˆ", "\\^");
4147
- i(k, u, W, "˜", "\\~");
4148
- i(k, u, W, "ˉ", "\\=");
4149
- i(k, u, W, "˘", "\\u");
4150
- i(k, u, W, "˙", "\\.");
4151
- i(k, u, W, "¸", "\\c");
4152
- i(k, u, W, "˚", "\\r");
4153
- i(k, u, W, "ˇ", "\\v");
4154
- i(k, u, W, "¨", '\\"');
4155
- i(k, u, W, "˝", "\\H");
4156
- i(k, u, W, "◯", "\\textcircled");
4045
+ i(l, o, D, "△", "\\bigtriangleup");
4046
+ i(l, o, D, "▽", "\\bigtriangledown");
4047
+ i(l, o, D, "†", "\\dagger");
4048
+ i(l, o, D, "⋄", "\\diamond");
4049
+ i(l, o, D, "⋆", "\\star");
4050
+ i(l, o, D, "◃", "\\triangleleft");
4051
+ i(l, o, D, "▹", "\\triangleright");
4052
+ i(l, o, c0, "{", "\\{");
4053
+ i(k, o, v, "{", "\\{");
4054
+ i(k, o, v, "{", "\\textbraceleft");
4055
+ i(l, o, i0, "}", "\\}");
4056
+ i(k, o, v, "}", "\\}");
4057
+ i(k, o, v, "}", "\\textbraceright");
4058
+ i(l, o, c0, "{", "\\lbrace");
4059
+ i(l, o, i0, "}", "\\rbrace");
4060
+ i(l, o, c0, "[", "\\lbrack", !0);
4061
+ i(k, o, v, "[", "\\lbrack", !0);
4062
+ i(l, o, i0, "]", "\\rbrack", !0);
4063
+ i(k, o, v, "]", "\\rbrack", !0);
4064
+ i(l, o, c0, "(", "\\lparen", !0);
4065
+ i(l, o, i0, ")", "\\rparen", !0);
4066
+ i(k, o, v, "<", "\\textless", !0);
4067
+ i(k, o, v, ">", "\\textgreater", !0);
4068
+ i(l, o, c0, "⌊", "\\lfloor", !0);
4069
+ i(l, o, i0, "⌋", "\\rfloor", !0);
4070
+ i(l, o, c0, "⌈", "\\lceil", !0);
4071
+ i(l, o, i0, "⌉", "\\rceil", !0);
4072
+ i(l, o, v, "\\", "\\backslash");
4073
+ i(l, o, v, "∣", "|");
4074
+ i(l, o, v, "∣", "\\vert");
4075
+ i(k, o, v, "|", "\\textbar", !0);
4076
+ i(l, o, v, "∥", "\\|");
4077
+ i(l, o, v, "∥", "\\Vert");
4078
+ i(k, o, v, "∥", "\\textbardbl");
4079
+ i(k, o, v, "~", "\\textasciitilde");
4080
+ i(k, o, v, "\\", "\\textbackslash");
4081
+ i(k, o, v, "^", "\\textasciicircum");
4082
+ i(l, o, f, "↑", "\\uparrow", !0);
4083
+ i(l, o, f, "⇑", "\\Uparrow", !0);
4084
+ i(l, o, f, "↓", "\\downarrow", !0);
4085
+ i(l, o, f, "⇓", "\\Downarrow", !0);
4086
+ i(l, o, f, "↕", "\\updownarrow", !0);
4087
+ i(l, o, f, "⇕", "\\Updownarrow", !0);
4088
+ i(l, o, _, "∐", "\\coprod");
4089
+ i(l, o, _, "⋁", "\\bigvee");
4090
+ i(l, o, _, "⋀", "\\bigwedge");
4091
+ i(l, o, _, "⨄", "\\biguplus");
4092
+ i(l, o, _, "⋂", "\\bigcap");
4093
+ i(l, o, _, "⋃", "\\bigcup");
4094
+ i(l, o, _, "∫", "\\int");
4095
+ i(l, o, _, "∫", "\\intop");
4096
+ i(l, o, _, "∬", "\\iint");
4097
+ i(l, o, _, "∭", "\\iiint");
4098
+ i(l, o, _, "∏", "\\prod");
4099
+ i(l, o, _, "∑", "\\sum");
4100
+ i(l, o, _, "⨂", "\\bigotimes");
4101
+ i(l, o, _, "⨁", "\\bigoplus");
4102
+ i(l, o, _, "⨀", "\\bigodot");
4103
+ i(l, o, _, "∮", "\\oint");
4104
+ i(l, o, _, "∯", "\\oiint");
4105
+ i(l, o, _, "∰", "\\oiiint");
4106
+ i(l, o, _, "⨆", "\\bigsqcup");
4107
+ i(l, o, _, "∫", "\\smallint");
4108
+ i(k, o, re, "…", "\\textellipsis");
4109
+ i(l, o, re, "…", "\\mathellipsis");
4110
+ i(k, o, re, "…", "\\ldots", !0);
4111
+ i(l, o, re, "…", "\\ldots", !0);
4112
+ i(l, o, re, "⋯", "\\@cdots", !0);
4113
+ i(l, o, re, "⋱", "\\ddots", !0);
4114
+ i(l, o, v, "⋮", "\\varvdots");
4115
+ i(k, o, v, "⋮", "\\varvdots");
4116
+ i(l, o, W, "ˊ", "\\acute");
4117
+ i(l, o, W, "ˋ", "\\grave");
4118
+ i(l, o, W, "¨", "\\ddot");
4119
+ i(l, o, W, "~", "\\tilde");
4120
+ i(l, o, W, "ˉ", "\\bar");
4121
+ i(l, o, W, "˘", "\\breve");
4122
+ i(l, o, W, "ˇ", "\\check");
4123
+ i(l, o, W, "^", "\\hat");
4124
+ i(l, o, W, "⃗", "\\vec");
4125
+ i(l, o, W, "˙", "\\dot");
4126
+ i(l, o, W, "˚", "\\mathring");
4127
+ i(l, o, q, "", "\\@imath");
4128
+ i(l, o, q, "", "\\@jmath");
4129
+ i(l, o, v, "ı", "ı");
4130
+ i(l, o, v, "ȷ", "ȷ");
4131
+ i(k, o, v, "ı", "\\i", !0);
4132
+ i(k, o, v, "ȷ", "\\j", !0);
4133
+ i(k, o, v, "ß", "\\ss", !0);
4134
+ i(k, o, v, "æ", "\\ae", !0);
4135
+ i(k, o, v, "œ", "\\oe", !0);
4136
+ i(k, o, v, "ø", "\\o", !0);
4137
+ i(k, o, v, "Æ", "\\AE", !0);
4138
+ i(k, o, v, "Œ", "\\OE", !0);
4139
+ i(k, o, v, "Ø", "\\O", !0);
4140
+ i(k, o, W, "ˊ", "\\'");
4141
+ i(k, o, W, "ˋ", "\\`");
4142
+ i(k, o, W, "ˆ", "\\^");
4143
+ i(k, o, W, "˜", "\\~");
4144
+ i(k, o, W, "ˉ", "\\=");
4145
+ i(k, o, W, "˘", "\\u");
4146
+ i(k, o, W, "˙", "\\.");
4147
+ i(k, o, W, "¸", "\\c");
4148
+ i(k, o, W, "˚", "\\r");
4149
+ i(k, o, W, "ˇ", "\\v");
4150
+ i(k, o, W, "¨", '\\"');
4151
+ i(k, o, W, "˝", "\\H");
4152
+ i(k, o, W, "◯", "\\textcircled");
4157
4153
  var kr = {
4158
4154
  "--": !0,
4159
4155
  "---": !0,
4160
4156
  "``": !0,
4161
4157
  "''": !0
4162
4158
  };
4163
- i(k, u, v, "–", "--", !0);
4164
- i(k, u, v, "–", "\\textendash");
4165
- i(k, u, v, "—", "---", !0);
4166
- i(k, u, v, "—", "\\textemdash");
4167
- i(k, u, v, "‘", "`", !0);
4168
- i(k, u, v, "‘", "\\textquoteleft");
4169
- i(k, u, v, "’", "'", !0);
4170
- i(k, u, v, "’", "\\textquoteright");
4171
- i(k, u, v, "“", "``", !0);
4172
- i(k, u, v, "“", "\\textquotedblleft");
4173
- i(k, u, v, "”", "''", !0);
4174
- i(k, u, v, "”", "\\textquotedblright");
4175
- i(l, u, v, "°", "\\degree", !0);
4176
- i(k, u, v, "°", "\\degree");
4177
- i(k, u, v, "°", "\\textdegree", !0);
4178
- i(l, u, v, "£", "\\pounds");
4179
- i(l, u, v, "£", "\\mathsterling", !0);
4180
- i(k, u, v, "£", "\\pounds");
4181
- i(k, u, v, "£", "\\textsterling", !0);
4159
+ i(k, o, v, "–", "--", !0);
4160
+ i(k, o, v, "–", "\\textendash");
4161
+ i(k, o, v, "—", "---", !0);
4162
+ i(k, o, v, "—", "\\textemdash");
4163
+ i(k, o, v, "‘", "`", !0);
4164
+ i(k, o, v, "‘", "\\textquoteleft");
4165
+ i(k, o, v, "’", "'", !0);
4166
+ i(k, o, v, "’", "\\textquoteright");
4167
+ i(k, o, v, "“", "``", !0);
4168
+ i(k, o, v, "“", "\\textquotedblleft");
4169
+ i(k, o, v, "”", "''", !0);
4170
+ i(k, o, v, "”", "\\textquotedblright");
4171
+ i(l, o, v, "°", "\\degree", !0);
4172
+ i(k, o, v, "°", "\\degree");
4173
+ i(k, o, v, "°", "\\textdegree", !0);
4174
+ i(l, o, v, "£", "\\pounds");
4175
+ i(l, o, v, "£", "\\mathsterling", !0);
4176
+ i(k, o, v, "£", "\\pounds");
4177
+ i(k, o, v, "£", "\\textsterling", !0);
4182
4178
  i(l, d, v, "✠", "\\maltese");
4183
4179
  i(k, d, v, "✠", "\\maltese");
4184
4180
  var Gt = '0123456789/@."';
4185
4181
  for (var Ye = 0; Ye < Gt.length; Ye++) {
4186
4182
  var Vt = Gt.charAt(Ye);
4187
- i(l, u, v, Vt, Vt);
4183
+ i(l, o, v, Vt, Vt);
4188
4184
  }
4189
4185
  var Ut = '0123456789!@*()-=+";:?/.,';
4190
4186
  for (var Xe = 0; Xe < Ut.length; Xe++) {
4191
4187
  var Yt = Ut.charAt(Xe);
4192
- i(k, u, v, Yt, Yt);
4188
+ i(k, o, v, Yt, Yt);
4193
4189
  }
4194
4190
  var Be = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
4195
4191
  for (var $e = 0; $e < Be.length; $e++) {
4196
4192
  var ge = Be.charAt($e);
4197
- i(l, u, E, ge, ge), i(k, u, v, ge, ge);
4193
+ i(l, o, q, ge, ge), i(k, o, v, ge, ge);
4198
4194
  }
4199
4195
  i(l, d, v, "C", "ℂ");
4200
4196
  i(k, d, v, "C", "ℂ");
@@ -4210,24 +4206,24 @@ i(l, d, v, "R", "ℝ");
4210
4206
  i(k, d, v, "R", "ℝ");
4211
4207
  i(l, d, v, "Z", "ℤ");
4212
4208
  i(k, d, v, "Z", "ℤ");
4213
- i(l, u, E, "h", "ℎ");
4214
- i(k, u, E, "h", "ℎ");
4215
- var I = "";
4209
+ i(l, o, q, "h", "ℎ");
4210
+ i(k, o, q, "h", "ℎ");
4211
+ var R = "";
4216
4212
  for (var a0 = 0; a0 < Be.length; a0++) {
4217
4213
  var J = Be.charAt(a0);
4218
- I = String.fromCharCode(55349, 56320 + a0), i(l, u, E, J, I), i(k, u, v, J, I), I = String.fromCharCode(55349, 56372 + a0), i(l, u, E, J, I), i(k, u, v, J, I), I = String.fromCharCode(55349, 56424 + a0), i(l, u, E, J, I), i(k, u, v, J, I), I = String.fromCharCode(55349, 56580 + a0), i(l, u, E, J, I), i(k, u, v, J, I), I = String.fromCharCode(55349, 56684 + a0), i(l, u, E, J, I), i(k, u, v, J, I), I = String.fromCharCode(55349, 56736 + a0), i(l, u, E, J, I), i(k, u, v, J, I), I = String.fromCharCode(55349, 56788 + a0), i(l, u, E, J, I), i(k, u, v, J, I), I = String.fromCharCode(55349, 56840 + a0), i(l, u, E, J, I), i(k, u, v, J, I), I = String.fromCharCode(55349, 56944 + a0), i(l, u, E, J, I), i(k, u, v, J, I), a0 < 26 && (I = String.fromCharCode(55349, 56632 + a0), i(l, u, E, J, I), i(k, u, v, J, I), I = String.fromCharCode(55349, 56476 + a0), i(l, u, E, J, I), i(k, u, v, J, I));
4214
+ R = String.fromCharCode(55349, 56320 + a0), i(l, o, q, J, R), i(k, o, v, J, R), R = String.fromCharCode(55349, 56372 + a0), i(l, o, q, J, R), i(k, o, v, J, R), R = String.fromCharCode(55349, 56424 + a0), i(l, o, q, J, R), i(k, o, v, J, R), R = String.fromCharCode(55349, 56580 + a0), i(l, o, q, J, R), i(k, o, v, J, R), R = String.fromCharCode(55349, 56684 + a0), i(l, o, q, J, R), i(k, o, v, J, R), R = String.fromCharCode(55349, 56736 + a0), i(l, o, q, J, R), i(k, o, v, J, R), R = String.fromCharCode(55349, 56788 + a0), i(l, o, q, J, R), i(k, o, v, J, R), R = String.fromCharCode(55349, 56840 + a0), i(l, o, q, J, R), i(k, o, v, J, R), R = String.fromCharCode(55349, 56944 + a0), i(l, o, q, J, R), i(k, o, v, J, R), a0 < 26 && (R = String.fromCharCode(55349, 56632 + a0), i(l, o, q, J, R), i(k, o, v, J, R), R = String.fromCharCode(55349, 56476 + a0), i(l, o, q, J, R), i(k, o, v, J, R));
4219
4215
  }
4220
- I = "𝕜";
4221
- i(l, u, E, "k", I);
4222
- i(k, u, v, "k", I);
4216
+ R = "𝕜";
4217
+ i(l, o, q, "k", R);
4218
+ i(k, o, v, "k", R);
4223
4219
  for (var X0 = 0; X0 < 10; X0++) {
4224
4220
  var H0 = X0.toString();
4225
- I = String.fromCharCode(55349, 57294 + X0), i(l, u, E, H0, I), i(k, u, v, H0, I), I = String.fromCharCode(55349, 57314 + X0), i(l, u, E, H0, I), i(k, u, v, H0, I), I = String.fromCharCode(55349, 57324 + X0), i(l, u, E, H0, I), i(k, u, v, H0, I), I = String.fromCharCode(55349, 57334 + X0), i(l, u, E, H0, I), i(k, u, v, H0, I);
4221
+ R = String.fromCharCode(55349, 57294 + X0), i(l, o, q, H0, R), i(k, o, v, H0, R), R = String.fromCharCode(55349, 57314 + X0), i(l, o, q, H0, R), i(k, o, v, H0, R), R = String.fromCharCode(55349, 57324 + X0), i(l, o, q, H0, R), i(k, o, v, H0, R), R = String.fromCharCode(55349, 57334 + X0), i(l, o, q, H0, R), i(k, o, v, H0, R);
4226
4222
  }
4227
4223
  var lt = "ÐÞþ";
4228
4224
  for (var We = 0; We < lt.length; We++) {
4229
4225
  var be = lt.charAt(We);
4230
- i(l, u, E, be, be), i(k, u, v, be, be);
4226
+ i(l, o, q, be, be), i(k, o, v, be, be);
4231
4227
  }
4232
4228
  var ye = [
4233
4229
  ["mathbf", "textbf", "Main-Bold"],
@@ -4296,17 +4292,17 @@ var ye = [
4296
4292
  // 0-9 bold sans-serif
4297
4293
  ["mathtt", "texttt", "Typewriter-Regular"]
4298
4294
  // 0-9 monospace
4299
- ], Qa = function(e, t) {
4300
- var a = e.charCodeAt(0), n = e.charCodeAt(1), s = (a - 55296) * 1024 + (n - 56320) + 65536, o = t === "math" ? 0 : 1;
4295
+ ], Ja = function(e, t) {
4296
+ var a = e.charCodeAt(0), n = e.charCodeAt(1), s = (a - 55296) * 1024 + (n - 56320) + 65536, u = t === "math" ? 0 : 1;
4301
4297
  if (119808 <= s && s < 120484) {
4302
4298
  var h = Math.floor((s - 119808) / 26);
4303
- return [ye[h][2], ye[h][o]];
4299
+ return [ye[h][2], ye[h][u]];
4304
4300
  } else if (120782 <= s && s <= 120831) {
4305
4301
  var c = Math.floor((s - 120782) / 10);
4306
- return [Xt[c][2], Xt[c][o]];
4302
+ return [Xt[c][2], Xt[c][u]];
4307
4303
  } else {
4308
4304
  if (s === 120485 || s === 120486)
4309
- return [ye[0][2], ye[0][o]];
4305
+ return [ye[0][2], ye[0][u]];
4310
4306
  if (120486 < s && s < 120782)
4311
4307
  return ["", ""];
4312
4308
  throw new M("Unsupported character: " + e);
@@ -4317,8 +4313,8 @@ var ye = [
4317
4313
  metrics: pt(e, t, a)
4318
4314
  };
4319
4315
  }, b0 = function(e, t, a, n, s) {
4320
- var o = Ee(e, t, a), h = o.metrics;
4321
- e = o.value;
4316
+ var u = Ee(e, t, a), h = u.metrics;
4317
+ e = u.value;
4322
4318
  var c;
4323
4319
  if (h) {
4324
4320
  var p = h.italic;
@@ -4331,9 +4327,9 @@ var ye = [
4331
4327
  g && (c.style.color = g);
4332
4328
  }
4333
4329
  return c;
4334
- }, _a = function(e, t, a, n) {
4330
+ }, Qa = function(e, t, a, n) {
4335
4331
  return n === void 0 && (n = []), a.font === "boldsymbol" && Ee(e, "Main-Bold", t).metrics ? b0(e, "Main-Bold", t, a, n.concat(["mathbf"])) : e === "\\" || $[t][e].font === "main" ? b0(e, "Main-Regular", t, a, n) : b0(e, "AMS-Regular", t, a, n.concat(["amsrm"]));
4336
- }, e1 = function(e, t, a, n, s) {
4332
+ }, _a = function(e, t, a, n, s) {
4337
4333
  return s !== "textord" && Ee(e, "Math-BoldItalic", t).metrics ? {
4338
4334
  fontName: "Math-BoldItalic",
4339
4335
  fontClass: "boldsymbol"
@@ -4341,41 +4337,41 @@ var ye = [
4341
4337
  fontName: "Main-Bold",
4342
4338
  fontClass: "mathbf"
4343
4339
  };
4344
- }, t1 = function(e, t, a) {
4345
- var n = e.mode, s = e.text, o = ["mord"], h = n === "math" || n === "text" && t.font, c = h ? t.font : t.fontFamily, p = "", g = "";
4346
- if (s.charCodeAt(0) === 55349 && ([p, g] = Qa(s, n)), p.length > 0)
4347
- return b0(s, p, n, t, o.concat(g));
4340
+ }, e1 = function(e, t, a) {
4341
+ var n = e.mode, s = e.text, u = ["mord"], h = n === "math" || n === "text" && t.font, c = h ? t.font : t.fontFamily, p = "", g = "";
4342
+ if (s.charCodeAt(0) === 55349 && ([p, g] = Ja(s, n)), p.length > 0)
4343
+ return b0(s, p, n, t, u.concat(g));
4348
4344
  if (c) {
4349
4345
  var y, w;
4350
4346
  if (c === "boldsymbol") {
4351
- var x = e1(s, n, t, o, a);
4347
+ var x = _a(s, n, t, u, a);
4352
4348
  y = x.fontName, w = [x.fontClass];
4353
4349
  } else h ? (y = zr[c].fontName, w = [c]) : (y = xe(c, t.fontWeight, t.fontShape), w = [c, t.fontWeight, t.fontShape]);
4354
4350
  if (Ee(s, y, n).metrics)
4355
- return b0(s, y, n, t, o.concat(w));
4351
+ return b0(s, y, n, t, u.concat(w));
4356
4352
  if (kr.hasOwnProperty(s) && y.slice(0, 10) === "Typewriter") {
4357
4353
  for (var z = [], T = 0; T < s.length; T++)
4358
- z.push(b0(s[T], y, n, t, o.concat(w)));
4354
+ z.push(b0(s[T], y, n, t, u.concat(w)));
4359
4355
  return Mr(z);
4360
4356
  }
4361
4357
  }
4362
4358
  if (a === "mathord")
4363
- return b0(s, "Math-Italic", n, t, o.concat(["mathnormal"]));
4359
+ return b0(s, "Math-Italic", n, t, u.concat(["mathnormal"]));
4364
4360
  if (a === "textord") {
4365
4361
  var C = $[n][s] && $[n][s].font;
4366
4362
  if (C === "ams") {
4367
4363
  var N = xe("amsrm", t.fontWeight, t.fontShape);
4368
- return b0(s, N, n, t, o.concat("amsrm", t.fontWeight, t.fontShape));
4364
+ return b0(s, N, n, t, u.concat("amsrm", t.fontWeight, t.fontShape));
4369
4365
  } else if (C === "main" || !C) {
4370
- var F = xe("textrm", t.fontWeight, t.fontShape);
4371
- return b0(s, F, n, t, o.concat(t.fontWeight, t.fontShape));
4366
+ var I = xe("textrm", t.fontWeight, t.fontShape);
4367
+ return b0(s, I, n, t, u.concat(t.fontWeight, t.fontShape));
4372
4368
  } else {
4373
- var O = xe(C, t.fontWeight, t.fontShape);
4374
- return b0(s, O, n, t, o.concat(O, t.fontWeight, t.fontShape));
4369
+ var F = xe(C, t.fontWeight, t.fontShape);
4370
+ return b0(s, F, n, t, u.concat(F, t.fontWeight, t.fontShape));
4375
4371
  }
4376
4372
  } else
4377
4373
  throw new Error("unexpected type: " + a + " in makeOrd");
4378
- }, r1 = (r, e) => {
4374
+ }, t1 = (r, e) => {
4379
4375
  if (P0(r.classes) !== P0(e.classes) || r.skew !== e.skew || r.maxFontSize !== e.maxFontSize)
4380
4376
  return !1;
4381
4377
  if (r.classes.length === 1) {
@@ -4390,40 +4386,40 @@ var ye = [
4390
4386
  if (e.style.hasOwnProperty(n) && r.style[n] !== e.style[n])
4391
4387
  return !1;
4392
4388
  return !0;
4393
- }, a1 = (r) => {
4389
+ }, r1 = (r) => {
4394
4390
  for (var e = 0; e < r.length - 1; e++) {
4395
4391
  var t = r[e], a = r[e + 1];
4396
- t instanceof p0 && a instanceof p0 && r1(t, a) && (t.text += a.text, t.height = Math.max(t.height, a.height), t.depth = Math.max(t.depth, a.depth), t.italic = a.italic, r.splice(e + 1, 1), e--);
4392
+ t instanceof p0 && a instanceof p0 && t1(t, a) && (t.text += a.text, t.height = Math.max(t.height, a.height), t.depth = Math.max(t.depth, a.depth), t.italic = a.italic, r.splice(e + 1, 1), e--);
4397
4393
  }
4398
4394
  return r;
4399
4395
  }, gt = function(e) {
4400
4396
  for (var t = 0, a = 0, n = 0, s = 0; s < e.children.length; s++) {
4401
- var o = e.children[s];
4402
- o.height > t && (t = o.height), o.depth > a && (a = o.depth), o.maxFontSize > n && (n = o.maxFontSize);
4397
+ var u = e.children[s];
4398
+ u.height > t && (t = u.height), u.depth > a && (a = u.depth), u.maxFontSize > n && (n = u.maxFontSize);
4403
4399
  }
4404
4400
  e.height = t, e.depth = a, e.maxFontSize = n;
4405
4401
  }, l0 = function(e, t, a, n) {
4406
4402
  var s = new he(e, t, a, n);
4407
4403
  return gt(s), s;
4408
- }, Sr = (r, e, t, a) => new he(r, e, t, a), n1 = function(e, t, a) {
4404
+ }, Sr = (r, e, t, a) => new he(r, e, t, a), a1 = function(e, t, a) {
4409
4405
  var n = l0([e], [], t);
4410
4406
  return n.height = Math.max(a || t.fontMetrics().defaultRuleThickness, t.minRuleThickness), n.style.borderBottomWidth = A(n.height), n.maxFontSize = 1, n;
4411
- }, i1 = function(e, t, a, n) {
4407
+ }, n1 = function(e, t, a, n) {
4412
4408
  var s = new vt(e, t, a, n);
4413
4409
  return gt(s), s;
4414
4410
  }, Mr = function(e) {
4415
- var t = new ue(e);
4411
+ var t = new oe(e);
4416
4412
  return gt(t), t;
4417
- }, s1 = function(e, t) {
4418
- return e instanceof ue ? l0([], [e], t) : e;
4419
- }, l1 = function(e) {
4413
+ }, i1 = function(e, t) {
4414
+ return e instanceof oe ? l0([], [e], t) : e;
4415
+ }, s1 = function(e) {
4420
4416
  if (e.positionType === "individualShift") {
4421
- for (var t = e.children, a = [t[0]], n = -t[0].shift - t[0].elem.depth, s = n, o = 1; o < t.length; o++) {
4422
- var h = -t[o].shift - s - t[o].elem.depth, c = h - (t[o - 1].elem.height + t[o - 1].elem.depth);
4417
+ for (var t = e.children, a = [t[0]], n = -t[0].shift - t[0].elem.depth, s = n, u = 1; u < t.length; u++) {
4418
+ var h = -t[u].shift - s - t[u].elem.depth, c = h - (t[u - 1].elem.height + t[u - 1].elem.depth);
4423
4419
  s = s + h, a.push({
4424
4420
  type: "kern",
4425
4421
  size: c
4426
- }), a.push(t[o]);
4422
+ }), a.push(t[u]);
4427
4423
  }
4428
4424
  return {
4429
4425
  children: a,
@@ -4454,12 +4450,12 @@ var ye = [
4454
4450
  children: e.children,
4455
4451
  depth: p
4456
4452
  };
4457
- }, o1 = function(e, t) {
4453
+ }, l1 = function(e, t) {
4458
4454
  for (var {
4459
4455
  children: a,
4460
4456
  depth: n
4461
- } = l1(e), s = 0, o = 0; o < a.length; o++) {
4462
- var h = a[o];
4457
+ } = s1(e), s = 0, u = 0; u < a.length; u++) {
4458
+ var h = a[u];
4463
4459
  if (h.type === "elem") {
4464
4460
  var c = h.elem;
4465
4461
  s = Math.max(s, c.maxFontSize, c.height);
@@ -4473,23 +4469,23 @@ var ye = [
4473
4469
  if (T.type === "kern")
4474
4470
  x += T.size;
4475
4471
  else {
4476
- var C = T.elem, N = T.wrapperClasses || [], F = T.wrapperStyle || {}, O = l0(N, [p, C], void 0, F);
4477
- O.style.top = A(-s - x - C.depth), T.marginLeft && (O.style.marginLeft = T.marginLeft), T.marginRight && (O.style.marginRight = T.marginRight), g.push(O), x += C.height + C.depth;
4472
+ var C = T.elem, N = T.wrapperClasses || [], I = T.wrapperStyle || {}, F = l0(N, [p, C], void 0, I);
4473
+ F.style.top = A(-s - x - C.depth), T.marginLeft && (F.style.marginLeft = T.marginLeft), T.marginRight && (F.style.marginRight = T.marginRight), g.push(F), x += C.height + C.depth;
4478
4474
  }
4479
4475
  y = Math.min(y, x), w = Math.max(w, x);
4480
4476
  }
4481
4477
  var V = l0(["vlist"], g);
4482
4478
  V.style.height = A(w);
4483
- var L;
4479
+ var H;
4484
4480
  if (y < 0) {
4485
- var U = l0([], []), G = l0(["vlist"], [U]);
4486
- G.style.height = A(-y);
4481
+ var U = l0([], []), P = l0(["vlist"], [U]);
4482
+ P.style.height = A(-y);
4487
4483
  var j = l0(["vlist-s"], [new p0("​")]);
4488
- L = [l0(["vlist-r"], [V, j]), l0(["vlist-r"], [G])];
4484
+ H = [l0(["vlist-r"], [V, j]), l0(["vlist-r"], [P])];
4489
4485
  } else
4490
- L = [l0(["vlist-r"], [V])];
4491
- var Y = l0(["vlist-t"], L);
4492
- return L.length === 2 && Y.classes.push("vlist-t2"), Y.height = w, Y.depth = -y, Y;
4486
+ H = [l0(["vlist-r"], [V])];
4487
+ var Y = l0(["vlist-t"], H);
4488
+ return H.length === 2 && Y.classes.push("vlist-t2"), Y.height = w, Y.depth = -y, Y;
4493
4489
  }, u1 = (r, e) => {
4494
4490
  var t = l0(["mspace"], [], e), a = K(r, e);
4495
4491
  return t.style.marginRight = A(a), t;
@@ -4576,8 +4572,8 @@ var ye = [
4576
4572
  oiintSize2: ["oiintSize2", 1.472, 0.659],
4577
4573
  oiiintSize1: ["oiiintSize1", 1.304, 0.499],
4578
4574
  oiiintSize2: ["oiiintSize2", 1.98, 0.659]
4579
- }, h1 = function(e, t) {
4580
- var [a, n, s] = Ar[e], o = new G0(a), h = new C0([o], {
4575
+ }, o1 = function(e, t) {
4576
+ var [a, n, s] = Ar[e], u = new G0(a), h = new C0([u], {
4581
4577
  width: A(n),
4582
4578
  height: A(s),
4583
4579
  // Override CSS rule `.katex svg { width: 100% }`
@@ -4589,19 +4585,19 @@ var ye = [
4589
4585
  }, b = {
4590
4586
  fontMap: zr,
4591
4587
  makeSymbol: b0,
4592
- mathsym: _a,
4588
+ mathsym: Qa,
4593
4589
  makeSpan: l0,
4594
4590
  makeSvgSpan: Sr,
4595
- makeLineSpan: n1,
4596
- makeAnchor: i1,
4591
+ makeLineSpan: a1,
4592
+ makeAnchor: n1,
4597
4593
  makeFragment: Mr,
4598
- wrapFragment: s1,
4599
- makeVList: o1,
4600
- makeOrd: t1,
4594
+ wrapFragment: i1,
4595
+ makeVList: l1,
4596
+ makeOrd: e1,
4601
4597
  makeGlue: u1,
4602
- staticSvg: h1,
4598
+ staticSvg: o1,
4603
4599
  svgData: Ar,
4604
- tryCombineChars: a1
4600
+ tryCombineChars: r1
4605
4601
  }, Z = {
4606
4602
  number: 3,
4607
4603
  unit: "mu"
@@ -4611,7 +4607,7 @@ var ye = [
4611
4607
  }, A0 = {
4612
4608
  number: 5,
4613
4609
  unit: "mu"
4614
- }, m1 = {
4610
+ }, h1 = {
4615
4611
  mord: {
4616
4612
  mop: Z,
4617
4613
  mbin: $0,
@@ -4661,7 +4657,7 @@ var ye = [
4661
4657
  mpunct: Z,
4662
4658
  minner: Z
4663
4659
  }
4664
- }, c1 = {
4660
+ }, m1 = {
4665
4661
  mord: {
4666
4662
  mop: Z
4667
4663
  },
@@ -4687,7 +4683,7 @@ function B(r) {
4687
4683
  props: a,
4688
4684
  handler: n,
4689
4685
  htmlBuilder: s,
4690
- mathmlBuilder: o
4686
+ mathmlBuilder: u
4691
4687
  } = r, h = {
4692
4688
  type: e,
4693
4689
  numArgs: a.numArgs,
@@ -4701,7 +4697,7 @@ function B(r) {
4701
4697
  handler: n
4702
4698
  }, c = 0; c < t.length; ++c)
4703
4699
  Tr[t[c]] = h;
4704
- e && (s && (De[e] = s), o && (Ce[e] = o));
4700
+ e && (s && (De[e] = s), u && (Ce[e] = u));
4705
4701
  }
4706
4702
  function W0(r) {
4707
4703
  var {
@@ -4726,12 +4722,12 @@ var Ne = function(e) {
4726
4722
  return e.type === "ordgroup" && e.body.length === 1 ? e.body[0] : e;
4727
4723
  }, Q = function(e) {
4728
4724
  return e.type === "ordgroup" ? e.body : [e];
4729
- }, N0 = b.makeSpan, d1 = ["leftmost", "mbin", "mopen", "mrel", "mop", "mpunct"], f1 = ["rightmost", "mrel", "mclose", "mpunct"], p1 = {
4730
- display: R.DISPLAY,
4731
- text: R.TEXT,
4732
- script: R.SCRIPT,
4733
- scriptscript: R.SCRIPTSCRIPT
4734
- }, v1 = {
4725
+ }, N0 = b.makeSpan, c1 = ["leftmost", "mbin", "mopen", "mrel", "mop", "mpunct"], d1 = ["rightmost", "mrel", "mclose", "mpunct"], f1 = {
4726
+ display: E.DISPLAY,
4727
+ text: E.TEXT,
4728
+ script: E.SCRIPT,
4729
+ scriptscript: E.SCRIPTSCRIPT
4730
+ }, p1 = {
4735
4731
  mord: "mord",
4736
4732
  mop: "mop",
4737
4733
  mbin: "mbin",
@@ -4742,9 +4738,9 @@ var Ne = function(e) {
4742
4738
  minner: "minner"
4743
4739
  }, t0 = function(e, t, a, n) {
4744
4740
  n === void 0 && (n = [null, null]);
4745
- for (var s = [], o = 0; o < e.length; o++) {
4746
- var h = P(e[o], t);
4747
- if (h instanceof ue) {
4741
+ for (var s = [], u = 0; u < e.length; u++) {
4742
+ var h = L(e[u], t);
4743
+ if (h instanceof oe) {
4748
4744
  var c = h.children;
4749
4745
  s.push(...c);
4750
4746
  } else
@@ -4755,25 +4751,25 @@ var Ne = function(e) {
4755
4751
  var p = t;
4756
4752
  if (e.length === 1) {
4757
4753
  var g = e[0];
4758
- g.type === "sizing" ? p = t.havingSize(g.size) : g.type === "styling" && (p = t.havingStyle(p1[g.style]));
4754
+ g.type === "sizing" ? p = t.havingSize(g.size) : g.type === "styling" && (p = t.havingStyle(f1[g.style]));
4759
4755
  }
4760
4756
  var y = N0([n[0] || "leftmost"], [], t), w = N0([n[1] || "rightmost"], [], t), x = a === "root";
4761
4757
  return $t(s, (z, T) => {
4762
4758
  var C = T.classes[0], N = z.classes[0];
4763
- C === "mbin" && q.contains(f1, N) ? T.classes[0] = "mord" : N === "mbin" && q.contains(d1, C) && (z.classes[0] = "mord");
4759
+ C === "mbin" && d1.includes(N) ? T.classes[0] = "mord" : N === "mbin" && c1.includes(C) && (z.classes[0] = "mord");
4764
4760
  }, {
4765
4761
  node: y
4766
4762
  }, w, x), $t(s, (z, T) => {
4767
- var C = ot(T), N = ot(z), F = C && N ? z.hasClass("mtight") ? c1[C][N] : m1[C][N] : null;
4768
- if (F)
4769
- return b.makeGlue(F, p);
4763
+ var C = ut(T), N = ut(z), I = C && N ? z.hasClass("mtight") ? m1[C][N] : h1[C][N] : null;
4764
+ if (I)
4765
+ return b.makeGlue(I, p);
4770
4766
  }, {
4771
4767
  node: y
4772
4768
  }, w, x), s;
4773
4769
  }, $t = function r(e, t, a, n, s) {
4774
4770
  n && e.push(n);
4775
- for (var o = 0; o < e.length; o++) {
4776
- var h = e[o], c = Br(h);
4771
+ for (var u = 0; u < e.length; u++) {
4772
+ var h = e[u], c = Br(h);
4777
4773
  if (c) {
4778
4774
  r(c.children, t, a, null, s);
4779
4775
  continue;
@@ -4781,16 +4777,16 @@ var Ne = function(e) {
4781
4777
  var p = !h.hasClass("mspace");
4782
4778
  if (p) {
4783
4779
  var g = t(h, a.node);
4784
- g && (a.insertAfter ? a.insertAfter(g) : (e.unshift(g), o++));
4780
+ g && (a.insertAfter ? a.insertAfter(g) : (e.unshift(g), u++));
4785
4781
  }
4786
4782
  p ? a.node = h : s && h.hasClass("newline") && (a.node = N0(["leftmost"])), a.insertAfter = /* @__PURE__ */ ((y) => (w) => {
4787
- e.splice(y + 1, 0, w), o++;
4788
- })(o);
4783
+ e.splice(y + 1, 0, w), u++;
4784
+ })(u);
4789
4785
  }
4790
4786
  n && e.pop();
4791
4787
  }, Br = function(e) {
4792
- return e instanceof ue || e instanceof vt || e instanceof he && e.hasClass("enclosing") ? e : null;
4793
- }, g1 = function r(e, t) {
4788
+ return e instanceof oe || e instanceof vt || e instanceof he && e.hasClass("enclosing") ? e : null;
4789
+ }, v1 = function r(e, t) {
4794
4790
  var a = Br(e);
4795
4791
  if (a) {
4796
4792
  var n = a.children;
@@ -4802,12 +4798,12 @@ var Ne = function(e) {
4802
4798
  }
4803
4799
  }
4804
4800
  return e;
4805
- }, ot = function(e, t) {
4806
- return e ? (t && (e = g1(e, t)), v1[e.classes[0]] || null) : null;
4807
- }, oe = function(e, t) {
4801
+ }, ut = function(e, t) {
4802
+ return e ? (t && (e = v1(e, t)), p1[e.classes[0]] || null) : null;
4803
+ }, ue = function(e, t) {
4808
4804
  var a = ["nulldelimiter"].concat(e.baseSizingClasses());
4809
4805
  return N0(t.concat(a));
4810
- }, P = function(e, t, a) {
4806
+ }, L = function(e, t, a) {
4811
4807
  if (!e)
4812
4808
  return N0();
4813
4809
  if (De[e.type]) {
@@ -4825,18 +4821,18 @@ function we(r, e) {
4825
4821
  var t = N0(["base"], r, e), a = N0(["strut"]);
4826
4822
  return a.style.height = A(t.height + t.depth), t.depth && (a.style.verticalAlign = A(-t.depth)), t.children.unshift(a), t;
4827
4823
  }
4828
- function ut(r, e) {
4824
+ function ot(r, e) {
4829
4825
  var t = null;
4830
4826
  r.length === 1 && r[0].type === "tag" && (t = r[0].tag, r = r[0].body);
4831
4827
  var a = t0(r, e, "root"), n;
4832
4828
  a.length === 2 && a[1].hasClass("tag") && (n = a.pop());
4833
- for (var s = [], o = [], h = 0; h < a.length; h++)
4834
- if (o.push(a[h]), a[h].hasClass("mbin") || a[h].hasClass("mrel") || a[h].hasClass("allowbreak")) {
4829
+ for (var s = [], u = [], h = 0; h < a.length; h++)
4830
+ if (u.push(a[h]), a[h].hasClass("mbin") || a[h].hasClass("mrel") || a[h].hasClass("allowbreak")) {
4835
4831
  for (var c = !1; h < a.length - 1 && a[h + 1].hasClass("mspace") && !a[h + 1].hasClass("newline"); )
4836
- h++, o.push(a[h]), a[h].hasClass("nobreak") && (c = !0);
4837
- c || (s.push(we(o, e)), o = []);
4838
- } else a[h].hasClass("newline") && (o.pop(), o.length > 0 && (s.push(we(o, e)), o = []), s.push(a[h]));
4839
- o.length > 0 && s.push(we(o, e));
4832
+ h++, u.push(a[h]), a[h].hasClass("nobreak") && (c = !0);
4833
+ c || (s.push(we(u, e)), u = []);
4834
+ } else a[h].hasClass("newline") && (u.pop(), u.length > 0 && (s.push(we(u, e)), u = []), s.push(a[h]));
4835
+ u.length > 0 && s.push(we(u, e));
4840
4836
  var p;
4841
4837
  t ? (p = we(t0(t, e, !0)), p.classes = ["tag"], s.push(p)) : n && s.push(n);
4842
4838
  var g = N0(["katex-html"], s);
@@ -4847,7 +4843,7 @@ function ut(r, e) {
4847
4843
  return g;
4848
4844
  }
4849
4845
  function Dr(r) {
4850
- return new ue(r);
4846
+ return new oe(r);
4851
4847
  }
4852
4848
  class h0 {
4853
4849
  constructor(e, t, a) {
@@ -4889,8 +4885,8 @@ class h0 {
4889
4885
  toMarkup() {
4890
4886
  var e = "<" + this.type;
4891
4887
  for (var t in this.attributes)
4892
- Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="', e += q.escape(this.attributes[t]), e += '"');
4893
- this.classes.length > 0 && (e += ' class ="' + q.escape(P0(this.classes)) + '"'), e += ">";
4888
+ Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="', e += G.escape(this.attributes[t]), e += '"');
4889
+ this.classes.length > 0 && (e += ' class ="' + G.escape(P0(this.classes)) + '"'), e += ">";
4894
4890
  for (var a = 0; a < this.children.length; a++)
4895
4891
  e += this.children[a].toMarkup();
4896
4892
  return e += "</" + this.type + ">", e;
@@ -4917,7 +4913,7 @@ class w0 {
4917
4913
  * (representing the text itself).
4918
4914
  */
4919
4915
  toMarkup() {
4920
- return q.escape(this.toText());
4916
+ return G.escape(this.toText());
4921
4917
  }
4922
4918
  /**
4923
4919
  * Converts the text node into a string
@@ -4927,7 +4923,7 @@ class w0 {
4927
4923
  return this.text;
4928
4924
  }
4929
4925
  }
4930
- class b1 {
4926
+ class g1 {
4931
4927
  /**
4932
4928
  * Create a Space node with width given in CSS ems.
4933
4929
  */
@@ -4959,7 +4955,7 @@ class b1 {
4959
4955
  var S = {
4960
4956
  MathNode: h0,
4961
4957
  TextNode: w0,
4962
- SpaceNode: b1,
4958
+ SpaceNode: g1,
4963
4959
  newDocumentFragment: Dr
4964
4960
  }, v0 = function(e, t, a) {
4965
4961
  return $[t][e] && $[t][e].replace && e.charCodeAt(0) !== 55349 && !(kr.hasOwnProperty(e) && a && (a.fontFamily && a.fontFamily.slice(4, 6) === "tt" || a.font && a.font.slice(4, 6) === "tt")) && (e = $[t][e].replace), new S.TextNode(e);
@@ -4999,11 +4995,11 @@ var S = {
4999
4995
  if (a === "mathtt")
5000
4996
  return "monospace";
5001
4997
  var s = e.text;
5002
- if (q.contains(["\\imath", "\\jmath"], s))
4998
+ if (["\\imath", "\\jmath"].includes(s))
5003
4999
  return null;
5004
5000
  $[n][s] && $[n][s].replace && (s = $[n][s].replace);
5005
- var o = b.fontMap[a].fontName;
5006
- return pt(s, o, n) ? b.fontMap[a].variant : null;
5001
+ var u = b.fontMap[a].fontName;
5002
+ return pt(s, u, n) ? b.fontMap[a].variant : null;
5007
5003
  };
5008
5004
  function je(r) {
5009
5005
  if (!r)
@@ -5017,41 +5013,41 @@ function je(r) {
5017
5013
  } else
5018
5014
  return !1;
5019
5015
  }
5020
- var u0 = function(e, t, a) {
5016
+ var o0 = function(e, t, a) {
5021
5017
  if (e.length === 1) {
5022
5018
  var n = X(e[0], t);
5023
5019
  return a && n instanceof h0 && n.type === "mo" && (n.setAttribute("lspace", "0em"), n.setAttribute("rspace", "0em")), [n];
5024
5020
  }
5025
- for (var s = [], o, h = 0; h < e.length; h++) {
5021
+ for (var s = [], u, h = 0; h < e.length; h++) {
5026
5022
  var c = X(e[h], t);
5027
- if (c instanceof h0 && o instanceof h0) {
5028
- if (c.type === "mtext" && o.type === "mtext" && c.getAttribute("mathvariant") === o.getAttribute("mathvariant")) {
5029
- o.children.push(...c.children);
5023
+ if (c instanceof h0 && u instanceof h0) {
5024
+ if (c.type === "mtext" && u.type === "mtext" && c.getAttribute("mathvariant") === u.getAttribute("mathvariant")) {
5025
+ u.children.push(...c.children);
5030
5026
  continue;
5031
- } else if (c.type === "mn" && o.type === "mn") {
5032
- o.children.push(...c.children);
5027
+ } else if (c.type === "mn" && u.type === "mn") {
5028
+ u.children.push(...c.children);
5033
5029
  continue;
5034
- } else if (je(c) && o.type === "mn") {
5035
- o.children.push(...c.children);
5030
+ } else if (je(c) && u.type === "mn") {
5031
+ u.children.push(...c.children);
5036
5032
  continue;
5037
- } else if (c.type === "mn" && je(o))
5038
- c.children = [...o.children, ...c.children], s.pop();
5039
- else if ((c.type === "msup" || c.type === "msub") && c.children.length >= 1 && (o.type === "mn" || je(o))) {
5033
+ } else if (c.type === "mn" && je(u))
5034
+ c.children = [...u.children, ...c.children], s.pop();
5035
+ else if ((c.type === "msup" || c.type === "msub") && c.children.length >= 1 && (u.type === "mn" || je(u))) {
5040
5036
  var p = c.children[0];
5041
- p instanceof h0 && p.type === "mn" && (p.children = [...o.children, ...p.children], s.pop());
5042
- } else if (o.type === "mi" && o.children.length === 1) {
5043
- var g = o.children[0];
5037
+ p instanceof h0 && p.type === "mn" && (p.children = [...u.children, ...p.children], s.pop());
5038
+ } else if (u.type === "mi" && u.children.length === 1) {
5039
+ var g = u.children[0];
5044
5040
  if (g instanceof w0 && g.text === "̸" && (c.type === "mo" || c.type === "mi" || c.type === "mn")) {
5045
5041
  var y = c.children[0];
5046
5042
  y instanceof w0 && y.text.length > 0 && (y.text = y.text.slice(0, 1) + "̸" + y.text.slice(1), s.pop());
5047
5043
  }
5048
5044
  }
5049
5045
  }
5050
- s.push(c), o = c;
5046
+ s.push(c), u = c;
5051
5047
  }
5052
5048
  return s;
5053
5049
  }, V0 = function(e, t, a) {
5054
- return bt(u0(e, t, a));
5050
+ return bt(o0(e, t, a));
5055
5051
  }, X = function(e, t) {
5056
5052
  if (!e)
5057
5053
  return new S.MathNode("mrow");
@@ -5062,18 +5058,18 @@ var u0 = function(e, t, a) {
5062
5058
  throw new M("Got group of unknown type: '" + e.type + "'");
5063
5059
  };
5064
5060
  function Wt(r, e, t, a, n) {
5065
- var s = u0(r, t), o;
5066
- s.length === 1 && s[0] instanceof h0 && q.contains(["mrow", "mtable"], s[0].type) ? o = s[0] : o = new S.MathNode("mrow", s);
5061
+ var s = o0(r, t), u;
5062
+ s.length === 1 && s[0] instanceof h0 && ["mrow", "mtable"].includes(s[0].type) ? u = s[0] : u = new S.MathNode("mrow", s);
5067
5063
  var h = new S.MathNode("annotation", [new S.TextNode(e)]);
5068
5064
  h.setAttribute("encoding", "application/x-tex");
5069
- var c = new S.MathNode("semantics", [o, h]), p = new S.MathNode("math", [c]);
5065
+ var c = new S.MathNode("semantics", [u, h]), p = new S.MathNode("math", [c]);
5070
5066
  p.setAttribute("xmlns", "http://www.w3.org/1998/Math/MathML"), a && p.setAttribute("display", "block");
5071
5067
  var g = n ? "katex" : "katex-mathml";
5072
5068
  return b.makeSpan([g], [p]);
5073
5069
  }
5074
5070
  var Cr = function(e) {
5075
5071
  return new T0({
5076
- style: e.displayMode ? R.DISPLAY : R.TEXT,
5072
+ style: e.displayMode ? E.DISPLAY : E.TEXT,
5077
5073
  maxSize: e.maxSize,
5078
5074
  minRuleThickness: e.minRuleThickness
5079
5075
  });
@@ -5083,22 +5079,22 @@ var Cr = function(e) {
5083
5079
  t.leqno && a.push("leqno"), t.fleqn && a.push("fleqn"), e = b.makeSpan(a, [e]);
5084
5080
  }
5085
5081
  return e;
5086
- }, y1 = function(e, t, a) {
5082
+ }, b1 = function(e, t, a) {
5087
5083
  var n = Cr(a), s;
5088
5084
  if (a.output === "mathml")
5089
5085
  return Wt(e, t, n, a.displayMode, !0);
5090
5086
  if (a.output === "html") {
5091
- var o = ut(e, n);
5092
- s = b.makeSpan(["katex"], [o]);
5087
+ var u = ot(e, n);
5088
+ s = b.makeSpan(["katex"], [u]);
5093
5089
  } else {
5094
- var h = Wt(e, t, n, a.displayMode, !1), c = ut(e, n);
5090
+ var h = Wt(e, t, n, a.displayMode, !1), c = ot(e, n);
5095
5091
  s = b.makeSpan(["katex"], [h, c]);
5096
5092
  }
5097
5093
  return Nr(s, a);
5098
- }, x1 = function(e, t, a) {
5099
- var n = Cr(a), s = ut(e, n), o = b.makeSpan(["katex"], [s]);
5100
- return Nr(o, a);
5101
- }, w1 = {
5094
+ }, y1 = function(e, t, a) {
5095
+ var n = Cr(a), s = ot(e, n), u = b.makeSpan(["katex"], [s]);
5096
+ return Nr(u, a);
5097
+ }, x1 = {
5102
5098
  widehat: "^",
5103
5099
  widecheck: "ˇ",
5104
5100
  widetilde: "~",
@@ -5143,10 +5139,10 @@ var Cr = function(e) {
5143
5139
  "\\cdrightarrow": "→",
5144
5140
  "\\cdleftarrow": "←",
5145
5141
  "\\cdlongequal": "="
5146
- }, k1 = function(e) {
5147
- var t = new S.MathNode("mo", [new S.TextNode(w1[e.replace(/^\\/, "")])]);
5142
+ }, w1 = function(e) {
5143
+ var t = new S.MathNode("mo", [new S.TextNode(x1[e.replace(/^\\/, "")])]);
5148
5144
  return t.setAttribute("stretchy", "true"), t;
5149
- }, S1 = {
5145
+ }, k1 = {
5150
5146
  // path(s), minWidth, height, align
5151
5147
  overrightarrow: [["rightarrow"], 0.888, 522, "xMaxYMin"],
5152
5148
  overleftarrow: [["leftarrow"], 0.888, 522, "xMinYMin"],
@@ -5193,13 +5189,13 @@ var Cr = function(e) {
5193
5189
  xrightleftarrows: [["baraboveleftarrow", "rightarrowabovebar"], 1.75, 901],
5194
5190
  xrightequilibrium: [["baraboveshortleftharpoon", "rightharpoonaboveshortbar"], 1.75, 716],
5195
5191
  xleftequilibrium: [["shortbaraboveleftharpoon", "shortrightharpoonabovebar"], 1.75, 716]
5196
- }, M1 = function(e) {
5192
+ }, S1 = function(e) {
5197
5193
  return e.type === "ordgroup" ? e.body.length : 1;
5198
- }, z1 = function(e, t) {
5194
+ }, M1 = function(e, t) {
5199
5195
  function a() {
5200
5196
  var h = 4e5, c = e.label.slice(1);
5201
- if (q.contains(["widehat", "widecheck", "widetilde", "utilde"], c)) {
5202
- var p = e, g = M1(p.base), y, w, x;
5197
+ if (["widehat", "widecheck", "widetilde", "utilde"].includes(c)) {
5198
+ var p = e, g = S1(p.base), y, w, x;
5203
5199
  if (g > 5)
5204
5200
  c === "widehat" || c === "widecheck" ? (y = 420, h = 2364, x = 0.42, w = c + "4") : (y = 312, h = 2340, x = 0.34, w = "tilde4");
5205
5201
  else {
@@ -5218,25 +5214,25 @@ var Cr = function(e) {
5218
5214
  height: x
5219
5215
  };
5220
5216
  } else {
5221
- var N = [], F = S1[c], [O, V, L] = F, U = L / 1e3, G = O.length, j, Y;
5222
- if (G === 1) {
5223
- var z0 = F[3];
5217
+ var N = [], I = k1[c], [F, V, H] = I, U = H / 1e3, P = F.length, j, Y;
5218
+ if (P === 1) {
5219
+ var z0 = I[3];
5224
5220
  j = ["hide-tail"], Y = [z0];
5225
- } else if (G === 2)
5221
+ } else if (P === 2)
5226
5222
  j = ["halfarrow-left", "halfarrow-right"], Y = ["xMinYMin", "xMaxYMin"];
5227
- else if (G === 3)
5223
+ else if (P === 3)
5228
5224
  j = ["brace-left", "brace-center", "brace-right"], Y = ["xMinYMin", "xMidYMin", "xMaxYMin"];
5229
5225
  else
5230
5226
  throw new Error(`Correct katexImagesData or update code here to support
5231
- ` + G + " children.");
5232
- for (var r0 = 0; r0 < G; r0++) {
5233
- var e0 = new G0(O[r0]), Y0 = new C0([e0], {
5227
+ ` + P + " children.");
5228
+ for (var r0 = 0; r0 < P; r0++) {
5229
+ var e0 = new G0(F[r0]), Y0 = new C0([e0], {
5234
5230
  width: "400em",
5235
5231
  height: A(U),
5236
- viewBox: "0 0 " + h + " " + L,
5232
+ viewBox: "0 0 " + h + " " + H,
5237
5233
  preserveAspectRatio: Y[r0] + " slice"
5238
5234
  }), s0 = b.makeSvgSpan([j[r0]], [Y0], t);
5239
- if (G === 1)
5235
+ if (P === 1)
5240
5236
  return {
5241
5237
  span: s0,
5242
5238
  minWidth: V,
@@ -5254,15 +5250,15 @@ var Cr = function(e) {
5254
5250
  var {
5255
5251
  span: n,
5256
5252
  minWidth: s,
5257
- height: o
5253
+ height: u
5258
5254
  } = a();
5259
- return n.height = o, n.style.height = A(o), s > 0 && (n.style.minWidth = A(s)), n;
5260
- }, A1 = function(e, t, a, n, s) {
5261
- var o, h = e.height + e.depth + a + n;
5255
+ return n.height = u, n.style.height = A(u), s > 0 && (n.style.minWidth = A(s)), n;
5256
+ }, z1 = function(e, t, a, n, s) {
5257
+ var u, h = e.height + e.depth + a + n;
5262
5258
  if (/fbox|color|angl/.test(t)) {
5263
- if (o = b.makeSpan(["stretchy", t], [], s), t === "fbox") {
5259
+ if (u = b.makeSpan(["stretchy", t], [], s), t === "fbox") {
5264
5260
  var c = s.color && s.getColor();
5265
- c && (o.style.borderColor = c);
5261
+ c && (u.style.borderColor = c);
5266
5262
  }
5267
5263
  } else {
5268
5264
  var p = [];
@@ -5283,15 +5279,15 @@ var Cr = function(e) {
5283
5279
  width: "100%",
5284
5280
  height: A(h)
5285
5281
  });
5286
- o = b.makeSvgSpan([], [g], s);
5282
+ u = b.makeSvgSpan([], [g], s);
5287
5283
  }
5288
- return o.height = h, o.style.height = A(h), o;
5284
+ return u.height = h, u.style.height = A(h), u;
5289
5285
  }, q0 = {
5290
- encloseSpan: A1,
5291
- mathMLnode: k1,
5292
- svgSpan: z1
5286
+ encloseSpan: z1,
5287
+ mathMLnode: w1,
5288
+ svgSpan: M1
5293
5289
  };
5294
- function H(r, e) {
5290
+ function O(r, e) {
5295
5291
  if (!r || r.type !== e)
5296
5292
  throw new Error("Expected node of type " + e + ", but got " + (r ? "node of type " + r.type : String(r)));
5297
5293
  return r;
@@ -5303,14 +5299,14 @@ function xt(r) {
5303
5299
  return e;
5304
5300
  }
5305
5301
  function Re(r) {
5306
- return r && (r.type === "atom" || Ja.hasOwnProperty(r.type)) ? r : null;
5302
+ return r && (r.type === "atom" || Ka.hasOwnProperty(r.type)) ? r : null;
5307
5303
  }
5308
5304
  var wt = (r, e) => {
5309
5305
  var t, a, n;
5310
- r && r.type === "supsub" ? (a = H(r.base, "accent"), t = a.base, r.base = t, n = Za(P(r, e)), r.base = a) : (a = H(r, "accent"), t = a.base);
5311
- var s = P(t, e.havingCrampedStyle()), o = a.isShifty && q.isCharacterBox(t), h = 0;
5312
- if (o) {
5313
- var c = q.getBaseElem(t), p = P(c, e.havingCrampedStyle());
5306
+ r && r.type === "supsub" ? (a = O(r.base, "accent"), t = a.base, r.base = t, n = ja(L(r, e)), r.base = a) : (a = O(r, "accent"), t = a.base);
5307
+ var s = L(t, e.havingCrampedStyle()), u = a.isShifty && G.isCharacterBox(t), h = 0;
5308
+ if (u) {
5309
+ var c = G.getBaseElem(t), p = L(c, e.havingCrampedStyle());
5314
5310
  h = Pt(p).skew;
5315
5311
  }
5316
5312
  var g = a.label === "\\c", y = g ? s.height + s.depth : Math.min(s.height, e.fontMetrics().xHeight), w;
@@ -5358,7 +5354,7 @@ var wt = (r, e) => {
5358
5354
  }, qr = (r, e) => {
5359
5355
  var t = r.isStretchy ? q0.mathMLnode(r.label) : new S.MathNode("mo", [v0(r.label, r.mode)]), a = new S.MathNode("mover", [X(r.base, e), t]);
5360
5356
  return a.setAttribute("accent", "true"), a;
5361
- }, T1 = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((r) => "\\" + r).join("|"));
5357
+ }, A1 = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((r) => "\\" + r).join("|"));
5362
5358
  B({
5363
5359
  type: "accent",
5364
5360
  names: ["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring", "\\widecheck", "\\widehat", "\\widetilde", "\\overrightarrow", "\\overleftarrow", "\\Overrightarrow", "\\overleftrightarrow", "\\overgroup", "\\overlinesegment", "\\overleftharpoon", "\\overrightharpoon"],
@@ -5366,7 +5362,7 @@ B({
5366
5362
  numArgs: 1
5367
5363
  },
5368
5364
  handler: (r, e) => {
5369
- var t = Ne(e[0]), a = !T1.test(r.funcName), n = !a || r.funcName === "\\widehat" || r.funcName === "\\widetilde" || r.funcName === "\\widecheck";
5365
+ var t = Ne(e[0]), a = !A1.test(r.funcName), n = !a || r.funcName === "\\widehat" || r.funcName === "\\widetilde" || r.funcName === "\\widecheck";
5370
5366
  return {
5371
5367
  type: "accent",
5372
5368
  mode: r.parser.mode,
@@ -5422,7 +5418,7 @@ B({
5422
5418
  };
5423
5419
  },
5424
5420
  htmlBuilder: (r, e) => {
5425
- var t = P(r.base, e), a = q0.svgSpan(r, e), n = r.label === "\\utilde" ? 0.12 : 0, s = b.makeVList({
5421
+ var t = L(r.base, e), a = q0.svgSpan(r, e), n = r.label === "\\utilde" ? 0.12 : 0, s = b.makeVList({
5426
5422
  positionType: "top",
5427
5423
  positionData: t.height,
5428
5424
  children: [{
@@ -5500,15 +5496,15 @@ B({
5500
5496
  // Flow is unable to correctly infer the type of `group`, even though it's
5501
5497
  // unambiguously determined from the passed-in `type` above.
5502
5498
  htmlBuilder(r, e) {
5503
- var t = e.style, a = e.havingStyle(t.sup()), n = b.wrapFragment(P(r.body, a, e), e), s = r.label.slice(0, 2) === "\\x" ? "x" : "cd";
5499
+ var t = e.style, a = e.havingStyle(t.sup()), n = b.wrapFragment(L(r.body, a, e), e), s = r.label.slice(0, 2) === "\\x" ? "x" : "cd";
5504
5500
  n.classes.push(s + "-arrow-pad");
5505
- var o;
5506
- r.below && (a = e.havingStyle(t.sub()), o = b.wrapFragment(P(r.below, a, e), e), o.classes.push(s + "-arrow-pad"));
5501
+ var u;
5502
+ r.below && (a = e.havingStyle(t.sub()), u = b.wrapFragment(L(r.below, a, e), e), u.classes.push(s + "-arrow-pad"));
5507
5503
  var h = q0.svgSpan(r, e), c = -e.fontMetrics().axisHeight + 0.5 * h.height, p = -e.fontMetrics().axisHeight - 0.5 * h.height - 0.111;
5508
5504
  (n.depth > 0.25 || r.label === "\\xleftequilibrium") && (p -= n.depth);
5509
5505
  var g;
5510
- if (o) {
5511
- var y = -e.fontMetrics().axisHeight + o.height + 0.5 * h.height + 0.111;
5506
+ if (u) {
5507
+ var y = -e.fontMetrics().axisHeight + u.height + 0.5 * h.height + 0.111;
5512
5508
  g = b.makeVList({
5513
5509
  positionType: "individualShift",
5514
5510
  children: [{
@@ -5521,7 +5517,7 @@ B({
5521
5517
  shift: c
5522
5518
  }, {
5523
5519
  type: "elem",
5524
- elem: o,
5520
+ elem: u,
5525
5521
  shift: y
5526
5522
  }]
5527
5523
  }, e);
@@ -5552,20 +5548,20 @@ B({
5552
5548
  } else
5553
5549
  a = new S.MathNode("mover", [t, n]);
5554
5550
  } else if (r.below) {
5555
- var o = ke(X(r.below, e));
5556
- a = new S.MathNode("munder", [t, o]);
5551
+ var u = ke(X(r.below, e));
5552
+ a = new S.MathNode("munder", [t, u]);
5557
5553
  } else
5558
5554
  a = ke(), a = new S.MathNode("mover", [t, a]);
5559
5555
  return a;
5560
5556
  }
5561
5557
  });
5562
- var B1 = b.makeSpan;
5558
+ var T1 = b.makeSpan;
5563
5559
  function Er(r, e) {
5564
5560
  var t = t0(r.body, e, !0);
5565
- return B1([r.mclass], t, e);
5561
+ return T1([r.mclass], t, e);
5566
5562
  }
5567
5563
  function Rr(r, e) {
5568
- var t, a = u0(r.body, e);
5564
+ var t, a = o0(r.body, e);
5569
5565
  return r.mclass === "minner" ? t = new S.MathNode("mpadded", a) : r.mclass === "mord" ? r.isCharacterBox ? (t = a[0], t.type = "mi") : t = new S.MathNode("mi", a) : (r.isCharacterBox ? (t = a[0], t.type = "mo") : t = new S.MathNode("mo", a), r.mclass === "mbin" ? (t.attributes.lspace = "0.22em", t.attributes.rspace = "0.22em") : r.mclass === "mpunct" ? (t.attributes.lspace = "0em", t.attributes.rspace = "0.17em") : r.mclass === "mopen" || r.mclass === "mclose" ? (t.attributes.lspace = "0em", t.attributes.rspace = "0em") : r.mclass === "minner" && (t.attributes.lspace = "0.0556em", t.attributes.width = "+0.1111em")), t;
5570
5566
  }
5571
5567
  B({
@@ -5586,7 +5582,7 @@ B({
5586
5582
  mclass: "m" + a.slice(5),
5587
5583
  // TODO(kevinb): don't prefix with 'm'
5588
5584
  body: Q(n),
5589
- isCharacterBox: q.isCharacterBox(n)
5585
+ isCharacterBox: G.isCharacterBox(n)
5590
5586
  };
5591
5587
  },
5592
5588
  htmlBuilder: Er,
@@ -5611,7 +5607,7 @@ B({
5611
5607
  mode: t.mode,
5612
5608
  mclass: Ie(e[0]),
5613
5609
  body: Q(e[1]),
5614
- isCharacterBox: q.isCharacterBox(e[1])
5610
+ isCharacterBox: G.isCharacterBox(e[1])
5615
5611
  };
5616
5612
  }
5617
5613
  });
@@ -5625,8 +5621,8 @@ B({
5625
5621
  var {
5626
5622
  parser: t,
5627
5623
  funcName: a
5628
- } = r, n = e[1], s = e[0], o;
5629
- a !== "\\stackrel" ? o = Ie(n) : o = "mrel";
5624
+ } = r, n = e[1], s = e[0], u;
5625
+ a !== "\\stackrel" ? u = Ie(n) : u = "mrel";
5630
5626
  var h = {
5631
5627
  type: "op",
5632
5628
  mode: n.mode,
@@ -5646,9 +5642,9 @@ B({
5646
5642
  return {
5647
5643
  type: "mclass",
5648
5644
  mode: t.mode,
5649
- mclass: o,
5645
+ mclass: u,
5650
5646
  body: [c],
5651
- isCharacterBox: q.isCharacterBox(c)
5647
+ isCharacterBox: G.isCharacterBox(c)
5652
5648
  };
5653
5649
  },
5654
5650
  htmlBuilder: Er,
@@ -5677,11 +5673,11 @@ B({
5677
5673
  return a.style.textShadow = "0.02em 0.01em 0.04px", a;
5678
5674
  },
5679
5675
  mathmlBuilder(r, e) {
5680
- var t = u0(r.body, e), a = new S.MathNode("mstyle", t);
5676
+ var t = o0(r.body, e), a = new S.MathNode("mstyle", t);
5681
5677
  return a.setAttribute("style", "text-shadow: 0.02em 0.01em 0.04px"), a;
5682
5678
  }
5683
5679
  });
5684
- var D1 = {
5680
+ var B1 = {
5685
5681
  ">": "\\\\cdrightarrow",
5686
5682
  "<": "\\\\cdleftarrow",
5687
5683
  "=": "\\\\cdlongequal",
@@ -5694,9 +5690,9 @@ var D1 = {
5694
5690
  body: [],
5695
5691
  mode: "math",
5696
5692
  style: "display"
5697
- }), Zt = (r) => r.type === "textord" && r.text === "@", C1 = (r, e) => (r.type === "mathord" || r.type === "atom") && r.text === e;
5698
- function N1(r, e, t) {
5699
- var a = D1[r];
5693
+ }), Zt = (r) => r.type === "textord" && r.text === "@", D1 = (r, e) => (r.type === "mathord" || r.type === "atom") && r.text === e;
5694
+ function C1(r, e, t) {
5695
+ var a = B1[r];
5700
5696
  switch (a) {
5701
5697
  case "\\\\cdrightarrow":
5702
5698
  case "\\\\cdleftarrow":
@@ -5708,10 +5704,10 @@ function N1(r, e, t) {
5708
5704
  text: a,
5709
5705
  mode: "math",
5710
5706
  family: "rel"
5711
- }, o = t.callFunction("\\Big", [s], []), h = t.callFunction("\\\\cdright", [e[1]], []), c = {
5707
+ }, u = t.callFunction("\\Big", [s], []), h = t.callFunction("\\\\cdright", [e[1]], []), c = {
5712
5708
  type: "ordgroup",
5713
5709
  mode: "math",
5714
- body: [n, o, h]
5710
+ body: [n, u, h]
5715
5711
  };
5716
5712
  return t.callFunction("\\\\cdparent", [c], []);
5717
5713
  }
@@ -5733,7 +5729,7 @@ function N1(r, e, t) {
5733
5729
  };
5734
5730
  }
5735
5731
  }
5736
- function q1(r) {
5732
+ function N1(r) {
5737
5733
  var e = [];
5738
5734
  for (r.gullet.beginGroup(), r.gullet.macros.set("\\cr", "\\\\\\relax"), r.gullet.beginGroup(); ; ) {
5739
5735
  e.push(r.parseExpression(!1, "\\\\")), r.gullet.endGroup(), r.gullet.beginGroup();
@@ -5747,12 +5743,12 @@ function q1(r) {
5747
5743
  throw new M("Expected \\\\ or \\cr or \\end", r.nextToken);
5748
5744
  }
5749
5745
  for (var a = [], n = [a], s = 0; s < e.length; s++) {
5750
- for (var o = e[s], h = jt(), c = 0; c < o.length; c++)
5751
- if (!Zt(o[c]))
5752
- h.body.push(o[c]);
5746
+ for (var u = e[s], h = jt(), c = 0; c < u.length; c++)
5747
+ if (!Zt(u[c]))
5748
+ h.body.push(u[c]);
5753
5749
  else {
5754
5750
  a.push(h), c += 1;
5755
- var p = xt(o[c]).text, g = new Array(2);
5751
+ var p = xt(u[c]).text, g = new Array(2);
5756
5752
  if (g[0] = {
5757
5753
  type: "ordgroup",
5758
5754
  mode: "math",
@@ -5763,21 +5759,21 @@ function q1(r) {
5763
5759
  body: []
5764
5760
  }, !("=|.".indexOf(p) > -1)) if ("<>AV".indexOf(p) > -1)
5765
5761
  for (var y = 0; y < 2; y++) {
5766
- for (var w = !0, x = c + 1; x < o.length; x++) {
5767
- if (C1(o[x], p)) {
5762
+ for (var w = !0, x = c + 1; x < u.length; x++) {
5763
+ if (D1(u[x], p)) {
5768
5764
  w = !1, c = x;
5769
5765
  break;
5770
5766
  }
5771
- if (Zt(o[x]))
5772
- throw new M("Missing a " + p + " character to complete a CD arrow.", o[x]);
5773
- g[y].body.push(o[x]);
5767
+ if (Zt(u[x]))
5768
+ throw new M("Missing a " + p + " character to complete a CD arrow.", u[x]);
5769
+ g[y].body.push(u[x]);
5774
5770
  }
5775
5771
  if (w)
5776
- throw new M("Missing a " + p + " character to complete a CD arrow.", o[c]);
5772
+ throw new M("Missing a " + p + " character to complete a CD arrow.", u[c]);
5777
5773
  }
5778
5774
  else
5779
- throw new M('Expected one of "<>AV=|." after @', o[c]);
5780
- var z = N1(p, g, r), T = {
5775
+ throw new M('Expected one of "<>AV=|." after @', u[c]);
5776
+ var z = C1(p, g, r), T = {
5781
5777
  type: "styling",
5782
5778
  body: [z],
5783
5779
  mode: "math",
@@ -5828,7 +5824,7 @@ B({
5828
5824
  };
5829
5825
  },
5830
5826
  htmlBuilder(r, e) {
5831
- var t = e.havingStyle(e.style.sup()), a = b.wrapFragment(P(r.label, t, e), e);
5827
+ var t = e.havingStyle(e.style.sup()), a = b.wrapFragment(L(r.label, t, e), e);
5832
5828
  return a.classes.push("cd-label-" + r.side), a.style.bottom = A(0.8 - a.depth), a.height = 0, a.depth = 0, a;
5833
5829
  },
5834
5830
  mathmlBuilder(r, e) {
@@ -5853,7 +5849,7 @@ B({
5853
5849
  };
5854
5850
  },
5855
5851
  htmlBuilder(r, e) {
5856
- var t = b.wrapFragment(P(r.fragment, e), e);
5852
+ var t = b.wrapFragment(L(r.fragment, e), e);
5857
5853
  return t.classes.push("cd-vert-arrow"), t;
5858
5854
  },
5859
5855
  mathmlBuilder(r, e) {
@@ -5870,8 +5866,8 @@ B({
5870
5866
  handler(r, e) {
5871
5867
  for (var {
5872
5868
  parser: t
5873
- } = r, a = H(e[0], "ordgroup"), n = a.body, s = "", o = 0; o < n.length; o++) {
5874
- var h = H(n[o], "textord");
5869
+ } = r, a = O(e[0], "ordgroup"), n = a.body, s = "", u = 0; u < n.length; u++) {
5870
+ var h = O(n[u], "textord");
5875
5871
  s += h.text;
5876
5872
  }
5877
5873
  var c = parseInt(s), p;
@@ -5890,7 +5886,7 @@ var Ir = (r, e) => {
5890
5886
  var t = t0(r.body, e.withColor(r.color), !1);
5891
5887
  return b.makeFragment(t);
5892
5888
  }, Fr = (r, e) => {
5893
- var t = u0(r.body, e.withColor(r.color)), a = new S.MathNode("mstyle", t);
5889
+ var t = o0(r.body, e.withColor(r.color)), a = new S.MathNode("mstyle", t);
5894
5890
  return a.setAttribute("mathcolor", r.color), a;
5895
5891
  };
5896
5892
  B({
@@ -5904,7 +5900,7 @@ B({
5904
5900
  handler(r, e) {
5905
5901
  var {
5906
5902
  parser: t
5907
- } = r, a = H(e[0], "color-token").color, n = e[1];
5903
+ } = r, a = O(e[0], "color-token").color, n = e[1];
5908
5904
  return {
5909
5905
  type: "color",
5910
5906
  mode: t.mode,
@@ -5927,7 +5923,7 @@ B({
5927
5923
  var {
5928
5924
  parser: t,
5929
5925
  breakOnTokenText: a
5930
- } = r, n = H(e[0], "color-token").color;
5926
+ } = r, n = O(e[0], "color-token").color;
5931
5927
  t.gullet.macros.set("\\current@color", n);
5932
5928
  var s = t.parseExpression(!0, a);
5933
5929
  return {
@@ -5956,7 +5952,7 @@ B({
5956
5952
  type: "cr",
5957
5953
  mode: a.mode,
5958
5954
  newLine: s,
5959
- size: n && H(n, "size").value
5955
+ size: n && O(n, "size").value
5960
5956
  };
5961
5957
  },
5962
5958
  // The following builders are called only at the top level,
@@ -5985,7 +5981,7 @@ var ht = {
5985
5981
  if (/^(?:[\\{}$&#^_]|EOF)$/.test(e))
5986
5982
  throw new M("Expected a control sequence", r);
5987
5983
  return e;
5988
- }, E1 = (r) => {
5984
+ }, q1 = (r) => {
5989
5985
  var e = r.gullet.popToken();
5990
5986
  return e.text === "=" && (e = r.gullet.popToken(), e.text === " " && (e = r.gullet.popToken())), e;
5991
5987
  }, Hr = (r, e, t, a) => {
@@ -6017,7 +6013,7 @@ B({
6017
6013
  e.consumeSpaces();
6018
6014
  var a = e.fetch();
6019
6015
  if (ht[a.text])
6020
- return (t === "\\global" || t === "\\\\globallong") && (a.text = ht[a.text]), H(e.parseFunction(), "internal");
6016
+ return (t === "\\global" || t === "\\\\globallong") && (a.text = ht[a.text]), O(e.parseFunction(), "internal");
6021
6017
  throw new M("Invalid token after macro prefix", a);
6022
6018
  }
6023
6019
  });
@@ -6036,10 +6032,10 @@ B({
6036
6032
  } = r, a = e.gullet.popToken(), n = a.text;
6037
6033
  if (/^(?:[\\{}$&#^_]|EOF)$/.test(n))
6038
6034
  throw new M("Expected a control sequence", a);
6039
- for (var s = 0, o, h = [[]]; e.gullet.future().text !== "{"; )
6035
+ for (var s = 0, u, h = [[]]; e.gullet.future().text !== "{"; )
6040
6036
  if (a = e.gullet.popToken(), a.text === "#") {
6041
6037
  if (e.gullet.future().text === "{") {
6042
- o = e.gullet.future(), h[s].push("{");
6038
+ u = e.gullet.future(), h[s].push("{");
6043
6039
  break;
6044
6040
  }
6045
6041
  if (a = e.gullet.popToken(), !/^[1-9]$/.test(a.text))
@@ -6055,7 +6051,7 @@ B({
6055
6051
  var {
6056
6052
  tokens: c
6057
6053
  } = e.gullet.consumeArg();
6058
- return o && c.unshift(o), (t === "\\edef" || t === "\\xdef") && (c = e.gullet.expandTokens(c), c.reverse()), e.gullet.macros.set(n, {
6054
+ return u && c.unshift(u), (t === "\\edef" || t === "\\xdef") && (c = e.gullet.expandTokens(c), c.reverse()), e.gullet.macros.set(n, {
6059
6055
  tokens: c,
6060
6056
  numArgs: s,
6061
6057
  delimiters: h
@@ -6083,7 +6079,7 @@ B({
6083
6079
  funcName: t
6084
6080
  } = r, a = Or(e.gullet.popToken());
6085
6081
  e.gullet.consumeSpaces();
6086
- var n = E1(e);
6082
+ var n = q1(e);
6087
6083
  return Hr(e, a, n, t === "\\\\globallet"), {
6088
6084
  type: "internal",
6089
6085
  mode: e.mode
@@ -6119,19 +6115,19 @@ var ie = function(e, t, a) {
6119
6115
  throw new Error("Unsupported symbol " + e + " and font size " + t + ".");
6120
6116
  return s;
6121
6117
  }, kt = function(e, t, a, n) {
6122
- var s = a.havingBaseStyle(t), o = b.makeSpan(n.concat(s.sizingClasses(a)), [e], a), h = s.sizeMultiplier / a.sizeMultiplier;
6123
- return o.height *= h, o.depth *= h, o.maxFontSize = s.sizeMultiplier, o;
6118
+ var s = a.havingBaseStyle(t), u = b.makeSpan(n.concat(s.sizingClasses(a)), [e], a), h = s.sizeMultiplier / a.sizeMultiplier;
6119
+ return u.height *= h, u.depth *= h, u.maxFontSize = s.sizeMultiplier, u;
6124
6120
  }, Lr = function(e, t, a) {
6125
6121
  var n = t.havingBaseStyle(a), s = (1 - t.sizeMultiplier / n.sizeMultiplier) * t.fontMetrics().axisHeight;
6126
6122
  e.classes.push("delimcenter"), e.style.top = A(s), e.height -= s, e.depth += s;
6127
- }, R1 = function(e, t, a, n, s, o) {
6128
- var h = b.makeSymbol(e, "Main-Regular", s, n), c = kt(h, t, n, o);
6123
+ }, E1 = function(e, t, a, n, s, u) {
6124
+ var h = b.makeSymbol(e, "Main-Regular", s, n), c = kt(h, t, n, u);
6129
6125
  return a && Lr(c, n, t), c;
6130
- }, I1 = function(e, t, a, n) {
6126
+ }, R1 = function(e, t, a, n) {
6131
6127
  return b.makeSymbol(e, "Size" + t + "-Regular", a, n);
6132
- }, Pr = function(e, t, a, n, s, o) {
6133
- var h = I1(e, t, s, n), c = kt(b.makeSpan(["delimsizing", "size" + t], [h], n), R.TEXT, n, o);
6134
- return a && Lr(c, n, R.TEXT), c;
6128
+ }, Pr = function(e, t, a, n, s, u) {
6129
+ var h = R1(e, t, s, n), c = kt(b.makeSpan(["delimsizing", "size" + t], [h], n), E.TEXT, n, u);
6130
+ return a && Lr(c, n, E.TEXT), c;
6135
6131
  }, Ze = function(e, t, a) {
6136
6132
  var n;
6137
6133
  t === "Size1-Regular" ? n = "delim-size1" : n = "delim-size4";
@@ -6141,14 +6137,14 @@ var ie = function(e, t, a) {
6141
6137
  elem: s
6142
6138
  };
6143
6139
  }, Ke = function(e, t, a) {
6144
- var n = x0["Size4-Regular"][e.charCodeAt(0)] ? x0["Size4-Regular"][e.charCodeAt(0)][4] : x0["Size1-Regular"][e.charCodeAt(0)][4], s = new G0("inner", Pa(e, Math.round(1e3 * t))), o = new C0([s], {
6140
+ var n = x0["Size4-Regular"][e.charCodeAt(0)] ? x0["Size4-Regular"][e.charCodeAt(0)][4] : x0["Size1-Regular"][e.charCodeAt(0)][4], s = new G0("inner", La(e, Math.round(1e3 * t))), u = new C0([s], {
6145
6141
  width: A(n),
6146
6142
  height: A(t),
6147
6143
  // Override CSS rule `.katex svg { width: 100% }`
6148
6144
  style: "width:" + A(n),
6149
6145
  viewBox: "0 0 " + 1e3 * n + " " + Math.round(1e3 * t),
6150
6146
  preserveAspectRatio: "xMinYMin"
6151
- }), h = b.makeSvgSpan([], [o], a);
6147
+ }), h = b.makeSvgSpan([], [u], a);
6152
6148
  return h.height = t, h.style.height = A(t), h.style.width = A(n), {
6153
6149
  type: "elem",
6154
6150
  elem: h
@@ -6156,21 +6152,21 @@ var ie = function(e, t, a) {
6156
6152
  }, mt = 8e-3, Se = {
6157
6153
  type: "kern",
6158
6154
  size: -1 * mt
6159
- }, F1 = ["|", "\\lvert", "\\rvert", "\\vert"], O1 = ["\\|", "\\lVert", "\\rVert", "\\Vert"], Gr = function(e, t, a, n, s, o) {
6155
+ }, I1 = ["|", "\\lvert", "\\rvert", "\\vert"], F1 = ["\\|", "\\lVert", "\\rVert", "\\Vert"], Gr = function(e, t, a, n, s, u) {
6160
6156
  var h, c, p, g, y = "", w = 0;
6161
6157
  h = p = g = e, c = null;
6162
6158
  var x = "Size1-Regular";
6163
- e === "\\uparrow" ? p = g = "⏐" : e === "\\Uparrow" ? p = g = "‖" : e === "\\downarrow" ? h = p = "⏐" : e === "\\Downarrow" ? h = p = "‖" : e === "\\updownarrow" ? (h = "\\uparrow", p = "⏐", g = "\\downarrow") : e === "\\Updownarrow" ? (h = "\\Uparrow", p = "‖", g = "\\Downarrow") : q.contains(F1, e) ? (p = "∣", y = "vert", w = 333) : q.contains(O1, e) ? (p = "∥", y = "doublevert", w = 556) : e === "[" || e === "\\lbrack" ? (h = "⎡", p = "⎢", g = "⎣", x = "Size4-Regular", y = "lbrack", w = 667) : e === "]" || e === "\\rbrack" ? (h = "⎤", p = "⎥", g = "⎦", x = "Size4-Regular", y = "rbrack", w = 667) : e === "\\lfloor" || e === "⌊" ? (p = h = "⎢", g = "⎣", x = "Size4-Regular", y = "lfloor", w = 667) : e === "\\lceil" || e === "⌈" ? (h = "⎡", p = g = "⎢", x = "Size4-Regular", y = "lceil", w = 667) : e === "\\rfloor" || e === "⌋" ? (p = h = "⎥", g = "⎦", x = "Size4-Regular", y = "rfloor", w = 667) : e === "\\rceil" || e === "⌉" ? (h = "⎤", p = g = "⎥", x = "Size4-Regular", y = "rceil", w = 667) : e === "(" || e === "\\lparen" ? (h = "⎛", p = "⎜", g = "⎝", x = "Size4-Regular", y = "lparen", w = 875) : e === ")" || e === "\\rparen" ? (h = "⎞", p = "⎟", g = "⎠", x = "Size4-Regular", y = "rparen", w = 875) : e === "\\{" || e === "\\lbrace" ? (h = "⎧", c = "⎨", g = "⎩", p = "⎪", x = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (h = "⎫", c = "⎬", g = "⎭", p = "⎪", x = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (h = "⎧", g = "⎩", p = "⎪", x = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (h = "⎫", g = "⎭", p = "⎪", x = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (h = "⎧", g = "⎭", p = "⎪", x = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (h = "⎫", g = "⎩", p = "⎪", x = "Size4-Regular");
6164
- var z = ie(h, x, s), T = z.height + z.depth, C = ie(p, x, s), N = C.height + C.depth, F = ie(g, x, s), O = F.height + F.depth, V = 0, L = 1;
6159
+ e === "\\uparrow" ? p = g = "⏐" : e === "\\Uparrow" ? p = g = "‖" : e === "\\downarrow" ? h = p = "⏐" : e === "\\Downarrow" ? h = p = "‖" : e === "\\updownarrow" ? (h = "\\uparrow", p = "⏐", g = "\\downarrow") : e === "\\Updownarrow" ? (h = "\\Uparrow", p = "‖", g = "\\Downarrow") : I1.includes(e) ? (p = "∣", y = "vert", w = 333) : F1.includes(e) ? (p = "∥", y = "doublevert", w = 556) : e === "[" || e === "\\lbrack" ? (h = "⎡", p = "⎢", g = "⎣", x = "Size4-Regular", y = "lbrack", w = 667) : e === "]" || e === "\\rbrack" ? (h = "⎤", p = "⎥", g = "⎦", x = "Size4-Regular", y = "rbrack", w = 667) : e === "\\lfloor" || e === "⌊" ? (p = h = "⎢", g = "⎣", x = "Size4-Regular", y = "lfloor", w = 667) : e === "\\lceil" || e === "⌈" ? (h = "⎡", p = g = "⎢", x = "Size4-Regular", y = "lceil", w = 667) : e === "\\rfloor" || e === "⌋" ? (p = h = "⎥", g = "⎦", x = "Size4-Regular", y = "rfloor", w = 667) : e === "\\rceil" || e === "⌉" ? (h = "⎤", p = g = "⎥", x = "Size4-Regular", y = "rceil", w = 667) : e === "(" || e === "\\lparen" ? (h = "⎛", p = "⎜", g = "⎝", x = "Size4-Regular", y = "lparen", w = 875) : e === ")" || e === "\\rparen" ? (h = "⎞", p = "⎟", g = "⎠", x = "Size4-Regular", y = "rparen", w = 875) : e === "\\{" || e === "\\lbrace" ? (h = "⎧", c = "⎨", g = "⎩", p = "⎪", x = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (h = "⎫", c = "⎬", g = "⎭", p = "⎪", x = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (h = "⎧", g = "⎩", p = "⎪", x = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (h = "⎫", g = "⎭", p = "⎪", x = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (h = "⎧", g = "⎭", p = "⎪", x = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (h = "⎫", g = "⎩", p = "⎪", x = "Size4-Regular");
6160
+ var z = ie(h, x, s), T = z.height + z.depth, C = ie(p, x, s), N = C.height + C.depth, I = ie(g, x, s), F = I.height + I.depth, V = 0, H = 1;
6165
6161
  if (c !== null) {
6166
6162
  var U = ie(c, x, s);
6167
- V = U.height + U.depth, L = 2;
6163
+ V = U.height + U.depth, H = 2;
6168
6164
  }
6169
- var G = T + O + V, j = Math.max(0, Math.ceil((t - G) / (L * N))), Y = G + j * L * N, z0 = n.fontMetrics().axisHeight;
6165
+ var P = T + F + V, j = Math.max(0, Math.ceil((t - P) / (H * N))), Y = P + j * H * N, z0 = n.fontMetrics().axisHeight;
6170
6166
  a && (z0 *= n.sizeMultiplier);
6171
6167
  var r0 = Y / 2 - z0, e0 = [];
6172
6168
  if (y.length > 0) {
6173
- var Y0 = Y - T - O, s0 = Math.round(Y * 1e3), g0 = Ga(y, Math.round(Y0 * 1e3)), R0 = new G0(y, g0), j0 = (w / 1e3).toFixed(3) + "em", Z0 = (s0 / 1e3).toFixed(3) + "em", Le = new C0([R0], {
6169
+ var Y0 = Y - T - F, s0 = Math.round(Y * 1e3), g0 = Pa(y, Math.round(Y0 * 1e3)), R0 = new G0(y, g0), j0 = (w / 1e3).toFixed(3) + "em", Z0 = (s0 / 1e3).toFixed(3) + "em", Le = new C0([R0], {
6174
6170
  width: j0,
6175
6171
  height: Z0,
6176
6172
  viewBox: "0 0 " + w + " " + s0
@@ -6181,22 +6177,22 @@ var ie = function(e, t, a) {
6181
6177
  });
6182
6178
  } else {
6183
6179
  if (e0.push(Ze(g, x, s)), e0.push(Se), c === null) {
6184
- var F0 = Y - T - O + 2 * mt;
6180
+ var F0 = Y - T - F + 2 * mt;
6185
6181
  e0.push(Ke(p, F0, n));
6186
6182
  } else {
6187
- var d0 = (Y - T - O - V) / 2 + 2 * mt;
6183
+ var d0 = (Y - T - F - V) / 2 + 2 * mt;
6188
6184
  e0.push(Ke(p, d0, n)), e0.push(Se), e0.push(Ze(c, x, s)), e0.push(Se), e0.push(Ke(p, d0, n));
6189
6185
  }
6190
6186
  e0.push(Se), e0.push(Ze(h, x, s));
6191
6187
  }
6192
- var ne = n.havingBaseStyle(R.TEXT), Pe = b.makeVList({
6188
+ var ne = n.havingBaseStyle(E.TEXT), Pe = b.makeVList({
6193
6189
  positionType: "bottom",
6194
6190
  positionData: r0,
6195
6191
  children: e0
6196
6192
  }, ne);
6197
- return kt(b.makeSpan(["delimsizing", "mult"], [Pe], ne), R.TEXT, n, o);
6193
+ return kt(b.makeSpan(["delimsizing", "mult"], [Pe], ne), E.TEXT, n, u);
6198
6194
  }, Je = 80, Qe = 0.08, _e = function(e, t, a, n, s) {
6199
- var o = La(e, n, a), h = new G0(e, o), c = new C0([h], {
6195
+ var u = Ha(e, n, a), h = new G0(e, u), c = new C0([h], {
6200
6196
  // Note: 1000:1 ratio of viewBox to document em width.
6201
6197
  width: "400em",
6202
6198
  height: A(t),
@@ -6204,32 +6200,32 @@ var ie = function(e, t, a) {
6204
6200
  preserveAspectRatio: "xMinYMin slice"
6205
6201
  });
6206
6202
  return b.makeSvgSpan(["hide-tail"], [c], s);
6207
- }, H1 = function(e, t) {
6208
- var a = t.havingBaseSizing(), n = Xr("\\surd", e * a.sizeMultiplier, Yr, a), s = a.sizeMultiplier, o = Math.max(0, t.minRuleThickness - t.fontMetrics().sqrtRuleThickness), h, c = 0, p = 0, g = 0, y;
6209
- return n.type === "small" ? (g = 1e3 + 1e3 * o + Je, e < 1 ? s = 1 : e < 1.4 && (s = 0.7), c = (1 + o + Qe) / s, p = (1 + o) / s, h = _e("sqrtMain", c, g, o, t), h.style.minWidth = "0.853em", y = 0.833 / s) : n.type === "large" ? (g = (1e3 + Je) * se[n.size], p = (se[n.size] + o) / s, c = (se[n.size] + o + Qe) / s, h = _e("sqrtSize" + n.size, c, g, o, t), h.style.minWidth = "1.02em", y = 1 / s) : (c = e + o + Qe, p = e + o, g = Math.floor(1e3 * e + o) + Je, h = _e("sqrtTall", c, g, o, t), h.style.minWidth = "0.742em", y = 1.056), h.height = p, h.style.height = A(c), {
6203
+ }, O1 = function(e, t) {
6204
+ var a = t.havingBaseSizing(), n = Xr("\\surd", e * a.sizeMultiplier, Yr, a), s = a.sizeMultiplier, u = Math.max(0, t.minRuleThickness - t.fontMetrics().sqrtRuleThickness), h, c = 0, p = 0, g = 0, y;
6205
+ return n.type === "small" ? (g = 1e3 + 1e3 * u + Je, e < 1 ? s = 1 : e < 1.4 && (s = 0.7), c = (1 + u + Qe) / s, p = (1 + u) / s, h = _e("sqrtMain", c, g, u, t), h.style.minWidth = "0.853em", y = 0.833 / s) : n.type === "large" ? (g = (1e3 + Je) * se[n.size], p = (se[n.size] + u) / s, c = (se[n.size] + u + Qe) / s, h = _e("sqrtSize" + n.size, c, g, u, t), h.style.minWidth = "1.02em", y = 1 / s) : (c = e + u + Qe, p = e + u, g = Math.floor(1e3 * e + u) + Je, h = _e("sqrtTall", c, g, u, t), h.style.minWidth = "0.742em", y = 1.056), h.height = p, h.style.height = A(c), {
6210
6206
  span: h,
6211
6207
  advanceWidth: y,
6212
6208
  // Calculate the actual line width.
6213
6209
  // This actually should depend on the chosen font -- e.g. \boldmath
6214
6210
  // should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and
6215
6211
  // have thicker rules.
6216
- ruleWidth: (t.fontMetrics().sqrtRuleThickness + o) * s
6212
+ ruleWidth: (t.fontMetrics().sqrtRuleThickness + u) * s
6217
6213
  };
6218
- }, Vr = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "\\surd"], L1 = ["\\uparrow", "\\downarrow", "\\updownarrow", "\\Uparrow", "\\Downarrow", "\\Updownarrow", "|", "\\|", "\\vert", "\\Vert", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱"], Ur = ["<", ">", "\\langle", "\\rangle", "/", "\\backslash", "\\lt", "\\gt"], se = [0, 1.2, 1.8, 2.4, 3], P1 = function(e, t, a, n, s) {
6219
- if (e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle"), q.contains(Vr, e) || q.contains(Ur, e))
6214
+ }, Vr = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "\\surd"], H1 = ["\\uparrow", "\\downarrow", "\\updownarrow", "\\Uparrow", "\\Downarrow", "\\Updownarrow", "|", "\\|", "\\vert", "\\Vert", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱"], Ur = ["<", ">", "\\langle", "\\rangle", "/", "\\backslash", "\\lt", "\\gt"], se = [0, 1.2, 1.8, 2.4, 3], L1 = function(e, t, a, n, s) {
6215
+ if (e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle"), Vr.includes(e) || Ur.includes(e))
6220
6216
  return Pr(e, t, !1, a, n, s);
6221
- if (q.contains(L1, e))
6217
+ if (H1.includes(e))
6222
6218
  return Gr(e, se[t], !1, a, n, s);
6223
6219
  throw new M("Illegal delimiter: '" + e + "'");
6224
- }, G1 = [{
6220
+ }, P1 = [{
6225
6221
  type: "small",
6226
- style: R.SCRIPTSCRIPT
6222
+ style: E.SCRIPTSCRIPT
6227
6223
  }, {
6228
6224
  type: "small",
6229
- style: R.SCRIPT
6225
+ style: E.SCRIPT
6230
6226
  }, {
6231
6227
  type: "small",
6232
- style: R.TEXT
6228
+ style: E.TEXT
6233
6229
  }, {
6234
6230
  type: "large",
6235
6231
  size: 1
@@ -6242,26 +6238,26 @@ var ie = function(e, t, a) {
6242
6238
  }, {
6243
6239
  type: "large",
6244
6240
  size: 4
6245
- }], V1 = [{
6241
+ }], G1 = [{
6246
6242
  type: "small",
6247
- style: R.SCRIPTSCRIPT
6243
+ style: E.SCRIPTSCRIPT
6248
6244
  }, {
6249
6245
  type: "small",
6250
- style: R.SCRIPT
6246
+ style: E.SCRIPT
6251
6247
  }, {
6252
6248
  type: "small",
6253
- style: R.TEXT
6249
+ style: E.TEXT
6254
6250
  }, {
6255
6251
  type: "stack"
6256
6252
  }], Yr = [{
6257
6253
  type: "small",
6258
- style: R.SCRIPTSCRIPT
6254
+ style: E.SCRIPTSCRIPT
6259
6255
  }, {
6260
6256
  type: "small",
6261
- style: R.SCRIPT
6257
+ style: E.SCRIPT
6262
6258
  }, {
6263
6259
  type: "small",
6264
- style: R.TEXT
6260
+ style: E.TEXT
6265
6261
  }, {
6266
6262
  type: "large",
6267
6263
  size: 1
@@ -6276,7 +6272,7 @@ var ie = function(e, t, a) {
6276
6272
  size: 4
6277
6273
  }, {
6278
6274
  type: "stack"
6279
- }], U1 = function(e) {
6275
+ }], V1 = function(e) {
6280
6276
  if (e.type === "small")
6281
6277
  return "Main-Regular";
6282
6278
  if (e.type === "large")
@@ -6285,23 +6281,23 @@ var ie = function(e, t, a) {
6285
6281
  return "Size4-Regular";
6286
6282
  throw new Error("Add support for delim type '" + e.type + "' here.");
6287
6283
  }, Xr = function(e, t, a, n) {
6288
- for (var s = Math.min(2, 3 - n.style.size), o = s; o < a.length && a[o].type !== "stack"; o++) {
6289
- var h = ie(e, U1(a[o]), "math"), c = h.height + h.depth;
6290
- if (a[o].type === "small") {
6291
- var p = n.havingBaseStyle(a[o].style);
6284
+ for (var s = Math.min(2, 3 - n.style.size), u = s; u < a.length && a[u].type !== "stack"; u++) {
6285
+ var h = ie(e, V1(a[u]), "math"), c = h.height + h.depth;
6286
+ if (a[u].type === "small") {
6287
+ var p = n.havingBaseStyle(a[u].style);
6292
6288
  c *= p.sizeMultiplier;
6293
6289
  }
6294
6290
  if (c > t)
6295
- return a[o];
6291
+ return a[u];
6296
6292
  }
6297
6293
  return a[a.length - 1];
6298
- }, $r = function(e, t, a, n, s, o) {
6294
+ }, $r = function(e, t, a, n, s, u) {
6299
6295
  e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle");
6300
6296
  var h;
6301
- q.contains(Ur, e) ? h = G1 : q.contains(Vr, e) ? h = Yr : h = V1;
6297
+ Ur.includes(e) ? h = P1 : Vr.includes(e) ? h = Yr : h = G1;
6302
6298
  var c = Xr(e, t, h, n);
6303
- return c.type === "small" ? R1(e, c.style, a, n, s, o) : c.type === "large" ? Pr(e, c.size, a, n, s, o) : Gr(e, t, a, n, s, o);
6304
- }, Y1 = function(e, t, a, n, s, o) {
6299
+ return c.type === "small" ? E1(e, c.style, a, n, s, u) : c.type === "large" ? Pr(e, c.size, a, n, s, u) : Gr(e, t, a, n, s, u);
6300
+ }, U1 = function(e, t, a, n, s, u) {
6305
6301
  var h = n.fontMetrics().axisHeight * n.sizeMultiplier, c = 901, p = 5 / n.fontMetrics().ptPerEm, g = Math.max(t - h, a + h), y = Math.max(
6306
6302
  // In real TeX, calculations are done using integral values which are
6307
6303
  // 65536 per pt, or 655360 per em. So, the division here truncates in
@@ -6315,13 +6311,13 @@ var ie = function(e, t, a) {
6315
6311
  g / 500 * c,
6316
6312
  2 * g - p
6317
6313
  );
6318
- return $r(e, y, !0, n, s, o);
6314
+ return $r(e, y, !0, n, s, u);
6319
6315
  }, D0 = {
6320
- sqrtImage: H1,
6321
- sizedDelim: P1,
6316
+ sqrtImage: O1,
6317
+ sizedDelim: L1,
6322
6318
  sizeToMaxHeight: se,
6323
6319
  customSizedDelim: $r,
6324
- leftRightDelim: Y1
6320
+ leftRightDelim: U1
6325
6321
  }, Kt = {
6326
6322
  "\\bigl": {
6327
6323
  mclass: "mopen",
@@ -6387,10 +6383,10 @@ var ie = function(e, t, a) {
6387
6383
  mclass: "mord",
6388
6384
  size: 4
6389
6385
  }
6390
- }, X1 = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "<", ">", "\\langle", "⟨", "\\rangle", "⟩", "\\lt", "\\gt", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱", "/", "\\backslash", "|", "\\vert", "\\|", "\\Vert", "\\uparrow", "\\Uparrow", "\\downarrow", "\\Downarrow", "\\updownarrow", "\\Updownarrow", "."];
6386
+ }, Y1 = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "<", ">", "\\langle", "⟨", "\\rangle", "⟩", "\\lt", "\\gt", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱", "/", "\\backslash", "|", "\\vert", "\\|", "\\Vert", "\\uparrow", "\\Uparrow", "\\downarrow", "\\Downarrow", "\\updownarrow", "\\Updownarrow", "."];
6391
6387
  function Fe(r, e) {
6392
6388
  var t = Re(r);
6393
- if (t && q.contains(X1, t.text))
6389
+ if (t && Y1.includes(t.text))
6394
6390
  return t;
6395
6391
  throw t ? new M("Invalid delimiter '" + t.text + "' after '" + e.funcName + "'", r) : new M("Invalid delimiter type '" + r.type + "'", r);
6396
6392
  }
@@ -6457,7 +6453,7 @@ B({
6457
6453
  ++a.leftrightDepth;
6458
6454
  var n = a.parseExpression(!1);
6459
6455
  --a.leftrightDepth, a.expect("\\right", !1);
6460
- var s = H(a.parseFunction(), "leftright-right");
6456
+ var s = O(a.parseFunction(), "leftright-right");
6461
6457
  return {
6462
6458
  type: "leftright",
6463
6459
  mode: a.mode,
@@ -6469,18 +6465,18 @@ B({
6469
6465
  },
6470
6466
  htmlBuilder: (r, e) => {
6471
6467
  Jt(r);
6472
- for (var t = t0(r.body, e, !0, ["mopen", "mclose"]), a = 0, n = 0, s = !1, o = 0; o < t.length; o++)
6473
- t[o].isMiddle ? s = !0 : (a = Math.max(t[o].height, a), n = Math.max(t[o].depth, n));
6468
+ for (var t = t0(r.body, e, !0, ["mopen", "mclose"]), a = 0, n = 0, s = !1, u = 0; u < t.length; u++)
6469
+ t[u].isMiddle ? s = !0 : (a = Math.max(t[u].height, a), n = Math.max(t[u].depth, n));
6474
6470
  a *= e.sizeMultiplier, n *= e.sizeMultiplier;
6475
6471
  var h;
6476
- if (r.left === "." ? h = oe(e, ["mopen"]) : h = D0.leftRightDelim(r.left, a, n, e, r.mode, ["mopen"]), t.unshift(h), s)
6472
+ if (r.left === "." ? h = ue(e, ["mopen"]) : h = D0.leftRightDelim(r.left, a, n, e, r.mode, ["mopen"]), t.unshift(h), s)
6477
6473
  for (var c = 1; c < t.length; c++) {
6478
6474
  var p = t[c], g = p.isMiddle;
6479
6475
  g && (t[c] = D0.leftRightDelim(g.delim, a, n, g.options, r.mode, []));
6480
6476
  }
6481
6477
  var y;
6482
6478
  if (r.right === ".")
6483
- y = oe(e, ["mclose"]);
6479
+ y = ue(e, ["mclose"]);
6484
6480
  else {
6485
6481
  var w = r.rightColor ? e.withColor(r.rightColor) : e;
6486
6482
  y = D0.leftRightDelim(r.right, a, n, w, r.mode, ["mclose"]);
@@ -6489,7 +6485,7 @@ B({
6489
6485
  },
6490
6486
  mathmlBuilder: (r, e) => {
6491
6487
  Jt(r);
6492
- var t = u0(r.body, e);
6488
+ var t = o0(r.body, e);
6493
6489
  if (r.left !== ".") {
6494
6490
  var a = new S.MathNode("mo", [v0(r.left, r.mode)]);
6495
6491
  a.setAttribute("fence", "true"), t.unshift(a);
@@ -6521,7 +6517,7 @@ B({
6521
6517
  htmlBuilder: (r, e) => {
6522
6518
  var t;
6523
6519
  if (r.delim === ".")
6524
- t = oe(e, []);
6520
+ t = ue(e, []);
6525
6521
  else {
6526
6522
  t = D0.sizedDelim(r.delim, 1, e, r.mode, []);
6527
6523
  var a = {
@@ -6538,9 +6534,9 @@ B({
6538
6534
  }
6539
6535
  });
6540
6536
  var St = (r, e) => {
6541
- var t = b.wrapFragment(P(r.body, e), e), a = r.label.slice(1), n = e.sizeMultiplier, s, o = 0, h = q.isCharacterBox(r.body);
6537
+ var t = b.wrapFragment(L(r.body, e), e), a = r.label.slice(1), n = e.sizeMultiplier, s, u = 0, h = G.isCharacterBox(r.body);
6542
6538
  if (a === "sout")
6543
- s = b.makeSpan(["stretchy", "sout"]), s.height = e.fontMetrics().defaultRuleThickness / n, o = -0.5 * e.fontMetrics().xHeight;
6539
+ s = b.makeSpan(["stretchy", "sout"]), s.height = e.fontMetrics().defaultRuleThickness / n, u = -0.5 * e.fontMetrics().xHeight;
6544
6540
  else if (a === "phase") {
6545
6541
  var c = K({
6546
6542
  number: 0.6,
@@ -6552,13 +6548,13 @@ var St = (r, e) => {
6552
6548
  n = n / g.sizeMultiplier;
6553
6549
  var y = t.height + t.depth + c + p;
6554
6550
  t.style.paddingLeft = A(y / 2 + c);
6555
- var w = Math.floor(1e3 * y * n), x = Oa(w), z = new C0([new G0("phase", x)], {
6551
+ var w = Math.floor(1e3 * y * n), x = Fa(w), z = new C0([new G0("phase", x)], {
6556
6552
  width: "400em",
6557
6553
  height: A(w / 1e3),
6558
6554
  viewBox: "0 0 400000 " + w,
6559
6555
  preserveAspectRatio: "xMinYMin slice"
6560
6556
  });
6561
- s = b.makeSvgSpan(["hide-tail"], [z], e), s.style.height = A(y), o = t.depth + c + p;
6557
+ s = b.makeSvgSpan(["hide-tail"], [z], e), s.style.height = A(y), u = t.depth + c + p;
6562
6558
  } else {
6563
6559
  /cancel/.test(a) ? h || t.classes.push("cancel-pad") : a === "angl" ? t.classes.push("anglpad") : t.classes.push("boxpad");
6564
6560
  var T = 0, C = 0, N = 0;
@@ -6567,18 +6563,18 @@ var St = (r, e) => {
6567
6563
  // default
6568
6564
  e.minRuleThickness
6569
6565
  // User override.
6570
- ), T = e.fontMetrics().fboxsep + (a === "colorbox" ? 0 : N), C = T) : a === "angl" ? (N = Math.max(e.fontMetrics().defaultRuleThickness, e.minRuleThickness), T = 4 * N, C = Math.max(0, 0.25 - t.depth)) : (T = h ? 0.2 : 0, C = T), s = q0.encloseSpan(t, a, T, C, e), /fbox|boxed|fcolorbox/.test(a) ? (s.style.borderStyle = "solid", s.style.borderWidth = A(N)) : a === "angl" && N !== 0.049 && (s.style.borderTopWidth = A(N), s.style.borderRightWidth = A(N)), o = t.depth + C, r.backgroundColor && (s.style.backgroundColor = r.backgroundColor, r.borderColor && (s.style.borderColor = r.borderColor));
6566
+ ), T = e.fontMetrics().fboxsep + (a === "colorbox" ? 0 : N), C = T) : a === "angl" ? (N = Math.max(e.fontMetrics().defaultRuleThickness, e.minRuleThickness), T = 4 * N, C = Math.max(0, 0.25 - t.depth)) : (T = h ? 0.2 : 0, C = T), s = q0.encloseSpan(t, a, T, C, e), /fbox|boxed|fcolorbox/.test(a) ? (s.style.borderStyle = "solid", s.style.borderWidth = A(N)) : a === "angl" && N !== 0.049 && (s.style.borderTopWidth = A(N), s.style.borderRightWidth = A(N)), u = t.depth + C, r.backgroundColor && (s.style.backgroundColor = r.backgroundColor, r.borderColor && (s.style.borderColor = r.borderColor));
6571
6567
  }
6572
- var F;
6568
+ var I;
6573
6569
  if (r.backgroundColor)
6574
- F = b.makeVList({
6570
+ I = b.makeVList({
6575
6571
  positionType: "individualShift",
6576
6572
  children: [
6577
6573
  // Put the color background behind inner;
6578
6574
  {
6579
6575
  type: "elem",
6580
6576
  elem: s,
6581
- shift: o
6577
+ shift: u
6582
6578
  },
6583
6579
  {
6584
6580
  type: "elem",
@@ -6588,8 +6584,8 @@ var St = (r, e) => {
6588
6584
  ]
6589
6585
  }, e);
6590
6586
  else {
6591
- var O = /cancel|phase/.test(a) ? ["svg-align"] : [];
6592
- F = b.makeVList({
6587
+ var F = /cancel|phase/.test(a) ? ["svg-align"] : [];
6588
+ I = b.makeVList({
6593
6589
  positionType: "individualShift",
6594
6590
  children: [
6595
6591
  // Write the \cancel stroke on top of inner.
@@ -6601,13 +6597,13 @@ var St = (r, e) => {
6601
6597
  {
6602
6598
  type: "elem",
6603
6599
  elem: s,
6604
- shift: o,
6605
- wrapperClasses: O
6600
+ shift: u,
6601
+ wrapperClasses: F
6606
6602
  }
6607
6603
  ]
6608
6604
  }, e);
6609
6605
  }
6610
- return /cancel/.test(a) && (F.height = t.height, F.depth = t.depth), /cancel/.test(a) && !h ? b.makeSpan(["mord", "cancel-lap"], [F], e) : b.makeSpan(["mord"], [F], e);
6606
+ return /cancel/.test(a) && (I.height = t.height, I.depth = t.depth), /cancel/.test(a) && !h ? b.makeSpan(["mord", "cancel-lap"], [I], e) : b.makeSpan(["mord"], [I], e);
6611
6607
  }, Mt = (r, e) => {
6612
6608
  var t = 0, a = new S.MathNode(r.label.indexOf("colorbox") > -1 ? "mpadded" : "menclose", [X(r.body, e)]);
6613
6609
  switch (r.label) {
@@ -6659,13 +6655,13 @@ B({
6659
6655
  var {
6660
6656
  parser: a,
6661
6657
  funcName: n
6662
- } = r, s = H(e[0], "color-token").color, o = e[1];
6658
+ } = r, s = O(e[0], "color-token").color, u = e[1];
6663
6659
  return {
6664
6660
  type: "enclose",
6665
6661
  mode: a.mode,
6666
6662
  label: n,
6667
6663
  backgroundColor: s,
6668
- body: o
6664
+ body: u
6669
6665
  };
6670
6666
  },
6671
6667
  htmlBuilder: St,
@@ -6683,12 +6679,12 @@ B({
6683
6679
  var {
6684
6680
  parser: a,
6685
6681
  funcName: n
6686
- } = r, s = H(e[0], "color-token").color, o = H(e[1], "color-token").color, h = e[2];
6682
+ } = r, s = O(e[0], "color-token").color, u = O(e[1], "color-token").color, h = e[2];
6687
6683
  return {
6688
6684
  type: "enclose",
6689
6685
  mode: a.mode,
6690
6686
  label: n,
6691
- backgroundColor: o,
6687
+ backgroundColor: u,
6692
6688
  borderColor: s,
6693
6689
  body: h
6694
6690
  };
@@ -6765,7 +6761,7 @@ function k0(r) {
6765
6761
  props: a,
6766
6762
  handler: n,
6767
6763
  htmlBuilder: s,
6768
- mathmlBuilder: o
6764
+ mathmlBuilder: u
6769
6765
  } = r, h = {
6770
6766
  type: e,
6771
6767
  numArgs: a.numArgs || 0,
@@ -6774,7 +6770,7 @@ function k0(r) {
6774
6770
  handler: n
6775
6771
  }, c = 0; c < t.length; ++c)
6776
6772
  Wr[t[c]] = h;
6777
- s && (De[e] = s), o && (Ce[e] = o);
6773
+ s && (De[e] = s), u && (Ce[e] = u);
6778
6774
  }
6779
6775
  var jr = {};
6780
6776
  function m(r, e) {
@@ -6802,7 +6798,7 @@ function U0(r, e, t) {
6802
6798
  hskipBeforeAndAfter: a,
6803
6799
  addJot: n,
6804
6800
  cols: s,
6805
- arraystretch: o,
6801
+ arraystretch: u,
6806
6802
  colSeparationType: h,
6807
6803
  autoTag: c,
6808
6804
  singleRow: p,
@@ -6810,33 +6806,33 @@ function U0(r, e, t) {
6810
6806
  maxNumCols: y,
6811
6807
  leqno: w
6812
6808
  } = e;
6813
- if (r.gullet.beginGroup(), p || r.gullet.macros.set("\\cr", "\\\\\\relax"), !o) {
6809
+ if (r.gullet.beginGroup(), p || r.gullet.macros.set("\\cr", "\\\\\\relax"), !u) {
6814
6810
  var x = r.gullet.expandMacroAsText("\\arraystretch");
6815
6811
  if (x == null)
6816
- o = 1;
6817
- else if (o = parseFloat(x), !o || o < 0)
6812
+ u = 1;
6813
+ else if (u = parseFloat(x), !u || u < 0)
6818
6814
  throw new M("Invalid \\arraystretch: " + x);
6819
6815
  }
6820
6816
  r.gullet.beginGroup();
6821
- var z = [], T = [z], C = [], N = [], F = c != null ? [] : void 0;
6822
- function O() {
6817
+ var z = [], T = [z], C = [], N = [], I = c != null ? [] : void 0;
6818
+ function F() {
6823
6819
  c && r.gullet.macros.set("\\@eqnsw", "1", !0);
6824
6820
  }
6825
6821
  function V() {
6826
- F && (r.gullet.macros.get("\\df@tag") ? (F.push(r.subparse([new m0("\\df@tag")])), r.gullet.macros.set("\\df@tag", void 0, !0)) : F.push(!!c && r.gullet.macros.get("\\@eqnsw") === "1"));
6822
+ I && (r.gullet.macros.get("\\df@tag") ? (I.push(r.subparse([new m0("\\df@tag")])), r.gullet.macros.set("\\df@tag", void 0, !0)) : I.push(!!c && r.gullet.macros.get("\\@eqnsw") === "1"));
6827
6823
  }
6828
- for (O(), N.push(Qt(r)); ; ) {
6829
- var L = r.parseExpression(!1, p ? "\\end" : "\\\\");
6830
- r.gullet.endGroup(), r.gullet.beginGroup(), L = {
6824
+ for (F(), N.push(Qt(r)); ; ) {
6825
+ var H = r.parseExpression(!1, p ? "\\end" : "\\\\");
6826
+ r.gullet.endGroup(), r.gullet.beginGroup(), H = {
6831
6827
  type: "ordgroup",
6832
6828
  mode: r.mode,
6833
- body: L
6834
- }, t && (L = {
6829
+ body: H
6830
+ }, t && (H = {
6835
6831
  type: "styling",
6836
6832
  mode: r.mode,
6837
6833
  style: t,
6838
- body: [L]
6839
- }), z.push(L);
6834
+ body: [H]
6835
+ }), z.push(H);
6840
6836
  var U = r.fetch().text;
6841
6837
  if (U === "&") {
6842
6838
  if (y && z.length === y) {
@@ -6846,12 +6842,12 @@ function U0(r, e, t) {
6846
6842
  }
6847
6843
  r.consume();
6848
6844
  } else if (U === "\\end") {
6849
- V(), z.length === 1 && L.type === "styling" && L.body[0].body.length === 0 && (T.length > 1 || !g) && T.pop(), N.length < T.length + 1 && N.push([]);
6845
+ V(), z.length === 1 && H.type === "styling" && H.body[0].body.length === 0 && (T.length > 1 || !g) && T.pop(), N.length < T.length + 1 && N.push([]);
6850
6846
  break;
6851
6847
  } else if (U === "\\\\") {
6852
6848
  r.consume();
6853
- var G = void 0;
6854
- r.gullet.future().text !== " " && (G = r.parseSizeGroup(!0)), C.push(G ? G.value : null), V(), N.push(Qt(r)), z = [], T.push(z), O();
6849
+ var P = void 0;
6850
+ r.gullet.future().text !== " " && (P = r.parseSizeGroup(!0)), C.push(P ? P.value : null), V(), N.push(Qt(r)), z = [], T.push(z), F();
6855
6851
  } else
6856
6852
  throw new M("Expected & or \\\\ or \\cr or \\end", r.nextToken);
6857
6853
  }
@@ -6859,14 +6855,14 @@ function U0(r, e, t) {
6859
6855
  type: "array",
6860
6856
  mode: r.mode,
6861
6857
  addJot: n,
6862
- arraystretch: o,
6858
+ arraystretch: u,
6863
6859
  body: T,
6864
6860
  cols: s,
6865
6861
  rowGaps: C,
6866
6862
  hskipBeforeAndAfter: a,
6867
6863
  hLinesBeforeRow: N,
6868
6864
  colSeparationType: h,
6869
- tags: F,
6865
+ tags: I,
6870
6866
  leqno: w
6871
6867
  };
6872
6868
  }
@@ -6874,39 +6870,39 @@ function At(r) {
6874
6870
  return r.slice(0, 1) === "d" ? "display" : "text";
6875
6871
  }
6876
6872
  var S0 = function(e, t) {
6877
- var a, n, s = e.body.length, o = e.hLinesBeforeRow, h = 0, c = new Array(s), p = [], g = Math.max(
6873
+ var a, n, s = e.body.length, u = e.hLinesBeforeRow, h = 0, c = new Array(s), p = [], g = Math.max(
6878
6874
  // From LaTeX \showthe\arrayrulewidth. Equals 0.04 em.
6879
6875
  t.fontMetrics().arrayRuleWidth,
6880
6876
  t.minRuleThickness
6881
6877
  // User override.
6882
6878
  ), y = 1 / t.fontMetrics().ptPerEm, w = 5 * y;
6883
6879
  if (e.colSeparationType && e.colSeparationType === "small") {
6884
- var x = t.havingStyle(R.SCRIPT).sizeMultiplier;
6880
+ var x = t.havingStyle(E.SCRIPT).sizeMultiplier;
6885
6881
  w = 0.2778 * (x / t.sizeMultiplier);
6886
6882
  }
6887
6883
  var z = e.colSeparationType === "CD" ? K({
6888
6884
  number: 3,
6889
6885
  unit: "ex"
6890
- }, t) : 12 * y, T = 3 * y, C = e.arraystretch * z, N = 0.7 * C, F = 0.3 * C, O = 0;
6886
+ }, t) : 12 * y, T = 3 * y, C = e.arraystretch * z, N = 0.7 * C, I = 0.3 * C, F = 0;
6891
6887
  function V(fe) {
6892
6888
  for (var pe = 0; pe < fe.length; ++pe)
6893
- pe > 0 && (O += 0.25), p.push({
6894
- pos: O,
6889
+ pe > 0 && (F += 0.25), p.push({
6890
+ pos: F,
6895
6891
  isDashed: fe[pe]
6896
6892
  });
6897
6893
  }
6898
- for (V(o[0]), a = 0; a < e.body.length; ++a) {
6899
- var L = e.body[a], U = N, G = F;
6900
- h < L.length && (h = L.length);
6901
- var j = new Array(L.length);
6902
- for (n = 0; n < L.length; ++n) {
6903
- var Y = P(L[n], t);
6904
- G < Y.depth && (G = Y.depth), U < Y.height && (U = Y.height), j[n] = Y;
6894
+ for (V(u[0]), a = 0; a < e.body.length; ++a) {
6895
+ var H = e.body[a], U = N, P = I;
6896
+ h < H.length && (h = H.length);
6897
+ var j = new Array(H.length);
6898
+ for (n = 0; n < H.length; ++n) {
6899
+ var Y = L(H[n], t);
6900
+ P < Y.depth && (P = Y.depth), U < Y.height && (U = Y.height), j[n] = Y;
6905
6901
  }
6906
6902
  var z0 = e.rowGaps[a], r0 = 0;
6907
- z0 && (r0 = K(z0, t), r0 > 0 && (r0 += F, G < r0 && (G = r0), r0 = 0)), e.addJot && (G += T), j.height = U, j.depth = G, O += U, j.pos = O, O += G + r0, c[a] = j, V(o[a + 1]);
6903
+ z0 && (r0 = K(z0, t), r0 > 0 && (r0 += I, P < r0 && (P = r0), r0 = 0)), e.addJot && (P += T), j.height = U, j.depth = P, F += U, j.pos = F, F += P + r0, c[a] = j, V(u[a + 1]);
6908
6904
  }
6909
- var e0 = O / 2 + t.fontMetrics().axisHeight, Y0 = e.cols || [], s0 = [], g0, R0, j0 = [];
6905
+ var e0 = F / 2 + t.fontMetrics().axisHeight, Y0 = e.cols || [], s0 = [], g0, R0, j0 = [];
6910
6906
  if (e.tags && e.tags.some((fe) => fe))
6911
6907
  for (a = 0; a < s; ++a) {
6912
6908
  var Z0 = c[a], Le = Z0.pos - e0, I0 = e.tags[a], F0 = void 0;
@@ -6926,8 +6922,8 @@ var S0 = function(e, t) {
6926
6922
  for (var d0 = Y0[R0] || {}, ne = !0; d0.type === "separator"; ) {
6927
6923
  if (ne || (g0 = b.makeSpan(["arraycolsep"], []), g0.style.width = A(t.fontMetrics().doubleRuleSep), s0.push(g0)), d0.separator === "|" || d0.separator === ":") {
6928
6924
  var Pe = d0.separator === "|" ? "solid" : "dashed", K0 = b.makeSpan(["vertical-separator"], [], t);
6929
- K0.style.height = A(O), K0.style.borderRightWidth = A(g), K0.style.borderRightStyle = Pe, K0.style.margin = "0 " + A(-g / 2);
6930
- var Et = O - e0;
6925
+ K0.style.height = A(F), K0.style.borderRightWidth = A(g), K0.style.borderRightStyle = Pe, K0.style.margin = "0 " + A(-g / 2);
6926
+ var Et = F - e0;
6931
6927
  Et && (K0.style.verticalAlign = A(-Et)), s0.push(K0);
6932
6928
  } else
6933
6929
  throw new M("Invalid separator type: " + d0.separator);
@@ -6935,7 +6931,7 @@ var S0 = function(e, t) {
6935
6931
  }
6936
6932
  if (!(n >= h)) {
6937
6933
  var J0 = void 0;
6938
- (n > 0 || e.hskipBeforeAndAfter) && (J0 = q.deflt(d0.pregap, w), J0 !== 0 && (g0 = b.makeSpan(["arraycolsep"], []), g0.style.width = A(J0), s0.push(g0)));
6934
+ (n > 0 || e.hskipBeforeAndAfter) && (J0 = G.deflt(d0.pregap, w), J0 !== 0 && (g0 = b.makeSpan(["arraycolsep"], []), g0.style.width = A(J0), s0.push(g0)));
6939
6935
  var Q0 = [];
6940
6936
  for (a = 0; a < s; ++a) {
6941
6937
  var ce = c[a], de = ce[n];
@@ -6951,7 +6947,7 @@ var S0 = function(e, t) {
6951
6947
  Q0 = b.makeVList({
6952
6948
  positionType: "individualShift",
6953
6949
  children: Q0
6954
- }, t), Q0 = b.makeSpan(["col-align-" + (d0.align || "c")], [Q0]), s0.push(Q0), (n < h - 1 || e.hskipBeforeAndAfter) && (J0 = q.deflt(d0.postgap, w), J0 !== 0 && (g0 = b.makeSpan(["arraycolsep"], []), g0.style.width = A(J0), s0.push(g0)));
6950
+ }, t), Q0 = b.makeSpan(["col-align-" + (d0.align || "c")], [Q0]), s0.push(Q0), (n < h - 1 || e.hskipBeforeAndAfter) && (J0 = G.deflt(d0.postgap, w), J0 !== 0 && (g0 = b.makeSpan(["arraycolsep"], []), g0.style.width = A(J0), s0.push(g0)));
6955
6951
  }
6956
6952
  }
6957
6953
  if (c = b.makeSpan(["mtable"], s0), p.length > 0) {
@@ -6983,39 +6979,39 @@ var S0 = function(e, t) {
6983
6979
  children: j0
6984
6980
  }, t);
6985
6981
  return Ve = b.makeSpan(["tag"], [Ve], t), b.makeFragment([c, Ve]);
6986
- }, $1 = {
6982
+ }, X1 = {
6987
6983
  c: "center ",
6988
6984
  l: "left ",
6989
6985
  r: "right "
6990
6986
  }, M0 = function(e, t) {
6991
- for (var a = [], n = new S.MathNode("mtd", [], ["mtr-glue"]), s = new S.MathNode("mtd", [], ["mml-eqn-num"]), o = 0; o < e.body.length; o++) {
6992
- for (var h = e.body[o], c = [], p = 0; p < h.length; p++)
6987
+ for (var a = [], n = new S.MathNode("mtd", [], ["mtr-glue"]), s = new S.MathNode("mtd", [], ["mml-eqn-num"]), u = 0; u < e.body.length; u++) {
6988
+ for (var h = e.body[u], c = [], p = 0; p < h.length; p++)
6993
6989
  c.push(new S.MathNode("mtd", [X(h[p], t)]));
6994
- e.tags && e.tags[o] && (c.unshift(n), c.push(n), e.leqno ? c.unshift(s) : c.push(s)), a.push(new S.MathNode("mtr", c));
6990
+ e.tags && e.tags[u] && (c.unshift(n), c.push(n), e.leqno ? c.unshift(s) : c.push(s)), a.push(new S.MathNode("mtr", c));
6995
6991
  }
6996
6992
  var g = new S.MathNode("mtable", a), y = e.arraystretch === 0.5 ? 0.1 : 0.16 + e.arraystretch - 1 + (e.addJot ? 0.09 : 0);
6997
6993
  g.setAttribute("rowspacing", A(y));
6998
6994
  var w = "", x = "";
6999
6995
  if (e.cols && e.cols.length > 0) {
7000
- var z = e.cols, T = "", C = !1, N = 0, F = z.length;
7001
- z[0].type === "separator" && (w += "top ", N = 1), z[z.length - 1].type === "separator" && (w += "bottom ", F -= 1);
7002
- for (var O = N; O < F; O++)
7003
- z[O].type === "align" ? (x += $1[z[O].align], C && (T += "none "), C = !0) : z[O].type === "separator" && C && (T += z[O].separator === "|" ? "solid " : "dashed ", C = !1);
6996
+ var z = e.cols, T = "", C = !1, N = 0, I = z.length;
6997
+ z[0].type === "separator" && (w += "top ", N = 1), z[z.length - 1].type === "separator" && (w += "bottom ", I -= 1);
6998
+ for (var F = N; F < I; F++)
6999
+ z[F].type === "align" ? (x += X1[z[F].align], C && (T += "none "), C = !0) : z[F].type === "separator" && C && (T += z[F].separator === "|" ? "solid " : "dashed ", C = !1);
7004
7000
  g.setAttribute("columnalign", x.trim()), /[sd]/.test(T) && g.setAttribute("columnlines", T.trim());
7005
7001
  }
7006
7002
  if (e.colSeparationType === "align") {
7007
- for (var V = e.cols || [], L = "", U = 1; U < V.length; U++)
7008
- L += U % 2 ? "0em " : "1em ";
7009
- g.setAttribute("columnspacing", L.trim());
7003
+ for (var V = e.cols || [], H = "", U = 1; U < V.length; U++)
7004
+ H += U % 2 ? "0em " : "1em ";
7005
+ g.setAttribute("columnspacing", H.trim());
7010
7006
  } else e.colSeparationType === "alignat" || e.colSeparationType === "gather" ? g.setAttribute("columnspacing", "0em") : e.colSeparationType === "small" ? g.setAttribute("columnspacing", "0.2778em") : e.colSeparationType === "CD" ? g.setAttribute("columnspacing", "0.5em") : g.setAttribute("columnspacing", "1em");
7011
- var G = "", j = e.hLinesBeforeRow;
7007
+ var P = "", j = e.hLinesBeforeRow;
7012
7008
  w += j[0].length > 0 ? "left " : "", w += j[j.length - 1].length > 0 ? "right " : "";
7013
7009
  for (var Y = 1; Y < j.length - 1; Y++)
7014
- G += j[Y].length === 0 ? "none " : j[Y][0] ? "dashed " : "solid ";
7015
- return /[sd]/.test(G) && g.setAttribute("rowlines", G.trim()), w !== "" && (g = new S.MathNode("menclose", [g]), g.setAttribute("notation", w.trim())), e.arraystretch && e.arraystretch < 1 && (g = new S.MathNode("mstyle", [g]), g.setAttribute("scriptlevel", "1")), g;
7010
+ P += j[Y].length === 0 ? "none " : j[Y][0] ? "dashed " : "solid ";
7011
+ return /[sd]/.test(P) && g.setAttribute("rowlines", P.trim()), w !== "" && (g = new S.MathNode("menclose", [g]), g.setAttribute("notation", w.trim())), e.arraystretch && e.arraystretch < 1 && (g = new S.MathNode("mstyle", [g]), g.setAttribute("scriptlevel", "1")), g;
7016
7012
  }, Zr = function(e, t) {
7017
7013
  e.envName.indexOf("ed") === -1 && Oe(e);
7018
- var a = [], n = e.envName.indexOf("at") > -1 ? "alignat" : "align", s = e.envName === "split", o = U0(e.parser, {
7014
+ var a = [], n = e.envName.indexOf("at") > -1 ? "alignat" : "align", s = e.envName === "split", u = U0(e.parser, {
7019
7015
  cols: a,
7020
7016
  addJot: !0,
7021
7017
  autoTag: s ? void 0 : zt(e.envName),
@@ -7030,23 +7026,23 @@ var S0 = function(e, t) {
7030
7026
  };
7031
7027
  if (t[0] && t[0].type === "ordgroup") {
7032
7028
  for (var g = "", y = 0; y < t[0].body.length; y++) {
7033
- var w = H(t[0].body[y], "textord");
7029
+ var w = O(t[0].body[y], "textord");
7034
7030
  g += w.text;
7035
7031
  }
7036
7032
  h = Number(g), c = h * 2;
7037
7033
  }
7038
7034
  var x = !c;
7039
- o.body.forEach(function(N) {
7040
- for (var F = 1; F < N.length; F += 2) {
7041
- var O = H(N[F], "styling"), V = H(O.body[0], "ordgroup");
7035
+ u.body.forEach(function(N) {
7036
+ for (var I = 1; I < N.length; I += 2) {
7037
+ var F = O(N[I], "styling"), V = O(F.body[0], "ordgroup");
7042
7038
  V.body.unshift(p);
7043
7039
  }
7044
7040
  if (x)
7045
7041
  c < N.length && (c = N.length);
7046
7042
  else {
7047
- var L = N.length / 2;
7048
- if (h < L)
7049
- throw new M("Too many math in a row: " + ("expected " + h + ", but got " + L), N[0]);
7043
+ var H = N.length / 2;
7044
+ if (h < H)
7045
+ throw new M("Too many math in a row: " + ("expected " + h + ", but got " + H), N[0]);
7050
7046
  }
7051
7047
  });
7052
7048
  for (var z = 0; z < c; ++z) {
@@ -7058,7 +7054,7 @@ var S0 = function(e, t) {
7058
7054
  postgap: 0
7059
7055
  };
7060
7056
  }
7061
- return o.colSeparationType = x ? "align" : "alignat", o;
7057
+ return u.colSeparationType = x ? "align" : "alignat", u;
7062
7058
  };
7063
7059
  k0({
7064
7060
  type: "array",
@@ -7067,8 +7063,8 @@ k0({
7067
7063
  numArgs: 1
7068
7064
  },
7069
7065
  handler(r, e) {
7070
- var t = Re(e[0]), a = t ? [e[0]] : H(e[0], "ordgroup").body, n = a.map(function(o) {
7071
- var h = xt(o), c = h.text;
7066
+ var t = Re(e[0]), a = t ? [e[0]] : O(e[0], "ordgroup").body, n = a.map(function(u) {
7067
+ var h = xt(u), c = h.text;
7072
7068
  if ("lcr".indexOf(c) !== -1)
7073
7069
  return {
7074
7070
  type: "align",
@@ -7084,7 +7080,7 @@ k0({
7084
7080
  type: "separator",
7085
7081
  separator: ":"
7086
7082
  };
7087
- throw new M("Unknown column alignment: " + c, o);
7083
+ throw new M("Unknown column alignment: " + c, u);
7088
7084
  }), s = {
7089
7085
  cols: n,
7090
7086
  hskipBeforeAndAfter: !0,
@@ -7128,8 +7124,8 @@ k0({
7128
7124
  }];
7129
7125
  }
7130
7126
  }
7131
- var s = U0(r.parser, a, At(r.envName)), o = Math.max(0, ...s.body.map((h) => h.length));
7132
- return s.cols = new Array(o).fill({
7127
+ var s = U0(r.parser, a, At(r.envName)), u = Math.max(0, ...s.body.map((h) => h.length));
7128
+ return s.cols = new Array(u).fill({
7133
7129
  type: "align",
7134
7130
  align: t
7135
7131
  }), e ? {
@@ -7167,14 +7163,14 @@ k0({
7167
7163
  numArgs: 1
7168
7164
  },
7169
7165
  handler(r, e) {
7170
- var t = Re(e[0]), a = t ? [e[0]] : H(e[0], "ordgroup").body, n = a.map(function(o) {
7171
- var h = xt(o), c = h.text;
7166
+ var t = Re(e[0]), a = t ? [e[0]] : O(e[0], "ordgroup").body, n = a.map(function(u) {
7167
+ var h = xt(u), c = h.text;
7172
7168
  if ("lc".indexOf(c) !== -1)
7173
7169
  return {
7174
7170
  type: "align",
7175
7171
  align: c
7176
7172
  };
7177
- throw new M("Unknown column alignment: " + c, o);
7173
+ throw new M("Unknown column alignment: " + c, u);
7178
7174
  });
7179
7175
  if (n.length > 1)
7180
7176
  throw new M("{subarray} can contain only one column");
@@ -7245,7 +7241,7 @@ k0({
7245
7241
  numArgs: 0
7246
7242
  },
7247
7243
  handler(r) {
7248
- q.contains(["gather", "gather*"], r.envName) && Oe(r);
7244
+ ["gather", "gather*"].includes(r.envName) && Oe(r);
7249
7245
  var e = {
7250
7246
  cols: [{
7251
7247
  type: "align",
@@ -7299,7 +7295,7 @@ k0({
7299
7295
  numArgs: 0
7300
7296
  },
7301
7297
  handler(r) {
7302
- return Oe(r), q1(r.parser);
7298
+ return Oe(r), N1(r.parser);
7303
7299
  },
7304
7300
  htmlBuilder: S0,
7305
7301
  mathmlBuilder: M0
@@ -7334,8 +7330,8 @@ B({
7334
7330
  } = r, n = e[0];
7335
7331
  if (n.type !== "ordgroup")
7336
7332
  throw new M("Invalid environment name", n);
7337
- for (var s = "", o = 0; o < n.body.length; ++o)
7338
- s += H(n.body[o], "textord").text;
7333
+ for (var s = "", u = 0; u < n.body.length; ++u)
7334
+ s += O(n.body[u], "textord").text;
7339
7335
  if (a === "\\begin") {
7340
7336
  if (!_t.hasOwnProperty(s))
7341
7337
  throw new M("No such environment: " + s, n);
@@ -7348,7 +7344,7 @@ B({
7348
7344
  parser: t
7349
7345
  }, y = h.handler(g, c, p);
7350
7346
  t.expect("\\end", !1);
7351
- var w = t.nextToken, x = H(t.parseFunction(), "environment");
7347
+ var w = t.nextToken, x = O(t.parseFunction(), "environment");
7352
7348
  if (x.name !== s)
7353
7349
  throw new M("Mismatch: \\begin{" + s + "} matched by \\end{" + x.name + "}", w);
7354
7350
  return y;
@@ -7363,7 +7359,7 @@ B({
7363
7359
  });
7364
7360
  var Kr = (r, e) => {
7365
7361
  var t = r.font, a = e.withFont(t);
7366
- return P(r.body, a);
7362
+ return L(r.body, a);
7367
7363
  }, Jr = (r, e) => {
7368
7364
  var t = r.font, a = e.withFont(t);
7369
7365
  return X(r.body, a);
@@ -7422,7 +7418,7 @@ B({
7422
7418
  handler: (r, e) => {
7423
7419
  var {
7424
7420
  parser: t
7425
- } = r, a = e[0], n = q.isCharacterBox(a);
7421
+ } = r, a = e[0], n = G.isCharacterBox(a);
7426
7422
  return {
7427
7423
  type: "mclass",
7428
7424
  mode: t.mode,
@@ -7451,7 +7447,7 @@ B({
7451
7447
  breakOnTokenText: n
7452
7448
  } = r, {
7453
7449
  mode: s
7454
- } = t, o = t.parseExpression(!0, n), h = "math" + a.slice(1);
7450
+ } = t, u = t.parseExpression(!0, n), h = "math" + a.slice(1);
7455
7451
  return {
7456
7452
  type: "font",
7457
7453
  mode: s,
@@ -7459,7 +7455,7 @@ B({
7459
7455
  body: {
7460
7456
  type: "ordgroup",
7461
7457
  mode: t.mode,
7462
- body: o
7458
+ body: u
7463
7459
  }
7464
7460
  };
7465
7461
  },
@@ -7468,25 +7464,25 @@ B({
7468
7464
  });
7469
7465
  var Qr = (r, e) => {
7470
7466
  var t = e;
7471
- return r === "display" ? t = t.id >= R.SCRIPT.id ? t.text() : R.DISPLAY : r === "text" && t.size === R.DISPLAY.size ? t = R.TEXT : r === "script" ? t = R.SCRIPT : r === "scriptscript" && (t = R.SCRIPTSCRIPT), t;
7467
+ return r === "display" ? t = t.id >= E.SCRIPT.id ? t.text() : E.DISPLAY : r === "text" && t.size === E.DISPLAY.size ? t = E.TEXT : r === "script" ? t = E.SCRIPT : r === "scriptscript" && (t = E.SCRIPTSCRIPT), t;
7472
7468
  }, Tt = (r, e) => {
7473
7469
  var t = Qr(r.size, e.style), a = t.fracNum(), n = t.fracDen(), s;
7474
7470
  s = e.havingStyle(a);
7475
- var o = P(r.numer, s, e);
7471
+ var u = L(r.numer, s, e);
7476
7472
  if (r.continued) {
7477
7473
  var h = 8.5 / e.fontMetrics().ptPerEm, c = 3.5 / e.fontMetrics().ptPerEm;
7478
- o.height = o.height < h ? h : o.height, o.depth = o.depth < c ? c : o.depth;
7474
+ u.height = u.height < h ? h : u.height, u.depth = u.depth < c ? c : u.depth;
7479
7475
  }
7480
7476
  s = e.havingStyle(n);
7481
- var p = P(r.denom, s, e), g, y, w;
7477
+ var p = L(r.denom, s, e), g, y, w;
7482
7478
  r.hasBarLine ? (r.barSize ? (y = K(r.barSize, e), g = b.makeLineSpan("frac-line", e, y)) : g = b.makeLineSpan("frac-line", e), y = g.height, w = g.height) : (g = null, y = 0, w = e.fontMetrics().defaultRuleThickness);
7483
7479
  var x, z, T;
7484
- t.size === R.DISPLAY.size || r.size === "display" ? (x = e.fontMetrics().num1, y > 0 ? z = 3 * w : z = 7 * w, T = e.fontMetrics().denom1) : (y > 0 ? (x = e.fontMetrics().num2, z = w) : (x = e.fontMetrics().num3, z = 3 * w), T = e.fontMetrics().denom2);
7480
+ t.size === E.DISPLAY.size || r.size === "display" ? (x = e.fontMetrics().num1, y > 0 ? z = 3 * w : z = 7 * w, T = e.fontMetrics().denom1) : (y > 0 ? (x = e.fontMetrics().num2, z = w) : (x = e.fontMetrics().num3, z = 3 * w), T = e.fontMetrics().denom2);
7485
7481
  var C;
7486
7482
  if (g) {
7487
- var F = e.fontMetrics().axisHeight;
7488
- x - o.depth - (F + 0.5 * y) < z && (x += z - (x - o.depth - (F + 0.5 * y))), F - 0.5 * y - (p.height - T) < z && (T += z - (F - 0.5 * y - (p.height - T)));
7489
- var O = -(F - 0.5 * y);
7483
+ var I = e.fontMetrics().axisHeight;
7484
+ x - u.depth - (I + 0.5 * y) < z && (x += z - (x - u.depth - (I + 0.5 * y))), I - 0.5 * y - (p.height - T) < z && (T += z - (I - 0.5 * y - (p.height - T)));
7485
+ var F = -(I - 0.5 * y);
7490
7486
  C = b.makeVList({
7491
7487
  positionType: "individualShift",
7492
7488
  children: [{
@@ -7496,15 +7492,15 @@ var Qr = (r, e) => {
7496
7492
  }, {
7497
7493
  type: "elem",
7498
7494
  elem: g,
7499
- shift: O
7495
+ shift: F
7500
7496
  }, {
7501
7497
  type: "elem",
7502
- elem: o,
7498
+ elem: u,
7503
7499
  shift: -x
7504
7500
  }]
7505
7501
  }, e);
7506
7502
  } else {
7507
- var N = x - o.depth - (p.height - T);
7503
+ var N = x - u.depth - (p.height - T);
7508
7504
  N < z && (x += 0.5 * (z - N), T += 0.5 * (z - N)), C = b.makeVList({
7509
7505
  positionType: "individualShift",
7510
7506
  children: [{
@@ -7513,16 +7509,16 @@ var Qr = (r, e) => {
7513
7509
  shift: T
7514
7510
  }, {
7515
7511
  type: "elem",
7516
- elem: o,
7512
+ elem: u,
7517
7513
  shift: -x
7518
7514
  }]
7519
7515
  }, e);
7520
7516
  }
7521
7517
  s = e.havingStyle(t), C.height *= s.sizeMultiplier / e.sizeMultiplier, C.depth *= s.sizeMultiplier / e.sizeMultiplier;
7522
7518
  var V;
7523
- t.size === R.DISPLAY.size ? V = e.fontMetrics().delim1 : t.size === R.SCRIPTSCRIPT.size ? V = e.havingStyle(R.SCRIPT).fontMetrics().delim2 : V = e.fontMetrics().delim2;
7524
- var L, U;
7525
- return r.leftDelim == null ? L = oe(e, ["mopen"]) : L = D0.customSizedDelim(r.leftDelim, V, !0, e.havingStyle(t), r.mode, ["mopen"]), r.continued ? U = b.makeSpan([]) : r.rightDelim == null ? U = oe(e, ["mclose"]) : U = D0.customSizedDelim(r.rightDelim, V, !0, e.havingStyle(t), r.mode, ["mclose"]), b.makeSpan(["mord"].concat(s.sizingClasses(e)), [L, b.makeSpan(["mfrac"], [C]), U], e);
7519
+ t.size === E.DISPLAY.size ? V = e.fontMetrics().delim1 : t.size === E.SCRIPTSCRIPT.size ? V = e.havingStyle(E.SCRIPT).fontMetrics().delim2 : V = e.fontMetrics().delim2;
7520
+ var H, U;
7521
+ return r.leftDelim == null ? H = ue(e, ["mopen"]) : H = D0.customSizedDelim(r.leftDelim, V, !0, e.havingStyle(t), r.mode, ["mopen"]), r.continued ? U = b.makeSpan([]) : r.rightDelim == null ? U = ue(e, ["mclose"]) : U = D0.customSizedDelim(r.rightDelim, V, !0, e.havingStyle(t), r.mode, ["mclose"]), b.makeSpan(["mord"].concat(s.sizingClasses(e)), [H, b.makeSpan(["mfrac"], [C]), U], e);
7526
7522
  }, Bt = (r, e) => {
7527
7523
  var t = new S.MathNode("mfrac", [X(r.numer, e), X(r.denom, e)]);
7528
7524
  if (!r.hasBarLine)
@@ -7534,20 +7530,20 @@ var Qr = (r, e) => {
7534
7530
  var n = Qr(r.size, e.style);
7535
7531
  if (n.size !== e.style.size) {
7536
7532
  t = new S.MathNode("mstyle", [t]);
7537
- var s = n.size === R.DISPLAY.size ? "true" : "false";
7533
+ var s = n.size === E.DISPLAY.size ? "true" : "false";
7538
7534
  t.setAttribute("displaystyle", s), t.setAttribute("scriptlevel", "0");
7539
7535
  }
7540
7536
  if (r.leftDelim != null || r.rightDelim != null) {
7541
- var o = [];
7537
+ var u = [];
7542
7538
  if (r.leftDelim != null) {
7543
7539
  var h = new S.MathNode("mo", [new S.TextNode(r.leftDelim.replace("\\", ""))]);
7544
- h.setAttribute("fence", "true"), o.push(h);
7540
+ h.setAttribute("fence", "true"), u.push(h);
7545
7541
  }
7546
- if (o.push(t), r.rightDelim != null) {
7542
+ if (u.push(t), r.rightDelim != null) {
7547
7543
  var c = new S.MathNode("mo", [new S.TextNode(r.rightDelim.replace("\\", ""))]);
7548
- c.setAttribute("fence", "true"), o.push(c);
7544
+ c.setAttribute("fence", "true"), u.push(c);
7549
7545
  }
7550
- return bt(o);
7546
+ return bt(u);
7551
7547
  }
7552
7548
  return t;
7553
7549
  };
@@ -7574,26 +7570,26 @@ B({
7574
7570
  var {
7575
7571
  parser: t,
7576
7572
  funcName: a
7577
- } = r, n = e[0], s = e[1], o, h = null, c = null, p = "auto";
7573
+ } = r, n = e[0], s = e[1], u, h = null, c = null, p = "auto";
7578
7574
  switch (a) {
7579
7575
  case "\\dfrac":
7580
7576
  case "\\frac":
7581
7577
  case "\\tfrac":
7582
- o = !0;
7578
+ u = !0;
7583
7579
  break;
7584
7580
  case "\\\\atopfrac":
7585
- o = !1;
7581
+ u = !1;
7586
7582
  break;
7587
7583
  case "\\dbinom":
7588
7584
  case "\\binom":
7589
7585
  case "\\tbinom":
7590
- o = !1, h = "(", c = ")";
7586
+ u = !1, h = "(", c = ")";
7591
7587
  break;
7592
7588
  case "\\\\bracefrac":
7593
- o = !1, h = "\\{", c = "\\}";
7589
+ u = !1, h = "\\{", c = "\\}";
7594
7590
  break;
7595
7591
  case "\\\\brackfrac":
7596
- o = !1, h = "[", c = "]";
7592
+ u = !1, h = "[", c = "]";
7597
7593
  break;
7598
7594
  default:
7599
7595
  throw new Error("Unrecognized genfrac command");
@@ -7614,7 +7610,7 @@ B({
7614
7610
  continued: !1,
7615
7611
  numer: n,
7616
7612
  denom: s,
7617
- hasBarLine: o,
7613
+ hasBarLine: u,
7618
7614
  leftDelim: h,
7619
7615
  rightDelim: c,
7620
7616
  size: p,
@@ -7704,16 +7700,16 @@ B({
7704
7700
  handler(r, e) {
7705
7701
  var {
7706
7702
  parser: t
7707
- } = r, a = e[4], n = e[5], s = Ne(e[0]), o = s.type === "atom" && s.family === "open" ? rr(s.text) : null, h = Ne(e[1]), c = h.type === "atom" && h.family === "close" ? rr(h.text) : null, p = H(e[2], "size"), g, y = null;
7703
+ } = r, a = e[4], n = e[5], s = Ne(e[0]), u = s.type === "atom" && s.family === "open" ? rr(s.text) : null, h = Ne(e[1]), c = h.type === "atom" && h.family === "close" ? rr(h.text) : null, p = O(e[2], "size"), g, y = null;
7708
7704
  p.isBlank ? g = !0 : (y = p.value, g = y.number > 0);
7709
7705
  var w = "auto", x = e[3];
7710
7706
  if (x.type === "ordgroup") {
7711
7707
  if (x.body.length > 0) {
7712
- var z = H(x.body[0], "textord");
7708
+ var z = O(x.body[0], "textord");
7713
7709
  w = tr[Number(z.text)];
7714
7710
  }
7715
7711
  } else
7716
- x = H(x, "textord"), w = tr[Number(x.text)];
7712
+ x = O(x, "textord"), w = tr[Number(x.text)];
7717
7713
  return {
7718
7714
  type: "genfrac",
7719
7715
  mode: t.mode,
@@ -7722,7 +7718,7 @@ B({
7722
7718
  continued: !1,
7723
7719
  hasBarLine: g,
7724
7720
  barSize: y,
7725
- leftDelim: o,
7721
+ leftDelim: u,
7726
7722
  rightDelim: c,
7727
7723
  size: w
7728
7724
  };
@@ -7748,7 +7744,7 @@ B({
7748
7744
  type: "infix",
7749
7745
  mode: t.mode,
7750
7746
  replaceWith: "\\\\abovefrac",
7751
- size: H(e[0], "size").value,
7747
+ size: O(e[0], "size").value,
7752
7748
  token: n
7753
7749
  };
7754
7750
  }
@@ -7764,12 +7760,12 @@ B({
7764
7760
  var {
7765
7761
  parser: t,
7766
7762
  funcName: a
7767
- } = r, n = e[0], s = ka(H(e[1], "infix").size), o = e[2], h = s.number > 0;
7763
+ } = r, n = e[0], s = wa(O(e[1], "infix").size), u = e[2], h = s.number > 0;
7768
7764
  return {
7769
7765
  type: "genfrac",
7770
7766
  mode: t.mode,
7771
7767
  numer: n,
7772
- denom: o,
7768
+ denom: u,
7773
7769
  continued: !1,
7774
7770
  hasBarLine: h,
7775
7771
  barSize: s,
@@ -7783,8 +7779,8 @@ B({
7783
7779
  });
7784
7780
  var _r = (r, e) => {
7785
7781
  var t = e.style, a, n;
7786
- r.type === "supsub" ? (a = r.sup ? P(r.sup, e.havingStyle(t.sup()), e) : P(r.sub, e.havingStyle(t.sub()), e), n = H(r.base, "horizBrace")) : n = H(r, "horizBrace");
7787
- var s = P(n.base, e.havingBaseStyle(R.DISPLAY)), o = q0.svgSpan(n, e), h;
7782
+ r.type === "supsub" ? (a = r.sup ? L(r.sup, e.havingStyle(t.sup()), e) : L(r.sub, e.havingStyle(t.sub()), e), n = O(r.base, "horizBrace")) : n = O(r, "horizBrace");
7783
+ var s = L(n.base, e.havingBaseStyle(E.DISPLAY)), u = q0.svgSpan(n, e), h;
7788
7784
  if (n.isOver ? (h = b.makeVList({
7789
7785
  positionType: "firstBaseline",
7790
7786
  children: [{
@@ -7795,14 +7791,14 @@ var _r = (r, e) => {
7795
7791
  size: 0.1
7796
7792
  }, {
7797
7793
  type: "elem",
7798
- elem: o
7794
+ elem: u
7799
7795
  }]
7800
7796
  }, e), h.children[0].children[0].children[1].classes.push("svg-align")) : (h = b.makeVList({
7801
7797
  positionType: "bottom",
7802
- positionData: s.depth + 0.1 + o.height,
7798
+ positionData: s.depth + 0.1 + u.height,
7803
7799
  children: [{
7804
7800
  type: "elem",
7805
- elem: o
7801
+ elem: u
7806
7802
  }, {
7807
7803
  type: "kern",
7808
7804
  size: 0.1
@@ -7840,7 +7836,7 @@ var _r = (r, e) => {
7840
7836
  }, e);
7841
7837
  }
7842
7838
  return b.makeSpan(["mord", n.isOver ? "mover" : "munder"], [h], e);
7843
- }, W1 = (r, e) => {
7839
+ }, $1 = (r, e) => {
7844
7840
  var t = q0.mathMLnode(r.label);
7845
7841
  return new S.MathNode(r.isOver ? "mover" : "munder", [X(r.base, e), t]);
7846
7842
  };
@@ -7864,7 +7860,7 @@ B({
7864
7860
  };
7865
7861
  },
7866
7862
  htmlBuilder: _r,
7867
- mathmlBuilder: W1
7863
+ mathmlBuilder: $1
7868
7864
  });
7869
7865
  B({
7870
7866
  type: "href",
@@ -7877,7 +7873,7 @@ B({
7877
7873
  handler: (r, e) => {
7878
7874
  var {
7879
7875
  parser: t
7880
- } = r, a = e[1], n = H(e[0], "url").url;
7876
+ } = r, a = e[1], n = O(e[0], "url").url;
7881
7877
  return t.settings.isTrusted({
7882
7878
  command: "\\href",
7883
7879
  url: n
@@ -7908,18 +7904,18 @@ B({
7908
7904
  handler: (r, e) => {
7909
7905
  var {
7910
7906
  parser: t
7911
- } = r, a = H(e[0], "url").url;
7907
+ } = r, a = O(e[0], "url").url;
7912
7908
  if (!t.settings.isTrusted({
7913
7909
  command: "\\url",
7914
7910
  url: a
7915
7911
  }))
7916
7912
  return t.formatUnsupportedCmd("\\url");
7917
7913
  for (var n = [], s = 0; s < a.length; s++) {
7918
- var o = a[s];
7919
- o === "~" && (o = "\\textasciitilde"), n.push({
7914
+ var u = a[s];
7915
+ u === "~" && (u = "\\textasciitilde"), n.push({
7920
7916
  type: "textord",
7921
7917
  mode: "text",
7922
- text: o
7918
+ text: u
7923
7919
  });
7924
7920
  }
7925
7921
  var h = {
@@ -7960,7 +7956,7 @@ B({
7960
7956
  return b.makeFragment(t);
7961
7957
  },
7962
7958
  mathmlBuilder(r, e) {
7963
- return new S.MathNode("mrow", u0(r.body, e));
7959
+ return new S.MathNode("mrow", o0(r.body, e));
7964
7960
  }
7965
7961
  });
7966
7962
  B({
@@ -7976,7 +7972,7 @@ B({
7976
7972
  parser: t,
7977
7973
  funcName: a,
7978
7974
  token: n
7979
- } = r, s = H(e[0], "raw").string, o = e[1];
7975
+ } = r, s = O(e[0], "raw").string, u = e[1];
7980
7976
  t.settings.strict && t.settings.reportNonstrict("htmlExtension", "HTML extension is disabled on strict mode");
7981
7977
  var h, c = {};
7982
7978
  switch (a) {
@@ -8018,7 +8014,7 @@ B({
8018
8014
  type: "html",
8019
8015
  mode: t.mode,
8020
8016
  attributes: c,
8021
- body: Q(o)
8017
+ body: Q(u)
8022
8018
  } : t.formatUnsupportedCmd(a);
8023
8019
  },
8024
8020
  htmlBuilder: (r, e) => {
@@ -8091,12 +8087,12 @@ B({
8091
8087
  }, s = {
8092
8088
  number: 0.9,
8093
8089
  unit: "em"
8094
- }, o = {
8090
+ }, u = {
8095
8091
  number: 0,
8096
8092
  unit: "em"
8097
8093
  }, h = "";
8098
8094
  if (t[0])
8099
- for (var c = H(t[0], "raw").string, p = c.split(","), g = 0; g < p.length; g++) {
8095
+ for (var c = O(t[0], "raw").string, p = c.split(","), g = 0; g < p.length; g++) {
8100
8096
  var y = p[g].split("=");
8101
8097
  if (y.length === 2) {
8102
8098
  var w = y[1].trim();
@@ -8111,14 +8107,14 @@ B({
8111
8107
  s = et(w);
8112
8108
  break;
8113
8109
  case "totalheight":
8114
- o = et(w);
8110
+ u = et(w);
8115
8111
  break;
8116
8112
  default:
8117
8113
  throw new M("Invalid key: '" + y[0] + "' in \\includegraphics.");
8118
8114
  }
8119
8115
  }
8120
8116
  }
8121
- var x = H(e[0], "url").url;
8117
+ var x = O(e[0], "url").url;
8122
8118
  return h === "" && (h = x, h = h.replace(/^.*[\\/]/, ""), h = h.substring(0, h.lastIndexOf("."))), a.settings.isTrusted({
8123
8119
  command: "\\includegraphics",
8124
8120
  url: x
@@ -8128,7 +8124,7 @@ B({
8128
8124
  alt: h,
8129
8125
  width: n,
8130
8126
  height: s,
8131
- totalheight: o,
8127
+ totalheight: u,
8132
8128
  src: x
8133
8129
  } : a.formatUnsupportedCmd("\\includegraphics");
8134
8130
  },
@@ -8141,8 +8137,8 @@ B({
8141
8137
  height: A(t + a)
8142
8138
  };
8143
8139
  n > 0 && (s.width = A(n)), a > 0 && (s.verticalAlign = A(-a));
8144
- var o = new Wa(r.src, r.alt, s);
8145
- return o.height = t, o.depth = a, o;
8140
+ var u = new $a(r.src, r.alt, s);
8141
+ return u.height = t, u.depth = a, u;
8146
8142
  },
8147
8143
  mathmlBuilder: (r, e) => {
8148
8144
  var t = new S.MathNode("mglyph", []);
@@ -8168,10 +8164,10 @@ B({
8168
8164
  var {
8169
8165
  parser: t,
8170
8166
  funcName: a
8171
- } = r, n = H(e[0], "size");
8167
+ } = r, n = O(e[0], "size");
8172
8168
  if (t.settings.strict) {
8173
- var s = a[1] === "m", o = n.value.unit === "mu";
8174
- s ? (o || t.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + a + " supports only mu units, " + ("not " + n.value.unit + " units")), t.mode !== "math" && t.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + a + " works only in math mode")) : o && t.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + a + " doesn't support mu units");
8169
+ var s = a[1] === "m", u = n.value.unit === "mu";
8170
+ s ? (u || t.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + a + " supports only mu units, " + ("not " + n.value.unit + " units")), t.mode !== "math" && t.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + a + " works only in math mode")) : u && t.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + a + " doesn't support mu units");
8175
8171
  }
8176
8172
  return {
8177
8173
  type: "kern",
@@ -8208,7 +8204,7 @@ B({
8208
8204
  },
8209
8205
  htmlBuilder: (r, e) => {
8210
8206
  var t;
8211
- r.alignment === "clap" ? (t = b.makeSpan([], [P(r.body, e)]), t = b.makeSpan(["inner"], [t], e)) : t = b.makeSpan(["inner"], [P(r.body, e)]);
8207
+ r.alignment === "clap" ? (t = b.makeSpan([], [L(r.body, e)]), t = b.makeSpan(["inner"], [t], e)) : t = b.makeSpan(["inner"], [L(r.body, e)]);
8212
8208
  var a = b.makeSpan(["fix"], []), n = b.makeSpan([r.alignment], [t, a], e), s = b.makeSpan(["strut"]);
8213
8209
  return s.style.height = A(n.height + n.depth), n.depth && (s.style.verticalAlign = A(-n.depth)), n.children.unshift(s), n = b.makeSpan(["thinbox"], [n], e), b.makeSpan(["mord", "vbox"], [n], e);
8214
8210
  },
@@ -8235,12 +8231,12 @@ B({
8235
8231
  parser: a
8236
8232
  } = r, n = a.mode;
8237
8233
  a.switchMode("math");
8238
- var s = t === "\\(" ? "\\)" : "$", o = a.parseExpression(!1, s);
8234
+ var s = t === "\\(" ? "\\)" : "$", u = a.parseExpression(!1, s);
8239
8235
  return a.expect(s), a.switchMode(n), {
8240
8236
  type: "styling",
8241
8237
  mode: a.mode,
8242
8238
  style: "text",
8243
- body: o
8239
+ body: u
8244
8240
  };
8245
8241
  }
8246
8242
  });
@@ -8259,13 +8255,13 @@ B({
8259
8255
  });
8260
8256
  var ar = (r, e) => {
8261
8257
  switch (e.style.size) {
8262
- case R.DISPLAY.size:
8258
+ case E.DISPLAY.size:
8263
8259
  return r.display;
8264
- case R.TEXT.size:
8260
+ case E.TEXT.size:
8265
8261
  return r.text;
8266
- case R.SCRIPT.size:
8262
+ case E.SCRIPT.size:
8267
8263
  return r.script;
8268
- case R.SCRIPTSCRIPT.size:
8264
+ case E.SCRIPTSCRIPT.size:
8269
8265
  return r.scriptscript;
8270
8266
  default:
8271
8267
  return r.text;
@@ -8300,18 +8296,18 @@ B({
8300
8296
  return V0(t, e);
8301
8297
  }
8302
8298
  });
8303
- var ea = (r, e, t, a, n, s, o) => {
8299
+ var ea = (r, e, t, a, n, s, u) => {
8304
8300
  r = b.makeSpan([], [r]);
8305
- var h = t && q.isCharacterBox(t), c, p;
8301
+ var h = t && G.isCharacterBox(t), c, p;
8306
8302
  if (e) {
8307
- var g = P(e, a.havingStyle(n.sup()), a);
8303
+ var g = L(e, a.havingStyle(n.sup()), a);
8308
8304
  p = {
8309
8305
  elem: g,
8310
8306
  kern: Math.max(a.fontMetrics().bigOpSpacing1, a.fontMetrics().bigOpSpacing3 - g.depth)
8311
8307
  };
8312
8308
  }
8313
8309
  if (t) {
8314
- var y = P(t, a.havingStyle(n.sub()), a);
8310
+ var y = L(t, a.havingStyle(n.sub()), a);
8315
8311
  c = {
8316
8312
  elem: y,
8317
8313
  kern: Math.max(a.fontMetrics().bigOpSpacing2, a.fontMetrics().bigOpSpacing4 - y.height)
@@ -8319,7 +8315,7 @@ var ea = (r, e, t, a, n, s, o) => {
8319
8315
  }
8320
8316
  var w;
8321
8317
  if (p && c) {
8322
- var x = a.fontMetrics().bigOpSpacing5 + c.elem.height + c.elem.depth + c.kern + r.depth + o;
8318
+ var x = a.fontMetrics().bigOpSpacing5 + c.elem.height + c.elem.depth + c.kern + r.depth + u;
8323
8319
  w = b.makeVList({
8324
8320
  positionType: "bottom",
8325
8321
  positionData: x,
@@ -8349,7 +8345,7 @@ var ea = (r, e, t, a, n, s, o) => {
8349
8345
  }]
8350
8346
  }, a);
8351
8347
  } else if (c) {
8352
- var z = r.height - o;
8348
+ var z = r.height - u;
8353
8349
  w = b.makeVList({
8354
8350
  positionType: "top",
8355
8351
  positionData: z,
@@ -8369,7 +8365,7 @@ var ea = (r, e, t, a, n, s, o) => {
8369
8365
  }]
8370
8366
  }, a);
8371
8367
  } else if (p) {
8372
- var T = r.depth + o;
8368
+ var T = r.depth + u;
8373
8369
  w = b.makeVList({
8374
8370
  positionType: "bottom",
8375
8371
  positionData: T,
@@ -8398,9 +8394,9 @@ var ea = (r, e, t, a, n, s, o) => {
8398
8394
  return b.makeSpan(["mop", "op-limits"], C, a);
8399
8395
  }, ta = ["\\smallint"], ae = (r, e) => {
8400
8396
  var t, a, n = !1, s;
8401
- r.type === "supsub" ? (t = r.sup, a = r.sub, s = H(r.base, "op"), n = !0) : s = H(r, "op");
8402
- var o = e.style, h = !1;
8403
- o.size === R.DISPLAY.size && s.symbol && !q.contains(ta, s.name) && (h = !0);
8397
+ r.type === "supsub" ? (t = r.sup, a = r.sub, s = O(r.base, "op"), n = !0) : s = O(r, "op");
8398
+ var u = e.style, h = !1;
8399
+ u.size === E.DISPLAY.size && s.symbol && !ta.includes(s.name) && (h = !0);
8404
8400
  var c;
8405
8401
  if (s.symbol) {
8406
8402
  var p = h ? "Size2-Regular" : "Size1-Regular", g = "";
@@ -8428,20 +8424,20 @@ var ea = (r, e, t, a, n, s, o) => {
8428
8424
  c = b.makeSpan(["mop"], z, e);
8429
8425
  }
8430
8426
  var C = 0, N = 0;
8431
- return (c instanceof p0 || s.name === "\\oiint" || s.name === "\\oiiint") && !s.suppressBaseShift && (C = (c.height - c.depth) / 2 - e.fontMetrics().axisHeight, N = c.italic), n ? ea(c, t, a, e, o, N, C) : (C && (c.style.position = "relative", c.style.top = A(C)), c);
8427
+ return (c instanceof p0 || s.name === "\\oiint" || s.name === "\\oiiint") && !s.suppressBaseShift && (C = (c.height - c.depth) / 2 - e.fontMetrics().axisHeight, N = c.italic), n ? ea(c, t, a, e, u, N, C) : (C && (c.style.position = "relative", c.style.top = A(C)), c);
8432
8428
  }, me = (r, e) => {
8433
8429
  var t;
8434
8430
  if (r.symbol)
8435
- t = new h0("mo", [v0(r.name, r.mode)]), q.contains(ta, r.name) && t.setAttribute("largeop", "false");
8431
+ t = new h0("mo", [v0(r.name, r.mode)]), ta.includes(r.name) && t.setAttribute("largeop", "false");
8436
8432
  else if (r.body)
8437
- t = new h0("mo", u0(r.body, e));
8433
+ t = new h0("mo", o0(r.body, e));
8438
8434
  else {
8439
8435
  t = new h0("mi", [new w0(r.name.slice(1))]);
8440
8436
  var a = new h0("mo", [v0("⁡", "text")]);
8441
8437
  r.parentIsSupSub ? t = new h0("mrow", [t, a]) : t = Dr([t, a]);
8442
8438
  }
8443
8439
  return t;
8444
- }, j1 = {
8440
+ }, W1 = {
8445
8441
  "∏": "\\prod",
8446
8442
  "∐": "\\coprod",
8447
8443
  "∑": "\\sum",
@@ -8466,7 +8462,7 @@ B({
8466
8462
  parser: t,
8467
8463
  funcName: a
8468
8464
  } = r, n = a;
8469
- return n.length === 1 && (n = j1[n]), {
8465
+ return n.length === 1 && (n = W1[n]), {
8470
8466
  type: "op",
8471
8467
  mode: t.mode,
8472
8468
  limits: !0,
@@ -8501,7 +8497,7 @@ B({
8501
8497
  htmlBuilder: ae,
8502
8498
  mathmlBuilder: me
8503
8499
  });
8504
- var Z1 = {
8500
+ var j1 = {
8505
8501
  "∫": "\\int",
8506
8502
  "∬": "\\iint",
8507
8503
  "∭": "\\iiint",
@@ -8566,7 +8562,7 @@ B({
8566
8562
  parser: e,
8567
8563
  funcName: t
8568
8564
  } = r, a = t;
8569
- return a.length === 1 && (a = Z1[a]), {
8565
+ return a.length === 1 && (a = j1[a]), {
8570
8566
  type: "op",
8571
8567
  mode: e.mode,
8572
8568
  limits: !1,
@@ -8580,8 +8576,8 @@ B({
8580
8576
  });
8581
8577
  var ra = (r, e) => {
8582
8578
  var t, a, n = !1, s;
8583
- r.type === "supsub" ? (t = r.sup, a = r.sub, s = H(r.base, "operatorname"), n = !0) : s = H(r, "operatorname");
8584
- var o;
8579
+ r.type === "supsub" ? (t = r.sup, a = r.sub, s = O(r.base, "operatorname"), n = !0) : s = O(r, "operatorname");
8580
+ var u;
8585
8581
  if (s.body.length > 0) {
8586
8582
  for (var h = s.body.map((y) => {
8587
8583
  var w = y.text;
@@ -8594,12 +8590,12 @@ var ra = (r, e) => {
8594
8590
  var g = c[p];
8595
8591
  g instanceof p0 && (g.text = g.text.replace(/\u2212/, "-").replace(/\u2217/, "*"));
8596
8592
  }
8597
- o = b.makeSpan(["mop"], c, e);
8593
+ u = b.makeSpan(["mop"], c, e);
8598
8594
  } else
8599
- o = b.makeSpan(["mop"], [], e);
8600
- return n ? ea(o, t, a, e, e.style, 0, 0) : o;
8601
- }, K1 = (r, e) => {
8602
- for (var t = u0(r.body, e.withFont("mathrm")), a = !0, n = 0; n < t.length; n++) {
8595
+ u = b.makeSpan(["mop"], [], e);
8596
+ return n ? ea(u, t, a, e, e.style, 0, 0) : u;
8597
+ }, Z1 = (r, e) => {
8598
+ for (var t = o0(r.body, e.withFont("mathrm")), a = !0, n = 0; n < t.length; n++) {
8603
8599
  var s = t[n];
8604
8600
  if (!(s instanceof S.SpaceNode)) if (s instanceof S.MathNode)
8605
8601
  switch (s.type) {
@@ -8611,8 +8607,8 @@ var ra = (r, e) => {
8611
8607
  break;
8612
8608
  // Do nothing yet.
8613
8609
  case "mo": {
8614
- var o = s.children[0];
8615
- s.children.length === 1 && o instanceof S.TextNode ? o.text = o.text.replace(/\u2212/, "-").replace(/\u2217/, "*") : a = !1;
8610
+ var u = s.children[0];
8611
+ s.children.length === 1 && u instanceof S.TextNode ? u.text = u.text.replace(/\u2212/, "-").replace(/\u2217/, "*") : a = !1;
8616
8612
  break;
8617
8613
  }
8618
8614
  default:
@@ -8651,7 +8647,7 @@ B({
8651
8647
  };
8652
8648
  },
8653
8649
  htmlBuilder: ra,
8654
- mathmlBuilder: K1
8650
+ mathmlBuilder: Z1
8655
8651
  });
8656
8652
  m("\\operatorname", "\\@ifstar\\operatornamewithlimits\\operatorname@");
8657
8653
  W0({
@@ -8680,7 +8676,7 @@ B({
8680
8676
  };
8681
8677
  },
8682
8678
  htmlBuilder(r, e) {
8683
- var t = P(r.body, e.havingCrampedStyle()), a = b.makeLineSpan("overline-line", e), n = e.fontMetrics().defaultRuleThickness, s = b.makeVList({
8679
+ var t = L(r.body, e.havingCrampedStyle()), a = b.makeLineSpan("overline-line", e), n = e.fontMetrics().defaultRuleThickness, s = b.makeVList({
8684
8680
  positionType: "firstBaseline",
8685
8681
  children: [{
8686
8682
  type: "elem",
@@ -8727,7 +8723,7 @@ B({
8727
8723
  return b.makeFragment(t);
8728
8724
  },
8729
8725
  mathmlBuilder: (r, e) => {
8730
- var t = u0(r.body, e);
8726
+ var t = o0(r.body, e);
8731
8727
  return new S.MathNode("mphantom", t);
8732
8728
  }
8733
8729
  });
@@ -8749,7 +8745,7 @@ B({
8749
8745
  };
8750
8746
  },
8751
8747
  htmlBuilder: (r, e) => {
8752
- var t = b.makeSpan([], [P(r.body, e.withPhantom())]);
8748
+ var t = b.makeSpan([], [L(r.body, e.withPhantom())]);
8753
8749
  if (t.height = 0, t.depth = 0, t.children)
8754
8750
  for (var a = 0; a < t.children.length; a++)
8755
8751
  t.children[a].height = 0, t.children[a].depth = 0;
@@ -8762,7 +8758,7 @@ B({
8762
8758
  }, e), b.makeSpan(["mord"], [t], e);
8763
8759
  },
8764
8760
  mathmlBuilder: (r, e) => {
8765
- var t = u0(Q(r.body), e), a = new S.MathNode("mphantom", t), n = new S.MathNode("mpadded", [a]);
8761
+ var t = o0(Q(r.body), e), a = new S.MathNode("mphantom", t), n = new S.MathNode("mpadded", [a]);
8766
8762
  return n.setAttribute("height", "0px"), n.setAttribute("depth", "0px"), n;
8767
8763
  }
8768
8764
  });
@@ -8784,11 +8780,11 @@ B({
8784
8780
  };
8785
8781
  },
8786
8782
  htmlBuilder: (r, e) => {
8787
- var t = b.makeSpan(["inner"], [P(r.body, e.withPhantom())]), a = b.makeSpan(["fix"], []);
8783
+ var t = b.makeSpan(["inner"], [L(r.body, e.withPhantom())]), a = b.makeSpan(["fix"], []);
8788
8784
  return b.makeSpan(["mord", "rlap"], [t, a], e);
8789
8785
  },
8790
8786
  mathmlBuilder: (r, e) => {
8791
- var t = u0(Q(r.body), e), a = new S.MathNode("mphantom", t), n = new S.MathNode("mpadded", [a]);
8787
+ var t = o0(Q(r.body), e), a = new S.MathNode("mphantom", t), n = new S.MathNode("mpadded", [a]);
8792
8788
  return n.setAttribute("width", "0px"), n;
8793
8789
  }
8794
8790
  });
@@ -8803,7 +8799,7 @@ B({
8803
8799
  handler(r, e) {
8804
8800
  var {
8805
8801
  parser: t
8806
- } = r, a = H(e[0], "size").value, n = e[1];
8802
+ } = r, a = O(e[0], "size").value, n = e[1];
8807
8803
  return {
8808
8804
  type: "raisebox",
8809
8805
  mode: t.mode,
@@ -8812,7 +8808,7 @@ B({
8812
8808
  };
8813
8809
  },
8814
8810
  htmlBuilder(r, e) {
8815
- var t = P(r.body, e), a = K(r.dy, e);
8811
+ var t = L(r.body, e), a = K(r.dy, e);
8816
8812
  return b.makeVList({
8817
8813
  positionType: "shift",
8818
8814
  positionData: -a,
@@ -8858,13 +8854,13 @@ B({
8858
8854
  handler(r, e, t) {
8859
8855
  var {
8860
8856
  parser: a
8861
- } = r, n = t[0], s = H(e[0], "size"), o = H(e[1], "size");
8857
+ } = r, n = t[0], s = O(e[0], "size"), u = O(e[1], "size");
8862
8858
  return {
8863
8859
  type: "rule",
8864
8860
  mode: a.mode,
8865
- shift: n && H(n, "size").value,
8861
+ shift: n && O(n, "size").value,
8866
8862
  width: s.value,
8867
- height: o.value
8863
+ height: u.value
8868
8864
  };
8869
8865
  },
8870
8866
  htmlBuilder(r, e) {
@@ -8872,20 +8868,20 @@ B({
8872
8868
  return t.style.borderRightWidth = A(a), t.style.borderTopWidth = A(n), t.style.bottom = A(s), t.width = a, t.height = n + s, t.depth = -s, t.maxFontSize = n * 1.125 * e.sizeMultiplier, t;
8873
8869
  },
8874
8870
  mathmlBuilder(r, e) {
8875
- var t = K(r.width, e), a = K(r.height, e), n = r.shift ? K(r.shift, e) : 0, s = e.color && e.getColor() || "black", o = new S.MathNode("mspace");
8876
- o.setAttribute("mathbackground", s), o.setAttribute("width", A(t)), o.setAttribute("height", A(a));
8877
- var h = new S.MathNode("mpadded", [o]);
8871
+ var t = K(r.width, e), a = K(r.height, e), n = r.shift ? K(r.shift, e) : 0, s = e.color && e.getColor() || "black", u = new S.MathNode("mspace");
8872
+ u.setAttribute("mathbackground", s), u.setAttribute("width", A(t)), u.setAttribute("height", A(a));
8873
+ var h = new S.MathNode("mpadded", [u]);
8878
8874
  return n >= 0 ? h.setAttribute("height", A(n)) : (h.setAttribute("height", A(n)), h.setAttribute("depth", A(-n))), h.setAttribute("voffset", A(n)), h;
8879
8875
  }
8880
8876
  });
8881
8877
  function aa(r, e, t) {
8882
8878
  for (var a = t0(r, e, !1), n = e.sizeMultiplier / t.sizeMultiplier, s = 0; s < a.length; s++) {
8883
- var o = a[s].classes.indexOf("sizing");
8884
- o < 0 ? Array.prototype.push.apply(a[s].classes, e.sizingClasses(t)) : a[s].classes[o + 1] === "reset-size" + e.size && (a[s].classes[o + 1] = "reset-size" + t.size), a[s].height *= n, a[s].depth *= n;
8879
+ var u = a[s].classes.indexOf("sizing");
8880
+ u < 0 ? Array.prototype.push.apply(a[s].classes, e.sizingClasses(t)) : a[s].classes[u + 1] === "reset-size" + e.size && (a[s].classes[u + 1] = "reset-size" + t.size), a[s].height *= n, a[s].depth *= n;
8885
8881
  }
8886
8882
  return b.makeFragment(a);
8887
8883
  }
8888
- var nr = ["\\tiny", "\\sixptsize", "\\scriptsize", "\\footnotesize", "\\small", "\\normalsize", "\\large", "\\Large", "\\LARGE", "\\huge", "\\Huge"], J1 = (r, e) => {
8884
+ var nr = ["\\tiny", "\\sixptsize", "\\scriptsize", "\\footnotesize", "\\small", "\\normalsize", "\\large", "\\Large", "\\LARGE", "\\huge", "\\Huge"], K1 = (r, e) => {
8889
8885
  var t = e.havingSize(r.size);
8890
8886
  return aa(r.body, t, e);
8891
8887
  };
@@ -8910,9 +8906,9 @@ B({
8910
8906
  body: s
8911
8907
  };
8912
8908
  },
8913
- htmlBuilder: J1,
8909
+ htmlBuilder: K1,
8914
8910
  mathmlBuilder: (r, e) => {
8915
- var t = e.havingSize(r.size), a = u0(r.body, t), n = new S.MathNode("mstyle", a);
8911
+ var t = e.havingSize(r.size), a = o0(r.body, t), n = new S.MathNode("mstyle", a);
8916
8912
  return n.setAttribute("mathsize", A(t.sizeMultiplier)), n;
8917
8913
  }
8918
8914
  });
@@ -8927,10 +8923,10 @@ B({
8927
8923
  handler: (r, e, t) => {
8928
8924
  var {
8929
8925
  parser: a
8930
- } = r, n = !1, s = !1, o = t[0] && H(t[0], "ordgroup");
8931
- if (o)
8932
- for (var h = "", c = 0; c < o.body.length; ++c) {
8933
- var p = o.body[c];
8926
+ } = r, n = !1, s = !1, u = t[0] && O(t[0], "ordgroup");
8927
+ if (u)
8928
+ for (var h = "", c = 0; c < u.body.length; ++c) {
8929
+ var p = u.body[c];
8934
8930
  if (h = p.text, h === "t")
8935
8931
  n = !0;
8936
8932
  else if (h === "b")
@@ -8952,7 +8948,7 @@ B({
8952
8948
  };
8953
8949
  },
8954
8950
  htmlBuilder: (r, e) => {
8955
- var t = b.makeSpan([], [P(r.body, e)]);
8951
+ var t = b.makeSpan([], [L(r.body, e)]);
8956
8952
  if (!r.smashHeight && !r.smashDepth)
8957
8953
  return t;
8958
8954
  if (r.smashHeight && (t.height = 0, t.children))
@@ -8994,17 +8990,17 @@ B({
8994
8990
  };
8995
8991
  },
8996
8992
  htmlBuilder(r, e) {
8997
- var t = P(r.body, e.havingCrampedStyle());
8993
+ var t = L(r.body, e.havingCrampedStyle());
8998
8994
  t.height === 0 && (t.height = e.fontMetrics().xHeight), t = b.wrapFragment(t, e);
8999
8995
  var a = e.fontMetrics(), n = a.defaultRuleThickness, s = n;
9000
- e.style.id < R.TEXT.id && (s = e.fontMetrics().xHeight);
9001
- var o = n + s / 4, h = t.height + t.depth + o + n, {
8996
+ e.style.id < E.TEXT.id && (s = e.fontMetrics().xHeight);
8997
+ var u = n + s / 4, h = t.height + t.depth + u + n, {
9002
8998
  span: c,
9003
8999
  ruleWidth: p,
9004
9000
  advanceWidth: g
9005
9001
  } = D0.sqrtImage(h, e), y = c.height - p;
9006
- y > t.height + t.depth + o && (o = (o + y - t.height - t.depth) / 2);
9007
- var w = c.height - t.height - o - p;
9002
+ y > t.height + t.depth + u && (u = (u + y - t.height - t.depth) / 2);
9003
+ var w = c.height - t.height - u - p;
9008
9004
  t.style.paddingLeft = A(g);
9009
9005
  var x = b.makeVList({
9010
9006
  positionType: "firstBaseline",
@@ -9024,15 +9020,15 @@ B({
9024
9020
  }]
9025
9021
  }, e);
9026
9022
  if (r.index) {
9027
- var z = e.havingStyle(R.SCRIPTSCRIPT), T = P(r.index, z, e), C = 0.6 * (x.height - x.depth), N = b.makeVList({
9023
+ var z = e.havingStyle(E.SCRIPTSCRIPT), T = L(r.index, z, e), C = 0.6 * (x.height - x.depth), N = b.makeVList({
9028
9024
  positionType: "shift",
9029
9025
  positionData: -C,
9030
9026
  children: [{
9031
9027
  type: "elem",
9032
9028
  elem: T
9033
9029
  }]
9034
- }, e), F = b.makeSpan(["root"], [N]);
9035
- return b.makeSpan(["mord", "sqrt"], [F, x], e);
9030
+ }, e), I = b.makeSpan(["root"], [N]);
9031
+ return b.makeSpan(["mord", "sqrt"], [I, x], e);
9036
9032
  } else
9037
9033
  return b.makeSpan(["mord", "sqrt"], [x], e);
9038
9034
  },
@@ -9045,10 +9041,10 @@ B({
9045
9041
  }
9046
9042
  });
9047
9043
  var ir = {
9048
- display: R.DISPLAY,
9049
- text: R.TEXT,
9050
- script: R.SCRIPT,
9051
- scriptscript: R.SCRIPTSCRIPT
9044
+ display: E.DISPLAY,
9045
+ text: E.TEXT,
9046
+ script: E.SCRIPT,
9047
+ scriptscript: E.SCRIPTSCRIPT
9052
9048
  };
9053
9049
  B({
9054
9050
  type: "styling",
@@ -9063,13 +9059,13 @@ B({
9063
9059
  breakOnTokenText: t,
9064
9060
  funcName: a,
9065
9061
  parser: n
9066
- } = r, s = n.parseExpression(!0, t), o = a.slice(1, a.length - 5);
9062
+ } = r, s = n.parseExpression(!0, t), u = a.slice(1, a.length - 5);
9067
9063
  return {
9068
9064
  type: "styling",
9069
9065
  mode: n.mode,
9070
9066
  // Figure out what style to use by pulling out the style from
9071
9067
  // the function name
9072
- style: o,
9068
+ style: u,
9073
9069
  body: s
9074
9070
  };
9075
9071
  },
@@ -9078,30 +9074,30 @@ B({
9078
9074
  return aa(r.body, a, e);
9079
9075
  },
9080
9076
  mathmlBuilder(r, e) {
9081
- var t = ir[r.style], a = e.havingStyle(t), n = u0(r.body, a), s = new S.MathNode("mstyle", n), o = {
9077
+ var t = ir[r.style], a = e.havingStyle(t), n = o0(r.body, a), s = new S.MathNode("mstyle", n), u = {
9082
9078
  display: ["0", "true"],
9083
9079
  text: ["0", "false"],
9084
9080
  script: ["1", "false"],
9085
9081
  scriptscript: ["2", "false"]
9086
- }, h = o[r.style];
9082
+ }, h = u[r.style];
9087
9083
  return s.setAttribute("scriptlevel", h[0]), s.setAttribute("displaystyle", h[1]), s;
9088
9084
  }
9089
9085
  });
9090
- var Q1 = function(e, t) {
9086
+ var J1 = function(e, t) {
9091
9087
  var a = e.base;
9092
9088
  if (a)
9093
9089
  if (a.type === "op") {
9094
- var n = a.limits && (t.style.size === R.DISPLAY.size || a.alwaysHandleSupSub);
9090
+ var n = a.limits && (t.style.size === E.DISPLAY.size || a.alwaysHandleSupSub);
9095
9091
  return n ? ae : null;
9096
9092
  } else if (a.type === "operatorname") {
9097
- var s = a.alwaysHandleSupSub && (t.style.size === R.DISPLAY.size || a.limits);
9093
+ var s = a.alwaysHandleSupSub && (t.style.size === E.DISPLAY.size || a.limits);
9098
9094
  return s ? ra : null;
9099
9095
  } else {
9100
9096
  if (a.type === "accent")
9101
- return q.isCharacterBox(a.base) ? wt : null;
9097
+ return G.isCharacterBox(a.base) ? wt : null;
9102
9098
  if (a.type === "horizBrace") {
9103
- var o = !e.sub;
9104
- return o === a.isOver ? _r : null;
9099
+ var u = !e.sub;
9100
+ return u === a.isOver ? _r : null;
9105
9101
  } else
9106
9102
  return null;
9107
9103
  }
@@ -9110,44 +9106,44 @@ var Q1 = function(e, t) {
9110
9106
  W0({
9111
9107
  type: "supsub",
9112
9108
  htmlBuilder(r, e) {
9113
- var t = Q1(r, e);
9109
+ var t = J1(r, e);
9114
9110
  if (t)
9115
9111
  return t(r, e);
9116
9112
  var {
9117
9113
  base: a,
9118
9114
  sup: n,
9119
9115
  sub: s
9120
- } = r, o = P(a, e), h, c, p = e.fontMetrics(), g = 0, y = 0, w = a && q.isCharacterBox(a);
9116
+ } = r, u = L(a, e), h, c, p = e.fontMetrics(), g = 0, y = 0, w = a && G.isCharacterBox(a);
9121
9117
  if (n) {
9122
9118
  var x = e.havingStyle(e.style.sup());
9123
- h = P(n, x, e), w || (g = o.height - x.fontMetrics().supDrop * x.sizeMultiplier / e.sizeMultiplier);
9119
+ h = L(n, x, e), w || (g = u.height - x.fontMetrics().supDrop * x.sizeMultiplier / e.sizeMultiplier);
9124
9120
  }
9125
9121
  if (s) {
9126
9122
  var z = e.havingStyle(e.style.sub());
9127
- c = P(s, z, e), w || (y = o.depth + z.fontMetrics().subDrop * z.sizeMultiplier / e.sizeMultiplier);
9123
+ c = L(s, z, e), w || (y = u.depth + z.fontMetrics().subDrop * z.sizeMultiplier / e.sizeMultiplier);
9128
9124
  }
9129
9125
  var T;
9130
- e.style === R.DISPLAY ? T = p.sup1 : e.style.cramped ? T = p.sup3 : T = p.sup2;
9131
- var C = e.sizeMultiplier, N = A(0.5 / p.ptPerEm / C), F = null;
9126
+ e.style === E.DISPLAY ? T = p.sup1 : e.style.cramped ? T = p.sup3 : T = p.sup2;
9127
+ var C = e.sizeMultiplier, N = A(0.5 / p.ptPerEm / C), I = null;
9132
9128
  if (c) {
9133
- var O = r.base && r.base.type === "op" && r.base.name && (r.base.name === "\\oiint" || r.base.name === "\\oiiint");
9134
- (o instanceof p0 || O) && (F = A(-o.italic));
9129
+ var F = r.base && r.base.type === "op" && r.base.name && (r.base.name === "\\oiint" || r.base.name === "\\oiiint");
9130
+ (u instanceof p0 || F) && (I = A(-u.italic));
9135
9131
  }
9136
9132
  var V;
9137
9133
  if (h && c) {
9138
9134
  g = Math.max(g, T, h.depth + 0.25 * p.xHeight), y = Math.max(y, p.sub2);
9139
- var L = p.defaultRuleThickness, U = 4 * L;
9135
+ var H = p.defaultRuleThickness, U = 4 * H;
9140
9136
  if (g - h.depth - (c.height - y) < U) {
9141
9137
  y = U - (g - h.depth) + c.height;
9142
- var G = 0.8 * p.xHeight - (g - h.depth);
9143
- G > 0 && (g += G, y -= G);
9138
+ var P = 0.8 * p.xHeight - (g - h.depth);
9139
+ P > 0 && (g += P, y -= P);
9144
9140
  }
9145
9141
  var j = [{
9146
9142
  type: "elem",
9147
9143
  elem: c,
9148
9144
  shift: y,
9149
9145
  marginRight: N,
9150
- marginLeft: F
9146
+ marginLeft: I
9151
9147
  }, {
9152
9148
  type: "elem",
9153
9149
  elem: h,
@@ -9163,7 +9159,7 @@ W0({
9163
9159
  var Y = [{
9164
9160
  type: "elem",
9165
9161
  elem: c,
9166
- marginLeft: F,
9162
+ marginLeft: I,
9167
9163
  marginRight: N
9168
9164
  }];
9169
9165
  V = b.makeVList({
@@ -9183,30 +9179,30 @@ W0({
9183
9179
  }, e);
9184
9180
  else
9185
9181
  throw new Error("supsub must have either sup or sub.");
9186
- var z0 = ot(o, "right") || "mord";
9187
- return b.makeSpan([z0], [o, b.makeSpan(["msupsub"], [V])], e);
9182
+ var z0 = ut(u, "right") || "mord";
9183
+ return b.makeSpan([z0], [u, b.makeSpan(["msupsub"], [V])], e);
9188
9184
  },
9189
9185
  mathmlBuilder(r, e) {
9190
9186
  var t = !1, a, n;
9191
9187
  r.base && r.base.type === "horizBrace" && (n = !!r.sup, n === r.base.isOver && (t = !0, a = r.base.isOver)), r.base && (r.base.type === "op" || r.base.type === "operatorname") && (r.base.parentIsSupSub = !0);
9192
9188
  var s = [X(r.base, e)];
9193
9189
  r.sub && s.push(X(r.sub, e)), r.sup && s.push(X(r.sup, e));
9194
- var o;
9190
+ var u;
9195
9191
  if (t)
9196
- o = a ? "mover" : "munder";
9192
+ u = a ? "mover" : "munder";
9197
9193
  else if (r.sub)
9198
9194
  if (r.sup) {
9199
9195
  var p = r.base;
9200
- p && p.type === "op" && p.limits && e.style === R.DISPLAY || p && p.type === "operatorname" && p.alwaysHandleSupSub && (e.style === R.DISPLAY || p.limits) ? o = "munderover" : o = "msubsup";
9196
+ p && p.type === "op" && p.limits && e.style === E.DISPLAY || p && p.type === "operatorname" && p.alwaysHandleSupSub && (e.style === E.DISPLAY || p.limits) ? u = "munderover" : u = "msubsup";
9201
9197
  } else {
9202
9198
  var c = r.base;
9203
- c && c.type === "op" && c.limits && (e.style === R.DISPLAY || c.alwaysHandleSupSub) || c && c.type === "operatorname" && c.alwaysHandleSupSub && (c.limits || e.style === R.DISPLAY) ? o = "munder" : o = "msub";
9199
+ c && c.type === "op" && c.limits && (e.style === E.DISPLAY || c.alwaysHandleSupSub) || c && c.type === "operatorname" && c.alwaysHandleSupSub && (c.limits || e.style === E.DISPLAY) ? u = "munder" : u = "msub";
9204
9200
  }
9205
9201
  else {
9206
9202
  var h = r.base;
9207
- h && h.type === "op" && h.limits && (e.style === R.DISPLAY || h.alwaysHandleSupSub) || h && h.type === "operatorname" && h.alwaysHandleSupSub && (h.limits || e.style === R.DISPLAY) ? o = "mover" : o = "msup";
9203
+ h && h.type === "op" && h.limits && (e.style === E.DISPLAY || h.alwaysHandleSupSub) || h && h.type === "operatorname" && h.alwaysHandleSupSub && (h.limits || e.style === E.DISPLAY) ? u = "mover" : u = "msup";
9208
9204
  }
9209
- return new S.MathNode(o, s);
9205
+ return new S.MathNode(u, s);
9210
9206
  }
9211
9207
  });
9212
9208
  W0({
@@ -9307,23 +9303,23 @@ var lr = {
9307
9303
  "\\textsf": "textsf",
9308
9304
  "\\texttt": "texttt",
9309
9305
  "\\textnormal": "textrm"
9310
- }, or = {
9306
+ }, ur = {
9311
9307
  "\\textbf": "textbf",
9312
9308
  "\\textmd": "textmd"
9313
- }, _1 = {
9309
+ }, Q1 = {
9314
9310
  "\\textit": "textit",
9315
9311
  "\\textup": "textup"
9316
- }, ur = (r, e) => {
9312
+ }, or = (r, e) => {
9317
9313
  var t = r.font;
9318
9314
  if (t) {
9319
9315
  if (lr[t])
9320
9316
  return e.withTextFontFamily(lr[t]);
9321
- if (or[t])
9322
- return e.withTextFontWeight(or[t]);
9317
+ if (ur[t])
9318
+ return e.withTextFontWeight(ur[t]);
9323
9319
  if (t === "\\emph")
9324
9320
  return e.fontShape === "textit" ? e.withTextFontShape("textup") : e.withTextFontShape("textit");
9325
9321
  } else return e;
9326
- return e.withTextFontShape(_1[t]);
9322
+ return e.withTextFontShape(Q1[t]);
9327
9323
  };
9328
9324
  B({
9329
9325
  type: "text",
@@ -9361,11 +9357,11 @@ B({
9361
9357
  };
9362
9358
  },
9363
9359
  htmlBuilder(r, e) {
9364
- var t = ur(r, e), a = t0(r.body, t, !0);
9360
+ var t = or(r, e), a = t0(r.body, t, !0);
9365
9361
  return b.makeSpan(["mord", "text"], a, t);
9366
9362
  },
9367
9363
  mathmlBuilder(r, e) {
9368
- var t = ur(r, e);
9364
+ var t = or(r, e);
9369
9365
  return V0(r.body, t);
9370
9366
  }
9371
9367
  });
@@ -9387,7 +9383,7 @@ B({
9387
9383
  };
9388
9384
  },
9389
9385
  htmlBuilder(r, e) {
9390
- var t = P(r.body, e), a = b.makeLineSpan("underline-line", e), n = e.fontMetrics().defaultRuleThickness, s = b.makeVList({
9386
+ var t = L(r.body, e), a = b.makeLineSpan("underline-line", e), n = e.fontMetrics().defaultRuleThickness, s = b.makeVList({
9391
9387
  positionType: "top",
9392
9388
  positionData: t.height,
9393
9389
  children: [{
@@ -9433,7 +9429,7 @@ B({
9433
9429
  };
9434
9430
  },
9435
9431
  htmlBuilder(r, e) {
9436
- var t = P(r.body, e), a = e.fontMetrics().axisHeight, n = 0.5 * (t.height - a - (t.depth + a));
9432
+ var t = L(r.body, e), a = e.fontMetrics().axisHeight, n = 0.5 * (t.height - a - (t.depth + a));
9437
9433
  return b.makeVList({
9438
9434
  positionType: "shift",
9439
9435
  positionData: n,
@@ -9459,8 +9455,8 @@ B({
9459
9455
  },
9460
9456
  htmlBuilder(r, e) {
9461
9457
  for (var t = hr(r), a = [], n = e.havingStyle(e.style.text()), s = 0; s < t.length; s++) {
9462
- var o = t[s];
9463
- o === "~" && (o = "\\textasciitilde"), a.push(b.makeSymbol(o, "Typewriter-Regular", r.mode, n, ["mord", "texttt"]));
9458
+ var u = t[s];
9459
+ u === "~" && (u = "\\textasciitilde"), a.push(b.makeSymbol(u, "Typewriter-Regular", r.mode, n, ["mord", "texttt"]));
9464
9460
  }
9465
9461
  return b.makeSpan(["mord", "text"].concat(n.sizingClasses(e)), b.tryCombineChars(a), n);
9466
9462
  },
@@ -9470,22 +9466,22 @@ B({
9470
9466
  }
9471
9467
  });
9472
9468
  var hr = (r) => r.body.replace(/ /g, r.star ? "␣" : " "), L0 = Tr, ia = `[ \r
9473
- ]`, e4 = "\\\\[a-zA-Z@]+", t4 = "\\\\[^\uD800-\uDFFF]", r4 = "(" + e4 + ")" + ia + "*", a4 = `\\\\(
9469
+ ]`, _1 = "\\\\[a-zA-Z@]+", e4 = "\\\\[^\uD800-\uDFFF]", t4 = "(" + _1 + ")" + ia + "*", r4 = `\\\\(
9474
9470
  |[ \r ]+
9475
- ?)[ \r ]*`, ct = "[̀-ͯ]", n4 = new RegExp(ct + "+$"), i4 = "(" + ia + "+)|" + // whitespace
9476
- (a4 + "|") + // \whitespace
9471
+ ?)[ \r ]*`, ct = "[̀-ͯ]", a4 = new RegExp(ct + "+$"), n4 = "(" + ia + "+)|" + // whitespace
9472
+ (r4 + "|") + // \whitespace
9477
9473
  "([!-\\[\\]-‧‪-퟿豈-￿]" + // single codepoint
9478
9474
  (ct + "*") + // ...plus accents
9479
9475
  "|[\uD800-\uDBFF][\uDC00-\uDFFF]" + // surrogate pair
9480
9476
  (ct + "*") + // ...plus accents
9481
9477
  "|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5" + // \verb unstarred
9482
- ("|" + r4) + // \macroName + spaces
9483
- ("|" + t4 + ")");
9478
+ ("|" + t4) + // \macroName + spaces
9479
+ ("|" + e4 + ")");
9484
9480
  class mr {
9485
9481
  // Category codes. The lexer only supports comment characters (14) for now.
9486
9482
  // MacroExpander additionally distinguishes active (13).
9487
9483
  constructor(e, t) {
9488
- this.input = void 0, this.settings = void 0, this.tokenRegex = void 0, this.catcodes = void 0, this.input = e, this.settings = t, this.tokenRegex = new RegExp(i4, "g"), this.catcodes = {
9484
+ this.input = void 0, this.settings = void 0, this.tokenRegex = void 0, this.catcodes = void 0, this.input = e, this.settings = t, this.tokenRegex = new RegExp(n4, "g"), this.catcodes = {
9489
9485
  "%": 14,
9490
9486
  // comment character
9491
9487
  "~": 13
@@ -9501,20 +9497,20 @@ class mr {
9501
9497
  lex() {
9502
9498
  var e = this.input, t = this.tokenRegex.lastIndex;
9503
9499
  if (t === e.length)
9504
- return new m0("EOF", new o0(this, t, t));
9500
+ return new m0("EOF", new u0(this, t, t));
9505
9501
  var a = this.tokenRegex.exec(e);
9506
9502
  if (a === null || a.index !== t)
9507
- throw new M("Unexpected character: '" + e[t] + "'", new m0(e[t], new o0(this, t, t + 1)));
9503
+ throw new M("Unexpected character: '" + e[t] + "'", new m0(e[t], new u0(this, t, t + 1)));
9508
9504
  var n = a[6] || a[3] || (a[2] ? "\\ " : " ");
9509
9505
  if (this.catcodes[n] === 14) {
9510
9506
  var s = e.indexOf(`
9511
9507
  `, this.tokenRegex.lastIndex);
9512
9508
  return s === -1 ? (this.tokenRegex.lastIndex = e.length, this.settings.reportNonstrict("commentAtEnd", "% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")) : this.tokenRegex.lastIndex = s + 1, this.lex();
9513
9509
  }
9514
- return new m0(n, new o0(this, t, this.tokenRegex.lastIndex));
9510
+ return new m0(n, new u0(this, t, this.tokenRegex.lastIndex));
9515
9511
  }
9516
9512
  }
9517
- class s4 {
9513
+ class i4 {
9518
9514
  /**
9519
9515
  * Both arguments are optional. The first argument is an object of
9520
9516
  * built-in mappings which never change. The second argument is an object
@@ -9585,7 +9581,7 @@ class s4 {
9585
9581
  t == null ? delete this.current[e] : this.current[e] = t;
9586
9582
  }
9587
9583
  }
9588
- var l4 = jr;
9584
+ var s4 = jr;
9589
9585
  m("\\noexpand", function(r) {
9590
9586
  var e = r.popToken();
9591
9587
  return r.isExpandable(e.text) && (e.noexpand = !0, e.treatAsRelax = !0), {
@@ -9689,10 +9685,10 @@ var Dt = (r, e, t, a) => {
9689
9685
  var n = r.consumeArg().tokens;
9690
9686
  if (n.length !== 1)
9691
9687
  throw new M("\\newcommand's first argument must be a macro name");
9692
- var s = n[0].text, o = r.isDefined(s);
9693
- if (o && !e)
9688
+ var s = n[0].text, u = r.isDefined(s);
9689
+ if (u && !e)
9694
9690
  throw new M("\\newcommand{" + s + "} attempting to redefine " + (s + "; use \\renewcommand"));
9695
- if (!o && !t)
9691
+ if (!u && !t)
9696
9692
  throw new M("\\renewcommand{" + s + "} when command " + s + " does not yet exist; use \\newcommand");
9697
9693
  var h = 0;
9698
9694
  if (n = r.consumeArg().tokens, n.length === 1 && n[0].text === "[") {
@@ -9702,7 +9698,7 @@ var Dt = (r, e, t, a) => {
9702
9698
  throw new M("Invalid number of arguments: " + c);
9703
9699
  h = parseInt(c), n = r.consumeArg().tokens;
9704
9700
  }
9705
- return o && a || r.macros.set(s, {
9701
+ return u && a || r.macros.set(s, {
9706
9702
  tokens: n,
9707
9703
  numArgs: h
9708
9704
  }), "";
@@ -9855,7 +9851,7 @@ var dr = {
9855
9851
  };
9856
9852
  m("\\dots", function(r) {
9857
9853
  var e = "\\dotso", t = r.expandAfterFuture().text;
9858
- return t in dr ? e = dr[t] : (t.slice(0, 4) === "\\not" || t in $.math && q.contains(["bin", "rel"], $.math[t].group)) && (e = "\\dotsb"), e;
9854
+ return t in dr ? e = dr[t] : (t.slice(0, 4) === "\\not" || t in $.math && ["bin", "rel"].includes($.math[t].group)) && (e = "\\dotsb"), e;
9859
9855
  });
9860
9856
  var Ct = {
9861
9857
  // \rightdelim@ checks for the following:
@@ -10078,10 +10074,10 @@ m("\\braket", "\\mathinner{\\langle{#1}\\rangle}");
10078
10074
  m("\\Bra", "\\left\\langle#1\\right|");
10079
10075
  m("\\Ket", "\\left|#1\\right\\rangle");
10080
10076
  var la = (r) => (e) => {
10081
- var t = e.consumeArg().tokens, a = e.consumeArg().tokens, n = e.consumeArg().tokens, s = e.consumeArg().tokens, o = e.macros.get("|"), h = e.macros.get("\\|");
10077
+ var t = e.consumeArg().tokens, a = e.consumeArg().tokens, n = e.consumeArg().tokens, s = e.consumeArg().tokens, u = e.macros.get("|"), h = e.macros.get("\\|");
10082
10078
  e.macros.beginGroup();
10083
10079
  var c = (y) => (w) => {
10084
- r && (w.macros.set("|", o), n.length && w.macros.set("\\|", h));
10080
+ r && (w.macros.set("|", u), n.length && w.macros.set("\\|", h));
10085
10081
  var x = y;
10086
10082
  if (!y && n.length) {
10087
10083
  var z = w.future();
@@ -10166,7 +10162,7 @@ m("\\grayH", "\\textcolor{##3b3e40}{#1}");
10166
10162
  m("\\grayI", "\\textcolor{##21242c}{#1}");
10167
10163
  m("\\kaBlue", "\\textcolor{##314453}{#1}");
10168
10164
  m("\\kaGreen", "\\textcolor{##71B307}{#1}");
10169
- var oa = {
10165
+ var ua = {
10170
10166
  "^": !0,
10171
10167
  // Parser.js
10172
10168
  _: !0,
@@ -10176,9 +10172,9 @@ var oa = {
10176
10172
  "\\nolimits": !0
10177
10173
  // Parser.js
10178
10174
  };
10179
- class o4 {
10175
+ class l4 {
10180
10176
  constructor(e, t, a) {
10181
- this.settings = void 0, this.expansionCount = void 0, this.lexer = void 0, this.macros = void 0, this.stack = void 0, this.mode = void 0, this.settings = t, this.expansionCount = 0, this.feed(e), this.macros = new s4(l4, t.macros), this.mode = a, this.stack = [];
10177
+ this.settings = void 0, this.expansionCount = void 0, this.lexer = void 0, this.macros = void 0, this.stack = void 0, this.mode = void 0, this.settings = t, this.expansionCount = 0, this.feed(e), this.macros = new i4(s4, t.macros), this.mode = a, this.stack = [];
10182
10178
  }
10183
10179
  /**
10184
10180
  * Feed a new input string to the same MacroExpander
@@ -10257,7 +10253,7 @@ class o4 {
10257
10253
  start: t,
10258
10254
  end: a
10259
10255
  } = this.consumeArg());
10260
- return this.pushToken(new m0("EOF", a.loc)), this.pushTokens(n), new m0("", o0.range(t, a));
10256
+ return this.pushToken(new m0("EOF", a.loc)), this.pushTokens(n), new m0("", u0.range(t, a));
10261
10257
  }
10262
10258
  /**
10263
10259
  * Consume all following space tokens, without expansion.
@@ -10278,24 +10274,24 @@ class o4 {
10278
10274
  consumeArg(e) {
10279
10275
  var t = [], a = e && e.length > 0;
10280
10276
  a || this.consumeSpaces();
10281
- var n = this.future(), s, o = 0, h = 0;
10277
+ var n = this.future(), s, u = 0, h = 0;
10282
10278
  do {
10283
10279
  if (s = this.popToken(), t.push(s), s.text === "{")
10284
- ++o;
10280
+ ++u;
10285
10281
  else if (s.text === "}") {
10286
- if (--o, o === -1)
10282
+ if (--u, u === -1)
10287
10283
  throw new M("Extra }", s);
10288
10284
  } else if (s.text === "EOF")
10289
10285
  throw new M("Unexpected end of input in a macro argument, expected '" + (e && a ? e[h] : "}") + "'", s);
10290
10286
  if (e && a)
10291
- if ((o === 0 || o === 1 && e[h] === "{") && s.text === e[h]) {
10287
+ if ((u === 0 || u === 1 && e[h] === "{") && s.text === e[h]) {
10292
10288
  if (++h, h === e.length) {
10293
10289
  t.splice(-h, h);
10294
10290
  break;
10295
10291
  }
10296
10292
  } else
10297
10293
  h = 0;
10298
- } while (o !== 0 || a);
10294
+ } while (u !== 0 || a);
10299
10295
  return n.text === "{" && t[t.length - 1].text === "}" && (t.pop(), t.shift()), t.reverse(), {
10300
10296
  tokens: t,
10301
10297
  start: n,
@@ -10316,9 +10312,9 @@ class o4 {
10316
10312
  throw new M("Use of the macro doesn't match its definition", s);
10317
10313
  }
10318
10314
  }
10319
- for (var o = [], h = 0; h < e; h++)
10320
- o.push(this.consumeArg(t && t[h + 1]).tokens);
10321
- return o;
10315
+ for (var u = [], h = 0; h < e; h++)
10316
+ u.push(this.consumeArg(t && t[h + 1]).tokens);
10317
+ return u;
10322
10318
  }
10323
10319
  /**
10324
10320
  * Increment `expansionCount` by the specified amount.
@@ -10355,7 +10351,7 @@ class o4 {
10355
10351
  return this.pushToken(t), !1;
10356
10352
  }
10357
10353
  this.countExpansion(1);
10358
- var s = n.tokens, o = this.consumeArgs(n.numArgs, n.delimiters);
10354
+ var s = n.tokens, u = this.consumeArgs(n.numArgs, n.delimiters);
10359
10355
  if (n.numArgs) {
10360
10356
  s = s.slice();
10361
10357
  for (var h = s.length - 1; h >= 0; --h) {
@@ -10366,7 +10362,7 @@ class o4 {
10366
10362
  if (c = s[--h], c.text === "#")
10367
10363
  s.splice(h + 1, 1);
10368
10364
  else if (/^[1-9]$/.test(c.text))
10369
- s.splice(h, 2, ...o[+c.text - 1]);
10365
+ s.splice(h, 2, ...u[+c.text - 1]);
10370
10366
  else
10371
10367
  throw new M("Not a valid argument number", c);
10372
10368
  }
@@ -10440,7 +10436,7 @@ class o4 {
10440
10436
  if (typeof n == "string") {
10441
10437
  var s = 0;
10442
10438
  if (n.indexOf("#") !== -1)
10443
- for (var o = n.replace(/##/g, ""); o.indexOf("#" + (s + 1)) !== -1; )
10439
+ for (var u = n.replace(/##/g, ""); u.indexOf("#" + (s + 1)) !== -1; )
10444
10440
  ++s;
10445
10441
  for (var h = new mr(n, this.settings), c = [], p = h.lex(); p.text !== "EOF"; )
10446
10442
  c.push(p), p = h.lex();
@@ -10460,7 +10456,7 @@ class o4 {
10460
10456
  * `implicitCommands`.
10461
10457
  */
10462
10458
  isDefined(e) {
10463
- return this.macros.has(e) || L0.hasOwnProperty(e) || $.math.hasOwnProperty(e) || $.text.hasOwnProperty(e) || oa.hasOwnProperty(e);
10459
+ return this.macros.has(e) || L0.hasOwnProperty(e) || $.math.hasOwnProperty(e) || $.text.hasOwnProperty(e) || ua.hasOwnProperty(e);
10464
10460
  }
10465
10461
  /**
10466
10462
  * Determine whether a command is expandable.
@@ -10968,7 +10964,7 @@ var fr = /^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗ
10968
10964
  };
10969
10965
  class He {
10970
10966
  constructor(e, t) {
10971
- this.mode = void 0, this.gullet = void 0, this.settings = void 0, this.leftrightDepth = void 0, this.nextToken = void 0, this.mode = "math", this.gullet = new o4(e, t, this.mode), this.settings = t, this.leftrightDepth = 0;
10967
+ this.mode = void 0, this.gullet = void 0, this.settings = void 0, this.leftrightDepth = void 0, this.nextToken = void 0, this.mode = "math", this.gullet = new l4(e, t, this.mode), this.settings = t, this.leftrightDepth = 0;
10972
10968
  }
10973
10969
  /**
10974
10970
  * Checks a result to make sure it has the right type, and throws an
@@ -11062,18 +11058,18 @@ class He {
11062
11058
  t = n, a = e[n].replaceWith;
11063
11059
  }
11064
11060
  if (t !== -1 && a) {
11065
- var s, o, h = e.slice(0, t), c = e.slice(t + 1);
11061
+ var s, u, h = e.slice(0, t), c = e.slice(t + 1);
11066
11062
  h.length === 1 && h[0].type === "ordgroup" ? s = h[0] : s = {
11067
11063
  type: "ordgroup",
11068
11064
  mode: this.mode,
11069
11065
  body: h
11070
- }, c.length === 1 && c[0].type === "ordgroup" ? o = c[0] : o = {
11066
+ }, c.length === 1 && c[0].type === "ordgroup" ? u = c[0] : u = {
11071
11067
  type: "ordgroup",
11072
11068
  mode: this.mode,
11073
11069
  body: c
11074
11070
  };
11075
11071
  var p;
11076
- return a === "\\\\abovefrac" ? p = this.callFunction(a, [s, e[t], o], []) : p = this.callFunction(a, [s, o], []), [p];
11072
+ return a === "\\\\abovefrac" ? p = this.callFunction(a, [s, e[t], u], []) : p = this.callFunction(a, [s, u], []), [p];
11077
11073
  } else
11078
11074
  return e;
11079
11075
  }
@@ -11127,8 +11123,8 @@ class He {
11127
11123
  var s = this.fetch();
11128
11124
  if (s.text === "\\limits" || s.text === "\\nolimits") {
11129
11125
  if (t && t.type === "op") {
11130
- var o = s.text === "\\limits";
11131
- t.limits = o, t.alwaysHandleSupSub = !0;
11126
+ var u = s.text === "\\limits";
11127
+ t.limits = u, t.alwaysHandleSupSub = !0;
11132
11128
  } else if (t && t.type === "operatorname")
11133
11129
  t.alwaysHandleSupSub && (t.limits = s.text === "\\limits");
11134
11130
  else
@@ -11200,23 +11196,23 @@ class He {
11200
11196
  if (this.mode === "math" && s.allowedInMath === !1)
11201
11197
  throw new M("Can't use function '" + n + "' in math mode", a);
11202
11198
  var {
11203
- args: o,
11199
+ args: u,
11204
11200
  optArgs: h
11205
11201
  } = this.parseArguments(n, s);
11206
- return this.callFunction(n, o, h, a, e);
11202
+ return this.callFunction(n, u, h, a, e);
11207
11203
  }
11208
11204
  /**
11209
11205
  * Call a function handler with a suitable context and arguments.
11210
11206
  */
11211
11207
  callFunction(e, t, a, n, s) {
11212
- var o = {
11208
+ var u = {
11213
11209
  funcName: e,
11214
11210
  parser: this,
11215
11211
  token: n,
11216
11212
  breakOnTokenText: s
11217
11213
  }, h = L0[e];
11218
11214
  if (h && h.handler)
11219
- return h.handler(o, t, a);
11215
+ return h.handler(u, t, a);
11220
11216
  throw new M("No function handler for " + e);
11221
11217
  }
11222
11218
  /**
@@ -11229,10 +11225,10 @@ class He {
11229
11225
  args: [],
11230
11226
  optArgs: []
11231
11227
  };
11232
- for (var n = [], s = [], o = 0; o < a; o++) {
11233
- var h = t.argTypes && t.argTypes[o], c = o < t.numOptionalArgs;
11228
+ for (var n = [], s = [], u = 0; u < a; u++) {
11229
+ var h = t.argTypes && t.argTypes[u], c = u < t.numOptionalArgs;
11234
11230
  (t.primitive && h == null || // \sqrt expands into primitive if optional argument doesn't exist
11235
- t.type === "sqrt" && o === 1 && s[0] == null) && (h = "primitive");
11231
+ t.type === "sqrt" && u === 1 && s[0] == null) && (h = "primitive");
11236
11232
  var p = this.parseGroupOfType("argument to '" + e + "'", h, c);
11237
11233
  if (c)
11238
11234
  s.push(p);
@@ -11281,10 +11277,10 @@ class He {
11281
11277
  case "primitive": {
11282
11278
  if (a)
11283
11279
  throw new M("A primitive argument cannot be optional");
11284
- var o = this.parseGroup(e);
11285
- if (o == null)
11280
+ var u = this.parseGroup(e);
11281
+ if (u == null)
11286
11282
  throw new M("Expected group as " + e, this.fetch());
11287
- return o;
11283
+ return u;
11288
11284
  }
11289
11285
  case "original":
11290
11286
  case null:
@@ -11319,8 +11315,8 @@ class He {
11319
11315
  * formed by the tokens plus some position information.
11320
11316
  */
11321
11317
  parseRegexGroup(e, t) {
11322
- for (var a = this.fetch(), n = a, s = "", o; (o = this.fetch()).text !== "EOF" && e.test(s + o.text); )
11323
- n = o, s += n.text, this.consume();
11318
+ for (var a = this.fetch(), n = a, s = "", u; (u = this.fetch()).text !== "EOF" && e.test(s + u.text); )
11319
+ n = u, s += n.text, this.consume();
11324
11320
  if (s === "")
11325
11321
  throw new M("Invalid " + t + ": '" + a.text + "'", a);
11326
11322
  return a.range(n, s);
@@ -11332,7 +11328,7 @@ class He {
11332
11328
  var t = this.parseStringGroup("color", e);
11333
11329
  if (t == null)
11334
11330
  return null;
11335
- var a = /^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);
11331
+ var a = /^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);
11336
11332
  if (!a)
11337
11333
  throw new M("Invalid color: '" + t.text + "'", t);
11338
11334
  var n = a[0];
@@ -11394,13 +11390,13 @@ class He {
11394
11390
  t && this.switchMode(t), this.gullet.beginGroup();
11395
11391
  var s = this.parseExpression(!1, "EOF");
11396
11392
  this.expect("EOF"), this.gullet.endGroup();
11397
- var o = {
11393
+ var u = {
11398
11394
  type: "ordgroup",
11399
11395
  mode: this.mode,
11400
11396
  loc: a.loc,
11401
11397
  body: s
11402
11398
  };
11403
- return t && this.switchMode(n), o;
11399
+ return t && this.switchMode(n), u;
11404
11400
  }
11405
11401
  /**
11406
11402
  * Parses an ordinary group, which is either a single nucleus (like "x")
@@ -11412,13 +11408,13 @@ class He {
11412
11408
  var a = this.fetch(), n = a.text, s;
11413
11409
  if (n === "{" || n === "\\begingroup") {
11414
11410
  this.consume();
11415
- var o = n === "{" ? "}" : "\\endgroup";
11411
+ var u = n === "{" ? "}" : "\\endgroup";
11416
11412
  this.gullet.beginGroup();
11417
- var h = this.parseExpression(!1, o), c = this.fetch();
11418
- this.expect(o), this.gullet.endGroup(), s = {
11413
+ var h = this.parseExpression(!1, u), c = this.fetch();
11414
+ this.expect(u), this.gullet.endGroup(), s = {
11419
11415
  type: "ordgroup",
11420
11416
  mode: this.mode,
11421
- loc: o0.range(a, c),
11417
+ loc: u0.range(a, c),
11422
11418
  body: h,
11423
11419
  // A group formed by \begingroup...\endgroup is a semi-simple group
11424
11420
  // which doesn't affect spacing in math mode, i.e., is transparent.
@@ -11426,7 +11422,7 @@ class He {
11426
11422
  // use-begingroup-instead-of-bgroup
11427
11423
  semisimple: n === "\\begingroup" || void 0
11428
11424
  };
11429
- } else if (s = this.parseFunction(t, e) || this.parseSymbol(), s == null && n[0] === "\\" && !oa.hasOwnProperty(n)) {
11425
+ } else if (s = this.parseFunction(t, e) || this.parseSymbol(), s == null && n[0] === "\\" && !ua.hasOwnProperty(n)) {
11430
11426
  if (this.settings.throwOnError)
11431
11427
  throw new M("Undefined control sequence: " + n, a);
11432
11428
  s = this.formatUnsupportedCmd(n), this.consume();
@@ -11447,17 +11443,17 @@ class He {
11447
11443
  s === "-" && e[a + 1].text === "-" && (a + 1 < t && e[a + 2].text === "-" ? (e.splice(a, 3, {
11448
11444
  type: "textord",
11449
11445
  mode: "text",
11450
- loc: o0.range(n, e[a + 2]),
11446
+ loc: u0.range(n, e[a + 2]),
11451
11447
  text: "---"
11452
11448
  }), t -= 2) : (e.splice(a, 2, {
11453
11449
  type: "textord",
11454
11450
  mode: "text",
11455
- loc: o0.range(n, e[a + 1]),
11451
+ loc: u0.range(n, e[a + 1]),
11456
11452
  text: "--"
11457
11453
  }), t -= 1)), (s === "'" || s === "`") && e[a + 1].text === s && (e.splice(a, 2, {
11458
11454
  type: "textord",
11459
11455
  mode: "text",
11460
- loc: o0.range(n, e[a + 1]),
11456
+ loc: u0.range(n, e[a + 1]),
11461
11457
  text: s + s
11462
11458
  }), t -= 1);
11463
11459
  }
@@ -11482,13 +11478,13 @@ class He {
11482
11478
  };
11483
11479
  }
11484
11480
  pr.hasOwnProperty(t[0]) && !$[this.mode][t[0]] && (this.settings.strict && this.mode === "math" && this.settings.reportNonstrict("unicodeTextInMathMode", 'Accented Unicode text character "' + t[0] + '" used in math mode', e), t = pr[t[0]] + t.slice(1));
11485
- var s = n4.exec(t);
11481
+ var s = a4.exec(t);
11486
11482
  s && (t = t.substring(0, s.index), t === "i" ? t = "ı" : t === "j" && (t = "ȷ"));
11487
- var o;
11483
+ var u;
11488
11484
  if ($[this.mode][t]) {
11489
11485
  this.settings.strict && this.mode === "math" && lt.indexOf(t) >= 0 && this.settings.reportNonstrict("unicodeTextInMathMode", 'Latin-1/Unicode text character "' + t[0] + '" used in math mode', e);
11490
- var h = $[this.mode][t].group, c = o0.range(e), p;
11491
- if (Ka.hasOwnProperty(h)) {
11486
+ var h = $[this.mode][t].group, c = u0.range(e), p;
11487
+ if (Za.hasOwnProperty(h)) {
11492
11488
  var g = h;
11493
11489
  p = {
11494
11490
  type: "atom",
@@ -11504,12 +11500,12 @@ class He {
11504
11500
  loc: c,
11505
11501
  text: t
11506
11502
  };
11507
- o = p;
11503
+ u = p;
11508
11504
  } else if (t.charCodeAt(0) >= 128)
11509
- this.settings.strict && (gr(t.charCodeAt(0)) ? this.mode === "math" && this.settings.reportNonstrict("unicodeTextInMathMode", 'Unicode text character "' + t[0] + '" used in math mode', e) : this.settings.reportNonstrict("unknownSymbol", 'Unrecognized Unicode character "' + t[0] + '"' + (" (" + t.charCodeAt(0) + ")"), e)), o = {
11505
+ this.settings.strict && (gr(t.charCodeAt(0)) ? this.mode === "math" && this.settings.reportNonstrict("unicodeTextInMathMode", 'Unicode text character "' + t[0] + '" used in math mode', e) : this.settings.reportNonstrict("unknownSymbol", 'Unrecognized Unicode character "' + t[0] + '"' + (" (" + t.charCodeAt(0) + ")"), e)), u = {
11510
11506
  type: "textord",
11511
11507
  mode: "text",
11512
- loc: o0.range(e),
11508
+ loc: u0.range(e),
11513
11509
  text: t
11514
11510
  };
11515
11511
  else
@@ -11522,18 +11518,18 @@ class He {
11522
11518
  var x = at[w][this.mode] || at[w].text;
11523
11519
  if (!x)
11524
11520
  throw new M("Accent " + w + " unsupported in " + this.mode + " mode", e);
11525
- o = {
11521
+ u = {
11526
11522
  type: "accent",
11527
11523
  mode: this.mode,
11528
- loc: o0.range(e),
11524
+ loc: u0.range(e),
11529
11525
  label: x,
11530
11526
  isStretchy: !1,
11531
11527
  isShifty: !0,
11532
11528
  // $FlowFixMe
11533
- base: o
11529
+ base: u
11534
11530
  };
11535
11531
  }
11536
- return o;
11532
+ return u;
11537
11533
  }
11538
11534
  }
11539
11535
  He.endOfExpression = ["}", "\\endgroup", "\\end", "\\right", "&"];
@@ -11554,18 +11550,18 @@ var Nt = function(e, t) {
11554
11550
  }];
11555
11551
  }
11556
11552
  return n;
11557
- }, ua = function(e, t, a) {
11553
+ }, oa = function(e, t, a) {
11558
11554
  t.textContent = "";
11559
11555
  var n = qt(e, a).toNode();
11560
11556
  t.appendChild(n);
11561
11557
  };
11562
- typeof document < "u" && document.compatMode !== "CSS1Compat" && (typeof console < "u" && console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."), ua = function() {
11558
+ typeof document < "u" && document.compatMode !== "CSS1Compat" && (typeof console < "u" && console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."), oa = function() {
11563
11559
  throw new M("KaTeX doesn't work in quirks mode.");
11564
11560
  });
11565
11561
  var u4 = function(e, t) {
11566
11562
  var a = qt(e, t).toMarkup();
11567
11563
  return a;
11568
- }, h4 = function(e, t) {
11564
+ }, o4 = function(e, t) {
11569
11565
  var a = new dt(t);
11570
11566
  return Nt(e, a);
11571
11567
  }, ha = function(e, t, a) {
@@ -11577,35 +11573,35 @@ var u4 = function(e, t) {
11577
11573
  var a = new dt(t);
11578
11574
  try {
11579
11575
  var n = Nt(e, a);
11580
- return y1(n, e, a);
11576
+ return b1(n, e, a);
11581
11577
  } catch (s) {
11582
11578
  return ha(s, e, a);
11583
11579
  }
11584
- }, m4 = function(e, t) {
11580
+ }, h4 = function(e, t) {
11585
11581
  var a = new dt(t);
11586
11582
  try {
11587
11583
  var n = Nt(e, a);
11588
- return x1(n, e, a);
11584
+ return y1(n, e, a);
11589
11585
  } catch (s) {
11590
11586
  return ha(s, e, a);
11591
11587
  }
11592
- }, c4 = "0.16.23", d4 = {
11588
+ }, m4 = "0.16.25", c4 = {
11593
11589
  Span: he,
11594
11590
  Anchor: vt,
11595
11591
  SymbolNode: p0,
11596
11592
  SvgNode: C0,
11597
11593
  PathNode: G0,
11598
11594
  LineNode: st
11599
- }, f4 = {
11595
+ }, d4 = {
11600
11596
  /**
11601
11597
  * Current KaTeX version
11602
11598
  */
11603
- version: c4,
11599
+ version: m4,
11604
11600
  /**
11605
11601
  * Renders the given LaTeX into an HTML+MathML combination, and adds
11606
11602
  * it as a child to the specified DOM node.
11607
11603
  */
11608
- render: ua,
11604
+ render: oa,
11609
11605
  /**
11610
11606
  * Renders the given LaTeX into an HTML+MathML combination string,
11611
11607
  * for sending to the client.
@@ -11627,7 +11623,7 @@ var u4 = function(e, t) {
11627
11623
  * The internal tree representation is unstable and is very likely
11628
11624
  * to change. Use at your own risk.
11629
11625
  */
11630
- __parse: h4,
11626
+ __parse: o4,
11631
11627
  /**
11632
11628
  * Renders the given LaTeX into an HTML+MathML internal DOM tree
11633
11629
  * representation, without flattening that representation to a string.
@@ -11645,12 +11641,12 @@ var u4 = function(e, t) {
11645
11641
  * The internal tree representation is unstable and is very likely
11646
11642
  * to change. Use at your own risk.
11647
11643
  */
11648
- __renderToHTMLTree: m4,
11644
+ __renderToHTMLTree: h4,
11649
11645
  /**
11650
11646
  * extends internal font metrics object with a new object
11651
11647
  * each key in the new object represents a font name
11652
11648
  */
11653
- __setFontMetrics: Va,
11649
+ __setFontMetrics: Ga,
11654
11650
  /**
11655
11651
  * adds a new symbol to builtin symbols table
11656
11652
  */
@@ -11672,7 +11668,7 @@ var u4 = function(e, t) {
11672
11668
  * The internal tree representation is unstable and is very likely
11673
11669
  * to change. Use at your own risk.
11674
11670
  */
11675
- __domTree: d4
11671
+ __domTree: c4
11676
11672
  };
11677
11673
  export {
11678
11674
  M as ParseError,
@@ -11680,13 +11676,13 @@ export {
11680
11676
  B as __defineFunction,
11681
11677
  m as __defineMacro,
11682
11678
  i as __defineSymbol,
11683
- d4 as __domTree,
11684
- h4 as __parse,
11679
+ c4 as __domTree,
11680
+ o4 as __parse,
11685
11681
  qt as __renderToDomTree,
11686
- m4 as __renderToHTMLTree,
11687
- Va as __setFontMetrics,
11688
- f4 as default,
11689
- ua as render,
11682
+ h4 as __renderToHTMLTree,
11683
+ Ga as __setFontMetrics,
11684
+ d4 as default,
11685
+ oa as render,
11690
11686
  u4 as renderToString,
11691
- c4 as version
11687
+ m4 as version
11692
11688
  };