@kong-ui-public/documentation 0.7.2 → 0.7.4

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 (50) hide show
  1. package/dist/arc-BOwQG9_0-DleiJ5MN.js +86 -0
  2. package/dist/{blockDiagram-9f4a6865-IUliCiDO-CB0IBm1m.js → blockDiagram-6b2b5046-Nxmf6ECX-CjmiHCoc.js} +106 -106
  3. package/dist/{c4Diagram-ae766693-CraPSkgX-CsP6MA7_.js → c4Diagram-b947cdbb-Cqv3kxuJ-BXRu2bPz.js} +132 -133
  4. package/dist/{channel-BN6QTnj4-CfiMWXq0.js → channel-b8lMD3zZ-Ds1AntZz.js} +1 -1
  5. package/dist/{classDiagram-fb54d2a0-DXWl4-1y-CoIPJ9Tf.js → classDiagram-35230388-cNSawuF--DF1WKJvq.js} +7 -8
  6. package/dist/{classDiagram-v2-a2b738ad-CuRy1r-r-SMHLTRcJ.js → classDiagram-v2-412acd34-DL9yPzEL-1zjaSugS.js} +8 -8
  7. package/dist/{clone-DPlFlx1_-B6OhGku3.js → clone-DA9j_md9-DOEHuNxk.js} +1 -1
  8. package/dist/{createText-ca0c5216-BJXIFjUv-B9Xp5z9K.js → createText-423428c9-Bi8tqKOA-BAeSkls4.js} +1 -2
  9. package/dist/documentation.es.js +2 -2
  10. package/dist/documentation.umd.js +724 -995
  11. package/dist/{edges-066a5561-DyIiUH3I-B88mxBJO.js → edges-d417c7a0-CyiospL7-DxH-v6Cl.js} +27 -28
  12. package/dist/{erDiagram-09d1c15f-DaNxb97t-DI2sOo4s.js → erDiagram-0ea73325-BWWWgAmd-aPslvlbz.js} +38 -38
  13. package/dist/{flowDb-c1833063-4TreIkwu-DLOEDd2f.js → flowDb-d35e309a-BQRCRAKf-Cf6biv5M.js} +4 -4
  14. package/dist/{flowDiagram-b222e15a-Bz6kEL6X-B4McfssH.js → flowDiagram-d949d7c1-D_OK65PK-DS0CyGIC.js} +329 -337
  15. package/dist/{flowDiagram-v2-13329dc7-BSJVxEBD-CR0v6C6O.js → flowDiagram-v2-49332944-CYs4MQAb-C9m-G3JY.js} +5 -5
  16. package/dist/{flowchart-elk-definition-ae0efee6-D_SQlTEw-DHjq3NxL.js → flowchart-elk-definition-27cc417a-OqMBrUum-CbH3NCkB.js} +12750 -12752
  17. package/dist/{ganttDiagram-b62c793e-w82uNNex-OPrei_7k.js → ganttDiagram-5c869e3b-Cu9aCqHh-De0u-Oas.js} +477 -488
  18. package/dist/gitGraphDiagram-b9d81de9-DVB2N99Y-C2np-enA.js +1262 -0
  19. package/dist/go-BEtjQGEI-BEtjQGEI.js +7 -0
  20. package/dist/{graph-Bb1vku7A-CjMAyaMV.js → graph-Ctghcdhb-CqAdUKOZ.js} +3 -3
  21. package/dist/{index-01f381cb-DFAckdb4-DP_D7ZMM.js → index-8fae9850-CdUaE101-uMPVRleJ.js} +11 -11
  22. package/dist/{index-74HaIrFw.js → index-BRYBB2aM.js} +6920 -6981
  23. package/dist/{infoDiagram-94cd232f-iYUDXeae-DbxyZ1YG.js → infoDiagram-db7b18fc-MHPWI9K2-Cy6tzigE.js} +16 -16
  24. package/dist/{journeyDiagram-6625b456-D9SzlG49-D9WC6928.js → journeyDiagram-d5636530-O6dkdrZq-BghpQv6u.js} +42 -42
  25. package/dist/{latex-CoJDAuLL-lJGSmtOO.js → latex-BOFs-Cxs-XUibdaju.js} +1 -1
  26. package/dist/{layout-BXWpVE1y-Dpdx9MjN.js → layout-Bf4siL6f-B27qrAUf.js} +110 -110
  27. package/dist/{line-cygqshb4-ChLkD5zh.js → line-Bs4J8z8n-kq8RtDQA.js} +1 -1
  28. package/dist/{linear-c7VKFbmv-Bcl7PKrY.js → linear-DG5qhwMV-BSSd8kt2.js} +21 -21
  29. package/dist/{mindmap-definition-307c710a-Dtax51Qo-DiTPR9DS.js → mindmap-definition-377f8f1f-BJZNhhv8-Cinm-UDt.js} +6496 -6729
  30. package/dist/{pieDiagram-bb1d19e5-MIBQswLW-DwEeDM9B.js → pieDiagram-b0208e96-12B2qtCQ-Bl-9vJIA.js} +68 -68
  31. package/dist/{quadrantDiagram-c759a472-CUBvKLS1-BFYNBXmR.js → quadrantDiagram-0332be45-B77W50pM-bQiH7XpR.js} +2 -2
  32. package/dist/{requirementDiagram-87253d64-BZrSGm9j-BTMRMufk.js → requirementDiagram-bf7890df-BfPNYjQ5-CGF46ifn.js} +30 -30
  33. package/dist/{sankeyDiagram-707fac0f-BMrqHGsv-B27LQLYG.js → sankeyDiagram-0acdec17-D5aZuYoJ-DIWEEtuf.js} +22 -22
  34. package/dist/{sequenceDiagram-6894f283-CKZurmNK-kn3T54cJ.js → sequenceDiagram-c18d009d-DE6VyN7w-6UaAYk4p.js} +808 -841
  35. package/dist/{stateDiagram-5dee940d-uylU1OS0-DApYcfZ7.js → stateDiagram-43596fc0-CfGH1LmM-km5kjci0.js} +54 -54
  36. package/dist/{stateDiagram-v2-1992cada-JYJWGRv5-C-8aN2Zs.js → stateDiagram-v2-2ead4f9c-CvDoRhMn-CkUl-Lcu.js} +12 -12
  37. package/dist/style.css +1 -1
  38. package/dist/{styles-b83b31c9-BkcEKpp1-AMZ_2CDs.js → styles-6860f46c-CJplL-uW-BFTTeCMF.js} +19 -19
  39. package/dist/{styles-483fbfea-_Tntk7zw-BMvdfSW3.js → styles-7383a064-N1ljH9gq-D7Iipjtf.js} +137 -140
  40. package/dist/{styles-0784dbeb-CN_Kv1lZ-BqcZ7Gdy.js → styles-b2c874b6-CKJLyUE4-2C22cylE.js} +24 -24
  41. package/dist/{svgDrawCommon-5e1cfd1d--PZSQhO7-VrjnCid8.js → svgDrawCommon-0ee1b4e9-Dc25Bs_w-QhIkJ1Xp.js} +4 -4
  42. package/dist/{timeline-definition-bf702344-DVMY6q6d-BYAHqkvN.js → timeline-definition-d977decf-8C3XuDC--DAD2knZY.js} +2 -2
  43. package/dist/{vue-Djs4WzmL-BDWKKO52.js → vue-DoU_Nr9K-Cj2gXb1y.js} +2 -2
  44. package/dist/{vue-html-CdlOxrsR-C0P0LsFn.js → vue-html-iC7i5f9n-Cfh5ktA3.js} +1 -1
  45. package/dist/{xychartDiagram-f11f50a6-CfFXg3YO-BJuC_16u.js → xychartDiagram-e50adddc-BRQAut2i-DBHY1QQ6.js} +22 -22
  46. package/package.json +5 -5
  47. package/dist/arc-Db-G4La6-9oHI8HT5.js +0 -86
  48. package/dist/gitGraphDiagram-942e62fe-DN0JwANo-r5Axb-YL.js +0 -1264
  49. package/dist/go-DYNyFS5n-DYNyFS5n.js +0 -7
  50. package/dist/katex-BQC_klMa-CaeA20wX.js +0 -11636
