@mcy2015/pi-web 0.0.0-stage → 0.13.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 (805) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-path-routes-manifest.json +81 -0
  3. package/.next/build-manifest.json +20 -0
  4. package/.next/diagnostics/build-diagnostics.json +6 -0
  5. package/.next/diagnostics/framework.json +1 -0
  6. package/.next/export-marker.json +6 -0
  7. package/.next/images-manifest.json +68 -0
  8. package/.next/next-minimal-server.js.nft.json +1 -0
  9. package/.next/next-server.js.nft.json +1 -0
  10. package/.next/package.json +1 -0
  11. package/.next/prerender-manifest.json +157 -0
  12. package/.next/react-loadable-manifest.json +401 -0
  13. package/.next/required-server-files.js +398 -0
  14. package/.next/required-server-files.json +398 -0
  15. package/.next/routes-manifest.json +601 -0
  16. package/.next/server/app/_global-error/page.js +31 -0
  17. package/.next/server/app/_global-error/page.js.nft.json +1 -0
  18. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -0
  19. package/.next/server/app/_global-error.html +1 -0
  20. package/.next/server/app/_global-error.meta +35 -0
  21. package/.next/server/app/_global-error.rsc +14 -0
  22. package/.next/server/app/_global-error.segments/_full.segment.rsc +14 -0
  23. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +20 -0
  24. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  25. package/.next/server/app/_not-found/page.js +1 -0
  26. package/.next/server/app/_not-found/page.js.nft.json +1 -0
  27. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
  28. package/.next/server/app/_not-found.html +1 -0
  29. package/.next/server/app/_not-found.meta +35 -0
  30. package/.next/server/app/_not-found.rsc +22 -0
  31. package/.next/server/app/_not-found.segments/_full.segment.rsc +22 -0
  32. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +28 -0
  33. package/.next/server/app/_not-found.segments/_tree.segment.rsc +7 -0
  34. package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -0
  35. package/.next/server/app/api/agent/[id]/bash-output/route.js.nft.json +1 -0
  36. package/.next/server/app/api/agent/[id]/bash-output/route_client-reference-manifest.js +1 -0
  37. package/.next/server/app/api/agent/[id]/events/route.js +3 -0
  38. package/.next/server/app/api/agent/[id]/events/route.js.nft.json +1 -0
  39. package/.next/server/app/api/agent/[id]/events/route_client-reference-manifest.js +1 -0
  40. package/.next/server/app/api/agent/[id]/lease/route.js +1 -0
  41. package/.next/server/app/api/agent/[id]/lease/route.js.nft.json +1 -0
  42. package/.next/server/app/api/agent/[id]/lease/route_client-reference-manifest.js +1 -0
  43. package/.next/server/app/api/agent/[id]/route.js +1 -0
  44. package/.next/server/app/api/agent/[id]/route.js.nft.json +1 -0
  45. package/.next/server/app/api/agent/[id]/route_client-reference-manifest.js +1 -0
  46. package/.next/server/app/api/agent/new/route.js +1 -0
  47. package/.next/server/app/api/agent/new/route.js.nft.json +1 -0
  48. package/.next/server/app/api/agent/new/route_client-reference-manifest.js +1 -0
  49. package/.next/server/app/api/agent/running/route.js +1 -0
  50. package/.next/server/app/api/agent/running/route.js.nft.json +1 -0
  51. package/.next/server/app/api/agent/running/route_client-reference-manifest.js +1 -0
  52. package/.next/server/app/api/app-update/route.js +1 -0
  53. package/.next/server/app/api/app-update/route.js.nft.json +1 -0
  54. package/.next/server/app/api/app-update/route_client-reference-manifest.js +1 -0
  55. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -0
  56. package/.next/server/app/api/auth/api-key/[provider]/route.js.nft.json +1 -0
  57. package/.next/server/app/api/auth/api-key/[provider]/route_client-reference-manifest.js +1 -0
  58. package/.next/server/app/api/auth/login/[provider]/route.js +3 -0
  59. package/.next/server/app/api/auth/login/[provider]/route.js.nft.json +1 -0
  60. package/.next/server/app/api/auth/login/[provider]/route_client-reference-manifest.js +1 -0
  61. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -0
  62. package/.next/server/app/api/auth/logout/[provider]/route.js.nft.json +1 -0
  63. package/.next/server/app/api/auth/logout/[provider]/route_client-reference-manifest.js +1 -0
  64. package/.next/server/app/api/auth/providers/route.js +1 -0
  65. package/.next/server/app/api/auth/providers/route.js.nft.json +1 -0
  66. package/.next/server/app/api/auth/providers/route_client-reference-manifest.js +1 -0
  67. package/.next/server/app/api/automations/route.js +6 -0
  68. package/.next/server/app/api/automations/route.js.nft.json +1 -0
  69. package/.next/server/app/api/automations/route_client-reference-manifest.js +1 -0
  70. package/.next/server/app/api/cache-miss-notices/route.js +1 -0
  71. package/.next/server/app/api/cache-miss-notices/route.js.nft.json +1 -0
  72. package/.next/server/app/api/cache-miss-notices/route_client-reference-manifest.js +1 -0
  73. package/.next/server/app/api/channels/route.js +6 -0
  74. package/.next/server/app/api/channels/route.js.nft.json +1 -0
  75. package/.next/server/app/api/channels/route_client-reference-manifest.js +1 -0
  76. package/.next/server/app/api/cwd/browse/route.js +1 -0
  77. package/.next/server/app/api/cwd/browse/route.js.nft.json +1 -0
  78. package/.next/server/app/api/cwd/browse/route_client-reference-manifest.js +1 -0
  79. package/.next/server/app/api/cwd/validate/route.js +1 -0
  80. package/.next/server/app/api/cwd/validate/route.js.nft.json +1 -0
  81. package/.next/server/app/api/cwd/validate/route_client-reference-manifest.js +1 -0
  82. package/.next/server/app/api/default-cwd/route.js +1 -0
  83. package/.next/server/app/api/default-cwd/route.js.nft.json +1 -0
  84. package/.next/server/app/api/default-cwd/route_client-reference-manifest.js +1 -0
  85. package/.next/server/app/api/file-index/route.js +1 -0
  86. package/.next/server/app/api/file-index/route.js.nft.json +1 -0
  87. package/.next/server/app/api/file-index/route_client-reference-manifest.js +1 -0
  88. package/.next/server/app/api/files/[...path]/route.js +49 -0
  89. package/.next/server/app/api/files/[...path]/route.js.nft.json +1 -0
  90. package/.next/server/app/api/files/[...path]/route_client-reference-manifest.js +1 -0
  91. package/.next/server/app/api/git/commit/route.js +2 -0
  92. package/.next/server/app/api/git/commit/route.js.nft.json +1 -0
  93. package/.next/server/app/api/git/commit/route_client-reference-manifest.js +1 -0
  94. package/.next/server/app/api/git/diff/route.js +6 -0
  95. package/.next/server/app/api/git/diff/route.js.nft.json +1 -0
  96. package/.next/server/app/api/git/diff/route_client-reference-manifest.js +1 -0
  97. package/.next/server/app/api/git/graph/route.js +1 -0
  98. package/.next/server/app/api/git/graph/route.js.nft.json +1 -0
  99. package/.next/server/app/api/git/graph/route_client-reference-manifest.js +1 -0
  100. package/.next/server/app/api/git/status/route.js +6 -0
  101. package/.next/server/app/api/git/status/route.js.nft.json +1 -0
  102. package/.next/server/app/api/git/status/route_client-reference-manifest.js +1 -0
  103. package/.next/server/app/api/home/route.js +1 -0
  104. package/.next/server/app/api/home/route.js.nft.json +1 -0
  105. package/.next/server/app/api/home/route_client-reference-manifest.js +1 -0
  106. package/.next/server/app/api/mcp/route.js +2 -0
  107. package/.next/server/app/api/mcp/route.js.nft.json +1 -0
  108. package/.next/server/app/api/mcp/route_client-reference-manifest.js +1 -0
  109. package/.next/server/app/api/mcp/sign-in/[flowId]/route.js +1 -0
  110. package/.next/server/app/api/mcp/sign-in/[flowId]/route.js.nft.json +1 -0
  111. package/.next/server/app/api/mcp/sign-in/[flowId]/route_client-reference-manifest.js +1 -0
  112. package/.next/server/app/api/mcp/sign-in/route.js +1 -0
  113. package/.next/server/app/api/mcp/sign-in/route.js.nft.json +1 -0
  114. package/.next/server/app/api/mcp/sign-in/route_client-reference-manifest.js +1 -0
  115. package/.next/server/app/api/mcp/test/route.js +1 -0
  116. package/.next/server/app/api/mcp/test/route.js.nft.json +1 -0
  117. package/.next/server/app/api/mcp/test/route_client-reference-manifest.js +1 -0
  118. package/.next/server/app/api/models/default/route.js +1 -0
  119. package/.next/server/app/api/models/default/route.js.nft.json +1 -0
  120. package/.next/server/app/api/models/default/route_client-reference-manifest.js +1 -0
  121. package/.next/server/app/api/models/enabled/route.js +1 -0
  122. package/.next/server/app/api/models/enabled/route.js.nft.json +1 -0
  123. package/.next/server/app/api/models/enabled/route_client-reference-manifest.js +1 -0
  124. package/.next/server/app/api/models/refresh/route.js +1 -0
  125. package/.next/server/app/api/models/refresh/route.js.nft.json +1 -0
  126. package/.next/server/app/api/models/refresh/route_client-reference-manifest.js +1 -0
  127. package/.next/server/app/api/models/route.js +1 -0
  128. package/.next/server/app/api/models/route.js.nft.json +1 -0
  129. package/.next/server/app/api/models/route_client-reference-manifest.js +1 -0
  130. package/.next/server/app/api/models-config/catalog/route.js +1 -0
  131. package/.next/server/app/api/models-config/catalog/route.js.nft.json +1 -0
  132. package/.next/server/app/api/models-config/catalog/route_client-reference-manifest.js +1 -0
  133. package/.next/server/app/api/models-config/discover/route.js +1 -0
  134. package/.next/server/app/api/models-config/discover/route.js.nft.json +1 -0
  135. package/.next/server/app/api/models-config/discover/route_client-reference-manifest.js +1 -0
  136. package/.next/server/app/api/models-config/route.js +1 -0
  137. package/.next/server/app/api/models-config/route.js.nft.json +1 -0
  138. package/.next/server/app/api/models-config/route_client-reference-manifest.js +1 -0
  139. package/.next/server/app/api/models-config/test/route.js +1 -0
  140. package/.next/server/app/api/models-config/test/route.js.nft.json +1 -0
  141. package/.next/server/app/api/models-config/test/route_client-reference-manifest.js +1 -0
  142. package/.next/server/app/api/open-in-explorer/route.js +1 -0
  143. package/.next/server/app/api/open-in-explorer/route.js.nft.json +1 -0
  144. package/.next/server/app/api/open-in-explorer/route_client-reference-manifest.js +1 -0
  145. package/.next/server/app/api/plugins/check/route.js +1 -0
  146. package/.next/server/app/api/plugins/check/route.js.nft.json +1 -0
  147. package/.next/server/app/api/plugins/check/route_client-reference-manifest.js +1 -0
  148. package/.next/server/app/api/plugins/route.js +1 -0
  149. package/.next/server/app/api/plugins/route.js.nft.json +1 -0
  150. package/.next/server/app/api/plugins/route_client-reference-manifest.js +1 -0
  151. package/.next/server/app/api/project-trust/route.js +1 -0
  152. package/.next/server/app/api/project-trust/route.js.nft.json +1 -0
  153. package/.next/server/app/api/project-trust/route_client-reference-manifest.js +1 -0
  154. package/.next/server/app/api/provider-usage/query/route.js +1 -0
  155. package/.next/server/app/api/provider-usage/query/route.js.nft.json +1 -0
  156. package/.next/server/app/api/provider-usage/query/route_client-reference-manifest.js +1 -0
  157. package/.next/server/app/api/push/config/route.js +1 -0
  158. package/.next/server/app/api/push/config/route.js.nft.json +1 -0
  159. package/.next/server/app/api/push/config/route_client-reference-manifest.js +1 -0
  160. package/.next/server/app/api/push/subscribe/route.js +1 -0
  161. package/.next/server/app/api/push/subscribe/route.js.nft.json +1 -0
  162. package/.next/server/app/api/push/subscribe/route_client-reference-manifest.js +1 -0
  163. package/.next/server/app/api/sessions/[id]/auto-name/route.js +11 -0
  164. package/.next/server/app/api/sessions/[id]/auto-name/route.js.nft.json +1 -0
  165. package/.next/server/app/api/sessions/[id]/auto-name/route_client-reference-manifest.js +1 -0
  166. package/.next/server/app/api/sessions/[id]/context/route.js +1 -0
  167. package/.next/server/app/api/sessions/[id]/context/route.js.nft.json +1 -0
  168. package/.next/server/app/api/sessions/[id]/context/route_client-reference-manifest.js +1 -0
  169. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -0
  170. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js.nft.json +1 -0
  171. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route_client-reference-manifest.js +1 -0
  172. package/.next/server/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route.js +1 -0
  173. package/.next/server/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route.js.nft.json +1 -0
  174. package/.next/server/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route_client-reference-manifest.js +1 -0
  175. package/.next/server/app/api/sessions/[id]/export/route.js +54 -0
  176. package/.next/server/app/api/sessions/[id]/export/route.js.nft.json +1 -0
  177. package/.next/server/app/api/sessions/[id]/export/route_client-reference-manifest.js +1 -0
  178. package/.next/server/app/api/sessions/[id]/fork/route.js +1 -0
  179. package/.next/server/app/api/sessions/[id]/fork/route.js.nft.json +1 -0
  180. package/.next/server/app/api/sessions/[id]/fork/route_client-reference-manifest.js +1 -0
  181. package/.next/server/app/api/sessions/[id]/route.js +1 -0
  182. package/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -0
  183. package/.next/server/app/api/sessions/[id]/route_client-reference-manifest.js +1 -0
  184. package/.next/server/app/api/sessions/[id]/share/route.js +1 -0
  185. package/.next/server/app/api/sessions/[id]/share/route.js.nft.json +1 -0
  186. package/.next/server/app/api/sessions/[id]/share/route_client-reference-manifest.js +1 -0
  187. package/.next/server/app/api/sessions/[id]/state/route.js +1 -0
  188. package/.next/server/app/api/sessions/[id]/state/route.js.nft.json +1 -0
  189. package/.next/server/app/api/sessions/[id]/state/route_client-reference-manifest.js +1 -0
  190. package/.next/server/app/api/sessions/delete/route.js +1 -0
  191. package/.next/server/app/api/sessions/delete/route.js.nft.json +1 -0
  192. package/.next/server/app/api/sessions/delete/route_client-reference-manifest.js +1 -0
  193. package/.next/server/app/api/sessions/route.js +1 -0
  194. package/.next/server/app/api/sessions/route.js.nft.json +1 -0
  195. package/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -0
  196. package/.next/server/app/api/sessions/search/route.js +1 -0
  197. package/.next/server/app/api/sessions/search/route.js.nft.json +1 -0
  198. package/.next/server/app/api/sessions/search/route_client-reference-manifest.js +1 -0
  199. package/.next/server/app/api/sessions/stats/route.js +1 -0
  200. package/.next/server/app/api/sessions/stats/route.js.nft.json +1 -0
  201. package/.next/server/app/api/sessions/stats/route_client-reference-manifest.js +1 -0
  202. package/.next/server/app/api/sessions/ui-state/route.js +1 -0
  203. package/.next/server/app/api/sessions/ui-state/route.js.nft.json +1 -0
  204. package/.next/server/app/api/sessions/ui-state/route_client-reference-manifest.js +1 -0
  205. package/.next/server/app/api/skills/check/route.js +1 -0
  206. package/.next/server/app/api/skills/check/route.js.nft.json +1 -0
  207. package/.next/server/app/api/skills/check/route_client-reference-manifest.js +1 -0
  208. package/.next/server/app/api/skills/content/route.js +1 -0
  209. package/.next/server/app/api/skills/content/route.js.nft.json +1 -0
  210. package/.next/server/app/api/skills/content/route_client-reference-manifest.js +1 -0
  211. package/.next/server/app/api/skills/install/route.js +1 -0
  212. package/.next/server/app/api/skills/install/route.js.nft.json +1 -0
  213. package/.next/server/app/api/skills/install/route_client-reference-manifest.js +1 -0
  214. package/.next/server/app/api/skills/route.js +4 -0
  215. package/.next/server/app/api/skills/route.js.nft.json +1 -0
  216. package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -0
  217. package/.next/server/app/api/skills/search/route.js +1 -0
  218. package/.next/server/app/api/skills/search/route.js.nft.json +1 -0
  219. package/.next/server/app/api/skills/search/route_client-reference-manifest.js +1 -0
  220. package/.next/server/app/api/skills/update/route.js +1 -0
  221. package/.next/server/app/api/skills/update/route.js.nft.json +1 -0
  222. package/.next/server/app/api/skills/update/route_client-reference-manifest.js +1 -0
  223. package/.next/server/app/api/subagents/[id]/route.js +1 -0
  224. package/.next/server/app/api/subagents/[id]/route.js.nft.json +1 -0
  225. package/.next/server/app/api/subagents/[id]/route_client-reference-manifest.js +1 -0
  226. package/.next/server/app/api/subagents/profiles/route.js +1 -0
  227. package/.next/server/app/api/subagents/profiles/route.js.nft.json +1 -0
  228. package/.next/server/app/api/subagents/profiles/route_client-reference-manifest.js +1 -0
  229. package/.next/server/app/api/subagents/settings/route.js +1 -0
  230. package/.next/server/app/api/subagents/settings/route.js.nft.json +1 -0
  231. package/.next/server/app/api/subagents/settings/route_client-reference-manifest.js +1 -0
  232. package/.next/server/app/api/terminal/[id]/events/route.js +4 -0
  233. package/.next/server/app/api/terminal/[id]/events/route.js.nft.json +1 -0
  234. package/.next/server/app/api/terminal/[id]/events/route_client-reference-manifest.js +1 -0
  235. package/.next/server/app/api/terminal/[id]/route.js +1 -0
  236. package/.next/server/app/api/terminal/[id]/route.js.nft.json +1 -0
  237. package/.next/server/app/api/terminal/[id]/route_client-reference-manifest.js +1 -0
  238. package/.next/server/app/api/terminal/route.js +1 -0
  239. package/.next/server/app/api/terminal/route.js.nft.json +1 -0
  240. package/.next/server/app/api/terminal/route_client-reference-manifest.js +1 -0
  241. package/.next/server/app/api/tools/settings/route.js +1 -0
  242. package/.next/server/app/api/tools/settings/route.js.nft.json +1 -0
  243. package/.next/server/app/api/tools/settings/route_client-reference-manifest.js +1 -0
  244. package/.next/server/app/api/web-auth/route.js +1 -0
  245. package/.next/server/app/api/web-auth/route.js.nft.json +1 -0
  246. package/.next/server/app/api/web-auth/route_client-reference-manifest.js +1 -0
  247. package/.next/server/app/api/worktrees/route.js +1 -0
  248. package/.next/server/app/api/worktrees/route.js.nft.json +1 -0
  249. package/.next/server/app/api/worktrees/route_client-reference-manifest.js +1 -0
  250. package/.next/server/app/favicon.ico/route.js +1 -0
  251. package/.next/server/app/favicon.ico/route.js.nft.json +1 -0
  252. package/.next/server/app/favicon.ico.body +0 -0
  253. package/.next/server/app/favicon.ico.meta +1 -0
  254. package/.next/server/app/index.html +1 -0
  255. package/.next/server/app/index.meta +29 -0
  256. package/.next/server/app/index.rsc +23 -0
  257. package/.next/server/app/index.segments/__PAGE__.segment.rsc +27 -0
  258. package/.next/server/app/index.segments/_full.segment.rsc +23 -0
  259. package/.next/server/app/index.segments/_tree.segment.rsc +8 -0
  260. package/.next/server/app/login/page.js +1 -0
  261. package/.next/server/app/login/page.js.nft.json +1 -0
  262. package/.next/server/app/login/page_client-reference-manifest.js +1 -0
  263. package/.next/server/app/login.html +1 -0
  264. package/.next/server/app/login.meta +34 -0
  265. package/.next/server/app/login.rsc +26 -0
  266. package/.next/server/app/login.segments/_full.segment.rsc +26 -0
  267. package/.next/server/app/login.segments/_tree.segment.rsc +7 -0
  268. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +32 -0
  269. package/.next/server/app/manifest.webmanifest/route.js +17 -0
  270. package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -0
  271. package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -0
  272. package/.next/server/app/page.js +307 -0
  273. package/.next/server/app/page.js.nft.json +1 -0
  274. package/.next/server/app/page_client-reference-manifest.js +1 -0
  275. package/.next/server/app/share/[code]/page.js +1 -0
  276. package/.next/server/app/share/[code]/page.js.nft.json +1 -0
  277. package/.next/server/app/share/[code]/page_client-reference-manifest.js +1 -0
  278. package/.next/server/app-paths-manifest.json +81 -0
  279. package/.next/server/chunks/1006.js +148 -0
  280. package/.next/server/chunks/1051.js +1 -0
  281. package/.next/server/chunks/1063.js +1 -0
  282. package/.next/server/chunks/1104.js +1 -0
  283. package/.next/server/chunks/1130.js +1 -0
  284. package/.next/server/chunks/1233.js +1 -0
  285. package/.next/server/chunks/129.js +14 -0
  286. package/.next/server/chunks/1836.js +1 -0
  287. package/.next/server/chunks/2008.js +165 -0
  288. package/.next/server/chunks/2128.js +1 -0
  289. package/.next/server/chunks/2367.js +38 -0
  290. package/.next/server/chunks/2586.js +34 -0
  291. package/.next/server/chunks/2728.js +2 -0
  292. package/.next/server/chunks/2775.js +36 -0
  293. package/.next/server/chunks/2786.js +79 -0
  294. package/.next/server/chunks/2907.js +1 -0
  295. package/.next/server/chunks/3010.js +1 -0
  296. package/.next/server/chunks/3030.js +1 -0
  297. package/.next/server/chunks/3164.js +1 -0
  298. package/.next/server/chunks/3182.js +24 -0
  299. package/.next/server/chunks/3261.js +193 -0
  300. package/.next/server/chunks/3376.js +1 -0
  301. package/.next/server/chunks/3395.js +90 -0
  302. package/.next/server/chunks/3444.js +62 -0
  303. package/.next/server/chunks/3522.js +215 -0
  304. package/.next/server/chunks/3565.js +1 -0
  305. package/.next/server/chunks/3614.js +226 -0
  306. package/.next/server/chunks/3624.js +1 -0
  307. package/.next/server/chunks/3834.js +1 -0
  308. package/.next/server/chunks/3839.js +1 -0
  309. package/.next/server/chunks/3960.js +1 -0
  310. package/.next/server/chunks/4035.js +256 -0
  311. package/.next/server/chunks/4074.js +153 -0
  312. package/.next/server/chunks/4173.js +1 -0
  313. package/.next/server/chunks/4193.js +1 -0
  314. package/.next/server/chunks/4227.js +93 -0
  315. package/.next/server/chunks/4403.js +1 -0
  316. package/.next/server/chunks/4526.js +138 -0
  317. package/.next/server/chunks/4557.js +1 -0
  318. package/.next/server/chunks/4565.js +172 -0
  319. package/.next/server/chunks/4576.js +86 -0
  320. package/.next/server/chunks/4604.js +2 -0
  321. package/.next/server/chunks/4768.js +1 -0
  322. package/.next/server/chunks/4863.js +1 -0
  323. package/.next/server/chunks/496.js +1 -0
  324. package/.next/server/chunks/4993.js +1 -0
  325. package/.next/server/chunks/5093.js +1 -0
  326. package/.next/server/chunks/5307.js +94 -0
  327. package/.next/server/chunks/5364.js +82 -0
  328. package/.next/server/chunks/5496.js +1 -0
  329. package/.next/server/chunks/5545.js +1 -0
  330. package/.next/server/chunks/5699.js +3 -0
  331. package/.next/server/chunks/5735.js +1 -0
  332. package/.next/server/chunks/5760.js +1 -0
  333. package/.next/server/chunks/5855.js +1 -0
  334. package/.next/server/chunks/5864.js +41 -0
  335. package/.next/server/chunks/5993.js +1 -0
  336. package/.next/server/chunks/6040.js +1 -0
  337. package/.next/server/chunks/6105.js +1 -0
  338. package/.next/server/chunks/6178.js +1 -0
  339. package/.next/server/chunks/6226.js +1 -0
  340. package/.next/server/chunks/6294.js +8 -0
  341. package/.next/server/chunks/6392.js +27 -0
  342. package/.next/server/chunks/6437.js +1 -0
  343. package/.next/server/chunks/647.js +23 -0
  344. package/.next/server/chunks/6487.js +49 -0
  345. package/.next/server/chunks/674.js +115 -0
  346. package/.next/server/chunks/6978.js +1 -0
  347. package/.next/server/chunks/7198.js +104 -0
  348. package/.next/server/chunks/7257.js +1 -0
  349. package/.next/server/chunks/7279.js +287 -0
  350. package/.next/server/chunks/7398.js +1 -0
  351. package/.next/server/chunks/7442.js +8 -0
  352. package/.next/server/chunks/7488.js +1 -0
  353. package/.next/server/chunks/7649.js +1 -0
  354. package/.next/server/chunks/7878.js +24 -0
  355. package/.next/server/chunks/7941.js +1 -0
  356. package/.next/server/chunks/8146.js +77 -0
  357. package/.next/server/chunks/819.js +1 -0
  358. package/.next/server/chunks/8383.js +33 -0
  359. package/.next/server/chunks/8688.js +1 -0
  360. package/.next/server/chunks/8695.js +1 -0
  361. package/.next/server/chunks/8868.js +1 -0
  362. package/.next/server/chunks/9007.js +1 -0
  363. package/.next/server/chunks/9084.js +64 -0
  364. package/.next/server/chunks/9225.js +1 -0
  365. package/.next/server/chunks/9267.js +1 -0
  366. package/.next/server/chunks/9483.js +1 -0
  367. package/.next/server/chunks/9602.js +1 -0
  368. package/.next/server/chunks/9973.js +32 -0
  369. package/.next/server/functions-config-manifest.json +28 -0
  370. package/.next/server/instrumentation.js +1 -0
  371. package/.next/server/instrumentation.js.nft.json +1 -0
  372. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  373. package/.next/server/middleware-build-manifest.js +1 -0
  374. package/.next/server/middleware-manifest.json +6 -0
  375. package/.next/server/middleware-react-loadable-manifest.js +1 -0
  376. package/.next/server/middleware.js +163 -0
  377. package/.next/server/middleware.js.nft.json +1 -0
  378. package/.next/server/next-font-manifest.js +1 -0
  379. package/.next/server/next-font-manifest.json +1 -0
  380. package/.next/server/pages/404.html +1 -0
  381. package/.next/server/pages/500.html +1 -0
  382. package/.next/server/pages-manifest.json +4 -0
  383. package/.next/server/prefetch-hints.json +53 -0
  384. package/.next/server/route-cache/APP_PAGE/c6377dd9ce6a1c2cd100eb4344e843eb4639b9ed26f84643f77680e9eb454c4b/$/index.html +1 -0
  385. package/.next/server/route-cache/APP_PAGE/c6377dd9ce6a1c2cd100eb4344e843eb4639b9ed26f84643f77680e9eb454c4b/$/index.meta +1 -0
  386. package/.next/server/route-cache/APP_PAGE/c6377dd9ce6a1c2cd100eb4344e843eb4639b9ed26f84643f77680e9eb454c4b/$/index.rsc +23 -0
  387. package/.next/server/route-cache/APP_PAGE/c6377dd9ce6a1c2cd100eb4344e843eb4639b9ed26f84643f77680e9eb454c4b/$/index.segments/__PAGE__.segment.rsc +27 -0
  388. package/.next/server/route-cache/APP_PAGE/c6377dd9ce6a1c2cd100eb4344e843eb4639b9ed26f84643f77680e9eb454c4b/$/index.segments/_full.segment.rsc +23 -0
  389. package/.next/server/route-cache/APP_PAGE/c6377dd9ce6a1c2cd100eb4344e843eb4639b9ed26f84643f77680e9eb454c4b/$/index.segments/_tree.segment.rsc +8 -0
  390. package/.next/server/server-reference-manifest.js +1 -0
  391. package/.next/server/server-reference-manifest.json +1 -0
  392. package/.next/server/webpack-runtime.js +1 -0
  393. package/.next/static/chunks/1229.0228b9fc3428f7d5.js +1 -0
  394. package/.next/static/chunks/147.8287e7ed72c89446.js +1 -0
  395. package/.next/static/chunks/1538.7945adaa2d7cb094.js +1 -0
  396. package/.next/static/chunks/1543.172c6278ca5381ea.js +15 -0
  397. package/.next/static/chunks/1595.5fc241609da10acf.js +38 -0
  398. package/.next/static/chunks/1689.ca0a87de58805d0e.js +1 -0
  399. package/.next/static/chunks/1737.d6ae913e3eccaacb.js +1 -0
  400. package/.next/static/chunks/1847.6434d90c394027d4.js +1 -0
  401. package/.next/static/chunks/2024.bc4f783c55b5b7cf.js +24 -0
  402. package/.next/static/chunks/216.a63d7ad69b96e080.js +24 -0
  403. package/.next/static/chunks/2320.9f934a5025166572.js +1 -0
  404. package/.next/static/chunks/2413.c4830e6223f7cb70.js +1 -0
  405. package/.next/static/chunks/2654.b99c5fc24f52e9e6.js +41 -0
  406. package/.next/static/chunks/2660.5352327567279f5d.js +1 -0
  407. package/.next/static/chunks/2723.aa5872e565521287.js +1 -0
  408. package/.next/static/chunks/2843.99564e5c02a92732.js +1 -0
  409. package/.next/static/chunks/3076.843465ae99ae7834.js +1 -0
  410. package/.next/static/chunks/3098.4f4071403eaf5ee5.js +27 -0
  411. package/.next/static/chunks/318.c6837e6639301c30.js +77 -0
  412. package/.next/static/chunks/3186.665b5753745d7f71.js +1 -0
  413. package/.next/static/chunks/3316-7ad9b0183ce58d57.js +52 -0
  414. package/.next/static/chunks/3400.950d6e412d97bd5f.js +104 -0
  415. package/.next/static/chunks/3622.6c4862a8b90b1de5.js +79 -0
  416. package/.next/static/chunks/422.470797fdf5021ead.js +1 -0
  417. package/.next/static/chunks/4251-7390ea4f71c022bb.js +1 -0
  418. package/.next/static/chunks/4366.1ee34595a625611d.js +1 -0
  419. package/.next/static/chunks/4566.1bb986cd2524cf5c.js +64 -0
  420. package/.next/static/chunks/4571.5e88bd14f6cb9d2f.js +287 -0
  421. package/.next/static/chunks/462-0a4742a0d3fb315b.js +7 -0
  422. package/.next/static/chunks/4728.cb5a62c714c36634.js +215 -0
  423. package/.next/static/chunks/4796.102a8f5f19f45043.js +1 -0
  424. package/.next/static/chunks/4798.eb3b2c14926f4ecd.js +1 -0
  425. package/.next/static/chunks/4933.baa8875c9835471a.js +94 -0
  426. package/.next/static/chunks/5117.ffb7b3abb7ed2846.js +1 -0
  427. package/.next/static/chunks/5331.e1739864d683ba22.js +226 -0
  428. package/.next/static/chunks/5503.8e6c711a6644acb8.js +1 -0
  429. package/.next/static/chunks/56d3515b.cf650e3926a249b4.js +122 -0
  430. package/.next/static/chunks/5931.4b5e8377c360cecf.js +1 -0
  431. package/.next/static/chunks/6004.138fc7687d0598d2.js +1 -0
  432. package/.next/static/chunks/6011-5965bf32c74aaeba.js +3 -0
  433. package/.next/static/chunks/6036.d5a0c9612daf8b29.js +86 -0
  434. package/.next/static/chunks/6191.9a3515c37d38ed46.js +1 -0
  435. package/.next/static/chunks/637.847054fd502cfe28.js +1 -0
  436. package/.next/static/chunks/6409.2d2923ec372cbef2.js +90 -0
  437. package/.next/static/chunks/6689.ec260327354c43df.js +1 -0
  438. package/.next/static/chunks/6909.45f571cb31e1256c.js +36 -0
  439. package/.next/static/chunks/69b8e6c9.be04cc888fa0f7e1.js +158 -0
  440. package/.next/static/chunks/6f4c79f2.18e02d920da1102e.js +62 -0
  441. package/.next/static/chunks/72b1444f-dbce489fd03602d0.js +1 -0
  442. package/.next/static/chunks/7392.1a6754909e2ef12f.js +1 -0
  443. package/.next/static/chunks/7431.89612a96608831da.js +1 -0
  444. package/.next/static/chunks/7443.243fb8f7548c6758.js +23 -0
  445. package/.next/static/chunks/772df983.223d4556de224ea2.js +1 -0
  446. package/.next/static/chunks/7902.edbb054e706a8ec6.js +34 -0
  447. package/.next/static/chunks/8072.3aaa98dad731a09c.js +115 -0
  448. package/.next/static/chunks/8241.8a7de542b1a2dc1e.js +93 -0
  449. package/.next/static/chunks/83.7a53280c1d1e4dac.js +1 -0
  450. package/.next/static/chunks/8325.0c9576cc140ee2bb.js +1 -0
  451. package/.next/static/chunks/8473.d35aa6ca1c494398.js +1 -0
  452. package/.next/static/chunks/8514.e988df323d58b051.js +138 -0
  453. package/.next/static/chunks/8555-14c61b7493d4d1c2.js +1 -0
  454. package/.next/static/chunks/8673.7fbc057ee84fb745.js +1 -0
  455. package/.next/static/chunks/8697.4d3533cad0ef5ab0.js +1 -0
  456. package/.next/static/chunks/8868.3fe4219c9e352217.js +1 -0
  457. package/.next/static/chunks/8909-c18f5a2f20e8f798.js +2 -0
  458. package/.next/static/chunks/8952.5ece98ba05a08f47.js +62 -0
  459. package/.next/static/chunks/8985.9e348a8652dc5293.js +1 -0
  460. package/.next/static/chunks/9287.abdf670b31097241.js +22 -0
  461. package/.next/static/chunks/9518.c543a5128ff566c4.js +74 -0
  462. package/.next/static/chunks/9530.93d0df3d278cd9d6.js +148 -0
  463. package/.next/static/chunks/9664.268d274b6c272204.js +1 -0
  464. package/.next/static/chunks/9827.8073d71321710b51.js +1 -0
  465. package/.next/static/chunks/9861.945662a7aa418d79.js +1 -0
  466. package/.next/static/chunks/abd5cabe-ef8984589a8c4f19.js +1 -0
  467. package/.next/static/chunks/app/_global-error/page-d3218813fe634dea.js +1 -0
  468. package/.next/static/chunks/app/_not-found/page-aa3fe7f176b16669.js +1 -0
  469. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-d3218813fe634dea.js +1 -0
  470. package/.next/static/chunks/app/api/agent/[id]/events/route-d3218813fe634dea.js +1 -0
  471. package/.next/static/chunks/app/api/agent/[id]/lease/route-d3218813fe634dea.js +1 -0
  472. package/.next/static/chunks/app/api/agent/[id]/route-d3218813fe634dea.js +1 -0
  473. package/.next/static/chunks/app/api/agent/new/route-d3218813fe634dea.js +1 -0
  474. package/.next/static/chunks/app/api/agent/running/route-d3218813fe634dea.js +1 -0
  475. package/.next/static/chunks/app/api/app-update/route-d3218813fe634dea.js +1 -0
  476. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-d3218813fe634dea.js +1 -0
  477. package/.next/static/chunks/app/api/auth/login/[provider]/route-d3218813fe634dea.js +1 -0
  478. package/.next/static/chunks/app/api/auth/logout/[provider]/route-d3218813fe634dea.js +1 -0
  479. package/.next/static/chunks/app/api/auth/providers/route-d3218813fe634dea.js +1 -0
  480. package/.next/static/chunks/app/api/automations/route-d3218813fe634dea.js +1 -0
  481. package/.next/static/chunks/app/api/cache-miss-notices/route-d3218813fe634dea.js +1 -0
  482. package/.next/static/chunks/app/api/channels/route-d3218813fe634dea.js +1 -0
  483. package/.next/static/chunks/app/api/cwd/browse/route-d3218813fe634dea.js +1 -0
  484. package/.next/static/chunks/app/api/cwd/validate/route-d3218813fe634dea.js +1 -0
  485. package/.next/static/chunks/app/api/default-cwd/route-d3218813fe634dea.js +1 -0
  486. package/.next/static/chunks/app/api/file-index/route-d3218813fe634dea.js +1 -0
  487. package/.next/static/chunks/app/api/files/[...path]/route-d3218813fe634dea.js +1 -0
  488. package/.next/static/chunks/app/api/git/commit/route-d3218813fe634dea.js +1 -0
  489. package/.next/static/chunks/app/api/git/diff/route-d3218813fe634dea.js +1 -0
  490. package/.next/static/chunks/app/api/git/graph/route-d3218813fe634dea.js +1 -0
  491. package/.next/static/chunks/app/api/git/status/route-d3218813fe634dea.js +1 -0
  492. package/.next/static/chunks/app/api/home/route-d3218813fe634dea.js +1 -0
  493. package/.next/static/chunks/app/api/mcp/route-d3218813fe634dea.js +1 -0
  494. package/.next/static/chunks/app/api/mcp/sign-in/[flowId]/route-d3218813fe634dea.js +1 -0
  495. package/.next/static/chunks/app/api/mcp/sign-in/route-d3218813fe634dea.js +1 -0
  496. package/.next/static/chunks/app/api/mcp/test/route-d3218813fe634dea.js +1 -0
  497. package/.next/static/chunks/app/api/models/default/route-d3218813fe634dea.js +1 -0
  498. package/.next/static/chunks/app/api/models/enabled/route-d3218813fe634dea.js +1 -0
  499. package/.next/static/chunks/app/api/models/refresh/route-d3218813fe634dea.js +1 -0
  500. package/.next/static/chunks/app/api/models/route-d3218813fe634dea.js +1 -0
  501. package/.next/static/chunks/app/api/models-config/catalog/route-d3218813fe634dea.js +1 -0
  502. package/.next/static/chunks/app/api/models-config/discover/route-d3218813fe634dea.js +1 -0
  503. package/.next/static/chunks/app/api/models-config/route-d3218813fe634dea.js +1 -0
  504. package/.next/static/chunks/app/api/models-config/test/route-d3218813fe634dea.js +1 -0
  505. package/.next/static/chunks/app/api/open-in-explorer/route-d3218813fe634dea.js +1 -0
  506. package/.next/static/chunks/app/api/plugins/check/route-d3218813fe634dea.js +1 -0
  507. package/.next/static/chunks/app/api/plugins/route-d3218813fe634dea.js +1 -0
  508. package/.next/static/chunks/app/api/project-trust/route-d3218813fe634dea.js +1 -0
  509. package/.next/static/chunks/app/api/provider-usage/query/route-d3218813fe634dea.js +1 -0
  510. package/.next/static/chunks/app/api/push/config/route-d3218813fe634dea.js +1 -0
  511. package/.next/static/chunks/app/api/push/subscribe/route-d3218813fe634dea.js +1 -0
  512. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-d3218813fe634dea.js +1 -0
  513. package/.next/static/chunks/app/api/sessions/[id]/context/route-d3218813fe634dea.js +1 -0
  514. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-d3218813fe634dea.js +1 -0
  515. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-d3218813fe634dea.js +1 -0
  516. package/.next/static/chunks/app/api/sessions/[id]/export/route-d3218813fe634dea.js +1 -0
  517. package/.next/static/chunks/app/api/sessions/[id]/fork/route-d3218813fe634dea.js +1 -0
  518. package/.next/static/chunks/app/api/sessions/[id]/route-d3218813fe634dea.js +1 -0
  519. package/.next/static/chunks/app/api/sessions/[id]/share/route-d3218813fe634dea.js +1 -0
  520. package/.next/static/chunks/app/api/sessions/[id]/state/route-d3218813fe634dea.js +1 -0
  521. package/.next/static/chunks/app/api/sessions/delete/route-d3218813fe634dea.js +1 -0
  522. package/.next/static/chunks/app/api/sessions/route-d3218813fe634dea.js +1 -0
  523. package/.next/static/chunks/app/api/sessions/search/route-d3218813fe634dea.js +1 -0
  524. package/.next/static/chunks/app/api/sessions/stats/route-d3218813fe634dea.js +1 -0
  525. package/.next/static/chunks/app/api/sessions/ui-state/route-d3218813fe634dea.js +1 -0
  526. package/.next/static/chunks/app/api/skills/check/route-d3218813fe634dea.js +1 -0
  527. package/.next/static/chunks/app/api/skills/content/route-d3218813fe634dea.js +1 -0
  528. package/.next/static/chunks/app/api/skills/install/route-d3218813fe634dea.js +1 -0
  529. package/.next/static/chunks/app/api/skills/route-d3218813fe634dea.js +1 -0
  530. package/.next/static/chunks/app/api/skills/search/route-d3218813fe634dea.js +1 -0
  531. package/.next/static/chunks/app/api/skills/update/route-d3218813fe634dea.js +1 -0
  532. package/.next/static/chunks/app/api/subagents/[id]/route-d3218813fe634dea.js +1 -0
  533. package/.next/static/chunks/app/api/subagents/profiles/route-d3218813fe634dea.js +1 -0
  534. package/.next/static/chunks/app/api/subagents/settings/route-d3218813fe634dea.js +1 -0
  535. package/.next/static/chunks/app/api/terminal/[id]/events/route-d3218813fe634dea.js +1 -0
  536. package/.next/static/chunks/app/api/terminal/[id]/route-d3218813fe634dea.js +1 -0
  537. package/.next/static/chunks/app/api/terminal/route-d3218813fe634dea.js +1 -0
  538. package/.next/static/chunks/app/api/tools/settings/route-d3218813fe634dea.js +1 -0
  539. package/.next/static/chunks/app/api/web-auth/route-d3218813fe634dea.js +1 -0
  540. package/.next/static/chunks/app/api/worktrees/route-d3218813fe634dea.js +1 -0
  541. package/.next/static/chunks/app/layout-19228ee6a08d83ea.js +1 -0
  542. package/.next/static/chunks/app/login/page-264591bcd5541a1f.js +1 -0
  543. package/.next/static/chunks/app/manifest.webmanifest/route-d3218813fe634dea.js +1 -0
  544. package/.next/static/chunks/app/page-18dd62d21c3bda10.js +285 -0
  545. package/.next/static/chunks/app/share/[code]/page-ee5b90b5f0930a77.js +1 -0
  546. package/.next/static/chunks/d0e3edb2-14c399e5ac4a0230.js +18 -0
  547. package/.next/static/chunks/dcbf9649.a109de0ff33b7cd5.js +1 -0
  548. package/.next/static/chunks/e444a482.562747af759320da.js +153 -0
  549. package/.next/static/chunks/eb47aedd.82f4b7f485fc5804.js +32 -0
  550. package/.next/static/chunks/f8e56d65.7ee6c15983b9bb69.js +82 -0
  551. package/.next/static/chunks/framework-0a6c4a96112443b3.js +1 -0
  552. package/.next/static/chunks/main-634a10a29ad83b54.js +5 -0
  553. package/.next/static/chunks/main-app-6d91b2e08db37fda.js +1 -0
  554. package/.next/static/chunks/next/dist/client/components/builtin/app-error-d3218813fe634dea.js +1 -0
  555. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-d3218813fe634dea.js +1 -0
  556. package/.next/static/chunks/next/dist/client/components/builtin/global-error-cd3be3520fbf053c.js +1 -0
  557. package/.next/static/chunks/next/dist/client/components/builtin/not-found-d3218813fe634dea.js +1 -0
  558. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-d3218813fe634dea.js +1 -0
  559. package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  560. package/.next/static/chunks/webpack-7c23f465dcf1a516.js +1 -0
  561. package/.next/static/css/0f5099659ba5f318.css +1 -0
  562. package/.next/static/css/49692dbfa6f26eeb.css +1 -0
  563. package/.next/static/css/582426d6a91257d8.css +1 -0
  564. package/.next/static/css/9bcd6051db4f8890.css +1 -0
  565. package/.next/static/css/c99d24fe85e139cc.css +1 -0
  566. package/.next/static/media/15605e25b523335c-s.woff2 +0 -0
  567. package/.next/static/media/1a3dce5cfb5f7760-s.woff2 +0 -0
  568. package/.next/static/media/1cdd02902f937a18-s.woff2 +0 -0
  569. package/.next/static/media/4c4b3b30b6bcb2be-s.woff2 +0 -0
  570. package/.next/static/media/641a7b8a5800ee0e-s.woff2 +0 -0
  571. package/.next/static/media/7deddc85b7ffd1dc-s.p.woff2 +0 -0
  572. package/.next/static/media/KaTeX_AMS-Regular.1608a09b.woff +0 -0
  573. package/.next/static/media/KaTeX_AMS-Regular.4aafdb68.ttf +0 -0
  574. package/.next/static/media/KaTeX_AMS-Regular.a79f1c31.woff2 +0 -0
  575. package/.next/static/media/KaTeX_Caligraphic-Bold.b6770918.woff +0 -0
  576. package/.next/static/media/KaTeX_Caligraphic-Bold.cce5b8ec.ttf +0 -0
  577. package/.next/static/media/KaTeX_Caligraphic-Bold.ec17d132.woff2 +0 -0
  578. package/.next/static/media/KaTeX_Caligraphic-Regular.07ef19e7.ttf +0 -0
  579. package/.next/static/media/KaTeX_Caligraphic-Regular.55fac258.woff2 +0 -0
  580. package/.next/static/media/KaTeX_Caligraphic-Regular.dad44a7f.woff +0 -0
  581. package/.next/static/media/KaTeX_Fraktur-Bold.9f256b85.woff +0 -0
  582. package/.next/static/media/KaTeX_Fraktur-Bold.b18f59e1.ttf +0 -0
  583. package/.next/static/media/KaTeX_Fraktur-Bold.d42a5579.woff2 +0 -0
  584. package/.next/static/media/KaTeX_Fraktur-Regular.7c187121.woff +0 -0
  585. package/.next/static/media/KaTeX_Fraktur-Regular.d3c882a6.woff2 +0 -0
  586. package/.next/static/media/KaTeX_Fraktur-Regular.ed38e79f.ttf +0 -0
  587. package/.next/static/media/KaTeX_Main-Bold.b74a1a8b.ttf +0 -0
  588. package/.next/static/media/KaTeX_Main-Bold.c3fb5ac2.woff2 +0 -0
  589. package/.next/static/media/KaTeX_Main-Bold.d181c465.woff +0 -0
  590. package/.next/static/media/KaTeX_Main-BoldItalic.6f2bb1df.woff2 +0 -0
  591. package/.next/static/media/KaTeX_Main-BoldItalic.70d8b0a5.ttf +0 -0
  592. package/.next/static/media/KaTeX_Main-BoldItalic.e3f82f9d.woff +0 -0
  593. package/.next/static/media/KaTeX_Main-Italic.47373d1e.ttf +0 -0
  594. package/.next/static/media/KaTeX_Main-Italic.8916142b.woff2 +0 -0
  595. package/.next/static/media/KaTeX_Main-Italic.9024d815.woff +0 -0
  596. package/.next/static/media/KaTeX_Main-Regular.0462f03b.woff2 +0 -0
  597. package/.next/static/media/KaTeX_Main-Regular.7f51fe03.woff +0 -0
  598. package/.next/static/media/KaTeX_Main-Regular.b7f8fe9b.ttf +0 -0
  599. package/.next/static/media/KaTeX_Math-BoldItalic.572d331f.woff2 +0 -0
  600. package/.next/static/media/KaTeX_Math-BoldItalic.a879cf83.ttf +0 -0
  601. package/.next/static/media/KaTeX_Math-BoldItalic.f1035d8d.woff +0 -0
  602. package/.next/static/media/KaTeX_Math-Italic.5295ba48.woff +0 -0
  603. package/.next/static/media/KaTeX_Math-Italic.939bc644.ttf +0 -0
  604. package/.next/static/media/KaTeX_Math-Italic.f28c23ac.woff2 +0 -0
  605. package/.next/static/media/KaTeX_SansSerif-Bold.8c5b5494.woff2 +0 -0
  606. package/.next/static/media/KaTeX_SansSerif-Bold.94e1e8dc.ttf +0 -0
  607. package/.next/static/media/KaTeX_SansSerif-Bold.bf59d231.woff +0 -0
  608. package/.next/static/media/KaTeX_SansSerif-Italic.3b1e59b3.woff2 +0 -0
  609. package/.next/static/media/KaTeX_SansSerif-Italic.7c9bc82b.woff +0 -0
  610. package/.next/static/media/KaTeX_SansSerif-Italic.b4c20c84.ttf +0 -0
  611. package/.next/static/media/KaTeX_SansSerif-Regular.74048478.woff +0 -0
  612. package/.next/static/media/KaTeX_SansSerif-Regular.ba21ed5f.woff2 +0 -0
  613. package/.next/static/media/KaTeX_SansSerif-Regular.d4d7ba48.ttf +0 -0
  614. package/.next/static/media/KaTeX_Script-Regular.03e9641d.woff2 +0 -0
  615. package/.next/static/media/KaTeX_Script-Regular.07505710.woff +0 -0
  616. package/.next/static/media/KaTeX_Script-Regular.fe9cbbe1.ttf +0 -0
  617. package/.next/static/media/KaTeX_Size1-Regular.e1e279cb.woff +0 -0
  618. package/.next/static/media/KaTeX_Size1-Regular.eae34984.woff2 +0 -0
  619. package/.next/static/media/KaTeX_Size1-Regular.fabc004a.ttf +0 -0
  620. package/.next/static/media/KaTeX_Size2-Regular.57727022.woff +0 -0
  621. package/.next/static/media/KaTeX_Size2-Regular.5916a24f.woff2 +0 -0
  622. package/.next/static/media/KaTeX_Size2-Regular.d6b476ec.ttf +0 -0
  623. package/.next/static/media/KaTeX_Size3-Regular.9acaf01c.woff +0 -0
  624. package/.next/static/media/KaTeX_Size3-Regular.a144ef58.ttf +0 -0
  625. package/.next/static/media/KaTeX_Size3-Regular.b4230e7e.woff2 +0 -0
  626. package/.next/static/media/KaTeX_Size4-Regular.10d95fd3.woff2 +0 -0
  627. package/.next/static/media/KaTeX_Size4-Regular.7a996c9d.woff +0 -0
  628. package/.next/static/media/KaTeX_Size4-Regular.fbccdabe.ttf +0 -0
  629. package/.next/static/media/KaTeX_Typewriter-Regular.6258592b.woff +0 -0
  630. package/.next/static/media/KaTeX_Typewriter-Regular.a8709e36.woff2 +0 -0
  631. package/.next/static/media/KaTeX_Typewriter-Regular.d97aaf4a.ttf +0 -0
  632. package/.next/static/media/ec14413c594b3356-s.p.woff2 +0 -0
  633. package/.next/static/sN1YhVy-LPqPUdH9cLpTi/_buildManifest.js +1 -0
  634. package/.next/static/sN1YhVy-LPqPUdH9cLpTi/_ssgManifest.js +1 -0
  635. package/.next/trace +9 -0
  636. package/.next/trace-build +1 -0
  637. package/.next/types/app/api/agent/[id]/bash-output/route.ts +353 -0
  638. package/.next/types/app/api/agent/[id]/events/route.ts +353 -0
  639. package/.next/types/app/api/agent/[id]/lease/route.ts +353 -0
  640. package/.next/types/app/api/agent/[id]/route.ts +353 -0
  641. package/.next/types/app/api/agent/new/route.ts +353 -0
  642. package/.next/types/app/api/agent/running/route.ts +353 -0
  643. package/.next/types/app/api/app-update/route.ts +353 -0
  644. package/.next/types/app/api/auth/api-key/[provider]/route.ts +353 -0
  645. package/.next/types/app/api/auth/login/[provider]/route.ts +353 -0
  646. package/.next/types/app/api/auth/logout/[provider]/route.ts +353 -0
  647. package/.next/types/app/api/auth/providers/route.ts +353 -0
  648. package/.next/types/app/api/automations/route.ts +353 -0
  649. package/.next/types/app/api/cache-miss-notices/route.ts +353 -0
  650. package/.next/types/app/api/channels/route.ts +353 -0
  651. package/.next/types/app/api/cwd/browse/route.ts +353 -0
  652. package/.next/types/app/api/cwd/validate/route.ts +353 -0
  653. package/.next/types/app/api/default-cwd/route.ts +353 -0
  654. package/.next/types/app/api/file-index/route.ts +353 -0
  655. package/.next/types/app/api/files/[...path]/route.ts +353 -0
  656. package/.next/types/app/api/git/commit/route.ts +353 -0
  657. package/.next/types/app/api/git/diff/route.ts +353 -0
  658. package/.next/types/app/api/git/graph/route.ts +353 -0
  659. package/.next/types/app/api/git/status/route.ts +353 -0
  660. package/.next/types/app/api/home/route.ts +353 -0
  661. package/.next/types/app/api/mcp/route.ts +353 -0
  662. package/.next/types/app/api/mcp/sign-in/[flowId]/route.ts +353 -0
  663. package/.next/types/app/api/mcp/sign-in/route.ts +353 -0
  664. package/.next/types/app/api/mcp/test/route.ts +353 -0
  665. package/.next/types/app/api/models/default/route.ts +353 -0
  666. package/.next/types/app/api/models/enabled/route.ts +353 -0
  667. package/.next/types/app/api/models/refresh/route.ts +353 -0
  668. package/.next/types/app/api/models/route.ts +353 -0
  669. package/.next/types/app/api/models-config/catalog/route.ts +353 -0
  670. package/.next/types/app/api/models-config/discover/route.ts +353 -0
  671. package/.next/types/app/api/models-config/route.ts +353 -0
  672. package/.next/types/app/api/models-config/test/route.ts +353 -0
  673. package/.next/types/app/api/open-in-explorer/route.ts +353 -0
  674. package/.next/types/app/api/plugins/check/route.ts +353 -0
  675. package/.next/types/app/api/plugins/route.ts +353 -0
  676. package/.next/types/app/api/project-trust/route.ts +353 -0
  677. package/.next/types/app/api/provider-usage/query/route.ts +353 -0
  678. package/.next/types/app/api/push/config/route.ts +353 -0
  679. package/.next/types/app/api/push/subscribe/route.ts +353 -0
  680. package/.next/types/app/api/sessions/[id]/auto-name/route.ts +353 -0
  681. package/.next/types/app/api/sessions/[id]/context/route.ts +353 -0
  682. package/.next/types/app/api/sessions/[id]/entries/[entryId]/thinking/route.ts +353 -0
  683. package/.next/types/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route.ts +353 -0
  684. package/.next/types/app/api/sessions/[id]/export/route.ts +353 -0
  685. package/.next/types/app/api/sessions/[id]/fork/route.ts +353 -0
  686. package/.next/types/app/api/sessions/[id]/route.ts +353 -0
  687. package/.next/types/app/api/sessions/[id]/share/route.ts +353 -0
  688. package/.next/types/app/api/sessions/[id]/state/route.ts +353 -0
  689. package/.next/types/app/api/sessions/delete/route.ts +353 -0
  690. package/.next/types/app/api/sessions/route.ts +353 -0
  691. package/.next/types/app/api/sessions/search/route.ts +353 -0
  692. package/.next/types/app/api/sessions/stats/route.ts +353 -0
  693. package/.next/types/app/api/sessions/ui-state/route.ts +353 -0
  694. package/.next/types/app/api/skills/check/route.ts +353 -0
  695. package/.next/types/app/api/skills/content/route.ts +353 -0
  696. package/.next/types/app/api/skills/install/route.ts +353 -0
  697. package/.next/types/app/api/skills/route.ts +353 -0
  698. package/.next/types/app/api/skills/search/route.ts +353 -0
  699. package/.next/types/app/api/skills/update/route.ts +353 -0
  700. package/.next/types/app/api/subagents/[id]/route.ts +353 -0
  701. package/.next/types/app/api/subagents/profiles/route.ts +353 -0
  702. package/.next/types/app/api/subagents/settings/route.ts +353 -0
  703. package/.next/types/app/api/terminal/[id]/events/route.ts +353 -0
  704. package/.next/types/app/api/terminal/[id]/route.ts +353 -0
  705. package/.next/types/app/api/terminal/route.ts +353 -0
  706. package/.next/types/app/api/tools/settings/route.ts +353 -0
  707. package/.next/types/app/api/web-auth/route.ts +353 -0
  708. package/.next/types/app/api/worktrees/route.ts +353 -0
  709. package/.next/types/app/layout.ts +89 -0
  710. package/.next/types/app/login/page.ts +89 -0
  711. package/.next/types/app/page.ts +89 -0
  712. package/.next/types/app/share/[code]/page.ts +89 -0
  713. package/.next/types/cache-life.d.ts +146 -0
  714. package/.next/types/package.json +1 -0
  715. package/.next/types/root-params.d.ts +3 -0
  716. package/.next/types/routes.d.ts +146 -0
  717. package/.next/types/validator.ts +736 -0
  718. package/LICENSE +21 -0
  719. package/README.md +206 -2
  720. package/bin/browser-opener.js +34 -0
  721. package/bin/node-version.js +35 -0
  722. package/bin/pi-web-commands.js +118 -0
  723. package/bin/pi-web-node-args.js +11 -0
  724. package/bin/pi-web-options.js +141 -0
  725. package/bin/pi-web-update.js +160 -0
  726. package/bin/pi-web.js +157 -0
  727. package/bin/prepare-terminal.js +14 -0
  728. package/bin/process-lifecycle.js +81 -0
  729. package/bin/rotate-preview-secrets.js +105 -0
  730. package/bin/run-records.js +212 -0
  731. package/next.config.ts +110 -0
  732. package/package.json +100 -4
  733. package/public/icons/apple-touch-icon.png +0 -0
  734. package/public/icons/catppuccin/LICENSE +22 -0
  735. package/public/icons/catppuccin/README.md +10 -0
  736. package/public/icons/catppuccin/latte/_file.svg +3 -0
  737. package/public/icons/catppuccin/latte/_folder.svg +3 -0
  738. package/public/icons/catppuccin/latte/_folder_open.svg +3 -0
  739. package/public/icons/catppuccin/latte/bash.svg +7 -0
  740. package/public/icons/catppuccin/latte/bun-lock.svg +8 -0
  741. package/public/icons/catppuccin/latte/config.svg +3 -0
  742. package/public/icons/catppuccin/latte/css.svg +6 -0
  743. package/public/icons/catppuccin/latte/database.svg +3 -0
  744. package/public/icons/catppuccin/latte/docker.svg +3 -0
  745. package/public/icons/catppuccin/latte/env.svg +3 -0
  746. package/public/icons/catppuccin/latte/eslint.svg +6 -0
  747. package/public/icons/catppuccin/latte/git.svg +6 -0
  748. package/public/icons/catppuccin/latte/go.svg +3 -0
  749. package/public/icons/catppuccin/latte/graphql.svg +3 -0
  750. package/public/icons/catppuccin/latte/html.svg +6 -0
  751. package/public/icons/catppuccin/latte/javascript-react.svg +8 -0
  752. package/public/icons/catppuccin/latte/javascript.svg +6 -0
  753. package/public/icons/catppuccin/latte/json.svg +3 -0
  754. package/public/icons/catppuccin/latte/lock.svg +3 -0
  755. package/public/icons/catppuccin/latte/markdown.svg +3 -0
  756. package/public/icons/catppuccin/latte/ms-word.svg +6 -0
  757. package/public/icons/catppuccin/latte/next.svg +6 -0
  758. package/public/icons/catppuccin/latte/npm-lock.svg +7 -0
  759. package/public/icons/catppuccin/latte/pdf.svg +3 -0
  760. package/public/icons/catppuccin/latte/python.svg +8 -0
  761. package/public/icons/catppuccin/latte/rust.svg +6 -0
  762. package/public/icons/catppuccin/latte/sass.svg +3 -0
  763. package/public/icons/catppuccin/latte/terraform.svg +3 -0
  764. package/public/icons/catppuccin/latte/toml.svg +3 -0
  765. package/public/icons/catppuccin/latte/typescript-react.svg +8 -0
  766. package/public/icons/catppuccin/latte/typescript.svg +6 -0
  767. package/public/icons/catppuccin/latte/yaml.svg +3 -0
  768. package/public/icons/catppuccin/mocha/_file.svg +3 -0
  769. package/public/icons/catppuccin/mocha/_folder.svg +3 -0
  770. package/public/icons/catppuccin/mocha/_folder_open.svg +3 -0
  771. package/public/icons/catppuccin/mocha/bash.svg +7 -0
  772. package/public/icons/catppuccin/mocha/bun-lock.svg +8 -0
  773. package/public/icons/catppuccin/mocha/config.svg +3 -0
  774. package/public/icons/catppuccin/mocha/css.svg +6 -0
  775. package/public/icons/catppuccin/mocha/database.svg +3 -0
  776. package/public/icons/catppuccin/mocha/docker.svg +3 -0
  777. package/public/icons/catppuccin/mocha/env.svg +3 -0
  778. package/public/icons/catppuccin/mocha/eslint.svg +6 -0
  779. package/public/icons/catppuccin/mocha/git.svg +6 -0
  780. package/public/icons/catppuccin/mocha/go.svg +3 -0
  781. package/public/icons/catppuccin/mocha/graphql.svg +3 -0
  782. package/public/icons/catppuccin/mocha/html.svg +6 -0
  783. package/public/icons/catppuccin/mocha/javascript-react.svg +8 -0
  784. package/public/icons/catppuccin/mocha/javascript.svg +6 -0
  785. package/public/icons/catppuccin/mocha/json.svg +3 -0
  786. package/public/icons/catppuccin/mocha/lock.svg +3 -0
  787. package/public/icons/catppuccin/mocha/markdown.svg +3 -0
  788. package/public/icons/catppuccin/mocha/ms-word.svg +6 -0
  789. package/public/icons/catppuccin/mocha/next.svg +6 -0
  790. package/public/icons/catppuccin/mocha/npm-lock.svg +7 -0
  791. package/public/icons/catppuccin/mocha/pdf.svg +3 -0
  792. package/public/icons/catppuccin/mocha/python.svg +8 -0
  793. package/public/icons/catppuccin/mocha/rust.svg +6 -0
  794. package/public/icons/catppuccin/mocha/sass.svg +3 -0
  795. package/public/icons/catppuccin/mocha/terraform.svg +3 -0
  796. package/public/icons/catppuccin/mocha/toml.svg +3 -0
  797. package/public/icons/catppuccin/mocha/typescript-react.svg +8 -0
  798. package/public/icons/catppuccin/mocha/typescript.svg +6 -0
  799. package/public/icons/catppuccin/mocha/yaml.svg +3 -0
  800. package/public/icons/icon-192.png +0 -0
  801. package/public/icons/icon-512.png +0 -0
  802. package/public/offline.html +83 -0
  803. package/public/provider-icons.svg +54 -0
  804. package/public/sw.js +183 -0
  805. package/public/sw.test.mjs +339 -0
