@seungyeop-lee/beads-desk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (945) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-path-routes-manifest.json +32 -0
  3. package/.next/build-manifest.json +134 -0
  4. package/.next/export-marker.json +6 -0
  5. package/.next/fallback-build-manifest.json +15 -0
  6. package/.next/images-manifest.json +68 -0
  7. package/.next/package.json +1 -0
  8. package/.next/prerender-manifest.json +100 -0
  9. package/.next/required-server-files.js +371 -0
  10. package/.next/required-server-files.json +371 -0
  11. package/.next/routes-manifest.json +234 -0
  12. package/.next/server/app/(client)/board/page/app-paths-manifest.json +3 -0
  13. package/.next/server/app/(client)/board/page/build-manifest.json +21 -0
  14. package/.next/server/app/(client)/board/page/next-font-manifest.json +6 -0
  15. package/.next/server/app/(client)/board/page/react-loadable-manifest.json +1 -0
  16. package/.next/server/app/(client)/board/page/server-reference-manifest.json +165 -0
  17. package/.next/server/app/(client)/board/page.js +21 -0
  18. package/.next/server/app/(client)/board/page.js.nft.json +1 -0
  19. package/.next/server/app/(client)/board/page_client-reference-manifest.js +3 -0
  20. package/.next/server/app/(client)/decisions/page/app-paths-manifest.json +3 -0
  21. package/.next/server/app/(client)/decisions/page/build-manifest.json +21 -0
  22. package/.next/server/app/(client)/decisions/page/next-font-manifest.json +6 -0
  23. package/.next/server/app/(client)/decisions/page/react-loadable-manifest.json +1 -0
  24. package/.next/server/app/(client)/decisions/page/server-reference-manifest.json +165 -0
  25. package/.next/server/app/(client)/decisions/page.js +21 -0
  26. package/.next/server/app/(client)/decisions/page.js.nft.json +1 -0
  27. package/.next/server/app/(client)/decisions/page_client-reference-manifest.js +3 -0
  28. package/.next/server/app/(client)/epics/page/app-paths-manifest.json +3 -0
  29. package/.next/server/app/(client)/epics/page/build-manifest.json +21 -0
  30. package/.next/server/app/(client)/epics/page/next-font-manifest.json +6 -0
  31. package/.next/server/app/(client)/epics/page/react-loadable-manifest.json +1 -0
  32. package/.next/server/app/(client)/epics/page/server-reference-manifest.json +165 -0
  33. package/.next/server/app/(client)/epics/page.js +21 -0
  34. package/.next/server/app/(client)/epics/page.js.nft.json +1 -0
  35. package/.next/server/app/(client)/epics/page_client-reference-manifest.js +3 -0
  36. package/.next/server/app/(client)/focus/page/app-paths-manifest.json +3 -0
  37. package/.next/server/app/(client)/focus/page/build-manifest.json +21 -0
  38. package/.next/server/app/(client)/focus/page/next-font-manifest.json +6 -0
  39. package/.next/server/app/(client)/focus/page/react-loadable-manifest.json +1 -0
  40. package/.next/server/app/(client)/focus/page/server-reference-manifest.json +165 -0
  41. package/.next/server/app/(client)/focus/page.js +21 -0
  42. package/.next/server/app/(client)/focus/page.js.nft.json +1 -0
  43. package/.next/server/app/(client)/focus/page_client-reference-manifest.js +3 -0
  44. package/.next/server/app/(client)/graph/page/app-paths-manifest.json +3 -0
  45. package/.next/server/app/(client)/graph/page/build-manifest.json +21 -0
  46. package/.next/server/app/(client)/graph/page/next-font-manifest.json +6 -0
  47. package/.next/server/app/(client)/graph/page/react-loadable-manifest.json +1 -0
  48. package/.next/server/app/(client)/graph/page/server-reference-manifest.json +165 -0
  49. package/.next/server/app/(client)/graph/page.js +21 -0
  50. package/.next/server/app/(client)/graph/page.js.nft.json +1 -0
  51. package/.next/server/app/(client)/graph/page_client-reference-manifest.js +3 -0
  52. package/.next/server/app/(client)/human/page/app-paths-manifest.json +3 -0
  53. package/.next/server/app/(client)/human/page/build-manifest.json +21 -0
  54. package/.next/server/app/(client)/human/page/next-font-manifest.json +6 -0
  55. package/.next/server/app/(client)/human/page/react-loadable-manifest.json +1 -0
  56. package/.next/server/app/(client)/human/page/server-reference-manifest.json +165 -0
  57. package/.next/server/app/(client)/human/page.js +21 -0
  58. package/.next/server/app/(client)/human/page.js.nft.json +1 -0
  59. package/.next/server/app/(client)/human/page_client-reference-manifest.js +3 -0
  60. package/.next/server/app/(client)/hygiene/page/app-paths-manifest.json +3 -0
  61. package/.next/server/app/(client)/hygiene/page/build-manifest.json +21 -0
  62. package/.next/server/app/(client)/hygiene/page/next-font-manifest.json +6 -0
  63. package/.next/server/app/(client)/hygiene/page/react-loadable-manifest.json +1 -0
  64. package/.next/server/app/(client)/hygiene/page/server-reference-manifest.json +165 -0
  65. package/.next/server/app/(client)/hygiene/page.js +21 -0
  66. package/.next/server/app/(client)/hygiene/page.js.nft.json +1 -0
  67. package/.next/server/app/(client)/hygiene/page_client-reference-manifest.js +3 -0
  68. package/.next/server/app/(client)/issues/page/app-paths-manifest.json +3 -0
  69. package/.next/server/app/(client)/issues/page/build-manifest.json +21 -0
  70. package/.next/server/app/(client)/issues/page/next-font-manifest.json +6 -0
  71. package/.next/server/app/(client)/issues/page/react-loadable-manifest.json +1 -0
  72. package/.next/server/app/(client)/issues/page/server-reference-manifest.json +165 -0
  73. package/.next/server/app/(client)/issues/page.js +21 -0
  74. package/.next/server/app/(client)/issues/page.js.nft.json +1 -0
  75. package/.next/server/app/(client)/issues/page_client-reference-manifest.js +3 -0
  76. package/.next/server/app/(client)/page/app-paths-manifest.json +3 -0
  77. package/.next/server/app/(client)/page/build-manifest.json +21 -0
  78. package/.next/server/app/(client)/page/next-font-manifest.json +6 -0
  79. package/.next/server/app/(client)/page/react-loadable-manifest.json +1 -0
  80. package/.next/server/app/(client)/page/server-reference-manifest.json +165 -0
  81. package/.next/server/app/(client)/page.js +22 -0
  82. package/.next/server/app/(client)/page.js.nft.json +1 -0
  83. package/.next/server/app/(client)/page_client-reference-manifest.js +3 -0
  84. package/.next/server/app/(server)/api/board/route/app-paths-manifest.json +3 -0
  85. package/.next/server/app/(server)/api/board/route/build-manifest.json +12 -0
  86. package/.next/server/app/(server)/api/board/route/server-reference-manifest.json +4 -0
  87. package/.next/server/app/(server)/api/board/route.js +10 -0
  88. package/.next/server/app/(server)/api/board/route.js.nft.json +1 -0
  89. package/.next/server/app/(server)/api/board/route_client-reference-manifest.js +3 -0
  90. package/.next/server/app/(server)/api/decisions/route/app-paths-manifest.json +3 -0
  91. package/.next/server/app/(server)/api/decisions/route/build-manifest.json +12 -0
  92. package/.next/server/app/(server)/api/decisions/route/server-reference-manifest.json +4 -0
  93. package/.next/server/app/(server)/api/decisions/route.js +10 -0
  94. package/.next/server/app/(server)/api/decisions/route.js.nft.json +1 -0
  95. package/.next/server/app/(server)/api/decisions/route_client-reference-manifest.js +3 -0
  96. package/.next/server/app/(server)/api/epics/[id]/descendants/route/app-paths-manifest.json +3 -0
  97. package/.next/server/app/(server)/api/epics/[id]/descendants/route/build-manifest.json +12 -0
  98. package/.next/server/app/(server)/api/epics/[id]/descendants/route/server-reference-manifest.json +4 -0
  99. package/.next/server/app/(server)/api/epics/[id]/descendants/route.js +10 -0
  100. package/.next/server/app/(server)/api/epics/[id]/descendants/route.js.nft.json +1 -0
  101. package/.next/server/app/(server)/api/epics/[id]/descendants/route_client-reference-manifest.js +3 -0
  102. package/.next/server/app/(server)/api/epics/route/app-paths-manifest.json +3 -0
  103. package/.next/server/app/(server)/api/epics/route/build-manifest.json +12 -0
  104. package/.next/server/app/(server)/api/epics/route/server-reference-manifest.json +4 -0
  105. package/.next/server/app/(server)/api/epics/route.js +10 -0
  106. package/.next/server/app/(server)/api/epics/route.js.nft.json +1 -0
  107. package/.next/server/app/(server)/api/epics/route_client-reference-manifest.js +3 -0
  108. package/.next/server/app/(server)/api/events/route/app-paths-manifest.json +3 -0
  109. package/.next/server/app/(server)/api/events/route/build-manifest.json +12 -0
  110. package/.next/server/app/(server)/api/events/route/server-reference-manifest.json +4 -0
  111. package/.next/server/app/(server)/api/events/route.js +8 -0
  112. package/.next/server/app/(server)/api/events/route.js.nft.json +1 -0
  113. package/.next/server/app/(server)/api/events/route_client-reference-manifest.js +3 -0
  114. package/.next/server/app/(server)/api/graph/route/app-paths-manifest.json +3 -0
  115. package/.next/server/app/(server)/api/graph/route/build-manifest.json +12 -0
  116. package/.next/server/app/(server)/api/graph/route/server-reference-manifest.json +4 -0
  117. package/.next/server/app/(server)/api/graph/route.js +10 -0
  118. package/.next/server/app/(server)/api/graph/route.js.nft.json +1 -0
  119. package/.next/server/app/(server)/api/graph/route_client-reference-manifest.js +3 -0
  120. package/.next/server/app/(server)/api/health/route/app-paths-manifest.json +3 -0
  121. package/.next/server/app/(server)/api/health/route/build-manifest.json +12 -0
  122. package/.next/server/app/(server)/api/health/route/server-reference-manifest.json +4 -0
  123. package/.next/server/app/(server)/api/health/route.js +10 -0
  124. package/.next/server/app/(server)/api/health/route.js.nft.json +1 -0
  125. package/.next/server/app/(server)/api/health/route_client-reference-manifest.js +3 -0
  126. package/.next/server/app/(server)/api/human-decisions/count/route/app-paths-manifest.json +3 -0
  127. package/.next/server/app/(server)/api/human-decisions/count/route/build-manifest.json +12 -0
  128. package/.next/server/app/(server)/api/human-decisions/count/route/server-reference-manifest.json +4 -0
  129. package/.next/server/app/(server)/api/human-decisions/count/route.js +10 -0
  130. package/.next/server/app/(server)/api/human-decisions/count/route.js.nft.json +1 -0
  131. package/.next/server/app/(server)/api/human-decisions/count/route_client-reference-manifest.js +3 -0
  132. package/.next/server/app/(server)/api/human-gates/[id]/previous-gates/route/app-paths-manifest.json +3 -0
  133. package/.next/server/app/(server)/api/human-gates/[id]/previous-gates/route/build-manifest.json +12 -0
  134. package/.next/server/app/(server)/api/human-gates/[id]/previous-gates/route/server-reference-manifest.json +4 -0
  135. package/.next/server/app/(server)/api/human-gates/[id]/previous-gates/route.js +10 -0
  136. package/.next/server/app/(server)/api/human-gates/[id]/previous-gates/route.js.nft.json +1 -0
  137. package/.next/server/app/(server)/api/human-gates/[id]/previous-gates/route_client-reference-manifest.js +3 -0
  138. package/.next/server/app/(server)/api/human-gates/route/app-paths-manifest.json +3 -0
  139. package/.next/server/app/(server)/api/human-gates/route/build-manifest.json +12 -0
  140. package/.next/server/app/(server)/api/human-gates/route/server-reference-manifest.json +4 -0
  141. package/.next/server/app/(server)/api/human-gates/route.js +10 -0
  142. package/.next/server/app/(server)/api/human-gates/route.js.nft.json +1 -0
  143. package/.next/server/app/(server)/api/human-gates/route_client-reference-manifest.js +3 -0
  144. package/.next/server/app/(server)/api/hygiene/route/app-paths-manifest.json +3 -0
  145. package/.next/server/app/(server)/api/hygiene/route/build-manifest.json +12 -0
  146. package/.next/server/app/(server)/api/hygiene/route/server-reference-manifest.json +4 -0
  147. package/.next/server/app/(server)/api/hygiene/route.js +10 -0
  148. package/.next/server/app/(server)/api/hygiene/route.js.nft.json +1 -0
  149. package/.next/server/app/(server)/api/hygiene/route_client-reference-manifest.js +3 -0
  150. package/.next/server/app/(server)/api/hygiene/stale/route/app-paths-manifest.json +3 -0
  151. package/.next/server/app/(server)/api/hygiene/stale/route/build-manifest.json +12 -0
  152. package/.next/server/app/(server)/api/hygiene/stale/route/server-reference-manifest.json +4 -0
  153. package/.next/server/app/(server)/api/hygiene/stale/route.js +10 -0
  154. package/.next/server/app/(server)/api/hygiene/stale/route.js.nft.json +1 -0
  155. package/.next/server/app/(server)/api/hygiene/stale/route_client-reference-manifest.js +3 -0
  156. package/.next/server/app/(server)/api/issue-search/route/app-paths-manifest.json +3 -0
  157. package/.next/server/app/(server)/api/issue-search/route/build-manifest.json +12 -0
  158. package/.next/server/app/(server)/api/issue-search/route/server-reference-manifest.json +4 -0
  159. package/.next/server/app/(server)/api/issue-search/route.js +10 -0
  160. package/.next/server/app/(server)/api/issue-search/route.js.nft.json +1 -0
  161. package/.next/server/app/(server)/api/issue-search/route_client-reference-manifest.js +3 -0
  162. package/.next/server/app/(server)/api/issues/[id]/history/route/app-paths-manifest.json +3 -0
  163. package/.next/server/app/(server)/api/issues/[id]/history/route/build-manifest.json +12 -0
  164. package/.next/server/app/(server)/api/issues/[id]/history/route/server-reference-manifest.json +4 -0
  165. package/.next/server/app/(server)/api/issues/[id]/history/route.js +10 -0
  166. package/.next/server/app/(server)/api/issues/[id]/history/route.js.nft.json +1 -0
  167. package/.next/server/app/(server)/api/issues/[id]/history/route_client-reference-manifest.js +3 -0
  168. package/.next/server/app/(server)/api/issues/[id]/route/app-paths-manifest.json +3 -0
  169. package/.next/server/app/(server)/api/issues/[id]/route/build-manifest.json +12 -0
  170. package/.next/server/app/(server)/api/issues/[id]/route/server-reference-manifest.json +4 -0
  171. package/.next/server/app/(server)/api/issues/[id]/route.js +10 -0
  172. package/.next/server/app/(server)/api/issues/[id]/route.js.nft.json +1 -0
  173. package/.next/server/app/(server)/api/issues/[id]/route_client-reference-manifest.js +3 -0
  174. package/.next/server/app/(server)/api/issues/route/app-paths-manifest.json +3 -0
  175. package/.next/server/app/(server)/api/issues/route/build-manifest.json +12 -0
  176. package/.next/server/app/(server)/api/issues/route/server-reference-manifest.json +4 -0
  177. package/.next/server/app/(server)/api/issues/route.js +10 -0
  178. package/.next/server/app/(server)/api/issues/route.js.nft.json +1 -0
  179. package/.next/server/app/(server)/api/issues/route_client-reference-manifest.js +3 -0
  180. package/.next/server/app/(server)/api/local-files/route/app-paths-manifest.json +3 -0
  181. package/.next/server/app/(server)/api/local-files/route/build-manifest.json +12 -0
  182. package/.next/server/app/(server)/api/local-files/route/server-reference-manifest.json +4 -0
  183. package/.next/server/app/(server)/api/local-files/route.js +10 -0
  184. package/.next/server/app/(server)/api/local-files/route.js.nft.json +1 -0
  185. package/.next/server/app/(server)/api/local-files/route_client-reference-manifest.js +3 -0
  186. package/.next/server/app/(server)/api/workspaces/route/app-paths-manifest.json +3 -0
  187. package/.next/server/app/(server)/api/workspaces/route/build-manifest.json +12 -0
  188. package/.next/server/app/(server)/api/workspaces/route/server-reference-manifest.json +4 -0
  189. package/.next/server/app/(server)/api/workspaces/route.js +10 -0
  190. package/.next/server/app/(server)/api/workspaces/route.js.nft.json +1 -0
  191. package/.next/server/app/(server)/api/workspaces/route_client-reference-manifest.js +3 -0
  192. package/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
  193. package/.next/server/app/_global-error/page/build-manifest.json +21 -0
  194. package/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
  195. package/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
  196. package/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
  197. package/.next/server/app/_global-error/page.js +12 -0
  198. package/.next/server/app/_global-error/page.js.nft.json +1 -0
  199. package/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
  200. package/.next/server/app/_global-error.html +1 -0
  201. package/.next/server/app/_global-error.meta +30 -0
  202. package/.next/server/app/_global-error.rsc +18 -0
  203. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +23 -0
  204. package/.next/server/app/_global-error.segments/_full.segment.rsc +18 -0
  205. package/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -0
  206. package/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
  207. package/.next/server/app/_not-found/page/build-manifest.json +21 -0
  208. package/.next/server/app/_not-found/page/next-font-manifest.json +6 -0
  209. package/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
  210. package/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
  211. package/.next/server/app/_not-found/page.js +16 -0
  212. package/.next/server/app/_not-found/page.js.nft.json +1 -0
  213. package/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
  214. package/.next/server/app/_not-found.html +1 -0
  215. package/.next/server/app/_not-found.meta +35 -0
  216. package/.next/server/app/_not-found.rsc +20 -0
  217. package/.next/server/app/_not-found.segments/_full.segment.rsc +20 -0
  218. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +26 -0
  219. package/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -0
  220. package/.next/server/app/icon/route/app-paths-manifest.json +3 -0
  221. package/.next/server/app/icon/route/build-manifest.json +12 -0
  222. package/.next/server/app/icon/route/server-reference-manifest.json +4 -0
  223. package/.next/server/app/icon/route.js +8 -0
  224. package/.next/server/app/icon/route.js.nft.json +1 -0
  225. package/.next/server/app/icon/route_client-reference-manifest.js +3 -0
  226. package/.next/server/app/icon.body +1 -0
  227. package/.next/server/app/icon.meta +1 -0
  228. package/.next/server/app-paths-manifest.json +32 -0
  229. package/.next/server/chunks/0-na_next_dist_01oqa_lnmf7od._.js +313 -0
  230. package/.next/server/chunks/06xz_server_app_(server)_api_epics_[id]_descendants_route_actions_0i4p715kb4ns7.js +3 -0
  231. package/.next/server/chunks/06xz_server_app_(server)_api_human-decisions_count_route_actions_04pn0rymkjlvn.js +3 -0
  232. package/.next/server/chunks/06xz_server_app_(server)_api_issues_[id]_history_route_actions_1_s1k9rao3ycm.js +3 -0
  233. package/.next/server/chunks/0_j8_app_(server)_api_human-gates_[id]_previous-gates_route_actions_0nyo4gp16cfh9.js +3 -0
  234. package/.next/server/chunks/0ysl_app__next-internal_server_app_(server)_api_board_route_actions_097o5ubfgp2yk.js +3 -0
  235. package/.next/server/chunks/0ysl_app__next-internal_server_app_(server)_api_epics_route_actions_1s-bb_ads54kj.js +3 -0
  236. package/.next/server/chunks/0ysl_app__next-internal_server_app_(server)_api_events_route_actions_00eflzab8v1u7.js +3 -0
  237. package/.next/server/chunks/0ysl_app__next-internal_server_app_(server)_api_graph_route_actions_1_gx-jxsob7ho.js +3 -0
  238. package/.next/server/chunks/0ysl_app__next-internal_server_app_(server)_api_health_route_actions_0lmaikfylcm27.js +3 -0
  239. package/.next/server/chunks/0ysl_app__next-internal_server_app_(server)_api_hygiene_route_actions_1wqr2gsd6e0hd.js +3 -0
  240. package/.next/server/chunks/0ysl_app__next-internal_server_app_(server)_api_issues_route_actions_1-flaiy39drl6.js +3 -0
  241. package/.next/server/chunks/1bhh__next-internal_server_app_(server)_api_decisions_route_actions_1vqfq248-8gbw.js +3 -0
  242. package/.next/server/chunks/1bhh__next-internal_server_app_(server)_api_human-gates_route_actions_1-p0n-_ic-hpt.js +3 -0
  243. package/.next/server/chunks/1bhh__next-internal_server_app_(server)_api_issue-search_route_actions_0oaf_0__q_2ji.js +3 -0
  244. package/.next/server/chunks/1bhh__next-internal_server_app_(server)_api_issues_[id]_route_actions_17twvl7hxiqgj.js +3 -0
  245. package/.next/server/chunks/1bhh__next-internal_server_app_(server)_api_local-files_route_actions_0gs2eeq-mizrj.js +3 -0
  246. package/.next/server/chunks/1bhh__next-internal_server_app_(server)_api_workspaces_route_actions_1qzkzsnyssoeq.js +3 -0
  247. package/.next/server/chunks/1fg0_next-internal_server_app_(server)_api_hygiene_stale_route_actions_049cuh2m8mi1m.js +3 -0
  248. package/.next/server/chunks/[externals]__0bdqleb-2jkl7._.js +3 -0
  249. package/.next/server/chunks/[externals]__1fs8mjfnash82._.js +3 -0
  250. package/.next/server/chunks/[externals]__1p2jmvy9f54lr._.js +3 -0
  251. package/.next/server/chunks/[externals]__1uj88cmlo8i4s._.js +3 -0
  252. package/.next/server/chunks/[root-of-the-server]__006_l_2nrnvsf._.js +3 -0
  253. package/.next/server/chunks/[root-of-the-server]__00jsp_c83rs0d._.js +10 -0
  254. package/.next/server/chunks/[root-of-the-server]__0_4glddr7jm_9._.js +3 -0
  255. package/.next/server/chunks/[root-of-the-server]__0axi17jnan2-f._.js +3 -0
  256. package/.next/server/chunks/[root-of-the-server]__0fjqil8szgpkp._.js +3 -0
  257. package/.next/server/chunks/[root-of-the-server]__0wwp-dm4u6vym._.js +3 -0
  258. package/.next/server/chunks/[root-of-the-server]__0xzu8s05n84en._.js +3 -0
  259. package/.next/server/chunks/[root-of-the-server]__11bvqbes4g_x3._.js +5 -0
  260. package/.next/server/chunks/[root-of-the-server]__128z1hatzhqgf._.js +3 -0
  261. package/.next/server/chunks/[root-of-the-server]__1yi1roe3p8ipb._.js +3 -0
  262. package/.next/server/chunks/[root-of-the-server]__20ro7mv0nna0v._.js +3 -0
  263. package/.next/server/chunks/[turbopack]_runtime.js +937 -0
  264. package/.next/server/chunks/_00b94jqphddy1._.js +3 -0
  265. package/.next/server/chunks/_016uu1siddgx2._.js +3 -0
  266. package/.next/server/chunks/_06bsii67q7yo6._.js +3 -0
  267. package/.next/server/chunks/_0hprt7v9m-j0-._.js +3 -0
  268. package/.next/server/chunks/_0i562xm36lquh._.js +3 -0
  269. package/.next/server/chunks/_0lg6l5x123jq2._.js +6 -0
  270. package/.next/server/chunks/_0lx-opy56s5c6._.js +3 -0
  271. package/.next/server/chunks/_0qbf8y587q6bu._.js +3 -0
  272. package/.next/server/chunks/_0rm-wc2vo3piv._.js +3 -0
  273. package/.next/server/chunks/_0s7zs7vzx_ylx._.js +3 -0
  274. package/.next/server/chunks/_0xwu00a8s2-yg._.js +3 -0
  275. package/.next/server/chunks/_0y6_en0_cs0o3._.js +3 -0
  276. package/.next/server/chunks/_102aj9ahpwc9u._.js +10 -0
  277. package/.next/server/chunks/_11katfvzfhpy9._.js +3 -0
  278. package/.next/server/chunks/_15u7zxu6y0q9w._.js +3 -0
  279. package/.next/server/chunks/_1cr-1ah3asieh._.js +3 -0
  280. package/.next/server/chunks/_1is_u1uzjetxm._.js +3 -0
  281. package/.next/server/chunks/_1pmfwik0sv_fj._.js +3 -0
  282. package/.next/server/chunks/_2155dycg7481k._.js +3 -0
  283. package/.next/server/chunks/packages_app__next-internal_server_app_icon_route_actions_1f6wrwy66aii3.js +3 -0
  284. package/.next/server/chunks/packages_app_src_04u27lgyq7ug_._.js +3 -0
  285. package/.next/server/chunks/packages_app_src_server_infra_runtime_serverRuntime_ts_0nr1il1nd01xh._.js +3 -0
  286. package/.next/server/chunks/packages_app_src_server_infra_runtime_serverRuntime_ts_101nvikwwh8am._.js +3 -0
  287. package/.next/server/chunks/ssr/0-na_next_dist_0v22fkgl1dei7._.js +3 -0
  288. package/.next/server/chunks/ssr/0-na_next_dist_11o-i8zo8w04f._.js +291 -0
  289. package/.next/server/chunks/ssr/0-na_next_dist_167mi2pg1epou._.js +3 -0
  290. package/.next/server/chunks/ssr/0-na_next_dist_1obel6la6bfir._.js +6 -0
  291. package/.next/server/chunks/ssr/0-na_next_dist_client_components_12rpdkf4u6sxc._.js +3 -0
  292. package/.next/server/chunks/ssr/0-na_next_dist_client_components_builtin_1iah_ms13r9-a._.js +33 -0
  293. package/.next/server/chunks/ssr/0-na_next_dist_client_components_builtin_forbidden_1tn71dj7nsmm9.js +3 -0
  294. package/.next/server/chunks/ssr/0-na_next_dist_client_components_builtin_unauthorized_1v356ydmzbedc.js +3 -0
  295. package/.next/server/chunks/ssr/0-na_next_dist_compiled_0u74mrfe4mo1d._.js +3 -0
  296. package/.next/server/chunks/ssr/0-na_next_dist_compiled_@edge-runtime_cookies_index_1w1mtde4yx_m_.js +3 -0
  297. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_05wl45qgcqk39.js +3 -0
  298. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_08-b4uarsqzff.js +3 -0
  299. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_09wp5x9z70ftx.js +3 -0
  300. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_0j7iske5kstio.js +3 -0
  301. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_17w6wwo4xnm32.js +3 -0
  302. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_1bu5t180bl2zv.js +3 -0
  303. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_1mv7fkhdbene9.js +3 -0
  304. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_1o0u8v-gnw2rq.js +3 -0
  305. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_1rvza4ou0v1-n.js +3 -0
  306. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_1xbwpw2s40so0.js +3 -0
  307. package/.next/server/chunks/ssr/0-na_next_dist_esm_build_templates_app-page_21bi4df-u6lk_.js +3 -0
  308. package/.next/server/chunks/ssr/044y_@milkdown_crepe_lib_esm_builder_1q1p-aoo5ansr.js +3 -0
  309. package/.next/server/chunks/ssr/044y_@milkdown_crepe_lib_esm_feature_code-mirror_index_060e1a7cm58y2.js +92 -0
  310. package/.next/server/chunks/ssr/044y_@milkdown_crepe_lib_esm_feature_cursor_index_17hai-ps4gy4m.js +3 -0
  311. package/.next/server/chunks/ssr/044y_@milkdown_crepe_lib_esm_feature_link-tooltip_index_1k2_en72b30f7.js +64 -0
  312. package/.next/server/chunks/ssr/044y_@milkdown_crepe_lib_esm_feature_list-item_index_0739hwl0ixqj0.js +55 -0
  313. package/.next/server/chunks/ssr/044y_@milkdown_crepe_lib_esm_feature_table_index_1nc604l0he98t.js +76 -0
  314. package/.next/server/chunks/ssr/044y_@milkdown_crepe_lib_esm_feature_toolbar_index_0cjy552j1ozb9.js +90 -0
  315. package/.next/server/chunks/ssr/04q__@milkdown_utils_lib_index_20ji0hxjb6f0c.js +3 -0
  316. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_0kzccy9wz3pwr._.js +3 -0
  317. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_0wpn1ak7mn954._.js +3 -0
  318. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_10lvg7z_h49wj._.js +3 -0
  319. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_abnfDiagram-WEYOIA3C_mjs_1butfkav4nrp_._.js +3 -0
  320. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_blockDiagram-RJAE7QA3_mjs_07b4_jr9j6-z6._.js +137 -0
  321. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_c4Diagram-XDPPPE54_mjs_03_5esminmjt6._.js +34 -0
  322. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-2E7WHVMD_mjs_15ch8esvdlyi1._.js +88 -0
  323. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-4EMNKR2T_mjs_1por2e_6w1hot._.js +3 -0
  324. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-55XCU76K_mjs_01_34r55e2ue0._.js +3 -0
  325. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-7S6XSTFO_mjs_0pba--mmow_3w._.js +4 -0
  326. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-AQDTSKZB_mjs_1imrwm33n17dq._.js +63 -0
  327. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-DSNLSHJZ_mjs_1rwsi1s96wxbp._.js +124 -0
  328. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-EJLWFMJV_mjs_0ky30uqs_9c4t._.js +3 -0
  329. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-HAGFOTED_mjs_0pyffq0u31zx5._.js +64 -0
  330. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-HNE4Q36P_mjs_0n1112llzwsn7._.js +3 -0
  331. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_16411go7dz2nk._.js +3 -0
  332. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-NQOKRVIF_mjs_1-ezpt030vg0c._.js +205 -0
  333. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-UHW7PFBP_mjs_06nw53i9vszkk._.js +3 -0
  334. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-WQQL4CDK_mjs_1ax7a7wcrgy3z._.js +12 -0
  335. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-Y2CYZVJY_mjs_1od6pg7dbuib2._.js +3 -0
  336. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-YZO67HFG_mjs_0_51e-7cinhuj._.js +3 -0
  337. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_chunk-ZCHMQSOR_mjs_1kmw145zykheb._.js +3 -0
  338. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_classDiagram-v2-4MYWR3UA_mjs_02piun0j899uf._.js +214 -0
  339. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_cynefinDiagram-WF24UDRP_mjs_077j2gwrb0bq1._.js +64 -0
  340. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_dagre-NK4GIZVX_mjs_1tt16cnu00v9a._.js +3 -0
  341. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_diagram-CBK3MWTC_mjs_07d5q40_6omfm._.js +26 -0
  342. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_diagram-I5XIIV2D_mjs_081ap9jt-udj7._.js +26 -0
  343. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_diagram-ODIL2UCW_mjs_08uzfa_p1s2ud._.js +29 -0
  344. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_diagram-PFBEJUXE_mjs_1_ye28kgsx5j_._.js +3 -0
  345. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_diagram-RJA3I4VV_mjs_1083zzyhow9f3._.js +43 -0
  346. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_diagram-TYUNFSNR_mjs_1io58afd5nhut._.js +181 -0
  347. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_ebnfDiagram-V4P3TTPT_mjs_0qgpp90kabk41._.js +3 -0
  348. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_erDiagram-KYQIGQAA_mjs_0t1sn6-bv15rb._.js +96 -0
  349. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-PDYL7XHY_mjs_0gdc-p7pi-jfu._.js +106 -0
  350. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_ishikawaDiagram-HPEHV2GE_mjs_1w3smw-ijzodn._.js +66 -0
  351. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_journeyDiagram-BOSHW7O7_mjs_1v5r67f10sxd2._.js +136 -0
  352. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_kanban-definition-FNSA4HC5_mjs_0bx3yg9h0-o_h._.js +81 -0
  353. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_mindmap-definition-6OY57UG3_mjs_1flbwvokbe43l._.js +94 -0
  354. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_pegDiagram-ECIUJNBX_mjs_19ws2lks7y8ba._.js +3 -0
  355. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_pieDiagram-GNMPY74T_mjs_1svnsi81sdmsu._.js +40 -0
  356. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_quadrantDiagram-D57K4MC3_mjs_1l9703iajtl6q._.js +3 -0
  357. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_requirementDiagram-EQYSW5RA_mjs_1vmr4mg1z-9ll._.js +81 -0
  358. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_sankeyDiagram-SY24JHO5_mjs_0rxkes89qu0cn._.js +36 -0
  359. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_sequenceDiagram-BLEHNHQU_mjs_01xlvftvbiqfj._.js +162 -0
  360. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_stateDiagram-v2-A6IESKWZ_mjs_0wv3xhf_fiekb._.js +288 -0
  361. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_swimlanes-B3ENRKFQ_mjs_1c5xp74kftuoo._.js +3 -0
  362. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_timeline-definition-JXYKGLGB_mjs_1678388vmj0r0._.js +117 -0
  363. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_usecaseDiagram-WPOLBNNX_mjs_0ybnglahymms6._.js +311 -0
  364. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_vennDiagram-Q3Y3IDCW_mjs_0x_2lcij5t6zs._.js +25 -0
  365. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_wardleyDiagram-IVAIDKWA_mjs_1sbonpcn-cpbz._.js +79 -0
  366. package/.next/server/chunks/ssr/06--_mermaid_dist_chunks_mermaid_core_xychartDiagram-4URNHDU4_mjs_1s6zhs5p0p-uv._.js +3 -0
  367. package/.next/server/chunks/ssr/06--_mermaid_dist_mermaid_core_mjs_1mlk1u5b8e_wn._.js +6 -0
  368. package/.next/server/chunks/ssr/06xc_@lezer_lr_dist_index_1ktnljh3i3dwo.js +3 -0
  369. package/.next/server/chunks/ssr/09i1_@codemirror_lang-sass_dist_index_19o49rj9px8g3.js +3 -0
  370. package/.next/server/chunks/ssr/0ana_@codemirror_lang-less_dist_index_016njegqx8l3k.js +3 -0
  371. package/.next/server/chunks/ssr/0axp_@codemirror_lang-php_dist_index_0jzg1qsirtogl.js +3 -0
  372. package/.next/server/chunks/ssr/0bpr_@codemirror_lang-liquid_dist_index_0rrn_eevcqro2.js +3 -0
  373. package/.next/server/chunks/ssr/0dma_d3-format_src_defaultLocale_1uw4-huukm4o-.js +3 -0
  374. package/.next/server/chunks/ssr/0f1w_cytoscape_dist_cytoscape_esm_mjs_0uvjn72-bpvk4._.js +3 -0
  375. package/.next/server/chunks/ssr/0fbn_dagre-d3-es_src_graphlib_index_09d95eh9qqqd8.js +3 -0
  376. package/.next/server/chunks/ssr/0h5b_@codemirror_lang-css_dist_index_1s3yuhh-gd740.js +3 -0
  377. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_1up0wutfzzapj._.js +3 -0
  378. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_1xt53qk5-ubau._.js +3 -0
  379. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_apl_0hd-rl7toibrs.js +3 -0
  380. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_asciiarmor_1i1f4m20xupjo.js +3 -0
  381. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_asn1_16nc76_3_litg.js +3 -0
  382. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_asterisk_1tzuhtaf8ahm_.js +3 -0
  383. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_brainfuck_06q0ovjbfprn5.js +3 -0
  384. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_clike_0j6-sjl0oyh-c.js +3 -0
  385. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_clojure_1qnm5efd-lskg.js +3 -0
  386. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_cmake_08e0qe8ry3g-c.js +3 -0
  387. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_cobol_0t8vf93347z4l.js +3 -0
  388. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_coffeescript_02way8n-uj1hn.js +3 -0
  389. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_commonlisp_1ckj8o6t0fb3n.js +3 -0
  390. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_crystal_03neyhdxyqkuc.js +3 -0
  391. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_css_1zokbtd0x2cae.js +3 -0
  392. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_cypher_1od6c8ltdsd4_.js +3 -0
  393. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_d_08v1efs0gdadb.js +3 -0
  394. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_diff_0r1b_33b1-og_.js +3 -0
  395. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_dtd_1-_g6cfrzf_l-.js +3 -0
  396. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_dylan_061ggipbgui49.js +3 -0
  397. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_ebnf_0ufe_tv_55q7m.js +3 -0
  398. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_ecl_0gpkd5617hx49.js +3 -0
  399. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_eiffel_035yhhz-yxk-d.js +3 -0
  400. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_elm_212kji0cxl7ug.js +3 -0
  401. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_erlang_0lkuq_20k580t.js +3 -0
  402. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_fcl_17lsjlsvrzdce.js +3 -0
  403. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_forth_1n5g1it-3i5q4.js +3 -0
  404. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_fortran_19-4_uku5u9eb.js +3 -0
  405. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_gas_0kivncx99ha2e.js +3 -0
  406. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_gherkin_0clkn8i3fgex8.js +3 -0
  407. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_groovy_1ir9iyj9sadgs.js +3 -0
  408. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_haskell_19ss2pb74i2gf.js +3 -0
  409. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_haxe_1cyjdahxariv9.js +3 -0
  410. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_http_0qan-v-bkwd25.js +3 -0
  411. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_idl_0-49hggjjx-o2.js +3 -0
  412. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_javascript_0x1ivs8e7u2pq.js +3 -0
  413. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_julia_0ommddtg8wi7c.js +3 -0
  414. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_livescript_0c-5aeyqpoehd.js +3 -0
  415. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_lua_14-kx0k1je8-f.js +3 -0
  416. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_mathematica_18e0jz0jo7ez4.js +3 -0
  417. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_mbox_03b3dr1wm6w9n.js +3 -0
  418. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_mirc_16a2jn4_iov1t.js +3 -0
  419. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_mllike_0x6siwel93q75.js +3 -0
  420. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_modelica_1qyaq1fpagllh.js +3 -0
  421. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_mscgen_0_gvqphlkg68n.js +3 -0
  422. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_mumps_1if0j5x7yac3r.js +3 -0
  423. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_nginx_16enblsar91wp.js +3 -0
  424. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_nsis_0491k25qzq6n-.js +3 -0
  425. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_ntriples_16lpw_nzxj463.js +3 -0
  426. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_octave_1z7rt0muew0-8.js +3 -0
  427. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_oz_1h5vk-x2xmkx3.js +3 -0
  428. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_pascal_0dtupnshldhdd.js +3 -0
  429. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_perl_20hz0yz38usbe.js +3 -0
  430. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_pig_18u2h9t-odnog.js +3 -0
  431. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_powershell_05n-u6qu56d5p.js +3 -0
  432. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_properties_0bg5fvo2oa6qy.js +3 -0
  433. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_protobuf_18uq17i-qn6w0.js +3 -0
  434. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_pug_07wg_nqynejih.js +3 -0
  435. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_puppet_1v-k_-ploxfte.js +3 -0
  436. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_python_0aua1h_-tgmwi.js +3 -0
  437. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_q_1ek_kudm8jyxr.js +3 -0
  438. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_r_083j-t_rl9tu7.js +3 -0
  439. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_rpm_1ehnqh3wmk8fp.js +3 -0
  440. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_ruby_109j-bw7mr2r3.js +3 -0
  441. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_sas_1nlco5idodt95.js +3 -0
  442. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_scheme_0crl8cmmtqf75.js +3 -0
  443. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_shell_1tsioxmtynmq3.js +3 -0
  444. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_sieve_0d_n76tw290-p.js +3 -0
  445. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_simple-mode_0_elikdcmtruu.js +3 -0
  446. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_smalltalk_02101v3jdo341.js +3 -0
  447. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_solr_1epzrk9yg68gn.js +3 -0
  448. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_sparql_1nr8sm5wng4qg.js +3 -0
  449. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_spreadsheet_0fhpeni20btev.js +3 -0
  450. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_sql_12c864xzjdvwc.js +3 -0
  451. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_stex_0ast5uihb18sf.js +3 -0
  452. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_stylus_0rl42eh3a2f48.js +3 -0
  453. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_swift_1j7o6_33v6_to.js +3 -0
  454. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_tcl_0ka67avgn5l4o.js +3 -0
  455. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_textile_13h_9i7jt6qk0.js +3 -0
  456. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_tiddlywiki_12169j0ddj4y7.js +3 -0
  457. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_tiki_0gcde4ak41ine.js +3 -0
  458. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_toml_1jo35xcze4t3d.js +3 -0
  459. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_troff_0oiw7542lhtnu.js +3 -0
  460. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_ttcn-cfg_0p1s_wii-pwtf.js +3 -0
  461. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_ttcn_0vg8jqeksnp7o.js +3 -0
  462. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_turtle_0xjj3bbbff06r.js +3 -0
  463. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_vb_1utn9s1rucao0.js +3 -0
  464. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_vbscript_0h0amv3roogpq.js +3 -0
  465. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_velocity_08ymnyoghln_f.js +3 -0
  466. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_verilog_0oiraytw93k6r.js +3 -0
  467. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_vhdl_1zd2o4jsn93r9.js +3 -0
  468. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_webidl_1gd_j_jpgi42s.js +3 -0
  469. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_xquery_20e0h-fcaoa4x.js +3 -0
  470. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_yacas_0zo4vg3-bgj2t.js +3 -0
  471. package/.next/server/chunks/ssr/0ivy_@codemirror_legacy-modes_mode_z80_11b_-rqp_g395.js +3 -0
  472. package/.next/server/chunks/ssr/0jby_remark-gfm_lib_index_0yd1x-xt5kcpe.js +3 -0
  473. package/.next/server/chunks/ssr/0jju_@codemirror_autocomplete_dist_index_028dte6e8vkl-.js +3 -0
  474. package/.next/server/chunks/ssr/0juv_@codemirror_lang-sql_dist_index_0rwek9n1u99a_.js +3 -0
  475. package/.next/server/chunks/ssr/0lpo_@codemirror_lang-rust_dist_index_18ooto8eksxu5.js +3 -0
  476. package/.next/server/chunks/ssr/0mvo_@codemirror_language-data_dist_index_0710tfl961i5s.js +3 -0
  477. package/.next/server/chunks/ssr/0n41_@codemirror_lang-xml_dist_index_0n3jjk5jehx9e.js +3 -0
  478. package/.next/server/chunks/ssr/0pkv_d3-scale_src_1alxykz8vij00._.js +3 -0
  479. package/.next/server/chunks/ssr/0q0o_@codemirror_lang-html_dist_index_19od880-n0fza.js +3 -0
  480. package/.next/server/chunks/ssr/0r4x_prosemirror-state_dist_index_1v160urao-pk8.js +3 -0
  481. package/.next/server/chunks/ssr/0rfu_@floating-ui_dom_dist_floating-ui_dom_mjs_1qcxne4ahv9eo._.js +3 -0
  482. package/.next/server/chunks/ssr/0ssf_prosemirror-history_dist_index_0mxcqf9op8kkf.js +3 -0
  483. package/.next/server/chunks/ssr/0tee_@milkdown_components_lib_link-tooltip_index_0_yn-0wcgrhst.js +3 -0
  484. package/.next/server/chunks/ssr/0upk_roughjs_bundled_rough_esm_0vflsucibqjsr.js +3 -0
  485. package/.next/server/chunks/ssr/0xze_parser_dist_chunks_mermaid-parser_core_chunk-NGNAAXSQ_mjs_18xrienhu0z76._.js +68 -0
  486. package/.next/server/chunks/ssr/0ysl_app_src_client_ui_screens_humanDecisions_HumanDecisionsScreen_tsx_1q9b8qom_7y1u._.js +3 -0
  487. package/.next/server/chunks/ssr/1-u6_katex_dist_katex_mjs_1e0_o2klyd22u._.js +3 -0
  488. package/.next/server/chunks/ssr/1-u6_katex_dist_katex_mjs_1mg4u198lr_ru._.js +3 -0
  489. package/.next/server/chunks/ssr/11di_w3c-keyname_index_090lnqxpyzlk-.js +3 -0
  490. package/.next/server/chunks/ssr/176e_@codemirror_lang-yaml_dist_index_1nvbi388c7zxz.js +3 -0
  491. package/.next/server/chunks/ssr/1_e4_@codemirror_lang-json_dist_index_11_o2a1gnr_g9.js +3 -0
  492. package/.next/server/chunks/ssr/1b4m_@codemirror_lang-cpp_dist_index_05u2zenxpc8xc.js +3 -0
  493. package/.next/server/chunks/ssr/1bjv_@milkdown_preset-gfm_lib_index_04pvj1u0oclag.js +3 -0
  494. package/.next/server/chunks/ssr/1cfu_@codemirror_lang-jinja_dist_index_17_2vifgsjkln.js +3 -0
  495. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_00sb27hetapp0._.js +3 -0
  496. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_07w3r5m6f98u8._.js +3 -0
  497. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0f7y4dnnnvm8q._.js +3 -0
  498. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0fpxwlehulj_4._.js +3 -0
  499. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0id2pjpmu-odw._.js +3 -0
  500. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0ios6rsftenb5._.js +3 -0
  501. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0l5u7nic2b--h._.js +3 -0
  502. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0n_-wc148xo6y._.js +3 -0
  503. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0om2n7yjk-4uu._.js +3 -0
  504. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0q1m7r-ru61bx._.js +3 -0
  505. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0uy_f0ba48_lm._.js +3 -0
  506. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0vjp2rg-bxr1v._.js +3 -0
  507. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_16pba_l_k4_0w._.js +3 -0
  508. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_16w5-w0jl3hgt._.js +3 -0
  509. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1_714r7le15bq._.js +3 -0
  510. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1fn60lsssnuj9._.js +3 -0
  511. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1ga3p9k7r3y9-._.js +3 -0
  512. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1gajvkjnhvjyw._.js +3 -0
  513. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1h_a6rr921hly._.js +3 -0
  514. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1i-f_2_ckogt_._.js +3 -0
  515. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1kajkl9i_isr8._.js +3 -0
  516. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1lfufxb3kj70o._.js +3 -0
  517. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1qzpw5-gpfun6._.js +3 -0
  518. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1rdj_y3armgt8._.js +3 -0
  519. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1rq8c0_i_skwj._.js +3 -0
  520. package/.next/server/chunks/ssr/1fxq_@mermaid-js_parser_dist_mermaid-parser_core_mjs_0h8gp-j9cqq7e._.js +3 -0
  521. package/.next/server/chunks/ssr/1kte_@codemirror_lang-javascript_dist_index_0d90aa47yk3sz.js +3 -0
  522. package/.next/server/chunks/ssr/1mcb_d3-shape_src_0l1t-x602qgg2._.js +3 -0
  523. package/.next/server/chunks/ssr/1mcb_d3-shape_src_arc_16i56gflp84y0.js +3 -0
  524. package/.next/server/chunks/ssr/1rm-_@codemirror_lang-vue_dist_index_1dsp-8v7o-56l.js +3 -0
  525. package/.next/server/chunks/ssr/1t7n_@codemirror_lang-markdown_dist_index_1vm7csirr39ig.js +3 -0
  526. package/.next/server/chunks/ssr/1tlw_lodash-es_002j8344wfg3y._.js +3 -0
  527. package/.next/server/chunks/ssr/1tlw_lodash-es_16g4nfgqx3a79._.js +3 -0
  528. package/.next/server/chunks/ssr/1tlw_lodash-es_1927j9hytmby5._.js +3 -0
  529. package/.next/server/chunks/ssr/1tlw_lodash-es_debounce_06oemraa4uzz_.js +3 -0
  530. package/.next/server/chunks/ssr/1tlw_lodash-es_debounce_08zp9g1ywpuwx.js +3 -0
  531. package/.next/server/chunks/ssr/1tlw_lodash-es_throttle_19ilivtm7teo4.js +3 -0
  532. package/.next/server/chunks/ssr/1tr6_@milkdown_preset-commonmark_lib_index_1jsr6pxdnfhq4.js +3 -0
  533. package/.next/server/chunks/ssr/1tuv_@codemirror_lang-go_dist_index_1y9u-ppkiy8r8.js +3 -0
  534. package/.next/server/chunks/ssr/1twc_dompurify_dist_purify_es_mjs_03b70y15h_fqw._.js +3 -0
  535. package/.next/server/chunks/ssr/1u_2_@codemirror_lang-angular_dist_index_1s5c_2tgu_16b.js +3 -0
  536. package/.next/server/chunks/ssr/1w85_@codemirror_lang-python_dist_index_126zaqoa_oskj.js +3 -0
  537. package/.next/server/chunks/ssr/20hm_@codemirror_lang-java_dist_index_17cnwkupe4-rz.js +3 -0
  538. package/.next/server/chunks/ssr/214e_@milkdown_kit_lib_prose_state_0eq9g8z4xeh-u.js +3 -0
  539. package/.next/server/chunks/ssr/[root-of-the-server]__02u9f32ry284v._.js +14 -0
  540. package/.next/server/chunks/ssr/[root-of-the-server]__03fd40g3mm6_p._.js +3 -0
  541. package/.next/server/chunks/ssr/[root-of-the-server]__068ixxdaa5ac8._.js +3 -0
  542. package/.next/server/chunks/ssr/[root-of-the-server]__076i3q845sw_f._.js +3 -0
  543. package/.next/server/chunks/ssr/[root-of-the-server]__08_dlsgm45li_._.js +3 -0
  544. package/.next/server/chunks/ssr/[root-of-the-server]__09lybaidp4ytp._.js +3 -0
  545. package/.next/server/chunks/ssr/[root-of-the-server]__09lymwel_or87._.js +3 -0
  546. package/.next/server/chunks/ssr/[root-of-the-server]__0azxp5zozje9_._.js +3 -0
  547. package/.next/server/chunks/ssr/[root-of-the-server]__0hogoguacz8ur._.js +3 -0
  548. package/.next/server/chunks/ssr/[root-of-the-server]__0of5i1kim-02t._.js +3 -0
  549. package/.next/server/chunks/ssr/[root-of-the-server]__0q3r5zcq1nq-l._.js +3 -0
  550. package/.next/server/chunks/ssr/[root-of-the-server]__0qvsu-225ae-9._.js +3 -0
  551. package/.next/server/chunks/ssr/[root-of-the-server]__0sh5kpcrtscul._.js +3 -0
  552. package/.next/server/chunks/ssr/[root-of-the-server]__0tshst3064nz2._.js +3 -0
  553. package/.next/server/chunks/ssr/[root-of-the-server]__0tygv-zuxlxc7._.js +3 -0
  554. package/.next/server/chunks/ssr/[root-of-the-server]__0u-oy5lhckmao._.js +3 -0
  555. package/.next/server/chunks/ssr/[root-of-the-server]__0vmd5kxnst7_n._.js +3 -0
  556. package/.next/server/chunks/ssr/[root-of-the-server]__0y8_n69fn3dcz._.js +3 -0
  557. package/.next/server/chunks/ssr/[root-of-the-server]__0yx3-boz833my._.js +3 -0
  558. package/.next/server/chunks/ssr/[root-of-the-server]__0zob21vm-qus-._.js +3 -0
  559. package/.next/server/chunks/ssr/[root-of-the-server]__14vsuap94qdvv._.js +3 -0
  560. package/.next/server/chunks/ssr/[root-of-the-server]__1859jwyl-0dyv._.js +3 -0
  561. package/.next/server/chunks/ssr/[root-of-the-server]__1at64e6zbwoan._.js +3 -0
  562. package/.next/server/chunks/ssr/[root-of-the-server]__1i-khow6d_8_4._.js +3 -0
  563. package/.next/server/chunks/ssr/[root-of-the-server]__1iimaf2bu0424._.js +3 -0
  564. package/.next/server/chunks/ssr/[root-of-the-server]__1l1qy81q6o38c._.js +3 -0
  565. package/.next/server/chunks/ssr/[root-of-the-server]__1l5v10nlz9ydv._.js +3 -0
  566. package/.next/server/chunks/ssr/[root-of-the-server]__1o26vr103y40w._.js +3 -0
  567. package/.next/server/chunks/ssr/[root-of-the-server]__1qg27t6-twvk1._.js +3 -0
  568. package/.next/server/chunks/ssr/[root-of-the-server]__1r0lv_nd2c9rc._.js +3 -0
  569. package/.next/server/chunks/ssr/[root-of-the-server]__1rhtswovlx559._.js +3 -0
  570. package/.next/server/chunks/ssr/[turbopack]_runtime.js +937 -0
  571. package/.next/server/chunks/ssr/_00u85u5a1h8o6._.js +3 -0
  572. package/.next/server/chunks/ssr/_06n6aoyvk4v8d._.js +3 -0
  573. package/.next/server/chunks/ssr/_0xpnl68zms_u4._.js +25 -0
  574. package/.next/server/chunks/ssr/_18sy10caq_3xy._.js +4 -0
  575. package/.next/server/chunks/ssr/_1gjuc1gubpwo8._.js +3 -0
  576. package/.next/server/chunks/ssr/_1pzwyebui89yg._.js +3 -0
  577. package/.next/server/chunks/ssr/_1slk-hkdgtggu._.js +3 -0
  578. package/.next/server/chunks/ssr/_1ym1o9h62ul9i._.js +299 -0
  579. package/.next/server/chunks/ssr/node_modules__pnpm_0-62y689aghse._.js +3 -0
  580. package/.next/server/chunks/ssr/node_modules__pnpm_01skrdxa7jh90._.js +3 -0
  581. package/.next/server/chunks/ssr/node_modules__pnpm_02uzilx7_av_j._.js +3 -0
  582. package/.next/server/chunks/ssr/node_modules__pnpm_040gekg7c46fx._.js +3 -0
  583. package/.next/server/chunks/ssr/node_modules__pnpm_04schutfn35bj._.js +3 -0
  584. package/.next/server/chunks/ssr/node_modules__pnpm_05h501p6qsta2._.js +3 -0
  585. package/.next/server/chunks/ssr/node_modules__pnpm_07__3n9kdea3x._.js +17 -0
  586. package/.next/server/chunks/ssr/node_modules__pnpm_07bue1xogf_3-._.js +3 -0
  587. package/.next/server/chunks/ssr/node_modules__pnpm_0809yfsbemzjk._.js +3 -0
  588. package/.next/server/chunks/ssr/node_modules__pnpm_089dt1n_-87tz._.js +3 -0
  589. package/.next/server/chunks/ssr/node_modules__pnpm_08vun7__wqvc_._.js +3 -0
  590. package/.next/server/chunks/ssr/node_modules__pnpm_0aty6r4mnp97n._.js +17 -0
  591. package/.next/server/chunks/ssr/node_modules__pnpm_0b70te4pjhy2e._.js +3 -0
  592. package/.next/server/chunks/ssr/node_modules__pnpm_0h16tk2cwq36v._.js +3 -0
  593. package/.next/server/chunks/ssr/node_modules__pnpm_0k5x_rsbezvwb._.js +3 -0
  594. package/.next/server/chunks/ssr/node_modules__pnpm_0k7jt_isf2v40._.js +3 -0
  595. package/.next/server/chunks/ssr/node_modules__pnpm_0ljbxyfip22ml._.js +3 -0
  596. package/.next/server/chunks/ssr/node_modules__pnpm_0lkowm9skxawi._.js +3 -0
  597. package/.next/server/chunks/ssr/node_modules__pnpm_0mmyvqb-ix-us._.js +3 -0
  598. package/.next/server/chunks/ssr/node_modules__pnpm_0olfojkjg7h-c._.js +3 -0
  599. package/.next/server/chunks/ssr/node_modules__pnpm_0q72wwfh94hc7._.js +3 -0
  600. package/.next/server/chunks/ssr/node_modules__pnpm_0qdi2brbala9w._.js +3 -0
  601. package/.next/server/chunks/ssr/node_modules__pnpm_0qf67-025iumd._.js +3 -0
  602. package/.next/server/chunks/ssr/node_modules__pnpm_0r63o_ocihhx3._.js +3 -0
  603. package/.next/server/chunks/ssr/node_modules__pnpm_0rq1l-jz2qx23._.js +3 -0
  604. package/.next/server/chunks/ssr/node_modules__pnpm_0vwfzp40fv85a._.js +3 -0
  605. package/.next/server/chunks/ssr/node_modules__pnpm_0xogjruqowijn._.js +3 -0
  606. package/.next/server/chunks/ssr/node_modules__pnpm_0ydc1h7j6a-t_._.js +17 -0
  607. package/.next/server/chunks/ssr/node_modules__pnpm_0ylum8o696oms._.js +38 -0
  608. package/.next/server/chunks/ssr/node_modules__pnpm_10hg7r6co86g6._.js +3 -0
  609. package/.next/server/chunks/ssr/node_modules__pnpm_10sx7hc9jbw5g._.js +3 -0
  610. package/.next/server/chunks/ssr/node_modules__pnpm_175uzatd356wd._.js +17 -0
  611. package/.next/server/chunks/ssr/node_modules__pnpm_192aapf0uy8n9._.js +3 -0
  612. package/.next/server/chunks/ssr/node_modules__pnpm_192fe9lvk84x7._.js +3 -0
  613. package/.next/server/chunks/ssr/node_modules__pnpm_1_i3oawxylmn8._.js +33 -0
  614. package/.next/server/chunks/ssr/node_modules__pnpm_1_uhg4m40s4to._.js +3 -0
  615. package/.next/server/chunks/ssr/node_modules__pnpm_1a1jr-zf5qrn-._.js +3 -0
  616. package/.next/server/chunks/ssr/node_modules__pnpm_1a803tkkqathx._.js +3 -0
  617. package/.next/server/chunks/ssr/node_modules__pnpm_1apn-qyd0up6n._.js +24 -0
  618. package/.next/server/chunks/ssr/node_modules__pnpm_1e5awe78f5vzg._.js +3 -0
  619. package/.next/server/chunks/ssr/node_modules__pnpm_1ek1wv-1f-w91._.js +3 -0
  620. package/.next/server/chunks/ssr/node_modules__pnpm_1f9mdx66r4ppk._.js +3 -0
  621. package/.next/server/chunks/ssr/node_modules__pnpm_1gc719cpwlhpz._.js +3 -0
  622. package/.next/server/chunks/ssr/node_modules__pnpm_1gwsr6acpah96._.js +3 -0
  623. package/.next/server/chunks/ssr/node_modules__pnpm_1h4r9n8b9_s1g._.js +17 -0
  624. package/.next/server/chunks/ssr/node_modules__pnpm_1hyd6ogb53vgm._.js +3 -0
  625. package/.next/server/chunks/ssr/node_modules__pnpm_1k9nmnub0yosz._.js +3 -0
  626. package/.next/server/chunks/ssr/node_modules__pnpm_1kp5q5_02l22o._.js +3 -0
  627. package/.next/server/chunks/ssr/node_modules__pnpm_1lj3s31o9hjcw._.js +3 -0
  628. package/.next/server/chunks/ssr/node_modules__pnpm_1lzazpib88m-5._.js +3 -0
  629. package/.next/server/chunks/ssr/node_modules__pnpm_1mbuq0ndrczy9._.js +3 -0
  630. package/.next/server/chunks/ssr/node_modules__pnpm_1mope7nm-vw3x._.js +3 -0
  631. package/.next/server/chunks/ssr/node_modules__pnpm_1nf_30rpi0apn._.js +3 -0
  632. package/.next/server/chunks/ssr/node_modules__pnpm_1on1ng4zsath3._.js +3 -0
  633. package/.next/server/chunks/ssr/node_modules__pnpm_1outxk3s9h6yk._.js +3 -0
  634. package/.next/server/chunks/ssr/node_modules__pnpm_1sd1boa0gva3j._.js +3 -0
  635. package/.next/server/chunks/ssr/node_modules__pnpm_1ttl5tf3m8_tz._.js +3 -0
  636. package/.next/server/chunks/ssr/node_modules__pnpm_1tun34xzr03al._.js +3 -0
  637. package/.next/server/chunks/ssr/node_modules__pnpm_1urf-ofg1l8_e._.js +17 -0
  638. package/.next/server/chunks/ssr/node_modules__pnpm_1uufggmla1ub1._.js +24 -0
  639. package/.next/server/chunks/ssr/node_modules__pnpm_1xtxbgt3wkk-s._.js +3 -0
  640. package/.next/server/chunks/ssr/node_modules__pnpm_1zgy286fn4qrs._.js +3 -0
  641. package/.next/server/chunks/ssr/node_modules__pnpm_1zsj85qtqqf2q._.js +3 -0
  642. package/.next/server/chunks/ssr/node_modules__pnpm_2079y8tr8si0s._.js +3 -0
  643. package/.next/server/chunks/ssr/node_modules__pnpm_20vxwm6_5m24x._.js +289 -0
  644. package/.next/server/chunks/ssr/packages_app__next-internal_server_app__global-error_page_actions_1oiuh5-h2b6uk.js +3 -0
  645. package/.next/server/chunks/ssr/packages_app__next-internal_server_app__not-found_page_actions_1wk8z-3cym6gh.js +3 -0
  646. package/.next/server/chunks/ssr/packages_app_src_19fv2qm5lpxq1._.js +3 -0
  647. package/.next/server/chunks/ssr/packages_app_src_1bnxm-8f8yt9f._.js +3 -0
  648. package/.next/server/chunks/ssr/packages_app_src_client_0pwh_vrm-wymc._.js +3 -0
  649. package/.next/server/chunks/ssr/packages_app_src_client_0r-n14ighyx-y._.js +3 -0
  650. package/.next/server/chunks/ssr/packages_app_src_client_1938frqd2y9i8._.js +3 -0
  651. package/.next/server/chunks/ssr/packages_app_src_client_1al1sum_4am90._.js +3 -0
  652. package/.next/server/chunks/ssr/packages_app_src_client_1z17i_fpf0hcf._.js +3 -0
  653. package/.next/server/chunks/ssr/packages_app_src_client_ui_1ty1yi51yl_mx._.js +5 -0
  654. package/.next/server/chunks/ssr/packages_app_src_client_ui_designSystem_16yt2l4h_k0xz._.js +3 -0
  655. package/.next/server/chunks/ssr/packages_app_src_client_ui_issues_IssueTable_tsx_1451_aayfauch._.js +3 -0
  656. package/.next/server/chunks/ssr/packages_app_src_client_ui_issues_NewIssueDialog_tsx_1_lt839dbbegv._.js +3 -0
  657. package/.next/server/chunks/ssr/packages_app_src_client_ui_screens_board_BoardScreen_tsx_0s58uy_mft-qa._.js +3 -0
  658. package/.next/server/chunks/ssr/packages_app_src_client_ui_screens_decisions_DecisionsScreen_tsx_1splyy_8-x3pj._.js +3 -0
  659. package/.next/server/chunks/ssr/packages_app_src_client_ui_screens_epics_EpicsScreen_tsx_10koyjd4-sokd._.js +3 -0
  660. package/.next/server/chunks/ssr/packages_app_src_client_ui_screens_hygiene_HygieneScreen_tsx_0xm43-zl8kmfv._.js +3 -0
  661. package/.next/server/chunks/ssr/packages_app_src_client_ui_screens_issues_IssuesScreen_tsx_1hjq50yb745mo._.js +3 -0
  662. package/.next/server/edge/chunks/1_n6_next_dist_esm_build_templates_edge-wrapper_139ztfeu83dtf.js +3 -0
  663. package/.next/server/edge/chunks/_0h7un2lf5xhnc._.js +3 -0
  664. package/.next/server/functions-config-manifest.json +14 -0
  665. package/.next/server/instrumentation/middleware-manifest.json +12 -0
  666. package/.next/server/instrumentation.js +4 -0
  667. package/.next/server/instrumentation.js.nft.json +1 -0
  668. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  669. package/.next/server/middleware/middleware-manifest.json +6 -0
  670. package/.next/server/middleware-build-manifest.js +134 -0
  671. package/.next/server/middleware-manifest.json +6 -0
  672. package/.next/server/middleware.js +5 -0
  673. package/.next/server/middleware.js.nft.json +1 -0
  674. package/.next/server/next-font-manifest.js +1 -0
  675. package/.next/server/next-font-manifest.json +6 -0
  676. package/.next/server/pages/404.html +1 -0
  677. package/.next/server/pages/500.html +1 -0
  678. package/.next/server/pages-manifest.json +4 -0
  679. package/.next/server/prefetch-hints.json +25 -0
  680. package/.next/server/preview-props.json +5 -0
  681. package/.next/server/server-reference-manifest.js +1 -0
  682. package/.next/server/server-reference-manifest.json +678 -0
  683. package/.next/static/chunks/0-cidjogxoeyl.js +1 -0
  684. package/.next/static/chunks/0-keif622u80r.js +92 -0
  685. package/.next/static/chunks/0-p7idf7969x8.js +1 -0
  686. package/.next/static/chunks/0-qh6sky9d9ws.js +122 -0
  687. package/.next/static/chunks/01ysl30dotpc5.js +1 -0
  688. package/.next/static/chunks/044ya20hr6lpq.js +1 -0
  689. package/.next/static/chunks/05a3_si0myv11.js +1 -0
  690. package/.next/static/chunks/05o27c5bf2jgn.js +1 -0
  691. package/.next/static/chunks/05wgnamj_k23b.js +1 -0
  692. package/.next/static/chunks/060kz5o7abmkz.js +1 -0
  693. package/.next/static/chunks/06g0p6xxlncl6.js +1 -0
  694. package/.next/static/chunks/06rk8g_9vlhx7.js +1 -0
  695. package/.next/static/chunks/084ej6i9qw54j.js +1 -0
  696. package/.next/static/chunks/08e-n-dvxwrgk.js +1 -0
  697. package/.next/static/chunks/08zb47r13fhsf.js +1 -0
  698. package/.next/static/chunks/09lvusoibo8hl.js +1 -0
  699. package/.next/static/chunks/0_3-9amqbhxho.js +1 -0
  700. package/.next/static/chunks/0_cm4qm2cf33r.js +4 -0
  701. package/.next/static/chunks/0_i_z3u_cfe4d.js +148 -0
  702. package/.next/static/chunks/0al3fs2bst7bo.js +1 -0
  703. package/.next/static/chunks/0b7p8gbp5fbdw.js +212 -0
  704. package/.next/static/chunks/0c4208c14935v.js +1 -0
  705. package/.next/static/chunks/0cabbhqjiz224.js +1 -0
  706. package/.next/static/chunks/0cz1d0mv5g_q7.js +1 -0
  707. package/.next/static/chunks/0ebutbhmwa_-z.js +1 -0
  708. package/.next/static/chunks/0elrnj--45x-p.js +1 -0
  709. package/.next/static/chunks/0emna04wrrip8.js +1 -0
  710. package/.next/static/chunks/0f566xz77pun-.js +1 -0
  711. package/.next/static/chunks/0f9tul-8l65cs.js +1 -0
  712. package/.next/static/chunks/0fh5_0r0nvnu6.js +1 -0
  713. package/.next/static/chunks/0g0c067f__x-n.js +1 -0
  714. package/.next/static/chunks/0g6u4w4zogx4z.js +1 -0
  715. package/.next/static/chunks/0h58qnhh95uzh.js +1 -0
  716. package/.next/static/chunks/0kv5ww351ao3w.js +203 -0
  717. package/.next/static/chunks/0kzahs2dbu_eg.js +115 -0
  718. package/.next/static/chunks/0l7zvgys9lqe0.js +1 -0
  719. package/.next/static/chunks/0lhbxb-hxh-9z.js +1 -0
  720. package/.next/static/chunks/0ltapvndq90mm.js +1 -0
  721. package/.next/static/chunks/0m32_r9nwu9od.js +1 -0
  722. package/.next/static/chunks/0m673ey220fls.js +1 -0
  723. package/.next/static/chunks/0nn5wn77jg2dg.js +1 -0
  724. package/.next/static/chunks/0on9azsug3puk.js +74 -0
  725. package/.next/static/chunks/0oxszt8wg7dl-.js +1 -0
  726. package/.next/static/chunks/0plazo62im6bg.js +1 -0
  727. package/.next/static/chunks/0pq8sr42dhs36.js +1 -0
  728. package/.next/static/chunks/0q-l88ob07l2k.js +1 -0
  729. package/.next/static/chunks/0q1xx0nday1cp.js +77 -0
  730. package/.next/static/chunks/0q4kl3djf7tt8.js +1 -0
  731. package/.next/static/chunks/0qi0redww7dj1.js +1 -0
  732. package/.next/static/chunks/0qz60578fkr7_.js +1 -0
  733. package/.next/static/chunks/0r4wbot3_u3ga.js +1 -0
  734. package/.next/static/chunks/0rjw-ub0ud9dz.js +1 -0
  735. package/.next/static/chunks/0rpo6w3h_v3w7.js +1 -0
  736. package/.next/static/chunks/0rx-14bmud73d.js +1 -0
  737. package/.next/static/chunks/0t5vj_w7rsy25.js +1 -0
  738. package/.next/static/chunks/0upta5gyni625.js +1 -0
  739. package/.next/static/chunks/0w12by1gms55l.js +1 -0
  740. package/.next/static/chunks/0xl7pewcerwle.js +1 -0
  741. package/.next/static/chunks/0z4qyqmkae32l.js +1 -0
  742. package/.next/static/chunks/0z5gqxt_7rduc.js +1 -0
  743. package/.next/static/chunks/0zws50biy6jig.js +15 -0
  744. package/.next/static/chunks/10j1c5di1axxx.js +1 -0
  745. package/.next/static/chunks/10t6ia9_ngdxt.js +1 -0
  746. package/.next/static/chunks/11exvk7wzcas5.js +1 -0
  747. package/.next/static/chunks/1246tqvp16zb4.css +9 -0
  748. package/.next/static/chunks/12w7t4077jp4i.js +1 -0
  749. package/.next/static/chunks/13w5phmhy53ys.js +1 -0
  750. package/.next/static/chunks/14ja9s6rmllxk.js +1 -0
  751. package/.next/static/chunks/14r9tx1ylqkdd.js +1 -0
  752. package/.next/static/chunks/14tw0c0_i8jux.js +1 -0
  753. package/.next/static/chunks/15ajhna3p_jbl.js +1 -0
  754. package/.next/static/chunks/15sikm_2cgb_a.js +160 -0
  755. package/.next/static/chunks/16916kf17f8ye.js +1 -0
  756. package/.next/static/chunks/16ui8oocwxjv_.js +1 -0
  757. package/.next/static/chunks/178zb3brj3los.js +286 -0
  758. package/.next/static/chunks/17lxbkw4flxsa.js +1 -0
  759. package/.next/static/chunks/18vfk2p3xqb23.js +1 -0
  760. package/.next/static/chunks/1_f4lkplomkro.js +27 -0
  761. package/.next/static/chunks/1_k0ygi4ax3ko.js +1 -0
  762. package/.next/static/chunks/1azbbcxtw5uoa.js +1 -0
  763. package/.next/static/chunks/1bgr-fpr_ty9x.js +10 -0
  764. package/.next/static/chunks/1c32f_mrokg0q.js +1 -0
  765. package/.next/static/chunks/1e589kopu3g__.js +1 -0
  766. package/.next/static/chunks/1f13dqbtyk0r1.js +1 -0
  767. package/.next/static/chunks/1hjs4aldnqrmt.js +86 -0
  768. package/.next/static/chunks/1i1hn8j833icp.js +1 -0
  769. package/.next/static/chunks/1ix59xuhq-q14.css +1 -0
  770. package/.next/static/chunks/1k3rpvq1044oh.js +1 -0
  771. package/.next/static/chunks/1kj4wnnvxqes7.js +1 -0
  772. package/.next/static/chunks/1kwdc0y1-nlh0.js +1 -0
  773. package/.next/static/chunks/1lxcepuuf4d2u.js +1 -0
  774. package/.next/static/chunks/1mc2vzrhkpajn.js +1 -0
  775. package/.next/static/chunks/1n8o5-ppz_z6l.js +1 -0
  776. package/.next/static/chunks/1ndfyo2whdo_w.js +1 -0
  777. package/.next/static/chunks/1nk8xt06wfi9d.js +1 -0
  778. package/.next/static/chunks/1nl-__ine-f54.js +1 -0
  779. package/.next/static/chunks/1nsr1hutuvg-2.js +1 -0
  780. package/.next/static/chunks/1ob06-65jncy2.js +1 -0
  781. package/.next/static/chunks/1oi3p01ljvxe_.js +1 -0
  782. package/.next/static/chunks/1oxogv1tfv20_.js +1 -0
  783. package/.next/static/chunks/1p93o2jvb5khm.js +1 -0
  784. package/.next/static/chunks/1rbvjmcgjcdoy.js +1 -0
  785. package/.next/static/chunks/1rk9__vlzwgm3.js +1 -0
  786. package/.next/static/chunks/1rzoyrkghg37d.js +1 -0
  787. package/.next/static/chunks/1t6-jihk3mqys.js +1 -0
  788. package/.next/static/chunks/1tb4let5_5zz5.js +1 -0
  789. package/.next/static/chunks/1u6ndk4bpvh2a.js +38 -0
  790. package/.next/static/chunks/1vhaucwwb3f45.js +1 -0
  791. package/.next/static/chunks/1wjhxz6x2t_vy.js +1 -0
  792. package/.next/static/chunks/1x93tny9dbgs9.js +1 -0
  793. package/.next/static/chunks/1z0nk9yl-k0-g.js +1 -0
  794. package/.next/static/chunks/1zku-vndxccdi.js +36 -0
  795. package/.next/static/chunks/2-l1z5aeby1di.js +1 -0
  796. package/.next/static/chunks/20atsxy3rjjrd.js +1 -0
  797. package/.next/static/chunks/212bl3le86sf0.js +90 -0
  798. package/.next/static/chunks/22--ki1hf-kpd.js +1 -0
  799. package/.next/static/chunks/2253v3ys-hc2s.js +1 -0
  800. package/.next/static/chunks/227mhvflnjadl.js +1 -0
  801. package/.next/static/chunks/236pzboinev0p.js +9 -0
  802. package/.next/static/chunks/23doox_9si9xh.js +1 -0
  803. package/.next/static/chunks/25r3zj2p68xq5.js +1 -0
  804. package/.next/static/chunks/26-um9q3ah4q1.js +1 -0
  805. package/.next/static/chunks/26ugs-zp1ihuu.js +287 -0
  806. package/.next/static/chunks/2791u8c6ps7ll.js +15 -0
  807. package/.next/static/chunks/27g26aparxch9.js +1 -0
  808. package/.next/static/chunks/27h34lj_m12xh.js +309 -0
  809. package/.next/static/chunks/27lvlrh6---yl.js +1 -0
  810. package/.next/static/chunks/27r2jkmlc66fx.js +1 -0
  811. package/.next/static/chunks/27xanm5ovrpt4.js +1 -0
  812. package/.next/static/chunks/28467g2j8_z52.js +31 -0
  813. package/.next/static/chunks/2863d6hg7_88-.js +1 -0
  814. package/.next/static/chunks/287vat3v7f581.js +15 -0
  815. package/.next/static/chunks/298_yzw6h8c-5.js +1 -0
  816. package/.next/static/chunks/29je8hy4hk4ff.js +1 -0
  817. package/.next/static/chunks/29w24izqy5m3x.js +1 -0
  818. package/.next/static/chunks/2_l5b7gflm_22.js +1 -0
  819. package/.next/static/chunks/2as_c91_gmzu7.js +1 -0
  820. package/.next/static/chunks/2b1pq50uw8yqw.js +1 -0
  821. package/.next/static/chunks/2bqpr_0tn5a05.js +1 -0
  822. package/.next/static/chunks/2e5c8psb0_qt3.js +1 -0
  823. package/.next/static/chunks/2ejaecoye9ub2.js +1 -0
  824. package/.next/static/chunks/2eko91wr3johd.js +1 -0
  825. package/.next/static/chunks/2f-3vekhxwtee.js +15 -0
  826. package/.next/static/chunks/2fw0bbm27xe7u.js +1 -0
  827. package/.next/static/chunks/2g0tc3lx9b_h5.js +1 -0
  828. package/.next/static/chunks/2gnjq7fwwgo57.css +1 -0
  829. package/.next/static/chunks/2i0ut30lng9m5.js +1 -0
  830. package/.next/static/chunks/2i7v15-sfv7j3.js +1 -0
  831. package/.next/static/chunks/2i8pc2o3bcjfy.js +1 -0
  832. package/.next/static/chunks/2id-3sibvh9an.js +1 -0
  833. package/.next/static/chunks/2j419hstfu-b8.js +1 -0
  834. package/.next/static/chunks/2jb6-a4b7_j7n.js +1 -0
  835. package/.next/static/chunks/2l4j_87dswys4.js +1 -0
  836. package/.next/static/chunks/2lo2di_9jv7g0.js +1 -0
  837. package/.next/static/chunks/2lu1_r-7ufue1.js +1 -0
  838. package/.next/static/chunks/2m01dlxmog_4j.js +1 -0
  839. package/.next/static/chunks/2m89crsp-tdll.js +1 -0
  840. package/.next/static/chunks/2mhm24_0r17hq.js +3 -0
  841. package/.next/static/chunks/2mupuvu05sf4k.js +1 -0
  842. package/.next/static/chunks/2n401bd59i_1f.js +1 -0
  843. package/.next/static/chunks/2ne1-hmxai-bf.js +62 -0
  844. package/.next/static/chunks/2nkykzl82r598.js +15 -0
  845. package/.next/static/chunks/2o20ljpke-8d4.js +1 -0
  846. package/.next/static/chunks/2o2qw89h_1y8k.js +24 -0
  847. package/.next/static/chunks/2o7wbe_4s1fsl.js +93 -0
  848. package/.next/static/chunks/2o_n5jsyhhh1j.js +1 -0
  849. package/.next/static/chunks/2p94jexcgfnsw.js +1 -0
  850. package/.next/static/chunks/2pivg9ftzief7.js +1 -0
  851. package/.next/static/chunks/2rmbv-g8mfw2d.js +1 -0
  852. package/.next/static/chunks/2snq00cyrzph3.js +179 -0
  853. package/.next/static/chunks/2t5alre41v4fa.js +1 -0
  854. package/.next/static/chunks/2u14kb6bakl6u.js +1 -0
  855. package/.next/static/chunks/2v_g8oup0_km-.js +1 -0
  856. package/.next/static/chunks/2vij08rsl0kah.js +1 -0
  857. package/.next/static/chunks/2vv925e3ulg36.js +1 -0
  858. package/.next/static/chunks/2w9ml274q-3-2.js +79 -0
  859. package/.next/static/chunks/2x2m2jftixw6v.js +1 -0
  860. package/.next/static/chunks/2y15jhcretd-b.js +1 -0
  861. package/.next/static/chunks/2yk_zqozh4fmm.js +1 -0
  862. package/.next/static/chunks/2zal-wfk1fsdo.js +1 -0
  863. package/.next/static/chunks/2zcpmlaureuyc.js +1 -0
  864. package/.next/static/chunks/3-iazt5z_5l0v.js +1 -0
  865. package/.next/static/chunks/3-w21-v3xw7xl.js +1 -0
  866. package/.next/static/chunks/30b1f7z6m_g2o.js +1 -0
  867. package/.next/static/chunks/30ihuc_p1sfbq.js +1 -0
  868. package/.next/static/chunks/31xhyhxssim_y.js +1 -0
  869. package/.next/static/chunks/320d47lydxw4c.js +1 -0
  870. package/.next/static/chunks/322qb_kay6_dh.js +62 -0
  871. package/.next/static/chunks/324f-g7rkq8sh.js +1 -0
  872. package/.next/static/chunks/32k_tipl5eadn.js +1 -0
  873. package/.next/static/chunks/33g403p6483nz.js +1 -0
  874. package/.next/static/chunks/33swkxqq98hj-.js +53 -0
  875. package/.next/static/chunks/345-lv7asgqfe.js +1 -0
  876. package/.next/static/chunks/34m04hreh4-as.js +62 -0
  877. package/.next/static/chunks/35_4sgqi2k84t.js +32 -0
  878. package/.next/static/chunks/36r4gytf33yif.js +23 -0
  879. package/.next/static/chunks/37txadqg25ths.js +1 -0
  880. package/.next/static/chunks/38_owsclvyxjn.js +1 -0
  881. package/.next/static/chunks/38fisypdveb9r.js +1 -0
  882. package/.next/static/chunks/38h8tauy9qn50.js +1 -0
  883. package/.next/static/chunks/38u5i4hnj9yoc.js +1 -0
  884. package/.next/static/chunks/396u5n3j51__b.js +135 -0
  885. package/.next/static/chunks/39fr1zu27u207.js +1 -0
  886. package/.next/static/chunks/39xl3kfvsmuuo.js +34 -0
  887. package/.next/static/chunks/39y8fnm-y94wv.js +1 -0
  888. package/.next/static/chunks/3_5ia8hgmtt60.js +1 -0
  889. package/.next/static/chunks/3_oal960-2m3e.js +1 -0
  890. package/.next/static/chunks/3ag_d1w8ai1dy.js +1 -0
  891. package/.next/static/chunks/3azreqwheey4q.js +1 -0
  892. package/.next/static/chunks/3boqstcignblb.js +1 -0
  893. package/.next/static/chunks/3cjgaa1w-3wo2.js +1 -0
  894. package/.next/static/chunks/3ecfeqjbabub5.js +66 -0
  895. package/.next/static/chunks/3f1cs3zxfb10l.js +1 -0
  896. package/.next/static/chunks/3f_o2gsy76qv8.js +61 -0
  897. package/.next/static/chunks/3gaptf_l1v4pk.js +22 -0
  898. package/.next/static/chunks/3gioxrj6lhe-_.js +1 -0
  899. package/.next/static/chunks/3gogi06rt5ndf.js +1 -0
  900. package/.next/static/chunks/3h67a7wnffq23.js +1 -0
  901. package/.next/static/chunks/3hjzhphua7cgd.js +1 -0
  902. package/.next/static/chunks/3ig77t41vb63g.js +1 -0
  903. package/.next/static/chunks/3ikr78lifl1et.js +1 -0
  904. package/.next/static/chunks/3j8hy0m9t_mr-.js +1 -0
  905. package/.next/static/chunks/3krt8tifpoi3t.js +1 -0
  906. package/.next/static/chunks/3l0wfpq_kkgel.js +1 -0
  907. package/.next/static/chunks/3lnn07_tmc-ch.js +94 -0
  908. package/.next/static/chunks/3mev4ibamrv17.js +1 -0
  909. package/.next/static/chunks/3mjtba5cz5f6w.js +88 -0
  910. package/.next/static/chunks/3mtl2380-ef0s.js +41 -0
  911. package/.next/static/chunks/3n39xv9py1mem.js +1 -0
  912. package/.next/static/chunks/3ng_0glv99chu.js +1 -0
  913. package/.next/static/chunks/3nijkknol8-6g.js +1 -0
  914. package/.next/static/chunks/3okkx6x0nwh0f.js +64 -0
  915. package/.next/static/chunks/3p0hqtk4y8fju.js +22 -0
  916. package/.next/static/chunks/3q28z3fh3zubh.js +24 -0
  917. package/.next/static/chunks/3r2_hei9uscv-.js +1 -0
  918. package/.next/static/chunks/3re1mqaptk5ui.js +1 -0
  919. package/.next/static/chunks/3rla-_pd16abk.js +1 -0
  920. package/.next/static/chunks/3u46lp7lgj10z.js +1 -0
  921. package/.next/static/chunks/3ugxxt4s7x_dl.js +1 -0
  922. package/.next/static/chunks/3w5ojvpnl_uxn.js +1 -0
  923. package/.next/static/chunks/3wd99wqzxt_fn.js +104 -0
  924. package/.next/static/chunks/3xkn55zbxtzwn.js +1 -0
  925. package/.next/static/chunks/3yryf54lryr3c.js +1 -0
  926. package/.next/static/chunks/3ze99karhk1gf.js +1 -0
  927. package/.next/static/chunks/400ei-a_3uefx.js +1 -0
  928. package/.next/static/chunks/4077ex4r8vivm.js +1 -0
  929. package/.next/static/chunks/40ivfkkx5sv9u.js +2 -0
  930. package/.next/static/chunks/425sfk9bz8ujf.js +1 -0
  931. package/.next/static/chunks/42nzhy1j3hc14.js +1 -0
  932. package/.next/static/chunks/43ad12uk74dyb.js +1 -0
  933. package/.next/static/chunks/44vzi0dgxpa20.js +1 -0
  934. package/.next/static/chunks/turbopack-3-ry682tkyiqk.js +1 -0
  935. package/.next/static/oT6EetPge6HLETyoQIk-j/_buildManifest.js +11 -0
  936. package/.next/static/oT6EetPge6HLETyoQIk-j/_clientMiddlewareManifest.js +6 -0
  937. package/.next/static/oT6EetPge6HLETyoQIk-j/_ssgManifest.js +1 -0
  938. package/LICENSE +23 -0
  939. package/README.ko.md +88 -0
  940. package/README.md +88 -0
  941. package/bin/bd-desk.js +114 -0
  942. package/bin/daemon.js +376 -0
  943. package/bin/workspaceRoot.js +62 -0
  944. package/next.config.ts +9 -0
  945. package/package.json +61 -0
