@itshixun/qckeditor-vue3 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -316,7 +316,7 @@ const qa = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Tp = 300, Gs =
316
316
  }, null, 8, ["modelValue", "config", "tag-name", "disabled", "disable-two-way-data-binding", "data-normalizer"]));
317
317
  }
318
318
  });
319
- class U extends Error {
319
+ class B extends Error {
320
320
  // Error start position based on passed-in Token or ParseNode.
321
321
  // Length of affected text based on passed-in Token or ParseNode.
322
322
  // The underlying error message without any context added.
@@ -330,7 +330,7 @@ class U extends Error {
330
330
  var u;
331
331
  i + 15 < s.length ? u = s.slice(i, i + 15) + "…" : u = s.slice(i), a += d + c + u;
332
332
  }
333
- super(a), this.name = "ParseError", Object.setPrototypeOf(this, U.prototype), this.position = n, n != null && i != null && (this.length = i - n), this.rawMessage = e;
333
+ super(a), this.name = "ParseError", Object.setPrototypeOf(this, B.prototype), this.position = n, n != null && i != null && (this.length = i - n), this.rawMessage = e;
334
334
  }
335
335
  }
336
336
  var Cp = /([A-Z])/g, al = (r) => r.replace(Cp, "-$1").toLowerCase(), Np = {
@@ -462,7 +462,7 @@ class nl {
462
462
  var n = this.strict;
463
463
  if (typeof n == "function" && (n = n(e, t, a)), !(!n || n === "ignore")) {
464
464
  if (n === !0 || n === "error")
465
- throw new U("LaTeX-incompatible input and strict mode is set to 'error': " + (t + " [" + e + "]"), a);
465
+ throw new B("LaTeX-incompatible input and strict mode is set to 'error': " + (t + " [" + e + "]"), a);
466
466
  n === "warn" ? typeof console < "u" && console.warn("LaTeX-incompatible input and strict mode is set to 'warn': " + (t + " [" + e + "]")) : typeof console < "u" && console.warn("LaTeX-incompatible input and strict mode is set to " + ("unrecognized '" + n + "': " + t + " [" + e + "]"));
467
467
  }
468
468
  }
@@ -1129,7 +1129,7 @@ var zs = {
1129
1129
  else if (e.unit === "em")
1130
1130
  a = n.fontMetrics().quad;
1131
1131
  else
1132
- throw new U("Invalid unit: '" + e.unit + "'");
1132
+ throw new B("Invalid unit: '" + e.unit + "'");
1133
1133
  n !== t && (a *= n.sizeMultiplier / t.sizeMultiplier);
1134
1134
  }
1135
1135
  return Math.min(e.number * a, t.maxSize);
@@ -1162,7 +1162,7 @@ var zs = {
1162
1162
  a && (t += ' style="' + at(a) + '"');
1163
1163
  for (var i of Object.keys(this.attributes)) {
1164
1164
  if ($p.test(i))
1165
- throw new U("Invalid attribute name '" + i + "'");
1165
+ throw new B("Invalid attribute name '" + i + "'");
1166
1166
  t += " " + i + '="' + at(this.attributes[i]) + '"';
1167
1167
  }
1168
1168
  t += ">";
@@ -3615,7 +3615,7 @@ function l(r, e, t, a, n, i) {
3615
3615
  replace: a
3616
3616
  }, i && a && (Ae[r][a] = Ae[r][n]);
3617
3617
  }
3618
- var _ = "math", M = "text", m = "main", T = "ams", Ie = "accent-token", K = "bin", st = "close", Ar = "inner", re = "mathord", Ve = "op-token", mt = "open", Kr = "punct", v = "rel", Wt = "spacing", C = "textord";
3618
+ var _ = "math", L = "text", m = "main", T = "ams", Ie = "accent-token", K = "bin", st = "close", Ar = "inner", re = "mathord", Ve = "op-token", mt = "open", Kr = "punct", v = "rel", Wt = "spacing", C = "textord";
3619
3619
  l(_, m, v, "≡", "\\equiv", !0);
3620
3620
  l(_, m, v, "≺", "\\prec", !0);
3621
3621
  l(_, m, v, "≻", "\\succ", !0);
@@ -3643,11 +3643,11 @@ l(_, m, v, "∋", "\\owns");
3643
3643
  l(_, m, Kr, ".", "\\ldotp");
3644
3644
  l(_, m, Kr, "⋅", "\\cdotp");
3645
3645
  l(_, m, Kr, "⋅", "·");
3646
- l(M, m, C, "⋅", "·");
3646
+ l(L, m, C, "⋅", "·");
3647
3647
  l(_, m, C, "#", "\\#");
3648
- l(M, m, C, "#", "\\#");
3648
+ l(L, m, C, "#", "\\#");
3649
3649
  l(_, m, C, "&", "\\&");
3650
- l(M, m, C, "&", "\\&");
3650
+ l(L, m, C, "&", "\\&");
3651
3651
  l(_, m, C, "ℵ", "\\aleph", !0);
3652
3652
  l(_, m, C, "∀", "\\forall", !0);
3653
3653
  l(_, m, C, "ℏ", "\\hbar", !0);
@@ -3665,15 +3665,15 @@ l(_, m, C, "♡", "\\heartsuit", !0);
3665
3665
  l(_, m, C, "ℑ", "\\Im", !0);
3666
3666
  l(_, m, C, "♠", "\\spadesuit", !0);
3667
3667
  l(_, m, C, "§", "\\S", !0);
3668
- l(M, m, C, "§", "\\S");
3668
+ l(L, m, C, "§", "\\S");
3669
3669
  l(_, m, C, "¶", "\\P", !0);
3670
- l(M, m, C, "¶", "\\P");
3670
+ l(L, m, C, "¶", "\\P");
3671
3671
  l(_, m, C, "†", "\\dag");
3672
- l(M, m, C, "†", "\\dag");
3673
- l(M, m, C, "†", "\\textdagger");
3672
+ l(L, m, C, "†", "\\dag");
3673
+ l(L, m, C, "†", "\\textdagger");
3674
3674
  l(_, m, C, "‡", "\\ddag");
3675
- l(M, m, C, "‡", "\\ddag");
3676
- l(M, m, C, "‡", "\\textdaggerdbl");
3675
+ l(L, m, C, "‡", "\\ddag");
3676
+ l(L, m, C, "‡", "\\textdaggerdbl");
3677
3677
  l(_, m, st, "⎱", "\\rmoustache", !0);
3678
3678
  l(_, m, mt, "⎰", "\\lmoustache", !0);
3679
3679
  l(_, m, st, "⟯", "\\rgroup", !0);
@@ -3777,7 +3777,7 @@ l(_, T, C, "▽", "\\triangledown");
3777
3777
  l(_, T, C, "◊", "\\lozenge");
3778
3778
  l(_, T, C, "Ⓢ", "\\circledS");
3779
3779
  l(_, T, C, "®", "\\circledR");
3780
- l(M, T, C, "®", "\\circledR");
3780
+ l(L, T, C, "®", "\\circledR");
3781
3781
  l(_, T, C, "∡", "\\measuredangle", !0);
3782
3782
  l(_, T, C, "∄", "\\nexists");
3783
3783
  l(_, T, C, "℧", "\\mho");
@@ -3792,16 +3792,16 @@ l(_, T, C, "★", "\\bigstar");
3792
3792
  l(_, T, C, "∢", "\\sphericalangle", !0);
3793
3793
  l(_, T, C, "∁", "\\complement", !0);
3794
3794
  l(_, T, C, "ð", "\\eth", !0);
3795
- l(M, m, C, "ð", "ð");
3795
+ l(L, m, C, "ð", "ð");
3796
3796
  l(_, T, C, "╱", "\\diagup");
3797
3797
  l(_, T, C, "╲", "\\diagdown");
3798
3798
  l(_, T, C, "□", "\\square");
3799
3799
  l(_, T, C, "□", "\\Box");
3800
3800
  l(_, T, C, "◊", "\\Diamond");
3801
3801
  l(_, T, C, "¥", "\\yen", !0);
3802
- l(M, T, C, "¥", "\\yen", !0);
3802
+ l(L, T, C, "¥", "\\yen", !0);
3803
3803
  l(_, T, C, "✓", "\\checkmark", !0);
3804
- l(M, T, C, "✓", "\\checkmark");
3804
+ l(L, T, C, "✓", "\\checkmark");
3805
3805
  l(_, T, C, "ℶ", "\\beth", !0);
3806
3806
  l(_, T, C, "ℸ", "\\daleth", !0);
3807
3807
  l(_, T, C, "ℷ", "\\gimel", !0);
@@ -3941,13 +3941,13 @@ l(_, T, v, "⇛", "\\Rrightarrow", !0);
3941
3941
  l(_, T, v, "↾", "\\restriction");
3942
3942
  l(_, m, C, "‘", "`");
3943
3943
  l(_, m, C, "$", "\\$");
3944
- l(M, m, C, "$", "\\$");
3945
- l(M, m, C, "$", "\\textdollar");
3944
+ l(L, m, C, "$", "\\$");
3945
+ l(L, m, C, "$", "\\textdollar");
3946
3946
  l(_, m, C, "%", "\\%");
3947
- l(M, m, C, "%", "\\%");
3947
+ l(L, m, C, "%", "\\%");
3948
3948
  l(_, m, C, "_", "\\_");
3949
- l(M, m, C, "_", "\\_");
3950
- l(M, m, C, "_", "\\textunderscore");
3949
+ l(L, m, C, "_", "\\_");
3950
+ l(L, m, C, "_", "\\textunderscore");
3951
3951
  l(_, m, C, "∠", "\\angle", !0);
3952
3952
  l(_, m, C, "∞", "\\infty", !0);
3953
3953
  l(_, m, C, "′", "\\prime");
@@ -4064,10 +4064,10 @@ l(_, T, v, "≰", "\\nleq", !0);
4064
4064
  l(_, m, Wt, " ", "\\ ");
4065
4065
  l(_, m, Wt, " ", "\\space");
4066
4066
  l(_, m, Wt, " ", "\\nobreakspace");
4067
- l(M, m, Wt, " ", "\\ ");
4068
- l(M, m, Wt, " ", " ");
4069
- l(M, m, Wt, " ", "\\space");
4070
- l(M, m, Wt, " ", "\\nobreakspace");
4067
+ l(L, m, Wt, " ", "\\ ");
4068
+ l(L, m, Wt, " ", " ");
4069
+ l(L, m, Wt, " ", "\\space");
4070
+ l(L, m, Wt, " ", "\\nobreakspace");
4071
4071
  l(_, m, Wt, null, "\\nobreak");
4072
4072
  l(_, m, Wt, null, "\\allowbreak");
4073
4073
  l(_, m, Kr, ",", ",");
@@ -4089,21 +4089,21 @@ l(_, m, K, "⋆", "\\star");
4089
4089
  l(_, m, K, "◃", "\\triangleleft");
4090
4090
  l(_, m, K, "▹", "\\triangleright");
4091
4091
  l(_, m, mt, "{", "\\{");
4092
- l(M, m, C, "{", "\\{");
4093
- l(M, m, C, "{", "\\textbraceleft");
4092
+ l(L, m, C, "{", "\\{");
4093
+ l(L, m, C, "{", "\\textbraceleft");
4094
4094
  l(_, m, st, "}", "\\}");
4095
- l(M, m, C, "}", "\\}");
4096
- l(M, m, C, "}", "\\textbraceright");
4095
+ l(L, m, C, "}", "\\}");
4096
+ l(L, m, C, "}", "\\textbraceright");
4097
4097
  l(_, m, mt, "{", "\\lbrace");
4098
4098
  l(_, m, st, "}", "\\rbrace");
4099
4099
  l(_, m, mt, "[", "\\lbrack", !0);
4100
- l(M, m, C, "[", "\\lbrack", !0);
4100
+ l(L, m, C, "[", "\\lbrack", !0);
4101
4101
  l(_, m, st, "]", "\\rbrack", !0);
4102
- l(M, m, C, "]", "\\rbrack", !0);
4102
+ l(L, m, C, "]", "\\rbrack", !0);
4103
4103
  l(_, m, mt, "(", "\\lparen", !0);
4104
4104
  l(_, m, st, ")", "\\rparen", !0);
4105
- l(M, m, C, "<", "\\textless", !0);
4106
- l(M, m, C, ">", "\\textgreater", !0);
4105
+ l(L, m, C, "<", "\\textless", !0);
4106
+ l(L, m, C, ">", "\\textgreater", !0);
4107
4107
  l(_, m, mt, "⌊", "\\lfloor", !0);
4108
4108
  l(_, m, st, "⌋", "\\rfloor", !0);
4109
4109
  l(_, m, mt, "⌈", "\\lceil", !0);
@@ -4111,13 +4111,13 @@ l(_, m, st, "⌉", "\\rceil", !0);
4111
4111
  l(_, m, C, "\\", "\\backslash");
4112
4112
  l(_, m, C, "∣", "|");
4113
4113
  l(_, m, C, "∣", "\\vert");
4114
- l(M, m, C, "|", "\\textbar", !0);
4114
+ l(L, m, C, "|", "\\textbar", !0);
4115
4115
  l(_, m, C, "∥", "\\|");
4116
4116
  l(_, m, C, "∥", "\\Vert");
4117
- l(M, m, C, "∥", "\\textbardbl");
4118
- l(M, m, C, "~", "\\textasciitilde");
4119
- l(M, m, C, "\\", "\\textbackslash");
4120
- l(M, m, C, "^", "\\textasciicircum");
4117
+ l(L, m, C, "∥", "\\textbardbl");
4118
+ l(L, m, C, "~", "\\textasciitilde");
4119
+ l(L, m, C, "\\", "\\textbackslash");
4120
+ l(L, m, C, "^", "\\textasciicircum");
4121
4121
  l(_, m, v, "↑", "\\uparrow", !0);
4122
4122
  l(_, m, v, "⇑", "\\Uparrow", !0);
4123
4123
  l(_, m, v, "↓", "\\downarrow", !0);
@@ -4144,14 +4144,14 @@ l(_, m, Ve, "∯", "\\oiint");
4144
4144
  l(_, m, Ve, "∰", "\\oiiint");
4145
4145
  l(_, m, Ve, "⨆", "\\bigsqcup");
4146
4146
  l(_, m, Ve, "∫", "\\smallint");
4147
- l(M, m, Ar, "…", "\\textellipsis");
4147
+ l(L, m, Ar, "…", "\\textellipsis");
4148
4148
  l(_, m, Ar, "…", "\\mathellipsis");
4149
- l(M, m, Ar, "…", "\\ldots", !0);
4149
+ l(L, m, Ar, "…", "\\ldots", !0);
4150
4150
  l(_, m, Ar, "…", "\\ldots", !0);
4151
4151
  l(_, m, Ar, "⋯", "\\@cdots", !0);
4152
4152
  l(_, m, Ar, "⋱", "\\ddots", !0);
4153
4153
  l(_, m, C, "⋮", "\\varvdots");
4154
- l(M, m, C, "⋮", "\\varvdots");
4154
+ l(L, m, C, "⋮", "\\varvdots");
4155
4155
  l(_, m, Ie, "ˊ", "\\acute");
4156
4156
  l(_, m, Ie, "ˋ", "\\grave");
4157
4157
  l(_, m, Ie, "¨", "\\ddot");
@@ -4167,55 +4167,55 @@ l(_, m, re, "", "\\@imath");
4167
4167
  l(_, m, re, "", "\\@jmath");
4168
4168
  l(_, m, C, "ı", "ı");
4169
4169
  l(_, m, C, "ȷ", "ȷ");
4170
- l(M, m, C, "ı", "\\i", !0);
4171
- l(M, m, C, "ȷ", "\\j", !0);
4172
- l(M, m, C, "ß", "\\ss", !0);
4173
- l(M, m, C, "æ", "\\ae", !0);
4174
- l(M, m, C, "œ", "\\oe", !0);
4175
- l(M, m, C, "ø", "\\o", !0);
4176
- l(M, m, C, "Æ", "\\AE", !0);
4177
- l(M, m, C, "Œ", "\\OE", !0);
4178
- l(M, m, C, "Ø", "\\O", !0);
4179
- l(M, m, Ie, "ˊ", "\\'");
4180
- l(M, m, Ie, "ˋ", "\\`");
4181
- l(M, m, Ie, "ˆ", "\\^");
4182
- l(M, m, Ie, "˜", "\\~");
4183
- l(M, m, Ie, "ˉ", "\\=");
4184
- l(M, m, Ie, "˘", "\\u");
4185
- l(M, m, Ie, "˙", "\\.");
4186
- l(M, m, Ie, "¸", "\\c");
4187
- l(M, m, Ie, "˚", "\\r");
4188
- l(M, m, Ie, "ˇ", "\\v");
4189
- l(M, m, Ie, "¨", '\\"');
4190
- l(M, m, Ie, "˝", "\\H");
4191
- l(M, m, Ie, "◯", "\\textcircled");
4170
+ l(L, m, C, "ı", "\\i", !0);
4171
+ l(L, m, C, "ȷ", "\\j", !0);
4172
+ l(L, m, C, "ß", "\\ss", !0);
4173
+ l(L, m, C, "æ", "\\ae", !0);
4174
+ l(L, m, C, "œ", "\\oe", !0);
4175
+ l(L, m, C, "ø", "\\o", !0);
4176
+ l(L, m, C, "Æ", "\\AE", !0);
4177
+ l(L, m, C, "Œ", "\\OE", !0);
4178
+ l(L, m, C, "Ø", "\\O", !0);
4179
+ l(L, m, Ie, "ˊ", "\\'");
4180
+ l(L, m, Ie, "ˋ", "\\`");
4181
+ l(L, m, Ie, "ˆ", "\\^");
4182
+ l(L, m, Ie, "˜", "\\~");
4183
+ l(L, m, Ie, "ˉ", "\\=");
4184
+ l(L, m, Ie, "˘", "\\u");
4185
+ l(L, m, Ie, "˙", "\\.");
4186
+ l(L, m, Ie, "¸", "\\c");
4187
+ l(L, m, Ie, "˚", "\\r");
4188
+ l(L, m, Ie, "ˇ", "\\v");
4189
+ l(L, m, Ie, "¨", '\\"');
4190
+ l(L, m, Ie, "˝", "\\H");
4191
+ l(L, m, Ie, "◯", "\\textcircled");
4192
4192
  var _m = {
4193
4193
  "--": !0,
4194
4194
  "---": !0,
4195
4195
  "``": !0,
4196
4196
  "''": !0
4197
4197
  };
4198
- l(M, m, C, "–", "--", !0);
4199
- l(M, m, C, "–", "\\textendash");
4200
- l(M, m, C, "—", "---", !0);
4201
- l(M, m, C, "—", "\\textemdash");
4202
- l(M, m, C, "‘", "`", !0);
4203
- l(M, m, C, "‘", "\\textquoteleft");
4204
- l(M, m, C, "’", "'", !0);
4205
- l(M, m, C, "’", "\\textquoteright");
4206
- l(M, m, C, "“", "``", !0);
4207
- l(M, m, C, "“", "\\textquotedblleft");
4208
- l(M, m, C, "”", "''", !0);
4209
- l(M, m, C, "”", "\\textquotedblright");
4198
+ l(L, m, C, "–", "--", !0);
4199
+ l(L, m, C, "–", "\\textendash");
4200
+ l(L, m, C, "—", "---", !0);
4201
+ l(L, m, C, "—", "\\textemdash");
4202
+ l(L, m, C, "‘", "`", !0);
4203
+ l(L, m, C, "‘", "\\textquoteleft");
4204
+ l(L, m, C, "’", "'", !0);
4205
+ l(L, m, C, "’", "\\textquoteright");
4206
+ l(L, m, C, "“", "``", !0);
4207
+ l(L, m, C, "“", "\\textquotedblleft");
4208
+ l(L, m, C, "”", "''", !0);
4209
+ l(L, m, C, "”", "\\textquotedblright");
4210
4210
  l(_, m, C, "°", "\\degree", !0);
4211
- l(M, m, C, "°", "\\degree");
4212
- l(M, m, C, "°", "\\textdegree", !0);
4211
+ l(L, m, C, "°", "\\degree");
4212
+ l(L, m, C, "°", "\\textdegree", !0);
4213
4213
  l(_, m, C, "£", "\\pounds");
4214
4214
  l(_, m, C, "£", "\\mathsterling", !0);
4215
- l(M, m, C, "£", "\\pounds");
4216
- l(M, m, C, "£", "\\textsterling", !0);
4215
+ l(L, m, C, "£", "\\pounds");
4216
+ l(L, m, C, "£", "\\textsterling", !0);
4217
4217
  l(_, T, C, "✠", "\\maltese");
4218
- l(M, T, C, "✠", "\\maltese");
4218
+ l(L, T, C, "✠", "\\maltese");
4219
4219
  var Hl = '0123456789/@."';
4220
4220
  for (var Ha = 0; Ha < Hl.length; Ha++) {
4221
4221
  var Vl = Hl.charAt(Ha);
@@ -4224,45 +4224,45 @@ for (var Ha = 0; Ha < Hl.length; Ha++) {
4224
4224
  var Wl = '0123456789!@*()-=+";:?/.,';
4225
4225
  for (var Va = 0; Va < Wl.length; Va++) {
4226
4226
  var Kl = Wl.charAt(Va);
4227
- l(M, m, C, Kl, Kl);
4227
+ l(L, m, C, Kl, Kl);
4228
4228
  }
4229
4229
  var ba = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
4230
4230
  for (var Wa = 0; Wa < ba.length; Wa++) {
4231
4231
  var oa = ba.charAt(Wa);
4232
- l(_, m, re, oa, oa), l(M, m, C, oa, oa);
4232
+ l(_, m, re, oa, oa), l(L, m, C, oa, oa);
4233
4233
  }
4234
4234
  l(_, T, C, "C", "ℂ");
4235
- l(M, T, C, "C", "ℂ");
4235
+ l(L, T, C, "C", "ℂ");
4236
4236
  l(_, T, C, "H", "ℍ");
4237
- l(M, T, C, "H", "ℍ");
4237
+ l(L, T, C, "H", "ℍ");
4238
4238
  l(_, T, C, "N", "ℕ");
4239
- l(M, T, C, "N", "ℕ");
4239
+ l(L, T, C, "N", "ℕ");
4240
4240
  l(_, T, C, "P", "ℙ");
4241
- l(M, T, C, "P", "ℙ");
4241
+ l(L, T, C, "P", "ℙ");
4242
4242
  l(_, T, C, "Q", "ℚ");
4243
- l(M, T, C, "Q", "ℚ");
4243
+ l(L, T, C, "Q", "ℚ");
4244
4244
  l(_, T, C, "R", "ℝ");
4245
- l(M, T, C, "R", "ℝ");
4245
+ l(L, T, C, "R", "ℝ");
4246
4246
  l(_, T, C, "Z", "ℤ");
4247
- l(M, T, C, "Z", "ℤ");
4247
+ l(L, T, C, "Z", "ℤ");
4248
4248
  l(_, m, re, "h", "ℎ");
4249
- l(M, m, re, "h", "ℎ");
4249
+ l(L, m, re, "h", "ℎ");
4250
4250
  var ne = "";
4251
4251
  for (var nt = 0; nt < ba.length; nt++) {
4252
4252
  var Be = ba.charAt(nt);
4253
- ne = String.fromCharCode(55349, 56320 + nt), l(_, m, re, Be, ne), l(M, m, C, Be, ne), ne = String.fromCharCode(55349, 56372 + nt), l(_, m, re, Be, ne), l(M, m, C, Be, ne), ne = String.fromCharCode(55349, 56424 + nt), l(_, m, re, Be, ne), l(M, m, C, Be, ne), ne = String.fromCharCode(55349, 56580 + nt), l(_, m, re, Be, ne), l(M, m, C, Be, ne), ne = String.fromCharCode(55349, 56684 + nt), l(_, m, re, Be, ne), l(M, m, C, Be, ne), ne = String.fromCharCode(55349, 56736 + nt), l(_, m, re, Be, ne), l(M, m, C, Be, ne), ne = String.fromCharCode(55349, 56788 + nt), l(_, m, re, Be, ne), l(M, m, C, Be, ne), ne = String.fromCharCode(55349, 56840 + nt), l(_, m, re, Be, ne), l(M, m, C, Be, ne), ne = String.fromCharCode(55349, 56944 + nt), l(_, m, re, Be, ne), l(M, m, C, Be, ne), nt < 26 && (ne = String.fromCharCode(55349, 56632 + nt), l(_, m, re, Be, ne), l(M, m, C, Be, ne), ne = String.fromCharCode(55349, 56476 + nt), l(_, m, re, Be, ne), l(M, m, C, Be, ne));
4253
+ ne = String.fromCharCode(55349, 56320 + nt), l(_, m, re, Be, ne), l(L, m, C, Be, ne), ne = String.fromCharCode(55349, 56372 + nt), l(_, m, re, Be, ne), l(L, m, C, Be, ne), ne = String.fromCharCode(55349, 56424 + nt), l(_, m, re, Be, ne), l(L, m, C, Be, ne), ne = String.fromCharCode(55349, 56580 + nt), l(_, m, re, Be, ne), l(L, m, C, Be, ne), ne = String.fromCharCode(55349, 56684 + nt), l(_, m, re, Be, ne), l(L, m, C, Be, ne), ne = String.fromCharCode(55349, 56736 + nt), l(_, m, re, Be, ne), l(L, m, C, Be, ne), ne = String.fromCharCode(55349, 56788 + nt), l(_, m, re, Be, ne), l(L, m, C, Be, ne), ne = String.fromCharCode(55349, 56840 + nt), l(_, m, re, Be, ne), l(L, m, C, Be, ne), ne = String.fromCharCode(55349, 56944 + nt), l(_, m, re, Be, ne), l(L, m, C, Be, ne), nt < 26 && (ne = String.fromCharCode(55349, 56632 + nt), l(_, m, re, Be, ne), l(L, m, C, Be, ne), ne = String.fromCharCode(55349, 56476 + nt), l(_, m, re, Be, ne), l(L, m, C, Be, ne));
4254
4254
  }
4255
4255
  ne = "𝕜";
4256
4256
  l(_, m, re, "k", ne);
4257
- l(M, m, C, "k", ne);
4257
+ l(L, m, C, "k", ne);
4258
4258
  for (var _r = 0; _r < 10; _r++) {
4259
4259
  var Jt = _r.toString();
4260
- ne = String.fromCharCode(55349, 57294 + _r), l(_, m, re, Jt, ne), l(M, m, C, Jt, ne), ne = String.fromCharCode(55349, 57314 + _r), l(_, m, re, Jt, ne), l(M, m, C, Jt, ne), ne = String.fromCharCode(55349, 57324 + _r), l(_, m, re, Jt, ne), l(M, m, C, Jt, ne), ne = String.fromCharCode(55349, 57334 + _r), l(_, m, re, Jt, ne), l(M, m, C, Jt, ne);
4260
+ ne = String.fromCharCode(55349, 57294 + _r), l(_, m, re, Jt, ne), l(L, m, C, Jt, ne), ne = String.fromCharCode(55349, 57314 + _r), l(_, m, re, Jt, ne), l(L, m, C, Jt, ne), ne = String.fromCharCode(55349, 57324 + _r), l(_, m, re, Jt, ne), l(L, m, C, Jt, ne), ne = String.fromCharCode(55349, 57334 + _r), l(_, m, re, Jt, ne), l(L, m, C, Jt, ne);
4261
4261
  }
4262
4262
  var Vs = "ÐÞþ";
4263
4263
  for (var Ka = 0; Ka < Vs.length; Ka++) {
4264
4264
  var sa = Vs.charAt(Ka);
4265
- l(_, m, re, sa, sa), l(M, m, C, sa, sa);
4265
+ l(_, m, re, sa, sa), l(L, m, C, sa, sa);
4266
4266
  }
4267
4267
  var la = [
4268
4268
  ["mathbf", "textbf", "Main-Bold"],
@@ -4344,7 +4344,7 @@ var la = [
4344
4344
  return [la[0][2], la[0][i]];
4345
4345
  if (120486 < n && n < 120782)
4346
4346
  return ["", ""];
4347
- throw new U("Unsupported character: " + r);
4347
+ throw new B("Unsupported character: " + r);
4348
4348
  }
4349
4349
  }, Ra = function(e, t, a) {
4350
4350
  if (Ae[a][e]) {
@@ -4406,11 +4406,11 @@ var la = [
4406
4406
  var N = ca("amsrm", t.fontWeight, t.fontShape);
4407
4407
  return it(i, N, n, t, o.concat("amsrm", t.fontWeight, t.fontShape));
4408
4408
  } else if (h === "main" || !h) {
4409
- var O = ca("textrm", t.fontWeight, t.fontShape);
4410
- return it(i, O, n, t, o.concat(t.fontWeight, t.fontShape));
4409
+ var y = ca("textrm", t.fontWeight, t.fontShape);
4410
+ return it(i, y, n, t, o.concat(t.fontWeight, t.fontShape));
4411
4411
  } else {
4412
- var y = ca(h, t.fontWeight, t.fontShape);
4413
- return it(i, y, n, t, o.concat(y, t.fontWeight, t.fontShape));
4412
+ var O = ca(h, t.fontWeight, t.fontShape);
4413
+ return it(i, O, n, t, o.concat(O, t.fontWeight, t.fontShape));
4414
4414
  }
4415
4415
  } else
4416
4416
  throw new Error("unexpected type: " + a + " in makeOrd");
@@ -4512,8 +4512,8 @@ var la = [
4512
4512
  if (f.type === "kern")
4513
4513
  S += f.size;
4514
4514
  else {
4515
- var h = f.elem, N = f.wrapperClasses || [], O = f.wrapperStyle || {}, y = P(N, [d, h], void 0, O);
4516
- y.style.top = q(-i - S - h.depth), f.marginLeft && (y.style.marginLeft = f.marginLeft), f.marginRight && (y.style.marginRight = f.marginRight), u.push(y), S += h.height + h.depth;
4515
+ var h = f.elem, N = f.wrapperClasses || [], y = f.wrapperStyle || {}, O = P(N, [d, h], void 0, y);
4516
+ O.style.top = q(-i - S - h.depth), f.marginLeft && (O.style.marginLeft = f.marginLeft), f.marginRight && (O.style.marginRight = f.marginRight), u.push(O), S += h.height + h.depth;
4517
4517
  }
4518
4518
  p = Math.min(p, S), E = Math.max(E, S);
4519
4519
  }
@@ -4523,12 +4523,12 @@ var la = [
4523
4523
  if (p < 0) {
4524
4524
  var A = P([], []), w = P(["vlist"], [A]);
4525
4525
  w.style.height = q(-p);
4526
- var L = P(["vlist-s"], [new ut("​")]);
4527
- D = [P(["vlist-r"], [I, L]), P(["vlist-r"], [w])];
4526
+ var M = P(["vlist-s"], [new ut("​")]);
4527
+ D = [P(["vlist-r"], [I, M]), P(["vlist-r"], [w])];
4528
4528
  } else
4529
4529
  D = [P(["vlist-r"], [I])];
4530
- var G = P(["vlist-t"], D);
4531
- return D.length === 2 && G.classes.push("vlist-t2"), G.height = E, G.depth = -p, G;
4530
+ var k = P(["vlist-t"], D);
4531
+ return D.length === 2 && k.classes.push("vlist-t2"), k.height = E, k.depth = -p, k;
4532
4532
  }, um = (r, e) => {
4533
4533
  var t = P(["mspace"], [], e), a = Le(r, e);
4534
4534
  return t.style.marginRight = q(a), t;
@@ -4787,7 +4787,7 @@ var ha = function(e) {
4787
4787
  }, {
4788
4788
  node: p
4789
4789
  }, E, S), Ks(i, (b, f) => {
4790
- var h, N, O = Qs(f), y = Qs(b), I = O && y ? b.hasClass("mtight") ? (h = _0[O]) == null ? void 0 : h[y] : (N = c0[O]) == null ? void 0 : N[y] : null;
4790
+ var h, N, y = Qs(f), O = Qs(b), I = y && O ? b.hasClass("mtight") ? (h = _0[y]) == null ? void 0 : h[O] : (N = c0[y]) == null ? void 0 : N[O] : null;
4791
4791
  if (I)
4792
4792
  return um(I, d);
4793
4793
  }, {
@@ -4846,7 +4846,7 @@ var ha = function(e) {
4846
4846
  }
4847
4847
  return n;
4848
4848
  } else
4849
- throw new U("Got group of unknown type: '" + e.type + "'");
4849
+ throw new B("Got group of unknown type: '" + e.type + "'");
4850
4850
  };
4851
4851
  function _a(r, e) {
4852
4852
  var t = P(["base"], r, e), a = P(["strut"]);
@@ -4876,7 +4876,7 @@ function Xs(r, e) {
4876
4876
  function Sm(r) {
4877
4877
  return new Or(r);
4878
4878
  }
4879
- class B {
4879
+ class F {
4880
4880
  constructor(e, t, a) {
4881
4881
  this.type = e, this.attributes = {}, this.children = t || [], this.classes = a || [];
4882
4882
  }
@@ -4986,7 +4986,7 @@ class bm {
4986
4986
  var g0 = /* @__PURE__ */ new Set(["\\imath", "\\jmath"]), E0 = /* @__PURE__ */ new Set(["mrow", "mtable"]), ft = function(e, t, a) {
4987
4987
  return Ae[t][e] && Ae[t][e].replace && e.charCodeAt(0) !== 55349 && !(_m.hasOwnProperty(e) && a && (a.fontFamily && a.fontFamily.slice(4, 6) === "tt" || a.font && a.font.slice(4, 6) === "tt")) && (e = Ae[t][e].replace), new He(e);
4988
4988
  }, cl = function(e) {
4989
- return e.length === 1 ? e[0] : new B("mrow", e);
4989
+ return e.length === 1 ? e[0] : new F("mrow", e);
4990
4990
  }, _l = function(e, t) {
4991
4991
  if (t.fontFamily === "texttt")
4992
4992
  return "monospace";
@@ -5045,11 +5045,11 @@ function $a(r) {
5045
5045
  var pt = function(e, t, a) {
5046
5046
  if (e.length === 1) {
5047
5047
  var n = Re(e[0], t);
5048
- return a && n instanceof B && n.type === "mo" && (n.setAttribute("lspace", "0em"), n.setAttribute("rspace", "0em")), [n];
5048
+ return a && n instanceof F && n.type === "mo" && (n.setAttribute("lspace", "0em"), n.setAttribute("rspace", "0em")), [n];
5049
5049
  }
5050
5050
  for (var i = [], o, s = 0; s < e.length; s++) {
5051
5051
  var c = Re(e[s], t);
5052
- if (c instanceof B && o instanceof B) {
5052
+ if (c instanceof F && o instanceof F) {
5053
5053
  if (c.type === "mtext" && o.type === "mtext" && c.getAttribute("mathvariant") === o.getAttribute("mathvariant")) {
5054
5054
  o.children.push(...c.children);
5055
5055
  continue;
@@ -5063,7 +5063,7 @@ var pt = function(e, t, a) {
5063
5063
  c.children = [...o.children, ...c.children], i.pop();
5064
5064
  else if ((c.type === "msup" || c.type === "msub") && c.children.length >= 1 && (o.type === "mn" || $a(o))) {
5065
5065
  var d = c.children[0];
5066
- d instanceof B && d.type === "mn" && (d.children = [...o.children, ...d.children], i.pop());
5066
+ d instanceof F && d.type === "mn" && (d.children = [...o.children, ...d.children], i.pop());
5067
5067
  } else if (o.type === "mi" && o.children.length === 1) {
5068
5068
  var u = o.children[0];
5069
5069
  if (u instanceof He && u.text === "̸" && (c.type === "mo" || c.type === "mi" || c.type === "mn")) {
@@ -5079,19 +5079,19 @@ var pt = function(e, t, a) {
5079
5079
  return cl(pt(e, t, a));
5080
5080
  }, Re = function(e, t) {
5081
5081
  if (!e)
5082
- return new B("mrow");
5082
+ return new F("mrow");
5083
5083
  if (Ta[e.type]) {
5084
5084
  var a = Ta[e.type](e, t);
5085
5085
  return a;
5086
5086
  } else
5087
- throw new U("Got group of unknown type: '" + e.type + "'");
5087
+ throw new B("Got group of unknown type: '" + e.type + "'");
5088
5088
  };
5089
5089
  function Ql(r, e, t, a, n) {
5090
5090
  var i = pt(r, t), o;
5091
- i.length === 1 && i[0] instanceof B && E0.has(i[0].type) ? o = i[0] : o = new B("mrow", i);
5092
- var s = new B("annotation", [new He(e)]);
5091
+ i.length === 1 && i[0] instanceof F && E0.has(i[0].type) ? o = i[0] : o = new F("mrow", i);
5092
+ var s = new F("annotation", [new He(e)]);
5093
5093
  s.setAttribute("encoding", "application/x-tex");
5094
- var c = new B("semantics", [o, s]), d = new B("math", [c]);
5094
+ var c = new F("semantics", [o, s]), d = new F("math", [c]);
5095
5095
  d.setAttribute("xmlns", "http://www.w3.org/1998/Math/MathML"), a && d.setAttribute("display", "block");
5096
5096
  var u = n ? "katex" : "katex-mathml";
5097
5097
  return P([u], [d]);
@@ -5381,7 +5381,7 @@ var fm = function(e) {
5381
5381
  "\\cdleftarrow": "←",
5382
5382
  "\\cdlongequal": "="
5383
5383
  }, Na = function(e) {
5384
- var t = new B("mo", [new He(T0[e.replace(/^\\/, "")])]);
5384
+ var t = new F("mo", [new He(T0[e.replace(/^\\/, "")])]);
5385
5385
  return t.setAttribute("stretchy", "true"), t;
5386
5386
  }, h0 = {
5387
5387
  // path(s), minWidth, height, align
@@ -5455,31 +5455,31 @@ var fm = function(e) {
5455
5455
  height: S
5456
5456
  };
5457
5457
  } else {
5458
- var N = [], O = h0[c], [y, I, D] = O, A = D / 1e3, w = y.length, L, G;
5458
+ var N = [], y = h0[c], [O, I, D] = y, A = D / 1e3, w = O.length, M, k;
5459
5459
  if (w === 1) {
5460
- var j = O[3];
5461
- L = ["hide-tail"], G = [j];
5460
+ var j = y[3];
5461
+ M = ["hide-tail"], k = [j];
5462
5462
  } else if (w === 2)
5463
- L = ["halfarrow-left", "halfarrow-right"], G = ["xMinYMin", "xMaxYMin"];
5463
+ M = ["halfarrow-left", "halfarrow-right"], k = ["xMinYMin", "xMaxYMin"];
5464
5464
  else if (w === 3)
5465
- L = ["brace-left", "brace-center", "brace-right"], G = ["xMinYMin", "xMidYMin", "xMaxYMin"];
5465
+ M = ["brace-left", "brace-center", "brace-right"], k = ["xMinYMin", "xMidYMin", "xMaxYMin"];
5466
5466
  else
5467
5467
  throw new Error(`Correct katexImagesData or update code here to support
5468
5468
  ` + w + " children.");
5469
5469
  for (var z = 0; z < w; z++) {
5470
- var ee = new tr(y[z]), J = new Ht([ee], {
5470
+ var ee = new tr(O[z]), J = new Ht([ee], {
5471
5471
  width: "400em",
5472
5472
  height: q(A),
5473
5473
  viewBox: "0 0 " + s + " " + D,
5474
- preserveAspectRatio: G[z] + " slice"
5475
- }), k = rr([L[z]], [J], t);
5474
+ preserveAspectRatio: k[z] + " slice"
5475
+ }), U = rr([M[z]], [J], t);
5476
5476
  if (w === 1)
5477
5477
  return {
5478
- span: k,
5478
+ span: U,
5479
5479
  minWidth: I,
5480
5480
  height: A
5481
5481
  };
5482
- k.style.height = q(A), N.push(k);
5482
+ U.style.height = q(A), N.push(U);
5483
5483
  }
5484
5484
  return {
5485
5485
  span: P(["stretchy"], N, t),
@@ -5594,7 +5594,7 @@ var hm = (r) => {
5594
5594
  var N = P(["mord", "accent"], [E], e);
5595
5595
  return n ? (n.children[0] = N, n.height = Math.max(N.height, n.height), n.classes[0] = "mord", n) : N;
5596
5596
  }, vm = (r, e) => {
5597
- var t = r.isStretchy ? Na(r.label) : new B("mo", [ft(r.label, r.mode)]), a = new B("mover", [Re(r.base, e), t]);
5597
+ var t = r.isStretchy ? Na(r.label) : new F("mo", [ft(r.label, r.mode)]), a = new F("mover", [Re(r.base, e), t]);
5598
5598
  return a.setAttribute("accent", "true"), a;
5599
5599
  }, C0 = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((r) => "\\" + r).join("|"));
5600
5600
  W({
@@ -5678,12 +5678,12 @@ W({
5678
5678
  return P(["mord", "accentunder"], [i], e);
5679
5679
  },
5680
5680
  mathmlBuilder: (r, e) => {
5681
- var t = Na(r.label), a = new B("munder", [Re(r.base, e), t]);
5681
+ var t = Na(r.label), a = new F("munder", [Re(r.base, e), t]);
5682
5682
  return a.setAttribute("accentunder", "true"), a;
5683
5683
  }
5684
5684
  });
5685
5685
  var da = (r) => {
5686
- var e = new B("mpadded", r ? [r] : []);
5686
+ var e = new F("mpadded", r ? [r] : []);
5687
5687
  return e.setAttribute("width", "+0.6em"), e.setAttribute("lspace", "0.3em"), e;
5688
5688
  };
5689
5689
  W({
@@ -5784,14 +5784,14 @@ W({
5784
5784
  var n = da(Re(r.body, e));
5785
5785
  if (r.below) {
5786
5786
  var i = da(Re(r.below, e));
5787
- a = new B("munderover", [t, i, n]);
5787
+ a = new F("munderover", [t, i, n]);
5788
5788
  } else
5789
- a = new B("mover", [t, n]);
5789
+ a = new F("mover", [t, n]);
5790
5790
  } else if (r.below) {
5791
5791
  var o = da(Re(r.below, e));
5792
- a = new B("munder", [t, o]);
5792
+ a = new F("munder", [t, o]);
5793
5793
  } else
5794
- a = da(), a = new B("mover", [t, a]);
5794
+ a = da(), a = new F("mover", [t, a]);
5795
5795
  return a;
5796
5796
  }
5797
5797
  });
@@ -5801,7 +5801,7 @@ function Rm(r, e) {
5801
5801
  }
5802
5802
  function Cm(r, e) {
5803
5803
  var t, a = pt(r.body, e);
5804
- return r.mclass === "minner" ? t = new B("mpadded", a) : r.mclass === "mord" ? r.isCharacterBox ? (t = a[0], t.type = "mi") : t = new B("mi", a) : (r.isCharacterBox ? (t = a[0], t.type = "mo") : t = new B("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;
5804
+ return r.mclass === "minner" ? t = new F("mpadded", a) : r.mclass === "mord" ? r.isCharacterBox ? (t = a[0], t.type = "mi") : t = new F("mi", a) : (r.isCharacterBox ? (t = a[0], t.type = "mo") : t = new F("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;
5805
5805
  }
5806
5806
  W({
5807
5807
  type: "mclass",
@@ -5912,7 +5912,7 @@ W({
5912
5912
  return a.style.textShadow = "0.02em 0.01em 0.04px", a;
5913
5913
  },
5914
5914
  mathmlBuilder(r, e) {
5915
- var t = pt(r.body, e), a = new B("mstyle", t);
5915
+ var t = pt(r.body, e), a = new F("mstyle", t);
5916
5916
  return a.setAttribute("style", "text-shadow: 0.02em 0.01em 0.04px"), a;
5917
5917
  }
5918
5918
  });
@@ -5979,7 +5979,7 @@ function A0(r) {
5979
5979
  e[e.length - 1].length === 0 && e.pop();
5980
5980
  break;
5981
5981
  } else
5982
- throw new U("Expected \\\\ or \\cr or \\end", r.nextToken);
5982
+ throw new B("Expected \\\\ or \\cr or \\end", r.nextToken);
5983
5983
  }
5984
5984
  for (var a = [], n = [a], i = 0; i < e.length; i++) {
5985
5985
  for (var o = e[i], s = Jl(), c = 0; c < o.length; c++)
@@ -6004,14 +6004,14 @@ function A0(r) {
6004
6004
  break;
6005
6005
  }
6006
6006
  if (jl(o[S]))
6007
- throw new U("Missing a " + d + " character to complete a CD arrow.", o[S]);
6007
+ throw new B("Missing a " + d + " character to complete a CD arrow.", o[S]);
6008
6008
  u[p].body.push(o[S]);
6009
6009
  }
6010
6010
  if (E)
6011
- throw new U("Missing a " + d + " character to complete a CD arrow.", o[c]);
6011
+ throw new B("Missing a " + d + " character to complete a CD arrow.", o[c]);
6012
6012
  }
6013
6013
  else
6014
- throw new U('Expected one of "<>AV=|." after @', o[c]);
6014
+ throw new B('Expected one of "<>AV=|." after @', o[c]);
6015
6015
  var b = y0(d, u, r), f = {
6016
6016
  type: "styling",
6017
6017
  body: [b],
@@ -6067,8 +6067,8 @@ W({
6067
6067
  return a.classes.push("cd-label-" + r.side), a.style.bottom = q(0.8 - a.depth), a.height = 0, a.depth = 0, a;
6068
6068
  },
6069
6069
  mathmlBuilder(r, e) {
6070
- var t = new B("mrow", [Re(r.label, e)]);
6071
- return t = new B("mpadded", [t]), t.setAttribute("width", "0"), r.side === "left" && t.setAttribute("lspace", "-1width"), t.setAttribute("voffset", "0.7em"), t = new B("mstyle", [t]), t.setAttribute("displaystyle", "false"), t.setAttribute("scriptlevel", "1"), t;
6070
+ var t = new F("mrow", [Re(r.label, e)]);
6071
+ return t = new F("mpadded", [t]), t.setAttribute("width", "0"), r.side === "left" && t.setAttribute("lspace", "-1width"), t.setAttribute("voffset", "0.7em"), t = new F("mstyle", [t]), t.setAttribute("displaystyle", "false"), t.setAttribute("scriptlevel", "1"), t;
6072
6072
  }
6073
6073
  });
6074
6074
  W({
@@ -6092,7 +6092,7 @@ W({
6092
6092
  return t.classes.push("cd-vert-arrow"), t;
6093
6093
  },
6094
6094
  mathmlBuilder(r, e) {
6095
- return new B("mrow", [Re(r.fragment, e)]);
6095
+ return new F("mrow", [Re(r.fragment, e)]);
6096
6096
  }
6097
6097
  });
6098
6098
  W({
@@ -6111,9 +6111,9 @@ W({
6111
6111
  }
6112
6112
  var c = parseInt(i), d;
6113
6113
  if (isNaN(c))
6114
- throw new U("\\@char has non-numeric argument " + i);
6114
+ throw new B("\\@char has non-numeric argument " + i);
6115
6115
  if (c < 0 || c >= 1114111)
6116
- throw new U("\\@char with invalid code point " + i);
6116
+ throw new B("\\@char with invalid code point " + i);
6117
6117
  return c <= 65535 ? d = String.fromCharCode(c) : (c -= 65536, d = String.fromCharCode((c >> 10) + 55296, (c & 1023) + 56320)), {
6118
6118
  type: "textord",
6119
6119
  mode: t.mode,
@@ -6125,7 +6125,7 @@ var Nm = (r, e) => {
6125
6125
  var t = Je(r.body, e.withColor(r.color), !1);
6126
6126
  return Kt(t);
6127
6127
  }, Om = (r, e) => {
6128
- var t = pt(r.body, e.withColor(r.color)), a = new B("mstyle", t);
6128
+ var t = pt(r.body, e.withColor(r.color)), a = new F("mstyle", t);
6129
6129
  return a.setAttribute("mathcolor", r.color), a;
6130
6130
  };
6131
6131
  W({
@@ -6201,7 +6201,7 @@ W({
6201
6201
  return r.newLine && (t.classes.push("newline"), r.size && (t.style.marginTop = q(Le(r.size, e)))), t;
6202
6202
  },
6203
6203
  mathmlBuilder(r, e) {
6204
- var t = new B("mspace");
6204
+ var t = new F("mspace");
6205
6205
  return r.newLine && (t.setAttribute("linebreak", "newline"), r.size && t.setAttribute("height", q(Le(r.size, e)))), t;
6206
6206
  }
6207
6207
  });
@@ -6218,7 +6218,7 @@ var Zs = {
6218
6218
  }, ym = (r) => {
6219
6219
  var e = r.text;
6220
6220
  if (/^(?:[\\{}$&#^_]|EOF)$/.test(e))
6221
- throw new U("Expected a control sequence", r);
6221
+ throw new B("Expected a control sequence", r);
6222
6222
  return e;
6223
6223
  }, I0 = (r) => {
6224
6224
  var e = r.gullet.popToken();
@@ -6253,7 +6253,7 @@ W({
6253
6253
  var a = e.fetch();
6254
6254
  if (Zs[a.text])
6255
6255
  return (t === "\\global" || t === "\\\\globallong") && (a.text = Zs[a.text]), de(e.parseFunction(), "internal");
6256
- throw new U("Invalid token after macro prefix", a);
6256
+ throw new B("Invalid token after macro prefix", a);
6257
6257
  }
6258
6258
  });
6259
6259
  W({
@@ -6270,7 +6270,7 @@ W({
6270
6270
  funcName: t
6271
6271
  } = r, a = e.gullet.popToken(), n = a.text;
6272
6272
  if (/^(?:[\\{}$&#^_]|EOF)$/.test(n))
6273
- throw new U("Expected a control sequence", a);
6273
+ throw new B("Expected a control sequence", a);
6274
6274
  for (var i = 0, o, s = [[]]; e.gullet.future().text !== "{"; )
6275
6275
  if (a = e.gullet.popToken(), a.text === "#") {
6276
6276
  if (e.gullet.future().text === "{") {
@@ -6278,13 +6278,13 @@ W({
6278
6278
  break;
6279
6279
  }
6280
6280
  if (a = e.gullet.popToken(), !/^[1-9]$/.test(a.text))
6281
- throw new U('Invalid argument number "' + a.text + '"');
6281
+ throw new B('Invalid argument number "' + a.text + '"');
6282
6282
  if (parseInt(a.text) !== i + 1)
6283
- throw new U('Argument number "' + a.text + '" out of order');
6283
+ throw new B('Argument number "' + a.text + '" out of order');
6284
6284
  i++, s.push([]);
6285
6285
  } else {
6286
6286
  if (a.text === "EOF")
6287
- throw new U("Expected a macro definition");
6287
+ throw new B("Expected a macro definition");
6288
6288
  s[i].push(a.text);
6289
6289
  }
6290
6290
  var {
@@ -6396,30 +6396,30 @@ var Gr = function(e, t, a) {
6396
6396
  s = d = u = e, c = null;
6397
6397
  var S = "Size1-Regular";
6398
6398
  e === "\\uparrow" ? d = u = "⏐" : e === "\\Uparrow" ? d = u = "‖" : e === "\\downarrow" ? s = d = "⏐" : e === "\\Downarrow" ? s = d = "‖" : e === "\\updownarrow" ? (s = "\\uparrow", d = "⏐", u = "\\downarrow") : e === "\\Updownarrow" ? (s = "\\Uparrow", d = "‖", u = "\\Downarrow") : w0.has(e) ? (d = "∣", p = "vert", E = 333) : M0.has(e) ? (d = "∥", p = "doublevert", E = 556) : e === "[" || e === "\\lbrack" ? (s = "⎡", d = "⎢", u = "⎣", S = "Size4-Regular", p = "lbrack", E = 667) : e === "]" || e === "\\rbrack" ? (s = "⎤", d = "⎥", u = "⎦", S = "Size4-Regular", p = "rbrack", E = 667) : e === "\\lfloor" || e === "⌊" ? (d = s = "⎢", u = "⎣", S = "Size4-Regular", p = "lfloor", E = 667) : e === "\\lceil" || e === "⌈" ? (s = "⎡", d = u = "⎢", S = "Size4-Regular", p = "lceil", E = 667) : e === "\\rfloor" || e === "⌋" ? (d = s = "⎥", u = "⎦", S = "Size4-Regular", p = "rfloor", E = 667) : e === "\\rceil" || e === "⌉" ? (s = "⎤", d = u = "⎥", S = "Size4-Regular", p = "rceil", E = 667) : e === "(" || e === "\\lparen" ? (s = "⎛", d = "⎜", u = "⎝", S = "Size4-Regular", p = "lparen", E = 875) : e === ")" || e === "\\rparen" ? (s = "⎞", d = "⎟", u = "⎠", S = "Size4-Regular", p = "rparen", E = 875) : e === "\\{" || e === "\\lbrace" ? (s = "⎧", c = "⎨", u = "⎩", d = "⎪", S = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (s = "⎫", c = "⎬", u = "⎭", d = "⎪", S = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (s = "⎧", u = "⎩", d = "⎪", S = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (s = "⎫", u = "⎭", d = "⎪", S = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (s = "⎧", u = "⎭", d = "⎪", S = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (s = "⎫", u = "⎩", d = "⎪", S = "Size4-Regular");
6399
- var b = Gr(s, S, i), f = b.height + b.depth, h = Gr(d, S, i), N = h.height + h.depth, O = Gr(u, S, i), y = O.height + O.depth, I = 0, D = 1;
6399
+ var b = Gr(s, S, i), f = b.height + b.depth, h = Gr(d, S, i), N = h.height + h.depth, y = Gr(u, S, i), O = y.height + y.depth, I = 0, D = 1;
6400
6400
  if (c !== null) {
6401
6401
  var A = Gr(c, S, i);
6402
6402
  I = A.height + A.depth, D = 2;
6403
6403
  }
6404
- var w = f + y + I, L = Math.max(0, Math.ceil((t - w) / (D * N))), G = w + L * D * N, j = n.fontMetrics().axisHeight;
6404
+ var w = f + O + I, M = Math.max(0, Math.ceil((t - w) / (D * N))), k = w + M * D * N, j = n.fontMetrics().axisHeight;
6405
6405
  a && (j *= n.sizeMultiplier);
6406
- var z = G / 2 - j, ee = [];
6406
+ var z = k / 2 - j, ee = [];
6407
6407
  if (p.length > 0) {
6408
- var J = G - f - y, k = Math.round(G * 1e3), Y = Wp(p, Math.round(J * 1e3)), Q = new tr(p, Y), ae = q(E / 1e3), _e = q(k / 1e3), Oe = new Ht([Q], {
6408
+ var J = k - f - O, U = Math.round(k * 1e3), Y = Wp(p, Math.round(J * 1e3)), Q = new tr(p, Y), ae = q(E / 1e3), _e = q(U / 1e3), Oe = new Ht([Q], {
6409
6409
  width: ae,
6410
6410
  height: _e,
6411
- viewBox: "0 0 " + E + " " + k
6411
+ viewBox: "0 0 " + E + " " + U
6412
6412
  }), Pe = rr([], [Oe], n);
6413
- Pe.height = k / 1e3, Pe.style.width = ae, Pe.style.height = _e, ee.push({
6413
+ Pe.height = U / 1e3, Pe.style.width = ae, Pe.style.height = _e, ee.push({
6414
6414
  type: "elem",
6415
6415
  elem: Pe
6416
6416
  });
6417
6417
  } else {
6418
6418
  if (ee.push(Qa(u, S, i)), ee.push(ua), c === null) {
6419
- var De = G - f - y + 2 * Js;
6419
+ var De = k - f - O + 2 * Js;
6420
6420
  ee.push(Xa(d, De, n));
6421
6421
  } else {
6422
- var je = (G - f - y - I) / 2 + 2 * Js;
6422
+ var je = (k - f - O - I) / 2 + 2 * Js;
6423
6423
  ee.push(Xa(d, je, n)), ee.push(ua), ee.push(Qa(c, S, i)), ee.push(ua), ee.push(Xa(d, je, n));
6424
6424
  }
6425
6425
  ee.push(ua), ee.push(Qa(s, S, i));
@@ -6455,7 +6455,7 @@ var Gr = function(e, t, a) {
6455
6455
  return Dm(e, t, !1, a, n, i);
6456
6456
  if (P0.has(e))
6457
6457
  return xm(e, qr[t], !1, a, n, i);
6458
- throw new U("Illegal delimiter: '" + e + "'");
6458
+ throw new B("Illegal delimiter: '" + e + "'");
6459
6459
  }, k0 = [{
6460
6460
  type: "small",
6461
6461
  style: le.SCRIPTSCRIPT
@@ -6625,7 +6625,7 @@ function Da(r, e) {
6625
6625
  var t = Aa(r);
6626
6626
  if (t && F0.has(t.text))
6627
6627
  return t;
6628
- throw t ? new U("Invalid delimiter '" + t.text + "' after '" + e.funcName + "'", r) : new U("Invalid delimiter type '" + r.type + "'", r);
6628
+ throw t ? new B("Invalid delimiter '" + t.text + "' after '" + e.funcName + "'", r) : new B("Invalid delimiter type '" + r.type + "'", r);
6629
6629
  }
6630
6630
  W({
6631
6631
  type: "delimsizing",
@@ -6648,7 +6648,7 @@ W({
6648
6648
  mathmlBuilder: (r) => {
6649
6649
  var e = [];
6650
6650
  r.delim !== "." && e.push(ft(r.delim, r.mode));
6651
- var t = new B("mo", e);
6651
+ var t = new F("mo", e);
6652
6652
  r.mclass === "mopen" || r.mclass === "mclose" ? t.setAttribute("fence", "true") : t.setAttribute("fence", "false"), t.setAttribute("stretchy", "true");
6653
6653
  var a = q(qr[r.size]);
6654
6654
  return t.setAttribute("minsize", a), t.setAttribute("maxsize", a), t;
@@ -6668,7 +6668,7 @@ W({
6668
6668
  handler: (r, e) => {
6669
6669
  var t = r.parser.gullet.macros.get("\\current@color");
6670
6670
  if (t && typeof t != "string")
6671
- throw new U("\\current@color set to non-string in \\right");
6671
+ throw new B("\\current@color set to non-string in \\right");
6672
6672
  return {
6673
6673
  type: "leftright-right",
6674
6674
  mode: r.parser.mode,
@@ -6724,11 +6724,11 @@ W({
6724
6724
  tc(r);
6725
6725
  var t = pt(r.body, e);
6726
6726
  if (r.left !== ".") {
6727
- var a = new B("mo", [ft(r.left, r.mode)]);
6727
+ var a = new F("mo", [ft(r.left, r.mode)]);
6728
6728
  a.setAttribute("fence", "true"), t.unshift(a);
6729
6729
  }
6730
6730
  if (r.right !== ".") {
6731
- var n = new B("mo", [ft(r.right, r.mode)]);
6731
+ var n = new F("mo", [ft(r.right, r.mode)]);
6732
6732
  n.setAttribute("fence", "true"), r.rightColor && n.setAttribute("mathcolor", r.rightColor), t.push(n);
6733
6733
  }
6734
6734
  return cl(t);
@@ -6744,7 +6744,7 @@ W({
6744
6744
  handler: (r, e) => {
6745
6745
  var t = Da(e[0], r);
6746
6746
  if (!r.parser.leftrightDepth)
6747
- throw new U("\\middle without preceding \\left", t);
6747
+ throw new B("\\middle without preceding \\left", t);
6748
6748
  return {
6749
6749
  type: "middle",
6750
6750
  mode: r.parser.mode,
@@ -6766,7 +6766,7 @@ W({
6766
6766
  return t;
6767
6767
  },
6768
6768
  mathmlBuilder: (r, e) => {
6769
- var t = r.delim === "\\vert" || r.delim === "|" ? ft("|", "text") : ft(r.delim, r.mode), a = new B("mo", [t]);
6769
+ var t = r.delim === "\\vert" || r.delim === "|" ? ft("|", "text") : ft(r.delim, r.mode), a = new F("mo", [t]);
6770
6770
  return a.setAttribute("fence", "true"), a.setAttribute("lspace", "0.05em"), a.setAttribute("rspace", "0.05em"), a;
6771
6771
  }
6772
6772
  });
@@ -6801,9 +6801,9 @@ var xa = (r, e) => {
6801
6801
  e.minRuleThickness
6802
6802
  ), f = e.fontMetrics().fboxsep + (a === "colorbox" ? 0 : N), h = f) : a === "angl" ? (N = Math.max(e.fontMetrics().defaultRuleThickness, e.minRuleThickness), f = 4 * N, h = Math.max(0, 0.25 - t.depth)) : (f = s ? 0.2 : 0, h = f), i = R0(t, a, f, h, e), /fbox|boxed|fcolorbox/.test(a) ? (i.style.borderStyle = "solid", i.style.borderWidth = q(N)) : a === "angl" && N !== 0.049 && (i.style.borderTopWidth = q(N), i.style.borderRightWidth = q(N)), o = t.depth + h, r.backgroundColor && (i.style.backgroundColor = r.backgroundColor, r.borderColor && (i.style.borderColor = r.borderColor));
6803
6803
  }
6804
- var O;
6804
+ var y;
6805
6805
  if (r.backgroundColor)
6806
- O = be({
6806
+ y = be({
6807
6807
  positionType: "individualShift",
6808
6808
  children: [
6809
6809
  // Put the color background behind inner;
@@ -6820,8 +6820,8 @@ var xa = (r, e) => {
6820
6820
  ]
6821
6821
  });
6822
6822
  else {
6823
- var y = /cancel|phase/.test(a) ? ["svg-align"] : [];
6824
- O = be({
6823
+ var O = /cancel|phase/.test(a) ? ["svg-align"] : [];
6824
+ y = be({
6825
6825
  positionType: "individualShift",
6826
6826
  children: [
6827
6827
  // Write the \cancel stroke on top of inner.
@@ -6834,14 +6834,14 @@ var xa = (r, e) => {
6834
6834
  type: "elem",
6835
6835
  elem: i,
6836
6836
  shift: o,
6837
- wrapperClasses: y
6837
+ wrapperClasses: O
6838
6838
  }
6839
6839
  ]
6840
6840
  });
6841
6841
  }
6842
- return /cancel/.test(a) && (O.height = t.height, O.depth = t.depth), /cancel/.test(a) && !s ? P(["mord", "cancel-lap"], [O], e) : P(["mord"], [O], e);
6842
+ return /cancel/.test(a) && (y.height = t.height, y.depth = t.depth), /cancel/.test(a) && !s ? P(["mord", "cancel-lap"], [y], e) : P(["mord"], [y], e);
6843
6843
  }, wa = (r, e) => {
6844
- var t = 0, a = new B(r.label.includes("colorbox") ? "mpadded" : "menclose", [Re(r.body, e)]);
6844
+ var t = 0, a = new F(r.label.includes("colorbox") ? "mpadded" : "menclose", [Re(r.body, e)]);
6845
6845
  switch (r.label) {
6846
6846
  case "\\cancel":
6847
6847
  a.setAttribute("notation", "updiagonalstrike");
@@ -7080,7 +7080,7 @@ function rc(r) {
7080
7080
  var Ma = (r) => {
7081
7081
  var e = r.parser.settings;
7082
7082
  if (!e.displayMode)
7083
- throw new U("{" + r.envName + "} can be used only in display mode.");
7083
+ throw new B("{" + r.envName + "} can be used only in display mode.");
7084
7084
  }, G0 = /* @__PURE__ */ new Set(["gather", "gather*"]);
7085
7085
  function ml(r) {
7086
7086
  if (!r.includes("ed"))
@@ -7104,17 +7104,17 @@ function nr(r, e, t) {
7104
7104
  if (S == null)
7105
7105
  o = 1;
7106
7106
  else if (o = parseFloat(S), !o || o < 0)
7107
- throw new U("Invalid \\arraystretch: " + S);
7107
+ throw new B("Invalid \\arraystretch: " + S);
7108
7108
  }
7109
7109
  r.gullet.beginGroup();
7110
- var b = [], f = [b], h = [], N = [], O = c != null ? [] : void 0;
7111
- function y() {
7110
+ var b = [], f = [b], h = [], N = [], y = c != null ? [] : void 0;
7111
+ function O() {
7112
7112
  c && r.gullet.macros.set("\\@eqnsw", "1", !0);
7113
7113
  }
7114
7114
  function I() {
7115
- O && (r.gullet.macros.get("\\df@tag") ? (O.push(r.subparse([new dt("\\df@tag")])), r.gullet.macros.set("\\df@tag", void 0, !0)) : O.push(!!c && r.gullet.macros.get("\\@eqnsw") === "1"));
7115
+ y && (r.gullet.macros.get("\\df@tag") ? (y.push(r.subparse([new dt("\\df@tag")])), r.gullet.macros.set("\\df@tag", void 0, !0)) : y.push(!!c && r.gullet.macros.get("\\@eqnsw") === "1"));
7116
7116
  }
7117
- for (y(), N.push(rc(r)); ; ) {
7117
+ for (O(), N.push(rc(r)); ; ) {
7118
7118
  var D = r.parseExpression(!1, d ? "\\end" : "\\\\");
7119
7119
  r.gullet.endGroup(), r.gullet.beginGroup();
7120
7120
  var A = {
@@ -7132,7 +7132,7 @@ function nr(r, e, t) {
7132
7132
  if (w === "&") {
7133
7133
  if (p && b.length === p) {
7134
7134
  if (d || s)
7135
- throw new U("Too many tab characters: &", r.nextToken);
7135
+ throw new B("Too many tab characters: &", r.nextToken);
7136
7136
  r.settings.reportNonstrict("textEnv", "Too few columns specified in the {array} column argument.");
7137
7137
  }
7138
7138
  r.consume();
@@ -7141,10 +7141,10 @@ function nr(r, e, t) {
7141
7141
  break;
7142
7142
  } else if (w === "\\\\") {
7143
7143
  r.consume();
7144
- var L = void 0;
7145
- r.gullet.future().text !== " " && (L = r.parseSizeGroup(!0)), h.push(L ? L.value : null), I(), N.push(rc(r)), b = [], f.push(b), y();
7144
+ var M = void 0;
7145
+ r.gullet.future().text !== " " && (M = r.parseSizeGroup(!0)), h.push(M ? M.value : null), I(), N.push(rc(r)), b = [], f.push(b), O();
7146
7146
  } else
7147
- throw new U("Expected & or \\\\ or \\cr or \\end", r.nextToken);
7147
+ throw new B("Expected & or \\\\ or \\cr or \\end", r.nextToken);
7148
7148
  }
7149
7149
  return r.gullet.endGroup(), r.gullet.endGroup(), {
7150
7150
  type: "array",
@@ -7157,7 +7157,7 @@ function nr(r, e, t) {
7157
7157
  hskipBeforeAndAfter: a,
7158
7158
  hLinesBeforeRow: N,
7159
7159
  colSeparationType: s,
7160
- tags: O,
7160
+ tags: y,
7161
7161
  leqno: E
7162
7162
  };
7163
7163
  }
@@ -7177,26 +7177,26 @@ var xt = function(e, t) {
7177
7177
  var b = e.colSeparationType === "CD" ? Le({
7178
7178
  number: 3,
7179
7179
  unit: "ex"
7180
- }, t) : 12 * p, f = 3 * p, h = e.arraystretch * b, N = 0.7 * h, O = 0.3 * h, y = 0;
7180
+ }, t) : 12 * p, f = 3 * p, h = e.arraystretch * b, N = 0.7 * h, y = 0.3 * h, O = 0;
7181
7181
  function I(Ct) {
7182
7182
  for (var Nt = 0; Nt < Ct.length; ++Nt)
7183
- Nt > 0 && (y += 0.25), d.push({
7184
- pos: y,
7183
+ Nt > 0 && (O += 0.25), d.push({
7184
+ pos: O,
7185
7185
  isDashed: Ct[Nt]
7186
7186
  });
7187
7187
  }
7188
7188
  for (I(o[0]), a = 0; a < e.body.length; ++a) {
7189
- var D = e.body[a], A = N, w = O;
7189
+ var D = e.body[a], A = N, w = y;
7190
7190
  s < D.length && (s = D.length);
7191
- var L = new Array(D.length);
7191
+ var M = new Array(D.length);
7192
7192
  for (n = 0; n < D.length; ++n) {
7193
- var G = fe(D[n], t);
7194
- w < G.depth && (w = G.depth), A < G.height && (A = G.height), L[n] = G;
7193
+ var k = fe(D[n], t);
7194
+ w < k.depth && (w = k.depth), A < k.height && (A = k.height), M[n] = k;
7195
7195
  }
7196
7196
  var j = e.rowGaps[a], z = 0;
7197
- j && (z = Le(j, t), z > 0 && (z += O, w < z && (w = z), z = 0)), e.addJot && a < e.body.length - 1 && (w += f), L.height = A, L.depth = w, y += A, L.pos = y, y += w + z, c[a] = L, I(o[a + 1]);
7197
+ j && (z = Le(j, t), z > 0 && (z += y, w < z && (w = z), z = 0)), e.addJot && a < e.body.length - 1 && (w += f), M.height = A, M.depth = w, O += A, M.pos = O, O += w + z, c[a] = M, I(o[a + 1]);
7198
7198
  }
7199
- var ee = y / 2 + t.fontMetrics().axisHeight, J = e.cols || [], k = [], Y, Q, ae = [];
7199
+ var ee = O / 2 + t.fontMetrics().axisHeight, J = e.cols || [], U = [], Y, Q, ae = [];
7200
7200
  if (e.tags && e.tags.some((Ct) => Ct))
7201
7201
  for (a = 0; a < i; ++a) {
7202
7202
  var _e = c[a], Oe = _e.pos - ee, Pe = e.tags[a], De = void 0;
@@ -7215,20 +7215,20 @@ var xt = function(e, t) {
7215
7215
  ) {
7216
7216
  for (var je, Ce = J[Q], Fe = !0; ((xe = Ce) == null ? void 0 : xe.type) === "separator"; ) {
7217
7217
  var xe;
7218
- if (Fe || (Y = P(["arraycolsep"], []), Y.style.width = q(t.fontMetrics().doubleRuleSep), k.push(Y)), Ce.separator === "|" || Ce.separator === ":") {
7218
+ if (Fe || (Y = P(["arraycolsep"], []), Y.style.width = q(t.fontMetrics().doubleRuleSep), U.push(Y)), Ce.separator === "|" || Ce.separator === ":") {
7219
7219
  var Ge = Ce.separator === "|" ? "solid" : "dashed", me = P(["vertical-separator"], [], t);
7220
- me.style.height = q(y), me.style.borderRightWidth = q(u), me.style.borderRightStyle = Ge, me.style.margin = "0 " + q(-u / 2);
7221
- var ge = y - ee;
7222
- ge && (me.style.verticalAlign = q(-ge)), k.push(me);
7220
+ me.style.height = q(O), me.style.borderRightWidth = q(u), me.style.borderRightStyle = Ge, me.style.margin = "0 " + q(-u / 2);
7221
+ var ge = O - ee;
7222
+ ge && (me.style.verticalAlign = q(-ge)), U.push(me);
7223
7223
  } else
7224
- throw new U("Invalid separator type: " + Ce.separator);
7224
+ throw new B("Invalid separator type: " + Ce.separator);
7225
7225
  Q++, Ce = J[Q], Fe = !1;
7226
7226
  }
7227
7227
  if (!(n >= s)) {
7228
7228
  var Se = void 0;
7229
7229
  if (n > 0 || e.hskipBeforeAndAfter) {
7230
7230
  var Ne, we;
7231
- Se = (Ne = (we = Ce) == null ? void 0 : we.pregap) != null ? Ne : E, Se !== 0 && (Y = P(["arraycolsep"], []), Y.style.width = q(Se), k.push(Y));
7231
+ Se = (Ne = (we = Ce) == null ? void 0 : we.pregap) != null ? Ne : E, Se !== 0 && (Y = P(["arraycolsep"], []), Y.style.width = q(Se), U.push(Y));
7232
7232
  }
7233
7233
  var We = [];
7234
7234
  for (a = 0; a < i; ++a) {
@@ -7246,13 +7246,13 @@ var xt = function(e, t) {
7246
7246
  positionType: "individualShift",
7247
7247
  children: We
7248
7248
  }), ir = P(["col-align-" + (((je = Ce) == null ? void 0 : je.align) || "c")], [$t]);
7249
- if (k.push(ir), n < s - 1 || e.hskipBeforeAndAfter) {
7249
+ if (U.push(ir), n < s - 1 || e.hskipBeforeAndAfter) {
7250
7250
  var Qt, or;
7251
- Se = (Qt = (or = Ce) == null ? void 0 : or.postgap) != null ? Qt : E, Se !== 0 && (Y = P(["arraycolsep"], []), Y.style.width = q(Se), k.push(Y));
7251
+ Se = (Qt = (or = Ce) == null ? void 0 : or.postgap) != null ? Qt : E, Se !== 0 && (Y = P(["arraycolsep"], []), Y.style.width = q(Se), U.push(Y));
7252
7252
  }
7253
7253
  }
7254
7254
  }
7255
- var Rt = P(["mtable"], k);
7255
+ var Rt = P(["mtable"], U);
7256
7256
  if (d.length > 0) {
7257
7257
  for (var Xt = Rr("hline", t, u), Er = Rr("hdashline", t, u), Mt = [{
7258
7258
  type: "elem",
@@ -7287,19 +7287,19 @@ var xt = function(e, t) {
7287
7287
  l: "left ",
7288
7288
  r: "right "
7289
7289
  }, wt = function(e, t) {
7290
- for (var a = [], n = new B("mtd", [], ["mtr-glue"]), i = new B("mtd", [], ["mml-eqn-num"]), o = 0; o < e.body.length; o++) {
7290
+ for (var a = [], n = new F("mtd", [], ["mtr-glue"]), i = new F("mtd", [], ["mml-eqn-num"]), o = 0; o < e.body.length; o++) {
7291
7291
  for (var s = e.body[o], c = [], d = 0; d < s.length; d++)
7292
- c.push(new B("mtd", [Re(s[d], t)]));
7293
- e.tags && e.tags[o] && (c.unshift(n), c.push(n), e.leqno ? c.unshift(i) : c.push(i)), a.push(new B("mtr", c));
7292
+ c.push(new F("mtd", [Re(s[d], t)]));
7293
+ e.tags && e.tags[o] && (c.unshift(n), c.push(n), e.leqno ? c.unshift(i) : c.push(i)), a.push(new F("mtr", c));
7294
7294
  }
7295
- var u = new B("mtable", a), p = e.arraystretch === 0.5 ? 0.1 : 0.16 + e.arraystretch - 1 + (e.addJot ? 0.09 : 0);
7295
+ var u = new F("mtable", a), p = e.arraystretch === 0.5 ? 0.1 : 0.16 + e.arraystretch - 1 + (e.addJot ? 0.09 : 0);
7296
7296
  u.setAttribute("rowspacing", q(p));
7297
7297
  var E = "", S = "";
7298
7298
  if (e.cols && e.cols.length > 0) {
7299
- var b = e.cols, f = "", h = !1, N = 0, O = b.length;
7300
- b[0].type === "separator" && (E += "top ", N = 1), b[b.length - 1].type === "separator" && (E += "bottom ", O -= 1);
7301
- for (var y = N; y < O; y++) {
7302
- var I = b[y];
7299
+ var b = e.cols, f = "", h = !1, N = 0, y = b.length;
7300
+ b[0].type === "separator" && (E += "top ", N = 1), b[b.length - 1].type === "separator" && (E += "bottom ", y -= 1);
7301
+ for (var O = N; O < y; O++) {
7302
+ var I = b[O];
7303
7303
  I.type === "align" ? (S += Y0[I.align], h && (f += "none "), h = !0) : I.type === "separator" && h && (f += I.separator === "|" ? "solid " : "dashed ", h = !1);
7304
7304
  }
7305
7305
  u.setAttribute("columnalign", S.trim()), /[sd]/.test(f) && u.setAttribute("columnlines", f.trim());
@@ -7309,11 +7309,11 @@ var xt = function(e, t) {
7309
7309
  A += w % 2 ? "0em " : "1em ";
7310
7310
  u.setAttribute("columnspacing", A.trim());
7311
7311
  } else e.colSeparationType === "alignat" || e.colSeparationType === "gather" ? u.setAttribute("columnspacing", "0em") : e.colSeparationType === "small" ? u.setAttribute("columnspacing", "0.2778em") : e.colSeparationType === "CD" ? u.setAttribute("columnspacing", "0.5em") : u.setAttribute("columnspacing", "1em");
7312
- var L = "", G = e.hLinesBeforeRow;
7313
- E += G[0].length > 0 ? "left " : "", E += G[G.length - 1].length > 0 ? "right " : "";
7314
- for (var j = 1; j < G.length - 1; j++)
7315
- L += G[j].length === 0 ? "none " : G[j][0] ? "dashed " : "solid ";
7316
- return /[sd]/.test(L) && u.setAttribute("rowlines", L.trim()), E !== "" && (u = new B("menclose", [u]), u.setAttribute("notation", E.trim())), e.arraystretch && e.arraystretch < 1 && (u = new B("mstyle", [u]), u.setAttribute("scriptlevel", "1")), u;
7312
+ var M = "", k = e.hLinesBeforeRow;
7313
+ E += k[0].length > 0 ? "left " : "", E += k[k.length - 1].length > 0 ? "right " : "";
7314
+ for (var j = 1; j < k.length - 1; j++)
7315
+ M += k[j].length === 0 ? "none " : k[j][0] ? "dashed " : "solid ";
7316
+ return /[sd]/.test(M) && u.setAttribute("rowlines", M.trim()), E !== "" && (u = new F("menclose", [u]), u.setAttribute("notation", E.trim())), e.arraystretch && e.arraystretch < 1 && (u = new F("mstyle", [u]), u.setAttribute("scriptlevel", "1")), u;
7317
7317
  }, Fm = function(e, t) {
7318
7318
  e.envName.includes("ed") || Ma(e);
7319
7319
  var a = [], n = e.envName.includes("at") ? "alignat" : "align", i = e.envName === "split", o = nr(e.parser, {
@@ -7338,8 +7338,8 @@ var xt = function(e, t) {
7338
7338
  }
7339
7339
  var S = !c;
7340
7340
  o.body.forEach(function(N) {
7341
- for (var O = 1; O < N.length; O += 2) {
7342
- var y = de(N[O], "styling"), I = de(y.body[0], "ordgroup");
7341
+ for (var y = 1; y < N.length; y += 2) {
7342
+ var O = de(N[y], "styling"), I = de(O.body[0], "ordgroup");
7343
7343
  I.body.unshift(d);
7344
7344
  }
7345
7345
  if (S)
@@ -7347,7 +7347,7 @@ var xt = function(e, t) {
7347
7347
  else {
7348
7348
  var D = N.length / 2;
7349
7349
  if (s < D)
7350
- throw new U("Too many math in a row: " + ("expected " + s + ", but got " + D), N[0]);
7350
+ throw new B("Too many math in a row: " + ("expected " + s + ", but got " + D), N[0]);
7351
7351
  }
7352
7352
  });
7353
7353
  for (var b = 0; b < c; ++b) {
@@ -7385,7 +7385,7 @@ Dt({
7385
7385
  type: "separator",
7386
7386
  separator: ":"
7387
7387
  };
7388
- throw new U("Unknown column alignment: " + c, o);
7388
+ throw new B("Unknown column alignment: " + c, o);
7389
7389
  }), i = {
7390
7390
  cols: n,
7391
7391
  hskipBeforeAndAfter: !0,
@@ -7422,7 +7422,7 @@ Dt({
7422
7422
  var n = r.parser;
7423
7423
  if (n.consumeSpaces(), n.fetch().text === "[") {
7424
7424
  if (n.consume(), n.consumeSpaces(), t = n.fetch().text, !"lcr".includes(t))
7425
- throw new U("Expected l or c or r", n.nextToken);
7425
+ throw new B("Expected l or c or r", n.nextToken);
7426
7426
  n.consume(), n.consumeSpaces(), n.expect("]"), n.consume(), a.cols = [{
7427
7427
  type: "align",
7428
7428
  align: t
@@ -7475,17 +7475,17 @@ Dt({
7475
7475
  type: "align",
7476
7476
  align: d
7477
7477
  };
7478
- throw new U("Unknown column alignment: " + d, s);
7478
+ throw new B("Unknown column alignment: " + d, s);
7479
7479
  });
7480
7480
  if (n.length > 1)
7481
- throw new U("{subarray} can contain only one column");
7481
+ throw new B("{subarray} can contain only one column");
7482
7482
  var i = {
7483
7483
  cols: n,
7484
7484
  hskipBeforeAndAfter: !1,
7485
7485
  arraystretch: 0.5
7486
7486
  }, o = nr(r.parser, i, "script");
7487
7487
  if (o.body.length > 0 && o.body[0].length > 1)
7488
- throw new U("{subarray} can contain only one column");
7488
+ throw new B("{subarray} can contain only one column");
7489
7489
  return o;
7490
7490
  },
7491
7491
  htmlBuilder: xt,
@@ -7617,7 +7617,7 @@ W({
7617
7617
  allowedInMath: !0
7618
7618
  },
7619
7619
  handler(r, e) {
7620
- throw new U(r.funcName + " valid only within array environment");
7620
+ throw new B(r.funcName + " valid only within array environment");
7621
7621
  }
7622
7622
  });
7623
7623
  var ac = Um;
@@ -7634,12 +7634,12 @@ W({
7634
7634
  funcName: a
7635
7635
  } = r, n = e[0];
7636
7636
  if (n.type !== "ordgroup")
7637
- throw new U("Invalid environment name", n);
7637
+ throw new B("Invalid environment name", n);
7638
7638
  for (var i = "", o = 0; o < n.body.length; ++o)
7639
7639
  i += de(n.body[o], "textord").text;
7640
7640
  if (a === "\\begin") {
7641
7641
  if (!ac.hasOwnProperty(i))
7642
- throw new U("No such environment: " + i, n);
7642
+ throw new B("No such environment: " + i, n);
7643
7643
  var s = ac[i], {
7644
7644
  args: c,
7645
7645
  optArgs: d
@@ -7651,7 +7651,7 @@ W({
7651
7651
  t.expect("\\end", !1);
7652
7652
  var E = t.nextToken, S = de(t.parseFunction(), "environment");
7653
7653
  if (S.name !== i)
7654
- throw new U("Mismatch: \\begin{" + i + "} matched by \\end{" + S.name + "}", E);
7654
+ throw new B("Mismatch: \\begin{" + i + "} matched by \\end{" + S.name + "}", E);
7655
7655
  return p;
7656
7656
  }
7657
7657
  return {
@@ -7782,9 +7782,9 @@ var q0 = (r, e) => {
7782
7782
  t.size === le.DISPLAY.size ? (S = e.fontMetrics().num1, p > 0 ? b = 3 * E : b = 7 * E, f = e.fontMetrics().denom1) : (p > 0 ? (S = e.fontMetrics().num2, b = E) : (S = e.fontMetrics().num3, b = 3 * E), f = e.fontMetrics().denom2);
7783
7783
  var h;
7784
7784
  if (u) {
7785
- var O = e.fontMetrics().axisHeight;
7786
- S - o.depth - (O + 0.5 * p) < b && (S += b - (S - o.depth - (O + 0.5 * p))), O - 0.5 * p - (d.height - f) < b && (f += b - (O - 0.5 * p - (d.height - f)));
7787
- var y = -(O - 0.5 * p);
7785
+ var y = e.fontMetrics().axisHeight;
7786
+ S - o.depth - (y + 0.5 * p) < b && (S += b - (S - o.depth - (y + 0.5 * p))), y - 0.5 * p - (d.height - f) < b && (f += b - (y - 0.5 * p - (d.height - f)));
7787
+ var O = -(y - 0.5 * p);
7788
7788
  h = be({
7789
7789
  positionType: "individualShift",
7790
7790
  children: [{
@@ -7794,7 +7794,7 @@ var q0 = (r, e) => {
7794
7794
  }, {
7795
7795
  type: "elem",
7796
7796
  elem: u,
7797
- shift: y
7797
+ shift: O
7798
7798
  }, {
7799
7799
  type: "elem",
7800
7800
  elem: o,
@@ -7822,7 +7822,7 @@ var q0 = (r, e) => {
7822
7822
  var D, A;
7823
7823
  return r.leftDelim == null ? D = Vr(e, ["mopen"]) : D = js(r.leftDelim, I, !0, e.havingStyle(t), r.mode, ["mopen"]), r.continued ? A = P([]) : r.rightDelim == null ? A = Vr(e, ["mclose"]) : A = js(r.rightDelim, I, !0, e.havingStyle(t), r.mode, ["mclose"]), P(["mord"].concat(i.sizingClasses(e)), [D, P(["mfrac"], [h]), A], e);
7824
7824
  }, z0 = (r, e) => {
7825
- var t = new B("mfrac", [Re(r.numer, e), Re(r.denom, e)]);
7825
+ var t = new F("mfrac", [Re(r.numer, e), Re(r.denom, e)]);
7826
7826
  if (!r.hasBarLine)
7827
7827
  t.setAttribute("linethickness", "0px");
7828
7828
  else if (r.barSize) {
@@ -7832,11 +7832,11 @@ var q0 = (r, e) => {
7832
7832
  if (r.leftDelim != null || r.rightDelim != null) {
7833
7833
  var n = [];
7834
7834
  if (r.leftDelim != null) {
7835
- var i = new B("mo", [new He(r.leftDelim.replace("\\", ""))]);
7835
+ var i = new F("mo", [new He(r.leftDelim.replace("\\", ""))]);
7836
7836
  i.setAttribute("fence", "true"), n.push(i);
7837
7837
  }
7838
7838
  if (n.push(t), r.rightDelim != null) {
7839
- var o = new B("mo", [new He(r.rightDelim.replace("\\", ""))]);
7839
+ var o = new F("mo", [new He(r.rightDelim.replace("\\", ""))]);
7840
7840
  o.setAttribute("fence", "true"), n.push(o);
7841
7841
  }
7842
7842
  return cl(n);
@@ -8108,7 +8108,7 @@ var zm = (r, e) => {
8108
8108
  return P(["minner", n.isOver ? "mover" : "munder"], [s], e);
8109
8109
  }, H0 = (r, e) => {
8110
8110
  var t = Na(r.label);
8111
- return new B(r.isOver ? "mover" : "munder", [Re(r.base, e), t]);
8111
+ return new F(r.isOver ? "mover" : "munder", [Re(r.base, e), t]);
8112
8112
  };
8113
8113
  W({
8114
8114
  type: "horizBrace",
@@ -8160,7 +8160,7 @@ W({
8160
8160
  },
8161
8161
  mathmlBuilder: (r, e) => {
8162
8162
  var t = ar(r.body, e);
8163
- return t instanceof B || (t = new B("mrow", [t])), t.setAttribute("href", r.href), t;
8163
+ return t instanceof F || (t = new F("mrow", [t])), t.setAttribute("href", r.href), t;
8164
8164
  }
8165
8165
  });
8166
8166
  W({
@@ -8226,7 +8226,7 @@ W({
8226
8226
  return Kt(t);
8227
8227
  },
8228
8228
  mathmlBuilder(r, e) {
8229
- return new B("mrow", pt(r.body, e));
8229
+ return new F("mrow", pt(r.body, e));
8230
8230
  }
8231
8231
  });
8232
8232
  W({
@@ -8268,7 +8268,7 @@ W({
8268
8268
  for (var d = i.split(","), u = 0; u < d.length; u++) {
8269
8269
  var p = d[u], E = p.indexOf("=");
8270
8270
  if (E < 0)
8271
- throw new U("\\htmlData key/value '" + p + "' missing equals sign");
8271
+ throw new B("\\htmlData key/value '" + p + "' missing equals sign");
8272
8272
  var S = p.slice(0, E), b = p.slice(E + 1);
8273
8273
  c["data-" + S.trim()] = b;
8274
8274
  }
@@ -8331,14 +8331,14 @@ var tn = function(e) {
8331
8331
  };
8332
8332
  var t = /([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);
8333
8333
  if (!t)
8334
- throw new U("Invalid size: '" + e + "' in \\includegraphics");
8334
+ throw new B("Invalid size: '" + e + "' in \\includegraphics");
8335
8335
  var a = {
8336
8336
  number: +(t[1] + t[2]),
8337
8337
  // sign + magnitude, cast to number
8338
8338
  unit: t[3]
8339
8339
  };
8340
8340
  if (!om(a))
8341
- throw new U("Invalid unit: '" + a.unit + "' in \\includegraphics.");
8341
+ throw new B("Invalid unit: '" + a.unit + "' in \\includegraphics.");
8342
8342
  return a;
8343
8343
  };
8344
8344
  W({
@@ -8382,7 +8382,7 @@ W({
8382
8382
  o = tn(E);
8383
8383
  break;
8384
8384
  default:
8385
- throw new U("Invalid key: '" + p[0] + "' in \\includegraphics.");
8385
+ throw new B("Invalid key: '" + p[0] + "' in \\includegraphics.");
8386
8386
  }
8387
8387
  }
8388
8388
  }
@@ -8413,7 +8413,7 @@ W({
8413
8413
  return o.height = t, o.depth = a, o;
8414
8414
  },
8415
8415
  mathmlBuilder: (r, e) => {
8416
- var t = new B("mglyph", []);
8416
+ var t = new F("mglyph", []);
8417
8417
  t.setAttribute("alt", r.alt);
8418
8418
  var a = Le(r.height, e), n = 0;
8419
8419
  if (r.totalheight.number > 0 && (n = Le(r.totalheight, e) - a, t.setAttribute("valign", q(-n))), t.setAttribute("height", q(a + n)), r.width.number > 0) {
@@ -8481,7 +8481,7 @@ W({
8481
8481
  return i.style.height = q(n.height + n.depth), n.depth && (i.style.verticalAlign = q(-n.depth)), n.children.unshift(i), n = P(["thinbox"], [n], e), P(["mord", "vbox"], [n], e);
8482
8482
  },
8483
8483
  mathmlBuilder: (r, e) => {
8484
- var t = new B("mpadded", [Re(r.body, e)]);
8484
+ var t = new F("mpadded", [Re(r.body, e)]);
8485
8485
  if (r.alignment !== "rlap") {
8486
8486
  var a = r.alignment === "llap" ? "-1" : "-0.5";
8487
8487
  t.setAttribute("lspace", a + "width");
@@ -8522,7 +8522,7 @@ W({
8522
8522
  allowedInMath: !1
8523
8523
  },
8524
8524
  handler(r, e) {
8525
- throw new U("Mismatched " + r.funcName);
8525
+ throw new B("Mismatched " + r.funcName);
8526
8526
  }
8527
8527
  });
8528
8528
  var sc = (r, e) => {
@@ -8700,13 +8700,13 @@ var Hm = (r, e, t, a, n, i, o) => {
8700
8700
  }, $r = (r, e) => {
8701
8701
  var t;
8702
8702
  if (r.symbol)
8703
- t = new B("mo", [ft(r.name, r.mode)]), Vm.has(r.name) && t.setAttribute("largeop", "false");
8703
+ t = new F("mo", [ft(r.name, r.mode)]), Vm.has(r.name) && t.setAttribute("largeop", "false");
8704
8704
  else if (r.body)
8705
- t = new B("mo", pt(r.body, e));
8705
+ t = new F("mo", pt(r.body, e));
8706
8706
  else {
8707
- t = new B("mi", [new He(r.name.slice(1))]);
8708
- var a = new B("mo", [ft("⁡", "text")]);
8709
- r.parentIsSupSub ? t = new B("mrow", [t, a]) : t = Sm([t, a]);
8707
+ t = new F("mi", [new He(r.name.slice(1))]);
8708
+ var a = new F("mo", [ft("⁡", "text")]);
8709
+ r.parentIsSupSub ? t = new F("mrow", [t, a]) : t = Sm([t, a]);
8710
8710
  }
8711
8711
  return t;
8712
8712
  }, V0 = {
@@ -8870,7 +8870,7 @@ var Wm = (r, e) => {
8870
8870
  }, K0 = (r, e) => {
8871
8871
  for (var t = pt(r.body, e.withFont("mathrm")), a = !0, n = 0; n < t.length; n++) {
8872
8872
  var i = t[n];
8873
- if (!(i instanceof bm)) if (i instanceof B)
8873
+ if (!(i instanceof bm)) if (i instanceof F)
8874
8874
  switch (i.type) {
8875
8875
  case "mi":
8876
8876
  case "mn":
@@ -8893,10 +8893,10 @@ var Wm = (r, e) => {
8893
8893
  var s = t.map((u) => u.toText()).join("");
8894
8894
  t = [new He(s)];
8895
8895
  }
8896
- var c = new B("mi", t);
8896
+ var c = new F("mi", t);
8897
8897
  c.setAttribute("mathvariant", "normal");
8898
- var d = new B("mo", [ft("⁡", "text")]);
8899
- return r.parentIsSupSub ? new B("mrow", [c, d]) : Sm([c, d]);
8898
+ var d = new F("mo", [ft("⁡", "text")]);
8899
+ return r.parentIsSupSub ? new F("mrow", [c, d]) : Sm([c, d]);
8900
8900
  };
8901
8901
  W({
8902
8902
  type: "operatorname",
@@ -8967,9 +8967,9 @@ W({
8967
8967
  return P(["mord", "overline"], [i], e);
8968
8968
  },
8969
8969
  mathmlBuilder(r, e) {
8970
- var t = new B("mo", [new He("‾")]);
8970
+ var t = new F("mo", [new He("‾")]);
8971
8971
  t.setAttribute("stretchy", "true");
8972
- var a = new B("mover", [Re(r.body, e), t]);
8972
+ var a = new F("mover", [Re(r.body, e), t]);
8973
8973
  return a.setAttribute("accent", "true"), a;
8974
8974
  }
8975
8975
  });
@@ -8996,7 +8996,7 @@ W({
8996
8996
  },
8997
8997
  mathmlBuilder: (r, e) => {
8998
8998
  var t = pt(r.body, e);
8999
- return new B("mphantom", t);
8999
+ return new F("mphantom", t);
9000
9000
  }
9001
9001
  });
9002
9002
  g("\\hphantom", "\\smash{\\phantom{#1}}");
@@ -9022,7 +9022,7 @@ W({
9022
9022
  return P(["mord", "rlap"], [t, a], e);
9023
9023
  },
9024
9024
  mathmlBuilder: (r, e) => {
9025
- var t = pt(ze(r.body), e), a = new B("mphantom", t), n = new B("mpadded", [a]);
9025
+ var t = pt(ze(r.body), e), a = new F("mphantom", t), n = new F("mpadded", [a]);
9026
9026
  return n.setAttribute("width", "0px"), n;
9027
9027
  }
9028
9028
  });
@@ -9057,7 +9057,7 @@ W({
9057
9057
  });
9058
9058
  },
9059
9059
  mathmlBuilder(r, e) {
9060
- var t = new B("mpadded", [Re(r.body, e)]), a = r.dy.number + r.dy.unit;
9060
+ var t = new F("mpadded", [Re(r.body, e)]), a = r.dy.number + r.dy.unit;
9061
9061
  return t.setAttribute("voffset", a), t;
9062
9062
  }
9063
9063
  });
@@ -9106,9 +9106,9 @@ W({
9106
9106
  return t.style.borderRightWidth = q(a), t.style.borderTopWidth = q(n), t.style.bottom = q(i), t.width = a, t.height = n + i, t.depth = -i, t.maxFontSize = n * 1.125 * e.sizeMultiplier, t;
9107
9107
  },
9108
9108
  mathmlBuilder(r, e) {
9109
- var t = Le(r.width, e), a = Le(r.height, e), n = r.shift ? Le(r.shift, e) : 0, i = e.color && e.getColor() || "black", o = new B("mspace");
9109
+ var t = Le(r.width, e), a = Le(r.height, e), n = r.shift ? Le(r.shift, e) : 0, i = e.color && e.getColor() || "black", o = new F("mspace");
9110
9110
  o.setAttribute("mathbackground", i), o.setAttribute("width", q(t)), o.setAttribute("height", q(a));
9111
- var s = new B("mpadded", [o]);
9111
+ var s = new F("mpadded", [o]);
9112
9112
  return n >= 0 ? s.setAttribute("height", q(n)) : (s.setAttribute("height", q(n)), s.setAttribute("depth", q(-n))), s.setAttribute("voffset", q(n)), s;
9113
9113
  }
9114
9114
  });
@@ -9146,7 +9146,7 @@ W({
9146
9146
  },
9147
9147
  htmlBuilder: $0,
9148
9148
  mathmlBuilder: (r, e) => {
9149
- var t = e.havingSize(r.size), a = pt(r.body, t), n = new B("mstyle", a);
9149
+ var t = e.havingSize(r.size), a = pt(r.body, t), n = new F("mstyle", a);
9150
9150
  return n.setAttribute("mathsize", q(t.sizeMultiplier)), n;
9151
9151
  }
9152
9152
  });
@@ -9204,7 +9204,7 @@ W({
9204
9204
  return P(["mord"], [n], e);
9205
9205
  },
9206
9206
  mathmlBuilder: (r, e) => {
9207
- var t = new B("mpadded", [Re(r.body, e)]);
9207
+ var t = new F("mpadded", [Re(r.body, e)]);
9208
9208
  return r.smashHeight && t.setAttribute("height", "0px"), r.smashDepth && t.setAttribute("depth", "0px"), t;
9209
9209
  }
9210
9210
  });
@@ -9264,8 +9264,8 @@ W({
9264
9264
  type: "elem",
9265
9265
  elem: f
9266
9266
  }]
9267
- }), O = P(["root"], [N]);
9268
- return P(["mord", "sqrt"], [O, S], e);
9267
+ }), y = P(["root"], [N]);
9268
+ return P(["mord", "sqrt"], [y, S], e);
9269
9269
  } else
9270
9270
  return P(["mord", "sqrt"], [S], e);
9271
9271
  },
@@ -9274,7 +9274,7 @@ W({
9274
9274
  body: t,
9275
9275
  index: a
9276
9276
  } = r;
9277
- return a ? new B("mroot", [Re(t, e), Re(a, e)]) : new B("msqrt", [Re(t, e)]);
9277
+ return a ? new F("mroot", [Re(t, e), Re(a, e)]) : new F("msqrt", [Re(t, e)]);
9278
9278
  }
9279
9279
  });
9280
9280
  var cc = {
@@ -9311,7 +9311,7 @@ W({
9311
9311
  return Km(r.body, a, e);
9312
9312
  },
9313
9313
  mathmlBuilder(r, e) {
9314
- var t = cc[r.style], a = e.havingStyle(t), n = pt(r.body, a), i = new B("mstyle", n), o = {
9314
+ var t = cc[r.style], a = e.havingStyle(t), n = pt(r.body, a), i = new F("mstyle", n), o = {
9315
9315
  display: ["0", "true"],
9316
9316
  text: ["0", "false"],
9317
9317
  script: ["1", "false"],
@@ -9361,10 +9361,10 @@ pr({
9361
9361
  }
9362
9362
  var f;
9363
9363
  e.style === le.DISPLAY ? f = d.sup1 : e.style.cramped ? f = d.sup3 : f = d.sup2;
9364
- var h = e.sizeMultiplier, N = q(0.5 / d.ptPerEm / h), O = null;
9364
+ var h = e.sizeMultiplier, N = q(0.5 / d.ptPerEm / h), y = null;
9365
9365
  if (c) {
9366
- var y = r.base && r.base.type === "op" && r.base.name && (r.base.name === "\\oiint" || r.base.name === "\\oiiint");
9367
- (o instanceof ut || y) && (O = q(-o.italic));
9366
+ var O = r.base && r.base.type === "op" && r.base.name && (r.base.name === "\\oiint" || r.base.name === "\\oiiint");
9367
+ (o instanceof ut || O) && (y = q(-o.italic));
9368
9368
  }
9369
9369
  var I;
9370
9370
  if (s && c) {
@@ -9375,12 +9375,12 @@ pr({
9375
9375
  var w = 0.8 * d.xHeight - (u - s.depth);
9376
9376
  w > 0 && (u += w, p -= w);
9377
9377
  }
9378
- var L = [{
9378
+ var M = [{
9379
9379
  type: "elem",
9380
9380
  elem: c,
9381
9381
  shift: p,
9382
9382
  marginRight: N,
9383
- marginLeft: O
9383
+ marginLeft: y
9384
9384
  }, {
9385
9385
  type: "elem",
9386
9386
  elem: s,
@@ -9389,20 +9389,20 @@ pr({
9389
9389
  }];
9390
9390
  I = be({
9391
9391
  positionType: "individualShift",
9392
- children: L
9392
+ children: M
9393
9393
  });
9394
9394
  } else if (c) {
9395
9395
  p = Math.max(p, d.sub1, c.height - 0.8 * d.xHeight);
9396
- var G = [{
9396
+ var k = [{
9397
9397
  type: "elem",
9398
9398
  elem: c,
9399
- marginLeft: O,
9399
+ marginLeft: y,
9400
9400
  marginRight: N
9401
9401
  }];
9402
9402
  I = be({
9403
9403
  positionType: "shift",
9404
9404
  positionData: p,
9405
- children: G
9405
+ children: k
9406
9406
  });
9407
9407
  } else if (s)
9408
9408
  u = Math.max(u, f, s.depth + 0.25 * d.xHeight), I = be({
@@ -9439,7 +9439,7 @@ pr({
9439
9439
  var s = r.base;
9440
9440
  s && s.type === "op" && s.limits && (e.style === le.DISPLAY || s.alwaysHandleSupSub) || s && s.type === "operatorname" && s.alwaysHandleSupSub && (s.limits || e.style === le.DISPLAY) ? o = "mover" : o = "msup";
9441
9441
  }
9442
- return new B(o, i);
9442
+ return new F(o, i);
9443
9443
  }
9444
9444
  });
9445
9445
  pr({
@@ -9448,7 +9448,7 @@ pr({
9448
9448
  return sl(r.text, r.mode, e, ["m" + r.family]);
9449
9449
  },
9450
9450
  mathmlBuilder(r, e) {
9451
- var t = new B("mo", [ft(r.text, r.mode)]);
9451
+ var t = new F("mo", [ft(r.text, r.mode)]);
9452
9452
  if (r.family === "bin") {
9453
9453
  var a = _l(r, e);
9454
9454
  a === "bold-italic" && t.setAttribute("mathvariant", a);
@@ -9467,7 +9467,7 @@ pr({
9467
9467
  return Ca(r, e, "mathord");
9468
9468
  },
9469
9469
  mathmlBuilder(r, e) {
9470
- var t = new B("mi", [ft(r.text, r.mode, e)]), a = _l(r, e) || "italic";
9470
+ var t = new F("mi", [ft(r.text, r.mode, e)]), a = _l(r, e) || "italic";
9471
9471
  return a !== $m[t.type] && t.setAttribute("mathvariant", a), t;
9472
9472
  }
9473
9473
  });
@@ -9478,7 +9478,7 @@ pr({
9478
9478
  },
9479
9479
  mathmlBuilder(r, e) {
9480
9480
  var t = ft(r.text, r.mode, e), a = _l(r, e) || "normal", n;
9481
- return r.mode === "text" ? n = new B("mtext", [t]) : /[0-9]/.test(r.text) ? n = new B("mn", [t]) : r.text === "\\prime" ? n = new B("mo", [t]) : n = new B("mi", [t]), a !== $m[n.type] && n.setAttribute("mathvariant", a), n;
9481
+ return r.mode === "text" ? n = new F("mtext", [t]) : /[0-9]/.test(r.text) ? n = new F("mn", [t]) : r.text === "\\prime" ? n = new F("mo", [t]) : n = new F("mi", [t]), a !== $m[n.type] && n.setAttribute("mathvariant", a), n;
9482
9482
  }
9483
9483
  });
9484
9484
  var rn = {
@@ -9508,29 +9508,29 @@ pr({
9508
9508
  } else {
9509
9509
  if (rn.hasOwnProperty(r.text))
9510
9510
  return P(["mspace", rn[r.text]], [], e);
9511
- throw new U('Unknown type of space "' + r.text + '"');
9511
+ throw new B('Unknown type of space "' + r.text + '"');
9512
9512
  }
9513
9513
  },
9514
9514
  mathmlBuilder(r, e) {
9515
9515
  var t;
9516
9516
  if (an.hasOwnProperty(r.text))
9517
- t = new B("mtext", [new He(" ")]);
9517
+ t = new F("mtext", [new He(" ")]);
9518
9518
  else {
9519
9519
  if (rn.hasOwnProperty(r.text))
9520
- return new B("mspace");
9521
- throw new U('Unknown type of space "' + r.text + '"');
9520
+ return new F("mspace");
9521
+ throw new B('Unknown type of space "' + r.text + '"');
9522
9522
  }
9523
9523
  return t;
9524
9524
  }
9525
9525
  });
9526
9526
  var _c = () => {
9527
- var r = new B("mtd", []);
9527
+ var r = new F("mtd", []);
9528
9528
  return r.setAttribute("width", "50%"), r;
9529
9529
  };
9530
9530
  pr({
9531
9531
  type: "tag",
9532
9532
  mathmlBuilder(r, e) {
9533
- var t = new B("mtable", [new B("mtr", [_c(), new B("mtd", [ar(r.body, e)]), _c(), new B("mtd", [ar(r.tag, e)])])]);
9533
+ var t = new F("mtable", [new F("mtr", [_c(), new F("mtd", [ar(r.body, e)]), _c(), new F("mtd", [ar(r.tag, e)])])]);
9534
9534
  return t.setAttribute("width", "100%"), t;
9535
9535
  }
9536
9536
  });
@@ -9640,9 +9640,9 @@ W({
9640
9640
  return P(["mord", "underline"], [i], e);
9641
9641
  },
9642
9642
  mathmlBuilder(r, e) {
9643
- var t = new B("mo", [new He("‾")]);
9643
+ var t = new F("mo", [new He("‾")]);
9644
9644
  t.setAttribute("stretchy", "true");
9645
- var a = new B("munder", [Re(r.body, e), t]);
9645
+ var a = new F("munder", [Re(r.body, e), t]);
9646
9646
  return a.setAttribute("accentunder", "true"), a;
9647
9647
  }
9648
9648
  });
@@ -9677,8 +9677,8 @@ W({
9677
9677
  });
9678
9678
  },
9679
9679
  mathmlBuilder(r, e) {
9680
- var t = new B("mpadded", [Re(r.body, e)], ["vcenter"]);
9681
- return new B("mrow", [t]);
9680
+ var t = new F("mpadded", [Re(r.body, e)], ["vcenter"]);
9681
+ return new F("mrow", [t]);
9682
9682
  }
9683
9683
  });
9684
9684
  W({
@@ -9689,7 +9689,7 @@ W({
9689
9689
  allowedInText: !0
9690
9690
  },
9691
9691
  handler(r, e, t) {
9692
- throw new U("\\verb ended by end of line instead of matching delimiter");
9692
+ throw new B("\\verb ended by end of line instead of matching delimiter");
9693
9693
  },
9694
9694
  htmlBuilder(r, e) {
9695
9695
  for (var t = pc(r), a = [], n = e.havingStyle(e.style.text()), i = 0; i < t.length; i++) {
@@ -9699,7 +9699,7 @@ W({
9699
9699
  return P(["mord", "text"].concat(n.sizingClasses(e)), dm(a), n);
9700
9700
  },
9701
9701
  mathmlBuilder(r, e) {
9702
- var t = new He(pc(r)), a = new B("mtext", [t]);
9702
+ var t = new He(pc(r)), a = new F("mtext", [t]);
9703
9703
  return a.setAttribute("mathvariant", "monospace"), a;
9704
9704
  }
9705
9705
  });
@@ -9738,7 +9738,7 @@ class gc {
9738
9738
  return new dt("EOF", new ct(this, t, t));
9739
9739
  var a = this.tokenRegex.exec(e);
9740
9740
  if (a === null || a.index !== t)
9741
- throw new U("Unexpected character: '" + e[t] + "'", new dt(e[t], new ct(this, t, t + 1)));
9741
+ throw new B("Unexpected character: '" + e[t] + "'", new dt(e[t], new ct(this, t, t + 1)));
9742
9742
  var n = a[6] || a[3] || (a[2] ? "\\ " : " ");
9743
9743
  if (this.catcodes[n] === 14) {
9744
9744
  var i = e.indexOf(`
@@ -9769,7 +9769,7 @@ class ag {
9769
9769
  */
9770
9770
  endGroup() {
9771
9771
  if (this.undefStack.length === 0)
9772
- throw new U("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");
9772
+ throw new B("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");
9773
9773
  var e = this.undefStack.pop();
9774
9774
  for (var t in e)
9775
9775
  e.hasOwnProperty(t) && (e[t] == null ? delete this.current[t] : this.current[t] = e[t]);
@@ -9906,14 +9906,14 @@ g("\\char", function(r) {
9906
9906
  a = e.text.charCodeAt(1);
9907
9907
  else {
9908
9908
  if (e.text === "EOF")
9909
- throw new U("\\char` missing argument");
9909
+ throw new B("\\char` missing argument");
9910
9910
  a = e.text.charCodeAt(0);
9911
9911
  }
9912
9912
  else
9913
9913
  t = 10;
9914
9914
  if (t) {
9915
9915
  if (a = Ec[e.text], a == null || a >= t)
9916
- throw new U("Invalid base-" + t + " digit " + e.text);
9916
+ throw new B("Invalid base-" + t + " digit " + e.text);
9917
9917
  for (var n; (n = Ec[r.future().text]) != null && n < t; )
9918
9918
  a *= t, a += n, r.popToken();
9919
9919
  }
@@ -9922,18 +9922,18 @@ g("\\char", function(r) {
9922
9922
  var gl = (r, e, t, a) => {
9923
9923
  var n = r.consumeArg().tokens;
9924
9924
  if (n.length !== 1)
9925
- throw new U("\\newcommand's first argument must be a macro name");
9925
+ throw new B("\\newcommand's first argument must be a macro name");
9926
9926
  var i = n[0].text, o = r.isDefined(i);
9927
9927
  if (o && !e)
9928
- throw new U("\\newcommand{" + i + "} attempting to redefine " + (i + "; use \\renewcommand"));
9928
+ throw new B("\\newcommand{" + i + "} attempting to redefine " + (i + "; use \\renewcommand"));
9929
9929
  if (!o && !t)
9930
- throw new U("\\renewcommand{" + i + "} when command " + i + " does not yet exist; use \\newcommand");
9930
+ throw new B("\\renewcommand{" + i + "} when command " + i + " does not yet exist; use \\newcommand");
9931
9931
  var s = 0;
9932
9932
  if (n = r.consumeArg().tokens, n.length === 1 && n[0].text === "[") {
9933
9933
  for (var c = "", d = r.expandNextToken(); d.text !== "]" && d.text !== "EOF"; )
9934
9934
  c += d.text, d = r.expandNextToken();
9935
9935
  if (!c.match(/^\s*[0-9]+\s*$/))
9936
- throw new U("Invalid number of arguments: " + c);
9936
+ throw new B("Invalid number of arguments: " + c);
9937
9937
  s = parseInt(c), n = r.consumeArg().tokens;
9938
9938
  }
9939
9939
  return o && a || r.macros.set(i, {
@@ -10152,7 +10152,7 @@ g("\\tag", "\\@ifstar\\tag@literal\\tag@paren");
10152
10152
  g("\\tag@paren", "\\tag@literal{({#1})}");
10153
10153
  g("\\tag@literal", (r) => {
10154
10154
  if (r.macros.get("\\df@tag"))
10155
- throw new U("Multiple \\tag");
10155
+ throw new B("Multiple \\tag");
10156
10156
  return "\\gdef\\df@tag{\\text{#1}}";
10157
10157
  });
10158
10158
  g("\\bmod", "\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");
@@ -10516,9 +10516,9 @@ class og {
10516
10516
  ++o;
10517
10517
  else if (i.text === "}") {
10518
10518
  if (--o, o === -1)
10519
- throw new U("Extra }", i);
10519
+ throw new B("Extra }", i);
10520
10520
  } else if (i.text === "EOF")
10521
- throw new U("Unexpected end of input in a macro argument, expected '" + (e && a ? e[s] : "}") + "'", i);
10521
+ throw new B("Unexpected end of input in a macro argument, expected '" + (e && a ? e[s] : "}") + "'", i);
10522
10522
  if (e && a)
10523
10523
  if ((o === 0 || o === 1 && e[s] === "{") && i.text === e[s]) {
10524
10524
  if (++s, s === e.length) {
@@ -10541,11 +10541,11 @@ class og {
10541
10541
  consumeArgs(e, t) {
10542
10542
  if (t) {
10543
10543
  if (t.length !== e + 1)
10544
- throw new U("The length of delimiters doesn't match the number of args!");
10544
+ throw new B("The length of delimiters doesn't match the number of args!");
10545
10545
  for (var a = t[0], n = 0; n < a.length; n++) {
10546
10546
  var i = this.popToken();
10547
10547
  if (a[n] !== i.text)
10548
- throw new U("Use of the macro doesn't match its definition", i);
10548
+ throw new B("Use of the macro doesn't match its definition", i);
10549
10549
  }
10550
10550
  }
10551
10551
  for (var o = [], s = 0; s < e; s++)
@@ -10558,7 +10558,7 @@ class og {
10558
10558
  */
10559
10559
  countExpansion(e) {
10560
10560
  if (this.expansionCount += e, this.expansionCount > this.settings.maxExpand)
10561
- throw new U("Too many expansions: infinite loop or need to increase maxExpand setting");
10561
+ throw new B("Too many expansions: infinite loop or need to increase maxExpand setting");
10562
10562
  }
10563
10563
  /**
10564
10564
  * Expand the next token only once if possible.
@@ -10583,7 +10583,7 @@ class og {
10583
10583
  var t = this.popToken(), a = t.text, n = t.noexpand ? null : this._getExpansion(a);
10584
10584
  if (n == null || e && n.unexpandable) {
10585
10585
  if (e && n == null && a[0] === "\\" && !this.isDefined(a))
10586
- throw new U("Undefined control sequence: " + a);
10586
+ throw new B("Undefined control sequence: " + a);
10587
10587
  return this.pushToken(t), !1;
10588
10588
  }
10589
10589
  this.countExpansion(1);
@@ -10594,13 +10594,13 @@ class og {
10594
10594
  var c = i[s];
10595
10595
  if (c.text === "#") {
10596
10596
  if (s === 0)
10597
- throw new U("Incomplete placeholder at end of macro body", c);
10597
+ throw new B("Incomplete placeholder at end of macro body", c);
10598
10598
  if (c = i[--s], c.text === "#")
10599
10599
  i.splice(s + 1, 1);
10600
10600
  else if (/^[1-9]$/.test(c.text))
10601
10601
  i.splice(s, 2, ...o[+c.text - 1]);
10602
10602
  else
10603
- throw new U("Not a valid argument number", c);
10603
+ throw new B("Not a valid argument number", c);
10604
10604
  }
10605
10605
  }
10606
10606
  }
@@ -11207,7 +11207,7 @@ class La {
11207
11207
  */
11208
11208
  expect(e, t) {
11209
11209
  if (t === void 0 && (t = !0), this.fetch().text !== e)
11210
- throw new U("Expected '" + e + "', got '" + this.fetch().text + "'", this.fetch());
11210
+ throw new B("Expected '" + e + "', got '" + this.fetch().text + "'", this.fetch());
11211
11211
  t && this.consume();
11212
11212
  }
11213
11213
  /**
@@ -11290,7 +11290,7 @@ class La {
11290
11290
  var i = e[n];
11291
11291
  if (i.type === "infix") {
11292
11292
  if (t !== -1)
11293
- throw new U("only one infix operator per group", i.token);
11293
+ throw new B("only one infix operator per group", i.token);
11294
11294
  t = n, a = i.replaceWith;
11295
11295
  }
11296
11296
  }
@@ -11322,7 +11322,7 @@ class La {
11322
11322
  n = this.parseGroup(e);
11323
11323
  } while (((i = n) == null ? void 0 : i.type) === "internal");
11324
11324
  if (!n)
11325
- throw new U("Expected group after '" + a + "'", t);
11325
+ throw new B("Expected group after '" + a + "'", t);
11326
11326
  return n;
11327
11327
  }
11328
11328
  /**
@@ -11365,19 +11365,19 @@ class La {
11365
11365
  } else if (t && t.type === "operatorname")
11366
11366
  t.alwaysHandleSupSub && (t.limits = i.text === "\\limits");
11367
11367
  else
11368
- throw new U("Limit controls must follow a math operator", i);
11368
+ throw new B("Limit controls must follow a math operator", i);
11369
11369
  this.consume();
11370
11370
  } else if (i.text === "^") {
11371
11371
  if (a)
11372
- throw new U("Double superscript", i);
11372
+ throw new B("Double superscript", i);
11373
11373
  a = this.handleSupSubscript("superscript");
11374
11374
  } else if (i.text === "_") {
11375
11375
  if (n)
11376
- throw new U("Double subscript", i);
11376
+ throw new B("Double subscript", i);
11377
11377
  n = this.handleSupSubscript("subscript");
11378
11378
  } else if (i.text === "'") {
11379
11379
  if (a)
11380
- throw new U("Double superscript", i);
11380
+ throw new B("Double superscript", i);
11381
11381
  var s = {
11382
11382
  type: "textord",
11383
11383
  mode: this.mode,
@@ -11427,11 +11427,11 @@ class La {
11427
11427
  if (!i)
11428
11428
  return null;
11429
11429
  if (this.consume(), t && t !== "atom" && !i.allowedInArgument)
11430
- throw new U("Got function '" + n + "' with no arguments" + (t ? " as " + t : ""), a);
11430
+ throw new B("Got function '" + n + "' with no arguments" + (t ? " as " + t : ""), a);
11431
11431
  if (this.mode === "text" && !i.allowedInText)
11432
- throw new U("Can't use function '" + n + "' in text mode", a);
11432
+ throw new B("Can't use function '" + n + "' in text mode", a);
11433
11433
  if (this.mode === "math" && i.allowedInMath === !1)
11434
- throw new U("Can't use function '" + n + "' in math mode", a);
11434
+ throw new B("Can't use function '" + n + "' in math mode", a);
11435
11435
  var {
11436
11436
  args: o,
11437
11437
  optArgs: s
@@ -11450,7 +11450,7 @@ class La {
11450
11450
  }, s = jt[e];
11451
11451
  if (s && s.handler)
11452
11452
  return s.handler(o, t, a);
11453
- throw new U("No function handler for " + e);
11453
+ throw new B("No function handler for " + e);
11454
11454
  }
11455
11455
  /**
11456
11456
  * Parses the arguments of a function or environment
@@ -11472,7 +11472,7 @@ class La {
11472
11472
  else if (d != null)
11473
11473
  n.push(d);
11474
11474
  else
11475
- throw new U("Null argument, please report this as a bug");
11475
+ throw new B("Null argument, please report this as a bug");
11476
11476
  }
11477
11477
  return {
11478
11478
  args: n,
@@ -11513,10 +11513,10 @@ class La {
11513
11513
  }
11514
11514
  case "primitive": {
11515
11515
  if (a)
11516
- throw new U("A primitive argument cannot be optional");
11516
+ throw new B("A primitive argument cannot be optional");
11517
11517
  var o = this.parseGroup(e);
11518
11518
  if (o == null)
11519
- throw new U("Expected group as " + e, this.fetch());
11519
+ throw new B("Expected group as " + e, this.fetch());
11520
11520
  return o;
11521
11521
  }
11522
11522
  case "original":
@@ -11524,7 +11524,7 @@ class La {
11524
11524
  case void 0:
11525
11525
  return this.parseArgumentGroup(a);
11526
11526
  default:
11527
- throw new U("Unknown group type as " + e, this.fetch());
11527
+ throw new B("Unknown group type as " + e, this.fetch());
11528
11528
  }
11529
11529
  }
11530
11530
  /**
@@ -11555,7 +11555,7 @@ class La {
11555
11555
  for (var a = this.fetch(), n = a, i = "", o; (o = this.fetch()).text !== "EOF" && e.test(i + o.text); )
11556
11556
  n = o, i += n.text, this.consume();
11557
11557
  if (i === "")
11558
- throw new U("Invalid " + t + ": '" + a.text + "'", a);
11558
+ throw new B("Invalid " + t + ": '" + a.text + "'", a);
11559
11559
  return a.range(n, i);
11560
11560
  }
11561
11561
  /**
@@ -11567,7 +11567,7 @@ class La {
11567
11567
  return null;
11568
11568
  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);
11569
11569
  if (!a)
11570
- throw new U("Invalid color: '" + t.text + "'", t);
11570
+ throw new B("Invalid color: '" + t.text + "'", t);
11571
11571
  var n = a[0];
11572
11572
  return /^[0-9a-f]{6}$/i.test(n) && (n = "#" + n), {
11573
11573
  type: "color-token",
@@ -11585,14 +11585,14 @@ class La {
11585
11585
  !e && t.text.length === 0 && (t.text = "0pt", a = !0);
11586
11586
  var n = /([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);
11587
11587
  if (!n)
11588
- throw new U("Invalid size: '" + t.text + "'", t);
11588
+ throw new B("Invalid size: '" + t.text + "'", t);
11589
11589
  var i = {
11590
11590
  number: +(n[1] + n[2]),
11591
11591
  // sign + magnitude, cast to number
11592
11592
  unit: n[3]
11593
11593
  };
11594
11594
  if (!om(i))
11595
- throw new U("Invalid unit: '" + i.unit + "'", t);
11595
+ throw new B("Invalid unit: '" + i.unit + "'", t);
11596
11596
  return {
11597
11597
  type: "size",
11598
11598
  mode: this.mode,
@@ -11661,7 +11661,7 @@ class La {
11661
11661
  };
11662
11662
  } else if (i = this.parseFunction(t, e) || this.parseSymbol(), i == null && n[0] === "\\" && !Jm.hasOwnProperty(n)) {
11663
11663
  if (this.settings.throwOnError)
11664
- throw new U("Undefined control sequence: " + n, a);
11664
+ throw new B("Undefined control sequence: " + n, a);
11665
11665
  i = this.formatUnsupportedCmd(n), this.consume();
11666
11666
  }
11667
11667
  return i;
@@ -11714,7 +11714,7 @@ class La {
11714
11714
  this.consume();
11715
11715
  var a = t.slice(5), n = a.charAt(0) === "*";
11716
11716
  if (n && (a = a.slice(1)), a.length < 2 || a.charAt(0) !== a.slice(-1))
11717
- throw new U(`\\verb assertion failed --
11717
+ throw new B(`\\verb assertion failed --
11718
11718
  please report what input caused this bug`);
11719
11719
  return a = a.slice(1, -1), {
11720
11720
  type: "verb",
@@ -11760,10 +11760,10 @@ class La {
11760
11760
  for (var p = 0; p < i[0].length; p++) {
11761
11761
  var E = i[0][p];
11762
11762
  if (!nn[E])
11763
- throw new U("Unknown accent ' " + E + "'", e);
11763
+ throw new B("Unknown accent ' " + E + "'", e);
11764
11764
  var S = nn[E][this.mode] || nn[E].text;
11765
11765
  if (!S)
11766
- throw new U("Accent " + E + " unsupported in " + this.mode + " mode", e);
11766
+ throw new B("Accent " + E + " unsupported in " + this.mode + " mode", e);
11767
11767
  o = {
11768
11768
  type: "accent",
11769
11769
  mode: this.mode,
@@ -11787,7 +11787,7 @@ var Sl = function(e, t) {
11787
11787
  var n = a.parse();
11788
11788
  if (delete a.gullet.macros.current["\\current@color"], delete a.gullet.macros.current["\\color"], a.gullet.macros.get("\\df@tag")) {
11789
11789
  if (!t.displayMode)
11790
- throw new U("\\tag works only in display equations");
11790
+ throw new B("\\tag works only in display equations");
11791
11791
  n = [{
11792
11792
  type: "tag",
11793
11793
  mode: "text",
@@ -11802,7 +11802,7 @@ var Sl = function(e, t) {
11802
11802
  t.appendChild(n);
11803
11803
  };
11804
11804
  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."), jm = function() {
11805
- throw new U("KaTeX doesn't work in quirks mode.");
11805
+ throw new B("KaTeX doesn't work in quirks mode.");
11806
11806
  });
11807
11807
  var sg = function(e, t) {
11808
11808
  var a = bl(e, t).toMarkup();
@@ -11811,7 +11811,7 @@ var sg = function(e, t) {
11811
11811
  var a = new nl(t);
11812
11812
  return Sl(e, a);
11813
11813
  }, ep = function(e, t, a) {
11814
- if (a.throwOnError || !(e instanceof U))
11814
+ if (a.throwOnError || !(e instanceof B))
11815
11815
  throw e;
11816
11816
  var n = P(["katex-error"], [new ut(t)]);
11817
11817
  return n.setAttribute("title", e.toString()), n.setAttribute("style", "color:" + a.errorColor), n;
@@ -11856,7 +11856,7 @@ var sg = function(e, t) {
11856
11856
  /**
11857
11857
  * KaTeX error, usually during parsing.
11858
11858
  */
11859
- ParseError: U,
11859
+ ParseError: B,
11860
11860
  /**
11861
11861
  * The schema of Settings
11862
11862
  */
@@ -12133,10 +12133,10 @@ function mg() {
12133
12133
  function N(...R) {
12134
12134
  return "(" + (h(R).capture ? "" : "?:") + R.map((oe) => p(oe)).join("|") + ")";
12135
12135
  }
12136
- function O(R) {
12136
+ function y(R) {
12137
12137
  return new RegExp(R.toString() + "|").exec("").length - 1;
12138
12138
  }
12139
- function y(R, x) {
12139
+ function O(R, x) {
12140
12140
  const H = R && R.exec(x);
12141
12141
  return H && H.index === 0;
12142
12142
  }
@@ -12158,7 +12158,7 @@ function mg() {
12158
12158
  return Z;
12159
12159
  }).map((oe) => `(${oe})`).join(x);
12160
12160
  }
12161
- const A = /\b\B/, w = "[a-zA-Z]\\w*", L = "[a-zA-Z_]\\w*", G = "\\b\\d+(\\.\\d+)?", j = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", z = "\\b(0b[01]+)", ee = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", J = (R = {}) => {
12161
+ const A = /\b\B/, w = "[a-zA-Z]\\w*", M = "[a-zA-Z_]\\w*", k = "\\b\\d+(\\.\\d+)?", j = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", z = "\\b(0b[01]+)", ee = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", J = (R = {}) => {
12162
12162
  const x = /^#![ ]*\//;
12163
12163
  return R.binary && (R.begin = f(
12164
12164
  x,
@@ -12175,7 +12175,7 @@ function mg() {
12175
12175
  H.index !== 0 && oe.ignoreMatch();
12176
12176
  }
12177
12177
  }, R);
12178
- }, k = {
12178
+ }, U = {
12179
12179
  begin: "\\\\[\\s\\S]",
12180
12180
  relevance: 0
12181
12181
  }, Y = {
@@ -12183,13 +12183,13 @@ function mg() {
12183
12183
  begin: "'",
12184
12184
  end: "'",
12185
12185
  illegal: "\\n",
12186
- contains: [k]
12186
+ contains: [U]
12187
12187
  }, Q = {
12188
12188
  scope: "string",
12189
12189
  begin: '"',
12190
12190
  end: '"',
12191
12191
  illegal: "\\n",
12192
- contains: [k]
12192
+ contains: [U]
12193
12193
  }, ae = {
12194
12194
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
12195
12195
  }, _e = function(R, x, H = {}) {
@@ -12260,7 +12260,7 @@ function mg() {
12260
12260
  ), oe;
12261
12261
  }, Oe = _e("//", "$"), Pe = _e("/\\*", "\\*/"), De = _e("#", "$"), je = {
12262
12262
  scope: "number",
12263
- begin: G,
12263
+ begin: k,
12264
12264
  relevance: 0
12265
12265
  }, Ce = {
12266
12266
  scope: "number",
@@ -12275,12 +12275,12 @@ function mg() {
12275
12275
  begin: /\/(?=[^/\n]*\/)/,
12276
12276
  end: /\/[gimuy]*/,
12277
12277
  contains: [
12278
- k,
12278
+ U,
12279
12279
  {
12280
12280
  begin: /\[/,
12281
12281
  end: /\]/,
12282
12282
  relevance: 0,
12283
- contains: [k]
12283
+ contains: [U]
12284
12284
  }
12285
12285
  ]
12286
12286
  }, Ge = {
@@ -12289,17 +12289,17 @@ function mg() {
12289
12289
  relevance: 0
12290
12290
  }, me = {
12291
12291
  scope: "title",
12292
- begin: L,
12292
+ begin: M,
12293
12293
  relevance: 0
12294
12294
  }, ge = {
12295
12295
  // excludes method names from keyword processing
12296
- begin: "\\.\\s*" + L,
12296
+ begin: "\\.\\s*" + M,
12297
12297
  relevance: 0
12298
12298
  };
12299
12299
  var Ne = /* @__PURE__ */ Object.freeze({
12300
12300
  __proto__: null,
12301
12301
  APOS_STRING_MODE: Y,
12302
- BACKSLASH_ESCAPE: k,
12302
+ BACKSLASH_ESCAPE: U,
12303
12303
  BINARY_NUMBER_MODE: Fe,
12304
12304
  BINARY_NUMBER_RE: z,
12305
12305
  COMMENT: _e,
@@ -12327,14 +12327,14 @@ function mg() {
12327
12327
  MATCH_NOTHING_RE: A,
12328
12328
  METHOD_GUARD: ge,
12329
12329
  NUMBER_MODE: je,
12330
- NUMBER_RE: G,
12330
+ NUMBER_RE: k,
12331
12331
  PHRASAL_WORDS_MODE: ae,
12332
12332
  QUOTE_STRING_MODE: Q,
12333
12333
  REGEXP_MODE: xe,
12334
12334
  RE_STARTERS_RE: ee,
12335
12335
  SHEBANG: J,
12336
12336
  TITLE_MODE: Ge,
12337
- UNDERSCORE_IDENT_RE: L,
12337
+ UNDERSCORE_IDENT_RE: M,
12338
12338
  UNDERSCORE_TITLE_MODE: me
12339
12339
  });
12340
12340
  function we(R, x) {
@@ -12418,7 +12418,7 @@ function mg() {
12418
12418
  let oe = 0;
12419
12419
  const ke = R[H], Ue = {}, Z = {};
12420
12420
  for (let $ = 1; $ <= x.length; $++)
12421
- Z[$ + oe] = ke[$], Ue[$ + oe] = !0, oe += O(x[$ - 1]);
12421
+ Z[$ + oe] = ke[$], Ue[$ + oe] = !0, oe += y(x[$ - 1]);
12422
12422
  R[H] = Z, R[H]._emit = Ue, R[H]._multi = !0;
12423
12423
  }
12424
12424
  function Nt(R) {
@@ -12458,7 +12458,7 @@ function mg() {
12458
12458
  }
12459
12459
  // @ts-ignore
12460
12460
  addRule($, ie) {
12461
- ie.position = this.position++, this.matchIndexes[this.matchAt] = ie, this.regexes.push([ie, $]), this.matchAt += O($) + 1;
12461
+ ie.position = this.position++, this.matchIndexes[this.matchAt] = ie, this.regexes.push([ie, $]), this.matchAt += y($) + 1;
12462
12462
  }
12463
12463
  compile() {
12464
12464
  this.regexes.length === 0 && (this.exec = () => null);
@@ -12583,23 +12583,23 @@ function mg() {
12583
12583
  // https://github.com/highlightjs/highlight.js/issues/1086
12584
12584
  __emitter: u
12585
12585
  };
12586
- function ie(F) {
12587
- return $.noHighlightRe.test(F);
12586
+ function ie(G) {
12587
+ return $.noHighlightRe.test(G);
12588
12588
  }
12589
- function Ke(F) {
12590
- let te = F.className + " ";
12591
- te += F.parentNode ? F.parentNode.className : "";
12589
+ function Ke(G) {
12590
+ let te = G.className + " ";
12591
+ te += G.parentNode ? G.parentNode.className : "";
12592
12592
  const ue = $.languageDetectRe.exec(te);
12593
12593
  if (ue) {
12594
12594
  const ve = Ut(ue[1]);
12595
- return ve || (Tt(Ue.replace("{}", ue[1])), Tt("Falling back to no-highlight mode for this block.", F)), ve ? ue[1] : "no-highlight";
12595
+ return ve || (Tt(Ue.replace("{}", ue[1])), Tt("Falling back to no-highlight mode for this block.", G)), ve ? ue[1] : "no-highlight";
12596
12596
  }
12597
12597
  return te.split(/\s+/).find((ve) => ie(ve) || Ut(ve));
12598
12598
  }
12599
- function Ye(F, te, ue) {
12599
+ function Ye(G, te, ue) {
12600
12600
  let ve = "", qe = "";
12601
- typeof te == "object" ? (ve = F, ue = te.ignoreIllegals, qe = te.language) : (tt("10.7.0", "highlight(lang, code, ...args) has been deprecated."), tt("10.7.0", `Please use highlight(code, options) instead.
12602
- https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue === void 0 && (ue = !0);
12601
+ typeof te == "object" ? (ve = G, ue = te.ignoreIllegals, qe = te.language) : (tt("10.7.0", "highlight(lang, code, ...args) has been deprecated."), tt("10.7.0", `Please use highlight(code, options) instead.
12602
+ https://github.com/highlightjs/highlight.js/issues/2277`), qe = G, ve = te), ue === void 0 && (ue = !0);
12603
12603
  const gt = {
12604
12604
  code: ve,
12605
12605
  language: qe
@@ -12608,7 +12608,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue
12608
12608
  const Bt = gt.result ? gt.result : fr(gt.language, gt.code, ue);
12609
12609
  return Bt.code = gt.code, Lr("after:highlight", Bt), Bt;
12610
12610
  }
12611
- function fr(F, te, ue, ve) {
12611
+ function fr(G, te, ue, ve) {
12612
12612
  const qe = /* @__PURE__ */ Object.create(null);
12613
12613
  function gt(V, X) {
12614
12614
  return V.keywords[X];
@@ -12674,7 +12674,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue
12674
12674
  return V.scope && typeof V.scope == "string" && $e.openNode(Et.classNameAliases[V.scope] || V.scope), V.beginScope && (V.beginScope._wrap ? (ht(he, Et.classNameAliases[V.beginScope._wrap] || V.beginScope._wrap), he = "") : V.beginScope._multi && (Ba(V.beginScope, X), he = "")), se = Object.create(V, { parent: { value: se } }), se;
12675
12675
  }
12676
12676
  function Ga(V, X, ce) {
12677
- let Ee = y(V.endRe, ce);
12677
+ let Ee = O(V.endRe, ce);
12678
12678
  if (Ee) {
12679
12679
  if (V["on:end"]) {
12680
12680
  const Qe = new e(V);
@@ -12723,8 +12723,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue
12723
12723
  return lt(), 0;
12724
12724
  if (kr.type === "begin" && X.type === "end" && kr.index === X.index && ce === "") {
12725
12725
  if (he += te.slice(X.index, X.index + 1), !ke) {
12726
- const Ee = new Error(`0 width match regex (${F})`);
12727
- throw Ee.languageName = F, Ee.badRule = kr.rule, Ee;
12726
+ const Ee = new Error(`0 width match regex (${G})`);
12727
+ throw Ee.languageName = G, Ee.badRule = kr.rule, Ee;
12728
12728
  }
12729
12729
  return 1;
12730
12730
  }
@@ -12745,9 +12745,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue
12745
12745
  throw new Error("potential infinite loop, way more iterations than matches");
12746
12746
  return he += ce, ce.length;
12747
12747
  }
12748
- const Et = Ut(F);
12748
+ const Et = Ut(G);
12749
12749
  if (!Et)
12750
- throw _t(Ue.replace("{}", F)), new Error('Unknown language: "' + F + '"');
12750
+ throw _t(Ue.replace("{}", G)), new Error('Unknown language: "' + G + '"');
12751
12751
  const Ya = Xr(Et);
12752
12752
  let Ur = "", se = ve || Ya;
12753
12753
  const na = {}, $e = new $.__emitter($);
@@ -12767,7 +12767,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue
12767
12767
  aa(te.substring(Ot));
12768
12768
  }
12769
12769
  return $e.finalize(), Ur = $e.toHTML(), {
12770
- language: F,
12770
+ language: G,
12771
12771
  value: Ur,
12772
12772
  relevance: lr,
12773
12773
  illegal: !1,
@@ -12777,7 +12777,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue
12777
12777
  } catch (V) {
12778
12778
  if (V.message && V.message.includes("Illegal"))
12779
12779
  return {
12780
- language: F,
12780
+ language: G,
12781
12781
  value: br(te),
12782
12782
  illegal: !0,
12783
12783
  relevance: 0,
@@ -12792,7 +12792,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue
12792
12792
  };
12793
12793
  if (ke)
12794
12794
  return {
12795
- language: F,
12795
+ language: G,
12796
12796
  value: br(te),
12797
12797
  illegal: !1,
12798
12798
  relevance: 0,
@@ -12803,20 +12803,20 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue
12803
12803
  throw V;
12804
12804
  }
12805
12805
  }
12806
- function ea(F) {
12806
+ function ea(G) {
12807
12807
  const te = {
12808
- value: br(F),
12808
+ value: br(G),
12809
12809
  illegal: !1,
12810
12810
  relevance: 0,
12811
12811
  _top: Z,
12812
12812
  _emitter: new $.__emitter($)
12813
12813
  };
12814
- return te._emitter.addText(F), te;
12814
+ return te._emitter.addText(G), te;
12815
12815
  }
12816
- function ta(F, te) {
12816
+ function ta(G, te) {
12817
12817
  te = te || $.languages || Object.keys(x);
12818
- const ue = ea(F), ve = te.filter(Ut).filter(Ua).map(
12819
- (lt) => fr(lt, F, !1)
12818
+ const ue = ea(G), ve = te.filter(Ut).filter(Ua).map(
12819
+ (lt) => fr(lt, G, !1)
12820
12820
  );
12821
12821
  ve.unshift(ue);
12822
12822
  const qe = ve.sort((lt, ht) => {
@@ -12831,40 +12831,40 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue
12831
12831
  }), [gt, Bt] = qe, Pr = gt;
12832
12832
  return Pr.secondBest = Bt, Pr;
12833
12833
  }
12834
- function Tl(F, te, ue) {
12834
+ function Tl(G, te, ue) {
12835
12835
  const ve = te && H[te] || ue;
12836
- F.classList.add("hljs"), F.classList.add(`language-${ve}`);
12836
+ G.classList.add("hljs"), G.classList.add(`language-${ve}`);
12837
12837
  }
12838
- function ra(F) {
12838
+ function ra(G) {
12839
12839
  let te = null;
12840
- const ue = Ke(F);
12840
+ const ue = Ke(G);
12841
12841
  if (ie(ue)) return;
12842
12842
  if (Lr(
12843
12843
  "before:highlightElement",
12844
- { el: F, language: ue }
12845
- ), F.dataset.highlighted) {
12846
- console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", F);
12844
+ { el: G, language: ue }
12845
+ ), G.dataset.highlighted) {
12846
+ console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", G);
12847
12847
  return;
12848
12848
  }
12849
- if (F.children.length > 0 && ($.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(F)), $.throwUnescapedHTML))
12849
+ if (G.children.length > 0 && ($.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(G)), $.throwUnescapedHTML))
12850
12850
  throw new jr(
12851
12851
  "One of your code blocks includes unescaped HTML.",
12852
- F.innerHTML
12852
+ G.innerHTML
12853
12853
  );
12854
- te = F;
12854
+ te = G;
12855
12855
  const ve = te.textContent, qe = ue ? Ye(ve, { language: ue, ignoreIllegals: !0 }) : ta(ve);
12856
- F.innerHTML = qe.value, F.dataset.highlighted = "yes", Tl(F, ue, qe.language), F.result = {
12856
+ G.innerHTML = qe.value, G.dataset.highlighted = "yes", Tl(G, ue, qe.language), G.result = {
12857
12857
  language: qe.language,
12858
12858
  // TODO: remove with version 11.0
12859
12859
  re: qe.relevance,
12860
12860
  relevance: qe.relevance
12861
- }, qe.secondBest && (F.secondBest = {
12861
+ }, qe.secondBest && (G.secondBest = {
12862
12862
  language: qe.secondBest.language,
12863
12863
  relevance: qe.secondBest.relevance
12864
- }), Lr("after:highlightElement", { el: F, result: qe, text: ve });
12864
+ }), Lr("after:highlightElement", { el: G, result: qe, text: ve });
12865
12865
  }
12866
- function hl(F) {
12867
- $ = wr($, F);
12866
+ function hl(G) {
12867
+ $ = wr($, G);
12868
12868
  }
12869
12869
  const vl = () => {
12870
12870
  Mr(), tt("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
@@ -12874,74 +12874,74 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue
12874
12874
  }
12875
12875
  let Pa = !1;
12876
12876
  function Mr() {
12877
- function F() {
12877
+ function G() {
12878
12878
  Mr();
12879
12879
  }
12880
12880
  if (document.readyState === "loading") {
12881
- Pa || window.addEventListener("DOMContentLoaded", F, !1), Pa = !0;
12881
+ Pa || window.addEventListener("DOMContentLoaded", G, !1), Pa = !0;
12882
12882
  return;
12883
12883
  }
12884
12884
  document.querySelectorAll($.cssSelector).forEach(ra);
12885
12885
  }
12886
- function Cl(F, te) {
12886
+ function Cl(G, te) {
12887
12887
  let ue = null;
12888
12888
  try {
12889
12889
  ue = te(R);
12890
12890
  } catch (ve) {
12891
- if (_t("Language definition for '{}' could not be registered.".replace("{}", F)), ke)
12891
+ if (_t("Language definition for '{}' could not be registered.".replace("{}", G)), ke)
12892
12892
  _t(ve);
12893
12893
  else
12894
12894
  throw ve;
12895
12895
  ue = Z;
12896
12896
  }
12897
- ue.name || (ue.name = F), x[F] = ue, ue.rawDefinition = te.bind(null, R), ue.aliases && ka(ue.aliases, { languageName: F });
12897
+ ue.name || (ue.name = G), x[G] = ue, ue.rawDefinition = te.bind(null, R), ue.aliases && ka(ue.aliases, { languageName: G });
12898
12898
  }
12899
- function Nl(F) {
12900
- delete x[F];
12899
+ function Nl(G) {
12900
+ delete x[G];
12901
12901
  for (const te of Object.keys(H))
12902
- H[te] === F && delete H[te];
12902
+ H[te] === G && delete H[te];
12903
12903
  }
12904
12904
  function Ol() {
12905
12905
  return Object.keys(x);
12906
12906
  }
12907
- function Ut(F) {
12908
- return F = (F || "").toLowerCase(), x[F] || x[H[F]];
12907
+ function Ut(G) {
12908
+ return G = (G || "").toLowerCase(), x[G] || x[H[G]];
12909
12909
  }
12910
- function ka(F, { languageName: te }) {
12911
- typeof F == "string" && (F = [F]), F.forEach((ue) => {
12910
+ function ka(G, { languageName: te }) {
12911
+ typeof G == "string" && (G = [G]), G.forEach((ue) => {
12912
12912
  H[ue.toLowerCase()] = te;
12913
12913
  });
12914
12914
  }
12915
- function Ua(F) {
12916
- const te = Ut(F);
12915
+ function Ua(G) {
12916
+ const te = Ut(G);
12917
12917
  return te && !te.disableAutodetect;
12918
12918
  }
12919
- function yl(F) {
12920
- F["before:highlightBlock"] && !F["before:highlightElement"] && (F["before:highlightElement"] = (te) => {
12921
- F["before:highlightBlock"](
12919
+ function yl(G) {
12920
+ G["before:highlightBlock"] && !G["before:highlightElement"] && (G["before:highlightElement"] = (te) => {
12921
+ G["before:highlightBlock"](
12922
12922
  Object.assign({ block: te.el }, te)
12923
12923
  );
12924
- }), F["after:highlightBlock"] && !F["after:highlightElement"] && (F["after:highlightElement"] = (te) => {
12925
- F["after:highlightBlock"](
12924
+ }), G["after:highlightBlock"] && !G["after:highlightElement"] && (G["after:highlightElement"] = (te) => {
12925
+ G["after:highlightBlock"](
12926
12926
  Object.assign({ block: te.el }, te)
12927
12927
  );
12928
12928
  });
12929
12929
  }
12930
- function Al(F) {
12931
- yl(F), oe.push(F);
12930
+ function Al(G) {
12931
+ yl(G), oe.push(G);
12932
12932
  }
12933
- function Il(F) {
12934
- const te = oe.indexOf(F);
12933
+ function Il(G) {
12934
+ const te = oe.indexOf(G);
12935
12935
  te !== -1 && oe.splice(te, 1);
12936
12936
  }
12937
- function Lr(F, te) {
12938
- const ue = F;
12937
+ function Lr(G, te) {
12938
+ const ue = G;
12939
12939
  oe.forEach(function(ve) {
12940
12940
  ve[ue] && ve[ue](te);
12941
12941
  });
12942
12942
  }
12943
- function Dl(F) {
12944
- return tt("10.7.0", "highlightBlock will be removed entirely in v12.0"), tt("10.7.0", "Please use highlightElement now."), ra(F);
12943
+ function Dl(G) {
12944
+ return tt("10.7.0", "highlightBlock will be removed entirely in v12.0"), tt("10.7.0", "Please use highlightElement now."), ra(G);
12945
12945
  }
12946
12946
  Object.assign(R, {
12947
12947
  highlight: Ye,
@@ -12973,8 +12973,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), qe = F, ve = te), ue
12973
12973
  optional: b,
12974
12974
  anyNumberOfTimes: S
12975
12975
  };
12976
- for (const F in Ne)
12977
- typeof Ne[F] == "object" && r(Ne[F]);
12976
+ for (const G in Ne)
12977
+ typeof Ne[G] == "object" && r(Ne[G]);
12978
12978
  return Object.assign(R, Ne), R;
12979
12979
  }, kt = Pt({});
12980
12980
  return kt.newInstance = () => Pt({}), on = kt, kt.HighlightJS = kt, kt.default = kt, on;
@@ -14551,7 +14551,7 @@ function Rg() {
14551
14551
  "signed",
14552
14552
  "const",
14553
14553
  "static"
14554
- ], O = [
14554
+ ], y = [
14555
14555
  "any",
14556
14556
  "auto_ptr",
14557
14557
  "barrier",
@@ -14609,7 +14609,7 @@ function Rg() {
14609
14609
  "weak_ptr",
14610
14610
  "wstring",
14611
14611
  "wstring_view"
14612
- ], y = [
14612
+ ], O = [
14613
14613
  "abort",
14614
14614
  "abs",
14615
14615
  "acos",
@@ -14721,13 +14721,13 @@ function Rg() {
14721
14721
  "true"
14722
14722
  ],
14723
14723
  built_in: ["_Pragma"],
14724
- _type_hints: O
14724
+ _type_hints: y
14725
14725
  }, w = {
14726
14726
  className: "function.dispatch",
14727
14727
  relevance: 0,
14728
14728
  keywords: {
14729
14729
  // Only for relevance, not highlighting.
14730
- _hint: y
14730
+ _hint: O
14731
14731
  },
14732
14732
  begin: a.concat(
14733
14733
  /\b/,
@@ -14739,7 +14739,7 @@ function Rg() {
14739
14739
  t.IDENT_RE,
14740
14740
  a.lookahead(/(<[^<>]+>|)\s*\(/)
14741
14741
  )
14742
- }, L = [
14742
+ }, M = [
14743
14743
  w,
14744
14744
  S,
14745
14745
  d,
@@ -14747,7 +14747,7 @@ function Rg() {
14747
14747
  t.C_BLOCK_COMMENT_MODE,
14748
14748
  E,
14749
14749
  p
14750
- ], G = {
14750
+ ], k = {
14751
14751
  // This mode covers expression context where we can't expect a function
14752
14752
  // definition and shouldn't highlight anything that looks like one:
14753
14753
  // `return some()`, `else if()`, `(x*sum(1, 2))`
@@ -14766,12 +14766,12 @@ function Rg() {
14766
14766
  }
14767
14767
  ],
14768
14768
  keywords: A,
14769
- contains: L.concat([
14769
+ contains: M.concat([
14770
14770
  {
14771
14771
  begin: /\(/,
14772
14772
  end: /\)/,
14773
14773
  keywords: A,
14774
- contains: L.concat(["self"]),
14774
+ contains: M.concat(["self"]),
14775
14775
  relevance: 0
14776
14776
  }
14777
14777
  ]),
@@ -14868,10 +14868,10 @@ function Rg() {
14868
14868
  illegal: "</",
14869
14869
  classNameAliases: { "function.dispatch": "built_in" },
14870
14870
  contains: [].concat(
14871
- G,
14871
+ k,
14872
14872
  j,
14873
14873
  w,
14874
- L,
14874
+ M,
14875
14875
  [
14876
14876
  S,
14877
14877
  {
@@ -16708,7 +16708,7 @@ function Mg() {
16708
16708
  ], N = [
16709
16709
  "true",
16710
16710
  "false"
16711
- ], O = { match: /(\/[a-z._-]+)+/ }, y = [
16711
+ ], y = { match: /(\/[a-z._-]+)+/ }, O = [
16712
16712
  "break",
16713
16713
  "cd",
16714
16714
  "continue",
@@ -16935,7 +16935,7 @@ function Mg() {
16935
16935
  keyword: h,
16936
16936
  literal: N,
16937
16937
  built_in: [
16938
- ...y,
16938
+ ...O,
16939
16939
  ...I,
16940
16940
  // Shell modifiers
16941
16941
  "set",
@@ -16953,7 +16953,7 @@ function Mg() {
16953
16953
  E,
16954
16954
  o,
16955
16955
  s,
16956
- O,
16956
+ y,
16957
16957
  c,
16958
16958
  d,
16959
16959
  u,
@@ -17424,14 +17424,14 @@ function Ug() {
17424
17424
  literal: "true false NULL",
17425
17425
  // TODO: apply hinting work similar to what was done in cpp.js
17426
17426
  built_in: "std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"
17427
- }, O = [
17427
+ }, y = [
17428
17428
  E,
17429
17429
  c,
17430
17430
  a,
17431
17431
  e.C_BLOCK_COMMENT_MODE,
17432
17432
  p,
17433
17433
  u
17434
- ], y = {
17434
+ ], O = {
17435
17435
  // This mode covers expression context where we can't expect a function
17436
17436
  // definition and shouldn't highlight anything that looks like one:
17437
17437
  // `return some()`, `else if()`, `(x*sum(1, 2))`
@@ -17450,12 +17450,12 @@ function Ug() {
17450
17450
  }
17451
17451
  ],
17452
17452
  keywords: N,
17453
- contains: O.concat([
17453
+ contains: y.concat([
17454
17454
  {
17455
17455
  begin: /\(/,
17456
17456
  end: /\)/,
17457
17457
  keywords: N,
17458
- contains: O.concat(["self"]),
17458
+ contains: y.concat(["self"]),
17459
17459
  relevance: 0
17460
17460
  }
17461
17461
  ]),
@@ -17530,9 +17530,9 @@ function Ug() {
17530
17530
  disableAutodetect: !0,
17531
17531
  illegal: "</",
17532
17532
  contains: [].concat(
17533
- y,
17534
- I,
17535
17533
  O,
17534
+ I,
17535
+ y,
17536
17536
  [
17537
17537
  E,
17538
17538
  {
@@ -18055,13 +18055,13 @@ function qg() {
18055
18055
  }, N = {
18056
18056
  endsWithParent: !0,
18057
18057
  relevance: 0
18058
- }, O = {
18058
+ }, y = {
18059
18059
  keywords: i,
18060
18060
  className: "name",
18061
18061
  begin: a,
18062
18062
  relevance: 0,
18063
18063
  starts: N
18064
- }, y = [
18064
+ }, O = [
18065
18065
  p,
18066
18066
  h,
18067
18067
  c,
@@ -18089,13 +18089,13 @@ function qg() {
18089
18089
  // we can only have a single title
18090
18090
  endsParent: !0
18091
18091
  }
18092
- ].concat(y)
18092
+ ].concat(O)
18093
18093
  };
18094
18094
  return h.contains = [
18095
18095
  I,
18096
- O,
18096
+ y,
18097
18097
  N
18098
- ], N.contains = y, b.contains = y, {
18098
+ ], N.contains = O, b.contains = O, {
18099
18099
  name: "Clojure",
18100
18100
  aliases: [
18101
18101
  "clj",
@@ -18422,7 +18422,7 @@ function Vg() {
18422
18422
  }
18423
18423
  ];
18424
18424
  f.contains = h;
18425
- const N = s.inherit(s.TITLE_MODE, { begin: b }), O = "(\\(.*\\)\\s*)?\\B[-=]>", y = {
18425
+ const N = s.inherit(s.TITLE_MODE, { begin: b }), y = "(\\(.*\\)\\s*)?\\B[-=]>", O = {
18426
18426
  className: "params",
18427
18427
  begin: "\\([^\\(]",
18428
18428
  returnBegin: !0,
@@ -18470,12 +18470,12 @@ function Vg() {
18470
18470
  s.HASH_COMMENT_MODE,
18471
18471
  {
18472
18472
  className: "function",
18473
- begin: "^\\s*" + b + "\\s*=\\s*" + O,
18473
+ begin: "^\\s*" + b + "\\s*=\\s*" + y,
18474
18474
  end: "[-=]>",
18475
18475
  returnBegin: !0,
18476
18476
  contains: [
18477
18477
  N,
18478
- y
18478
+ O
18479
18479
  ]
18480
18480
  },
18481
18481
  {
@@ -18485,10 +18485,10 @@ function Vg() {
18485
18485
  contains: [
18486
18486
  {
18487
18487
  className: "function",
18488
- begin: O,
18488
+ begin: y,
18489
18489
  end: "[-=]>",
18490
18490
  returnBegin: !0,
18491
- contains: [y]
18491
+ contains: [O]
18492
18492
  }
18493
18493
  ]
18494
18494
  },
@@ -19265,7 +19265,7 @@ function $g() {
19265
19265
  "weak_ptr",
19266
19266
  "wstring",
19267
19267
  "wstring_view"
19268
- ], O = [
19268
+ ], y = [
19269
19269
  "abort",
19270
19270
  "abs",
19271
19271
  "acos",
@@ -19383,7 +19383,7 @@ function $g() {
19383
19383
  relevance: 0,
19384
19384
  keywords: {
19385
19385
  // Only for relevance, not highlighting.
19386
- _hint: O
19386
+ _hint: y
19387
19387
  },
19388
19388
  begin: t.concat(
19389
19389
  /\b/,
@@ -19403,7 +19403,7 @@ function $g() {
19403
19403
  e.C_BLOCK_COMMENT_MODE,
19404
19404
  p,
19405
19405
  u
19406
- ], L = {
19406
+ ], M = {
19407
19407
  // This mode covers expression context where we can't expect a function
19408
19408
  // definition and shouldn't highlight anything that looks like one:
19409
19409
  // `return some()`, `else if()`, `(x*sum(1, 2))`
@@ -19432,7 +19432,7 @@ function $g() {
19432
19432
  }
19433
19433
  ]),
19434
19434
  relevance: 0
19435
- }, G = {
19435
+ }, k = {
19436
19436
  className: "function",
19437
19437
  begin: "(" + s + "[\\*&\\s]+)+" + b,
19438
19438
  returnBegin: !0,
@@ -19524,8 +19524,8 @@ function $g() {
19524
19524
  illegal: "</",
19525
19525
  classNameAliases: { "function.dispatch": "built_in" },
19526
19526
  contains: [].concat(
19527
- L,
19528
- G,
19527
+ M,
19528
+ k,
19529
19529
  A,
19530
19530
  w,
19531
19531
  [
@@ -19679,11 +19679,11 @@ function Xg() {
19679
19679
  ],
19680
19680
  keywords: s
19681
19681
  };
19682
- function p(O, y) {
19682
+ function p(y, O) {
19683
19683
  const I = [
19684
19684
  {
19685
- begin: O,
19686
- end: y
19685
+ begin: y,
19686
+ end: O
19687
19687
  }
19688
19688
  ];
19689
19689
  return I[0].contains = I, I;
@@ -20151,14 +20151,14 @@ function Zg() {
20151
20151
  d,
20152
20152
  e.inherit(e.C_BLOCK_COMMENT_MODE, { illegal: /\n/ })
20153
20153
  ];
20154
- const O = { variants: [
20154
+ const y = { variants: [
20155
20155
  u,
20156
20156
  h,
20157
20157
  f,
20158
20158
  p,
20159
20159
  e.APOS_STRING_MODE,
20160
20160
  e.QUOTE_STRING_MODE
20161
- ] }, y = {
20161
+ ] }, O = {
20162
20162
  begin: "<",
20163
20163
  end: ">",
20164
20164
  contains: [
@@ -20211,7 +20211,7 @@ function Zg() {
20211
20211
  end: "$",
20212
20212
  keywords: { keyword: "if else elif endif define undef warning error line region endregion pragma checksum" }
20213
20213
  },
20214
- O,
20214
+ y,
20215
20215
  d,
20216
20216
  {
20217
20217
  beginKeywords: "class interface",
@@ -20221,7 +20221,7 @@ function Zg() {
20221
20221
  contains: [
20222
20222
  { beginKeywords: "where class" },
20223
20223
  c,
20224
- y,
20224
+ O,
20225
20225
  e.C_LINE_COMMENT_MODE,
20226
20226
  e.C_BLOCK_COMMENT_MODE
20227
20227
  ]
@@ -20244,7 +20244,7 @@ function Zg() {
20244
20244
  illegal: /[^\s:]/,
20245
20245
  contains: [
20246
20246
  c,
20247
- y,
20247
+ O,
20248
20248
  e.C_LINE_COMMENT_MODE,
20249
20249
  e.C_BLOCK_COMMENT_MODE
20250
20250
  ]
@@ -20288,7 +20288,7 @@ function Zg() {
20288
20288
  returnBegin: !0,
20289
20289
  contains: [
20290
20290
  e.TITLE_MODE,
20291
- y
20291
+ O
20292
20292
  ],
20293
20293
  relevance: 0
20294
20294
  },
@@ -20302,7 +20302,7 @@ function Zg() {
20302
20302
  keywords: s,
20303
20303
  relevance: 0,
20304
20304
  contains: [
20305
- O,
20305
+ y,
20306
20306
  d,
20307
20307
  e.C_BLOCK_COMMENT_MODE
20308
20308
  ]
@@ -21316,7 +21316,7 @@ function eE() {
21316
21316
  begin: "'(" + S + "|.)",
21317
21317
  end: "'",
21318
21318
  illegal: "."
21319
- }, O = {
21319
+ }, y = {
21320
21320
  className: "string",
21321
21321
  begin: '"',
21322
21322
  contains: [{
@@ -21324,7 +21324,7 @@ function eE() {
21324
21324
  relevance: 0
21325
21325
  }],
21326
21326
  end: '"[cwd]?'
21327
- }, y = {
21327
+ }, O = {
21328
21328
  className: "string",
21329
21329
  begin: '[rq]"',
21330
21330
  end: '"[cwd]?',
@@ -21346,12 +21346,12 @@ function eE() {
21346
21346
  begin: "^#!",
21347
21347
  end: "$",
21348
21348
  relevance: 5
21349
- }, L = {
21349
+ }, M = {
21350
21350
  className: "meta",
21351
21351
  begin: "#(line)",
21352
21352
  end: "$",
21353
21353
  relevance: 5
21354
- }, G = {
21354
+ }, k = {
21355
21355
  className: "keyword",
21356
21356
  begin: "@[a-zA-Z_][a-zA-Z_\\d]*"
21357
21357
  }, j = e.COMMENT(
@@ -21370,16 +21370,16 @@ function eE() {
21370
21370
  e.C_BLOCK_COMMENT_MODE,
21371
21371
  j,
21372
21372
  D,
21373
- O,
21374
21373
  y,
21374
+ O,
21375
21375
  I,
21376
21376
  A,
21377
21377
  f,
21378
21378
  b,
21379
21379
  h,
21380
21380
  w,
21381
- L,
21382
- G
21381
+ M,
21382
+ k
21383
21383
  ]
21384
21384
  };
21385
21385
  }
@@ -21549,8 +21549,8 @@ function tE() {
21549
21549
  p,
21550
21550
  E,
21551
21551
  S
21552
- ].forEach((O) => {
21553
- O.contains = O.contains.concat(b);
21552
+ ].forEach((y) => {
21553
+ y.contains = y.contains.concat(b);
21554
21554
  }), b = b.concat(u, p), {
21555
21555
  name: "Markdown",
21556
21556
  aliases: [
@@ -22884,7 +22884,7 @@ function mE() {
22884
22884
  )
22885
22885
  }
22886
22886
  ]
22887
- }, O = {
22887
+ }, y = {
22888
22888
  className: "string",
22889
22889
  contains: [
22890
22890
  e.BACKSLASH_ESCAPE,
@@ -22932,7 +22932,7 @@ function mE() {
22932
22932
  end: /"/
22933
22933
  }
22934
22934
  ]
22935
- }, y = {
22935
+ }, O = {
22936
22936
  className: "function",
22937
22937
  beginKeywords: "def defp defmacro defmacrop",
22938
22938
  end: /\B\b/,
@@ -22943,24 +22943,24 @@ function mE() {
22943
22943
  endsParent: !0
22944
22944
  })
22945
22945
  ]
22946
- }, I = e.inherit(y, {
22946
+ }, I = e.inherit(O, {
22947
22947
  className: "class",
22948
22948
  beginKeywords: "defimpl defmodule defprotocol defrecord",
22949
22949
  end: /\bdo\b|$|;/
22950
22950
  }), D = [
22951
- O,
22951
+ y,
22952
22952
  N,
22953
22953
  h,
22954
22954
  f,
22955
22955
  e.HASH_COMMENT_MODE,
22956
22956
  I,
22957
- y,
22957
+ O,
22958
22958
  { begin: "::" },
22959
22959
  {
22960
22960
  className: "symbol",
22961
22961
  begin: ":(?![\\s:])",
22962
22962
  contains: [
22963
- O,
22963
+ y,
22964
22964
  { begin: n }
22965
22965
  ],
22966
22966
  relevance: 0
@@ -23701,7 +23701,7 @@ function bE() {
23701
23701
  S
23702
23702
  ];
23703
23703
  c.contains[1].contains = N, d.contains = N, E.contains[1].contains = N;
23704
- const O = [
23704
+ const y = [
23705
23705
  "-module",
23706
23706
  "-record",
23707
23707
  "-undef",
@@ -23726,7 +23726,7 @@ function bE() {
23726
23726
  "-spec",
23727
23727
  "-on_load",
23728
23728
  "-nifs"
23729
- ], y = {
23729
+ ], O = {
23730
23730
  className: "params",
23731
23731
  begin: "\\(",
23732
23732
  end: "\\)",
@@ -23745,7 +23745,7 @@ function bE() {
23745
23745
  returnBegin: !0,
23746
23746
  illegal: "\\(|#|//|/\\*|\\\\|:|;",
23747
23747
  contains: [
23748
- y,
23748
+ O,
23749
23749
  e.inherit(e.TITLE_MODE, { begin: t })
23750
23750
  ],
23751
23751
  starts: {
@@ -23763,10 +23763,10 @@ function bE() {
23763
23763
  returnBegin: !0,
23764
23764
  keywords: {
23765
23765
  $pattern: "-" + e.IDENT_RE,
23766
- keyword: O.map((I) => `${I}|1.5`).join(" ")
23766
+ keyword: y.map((I) => `${I}|1.5`).join(" ")
23767
23767
  },
23768
23768
  contains: [
23769
- y,
23769
+ O,
23770
23770
  f,
23771
23771
  b,
23772
23772
  e.QUOTE_STRING_MODE
@@ -25239,7 +25239,7 @@ function RE() {
25239
25239
  }),
25240
25240
  s.C_LINE_COMMENT_MODE
25241
25241
  ]
25242
- }, O = /[a-zA-Z_](\w|')*/, y = {
25242
+ }, y = /[a-zA-Z_](\w|')*/, O = {
25243
25243
  scope: "variable",
25244
25244
  begin: /``/,
25245
25245
  end: /``/
@@ -25280,7 +25280,7 @@ function RE() {
25280
25280
  // A single $ can be used as an operator
25281
25281
  relevance: 0
25282
25282
  };
25283
- }, w = A({ includeEqual: !0 }), L = A({ includeEqual: !1 }), G = function(xe, Ge) {
25283
+ }, w = A({ includeEqual: !0 }), M = A({ includeEqual: !1 }), k = function(xe, Ge) {
25284
25284
  return {
25285
25285
  begin: a(
25286
25286
  // a type annotation is a
@@ -25329,18 +25329,18 @@ function RE() {
25329
25329
  contains: [
25330
25330
  N,
25331
25331
  D,
25332
- s.inherit(y, { scope: null }),
25332
+ s.inherit(O, { scope: null }),
25333
25333
  // match to avoid strange patterns inside that may break the parsing
25334
- L
25334
+ M
25335
25335
  ]
25336
25336
  };
25337
- }, j = G(/:/, "operator"), z = G(/\bof\b/, "keyword"), ee = {
25337
+ }, j = k(/:/, "operator"), z = k(/\bof\b/, "keyword"), ee = {
25338
25338
  begin: [
25339
25339
  /(^|\s+)/,
25340
25340
  // prevents matching the following: `match s.stype with`
25341
25341
  /type/,
25342
25342
  /\s+/,
25343
- O
25343
+ y
25344
25344
  ],
25345
25345
  beginScope: {
25346
25346
  2: "keyword",
@@ -25351,7 +25351,7 @@ function RE() {
25351
25351
  // match keywords in type constraints. e.g.: when 'a : null
25352
25352
  contains: [
25353
25353
  N,
25354
- s.inherit(y, { scope: null }),
25354
+ s.inherit(O, { scope: null }),
25355
25355
  // match to avoid strange patterns inside that may break the parsing
25356
25356
  D,
25357
25357
  {
@@ -25367,7 +25367,7 @@ function RE() {
25367
25367
  scope: "computation-expression",
25368
25368
  // BUG: might conflict with record deconstruction. e.g. let f { Name = name } = name // will highlight f
25369
25369
  match: /\b[_a-z]\w*(?=\s*\{)/
25370
- }, k = {
25370
+ }, U = {
25371
25371
  // preprocessor directives and fsi commands:
25372
25372
  begin: [
25373
25373
  /^\s*/,
@@ -25481,10 +25481,10 @@ function RE() {
25481
25481
  Ce,
25482
25482
  d,
25483
25483
  N,
25484
- y,
25484
+ O,
25485
25485
  j,
25486
25486
  J,
25487
- k,
25487
+ U,
25488
25488
  Y,
25489
25489
  D,
25490
25490
  w
@@ -25513,7 +25513,7 @@ function RE() {
25513
25513
  ]
25514
25514
  },
25515
25515
  N,
25516
- y,
25516
+ O,
25517
25517
  ee,
25518
25518
  {
25519
25519
  // e.g. [<Attributes("")>] or [<``module``: MyCustomAttributeThatWorksOnModules>]
@@ -25523,7 +25523,7 @@ function RE() {
25523
25523
  end: />\]/,
25524
25524
  relevance: 2,
25525
25525
  contains: [
25526
- y,
25526
+ O,
25527
25527
  // can contain any constant value
25528
25528
  _e,
25529
25529
  ae,
@@ -25535,7 +25535,7 @@ function RE() {
25535
25535
  z,
25536
25536
  j,
25537
25537
  J,
25538
- k,
25538
+ U,
25539
25539
  Y,
25540
25540
  D,
25541
25541
  w
@@ -30088,7 +30088,7 @@ function kE() {
30088
30088
  begin: /\w+/
30089
30089
  }
30090
30090
  ]
30091
- }, O = {
30091
+ }, y = {
30092
30092
  contains: [
30093
30093
  e.NUMBER_MODE,
30094
30094
  e.QUOTE_STRING_MODE,
@@ -30102,23 +30102,23 @@ function kE() {
30102
30102
  // the property "end" is defined through inheritance when the mode is used. If depends
30103
30103
  // on the surrounding mode, but "endsWithParent" does not work here (i.e. it includes the
30104
30104
  // end-token of the surrounding mode)
30105
- }, y = e.inherit(S, {
30105
+ }, O = e.inherit(S, {
30106
30106
  className: "name",
30107
30107
  keywords: a,
30108
- starts: e.inherit(O, { end: /\)/ })
30108
+ starts: e.inherit(y, { end: /\)/ })
30109
30109
  });
30110
- f.contains = [y];
30110
+ f.contains = [O];
30111
30111
  const I = e.inherit(S, {
30112
30112
  keywords: a,
30113
30113
  className: "name",
30114
- starts: e.inherit(O, { end: /\}\}/ })
30114
+ starts: e.inherit(y, { end: /\}\}/ })
30115
30115
  }), D = e.inherit(S, {
30116
30116
  keywords: a,
30117
30117
  className: "name"
30118
30118
  }), A = e.inherit(S, {
30119
30119
  className: "name",
30120
30120
  keywords: a,
30121
- starts: e.inherit(O, { end: /\}\}/ })
30121
+ starts: e.inherit(y, { end: /\}\}/ })
30122
30122
  });
30123
30123
  return {
30124
30124
  name: "Handlebars",
@@ -30733,7 +30733,7 @@ function YE() {
30733
30733
  keywords: n,
30734
30734
  begin: a,
30735
30735
  starts: h
30736
- }, O = [
30736
+ }, y = [
30737
30737
  f,
30738
30738
  c,
30739
30739
  E,
@@ -30749,7 +30749,7 @@ function YE() {
30749
30749
  e.COMMENT("comment", ""),
30750
30750
  N,
30751
30751
  h
30752
- ], h.contains = O, p.contains = O, {
30752
+ ], h.contains = y, p.contains = y, {
30753
30753
  name: "Hy",
30754
30754
  aliases: ["hylang"],
30755
30755
  illegal: /\S/,
@@ -31543,12 +31543,12 @@ function KE() {
31543
31543
  literal: t,
31544
31544
  built_in: s,
31545
31545
  "variable.language": o
31546
- }, N = "[0-9](_?[0-9])*", O = `\\.(${N})`, y = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", I = {
31546
+ }, N = "[0-9](_?[0-9])*", y = `\\.(${N})`, O = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", I = {
31547
31547
  className: "number",
31548
31548
  variants: [
31549
31549
  // DecimalLiteral
31550
- { begin: `(\\b(${y})((${O})|\\.)?|(${O}))[eE][+-]?(${N})\\b` },
31551
- { begin: `\\b(${y})\\b((${O})\\b|\\.)?|(${O})\\b` },
31550
+ { begin: `(\\b(${O})((${y})|\\.)?|(${y}))[eE][+-]?(${N})\\b` },
31551
+ { begin: `\\b(${O})\\b((${y})\\b|\\.)?|(${y})\\b` },
31552
31552
  // DecimalBigIntegerLiteral
31553
31553
  { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
31554
31554
  // NonDecimalIntegerLiteral
@@ -31591,7 +31591,7 @@ function KE() {
31591
31591
  ],
31592
31592
  subLanguage: "css"
31593
31593
  }
31594
- }, L = {
31594
+ }, M = {
31595
31595
  begin: ".?gql`",
31596
31596
  end: "",
31597
31597
  starts: {
@@ -31603,7 +31603,7 @@ function KE() {
31603
31603
  ],
31604
31604
  subLanguage: "graphql"
31605
31605
  }
31606
- }, G = {
31606
+ }, k = {
31607
31607
  className: "string",
31608
31608
  begin: "`",
31609
31609
  end: "`",
@@ -31661,8 +31661,8 @@ function KE() {
31661
31661
  d.QUOTE_STRING_MODE,
31662
31662
  A,
31663
31663
  w,
31664
- L,
31665
- G,
31664
+ M,
31665
+ k,
31666
31666
  // Skip numbers when they are part of a variable name
31667
31667
  { match: /\$\d+/ },
31668
31668
  I
@@ -31680,7 +31680,7 @@ function KE() {
31680
31680
  "self"
31681
31681
  ].concat(ee)
31682
31682
  });
31683
- const J = [].concat(z, D.contains), k = J.concat([
31683
+ const J = [].concat(z, D.contains), U = J.concat([
31684
31684
  // eat recursive parens in sub expressions
31685
31685
  {
31686
31686
  begin: /(\s*)\(/,
@@ -31697,7 +31697,7 @@ function KE() {
31697
31697
  excludeBegin: !0,
31698
31698
  excludeEnd: !0,
31699
31699
  keywords: h,
31700
- contains: k
31700
+ contains: U
31701
31701
  }, Q = {
31702
31702
  variants: [
31703
31703
  // class Car extends vehicle
@@ -31858,7 +31858,7 @@ function KE() {
31858
31858
  aliases: ["js", "jsx", "mjs", "cjs"],
31859
31859
  keywords: h,
31860
31860
  // this will be extended by TypeScript
31861
- exports: { PARAMS_CONTAINS: k, CLASS_REFERENCE: ae },
31861
+ exports: { PARAMS_CONTAINS: U, CLASS_REFERENCE: ae },
31862
31862
  illegal: /#(?![$_A-z])/,
31863
31863
  contains: [
31864
31864
  d.SHEBANG({
@@ -31871,8 +31871,8 @@ function KE() {
31871
31871
  d.QUOTE_STRING_MODE,
31872
31872
  A,
31873
31873
  w,
31874
- L,
31875
- G,
31874
+ M,
31875
+ k,
31876
31876
  z,
31877
31877
  // Skip numbers when they are part of a variable name
31878
31878
  { match: /\$\d+/ },
@@ -31919,7 +31919,7 @@ function KE() {
31919
31919
  excludeBegin: !0,
31920
31920
  excludeEnd: !0,
31921
31921
  keywords: h,
31922
- contains: k
31922
+ contains: U
31923
31923
  }
31924
31924
  ]
31925
31925
  }
@@ -33015,7 +33015,7 @@ function eS() {
33015
33015
  }, N = {
33016
33016
  begin: /\s+/,
33017
33017
  relevance: 0
33018
- }, O = [f], y = [h], I = function(z, ee) {
33018
+ }, y = [f], O = [h], I = function(z, ee) {
33019
33019
  return {
33020
33020
  contains: [N],
33021
33021
  starts: {
@@ -33045,7 +33045,7 @@ function eS() {
33045
33045
  },
33046
33046
  relevance: 0
33047
33047
  },
33048
- I(O, ee)
33048
+ I(y, ee)
33049
33049
  );
33050
33050
  }, w = (z = "string") => e.END_SAME_AS_BEGIN({
33051
33051
  className: z,
@@ -33054,12 +33054,12 @@ function eS() {
33054
33054
  excludeBegin: !0,
33055
33055
  excludeEnd: !0,
33056
33056
  endsParent: !0
33057
- }), L = function(z) {
33057
+ }), M = function(z) {
33058
33058
  return {
33059
33059
  className: "string",
33060
33060
  end: "(?=\\\\end\\{" + z + "\\})"
33061
33061
  };
33062
- }, G = (z = "string") => ({
33062
+ }, k = (z = "string") => ({
33063
33063
  relevance: 0,
33064
33064
  begin: /\{/,
33065
33065
  starts: {
@@ -33085,32 +33085,32 @@ function eS() {
33085
33085
  "verb",
33086
33086
  "lstinline"
33087
33087
  ].map((z) => D(z, { contains: [w()] })),
33088
- D("mint", I(O, { contains: [w()] })),
33089
- D("mintinline", I(O, { contains: [
33090
- G(),
33088
+ D("mint", I(y, { contains: [w()] })),
33089
+ D("mintinline", I(y, { contains: [
33090
+ k(),
33091
33091
  w()
33092
33092
  ] })),
33093
33093
  D("url", { contains: [
33094
- G("link"),
33095
- G("link")
33094
+ k("link"),
33095
+ k("link")
33096
33096
  ] }),
33097
- D("hyperref", { contains: [G("link")] }),
33098
- D("href", I(y, { contains: [G("link")] })),
33097
+ D("hyperref", { contains: [k("link")] }),
33098
+ D("href", I(O, { contains: [k("link")] })),
33099
33099
  ...[].concat(...[
33100
33100
  "",
33101
33101
  "\\*"
33102
33102
  ].map((z) => [
33103
- A("verbatim" + z, L("verbatim" + z)),
33104
- A("filecontents" + z, I(O, L("filecontents" + z))),
33103
+ A("verbatim" + z, M("verbatim" + z)),
33104
+ A("filecontents" + z, I(y, M("filecontents" + z))),
33105
33105
  ...[
33106
33106
  "",
33107
33107
  "B",
33108
33108
  "L"
33109
33109
  ].map(
33110
- (ee) => A(ee + "Verbatim" + z, I(y, L(ee + "Verbatim" + z)))
33110
+ (ee) => A(ee + "Verbatim" + z, I(O, M(ee + "Verbatim" + z)))
33111
33111
  )
33112
33112
  ])),
33113
- A("minted", I(y, I(O, L("minted"))))
33113
+ A("minted", I(O, I(y, M("minted"))))
33114
33114
  ];
33115
33115
  return {
33116
33116
  name: "LaTeX",
@@ -34042,16 +34042,16 @@ function aS() {
34042
34042
  "zoom"
34043
34043
  ].sort().reverse(), c = i.concat(o).sort().reverse();
34044
34044
  function d(u) {
34045
- const p = r(u), E = c, S = "and or not only", b = "[\\w-]+", f = "(" + b + "|@\\{" + b + "\\})", h = [], N = [], O = function(J) {
34045
+ const p = r(u), E = c, S = "and or not only", b = "[\\w-]+", f = "(" + b + "|@\\{" + b + "\\})", h = [], N = [], y = function(J) {
34046
34046
  return {
34047
34047
  // Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings)
34048
34048
  className: "string",
34049
34049
  begin: "~?" + J + ".*?" + J
34050
34050
  };
34051
- }, y = function(J, k, Y) {
34051
+ }, O = function(J, U, Y) {
34052
34052
  return {
34053
34053
  className: J,
34054
- begin: k,
34054
+ begin: U,
34055
34055
  relevance: Y
34056
34056
  };
34057
34057
  }, I = {
@@ -34069,8 +34069,8 @@ function aS() {
34069
34069
  N.push(
34070
34070
  u.C_LINE_COMMENT_MODE,
34071
34071
  u.C_BLOCK_COMMENT_MODE,
34072
- O("'"),
34073
- O('"'),
34072
+ y("'"),
34073
+ y('"'),
34074
34074
  p.CSS_NUMBER_MODE,
34075
34075
  // fixme: it does not include dot for numbers like .5em :(
34076
34076
  {
@@ -34083,9 +34083,9 @@ function aS() {
34083
34083
  },
34084
34084
  p.HEXCOLOR,
34085
34085
  D,
34086
- y("variable", "@@?" + b, 10),
34087
- y("variable", "@\\{" + b + "\\}"),
34088
- y("built_in", "~?`[^`]*?`"),
34086
+ O("variable", "@@?" + b, 10),
34087
+ O("variable", "@\\{" + b + "\\}"),
34088
+ O("built_in", "~?`[^`]*?`"),
34089
34089
  // inline javascript (or whatever host language) *multiline* string
34090
34090
  {
34091
34091
  // @media features (it’s here to not duplicate things in AT_RULE_MODE with extra PARENS_MODE overriding):
@@ -34108,7 +34108,7 @@ function aS() {
34108
34108
  endsWithParent: !0,
34109
34109
  contains: [{ beginKeywords: "and not" }].concat(N)
34110
34110
  // using this form to override VALUE’s 'function' match
34111
- }, L = {
34111
+ }, M = {
34112
34112
  begin: f + "\\s*:",
34113
34113
  returnBegin: !0,
34114
34114
  end: /[;}]/,
@@ -34128,7 +34128,7 @@ function aS() {
34128
34128
  }
34129
34129
  }
34130
34130
  ]
34131
- }, G = {
34131
+ }, k = {
34132
34132
  className: "keyword",
34133
34133
  begin: "@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",
34134
34134
  starts: {
@@ -34179,18 +34179,18 @@ function aS() {
34179
34179
  u.C_LINE_COMMENT_MODE,
34180
34180
  u.C_BLOCK_COMMENT_MODE,
34181
34181
  w,
34182
- y("keyword", "all\\b"),
34183
- y("variable", "@\\{" + b + "\\}"),
34182
+ O("keyword", "all\\b"),
34183
+ O("variable", "@\\{" + b + "\\}"),
34184
34184
  // otherwise it’s identified as tag
34185
34185
  {
34186
34186
  begin: "\\b(" + a.join("|") + ")\\b",
34187
34187
  className: "selector-tag"
34188
34188
  },
34189
34189
  p.CSS_NUMBER_MODE,
34190
- y("selector-tag", f, 0),
34191
- y("selector-id", "#" + f),
34192
- y("selector-class", "\\." + f, 0),
34193
- y("selector-tag", "&", 0),
34190
+ O("selector-tag", f, 0),
34191
+ O("selector-id", "#" + f),
34192
+ O("selector-class", "\\." + f, 0),
34193
+ O("selector-tag", "&", 0),
34194
34194
  p.ATTRIBUTE_SELECTOR_MODE,
34195
34195
  {
34196
34196
  className: "selector-pseudo",
@@ -34219,10 +34219,10 @@ function aS() {
34219
34219
  return h.push(
34220
34220
  u.C_LINE_COMMENT_MODE,
34221
34221
  u.C_BLOCK_COMMENT_MODE,
34222
- G,
34222
+ k,
34223
34223
  j,
34224
34224
  ee,
34225
- L,
34225
+ M,
34226
34226
  z,
34227
34227
  w,
34228
34228
  p.FUNCTION_DISPATCH
@@ -34735,7 +34735,7 @@ function oS() {
34735
34735
  contains: ["self"].concat(h)
34736
34736
  }
34737
34737
  ]
34738
- }, O = { begin: "(#=>|=>|\\|>>|-?->|!->)" }, y = {
34738
+ }, y = { begin: "(#=>|=>|\\|>>|-?->|!->)" }, O = {
34739
34739
  variants: [
34740
34740
  { match: [
34741
34741
  /class\s+/,
@@ -34762,7 +34762,7 @@ function oS() {
34762
34762
  contains: h.concat([
34763
34763
  s.COMMENT("\\/\\*", "\\*\\/"),
34764
34764
  s.HASH_COMMENT_MODE,
34765
- O,
34765
+ y,
34766
34766
  // relevance booster
34767
34767
  {
34768
34768
  className: "function",
@@ -34786,7 +34786,7 @@ function oS() {
34786
34786
  }
34787
34787
  ]
34788
34788
  },
34789
- y,
34789
+ O,
34790
34790
  {
34791
34791
  begin: E + ":",
34792
34792
  end: ":",
@@ -42332,8 +42332,8 @@ function dS() {
42332
42332
  className: "builtin-symbol",
42333
42333
  begin: b,
42334
42334
  // for performance out of fear of regex.either(...Mathematica.SYSTEM_SYMBOLS)
42335
- "on:begin": (w, L) => {
42336
- f.has(w[0]) || L.ignoreMatch();
42335
+ "on:begin": (w, M) => {
42336
+ f.has(w[0]) || M.ignoreMatch();
42337
42337
  }
42338
42338
  },
42339
42339
  {
@@ -42344,11 +42344,11 @@ function dS() {
42344
42344
  ] }, N = {
42345
42345
  className: "named-character",
42346
42346
  begin: /\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/
42347
- }, O = {
42347
+ }, y = {
42348
42348
  className: "operator",
42349
42349
  relevance: 0,
42350
42350
  begin: /[+\-*/,;.:@~=><&|_`'^?!%]+/
42351
- }, y = {
42351
+ }, O = {
42352
42352
  className: "pattern",
42353
42353
  relevance: 0,
42354
42354
  begin: /([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/
@@ -42382,14 +42382,14 @@ function dS() {
42382
42382
  },
42383
42383
  contains: [
42384
42384
  t.COMMENT(/\(\*/, /\*\)/, { contains: ["self"] }),
42385
- y,
42385
+ O,
42386
42386
  I,
42387
42387
  A,
42388
42388
  h,
42389
42389
  N,
42390
42390
  t.QUOTE_STRING_MODE,
42391
42391
  S,
42392
- O,
42392
+ y,
42393
42393
  D
42394
42394
  ]
42395
42395
  };
@@ -43027,22 +43027,22 @@ function bS() {
43027
43027
  // valid but infrequent and weird
43028
43028
  /#/
43029
43029
  // valid but infrequent and weird
43030
- ], S = (h, N, O = "\\1") => {
43031
- const y = O === "\\1" ? O : t.concat(O, N);
43030
+ ], S = (h, N, y = "\\1") => {
43031
+ const O = y === "\\1" ? y : t.concat(y, N);
43032
43032
  return t.concat(
43033
43033
  t.concat("(?:", h, ")"),
43034
43034
  N,
43035
43035
  /(?:\\.|[^\\\/])*?/,
43036
- y,
43037
- /(?:\\.|[^\\\/])*?/,
43038
43036
  O,
43037
+ /(?:\\.|[^\\\/])*?/,
43038
+ y,
43039
43039
  n
43040
43040
  );
43041
- }, b = (h, N, O) => t.concat(
43041
+ }, b = (h, N, y) => t.concat(
43042
43042
  t.concat("(?:", h, ")"),
43043
43043
  N,
43044
43044
  /(?:\\.|[^\\\/])*?/,
43045
- O,
43045
+ y,
43046
43046
  n
43047
43047
  ), f = [
43048
43048
  d,
@@ -44531,10 +44531,10 @@ function OS() {
44531
44531
  }, N = {
44532
44532
  scope: "char.escape",
44533
44533
  match: /'''/
44534
- }, O = {
44534
+ }, y = {
44535
44535
  scope: "char.escape",
44536
44536
  match: /\\(?!\$)./
44537
- }, y = {
44537
+ }, O = {
44538
44538
  scope: "string",
44539
44539
  variants: [
44540
44540
  {
@@ -44544,7 +44544,7 @@ function OS() {
44544
44544
  f,
44545
44545
  h,
44546
44546
  N,
44547
- O
44547
+ y
44548
44548
  ]
44549
44549
  },
44550
44550
  {
@@ -44553,7 +44553,7 @@ function OS() {
44553
44553
  contains: [
44554
44554
  b,
44555
44555
  h,
44556
- O
44556
+ y
44557
44557
  ]
44558
44558
  }
44559
44559
  ]
@@ -44573,7 +44573,7 @@ function OS() {
44573
44573
  }
44574
44574
  ),
44575
44575
  n,
44576
- y,
44576
+ O,
44577
44577
  o,
44578
44578
  c,
44579
44579
  I,
@@ -45105,7 +45105,7 @@ function AS() {
45105
45105
  1: "keyword",
45106
45106
  3: "title.function"
45107
45107
  }
45108
- }, y = {
45108
+ }, O = {
45109
45109
  match: [
45110
45110
  /Var/,
45111
45111
  /\s+/,
@@ -45133,7 +45133,7 @@ function AS() {
45133
45133
  "$",
45134
45134
  { relevance: 0 }
45135
45135
  ),
45136
- y,
45136
+ O,
45137
45137
  N,
45138
45138
  { beginKeywords: "Function PageEx Section SectionGroup FunctionEnd SectionEnd" },
45139
45139
  b,
@@ -46029,7 +46029,7 @@ function kS() {
46029
46029
  "false",
46030
46030
  "null",
46031
46031
  "true"
46032
- ], O = [
46032
+ ], y = [
46033
46033
  // Magic constants:
46034
46034
  // <https://www.php.net/manual/en/language.constants.predefined.php>
46035
46035
  "__CLASS__",
@@ -46129,7 +46129,7 @@ function kS() {
46129
46129
  "while",
46130
46130
  "xor",
46131
46131
  "yield"
46132
- ], y = [
46132
+ ], O = [
46133
46133
  // Standard PHP library:
46134
46134
  // <https://www.php.net/manual/en/book.spl.php>
46135
46135
  "Error|0",
@@ -46225,21 +46225,21 @@ function kS() {
46225
46225
  "static",
46226
46226
  "stdClass"
46227
46227
  ], D = {
46228
- keyword: O,
46228
+ keyword: y,
46229
46229
  literal: ((Y) => {
46230
46230
  const Q = [];
46231
46231
  return Y.forEach((ae) => {
46232
46232
  Q.push(ae), ae.toLowerCase() === ae ? Q.push(ae.toUpperCase()) : Q.push(ae.toLowerCase());
46233
46233
  }), Q;
46234
46234
  })(N),
46235
- built_in: y
46235
+ built_in: O
46236
46236
  }, A = (Y) => Y.map((Q) => Q.replace(/\|\d+$/, "")), w = { variants: [
46237
46237
  {
46238
46238
  match: [
46239
46239
  /new/,
46240
46240
  t.concat(b, "+"),
46241
46241
  // to prevent built ins from being confused as the class constructor call
46242
- t.concat("(?!", A(y).join("\\b|"), "\\b)"),
46242
+ t.concat("(?!", A(O).join("\\b|"), "\\b)"),
46243
46243
  i
46244
46244
  ],
46245
46245
  scope: {
@@ -46247,14 +46247,14 @@ function kS() {
46247
46247
  4: "title.class"
46248
46248
  }
46249
46249
  }
46250
- ] }, L = t.concat(n, "\\b(?!\\()"), G = { variants: [
46250
+ ] }, M = t.concat(n, "\\b(?!\\()"), k = { variants: [
46251
46251
  {
46252
46252
  match: [
46253
46253
  t.concat(
46254
46254
  /::/,
46255
46255
  t.lookahead(/(?!class\b)/)
46256
46256
  ),
46257
- L
46257
+ M
46258
46258
  ],
46259
46259
  scope: { 2: "variable.constant" }
46260
46260
  },
@@ -46272,7 +46272,7 @@ function kS() {
46272
46272
  /::/,
46273
46273
  t.lookahead(/(?!class\b)/)
46274
46274
  ),
46275
- L
46275
+ M
46276
46276
  ],
46277
46277
  scope: {
46278
46278
  1: "title.class",
@@ -46311,7 +46311,7 @@ function kS() {
46311
46311
  contains: [
46312
46312
  j,
46313
46313
  s,
46314
- G,
46314
+ k,
46315
46315
  e.C_BLOCK_COMMENT_MODE,
46316
46316
  f,
46317
46317
  h,
@@ -46322,7 +46322,7 @@ function kS() {
46322
46322
  match: [
46323
46323
  /\b/,
46324
46324
  // to prevent keywords from being confused as the function title
46325
- t.concat("(?!fn\\b|function\\b|", A(O).join("\\b|"), "|", A(y).join("\\b|"), "\\b)"),
46325
+ t.concat("(?!fn\\b|function\\b|", A(y).join("\\b|"), "|", A(O).join("\\b|"), "\\b)"),
46326
46326
  n,
46327
46327
  t.concat(b, "*"),
46328
46328
  t.lookahead(/(?=\()/)
@@ -46333,12 +46333,12 @@ function kS() {
46333
46333
  z.contains.push(ee);
46334
46334
  const J = [
46335
46335
  j,
46336
- G,
46336
+ k,
46337
46337
  e.C_BLOCK_COMMENT_MODE,
46338
46338
  f,
46339
46339
  h,
46340
46340
  w
46341
- ], k = {
46341
+ ], U = {
46342
46342
  begin: t.concat(
46343
46343
  /#\[\s*\\?/,
46344
46344
  t.either(
@@ -46386,7 +46386,7 @@ function kS() {
46386
46386
  case_insensitive: !1,
46387
46387
  keywords: D,
46388
46388
  contains: [
46389
- k,
46389
+ U,
46390
46390
  e.HASH_COMMENT_MODE,
46391
46391
  e.COMMENT("//", "$"),
46392
46392
  e.COMMENT(
@@ -46421,7 +46421,7 @@ function kS() {
46421
46421
  },
46422
46422
  s,
46423
46423
  ee,
46424
- G,
46424
+ k,
46425
46425
  {
46426
46426
  match: [
46427
46427
  /const/,
@@ -46458,9 +46458,9 @@ function kS() {
46458
46458
  keywords: D,
46459
46459
  contains: [
46460
46460
  "self",
46461
- k,
46461
+ U,
46462
46462
  s,
46463
- G,
46463
+ k,
46464
46464
  e.C_BLOCK_COMMENT_MODE,
46465
46465
  f,
46466
46466
  h
@@ -46788,7 +46788,7 @@ function GS() {
46788
46788
  begin: /(using|assembly|command|module|namespace|type)/
46789
46789
  }
46790
46790
  ]
46791
- }, O = { variants: [
46791
+ }, y = { variants: [
46792
46792
  // PS literals are pretty verbose so it's a good idea to accent them a bit.
46793
46793
  {
46794
46794
  className: "operator",
@@ -46799,7 +46799,7 @@ function GS() {
46799
46799
  begin: /(-){1,2}[\w\d-]+/,
46800
46800
  relevance: 0
46801
46801
  }
46802
- ] }, y = {
46802
+ ] }, O = {
46803
46803
  className: "selector-tag",
46804
46804
  begin: /@\B/,
46805
46805
  relevance: 0
@@ -46836,7 +46836,7 @@ function GS() {
46836
46836
  b,
46837
46837
  c,
46838
46838
  d,
46839
- y
46839
+ O
46840
46840
  ], A = {
46841
46841
  begin: /\[/,
46842
46842
  end: /\]/,
@@ -46871,7 +46871,7 @@ function GS() {
46871
46871
  f,
46872
46872
  h,
46873
46873
  N,
46874
- O,
46874
+ y,
46875
46875
  A
46876
46876
  )
46877
46877
  };
@@ -48001,7 +48001,7 @@ function $S() {
48001
48001
  endsWithParent: !0
48002
48002
  }
48003
48003
  ]
48004
- }, O = {
48004
+ }, y = {
48005
48005
  className: "params",
48006
48006
  variants: [
48007
48007
  // Exclude params in functions without params
@@ -48068,7 +48068,7 @@ function $S() {
48068
48068
  1: "keyword",
48069
48069
  3: "title.function"
48070
48070
  },
48071
- contains: [O]
48071
+ contains: [y]
48072
48072
  },
48073
48073
  {
48074
48074
  variants: [
@@ -48103,7 +48103,7 @@ function $S() {
48103
48103
  end: /(?=#)|$/,
48104
48104
  contains: [
48105
48105
  h,
48106
- O,
48106
+ y,
48107
48107
  E
48108
48108
  ]
48109
48109
  }
@@ -54659,12 +54659,12 @@ function Eb() {
54659
54659
  scope: "operator",
54660
54660
  match: /[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,
54661
54661
  relevance: 0
54662
- }, O = {
54662
+ }, y = {
54663
54663
  match: t.concat(/\b/, t.either(...b), /\s*\(/),
54664
54664
  relevance: 0,
54665
54665
  keywords: { built_in: b }
54666
54666
  };
54667
- function y(A) {
54667
+ function O(A) {
54668
54668
  return t.concat(
54669
54669
  /\b/,
54670
54670
  t.either(...A.map((w) => w.replace(/\s+/, "\\s+"))),
@@ -54673,15 +54673,15 @@ function Eb() {
54673
54673
  }
54674
54674
  const I = {
54675
54675
  scope: "keyword",
54676
- match: y(S),
54676
+ match: O(S),
54677
54677
  relevance: 0
54678
54678
  };
54679
54679
  function D(A, {
54680
54680
  exceptions: w,
54681
- when: L
54681
+ when: M
54682
54682
  } = {}) {
54683
- const G = L;
54684
- return w = w || [], A.map((j) => j.match(/\|\d+$/) || w.includes(j) ? j : G(j) ? `${j}|0` : j);
54683
+ const k = M;
54684
+ return w = w || [], A.map((j) => j.match(/\|\d+$/) || w.includes(j) ? j : k(j) ? `${j}|0` : j);
54685
54685
  }
54686
54686
  return {
54687
54687
  name: "SQL",
@@ -54698,10 +54698,10 @@ function Eb() {
54698
54698
  contains: [
54699
54699
  {
54700
54700
  scope: "type",
54701
- match: y(s)
54701
+ match: O(s)
54702
54702
  },
54703
54703
  I,
54704
- O,
54704
+ y,
54705
54705
  h,
54706
54706
  n,
54707
54707
  i,
@@ -56312,26 +56312,26 @@ var Es, Du;
56312
56312
  function vb() {
56313
56313
  if (Du) return Es;
56314
56314
  Du = 1;
56315
- function r(L) {
56316
- return L ? typeof L == "string" ? L : L.source : null;
56315
+ function r(M) {
56316
+ return M ? typeof M == "string" ? M : M.source : null;
56317
56317
  }
56318
- function e(L) {
56319
- return t("(?=", L, ")");
56318
+ function e(M) {
56319
+ return t("(?=", M, ")");
56320
56320
  }
56321
- function t(...L) {
56322
- return L.map((j) => r(j)).join("");
56321
+ function t(...M) {
56322
+ return M.map((j) => r(j)).join("");
56323
56323
  }
56324
- function a(L) {
56325
- const G = L[L.length - 1];
56326
- return typeof G == "object" && G.constructor === Object ? (L.splice(L.length - 1, 1), G) : {};
56324
+ function a(M) {
56325
+ const k = M[M.length - 1];
56326
+ return typeof k == "object" && k.constructor === Object ? (M.splice(M.length - 1, 1), k) : {};
56327
56327
  }
56328
- function n(...L) {
56329
- return "(" + (a(L).capture ? "" : "?:") + L.map((z) => r(z)).join("|") + ")";
56328
+ function n(...M) {
56329
+ return "(" + (a(M).capture ? "" : "?:") + M.map((z) => r(z)).join("|") + ")";
56330
56330
  }
56331
- const i = (L) => t(
56331
+ const i = (M) => t(
56332
56332
  /\b/,
56333
- L,
56334
- /\w$/.test(L) ? /\b/ : /\B/
56333
+ M,
56334
+ /\w$/.test(M) ? /\b/ : /\B/
56335
56335
  ), o = [
56336
56336
  "Protocol",
56337
56337
  // contextual
@@ -56592,11 +56592,11 @@ function vb() {
56592
56592
  // /[\u{50000}-\u{5FFFD}\u{60000-\u{6FFFD}\u{70000}-\u{7FFFD}\u{80000}-\u{8FFFD}]/u,
56593
56593
  // /[\u{90000}-\u{9FFFD}\u{A0000-\u{AFFFD}\u{B0000}-\u{BFFFD}\u{C0000}-\u{CFFFD}]/u,
56594
56594
  // /[\u{D0000}-\u{DFFFD}\u{E0000-\u{EFFFD}]/u
56595
- ), O = n(
56595
+ ), y = n(
56596
56596
  N,
56597
56597
  /\d/,
56598
56598
  /[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/
56599
- ), y = t(N, O, "*"), I = t(/[A-Z]/, O, "*"), D = [
56599
+ ), O = t(N, y, "*"), I = t(/[A-Z]/, y, "*"), D = [
56600
56600
  "attached",
56601
56601
  "autoclosure",
56602
56602
  t(/convention\(/, n("swift", "block", "c"), /\)/),
@@ -56618,7 +56618,7 @@ function vb() {
56618
56618
  "NSApplicationMain",
56619
56619
  "NSCopying",
56620
56620
  "NSManaged",
56621
- t(/objc\(/, y, /\)/),
56621
+ t(/objc\(/, O, /\)/),
56622
56622
  "objc",
56623
56623
  "objcMembers",
56624
56624
  "propertyWrapper",
@@ -56644,16 +56644,16 @@ function vb() {
56644
56644
  "tvOSApplicationExtension",
56645
56645
  "swift"
56646
56646
  ];
56647
- function w(L) {
56648
- const G = {
56647
+ function w(M) {
56648
+ const k = {
56649
56649
  match: /\s+/,
56650
56650
  relevance: 0
56651
- }, j = L.COMMENT(
56651
+ }, j = M.COMMENT(
56652
56652
  "/\\*",
56653
56653
  "\\*/",
56654
56654
  { contains: ["self"] }
56655
56655
  ), z = [
56656
- L.C_LINE_COMMENT_MODE,
56656
+ M.C_LINE_COMMENT_MODE,
56657
56657
  j
56658
56658
  ], ee = {
56659
56659
  match: [
@@ -56665,7 +56665,7 @@ function vb() {
56665
56665
  // Consume .keyword to prevent highlighting properties and methods as keywords.
56666
56666
  match: t(/\./, n(...d)),
56667
56667
  relevance: 0
56668
- }, k = d.filter((Te) => typeof Te == "string").concat(["_|0"]), Y = d.filter((Te) => typeof Te != "string").concat(c).map(i), Q = { variants: [
56668
+ }, U = d.filter((Te) => typeof Te == "string").concat(["_|0"]), Y = d.filter((Te) => typeof Te != "string").concat(c).map(i), Q = { variants: [
56669
56669
  {
56670
56670
  className: "keyword",
56671
56671
  match: n(...Y, ...s)
@@ -56677,7 +56677,7 @@ function vb() {
56677
56677
  /#\w+/
56678
56678
  // number keywords
56679
56679
  ),
56680
- keyword: k.concat(E),
56680
+ keyword: U.concat(E),
56681
56681
  literal: u
56682
56682
  }, _e = [
56683
56683
  ee,
@@ -56767,12 +56767,12 @@ function vb() {
56767
56767
  We("###")
56768
56768
  ]
56769
56769
  }, vt = [
56770
- L.BACKSLASH_ESCAPE,
56770
+ M.BACKSLASH_ESCAPE,
56771
56771
  {
56772
56772
  begin: /\[/,
56773
56773
  end: /\]/,
56774
56774
  relevance: 0,
56775
- contains: [L.BACKSLASH_ESCAPE]
56775
+ contains: [M.BACKSLASH_ESCAPE]
56776
56776
  }
56777
56777
  ], gr = {
56778
56778
  begin: /\/[^\s](?=[^/\n]*\/)/,
@@ -56800,12 +56800,12 @@ function vb() {
56800
56800
  $t("#"),
56801
56801
  gr
56802
56802
  ]
56803
- }, Qt = { match: t(/`/, y, /`/) }, or = {
56803
+ }, Qt = { match: t(/`/, O, /`/) }, or = {
56804
56804
  className: "variable",
56805
56805
  match: /\$\d+/
56806
56806
  }, Rt = {
56807
56807
  className: "variable",
56808
- match: `\\$${O}+`
56808
+ match: `\\$${y}+`
56809
56809
  }, Xt = [
56810
56810
  Qt,
56811
56811
  or,
@@ -56830,7 +56830,7 @@ function vb() {
56830
56830
  match: t(/@/, n(...D), e(n(/\(/, /\s+/)))
56831
56831
  }, _t = {
56832
56832
  scope: "meta",
56833
- match: t(/@/, y)
56833
+ match: t(/@/, O)
56834
56834
  }, Tt = [
56835
56835
  Er,
56836
56836
  Mt,
@@ -56842,7 +56842,7 @@ function vb() {
56842
56842
  {
56843
56843
  // Common Apple frameworks, for relevance boost
56844
56844
  className: "type",
56845
- match: t(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, O, "+")
56845
+ match: t(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, y, "+")
56846
56846
  },
56847
56847
  {
56848
56848
  // Type identifier
@@ -56880,7 +56880,7 @@ function vb() {
56880
56880
  };
56881
56881
  tt.contains.push(Lt);
56882
56882
  const Ct = {
56883
- match: t(y, /\s*:/),
56883
+ match: t(O, /\s*:/),
56884
56884
  keywords: "_|0",
56885
56885
  relevance: 0
56886
56886
  }, Nt = {
@@ -56912,8 +56912,8 @@ function vb() {
56912
56912
  ]
56913
56913
  }, Qr = {
56914
56914
  begin: n(
56915
- e(t(y, /\s*:/)),
56916
- e(t(y, /\s+/, y, /\s*:/))
56915
+ e(t(O, /\s*:/)),
56916
+ e(t(O, /\s+/, O, /\s*:/))
56917
56917
  ),
56918
56918
  end: /:/,
56919
56919
  relevance: 0,
@@ -56924,7 +56924,7 @@ function vb() {
56924
56924
  },
56925
56925
  {
56926
56926
  className: "params",
56927
- match: y
56927
+ match: O
56928
56928
  }
56929
56929
  ]
56930
56930
  }, Dr = {
@@ -56948,7 +56948,7 @@ function vb() {
56948
56948
  match: [
56949
56949
  /(func|macro)/,
56950
56950
  /\s+/,
56951
- n(Qt.match, y, h)
56951
+ n(Qt.match, O, h)
56952
56952
  ],
56953
56953
  className: {
56954
56954
  1: "keyword",
@@ -56957,7 +56957,7 @@ function vb() {
56957
56957
  contains: [
56958
56958
  Sr,
56959
56959
  Dr,
56960
- G
56960
+ k
56961
56961
  ],
56962
56962
  illegal: [
56963
56963
  /\[/,
@@ -56972,7 +56972,7 @@ function vb() {
56972
56972
  contains: [
56973
56973
  Sr,
56974
56974
  Dr,
56975
- G
56975
+ k
56976
56976
  ],
56977
56977
  illegal: /\[|%/
56978
56978
  }, Zr = {
@@ -57028,7 +57028,7 @@ function vb() {
57028
57028
  begin: [
57029
57029
  /(struct|protocol|class|extension|enum|actor)/,
57030
57030
  /\s+/,
57031
- y,
57031
+ O,
57032
57032
  /\s*/
57033
57033
  ],
57034
57034
  beginScope: {
@@ -57332,8 +57332,8 @@ function Cb() {
57332
57332
  h,
57333
57333
  o,
57334
57334
  s
57335
- ], O = [...N];
57336
- return O.pop(), O.push(c), b.contains = O, {
57335
+ ], y = [...N];
57336
+ return y.pop(), y.push(c), b.contains = y, {
57337
57337
  name: "YAML",
57338
57338
  case_insensitive: !0,
57339
57339
  aliases: ["yml"],
@@ -58228,12 +58228,12 @@ function Db() {
58228
58228
  literal: t,
58229
58229
  built_in: s,
58230
58230
  "variable.language": o
58231
- }, O = "[0-9](_?[0-9])*", y = `\\.(${O})`, I = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", D = {
58231
+ }, y = "[0-9](_?[0-9])*", O = `\\.(${y})`, I = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", D = {
58232
58232
  className: "number",
58233
58233
  variants: [
58234
58234
  // DecimalLiteral
58235
- { begin: `(\\b(${I})((${y})|\\.)?|(${y}))[eE][+-]?(${O})\\b` },
58236
- { begin: `\\b(${I})\\b((${y})\\b|\\.)?|(${y})\\b` },
58235
+ { begin: `(\\b(${I})((${O})|\\.)?|(${O}))[eE][+-]?(${y})\\b` },
58236
+ { begin: `\\b(${I})\\b((${O})\\b|\\.)?|(${O})\\b` },
58237
58237
  // DecimalBigIntegerLiteral
58238
58238
  { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
58239
58239
  // NonDecimalIntegerLiteral
@@ -58264,7 +58264,7 @@ function Db() {
58264
58264
  ],
58265
58265
  subLanguage: "xml"
58266
58266
  }
58267
- }, L = {
58267
+ }, M = {
58268
58268
  begin: ".?css`",
58269
58269
  end: "",
58270
58270
  starts: {
@@ -58276,7 +58276,7 @@ function Db() {
58276
58276
  ],
58277
58277
  subLanguage: "css"
58278
58278
  }
58279
- }, G = {
58279
+ }, k = {
58280
58280
  begin: ".?gql`",
58281
58281
  end: "",
58282
58282
  starts: {
@@ -58345,8 +58345,8 @@ function Db() {
58345
58345
  u.APOS_STRING_MODE,
58346
58346
  u.QUOTE_STRING_MODE,
58347
58347
  w,
58348
- L,
58349
- G,
58348
+ M,
58349
+ k,
58350
58350
  j,
58351
58351
  // Skip numbers when they are part of a variable name
58352
58352
  { match: /\$\d+/ },
@@ -58365,13 +58365,13 @@ function Db() {
58365
58365
  "self"
58366
58366
  ].concat(J)
58367
58367
  });
58368
- const k = [].concat(ee, A.contains), Y = k.concat([
58368
+ const U = [].concat(ee, A.contains), Y = U.concat([
58369
58369
  // eat recursive parens in sub expressions
58370
58370
  {
58371
58371
  begin: /(\s*)\(/,
58372
58372
  end: /\)/,
58373
58373
  keywords: N,
58374
- contains: ["self"].concat(k)
58374
+ contains: ["self"].concat(U)
58375
58375
  }
58376
58376
  ]), Q = {
58377
58377
  className: "params",
@@ -58555,8 +58555,8 @@ function Db() {
58555
58555
  u.APOS_STRING_MODE,
58556
58556
  u.QUOTE_STRING_MODE,
58557
58557
  w,
58558
- L,
58559
- G,
58558
+ M,
58559
+ k,
58560
58560
  j,
58561
58561
  ee,
58562
58562
  // Skip numbers when they are part of a variable name
@@ -58727,7 +58727,7 @@ function Db() {
58727
58727
  className: "meta",
58728
58728
  relevance: 10,
58729
58729
  begin: /^\s*['"]use strict['"]/
58730
- }, O = [
58730
+ }, y = [
58731
58731
  "type",
58732
58732
  // "namespace",
58733
58733
  "interface",
@@ -58741,23 +58741,23 @@ function Db() {
58741
58741
  "enum",
58742
58742
  "override",
58743
58743
  "satisfies"
58744
- ], y = {
58744
+ ], O = {
58745
58745
  $pattern: r,
58746
- keyword: e.concat(O),
58746
+ keyword: e.concat(y),
58747
58747
  literal: t,
58748
58748
  built_in: s.concat(b),
58749
58749
  "variable.language": o
58750
58750
  }, I = {
58751
58751
  className: "meta",
58752
58752
  begin: "@" + S
58753
- }, D = (G, j, z) => {
58754
- const ee = G.contains.findIndex((J) => J.label === j);
58753
+ }, D = (k, j, z) => {
58754
+ const ee = k.contains.findIndex((J) => J.label === j);
58755
58755
  if (ee === -1)
58756
58756
  throw new Error("can not find mode to replace");
58757
- G.contains.splice(ee, 1, z);
58757
+ k.contains.splice(ee, 1, z);
58758
58758
  };
58759
- Object.assign(E.keywords, y), E.exports.PARAMS_CONTAINS.push(I);
58760
- const A = E.contains.find((G) => G.scope === "attr"), w = Object.assign(
58759
+ Object.assign(E.keywords, O), E.exports.PARAMS_CONTAINS.push(I);
58760
+ const A = E.contains.find((k) => k.scope === "attr"), w = Object.assign(
58761
58761
  {},
58762
58762
  A,
58763
58763
  { match: p.concat(S, p.lookahead(/\s*\?:/)) }
@@ -58776,8 +58776,8 @@ function Db() {
58776
58776
  w
58777
58777
  // Added for optional property assignment highlighting
58778
58778
  ]), D(E, "shebang", u.SHEBANG()), D(E, "use_strict", N);
58779
- const L = E.contains.find((G) => G.label === "func.def");
58780
- return L.relevance = 0, Object.assign(E, {
58779
+ const M = E.contains.find((k) => k.label === "func.def");
58780
+ return M.relevance = 0, Object.assign(E, {
58781
58781
  name: "TypeScript",
58782
58782
  aliases: [
58783
58783
  "ts",
@@ -60249,7 +60249,7 @@ function Fb() {
60249
60249
  match: /\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,
60250
60250
  scope: "title.class",
60251
60251
  keywords: { _: s }
60252
- }, N = e.C_NUMBER_MODE, O = {
60252
+ }, N = e.C_NUMBER_MODE, y = {
60253
60253
  match: [
60254
60254
  a,
60255
60255
  /\s*/,
@@ -60264,7 +60264,7 @@ function Fb() {
60264
60264
  3: "operator",
60265
60265
  6: "params"
60266
60266
  }
60267
- }, y = e.COMMENT(
60267
+ }, O = e.COMMENT(
60268
60268
  /\/\*\*/,
60269
60269
  /\*\//,
60270
60270
  { contains: [
@@ -60359,12 +60359,12 @@ function Fb() {
60359
60359
  N,
60360
60360
  D,
60361
60361
  S,
60362
- y,
60362
+ O,
60363
60363
  e.C_LINE_COMMENT_MODE,
60364
60364
  e.C_BLOCK_COMMENT_MODE,
60365
60365
  h,
60366
60366
  p,
60367
- O,
60367
+ y,
60368
60368
  u,
60369
60369
  d,
60370
60370
  E,
@@ -61106,11 +61106,11 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61106
61106
  a("close");
61107
61107
  }
61108
61108
  function f(J) {
61109
- const k = t.images.length;
61110
- if (k !== 0) {
61111
- if (J < 0 || J >= k) {
61109
+ const U = t.images.length;
61110
+ if (U !== 0) {
61111
+ if (J < 0 || J >= U) {
61112
61112
  if (!t.options.loop) return;
61113
- J = (J + k) % k;
61113
+ J = (J + U) % U;
61114
61114
  }
61115
61115
  i.value = J;
61116
61116
  }
@@ -61121,14 +61121,14 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61121
61121
  function N() {
61122
61122
  f(i.value + 1);
61123
61123
  }
61124
- function O() {
61124
+ function y() {
61125
61125
  o.value = Math.min(Jb, o.value + ju);
61126
61126
  }
61127
- function y() {
61127
+ function O() {
61128
61128
  o.value = Math.max(Zb, o.value - ju);
61129
61129
  }
61130
61130
  function I(J) {
61131
- J.deltaY < 0 ? O() : y();
61131
+ J.deltaY < 0 ? y() : O();
61132
61132
  }
61133
61133
  function D(J) {
61134
61134
  o.value <= 1 || (p = !1, u = {
@@ -61140,16 +61140,16 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61140
61140
  }
61141
61141
  function A(J) {
61142
61142
  if (!u) return;
61143
- const k = J.clientX - u.pointerX, Y = J.clientY - u.pointerY;
61144
- Math.abs(k) + Math.abs(Y) > 5 && (p = !0), s.value = u.baseX + k, c.value = u.baseY + Y;
61143
+ const U = J.clientX - u.pointerX, Y = J.clientY - u.pointerY;
61144
+ Math.abs(U) + Math.abs(Y) > 5 && (p = !0), s.value = u.baseX + U, c.value = u.baseY + Y;
61145
61145
  }
61146
61146
  function w() {
61147
61147
  u = null, window.removeEventListener("pointermove", A), window.removeEventListener("pointercancel", w);
61148
61148
  }
61149
- function L() {
61149
+ function M() {
61150
61150
  p = !1;
61151
61151
  }
61152
- function G(J) {
61152
+ function k(J) {
61153
61153
  if (J.stopPropagation(), p) {
61154
61154
  p = !1;
61155
61155
  return;
@@ -61180,18 +61180,18 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61180
61180
  window.addEventListener("keydown", ee), document.addEventListener("fullscreenchange", z);
61181
61181
  }), rl(() => {
61182
61182
  window.removeEventListener("keydown", ee), document.removeEventListener("fullscreenchange", z), window.removeEventListener("pointermove", A);
61183
- }), (J, k) => (rt(), mr(op, { to: "body" }, [
61183
+ }), (J, U) => (rt(), mr(op, { to: "body" }, [
61184
61184
  pe("div", {
61185
61185
  ref_key: "overlayRef",
61186
61186
  ref: n,
61187
61187
  class: "q-image-viewer-overlay",
61188
61188
  style: Ea({ zIndex: r.options.zIndex }),
61189
- onPointerdown: L,
61190
- onClick: G
61189
+ onPointerdown: M,
61190
+ onClick: k
61191
61191
  }, [
61192
61192
  pe("div", {
61193
61193
  class: "q-image-viewer-header",
61194
- onClick: k[0] || (k[0] = cr(() => {
61194
+ onClick: U[0] || (U[0] = cr(() => {
61195
61195
  }, ["stop"]))
61196
61196
  }, [
61197
61197
  pe("span", Kb, Ul(i.value + 1) + " / " + Ul(r.images.length), 1),
@@ -61200,8 +61200,8 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61200
61200
  type: "button",
61201
61201
  class: "q-image-viewer-btn",
61202
61202
  title: "放大",
61203
- onClick: O
61204
- }, [...k[3] || (k[3] = [
61203
+ onClick: y
61204
+ }, [...U[3] || (U[3] = [
61205
61205
  pe("svg", {
61206
61206
  viewBox: "0 0 24 24",
61207
61207
  width: "20",
@@ -61239,8 +61239,8 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61239
61239
  type: "button",
61240
61240
  class: "q-image-viewer-btn",
61241
61241
  title: "缩小",
61242
- onClick: y
61243
- }, [...k[4] || (k[4] = [
61242
+ onClick: O
61243
+ }, [...U[4] || (U[4] = [
61244
61244
  pe("svg", {
61245
61245
  viewBox: "0 0 24 24",
61246
61246
  width: "20",
@@ -61273,7 +61273,7 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61273
61273
  class: "q-image-viewer-btn",
61274
61274
  title: "复位",
61275
61275
  onClick: S
61276
- }, [...k[5] || (k[5] = [
61276
+ }, [...U[5] || (U[5] = [
61277
61277
  pe("svg", {
61278
61278
  viewBox: "0 0 24 24",
61279
61279
  width: "20",
@@ -61292,7 +61292,7 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61292
61292
  class: "q-image-viewer-btn",
61293
61293
  title: "全屏",
61294
61294
  onClick: j
61295
- }, [...k[6] || (k[6] = [
61295
+ }, [...U[6] || (U[6] = [
61296
61296
  pe("svg", {
61297
61297
  viewBox: "0 0 24 24",
61298
61298
  width: "20",
@@ -61309,7 +61309,7 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61309
61309
  class: "q-image-viewer-btn",
61310
61310
  title: "关闭",
61311
61311
  onClick: b
61312
- }, [...k[7] || (k[7] = [
61312
+ }, [...U[7] || (U[7] = [
61313
61313
  pe("svg", {
61314
61314
  viewBox: "0 0 24 24",
61315
61315
  width: "20",
@@ -61340,7 +61340,7 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61340
61340
  class: "q-image-viewer-arrow q-image-viewer-arrow-prev",
61341
61341
  title: "上一张",
61342
61342
  onClick: cr(h, ["stop"])
61343
- }, [...k[8] || (k[8] = [
61343
+ }, [...U[8] || (U[8] = [
61344
61344
  pe("svg", {
61345
61345
  viewBox: "0 0 24 24",
61346
61346
  width: "28",
@@ -61358,7 +61358,7 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61358
61358
  class: "q-image-viewer-arrow q-image-viewer-arrow-next",
61359
61359
  title: "下一张",
61360
61360
  onClick: cr(N, ["stop"])
61361
- }, [...k[9] || (k[9] = [
61361
+ }, [...U[9] || (U[9] = [
61362
61362
  pe("svg", {
61363
61363
  viewBox: "0 0 24 24",
61364
61364
  width: "28",
@@ -61381,14 +61381,14 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61381
61381
  draggable: "false",
61382
61382
  onPointerdown: D,
61383
61383
  onDblclick: cr(S, ["stop"]),
61384
- onClick: k[1] || (k[1] = cr(() => {
61384
+ onClick: U[1] || (U[1] = cr(() => {
61385
61385
  }, ["stop"]))
61386
61386
  }, null, 46, Qb)
61387
61387
  ], 32),
61388
61388
  r.images.length > 1 && r.options.navbar ? (rt(), yt("div", {
61389
61389
  key: 2,
61390
61390
  class: "q-image-viewer-navbar",
61391
- onClick: k[2] || (k[2] = cr(() => {
61391
+ onClick: U[2] || (U[2] = cr(() => {
61392
61392
  }, ["stop"]))
61393
61393
  }, [
61394
61394
  (rt(!0), yt(tm, null, sp(r.images, (Y, Q) => (rt(), yt("img", {
@@ -61428,62 +61428,62 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61428
61428
  () => t.fontSize !== void 0 ? { "--ck-content-font-size": `${t.fontSize}px` } : void 0
61429
61429
  ), n = Ze(() => t.content ?? e.value ?? "");
61430
61430
  function i(O) {
61431
- const y = O.trim().replace(/\s/g, "").toLowerCase();
61432
- return !!(!y || y.startsWith("#") || y.startsWith("/") || y.startsWith("http://") || y.startsWith("https://") || y.startsWith("mailto:") || y.startsWith("data:image/"));
61431
+ const I = O.trim().replace(/\s/g, "").toLowerCase();
61432
+ return !!(!I || I.startsWith("#") || I.startsWith("/") || I.startsWith("http://") || I.startsWith("https://") || I.startsWith("mailto:") || I.startsWith("data:image/"));
61433
61433
  }
61434
61434
  function o(O) {
61435
61435
  if (!O)
61436
61436
  return "";
61437
- const y = new DOMParser().parseFromString(O, "text/html");
61438
- return y.querySelectorAll("script, style").forEach((I) => I.remove()), y.querySelectorAll("*").forEach((I) => {
61439
- if (Array.from(I.attributes).forEach((D) => {
61440
- const A = D.name.toLowerCase(), w = D.value;
61441
- if (A.startsWith("on")) {
61442
- I.removeAttribute(D.name);
61437
+ const I = new DOMParser().parseFromString(O, "text/html");
61438
+ return I.querySelectorAll("script, style").forEach((D) => D.remove()), I.querySelectorAll("*").forEach((D) => {
61439
+ if (Array.from(D.attributes).forEach((A) => {
61440
+ const w = A.name.toLowerCase(), M = A.value;
61441
+ if (w.startsWith("on")) {
61442
+ D.removeAttribute(A.name);
61443
61443
  return;
61444
61444
  }
61445
- if (A === "href" || A === "src" || A === "xlink:href") {
61446
- i(w) || I.removeAttribute(D.name);
61445
+ if (w === "href" || w === "src" || w === "xlink:href") {
61446
+ i(M) || D.removeAttribute(A.name);
61447
61447
  return;
61448
61448
  }
61449
- if (A === "style") {
61450
- const L = w.toLowerCase();
61451
- (L.includes("expression(") || L.includes("javascript:") || L.includes("url(javascript:")) && I.removeAttribute(D.name);
61449
+ if (w === "style") {
61450
+ const k = M.toLowerCase();
61451
+ (k.includes("expression(") || k.includes("javascript:") || k.includes("url(javascript:")) && D.removeAttribute(A.name);
61452
61452
  }
61453
- }), I.tagName.toLowerCase() === "a") {
61454
- const D = I;
61455
- if (D.target === "_blank") {
61456
- const A = (D.getAttribute("rel") ?? "").split(/\s+/).filter(Boolean), w = ["noopener", "noreferrer"];
61457
- D.setAttribute(
61453
+ }), D.tagName.toLowerCase() === "a") {
61454
+ const A = D;
61455
+ if (A.target === "_blank") {
61456
+ const w = (A.getAttribute("rel") ?? "").split(/\s+/).filter(Boolean), M = ["noopener", "noreferrer"];
61457
+ A.setAttribute(
61458
61458
  "rel",
61459
- Array.from(/* @__PURE__ */ new Set([...A, ...w])).join(" ")
61459
+ Array.from(/* @__PURE__ */ new Set([...w, ...M])).join(" ")
61460
61460
  );
61461
61461
  }
61462
61462
  }
61463
- }), y.body.innerHTML;
61463
+ }), I.body.innerHTML;
61464
61464
  }
61465
61465
  function s(O) {
61466
- O.querySelectorAll("span.math-tex").forEach((y) => {
61467
- const I = y.textContent || "", D = I.match(/^\\\((.*?)\\\)$/s);
61468
- if (D) {
61466
+ O.querySelectorAll("span.math-tex").forEach((I) => {
61467
+ const D = I.textContent || "", A = D.match(/^\\\((.*?)\\\)$/s);
61468
+ if (A) {
61469
61469
  try {
61470
- const w = Tc.renderToString(D[1].trim(), {
61470
+ const M = Tc.renderToString(A[1].trim(), {
61471
61471
  displayMode: !1,
61472
61472
  throwOnError: !1
61473
61473
  });
61474
- y.outerHTML = w;
61474
+ I.outerHTML = M;
61475
61475
  } catch {
61476
61476
  }
61477
61477
  return;
61478
61478
  }
61479
- const A = I.match(/^\\\[(.*?)\\\]$/s);
61480
- if (A) {
61479
+ const w = D.match(/^\\\[(.*?)\\\]$/s);
61480
+ if (w) {
61481
61481
  try {
61482
- const w = Tc.renderToString(A[1].trim(), {
61482
+ const M = Tc.renderToString(w[1].trim(), {
61483
61483
  displayMode: !0,
61484
61484
  throwOnError: !1
61485
61485
  });
61486
- y.outerHTML = `<div style="overflow-x:auto">${w}</div>`;
61486
+ I.outerHTML = `<div style="overflow-x:auto">${M}</div>`;
61487
61487
  } catch {
61488
61488
  }
61489
61489
  return;
@@ -61491,8 +61491,8 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61491
61491
  });
61492
61492
  }
61493
61493
  function c(O) {
61494
- O.querySelectorAll("pre code").forEach((y) => {
61495
- Wb.highlightElement(y);
61494
+ O.querySelectorAll("pre code").forEach((I) => {
61495
+ Wb.highlightElement(I);
61496
61496
  });
61497
61497
  }
61498
61498
  const d = Ze(() => {
@@ -61516,23 +61516,55 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61516
61516
  return typeof t.imagePreview == "object" && t.imagePreview !== null ? { ...O, ...t.imagePreview } : O;
61517
61517
  }), b = ye(!1), f = ye([]), h = ye(0);
61518
61518
  function N(O) {
61519
- if (!E.value) return;
61520
- const y = O.target;
61521
- if (!(y instanceof HTMLImageElement)) return;
61522
- const I = p.value;
61523
- if (!I) return;
61524
- const D = Array.from(I.querySelectorAll("img")), A = D.indexOf(y);
61525
- A < 0 || (O.stopPropagation(), f.value = D.map((w) => w.src), h.value = A, b.value = !0);
61519
+ const I = O.href, D = O.getAttribute("download");
61520
+ if (!(!I || !D)) {
61521
+ try {
61522
+ if (new URL(I, window.location.href).origin === window.location.origin) return;
61523
+ } catch {
61524
+ return;
61525
+ }
61526
+ fetch(I, { method: "GET", mode: "cors" }).then((A) => {
61527
+ if (!A.ok) throw new Error("fetch failed");
61528
+ return A.blob();
61529
+ }).then((A) => {
61530
+ const w = URL.createObjectURL(A), M = document.createElement("a");
61531
+ M.href = w, M.download = D, document.body.appendChild(M), M.click(), document.body.removeChild(M), URL.revokeObjectURL(w);
61532
+ }).catch(() => {
61533
+ window.open(I, "_blank", "noopener,noreferrer");
61534
+ });
61535
+ }
61536
+ }
61537
+ function y(O) {
61538
+ const I = O.target;
61539
+ if (!(I instanceof HTMLElement)) return;
61540
+ const D = I.closest(
61541
+ "a.ck-qst-file--file[download]"
61542
+ );
61543
+ if (D) {
61544
+ let k = !1;
61545
+ try {
61546
+ k = new URL(D.href, window.location.href).origin !== window.location.origin;
61547
+ } catch {
61548
+ return;
61549
+ }
61550
+ k && (O.preventDefault(), O.stopPropagation(), N(D));
61551
+ return;
61552
+ }
61553
+ if (!E.value || !(I instanceof HTMLImageElement)) return;
61554
+ const A = p.value;
61555
+ if (!A) return;
61556
+ const w = Array.from(A.querySelectorAll("img")), M = w.indexOf(I);
61557
+ M < 0 || (O.stopPropagation(), f.value = w.map((k) => k.src), h.value = M, b.value = !0);
61526
61558
  }
61527
61559
  return Bl(
61528
61560
  (O) => {
61529
- const y = p.value;
61530
- y && (E.value && y.addEventListener("click", N), O(() => {
61531
- y.removeEventListener("click", N);
61561
+ const I = p.value;
61562
+ I && ((E.value || I.querySelector("a.ck-qst-file--file[download]")) && I.addEventListener("click", y), O(() => {
61563
+ I.removeEventListener("click", y);
61532
61564
  }));
61533
61565
  },
61534
61566
  { flush: "post" }
61535
- ), (O, y) => (rt(), yt(tm, null, [
61567
+ ), (O, I) => (rt(), yt(tm, null, [
61536
61568
  pe("div", zr({
61537
61569
  ref_key: "container",
61538
61570
  ref: p,
@@ -61547,11 +61579,11 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61547
61579
  images: f.value,
61548
61580
  "initial-index": h.value,
61549
61581
  options: S.value,
61550
- onClose: y[0] || (y[0] = (I) => b.value = !1)
61582
+ onClose: I[0] || (I[0] = (D) => b.value = !1)
61551
61583
  }, null, 8, ["images", "initial-index", "options"])) : ur("", !0)
61552
61584
  ], 64));
61553
61585
  }
61554
- }), rp = /* @__PURE__ */ fl(ef, [["__scopeId", "data-v-3ac4da95"]]), tf = /* @__PURE__ */ Nr({
61586
+ }), rp = /* @__PURE__ */ fl(ef, [["__scopeId", "data-v-1ec0621b"]]), tf = /* @__PURE__ */ Nr({
61555
61587
  name: "QCKEditorPro",
61556
61588
  __name: "QCKEditorPro",
61557
61589
  props: /* @__PURE__ */ zt({
@@ -61578,28 +61610,28 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61578
61610
  }),
61579
61611
  emits: /* @__PURE__ */ zt(["ready", "destroy", "blur", "focus", "input", "exit-blocked"], ["update:modelValue"]),
61580
61612
  setup(r, { emit: e }) {
61581
- lp((k) => ({
61582
- v8f1bd43a: `${k.borderRadius}px`,
61583
- v7e68b5d2: `${k.minHeight > 0 ? k.minHeight + "px" : "auto"}`,
61584
- v50161b72: k.contentBgColor,
61585
- v2ba7be50: k.contentBgHoverColor
61613
+ lp((U) => ({
61614
+ v8f1bd43a: `${U.borderRadius}px`,
61615
+ v7e68b5d2: `${U.minHeight > 0 ? U.minHeight + "px" : "auto"}`,
61616
+ v50161b72: U.contentBgColor,
61617
+ v2ba7be50: U.contentBgHoverColor
61586
61618
  }));
61587
61619
  const t = Wr(r, "modelValue"), a = r, n = e, i = ye(!1), o = ye(!1), s = ye(null), c = ye(null), d = cp(null), u = ye(!1), p = ye(!1), E = ye(null), S = ye(!1);
61588
61620
  let b = null;
61589
- const f = (k, Y, Q) => {
61621
+ const f = (U, Y, Q) => {
61590
61622
  S.value = Q;
61591
61623
  }, h = Ze(
61592
61624
  () => a.disableExit || S.value
61593
- ), N = Ze(() => a.content ?? t.value ?? ""), O = Ze(() => a.minHeight > 0), y = Ze(() => ({
61625
+ ), N = Ze(() => a.content ?? t.value ?? ""), y = Ze(() => a.minHeight > 0), O = Ze(() => ({
61594
61626
  minHeight: a.minHeight ? `${a.minHeight}px` : "auto",
61595
61627
  height: a.height ? `${a.height}px` : "auto",
61596
61628
  overflowY: a.height ? "auto" : "hidden"
61597
61629
  })), I = Ze(() => {
61598
- const { config: k, tagName: Y, disabled: Q, disableTwoWayDataBinding: ae, dataNormalizer: _e } = a;
61599
- return { config: k, tagName: Y, disabled: Q, disableTwoWayDataBinding: ae, dataNormalizer: _e };
61630
+ const { config: U, tagName: Y, disabled: Q, disableTwoWayDataBinding: ae, dataNormalizer: _e } = a;
61631
+ return { config: U, tagName: Y, disabled: Q, disableTwoWayDataBinding: ae, dataNormalizer: _e };
61600
61632
  }), D = Ze(() => {
61601
- const { containerClass: k, sanitize: Y, imagePreview: Q } = a;
61602
- return { containerClass: k, sanitize: Y, imagePreview: Q };
61633
+ const { containerClass: U, sanitize: Y, imagePreview: Q } = a;
61634
+ return { containerClass: U, sanitize: Y, imagePreview: Q };
61603
61635
  });
61604
61636
  function A() {
61605
61637
  a.disabled || (document.dispatchEvent(
@@ -61610,11 +61642,11 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61610
61642
  })
61611
61643
  ), i.value = !0);
61612
61644
  }
61613
- function w(k) {
61614
- const Y = k;
61615
- Y.detail && Y.detail.activeContainer !== s.value && i.value && L();
61645
+ function w(U) {
61646
+ const Y = U;
61647
+ Y.detail && Y.detail.activeContainer !== s.value && i.value && M();
61616
61648
  }
61617
- async function L() {
61649
+ async function M() {
61618
61650
  var Q, ae, _e;
61619
61651
  if (!i.value || p.value)
61620
61652
  return;
@@ -61623,9 +61655,9 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61623
61655
  return;
61624
61656
  }
61625
61657
  p.value = !0, E.value != null && (window.clearTimeout(E.value), E.value = null);
61626
- const k = d.value;
61627
- if (k) {
61628
- const Oe = k.data.get();
61658
+ const U = d.value;
61659
+ if (U) {
61660
+ const Oe = U.data.get();
61629
61661
  t.value = Oe;
61630
61662
  }
61631
61663
  const Y = (ae = (Q = c.value) == null ? void 0 : Q.ckeditorRef) == null ? void 0 : ae.instance;
@@ -61637,12 +61669,12 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61637
61669
  }
61638
61670
  d.value = null, o.value = !1, i.value = !1, p.value = !1;
61639
61671
  }
61640
- function G(k) {
61672
+ function k(U) {
61641
61673
  if (!i.value || !s.value) {
61642
61674
  u.value = !1;
61643
61675
  return;
61644
61676
  }
61645
- const Y = k.target;
61677
+ const Y = U.target;
61646
61678
  if (!(Y instanceof HTMLElement) || !document.body.contains(Y)) {
61647
61679
  u.value = !1;
61648
61680
  return;
@@ -61650,10 +61682,10 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61650
61682
  const Q = s.value.contains(Y), ae = Y.closest(".ck-body-wrapper") || Y.closest(".ck-balloon-panel") || Y.closest(".ck"), _e = Y.closest(".q-editor-pro-container"), Oe = _e && _e !== s.value;
61651
61683
  u.value = Q || !!ae && !Oe;
61652
61684
  }
61653
- function j(k) {
61685
+ function j(U) {
61654
61686
  if (!i.value || !s.value)
61655
61687
  return;
61656
- const Y = k.target;
61688
+ const Y = U.target;
61657
61689
  if (!(Y instanceof HTMLElement) || !document.body.contains(Y)) {
61658
61690
  u.value = !1;
61659
61691
  return;
@@ -61663,18 +61695,18 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61663
61695
  u.value = !1;
61664
61696
  return;
61665
61697
  }
61666
- u.value = !1, !Q && (!ae || Oe) && L();
61698
+ u.value = !1, !Q && (!ae || Oe) && M();
61667
61699
  }
61668
61700
  tl(() => {
61669
- document.addEventListener("mousedown", G, !0), document.addEventListener("click", j), document.addEventListener("q-editor-pro-activate", w);
61701
+ document.addEventListener("mousedown", k, !0), document.addEventListener("click", j), document.addEventListener("q-editor-pro-activate", w);
61670
61702
  }), rl(() => {
61671
- document.removeEventListener("mousedown", G, !0), document.removeEventListener("click", j), document.removeEventListener("q-editor-pro-activate", w), ee();
61703
+ document.removeEventListener("mousedown", k, !0), document.removeEventListener("click", j), document.removeEventListener("q-editor-pro-activate", w), ee();
61672
61704
  });
61673
- function z(k) {
61674
- if (d.value = em(k), n("ready", k), o.value = !0, E.value != null && (window.clearTimeout(E.value), E.value = null), E.value = window.setTimeout(() => {
61675
- k.editing.view.focus();
61676
- }, 300), k.plugins.has(Gl)) {
61677
- const Y = k.plugins.get(Gl);
61705
+ function z(U) {
61706
+ if (d.value = em(U), n("ready", U), o.value = !0, E.value != null && (window.clearTimeout(E.value), E.value = null), E.value = window.setTimeout(() => {
61707
+ U.editing.view.focus();
61708
+ }, 300), U.plugins.has(Gl)) {
61709
+ const Y = U.plugins.get(Gl);
61678
61710
  S.value = Y.hasAny, Y.on("change:hasAny", f), b = Y;
61679
61711
  }
61680
61712
  }
@@ -61684,18 +61716,18 @@ const Wb = /* @__PURE__ */ ug(Vb), Kb = { class: "q-image-viewer-counter" }, $b
61684
61716
  function J() {
61685
61717
  ee(), n("destroy"), d.value = null, E.value != null && (window.clearTimeout(E.value), E.value = null);
61686
61718
  }
61687
- return (k, Y) => (rt(), yt("div", {
61719
+ return (U, Y) => (rt(), yt("div", {
61688
61720
  ref_key: "container",
61689
61721
  ref: s,
61690
61722
  class: Yr(["q-editor-pro-container", [
61691
61723
  r.fitHeight ? "h-full!" : "",
61692
- O.value ? "has-min-height" : ""
61724
+ y.value ? "has-min-height" : ""
61693
61725
  ]])
61694
61726
  }, [
61695
61727
  o.value ? ur("", !0) : (rt(), yt("div", {
61696
61728
  key: 0,
61697
61729
  class: Yr(["q-content-wrapper", r.fitHeight ? "h-full!" : ""]),
61698
- style: Ea(y.value),
61730
+ style: Ea(O.value),
61699
61731
  onClick: A
61700
61732
  }, [
61701
61733
  pe("div", {