@@ -0,0 +1,104 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3400],{17099:(t,e,r)=>{r.d(e,{m:()=>a});var o=r(19582),a=class{constructor(t){this.init=t,this.records=this.init()}static #t=(0,o.K)(this,"ImperativeState");reset(){this.records=this.init()}}},60547:(t,e,r)=>{function o(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}r.d(e,{S:()=>o}),(0,r(19582).K)(o,"populateCommonDb")},93400:(t,e,r)=>{r.d(e,{diagram:()=>tM});var o=r(17099),a=r(60547),i=r(89204),n=r(59410),s=r(63824),c=r(19582),d=r(94366),l=r(38123),h={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},$=n.UI.gitGraph,m=(0,c.K)(()=>(0,i.$t)({...$,...(0,n.zj)().gitGraph}),"getConfig"),g=new o.m(()=>{let t=m(),e=t.mainBranchName,r=t.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:r}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function p(){return(0,i.yT)({length:7})}function y(t,e){let r=Object.create(null);return t.reduce((t,o)=>{let a=e(o);return r[a]||(r[a]=!0,t.push(o)),t},[])}(0,c.K)(p,"getID"),(0,c.K)(y,"uniqBy");var f=(0,c.K)(function(t){g.records.direction=t},"setDirection"),x=(0,c.K)(function(t){s.R.debug("options str",t),t=(t=t?.trim())||"{}";try{g.records.options=JSON.parse(t)}catch(t){s.R.error("error while parsing gitGraph options",t.message)}},"setOptions"),u=(0,c.K)(function(){return g.records.options},"getOptions"),b=(0,c.K)(function(t){let e=t.msg,r=t.id,o=t.type,a=t.tags;s.R.info("commit",e,r,o,a),s.R.debug("Entering commit:",e,r,o,a);let i=m();r=n.Y2.sanitizeText(r,i),e=n.Y2.sanitizeText(e,i),a=a?.map(t=>n.Y2.sanitizeText(t,i));let c={id:r||g.records.seq+"-"+p(),message:e,seq:g.records.seq++,type:o??h.NORMAL,tags:a??[],parents:null==g.records.head?[]:[g.records.head.id],branch:g.records.currBranch};g.records.head=c,s.R.info("main branch",i.mainBranchName),g.records.commits.has(c.id)&&s.R.warn(`Commit ID ${c.id} already exists`),g.records.commits.set(c.id,c),g.records.branches.set(g.records.currBranch,c.id),s.R.debug("in pushCommit "+c.id)},"commit"),k=(0,c.K)(function(t){let e=t.name,r=t.order;if(e=n.Y2.sanitizeText(e,m()),g.records.branches.has(e))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);g.records.branches.set(e,null!=g.records.head?g.records.head.id:null),g.records.branchConfig.set(e,{name:e,order:r}),E(e),s.R.debug("in createBranch")},"branch"),B=(0,c.K)(t=>{let e=t.branch,r=t.id,o=t.type,a=t.tags,i=m();e=n.Y2.sanitizeText(e,i),r&&(r=n.Y2.sanitizeText(r,i));let c=g.records.branches.get(g.records.currBranch),d=g.records.branches.get(e),l=c?g.records.commits.get(c):void 0,$=d?g.records.commits.get(d):void 0;if(l&&$&&l.branch===e)throw Error(`Cannot merge branch '${e}' into itself.`);if(g.records.currBranch===e){let t=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},t}if(void 0===l||!l){let t=Error(`Incorrect usage of "merge". Current branch (${g.records.currBranch})has no commits`);throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},t}if(!g.records.branches.has(e)){let t=Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},t}if(void 0===$||!$){let t=Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},t}if(l===$){let t=Error('Incorrect usage of "merge". Both branches have same head');throw t.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},t}if(r&&g.records.commits.has(r)){let t=Error('Incorrect usage of "merge". Commit with id:'+r+" already exists, use different custom id");throw t.hash={text:`merge ${e} ${r} ${o} ${a?.join(" ")}`,token:`merge ${e} ${r} ${o} ${a?.join(" ")}`,expected:[`merge ${e} ${r}_UNIQUE ${o} ${a?.join(" ")}`]},t}let y={id:r||`${g.records.seq}-${p()}`,message:`merged branch ${e} into ${g.records.currBranch}`,seq:g.records.seq++,parents:null==g.records.head?[]:[g.records.head.id,d||""],branch:g.records.currBranch,type:h.MERGE,customType:o,customId:!!r,tags:a??[]};g.records.head=y,g.records.commits.set(y.id,y),g.records.branches.set(g.records.currBranch,y.id),s.R.debug(g.records.branches),s.R.debug("in mergeBranch")},"merge"),w=(0,c.K)(function(t){let e=t.id,r=t.targetId,o=t.tags,a=t.parent;s.R.debug("Entering cherryPick:",e,r,o);let i=m();if(e=n.Y2.sanitizeText(e,i),r=n.Y2.sanitizeText(r,i),o=o?.map(t=>n.Y2.sanitizeText(t,i)),a=n.Y2.sanitizeText(a,i),!e||!g.records.commits.has(e)){let t=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let c=g.records.commits.get(e);if(void 0===c||!c)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(a&&!(Array.isArray(c.parents)&&c.parents.includes(a)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let d=c.branch;if(c.type===h.MERGE&&!a)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!r||!g.records.commits.has(r)){if(d===g.records.currBranch){let t=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let t=g.records.branches.get(g.records.currBranch);if(void 0===t||!t){let t=Error(`Incorrect usage of "cherry-pick". Current branch (${g.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let i=g.records.commits.get(t);if(void 0===i||!i){let t=Error(`Incorrect usage of "cherry-pick". Current branch (${g.records.currBranch})has no commits`);throw t.hash={text:`cherryPick ${e} ${r}`,token:`cherryPick ${e} ${r}`,expected:["cherry-pick abc"]},t}let n={id:g.records.seq+"-"+p(),message:`cherry-picked ${c?.message} into ${g.records.currBranch}`,seq:g.records.seq++,parents:null==g.records.head?[]:[g.records.head.id,c.id],branch:g.records.currBranch,type:h.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${c.id}${c.type===h.MERGE?`|parent:${a}`:""}`]};g.records.head=n,g.records.commits.set(n.id,n),g.records.branches.set(g.records.currBranch,n.id),s.R.debug(g.records.branches),s.R.debug("in cherryPick")}},"cherryPick"),E=(0,c.K)(function(t){if(t=n.Y2.sanitizeText(t,m()),g.records.branches.has(t)){g.records.currBranch=t;let e=g.records.branches.get(g.records.currBranch);void 0!==e&&e?g.records.head=g.records.commits.get(e)??null:g.records.head=null}else{let e=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw e.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},e}},"checkout");function T(t,e,r){let o=t.indexOf(e);-1===o?t.push(r):t.splice(o,1,r)}function C(t){let e=t.reduce((t,e)=>t.seq>e.seq?t:e,t[0]),r="";t.forEach(function(t){t===e?r+=" *":r+=" |"});let o=[r,e.id,e.seq];for(let t in g.records.branches)g.records.branches.get(t)===e.id&&o.push(t);if(s.R.debug(o.join(" ")),e.parents&&2==e.parents.length&&e.parents[0]&&e.parents[1]){let r=g.records.commits.get(e.parents[0]);T(t,e,r),e.parents[1]&&t.push(g.records.commits.get(e.parents[1]))}else if(0==e.parents.length)return;else if(e.parents[0]){let r=g.records.commits.get(e.parents[0]);T(t,e,r)}C(t=y(t,t=>t.id))}(0,c.K)(T,"upsert"),(0,c.K)(C,"prettyPrintCommitHistory");var L=(0,c.K)(function(){s.R.debug(g.records.commits),C([I()[0]])},"prettyPrint"),K=(0,c.K)(function(){g.reset(),(0,n.IU)()},"clear"),M=(0,c.K)(function(){return[...g.records.branchConfig.values()].map((t,e)=>null!==t.order&&void 0!==t.order?t:{...t,order:parseFloat(`0.${e}`)}).sort((t,e)=>(t.order??0)-(e.order??0)).map(t=>{let{name:e}=t;return{name:e}})},"getBranchesAsObjArray"),R=(0,c.K)(function(){return g.records.branches},"getBranches"),v=(0,c.K)(function(){return g.records.commits},"getCommits"),I=(0,c.K)(function(){let t=[...g.records.commits.values()];return t.forEach(function(t){s.R.debug(t.id)}),t.sort((t,e)=>t.seq-e.seq),t},"getCommitsArray"),P={commitType:h,getConfig:m,setDirection:f,setOptions:x,getOptions:u,commit:b,branch:k,merge:B,cherryPick:w,checkout:E,prettyPrint:L,clear:K,getBranchesAsObjArray:M,getBranches:R,getCommits:v,getCommitsArray:I,getCurrentBranch:(0,c.K)(function(){return g.records.currBranch},"getCurrentBranch"),getDirection:(0,c.K)(function(){return g.records.direction},"getDirection"),getHead:(0,c.K)(function(){return g.records.head},"getHead"),setAccTitle:n.SV,getAccTitle:n.iN,getAccDescription:n.m7,setAccDescription:n.EI,setDiagramTitle:n.ke,getDiagramTitle:n.ab},O=(0,c.K)((t,e)=>{for(let r of((0,a.S)(t,e),t.dir&&e.setDirection(t.dir),t.statements))A(r,e)},"populate"),A=(0,c.K)((t,e)=>{let r={Commit:(0,c.K)(t=>e.commit(G(t)),"Commit"),Branch:(0,c.K)(t=>e.branch(S(t)),"Branch"),Merge:(0,c.K)(t=>e.merge(H(t)),"Merge"),Checkout:(0,c.K)(t=>e.checkout(D(t)),"Checkout"),CherryPicking:(0,c.K)(t=>e.cherryPick(W(t)),"CherryPicking")}[t.$type];r?r(t):s.R.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),G=(0,c.K)(t=>({id:t.id,msg:t.message??"",type:void 0!==t.type?h[t.type]:h.NORMAL,tags:t.tags??void 0}),"parseCommit"),S=(0,c.K)(t=>({name:t.name,order:t.order??0}),"parseBranch"),H=(0,c.K)(t=>({branch:t.branch,id:t.id??"",type:void 0!==t.type?h[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),D=(0,c.K)(t=>t.branch,"parseCheckout"),W=(0,c.K)(t=>({id:t.id,targetId:"",tags:t.tags?.length===0?void 0:t.tags,parent:t.parent}),"parseCherryPicking"),_={parse:(0,c.K)(async t=>{let e=await (0,d.qg)("gitGraph",t);s.R.debug(e),O(e,P)},"parse")},q=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),z=new Set(["redux-color","redux-dark-color"]),Y=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),N=(0,c.K)(function(t,e){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r&&t>0?(t-1)%(e-1)+1:t%e},"calcColorIndex"),j=new Map,F=new Map,U=new Map,V=[],J=0,Q="LR",X=(0,c.K)(()=>{j.clear(),F.clear(),U.clear(),J=0,V=[],Q="LR"},"clear"),Z=(0,c.K)(t=>{let e=document.createElementNS("http://www.w3.org/2000/svg","text");return("string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):t).forEach(t=>{let r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),r.setAttribute("class","row"),r.textContent=t.trim(),e.appendChild(r)}),e},"drawText"),tt=(0,c.K)(t=>{let e,r,o;return"BT"===Q?(r=(0,c.K)((t,e)=>t<=e,"comparisonFunc"),o=1/0):(r=(0,c.K)((t,e)=>t>=e,"comparisonFunc"),o=0),t.forEach(t=>{let a="TB"===Q||"BT"==Q?F.get(t)?.y:F.get(t)?.x;void 0!==a&&r(a,o)&&(e=t,o=a)}),e},"findClosestParent"),te=(0,c.K)(t=>{let e="",r=1/0;return t.forEach(t=>{let o=F.get(t).y;o<=r&&(e=t,r=o)}),e||void 0},"findClosestParentBT"),tr=(0,c.K)((t,e,r)=>{let o=r,a=r,i=[];t.forEach(t=>{let r=e.get(t);if(!r)throw Error(`Commit not found for key ${t}`);r.parents.length?a=Math.max(o=ta(r),a):i.push(r),ti(r,o)}),o=a,i.forEach(t=>{tn(t,o,r)}),t.forEach(t=>{let r=e.get(t);if(r?.parents.length){let t=te(r.parents);(o=F.get(t).y-40)<=a&&(a=o);let e=j.get(r.branch).pos,i=o-10;F.set(r.id,{x:e,y:i})}})},"setParallelBTPos"),to=(0,c.K)(t=>{let e=tt(t.parents.filter(t=>null!==t));if(!e)throw Error(`Closest parent not found for commit ${t.id}`);let r=F.get(e)?.y;if(void 0===r)throw Error(`Closest parent position not found for commit ${t.id}`);return r},"findClosestParentPos"),ta=(0,c.K)(t=>to(t)+40,"calculateCommitPosition"),ti=(0,c.K)((t,e)=>{let r=j.get(t.branch);if(!r)throw Error(`Branch not found for commit ${t.id}`);let o=r.pos,a=e+10;return F.set(t.id,{x:o,y:a}),{x:o,y:a}},"setCommitPosition"),tn=(0,c.K)((t,e,r)=>{let o=j.get(t.branch);if(!o)throw Error(`Branch not found for commit ${t.id}`);let a=o.pos;F.set(t.id,{x:a,y:e+r})},"setRootPosition"),ts=(0,c.K)((t,e,r,o,a,i)=>{let{theme:s}=(0,n.D7)(),c=q.has(s??""),d=z.has(s??""),l=Y.has(s??"");if(i===h.HIGHLIGHT)t.append("rect").attr("x",r.x-10+3*!!c).attr("y",r.y-10+3*!!c).attr("width",c?14:20).attr("height",c?14:20).attr("class",`commit ${e.id} commit-highlight${N(a,8,d)} ${o}-outer`),t.append("rect").attr("x",r.x-6+2*!!c).attr("y",r.y-6+2*!!c).attr("width",c?8:12).attr("height",c?8:12).attr("class",`commit ${e.id} commit${N(a,8,d)} ${o}-inner`);else if(i===h.CHERRY_PICK)t.append("circle").attr("cx",r.x).attr("cy",r.y).attr("r",c?7:10).attr("class",`commit ${e.id} ${o}`),t.append("circle").attr("cx",r.x-3).attr("cy",r.y+2).attr("r",c?2.5:2.75).attr("fill",l?"#000000":"#fff").attr("class",`commit ${e.id} ${o}`),t.append("circle").attr("cx",r.x+3).attr("cy",r.y+2).attr("r",c?2.5:2.75).attr("fill",l?"#000000":"#fff").attr("class",`commit ${e.id} ${o}`),t.append("line").attr("x1",r.x+3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke",l?"#000000":"#fff").attr("class",`commit ${e.id} ${o}`),t.append("line").attr("x1",r.x-3).attr("y1",r.y+1).attr("x2",r.x).attr("y2",r.y-5).attr("stroke",l?"#000000":"#fff").attr("class",`commit ${e.id} ${o}`);else{let n=t.append("circle");if(n.attr("cx",r.x),n.attr("cy",r.y),n.attr("r",c?7:10),n.attr("class",`commit ${e.id} commit${N(a,8,d)}`),i===h.MERGE){let i=t.append("circle");i.attr("cx",r.x),i.attr("cy",r.y),i.attr("r",c?5:6),i.attr("class",`commit ${o} ${e.id} commit${N(a,8,d)}`)}if(i===h.REVERSE){let i=t.append("path"),n=c?4:5;i.attr("d",`M ${r.x-n},${r.y-n}L${r.x+n},${r.y+n}M${r.x-n},${r.y+n}L${r.x+n},${r.y-n}`).attr("class",`commit ${o} ${e.id} commit${N(a,8,d)}`)}}},"drawCommitBullet"),tc=(0,c.K)((t,e,r,o,a)=>{if(e.type!==h.CHERRY_PICK&&(e.customId&&e.type===h.MERGE||e.type!==h.MERGE)&&a.showCommitLabel){let i=t.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),s=i.append("text").attr("x",o).attr("y",r.y+25).attr("class","commit-label").text(e.id),c=s.node()?.getBBox();if(c&&(n.attr("x",r.posWithOffset-c.width/2-2).attr("y",r.y+13.5).attr("width",c.width+4).attr("height",c.height+4),"TB"===Q||"BT"===Q?(n.attr("x",r.x-(c.width+16+5)).attr("y",r.y-12),s.attr("x",r.x-(c.width+16)).attr("y",r.y+c.height-12)):s.attr("x",r.posWithOffset-c.width/2),a.rotateCommitLabel))if("TB"===Q||"BT"===Q)s.attr("transform","rotate(-45, "+r.x+", "+r.y+")"),n.attr("transform","rotate(-45, "+r.x+", "+r.y+")");else{let t=-7.5-(c.width+10)/25*9.5,e=10+c.width/25*8.5;i.attr("transform","translate("+t+", "+e+") rotate(-45, "+o+", "+r.y+")")}}},"drawCommitLabel"),td=(0,c.K)((t,e,r,o)=>{if(e.tags.length>0){let a=0,i=0,n=0,s=[];for(let o of e.tags.reverse()){let e=t.insert("polygon"),c=t.append("circle"),d=t.append("text").attr("y",r.y-16-a).attr("class","tag-label").text(o),l=d.node()?.getBBox();if(!l)throw Error("Tag bbox not found");i=Math.max(i,l.width),n=Math.max(n,l.height),d.attr("x",r.posWithOffset-l.width/2),s.push({tag:d,hole:c,rect:e,yOffset:a}),a+=20}for(let{tag:t,hole:e,rect:a,yOffset:c}of s){let s=n/2,d=r.y-19.2-c;if(a.attr("class","tag-label-bkg").attr("points",`
2
+ ${o-i/2-2},${d+2}
3
+ ${o-i/2-2},${d-2}
4
+ ${r.posWithOffset-i/2-4},${d-s-2}
5
+ ${r.posWithOffset+i/2+4},${d-s-2}
6
+ ${r.posWithOffset+i/2+4},${d+s+2}
7
+ ${r.posWithOffset-i/2-4},${d+s+2}`),e.attr("cy",d).attr("cx",o-i/2+2).attr("r",1.5).attr("class","tag-hole"),"TB"===Q||"BT"===Q){let n=o+c;a.attr("class","tag-label-bkg").attr("points",`
8
+ ${r.x},${n+2}
9
+ ${r.x},${n-2}
10
+ ${r.x+10},${n-s-2}
11
+ ${r.x+10+i+4},${n-s-2}
12
+ ${r.x+10+i+4},${n+s+2}
13
+ ${r.x+10},${n+s+2}`).attr("transform","translate(12,12) rotate(45, "+r.x+","+o+")"),e.attr("cx",r.x+2).attr("cy",n).attr("transform","translate(12,12) rotate(45, "+r.x+","+o+")"),t.attr("x",r.x+5).attr("y",n+3).attr("transform","translate(14,14) rotate(45, "+r.x+","+o+")")}}}},"drawCommitTags"),tl=(0,c.K)(t=>{switch(t.customType??t.type){case h.NORMAL:return"commit-normal";case h.REVERSE:return"commit-reverse";case h.HIGHLIGHT:return"commit-highlight";case h.MERGE:return"commit-merge";case h.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),th=(0,c.K)((t,e,r,o)=>{let a={x:0,y:0};if(t.parents.length>0){let r=tt(t.parents);if(r){let i=o.get(r)??a;return"TB"===e?i.y+40:"BT"===e?(o.get(t.id)??a).y-40:i.x+40}}else if("TB"===e)return 30;else if("BT"===e)return(o.get(t.id)??a).y-40;return 0},"calculatePosition"),t$=(0,c.K)((t,e,r)=>{let o="BT"===Q&&r?e:e+10,a=j.get(t.branch)?.pos,i="TB"===Q||"BT"===Q?j.get(t.branch)?.pos:o;if(void 0===i||void 0===a)throw Error(`Position were undefined for commit ${t.id}`);let s=q.has((0,n.D7)().theme??"");return{x:i,y:"TB"===Q||"BT"===Q?o:a+(s?7:-2),posWithOffset:o}},"getCommitPosition"),tm=(0,c.K)((t,e,r,o)=>{let a=t.append("g").attr("class","commit-bullets"),i=t.append("g").attr("class","commit-labels"),n=30*("TB"===Q||"BT"===Q),s=[...e.keys()],d=o.parallelCommits??!1,l=s.sort((0,c.K)((t,r)=>{let o=e.get(t)?.seq,a=e.get(r)?.seq;return void 0!==o&&void 0!==a?o-a:0},"sortKeys"));"BT"===Q&&(d&&tr(l,e,n),l=l.reverse()),l.forEach(t=>{let s=e.get(t);if(!s)throw Error(`Commit not found for key ${t}`);d&&(n=th(s,Q,n,F));let c=t$(s,n,d);if(r){let t=tl(s),e=s.customType??s.type,r=j.get(s.branch)?.index??0;ts(a,s,c,t,r,e),tc(i,s,c,n,o),td(i,s,c,n)}"TB"===Q||"BT"===Q?F.set(s.id,{x:c.x,y:c.posWithOffset}):F.set(s.id,{x:c.posWithOffset,y:c.y}),(n="BT"===Q&&d?n+40:n+40+10)>J&&(J=n)})},"drawCommits"),tg=(0,c.K)((t,e,r,o,a)=>{let i=("TB"===Q||"BT"===Q?r.x<o.x:r.y<o.y)?e.branch:t.branch,n=(0,c.K)(t=>t.branch===i,"isOnBranchToGetCurve"),s=(0,c.K)(r=>r.seq>t.seq&&r.seq<e.seq,"isBetweenCommits");return[...a.values()].some(t=>s(t)&&n(t))},"shouldRerouteArrow"),tp=(0,c.K)(function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=t+Math.abs(t-e)/2;if(r>5)return o;if(V.every(t=>Math.abs(t-o)>=10))return V.push(o),o;let a=Math.abs(t-e);return tp(t,e-a/5,r+1)},"findLane"),ty=(0,c.K)((t,e,r,o)=>{let a,{theme:i}=(0,n.D7)(),s=z.has(i??""),c=F.get(e.id),d=F.get(r.id);if(void 0===c||void 0===d)throw Error(`Commit positions not found for commits ${e.id} and ${r.id}`);let l=tg(e,r,c,d,o),$="",m="",g=0,p=0,y=j.get(r.branch)?.index;if(r.type===h.MERGE&&e.id!==r.parents[0]&&(y=j.get(e.branch)?.index),l){$="A 10 10, 0, 0, 0,",m="A 10 10, 0, 0, 1,",g=10,p=10;let t=c.y<d.y?tp(c.y,d.y):tp(d.y,c.y),r=c.x<d.x?tp(c.x,d.x):tp(d.x,c.x);"TB"===Q?c.x<d.x?a=`M ${c.x} ${c.y} L ${r-g} ${c.y} ${m} ${r} ${c.y+p} L ${r} ${d.y-g} ${$} ${r+p} ${d.y} L ${d.x} ${d.y}`:(y=j.get(e.branch)?.index,a=`M ${c.x} ${c.y} L ${r+g} ${c.y} ${$} ${r} ${c.y+p} L ${r} ${d.y-g} ${m} ${r-p} ${d.y} L ${d.x} ${d.y}`):"BT"===Q?c.x<d.x?a=`M ${c.x} ${c.y} L ${r-g} ${c.y} ${$} ${r} ${c.y-p} L ${r} ${d.y+g} ${m} ${r+p} ${d.y} L ${d.x} ${d.y}`:(y=j.get(e.branch)?.index,a=`M ${c.x} ${c.y} L ${r+g} ${c.y} ${m} ${r} ${c.y-p} L ${r} ${d.y+g} ${$} ${r-p} ${d.y} L ${d.x} ${d.y}`):c.y<d.y?a=`M ${c.x} ${c.y} L ${c.x} ${t-g} ${$} ${c.x+p} ${t} L ${d.x-g} ${t} ${m} ${d.x} ${t+p} L ${d.x} ${d.y}`:(y=j.get(e.branch)?.index,a=`M ${c.x} ${c.y} L ${c.x} ${t+g} ${m} ${c.x+p} ${t} L ${d.x-g} ${t} ${$} ${d.x} ${t-p} L ${d.x} ${d.y}`)}else $="A 20 20, 0, 0, 0,",m="A 20 20, 0, 0, 1,",g=20,p=20,"TB"===Q?(c.x<d.x&&(a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${d.y-g} ${$} ${c.x+p} ${d.y} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${d.x-g} ${c.y} ${m} ${d.x} ${c.y+p} L ${d.x} ${d.y}`),c.x>d.x&&($="A 20 20, 0, 0, 0,",m="A 20 20, 0, 0, 1,",g=20,p=20,a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${d.y-g} ${m} ${c.x-p} ${d.y} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${d.x+g} ${c.y} ${$} ${d.x} ${c.y+p} L ${d.x} ${d.y}`),c.x===d.x&&(a=`M ${c.x} ${c.y} L ${d.x} ${d.y}`)):"BT"===Q?(c.x<d.x&&(a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${d.y+g} ${m} ${c.x+p} ${d.y} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${d.x-g} ${c.y} ${$} ${d.x} ${c.y-p} L ${d.x} ${d.y}`),c.x>d.x&&($="A 20 20, 0, 0, 0,",m="A 20 20, 0, 0, 1,",g=20,p=20,a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${d.y+g} ${$} ${c.x-p} ${d.y} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${d.x+g} ${c.y} ${m} ${d.x} ${c.y-p} L ${d.x} ${d.y}`),c.x===d.x&&(a=`M ${c.x} ${c.y} L ${d.x} ${d.y}`)):(c.y<d.y&&(a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${d.x-g} ${c.y} ${m} ${d.x} ${c.y+p} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${c.x} ${d.y-g} ${$} ${c.x+p} ${d.y} L ${d.x} ${d.y}`),c.y>d.y&&(a=r.type===h.MERGE&&e.id!==r.parents[0]?`M ${c.x} ${c.y} L ${d.x-g} ${c.y} ${$} ${d.x} ${c.y-p} L ${d.x} ${d.y}`:`M ${c.x} ${c.y} L ${c.x} ${d.y+g} ${m} ${c.x+p} ${d.y} L ${d.x} ${d.y}`),c.y===d.y&&(a=`M ${c.x} ${c.y} L ${d.x} ${d.y}`));if(void 0===a)throw Error("Line definition not found");t.append("path").attr("d",a).attr("class","arrow arrow"+N(y,8,s))},"drawArrow"),tf=(0,c.K)((t,e)=>{let r=t.append("g").attr("class","commit-arrows");[...e.keys()].forEach(t=>{let o=e.get(t);o.parents&&o.parents.length>0&&o.parents.forEach(t=>{ty(r,e.get(t),o,e)})})},"drawArrows"),tx=(0,c.K)((t,e,r,o)=>{let{look:a,theme:i,themeVariables:s}=(0,n.D7)(),{dropShadow:c,THEME_COLOR_LIMIT:d}=s,l=q.has(i??""),h=z.has(i??""),$=t.append("g");e.forEach((t,e)=>{let i=N(e,l?d:8,h),n=j.get(t.name)?.pos;if(void 0===n)throw Error(`Position not found for branch ${t.name}`);let s="TB"===Q||"BT"===Q?n:l?n+6+1:n-2,m=$.append("line");m.attr("x1",0),m.attr("y1",s),m.attr("x2",J),m.attr("y2",s),m.attr("class","branch branch"+i),"TB"===Q?(m.attr("y1",30),m.attr("x1",n),m.attr("y2",J),m.attr("x2",n)):"BT"===Q&&(m.attr("y1",J),m.attr("x1",n),m.attr("y2",30),m.attr("x2",n)),V.push(s);let g=Z(t.name),p=$.insert("rect"),y=$.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+i);y.node().appendChild(g);let f=g.getBBox(),x=4*!l,u=16*!!l,b=12*!!l;"neo"===a&&p.attr("data-look","neo"),p.attr("class","branchLabelBkg label"+i).attr("style","neo"===a?`filter:${l?`url(#${o}-drop-shadow)`:c}`:"").attr("rx",x).attr("ry",x).attr("x",-f.width-4-30*(!0===r.rotateCommitLabel)).attr("y",-f.height/2+10).attr("width",f.width+18+u).attr("height",f.height+4+b),y.attr("transform","translate("+(-f.width-14-30*(!0===r.rotateCommitLabel)+u/2)+", "+(s-f.height/2-2)+")"),"TB"===Q?(p.attr("x",n-f.width/2-10).attr("y",0),y.attr("transform","translate("+(n-f.width/2-5)+", 0)"),l&&(p.attr("transform",`translate(${-u/2-3}, ${-b-10})`),y.attr("transform","translate("+(n-f.width/2-5)+", "+(-(2*b)+7)+")"))):"BT"===Q?(p.attr("x",n-f.width/2-10).attr("y",J),y.attr("transform","translate("+(n-f.width/2-5)+", "+J+")"),l&&(p.attr("transform",`translate(${-u/2-3}, ${b+10})`),y.attr("transform","translate("+(n-f.width/2-5)+", "+(J+2*b+4)+")"))):p.attr("transform","translate(-19, "+(s-12-b/2)+")")})},"drawBranches"),tu=(0,c.K)(function(t,e,r,o,a){return j.set(t,{pos:e,index:r}),e+=50+40*!!a+("TB"===Q||"BT"===Q?o.width/2:0)},"setBranchPosition"),tb=(0,c.K)(function(t,e,r,o){X(),s.R.debug("in gitgraph renderer",t+"\n","id:",e,r);let a=o.db;if(!a.getConfig)return void s.R.error("getConfig method is not available on db");let c=a.getConfig(),d=c.rotateCommitLabel??!1;U=a.getCommits();let h=a.getBranchesAsObjArray();Q=a.getDirection();let $=(0,l.Ltv)(`[id="${e}"]`),{look:m,theme:g,themeVariables:p}=(0,n.D7)(),{useGradient:y,gradientStart:f,gradientStop:x,filterColor:u}=p;if(y){let t=$.append("defs").append("linearGradient").attr("id",e+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");t.append("stop").attr("offset","0%").attr("stop-color",f).attr("stop-opacity",1),t.append("stop").attr("offset","100%").attr("stop-color",x).attr("stop-opacity",1)}"neo"===m&&q.has(g??"")&&$.append("defs").append("filter").attr("id",e+"-drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",u);let b=0;h.forEach((t,e)=>{let r=Z(t.name),o=$.append("g"),a=o.insert("g").attr("class","branchLabel"),i=a.insert("g").attr("class","label branch-label");i.node()?.appendChild(r);let n=r.getBBox();b=tu(t.name,b,e,n,d),i.remove(),a.remove(),o.remove()}),tm($,U,!1,c),c.showBranches&&tx($,h,c,e),tf($,U),tm($,U,!0,c),i._K.insertTitle($,"gitTitleText",c.titleTopMargin??0,a.getDiagramTitle()),(0,n.mj)(void 0,$,c.diagramPadding,c.useMaxWidth)},"draw"),tk=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),tB=new Set(["redux-color","redux-dark-color"]),tw=new Set(["neo","neo-dark"]),tE=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),tT=new Set(["redux","redux-dark","redux-color","redux-dark-color","neo","neo-dark"]),tC=(0,c.K)(t=>{let{svgId:e}=t,r="";if(t.useGradient&&e)for(let o=0;o<t.THEME_COLOR_LIMIT;o++)r+=`
14
+ .label${o} { fill: ${t.mainBkg}; stroke: url(${e}-gradient); stroke-width: ${t.strokeWidth};}
15
+ `;return r},"genGitGraphGradient"),tL=(0,c.K)(t=>{let{theme:e,themeVariables:r}=(0,n.zj)(),{borderColorArray:o}=r,a=tk.has(e);if(tw.has(e)){let e="";for(let r=0;r<t.THEME_COLOR_LIMIT;r++)if(0===r)e+=`
16
+ .branch-label${r} { fill: ${t.nodeBorder};}
17
+ .commit${r} { stroke: ${t.nodeBorder}; }
18
+ .commit-highlight${r} { stroke: ${t.nodeBorder}; fill: ${t.nodeBorder}; }
19
+ .arrow${r} { stroke: ${t.nodeBorder}; }
20
+ .commit-bullets { fill: ${t.nodeBorder}; }
21
+ .commit-cherry-pick${r} { stroke: ${t.nodeBorder}; }
22
+ ${tC(t)}`;else{let o=r%8;e+=`
23
+ .branch-label${r} { fill: ${t["gitBranchLabel"+o]}; }
24
+ .commit${r} { stroke: ${t["git"+o]}; fill: ${t["git"+o]}; }
25
+ .commit-highlight${r} { stroke: ${t["gitInv"+o]}; fill: ${t["gitInv"+o]}; }
26
+ .arrow${r} { stroke: ${t["git"+o]}; }
27
+ `}return e}if(tB.has(e)){let r="";for(let i=0;i<t.THEME_COLOR_LIMIT;i++)if(0===i)r+=`
28
+ .branch-label${i} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:""} }
29
+ .commit${i} { stroke: ${t.nodeBorder}; }
30
+ .commit-highlight${i} { stroke: ${t.nodeBorder}; fill: ${t.mainBkg}; }
31
+ .label${i} { fill: ${t.mainBkg}; stroke: ${t.nodeBorder}; stroke-width: ${t.strokeWidth}; ${a?`font-weight:${t.noteFontWeight}`:""} }
32
+ .arrow${i} { stroke: ${t.nodeBorder}; }
33
+ .commit-bullets { fill: ${t.nodeBorder}; }
34
+ `;else{let n=i%o.length;r+=`
35
+ .branch-label${i} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:""} }
36
+ .commit${i} { stroke: ${o[n]}; fill: ${o[n]}; }
37
+ .commit-highlight${i} { stroke: ${o[n]}; fill: ${o[n]}; }
38
+ .label${i} { fill: ${tE.has(e)?t.mainBkg:o[n]}; stroke: ${o[n]}; stroke-width: ${t.strokeWidth}; }
39
+ .arrow${i} { stroke: ${o[n]}; }
40
+ `}return r}{let e="";for(let r=0;r<t.THEME_COLOR_LIMIT;r++)e+=`
41
+ .branch-label${r} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:""} }
42
+ .commit${r} { stroke: ${t.nodeBorder}; }
43
+ .commit-highlight${r} { stroke: ${t.nodeBorder}; fill: ${t.nodeBorder}; }
44
+ .label${r} { fill: ${t.mainBkg}; stroke: ${t.nodeBorder}; stroke-width: ${t.strokeWidth}; ${a?`font-weight:${t.noteFontWeight}`:""}}
45
+ .arrow${r} { stroke: ${t.nodeBorder}; }
46
+ .commit-bullets { fill: ${t.nodeBorder}; }
47
+ .commit-cherry-pick${r} { stroke: ${t.nodeBorder}; }
48
+ `;return e}},"genColor"),tK=(0,c.K)(t=>`${Array.from({length:t.THEME_COLOR_LIMIT},(t,e)=>e).map(e=>{let r=e%8;return`
49
+ .branch-label${e} { fill: ${t["gitBranchLabel"+r]}; }
50
+ .commit${e} { stroke: ${t["git"+r]}; fill: ${t["git"+r]}; }
51
+ .commit-highlight${e} { stroke: ${t["gitInv"+r]}; fill: ${t["gitInv"+r]}; }
52
+ .label${e} { fill: ${t["git"+r]}; }
53
+ .arrow${e} { stroke: ${t["git"+r]}; }
54
+ `}).join("\n")}`,"normalTheme"),tM={parser:_,db:P,renderer:{draw:tb},styles:(0,c.K)(t=>{let{theme:e}=(0,n.zj)(),r=tT.has(e);return`
55
+ .commit-id,
56
+ .commit-msg,
57
+ .branch-label {
58
+ fill: lightgrey;
59
+ color: lightgrey;
60
+ font-family: 'trebuchet ms', verdana, arial, sans-serif;
61
+ font-family: var(--mermaid-font-family);
62
+ }
63
+
64
+ ${r?tL(t):tK(t)}
65
+
66
+ .branch {
67
+ stroke-width: ${t.strokeWidth};
68
+ stroke: ${t.commitLineColor??t.lineColor};
69
+ stroke-dasharray: ${r?"4 2":"2"};
70
+ }
71
+ .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${r?t.nodeBorder:t.commitLabelColor}; ${r?`font-weight:${t.noteFontWeight};`:""}}
72
+ .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${r?"transparent":t.commitLabelBackground}; opacity: ${r?"":.5}; }
73
+ .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}
74
+ .tag-label-bkg { fill: ${r?t.mainBkg:t.tagLabelBackground}; stroke: ${r?t.nodeBorder:t.tagLabelBorder}; ${r?`filter:${t.dropShadow}`:""} }
75
+ .tag-hole { fill: ${t.textColor}; }
76
+
77
+ .commit-merge {
78
+ stroke: ${r?t.mainBkg:t.primaryColor};
79
+ fill: ${r?t.mainBkg:t.primaryColor};
80
+ }
81
+ .commit-reverse {
82
+ stroke: ${r?t.mainBkg:t.primaryColor};
83
+ fill: ${r?t.mainBkg:t.primaryColor};
84
+ stroke-width: ${r?t.strokeWidth:3};
85
+ }
86
+ .commit-highlight-outer {
87
+ }
88
+ .commit-highlight-inner {
89
+ stroke: ${r?t.mainBkg:t.primaryColor};
90
+ fill: ${r?t.mainBkg:t.primaryColor};
91
+ }
92
+
93
+ .arrow {
94
+ /* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
95
+ stroke-width: ${tk.has(e)?t.strokeWidth:8};
96
+ stroke-linecap: round;
97
+ fill: none
98
+ }
99
+ .gitTitleText {
100
+ text-anchor: middle;
101
+ font-size: 18px;
102
+ fill: ${t.textColor};
103
+ }
104
+ `},"getStyles")}}}]);
@@ -0,0 +1,79 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3622],{37053:(e,t,s)=>{s.d(t,{P:()=>a});var i=s(59410),r=s(63824),n=s(19582),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")},52582:(e,t,s)=>{s.d(t,{A:()=>n});var i=s(19582),r=s(38123),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")},53622:(e,t,s)=>{s.d(t,{diagram:()=>p});var i=s(52582),r=s(37053),n=s(37684);s(94665),s(1363),s(70452),s(57058),s(41996),s(27616),s(18362);var a=s(89204),l=s(59410),o=s(63824),c=s(19582),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],_=[1,38],g=[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:_,54:g,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:_,54:g,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:_,54:g,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:_,54:g,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:_,54:g,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:_,54:g,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:_,54:g,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:_,54:g,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:_,54:g,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:_,54:g,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 _(){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)(_,"lex");for(var g,f,S,I,b,T,k,N,q,C={};;){if(S=s[s.length-1],this.defaultActions[S]?I=this.defaultActions[S]:(null==g&&(g=_()),I=a[S]&&a[S][g]),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_[g]||g)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(A,{text:m.match,token:this.terminals_[g]||g,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: "+g);switch(I[0]){case 1:s.push(g),r.push(m.yytext),n.push(m.yylloc),s.push(I[1]),g=null,f?(g=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 #e=(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);let i=0;for(let t of this.relations){let 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)}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}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[422],{10422:(e,s,c)=>{c.d(s,{createEventModelingServices:()=>a.g});var a=c(39989);c(62991)}}]);