@baique/pi-web-sky 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 (604) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-path-routes-manifest.json +48 -0
  3. package/.next/build-manifest.json +20 -0
  4. package/.next/diagnostics/build-diagnostics.json +6 -0
  5. package/.next/diagnostics/framework.json +1 -0
  6. package/.next/export-marker.json +6 -0
  7. package/.next/images-manifest.json +68 -0
  8. package/.next/next-minimal-server.js.nft.json +1 -0
  9. package/.next/next-server.js.nft.json +1 -0
  10. package/.next/package.json +1 -0
  11. package/.next/prerender-manifest.json +161 -0
  12. package/.next/react-loadable-manifest.json +2367 -0
  13. package/.next/required-server-files.js +369 -0
  14. package/.next/required-server-files.json +369 -0
  15. package/.next/routes-manifest.json +386 -0
  16. package/.next/server/app/_global-error/page.js +31 -0
  17. package/.next/server/app/_global-error/page.js.nft.json +1 -0
  18. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -0
  19. package/.next/server/app/_global-error.html +1 -0
  20. package/.next/server/app/_global-error.meta +27 -0
  21. package/.next/server/app/_global-error.rsc +14 -0
  22. package/.next/server/app/_global-error.segments/_full.segment.rsc +14 -0
  23. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +20 -0
  24. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  25. package/.next/server/app/_not-found/page.js +1 -0
  26. package/.next/server/app/_not-found/page.js.nft.json +1 -0
  27. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
  28. package/.next/server/app/_not-found.html +1 -0
  29. package/.next/server/app/_not-found.meta +27 -0
  30. package/.next/server/app/_not-found.rsc +20 -0
  31. package/.next/server/app/_not-found.segments/_full.segment.rsc +20 -0
  32. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +24 -0
  33. package/.next/server/app/_not-found.segments/_tree.segment.rsc +5 -0
  34. package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -0
  35. package/.next/server/app/api/agent/[id]/bash-output/route.js.nft.json +1 -0
  36. package/.next/server/app/api/agent/[id]/bash-output/route_client-reference-manifest.js +1 -0
  37. package/.next/server/app/api/agent/[id]/events/route.js +3 -0
  38. package/.next/server/app/api/agent/[id]/events/route.js.nft.json +1 -0
  39. package/.next/server/app/api/agent/[id]/events/route_client-reference-manifest.js +1 -0
  40. package/.next/server/app/api/agent/[id]/route.js +1 -0
  41. package/.next/server/app/api/agent/[id]/route.js.nft.json +1 -0
  42. package/.next/server/app/api/agent/[id]/route_client-reference-manifest.js +1 -0
  43. package/.next/server/app/api/agent/new/route.js +1 -0
  44. package/.next/server/app/api/agent/new/route.js.nft.json +1 -0
  45. package/.next/server/app/api/agent/new/route_client-reference-manifest.js +1 -0
  46. package/.next/server/app/api/agent/running/events/route.js +3 -0
  47. package/.next/server/app/api/agent/running/events/route.js.nft.json +1 -0
  48. package/.next/server/app/api/agent/running/events/route_client-reference-manifest.js +1 -0
  49. package/.next/server/app/api/agent/running/route.js +1 -0
  50. package/.next/server/app/api/agent/running/route.js.nft.json +1 -0
  51. package/.next/server/app/api/agent/running/route_client-reference-manifest.js +1 -0
  52. package/.next/server/app/api/app-update/route.js +1 -0
  53. package/.next/server/app/api/app-update/route.js.nft.json +1 -0
  54. package/.next/server/app/api/app-update/route_client-reference-manifest.js +1 -0
  55. package/.next/server/app/api/auth/all-providers/route.js +1 -0
  56. package/.next/server/app/api/auth/all-providers/route.js.nft.json +1 -0
  57. package/.next/server/app/api/auth/all-providers/route_client-reference-manifest.js +1 -0
  58. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -0
  59. package/.next/server/app/api/auth/api-key/[provider]/route.js.nft.json +1 -0
  60. package/.next/server/app/api/auth/api-key/[provider]/route_client-reference-manifest.js +1 -0
  61. package/.next/server/app/api/auth/login/[provider]/route.js +3 -0
  62. package/.next/server/app/api/auth/login/[provider]/route.js.nft.json +1 -0
  63. package/.next/server/app/api/auth/login/[provider]/route_client-reference-manifest.js +1 -0
  64. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -0
  65. package/.next/server/app/api/auth/logout/[provider]/route.js.nft.json +1 -0
  66. package/.next/server/app/api/auth/logout/[provider]/route_client-reference-manifest.js +1 -0
  67. package/.next/server/app/api/auth/providers/route.js +1 -0
  68. package/.next/server/app/api/auth/providers/route.js.nft.json +1 -0
  69. package/.next/server/app/api/auth/providers/route_client-reference-manifest.js +1 -0
  70. package/.next/server/app/api/cwd/browse/route.js +1 -0
  71. package/.next/server/app/api/cwd/browse/route.js.nft.json +1 -0
  72. package/.next/server/app/api/cwd/browse/route_client-reference-manifest.js +1 -0
  73. package/.next/server/app/api/cwd/validate/route.js +1 -0
  74. package/.next/server/app/api/cwd/validate/route.js.nft.json +1 -0
  75. package/.next/server/app/api/cwd/validate/route_client-reference-manifest.js +1 -0
  76. package/.next/server/app/api/default-cwd/route.js +1 -0
  77. package/.next/server/app/api/default-cwd/route.js.nft.json +1 -0
  78. package/.next/server/app/api/default-cwd/route_client-reference-manifest.js +1 -0
  79. package/.next/server/app/api/file-index/route.js +1 -0
  80. package/.next/server/app/api/file-index/route.js.nft.json +1 -0
  81. package/.next/server/app/api/file-index/route_client-reference-manifest.js +1 -0
  82. package/.next/server/app/api/files/[...path]/route.js +49 -0
  83. package/.next/server/app/api/files/[...path]/route.js.nft.json +1 -0
  84. package/.next/server/app/api/files/[...path]/route_client-reference-manifest.js +1 -0
  85. package/.next/server/app/api/git/diff/route.js +6 -0
  86. package/.next/server/app/api/git/diff/route.js.nft.json +1 -0
  87. package/.next/server/app/api/git/diff/route_client-reference-manifest.js +1 -0
  88. package/.next/server/app/api/git/status/route.js +6 -0
  89. package/.next/server/app/api/git/status/route.js.nft.json +1 -0
  90. package/.next/server/app/api/git/status/route_client-reference-manifest.js +1 -0
  91. package/.next/server/app/api/home/route.js +1 -0
  92. package/.next/server/app/api/home/route.js.nft.json +1 -0
  93. package/.next/server/app/api/home/route_client-reference-manifest.js +1 -0
  94. package/.next/server/app/api/models/route.js +1 -0
  95. package/.next/server/app/api/models/route.js.nft.json +1 -0
  96. package/.next/server/app/api/models/route_client-reference-manifest.js +1 -0
  97. package/.next/server/app/api/models-config/catalog/route.js +1 -0
  98. package/.next/server/app/api/models-config/catalog/route.js.nft.json +1 -0
  99. package/.next/server/app/api/models-config/catalog/route_client-reference-manifest.js +1 -0
  100. package/.next/server/app/api/models-config/discover/route.js +1 -0
  101. package/.next/server/app/api/models-config/discover/route.js.nft.json +1 -0
  102. package/.next/server/app/api/models-config/discover/route_client-reference-manifest.js +1 -0
  103. package/.next/server/app/api/models-config/route.js +1 -0
  104. package/.next/server/app/api/models-config/route.js.nft.json +1 -0
  105. package/.next/server/app/api/models-config/route_client-reference-manifest.js +1 -0
  106. package/.next/server/app/api/models-config/test/route.js +1 -0
  107. package/.next/server/app/api/models-config/test/route.js.nft.json +1 -0
  108. package/.next/server/app/api/models-config/test/route_client-reference-manifest.js +1 -0
  109. package/.next/server/app/api/plugins/route.js +1 -0
  110. package/.next/server/app/api/plugins/route.js.nft.json +1 -0
  111. package/.next/server/app/api/plugins/route_client-reference-manifest.js +1 -0
  112. package/.next/server/app/api/project-trust/route.js +1 -0
  113. package/.next/server/app/api/project-trust/route.js.nft.json +1 -0
  114. package/.next/server/app/api/project-trust/route_client-reference-manifest.js +1 -0
  115. package/.next/server/app/api/sessions/[id]/auto-name/route.js +10 -0
  116. package/.next/server/app/api/sessions/[id]/auto-name/route.js.nft.json +1 -0
  117. package/.next/server/app/api/sessions/[id]/auto-name/route_client-reference-manifest.js +1 -0
  118. package/.next/server/app/api/sessions/[id]/context/route.js +1 -0
  119. package/.next/server/app/api/sessions/[id]/context/route.js.nft.json +1 -0
  120. package/.next/server/app/api/sessions/[id]/context/route_client-reference-manifest.js +1 -0
  121. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -0
  122. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js.nft.json +1 -0
  123. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route_client-reference-manifest.js +1 -0
  124. package/.next/server/app/api/sessions/[id]/export/route.js +54 -0
  125. package/.next/server/app/api/sessions/[id]/export/route.js.nft.json +1 -0
  126. package/.next/server/app/api/sessions/[id]/export/route_client-reference-manifest.js +1 -0
  127. package/.next/server/app/api/sessions/[id]/route.js +1 -0
  128. package/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -0
  129. package/.next/server/app/api/sessions/[id]/route_client-reference-manifest.js +1 -0
  130. package/.next/server/app/api/sessions/[id]/state/route.js +1 -0
  131. package/.next/server/app/api/sessions/[id]/state/route.js.nft.json +1 -0
  132. package/.next/server/app/api/sessions/[id]/state/route_client-reference-manifest.js +1 -0
  133. package/.next/server/app/api/sessions/[id]/todos/route.js +1 -0
  134. package/.next/server/app/api/sessions/[id]/todos/route.js.nft.json +1 -0
  135. package/.next/server/app/api/sessions/[id]/todos/route_client-reference-manifest.js +1 -0
  136. package/.next/server/app/api/sessions/route.js +1 -0
  137. package/.next/server/app/api/sessions/route.js.nft.json +1 -0
  138. package/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -0
  139. package/.next/server/app/api/skills/check/route.js +1 -0
  140. package/.next/server/app/api/skills/check/route.js.nft.json +1 -0
  141. package/.next/server/app/api/skills/check/route_client-reference-manifest.js +1 -0
  142. package/.next/server/app/api/skills/install/route.js +1 -0
  143. package/.next/server/app/api/skills/install/route.js.nft.json +1 -0
  144. package/.next/server/app/api/skills/install/route_client-reference-manifest.js +1 -0
  145. package/.next/server/app/api/skills/route.js +6 -0
  146. package/.next/server/app/api/skills/route.js.nft.json +1 -0
  147. package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -0
  148. package/.next/server/app/api/skills/search/route.js +1 -0
  149. package/.next/server/app/api/skills/search/route.js.nft.json +1 -0
  150. package/.next/server/app/api/skills/search/route_client-reference-manifest.js +1 -0
  151. package/.next/server/app/api/skills/update/route.js +1 -0
  152. package/.next/server/app/api/skills/update/route.js.nft.json +1 -0
  153. package/.next/server/app/api/skills/update/route_client-reference-manifest.js +1 -0
  154. package/.next/server/app/api/worktrees/route.js +1 -0
  155. package/.next/server/app/api/worktrees/route.js.nft.json +1 -0
  156. package/.next/server/app/api/worktrees/route_client-reference-manifest.js +1 -0
  157. package/.next/server/app/favicon.ico/route.js +1 -0
  158. package/.next/server/app/favicon.ico/route.js.nft.json +1 -0
  159. package/.next/server/app/favicon.ico.body +0 -0
  160. package/.next/server/app/favicon.ico.meta +1 -0
  161. package/.next/server/app/index.html +1 -0
  162. package/.next/server/app/index.meta +21 -0
  163. package/.next/server/app/index.rsc +21 -0
  164. package/.next/server/app/index.segments/__PAGE__.segment.rsc +24 -0
  165. package/.next/server/app/index.segments/_full.segment.rsc +21 -0
  166. package/.next/server/app/index.segments/_tree.segment.rsc +6 -0
  167. package/.next/server/app/manifest.webmanifest/route.js +17 -0
  168. package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -0
  169. package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -0
  170. package/.next/server/app/manifest.webmanifest.body +1 -0
  171. package/.next/server/app/manifest.webmanifest.meta +1 -0
  172. package/.next/server/app/page.js +93 -0
  173. package/.next/server/app/page.js.nft.json +1 -0
  174. package/.next/server/app/page_client-reference-manifest.js +1 -0
  175. package/.next/server/app-paths-manifest.json +48 -0
  176. package/.next/server/chunks/1094.js +160 -0
  177. package/.next/server/chunks/1515.js +1 -0
  178. package/.next/server/chunks/1555.js +1 -0
  179. package/.next/server/chunks/1601.js +24 -0
  180. package/.next/server/chunks/1625.js +1 -0
  181. package/.next/server/chunks/1800.js +1 -0
  182. package/.next/server/chunks/1813.js +1 -0
  183. package/.next/server/chunks/1860.js +1 -0
  184. package/.next/server/chunks/2075.js +23 -0
  185. package/.next/server/chunks/2106.js +1 -0
  186. package/.next/server/chunks/2169.js +36 -0
  187. package/.next/server/chunks/2190.js +1 -0
  188. package/.next/server/chunks/2325.js +82 -0
  189. package/.next/server/chunks/2349.js +1 -0
  190. package/.next/server/chunks/2408.js +1 -0
  191. package/.next/server/chunks/2430.js +193 -0
  192. package/.next/server/chunks/2452.js +93 -0
  193. package/.next/server/chunks/2744.js +1 -0
  194. package/.next/server/chunks/2903.js +1 -0
  195. package/.next/server/chunks/295.js +1 -0
  196. package/.next/server/chunks/3012.js +1 -0
  197. package/.next/server/chunks/3186.js +86 -0
  198. package/.next/server/chunks/3379.js +1 -0
  199. package/.next/server/chunks/3383.js +27 -0
  200. package/.next/server/chunks/3569.js +1 -0
  201. package/.next/server/chunks/3869.js +8 -0
  202. package/.next/server/chunks/3894.js +1 -0
  203. package/.next/server/chunks/4267.js +1 -0
  204. package/.next/server/chunks/4315.js +1 -0
  205. package/.next/server/chunks/4367.js +1 -0
  206. package/.next/server/chunks/4372.js +1 -0
  207. package/.next/server/chunks/4538.js +24 -0
  208. package/.next/server/chunks/4548.js +1 -0
  209. package/.next/server/chunks/4563.js +38 -0
  210. package/.next/server/chunks/4674.js +1 -0
  211. package/.next/server/chunks/4741.js +165 -0
  212. package/.next/server/chunks/4980.js +1 -0
  213. package/.next/server/chunks/5029.js +1 -0
  214. package/.next/server/chunks/5318.js +1 -0
  215. package/.next/server/chunks/5582.js +3 -0
  216. package/.next/server/chunks/5974.js +77 -0
  217. package/.next/server/chunks/6052.js +141 -0
  218. package/.next/server/chunks/611.js +1 -0
  219. package/.next/server/chunks/6253.js +104 -0
  220. package/.next/server/chunks/6337.js +1 -0
  221. package/.next/server/chunks/6366.js +80 -0
  222. package/.next/server/chunks/6429.js +1 -0
  223. package/.next/server/chunks/673.js +287 -0
  224. package/.next/server/chunks/6916.js +226 -0
  225. package/.next/server/chunks/703.js +1 -0
  226. package/.next/server/chunks/7233.js +1 -0
  227. package/.next/server/chunks/7265.js +215 -0
  228. package/.next/server/chunks/7307.js +1 -0
  229. package/.next/server/chunks/7561.js +1 -0
  230. package/.next/server/chunks/7710.js +1 -0
  231. package/.next/server/chunks/7744.js +64 -0
  232. package/.next/server/chunks/7790.js +1 -0
  233. package/.next/server/chunks/7799.js +34 -0
  234. package/.next/server/chunks/7872.js +1 -0
  235. package/.next/server/chunks/8106.js +1 -0
  236. package/.next/server/chunks/8294.js +1 -0
  237. package/.next/server/chunks/8333.js +79 -0
  238. package/.next/server/chunks/835.js +1 -0
  239. package/.next/server/chunks/8397.js +41 -0
  240. package/.next/server/chunks/8604.js +115 -0
  241. package/.next/server/chunks/8713.js +148 -0
  242. package/.next/server/chunks/8782.js +153 -0
  243. package/.next/server/chunks/8920.js +62 -0
  244. package/.next/server/chunks/922.js +5 -0
  245. package/.next/server/chunks/9280.js +255 -0
  246. package/.next/server/chunks/9486.js +1 -0
  247. package/.next/server/chunks/9509.js +1 -0
  248. package/.next/server/chunks/9510.js +90 -0
  249. package/.next/server/chunks/974.js +1 -0
  250. package/.next/server/functions-config-manifest.json +19 -0
  251. package/.next/server/instrumentation.js +1 -0
  252. package/.next/server/instrumentation.js.nft.json +1 -0
  253. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  254. package/.next/server/middleware-build-manifest.js +1 -0
  255. package/.next/server/middleware-manifest.json +6 -0
  256. package/.next/server/middleware-react-loadable-manifest.js +1 -0
  257. package/.next/server/middleware.js +163 -0
  258. package/.next/server/middleware.js.nft.json +1 -0
  259. package/.next/server/next-font-manifest.js +1 -0
  260. package/.next/server/next-font-manifest.json +1 -0
  261. package/.next/server/pages/404.html +1 -0
  262. package/.next/server/pages/500.html +1 -0
  263. package/.next/server/pages-manifest.json +4 -0
  264. package/.next/server/prefetch-hints.json +39 -0
  265. package/.next/server/server-reference-manifest.js +1 -0
  266. package/.next/server/server-reference-manifest.json +1 -0
  267. package/.next/server/webpack-runtime.js +1 -0
  268. package/.next/static/chunks/103.23142a67b02246a8.js +215 -0
  269. package/.next/static/chunks/1032.12b382a9096ab2a4.js +1 -0
  270. package/.next/static/chunks/1063.775c442bdbeef08b.js +1 -0
  271. package/.next/static/chunks/1327.09252bb80616cc3a.js +1 -0
  272. package/.next/static/chunks/1708.d029f8776e4578de.js +1 -0
  273. package/.next/static/chunks/1781.866132cea8e77cd0.js +1 -0
  274. package/.next/static/chunks/1ba63609.b2ae90f43319a29e.js +153 -0
  275. package/.next/static/chunks/2081.47b6e9391094055f.js +1 -0
  276. package/.next/static/chunks/2181.ba21239d3ac39f81.js +1 -0
  277. package/.next/static/chunks/2258.4defa30121ef44a5.js +1 -0
  278. package/.next/static/chunks/2325.23caf22075e51aa5.js +1 -0
  279. package/.next/static/chunks/2356.523277bb8c6bf72a.js +23 -0
  280. package/.next/static/chunks/2418.b5d9e177e10a686e.js +1 -0
  281. package/.next/static/chunks/2480.cf27ca02e5b19761.js +24 -0
  282. package/.next/static/chunks/2539.c5a4f2fd8e421c70.js +41 -0
  283. package/.next/static/chunks/2619.9431a3f48da8eef4.js +1 -0
  284. package/.next/static/chunks/268.72794ee2773c2060.js +80 -0
  285. package/.next/static/chunks/2695.6f49435bae1e6f33.js +90 -0
  286. package/.next/static/chunks/2703.495a65ed14b2f094.js +36 -0
  287. package/.next/static/chunks/2821.934bcf60fbdc28c6.js +1 -0
  288. package/.next/static/chunks/3249-d891ccff87c62b6d.js +7 -0
  289. package/.next/static/chunks/3251.0dce7a0a0ff67235.js +1 -0
  290. package/.next/static/chunks/3308.be8762955e7155d1.js +73 -0
  291. package/.next/static/chunks/3336.a76f9485fe7cb762.js +1 -0
  292. package/.next/static/chunks/370.8e8f3cf8eb0e29dd.js +1 -0
  293. package/.next/static/chunks/3716.72bf4c9d7325debd.js +1 -0
  294. package/.next/static/chunks/3794-d29203733ca4633c.js +52 -0
  295. package/.next/static/chunks/398.ffa02af9062a3950.js +77 -0
  296. package/.next/static/chunks/3995.eca0f5bef1fc3ae5.js +38 -0
  297. package/.next/static/chunks/4004.74b9bcf5478b1663.js +160 -0
  298. package/.next/static/chunks/4202.8440832386f023c7.js +226 -0
  299. package/.next/static/chunks/4238.6f102dcbcf2ae339.js +141 -0
  300. package/.next/static/chunks/4405.7a19458960a1058e.js +287 -0
  301. package/.next/static/chunks/4424.fd0c93a807a333e1.js +1 -0
  302. package/.next/static/chunks/4866.d1060b4faf2ae1e2.js +1 -0
  303. package/.next/static/chunks/4970.8a63b4953b0e4946.js +1 -0
  304. package/.next/static/chunks/4bd1b696-8a4ab4fdf0ae305a.js +1 -0
  305. package/.next/static/chunks/5020.9ac8d0dc8390bb6e.js +1 -0
  306. package/.next/static/chunks/5137.f163e94c74a94d01.js +1 -0
  307. package/.next/static/chunks/5242.7b643c6b3394cac1.js +1 -0
  308. package/.next/static/chunks/5361.afc00ab2626bacbf.js +1 -0
  309. package/.next/static/chunks/5521.cfdf2cfc6db31407.js +1 -0
  310. package/.next/static/chunks/5526.ff46471041fdcb79.js +86 -0
  311. package/.next/static/chunks/5681.dd0e66b0de16e54b.js +27 -0
  312. package/.next/static/chunks/6121.eb9023b1cbc78ee2.js +1 -0
  313. package/.next/static/chunks/6161.4836cd7d031026bf.js +1 -0
  314. package/.next/static/chunks/6195.1153369f5f8b13a2.js +24 -0
  315. package/.next/static/chunks/6294.24f510c0c3e3714c.js +1 -0
  316. package/.next/static/chunks/6654.16f727522ec47f5a.js +1 -0
  317. package/.next/static/chunks/6794.f746d8fbbf248ecf.js +93 -0
  318. package/.next/static/chunks/7256.e07cf52d87d40252.js +1 -0
  319. package/.next/static/chunks/7268.236544be8e242c16.js +1 -0
  320. package/.next/static/chunks/7331.2add3c4e125a2dba.js +104 -0
  321. package/.next/static/chunks/7543.89f7b805ed0f2901.js +1 -0
  322. package/.next/static/chunks/8200.a36b9f8c983c6b9e.js +5 -0
  323. package/.next/static/chunks/869.7152372b662e31af.js +1 -0
  324. package/.next/static/chunks/8863.fa0320ea586efb3b.js +1 -0
  325. package/.next/static/chunks/8885.cf60cac98bf8b70c.js +79 -0
  326. package/.next/static/chunks/8901.e117d206a917bda0.js +1 -0
  327. package/.next/static/chunks/90542734.ae439f2382f58c51.js +1 -0
  328. package/.next/static/chunks/918.6a9bbe564e4a2d0f.js +115 -0
  329. package/.next/static/chunks/934.9006461bd0548660.js +1 -0
  330. package/.next/static/chunks/9522.c7c6e9c330f9ba6b.js +1 -0
  331. package/.next/static/chunks/9614.3221013d7f0af27f.js +64 -0
  332. package/.next/static/chunks/9698.4d09a99b9d99f3e5.js +148 -0
  333. package/.next/static/chunks/9705.40a82b97f214e28b.js +1 -0
  334. package/.next/static/chunks/973.88e865b52eff479a.js +8 -0
  335. package/.next/static/chunks/9764.2669775c6e107a01.js +62 -0
  336. package/.next/static/chunks/9793.4567af813117ad25.js +1 -0
  337. package/.next/static/chunks/993e5495.8797001fcfcf2889.js +62 -0
  338. package/.next/static/chunks/9974.9a0f79beca65e8c4.js +34 -0
  339. package/.next/static/chunks/app/_global-error/page-13f6e99c6fd8ad23.js +1 -0
  340. package/.next/static/chunks/app/_not-found/page-af4fe23994cb3d66.js +1 -0
  341. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-13f6e99c6fd8ad23.js +1 -0
  342. package/.next/static/chunks/app/api/agent/[id]/events/route-13f6e99c6fd8ad23.js +1 -0
  343. package/.next/static/chunks/app/api/agent/[id]/route-13f6e99c6fd8ad23.js +1 -0
  344. package/.next/static/chunks/app/api/agent/new/route-13f6e99c6fd8ad23.js +1 -0
  345. package/.next/static/chunks/app/api/agent/running/events/route-13f6e99c6fd8ad23.js +1 -0
  346. package/.next/static/chunks/app/api/agent/running/route-13f6e99c6fd8ad23.js +1 -0
  347. package/.next/static/chunks/app/api/app-update/route-13f6e99c6fd8ad23.js +1 -0
  348. package/.next/static/chunks/app/api/auth/all-providers/route-13f6e99c6fd8ad23.js +1 -0
  349. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-13f6e99c6fd8ad23.js +1 -0
  350. package/.next/static/chunks/app/api/auth/login/[provider]/route-13f6e99c6fd8ad23.js +1 -0
  351. package/.next/static/chunks/app/api/auth/logout/[provider]/route-13f6e99c6fd8ad23.js +1 -0
  352. package/.next/static/chunks/app/api/auth/providers/route-13f6e99c6fd8ad23.js +1 -0
  353. package/.next/static/chunks/app/api/cwd/browse/route-13f6e99c6fd8ad23.js +1 -0
  354. package/.next/static/chunks/app/api/cwd/validate/route-13f6e99c6fd8ad23.js +1 -0
  355. package/.next/static/chunks/app/api/default-cwd/route-13f6e99c6fd8ad23.js +1 -0
  356. package/.next/static/chunks/app/api/file-index/route-13f6e99c6fd8ad23.js +1 -0
  357. package/.next/static/chunks/app/api/files/[...path]/route-13f6e99c6fd8ad23.js +1 -0
  358. package/.next/static/chunks/app/api/git/diff/route-13f6e99c6fd8ad23.js +1 -0
  359. package/.next/static/chunks/app/api/git/status/route-13f6e99c6fd8ad23.js +1 -0
  360. package/.next/static/chunks/app/api/home/route-13f6e99c6fd8ad23.js +1 -0
  361. package/.next/static/chunks/app/api/models/route-13f6e99c6fd8ad23.js +1 -0
  362. package/.next/static/chunks/app/api/models-config/catalog/route-13f6e99c6fd8ad23.js +1 -0
  363. package/.next/static/chunks/app/api/models-config/discover/route-13f6e99c6fd8ad23.js +1 -0
  364. package/.next/static/chunks/app/api/models-config/route-13f6e99c6fd8ad23.js +1 -0
  365. package/.next/static/chunks/app/api/models-config/test/route-13f6e99c6fd8ad23.js +1 -0
  366. package/.next/static/chunks/app/api/plugins/route-13f6e99c6fd8ad23.js +1 -0
  367. package/.next/static/chunks/app/api/project-trust/route-13f6e99c6fd8ad23.js +1 -0
  368. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-13f6e99c6fd8ad23.js +1 -0
  369. package/.next/static/chunks/app/api/sessions/[id]/context/route-13f6e99c6fd8ad23.js +1 -0
  370. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-13f6e99c6fd8ad23.js +1 -0
  371. package/.next/static/chunks/app/api/sessions/[id]/export/route-13f6e99c6fd8ad23.js +1 -0
  372. package/.next/static/chunks/app/api/sessions/[id]/route-13f6e99c6fd8ad23.js +1 -0
  373. package/.next/static/chunks/app/api/sessions/[id]/state/route-13f6e99c6fd8ad23.js +1 -0
  374. package/.next/static/chunks/app/api/sessions/[id]/todos/route-13f6e99c6fd8ad23.js +1 -0
  375. package/.next/static/chunks/app/api/sessions/route-13f6e99c6fd8ad23.js +1 -0
  376. package/.next/static/chunks/app/api/skills/check/route-13f6e99c6fd8ad23.js +1 -0
  377. package/.next/static/chunks/app/api/skills/install/route-13f6e99c6fd8ad23.js +1 -0
  378. package/.next/static/chunks/app/api/skills/route-13f6e99c6fd8ad23.js +1 -0
  379. package/.next/static/chunks/app/api/skills/search/route-13f6e99c6fd8ad23.js +1 -0
  380. package/.next/static/chunks/app/api/skills/update/route-13f6e99c6fd8ad23.js +1 -0
  381. package/.next/static/chunks/app/api/worktrees/route-13f6e99c6fd8ad23.js +1 -0
  382. package/.next/static/chunks/app/layout-e13da2c32b9945e1.js +1 -0
  383. package/.next/static/chunks/app/manifest.webmanifest/route-13f6e99c6fd8ad23.js +1 -0
  384. package/.next/static/chunks/app/page-b99ee1f741615942.js +87 -0
  385. package/.next/static/chunks/bf2ff291.3a109dffc1fe84af.js +122 -0
  386. package/.next/static/chunks/d3ac728e-7964f816a1ca64e5.js +1 -0
  387. package/.next/static/chunks/da12927c.476aa688a637649c.js +82 -0
  388. package/.next/static/chunks/db9d41be.e72ce090a86a3691.js +1 -0
  389. package/.next/static/chunks/framework-b33a8f5d57cd8d87.js +1 -0
  390. package/.next/static/chunks/main-430d592a1108ec6e.js +5 -0
  391. package/.next/static/chunks/main-app-b3e8a8d15d83e1f0.js +1 -0
  392. package/.next/static/chunks/next/dist/client/components/builtin/app-error-13f6e99c6fd8ad23.js +1 -0
  393. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-13f6e99c6fd8ad23.js +1 -0
  394. package/.next/static/chunks/next/dist/client/components/builtin/global-error-00a4badaccb388e6.js +1 -0
  395. package/.next/static/chunks/next/dist/client/components/builtin/not-found-13f6e99c6fd8ad23.js +1 -0
  396. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-13f6e99c6fd8ad23.js +1 -0
  397. package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  398. package/.next/static/chunks/webpack-84e477ecef987e5c.js +1 -0
  399. package/.next/static/css/4cbedad236d913cb.css +1 -0
  400. package/.next/static/css/4f1c05a951b42320.css +1 -0
  401. package/.next/static/css/88714c00e109ce28.css +1 -0
  402. package/.next/static/media/15605e25b523335c-s.woff2 +0 -0
  403. package/.next/static/media/1a3dce5cfb5f7760-s.woff2 +0 -0
  404. package/.next/static/media/1cdd02902f937a18-s.woff2 +0 -0
  405. package/.next/static/media/4c4b3b30b6bcb2be-s.woff2 +0 -0
  406. package/.next/static/media/641a7b8a5800ee0e-s.woff2 +0 -0
  407. package/.next/static/media/7deddc85b7ffd1dc-s.p.woff2 +0 -0
  408. package/.next/static/media/KaTeX_AMS-Regular.1608a09b.woff +0 -0
  409. package/.next/static/media/KaTeX_AMS-Regular.4aafdb68.ttf +0 -0
  410. package/.next/static/media/KaTeX_AMS-Regular.a79f1c31.woff2 +0 -0
  411. package/.next/static/media/KaTeX_Caligraphic-Bold.b6770918.woff +0 -0
  412. package/.next/static/media/KaTeX_Caligraphic-Bold.cce5b8ec.ttf +0 -0
  413. package/.next/static/media/KaTeX_Caligraphic-Bold.ec17d132.woff2 +0 -0
  414. package/.next/static/media/KaTeX_Caligraphic-Regular.07ef19e7.ttf +0 -0
  415. package/.next/static/media/KaTeX_Caligraphic-Regular.55fac258.woff2 +0 -0
  416. package/.next/static/media/KaTeX_Caligraphic-Regular.dad44a7f.woff +0 -0
  417. package/.next/static/media/KaTeX_Fraktur-Bold.9f256b85.woff +0 -0
  418. package/.next/static/media/KaTeX_Fraktur-Bold.b18f59e1.ttf +0 -0
  419. package/.next/static/media/KaTeX_Fraktur-Bold.d42a5579.woff2 +0 -0
  420. package/.next/static/media/KaTeX_Fraktur-Regular.7c187121.woff +0 -0
  421. package/.next/static/media/KaTeX_Fraktur-Regular.d3c882a6.woff2 +0 -0
  422. package/.next/static/media/KaTeX_Fraktur-Regular.ed38e79f.ttf +0 -0
  423. package/.next/static/media/KaTeX_Main-Bold.b74a1a8b.ttf +0 -0
  424. package/.next/static/media/KaTeX_Main-Bold.c3fb5ac2.woff2 +0 -0
  425. package/.next/static/media/KaTeX_Main-Bold.d181c465.woff +0 -0
  426. package/.next/static/media/KaTeX_Main-BoldItalic.6f2bb1df.woff2 +0 -0
  427. package/.next/static/media/KaTeX_Main-BoldItalic.70d8b0a5.ttf +0 -0
  428. package/.next/static/media/KaTeX_Main-BoldItalic.e3f82f9d.woff +0 -0
  429. package/.next/static/media/KaTeX_Main-Italic.47373d1e.ttf +0 -0
  430. package/.next/static/media/KaTeX_Main-Italic.8916142b.woff2 +0 -0
  431. package/.next/static/media/KaTeX_Main-Italic.9024d815.woff +0 -0
  432. package/.next/static/media/KaTeX_Main-Regular.0462f03b.woff2 +0 -0
  433. package/.next/static/media/KaTeX_Main-Regular.7f51fe03.woff +0 -0
  434. package/.next/static/media/KaTeX_Main-Regular.b7f8fe9b.ttf +0 -0
  435. package/.next/static/media/KaTeX_Math-BoldItalic.572d331f.woff2 +0 -0
  436. package/.next/static/media/KaTeX_Math-BoldItalic.a879cf83.ttf +0 -0
  437. package/.next/static/media/KaTeX_Math-BoldItalic.f1035d8d.woff +0 -0
  438. package/.next/static/media/KaTeX_Math-Italic.5295ba48.woff +0 -0
  439. package/.next/static/media/KaTeX_Math-Italic.939bc644.ttf +0 -0
  440. package/.next/static/media/KaTeX_Math-Italic.f28c23ac.woff2 +0 -0
  441. package/.next/static/media/KaTeX_SansSerif-Bold.8c5b5494.woff2 +0 -0
  442. package/.next/static/media/KaTeX_SansSerif-Bold.94e1e8dc.ttf +0 -0
  443. package/.next/static/media/KaTeX_SansSerif-Bold.bf59d231.woff +0 -0
  444. package/.next/static/media/KaTeX_SansSerif-Italic.3b1e59b3.woff2 +0 -0
  445. package/.next/static/media/KaTeX_SansSerif-Italic.7c9bc82b.woff +0 -0
  446. package/.next/static/media/KaTeX_SansSerif-Italic.b4c20c84.ttf +0 -0
  447. package/.next/static/media/KaTeX_SansSerif-Regular.74048478.woff +0 -0
  448. package/.next/static/media/KaTeX_SansSerif-Regular.ba21ed5f.woff2 +0 -0
  449. package/.next/static/media/KaTeX_SansSerif-Regular.d4d7ba48.ttf +0 -0
  450. package/.next/static/media/KaTeX_Script-Regular.03e9641d.woff2 +0 -0
  451. package/.next/static/media/KaTeX_Script-Regular.07505710.woff +0 -0
  452. package/.next/static/media/KaTeX_Script-Regular.fe9cbbe1.ttf +0 -0
  453. package/.next/static/media/KaTeX_Size1-Regular.e1e279cb.woff +0 -0
  454. package/.next/static/media/KaTeX_Size1-Regular.eae34984.woff2 +0 -0
  455. package/.next/static/media/KaTeX_Size1-Regular.fabc004a.ttf +0 -0
  456. package/.next/static/media/KaTeX_Size2-Regular.57727022.woff +0 -0
  457. package/.next/static/media/KaTeX_Size2-Regular.5916a24f.woff2 +0 -0
  458. package/.next/static/media/KaTeX_Size2-Regular.d6b476ec.ttf +0 -0
  459. package/.next/static/media/KaTeX_Size3-Regular.9acaf01c.woff +0 -0
  460. package/.next/static/media/KaTeX_Size3-Regular.a144ef58.ttf +0 -0
  461. package/.next/static/media/KaTeX_Size3-Regular.b4230e7e.woff2 +0 -0
  462. package/.next/static/media/KaTeX_Size4-Regular.10d95fd3.woff2 +0 -0
  463. package/.next/static/media/KaTeX_Size4-Regular.7a996c9d.woff +0 -0
  464. package/.next/static/media/KaTeX_Size4-Regular.fbccdabe.ttf +0 -0
  465. package/.next/static/media/KaTeX_Typewriter-Regular.6258592b.woff +0 -0
  466. package/.next/static/media/KaTeX_Typewriter-Regular.a8709e36.woff2 +0 -0
  467. package/.next/static/media/KaTeX_Typewriter-Regular.d97aaf4a.ttf +0 -0
  468. package/.next/static/media/ec14413c594b3356-s.p.woff2 +0 -0
  469. package/.next/static/zL8d0yAvyIXQ8s3Kyfvnp/_buildManifest.js +1 -0
  470. package/.next/static/zL8d0yAvyIXQ8s3Kyfvnp/_ssgManifest.js +1 -0
  471. package/.next/trace +42 -0
  472. package/.next/trace-build +1 -0
  473. package/.next/types/app/api/agent/[id]/bash-output/route.ts +353 -0
  474. package/.next/types/app/api/agent/[id]/events/route.ts +353 -0
  475. package/.next/types/app/api/agent/[id]/route.ts +353 -0
  476. package/.next/types/app/api/agent/new/route.ts +353 -0
  477. package/.next/types/app/api/agent/running/events/route.ts +353 -0
  478. package/.next/types/app/api/agent/running/route.ts +353 -0
  479. package/.next/types/app/api/app-update/route.ts +353 -0
  480. package/.next/types/app/api/auth/all-providers/route.ts +353 -0
  481. package/.next/types/app/api/auth/api-key/[provider]/route.ts +353 -0
  482. package/.next/types/app/api/auth/login/[provider]/route.ts +353 -0
  483. package/.next/types/app/api/auth/logout/[provider]/route.ts +353 -0
  484. package/.next/types/app/api/auth/providers/route.ts +353 -0
  485. package/.next/types/app/api/cwd/browse/route.ts +353 -0
  486. package/.next/types/app/api/cwd/validate/route.ts +353 -0
  487. package/.next/types/app/api/default-cwd/route.ts +353 -0
  488. package/.next/types/app/api/file-index/route.ts +353 -0
  489. package/.next/types/app/api/files/[...path]/route.ts +353 -0
  490. package/.next/types/app/api/git/diff/route.ts +353 -0
  491. package/.next/types/app/api/git/status/route.ts +353 -0
  492. package/.next/types/app/api/home/route.ts +353 -0
  493. package/.next/types/app/api/models/route.ts +353 -0
  494. package/.next/types/app/api/models-config/catalog/route.ts +353 -0
  495. package/.next/types/app/api/models-config/discover/route.ts +353 -0
  496. package/.next/types/app/api/models-config/route.ts +353 -0
  497. package/.next/types/app/api/models-config/test/route.ts +353 -0
  498. package/.next/types/app/api/plugins/route.ts +353 -0
  499. package/.next/types/app/api/project-trust/route.ts +353 -0
  500. package/.next/types/app/api/sessions/[id]/auto-name/route.ts +353 -0
  501. package/.next/types/app/api/sessions/[id]/context/route.ts +353 -0
  502. package/.next/types/app/api/sessions/[id]/entries/[entryId]/thinking/route.ts +353 -0
  503. package/.next/types/app/api/sessions/[id]/export/route.ts +353 -0
  504. package/.next/types/app/api/sessions/[id]/route.ts +353 -0
  505. package/.next/types/app/api/sessions/[id]/state/route.ts +353 -0
  506. package/.next/types/app/api/sessions/[id]/todos/route.ts +353 -0
  507. package/.next/types/app/api/sessions/route.ts +353 -0
  508. package/.next/types/app/api/skills/check/route.ts +353 -0
  509. package/.next/types/app/api/skills/install/route.ts +353 -0
  510. package/.next/types/app/api/skills/route.ts +353 -0
  511. package/.next/types/app/api/skills/search/route.ts +353 -0
  512. package/.next/types/app/api/skills/update/route.ts +353 -0
  513. package/.next/types/app/api/worktrees/route.ts +353 -0
  514. package/.next/types/app/layout.ts +89 -0
  515. package/.next/types/app/page.ts +89 -0
  516. package/.next/types/cache-life.d.ts +146 -0
  517. package/.next/types/package.json +1 -0
  518. package/.next/types/root-params.d.ts +3 -0
  519. package/.next/types/routes.d.ts +113 -0
  520. package/.next/types/validator.ts +439 -0
  521. package/LICENSE +25 -0
  522. package/README.ja.md +132 -0
  523. package/README.md +168 -0
  524. package/README.ru.md +132 -0
  525. package/README.zh-CN.md +137 -0
  526. package/bin/node-version.js +35 -0
  527. package/bin/pi-web-options.js +43 -0
  528. package/bin/pi-web-sky.js +115 -0
  529. package/bin/pi-web.js +115 -0
  530. package/bin/process-lifecycle.js +46 -0
  531. package/next.config.ts +56 -0
  532. package/package.json +83 -0
  533. package/public/icons/apple-touch-icon.png +0 -0
  534. package/public/icons/catppuccin/LICENSE +22 -0
  535. package/public/icons/catppuccin/README.md +10 -0
  536. package/public/icons/catppuccin/latte/_file.svg +3 -0
  537. package/public/icons/catppuccin/latte/_folder.svg +3 -0
  538. package/public/icons/catppuccin/latte/_folder_open.svg +3 -0
  539. package/public/icons/catppuccin/latte/bash.svg +7 -0
  540. package/public/icons/catppuccin/latte/bun-lock.svg +8 -0
  541. package/public/icons/catppuccin/latte/config.svg +3 -0
  542. package/public/icons/catppuccin/latte/css.svg +6 -0
  543. package/public/icons/catppuccin/latte/database.svg +3 -0
  544. package/public/icons/catppuccin/latte/docker.svg +3 -0
  545. package/public/icons/catppuccin/latte/env.svg +3 -0
  546. package/public/icons/catppuccin/latte/eslint.svg +6 -0
  547. package/public/icons/catppuccin/latte/git.svg +6 -0
  548. package/public/icons/catppuccin/latte/go.svg +3 -0
  549. package/public/icons/catppuccin/latte/graphql.svg +3 -0
  550. package/public/icons/catppuccin/latte/html.svg +6 -0
  551. package/public/icons/catppuccin/latte/javascript-react.svg +8 -0
  552. package/public/icons/catppuccin/latte/javascript.svg +6 -0
  553. package/public/icons/catppuccin/latte/json.svg +3 -0
  554. package/public/icons/catppuccin/latte/lock.svg +3 -0
  555. package/public/icons/catppuccin/latte/markdown.svg +3 -0
  556. package/public/icons/catppuccin/latte/ms-word.svg +6 -0
  557. package/public/icons/catppuccin/latte/next.svg +6 -0
  558. package/public/icons/catppuccin/latte/npm-lock.svg +7 -0
  559. package/public/icons/catppuccin/latte/pdf.svg +3 -0
  560. package/public/icons/catppuccin/latte/python.svg +8 -0
  561. package/public/icons/catppuccin/latte/rust.svg +6 -0
  562. package/public/icons/catppuccin/latte/sass.svg +3 -0
  563. package/public/icons/catppuccin/latte/terraform.svg +3 -0
  564. package/public/icons/catppuccin/latte/toml.svg +3 -0
  565. package/public/icons/catppuccin/latte/typescript-react.svg +8 -0
  566. package/public/icons/catppuccin/latte/typescript.svg +6 -0
  567. package/public/icons/catppuccin/latte/yaml.svg +3 -0
  568. package/public/icons/catppuccin/mocha/_file.svg +3 -0
  569. package/public/icons/catppuccin/mocha/_folder.svg +3 -0
  570. package/public/icons/catppuccin/mocha/_folder_open.svg +3 -0
  571. package/public/icons/catppuccin/mocha/bash.svg +7 -0
  572. package/public/icons/catppuccin/mocha/bun-lock.svg +8 -0
  573. package/public/icons/catppuccin/mocha/config.svg +3 -0
  574. package/public/icons/catppuccin/mocha/css.svg +6 -0
  575. package/public/icons/catppuccin/mocha/database.svg +3 -0
  576. package/public/icons/catppuccin/mocha/docker.svg +3 -0
  577. package/public/icons/catppuccin/mocha/env.svg +3 -0
  578. package/public/icons/catppuccin/mocha/eslint.svg +6 -0
  579. package/public/icons/catppuccin/mocha/git.svg +6 -0
  580. package/public/icons/catppuccin/mocha/go.svg +3 -0
  581. package/public/icons/catppuccin/mocha/graphql.svg +3 -0
  582. package/public/icons/catppuccin/mocha/html.svg +6 -0
  583. package/public/icons/catppuccin/mocha/javascript-react.svg +8 -0
  584. package/public/icons/catppuccin/mocha/javascript.svg +6 -0
  585. package/public/icons/catppuccin/mocha/json.svg +3 -0
  586. package/public/icons/catppuccin/mocha/lock.svg +3 -0
  587. package/public/icons/catppuccin/mocha/markdown.svg +3 -0
  588. package/public/icons/catppuccin/mocha/ms-word.svg +6 -0
  589. package/public/icons/catppuccin/mocha/next.svg +6 -0
  590. package/public/icons/catppuccin/mocha/npm-lock.svg +7 -0
  591. package/public/icons/catppuccin/mocha/pdf.svg +3 -0
  592. package/public/icons/catppuccin/mocha/python.svg +8 -0
  593. package/public/icons/catppuccin/mocha/rust.svg +6 -0
  594. package/public/icons/catppuccin/mocha/sass.svg +3 -0
  595. package/public/icons/catppuccin/mocha/terraform.svg +3 -0
  596. package/public/icons/catppuccin/mocha/toml.svg +3 -0
  597. package/public/icons/catppuccin/mocha/typescript-react.svg +8 -0
  598. package/public/icons/catppuccin/mocha/typescript.svg +6 -0
  599. package/public/icons/catppuccin/mocha/yaml.svg +3 -0
  600. package/public/icons/icon-192.png +0 -0
  601. package/public/icons/icon-512.png +0 -0
  602. package/public/offline.html +83 -0
  603. package/public/sw.js +118 -0
  604. package/public/sw.test.mjs +86 -0
