@bkm016/basalt 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (976) hide show
  1. package/chunk-0bgg0hdd.js +2 -0
  2. package/chunk-0g8rtf05.js +18 -0
  3. package/chunk-0wwd4q6h.js +5 -0
  4. package/chunk-11xxfc0x.js +3 -0
  5. package/chunk-1gaj43fx.js +2 -0
  6. package/chunk-1tbv5t08.js +5 -0
  7. package/chunk-204c01mz.js +25 -0
  8. package/chunk-29g01nrz.js +20 -0
  9. package/chunk-2fts9k52.js +3 -0
  10. package/chunk-30bbdzma.js +16 -0
  11. package/chunk-3phf8eg6.js +3 -0
  12. package/chunk-3r38vbt5.js +2 -0
  13. package/chunk-3sg32v3n.js +2 -0
  14. package/chunk-4dgqcp6q.js +2 -0
  15. package/chunk-4fbj3k59.js +3 -0
  16. package/chunk-4wc2gbhe.js +2 -0
  17. package/chunk-51pfvmhh.js +470 -0
  18. package/chunk-5e7yegea.js +2 -0
  19. package/chunk-5ja0vsam.js +10 -0
  20. package/chunk-5tsfqsmf.js +2 -0
  21. package/chunk-6en06hkk.js +2 -0
  22. package/chunk-6hatfwsq.js +2 -0
  23. package/chunk-78ky455y.js +4 -0
  24. package/chunk-7kz9435k.js +11 -0
  25. package/chunk-8mqaq042.js +2 -0
  26. package/chunk-9qzyn98b.js +3 -0
  27. package/chunk-a1vdrgsh.js +59 -0
  28. package/chunk-a2z1cy84.js +2 -0
  29. package/chunk-a3fpx924.js +3 -0
  30. package/chunk-agb771ak.js +3 -0
  31. package/chunk-ak9rkrf3.js +5 -0
  32. package/chunk-as2mwf79.js +2 -0
  33. package/chunk-bkhsva5n.js +7 -0
  34. package/chunk-c5pg2875.js +3552 -0
  35. package/chunk-cks36jdh.js +8 -0
  36. package/chunk-cwrf78vs.js +3 -0
  37. package/chunk-d2f0hq8z.js +2 -0
  38. package/chunk-e0ytnnwt.js +3 -0
  39. package/chunk-e3bgzeb3.js +3 -0
  40. package/chunk-enmrpjpt.js +3 -0
  41. package/chunk-eps1epfr.js +4 -0
  42. package/chunk-ewr51fwc.js +3 -0
  43. package/chunk-eyyxqb6y.js +7 -0
  44. package/chunk-fgjw0r6g.js +12 -0
  45. package/chunk-g9hsrrj5.js +2 -0
  46. package/chunk-gg3kfa12.js +3 -0
  47. package/chunk-gpceyezp.js +2 -0
  48. package/chunk-gs5aebwh.js +2 -0
  49. package/chunk-h2pp8mnh.js +4 -0
  50. package/chunk-h4n0gg11.js +2 -0
  51. package/chunk-jzya0e5n.js +7 -0
  52. package/chunk-mde2dd79.js +2 -0
  53. package/chunk-ncb0tyaw.js +2 -0
  54. package/chunk-np2xnt1g.js +3 -0
  55. package/chunk-nszq2z0w.js +2 -0
  56. package/chunk-p0e82mee.js +3 -0
  57. package/chunk-qxpx8dn6.js +12 -0
  58. package/chunk-s819vmwh.js +3 -0
  59. package/chunk-s8m4svhf.js +3 -0
  60. package/chunk-sm9fpy18.js +390 -0
  61. package/chunk-svx7mz0w.js +25 -0
  62. package/chunk-tb3zsqe8.js +3 -0
  63. package/chunk-tp885r8h.js +39 -0
  64. package/chunk-tpeg9fkd.js +2 -0
  65. package/chunk-tpetsqzt.js +9 -0
  66. package/chunk-v0mw006s.js +15 -0
  67. package/chunk-v7da0aqn.js +7 -0
  68. package/chunk-vzrmdaba.js +2 -0
  69. package/chunk-w045zk55.js +2 -0
  70. package/chunk-w6nc3jn7.js +2 -0
  71. package/chunk-w9fdcchk.js +3 -0
  72. package/chunk-wj09qkyw.js +3 -0
  73. package/chunk-x1y4s01x.js +31 -0
  74. package/chunk-y3vap4a1.js +10 -0
  75. package/chunk-y83tnkr3.js +11 -0
  76. package/chunk-yk29stq0.js +5 -0
  77. package/chunk-ys2fds2x.js +3 -0
  78. package/chunk-yshdvnsp.js +2 -0
  79. package/chunk-z9p2ry9w.js +3 -0
  80. package/chunk-zkjnt298.js +3 -0
  81. package/compiled.js +8 -8
  82. package/package.json +1 -1
  83. package/ui-test-worker.js +35 -35
  84. package/web/chunk-08w40agf.js +34 -0
  85. package/web/chunk-08w40agf.js.br +0 -0
  86. package/web/chunk-08w40agf.js.gz +0 -0
  87. package/web/chunk-0bfypmyv.js +1 -0
  88. package/web/chunk-0bfypmyv.js.br +2 -0
  89. package/web/chunk-0bfypmyv.js.gz +0 -0
  90. package/web/chunk-0h0whn75.js +24 -0
  91. package/web/chunk-0h0whn75.js.br +0 -0
  92. package/web/chunk-0h0whn75.js.gz +0 -0
  93. package/web/chunk-0pzs9k06.js +1 -0
  94. package/web/chunk-0pzs9k06.js.br +0 -0
  95. package/web/chunk-0pzs9k06.js.gz +0 -0
  96. package/web/chunk-0rvx1z2b.js +1 -0
  97. package/web/chunk-0rvx1z2b.js.br +0 -0
  98. package/web/chunk-0rvx1z2b.js.gz +0 -0
  99. package/web/chunk-0tcmnvab.js +2 -0
  100. package/web/chunk-0tcmnvab.js.br +0 -0
  101. package/web/chunk-0tcmnvab.js.gz +0 -0
  102. package/web/chunk-0wqmwnd8.js +2 -0
  103. package/web/chunk-0wqmwnd8.js.br +0 -0
  104. package/web/chunk-0wqmwnd8.js.gz +0 -0
  105. package/web/chunk-0z10aqp1.js +2 -0
  106. package/web/chunk-0z10aqp1.js.br +0 -0
  107. package/web/chunk-0z10aqp1.js.gz +0 -0
  108. package/web/chunk-12vcrj7y.js +1 -0
  109. package/web/chunk-12vcrj7y.js.br +0 -0
  110. package/web/chunk-12vcrj7y.js.gz +0 -0
  111. package/web/chunk-186rp10x.js +62 -0
  112. package/web/chunk-186rp10x.js.br +0 -0
  113. package/web/chunk-186rp10x.js.gz +0 -0
  114. package/web/chunk-1cwyy3gh.js +2 -0
  115. package/web/chunk-1cwyy3gh.js.br +0 -0
  116. package/web/chunk-1cwyy3gh.js.gz +0 -0
  117. package/web/chunk-1ecsxh85.js +1 -0
  118. package/web/chunk-1ecsxh85.js.br +0 -0
  119. package/web/chunk-1ecsxh85.js.gz +0 -0
  120. package/web/chunk-1ghnag5v.js +2 -0
  121. package/web/chunk-1ghnag5v.js.br +0 -0
  122. package/web/chunk-1ghnag5v.js.gz +0 -0
  123. package/web/chunk-1ps9fj5n.js +2 -0
  124. package/web/chunk-1ps9fj5n.js.br +0 -0
  125. package/web/chunk-1ps9fj5n.js.gz +0 -0
  126. package/web/chunk-1ratg1jd.js +332 -0
  127. package/web/chunk-1ratg1jd.js.br +0 -0
  128. package/web/chunk-1ratg1jd.js.gz +0 -0
  129. package/web/chunk-1yvcxpp2.js +7 -0
  130. package/web/chunk-1yvcxpp2.js.br +0 -0
  131. package/web/chunk-1yvcxpp2.js.gz +0 -0
  132. package/web/chunk-2r3w0pt0.js +8 -0
  133. package/web/chunk-2r3w0pt0.js.br +0 -0
  134. package/web/chunk-2r3w0pt0.js.gz +0 -0
  135. package/web/chunk-2rnnvxa5.js +291 -0
  136. package/web/chunk-2rnnvxa5.js.br +0 -0
  137. package/web/chunk-2rnnvxa5.js.gz +0 -0
  138. package/web/chunk-2stffcvc.js +1 -0
  139. package/web/chunk-2stffcvc.js.br +0 -0
  140. package/web/chunk-2stffcvc.js.gz +0 -0
  141. package/web/chunk-2svqgkqw.js +1 -0
  142. package/web/chunk-2svqgkqw.js.br +0 -0
  143. package/web/chunk-2svqgkqw.js.gz +0 -0
  144. package/web/chunk-366a11ec.js +1 -0
  145. package/web/chunk-366a11ec.js.br +0 -0
  146. package/web/chunk-366a11ec.js.gz +0 -0
  147. package/web/chunk-37hmswdk.js +7 -0
  148. package/web/chunk-37hmswdk.js.br +0 -0
  149. package/web/chunk-37hmswdk.js.gz +0 -0
  150. package/web/chunk-3fd6mgf0.js +1 -0
  151. package/web/chunk-3fd6mgf0.js.br +0 -0
  152. package/web/chunk-3fd6mgf0.js.gz +0 -0
  153. package/web/chunk-4mypk63p.js +2 -0
  154. package/web/chunk-4mypk63p.js.br +0 -0
  155. package/web/chunk-4mypk63p.js.gz +0 -0
  156. package/web/chunk-52tt9qt4.js +2 -0
  157. package/web/chunk-52tt9qt4.js.br +0 -0
  158. package/web/chunk-52tt9qt4.js.gz +0 -0
  159. package/web/chunk-53cg6pxm.js +142 -0
  160. package/web/chunk-53cg6pxm.js.br +0 -0
  161. package/web/chunk-53cg6pxm.js.gz +0 -0
  162. package/web/chunk-59h87pvn.js +12 -0
  163. package/web/chunk-59h87pvn.js.br +0 -0
  164. package/web/chunk-59h87pvn.js.gz +0 -0
  165. package/web/chunk-5cp4n5ck.js +2 -0
  166. package/web/chunk-5cp4n5ck.js.br +0 -0
  167. package/web/chunk-5cp4n5ck.js.gz +0 -0
  168. package/web/chunk-6a3wt5c5.js +30 -0
  169. package/web/chunk-6a3wt5c5.js.br +0 -0
  170. package/web/chunk-6a3wt5c5.js.gz +0 -0
  171. package/web/chunk-6n1ha6ta.js +7 -0
  172. package/web/chunk-6n1ha6ta.js.br +0 -0
  173. package/web/chunk-6n1ha6ta.js.gz +0 -0
  174. package/web/chunk-6pbhqbv0.js +1 -0
  175. package/web/chunk-6pbhqbv0.js.br +0 -0
  176. package/web/chunk-6pbhqbv0.js.gz +0 -0
  177. package/web/chunk-72st75n7.js +70 -0
  178. package/web/chunk-72st75n7.js.br +0 -0
  179. package/web/chunk-72st75n7.js.gz +0 -0
  180. package/web/chunk-7cf1kk45.js +1 -0
  181. package/web/chunk-7cf1kk45.js.br +2 -0
  182. package/web/chunk-7cf1kk45.js.gz +0 -0
  183. package/web/chunk-7h59ac2b.js +38 -0
  184. package/web/chunk-7h59ac2b.js.br +0 -0
  185. package/web/chunk-7h59ac2b.js.gz +0 -0
  186. package/web/chunk-81xbfpbq.js +41 -0
  187. package/web/chunk-81xbfpbq.js.br +0 -0
  188. package/web/chunk-81xbfpbq.js.gz +0 -0
  189. package/web/chunk-82q4e8ff.js +1 -0
  190. package/web/chunk-82q4e8ff.js.br +0 -0
  191. package/web/chunk-82q4e8ff.js.gz +0 -0
  192. package/web/chunk-89crtpnw.js +1 -0
  193. package/web/chunk-89crtpnw.js.br +0 -0
  194. package/web/chunk-89crtpnw.js.gz +0 -0
  195. package/web/chunk-89e8629e.js +1 -0
  196. package/web/chunk-89e8629e.js.br +0 -0
  197. package/web/chunk-89e8629e.js.gz +0 -0
  198. package/web/chunk-9n1nsdqs.js +1 -0
  199. package/web/chunk-9n1nsdqs.js.br +0 -0
  200. package/web/chunk-9n1nsdqs.js.gz +0 -0
  201. package/web/chunk-9r7nbre7.js +2 -0
  202. package/web/chunk-9r7nbre7.js.br +0 -0
  203. package/web/chunk-9r7nbre7.js.gz +0 -0
  204. package/web/chunk-9y9nwaqj.js +1 -0
  205. package/web/chunk-9y9nwaqj.js.br +0 -0
  206. package/web/chunk-9y9nwaqj.js.gz +0 -0
  207. package/web/chunk-a8qe7kvz.js +1 -0
  208. package/web/chunk-a8qe7kvz.js.br +0 -0
  209. package/web/chunk-a8qe7kvz.js.gz +0 -0
  210. package/web/chunk-ahdca62g.js +1 -0
  211. package/web/chunk-ahdca62g.js.br +0 -0
  212. package/web/chunk-ahdca62g.js.gz +0 -0
  213. package/web/chunk-apr33amc.js +140 -0
  214. package/web/chunk-apr33amc.js.br +0 -0
  215. package/web/chunk-apr33amc.js.gz +0 -0
  216. package/web/chunk-aw9bwd4w.js +3 -0
  217. package/web/chunk-aw9bwd4w.js.br +0 -0
  218. package/web/chunk-aw9bwd4w.js.gz +0 -0
  219. package/web/chunk-bg0qgabv.js +1 -0
  220. package/web/chunk-bg0qgabv.js.br +0 -0
  221. package/web/chunk-bg0qgabv.js.gz +0 -0
  222. package/web/chunk-bks2k04k.js +2 -0
  223. package/web/chunk-bks2k04k.js.br +0 -0
  224. package/web/chunk-bks2k04k.js.gz +0 -0
  225. package/web/chunk-c28crzwk.js +120 -0
  226. package/web/chunk-c28crzwk.js.br +0 -0
  227. package/web/chunk-c28crzwk.js.gz +0 -0
  228. package/web/chunk-cmhxtckb.js +2 -0
  229. package/web/chunk-cmhxtckb.js.br +0 -0
  230. package/web/chunk-cmhxtckb.js.gz +0 -0
  231. package/web/chunk-d7f85w1y.js +1 -0
  232. package/web/chunk-d7f85w1y.js.br +0 -0
  233. package/web/chunk-d7f85w1y.js.gz +0 -0
  234. package/web/chunk-dmhezjv3.js +217 -0
  235. package/web/chunk-dmhezjv3.js.br +0 -0
  236. package/web/chunk-dmhezjv3.js.gz +0 -0
  237. package/web/chunk-dmzvhbpn.js +292 -0
  238. package/web/chunk-dmzvhbpn.js.br +0 -0
  239. package/web/chunk-dmzvhbpn.js.gz +0 -0
  240. package/web/chunk-e2z3kdhw.js +39 -0
  241. package/web/chunk-e2z3kdhw.js.br +0 -0
  242. package/web/chunk-e2z3kdhw.js.gz +0 -0
  243. package/web/chunk-e65y60v1.js +2 -0
  244. package/web/chunk-e65y60v1.js.br +0 -0
  245. package/web/chunk-e65y60v1.js.gz +0 -0
  246. package/web/chunk-ed8qqn45.js +2 -0
  247. package/web/chunk-ed8qqn45.js.br +0 -0
  248. package/web/chunk-ed8qqn45.js.gz +0 -0
  249. package/web/chunk-ef1h0tt7.js +2 -0
  250. package/web/chunk-ef1h0tt7.js.br +0 -0
  251. package/web/chunk-ef1h0tt7.js.gz +0 -0
  252. package/web/chunk-eqmghkwh.js +1 -0
  253. package/web/chunk-eqmghkwh.js.br +0 -0
  254. package/web/chunk-eqmghkwh.js.gz +0 -0
  255. package/web/chunk-esckazz2.js +1 -0
  256. package/web/chunk-esckazz2.js.br +0 -0
  257. package/web/chunk-esckazz2.js.gz +0 -0
  258. package/web/chunk-ezj5rjqr.js +4 -0
  259. package/web/chunk-ezj5rjqr.js.br +0 -0
  260. package/web/chunk-ezj5rjqr.js.gz +0 -0
  261. package/web/chunk-fjrgg82c.js +139 -0
  262. package/web/chunk-fjrgg82c.js.br +0 -0
  263. package/web/chunk-fjrgg82c.js.gz +0 -0
  264. package/web/chunk-g3vbtxgy.js +2 -0
  265. package/web/chunk-g3vbtxgy.js.br +0 -0
  266. package/web/chunk-g3vbtxgy.js.gz +0 -0
  267. package/web/chunk-gbcf0rdk.js +1 -0
  268. package/web/chunk-gbcf0rdk.js.br +0 -0
  269. package/web/chunk-gbcf0rdk.js.gz +0 -0
  270. package/web/chunk-gj6bdv1y.js +200 -0
  271. package/web/chunk-gj6bdv1y.js.br +0 -0
  272. package/web/chunk-gj6bdv1y.js.gz +0 -0
  273. package/web/chunk-gk1bc3c3.js +2 -0
  274. package/web/chunk-gk1bc3c3.js.br +0 -0
  275. package/web/chunk-gk1bc3c3.js.gz +0 -0
  276. package/web/chunk-gpjytpyw.js +2 -0
  277. package/web/chunk-gpjytpyw.js.br +0 -0
  278. package/web/chunk-gpjytpyw.js.gz +0 -0
  279. package/web/chunk-h1c0m3g4.js +99 -0
  280. package/web/chunk-h1c0m3g4.js.br +0 -0
  281. package/web/chunk-h1c0m3g4.js.gz +0 -0
  282. package/web/chunk-h1qv0cpd.css +1 -0
  283. package/web/chunk-h1qv0cpd.css.br +0 -0
  284. package/web/chunk-h1qv0cpd.css.gz +0 -0
  285. package/web/chunk-hj067dfg.js +1 -0
  286. package/web/chunk-hj067dfg.js.br +2 -0
  287. package/web/chunk-hj067dfg.js.gz +0 -0
  288. package/web/chunk-hq7e5xgd.js +1 -0
  289. package/web/chunk-hq7e5xgd.js.br +0 -0
  290. package/web/chunk-hq7e5xgd.js.gz +0 -0
  291. package/web/chunk-hqt1f3fm.js +24 -0
  292. package/web/chunk-hqt1f3fm.js.br +0 -0
  293. package/web/chunk-hqt1f3fm.js.gz +0 -0
  294. package/web/chunk-hwxj58j5.js +2 -0
  295. package/web/chunk-hwxj58j5.js.br +0 -0
  296. package/web/chunk-hwxj58j5.js.gz +0 -0
  297. package/web/chunk-hxzb25a8.js +1 -0
  298. package/web/chunk-hxzb25a8.js.br +0 -0
  299. package/web/chunk-hxzb25a8.js.gz +0 -0
  300. package/web/chunk-j4942vkb.js +1 -0
  301. package/web/chunk-j4942vkb.js.br +0 -0
  302. package/web/chunk-j4942vkb.js.gz +0 -0
  303. package/web/chunk-jmnzcm1f.js +21 -0
  304. package/web/chunk-jmnzcm1f.js.br +0 -0
  305. package/web/chunk-jmnzcm1f.js.gz +0 -0
  306. package/web/chunk-js940jjj.js +40 -0
  307. package/web/chunk-js940jjj.js.br +0 -0
  308. package/web/chunk-js940jjj.js.gz +0 -0
  309. package/web/chunk-jy9vkfbf.js +1 -0
  310. package/web/chunk-jy9vkfbf.js.br +0 -0
  311. package/web/chunk-jy9vkfbf.js.gz +0 -0
  312. package/web/chunk-k1d0y72z.js +2 -0
  313. package/web/chunk-k1d0y72z.js.br +0 -0
  314. package/web/chunk-k1d0y72z.js.gz +0 -0
  315. package/web/chunk-k4pknkvp.js +16 -0
  316. package/web/chunk-k4pknkvp.js.br +0 -0
  317. package/web/chunk-k4pknkvp.js.gz +0 -0
  318. package/web/chunk-k6fwzn0z.js +324 -0
  319. package/web/chunk-k6fwzn0z.js.br +0 -0
  320. package/web/chunk-k6fwzn0z.js.gz +0 -0
  321. package/web/chunk-kdegb6pd.js +169 -0
  322. package/web/chunk-kdegb6pd.js.br +0 -0
  323. package/web/chunk-kdegb6pd.js.gz +0 -0
  324. package/web/chunk-kedjfh66.js +2 -0
  325. package/web/chunk-kedjfh66.js.br +0 -0
  326. package/web/chunk-kedjfh66.js.gz +0 -0
  327. package/web/chunk-kh0xyffx.js +1 -0
  328. package/web/chunk-kh0xyffx.js.br +0 -0
  329. package/web/chunk-kh0xyffx.js.gz +0 -0
  330. package/web/chunk-ktvxgxsd.js +2 -0
  331. package/web/chunk-ktvxgxsd.js.br +0 -0
  332. package/web/chunk-ktvxgxsd.js.gz +0 -0
  333. package/web/chunk-mbpv2w5h.js +78 -0
  334. package/web/chunk-mbpv2w5h.js.br +0 -0
  335. package/web/chunk-mbpv2w5h.js.gz +0 -0
  336. package/web/chunk-mh3nkkpx.js +84 -0
  337. package/web/chunk-mh3nkkpx.js.br +0 -0
  338. package/web/chunk-mh3nkkpx.js.gz +0 -0
  339. package/web/chunk-mhzqgzh0.js +89 -0
  340. package/web/chunk-mhzqgzh0.js.br +0 -0
  341. package/web/chunk-mhzqgzh0.js.gz +0 -0
  342. package/web/chunk-mj8dzc8q.js +214 -0
  343. package/web/chunk-mj8dzc8q.js.br +0 -0
  344. package/web/chunk-mj8dzc8q.js.gz +0 -0
  345. package/web/chunk-mwfrxgbs.js +2 -0
  346. package/web/chunk-mwfrxgbs.js.br +0 -0
  347. package/web/chunk-mwfrxgbs.js.gz +0 -0
  348. package/web/chunk-n419cees.js +1 -0
  349. package/web/chunk-n419cees.js.br +0 -0
  350. package/web/chunk-n419cees.js.gz +0 -0
  351. package/web/chunk-n45fgfyt.js +1 -0
  352. package/web/chunk-n45fgfyt.js.br +2 -0
  353. package/web/chunk-n45fgfyt.js.gz +0 -0
  354. package/web/chunk-n5v71fas.js +2 -0
  355. package/web/chunk-n5v71fas.js.br +0 -0
  356. package/web/chunk-n5v71fas.js.gz +0 -0
  357. package/web/chunk-nb58m79v.js +89 -0
  358. package/web/chunk-nb58m79v.js.br +0 -0
  359. package/web/chunk-nb58m79v.js.gz +0 -0
  360. package/web/chunk-nsna2v2r.js +1 -0
  361. package/web/chunk-nsna2v2r.js.br +0 -0
  362. package/web/chunk-nsna2v2r.js.gz +0 -0
  363. package/web/chunk-nxdp58nf.js +1 -0
  364. package/web/chunk-nxdp58nf.js.br +0 -0
  365. package/web/chunk-nxdp58nf.js.gz +0 -0
  366. package/web/chunk-nytgs01h.js +1 -0
  367. package/web/chunk-nytgs01h.js.br +0 -0
  368. package/web/chunk-nytgs01h.js.gz +0 -0
  369. package/web/chunk-p76f6cf4.js +2 -0
  370. package/web/chunk-p76f6cf4.js.br +0 -0
  371. package/web/chunk-p76f6cf4.js.gz +0 -0
  372. package/web/chunk-pkxn54jm.js +1 -0
  373. package/web/chunk-pkxn54jm.js.br +0 -0
  374. package/web/chunk-pkxn54jm.js.gz +0 -0
  375. package/web/chunk-q0srq8g5.js +1 -0
  376. package/web/chunk-q0srq8g5.js.br +0 -0
  377. package/web/chunk-q0srq8g5.js.gz +0 -0
  378. package/web/chunk-qgtqwmkb.js +1 -0
  379. package/web/chunk-qgtqwmkb.js.br +2 -0
  380. package/web/chunk-qgtqwmkb.js.gz +0 -0
  381. package/web/chunk-qjg6dw46.js +1134 -0
  382. package/web/chunk-qjg6dw46.js.br +0 -0
  383. package/web/chunk-qjg6dw46.js.gz +0 -0
  384. package/web/chunk-qjjxevxe.js +1 -0
  385. package/web/chunk-qjjxevxe.js.br +0 -0
  386. package/web/chunk-qjjxevxe.js.gz +0 -0
  387. package/web/chunk-qx5ab39c.js +4 -0
  388. package/web/chunk-qx5ab39c.js.br +0 -0
  389. package/web/chunk-qx5ab39c.js.gz +0 -0
  390. package/web/chunk-qygjhm63.js +1 -0
  391. package/web/chunk-qygjhm63.js.br +0 -0
  392. package/web/chunk-qygjhm63.js.gz +0 -0
  393. package/web/chunk-recfg8af.js +2 -0
  394. package/web/chunk-recfg8af.js.br +0 -0
  395. package/web/chunk-recfg8af.js.gz +0 -0
  396. package/web/chunk-rfsg5rke.js +1 -0
  397. package/web/chunk-rfsg5rke.js.br +2 -0
  398. package/web/chunk-rfsg5rke.js.gz +0 -0
  399. package/web/chunk-s7h50avx.js +2 -0
  400. package/web/chunk-s7h50avx.js.br +0 -0
  401. package/web/chunk-s7h50avx.js.gz +0 -0
  402. package/web/chunk-sk47kk5j.js +1 -0
  403. package/web/chunk-sk47kk5j.js.br +0 -0
  404. package/web/chunk-sk47kk5j.js.gz +0 -0
  405. package/web/chunk-t9heac9a.js +2 -0
  406. package/web/chunk-t9heac9a.js.br +0 -0
  407. package/web/chunk-t9heac9a.js.gz +0 -0
  408. package/web/chunk-tg3f9xmp.js +1 -0
  409. package/web/chunk-tg3f9xmp.js.br +0 -0
  410. package/web/chunk-tg3f9xmp.js.gz +0 -0
  411. package/web/chunk-tgeeggkh.js +1 -0
  412. package/web/chunk-tgeeggkh.js.br +0 -0
  413. package/web/chunk-tgeeggkh.js.gz +0 -0
  414. package/web/chunk-v2bkkhb8.js +303 -0
  415. package/web/chunk-v2bkkhb8.js.br +0 -0
  416. package/web/chunk-v2bkkhb8.js.gz +0 -0
  417. package/web/chunk-v5p2fds9.js +36 -0
  418. package/web/chunk-v5p2fds9.js.br +0 -0
  419. package/web/chunk-v5p2fds9.js.gz +0 -0
  420. package/web/chunk-v6snw1sw.js +1 -0
  421. package/web/chunk-v6snw1sw.js.br +0 -0
  422. package/web/chunk-v6snw1sw.js.gz +0 -0
  423. package/web/chunk-veadbga2.js +1 -0
  424. package/web/chunk-veadbga2.js.br +2 -0
  425. package/web/chunk-veadbga2.js.gz +0 -0
  426. package/web/chunk-vh2prc6k.js +1 -0
  427. package/web/chunk-vh2prc6k.js.br +0 -0
  428. package/web/chunk-vh2prc6k.js.gz +0 -0
  429. package/web/chunk-vhpzp7zd.js +2 -0
  430. package/web/chunk-vhpzp7zd.js.br +0 -0
  431. package/web/chunk-vhpzp7zd.js.gz +0 -0
  432. package/web/chunk-vpbnyz43.js +98 -0
  433. package/web/chunk-vpbnyz43.js.br +0 -0
  434. package/web/chunk-vpbnyz43.js.gz +0 -0
  435. package/web/chunk-vxadngbp.js +2 -0
  436. package/web/chunk-vxadngbp.js.br +3 -0
  437. package/web/chunk-vxadngbp.js.gz +0 -0
  438. package/web/chunk-wa8wr2y9.js +106 -0
  439. package/web/chunk-wa8wr2y9.js.br +0 -0
  440. package/web/chunk-wa8wr2y9.js.gz +0 -0
  441. package/web/chunk-wbxz2bjb.js +1 -0
  442. package/web/chunk-wbxz2bjb.js.br +0 -0
  443. package/web/chunk-wbxz2bjb.js.gz +0 -0
  444. package/web/chunk-wgzatts8.js +1 -0
  445. package/web/chunk-wgzatts8.js.br +0 -0
  446. package/web/chunk-wgzatts8.js.gz +0 -0
  447. package/web/chunk-whczyxqw.js +1 -0
  448. package/web/chunk-whczyxqw.js.br +0 -0
  449. package/web/chunk-whczyxqw.js.gz +0 -0
  450. package/web/chunk-wmzz2crn.js +1 -0
  451. package/web/chunk-wmzz2crn.js.br +0 -0
  452. package/web/chunk-wmzz2crn.js.gz +0 -0
  453. package/web/chunk-wvqcbp4a.js +1 -0
  454. package/web/chunk-wvqcbp4a.js.br +0 -0
  455. package/web/chunk-wvqcbp4a.js.gz +0 -0
  456. package/web/chunk-wvvrdqgb.js +1 -0
  457. package/web/chunk-wvvrdqgb.js.br +2 -0
  458. package/web/chunk-wvvrdqgb.js.gz +0 -0
  459. package/web/chunk-x2hxq5yr.js +55 -0
  460. package/web/chunk-x2hxq5yr.js.br +0 -0
  461. package/web/chunk-x2hxq5yr.js.gz +0 -0
  462. package/web/chunk-x8bnp6vr.js +1 -0
  463. package/web/chunk-x8bnp6vr.js.br +0 -0
  464. package/web/chunk-x8bnp6vr.js.gz +0 -0
  465. package/web/chunk-xp9tdb5t.js +1 -0
  466. package/web/chunk-xp9tdb5t.js.br +2 -0
  467. package/web/chunk-xp9tdb5t.js.gz +0 -0
  468. package/web/chunk-xvmzsftt.js +2 -0
  469. package/web/chunk-xvmzsftt.js.br +0 -0
  470. package/web/chunk-xvmzsftt.js.gz +0 -0
  471. package/web/chunk-y10hsdq4.js +1 -0
  472. package/web/chunk-y10hsdq4.js.br +0 -0
  473. package/web/chunk-y10hsdq4.js.gz +0 -0
  474. package/web/chunk-ye7vge7s.js +1 -0
  475. package/web/chunk-ye7vge7s.js.br +0 -0
  476. package/web/chunk-ye7vge7s.js.gz +0 -0
  477. package/web/chunk-zbzgd8kn.js +2 -0
  478. package/web/chunk-zbzgd8kn.js.br +0 -0
  479. package/web/chunk-zbzgd8kn.js.gz +0 -0
  480. package/web/chunk-zhwqscat.js +1 -0
  481. package/web/chunk-zhwqscat.js.br +0 -0
  482. package/web/chunk-zhwqscat.js.gz +0 -0
  483. package/web/chunk-znrsm604.js +370 -0
  484. package/web/chunk-znrsm604.js.br +0 -0
  485. package/web/chunk-znrsm604.js.gz +0 -0
  486. package/web/chunk-zthww0ws.js +1 -0
  487. package/web/chunk-zthww0ws.js.br +0 -0
  488. package/web/chunk-zthww0ws.js.gz +0 -0
  489. package/web/index.html +3 -1
  490. package/web/index.html.br +0 -0
  491. package/web/index.html.gz +0 -0
  492. package/worker.js +1 -1
  493. package/chunk-13pbt8mn.js +0 -2
  494. package/chunk-14085qqt.js +0 -8
  495. package/chunk-2dph65ye.js +0 -3
  496. package/chunk-2v8anxgd.js +0 -9
  497. package/chunk-37f4ks5f.js +0 -3
  498. package/chunk-3q1hxwxb.js +0 -5
  499. package/chunk-3qs33s9g.js +0 -2
  500. package/chunk-53m94h0b.js +0 -7
  501. package/chunk-5jy2cnyr.js +0 -18
  502. package/chunk-5wfyn3k0.js +0 -3
  503. package/chunk-69v706tc.js +0 -5
  504. package/chunk-79h4rzza.js +0 -2
  505. package/chunk-7xfde6se.js +0 -3
  506. package/chunk-8bf4g2d7.js +0 -3
  507. package/chunk-adq8c7vt.js +0 -25
  508. package/chunk-ahpg469e.js +0 -3
  509. package/chunk-ary9gky8.js +0 -7
  510. package/chunk-becsymjn.js +0 -2
  511. package/chunk-beqps81c.js +0 -4
  512. package/chunk-bnvynyww.js +0 -3
  513. package/chunk-c785tr0e.js +0 -4078
  514. package/chunk-cc19pbgm.js +0 -12
  515. package/chunk-d6g5m56z.js +0 -2
  516. package/chunk-etkktxdc.js +0 -2
  517. package/chunk-etxsj2ey.js +0 -10
  518. package/chunk-f2ajxymw.js +0 -2
  519. package/chunk-f2bcfa6z.js +0 -7
  520. package/chunk-f47qdrkp.js +0 -2
  521. package/chunk-f5yg6yd0.js +0 -3
  522. package/chunk-fjk9ztjc.js +0 -11
  523. package/chunk-g99n5ywc.js +0 -3
  524. package/chunk-grwavjp7.js +0 -2
  525. package/chunk-gsek3gpd.js +0 -3
  526. package/chunk-gv9hbv9j.js +0 -2
  527. package/chunk-h045t6f1.js +0 -2
  528. package/chunk-h4g1tzk6.js +0 -11
  529. package/chunk-had2k7b9.js +0 -20
  530. package/chunk-hbm45044.js +0 -25
  531. package/chunk-hd2hars5.js +0 -3
  532. package/chunk-hfh230tm.js +0 -2
  533. package/chunk-hkx7d1j9.js +0 -7
  534. package/chunk-jbk2tmza.js +0 -5
  535. package/chunk-jv9sy0np.js +0 -2
  536. package/chunk-kdc8tq70.js +0 -2
  537. package/chunk-m1nevdw6.js +0 -3
  538. package/chunk-m6yrpt1f.js +0 -5
  539. package/chunk-mrchbvsy.js +0 -4
  540. package/chunk-n9x6akk3.js +0 -2
  541. package/chunk-ne94brn4.js +0 -3
  542. package/chunk-nv1jg79d.js +0 -2
  543. package/chunk-pvdt969t.js +0 -59
  544. package/chunk-q22dnah8.js +0 -3
  545. package/chunk-q2zayphb.js +0 -10
  546. package/chunk-q4h6djtp.js +0 -2
  547. package/chunk-qa8mne61.js +0 -2
  548. package/chunk-r9z9m75h.js +0 -16
  549. package/chunk-rmyzxqkd.js +0 -467
  550. package/chunk-rq647zmf.js +0 -2
  551. package/chunk-sj4jvm9p.js +0 -2
  552. package/chunk-sq0ra5m8.js +0 -4
  553. package/chunk-sxg03n4v.js +0 -2
  554. package/chunk-t0m1wjrn.js +0 -3
  555. package/chunk-td52edcm.js +0 -31
  556. package/chunk-tdnwaaw4.js +0 -12
  557. package/chunk-teky87xx.js +0 -3
  558. package/chunk-v1avwm7q.js +0 -3
  559. package/chunk-wcmk8ee3.js +0 -3
  560. package/chunk-wf9r0frb.js +0 -3
  561. package/chunk-wx697mre.js +0 -2
  562. package/chunk-wzz64ygm.js +0 -2
  563. package/chunk-xb9mwt5a.js +0 -2
  564. package/chunk-xbkbaa84.js +0 -2
  565. package/chunk-xjy31n64.js +0 -3
  566. package/chunk-xzn34n38.js +0 -389
  567. package/chunk-yprp5s5v.js +0 -3
  568. package/chunk-yyhdabhq.js +0 -15
  569. package/chunk-z2jp61ze.js +0 -39
  570. package/chunk-zt5szcek.js +0 -3
  571. package/chunk-zxb6cg3m.js +0 -2
  572. package/web/chunk-0ays2hhj.js +0 -41
  573. package/web/chunk-0ays2hhj.js.br +0 -0
  574. package/web/chunk-0ays2hhj.js.gz +0 -0
  575. package/web/chunk-0na4c1bp.js +0 -139
  576. package/web/chunk-0na4c1bp.js.br +0 -0
  577. package/web/chunk-0na4c1bp.js.gz +0 -0
  578. package/web/chunk-0y0p0ct0.js +0 -1
  579. package/web/chunk-0y0p0ct0.js.br +0 -0
  580. package/web/chunk-0y0p0ct0.js.gz +0 -0
  581. package/web/chunk-191v8amv.js +0 -1
  582. package/web/chunk-191v8amv.js.br +0 -0
  583. package/web/chunk-191v8amv.js.gz +0 -0
  584. package/web/chunk-1c6rhsft.js +0 -200
  585. package/web/chunk-1c6rhsft.js.br +0 -0
  586. package/web/chunk-1c6rhsft.js.gz +0 -0
  587. package/web/chunk-1mwkrh5f.js +0 -370
  588. package/web/chunk-1mwkrh5f.js.br +0 -0
  589. package/web/chunk-1mwkrh5f.js.gz +0 -0
  590. package/web/chunk-1q4r17he.js +0 -2
  591. package/web/chunk-1q4r17he.js.br +0 -0
  592. package/web/chunk-1q4r17he.js.gz +0 -0
  593. package/web/chunk-1sm3c8an.js +0 -8
  594. package/web/chunk-1sm3c8an.js.br +0 -0
  595. package/web/chunk-1sm3c8an.js.gz +0 -0
  596. package/web/chunk-1vmjpvy5.js +0 -1
  597. package/web/chunk-1vmjpvy5.js.br +0 -0
  598. package/web/chunk-1vmjpvy5.js.gz +0 -0
  599. package/web/chunk-1x4z5w5e.js +0 -1
  600. package/web/chunk-1x4z5w5e.js.br +0 -2
  601. package/web/chunk-1x4z5w5e.js.gz +0 -0
  602. package/web/chunk-22ncha3b.js +0 -142
  603. package/web/chunk-22ncha3b.js.br +0 -0
  604. package/web/chunk-22ncha3b.js.gz +0 -0
  605. package/web/chunk-239rqgmj.js +0 -24
  606. package/web/chunk-239rqgmj.js.br +0 -0
  607. package/web/chunk-239rqgmj.js.gz +0 -0
  608. package/web/chunk-2c6zessc.js +0 -2
  609. package/web/chunk-2c6zessc.js.br +0 -0
  610. package/web/chunk-2c6zessc.js.gz +0 -0
  611. package/web/chunk-2m7b1wmp.js +0 -1
  612. package/web/chunk-2m7b1wmp.js.br +0 -0
  613. package/web/chunk-2m7b1wmp.js.gz +0 -0
  614. package/web/chunk-2qncw4c0.js +0 -2
  615. package/web/chunk-2qncw4c0.js.br +0 -0
  616. package/web/chunk-2qncw4c0.js.gz +0 -0
  617. package/web/chunk-2r497559.js +0 -2
  618. package/web/chunk-2r497559.js.br +0 -0
  619. package/web/chunk-2r497559.js.gz +0 -0
  620. package/web/chunk-2t43cra8.js +0 -1
  621. package/web/chunk-2t43cra8.js.br +0 -0
  622. package/web/chunk-2t43cra8.js.gz +0 -0
  623. package/web/chunk-2v379e1v.js +0 -1
  624. package/web/chunk-2v379e1v.js.br +0 -2
  625. package/web/chunk-2v379e1v.js.gz +0 -0
  626. package/web/chunk-2ywd0vz2.js +0 -1
  627. package/web/chunk-2ywd0vz2.js.br +0 -0
  628. package/web/chunk-2ywd0vz2.js.gz +0 -0
  629. package/web/chunk-3626tdgf.js +0 -1
  630. package/web/chunk-3626tdgf.js.br +0 -0
  631. package/web/chunk-3626tdgf.js.gz +0 -0
  632. package/web/chunk-3fq54zbf.js +0 -2
  633. package/web/chunk-3fq54zbf.js.br +0 -0
  634. package/web/chunk-3fq54zbf.js.gz +0 -0
  635. package/web/chunk-3jptvn0z.js +0 -1
  636. package/web/chunk-3jptvn0z.js.br +0 -0
  637. package/web/chunk-3jptvn0z.js.gz +0 -0
  638. package/web/chunk-3k31m9yk.js +0 -7
  639. package/web/chunk-3k31m9yk.js.br +0 -0
  640. package/web/chunk-3k31m9yk.js.gz +0 -0
  641. package/web/chunk-3wrebqcz.js +0 -1
  642. package/web/chunk-3wrebqcz.js.br +0 -0
  643. package/web/chunk-3wrebqcz.js.gz +0 -0
  644. package/web/chunk-42z866aa.js +0 -1
  645. package/web/chunk-42z866aa.js.br +0 -0
  646. package/web/chunk-42z866aa.js.gz +0 -0
  647. package/web/chunk-46r5s1ag.js +0 -1
  648. package/web/chunk-46r5s1ag.js.br +0 -2
  649. package/web/chunk-46r5s1ag.js.gz +0 -0
  650. package/web/chunk-4h8kxmac.js +0 -1
  651. package/web/chunk-4h8kxmac.js.br +0 -2
  652. package/web/chunk-4h8kxmac.js.gz +0 -0
  653. package/web/chunk-4hmp8qcv.js +0 -1
  654. package/web/chunk-4hmp8qcv.js.br +0 -0
  655. package/web/chunk-4hmp8qcv.js.gz +0 -0
  656. package/web/chunk-4ryyn6k5.js +0 -1
  657. package/web/chunk-4ryyn6k5.js.br +0 -0
  658. package/web/chunk-4ryyn6k5.js.gz +0 -0
  659. package/web/chunk-4zp7b44y.js +0 -78
  660. package/web/chunk-4zp7b44y.js.br +0 -0
  661. package/web/chunk-4zp7b44y.js.gz +0 -0
  662. package/web/chunk-52n1enqe.js +0 -1
  663. package/web/chunk-52n1enqe.js.br +0 -0
  664. package/web/chunk-52n1enqe.js.gz +0 -0
  665. package/web/chunk-5m5jve5q.js +0 -2
  666. package/web/chunk-5m5jve5q.js.br +0 -0
  667. package/web/chunk-5m5jve5q.js.gz +0 -0
  668. package/web/chunk-62ssrwet.js +0 -1
  669. package/web/chunk-62ssrwet.js.br +0 -0
  670. package/web/chunk-62ssrwet.js.gz +0 -0
  671. package/web/chunk-6e14fdx8.js +0 -1
  672. package/web/chunk-6e14fdx8.js.br +0 -0
  673. package/web/chunk-6e14fdx8.js.gz +0 -0
  674. package/web/chunk-6kckk3j9.js +0 -1
  675. package/web/chunk-6kckk3j9.js.br +0 -2
  676. package/web/chunk-6kckk3j9.js.gz +0 -0
  677. package/web/chunk-6vdh5wx5.js +0 -1
  678. package/web/chunk-6vdh5wx5.js.br +0 -0
  679. package/web/chunk-6vdh5wx5.js.gz +0 -0
  680. package/web/chunk-6wyrfrh1.js +0 -1
  681. package/web/chunk-6wyrfrh1.js.br +0 -0
  682. package/web/chunk-6wyrfrh1.js.gz +0 -0
  683. package/web/chunk-77pcpdb5.js +0 -303
  684. package/web/chunk-77pcpdb5.js.br +0 -0
  685. package/web/chunk-77pcpdb5.js.gz +0 -0
  686. package/web/chunk-7dq3x88k.js +0 -120
  687. package/web/chunk-7dq3x88k.js.br +0 -0
  688. package/web/chunk-7dq3x88k.js.gz +0 -0
  689. package/web/chunk-7ebwmmjn.js +0 -34
  690. package/web/chunk-7ebwmmjn.js.br +0 -0
  691. package/web/chunk-7ebwmmjn.js.gz +0 -0
  692. package/web/chunk-7jra5kj0.js +0 -1
  693. package/web/chunk-7jra5kj0.js.br +0 -0
  694. package/web/chunk-7jra5kj0.js.gz +0 -0
  695. package/web/chunk-8dgtprxa.js +0 -2
  696. package/web/chunk-8dgtprxa.js.br +0 -0
  697. package/web/chunk-8dgtprxa.js.gz +0 -0
  698. package/web/chunk-8mrw5mgn.js +0 -1
  699. package/web/chunk-8mrw5mgn.js.br +0 -0
  700. package/web/chunk-8mrw5mgn.js.gz +0 -0
  701. package/web/chunk-8n1cyb8k.js +0 -99
  702. package/web/chunk-8n1cyb8k.js.br +0 -0
  703. package/web/chunk-8n1cyb8k.js.gz +0 -0
  704. package/web/chunk-8nxjthxc.js +0 -1
  705. package/web/chunk-8nxjthxc.js.br +0 -0
  706. package/web/chunk-8nxjthxc.js.gz +0 -0
  707. package/web/chunk-8ssjqdky.js +0 -1
  708. package/web/chunk-8ssjqdky.js.br +0 -2
  709. package/web/chunk-8ssjqdky.js.gz +0 -0
  710. package/web/chunk-90k6xrsa.js +0 -2
  711. package/web/chunk-90k6xrsa.js.br +0 -0
  712. package/web/chunk-90k6xrsa.js.gz +0 -0
  713. package/web/chunk-926v5sg8.js +0 -24
  714. package/web/chunk-926v5sg8.js.br +0 -0
  715. package/web/chunk-926v5sg8.js.gz +0 -0
  716. package/web/chunk-9kvr6dkh.js +0 -106
  717. package/web/chunk-9kvr6dkh.js.br +0 -0
  718. package/web/chunk-9kvr6dkh.js.gz +0 -0
  719. package/web/chunk-9s6zj1sh.js +0 -217
  720. package/web/chunk-9s6zj1sh.js.br +0 -0
  721. package/web/chunk-9s6zj1sh.js.gz +0 -0
  722. package/web/chunk-9vf3zy3d.js +0 -2
  723. package/web/chunk-9vf3zy3d.js.br +0 -0
  724. package/web/chunk-9vf3zy3d.js.gz +0 -0
  725. package/web/chunk-acpyx69f.js +0 -1
  726. package/web/chunk-acpyx69f.js.br +0 -0
  727. package/web/chunk-acpyx69f.js.gz +0 -0
  728. package/web/chunk-amch1hp8.js +0 -1
  729. package/web/chunk-amch1hp8.js.br +0 -0
  730. package/web/chunk-amch1hp8.js.gz +0 -0
  731. package/web/chunk-azjpkz26.js +0 -38
  732. package/web/chunk-azjpkz26.js.br +0 -0
  733. package/web/chunk-azjpkz26.js.gz +0 -0
  734. package/web/chunk-b2zmxzm0.js +0 -2
  735. package/web/chunk-b2zmxzm0.js.br +0 -0
  736. package/web/chunk-b2zmxzm0.js.gz +0 -0
  737. package/web/chunk-bgn0bkad.js +0 -98
  738. package/web/chunk-bgn0bkad.js.br +0 -0
  739. package/web/chunk-bgn0bkad.js.gz +0 -0
  740. package/web/chunk-bka3pbzn.js +0 -4
  741. package/web/chunk-bka3pbzn.js.br +0 -0
  742. package/web/chunk-bka3pbzn.js.gz +0 -0
  743. package/web/chunk-ck23t8as.js +0 -2
  744. package/web/chunk-ck23t8as.js.br +0 -0
  745. package/web/chunk-ck23t8as.js.gz +0 -0
  746. package/web/chunk-cp5ec63g.js +0 -30
  747. package/web/chunk-cp5ec63g.js.br +0 -0
  748. package/web/chunk-cp5ec63g.js.gz +0 -0
  749. package/web/chunk-cw21gjwg.js +0 -39
  750. package/web/chunk-cw21gjwg.js.br +0 -0
  751. package/web/chunk-cw21gjwg.js.gz +0 -0
  752. package/web/chunk-cxcpk0qt.js +0 -2
  753. package/web/chunk-cxcpk0qt.js.br +0 -0
  754. package/web/chunk-cxcpk0qt.js.gz +0 -0
  755. package/web/chunk-d3s30py8.js +0 -1
  756. package/web/chunk-d3s30py8.js.br +0 -0
  757. package/web/chunk-d3s30py8.js.gz +0 -0
  758. package/web/chunk-dj4jc1ec.js +0 -1
  759. package/web/chunk-dj4jc1ec.js.br +0 -0
  760. package/web/chunk-dj4jc1ec.js.gz +0 -0
  761. package/web/chunk-drr7mqg2.js +0 -1
  762. package/web/chunk-drr7mqg2.js.br +0 -0
  763. package/web/chunk-drr7mqg2.js.gz +0 -0
  764. package/web/chunk-ef2xw0kb.js +0 -1
  765. package/web/chunk-ef2xw0kb.js.br +0 -0
  766. package/web/chunk-ef2xw0kb.js.gz +0 -0
  767. package/web/chunk-emxa4wv3.js +0 -2
  768. package/web/chunk-emxa4wv3.js.br +0 -0
  769. package/web/chunk-emxa4wv3.js.gz +0 -0
  770. package/web/chunk-fek0yrg5.js +0 -2
  771. package/web/chunk-fek0yrg5.js.br +0 -0
  772. package/web/chunk-fek0yrg5.js.gz +0 -0
  773. package/web/chunk-fgm2r34b.js +0 -36
  774. package/web/chunk-fgm2r34b.js.br +0 -0
  775. package/web/chunk-fgm2r34b.js.gz +0 -0
  776. package/web/chunk-fpqs301q.js +0 -2
  777. package/web/chunk-fpqs301q.js.br +0 -0
  778. package/web/chunk-fpqs301q.js.gz +0 -0
  779. package/web/chunk-fv6se8xf.js +0 -1
  780. package/web/chunk-fv6se8xf.js.br +0 -2
  781. package/web/chunk-fv6se8xf.js.gz +0 -0
  782. package/web/chunk-g0nagyx2.js +0 -1
  783. package/web/chunk-g0nagyx2.js.br +0 -0
  784. package/web/chunk-g0nagyx2.js.gz +0 -0
  785. package/web/chunk-g5fp9ep9.js +0 -1
  786. package/web/chunk-g5fp9ep9.js.br +0 -0
  787. package/web/chunk-g5fp9ep9.js.gz +0 -0
  788. package/web/chunk-gh1fmd3j.js +0 -3
  789. package/web/chunk-gh1fmd3j.js.br +0 -0
  790. package/web/chunk-gh1fmd3j.js.gz +0 -0
  791. package/web/chunk-gq5825re.js +0 -70
  792. package/web/chunk-gq5825re.js.br +0 -0
  793. package/web/chunk-gq5825re.js.gz +0 -0
  794. package/web/chunk-gy57dyny.js +0 -1
  795. package/web/chunk-gy57dyny.js.br +0 -0
  796. package/web/chunk-gy57dyny.js.gz +0 -0
  797. package/web/chunk-j6jjk46a.js +0 -2
  798. package/web/chunk-j6jjk46a.js.br +0 -0
  799. package/web/chunk-j6jjk46a.js.gz +0 -0
  800. package/web/chunk-j7p6xhe2.js +0 -1
  801. package/web/chunk-j7p6xhe2.js.br +0 -0
  802. package/web/chunk-j7p6xhe2.js.gz +0 -0
  803. package/web/chunk-jb8xfsc6.js +0 -2
  804. package/web/chunk-jb8xfsc6.js.br +0 -0
  805. package/web/chunk-jb8xfsc6.js.gz +0 -0
  806. package/web/chunk-jqyxnnn0.js +0 -1
  807. package/web/chunk-jqyxnnn0.js.br +0 -0
  808. package/web/chunk-jqyxnnn0.js.gz +0 -0
  809. package/web/chunk-jtwct1bx.js +0 -1133
  810. package/web/chunk-jtwct1bx.js.br +0 -0
  811. package/web/chunk-jtwct1bx.js.gz +0 -0
  812. package/web/chunk-k22kq2t7.js +0 -12
  813. package/web/chunk-k22kq2t7.js.br +0 -0
  814. package/web/chunk-k22kq2t7.js.gz +0 -0
  815. package/web/chunk-k2ry7k7s.js +0 -1
  816. package/web/chunk-k2ry7k7s.js.br +0 -0
  817. package/web/chunk-k2ry7k7s.js.gz +0 -0
  818. package/web/chunk-k3aa37pw.js +0 -2
  819. package/web/chunk-k3aa37pw.js.br +0 -0
  820. package/web/chunk-k3aa37pw.js.gz +0 -0
  821. package/web/chunk-kdbrrecz.js +0 -332
  822. package/web/chunk-kdbrrecz.js.br +0 -0
  823. package/web/chunk-kdbrrecz.js.gz +0 -0
  824. package/web/chunk-kes2tf1q.js +0 -2
  825. package/web/chunk-kes2tf1q.js.br +0 -3
  826. package/web/chunk-kes2tf1q.js.gz +0 -0
  827. package/web/chunk-ksrzt6c5.js +0 -1
  828. package/web/chunk-ksrzt6c5.js.br +0 -0
  829. package/web/chunk-ksrzt6c5.js.gz +0 -0
  830. package/web/chunk-m2ethr1n.js +0 -84
  831. package/web/chunk-m2ethr1n.js.br +0 -0
  832. package/web/chunk-m2ethr1n.js.gz +0 -0
  833. package/web/chunk-m7tcm69z.js +0 -292
  834. package/web/chunk-m7tcm69z.js.br +0 -0
  835. package/web/chunk-m7tcm69z.js.gz +0 -0
  836. package/web/chunk-m8bz4e6n.js +0 -2
  837. package/web/chunk-m8bz4e6n.js.br +0 -0
  838. package/web/chunk-m8bz4e6n.js.gz +0 -0
  839. package/web/chunk-mva687p4.js +0 -1
  840. package/web/chunk-mva687p4.js.br +0 -0
  841. package/web/chunk-mva687p4.js.gz +0 -0
  842. package/web/chunk-n8fe9j5b.js +0 -214
  843. package/web/chunk-n8fe9j5b.js.br +0 -0
  844. package/web/chunk-n8fe9j5b.js.gz +0 -0
  845. package/web/chunk-nckx4yfd.js +0 -62
  846. package/web/chunk-nckx4yfd.js.br +0 -0
  847. package/web/chunk-nckx4yfd.js.gz +0 -0
  848. package/web/chunk-ncynjha5.js +0 -2
  849. package/web/chunk-ncynjha5.js.br +0 -0
  850. package/web/chunk-ncynjha5.js.gz +0 -0
  851. package/web/chunk-nq7dp0wj.js +0 -291
  852. package/web/chunk-nq7dp0wj.js.br +0 -0
  853. package/web/chunk-nq7dp0wj.js.gz +0 -0
  854. package/web/chunk-pagep4k3.js +0 -1
  855. package/web/chunk-pagep4k3.js.br +0 -0
  856. package/web/chunk-pagep4k3.js.gz +0 -0
  857. package/web/chunk-pbrk7zdw.js +0 -1
  858. package/web/chunk-pbrk7zdw.js.br +0 -0
  859. package/web/chunk-pbrk7zdw.js.gz +0 -0
  860. package/web/chunk-q0cs1bhg.js +0 -2
  861. package/web/chunk-q0cs1bhg.js.br +0 -0
  862. package/web/chunk-q0cs1bhg.js.gz +0 -0
  863. package/web/chunk-q749pgke.js +0 -1
  864. package/web/chunk-q749pgke.js.br +0 -0
  865. package/web/chunk-q749pgke.js.gz +0 -0
  866. package/web/chunk-q7yry602.js +0 -1
  867. package/web/chunk-q7yry602.js.br +0 -0
  868. package/web/chunk-q7yry602.js.gz +0 -0
  869. package/web/chunk-qkeaa97s.js +0 -1
  870. package/web/chunk-qkeaa97s.js.br +0 -0
  871. package/web/chunk-qkeaa97s.js.gz +0 -0
  872. package/web/chunk-qx7afyba.js +0 -1
  873. package/web/chunk-qx7afyba.js.br +0 -0
  874. package/web/chunk-qx7afyba.js.gz +0 -0
  875. package/web/chunk-qxvqkkmw.js +0 -1
  876. package/web/chunk-qxvqkkmw.js.br +0 -0
  877. package/web/chunk-qxvqkkmw.js.gz +0 -0
  878. package/web/chunk-qych3sbs.js +0 -1
  879. package/web/chunk-qych3sbs.js.br +0 -0
  880. package/web/chunk-qych3sbs.js.gz +0 -0
  881. package/web/chunk-rcaqmcm4.js +0 -40
  882. package/web/chunk-rcaqmcm4.js.br +0 -0
  883. package/web/chunk-rcaqmcm4.js.gz +0 -0
  884. package/web/chunk-s5kbbker.js +0 -89
  885. package/web/chunk-s5kbbker.js.br +0 -0
  886. package/web/chunk-s5kbbker.js.gz +0 -0
  887. package/web/chunk-sdq69ysp.js +0 -2
  888. package/web/chunk-sdq69ysp.js.br +0 -0
  889. package/web/chunk-sdq69ysp.js.gz +0 -0
  890. package/web/chunk-sgbc835w.js +0 -2
  891. package/web/chunk-sgbc835w.js.br +0 -0
  892. package/web/chunk-sgbc835w.js.gz +0 -0
  893. package/web/chunk-sk0cmsbx.js +0 -7
  894. package/web/chunk-sk0cmsbx.js.br +0 -0
  895. package/web/chunk-sk0cmsbx.js.gz +0 -0
  896. package/web/chunk-smmcx1z4.js +0 -324
  897. package/web/chunk-smmcx1z4.js.br +0 -0
  898. package/web/chunk-smmcx1z4.js.gz +0 -0
  899. package/web/chunk-sq7ntjp0.js +0 -16
  900. package/web/chunk-sq7ntjp0.js.br +0 -0
  901. package/web/chunk-sq7ntjp0.js.gz +0 -0
  902. package/web/chunk-st27df9w.js +0 -2
  903. package/web/chunk-st27df9w.js.br +0 -0
  904. package/web/chunk-st27df9w.js.gz +0 -0
  905. package/web/chunk-svxkg8n3.js +0 -2
  906. package/web/chunk-svxkg8n3.js.br +0 -0
  907. package/web/chunk-svxkg8n3.js.gz +0 -0
  908. package/web/chunk-t9nzrp2p.js +0 -1
  909. package/web/chunk-t9nzrp2p.js.br +0 -0
  910. package/web/chunk-t9nzrp2p.js.gz +0 -0
  911. package/web/chunk-t9t9v1r8.js +0 -55
  912. package/web/chunk-t9t9v1r8.js.br +0 -0
  913. package/web/chunk-t9t9v1r8.js.gz +0 -0
  914. package/web/chunk-tzpv48j3.js +0 -2
  915. package/web/chunk-tzpv48j3.js.br +0 -0
  916. package/web/chunk-tzpv48j3.js.gz +0 -0
  917. package/web/chunk-vgsk4ppw.js +0 -7
  918. package/web/chunk-vgsk4ppw.js.br +0 -0
  919. package/web/chunk-vgsk4ppw.js.gz +0 -0
  920. package/web/chunk-vq41ta7n.js +0 -4
  921. package/web/chunk-vq41ta7n.js.br +0 -0
  922. package/web/chunk-vq41ta7n.js.gz +0 -0
  923. package/web/chunk-vszya05r.js +0 -2
  924. package/web/chunk-vszya05r.js.br +0 -0
  925. package/web/chunk-vszya05r.js.gz +0 -0
  926. package/web/chunk-w08egbqf.js +0 -1
  927. package/web/chunk-w08egbqf.js.br +0 -0
  928. package/web/chunk-w08egbqf.js.gz +0 -0
  929. package/web/chunk-wcmq0qgh.js +0 -1
  930. package/web/chunk-wcmq0qgh.js.br +0 -0
  931. package/web/chunk-wcmq0qgh.js.gz +0 -0
  932. package/web/chunk-wctq02yb.js +0 -2
  933. package/web/chunk-wctq02yb.js.br +0 -0
  934. package/web/chunk-wctq02yb.js.gz +0 -0
  935. package/web/chunk-wfa1c8dn.js +0 -1
  936. package/web/chunk-wfa1c8dn.js.br +0 -0
  937. package/web/chunk-wfa1c8dn.js.gz +0 -0
  938. package/web/chunk-wfwadf3r.js +0 -2
  939. package/web/chunk-wfwadf3r.js.br +0 -0
  940. package/web/chunk-wfwadf3r.js.gz +0 -0
  941. package/web/chunk-wgas5t5y.js +0 -1
  942. package/web/chunk-wgas5t5y.js.br +0 -0
  943. package/web/chunk-wgas5t5y.js.gz +0 -0
  944. package/web/chunk-x7k4eyee.js +0 -21
  945. package/web/chunk-x7k4eyee.js.br +0 -0
  946. package/web/chunk-x7k4eyee.js.gz +0 -0
  947. package/web/chunk-xpv38q1f.js +0 -140
  948. package/web/chunk-xpv38q1f.js.br +0 -0
  949. package/web/chunk-xpv38q1f.js.gz +0 -0
  950. package/web/chunk-xt671z8e.js +0 -1
  951. package/web/chunk-xt671z8e.js.br +0 -0
  952. package/web/chunk-xt671z8e.js.gz +0 -0
  953. package/web/chunk-xwrrkwwx.css +0 -1
  954. package/web/chunk-xwrrkwwx.css.br +0 -0
  955. package/web/chunk-xwrrkwwx.css.gz +0 -0
  956. package/web/chunk-xwy3gth5.js +0 -89
  957. package/web/chunk-xwy3gth5.js.br +0 -0
  958. package/web/chunk-xwy3gth5.js.gz +0 -0
  959. package/web/chunk-xwyadj9p.js +0 -2
  960. package/web/chunk-xwyadj9p.js.br +0 -0
  961. package/web/chunk-xwyadj9p.js.gz +0 -0
  962. package/web/chunk-xzgvnd23.js +0 -1
  963. package/web/chunk-xzgvnd23.js.br +0 -0
  964. package/web/chunk-xzgvnd23.js.gz +0 -0
  965. package/web/chunk-y05m6rvz.js +0 -1
  966. package/web/chunk-y05m6rvz.js.br +0 -2
  967. package/web/chunk-y05m6rvz.js.gz +0 -0
  968. package/web/chunk-z51mtwh3.js +0 -169
  969. package/web/chunk-z51mtwh3.js.br +0 -0
  970. package/web/chunk-z51mtwh3.js.gz +0 -0
  971. package/web/chunk-z77xrqc1.js +0 -1
  972. package/web/chunk-z77xrqc1.js.br +0 -0
  973. package/web/chunk-z77xrqc1.js.gz +0 -0
  974. package/web/chunk-z946nbmn.js +0 -2
  975. package/web/chunk-z946nbmn.js.br +0 -0
  976. package/web/chunk-z946nbmn.js.gz +0 -0
