@algorisys/yappydraw 0.8.253

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 (43) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +45 -0
  3. package/chunks/AllPackages-DNX4gUvL.js +6879 -0
  4. package/chunks/BaseConfiguration-iE_YypNt.js +4401 -0
  5. package/chunks/Entities-XwxJEcR3.js +467 -0
  6. package/chunks/Factory--zguTNZ7.js +2768 -0
  7. package/chunks/InputJax-BYq2tqUz.js +42 -0
  8. package/chunks/MathItem-DD5NNBjZ.js +76 -0
  9. package/chunks/Options-BStFr0zv.js +199 -0
  10. package/chunks/PrioritizedList-TjDg4i-s.js +39 -0
  11. package/chunks/Styles-DdTYCumM.js +397 -0
  12. package/chunks/TeXAtom-Bp5xoo7F.js +2175 -0
  13. package/chunks/ai-providers-CycU8sO1.js +229 -0
  14. package/chunks/canva-ai-BREIRXSl.js +285 -0
  15. package/chunks/design-generator-C89SKTqv.js +149 -0
  16. package/chunks/drawing-engine-DLFI-cNg.js +903 -0
  17. package/chunks/drawings-store-C-PoHakg.js +109 -0
  18. package/chunks/ds-operations-D5B9Z5vO.js +253 -0
  19. package/chunks/export-game-DOlM1w0F.js +104 -0
  20. package/chunks/game-runtime-Hn9umSvi.js +346 -0
  21. package/chunks/gifenc.esm-48qFK9lH.js +278 -0
  22. package/chunks/html-DxnOvKy4.js +1694 -0
  23. package/chunks/image-utils-CJQBaGoQ.js +37 -0
  24. package/chunks/index-Bm3Inzn8.js +62744 -0
  25. package/chunks/lengths-DNFHULBn.js +70 -0
  26. package/chunks/liteAdaptor-BZby1Qz2.js +919 -0
  27. package/chunks/lucide-solid-D_6t_rbY.js +35452 -0
  28. package/chunks/markdown-to-slides-_1GIcD8M.js +96 -0
  29. package/chunks/mathjax-CnUrFnFS.js +117 -0
  30. package/chunks/mathjax-D6cR72fZ.js +26 -0
  31. package/chunks/morph-animator-7qX2s9j_.js +25 -0
  32. package/chunks/onboarding-tour-CthiVc3W.js +192 -0
  33. package/chunks/rocket-settings-CU8w9S9I.js +100 -0
  34. package/chunks/search-CnWoMV6A.js +384 -0
  35. package/chunks/slide-generator-BG0Oacui.js +553 -0
  36. package/chunks/svg-BvVc02XL.js +12498 -0
  37. package/chunks/tex-Cfi4Kfun.js +442 -0
  38. package/chunks/tinyfly-engine-Wfa50sVI.js +1804 -0
  39. package/chunks/turntable-ai-Bfq-oSsD.js +120 -0
  40. package/chunks/yappy-NspTXSPk.css +1 -0
  41. package/package.json +21 -0
  42. package/yappy.d.ts +34 -0
  43. package/yappy.js +9 -0