@@ -0,0 +1,62 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[988],{94340:(t,e,a)=>{a.d(e,{DA:()=>k,IU:()=>R,U:()=>N,U7:()=>ep,U_:()=>ex,Zk:()=>y,aP:()=>ef,gh:()=>em,lC:()=>w,on:()=>eu});var l=a(23462),i=a(77809),r=a(19836),n=a(39457),s=a(86305),h=a(37325),o=a(56037),d=a(89851),c=a(33948),g=a(94529),y=(0,d.K)(async(t,e,a)=>{let l,n=e.useHtmlLabels||(0,h._3)((0,h.D7)()?.htmlLabels),o=t.insert("g").attr("class",a||"node default").attr("id",e.domId||e.id),d=o.insert("g").attr("class","label").attr("style",(0,s.KL)(e.labelStyle));l=void 0===e.label?"":"string"==typeof e.label?e.label:e.label[0];let g=!!e.icon||!!e.img,y="markdown"===e.labelType,f=await (0,r.G)(d,(0,h.jZ)((0,s.Sm)(l),(0,h.D7)()),{useHtmlLabels:n,width:e.width||(0,h.D7)().flowchart?.wrappingWidth,classes:y?"markdown-node-label":"",style:e.labelStyle,addSvgBackground:g,markdown:y},(0,h.D7)()),w=f.getBBox(),u=(e?.padding??0)/2;if(n){let t=f.children[0],e=(0,c.Ltv)(f);await (0,i.X)(t,l),w=t.getBoundingClientRect(),e.attr("width",w.width),e.attr("height",w.height)}return n?d.attr("transform","translate("+-w.width/2+", "+-w.height/2+")"):d.attr("transform","translate(0, "+-w.height/2+")"),e.centerLabel&&d.attr("transform","translate("+-w.width/2+", "+-w.height/2+")"),d.insert("rect",":first-child"),{shapeSvg:o,bbox:w,halfPadding:u,label:d}},"labelHelper"),f=(0,d.K)(async(t,e,a)=>{let l=a.useHtmlLabels??(0,h.E)((0,h.D7)()),i=t.insert("g").attr("class","label").attr("style",a.labelStyle||""),n=await (0,r.G)(i,(0,h.jZ)((0,s.Sm)(e),(0,h.D7)()),{useHtmlLabels:l,width:a.width||(0,h.D7)()?.flowchart?.wrappingWidth,style:a.labelStyle,addSvgBackground:!!a.icon||!!a.img}),o=n.getBBox(),d=a.padding/2;if((0,h.E)((0,h.D7)())){let t=n.children[0],e=(0,c.Ltv)(n);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}return l?i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"):i.attr("transform","translate(0, "+-o.height/2+")"),a.centerLabel&&i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),i.insert("rect",":first-child"),{shapeSvg:t,bbox:o,halfPadding:d,label:i}},"insertLabel"),w=(0,d.K)((t,e)=>{let a=e.node().getBBox();t.width=a.width,t.height=a.height},"updateNodeBounds"),u=(0,d.K)((t,e)=>("handDrawn"===t.look?"rough-node":"node")+" "+t.cssClasses+" "+(e||""),"getNodeClasses");function p(t){let e=t.map((t,e)=>`${0===e?"M":"L"}${t.x},${t.y}`);return e.push("Z"),e.join(" ")}function m(t,e,a,l,i,r){let n=[],s=a-t,h=2*Math.PI/(s/r),o=e+(l-e)/2;for(let e=0;e<=50;e++){let a=t+e/50*s,l=o+i*Math.sin(h*(a-t));n.push({x:a,y:l})}return n}function x(t,e,a,l,i,r){let n=[],s=i*Math.PI/180,h=(r*Math.PI/180-s)/(l-1);for(let i=0;i<l;i++){let l=s+i*h,r=t+a*Math.cos(l),o=e+a*Math.sin(l);n.push({x:-r,y:-o})}return n}function $(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 i=e.find(t=>"none"!==t.getAttribute("fill")),r=e.find(t=>"none"!==t.getAttribute("stroke")),n=(0,d.K)((t,e)=>t?.getAttribute(e)??void 0,"getAttr");i&&Object.entries({fill:n(i,"fill"),"fill-opacity":n(i,"fill-opacity")??"1"}).forEach(([t,e])=>{e&&a.setAttribute(t,e)}),r&&Object.entries({stroke:n(r,"stroke"),"stroke-width":n(r,"stroke-width")??"1","stroke-opacity":n(r,"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,d.K)(p,"createPathFromPoints"),(0,d.K)(m,"generateFullSineWavePoints"),(0,d.K)(x,"generateCirclePoints"),(0,d.K)($,"mergePaths");var b=(0,d.K)((t,e)=>{var a,l,i=t.x,r=t.y,n=e.x-i,s=e.y-r,h=t.width/2,o=t.height/2;return Math.abs(s)*h>Math.abs(n)*o?(s<0&&(o=-o),a=0===s?0:o*n/s,l=o):(n<0&&(h=-h),a=h,l=0===n?0:h*s/n),{x:i+a,y:r+l}},"intersectRect"),k=(0,d.K)(async(t,e,a,l=!1,i=!1)=>{let n=e||"";"object"==typeof n&&(n=n[0]);let s=(0,h.D7)(),o=(0,h.E)(s);return await (0,r.G)(t,n,{style:a,isTitle:l,useHtmlLabels:o,markdown:!1,isNode:i,width:1/0},s)},"createLabel"),D=(0,d.K)((t,e,a,l,i)=>["M",t+i,e,"H",t+a-i,"A",i,i,"0 0 1",t+a,e+i,"V",e+l-i,"A",i,i,"0 0 1",t+a-i,e+l,"H",t+i,"A",i,i,"0 0 1",t,e+l-i,"V",e+i,"A",i,i,"0 0 1",t+i,e,"Z"].join(" "),"createRoundedRectPathD"),S=(0,d.K)(async(t,e)=>{let a,i,n=(0,h.D7)(),{themeVariables:s,handDrawnSeed:d}=n,{clusterBkg:y,clusterBorder:f}=s,{labelStyles:w,nodeStyles:u,borderStyles:p,backgroundStyles:m}=(0,l.GX)(e),x=t.insert("g").attr("class","cluster swimlane "+(e.cssClasses||"")).attr("id",e.id).attr("data-id",e.id).attr("data-et","cluster").attr("data-look",e.look),$=(0,h._3)(n.flowchart.htmlLabels),k="LR"===e.direction,D=x.insert("g").attr("class","cluster-label swimlane-label"),S=await (0,r.G)(D,e.label,{style:e.labelStyle,useHtmlLabels:$,isNode:!0,width:e.width}),M=S.getBBox();if($){let t=S.children[0],e=(0,c.Ltv)(S);M=t.getBoundingClientRect(),e.attr("width",M.width),e.attr("height",M.height)}let A=e.padding??0,v=e.width<=M.width+A?M.width+A:e.width;e.width<=M.width+A?e.diff=(v-e.width)/2-A:e.diff=-A;let K=e.height,B=e.y-K/2,C=e.y+K/2,N=e.x-v/2,R=void 0!==e.swimlaneContentTop?e.swimlaneContentTop:B+K/3,L=4*!!k,F=M.height+2*L;if(k){let t=Math.max(F,M.height+2*L),r=N+t,n=Math.max(0,v-t);if("handDrawn"===e.look){let s=g.A.svg(x),h=(0,l.Fr)(e,{roughness:.7,fill:y,stroke:f,fillWeight:3,seed:d}),o=(0,l.Fr)(e,{roughness:.7,fill:"none",stroke:f,seed:d}),c=s.rectangle(N,B,t,K,h);a=x.insert(()=>c,":first-child");let w=s.rectangle(r,B,n,K,o);i=x.insert(()=>w,":first-child"),a.select("path:nth-child(2)").attr("style",p.join(";")),a.select("path").attr("style",m.join(";").replace("fill","stroke"))}else a=x.insert("rect",":first-child"),i=x.insert("rect",":first-child"),a.attr("class","swimlane-title").attr("style",u).attr("x",N).attr("y",B).attr("width",t).attr("height",K).attr("fill",y).attr("stroke",f),i.attr("class","swimlane-body").attr("style",u).attr("x",r).attr("y",B).attr("width",n).attr("height",K).attr("fill","none").attr("stroke",f);let s=N+t/2,h=e.y;D.attr("transform",`translate(${s}, ${h}) rotate(-90) translate(${-M.width/2}, ${-M.height/2})`)}else{let t=Math.min(F,Math.max(0,R-B)),r=B+t,n=Math.max(0,C-r),s=e.x-v/2;if("handDrawn"===e.look){let h=g.A.svg(x),o=(0,l.Fr)(e,{roughness:.7,fill:y,stroke:f,fillWeight:3,seed:d}),c=(0,l.Fr)(e,{roughness:.7,fill:"none",stroke:f,seed:d}),w=h.rectangle(s,B,v,t,o);a=x.insert(()=>w,":first-child");let u=h.rectangle(s,r,v,n,c);i=x.insert(()=>u,":first-child"),a.select("path:nth-child(2)").attr("style",p.join(";")),a.select("path").attr("style",m.join(";").replace("fill","stroke"))}else a=x.insert("rect",":first-child"),i=x.insert("rect",":first-child"),a.attr("class","swimlane-title").attr("style",u).attr("x",s).attr("y",B).attr("width",v).attr("height",t).attr("fill",y).attr("stroke",f),i.attr("class","swimlane-body").attr("style",u).attr("x",s).attr("y",r).attr("width",v).attr("height",n).attr("fill","none").attr("stroke",f);let h=e.x-M.width/2,o=B+(t-M.height)/2;D.attr("transform",`translate(${h}, ${o})`)}if(o.R.trace("Swimlane data ",e,JSON.stringify(e)),w){let t=D.select("span");t&&t.attr("style",w)}return e.offsetX=0,e.width=v,e.height=K,e.offsetY=M.height-A/2,e.intersect=function(t){return b(e,t)},{cluster:x,labelBBox:M}},"swimlane"),M=(0,d.K)(async(t,e)=>{let a,n;o.R.info("Creating subgraph rect for ",e.id,e);let s=(0,h.D7)(),{themeVariables:d,handDrawnSeed:y}=s,{clusterBkg:f,clusterBorder:w}=d,{labelStyles:u,nodeStyles:p,borderStyles:m,backgroundStyles:x}=(0,l.GX)(e),$=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.domId).attr("data-look",e.look),S=(0,h.E)(s),M=$.insert("g").attr("class","cluster-label "),A=(a="markdown"===e.labelType?await (0,r.G)(M,e.label,{style:e.labelStyle,useHtmlLabels:S,isNode:!0,width:e.width}):await k(M,e.label,e.labelStyle||"",!1,!0)).getBBox();if((0,h.E)(s)){let t=a.children[0],e=(0,c.Ltv)(a);A=t.getBoundingClientRect(),e.attr("width",A.width),e.attr("height",A.height)}let v=e.width<=A.width+e.padding?A.width+e.padding:e.width;e.width<=A.width+e.padding?e.diff=(v-e.width)/2-e.padding:e.diff=-e.padding;let K=e.height,B=e.x-v/2,C=e.y-K/2;if(o.R.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=g.A.svg($),a=(0,l.Fr)(e,{roughness:.7,fill:f,stroke:w,fillWeight:3,seed:y}),i=t.path(D(B,C,v,K,0),a);(n=$.insert(()=>(o.R.debug("Rough node insert CXC",i),i),":first-child")).select("path:nth-child(2)").attr("style",m.join(";")),n.select("path").attr("style",x.join(";").replace("fill","stroke"))}else(n=$.insert("rect",":first-child")).attr("style",p).attr("rx",e.rx).attr("ry",e.ry).attr("x",B).attr("y",C).attr("width",v).attr("height",K);let{subGraphTitleTopMargin:N}=(0,i.O)(s);if(M.attr("transform",`translate(${e.x-A.width/2}, ${e.y-e.height/2+N})`),u){let t=M.select("span");t&&t.attr("style",u)}let R=n.node().getBBox();return e.offsetX=0,e.width=R.width,e.height=R.height,e.offsetY=A.height-e.padding/2,e.intersect=function(t){return b(e,t)},{cluster:$,labelBBox:A}},"rect"),A=(0,d.K)((t,e)=>{let a=t.insert("g").attr("class","note-cluster").attr("id",e.domId),l=a.insert("rect",":first-child"),i=0*e.padding,r=i/2;l.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-r).attr("y",e.y-e.height/2-r).attr("width",e.width+i).attr("height",e.height+i).attr("fill","none");let n=l.node().getBBox();return e.width=n.width,e.height=n.height,e.intersect=function(t){return b(e,t)},{cluster:a,labelBBox:{width:0,height:0}}},"noteGroup"),v=(0,d.K)(async(t,e)=>{let a,l=(0,h.D7)(),{themeVariables:i,handDrawnSeed:r}=l,{altBackground:n,compositeBackground:s,compositeTitleBackground:o,nodeBorder:d}=i,y=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-id",e.id).attr("data-look",e.look),f=y.insert("g",":first-child"),w=y.insert("g").attr("class","cluster-label"),u=y.append("rect"),p=await k(w,e.label,e.labelStyle,void 0,!0),m=p.getBBox();if((0,h.E)(l)){let t=p.children[0],e=(0,c.Ltv)(p);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}let x=0*e.padding,$=(e.width<=m.width+e.padding?m.width+e.padding:e.width)+x;e.width<=m.width+e.padding?e.diff=($-e.width)/2-e.padding:e.diff=-e.padding;let S=e.height+x,M=e.height+x-m.height-6,A=e.x-$/2,v=e.y-S/2;e.width=$;let K=e.y-e.height/2-x/2+m.height+2;if("handDrawn"===e.look){let t=e.cssClasses.includes("statediagram-cluster-alt"),l=g.A.svg(y),i=e.rx||e.ry?l.path(D(A,v,$,S,10),{roughness:.7,fill:o,fillStyle:"solid",stroke:d,seed:r}):l.rectangle(A,v,$,S,{seed:r});a=y.insert(()=>i,":first-child");let h=l.rectangle(A,K,$,M,{fill:t?n:s,fillStyle:t?"hachure":"solid",stroke:d,seed:r});a=y.insert(()=>i,":first-child"),u=y.insert(()=>h)}else(a=f.insert("rect",":first-child")).attr("class","outer").attr("x",A).attr("y",v).attr("width",$).attr("height",S).attr("data-look",e.look),u.attr("class","inner").attr("x",A).attr("y",K).attr("width",$).attr("height",M);return w.attr("transform",`translate(${e.x-m.width/2}, ${v+1-3*!(0,h.E)(l)})`),e.height=a.node().getBBox().height,e.offsetX=0,e.offsetY=m.height-e.padding/2,e.labelBBox=m,e.intersect=function(t){return b(e,t)},{cluster:y,labelBBox:m}},"roundedWithTitle"),K=(0,d.K)(async(t,e)=>{let a;o.R.info("Creating subgraph rect for ",e.id,e);let n=(0,h.D7)(),{themeVariables:s,handDrawnSeed:d}=n,{clusterBkg:y,clusterBorder:f}=s,{labelStyles:w,nodeStyles:u,borderStyles:p,backgroundStyles:m}=(0,l.GX)(e),x=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.domId).attr("data-look",e.look),$=(0,h.E)(n),k=x.insert("g").attr("class","cluster-label "),S=await (0,r.G)(k,e.label,{style:e.labelStyle,useHtmlLabels:$,isNode:!0,width:e.width}),M=S.getBBox();if((0,h.E)(n)){let t=S.children[0],e=(0,c.Ltv)(S);M=t.getBoundingClientRect(),e.attr("width",M.width),e.attr("height",M.height)}let A=e.width<=M.width+e.padding?M.width+e.padding:e.width;e.width<=M.width+e.padding?e.diff=(A-e.width)/2-e.padding:e.diff=-e.padding;let v=e.height,K=e.x-A/2,B=e.y-v/2;if(o.R.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=g.A.svg(x),i=(0,l.Fr)(e,{roughness:.7,fill:y,stroke:f,fillWeight:4,seed:d}),r=t.path(D(K,B,A,v,e.rx),i);(a=x.insert(()=>(o.R.debug("Rough node insert CXC",r),r),":first-child")).select("path:nth-child(2)").attr("style",p.join(";")),a.select("path").attr("style",m.join(";").replace("fill","stroke"))}else(a=x.insert("rect",":first-child")).attr("style",u).attr("rx",e.rx).attr("ry",e.ry).attr("x",K).attr("y",B).attr("width",A).attr("height",v);let{subGraphTitleTopMargin:C}=(0,i.O)(n);if(k.attr("transform",`translate(${e.x-M.width/2}, ${e.y-e.height/2+C})`),w){let t=k.select("span");t&&t.attr("style",w)}let N=a.node().getBBox();return e.offsetX=0,e.width=N.width,e.height=N.height,e.offsetY=M.height-e.padding/2,e.intersect=function(t){return b(e,t)},{cluster:x,labelBBox:M}},"kanbanSection"),B={rect:M,squareRect:M,roundedWithTitle:v,noteGroup:A,divider:(0,d.K)((t,e)=>{let a,{themeVariables:l,handDrawnSeed:i}=(0,h.D7)(),{nodeBorder:r}=l,n=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-look",e.look),s=n.insert("g",":first-child"),o=0*e.padding,d=e.width+o;e.diff=-e.padding;let c=e.height+o,y=e.x-d/2,f=e.y-c/2;if(e.width=d,"handDrawn"===e.look){let t=g.A.svg(n).rectangle(y,f,d,c,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:r,seed:i});a=n.insert(()=>t,":first-child")}else{a=s.insert("rect",":first-child");let t="outer";e.look,t="divider",a.attr("class",t).attr("x",y).attr("y",f).attr("width",d).attr("height",c).attr("data-look",e.look)}return e.height=a.node().getBBox().height,e.offsetX=0,e.offsetY=0,e.intersect=function(t){return b(e,t)},{cluster:n,labelBBox:{}}},"divider"),kanbanSection:K,swimlane:S},C=new Map,N=(0,d.K)(async(t,e)=>{let a=e.shape||"rect",l=await B[a](t,e);return C.set(e.id,l),l},"insertCluster"),R=(0,d.K)(()=>{C=new Map},"clear");function L(t,e,a,l){var i=t.x,r=t.y,n=i-l.x,s=r-l.y,h=Math.sqrt(e*e*s*s+a*a*n*n),o=Math.abs(e*a*n/h);l.x<i&&(o=-o);var d=Math.abs(e*a*s/h);return l.y<r&&(d=-d),{x:i+o,y:r+d}}function F(t,e,a){return L(t,e,e,a)}function P(t,e,a,l){{let i=e.y-t.y,r=t.x-e.x,n=e.x*t.y-t.x*e.y,s=i*a.x+r*a.y+n,h=i*l.x+r*l.y+n;if(0!==s&&0!==h&&X(s,h))return;let o=l.y-a.y,d=a.x-l.x,c=l.x*a.y-a.x*l.y,g=o*t.x+d*t.y+c,y=o*e.x+d*e.y+c;if(1e-6>Math.abs(g)&&1e-6>Math.abs(y)&&X(g,y))return;let f=i*d-o*r;if(0===f)return;let w=Math.abs(f/2),u=r*c-d*n;return{x:u<0?(u-w)/f:(u+w)/f,y:(u=o*n-i*c)<0?(u-w)/f:(u+w)/f}}}function X(t,e){return t*e>0}function G(t,e,a){let l=t.x,i=t.y,r=[],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 h=l-t.width/2-n,o=i-t.height/2-s;for(let l=0;l<e.length;l++){let i=e[l],n=e[l<e.length-1?l+1:0],s=P(t,a,{x:h+i.x,y:o+i.y},{x:h+n.x,y:o+n.y});s&&r.push(s)}return r.length?(r.length>1&&r.sort(function(t,e){let l=t.x-a.x,i=t.y-a.y,r=Math.sqrt(l*l+i*i),n=e.x-a.x,s=e.y-a.y,h=Math.sqrt(n*n+s*s);return r<h?-1:+(r!==h)}),r[0]):t}(0,d.K)(function(t,e){return t.intersect(e)},"intersectNode"),(0,d.K)(L,"intersectEllipse"),(0,d.K)(F,"intersectCircle"),(0,d.K)(P,"intersectLine"),(0,d.K)(X,"sameSign"),(0,d.K)(G,"intersectPolygon");function I(t,e){let{labelStyles:a}=(0,l.GX)(e);e.labelStyle=a;let i=u(e),r=i;i||(r="anchor");let n=t.insert("g").attr("class",r).attr("id",e.domId||e.id),{cssStyles:h}=e,d=g.A.svg(n),c=(0,l.Fr)(e,{fill:"black",stroke:"none",fillStyle:"solid"});"handDrawn"!==e.look&&(c.roughness=0);let y=d.circle(0,0,2,c),f=n.insert(()=>y,":first-child");return f.attr("class","anchor").attr("style",(0,s.KL)(h)),w(e,f),e.intersect=function(t){return o.R.info("Circle intersect",e,1,t),F(e,1,t)},n}function E(t,e,a,l,i,r,n){let s=Math.atan2(l-e,a-t),h=Math.sqrt(((a-t)/2/i)**2+((l-e)/2/r)**2);if(h>1)throw Error("The given radii are too small to create an arc between the points.");let o=Math.sqrt(1-h**2),d=(t+a)/2+o*r*Math.sin(s)*(n?-1:1),c=(e+l)/2-o*i*Math.cos(s)*(n?-1:1),g=Math.atan2((e-c)/r,(t-d)/i),y=Math.atan2((l-c)/r,(a-d)/i)-g;n&&y<0&&(y+=2*Math.PI),!n&&y>0&&(y-=2*Math.PI);let f=[];for(let t=0;t<20;t++){let e=g+t/19*y,a=d+i*Math.cos(e),l=c+r*Math.sin(e);f.push({x:a,y:l})}return f}function T(t,e,a){let[l,i]=[e,a].sort((t,e)=>e-t);return i*(1-Math.sqrt(1-(t/l/2)**2))}async function W(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r,h=(0,d.K)(t=>t+s,"calcTotalHeight"),o=(0,d.K)(t=>{let e=t/2;return[e/(2.5+t/50),e]},"calcEllipseRadius"),{shapeSvg:c,bbox:f}=await y(t,e,u(e)),m=h(e?.height?e?.height:f.height),[x,$]=o(m),b=T(m,x,$),k=(e?.width?e?.width:f.width)+2*n+b-b,{cssStyles:D}=e,S=[{x:k/2,y:-m/2},{x:-k/2,y:-m/2},...E(-k/2,-m/2,-k/2,m/2,x,$,!1),{x:k/2,y:m/2},...E(k/2,m/2,k/2,-m/2,x,$,!0)],M=g.A.svg(c),A=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid");let v=p(S),K=M.path(v,A),B=c.insert(()=>K,":first-child");return B.attr("class","basic label-container outer-path"),D&&"handDrawn"!==e.look&&B.selectAll("path").attr("style",D),i&&"handDrawn"!==e.look&&B.selectAll("path").attr("style",i),B.attr("transform",`translate(${x/2}, 0)`),w(e,B),e.intersect=function(t){return G(e,S,t)},c}function H(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+")")}async function j(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let n=e.padding??0,s="neo"===e.look?28:n,h="neo"===e.look?24:n,{shapeSvg:o,bbox:d}=await y(t,e,u(e)),c=(e?.width??d.width)+("neo"===e.look?2*s:s+12),f=(e?.height??d.height)+("neo"===e.look?2*h:h),m=-f,x=[{x:12,y:m},{x:c,y:m},{x:c,y:0},{x:0,y:0},{x:0,y:m+12},{x:12,y:m}],{cssStyles:$}=e;if("handDrawn"===e.look){let t=g.A.svg(o),i=(0,l.Fr)(e,{}),r=p(x),n=t.path(r,i);a=o.insert(()=>n,":first-child").attr("transform",`translate(${-c/2}, ${f/2})`),$&&a.attr("style",$)}else a=H(o,c,f,x);return r&&a.attr("style",r),w(e,a),e.intersect=function(t){return G(e,x,t)},o}function q(t,e){let{nodeStyles:a}=(0,l.GX)(e);e.label="";let i=t.insert("g").attr("class",u(e)).attr("id",e.domId??e.id),{cssStyles:r}=e,n=Math.max(28,e.width??0),s=[{x:0,y:n/2},{x:n/2,y:0},{x:0,y:-n/2},{x:-n/2,y:0}],h=g.A.svg(i),o=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(o.roughness=0,o.fillStyle="solid");let d=p(s),c=h.path(d,o),y=i.insert(()=>c,":first-child");return r&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",r),a&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",a),e.width=28,e.height=28,e.intersect=function(t){return G(e,s,t)},i}async function _(t,e,a){let i,{labelStyles:r,nodeStyles:n}=(0,l.GX)(e);e.labelStyle=r;let{shapeSvg:h,bbox:d,halfPadding:c}=await y(t,e,u(e)),f=a?.padding??c,p="neo"===e.look?d.width/2+32:d.width/2+f,{cssStyles:m}=e;if("handDrawn"===e.look){let t=g.A.svg(h),a=(0,l.Fr)(e,{}),r=t.circle(0,0,2*p,a);(i=h.insert(()=>r,":first-child")).attr("class","basic label-container").attr("style",(0,s.KL)(m))}else i=h.insert("circle",":first-child").attr("class","basic label-container").attr("style",n).attr("r",p).attr("cx",0).attr("cy",0);return w(e,i),e.calcIntersect=function(t,e){let a=t.width/2;return F(t,a,e)},e.intersect=function(t){return o.R.info("Circle intersect",e,p,t),F(e,p,t)},h}function z(t){let e=Math.cos(Math.PI/4),a=Math.sin(Math.PI/4),l=2*t,i={x:l/2*e,y:l/2*a},r={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 ${r.x},${r.y} L ${s.x},${s.y}
2
+ M ${i.x},${i.y} L ${n.x},${n.y}`}function O(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a,e.label="";let r=t.insert("g").attr("class",u(e)).attr("id",e.domId??e.id),n=Math.max(30,e?.width??0),{cssStyles:s}=e,h=g.A.svg(r),d=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(d.roughness=0,d.fillStyle="solid");let c=h.circle(0,0,2*n,d),y=z(n),f=h.path(y,d),p=r.insert(()=>c,":first-child");return p.insert(()=>f),p.attr("class","outer-path"),s&&"handDrawn"!==e.look&&p.selectAll("path").attr("style",s),i&&"handDrawn"!==e.look&&p.selectAll("path").attr("style",i),w(e,p),e.intersect=function(t){return o.R.info("crossedCircle intersect",e,{radius:n,point:t}),F(e,n,t)},r}function Z(t,e,a,l=100,i=0,r=180){let n=[],s=i*Math.PI/180,h=(r*Math.PI/180-s)/(l-1);for(let i=0;i<l;i++){let l=s+i*h,r=t+a*Math.cos(l),o=e+a*Math.sin(l);n.push({x:-r,y:-o})}return n}async function Y(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let{shapeSvg:r,bbox:n,label:s}=await y(t,e,u(e)),h="neo"===e.look?18:e.padding??0,o="neo"===e.look?12:e.padding??0,d=n.width+h,c=n.height+o,f=Math.max(5,.1*c),{cssStyles:m}=e,x=[...Z(d/2,-c/2,f,30,-90,0),{x:-d/2-f,y:f},...Z(d/2+2*f,-f,f,20,-180,-270),...Z(d/2+2*f,f,f,20,-90,-180),{x:-d/2-f,y:-c/2},...Z(d/2,c/2,f,20,0,90)],$=[{x:d/2,y:-c/2-f},{x:-d/2,y:-c/2-f},...Z(d/2,-c/2,f,20,-90,0),{x:-d/2-f,y:-f},...Z(d/2+.1*d,-f,f,20,-180,-270),...Z(d/2+.1*d,f,f,20,-90,-180),{x:-d/2-f,y:c/2},...Z(d/2,c/2,f,20,0,90),{x:-d/2,y:c/2+f},{x:d/2,y:c/2+f}],b=g.A.svg(r),k=(0,l.Fr)(e,{fill:"none"});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let D=p(x).replace("Z",""),S=b.path(D,k),M=p($),A=b.path(M,{...k}),v=r.insert("g",":first-child");return v.insert(()=>A,":first-child").attr("stroke-opacity",0),v.insert(()=>S,":first-child"),v.attr("class","text"),m&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",m),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),v.attr("transform",`translate(${f}, 0)`),s.attr("transform",`translate(${-d/2+f-(n.x-(n.left??0))},${-c/2+(e.padding??0)/2-(n.y-(n.top??0))})`),w(e,v),e.intersect=function(t){return G(e,$,t)},r}function V(t,e,a,l=100,i=0,r=180){let n=[],s=i*Math.PI/180,h=(r*Math.PI/180-s)/(l-1);for(let i=0;i<l;i++){let l=s+i*h,r=t+a*Math.cos(l),o=e+a*Math.sin(l);n.push({x:r,y:o})}return n}async function U(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let{shapeSvg:r,bbox:n,label:s}=await y(t,e,u(e)),h="neo"===e.look?18:e.padding??0,o="neo"===e.look?12:e.padding??0,d=n.width+("neo"===e.look?2*h:h),c=n.height+("neo"===e.look?2*o:o),f=Math.max(5,.1*c),{cssStyles:m}=e,x=[...V(d/2,-c/2,f,20,-90,0),{x:d/2+f,y:-f},...V(d/2+2*f,-f,f,20,-180,-270),...V(d/2+2*f,f,f,20,-90,-180),{x:d/2+f,y:c/2},...V(d/2,c/2,f,20,0,90)],$=[{x:-d/2,y:-c/2-f},{x:d/2,y:-c/2-f},...V(d/2,-c/2,f,20,-90,0),{x:d/2+f,y:-f},...V(d/2+2*f,-f,f,20,-180,-270),...V(d/2+2*f,f,f,20,-90,-180),{x:d/2+f,y:c/2},...V(d/2,c/2,f,20,0,90),{x:d/2,y:c/2+f},{x:-d/2,y:c/2+f}],b=g.A.svg(r),k=(0,l.Fr)(e,{fill:"none"});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let D=p(x).replace("Z",""),S=b.path(D,k),M=p($),A=b.path(M,{...k}),v=r.insert("g",":first-child");return v.insert(()=>A,":first-child").attr("stroke-opacity",0),v.insert(()=>S,":first-child"),v.attr("class","text"),m&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",m),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),v.attr("transform",`translate(${-f}, 0)`),s.attr("transform",`translate(${-d/2+(e.padding??0)/2-(n.x-(n.left??0))},${-c/2+(e.padding??0)/2-(n.y-(n.top??0))})`),w(e,v),e.intersect=function(t){return G(e,$,t)},r}function J(t,e,a,l=100,i=0,r=180){let n=[],s=i*Math.PI/180,h=(r*Math.PI/180-s)/(l-1);for(let i=0;i<l;i++){let l=s+i*h,r=t+a*Math.cos(l),o=e+a*Math.sin(l);n.push({x:-r,y:-o})}return n}async function Q(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let{shapeSvg:r,bbox:n,label:s}=await y(t,e,u(e)),h="neo"===e.look?18:e.padding??0,o="neo"===e.look?12:e.padding??0,d=n.width+("neo"===e.look?2*h:h),c=n.height+("neo"===e.look?2*o:o),f=Math.max(5,.1*c),{cssStyles:m}=e,x=[...J(d/2,-c/2,f,30,-90,0),{x:-d/2-f,y:f},...J(d/2+2*f,-f,f,20,-180,-270),...J(d/2+2*f,f,f,20,-90,-180),{x:-d/2-f,y:-c/2},...J(d/2,c/2,f,20,0,90)],$=[...J(-d/2+f+f/2,-c/2,f,20,-90,-180),{x:d/2-f/2,y:f},...J(-d/2-f/2,-f,f,20,0,90),...J(-d/2-f/2,f,f,20,-90,0),{x:d/2-f/2,y:-f},...J(-d/2+f+f/2,c/2,f,30,-180,-270)],b=[{x:d/2,y:-c/2-f},{x:-d/2,y:-c/2-f},...J(d/2,-c/2,f,20,-90,0),{x:-d/2-f,y:-f},...J(d/2+2*f,-f,f,20,-180,-270),...J(d/2+2*f,f,f,20,-90,-180),{x:-d/2-f,y:c/2},...J(d/2,c/2,f,20,0,90),{x:-d/2,y:c/2+f},{x:d/2-f-f/2,y:c/2+f},...J(-d/2+f+f/2,-c/2,f,20,-90,-180),{x:d/2-f/2,y:f},...J(-d/2-f/2,-f,f,20,0,90),...J(-d/2-f/2,f,f,20,-90,0),{x:d/2-f/2,y:-f},...J(-d/2+f+f/2,c/2,f,30,-180,-270)],k=g.A.svg(r),D=(0,l.Fr)(e,{fill:"none"});"handDrawn"!==e.look&&(D.roughness=0,D.fillStyle="solid");let S=p(x).replace("Z",""),M=k.path(S,D),A=p($).replace("Z",""),v=k.path(A,D),K=p(b),B=k.path(K,{...D}),C=r.insert("g",":first-child");return C.insert(()=>B,":first-child").attr("stroke-opacity",0),C.insert(()=>M,":first-child"),C.insert(()=>v,":first-child"),C.attr("class","text"),m&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",m),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),C.attr("transform",`translate(${f-f/4}, 0)`),s.attr("transform",`translate(${-d/2+(e.padding??0)/2-(n.x-(n.left??0))},${-c/2+(e.padding??0)/2-(n.y-(n.top??0))})`),w(e,C),e.intersect=function(t){return G(e,b,t)},r}async function tt(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r,{shapeSvg:h,bbox:o}=await y(t,e,u(e)),d=Math.max(20,(o.width+2*n)*1.25,e?.width??0),c=Math.max(5,o.height+2*s,e?.height??0),f=c/2,{cssStyles:m}=e,$=g.A.svg(h),b=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");let k=d-f,D=c/4,S=[{x:k,y:0},{x:D,y:0},{x:0,y:c/2},{x:D,y:c},{x:k,y:c},...x(-k,-c/2,f,50,270,90)],M=p(S),A=$.path(M,b),v=h.insert(()=>A,":first-child");return v.attr("class","basic label-container outer-path"),m&&"handDrawn"!==e.look&&v.selectChildren("path").attr("style",m),i&&"handDrawn"!==e.look&&v.selectChildren("path").attr("style",i),v.attr("transform",`translate(${-d/2}, ${-c/2})`),w(e,v),e.intersect=function(t){return G(e,S,t)},h}(0,d.K)(I,"anchor"),(0,d.K)(E,"generateArcPoints"),(0,d.K)(T,"calculateArcSagitta"),(0,d.K)(W,"bowTieRect"),(0,d.K)(H,"insertPolygonShape"),(0,d.K)(j,"card"),(0,d.K)(q,"choice"),(0,d.K)(_,"circle"),(0,d.K)(z,"createLine"),(0,d.K)(O,"crossedCircle"),(0,d.K)(Z,"generateCirclePoints"),(0,d.K)(Y,"curlyBraceLeft"),(0,d.K)(V,"generateCirclePoints"),(0,d.K)(U,"curlyBraceRight"),(0,d.K)(J,"generateCirclePoints"),(0,d.K)(Q,"curlyBraces"),(0,d.K)(tt,"curvedTrapezoid");var te=(0,d.K)((t,e,a,l,i,r)=>`M${t},${e+r} a${i},${r} 0,0,0 ${a},0 a${i},${r} 0,0,0 ${-a},0 l0,${l} a${i},${r} 0,0,0 ${a},0 l0,${-l}`,"createCylinderPathD"),ta=(0,d.K)((t,e,a,l,i,r)=>`M${t},${e+r} M${t+a},${e+r} a${i},${r} 0,0,0 ${-a},0 l0,${l} a${i},${r} 0,0,0 ${a},0 l0,${-l}`,"createOuterCylinderPathD"),tl=(0,d.K)((t,e,a,l,i,r)=>`M${t-a/2},${-l/2} a${i},${r} 0,0,0 ${a},0`,"createInnerCylinderPathD");async function ti(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let n=e.padding??0,h="neo"===e.look?24:n,o="neo"===e.look?24:n;if(e.width||e.height){let t=e.width??0;e.width=(e.width??0)-o,e.width<8&&(e.width=8),e.height=(e.height??0)-h-t/2/(2.5+t/50)*3,e.height<8&&(e.height=8)}let{shapeSvg:d,bbox:c,label:f}=await y(t,e,u(e)),p=(e.width?e.width:c.width)+o,m=p/2,x=m/(2.5+p/50),$=(e.height?e.height:c.height)+h+x,{cssStyles:k}=e;if("handDrawn"===e.look){let t=g.A.svg(d),i=ta(0,0,p,$,m,x),r=tl(0,x,p,$,m,x),n=(0,l.Fr)(e,{}),s=t.path(i,n),h=t.path(r,(0,l.Fr)(e,{fill:"none"}));a=d.insert(()=>h,":first-child"),(a=d.insert(()=>s,":first-child")).attr("class","basic label-container"),k&&a.attr("style",k)}else{let t=te(0,0,p,$,m,x);a=d.insert("path",":first-child").attr("d",t).attr("class","basic label-container outer-path").attr("style",(0,s.KL)(k)).attr("style",r)}return a.attr("label-offset-y",x),a.attr("transform",`translate(${-p/2}, ${-($/2+x)})`),w(e,a),f.attr("transform",`translate(${-(c.width/2)-(c.x-(c.left??0))}, ${-(c.height/2)+(e.padding??0)/1.5-(c.y-(c.top??0))})`),e.intersect=function(t){let a=b(e,t),l=a.x-(e.x??0);if(0!=m&&(Math.abs(l)<(e.width??0)/2||Math.abs(l)==(e.width??0)/2&&Math.abs(a.y-(e.y??0))>(e.height??0)/2-x)){let i=x*x*(1-l*l/(m*m));i>0&&(i=Math.sqrt(i)),i=x-i,t.y-(e.y??0)>0&&(i=-i),a.y+=i}return a},d}async function tr(t,e,a){let i,{labelStyles:r,nodeStyles:n}=(0,l.GX)(e);e.labelStyle=r;let{shapeSvg:h,bbox:o}=await y(t,e,u(e)),d=Math.max(o.width+2*a.labelPaddingX,e?.width||0),c=Math.max(o.height+2*a.labelPaddingY,e?.height||0),f=-d/2,p=-c/2,{rx:m,ry:x}=e,{cssStyles:$}=e;if(a?.rx&&a.ry&&(m=a.rx,x=a.ry),"handDrawn"===e.look){let t=g.A.svg(h),a=(0,l.Fr)(e,{}),r=m||x?t.path(D(f,p,d,c,m||0),a):t.rectangle(f,p,d,c,a);(i=h.insert(()=>r,":first-child")).attr("class","basic label-container").attr("style",(0,s.KL)($))}else(i=h.insert("rect",":first-child")).attr("class","basic label-container").attr("style",n).attr("rx",(0,s.KL)(m)).attr("ry",(0,s.KL)(x)).attr("x",f).attr("y",p).attr("width",d).attr("height",c);return w(e,i),e.calcIntersect=function(t,e){return b(t,e)},e.intersect=function(t){return b(e,t)},h}async function tn(t,e){let{cssClasses:a,labelPaddingX:i,labelPaddingY:r,padding:n,width:s,height:h}=e,o=await tr(t,e,{rx:0,ry:0,classes:a??"",labelPaddingX:i??(n??0)*2,labelPaddingY:r??n??0});if("handDrawn"===e.look){let t=g.A.svg(o),a=(0,l.Fr)(e,{}),i=o.select(".basic.label-container > path:nth-child(2)"),r=i.node();if(!r)return o;let n=null;return r instanceof SVGGraphicsElement&&(n=r.getBBox(),o.insert(()=>t.line(n.x,n.y,n.x+n.width,n.y,a),".basic.label-container g.label"),o.insert(()=>t.line(n.x,n.y+n.height,n.x+n.width,n.y+n.height,a),".basic.label-container g.label"),i.remove()),o}let d=o.select(".basic.label-container"),c=(Number(d.attr("width"))||s)??0,y=(Number(d.attr("height"))||h)??0;return c>0&&y>0&&d.attr("stroke-dasharray",`${c} ${y}`),o}async function ts(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r="neo"===e.look?16:e.padding??0,n="neo"===e.look?16:e.padding??0,{shapeSvg:s,bbox:h,label:o}=await y(t,e,u(e)),d=h.width+r,c=h.height+n,f=.2*c,p=-d/2,m=-c/2-f/2,{cssStyles:x}=e,$=g.A.svg(s),k=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let D=$.polygon([{x:p,y:m+f},{x:-p,y:m+f},{x:-p,y:-m},{x:p,y:-m},{x:p,y:m},{x:-p,y:m},{x:-p,y:m+f}].map(t=>[t.x,t.y]),k),S=s.insert(()=>D,":first-child");return S.attr("class","basic label-container outer-path"),x&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",x),i&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",i),o.attr("transform",`translate(${p+(e.padding??0)/2-(h.x-(h.left??0))}, ${m+f+(e.padding??0)/2-(h.y-(h.top??0))})`),w(e,S),e.intersect=function(t){return b(e,t)},s}async function th(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e),n="neo"===e.look?12:5;e.labelStyle=i;let h=e.padding??0,d="neo"===e.look?16:h,{shapeSvg:c,bbox:f}=await y(t,e,u(e)),p=(e?.width?e?.width/2:f.width/2)+(d??0),m=p-n,{cssStyles:x}=e;if("handDrawn"===e.look){let t=g.A.svg(c),i=(0,l.Fr)(e,{roughness:.2,strokeWidth:2.5}),r=(0,l.Fr)(e,{roughness:.2,strokeWidth:1.5}),n=t.circle(0,0,2*p,i),h=t.circle(0,0,2*m,r);(a=c.insert("g",":first-child")).attr("class",(0,s.KL)(e.cssClasses)).attr("style",(0,s.KL)(x)),a.node()?.appendChild(n),a.node()?.appendChild(h)}else{let t=(a=c.insert("g",":first-child")).insert("circle",":first-child"),e=a.insert("circle");a.attr("class","basic label-container").attr("style",r),t.attr("class","outer-circle").attr("style",r).attr("r",p).attr("cx",0).attr("cy",0),e.attr("class","inner-circle").attr("style",r).attr("r",m).attr("cx",0).attr("cy",0)}return w(e,a),e.intersect=function(t){return o.R.info("DoubleCircle intersect",e,p,t),F(e,p,t)},c}function to(t,e,{config:{themeVariables:a}}){let{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.label="",e.labelStyle=i;let n=t.insert("g").attr("class",u(e)).attr("id",e.domId??e.id),{cssStyles:s}=e,h=g.A.svg(n),{nodeBorder:d}=a,c=(0,l.Fr)(e,{fillStyle:"solid"});"handDrawn"!==e.look&&(c.roughness=0);let y=h.circle(0,0,14,c),f=n.insert(()=>y,":first-child");return f.selectAll("path").attr("style",`fill: ${d} !important;`),s&&s.length>0&&"handDrawn"!==e.look&&f.selectAll("path").attr("style",s),r&&"handDrawn"!==e.look&&f.selectAll("path").attr("style",r),w(e,f),e.intersect=function(t){return o.R.info("filledCircle intersect",e,{radius:7,point:t}),F(e,7,t)},n}async function td(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?2*r:r;(e.width||e.height)&&(e.height=e?.height??0,e.height<10&&(e.height=10),e.width=(e?.width??0)-n-n/2,e.width<10&&(e.width=10));let{shapeSvg:s,bbox:h,label:d}=await y(t,e,u(e)),c=(e?.width?e?.width:h.width)+(n??0),f=e?.height?e?.height:c+h.height,m=[{x:0,y:-f},{x:f,y:-f},{x:f/2,y:0}],{cssStyles:x}=e,$=g.A.svg(s),b=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");let k=p(m),D=$.path(k,b),S=s.insert(()=>D,":first-child").attr("transform",`translate(${-f/2}, ${f/2})`).attr("class","outer-path");return x&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",x),i&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",i),e.width=c,e.height=f,w(e,S),d.attr("transform",`translate(${-h.width/2-(h.x-(h.left??0))}, ${-f/2+(e.padding??0)/2+(h.y-(h.top??0))})`),e.intersect=function(t){return o.R.info("Triangle intersect",e,m,t),G(e,m,t)},s}function tc(t,e,{dir:a,config:{state:i,themeVariables:r}}){let{nodeStyles:n}=(0,l.GX)(e);e.label="";let s=t.insert("g").attr("class",u(e)).attr("id",e.domId??e.id),{cssStyles:h}=e,o=Math.max(70,e?.width??0),d=Math.max(10,e?.height??0);"LR"===a&&(o=Math.max(10,e?.width??0),d=Math.max(70,e?.height??0));let c=-1*o/2,y=-1*d/2,f=g.A.svg(s),p=(0,l.Fr)(e,{stroke:r.lineColor,fill:r.lineColor});"handDrawn"!==e.look&&(p.roughness=0,p.fillStyle="solid");let m=f.rectangle(c,y,o,d,p),x=s.insert(()=>m,":first-child");h&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",h),n&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",n),w(e,x);let $=i?.padding??0;return e.width&&e.height&&(e.width+=$/2||0,e.height+=$/2||0),e.intersect=function(t){return b(e,t)},s}async function tg(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r="neo"===e.look?16:e.padding??0,n="neo"===e.look?12:e.padding??0;(e.width||e.height)&&(e.height=(e?.height??0)-2*n,e.height<10&&(e.height=10),e.width=(e?.width??0)-2*r,e.width<15&&(e.width=15));let{shapeSvg:s,bbox:h}=await y(t,e,u(e)),d=(e?.width?e?.width:Math.max(15,h.width))+2*r,c=(e?.height?e?.height:Math.max(10,h.height))+2*n,f=c/2,{cssStyles:m}=e,$=g.A.svg(s),b=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");let k=[{x:-d/2,y:-c/2},{x:d/2-f,y:-c/2},...x(-d/2+f,0,f,50,90,270),{x:d/2-f,y:c/2},{x:-d/2,y:c/2}],D=p(k),S=$.path(D,b),M=s.insert(()=>S,":first-child");return M.attr("class","basic label-container outer-path"),m&&"handDrawn"!==e.look&&M.selectChildren("path").attr("style",m),i&&"handDrawn"!==e.look&&M.selectChildren("path").attr("style",i),w(e,M),e.intersect=function(t){return o.R.info("Pill intersect",e,{radius:f,point:t}),G(e,k,t)},s}(0,d.K)(ti,"cylinder"),(0,d.K)(tr,"drawRect"),(0,d.K)(tn,"datastore"),(0,d.K)(ts,"dividedRectangle"),(0,d.K)(th,"doublecircle"),(0,d.K)(to,"filledCircle"),(0,d.K)(td,"flippedTriangle"),(0,d.K)(tc,"forkJoin"),(0,d.K)(tg,"halfRoundedRectangle");var ty=(0,d.K)((t,e,a,l,i)=>`M${t+i},${e} L${t+a-i},${e} L${t+a},${e-l/2} L${t+a-i},${e-l} L${t+i},${e-l} L${t},${e-l/2} Z`,"createHexagonPathD");async function tf(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e),n="neo"===e.look?3.5:4;e.labelStyle=i;let s=e.padding??0,h="neo"===e.look?70:s,o="neo"===e.look?32:s;if(e.width||e.height){let t=e.height??0;e.width=(e?.width??0)-t/n*2-o,e.height=(e.height??0)-h}let{shapeSvg:d,bbox:c}=await y(t,e,u(e)),f=(e?.height?e?.height:c.height)+h,p=f/n,m=(e?.width?e?.width:c.width)+2*p+o,x=[{x:p,y:0},{x:m-p,y:0},{x:m,y:-f/2},{x:m-p,y:-f},{x:p,y:-f},{x:0,y:-f/2}],{cssStyles:$}=e;if("handDrawn"===e.look){let t=g.A.svg(d),i=(0,l.Fr)(e,{}),r=ty(0,0,m,f,p),n=t.path(r,i);a=d.insert(()=>n,":first-child").attr("transform",`translate(${-m/2}, ${f/2})`),$&&a.attr("style",$)}else a=H(d,m,f,x);return r&&a.attr("style",r),e.width=m,e.height=f,w(e,a),e.intersect=function(t){return G(e,x,t)},d}async function tw(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.label="",e.labelStyle=a;let{shapeSvg:r}=await y(t,e,u(e)),n=Math.max(30,e?.width??0),s=Math.max(30,e?.height??0),{cssStyles:h}=e,d=g.A.svg(r),c=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(c.roughness=0,c.fillStyle="solid");let f=[{x:0,y:0},{x:n,y:0},{x:0,y:s},{x:n,y:s}],m=p(f),x=d.path(m,c),$=r.insert(()=>x,":first-child");return $.attr("class","basic label-container outer-path"),h&&"handDrawn"!==e.look&&$.selectChildren("path").attr("style",h),i&&"handDrawn"!==e.look&&$.selectChildren("path").attr("style",i),$.attr("transform",`translate(${-n/2}, ${-s/2})`),w(e,$),e.intersect=function(t){return o.R.info("Pill intersect",e,{points:f}),G(e,f,t)},r}async function tu(t,e,{config:{themeVariables:a,flowchart:i}}){let{labelStyles:r}=(0,l.GX)(e);e.labelStyle=r;let s=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(s,i?.wrappingWidth??0);let{shapeSvg:h,bbox:d,label:c}=await y(t,e,"icon-shape default"),f="t"===e.pos,{nodeBorder:u}=a,{stylesMap:p}=(0,l.WW)(e),m=-s/2,x=-s/2,$=8*!!e.label,k=g.A.svg(h),D=(0,l.Fr)(e,{stroke:"none",fill:"none"});"handDrawn"!==e.look&&(D.roughness=0,D.fillStyle="solid");let S=k.rectangle(m,x,s,s,D),M=Math.max(s,d.width),A=s+d.height+$,v=k.rectangle(-M/2,-A/2,M,A,{...D,fill:"transparent",stroke:"none"}),K=h.insert(()=>S,":first-child"),B=h.insert(()=>v);if(e.icon){let t=h.append("g");t.html(`<g>${await (0,n.WY)(e.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);let a=t.node().getBBox(),l=a.width,i=a.height,r=a.x,o=a.y;t.attr("transform",`translate(${-l/2-r},${f?d.height/2+$/2-i/2-o:-d.height/2-$/2-i/2-o})`),t.attr("style",`color: ${p.get("stroke")??u};`)}return c.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${f?-A/2:A/2-d.height})`),K.attr("transform",`translate(0,${f?d.height/2+$/2:-d.height/2-$/2})`),w(e,B),e.intersect=function(t){if(o.R.info("iconSquare intersect",e,t),!e.label)return b(e,t);let a=e.x??0,l=e.y??0,i=e.height??0,r=[];return G(e,r=f?[{x:a-d.width/2,y:l-i/2},{x:a+d.width/2,y:l-i/2},{x:a+d.width/2,y:l-i/2+d.height+$},{x:a+s/2,y:l-i/2+d.height+$},{x:a+s/2,y:l+i/2},{x:a-s/2,y:l+i/2},{x:a-s/2,y:l-i/2+d.height+$},{x:a-d.width/2,y:l-i/2+d.height+$}]:[{x:a-s/2,y:l-i/2},{x:a+s/2,y:l-i/2},{x:a+s/2,y:l-i/2+s},{x:a+d.width/2,y:l-i/2+s},{x:a+d.width/2/2,y:l+i/2},{x:a-d.width/2,y:l+i/2},{x:a-d.width/2,y:l-i/2+s},{x:a-s/2,y:l-i/2+s}],t)},h}async function tp(t,e,{config:{themeVariables:a,flowchart:i}}){let{labelStyles:r}=(0,l.GX)(e);e.labelStyle=r;let s=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(s,i?.wrappingWidth??0);let{shapeSvg:h,bbox:d,label:c}=await y(t,e,"icon-shape default"),f=8*!!e.label,u="t"===e.pos,{nodeBorder:p,mainBkg:m}=a,{stylesMap:x}=(0,l.WW)(e),$=g.A.svg(h),k=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid"),k.stroke=x.get("fill")??m;let D=h.append("g");e.icon&&D.html(`<g>${await (0,n.WY)(e.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);let S=D.node().getBBox(),M=S.width,A=S.height,v=S.x,K=S.y,B=Math.max(M,A)*Math.SQRT2+40,C=$.circle(0,0,B,k),N=Math.max(B,d.width),R=B+d.height+f,L=$.rectangle(-N/2,-R/2,N,R,{...k,fill:"transparent",stroke:"none"}),F=h.insert(()=>C,":first-child"),P=h.insert(()=>L);return D.attr("transform",`translate(${-M/2-v},${u?d.height/2+f/2-A/2-K:-d.height/2-f/2-A/2-K})`),D.attr("style",`color: ${x.get("stroke")??p};`),c.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${u?-R/2:R/2-d.height})`),F.attr("transform",`translate(0,${u?d.height/2+f/2:-d.height/2-f/2})`),w(e,P),e.intersect=function(t){return o.R.info("iconSquare intersect",e,t),b(e,t)},h}async function tm(t,e,{config:{themeVariables:a,flowchart:i}}){let{labelStyles:r}=(0,l.GX)(e);e.labelStyle=r;let s=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(s,i?.wrappingWidth??0);let{shapeSvg:h,bbox:d,halfPadding:c,label:f}=await y(t,e,"icon-shape default"),u="t"===e.pos,p=s+2*c,m=s+2*c,{nodeBorder:x,mainBkg:$}=a,{stylesMap:k}=(0,l.WW)(e),S=8*!!e.label,M=g.A.svg(h),A=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid"),A.stroke=k.get("fill")??$;let v=M.path(D(-m/2,-p/2,m,p,5),A),K=Math.max(m,d.width),B=p+d.height+S,C=M.rectangle(-K/2,-B/2,K,B,{...A,fill:"transparent",stroke:"none"}),N=h.insert(()=>v,":first-child").attr("class","icon-shape2"),R=h.insert(()=>C);if(e.icon){let t=h.append("g");t.html(`<g>${await (0,n.WY)(e.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);let a=t.node().getBBox(),l=a.width,i=a.height,r=a.x,o=a.y;t.attr("transform",`translate(${-l/2-r},${u?d.height/2+S/2-i/2-o:-d.height/2-S/2-i/2-o})`),t.attr("style",`color: ${k.get("stroke")??x};`)}return f.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${u?-B/2:B/2-d.height})`),N.attr("transform",`translate(0,${u?d.height/2+S/2:-d.height/2-S/2})`),w(e,R),e.intersect=function(t){if(o.R.info("iconSquare intersect",e,t),!e.label)return b(e,t);let a=e.x??0,l=e.y??0,i=e.height??0,r=[];return G(e,r=u?[{x:a-d.width/2,y:l-i/2},{x:a+d.width/2,y:l-i/2},{x:a+d.width/2,y:l-i/2+d.height+S},{x:a+m/2,y:l-i/2+d.height+S},{x:a+m/2,y:l+i/2},{x:a-m/2,y:l+i/2},{x:a-m/2,y:l-i/2+d.height+S},{x:a-d.width/2,y:l-i/2+d.height+S}]:[{x:a-m/2,y:l-i/2},{x:a+m/2,y:l-i/2},{x:a+m/2,y:l-i/2+p},{x:a+d.width/2,y:l-i/2+p},{x:a+d.width/2/2,y:l+i/2},{x:a-d.width/2,y:l+i/2},{x:a-d.width/2,y:l-i/2+p},{x:a-m/2,y:l-i/2+p}],t)},h}async function tx(t,e,{config:{themeVariables:a,flowchart:i}}){let{labelStyles:r}=(0,l.GX)(e);e.labelStyle=r;let s=Math.max(e.assetHeight??48,e.assetWidth??48);e.width=Math.max(s,i?.wrappingWidth??0);let{shapeSvg:h,bbox:d,halfPadding:c,label:f}=await y(t,e,"icon-shape default"),u="t"===e.pos,p=s+2*c,m=s+2*c,{nodeBorder:x,mainBkg:$}=a,{stylesMap:k}=(0,l.WW)(e),S=8*!!e.label,M=g.A.svg(h),A=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid"),A.stroke=k.get("fill")??$;let v=M.path(D(-m/2,-p/2,m,p,.1),A),K=Math.max(m,d.width),B=p+d.height+S,C=M.rectangle(-K/2,-B/2,K,B,{...A,fill:"transparent",stroke:"none"}),N=h.insert(()=>v,":first-child"),R=h.insert(()=>C);if(e.icon){let t=h.append("g");t.html(`<g>${await (0,n.WY)(e.icon,{height:s,width:s,fallbackPrefix:""})}</g>`);let a=t.node().getBBox(),l=a.width,i=a.height,r=a.x,o=a.y;t.attr("transform",`translate(${-l/2-r},${u?d.height/2+S/2-i/2-o:-d.height/2-S/2-i/2-o})`),t.attr("style",`color: ${k.get("stroke")??x};`)}return f.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))},${u?-B/2:B/2-d.height})`),N.attr("transform",`translate(0,${u?d.height/2+S/2:-d.height/2-S/2})`),w(e,R),e.intersect=function(t){if(o.R.info("iconSquare intersect",e,t),!e.label)return b(e,t);let a=e.x??0,l=e.y??0,i=e.height??0,r=[];return G(e,r=u?[{x:a-d.width/2,y:l-i/2},{x:a+d.width/2,y:l-i/2},{x:a+d.width/2,y:l-i/2+d.height+S},{x:a+m/2,y:l-i/2+d.height+S},{x:a+m/2,y:l+i/2},{x:a-m/2,y:l+i/2},{x:a-m/2,y:l-i/2+d.height+S},{x:a-d.width/2,y:l-i/2+d.height+S}]:[{x:a-m/2,y:l-i/2},{x:a+m/2,y:l-i/2},{x:a+m/2,y:l-i/2+p},{x:a+d.width/2,y:l-i/2+p},{x:a+d.width/2/2,y:l+i/2},{x:a-d.width/2,y:l+i/2},{x:a-d.width/2,y:l-i/2+p},{x:a-m/2,y:l-i/2+p}],t)},h}async function t$(t,e,{config:{flowchart:a}}){let i=new Image;i.src=e?.img??"",await i.decode();let r=Number(i.naturalWidth.toString().replace("px","")),n=Number(i.naturalHeight.toString().replace("px",""));e.imageAspectRatio=r/n;let{labelStyles:s}=(0,l.GX)(e);e.labelStyle=s;let h=a?.wrappingWidth;e.defaultWidth=a?.wrappingWidth;let d=Math.max(e.label?h??0:0,e?.assetWidth??r),c="on"===e.constraint&&e?.assetHeight?e.assetHeight*e.imageAspectRatio:d,f="on"===e.constraint?c/e.imageAspectRatio:e?.assetHeight??n;e.width=Math.max(c,h??0);let{shapeSvg:u,bbox:p,label:m}=await y(t,e,"image-shape default"),x="t"===e.pos,$=-c/2,k=8*!!e.label,D=g.A.svg(u),S=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(S.roughness=0,S.fillStyle="solid");let M=D.rectangle($,-f/2,c,f,S),A=Math.max(c,p.width),v=f+p.height+k,K=D.rectangle(-A/2,-v/2,A,v,{...S,fill:"none",stroke:"none"}),B=u.insert(()=>M,":first-child"),C=u.insert(()=>K);if(e.img){let t=u.append("image");t.attr("href",e.img),t.attr("width",c),t.attr("height",f),t.attr("preserveAspectRatio","none"),t.attr("transform",`translate(${-c/2},${x?v/2-f:-v/2})`)}return m.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))},${x?-f/2-p.height/2-k/2:f/2-p.height/2+k/2})`),B.attr("transform",`translate(0,${x?p.height/2+k/2:-p.height/2-k/2})`),w(e,C),e.intersect=function(t){if(o.R.info("iconSquare intersect",e,t),!e.label)return b(e,t);let a=e.x??0,l=e.y??0,i=e.height??0,r=[];return G(e,r=x?[{x:a-p.width/2,y:l-i/2},{x:a+p.width/2,y:l-i/2},{x:a+p.width/2,y:l-i/2+p.height+k},{x:a+c/2,y:l-i/2+p.height+k},{x:a+c/2,y:l+i/2},{x:a-c/2,y:l+i/2},{x:a-c/2,y:l-i/2+p.height+k},{x:a-p.width/2,y:l-i/2+p.height+k}]:[{x:a-c/2,y:l-i/2},{x:a+c/2,y:l-i/2},{x:a+c/2,y:l-i/2+f},{x:a+p.width/2,y:l-i/2+f},{x:a+p.width/2/2,y:l+i/2},{x:a-p.width/2,y:l+i/2},{x:a-p.width/2,y:l-i/2+f},{x:a-c/2,y:l-i/2+f}],t)},u}async function tb(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let n=e.padding??0,s="neo"===e.look?2*n:n,{shapeSvg:h,bbox:o}=await y(t,e,u(e)),d=Math.max(o.width+(s??0)*2,e?.width??0),c=Math.max(o.height+(n??0)*2,e?.height??0),f=[{x:0,y:0},{x:d,y:0},{x:d+3*c/6,y:-c},{x:-3*c/6,y:-c}],{cssStyles:m}=e;if("handDrawn"===e.look){let t=g.A.svg(h),i=(0,l.Fr)(e,{}),r=p(f),n=t.path(r,i);a=h.insert(()=>n,":first-child").attr("transform",`translate(${-d/2}, ${c/2})`),m&&a.attr("style",m)}else a=H(h,d,c,f);return r&&a.attr("style",r),e.width=d,e.height=c,w(e,a),e.intersect=function(t){return G(e,f,t)},h}async function tk(t,e){let{shapeSvg:a,bbox:l,label:i}=await y(t,e,"label"),r=a.insert("rect",":first-child");return r.attr("width",.1).attr("height",.1),a.attr("class","label edgeLabel"),i.attr("transform",`translate(${-(l.width/2)-(l.x-(l.left??0))}, ${-(l.height/2)-(l.y-(l.top??0))})`),w(e,r),e.intersect=function(t){return b(e,t)},a}async function tD(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let n=e.padding??0,s="neo"===e.look?2*n:n,{shapeSvg:h,bbox:o}=await y(t,e,u(e)),d=(e?.height??o.height)+n,c=(e?.width??o.width)+s,f=[{x:0,y:0},{x:c+3*d/6,y:0},{x:c,y:-d},{x:-(3*d)/6,y:-d}],{cssStyles:m}=e;if("handDrawn"===e.look){let t=g.A.svg(h),i=(0,l.Fr)(e,{}),r=p(f),n=t.path(r,i);a=h.insert(()=>n,":first-child").attr("transform",`translate(${-c/2}, ${d/2})`),m&&a.attr("style",m)}else a=H(h,c,d,f);return r&&a.attr("style",r),e.width=c,e.height=d,w(e,a),e.intersect=function(t){return G(e,f,t)},h}async function tS(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let n=e.padding??0,s="neo"===e.look?2*n:n,{shapeSvg:h,bbox:o}=await y(t,e,u(e)),d=(e?.height??o.height)+n,c=(e?.width??o.width)+s,f=[{x:-3*d/6,y:0},{x:c,y:0},{x:c+3*d/6,y:-d},{x:0,y:-d}],{cssStyles:m}=e;if("handDrawn"===e.look){let t=g.A.svg(h),i=(0,l.Fr)(e,{}),r=p(f),n=t.path(r,i);a=h.insert(()=>n,":first-child").attr("transform",`translate(${-c/2}, ${d/2})`),m&&a.attr("style",m)}else a=H(h,c,d,f);return r&&a.attr("style",r),e.width=c,e.height=d,w(e,a),e.intersect=function(t){return G(e,f,t)},h}function tM(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.label="",e.labelStyle=a;let r=t.insert("g").attr("class",u(e)).attr("id",e.domId??e.id),{cssStyles:n}=e,s=Math.max(35,e?.width??0),h=Math.max(35,e?.height??0),d=[{x:s,y:0},{x:0,y:h+3.5},{x:s-14,y:h+3.5},{x:0,y:2*h},{x:s,y:h-3.5},{x:14,y:h-3.5}],c=g.A.svg(r),y=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");let f=p(d),m=c.path(f,y),x=r.insert(()=>m,":first-child");return x.attr("class","outer-path"),n&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",n),i&&"handDrawn"!==e.look&&x.selectAll("path").attr("style",i),x.attr("transform",`translate(-${s/2},${-h})`),w(e,x),e.intersect=function(t){return o.R.info("lightningBolt intersect",e,t),G(e,d,t)},r}(0,d.K)(tf,"hexagon"),(0,d.K)(tw,"hourglass"),(0,d.K)(tu,"icon"),(0,d.K)(tp,"iconCircle"),(0,d.K)(tm,"iconRounded"),(0,d.K)(tx,"iconSquare"),(0,d.K)(t$,"imageSquare"),(0,d.K)(tb,"inv_trapezoid"),(0,d.K)(tk,"labelRect"),(0,d.K)(tD,"lean_left"),(0,d.K)(tS,"lean_right"),(0,d.K)(tM,"lightningBolt");var tA=(0,d.K)((t,e,a,l,i,r,n)=>`M${t},${e+r} a${i},${r} 0,0,0 ${a},0 a${i},${r} 0,0,0 ${-a},0 l0,${l} a${i},${r} 0,0,0 ${a},0 l0,${-l} M${t},${e+r+n} a${i},${r} 0,0,0 ${a},0`,"createCylinderPathD"),tv=(0,d.K)((t,e,a,l,i,r,n)=>`M${t},${e+r} M${t+a},${e+r} a${i},${r} 0,0,0 ${-a},0 l0,${l} a${i},${r} 0,0,0 ${a},0 l0,${-l} M${t},${e+r+n} a${i},${r} 0,0,0 ${a},0`,"createOuterCylinderPathD"),tK=(0,d.K)((t,e,a,l,i,r)=>`M${t-a/2},${-l/2} a${i},${r} 0,0,0 ${a},0`,"createInnerCylinderPathD");async function tB(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let n=e.padding??0,h="neo"===e.look?16:n,o="neo"===e.look?24:n;if(e.width||e.height){let t=e.width??0;e.width=(e.width??0)-h,e.width<10&&(e.width=10),e.height=(e.height??0)-o-t/2/(2.5+t/50)*3,e.height<10&&(e.height=10)}let{shapeSvg:d,bbox:c,label:f}=await y(t,e,u(e)),p=(e?.width?e?.width:c.width)+2*h,m=p/2,x=m/(2.5+p/50),$=(e?.height?e?.height:c.height)+x+2*o,k=.1*$,{cssStyles:D}=e;if("handDrawn"===e.look){let t=g.A.svg(d),i=tv(0,0,p,$,m,x,k),r=tK(0,x,p,$,m,x),n=(0,l.Fr)(e,{}),s=t.path(i,n),h=t.path(r,n);d.insert(()=>h,":first-child").attr("class","line"),(a=d.insert(()=>s,":first-child")).attr("class","basic label-container"),D&&a.attr("style",D)}else{let t=tA(0,0,p,$,m,x,k);a=d.insert("path",":first-child").attr("d",t).attr("class","basic label-container outer-path").attr("style",(0,s.KL)(D)).attr("style",r)}return a.attr("label-offset-y",x),a.attr("transform",`translate(${-p/2}, ${-($/2+x)})`),w(e,a),f.attr("transform",`translate(${-(c.width/2)-(c.x-(c.left??0))}, ${-(c.height/2)+x-(c.y-(c.top??0))})`),e.intersect=function(t){let a=b(e,t),l=a.x-(e.x??0);if(0!=m&&(Math.abs(l)<(e.width??0)/2||Math.abs(l)==(e.width??0)/2&&Math.abs(a.y-(e.y??0))>(e.height??0)/2-x)){let i=x*x*(1-l*l/(m*m));i>0&&(i=Math.sqrt(i)),i=x-i,t.y-(e.y??0)>0&&(i=-i),a.y+=i}return a},d}async function tC(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r;if(e.width||e.height){let t=e.width;e.width=(t??0)*10/11-2*n,e.width<10&&(e.width=10),e.height=(e?.height??0)-2*s,e.height<10&&(e.height=10)}let{shapeSvg:h,bbox:o,label:d}=await y(t,e,u(e)),c=(e?.width?e?.width:o.width)+(n??0)*2,f=(e?.height?e?.height:o.height)+(s??0)*2,p="neo"===e.look?f/4:f/8,x=f+p,{cssStyles:$}=e,b=g.A.svg(h),k=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let D=[{x:-c/2-c/2*.1,y:-x/2},{x:-c/2-c/2*.1,y:x/2},...m(-c/2-c/2*.1,x/2,c/2+c/2*.1,x/2,p,.8),{x:c/2+c/2*.1,y:-x/2},{x:-c/2-c/2*.1,y:-x/2},{x:-c/2,y:-x/2},{x:-c/2,y:x/2*1.1},{x:-c/2,y:-x/2}],S=b.polygon(D.map(t=>[t.x,t.y]),k),M=h.insert(()=>S,":first-child");return M.attr("class","basic label-container outer-path"),$&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",$),i&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",i),M.attr("transform",`translate(0,${-p/2})`),d.attr("transform",`translate(${-c/2+(e.padding??0)+c/2*.1/2-(o.x-(o.left??0))},${-f/2+(e.padding??0)-p/2-(o.y-(o.top??0))})`),w(e,M),e.intersect=function(t){return G(e,D,t)},h}async function tN(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r,h="neo"===e.look?10:5;(e.width||e.height)&&(e.width=Math.max((e?.width??0)-2*n-2*h,10),e.height=Math.max((e?.height??0)-2*s-2*h,10));let{shapeSvg:o,bbox:d,label:c}=await y(t,e,u(e)),f=(e?.width?e?.width:d.width)+2*n+2*h,m=(e?.height?e?.height:d.height)+2*s+2*h,x=f-2*h,b=m-2*h,k=-x/2,D=-b/2,{cssStyles:S}=e,M=g.A.svg(o),A=(0,l.Fr)(e,{}),v=[{x:k-h,y:D+h},{x:k-h,y:D+b+h},{x:k+x-h,y:D+b+h},{x:k+x-h,y:D+b},{x:k+x,y:D+b},{x:k+x,y:D+b-h},{x:k+x+h,y:D+b-h},{x:k+x+h,y:D-h},{x:k+h,y:D-h},{x:k+h,y:D},{x:k,y:D},{x:k,y:D+h}];"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid");let K=p(v),B=M.path(K,A),C=p([{x:k,y:D+h},{x:k+x-h,y:D+h},{x:k+x-h,y:D+b},{x:k+x,y:D+b},{x:k+x,y:D},{x:k,y:D}]),N=M.path(C,A);"handDrawn"!==e.look&&(B=$(B),N=$(N));let R=o.insert("g",":first-child");return R.insert(()=>B),R.insert(()=>N),R.attr("class","basic label-container outer-path"),S&&"handDrawn"!==e.look&&R.selectAll("path").attr("style",S),i&&"handDrawn"!==e.look&&R.selectAll("path").attr("style",i),c.attr("transform",`translate(${-(d.width/2)-h-(d.x-(d.left??0))}, ${-(d.height/2)+h-(d.y-(d.top??0))})`),w(e,R),e.intersect=function(t){return G(e,v,t)},o}async function tR(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let{shapeSvg:r,bbox:n,label:s}=await y(t,e,u(e)),h=e.padding??0,o="neo"===e.look?16:h,d="neo"===e.look?12:h,c=!0;(e.width||e.height)&&(c=!1,e.width=(e?.width??0)-2*o,e.height=(e?.height??0)-3*d);let f=Math.max(n.width,e?.width??0)+2*o,x=Math.max(n.height,e?.height??0)+3*d,$="neo"===e.look?x/4:x/8,b=x+(c?$/2:-$/2),k=-f/2,D=-b/2,{cssStyles:S}=e,M=m(k-10,D+b+10,k+f-10,D+b+10,$,.8),A=M?.[M.length-1],v=[{x:k-10,y:D+10},{x:k-10,y:D+b+10},...M,{x:k+f-10,y:A.y-10},{x:k+f,y:A.y-10},{x:k+f,y:A.y-20},{x:k+f+10,y:A.y-20},{x:k+f+10,y:D-10},{x:k+10,y:D-10},{x:k+10,y:D},{x:k,y:D},{x:k,y:D+10}],K=[{x:k,y:D+10},{x:k+f-10,y:D+10},{x:k+f-10,y:A.y-10},{x:k+f,y:A.y-10},{x:k+f,y:D},{x:k,y:D}],B=g.A.svg(r),C=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");let N=p(v),R=B.path(N,C),L=p(K),F=B.path(L,C),P=r.insert(()=>R,":first-child");return P.insert(()=>F),P.attr("class","basic label-container outer-path"),S&&"handDrawn"!==e.look&&P.selectAll("path").attr("style",S),i&&"handDrawn"!==e.look&&P.selectAll("path").attr("style",i),P.attr("transform",`translate(0,${-$/2})`),s.attr("transform",`translate(${-(n.width/2)-10-(n.x-(n.left??0))}, ${-(n.height/2)+10-$/2-(n.y-(n.top??0))})`),w(e,P),e.intersect=function(t){return G(e,v,t)},r}async function tL(t,e,{config:{themeVariables:a}}){let{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i,e.useHtmlLabels||(0,h.E)((0,h.zj)())||(e.centerLabel=!0);let{shapeSvg:n,bbox:s,label:o}=await y(t,e,u(e)),d=Math.max(s.width+(e.padding??0)*2,e?.width??0),c=Math.max(s.height+(e.padding??0)*2,e?.height??0),{cssStyles:f}=e,p=g.A.svg(n),m=(0,l.Fr)(e,{fill:a.noteBkgColor,stroke:a.noteBorderColor});"handDrawn"!==e.look&&(m.roughness=0,m.fillStyle="solid");let x=p.rectangle(-d/2,-c/2,d,c,m),$=n.insert(()=>x,":first-child");return $.attr("class","basic label-container outer-path"),o.attr("class","label noteLabel"),f&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",f),r&&"handDrawn"!==e.look&&$.selectAll("path").attr("style",r),o.attr("transform",`translate(${-s.width/2-(s.x-(s.left??0))}, ${-(s.height/2)-(s.y-(s.top??0))})`),w(e,$),e.intersect=function(t){return b(e,t)},n}(0,d.K)(tB,"linedCylinder"),(0,d.K)(tC,"linedWaveEdgedRect"),(0,d.K)(tN,"multiRect"),(0,d.K)(tR,"multiWaveEdgedRectangle"),(0,d.K)(tL,"note");var tF=(0,d.K)((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 tP(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let{shapeSvg:n,bbox:s}=await y(t,e,u(e)),h=s.width+(e.padding??0)+(s.height+(e.padding??0)),o=[{x:h/2,y:0},{x:h,y:-h/2},{x:h/2,y:-h},{x:0,y:-h/2}],{cssStyles:d}=e;if("handDrawn"===e.look){let t=g.A.svg(n),i=(0,l.Fr)(e,{}),r=tF(0,0,h),s=t.path(r,i);a=n.insert(()=>s,":first-child").attr("transform",`translate(${-h/2+.5}, ${h/2})`),d&&a.attr("style",d)}else(a=H(n,h,h,o)).attr("transform",`translate(${-h/2+.5}, ${h/2})`);return r&&a.attr("style",r),w(e,a),e.calcIntersect=function(t,e){let a=t.width,l=G(t,[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}],e);return{x:l.x-.5,y:l.y-.5}},e.intersect=function(t){return this.calcIntersect(e,t)},n}async function tX(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?21:r??0,s="neo"===e.look?12:r??0,{shapeSvg:h,bbox:o,label:d}=await y(t,e,u(e)),c=(e?.width??o.width)+("neo"===e.look?2*n:n),f=(e?.height??o.height)+("neo"===e.look?2*s:s),m=-c/2,x=-f/2,$=x/2,b=[{x:m+$,y:x},{x:m,y:0},{x:m+$,y:-x},{x:-m,y:-x},{x:-m,y:x}],{cssStyles:k}=e,D=g.A.svg(h),S=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(S.roughness=0,S.fillStyle="solid");let M=p(b),A=D.path(M,S),v=h.insert(()=>A,":first-child");return v.attr("class","basic label-container outer-path"),k&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",k),i&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",i),v.attr("transform",`translate(${-$/2},0)`),d.attr("transform",`translate(${-$/2-o.width/2-(o.x-(o.left??0))}, ${-(o.height/2)-(o.y-(o.top??0))})`),w(e,v),e.intersect=function(t){return G(e,b,t)},h}async function tG(t,e){let a,i,r,{labelStyles:n,nodeStyles:s}=(0,l.GX)(e);e.labelStyle=n,a=e.cssClasses?"node "+e.cssClasses:"node default";let d=t.insert("g").attr("class",a).attr("id",e.domId||e.id),y=d.insert("g"),f=d.insert("g").attr("class","label").attr("style",s),u=e.description,p=e.label,m=await k(f,p,e.labelStyle,!0,!0),x={width:0,height:0};if((0,h.E)((0,h.D7)())){let t=m.children[0],e=(0,c.Ltv)(m);x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}o.R.info("Text 2",u);let $=u||[],S=m.getBBox(),M=await k(f,Array.isArray($)?$.join("<br/>"):$,e.labelStyle,!0,!0),A=M.children[0],v=(0,c.Ltv)(M);x=A.getBoundingClientRect(),v.attr("width",x.width),v.attr("height",x.height);let K=(e.padding||0)/2;(0,c.Ltv)(M).attr("transform","translate( "+(x.width>S.width?0:(S.width-x.width)/2)+", "+(S.height+K+5)+")"),(0,c.Ltv)(m).attr("transform","translate( "+(x.width<S.width?0:-(S.width-x.width)/2)+", 0)"),x=f.node().getBBox(),f.attr("transform","translate("+-x.width/2+", "+(-x.height/2-K+3)+")");let B=x.width+(e.padding||0),C=x.height+(e.padding||0),N=-x.width/2-K,R=-x.height/2-K;if("handDrawn"===e.look){let t=g.A.svg(d),a=(0,l.Fr)(e,{}),n=t.path(D(N,R,B,C,e.rx||0),a),s=t.line(-x.width/2-K,-x.height/2-K+S.height+K,x.width/2+K,-x.height/2-K+S.height+K,a);r=d.insert(()=>(o.R.debug("Rough node insert CXC",n),s),":first-child"),i=d.insert(()=>(o.R.debug("Rough node insert CXC",n),n),":first-child")}else i=y.insert("rect",":first-child"),r=y.insert("line"),i.attr("class","outer title-state").attr("style",s).attr("x",-x.width/2-K).attr("y",-x.height/2-K).attr("width",x.width+(e.padding||0)).attr("height",x.height+(e.padding||0)),r.attr("class","divider").attr("x1",-x.width/2-K).attr("x2",x.width/2+K).attr("y1",-x.height/2-K+S.height+K).attr("y2",-x.height/2-K+S.height+K);return w(e,i),e.intersect=function(t){return b(e,t)},d}async function tI(t,e,{config:{themeVariables:a}}){let l=a?.radius??5,i={rx:l,ry:l,classes:"",labelPaddingX:(e?.padding??0)*1,labelPaddingY:(e?.padding??0)*1};return tr(t,e,i)}async function tE(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r="neo"===e.look?16:e.padding??0,n="neo"===e.look?12:e.padding??0,{shapeSvg:h,bbox:o,label:d}=await y(t,e,u(e)),c=(e?.width??o.width)+2*r+("neo"===e.look?8:16),f=(e?.height??o.height)+2*n,p=c-8,m=8-c/2,x=-f/2,{cssStyles:$}=e,k=g.A.svg(h),D=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(D.roughness=0,D.fillStyle="solid");let S=k.polygon([{x:m,y:x},{x:m+p,y:x},{x:m+p,y:x+f},{x:m-8,y:x+f},{x:m-8,y:x},{x:m,y:x},{x:m,y:x+f}].map(t=>[t.x,t.y]),D),M=h.insert(()=>S,":first-child");return M.attr("class","basic label-container outer-path").attr("style",(0,s.KL)($)),i&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",i),$&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",i),d.attr("transform",`translate(${4-o.width/2-(o.x-(o.left??0))}, ${-(o.height/2)-(o.y-(o.top??0))})`),w(e,M),e.intersect=function(t){return b(e,t)},h}async function tT(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r;(e.width||e.height)&&(e.width=Math.max((e?.width??0)-2*n,10),e.height=Math.max((e?.height??0)/1.5-2*s,10));let{shapeSvg:h,bbox:o,label:d}=await y(t,e,u(e)),c=(e?.width?e?.width:o.width)+2*n,f=((e?.height?e?.height:o.height)+2*s)*1.5/1.5,m=-c/2,x=-f/2,{cssStyles:$}=e,b=g.A.svg(h),k=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let D=[{x:m,y:x},{x:m,y:x+f},{x:m+c,y:x+f},{x:m+c,y:x-f/2}],S=p(D),M=b.path(S,k),A=h.insert(()=>M,":first-child");return A.attr("class","basic label-container outer-path"),$&&"handDrawn"!==e.look&&A.selectChildren("path").attr("style",$),i&&"handDrawn"!==e.look&&A.selectChildren("path").attr("style",i),A.attr("transform",`translate(0, ${f/4})`),d.attr("transform",`translate(${-c/2+(e.padding??0)-(o.x-(o.left??0))}, ${-f/4+(e.padding??0)-(o.y-(o.top??0))})`),w(e,A),e.intersect=function(t){return G(e,D,t)},h}async function tW(t,e){let a=e.padding??0,l="neo"===e.look?16:2*a,i="neo"===e.look?12:a,r={rx:0,ry:0,classes:"",labelPaddingX:e.labelPaddingX??l,labelPaddingY:i};return tr(t,e,r)}async function tH(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?20:r,s="neo"===e.look?12:r,{shapeSvg:h,bbox:o}=await y(t,e,u(e)),d=o.height+("neo"===e.look?2*s:s),c=o.width+d/4+("neo"===e.look?2*n:n),f=d/2,{cssStyles:m}=e,$=g.A.svg(h),b=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(b.roughness=0,b.fillStyle="solid");let k=[{x:-c/2+f,y:-d/2},{x:c/2-f,y:-d/2},...x(-c/2+f,0,f,50,90,270),{x:c/2-f,y:d/2},...x(c/2-f,0,f,50,270,450)],D=p(k),S=$.path(D,b),M=h.insert(()=>S,":first-child");return M.attr("class","basic label-container outer-path"),m&&"handDrawn"!==e.look&&M.selectChildren("path").attr("style",m),i&&"handDrawn"!==e.look&&M.selectChildren("path").attr("style",i),w(e,M),e.intersect=function(t){return G(e,k,t)},h}async function tj(t,e){let a={rx:"neo"===e.look?3:5,ry:"neo"===e.look?3:5,classes:"flowchart-node"};return tr(t,e,a)}function tq(t,e,{config:{themeVariables:a}}){let{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let{cssStyles:n}=e,{lineColor:s,stateBorder:h,nodeBorder:o,nodeShadow:d}=a;(e.width||e.height)&&((e.width??0)<14&&(e.width=14),(e.height??0)<14&&(e.height=14)),e.width||(e.width=14),e.height||(e.height=14);let c=t.insert("g").attr("class","node default").attr("id",e.domId??e.id),y=g.A.svg(c),f=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(f.roughness=0,f.fillStyle="solid");let u=y.circle(0,0,e.width,{...f,stroke:s,strokeWidth:2}),p=h??o,m=(e.width??0)*5/14,x=y.circle(0,0,m,{...f,fill:p,stroke:p,strokeWidth:2,fillStyle:"solid"}),$=c.insert(()=>u,":first-child");if($.insert(()=>x),"handDrawn"!==e.look&&$.attr("class","outer-path"),n&&$.selectAll("path").attr("style",n),r&&$.selectAll("path").attr("style",r),e.width<25&&d&&"handDrawn"!==e.look){let e=t.node()?.ownerSVGElement?.id??"",a=e?`${e}-drop-shadow-small`:"drop-shadow-small";$.attr("style",`filter:url(#${a})`)}return w(e,$),e.intersect=function(t){return F(e,(e.width??0)/2,t)},c}function t_(t,e,{config:{themeVariables:a}}){let i,{lineColor:r,nodeShadow:n}=a;(e.width||e.height)&&((e.width??0)<14&&(e.width=14),(e.height??0)<14&&(e.height=14)),e.width||(e.width=14),e.height||(e.height=14);let s=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);if("handDrawn"===e.look){let t=g.A.svg(s).circle(0,0,e.width,(0,l.ue)(r));(i=s.insert(()=>t)).attr("class","state-start").attr("r",(e.width??7)/2).attr("width",e.width??14).attr("height",e.height??14)}else(i=s.insert("circle",":first-child")).attr("class","state-start").attr("r",(e.width??7)/2).attr("width",e.width??14).attr("height",e.height??14);if(e.width<25&&n&&"handDrawn"!==e.look){let e=t.node()?.ownerSVGElement?.id??"",a=e?`${e}-drop-shadow-small`:"drop-shadow-small";i.attr("style",`filter:url(#${a})`)}return w(e,i),e.intersect=function(t){return F(e,(e.width??7)/2,t)},s}async function tz(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e?.padding??8,n="neo"===e.look?28:r,h="neo"===e.look?12:r,{shapeSvg:o,bbox:d}=await y(t,e,u(e)),c=(e?.width??d.width)+16+n,f=(e?.height??d.height)+h,p=c-16,m=-c/2,x=-f/2,$=[{x:0,y:0},{x:p,y:0},{x:p,y:-f},{x:0,y:-f},{x:0,y:0},{x:-8,y:0},{x:p+8,y:0},{x:p+8,y:-f},{x:-8,y:-f},{x:-8,y:0}];if("handDrawn"===e.look){let t=g.A.svg(o),a=(0,l.Fr)(e,{}),i=t.rectangle(m,x,p+16,f,a),r=t.line(m+8,x,m+8,x+f,a),n=t.line(m+8+p,x,m+8+p,x+f,a);o.insert(()=>r,":first-child"),o.insert(()=>n,":first-child");let h=o.insert(()=>i,":first-child"),{cssStyles:d}=e;h.attr("class","basic label-container").attr("style",(0,s.KL)(d)),w(e,h)}else{let t=H(o,p,f,$);i&&t.attr("style",i),w(e,t)}return e.intersect=function(t){return G(e,$,t)},o}async function tO(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r;(e.width||e.height)&&(e.height=Math.max((e?.height??0)-2*s,10),e.width=Math.max((e?.width??0)-2*n-.2*(e.height+2*s),10));let{shapeSvg:h,bbox:o}=await y(t,e,u(e)),d=(e?.height?e?.height:o.height)+2*s,c=.2*d,f=(e?.width?e?.width:o.width)+2*n+c-c,m=-f/2,x=-d/2,{cssStyles:$}=e,b=g.A.svg(h),k=(0,l.Fr)(e,{}),D=[{x:m-c/2,y:x},{x:m+f+c/2,y:x},{x:m+f+c/2,y:x+d},{x:m-c/2,y:x+d}];"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let S=p(D),M=b.path(S,k),A=p([{x:m+f-c/2,y:x+d},{x:m+f+c/2,y:x+d},{x:m+f+c/2,y:x+d-.2*d}]),v=b.path(A,{...k,fillStyle:"solid"}),K=h.insert(()=>v,":first-child");return K.insert(()=>M,":first-child"),K.attr("class","basic label-container outer-path"),$&&"handDrawn"!==e.look&&K.selectAll("path").attr("style",$),i&&"handDrawn"!==e.look&&K.selectAll("path").attr("style",i),w(e,K),e.intersect=function(t){return G(e,D,t)},h}async function tZ(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let{shapeSvg:r,bbox:n,label:s}=await y(t,e,u(e)),h=Math.max(n.width+(e.padding??0)*2,e?.width??0),o=Math.max(n.height+(e.padding??0)*2,e?.height??0),d=o/8,c=.2*h,f=.2*o,x=o+d,{cssStyles:$}=e,b=g.A.svg(r),k=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let D=[{x:-h/2-h/2*.1,y:x/2},...m(-h/2-h/2*.1,x/2,h/2+h/2*.1,x/2,d,.8),{x:h/2+h/2*.1,y:-x/2},{x:-h/2-h/2*.1,y:-x/2}],S=-h/2+h/2*.1,M=-x/2-.4*f,A=[{x:S+h-c,y:(M+o)*1.3},{x:S+h,y:M+o-f},{x:S+h,y:(M+o)*.9},...m(S+h,(M+o)*1.25,S+h-c,(M+o)*1.3,-(.02*o),.5)],v=p(D),K=b.path(v,k),B=p(A),C=b.path(B,{...k,fillStyle:"solid"}),N=r.insert(()=>C,":first-child");return N.insert(()=>K,":first-child"),N.attr("class","basic label-container outer-path"),$&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",$),i&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",i),N.attr("transform",`translate(0,${-d/2})`),s.attr("transform",`translate(${-h/2+(e.padding??0)-(n.x-(n.left??0))},${-o/2+(e.padding??0)-d/2-(n.y-(n.top??0))})`),w(e,N),e.intersect=function(t){return G(e,D,t)},r}async function tY(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let{shapeSvg:r,bbox:n}=await y(t,e,u(e)),s=Math.max(n.width+(e.padding??0),e?.width||0),h=Math.max(n.height+(e.padding??0),e?.height||0),o=r.insert("rect",":first-child");return o.attr("class","text").attr("style",i).attr("rx",0).attr("ry",0).attr("x",-s/2).attr("y",-h/2).attr("width",s).attr("height",h),w(e,o),e.intersect=function(t){return b(e,t)},r}(0,d.K)(tP,"question"),(0,d.K)(tX,"rect_left_inv_arrow"),(0,d.K)(tG,"rectWithTitle"),(0,d.K)(tI,"roundedRect"),(0,d.K)(tE,"shadedProcess"),(0,d.K)(tT,"slopedRect"),(0,d.K)(tW,"squareRect"),(0,d.K)(tH,"stadium"),(0,d.K)(tj,"state"),(0,d.K)(tq,"stateEnd"),(0,d.K)(t_,"stateStart"),(0,d.K)(tz,"subroutine"),(0,d.K)(tO,"taggedRect"),(0,d.K)(tZ,"taggedWaveEdgedRectangle"),(0,d.K)(tY,"text");var tV=(0,d.K)((t,e,a,l,i,r)=>`M${t},${e}
3
+ a${i},${r} 0,0,1 0,${-l}
4
+ l${a},0
5
+ a${i},${r} 0,0,1 0,${l}
6
+ M${a},${-l}
7
+ a${i},${r} 0,0,0 0,${l}
8
+ l${-a},0`,"createCylinderPathD"),tU=(0,d.K)((t,e,a,l,i,r)=>`M${t},${e} M${t+a},${e} a${i},${r} 0,0,0 0,${-l} l${-a},0 a${i},${r} 0,0,0 0,${l} l${a},0`,"createOuterCylinderPathD"),tJ=(0,d.K)((t,e,a,l,i,r)=>`M${t+a/2},${-l/2} a${i},${r} 0,0,0 0,${l}`,"createInnerCylinderPathD");async function tQ(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let n=e.padding??0,h="neo"===e.look?12:n/2;if(e.width||e.height){let t=e.height??0;e.height=(e.height??0)-h,e.height<5&&(e.height=5),e.width=(e.width??0)-h-t/2/(2.5+t/50)*3,e.width<10&&(e.width=10)}let{shapeSvg:o,bbox:d,label:c}=await y(t,e,u(e)),f=(e.height?e.height:d.height)+h,p=f/2,m=p/(2.5+f/50),x=(e.width?e.width:d.width)+m+h,{cssStyles:$}=e;if("handDrawn"===e.look){let t=g.A.svg(o),i=tU(0,0,x,f,m,p),r=tJ(0,0,x,f,m,p),n=t.path(i,(0,l.Fr)(e,{})),s=t.path(r,(0,l.Fr)(e,{fill:"none"}));a=o.insert(()=>s,":first-child"),(a=o.insert(()=>n,":first-child")).attr("class","basic label-container"),$&&a.attr("style",$)}else{let t=tV(0,0,x,f,m,p);(a=o.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,s.KL)($)).attr("style",r)).attr("class","basic label-container outer-path"),$&&a.selectAll("path").attr("style",$),r&&a.selectAll("path").attr("style",r)}return a.attr("label-offset-x",m),a.attr("transform",`translate(${-x/2}, ${f/2} )`),c.attr("transform",`translate(${-(d.width/2)-m-(d.x-(d.left??0))}, ${-(d.height/2)-(d.y-(d.top??0))})`),w(e,a),e.intersect=function(t){let a=b(e,t),l=a.y-(e.y??0);if(0!=p&&(Math.abs(l)<(e.height??0)/2||Math.abs(l)==(e.height??0)/2&&Math.abs(a.x-(e.x??0))>(e.width??0)/2-m)){let i=m*m*(1-l*l/(p*p));0!=i&&(i=Math.sqrt(Math.abs(i))),i=m-i,t.x-(e.x??0)>0&&(i=-i),a.x+=i}return a},o}async function t0(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let n=e.padding??0,s=(e.look,n),h="neo"===e.look?2*n:n,{shapeSvg:o,bbox:d}=await y(t,e,u(e)),c=(e?.height??d.height)+s,f=(e?.width??d.width)+h,m=[{x:-3*c/6,y:0},{x:f+3*c/6,y:0},{x:f,y:-c},{x:0,y:-c}],{cssStyles:x}=e;if("handDrawn"===e.look){let t=g.A.svg(o),i=(0,l.Fr)(e,{}),r=p(m),n=t.path(r,i);a=o.insert(()=>n,":first-child").attr("transform",`translate(${-f/2}, ${c/2})`),x&&a.attr("style",x)}else a=H(o,f,c,m);return r&&a.attr("style",r),e.width=f,e.height=c,w(e,a),e.intersect=function(t){return G(e,m,t)},o}async function t2(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r;(e.width||e.height)&&(e.height=(e.height??0)-2*s,e.height<5&&(e.height=5),e.width=(e.width??0)-2*n,e.width<15&&(e.width=15));let{shapeSvg:h,bbox:o}=await y(t,e,u(e)),d=(e?.width?e?.width:o.width)+2*n,c=(e?.height?e?.height:o.height)+2*s,{cssStyles:f}=e,m=g.A.svg(h),x=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let $=[{x:-d/2*.8,y:-c/2},{x:d/2*.8,y:-c/2},{x:d/2,y:-c/2*.6},{x:d/2,y:c/2},{x:-d/2,y:c/2},{x:-d/2,y:-c/2*.6}],b=p($),k=m.path(b,x),D=h.insert(()=>k,":first-child");return D.attr("class","basic label-container outer-path"),f&&"handDrawn"!==e.look&&D.selectChildren("path").attr("style",f),i&&"handDrawn"!==e.look&&D.selectChildren("path").attr("style",i),w(e,D),e.intersect=function(t){return G(e,$,t)},h}async function t1(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?2*r:r;(e.width||e.height)&&(e.width=((e?.width??0)-n)/2,e.width<10&&(e.width=10),e.height=e?.height??0,e.height<10&&(e.height=10));let{shapeSvg:s,bbox:d,label:c}=await y(t,e,u(e)),f=(0,h._3)((0,h.D7)().flowchart?.htmlLabels),m=(e?.width?e?.width:d.width)+n,x=e?.height?e?.height:m+d.height,$=[{x:0,y:0},{x:x,y:0},{x:x/2,y:-x}],{cssStyles:b}=e,k=g.A.svg(s),D=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(D.roughness=0,D.fillStyle="solid");let S=p($),M=k.path(S,D),A=s.insert(()=>M,":first-child").attr("transform",`translate(${-x/2}, ${x/2})`).attr("class","outer-path");return b&&"handDrawn"!==e.look&&A.selectChildren("path").attr("style",b),i&&"handDrawn"!==e.look&&A.selectChildren("path").attr("style",i),e.width=m,e.height=x,w(e,A),c.attr("transform",`translate(${-d.width/2-(d.x-(d.left??0))}, ${x/2-(d.height+(e.padding??0)/(f?2:1)-(d.y-(d.top??0)))})`),e.intersect=function(t){return o.R.info("Triangle intersect",e,$,t),G(e,$,t)},s}async function t5(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?12:r,h=!0;(e.width||e.height)&&(h=!1,e.width=(e?.width??0)-2*n,e.width<10&&(e.width=10),e.height=(e?.height??0)-2*s,e.height<10&&(e.height=10));let{shapeSvg:o,bbox:d,label:c}=await y(t,e,u(e)),f=(e?.width?e?.width:d.width)+(n??0)*2,x=(e?.height?e?.height:d.height)+(s??0)*2,$="neo"===e.look?x/4:x/8,b=x+(h?$:-$),{cssStyles:k}=e,D=14-f,S=D>0?D/2:0,M=g.A.svg(o),A=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(A.roughness=0,A.fillStyle="solid");let v=[{x:-f/2-S,y:b/2},...m(-f/2-S,b/2,f/2+S,b/2,$,.8),{x:f/2+S,y:-b/2},{x:-f/2-S,y:-b/2}],K=p(v),B=M.path(K,A),C=o.insert(()=>B,":first-child");return C.attr("class","basic label-container outer-path"),k&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",k),i&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",i),C.attr("transform",`translate(0,${-$/2})`),c.attr("transform",`translate(${-f/2+(e.padding??0)-(d.x-(d.left??0))},${-x/2+(e.padding??0)-$-(d.y-(d.top??0))})`),w(e,C),e.intersect=function(t){return G(e,v,t)},o}async function t8(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r=e.padding??0,n="neo"===e.look?16:r,s="neo"===e.look?20:r;if(e.width||e.height){e.width=e?.width??0,e.width<20&&(e.width=20),e.height=e?.height??0,e.height<10&&(e.height=10);let t=Math.min(.2*e.height,e.height/4);e.height=Math.ceil(e.height-s-20/9*t),e.width=e.width-2*n}let{shapeSvg:h,bbox:o}=await y(t,e,u(e)),d=(e?.width?e?.width:o.width)+2*n,c=(e?.height?e?.height:o.height)+s,f=c/8,x=c+2*f,{cssStyles:$}=e,b=g.A.svg(h),k=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let D=[{x:-d/2,y:x/2},...m(-d/2,x/2,d/2,x/2,f,1),{x:d/2,y:-x/2},...m(d/2,-x/2,-d/2,-x/2,f,-1)],S=p(D),M=b.path(S,k),A=h.insert(()=>M,":first-child");return A.attr("class","basic label-container"),$&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",$),i&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",i),w(e,A),e.intersect=function(t){return G(e,D,t)},h}async function t3(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let r="neo"===e.look?16:e.padding??0,n="neo"===e.look?12:e.padding??0;(e.width||e.height)&&(e.width=Math.max((e?.width??0)-2*r-10,10),e.height=Math.max((e?.height??0)-2*n-10,10));let{shapeSvg:s,bbox:h,label:o}=await y(t,e,u(e)),d=(e?.width?e?.width:h.width)+2*r+10,c=(e?.height?e?.height:h.height)+2*n+10,f=d-10,p=c-10,m=-f/2,x=-p/2,{cssStyles:$}=e,b=g.A.svg(s),k=(0,l.Fr)(e,{}),D=[{x:m-10,y:x-10},{x:m-10,y:x+p},{x:m+f,y:x+p},{x:m+f,y:x-10}],S=`M${m-10},${x-10} L${m+f},${x-10} L${m+f},${x+p} L${m-10},${x+p} L${m-10},${x-10}
9
+ M${m-10},${x} L${m+f},${x}
10
+ M${m},${x-10} L${m},${x+p}`;"handDrawn"!==e.look&&(k.roughness=0,k.fillStyle="solid");let M=b.path(S,k),A=s.insert(()=>M,":first-child");return A.attr("transform","translate(5, 5)"),A.attr("class","basic label-container outer-path"),$&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",$),i&&"handDrawn"!==e.look&&A.selectAll("path").attr("style",i),o.attr("transform",`translate(${-(h.width/2)+5-(h.x-(h.left??0))}, ${-(h.height/2)+5-(h.y-(h.top??0))})`),w(e,A),e.intersect=function(t){return G(e,D,t)},s}(0,d.K)(tQ,"tiltedCylinder"),(0,d.K)(t0,"trapezoid"),(0,d.K)(t2,"trapezoidalPentagon"),(0,d.K)(t1,"triangle"),(0,d.K)(t5,"waveEdgedRectangle"),(0,d.K)(t8,"waveRectangle"),(0,d.K)(t3,"windowPane");var t4=new Set(["redux-color","redux-dark-color"]),t7=new Set(["redux","redux-dark","redux-color","redux-dark-color"]);async function t6(t,e){e.alias&&(e.label=e.alias);let{theme:a,themeVariables:i}=(0,h.zj)(),{rowEven:r,rowOdd:n,nodeBorder:o,borderColorArray:d}=i;if("handDrawn"===e.look){let{themeVariables:a}=(0,h.zj)(),{background:l}=a,i={...e,id:e.id+"-background",domId:(e.domId||e.id)+"-background",look:"default",cssStyles:["stroke: none",`fill: ${l}`]};await t6(t,i)}let y=(0,h.zj)();e.useHtmlLabels=y.htmlLabels;let f=y.er?.diagramPadding??10,p=y.er?.entityPadding??6,{cssStyles:m}=e,{labelStyles:x,nodeStyles:$}=(0,l.GX)(e);if(0===e.attributes.length&&e.label){let l={rx:0,ry:0,labelPaddingX:f,labelPaddingY:1.5*f,classes:""};(0,s.Un)(e.label,y)+2*l.labelPaddingX<y.er.minEntityWidth&&(e.width=y.er.minEntityWidth);let i=await tr(t,e,l);if(null!=a&&t4.has(a)){let t=e.colorIndex??0;i.attr("data-color-id",`color-${t%d.length}`)}if(!(0,h._3)(y.htmlLabels)){let t=i.select("text"),e=t.node()?.getBBox();t.attr("transform",`translate(${-e.width/2}, 0)`)}return i}y.htmlLabels||(f*=1.25,p*=1.25);let k=u(e);k||(k="node default");let D=t.insert("g").attr("class",k).attr("id",e.domId||e.id),S=await t9(D,e.label??"",y,0,0,["name"],x);S.height+=p;let M=0,A=[],v=[],K=0,B=0,C=0,N=0,R=!0,L=!0;for(let t of e.attributes){let e=await t9(D,t.type,y,0,M,["attribute-type"],x);K=Math.max(K,e.width+f);let a=await t9(D,t.name,y,0,M,["attribute-name"],x);B=Math.max(B,a.width+f);let l=await t9(D,t.keys.join(),y,0,M,["attribute-keys"],x);C=Math.max(C,l.width+f);let i=await t9(D,t.comment,y,0,M,["attribute-comment"],x);N=Math.max(N,i.width+f);let r=Math.max(e.height,a.height,l.height,i.height)+p;v.push({yOffset:M,rowHeight:r}),M+=r}let F=4;C<=f&&(R=!1,C=0,F--),N<=f&&(L=!1,N=0,F--);let P=D.node().getBBox();if(S.width+2*f-(K+B+C+N)>0){let t=S.width+2*f-(K+B+C+N);K+=t/F,B+=t/F,C>0&&(C+=t/F),N>0&&(N+=t/F)}let X=K+B+C+N,G=g.A.svg(D),I=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(I.roughness=0,I.fillStyle="solid");let E=0;v.length>0&&(E=v.reduce((t,e)=>t+(e?.rowHeight??0),0));let T=Math.max(P.width+2*f,e?.width||0,X),W=Math.max((E??0)+S.height,e?.height||0),H=-T/2,j=-W/2;if(D.selectAll("g:not(:first-child)").each((t,e,a)=>{let l=(0,c.Ltv)(a[e]),i=l.attr("transform"),r=0,n=0;if(i){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(i);t&&(r=parseFloat(t[1]),n=parseFloat(t[2]),l.attr("class").includes("attribute-name")?r+=K:l.attr("class").includes("attribute-keys")?r+=K+B:l.attr("class").includes("attribute-comment")&&(r+=K+B+C))}l.attr("transform",`translate(${H+f/2+r}, ${n+j+S.height+p/2})`)}),D.select(".name").attr("transform","translate("+-S.width/2+", "+(j+p/2)+")"),null!=a&&t4.has(a)){let t=e.colorIndex??0;D.attr("data-color-id",`color-${t%d.length}`)}let q=G.rectangle(H,j,T,W,I),_=D.insert(()=>q,":first-child").attr("class","outer-path").attr("style",m.join(""));for(let[t,e]of(A.push(0),v.entries())){let a=(t+1)%2==0&&0!==e.yOffset,l=G.rectangle(H,S.height+j+e?.yOffset,T,e?.rowHeight,{...I,fill:a?r:n,stroke:o});D.insert(()=>l,"g.label").attr("style",m.join("")).attr("class",`row-rect-${a?"even":"odd"}`)}let z=et(H,S.height+j,T+H,S.height+j,1e-4),O=G.polygon(z.map(t=>[t.x,t.y]),I);if(D.insert(()=>O).attr("class","divider"),z=et(K+H,S.height+j,K+H,W+j,1e-4),O=G.polygon(z.map(t=>[t.x,t.y]),I),D.insert(()=>O).attr("class","divider"),R){let t=K+B+H;z=et(t,S.height+j,t,W+j,1e-4),O=G.polygon(z.map(t=>[t.x,t.y]),I),D.insert(()=>O).attr("class","divider")}if(L){let t=K+B+C+H;z=et(t,S.height+j,t,W+j,1e-4),O=G.polygon(z.map(t=>[t.x,t.y]),I),D.insert(()=>O).attr("class","divider")}for(let t of A){let e=S.height+j+t;z=et(H,e,T+H,e,1e-4),O=G.polygon(z.map(t=>[t.x,t.y]),I),D.insert(()=>O).attr("class","divider")}if(w(e,_),$&&"handDrawn"!==e.look)if(null!=a&&t7.has(a))D.selectAll("path").attr("style",$);else{let t=$.split(";"),e=t?.filter(t=>t.includes("stroke"))?.map(t=>`${t}`).join("; ");D.selectAll("path").attr("style",e??""),D.selectAll(".row-rect-even path").attr("style",$)}return e.intersect=function(t){return b(e,t)},D}async function t9(t,e,a,l=0,i=0,n=[],o=""){let d=t.insert("g").attr("class",`label ${n.join(" ")}`).attr("transform",`translate(${l}, ${i})`).attr("style",o);e!==(0,h.QO)(e)&&(e=(e=(0,h.QO)(e)).replaceAll("<","&lt;").replaceAll(">","&gt;"));let g=d.node().appendChild(await (0,r.G)(d,e,{width:(0,s.Un)(e,a)+100,style:o,useHtmlLabels:a.htmlLabels},a));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,h._3)(a.htmlLabels)){let t=g.children[0];t.style.textAlign="start";let e=(0,c.Ltv)(g);y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}return y}function et(t,e,a,l,i){return t===a?[{x:t-i/2,y:e},{x:t+i/2,y:e},{x:a+i/2,y:l},{x:a-i/2,y:l}]:[{x:t,y:e-i/2},{x:t,y:e+i/2},{x:a,y:l+i/2},{x:a,y:l-i/2}]}async function ee(t,e,a,l,i=a.class.padding??12){let r=3*!l,n=t.insert("g").attr("class",u(e)).attr("id",e.domId||e.id),s=null,h=null,o=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 ea(s,{text:`\xab${t}\xbb`},0),c=s.node().getBBox().height}h=n.insert("g").attr("class","label-group text"),await ea(h,e,0,["font-weight: bolder"]);let f=h.node().getBBox();g=f.height,o=n.insert("g").attr("class","members-group text");let w=0;for(let t of e.members){let e=await ea(o,t,w,[t.parseClassifier()]);w+=e+r}(y=o.node().getBBox().height)<=0&&(y=i/2),d=n.insert("g").attr("class","methods-group text");let p=0;for(let t of e.methods){let e=await ea(d,t,p,[t.parseClassifier()]);p+=e+r}let m=n.node().getBBox();if(null!==s){let t=s.node().getBBox();s.attr("transform",`translate(${-t.width/2})`)}return h.attr("transform",`translate(${-f.width/2}, ${c})`),m=n.node().getBBox(),o.attr("transform",`translate(0, ${c+g+2*i})`),m=n.node().getBBox(),d.attr("transform",`translate(0, ${c+g+(y?y+4*i:2*i)})`),m=n.node().getBBox(),{shapeSvg:n,bbox:m}}async function ea(t,e,a,l=[]){let i,n=t.insert("g").attr("class","label").attr("style",l.join("; ")),o=(0,h.zj)(),g="useHtmlLabels"in e?e.useHtmlLabels:(0,h._3)(o.htmlLabels)??!0,y="";y="text"in e?e.text:e.label,!g&&y.startsWith("\\")&&(y=y.substring(1)),(0,h.Wi)(y)&&(g=!0);let f=await (0,r.G)(n,(0,h.oB)((0,s.Sm)(y)),{width:(0,s.Un)(y,o)+50,classes:"markdown-node-label",useHtmlLabels:g},o),w=1;if(g){let t=f.children[0],e=(0,c.Ltv)(f);w=t.innerHTML.split("<br>").length,t.innerHTML.includes("</math>")&&(w+=t.innerHTML.split("<mrow>").length-1);let a=t.getElementsByTagName("img");if(a){let t=""===y.replace(/<img[^>]*>/g,"").trim();await Promise.all([...a].map(e=>new Promise(a=>{function l(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=5*parseInt(o.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,10)+"px";e.style.minWidth=t,e.style.maxWidth=t}else e.style.width="100%";a(e)}(0,d.K)(l,"setupImage"),setTimeout(()=>{e.complete&&l()}),e.addEventListener("error",l),e.addEventListener("load",l)})))}i=t.getBoundingClientRect(),e.attr("width",i.width),e.attr("height",i.height)}else{l.includes("font-weight: bolder")&&(0,c.Ltv)(f).selectAll("tspan").attr("font-weight",""),w=f.children.length;let t=f.children[0];(""===f.textContent||f.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=""),i=f.getBBox()}return n.attr("transform","translate(0,"+(-i.height/(2*w)+a)+")"),i.height}async function el(t,e){let a=(0,h.D7)(),{themeVariables:i}=a,{useGradient:r}=i,n=a.class.padding??12,s=e.useHtmlLabels??(0,h._3)(a.htmlLabels)??!0;e.annotations=e.annotations??[],e.members=e.members??[],e.methods=e.methods??[];let{shapeSvg:o,bbox:d}=await ee(t,e,a,s,n),{labelStyles:y,nodeStyles:f}=(0,l.GX)(e);e.labelStyle=y,e.cssStyles=e.styles||"";let u=e.styles?.join(";")||f||"";e.cssStyles||(e.cssStyles=u.replaceAll("!important","").split(";"));let p=0===e.members.length&&0===e.methods.length&&!a.class?.hideEmptyMembersBox,m=g.A.svg(o),x=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");let $=Math.max(e.width??0,d.width),k=Math.max(e.height??0,d.height),D=(e.height??0)>d.height;0===e.members.length&&0===e.methods.length?k+=n:e.members.length>0&&0===e.methods.length&&(k+=2*n);let S=-$/2,M=-k/2,A=p?2*n:0===e.members.length&&0===e.methods.length?-n:0;D&&(A=2*n);let v=m.rectangle(S-n,M-n-(p?n:0===e.members.length&&0===e.methods.length?-n/2:0),$+2*n,k+2*n+A,x),K=o.insert(()=>v,":first-child");K.attr("class","basic label-container outer-path");let B=K.node().getBBox(),C=o.select(".annotation-group").node().getBBox().height-(p?n/2:0)||0,N=o.select(".label-group").node().getBBox().height-(p?n/2:0)||0,R=o.select(".members-group").node().getBBox().height-(p?n/2:0)||0,L=(C+N+M+n-(M-n-(p?n:0===e.members.length&&0===e.methods.length?-n/2:0)))/2;if(o.selectAll(".text").each((t,l,i)=>{let r=(0,c.Ltv)(i[l]),h=r.attr("transform"),d=0;if(h){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(h);t&&(d=parseFloat(t[2]))}let g=d+M+n-(p?n:0===e.members.length&&0===e.methods.length?-n/2:0);if(r.attr("class").includes("methods-group")){let t=Math.max(R,n/2);g=D?Math.max(L,C+N+t+M+2*n+n)+2*n:C+N+t+M+4*n+n}0===e.members.length&&0===e.methods.length&&a.class?.hideEmptyMembersBox&&(g=e.annotations.length>0?d-n:d),s||(g-=4);let y=S;(r.attr("class").includes("label-group")||r.attr("class").includes("annotation-group"))&&(y=-r.node()?.getBBox().width/2||0,o.selectAll("text").each(function(t,e,a){"middle"===window.getComputedStyle(a[e]).textAnchor&&(y=0)})),r.attr("transform",`translate(${y}, ${g})`)}),e.members.length>0||e.methods.length>0||p){let t=C+N+M+n,a=m.line(B.x,t,B.x+B.width,t+.001,x);o.insert(()=>a).attr("class",`divider${"neo"===e.look&&!r?" neo-line":""}`).attr("style",u)}if(p||e.members.length>0||e.methods.length>0){let t=C+N+R+M+2*n+n,a=m.line(B.x,D?Math.max(L,t):t,B.x+B.width,(D?Math.max(L,t):t)+.001,x);o.insert(()=>a).attr("class",`divider${"neo"===e.look&&!r?" neo-line":""}`).attr("style",u)}if("handDrawn"!==e.look&&o.selectAll("path").attr("style",u),K.select(":nth-child(2)").attr("style",u),o.selectAll(".divider").select("path").attr("style",u),e.labelStyle?o.selectAll("span").attr("style",e.labelStyle):o.selectAll("span").attr("style",u),!s){let t=RegExp(/color\s*:\s*([^;]*)/),e=t.exec(u);if(e){let t=e[0].replace("color","fill");o.selectAll("tspan").attr("style",t)}else if(y){let e=t.exec(y);if(e){let t=e[0].replace("color","fill");o.selectAll("tspan").attr("style",t)}}}return w(e,K),e.intersect=function(t){return b(e,t)},o}async function ei(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let n="verifyMethod"in e,s=u(e),{themeVariables:o}=(0,h.D7)(),{borderColorArray:d,requirementEdgeLabelBackground:y}=o,f=t.insert("g").attr("class",s).attr("id",e.domId??e.id),p=a=n?await er(f,`&lt;&lt;${e.type}&gt;&gt;`,0,e.labelStyle):await er(f,"&lt;&lt;Element&gt;&gt;",0,e.labelStyle),m=await er(f,e.name,p,e.labelStyle+"; font-weight: bold;");if(p+=m+20,n){let t=await er(f,`${e.requirementId?`ID: ${e.requirementId}`:""}`,p,e.labelStyle);p+=t;let a=await er(f,`${e.text?`Text: ${e.text}`:""}`,p,e.labelStyle);p+=a;let l=await er(f,`${e.risk?`Risk: ${e.risk}`:""}`,p,e.labelStyle);p+=l,await er(f,`${e.verifyMethod?`Verification: ${e.verifyMethod}`:""}`,p,e.labelStyle)}else{let t=await er(f,`${e.type?`Type: ${e.type}`:""}`,p,e.labelStyle);p+=t,await er(f,`${e.docRef?`Doc Ref: ${e.docRef}`:""}`,p,e.labelStyle)}let x=(f.node()?.getBBox().width??200)+20,$=(f.node()?.getBBox().height??200)+20,k=-x/2,D=-$/2,S=g.A.svg(f),M=(0,l.Fr)(e,{});"handDrawn"!==e.look&&(M.roughness=0,M.fillStyle="solid");let A=S.rectangle(k,D,x,$,M),v=f.insert(()=>A,":first-child");if(v.attr("class","basic label-container outer-path").attr("style",r),d?.length){let t=e.colorIndex??0;f.attr("data-color-id",`color-${t%d.length}`)}if(f.selectAll(".label").each((t,e,a)=>{let l=(0,c.Ltv)(a[e]),i=l.attr("transform"),r=0,n=0;if(i){let t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(i);t&&(r=parseFloat(t[1]),n=parseFloat(t[2]))}let s=n-$/2,h=k+10;(0===e||1===e)&&(h=r),l.attr("transform",`translate(${h}, ${s+20})`)}),p>a+m+20){let t,l=D+a+m+20;if("neo"===e.look){let e=[[k,l],[k+x,l],[k+x,l+.001],[k,l+.001]];t=S.polygon(e,M)}else t=S.line(k,l,k+x,l,M);f.insert(()=>t).attr("class","divider")}return w(e,v),e.intersect=function(t){return b(e,t)},r&&"handDrawn"!==e.look&&(y||d?.length)&&f.selectAll("path").attr("style",r),f}async function er(t,e,a,l=""){let i;if(""===e)return 0;let n=t.insert("g").attr("class","label").attr("style",l),o=(0,h.D7)(),d=o.htmlLabels??!0,g=await (0,r.G)(n,(0,h.oB)((0,s.Sm)(e)),{width:(0,s.Un)(e,o)+50,classes:"markdown-node-label",useHtmlLabels:d,style:l},o);if(d){let t=g.children[0],e=(0,c.Ltv)(g);i=t.getBoundingClientRect(),e.attr("width",i.width),e.attr("height",i.height)}else{for(let t of g.children[0].children)l&&t.setAttribute("style",l);i=g.getBBox(),i.height+=6}return n.attr("transform",`translate(${-i.width/2},${-i.height/2+a})`),i.height}(0,d.K)(t6,"erBox"),(0,d.K)(t9,"addText"),(0,d.K)(et,"lineToPolygon"),(0,d.K)(ee,"textHelper"),(0,d.K)(ea,"addText"),(0,d.K)(el,"classBox"),(0,d.K)(ei,"requirementBox"),(0,d.K)(er,"addText");var en=(0,d.K)(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 es(t,e,{config:a}){let i,r,n,s,{labelStyles:h,nodeStyles:o}=(0,l.GX)(e);e.labelStyle=h||"";let d=e.width;e.width=(e.width??200)-10;let{shapeSvg:c,bbox:p,label:m}=await y(t,e,u(e)),x=e.padding||10,$="";"ticket"in e&&e.ticket&&a?.kanban?.ticketBaseUrl&&($=a?.kanban?.ticketBaseUrl.replace("#TICKET#",e.ticket),i=c.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",$).attr("target","_blank"));let k={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1};i?{label:r,bbox:n}=await f(i,"ticket"in e&&e.ticket||"",k):{label:r,bbox:n}=await f(c,"ticket"in e&&e.ticket||"",k);let{label:S,bbox:M}=await f(c,"assigned"in e&&e.assigned||"",k);e.width=d;let A=e?.width||0,v=Math.max(n.height,M.height)/2,K=Math.max(p.height+20,e?.height||0)+v,B=-A/2,C=-K/2;m.attr("transform","translate("+(x-A/2)+", "+(-v-p.height/2)+")"),r.attr("transform","translate("+(x-A/2)+", "+(-v+p.height/2)+")"),S.attr("transform","translate("+(x+A/2-M.width-20)+", "+(-v+p.height/2)+")");let{rx:N,ry:R}=e,{cssStyles:L}=e;if("handDrawn"===e.look){let t=g.A.svg(c),a=(0,l.Fr)(e,{}),i=N||R?t.path(D(B,C,A,K,N||0),a):t.rectangle(B,C,A,K,a);(s=c.insert(()=>i,":first-child")).attr("class","basic label-container").attr("style",L||null)}else{(s=c.insert("rect",":first-child")).attr("class","basic label-container __APA__").attr("style",o).attr("rx",N??5).attr("ry",R??5).attr("x",B).attr("y",C).attr("width",A).attr("height",K);let t="priority"in e&&e.priority;if(t){let e=c.append("line"),a=B+2,l=C+Math.floor((N??0)/2),i=C+K-Math.floor((N??0)/2);e.attr("x1",a).attr("y1",l).attr("x2",a).attr("y2",i).attr("stroke-width","4").attr("stroke",en(t))}}return w(e,s),e.height=K,e.intersect=function(t){return b(e,t)},c}async function eh(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let{shapeSvg:n,bbox:h,halfPadding:d,label:c}=await y(t,e,u(e)),f=h.width+10*d,p=h.height+8*d,m=.15*f,{cssStyles:x}=e,$=h.width+20,k=h.height+20,D=Math.max(f,$),S=Math.max(p,k);c.attr("transform",`translate(${-h.width/2}, ${-h.height/2})`);let M=`M0 0
11
+ a${m},${m} 1 0,0 ${.25*D},${-1*S*.1}
12
+ a${m},${m} 1 0,0 ${.25*D},0
13
+ a${m},${m} 1 0,0 ${.25*D},0
14
+ a${m},${m} 1 0,0 ${.25*D},${.1*S}
15
+
16
+ a${m},${m} 1 0,0 ${.15*D},${.33*S}
17
+ a${.8*m},${.8*m} 1 0,0 0,${.34*S}
18
+ a${m},${m} 1 0,0 ${-1*D*.15},${.33*S}
19
+
20
+ a${m},${m} 1 0,0 ${-1*D*.25},${.15*S}
21
+ a${m},${m} 1 0,0 ${-1*D*.25},0
22
+ a${m},${m} 1 0,0 ${-1*D*.25},0
23
+ a${m},${m} 1 0,0 ${-1*D*.25},${-1*S*.15}
24
+
25
+ a${m},${m} 1 0,0 ${-1*D*.1},${-1*S*.33}
26
+ a${.8*m},${.8*m} 1 0,0 0,${-1*S*.34}
27
+ a${m},${m} 1 0,0 ${.1*D},${-1*S*.33}
28
+ H0 V0 Z`;if("handDrawn"===e.look){let t=g.A.svg(n),i=(0,l.Fr)(e,{}),r=t.path(M,i);(a=n.insert(()=>r,":first-child")).attr("class","basic label-container").attr("style",(0,s.KL)(x))}else a=n.insert("path",":first-child").attr("class","basic label-container").attr("style",r).attr("d",M);return a.attr("transform",`translate(${-D/2}, ${-S/2})`),w(e,a),e.calcIntersect=function(t,e){return b(t,e)},e.intersect=function(t){return o.R.info("Bang intersect",e,t),b(e,t)},n}async function eo(t,e){let a,{labelStyles:i,nodeStyles:r}=(0,l.GX)(e);e.labelStyle=i;let{shapeSvg:n,bbox:h,halfPadding:d,label:c}=await y(t,e,u(e)),f=h.width+2*d,p=h.height+2*d,m=.15*f,x=.25*f,$=.35*f,k=.2*f,{cssStyles:D}=e,S=`M0 0
29
+ a${m},${m} 0 0,1 ${.25*f},${-1*f*.1}
30
+ a${$},${$} 1 0,1 ${.4*f},${-1*f*.1}
31
+ a${x},${x} 1 0,1 ${.35*f},${.2*f}
32
+
33
+ a${m},${m} 1 0,1 ${.15*f},${.35*p}
34
+ a${k},${k} 1 0,1 ${-1*f*.15},${.65*p}
35
+
36
+ a${x},${m} 1 0,1 ${-1*f*.25},${.15*f}
37
+ a${$},${$} 1 0,1 ${-1*f*.5},0
38
+ a${m},${m} 1 0,1 ${-1*f*.25},${-1*f*.15}
39
+
40
+ a${m},${m} 1 0,1 ${-1*f*.1},${-1*p*.35}
41
+ a${k},${k} 1 0,1 ${.1*f},${-1*p*.65}
42
+ H0 V0 Z`;if("handDrawn"===e.look){let t=g.A.svg(n),i=(0,l.Fr)(e,{}),r=t.path(S,i);(a=n.insert(()=>r,":first-child")).attr("class","basic label-container").attr("style",(0,s.KL)(D))}else a=n.insert("path",":first-child").attr("class","basic label-container").attr("style",r).attr("d",S);return c.attr("transform",`translate(${-h.width/2}, ${-h.height/2})`),a.attr("transform",`translate(${-f/2}, ${-p/2})`),w(e,a),e.calcIntersect=function(t,e){return b(t,e)},e.intersect=function(t){return o.R.info("Cloud intersect",e,t),b(e,t)},n}async function ed(t,e){let{labelStyles:a,nodeStyles:i}=(0,l.GX)(e);e.labelStyle=a;let{shapeSvg:r,bbox:n,halfPadding:s,label:h}=await y(t,e,u(e)),o=n.width+8*s,d=n.height+2*s,c="neo"===e.look?`
43
+ M${-o/2} ${d/2-5}
44
+ v${-d+10}
45
+ q0,-5 5,-5
46
+ h${o-10}
47
+ q5,0 5,5
48
+ v${d-5}
49
+ H${-o/2}
50
+ Z
51
+ `:`
52
+ M${-o/2} ${d/2-5}
53
+ v${-d+10}
54
+ q0,-5 5,-5
55
+ h${o-10}
56
+ q5,0 5,5
57
+ v${d-10}
58
+ q0,5 -5,5
59
+ h${-(o-10)}
60
+ q-5,0 -5,-5
61
+ Z
62
+ `;if(!e.domId)throw Error(`defaultMindmapNode: node "${e.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);let g=r.append("path").attr("id",e.domId).attr("class","node-bkg node-"+e.type).attr("style",i).attr("d",c);return r.append("line").attr("class","node-line-").attr("x1",-o/2).attr("y1",d/2).attr("x2",o/2).attr("y2",d/2),h.attr("transform",`translate(${-n.width/2}, ${-n.height/2})`),r.append(()=>h.node()),w(e,g),e.calcIntersect=function(t,e){return b(t,e)},e.intersect=function(t){return b(e,t)},r}async function ec(t,e){let a={padding:e.padding??0};return _(t,e,a)}(0,d.K)(es,"kanbanItem"),(0,d.K)(eh,"bang"),(0,d.K)(eo,"cloud"),(0,d.K)(ed,"defaultMindmapNode"),(0,d.K)(ec,"mindmapCircle");var eg=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:tW},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:tI},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:tH},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:tz},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:ti},{semanticName:"Data Store",name:"Data Store",shortName:"datastore",description:"Data flow diagram data store",aliases:["data-store"],handler:tn},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:_},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:eh},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:eo},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:tP},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:tf},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:tS},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:tD},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:t0},{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:tb},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:th},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:tY},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:j},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:tE},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:t_},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:tq},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:tc},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:tw},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:Y},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:U},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:Q},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:tM},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:t5},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:tg},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:tQ},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:tB},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:tt},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:ts},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:t1},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:t3},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:to},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:t2},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:td},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:tT},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:tR},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:tN},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:W},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:O},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:tZ},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:tO},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:t8},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:tX},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:tC}],ey=(0,d.K)(()=>Object.fromEntries([...Object.entries({state:tj,choice:q,note:tL,rectWithTitle:tG,labelRect:tk,iconSquare:tx,iconCircle:tp,icon:tu,iconRounded:tm,imageSquare:t$,anchor:I,kanbanItem:es,mindmapCircle:ec,defaultMindmapNode:ed,classBox:el,erBox:t6,requirementBox:ei}),...eg.flatMap(t=>[t.shortName,..."aliases"in t?t.aliases:[],..."internalAliases"in t?t.internalAliases:[]].map(e=>[e,t.handler]))]),"generateShapeMap")();function ef(t){return t in ey}(0,d.K)(ef,"isValidShape");var ew=new Map;async function eu(t,e,a){let l,i;"rect"===e.shape&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");let r=e.shape?ey[e.shape]:void 0;if(!r)throw Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let n;"sandbox"===a.config.securityLevel?n="_top":e.linkTarget&&(n=e.linkTarget||"_blank"),l=t.insert("svg:a").attr("xlink:href",e.link).attr("target",n??null),i=await r(l,e,a)}else l=i=await r(t,e,a);return l.attr("data-look",(0,s.KL)(e.look)),e.tooltip&&i.attr("title",e.tooltip),ew.set(e.id,l),e.haveCallback&&l.attr("class",l.attr("class")+" clickable"),l}(0,d.K)(eu,"insertNode");var ep=(0,d.K)((t,e)=>{ew.set(e.id,t)},"setNodeElem"),em=(0,d.K)(()=>{ew.clear()},"clear"),ex=(0,d.K)(t=>{let e=ew.get(t.id);o.R.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let a=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+a-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),a},"positionNode")}}]);
@@ -0,0 +1,34 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9974],{9974:(t,e,n)=>{n.d(e,{diagram:()=>te});var i=n(37325);n(56037);var r=n(89851),s=n(33948);function o(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n>r||void 0===n&&r>=r)&&(n=r)}return n}function l(t){return t.target.depth}function a(t,e){return t.sourceLinks.length?t.depth:e-1}function h(t,e){let n=0;if(void 0===e)for(let e of t)(e*=1)&&(n+=e);else{let i=-1;for(let r of t)(r=+e(r,++i,t))&&(n+=r)}return n}function c(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n<e||void 0===n&&e>=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n<r||void 0===n&&r>=r)&&(n=r)}return n}function u(t){return function(){return t}}function f(t,e){return d(t.source,e.source)||t.index-e.index}function y(t,e){return d(t.target,e.target)||t.index-e.index}function d(t,e){return t.y0-e.y0}function p(t){return t.value}function g(t){return t.index}function _(t){return t.nodes}function x(t){return t.links}function k(t,e){let n=t.get(e);if(!n)throw Error("missing: "+e);return n}function m({nodes:t}){for(let e of t){let t=e.y0,n=t;for(let n of e.sourceLinks)n.y0=t+n.width/2,t+=n.width;for(let t of e.targetLinks)t.y1=n+t.width/2,n+=t.width}}var b=Math.PI,v=2*b,S=v-1e-6;function E(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function w(){return new E}E.prototype=w.prototype={constructor:E,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,r,s){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+s)},arcTo:function(t,e,n,i,r){t*=1,e*=1,n*=1,i*=1,r*=1;var s=this._x1,o=this._y1,l=n-t,a=i-e,h=s-t,c=o-e,u=h*h+c*c;if(r<0)throw Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(u>1e-6)if(Math.abs(c*l-a*h)>1e-6&&r){var f=n-s,y=i-o,d=l*l+a*a,p=Math.sqrt(d),g=Math.sqrt(u),_=r*Math.tan((b-Math.acos((d+u-(f*f+y*y))/(2*p*g)))/2),x=_/g,k=_/p;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*h)+","+(e+x*c)),this._+="A"+r+","+r+",0,0,"+ +(c*f>h*y)+","+(this._x1=t+k*l)+","+(this._y1=e+k*a)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,i,r,s){t*=1,e*=1,n*=1,s=!!s;var o=n*Math.cos(i),l=n*Math.sin(i),a=t+o,h=e+l,c=1^s,u=s?i-r:r-i;if(n<0)throw Error("negative radius: "+n);null===this._x1?this._+="M"+a+","+h:(Math.abs(this._x1-a)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+a+","+h),n&&(u<0&&(u=u%v+v),u>S?this._+="A"+n+","+n+",0,1,"+c+","+(t-o)+","+(e-l)+"A"+n+","+n+",0,1,"+c+","+(this._x1=a)+","+(this._y1=h):u>1e-6&&(this._+="A"+n+","+n+",0,"+ +(u>=b)+","+c+","+(this._x1=t+n*Math.cos(r))+","+(this._y1=e+n*Math.sin(r))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}};var K=Array.prototype.slice;function L(t){return function(){return t}}function A(t){return t[0]}function M(t){return t[1]}function I(t){return t.source}function T(t){return t.target}function N(t,e,n,i,r){t.moveTo(e,n),t.bezierCurveTo(e=(e+i)/2,n,e,r,i,r)}function P(t){return[t.source.x1,t.y0]}function C(t){return[t.target.x0,t.y1]}var $=function(){var t=(0,r.K)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[1,9],n=[1,10],i=[1,5,10,12],s={trace:(0,r.K)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:(0,r.K)(function(t,e,n,i,r,s,o){var l=s.length-1;switch(r){case 7:let a=i.findOrCreateNode(s[l-4].trim().replaceAll('""','"')),h=i.findOrCreateNode(s[l-2].trim().replaceAll('""','"')),c=parseFloat(s[l].trim());i.addLink(a,h,c);break;case 8:case 9:case 11:this.$=s[l];break;case 10:this.$=s[l-1]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:n},{1:[2,6],7:11,10:[1,12]},t(n,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(i,[2,8]),t(i,[2,9]),{19:[1,16]},t(i,[2,11]),{1:[2,1]},{1:[2,5]},t(n,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:n},{15:18,16:7,17:8,18:e,20:n},{18:[1,19]},t(n,[2,3]),{12:[1,20]},t(i,[2,10]),{15:21,16:7,17:8,18:e,20:n},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:(0,r.K)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,r.K)(function(t){var e=this,n=[0],i=[],s=[null],o=[],l=this.table,a="",h=0,c=0,u=0,f=o.slice.call(arguments,1),y=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);y.setInput(t,d),d.lexer=y,d.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;o.push(g);var _=y.options&&y.options.ranges;function x(){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 d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,r.K)(function(t){n.length=n.length-2*t,s.length=s.length-t,o.length=o.length-t},"popStack"),(0,r.K)(x,"lex");for(var k,m,b,v,S,E,w,K,L,A={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==k&&(k=x()),v=l[b]&&l[b][k]),void 0===v||!v.length||!v[0]){var M="";for(E in L=[],l[b])this.terminals_[E]&&E>2&&L.push("'"+this.terminals_[E]+"'");M=y.showPosition?"Parse error on line "+(h+1)+":\n"+y.showPosition()+"\nExpecting "+L.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(M,{text:y.match,token:this.terminals_[k]||k,line:y.yylineno,loc:g,expected:L})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+k);switch(v[0]){case 1:n.push(k),s.push(y.yytext),o.push(y.yylloc),n.push(v[1]),k=null,m?(k=m,m=null):(c=y.yyleng,a=y.yytext,h=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[v[1]][1],A.$=s[s.length-w],A._$={first_line:o[o.length-(w||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(w||1)].first_column,last_column:o[o.length-1].last_column},_&&(A._$.range=[o[o.length-(w||1)].range[0],o[o.length-1].range[1]]),void 0!==(S=this.performAction.apply(A,[a,c,h,d,v[1],s,o].concat(f))))return S;w&&(n=n.slice(0,-1*w*2),s=s.slice(0,-1*w),o=o.slice(0,-1*w)),n.push(this.productions_[v[1]][0]),s.push(A.$),o.push(A._$),K=l[n[n.length-2]][n[n.length-1]],n.push(K);break;case 3:return!0}}return!0},"parse")};function o(){this.yy={}}return s.lexer={EOF:1,parseError:(0,r.K)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,r.K)(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,r.K)(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,r.K)(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 r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column: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=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,r.K)(function(){return this._more=!0,this},"more"),reject:(0,r.K)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,r.K)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,r.K)(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,r.K)(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,r.K)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,r.K)(function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=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 r)this[s]=r[s];return!1},"test_match"),next:(0,r.K)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,i,r=this._currentRules(),s=0;s<r.length;s++)if((n=this._input.match(this.rules[r[s]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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,r.K)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,r.K)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,r.K)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,r.K)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,r.K)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,r.K)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,r.K)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,r.K)(function(t,e,n,i){switch(n){case 0:case 1:return this.pushState("csv"),4;case 2:return 10;case 3:return 5;case 4:return 12;case 5:return this.pushState("escaped_text"),18;case 6:return 20;case 7:return this.popState("escaped_text"),18;case 8:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:sankey\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[2,3,4,5,6,7,8],inclusive:!1},escaped_text:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8],inclusive:!0}}},(0,r.K)(o,"Parser"),o.prototype=s,s.Parser=o,new o}();$.parser=$;var D=[],O=[],j=new Map,z=(0,r.K)(()=>{D=[],O=[],j=new Map,(0,i.IU)()},"clear"),F=class{constructor(t,e,n=0){this.source=t,this.target=e,this.value=n}static{(0,r.K)(this,"SankeyLink")}},U=(0,r.K)((t,e,n)=>{D.push(new F(t,e,n))},"addLink"),W=class{constructor(t){this.ID=t}static{(0,r.K)(this,"SankeyNode")}},V=(0,r.K)(t=>{t=i.Y2.sanitizeText(t,(0,i.D7)());let e=j.get(t);return void 0===e&&(e=new W(t),j.set(t,e),O.push(e)),e},"findOrCreateNode"),G=(0,r.K)(()=>O,"getNodes"),X=(0,r.K)(()=>D,"getLinks"),Y=(0,r.K)(()=>({nodes:O.map(t=>({id:t.ID})),links:D.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),"getGraph"),q={nodesMap:j,getConfig:(0,r.K)(()=>(0,i.D7)().sankey,"getConfig"),getNodes:G,getLinks:X,getGraph:Y,addLink:U,findOrCreateNode:V,getAccTitle:i.iN,setAccTitle:i.SV,getAccDescription:i.m7,setAccDescription:i.EI,getDiagramTitle:i.ab,setDiagramTitle:i.ke,clear:z},B=class t{static{(0,r.K)(this,"Uid")}static{this.count=0}static next(e){return new t(e+ ++t.count)}constructor(t){this.id=t,this.href=`#${t}`}toString(){return"url("+this.href+")"}},Q={left:function(t){return t.depth},right:function(t,e){return e-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?o(t.sourceLinks,l)-1:0},justify:a},R=(0,r.K)(t=>{let e=0,n=0;for(let i of t){let t=i.value??0;t>e&&(e=t,n=i.layer??0)}return n},"findCentralNodeLayer"),Z=(0,r.K)(function(t,e,n,l){let b,v,{securityLevel:S,sankey:E}=(0,i.D7)(),$=i.ME.sankey;"sandbox"===S&&(b=(0,s.Ltv)("#i"+e));let D="sandbox"===S?(0,s.Ltv)(b.nodes()[0].contentDocument.body):(0,s.Ltv)("body"),O="sandbox"===S?D.select(`[id="${e}"]`):(0,s.Ltv)(`[id="${e}"]`),j=E?.width??$.width,z=E?.height??$.width,F=E?.useMaxWidth??$.useMaxWidth,U=E?.nodeAlignment??$.nodeAlignment,W=E?.prefix??$.prefix,V=E?.suffix??$.suffix,G=E?.showValues??$.showValues,X=E?.nodeWidth??$.nodeWidth??10,Y=E?.nodePadding??$.nodePadding??12,q=E?.labelStyle??$.labelStyle??"legacy",Z=E?.nodeColors??{},H=l.db.getGraph(),J=Q[U];(function(){let t,e,n=0,i=0,r=1,s=1,l=24,b=8,v,S=g,E=a,w=_,K=x,L=6;function A(){let a={nodes:w.apply(null,arguments),links:K.apply(null,arguments)};return function({nodes:t,links:n}){for(let[e,n]of t.entries())n.index=e,n.sourceLinks=[],n.targetLinks=[];let i=new Map(t.map((e,n)=>[S(e,n,t),e]));for(let[t,e]of n.entries()){e.index=t;let{source:n,target:r}=e;"object"!=typeof n&&(n=e.source=k(i,n)),"object"!=typeof r&&(r=e.target=k(i,r)),n.sourceLinks.push(e),r.targetLinks.push(e)}if(null!=e)for(let{sourceLinks:n,targetLinks:i}of t)n.sort(e),i.sort(e)}(a),function({nodes:t}){for(let e of t)e.value=void 0===e.fixedValue?Math.max(h(e.sourceLinks,p),h(e.targetLinks,p)):e.fixedValue}(a),function({nodes:t}){let e=t.length,n=new Set(t),i=new Set,r=0;for(;n.size;){for(let t of n)for(let{target:e}of(t.depth=r,t.sourceLinks))i.add(e);if(++r>e)throw Error("circular link");n=i,i=new Set}}(a),function({nodes:t}){let e=t.length,n=new Set(t),i=new Set,r=0;for(;n.size;){for(let t of n)for(let{source:e}of(t.height=r,t.targetLinks))i.add(e);if(++r>e)throw Error("circular link");n=i,i=new Set}}(a),function(a){let u=function({nodes:e}){let i=c(e,t=>t.depth)+1,s=(r-n-l)/(i-1),o=Array(i);for(let t of e){let e=Math.max(0,Math.min(i-1,Math.floor(E.call(null,t,i))));t.layer=e,t.x0=n+e*s,t.x1=t.x0+l,o[e]?o[e].push(t):o[e]=[t]}if(t)for(let e of o)e.sort(t);return o}(a);v=Math.min(b,(s-i)/(c(u,t=>t.length)-1));let g=o(u,t=>(s-i-(t.length-1)*v)/h(t,p));for(let t of u){let n=i;for(let e of t)for(let t of(e.y0=n,e.y1=n+e.value*g,n=e.y1+v,e.sourceLinks))t.width=t.value*g;n=(s-n+v)/(t.length+1);for(let e=0;e<t.length;++e){let i=t[e];i.y0+=n*(e+1),i.y1+=n*(e+1)}var _=t;if(void 0===e)for(let{sourceLinks:t,targetLinks:e}of _)t.sort(y),e.sort(f)}for(let e=0;e<L;++e){let n=Math.pow(.99,e),i=Math.max(1-n,(e+1)/L);(function(e,n,i){for(let r=e.length,s=r-2;s>=0;--s){let r=e[s];for(let t of r){let e=0,i=0;for(let{target:n,value:r}of t.sourceLinks){let s=r*(n.layer-t.layer);e+=function(t,e){let n=e.y0-(e.targetLinks.length-1)*v/2;for(let{source:i,width:r}of e.targetLinks){if(i===t)break;n+=r+v}for(let{target:i,width:r}of t.sourceLinks){if(i===e)break;n-=r}return n}(t,n)*s,i+=s}if(!(i>0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,N(t)}void 0===t&&r.sort(d),M(r,i)}})(u,n,i),function(e,n,i){for(let r=1,s=e.length;r<s;++r){let s=e[r];for(let t of s){let e=0,i=0;for(let{source:n,value:r}of t.targetLinks){let s=r*(t.layer-n.layer);e+=function(t,e){let n=t.y0-(t.sourceLinks.length-1)*v/2;for(let{target:i,width:r}of t.sourceLinks){if(i===e)break;n+=r+v}for(let{source:i,width:r}of e.targetLinks){if(i===t)break;n-=r}return n}(n,t)*s,i+=s}if(!(i>0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,N(t)}void 0===t&&s.sort(d),M(s,i)}}(u,n,i)}}(a),m(a),a}function M(t,e){let n=t.length>>1,r=t[n];T(t,r.y0-v,n-1,e),I(t,r.y1+v,n+1,e),T(t,s,t.length-1,e),I(t,i,0,e)}function I(t,e,n,i){for(;n<t.length;++n){let r=t[n],s=(e-r.y0)*i;s>1e-6&&(r.y0+=s,r.y1+=s),e=r.y1+v}}function T(t,e,n,i){for(;n>=0;--n){let r=t[n],s=(r.y1-e)*i;s>1e-6&&(r.y0-=s,r.y1-=s),e=r.y0-v}}function N({sourceLinks:t,targetLinks:n}){if(void 0===e){for(let{source:{sourceLinks:t}}of n)t.sort(y);for(let{target:{targetLinks:e}}of t)e.sort(f)}}return A.update=function(t){return m(t),t},A.nodeId=function(t){return arguments.length?(S="function"==typeof t?t:u(t),A):S},A.nodeAlign=function(t){return arguments.length?(E="function"==typeof t?t:u(t),A):E},A.nodeSort=function(e){return arguments.length?(t=e,A):t},A.nodeWidth=function(t){return arguments.length?(l=+t,A):l},A.nodePadding=function(t){return arguments.length?(b=v=+t,A):b},A.nodes=function(t){return arguments.length?(w="function"==typeof t?t:u(t),A):w},A.links=function(t){return arguments.length?(K="function"==typeof t?t:u(t),A):K},A.linkSort=function(t){return arguments.length?(e=t,A):e},A.size=function(t){return arguments.length?(n=i=0,r=+t[0],s=+t[1],A):[r-n,s-i]},A.extent=function(t){return arguments.length?(n=+t[0][0],r=+t[1][0],i=+t[0][1],s=+t[1][1],A):[[n,i],[r,s]]},A.iterations=function(t){return arguments.length?(L=+t,A):L},A})().nodeId(t=>t.id).nodeWidth(X).nodePadding(Y+15*!!G).nodeAlign(J).extent([[0,0],[j,z]])(H);let tt=R(H.nodes),te=(0,s.UMr)(s.zt),tn=(0,r.K)(t=>Z[t]??te(t),"getNodeColor");O.append("g").attr("class","nodes").selectAll(".node").data(H.nodes).join("g").attr("class","node").attr("id",t=>(t.uid=B.next("node-")).id).attr("transform",function(t){return"translate("+t.x0+","+t.y0+")"}).attr("x",t=>t.x0).attr("y",t=>t.y0).append("rect").attr("height",t=>t.y1-t.y0).attr("width",t=>t.x1-t.x0).attr("fill",t=>tn(t.id));let ti=(0,r.K)(({id:t,value:e})=>G?`${t}
2
+ ${W}${Math.round(100*e)/100}${V}`:t,"getText"),tr=(0,r.K)(t=>"outlined"===q?(t.layer??0)<tt?{x:t.x0-6,anchor:"end"}:{x:t.x1+6,anchor:"start"}:t.x0<j/2?{x:t.x1+6,anchor:"start"}:{x:t.x0-6,anchor:"end"},"getLabelPosition"),ts=O.append("g").attr("class","node-labels").attr("font-size",14),to=(0,r.K)(t=>ts.selectAll(t?`.${t}`:"text").data(H.nodes).join("text").attr("class",t??null).attr("x",t=>tr(t).x).attr("y",t=>(t.y1+t.y0)/2).attr("dy",`${G?"0":"0.35"}em`).attr("text-anchor",t=>tr(t).anchor).text(ti),"appendLabel");"outlined"===q?(to("sankey-label-bg"),to("sankey-label-fg")):to();let tl=O.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(H.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),ta=E?.linkColor??"gradient";if("gradient"===ta){let t=tl.append("linearGradient").attr("id",t=>(t.uid=B.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",t=>t.source.x1).attr("x2",t=>t.target.x0);t.append("stop").attr("offset","0%").attr("stop-color",t=>tn(t.source.id)),t.append("stop").attr("offset","100%").attr("stop-color",t=>tn(t.target.id))}switch(ta){case"gradient":v=(0,r.K)(t=>t.uid,"coloring");break;case"source":v=(0,r.K)(t=>tn(t.source.id),"coloring");break;case"target":v=(0,r.K)(t=>tn(t.target.id),"coloring");break;default:v=ta}tl.append("path").attr("d",(function(t){var e=I,n=T,i=A,r=M,s=null;function o(){var o,l=K.call(arguments),a=e.apply(this,l),h=n.apply(this,l);if(s||(s=o=w()),t(s,+i.apply(this,(l[0]=a,l)),+r.apply(this,l),+i.apply(this,(l[0]=h,l)),+r.apply(this,l)),o)return s=null,o+""||null}return o.source=function(t){return arguments.length?(e=t,o):e},o.target=function(t){return arguments.length?(n=t,o):n},o.x=function(t){return arguments.length?(i="function"==typeof t?t:L(+t),o):i},o.y=function(t){return arguments.length?(r="function"==typeof t?t:L(+t),o):r},o.context=function(t){return arguments.length?(s=null==t?null:t,o):s},o})(N).source(P).target(C)).attr("stroke",v).attr("stroke-width",t=>Math.max(1,t.width)),(0,i.ot)(void 0,O,0,F)},"draw"),H=(0,r.K)(t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim(),"prepareTextForParsing"),J=(0,r.K)(t=>`.label {
3
+ font-family: ${t.fontFamily};
4
+ }
5
+
6
+ .node-labels {
7
+ font-family: ${t.fontFamily};
8
+ }
9
+
10
+ /* Outlined label style - background stroke for better readability */
11
+ .sankey-label-bg {
12
+ stroke: ${t.mainBkg||t.background||"#fff"};
13
+ stroke-width: 4px;
14
+ stroke-linejoin: round;
15
+ paint-order: stroke;
16
+ }
17
+
18
+ /* Foreground label text */
19
+ .sankey-label-fg {
20
+ fill: ${t.textColor};
21
+ }
22
+
23
+ /* Node styling */
24
+ .node rect {
25
+ shape-rendering: crispEdges;
26
+ }
27
+
28
+ /* Link styling */
29
+ .link {
30
+ fill: none;
31
+ stroke-opacity: 0.5;
32
+ mix-blend-mode: multiply;
33
+ }
34
+ `,"getStyles"),tt=$.parse.bind($);$.parse=t=>tt(H(t));var te={styles:J,parser:$,db:q,renderer:{draw:Z}}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9492],{9541:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=l(95155),n=l(35949),o=function(){return(0,r.jsx)("html",{children:(0,r.jsx)("body",{children:(0,r.jsx)(n.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})})})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31246:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return l(9541)}])},35949:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return o}});let r=l(95155),n=l(37356);function o({status:e,message:t}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:`${e}: ${t}`}),(0,r.jsx)("div",{style:n.styles.error,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,r.jsx)("h1",{className:"next-error-h1",style:n.styles.h1,children:e}),(0,r.jsx)("div",{style:n.styles.desc,children:(0,r.jsx)("h2",{style:n.styles.h2,children:t})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37356:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return l}});let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[8441,3794,7358],()=>e(e.s=31246)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552,976,1004,1097,1337,1541,1960,2053,2138,2504,2835,2837,3432,3507,3851,3943,3955,4016,4037,4896,5221,5843,5907,6450,6709,6819,6849,6919,6988,7067,7483,7769,7812,7851,8167,8197,8429,8658,8743,8933,9043,9156,9183,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);