@calmabacus/pi-web 1.0.0 → 1.1.1

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 (382) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +10 -11
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/next-server.js.nft.json +1 -1
  5. package/.next/prerender-manifest.json +6 -38
  6. package/.next/react-loadable-manifest.json +215 -224
  7. package/.next/required-server-files.js +4 -2
  8. package/.next/required-server-files.json +4 -2
  9. package/.next/routes-manifest.json +0 -6
  10. package/.next/server/app/_global-error/page.js +2 -2
  11. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/_global-error.html +1 -1
  13. package/.next/server/app/_global-error.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  15. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  16. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  17. package/.next/server/app/_not-found/page.js +1 -1
  18. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  19. package/.next/server/app/_not-found.html +1 -1
  20. package/.next/server/app/_not-found.rsc +5 -5
  21. package/.next/server/app/_not-found.segments/_full.segment.rsc +5 -5
  22. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +8 -9
  23. package/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -3
  24. package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
  25. package/.next/server/app/api/agent/[id]/events/route.js +2 -2
  26. package/.next/server/app/api/agent/[id]/lease/route.js +1 -1
  27. package/.next/server/app/api/agent/[id]/route.js +1 -1
  28. package/.next/server/app/api/agent/new/route.js +1 -1
  29. package/.next/server/app/api/agent/running/route.js +1 -1
  30. package/.next/server/app/api/app-update/route.js +1 -1
  31. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
  32. package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
  33. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
  34. package/.next/server/app/api/auth/providers/route.js +1 -1
  35. package/.next/server/app/api/cwd/browse/route.js +1 -1
  36. package/.next/server/app/api/cwd/validate/route.js +1 -1
  37. package/.next/server/app/api/default-cwd/route.js +1 -1
  38. package/.next/server/app/api/file-index/route.js +1 -1
  39. package/.next/server/app/api/files/[...path]/route.js +2 -2
  40. package/.next/server/app/api/git/diff/route.js +1 -1
  41. package/.next/server/app/api/git/status/route.js +1 -1
  42. package/.next/server/app/api/home/route.js +1 -1
  43. package/.next/server/app/api/image-generation/route.js +1 -1
  44. package/.next/server/app/api/image-generation/settings/connections/route.js +1 -1
  45. package/.next/server/app/api/image-generation/settings/route.js +1 -1
  46. package/.next/server/app/api/models/route.js +1 -1
  47. package/.next/server/app/api/models-config/catalog/route.js +1 -1
  48. package/.next/server/app/api/models-config/discover/route.js +1 -1
  49. package/.next/server/app/api/models-config/picker/route.js +1 -1
  50. package/.next/server/app/api/models-config/route.js +1 -1
  51. package/.next/server/app/api/models-config/runtime/route.js +1 -1
  52. package/.next/server/app/api/models-config/test/route.js +1 -1
  53. package/.next/server/app/api/plugins/check/route.js +1 -1
  54. package/.next/server/app/api/plugins/route.js +1 -1
  55. package/.next/server/app/api/project-trust/route.js +1 -1
  56. package/.next/server/app/api/push/config/route.js +1 -1
  57. package/.next/server/app/api/push/subscribe/route.js +1 -1
  58. package/.next/server/app/api/sessions/[id]/auto-name/route.js +2 -2
  59. package/.next/server/app/api/sessions/[id]/auto-name/route.js.nft.json +1 -1
  60. package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
  61. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
  62. package/.next/server/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route.js +1 -1
  63. package/.next/server/app/api/sessions/[id]/export/route.js +2 -2
  64. package/.next/server/app/api/sessions/[id]/outline/route.js +1 -1
  65. package/.next/server/app/api/sessions/[id]/route.js +1 -1
  66. package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
  67. package/.next/server/app/api/sessions/route.js +1 -1
  68. package/.next/server/app/api/sessions/search/route.js +1 -1
  69. package/.next/server/app/api/skills/check/route.js +1 -1
  70. package/.next/server/app/api/skills/install/route.js +1 -1
  71. package/.next/server/app/api/skills/route.js +2 -2
  72. package/.next/server/app/api/skills/search/route.js +1 -1
  73. package/.next/server/app/api/skills/update/route.js +1 -1
  74. package/.next/server/app/api/subagents/[id]/route.js +1 -1
  75. package/.next/server/app/api/subagents/profiles/route.js +1 -1
  76. package/.next/server/app/api/subagents/settings/route.js +1 -1
  77. package/.next/server/app/api/terminal/[id]/events/route.js +2 -2
  78. package/.next/server/app/api/terminal/[id]/route.js +1 -1
  79. package/.next/server/app/api/terminal/route.js +1 -1
  80. package/.next/server/app/api/tools/settings/route.js +1 -1
  81. package/.next/server/app/api/web-auth/route.js +1 -1
  82. package/.next/server/app/api/worktrees/route.js +1 -1
  83. package/.next/server/app/index.html +1 -1
  84. package/.next/server/app/index.rsc +7 -7
  85. package/.next/server/app/index.segments/__PAGE__.segment.rsc +7 -7
  86. package/.next/server/app/index.segments/_full.segment.rsc +7 -7
  87. package/.next/server/app/index.segments/_tree.segment.rsc +3 -3
  88. package/.next/server/app/login/page.js +2 -2
  89. package/.next/server/app/login/page.js.nft.json +1 -1
  90. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  91. package/.next/server/app/login.html +1 -1
  92. package/.next/server/app/login.rsc +6 -6
  93. package/.next/server/app/login.segments/_full.segment.rsc +6 -6
  94. package/.next/server/app/login.segments/_tree.segment.rsc +3 -3
  95. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
  96. package/.next/server/app/manifest.webmanifest/route.js +2 -2
  97. package/.next/server/app/manifest.webmanifest.body +1 -1
  98. package/.next/server/app/page.js +21 -21
  99. package/.next/server/app/page.js.nft.json +1 -1
  100. package/.next/server/app/page_client-reference-manifest.js +1 -1
  101. package/.next/server/app-paths-manifest.json +10 -11
  102. package/.next/server/chunks/102.js +90 -0
  103. package/.next/server/chunks/11.js +1 -0
  104. package/.next/server/chunks/1286.js +1 -0
  105. package/.next/server/chunks/{4563.js → 1412.js} +1 -1
  106. package/.next/server/chunks/1605.js +1 -0
  107. package/.next/server/chunks/169.js +1 -0
  108. package/.next/server/chunks/{3186.js → 18.js} +1 -1
  109. package/.next/server/chunks/2022.js +1 -0
  110. package/.next/server/chunks/{4267.js → 2156.js} +1 -1
  111. package/.next/server/chunks/2157.js +1 -0
  112. package/.next/server/chunks/2243.js +1 -1
  113. package/.next/server/chunks/2325.js +3 -3
  114. package/.next/server/chunks/2838.js +1 -0
  115. package/.next/server/chunks/2897.js +79 -0
  116. package/.next/server/chunks/3227.js +1 -0
  117. package/.next/server/chunks/3266.js +1 -0
  118. package/.next/server/chunks/3379.js +1 -1
  119. package/.next/server/chunks/3428.js +32 -0
  120. package/.next/server/chunks/3479.js +1 -0
  121. package/.next/server/chunks/367.js +115 -0
  122. package/.next/server/chunks/3698.js +93 -0
  123. package/.next/server/chunks/{8713.js → 3709.js} +4 -4
  124. package/.next/server/chunks/4107.js +62 -0
  125. package/.next/server/chunks/426.js +10 -10
  126. package/.next/server/chunks/{7799.js → 4569.js} +1 -1
  127. package/.next/server/chunks/{8782.js → 4755.js} +2 -2
  128. package/.next/server/chunks/5002.js +1 -0
  129. package/.next/server/chunks/5112.js +1 -0
  130. package/.next/server/chunks/5289.js +8 -0
  131. package/.next/server/chunks/5452.js +23 -0
  132. package/.next/server/chunks/5453.js +1 -0
  133. package/.next/server/chunks/5582.js +3 -3
  134. package/.next/server/chunks/5749.js +27 -0
  135. package/.next/server/chunks/5782.js +36 -0
  136. package/.next/server/chunks/6081.js +1 -0
  137. package/.next/server/chunks/{6253.js → 6163.js} +1 -1
  138. package/.next/server/chunks/6169.js +64 -0
  139. package/.next/server/chunks/{1094.js → 6208.js} +17 -5
  140. package/.next/server/chunks/6399.js +24 -0
  141. package/.next/server/chunks/6429.js +3 -3
  142. package/.next/server/chunks/6496.js +1 -0
  143. package/.next/server/chunks/6823.js +215 -0
  144. package/.next/server/chunks/{4548.js → 6888.js} +1 -1
  145. package/.next/server/chunks/7245.js +77 -0
  146. package/.next/server/chunks/7307.js +1 -1
  147. package/.next/server/chunks/7372.js +287 -0
  148. package/.next/server/chunks/7384.js +226 -0
  149. package/.next/server/chunks/7516.js +1 -0
  150. package/.next/server/chunks/7531.js +24 -0
  151. package/.next/server/chunks/7591.js +1 -0
  152. package/.next/server/chunks/7755.js +138 -0
  153. package/.next/server/chunks/7916.js +1 -0
  154. package/.next/server/chunks/8078.js +94 -0
  155. package/.next/server/chunks/8253.js +41 -0
  156. package/.next/server/chunks/8635.js +1 -0
  157. package/.next/server/chunks/8688.js +1 -0
  158. package/.next/server/chunks/8872.js +1 -0
  159. package/.next/server/chunks/9006.js +1 -0
  160. package/.next/server/chunks/9018.js +1 -0
  161. package/.next/server/chunks/9047.js +1 -0
  162. package/.next/server/chunks/9108.js +1 -0
  163. package/.next/server/chunks/9280.js +91 -90
  164. package/.next/server/chunks/9419.js +1 -0
  165. package/.next/server/chunks/9430.js +1 -0
  166. package/.next/server/chunks/9586.js +1 -0
  167. package/.next/server/chunks/9775.js +1 -0
  168. package/.next/server/chunks/992.js +1 -0
  169. package/.next/server/chunks/9926.js +1 -0
  170. package/.next/server/middleware-build-manifest.js +1 -1
  171. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  172. package/.next/server/next-font-manifest.js +1 -1
  173. package/.next/server/next-font-manifest.json +1 -1
  174. package/.next/server/pages/404.html +1 -1
  175. package/.next/server/pages/500.html +1 -1
  176. package/.next/server/server-reference-manifest.json +1 -1
  177. package/.next/static/chunks/1213.e5c6e70a79b5f7e6.js +24 -0
  178. package/.next/static/chunks/1278-8765826bf835aae1.js +1 -0
  179. package/.next/static/chunks/1519.2f596e5f5af9ef57.js +62 -0
  180. package/.next/static/chunks/1974.9f7176c5854f9939.js +32 -0
  181. package/.next/static/chunks/2280.e03ab3748922284c.js +1 -0
  182. package/.next/static/chunks/{398.ffa02af9062a3950.js → 2521.7f745f50d30076e7.js} +1 -1
  183. package/.next/static/chunks/2585.4d6aa847c780c666.js +1 -0
  184. package/.next/static/chunks/2589.e456c324416f9615.js +1 -0
  185. package/.next/static/chunks/2600.45ba17a0f756fc31.js +1 -0
  186. package/.next/static/chunks/26d302b2.b77b53a34ca944aa.js +122 -0
  187. package/.next/static/chunks/2768.1a75ba9e2be767cf.js +1 -0
  188. package/.next/static/chunks/2931.c2acdbf72808b646.js +41 -0
  189. package/.next/static/chunks/3016.406e568aa95ff867.js +1 -0
  190. package/.next/static/chunks/{4004.74b9bcf5478b1663.js → 3022.972047558a20553a.js} +30 -18
  191. package/.next/static/chunks/3064.3a2a1e7cd4fdca5f.js +1 -0
  192. package/.next/static/chunks/3174.03fbed7b7d7a8256.js +1 -0
  193. package/.next/static/chunks/3189.b048866768087750.js +1 -0
  194. package/.next/static/chunks/3217.1a053843c58b70b5.js +24 -0
  195. package/.next/static/chunks/3308.b58803a5e26a56d8.js +74 -0
  196. package/.next/static/chunks/331.fc5d78e1e91daf43.js +1 -0
  197. package/.next/static/chunks/3510.5d4d1c79533e080c.js +1 -0
  198. package/.next/static/chunks/364.ce5400a9dd70b9dc.js +1 -0
  199. package/.next/static/chunks/3658-625de9bc05634c7f.js +7 -0
  200. package/.next/static/chunks/{9793.4567af813117ad25.js → 3789.c418b69121761983.js} +1 -1
  201. package/.next/static/chunks/3831.25ae62d10dccc27a.js +1 -0
  202. package/.next/static/chunks/395.3621e96c2bdfec18.js +90 -0
  203. package/.next/static/chunks/{da12927c.476aa688a637649c.js → 3a7aa434.280905293fc59b77.js} +3 -3
  204. package/.next/static/chunks/4020.3cc19c463c49f969.js +23 -0
  205. package/.next/static/chunks/{1063.775c442bdbeef08b.js → 4035.0acc428926d5c8dd.js} +1 -1
  206. package/.next/static/chunks/405.0902e4f6eb7bd9a2.js +215 -0
  207. package/.next/static/chunks/4159.bb7124776cbd5f2d.js +138 -0
  208. package/.next/static/chunks/{4405.7a19458960a1058e.js → 4208.8ea72bb20afa959e.js} +2 -2
  209. package/.next/static/chunks/4263.ffa8d9bd8a0faaae.js +1 -0
  210. package/.next/static/chunks/4561.d1a3aaca8bae3224.js +34 -0
  211. package/.next/static/chunks/4592.507c41f345e21bee.js +93 -0
  212. package/.next/static/chunks/4799.3c6182ded3f32244.js +1 -0
  213. package/.next/static/chunks/514.b804c51b26f5e126.js +1 -0
  214. package/.next/static/chunks/{3336.a76f9485fe7cb762.js → 5270.28592864d38e881c.js} +1 -1
  215. package/.next/static/chunks/52733464.b343531c2f886252.js +1 -0
  216. package/.next/static/chunks/5354.b559c717a607dc5c.js +1 -0
  217. package/.next/static/chunks/{3995.eca0f5bef1fc3ae5.js → 5448.d3972d9fb464b54f.js} +2 -2
  218. package/.next/static/chunks/587.d52737d7288c11b4.js +1 -0
  219. package/.next/static/chunks/5909.9e37f7b495b11995.js +115 -0
  220. package/.next/static/chunks/{7331.2add3c4e125a2dba.js → 5949.5504b3545fcc3d34.js} +1 -1
  221. package/.next/static/chunks/{9698.4d09a99b9d99f3e5.js → 6361.893d04ac34fa1b49.js} +3 -3
  222. package/.next/static/chunks/{5526.ff46471041fdcb79.js → 6774.8cd53427dbf32cac.js} +1 -1
  223. package/.next/static/chunks/6968.b80277c724dbc96e.js +1 -0
  224. package/.next/static/chunks/{973.88e865b52eff479a.js → 7113.93146ac5e46c1859.js} +1 -1
  225. package/.next/static/chunks/7236.55a9728d35f5b8a6.js +1 -0
  226. package/.next/static/chunks/7390.bc7f4ed9f76fe9e1.js +1 -0
  227. package/.next/static/chunks/7806.a903780fcfa3a30e.js +1 -0
  228. package/.next/static/chunks/7997.517120d5fcd77d6b.js +1 -0
  229. package/.next/static/chunks/8216.64a72d4d35ea7be0.js +1 -0
  230. package/.next/static/chunks/830.a6da04c322e3204a.js +1 -0
  231. package/.next/static/chunks/{4202.8440832386f023c7.js → 8378.fa91de3406f554c9.js} +1 -1
  232. package/.next/static/chunks/8501.c34c2a9170eb458d.js +79 -0
  233. package/.next/static/chunks/8663.6ec5792fb4952e45.js +27 -0
  234. package/.next/static/chunks/872.96937e758ddce860.js +1 -0
  235. package/.next/static/chunks/8803.75bde095fe3613f5.js +1 -0
  236. package/.next/static/chunks/8863.72f5dbb820a0e4c3.js +1 -0
  237. package/.next/static/chunks/90542734.90283a0c0c838d51.js +1 -0
  238. package/.next/static/chunks/9379.5bc9c9343ec5a16c.js +64 -0
  239. package/.next/static/chunks/9389.906fe7aa9cd6a170.js +1 -0
  240. package/.next/static/chunks/9472.8d21dc4771024c26.js +94 -0
  241. package/.next/static/chunks/966.50e905df30903189.js +1 -0
  242. package/.next/static/chunks/{2703.495a65ed14b2f094.js → 9884.c6cac4659c50ebfa.js} +3 -3
  243. package/.next/static/chunks/app/{layout-f900e4d3794672ad.js → layout-900d990b4229e169.js} +1 -1
  244. package/.next/static/chunks/app/page-6e8e4795e738ba8b.js +232 -0
  245. package/.next/static/chunks/{1ba63609.b2ae90f43319a29e.js → e413bedd.3a12a8cb02e28fdf.js} +1 -1
  246. package/.next/static/chunks/ea233666.ebaeaf2eb673ecfa.js +62 -0
  247. package/.next/static/chunks/framework-3a41051109d8ea39.js +1 -0
  248. package/.next/static/chunks/webpack-d022bdbc1a873e3c.js +1 -0
  249. package/.next/static/css/{89aae141d5b3edde.css → 725eb03c18cc730c.css} +1 -1
  250. package/.next/static/css/be8ae7904992a245.css +1 -0
  251. package/.next/static/gQm9NqajOt7lJ9sjH6Hab/_buildManifest.js +1 -0
  252. package/.next/trace +7 -7
  253. package/.next/trace-build +1 -1
  254. package/README.md +1 -1
  255. package/next.config.ts +17 -1
  256. package/package.json +5 -5
  257. package/public/favicon.ico +0 -0
  258. package/public/favicon.svg +16 -0
  259. package/public/icons/apple-touch-icon.png +0 -0
  260. package/public/icons/icon-192.png +0 -0
  261. package/public/icons/icon-512.png +0 -0
  262. package/public/pi-web-mark.svg +3 -0
  263. package/.next/server/app/favicon.ico/route.js +0 -1
  264. package/.next/server/app/favicon.ico/route.js.nft.json +0 -1
  265. package/.next/server/app/favicon.ico.body +0 -0
  266. package/.next/server/app/favicon.ico.meta +0 -1
  267. package/.next/server/chunks/1515.js +0 -1
  268. package/.next/server/chunks/1555.js +0 -1
  269. package/.next/server/chunks/1601.js +0 -24
  270. package/.next/server/chunks/1625.js +0 -1
  271. package/.next/server/chunks/1800.js +0 -1
  272. package/.next/server/chunks/1860.js +0 -1
  273. package/.next/server/chunks/2075.js +0 -23
  274. package/.next/server/chunks/2106.js +0 -1
  275. package/.next/server/chunks/2169.js +0 -36
  276. package/.next/server/chunks/2190.js +0 -1
  277. package/.next/server/chunks/2408.js +0 -1
  278. package/.next/server/chunks/2452.js +0 -93
  279. package/.next/server/chunks/2744.js +0 -1
  280. package/.next/server/chunks/2903.js +0 -1
  281. package/.next/server/chunks/295.js +0 -1
  282. package/.next/server/chunks/3012.js +0 -1
  283. package/.next/server/chunks/3383.js +0 -27
  284. package/.next/server/chunks/3569.js +0 -1
  285. package/.next/server/chunks/3869.js +0 -8
  286. package/.next/server/chunks/3894.js +0 -1
  287. package/.next/server/chunks/4315.js +0 -1
  288. package/.next/server/chunks/4367.js +0 -1
  289. package/.next/server/chunks/4372.js +0 -1
  290. package/.next/server/chunks/4538.js +0 -24
  291. package/.next/server/chunks/4674.js +0 -1
  292. package/.next/server/chunks/4980.js +0 -1
  293. package/.next/server/chunks/5029.js +0 -1
  294. package/.next/server/chunks/5974.js +0 -77
  295. package/.next/server/chunks/6052.js +0 -141
  296. package/.next/server/chunks/611.js +0 -1
  297. package/.next/server/chunks/6337.js +0 -1
  298. package/.next/server/chunks/6366.js +0 -80
  299. package/.next/server/chunks/673.js +0 -287
  300. package/.next/server/chunks/6916.js +0 -226
  301. package/.next/server/chunks/703.js +0 -1
  302. package/.next/server/chunks/7233.js +0 -1
  303. package/.next/server/chunks/7265.js +0 -215
  304. package/.next/server/chunks/7561.js +0 -1
  305. package/.next/server/chunks/7710.js +0 -1
  306. package/.next/server/chunks/7744.js +0 -64
  307. package/.next/server/chunks/7790.js +0 -1
  308. package/.next/server/chunks/7872.js +0 -1
  309. package/.next/server/chunks/8106.js +0 -1
  310. package/.next/server/chunks/8294.js +0 -1
  311. package/.next/server/chunks/8333.js +0 -79
  312. package/.next/server/chunks/835.js +0 -1
  313. package/.next/server/chunks/8397.js +0 -41
  314. package/.next/server/chunks/8604.js +0 -115
  315. package/.next/server/chunks/8679.js +0 -1
  316. package/.next/server/chunks/8920.js +0 -62
  317. package/.next/server/chunks/922.js +0 -5
  318. package/.next/server/chunks/9486.js +0 -1
  319. package/.next/server/chunks/9509.js +0 -1
  320. package/.next/server/chunks/9510.js +0 -90
  321. package/.next/static/LkMtlo9B5W74YX7J-8ccI/_buildManifest.js +0 -1
  322. package/.next/static/chunks/103.23142a67b02246a8.js +0 -215
  323. package/.next/static/chunks/1032.12b382a9096ab2a4.js +0 -1
  324. package/.next/static/chunks/1278-b81177f3a674e4e0.js +0 -1
  325. package/.next/static/chunks/1327.09252bb80616cc3a.js +0 -1
  326. package/.next/static/chunks/1708.d029f8776e4578de.js +0 -1
  327. package/.next/static/chunks/1781.866132cea8e77cd0.js +0 -1
  328. package/.next/static/chunks/2081.47b6e9391094055f.js +0 -1
  329. package/.next/static/chunks/2181.ba21239d3ac39f81.js +0 -1
  330. package/.next/static/chunks/2258.4defa30121ef44a5.js +0 -1
  331. package/.next/static/chunks/2325.23caf22075e51aa5.js +0 -1
  332. package/.next/static/chunks/2356.523277bb8c6bf72a.js +0 -23
  333. package/.next/static/chunks/2418.b5d9e177e10a686e.js +0 -1
  334. package/.next/static/chunks/2480.cf27ca02e5b19761.js +0 -24
  335. package/.next/static/chunks/2539.c5a4f2fd8e421c70.js +0 -41
  336. package/.next/static/chunks/268.72794ee2773c2060.js +0 -80
  337. package/.next/static/chunks/2695.6f49435bae1e6f33.js +0 -90
  338. package/.next/static/chunks/2821.934bcf60fbdc28c6.js +0 -1
  339. package/.next/static/chunks/3251.0dce7a0a0ff67235.js +0 -1
  340. package/.next/static/chunks/3308.be8762955e7155d1.js +0 -73
  341. package/.next/static/chunks/3716.72bf4c9d7325debd.js +0 -1
  342. package/.next/static/chunks/4238.6f102dcbcf2ae339.js +0 -141
  343. package/.next/static/chunks/4424.fd0c93a807a333e1.js +0 -1
  344. package/.next/static/chunks/4866.d1060b4faf2ae1e2.js +0 -1
  345. package/.next/static/chunks/4970.8a63b4953b0e4946.js +0 -1
  346. package/.next/static/chunks/5020.9ac8d0dc8390bb6e.js +0 -1
  347. package/.next/static/chunks/5137.f163e94c74a94d01.js +0 -1
  348. package/.next/static/chunks/5242.7b643c6b3394cac1.js +0 -1
  349. package/.next/static/chunks/5361.afc00ab2626bacbf.js +0 -1
  350. package/.next/static/chunks/5521.cfdf2cfc6db31407.js +0 -1
  351. package/.next/static/chunks/5681.dd0e66b0de16e54b.js +0 -27
  352. package/.next/static/chunks/6121.eb9023b1cbc78ee2.js +0 -1
  353. package/.next/static/chunks/6161.4836cd7d031026bf.js +0 -1
  354. package/.next/static/chunks/6195.1153369f5f8b13a2.js +0 -24
  355. package/.next/static/chunks/6294.24f510c0c3e3714c.js +0 -1
  356. package/.next/static/chunks/6654.16f727522ec47f5a.js +0 -1
  357. package/.next/static/chunks/6794.f746d8fbbf248ecf.js +0 -93
  358. package/.next/static/chunks/7256.e07cf52d87d40252.js +0 -1
  359. package/.next/static/chunks/7268.236544be8e242c16.js +0 -1
  360. package/.next/static/chunks/7543.89f7b805ed0f2901.js +0 -1
  361. package/.next/static/chunks/8200.a36b9f8c983c6b9e.js +0 -5
  362. package/.next/static/chunks/869.7152372b662e31af.js +0 -1
  363. package/.next/static/chunks/8863.fa0320ea586efb3b.js +0 -1
  364. package/.next/static/chunks/8885.cf60cac98bf8b70c.js +0 -79
  365. package/.next/static/chunks/8901.e117d206a917bda0.js +0 -1
  366. package/.next/static/chunks/90542734.ae439f2382f58c51.js +0 -1
  367. package/.next/static/chunks/918.6a9bbe564e4a2d0f.js +0 -115
  368. package/.next/static/chunks/934.9006461bd0548660.js +0 -1
  369. package/.next/static/chunks/9445-fde6feabcb39142c.js +0 -7
  370. package/.next/static/chunks/9522.c7c6e9c330f9ba6b.js +0 -1
  371. package/.next/static/chunks/9614.3221013d7f0af27f.js +0 -64
  372. package/.next/static/chunks/9705.40a82b97f214e28b.js +0 -1
  373. package/.next/static/chunks/9764.2669775c6e107a01.js +0 -62
  374. package/.next/static/chunks/993e5495.8797001fcfcf2889.js +0 -62
  375. package/.next/static/chunks/9974.9a0f79beca65e8c4.js +0 -34
  376. package/.next/static/chunks/app/page-3c64134d63e2eff9.js +0 -232
  377. package/.next/static/chunks/bf2ff291.3a109dffc1fe84af.js +0 -122
  378. package/.next/static/chunks/db9d41be.e72ce090a86a3691.js +0 -1
  379. package/.next/static/chunks/framework-b33a8f5d57cd8d87.js +0 -1
  380. package/.next/static/chunks/webpack-25464d90fe89e601.js +0 -1
  381. package/.next/static/css/2ac0338d70747eca.css +0 -1
  382. /package/.next/static/{LkMtlo9B5W74YX7J-8ccI → gQm9NqajOt7lJ9sjH6Hab}/_ssgManifest.js +0 -0
