zudoku 0.54.0 → 0.54.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/config/validators/NavigationSchema.js +4 -2
  2. package/dist/config/validators/NavigationSchema.js.map +1 -1
  3. package/dist/lib/components/BuildCheck.d.ts +2 -1
  4. package/dist/lib/components/BuildCheck.js +2 -3
  5. package/dist/lib/components/BuildCheck.js.map +1 -1
  6. package/dist/lib/components/index.d.ts +2 -1
  7. package/dist/lib/shiki.d.ts +4 -0
  8. package/dist/lib/shiki.js +2 -0
  9. package/dist/lib/shiki.js.map +1 -1
  10. package/dist/lib/ui/CodeBlock.js +30 -4
  11. package/dist/lib/ui/CodeBlock.js.map +1 -1
  12. package/dist/vite/config.js +6 -1
  13. package/dist/vite/config.js.map +1 -1
  14. package/dist/vite/plugin-config.d.ts +1 -1
  15. package/dist/vite/plugin-config.js +2 -1
  16. package/dist/vite/plugin-config.js.map +1 -1
  17. package/dist/vite/plugin-docs.js +9 -11
  18. package/dist/vite/plugin-docs.js.map +1 -1
  19. package/lib/CodeBlock-NFCmSWOK.js +98 -0
  20. package/lib/CodeBlock-NFCmSWOK.js.map +1 -0
  21. package/lib/{MdxPage-Bsko6_kb.js → MdxPage-C6Ru5mfp.js} +5 -5
  22. package/lib/{MdxPage-Bsko6_kb.js.map → MdxPage-C6Ru5mfp.js.map} +1 -1
  23. package/lib/{OAuthErrorPage-DJzGiIBt.js → OAuthErrorPage-Dd0fl6Lh.js} +4 -4
  24. package/lib/{OAuthErrorPage-DJzGiIBt.js.map → OAuthErrorPage-Dd0fl6Lh.js.map} +1 -1
  25. package/lib/{OasProvider-DQQRt3oS.js → OasProvider-DNmLItHj.js} +2 -2
  26. package/lib/{OasProvider-DQQRt3oS.js.map → OasProvider-DNmLItHj.js.map} +1 -1
  27. package/lib/{OperationList-DpmkHf26.js → OperationList-BE_BNejn.js} +8 -8
  28. package/lib/{OperationList-DpmkHf26.js.map → OperationList-BE_BNejn.js.map} +1 -1
  29. package/lib/{Pagination-kqFNgtnI.js → Pagination-29CJ3c2k.js} +2 -2
  30. package/lib/{Pagination-kqFNgtnI.js.map → Pagination-29CJ3c2k.js.map} +1 -1
  31. package/lib/{SchemaList-DS-pMd6B.js → SchemaList-BTkZiol0.js} +6 -6
  32. package/lib/{SchemaList-DS-pMd6B.js.map → SchemaList-BTkZiol0.js.map} +1 -1
  33. package/lib/{SchemaView-BnN6WHjw.js → SchemaView-Bc5_uIbh.js} +4 -4
  34. package/lib/{SchemaView-BnN6WHjw.js.map → SchemaView-Bc5_uIbh.js.map} +1 -1
  35. package/lib/{Select-BmTTKNPp.js → Select-DVKfV8Vb.js} +2 -2
  36. package/lib/{Select-BmTTKNPp.js.map → Select-DVKfV8Vb.js.map} +1 -1
  37. package/lib/{SignUp-BwOSCD-6.js → SignUp-DUmbxjcy.js} +2 -2
  38. package/lib/{SignUp-BwOSCD-6.js.map → SignUp-DUmbxjcy.js.map} +1 -1
  39. package/lib/{Slot-DAyXieeZ.js → Slot-BahfuM5e.js} +137 -124
  40. package/lib/{Slot-DAyXieeZ.js.map → Slot-BahfuM5e.js.map} +1 -1
  41. package/lib/{SyntaxHighlight-BMKR4pl6.js → SyntaxHighlight-BaPoOBLD.js} +112 -110
  42. package/lib/{SyntaxHighlight-BMKR4pl6.js.map → SyntaxHighlight-BaPoOBLD.js.map} +1 -1
  43. package/lib/{Toc-BKDRCQzU.js → Toc-MF9YxB9B.js} +2 -2
  44. package/lib/{Toc-BKDRCQzU.js.map → Toc-MF9YxB9B.js.map} +1 -1
  45. package/lib/{circular-8GWQDvCW.js → circular-Bv1c2Yd3.js} +2 -2
  46. package/lib/{circular-8GWQDvCW.js.map → circular-Bv1c2Yd3.js.map} +1 -1
  47. package/lib/{createServer-BsezSzvV.js → createServer-B4o75XI3.js} +4 -4
  48. package/lib/{createServer-BsezSzvV.js.map → createServer-B4o75XI3.js.map} +1 -1
  49. package/lib/{errors-Cs7hKmdL.js → errors-7Pb4eZXa.js} +2 -2
  50. package/lib/{errors-Cs7hKmdL.js.map → errors-7Pb4eZXa.js.map} +1 -1
  51. package/lib/hook-DbUCLQNg.js.map +1 -1
  52. package/lib/{index-A5Qdwj1B.js → index-BqrVgyZ3.js} +15 -14
  53. package/lib/{index-A5Qdwj1B.js.map → index-BqrVgyZ3.js.map} +1 -1
  54. package/lib/{index-Bg7Js3jB.js → index-D_weJvKR.js} +11 -11
  55. package/lib/{index-Bg7Js3jB.js.map → index-D_weJvKR.js.map} +1 -1
  56. package/lib/{index-BkW9tJ6j.js → index-fHJ5WmM5.js} +2 -2
  57. package/lib/{index-BkW9tJ6j.js.map → index-fHJ5WmM5.js.map} +1 -1
  58. package/lib/ui/CodeBlock.js +1 -1
  59. package/lib/ui/SyntaxHighlight.js +2 -2
  60. package/lib/zudoku.auth-azureb2c.js +3 -3
  61. package/lib/zudoku.auth-clerk.js +1 -1
  62. package/lib/zudoku.auth-openid.js +3 -3
  63. package/lib/zudoku.auth-supabase.js +1 -1
  64. package/lib/zudoku.components.js +2 -2
  65. package/lib/zudoku.plugin-api-catalog.js +3 -3
  66. package/lib/zudoku.plugin-api-keys.js +3 -3
  67. package/lib/zudoku.plugin-markdown.js +1 -1
  68. package/lib/zudoku.plugin-openapi.js +1 -1
  69. package/package.json +8 -8
  70. package/src/app/main.css +3 -7
  71. package/src/lib/components/BuildCheck.tsx +3 -3
  72. package/src/lib/shiki.ts +2 -0
  73. package/src/lib/ui/CodeBlock.tsx +38 -13
  74. package/lib/CodeBlock-B-G0eKtw.js +0 -85
  75. package/lib/CodeBlock-B-G0eKtw.js.map +0 -1