Binary file
Binary file
@@ -0,0 +1,78 @@
1
+ import{re}from"./chunk-mwfrxgbs.js";import{t,a,He,S,G,A,R,I,L,D,P,M,u,Q,X}from"./chunk-v2bkkhb8.js";import{fe}from"./chunk-53cg6pxm.js";var at=t((r,i)=>{let n=r<=1?r*100:r;if(n<0||n>100)throw Error(`${i} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${r}`);return n},"toPercent"),q=t((r,i,n)=>({x:at(i,`${n} evolution`),y:at(r,`${n} visibility`)}),"toCoordinates"),lt=t((r)=>{if(!r)return;if(r==="+<>")return"bidirectional";if(r==="+<")return"backward";if(r==="+>")return"forward";return},"getFlowFromPort"),Yt=t((r)=>{if(!r?.startsWith("+"))return{};let n=/^\+'([^']*)'/.exec(r)?.[1];if(r.includes("<>"))return{flow:"bidirectional",label:n};if(r.includes("<"))return{flow:"backward",label:n};if(r.includes(">"))return{flow:"forward",label:n};return{label:n}},"extractFlowFromArrow"),It=t((r,i)=>{if(re(r,i),r.size)i.setSize(r.size.width,r.size.height);if(r.evolution){let n=r.evolution.stages.map((o)=>{if(o.secondName)return`${o.name.trim()} / ${o.secondName.trim()}`;return o.name.trim()}),g=r.evolution.stages.filter((o)=>o.boundary!==void 0).map((o)=>o.boundary);i.updateAxes({stages:n,stageBoundaries:g})}if(r.anchors.forEach((n)=>{let g=q(n.visibility,n.evolution,`Anchor "${n.name}"`);i.addNode(n.name,n.name,g.x,g.y,"anchor")}),r.components.forEach((n)=>{let g=q(n.visibility,n.evolution,`Component "${n.name}"`),o=n.label?(n.label.negX?-1:1)*n.label.offsetX:void 0,c=n.label?(n.label.negY?-1:1)*n.label.offsetY:void 0,k=n.decorator?.strategy;i.addNode(n.name,n.name,g.x,g.y,"component",o,c,n.inertia,k)}),r.notes.forEach((n)=>{let g=q(n.visibility,n.evolution,`Note "${n.text}"`);i.addNote(n.text,g.x,g.y)}),r.pipelines.forEach((n)=>{let g=i.getNode(n.parent);if(!g||typeof g.y!=="number")throw Error(`Pipeline "${n.parent}" must reference an existing component with coordinates.`);let o=g.y;i.startPipeline(n.parent),n.components.forEach((c)=>{let k=`${n.parent}_${c.name}`,W=c.label?(c.label.negX?-1:1)*c.label.offsetX:void 0,w=c.label?(c.label.negY?-1:1)*c.label.offsetY:void 0,J=at(c.evolution,`Pipeline component "${c.name}" evolution`);i.addNode(k,c.name,J,o,"pipeline-component",W,w),i.addPipelineComponent(n.parent,k)})}),r.links.forEach((n)=>{let g=!!n.arrow&&(n.arrow.includes("-.->")||n.arrow.includes(".-.")),o=lt(n.fromPort)??lt(n.toPort),{flow:c,label:k}=Yt(n.arrow);if(!o&&c)o=c;let W=n.linkLabel,w=k??W;i.addLink(i.resolveNodeId(n.from),i.resolveNodeId(n.to),g,w,o)}),r.evolves.forEach((n)=>{let g=i.getNode(n.component);if(g?.y!==void 0){let o=at(n.target,`Evolve target for "${n.component}"`);i.addTrend(n.component,o,g.y)}}),r.annotations.length>0){let n=r.annotations[0],g=q(n.x,n.y,"Annotations box");i.setAnnotationsBox(g.x,g.y)}r.annotation.forEach((n)=>{let g=q(n.x,n.y,`Annotation ${n.number}`);i.addAnnotation(n.number,[{x:g.x,y:g.y}],n.text)}),r.accelerators.forEach((n)=>{let g=q(n.x,n.y,`Accelerator "${n.name}"`);i.addAccelerator(n.name,g.x,g.y)}),r.deaccelerators.forEach((n)=>{let g=q(n.x,n.y,`Deaccelerator "${n.name}"`);i.addDeaccelerator(n.name,g.x,g.y)})},"populateDb"),ct={parser:{yy:void 0},parse:t(async(r)=>{let i=await fe("wardley",r);a.debug(i);let n=ct.parser?.yy;if(!n||typeof n.addNode!=="function")throw Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");It(i,n)},"parse")},Bt=class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}static{t(this,"WardleyBuilder")}addNode(r){let i=this.nodes.get(r.id)??{id:r.id,label:r.label},n={...i,...r,className:r.className??i.className,labelOffsetX:r.labelOffsetX??i.labelOffsetX,labelOffsetY:r.labelOffsetY??i.labelOffsetY};this.nodes.set(r.id,n)}addLink(r){this.links.push(r)}addTrend(r){this.trends.set(r.nodeId,r)}startPipeline(r){this.pipelines.set(r,{nodeId:r,componentIds:[]});let i=this.nodes.get(r);if(i)i.isPipelineParent=!0}addPipelineComponent(r,i){let n=this.pipelines.get(r);if(n)n.componentIds.push(i);let g=this.nodes.get(i);if(g)g.inPipeline=!0}addAnnotation(r){this.annotations.push(r)}addNote(r){this.notes.push(r)}addAccelerator(r){this.accelerators.push(r)}addDeaccelerator(r){this.deaccelerators.push(r)}setAnnotationsBox(r,i){this.annotationsBox={x:r,y:i}}setAxes(r){this.axes={...this.axes,...r}}setSize(r,i){this.size={width:r,height:i}}getNode(r){return this.nodes.get(r)}resolveNodeId(r){if(this.nodes.has(r))return r;for(let[i,n]of this.nodes)if(n.label===r)return i;return r}build(){let r=[];for(let i of this.nodes.values()){if(typeof i.x!=="number"||typeof i.y!=="number")throw Error(`Node "${i.label}" is missing coordinates`);r.push(i)}return{nodes:r,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}},v=new Bt;function pt(){return u()["wardley-beta"]}t(pt,"getConfig");function ht(r,i,n,g,o,c,k,W,w){v.addNode({id:r,label:i,x:n,y:g,className:o,labelOffsetX:c,labelOffsetY:k,inertia:W,sourceStrategy:w})}t(ht,"addNode");function ft(r,i,n=!1,g,o){v.addLink({source:r,target:i,dashed:n,label:g,flow:o})}t(ft,"addLink");function xt(r,i,n){v.addTrend({nodeId:r,targetX:i,targetY:n})}t(xt,"addTrend");function gt(r,i,n){v.addAnnotation({number:r,coordinates:i,text:n})}t(gt,"addAnnotation");function yt(r,i,n){v.addNote({text:r,x:i,y:n})}t(yt,"addNote");function ut(r,i,n){v.addAccelerator({name:r,x:i,y:n})}t(ut,"addAccelerator");function wt(r,i,n){v.addDeaccelerator({name:r,x:i,y:n})}t(wt,"addDeaccelerator");function mt(r,i){v.setAnnotationsBox(r,i)}t(mt,"setAnnotationsBox");function kt(r,i){v.setSize(r,i)}t(kt,"setSize");function bt(r){v.startPipeline(r)}t(bt,"startPipeline");function $t(r,i){v.addPipelineComponent(r,i)}t($t,"addPipelineComponent");function vt(r){v.setAxes(r)}t(vt,"updateAxes");function Pt(r){return v.getNode(r)}t(Pt,"getNode");function Ct(r){return v.resolveNodeId(r)}t(Ct,"resolveNodeId");function St(){return v.build()}t(St,"getWardleyData");function Mt(){v.clear(),A()}t(Mt,"clear");var Ft={getConfig:pt,addNode:ht,addLink:ft,addTrend:xt,addAnnotation:gt,addNote:yt,addAccelerator:ut,addDeaccelerator:wt,setAnnotationsBox:mt,setSize:kt,startPipeline:bt,addPipelineComponent:$t,updateAxes:vt,getNode:Pt,resolveNodeId:Ct,getWardleyData:St,clear:Mt,setAccTitle:R,getAccTitle:I,setDiagramTitle:P,getDiagramTitle:M,getAccDescription:D,setAccDescription:L},Rt=["Genesis","Custom Built","Product","Commodity"],Ot=t(()=>{let{themeVariables:r}=u();return{backgroundColor:r.wardley?.backgroundColor??r.background??"#fff",axisColor:r.wardley?.axisColor??"#000",axisTextColor:r.wardley?.axisTextColor??r.primaryTextColor??"#222",gridColor:r.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:r.wardley?.componentFill??"#fff",componentStroke:r.wardley?.componentStroke??"#000",componentLabelColor:r.wardley?.componentLabelColor??r.primaryTextColor??"#222",linkStroke:r.wardley?.linkStroke??"#000",evolutionStroke:r.wardley?.evolutionStroke??"#dc3545",annotationStroke:r.wardley?.annotationStroke??"#000",annotationTextColor:r.wardley?.annotationTextColor??r.primaryTextColor??"#222",annotationFill:r.wardley?.annotationFill??r.background??"#fff"}},"getTheme"),Dt=t(()=>{let r=u()["wardley-beta"];return{width:r?.width??900,height:r?.height??600,padding:r?.padding??48,nodeRadius:r?.nodeRadius??6,nodeLabelOffset:r?.nodeLabelOffset??8,axisFontSize:r?.axisFontSize??12,labelFontSize:r?.labelFontSize??10,showGrid:r?.showGrid??!1,useMaxWidth:r?.useMaxWidth??!0}},"getConfigValues"),Gt=t((r,i,n,g)=>{a.debug(`Rendering Wardley map
2
+ `+r);let o=Dt(),c=Ot(),k=o.nodeRadius*1.6,W=g.db,w=W.getWardleyData(),J=W.getDiagramTitle(),E=w.size?.width??o.width,C=w.size?.height??o.height,V=Q(i);V.selectAll("*").remove(),G(V,C,E,o.useMaxWidth),V.attr("viewBox",`0 0 ${E} ${C}`);let z=V.append("g").attr("class","wardley-map"),rt=V.append("defs");rt.append("marker").attr("id",`arrow-${i}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",c.evolutionStroke).attr("stroke","none"),rt.append("marker").attr("id",`link-arrow-end-${i}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",c.linkStroke).attr("stroke","none"),rt.append("marker").attr("id",`link-arrow-start-${i}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",c.linkStroke).attr("stroke","none"),z.append("rect").attr("class","wardley-background").attr("width",E).attr("height",C).attr("fill",c.backgroundColor);let _=E-o.padding*2,Z=C-o.padding*2;if(J)z.append("text").attr("class","wardley-title").attr("x",E/2).attr("y",o.padding/2).attr("fill",c.axisTextColor).attr("font-size",o.axisFontSize*1.05).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(J);let B=t((e)=>o.padding+e/100*_,"projectX"),F=t((e)=>C-o.padding-e/100*Z,"projectY"),K=z.append("g").attr("class","wardley-axes");K.append("line").attr("x1",o.padding).attr("x2",E-o.padding).attr("y1",C-o.padding).attr("y2",C-o.padding).attr("stroke",c.axisColor).attr("stroke-width",1),K.append("line").attr("x1",o.padding).attr("x2",o.padding).attr("y1",o.padding).attr("y2",C-o.padding).attr("stroke",c.axisColor).attr("stroke-width",1);let Nt=w.axes.xLabel??"Evolution",zt=w.axes.yLabel??"Visibility";K.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",o.padding+_/2).attr("y",C-o.padding/4).attr("fill",c.axisTextColor).attr("font-size",o.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(Nt),K.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",o.padding/3).attr("y",o.padding+Z/2).attr("fill",c.axisTextColor).attr("font-size",o.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${o.padding/3} ${o.padding+Z/2})`).text(zt);let U=w.axes.stages&&w.axes.stages.length>0?w.axes.stages:Rt;if(U.length>0){let e=z.append("g").attr("class","wardley-stages"),d=w.axes.stageBoundaries,s=[];if(d&&d.length===U.length){let l=0;d.forEach((h)=>{s.push({start:l,end:h}),l=h})}else{let l=1/U.length;U.forEach((h,f)=>{s.push({start:f*l,end:(f+1)*l})})}U.forEach((l,h)=>{let f=s[h],y=o.padding+f.start*_,x=o.padding+f.end*_,m=(y+x)/2;if(h>0)e.append("line").attr("x1",y).attr("x2",y).attr("y1",o.padding).attr("y2",C-o.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",0.8);e.append("text").attr("class","wardley-stage-label").attr("x",m).attr("y",C-o.padding/1.5).attr("fill",c.axisTextColor).attr("font-size",o.axisFontSize-2).attr("text-anchor","middle").text(l)})}if(o.showGrid){let e=z.append("g").attr("class","wardley-grid");for(let d=1;d<4;d++){let s=d/4,l=o.padding+_*s;e.append("line").attr("x1",l).attr("x2",l).attr("y1",o.padding).attr("y2",C-o.padding).attr("stroke",c.gridColor).attr("stroke-dasharray","2 6"),e.append("line").attr("x1",o.padding).attr("x2",E-o.padding).attr("y1",C-o.padding-Z*s).attr("y2",C-o.padding-Z*s).attr("stroke",c.gridColor).attr("stroke-dasharray","2 6")}}let p=new Map;if(w.nodes.forEach((e)=>{p.set(e.id,{x:B(e.x),y:F(e.y),node:e})}),w.pipelines.length>0){let e=z.append("g").attr("class","wardley-pipelines"),d=z.append("g").attr("class","wardley-pipeline-links");w.pipelines.forEach((s)=>{if(s.componentIds.length===0)return;let l=s.componentIds.map((x)=>({id:x,pos:p.get(x),node:w.nodes.find((m)=>m.id===x)})).filter((x)=>x.pos&&x.node).sort((x,m)=>x.node.x-m.node.x);for(let x=0;x<l.length-1;x++){let m=l[x],b=l[x+1];d.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",m.pos.x).attr("y1",m.pos.y).attr("x2",b.pos.x).attr("y2",b.pos.y).attr("stroke",c.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let h=1/0,f=-1/0,y=0;if(s.componentIds.forEach((x)=>{let m=p.get(x);if(m)h=Math.min(h,m.x),f=Math.max(f,m.x),y=m.y}),h!==1/0&&f!==-1/0){let m=o.nodeRadius*4,b=y-m/2,T=p.get(s.nodeId);if(T){let Y=(h+f)/2;T.x=Y,T.y=b-k/6}e.append("rect").attr("class","wardley-pipeline-box").attr("x",h-15).attr("y",b).attr("width",f-h+30).attr("height",m).attr("fill","none").attr("stroke",c.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}let st=z.append("g").attr("class","wardley-links"),it=new Map;w.pipelines.forEach((e)=>{it.set(e.nodeId,new Set(e.componentIds))});let dt=w.links.filter((e)=>{if(!p.has(e.source)||!p.has(e.target))return!1;if(it.get(e.target)?.has(e.source))return!1;return!0});st.selectAll("line").data(dt).enter().append("line").attr("class",(e)=>`wardley-link${e.dashed?" wardley-link--dashed":""}`).attr("x1",(e)=>{let d=p.get(e.source),s=p.get(e.target),h=w.nodes.find((m)=>m.id===e.source).isPipelineParent?k/Math.sqrt(2):o.nodeRadius,f=s.x-d.x,y=s.y-d.y,x=Math.sqrt(f*f+y*y);return d.x+f/x*h}).attr("y1",(e)=>{let d=p.get(e.source),s=p.get(e.target),h=w.nodes.find((m)=>m.id===e.source).isPipelineParent?k/Math.sqrt(2):o.nodeRadius,f=s.x-d.x,y=s.y-d.y,x=Math.sqrt(f*f+y*y);return d.y+y/x*h}).attr("x2",(e)=>{let d=p.get(e.source),s=p.get(e.target),h=w.nodes.find((m)=>m.id===e.target).isPipelineParent?k/Math.sqrt(2):o.nodeRadius,f=d.x-s.x,y=d.y-s.y,x=Math.sqrt(f*f+y*y);return s.x+f/x*h}).attr("y2",(e)=>{let d=p.get(e.source),s=p.get(e.target),h=w.nodes.find((m)=>m.id===e.target).isPipelineParent?k/Math.sqrt(2):o.nodeRadius,f=d.x-s.x,y=d.y-s.y,x=Math.sqrt(f*f+y*y);return s.y+y/x*h}).attr("stroke",c.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",(e)=>e.dashed?"6 6":null).attr("marker-end",(e)=>{if(e.flow==="forward"||e.flow==="bidirectional")return`url(#link-arrow-end-${i})`;return null}).attr("marker-start",(e)=>{if(e.flow==="backward"||e.flow==="bidirectional")return`url(#link-arrow-start-${i})`;return null}),st.selectAll("text").data(dt.filter((e)=>e.label)).enter().append("text").attr("class","wardley-link-label").attr("x",(e)=>{let d=p.get(e.source),s=p.get(e.target),l=(d.x+s.x)/2,h=s.y-d.y,f=s.x-d.x,y=Math.sqrt(f*f+h*h),x=8,m=h/y;return l+m*8}).attr("y",(e)=>{let d=p.get(e.source),s=p.get(e.target),l=(d.y+s.y)/2,h=s.x-d.x,f=s.y-d.y,y=Math.sqrt(h*h+f*f),x=8,m=-h/y;return l+m*8}).attr("fill",c.axisTextColor).attr("font-size",o.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",(e)=>{let d=p.get(e.source),s=p.get(e.target),l=(d.x+s.x)/2,h=(d.y+s.y)/2,f=s.x-d.x,y=s.y-d.y,x=Math.sqrt(f*f+y*y),m=8,b=y/x,T=-f/x,Y=l+b*8,tt=h+T*8,j=Math.atan2(y,f)*180/Math.PI;if(j>90||j<-90)j+=180;return`rotate(${j} ${Y} ${tt})`}).text((e)=>e.label);let Lt=z.append("g").attr("class","wardley-trends"),Tt=w.trends.map((e)=>{let d=p.get(e.nodeId);if(!d)return null;let s=B(e.targetX),l=F(e.targetY),h=s-d.x,f=l-d.y,y=Math.sqrt(h*h+f*f),x=o.nodeRadius+2,m=y>x?s-h/y*x:s,b=y>x?l-f/y*x:l;return{origin:d,targetX:s,targetY:l,adjustedX2:m,adjustedY2:b}}).filter((e)=>e!==null);Lt.selectAll("line").data(Tt).enter().append("line").attr("class","wardley-trend").attr("x1",(e)=>e.origin.x).attr("y1",(e)=>e.origin.y).attr("x2",(e)=>e.adjustedX2).attr("y2",(e)=>e.adjustedY2).attr("stroke",c.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${i})`);let H=z.append("g").attr("class","wardley-nodes").selectAll("g").data(w.nodes).enter().append("g").attr("class",(e)=>["wardley-node",e.className?`wardley-node--${e.className}`:""].filter(Boolean).join(" "));H.filter((e)=>e.sourceStrategy==="outsource").append("circle").attr("class","wardley-outsource-overlay").attr("cx",(e)=>p.get(e.id).x).attr("cy",(e)=>p.get(e.id).y).attr("r",o.nodeRadius*2).attr("fill","#666").attr("stroke",c.componentStroke).attr("stroke-width",1),H.filter((e)=>e.sourceStrategy==="buy").append("circle").attr("class","wardley-buy-overlay").attr("cx",(e)=>p.get(e.id).x).attr("cy",(e)=>p.get(e.id).y).attr("r",o.nodeRadius*2).attr("fill","#ccc").attr("stroke",c.componentStroke).attr("stroke-width",1),H.filter((e)=>e.sourceStrategy==="build").append("circle").attr("class","wardley-build-overlay").attr("cx",(e)=>p.get(e.id).x).attr("cy",(e)=>p.get(e.id).y).attr("r",o.nodeRadius*2).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);let O=H.filter((e)=>e.sourceStrategy==="market");O.append("circle").attr("class","wardley-market-overlay").attr("cx",(e)=>p.get(e.id).x).attr("cy",(e)=>p.get(e.id).y).attr("r",o.nodeRadius*2).attr("fill","white").attr("stroke",c.componentStroke).attr("stroke-width",1),H.filter((e)=>!e.isPipelineParent&&e.sourceStrategy!=="market"&&e.className!=="anchor").append("circle").attr("cx",(e)=>p.get(e.id).x).attr("cy",(e)=>p.get(e.id).y).attr("r",o.nodeRadius).attr("fill",c.componentFill).attr("stroke",c.componentStroke).attr("stroke-width",1);let ot=o.nodeRadius*0.7,N=o.nodeRadius*1.2;if(O.append("line").attr("class","wardley-market-line").attr("x1",(e)=>p.get(e.id).x).attr("y1",(e)=>p.get(e.id).y-N).attr("x2",(e)=>p.get(e.id).x-N*Math.cos(Math.PI/6)).attr("y2",(e)=>p.get(e.id).y+N*Math.sin(Math.PI/6)).attr("stroke",c.componentStroke).attr("stroke-width",1),O.append("line").attr("class","wardley-market-line").attr("x1",(e)=>p.get(e.id).x-N*Math.cos(Math.PI/6)).attr("y1",(e)=>p.get(e.id).y+N*Math.sin(Math.PI/6)).attr("x2",(e)=>p.get(e.id).x+N*Math.cos(Math.PI/6)).attr("y2",(e)=>p.get(e.id).y+N*Math.sin(Math.PI/6)).attr("stroke",c.componentStroke).attr("stroke-width",1),O.append("line").attr("class","wardley-market-line").attr("x1",(e)=>p.get(e.id).x+N*Math.cos(Math.PI/6)).attr("y1",(e)=>p.get(e.id).y+N*Math.sin(Math.PI/6)).attr("x2",(e)=>p.get(e.id).x).attr("y2",(e)=>p.get(e.id).y-N).attr("stroke",c.componentStroke).attr("stroke-width",1),O.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>p.get(e.id).x).attr("cy",(e)=>p.get(e.id).y-N).attr("r",ot).attr("fill","white").attr("stroke",c.componentStroke).attr("stroke-width",2),O.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>p.get(e.id).x-N*Math.cos(Math.PI/6)).attr("cy",(e)=>p.get(e.id).y+N*Math.sin(Math.PI/6)).attr("r",ot).attr("fill","white").attr("stroke",c.componentStroke).attr("stroke-width",2),O.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>p.get(e.id).x+N*Math.cos(Math.PI/6)).attr("cy",(e)=>p.get(e.id).y+N*Math.sin(Math.PI/6)).attr("r",ot).attr("fill","white").attr("stroke",c.componentStroke).attr("stroke-width",2),H.filter((e)=>e.isPipelineParent===!0).append("rect").attr("x",(e)=>p.get(e.id).x-k/2).attr("y",(e)=>p.get(e.id).y-k/2).attr("width",k).attr("height",k).attr("fill",c.componentFill).attr("stroke",c.componentStroke).attr("stroke-width",1),H.filter((e)=>e.inertia===!0).append("line").attr("class","wardley-inertia").attr("x1",(e)=>{let d=p.get(e.id),s=e.isPipelineParent?k/2+15:o.nodeRadius+15;if(e.sourceStrategy)s+=o.nodeRadius+10;return d.x+s}).attr("y1",(e)=>{let d=p.get(e.id),s=e.isPipelineParent?k:o.nodeRadius*2;return d.y-s/2}).attr("x2",(e)=>{let d=p.get(e.id),s=e.isPipelineParent?k/2+15:o.nodeRadius+15;if(e.sourceStrategy)s+=o.nodeRadius+10;return d.x+s}).attr("y2",(e)=>{let d=p.get(e.id),s=e.isPipelineParent?k:o.nodeRadius*2;return d.y+s/2}).attr("stroke",c.componentStroke).attr("stroke-width",6),H.append("text").attr("x",(e)=>{let d=p.get(e.id);if(e.className==="anchor")return e.labelOffsetX!==void 0?d.x+e.labelOffsetX:d.x;let s=o.nodeLabelOffset;if(e.sourceStrategy&&e.labelOffsetX===void 0)s+=10;let l=e.labelOffsetX??s;return d.x+l}).attr("y",(e)=>{let d=p.get(e.id);if(e.className==="anchor")return e.labelOffsetY!==void 0?d.y+e.labelOffsetY:d.y-3;let s=-o.nodeLabelOffset;if(e.sourceStrategy&&e.labelOffsetY===void 0)s-=10;let l=e.labelOffsetY??s;return d.y+l}).attr("class","wardley-node-label").attr("fill",(e)=>{if(e.className==="evolved")return c.evolutionStroke;if(e.className==="anchor")return"#000";return c.componentLabelColor}).attr("font-size",o.labelFontSize).attr("font-weight",(e)=>e.className==="anchor"?"bold":"normal").attr("text-anchor",(e)=>e.className==="anchor"?"middle":"start").attr("dominant-baseline",(e)=>e.className==="anchor"?"middle":"auto").text((e)=>e.label),w.annotations.length>0){let e=z.append("g").attr("class","wardley-annotations");if(w.annotations.forEach((d)=>{let s=d.coordinates.map((l)=>({x:B(l.x),y:F(l.y)}));if(s.length>1)for(let l=0;l<s.length-1;l++)e.append("line").attr("class","wardley-annotation-line").attr("x1",s[l].x).attr("y1",s[l].y).attr("x2",s[l+1].x).attr("y2",s[l+1].y).attr("stroke",c.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");s.forEach((l)=>{let h=e.append("g").attr("class","wardley-annotation");h.append("circle").attr("cx",l.x).attr("cy",l.y).attr("r",10).attr("fill","white").attr("stroke",c.axisColor).attr("stroke-width",1.5),h.append("text").attr("x",l.x).attr("y",l.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",c.axisTextColor).attr("font-weight","bold").text(d.number)})}),w.annotationsBox){let d=B(w.annotationsBox.x),s=F(w.annotationsBox.y),l=10,h=16,f=11,y=e.append("g").attr("class","wardley-annotations-box"),x=[...w.annotations].filter((b)=>b.text).sort((b,T)=>b.number-T.number),m=[];if(x.forEach((b,T)=>{let Y=y.append("text").attr("x",d+l).attr("y",s+l+(T+1)*h).attr("font-size",f).attr("fill",c.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${b.number}. ${b.text}`);m.push(Y)}),m.length>0){let b=0,T=0;m.forEach((nt)=>{let et=nt.node(),Et=et.getComputedTextLength();b=Math.max(b,Et);let Ht=et.getBBox();T=Math.max(T,Ht.height)});let Y=b+l*2+105,tt=x.length*h+l*2+T/2,j=o.padding,Wt=E-o.padding-Y,At=o.padding,Xt=C-o.padding-tt;d=Math.max(j,Math.min(d,Wt)),s=Math.max(At,Math.min(s,Xt)),m.forEach((nt,et)=>{nt.attr("x",d+l).attr("y",s+l+(et+1)*h)}),y.insert("rect","text").attr("x",d).attr("y",s).attr("width",Y).attr("height",tt).attr("fill","white").attr("stroke",c.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(w.notes.length>0){let e=z.append("g").attr("class","wardley-notes");w.notes.forEach((d)=>{let s=B(d.x),l=F(d.y);e.append("text").attr("x",s).attr("y",l).attr("text-anchor","start").attr("font-size",11).attr("fill",c.axisTextColor).attr("font-weight","bold").text(d.text)})}if(w.accelerators.length>0){let e=z.append("g").attr("class","wardley-accelerators");w.accelerators.forEach((d)=>{let s=B(d.x),l=F(d.y),h=60,f=30,y=20,x=`
3
+ M ${s} ${l-15}
4
+ L ${s+60-20} ${l-15}
5
+ L ${s+60-20} ${l-15-8}
6
+ L ${s+60} ${l}
7
+ L ${s+60-20} ${l+15+8}
8
+ L ${s+60-20} ${l+15}
9
+ L ${s} ${l+15}
10
+ Z
11
+ `;e.append("path").attr("d",x).attr("fill","white").attr("stroke",c.componentStroke).attr("stroke-width",1),e.append("text").attr("x",s+30).attr("y",l+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",c.axisTextColor).attr("font-weight","bold").text(d.name)})}if(w.deaccelerators.length>0){let e=z.append("g").attr("class","wardley-deaccelerators");w.deaccelerators.forEach((d)=>{let s=B(d.x),l=F(d.y),h=60,f=30,y=20,x=`
12
+ M ${s+60} ${l-15}
13
+ L ${s+20} ${l-15}
14
+ L ${s+20} ${l-15-8}
15
+ L ${s} ${l}
16
+ L ${s+20} ${l+15+8}
17
+ L ${s+20} ${l+15}
18
+ L ${s+60} ${l+15}
19
+ Z
20
+ `;e.append("path").attr("d",x).attr("fill","white").attr("stroke",c.componentStroke).attr("stroke-width",1),e.append("text").attr("x",s+30).attr("y",l+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",c.axisTextColor).attr("font-weight","bold").text(d.name)})}},"draw"),qt={draw:Gt},jt=t(({wardley:r}={})=>{let i=He(),n=S(),g=X(i,n.themeVariables),o=X(g.wardley,r);return`
21
+ .wardley-background {
22
+ fill: ${o.backgroundColor};
23
+ }
24
+ .wardley-axes line, .wardley-axes path {
25
+ stroke: ${o.axisColor};
26
+ }
27
+ .wardley-axis-label {
28
+ fill: ${o.axisTextColor};
29
+ }
30
+ .wardley-stage-label {
31
+ fill: ${o.axisTextColor};
32
+ }
33
+ .wardley-grid line {
34
+ stroke: ${o.gridColor};
35
+ }
36
+ .wardley-node circle {
37
+ fill: ${o.componentFill};
38
+ stroke: ${o.componentStroke};
39
+ }
40
+ .wardley-node-label {
41
+ fill: ${o.componentLabelColor};
42
+ }
43
+ .wardley-link {
44
+ stroke: ${o.linkStroke};
45
+ }
46
+ .wardley-link--dashed {
47
+ stroke-dasharray: 4 4;
48
+ }
49
+ .wardley-link-label {
50
+ fill: ${o.axisTextColor};
51
+ }
52
+ .wardley-trend line {
53
+ stroke: ${o.evolutionStroke};
54
+ }
55
+ .wardley-annotation-line {
56
+ stroke: ${o.annotationStroke};
57
+ }
58
+ .wardley-annotation circle {
59
+ fill: ${o.annotationFill};
60
+ stroke: ${o.annotationStroke};
61
+ }
62
+ .wardley-annotation text {
63
+ fill: ${o.annotationTextColor};
64
+ }
65
+ .wardley-annotations-box rect {
66
+ fill: ${o.annotationFill};
67
+ stroke: ${o.annotationStroke};
68
+ }
69
+ .wardley-annotations-box text {
70
+ fill: ${o.annotationTextColor};
71
+ }
72
+ .wardley-pipeline-box {
73
+ stroke: ${o.componentStroke};
74
+ }
75
+ .wardley-notes text {
76
+ fill: ${o.axisTextColor};
77
+ }
78
+ `},"styles"),ee={parser:ct,db:Ft,renderer:qt,styles:jt};export{ee as diagram};
Binary file
Binary file
@@ -0,0 +1,84 @@
1
+ import{t,Zn,a,S,A,R,I,L,D,P,M,u,F,De,Te,Ee,ln,ze,Ue}from"./chunk-v2bkkhb8.js";import{Fe}from"./chunk-1ghnag5v.js";import{Le}from"./chunk-vhpzp7zd.js";var Qe=function(){var e=t(function(X,n,l,c){for(l=l||{},c=X.length;c--;l[X[c]]=n);return l},"o"),d=[1,3],f=[1,4],m=[1,5],r=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],_=[1,22],C=[2,7],E=[1,26],T=[1,27],N=[1,28],w=[1,29],O=[1,33],U=[1,34],Y=[1,35],B=[1,36],Q=[1,37],H=[1,38],K=[1,24],W=[1,31],j=[1,32],G=[1,30],k=[1,39],g=[1,40],b=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],J=[1,61],ce=[89,90],He=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ce=[27,29],Ke=[1,70],We=[1,71],je=[1,72],Ge=[1,73],Xe=[1,74],Je=[1,75],Ze=[1,76],ue=[1,83],Z=[1,80],me=[1,84],fe=[1,85],de=[1,86],pe=[1,87],be=[1,88],Re=[1,89],ke=[1,90],ge=[1,91],ye=[1,92],Ae=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],ee=[63,64],et=[1,101],tt=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],V=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],te=[1,110],se=[1,106],ie=[1,107],re=[1,108],ne=[1,109],ae=[1,111],_e=[1,116],Se=[1,117],Ie=[1,114],Ne=[1,115],Oe={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:t(function(n,l,c,i,p,s,qe){var o=s.length-1;switch(p){case 4:this.$=s[o].trim(),i.setAccTitle(this.$);break;case 5:case 6:this.$=s[o].trim(),i.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:i.setDirection("TB");break;case 18:i.setDirection("BT");break;case 19:i.setDirection("RL");break;case 20:i.setDirection("LR");break;case 21:i.addRequirement(s[o-3],s[o-4]);break;case 22:i.addRequirement(s[o-5],s[o-6]),i.setClass([s[o-5]],s[o-3]);break;case 23:i.setNewReqId(s[o-2]);break;case 24:i.setNewReqText(s[o-2]);break;case 25:i.setNewReqRisk(s[o-2]);break;case 26:i.setNewReqVerifyMethod(s[o-2]);break;case 29:this.$=i.RequirementType.REQUIREMENT;break;case 30:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=i.RiskLevel.LOW_RISK;break;case 36:this.$=i.RiskLevel.MED_RISK;break;case 37:this.$=i.RiskLevel.HIGH_RISK;break;case 38:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=i.VerifyType.VERIFY_TEST;break;case 42:i.addElement(s[o-3]);break;case 43:i.addElement(s[o-5]),i.setClass([s[o-5]],s[o-3]);break;case 44:i.setNewElementType(s[o-2]);break;case 45:i.setNewElementDocRef(s[o-2]);break;case 48:i.addRelationship(s[o-2],s[o],s[o-4]);break;case 49:i.addRelationship(s[o-2],s[o-4],s[o]);break;case 50:this.$=i.Relationships.CONTAINS;break;case 51:this.$=i.Relationships.COPIES;break;case 52:this.$=i.Relationships.DERIVES;break;case 53:this.$=i.Relationships.SATISFIES;break;case 54:this.$=i.Relationships.VERIFIES;break;case 55:this.$=i.Relationships.REFINES;break;case 56:this.$=i.Relationships.TRACES;break;case 57:this.$=s[o-2],i.defineClass(s[o-1],s[o]);break;case 58:i.setClass(s[o-1],s[o]);break;case 59:i.setClass([s[o-2]],s[o]);break;case 60:case 62:this.$=[s[o]];break;case 61:case 63:this.$=s[o-2].concat([s[o]]);break;case 64:this.$=s[o-2],i.setCssStyle(s[o-1],s[o]);break;case 65:this.$=[s[o]];break;case 66:s[o-2].push(s[o]),this.$=s[o-2];break;case 68:this.$=s[o-1]+s[o];break}},"anonymous"),table:[{3:1,4:2,6:d,9:f,11:m,13:r},{1:[3]},{3:8,4:2,5:[1,7],6:d,9:f,11:m,13:r},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:d,9:f,11:m,13:r},{1:[2,2]},{4:17,5:_,7:13,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:O,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:_,7:42,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:O,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:43,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:O,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:44,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:O,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:45,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:O,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:46,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:O,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:47,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:O,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:48,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:O,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:49,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:O,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:50,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:O,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:k,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),{30:60,33:62,75:J,89:k,90:g},{30:63,33:62,75:J,89:k,90:g},{30:64,33:62,75:J,89:k,90:g},e(ce,[2,29]),e(ce,[2,30]),e(ce,[2,31]),e(ce,[2,32]),e(ce,[2,33]),e(ce,[2,34]),e(He,[2,81]),e(He,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ce,[2,79]),e(Ce,[2,80]),{27:[1,67],29:[1,68]},e(Ce,[2,85]),e(Ce,[2,86]),{62:69,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{62:77,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{30:78,33:62,75:J,89:k,90:g},{73:79,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:be,85:Re,86:ke,87:ge,88:ye},e(Ae,[2,60]),e(Ae,[2,62]),{73:93,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:be,85:Re,86:ke,87:ge,88:ye},{30:94,33:62,75:J,76:Z,89:k,90:g},{5:[1,95]},{30:96,33:62,75:J,89:k,90:g},{5:[1,97]},{30:98,33:62,75:J,89:k,90:g},{63:[1,99]},e(ee,[2,50]),e(ee,[2,51]),e(ee,[2,52]),e(ee,[2,53]),e(ee,[2,54]),e(ee,[2,55]),e(ee,[2,56]),{64:[1,100]},e(b,[2,59],{76:Z}),e(b,[2,64],{76:et}),{33:103,75:[1,102],89:k,90:g},e(tt,[2,65],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:be,85:Re,86:ke,87:ge,88:ye}),e(V,[2,67]),e(V,[2,69]),e(V,[2,70]),e(V,[2,71]),e(V,[2,72]),e(V,[2,73]),e(V,[2,74]),e(V,[2,75]),e(V,[2,76]),e(V,[2,77]),e(V,[2,78]),e(b,[2,57],{76:et}),e(b,[2,58],{76:Z}),{5:te,28:105,31:se,34:ie,36:re,38:ne,40:ae},{27:[1,112],76:Z},{5:_e,40:Se,56:113,57:Ie,59:Ne},{27:[1,118],76:Z},{33:119,89:k,90:g},{33:120,89:k,90:g},{75:ue,78:121,79:82,80:me,81:fe,82:de,83:pe,84:be,85:Re,86:ke,87:ge,88:ye},e(Ae,[2,61]),e(Ae,[2,63]),e(V,[2,68]),e(b,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:te,28:126,31:se,34:ie,36:re,38:ne,40:ae},e(b,[2,28]),{5:[1,127]},e(b,[2,42]),{32:[1,128]},{32:[1,129]},{5:_e,40:Se,56:130,57:Ie,59:Ne},e(b,[2,47]),{5:[1,131]},e(b,[2,48]),e(b,[2,49]),e(tt,[2,66],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:be,85:Re,86:ke,87:ge,88:ye}),{33:132,89:k,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(b,[2,27]),{5:te,28:145,31:se,34:ie,36:re,38:ne,40:ae},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(b,[2,46]),{5:_e,40:Se,56:152,57:Ie,59:Ne},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(b,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(b,[2,43]),{5:te,28:159,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:160,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:161,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:162,31:se,34:ie,36:re,38:ne,40:ae},{5:_e,40:Se,56:163,57:Ie,59:Ne},{5:_e,40:Se,56:164,57:Ie,59:Ne},e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),e(b,[2,26]),e(b,[2,44]),e(b,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:t(function(n,l){if(l.recoverable)this.trace(n);else{var c=Error(n);throw c.hash=l,c}},"parseError"),parse:t(function(n){var l=this,c=[0],i=[],p=[null],s=[],qe=this.table,o="",ve=0,st=0,it=0,ct=2,rt=1,ht=s.slice.call(arguments,1),y=Object.create(this.lexer),le={yy:{}};for(var Me in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Me))le.yy[Me]=this.yy[Me];if(y.setInput(n,le.yy),le.yy.lexer=y,le.yy.parser=this,typeof y.yylloc>"u")y.yylloc={};var $e=y.yylloc;s.push($e);var ut=y.options&&y.options.ranges;if(typeof le.yy.parseError==="function")this.parseError=le.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function mt(x){c.length=c.length-2*x,p.length=p.length-x,s.length=s.length-x}t(mt,"popStack");function nt(){var x=i.pop()||y.lex()||rt;if(typeof x!=="number"){if(x instanceof Array)i=x,x=i.pop();x=l.symbols_[x]||x}return x}t(nt,"lex");var q,Pe,oe,v,kt,Ye,he={},xe,z,at,we;while(!0){if(oe=c[c.length-1],this.defaultActions[oe])v=this.defaultActions[oe];else{if(q===null||typeof q>"u")q=nt();v=qe[oe]&&qe[oe][q]}if(typeof v>"u"||!v.length||!v[0]){var Be="";we=[];for(xe in qe[oe])if(this.terminals_[xe]&&xe>ct)we.push("'"+this.terminals_[xe]+"'");if(y.showPosition)Be="Parse error on line "+(ve+1)+`:
2
+ `+y.showPosition()+`
3
+ Expecting `+we.join(", ")+", got '"+(this.terminals_[q]||q)+"'";else Be="Parse error on line "+(ve+1)+": Unexpected "+(q==rt?"end of input":"'"+(this.terminals_[q]||q)+"'");this.parseError(Be,{text:y.match,token:this.terminals_[q]||q,line:y.yylineno,loc:$e,expected:we})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+oe+", token: "+q);switch(v[0]){case 1:if(c.push(q),p.push(y.yytext),s.push(y.yylloc),c.push(v[1]),q=null,!Pe){if(st=y.yyleng,o=y.yytext,ve=y.yylineno,$e=y.yylloc,it>0)it--}else q=Pe,Pe=null;break;case 2:if(z=this.productions_[v[1]][1],he.$=p[p.length-z],he._$={first_line:s[s.length-(z||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(z||1)].first_column,last_column:s[s.length-1].last_column},ut)he._$.range=[s[s.length-(z||1)].range[0],s[s.length-1].range[1]];if(Ye=this.performAction.apply(he,[o,st,ve,le.yy,v[1],p,s].concat(ht)),typeof Ye<"u")return Ye;if(z)c=c.slice(0,-1*z*2),p=p.slice(0,-1*z),s=s.slice(0,-1*z);c.push(this.productions_[v[1]][0]),p.push(he.$),s.push(he._$),at=qe[c[c.length-2]][c[c.length-1]],c.push(at);break;case 3:return!0}}return!0},"parse")},ot=function(){var X={EOF:1,parseError:t(function(l,c){if(this.yy.parser)this.yy.parser.parseError(l,c);else throw Error(l)},"parseError"),setInput:t(function(n,l){if(this.yy=l||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={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var l=n.match(/(?:\r\n?|\n).*/g);if(l)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),n},"input"),unput:t(function(n){var l=n.length,c=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1)this.yylineno-=c.length-1;var p=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===i.length?this.yylloc.first_column:0)+i[i.length-c.length].length-c[0].length:this.yylloc.first_column-l},this.options.ranges)this.yylloc.range=[p[0],p[0]+this.yyleng-l];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;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).
4
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(n){this.unput(this.match.slice(n))},"less"),pastInput:t(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var n=this.match;if(n.length<20)n+=this._input.substr(0,20-n.length);return(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var n=this.pastInput(),l=Array(n.length+1).join("-");return n+this.upcomingInput()+`
5
+ `+l+"^"},"showPosition"),test_match:t(function(n,l){var c,i,p;if(this.options.backtrack_lexer){if(p={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)p.yylloc.range=this.yylloc.range.slice(0)}if(i=n[0].match(/(?:\r\n?|\n).*/g),i)this.yylineno+=i.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},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];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(n[0].length),this.matched+=n[0],c=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var s in p)this[s]=p[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var n,l,c,i;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var s=0;s<p.length;s++)if(c=this._input.match(this.rules[p[s]]),c&&(!l||c[0].length>l[0].length)){if(l=c,i=s,this.options.backtrack_lexer)if(n=this.test_match(c,p[s]),n!==!1)return n;else if(this._backtrack){l=!1;continue}else return!1;else if(!this.options.flex)break}if(l){if(n=this.test_match(l,p[i]),n!==!1)return n;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var l=this.next();if(l)return l;else return this.lex()},"lex"),begin:t(function(l){this.conditionStack.push(l)},"begin"),popState:t(function(){var l=this.conditionStack.length-1;if(l>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(l){if(l=this.conditionStack.length-1-Math.abs(l||0),l>=0)return this.conditionStack[l];else return"INITIAL"},"topState"),pushState:t(function(l){this.begin(l)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(l,c,i,p){var s=p;switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return c.yytext=c.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return X}();Oe.lexer=ot;function Ve(){this.yy={}}return t(Ve,"Parser"),Ve.prototype=Oe,Oe.Parser=Ve,new Ve}();Qe.parser=Qe;var ft=Qe,dt=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction="TB",this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},this.setAccTitle=R,this.getAccTitle=I,this.setAccDescription=L,this.getAccDescription=D,this.setDiagramTitle=P,this.getDiagramTitle=M,this.getConfig=t(()=>u().requirement,"getConfig"),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{t(this,"RequirementDB")}getDirection(){return this.direction}setDirection(e){this.direction=e}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(e,d){if(!this.requirements.has(e))this.requirements.set(e,{name:e,type:d,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]});return this.resetLatestRequirement(),this.requirements.get(e)}getRequirements(){return this.requirements}setNewReqId(e){if(this.latestRequirement!==void 0)this.latestRequirement.requirementId=e}setNewReqText(e){if(this.latestRequirement!==void 0)this.latestRequirement.text=e}setNewReqRisk(e){if(this.latestRequirement!==void 0)this.latestRequirement.risk=e}setNewReqVerifyMethod(e){if(this.latestRequirement!==void 0)this.latestRequirement.verifyMethod=e}addElement(e){if(!this.elements.has(e))this.elements.set(e,{name:e,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),a.info("Added new element: ",e);return this.resetLatestElement(),this.elements.get(e)}getElements(){return this.elements}setNewElementType(e){if(this.latestElement!==void 0)this.latestElement.type=e}setNewElementDocRef(e){if(this.latestElement!==void 0)this.latestElement.docRef=e}addRelationship(e,d,f){this.relations.push({type:e,src:d,dst:f})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,A()}setCssStyle(e,d){for(let f of e){let m=this.requirements.get(f)??this.elements.get(f);if(!d||!m)return;for(let r of d)if(r.includes(","))m.cssStyles.push(...r.split(","));else m.cssStyles.push(r)}}setClass(e,d){for(let f of e){let m=this.requirements.get(f)??this.elements.get(f);if(m)for(let r of d){m.classes.push(r);let h=this.classes.get(r)?.styles;if(h)m.cssStyles.push(...h)}}}defineClass(e,d){for(let f of e){let m=this.classes.get(f);if(m===void 0)m={id:f,styles:[],textStyles:[]},this.classes.set(f,m);if(d)d.forEach(function(r){if(/color/.exec(r)){let h=r.replace("fill","bgFill");m.textStyles.push(h)}m.styles.push(r)});this.requirements.forEach((r)=>{if(r.classes.includes(f))r.cssStyles.push(...d.flatMap((h)=>h.split(",")))}),this.elements.forEach((r)=>{if(r.classes.includes(f))r.cssStyles.push(...d.flatMap((h)=>h.split(",")))})}}getClasses(){return this.classes}getData(){let e=u(),d=[],f=[];for(let r of this.requirements.values()){let h=r;h.id=r.name,h.cssStyles=r.cssStyles,h.cssClasses=r.classes.join(" "),h.shape="requirementBox",h.look=e.look,h.colorIndex=d.length,d.push(h)}for(let r of this.elements.values()){let h=r;h.shape="requirementBox",h.look=e.look,h.id=r.name,h.cssStyles=r.cssStyles,h.cssClasses=r.classes.join(" "),h.colorIndex=d.length,d.push(h)}let m=0;for(let r of this.relations){let h=r.type===this.Relationships.CONTAINS,_={id:`${r.src}-${r.dst}-${m++}`,start:this.requirements.get(r.src)?.name??this.elements.get(r.src)?.name,end:this.requirements.get(r.dst)?.name??this.elements.get(r.dst)?.name,label:`&lt;&lt;${r.type}&gt;&gt;`,classes:"relationshipLine",style:["fill:none",h?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:h?"normal":"dashed",arrowTypeStart:h?"requirement_contains":"",arrowTypeEnd:h?"":"requirement_arrow",look:e.look,labelType:"markdown"};f.push(_)}return{nodes:d,edges:f,other:{},config:e,direction:this.getDirection()}}},pt=t(()=>{let e=S(),{theme:d,themeVariables:f}=e,{bkgColorArray:m,borderColorArray:r}=f;if(!Te(d,r))return"";let h=Ee(e.look),_="",C=De(m);for(let E=0;E<ln(r);E++){let T=r[E],N=C?`fill: ${m[E%m.length]};`:"";_+=`
7
+
8
+ [data-look="${h}"][data-color-id="color-${E}"].node path {
9
+ stroke: ${T};
10
+ ${N}
11
+ }
12
+
13
+ [data-look="${h}"][data-color-id="color-${E}"].node rect {
14
+ stroke: ${T};
15
+ ${N}
16
+ }
17
+ `}return _},"genColor"),Et=t((e)=>{let d=S(),{look:f,themeVariables:m}=d,{requirementEdgeLabelBackground:r}=m;return`
18
+ ${pt()}
19
+ marker {
20
+ fill: ${e.relationColor};
21
+ stroke: ${e.relationColor};
22
+ }
23
+
24
+ marker.cross {
25
+ stroke: ${e.lineColor};
26
+ }
27
+
28
+ svg {
29
+ font-family: ${e.fontFamily};
30
+ font-size: ${e.fontSize};
31
+ }
32
+
33
+ .reqBox {
34
+ fill: ${e.requirementBackground};
35
+ fill-opacity: 1.0;
36
+ stroke: ${e.requirementBorderColor};
37
+ stroke-width: ${e.requirementBorderSize};
38
+ }
39
+
40
+ .reqTitle, .reqLabel{
41
+ fill: ${e.requirementTextColor};
42
+ }
43
+ .reqLabelBox {
44
+ fill: ${e.relationLabelBackground};
45
+ fill-opacity: 1.0;
46
+ }
47
+
48
+ .req-title-line {
49
+ stroke: ${e.requirementBorderColor};
50
+ stroke-width: ${e.requirementBorderSize};
51
+ }
52
+ .relationshipLine {
53
+ stroke: ${e.relationColor};
54
+ stroke-width: ${f==="neo"?e.strokeWidth:"1px"};
55
+ }
56
+ .relationshipLabel {
57
+ fill: ${e.relationLabelColor};
58
+ }
59
+ .edgeLabel {
60
+ background-color: ${e.edgeLabelBackground};
61
+ }
62
+ .edgeLabel .label rect {
63
+ fill: ${e.edgeLabelBackground};
64
+ }
65
+ .edgeLabel .label text {
66
+ fill: ${e.relationLabelColor};
67
+ }
68
+ .divider {
69
+ stroke: ${e.nodeBorder};
70
+ stroke-width: 1;
71
+ }
72
+ .label {
73
+ font-family: ${e.fontFamily};
74
+ color: ${e.nodeTextColor||e.textColor};
75
+ }
76
+ .label text,span {
77
+ fill: ${e.nodeTextColor||e.textColor};
78
+ color: ${e.nodeTextColor||e.textColor};
79
+ }
80
+ .labelBkg {
81
+ background-color: ${r??e.edgeLabelBackground};
82
+ }
83
+
84
+ `},"getStyles"),bt=Et,lt={};Zn(lt,{draw:()=>Rt});var Rt=t(async function(e,d,f,m){a.info("REF0:"),a.info("Drawing requirement diagram (unified)",d);let{securityLevel:r,state:h,layout:_,look:C}=u(),E=m.db.getData(),T=Fe(d,r);E.type=m.type,E.layoutAlgorithm=Ue(_),E.nodeSpacing=h?.nodeSpacing??50,E.rankSpacing=h?.rankSpacing??50,E.markers=C==="neo"?["requirement_contains_neo","requirement_arrow_neo"]:["requirement_contains","requirement_arrow"],E.diagramId=d,await ze(E,T);let N=8;F.insertTitle(T,"requirementDiagramTitleText",h?.titleTopMargin??25,m.db.getDiagramTitle()),Le(T,N,"requirementDiagram",h?.useMaxWidth??!0)},"draw"),Ot={parser:ft,get db(){return new dt},renderer:lt,styles:bt};export{Ot as diagram};
Binary file
Binary file
@@ -0,0 +1,89 @@
1
+ import{t,a,He,S,j,G,A,u,Q}from"./chunk-v2bkkhb8.js";var M="",O="",D="",E=[],b=new Map,v=t((e)=>j(e,u()),"sanitizeText"),R=t((e)=>{switch(e.type){case"terminal":return{...e,value:v(e.value)};case"nonterminal":return{...e,name:v(e.name)};case"sequence":return{...e,elements:e.elements.map(R)};case"choice":return{...e,alternatives:e.alternatives.map(R)};case"optional":return{...e,element:R(e.element)};case"repetition":return{...e,element:R(e.element),separator:e.separator?R(e.separator):void 0};case"special":return{...e,text:v(e.text)}}},"sanitizeAstNode"),H=t(()=>{M="",O="",D="",E.length=0,b.clear(),A(),a.debug("[Railroad] Database cleared")},"clear"),Y=t((e)=>{M=v(e),a.debug("[Railroad] Title set:",e)},"setTitle"),P=t(()=>M,"getTitle"),q=t((e)=>{let n={...e,name:v(e.name),definition:R(e.definition),comment:e.comment?v(e.comment):void 0};if(a.debug("[Railroad] Adding rule:",n.name),b.has(n.name))a.warn(`[Railroad] Rule '${n.name}' is already defined. Overwriting.`);E.push(n),b.set(n.name,n)},"addRule"),U=t(()=>E,"getRules"),K=t((e)=>b.get(e),"getRule"),J=t((e)=>{O=v(e).replace(/^\s+/g,""),a.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),Z=t(()=>O,"getAccTitle"),V=t((e)=>{D=v(e).replace(/\n\s+/g,`
2
+ `),a.debug("[Railroad] Accessibility description set:",e)},"setAccDescription"),ee=t(()=>D,"getAccDescription"),te=Y,re=P,he={clear:H,setTitle:Y,getTitle:P,addRule:q,getRules:U,getRule:K,setAccTitle:J,getAccTitle:Z,setAccDescription:V,getAccDescription:ee,setDiagramTitle:te,getDiagramTitle:re},T={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},ie=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,ne=/^[\w "',.-]+$/,ae=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),L=t((e)=>{if(!e)return!1;return Object.keys(e).every((n)=>n==="railroad"||ae.has(n))},"isRailroadStyleOptions"),oe=t((e)=>{if(!e)return{};if("railroad"in e&&e.railroad)return e.railroad;return L(e)?e:{}},"extractRailroadOverrides"),le=t((e)=>{if(!e||L(e))return{};let{railroad:n,svgId:l,theme:i,look:r,...o}=e;return o},"extractThemeOverrides"),p=t((e,n)=>{if(typeof e!=="string")return n;let l=e.trim();return ie.test(l)?l:n},"sanitizeColorValue"),I=t((e,n)=>{if(typeof e!=="string")return n;let l=e.trim();return ne.test(l)?l:n},"sanitizeFontFamilyValue"),y=t((e,n)=>{let l=typeof e==="number"?e:typeof e==="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(l)&&l>=0?l:n},"sanitizeNumberValue"),se=t((e)=>{let n=typeof e==="number"?e:typeof e==="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(n)&&n>0?n:void 0},"parseThemeFontSize"),de=t((e)=>{let n=I(e.fontFamily,T.fontFamily),l=se(e.fontSize)??T.fontSize;return{...T,fontFamily:n,fontSize:l,terminalFill:p(e.secondBkg??e.secondaryColor,T.terminalFill),terminalStroke:p(e.secondaryBorderColor??e.lineColor,T.terminalStroke),terminalTextColor:p(e.secondaryTextColor??e.textColor,T.terminalTextColor),nonTerminalFill:p(e.mainBkg??e.background,T.nonTerminalFill),nonTerminalStroke:p(e.primaryBorderColor??e.lineColor,T.nonTerminalStroke),nonTerminalTextColor:p(e.primaryTextColor??e.textColor,T.nonTerminalTextColor),lineColor:p(e.lineColor,T.lineColor),markerFill:p(e.lineColor,T.markerFill),commentFill:p(e.labelBackground??e.tertiaryColor,T.commentFill),commentStroke:p(e.tertiaryBorderColor??e.lineColor,T.commentStroke),commentTextColor:p(e.tertiaryTextColor??e.textColor,T.commentTextColor),specialFill:p(e.tertiaryColor??e.secondaryColor,T.specialFill),specialStroke:p(e.tertiaryBorderColor??e.secondaryBorderColor,T.specialStroke),ruleNameColor:p(e.titleColor??e.textColor,T.ruleNameColor)}},"buildThemeDefaults"),W=t((e)=>{let n=S(),l={...He(),...n.themeVariables??{},...le(e)},i=de(l),r={...n.railroad??{},...oe(e)};return{compactMode:r.compactMode??i.compactMode,padding:y(r.padding,i.padding),verticalSeparation:y(r.verticalSeparation,i.verticalSeparation),horizontalSeparation:y(r.horizontalSeparation,i.horizontalSeparation),arcRadius:y(r.arcRadius,i.arcRadius),fontSize:y(r.fontSize,i.fontSize),fontFamily:I(r.fontFamily,i.fontFamily),terminalFill:p(r.terminalFill,i.terminalFill),terminalStroke:p(r.terminalStroke,i.terminalStroke),terminalTextColor:p(r.terminalTextColor,i.terminalTextColor),nonTerminalFill:p(r.nonTerminalFill,i.nonTerminalFill),nonTerminalStroke:p(r.nonTerminalStroke,i.nonTerminalStroke),nonTerminalTextColor:p(r.nonTerminalTextColor,i.nonTerminalTextColor),lineColor:p(r.lineColor,i.lineColor),strokeWidth:y(r.strokeWidth,i.strokeWidth),markerFill:p(r.markerFill,i.markerFill),commentFill:p(r.commentFill,i.commentFill),commentStroke:p(r.commentStroke,i.commentStroke),commentTextColor:p(r.commentTextColor,i.commentTextColor),specialFill:p(r.specialFill,i.specialFill),specialStroke:p(r.specialStroke,i.specialStroke),ruleNameColor:p(r.ruleNameColor,i.ruleNameColor),showMarkers:r.showMarkers??i.showMarkers,markerRadius:y(r.markerRadius,i.markerRadius)}},"buildRailroadStyleOptions"),Tn=t((e)=>{let{fontFamily:n,fontSize:l,terminalFill:i,terminalStroke:r,terminalTextColor:o,nonTerminalFill:g,nonTerminalStroke:c,nonTerminalTextColor:s,lineColor:f,strokeWidth:h,markerFill:m,commentFill:C,commentStroke:d,commentTextColor:x,specialFill:z,specialStroke:F,ruleNameColor:k}=W(e);return`
3
+ .railroad-diagram {
4
+ font-family: ${n};
5
+ font-size: ${l}px;
6
+ }
7
+
8
+ .railroad-terminal rect {
9
+ fill: ${i};
10
+ stroke: ${r};
11
+ stroke-width: ${h}px;
12
+ }
13
+
14
+ .railroad-terminal text {
15
+ fill: ${o};
16
+ font-family: ${n};
17
+ font-size: ${l}px;
18
+ text-anchor: middle;
19
+ dominant-baseline: middle;
20
+ }
21
+
22
+ .railroad-nonterminal rect {
23
+ fill: ${g};
24
+ stroke: ${c};
25
+ stroke-width: ${h}px;
26
+ }
27
+
28
+ .railroad-nonterminal text {
29
+ fill: ${s};
30
+ font-family: ${n};
31
+ font-size: ${l}px;
32
+ text-anchor: middle;
33
+ dominant-baseline: middle;
34
+ }
35
+
36
+ .railroad-line {
37
+ stroke: ${f};
38
+ stroke-width: ${h}px;
39
+ fill: none;
40
+ }
41
+
42
+ .railroad-start circle,
43
+ .railroad-end circle {
44
+ fill: ${m};
45
+ }
46
+
47
+ .railroad-comment ellipse {
48
+ fill: ${C};
49
+ stroke: ${d};
50
+ stroke-width: ${h}px;
51
+ }
52
+
53
+ .railroad-comment text {
54
+ fill: ${x};
55
+ font-style: italic;
56
+ font-family: ${n};
57
+ font-size: ${l}px;
58
+ text-anchor: middle;
59
+ dominant-baseline: middle;
60
+ }
61
+
62
+ .railroad-special rect {
63
+ fill: ${z};
64
+ stroke: ${F};
65
+ stroke-width: ${h}px;
66
+ stroke-dasharray: 5,3;
67
+ }
68
+
69
+ .railroad-special text {
70
+ fill: ${s};
71
+ font-family: ${n};
72
+ font-size: ${l}px;
73
+ text-anchor: middle;
74
+ dominant-baseline: middle;
75
+ }
76
+
77
+ .railroad-rule-name {
78
+ font-weight: bold;
79
+ fill: ${k};
80
+ font-family: ${n};
81
+ font-size: ${l}px;
82
+ }
83
+
84
+ .railroad-group {
85
+ /* Grouping container, no specific styles */
86
+ }
87
+ `},"getStyles"),w=class{constructor(){this.d=""}static{t(this,"PathBuilder")}moveTo(e,n){return this.d+=`M ${e} ${n} `,this}lineTo(e,n){return this.d+=`L ${e} ${n} `,this}horizontalTo(e){return this.d+=`H ${e} `,this}verticalTo(e){return this.d+=`V ${e} `,this}arcTo(e,n,l,i,r,o,g){return this.d+=`A ${e} ${n} ${l} ${i?1:0} ${r?1:0} ${o} ${g} `,this}build(){return this.d.trim()}},ce=class{constructor(e,n=W()){this.textCache=new Map,this.svg=e,this.config=n}static{t(this,"RailroadRenderer")}measureText(e){if(this.textCache.has(e))return this.textCache.get(e);let n=this.svg.append("text").attr("font-family",this.config.fontFamily).attr("font-size",this.config.fontSize).text(e),l=n.node().getBBox(),i={width:l.width,height:l.height};return n.remove(),this.textCache.set(e,i),i}renderTerminal(e,n){let l=this.measureText(n),i=l.width+this.config.padding*2,r=l.height+this.config.padding*2,o=e.append("g").attr("class","railroad-terminal");return o.append("rect").attr("x",0).attr("y",0).attr("width",i).attr("height",r).attr("rx",10).attr("ry",10),o.append("text").attr("x",i/2).attr("y",r/2).text(n),{element:o.node(),dimensions:{width:i,height:r,up:r/2,down:r/2}}}renderNonTerminal(e,n){let l=this.measureText(n),i=l.width+this.config.padding*2,r=l.height+this.config.padding*2,o=e.append("g").attr("class","railroad-nonterminal");return o.append("rect").attr("x",0).attr("y",0).attr("width",i).attr("height",r),o.append("text").attr("x",i/2).attr("y",r/2).text(n),{element:o.node(),dimensions:{width:i,height:r,up:r/2,down:r/2}}}renderSequence(e,n){let l=n.map((s)=>this.renderExpression(e,s)),i=0,r=0,o=0;for(let s of l)i+=s.dimensions.width,r=Math.max(r,s.dimensions.up),o=Math.max(o,s.dimensions.down);i+=(l.length-1)*this.config.horizontalSeparation;let g=e.append("g").attr("class","railroad-sequence"),c=0;for(let s=0;s<l.length;s++){let f=l[s],h=r-f.dimensions.up;if(g.node().appendChild(f.element).setAttribute("transform",`translate(${c}, ${h})`),s<l.length-1){let C=c+f.dimensions.width,d=C+this.config.horizontalSeparation,x=r;g.append("path").attr("class","railroad-line").attr("d",new w().moveTo(C,x).lineTo(d,x).build())}c+=f.dimensions.width+this.config.horizontalSeparation}return{element:g.node(),dimensions:{width:i,height:r+o,up:r,down:o}}}renderChoice(e,n){let l=n.map((m)=>this.renderExpression(e,m)),i=0,r=0;for(let m of l)i=Math.max(i,m.dimensions.width),r+=m.dimensions.height;r+=(l.length-1)*this.config.verticalSeparation;let o=this.config.arcRadius,g=o*4,c=i+g,s=e.append("g").attr("class","railroad-choice"),f=0,h=r/2;for(let m of l){let C=f,d=C+m.dimensions.up,x=o*2+(i-m.dimensions.width)/2;s.node().appendChild(m.element).setAttribute("transform",`translate(${x}, ${C})`);let F=new w,k=d>h;if(d===h)F.moveTo(0,h).lineTo(x,d);else F.moveTo(0,h).arcTo(o,o,0,!1,k,o,h+(k?o:-o)).lineTo(o,d-(k?o:-o)).arcTo(o,o,0,!1,!k,o*2,d).lineTo(x,d);s.append("path").attr("class","railroad-line").attr("d",F.build());let N=new w,_=x+m.dimensions.width,X=c-o*2;if(d===h)N.moveTo(_,d).lineTo(c,h);else N.moveTo(_,d).lineTo(X,d).arcTo(o,o,0,!1,!k,c-o,d+(k?-o:o)).lineTo(c-o,h+(k?o:-o)).arcTo(o,o,0,!1,k,c,h);s.append("path").attr("class","railroad-line").attr("d",N.build()),f+=m.dimensions.height+this.config.verticalSeparation}return{element:s.node(),dimensions:{width:c,height:r,up:h,down:r-h}}}renderOptional(e,n){let l=this.renderExpression(e,n),i=this.config.arcRadius,r=i*2,o=l.dimensions.width+i*4,g=l.dimensions.height+r,c=e.append("g").attr("class","railroad-optional"),s=i*2,f=r;c.node().appendChild(l.element).setAttribute("transform",`translate(${s}, ${f})`);let m=f+l.dimensions.up,C=new w().moveTo(0,m).lineTo(i*2,m);c.append("path").attr("class","railroad-line").attr("d",C.build());let d=new w().moveTo(s+l.dimensions.width,m).lineTo(o,m);c.append("path").attr("class","railroad-line").attr("d",d.build());let x=new w().moveTo(0,m).arcTo(i,i,0,!1,!1,i,m-i).lineTo(i,i).arcTo(i,i,0,!1,!0,i*2,0).lineTo(o-i*2,0).arcTo(i,i,0,!1,!0,o-i,i).lineTo(o-i,m-i).arcTo(i,i,0,!1,!1,o,m);return c.append("path").attr("class","railroad-line").attr("d",x.build()),{element:c.node(),dimensions:{width:o,height:g,up:m,down:g-m}}}renderRepetition(e,n,l){let i=this.renderExpression(e,n),r=this.config.arcRadius,o=r*2,g=i.dimensions.width+r*4,c=l===0,s=i.dimensions.height+o+(c?o:0),f=e.append("g").attr("class","railroad-repetition"),h=r*2,m=c?o:0;f.node().appendChild(i.element).setAttribute("transform",`translate(${h}, ${m})`);let d=m+i.dimensions.up;f.append("path").attr("class","railroad-line").attr("d",new w().moveTo(0,d).lineTo(r*2,d).build()),f.append("path").attr("class","railroad-line").attr("d",new w().moveTo(h+i.dimensions.width,d).lineTo(g,d).build());let x=m+i.dimensions.height+r,z=new w().moveTo(h+i.dimensions.width,d).arcTo(r,r,0,!1,!0,h+i.dimensions.width+r,d+r).lineTo(h+i.dimensions.width+r,x).arcTo(r,r,0,!1,!0,h+i.dimensions.width,x+r).lineTo(r*2,x+r).arcTo(r,r,0,!1,!0,r,x).lineTo(r,d+r).arcTo(r,r,0,!1,!0,r*2,d);if(f.append("path").attr("class","railroad-line").attr("d",z.build()),c){let F=new w().moveTo(0,d).arcTo(r,r,0,!1,!1,r,d-r).lineTo(r,r).arcTo(r,r,0,!1,!0,r*2,0).lineTo(g-r*2,0).arcTo(r,r,0,!1,!0,g-r,r).lineTo(g-r,d-r).arcTo(r,r,0,!1,!1,g,d);f.append("path").attr("class","railroad-line").attr("d",F.build())}return{element:f.node(),dimensions:{width:g,height:s,up:d,down:s-d}}}renderSpecial(e,n){let l=this.measureText("? "+n+" ?"),i=l.width+this.config.padding*2,r=l.height+this.config.padding*2,o=e.append("g").attr("class","railroad-special");return o.append("rect").attr("x",0).attr("y",0).attr("width",i).attr("height",r),o.append("text").attr("x",i/2).attr("y",r/2).text("? "+n+" ?"),{element:o.node(),dimensions:{width:i,height:r,up:r/2,down:r/2}}}renderExpression(e,n){switch(n.type){case"terminal":return this.renderTerminal(e,n.value);case"nonterminal":return this.renderNonTerminal(e,n.name);case"sequence":return this.renderSequence(e,n.elements);case"choice":return this.renderChoice(e,n.alternatives);case"optional":return this.renderOptional(e,n.element);case"repetition":return this.renderRepetition(e,n.element,n.min);case"special":return this.renderSpecial(e,n.text);default:throw Error(`Unknown node type: ${n.type}`)}}renderRule(e,n){let l=this.svg.append("g").attr("class","railroad-rule").attr("transform",`translate(0, ${n})`),i=e.name+" =",r=this.measureText(i).width+20,o=r+20,g=l.append("g"),c=this.renderExpression(g,e.definition),s=Math.max(20,c.dimensions.up),f=s-c.dimensions.up;return g.attr("transform",`translate(${o}, ${f})`),l.append("g").attr("class","railroad-rule-name-group").append("text").attr("class","railroad-rule-name").attr("x",0).attr("y",s).text(i),l.append("g").attr("class","railroad-start").append("circle").attr("cx",r).attr("cy",s).attr("r",this.config.markerRadius),l.append("g").attr("class","railroad-end").append("circle").attr("cx",o+c.dimensions.width+10).attr("cy",s).attr("r",this.config.markerRadius),l.append("path").attr("class","railroad-line").attr("d",new w().moveTo(r+this.config.markerRadius,s).lineTo(o,s).build()),l.append("path").attr("class","railroad-line").attr("d",new w().moveTo(o+c.dimensions.width,s).lineTo(o+c.dimensions.width+10-this.config.markerRadius,s).build()),{height:Math.max(40,f+c.dimensions.height+this.config.padding*2),width:o+c.dimensions.width+10+this.config.markerRadius}}renderDiagram(e){let n=this.config.padding,l=0;for(let i of e){let r=this.renderRule(i,n);n+=r.height+this.config.verticalSeparation,l=Math.max(l,r.width)}return{width:l+this.config.padding*2,height:n+this.config.padding}}},B=t((e,n,l)=>{G(e,n.height,n.width,l),e.attr("viewBox",`0 0 ${n.width} ${n.height}`)},"configureRailroadSvgSize"),me=t((e,n,l)=>{a.debug(`[Railroad] Rendering diagram
88
+ `+e);try{let i=Q(n);i.attr("class","railroad-diagram");let o=S().railroad?.useMaxWidth??!0,g=he.getRules();if(a.debug(`[Railroad] Rendering ${g.length} rules`),g.length===0){a.warn("[Railroad] No rules to render"),B(i,{height:100,width:200},o);return}let s=new ce(i,W()).renderDiagram(g);B(i,s,o),a.debug("[Railroad] Render complete")}catch(i){throw a.error("[Railroad] Render error:",i),i}},"draw"),En={draw:me};
89
+ export{he,Tn,En};
Binary file
Binary file