@kong-ui-public/documentation 1.8.13 → 1.8.14-pr.4048.7a10d83bb.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 (168) hide show
  1. package/package.json +2 -2
  2. package/dist/abnfDiagram-VCTEODGH-Bzbg7AHk-DFERbIEu.js +0 -92
  3. package/dist/arc-CKhg5DVn-BIpMje7c.js +0 -80
  4. package/dist/architectureDiagram-5GKGNRK7-CqHVyBRI-CLWcRmoG.js +0 -4149
  5. package/dist/astro-DdQ3Kp7Q-BDE5qFXd.js +0 -18
  6. package/dist/blockDiagram-I7D4REHJ-DWFqHR0L-D8v5LhXM.js +0 -2029
  7. package/dist/c-lfOsiBpu-DMPKLUI8.js +0 -4
  8. package/dist/c4Diagram-7LVT6UL2-DXHigzTJ-BR9440iK.js +0 -3067
  9. package/dist/catppuccin-latte-D9NPLB7Y-sAlQrrP2.js +0 -4
  10. package/dist/channel-DUDXYB-g-BsX3Acdu.js +0 -5
  11. package/dist/chunk-2Q5K7J3B-CQFXhYzi-C3CTUgHo.js +0 -12
  12. package/dist/chunk-5VM5RSS4-DF_fkndM-uFSHkP_V.js +0 -19
  13. package/dist/chunk-F27PBJKO-Bf2CKIqN-CUI4z39H.js +0 -65
  14. package/dist/chunk-IMKFNOWR-DIsz_YLV-B6u2fLNJ.js +0 -2116
  15. package/dist/chunk-JWPE2WC7-DI69CthA-D_FsPQj-.js +0 -8
  16. package/dist/chunk-POPQ4Y6H-DycI9Jzm-BWixWzlU.js +0 -24
  17. package/dist/chunk-SHT3W25Y-CKxDgOBI-OOdqZuVE.js +0 -4307
  18. package/dist/chunk-SVP7TREG-tW_qYlvV-vP5bsK2H.js +0 -500
  19. package/dist/chunk-TICWLB2K-CuiDrX3P-WR-FPNea.js +0 -3451
  20. package/dist/chunk-XXDRQBXY-CSrEKR2C-C6SaSSCC.js +0 -8
  21. package/dist/classDiagram-ZZMXUADV-WzcguFxl-CKKn1Tfx.js +0 -17
  22. package/dist/classDiagram-v2-VYDZK3BY-jdAXYY7W-CKKn1Tfx.js +0 -17
  23. package/dist/cose-bilkent-JH36ORCC-DbS7GVMv-bbQOsy5Y.js +0 -2256
  24. package/dist/csharp-RRkgh3c4-lim_vKPd.js +0 -4
  25. package/dist/css-BbwcBM_4-B_2PRTA_.js +0 -4
  26. package/dist/csv-DFU5sVkH-BPWcOTV4.js +0 -4
  27. package/dist/cynefin-OW5HDTMX-CmxQwqmf-D_GdoNIu.js +0 -21781
  28. package/dist/cynefinDiagram-5FMLGOSQ-BNb88xpJ-DfS9O7P4.js +0 -351
  29. package/dist/cytoscape.esm-YSf_2rtb-CoO8mT3p.js +0 -18279
  30. package/dist/dagre-C9xJrfGe-Di-1Ikh0.js +0 -1667
  31. package/dist/dagre-GXQ25YYZ-uiXfyLw2-PU-qeT6_.js +0 -429
  32. package/dist/defaultLocale-TbxLDlcU-BrdwcF9K.js +0 -180
  33. package/dist/diagram-S7CK7UJ4-g67BXvGR-Cp9bzjGj.js +0 -303
  34. package/dist/diagram-UQ7AKVKN-DfJJIsVs-CC7ekguS.js +0 -210
  35. package/dist/diagram-VSXAHHWV-DmtFfqWN-C9ZLHKzj.js +0 -439
  36. package/dist/diagram-VX7I27RA--gfQ90BY-QNtwG6Ck.js +0 -477
  37. package/dist/diagram-Z3DM3KII-Cu_rSHu0-CCCsIuz4.js +0 -127
  38. package/dist/diff-D_LJiFgV-DenOJuyV.js +0 -4
  39. package/dist/docker-DMpUQ2UE-xX8PDoIv.js +0 -4
  40. package/dist/documentation.es.js +0 -7
  41. package/dist/documentation.umd.js +0 -3715
  42. package/dist/ebnfDiagram-PWID7BFC-B_qfACMJ-D_Xjruh2.js +0 -109
  43. package/dist/erDiagram-RLTQ6QDP-Dt9efGmz-BPS1Iwl5.js +0 -2042
  44. package/dist/flowDiagram-HODETNUW-sAcaB3rt-Ci8x-zG0.js +0 -6
  45. package/dist/ganttDiagram-EL5Y4UJY-CtWGP-hX-qar4oLEq.js +0 -3098
  46. package/dist/git-commit--2NDNcyW-Dw9_h8sQ.js +0 -5
  47. package/dist/git-rebase-CbNvxADk-DAgBrkyL.js +0 -5
  48. package/dist/gitGraphDiagram-WWUBYQGX-B7B7IG_5-x8UcOce8.js +0 -737
  49. package/dist/go-BEdBk4fh-DqSXHrGo.js +0 -4
  50. package/dist/graphql-BMuT9GwB-BP9pcQru.js +0 -14
  51. package/dist/haml-D3QmTYiV-BTaBXoPr.js +0 -10
  52. package/dist/handlebars-C_aYHp26-CWcrQHYv.js +0 -14
  53. package/dist/haskell-DSSJ-2AO-BlmVjKNy.js +0 -4
  54. package/dist/html-derivative-DgZQ_xNe-BAs__2u-.js +0 -5
  55. package/dist/html-zcQqUZxh-Dg8OkMBp.js +0 -10
  56. package/dist/http-BGkfDG8i-lqXytFlH.js +0 -14
  57. package/dist/index-BaAWoj3P.js +0 -43522
  58. package/dist/infoDiagram-27XIBGKW-DAx9hub5-CDUrF89O.js +0 -18
  59. package/dist/ini-CmgEGOBJ-70PBzbbb.js +0 -4
  60. package/dist/init-Cgg2UTSf-BsHkAom2.js +0 -15
  61. package/dist/ishikawaDiagram-5VMMS53U-CnBB9iXH-2YyZ3Nxy.js +0 -729
  62. package/dist/java-CaG1IqbK-D6YBp1XX.js +0 -4
  63. package/dist/javascript--0qAxhnA-BRPKgr3C.js +0 -4
  64. package/dist/journeyDiagram-3NMN7TZE-B0a4pOJX-CgtsuE-Y.js +0 -909
  65. package/dist/json-DVwBUiza-D8uacQj0.js +0 -4
  66. package/dist/json5-D2Eltym1-Biib5ALh.js +0 -4
  67. package/dist/jsonc-BPIJyZ7u-BZEKkMok.js +0 -4
  68. package/dist/jsonl-BGkjXns2-BG2V-IA2.js +0 -4
  69. package/dist/jsx-cVAJ0Z2c-Cl0AMtmu.js +0 -4
  70. package/dist/kanban-definition-UXKFOSKX-BGnOZMUl-CHT2EG_7.js +0 -1029
  71. package/dist/katex-Be3DWdAP-BWcdC2Xb.js +0 -22287
  72. package/dist/kotlin-CQsNEM2o-Dy_91eL4.js +0 -4
  73. package/dist/latex-g3NZbvcl-tKQf8TuW.js +0 -5
  74. package/dist/less-9LYkHheD-tcNg8M2_.js +0 -4
  75. package/dist/linear-Cf872ac2-BjGvLlX5.js +0 -254
  76. package/dist/liquid-CG3ph2-5-wZo8nDay.js +0 -14
  77. package/dist/lua-BdA7_iyX-Fg4s9W4F.js +0 -5
  78. package/dist/make-CE9Hryyp-CrUl7LOH.js +0 -4
  79. package/dist/markdown-Gqx6-FHJ-Bcqt-5kX.js +0 -4
  80. package/dist/material-theme-darker-DL4lHZSa-DMHCIvq5.js +0 -4
  81. package/dist/mdc-C-RLGlI2-DzcUIqJQ.js +0 -12
  82. package/dist/mdx-DswfiFg4-CK6jOqmu.js +0 -4
  83. package/dist/mermaid-CAl3BhSL-CpQh0Vft.js +0 -4
  84. package/dist/mindmap-definition-YA3MSWOX-D0iYuN9C-B3uI77eT.js +0 -1026
  85. package/dist/nginx-CokYOiS8-DjML3dpY.js +0 -5
  86. package/dist/objective-c-DK-EKgyd-C809HPrX.js +0 -4
  87. package/dist/ordinal-CNzaYghg-B_JXdapq.js +0 -63
  88. package/dist/pascal-CRtegPzh-a8whuidZ.js +0 -4
  89. package/dist/pegDiagram-XKGWAZYB-6oG4KeYC-CG27veJ_.js +0 -104
  90. package/dist/perl-C45KUBhP-Q6opd9qO.js +0 -16
  91. package/dist/php-COzTb61D-DW91EkjY.js +0 -18
  92. package/dist/pieDiagram-E7YTZNPT-DsNO0m7t-CMKObJlC.js +0 -191
  93. package/dist/plsql-Bx7tup_v-BJoF2Vrf.js +0 -4
  94. package/dist/postcss-DjDdOEzv-DaHMm3XW.js +0 -4
  95. package/dist/powershell-BeUvHe6o-BC3uPZPS.js +0 -4
  96. package/dist/proto-DGLklcji-w0B_itsp.js +0 -4
  97. package/dist/pug-BQ5MM2xz-DMZvJUHt.js +0 -12
  98. package/dist/python-C_6ySqsv-D_5pfY__.js +0 -4
  99. package/dist/quadrantDiagram-AXDQQJYC-B6Dc7fje-C23uvcHP.js +0 -2046
  100. package/dist/r-CNL4a0Qi-pixge7f9.js +0 -4
  101. package/dist/railroadDiagram-O6MQD6OU-D8qLcD4O-B_Hr3s-n.js +0 -80
  102. package/dist/reg-D6txjqBF-bHAwx9Pm.js +0 -4
  103. package/dist/requirementDiagram-BXWQKSXE-Cx28BZaS-Bu-h1fa9.js +0 -2283
  104. package/dist/rst-xmthoFSf-BdN-iqJu.js +0 -20
  105. package/dist/ruby-CmwqiOyg-B5qGUHPy.js +0 -44
  106. package/dist/rust-BrRMzTsN-CaZtBt24.js +0 -4
  107. package/dist/sankeyDiagram-P5KCCOFB-CqEXebJJ-BrChTi-e.js +0 -948
  108. package/dist/sass-CL6GLiPQ-pslLeRRb.js +0 -4
  109. package/dist/scss-CiLZCexj-CladYQkr.js +0 -5
  110. package/dist/sequenceDiagram-WJ2MYXX4-Bs_1V5D1-Da6JW3KG.js +0 -4263
  111. package/dist/shellscript-Dfpezy65-BtH46UX7.js +0 -4
  112. package/dist/shellsession-CRcAC04a-BFLTslz7.js +0 -5
  113. package/dist/sizeCapture-INFHLROL-Bc4fS2u3-DMniWWy4.js +0 -46
  114. package/dist/splunk-MGILMmew-BP8P7eWt.js +0 -4
  115. package/dist/sql-D_W5grEC-Dcn2WLbD.js +0 -4
  116. package/dist/ssh-config-CFmUyPR7-BB1rrGb9.js +0 -4
  117. package/dist/stateDiagram-D77RDMKH-oTiwIYVV-BphZk0uR.js +0 -210
  118. package/dist/stateDiagram-v2-MP3YSRHH-gbAY2cmo-D78HyGx1.js +0 -17
  119. package/dist/style.css +0 -1
  120. package/dist/stylus-Kh83dApl-DAu5PNZ9.js +0 -4
  121. package/dist/svelte-HVIHTyhe-BdPJXyv7.js +0 -14
  122. package/dist/swift-B7Z-rXzN-CQtmhAMw.js +0 -4
  123. package/dist/swimlanes-42K2YHIH-BSXAPn2j-C7pTnVuk.js +0 -4983
  124. package/dist/swimlanesDiagram-VR7AAH4N-Ror_0lre-Di8OVgei.js +0 -17
  125. package/dist/timeline-definition-24CTP7MA-gOHmAY1H-aIgAzo7s.js +0 -1096
  126. package/dist/toml-CIQJnU5u-DjT9Bjqu.js +0 -4
  127. package/dist/tsx-DiMnnori-B-5hSr15.js +0 -4
  128. package/dist/twig-BXXOiPVV-CmgmU-L-.js +0 -18
  129. package/dist/types/components/DiscardChangesPrompt.vue.d.ts +0 -35
  130. package/dist/types/components/DiscardChangesPrompt.vue.d.ts.map +0 -1
  131. package/dist/types/components/DocumentationContent.vue.d.ts +0 -186
  132. package/dist/types/components/DocumentationContent.vue.d.ts.map +0 -1
  133. package/dist/types/components/DocumentationDisplay.vue.d.ts +0 -105
  134. package/dist/types/components/DocumentationDisplay.vue.d.ts.map +0 -1
  135. package/dist/types/components/DocumentationPageEmptyState.vue.d.ts +0 -31
  136. package/dist/types/components/DocumentationPageEmptyState.vue.d.ts.map +0 -1
  137. package/dist/types/components/ProductDocumentModal.vue.d.ts +0 -72
  138. package/dist/types/components/ProductDocumentModal.vue.d.ts.map +0 -1
  139. package/dist/types/composables/index.d.ts +0 -6
  140. package/dist/types/composables/index.d.ts.map +0 -1
  141. package/dist/types/composables/useI18n.d.ts +0 -9
  142. package/dist/types/composables/useI18n.d.ts.map +0 -1
  143. package/dist/types/external-links.d.ts +0 -5
  144. package/dist/types/external-links.d.ts.map +0 -1
  145. package/dist/types/helpers.d.ts +0 -8
  146. package/dist/types/helpers.d.ts.map +0 -1
  147. package/dist/types/index.d.ts +0 -7
  148. package/dist/types/index.d.ts.map +0 -1
  149. package/dist/types/types/document-list.d.ts +0 -28
  150. package/dist/types/types/document-list.d.ts.map +0 -1
  151. package/dist/types/types/document-modal.d.ts +0 -8
  152. package/dist/types/types/document-modal.d.ts.map +0 -1
  153. package/dist/types/types/index.d.ts +0 -3
  154. package/dist/types/types/index.d.ts.map +0 -1
  155. package/dist/typescript-DFf19o_s-B0ag8pir.js +0 -4
  156. package/dist/v-DbYZLS97-CAPuTPjr.js +0 -4
  157. package/dist/vb-DRaXf86R-Bx9Rwnco.js +0 -4
  158. package/dist/vennDiagram-4TSXK5OY-Cr4BWMuk-BjBvyxCC.js +0 -1911
  159. package/dist/viml-DgaHry3T-BeYQ8dZh.js +0 -4
  160. package/dist/vue-DPI5F0qT-D-Ahkoja.js +0 -22
  161. package/dist/vue-html-D7FCsiW2-DLSUNIPr.js +0 -5
  162. package/dist/wardleyDiagram-VM6X3IG4-a6H91k9Q-CsH4gQQ0.js +0 -639
  163. package/dist/wasm-DXa1gtBd-CfuK9YWP.js +0 -4
  164. package/dist/wgsl-Vcm3Lg52-C2IZ7ENh.js +0 -4
  165. package/dist/xml-DnOpIvRK-C-akVYiK.js +0 -5
  166. package/dist/xsl-K_2BlT3G-D3eRZGNO.js +0 -5
  167. package/dist/xychartDiagram-S5SC5T6Z-7mX_nPmO-CoM4SG9q.js +0 -2218
  168. package/dist/yaml-BswqmnDe-X78l_Ibz.js +0 -4