@@ -0,0 +1,2768 @@
1
+ import { r as x } from "./PrioritizedList-TjDg4i-s.js";
2
+ var o = {}, K;
3
+ function Ou() {
4
+ if (K) return o;
5
+ K = 1;
6
+ var u = o && o.__extends || /* @__PURE__ */ (function() {
7
+ var r = function(M, O) {
8
+ return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, t) {
9
+ n.__proto__ = t;
10
+ } || function(n, t) {
11
+ for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && (n[e] = t[e]);
12
+ }, r(M, O);
13
+ };
14
+ return function(M, O) {
15
+ if (typeof O != "function" && O !== null)
16
+ throw new TypeError("Class extends value " + String(O) + " is not a constructor or null");
17
+ r(M, O);
18
+ function n() {
19
+ this.constructor = M;
20
+ }
21
+ M.prototype = O === null ? Object.create(O) : (n.prototype = O.prototype, new n());
22
+ };
23
+ })(), S = o && o.__values || function(r) {
24
+ var M = typeof Symbol == "function" && Symbol.iterator, O = M && r[M], n = 0;
25
+ if (O) return O.call(r);
26
+ if (r && typeof r.length == "number") return {
27
+ next: function() {
28
+ return r && n >= r.length && (r = void 0), { value: r && r[n++], done: !r };
29
+ }
30
+ };
31
+ throw new TypeError(M ? "Object is not iterable." : "Symbol.iterator is not defined.");
32
+ }, E = o && o.__read || function(r, M) {
33
+ var O = typeof Symbol == "function" && r[Symbol.iterator];
34
+ if (!O) return r;
35
+ var n = O.call(r), t, e = [], f;
36
+ try {
37
+ for (; (M === void 0 || M-- > 0) && !(t = n.next()).done; ) e.push(t.value);
38
+ } catch (d) {
39
+ f = { error: d };
40
+ } finally {
41
+ try {
42
+ t && !t.done && (O = n.return) && O.call(n);
43
+ } finally {
44
+ if (f) throw f.error;
45
+ }
46
+ }
47
+ return e;
48
+ }, L = o && o.__spreadArray || function(r, M, O) {
49
+ if (O || arguments.length === 2) for (var n = 0, t = M.length, e; n < t; n++)
50
+ (e || !(n in M)) && (e || (e = Array.prototype.slice.call(M, 0, n)), e[n] = M[n]);
51
+ return r.concat(e || Array.prototype.slice.call(M));
52
+ };
53
+ Object.defineProperty(o, "__esModule", { value: !0 }), o.FunctionList = void 0;
54
+ var R = x(), l = (function(r) {
55
+ u(M, r);
56
+ function M() {
57
+ return r !== null && r.apply(this, arguments) || this;
58
+ }
59
+ return M.prototype.execute = function() {
60
+ for (var O, n, t = [], e = 0; e < arguments.length; e++)
61
+ t[e] = arguments[e];
62
+ try {
63
+ for (var f = S(this), d = f.next(); !d.done; d = f.next()) {
64
+ var I = d.value, m = I.item.apply(I, L([], E(t), !1));
65
+ if (m === !1)
66
+ return !1;
67
+ }
68
+ } catch (h) {
69
+ O = { error: h };
70
+ } finally {
71
+ try {
72
+ d && !d.done && (n = f.return) && n.call(f);
73
+ } finally {
74
+ if (O) throw O.error;
75
+ }
76
+ }
77
+ return !0;
78
+ }, M.prototype.asyncExecute = function() {
79
+ for (var O = [], n = 0; n < arguments.length; n++)
80
+ O[n] = arguments[n];
81
+ var t = -1, e = this.items;
82
+ return new Promise(function(f, d) {
83
+ (function I() {
84
+ for (var m; ++t < e.length; ) {
85
+ var h = (m = e[t]).item.apply(m, L([], E(O), !1));
86
+ if (h instanceof Promise) {
87
+ h.then(I).catch(function(a) {
88
+ return d(a);
89
+ });
90
+ return;
91
+ }
92
+ if (h === !1) {
93
+ f(!1);
94
+ return;
95
+ }
96
+ }
97
+ f(!0);
98
+ })();
99
+ });
100
+ }, M;
101
+ })(R.PrioritizedList);
102
+ return o.FunctionList = l, o;
103
+ }
104
+ var v = {}, q;
105
+ function uu() {
106
+ if (q) return v;
107
+ q = 1;
108
+ var u = v && v.__read || function(O, n) {
109
+ var t = typeof Symbol == "function" && O[Symbol.iterator];
110
+ if (!t) return O;
111
+ var e = t.call(O), f, d = [], I;
112
+ try {
113
+ for (; (n === void 0 || n-- > 0) && !(f = e.next()).done; ) d.push(f.value);
114
+ } catch (m) {
115
+ I = { error: m };
116
+ } finally {
117
+ try {
118
+ f && !f.done && (t = e.return) && t.call(e);
119
+ } finally {
120
+ if (I) throw I.error;
121
+ }
122
+ }
123
+ return d;
124
+ }, S = v && v.__spreadArray || function(O, n, t) {
125
+ if (t || arguments.length === 2) for (var e = 0, f = n.length, d; e < f; e++)
126
+ (d || !(e in n)) && (d || (d = Array.prototype.slice.call(n, 0, e)), d[e] = n[e]);
127
+ return O.concat(d || Array.prototype.slice.call(n));
128
+ };
129
+ Object.defineProperty(v, "__esModule", { value: !0 }), v.split = v.isPercent = v.unicodeString = v.unicodeChars = v.quotePattern = v.sortLength = void 0;
130
+ function E(O, n) {
131
+ return O.length !== n.length ? n.length - O.length : O === n ? 0 : O < n ? -1 : 1;
132
+ }
133
+ v.sortLength = E;
134
+ function L(O) {
135
+ return O.replace(/([\^$(){}+*?\-|\[\]\:\\])/g, "\\$1");
136
+ }
137
+ v.quotePattern = L;
138
+ function R(O) {
139
+ return Array.from(O).map(function(n) {
140
+ return n.codePointAt(0);
141
+ });
142
+ }
143
+ v.unicodeChars = R;
144
+ function l(O) {
145
+ return String.fromCodePoint.apply(String, S([], u(O), !1));
146
+ }
147
+ v.unicodeString = l;
148
+ function r(O) {
149
+ return !!O.match(/%\s*$/);
150
+ }
151
+ v.isPercent = r;
152
+ function M(O) {
153
+ return O.trim().split(/\s+/);
154
+ }
155
+ return v.split = M, v;
156
+ }
157
+ var P = {}, k = {}, z;
158
+ function tu() {
159
+ return z || (z = 1, (function(u) {
160
+ var S = k && k.__values || function(L) {
161
+ var R = typeof Symbol == "function" && Symbol.iterator, l = R && L[R], r = 0;
162
+ if (l) return l.call(L);
163
+ if (L && typeof L.length == "number") return {
164
+ next: function() {
165
+ return L && r >= L.length && (L = void 0), { value: L && L[r++], done: !L };
166
+ }
167
+ };
168
+ throw new TypeError(R ? "Object is not iterable." : "Symbol.iterator is not defined.");
169
+ };
170
+ Object.defineProperty(u, "__esModule", { value: !0 }), u.Attributes = u.INHERIT = void 0, u.INHERIT = "_inherit_";
171
+ var E = (function() {
172
+ function L(R, l) {
173
+ this.global = l, this.defaults = Object.create(l), this.inherited = Object.create(this.defaults), this.attributes = Object.create(this.inherited), Object.assign(this.defaults, R);
174
+ }
175
+ return L.prototype.set = function(R, l) {
176
+ this.attributes[R] = l;
177
+ }, L.prototype.setList = function(R) {
178
+ Object.assign(this.attributes, R);
179
+ }, L.prototype.get = function(R) {
180
+ var l = this.attributes[R];
181
+ return l === u.INHERIT && (l = this.global[R]), l;
182
+ }, L.prototype.getExplicit = function(R) {
183
+ if (this.attributes.hasOwnProperty(R))
184
+ return this.attributes[R];
185
+ }, L.prototype.getList = function() {
186
+ for (var R, l, r = [], M = 0; M < arguments.length; M++)
187
+ r[M] = arguments[M];
188
+ var O = {};
189
+ try {
190
+ for (var n = S(r), t = n.next(); !t.done; t = n.next()) {
191
+ var e = t.value;
192
+ O[e] = this.get(e);
193
+ }
194
+ } catch (f) {
195
+ R = { error: f };
196
+ } finally {
197
+ try {
198
+ t && !t.done && (l = n.return) && l.call(n);
199
+ } finally {
200
+ if (R) throw R.error;
201
+ }
202
+ }
203
+ return O;
204
+ }, L.prototype.setInherited = function(R, l) {
205
+ this.inherited[R] = l;
206
+ }, L.prototype.getInherited = function(R) {
207
+ return this.inherited[R];
208
+ }, L.prototype.getDefault = function(R) {
209
+ return this.defaults[R];
210
+ }, L.prototype.isSet = function(R) {
211
+ return this.attributes.hasOwnProperty(R) || this.inherited.hasOwnProperty(R);
212
+ }, L.prototype.hasDefault = function(R) {
213
+ return R in this.defaults;
214
+ }, L.prototype.getExplicitNames = function() {
215
+ return Object.keys(this.attributes);
216
+ }, L.prototype.getInheritedNames = function() {
217
+ return Object.keys(this.inherited);
218
+ }, L.prototype.getDefaultNames = function() {
219
+ return Object.keys(this.defaults);
220
+ }, L.prototype.getGlobalNames = function() {
221
+ return Object.keys(this.global);
222
+ }, L.prototype.getAllAttributes = function() {
223
+ return this.attributes;
224
+ }, L.prototype.getAllInherited = function() {
225
+ return this.inherited;
226
+ }, L.prototype.getAllDefaults = function() {
227
+ return this.defaults;
228
+ }, L.prototype.getAllGlobals = function() {
229
+ return this.global;
230
+ }, L;
231
+ })();
232
+ u.Attributes = E;
233
+ })(k)), k;
234
+ }
235
+ var b = {}, U;
236
+ function nu() {
237
+ if (U) return b;
238
+ U = 1;
239
+ var u = b && b.__extends || /* @__PURE__ */ (function() {
240
+ var l = function(r, M) {
241
+ return l = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(O, n) {
242
+ O.__proto__ = n;
243
+ } || function(O, n) {
244
+ for (var t in n) Object.prototype.hasOwnProperty.call(n, t) && (O[t] = n[t]);
245
+ }, l(r, M);
246
+ };
247
+ return function(r, M) {
248
+ if (typeof M != "function" && M !== null)
249
+ throw new TypeError("Class extends value " + String(M) + " is not a constructor or null");
250
+ l(r, M);
251
+ function O() {
252
+ this.constructor = r;
253
+ }
254
+ r.prototype = M === null ? Object.create(M) : (O.prototype = M.prototype, new O());
255
+ };
256
+ })(), S = b && b.__assign || function() {
257
+ return S = Object.assign || function(l) {
258
+ for (var r, M = 1, O = arguments.length; M < O; M++) {
259
+ r = arguments[M];
260
+ for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (l[n] = r[n]);
261
+ }
262
+ return l;
263
+ }, S.apply(this, arguments);
264
+ }, E = b && b.__values || function(l) {
265
+ var r = typeof Symbol == "function" && Symbol.iterator, M = r && l[r], O = 0;
266
+ if (M) return M.call(l);
267
+ if (l && typeof l.length == "number") return {
268
+ next: function() {
269
+ return l && O >= l.length && (l = void 0), { value: l && l[O++], done: !l };
270
+ }
271
+ };
272
+ throw new TypeError(r ? "Object is not iterable." : "Symbol.iterator is not defined.");
273
+ };
274
+ Object.defineProperty(b, "__esModule", { value: !0 }), b.AbstractEmptyNode = b.AbstractNode = void 0;
275
+ var L = (function() {
276
+ function l(r, M, O) {
277
+ var n, t;
278
+ M === void 0 && (M = {}), O === void 0 && (O = []), this.factory = r, this.parent = null, this.properties = {}, this.childNodes = [];
279
+ try {
280
+ for (var e = E(Object.keys(M)), f = e.next(); !f.done; f = e.next()) {
281
+ var d = f.value;
282
+ this.setProperty(d, M[d]);
283
+ }
284
+ } catch (I) {
285
+ n = { error: I };
286
+ } finally {
287
+ try {
288
+ f && !f.done && (t = e.return) && t.call(e);
289
+ } finally {
290
+ if (n) throw n.error;
291
+ }
292
+ }
293
+ O.length && this.setChildren(O);
294
+ }
295
+ return Object.defineProperty(l.prototype, "kind", {
296
+ get: function() {
297
+ return "unknown";
298
+ },
299
+ enumerable: !1,
300
+ configurable: !0
301
+ }), l.prototype.setProperty = function(r, M) {
302
+ this.properties[r] = M;
303
+ }, l.prototype.getProperty = function(r) {
304
+ return this.properties[r];
305
+ }, l.prototype.getPropertyNames = function() {
306
+ return Object.keys(this.properties);
307
+ }, l.prototype.getAllProperties = function() {
308
+ return this.properties;
309
+ }, l.prototype.removeProperty = function() {
310
+ for (var r, M, O = [], n = 0; n < arguments.length; n++)
311
+ O[n] = arguments[n];
312
+ try {
313
+ for (var t = E(O), e = t.next(); !e.done; e = t.next()) {
314
+ var f = e.value;
315
+ delete this.properties[f];
316
+ }
317
+ } catch (d) {
318
+ r = { error: d };
319
+ } finally {
320
+ try {
321
+ e && !e.done && (M = t.return) && M.call(t);
322
+ } finally {
323
+ if (r) throw r.error;
324
+ }
325
+ }
326
+ }, l.prototype.isKind = function(r) {
327
+ return this.factory.nodeIsKind(this, r);
328
+ }, l.prototype.setChildren = function(r) {
329
+ var M, O;
330
+ this.childNodes = [];
331
+ try {
332
+ for (var n = E(r), t = n.next(); !t.done; t = n.next()) {
333
+ var e = t.value;
334
+ this.appendChild(e);
335
+ }
336
+ } catch (f) {
337
+ M = { error: f };
338
+ } finally {
339
+ try {
340
+ t && !t.done && (O = n.return) && O.call(n);
341
+ } finally {
342
+ if (M) throw M.error;
343
+ }
344
+ }
345
+ }, l.prototype.appendChild = function(r) {
346
+ return this.childNodes.push(r), r.parent = this, r;
347
+ }, l.prototype.replaceChild = function(r, M) {
348
+ var O = this.childIndex(M);
349
+ return O !== null && (this.childNodes[O] = r, r.parent = this, M.parent = null), r;
350
+ }, l.prototype.removeChild = function(r) {
351
+ var M = this.childIndex(r);
352
+ return M !== null && (this.childNodes.splice(M, 1), r.parent = null), r;
353
+ }, l.prototype.childIndex = function(r) {
354
+ var M = this.childNodes.indexOf(r);
355
+ return M === -1 ? null : M;
356
+ }, l.prototype.copy = function() {
357
+ var r, M, O = this.factory.create(this.kind);
358
+ O.properties = S({}, this.properties);
359
+ try {
360
+ for (var n = E(this.childNodes || []), t = n.next(); !t.done; t = n.next()) {
361
+ var e = t.value;
362
+ e && O.appendChild(e.copy());
363
+ }
364
+ } catch (f) {
365
+ r = { error: f };
366
+ } finally {
367
+ try {
368
+ t && !t.done && (M = n.return) && M.call(n);
369
+ } finally {
370
+ if (r) throw r.error;
371
+ }
372
+ }
373
+ return O;
374
+ }, l.prototype.findNodes = function(r) {
375
+ var M = [];
376
+ return this.walkTree(function(O) {
377
+ O.isKind(r) && M.push(O);
378
+ }), M;
379
+ }, l.prototype.walkTree = function(r, M) {
380
+ var O, n;
381
+ r(this, M);
382
+ try {
383
+ for (var t = E(this.childNodes), e = t.next(); !e.done; e = t.next()) {
384
+ var f = e.value;
385
+ f && f.walkTree(r, M);
386
+ }
387
+ } catch (d) {
388
+ O = { error: d };
389
+ } finally {
390
+ try {
391
+ e && !e.done && (n = t.return) && n.call(t);
392
+ } finally {
393
+ if (O) throw O.error;
394
+ }
395
+ }
396
+ return M;
397
+ }, l.prototype.toString = function() {
398
+ return this.kind + "(" + this.childNodes.join(",") + ")";
399
+ }, l;
400
+ })();
401
+ b.AbstractNode = L;
402
+ var R = (function(l) {
403
+ u(r, l);
404
+ function r() {
405
+ return l !== null && l.apply(this, arguments) || this;
406
+ }
407
+ return r.prototype.setChildren = function(M) {
408
+ }, r.prototype.appendChild = function(M) {
409
+ return M;
410
+ }, r.prototype.replaceChild = function(M, O) {
411
+ return O;
412
+ }, r.prototype.childIndex = function(M) {
413
+ return null;
414
+ }, r.prototype.walkTree = function(M, O) {
415
+ return M(this, O), O;
416
+ }, r.prototype.toString = function() {
417
+ return this.kind;
418
+ }, r;
419
+ })(L);
420
+ return b.AbstractEmptyNode = R, b;
421
+ }
422
+ var $;
423
+ function Y() {
424
+ return $ || ($ = 1, (function(u) {
425
+ var S = P && P.__extends || /* @__PURE__ */ (function() {
426
+ var h = function(a, i) {
427
+ return h = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(A, C) {
428
+ A.__proto__ = C;
429
+ } || function(A, C) {
430
+ for (var c in C) Object.prototype.hasOwnProperty.call(C, c) && (A[c] = C[c]);
431
+ }, h(a, i);
432
+ };
433
+ return function(a, i) {
434
+ if (typeof i != "function" && i !== null)
435
+ throw new TypeError("Class extends value " + String(i) + " is not a constructor or null");
436
+ h(a, i);
437
+ function A() {
438
+ this.constructor = a;
439
+ }
440
+ a.prototype = i === null ? Object.create(i) : (A.prototype = i.prototype, new A());
441
+ };
442
+ })(), E = P && P.__assign || function() {
443
+ return E = Object.assign || function(h) {
444
+ for (var a, i = 1, A = arguments.length; i < A; i++) {
445
+ a = arguments[i];
446
+ for (var C in a) Object.prototype.hasOwnProperty.call(a, C) && (h[C] = a[C]);
447
+ }
448
+ return h;
449
+ }, E.apply(this, arguments);
450
+ }, L = P && P.__values || function(h) {
451
+ var a = typeof Symbol == "function" && Symbol.iterator, i = a && h[a], A = 0;
452
+ if (i) return i.call(h);
453
+ if (h && typeof h.length == "number") return {
454
+ next: function() {
455
+ return h && A >= h.length && (h = void 0), { value: h && h[A++], done: !h };
456
+ }
457
+ };
458
+ throw new TypeError(a ? "Object is not iterable." : "Symbol.iterator is not defined.");
459
+ }, R = P && P.__read || function(h, a) {
460
+ var i = typeof Symbol == "function" && h[Symbol.iterator];
461
+ if (!i) return h;
462
+ var A = i.call(h), C, c = [], N;
463
+ try {
464
+ for (; (a === void 0 || a-- > 0) && !(C = A.next()).done; ) c.push(C.value);
465
+ } catch (y) {
466
+ N = { error: y };
467
+ } finally {
468
+ try {
469
+ C && !C.done && (i = A.return) && i.call(A);
470
+ } finally {
471
+ if (N) throw N.error;
472
+ }
473
+ }
474
+ return c;
475
+ };
476
+ Object.defineProperty(u, "__esModule", { value: !0 }), u.XMLNode = u.TextNode = u.AbstractMmlEmptyNode = u.AbstractMmlBaseNode = u.AbstractMmlLayoutNode = u.AbstractMmlTokenNode = u.AbstractMmlNode = u.indentAttributes = u.TEXCLASSNAMES = u.TEXCLASS = void 0;
477
+ var l = tu(), r = nu();
478
+ u.TEXCLASS = {
479
+ ORD: 0,
480
+ OP: 1,
481
+ BIN: 2,
482
+ REL: 3,
483
+ OPEN: 4,
484
+ CLOSE: 5,
485
+ PUNCT: 6,
486
+ INNER: 7,
487
+ VCENTER: 8,
488
+ NONE: -1
489
+ }, u.TEXCLASSNAMES = ["ORD", "OP", "BIN", "REL", "OPEN", "CLOSE", "PUNCT", "INNER", "VCENTER"];
490
+ var M = ["", "thinmathspace", "mediummathspace", "thickmathspace"], O = [
491
+ [0, -1, 2, 3, 0, 0, 0, 1],
492
+ [-1, -1, 0, 3, 0, 0, 0, 1],
493
+ [2, 2, 0, 0, 2, 0, 0, 2],
494
+ [3, 3, 0, 0, 3, 0, 0, 3],
495
+ [0, 0, 0, 0, 0, 0, 0, 0],
496
+ [0, -1, 2, 3, 0, 0, 0, 1],
497
+ [1, 1, 0, 1, 1, 1, 1, 1],
498
+ [1, -1, 2, 3, 1, 0, 1, 1]
499
+ ];
500
+ u.indentAttributes = [
501
+ "indentalign",
502
+ "indentalignfirst",
503
+ "indentshift",
504
+ "indentshiftfirst"
505
+ ];
506
+ var n = (function(h) {
507
+ S(a, h);
508
+ function a(i, A, C) {
509
+ A === void 0 && (A = {}), C === void 0 && (C = []);
510
+ var c = h.call(this, i) || this;
511
+ return c.prevClass = null, c.prevLevel = null, c.texclass = null, c.arity < 0 && (c.childNodes = [i.create("inferredMrow")], c.childNodes[0].parent = c), c.setChildren(C), c.attributes = new l.Attributes(i.getNodeClass(c.kind).defaults, i.getNodeClass("math").defaults), c.attributes.setList(A), c;
512
+ }
513
+ return a.prototype.copy = function(i) {
514
+ var A, C, c, N;
515
+ i === void 0 && (i = !1);
516
+ var y = this.factory.create(this.kind);
517
+ if (y.properties = E({}, this.properties), this.attributes) {
518
+ var T = this.attributes.getAllAttributes();
519
+ try {
520
+ for (var B = L(Object.keys(T)), D = B.next(); !D.done; D = B.next()) {
521
+ var g = D.value;
522
+ (g !== "id" || i) && y.attributes.set(g, T[g]);
523
+ }
524
+ } catch (H) {
525
+ A = { error: H };
526
+ } finally {
527
+ try {
528
+ D && !D.done && (C = B.return) && C.call(B);
529
+ } finally {
530
+ if (A) throw A.error;
531
+ }
532
+ }
533
+ }
534
+ if (this.childNodes && this.childNodes.length) {
535
+ var w = this.childNodes;
536
+ w.length === 1 && w[0].isInferred && (w = w[0].childNodes);
537
+ try {
538
+ for (var s = L(w), W = s.next(); !W.done; W = s.next()) {
539
+ var _ = W.value;
540
+ _ ? y.appendChild(_.copy()) : y.childNodes.push(null);
541
+ }
542
+ } catch (H) {
543
+ c = { error: H };
544
+ } finally {
545
+ try {
546
+ W && !W.done && (N = s.return) && N.call(s);
547
+ } finally {
548
+ if (c) throw c.error;
549
+ }
550
+ }
551
+ }
552
+ return y;
553
+ }, Object.defineProperty(a.prototype, "texClass", {
554
+ get: function() {
555
+ return this.texclass;
556
+ },
557
+ set: function(i) {
558
+ this.texclass = i;
559
+ },
560
+ enumerable: !1,
561
+ configurable: !0
562
+ }), Object.defineProperty(a.prototype, "isToken", {
563
+ get: function() {
564
+ return !1;
565
+ },
566
+ enumerable: !1,
567
+ configurable: !0
568
+ }), Object.defineProperty(a.prototype, "isEmbellished", {
569
+ get: function() {
570
+ return !1;
571
+ },
572
+ enumerable: !1,
573
+ configurable: !0
574
+ }), Object.defineProperty(a.prototype, "isSpacelike", {
575
+ get: function() {
576
+ return !1;
577
+ },
578
+ enumerable: !1,
579
+ configurable: !0
580
+ }), Object.defineProperty(a.prototype, "linebreakContainer", {
581
+ get: function() {
582
+ return !1;
583
+ },
584
+ enumerable: !1,
585
+ configurable: !0
586
+ }), Object.defineProperty(a.prototype, "hasNewLine", {
587
+ get: function() {
588
+ return !1;
589
+ },
590
+ enumerable: !1,
591
+ configurable: !0
592
+ }), Object.defineProperty(a.prototype, "arity", {
593
+ get: function() {
594
+ return 1 / 0;
595
+ },
596
+ enumerable: !1,
597
+ configurable: !0
598
+ }), Object.defineProperty(a.prototype, "isInferred", {
599
+ get: function() {
600
+ return !1;
601
+ },
602
+ enumerable: !1,
603
+ configurable: !0
604
+ }), Object.defineProperty(a.prototype, "Parent", {
605
+ get: function() {
606
+ for (var i = this.parent; i && i.notParent; )
607
+ i = i.Parent;
608
+ return i;
609
+ },
610
+ enumerable: !1,
611
+ configurable: !0
612
+ }), Object.defineProperty(a.prototype, "notParent", {
613
+ get: function() {
614
+ return !1;
615
+ },
616
+ enumerable: !1,
617
+ configurable: !0
618
+ }), a.prototype.setChildren = function(i) {
619
+ return this.arity < 0 ? this.childNodes[0].setChildren(i) : h.prototype.setChildren.call(this, i);
620
+ }, a.prototype.appendChild = function(i) {
621
+ var A, C, c = this;
622
+ if (this.arity < 0)
623
+ return this.childNodes[0].appendChild(i), i;
624
+ if (i.isInferred) {
625
+ if (this.arity === 1 / 0)
626
+ return i.childNodes.forEach(function(D) {
627
+ return h.prototype.appendChild.call(c, D);
628
+ }), i;
629
+ var N = i;
630
+ i = this.factory.create("mrow"), i.setChildren(N.childNodes), i.attributes = N.attributes;
631
+ try {
632
+ for (var y = L(N.getPropertyNames()), T = y.next(); !T.done; T = y.next()) {
633
+ var B = T.value;
634
+ i.setProperty(B, N.getProperty(B));
635
+ }
636
+ } catch (D) {
637
+ A = { error: D };
638
+ } finally {
639
+ try {
640
+ T && !T.done && (C = y.return) && C.call(y);
641
+ } finally {
642
+ if (A) throw A.error;
643
+ }
644
+ }
645
+ }
646
+ return h.prototype.appendChild.call(this, i);
647
+ }, a.prototype.replaceChild = function(i, A) {
648
+ return this.arity < 0 ? (this.childNodes[0].replaceChild(i, A), i) : h.prototype.replaceChild.call(this, i, A);
649
+ }, a.prototype.core = function() {
650
+ return this;
651
+ }, a.prototype.coreMO = function() {
652
+ return this;
653
+ }, a.prototype.coreIndex = function() {
654
+ return 0;
655
+ }, a.prototype.childPosition = function() {
656
+ for (var i, A, C = this, c = C.parent; c && c.notParent; )
657
+ C = c, c = c.parent;
658
+ if (c) {
659
+ var N = 0;
660
+ try {
661
+ for (var y = L(c.childNodes), T = y.next(); !T.done; T = y.next()) {
662
+ var B = T.value;
663
+ if (B === C)
664
+ return N;
665
+ N++;
666
+ }
667
+ } catch (D) {
668
+ i = { error: D };
669
+ } finally {
670
+ try {
671
+ T && !T.done && (A = y.return) && A.call(y);
672
+ } finally {
673
+ if (i) throw i.error;
674
+ }
675
+ }
676
+ }
677
+ return null;
678
+ }, a.prototype.setTeXclass = function(i) {
679
+ return this.getPrevClass(i), this.texClass != null ? this : i;
680
+ }, a.prototype.updateTeXclass = function(i) {
681
+ i && (this.prevClass = i.prevClass, this.prevLevel = i.prevLevel, i.prevClass = i.prevLevel = null, this.texClass = i.texClass);
682
+ }, a.prototype.getPrevClass = function(i) {
683
+ i && (this.prevClass = i.texClass, this.prevLevel = i.attributes.get("scriptlevel"));
684
+ }, a.prototype.texSpacing = function() {
685
+ var i = this.prevClass != null ? this.prevClass : u.TEXCLASS.NONE, A = this.texClass || u.TEXCLASS.ORD;
686
+ if (i === u.TEXCLASS.NONE || A === u.TEXCLASS.NONE)
687
+ return "";
688
+ i === u.TEXCLASS.VCENTER && (i = u.TEXCLASS.ORD), A === u.TEXCLASS.VCENTER && (A = u.TEXCLASS.ORD);
689
+ var C = O[i][A];
690
+ return (this.prevLevel > 0 || this.attributes.get("scriptlevel") > 0) && C >= 0 ? "" : M[Math.abs(C)];
691
+ }, a.prototype.hasSpacingAttributes = function() {
692
+ return this.isEmbellished && this.coreMO().hasSpacingAttributes();
693
+ }, a.prototype.setInheritedAttributes = function(i, A, C, c) {
694
+ var N, y;
695
+ i === void 0 && (i = {}), A === void 0 && (A = !1), C === void 0 && (C = 0), c === void 0 && (c = !1);
696
+ var T = this.attributes.getAllDefaults();
697
+ try {
698
+ for (var B = L(Object.keys(i)), D = B.next(); !D.done; D = B.next()) {
699
+ var g = D.value;
700
+ if (T.hasOwnProperty(g) || a.alwaysInherit.hasOwnProperty(g)) {
701
+ var w = R(i[g], 2), s = w[0], W = w[1], _ = (a.noInherit[s] || {})[this.kind] || {};
702
+ _[g] || this.attributes.setInherited(g, W);
703
+ }
704
+ }
705
+ } catch (p) {
706
+ N = { error: p };
707
+ } finally {
708
+ try {
709
+ D && !D.done && (y = B.return) && y.call(B);
710
+ } finally {
711
+ if (N) throw N.error;
712
+ }
713
+ }
714
+ var H = this.attributes.getExplicit("displaystyle");
715
+ H === void 0 && this.attributes.setInherited("displaystyle", A);
716
+ var Z = this.attributes.getExplicit("scriptlevel");
717
+ Z === void 0 && this.attributes.setInherited("scriptlevel", C), c && this.setProperty("texprimestyle", c);
718
+ var j = this.arity;
719
+ if (j >= 0 && j !== 1 / 0 && (j === 1 && this.childNodes.length === 0 || j !== 1 && this.childNodes.length !== j))
720
+ if (j < this.childNodes.length)
721
+ this.childNodes = this.childNodes.slice(0, j);
722
+ else
723
+ for (; this.childNodes.length < j; )
724
+ this.appendChild(this.factory.create("mrow"));
725
+ this.setChildInheritedAttributes(i, A, C, c);
726
+ }, a.prototype.setChildInheritedAttributes = function(i, A, C, c) {
727
+ var N, y;
728
+ try {
729
+ for (var T = L(this.childNodes), B = T.next(); !B.done; B = T.next()) {
730
+ var D = B.value;
731
+ D.setInheritedAttributes(i, A, C, c);
732
+ }
733
+ } catch (g) {
734
+ N = { error: g };
735
+ } finally {
736
+ try {
737
+ B && !B.done && (y = T.return) && y.call(T);
738
+ } finally {
739
+ if (N) throw N.error;
740
+ }
741
+ }
742
+ }, a.prototype.addInheritedAttributes = function(i, A) {
743
+ var C, c, N = E({}, i);
744
+ try {
745
+ for (var y = L(Object.keys(A)), T = y.next(); !T.done; T = y.next()) {
746
+ var B = T.value;
747
+ B !== "displaystyle" && B !== "scriptlevel" && B !== "style" && (N[B] = [this.kind, A[B]]);
748
+ }
749
+ } catch (D) {
750
+ C = { error: D };
751
+ } finally {
752
+ try {
753
+ T && !T.done && (c = y.return) && c.call(y);
754
+ } finally {
755
+ if (C) throw C.error;
756
+ }
757
+ }
758
+ return N;
759
+ }, a.prototype.inheritAttributesFrom = function(i) {
760
+ var A = i.attributes, C = A.get("displaystyle"), c = A.get("scriptlevel"), N = A.isSet("mathsize") ? {
761
+ mathsize: ["math", A.get("mathsize")]
762
+ } : {}, y = i.getProperty("texprimestyle") || !1;
763
+ this.setInheritedAttributes(N, C, c, y);
764
+ }, a.prototype.verifyTree = function(i) {
765
+ if (i === void 0 && (i = null), i !== null) {
766
+ this.verifyAttributes(i);
767
+ var A = this.arity;
768
+ i.checkArity && A >= 0 && A !== 1 / 0 && (A === 1 && this.childNodes.length === 0 || A !== 1 && this.childNodes.length !== A) && this.mError('Wrong number of children for "' + this.kind + '" node', i, !0), this.verifyChildren(i);
769
+ }
770
+ }, a.prototype.verifyAttributes = function(i) {
771
+ var A, C;
772
+ if (i.checkAttributes) {
773
+ var c = this.attributes, N = [];
774
+ try {
775
+ for (var y = L(c.getExplicitNames()), T = y.next(); !T.done; T = y.next()) {
776
+ var B = T.value;
777
+ B.substr(0, 5) !== "data-" && c.getDefault(B) === void 0 && !B.match(/^(?:class|style|id|(?:xlink:)?href)$/) && N.push(B);
778
+ }
779
+ } catch (D) {
780
+ A = { error: D };
781
+ } finally {
782
+ try {
783
+ T && !T.done && (C = y.return) && C.call(y);
784
+ } finally {
785
+ if (A) throw A.error;
786
+ }
787
+ }
788
+ N.length && this.mError("Unknown attributes for " + this.kind + " node: " + N.join(", "), i);
789
+ }
790
+ }, a.prototype.verifyChildren = function(i) {
791
+ var A, C;
792
+ try {
793
+ for (var c = L(this.childNodes), N = c.next(); !N.done; N = c.next()) {
794
+ var y = N.value;
795
+ y.verifyTree(i);
796
+ }
797
+ } catch (T) {
798
+ A = { error: T };
799
+ } finally {
800
+ try {
801
+ N && !N.done && (C = c.return) && C.call(c);
802
+ } finally {
803
+ if (A) throw A.error;
804
+ }
805
+ }
806
+ }, a.prototype.mError = function(i, A, C) {
807
+ if (C === void 0 && (C = !1), this.parent && this.parent.isKind("merror"))
808
+ return null;
809
+ var c = this.factory.create("merror");
810
+ if (c.attributes.set("data-mjx-message", i), A.fullErrors || C) {
811
+ var N = this.factory.create("mtext"), y = this.factory.create("text");
812
+ y.setText(A.fullErrors ? i : this.kind), N.appendChild(y), c.appendChild(N), this.parent.replaceChild(c, this);
813
+ } else
814
+ this.parent.replaceChild(c, this), c.appendChild(this);
815
+ return c;
816
+ }, a.defaults = {
817
+ mathbackground: l.INHERIT,
818
+ mathcolor: l.INHERIT,
819
+ mathsize: l.INHERIT,
820
+ dir: l.INHERIT
821
+ }, a.noInherit = {
822
+ mstyle: {
823
+ mpadded: { width: !0, height: !0, depth: !0, lspace: !0, voffset: !0 },
824
+ mtable: { width: !0, height: !0, depth: !0, align: !0 }
825
+ },
826
+ maligngroup: {
827
+ mrow: { groupalign: !0 },
828
+ mtable: { groupalign: !0 }
829
+ }
830
+ }, a.alwaysInherit = {
831
+ scriptminsize: !0,
832
+ scriptsizemultiplier: !0
833
+ }, a.verifyDefaults = {
834
+ checkArity: !0,
835
+ checkAttributes: !1,
836
+ fullErrors: !1,
837
+ fixMmultiscripts: !0,
838
+ fixMtables: !0
839
+ }, a;
840
+ })(r.AbstractNode);
841
+ u.AbstractMmlNode = n;
842
+ var t = (function(h) {
843
+ S(a, h);
844
+ function a() {
845
+ return h !== null && h.apply(this, arguments) || this;
846
+ }
847
+ return Object.defineProperty(a.prototype, "isToken", {
848
+ get: function() {
849
+ return !0;
850
+ },
851
+ enumerable: !1,
852
+ configurable: !0
853
+ }), a.prototype.getText = function() {
854
+ var i, A, C = "";
855
+ try {
856
+ for (var c = L(this.childNodes), N = c.next(); !N.done; N = c.next()) {
857
+ var y = N.value;
858
+ y instanceof I && (C += y.getText());
859
+ }
860
+ } catch (T) {
861
+ i = { error: T };
862
+ } finally {
863
+ try {
864
+ N && !N.done && (A = c.return) && A.call(c);
865
+ } finally {
866
+ if (i) throw i.error;
867
+ }
868
+ }
869
+ return C;
870
+ }, a.prototype.setChildInheritedAttributes = function(i, A, C, c) {
871
+ var N, y;
872
+ try {
873
+ for (var T = L(this.childNodes), B = T.next(); !B.done; B = T.next()) {
874
+ var D = B.value;
875
+ D instanceof n && D.setInheritedAttributes(i, A, C, c);
876
+ }
877
+ } catch (g) {
878
+ N = { error: g };
879
+ } finally {
880
+ try {
881
+ B && !B.done && (y = T.return) && y.call(T);
882
+ } finally {
883
+ if (N) throw N.error;
884
+ }
885
+ }
886
+ }, a.prototype.walkTree = function(i, A) {
887
+ var C, c;
888
+ i(this, A);
889
+ try {
890
+ for (var N = L(this.childNodes), y = N.next(); !y.done; y = N.next()) {
891
+ var T = y.value;
892
+ T instanceof n && T.walkTree(i, A);
893
+ }
894
+ } catch (B) {
895
+ C = { error: B };
896
+ } finally {
897
+ try {
898
+ y && !y.done && (c = N.return) && c.call(N);
899
+ } finally {
900
+ if (C) throw C.error;
901
+ }
902
+ }
903
+ return A;
904
+ }, a.defaults = E(E({}, n.defaults), { mathvariant: "normal", mathsize: l.INHERIT }), a;
905
+ })(n);
906
+ u.AbstractMmlTokenNode = t;
907
+ var e = (function(h) {
908
+ S(a, h);
909
+ function a() {
910
+ return h !== null && h.apply(this, arguments) || this;
911
+ }
912
+ return Object.defineProperty(a.prototype, "isSpacelike", {
913
+ get: function() {
914
+ return this.childNodes[0].isSpacelike;
915
+ },
916
+ enumerable: !1,
917
+ configurable: !0
918
+ }), Object.defineProperty(a.prototype, "isEmbellished", {
919
+ get: function() {
920
+ return this.childNodes[0].isEmbellished;
921
+ },
922
+ enumerable: !1,
923
+ configurable: !0
924
+ }), Object.defineProperty(a.prototype, "arity", {
925
+ get: function() {
926
+ return -1;
927
+ },
928
+ enumerable: !1,
929
+ configurable: !0
930
+ }), a.prototype.core = function() {
931
+ return this.childNodes[0];
932
+ }, a.prototype.coreMO = function() {
933
+ return this.childNodes[0].coreMO();
934
+ }, a.prototype.setTeXclass = function(i) {
935
+ return i = this.childNodes[0].setTeXclass(i), this.updateTeXclass(this.childNodes[0]), i;
936
+ }, a.defaults = n.defaults, a;
937
+ })(n);
938
+ u.AbstractMmlLayoutNode = e;
939
+ var f = (function(h) {
940
+ S(a, h);
941
+ function a() {
942
+ return h !== null && h.apply(this, arguments) || this;
943
+ }
944
+ return Object.defineProperty(a.prototype, "isEmbellished", {
945
+ get: function() {
946
+ return this.childNodes[0].isEmbellished;
947
+ },
948
+ enumerable: !1,
949
+ configurable: !0
950
+ }), a.prototype.core = function() {
951
+ return this.childNodes[0];
952
+ }, a.prototype.coreMO = function() {
953
+ return this.childNodes[0].coreMO();
954
+ }, a.prototype.setTeXclass = function(i) {
955
+ var A, C;
956
+ this.getPrevClass(i), this.texClass = u.TEXCLASS.ORD;
957
+ var c = this.childNodes[0];
958
+ c ? this.isEmbellished || c.isKind("mi") ? (i = c.setTeXclass(i), this.updateTeXclass(this.core())) : (c.setTeXclass(null), i = this) : i = this;
959
+ try {
960
+ for (var N = L(this.childNodes.slice(1)), y = N.next(); !y.done; y = N.next()) {
961
+ var T = y.value;
962
+ T && T.setTeXclass(null);
963
+ }
964
+ } catch (B) {
965
+ A = { error: B };
966
+ } finally {
967
+ try {
968
+ y && !y.done && (C = N.return) && C.call(N);
969
+ } finally {
970
+ if (A) throw A.error;
971
+ }
972
+ }
973
+ return i;
974
+ }, a.defaults = n.defaults, a;
975
+ })(n);
976
+ u.AbstractMmlBaseNode = f;
977
+ var d = (function(h) {
978
+ S(a, h);
979
+ function a() {
980
+ return h !== null && h.apply(this, arguments) || this;
981
+ }
982
+ return Object.defineProperty(a.prototype, "isToken", {
983
+ get: function() {
984
+ return !1;
985
+ },
986
+ enumerable: !1,
987
+ configurable: !0
988
+ }), Object.defineProperty(a.prototype, "isEmbellished", {
989
+ get: function() {
990
+ return !1;
991
+ },
992
+ enumerable: !1,
993
+ configurable: !0
994
+ }), Object.defineProperty(a.prototype, "isSpacelike", {
995
+ get: function() {
996
+ return !1;
997
+ },
998
+ enumerable: !1,
999
+ configurable: !0
1000
+ }), Object.defineProperty(a.prototype, "linebreakContainer", {
1001
+ get: function() {
1002
+ return !1;
1003
+ },
1004
+ enumerable: !1,
1005
+ configurable: !0
1006
+ }), Object.defineProperty(a.prototype, "hasNewLine", {
1007
+ get: function() {
1008
+ return !1;
1009
+ },
1010
+ enumerable: !1,
1011
+ configurable: !0
1012
+ }), Object.defineProperty(a.prototype, "arity", {
1013
+ get: function() {
1014
+ return 0;
1015
+ },
1016
+ enumerable: !1,
1017
+ configurable: !0
1018
+ }), Object.defineProperty(a.prototype, "isInferred", {
1019
+ get: function() {
1020
+ return !1;
1021
+ },
1022
+ enumerable: !1,
1023
+ configurable: !0
1024
+ }), Object.defineProperty(a.prototype, "notParent", {
1025
+ get: function() {
1026
+ return !1;
1027
+ },
1028
+ enumerable: !1,
1029
+ configurable: !0
1030
+ }), Object.defineProperty(a.prototype, "Parent", {
1031
+ get: function() {
1032
+ return this.parent;
1033
+ },
1034
+ enumerable: !1,
1035
+ configurable: !0
1036
+ }), Object.defineProperty(a.prototype, "texClass", {
1037
+ get: function() {
1038
+ return u.TEXCLASS.NONE;
1039
+ },
1040
+ enumerable: !1,
1041
+ configurable: !0
1042
+ }), Object.defineProperty(a.prototype, "prevClass", {
1043
+ get: function() {
1044
+ return u.TEXCLASS.NONE;
1045
+ },
1046
+ enumerable: !1,
1047
+ configurable: !0
1048
+ }), Object.defineProperty(a.prototype, "prevLevel", {
1049
+ get: function() {
1050
+ return 0;
1051
+ },
1052
+ enumerable: !1,
1053
+ configurable: !0
1054
+ }), a.prototype.hasSpacingAttributes = function() {
1055
+ return !1;
1056
+ }, Object.defineProperty(a.prototype, "attributes", {
1057
+ get: function() {
1058
+ return null;
1059
+ },
1060
+ enumerable: !1,
1061
+ configurable: !0
1062
+ }), a.prototype.core = function() {
1063
+ return this;
1064
+ }, a.prototype.coreMO = function() {
1065
+ return this;
1066
+ }, a.prototype.coreIndex = function() {
1067
+ return 0;
1068
+ }, a.prototype.childPosition = function() {
1069
+ return 0;
1070
+ }, a.prototype.setTeXclass = function(i) {
1071
+ return i;
1072
+ }, a.prototype.texSpacing = function() {
1073
+ return "";
1074
+ }, a.prototype.setInheritedAttributes = function(i, A, C, c) {
1075
+ }, a.prototype.inheritAttributesFrom = function(i) {
1076
+ }, a.prototype.verifyTree = function(i) {
1077
+ }, a.prototype.mError = function(i, A, C) {
1078
+ return null;
1079
+ }, a;
1080
+ })(r.AbstractEmptyNode);
1081
+ u.AbstractMmlEmptyNode = d;
1082
+ var I = (function(h) {
1083
+ S(a, h);
1084
+ function a() {
1085
+ var i = h !== null && h.apply(this, arguments) || this;
1086
+ return i.text = "", i;
1087
+ }
1088
+ return Object.defineProperty(a.prototype, "kind", {
1089
+ get: function() {
1090
+ return "text";
1091
+ },
1092
+ enumerable: !1,
1093
+ configurable: !0
1094
+ }), a.prototype.getText = function() {
1095
+ return this.text;
1096
+ }, a.prototype.setText = function(i) {
1097
+ return this.text = i, this;
1098
+ }, a.prototype.copy = function() {
1099
+ return this.factory.create(this.kind).setText(this.getText());
1100
+ }, a.prototype.toString = function() {
1101
+ return this.text;
1102
+ }, a;
1103
+ })(d);
1104
+ u.TextNode = I;
1105
+ var m = (function(h) {
1106
+ S(a, h);
1107
+ function a() {
1108
+ var i = h !== null && h.apply(this, arguments) || this;
1109
+ return i.xml = null, i.adaptor = null, i;
1110
+ }
1111
+ return Object.defineProperty(a.prototype, "kind", {
1112
+ get: function() {
1113
+ return "XML";
1114
+ },
1115
+ enumerable: !1,
1116
+ configurable: !0
1117
+ }), a.prototype.getXML = function() {
1118
+ return this.xml;
1119
+ }, a.prototype.setXML = function(i, A) {
1120
+ return A === void 0 && (A = null), this.xml = i, this.adaptor = A, this;
1121
+ }, a.prototype.getSerializedXML = function() {
1122
+ return this.adaptor.serializeXML(this.xml);
1123
+ }, a.prototype.copy = function() {
1124
+ return this.factory.create(this.kind).setXML(this.adaptor.clone(this.xml));
1125
+ }, a.prototype.toString = function() {
1126
+ return "XML data";
1127
+ }, a;
1128
+ })(d);
1129
+ u.XMLNode = m;
1130
+ })(P)), P;
1131
+ }
1132
+ var F = {}, G = {}, V;
1133
+ function iu() {
1134
+ return V || (V = 1, (function(u) {
1135
+ var S = G && G.__values || function(l) {
1136
+ var r = typeof Symbol == "function" && Symbol.iterator, M = r && l[r], O = 0;
1137
+ if (M) return M.call(l);
1138
+ if (l && typeof l.length == "number") return {
1139
+ next: function() {
1140
+ return l && O >= l.length && (l = void 0), { value: l && l[O++], done: !l };
1141
+ }
1142
+ };
1143
+ throw new TypeError(r ? "Object is not iterable." : "Symbol.iterator is not defined.");
1144
+ };
1145
+ Object.defineProperty(u, "__esModule", { value: !0 }), u.OPTABLE = u.MMLSPACING = u.getRange = u.RANGES = u.MO = u.OPDEF = void 0;
1146
+ var E = Y();
1147
+ function L(l, r, M, O) {
1148
+ return M === void 0 && (M = E.TEXCLASS.BIN), O === void 0 && (O = null), [l, r, M, O];
1149
+ }
1150
+ u.OPDEF = L, u.MO = {
1151
+ ORD: L(0, 0, E.TEXCLASS.ORD),
1152
+ ORD11: L(1, 1, E.TEXCLASS.ORD),
1153
+ ORD21: L(2, 1, E.TEXCLASS.ORD),
1154
+ ORD02: L(0, 2, E.TEXCLASS.ORD),
1155
+ ORD55: L(5, 5, E.TEXCLASS.ORD),
1156
+ NONE: L(0, 0, E.TEXCLASS.NONE),
1157
+ OP: L(1, 2, E.TEXCLASS.OP, { largeop: !0, movablelimits: !0, symmetric: !0 }),
1158
+ OPFIXED: L(1, 2, E.TEXCLASS.OP, { largeop: !0, movablelimits: !0 }),
1159
+ INTEGRAL: L(0, 1, E.TEXCLASS.OP, { largeop: !0, symmetric: !0 }),
1160
+ INTEGRAL2: L(1, 2, E.TEXCLASS.OP, { largeop: !0, symmetric: !0 }),
1161
+ BIN3: L(3, 3, E.TEXCLASS.BIN),
1162
+ BIN4: L(4, 4, E.TEXCLASS.BIN),
1163
+ BIN01: L(0, 1, E.TEXCLASS.BIN),
1164
+ BIN5: L(5, 5, E.TEXCLASS.BIN),
1165
+ TALLBIN: L(4, 4, E.TEXCLASS.BIN, { stretchy: !0 }),
1166
+ BINOP: L(4, 4, E.TEXCLASS.BIN, { largeop: !0, movablelimits: !0 }),
1167
+ REL: L(5, 5, E.TEXCLASS.REL),
1168
+ REL1: L(1, 1, E.TEXCLASS.REL, { stretchy: !0 }),
1169
+ REL4: L(4, 4, E.TEXCLASS.REL),
1170
+ RELSTRETCH: L(5, 5, E.TEXCLASS.REL, { stretchy: !0 }),
1171
+ RELACCENT: L(5, 5, E.TEXCLASS.REL, { accent: !0 }),
1172
+ WIDEREL: L(5, 5, E.TEXCLASS.REL, { accent: !0, stretchy: !0 }),
1173
+ OPEN: L(0, 0, E.TEXCLASS.OPEN, { fence: !0, stretchy: !0, symmetric: !0 }),
1174
+ CLOSE: L(0, 0, E.TEXCLASS.CLOSE, { fence: !0, stretchy: !0, symmetric: !0 }),
1175
+ INNER: L(0, 0, E.TEXCLASS.INNER),
1176
+ PUNCT: L(0, 3, E.TEXCLASS.PUNCT),
1177
+ ACCENT: L(0, 0, E.TEXCLASS.ORD, { accent: !0 }),
1178
+ WIDEACCENT: L(0, 0, E.TEXCLASS.ORD, { accent: !0, stretchy: !0 })
1179
+ }, u.RANGES = [
1180
+ [32, 127, E.TEXCLASS.REL, "mo"],
1181
+ [160, 191, E.TEXCLASS.ORD, "mo"],
1182
+ [192, 591, E.TEXCLASS.ORD, "mi"],
1183
+ [688, 879, E.TEXCLASS.ORD, "mo"],
1184
+ [880, 6688, E.TEXCLASS.ORD, "mi"],
1185
+ [6832, 6911, E.TEXCLASS.ORD, "mo"],
1186
+ [6912, 7615, E.TEXCLASS.ORD, "mi"],
1187
+ [7616, 7679, E.TEXCLASS.ORD, "mo"],
1188
+ [7680, 8191, E.TEXCLASS.ORD, "mi"],
1189
+ [8192, 8303, E.TEXCLASS.ORD, "mo"],
1190
+ [8304, 8351, E.TEXCLASS.ORD, "mo"],
1191
+ [8448, 8527, E.TEXCLASS.ORD, "mi"],
1192
+ [8528, 8591, E.TEXCLASS.ORD, "mn"],
1193
+ [8592, 8703, E.TEXCLASS.REL, "mo"],
1194
+ [8704, 8959, E.TEXCLASS.BIN, "mo"],
1195
+ [8960, 9215, E.TEXCLASS.ORD, "mo"],
1196
+ [9312, 9471, E.TEXCLASS.ORD, "mn"],
1197
+ [9472, 10223, E.TEXCLASS.ORD, "mo"],
1198
+ [10224, 10239, E.TEXCLASS.REL, "mo"],
1199
+ [10240, 10495, E.TEXCLASS.ORD, "mtext"],
1200
+ [10496, 10623, E.TEXCLASS.REL, "mo"],
1201
+ [10624, 10751, E.TEXCLASS.ORD, "mo"],
1202
+ [10752, 11007, E.TEXCLASS.BIN, "mo"],
1203
+ [11008, 11055, E.TEXCLASS.ORD, "mo"],
1204
+ [11056, 11087, E.TEXCLASS.REL, "mo"],
1205
+ [11088, 11263, E.TEXCLASS.ORD, "mo"],
1206
+ [11264, 11744, E.TEXCLASS.ORD, "mi"],
1207
+ [11776, 11903, E.TEXCLASS.ORD, "mo"],
1208
+ [11904, 12255, E.TEXCLASS.ORD, "mi", "normal"],
1209
+ [12272, 12351, E.TEXCLASS.ORD, "mo"],
1210
+ [12352, 42143, E.TEXCLASS.ORD, "mi", "normal"],
1211
+ [42192, 43055, E.TEXCLASS.ORD, "mi"],
1212
+ [43056, 43071, E.TEXCLASS.ORD, "mn"],
1213
+ [43072, 55295, E.TEXCLASS.ORD, "mi"],
1214
+ [63744, 64255, E.TEXCLASS.ORD, "mi", "normal"],
1215
+ [64256, 65023, E.TEXCLASS.ORD, "mi"],
1216
+ [65024, 65135, E.TEXCLASS.ORD, "mo"],
1217
+ [65136, 65791, E.TEXCLASS.ORD, "mi"],
1218
+ [65792, 65935, E.TEXCLASS.ORD, "mn"],
1219
+ [65936, 74751, E.TEXCLASS.ORD, "mi", "normal"],
1220
+ [74752, 74879, E.TEXCLASS.ORD, "mn"],
1221
+ [74880, 113823, E.TEXCLASS.ORD, "mi", "normal"],
1222
+ [113824, 119391, E.TEXCLASS.ORD, "mo"],
1223
+ [119648, 119679, E.TEXCLASS.ORD, "mn"],
1224
+ [119808, 120781, E.TEXCLASS.ORD, "mi"],
1225
+ [120782, 120831, E.TEXCLASS.ORD, "mn"],
1226
+ [122624, 129023, E.TEXCLASS.ORD, "mo"],
1227
+ [129024, 129279, E.TEXCLASS.REL, "mo"],
1228
+ [129280, 129535, E.TEXCLASS.ORD, "mo"],
1229
+ [131072, 195103, E.TEXCLASS.ORD, "mi", "normnal"]
1230
+ ];
1231
+ function R(l) {
1232
+ var r, M, O = l.codePointAt(0);
1233
+ try {
1234
+ for (var n = S(u.RANGES), t = n.next(); !t.done; t = n.next()) {
1235
+ var e = t.value;
1236
+ if (O <= e[1]) {
1237
+ if (O >= e[0])
1238
+ return e;
1239
+ break;
1240
+ }
1241
+ }
1242
+ } catch (f) {
1243
+ r = { error: f };
1244
+ } finally {
1245
+ try {
1246
+ t && !t.done && (M = n.return) && M.call(n);
1247
+ } finally {
1248
+ if (r) throw r.error;
1249
+ }
1250
+ }
1251
+ return null;
1252
+ }
1253
+ u.getRange = R, u.MMLSPACING = [
1254
+ [0, 0],
1255
+ [1, 2],
1256
+ [3, 3],
1257
+ [4, 4],
1258
+ [0, 0],
1259
+ [0, 0],
1260
+ [0, 3]
1261
+ ], u.OPTABLE = {
1262
+ prefix: {
1263
+ "(": u.MO.OPEN,
1264
+ "+": u.MO.BIN01,
1265
+ "-": u.MO.BIN01,
1266
+ "[": u.MO.OPEN,
1267
+ "{": u.MO.OPEN,
1268
+ "|": u.MO.OPEN,
1269
+ "||": [0, 0, E.TEXCLASS.BIN, { fence: !0, stretchy: !0, symmetric: !0 }],
1270
+ "|||": [0, 0, E.TEXCLASS.ORD, { fence: !0, stretchy: !0, symmetric: !0 }],
1271
+ "¬": u.MO.ORD21,
1272
+ "±": u.MO.BIN01,
1273
+ "‖": [0, 0, E.TEXCLASS.ORD, { fence: !0, stretchy: !0 }],
1274
+ "‘": [0, 0, E.TEXCLASS.OPEN, { fence: !0 }],
1275
+ "“": [0, 0, E.TEXCLASS.OPEN, { fence: !0 }],
1276
+ "ⅅ": u.MO.ORD21,
1277
+ "ⅆ": L(2, 0, E.TEXCLASS.ORD),
1278
+ "∀": u.MO.ORD21,
1279
+ "∂": u.MO.ORD21,
1280
+ "∃": u.MO.ORD21,
1281
+ "∄": u.MO.ORD21,
1282
+ "∇": u.MO.ORD21,
1283
+ "∏": u.MO.OP,
1284
+ "∐": u.MO.OP,
1285
+ "∑": u.MO.OP,
1286
+ "−": u.MO.BIN01,
1287
+ "∓": u.MO.BIN01,
1288
+ "√": [1, 1, E.TEXCLASS.ORD, { stretchy: !0 }],
1289
+ "∛": u.MO.ORD11,
1290
+ "∜": u.MO.ORD11,
1291
+ "∠": u.MO.ORD,
1292
+ "∡": u.MO.ORD,
1293
+ "∢": u.MO.ORD,
1294
+ "∫": u.MO.INTEGRAL,
1295
+ "∬": u.MO.INTEGRAL,
1296
+ "∭": u.MO.INTEGRAL,
1297
+ "∮": u.MO.INTEGRAL,
1298
+ "∯": u.MO.INTEGRAL,
1299
+ "∰": u.MO.INTEGRAL,
1300
+ "∱": u.MO.INTEGRAL,
1301
+ "∲": u.MO.INTEGRAL,
1302
+ "∳": u.MO.INTEGRAL,
1303
+ "⋀": u.MO.OP,
1304
+ "⋁": u.MO.OP,
1305
+ "⋂": u.MO.OP,
1306
+ "⋃": u.MO.OP,
1307
+ "⌈": u.MO.OPEN,
1308
+ "⌊": u.MO.OPEN,
1309
+ "〈": u.MO.OPEN,
1310
+ "❲": u.MO.OPEN,
1311
+ "⟦": u.MO.OPEN,
1312
+ "⟨": u.MO.OPEN,
1313
+ "⟪": u.MO.OPEN,
1314
+ "⟬": u.MO.OPEN,
1315
+ "⟮": u.MO.OPEN,
1316
+ "⦀": [0, 0, E.TEXCLASS.ORD, { fence: !0, stretchy: !0 }],
1317
+ "⦃": u.MO.OPEN,
1318
+ "⦅": u.MO.OPEN,
1319
+ "⦇": u.MO.OPEN,
1320
+ "⦉": u.MO.OPEN,
1321
+ "⦋": u.MO.OPEN,
1322
+ "⦍": u.MO.OPEN,
1323
+ "⦏": u.MO.OPEN,
1324
+ "⦑": u.MO.OPEN,
1325
+ "⦓": u.MO.OPEN,
1326
+ "⦕": u.MO.OPEN,
1327
+ "⦗": u.MO.OPEN,
1328
+ "⧼": u.MO.OPEN,
1329
+ "⨀": u.MO.OP,
1330
+ "⨁": u.MO.OP,
1331
+ "⨂": u.MO.OP,
1332
+ "⨃": u.MO.OP,
1333
+ "⨄": u.MO.OP,
1334
+ "⨅": u.MO.OP,
1335
+ "⨆": u.MO.OP,
1336
+ "⨇": u.MO.OP,
1337
+ "⨈": u.MO.OP,
1338
+ "⨉": u.MO.OP,
1339
+ "⨊": u.MO.OP,
1340
+ "⨋": u.MO.INTEGRAL2,
1341
+ "⨌": u.MO.INTEGRAL,
1342
+ "⨍": u.MO.INTEGRAL2,
1343
+ "⨎": u.MO.INTEGRAL2,
1344
+ "⨏": u.MO.INTEGRAL2,
1345
+ "⨐": u.MO.OP,
1346
+ "⨑": u.MO.OP,
1347
+ "⨒": u.MO.OP,
1348
+ "⨓": u.MO.OP,
1349
+ "⨔": u.MO.OP,
1350
+ "⨕": u.MO.INTEGRAL2,
1351
+ "⨖": u.MO.INTEGRAL2,
1352
+ "⨗": u.MO.INTEGRAL2,
1353
+ "⨘": u.MO.INTEGRAL2,
1354
+ "⨙": u.MO.INTEGRAL2,
1355
+ "⨚": u.MO.INTEGRAL2,
1356
+ "⨛": u.MO.INTEGRAL2,
1357
+ "⨜": u.MO.INTEGRAL2,
1358
+ "⫼": u.MO.OP,
1359
+ "⫿": u.MO.OP
1360
+ },
1361
+ postfix: {
1362
+ "!!": L(1, 0),
1363
+ "!": [1, 0, E.TEXCLASS.CLOSE, null],
1364
+ '"': u.MO.ACCENT,
1365
+ "&": u.MO.ORD,
1366
+ ")": u.MO.CLOSE,
1367
+ "++": L(0, 0),
1368
+ "--": L(0, 0),
1369
+ "..": L(0, 0),
1370
+ "...": u.MO.ORD,
1371
+ "'": u.MO.ACCENT,
1372
+ "]": u.MO.CLOSE,
1373
+ "^": u.MO.WIDEACCENT,
1374
+ _: u.MO.WIDEACCENT,
1375
+ "`": u.MO.ACCENT,
1376
+ "|": u.MO.CLOSE,
1377
+ "}": u.MO.CLOSE,
1378
+ "~": u.MO.WIDEACCENT,
1379
+ "||": [0, 0, E.TEXCLASS.BIN, { fence: !0, stretchy: !0, symmetric: !0 }],
1380
+ "|||": [0, 0, E.TEXCLASS.ORD, { fence: !0, stretchy: !0, symmetric: !0 }],
1381
+ "¨": u.MO.ACCENT,
1382
+ ª: u.MO.ACCENT,
1383
+ "¯": u.MO.WIDEACCENT,
1384
+ "°": u.MO.ORD,
1385
+ "²": u.MO.ACCENT,
1386
+ "³": u.MO.ACCENT,
1387
+ "´": u.MO.ACCENT,
1388
+ "¸": u.MO.ACCENT,
1389
+ "¹": u.MO.ACCENT,
1390
+ º: u.MO.ACCENT,
1391
+ "ˆ": u.MO.WIDEACCENT,
1392
+ "ˇ": u.MO.WIDEACCENT,
1393
+ "ˉ": u.MO.WIDEACCENT,
1394
+ "ˊ": u.MO.ACCENT,
1395
+ "ˋ": u.MO.ACCENT,
1396
+ "ˍ": u.MO.WIDEACCENT,
1397
+ "˘": u.MO.ACCENT,
1398
+ "˙": u.MO.ACCENT,
1399
+ "˚": u.MO.ACCENT,
1400
+ "˜": u.MO.WIDEACCENT,
1401
+ "˝": u.MO.ACCENT,
1402
+ "˷": u.MO.WIDEACCENT,
1403
+ "̂": u.MO.WIDEACCENT,
1404
+ "̑": u.MO.ACCENT,
1405
+ "϶": u.MO.REL,
1406
+ "‖": [0, 0, E.TEXCLASS.ORD, { fence: !0, stretchy: !0 }],
1407
+ "’": [0, 0, E.TEXCLASS.CLOSE, { fence: !0 }],
1408
+ "‚": u.MO.ACCENT,
1409
+ "‛": u.MO.ACCENT,
1410
+ "”": [0, 0, E.TEXCLASS.CLOSE, { fence: !0 }],
1411
+ "„": u.MO.ACCENT,
1412
+ "‟": u.MO.ACCENT,
1413
+ "′": u.MO.ORD,
1414
+ "″": u.MO.ACCENT,
1415
+ "‴": u.MO.ACCENT,
1416
+ "‵": u.MO.ACCENT,
1417
+ "‶": u.MO.ACCENT,
1418
+ "‷": u.MO.ACCENT,
1419
+ "‾": u.MO.WIDEACCENT,
1420
+ "⁗": u.MO.ACCENT,
1421
+ "⃛": u.MO.ACCENT,
1422
+ "⃜": u.MO.ACCENT,
1423
+ "⌉": u.MO.CLOSE,
1424
+ "⌋": u.MO.CLOSE,
1425
+ "〉": u.MO.CLOSE,
1426
+ "⎴": u.MO.WIDEACCENT,
1427
+ "⎵": u.MO.WIDEACCENT,
1428
+ "⏜": u.MO.WIDEACCENT,
1429
+ "⏝": u.MO.WIDEACCENT,
1430
+ "⏞": u.MO.WIDEACCENT,
1431
+ "⏟": u.MO.WIDEACCENT,
1432
+ "⏠": u.MO.WIDEACCENT,
1433
+ "⏡": u.MO.WIDEACCENT,
1434
+ "■": u.MO.BIN3,
1435
+ "□": u.MO.BIN3,
1436
+ "▪": u.MO.BIN3,
1437
+ "▫": u.MO.BIN3,
1438
+ "▭": u.MO.BIN3,
1439
+ "▮": u.MO.BIN3,
1440
+ "▯": u.MO.BIN3,
1441
+ "▰": u.MO.BIN3,
1442
+ "▱": u.MO.BIN3,
1443
+ "▲": u.MO.BIN4,
1444
+ "▴": u.MO.BIN4,
1445
+ "▶": u.MO.BIN4,
1446
+ "▷": u.MO.BIN4,
1447
+ "▸": u.MO.BIN4,
1448
+ "▼": u.MO.BIN4,
1449
+ "▾": u.MO.BIN4,
1450
+ "◀": u.MO.BIN4,
1451
+ "◁": u.MO.BIN4,
1452
+ "◂": u.MO.BIN4,
1453
+ "◄": u.MO.BIN4,
1454
+ "◅": u.MO.BIN4,
1455
+ "◆": u.MO.BIN4,
1456
+ "◇": u.MO.BIN4,
1457
+ "◈": u.MO.BIN4,
1458
+ "◉": u.MO.BIN4,
1459
+ "◌": u.MO.BIN4,
1460
+ "◍": u.MO.BIN4,
1461
+ "◎": u.MO.BIN4,
1462
+ "●": u.MO.BIN4,
1463
+ "◖": u.MO.BIN4,
1464
+ "◗": u.MO.BIN4,
1465
+ "◦": u.MO.BIN4,
1466
+ "♭": u.MO.ORD02,
1467
+ "♮": u.MO.ORD02,
1468
+ "♯": u.MO.ORD02,
1469
+ "❳": u.MO.CLOSE,
1470
+ "⟧": u.MO.CLOSE,
1471
+ "⟩": u.MO.CLOSE,
1472
+ "⟫": u.MO.CLOSE,
1473
+ "⟭": u.MO.CLOSE,
1474
+ "⟯": u.MO.CLOSE,
1475
+ "⦀": [0, 0, E.TEXCLASS.ORD, { fence: !0, stretchy: !0 }],
1476
+ "⦄": u.MO.CLOSE,
1477
+ "⦆": u.MO.CLOSE,
1478
+ "⦈": u.MO.CLOSE,
1479
+ "⦊": u.MO.CLOSE,
1480
+ "⦌": u.MO.CLOSE,
1481
+ "⦎": u.MO.CLOSE,
1482
+ "⦐": u.MO.CLOSE,
1483
+ "⦒": u.MO.CLOSE,
1484
+ "⦔": u.MO.CLOSE,
1485
+ "⦖": u.MO.CLOSE,
1486
+ "⦘": u.MO.CLOSE,
1487
+ "⧽": u.MO.CLOSE
1488
+ },
1489
+ infix: {
1490
+ "!=": u.MO.BIN4,
1491
+ "#": u.MO.ORD,
1492
+ $: u.MO.ORD,
1493
+ "%": [3, 3, E.TEXCLASS.ORD, null],
1494
+ "&&": u.MO.BIN4,
1495
+ "": u.MO.ORD,
1496
+ "*": u.MO.BIN3,
1497
+ "**": L(1, 1),
1498
+ "*=": u.MO.BIN4,
1499
+ "+": u.MO.BIN4,
1500
+ "+=": u.MO.BIN4,
1501
+ ",": [0, 3, E.TEXCLASS.PUNCT, { linebreakstyle: "after", separator: !0 }],
1502
+ "-": u.MO.BIN4,
1503
+ "-=": u.MO.BIN4,
1504
+ "->": u.MO.BIN5,
1505
+ ".": [0, 3, E.TEXCLASS.PUNCT, { separator: !0 }],
1506
+ "/": u.MO.ORD11,
1507
+ "//": L(1, 1),
1508
+ "/=": u.MO.BIN4,
1509
+ ":": [1, 2, E.TEXCLASS.REL, null],
1510
+ ":=": u.MO.BIN4,
1511
+ ";": [0, 3, E.TEXCLASS.PUNCT, { linebreakstyle: "after", separator: !0 }],
1512
+ "<": u.MO.REL,
1513
+ "<=": u.MO.BIN5,
1514
+ "<>": L(1, 1),
1515
+ "=": u.MO.REL,
1516
+ "==": u.MO.BIN4,
1517
+ ">": u.MO.REL,
1518
+ ">=": u.MO.BIN5,
1519
+ "?": [1, 1, E.TEXCLASS.CLOSE, null],
1520
+ "@": u.MO.ORD11,
1521
+ "\\": u.MO.ORD,
1522
+ "^": u.MO.ORD11,
1523
+ _: u.MO.ORD11,
1524
+ "|": [2, 2, E.TEXCLASS.ORD, { fence: !0, stretchy: !0, symmetric: !0 }],
1525
+ "||": [2, 2, E.TEXCLASS.BIN, { fence: !0, stretchy: !0, symmetric: !0 }],
1526
+ "|||": [2, 2, E.TEXCLASS.ORD, { fence: !0, stretchy: !0, symmetric: !0 }],
1527
+ "±": u.MO.BIN4,
1528
+ "·": u.MO.BIN4,
1529
+ "×": u.MO.BIN4,
1530
+ "÷": u.MO.BIN4,
1531
+ "ʹ": u.MO.ORD,
1532
+ "̀": u.MO.ACCENT,
1533
+ "́": u.MO.ACCENT,
1534
+ "̃": u.MO.WIDEACCENT,
1535
+ "̄": u.MO.ACCENT,
1536
+ "̆": u.MO.ACCENT,
1537
+ "̇": u.MO.ACCENT,
1538
+ "̈": u.MO.ACCENT,
1539
+ "̌": u.MO.ACCENT,
1540
+ "̲": u.MO.WIDEACCENT,
1541
+ "̸": u.MO.REL4,
1542
+ "―": [0, 0, E.TEXCLASS.ORD, { stretchy: !0 }],
1543
+ "‗": [0, 0, E.TEXCLASS.ORD, { stretchy: !0 }],
1544
+ "†": u.MO.BIN3,
1545
+ "‡": u.MO.BIN3,
1546
+ "•": u.MO.BIN4,
1547
+ "…": u.MO.INNER,
1548
+ "⁃": u.MO.BIN4,
1549
+ "⁄": u.MO.TALLBIN,
1550
+ "⁡": u.MO.NONE,
1551
+ "⁢": u.MO.NONE,
1552
+ "⁣": [0, 0, E.TEXCLASS.NONE, { linebreakstyle: "after", separator: !0 }],
1553
+ "⁤": u.MO.NONE,
1554
+ "⃗": u.MO.ACCENT,
1555
+ ℑ: u.MO.ORD,
1556
+ ℓ: u.MO.ORD,
1557
+ "℘": u.MO.ORD,
1558
+ ℜ: u.MO.ORD,
1559
+ "←": u.MO.WIDEREL,
1560
+ "↑": u.MO.RELSTRETCH,
1561
+ "→": u.MO.WIDEREL,
1562
+ "↓": u.MO.RELSTRETCH,
1563
+ "↔": u.MO.WIDEREL,
1564
+ "↕": u.MO.RELSTRETCH,
1565
+ "↖": u.MO.RELSTRETCH,
1566
+ "↗": u.MO.RELSTRETCH,
1567
+ "↘": u.MO.RELSTRETCH,
1568
+ "↙": u.MO.RELSTRETCH,
1569
+ "↚": u.MO.RELACCENT,
1570
+ "↛": u.MO.RELACCENT,
1571
+ "↜": u.MO.WIDEREL,
1572
+ "↝": u.MO.WIDEREL,
1573
+ "↞": u.MO.WIDEREL,
1574
+ "↟": u.MO.WIDEREL,
1575
+ "↠": u.MO.WIDEREL,
1576
+ "↡": u.MO.RELSTRETCH,
1577
+ "↢": u.MO.WIDEREL,
1578
+ "↣": u.MO.WIDEREL,
1579
+ "↤": u.MO.WIDEREL,
1580
+ "↥": u.MO.RELSTRETCH,
1581
+ "↦": u.MO.WIDEREL,
1582
+ "↧": u.MO.RELSTRETCH,
1583
+ "↨": u.MO.RELSTRETCH,
1584
+ "↩": u.MO.WIDEREL,
1585
+ "↪": u.MO.WIDEREL,
1586
+ "↫": u.MO.WIDEREL,
1587
+ "↬": u.MO.WIDEREL,
1588
+ "↭": u.MO.WIDEREL,
1589
+ "↮": u.MO.RELACCENT,
1590
+ "↯": u.MO.RELSTRETCH,
1591
+ "↰": u.MO.RELSTRETCH,
1592
+ "↱": u.MO.RELSTRETCH,
1593
+ "↲": u.MO.RELSTRETCH,
1594
+ "↳": u.MO.RELSTRETCH,
1595
+ "↴": u.MO.RELSTRETCH,
1596
+ "↵": u.MO.RELSTRETCH,
1597
+ "↶": u.MO.RELACCENT,
1598
+ "↷": u.MO.RELACCENT,
1599
+ "↸": u.MO.REL,
1600
+ "↹": u.MO.WIDEREL,
1601
+ "↺": u.MO.REL,
1602
+ "↻": u.MO.REL,
1603
+ "↼": u.MO.WIDEREL,
1604
+ "↽": u.MO.WIDEREL,
1605
+ "↾": u.MO.RELSTRETCH,
1606
+ "↿": u.MO.RELSTRETCH,
1607
+ "⇀": u.MO.WIDEREL,
1608
+ "⇁": u.MO.WIDEREL,
1609
+ "⇂": u.MO.RELSTRETCH,
1610
+ "⇃": u.MO.RELSTRETCH,
1611
+ "⇄": u.MO.WIDEREL,
1612
+ "⇅": u.MO.RELSTRETCH,
1613
+ "⇆": u.MO.WIDEREL,
1614
+ "⇇": u.MO.WIDEREL,
1615
+ "⇈": u.MO.RELSTRETCH,
1616
+ "⇉": u.MO.WIDEREL,
1617
+ "⇊": u.MO.RELSTRETCH,
1618
+ "⇋": u.MO.WIDEREL,
1619
+ "⇌": u.MO.WIDEREL,
1620
+ "⇍": u.MO.RELACCENT,
1621
+ "⇎": u.MO.RELACCENT,
1622
+ "⇏": u.MO.RELACCENT,
1623
+ "⇐": u.MO.WIDEREL,
1624
+ "⇑": u.MO.RELSTRETCH,
1625
+ "⇒": u.MO.WIDEREL,
1626
+ "⇓": u.MO.RELSTRETCH,
1627
+ "⇔": u.MO.WIDEREL,
1628
+ "⇕": u.MO.RELSTRETCH,
1629
+ "⇖": u.MO.RELSTRETCH,
1630
+ "⇗": u.MO.RELSTRETCH,
1631
+ "⇘": u.MO.RELSTRETCH,
1632
+ "⇙": u.MO.RELSTRETCH,
1633
+ "⇚": u.MO.WIDEREL,
1634
+ "⇛": u.MO.WIDEREL,
1635
+ "⇜": u.MO.WIDEREL,
1636
+ "⇝": u.MO.WIDEREL,
1637
+ "⇞": u.MO.REL,
1638
+ "⇟": u.MO.REL,
1639
+ "⇠": u.MO.WIDEREL,
1640
+ "⇡": u.MO.RELSTRETCH,
1641
+ "⇢": u.MO.WIDEREL,
1642
+ "⇣": u.MO.RELSTRETCH,
1643
+ "⇤": u.MO.WIDEREL,
1644
+ "⇥": u.MO.WIDEREL,
1645
+ "⇦": u.MO.WIDEREL,
1646
+ "⇧": u.MO.RELSTRETCH,
1647
+ "⇨": u.MO.WIDEREL,
1648
+ "⇩": u.MO.RELSTRETCH,
1649
+ "⇪": u.MO.RELSTRETCH,
1650
+ "⇫": u.MO.RELSTRETCH,
1651
+ "⇬": u.MO.RELSTRETCH,
1652
+ "⇭": u.MO.RELSTRETCH,
1653
+ "⇮": u.MO.RELSTRETCH,
1654
+ "⇯": u.MO.RELSTRETCH,
1655
+ "⇰": u.MO.WIDEREL,
1656
+ "⇱": u.MO.REL,
1657
+ "⇲": u.MO.REL,
1658
+ "⇳": u.MO.RELSTRETCH,
1659
+ "⇴": u.MO.RELACCENT,
1660
+ "⇵": u.MO.RELSTRETCH,
1661
+ "⇶": u.MO.WIDEREL,
1662
+ "⇷": u.MO.RELACCENT,
1663
+ "⇸": u.MO.RELACCENT,
1664
+ "⇹": u.MO.RELACCENT,
1665
+ "⇺": u.MO.RELACCENT,
1666
+ "⇻": u.MO.RELACCENT,
1667
+ "⇼": u.MO.RELACCENT,
1668
+ "⇽": u.MO.WIDEREL,
1669
+ "⇾": u.MO.WIDEREL,
1670
+ "⇿": u.MO.WIDEREL,
1671
+ "∁": L(1, 2, E.TEXCLASS.ORD),
1672
+ "∅": u.MO.ORD,
1673
+ "∆": u.MO.BIN3,
1674
+ "∈": u.MO.REL,
1675
+ "∉": u.MO.REL,
1676
+ "∊": u.MO.REL,
1677
+ "∋": u.MO.REL,
1678
+ "∌": u.MO.REL,
1679
+ "∍": u.MO.REL,
1680
+ "∎": u.MO.BIN3,
1681
+ "−": u.MO.BIN4,
1682
+ "∓": u.MO.BIN4,
1683
+ "∔": u.MO.BIN4,
1684
+ "∕": u.MO.TALLBIN,
1685
+ "∖": u.MO.BIN4,
1686
+ "∗": u.MO.BIN4,
1687
+ "∘": u.MO.BIN4,
1688
+ "∙": u.MO.BIN4,
1689
+ "∝": u.MO.REL,
1690
+ "∞": u.MO.ORD,
1691
+ "∟": u.MO.REL,
1692
+ "∣": u.MO.REL,
1693
+ "∤": u.MO.REL,
1694
+ "∥": u.MO.REL,
1695
+ "∦": u.MO.REL,
1696
+ "∧": u.MO.BIN4,
1697
+ "∨": u.MO.BIN4,
1698
+ "∩": u.MO.BIN4,
1699
+ "∪": u.MO.BIN4,
1700
+ "∴": u.MO.REL,
1701
+ "∵": u.MO.REL,
1702
+ "∶": u.MO.REL,
1703
+ "∷": u.MO.REL,
1704
+ "∸": u.MO.BIN4,
1705
+ "∹": u.MO.REL,
1706
+ "∺": u.MO.BIN4,
1707
+ "∻": u.MO.REL,
1708
+ "∼": u.MO.REL,
1709
+ "∽": u.MO.REL,
1710
+ "∽̱": u.MO.BIN3,
1711
+ "∾": u.MO.REL,
1712
+ "∿": u.MO.BIN3,
1713
+ "≀": u.MO.BIN4,
1714
+ "≁": u.MO.REL,
1715
+ "≂": u.MO.REL,
1716
+ "≂̸": u.MO.REL,
1717
+ "≃": u.MO.REL,
1718
+ "≄": u.MO.REL,
1719
+ "≅": u.MO.REL,
1720
+ "≆": u.MO.REL,
1721
+ "≇": u.MO.REL,
1722
+ "≈": u.MO.REL,
1723
+ "≉": u.MO.REL,
1724
+ "≊": u.MO.REL,
1725
+ "≋": u.MO.REL,
1726
+ "≌": u.MO.REL,
1727
+ "≍": u.MO.REL,
1728
+ "≎": u.MO.REL,
1729
+ "≎̸": u.MO.REL,
1730
+ "≏": u.MO.REL,
1731
+ "≏̸": u.MO.REL,
1732
+ "≐": u.MO.REL,
1733
+ "≑": u.MO.REL,
1734
+ "≒": u.MO.REL,
1735
+ "≓": u.MO.REL,
1736
+ "≔": u.MO.REL,
1737
+ "≕": u.MO.REL,
1738
+ "≖": u.MO.REL,
1739
+ "≗": u.MO.REL,
1740
+ "≘": u.MO.REL,
1741
+ "≙": u.MO.REL,
1742
+ "≚": u.MO.REL,
1743
+ "≛": u.MO.REL,
1744
+ "≜": u.MO.REL,
1745
+ "≝": u.MO.REL,
1746
+ "≞": u.MO.REL,
1747
+ "≟": u.MO.REL,
1748
+ "≠": u.MO.REL,
1749
+ "≡": u.MO.REL,
1750
+ "≢": u.MO.REL,
1751
+ "≣": u.MO.REL,
1752
+ "≤": u.MO.REL,
1753
+ "≥": u.MO.REL,
1754
+ "≦": u.MO.REL,
1755
+ "≦̸": u.MO.REL,
1756
+ "≧": u.MO.REL,
1757
+ "≨": u.MO.REL,
1758
+ "≩": u.MO.REL,
1759
+ "≪": u.MO.REL,
1760
+ "≪̸": u.MO.REL,
1761
+ "≫": u.MO.REL,
1762
+ "≫̸": u.MO.REL,
1763
+ "≬": u.MO.REL,
1764
+ "≭": u.MO.REL,
1765
+ "≮": u.MO.REL,
1766
+ "≯": u.MO.REL,
1767
+ "≰": u.MO.REL,
1768
+ "≱": u.MO.REL,
1769
+ "≲": u.MO.REL,
1770
+ "≳": u.MO.REL,
1771
+ "≴": u.MO.REL,
1772
+ "≵": u.MO.REL,
1773
+ "≶": u.MO.REL,
1774
+ "≷": u.MO.REL,
1775
+ "≸": u.MO.REL,
1776
+ "≹": u.MO.REL,
1777
+ "≺": u.MO.REL,
1778
+ "≻": u.MO.REL,
1779
+ "≼": u.MO.REL,
1780
+ "≽": u.MO.REL,
1781
+ "≾": u.MO.REL,
1782
+ "≿": u.MO.REL,
1783
+ "≿̸": u.MO.REL,
1784
+ "⊀": u.MO.REL,
1785
+ "⊁": u.MO.REL,
1786
+ "⊂": u.MO.REL,
1787
+ "⊂⃒": u.MO.REL,
1788
+ "⊃": u.MO.REL,
1789
+ "⊃⃒": u.MO.REL,
1790
+ "⊄": u.MO.REL,
1791
+ "⊅": u.MO.REL,
1792
+ "⊆": u.MO.REL,
1793
+ "⊇": u.MO.REL,
1794
+ "⊈": u.MO.REL,
1795
+ "⊉": u.MO.REL,
1796
+ "⊊": u.MO.REL,
1797
+ "⊋": u.MO.REL,
1798
+ "⊌": u.MO.BIN4,
1799
+ "⊍": u.MO.BIN4,
1800
+ "⊎": u.MO.BIN4,
1801
+ "⊏": u.MO.REL,
1802
+ "⊏̸": u.MO.REL,
1803
+ "⊐": u.MO.REL,
1804
+ "⊐̸": u.MO.REL,
1805
+ "⊑": u.MO.REL,
1806
+ "⊒": u.MO.REL,
1807
+ "⊓": u.MO.BIN4,
1808
+ "⊔": u.MO.BIN4,
1809
+ "⊕": u.MO.BIN4,
1810
+ "⊖": u.MO.BIN4,
1811
+ "⊗": u.MO.BIN4,
1812
+ "⊘": u.MO.BIN4,
1813
+ "⊙": u.MO.BIN4,
1814
+ "⊚": u.MO.BIN4,
1815
+ "⊛": u.MO.BIN4,
1816
+ "⊜": u.MO.BIN4,
1817
+ "⊝": u.MO.BIN4,
1818
+ "⊞": u.MO.BIN4,
1819
+ "⊟": u.MO.BIN4,
1820
+ "⊠": u.MO.BIN4,
1821
+ "⊡": u.MO.BIN4,
1822
+ "⊢": u.MO.REL,
1823
+ "⊣": u.MO.REL,
1824
+ "⊤": u.MO.ORD55,
1825
+ "⊥": u.MO.REL,
1826
+ "⊦": u.MO.REL,
1827
+ "⊧": u.MO.REL,
1828
+ "⊨": u.MO.REL,
1829
+ "⊩": u.MO.REL,
1830
+ "⊪": u.MO.REL,
1831
+ "⊫": u.MO.REL,
1832
+ "⊬": u.MO.REL,
1833
+ "⊭": u.MO.REL,
1834
+ "⊮": u.MO.REL,
1835
+ "⊯": u.MO.REL,
1836
+ "⊰": u.MO.REL,
1837
+ "⊱": u.MO.REL,
1838
+ "⊲": u.MO.REL,
1839
+ "⊳": u.MO.REL,
1840
+ "⊴": u.MO.REL,
1841
+ "⊵": u.MO.REL,
1842
+ "⊶": u.MO.REL,
1843
+ "⊷": u.MO.REL,
1844
+ "⊸": u.MO.REL,
1845
+ "⊹": u.MO.REL,
1846
+ "⊺": u.MO.BIN4,
1847
+ "⊻": u.MO.BIN4,
1848
+ "⊼": u.MO.BIN4,
1849
+ "⊽": u.MO.BIN4,
1850
+ "⊾": u.MO.BIN3,
1851
+ "⊿": u.MO.BIN3,
1852
+ "⋄": u.MO.BIN4,
1853
+ "⋅": u.MO.BIN4,
1854
+ "⋆": u.MO.BIN4,
1855
+ "⋇": u.MO.BIN4,
1856
+ "⋈": u.MO.REL,
1857
+ "⋉": u.MO.BIN4,
1858
+ "⋊": u.MO.BIN4,
1859
+ "⋋": u.MO.BIN4,
1860
+ "⋌": u.MO.BIN4,
1861
+ "⋍": u.MO.REL,
1862
+ "⋎": u.MO.BIN4,
1863
+ "⋏": u.MO.BIN4,
1864
+ "⋐": u.MO.REL,
1865
+ "⋑": u.MO.REL,
1866
+ "⋒": u.MO.BIN4,
1867
+ "⋓": u.MO.BIN4,
1868
+ "⋔": u.MO.REL,
1869
+ "⋕": u.MO.REL,
1870
+ "⋖": u.MO.REL,
1871
+ "⋗": u.MO.REL,
1872
+ "⋘": u.MO.REL,
1873
+ "⋙": u.MO.REL,
1874
+ "⋚": u.MO.REL,
1875
+ "⋛": u.MO.REL,
1876
+ "⋜": u.MO.REL,
1877
+ "⋝": u.MO.REL,
1878
+ "⋞": u.MO.REL,
1879
+ "⋟": u.MO.REL,
1880
+ "⋠": u.MO.REL,
1881
+ "⋡": u.MO.REL,
1882
+ "⋢": u.MO.REL,
1883
+ "⋣": u.MO.REL,
1884
+ "⋤": u.MO.REL,
1885
+ "⋥": u.MO.REL,
1886
+ "⋦": u.MO.REL,
1887
+ "⋧": u.MO.REL,
1888
+ "⋨": u.MO.REL,
1889
+ "⋩": u.MO.REL,
1890
+ "⋪": u.MO.REL,
1891
+ "⋫": u.MO.REL,
1892
+ "⋬": u.MO.REL,
1893
+ "⋭": u.MO.REL,
1894
+ "⋮": u.MO.ORD55,
1895
+ "⋯": u.MO.INNER,
1896
+ "⋰": u.MO.REL,
1897
+ "⋱": [5, 5, E.TEXCLASS.INNER, null],
1898
+ "⋲": u.MO.REL,
1899
+ "⋳": u.MO.REL,
1900
+ "⋴": u.MO.REL,
1901
+ "⋵": u.MO.REL,
1902
+ "⋶": u.MO.REL,
1903
+ "⋷": u.MO.REL,
1904
+ "⋸": u.MO.REL,
1905
+ "⋹": u.MO.REL,
1906
+ "⋺": u.MO.REL,
1907
+ "⋻": u.MO.REL,
1908
+ "⋼": u.MO.REL,
1909
+ "⋽": u.MO.REL,
1910
+ "⋾": u.MO.REL,
1911
+ "⋿": u.MO.REL,
1912
+ "⌅": u.MO.BIN3,
1913
+ "⌆": u.MO.BIN3,
1914
+ "⌢": u.MO.REL4,
1915
+ "⌣": u.MO.REL4,
1916
+ "〈": u.MO.OPEN,
1917
+ "〉": u.MO.CLOSE,
1918
+ "⎪": u.MO.ORD,
1919
+ "⎯": [0, 0, E.TEXCLASS.ORD, { stretchy: !0 }],
1920
+ "⎰": u.MO.OPEN,
1921
+ "⎱": u.MO.CLOSE,
1922
+ "─": u.MO.ORD,
1923
+ "△": u.MO.BIN4,
1924
+ "▵": u.MO.BIN4,
1925
+ "▹": u.MO.BIN4,
1926
+ "▽": u.MO.BIN4,
1927
+ "▿": u.MO.BIN4,
1928
+ "◃": u.MO.BIN4,
1929
+ "◯": u.MO.BIN3,
1930
+ "♠": u.MO.ORD,
1931
+ "♡": u.MO.ORD,
1932
+ "♢": u.MO.ORD,
1933
+ "♣": u.MO.ORD,
1934
+ "❘": u.MO.REL,
1935
+ "⟰": u.MO.RELSTRETCH,
1936
+ "⟱": u.MO.RELSTRETCH,
1937
+ "⟵": u.MO.WIDEREL,
1938
+ "⟶": u.MO.WIDEREL,
1939
+ "⟷": u.MO.WIDEREL,
1940
+ "⟸": u.MO.WIDEREL,
1941
+ "⟹": u.MO.WIDEREL,
1942
+ "⟺": u.MO.WIDEREL,
1943
+ "⟻": u.MO.WIDEREL,
1944
+ "⟼": u.MO.WIDEREL,
1945
+ "⟽": u.MO.WIDEREL,
1946
+ "⟾": u.MO.WIDEREL,
1947
+ "⟿": u.MO.WIDEREL,
1948
+ "⤀": u.MO.RELACCENT,
1949
+ "⤁": u.MO.RELACCENT,
1950
+ "⤂": u.MO.RELACCENT,
1951
+ "⤃": u.MO.RELACCENT,
1952
+ "⤄": u.MO.RELACCENT,
1953
+ "⤅": u.MO.RELACCENT,
1954
+ "⤆": u.MO.RELACCENT,
1955
+ "⤇": u.MO.RELACCENT,
1956
+ "⤈": u.MO.REL,
1957
+ "⤉": u.MO.REL,
1958
+ "⤊": u.MO.RELSTRETCH,
1959
+ "⤋": u.MO.RELSTRETCH,
1960
+ "⤌": u.MO.WIDEREL,
1961
+ "⤍": u.MO.WIDEREL,
1962
+ "⤎": u.MO.WIDEREL,
1963
+ "⤏": u.MO.WIDEREL,
1964
+ "⤐": u.MO.WIDEREL,
1965
+ "⤑": u.MO.RELACCENT,
1966
+ "⤒": u.MO.RELSTRETCH,
1967
+ "⤓": u.MO.RELSTRETCH,
1968
+ "⤔": u.MO.RELACCENT,
1969
+ "⤕": u.MO.RELACCENT,
1970
+ "⤖": u.MO.RELACCENT,
1971
+ "⤗": u.MO.RELACCENT,
1972
+ "⤘": u.MO.RELACCENT,
1973
+ "⤙": u.MO.RELACCENT,
1974
+ "⤚": u.MO.RELACCENT,
1975
+ "⤛": u.MO.RELACCENT,
1976
+ "⤜": u.MO.RELACCENT,
1977
+ "⤝": u.MO.RELACCENT,
1978
+ "⤞": u.MO.RELACCENT,
1979
+ "⤟": u.MO.RELACCENT,
1980
+ "⤠": u.MO.RELACCENT,
1981
+ "⤡": u.MO.RELSTRETCH,
1982
+ "⤢": u.MO.RELSTRETCH,
1983
+ "⤣": u.MO.REL,
1984
+ "⤤": u.MO.REL,
1985
+ "⤥": u.MO.REL,
1986
+ "⤦": u.MO.REL,
1987
+ "⤧": u.MO.REL,
1988
+ "⤨": u.MO.REL,
1989
+ "⤩": u.MO.REL,
1990
+ "⤪": u.MO.REL,
1991
+ "⤫": u.MO.REL,
1992
+ "⤬": u.MO.REL,
1993
+ "⤭": u.MO.REL,
1994
+ "⤮": u.MO.REL,
1995
+ "⤯": u.MO.REL,
1996
+ "⤰": u.MO.REL,
1997
+ "⤱": u.MO.REL,
1998
+ "⤲": u.MO.REL,
1999
+ "⤳": u.MO.RELACCENT,
2000
+ "⤴": u.MO.REL,
2001
+ "⤵": u.MO.REL,
2002
+ "⤶": u.MO.REL,
2003
+ "⤷": u.MO.REL,
2004
+ "⤸": u.MO.REL,
2005
+ "⤹": u.MO.REL,
2006
+ "⤺": u.MO.RELACCENT,
2007
+ "⤻": u.MO.RELACCENT,
2008
+ "⤼": u.MO.RELACCENT,
2009
+ "⤽": u.MO.RELACCENT,
2010
+ "⤾": u.MO.REL,
2011
+ "⤿": u.MO.REL,
2012
+ "⥀": u.MO.REL,
2013
+ "⥁": u.MO.REL,
2014
+ "⥂": u.MO.RELACCENT,
2015
+ "⥃": u.MO.RELACCENT,
2016
+ "⥄": u.MO.RELACCENT,
2017
+ "⥅": u.MO.RELACCENT,
2018
+ "⥆": u.MO.RELACCENT,
2019
+ "⥇": u.MO.RELACCENT,
2020
+ "⥈": u.MO.RELACCENT,
2021
+ "⥉": u.MO.REL,
2022
+ "⥊": u.MO.RELACCENT,
2023
+ "⥋": u.MO.RELACCENT,
2024
+ "⥌": u.MO.REL,
2025
+ "⥍": u.MO.REL,
2026
+ "⥎": u.MO.WIDEREL,
2027
+ "⥏": u.MO.RELSTRETCH,
2028
+ "⥐": u.MO.WIDEREL,
2029
+ "⥑": u.MO.RELSTRETCH,
2030
+ "⥒": u.MO.WIDEREL,
2031
+ "⥓": u.MO.WIDEREL,
2032
+ "⥔": u.MO.RELSTRETCH,
2033
+ "⥕": u.MO.RELSTRETCH,
2034
+ "⥖": u.MO.RELSTRETCH,
2035
+ "⥗": u.MO.RELSTRETCH,
2036
+ "⥘": u.MO.RELSTRETCH,
2037
+ "⥙": u.MO.RELSTRETCH,
2038
+ "⥚": u.MO.WIDEREL,
2039
+ "⥛": u.MO.WIDEREL,
2040
+ "⥜": u.MO.RELSTRETCH,
2041
+ "⥝": u.MO.RELSTRETCH,
2042
+ "⥞": u.MO.WIDEREL,
2043
+ "⥟": u.MO.WIDEREL,
2044
+ "⥠": u.MO.RELSTRETCH,
2045
+ "⥡": u.MO.RELSTRETCH,
2046
+ "⥢": u.MO.RELACCENT,
2047
+ "⥣": u.MO.REL,
2048
+ "⥤": u.MO.RELACCENT,
2049
+ "⥥": u.MO.REL,
2050
+ "⥦": u.MO.RELACCENT,
2051
+ "⥧": u.MO.RELACCENT,
2052
+ "⥨": u.MO.RELACCENT,
2053
+ "⥩": u.MO.RELACCENT,
2054
+ "⥪": u.MO.RELACCENT,
2055
+ "⥫": u.MO.RELACCENT,
2056
+ "⥬": u.MO.RELACCENT,
2057
+ "⥭": u.MO.RELACCENT,
2058
+ "⥮": u.MO.RELSTRETCH,
2059
+ "⥯": u.MO.RELSTRETCH,
2060
+ "⥰": u.MO.RELACCENT,
2061
+ "⥱": u.MO.RELACCENT,
2062
+ "⥲": u.MO.RELACCENT,
2063
+ "⥳": u.MO.RELACCENT,
2064
+ "⥴": u.MO.RELACCENT,
2065
+ "⥵": u.MO.RELACCENT,
2066
+ "⥶": u.MO.RELACCENT,
2067
+ "⥷": u.MO.RELACCENT,
2068
+ "⥸": u.MO.RELACCENT,
2069
+ "⥹": u.MO.RELACCENT,
2070
+ "⥺": u.MO.RELACCENT,
2071
+ "⥻": u.MO.RELACCENT,
2072
+ "⥼": u.MO.RELACCENT,
2073
+ "⥽": u.MO.RELACCENT,
2074
+ "⥾": u.MO.REL,
2075
+ "⥿": u.MO.REL,
2076
+ "⦁": u.MO.BIN3,
2077
+ "⦂": u.MO.BIN3,
2078
+ "⦙": u.MO.BIN3,
2079
+ "⦚": u.MO.BIN3,
2080
+ "⦛": u.MO.BIN3,
2081
+ "⦜": u.MO.BIN3,
2082
+ "⦝": u.MO.BIN3,
2083
+ "⦞": u.MO.BIN3,
2084
+ "⦟": u.MO.BIN3,
2085
+ "⦠": u.MO.BIN3,
2086
+ "⦡": u.MO.BIN3,
2087
+ "⦢": u.MO.BIN3,
2088
+ "⦣": u.MO.BIN3,
2089
+ "⦤": u.MO.BIN3,
2090
+ "⦥": u.MO.BIN3,
2091
+ "⦦": u.MO.BIN3,
2092
+ "⦧": u.MO.BIN3,
2093
+ "⦨": u.MO.BIN3,
2094
+ "⦩": u.MO.BIN3,
2095
+ "⦪": u.MO.BIN3,
2096
+ "⦫": u.MO.BIN3,
2097
+ "⦬": u.MO.BIN3,
2098
+ "⦭": u.MO.BIN3,
2099
+ "⦮": u.MO.BIN3,
2100
+ "⦯": u.MO.BIN3,
2101
+ "⦰": u.MO.BIN3,
2102
+ "⦱": u.MO.BIN3,
2103
+ "⦲": u.MO.BIN3,
2104
+ "⦳": u.MO.BIN3,
2105
+ "⦴": u.MO.BIN3,
2106
+ "⦵": u.MO.BIN3,
2107
+ "⦶": u.MO.BIN4,
2108
+ "⦷": u.MO.BIN4,
2109
+ "⦸": u.MO.BIN4,
2110
+ "⦹": u.MO.BIN4,
2111
+ "⦺": u.MO.BIN4,
2112
+ "⦻": u.MO.BIN4,
2113
+ "⦼": u.MO.BIN4,
2114
+ "⦽": u.MO.BIN4,
2115
+ "⦾": u.MO.BIN4,
2116
+ "⦿": u.MO.BIN4,
2117
+ "⧀": u.MO.REL,
2118
+ "⧁": u.MO.REL,
2119
+ "⧂": u.MO.BIN3,
2120
+ "⧃": u.MO.BIN3,
2121
+ "⧄": u.MO.BIN4,
2122
+ "⧅": u.MO.BIN4,
2123
+ "⧆": u.MO.BIN4,
2124
+ "⧇": u.MO.BIN4,
2125
+ "⧈": u.MO.BIN4,
2126
+ "⧉": u.MO.BIN3,
2127
+ "⧊": u.MO.BIN3,
2128
+ "⧋": u.MO.BIN3,
2129
+ "⧌": u.MO.BIN3,
2130
+ "⧍": u.MO.BIN3,
2131
+ "⧎": u.MO.REL,
2132
+ "⧏": u.MO.REL,
2133
+ "⧏̸": u.MO.REL,
2134
+ "⧐": u.MO.REL,
2135
+ "⧐̸": u.MO.REL,
2136
+ "⧑": u.MO.REL,
2137
+ "⧒": u.MO.REL,
2138
+ "⧓": u.MO.REL,
2139
+ "⧔": u.MO.REL,
2140
+ "⧕": u.MO.REL,
2141
+ "⧖": u.MO.BIN4,
2142
+ "⧗": u.MO.BIN4,
2143
+ "⧘": u.MO.BIN3,
2144
+ "⧙": u.MO.BIN3,
2145
+ "⧛": u.MO.BIN3,
2146
+ "⧜": u.MO.BIN3,
2147
+ "⧝": u.MO.BIN3,
2148
+ "⧞": u.MO.REL,
2149
+ "⧟": u.MO.BIN3,
2150
+ "⧠": u.MO.BIN3,
2151
+ "⧡": u.MO.REL,
2152
+ "⧢": u.MO.BIN4,
2153
+ "⧣": u.MO.REL,
2154
+ "⧤": u.MO.REL,
2155
+ "⧥": u.MO.REL,
2156
+ "⧦": u.MO.REL,
2157
+ "⧧": u.MO.BIN3,
2158
+ "⧨": u.MO.BIN3,
2159
+ "⧩": u.MO.BIN3,
2160
+ "⧪": u.MO.BIN3,
2161
+ "⧫": u.MO.BIN3,
2162
+ "⧬": u.MO.BIN3,
2163
+ "⧭": u.MO.BIN3,
2164
+ "⧮": u.MO.BIN3,
2165
+ "⧯": u.MO.BIN3,
2166
+ "⧰": u.MO.BIN3,
2167
+ "⧱": u.MO.BIN3,
2168
+ "⧲": u.MO.BIN3,
2169
+ "⧳": u.MO.BIN3,
2170
+ "⧴": u.MO.REL,
2171
+ "⧵": u.MO.BIN4,
2172
+ "⧶": u.MO.BIN4,
2173
+ "⧷": u.MO.BIN4,
2174
+ "⧸": u.MO.BIN3,
2175
+ "⧹": u.MO.BIN3,
2176
+ "⧺": u.MO.BIN3,
2177
+ "⧻": u.MO.BIN3,
2178
+ "⧾": u.MO.BIN4,
2179
+ "⧿": u.MO.BIN4,
2180
+ "⨝": u.MO.BIN3,
2181
+ "⨞": u.MO.BIN3,
2182
+ "⨟": u.MO.BIN3,
2183
+ "⨠": u.MO.BIN3,
2184
+ "⨡": u.MO.BIN3,
2185
+ "⨢": u.MO.BIN4,
2186
+ "⨣": u.MO.BIN4,
2187
+ "⨤": u.MO.BIN4,
2188
+ "⨥": u.MO.BIN4,
2189
+ "⨦": u.MO.BIN4,
2190
+ "⨧": u.MO.BIN4,
2191
+ "⨨": u.MO.BIN4,
2192
+ "⨩": u.MO.BIN4,
2193
+ "⨪": u.MO.BIN4,
2194
+ "⨫": u.MO.BIN4,
2195
+ "⨬": u.MO.BIN4,
2196
+ "⨭": u.MO.BIN4,
2197
+ "⨮": u.MO.BIN4,
2198
+ "⨯": u.MO.BIN4,
2199
+ "⨰": u.MO.BIN4,
2200
+ "⨱": u.MO.BIN4,
2201
+ "⨲": u.MO.BIN4,
2202
+ "⨳": u.MO.BIN4,
2203
+ "⨴": u.MO.BIN4,
2204
+ "⨵": u.MO.BIN4,
2205
+ "⨶": u.MO.BIN4,
2206
+ "⨷": u.MO.BIN4,
2207
+ "⨸": u.MO.BIN4,
2208
+ "⨹": u.MO.BIN4,
2209
+ "⨺": u.MO.BIN4,
2210
+ "⨻": u.MO.BIN4,
2211
+ "⨼": u.MO.BIN4,
2212
+ "⨽": u.MO.BIN4,
2213
+ "⨾": u.MO.BIN4,
2214
+ "⨿": u.MO.BIN4,
2215
+ "⩀": u.MO.BIN4,
2216
+ "⩁": u.MO.BIN4,
2217
+ "⩂": u.MO.BIN4,
2218
+ "⩃": u.MO.BIN4,
2219
+ "⩄": u.MO.BIN4,
2220
+ "⩅": u.MO.BIN4,
2221
+ "⩆": u.MO.BIN4,
2222
+ "⩇": u.MO.BIN4,
2223
+ "⩈": u.MO.BIN4,
2224
+ "⩉": u.MO.BIN4,
2225
+ "⩊": u.MO.BIN4,
2226
+ "⩋": u.MO.BIN4,
2227
+ "⩌": u.MO.BIN4,
2228
+ "⩍": u.MO.BIN4,
2229
+ "⩎": u.MO.BIN4,
2230
+ "⩏": u.MO.BIN4,
2231
+ "⩐": u.MO.BIN4,
2232
+ "⩑": u.MO.BIN4,
2233
+ "⩒": u.MO.BIN4,
2234
+ "⩓": u.MO.BIN4,
2235
+ "⩔": u.MO.BIN4,
2236
+ "⩕": u.MO.BIN4,
2237
+ "⩖": u.MO.BIN4,
2238
+ "⩗": u.MO.BIN4,
2239
+ "⩘": u.MO.BIN4,
2240
+ "⩙": u.MO.REL,
2241
+ "⩚": u.MO.BIN4,
2242
+ "⩛": u.MO.BIN4,
2243
+ "⩜": u.MO.BIN4,
2244
+ "⩝": u.MO.BIN4,
2245
+ "⩞": u.MO.BIN4,
2246
+ "⩟": u.MO.BIN4,
2247
+ "⩠": u.MO.BIN4,
2248
+ "⩡": u.MO.BIN4,
2249
+ "⩢": u.MO.BIN4,
2250
+ "⩣": u.MO.BIN4,
2251
+ "⩤": u.MO.BIN4,
2252
+ "⩥": u.MO.BIN4,
2253
+ "⩦": u.MO.REL,
2254
+ "⩧": u.MO.REL,
2255
+ "⩨": u.MO.REL,
2256
+ "⩩": u.MO.REL,
2257
+ "⩪": u.MO.REL,
2258
+ "⩫": u.MO.REL,
2259
+ "⩬": u.MO.REL,
2260
+ "⩭": u.MO.REL,
2261
+ "⩮": u.MO.REL,
2262
+ "⩯": u.MO.REL,
2263
+ "⩰": u.MO.REL,
2264
+ "⩱": u.MO.BIN4,
2265
+ "⩲": u.MO.BIN4,
2266
+ "⩳": u.MO.REL,
2267
+ "⩴": u.MO.REL,
2268
+ "⩵": u.MO.REL,
2269
+ "⩶": u.MO.REL,
2270
+ "⩷": u.MO.REL,
2271
+ "⩸": u.MO.REL,
2272
+ "⩹": u.MO.REL,
2273
+ "⩺": u.MO.REL,
2274
+ "⩻": u.MO.REL,
2275
+ "⩼": u.MO.REL,
2276
+ "⩽": u.MO.REL,
2277
+ "⩽̸": u.MO.REL,
2278
+ "⩾": u.MO.REL,
2279
+ "⩾̸": u.MO.REL,
2280
+ "⩿": u.MO.REL,
2281
+ "⪀": u.MO.REL,
2282
+ "⪁": u.MO.REL,
2283
+ "⪂": u.MO.REL,
2284
+ "⪃": u.MO.REL,
2285
+ "⪄": u.MO.REL,
2286
+ "⪅": u.MO.REL,
2287
+ "⪆": u.MO.REL,
2288
+ "⪇": u.MO.REL,
2289
+ "⪈": u.MO.REL,
2290
+ "⪉": u.MO.REL,
2291
+ "⪊": u.MO.REL,
2292
+ "⪋": u.MO.REL,
2293
+ "⪌": u.MO.REL,
2294
+ "⪍": u.MO.REL,
2295
+ "⪎": u.MO.REL,
2296
+ "⪏": u.MO.REL,
2297
+ "⪐": u.MO.REL,
2298
+ "⪑": u.MO.REL,
2299
+ "⪒": u.MO.REL,
2300
+ "⪓": u.MO.REL,
2301
+ "⪔": u.MO.REL,
2302
+ "⪕": u.MO.REL,
2303
+ "⪖": u.MO.REL,
2304
+ "⪗": u.MO.REL,
2305
+ "⪘": u.MO.REL,
2306
+ "⪙": u.MO.REL,
2307
+ "⪚": u.MO.REL,
2308
+ "⪛": u.MO.REL,
2309
+ "⪜": u.MO.REL,
2310
+ "⪝": u.MO.REL,
2311
+ "⪞": u.MO.REL,
2312
+ "⪟": u.MO.REL,
2313
+ "⪠": u.MO.REL,
2314
+ "⪡": u.MO.REL,
2315
+ "⪡̸": u.MO.REL,
2316
+ "⪢": u.MO.REL,
2317
+ "⪢̸": u.MO.REL,
2318
+ "⪣": u.MO.REL,
2319
+ "⪤": u.MO.REL,
2320
+ "⪥": u.MO.REL,
2321
+ "⪦": u.MO.REL,
2322
+ "⪧": u.MO.REL,
2323
+ "⪨": u.MO.REL,
2324
+ "⪩": u.MO.REL,
2325
+ "⪪": u.MO.REL,
2326
+ "⪫": u.MO.REL,
2327
+ "⪬": u.MO.REL,
2328
+ "⪭": u.MO.REL,
2329
+ "⪮": u.MO.REL,
2330
+ "⪯": u.MO.REL,
2331
+ "⪯̸": u.MO.REL,
2332
+ "⪰": u.MO.REL,
2333
+ "⪰̸": u.MO.REL,
2334
+ "⪱": u.MO.REL,
2335
+ "⪲": u.MO.REL,
2336
+ "⪳": u.MO.REL,
2337
+ "⪴": u.MO.REL,
2338
+ "⪵": u.MO.REL,
2339
+ "⪶": u.MO.REL,
2340
+ "⪷": u.MO.REL,
2341
+ "⪸": u.MO.REL,
2342
+ "⪹": u.MO.REL,
2343
+ "⪺": u.MO.REL,
2344
+ "⪻": u.MO.REL,
2345
+ "⪼": u.MO.REL,
2346
+ "⪽": u.MO.REL,
2347
+ "⪾": u.MO.REL,
2348
+ "⪿": u.MO.REL,
2349
+ "⫀": u.MO.REL,
2350
+ "⫁": u.MO.REL,
2351
+ "⫂": u.MO.REL,
2352
+ "⫃": u.MO.REL,
2353
+ "⫄": u.MO.REL,
2354
+ "⫅": u.MO.REL,
2355
+ "⫆": u.MO.REL,
2356
+ "⫇": u.MO.REL,
2357
+ "⫈": u.MO.REL,
2358
+ "⫉": u.MO.REL,
2359
+ "⫊": u.MO.REL,
2360
+ "⫋": u.MO.REL,
2361
+ "⫌": u.MO.REL,
2362
+ "⫍": u.MO.REL,
2363
+ "⫎": u.MO.REL,
2364
+ "⫏": u.MO.REL,
2365
+ "⫐": u.MO.REL,
2366
+ "⫑": u.MO.REL,
2367
+ "⫒": u.MO.REL,
2368
+ "⫓": u.MO.REL,
2369
+ "⫔": u.MO.REL,
2370
+ "⫕": u.MO.REL,
2371
+ "⫖": u.MO.REL,
2372
+ "⫗": u.MO.REL,
2373
+ "⫘": u.MO.REL,
2374
+ "⫙": u.MO.REL,
2375
+ "⫚": u.MO.REL,
2376
+ "⫛": u.MO.REL,
2377
+ "⫝": u.MO.REL,
2378
+ "⫝̸": u.MO.REL,
2379
+ "⫞": u.MO.REL,
2380
+ "⫟": u.MO.REL,
2381
+ "⫠": u.MO.REL,
2382
+ "⫡": u.MO.REL,
2383
+ "⫢": u.MO.REL,
2384
+ "⫣": u.MO.REL,
2385
+ "⫤": u.MO.REL,
2386
+ "⫥": u.MO.REL,
2387
+ "⫦": u.MO.REL,
2388
+ "⫧": u.MO.REL,
2389
+ "⫨": u.MO.REL,
2390
+ "⫩": u.MO.REL,
2391
+ "⫪": u.MO.REL,
2392
+ "⫫": u.MO.REL,
2393
+ "⫬": u.MO.REL,
2394
+ "⫭": u.MO.REL,
2395
+ "⫮": u.MO.REL,
2396
+ "⫯": u.MO.REL,
2397
+ "⫰": u.MO.REL,
2398
+ "⫱": u.MO.REL,
2399
+ "⫲": u.MO.REL,
2400
+ "⫳": u.MO.REL,
2401
+ "⫴": u.MO.BIN4,
2402
+ "⫵": u.MO.BIN4,
2403
+ "⫶": u.MO.BIN4,
2404
+ "⫷": u.MO.REL,
2405
+ "⫸": u.MO.REL,
2406
+ "⫹": u.MO.REL,
2407
+ "⫺": u.MO.REL,
2408
+ "⫻": u.MO.BIN4,
2409
+ "⫽": u.MO.BIN4,
2410
+ "⫾": u.MO.BIN3,
2411
+ "⭅": u.MO.RELSTRETCH,
2412
+ "⭆": u.MO.RELSTRETCH,
2413
+ "〈": u.MO.OPEN,
2414
+ "〉": u.MO.CLOSE,
2415
+ "︷": u.MO.WIDEACCENT,
2416
+ "︸": u.MO.WIDEACCENT
2417
+ }
2418
+ }, u.OPTABLE.infix["^"] = u.MO.WIDEREL, u.OPTABLE.infix._ = u.MO.WIDEREL, u.OPTABLE.infix["⫝̸"] = u.MO.REL;
2419
+ })(G)), G;
2420
+ }
2421
+ var J;
2422
+ function Eu() {
2423
+ if (J) return F;
2424
+ J = 1;
2425
+ var u = F && F.__extends || /* @__PURE__ */ (function() {
2426
+ var O = function(n, t) {
2427
+ return O = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, f) {
2428
+ e.__proto__ = f;
2429
+ } || function(e, f) {
2430
+ for (var d in f) Object.prototype.hasOwnProperty.call(f, d) && (e[d] = f[d]);
2431
+ }, O(n, t);
2432
+ };
2433
+ return function(n, t) {
2434
+ if (typeof t != "function" && t !== null)
2435
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
2436
+ O(n, t);
2437
+ function e() {
2438
+ this.constructor = n;
2439
+ }
2440
+ n.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
2441
+ };
2442
+ })(), S = F && F.__assign || function() {
2443
+ return S = Object.assign || function(O) {
2444
+ for (var n, t = 1, e = arguments.length; t < e; t++) {
2445
+ n = arguments[t];
2446
+ for (var f in n) Object.prototype.hasOwnProperty.call(n, f) && (O[f] = n[f]);
2447
+ }
2448
+ return O;
2449
+ }, S.apply(this, arguments);
2450
+ }, E = F && F.__read || function(O, n) {
2451
+ var t = typeof Symbol == "function" && O[Symbol.iterator];
2452
+ if (!t) return O;
2453
+ var e = t.call(O), f, d = [], I;
2454
+ try {
2455
+ for (; (n === void 0 || n-- > 0) && !(f = e.next()).done; ) d.push(f.value);
2456
+ } catch (m) {
2457
+ I = { error: m };
2458
+ } finally {
2459
+ try {
2460
+ f && !f.done && (t = e.return) && t.call(e);
2461
+ } finally {
2462
+ if (I) throw I.error;
2463
+ }
2464
+ }
2465
+ return d;
2466
+ }, L = F && F.__values || function(O) {
2467
+ var n = typeof Symbol == "function" && Symbol.iterator, t = n && O[n], e = 0;
2468
+ if (t) return t.call(O);
2469
+ if (O && typeof O.length == "number") return {
2470
+ next: function() {
2471
+ return O && e >= O.length && (O = void 0), { value: O && O[e++], done: !O };
2472
+ }
2473
+ };
2474
+ throw new TypeError(n ? "Object is not iterable." : "Symbol.iterator is not defined.");
2475
+ };
2476
+ Object.defineProperty(F, "__esModule", { value: !0 }), F.MmlMo = void 0;
2477
+ var R = Y(), l = iu(), r = uu(), M = (function(O) {
2478
+ u(n, O);
2479
+ function n() {
2480
+ var t = O !== null && O.apply(this, arguments) || this;
2481
+ return t._texClass = null, t.lspace = 5 / 18, t.rspace = 5 / 18, t;
2482
+ }
2483
+ return Object.defineProperty(n.prototype, "texClass", {
2484
+ get: function() {
2485
+ if (this._texClass === null) {
2486
+ var t = this.getText(), e = E(this.handleExplicitForm(this.getForms()), 3), f = e[0], d = e[1], I = e[2], m = this.constructor.OPTABLE, h = m[f][t] || m[d][t] || m[I][t];
2487
+ return h ? h[2] : R.TEXCLASS.REL;
2488
+ }
2489
+ return this._texClass;
2490
+ },
2491
+ set: function(t) {
2492
+ this._texClass = t;
2493
+ },
2494
+ enumerable: !1,
2495
+ configurable: !0
2496
+ }), Object.defineProperty(n.prototype, "kind", {
2497
+ get: function() {
2498
+ return "mo";
2499
+ },
2500
+ enumerable: !1,
2501
+ configurable: !0
2502
+ }), Object.defineProperty(n.prototype, "isEmbellished", {
2503
+ get: function() {
2504
+ return !0;
2505
+ },
2506
+ enumerable: !1,
2507
+ configurable: !0
2508
+ }), Object.defineProperty(n.prototype, "hasNewLine", {
2509
+ get: function() {
2510
+ return this.attributes.get("linebreak") === "newline";
2511
+ },
2512
+ enumerable: !1,
2513
+ configurable: !0
2514
+ }), n.prototype.coreParent = function() {
2515
+ for (var t = this, e = this, f = this.factory.getNodeClass("math"); e && e.isEmbellished && e.coreMO() === this && !(e instanceof f); )
2516
+ t = e, e = e.parent;
2517
+ return t;
2518
+ }, n.prototype.coreText = function(t) {
2519
+ if (!t)
2520
+ return "";
2521
+ if (t.isEmbellished)
2522
+ return t.coreMO().getText();
2523
+ for (; ((t.isKind("mrow") || t.isKind("TeXAtom") && t.texClass !== R.TEXCLASS.VCENTER || t.isKind("mstyle") || t.isKind("mphantom")) && t.childNodes.length === 1 || t.isKind("munderover")) && t.childNodes[0]; )
2524
+ t = t.childNodes[0];
2525
+ return t.isToken ? t.getText() : "";
2526
+ }, n.prototype.hasSpacingAttributes = function() {
2527
+ return this.attributes.isSet("lspace") || this.attributes.isSet("rspace");
2528
+ }, Object.defineProperty(n.prototype, "isAccent", {
2529
+ get: function() {
2530
+ var t = !1, e = this.coreParent().parent;
2531
+ if (e) {
2532
+ var f = e.isKind("mover") ? e.childNodes[e.over].coreMO() ? "accent" : "" : e.isKind("munder") ? e.childNodes[e.under].coreMO() ? "accentunder" : "" : e.isKind("munderover") ? this === e.childNodes[e.over].coreMO() ? "accent" : this === e.childNodes[e.under].coreMO() ? "accentunder" : "" : "";
2533
+ if (f) {
2534
+ var d = e.attributes.getExplicit(f);
2535
+ t = d !== void 0 ? t : this.attributes.get("accent");
2536
+ }
2537
+ }
2538
+ return t;
2539
+ },
2540
+ enumerable: !1,
2541
+ configurable: !0
2542
+ }), n.prototype.setTeXclass = function(t) {
2543
+ var e = this.attributes.getList("form", "fence"), f = e.form, d = e.fence;
2544
+ return this.getProperty("texClass") === void 0 && (this.attributes.isSet("lspace") || this.attributes.isSet("rspace")) ? null : (d && this.texClass === R.TEXCLASS.REL && (f === "prefix" && (this.texClass = R.TEXCLASS.OPEN), f === "postfix" && (this.texClass = R.TEXCLASS.CLOSE)), this.adjustTeXclass(t));
2545
+ }, n.prototype.adjustTeXclass = function(t) {
2546
+ var e = this.texClass, f = this.prevClass;
2547
+ if (e === R.TEXCLASS.NONE)
2548
+ return t;
2549
+ if (t ? (t.getProperty("autoOP") && (e === R.TEXCLASS.BIN || e === R.TEXCLASS.REL) && (f = t.texClass = R.TEXCLASS.ORD), f = this.prevClass = t.texClass || R.TEXCLASS.ORD, this.prevLevel = this.attributes.getInherited("scriptlevel")) : f = this.prevClass = R.TEXCLASS.NONE, e === R.TEXCLASS.BIN && (f === R.TEXCLASS.NONE || f === R.TEXCLASS.BIN || f === R.TEXCLASS.OP || f === R.TEXCLASS.REL || f === R.TEXCLASS.OPEN || f === R.TEXCLASS.PUNCT))
2550
+ this.texClass = R.TEXCLASS.ORD;
2551
+ else if (f === R.TEXCLASS.BIN && (e === R.TEXCLASS.REL || e === R.TEXCLASS.CLOSE || e === R.TEXCLASS.PUNCT))
2552
+ t.texClass = this.prevClass = R.TEXCLASS.ORD;
2553
+ else if (e === R.TEXCLASS.BIN) {
2554
+ for (var d = this, I = this.parent; I && I.parent && I.isEmbellished && (I.childNodes.length === 1 || !I.isKind("mrow") && I.core() === d); )
2555
+ d = I, I = I.parent;
2556
+ I.childNodes[I.childNodes.length - 1] === d && (this.texClass = R.TEXCLASS.ORD);
2557
+ }
2558
+ return this;
2559
+ }, n.prototype.setInheritedAttributes = function(t, e, f, d) {
2560
+ t === void 0 && (t = {}), e === void 0 && (e = !1), f === void 0 && (f = 0), d === void 0 && (d = !1), O.prototype.setInheritedAttributes.call(this, t, e, f, d);
2561
+ var I = this.getText();
2562
+ this.checkOperatorTable(I), this.checkPseudoScripts(I), this.checkPrimes(I), this.checkMathAccent(I);
2563
+ }, n.prototype.checkOperatorTable = function(t) {
2564
+ var e, f, d = E(this.handleExplicitForm(this.getForms()), 3), I = d[0], m = d[1], h = d[2];
2565
+ this.attributes.setInherited("form", I);
2566
+ var a = this.constructor.OPTABLE, i = a[I][t] || a[m][t] || a[h][t];
2567
+ if (i) {
2568
+ this.getProperty("texClass") === void 0 && (this.texClass = i[2]);
2569
+ try {
2570
+ for (var A = L(Object.keys(i[3] || {})), C = A.next(); !C.done; C = A.next()) {
2571
+ var c = C.value;
2572
+ this.attributes.setInherited(c, i[3][c]);
2573
+ }
2574
+ } catch (T) {
2575
+ e = { error: T };
2576
+ } finally {
2577
+ try {
2578
+ C && !C.done && (f = A.return) && f.call(A);
2579
+ } finally {
2580
+ if (e) throw e.error;
2581
+ }
2582
+ }
2583
+ this.lspace = (i[0] + 1) / 18, this.rspace = (i[1] + 1) / 18;
2584
+ } else {
2585
+ var N = (0, l.getRange)(t);
2586
+ if (N) {
2587
+ this.getProperty("texClass") === void 0 && (this.texClass = N[2]);
2588
+ var y = this.constructor.MMLSPACING[N[2]];
2589
+ this.lspace = (y[0] + 1) / 18, this.rspace = (y[1] + 1) / 18;
2590
+ }
2591
+ }
2592
+ }, n.prototype.getForms = function() {
2593
+ for (var t = this, e = this.parent, f = this.Parent; f && f.isEmbellished; )
2594
+ t = e, e = f.parent, f = f.Parent;
2595
+ if (e && e.isKind("mrow") && e.nonSpaceLength() !== 1) {
2596
+ if (e.firstNonSpace() === t)
2597
+ return ["prefix", "infix", "postfix"];
2598
+ if (e.lastNonSpace() === t)
2599
+ return ["postfix", "infix", "prefix"];
2600
+ }
2601
+ return ["infix", "prefix", "postfix"];
2602
+ }, n.prototype.handleExplicitForm = function(t) {
2603
+ if (this.attributes.isSet("form")) {
2604
+ var e = this.attributes.get("form");
2605
+ t = [e].concat(t.filter(function(f) {
2606
+ return f !== e;
2607
+ }));
2608
+ }
2609
+ return t;
2610
+ }, n.prototype.checkPseudoScripts = function(t) {
2611
+ var e = this.constructor.pseudoScripts;
2612
+ if (t.match(e)) {
2613
+ var f = this.coreParent().Parent, d = !f || !(f.isKind("msubsup") && !f.isKind("msub"));
2614
+ this.setProperty("pseudoscript", d), d && (this.attributes.setInherited("lspace", 0), this.attributes.setInherited("rspace", 0));
2615
+ }
2616
+ }, n.prototype.checkPrimes = function(t) {
2617
+ var e = this.constructor.primes;
2618
+ if (t.match(e)) {
2619
+ var f = this.constructor.remapPrimes, d = (0, r.unicodeString)((0, r.unicodeChars)(t).map(function(I) {
2620
+ return f[I];
2621
+ }));
2622
+ this.setProperty("primes", d);
2623
+ }
2624
+ }, n.prototype.checkMathAccent = function(t) {
2625
+ var e = this.Parent;
2626
+ if (!(this.getProperty("mathaccent") !== void 0 || !e || !e.isKind("munderover"))) {
2627
+ var f = e.childNodes[0];
2628
+ if (!(f.isEmbellished && f.coreMO() === this)) {
2629
+ var d = this.constructor.mathaccents;
2630
+ t.match(d) && this.setProperty("mathaccent", !0);
2631
+ }
2632
+ }
2633
+ }, n.defaults = S(S({}, R.AbstractMmlTokenNode.defaults), { form: "infix", fence: !1, separator: !1, lspace: "thickmathspace", rspace: "thickmathspace", stretchy: !1, symmetric: !1, maxsize: "infinity", minsize: "0em", largeop: !1, movablelimits: !1, accent: !1, linebreak: "auto", lineleading: "1ex", linebreakstyle: "before", indentalign: "auto", indentshift: "0", indenttarget: "", indentalignfirst: "indentalign", indentshiftfirst: "indentshift", indentalignlast: "indentalign", indentshiftlast: "indentshift" }), n.MMLSPACING = l.MMLSPACING, n.OPTABLE = l.OPTABLE, n.pseudoScripts = new RegExp([
2634
+ "^[\"'*`",
2635
+ "ª",
2636
+ "°",
2637
+ "²-´",
2638
+ "¹",
2639
+ "º",
2640
+ "‘-‟",
2641
+ "′-‷⁗",
2642
+ "⁰ⁱ",
2643
+ "⁴-ⁿ",
2644
+ "₀-₎",
2645
+ "]+$"
2646
+ ].join("")), n.primes = new RegExp([
2647
+ "^[\"'`",
2648
+ "‘-‟",
2649
+ "]+$"
2650
+ ].join("")), n.remapPrimes = {
2651
+ 34: 8243,
2652
+ 39: 8242,
2653
+ 96: 8245,
2654
+ 8216: 8245,
2655
+ 8217: 8242,
2656
+ 8218: 8242,
2657
+ 8219: 8245,
2658
+ 8220: 8246,
2659
+ 8221: 8243,
2660
+ 8222: 8243,
2661
+ 8223: 8246
2662
+ }, n.mathaccents = new RegExp([
2663
+ "^[",
2664
+ "´́ˊ",
2665
+ "`̀ˋ",
2666
+ "¨̈",
2667
+ "~̃˜",
2668
+ "¯̄ˉ",
2669
+ "˘̆",
2670
+ "ˇ̌",
2671
+ "^̂ˆ",
2672
+ "→⃗",
2673
+ "˙̇",
2674
+ "˚̊",
2675
+ "⃛",
2676
+ "⃜",
2677
+ "]$"
2678
+ ].join("")), n;
2679
+ })(R.AbstractMmlTokenNode);
2680
+ return F.MmlMo = M, F;
2681
+ }
2682
+ var X = {}, Q;
2683
+ function au() {
2684
+ if (Q) return X;
2685
+ Q = 1;
2686
+ var u = X && X.__values || function(R) {
2687
+ var l = typeof Symbol == "function" && Symbol.iterator, r = l && R[l], M = 0;
2688
+ if (r) return r.call(R);
2689
+ if (R && typeof R.length == "number") return {
2690
+ next: function() {
2691
+ return R && M >= R.length && (R = void 0), { value: R && R[M++], done: !R };
2692
+ }
2693
+ };
2694
+ throw new TypeError(l ? "Object is not iterable." : "Symbol.iterator is not defined.");
2695
+ }, S = X && X.__read || function(R, l) {
2696
+ var r = typeof Symbol == "function" && R[Symbol.iterator];
2697
+ if (!r) return R;
2698
+ var M = r.call(R), O, n = [], t;
2699
+ try {
2700
+ for (; (l === void 0 || l-- > 0) && !(O = M.next()).done; ) n.push(O.value);
2701
+ } catch (e) {
2702
+ t = { error: e };
2703
+ } finally {
2704
+ try {
2705
+ O && !O.done && (r = M.return) && r.call(M);
2706
+ } finally {
2707
+ if (t) throw t.error;
2708
+ }
2709
+ }
2710
+ return n;
2711
+ }, E = X && X.__spreadArray || function(R, l, r) {
2712
+ if (r || arguments.length === 2) for (var M = 0, O = l.length, n; M < O; M++)
2713
+ (n || !(M in l)) && (n || (n = Array.prototype.slice.call(l, 0, M)), n[M] = l[M]);
2714
+ return R.concat(n || Array.prototype.slice.call(l));
2715
+ };
2716
+ Object.defineProperty(X, "__esModule", { value: !0 }), X.AbstractFactory = void 0;
2717
+ var L = (function() {
2718
+ function R(l) {
2719
+ var r, M;
2720
+ l === void 0 && (l = null), this.defaultKind = "unknown", this.nodeMap = /* @__PURE__ */ new Map(), this.node = {}, l === null && (l = this.constructor.defaultNodes);
2721
+ try {
2722
+ for (var O = u(Object.keys(l)), n = O.next(); !n.done; n = O.next()) {
2723
+ var t = n.value;
2724
+ this.setNodeClass(t, l[t]);
2725
+ }
2726
+ } catch (e) {
2727
+ r = { error: e };
2728
+ } finally {
2729
+ try {
2730
+ n && !n.done && (M = O.return) && M.call(O);
2731
+ } finally {
2732
+ if (r) throw r.error;
2733
+ }
2734
+ }
2735
+ }
2736
+ return R.prototype.create = function(l) {
2737
+ for (var r = [], M = 1; M < arguments.length; M++)
2738
+ r[M - 1] = arguments[M];
2739
+ return (this.node[l] || this.node[this.defaultKind]).apply(void 0, E([], S(r), !1));
2740
+ }, R.prototype.setNodeClass = function(l, r) {
2741
+ this.nodeMap.set(l, r);
2742
+ var M = this, O = this.nodeMap.get(l);
2743
+ this.node[l] = function() {
2744
+ for (var n = [], t = 0; t < arguments.length; t++)
2745
+ n[t] = arguments[t];
2746
+ return new (O.bind.apply(O, E([void 0, M], S(n), !1)))();
2747
+ };
2748
+ }, R.prototype.getNodeClass = function(l) {
2749
+ return this.nodeMap.get(l);
2750
+ }, R.prototype.deleteNodeClass = function(l) {
2751
+ this.nodeMap.delete(l), delete this.node[l];
2752
+ }, R.prototype.nodeIsKind = function(l, r) {
2753
+ return l instanceof this.getNodeClass(r);
2754
+ }, R.prototype.getKinds = function() {
2755
+ return Array.from(this.nodeMap.keys());
2756
+ }, R.defaultNodes = {}, R;
2757
+ })();
2758
+ return X.AbstractFactory = L, X;
2759
+ }
2760
+ export {
2761
+ Y as a,
2762
+ au as b,
2763
+ Eu as c,
2764
+ Ou as d,
2765
+ iu as e,
2766
+ tu as f,
2767
+ uu as r
2768
+ };