@@ -0,0 +1,62 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,937714,t=>{"use strict";var e=t.i(615087),a=t.i(630841),l=t.i(556934),r=t.i(153181),i=t.i(696039),n=t.i(77509),s=t.i(697301),o=t.i(488151);t.i(991577);var h=t.i(692423),d=t.i(570126);async function c(t){let e=t.getElementsByTagName("img");if(!e||0===e.length)return;let a=!g(t);await Promise.all([...e].map(t=>new Promise(e=>{function l(){if(t.style.display="flex",t.style.flexDirection="column",a){let e=(0,n.z)().fontSize?(0,n.z)().fontSize:window.getComputedStyle(document.body).fontSize,[a=n.f.fontSize]=(0,i.X)(e),l=5*a+"px";t.style.minWidth=l,t.style.maxWidth=l}else t.style.width="100%";e(t)}(0,o.p)(l,"setupImage"),setTimeout(()=>{t.complete&&l()}),t.addEventListener("error",l),t.addEventListener("load",l)})))}function g(t){return 3===t.nodeType?t.textContent?.trim()!=="":1===t.nodeType&&"img"!==t.tagName.toLowerCase()&&[...t.childNodes].some(g)}(0,o.p)(c,"configureLabelImages"),(0,o.p)(g,"hasTextBesidesImages");var y=(0,o.p)(async(t,e,l)=>{let r=(0,n.z)(),s=t.insert("g").attr("class",l??"node default").attr("id",e.domId||e.id),o=s.insert("g").attr("class","label").attr("style",(0,i.d)(e.labelStyle)),d=[{text:"string"==typeof e.label?e.label:e.label?.[0]??"",cssClass:"c4-name"},{text:e.stereotype,cssClass:"c4-type"},...(e.description??[]).map(t=>({text:t,cssClass:"c4-descr"}))].filter(t=>t.text),c=e.width?Math.max(e.width-2*(e.padding??0),32):(0,n.z)().flowchart?.wrappingWidth??200,g=r.c4?.wrap??!0?c:1/0,y=await Promise.all(d.map(async t=>{let l=o.append("g").attr("class",t.cssClass),s=await (0,a.w)(l,(0,n.g)((0,i.Q)(t.text??""),r),{useHtmlLabels:!1,markdown:!1,isNode:!0,width:g,style:e.labelStyle},r);return(0,h.f)(s).selectAll("tspan.text-outer-tspan").attr("text-anchor","middle"),(0,h.f)(s).selectAll("tspan.text-inner-tspan").attr("font-weight",null).attr("font-style",null),{el:l,box:l.node().getBBox()}})),p=Math.max(...y.map(({box:t})=>t.width),0),u=0;for(let{el:t,box:e}of y)t.attr("transform",`translate(${p/2-e.x-e.width/2}, ${u-e.y})`),u+=e.height+3;let f=y.length>0?u-3:0;return o.insert("rect",":first-child"),o.attr("transform",`translate(${-p/2}, ${-f/2})`),{shapeSvg:s,bbox:o.node().getBBox(),halfPadding:(e.padding??0)/2,label:o}},"c4LabelHelper"),p=(0,o.p)((t,e)=>{let{x:a,y:l,width:r,height:i}=t;return r>=e?t:"left"in t?{x:a,y:l,width:e,height:i,top:l,left:a,bottom:l+i,right:a+e,toJSON:(0,o.p)(()=>({}),"toJSON")}:{x:a-(e-r)/2,y:l,width:e,height:i}},"withMinWidth"),u=(0,o.p)(async(t,e,l,{ignoreMinWidth:r=!1}={})=>{let s,o,d;if(void 0!==e.stereotype)return y(t,e,l);let g=e.useHtmlLabels||(0,n.i)((0,n.z)()?.htmlLabels);s=l||"node default";let u=t.insert("g").attr("class",s).attr("id",e.domId||e.id),f=u.insert("g").attr("class","label").attr("style",(0,i.d)(e.labelStyle));o=void 0===e.label?"":"string"==typeof e.label?e.label:e.label[0];let w=!!e.icon||!!e.img,x="markdown"===e.labelType,m=!o||e.width||r?0:e.minWidth??0,b=await (0,a.w)(f,(0,n.g)((0,i.Q)(o),(0,n.z)()),{useHtmlLabels:g,width:e.width||e.wrappingWidth||(0,n.z)().flowchart?.wrappingWidth,minWidth:m,classes:x?"markdown-node-label":"",style:e.labelStyle,addSvgBackground:w,markdown:x},(0,n.z)()),$=(e?.padding??0)/2;if(g){let t=b.children[0],e=(0,h.f)(b);await c(t),d=p(d=await a.n.measure(()=>t.getBoundingClientRect()),m),e.attr("width",d.width),e.attr("height",d.height)}else d=p(d=await a.n.measure(()=>b.getBBox()),m);return g?f.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"):f.attr("transform","translate(0, "+-d.height/2+")"),e.centerLabel&&f.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),f.insert("rect",":first-child"),{shapeSvg:u,bbox:d,halfPadding:$,label:f}},"labelHelper"),f=(0,o.p)(async(t,e,l)=>{let r,s=l.useHtmlLabels??(0,n.o)((0,n.z)()),o=t.insert("g").attr("class","label").attr("style",l.labelStyle||""),d=await (0,a.w)(o,(0,n.g)((0,i.Q)(e),(0,n.z)()),{useHtmlLabels:s,width:l.width||(0,n.z)()?.flowchart?.wrappingWidth,style:l.labelStyle,addSvgBackground:!!l.icon||!!l.img}),c=l.padding/2;if((0,n.o)((0,n.z)())){let t=d.children[0],e=(0,h.f)(d);r=await a.n.measure(()=>t.getBoundingClientRect()),e.attr("width",r.width),e.attr("height",r.height)}else r=await a.n.measure(()=>d.getBBox());return s?o.attr("transform","translate("+-r.width/2+", "+-r.height/2+")"):o.attr("transform","translate(0, "+-r.height/2+")"),l.centerLabel&&o.attr("transform","translate("+-r.width/2+", "+-r.height/2+")"),o.insert("rect",":first-child"),{shapeSvg:t,bbox:r,halfPadding:c,label:o}},"insertLabel"),w=(0,o.p)((t,e,a)=>{if(a){t.width=a.width,t.height=a.height;return}let l=e.node().getBBox();t.width=l.width,t.height=l.height},"updateNodeBounds"),x=(0,o.p)((t,e)=>("handDrawn"===t.look?"rough-node":"node")+" "+t.cssClasses+" "+(e||""),"getNodeClasses");function m(t){let e=t.map((t,e)=>`${0===e?"M":"L"}${t.x},${t.y}`);return e.push("Z"),e.join(" ")}function b(t,e,a,l,r,i){let n=[],s=a-t,o=2*Math.PI/(s/i),h=e+(l-e)/2;for(let e=0;e<=50;e++){let a=t+e/50*s,l=h+r*Math.sin(o*(a-t));n.push({x:a,y:l})}return n}function $(t,e,a,l,r,i){let n=[],s=r*Math.PI/180,o=(i*Math.PI/180-s)/(l-1);for(let r=0;r<l;r++){let l=s+r*o,i=t+a*Math.cos(l),h=e+a*Math.sin(l);n.push({x:-i,y:-h})}return n}function k(t){let e=Array.from(t.childNodes).filter(t=>"path"===t.tagName),a=document.createElementNS("http://www.w3.org/2000/svg","path"),l=e.map(t=>t.getAttribute("d")).filter(t=>null!==t).join(" ");a.setAttribute("d",l);let r=e.find(t=>"none"!==t.getAttribute("fill")),i=e.find(t=>"none"!==t.getAttribute("stroke")),n=(0,o.p)((t,e)=>t?.getAttribute(e)??void 0,"getAttr");r&&Object.entries({fill:n(r,"fill"),"fill-opacity":n(r,"fill-opacity")??"1"}).forEach(([t,e])=>{e&&a.setAttribute(t,e)}),i&&Object.entries({stroke:n(i,"stroke"),"stroke-width":n(i,"stroke-width")??"1","stroke-opacity":n(i,"stroke-opacity")??"1"}).forEach(([t,e])=>{e&&a.setAttribute(t,e)});let s=document.createElementNS("http://www.w3.org/2000/svg","g");return s.appendChild(a),s}(0,o.p)(m,"createPathFromPoints"),(0,o.p)(b,"generateFullSineWavePoints"),(0,o.p)($,"generateCirclePoints"),(0,o.p)(k,"mergePaths");var M=(0,o.p)((t,e)=>{var a,l,r=t.x,i=t.y,n=e.x-r,s=e.y-i,o=t.width/2,h=t.height/2;return Math.abs(s)*o>Math.abs(n)*h?(s<0&&(h=-h),a=0===s?0:h*n/s,l=h):(n<0&&(o=-o),a=o,l=0===n?0:o*s/n),{x:r+a,y:i+l}},"intersectRect");function S(t,e){return t.intersect(e)}function D(t,e,a,l){var r=t.x,i=t.y,n=r-l.x,s=i-l.y,o=Math.sqrt(e*e*s*s+a*a*n*n),h=Math.abs(e*a*n/o);l.x<r&&(h=-h);var d=Math.abs(e*a*s/o);return l.y<i&&(d=-d),{x:r+h,y:i+d}}function v(t,e,a){return D(t,e,e,a)}function C(t,e,a,l){{let r=e.y-t.y,i=t.x-e.x,n=e.x*t.y-t.x*e.y,s=r*a.x+i*a.y+n,o=r*l.x+i*l.y+n;if(0!==s&&0!==o&&A(s,o))return;let h=l.y-a.y,d=a.x-l.x,c=l.x*a.y-a.x*l.y,g=h*t.x+d*t.y+c,y=h*e.x+d*e.y+c;if(1e-6>Math.abs(g)&&1e-6>Math.abs(y)&&A(g,y))return;let p=r*d-h*i;if(0===p)return;return{x:(i*c-d*n)/p,y:(h*n-r*c)/p}}}function A(t,e){return t*e>0}function N(t,e,a){let l=t.x,r=t.y,i=[],n=1/0,s=1/0;"function"==typeof e.forEach?e.forEach(function(t){n=Math.min(n,t.x),s=Math.min(s,t.y)}):(n=Math.min(n,e.x),s=Math.min(s,e.y));let o=l-t.width/2-n,h=r-t.height/2-s;for(let l=0;l<e.length;l++){let r=e[l],n=e[l<e.length-1?l+1:0],s=C(t,a,{x:o+r.x,y:h+r.y},{x:o+n.x,y:h+n.y});s&&i.push(s)}return i.length?(i.length>1&&i.sort(function(t,e){let l=t.x-a.x,r=t.y-a.y,i=Math.sqrt(l*l+r*r),n=e.x-a.x,s=e.y-a.y,o=Math.sqrt(n*n+s*s);return i<o?-1:+(i!==o)}),i[0]):t}(0,o.p)(S,"intersectNode"),(0,o.p)(D,"intersectEllipse"),(0,o.p)(v,"intersectCircle"),(0,o.p)(C,"intersectLine"),(0,o.p)(A,"sameSign"),(0,o.p)(N,"intersectPolygon");var B={node:S,circle:v,ellipse:D,polygon:N,rect:M},z=(0,o.p)((t,e,a,l,r)=>["M",t+r,e,"H",t+a-r,"A",r,r,"0 0 1",t+a,e+r,"V",e+l-r,"A",r,r,"0 0 1",t+a-r,e+l,"H",t+r,"A",r,r,"0 0 1",t,e+l-r,"V",e+r,"A",r,r,"0 0 1",t+r,e,"Z"].join(" "),"createRoundedRectPathD"),L=(0,o.p)(async(t,e,l,r=!1,i=!1)=>{let s=e||"";"object"==typeof s&&(s=s[0]);let o=(0,n.z)(),h=(0,n.o)(o);return await (0,a.w)(t,s,{style:l,isTitle:r,useHtmlLabels:h,markdown:!1,isNode:i,width:1/0},o)},"createLabel");function P(t,a){let{labelStyles:l}=(0,e.u)(a);a.labelStyle=l;let r=x(a),n=r;r||(n="anchor");let o=t.insert("g").attr("class",n).attr("id",a.domId||a.id),{cssStyles:h}=a,c=d.f.svg(o),g=(0,e.z)(a,{fill:"black",stroke:"none",fillStyle:"solid"});"handDrawn"!==a.look&&(g.roughness=0);let y=c.circle(0,0,2,g),p=o.insert(()=>y,":first-child");return p.attr("class","anchor").attr("style",(0,i.d)(h)),w(a,p),a.intersect=function(t){return s.d.info("Circle intersect",a,1,t),B.circle(a,1,t)},o}function I(t,e,a,l,r,i,n){let s=Math.atan2(l-e,a-t),o=Math.sqrt(((a-t)/2/r)**2+((l-e)/2/i)**2);if(o>1)throw Error("The given radii are too small to create an arc between the points.");let h=Math.sqrt(1-o**2),d=(t+a)/2+h*i*Math.sin(s)*(n?-1:1),c=(e+l)/2-h*r*Math.cos(s)*(n?-1:1),g=Math.atan2((e-c)/i,(t-d)/r),y=Math.atan2((l-c)/i,(a-d)/r)-g;n&&y<0&&(y+=2*Math.PI),!n&&y>0&&(y-=2*Math.PI);let p=[];for(let t=0;t<20;t++){let e=g+t/19*y,a=d+r*Math.cos(e),l=c+i*Math.sin(e);p.push({x:a,y:l})}return p}function R(t,e,a){let[l,r]=[e,a].sort((t,e)=>e-t);return r*(1-Math.sqrt(1-(t/l/2)**2))}async function H(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?16:i,s="neo"===a.look?12:i,h=(0,o.p)(t=>t+s,"calcTotalHeight"),c=(0,o.p)(t=>{let e=t/2;return[e/(2.5+t/50),e]},"calcEllipseRadius"),{shapeSvg:g,bbox:y}=await u(t,a,x(a)),p=h(a?.height?a?.height:y.height),[f,b]=c(p),$=R(p,f,b),k=(a?.width?a?.width:y.width)+2*n+$-$,{cssStyles:M}=a,S=[{x:k/2,y:-p/2},{x:-k/2,y:-p/2},...I(-k/2,-p/2,-k/2,p/2,f,b,!1),{x:k/2,y:p/2},...I(k/2,p/2,k/2,-p/2,f,b,!0)],D=d.f.svg(g),v=(0,e.z)(a,{});"handDrawn"!==a.look&&(v.roughness=0,v.fillStyle="solid");let C=m(S),A=D.path(C,v),N=g.insert(()=>A,":first-child");return N.attr("class","basic label-container outer-path"),M&&"handDrawn"!==a.look&&N.selectAll("path").attr("style",M),r&&"handDrawn"!==a.look&&N.selectAll("path").attr("style",r),N.attr("transform",`translate(${f/2}, 0)`),w(a,N),a.intersect=function(t){return B.polygon(a,S,t)},g}async function T(t,a,{config:{themeVariables:l}}){let{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let{shapeSvg:n,bbox:s,label:h}=await u(t,a,x(a)),c=l?.nodeBorder??l?.lineColor??"currentColor",g=a.padding??12,y=Math.max(s.width+2*g,a.width??0,80),p=Math.max(Math.min(.08*y,12),5),f=Math.max(s.height+2*g+p,a.height??0),m=-f/2+p,b=f/2,$=.72*y,k=`M${-y/2},${m} L${-$/2},${b} A${$/2},${p} 0 0 0 ${$/2},${b} L${y/2},${m} A${y/2},${p} 0 0 0 ${-y/2},${m} Z`,{cssStyles:M}=a,S=n.insert("g",":first-child").attr("class","basic label-container");if("handDrawn"===a.look){let t=d.f.svg(n).path(k,(0,e.z)(a,{}));S.node()?.appendChild(t),M&&S.attr("style",M)}else S.append("path").attr("d",k).attr("style",i);S.append("ellipse").attr("cx",0).attr("cy",m).attr("rx",y/2).attr("ry",p).attr("style",`fill:none;stroke:${c};stroke-width:1px`),w(a,S);let D=m+(b-m)/2;h.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${D-s.height/2-(s.y-(s.top??0))})`);let v=(0,o.p)((t,e,a)=>Array.from({length:13},(l,r)=>{let i=Math.PI-r*Math.PI/12;return{x:t*Math.cos(i),y:e+a*p*Math.sin(i)}}),"arc"),C=[...v(y/2,m,-1),...v($/2,b,1).reverse()];return a.intersect=function(t){return B.polygon(a,C,t)},n}function W(t){let{themeVariables:e}=(0,n.z)(),a=e.clusterBkg,l=e.clusterBorder;return"flow"===t?{rx:10,fill:"none",stroke:e.flowContainerStroke||e.secondaryBorderColor,strokeWidth:.75,cssClass:"flow-collapsed"}:{rx:8,fill:a,stroke:l,cssClass:"collapsed-group"}}async function j(t,a){let l,s=W(a.metadata?.containerType),{fill:o,stroke:h}=s,{nodeStyles:c}=(0,e.u)(a),{shapeSvg:g,bbox:y}=await u(t,a,x(a)),{theme:p,themeVariables:f}=(0,n.z)();(0,r.Z)(g,a.colorIndex,p,f.borderColorArray);let m=a.padding??8,b=y.height,$=Math.max(y.width+2*m,80,a?.width??0),k=Math.max(b+8+20+2*m,a?.height??0),M=-$/2,S=-k/2,D=g.select(".label");if(D&&(a.useHtmlLabels??(0,n.o)((0,n.z)())?D.attr("transform",`translate(${-y.width/2}, ${-y.height/2+-14})`):D.attr("transform",`translate(0, ${-y.height/2+-14})`)),"handDrawn"===a.look){let t=d.f.svg(g),r=(0,e.z)(a,{fill:o,stroke:h,...void 0===s.strokeWidth?{}:{strokeWidth:s.strokeWidth},..."none"===o?{fillWeight:0}:{fillStyle:"solid"}}),n=t.path(z(M,S,$,k,s.rx),r);(l=g.insert(()=>n,":first-child")).attr("class","basic label-container "+s.cssClass).attr("style",(0,i.d)(a.cssStyles))}else(l=g.insert("rect",":first-child")).attr("class","basic label-container "+s.cssClass).attr("style",c).attr("rx",s.rx).attr("ry",s.rx).attr("x",M).attr("y",S).attr("width",$).attr("height",k).attr("fill",o).attr("stroke",h),void 0!==s.strokeWidth&&l.attr("stroke-width",s.strokeWidth+"px");let v=S+m+b+8;g.append("line").attr("class","collapsed-separator").attr("x1",M+8).attr("y1",v).attr("x2",M+$-8).attr("y2",v).attr("stroke",h).attr("stroke-dasharray","3, 3");let C=v+10;for(let t=-1;t<=1;t++)g.append("circle").attr("class","collapsed-indicator").attr("cx",10*t).attr("cy",C).attr("r",2.5).attr("fill",h);return w(a,l),a.calcIntersect=function(t,e){return B.rect(t,e)},a.intersect=function(t){return B.rect(a,t)},g}function E(t,e,a,l){return t.insert("polygon",":first-child").attr("points",l.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+a/2+")")}(0,o.p)(P,"anchor"),(0,o.p)(I,"generateArcPoints"),(0,o.p)(R,"calculateArcSagitta"),(0,o.p)(H,"bowTieRect"),(0,o.p)(T,"bucket"),(0,o.p)(W,"getCollapsedStyle"),(0,o.p)(j,"collapsedGroup"),(0,o.p)(E,"insertPolygonShape");var q=["right","left","up","down"],Z="point",O=(0,o.p)(t=>{let e=new Set;for(let a of t)switch(a){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(a)}return e},"expandAndDeduplicateDirections"),F=(0,o.p)(t=>q.filter(e=>t.has(e)).join("|")||Z,"getDirectionKey"),_={"right|left|up|down":(0,o.p)(({height:t,midpoint:e,padding:a,width:l})=>[{x:0,y:0},{x:e,y:0},{x:l/2,y:2*a},{x:l-e,y:0},{x:l,y:0},{x:l,y:-t/3},{x:l+2*a,y:-t/2},{x:l,y:-2*t/3},{x:l,y:-t},{x:l-e,y:-t},{x:l/2,y:-t-2*a},{x:e,y:-t},{x:0,y:-t},{x:0,y:-2*t/3},{x:-2*a,y:-t/2},{x:0,y:-t/3}],"right|left|up|down"),"right|left|up":(0,o.p)(({height:t,midpoint:e,width:a})=>[{x:e,y:0},{x:a-e,y:0},{x:a,y:-t/2},{x:a-e,y:-t},{x:e,y:-t},{x:0,y:-t/2}],"right|left|up"),"right|left|down":(0,o.p)(({height:t,midpoint:e,width:a})=>[{x:0,y:0},{x:e,y:-t},{x:a-e,y:-t},{x:a,y:0}],"right|left|down"),"right|up|down":(0,o.p)(({height:t,midpoint:e,width:a})=>[{x:0,y:0},{x:a,y:-e},{x:a,y:-t+e},{x:0,y:-t}],"right|up|down"),"left|up|down":(0,o.p)(({height:t,midpoint:e,width:a})=>[{x:a,y:0},{x:0,y:-e},{x:0,y:-t+e},{x:a,y:-t}],"left|up|down"),"right|left":(0,o.p)(({height:t,midpoint:e,padding:a,width:l})=>[{x:e,y:0},{x:e,y:-a},{x:l-e,y:-a},{x:l-e,y:0},{x:l,y:-t/2},{x:l-e,y:-t},{x:l-e,y:-t+a},{x:e,y:-t+a},{x:e,y:-t},{x:0,y:-t/2}],"right|left"),"up|down":(0,o.p)(({height:t,midpoint:e,padding:a,width:l})=>[{x:l/2,y:0},{x:0,y:-a},{x:e,y:-a},{x:e,y:-t+a},{x:0,y:-t+a},{x:l/2,y:-t},{x:l,y:-t+a},{x:l-e,y:-t+a},{x:l-e,y:-a},{x:l,y:-a}],"up|down"),"right|up":(0,o.p)(({height:t,midpoint:e,width:a})=>[{x:0,y:0},{x:a,y:-e},{x:0,y:-t}],"right|up"),"right|down":(0,o.p)(({height:t,width:e})=>[{x:0,y:0},{x:e,y:0},{x:0,y:-t}],"right|down"),"left|up":(0,o.p)(({height:t,midpoint:e,width:a})=>[{x:a,y:0},{x:0,y:-e},{x:a,y:-t}],"left|up"),"left|down":(0,o.p)(({height:t,width:e})=>[{x:e,y:0},{x:0,y:0},{x:e,y:-t}],"left|down"),right:(0,o.p)(({height:t,midpoint:e,padding:a,width:l})=>[{x:e,y:-a},{x:e,y:-a},{x:l-e,y:-a},{x:l-e,y:0},{x:l,y:-t/2},{x:l-e,y:-t},{x:l-e,y:-t+a},{x:e,y:-t+a},{x:e,y:-t+a}],"right"),left:(0,o.p)(({height:t,midpoint:e,padding:a,width:l})=>[{x:e,y:0},{x:e,y:-a},{x:l-e,y:-a},{x:l-e,y:-t+a},{x:e,y:-t+a},{x:e,y:-t},{x:0,y:-t/2}],"left"),up:(0,o.p)(({height:t,midpoint:e,padding:a,width:l})=>[{x:e,y:-a},{x:e,y:-t+a},{x:0,y:-t+a},{x:l/2,y:-t},{x:l,y:-t+a},{x:l-e,y:-t+a},{x:l-e,y:-a}],"up"),down:(0,o.p)(({height:t,midpoint:e,padding:a,width:l})=>[{x:l/2,y:0},{x:0,y:-a},{x:e,y:-a},{x:e,y:-t+a},{x:l-e,y:-t+a},{x:l-e,y:-a},{x:l,y:-a}],"down"),[Z]:()=>[{x:0,y:0}]},V=(0,o.p)((t,e,a,l)=>{let r=O(t),i=(a.padding??0)/2,n=e.height+4*i,s=n/2,o=l??e.width+2*s+2*i;return(_[F(r)]??_[Z])({height:n,midpoint:s,padding:i,width:o})},"getArrowPoints");async function X(t,e){let{shapeSvg:a,bbox:l}=await u(t,e,x(e)),r=e.padding??0,i=l.height+2*r,n=i/2,s=l.width+2*n+r,o=e.width??0,h=e.positioned&&(e.widthInColumns??1)>1&&o>s?o:s,d=V(e.directions??[],l,e,h),c=E(a,h,i,d);return c.attr("style",e.style??null),w(e,c),e.intersect=function(t){return B.polygon(e,d,t)},a}async function J(t,a,{config:{themeVariables:l}}){let{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let{shapeSvg:n,bbox:s,label:o}=await u(t,a,x(a)),h=l?.nodeBorder??l?.lineColor??"currentColor",c=a.padding??12,g=Math.max(s.width+2*c,a.width??0,90),y=Math.max(s.height+2*c+18,a.height??0),p=-y/2,{cssStyles:f}=a,m=n.insert("g",":first-child").attr("class","basic label-container");if("handDrawn"===a.look){let t=d.f.svg(n).path(z(-g/2,p,g,y,12),(0,e.z)(a,{}));m.node()?.appendChild(t),f&&m.attr("style",f)}else m.append("rect").attr("x",-g/2).attr("y",p).attr("width",g).attr("height",y).attr("rx",12).attr("ry",12).attr("style",i);m.append("line").attr("x1",-g/2).attr("y1",p+18).attr("x2",g/2).attr("y2",p+18).attr("style",`stroke:${h};stroke-width:1px`);for(let t=0;t<3;t++)m.append("circle").attr("cx",-g/2+12+9*t).attr("cy",p+9).attr("r",2.5).attr("style",`fill:${h};stroke:none`);m.append("rect").attr("class","browser-address-bar").attr("x",-g/2+44).attr("y",p+4).attr("width",Math.max(g-56,10)).attr("height",10).attr("rx",3).attr("ry",3).attr("style",`fill:none;stroke:${h};stroke-width:1px;opacity:0.6`),w(a,m);let b=p+18+(y-18)/2;return o.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${b-s.height/2-(s.y-(s.top??0))})`),a.intersect=function(t){return B.rect(a,t)},n}async function G(t,a){let l,{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let n=a.padding??0,s="neo"===a.look?28:n,o="neo"===a.look?24:n,{shapeSvg:h,bbox:c}=await u(t,a,x(a)),g=(a?.width??c.width)+("neo"===a.look?2*s:s+12),y=(a?.height??c.height)+("neo"===a.look?2*o:o),p=-y,f=[{x:12,y:p},{x:g,y:p},{x:g,y:0},{x:0,y:0},{x:0,y:p+12},{x:12,y:p}],{cssStyles:b}=a;if("handDrawn"===a.look){let t=d.f.svg(h),r=(0,e.z)(a,{}),i=m(f),n=t.path(i,r);l=h.insert(()=>n,":first-child").attr("transform",`translate(${-g/2}, ${y/2})`),b&&l.attr("style",b)}else l=E(h,g,y,f);return i&&l.attr("style",i),w(a,l),a.intersect=function(t){return B.polygon(a,f,t)},h}function Q(t,a){let{nodeStyles:l}=(0,e.u)(a);a.label="";let r=t.insert("g").attr("class",x(a)).attr("id",a.domId??a.id),{cssStyles:i}=a,n=Math.max(28,a.width??0),s=[{x:0,y:n/2},{x:n/2,y:0},{x:0,y:-n/2},{x:-n/2,y:0}],o=d.f.svg(r),h=(0,e.z)(a,{});"handDrawn"!==a.look&&(h.roughness=0,h.fillStyle="solid");let c=m(s),g=o.path(c,h),y=r.insert(()=>g,":first-child");return i&&"handDrawn"!==a.look&&y.selectAll("path").attr("style",i),l&&"handDrawn"!==a.look&&y.selectAll("path").attr("style",l),a.width=28,a.height=28,a.intersect=function(t){return B.polygon(a,s,t)},r}async function U(t,a,l){let r,{labelStyles:n,nodeStyles:o}=(0,e.u)(a);a.labelStyle=n;let{shapeSvg:h,bbox:c,halfPadding:g}=await u(t,a,x(a),{ignoreMinWidth:!0}),y=l?.padding??g,p=Math.sqrt(c.width**2+c.height**2)/2,f="neo"===a.look?p+16:p+y,{cssStyles:m}=a;if("handDrawn"===a.look){let t=d.f.svg(h),l=(0,e.z)(a,{}),n=t.circle(0,0,2*f,l);(r=h.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,i.d)(m))}else r=h.insert("circle",":first-child").attr("class","basic label-container").attr("style",o).attr("r",f).attr("cx",0).attr("cy",0);return w(a,r),a.calcIntersect=function(t,e){let a=t.width/2;return B.circle(t,a,e)},a.intersect=function(t){return s.d.info("Circle intersect",a,f,t),B.circle(a,f,t)},h}async function K(t,e){let a=["node",e.cssClasses,e.class].filter(Boolean).join(" "),{shapeSvg:l,bbox:r,halfPadding:i}=await u(t,e,a),n=l.insert("rect",":first-child"),s=e.padding??0,o=e.positioned?e.width??0:r.width+s,h=e.positioned?e.height??0:r.height+s,d=e.positioned?-o/2:-r.width/2-i,c=e.positioned?-h/2:-r.height/2-i;return n.attr("class","basic cluster composite label-container").attr("style",e.style??null).attr("rx",e.rx??null).attr("ry",e.ry??null).attr("x",d).attr("y",c).attr("width",o).attr("height",h),w(e,n),e.intersect=function(t){return B.rect(e,t)},l}async function Y(t,a,{config:{themeVariables:l}}){let{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let{shapeSvg:n,bbox:s,label:o}=await u(t,a,x(a)),h=l?.nodeBorder??l?.lineColor??"currentColor",c=a.padding??12,g=Math.max(s.width+2*c,a.width??0,90),y=Math.max(s.height+2*c+20,a.height??0),p=-y/2,{cssStyles:f}=a,m=n.insert("g",":first-child").attr("class","basic label-container");if("handDrawn"===a.look){let t=d.f.svg(n).path(z(-g/2,p,g,y,12),(0,e.z)(a,{}));m.node()?.appendChild(t),f&&m.attr("style",f)}else m.append("rect").attr("x",-g/2).attr("y",p).attr("width",g).attr("height",y).attr("rx",12).attr("ry",12).attr("style",i);m.append("text").attr("x",-g/2+12).attr("y",p+16).attr("class","console-glyph").attr("style",`font-family:monospace;font-weight:bold;font-size:14px;fill:${h}`).text(">_"),w(a,m);let b=p+20+(y-20)/2;return o.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${b-s.height/2-(s.y-(s.top??0))})`),a.intersect=function(t){return B.rect(a,t)},n}function tt(t){let e=Math.cos(Math.PI/4),a=Math.sin(Math.PI/4),l=2*t,r={x:l/2*e,y:l/2*a},i={x:-(l/2)*e,y:l/2*a},n={x:-(l/2)*e,y:-(l/2)*a},s={x:l/2*e,y:-(l/2)*a};return`M ${i.x},${i.y} L ${s.x},${s.y}
2
+ M ${r.x},${r.y} L ${n.x},${n.y}`}function te(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l,a.label="";let i=t.insert("g").attr("class",x(a)).attr("id",a.domId??a.id),n=Math.max(30,a?.width??0),{cssStyles:o}=a,h=d.f.svg(i),c=(0,e.z)(a,{});"handDrawn"!==a.look&&(c.roughness=0,c.fillStyle="solid");let g=h.circle(0,0,2*n,c),y=tt(n),p=h.path(y,c),u=i.insert(()=>g,":first-child");return u.insert(()=>p),u.attr("class","outer-path"),o&&"handDrawn"!==a.look&&u.selectAll("path").attr("style",o),r&&"handDrawn"!==a.look&&u.selectAll("path").attr("style",r),w(a,u),a.intersect=function(t){return s.d.info("crossedCircle intersect",a,{radius:n,point:t}),B.circle(a,n,t)},i}function ta(t,e,a,l=100,r=0,i=180){let n=[],s=r*Math.PI/180,o=(i*Math.PI/180-s)/(l-1);for(let r=0;r<l;r++){let l=s+r*o,i=t+a*Math.cos(l),h=e+a*Math.sin(l);n.push({x:-i,y:-h})}return n}async function tl(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let{shapeSvg:i,bbox:n,label:s}=await u(t,a,x(a)),o="neo"===a.look?18:a.padding??0,h="neo"===a.look?12:a.padding??0,c=n.width+o,g=n.height+h,y=Math.max(5,.1*g),{cssStyles:p}=a,f=[...ta(c/2,-g/2,y,30,-90,0),{x:-c/2-y,y:y},...ta(c/2+2*y,-y,y,20,-180,-270),...ta(c/2+2*y,y,y,20,-90,-180),{x:-c/2-y,y:-g/2},...ta(c/2,g/2,y,20,0,90)],b=[{x:c/2,y:-g/2-y},{x:-c/2,y:-g/2-y},...ta(c/2,-g/2,y,20,-90,0),{x:-c/2-y,y:-y},...ta(c/2+.1*c,-y,y,20,-180,-270),...ta(c/2+.1*c,y,y,20,-90,-180),{x:-c/2-y,y:g/2},...ta(c/2,g/2,y,20,0,90),{x:-c/2,y:g/2+y},{x:c/2,y:g/2+y}],$=d.f.svg(i),k=(0,e.z)(a,{fill:"none"});"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let M=m(f).replace("Z",""),S=$.path(M,k),D=m(b),v=$.path(D,{...k}),C=i.insert("g",":first-child");return C.insert(()=>v,":first-child").attr("stroke-opacity",0),C.insert(()=>S,":first-child"),C.attr("class","text"),p&&"handDrawn"!==a.look&&C.selectAll("path").attr("style",p),r&&"handDrawn"!==a.look&&C.selectAll("path").attr("style",r),C.attr("transform",`translate(${y}, 0)`),s.attr("transform",`translate(${-c/2+y-(n.x-(n.left??0))},${-g/2+(a.padding??0)/2-(n.y-(n.top??0))})`),w(a,C),a.intersect=function(t){return B.polygon(a,b,t)},i}function tr(t,e,a,l=100,r=0,i=180){let n=[],s=r*Math.PI/180,o=(i*Math.PI/180-s)/(l-1);for(let r=0;r<l;r++){let l=s+r*o,i=t+a*Math.cos(l),h=e+a*Math.sin(l);n.push({x:i,y:h})}return n}async function ti(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let{shapeSvg:i,bbox:n,label:s}=await u(t,a,x(a)),o="neo"===a.look?18:a.padding??0,h="neo"===a.look?12:a.padding??0,c=n.width+("neo"===a.look?2*o:o),g=n.height+("neo"===a.look?2*h:h),y=Math.max(5,.1*g),{cssStyles:p}=a,f=[...tr(c/2,-g/2,y,20,-90,0),{x:c/2+y,y:-y},...tr(c/2+2*y,-y,y,20,-180,-270),...tr(c/2+2*y,y,y,20,-90,-180),{x:c/2+y,y:g/2},...tr(c/2,g/2,y,20,0,90)],b=[{x:-c/2,y:-g/2-y},{x:c/2,y:-g/2-y},...tr(c/2,-g/2,y,20,-90,0),{x:c/2+y,y:-y},...tr(c/2+2*y,-y,y,20,-180,-270),...tr(c/2+2*y,y,y,20,-90,-180),{x:c/2+y,y:g/2},...tr(c/2,g/2,y,20,0,90),{x:c/2,y:g/2+y},{x:-c/2,y:g/2+y}],$=d.f.svg(i),k=(0,e.z)(a,{fill:"none"});"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let M=m(f).replace("Z",""),S=$.path(M,k),D=m(b),v=$.path(D,{...k}),C=i.insert("g",":first-child");return C.insert(()=>v,":first-child").attr("stroke-opacity",0),C.insert(()=>S,":first-child"),C.attr("class","text"),p&&"handDrawn"!==a.look&&C.selectAll("path").attr("style",p),r&&"handDrawn"!==a.look&&C.selectAll("path").attr("style",r),C.attr("transform",`translate(${-y}, 0)`),s.attr("transform",`translate(${-c/2+(a.padding??0)/2-(n.x-(n.left??0))},${-g/2+(a.padding??0)/2-(n.y-(n.top??0))})`),w(a,C),a.intersect=function(t){return B.polygon(a,b,t)},i}function tn(t,e,a,l=100,r=0,i=180){let n=[],s=r*Math.PI/180,o=(i*Math.PI/180-s)/(l-1);for(let r=0;r<l;r++){let l=s+r*o,i=t+a*Math.cos(l),h=e+a*Math.sin(l);n.push({x:-i,y:-h})}return n}async function ts(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let{shapeSvg:i,bbox:n,label:s}=await u(t,a,x(a)),o="neo"===a.look?18:a.padding??0,h="neo"===a.look?12:a.padding??0,c=n.width+("neo"===a.look?2*o:o),g=n.height+("neo"===a.look?2*h:h),y=Math.max(5,.1*g),{cssStyles:p}=a,f=[...tn(c/2,-g/2,y,30,-90,0),{x:-c/2-y,y:y},...tn(c/2+2*y,-y,y,20,-180,-270),...tn(c/2+2*y,y,y,20,-90,-180),{x:-c/2-y,y:-g/2},...tn(c/2,g/2,y,20,0,90)],b=[...tn(-c/2+y+y/2,-g/2,y,20,-90,-180),{x:c/2-y/2,y:y},...tn(-c/2-y/2,-y,y,20,0,90),...tn(-c/2-y/2,y,y,20,-90,0),{x:c/2-y/2,y:-y},...tn(-c/2+y+y/2,g/2,y,30,-180,-270)],$=[{x:c/2,y:-g/2-y},{x:-c/2,y:-g/2-y},...tn(c/2,-g/2,y,20,-90,0),{x:-c/2-y,y:-y},...tn(c/2+2*y,-y,y,20,-180,-270),...tn(c/2+2*y,y,y,20,-90,-180),{x:-c/2-y,y:g/2},...tn(c/2,g/2,y,20,0,90),{x:-c/2,y:g/2+y},{x:c/2-y-y/2,y:g/2+y},...tn(-c/2+y+y/2,-g/2,y,20,-90,-180),{x:c/2-y/2,y:y},...tn(-c/2-y/2,-y,y,20,0,90),...tn(-c/2-y/2,y,y,20,-90,0),{x:c/2-y/2,y:-y},...tn(-c/2+y+y/2,g/2,y,30,-180,-270)],k=d.f.svg(i),M=(0,e.z)(a,{fill:"none"});"handDrawn"!==a.look&&(M.roughness=0,M.fillStyle="solid");let S=m(f).replace("Z",""),D=k.path(S,M),v=m(b).replace("Z",""),C=k.path(v,M),A=m($),N=k.path(A,{...M}),z=i.insert("g",":first-child");return z.insert(()=>N,":first-child").attr("stroke-opacity",0),z.insert(()=>D,":first-child"),z.insert(()=>C,":first-child"),z.attr("class","text"),p&&"handDrawn"!==a.look&&z.selectAll("path").attr("style",p),r&&"handDrawn"!==a.look&&z.selectAll("path").attr("style",r),z.attr("transform",`translate(${y-y/4}, 0)`),s.attr("transform",`translate(${-c/2+(a.padding??0)/2-(n.x-(n.left??0))},${-g/2+(a.padding??0)/2-(n.y-(n.top??0))})`),w(a,z),a.intersect=function(t){return B.polygon(a,$,t)},i}async function to(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?16:i,s="neo"===a.look?12:i,{shapeSvg:o,bbox:h}=await u(t,a,x(a)),c=Math.max(5,h.height+2*s,a?.height??0),g=c/2,y=Math.max(c/4,g-Math.sqrt(Math.max(0,g**2-(h.height/2)**2))),p=Math.max(20,h.width+2*n+2*y,(h.width+2*n)*1.25,a?.width??0),{cssStyles:f}=a,b=d.f.svg(o),k=(0,e.z)(a,{});"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let M=p-g,S=c/4,D=[{x:M,y:0},{x:S,y:0},{x:0,y:c/2},{x:S,y:c},{x:M,y:c},...$(-M,-c/2,g,50,270,90)],v=m(D),C=b.path(v,k),A=o.insert(()=>C,":first-child");return A.attr("class","basic label-container outer-path"),f&&"handDrawn"!==a.look&&A.selectChildren("path").attr("style",f),r&&"handDrawn"!==a.look&&A.selectChildren("path").attr("style",r),A.attr("transform",`translate(${-p/2}, ${-c/2})`),w(a,A),a.intersect=function(t){return B.polygon(a,D,t)},o}async function th(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let{shapeSvg:i,bbox:n,label:s}=await u(t,a,x(a)),o=a.padding??20,h=Math.max(n.width+2*o,a.width??0,100),c=Math.min(Math.max(.23*h,16),56),g=.27*c,y=Math.max(n.height+2*o,a.height?a.height-(2*c-g):0),p=Math.min(.177*h,.45*y),f=y+2*c-g,m=-f/2,b=m+2*c-g,k=i.insert("g",":first-child").attr("class","basic label-container"),{cssStyles:M}=a;if("handDrawn"===a.look){let t=d.f.svg(i),l=(0,e.z)(a,{}),r=t.path(z(-h/2,b,h,y,p),l),n=t.circle(0,m+c,2*c,l);k.insert(()=>n,":first-child"),k.insert(()=>r,":first-child"),M&&k.attr("style",M)}else k.append("rect").attr("x",-h/2).attr("y",b).attr("width",h).attr("height",y).attr("rx",p).attr("ry",p).attr("style",r),k.append("circle").attr("cx",0).attr("cy",m+c).attr("r",c).attr("style",r);w(a,k);let S=b+y/2;s.attr("transform",`translate(${-(n.width/2)-(n.x-(n.left??0))}, ${S-n.height/2-(n.y-(n.top??0))})`);let D=m+c,v=180*Math.asin(Math.min(1,(b-D)/c))/Math.PI,C=[...$(0,-D,c,24,180+v,-v),...$(-(-h/2+p),-(b+p),p,12,90,0),...$(-(-h/2+p),-(f/2-p),p,12,360,270),...$(-(h/2-p),-(f/2-p),p,12,270,180),...$(-(h/2-p),-(b+p),p,12,180,90)];return a.intersect=function(t){return B.polygon(a,C,t)},i}(0,o.p)(X,"block_arrow"),(0,o.p)(J,"browser"),(0,o.p)(G,"card"),(0,o.p)(Q,"choice"),(0,o.p)(U,"circle"),(0,o.p)(K,"composite"),(0,o.p)(Y,"consoleWindow"),(0,o.p)(tt,"createLine"),(0,o.p)(te,"crossedCircle"),(0,o.p)(ta,"generateCirclePoints"),(0,o.p)(tl,"curlyBraceLeft"),(0,o.p)(tr,"generateCirclePoints"),(0,o.p)(ti,"curlyBraceRight"),(0,o.p)(tn,"generateCirclePoints"),(0,o.p)(ts,"curlyBraces"),(0,o.p)(to,"curvedTrapezoid"),(0,o.p)(th,"person");var td=(0,o.p)((t,e,a,l,r,i)=>`M${t},${e+i} a${r},${i} 0,0,0 ${a},0 a${r},${i} 0,0,0 ${-a},0 l0,${l} a${r},${i} 0,0,0 ${a},0 l0,${-l}`,"createCylinderPathD"),tc=(0,o.p)((t,e,a,l,r,i)=>`M${t},${e+i} M${t+a},${e+i} a${r},${i} 0,0,0 ${-a},0 l0,${l} a${r},${i} 0,0,0 ${a},0 l0,${-l}`,"createOuterCylinderPathD"),tg=(0,o.p)((t,e,a,l,r,i)=>`M${t-a/2},${-l/2} a${r},${i} 0,0,0 ${a},0`,"createInnerCylinderPathD");async function ty(t,a){let l,{labelStyles:r,nodeStyles:n}=(0,e.u)(a);a.labelStyle=r;let s=a.padding??0,o="neo"===a.look?24:s,h="neo"===a.look?24:s,c=a.width??0;a.width&&(a.width=a.width-h,a.width<8&&(a.width=8)),a.height&&(a.height=a.height-o-c/2/(2.5+c/50)*3,a.height<8&&(a.height=8));let{shapeSvg:g,bbox:y,label:p}=await u(t,a,x(a)),f=Math.max(a.width??0,y.width)+h,m=f/2,b=m/(2.5+f/50),$=Math.max(a.height??0,y.height)+o+b,{cssStyles:k}=a;if("handDrawn"===a.look){let t=d.f.svg(g),r=tc(0,0,f,$,m,b),i=tg(0,b,f,$,m,b),n=(0,e.z)(a,{}),s=t.path(r,n),o=t.path(i,(0,e.z)(a,{fill:"none"}));l=g.insert(()=>o,":first-child"),(l=g.insert(()=>s,":first-child")).attr("class","basic label-container"),k&&l.attr("style",k)}else{let t=td(0,0,f,$,m,b);l=g.insert("path",":first-child").attr("d",t).attr("class","basic label-container outer-path").attr("style",(0,i.d)(k)).attr("style",n)}return l.attr("label-offset-y",b),l.attr("transform",`translate(${-f/2}, ${-($/2+b)})`),w(a,l),p.attr("transform",`translate(${-(y.width/2)-(y.x-(y.left??0))}, ${-(y.height/2)+(a.padding??0)/1.5-(y.y-(y.top??0))})`),a.intersect=function(t){let e=B.rect(a,t),l=e.x-(a.x??0);if(0!=m&&(Math.abs(l)<(a.width??0)/2||Math.abs(l)==(a.width??0)/2&&Math.abs(e.y-(a.y??0))>(a.height??0)/2-b)){let r=b*b*(1-l*l/(m*m));r>0&&(r=Math.sqrt(r)),r=b-r,t.y-(a.y??0)>0&&(r=-r),e.y+=r}return e},g}async function tp(t,a,l){let r,{labelStyles:n,nodeStyles:s}=(0,e.u)(a);a.labelStyle=n;let{shapeSvg:o,bbox:h}=await u(t,a,x(a)),c=Math.max(h.width+2*l.labelPaddingX,a?.width||0),g=Math.max(h.height+2*l.labelPaddingY,a?.height||0),y=-c/2,p=-g/2,{rx:f,ry:m}=a,{cssStyles:b}=a;if(l?.rx&&l.ry&&(f=l.rx,m=l.ry),"handDrawn"===a.look){let t=d.f.svg(o),l=(0,e.z)(a,{}),n=f||m?t.path(z(y,p,c,g,f||0),l):t.rectangle(y,p,c,g,l);(r=o.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,i.d)(b))}else(r=o.insert("rect",":first-child")).attr("class","basic label-container").attr("style",s).attr("rx",(0,i.d)(f)).attr("ry",(0,i.d)(m)).attr("x",y).attr("y",p).attr("width",c).attr("height",g);return w(a,r,"handDrawn"===a.look?void 0:{width:c,height:g}),a.calcIntersect=function(t,e){return B.rect(t,e)},a.intersect=function(t){return B.rect(a,t)},o}async function tu(t,a){let{cssClasses:l,labelPaddingX:r,labelPaddingY:i,padding:n,width:s,height:o}=a,h=await tp(t,a,{rx:0,ry:0,classes:l??"",labelPaddingX:r??(n??0)*2,labelPaddingY:i??n??0});if("handDrawn"===a.look){let t=d.f.svg(h),l=(0,e.z)(a,{}),r=h.select(".basic.label-container > path:nth-child(2)"),i=r.node();if(!i)return h;let n=null;return i instanceof SVGGraphicsElement&&(n=i.getBBox(),h.insert(()=>t.line(n.x,n.y,n.x+n.width,n.y,l),".basic.label-container g.label"),h.insert(()=>t.line(n.x,n.y+n.height,n.x+n.width,n.y+n.height,l),".basic.label-container g.label"),r.remove()),h}let c=h.select(".basic.label-container"),g=(Number(c.attr("width"))||s)??0,y=(Number(c.attr("height"))||o)??0;return g>0&&y>0&&c.attr("stroke-dasharray",`${g} ${y}`),h}async function tf(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i="neo"===a.look?16:a.padding??0,n="neo"===a.look?16:a.padding??0,{shapeSvg:s,bbox:o,label:h}=await u(t,a,x(a)),c=o.width+i,g=o.height+n,y=.2*g,p=-c/2,f=-g/2-y/2,{cssStyles:m}=a,b=d.f.svg(s),$=(0,e.z)(a,{});"handDrawn"!==a.look&&($.roughness=0,$.fillStyle="solid");let k=b.polygon([{x:p,y:f+y},{x:-p,y:f+y},{x:-p,y:-f},{x:p,y:-f},{x:p,y:f},{x:-p,y:f},{x:-p,y:f+y}].map(t=>[t.x,t.y]),$),M=s.insert(()=>k,":first-child");return M.attr("class","basic label-container outer-path"),m&&"handDrawn"!==a.look&&M.selectAll("path").attr("style",m),r&&"handDrawn"!==a.look&&M.selectAll("path").attr("style",r),h.attr("transform",`translate(${p+(a.padding??0)/2-(o.x-(o.left??0))}, ${f+y+(a.padding??0)/2-(o.y-(o.top??0))})`),w(a,M),a.intersect=function(t){return B.rect(a,t)},s}async function tw(t,a){let l,{labelStyles:r,nodeStyles:n}=(0,e.u)(a),o="neo"===a.look?12:5;a.labelStyle=r;let h=a.padding??0,c="neo"===a.look?16:h,{shapeSvg:g,bbox:y}=await u(t,a,x(a),{ignoreMinWidth:!0}),p=Math.sqrt(y.width**2+y.height**2)/2,f=(a?.width?a?.width/2:p)+(c??0),m=f+o,{cssStyles:b}=a;if("handDrawn"===a.look){let t=d.f.svg(g),r=(0,e.z)(a,{roughness:.2,strokeWidth:2.5}),n=(0,e.z)(a,{roughness:.2,strokeWidth:1.5}),s=t.circle(0,0,2*m,r),o=t.circle(0,0,2*f,n);(l=g.insert("g",":first-child")).attr("class",(0,i.d)(a.cssClasses)).attr("style",(0,i.d)(b)),l.node()?.appendChild(s),l.node()?.appendChild(o)}else{let t=(l=g.insert("g",":first-child")).insert("circle",":first-child"),e=l.insert("circle");l.attr("class","basic label-container").attr("style",n),t.attr("class","outer-circle").attr("style",n).attr("r",m).attr("cx",0).attr("cy",0),e.attr("class","inner-circle").attr("style",n).attr("r",f).attr("cx",0).attr("cy",0)}return w(a,l),a.intersect=function(t){return s.d.info("DoubleCircle intersect",a,m,t),B.circle(a,m,t)},g}async function tx(t,a){let l,{labelStyles:i,nodeStyles:s}=(0,e.u)(a);a.labelStyle=i;let{shapeSvg:o,bbox:h,halfPadding:c}=await u(t,a,x(a)),{theme:g,themeVariables:y}=(0,n.z)();(0,r.Z)(o,a.colorIndex,g,y.borderColorArray);let p=c??10,f=h.width/2+2*p,m=h.height/2+2*p,{cssStyles:b}=a;if("handDrawn"===a.look){let t=d.f.svg(o),r=(0,e.z)(a,{}),i=t.ellipse(0,0,2*f,2*m,r);(l=o.insert(()=>i,":first-child")).attr("class","basic label-container"),b&&l.attr("style",b)}else l=o.insert("ellipse",":first-child").attr("class","basic label-container").attr("style",s).attr("rx",f).attr("ry",m).attr("cx",0).attr("cy",0);return a.width=2*f,a.height=2*m,w(a,l),a.calcIntersect=function(t,e){let a=t.width/2,l=t.height/2;return B.ellipse(t,a,l,e)},a.intersect=function(t){return B.ellipse(a,f,m,t)},o}function tm(t,a,{config:{themeVariables:l}}){let{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.label="",a.labelStyle=r;let n=t.insert("g").attr("class",x(a)).attr("id",a.domId??a.id),{cssStyles:o}=a,h=d.f.svg(n),{nodeBorder:c}=l,g=(0,e.z)(a,{fillStyle:"solid"});"handDrawn"!==a.look&&(g.roughness=0);let y=h.circle(0,0,14,g),p=n.insert(()=>y,":first-child");return p.selectAll("path").attr("style",`fill: ${c} !important;`),o&&o.length>0&&"handDrawn"!==a.look&&p.selectAll("path").attr("style",o),i&&"handDrawn"!==a.look&&p.selectAll("path").attr("style",i),w(a,p),a.intersect=function(t){return s.d.info("filledCircle intersect",a,{radius:7,point:t}),B.circle(a,7,t)},n}async function tb(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?2*i:i;(a.width||a.height)&&(a.height=a?.height??0,a.height<10&&(a.height=10),a.width=(a?.width??0)-n-n/2,a.width<10&&(a.width=10));let{shapeSvg:o,bbox:h,label:c}=await u(t,a,x(a)),g=(a?.width?a?.width:h.width)+(n??0),y=a?.height?a?.height:g+h.height,p=[{x:0,y:-y},{x:y,y:-y},{x:y/2,y:0}],{cssStyles:f}=a,b=d.f.svg(o),$=(0,e.z)(a,{});"handDrawn"!==a.look&&($.roughness=0,$.fillStyle="solid");let k=m(p),M=b.path(k,$),S=o.insert(()=>M,":first-child").attr("transform",`translate(${-y/2}, ${y/2})`).attr("class","outer-path");return f&&"handDrawn"!==a.look&&S.selectChildren("path").attr("style",f),r&&"handDrawn"!==a.look&&S.selectChildren("path").attr("style",r),a.width=g,a.height=y,w(a,S),c.attr("transform",`translate(${-h.width/2-(h.x-(h.left??0))}, ${-y/2+(a.padding??0)/2+(h.y-(h.top??0))})`),a.intersect=function(t){return s.d.info("Triangle intersect",a,p,t),B.polygon(a,p,t)},o}async function t$(t,a){let l,{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let{shapeSvg:n,bbox:s,label:o}=await u(t,a,x(a)),h=a.padding??12,c=Math.max(s.width+2*h,a.width??0,90),g=s.height+2*h,y=Math.max(Math.min(.16*g,14),8),p=Math.max(g+y,a.height??0),f=p-y,m=Math.max(.38*c,28),b=-p/2,$=[{x:-c/2,y:b},{x:-c/2+m,y:b},{x:-c/2+m,y:b+y},{x:c/2,y:b+y},{x:c/2,y:p/2},{x:-c/2,y:p/2}],k=[`M${$[0].x},${$[0].y}`,...$.slice(1).map(t=>`L${t.x},${t.y}`),"Z"].join(" "),{cssStyles:M}=a;if("handDrawn"===a.look){let t=d.f.svg(n).path(k,(0,e.z)(a,{}));l=n.insert(()=>t,":first-child").attr("class","basic label-container"),M&&l.attr("style",M)}else l=n.insert("path",":first-child").attr("d",k).attr("class","basic label-container").attr("style",i);return"handDrawn"===a.look?w(a,l):w(a,l,{width:c,height:p}),o.attr("transform",`translate(${-(s.width/2)-(s.x-(s.left??0))}, ${b+y+f/2-s.height/2-(s.y-(s.top??0))})`),a.intersect=function(t){return B.polygon(a,$,t)},n}function tk(t,a,{dir:l,config:{state:r,themeVariables:i}}){let{nodeStyles:n}=(0,e.u)(a);a.label="";let s=t.insert("g").attr("class",x(a)).attr("id",a.domId??a.id),{cssStyles:o}=a,h=Math.max(70,a?.width??0),c=Math.max(10,a?.height??0);("LR"===l||"RL"===l)&&(h=Math.max(10,a?.width??0),c=Math.max(70,a?.height??0));let g=-1*h/2,y=-1*c/2,p=d.f.svg(s),u=(0,e.z)(a,{stroke:i.lineColor,fill:i.lineColor});"handDrawn"!==a.look&&(u.roughness=0,u.fillStyle="solid");let f=p.rectangle(g,y,h,c,u),m=s.insert(()=>f,":first-child");o&&"handDrawn"!==a.look&&m.selectAll("path").attr("style",o),n&&"handDrawn"!==a.look&&m.selectAll("path").attr("style",n),w(a,m);let b=r?.padding??0;return a.width&&a.height&&(a.width+=b/2||0,a.height+=b/2||0),a.intersect=function(t){return B.rect(a,t)},s}async function tM(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i="neo"===a.look?16:a.padding??0,n="neo"===a.look?12:a.padding??0;(a.width||a.height)&&(a.height=(a?.height??0)-2*n,a.height<10&&(a.height=10),a.width=(a?.width??0)-2*i,a.width<15&&(a.width=15));let{shapeSvg:o,bbox:h}=await u(t,a,x(a)),c=(a?.height?a?.height:Math.max(10,h.height))+2*n,g=c/2,y=g-Math.sqrt(Math.max(0,g**2-(h.height/2)**2)),p=(a?.width?a?.width:Math.max(15,h.width)+2*y)+2*i,{cssStyles:f}=a,b=d.f.svg(o),k=(0,e.z)(a,{});"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let M=[{x:-p/2,y:-c/2},{x:p/2-g,y:-c/2},...$(-p/2+g,0,g,50,90,270),{x:p/2-g,y:c/2},{x:-p/2,y:c/2}],S=m(M),D=b.path(S,k),v=o.insert(()=>D,":first-child");return v.attr("class","basic label-container outer-path"),f&&"handDrawn"!==a.look&&v.selectChildren("path").attr("style",f),r&&"handDrawn"!==a.look&&v.selectChildren("path").attr("style",r),w(a,v),a.intersect=function(t){return s.d.info("Pill intersect",a,{radius:g,point:t}),B.polygon(a,M,t)},o}(0,o.p)(ty,"cylinder"),(0,o.p)(tp,"drawRect"),(0,o.p)(tu,"datastore"),(0,o.p)(tf,"dividedRectangle"),(0,o.p)(tw,"doublecircle"),(0,o.p)(tx,"usecaseEllipse"),(0,o.p)(tm,"filledCircle"),(0,o.p)(tb,"flippedTriangle"),(0,o.p)(t$,"folder"),(0,o.p)(tk,"forkJoin"),(0,o.p)(tM,"halfRoundedRectangle");var tS=(0,o.p)((t,e,a,l,r)=>`M${t+r},${e} L${t+a-r},${e} L${t+a},${e-l/2} L${t+a-r},${e-l} L${t+r},${e-l} L${t},${e-l/2} Z`,"createHexagonPathD");async function tD(t,a){let l,{labelStyles:r,nodeStyles:i}=(0,e.u)(a),n="neo"===a.look?3.5:4;a.labelStyle=r;let s=a.padding??0,o="neo"===a.look?70:s,h="neo"===a.look?32:s;if(a.width||a.height){let t=a.height??0;a.width=(a?.width??0)-t/n*2-h,a.height=(a.height??0)-o}let{shapeSvg:c,bbox:g}=await u(t,a,x(a)),y=(a?.height?a?.height:g.height)+o,p=y/n,f=(a?.width?a?.width:g.width)+2*p+h,m=[{x:p,y:0},{x:f-p,y:0},{x:f,y:-y/2},{x:f-p,y:-y},{x:p,y:-y},{x:0,y:-y/2}],{cssStyles:b}=a;if("handDrawn"===a.look){let t=d.f.svg(c),r=(0,e.z)(a,{}),i=tS(0,0,f,y,p),n=t.path(i,r);l=c.insert(()=>n,":first-child").attr("transform",`translate(${-f/2}, ${y/2})`),b&&l.attr("style",b)}else l=E(c,f,y,m);return i&&l.attr("style",i),a.width=f,a.height=y,w(a,l),a.intersect=function(t){return B.polygon(a,m,t)},c}async function tv(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.label="",a.labelStyle=l;let{shapeSvg:i}=await u(t,a,x(a)),n=Math.max(30,a?.width??0),o=Math.max(30,a?.height??0),{cssStyles:h}=a,c=d.f.svg(i),g=(0,e.z)(a,{});"handDrawn"!==a.look&&(g.roughness=0,g.fillStyle="solid");let y=[{x:0,y:0},{x:n,y:0},{x:0,y:o},{x:n,y:o}],p=m(y),f=c.path(p,g),b=i.insert(()=>f,":first-child");return b.attr("class","basic label-container outer-path"),h&&"handDrawn"!==a.look&&b.selectChildren("path").attr("style",h),r&&"handDrawn"!==a.look&&b.selectChildren("path").attr("style",r),b.attr("transform",`translate(${-n/2}, ${-o/2})`),w(a,b),a.intersect=function(t){return s.d.info("Pill intersect",a,{points:y}),B.polygon(a,y,t)},i}async function tC(t,a,{config:{themeVariables:r,flowchart:i}}){let{labelStyles:n}=(0,e.u)(a);a.labelStyle=n;let o=Math.max(a.assetHeight??48,a.assetWidth??48);a.width=Math.max(o,i?.wrappingWidth??0);let{shapeSvg:h,bbox:c,label:g}=await u(t,a,"icon-shape default"),y="t"===a.pos,{nodeBorder:p}=r,{stylesMap:f}=(0,e.O)(a),x=-o/2,m=-o/2,b=8*!!a.label,$=d.f.svg(h),k=(0,e.z)(a,{stroke:"none",fill:"none"});"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let M=$.rectangle(x,m,o,o,k),S=Math.max(o,c.width),D=o+c.height+b,v=$.rectangle(-S/2,-D/2,S,D,{...k,fill:"transparent",stroke:"none"}),C=h.insert(()=>M,":first-child"),A=h.insert(()=>v);if(a.icon){let t=h.append("g");t.html(`<g>${await (0,l.v)(a.icon,{height:o,width:o,fallbackPrefix:""})}</g>`);let e=t.node().getBBox(),r=e.width,i=e.height,n=e.x,s=e.y;t.attr("transform",`translate(${-r/2-n},${y?c.height/2+b/2-i/2-s:-c.height/2-b/2-i/2-s})`),t.attr("style",`color: ${f.get("stroke")??p};`)}return g.attr("transform",`translate(${-c.width/2-(c.x-(c.left??0))},${y?-D/2:D/2-c.height})`),C.attr("transform",`translate(0,${y?c.height/2+b/2:-c.height/2-b/2})`),w(a,A),a.intersect=function(t){if(s.d.info("iconSquare intersect",a,t),!a.label)return B.rect(a,t);let e=a.x??0,l=a.y??0,r=a.height??0,i=[];return i=y?[{x:e-c.width/2,y:l-r/2},{x:e+c.width/2,y:l-r/2},{x:e+c.width/2,y:l-r/2+c.height+b},{x:e+o/2,y:l-r/2+c.height+b},{x:e+o/2,y:l+r/2},{x:e-o/2,y:l+r/2},{x:e-o/2,y:l-r/2+c.height+b},{x:e-c.width/2,y:l-r/2+c.height+b}]:[{x:e-o/2,y:l-r/2},{x:e+o/2,y:l-r/2},{x:e+o/2,y:l-r/2+o},{x:e+c.width/2,y:l-r/2+o},{x:e+c.width/2/2,y:l+r/2},{x:e-c.width/2,y:l+r/2},{x:e-c.width/2,y:l-r/2+o},{x:e-o/2,y:l-r/2+o}],B.polygon(a,i,t)},h}async function tA(t,a,{config:{themeVariables:r,flowchart:i}}){let{labelStyles:n}=(0,e.u)(a);a.labelStyle=n;let o=Math.max(a.assetHeight??48,a.assetWidth??48);a.width=Math.max(o,i?.wrappingWidth??0);let{shapeSvg:h,bbox:c,label:g}=await u(t,a,"icon-shape default"),y=8*!!a.label,p="t"===a.pos,{nodeBorder:f,mainBkg:x}=r,{stylesMap:m}=(0,e.O)(a),b=d.f.svg(h),$=(0,e.z)(a,{});"handDrawn"!==a.look&&($.roughness=0,$.fillStyle="solid"),$.stroke=m.get("fill")??x;let k=h.append("g");a.icon&&k.html(`<g>${await (0,l.v)(a.icon,{height:o,width:o,fallbackPrefix:""})}</g>`);let M=k.node().getBBox(),S=M.width,D=M.height,v=M.x,C=M.y,A=Math.max(S,D)*Math.SQRT2+40,N=b.circle(0,0,A,$),z=Math.max(A,c.width),L=A+c.height+y,P=b.rectangle(-z/2,-L/2,z,L,{...$,fill:"transparent",stroke:"none"}),I=h.insert(()=>N,":first-child"),R=h.insert(()=>P);return k.attr("transform",`translate(${-S/2-v},${p?c.height/2+y/2-D/2-C:-c.height/2-y/2-D/2-C})`),k.attr("style",`color: ${m.get("stroke")??f};`),g.attr("transform",`translate(${-c.width/2-(c.x-(c.left??0))},${p?-L/2:L/2-c.height})`),I.attr("transform",`translate(0,${p?c.height/2+y/2:-c.height/2-y/2})`),w(a,R),a.intersect=function(t){return s.d.info("iconSquare intersect",a,t),B.rect(a,t)},h}async function tN(t,a,{config:{themeVariables:r,flowchart:i}}){let{labelStyles:n}=(0,e.u)(a);a.labelStyle=n;let o=Math.max(a.assetHeight??48,a.assetWidth??48);a.width=Math.max(o,i?.wrappingWidth??0);let{shapeSvg:h,bbox:c,halfPadding:g,label:y}=await u(t,a,"icon-shape default"),p="t"===a.pos,f=o+2*g,x=o+2*g,{nodeBorder:m,mainBkg:b}=r,{stylesMap:$}=(0,e.O)(a),k=8*!!a.label,M=d.f.svg(h),S=(0,e.z)(a,{});"handDrawn"!==a.look&&(S.roughness=0,S.fillStyle="solid"),S.stroke=$.get("fill")??b;let D=M.path(z(-x/2,-f/2,x,f,5),S),v=Math.max(x,c.width),C=f+c.height+k,A=M.rectangle(-v/2,-C/2,v,C,{...S,fill:"transparent",stroke:"none"}),N=h.insert(()=>D,":first-child").attr("class","icon-shape2"),L=h.insert(()=>A);if(a.icon){let t=h.append("g");t.html(`<g>${await (0,l.v)(a.icon,{height:o,width:o,fallbackPrefix:""})}</g>`);let e=t.node().getBBox(),r=e.width,i=e.height,n=e.x,s=e.y;t.attr("transform",`translate(${-r/2-n},${p?c.height/2+k/2-i/2-s:-c.height/2-k/2-i/2-s})`),t.attr("style",`color: ${$.get("stroke")??m};`)}return y.attr("transform",`translate(${-c.width/2-(c.x-(c.left??0))},${p?-C/2:C/2-c.height})`),N.attr("transform",`translate(0,${p?c.height/2+k/2:-c.height/2-k/2})`),w(a,L),a.intersect=function(t){if(s.d.info("iconSquare intersect",a,t),!a.label)return B.rect(a,t);let e=a.x??0,l=a.y??0,r=a.height??0,i=[];return i=p?[{x:e-c.width/2,y:l-r/2},{x:e+c.width/2,y:l-r/2},{x:e+c.width/2,y:l-r/2+c.height+k},{x:e+x/2,y:l-r/2+c.height+k},{x:e+x/2,y:l+r/2},{x:e-x/2,y:l+r/2},{x:e-x/2,y:l-r/2+c.height+k},{x:e-c.width/2,y:l-r/2+c.height+k}]:[{x:e-x/2,y:l-r/2},{x:e+x/2,y:l-r/2},{x:e+x/2,y:l-r/2+f},{x:e+c.width/2,y:l-r/2+f},{x:e+c.width/2/2,y:l+r/2},{x:e-c.width/2,y:l+r/2},{x:e-c.width/2,y:l-r/2+f},{x:e-x/2,y:l-r/2+f}],B.polygon(a,i,t)},h}async function tB(t,a,{config:{themeVariables:r,flowchart:i}}){let{labelStyles:n}=(0,e.u)(a);a.labelStyle=n;let o=Math.max(a.assetHeight??48,a.assetWidth??48);a.width=Math.max(o,i?.wrappingWidth??0);let{shapeSvg:h,bbox:c,halfPadding:g,label:y}=await u(t,a,"icon-shape default"),p="t"===a.pos,f=o+2*g,x=o+2*g,{nodeBorder:m,mainBkg:b}=r,{stylesMap:$}=(0,e.O)(a),k=8*!!a.label,M=d.f.svg(h),S=(0,e.z)(a,{});"handDrawn"!==a.look&&(S.roughness=0,S.fillStyle="solid"),S.stroke=$.get("fill")??b;let D=M.path(z(-x/2,-f/2,x,f,.1),S),v=Math.max(x,c.width),C=f+c.height+k,A=M.rectangle(-v/2,-C/2,v,C,{...S,fill:"transparent",stroke:"none"}),N=h.insert(()=>D,":first-child"),L=h.insert(()=>A);if(a.icon){let t=h.append("g");t.html(`<g>${await (0,l.v)(a.icon,{height:o,width:o,fallbackPrefix:""})}</g>`);let e=t.node().getBBox(),r=e.width,i=e.height,n=e.x,s=e.y;t.attr("transform",`translate(${-r/2-n},${p?c.height/2+k/2-i/2-s:-c.height/2-k/2-i/2-s})`),t.attr("style",`color: ${$.get("stroke")??m};`)}return y.attr("transform",`translate(${-c.width/2-(c.x-(c.left??0))},${p?-C/2:C/2-c.height})`),N.attr("transform",`translate(0,${p?c.height/2+k/2:-c.height/2-k/2})`),w(a,L),a.intersect=function(t){if(s.d.info("iconSquare intersect",a,t),!a.label)return B.rect(a,t);let e=a.x??0,l=a.y??0,r=a.height??0,i=[];return i=p?[{x:e-c.width/2,y:l-r/2},{x:e+c.width/2,y:l-r/2},{x:e+c.width/2,y:l-r/2+c.height+k},{x:e+x/2,y:l-r/2+c.height+k},{x:e+x/2,y:l+r/2},{x:e-x/2,y:l+r/2},{x:e-x/2,y:l-r/2+c.height+k},{x:e-c.width/2,y:l-r/2+c.height+k}]:[{x:e-x/2,y:l-r/2},{x:e+x/2,y:l-r/2},{x:e+x/2,y:l-r/2+f},{x:e+c.width/2,y:l-r/2+f},{x:e+c.width/2/2,y:l+r/2},{x:e-c.width/2,y:l+r/2},{x:e-c.width/2,y:l-r/2+f},{x:e-x/2,y:l-r/2+f}],B.polygon(a,i,t)},h}async function tz(t,a,{config:{flowchart:l}}){let r=new Image;r.src=a?.img??"",await r.decode();let i=Number(r.naturalWidth.toString().replace("px","")),n=Number(r.naturalHeight.toString().replace("px",""));a.imageAspectRatio=i/n;let{labelStyles:o}=(0,e.u)(a);a.labelStyle=o;let h=l?.wrappingWidth;a.defaultWidth=l?.wrappingWidth;let c=Math.max(a.label?h??0:0,a?.assetWidth??i),g="on"===a.constraint&&a?.assetHeight?a.assetHeight*a.imageAspectRatio:c,y="on"===a.constraint?g/a.imageAspectRatio:a?.assetHeight??n;a.width=Math.max(g,h??0);let{shapeSvg:p,bbox:f,label:x}=await u(t,a,"image-shape default"),m="t"===a.pos,b=-g/2,$=8*!!a.label,k=d.f.svg(p),M=(0,e.z)(a,{});"handDrawn"!==a.look&&(M.roughness=0,M.fillStyle="solid");let S=k.rectangle(b,-y/2,g,y,M),D=Math.max(g,f.width),v=y+f.height+$,C=k.rectangle(-D/2,-v/2,D,v,{...M,fill:"none",stroke:"none"}),A=p.insert(()=>S,":first-child"),N=p.insert(()=>C);if(a.img){let t=p.append("image");t.attr("href",a.img),t.attr("width",g),t.attr("height",y),t.attr("preserveAspectRatio","none"),t.attr("transform",`translate(${-g/2},${m?v/2-y:-v/2})`)}return x.attr("transform",`translate(${-f.width/2-(f.x-(f.left??0))},${m?-y/2-f.height/2-$/2:y/2-f.height/2+$/2})`),A.attr("transform",`translate(0,${m?f.height/2+$/2:-f.height/2-$/2})`),w(a,N),a.intersect=function(t){if(s.d.info("iconSquare intersect",a,t),!a.label)return B.rect(a,t);let e=a.x??0,l=a.y??0,r=a.height??0,i=[];return i=m?[{x:e-f.width/2,y:l-r/2},{x:e+f.width/2,y:l-r/2},{x:e+f.width/2,y:l-r/2+f.height+$},{x:e+g/2,y:l-r/2+f.height+$},{x:e+g/2,y:l+r/2},{x:e-g/2,y:l+r/2},{x:e-g/2,y:l-r/2+f.height+$},{x:e-f.width/2,y:l-r/2+f.height+$}]:[{x:e-g/2,y:l-r/2},{x:e+g/2,y:l-r/2},{x:e+g/2,y:l-r/2+y},{x:e+f.width/2,y:l-r/2+y},{x:e+f.width/2/2,y:l+r/2},{x:e-f.width/2,y:l+r/2},{x:e-f.width/2,y:l-r/2+y},{x:e-g/2,y:l-r/2+y}],B.polygon(a,i,t)},p}async function tL(t,a){let l,{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let n=a.padding??0,s="neo"===a.look?2*n:n,{shapeSvg:o,bbox:h}=await u(t,a,x(a)),c=Math.max(h.height+2*n,a.height??0),g=Math.max(h.width+2*s,(a.width??0)-c),y=[{x:0,y:0},{x:g,y:0},{x:g+3*c/6,y:-c},{x:-3*c/6,y:-c}],{cssStyles:p}=a;if("handDrawn"===a.look){let t=d.f.svg(o),r=(0,e.z)(a,{}),i=m(y),n=t.path(i,r);l=o.insert(()=>n,":first-child").attr("transform",`translate(${-g/2}, ${c/2})`),p&&l.attr("style",p)}else l=E(o,g,c,y);return i&&l.attr("style",i),a.width=g,a.height=c,w(a,l),a.intersect=function(t){return B.polygon(a,y,t)},o}async function tP(t,e){let{shapeSvg:a,bbox:l,label:r}=await u(t,e,"label"),i=a.insert("rect",":first-child");return i.attr("width",.1).attr("height",.1),a.attr("class","label edgeLabel"),r.attr("transform",`translate(${-(l.width/2)-(l.x-(l.left??0))}, ${-(l.height/2)-(l.y-(l.top??0))})`),w(e,i),e.intersect=function(t){return B.rect(e,t)},a}async function tI(t,a){let l,{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let n=a.padding??0,s="neo"===a.look?2*n:n,{shapeSvg:o,bbox:h}=await u(t,a,x(a)),c=Math.max(h.height+n,a.height??0),g=Math.max(h.width+s,(a.width??0)-c),y=[{x:0,y:0},{x:g+3*c/6,y:0},{x:g,y:-c},{x:-(3*c)/6,y:-c}],{cssStyles:p}=a;if("handDrawn"===a.look){let t=d.f.svg(o),r=(0,e.z)(a,{}),i=m(y),n=t.path(i,r);l=o.insert(()=>n,":first-child").attr("transform",`translate(${-g/2}, ${c/2})`),p&&l.attr("style",p)}else l=E(o,g,c,y);return i&&l.attr("style",i),a.width=g,a.height=c,w(a,l),a.intersect=function(t){return B.polygon(a,y,t)},o}async function tR(t,a){let l,{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let n=a.padding??0,s="neo"===a.look?2*n:n,{shapeSvg:o,bbox:h}=await u(t,a,x(a)),c=Math.max(h.height+n,a.height??0),g=Math.max(h.width+s,(a.width??0)-c),y=[{x:-3*c/6,y:0},{x:g,y:0},{x:g+3*c/6,y:-c},{x:0,y:-c}],{cssStyles:p}=a;if("handDrawn"===a.look){let t=d.f.svg(o),r=(0,e.z)(a,{}),i=m(y),n=t.path(i,r);l=o.insert(()=>n,":first-child").attr("transform",`translate(${-g/2}, ${c/2})`),p&&l.attr("style",p)}else l=E(o,g,c,y);return i&&l.attr("style",i),a.width=g,a.height=c,w(a,l),a.intersect=function(t){return B.polygon(a,y,t)},o}function tH(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.label="",a.labelStyle=l;let i=t.insert("g").attr("class",x(a)).attr("id",a.domId??a.id),{cssStyles:n}=a,o=Math.max(35,a?.width??0),h=Math.max(35,a?.height??0),c=[{x:o,y:0},{x:0,y:h+3.5},{x:o-14,y:h+3.5},{x:0,y:2*h},{x:o,y:h-3.5},{x:14,y:h-3.5}],g=d.f.svg(i),y=(0,e.z)(a,{});"handDrawn"!==a.look&&(y.roughness=0,y.fillStyle="solid");let p=m(c),u=g.path(p,y),f=i.insert(()=>u,":first-child");return f.attr("class","outer-path"),n&&"handDrawn"!==a.look&&f.selectAll("path").attr("style",n),r&&"handDrawn"!==a.look&&f.selectAll("path").attr("style",r),f.attr("transform",`translate(-${o/2},${-h})`),w(a,f),a.intersect=function(t){return s.d.info("lightningBolt intersect",a,t),B.polygon(a,c,t)},i}(0,o.p)(tD,"hexagon"),(0,o.p)(tv,"hourglass"),(0,o.p)(tC,"icon"),(0,o.p)(tA,"iconCircle"),(0,o.p)(tN,"iconRounded"),(0,o.p)(tB,"iconSquare"),(0,o.p)(tz,"imageSquare"),(0,o.p)(tL,"inv_trapezoid"),(0,o.p)(tP,"labelRect"),(0,o.p)(tI,"lean_left"),(0,o.p)(tR,"lean_right"),(0,o.p)(tH,"lightningBolt");var tT=(0,o.p)((t,e,a,l,r,i,n)=>`M${t},${e+i} a${r},${i} 0,0,0 ${a},0 a${r},${i} 0,0,0 ${-a},0 l0,${l} a${r},${i} 0,0,0 ${a},0 l0,${-l} M${t},${e+i+n} a${r},${i} 0,0,0 ${a},0`,"createCylinderPathD"),tW=(0,o.p)((t,e,a,l,r,i,n)=>`M${t},${e+i} M${t+a},${e+i} a${r},${i} 0,0,0 ${-a},0 l0,${l} a${r},${i} 0,0,0 ${a},0 l0,${-l} M${t},${e+i+n} a${r},${i} 0,0,0 ${a},0`,"createOuterCylinderPathD"),tj=(0,o.p)((t,e,a,l,r,i)=>`M${t-a/2},${-l/2} a${r},${i} 0,0,0 ${a},0`,"createInnerCylinderPathD");async function tE(t,a){let l,{labelStyles:r,nodeStyles:n}=(0,e.u)(a);a.labelStyle=r;let s=a.padding??0,o="neo"===a.look?16:s,h="neo"===a.look?24:s;if(a.width||a.height){let t=a.width??0;a.width=(a.width??0)-o,a.width<10&&(a.width=10),a.height=(a.height??0)-h-t/2/(2.5+t/50)*3,a.height<10&&(a.height=10)}let{shapeSvg:c,bbox:g,label:y}=await u(t,a,x(a)),p=(a?.width?a?.width:g.width)+2*o,f=p/2,m=f/(2.5+p/50),b=(a?.height?a?.height:g.height)+m+2*h,$=.1*b,{cssStyles:k}=a;if("handDrawn"===a.look){let t=d.f.svg(c),r=tW(0,0,p,b,f,m,$),i=tj(0,m,p,b,f,m),n=(0,e.z)(a,{}),s=t.path(r,n),o=t.path(i,n);c.insert(()=>o,":first-child").attr("class","line"),(l=c.insert(()=>s,":first-child")).attr("class","basic label-container"),k&&l.attr("style",k)}else{let t=tT(0,0,p,b,f,m,$);l=c.insert("path",":first-child").attr("d",t).attr("class","basic label-container outer-path").attr("style",(0,i.d)(k)).attr("style",n)}return l.attr("label-offset-y",m),l.attr("transform",`translate(${-p/2}, ${-(b/2+m)})`),w(a,l),y.attr("transform",`translate(${-(g.width/2)-(g.x-(g.left??0))}, ${-(g.height/2)+m-(g.y-(g.top??0))})`),a.intersect=function(t){let e=B.rect(a,t),l=e.x-(a.x??0);if(0!=f&&(Math.abs(l)<(a.width??0)/2||Math.abs(l)==(a.width??0)/2&&Math.abs(e.y-(a.y??0))>(a.height??0)/2-m)){let r=m*m*(1-l*l/(f*f));r>0&&(r=Math.sqrt(r)),r=m-r,t.y-(a.y??0)>0&&(r=-r),e.y+=r}return e},c}async function tq(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?16:i,s="neo"===a.look?12:i;if(a.width||a.height){let t=a.width;a.width=(t??0)*10/11-2*n,a.width<10&&(a.width=10),a.height=(a?.height??0)-2*s,a.height<10&&(a.height=10)}let{shapeSvg:o,bbox:h,label:c}=await u(t,a,x(a)),g=(a?.width?a?.width:h.width)+(n??0)*2,y=(a?.height?a?.height:h.height)+(s??0)*2,p="neo"===a.look?y/4:y/8,f=y+p,{cssStyles:m}=a,$=d.f.svg(o),k=(0,e.z)(a,{});"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let M=[{x:-g/2-g/2*.1,y:-f/2},{x:-g/2-g/2*.1,y:f/2},...b(-g/2-g/2*.1,f/2,g/2+g/2*.1,f/2,p,.8),{x:g/2+g/2*.1,y:-f/2},{x:-g/2-g/2*.1,y:-f/2},{x:-g/2,y:-f/2},{x:-g/2,y:f/2*1.1},{x:-g/2,y:-f/2}],S=$.polygon(M.map(t=>[t.x,t.y]),k),D=o.insert(()=>S,":first-child");return D.attr("class","basic label-container outer-path"),m&&"handDrawn"!==a.look&&D.selectAll("path").attr("style",m),r&&"handDrawn"!==a.look&&D.selectAll("path").attr("style",r),D.attr("transform",`translate(0,${-p/2})`),c.attr("transform",`translate(${-g/2+(a.padding??0)+g/2*.1/2-(h.x-(h.left??0))},${-y/2+(a.padding??0)-p-(h.y-(h.top??0))})`),w(a,D),a.intersect=function(t){return B.polygon(a,M,t)},o}(0,o.p)(tE,"linedCylinder"),(0,o.p)(tq,"linedWaveEdgedRect");var tZ={normal:"usecase-actor-shape usecase-actor-normal",hollow:"usecase-actor-hollow",awesome:"usecase-actor-awesome",icon:"usecase-actor-icon"},tO=Math.PI/3,tF=(0,o.p)((t,e)=>{let a=.6*e,l=.8*e,r=Math.cos(tO),i=-Math.sin(tO),n=-(a*i),s=t+a*r,o=l*r,h=l*i;return`M ${n-o} ${s-h} L ${n+o} ${s+h}`},"businessMarkerPathForCircle"),t_={normal:tF(-24,12),hollow:tF(-23,9),awesome:tF(-21,13),icon:"M 12 -8 L 26 -26"},tV=(0,o.p)((t,e,a)=>{let l=(e.x??0)-(e.left??0),r=(e.y??0)-(e.top??0);t.attr("transform",`translate(${-e.width/2-l},${a-e.height/2-r})`)},"positionLabel"),tX=(0,o.p)((t,a,l,r,i=!1)=>{if("handDrawn"===a.look){let n=d.f.svg(t).path(l,(0,e.z)(a,i?{fill:"none"}:{}));return t.insert(()=>n,":first-child").attr("class",r)}let n=t.append("path").attr("class",r).attr("d",l);return i&&n.attr("fill","none"),n},"appendActorPath"),tJ=(0,o.p)((t,a,l,r,i,n,s=!1)=>{if("handDrawn"===a.look){let o=d.f.svg(t).circle(l,r,2*i,(0,e.z)(a,s?{fill:"none"}:{}));return t.insert(()=>o,":first-child").attr("class",n)}let o=t.append("circle").attr("class",n).attr("cx",l).attr("cy",r).attr("r",i);return s&&o.attr("fill","none"),o},"appendActorCircle"),tG=(0,o.p)((t,e,a)=>{e.business&&t.append("path").attr("class","usecase-business-marker usecase-actor-business-marker").attr("d",t_[a]).attr("fill","none").attr("style","stroke: inherit !important; stroke-width: inherit !important")},"appendBusinessActorMarker");async function tQ(t,a,l,i){let s,o,{labelStyles:h,nodeStyles:d}=(0,e.u)(a);a.labelStyle=h;let c="icon"===l||void 0!==a.stereotype?{...a,icon:"icon"===l?void 0:a.icon,stereotype:void 0}:a,{shapeSvg:g,bbox:y,label:p}=await u(t,c,x(a,`usecase-actor-variant usecase-actor-${l}`)),m=a.accessibleName??a.label;m&&g.attr("role","img").attr("aria-label",m),p.attr("class","label actor-label usecase-actor-label");let{theme:b,themeVariables:$}=(0,n.z)();if((0,r.Z)(g,a.colorIndex,b,$.borderColorArray),a.stereotype){let t=await f(g,`\xab${a.stereotype}\xbb`,{labelStyle:h,useHtmlLabels:a.useHtmlLabels,padding:0,centerLabel:!0,width:a.wrappingWidth});s=t.label.attr("class","label usecase-stereotype"),o=t.bbox}let k=g.append("g").attr("class",`usecase-actor-glyph ${tZ[l]}`).attr("style",d||null);await i(k,a),tG(k,a,l);let M=a.padding??8,S=o?.height??0,D=80+y.height+(o?S+2:0),v=Math.max(56,y.width,o?.width??0)+2*M,C=D+2*M,A=-D/2;k.attr("transform",`translate(0,${A+36})`);let N=A+72+8;return s&&o&&(tV(s,o,N+=S/2),N+=S/2+2),tV(p,y,N+y.height/2),w(a,g.insert("rect",":first-child").attr("class","usecase-actor-outline").attr("x",-v/2).attr("y",-C/2).attr("width",v).attr("height",C).attr("opacity",0).attr("aria-hidden","true")),a.intersect=t=>B.rect(a,t),g}async function tU(t,e){return tQ(t,e,"normal",(t,e)=>{tX(t,e,"M 0 -12 C 6.627 -12 12 -17.373 12 -24 C 12 -30.627 6.627 -36 0 -36 C -6.627 -36 -12 -30.627 -12 -24 C -12 -17.373 -6.627 -12 0 -12 Z M 0 -12 V 8 M -17 -5 H 17 M 0 8 L -15 28 M 0 8 L 15 28","usecase-actor-stick")})}async function tK(t,e){return tQ(t,e,"awesome",(t,e)=>{tX(t,e,"M 0 -34 C 7.18 -34 13 -28.18 13 -21 C 13 -13.82 7.18 -8 0 -8 C -7.18 -8 -13 -13.82 -13 -21 C -13 -28.18 -7.18 -34 0 -34 Z M -24 25 C -24 7 -14 -3 0 -3 C 14 -3 24 7 24 25 C 24 28 21 30 18 30 H -18 C -21 30 -24 28 -24 25 Z","usecase-actor-awesome-silhouette")})}async function tY(t,e){return tQ(t,e,"hollow",(t,e)=>{tJ(t,e,0,-23,9,"usecase-actor-hollow-head",!0),tX(t,e,"M -22 -10 H 22 V 0 H 6 L 22 17 L 13 28 L 0 13 L -13 28 L -22 17 L -6 0 H -22 Z","usecase-actor-hollow-body",!0)})}(0,o.p)(tQ,"renderUsecaseActor"),(0,o.p)(tU,"usecaseActor"),(0,o.p)(tK,"usecaseActorAwesome"),(0,o.p)(tY,"usecaseActorHollow");var t0=(0,o.p)(async(t,a)=>{if("handDrawn"===a.look){let l=d.f.svg(t).rectangle(-26,-28,52,52,(0,e.z)(a,{}));t.insert(()=>l,":first-child").attr("class","usecase-actor-icon-frame")}else t.append("rect").attr("class","usecase-actor-icon-frame").attr("x",-26).attr("y",-28).attr("width",52).attr("height",52).attr("rx",4).attr("ry",4);let r=a.icon??"",i=await (0,l.d)(r.includes(":")?r:`fa:${r}`),n=await (0,l.v)(r,{height:42,width:42,fallbackPrefix:"fa"}),s=t.append("g").attr("class",`usecase-actor-icon-symbol${i?"":" usecase-actor-icon-fallback"}`).attr("aria-hidden","true").html(`<g>${n}</g>`),o=s.node()?.getBBox();o&&s.attr("transform",`translate(${-o.width/2-o.x},${-2-o.height/2-o.y})`)},"drawIconActor");async function t2(t,e){return tQ(t,e,"icon",t0)}(0,o.p)(t2,"usecaseActorIcon");var t1=(0,o.p)((t,e,a)=>{let l=(e.x??0)-(e.left??0),r=(e.y??0)-(e.top??0);t.attr("transform",`translate(${-e.width/2-l},${a-e.height/2-r})`)},"positionLabel");async function t5(t,a){let l,i,s,{labelStyles:o,nodeStyles:h}=(0,e.u)(a);a.labelStyle=o;let c=a.stereotype?{...a,stereotype:void 0}:a,{shapeSvg:g,bbox:y,halfPadding:p,label:m}=await u(t,c,x(a,"usecase-business-shape"));m.attr("class","label usecase-label");let{theme:b,themeVariables:$}=(0,n.z)();if((0,r.Z)(g,a.colorIndex,b,$.borderColorArray),a.stereotype){let t=await f(g,`\xab${a.stereotype}\xbb`,{labelStyle:o,useHtmlLabels:a.useHtmlLabels,padding:0,centerLabel:!0,width:a.wrappingWidth});l=t.label.attr("class","label usecase-stereotype"),i=t.bbox}let k=2*!!i,M=y.height+(i?.height??0)+k,S=Math.max(y.width,i?.width??0),D=p??10,v=S/2+2*D,C=M/2+2*D,A=Math.min(Math.max(D/5,1),D/2),N=S/2+A,z=v-A,L=N/v,P=z/v,I=C*Math.sqrt(Math.max(0,1-L*L)),R=-C*Math.sqrt(Math.max(0,1-P*P));if(l&&i&&t1(l,i,-M/2+i.height/2),t1(m,y,M/2-y.height/2),"handDrawn"===a.look){let t=d.f.svg(g).ellipse(0,0,2*v,2*C,(0,e.z)(a,{}));s=g.insert(()=>t,":first-child").attr("class","basic label-container usecase-business-ellipse")}else s=g.insert("ellipse",":first-child").attr("class","basic label-container usecase-business-ellipse").attr("style",h).attr("rx",v).attr("ry",C).attr("cx",0).attr("cy",0);g.append("path").attr("class","usecase-business-marker").attr("d",`M ${N} ${I} L ${z} ${R}`).attr("fill","none").attr("style",h||null);let H=a.accessibleName??a.label;return H&&g.attr("role","img").attr("aria-label",H),w(a,s),a.calcIntersect=(t,e)=>B.ellipse(t,t.width/2,t.height/2,e),a.intersect=t=>B.ellipse(a,v,C,t),g}(0,o.p)(t5,"usecaseBusiness");var t8=(0,o.p)((t,e,a,l)=>{let r=(e.x??0)-(e.left??0),i=(e.y??0)-(e.top??0);t.attr("transform",`translate(${a-e.width/2-r},${l-e.height/2-i})`)},"positionLabel"),t3=(0,o.p)(t=>{let e=Number.parseFloat(t??"");return Number.isFinite(e)&&e>=0?e:1},"numericStrokeWidth");async function t4(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a),{stylesMap:i}=(0,e.O)(a);a.labelStyle=l;let{shapeSvg:n,bbox:s,label:h}=await u(t,a,x(a,"usecase-json-table"));n.attr("role","img"),a.accessibleName&&n.attr("aria-label",a.accessibleName),h.attr("class","label usecase-json-title");let c=n.append("g").attr("class","usecase-json-table-grid"),g=[];for(let t of a.jsonRows??[]){let e=await f(c,t.key,{labelStyle:l,useHtmlLabels:a.useHtmlLabels,padding:0,centerLabel:!0}),r=await f(c,t.value,{labelStyle:l,useHtmlLabels:a.useHtmlLabels,padding:0,centerLabel:!0});g.push({key:{label:e.label.attr("class","label usecase-json-key"),bbox:e.bbox},value:{label:r.label.attr("class","label usecase-json-value"),bbox:r.bbox}})}let y=Math.max(0,...g.map(({key:t})=>t.bbox.width))+16,p=Math.max(0,...g.map(({value:t})=>t.bbox.width))+16,m=Math.max(s.width+16,y+p),b=p+Math.max(0,m-y-p),$=s.height+8,k=g.map(({key:t,value:e})=>Math.max(t.bbox.height,e.bbox.height)+8),M=$+k.reduce((t,e)=>t+e,0),S=t3(i.get("stroke-width")),D=m+2*S,v=M+2*S,C=-m/2,A=-M/2,N="handDrawn"===a.look?d.f.svg(n):void 0,z=N?(0,e.z)(a,{}):void 0,L=(0,o.p)((t,e,a,l,i,n)=>{if(N&&z){let r=N.rectangle(a,l,i,n,z);return t.insert(()=>r,":first-child").attr("class",e)}return t.insert("rect",":first-child").attr("class",e).attr("x",a).attr("y",l).attr("width",i).attr("height",n).attr("style",r)},"insertCell"),P=L(n,"label-container usecase-json-border",-D/2,-v/2,D,v);L(c,"usecase-json-cell usecase-json-title-cell",C,A,m,$),c.node()?.append(h.node()),t8(h,s,0,A+$/2);let I=A+$;return g.forEach(({key:t,value:e},a)=>{let l=k[a],r=c.append("g").attr("class","usecase-json-row").attr("data-row-index",a).attr("transform",`translate(0,${I})`);L(r,"usecase-json-cell usecase-json-key-cell",C,0,y,l),L(r,"usecase-json-cell usecase-json-value-cell",C+y,0,b,l),r.node()?.append(t.label.node(),e.label.node()),t8(t.label,t.bbox,C+y/2,l/2),t8(e.label,e.bbox,C+y+b/2,l/2),I+=l}),w(a,P),a.intersect=t=>B.rect(a,t),n}async function t6(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?16:i,s="neo"===a.look?12:i,o="neo"===a.look?10:5;(a.width||a.height)&&(a.width=Math.max((a?.width??0)-2*n-2*o,10),a.height=Math.max((a?.height??0)-2*s-2*o,10));let{shapeSvg:h,bbox:c,label:g}=await u(t,a,x(a)),y=(a?.width?a?.width:c.width)+2*n+2*o,p=(a?.height?a?.height:c.height)+2*s+2*o,f=y-2*o,b=p-2*o,$=-f/2,M=-b/2,{cssStyles:S}=a,D=d.f.svg(h),v=(0,e.z)(a,{}),C=[{x:$-o,y:M+o},{x:$-o,y:M+b+o},{x:$+f-o,y:M+b+o},{x:$+f-o,y:M+b},{x:$+f,y:M+b},{x:$+f,y:M+b-o},{x:$+f+o,y:M+b-o},{x:$+f+o,y:M-o},{x:$+o,y:M-o},{x:$+o,y:M},{x:$,y:M},{x:$,y:M+o}];"handDrawn"!==a.look&&(v.roughness=0,v.fillStyle="solid");let A=m(C),N=D.path(A,v),z=m([{x:$,y:M+o},{x:$+f-o,y:M+o},{x:$+f-o,y:M+b},{x:$+f,y:M+b},{x:$+f,y:M},{x:$,y:M}]),L=D.path(z,v);"handDrawn"!==a.look&&(N=k(N),L=k(L));let P=h.insert("g",":first-child");return P.insert(()=>N),P.insert(()=>L),P.attr("class","basic label-container outer-path"),S&&"handDrawn"!==a.look&&P.selectAll("path").attr("style",S),r&&"handDrawn"!==a.look&&P.selectAll("path").attr("style",r),g.attr("transform",`translate(${-(c.width/2)-o-(c.x-(c.left??0))}, ${-(c.height/2)+o-(c.y-(c.top??0))})`),w(a,P),a.intersect=function(t){return B.polygon(a,C,t)},h}async function t7(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let{shapeSvg:i,bbox:n,label:s}=await u(t,a,x(a)),o=a.padding??0,h="neo"===a.look?16:o,c="neo"===a.look?12:o,g=!0;(a.width||a.height)&&(g=!1,a.width=(a?.width??0)-2*h,a.height=(a?.height??0)-3*c);let y=Math.max(n.width,a?.width??0)+2*h,p=Math.max(n.height,a?.height??0)+3*c,f="neo"===a.look?p/4:p/8,$=p+(g?f/2:-f/2),k=-y/2,M=-$/2,{cssStyles:S}=a,D=b(k-10,M+$+10,k+y-10,M+$+10,f,.8),v=D?.[D.length-1],C=[{x:k-10,y:M+10},{x:k-10,y:M+$+10},...D,{x:k+y-10,y:v.y-10},{x:k+y,y:v.y-10},{x:k+y,y:v.y-20},{x:k+y+10,y:v.y-20},{x:k+y+10,y:M-10},{x:k+10,y:M-10},{x:k+10,y:M},{x:k,y:M},{x:k,y:M+10}],A=[{x:k,y:M+10},{x:k+y-10,y:M+10},{x:k+y-10,y:v.y-10},{x:k+y,y:v.y-10},{x:k+y,y:M},{x:k,y:M}],N=d.f.svg(i),z=(0,e.z)(a,{});"handDrawn"!==a.look&&(z.roughness=0,z.fillStyle="solid");let L=m(C),P=N.path(L,z),I=m(A),R=N.path(I,z),H=i.insert(()=>P,":first-child");return H.insert(()=>R),H.attr("class","basic label-container outer-path"),S&&"handDrawn"!==a.look&&H.selectAll("path").attr("style",S),r&&"handDrawn"!==a.look&&H.selectAll("path").attr("style",r),H.attr("transform",`translate(0,${-f/2})`),s.attr("transform",`translate(${-(n.width/2)-10-(n.x-(n.left??0))}, ${-(n.height/2)+10-f-(n.y-(n.top??0))})`),w(a,H),a.intersect=function(t){return B.polygon(a,C,t)},i}async function t9(t,a,{config:{themeVariables:l}}){let{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r,a.useHtmlLabels||(0,n.o)((0,n.N)())||(a.centerLabel=!0);let{shapeSvg:s,bbox:o,label:h}=await u(t,a,x(a)),c=Math.max(o.width+(a.padding??0)*2,a?.width??0),g=Math.max(o.height+(a.padding??0)*2,a?.height??0),{cssStyles:y}=a,p=d.f.svg(s),f=(0,e.z)(a,{fill:l.noteBkgColor,stroke:l.noteBorderColor});"handDrawn"!==a.look&&(f.roughness=0,f.fillStyle="solid");let m=p.rectangle(-c/2,-g/2,c,g,f),b=s.insert(()=>m,":first-child");return b.attr("class","basic label-container outer-path"),h.attr("class","label noteLabel"),y&&"handDrawn"!==a.look&&b.selectAll("path").attr("style",y),i&&"handDrawn"!==a.look&&b.selectAll("path").attr("style",i),h.attr("transform",`translate(${-o.width/2-(o.x-(o.left??0))}, ${-(o.height/2)-(o.y-(o.top??0))})`),w(a,b),a.intersect=function(t){return B.rect(a,t)},s}(0,o.p)(t4,"usecaseJsonTable"),(0,o.p)(t6,"multiRect"),(0,o.p)(t7,"multiWaveEdgedRectangle"),(0,o.p)(t9,"note");var et=(0,o.p)((t,e,a)=>`M${t+a/2},${e} L${t+a},${e-a/2} L${t+a/2},${e-a} L${t},${e-a/2} Z`,"createDecisionBoxPathD");async function ee(t,a){let l,{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let{shapeSvg:n,bbox:s}=await u(t,a,x(a)),o=s.width+(a.padding??0)+(s.height+(a.padding??0)),h=[{x:o/2,y:0},{x:o,y:-o/2},{x:o/2,y:-o},{x:0,y:-o/2}],{cssStyles:c}=a;if("handDrawn"===a.look){let t=d.f.svg(n),r=(0,e.z)(a,{}),i=et(0,0,o),s=t.path(i,r);l=n.insert(()=>s,":first-child").attr("transform",`translate(${-o/2+.5}, ${o/2})`),c&&l.attr("style",c)}else(l=E(n,o,o,h)).attr("transform",`translate(${-o/2+.5}, ${o/2})`);return i&&l.attr("style",i),w(a,l),a.calcIntersect=function(t,e){let a=t.width;return B.polygon(t,[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}],e)},a.intersect=function(t){return this.calcIntersect(a,t)},n}async function ea(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?21:i??0,s="neo"===a.look?12:i??0,{shapeSvg:o,bbox:h,label:c}=await u(t,a,x(a)),g=h.width+("neo"===a.look?2*n:n),y=Math.max(h.height+("neo"===a.look?2*s:s),a.height??0),p=-Math.max(g,(a.width??0)-y/4)/2,f=-y/2,b=f/2,$=[{x:p+b,y:f},{x:p,y:0},{x:p+b,y:-f},{x:-p,y:-f},{x:-p,y:f}],{cssStyles:k}=a,M=d.f.svg(o),S=(0,e.z)(a,{});"handDrawn"!==a.look&&(S.roughness=0,S.fillStyle="solid");let D=m($),v=M.path(D,S),C=o.insert(()=>v,":first-child");return C.attr("class","basic label-container outer-path"),k&&"handDrawn"!==a.look&&C.selectAll("path").attr("style",k),r&&"handDrawn"!==a.look&&C.selectAll("path").attr("style",r),C.attr("transform",`translate(${-b/2},0)`),c.attr("transform",`translate(${-b/2-h.width/2-(h.x-(h.left??0))}, ${-(h.height/2)-(h.y-(h.top??0))})`),w(a,C),a.intersect=function(t){return B.polygon(a,$,t)},o}async function el(t,a){let l,r,i,{labelStyles:o,nodeStyles:c}=(0,e.u)(a);a.labelStyle=o,l=a.cssClasses?"node "+a.cssClasses:"node default";let g=t.insert("g").attr("class",l).attr("id",a.domId||a.id),y=g.insert("g"),p=g.insert("g").attr("class","label").attr("style",c),u=a.description,f=a.label,x=await L(p,f,a.labelStyle,!0,!0),m={width:0,height:0};if((0,n.o)((0,n.z)())){let t=x.children[0],e=(0,h.f)(x);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}s.d.info("Text 2",u);let b=u||[],$=x.getBBox(),k=await L(p,Array.isArray(b)?b.join("<br/>"):b,a.labelStyle,!0,!0),M=k.children[0],S=(0,h.f)(k);m=M.getBoundingClientRect(),S.attr("width",m.width),S.attr("height",m.height);let D=(a.padding||0)/2;(0,h.f)(k).attr("transform","translate( "+(m.width>$.width?0:($.width-m.width)/2)+", "+($.height+D+5)+")"),(0,h.f)(x).attr("transform","translate( "+(m.width<$.width?0:-($.width-m.width)/2)+", 0)"),m=p.node().getBBox(),p.attr("transform","translate("+-m.width/2+", "+(-m.height/2-D+3)+")");let v=m.width+(a.padding||0),C=m.height+(a.padding||0),A=-m.width/2-D,N=-m.height/2-D;if("handDrawn"===a.look){let t=d.f.svg(g),l=(0,e.z)(a,{}),n=t.path(z(A,N,v,C,a.rx||0),l),o=t.line(-m.width/2-D,-m.height/2-D+$.height+D,m.width/2+D,-m.height/2-D+$.height+D,l);i=g.insert(()=>(s.d.debug("Rough node insert CXC",n),o),":first-child"),r=g.insert(()=>(s.d.debug("Rough node insert CXC",n),n),":first-child")}else r=y.insert("rect",":first-child"),i=y.insert("line"),r.attr("class","outer title-state").attr("style",c).attr("x",-m.width/2-D).attr("y",-m.height/2-D).attr("width",m.width+(a.padding||0)).attr("height",m.height+(a.padding||0)),i.attr("class","divider").attr("x1",-m.width/2-D).attr("x2",m.width/2+D).attr("y1",-m.height/2-D+$.height+D).attr("y2",-m.height/2-D+$.height+D);return w(a,r),a.intersect=function(t){return B.rect(a,t)},g}async function er(t,e,{config:{themeVariables:a}}){let l=a?.radius??5,r={rx:l,ry:l,classes:"",labelPaddingX:(e?.padding??0)*1,labelPaddingY:(e?.padding??0)*1};return tp(t,e,r)}async function ei(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let n="neo"===a.look?16:a.padding??0,s="neo"===a.look?12:a.padding??0,{shapeSvg:o,bbox:h,label:c}=await u(t,a,x(a)),g=(a?.width??h.width)+2*n+("neo"===a.look?8:16),y=(a?.height??h.height)+2*s,p=g-8,f=8-g/2,m=-y/2,{cssStyles:b}=a,$=d.f.svg(o),k=(0,e.z)(a,{});"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let M=$.polygon([{x:f,y:m},{x:f+p,y:m},{x:f+p,y:m+y},{x:f-8,y:m+y},{x:f-8,y:m},{x:f,y:m},{x:f,y:m+y}].map(t=>[t.x,t.y]),k),S=o.insert(()=>M,":first-child");return S.attr("class","basic label-container outer-path").attr("style",(0,i.d)(b)),r&&"handDrawn"!==a.look&&S.selectAll("path").attr("style",r),b&&"handDrawn"!==a.look&&S.selectAll("path").attr("style",r),c.attr("transform",`translate(${4-h.width/2-(h.x-(h.left??0))}, ${-(h.height/2)-(h.y-(h.top??0))})`),w(a,S),a.intersect=function(t){return B.rect(a,t)},o}async function en(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?16:i,s="neo"===a.look?12:i;(a.width||a.height)&&(a.width=Math.max((a?.width??0)-2*n,10),a.height=Math.max((a?.height??0)/1.5-2*s,10));let{shapeSvg:o,bbox:h,label:c}=await u(t,a,x(a)),g=(a?.width?a?.width:h.width)+2*n,y=((a?.height?a?.height:h.height)+2*s)*1.5/1.5,p=-g/2,f=-y/2,{cssStyles:b}=a,$=d.f.svg(o),k=(0,e.z)(a,{});"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let M=[{x:p,y:f},{x:p,y:f+y},{x:p+g,y:f+y},{x:p+g,y:f-y/2}],S=m(M),D=$.path(S,k),v=o.insert(()=>D,":first-child");return v.attr("class","basic label-container outer-path"),b&&"handDrawn"!==a.look&&v.selectChildren("path").attr("style",b),r&&"handDrawn"!==a.look&&v.selectChildren("path").attr("style",r),v.attr("transform",`translate(0, ${y/4})`),c.attr("transform",`translate(${-g/2+(a.padding??0)-(h.x-(h.left??0))}, ${-y/4+(a.padding??0)-(h.y-(h.top??0))})`),w(a,v),a.intersect=function(t){return B.polygon(a,M,t)},o}async function es(t,e){let a=e.padding??0,l="neo"===e.look?16:2*a,i="neo"===e.look?12:a,s={rx:0,ry:0,classes:"",labelPaddingX:e.labelPaddingX??l,labelPaddingY:i},o=await tp(t,e,s);if(void 0!==e.colorIndex){let{theme:t,themeVariables:a}=(0,n.z)();(0,r.Z)(o,e.colorIndex,t,a.borderColorArray)}return o}(0,o.p)(ee,"question"),(0,o.p)(ea,"rect_left_inv_arrow"),(0,o.p)(el,"rectWithTitle"),(0,o.p)(er,"roundedRect"),(0,o.p)(ei,"shadedProcess"),(0,o.p)(en,"slopedRect"),(0,o.p)(es,"squareRect");var eo=(0,o.p)((t,e,a)=>{let l=t.height+a,r=l*Math.cos(Math.PI/98),i=Math.sqrt(Math.max(0,r**2-t.height**2));return{w:Math.max(t.width+l/4+e,1.5*l+(l-r),t.width+e+l-i),h:l}},"stadiumDimensions");async function eh(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?40:i,s="neo"===a.look?24:i,{shapeSvg:o,bbox:h}=await u(t,a,x(a)),{w:c,h:g}=eo(h,n,s),y=g/2,{cssStyles:p}=a,f=d.f.svg(o),b=(0,e.z)(a,{});"handDrawn"!==a.look&&(b.roughness=0,b.fillStyle="solid");let k=[{x:-c/2+y,y:-g/2},{x:c/2-y,y:-g/2},...$(-c/2+y,0,y,50,90,270),{x:c/2-y,y:g/2},...$(c/2-y,0,y,50,270,450)],M=m(k),S=f.path(M,b),D=o.insert(()=>S,":first-child");return D.attr("class","basic label-container outer-path"),p&&"handDrawn"!==a.look&&D.selectChildren("path").attr("style",p),r&&"handDrawn"!==a.look&&D.selectChildren("path").attr("style",r),w(a,D),a.intersect=function(t){return B.polygon(a,k,t)},o}async function ed(t,e){let a={rx:"neo"===e.look?3:5,ry:"neo"===e.look?3:5,classes:"flowchart-node"};return tp(t,e,a)}function ec(t,a,{config:{themeVariables:l}}){let{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let{cssStyles:n}=a,{lineColor:s,stateBorder:o,nodeBorder:h,nodeShadow:c}=l;(a.width||a.height)&&((a.width??0)<14&&(a.width=14),(a.height??0)<14&&(a.height=14)),a.width||(a.width=14),a.height||(a.height=14);let g=t.insert("g").attr("class","node default").attr("id",a.domId??a.id),y=d.f.svg(g),p=(0,e.z)(a,{});"handDrawn"!==a.look&&(p.roughness=0,p.fillStyle="solid");let u=y.circle(0,0,a.width,{...p,stroke:s,strokeWidth:2}),f=o??h,x=(a.width??0)*5/14,m=y.circle(0,0,x,{...p,fill:f,stroke:f,strokeWidth:2,fillStyle:"solid"}),b=g.insert(()=>u,":first-child");if(b.insert(()=>m),"handDrawn"!==a.look&&b.attr("class","outer-path"),n&&b.selectAll("path").attr("style",n),i&&b.selectAll("path").attr("style",i),a.width<25&&c&&"handDrawn"!==a.look){let e=t.node()?.ownerSVGElement?.id??"",a=e?`${e}-drop-shadow-small`:"drop-shadow-small";b.attr("style",`filter:url(#${a})`)}return w(a,b),a.intersect=function(t){return B.circle(a,(a.width??0)/2,t)},g}function eg(t,a,{config:{themeVariables:l}}){let r,{lineColor:i,nodeShadow:n}=l;(a.width||a.height)&&((a.width??0)<14&&(a.width=14),(a.height??0)<14&&(a.height=14)),a.width||(a.width=14),a.height||(a.height=14);let s=t.insert("g").attr("class","node default").attr("id",a.domId||a.id);if("handDrawn"===a.look){let t=d.f.svg(s).circle(0,0,a.width,(0,e.p)(i));(r=s.insert(()=>t)).attr("class","state-start").attr("r",(a.width??7)/2).attr("width",a.width??14).attr("height",a.height??14)}else(r=s.insert("circle",":first-child")).attr("class","state-start").attr("r",(a.width??7)/2).attr("width",a.width??14).attr("height",a.height??14);if(a.width<25&&n&&"handDrawn"!==a.look){let e=t.node()?.ownerSVGElement?.id??"",a=e?`${e}-drop-shadow-small`:"drop-shadow-small";r.attr("style",`filter:url(#${a})`)}return w(a,r),a.intersect=function(t){return B.circle(a,(a.width??7)/2,t)},s}async function ey(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let n=a?.padding??8,s="neo"===a.look?28:n,o="neo"===a.look?12:n,{shapeSvg:h,bbox:c}=await u(t,a,x(a)),g=Math.max(c.width+16+s,a.width??0),y=Math.max(c.height+o,a.height??0),p=g-16,f=-g/2,m=-y/2,b=[{x:0,y:0},{x:p,y:0},{x:p,y:-y},{x:0,y:-y},{x:0,y:0},{x:-8,y:0},{x:p+8,y:0},{x:p+8,y:-y},{x:-8,y:-y},{x:-8,y:0}];if("handDrawn"===a.look){let t=d.f.svg(h),l=(0,e.z)(a,{}),r=t.rectangle(f,m,p+16,y,l),n=t.line(f+8,m,f+8,m+y,l),s=t.line(f+8+p,m,f+8+p,m+y,l);h.insert(()=>n,":first-child"),h.insert(()=>s,":first-child");let o=h.insert(()=>r,":first-child"),{cssStyles:c}=a;o.attr("class","basic label-container").attr("style",(0,i.d)(c)),w(a,o)}else{let t=E(h,p,y,b);r&&t.attr("style",r),w(a,t)}return a.intersect=function(t){return B.polygon(a,b,t)},h}async function ep(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?16:i,s="neo"===a.look?12:i;(a.width||a.height)&&(a.height=Math.max((a?.height??0)-2*s,10),a.width=Math.max((a?.width??0)-2*n-.2*(a.height+2*s),10));let{shapeSvg:o,bbox:h}=await u(t,a,x(a)),c=(a?.height?a?.height:h.height)+2*s,g=.2*c,y=(a?.width?a?.width:h.width)+2*n+g-g,p=-y/2,f=-c/2,{cssStyles:b}=a,$=d.f.svg(o),k=(0,e.z)(a,{}),M=[{x:p-g/2,y:f},{x:p+y+g/2,y:f},{x:p+y+g/2,y:f+c},{x:p-g/2,y:f+c}];"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let S=m(M),D=$.path(S,k),v=m([{x:p+y-g/2,y:f+c},{x:p+y+g/2,y:f+c},{x:p+y+g/2,y:f+c-.2*c}]),C=$.path(v,{...k,fillStyle:"solid"}),A=o.insert(()=>C,":first-child");return A.insert(()=>D,":first-child"),A.attr("class","basic label-container outer-path"),b&&"handDrawn"!==a.look&&A.selectAll("path").attr("style",b),r&&"handDrawn"!==a.look&&A.selectAll("path").attr("style",r),w(a,A),a.intersect=function(t){return B.polygon(a,M,t)},o}async function eu(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let{shapeSvg:i,bbox:n,label:s}=await u(t,a,x(a)),o=Math.max(n.width+(a.padding??0)*2,a?.width??0),h=Math.max(n.height+(a.padding??0)*2,a?.height??0),c=h/8,g=.2*o,y=.2*h,p=h+c,{cssStyles:f}=a,$=d.f.svg(i),k=(0,e.z)(a,{});"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let M=[{x:-o/2-o/2*.1,y:p/2},...b(-o/2-o/2*.1,p/2,o/2+o/2*.1,p/2,c,.8),{x:o/2+o/2*.1,y:-p/2},{x:-o/2-o/2*.1,y:-p/2}],S=-o/2+o/2*.1,D=-p/2-.4*y,v=[{x:S+o-g,y:(D+h)*1.3},{x:S+o,y:D+h-y},{x:S+o,y:(D+h)*.9},...b(S+o,(D+h)*1.25,S+o-g,(D+h)*1.3,-(.02*h),.5)],C=m(M),A=$.path(C,k),N=m(v),z=$.path(N,{...k,fillStyle:"solid"}),L=i.insert(()=>z,":first-child");return L.insert(()=>A,":first-child"),L.attr("class","basic label-container outer-path"),f&&"handDrawn"!==a.look&&L.selectAll("path").attr("style",f),r&&"handDrawn"!==a.look&&L.selectAll("path").attr("style",r),L.attr("transform",`translate(0,${-c/2})`),s.attr("transform",`translate(${-o/2+(a.padding??0)-(n.x-(n.left??0))},${-h/2+(a.padding??0)-c/2-(n.y-(n.top??0))})`),w(a,L),a.intersect=function(t){return B.polygon(a,M,t)},i}async function ef(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let{shapeSvg:i,bbox:n}=await u(t,a,x(a)),s=Math.max(n.width+(a.padding??0),a?.width||0),o=Math.max(n.height+(a.padding??0),a?.height||0),h=i.insert("rect",":first-child");return h.attr("class","text").attr("style",r).attr("rx",0).attr("ry",0).attr("x",-s/2).attr("y",-o/2).attr("width",s).attr("height",o),w(a,h),a.intersect=function(t){return B.rect(a,t)},i}(0,o.p)(eh,"stadium"),(0,o.p)(ed,"state"),(0,o.p)(ec,"stateEnd"),(0,o.p)(eg,"stateStart"),(0,o.p)(ey,"subroutine"),(0,o.p)(ep,"taggedRect"),(0,o.p)(eu,"taggedWaveEdgedRectangle"),(0,o.p)(ef,"text");var ew=(0,o.p)((t,e,a,l,r,i)=>`M${t},${e}
3
+ a${r},${i} 0,0,1 0,${-l}
4
+ l${a},0
5
+ a${r},${i} 0,0,1 0,${l}
6
+ M${a},${-l}
7
+ a${r},${i} 0,0,0 0,${l}
8
+ l${-a},0`,"createCylinderPathD"),ex=(0,o.p)((t,e,a,l,r,i)=>`M${t},${e} M${t+a},${e} a${r},${i} 0,0,0 0,${-l} l${-a},0 a${r},${i} 0,0,0 0,${l} l${a},0`,"createOuterCylinderPathD"),em=(0,o.p)((t,e,a,l,r,i)=>`M${t+a/2},${-l/2} a${r},${i} 0,0,0 0,${l}`,"createInnerCylinderPathD");async function eb(t,a){let l,{labelStyles:r,nodeStyles:n}=(0,e.u)(a);a.labelStyle=r;let s=a.padding??0,o="neo"===a.look?12:s/2,h=a.height??0;a.height&&(a.height=a.height-o,a.height<5&&(a.height=5)),a.width&&(a.width=a.width-o-h/2/(2.5+h/50)*3,a.width<10&&(a.width=10));let{shapeSvg:c,bbox:g,label:y}=await u(t,a,x(a)),p=Math.max(a.height??0,g.height)+o,f=p/2,m=f/(2.5+p/50),b=Math.max(a.width??0,g.width)+m+o,{cssStyles:$}=a;if("handDrawn"===a.look){let t=d.f.svg(c),r=ex(0,0,b,p,m,f),i=em(0,0,b,p,m,f),n=t.path(r,(0,e.z)(a,{})),s=t.path(i,(0,e.z)(a,{fill:"none"}));l=c.insert(()=>s,":first-child"),(l=c.insert(()=>n,":first-child")).attr("class","basic label-container"),$&&l.attr("style",$)}else{let t=ew(0,0,b,p,m,f);(l=c.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,i.d)($)).attr("style",n)).attr("class","basic label-container outer-path"),$&&l.selectAll("path").attr("style",$),n&&l.selectAll("path").attr("style",n)}return l.attr("label-offset-x",m),l.attr("transform",`translate(${-b/2}, ${p/2} )`),y.attr("transform",`translate(${-(g.width/2)-m-(g.x-(g.left??0))}, ${-(g.height/2)-(g.y-(g.top??0))})`),w(a,l),a.intersect=function(t){let e=B.rect(a,t),l=e.y-(a.y??0);if(0!=f&&(Math.abs(l)<(a.height??0)/2||Math.abs(l)==(a.height??0)/2&&Math.abs(e.x-(a.x??0))>(a.width??0)/2-m)){let r=m*m*(1-l*l/(f*f));0!=r&&(r=Math.sqrt(Math.abs(r))),r=m-r,t.x-(a.x??0)>0&&(r=-r),e.x+=r}return e},c}async function e$(t,a){let l,{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let n=a.padding??0,s=(a.look,n),o="neo"===a.look?2*n:n,{shapeSvg:h,bbox:c}=await u(t,a,x(a)),g=Math.max(c.height+s,a.height??0),y=Math.max(c.width+o,(a.width??0)-g),p=[{x:-3*g/6,y:0},{x:y+3*g/6,y:0},{x:y,y:-g},{x:0,y:-g}],{cssStyles:f}=a;if("handDrawn"===a.look){let t=d.f.svg(h),r=(0,e.z)(a,{}),i=m(p),n=t.path(i,r);l=h.insert(()=>n,":first-child").attr("transform",`translate(${-y/2}, ${g/2})`),f&&l.attr("style",f)}else l=E(h,y,g,p);return i&&l.attr("style",i),a.width=y,a.height=g,w(a,l),a.intersect=function(t){return B.polygon(a,p,t)},h}async function ek(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?16:i,s="neo"===a.look?12:i;(a.width||a.height)&&(a.height=(a.height??0)-2*s,a.height<5&&(a.height=5),a.width=(a.width??0)-2*n,a.width<15&&(a.width=15));let{shapeSvg:o,bbox:h}=await u(t,a,x(a)),c=(a?.width?a?.width:h.width)+2*n,g=(a?.height?a?.height:h.height)+2*s,{cssStyles:y}=a,p=d.f.svg(o),f=(0,e.z)(a,{});"handDrawn"!==a.look&&(f.roughness=0,f.fillStyle="solid");let b=[{x:-c/2*.8,y:-g/2},{x:c/2*.8,y:-g/2},{x:c/2,y:-g/2*.6},{x:c/2,y:g/2},{x:-c/2,y:g/2},{x:-c/2,y:-g/2*.6}],$=m(b),k=p.path($,f),M=o.insert(()=>k,":first-child");return M.attr("class","basic label-container outer-path"),y&&"handDrawn"!==a.look&&M.selectChildren("path").attr("style",y),r&&"handDrawn"!==a.look&&M.selectChildren("path").attr("style",r),w(a,M),a.intersect=function(t){return B.polygon(a,b,t)},o}async function eM(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,o="neo"===a.look?2*i:i;(a.width||a.height)&&(a.width=((a?.width??0)-o)/2,a.width<10&&(a.width=10),a.height=a?.height??0,a.height<10&&(a.height=10));let{shapeSvg:h,bbox:c,label:g}=await u(t,a,x(a)),y=(0,n.i)((0,n.z)().flowchart?.htmlLabels),p=(a?.width?a?.width:c.width)+o,f=a?.height?a?.height:p+c.height,b=[{x:0,y:0},{x:f,y:0},{x:f/2,y:-f}],{cssStyles:$}=a,k=d.f.svg(h),M=(0,e.z)(a,{});"handDrawn"!==a.look&&(M.roughness=0,M.fillStyle="solid");let S=m(b),D=k.path(S,M),v=h.insert(()=>D,":first-child").attr("transform",`translate(${-f/2}, ${f/2})`).attr("class","outer-path");return $&&"handDrawn"!==a.look&&v.selectChildren("path").attr("style",$),r&&"handDrawn"!==a.look&&v.selectChildren("path").attr("style",r),a.width=p,a.height=f,w(a,v),g.attr("transform",`translate(${-c.width/2-(c.x-(c.left??0))}, ${f/2-(c.height+(a.padding??0)/(y?2:1)-(c.y-(c.top??0)))})`),a.intersect=function(t){return s.d.info("Triangle intersect",a,b,t),B.polygon(a,b,t)},h}async function eS(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?16:i,s="neo"===a.look?12:i,o=!0;(a.width||a.height)&&(o=!1,a.width=(a?.width??0)-2*n,a.width<10&&(a.width=10),a.height=(a?.height??0)-2*s,a.height<10&&(a.height=10));let{shapeSvg:h,bbox:c,label:g}=await u(t,a,x(a)),y=(a?.width?a?.width:c.width)+(n??0)*2,p=(a?.height?a?.height:c.height)+(s??0)*2,f="neo"===a.look?p/4:p/8,$=p+(o?f:-f),{cssStyles:k}=a,M=14-y,S=M>0?M/2:0,D=d.f.svg(h),v=(0,e.z)(a,{});"handDrawn"!==a.look&&(v.roughness=0,v.fillStyle="solid");let C=[{x:-y/2-S,y:$/2},...b(-y/2-S,$/2,y/2+S,$/2,f,.8),{x:y/2+S,y:-$/2},{x:-y/2-S,y:-$/2}],A=m(C),N=D.path(A,v),z=h.insert(()=>N,":first-child");return z.attr("class","basic label-container outer-path"),k&&"handDrawn"!==a.look&&z.selectAll("path").attr("style",k),r&&"handDrawn"!==a.look&&z.selectAll("path").attr("style",r),z.attr("transform",`translate(0,${-f/2})`),g.attr("transform",`translate(${-y/2+(a.padding??0)-(c.x-(c.left??0))},${-p/2+(a.padding??0)-f-(c.y-(c.top??0))})`),w(a,z),a.intersect=function(t){return B.polygon(a,C,t)},h}async function eD(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i=a.padding??0,n="neo"===a.look?16:i,s="neo"===a.look?20:i;if(a.width||a.height){a.width=a?.width??0,a.width<20&&(a.width=20),a.height=a?.height??0,a.height<10&&(a.height=10);let t=Math.min(.2*a.height,a.height/4);a.height=Math.ceil(a.height-s-20/9*t),a.width=a.width-2*n}let{shapeSvg:o,bbox:h}=await u(t,a,x(a)),c=(a?.width?a?.width:h.width)+2*n,g=(a?.height?a?.height:h.height)+s,y=g/8,p=g+2*y,{cssStyles:f}=a,$=d.f.svg(o),k=(0,e.z)(a,{});"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let M=[{x:-c/2,y:p/2},...b(-c/2,p/2,c/2,p/2,y,1),{x:c/2,y:-p/2},...b(c/2,-p/2,-c/2,-p/2,y,-1)],S=m(M),D=$.path(S,k),v=o.insert(()=>D,":first-child");return v.attr("class","basic label-container"),f&&"handDrawn"!==a.look&&v.selectAll("path").attr("style",f),r&&"handDrawn"!==a.look&&v.selectAll("path").attr("style",r),w(a,v),a.intersect=function(t){return B.polygon(a,M,t)},o}async function ev(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let i="neo"===a.look?16:a.padding??0,n="neo"===a.look?12:a.padding??0;(a.width||a.height)&&(a.width=Math.max((a?.width??0)-2*i-10,10),a.height=Math.max((a?.height??0)-2*n-10,10));let{shapeSvg:s,bbox:o,label:h}=await u(t,a,x(a)),c=(a?.width?a?.width:o.width)+2*i+10,g=(a?.height?a?.height:o.height)+2*n+10,y=c-10,p=g-10,f=-y/2,m=-p/2,{cssStyles:b}=a,$=d.f.svg(s),k=(0,e.z)(a,{}),M=[{x:f-10,y:m-10},{x:f-10,y:m+p},{x:f+y,y:m+p},{x:f+y,y:m-10}],S=`M${f-10},${m-10} L${f+y},${m-10} L${f+y},${m+p} L${f-10},${m+p} L${f-10},${m-10}
9
+ M${f-10},${m} L${f+y},${m}
10
+ M${f},${m-10} L${f},${m+p}`;"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let D=$.path(S,k),v=s.insert(()=>D,":first-child");return v.attr("transform","translate(5, 5)"),v.attr("class","basic label-container outer-path"),b&&"handDrawn"!==a.look&&v.selectAll("path").attr("style",b),r&&"handDrawn"!==a.look&&v.selectAll("path").attr("style",r),h.attr("transform",`translate(${-(o.width/2)+5-(o.x-(o.left??0))}, ${-(o.height/2)+5-(o.y-(o.top??0))})`),w(a,v),a.intersect=function(t){return B.polygon(a,M,t)},s}(0,o.p)(eb,"tiltedCylinder"),(0,o.p)(e$,"trapezoid"),(0,o.p)(ek,"trapezoidalPentagon"),(0,o.p)(eM,"triangle"),(0,o.p)(eS,"waveEdgedRectangle"),(0,o.p)(eD,"waveRectangle"),(0,o.p)(ev,"windowPane");var eC=new Set(["redux-color","redux-dark-color"]),eA=new Set(["redux","redux-dark","redux-color","redux-dark-color"]);async function eN(t,a){a.alias&&(a.label=a.alias);let{theme:l,themeVariables:r}=(0,n.N)(),{rowEven:s,rowOdd:o,nodeBorder:c,borderColorArray:g}=r;if("handDrawn"===a.look){let{themeVariables:e}=(0,n.N)(),{background:l}=e,r={...a,id:a.id+"-background",domId:(a.domId||a.id)+"-background",look:"default",cssStyles:["stroke: none",`fill: ${l}`]};await eN(t,r)}let y=(0,n.N)();a.useHtmlLabels=y.htmlLabels;let p=y.er?.diagramPadding??10,u=y.er?.entityPadding??6,{cssStyles:f}=a,{labelStyles:m,nodeStyles:b}=(0,e.u)(a);if(0===a.attributes.length&&a.label){let e={rx:0,ry:0,labelPaddingX:p,labelPaddingY:1.5*p,classes:""};(0,i.h)(a.label,y)+2*e.labelPaddingX<y.er.minEntityWidth&&(a.width=y.er.minEntityWidth);let r=await tp(t,a,e);if(null!=l&&eC.has(l)){let t=a.colorIndex??0;r.attr("data-color-id",`color-${t%g.length}`)}if(!(0,n.i)(y.htmlLabels)){let t=r.select("text"),e=t.node()?.getBBox();t.attr("transform",`translate(${-e.width/2}, 0)`)}return r}y.htmlLabels||(p*=1.25,u*=1.25);let $=x(a);$||($="node default");let k=t.insert("g").attr("class",$).attr("id",a.domId||a.id),M=await eB(k,a.label??"",y,0,0,["name"],m);M.height+=u;let S=0,D=[],v=[],C=0,A=0,N=0,z=0,L=!0,P=!0;for(let t of a.attributes){let e=await eB(k,t.type,y,0,S,["attribute-type"],m);C=Math.max(C,e.width+p);let a=await eB(k,t.name,y,0,S,["attribute-name"],m);A=Math.max(A,a.width+p);let l=await eB(k,t.keys.join(),y,0,S,["attribute-keys"],m);N=Math.max(N,l.width+p);let r=await eB(k,t.comment,y,0,S,["attribute-comment"],m);z=Math.max(z,r.width+p);let i=Math.max(e.height,a.height,l.height,r.height)+u;v.push({yOffset:S,rowHeight:i}),S+=i}let I=4;N<=p&&(L=!1,N=0,I--),z<=p&&(P=!1,z=0,I--);let R=k.node().getBBox();if(M.width+2*p-(C+A+N+z)>0){let t=M.width+2*p-(C+A+N+z);C+=t/I,A+=t/I,N>0&&(N+=t/I),z>0&&(z+=t/I)}let H=C+A+N+z,T=d.f.svg(k),W=(0,e.z)(a,{});"handDrawn"!==a.look&&(W.roughness=0,W.fillStyle="solid");let j=0;v.length>0&&(j=v.reduce((t,e)=>t+(e?.rowHeight??0),0));let E=Math.max(R.width+2*p,a?.width||0,H),q=Math.max((j??0)+M.height,a?.height||0),Z=-E/2,O=-q/2;if(k.selectAll("g:not(:first-child)").each((t,e,a)=>{let l=(0,h.f)(a[e]),r=l.attr("transform"),i=0,n=0;if(r){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(r);t&&(i=parseFloat(t[1]),n=parseFloat(t[2]),l.attr("class").includes("attribute-name")?i+=C:l.attr("class").includes("attribute-keys")?i+=C+A:l.attr("class").includes("attribute-comment")&&(i+=C+A+N))}l.attr("transform",`translate(${Z+p/2+i}, ${n+O+M.height+u/2})`)}),k.select(".name").attr("transform","translate("+-M.width/2+", "+(O+u/2)+")"),null!=l&&eC.has(l)){let t=a.colorIndex??0;k.attr("data-color-id",`color-${t%g.length}`)}let F=T.rectangle(Z,O,E,q,W),_=k.insert(()=>F,":first-child").attr("class","outer-path").attr("style",f.join(""));for(let[t,e]of(D.push(0),v.entries())){let a=(t+1)%2==0&&0!==e.yOffset,l=T.rectangle(Z,M.height+O+e?.yOffset,E,e?.rowHeight,{...W,fill:a?s:o,stroke:c});k.insert(()=>l,"g.label").attr("style",f.join("")).attr("class",`row-rect-${a?"even":"odd"}`)}let V=ez(Z,M.height+O,E+Z,M.height+O,1e-4),X=T.polygon(V.map(t=>[t.x,t.y]),W);if(k.insert(()=>X).attr("class","divider"),V=ez(C+Z,M.height+O,C+Z,q+O,1e-4),X=T.polygon(V.map(t=>[t.x,t.y]),W),k.insert(()=>X).attr("class","divider"),L){let t=C+A+Z;V=ez(t,M.height+O,t,q+O,1e-4),X=T.polygon(V.map(t=>[t.x,t.y]),W),k.insert(()=>X).attr("class","divider")}if(P){let t=C+A+N+Z;V=ez(t,M.height+O,t,q+O,1e-4),X=T.polygon(V.map(t=>[t.x,t.y]),W),k.insert(()=>X).attr("class","divider")}for(let t of D){let e=M.height+O+t;V=ez(Z,e,E+Z,e,1e-4),X=T.polygon(V.map(t=>[t.x,t.y]),W),k.insert(()=>X).attr("class","divider")}if(w(a,_),b&&"handDrawn"!==a.look)if(null!=l&&eA.has(l))k.selectAll("path").attr("style",b);else{let t=b.split(";"),e=t?.filter(t=>t.includes("stroke"))?.map(t=>`${t}`).join("; ");k.selectAll("path").attr("style",e??""),k.selectAll(".row-rect-even path").attr("style",b)}return a.intersect=function(t){return B.rect(a,t)},k}async function eB(t,e,l,r=0,s=0,o=[],d=""){let c=t.insert("g").attr("class",`label ${o.join(" ")}`).attr("transform",`translate(${r}, ${s})`).attr("style",d);e!==(0,n.Z)(e)&&(e=(e=(0,n.Z)(e)).replaceAll("<","&lt;").replaceAll(">","&gt;"));let g=c.node().appendChild(await (0,a.w)(c,e,{width:(0,i.h)(e,l)+100,style:d,useHtmlLabels:l.htmlLabels},l));if(e.includes("&lt;")||e.includes("&gt;")){let t=g.children[0];for(t.textContent=t.textContent.replaceAll("&lt;","<").replaceAll("&gt;",">");t.childNodes[0];)(t=t.childNodes[0]).textContent=t.textContent.replaceAll("&lt;","<").replaceAll("&gt;",">")}let y=g.getBBox();if((0,n.i)(l.htmlLabels)){let t=g.children[0];t.style.textAlign="start";let e=(0,h.f)(g);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}return y}function ez(t,e,a,l,r){return t===a?[{x:t-r/2,y:e},{x:t+r/2,y:e},{x:a+r/2,y:l},{x:a-r/2,y:l}]:[{x:t,y:e-r/2},{x:t,y:e+r/2},{x:a,y:l+r/2},{x:a,y:l-r/2}]}async function eL(t,e,a,l,r=a.class.padding??12){let i=3*!l,n=t.insert("g").attr("class",x(e)).attr("id",e.domId||e.id),s=null,o=null,h=null,d=null,c=0,g=0,y=0;if(s=n.insert("g").attr("class","annotation-group text"),e.annotations.length>0){let t=e.annotations[0];await eP(s,{text:`\xab${t}\xbb`},0),c=s.node().getBBox().height}o=n.insert("g").attr("class","label-group text"),await eP(o,e,0,["font-weight: bolder"]);let p=o.node().getBBox();g=p.height,h=n.insert("g").attr("class","members-group text");let u=0;for(let t of e.members){let e=await eP(h,t,u,[t.parseClassifier()]);u+=e+i}(y=h.node().getBBox().height)<=0&&(y=r/2),d=n.insert("g").attr("class","methods-group text");let f=0;for(let t of e.methods){let e=await eP(d,t,f,[t.parseClassifier()]);f+=e+i}let w=n.node().getBBox();if(null!==s){let t=s.node().getBBox();s.attr("transform",`translate(${-t.width/2})`)}return o.attr("transform",`translate(${-p.width/2}, ${c})`),w=n.node().getBBox(),h.attr("transform",`translate(0, ${c+g+2*r})`),w=n.node().getBBox(),d.attr("transform",`translate(0, ${c+g+(y?y+4*r:2*r)})`),w=n.node().getBBox(),{shapeSvg:n,bbox:w}}async function eP(t,e,l,r=[]){let s,o=t.insert("g").attr("class","label").attr("style",r.join("; ")),d=(0,n.N)(),g="useHtmlLabels"in e?e.useHtmlLabels:(0,n.i)(d.htmlLabels)??!0,y="";y="text"in e?e.text:e.label,!g&&y.startsWith("\\")&&(y=y.substring(1)),(0,n.r)(y)&&(g=!0);let p=await (0,a.w)(o,(0,n.A)((0,i.Q)(y)),{width:(0,i.h)(y,d)+50,classes:"markdown-node-label",useHtmlLabels:g},d),u=1;if(g){let t=p.children[0],e=(0,h.f)(p);u=t.innerHTML.split("<br>").length,t.innerHTML.includes("</math>")&&(u+=t.innerHTML.split("<mrow>").length-1),await c(t),s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}else{r.includes("font-weight: bolder")&&(0,h.f)(p).selectAll("tspan").attr("font-weight",""),u=p.children.length;let t=p.children[0];(""===p.textContent||p.textContent.includes("&gt"))&&(t.textContent=y[0]+y.substring(1).replaceAll("&gt;",">").replaceAll("&lt;","<").trim()," "===y[1]&&(t.textContent=t.textContent[0]+" "+t.textContent.substring(1))),"undefined"===t.textContent&&(t.textContent=""),s=p.getBBox()}return o.attr("transform","translate(0,"+(-s.height/(2*u)+l)+")"),s.height}async function eI(t,a){let l=(0,n.z)(),{theme:i,themeVariables:s}=l,{useGradient:o,borderColorArray:c}=s,g=l.class.padding??12,y=a.useHtmlLabels??(0,n.i)(l.htmlLabels)??!0;a.annotations=a.annotations??[],a.members=a.members??[],a.methods=a.methods??[];let{shapeSvg:p,bbox:u}=await eL(t,a,l,y,g);(0,r.Z)(p,a.colorIndex,i,c);let{labelStyles:f,nodeStyles:x}=(0,e.u)(a);a.labelStyle=f,a.cssStyles=a.styles||"";let m=a.styles?.join(";")||x||"";a.cssStyles||(a.cssStyles=m.replaceAll("!important","").split(";"));let b=0===a.members.length&&0===a.methods.length&&!l.class?.hideEmptyMembersBox,$=d.f.svg(p),k=(0,e.z)(a,{});"handDrawn"!==a.look&&(k.roughness=0,k.fillStyle="solid");let M=Math.max(a.width??0,u.width),S=Math.max(a.height??0,u.height),D=(a.height??0)>u.height;0===a.members.length&&0===a.methods.length?S+=g:a.members.length>0&&0===a.methods.length&&(S+=2*g);let v=-M/2,C=-S/2,A=b?2*g:0===a.members.length&&0===a.methods.length?-g:0;D&&(A=2*g);let N=$.rectangle(v-g,C-g-(b?g:0===a.members.length&&0===a.methods.length?-g/2:0),M+2*g,S+2*g+A,k),z=p.insert(()=>N,":first-child");z.attr("class","basic label-container outer-path");let L=z.node().getBBox(),P=p.select(".annotation-group").node().getBBox().height-(b?g/2:0)||0,I=p.select(".label-group").node().getBBox().height-(b?g/2:0)||0,R=p.select(".members-group").node().getBBox().height-(b?g/2:0)||0,H=(P+I+C+g-(C-g-(b?g:0===a.members.length&&0===a.methods.length?-g/2:0)))/2;if(p.selectAll(".text").each((t,e,r)=>{let i=(0,h.f)(r[e]),n=i.attr("transform"),s=0;if(n){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(n);t&&(s=parseFloat(t[2]))}let o=s+C+g-(b?g:0===a.members.length&&0===a.methods.length?-g/2:0);if(i.attr("class").includes("methods-group")){let t=Math.max(R,g/2);o=D?Math.max(H,P+I+t+C+2*g+g)+2*g:P+I+t+C+4*g+g}0===a.members.length&&0===a.methods.length&&l.class?.hideEmptyMembersBox&&(o=a.annotations.length>0?s-g:s),y||(o-=4);let d=v;(i.attr("class").includes("label-group")||i.attr("class").includes("annotation-group"))&&(d=-i.node()?.getBBox().width/2||0,p.selectAll("text").each(function(t,e,a){"middle"===window.getComputedStyle(a[e]).textAnchor&&(d=0)})),i.attr("transform",`translate(${d}, ${o})`)}),a.members.length>0||a.methods.length>0||b){let t=P+I+C+g,e=$.line(L.x,t,L.x+L.width,t+.001,k);p.insert(()=>e).attr("class",`divider${"neo"===a.look&&!o?" neo-line":""}`).attr("style",m)}if(b||a.members.length>0||a.methods.length>0){let t=P+I+R+C+2*g+g,e=$.line(L.x,D?Math.max(H,t):t,L.x+L.width,(D?Math.max(H,t):t)+.001,k);p.insert(()=>e).attr("class",`divider${"neo"===a.look&&!o?" neo-line":""}`).attr("style",m)}if("handDrawn"!==a.look&&p.selectAll("path").attr("style",m),z.select(":nth-child(2)").attr("style",m),p.selectAll(".divider").select("path").attr("style",m),a.labelStyle?p.selectAll("span").attr("style",a.labelStyle):p.selectAll("span").attr("style",m),!y){let t=RegExp(/color\s*:\s*([^;]*)/),e=t.exec(m);if(e){let t=e[0].replace("color","fill");p.selectAll("tspan").attr("style",t)}else if(f){let e=t.exec(f);if(e){let t=e[0].replace("color","fill");p.selectAll("tspan").attr("style",t)}}}return w(a,z),a.intersect=function(t){return B.rect(a,t)},p}async function eR(t,a){let l,{labelStyles:r,nodeStyles:i}=(0,e.u)(a);a.labelStyle=r;let s="verifyMethod"in a,o=x(a),c=(0,n.z)(),{themeVariables:g}=c,{borderColorArray:y,requirementEdgeLabelBackground:p}=g,u="elk"===c.layout?"start":"center",f=t.insert("g").attr("class",o).attr("id",a.domId??a.id),m=l=s?await eH(f,`&lt;&lt;${a.type}&gt;&gt;`,0,a.labelStyle):await eH(f,"&lt;&lt;Element&gt;&gt;",0,a.labelStyle),b=await eH(f,a.name,m,a.labelStyle+"; font-weight: bold;");if(m+=b+20,s){let t=await eH(f,`${a.requirementId?`ID: ${a.requirementId}`:""}`,m,a.labelStyle,u);m+=t;let e=await eH(f,`${a.text?`Text: ${a.text}`:""}`,m,a.labelStyle,u);m+=e;let l=await eH(f,`${a.risk?`Risk: ${a.risk}`:""}`,m,a.labelStyle,u);m+=l,await eH(f,`${a.verifyMethod?`Verification: ${a.verifyMethod}`:""}`,m,a.labelStyle,u)}else{let t=await eH(f,`${a.type?`Type: ${a.type}`:""}`,m,a.labelStyle,u);m+=t,await eH(f,`${a.docRef?`Doc Ref: ${a.docRef}`:""}`,m,a.labelStyle,u)}let $=(f.node()?.getBBox().width??200)+20,k=(f.node()?.getBBox().height??200)+20,M=-$/2,S=-k/2,D=d.f.svg(f),v=(0,e.z)(a,{});"handDrawn"!==a.look&&(v.roughness=0,v.fillStyle="solid");let C=D.rectangle(M,S,$,k,v),A=f.insert(()=>C,":first-child");if(A.attr("class","basic label-container outer-path").attr("style",i),y?.length){let t=a.colorIndex??0;f.attr("data-color-id",`color-${t%y.length}`)}if(f.selectAll(".label").each((t,e,a)=>{let l=(0,h.f)(a[e]),r=l.attr("transform"),i=0,n=0;if(r){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(r);t&&(i=parseFloat(t[1]),n=parseFloat(t[2]))}let s=n-k/2,o=M+10;(0===e||1===e)&&(o=i),l.attr("transform",`translate(${o}, ${s+20})`)}),m>l+b+20){let t,e=S+l+b+20;if("neo"===a.look){let a=[[M,e],[M+$,e],[M+$,e+.001],[M,e+.001]];t=D.polygon(a,v)}else t=D.line(M,e,M+$,e,v);f.insert(()=>t).attr("class","divider")}return w(a,A),a.intersect=function(t){return B.rect(a,t)},i&&"handDrawn"!==a.look&&(p||y?.length)&&f.selectAll("path").attr("style",i),f}async function eH(t,e,l,r="",s="center"){let o;if(""===e)return 0;let d=t.insert("g").attr("class","label").attr("style",r),c=(0,n.z)(),g=c.htmlLabels??!0,y=await (0,a.w)(d,(0,n.A)((0,i.Q)(e)),{width:(0,i.h)(e,c)+50,classes:"markdown-node-label",useHtmlLabels:g,style:r},c);if(g){let t=y.children[0],e=(0,h.f)(y);"start"===s&&(0,h.f)(t).style("text-align","left"),o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}else{let t=y.children[0];for(let e of t.children)r&&e.setAttribute("style",r);if("start"===s)for(let e of(t.setAttribute("text-anchor","start"),t.children))e.setAttribute("text-anchor","start");o=y.getBBox(),o.height+=6}return d.attr("transform",`translate(${-o.width/2},${-o.height/2+l})`),o.height}(0,o.p)(eN,"erBox"),(0,o.p)(eB,"addText"),(0,o.p)(ez,"lineToPolygon"),(0,o.p)(eL,"textHelper"),(0,o.p)(eP,"addText"),(0,o.p)(eI,"classBox"),(0,o.p)(eR,"requirementBox"),(0,o.p)(eH,"addText");var eT=(0,o.p)(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function eW(t,a,{config:l}){let r,i,n,s,{labelStyles:o,nodeStyles:h}=(0,e.u)(a);a.labelStyle=o||"";let c=a.width;a.width=(a.width??200)-10;let{shapeSvg:g,bbox:y,label:p}=await u(t,a,x(a)),m=a.padding||10,b="";"ticket"in a&&a.ticket&&l?.kanban?.ticketBaseUrl&&(b=l?.kanban?.ticketBaseUrl.replace("#TICKET#",a.ticket),r=g.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",b).attr("target","_blank"));let $={useHtmlLabels:a.useHtmlLabels,labelStyle:a.labelStyle||"",width:a.width,img:a.img,padding:a.padding||8,centerLabel:!1};r?{label:i,bbox:n}=await f(r,"ticket"in a&&a.ticket||"",$):{label:i,bbox:n}=await f(g,"ticket"in a&&a.ticket||"",$);let{label:k,bbox:M}=await f(g,"assigned"in a&&a.assigned||"",$);a.width=c;let S=a?.width||0,D=Math.max(n.height,M.height)/2,v=Math.max(y.height+20,a?.height||0)+D,C=-S/2,A=-v/2;p.attr("transform","translate("+(m-S/2)+", "+(-D-y.height/2)+")"),i.attr("transform","translate("+(m-S/2)+", "+(-D+y.height/2)+")"),k.attr("transform","translate("+(m+S/2-M.width-20)+", "+(-D+y.height/2)+")");let{rx:N,ry:L}=a,{cssStyles:P}=a;if("handDrawn"===a.look){let t=d.f.svg(g),l=(0,e.z)(a,{}),r=N||L?t.path(z(C,A,S,v,N||0),l):t.rectangle(C,A,S,v,l);(s=g.insert(()=>r,":first-child")).attr("class","basic label-container").attr("style",P||null)}else{(s=g.insert("rect",":first-child")).attr("class","basic label-container __APA__").attr("style",h).attr("rx",N??5).attr("ry",L??5).attr("x",C).attr("y",A).attr("width",S).attr("height",v);let t="priority"in a&&a.priority;if(t){let e=g.append("line"),a=C+2,l=A+Math.floor((N??0)/2),r=A+v-Math.floor((N??0)/2);e.attr("x1",a).attr("y1",l).attr("x2",a).attr("y2",r).attr("stroke-width","4").attr("stroke",eT(t))}}return w(a,s),a.height=v,a.intersect=function(t){return B.rect(a,t)},g}async function ej(t,a){let l,{labelStyles:r,nodeStyles:n}=(0,e.u)(a);a.labelStyle=r;let{shapeSvg:o,bbox:h,halfPadding:c,label:g}=await u(t,a,x(a)),y=h.width+10*c,p=h.height+8*c,f=.15*y,{cssStyles:m}=a,b=h.width+20,$=h.height+20,k=Math.max(y,b),M=Math.max(p,$);g.attr("transform",`translate(${-h.width/2}, ${-h.height/2})`);let S=`M0 0
11
+ a${f},${f} 1 0,0 ${.25*k},${-1*M*.1}
12
+ a${f},${f} 1 0,0 ${.25*k},0
13
+ a${f},${f} 1 0,0 ${.25*k},0
14
+ a${f},${f} 1 0,0 ${.25*k},${.1*M}
15
+
16
+ a${f},${f} 1 0,0 ${.15*k},${.33*M}
17
+ a${.8*f},${.8*f} 1 0,0 0,${.34*M}
18
+ a${f},${f} 1 0,0 ${-1*k*.15},${.33*M}
19
+
20
+ a${f},${f} 1 0,0 ${-1*k*.25},${.15*M}
21
+ a${f},${f} 1 0,0 ${-1*k*.25},0
22
+ a${f},${f} 1 0,0 ${-1*k*.25},0
23
+ a${f},${f} 1 0,0 ${-1*k*.25},${-1*M*.15}
24
+
25
+ a${f},${f} 1 0,0 ${-1*k*.1},${-1*M*.33}
26
+ a${.8*f},${.8*f} 1 0,0 0,${-1*M*.34}
27
+ a${f},${f} 1 0,0 ${.1*k},${-1*M*.33}
28
+ H0 V0 Z`;if("handDrawn"===a.look){let t=d.f.svg(o),r=(0,e.z)(a,{}),n=t.path(S,r);(l=o.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,i.d)(m))}else l=o.insert("path",":first-child").attr("class","basic label-container").attr("style",n).attr("d",S);return l.attr("transform",`translate(${-k/2}, ${-M/2})`),w(a,l),a.calcIntersect=function(t,e){return B.rect(t,e)},a.intersect=function(t){return s.d.info("Bang intersect",a,t),B.rect(a,t)},o}async function eE(t,a){let l,{labelStyles:r,nodeStyles:n}=(0,e.u)(a);a.labelStyle=r;let{shapeSvg:o,bbox:h,halfPadding:c,label:g}=await u(t,a,x(a)),y=h.width+2*c,p=h.height+2*c,f=.15*y,m=.25*y,b=.35*y,$=.2*y,{cssStyles:k}=a,M=`M0 0
29
+ a${f},${f} 0 0,1 ${.25*y},${-1*y*.1}
30
+ a${b},${b} 1 0,1 ${.4*y},${-1*y*.1}
31
+ a${m},${m} 1 0,1 ${.35*y},${.2*y}
32
+
33
+ a${f},${f} 1 0,1 ${.15*y},${.35*p}
34
+ a${$},${$} 1 0,1 ${-1*y*.15},${.65*p}
35
+
36
+ a${m},${f} 1 0,1 ${-1*y*.25},${.15*y}
37
+ a${b},${b} 1 0,1 ${-1*y*.5},0
38
+ a${f},${f} 1 0,1 ${-1*y*.25},${-1*y*.15}
39
+
40
+ a${f},${f} 1 0,1 ${-1*y*.1},${-1*p*.35}
41
+ a${$},${$} 1 0,1 ${.1*y},${-1*p*.65}
42
+ H0 V0 Z`;if("handDrawn"===a.look){let t=d.f.svg(o),r=(0,e.z)(a,{}),n=t.path(M,r);(l=o.insert(()=>n,":first-child")).attr("class","basic label-container").attr("style",(0,i.d)(k))}else l=o.insert("path",":first-child").attr("class","basic label-container").attr("style",n).attr("d",M);return g.attr("transform",`translate(${-h.width/2}, ${-h.height/2})`),l.attr("transform",`translate(${-y/2}, ${-p/2})`),w(a,l),a.calcIntersect=function(t,e){return B.rect(t,e)},a.intersect=function(t){return s.d.info("Cloud intersect",a,t),B.rect(a,t)},o}async function eq(t,a){let{labelStyles:l,nodeStyles:r}=(0,e.u)(a);a.labelStyle=l;let{shapeSvg:i,bbox:n,halfPadding:s,label:o}=await u(t,a,x(a)),h=n.width+8*s,d=n.height+2*s,c="neo"===a.look?`
43
+ M${-h/2} ${d/2-5}
44
+ v${-d+10}
45
+ q0,-5 5,-5
46
+ h${h-10}
47
+ q5,0 5,5
48
+ v${d-5}
49
+ H${-h/2}
50
+ Z
51
+ `:`
52
+ M${-h/2} ${d/2-5}
53
+ v${-d+10}
54
+ q0,-5 5,-5
55
+ h${h-10}
56
+ q5,0 5,5
57
+ v${d-10}
58
+ q0,5 -5,5
59
+ h${-(h-10)}
60
+ q-5,0 -5,-5
61
+ Z
62
+ `;if(!a.domId)throw Error(`defaultMindmapNode: node "${a.id}" is missing a domId — was render.ts domId prefixing skipped?`);let g=i.append("path").attr("id",a.domId).attr("class","node-bkg node-"+a.type).attr("style",r).attr("d",c);return i.append("line").attr("class","node-line-").attr("x1",-h/2).attr("y1",d/2).attr("x2",h/2).attr("y2",d/2),o.attr("transform",`translate(${-n.width/2}, ${-n.height/2})`),i.append(()=>o.node()),w(a,g),a.calcIntersect=function(t,e){return B.rect(t,e)},a.intersect=function(t){return B.rect(a,t)},i}async function eZ(t,e){let a={padding:e.padding??0};return U(t,e,a)}(0,o.p)(eW,"kanbanItem"),(0,o.p)(ej,"bang"),(0,o.p)(eE,"cloud"),(0,o.p)(eq,"defaultMindmapNode"),(0,o.p)(eZ,"mindmapCircle");var eO=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:es},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:er},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:eh},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:ey},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:ty},{semanticName:"Data Store",name:"Data Store",shortName:"datastore",description:"Data flow diagram data store",aliases:["data-store"],handler:tu},{semanticName:"Folder",name:"Folder",shortName:"folder",description:"Folder or directory",aliases:["directory"],handler:t$},{semanticName:"Bucket",name:"Bucket",shortName:"bucket",description:"Object storage bucket",handler:T},{semanticName:"Console",name:"Console (terminal window)",shortName:"console",description:"Terminal or console window",handler:Y},{semanticName:"Browser",name:"Browser",shortName:"browser",description:"Browser window",handler:J},{semanticName:"Person",name:"Person",shortName:"person",description:"Person (circular head above a rounded body)",handler:th},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:U},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:ej},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:eE},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:ee},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:tD},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:tR},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:tI},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:e$},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:tL},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:tw},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:ef},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:G},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:ei},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:eg},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:ec},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:tk},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:tv},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:tl},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:ti},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:ts},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:tH},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:eS},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:tM},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:eb},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:tE},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:to},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:tf},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:eM},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:ev},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:tm},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:ek},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:tb},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:en},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:t7},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:t6},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:H},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:te},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:eu},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:ep},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:eD},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:ea},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:tq}],eF=(0,o.p)(()=>Object.fromEntries([...Object.entries({state:ed,choice:Q,note:t9,composite:K,rectWithTitle:el,labelRect:tP,block_arrow:X,collapsedGroup:j,iconSquare:tB,iconCircle:tA,icon:tC,iconRounded:tN,imageSquare:tz,anchor:P,kanbanItem:eW,mindmapCircle:eZ,defaultMindmapNode:eq,classBox:eI,erBox:eN,requirementBox:eR,usecaseActor:tU,usecaseActorHollow:tY,usecaseActorAwesome:tK,usecaseActorIcon:t2,usecaseBusiness:t5,usecaseEllipse:tx,usecaseJsonTable:t4}),...eO.flatMap(t=>[t.shortName,..."aliases"in t?t.aliases:[],..."internalAliases"in t?t.internalAliases:[]].map(e=>[e,t.handler]))]),"generateShapeMap")();function e_(t){return t in eF}(0,o.p)(e_,"isValidShape"),t.s(["t",0,L,"G",0,z,"c",0,B,"A",0,M,"_",0,e_,"H",0,u,"d",0,eF,"q",0,w])}]);
@@ -0,0 +1,32 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,649806,t=>{"use strict";var e,n=t.i(995994),i=t.i(937714);t.i(615087),t.i(630841),t.i(556934),t.i(153181);var a=t.i(696039),s=t.i(77509),r=t.i(697301),l=t.i(488151);t.i(991577);var o=t.i(692423),h=function(){var t=(0,l.p)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[1,24],n=[1,25],i=[1,26],a=[1,27],s=[1,28],r=[1,63],o=[1,64],h=[1,65],u=[1,66],p=[1,67],d=[1,68],y=[1,69],b=[1,29],_=[1,30],f=[1,31],m=[1,32],g=[1,33],x=[1,34],E=[1,35],S=[1,36],T=[1,37],C=[1,38],k=[1,39],O=[1,40],v=[1,41],R=[1,42],P=[1,43],w=[1,44],N=[1,45],D=[1,46],A=[1,47],L=[1,48],M=[1,50],$=[1,51],I=[1,52],B=[1,53],j=[1,54],Y=[1,55],U=[1,56],F=[1,57],z=[1,58],X=[1,59],q=[1,60],W=[14,42],Q=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],V=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],H=[1,82],K=[1,83],G=[1,84],J=[1,85],Z=[12,14,42],tt=[12,14,33,42],te=[12,14,33,42,76,77,79,80],tn=[12,33],ti=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ta={trace:(0,l.p)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:(0,l.p)(function(t,e,n,i,a,s,r){var l=s.length-1;switch(a){case 3:i.setDirection("TB");break;case 4:i.setDirection("BT");break;case 5:i.setDirection("RL");break;case 6:i.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:i.setC4Type(s[l-3]);break;case 19:i.setTitle(s[l].substring(6)),this.$=s[l].substring(6);break;case 20:i.setAccDescription(s[l].substring(15)),this.$=s[l].substring(15);break;case 21:this.$=s[l].trim(),i.setTitle(this.$);break;case 22:case 23:this.$=s[l].trim(),i.setAccDescription(this.$);break;case 28:s[l].splice(2,0,"ENTERPRISE"),i.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 29:s[l].splice(2,0,"SYSTEM"),i.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 30:i.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 31:s[l].splice(2,0,"CONTAINER"),i.addContainerBoundary(...s[l]),this.$=s[l];break;case 32:i.addDeploymentNode("node",...s[l]),this.$=s[l];break;case 33:i.addDeploymentNode("nodeL",...s[l]),this.$=s[l];break;case 34:i.addDeploymentNode("nodeR",...s[l]),this.$=s[l];break;case 35:i.popBoundaryParseStack();break;case 39:i.addPersonOrSystem("person",...s[l]),this.$=s[l];break;case 40:i.addPersonOrSystem("external_person",...s[l]),this.$=s[l];break;case 41:i.addPersonOrSystem("system",...s[l]),this.$=s[l];break;case 42:i.addPersonOrSystem("system_db",...s[l]),this.$=s[l];break;case 43:i.addPersonOrSystem("system_queue",...s[l]),this.$=s[l];break;case 44:i.addPersonOrSystem("external_system",...s[l]),this.$=s[l];break;case 45:i.addPersonOrSystem("external_system_db",...s[l]),this.$=s[l];break;case 46:i.addPersonOrSystem("external_system_queue",...s[l]),this.$=s[l];break;case 47:i.addContainer("container",...s[l]),this.$=s[l];break;case 48:i.addContainer("container_db",...s[l]),this.$=s[l];break;case 49:i.addContainer("container_queue",...s[l]),this.$=s[l];break;case 50:i.addContainer("external_container",...s[l]),this.$=s[l];break;case 51:i.addContainer("external_container_db",...s[l]),this.$=s[l];break;case 52:i.addContainer("external_container_queue",...s[l]),this.$=s[l];break;case 53:i.addComponent("component",...s[l]),this.$=s[l];break;case 54:i.addComponent("component_db",...s[l]),this.$=s[l];break;case 55:i.addComponent("component_queue",...s[l]),this.$=s[l];break;case 56:i.addComponent("external_component",...s[l]),this.$=s[l];break;case 57:i.addComponent("external_component_db",...s[l]),this.$=s[l];break;case 58:i.addComponent("external_component_queue",...s[l]),this.$=s[l];break;case 60:i.addRel("rel",...s[l]),this.$=s[l];break;case 61:i.addRel("birel",...s[l]),this.$=s[l];break;case 62:i.addRel("rel_u",...s[l]),this.$=s[l];break;case 63:i.addRel("rel_d",...s[l]),this.$=s[l];break;case 64:i.addRel("rel_l",...s[l]),this.$=s[l];break;case 65:i.addRel("rel_r",...s[l]),this.$=s[l];break;case 66:i.addRel("rel_b",...s[l]),this.$=s[l];break;case 67:s[l].splice(0,1),i.addRel("rel",...s[l]),this.$=s[l];break;case 68:i.updateElStyle("update_el_style",...s[l]),this.$=s[l];break;case 69:i.updateRelStyle("update_rel_style",...s[l]),this.$=s[l];break;case 70:i.updateLayoutConfig("update_layout_config",...s[l]),this.$=s[l];break;case 71:this.$=[s[l]];break;case 72:s[l].unshift(s[l-1]),this.$=s[l];break;case 73:case 75:this.$=s[l].trim();break;case 74:let o={};o[s[l-1].trim()]=s[l].trim(),this.$=o;break;case 76:this.$=""}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:n,24:i,26:a,28:s,29:49,30:61,32:62,34:r,36:o,37:h,38:u,39:p,40:d,41:y,43:23,44:b,45:_,46:f,47:m,48:g,49:x,50:E,51:S,52:T,53:C,54:k,55:O,56:v,57:R,58:P,59:w,60:N,61:D,62:A,63:L,64:M,65:$,66:I,67:B,68:j,69:Y,70:U,71:F,72:z,73:X,74:q},{13:70,19:20,20:21,21:22,22:e,23:n,24:i,26:a,28:s,29:49,30:61,32:62,34:r,36:o,37:h,38:u,39:p,40:d,41:y,43:23,44:b,45:_,46:f,47:m,48:g,49:x,50:E,51:S,52:T,53:C,54:k,55:O,56:v,57:R,58:P,59:w,60:N,61:D,62:A,63:L,64:M,65:$,66:I,67:B,68:j,69:Y,70:U,71:F,72:z,73:X,74:q},{13:71,19:20,20:21,21:22,22:e,23:n,24:i,26:a,28:s,29:49,30:61,32:62,34:r,36:o,37:h,38:u,39:p,40:d,41:y,43:23,44:b,45:_,46:f,47:m,48:g,49:x,50:E,51:S,52:T,53:C,54:k,55:O,56:v,57:R,58:P,59:w,60:N,61:D,62:A,63:L,64:M,65:$,66:I,67:B,68:j,69:Y,70:U,71:F,72:z,73:X,74:q},{13:72,19:20,20:21,21:22,22:e,23:n,24:i,26:a,28:s,29:49,30:61,32:62,34:r,36:o,37:h,38:u,39:p,40:d,41:y,43:23,44:b,45:_,46:f,47:m,48:g,49:x,50:E,51:S,52:T,53:C,54:k,55:O,56:v,57:R,58:P,59:w,60:N,61:D,62:A,63:L,64:M,65:$,66:I,67:B,68:j,69:Y,70:U,71:F,72:z,73:X,74:q},{13:73,19:20,20:21,21:22,22:e,23:n,24:i,26:a,28:s,29:49,30:61,32:62,34:r,36:o,37:h,38:u,39:p,40:d,41:y,43:23,44:b,45:_,46:f,47:m,48:g,49:x,50:E,51:S,52:T,53:C,54:k,55:O,56:v,57:R,58:P,59:w,60:N,61:D,62:A,63:L,64:M,65:$,66:I,67:B,68:j,69:Y,70:U,71:F,72:z,73:X,74:q},{14:[1,74]},t(W,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:o,37:h,38:u,39:p,40:d,41:y,44:b,45:_,46:f,47:m,48:g,49:x,50:E,51:S,52:T,53:C,54:k,55:O,56:v,57:R,58:P,59:w,60:N,61:D,62:A,63:L,64:M,65:$,66:I,67:B,68:j,69:Y,70:U,71:F,72:z,73:X,74:q}),t(W,[2,14]),t(Q,[2,16],{12:[1,76]}),t(W,[2,36],{12:[1,77]}),t(V,[2,19]),t(V,[2,20]),{25:[1,78]},{27:[1,79]},t(V,[2,23]),{35:80,75:81,76:H,77:K,79:G,80:J},{35:86,75:81,76:H,77:K,79:G,80:J},{35:87,75:81,76:H,77:K,79:G,80:J},{35:88,75:81,76:H,77:K,79:G,80:J},{35:89,75:81,76:H,77:K,79:G,80:J},{35:90,75:81,76:H,77:K,79:G,80:J},{35:91,75:81,76:H,77:K,79:G,80:J},{35:92,75:81,76:H,77:K,79:G,80:J},{35:93,75:81,76:H,77:K,79:G,80:J},{35:94,75:81,76:H,77:K,79:G,80:J},{35:95,75:81,76:H,77:K,79:G,80:J},{35:96,75:81,76:H,77:K,79:G,80:J},{35:97,75:81,76:H,77:K,79:G,80:J},{35:98,75:81,76:H,77:K,79:G,80:J},{35:99,75:81,76:H,77:K,79:G,80:J},{35:100,75:81,76:H,77:K,79:G,80:J},{35:101,75:81,76:H,77:K,79:G,80:J},{35:102,75:81,76:H,77:K,79:G,80:J},{35:103,75:81,76:H,77:K,79:G,80:J},{35:104,75:81,76:H,77:K,79:G,80:J},t(Z,[2,59]),{35:105,75:81,76:H,77:K,79:G,80:J},{35:106,75:81,76:H,77:K,79:G,80:J},{35:107,75:81,76:H,77:K,79:G,80:J},{35:108,75:81,76:H,77:K,79:G,80:J},{35:109,75:81,76:H,77:K,79:G,80:J},{35:110,75:81,76:H,77:K,79:G,80:J},{35:111,75:81,76:H,77:K,79:G,80:J},{35:112,75:81,76:H,77:K,79:G,80:J},{35:113,75:81,76:H,77:K,79:G,80:J},{35:114,75:81,76:H,77:K,79:G,80:J},{35:115,75:81,76:H,77:K,79:G,80:J},{20:116,29:49,30:61,32:62,34:r,36:o,37:h,38:u,39:p,40:d,41:y,43:23,44:b,45:_,46:f,47:m,48:g,49:x,50:E,51:S,52:T,53:C,54:k,55:O,56:v,57:R,58:P,59:w,60:N,61:D,62:A,63:L,64:M,65:$,66:I,67:B,68:j,69:Y,70:U,71:F,72:z,73:X,74:q},{12:[1,118],33:[1,117]},{35:119,75:81,76:H,77:K,79:G,80:J},{35:120,75:81,76:H,77:K,79:G,80:J},{35:121,75:81,76:H,77:K,79:G,80:J},{35:122,75:81,76:H,77:K,79:G,80:J},{35:123,75:81,76:H,77:K,79:G,80:J},{35:124,75:81,76:H,77:K,79:G,80:J},{35:125,75:81,76:H,77:K,79:G,80:J},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(W,[2,15]),t(Q,[2,17],{21:22,19:130,22:e,23:n,24:i,26:a,28:s}),t(W,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:n,24:i,26:a,28:s,34:r,36:o,37:h,38:u,39:p,40:d,41:y,44:b,45:_,46:f,47:m,48:g,49:x,50:E,51:S,52:T,53:C,54:k,55:O,56:v,57:R,58:P,59:w,60:N,61:D,62:A,63:L,64:M,65:$,66:I,67:B,68:j,69:Y,70:U,71:F,72:z,73:X,74:q}),t(V,[2,21]),t(V,[2,22]),t(Z,[2,39]),t(tt,[2,71],{75:81,35:132,76:H,77:K,79:G,80:J}),t(te,[2,73]),{78:[1,133]},t(te,[2,75]),t(te,[2,76]),t(Z,[2,40]),t(Z,[2,41]),t(Z,[2,42]),t(Z,[2,43]),t(Z,[2,44]),t(Z,[2,45]),t(Z,[2,46]),t(Z,[2,47]),t(Z,[2,48]),t(Z,[2,49]),t(Z,[2,50]),t(Z,[2,51]),t(Z,[2,52]),t(Z,[2,53]),t(Z,[2,54]),t(Z,[2,55]),t(Z,[2,56]),t(Z,[2,57]),t(Z,[2,58]),t(Z,[2,60]),t(Z,[2,61]),t(Z,[2,62]),t(Z,[2,63]),t(Z,[2,64]),t(Z,[2,65]),t(Z,[2,66]),t(Z,[2,67]),t(Z,[2,68]),t(Z,[2,69]),t(Z,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(tn,[2,28]),t(tn,[2,29]),t(tn,[2,30]),t(tn,[2,31]),t(tn,[2,32]),t(tn,[2,33]),t(tn,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Q,[2,18]),t(W,[2,38]),t(tt,[2,72]),t(te,[2,74]),t(Z,[2,24]),t(Z,[2,35]),t(ti,[2,25]),t(ti,[2,26],{12:[1,138]}),t(ti,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:(0,l.p)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,l.p)(function(t){var e=this,n=[0],i=[],a=[null],s=[],r=this.table,o="",h=0,u=0,p=0,d=s.slice.call(arguments,1),y=Object.create(this.lexer),b={};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(b[_]=this.yy[_]);y.setInput(t,b),b.lexer=y,b.parser=this,void 0===y.yylloc&&(y.yylloc={});var f=y.yylloc;s.push(f);var m=y.options&&y.options.ranges;function g(){var t;return"number"!=typeof(t=i.pop()||y.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof b.parseError?this.parseError=b.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,l.p)(function(t){n.length=n.length-2*t,a.length=a.length-t,s.length=s.length-t},"popStack"),(0,l.p)(g,"lex");for(var x,E,S,T,C,k,O,v,R,P={};;){if(S=n[n.length-1],this.defaultActions[S]?T=this.defaultActions[S]:(null==x&&(x=g()),T=r[S]&&r[S][x]),void 0===T||!T.length||!T[0]){var w="";for(k in R=[],r[S])this.terminals_[k]&&k>2&&R.push("'"+this.terminals_[k]+"'");w=y.showPosition?"Parse error on line "+(h+1)+":\n"+y.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(w,{text:y.match,token:this.terminals_[x]||x,line:y.yylineno,loc:f,expected:R})}if(T[0]instanceof Array&&T.length>1)throw Error("Parse Error: multiple actions possible at state: "+S+", token: "+x);switch(T[0]){case 1:n.push(x),a.push(y.yytext),s.push(y.yylloc),n.push(T[1]),x=null,E?(x=E,E=null):(u=y.yyleng,o=y.yytext,h=y.yylineno,f=y.yylloc,p>0&&p--);break;case 2:if(O=this.productions_[T[1]][1],P.$=a[a.length-O],P._$={first_line:s[s.length-(O||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(O||1)].first_column,last_column:s[s.length-1].last_column},m&&(P._$.range=[s[s.length-(O||1)].range[0],s[s.length-1].range[1]]),void 0!==(C=this.performAction.apply(P,[o,u,h,b,T[1],a,s].concat(d))))return C;O&&(n=n.slice(0,-1*O*2),a=a.slice(0,-1*O),s=s.slice(0,-1*O)),n.push(this.productions_[T[1]][0]),a.push(P.$),s.push(P._$),v=r[n[n.length-2]][n[n.length-1]],n.push(v);break;case 3:return!0}}return!0},"parse")};function ts(){this.yy={}}return ta.lexer={EOF:1,parseError:(0,l.p)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,l.p)(function(t,e){return this.yy=e||this.yy||{},this._input=t,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,l.p)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},"input"),unput:(0,l.p)(function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;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),n.length-1&&(this.yylineno-=n.length-1);var a=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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,l.p)(function(){return this._more=!0,this},"more"),reject:(0,l.p)(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,l.p)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,l.p)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.p)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,l.p)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,l.p)(function(t,e){var n,i,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=t[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+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var s in a)this[s]=a[s];return!1},"test_match"),next:(0,l.p)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,i,a=this._currentRules(),s=0;s<a.length;s++)if((n=this._input.match(this.rules[a[s]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[i]))&&t:""===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,l.p)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,l.p)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,l.p)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.p)(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,l.p)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,l.p)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,l.p)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,l.p)(function(t,e,n,i){switch(n){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[65,66,67,68],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,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,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}},(0,l.p)(ts,"Parser"),ts.prototype=ta,ta.Parser=ts,new ts}();h.parser=h;var u=(0,l.p)(t=>(0,s.z)()[t],"getRequiredConfig"),p=new Set(["label","descr","techn","type"]),d=(0,l.p)((t,e)=>{for(let[n,i]of Object.entries(e))if(void 0!==i)if("object"==typeof i){let[e,n]=Object.entries(i)[0];t[e]=p.has(e)?{text:n}:n}else t[n]=i},"assignAttributes"),y=(0,l.p)(()=>({alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}),"createGlobalBoundary"),b=[],_=[""],f="global",m="",g=[y()],x=[],E="",S=!1,T=4,C=2,k=(0,l.p)(function(){return e},"getC4Type"),O=(0,l.p)(function(t){e=(0,s.g)(t,(0,s.z)())},"setC4Type"),v=(0,l.p)(function(t,e,n,i,a,s,r,l,o){if(null==t||null==e||null==n||null==i)return;let h={},u=x.find(t=>t.from===e&&t.to===n);if(u?h=u:x.push(h),h.type=t,h.from=e,h.to=n,h.label={text:i},null==a)h.techn??={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];h[t]=p.has(t)?{text:e}:e}else h.techn={text:a};if(null==s)h.descr??={text:""};else if("object"==typeof s){let[t,e]=Object.entries(s)[0];h[t]=p.has(t)?{text:e}:e}else h.descr={text:s};d(h,{sprite:r,tags:l,link:o}),h.wrap=H()},"addRel"),R=(0,l.p)(function(t,e,n,i,a,s,r){if(null===e||null===n)return;let l={},o=b.find(t=>t.alias===e);if(o&&e===o.alias?l=o:(l.alias=e,b.push(l)),null==n?l.label={text:""}:l.label={text:n},null==i)l.descr??={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=p.has(t)?{text:e}:e}else l.descr={text:i};d(l,{sprite:a,tags:s,link:r}),l.typeC4Shape={text:t},l.parentBoundary=f,l.wrap=H()},"addPersonOrSystem"),P=(0,l.p)(function(t,e,n,i,a,s,r,l){if(null===e||null===n)return;let o={},h=b.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,b.push(o)),null==n?o.label={text:""}:o.label={text:n},null==i)o.techn??={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]=p.has(t)?{text:e}:e}else o.techn={text:i};if(null==a)o.descr??={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]=p.has(t)?{text:e}:e}else o.descr={text:a};d(o,{sprite:s,tags:r,link:l}),o.wrap=H(),o.typeC4Shape={text:t},o.parentBoundary=f},"addContainer"),w=(0,l.p)(function(t,e,n,i,a,s,r,l){if(null===e||null===n)return;let o={},h=b.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,b.push(o)),null==n?o.label={text:""}:o.label={text:n},null==i)o.techn??={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]=p.has(t)?{text:e}:e}else o.techn={text:i};if(null==a)o.descr??={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]=p.has(t)?{text:e}:e}else o.descr={text:a};d(o,{sprite:s,tags:r,link:l}),o.wrap=H(),o.typeC4Shape={text:t},o.parentBoundary=f},"addComponent"),N=(0,l.p)(function(t,e,n,i,a){if(null===t||null===e)return;let s={},r=g.find(e=>e.alias===t);if(r&&t===r.alias?s=r:(s.alias=t,g.push(s)),null==e?s.label={text:""}:s.label={text:e},null==n)s.type={text:"system"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=p.has(t)?{text:e}:e}else s.type={text:n};d(s,{tags:i,link:a}),s.parentBoundary=f,s.wrap=H(),m=f,f=t,_.push(m)},"addPersonOrSystemBoundary"),D=(0,l.p)(function(t,e,n,i,a){if(null===t||null===e)return;let s={},r=g.find(e=>e.alias===t);if(r&&t===r.alias?s=r:(s.alias=t,g.push(s)),null==e?s.label={text:""}:s.label={text:e},null==n)s.type={text:"container"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=p.has(t)?{text:e}:e}else s.type={text:n};d(s,{tags:i,link:a}),s.parentBoundary=f,s.wrap=H(),m=f,f=t,_.push(m)},"addContainerBoundary"),A=(0,l.p)(function(t,e,n,i,a,s,r,l){if(null===e||null===n)return;let o={},h=g.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,g.push(o)),null==n?o.label={text:""}:o.label={text:n},null==i)o.type={text:"node"};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]=p.has(t)?{text:e}:e}else o.type={text:i};if(null==a)o.descr??={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]=p.has(t)?{text:e}:e}else o.descr={text:a};d(o,{tags:r,link:l}),o.nodeType=t,o.parentBoundary=f,o.wrap=H(),m=f,f=e,_.push(m)},"addDeploymentNode"),L=(0,l.p)(function(){f=m,_.pop(),m=_.pop(),_.push(m)},"popBoundaryParseStack"),M=(0,l.p)(function(t,e,n,i,a,s,r,l,o,h,u){let p=b.find(t=>t.alias===e);if(void 0!==p||void 0!==(p=g.find(t=>t.alias===e))){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];p[t]=e}else p.bgColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];p[t]=e}else p.fontColor=i;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];p[t]=e}else p.borderColor=a;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];p[t]=e}else p.shadowing=s;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];p[t]=e}else p.shape=r;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];p[t]=e}else p.sprite=l;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];p[t]=e}else p.techn=o;if(null!=h)if("object"==typeof h){let[t,e]=Object.entries(h)[0];p[t]=e}else p.legendText=h;if(null!=u)if("object"==typeof u){let[t,e]=Object.entries(u)[0];p[t]=e}else p.legendSprite=u}},"updateElStyle"),$=(0,l.p)(function(t,e,n,i,a,s,r){let l=x.find(t=>t.from===e&&t.to===n);if(void 0!==l){if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.textColor=i;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]=e}else l.lineColor=a;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(s);if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(r)}},"updateRelStyle"),I=(0,l.p)(function(t,e,n){let i=T,a=C;i="object"==typeof e?parseInt(Object.values(e)[0]):parseInt(e),a="object"==typeof n?parseInt(Object.values(n)[0]):parseInt(n),i>=1&&(T=i),a>=1&&(C=a)},"updateLayoutConfig"),B=(0,l.p)(function(){return T},"getC4ShapeInRow"),j=(0,l.p)(function(){return C},"getC4BoundaryInRow"),Y=(0,l.p)(function(){return f},"getCurrentBoundaryParse"),U=(0,l.p)(function(){return m},"getParentBoundaryParse"),F=(0,l.p)(function(t){return null==t?b:b.filter(e=>e.parentBoundary===t)},"getC4ShapeArray"),z=(0,l.p)(function(t){return b.find(e=>e.alias===t)??g.find(e=>e.alias===t)},"getC4Shape"),X=(0,l.p)(function(t){return Object.keys(F(t))},"getC4ShapeKeys"),q=(0,l.p)(function(t){return null==t?g:g.filter(e=>e.parentBoundary===t)},"getBoundaries"),W=(0,l.p)(function(){return x},"getRels"),Q=(0,l.p)(function(){return E},"getTitle"),V=(0,l.p)(function(t){S=t},"setWrap"),H=(0,l.p)(function(){return S},"autoWrap"),K=(0,l.p)(function(){b=[],g=[y()],m="",f="global",_=[""],x=[],_=[""],E="",S=!1,T=4,C=2},"clear"),G=(0,l.p)(function(t){E=(0,s.g)(t,(0,s.z)())},"setTitle"),J={addPersonOrSystem:R,addPersonOrSystemBoundary:N,addContainer:P,addContainerBoundary:D,addComponent:w,addDeploymentNode:A,popBoundaryParseStack:L,addRel:v,updateElStyle:M,updateRelStyle:$,updateLayoutConfig:I,autoWrap:H,setWrap:V,getC4ShapeArray:F,getC4Shape:z,getC4ShapeKeys:X,getBoundaries:q,getBoundarys:q,getCurrentBoundaryParse:Y,getParentBoundaryParse:U,getRels:W,getTitle:Q,getC4Type:k,getC4ShapeInRow:B,getC4BoundaryInRow:j,setAccTitle:s.b,getAccTitle:s.c,getAccDescription:s.j,setAccDescription:s.B,getConfig:(0,l.p)(()=>u("c4"),"getConfig"),clear:K,LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:G,setC4Type:O},Z=(0,l.p)(function(t,e){return(0,n.J)(t,e)},"drawRect"),tt=(0,l.p)((t,e,n,i)=>{let a=t.append("g"),s=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",r=t.lineColor?t.lineColor:"#444444",l=t.offsetX?parseInt(String(t.offsetX)):0,o=t.offsetY?parseInt(String(t.offsetY)):0;if(0===s){let e=a.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",r),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url(#"+i+"-arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#"+i+"-arrowend)"),s=-1}else{let e=a.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url(#"+i+"-arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#"+i+"-arrowend)")}let h=t.label.width,u=n.messageFont();tc(n)(t.label.text,a,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+l,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+o,h,t.label.height,{fill:e},u),t.techn&&""!==t.techn.text&&(u=n.messageFont(),tc(n)("["+t.techn.text+"]",a,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+l,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+n.messageFontSize+5+o,Math.max(h,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},u))}},"drawRels"),te=(0,l.p)(function(t,e,n){let i=t.append("g"),a=e.bgColor?e.bgColor:"none",s=e.borderColor?e.borderColor:"#444444",r=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1}),Z(i,{x:e.x,y:e.y,fill:a,stroke:s,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l});let o=n.boundaryFont();o.fontWeight="bold",o.fontSize=o.fontSize+2,o.fontColor=r,tc(n)(e.label.text,i,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},o),e.type&&""!==e.type.text&&((o=n.boundaryFont()).fontColor=r,tc(n)(e.type.text,i,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},o)),e.descr&&""!==e.descr.text&&((o=n.boundaryFont()).fontSize=o.fontSize-2,o.fontColor=r,tc(n)(e.descr.text,i,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},o))},"drawBoundary"),tn=(0,l.p)(function(t,e){t.append("defs").append("symbol").attr("id",e+"-database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),ti=(0,l.p)(function(t,e){t.append("defs").append("symbol").attr("id",e+"-computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),ta=(0,l.p)(function(t,e){t.append("defs").append("symbol").attr("id",e+"-clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),ts=(0,l.p)(function(t,e){t.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},"insertArrowHead"),tr=(0,l.p)(function(t,e){t.append("defs").append("marker").attr("id",e+"-arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},"insertArrowEnd"),tl=(0,l.p)(function(t,e){t.append("defs").append("marker").attr("id",e+"-filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),to=(0,l.p)(function(t,e){let n=t.append("defs").append("marker").attr("id",e+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);n.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),n.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},"insertArrowCrossHead"),tc=function(){function t(t,e,n,a,s,r,l){i(e.append("text").attr("x",n+s/2).attr("y",a+r/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,n,a,r,l,o,h){let{fontSize:u,fontFamily:p,fontWeight:d}=h,y=t.split(s.E.lineBreakRegex);for(let t=0;t<y.length;t++){let s=t*u-u*(y.length-1)/2,l=e.append("text").attr("x",n+r/2).attr("y",a).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",u).style("font-weight",d).style("font-family",p);l.append("tspan").attr("dy",s).text(y[t]).attr("alignment-baseline","mathematical"),i(l,o)}}function n(t,n,a,s,r,l,o,h){let u=n.append("switch"),p=u.append("foreignObject").attr("x",a).attr("y",s).attr("width",r).attr("height",l).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");p.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,u,a,s,r,l,o,h),i(p,o)}function i(t,e){for(let n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return(0,l.p)(t,"byText"),(0,l.p)(e,"byTspan"),(0,l.p)(n,"byFo"),(0,l.p)(i,"_setTextAttrs"),function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),th=(0,l.p)((t,e)=>{if("sandbox"===e){let e=(0,o.f)("#i"+t),n=e.node()?.contentDocument;if(!n)throw Error(`Sandbox iframe #i${t} is missing its content document`);return{root:(0,o.f)(n.body),doc:n}}return{root:(0,o.f)("body"),doc:document}},"getDiagramRoot"),tu=new Set(["system_queue","external_system_queue","container_queue","external_container_queue","component_queue","external_component_queue"]),tp=new Set(["system_db","external_system_db","container_db","external_container_db","component_db","external_component_db"]),td={person:"person",box:"rounded",rounded:"rounded",cylinder:"cylinder",database:"cylinder",db:"cylinder",queue:"h-cyl",pipe:"h-cyl",component:"fr-rect"},ty=(0,l.p)(t=>t?td[t.toLowerCase()]:void 0,"keywordShape"),tb=(0,l.p)(t=>{let e=ty(t.shape)??ty(t.sprite);if(e)return e;if(t.tags)for(let e of t.tags.split(",")){let t=ty(e.trim());if(t)return t}let n=t.typeC4Shape.text;return"person"===n||"external_person"===n?"person":tp.has(n)?"cylinder":tu.has(n)?"h-cyl":"rounded"},"resolveNodeShape"),t_={person:"Person",system:"Software System",container:"Container",component:"Component"},tf=(0,l.p)(t=>{let e=t.replace(/^external_/,"").replace(/_(db|queue)$/,"");return t_[e]??e.replace(/_/g," ")},"stereotypeLabel"),tm=(0,l.p)(t=>t.startsWith("external_"),"isExternal"),tg=(0,l.p)(t=>{let e=tf(t.typeC4Shape.text);return t.techn?.text?`[${e}: ${t.techn.text}]`:`[${e}]`},"stereotypeText"),tx=["person","system","system_db","system_queue","container","container_db","container_queue","component","component_db","component_queue"].flatMap(t=>[t,`external_${t}`]),tE=new Set(tx),tS=(0,l.p)(t=>tE.has(t),"isC4ElementType"),tT=(0,l.p)((t,e)=>{let n=t.typeC4Shape.text,i=t.bgColor??(tS(n)&&e[`${n}_bg_color`]),a=t.borderColor??(tS(n)&&e[`${n}_border_color`]),s=[];return i&&s.push(`fill:${i}`),a&&s.push(`stroke:${a}`),s.push(`color:${t.fontColor??"#FFFFFF"}`),s},"elementCssStyles"),tC=(0,l.p)((t,e,n,i,a)=>{let s=t.typeC4Shape.text,r=["c4-shape",`c4-${s}`];tm(s)&&r.push("c4-external");let l=tb(t),o=tT(t,e);return("rounded"===l||"fr-rect"===l)&&o.push("rx:12px","ry:12px"),{id:t.alias,label:t.label.text,stereotype:tg(t),description:t.descr?.text?[t.descr.text]:void 0,labelType:"string",isGroup:!1,shape:l,cssClasses:r.join(" "),cssStyles:o,padding:n,look:i,useHtmlLabels:!1,width:a}},"buildC4Node"),tk=0,tO=0,tv=4,tR=2;h.yy=J;var tP={},tw=class{static{(0,l.p)(this,"Bounds")}constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,tN(t.db.getConfig())}setData(t,e,n,i){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=i}updateVal(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.stopx,n=this.data.widthLimit,i=this.nextData.startx===this.nextData.stopx?e+t.margin:e+2*t.margin,a=i+t.width,s=this.nextData.starty+2*t.margin,r=s+t.height;(i>=n||a>=n||this.nextData.cnt>tv)&&(i=this.nextData.startx+t.margin+tP.nextLinePaddingX,s=this.nextData.stopy+2*t.margin,this.nextData.stopx=a=i+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=s+t.height,this.nextData.cnt=1),t.x=i,t.y=s,this.updateVal(this.data,"startx",i,Math.min),this.updateVal(this.data,"starty",s,Math.min),this.updateVal(this.data,"stopx",a,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",i,Math.min),this.updateVal(this.nextData,"starty",s,Math.min),this.updateVal(this.nextData,"stopx",a,Math.max),this.updateVal(this.nextData,"stopy",r,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},tN(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}},tN=(0,l.p)(function(t){(0,s.L)(tP,t),t?.fontFamily&&(tP.personFontFamily=tP.systemFontFamily=tP.messageFontFamily=t.fontFamily),t?.fontSize&&(tP.personFontSize=tP.systemFontSize=tP.messageFontSize=t.fontSize),t?.fontWeight&&(tP.personFontWeight=tP.systemFontWeight=tP.messageFontWeight=t.fontWeight)},"setConf"),tD=(0,l.p)(t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),"boundaryFont"),tA=(0,l.p)(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont");function tL(t,e,n,i,r){let l=e[t];if(!l.width)if(n)l.text=(0,a.c)(l.text,r,i),l.textLines=l.text.split(s.E.lineBreakRegex).length,l.width=r,l.height=(0,a.H)(l.text,i);else{let t=l.text.split(s.E.lineBreakRegex);l.textLines=t.length;let e=0;for(let n of(l.height=0,l.width=0,t))l.width=Math.max((0,a.h)(n,i),l.width),e=(0,a.H)(n,i),l.height=l.height+e}return l}(0,l.p)(tL,"calcC4ShapeTextWH");var tM=(0,l.p)(function(t,e,n){let s=n.data.startx,r=n.data.starty;e.x=s,e.y=r,e.width=n.data.stopx-s,e.height=n.data.stopy-r,e.intersect=t=>i.c.rect({x:e.x+e.width/2,y:e.y+e.height/2,width:e.width,height:e.height},t),e.label.y=tP.c4ShapeMargin-35;let l=e.wrap&&tP.wrap,o=tD(tP);o.fontSize=o.fontSize+2,o.fontWeight="bold";let h=(0,a.h)(e.label.text,o);tL("label",e,l,o,h),te(t,e,tP)},"drawBoundary"),t$=(0,l.p)(async function(t,e,n,a){let r=(0,s.z)(),o=r.look??"classic",h={config:r},u=e.attr("id")??"",p=a.map(t=>n[Number(t)]),d=(0,l.p)(t=>{let e=t.shape?i.d[t.shape]:void 0;if(!e)throw Error(`C4: no shape handler for "${t.shape}"`);return e},"shapeHandlerFor");for(let n of(await Promise.all(p.map(async t=>{let n=tC(t,tP,tP.c4ShapePadding,o,tP.width);n.domId=`${u}-${n.id}`;let i=await d(n)(e,n,h);t.width=n.width??tP.width,t.height=n.height??tP.height,t.margin=tP.c4ShapeMargin,i.remove()})),p))t.insert(n);await Promise.all(p.map(async t=>{let n=tC(t,tP,tP.c4ShapePadding,o,tP.width);n.domId=`${u}-${n.id}`,n.x=t.x+t.width/2,n.y=t.y+t.height/2;let i=e.append("g").attr("transform",`translate(${t.x+t.width/2}, ${t.y+t.height/2})`);await d(n)(i,n,h),t.intersect=n.intersect})),t.bumpLastMargin(tP.c4ShapeMargin)},"drawC4ShapeArray"),tI=class{static{(0,l.p)(this,"Point")}constructor(t,e){this.x=t,this.y=e}},tB=(0,l.p)(function(t,e){if(!t.intersect)throw Error(`C4 element "${t.alias}" has no intersect function. Please report this to https://github.com/mermaid-js/mermaid/issues`);let{x:n,y:i}=t.intersect(e);return new tI(n,i)},"getIntersectPoint"),tj=(0,l.p)(function(t,e){let n={x:0,y:0};n.x=e.x+e.width/2,n.y=e.y+e.height/2;let i=tB(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:i,endPoint:tB(e,n)}},"getIntersectPoints"),tY=(0,l.p)(function(t,e,n,i,s){let r=i.db.getC4Type(),l=0;for(let t of e){l+=1;let e=t.wrap&&tP.wrap,i=tA(tP);"C4Dynamic"===r&&(t.label.text=l+": "+t.label.text);let s=(0,a.h)(t.label.text,i);tL("label",t,e,i,s),t.techn&&""!==t.techn.text&&(s=(0,a.h)(t.techn.text,i),tL("techn",t,e,i,s)),t.descr&&""!==t.descr.text&&(s=(0,a.h)(t.descr.text,i),tL("descr",t,e,i,s));let o=n(t.from),h=n(t.to);if(!o||!h)throw Error(`C4 rel "${t.from}" -> "${t.to}" references an unknown shape or boundary`);let u=tj(o,h);if(!u.startPoint||!u.endPoint)throw Error(`Could not calculate intersection points for rel "${t.from}" -> "${t.to}"`);t.startPoint=u.startPoint,t.endPoint=u.endPoint}tt(t,e,tP,s)},"drawRels");async function tU(t,e,n,i,a){let s=a.db,r=new tw(a);for(let[l,o]of(r.data.widthLimit=n.data.widthLimit/Math.min(tR,i.length),i.entries())){let i=0;o.image={width:0,height:0,Y:0},o.sprite&&(o.image.width=48,o.image.height=48,o.image.Y=i,i=o.image.Y+o.image.height);let h=o.wrap&&tP.wrap,u=tD(tP);u.fontSize=u.fontSize+2,u.fontWeight="bold";let p=tL("label",o,h,u,r.data.widthLimit);if(p.Y=i+8,i=p.Y+p.height,o.type&&""!==o.type.text){o.type.text="["+o.type.text+"]";let t=tL("type",o,h,tD(tP),r.data.widthLimit);t.Y=i+5,i=t.Y+t.height}if(o.descr&&""!==o.descr.text){let t=tD(tP);t.fontSize=t.fontSize-2;let e=tL("descr",o,h,t,r.data.widthLimit);e.Y=i+20,i=e.Y+e.height}if(0==l||l%tR==0){let t=n.data.startx+tP.diagramMarginX,e=n.data.stopy+tP.diagramMarginY+i;r.setData(t,t,e,e)}else{let t=r.data.stopx!==r.data.startx?r.data.stopx+tP.diagramMarginX:r.data.startx,e=r.data.starty;r.setData(t,t,e,e)}r.name=o.alias;let d=s.getC4ShapeArray(o.alias),y=s.getC4ShapeKeys(o.alias);y.length>0&&await t$(r,t,d,y),e=o.alias;let b=s.getBoundaries(e);b.length>0&&await tU(t,e,r,b,a),"global"!==o.alias&&tM(t,o,r),n.data.stopy=Math.max(r.data.stopy+tP.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(r.data.stopx+tP.c4ShapeMargin,n.data.stopx),tk=Math.max(tk,n.data.stopx),tO=Math.max(tO,n.data.stopy)}}(0,l.p)(tU,"drawInsideBoundary");var tF={drawPersonOrSystemArray:t$,drawBoundary:tM,setConf:tN,draw:(0,l.p)(async function(t,e,n,i){tP=u("c4");let{root:a}=th(e,(0,s.z)().securityLevel),l=i.db;l.setWrap(tP.wrap),tv=l.getC4ShapeInRow(),tR=l.getC4BoundaryInRow(),r.d.debug(`C:${JSON.stringify(tP,null,2)}`);let o=a.select(`[id="${e}"]`);ti(o,e),tn(o,e),ta(o,e);let h=new tw(i);h.setData(tP.diagramMarginX,tP.diagramMarginX,tP.diagramMarginY,tP.diagramMarginY),h.data.widthLimit=screen.availWidth,tk=tP.diagramMarginX,tO=tP.diagramMarginY;let p=l.getTitle(),d=l.getBoundaries("");await tU(o,"",h,d,i),ts(o,e),tr(o,e),to(o,e),tl(o,e),tY(o,l.getRels(),l.getC4Shape,i,e),h.data.stopx=tk,h.data.stopy=tO;let y=h.data,b=y.startx,_=y.starty,f=tO-_+2*tP.diagramMarginY,m=tk-b,g=m+2*tP.diagramMarginX;p&&o.append("text").text(p).attr("x",m/2-4*tP.diagramMarginX).attr("y",_+tP.diagramMarginY),(0,s.m)(o,f,g,tP.useMaxWidth);let x=60*!!p;o.attr("viewBox",b-tP.diagramMarginX+" -"+(tP.diagramMarginY+x)+" "+g+" "+(f+x)),r.d.debug("models:",y)},"draw")},tz=(0,l.p)(()=>{let t=(0,s.z)().c4??{},e=new CSSStyleSheet;for(let n of tx){let i=e.cssRules[e.insertRule(`.c4-shape.c4-${n} .label {}`,e.cssRules.length)],a=t[`${n}FontFamily`],s=t[`${n}FontSize`],r=t[`${n}FontWeight`];a&&i.style.setProperty("font-family",a),s&&i.style.setProperty("font-size","number"==typeof s?`${s}px`:s),r&&i.style.setProperty("font-weight",String(r))}return[...e.cssRules].filter(t=>t.style.length>0).map(t=>` ${t.cssText}`).join("\n")},"elementFontStyles"),tX={parser:h,db:J,renderer:tF,styles:(0,l.p)(t=>`.person {
2
+ stroke: ${t.personBorder};
3
+ fill: ${t.personBkg};
4
+ }
5
+ ${tz()}
6
+
7
+ /* The element font colour is set inline per element (default white); the
8
+ label text takes it via currentColor. */
9
+ .c4-shape .label,
10
+ .c4-shape .label text {
11
+ color: inherit;
12
+ fill: currentColor;
13
+ }
14
+ /* Structurizr typography: bold name, smaller stereotype/type and description lines. */
15
+ .c4-shape .label .c4-name {
16
+ font-weight: bold;
17
+ }
18
+ .c4-shape .label .c4-type {
19
+ font-size: 0.75em;
20
+ }
21
+ .c4-shape .label .c4-descr {
22
+ font-size: 0.82em;
23
+ }
24
+ .c4-shape .basic,
25
+ .c4-shape rect,
26
+ .c4-shape path,
27
+ .c4-shape circle,
28
+ .c4-shape ellipse,
29
+ .c4-shape line {
30
+ stroke-width: 2px;
31
+ }
32
+ `,"getStyles"),init:(0,l.p)(({c4:t,wrap:e})=>{tF.setConf(t),J.setWrap(e)},"init")};t.s(["diagram",0,tX])}]);