@kong-ui-public/documentation 0.3.42 → 0.4.0

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 (155) hide show
  1. package/dist/Tableau10-GLA_9iAD-BMurskAd.js +9 -0
  2. package/dist/arc-BSRpyMf3-C5dasNo_.js +86 -0
  3. package/dist/array-CqVTtuYm-fKLgkG2b.js +6 -0
  4. package/dist/astro-mwoSwJnq-CNh-xuM0.js +27 -0
  5. package/dist/blockDiagram-6b2b5046-D02VCbQO-CPmGy0xX.js +1224 -0
  6. package/dist/c-eDnjw9rh-eDnjw9rh.js +87 -0
  7. package/dist/c4Diagram-b947cdbb-gYcL5VzP-DIDY83e1.js +1578 -0
  8. package/dist/channel-DHTQ8Ynn-7OPGex2S.js +5 -0
  9. package/dist/classDiagram-35230388-JdSKLSZv-D2crBRy-.js +217 -0
  10. package/dist/classDiagram-v2-412acd34-DFFRHXE_-B6aCxlD1.js +200 -0
  11. package/dist/clone-p6h9XXNm-3JQ-HRC6.js +8 -0
  12. package/dist/coffee-CRlSxcc3-CY091_1T.js +108 -0
  13. package/dist/cpp-DizfY48B-CA38N4Mn.js +208 -0
  14. package/dist/createText-423428c9-LivTKT7b-BXNfjcdp.js +2964 -0
  15. package/dist/csharp-uGDiXTZn-uGDiXTZn.js +762 -0
  16. package/dist/css-CAzixsid-CEpuX1HY.js +511 -0
  17. package/dist/csv-D4BoHddH-D4BoHddH.js +7 -0
  18. package/dist/diff-Bo5iyMQ2-Bo5iyMQ2.js +7 -0
  19. package/dist/docker-B10O2enb-B10O2enb.js +7 -0
  20. package/dist/documentation.es.js +5 -3130
  21. package/dist/documentation.umd.js +10152 -50
  22. package/dist/edges-d417c7a0-C1ggiwWz-Aj0OUf7e.js +1082 -0
  23. package/dist/erDiagram-0ea73325-mz0Z_-DA-Dr01LsTB.js +924 -0
  24. package/dist/flowDb-d35e309a-CPyxEMIt-lofeyUuw.js +1126 -0
  25. package/dist/flowDiagram-d949d7c1-DqCa0HNN-BK5wNO9Z.js +782 -0
  26. package/dist/flowDiagram-v2-49332944-UMosz1sZ-BG39AuNP.js +17 -0
  27. package/dist/flowchart-elk-definition-27cc417a-D2UKpS6N-r2p34307.js +48387 -0
  28. package/dist/ganttDiagram-5c869e3b-CVBHw4pG-CaG9QXQM.js +2490 -0
  29. package/dist/git-commit-CWf81VOF-DtOZSoIU.js +9 -0
  30. package/dist/git-rebase-sR-yVH_J-D5M2oE9O.js +9 -0
  31. package/dist/gitGraphDiagram-b9d81de9-BGm3fU0n-CbCpf-4j.js +1262 -0
  32. package/dist/go-BCCWZWY1-BCCWZWY1.js +7 -0
  33. package/dist/graph-4FyIWFHN-774TpNLL.js +870 -0
  34. package/dist/graphql-CT32SSoq-1pBWfpcR.js +18 -0
  35. package/dist/haml-8RvrfhLO-Bbc4xoLP.js +19 -0
  36. package/dist/handlebars-Cr5ro0bH-CLcCNLtV.js +15 -0
  37. package/dist/haskell-BfFu8DD8-BmkPJdLL.js +565 -0
  38. package/dist/html-BZB5lEhh-B74zAnWx.js +84 -0
  39. package/dist/html-derivative-0y7sV5Qc-D8-muTWn.js +9 -0
  40. package/dist/index-8fae9850-_CN7MNjP-Cq-s0PmS.js +373 -0
  41. package/dist/index-B-5DuDrq.js +29996 -0
  42. package/dist/infoDiagram-db7b18fc-V446j9uR-GSa8bniv.js +319 -0
  43. package/dist/ini-BsUFIxsI-BsUFIxsI.js +7 -0
  44. package/dist/init-DjUOC4st-C8Nwz6AJ.js +16 -0
  45. package/dist/java-Bk2JzfKB-Bk2JzfKB.js +74 -0
  46. package/dist/javascript-DqVBMyXe-DqVBMyXe.js +705 -0
  47. package/dist/journeyDiagram-d5636530-CFiu7dnV-DJMu6A22.js +803 -0
  48. package/dist/json-B12k4-6m-B12k4-6m.js +31 -0
  49. package/dist/json5-CvqQZK9I-CvqQZK9I.js +23 -0
  50. package/dist/jsonc-v2qGKRJY-v2qGKRJY.js +31 -0
  51. package/dist/jsonl-izxnMeZX-izxnMeZX.js +31 -0
  52. package/dist/jsx-aDp7j9_Z-aDp7j9_Z.js +705 -0
  53. package/dist/kotlin-NOMOielb-NOMOielb.js +7 -0
  54. package/dist/latex-Bw_ghldO-BlUAi6pB.js +339 -0
  55. package/dist/layout-2-aEcfuw-BqqWy5wB.js +1524 -0
  56. package/dist/less-CW2GmQHL-CW2GmQHL.js +165 -0
  57. package/dist/line-nVq5kEiy-DtZd3PHZ.js +34 -0
  58. package/dist/linear-Bz4oRFvQ-C869GXbm.js +447 -0
  59. package/dist/liquid-DJ2rh7oT-FwZwa67Y.js +28 -0
  60. package/dist/lua-5TZ-G8Be-CogscVHC.js +9 -0
  61. package/dist/make-whncTQWE-whncTQWE.js +7 -0
  62. package/dist/markdown-DYKdIx5--DYKdIx5-.js +135 -0
  63. package/dist/material-theme-lighter-BRE1Bis3-BRE1Bis3.js +769 -0
  64. package/dist/material-theme-palenight-Dhz61Tee-Dhz61Tee.js +769 -0
  65. package/dist/mdc-D0DPLwil-BfE3hy8_.js +88 -0
  66. package/dist/mdx-CKDMxEaL-CKDMxEaL.js +7 -0
  67. package/dist/mermaid-BxNM-z-u-BxNM-z-u.js +7 -0
  68. package/dist/mindmap-definition-377f8f1f-C2vFYDMs-B71SGbvx.js +19078 -0
  69. package/dist/nginx-C082G13W-vryM9k1W.js +9 -0
  70. package/dist/objective-c-BVtzkNiv-BVtzkNiv.js +115 -0
  71. package/dist/onig-BonMD2gC-BonMD2gC.js +4 -0
  72. package/dist/ordinal-MUacOSdK-B1MUT0BL.js +65 -0
  73. package/dist/pascal-CrvtytWS-CrvtytWS.js +7 -0
  74. package/dist/path-Crsf9Nsj-SiSjwXsf.js +91 -0
  75. package/dist/perl-D29UPKP6-Dez6-HRy.js +17 -0
  76. package/dist/php-D7Tl-iS7-BtPFrDEt.js +789 -0
  77. package/dist/pieDiagram-b0208e96-DhA_SoTh-CfDd9YdA.js +501 -0
  78. package/dist/plsql-8SPzZKaa-8SPzZKaa.js +7 -0
  79. package/dist/postcss-Cz2vjx_4-Cz2vjx_4.js +7 -0
  80. package/dist/powershell-B0buHCuS-B0buHCuS.js +7 -0
  81. package/dist/proto-6YaU_lta-6YaU_lta.js +7 -0
  82. package/dist/pug-DbFO7359-duYD8LVa.js +21 -0
  83. package/dist/python-BQXev0_W-BQXev0_W.js +524 -0
  84. package/dist/quadrantDiagram-0332be45-C8q96Ohm-DMblaqnx.js +903 -0
  85. package/dist/r-DU7Q70f1-DU7Q70f1.js +7 -0
  86. package/dist/reg-DoGLEyFr-DoGLEyFr.js +7 -0
  87. package/dist/requirementDiagram-bf7890df-D30zCZjB-B_JBC9RM.js +767 -0
  88. package/dist/rst-Bm1i8IkK-C9EaDq6g.js +26 -0
  89. package/dist/ruby-CZZKXaz8-BxaDEkRP.js +102 -0
  90. package/dist/rust-CIl6NRUt-CIl6NRUt.js +7 -0
  91. package/dist/sankeyDiagram-0acdec17-B4vNjMaS-Bauvtonp.js +816 -0
  92. package/dist/sass-LqXmC1Fh-LqXmC1Fh.js +8 -0
  93. package/dist/scss-DjxgF7f7-DGTzny6p.js +98 -0
  94. package/dist/sequenceDiagram-c18d009d-BniqGSPK-DuYYUmiZ.js +2201 -0
  95. package/dist/shellscript-CUUTQKn5-CUUTQKn5.js +7 -0
  96. package/dist/shellsession-BIPXtZci-D6avbCwN.js +9 -0
  97. package/dist/splunk-C0K00wNV-C0K00wNV.js +7 -0
  98. package/dist/sql-DkzN59UV-DkzN59UV.js +27 -0
  99. package/dist/ssh-config-BbWAW6SY-BbWAW6SY.js +7 -0
  100. package/dist/stateDiagram-43596fc0-F0V9suMd-L2Ywe-J_.js +266 -0
  101. package/dist/stateDiagram-v2-2ead4f9c-DUgJH8tF-BVo1q2i1.js +184 -0
  102. package/dist/style.css +1 -1
  103. package/dist/styles-6860f46c-Dflmq0ac-BRNSwis6.js +1089 -0
  104. package/dist/styles-7383a064-Dg7mXkpq-C4bItohl.js +430 -0
  105. package/dist/styles-b2c874b6-HpcOhE4Y-Bj0upXzO.js +960 -0
  106. package/dist/stylus-CAHdVuhm-CAHdVuhm.js +21 -0
  107. package/dist/svelte-DAxjO8Sh-D0e501jC.js +29 -0
  108. package/dist/svgDrawCommon-0ee1b4e9-CNkCfzsJ-Bz_doYLk.js +64 -0
  109. package/dist/swift-x2DVyVjN-Bz5PC9YM.js +550 -0
  110. package/dist/timeline-definition-d977decf-Cl38e_0g-D_Dlqa-R.js +794 -0
  111. package/dist/toml-Dbtbfmwk-Dbtbfmwk.js +75 -0
  112. package/dist/tsx-BmwsDeeh-BmwsDeeh.js +705 -0
  113. package/dist/twig-B_Gr-ODl-Cl9Q0GWo.js +58 -0
  114. package/dist/types/components/DocumentationContent.vue.d.ts +8 -1
  115. package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -1
  116. package/dist/types/components/DocumentationDisplay.vue.d.ts +5 -1
  117. package/dist/types/components/DocumentationDisplay.vue.d.ts.map +1 -1
  118. package/dist/types/components/ProductDocumentModal.vue.d.ts +1 -1
  119. package/dist/types/components/ProductDocumentModal.vue.d.ts.map +1 -1
  120. package/dist/types/composables/useI18n.d.ts +4 -0
  121. package/dist/types/composables/useI18n.d.ts.map +1 -1
  122. package/dist/typescript-AEg-ehu7-AEg-ehu7.js +672 -0
  123. package/dist/v-BuvBsUKm-BuvBsUKm.js +7 -0
  124. package/dist/vb-cqjo5dul-cqjo5dul.js +7 -0
  125. package/dist/viml-h3ATW6He-h3ATW6He.js +7 -0
  126. package/dist/vue-Dz-azHaT-B9qBHMZi.js +71 -0
  127. package/dist/vue-html-DIGKAAs4-BeHSIJcx.js +11 -0
  128. package/dist/wasm-xOGcJ9Ts-xOGcJ9Ts.js +7 -0
  129. package/dist/wgsl-hGLOfCya-hGLOfCya.js +7 -0
  130. package/dist/xml-CfRpfi_B-BH3JRQfc.js +9 -0
  131. package/dist/xsl-BAqhSCYL-BTKPZRNQ.js +9 -0
  132. package/dist/xychartDiagram-e50adddc-JdLmRUgg-HmDalTeo.js +1282 -0
  133. package/dist/yaml-PGla5xPP-HJurM_FJ.js +206 -0
  134. package/package.json +13 -13
  135. package/dist/prism-bash.min-DDo5CyRs-DihCfXgx.js +0 -7
  136. package/dist/prism-css.min-BrrzZC7b-BrrzZC7b.js +0 -7
  137. package/dist/prism-docker.min-DnIEokC3-D0v8IWN_.js +0 -22
  138. package/dist/prism-go.min-C7UmK6TW-C7UmK6TW.js +0 -1
  139. package/dist/prism-http.min-CsU3-jB8-CQ8PCDXl.js +0 -23
  140. package/dist/prism-javascript.min-CEqHqgbm-CEqHqgbm.js +0 -8
  141. package/dist/prism-jq.min-Q555vXZm-Q555vXZm.js +0 -8
  142. package/dist/prism-json.min-B1GJqK1k-B1GJqK1k.js +0 -1
  143. package/dist/prism-log.min-SDopTpKN-SDopTpKN.js +0 -1
  144. package/dist/prism-lua.min-DwRnUVfS-DwRnUVfS.js +0 -1
  145. package/dist/prism-makefile.min-DyutknhE-DyutknhE.js +0 -1
  146. package/dist/prism-markdown.min-B7US-xc7-DB9aF_ZA.js +0 -63
  147. package/dist/prism-python.min-BIfpAh5K-BIfpAh5K.js +0 -1
  148. package/dist/prism-regex.min-f8DNqi8X-f8DNqi8X.js +0 -4
  149. package/dist/prism-rest.min-B6veHRJF-B6veHRJF.js +0 -1
  150. package/dist/prism-rust.min-Cb-Mi-h0-Cb-Mi-h0.js +0 -9
  151. package/dist/prism-scss.min-B0csyGJo-B0csyGJo.js +0 -1
  152. package/dist/prism-sql.min-BHXzX-c_-BHXzX-c_.js +0 -1
  153. package/dist/prism-typescript.min-oSVeWCAd-oSVeWCAd.js +0 -5
  154. package/dist/prism-xml-doc.min-yj0YzRGe-KgTQx-dc.js +0 -7
  155. package/dist/prism-yaml.min-CTetcdKA-C1YzP_OY.js +0 -28