@@ -1,4 +1,4 @@
1
- import { l as U, aK as K, i as X } from "./index-74HaIrFw.js";
1
+ import { l as U, aJ as X, i as q } from "./index-BRYBB2aM.js";
2
2
  var A = function() {
3
3
  var a = function(c, t, n, e) {
4
4
  for (n = n || {}, e = c.length; e--; n[c[e]] = t)
@@ -292,28 +292,28 @@ Expecting ` + b.join(", ") + ", got '" + (this.terminals_[h] || h) + "'" : E = "
292
292
  return v.prototype = _, _.Parser = v, new v();
293
293
  }();
294
294
  A.parser = A;
295
- const q = A, N = {
295
+ const B = A, N = {
296
296
  info: !1
297
297
  };
298
298
  let P = N.info;
299
- const B = (a) => {
299
+ const C = (a) => {
300
300
  P = a;
301
- }, C = () => P, G = () => {
301
+ }, G = () => P, H = () => {
302
302
  P = N.info;
303
- }, H = {
304
- clear: G,
305
- setInfo: B,
306
- getInfo: C
307
- }, M = (a, p, _) => {
303
+ }, J = {
304
+ clear: H,
305
+ setInfo: C,
306
+ getInfo: G
307
+ }, K = (a, p, _) => {
308
308
  U.debug(`rendering info diagram
309
309
  ` + a);
310
- const d = K(p);
311
- X(d, 100, 400, !0), d.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${_}`);
312
- }, V = { draw: M }, D = {
313
- parser: q,
314
- db: H,
315
- renderer: V
310
+ const d = X(p);
311
+ q(d, 100, 400, !0), d.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${_}`);
312
+ }, M = { draw: K }, Y = {
313
+ parser: B,
314
+ db: J,
315
+ renderer: M
316
316
  };
317
317
  export {
318
- D as diagram
318
+ Y as diagram
319
319
  };
@@ -1,6 +1,6 @@
1
- import { c as C, x as ut, y as yt, s as pt, g as dt, b as ft, a as gt, A as mt, h as z, i as xt } from "./index-74HaIrFw.js";
2
- import { l as kt, d as _t, x as bt, g as nt } from "./svgDrawCommon-5e1cfd1d--PZSQhO7-VrjnCid8.js";
3
- import { v as J } from "./arc-Db-G4La6-9oHI8HT5.js";
1
+ import { c as P, v as ut, x as yt, s as pt, g as dt, b as ft, a as gt, z as mt, h as Y, i as xt } from "./index-BRYBB2aM.js";
2
+ import { c as kt, d as _t, x as bt, g as nt } from "./svgDrawCommon-0ee1b4e9-Dc25Bs_w-QhIkJ1Xp.js";
3
+ import { v as J } from "./arc-BOwQG9_0-DleiJ5MN.js";
4
4
  var W = function() {
5
5
  var t = function(f, i, r, l) {
6
6
  for (r = r || {}, l = f.length; l--; r[f[l]] = i)
@@ -73,15 +73,15 @@ var W = function() {
73
73
  var $;
74
74
  return $ = l.pop() || k.lex() || U, typeof $ != "number" && ($ instanceof Array && (l = $, $ = l.pop()), $ = i.symbols_[$] || $), $;
75
75
  }
76
- for (var _, S, b, B, I = {}, L, w, Z, F; ; ) {
76
+ for (var _, S, b, z, C = {}, L, w, Z, F; ; ) {
77
77
  if (S = r[r.length - 1], this.defaultActions[S] ? b = this.defaultActions[S] : ((_ === null || typeof _ > "u") && (_ = ht()), b = g[S] && g[S][_]), typeof b > "u" || !b.length || !b[0]) {
78
- var Y = "";
78
+ var B = "";
79
79
  F = [];
80
80
  for (L in g[S])
81
81
  this.terminals_[L] && L > ot && F.push("'" + this.terminals_[L] + "'");
82
- k.showPosition ? Y = "Parse error on line " + (V + 1) + `:
82
+ k.showPosition ? B = "Parse error on line " + (V + 1) + `:
83
83
  ` + k.showPosition() + `
84
- Expecting ` + F.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : Y = "Parse error on line " + (V + 1) + ": Unexpected " + (_ == U ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(Y, {
84
+ Expecting ` + F.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : B = "Parse error on line " + (V + 1) + ": Unexpected " + (_ == U ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(B, {
85
85
  text: k.match,
86
86
  token: this.terminals_[_] || _,
87
87
  line: k.yylineno,
@@ -96,15 +96,15 @@ Expecting ` + F.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : Y = "
96
96
  r.push(_), u.push(k.yytext), a.push(k.yylloc), r.push(b[1]), _ = null, H = k.yyleng, x = k.yytext, V = k.yylineno, R = k.yylloc;
97
97
  break;
98
98
  case 2:
99
- if (w = this.productions_[b[1]][1], I.$ = u[u.length - w], I._$ = {
99
+ if (w = this.productions_[b[1]][1], C.$ = u[u.length - w], C._$ = {
100
100
  first_line: a[a.length - (w || 1)].first_line,
101
101
  last_line: a[a.length - 1].last_line,
102
102
  first_column: a[a.length - (w || 1)].first_column,
103
103
  last_column: a[a.length - 1].last_column
104
- }, lt && (I._$.range = [
104
+ }, lt && (C._$.range = [
105
105
  a[a.length - (w || 1)].range[0],
106
106
  a[a.length - 1].range[1]
107
- ]), B = this.performAction.apply(I, [
107
+ ]), z = this.performAction.apply(C, [
108
108
  x,
109
109
  H,
110
110
  V,
@@ -112,9 +112,9 @@ Expecting ` + F.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : Y = "
112
112
  b[1],
113
113
  u,
114
114
  a
115
- ].concat(ct)), typeof B < "u")
116
- return B;
117
- w && (r = r.slice(0, -1 * w * 2), u = u.slice(0, -1 * w), a = a.slice(0, -1 * w)), r.push(this.productions_[b[1]][0]), u.push(I.$), a.push(I._$), Z = g[r[r.length - 2]][r[r.length - 1]], r.push(Z);
115
+ ].concat(ct)), typeof z < "u")
116
+ return z;
117
+ w && (r = r.slice(0, -1 * w * 2), u = u.slice(0, -1 * w), a = a.slice(0, -1 * w)), r.push(this.productions_[b[1]][0]), u.push(C.$), a.push(C._$), Z = g[r[r.length - 2]][r[r.length - 1]], r.push(Z);
118
118
  break;
119
119
  case 3:
120
120
  return !0;
@@ -351,11 +351,11 @@ Expecting ` + F.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : Y = "
351
351
  }();
352
352
  W.parser = W;
353
353
  const vt = W;
354
- let P = "";
355
- const q = [], E = [], j = [], wt = function() {
356
- q.length = 0, E.length = 0, P = "", j.length = 0, mt();
354
+ let E = "";
355
+ const q = [], I = [], j = [], wt = function() {
356
+ q.length = 0, I.length = 0, E = "", j.length = 0, mt();
357
357
  }, $t = function(t) {
358
- P = t, q.push(t);
358
+ E = t, q.push(t);
359
359
  }, Mt = function() {
360
360
  return q;
361
361
  }, Tt = function() {
@@ -364,10 +364,10 @@ const q = [], E = [], j = [], wt = function() {
364
364
  let s = 0;
365
365
  for (; !t && s < e; )
366
366
  t = Q(), s++;
367
- return E.push(...j), E;
367
+ return I.push(...j), I;
368
368
  }, St = function() {
369
369
  const t = [];
370
- return E.forEach((e) => {
370
+ return I.forEach((e) => {
371
371
  e.people && t.push(...e.people);
372
372
  }), [...new Set(t)].sort();
373
373
  }, At = function(t, e) {
@@ -375,22 +375,22 @@ const q = [], E = [], j = [], wt = function() {
375
375
  let o = 0, n = [];
376
376
  s.length === 1 ? (o = Number(s[0]), n = []) : (o = Number(s[0]), n = s[1].split(","));
377
377
  const h = n.map((y) => y.trim()), c = {
378
- section: P,
379
- type: P,
378
+ section: E,
379
+ type: E,
380
380
  people: h,
381
381
  task: t,
382
382
  score: o
383
383
  };
384
384
  j.push(c);
385
- }, Ct = function(t) {
385
+ }, Pt = function(t) {
386
386
  const e = {
387
- section: P,
388
- type: P,
387
+ section: E,
388
+ type: E,
389
389
  description: t,
390
390
  task: t,
391
391
  classes: []
392
392
  };
393
- E.push(e);
393
+ I.push(e);
394
394
  }, Q = function() {
395
395
  const t = function(s) {
396
396
  return j[s].processed;
@@ -399,10 +399,10 @@ const q = [], E = [], j = [], wt = function() {
399
399
  for (const [s, o] of j.entries())
400
400
  t(s), e = e && o.processed;
401
401
  return e;
402
- }, It = function() {
402
+ }, Ct = function() {
403
403
  return St();
404
404
  }, K = {
405
- getConfig: () => C().journey,
405
+ getConfig: () => P().journey,
406
406
  clear: wt,
407
407
  setDiagramTitle: ut,
408
408
  getDiagramTitle: yt,
@@ -414,9 +414,9 @@ const q = [], E = [], j = [], wt = function() {
414
414
  getSections: Mt,
415
415
  getTasks: Tt,
416
416
  addTask: At,
417
- addTaskOrg: Ct,
418
- getActors: It
419
- }, Pt = (t) => `.label {
417
+ addTaskOrg: Pt,
418
+ getActors: Ct
419
+ }, Et = (t) => `.label {
420
420
  font-family: 'trebuchet ms', verdana, arial, sans-serif;
421
421
  font-family: var(--mermaid-font-family);
422
422
  color: ${t.textColor};
@@ -549,7 +549,7 @@ const q = [], E = [], j = [], wt = function() {
549
549
  .actor-5 {
550
550
  ${t.actor5 ? `fill: ${t.actor5}` : ""};
551
551
  }
552
- `, Et = Pt, G = function(t, e) {
552
+ `, It = Et, G = function(t, e) {
553
553
  return kt(t, e);
554
554
  }, jt = function(t, e) {
555
555
  const s = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), o = t.append("g");
@@ -669,7 +669,7 @@ const Lt = function(t, e, s) {
669
669
  });
670
670
  }, M = {};
671
671
  function Rt(t) {
672
- const e = C().journey;
672
+ const e = P().journey;
673
673
  let s = 60;
674
674
  Object.keys(M).forEach((o) => {
675
675
  const n = M[o].color, h = {
@@ -691,11 +691,11 @@ function Rt(t) {
691
691
  D.drawText(t, c), s += 20;
692
692
  });
693
693
  }
694
- const O = C().journey, A = O.leftMargin, Bt = function(t, e, s, o) {
695
- const n = C().journey, h = C().securityLevel;
694
+ const O = P().journey, A = O.leftMargin, zt = function(t, e, s, o) {
695
+ const n = P().journey, h = P().securityLevel;
696
696
  let c;
697
- h === "sandbox" && (c = z("#i" + e));
698
- const y = h === "sandbox" ? z(c.nodes()[0].contentDocument.body) : z("body");
697
+ h === "sandbox" && (c = Y("#i" + e));
698
+ const y = h === "sandbox" ? Y(c.nodes()[0].contentDocument.body) : Y("body");
699
699
  v.init();
700
700
  const p = y.select("#" + e);
701
701
  D.initGraphics(p);
@@ -708,7 +708,7 @@ const O = C().journey, A = O.leftMargin, Bt = function(t, e, s, o) {
708
708
  color: n.actorColours[i % n.actorColours.length],
709
709
  position: i
710
710
  }, i++;
711
- }), Rt(p), v.insert(0, 0, A, Object.keys(M).length * 50), Yt(p, m, 0);
711
+ }), Rt(p), v.insert(0, 0, A, Object.keys(M).length * 50), Bt(p, m, 0);
712
712
  const r = v.getBounds();
713
713
  d && p.append("text").text(d).attr("x", A).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 25);
714
714
  const l = r.stopy - r.starty + 2 * n.diagramMarginY, u = A + r.stopx + 2 * n.diagramMarginX;
@@ -736,7 +736,7 @@ const O = C().journey, A = O.leftMargin, Bt = function(t, e, s, o) {
736
736
  t[e] === void 0 ? t[e] = s : t[e] = o(s, t[e]);
737
737
  },
738
738
  updateBounds: function(t, e, s, o) {
739
- const n = C().journey, h = this;
739
+ const n = P().journey, h = this;
740
740
  let c = 0;
741
741
  function y(p) {
742
742
  return function(m) {
@@ -760,8 +760,8 @@ const O = C().journey, A = O.leftMargin, Bt = function(t, e, s, o) {
760
760
  getBounds: function() {
761
761
  return this.data;
762
762
  }
763
- }, X = O.sectionFills, et = O.sectionColours, Yt = function(t, e, s) {
764
- const o = C().journey;
763
+ }, X = O.sectionFills, et = O.sectionColours, Bt = function(t, e, s) {
764
+ const o = P().journey;
765
765
  let n = "";
766
766
  const h = o.height * 2 + o.diagramMarginY, c = s + h;
767
767
  let y = 0, p = "#CCC", m = "black", d = 0;
@@ -788,12 +788,12 @@ const O = C().journey, A = O.leftMargin, Bt = function(t, e, s, o) {
788
788
  }
789
789
  }, it = {
790
790
  setConf: Nt,
791
- draw: Bt
791
+ draw: zt
792
792
  }, qt = {
793
793
  parser: vt,
794
794
  db: K,
795
795
  renderer: it,
796
- styles: Et,
796
+ styles: It,
797
797
  init: (t) => {
798
798
  it.setConf(t.journey), K.clear();
799
799
  }
@@ -14,7 +14,7 @@ import m from "./rust-B2u3X65B-B2u3X65B.js";
14
14
  import d from "./typescript-AEg-ehu7-AEg-ehu7.js";
15
15
  import g from "./xml-CfRpfi_B-BH3JRQfc.js";
16
16
  import b from "./yaml-PGla5xPP-HJurM_FJ.js";
17
- const h = Object.freeze({ displayName: "TeX", name: "tex", patterns: [{ begin: "(?<=^\\s*)((\\\\)iffalse)", beginCaptures: { 1: { name: "keyword.control.tex" }, 2: { name: "punctuation.definition.keyword.tex" } }, contentName: "comment.line.percentage.tex", end: "(?<=^\\s*)((\\\\)(?:else|fi))", endCaptures: { 1: { name: "keyword.control.tex" }, 2: { name: "punctuation.definition.keyword.tex" } }, patterns: [{ include: "#comment" }, { include: "#conditionals" }] }, { captures: { 1: { name: "punctuation.definition.keyword.tex" } }, match: "(\\\\)(backmatter|csname|else|endcsname|fi|frontmatter|mainmatter|unless|if(case|cat|csname|defined|dim|eof|false|fontchar|hbox|hmode|inner|mmode|num|odd|true|vbox|vmode|void|x)?)(?![a-zA-Z@])", name: "keyword.control.tex" }, { captures: { 1: { name: "keyword.control.catcode.tex" }, 2: { name: "punctuation.definition.keyword.tex" }, 3: { name: "punctuation.separator.key-value.tex" }, 4: { name: "constant.numeric.category.tex" } }, match: "((\\\\)catcode)`(?:\\\\)?.(=)(\\d+)", name: "meta.catcode.tex" }, { include: "#comment" }, { match: "[\\[\\]]", name: "punctuation.definition.brackets.tex" }, { begin: "(\\$\\$|\\$)", beginCaptures: { 1: { name: "punctuation.definition.string.begin.tex" } }, end: "(\\1)", endCaptures: { 1: { name: "punctuation.definition.string.end.tex" } }, name: "meta.math.block.tex support.class.math.block.tex", patterns: [{ match: "\\\\\\$", name: "constant.character.escape.tex" }, { include: "#math" }, { include: "$self" }] }, { match: "\\\\\\\\", name: "keyword.control.newline.tex" }, { captures: { 1: { name: "punctuation.definition.function.tex" } }, match: "(\\\\)(?:[,;]|(?:[\\p{Alphabetic}@]+(?:(?:_[\\p{Alphabetic}@]+)*:[NncVvoxefTFpwD]*)?))", name: "support.function.general.tex" }, { captures: { 1: { name: "punctuation.definition.keyword.tex" } }, match: "(\\\\)[^a-zA-Z@]", name: "constant.character.escape.tex" }], repository: { braces: { begin: "(?<!\\\\)\\{", beginCaptures: { 0: { name: "punctuation.group.begin.tex" } }, end: "(?<!\\\\)\\}", endCaptures: { 0: { name: "punctuation.group.end.tex" } }, name: "meta.group.braces.tex", patterns: [{ include: "#braces" }] }, comment: { begin: "(^[ \\t]+)?(?=%)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.tex" } }, end: "(?!\\G)", patterns: [{ begin: "%:?", beginCaptures: { 0: { name: "punctuation.definition.comment.tex" } }, end: "$\\n?", name: "comment.line.percentage.tex" }, { begin: "^(%!TEX) (\\S*) =", beginCaptures: { 1: { name: "punctuation.definition.comment.tex" } }, end: "$\\n?", name: "comment.line.percentage.directive.tex" }] }, conditionals: { begin: "(?<=^\\s*)\\\\if[a-z]*", end: "(?<=^\\s*)\\\\fi", patterns: [{ include: "#comment" }, { include: "#conditionals" }] }, math: { patterns: [{ begin: "((\\\\)(?:text|mbox))(\\{)", beginCaptures: { 1: { name: "constant.other.math.tex" }, 2: { name: "punctuation.definition.function.tex" }, 3: { name: "punctuation.definition.arguments.begin.tex meta.text.normal.tex" } }, contentName: "meta.text.normal.tex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.tex meta.text.normal.tex" } }, patterns: [{ include: "#math" }, { include: "$self" }] }, { match: "\\\\{|\\\\}", name: "punctuation.math.bracket.pair.tex" }, { match: "\\\\(left|right|((big|bigg|Big|Bigg)[lr]?))([\\(\\[\\<\\>\\]\\)\\.\\|]|\\\\[{}|]|\\\\[lr]?[Vv]ert|\\\\[lr]angle)", name: "punctuation.math.bracket.pair.big.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(s(s(earrow|warrow|lash)|h(ort(downarrow|uparrow|parallel|leftarrow|rightarrow|mid)|arp)|tar|i(gma|m(eq)?)|u(cc(sim|n(sim|approx)|curlyeq|eq|approx)?|pset(neq(q)?|plus(eq)?|eq(q)?)?|rd|m|bset(neq(q)?|plus(eq)?|eq(q)?)?)|p(hericalangle|adesuit)|e(tminus|arrow)|q(su(pset(eq)?|bset(eq)?)|c(up|ap)|uare)|warrow|m(ile|all(s(etminus|mile)|frown)))|h(slash|ook(leftarrow|rightarrow)|eartsuit|bar)|R(sh|ightarrow|e|bag)|Gam(e|ma)|n(s(hort(parallel|mid)|im|u(cc(eq)?|pseteq(q)?|bseteq))|Rightarrow|n(earrow|warrow)|cong|triangle(left(eq(slant)?)?|right(eq(slant)?)?)|i(plus)?|u|p(lus|arallel|rec(eq)?)|e(q|arrow|g|xists)|v(dash|Dash)|warrow|le(ss|q(slant|q)?|ft(arrow|rightarrow))|a(tural|bla)|VDash|rightarrow|g(tr|eq(slant|q)?)|mid|Left(arrow|rightarrow))|c(hi|irc(eq|le(d(circ|S|dash|ast)|arrow(left|right)))?|o(ng|prod|lon|mplement)|dot(s|p)?|u(p|r(vearrow(left|right)|ly(eq(succ|prec)|vee(downarrow|uparrow)?|wedge(downarrow|uparrow)?)))|enterdot|lubsuit|ap)|Xi|Maps(to(char)?|from(char)?)|B(ox|umpeq|bbk)|t(h(ick(sim|approx)|e(ta|refore))|imes|op|wohead(leftarrow|rightarrow)|a(u|lloblong)|riangle(down|q|left(eq(slant)?)?|right(eq(slant)?)?)?)|i(n(t(er(cal|leave))?|plus|fty)?|ota|math)|S(igma|u(pset|bset))|zeta|o(slash|times|int|dot|plus|vee|wedge|lessthan|greaterthan|m(inus|ega)|b(slash|long|ar))|d(i(v(ideontimes)?|a(g(down|up)|mond(suit)?)|gamma)|o(t(plus|eq(dot)?)|ublebarwedge|wn(harpoon(left|right)|downarrows|arrow))|d(ots|agger)|elta|a(sh(v|leftarrow|rightarrow)|leth|gger))|Y(down|up|left|right)|C(up|ap)|u(n(lhd|rhd)|p(silon|harpoon(left|right)|downarrow|uparrows|lus|arrow)|lcorner|rcorner)|jmath|Theta|Im|p(si|hi|i(tchfork)?|erp|ar(tial|allel)|r(ime|o(d|pto)|ec(sim|n(sim|approx)|curlyeq|eq|approx)?)|m)|e(t(h|a)|psilon|q(slant(less|gtr)|circ|uiv)|ll|xists|mptyset)|Omega|D(iamond|ownarrow|elta)|v(d(ots|ash)|ee(bar)?|Dash|ar(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|curly(vee|wedge)|t(heta|imes|riangle(left|right)?)|o(slash|circle|times|dot|plus|vee|wedge|lessthan|ast|greaterthan|minus|b(slash|ar))|p(hi|i|ropto)|epsilon|kappa|rho|bigcirc))|kappa|Up(silon|downarrow|arrow)|Join|f(orall|lat|a(t(s(emi|lash)|bslash)|llingdotseq)|rown)|P(si|hi|i)|w(p|edge|r)|l(hd|n(sim|eq(q)?|approx)|ceil|times|ightning|o(ng(left(arrow|rightarrow)|rightarrow|maps(to|from))|zenge|oparrow(left|right))|dot(s|p)|e(ss(sim|dot|eq(qgtr|gtr)|approx|gtr)|q(slant|q)?|ft(slice|harpoon(down|up)|threetimes|leftarrows|arrow(t(ail|riangle))?|right(squigarrow|harpoons|arrow(s|triangle|eq)?))|adsto)|vertneqq|floor|l(c(orner|eil)|floor|l|bracket)?|a(ngle|mbda)|rcorner|bag)|a(s(ymp|t)|ngle|pprox(eq)?|l(pha|eph)|rrownot|malg)|V(dash|vdash)|r(h(o|d)|ceil|times|i(singdotseq|ght(s(quigarrow|lice)|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(t(ail|riangle))?|rightarrows))|floor|angle|r(ceil|parenthesis|floor|bracket)|bag)|g(n(sim|eq(q)?|approx)|tr(sim|dot|eq(qless|less)|less|approx)|imel|eq(slant|q)?|vertneqq|amma|g(g)?)|Finv|xi|m(ho|i(nuso|d)|o(o|dels)|u(ltimap)?|p|e(asuredangle|rge)|aps(to|from(char)?))|b(i(n(dnasrepma|ampersand)|g(s(tar|qc(up|ap))|nplus|c(irc|u(p|rly(vee|wedge))|ap)|triangle(down|up)|interleave|o(times|dot|plus)|uplus|parallel|vee|wedge|box))|o(t|wtie|x(slash|circle|times|dot|plus|empty|ast|minus|b(slash|ox|ar)))|u(llet|mpeq)|e(cause|t(h|ween|a))|lack(square|triangle(down|left|right)?|lozenge)|a(ck(s(im(eq)?|lash)|prime|epsilon)|r(o|wedge))|bslash)|L(sh|ong(left(arrow|rightarrow)|rightarrow|maps(to|from))|eft(arrow|rightarrow)|leftarrow|ambda|bag)|Arrownot)(?![a-zA-Z@])", name: "constant.character.math.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(sum|prod|coprod|int|oint|bigcap|bigcup|bigsqcup|bigvee|bigwedge|bigodot|bigotimes|bogoplus|biguplus)\\b", name: "constant.character.math.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(arccos|arcsin|arctan|arg|cos|cosh|cot|coth|csc|deg|det|dim|exp|gcd|hom|inf|ker|lg|lim|liminf|limsup|ln|log|max|min|pr|sec|sin|sinh|sup|tan|tanh)\\b", name: "constant.other.math.tex" }, { begin: "((\\\\)Sexpr(\\{))", beginCaptures: { 1: { name: "support.function.sexpr.math.tex" }, 2: { name: "punctuation.definition.function.math.tex" }, 3: { name: "punctuation.section.embedded.begin.math.tex" } }, contentName: "support.function.sexpr.math.tex", end: "(((\\})))", endCaptures: { 1: { name: "support.function.sexpr.math.tex" }, 2: { name: "punctuation.section.embedded.end.math.tex" }, 3: { name: "source.r" } }, name: "meta.embedded.line.r", patterns: [{ begin: "\\G(?!\\})", end: "(?=\\})", name: "source.r", patterns: [{ include: "source.r" }] }] }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(?!begin\\{|verb)([A-Za-z]+)", name: "constant.other.general.math.tex" }, { match: "(?<!\\\\)\\{", name: "punctuation.math.begin.bracket.curly.tex" }, { match: "(?<!\\\\)\\}", name: "punctuation.math.end.bracket.curly.tex" }, { match: "(?<!\\\\)\\(", name: "punctuation.math.begin.bracket.round.tex" }, { match: "(?<!\\\\)\\)", name: "punctuation.math.end.bracket.round.tex" }, { match: "(([0-9]*[\\.][0-9]+)|[0-9]+)", name: "constant.numeric.math.tex" }, { match: "[\\+\\*/_\\^-]", name: "punctuation.math.operator.tex" }] } }, scopeName: "text.tex", embeddedLangs: ["r"] });
17
+ const h = Object.freeze({ displayName: "TeX", name: "tex", patterns: [{ begin: "(?<=^\\s*)((\\\\)iffalse)", beginCaptures: { 1: { name: "keyword.control.tex" }, 2: { name: "punctuation.definition.keyword.tex" } }, contentName: "comment.line.percentage.tex", end: "(?<=^\\s*)((\\\\)(?:else|fi))", endCaptures: { 1: { name: "keyword.control.tex" }, 2: { name: "punctuation.definition.keyword.tex" } }, patterns: [{ include: "#comment" }, { include: "#conditionals" }] }, { captures: { 1: { name: "punctuation.definition.keyword.tex" } }, match: "(\\\\)(backmatter|csname|else|endcsname|fi|frontmatter|mainmatter|unless|if(case|cat|csname|defined|dim|eof|false|fontchar|hbox|hmode|inner|mmode|num|odd|true|vbox|vmode|void|x)?)(?![a-zA-Z@])", name: "keyword.control.tex" }, { captures: { 1: { name: "keyword.control.catcode.tex" }, 2: { name: "punctuation.definition.keyword.tex" }, 3: { name: "punctuation.separator.key-value.tex" }, 4: { name: "constant.numeric.category.tex" } }, match: "((\\\\)catcode)`(?:\\\\)?.(=)(\\d+)", name: "meta.catcode.tex" }, { include: "#comment" }, { match: "[\\[\\]]", name: "punctuation.definition.brackets.tex" }, { begin: "(\\$\\$|\\$)", beginCaptures: { 1: { name: "punctuation.definition.string.begin.tex" } }, end: "(\\1)", endCaptures: { 1: { name: "punctuation.definition.string.end.tex" } }, name: "meta.math.block.tex support.class.math.block.tex", patterns: [{ match: "\\\\\\$", name: "constant.character.escape.tex" }, { include: "#math" }, { include: "$self" }] }, { match: "\\\\\\\\", name: "keyword.control.newline.tex" }, { captures: { 1: { name: "punctuation.definition.function.tex" } }, match: "(\\\\)_*[\\p{Alphabetic}@]+(?:_[\\p{Alphabetic}@]+)*:[NncVvoxefTFpwD]*", name: "support.class.general.latex3.tex" }, { captures: { 1: { name: "punctuation.definition.function.tex" } }, match: "(\\.)[\\p{Alphabetic}@]+(?:_[\\p{Alphabetic}@]+)*:[NncVvoxefTFpwD]*", name: "support.class.general.latex3.tex" }, { captures: { 1: { name: "punctuation.definition.function.tex" } }, match: "(\\\\)(?:[,;]|(?:[\\p{Alphabetic}@]+))", name: "support.function.general.tex" }, { captures: { 1: { name: "punctuation.definition.keyword.tex" } }, match: "(\\\\)[^a-zA-Z@]", name: "constant.character.escape.tex" }], repository: { braces: { begin: "(?<!\\\\)\\{", beginCaptures: { 0: { name: "punctuation.group.begin.tex" } }, end: "(?<!\\\\)\\}", endCaptures: { 0: { name: "punctuation.group.end.tex" } }, name: "meta.group.braces.tex", patterns: [{ include: "#braces" }] }, comment: { begin: "(^[ \\t]+)?(?=%)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.tex" } }, end: "(?!\\G)", patterns: [{ begin: "%:?", beginCaptures: { 0: { name: "punctuation.definition.comment.tex" } }, end: "$\\n?", name: "comment.line.percentage.tex" }, { begin: "^(%!TEX) (\\S*) =", beginCaptures: { 1: { name: "punctuation.definition.comment.tex" } }, end: "$\\n?", name: "comment.line.percentage.directive.tex" }] }, conditionals: { begin: "(?<=^\\s*)\\\\if[a-z]*", end: "(?<=^\\s*)\\\\fi", patterns: [{ include: "#comment" }, { include: "#conditionals" }] }, math: { patterns: [{ begin: "((\\\\)(?:text|mbox))(\\{)", beginCaptures: { 1: { name: "constant.other.math.tex" }, 2: { name: "punctuation.definition.function.tex" }, 3: { name: "punctuation.definition.arguments.begin.tex meta.text.normal.tex" } }, contentName: "meta.text.normal.tex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.tex meta.text.normal.tex" } }, patterns: [{ include: "#math" }, { include: "$self" }] }, { match: "\\\\{|\\\\}", name: "punctuation.math.bracket.pair.tex" }, { match: "\\\\(left|right|((big|bigg|Big|Bigg)[lr]?))([\\(\\[\\<\\>\\]\\)\\.\\|]|\\\\[{}|]|\\\\[lr]?[Vv]ert|\\\\[lr]angle)", name: "punctuation.math.bracket.pair.big.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(s(s(earrow|warrow|lash)|h(ort(downarrow|uparrow|parallel|leftarrow|rightarrow|mid)|arp)|tar|i(gma|m(eq)?)|u(cc(sim|n(sim|approx)|curlyeq|eq|approx)?|pset(neq(q)?|plus(eq)?|eq(q)?)?|rd|m|bset(neq(q)?|plus(eq)?|eq(q)?)?)|p(hericalangle|adesuit)|e(tminus|arrow)|q(su(pset(eq)?|bset(eq)?)|c(up|ap)|uare)|warrow|m(ile|all(s(etminus|mile)|frown)))|h(slash|ook(leftarrow|rightarrow)|eartsuit|bar)|R(sh|ightarrow|e|bag)|Gam(e|ma)|n(s(hort(parallel|mid)|im|u(cc(eq)?|pseteq(q)?|bseteq))|Rightarrow|n(earrow|warrow)|cong|triangle(left(eq(slant)?)?|right(eq(slant)?)?)|i(plus)?|u|p(lus|arallel|rec(eq)?)|e(q|arrow|g|xists)|v(dash|Dash)|warrow|le(ss|q(slant|q)?|ft(arrow|rightarrow))|a(tural|bla)|VDash|rightarrow|g(tr|eq(slant|q)?)|mid|Left(arrow|rightarrow))|c(hi|irc(eq|le(d(circ|S|dash|ast)|arrow(left|right)))?|o(ng|prod|lon|mplement)|dot(s|p)?|u(p|r(vearrow(left|right)|ly(eq(succ|prec)|vee(downarrow|uparrow)?|wedge(downarrow|uparrow)?)))|enterdot|lubsuit|ap)|Xi|Maps(to(char)?|from(char)?)|B(ox|umpeq|bbk)|t(h(ick(sim|approx)|e(ta|refore))|imes|op|wohead(leftarrow|rightarrow)|a(u|lloblong)|riangle(down|q|left(eq(slant)?)?|right(eq(slant)?)?)?)|i(n(t(er(cal|leave))?|plus|fty)?|ota|math)|S(igma|u(pset|bset))|zeta|o(slash|times|int|dot|plus|vee|wedge|lessthan|greaterthan|m(inus|ega)|b(slash|long|ar))|d(i(v(ideontimes)?|a(g(down|up)|mond(suit)?)|gamma)|o(t(plus|eq(dot)?)|ublebarwedge|wn(harpoon(left|right)|downarrows|arrow))|d(ots|agger)|elta|a(sh(v|leftarrow|rightarrow)|leth|gger))|Y(down|up|left|right)|C(up|ap)|u(n(lhd|rhd)|p(silon|harpoon(left|right)|downarrow|uparrows|lus|arrow)|lcorner|rcorner)|jmath|Theta|Im|p(si|hi|i(tchfork)?|erp|ar(tial|allel)|r(ime|o(d|pto)|ec(sim|n(sim|approx)|curlyeq|eq|approx)?)|m)|e(t(h|a)|psilon|q(slant(less|gtr)|circ|uiv)|ll|xists|mptyset)|Omega|D(iamond|ownarrow|elta)|v(d(ots|ash)|ee(bar)?|Dash|ar(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|curly(vee|wedge)|t(heta|imes|riangle(left|right)?)|o(slash|circle|times|dot|plus|vee|wedge|lessthan|ast|greaterthan|minus|b(slash|ar))|p(hi|i|ropto)|epsilon|kappa|rho|bigcirc))|kappa|Up(silon|downarrow|arrow)|Join|f(orall|lat|a(t(s(emi|lash)|bslash)|llingdotseq)|rown)|P(si|hi|i)|w(p|edge|r)|l(hd|n(sim|eq(q)?|approx)|ceil|times|ightning|o(ng(left(arrow|rightarrow)|rightarrow|maps(to|from))|zenge|oparrow(left|right))|dot(s|p)|e(ss(sim|dot|eq(qgtr|gtr)|approx|gtr)|q(slant|q)?|ft(slice|harpoon(down|up)|threetimes|leftarrows|arrow(t(ail|riangle))?|right(squigarrow|harpoons|arrow(s|triangle|eq)?))|adsto)|vertneqq|floor|l(c(orner|eil)|floor|l|bracket)?|a(ngle|mbda)|rcorner|bag)|a(s(ymp|t)|ngle|pprox(eq)?|l(pha|eph)|rrownot|malg)|V(dash|vdash)|r(h(o|d)|ceil|times|i(singdotseq|ght(s(quigarrow|lice)|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(t(ail|riangle))?|rightarrows))|floor|angle|r(ceil|parenthesis|floor|bracket)|bag)|g(n(sim|eq(q)?|approx)|tr(sim|dot|eq(qless|less)|less|approx)|imel|eq(slant|q)?|vertneqq|amma|g(g)?)|Finv|xi|m(ho|i(nuso|d)|o(o|dels)|u(ltimap)?|p|e(asuredangle|rge)|aps(to|from(char)?))|b(i(n(dnasrepma|ampersand)|g(s(tar|qc(up|ap))|nplus|c(irc|u(p|rly(vee|wedge))|ap)|triangle(down|up)|interleave|o(times|dot|plus)|uplus|parallel|vee|wedge|box))|o(t|wtie|x(slash|circle|times|dot|plus|empty|ast|minus|b(slash|ox|ar)))|u(llet|mpeq)|e(cause|t(h|ween|a))|lack(square|triangle(down|left|right)?|lozenge)|a(ck(s(im(eq)?|lash)|prime|epsilon)|r(o|wedge))|bslash)|L(sh|ong(left(arrow|rightarrow)|rightarrow|maps(to|from))|eft(arrow|rightarrow)|leftarrow|ambda|bag)|Arrownot)(?![a-zA-Z@])", name: "constant.character.math.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(sum|prod|coprod|int|oint|bigcap|bigcup|bigsqcup|bigvee|bigwedge|bigodot|bigotimes|bogoplus|biguplus)\\b", name: "constant.character.math.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(arccos|arcsin|arctan|arg|cos|cosh|cot|coth|csc|deg|det|dim|exp|gcd|hom|inf|ker|lg|lim|liminf|limsup|ln|log|max|min|pr|sec|sin|sinh|sup|tan|tanh)\\b", name: "constant.other.math.tex" }, { begin: "((\\\\)Sexpr(\\{))", beginCaptures: { 1: { name: "support.function.sexpr.math.tex" }, 2: { name: "punctuation.definition.function.math.tex" }, 3: { name: "punctuation.section.embedded.begin.math.tex" } }, contentName: "support.function.sexpr.math.tex", end: "(((\\})))", endCaptures: { 1: { name: "support.function.sexpr.math.tex" }, 2: { name: "punctuation.section.embedded.end.math.tex" }, 3: { name: "source.r" } }, name: "meta.embedded.line.r", patterns: [{ begin: "\\G(?!\\})", end: "(?=\\})", name: "source.r", patterns: [{ include: "source.r" }] }] }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(?!begin\\{|verb)([A-Za-z]+)", name: "constant.other.general.math.tex" }, { match: "(?<!\\\\)\\{", name: "punctuation.math.begin.bracket.curly.tex" }, { match: "(?<!\\\\)\\}", name: "punctuation.math.end.bracket.curly.tex" }, { match: "(?<!\\\\)\\(", name: "punctuation.math.begin.bracket.round.tex" }, { match: "(?<!\\\\)\\)", name: "punctuation.math.end.bracket.round.tex" }, { match: "(([0-9]*[\\.][0-9]+)|[0-9]+)", name: "constant.numeric.math.tex" }, { match: "[\\+\\*/_\\^-]", name: "punctuation.math.operator.tex" }] } }, scopeName: "text.tex", embeddedLangs: ["r"] });
18
18
  var x = [
19
19
  ...e,
20
20
  h