@@ -3,7 +3,7 @@ import { Fragment as rs, memo as os } from "react";
3
3
  import { c as ss } from "./ZudokuContext-CLl5w57E.js";
4
4
  import { c as as } from "./cn-dYga0KKN.js";
5
5
  import { g as is, i as ls } from "./invariant-Bm-FVUQE.js";
6
- import { C as us } from "./CodeBlock-B-G0eKtw.js";
6
+ import { C as us } from "./CodeBlock-NFCmSWOK.js";
7
7
  import { EmbeddedCodeBlock as cs } from "./ui/EmbeddedCodeBlock.js";
8
8
  function eh() {
9
9
  }
@@ -89,7 +89,7 @@ W.prototype.property = "";
89
89
  W.prototype.spaceSeparated = !1;
90
90
  W.prototype.space = void 0;
91
91
  let gs = 0;
92
- const x = ye(), $ = ye(), Pr = ye(), b = ye(), I = ye(), xe = ye(), q = ye();
92
+ const x = ye(), $ = ye(), Lr = ye(), b = ye(), I = ye(), xe = ye(), q = ye();
93
93
  function ye() {
94
94
  return 2 ** ++gs;
95
95
  }
@@ -100,7 +100,7 @@ const Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
100
100
  commaOrSpaceSeparated: q,
101
101
  commaSeparated: xe,
102
102
  number: b,
103
- overloadedBoolean: Pr,
103
+ overloadedBoolean: Lr,
104
104
  spaceSeparated: I