@@ -1,2046 +0,0 @@
1
- import { n as Se, r as ke, k as ae, j as Fe, t as Pe, e as Ce, a as r, c as Lt, m as mt, G as ee, V as Le, $ as ve, L as D, Q as Ee, aj as ze } from "./index-BaAWoj3P.js";
2
- import { q as ie } from "./linear-Cf872ac2-BjGvLlX5.js";
3
- var Pt = (function() {
4
- var t = /* @__PURE__ */ r(function(n, A, u, o) {
5
- for (u ||= {}, o = n.length; o--; u[n[o]] = A) ;
6
- return u;
7
- }, "o"), l = [1, 3], x = [1, 4], c = [1, 5], h = [1, 6], f = [1, 7], g = [
8
- 1,
9
- 4,
10
- 5,
11
- 10,
12
- 12,
13
- 13,
14
- 14,
15
- 15,
16
- 18,
17
- 25,
18
- 35,
19
- 37,
20
- 39,
21
- 41,
22
- 42,
23
- 48,
24
- 50,
25
- 51,
26
- 52,
27
- 53,
28
- 54,
29
- 55,
30
- 56,
31
- 57,
32
- 60,
33
- 61,
34
- 63,
35
- 64,
36
- 65,
37
- 66,
38
- 67
39
- ], _ = [
40
- 1,
41
- 4,
42
- 5,
43
- 10,
44
- 12,
45
- 13,
46
- 14,
47
- 15,
48
- 18,
49
- 25,
50
- 28,
51
- 35,
52
- 37,
53
- 39,
54
- 41,
55
- 42,
56
- 48,
57
- 50,
58
- 51,
59
- 52,
60
- 53,
61
- 54,
62
- 55,
63
- 56,
64
- 57,
65
- 60,
66
- 61,
67
- 63,
68
- 64,
69
- 65,
70
- 66,
71
- 67
72
- ], a = [
73
- 55,
74
- 56,
75
- 57
76
- ], T = [2, 36], p = [1, 37], y = [1, 36], q = [1, 38], m = [1, 35], d = [1, 43], b = [1, 41], k = [1, 45], dt = [1, 14], ut = [1, 23], xt = [1, 18], ot = [1, 19], ht = [1, 20], i = [1, 21], vt = [1, 22], Et = [1, 24], zt = [1, 25], Dt = [1, 26], It = [1, 27], Nt = [1, 28], wt = [1, 29], U = [1, 32], Q = [1, 33], F = [1, 34], P = [1, 39], C = [1, 40], L = [1, 42], v = [1, 44], H = [1, 63], O = [1, 62], E = [
77
- 4,
78
- 5,
79
- 8,
80
- 10,
81
- 12,
82
- 13,
83
- 14,
84
- 15,
85
- 18,
86
- 44,
87
- 47,
88
- 49,
89
- 55,
90
- 56,
91
- 57,
92
- 63,
93
- 64,
94
- 65,
95
- 66,
96
- 67
97
- ], Wt = [1, 66], Bt = [1, 67], Rt = [1, 68], $t = [1, 69], Ut = [1, 70], Qt = [1, 71], Xt = [1, 72], Ht = [1, 73], Ot = [1, 74], Mt = [1, 75], Yt = [1, 76], jt = [1, 77], w = [
98
- 4,
99
- 5,
100
- 6,
101
- 7,
102
- 8,
103
- 9,
104
- 10,
105
- 11,
106
- 12,
107
- 13,
108
- 14,
109
- 15,
110
- 18
111
- ], G = [1, 91], V = [1, 92], K = [1, 93], Z = [1, 100], J = [1, 94], tt = [1, 97], et = [1, 95], it = [1, 96], at = [1, 98], nt = [1, 99], At = [1, 103], Gt = [
112
- 10,
113
- 55,
114
- 56,
115
- 57
116
- ], B = [
117
- 4,
118
- 5,
119
- 6,
120
- 8,
121
- 10,
122
- 11,
123
- 13,
124
- 17,
125
- 18,
126
- 19,
127
- 20,
128
- 55,
129
- 56,
130
- 57
131
- ], bt = {
132
- trace: /* @__PURE__ */ r(function() {
133
- }, "trace"),
134
- yy: {},
135
- symbols_: {
136
- error: 2,
137
- idStringToken: 3,
138
- ALPHA: 4,
139
- NUM: 5,
140
- NODE_STRING: 6,
141
- DOWN: 7,
142
- MINUS: 8,
143
- DEFAULT: 9,
144
- COMMA: 10,
145
- COLON: 11,
146
- AMP: 12,
147
- BRKT: 13,
148
- MULT: 14,
149
- UNICODE_TEXT: 15,
150
- styleComponent: 16,
151
- UNIT: 17,
152
- SPACE: 18,
153
- STYLE: 19,
154
- PCT: 20,
155
- idString: 21,
156
- style: 22,
157
- stylesOpt: 23,
158
- classDefStatement: 24,
159
- CLASSDEF: 25,
160
- start: 26,
161
- eol: 27,
162
- QUADRANT: 28,
163
- document: 29,
164
- line: 30,
165
- statement: 31,
166
- axisDetails: 32,
167
- quadrantDetails: 33,
168
- points: 34,
169
- title: 35,
170
- title_value: 36,
171
- acc_title: 37,
172
- acc_title_value: 38,
173
- acc_descr: 39,
174
- acc_descr_value: 40,
175
- acc_descr_multiline_value: 41,
176
- section: 42,
177
- text: 43,
178
- point_start: 44,
179
- point_x: 45,
180
- point_y: 46,
181
- class_name: 47,
182
- "X-AXIS": 48,
183
- "AXIS-TEXT-DELIMITER": 49,
184
- "Y-AXIS": 50,
185
- QUADRANT_1: 51,
186
- QUADRANT_2: 52,
187
- QUADRANT_3: 53,
188
- QUADRANT_4: 54,
189
- NEWLINE: 55,
190
- SEMI: 56,
191
- EOF: 57,
192
- alphaNumToken: 58,
193
- textNoTagsToken: 59,
194
- STR: 60,
195
- MD_STR: 61,
196
- alphaNum: 62,
197
- PUNCTUATION: 63,
198
- PLUS: 64,
199
- EQUALS: 65,
200
- DOT: 66,
201
- UNDERSCORE: 67,
202
- $accept: 0,
203
- $end: 1
204
- },
205
- terminals_: {
206
- 2: "error",
207
- 4: "ALPHA",
208
- 5: "NUM",
209
- 6: "NODE_STRING",
210
- 7: "DOWN",
211
- 8: "MINUS",
212
- 9: "DEFAULT",
213
- 10: "COMMA",
214
- 11: "COLON",
215
- 12: "AMP",
216
- 13: "BRKT",
217
- 14: "MULT",
218
- 15: "UNICODE_TEXT",
219
- 17: "UNIT",
220
- 18: "SPACE",
221
- 19: "STYLE",
222
- 20: "PCT",
223
- 25: "CLASSDEF",
224
- 28: "QUADRANT",
225
- 35: "title",
226
- 36: "title_value",
227
- 37: "acc_title",
228
- 38: "acc_title_value",
229
- 39: "acc_descr",
230
- 40: "acc_descr_value",
231
- 41: "acc_descr_multiline_value",
232
- 42: "section",
233
- 44: "point_start",
234
- 45: "point_x",
235
- 46: "point_y",
236
- 47: "class_name",
237
- 48: "X-AXIS",
238
- 49: "AXIS-TEXT-DELIMITER",
239
- 50: "Y-AXIS",
240
- 51: "QUADRANT_1",
241
- 52: "QUADRANT_2",
242
- 53: "QUADRANT_3",
243
- 54: "QUADRANT_4",
244
- 55: "NEWLINE",
245
- 56: "SEMI",
246
- 57: "EOF",
247
- 60: "STR",
248
- 61: "MD_STR",
249
- 63: "PUNCTUATION",
250
- 64: "PLUS",
251
- 65: "EQUALS",
252
- 66: "DOT",
253
- 67: "UNDERSCORE"
254
- },
255
- productions_: [
256
- 0,
257
- [3, 1],
258
- [3, 1],
259
- [3, 1],
260
- [3, 1],
261
- [3, 1],
262
- [3, 1],
263
- [3, 1],
264
- [3, 1],
265
- [3, 1],
266
- [3, 1],
267
- [3, 1],
268
- [3, 1],
269
- [16, 1],
270
- [16, 1],
271
- [16, 1],
272
- [16, 1],
273
- [16, 1],
274
- [16, 1],
275
- [16, 1],
276
- [16, 1],
277
- [16, 1],
278
- [16, 1],
279
- [21, 1],
280
- [21, 2],
281
- [22, 1],
282
- [22, 2],
283
- [23, 1],
284
- [23, 3],
285
- [24, 5],
286
- [26, 2],
287
- [26, 2],
288
- [26, 2],
289
- [29, 0],
290
- [29, 2],
291
- [30, 2],
292
- [31, 0],
293
- [31, 1],
294
- [31, 2],
295
- [31, 1],
296
- [31, 1],
297
- [31, 1],
298
- [31, 2],
299
- [31, 2],
300
- [31, 2],
301
- [31, 1],
302
- [31, 1],
303
- [34, 4],
304
- [34, 5],
305
- [34, 5],
306
- [34, 6],
307
- [32, 4],
308
- [32, 3],
309
- [32, 2],
310
- [32, 4],
311
- [32, 3],
312
- [32, 2],
313
- [33, 2],
314
- [33, 2],
315
- [33, 2],
316
- [33, 2],
317
- [27, 1],
318
- [27, 1],
319
- [27, 1],
320
- [43, 1],
321
- [43, 2],
322
- [43, 1],
323
- [43, 1],
324
- [62, 1],
325
- [62, 2],
326
- [58, 1],
327
- [58, 1],
328
- [58, 1],
329
- [58, 1],
330
- [58, 1],
331
- [58, 1],
332
- [58, 1],
333
- [58, 1],
334
- [58, 1],
335
- [58, 1],
336
- [58, 1],
337
- [58, 1],
338
- [59, 1],
339
- [59, 1],
340
- [59, 1]
341
- ],
342
- performAction: /* @__PURE__ */ r(function(n, A, u, o, S, e, ct) {
343
- var s = e.length - 1;
344
- switch (S) {
345
- case 23:
346
- this.$ = e[s];
347
- break;
348
- case 24:
349
- this.$ = e[s - 1] + "" + e[s];
350
- break;
351
- case 26:
352
- this.$ = e[s - 1] + e[s];
353
- break;
354
- case 27:
355
- this.$ = [e[s].trim()];
356
- break;
357
- case 28:
358
- e[s - 2].push(e[s].trim()), this.$ = e[s - 2];
359
- break;
360
- case 29:
361
- this.$ = e[s - 4], o.addClass(e[s - 2], e[s]);
362
- break;
363
- case 37:
364
- this.$ = [];
365
- break;
366
- case 42:
367
- this.$ = e[s].trim(), o.setDiagramTitle(this.$);
368
- break;
369
- case 43:
370
- this.$ = e[s].trim(), o.setAccTitle(this.$);
371
- break;
372
- case 44:
373
- case 45:
374
- this.$ = e[s].trim(), o.setAccDescription(this.$);
375
- break;
376
- case 46:
377
- o.addSection(e[s].substr(8)), this.$ = e[s].substr(8);
378
- break;
379
- case 47:
380
- o.addPoint(e[s - 3], "", e[s - 1], e[s], []);
381
- break;
382
- case 48:
383
- o.addPoint(e[s - 4], e[s - 3], e[s - 1], e[s], []);
384
- break;
385
- case 49:
386
- o.addPoint(e[s - 4], "", e[s - 2], e[s - 1], e[s]);
387
- break;
388
- case 50:
389
- o.addPoint(e[s - 5], e[s - 4], e[s - 2], e[s - 1], e[s]);
390
- break;
391
- case 51:
392
- o.setXAxisLeftText(e[s - 2]), o.setXAxisRightText(e[s]);
393
- break;
394
- case 52:
395
- e[s - 1].text += " ⟶ ", o.setXAxisLeftText(e[s - 1]);
396
- break;
397
- case 53:
398
- o.setXAxisLeftText(e[s]);
399
- break;
400
- case 54:
401
- o.setYAxisBottomText(e[s - 2]), o.setYAxisTopText(e[s]);
402
- break;
403
- case 55:
404
- e[s - 1].text += " ⟶ ", o.setYAxisBottomText(e[s - 1]);
405
- break;
406
- case 56:
407
- o.setYAxisBottomText(e[s]);
408
- break;
409
- case 57:
410
- o.setQuadrant1Text(e[s]);
411
- break;
412
- case 58:
413
- o.setQuadrant2Text(e[s]);
414
- break;
415
- case 59:
416
- o.setQuadrant3Text(e[s]);
417
- break;
418
- case 60:
419
- o.setQuadrant4Text(e[s]);
420
- break;
421
- case 64:
422
- this.$ = {
423
- text: e[s],
424
- type: "text"
425
- };
426
- break;
427
- case 65:
428
- this.$ = {
429
- text: e[s - 1].text + "" + e[s],
430
- type: e[s - 1].type
431
- };
432
- break;
433
- case 66:
434
- this.$ = {
435
- text: e[s],
436
- type: "text"
437
- };
438
- break;
439
- case 67:
440
- this.$ = {
441
- text: e[s],
442
- type: "markdown"
443
- };
444
- break;
445
- case 68:
446
- this.$ = e[s];
447
- break;
448
- case 69:
449
- this.$ = e[s - 1] + "" + e[s];
450
- }
451
- }, "anonymous"),
452
- table: [
453
- {
454
- 18: l,
455
- 26: 1,
456
- 27: 2,
457
- 28: x,
458
- 55: c,
459
- 56: h,
460
- 57: f
461
- },
462
- { 1: [3] },
463
- {
464
- 18: l,
465
- 26: 8,
466
- 27: 2,
467
- 28: x,
468
- 55: c,
469
- 56: h,
470
- 57: f
471
- },
472
- {
473
- 18: l,
474
- 26: 9,
475
- 27: 2,
476
- 28: x,
477
- 55: c,
478
- 56: h,
479
- 57: f
480
- },
481
- t(g, [2, 33], { 29: 10 }),
482
- t(_, [2, 61]),
483
- t(_, [2, 62]),
484
- t(_, [2, 63]),
485
- { 1: [2, 30] },
486
- { 1: [2, 31] },
487
- t(a, T, {
488
- 30: 11,
489
- 31: 12,
490
- 24: 13,
491
- 32: 15,
492
- 33: 16,
493
- 34: 17,
494
- 43: 30,
495
- 58: 31,
496
- 1: [2, 32],
497
- 4: p,
498
- 5: y,
499
- 10: q,
500
- 12: m,
501
- 13: d,
502
- 14: b,
503
- 15: k,
504
- 18: dt,
505
- 25: ut,
506
- 35: xt,
507
- 37: ot,
508
- 39: ht,
509
- 41: i,
510
- 42: vt,
511
- 48: Et,
512
- 50: zt,
513
- 51: Dt,
514
- 52: It,
515
- 53: Nt,
516
- 54: wt,
517
- 60: U,
518
- 61: Q,
519
- 63: F,
520
- 64: P,
521
- 65: C,
522
- 66: L,
523
- 67: v
524
- }),
525
- t(g, [2, 34]),
526
- {
527
- 27: 46,
528
- 55: c,
529
- 56: h,
530
- 57: f
531
- },
532
- t(a, [2, 37]),
533
- t(a, T, {
534
- 24: 13,
535
- 32: 15,
536
- 33: 16,
537
- 34: 17,
538
- 43: 30,
539
- 58: 31,
540
- 31: 47,
541
- 4: p,
542
- 5: y,
543
- 10: q,
544
- 12: m,
545
- 13: d,
546
- 14: b,
547
- 15: k,
548
- 18: dt,
549
- 25: ut,
550
- 35: xt,
551
- 37: ot,
552
- 39: ht,
553
- 41: i,
554
- 42: vt,
555
- 48: Et,
556
- 50: zt,
557
- 51: Dt,
558
- 52: It,
559
- 53: Nt,
560
- 54: wt,
561
- 60: U,
562
- 61: Q,
563
- 63: F,
564
- 64: P,
565
- 65: C,
566
- 66: L,
567
- 67: v
568
- }),
569
- t(a, [2, 39]),
570
- t(a, [2, 40]),
571
- t(a, [2, 41]),
572
- { 36: [1, 48] },
573
- { 38: [1, 49] },
574
- { 40: [1, 50] },
575
- t(a, [2, 45]),
576
- t(a, [2, 46]),
577
- { 18: [1, 51] },
578
- {
579
- 4: p,
580
- 5: y,
581
- 10: q,
582
- 12: m,
583
- 13: d,
584
- 14: b,
585
- 15: k,
586
- 43: 52,
587
- 58: 31,
588
- 60: U,
589
- 61: Q,
590
- 63: F,
591
- 64: P,
592
- 65: C,
593
- 66: L,
594
- 67: v
595
- },
596
- {
597
- 4: p,
598
- 5: y,
599
- 10: q,
600
- 12: m,
601
- 13: d,
602
- 14: b,
603
- 15: k,
604
- 43: 53,
605
- 58: 31,
606
- 60: U,
607
- 61: Q,
608
- 63: F,
609
- 64: P,
610
- 65: C,
611
- 66: L,
612
- 67: v
613
- },
614
- {
615
- 4: p,
616
- 5: y,
617
- 10: q,
618
- 12: m,
619
- 13: d,
620
- 14: b,
621
- 15: k,
622
- 43: 54,
623
- 58: 31,
624
- 60: U,
625
- 61: Q,
626
- 63: F,
627
- 64: P,
628
- 65: C,
629
- 66: L,
630
- 67: v
631
- },
632
- {
633
- 4: p,
634
- 5: y,
635
- 10: q,
636
- 12: m,
637
- 13: d,
638
- 14: b,
639
- 15: k,
640
- 43: 55,
641
- 58: 31,
642
- 60: U,
643
- 61: Q,
644
- 63: F,
645
- 64: P,
646
- 65: C,
647
- 66: L,
648
- 67: v
649
- },
650
- {
651
- 4: p,
652
- 5: y,
653
- 10: q,
654
- 12: m,
655
- 13: d,
656
- 14: b,
657
- 15: k,
658
- 43: 56,
659
- 58: 31,
660
- 60: U,
661
- 61: Q,
662
- 63: F,
663
- 64: P,
664
- 65: C,
665
- 66: L,
666
- 67: v
667
- },
668
- {
669
- 4: p,
670
- 5: y,
671
- 10: q,
672
- 12: m,
673
- 13: d,
674
- 14: b,
675
- 15: k,
676
- 43: 57,
677
- 58: 31,
678
- 60: U,
679
- 61: Q,
680
- 63: F,
681
- 64: P,
682
- 65: C,
683
- 66: L,
684
- 67: v
685
- },
686
- {
687
- 4: p,
688
- 5: y,
689
- 8: H,
690
- 10: q,
691
- 12: m,
692
- 13: d,
693
- 14: b,
694
- 15: k,
695
- 18: O,
696
- 44: [1, 58],
697
- 47: [1, 59],
698
- 58: 61,
699
- 59: 60,
700
- 63: F,
701
- 64: P,
702
- 65: C,
703
- 66: L,
704
- 67: v
705
- },
706
- t(E, [2, 64]),
707
- t(E, [2, 66]),
708
- t(E, [2, 67]),
709
- t(E, [2, 70]),
710
- t(E, [2, 71]),
711
- t(E, [2, 72]),
712
- t(E, [2, 73]),
713
- t(E, [2, 74]),
714
- t(E, [2, 75]),
715
- t(E, [2, 76]),
716
- t(E, [2, 77]),
717
- t(E, [2, 78]),
718
- t(E, [2, 79]),
719
- t(E, [2, 80]),
720
- t(E, [2, 81]),
721
- t(g, [2, 35]),
722
- t(a, [2, 38]),
723
- t(a, [2, 42]),
724
- t(a, [2, 43]),
725
- t(a, [2, 44]),
726
- {
727
- 3: 65,
728
- 4: Wt,
729
- 5: Bt,
730
- 6: Rt,
731
- 7: $t,
732
- 8: Ut,
733
- 9: Qt,
734
- 10: Xt,
735
- 11: Ht,
736
- 12: Ot,
737
- 13: Mt,
738
- 14: Yt,
739
- 15: jt,
740
- 21: 64
741
- },
742
- t(a, [2, 53], {
743
- 59: 60,
744
- 58: 61,
745
- 4: p,
746
- 5: y,
747
- 8: H,
748
- 10: q,
749
- 12: m,
750
- 13: d,
751
- 14: b,
752
- 15: k,
753
- 18: O,
754
- 49: [1, 78],
755
- 63: F,
756
- 64: P,
757
- 65: C,
758
- 66: L,
759
- 67: v
760
- }),
761
- t(a, [2, 56], {
762
- 59: 60,
763
- 58: 61,
764
- 4: p,
765
- 5: y,
766
- 8: H,
767
- 10: q,
768
- 12: m,
769
- 13: d,
770
- 14: b,
771
- 15: k,
772
- 18: O,
773
- 49: [1, 79],
774
- 63: F,
775
- 64: P,
776
- 65: C,
777
- 66: L,
778
- 67: v
779
- }),
780
- t(a, [2, 57], {
781
- 59: 60,
782
- 58: 61,
783
- 4: p,
784
- 5: y,
785
- 8: H,
786
- 10: q,
787
- 12: m,
788
- 13: d,
789
- 14: b,
790
- 15: k,
791
- 18: O,
792
- 63: F,
793
- 64: P,
794
- 65: C,
795
- 66: L,
796
- 67: v
797
- }),
798
- t(a, [2, 58], {
799
- 59: 60,
800
- 58: 61,
801
- 4: p,
802
- 5: y,
803
- 8: H,
804
- 10: q,
805
- 12: m,
806
- 13: d,
807
- 14: b,
808
- 15: k,
809
- 18: O,
810
- 63: F,
811
- 64: P,
812
- 65: C,
813
- 66: L,
814
- 67: v
815
- }),
816
- t(a, [2, 59], {
817
- 59: 60,
818
- 58: 61,
819
- 4: p,
820
- 5: y,
821
- 8: H,
822
- 10: q,
823
- 12: m,
824
- 13: d,
825
- 14: b,
826
- 15: k,
827
- 18: O,
828
- 63: F,
829
- 64: P,
830
- 65: C,
831
- 66: L,
832
- 67: v
833
- }),
834
- t(a, [2, 60], {
835
- 59: 60,
836
- 58: 61,
837
- 4: p,
838
- 5: y,
839
- 8: H,
840
- 10: q,
841
- 12: m,
842
- 13: d,
843
- 14: b,
844
- 15: k,
845
- 18: O,
846
- 63: F,
847
- 64: P,
848
- 65: C,
849
- 66: L,
850
- 67: v
851
- }),
852
- { 45: [1, 80] },
853
- { 44: [1, 81] },
854
- t(E, [2, 65]),
855
- t(E, [2, 82]),
856
- t(E, [2, 83]),
857
- t(E, [2, 84]),
858
- {
859
- 3: 83,
860
- 4: Wt,
861
- 5: Bt,
862
- 6: Rt,
863
- 7: $t,
864
- 8: Ut,
865
- 9: Qt,
866
- 10: Xt,
867
- 11: Ht,
868
- 12: Ot,
869
- 13: Mt,
870
- 14: Yt,
871
- 15: jt,
872
- 18: [1, 82]
873
- },
874
- t(w, [2, 23]),
875
- t(w, [2, 1]),
876
- t(w, [2, 2]),
877
- t(w, [2, 3]),
878
- t(w, [2, 4]),
879
- t(w, [2, 5]),
880
- t(w, [2, 6]),
881
- t(w, [2, 7]),
882
- t(w, [2, 8]),
883
- t(w, [2, 9]),
884
- t(w, [2, 10]),
885
- t(w, [2, 11]),
886
- t(w, [2, 12]),
887
- t(a, [2, 52], {
888
- 58: 31,
889
- 43: 84,
890
- 4: p,
891
- 5: y,
892
- 10: q,
893
- 12: m,
894
- 13: d,
895
- 14: b,
896
- 15: k,
897
- 60: U,
898
- 61: Q,
899
- 63: F,
900
- 64: P,
901
- 65: C,
902
- 66: L,
903
- 67: v
904
- }),
905
- t(a, [2, 55], {
906
- 58: 31,
907
- 43: 85,
908
- 4: p,
909
- 5: y,
910
- 10: q,
911
- 12: m,
912
- 13: d,
913
- 14: b,
914
- 15: k,
915
- 60: U,
916
- 61: Q,
917
- 63: F,
918
- 64: P,
919
- 65: C,
920
- 66: L,
921
- 67: v
922
- }),
923
- { 46: [1, 86] },
924
- { 45: [1, 87] },
925
- {
926
- 4: G,
927
- 5: V,
928
- 6: K,
929
- 8: Z,
930
- 11: J,
931
- 13: tt,
932
- 16: 90,
933
- 17: et,
934
- 18: it,
935
- 19: at,
936
- 20: nt,
937
- 22: 89,
938
- 23: 88
939
- },
940
- t(w, [2, 24]),
941
- t(a, [2, 51], {
942
- 59: 60,
943
- 58: 61,
944
- 4: p,
945
- 5: y,
946
- 8: H,
947
- 10: q,
948
- 12: m,
949
- 13: d,
950
- 14: b,
951
- 15: k,
952
- 18: O,
953
- 63: F,
954
- 64: P,
955
- 65: C,
956
- 66: L,
957
- 67: v
958
- }),
959
- t(a, [2, 54], {
960
- 59: 60,
961
- 58: 61,
962
- 4: p,
963
- 5: y,
964
- 8: H,
965
- 10: q,
966
- 12: m,
967
- 13: d,
968
- 14: b,
969
- 15: k,
970
- 18: O,
971
- 63: F,
972
- 64: P,
973
- 65: C,
974
- 66: L,
975
- 67: v
976
- }),
977
- t(a, [2, 47], {
978
- 22: 89,
979
- 16: 90,
980
- 23: 101,
981
- 4: G,
982
- 5: V,
983
- 6: K,
984
- 8: Z,
985
- 11: J,
986
- 13: tt,
987
- 17: et,
988
- 18: it,
989
- 19: at,
990
- 20: nt
991
- }),
992
- { 46: [1, 102] },
993
- t(a, [2, 29], { 10: At }),
994
- t(Gt, [2, 27], {
995
- 16: 104,
996
- 4: G,
997
- 5: V,
998
- 6: K,
999
- 8: Z,
1000
- 11: J,
1001
- 13: tt,
1002
- 17: et,
1003
- 18: it,
1004
- 19: at,
1005
- 20: nt
1006
- }),
1007
- t(B, [2, 25]),
1008
- t(B, [2, 13]),
1009
- t(B, [2, 14]),
1010
- t(B, [2, 15]),
1011
- t(B, [2, 16]),
1012
- t(B, [2, 17]),
1013
- t(B, [2, 18]),
1014
- t(B, [2, 19]),
1015
- t(B, [2, 20]),
1016
- t(B, [2, 21]),
1017
- t(B, [2, 22]),
1018
- t(a, [2, 49], { 10: At }),
1019
- t(a, [2, 48], {
1020
- 22: 89,
1021
- 16: 90,
1022
- 23: 105,
1023
- 4: G,
1024
- 5: V,
1025
- 6: K,
1026
- 8: Z,
1027
- 11: J,
1028
- 13: tt,
1029
- 17: et,
1030
- 18: it,
1031
- 19: at,
1032
- 20: nt
1033
- }),
1034
- {
1035
- 4: G,
1036
- 5: V,
1037
- 6: K,
1038
- 8: Z,
1039
- 11: J,
1040
- 13: tt,
1041
- 16: 90,
1042
- 17: et,
1043
- 18: it,
1044
- 19: at,
1045
- 20: nt,
1046
- 22: 106
1047
- },
1048
- t(B, [2, 26]),
1049
- t(a, [2, 50], { 10: At }),
1050
- t(Gt, [2, 28], {
1051
- 16: 104,
1052
- 4: G,
1053
- 5: V,
1054
- 6: K,
1055
- 8: Z,
1056
- 11: J,
1057
- 13: tt,
1058
- 17: et,
1059
- 18: it,
1060
- 19: at,
1061
- 20: nt
1062
- })
1063
- ],
1064
- defaultActions: {
1065
- 8: [2, 30],
1066
- 9: [2, 31]
1067
- },
1068
- parseError: /* @__PURE__ */ r(function(n, A) {
1069
- if (A.recoverable) this.trace(n);
1070
- else {
1071
- var u = Error(n);
1072
- throw u.hash = A, u;
1073
- }
1074
- }, "parseError"),
1075
- parse: /* @__PURE__ */ r(function(n) {
1076
- var A = this, u = [0], o = [], S = [null], e = [], ct = this.table, s = "", gt = 0, Vt = 0, me = 0, qe = 2, Kt = 1, Ae = e.slice.call(arguments, 1), z = Object.create(this.lexer), Y = { yy: {} };
1077
- for (var _t in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _t) && (Y.yy[_t] = this.yy[_t]);
1078
- z.setInput(n, Y.yy), Y.yy.lexer = z, Y.yy.parser = this, z.yylloc === void 0 && (z.yylloc = {});
1079
- var St = z.yylloc;
1080
- e.push(St);
1081
- var be = z.options && z.options.ranges;
1082
- this.parseError = typeof Y.yy.parseError == "function" ? Y.yy.parseError : Object.getPrototypeOf(this).parseError;
1083
- function _e($) {
1084
- u.length -= 2 * $, S.length -= $, e.length -= $;
1085
- }
1086
- r(_e, "popStack");
1087
- function Zt() {
1088
- var $ = o.pop() || z.lex() || Kt;
1089
- return typeof $ != "number" && ($ instanceof Array && (o = $, $ = o.pop()), $ = A.symbols_[$] || $), $;
1090
- }
1091
- r(Zt, "lex");
1092
- for (var W, kt, j, R, Ft, st = {}, pt, M, Jt, yt; ; ) {
1093
- if (j = u[u.length - 1], this.defaultActions[j] ? R = this.defaultActions[j] : (W ??= Zt(), R = ct[j] && ct[j][W]), R === void 0 || !R.length || !R[0]) {
1094
- var te = "";
1095
- for (pt in yt = [], ct[j]) this.terminals_[pt] && pt > qe && yt.push("'" + this.terminals_[pt] + "'");
1096
- te = z.showPosition ? "Parse error on line " + (gt + 1) + `:
1097
- ` + z.showPosition() + `
1098
- Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[W] || W) + "'" : "Parse error on line " + (gt + 1) + ": Unexpected " + (W == Kt ? "end of input" : "'" + (this.terminals_[W] || W) + "'"), this.parseError(te, {
1099
- text: z.match,
1100
- token: this.terminals_[W] || W,
1101
- line: z.yylineno,
1102
- loc: St,
1103
- expected: yt
1104
- });
1105
- }
1106
- if (R[0] instanceof Array && R.length > 1) throw Error("Parse Error: multiple actions possible at state: " + j + ", token: " + W);
1107
- switch (R[0]) {
1108
- case 1:
1109
- u.push(W), S.push(z.yytext), e.push(z.yylloc), u.push(R[1]), W = null, kt ? (W = kt, kt = null) : (Vt = z.yyleng, s = z.yytext, gt = z.yylineno, St = z.yylloc, me > 0);
1110
- break;
1111
- case 2:
1112
- if (M = this.productions_[R[1]][1], st.$ = S[S.length - M], st._$ = {
1113
- first_line: e[e.length - (M || 1)].first_line,
1114
- last_line: e[e.length - 1].last_line,
1115
- first_column: e[e.length - (M || 1)].first_column,
1116
- last_column: e[e.length - 1].last_column
1117
- }, be && (st._$.range = [e[e.length - (M || 1)].range[0], e[e.length - 1].range[1]]), Ft = this.performAction.apply(st, [
1118
- s,
1119
- Vt,
1120
- gt,
1121
- Y.yy,
1122
- R[1],
1123
- S,
1124
- e
1125
- ].concat(Ae)), Ft !== void 0) return Ft;
1126
- M && (u = u.slice(0, -1 * M * 2), S = S.slice(0, -1 * M), e = e.slice(0, -1 * M)), u.push(this.productions_[R[1]][0]), S.push(st.$), e.push(st._$), Jt = ct[u[u.length - 2]][u[u.length - 1]], u.push(Jt);
1127
- break;
1128
- case 3:
1129
- return !0;
1130
- }
1131
- }
1132
- return !0;
1133
- }, "parse")
1134
- };
1135
- bt.lexer = /* @__PURE__ */ (function() {
1136
- return {
1137
- EOF: 1,
1138
- parseError: /* @__PURE__ */ r(function(n, A) {
1139
- if (this.yy.parser) this.yy.parser.parseError(n, A);
1140
- else throw Error(n);
1141
- }, "parseError"),
1142
- setInput: /* @__PURE__ */ r(function(n, A) {
1143
- return this.yy = A || this.yy || {}, this._input = n, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1144
- first_line: 1,
1145
- first_column: 0,
1146
- last_line: 1,
1147
- last_column: 0
1148
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1149
- }, "setInput"),
1150
- input: /* @__PURE__ */ r(function() {
1151
- var n = this._input[0];
1152
- return this.yytext += n, this.yyleng++, this.offset++, this.match += n, this.matched += n, n.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), n;
1153
- }, "input"),
1154
- unput: /* @__PURE__ */ r(function(n) {
1155
- var A = n.length, u = n.split(/(?:\r\n?|\n)/g);
1156
- this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - A), this.offset -= A;
1157
- var o = this.match.split(/(?:\r\n?|\n)/g);
1158
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), u.length - 1 && (this.yylineno -= u.length - 1);
1159
- var S = this.yylloc.range;
1160
- return this.yylloc = {
1161
- first_line: this.yylloc.first_line,
1162
- last_line: this.yylineno + 1,
1163
- first_column: this.yylloc.first_column,
1164
- last_column: u ? (u.length === o.length ? this.yylloc.first_column : 0) + o[o.length - u.length].length - u[0].length : this.yylloc.first_column - A
1165
- }, this.options.ranges && (this.yylloc.range = [S[0], S[0] + this.yyleng - A]), this.yyleng = this.yytext.length, this;
1166
- }, "unput"),
1167
- more: /* @__PURE__ */ r(function() {
1168
- return this._more = !0, this;
1169
- }, "more"),
1170
- reject: /* @__PURE__ */ r(function() {
1171
- if (this.options.backtrack_lexer) this._backtrack = !0;
1172
- else return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
1173
- ` + this.showPosition(), {
1174
- text: "",
1175
- token: null,
1176
- line: this.yylineno
1177
- });
1178
- return this;
1179
- }, "reject"),
1180
- less: /* @__PURE__ */ r(function(n) {
1181
- this.unput(this.match.slice(n));
1182
- }, "less"),
1183
- pastInput: /* @__PURE__ */ r(function() {
1184
- var n = this.matched.substr(0, this.matched.length - this.match.length);
1185
- return (n.length > 20 ? "..." : "") + n.substr(-20).replace(/\n/g, "");
1186
- }, "pastInput"),
1187
- upcomingInput: /* @__PURE__ */ r(function() {
1188
- var n = this.match;
1189
- return n.length < 20 && (n += this._input.substr(0, 20 - n.length)), (n.substr(0, 20) + (n.length > 20 ? "..." : "")).replace(/\n/g, "");
1190
- }, "upcomingInput"),
1191
- showPosition: /* @__PURE__ */ r(function() {
1192
- var n = this.pastInput(), A = Array(n.length + 1).join("-");
1193
- return n + this.upcomingInput() + `
1194
- ` + A + "^";
1195
- }, "showPosition"),
1196
- test_match: /* @__PURE__ */ r(function(n, A) {
1197
- var u, o, S;
1198
- if (this.options.backtrack_lexer && (S = {
1199
- yylineno: this.yylineno,
1200
- yylloc: {
1201
- first_line: this.yylloc.first_line,
1202
- last_line: this.last_line,
1203
- first_column: this.yylloc.first_column,
1204
- last_column: this.yylloc.last_column
1205
- },
1206
- yytext: this.yytext,
1207
- match: this.match,
1208
- matches: this.matches,
1209
- matched: this.matched,
1210
- yyleng: this.yyleng,
1211
- offset: this.offset,
1212
- _more: this._more,
1213
- _input: this._input,
1214
- yy: this.yy,
1215
- conditionStack: this.conditionStack.slice(0),
1216
- done: this.done
1217
- }, this.options.ranges && (S.yylloc.range = this.yylloc.range.slice(0))), o = n[0].match(/(?:\r\n?|\n).*/g), o && (this.yylineno += o.length), this.yylloc = {
1218
- first_line: this.yylloc.last_line,
1219
- last_line: this.yylineno + 1,
1220
- first_column: this.yylloc.last_column,
1221
- last_column: o ? o[o.length - 1].length - o[o.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + n[0].length
1222
- }, this.yytext += n[0], this.match += n[0], this.matches = n, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(n[0].length), this.matched += n[0], u = this.performAction.call(this, this.yy, this, A, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), u) return u;
1223
- if (this._backtrack) {
1224
- for (var e in S) this[e] = S[e];
1225
- return !1;
1226
- }
1227
- return !1;
1228
- }, "test_match"),
1229
- next: /* @__PURE__ */ r(function() {
1230
- if (this.done) return this.EOF;
1231
- this._input || (this.done = !0);
1232
- var n, A, u, o;
1233
- this._more || (this.yytext = "", this.match = "");
1234
- for (var S = this._currentRules(), e = 0; e < S.length; e++) if (u = this._input.match(this.rules[S[e]]), u && (!A || u[0].length > A[0].length)) {
1235
- if (A = u, o = e, this.options.backtrack_lexer) {
1236
- if (n = this.test_match(u, S[e]), n !== !1) return n;
1237
- if (this._backtrack) {
1238
- A = !1;
1239
- continue;
1240
- }
1241
- return !1;
1242
- }
1243
- if (!this.options.flex) break;
1244
- }
1245
- return A ? (n = this.test_match(A, S[o]), n !== !1 && n) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1246
- ` + this.showPosition(), {
1247
- text: "",
1248
- token: null,
1249
- line: this.yylineno
1250
- });
1251
- }, "next"),
1252
- lex: /* @__PURE__ */ r(function() {
1253
- return this.next() || this.lex();
1254
- }, "lex"),
1255
- begin: /* @__PURE__ */ r(function(n) {
1256
- this.conditionStack.push(n);
1257
- }, "begin"),
1258
- popState: /* @__PURE__ */ r(function() {
1259
- return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1260
- }, "popState"),
1261
- _currentRules: /* @__PURE__ */ r(function() {
1262
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1263
- }, "_currentRules"),
1264
- topState: /* @__PURE__ */ r(function(n) {
1265
- return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
1266
- }, "topState"),
1267
- pushState: /* @__PURE__ */ r(function(n) {
1268
- this.begin(n);
1269
- }, "pushState"),
1270
- stateStackSize: /* @__PURE__ */ r(function() {
1271
- return this.conditionStack.length;
1272
- }, "stateStackSize"),
1273
- options: { "case-insensitive": !0 },
1274
- performAction: /* @__PURE__ */ r(function(n, A, u, o) {
1275
- switch (u) {
1276
- case 0:
1277
- break;
1278
- case 1:
1279
- break;
1280
- case 2:
1281
- return 55;
1282
- case 3:
1283
- break;
1284
- case 4:
1285
- return this.begin("title"), 35;
1286
- case 5:
1287
- return this.popState(), "title_value";
1288
- case 6:
1289
- return this.begin("acc_title"), 37;
1290
- case 7:
1291
- return this.popState(), "acc_title_value";
1292
- case 8:
1293
- return this.begin("acc_descr"), 39;
1294
- case 9:
1295
- return this.popState(), "acc_descr_value";
1296
- case 10:
1297
- this.begin("acc_descr_multiline");
1298
- break;
1299
- case 11:
1300
- this.popState();
1301
- break;
1302
- case 12:
1303
- return "acc_descr_multiline_value";
1304
- case 13:
1305
- return 48;
1306
- case 14:
1307
- return 50;
1308
- case 15:
1309
- return 49;
1310
- case 16:
1311
- return 51;
1312
- case 17:
1313
- return 52;
1314
- case 18:
1315
- return 53;
1316
- case 19:
1317
- return 54;
1318
- case 20:
1319
- return 25;
1320
- case 21:
1321
- this.begin("md_string");
1322
- break;
1323
- case 22:
1324
- return "MD_STR";
1325
- case 23:
1326
- this.popState();
1327
- break;
1328
- case 24:
1329
- this.begin("string");
1330
- break;
1331
- case 25:
1332
- this.popState();
1333
- break;
1334
- case 26:
1335
- return "STR";
1336
- case 27:
1337
- this.begin("class_name");
1338
- break;
1339
- case 28:
1340
- return this.popState(), 47;
1341
- case 29:
1342
- return this.begin("point_start"), 44;
1343
- case 30:
1344
- return this.begin("point_x"), 45;
1345
- case 31:
1346
- this.popState();
1347
- break;
1348
- case 32:
1349
- this.popState(), this.begin("point_y");
1350
- break;
1351
- case 33:
1352
- return this.popState(), 46;
1353
- case 34:
1354
- return 28;
1355
- case 35:
1356
- return 4;
1357
- case 36:
1358
- return 15;
1359
- case 37:
1360
- return 11;
1361
- case 38:
1362
- return 64;
1363
- case 39:
1364
- return 10;
1365
- case 40:
1366
- return 65;
1367
- case 41:
1368
- return 65;
1369
- case 42:
1370
- return 14;
1371
- case 43:
1372
- return 13;
1373
- case 44:
1374
- return 67;
1375
- case 45:
1376
- return 66;
1377
- case 46:
1378
- return 12;
1379
- case 47:
1380
- return 8;
1381
- case 48:
1382
- return 5;
1383
- case 49:
1384
- return 18;
1385
- case 50:
1386
- return 56;
1387
- case 51:
1388
- return 63;
1389
- case 52:
1390
- return 57;
1391
- }
1392
- }, "anonymous"),
1393
- rules: [
1394
- /^(?:%%(?!\{)[^\n]*)/i,
1395
- /^(?:[^\}]%%[^\n]*)/i,
1396
- /^(?:[\n\r]+)/i,
1397
- /^(?:%%[^\n]*)/i,
1398
- /^(?:title\b)/i,
1399
- /^(?:(?!\n||)*[^\n]*)/i,
1400
- /^(?:accTitle\s*:\s*)/i,
1401
- /^(?:(?!\n||)*[^\n]*)/i,
1402
- /^(?:accDescr\s*:\s*)/i,
1403
- /^(?:(?!\n||)*[^\n]*)/i,
1404
- /^(?:accDescr\s*\{\s*)/i,
1405
- /^(?:[\}])/i,
1406
- /^(?:[^\}]*)/i,
1407
- /^(?: *x-axis *)/i,
1408
- /^(?: *y-axis *)/i,
1409
- /^(?: *--+> *)/i,
1410
- /^(?: *quadrant-1 *)/i,
1411
- /^(?: *quadrant-2 *)/i,
1412
- /^(?: *quadrant-3 *)/i,
1413
- /^(?: *quadrant-4 *)/i,
1414
- /^(?:classDef\b)/i,
1415
- /^(?:["][`])/i,
1416
- /^(?:[^`"]+)/i,
1417
- /^(?:[`]["])/i,
1418
- /^(?:["])/i,
1419
- /^(?:["])/i,
1420
- /^(?:[^"]*)/i,
1421
- /^(?::::)/i,
1422
- /^(?:^\w+)/i,
1423
- /^(?:\s*:\s*\[\s*)/i,
1424
- /^(?:(1)|(0(.\d+)?))/i,
1425
- /^(?:\s*\] *)/i,
1426
- /^(?:\s*,\s*)/i,
1427
- /^(?:(1)|(0(.\d+)?))/i,
1428
- /^(?: *quadrantChart *)/i,
1429
- /^(?:[A-Za-z]+)/i,
1430
- /^(?:[^\x00-\x7F]+)/i,
1431
- /^(?::)/i,
1432
- /^(?:\+)/i,
1433
- /^(?:,)/i,
1434
- /^(?:=)/i,
1435
- /^(?:=)/i,
1436
- /^(?:\*)/i,
1437
- /^(?:#)/i,
1438
- /^(?:[\_])/i,
1439
- /^(?:\.)/i,
1440
- /^(?:&)/i,
1441
- /^(?:-)/i,
1442
- /^(?:[0-9]+)/i,
1443
- /^(?:\s)/i,
1444
- /^(?:;)/i,
1445
- /^(?:[!"#$%&'*+,-.`?\\_/])/i,
1446
- /^(?:$)/i
1447
- ],
1448
- conditions: {
1449
- class_name: {
1450
- rules: [28],
1451
- inclusive: !1
1452
- },
1453
- point_y: {
1454
- rules: [33],
1455
- inclusive: !1
1456
- },
1457
- point_x: {
1458
- rules: [32],
1459
- inclusive: !1
1460
- },
1461
- point_start: {
1462
- rules: [30, 31],
1463
- inclusive: !1
1464
- },
1465
- acc_descr_multiline: {
1466
- rules: [11, 12],
1467
- inclusive: !1
1468
- },
1469
- acc_descr: {
1470
- rules: [9],
1471
- inclusive: !1
1472
- },
1473
- acc_title: {
1474
- rules: [7],
1475
- inclusive: !1
1476
- },
1477
- title: {
1478
- rules: [5],
1479
- inclusive: !1
1480
- },
1481
- md_string: {
1482
- rules: [22, 23],
1483
- inclusive: !1
1484
- },
1485
- string: {
1486
- rules: [25, 26],
1487
- inclusive: !1
1488
- },
1489
- INITIAL: {
1490
- rules: [
1491
- 0,
1492
- 1,
1493
- 2,
1494
- 3,
1495
- 4,
1496
- 6,
1497
- 8,
1498
- 10,
1499
- 13,
1500
- 14,
1501
- 15,
1502
- 16,
1503
- 17,
1504
- 18,
1505
- 19,
1506
- 20,
1507
- 21,
1508
- 24,
1509
- 27,
1510
- 29,
1511
- 34,
1512
- 35,
1513
- 36,
1514
- 37,
1515
- 38,
1516
- 39,
1517
- 40,
1518
- 41,
1519
- 42,
1520
- 43,
1521
- 44,
1522
- 45,
1523
- 46,
1524
- 47,
1525
- 48,
1526
- 49,
1527
- 50,
1528
- 51,
1529
- 52
1530
- ],
1531
- inclusive: !0
1532
- }
1533
- }
1534
- };
1535
- })();
1536
- function ft() {
1537
- this.yy = {};
1538
- }
1539
- return r(ft, "Parser"), ft.prototype = bt, bt.Parser = ft, new ft();
1540
- })();
1541
- Pt.parser = Pt;
1542
- var De = Pt, N = ze(), rt, Ie = (rt = class {
1543
- constructor() {
1544
- this.classes = /* @__PURE__ */ new Map(), this.config = this.getDefaultConfig(), this.themeConfig = this.getDefaultThemeConfig(), this.data = this.getDefaultData();
1545
- }
1546
- getDefaultData() {
1547
- return {
1548
- titleText: "",
1549
- quadrant1Text: "",
1550
- quadrant2Text: "",
1551
- quadrant3Text: "",
1552
- quadrant4Text: "",
1553
- xAxisLeftText: "",
1554
- xAxisRightText: "",
1555
- yAxisBottomText: "",
1556
- yAxisTopText: "",
1557
- points: []
1558
- };
1559
- }
1560
- getDefaultConfig() {
1561
- return {
1562
- showXAxis: !0,
1563
- showYAxis: !0,
1564
- showTitle: !0,
1565
- chartHeight: D.quadrantChart?.chartWidth || 500,
1566
- chartWidth: D.quadrantChart?.chartHeight || 500,
1567
- titlePadding: D.quadrantChart?.titlePadding || 10,
1568
- titleFontSize: D.quadrantChart?.titleFontSize || 20,
1569
- quadrantPadding: D.quadrantChart?.quadrantPadding || 5,
1570
- xAxisLabelPadding: D.quadrantChart?.xAxisLabelPadding || 5,
1571
- yAxisLabelPadding: D.quadrantChart?.yAxisLabelPadding || 5,
1572
- xAxisLabelFontSize: D.quadrantChart?.xAxisLabelFontSize || 16,
1573
- yAxisLabelFontSize: D.quadrantChart?.yAxisLabelFontSize || 16,
1574
- quadrantLabelFontSize: D.quadrantChart?.quadrantLabelFontSize || 16,
1575
- quadrantTextTopPadding: D.quadrantChart?.quadrantTextTopPadding || 5,
1576
- pointTextPadding: D.quadrantChart?.pointTextPadding || 5,
1577
- pointLabelFontSize: D.quadrantChart?.pointLabelFontSize || 12,
1578
- pointRadius: D.quadrantChart?.pointRadius || 5,
1579
- xAxisPosition: D.quadrantChart?.xAxisPosition || "top",
1580
- yAxisPosition: D.quadrantChart?.yAxisPosition || "left",
1581
- quadrantInternalBorderStrokeWidth: D.quadrantChart?.quadrantInternalBorderStrokeWidth || 1,
1582
- quadrantExternalBorderStrokeWidth: D.quadrantChart?.quadrantExternalBorderStrokeWidth || 2
1583
- };
1584
- }
1585
- getDefaultThemeConfig() {
1586
- return {
1587
- quadrant1Fill: N.quadrant1Fill,
1588
- quadrant2Fill: N.quadrant2Fill,
1589
- quadrant3Fill: N.quadrant3Fill,
1590
- quadrant4Fill: N.quadrant4Fill,
1591
- quadrant1TextFill: N.quadrant1TextFill,
1592
- quadrant2TextFill: N.quadrant2TextFill,
1593
- quadrant3TextFill: N.quadrant3TextFill,
1594
- quadrant4TextFill: N.quadrant4TextFill,
1595
- quadrantPointFill: N.quadrantPointFill,
1596
- quadrantPointTextFill: N.quadrantPointTextFill,
1597
- quadrantXAxisTextFill: N.quadrantXAxisTextFill,
1598
- quadrantYAxisTextFill: N.quadrantYAxisTextFill,
1599
- quadrantTitleFill: N.quadrantTitleFill,
1600
- quadrantInternalBorderStrokeFill: N.quadrantInternalBorderStrokeFill,
1601
- quadrantExternalBorderStrokeFill: N.quadrantExternalBorderStrokeFill
1602
- };
1603
- }
1604
- clear() {
1605
- this.config = this.getDefaultConfig(), this.themeConfig = this.getDefaultThemeConfig(), this.data = this.getDefaultData(), this.classes = /* @__PURE__ */ new Map(), mt.info("clear called");
1606
- }
1607
- setData(l) {
1608
- this.data = {
1609
- ...this.data,
1610
- ...l
1611
- };
1612
- }
1613
- addPoints(l) {
1614
- this.data.points = [...l, ...this.data.points];
1615
- }
1616
- addClass(l, x) {
1617
- this.classes.set(l, x);
1618
- }
1619
- setConfig(l) {
1620
- mt.trace("setConfig called with: ", l), this.config = {
1621
- ...this.config,
1622
- ...l
1623
- };
1624
- }
1625
- setThemeConfig(l) {
1626
- mt.trace("setThemeConfig called with: ", l), this.themeConfig = {
1627
- ...this.themeConfig,
1628
- ...l
1629
- };
1630
- }
1631
- calculateSpace(l, x, c, h) {
1632
- let f = this.config.xAxisLabelPadding * 2 + this.config.xAxisLabelFontSize, g = {
1633
- top: l === "top" && x ? f : 0,
1634
- bottom: l === "bottom" && x ? f : 0
1635
- }, _ = this.config.yAxisLabelPadding * 2 + this.config.yAxisLabelFontSize, a = {
1636
- left: this.config.yAxisPosition === "left" && c ? _ : 0,
1637
- right: this.config.yAxisPosition === "right" && c ? _ : 0
1638
- }, T = this.config.titleFontSize + this.config.titlePadding * 2, p = { top: h ? T : 0 }, y = this.config.quadrantPadding + a.left, q = this.config.quadrantPadding + g.top + p.top, m = this.config.chartWidth - this.config.quadrantPadding * 2 - a.left - a.right, d = this.config.chartHeight - this.config.quadrantPadding * 2 - g.top - g.bottom - p.top;
1639
- return {
1640
- xAxisSpace: g,
1641
- yAxisSpace: a,
1642
- titleSpace: p,
1643
- quadrantSpace: {
1644
- quadrantLeft: y,
1645
- quadrantTop: q,
1646
- quadrantWidth: m,
1647
- quadrantHalfWidth: m / 2,
1648
- quadrantHeight: d,
1649
- quadrantHalfHeight: d / 2
1650
- }
1651
- };
1652
- }
1653
- getAxisLabels(l, x, c, h) {
1654
- let { quadrantSpace: f, titleSpace: g } = h, { quadrantHalfHeight: _, quadrantHeight: a, quadrantLeft: T, quadrantHalfWidth: p, quadrantTop: y, quadrantWidth: q } = f, m = !!this.data.xAxisRightText, d = !!this.data.yAxisTopText, b = [];
1655
- return this.data.xAxisLeftText && x && b.push({
1656
- text: this.data.xAxisLeftText,
1657
- fill: this.themeConfig.quadrantXAxisTextFill,
1658
- x: T + (m ? p / 2 : 0),
1659
- y: l === "top" ? this.config.xAxisLabelPadding + g.top : this.config.xAxisLabelPadding + y + a + this.config.quadrantPadding,
1660
- fontSize: this.config.xAxisLabelFontSize,
1661
- verticalPos: m ? "center" : "left",
1662
- horizontalPos: "top",
1663
- rotation: 0
1664
- }), this.data.xAxisRightText && x && b.push({
1665
- text: this.data.xAxisRightText,
1666
- fill: this.themeConfig.quadrantXAxisTextFill,
1667
- x: T + p + (m ? p / 2 : 0),
1668
- y: l === "top" ? this.config.xAxisLabelPadding + g.top : this.config.xAxisLabelPadding + y + a + this.config.quadrantPadding,
1669
- fontSize: this.config.xAxisLabelFontSize,
1670
- verticalPos: m ? "center" : "left",
1671
- horizontalPos: "top",
1672
- rotation: 0
1673
- }), this.data.yAxisBottomText && c && b.push({
1674
- text: this.data.yAxisBottomText,
1675
- fill: this.themeConfig.quadrantYAxisTextFill,
1676
- x: this.config.yAxisPosition === "left" ? this.config.yAxisLabelPadding : this.config.yAxisLabelPadding + T + q + this.config.quadrantPadding,
1677
- y: y + a - (d ? _ / 2 : 0),
1678
- fontSize: this.config.yAxisLabelFontSize,
1679
- verticalPos: d ? "center" : "left",
1680
- horizontalPos: "top",
1681
- rotation: -90
1682
- }), this.data.yAxisTopText && c && b.push({
1683
- text: this.data.yAxisTopText,
1684
- fill: this.themeConfig.quadrantYAxisTextFill,
1685
- x: this.config.yAxisPosition === "left" ? this.config.yAxisLabelPadding : this.config.yAxisLabelPadding + T + q + this.config.quadrantPadding,
1686
- y: y + _ - (d ? _ / 2 : 0),
1687
- fontSize: this.config.yAxisLabelFontSize,
1688
- verticalPos: d ? "center" : "left",
1689
- horizontalPos: "top",
1690
- rotation: -90
1691
- }), b;
1692
- }
1693
- getQuadrants(l) {
1694
- let { quadrantSpace: x } = l, { quadrantHalfHeight: c, quadrantLeft: h, quadrantHalfWidth: f, quadrantTop: g } = x, _ = [
1695
- {
1696
- text: {
1697
- text: this.data.quadrant1Text,
1698
- fill: this.themeConfig.quadrant1TextFill,
1699
- x: 0,
1700
- y: 0,
1701
- fontSize: this.config.quadrantLabelFontSize,
1702
- verticalPos: "center",
1703
- horizontalPos: "middle",
1704
- rotation: 0
1705
- },
1706
- x: h + f,
1707
- y: g,
1708
- width: f,
1709
- height: c,
1710
- fill: this.themeConfig.quadrant1Fill
1711
- },
1712
- {
1713
- text: {
1714
- text: this.data.quadrant2Text,
1715
- fill: this.themeConfig.quadrant2TextFill,
1716
- x: 0,
1717
- y: 0,
1718
- fontSize: this.config.quadrantLabelFontSize,
1719
- verticalPos: "center",
1720
- horizontalPos: "middle",
1721
- rotation: 0
1722
- },
1723
- x: h,
1724
- y: g,
1725
- width: f,
1726
- height: c,
1727
- fill: this.themeConfig.quadrant2Fill
1728
- },
1729
- {
1730
- text: {
1731
- text: this.data.quadrant3Text,
1732
- fill: this.themeConfig.quadrant3TextFill,
1733
- x: 0,
1734
- y: 0,
1735
- fontSize: this.config.quadrantLabelFontSize,
1736
- verticalPos: "center",
1737
- horizontalPos: "middle",
1738
- rotation: 0
1739
- },
1740
- x: h,
1741
- y: g + c,
1742
- width: f,
1743
- height: c,
1744
- fill: this.themeConfig.quadrant3Fill
1745
- },
1746
- {
1747
- text: {
1748
- text: this.data.quadrant4Text,
1749
- fill: this.themeConfig.quadrant4TextFill,
1750
- x: 0,
1751
- y: 0,
1752
- fontSize: this.config.quadrantLabelFontSize,
1753
- verticalPos: "center",
1754
- horizontalPos: "middle",
1755
- rotation: 0
1756
- },
1757
- x: h + f,
1758
- y: g + c,
1759
- width: f,
1760
- height: c,
1761
- fill: this.themeConfig.quadrant4Fill
1762
- }
1763
- ];
1764
- for (let a of _) a.text.x = a.x + a.width / 2, this.data.points.length === 0 ? (a.text.y = a.y + a.height / 2, a.text.horizontalPos = "middle") : (a.text.y = a.y + this.config.quadrantTextTopPadding, a.text.horizontalPos = "top");
1765
- return _;
1766
- }
1767
- getQuadrantPoints(l) {
1768
- let { quadrantSpace: x } = l, { quadrantHeight: c, quadrantLeft: h, quadrantTop: f, quadrantWidth: g } = x, _ = ie().domain([0, 1]).range([h, g + h]), a = ie().domain([0, 1]).range([c + f, f]);
1769
- return this.data.points.map((T) => {
1770
- let p = this.classes.get(T.className);
1771
- return p && (T = {
1772
- ...p,
1773
- ...T
1774
- }), {
1775
- x: _(T.x),
1776
- y: a(T.y),
1777
- fill: T.color ?? this.themeConfig.quadrantPointFill,
1778
- radius: T.radius ?? this.config.pointRadius,
1779
- text: {
1780
- text: T.text,
1781
- fill: this.themeConfig.quadrantPointTextFill,
1782
- x: _(T.x),
1783
- y: a(T.y) + this.config.pointTextPadding,
1784
- verticalPos: "center",
1785
- horizontalPos: "top",
1786
- fontSize: this.config.pointLabelFontSize,
1787
- rotation: 0
1788
- },
1789
- strokeColor: T.strokeColor ?? this.themeConfig.quadrantPointFill,
1790
- strokeWidth: T.strokeWidth ?? "0px"
1791
- };
1792
- });
1793
- }
1794
- getBorders(l) {
1795
- let x = this.config.quadrantExternalBorderStrokeWidth / 2, { quadrantSpace: c } = l, { quadrantHalfHeight: h, quadrantHeight: f, quadrantLeft: g, quadrantHalfWidth: _, quadrantTop: a, quadrantWidth: T } = c;
1796
- return [
1797
- {
1798
- strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1799
- strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1800
- x1: g - x,
1801
- y1: a,
1802
- x2: g + T + x,
1803
- y2: a
1804
- },
1805
- {
1806
- strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1807
- strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1808
- x1: g + T,
1809
- y1: a + x,
1810
- x2: g + T,
1811
- y2: a + f - x
1812
- },
1813
- {
1814
- strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1815
- strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1816
- x1: g - x,
1817
- y1: a + f,
1818
- x2: g + T + x,
1819
- y2: a + f
1820
- },
1821
- {
1822
- strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1823
- strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1824
- x1: g,
1825
- y1: a + x,
1826
- x2: g,
1827
- y2: a + f - x
1828
- },
1829
- {
1830
- strokeFill: this.themeConfig.quadrantInternalBorderStrokeFill,
1831
- strokeWidth: this.config.quadrantInternalBorderStrokeWidth,
1832
- x1: g + _,
1833
- y1: a + x,
1834
- x2: g + _,
1835
- y2: a + f - x
1836
- },
1837
- {
1838
- strokeFill: this.themeConfig.quadrantInternalBorderStrokeFill,
1839
- strokeWidth: this.config.quadrantInternalBorderStrokeWidth,
1840
- x1: g + x,
1841
- y1: a + h,
1842
- x2: g + T - x,
1843
- y2: a + h
1844
- }
1845
- ];
1846
- }
1847
- getTitle(l) {
1848
- if (l) return {
1849
- text: this.data.titleText,
1850
- fill: this.themeConfig.quadrantTitleFill,
1851
- fontSize: this.config.titleFontSize,
1852
- horizontalPos: "top",
1853
- verticalPos: "center",
1854
- rotation: 0,
1855
- y: this.config.titlePadding,
1856
- x: this.config.chartWidth / 2
1857
- };
1858
- }
1859
- build() {
1860
- let l = this.config.showXAxis && !!(this.data.xAxisLeftText || this.data.xAxisRightText), x = this.config.showYAxis && !!(this.data.yAxisTopText || this.data.yAxisBottomText), c = this.config.showTitle && !!this.data.titleText, h = this.data.points.length > 0 ? "bottom" : this.config.xAxisPosition, f = this.calculateSpace(h, l, x, c);
1861
- return {
1862
- points: this.getQuadrantPoints(f),
1863
- quadrants: this.getQuadrants(f),
1864
- axisLabels: this.getAxisLabels(h, l, x, f),
1865
- borderLines: this.getBorders(f),
1866
- title: this.getTitle(c)
1867
- };
1868
- }
1869
- }, r(rt, "QuadrantBuilder"), rt), lt, Tt = (lt = class extends Error {
1870
- constructor(l, x, c) {
1871
- super(`value for ${l} ${x} is invalid, please use a valid ${c}`), this.name = "InvalidStyleError";
1872
- }
1873
- }, r(lt, "InvalidStyleError"), lt);
1874
- function Ct(t) {
1875
- return !/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(t);
1876
- }
1877
- r(Ct, "validateHexCode");
1878
- function ne(t) {
1879
- return !/^\d+$/.test(t);
1880
- }
1881
- r(ne, "validateNumber");
1882
- function se(t) {
1883
- return !/^\d+px$/.test(t);
1884
- }
1885
- r(se, "validateSizeInPixels");
1886
- function X(t) {
1887
- return Ee(t.trim(), Lt());
1888
- }
1889
- r(X, "textSanitizer");
1890
- var I = new Ie();
1891
- function re(t) {
1892
- I.setData({ quadrant1Text: X(t.text) });
1893
- }
1894
- r(re, "setQuadrant1Text");
1895
- function le(t) {
1896
- I.setData({ quadrant2Text: X(t.text) });
1897
- }
1898
- r(le, "setQuadrant2Text");
1899
- function oe(t) {
1900
- I.setData({ quadrant3Text: X(t.text) });
1901
- }
1902
- r(oe, "setQuadrant3Text");
1903
- function he(t) {
1904
- I.setData({ quadrant4Text: X(t.text) });
1905
- }
1906
- r(he, "setQuadrant4Text");
1907
- function ce(t) {
1908
- I.setData({ xAxisLeftText: X(t.text) });
1909
- }
1910
- r(ce, "setXAxisLeftText");
1911
- function de(t) {
1912
- I.setData({ xAxisRightText: X(t.text) });
1913
- }
1914
- r(de, "setXAxisRightText");
1915
- function ue(t) {
1916
- I.setData({ yAxisTopText: X(t.text) });
1917
- }
1918
- r(ue, "setYAxisTopText");
1919
- function xe(t) {
1920
- I.setData({ yAxisBottomText: X(t.text) });
1921
- }
1922
- r(xe, "setYAxisBottomText");
1923
- function qt(t) {
1924
- let l = {};
1925
- for (let x of t) {
1926
- let [c, h] = x.trim().split(/\s*:\s*/);
1927
- if (c === "radius") {
1928
- if (ne(h)) throw new Tt(c, h, "number");
1929
- l.radius = parseInt(h);
1930
- } else if (c === "color") {
1931
- if (Ct(h)) throw new Tt(c, h, "hex code");
1932
- l.color = h;
1933
- } else if (c === "stroke-color") {
1934
- if (Ct(h)) throw new Tt(c, h, "hex code");
1935
- l.strokeColor = h;
1936
- } else if (c === "stroke-width") {
1937
- if (se(h)) throw new Tt(c, h, "number of pixels (eg. 10px)");
1938
- l.strokeWidth = h;
1939
- } else throw Error(`style named ${c} is not supported.`);
1940
- }
1941
- return l;
1942
- }
1943
- r(qt, "parseStyles");
1944
- function fe(t, l, x, c, h) {
1945
- let f = qt(h);
1946
- I.addPoints([{
1947
- x,
1948
- y: c,
1949
- text: X(t.text),
1950
- className: l,
1951
- ...f
1952
- }]);
1953
- }
1954
- r(fe, "addPoint");
1955
- function ge(t, l) {
1956
- I.addClass(t, qt(l));
1957
- }
1958
- r(ge, "addClass");
1959
- function pe(t) {
1960
- I.setConfig({ chartWidth: t });
1961
- }
1962
- r(pe, "setWidth");
1963
- function ye(t) {
1964
- I.setConfig({ chartHeight: t });
1965
- }
1966
- r(ye, "setHeight");
1967
- function Te() {
1968
- let { themeVariables: t, quadrantChart: l } = Lt();
1969
- return l && I.setConfig(l), I.setThemeConfig({
1970
- quadrant1Fill: t.quadrant1Fill,
1971
- quadrant2Fill: t.quadrant2Fill,
1972
- quadrant3Fill: t.quadrant3Fill,
1973
- quadrant4Fill: t.quadrant4Fill,
1974
- quadrant1TextFill: t.quadrant1TextFill,
1975
- quadrant2TextFill: t.quadrant2TextFill,
1976
- quadrant3TextFill: t.quadrant3TextFill,
1977
- quadrant4TextFill: t.quadrant4TextFill,
1978
- quadrantPointFill: t.quadrantPointFill,
1979
- quadrantPointTextFill: t.quadrantPointTextFill,
1980
- quadrantXAxisTextFill: t.quadrantXAxisTextFill,
1981
- quadrantYAxisTextFill: t.quadrantYAxisTextFill,
1982
- quadrantExternalBorderStrokeFill: t.quadrantExternalBorderStrokeFill,
1983
- quadrantInternalBorderStrokeFill: t.quadrantInternalBorderStrokeFill,
1984
- quadrantTitleFill: t.quadrantTitleFill
1985
- }), I.setData({ titleText: ae() }), I.build();
1986
- }
1987
- r(Te, "getQuadrantData");
1988
- var We = {
1989
- parser: De,
1990
- db: {
1991
- setWidth: pe,
1992
- setHeight: ye,
1993
- setQuadrant1Text: re,
1994
- setQuadrant2Text: le,
1995
- setQuadrant3Text: oe,
1996
- setQuadrant4Text: he,
1997
- setXAxisLeftText: ce,
1998
- setXAxisRightText: de,
1999
- setYAxisTopText: ue,
2000
- setYAxisBottomText: xe,
2001
- parseStyles: qt,
2002
- addPoint: fe,
2003
- addClass: ge,
2004
- getQuadrantData: Te,
2005
- clear: /* @__PURE__ */ r(function() {
2006
- I.clear(), ve();
2007
- }, "clear"),
2008
- setAccTitle: Ce,
2009
- getAccTitle: Pe,
2010
- setDiagramTitle: Fe,
2011
- getDiagramTitle: ae,
2012
- getAccDescription: ke,
2013
- setAccDescription: Se
2014
- },
2015
- renderer: { draw: /* @__PURE__ */ r((t, l, x, c) => {
2016
- function h(i) {
2017
- return i === "top" ? "hanging" : "middle";
2018
- }
2019
- r(h, "getDominantBaseLine");
2020
- function f(i) {
2021
- return i === "left" ? "start" : "middle";
2022
- }
2023
- r(f, "getTextAnchor");
2024
- function g(i) {
2025
- return `translate(${i.x}, ${i.y}) rotate(${i.rotation || 0})`;
2026
- }
2027
- r(g, "getTransformation");
2028
- let _ = Lt();
2029
- mt.debug(`Rendering quadrant chart
2030
- ` + t);
2031
- let a = _.securityLevel, T;
2032
- a === "sandbox" && (T = ee("#i" + l));
2033
- let p = ee(a === "sandbox" ? T.nodes()[0].contentDocument.body : "body").select(`[id="${l}"]`), y = p.append("g").attr("class", "main"), q = _.quadrantChart?.chartWidth ?? 500, m = _.quadrantChart?.chartHeight ?? 500;
2034
- Le(p, m, q, _.quadrantChart?.useMaxWidth ?? !0), p.attr("viewBox", "0 0 " + q + " " + m), c.db.setHeight(m), c.db.setWidth(q);
2035
- let d = c.db.getQuadrantData(), b = y.append("g").attr("class", "quadrants"), k = y.append("g").attr("class", "border"), dt = y.append("g").attr("class", "data-points"), ut = y.append("g").attr("class", "labels"), xt = y.append("g").attr("class", "title");
2036
- d.title && xt.append("text").attr("x", 0).attr("y", 0).attr("fill", d.title.fill).attr("font-size", d.title.fontSize).attr("dominant-baseline", h(d.title.horizontalPos)).attr("text-anchor", f(d.title.verticalPos)).attr("transform", g(d.title)).text(d.title.text), d.borderLines && k.selectAll("line").data(d.borderLines).enter().append("line").attr("x1", (i) => i.x1).attr("y1", (i) => i.y1).attr("x2", (i) => i.x2).attr("y2", (i) => i.y2).style("stroke", (i) => i.strokeFill).style("stroke-width", (i) => i.strokeWidth);
2037
- let ot = b.selectAll("g.quadrant").data(d.quadrants).enter().append("g").attr("class", "quadrant");
2038
- ot.append("rect").attr("x", (i) => i.x).attr("y", (i) => i.y).attr("width", (i) => i.width).attr("height", (i) => i.height).attr("fill", (i) => i.fill), ot.append("text").attr("x", 0).attr("y", 0).attr("fill", (i) => i.text.fill).attr("font-size", (i) => i.text.fontSize).attr("dominant-baseline", (i) => h(i.text.horizontalPos)).attr("text-anchor", (i) => f(i.text.verticalPos)).attr("transform", (i) => g(i.text)).text((i) => i.text.text), ut.selectAll("g.label").data(d.axisLabels).enter().append("g").attr("class", "label").append("text").attr("x", 0).attr("y", 0).text((i) => i.text).attr("fill", (i) => i.fill).attr("font-size", (i) => i.fontSize).attr("dominant-baseline", (i) => h(i.horizontalPos)).attr("text-anchor", (i) => f(i.verticalPos)).attr("transform", (i) => g(i));
2039
- let ht = dt.selectAll("g.data-point").data(d.points).enter().append("g").attr("class", "data-point");
2040
- ht.append("circle").attr("cx", (i) => i.x).attr("cy", (i) => i.y).attr("r", (i) => i.radius).attr("fill", (i) => i.fill).attr("stroke", (i) => i.strokeColor).attr("stroke-width", (i) => i.strokeWidth), ht.append("text").attr("x", 0).attr("y", 0).text((i) => i.text.text).attr("fill", (i) => i.text.fill).attr("font-size", (i) => i.text.fontSize).attr("dominant-baseline", (i) => h(i.text.horizontalPos)).attr("text-anchor", (i) => f(i.text.verticalPos)).attr("transform", (i) => g(i.text));
2041
- }, "draw") },
2042
- styles: /* @__PURE__ */ r(() => "", "styles")
2043
- };
2044
- export {
2045
- We as diagram
2046
- };