@@ -1,79 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8885],{8885:(e,t,s)=>{s.d(t,{diagram:()=>p});var i=s(16443),r=s(45097),n=s(48362);s(4462),s(94340),s(23462),s(44701),s(77809),s(19836),s(39457);var a=s(86305),l=s(37325),o=s(56037),c=s(89851),h=function(){var e=(0,c.K)(function(e,t,s,i){for(s=s||{},i=e.length;i--;s[e[i]]=t);return s},"o"),t=[1,3],s=[1,4],i=[1,5],r=[1,6],n=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],a=[1,22],l=[2,7],o=[1,26],h=[1,27],u=[1,28],y=[1,29],m=[1,33],d=[1,34],E=[1,35],p=[1,36],R=[1,37],g=[1,38],_=[1,24],f=[1,31],S=[1,32],I=[1,30],b=[1,39],T=[1,40],k=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],N=[1,61],q=[89,90],C=[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],A=[27,29],L=[1,70],$=[1,71],v=[1,72],x=[1,73],w=[1,74],O=[1,75],D=[1,76],M=[1,83],F=[1,80],K=[1,84],P=[1,85],V=[1,86],U=[1,87],Y=[1,88],B=[1,89],Q=[1,90],H=[1,91],W=[1,92],j=[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],z=[63,64],G=[1,101],X=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],J=[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],Z=[1,110],ee=[1,106],et=[1,107],es=[1,108],ei=[1,109],er=[1,111],en=[1,116],ea=[1,117],el=[1,114],eo=[1,115],ec={trace:(0,c.K)(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:(0,c.K)(function(e,t,s,i,r,n,a){var l=n.length-1;switch(r){case 4:this.$=n[l].trim(),i.setAccTitle(this.$);break;case 5:case 6:this.$=n[l].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(n[l-3],n[l-4]);break;case 22:i.addRequirement(n[l-5],n[l-6]),i.setClass([n[l-5]],n[l-3]);break;case 23:i.setNewReqId(n[l-2]);break;case 24:i.setNewReqText(n[l-2]);break;case 25:i.setNewReqRisk(n[l-2]);break;case 26:i.setNewReqVerifyMethod(n[l-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(n[l-3]);break;case 43:i.addElement(n[l-5]),i.setClass([n[l-5]],n[l-3]);break;case 44:i.setNewElementType(n[l-2]);break;case 45:i.setNewElementDocRef(n[l-2]);break;case 48:i.addRelationship(n[l-2],n[l],n[l-4]);break;case 49:i.addRelationship(n[l-2],n[l-4],n[l]);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.$=n[l-2],i.defineClass(n[l-1],n[l]);break;case 58:i.setClass(n[l-1],n[l]);break;case 59:i.setClass([n[l-2]],n[l]);break;case 60:case 62:case 65:this.$=[n[l]];break;case 61:case 63:this.$=n[l-2].concat([n[l]]);break;case 64:this.$=n[l-2],i.setCssStyle(n[l-1],n[l]);break;case 66:n[l-2].push(n[l]),this.$=n[l-2];break;case 68:this.$=n[l-1]+n[l]}},"anonymous"),table:[{3:1,4:2,6:t,9:s,11:i,13:r},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:s,11:i,13:r},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(n,[2,6]),{3:12,4:2,6:t,9:s,11:i,13:r},{1:[2,2]},{4:17,5:a,7:13,8:l,9:s,11:i,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:o,22:h,23:u,24:y,25:23,33:25,41:m,42:d,43:E,44:p,45:R,46:g,54:_,72:f,74:S,77:I,89:b,90:T},e(n,[2,4]),e(n,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:a,7:42,8:l,9:s,11:i,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:o,22:h,23:u,24:y,25:23,33:25,41:m,42:d,43:E,44:p,45:R,46:g,54:_,72:f,74:S,77:I,89:b,90:T},{4:17,5:a,7:43,8:l,9:s,11:i,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:o,22:h,23:u,24:y,25:23,33:25,41:m,42:d,43:E,44:p,45:R,46:g,54:_,72:f,74:S,77:I,89:b,90:T},{4:17,5:a,7:44,8:l,9:s,11:i,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:o,22:h,23:u,24:y,25:23,33:25,41:m,42:d,43:E,44:p,45:R,46:g,54:_,72:f,74:S,77:I,89:b,90:T},{4:17,5:a,7:45,8:l,9:s,11:i,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:o,22:h,23:u,24:y,25:23,33:25,41:m,42:d,43:E,44:p,45:R,46:g,54:_,72:f,74:S,77:I,89:b,90:T},{4:17,5:a,7:46,8:l,9:s,11:i,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:o,22:h,23:u,24:y,25:23,33:25,41:m,42:d,43:E,44:p,45:R,46:g,54:_,72:f,74:S,77:I,89:b,90:T},{4:17,5:a,7:47,8:l,9:s,11:i,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:o,22:h,23:u,24:y,25:23,33:25,41:m,42:d,43:E,44:p,45:R,46:g,54:_,72:f,74:S,77:I,89:b,90:T},{4:17,5:a,7:48,8:l,9:s,11:i,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:o,22:h,23:u,24:y,25:23,33:25,41:m,42:d,43:E,44:p,45:R,46:g,54:_,72:f,74:S,77:I,89:b,90:T},{4:17,5:a,7:49,8:l,9:s,11:i,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:o,22:h,23:u,24:y,25:23,33:25,41:m,42:d,43:E,44:p,45:R,46:g,54:_,72:f,74:S,77:I,89:b,90:T},{4:17,5:a,7:50,8:l,9:s,11:i,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:o,22:h,23:u,24:y,25:23,33:25,41:m,42:d,43:E,44:p,45:R,46:g,54:_,72:f,74:S,77:I,89:b,90:T},{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(k,[2,17]),e(k,[2,18]),e(k,[2,19]),e(k,[2,20]),{30:60,33:62,75:N,89:b,90:T},{30:63,33:62,75:N,89:b,90:T},{30:64,33:62,75:N,89:b,90:T},e(q,[2,29]),e(q,[2,30]),e(q,[2,31]),e(q,[2,32]),e(q,[2,33]),e(q,[2,34]),e(C,[2,81]),e(C,[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(A,[2,79]),e(A,[2,80]),{27:[1,67],29:[1,68]},e(A,[2,85]),e(A,[2,86]),{62:69,65:L,66:$,67:v,68:x,69:w,70:O,71:D},{62:77,65:L,66:$,67:v,68:x,69:w,70:O,71:D},{30:78,33:62,75:N,89:b,90:T},{73:79,75:M,76:F,78:81,79:82,80:K,81:P,82:V,83:U,84:Y,85:B,86:Q,87:H,88:W},e(j,[2,60]),e(j,[2,62]),{73:93,75:M,76:F,78:81,79:82,80:K,81:P,82:V,83:U,84:Y,85:B,86:Q,87:H,88:W},{30:94,33:62,75:N,76:F,89:b,90:T},{5:[1,95]},{30:96,33:62,75:N,89:b,90:T},{5:[1,97]},{30:98,33:62,75:N,89:b,90:T},{63:[1,99]},e(z,[2,50]),e(z,[2,51]),e(z,[2,52]),e(z,[2,53]),e(z,[2,54]),e(z,[2,55]),e(z,[2,56]),{64:[1,100]},e(k,[2,59],{76:F}),e(k,[2,64],{76:G}),{33:103,75:[1,102],89:b,90:T},e(X,[2,65],{79:104,75:M,80:K,81:P,82:V,83:U,84:Y,85:B,86:Q,87:H,88:W}),e(J,[2,67]),e(J,[2,69]),e(J,[2,70]),e(J,[2,71]),e(J,[2,72]),e(J,[2,73]),e(J,[2,74]),e(J,[2,75]),e(J,[2,76]),e(J,[2,77]),e(J,[2,78]),e(k,[2,57],{76:G}),e(k,[2,58],{76:F}),{5:Z,28:105,31:ee,34:et,36:es,38:ei,40:er},{27:[1,112],76:F},{5:en,40:ea,56:113,57:el,59:eo},{27:[1,118],76:F},{33:119,89:b,90:T},{33:120,89:b,90:T},{75:M,78:121,79:82,80:K,81:P,82:V,83:U,84:Y,85:B,86:Q,87:H,88:W},e(j,[2,61]),e(j,[2,63]),e(J,[2,68]),e(k,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:Z,28:126,31:ee,34:et,36:es,38:ei,40:er},e(k,[2,28]),{5:[1,127]},e(k,[2,42]),{32:[1,128]},{32:[1,129]},{5:en,40:ea,56:130,57:el,59:eo},e(k,[2,47]),{5:[1,131]},e(k,[2,48]),e(k,[2,49]),e(X,[2,66],{79:104,75:M,80:K,81:P,82:V,83:U,84:Y,85:B,86:Q,87:H,88:W}),{33:132,89:b,90:T},{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(k,[2,27]),{5:Z,28:145,31:ee,34:et,36:es,38:ei,40:er},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(k,[2,46]),{5:en,40:ea,56:152,57:el,59:eo},{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(k,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(k,[2,43]),{5:Z,28:159,31:ee,34:et,36:es,38:ei,40:er},{5:Z,28:160,31:ee,34:et,36:es,38:ei,40:er},{5:Z,28:161,31:ee,34:et,36:es,38:ei,40:er},{5:Z,28:162,31:ee,34:et,36:es,38:ei,40:er},{5:en,40:ea,56:163,57:el,59:eo},{5:en,40:ea,56:164,57:el,59:eo},e(k,[2,23]),e(k,[2,24]),e(k,[2,25]),e(k,[2,26]),e(k,[2,44]),e(k,[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:(0,c.K)(function(e,t){if(t.recoverable)this.trace(e);else{var s=Error(e);throw s.hash=t,s}},"parseError"),parse:(0,c.K)(function(e){var t=this,s=[0],i=[],r=[null],n=[],a=this.table,l="",o=0,h=0,u=0,y=n.slice.call(arguments,1),m=Object.create(this.lexer),d={};for(var E in this.yy)Object.prototype.hasOwnProperty.call(this.yy,E)&&(d[E]=this.yy[E]);m.setInput(e,d),d.lexer=m,d.parser=this,void 0===m.yylloc&&(m.yylloc={});var p=m.yylloc;n.push(p);var R=m.options&&m.options.ranges;function g(){var e;return"number"!=typeof(e=i.pop()||m.lex()||1)&&(e instanceof Array&&(e=(i=e).pop()),e=t.symbols_[e]||e),e}"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,c.K)(function(e){s.length=s.length-2*e,r.length=r.length-e,n.length=n.length-e},"popStack"),(0,c.K)(g,"lex");for(var _,f,S,I,b,T,k,N,q,C={};;){if(S=s[s.length-1],this.defaultActions[S]?I=this.defaultActions[S]:(null==_&&(_=g()),I=a[S]&&a[S][_]),void 0===I||!I.length||!I[0]){var A="";for(T in q=[],a[S])this.terminals_[T]&&T>2&&q.push("'"+this.terminals_[T]+"'");A=m.showPosition?"Parse error on line "+(o+1)+":\n"+m.showPosition()+"\nExpecting "+q.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:m.match,token:this.terminals_[_]||_,line:m.yylineno,loc:p,expected:q})}if(I[0]instanceof Array&&I.length>1)throw Error("Parse Error: multiple actions possible at state: "+S+", token: "+_);switch(I[0]){case 1:s.push(_),r.push(m.yytext),n.push(m.yylloc),s.push(I[1]),_=null,f?(_=f,f=null):(h=m.yyleng,l=m.yytext,o=m.yylineno,p=m.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[I[1]][1],C.$=r[r.length-k],C._$={first_line:n[n.length-(k||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(k||1)].first_column,last_column:n[n.length-1].last_column},R&&(C._$.range=[n[n.length-(k||1)].range[0],n[n.length-1].range[1]]),void 0!==(b=this.performAction.apply(C,[l,h,o,d,I[1],r,n].concat(y))))return b;k&&(s=s.slice(0,-1*k*2),r=r.slice(0,-1*k),n=n.slice(0,-1*k)),s.push(this.productions_[I[1]][0]),r.push(C.$),n.push(C._$),N=a[s[s.length-2]][s[s.length-1]],s.push(N);break;case 3:return!0}}return!0},"parse")};function eh(){this.yy={}}return ec.lexer={EOF:1,parseError:(0,c.K)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,c.K)(function(e,t){return this.yy=t||this.yy||{},this._input=e,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]),this.offset=0,this},"setInput"),input:(0,c.K)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,c.K)(function(e){var t=e.length,s=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,c.K)(function(){return this._more=!0,this},"more"),reject:(0,c.K)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,c.K)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,c.K)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,c.K)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,c.K)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,c.K)(function(e,t){var s,i,r;if(this.options.backtrack_lexer&&(r={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&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),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+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],s=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var n in r)this[n]=r[n];return!1},"test_match"),next:(0,c.K)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e,t,s,i,r=this._currentRules(),n=0;n<r.length;n++)if((s=this._input.match(this.rules[r[n]]))&&(!t||s[0].length>t[0].length)){if(t=s,i=n,this.options.backtrack_lexer){if(!1!==(e=this.test_match(s,r[n])))return e;if(!this._backtrack)return!1;t=!1;continue}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[i]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,c.K)(function(){var e=this.next();return e||this.lex()},"lex"),begin:(0,c.K)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,c.K)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.K)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.K)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,c.K)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,c.K)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,c.K)(function(e,t,s,i){switch(s){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 58:case 65: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:case 14:case 15:case 56: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;case 50:case 68:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 57:case 64:this.begin("string");break;case 59:return this.begin("style"),72;case 60:return this.begin("style"),74;case 61:return 61;case 62:return 64;case 63:return 63;case 66:return"qString";case 67:return t.yytext=t.yytext.trim(),89;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}}},(0,c.K)(eh,"Parser"),eh.prototype=ec,ec.Parser=eh,new eh}();h.parser=h;var u=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=l.SV,this.getAccTitle=l.iN,this.setAccDescription=l.EI,this.getAccDescription=l.m7,this.setDiagramTitle=l.ke,this.getDiagramTitle=l.ab,this.getConfig=(0,c.K)(()=>(0,l.D7)().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{(0,c.K)(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,t){return this.requirements.has(e)||this.requirements.set(e,{name:e,type:t,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]}),this.resetLatestRequirement(),this.requirements.get(e)}getRequirements(){return this.requirements}setNewReqId(e){void 0!==this.latestRequirement&&(this.latestRequirement.requirementId=e)}setNewReqText(e){void 0!==this.latestRequirement&&(this.latestRequirement.text=e)}setNewReqRisk(e){void 0!==this.latestRequirement&&(this.latestRequirement.risk=e)}setNewReqVerifyMethod(e){void 0!==this.latestRequirement&&(this.latestRequirement.verifyMethod=e)}addElement(e){return this.elements.has(e)||(this.elements.set(e,{name:e,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),o.R.info("Added new element: ",e)),this.resetLatestElement(),this.elements.get(e)}getElements(){return this.elements}setNewElementType(e){void 0!==this.latestElement&&(this.latestElement.type=e)}setNewElementDocRef(e){void 0!==this.latestElement&&(this.latestElement.docRef=e)}addRelationship(e,t,s){this.relations.push({type:e,src:t,dst:s})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,(0,l.IU)()}setCssStyle(e,t){for(let s of e){let e=this.requirements.get(s)??this.elements.get(s);if(!t||!e)return;for(let s of t)s.includes(",")?e.cssStyles.push(...s.split(",")):e.cssStyles.push(s)}}setClass(e,t){for(let s of e){let e=this.requirements.get(s)??this.elements.get(s);if(e)for(let s of t){e.classes.push(s);let t=this.classes.get(s)?.styles;t&&e.cssStyles.push(...t)}}}defineClass(e,t){for(let s of e){let e=this.classes.get(s);void 0===e&&(e={id:s,styles:[],textStyles:[]},this.classes.set(s,e)),t&&t.forEach(function(t){if(/color/.exec(t)){let s=t.replace("fill","bgFill");e.textStyles.push(s)}e.styles.push(t)}),this.requirements.forEach(e=>{e.classes.includes(s)&&e.cssStyles.push(...t.flatMap(e=>e.split(",")))}),this.elements.forEach(e=>{e.classes.includes(s)&&e.cssStyles.push(...t.flatMap(e=>e.split(",")))})}}getClasses(){return this.classes}getData(){let e=(0,l.D7)(),t=[],s=[];for(let s of this.requirements.values())s.id=s.name,s.cssStyles=s.cssStyles,s.cssClasses=s.classes.join(" "),s.shape="requirementBox",s.look=e.look,s.colorIndex=t.length,t.push(s);for(let s of this.elements.values())s.shape="requirementBox",s.look=e.look,s.id=s.name,s.cssStyles=s.cssStyles,s.cssClasses=s.classes.join(" "),s.colorIndex=t.length,t.push(s);for(let t of this.relations){let i=0,r=t.type===this.Relationships.CONTAINS,n={id:`${t.src}-${t.dst}-${i}`,start:this.requirements.get(t.src)?.name??this.elements.get(t.src)?.name,end:this.requirements.get(t.dst)?.name??this.elements.get(t.dst)?.name,label:`&lt;&lt;${t.type}&gt;&gt;`,classes:"relationshipLine",style:["fill:none",r?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:r?"normal":"dashed",arrowTypeStart:r?"requirement_contains":"",arrowTypeEnd:r?"":"requirement_arrow",look:e.look,labelType:"markdown"};s.push(n),i++}return{nodes:t,edges:s,other:{},config:e,direction:this.getDirection()}}},y=(0,c.K)(e=>{let{themeVariables:t,look:s}=(0,l.zj)(),{bkgColorArray:i,borderColorArray:r}=t;if(!r?.length)return"";let n="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)n+=`
2
-
3
- [data-look="${s}"][data-color-id="color-${t}"].node path {
4
- stroke: ${r[t]};
5
- fill: ${i?.length?i[t]:""};
6
- }
7
-
8
- [data-look="${s}"][data-color-id="color-${t}"].node rect {
9
- stroke: ${r[t]};
10
- fill: ${i?.length?i[t]:""};
11
- }
12
- `;return n},"genColor"),m=(0,c.K)(e=>{let{look:t,themeVariables:s}=(0,l.zj)(),{requirementEdgeLabelBackground:i}=s;return`
13
- ${y(e)}
14
- marker {
15
- fill: ${e.relationColor};
16
- stroke: ${e.relationColor};
17
- }
18
-
19
- marker.cross {
20
- stroke: ${e.lineColor};
21
- }
22
-
23
- svg {
24
- font-family: ${e.fontFamily};
25
- font-size: ${e.fontSize};
26
- }
27
-
28
- .reqBox {
29
- fill: ${e.requirementBackground};
30
- fill-opacity: 1.0;
31
- stroke: ${e.requirementBorderColor};
32
- stroke-width: ${e.requirementBorderSize};
33
- }
34
-
35
- .reqTitle, .reqLabel{
36
- fill: ${e.requirementTextColor};
37
- }
38
- .reqLabelBox {
39
- fill: ${e.relationLabelBackground};
40
- fill-opacity: 1.0;
41
- }
42
-
43
- .req-title-line {
44
- stroke: ${e.requirementBorderColor};
45
- stroke-width: ${e.requirementBorderSize};
46
- }
47
- .relationshipLine {
48
- stroke: ${e.relationColor};
49
- stroke-width: ${"neo"===t?e.strokeWidth:"1px"};
50
- }
51
- .relationshipLabel {
52
- fill: ${e.relationLabelColor};
53
- }
54
- .edgeLabel {
55
- background-color: ${e.edgeLabelBackground};
56
- }
57
- .edgeLabel .label rect {
58
- fill: ${e.edgeLabelBackground};
59
- }
60
- .edgeLabel .label text {
61
- fill: ${e.relationLabelColor};
62
- }
63
- .divider {
64
- stroke: ${e.nodeBorder};
65
- stroke-width: 1;
66
- }
67
- .label {
68
- font-family: ${e.fontFamily};
69
- color: ${e.nodeTextColor||e.textColor};
70
- }
71
- .label text,span {
72
- fill: ${e.nodeTextColor||e.textColor};
73
- color: ${e.nodeTextColor||e.textColor};
74
- }
75
- .labelBkg {
76
- background-color: ${i??e.edgeLabelBackground};
77
- }
78
-
79
- `},"getStyles"),d={};(0,c.V)(d,{draw:()=>E});var E=(0,c.K)(async function(e,t,s,c){o.R.info("REF0:"),o.R.info("Drawing requirement diagram (unified)",t);let{securityLevel:h,state:u,layout:y,look:m}=(0,l.D7)(),d=c.db.getData(),E=(0,i.A)(t,h);d.type=c.type,d.layoutAlgorithm=(0,n.q7)(y),d.nodeSpacing=u?.nodeSpacing??50,d.rankSpacing=u?.rankSpacing??50,d.markers="neo"===m?["requirement_contains_neo","requirement_arrow_neo"]:["requirement_contains","requirement_arrow"],d.diagramId=t,await (0,n.XX)(d,E),a._K.insertTitle(E,"requirementDiagramTitleText",u?.titleTopMargin??25,c.db.getDiagramTitle()),(0,r.P)(E,8,"requirementDiagram",u?.useMaxWidth??!0)},"draw"),p={parser:h,get db(){return new u},renderer:d,styles:m}},16443:(e,t,s)=>{s.d(t,{A:()=>n});var i=s(89851),r=s(33948),n=(0,i.K)((e,t)=>{let s;return"sandbox"===t&&(s=(0,r.Ltv)("#i"+e)),("sandbox"===t?(0,r.Ltv)(s.nodes()[0].contentDocument.body):(0,r.Ltv)("body")).select(`[id="${e}"]`)},"getDiagramElement")},45097:(e,t,s)=>{s.d(t,{P:()=>a});var i=s(37325),r=s(56037),n=s(89851),a=(0,n.K)((e,t,s,n)=>{e.attr("class",s);let{width:a,height:c,x:h,y:u}=l(e,t);(0,i.a$)(e,c,a,n);let y=o(h,u,a,c,t);e.attr("viewBox",y),r.R.debug(`viewBox configured: ${y} with padding: ${t}`)},"setupViewPortForSVG"),l=(0,n.K)((e,t)=>{let s=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*t,height:s.height+2*t,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),o=(0,n.K)((e,t,s,i,r)=>`${e-r} ${t-r} ${s} ${i}`,"createViewBox")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8901],{88901:(e,r,t)=>{t.d(r,{diagram:()=>g});var a=t(87701),n=t(80650);t(56174),t(37325);var s=t(56037),l=t(89851),p=t(88863),i=(0,p.Pz)().RailroadPeg.parser.LangiumParser,o=(0,l.K)(e=>{let r=e.alternatives.map(u);return 1===r.length?r[0]:{type:"choice",alternatives:r}},"transformOrderedChoice"),u=(0,l.K)(e=>{let r=e.elements.map(m);return 1===r.length?r[0]:{type:"sequence",elements:r}},"transformSequence"),m=(0,l.K)(e=>{let r=c(e.suffix);return e.operator?{type:"special",text:"&"===e.operator?`&${d(r)}`:`!${d(r)}`}:r},"transformPrefix"),d=(0,l.K)(e=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),c=(0,l.K)(e=>{let r=f(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),f=(0,l.K)(e=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return o(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),y=(0,l.K)(e=>({name:e.name,definition:o(e.definition)}),"transformRule"),P=(0,l.K)(e=>{(0,n.S)(e,a.db),e.title&&a.db.setTitle(e.title),e.rules.map(e=>a.db.addRule(y(e)))},"populateDb"),g={parser:{parse:(0,l.K)(e=>{a.db.clear(),s.R.debug("[PEG Parser] Starting Langium parse");let r=i.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new p.zg(r);let t=r.value;s.R.debug("[PEG Parser] Parsed rules:",t.rules.length),P(t),s.R.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:a.db}},db:a.db,renderer:a.U,styles:a.$}}}]);