105
105
  }, Symbol.toStringTag, { value: "Module" })), At = (
106
106
  /** @type {ReadonlyArray<keyof typeof types>} */
@@ -122,15 +122,15 @@ let hn = class extends W {
122
122
  */
123
123
  constructor(e, n, r, o) {
124
124
  let s = -1;
125
- if (super(e, n), Pn(this, "space", o), typeof r == "number")
125
+ if (super(e, n), Ln(this, "space", o), typeof r == "number")
126
126
  for (; ++s < At.length; ) {
127
127
  const a = At[s];
128
- Pn(this, At[s], (r & Ht[a]) === Ht[a]);
128
+ Ln(this, At[s], (r & Ht[a]) === Ht[a]);
129
129
  }
130
130
  }
131
131
  };
132
132
  hn.prototype.defined = !0;
133
- function Pn(t, e, n) {
133
+ function Ln(t, e, n) {
134
134
  n && (t[e] = n);
135
135
  }
136
136
  function Ie(t) {
@@ -146,7 +146,7 @@ function Ie(t) {
146
146
  }
147
147
  return new qe(e, n, t.space);
148
148
  }
149
- const Lr = Ie({
149
+ const Pr = Ie({
150
150
  properties: {
151
151
  ariaActiveDescendant: null,
152
152
  ariaAtomic: $,
@@ -256,7 +256,7 @@ const ms = Ie({
256
256
  dir: null,
257
257
  dirName: null,
258
258
  disabled: x,
259
- download: Pr,
259
+ download: Lr,
260
260
  draggable: $,
261
261
  encType: null,
262
262
  enterKeyHint: null,
@@ -1171,7 +1171,7 @@ const ms = Ie({
1171
1171
  xLinkTitle: "xlinkTitle",
1172
1172
  xLinkType: "xlinkType",
1173
1173
  xmlnsXLink: "xmlnsXlink"
1174
- }, ws = /[A-Z]/g, Ln = /-[a-z]/g, Cs = /^data[-\w.:]+$/i;
1174
+ }, ws = /[A-Z]/g, Pn = /-[a-z]/g, Cs = /^data[-\w.:]+$/i;
1175
1175
  function _s(t, e) {
1176
1176
  const n = zt(e);
1177
1177
  let r = e, o = W;
@@ -1179,11 +1179,11 @@ function _s(t, e) {
1179
1179
  return t.property[t.normal[n]];
1180
1180
  if (n.length > 4 && n.slice(0, 4) === "data" && Cs.test(e)) {
1181
1181
  if (e.charAt(4) === "-") {
1182
- const s = e.slice(5).replace(Ln, ks);
1182
+ const s = e.slice(5).replace(Pn, ks);
1183
1183
  r = "data" + s.charAt(0).toUpperCase() + s.slice(1);
1184
1184
  } else {
1185
1185
  const s = e.slice(4);
1186
- if (!Ln.test(s)) {
1186
+ if (!Pn.test(s)) {
1187
1187
  let a = s.replace(ws, Ss);
1188
1188
  a.charAt(0) !== "-" && (a = "-" + a), e = "data" + a;
1189
1189
  }
@@ -1198,7 +1198,7 @@ function Ss(t) {
1198
1198
  function ks(t) {
1199
1199
  return t.charAt(1).toUpperCase();
1200
1200
  }
1201
- const vs = Nr([Lr, ms, Mr, Or, Dr], "html"), pn = Nr([Lr, ys, Mr, Or, Dr], "svg");
1201
+ const vs = Nr([Pr, ms, Mr, Or, Dr], "html"), pn = Nr([Pr, ys, Mr, Or, Dr], "svg");
1202
1202
  function ah(t) {
1203
1203
  const e = String(t || "").trim();
1204
1204
  return e ? e.split(/[ \t\n\r\f]+/g) : [];
@@ -1240,7 +1240,7 @@ function xs() {
1240
1240
  );
1241
1241
  if (k.reason = R, k.filename = C.source, k.line = y, k.column = m, k.source = g, !C.silent) throw k;
1242
1242
  }
1243
- function P(R) {
1243
+ function L(R) {
1244
1244
  var k = R.exec(g);
1245
1245
  if (k) {
1246
1246
  var G = k[0];
@@ -1248,7 +1248,7 @@ function xs() {
1248
1248
  }
1249
1249
  }
1250
1250
  function j() {
1251
- P(n);
1251
+ L(n);
1252
1252
  }
1253
1253
  function Z(R) {
1254
1254
  var k;
@@ -1271,15 +1271,15 @@ function xs() {
1271
1271
  }
1272
1272
  }
1273
1273
  function ce() {
1274
- var R = S(), k = P(r);
1274
+ var R = S(), k = L(r);
1275
1275
  if (k) {
1276
- if (ee(), !P(o)) return D("property missing ':'");
1277
- var G = P(s), Te = R({
1276
+ if (ee(), !L(o)) return D("property missing ':'");
1277
+ var G = L(s), Te = R({
1278
1278
  type: d,
1279
1279
  property: p(k[0].replace(t, h)),
1280
1280
  value: G ? p(G[0].replace(t, h)) : h
1281
1281
  });
1282
- return P(a), Te;
1282
+ return L(a), Te;
1283
1283
  }
1284
1284
  }
1285
1285
  function te() {
@@ -1350,7 +1350,7 @@ function Rs() {
1350
1350
  return r.default = r, Oe = r, Oe;
1351
1351
  }
1352
1352
  var Is = Rs();
1353
- const Ns = /* @__PURE__ */ is(Is), Ps = Br("end"), Fr = Br("start");
1353
+ const Ns = /* @__PURE__ */ is(Is), Ls = Br("end"), Fr = Br("start");
1354
1354
  function Br(t) {
1355
1355
  return e;
1356
1356
  function e(n) {
@@ -1364,11 +1364,11 @@ function Br(t) {
1364
1364
  }
1365
1365
  }
1366
1366
  function ih(t) {
1367
- const e = Fr(t), n = Ps(t);
1367
+ const e = Fr(t), n = Ls(t);
1368
1368
  if (e && n)
1369
1369
  return { start: e, end: n };
1370
1370
  }
1371
- function Ls(t) {
1371
+ function Ps(t) {
1372
1372
  return !t || typeof t != "object" ? "" : "position" in t || "type" in t ? Dn(t.position) : "start" in t || "end" in t ? Dn(t) : "line" in t || "column" in t ? Wt(t) : "";
1373
1373
  }
1374
1374
  function Wt(t) {
@@ -1451,7 +1451,7 @@ class H extends Error {
1451
1451
  l && (s.place = l.position);
1452
1452
  }
1453
1453
  const i = s.place && "start" in s.place ? s.place.start : s.place;
1454
- this.ancestors = s.ancestors || void 0, this.cause = s.cause || void 0, this.column = i ? i.column : void 0, this.fatal = void 0, this.file, this.message = o, this.line = i ? i.line : void 0, this.name = Ls(s.place) || "1:1", this.place = s.place || void 0, this.reason = this.message, this.ruleId = s.ruleId || void 0, this.source = s.source || void 0, this.stack = a && s.cause && typeof s.cause.stack == "string" ? s.cause.stack : "", this.actual, this.expected, this.note, this.url;
1454
+ this.ancestors = s.ancestors || void 0, this.cause = s.cause || void 0, this.column = i ? i.column : void 0, this.fatal = void 0, this.file, this.message = o, this.line = i ? i.line : void 0, this.name = Ps(s.place) || "1:1", this.place = s.place || void 0, this.reason = this.message, this.ruleId = s.ruleId || void 0, this.source = s.source || void 0, this.stack = a && s.cause && typeof s.cause.stack == "string" ? s.cause.stack : "", this.actual, this.expected, this.note, this.url;
1455
1455
  }
1456
1456
  }
1457
1457
  H.prototype.file = "";
@@ -2579,7 +2579,7 @@ function ro(t) {
2579
2579
  return new Na(n, r);
2580
2580
  }
2581
2581
  }
2582
- var Pa = /\\(\d+)/, Hn = /\\(\d+)/g, La = -1, oo = -2;
2582
+ var La = /\\(\d+)/, Hn = /\\(\d+)/g, Pa = -1, oo = -2;
2583
2583
  var Xe = class {
2584
2584
  $location;
2585
2585
  id;
@@ -2890,7 +2890,7 @@ var Xe = class {
2890
2890
  this.hasAnchor = a, o === 0 ? this.source = e : (s.push(e.substring(o, r)), this.source = s.join(""));
2891
2891
  } else
2892
2892
  this.hasAnchor = !1, this.source = e;
2893
- this.hasAnchor ? this._anchorCache = this._buildAnchorCache() : this._anchorCache = null, this.ruleId = n, typeof this.source == "string" ? this.hasBackReferences = Pa.test(this.source) : this.hasBackReferences = !1;
2893
+ this.hasAnchor ? this._anchorCache = this._buildAnchorCache() : this._anchorCache = null, this.ruleId = n, typeof this.source == "string" ? this.hasBackReferences = La.test(this.source) : this.hasBackReferences = !1;
2894
2894
  }
2895
2895
  clone() {
2896
2896
  return new ao(this.source, this.ruleId);
@@ -2987,7 +2987,7 @@ var Xe = class {
2987
2987
  captureIndices: r.captureIndices
2988
2988
  } : null;
2989
2989
  }
2990
- }, Pt = class {
2990
+ }, Lt = class {
2991
2991
  constructor(t, e) {
2992
2992
  this.languageId = t, this.tokenType = e;
2993
2993
  }
@@ -2995,7 +2995,7 @@ var Xe = class {
2995
2995
  _defaultAttributes;
2996
2996
  _embeddedLanguagesMatcher;
2997
2997
  constructor(e, n) {
2998
- this._defaultAttributes = new Pt(
2998
+ this._defaultAttributes = new Lt(
2999
2999
  e,
3000
3000
  8
3001
3001
  /* NotSet */
@@ -3007,10 +3007,10 @@ var Xe = class {
3007
3007
  getBasicScopeAttributes(e) {
3008
3008
  return e === null ? Yt._NULL_SCOPE_METADATA : this._getBasicScopeAttributes.get(e);
3009
3009
  }
3010
- static _NULL_SCOPE_METADATA = new Pt(0, 0);
3010
+ static _NULL_SCOPE_METADATA = new Lt(0, 0);
3011
3011
  _getBasicScopeAttributes = new Qr((e) => {
3012
3012
  const n = this._scopeToLanguage(e), r = this._toStandardTokenType(e);
3013
- return new Pt(n, r);
3013
+ return new Lt(n, r);
3014
3014
  });
3015
3015
  /**
3016
3016
  * Given a produced TM scope, return the language that token describes or null if unknown.
@@ -3102,7 +3102,7 @@ function io(t, e, n, r, o, s, a, i) {
3102
3102
  return;
3103
3103
  }
3104
3104
  const p = d.captureIndices, g = d.matchedRuleId, C = p && p.length > 0 ? p[0].end > r : !1;
3105
- if (g === La) {
3105
+ if (g === Pa) {
3106
3106
  const y = o.getRule(t);
3107
3107
  s.produce(o, p[0].start), o = o.withContentNameScopesList(o.nameScopesList), Ge(
3108
3108
  t,
@@ -3147,11 +3147,11 @@ function io(t, e, n, r, o, s, a, i) {
3147
3147
  const D = A.getContentName(
3148
3148
  e.content,
3149
3149
  p
3150
- ), P = S.pushAttributed(
3150
+ ), L = S.pushAttributed(
3151
3151
  D,
3152
3152
  t
3153
3153
  );
3154
- if (o = o.withContentNameScopesList(P), A.endHasBackReferences && (o = o.withEndRule(
3154
+ if (o = o.withContentNameScopesList(L), A.endHasBackReferences && (o = o.withEndRule(
3155
3155
  A.getEndWithResolvedBackReferences(
3156
3156
  e.content,
3157
3157
  p
@@ -3174,11 +3174,11 @@ function io(t, e, n, r, o, s, a, i) {
3174
3174
  const D = A.getContentName(
3175
3175
  e.content,
3176
3176
  p
3177
- ), P = S.pushAttributed(
3177
+ ), L = S.pushAttributed(
3178
3178
  D,
3179
3179
  t
3180
3180
  );
3181
- if (o = o.withContentNameScopesList(P), A.whileHasBackReferences && (o = o.withEndRule(
3181
+ if (o = o.withContentNameScopesList(L), A.whileHasBackReferences && (o = o.withEndRule(
3182
3182
  A.getWhileWithResolvedBackReferences(
3183
3183
  e.content,
3184
3184
  p
@@ -4134,7 +4134,7 @@ const tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4134
4134
  number: w,
4135
4135
  overloadedBoolean: en,
4136
4136
  spaceSeparated: N
4137
- }, Symbol.toStringTag, { value: "Module" })), Lt = (
4137
+ }, Symbol.toStringTag, { value: "Module" })), Pt = (
4138
4138
  /** @type {ReadonlyArray<keyof typeof types>} */
4139
4139
  Object.keys(tn)
4140
4140
  );
@@ -4155,9 +4155,9 @@ class yn extends V {
4155
4155
  constructor(e, n, r, o) {
4156
4156
  let s = -1;
4157
4157
  if (super(e, n), Yn(this, "space", o), typeof r == "number")
4158
- for (; ++s < Lt.length; ) {
4159
- const a = Lt[s];
4160
- Yn(this, Lt[s], (r & tn[a]) === tn[a]);
4158
+ for (; ++s < Pt.length; ) {
4159
+ const a = Pt[s];
4160
+ Yn(this, Pt[s], (r & tn[a]) === tn[a]);
4161
4161
  }
4162
4162
  }
4163
4163
  }
@@ -5701,10 +5701,10 @@ const bn = _o({
5701
5701
  caption: Tt,
5702
5702
  colgroup: Tt,
5703
5703
  dd: $i,
5704
- dt: Li,
5704
+ dt: Pi,
5705
5705
  head: Tt,
5706
5706
  html: Ri,
5707
- li: Pi,
5707
+ li: Li,
5708
5708
  optgroup: Ti,
5709
5709
  option: Mi,
5710
5710
  p: Ni,
@@ -5734,11 +5734,11 @@ function Ni(t, e, n) {
5734
5734
  return r ? r.type === "element" && (r.tagName === "address" || r.tagName === "article" || r.tagName === "aside" || r.tagName === "blockquote" || r.tagName === "details" || r.tagName === "div" || r.tagName === "dl" || r.tagName === "fieldset" || r.tagName === "figcaption" || r.tagName === "figure" || r.tagName === "footer" || r.tagName === "form" || r.tagName === "h1" || r.tagName === "h2" || r.tagName === "h3" || r.tagName === "h4" || r.tagName === "h5" || r.tagName === "h6" || r.tagName === "header" || r.tagName === "hgroup" || r.tagName === "hr" || r.tagName === "main" || r.tagName === "menu" || r.tagName === "nav" || r.tagName === "ol" || r.tagName === "p" || r.tagName === "pre" || r.tagName === "section" || r.tagName === "table" || r.tagName === "ul") : !n || // Confusing parent.
5735
5735
  !(n.type === "element" && (n.tagName === "a" || n.tagName === "audio" || n.tagName === "del" || n.tagName === "ins" || n.tagName === "map" || n.tagName === "noscript" || n.tagName === "video"));
5736
5736
  }
5737
- function Pi(t, e, n) {
5737
+ function Li(t, e, n) {
5738
5738
  const r = O(n, e);
5739
5739
  return !r || r.type === "element" && r.tagName === "li";
5740
5740
  }
5741
- function Li(t, e, n) {
5741
+ function Pi(t, e, n) {
5742
5742
  const r = O(n, e);
5743
5743
  return !!(r && r.type === "element" && (r.tagName === "dt" || r.tagName === "dd"));
5744
5744
  }
@@ -6114,7 +6114,7 @@ function kt(t, e) {
6114
6114
  function We(t) {
6115
6115
  return Eo.get(t);
6116
6116
  }
6117
- class Pe {
6117
+ class Le {
6118
6118
  /**
6119
6119
  * Theme to Stack mapping
6120
6120
  */
@@ -6133,7 +6133,7 @@ class Pe {
6133
6133
  * Static method to create a initial grammar state.
6134
6134
  */
6135
6135
  static initial(e, n) {
6136
- return new Pe(
6136
+ return new Le(
6137
6137
  Object.fromEntries(il(n).map((r) => [r, Zt])),
6138
6138
  e
6139
6139
  );
@@ -6178,7 +6178,7 @@ function dl(t) {
6178
6178
  return r(t), e;
6179
6179
  }
6180
6180
  function gl(t, e) {
6181
- if (!(t instanceof Pe))
6181
+ if (!(t instanceof Le))
6182
6182
  throw new F("Invalid grammar state");
6183
6183
  return t.getInternalStack(e);
6184
6184
  }
@@ -6586,14 +6586,14 @@ function El(...t) {
6586
6586
  if (o === "ansi")
6587
6587
  throw new F("ANSI language does not have grammar state");
6588
6588
  const { theme: a, colorMap: i } = e.setTheme(s), l = e.getLanguage(o);
6589
- return new Pe(
6589
+ return new Le(
6590
6590
  gt(n, l, a, i, r).stateStack,
6591
6591
  l.name,
6592
6592
  a.name
6593
6593
  );
6594
6594
  }
6595
6595
  function Al(t, e, n, r, o) {
6596
- const s = gt(t, e, n, r, o), a = new Pe(
6596
+ const s = gt(t, e, n, r, o), a = new Le(
6597
6597
  gt(t, e, n, r, o).stateStack,
6598
6598
  e.name,
6599
6599
  n.name
@@ -6636,14 +6636,14 @@ function gt(t, e, n, r, o) {
6636
6636
  o.includeExplanation && (C = e.tokenizeLine(p, u, i), y = C.tokens, m = 0);
6637
6637
  const _ = e.tokenizeLine2(p, u, i), S = _.tokens.length / 2;
6638
6638
  for (let A = 0; A < S; A++) {
6639
- const D = _.tokens[2 * A], P = A + 1 < S ? _.tokens[2 * A + 2] : p.length;
6640
- if (D === P)
6639
+ const D = _.tokens[2 * A], L = A + 1 < S ? _.tokens[2 * A + 2] : p.length;
6640
+ if (D === L)
6641
6641
  continue;
6642
6642
  const j = _.tokens[2 * A + 1], Z = ue(
6643
6643
  r[Re.getForeground(j)],
6644
6644
  s
6645
6645
  ), ee = Re.getFontStyle(j), ce = {
6646
- content: p.substring(D, P),
6646
+ content: p.substring(D, L),
6647
6647
  offset: g + D,
6648
6648
  color: Z,
6649
6649
  fontStyle: ee
@@ -6670,7 +6670,7 @@ function gt(t, e, n, r, o) {
6670
6670
  }
6671
6671
  ce.explanation = [];
6672
6672
  let R = 0;
6673
- for (; D + R < P; ) {
6673
+ for (; D + R < L; ) {
6674
6674
  const k = y[m], G = p.substring(
6675
6675
  k.startIndex,
6676
6676
  k.endIndex
@@ -6704,7 +6704,7 @@ function Il(t, e) {
6704
6704
  const s = e[r];
6705
6705
  n[r] = {
6706
6706
  scopeName: s,
6707
- themeMatches: Pl(t, s, e.slice(0, r))
6707
+ themeMatches: Ll(t, s, e.slice(0, r))
6708
6708
  };
6709
6709
  }
6710
6710
  return n;
@@ -6720,7 +6720,7 @@ function Nl(t, e, n) {
6720
6720
  nr(t[r], n[o]) && (r -= 1), o -= 1;
6721
6721
  return r === -1;
6722
6722
  }
6723
- function Pl(t, e, n) {
6723
+ function Ll(t, e, n) {
6724
6724
  const r = [];
6725
6725
  for (const { selectors: o, settings: s } of t)
6726
6726
  for (const a of o)
@@ -6741,7 +6741,7 @@ function Ro(t, e, n) {
6741
6741
  state: c,
6742
6742
  theme: h
6743
6743
  };
6744
- }), s = Ll(
6744
+ }), s = Pl(
6745
6745
  ...o.map((l) => l.tokens)
6746
6746
  ), a = s[0].map(
6747
6747
  (l, u) => l.map((c, h) => {
@@ -6760,13 +6760,13 @@ function Ro(t, e, n) {
6760
6760
  f.variants[r[p].color] = m;
6761
6761
  }), f;
6762
6762
  })
6763
- ), i = o[0].state ? new Pe(
6763
+ ), i = o[0].state ? new Le(
6764
6764
  Object.fromEntries(o.map((l) => [l.theme, l.state?.getInternalStack(l.theme)])),
6765
6765
  o[0].state.lang
6766
6766
  ) : void 0;
6767
6767
  return i && kt(a, i), a;
6768
6768
  }
6769
- function Ll(...t) {
6769
+ function Pl(...t) {
6770
6770
  const e = t.map(() => []), n = t.length;
6771
6771
  for (let r = 0; r < t[0].length; r++) {
6772
6772
  const o = t.map((l) => l[r]), s = e.map(() => []);
@@ -7370,13 +7370,13 @@ async function Wl(t) {
7370
7370
  getInternalContext: () => e
7371
7371
  };
7372
7372
  }
7373
- function Po(t) {
7374
- return "children" in t ? Lo(t) : "value" in t ? t.value : "";
7373
+ function Lo(t) {
7374
+ return "children" in t ? Po(t) : "value" in t ? t.value : "";
7375
7375
  }
7376
7376
  function Vl(t) {
7377
- return t.type === "text" ? t.value : "children" in t ? Lo(t) : "";
7377
+ return t.type === "text" ? t.value : "children" in t ? Po(t) : "";
7378
7378
  }
7379
- function Lo(t) {
7379
+ function Po(t) {
7380
7380
  let e = -1;
7381
7381
  const n = [];
7382
7382
  for (; ++e < t.children.length; )
@@ -7385,7 +7385,7 @@ function Lo(t) {
7385
7385
  }
7386
7386
  const ql = {
7387
7387
  "tailing-curly-colon": (t, e) => {
7388
- const n = Po(e), r = n.match(/(.+)\{:([\w-]+)\}$/);
7388
+ const n = Lo(e), r = n.match(/(.+)\{:([\w-]+)\}$/);
7389
7389
  if (r)
7390
7390
  return {
7391
7391
  type: "inline",
@@ -7403,7 +7403,7 @@ const ql = {
7403
7403
  return {
7404
7404
  type: "pre",
7405
7405
  lang: typeof o == "string" ? o.slice(ir.length) : void 0,
7406
- code: Po(n),
7406
+ code: Lo(n),
7407
7407
  meta: n.data?.meta ?? n.properties.metastring?.toString() ?? ""
7408
7408
  };
7409
7409
  }, Kl = "language-";
@@ -7471,7 +7471,7 @@ function Yl(t, e) {
7471
7471
  let S, A = !1;
7472
7472
  if (_.lang ? t.getLoadedLanguages().includes(_.lang) || vo(_.lang) ? S = _.lang : c ? (A = !0, S = _.lang) : a && (S = a) : S = s, !S)
7473
7473
  return;
7474
- const D = _.meta ? r?.(_.meta, g, d) : void 0, P = (j) => {
7474
+ const D = _.meta ? r?.(_.meta, g, d) : void 0, L = (j) => {
7475
7475
  const Z = f(j, _.code, _.meta, D ?? {});
7476
7476
  if (Z) {
7477
7477
  if (_.type === "inline") {
@@ -7483,16 +7483,16 @@ function Yl(t, e) {
7483
7483
  };
7484
7484
  if (A)
7485
7485
  try {
7486
- p.push(t.loadLanguage(S).then(() => P(S)));
7486
+ p.push(t.loadLanguage(S).then(() => L(S)));
7487
7487
  } catch (j) {
7488
7488
  if (a)
7489
- return P(a);
7489
+ return L(a);
7490
7490
  if (i)
7491
7491
  i(j);
7492
7492
  else throw j;
7493
7493
  }
7494
7494
  else
7495
- P(S);
7495
+ L(S);
7496
7496
  return "skip";
7497
7497
  }), p.length > 0) {
7498
7498
  async function g() {
@@ -7565,7 +7565,7 @@ function tu(t, e) {
7565
7565
  }
7566
7566
  return n;
7567
7567
  }
7568
- function Le(t) {
7568
+ function Pe(t) {
7569
7569
  if ([...t].length !== 1) throw new Error(`Expected "${t}" to be a single code point`);
7570
7570
  return t.codePointAt(0);
7571
7571
  }
@@ -7697,7 +7697,7 @@ function ou(t, e, n, r) {
7697
7697
  const a = t.singleline ? { "^": B`\A`, $: B`\Z` }[n] : n;
7698
7698
  return { token: ur(a, n) };
7699
7699
  }
7700
- return n === "|" ? { token: iu(n) } : xn.test(n) ? { tokens: xu(n) } : { token: se(Le(n), n) };
7700
+ return n === "|" ? { token: iu(n) } : xn.test(n) ? { tokens: xu(n) } : { token: se(Pe(n), n) };
7701
7701
  }
7702
7702
  function su(t, e, n) {
7703
7703
  const r = [cr(e[1] === "^", e)];
@@ -7722,7 +7722,7 @@ function au(t) {
7722
7722
  if (!e || !vn.has(e.groups.name)) throw new Error(`Invalid POSIX class "${t}"`);
7723
7723
  return ge("posix", t, { value: e.groups.name, negate: !!e.groups.negate });
7724
7724
  }
7725
- return t === "-" ? uu(t) : t === "&&" ? cu(t) : se(Le(t), t);
7725
+ return t === "-" ? uu(t) : t === "&&" ? cu(t) : se(Pe(t), t);
7726
7726
  }
7727
7727
  function Mo(t, { inCharClass: e }) {
7728
7728
  const n = t[1];
@@ -7737,7 +7737,7 @@ function Mo(t, { inCharClass: e }) {
7737
7737
  const r = t.split(/\\x/).slice(1).map((a) => parseInt(a, 16)), o = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }).decode(new Uint8Array(r)), s = new TextEncoder();
7738
7738
  return [...o].map((a) => {
7739
7739
  const i = [...s.encode(a)].map((l) => `\\x${l.toString(16)}`).join("");
7740
- return se(Le(a), i);
7740
+ return se(Pe(a), i);
7741
7741
  });
7742
7742
  } catch {
7743
7743
  throw new Error(`Multibyte code "${t}" incomplete or invalid in Oniguruma`);
@@ -7802,7 +7802,7 @@ const mu = /* @__PURE__ */ new Set(["COUNT", "CMP", "ERROR", "FAIL", "MAX", "MIS
7802
7802
  function yu(t) {
7803
7803
  const e = t[1] === "c" ? t[2] : t[3];
7804
7804
  if (!e || !/[A-Za-z]/.test(e)) throw new Error(`Unsupported control character "${t}"`);
7805
- return se(Le(e.toUpperCase()) - 64, t);
7805
+ return se(Pe(e.toUpperCase()) - 64, t);
7806
7806
  }
7807
7807
  function bu(t, e) {
7808
7808
  let { on: n, off: r } = /^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(t).groups;
@@ -7904,7 +7904,7 @@ function vu(t, e) {
7904
7904
  let u;
7905
7905
  if (i === 0 && l !== "8" && l !== "9") {
7906
7906
  if (u = parseInt(l, 8), u > 127) throw new Error(B`Octal encoded byte above 177 unsupported "${n}"`);
7907
- } else u = Le(l);
7907
+ } else u = Pe(l);
7908
7908
  s.push(se(u, (i === 0 ? "\\" : "") + l));
7909
7909
  }
7910
7910
  return s;
@@ -7953,9 +7953,9 @@ function Fo(t, e = {}) {
7953
7953
  case "CharacterClassHyphen":
7954
7954
  return Nu(p, s, d);
7955
7955
  case "CharacterClassOpen":
7956
- return Pu(p, s, d);
7956
+ return Lu(p, s, d);
7957
7957
  case "CharacterSet":
7958
- return Lu(p, s);
7958
+ return Pu(p, s);
7959
7959
  case "Directive":
7960
7960
  return Gu(p.kind, { flags: p.flags });
7961
7961
  case "GroupOpen":
@@ -8013,9 +8013,9 @@ function Nu(t, e, n) {
8013
8013
  if (a.type === "Character" && l.type === "Character") return s.body.pop(), Du(a, l);
8014
8014
  throw new Error("Invalid character class range");
8015
8015
  }
8016
- return vt(Le("-"));
8016
+ return vt(Pe("-"));
8017
8017
  }
8018
- function Pu({ negate: t }, e, n) {
8018
+ function Lu({ negate: t }, e, n) {
8019
8019
  const { tokens: r, walk: o } = e, s = r[e.nextIndex], a = [st()];
8020
8020
  let i = mr(s);
8021
8021
  for (; i.type !== "CharacterClassClose"; ) {
@@ -8029,7 +8029,7 @@ function Pu({ negate: t }, e, n) {
8029
8029
  const l = st({ negate: t });
8030
8030
  return a.length === 1 ? l.body = a[0].body : (l.kind = "intersection", l.body = a.map((u) => u.body.length === 1 ? u.body[0] : u)), e.nextIndex++, l;
8031
8031
  }
8032
- function Lu({ kind: t, negate: e, value: n }, r) {
8032
+ function Pu({ kind: t, negate: e, value: n }, r) {
8033
8033
  const { normalizeUnknownPropertyNames: o, skipPropertyNameValidation: s, unicodePropertyMap: a } = r;
8034
8034
  if (t === "property") {
8035
8035
  const i = xt(n);
@@ -8381,9 +8381,9 @@ function Ju(t, e) {
8381
8381
  const S = l + u;
8382
8382
  if (t = `${t.slice(0, c)}${s}${t.slice(c + o.length, y)}))<$$${S}>)${t.slice(y + 1)}`, h = !0, i.push(S), qu(n, S), r.size) {
8383
8383
  const A = /* @__PURE__ */ new Map();
8384
- r.forEach((D, P) => {
8384
+ r.forEach((D, L) => {
8385
8385
  A.set(
8386
- P >= S ? P + 1 : P,
8386
+ L >= S ? L + 1 : L,
8387
8387
  D.map((j) => j >= S ? j + 1 : j)
8388
8388
  );
8389
8389
  }), r = A;
@@ -8539,7 +8539,7 @@ function ec(t, e) {
8539
8539
  // gone through conversion from named to numbered, so avoid a misleading error
8540
8540
  `${r === "external" ? "Backrefs" : "Numbered backrefs"} cannot be used with recursion of capturing groups`
8541
8541
  );
8542
- const A = t.slice(_, f.index), D = S.slice(A.length + d.length), P = s.length, j = +y - 1, Z = Cr(
8542
+ const A = t.slice(_, f.index), D = S.slice(A.length + d.length), L = s.length, j = +y - 1, Z = Cr(
8543
8543
  A,
8544
8544
  D,
8545
8545
  j,
@@ -8552,8 +8552,8 @@ function ec(t, e) {
8552
8552
  o,
8553
8553
  A,
8554
8554
  j,
8555
- s.length - P,
8556
- P,
8555
+ s.length - L,
8556
+ L,
8557
8557
  h
8558
8558
  );
8559
8559
  const ee = t.slice(0, _), ce = t.slice(_ + S.length);
@@ -8992,7 +8992,7 @@ var pc = {
8992
8992
  const a = Q();
8993
8993
  a.body[0].body.push(
8994
8994
  jo("greedy", 0, 1 / 0, s)
8995
- ), n(L(a, e), { traverse: !0 });
8995
+ ), n(P(a, e), { traverse: !0 });
8996
8996
  } else
8997
8997
  throw new Error('Unsupported absence function "(?~|"');
8998
8998
  },
@@ -9009,7 +9009,7 @@ var pc = {
9009
9009
  const n = Zo(e.get(t));
9010
9010
  if (n) {
9011
9011
  const r = Q({ flags: n });
9012
- r.body[0].body = t.body, t.body = [L(r, t)];
9012
+ r.body[0].body = t.body, t.body = [P(r, t)];
9013
9013
  }
9014
9014
  }
9015
9015
  }
@@ -9019,20 +9019,20 @@ var pc = {
9019
9019
  if (l === "text_segment_boundary")
9020
9020
  throw new Error(`Unsupported text segment boundary "\\${u ? "Y" : "y"}"`);
9021
9021
  if (l === "line_end")
9022
- a(L(fe({ body: [
9022
+ a(P(fe({ body: [
9023
9023
  me({ body: [on("string_end")] }),
9024
9024
  me({ body: [vt(10)] })
9025
9025
  // `\n`
9026
9026
  ] }), e));
9027
9027
  else if (l === "line_start")
9028
- a(L(oe(v`(?<=\A|\n(?!\z))`, { skipLookbehindValidation: !0 }), e));
9028
+ a(P(oe(v`(?<=\A|\n(?!\z))`, { skipLookbehindValidation: !0 }), e));
9029
9029
  else if (l === "search_start")
9030
9030
  if (f.has(t))
9031
9031
  o.flags.sticky = !0, s();
9032
9032
  else {
9033
9033
  const p = r[n - 1];
9034
9034
  if (p && Cc(p))
9035
- a(L(fe({ negate: !0 }), e));
9035
+ a(P(fe({ negate: !0 }), e));
9036
9036
  else {
9037
9037
  if (h)
9038
9038
  throw new Error(v`Uses "\G" in a way that requires a subclass`);
@@ -9040,11 +9040,11 @@ var pc = {
9040
9040
  }
9041
9041
  }
9042
9042
  else if (!(l === "string_end" || l === "string_start")) if (l === "string_end_newline")
9043
- a(L(oe(v`(?=\n?\z)`), e));
9043
+ a(P(oe(v`(?=\n?\z)`), e));
9044
9044
  else if (l === "word_boundary") {
9045
9045
  if (!d && !c) {
9046
9046
  const p = `(?:(?<=${re})(?!${re})|(?<!${re})(?=${re}))`, g = `(?:(?<=${re})(?=${re})|(?<!${re})(?!${re}))`;
9047
- a(L(oe(u ? g : p), e));
9047
+ a(P(oe(u ? g : p), e));
9048
9048
  }
9049
9049
  } else
9050
9050
  throw new Error(`Unexpected assertion kind "${l}"`);
@@ -9060,7 +9060,7 @@ var pc = {
9060
9060
  CharacterClassRange({ node: t, parent: e, replaceWith: n }) {
9061
9061
  if (e.kind === "intersection") {
9062
9062
  const r = st({ body: [t] });
9063
- n(L(r, e), { traverse: !0 });
9063
+ n(P(r, e), { traverse: !0 });
9064
9064
  }
9065
9065
  },
9066
9066
  CharacterSet({ node: t, parent: e, replaceWith: n }, { accuracy: r, minTargetEs2024: o, digitIsAscii: s, spaceIsAscii: a, wordIsAscii: i }) {
@@ -9070,7 +9070,7 @@ var pc = {
9070
9070
  return;
9071
9071
  }
9072
9072
  if (a && (l === "space" || c === "space")) {
9073
- n(L(Ut(oe(oc), u), e));
9073
+ n(P(Ut(oe(oc), u), e));
9074
9074
  return;
9075
9075
  }
9076
9076
  if (i && (l === "word" || c === "word")) {
@@ -9085,7 +9085,7 @@ var pc = {
9085
9085
  if (r === "strict")
9086
9086
  throw new Error(v`Use of "\X" requires non-strict accuracy`);
9087
9087
  const h = "\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?", f = v`\p{RI}{2}|${h}(?:\u200D${h})*`;
9088
- n(L(oe(
9088
+ n(P(oe(
9089
9089
  // Close approximation of an extended grapheme cluster; see: <unicode.org/reports/tr29/>
9090
9090
  v`(?>\r\n|${o ? v`\p{RGI_Emoji}` : f}|\P{M}\p{M}*)`,
9091
9091
  // Allow JS property `RGI_Emoji` through
@@ -9094,7 +9094,7 @@ var pc = {
9094
9094
  } else if (l === "hex")
9095
9095
  n(le(ke("AHex", { negate: u }), e));
9096
9096
  else if (l === "newline")
9097
- n(L(oe(u ? `[^
9097
+ n(P(oe(u ? `[^
9098
9098
  ]` : `(?>\r
9099
9099
  ?|[
9100
9100
  \v\f…\u2028\u2029])`), e));
@@ -9106,15 +9106,15 @@ var pc = {
9106
9106
  graph: "!-~",
9107
9107
  print: " -~"
9108
9108
  }[c];
9109
- u && (h = `\0-${M(h.codePointAt(0) - 1)}${M(h.codePointAt(2) + 1)}-􏿿`), n(L(oe(`[${h}]`), e));
9109
+ u && (h = `\0-${M(h.codePointAt(0) - 1)}${M(h.codePointAt(2) + 1)}-􏿿`), n(P(oe(`[${h}]`), e));
9110
9110
  } else
9111
- n(L(Ut(oe(uc.get(c)), u), e));
9111
+ n(P(Ut(oe(uc.get(c)), u), e));
9112
9112
  else if (l === "property")
9113
9113
  An.has(xt(c)) || (t.key = "sc");
9114
9114
  else if (l === "space")
9115
9115
  n(le(ke("space", { negate: u }), e));
9116
9116
  else if (l === "word")
9117
- n(L(Ut(oe(re), u), e));
9117
+ n(P(Ut(oe(re), u), e));
9118
9118
  else
9119
9119
  throw new Error(`Unexpected character set kind "${l}"`);
9120
9120
  },
@@ -9125,7 +9125,7 @@ var pc = {
9125
9125
  r();
9126
9126
  else {
9127
9127
  const u = Q({ flags: l });
9128
- u.body[0].body = a(), o(L(u, e), { traverse: !0 });
9128
+ u.body[0].body = a(), o(P(u, e), { traverse: !0 });
9129
9129
  }
9130
9130
  else if (i === "keep") {
9131
9131
  const u = n.body[0], h = n.body.length === 1 && // Not emulatable if within a `CapturingGroup`
@@ -9133,7 +9133,7 @@ var pc = {
9133
9133
  if (e.parent !== h || h.body.length > 1)
9134
9134
  throw new Error(v`Uses "\K" in a way that's unsupported`);
9135
9135
  const f = fe({ behind: !0 });
9136
- f.body[0].body = s(), o(L(f, e));
9136
+ f.body[0].body = s(), o(P(f, e));
9137
9137
  } else
9138
9138
  throw new Error(`Unexpected directive kind "${i}"`);
9139
9139
  },
@@ -9198,14 +9198,14 @@ var pc = {
9198
9198
  NamedCallout({ node: t, parent: e, replaceWith: n }) {
9199
9199
  const { kind: r } = t;
9200
9200
  if (r === "fail")
9201
- n(L(fe({ negate: !0 }), e));
9201
+ n(P(fe({ negate: !0 }), e));
9202
9202
  else
9203
9203
  throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`);
9204
9204
  },
9205
9205
  Quantifier({ node: t }) {
9206
9206
  if (t.body.type === "Quantifier") {
9207
9207
  const e = Q();
9208
- e.body[0].body.push(t.body), t.body = L(e, t);
9208
+ e.body[0].body.push(t.body), t.body = P(e, t);
9209
9209
  }
9210
9210
  },
9211
9211
  Regex: {
@@ -9318,7 +9318,7 @@ var pc = {
9318
9318
  flags: bc(h)
9319
9319
  }), u.body[0].body.push(l));
9320
9320
  }
9321
- n(L(u, e), { traverse: !i });
9321
+ n(P(u, e), { traverse: !i });
9322
9322
  }
9323
9323
  }, dc = {
9324
9324
  Backreference({ node: t, parent: e, replaceWith: n }, r) {
@@ -9328,7 +9328,7 @@ var pc = {
9328
9328
  }
9329
9329
  const s = r.reffedNodesByReferencer.get(t).filter((a) => mc(a, t));
9330
9330
  if (!s.length)
9331
- n(L(fe({ negate: !0 }), e));
9331
+ n(P(fe({ negate: !0 }), e));
9332
9332
  else if (s.length > 1) {
9333
9333
  const a = Q({
9334
9334
  atomic: !0,
@@ -9336,7 +9336,7 @@ var pc = {
9336
9336
  body: [sn(i.number)]
9337
9337
  }))
9338
9338
  });
9339
- n(L(a, e));
9339
+ n(P(a, e));
9340
9340
  } else
9341
9341
  t.ref = s[0].number;
9342
9342
  },
@@ -9491,7 +9491,7 @@ function Ut(t, e) {
9491
9491
  function le(t, e) {
9492
9492
  return t.parent = e, t;
9493
9493
  }
9494
- function L(t, e) {
9494
+ function P(t, e) {
9495
9495
  return Yo(t), t.parent = e, t;
9496
9496
  }
9497
9497
  function Sc(t, e) {
@@ -9746,7 +9746,7 @@ var kc = {
9746
9746
  @param {QuantifierNode} node
9747
9747
  */
9748
9748
  Quantifier(t, e, n) {
9749
- return n(t.body) + Pc(t);
9749
+ return n(t.body) + Lc(t);
9750
9750
  },
9751
9751
  /**
9752
9752
  @param {SubroutineNode & {isRecursive: true}} node
@@ -9856,7 +9856,7 @@ function _e(t, { escDigit: e, inCharClass: n, useFlagV: r }) {
9856
9856
  // Control chars, etc.; condition modeled on the Chrome developer console's display for strings
9857
9857
  t < 32 || t > 126 && t < 160 || // Unicode planes 4-16; unassigned, special purpose, and private use area
9858
9858
  t > 262143 || // Avoid corrupting a preceding backref by immediately following it with a literal digit
9859
- e && Lc(t)
9859
+ e && Pc(t)
9860
9860
  )
9861
9861
  return t > 255 ? `\\u{${t.toString(16).toUpperCase()}}` : `\\x${t.toString(16).toUpperCase().padStart(2, "0")}`;
9862
9862
  const o = n ? r ? Ac : Ec : xc, s = M(t);
@@ -9879,7 +9879,7 @@ function Nc(t, e, n) {
9879
9879
  }
9880
9880
  return `${r}:`;
9881
9881
  }
9882
- function Pc({ kind: t, max: e, min: n }) {
9882
+ function Lc({ kind: t, max: e, min: n }) {
9883
9883
  let r;
9884
9884
  return !n && e === 1 ? r = "?" : !n && e === 1 / 0 ? r = "*" : n === 1 && e === 1 / 0 ? r = "+" : n === e ? r = `{${n}}` : r = `{${n},${e === 1 / 0 ? "" : e}}`, r + {
9885
9885
  greedy: "",
@@ -9890,7 +9890,7 @@ function Pc({ kind: t, max: e, min: n }) {
9890
9890
  function Er({ type: t }) {
9891
9891
  return t === "CapturingGroup" || t === "Group" || t === "LookaroundAssertion";
9892
9892
  }
9893
- function Lc(t) {
9893
+ function Pc(t) {
9894
9894
  return t > 47 && t < 58;
9895
9895
  }
9896
9896
  function Ar({ type: t, value: e }) {
@@ -10224,6 +10224,8 @@ const Uc = jc({ forgiving: !0 }), zc = await Wl({
10224
10224
  dark: "github-dark"
10225
10225
  },
10226
10226
  defaultColor: !1,
10227
+ defaultLanguage: "text",
10228
+ fallbackLanguage: "text",
10227
10229
  inline: "tailing-curly-colon",
10228
10230
  addLanguageClass: !0,
10229
10231
  transformers: [Zl(), eu()],
@@ -10283,7 +10285,7 @@ export {
10283
10285
  Fn as E,
10284
10286
  Vc as S,
10285
10287
  H as V,
10286
- Ps as a,
10288
+ Ls as a,
10287
10289
  ih as b,
10288
10290
  ah as c,
10289
10291
  nh as d,
@@ -10297,10 +10299,10 @@ export {
10297
10299
  ch as l,
10298
10300
  eh as o,
10299
10301
  Fr as p,
10300
- Ls as s,
10302
+ Ps as s,
10301
10303
  Ds as t,
10302
10304
  th as u,
10303
10305
  qr as v,
10304
10306
  la as z
10305
10307
  };
10306
- //# sourceMappingURL=SyntaxHighlight-BMKR4pl6.js.map
10308
+ //# sourceMappingURL=SyntaxHighlight-BaPoOBLD.js.map