@mhmo91/schmancy 0.9.18 → 0.9.20

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 (78) hide show
  1. package/dist/agent/{flow-CaPi2G8y.js.map → flow-3RrZM-e7.js.map} +1 -1
  2. package/dist/agent/index.es-Dymj8REP.js +489 -0
  3. package/dist/agent/index.es-Dymj8REP.js.map +1 -0
  4. package/dist/agent/{rolldown-runtime-DsMetpgY.js → rolldown-runtime-BIIoCavz.js} +9 -2
  5. package/dist/agent/schmancy.agent.js +3330 -3805
  6. package/dist/agent/schmancy.agent.js.map +1 -1
  7. package/dist/agent/{vendor-highlight-CHJZQQB7.js → vendor-highlight-BmnMldIa.js} +90 -85
  8. package/dist/agent/{vendor-highlight-CHJZQQB7.js.map → vendor-highlight-BmnMldIa.js.map} +1 -1
  9. package/dist/agent/{vendor-jsqr-r7GNh4P3.js → vendor-jsqr-1wQ5xc49.js} +1 -1
  10. package/dist/agent/{vendor-jsqr-r7GNh4P3.js.map → vendor-jsqr-1wQ5xc49.js.map} +1 -1
  11. package/dist/agent/{vendor-material-color-Be96dpGE.js.map → vendor-material-color-33Mj762T.js.map} +1 -1
  12. package/dist/badge.cjs +1 -1
  13. package/dist/badge.js +1 -1
  14. package/dist/{code-highlight-zSYcSfCz.cjs → code-highlight-B_l8vDzn.cjs} +11 -11
  15. package/dist/code-highlight-B_l8vDzn.cjs.map +1 -0
  16. package/dist/{code-highlight-BgExKEto.js → code-highlight-CI_gqXYX.js} +30 -22
  17. package/dist/code-highlight-CI_gqXYX.js.map +1 -0
  18. package/dist/code-highlight.cjs +1 -1
  19. package/dist/code-highlight.js +1 -1
  20. package/dist/content-drawer.cjs +1 -1
  21. package/dist/content-drawer.js +1 -1
  22. package/dist/{flow-BGkHnOnd.js.map → flow-BPDtbhLe.js.map} +1 -1
  23. package/dist/{flow-ClAJ6Qby.cjs.map → flow-Dn9AZktE.cjs.map} +1 -1
  24. package/dist/handover/agent-runtime-followups.md +1 -1
  25. package/dist/handover/agent-runtime-v1.md +3 -3
  26. package/dist/index.cjs +1 -1
  27. package/dist/index.es-BgmFX1JM.cjs +1 -0
  28. package/dist/index.es-BgmFX1JM.cjs.map +1 -0
  29. package/dist/index.es-CLyb_o3Y.js +489 -0
  30. package/dist/index.es-CLyb_o3Y.js.map +1 -0
  31. package/dist/index.js +5 -5
  32. package/dist/nav-drawer.cjs +1 -1
  33. package/dist/nav-drawer.js +1 -1
  34. package/dist/navigation-bar.cjs +1 -1
  35. package/dist/navigation-bar.js +1 -1
  36. package/dist/{splash-screen-COg3Z6n8.js.map → splash-screen-BHgb3c3Q.js.map} +1 -1
  37. package/dist/{splash-screen-C9HqX2nR.cjs.map → splash-screen-DteUfSV3.cjs.map} +1 -1
  38. package/dist/splash-screen.cjs +1 -1
  39. package/dist/splash-screen.js +1 -1
  40. package/dist/{src-C7niWYur.js → src-Dw-PjtMH.js} +5 -5
  41. package/dist/{src-C7niWYur.js.map → src-Dw-PjtMH.js.map} +1 -1
  42. package/dist/{src-I4M33WK2.cjs → src-sG7Ihf0e.cjs} +1 -1
  43. package/dist/{src-I4M33WK2.cjs.map → src-sG7Ihf0e.cjs.map} +1 -1
  44. package/dist/{table-B-DsOqzT.cjs → table-DFlJhG5E.cjs} +1 -1
  45. package/dist/{table-B-DsOqzT.cjs.map → table-DFlJhG5E.cjs.map} +1 -1
  46. package/dist/{table-hBEZRxM_.js → table-Dwt66SR6.js} +1 -1
  47. package/dist/{table-hBEZRxM_.js.map → table-Dwt66SR6.js.map} +1 -1
  48. package/dist/table.cjs +1 -1
  49. package/dist/table.js +1 -1
  50. package/dist/teleport.cjs +1 -1
  51. package/dist/teleport.js +1 -1
  52. package/dist/typewriter.cjs +123 -1
  53. package/dist/typewriter.cjs.map +1 -0
  54. package/dist/typewriter.js +214 -2
  55. package/dist/typewriter.js.map +1 -0
  56. package/dist/{utils-xBXLvebz.js.map → utils-Bp2jhyZc.js.map} +1 -1
  57. package/dist/{utils-2qrmPb78.cjs.map → utils-CBPQvxNW.cjs.map} +1 -1
  58. package/dist/utils.cjs +1 -1
  59. package/dist/utils.js +1 -1
  60. package/package.json +1 -1
  61. package/src/code-highlight/code-highlight.ts +56 -24
  62. package/src/typewriter/typewriter.ts +26 -4
  63. package/types/src/code-highlight/code-highlight.d.ts +8 -1
  64. package/types/src/typewriter/typewriter.d.ts +4 -1
  65. package/dist/code-highlight-BgExKEto.js.map +0 -1
  66. package/dist/code-highlight-zSYcSfCz.cjs.map +0 -1
  67. package/dist/typewriter-DyN7xa0n.js +0 -701
  68. package/dist/typewriter-DyN7xa0n.js.map +0 -1
  69. package/dist/typewriter-LK0S4NEr.cjs +0 -123
  70. package/dist/typewriter-LK0S4NEr.cjs.map +0 -1
  71. /package/dist/agent/{flow-CaPi2G8y.js → flow-3RrZM-e7.js} +0 -0
  72. /package/dist/agent/{vendor-material-color-Be96dpGE.js → vendor-material-color-33Mj762T.js} +0 -0
  73. /package/dist/{flow-BGkHnOnd.js → flow-BPDtbhLe.js} +0 -0
  74. /package/dist/{flow-ClAJ6Qby.cjs → flow-Dn9AZktE.cjs} +0 -0
  75. /package/dist/{splash-screen-COg3Z6n8.js → splash-screen-BHgb3c3Q.js} +0 -0
  76. /package/dist/{splash-screen-C9HqX2nR.cjs → splash-screen-DteUfSV3.cjs} +0 -0
  77. /package/dist/{utils-xBXLvebz.js → utils-Bp2jhyZc.js} +0 -0
  78. /package/dist/{utils-2qrmPb78.cjs → utils-CBPQvxNW.cjs} +0 -0