@@ -0,0 +1,5 @@
1
+ import { al as r, am as s } from "./index-B-5DuDrq.js";
2
+ const l = (o, a) => r.lang.round(s.parse(o)[a]);
3
+ export {
4
+ l as t
5
+ };
@@ -0,0 +1,217 @@
1
+ import { z as C, K as B, Y } from "./styles-6860f46c-Dflmq0ac-BRNSwis6.js";
2
+ import { c as H, l as f, h as N, i as D, ao as Z, y as T, as as $ } from "./index-B-5DuDrq.js";
3
+ import { Z as J } from "./graph-4FyIWFHN-774TpNLL.js";
4
+ import { A as W } from "./layout-2-aEcfuw-BqqWy5wB.js";
5
+ import { P as X } from "./line-nVq5kEiy-DtZd3PHZ.js";
6
+ let S = 0;
7
+ const G = function(n, a, t, s, l) {
8
+ const c = function(i) {
9
+ switch (i) {
10
+ case l.db.relationType.AGGREGATION:
11
+ return "aggregation";
12
+ case l.db.relationType.EXTENSION:
13
+ return "extension";
14
+ case l.db.relationType.COMPOSITION:
15
+ return "composition";
16
+ case l.db.relationType.DEPENDENCY:
17
+ return "dependency";
18
+ case l.db.relationType.LOLLIPOP:
19
+ return "lollipop";
20
+ }
21
+ };
22
+ a.points = a.points.filter((i) => !Number.isNaN(i.y));
23
+ const o = a.points, g = X().x(function(i) {
24
+ return i.x;
25
+ }).y(function(i) {
26
+ return i.y;
27
+ }).curve(Z), d = n.append("path").attr("d", g(o)).attr("id", "edge" + S).attr("class", "relation");
28
+ let r = "";
29
+ s.arrowMarkerAbsolute && (r = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, r = r.replace(/\(/g, "\\("), r = r.replace(/\)/g, "\\)")), t.relation.lineType == 1 && d.attr("class", "relation dashed-line"), t.relation.lineType == 10 && d.attr("class", "relation dotted-line"), t.relation.type1 !== "none" && d.attr(
30
+ "marker-start",
31
+ "url(" + r + "#" + c(t.relation.type1) + "Start)"
32
+ ), t.relation.type2 !== "none" && d.attr(
33
+ "marker-end",
34
+ "url(" + r + "#" + c(t.relation.type2) + "End)"
35
+ );
36
+ let u, p;
37
+ const x = a.points.length;
38
+ let m = T.calcLabelPosition(a.points);
39
+ u = m.x, p = m.y;
40
+ let b, w, e, h;
41
+ if (x % 2 !== 0 && x > 1) {
42
+ let i = T.calcCardinalityPosition(
43
+ t.relation.type1 !== "none",
44
+ a.points,
45
+ a.points[0]
46
+ ), y = T.calcCardinalityPosition(
47
+ t.relation.type2 !== "none",
48
+ a.points,
49
+ a.points[x - 1]
50
+ );
51
+ f.debug("cardinality_1_point " + JSON.stringify(i)), f.debug("cardinality_2_point " + JSON.stringify(y)), b = i.x, w = i.y, e = y.x, h = y.y;
52
+ }
53
+ if (t.title !== void 0) {
54
+ const i = n.append("g").attr("class", "classLabel"), y = i.append("text").attr("class", "label").attr("x", u).attr("y", p).attr("fill", "red").attr("text-anchor", "middle").text(t.title);
55
+ window.label = y;
56
+ const E = y.node().getBBox();
57
+ i.insert("rect", ":first-child").attr("class", "box").attr("x", E.x - s.padding / 2).attr("y", E.y - s.padding / 2).attr("width", E.width + s.padding).attr("height", E.height + s.padding);
58
+ }
59
+ f.info("Rendering relation " + JSON.stringify(t)), t.relationTitle1 !== void 0 && t.relationTitle1 !== "none" && n.append("g").attr("class", "cardinality").append("text").attr("class", "type1").attr("x", b).attr("y", w).attr("fill", "black").attr("font-size", "6").text(t.relationTitle1), t.relationTitle2 !== void 0 && t.relationTitle2 !== "none" && n.append("g").attr("class", "cardinality").append("text").attr("class", "type2").attr("x", e).attr("y", h).attr("fill", "black").attr("font-size", "6").text(t.relationTitle2), S++;
60
+ }, P = function(n, a, t, s) {
61
+ f.debug("Rendering class ", a, t);
62
+ const l = a.id, c = {
63
+ id: l,
64
+ label: a.id,
65
+ width: 0,
66
+ height: 0
67
+ }, o = n.append("g").attr("id", s.db.lookUpDomId(l)).attr("class", "classGroup");
68
+ let g;
69
+ a.link ? g = o.append("svg:a").attr("xlink:href", a.link).attr("target", a.linkTarget).append("text").attr("y", t.textHeight + t.padding).attr("x", 0) : g = o.append("text").attr("y", t.textHeight + t.padding).attr("x", 0);
70
+ let d = !0;
71
+ a.annotations.forEach(function(i) {
72
+ const y = g.append("tspan").text("«" + i + "»");
73
+ d || y.attr("dy", t.textHeight), d = !1;
74
+ });
75
+ let r = A(a);
76
+ const u = g.append("tspan").text(r).attr("class", "title");
77
+ d || u.attr("dy", t.textHeight);
78
+ const p = g.node().getBBox().height;
79
+ let x, m, b;
80
+ if (a.members.length > 0) {
81
+ x = o.append("line").attr("x1", 0).attr("y1", t.padding + p + t.dividerMargin / 2).attr("y2", t.padding + p + t.dividerMargin / 2);
82
+ const i = o.append("text").attr("x", t.padding).attr("y", p + t.dividerMargin + t.textHeight).attr("fill", "white").attr("class", "classText");
83
+ d = !0, a.members.forEach(function(y) {
84
+ O(i, y, d, t), d = !1;
85
+ }), m = i.node().getBBox();
86
+ }
87
+ if (a.methods.length > 0) {
88
+ b = o.append("line").attr("x1", 0).attr("y1", t.padding + p + t.dividerMargin + m.height).attr("y2", t.padding + p + t.dividerMargin + m.height);
89
+ const i = o.append("text").attr("x", t.padding).attr("y", p + 2 * t.dividerMargin + m.height + t.textHeight).attr("fill", "white").attr("class", "classText");
90
+ d = !0, a.methods.forEach(function(y) {
91
+ O(i, y, d, t), d = !1;
92
+ });
93
+ }
94
+ const w = o.node().getBBox();
95
+ var e = " ";
96
+ a.cssClasses.length > 0 && (e = e + a.cssClasses.join(" "));
97
+ const h = o.insert("rect", ":first-child").attr("x", 0).attr("y", 0).attr("width", w.width + 2 * t.padding).attr("height", w.height + t.padding + 0.5 * t.dividerMargin).attr("class", e).node().getBBox().width;
98
+ return g.node().childNodes.forEach(function(i) {
99
+ i.setAttribute("x", (h - i.getBBox().width) / 2);
100
+ }), a.tooltip && g.insert("title").text(a.tooltip), x && x.attr("x2", h), b && b.attr("x2", h), c.width = h, c.height = w.height + t.padding + 0.5 * t.dividerMargin, c;
101
+ }, A = function(n) {
102
+ let a = n.id;
103
+ return n.type && (a += "<" + $(n.type) + ">"), a;
104
+ }, I = function(n, a, t, s) {
105
+ f.debug("Rendering note ", a, t);
106
+ const l = a.id, c = {
107
+ id: l,
108
+ text: a.text,
109
+ width: 0,
110
+ height: 0
111
+ }, o = n.append("g").attr("id", l).attr("class", "classGroup");
112
+ let g = o.append("text").attr("y", t.textHeight + t.padding).attr("x", 0);
113
+ const d = JSON.parse(`"${a.text}"`).split(`
114
+ `);
115
+ d.forEach(function(p) {
116
+ f.debug(`Adding line: ${p}`), g.append("tspan").text(p).attr("class", "title").attr("dy", t.textHeight);
117
+ });
118
+ const r = o.node().getBBox(), u = o.insert("rect", ":first-child").attr("x", 0).attr("y", 0).attr("width", r.width + 2 * t.padding).attr(
119
+ "height",
120
+ r.height + d.length * t.textHeight + t.padding + 0.5 * t.dividerMargin
121
+ ).node().getBBox().width;
122
+ return g.node().childNodes.forEach(function(p) {
123
+ p.setAttribute("x", (u - p.getBBox().width) / 2);
124
+ }), c.width = u, c.height = r.height + d.length * t.textHeight + t.padding + 0.5 * t.dividerMargin, c;
125
+ }, O = function(n, a, t, s) {
126
+ const { displayText: l, cssStyle: c } = a.getDisplayDetails(), o = n.append("tspan").attr("x", s.padding).text(l);
127
+ c !== "" && o.attr("style", a.cssStyle), t || o.attr("dy", s.textHeight);
128
+ }, M = {
129
+ getClassTitleString: A,
130
+ drawClass: P,
131
+ drawEdge: G,
132
+ drawNote: I
133
+ };
134
+ let v = {};
135
+ const L = 20, k = function(n) {
136
+ const a = Object.entries(v).find((t) => t[1].label === n);
137
+ if (a)
138
+ return a[0];
139
+ }, R = function(n) {
140
+ n.append("defs").append("marker").attr("id", "extensionStart").attr("class", "extension").attr("refX", 0).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), n.append("defs").append("marker").attr("id", "extensionEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z"), n.append("defs").append("marker").attr("id", "compositionStart").attr("class", "extension").attr("refX", 0).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), n.append("defs").append("marker").attr("id", "compositionEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), n.append("defs").append("marker").attr("id", "aggregationStart").attr("class", "extension").attr("refX", 0).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), n.append("defs").append("marker").attr("id", "aggregationEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), n.append("defs").append("marker").attr("id", "dependencyStart").attr("class", "extension").attr("refX", 0).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), n.append("defs").append("marker").attr("id", "dependencyEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
141
+ }, z = function(n, a, t, s) {
142
+ const l = H().class;
143
+ v = {}, f.info("Rendering diagram " + n);
144
+ const c = H().securityLevel;
145
+ let o;
146
+ c === "sandbox" && (o = N("#i" + a));
147
+ const g = c === "sandbox" ? N(o.nodes()[0].contentDocument.body) : N("body"), d = g.select(`[id='${a}']`);
148
+ R(d);
149
+ const r = new J({
150
+ multigraph: !0
151
+ });
152
+ r.setGraph({
153
+ isMultiGraph: !0
154
+ }), r.setDefaultEdgeLabel(function() {
155
+ return {};
156
+ });
157
+ const u = s.db.getClasses(), p = Object.keys(u);
158
+ for (const e of p) {
159
+ const h = u[e], i = M.drawClass(d, h, l, s);
160
+ v[i.id] = i, r.setNode(i.id, i), f.info("Org height: " + i.height);
161
+ }
162
+ s.db.getRelations().forEach(function(e) {
163
+ f.info(
164
+ "tjoho" + k(e.id1) + k(e.id2) + JSON.stringify(e)
165
+ ), r.setEdge(
166
+ k(e.id1),
167
+ k(e.id2),
168
+ {
169
+ relation: e
170
+ },
171
+ e.title || "DEFAULT"
172
+ );
173
+ }), s.db.getNotes().forEach(function(e) {
174
+ f.debug(`Adding note: ${JSON.stringify(e)}`);
175
+ const h = M.drawNote(d, e, l, s);
176
+ v[h.id] = h, r.setNode(h.id, h), e.class && e.class in u && r.setEdge(
177
+ e.id,
178
+ k(e.class),
179
+ {
180
+ relation: {
181
+ id1: e.id,
182
+ id2: e.class,
183
+ relation: {
184
+ type1: "none",
185
+ type2: "none",
186
+ lineType: 10
187
+ }
188
+ }
189
+ },
190
+ "DEFAULT"
191
+ );
192
+ }), W(r), r.nodes().forEach(function(e) {
193
+ e !== void 0 && r.node(e) !== void 0 && (f.debug("Node " + e + ": " + JSON.stringify(r.node(e))), g.select("#" + (s.db.lookUpDomId(e) || e)).attr(
194
+ "transform",
195
+ "translate(" + (r.node(e).x - r.node(e).width / 2) + "," + (r.node(e).y - r.node(e).height / 2) + " )"
196
+ ));
197
+ }), r.edges().forEach(function(e) {
198
+ e !== void 0 && r.edge(e) !== void 0 && (f.debug("Edge " + e.v + " -> " + e.w + ": " + JSON.stringify(r.edge(e))), M.drawEdge(d, r.edge(e), r.edge(e).relation, l, s));
199
+ });
200
+ const x = d.node().getBBox(), m = x.width + L * 2, b = x.height + L * 2;
201
+ D(d, b, m, l.useMaxWidth);
202
+ const w = `${x.x - L} ${x.y - L} ${m} ${b}`;
203
+ f.debug(`viewBox ${w}`), d.attr("viewBox", w);
204
+ }, _ = {
205
+ draw: z
206
+ }, q = {
207
+ parser: C,
208
+ db: B,
209
+ renderer: _,
210
+ styles: Y,
211
+ init: (n) => {
212
+ n.class || (n.class = {}), n.class.arrowMarkerAbsolute = n.arrowMarkerAbsolute, B.clear();
213
+ }
214
+ };
215
+ export {
216
+ q as diagram
217
+ };
@@ -0,0 +1,200 @@
1
+ import { z as _, K as L, Y as j } from "./styles-6860f46c-Dflmq0ac-BRNSwis6.js";
2
+ import { l as c, c as d, h as w, y as B, t as R, o as E, q as D, r as $, j as A } from "./index-B-5DuDrq.js";
3
+ import { Z as z } from "./graph-4FyIWFHN-774TpNLL.js";
4
+ import { b as P } from "./index-8fae9850-_CN7MNjP-Cq-s0PmS.js";
5
+ import "./layout-2-aEcfuw-BqqWy5wB.js";
6
+ const k = (a) => A.sanitizeText(a, d());
7
+ let x = {
8
+ dividerMargin: 10,
9
+ padding: 5,
10
+ textHeight: 10,
11
+ curve: void 0
12
+ };
13
+ const Z = function(a, t, b, i) {
14
+ const e = Object.keys(a);
15
+ c.info("keys:", e), c.info(a), e.forEach(function(s) {
16
+ var l, r;
17
+ const o = a[s], n = {
18
+ shape: "rect",
19
+ id: o.id,
20
+ domId: o.domId,
21
+ labelText: k(o.id),
22
+ labelStyle: "",
23
+ style: "fill: none; stroke: black",
24
+ // TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
25
+ padding: ((l = d().flowchart) == null ? void 0 : l.padding) ?? ((r = d().class) == null ? void 0 : r.padding)
26
+ };
27
+ t.setNode(o.id, n), C(o.classes, t, b, i, o.id), c.info("setNode", n);
28
+ });
29
+ }, C = function(a, t, b, i, e) {
30
+ const s = Object.keys(a);
31
+ c.info("keys:", s), c.info(a), s.filter((l) => a[l].parent == e).forEach(function(l) {
32
+ var r, o;
33
+ const n = a[l], g = n.cssClasses.join(" "), y = E(n.styles), u = n.label ?? n.id, p = 0, f = {
34
+ labelStyle: y.labelStyle,
35
+ shape: "class_box",
36
+ labelText: k(u),
37
+ classData: n,
38
+ rx: p,
39
+ ry: p,
40
+ class: g,
41
+ style: y.style,
42
+ id: n.id,
43
+ domId: n.domId,
44
+ tooltip: i.db.getTooltip(n.id, e) || "",
45
+ haveCallback: n.haveCallback,
46
+ link: n.link,
47
+ width: n.type === "group" ? 500 : void 0,
48
+ type: n.type,
49
+ // TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
50
+ padding: ((r = d().flowchart) == null ? void 0 : r.padding) ?? ((o = d().class) == null ? void 0 : o.padding)
51
+ };
52
+ t.setNode(n.id, f), e && t.setParent(n.id, e), c.info("setNode", f);
53
+ });
54
+ }, q = function(a, t, b, i) {
55
+ c.info(a), a.forEach(function(e, s) {
56
+ var l, r;
57
+ const o = e, n = "", g = { labelStyle: "", style: "" }, y = o.text, u = 0, p = {
58
+ labelStyle: g.labelStyle,
59
+ shape: "note",
60
+ labelText: k(y),
61
+ noteData: o,
62
+ rx: u,
63
+ ry: u,
64
+ class: n,
65
+ style: g.style,
66
+ id: o.id,
67
+ domId: o.id,
68
+ tooltip: "",
69
+ type: "note",
70
+ // TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
71
+ padding: ((l = d().flowchart) == null ? void 0 : l.padding) ?? ((r = d().class) == null ? void 0 : r.padding)
72
+ };
73
+ if (t.setNode(o.id, p), c.info("setNode", p), !o.class || !(o.class in i))
74
+ return;
75
+ const f = b + s, m = {
76
+ id: `edgeNote${f}`,
77
+ //Set relationship style and line type
78
+ classes: "relation",
79
+ pattern: "dotted",
80
+ // Set link type for rendering
81
+ arrowhead: "none",
82
+ //Set edge extra labels
83
+ startLabelRight: "",
84
+ endLabelLeft: "",
85
+ //Set relation arrow types
86
+ arrowTypeStart: "none",
87
+ arrowTypeEnd: "none",
88
+ style: "fill:none",
89
+ labelStyle: "",
90
+ curve: D(x.curve, $)
91
+ };
92
+ t.setEdge(o.id, o.class, m, f);
93
+ });
94
+ }, F = function(a, t) {
95
+ const b = d().flowchart;
96
+ let i = 0;
97
+ a.forEach(function(e) {
98
+ var s;
99
+ i++;
100
+ const l = {
101
+ //Set relationship style and line type
102
+ classes: "relation",
103
+ pattern: e.relation.lineType == 1 ? "dashed" : "solid",
104
+ id: `id_${e.id1}_${e.id2}_${i}`,
105
+ // Set link type for rendering
106
+ arrowhead: e.type === "arrow_open" ? "none" : "normal",
107
+ //Set edge extra labels
108
+ startLabelRight: e.relationTitle1 === "none" ? "" : e.relationTitle1,
109
+ endLabelLeft: e.relationTitle2 === "none" ? "" : e.relationTitle2,
110
+ //Set relation arrow types
111
+ arrowTypeStart: N(e.relation.type1),
112
+ arrowTypeEnd: N(e.relation.type2),
113
+ style: "fill:none",
114
+ labelStyle: "",
115
+ curve: D(b == null ? void 0 : b.curve, $)
116
+ };
117
+ if (c.info(l, e), e.style !== void 0) {
118
+ const r = E(e.style);
119
+ l.style = r.style, l.labelStyle = r.labelStyle;
120
+ }
121
+ e.text = e.title, e.text === void 0 ? e.style !== void 0 && (l.arrowheadStyle = "fill: #333") : (l.arrowheadStyle = "fill: #333", l.labelpos = "c", ((s = d().flowchart) == null ? void 0 : s.htmlLabels) ?? d().htmlLabels ? (l.labelType = "html", l.label = '<span class="edgeLabel">' + e.text + "</span>") : (l.labelType = "text", l.label = e.text.replace(A.lineBreakRegex, `
122
+ `), e.style === void 0 && (l.style = l.style || "stroke: #333; stroke-width: 1.5px;fill:none"), l.labelStyle = l.labelStyle.replace("color:", "fill:"))), t.setEdge(e.id1, e.id2, l, i);
123
+ });
124
+ }, G = function(a) {
125
+ x = {
126
+ ...x,
127
+ ...a
128
+ };
129
+ }, H = async function(a, t, b, i) {
130
+ c.info("Drawing class - ", t);
131
+ const e = d().flowchart ?? d().class, s = d().securityLevel;
132
+ c.info("config:", e);
133
+ const l = (e == null ? void 0 : e.nodeSpacing) ?? 50, r = (e == null ? void 0 : e.rankSpacing) ?? 50, o = new z({
134
+ multigraph: !0,
135
+ compound: !0
136
+ }).setGraph({
137
+ rankdir: i.db.getDirection(),
138
+ nodesep: l,
139
+ ranksep: r,
140
+ marginx: 8,
141
+ marginy: 8
142
+ }).setDefaultEdgeLabel(function() {
143
+ return {};
144
+ }), n = i.db.getNamespaces(), g = i.db.getClasses(), y = i.db.getRelations(), u = i.db.getNotes();
145
+ c.info(y), Z(n, o, t, i), C(g, o, t, i), F(y, o), q(u, o, y.length + 1, g);
146
+ let p;
147
+ s === "sandbox" && (p = w("#i" + t));
148
+ const f = s === "sandbox" ? w(p.nodes()[0].contentDocument.body) : w("body"), m = f.select(`[id="${t}"]`), I = f.select("#" + t + " g");
149
+ if (await P(
150
+ I,
151
+ o,
152
+ ["aggregation", "extension", "composition", "dependency", "lollipop"],
153
+ "classDiagram",
154
+ t
155
+ ), B.insertTitle(m, "classTitleText", (e == null ? void 0 : e.titleTopMargin) ?? 5, i.db.getDiagramTitle()), R(o, m, e == null ? void 0 : e.diagramPadding, e == null ? void 0 : e.useMaxWidth), !(e != null && e.htmlLabels)) {
156
+ const T = s === "sandbox" ? p.nodes()[0].contentDocument : document, M = T.querySelectorAll('[id="' + t + '"] .edgeLabel .label');
157
+ for (const v of M) {
158
+ const S = v.getBBox(), h = T.createElementNS("http://www.w3.org/2000/svg", "rect");
159
+ h.setAttribute("rx", 0), h.setAttribute("ry", 0), h.setAttribute("width", S.width), h.setAttribute("height", S.height), v.insertBefore(h, v.firstChild);
160
+ }
161
+ }
162
+ };
163
+ function N(a) {
164
+ let t;
165
+ switch (a) {
166
+ case 0:
167
+ t = "aggregation";
168
+ break;
169
+ case 1:
170
+ t = "extension";
171
+ break;
172
+ case 2:
173
+ t = "composition";
174
+ break;
175
+ case 3:
176
+ t = "dependency";
177
+ break;
178
+ case 4:
179
+ t = "lollipop";
180
+ break;
181
+ default:
182
+ t = "none";
183
+ }
184
+ return t;
185
+ }
186
+ const K = {
187
+ setConf: G,
188
+ draw: H
189
+ }, Q = {
190
+ parser: _,
191
+ db: L,
192
+ renderer: K,
193
+ styles: j,
194
+ init: (a) => {
195
+ a.class || (a.class = {}), a.class.arrowMarkerAbsolute = a.arrowMarkerAbsolute, L.clear();
196
+ }
197
+ };
198
+ export {
199
+ Q as diagram
200
+ };
@@ -0,0 +1,8 @@
1
+ import { j as o } from "./graph-4FyIWFHN-774TpNLL.js";
2
+ var t = 4;
3
+ function n(r) {
4
+ return o(r, t);
5
+ }
6
+ export {
7
+ n as a
8
+ };
@@ -0,0 +1,108 @@
1
+ import e from "./javascript-DqVBMyXe-DqVBMyXe.js";
2
+ const t = Object.freeze({ displayName: "CoffeeScript", name: "coffee", patterns: [{ include: "#jsx" }, { captures: { 1: { name: "keyword.operator.new.coffee" }, 2: { name: "storage.type.class.coffee" }, 3: { name: "entity.name.type.instance.coffee" }, 4: { name: "entity.name.type.instance.coffee" } }, match: "(new)\\s+(?:(?:(class)\\s+(\\w+(?:\\.\\w*)*)?)|(\\w+(?:\\.\\w*)*))", name: "meta.class.instance.constructor.coffee" }, { begin: "'''", beginCaptures: { 0: { name: "punctuation.definition.string.begin.coffee" } }, end: "'''", endCaptures: { 0: { name: "punctuation.definition.string.end.coffee" } }, name: "string.quoted.single.heredoc.coffee", patterns: [{ captures: { 1: { name: "punctuation.definition.escape.backslash.coffee" } }, match: "(\\\\).", name: "constant.character.escape.backslash.coffee" }] }, { begin: '"""', beginCaptures: { 0: { name: "punctuation.definition.string.begin.coffee" } }, end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.coffee" } }, name: "string.quoted.double.heredoc.coffee", patterns: [{ captures: { 1: { name: "punctuation.definition.escape.backslash.coffee" } }, match: "(\\\\).", name: "constant.character.escape.backslash.coffee" }, { include: "#interpolated_coffee" }] }, { captures: { 1: { name: "punctuation.definition.string.begin.coffee" }, 2: { name: "source.js.embedded.coffee", patterns: [{ include: "source.js" }] }, 3: { name: "punctuation.definition.string.end.coffee" } }, match: "(`)(.*)(`)", name: "string.quoted.script.coffee" }, { begin: "(?<!#)###(?!#)", beginCaptures: { 0: { name: "punctuation.definition.comment.coffee" } }, end: "###", endCaptures: { 0: { name: "punctuation.definition.comment.coffee" } }, name: "comment.block.coffee", patterns: [{ match: "(?<=^|\\s)@\\w*(?=\\s)", name: "storage.type.annotation.coffee" }] }, { begin: "#", beginCaptures: { 0: { name: "punctuation.definition.comment.coffee" } }, end: "$", name: "comment.line.number-sign.coffee" }, { begin: "///", beginCaptures: { 0: { name: "punctuation.definition.string.begin.coffee" } }, end: "(///)[gimuy]*", endCaptures: { 1: { name: "punctuation.definition.string.end.coffee" } }, name: "string.regexp.multiline.coffee", patterns: [{ include: "#heregexp" }] }, { begin: "(?<![\\w$])(/)(?=(?![/*+?])(.+)(/)[gimuy]*(?!\\s*[\\w$/(]))", beginCaptures: { 1: { name: "punctuation.definition.string.begin.coffee" } }, end: "(/)[gimuy]*(?!\\s*[\\w$/(])", endCaptures: { 1: { name: "punctuation.definition.string.end.coffee" } }, name: "string.regexp.coffee", patterns: [{ include: "source.js.regexp" }] }, { match: "\\b(?<![\\.\\$])(break|by|catch|continue|else|finally|for|in|of|if|return|switch|then|throw|try|unless|when|while|until|loop|do|export|import|default|from|as|yield|async|await|(?<=for)\\s+own)(?!\\s*:)\\b", name: "keyword.control.coffee" }, { match: "\\b(?<![\\.\\$])(delete|instanceof|new|typeof)(?!\\s*:)\\b", name: "keyword.operator.$1.coffee" }, { match: "\\b(?<![\\.\\$])(case|function|var|void|with|const|let|enum|native|__hasProp|__extends|__slice|__bind|__indexOf|implements|interface|package|private|protected|public|static)(?!\\s*:)\\b", name: "keyword.reserved.coffee" }, { begin: `(?x)
3
+ (?<=\\s|^)((@)?[a-zA-Z_$][\\w$]*)
4
+ \\s*([:=])\\s*
5
+ (?=(\\([^\\(\\)]*\\)\\s*)?[=-]>)`, beginCaptures: { 1: { name: "entity.name.function.coffee" }, 2: { name: "variable.other.readwrite.instance.coffee" }, 3: { name: "keyword.operator.assignment.coffee" } }, end: "[=-]>", endCaptures: { 0: { name: "storage.type.function.coffee" } }, name: "meta.function.coffee", patterns: [{ include: "#function_params" }] }, { begin: `(?x)
6
+ (?<=\\s|^)(?:((')([^']*?)('))|((")([^"]*?)(")))
7
+ \\s*([:=])\\s*
8
+ (?=(\\([^\\(\\)]*\\)\\s*)?[=-]>)`, beginCaptures: { 1: { name: "string.quoted.single.coffee" }, 2: { name: "punctuation.definition.string.begin.coffee" }, 3: { name: "entity.name.function.coffee" }, 4: { name: "punctuation.definition.string.end.coffee" }, 5: { name: "string.quoted.double.coffee" }, 6: { name: "punctuation.definition.string.begin.coffee" }, 7: { name: "entity.name.function.coffee" }, 8: { name: "punctuation.definition.string.end.coffee" }, 9: { name: "keyword.operator.assignment.coffee" } }, end: "[=-]>", endCaptures: { 0: { name: "storage.type.function.coffee" } }, name: "meta.function.coffee", patterns: [{ include: "#function_params" }] }, { begin: "(?=(\\([^\\(\\)]*\\)\\s*)?[=-]>)", end: "[=-]>", endCaptures: { 0: { name: "storage.type.function.coffee" } }, name: "meta.function.inline.coffee", patterns: [{ include: "#function_params" }] }, { begin: `(?<=\\s|^)({)(?=[^'"#]+?}[\\s\\]}]*=)`, beginCaptures: { 1: { name: "punctuation.definition.destructuring.begin.bracket.curly.coffee" } }, end: "}", endCaptures: { 0: { name: "punctuation.definition.destructuring.end.bracket.curly.coffee" } }, name: "meta.variable.assignment.destructured.object.coffee", patterns: [{ include: "$self" }, { match: "[a-zA-Z$_]\\w*", name: "variable.assignment.coffee" }] }, { begin: `(?<=\\s|^)(\\[)(?=[^'"#]+?\\][\\s\\]}]*=)`, beginCaptures: { 1: { name: "punctuation.definition.destructuring.begin.bracket.square.coffee" } }, end: "\\]", endCaptures: { 0: { name: "punctuation.definition.destructuring.end.bracket.square.coffee" } }, name: "meta.variable.assignment.destructured.array.coffee", patterns: [{ include: "$self" }, { match: "[a-zA-Z$_]\\w*", name: "variable.assignment.coffee" }] }, { match: "\\b(?<!\\.|::)(true|on|yes)(?!\\s*[:=][^=])\\b", name: "constant.language.boolean.true.coffee" }, { match: "\\b(?<!\\.|::)(false|off|no)(?!\\s*[:=][^=])\\b", name: "constant.language.boolean.false.coffee" }, { match: "\\b(?<!\\.|::)null(?!\\s*[:=][^=])\\b", name: "constant.language.null.coffee" }, { match: "\\b(?<!\\.|::)extends(?!\\s*[:=])\\b", name: "variable.language.coffee" }, { match: "(?<!\\.)\\b(?<!\\$)(super|this|arguments)(?!\\s*[:=][^=]|\\$)\\b", name: "variable.language.$1.coffee" }, { captures: { 1: { name: "storage.type.class.coffee" }, 2: { name: "keyword.control.inheritance.coffee" }, 3: { name: "entity.other.inherited-class.coffee" } }, match: "(?<=\\s|^|\\[|\\()(class)\\s+(extends)\\s+(@?[a-zA-Z\\$\\._][\\w\\.]*)", name: "meta.class.coffee" }, { captures: { 1: { name: "storage.type.class.coffee" }, 2: { name: "entity.name.type.class.coffee" }, 3: { name: "keyword.control.inheritance.coffee" }, 4: { name: "entity.other.inherited-class.coffee" } }, match: "(?<=\\s|^|\\[|\\()(class\\b)\\s+(@?[a-zA-Z\\$_][\\w\\.]*)?(?:\\s+(extends)\\s+(@?[a-zA-Z\\$\\._][\\w\\.]*))?", name: "meta.class.coffee" }, { match: "\\b(debugger|\\\\)\\b", name: "keyword.other.coffee" }, { match: "\\b(Array|ArrayBuffer|Blob|Boolean|Date|document|Function|Int(8|16|32|64)Array|Math|Map|Number|Object|Proxy|RegExp|Set|String|WeakMap|window|Uint(8|16|32|64)Array|XMLHttpRequest)\\b", name: "support.class.coffee" }, { match: "\\b(console)\\b", name: "entity.name.type.object.coffee" }, { match: "((?<=console\\.)(debug|warn|info|log|error|time|timeEnd|assert))\\b", name: "support.function.console.coffee" }, { match: "((?<=\\.)(apply|call|concat|every|filter|forEach|from|hasOwnProperty|indexOf|isPrototypeOf|join|lastIndexOf|map|of|pop|propertyIsEnumerable|push|reduce(Right)?|reverse|shift|slice|some|sort|splice|to(Locale)?String|unshift|valueOf))\\b", name: "support.function.method.array.coffee" }, { match: "((?<=Array\\.)(isArray))\\b", name: "support.function.static.array.coffee" }, { match: "((?<=Object\\.)(create|definePropert(ies|y)|freeze|getOwnProperty(Descriptors?|Names)|getProperty(Descriptor|Names)|getPrototypeOf|is(Extensible|Frozen|Sealed)?|isnt|keys|preventExtensions|seal))\\b", name: "support.function.static.object.coffee" }, { match: "((?<=Math\\.)(abs|acos|acosh|asin|asinh|atan|atan2|atanh|ceil|cos|cosh|exp|expm1|floor|hypot|log|log10|log1p|log2|max|min|pow|random|round|sign|sin|sinh|sqrt|tan|tanh|trunc))\\b", name: "support.function.static.math.coffee" }, { match: "((?<=Number\\.)(is(Finite|Integer|NaN)|toInteger))\\b", name: "support.function.static.number.coffee" }, { match: "(?<!\\.)\\b(module|exports|__filename|__dirname|global|process)(?!\\s*:)\\b", name: "support.variable.coffee" }, { match: "\\b(Infinity|NaN|undefined)\\b", name: "constant.language.coffee" }, { include: "#operators" }, { include: "#method_calls" }, { include: "#function_calls" }, { include: "#numbers" }, { include: "#objects" }, { include: "#properties" }, { match: "::", name: "keyword.operator.prototype.coffee" }, { match: "(?<!\\$)\\b[0-9]+[\\w$]*", name: "invalid.illegal.identifier.coffee" }, { match: ";", name: "punctuation.terminator.statement.coffee" }, { match: ",", name: "punctuation.separator.delimiter.coffee" }, { begin: "{", beginCaptures: { 0: { name: "meta.brace.curly.coffee" } }, end: "}", endCaptures: { 0: { name: "meta.brace.curly.coffee" } }, patterns: [{ include: "$self" }] }, { begin: "\\[", beginCaptures: { 0: { name: "punctuation.definition.array.begin.bracket.square.coffee" } }, end: "\\]", endCaptures: { 0: { name: "punctuation.definition.array.end.bracket.square.coffee" } }, patterns: [{ match: "(?<!\\.)\\.{3}", name: "keyword.operator.slice.exclusive.coffee" }, { match: "(?<!\\.)\\.{2}", name: "keyword.operator.slice.inclusive.coffee" }, { include: "$self" }] }, { begin: "\\(", beginCaptures: { 0: { name: "meta.brace.round.coffee" } }, end: "\\)", endCaptures: { 0: { name: "meta.brace.round.coffee" } }, patterns: [{ include: "$self" }] }, { include: "#instance_variable" }, { include: "#single_quoted_string" }, { include: "#double_quoted_string" }], repository: { arguments: { patterns: [{ begin: "\\(", beginCaptures: { 0: { name: "punctuation.definition.arguments.begin.bracket.round.coffee" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.arguments.end.bracket.round.coffee" } }, name: "meta.arguments.coffee", patterns: [{ include: "$self" }] }, { begin: `(?=(@|@?[\\w$]+|[=-]>|\\-\\d|\\[|{|"|'))`, end: "(?=\\s*(?<![\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\w$]))|(?=\\s*(}|\\]|\\)|#|$))", name: "meta.arguments.coffee", patterns: [{ include: "$self" }] }] }, double_quoted_string: { patterns: [{ begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.coffee" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.coffee" } }, name: "string.quoted.double.coffee", patterns: [{ captures: { 1: { name: "punctuation.definition.escape.backslash.coffee" } }, match: "(\\\\)(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)", name: "constant.character.escape.backslash.coffee" }, { include: "#interpolated_coffee" }] }] }, embedded_comment: { patterns: [{ captures: { 1: { name: "punctuation.definition.comment.coffee" } }, match: "(?<!\\\\)(#).*$\\n?", name: "comment.line.number-sign.coffee" }] }, function_calls: { patterns: [{ begin: "(@)?([\\w$]+)(?=\\()", beginCaptures: { 1: { name: "variable.other.readwrite.instance.coffee" }, 2: { patterns: [{ include: "#function_names" }] } }, end: "(?<=\\))", name: "meta.function-call.coffee", patterns: [{ include: "#arguments" }] }, { begin: `(?x)
9
+ (@)?([\\w$]+)
10
+ \\s*
11
+ (?=\\s+(?!(?<![\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\w$]))(?=(@?[\\w$]+|[=-]>|\\-\\d|\\[|{|"|')))`, beginCaptures: { 1: { name: "variable.other.readwrite.instance.coffee" }, 2: { patterns: [{ include: "#function_names" }] } }, end: "(?=\\s*(?<![\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\w$]))|(?=\\s*(}|\\]|\\)|#|$))", name: "meta.function-call.coffee", patterns: [{ include: "#arguments" }] }] }, function_names: { patterns: [{ match: `(?x)
12
+ \\b(isNaN|isFinite|eval|uneval|parseInt|parseFloat|decodeURI|
13
+ decodeURIComponent|encodeURI|encodeURIComponent|escape|unescape|
14
+ require|set(Interval|Timeout)|clear(Interval|Timeout))\\b`, name: "support.function.coffee" }, { match: "[a-zA-Z_$][\\w$]*", name: "entity.name.function.coffee" }, { match: "\\d[\\w$]*", name: "invalid.illegal.identifier.coffee" }] }, function_params: { patterns: [{ begin: "\\(", beginCaptures: { 0: { name: "punctuation.definition.parameters.begin.bracket.round.coffee" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.parameters.end.bracket.round.coffee" } }, name: "meta.parameters.coffee", patterns: [{ captures: { 1: { name: "variable.parameter.function.coffee" }, 2: { name: "keyword.operator.splat.coffee" } }, match: "([a-zA-Z_$][\\w$]*)(\\.\\.\\.)?" }, { captures: { 1: { name: "variable.parameter.function.readwrite.instance.coffee" }, 2: { name: "keyword.operator.splat.coffee" } }, match: "(@(?:[a-zA-Z_$][\\w$]*)?)(\\.\\.\\.)?" }, { include: "$self" }] }] }, heregexp: { patterns: [{ match: "\\\\[bB]|\\^|\\$", name: "keyword.control.anchor.regexp" }, { match: "\\\\[1-9]\\d*", name: "keyword.other.back-reference.regexp" }, { match: "[?+*]|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??", name: "keyword.operator.quantifier.regexp" }, { match: "\\|", name: "keyword.operator.or.regexp" }, { begin: "(\\()((\\?=)|(\\?!))", beginCaptures: { 1: { name: "punctuation.definition.group.regexp" }, 3: { name: "meta.assertion.look-ahead.regexp" }, 4: { name: "meta.assertion.negative-look-ahead.regexp" } }, end: "(\\))", endCaptures: { 1: { name: "punctuation.definition.group.regexp" } }, name: "meta.group.assertion.regexp", patterns: [{ include: "#heregexp" }] }, { begin: "\\((\\?:)?", beginCaptures: { 0: { name: "punctuation.definition.group.regexp" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.group.regexp" } }, name: "meta.group.regexp", patterns: [{ include: "#heregexp" }] }, { begin: "(\\[)(\\^)?", beginCaptures: { 1: { name: "punctuation.definition.character-class.regexp" }, 2: { name: "keyword.operator.negation.regexp" } }, end: "(\\])", endCaptures: { 1: { name: "punctuation.definition.character-class.regexp" } }, name: "constant.other.character-class.set.regexp", patterns: [{ captures: { 1: { name: "constant.character.numeric.regexp" }, 2: { name: "constant.character.control.regexp" }, 3: { name: "constant.character.escape.backslash.regexp" }, 4: { name: "constant.character.numeric.regexp" }, 5: { name: "constant.character.control.regexp" }, 6: { name: "constant.character.escape.backslash.regexp" } }, match: "(?:.|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))", name: "constant.other.character-class.range.regexp" }, { include: "#regex-character-class" }] }, { include: "#regex-character-class" }, { include: "#interpolated_coffee" }, { include: "#embedded_comment" }] }, instance_variable: { patterns: [{ match: "(@)([a-zA-Z_\\$]\\w*)?", name: "variable.other.readwrite.instance.coffee" }] }, interpolated_coffee: { patterns: [{ begin: "\\#\\{", captures: { 0: { name: "punctuation.section.embedded.coffee" } }, end: "\\}", name: "source.coffee.embedded.source", patterns: [{ include: "$self" }] }] }, jsx: { patterns: [{ include: "#jsx-tag" }, { include: "#jsx-end-tag" }] }, "jsx-attribute": { patterns: [{ captures: { 1: { name: "entity.other.attribute-name.coffee" }, 2: { name: "keyword.operator.assignment.coffee" } }, match: "(?:^|\\s+)([-\\w.]+)\\s*(=)" }, { include: "#double_quoted_string" }, { include: "#single_quoted_string" }, { include: "#jsx-expression" }] }, "jsx-end-tag": { patterns: [{ begin: "(</)([-\\w\\.]+)", beginCaptures: { 1: { name: "punctuation.definition.tag.coffee" }, 2: { name: "entity.name.tag.coffee" } }, end: "(/?>)", name: "meta.tag.coffee" }] }, "jsx-expression": { begin: "{", beginCaptures: { 0: { name: "meta.brace.curly.coffee" } }, end: "}", endCaptures: { 0: { name: "meta.brace.curly.coffee" } }, patterns: [{ include: "#double_quoted_string" }, { include: "$self" }] }, "jsx-tag": { patterns: [{ begin: "(<)([-\\w\\.]+)", beginCaptures: { 1: { name: "punctuation.definition.tag.coffee" }, 2: { name: "entity.name.tag.coffee" } }, end: "(/?>)", name: "meta.tag.coffee", patterns: [{ include: "#jsx-attribute" }] }] }, method_calls: { patterns: [{ begin: "(?:(\\.)|(::))\\s*([\\w$]+)\\s*(?=\\()", beginCaptures: { 1: { name: "punctuation.separator.method.period.coffee" }, 2: { name: "keyword.operator.prototype.coffee" }, 3: { patterns: [{ include: "#method_names" }] } }, end: "(?<=\\))", name: "meta.method-call.coffee", patterns: [{ include: "#arguments" }] }, { begin: `(?:(\\.)|(::))\\s*([\\w$]+)\\s*(?=\\s+(?!(?<![\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\w$]))(?=(@|@?[\\w$]+|[=-]>|\\-\\d|\\[|{|"|')))`, beginCaptures: { 1: { name: "punctuation.separator.method.period.coffee" }, 2: { name: "keyword.operator.prototype.coffee" }, 3: { patterns: [{ include: "#method_names" }] } }, end: "(?=\\s*(?<![\\w$])(of|in|then|is|isnt|and|or|for|else|when|if|unless|by|instanceof)(?![\\w$]))|(?=\\s*(}|\\]|\\)|#|$))", name: "meta.method-call.coffee", patterns: [{ include: "#arguments" }] }] }, method_names: { patterns: [{ match: `(?x)
15
+ \\bon(Rowsinserted|Rowsdelete|Rowenter|Rowexit|Resize|Resizestart|Resizeend|Reset|
16
+ Readystatechange|Mouseout|Mouseover|Mousedown|Mouseup|Mousemove|
17
+ Before(cut|deactivate|unload|update|paste|print|editfocus|activate)|
18
+ Blur|Scrolltop|Submit|Select|Selectstart|Selectionchange|Hover|Help|
19
+ Change|Contextmenu|Controlselect|Cut|Cellchange|Clock|Close|Deactivate|
20
+ Datasetchanged|Datasetcomplete|Dataavailable|Drop|Drag|Dragstart|Dragover|
21
+ Dragdrop|Dragenter|Dragend|Dragleave|Dblclick|Unload|Paste|Propertychange|Error|
22
+ Errorupdate|Keydown|Keyup|Keypress|Focus|Load|Activate|Afterupdate|Afterprint|Abort)\\b`, name: "support.function.event-handler.coffee" }, { match: `(?x)
23
+ \\b(shift|showModelessDialog|showModalDialog|showHelp|scroll|scrollX|scrollByPages|
24
+ scrollByLines|scrollY|scrollTo|stop|strike|sizeToContent|sidebar|signText|sort|
25
+ sup|sub|substr|substring|splice|split|send|set(Milliseconds|Seconds|Minutes|Hours|
26
+ Month|Year|FullYear|Date|UTC(Milliseconds|Seconds|Minutes|Hours|Month|FullYear|Date)|
27
+ Time|Hotkeys|Cursor|ZOptions|Active|Resizable|RequestHeader)|search|slice|
28
+ savePreferences|small|home|handleEvent|navigate|char|charCodeAt|charAt|concat|
29
+ contextual|confirm|compile|clear|captureEvents|call|createStyleSheet|createPopup|
30
+ createEventObject|to(GMTString|UTCString|String|Source|UpperCase|LowerCase|LocaleString)|
31
+ test|taint|taintEnabled|indexOf|italics|disableExternalCapture|dump|detachEvent|unshift|
32
+ untaint|unwatch|updateCommands|join|javaEnabled|pop|push|plugins.refresh|paddings|parse|
33
+ print|prompt|preference|enableExternalCapture|exec|execScript|valueOf|UTC|find|file|
34
+ fileModifiedDate|fileSize|fileCreatedDate|fileUpdatedDate|fixed|fontsize|fontcolor|
35
+ forward|fromCharCode|watch|link|load|lastIndexOf|anchor|attachEvent|atob|apply|alert|
36
+ abort|routeEvents|resize|resizeBy|resizeTo|recalc|returnValue|replace|reverse|reload|
37
+ releaseCapture|releaseEvents|go|get(Milliseconds|Seconds|Minutes|Hours|Month|Day|Year|FullYear|
38
+ Time|Date|TimezoneOffset|UTC(Milliseconds|Seconds|Minutes|Hours|Day|Month|FullYear|Date)|
39
+ Attention|Selection|ResponseHeader|AllResponseHeaders)|moveBy|moveBelow|moveTo|
40
+ moveToAbsolute|moveAbove|mergeAttributes|match|margins|btoa|big|bold|borderWidths|blink|back)\\b`, name: "support.function.coffee" }, { match: `(?x)
41
+ \\b(acceptNode|add|addEventListener|addTextTrack|adoptNode|after|animate|append|
42
+ appendChild|appendData|before|blur|canPlayType|captureStream|
43
+ caretPositionFromPoint|caretRangeFromPoint|checkValidity|clear|click|
44
+ cloneContents|cloneNode|cloneRange|close|closest|collapse|
45
+ compareBoundaryPoints|compareDocumentPosition|comparePoint|contains|
46
+ convertPointFromNode|convertQuadFromNode|convertRectFromNode|createAttribute|
47
+ createAttributeNS|createCaption|createCDATASection|createComment|
48
+ createContextualFragment|createDocument|createDocumentFragment|
49
+ createDocumentType|createElement|createElementNS|createEntityReference|
50
+ createEvent|createExpression|createHTMLDocument|createNodeIterator|
51
+ createNSResolver|createProcessingInstruction|createRange|createShadowRoot|
52
+ createTBody|createTextNode|createTFoot|createTHead|createTreeWalker|delete|
53
+ deleteCaption|deleteCell|deleteContents|deleteData|deleteRow|deleteTFoot|
54
+ deleteTHead|detach|disconnect|dispatchEvent|elementFromPoint|elementsFromPoint|
55
+ enableStyleSheetsForSet|entries|evaluate|execCommand|exitFullscreen|
56
+ exitPointerLock|expand|extractContents|fastSeek|firstChild|focus|forEach|get|
57
+ getAll|getAnimations|getAttribute|getAttributeNames|getAttributeNode|
58
+ getAttributeNodeNS|getAttributeNS|getBoundingClientRect|getBoxQuads|
59
+ getClientRects|getContext|getDestinationInsertionPoints|getElementById|
60
+ getElementsByClassName|getElementsByName|getElementsByTagName|
61
+ getElementsByTagNameNS|getItem|getNamedItem|getSelection|getStartDate|
62
+ getVideoPlaybackQuality|has|hasAttribute|hasAttributeNS|hasAttributes|
63
+ hasChildNodes|hasFeature|hasFocus|importNode|initEvent|insertAdjacentElement|
64
+ insertAdjacentHTML|insertAdjacentText|insertBefore|insertCell|insertData|
65
+ insertNode|insertRow|intersectsNode|isDefaultNamespace|isEqualNode|
66
+ isPointInRange|isSameNode|item|key|keys|lastChild|load|lookupNamespaceURI|
67
+ lookupPrefix|matches|move|moveAttribute|moveAttributeNode|moveChild|
68
+ moveNamedItem|namedItem|nextNode|nextSibling|normalize|observe|open|
69
+ parentNode|pause|play|postMessage|prepend|preventDefault|previousNode|
70
+ previousSibling|probablySupportsContext|queryCommandEnabled|
71
+ queryCommandIndeterm|queryCommandState|queryCommandSupported|queryCommandValue|
72
+ querySelector|querySelectorAll|registerContentHandler|registerElement|
73
+ registerProtocolHandler|releaseCapture|releaseEvents|remove|removeAttribute|
74
+ removeAttributeNode|removeAttributeNS|removeChild|removeEventListener|
75
+ removeItem|replace|replaceChild|replaceData|replaceWith|reportValidity|
76
+ requestFullscreen|requestPointerLock|reset|scroll|scrollBy|scrollIntoView|
77
+ scrollTo|seekToNextFrame|select|selectNode|selectNodeContents|set|setAttribute|
78
+ setAttributeNode|setAttributeNodeNS|setAttributeNS|setCapture|
79
+ setCustomValidity|setEnd|setEndAfter|setEndBefore|setItem|setNamedItem|
80
+ setRangeText|setSelectionRange|setSinkId|setStart|setStartAfter|setStartBefore|
81
+ slice|splitText|stepDown|stepUp|stopImmediatePropagation|stopPropagation|
82
+ submit|substringData|supports|surroundContents|takeRecords|terminate|toBlob|
83
+ toDataURL|toggle|toString|values|write|writeln)\\b`, name: "support.function.dom.coffee" }, { match: "[a-zA-Z_$][\\w$]*", name: "entity.name.function.coffee" }, { match: "\\d[\\w$]*", name: "invalid.illegal.identifier.coffee" }] }, numbers: { patterns: [{ match: "\\b(?<!\\$)0(x|X)[0-9a-fA-F]+\\b(?!\\$)", name: "constant.numeric.hex.coffee" }, { match: "\\b(?<!\\$)0(b|B)[01]+\\b(?!\\$)", name: "constant.numeric.binary.coffee" }, { match: "\\b(?<!\\$)0(o|O)?[0-7]+\\b(?!\\$)", name: "constant.numeric.octal.coffee" }, { captures: { 0: { name: "constant.numeric.decimal.coffee" }, 1: { name: "punctuation.separator.decimal.period.coffee" }, 2: { name: "punctuation.separator.decimal.period.coffee" }, 3: { name: "punctuation.separator.decimal.period.coffee" }, 4: { name: "punctuation.separator.decimal.period.coffee" }, 5: { name: "punctuation.separator.decimal.period.coffee" }, 6: { name: "punctuation.separator.decimal.period.coffee" } }, match: `(?x)
84
+ (?<!\\$)(?:
85
+ (?:\\b[0-9]+(\\.)[0-9]+[eE][+-]?[0-9]+\\b)|
86
+ (?:\\b[0-9]+(\\.)[eE][+-]?[0-9]+\\b)|
87
+ (?:\\B(\\.)[0-9]+[eE][+-]?[0-9]+\\b)|
88
+ (?:\\b[0-9]+[eE][+-]?[0-9]+\\b)|
89
+ (?:\\b[0-9]+(\\.)[0-9]+\\b)|
90
+ (?:\\b[0-9]+(?=\\.{2,3}))|
91
+ (?:\\b[0-9]+(\\.)\\B)|
92
+ (?:\\B(\\.)[0-9]+\\b)|
93
+ (?:\\b[0-9]+\\b(?!\\.))
94
+ )(?!\\$)` }] }, objects: { patterns: [{ match: "[A-Z][A-Z0-9_$]*(?=\\s*\\??(\\.\\s*[a-zA-Z_$]\\w*|::))", name: "constant.other.object.coffee" }, { match: "[a-zA-Z_$][\\w$]*(?=\\s*\\??(\\.\\s*[a-zA-Z_$]\\w*|::))", name: "variable.other.object.coffee" }] }, operators: { patterns: [{ captures: { 1: { name: "variable.assignment.coffee" }, 2: { name: "keyword.operator.assignment.compound.coffee" } }, match: "(?:([a-zA-Z$_][\\w$]*)?\\s+|(?<![\\w$]))(and=|or=)" }, { captures: { 1: { name: "variable.assignment.coffee" }, 2: { name: "keyword.operator.assignment.compound.coffee" } }, match: "([a-zA-Z$_][\\w$]*)?\\s*(%=|\\+=|-=|\\*=|&&=|\\|\\|=|\\?=|(?<!\\()/=)" }, { captures: { 1: { name: "variable.assignment.coffee" }, 2: { name: "keyword.operator.assignment.compound.bitwise.coffee" } }, match: "([a-zA-Z$_][\\w$]*)?\\s*(&=|\\^=|<<=|>>=|>>>=|\\|=)" }, { match: "<<|>>>|>>", name: "keyword.operator.bitwise.shift.coffee" }, { match: "!=|<=|>=|==|<|>", name: "keyword.operator.comparison.coffee" }, { match: "&&|!|\\|\\|", name: "keyword.operator.logical.coffee" }, { match: "&|\\||\\^|~", name: "keyword.operator.bitwise.coffee" }, { captures: { 1: { name: "variable.assignment.coffee" }, 2: { name: "keyword.operator.assignment.coffee" } }, match: "([a-zA-Z$_][\\w$]*)?\\s*(=|:(?!:))(?![>=])" }, { match: "--", name: "keyword.operator.decrement.coffee" }, { match: "\\+\\+", name: "keyword.operator.increment.coffee" }, { match: "\\.\\.\\.", name: "keyword.operator.splat.coffee" }, { match: "\\?", name: "keyword.operator.existential.coffee" }, { match: "%|\\*|/|-|\\+", name: "keyword.operator.coffee" }, { captures: { 1: { name: "keyword.operator.logical.coffee" }, 2: { name: "keyword.operator.comparison.coffee" } }, match: `(?x)
95
+ \\b(?<![\\.\\$])
96
+ (?:
97
+ (and|or|not)
98
+ |
99
+ (is|isnt)
100
+ )
101
+ (?!\\s*:)\\b` }] }, properties: { patterns: [{ captures: { 1: { name: "punctuation.separator.property.period.coffee" }, 2: { name: "keyword.operator.prototype.coffee" }, 3: { name: "constant.other.object.property.coffee" } }, match: "(?:(\\.)|(::))\\s*([A-Z][A-Z0-9_$]*\\b\\$*)(?=\\s*\\??(\\.\\s*[a-zA-Z_$]\\w*|::))" }, { captures: { 1: { name: "punctuation.separator.property.period.coffee" }, 2: { name: "keyword.operator.prototype.coffee" }, 3: { name: "variable.other.object.property.coffee" } }, match: "(?:(\\.)|(::))\\s*(\\$*[a-zA-Z_$][\\w$]*)(?=\\s*\\??(\\.\\s*[a-zA-Z_$]\\w*|::))" }, { captures: { 1: { name: "punctuation.separator.property.period.coffee" }, 2: { name: "keyword.operator.prototype.coffee" }, 3: { name: "constant.other.property.coffee" } }, match: "(?:(\\.)|(::))\\s*([A-Z][A-Z0-9_$]*\\b\\$*)" }, { captures: { 1: { name: "punctuation.separator.property.period.coffee" }, 2: { name: "keyword.operator.prototype.coffee" }, 3: { name: "variable.other.property.coffee" } }, match: "(?:(\\.)|(::))\\s*(\\$*[a-zA-Z_$][\\w$]*)" }, { captures: { 1: { name: "punctuation.separator.property.period.coffee" }, 2: { name: "keyword.operator.prototype.coffee" }, 3: { name: "invalid.illegal.identifier.coffee" } }, match: "(?:(\\.)|(::))\\s*([0-9][\\w$]*)" }] }, "regex-character-class": { patterns: [{ match: "\\\\[wWsSdD]|\\.", name: "constant.character.character-class.regexp" }, { match: "\\\\([0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4})", name: "constant.character.numeric.regexp" }, { match: "\\\\c[A-Z]", name: "constant.character.control.regexp" }, { match: "\\\\.", name: "constant.character.escape.backslash.regexp" }] }, single_quoted_string: { patterns: [{ begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.coffee" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.coffee" } }, name: "string.quoted.single.coffee", patterns: [{ captures: { 1: { name: "punctuation.definition.escape.backslash.coffee" } }, match: "(\\\\)(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)", name: "constant.character.escape.backslash.coffee" }] }] } }, scopeName: "source.coffee", embeddedLangs: ["javascript"], aliases: ["coffeescript"] });
102
+ var a = [
103
+ ...e,
104
+ t
105
+ ];
106
+ export {
107
+ a
108
+ };