@@ -1,5 +1,5 @@
1
- import { n as e, t } from "./rolldown-runtime-DsMetpgY.js";
2
- var n = e(t((e, t) => {
1
+ import { n as e, r as t, t as n } from "./rolldown-runtime-BIIoCavz.js";
2
+ var r = n((e, t) => {
3
3
  function n(e) {
4
4
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
5
5
  throw Error("map is read-only");
@@ -795,8 +795,11 @@ var n = e(t((e, t) => {
795
795
  return Object.assign(e, I), e;
796
796
  }, $ = Q({});
797
797
  $.newInstance = () => Q({}), t.exports = $, $.HighlightJS = $, $.default = $;
798
- })()).default;
799
- function r(e) {
798
+ }), i = e({
799
+ HighlightJS: () => a.default,
800
+ default: () => o
801
+ }), a = t(r()), o = a.default, s = e({ default: () => c });
802
+ function c(e) {
800
803
  let t = e.regex, n = {}, r = {
801
804
  begin: /\$\{/,
802
805
  end: /\}/,
@@ -913,14 +916,14 @@ function r(e) {
913
916
  ]
914
917
  };
915
918
  }
916
- var i = "[A-Za-z$_][0-9A-Za-z$_]*", a = /* @__PURE__ */ "as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using".split("."), o = [
919
+ var l = e({ default: () => v }), u = "[A-Za-z$_][0-9A-Za-z$_]*", d = /* @__PURE__ */ "as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using".split("."), f = [
917
920
  "true",
918
921
  "false",
919
922
  "null",
920
923
  "undefined",
921
924
  "NaN",
922
925
  "Infinity"
923
- ], s = /* @__PURE__ */ "Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly".split("."), c = [
926
+ ], p = /* @__PURE__ */ "Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly".split("."), m = [
924
927
  "Error",
925
928
  "EvalError",
926
929
  "InternalError",
@@ -929,7 +932,7 @@ var i = "[A-Za-z$_][0-9A-Za-z$_]*", a = /* @__PURE__ */ "as.in.of.if.for.while.f
929
932
  "SyntaxError",
930
933
  "TypeError",
931
934
  "URIError"
932
- ], l = [
935
+ ], h = [
933
936
  "setInterval",
934
937
  "setTimeout",
935
938
  "clearInterval",
@@ -947,7 +950,7 @@ var i = "[A-Za-z$_][0-9A-Za-z$_]*", a = /* @__PURE__ */ "as.in.of.if.for.while.f
947
950
  "encodeURIComponent",
948
951
  "escape",
949
952
  "unescape"
950
- ], u = [
953
+ ], g = [
951
954
  "arguments",
952
955
  "this",
953
956
  "super",
@@ -958,9 +961,9 @@ var i = "[A-Za-z$_][0-9A-Za-z$_]*", a = /* @__PURE__ */ "as.in.of.if.for.while.f
958
961
  "sessionStorage",
959
962
  "module",
960
963
  "global"
961
- ], d = [].concat(l, s, c);
962
- function f(e) {
963
- let t = e.regex, n = i, r = {
964
+ ], _ = [].concat(h, p, m);
965
+ function v(e) {
966
+ let t = e.regex, n = u, r = {
964
967
  begin: /<[A-Za-z0-9\\._:-]+/,
965
968
  end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
966
969
  isTrulyOpeningTag: (e, t) => {
@@ -974,17 +977,17 @@ function f(e) {
974
977
  let a = e.input.substring(n);
975
978
  ((i = a.match(/^\s*=/)) || (i = a.match(/^\s+extends\s+/)) && i.index === 0) && t.ignoreMatch();
976
979
  }
977
- }, f = {
978
- $pattern: i,
979
- keyword: a,
980
- literal: o,
981
- built_in: d,
982
- "variable.language": u
983
- }, p = "[0-9](_?[0-9])*", m = `\\.(${p})`, h = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", g = {
980
+ }, i = {
981
+ $pattern: u,
982
+ keyword: d,
983
+ literal: f,
984
+ built_in: _,
985
+ "variable.language": g
986
+ }, a = "[0-9](_?[0-9])*", o = `\\.(${a})`, s = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", c = {
984
987
  className: "number",
985
988
  variants: [
986
- { begin: `(\\b(${h})((${m})|\\.)?|(${m}))[eE][+-]?(${p})\\b` },
987
- { begin: `\\b(${h})\\b((${m})\\b|\\.)?|(${m})\\b` },
989
+ { begin: `(\\b(${s})((${o})|\\.)?|(${o}))[eE][+-]?(${a})\\b` },
990
+ { begin: `\\b(${s})\\b((${o})\\b|\\.)?|(${o})\\b` },
988
991
  { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
989
992
  { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
990
993
  { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
@@ -992,11 +995,11 @@ function f(e) {
992
995
  { begin: "\\b0[0-7]+n?\\b" }
993
996
  ],
994
997
  relevance: 0
995
- }, _ = {
998
+ }, l = {
996
999
  className: "subst",
997
1000
  begin: "\\$\\{",
998
1001
  end: "\\}",
999
- keywords: f,
1002
+ keywords: i,
1000
1003
  contains: []
1001
1004
  }, v = {
1002
1005
  begin: ".?html`",
@@ -1004,7 +1007,7 @@ function f(e) {
1004
1007
  starts: {
1005
1008
  end: "`",
1006
1009
  returnEnd: !1,
1007
- contains: [e.BACKSLASH_ESCAPE, _],
1010
+ contains: [e.BACKSLASH_ESCAPE, l],
1008
1011
  subLanguage: "xml"
1009
1012
  }
1010
1013
  }, y = {
@@ -1013,7 +1016,7 @@ function f(e) {
1013
1016
  starts: {
1014
1017
  end: "`",
1015
1018
  returnEnd: !1,
1016
- contains: [e.BACKSLASH_ESCAPE, _],
1019
+ contains: [e.BACKSLASH_ESCAPE, l],
1017
1020
  subLanguage: "css"
1018
1021
  }
1019
1022
  }, b = {
@@ -1022,14 +1025,14 @@ function f(e) {
1022
1025
  starts: {
1023
1026
  end: "`",
1024
1027
  returnEnd: !1,
1025
- contains: [e.BACKSLASH_ESCAPE, _],
1028
+ contains: [e.BACKSLASH_ESCAPE, l],
1026
1029
  subLanguage: "graphql"
1027
1030
  }
1028
1031
  }, x = {
1029
1032
  className: "string",
1030
1033
  begin: "`",
1031
1034
  end: "`",
1032
- contains: [e.BACKSLASH_ESCAPE, _]
1035
+ contains: [e.BACKSLASH_ESCAPE, l]
1033
1036
  }, S = {
1034
1037
  className: "comment",
1035
1038
  variants: [
@@ -1075,18 +1078,18 @@ function f(e) {
1075
1078
  b,
1076
1079
  x,
1077
1080
  { match: /\$\d+/ },
1078
- g
1081
+ c
1079
1082
  ];
1080
- _.contains = C.concat({
1083
+ l.contains = C.concat({
1081
1084
  begin: /\{/,
1082
1085
  end: /\}/,
1083
- keywords: f,
1086
+ keywords: i,
1084
1087
  contains: ["self"].concat(C)
1085
1088
  });
1086
- let w = [].concat(S, _.contains), T = w.concat([{
1089
+ let w = [].concat(S, l.contains), T = w.concat([{
1087
1090
  begin: /(\s*)\(/,
1088
1091
  end: /\)/,
1089
- keywords: f,
1092
+ keywords: i,
1090
1093
  contains: ["self"].concat(w)
1091
1094
  }]), E = {
1092
1095
  className: "params",
@@ -1094,7 +1097,7 @@ function f(e) {
1094
1097
  end: /\)/,
1095
1098
  excludeBegin: !0,
1096
1099
  excludeEnd: !0,
1097
- keywords: f,
1100
+ keywords: i,
1098
1101
  contains: T
1099
1102
  }, D = { variants: [{
1100
1103
  match: [
@@ -1126,7 +1129,7 @@ function f(e) {
1126
1129
  relevance: 0,
1127
1130
  match: t.either(/\bJSON/, /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),
1128
1131
  className: "title.class",
1129
- keywords: { _: [...s, ...c] }
1132
+ keywords: { _: [...p, ...m] }
1130
1133
  }, k = {
1131
1134
  variants: [{ match: [
1132
1135
  /function/,
@@ -1143,7 +1146,7 @@ function f(e) {
1143
1146
  illegal: /%/
1144
1147
  }, A = {
1145
1148
  match: t.concat(/\b/, (j = [
1146
- ...l,
1149
+ ...h,
1147
1150
  "super",
1148
1151
  "import"
1149
1152
  ].map((e) => `${e}\\s*\\(`), t.concat("(?!", j.join("|"), ")")), n, t.lookahead(/\s*\(/)),
@@ -1195,7 +1198,7 @@ function f(e) {
1195
1198
  "mjs",
1196
1199
  "cjs"
1197
1200
  ],
1198
- keywords: f,
1201
+ keywords: i,
1199
1202
  exports: {
1200
1203
  PARAMS_CONTAINS: T,
1201
1204
  CLASS_REFERENCE: O
@@ -1221,7 +1224,7 @@ function f(e) {
1221
1224
  x,
1222
1225
  S,
1223
1226
  { match: /\$\d+/ },
1224
- g,
1227
+ c,
1225
1228
  O,
1226
1229
  {
1227
1230
  scope: "attr",
@@ -1258,7 +1261,7 @@ function f(e) {
1258
1261
  end: /\)/,
1259
1262
  excludeBegin: !0,
1260
1263
  excludeEnd: !0,
1261
- keywords: f,
1264
+ keywords: i,
1262
1265
  contains: T
1263
1266
  }
1264
1267
  ]
@@ -1332,7 +1335,8 @@ function f(e) {
1332
1335
  ]
1333
1336
  };
1334
1337
  }
1335
- function p(e) {
1338
+ var y = e({ default: () => b });
1339
+ function b(e) {
1336
1340
  let t = {
1337
1341
  begin: /<\/?[A-Za-z_]/,
1338
1342
  end: ">",
@@ -1510,14 +1514,14 @@ function p(e) {
1510
1514
  ]
1511
1515
  };
1512
1516
  }
1513
- var m = "[A-Za-z$_][0-9A-Za-z$_]*", h = /* @__PURE__ */ "as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using".split("."), g = [
1517
+ var x = e({ default: () => j }), S = "[A-Za-z$_][0-9A-Za-z$_]*", C = /* @__PURE__ */ "as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using".split("."), w = [
1514
1518
  "true",
1515
1519
  "false",
1516
1520
  "null",
1517
1521
  "undefined",
1518
1522
  "NaN",
1519
1523
  "Infinity"
1520
- ], _ = /* @__PURE__ */ "Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly".split("."), v = [
1524
+ ], T = /* @__PURE__ */ "Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly".split("."), E = [
1521
1525
  "Error",
1522
1526
  "EvalError",
1523
1527
  "InternalError",
@@ -1526,7 +1530,7 @@ var m = "[A-Za-z$_][0-9A-Za-z$_]*", h = /* @__PURE__ */ "as.in.of.if.for.while.f
1526
1530
  "SyntaxError",
1527
1531
  "TypeError",
1528
1532
  "URIError"
1529
- ], y = [
1533
+ ], D = [
1530
1534
  "setInterval",
1531
1535
  "setTimeout",
1532
1536
  "clearInterval",
@@ -1544,7 +1548,7 @@ var m = "[A-Za-z$_][0-9A-Za-z$_]*", h = /* @__PURE__ */ "as.in.of.if.for.while.f
1544
1548
  "encodeURIComponent",
1545
1549
  "escape",
1546
1550
  "unescape"
1547
- ], b = [
1551
+ ], O = [
1548
1552
  "arguments",
1549
1553
  "this",
1550
1554
  "super",
@@ -1555,9 +1559,9 @@ var m = "[A-Za-z$_][0-9A-Za-z$_]*", h = /* @__PURE__ */ "as.in.of.if.for.while.f
1555
1559
  "sessionStorage",
1556
1560
  "module",
1557
1561
  "global"
1558
- ], x = [].concat(y, _, v);
1559
- function S(e) {
1560
- let t = e.regex, n = m, r = {
1562
+ ], k = [].concat(D, T, E);
1563
+ function A(e) {
1564
+ let t = e.regex, n = S, r = {
1561
1565
  begin: /<[A-Za-z0-9\\._:-]+/,
1562
1566
  end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
1563
1567
  isTrulyOpeningTag: (e, t) => {
@@ -1572,11 +1576,11 @@ function S(e) {
1572
1576
  ((i = a.match(/^\s*=/)) || (i = a.match(/^\s+extends\s+/)) && i.index === 0) && t.ignoreMatch();
1573
1577
  }
1574
1578
  }, i = {
1575
- $pattern: m,
1576
- keyword: h,
1577
- literal: g,
1578
- built_in: x,
1579
- "variable.language": b
1579
+ $pattern: S,
1580
+ keyword: C,
1581
+ literal: w,
1582
+ built_in: k,
1583
+ "variable.language": O
1580
1584
  }, a = "[0-9](_?[0-9])*", o = `\\.(${a})`, s = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", c = {
1581
1585
  className: "number",
1582
1586
  variants: [
@@ -1627,7 +1631,7 @@ function S(e) {
1627
1631
  begin: "`",
1628
1632
  end: "`",
1629
1633
  contains: [e.BACKSLASH_ESCAPE, l]
1630
- }, S = {
1634
+ }, m = {
1631
1635
  className: "comment",
1632
1636
  variants: [
1633
1637
  e.COMMENT(/\/\*\*(?!\/)/, "\\*/", {
@@ -1664,7 +1668,7 @@ function S(e) {
1664
1668
  e.C_BLOCK_COMMENT_MODE,
1665
1669
  e.C_LINE_COMMENT_MODE
1666
1670
  ]
1667
- }, C = [
1671
+ }, h = [
1668
1672
  e.APOS_STRING_MODE,
1669
1673
  e.QUOTE_STRING_MODE,
1670
1674
  u,
@@ -1674,26 +1678,26 @@ function S(e) {
1674
1678
  { match: /\$\d+/ },
1675
1679
  c
1676
1680
  ];
1677
- l.contains = C.concat({
1681
+ l.contains = h.concat({
1678
1682
  begin: /\{/,
1679
1683
  end: /\}/,
1680
1684
  keywords: i,
1681
- contains: ["self"].concat(C)
1685
+ contains: ["self"].concat(h)
1682
1686
  });
1683
- let w = [].concat(S, l.contains), T = w.concat([{
1687
+ let g = [].concat(m, l.contains), _ = g.concat([{
1684
1688
  begin: /(\s*)\(/,
1685
1689
  end: /\)/,
1686
1690
  keywords: i,
1687
- contains: ["self"].concat(w)
1688
- }]), E = {
1691
+ contains: ["self"].concat(g)
1692
+ }]), v = {
1689
1693
  className: "params",
1690
1694
  begin: /(\s*)\(/,
1691
1695
  end: /\)/,
1692
1696
  excludeBegin: !0,
1693
1697
  excludeEnd: !0,
1694
1698
  keywords: i,
1695
- contains: T
1696
- }, D = { variants: [{
1699
+ contains: _
1700
+ }, y = { variants: [{
1697
1701
  match: [
1698
1702
  /class/,
1699
1703
  /\s+/,
@@ -1719,12 +1723,12 @@ function S(e) {
1719
1723
  1: "keyword",
1720
1724
  3: "title.class"
1721
1725
  }
1722
- }] }, O = {
1726
+ }] }, b = {
1723
1727
  relevance: 0,
1724
1728
  match: t.either(/\bJSON/, /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),
1725
1729
  className: "title.class",
1726
- keywords: { _: [..._, ...v] }
1727
- }, k = {
1730
+ keywords: { _: [...T, ...E] }
1731
+ }, x = {
1728
1732
  variants: [{ match: [
1729
1733
  /function/,
1730
1734
  /\s+/,
@@ -1736,11 +1740,11 @@ function S(e) {
1736
1740
  3: "title.function"
1737
1741
  },
1738
1742
  label: "func.def",
1739
- contains: [E],
1743
+ contains: [v],
1740
1744
  illegal: /%/
1741
1745
  }, A = {
1742
1746
  match: t.concat(/\b/, (j = [
1743
- ...y,
1747
+ ...D,
1744
1748
  "super",
1745
1749
  "import"
1746
1750
  ].map((e) => `${e}\\s*\\(`), t.concat("(?!", j.join("|"), ")")), n, t.lookahead(/\s*\(/)),
@@ -1766,7 +1770,7 @@ function S(e) {
1766
1770
  1: "keyword",
1767
1771
  3: "title.function"
1768
1772
  },
1769
- contains: [{ begin: /\(\)/ }, E]
1773
+ contains: [{ begin: /\(\)/ }, v]
1770
1774
  }, P = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + e.UNDERSCORE_IDENT_RE + ")\\s*=>", F = {
1771
1775
  match: [
1772
1776
  /const|var|let/,
@@ -1782,7 +1786,7 @@ function S(e) {
1782
1786
  1: "keyword",
1783
1787
  3: "title.function"
1784
1788
  },
1785
- contains: [E]
1789
+ contains: [v]
1786
1790
  };
1787
1791
  return {
1788
1792
  name: "JavaScript",
@@ -1794,8 +1798,8 @@ function S(e) {
1794
1798
  ],
1795
1799
  keywords: i,
1796
1800
  exports: {
1797
- PARAMS_CONTAINS: T,
1798
- CLASS_REFERENCE: O
1801
+ PARAMS_CONTAINS: _,
1802
+ CLASS_REFERENCE: b
1799
1803
  },
1800
1804
  illegal: /#(?![$_A-z])/,
1801
1805
  contains: [
@@ -1816,10 +1820,10 @@ function S(e) {
1816
1820
  d,
1817
1821
  f,
1818
1822
  p,
1819
- S,
1823
+ m,
1820
1824
  { match: /\$\d+/ },
1821
1825
  c,
1822
- O,
1826
+ b,
1823
1827
  {
1824
1828
  scope: "attr",
1825
1829
  match: n + t.lookahead(":"),
@@ -1831,7 +1835,7 @@ function S(e) {
1831
1835
  keywords: "return throw case",
1832
1836
  relevance: 0,
1833
1837
  contains: [
1834
- S,
1838
+ m,
1835
1839
  e.REGEXP_MODE,
1836
1840
  {
1837
1841
  className: "function",
@@ -1856,7 +1860,7 @@ function S(e) {
1856
1860
  excludeBegin: !0,
1857
1861
  excludeEnd: !0,
1858
1862
  keywords: i,
1859
- contains: T
1863
+ contains: _
1860
1864
  }
1861
1865
  ]
1862
1866
  }]
@@ -1892,13 +1896,13 @@ function S(e) {
1892
1896
  }
1893
1897
  ]
1894
1898
  },
1895
- k,
1899
+ x,
1896
1900
  { beginKeywords: "while if switch catch for" },
1897
1901
  {
1898
1902
  begin: "\\b(?!function)" + e.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
1899
1903
  returnBegin: !0,
1900
1904
  label: "func.def",
1901
- contains: [E, e.inherit(e.TITLE_MODE, {
1905
+ contains: [v, e.inherit(e.TITLE_MODE, {
1902
1906
  begin: n,
1903
1907
  className: "title.function"
1904
1908
  })]
@@ -1915,7 +1919,7 @@ function S(e) {
1915
1919
  {
1916
1920
  match: [/\bconstructor(?=\s*\()/],
1917
1921
  className: { 1: "title.function" },
1918
- contains: [E]
1922
+ contains: [v]
1919
1923
  },
1920
1924
  A,
1921
1925
  {
@@ -1923,14 +1927,14 @@ function S(e) {
1923
1927
  match: /\b[A-Z][A-Z_0-9]+\b/,
1924
1928
  className: "variable.constant"
1925
1929
  },
1926
- D,
1930
+ y,
1927
1931
  N,
1928
1932
  { match: /\$[(.]/ }
1929
1933
  ]
1930
1934
  };
1931
1935
  }
1932
- function C(e) {
1933
- let t = e.regex, n = S(e), r = m, i = [
1936
+ function j(e) {
1937
+ let t = e.regex, n = A(e), r = S, i = [
1934
1938
  "any",
1935
1939
  "void",
1936
1940
  "number",
@@ -1961,8 +1965,8 @@ function C(e) {
1961
1965
  },
1962
1966
  contains: [n.exports.CLASS_REFERENCE]
1963
1967
  }, s = {
1964
- $pattern: m,
1965
- keyword: h.concat([
1968
+ $pattern: S,
1969
+ keyword: C.concat([
1966
1970
  "type",
1967
1971
  "interface",
1968
1972
  "public",
@@ -1976,9 +1980,9 @@ function C(e) {
1976
1980
  "override",
1977
1981
  "satisfies"
1978
1982
  ]),
1979
- literal: g,
1980
- built_in: x.concat(i),
1981
- "variable.language": b
1983
+ literal: w,
1984
+ built_in: k.concat(i),
1985
+ "variable.language": O
1982
1986
  }, c = {
1983
1987
  className: "meta",
1984
1988
  begin: "@" + r
@@ -2012,7 +2016,8 @@ function C(e) {
2012
2016
  ]
2013
2017
  }), n;
2014
2018
  }
2015
- function w(e) {
2019
+ var M = e({ default: () => N });
2020
+ function N(e) {
2016
2021
  let t = e.regex, n = t.concat(/[\p{L}_]/u, t.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), r = {
2017
2022
  className: "symbol",
2018
2023
  begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
@@ -2175,4 +2180,4 @@ function w(e) {
2175
2180
  ]
2176
2181
  };
2177
2182
  }
2178
- export { r as a, f as i, C as n, n as o, p as r, w as t };
2183
+ export { s as a, l as i, x as n, i as o, y as r, M as t };