@pananfly/pi-web 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (533) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-path-routes-manifest.json +46 -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 +138 -0
  12. package/.next/react-loadable-manifest.json +2367 -0
  13. package/.next/required-server-files.js +350 -0
  14. package/.next/required-server-files.json +350 -0
  15. package/.next/routes-manifest.json +348 -0
  16. package/.next/server/app/_global-error/page.js +32 -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 +16 -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 +5 -0
  24. package/.next/server/app/_global-error.segments/_global-error.segment.rsc +5 -0
  25. package/.next/server/app/_global-error.segments/_head.segment.rsc +5 -0
  26. package/.next/server/app/_global-error.segments/_index.segment.rsc +5 -0
  27. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  28. package/.next/server/app/_not-found/page.js +2 -0
  29. package/.next/server/app/_not-found/page.js.nft.json +1 -0
  30. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
  31. package/.next/server/app/_not-found.html +1 -0
  32. package/.next/server/app/_not-found.meta +16 -0
  33. package/.next/server/app/_not-found.rsc +19 -0
  34. package/.next/server/app/_not-found.segments/_full.segment.rsc +19 -0
  35. package/.next/server/app/_not-found.segments/_head.segment.rsc +6 -0
  36. package/.next/server/app/_not-found.segments/_index.segment.rsc +6 -0
  37. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
  38. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +5 -0
  39. package/.next/server/app/_not-found.segments/_tree.segment.rsc +5 -0
  40. package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -0
  41. package/.next/server/app/api/agent/[id]/bash-output/route.js.nft.json +1 -0
  42. package/.next/server/app/api/agent/[id]/bash-output/route_client-reference-manifest.js +1 -0
  43. package/.next/server/app/api/agent/[id]/events/route.js +3 -0
  44. package/.next/server/app/api/agent/[id]/events/route.js.nft.json +1 -0
  45. package/.next/server/app/api/agent/[id]/events/route_client-reference-manifest.js +1 -0
  46. package/.next/server/app/api/agent/[id]/route.js +1 -0
  47. package/.next/server/app/api/agent/[id]/route.js.nft.json +1 -0
  48. package/.next/server/app/api/agent/[id]/route_client-reference-manifest.js +1 -0
  49. package/.next/server/app/api/agent/new/route.js +1 -0
  50. package/.next/server/app/api/agent/new/route.js.nft.json +1 -0
  51. package/.next/server/app/api/agent/new/route_client-reference-manifest.js +1 -0
  52. package/.next/server/app/api/agent/running/events/route.js +3 -0
  53. package/.next/server/app/api/agent/running/events/route.js.nft.json +1 -0
  54. package/.next/server/app/api/agent/running/events/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/login/route.js +1 -0
  65. package/.next/server/app/api/auth/login/route.js.nft.json +1 -0
  66. package/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -0
  67. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -0
  68. package/.next/server/app/api/auth/logout/[provider]/route.js.nft.json +1 -0
  69. package/.next/server/app/api/auth/logout/[provider]/route_client-reference-manifest.js +1 -0
  70. package/.next/server/app/api/auth/logout/route.js +1 -0
  71. package/.next/server/app/api/auth/logout/route.js.nft.json +1 -0
  72. package/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -0
  73. package/.next/server/app/api/auth/providers/route.js +1 -0
  74. package/.next/server/app/api/auth/providers/route.js.nft.json +1 -0
  75. package/.next/server/app/api/auth/providers/route_client-reference-manifest.js +1 -0
  76. package/.next/server/app/api/auth/refresh/route.js +1 -0
  77. package/.next/server/app/api/auth/refresh/route.js.nft.json +1 -0
  78. package/.next/server/app/api/auth/refresh/route_client-reference-manifest.js +1 -0
  79. package/.next/server/app/api/auth/status/route.js +1 -0
  80. package/.next/server/app/api/auth/status/route.js.nft.json +1 -0
  81. package/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -0
  82. package/.next/server/app/api/auth/verify/route.js +1 -0
  83. package/.next/server/app/api/auth/verify/route.js.nft.json +1 -0
  84. package/.next/server/app/api/auth/verify/route_client-reference-manifest.js +1 -0
  85. package/.next/server/app/api/cwd/validate/route.js +1 -0
  86. package/.next/server/app/api/cwd/validate/route.js.nft.json +1 -0
  87. package/.next/server/app/api/cwd/validate/route_client-reference-manifest.js +1 -0
  88. package/.next/server/app/api/default-cwd/route.js +1 -0
  89. package/.next/server/app/api/default-cwd/route.js.nft.json +1 -0
  90. package/.next/server/app/api/default-cwd/route_client-reference-manifest.js +1 -0
  91. package/.next/server/app/api/file-index/route.js +1 -0
  92. package/.next/server/app/api/file-index/route.js.nft.json +1 -0
  93. package/.next/server/app/api/file-index/route_client-reference-manifest.js +1 -0
  94. package/.next/server/app/api/files/[...path]/route.js +49 -0
  95. package/.next/server/app/api/files/[...path]/route.js.nft.json +1 -0
  96. package/.next/server/app/api/files/[...path]/route_client-reference-manifest.js +1 -0
  97. package/.next/server/app/api/git/diff/route.js +6 -0
  98. package/.next/server/app/api/git/diff/route.js.nft.json +1 -0
  99. package/.next/server/app/api/git/diff/route_client-reference-manifest.js +1 -0
  100. package/.next/server/app/api/git/status/route.js +6 -0
  101. package/.next/server/app/api/git/status/route.js.nft.json +1 -0
  102. package/.next/server/app/api/git/status/route_client-reference-manifest.js +1 -0
  103. package/.next/server/app/api/home/route.js +1 -0
  104. package/.next/server/app/api/home/route.js.nft.json +1 -0
  105. package/.next/server/app/api/home/route_client-reference-manifest.js +1 -0
  106. package/.next/server/app/api/models/route.js +1 -0
  107. package/.next/server/app/api/models/route.js.nft.json +1 -0
  108. package/.next/server/app/api/models/route_client-reference-manifest.js +1 -0
  109. package/.next/server/app/api/models-config/route.js +1 -0
  110. package/.next/server/app/api/models-config/route.js.nft.json +1 -0
  111. package/.next/server/app/api/models-config/route_client-reference-manifest.js +1 -0
  112. package/.next/server/app/api/models-config/test/route.js +1 -0
  113. package/.next/server/app/api/models-config/test/route.js.nft.json +1 -0
  114. package/.next/server/app/api/models-config/test/route_client-reference-manifest.js +1 -0
  115. package/.next/server/app/api/plugins/route.js +1 -0
  116. package/.next/server/app/api/plugins/route.js.nft.json +1 -0
  117. package/.next/server/app/api/plugins/route_client-reference-manifest.js +1 -0
  118. package/.next/server/app/api/sessions/[id]/auto-name/route.js +10 -0
  119. package/.next/server/app/api/sessions/[id]/auto-name/route.js.nft.json +1 -0
  120. package/.next/server/app/api/sessions/[id]/auto-name/route_client-reference-manifest.js +1 -0
  121. package/.next/server/app/api/sessions/[id]/context/route.js +1 -0
  122. package/.next/server/app/api/sessions/[id]/context/route.js.nft.json +1 -0
  123. package/.next/server/app/api/sessions/[id]/context/route_client-reference-manifest.js +1 -0
  124. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -0
  125. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js.nft.json +1 -0
  126. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route_client-reference-manifest.js +1 -0
  127. package/.next/server/app/api/sessions/[id]/export/route.js +54 -0
  128. package/.next/server/app/api/sessions/[id]/export/route.js.nft.json +1 -0
  129. package/.next/server/app/api/sessions/[id]/export/route_client-reference-manifest.js +1 -0
  130. package/.next/server/app/api/sessions/[id]/route.js +1 -0
  131. package/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -0
  132. package/.next/server/app/api/sessions/[id]/route_client-reference-manifest.js +1 -0
  133. package/.next/server/app/api/sessions/[id]/state/route.js +1 -0
  134. package/.next/server/app/api/sessions/[id]/state/route.js.nft.json +1 -0
  135. package/.next/server/app/api/sessions/[id]/state/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 +14 -0
  163. package/.next/server/app/index.rsc +18 -0
  164. package/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -0
  165. package/.next/server/app/index.segments/_full.segment.rsc +18 -0
  166. package/.next/server/app/index.segments/_head.segment.rsc +6 -0
  167. package/.next/server/app/index.segments/_index.segment.rsc +6 -0
  168. package/.next/server/app/index.segments/_tree.segment.rsc +5 -0
  169. package/.next/server/app/login/page.js +2 -0
  170. package/.next/server/app/login/page.js.nft.json +1 -0
  171. package/.next/server/app/login/page_client-reference-manifest.js +1 -0
  172. package/.next/server/app/login.html +1 -0
  173. package/.next/server/app/login.meta +15 -0
  174. package/.next/server/app/login.rsc +20 -0
  175. package/.next/server/app/login.segments/_full.segment.rsc +20 -0
  176. package/.next/server/app/login.segments/_head.segment.rsc +6 -0
  177. package/.next/server/app/login.segments/_index.segment.rsc +6 -0
  178. package/.next/server/app/login.segments/_tree.segment.rsc +5 -0
  179. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +6 -0
  180. package/.next/server/app/login.segments/login.segment.rsc +5 -0
  181. package/.next/server/app/page.js +73 -0
  182. package/.next/server/app/page.js.nft.json +1 -0
  183. package/.next/server/app/page_client-reference-manifest.js +1 -0
  184. package/.next/server/app-paths-manifest.json +46 -0
  185. package/.next/server/chunks/1069.js +23 -0
  186. package/.next/server/chunks/1089.js +1 -0
  187. package/.next/server/chunks/1130.js +79 -0
  188. package/.next/server/chunks/1207.js +36 -0
  189. package/.next/server/chunks/1515.js +1 -0
  190. package/.next/server/chunks/1570.js +24 -0
  191. package/.next/server/chunks/1605.js +1 -0
  192. package/.next/server/chunks/1707.js +93 -0
  193. package/.next/server/chunks/1792.js +38 -0
  194. package/.next/server/chunks/1813.js +1 -0
  195. package/.next/server/chunks/2018.js +148 -0
  196. package/.next/server/chunks/2106.js +1 -0
  197. package/.next/server/chunks/2155.js +34 -0
  198. package/.next/server/chunks/2185.js +5 -0
  199. package/.next/server/chunks/2190.js +1 -0
  200. package/.next/server/chunks/2325.js +82 -0
  201. package/.next/server/chunks/2349.js +1 -0
  202. package/.next/server/chunks/2394.js +1 -0
  203. package/.next/server/chunks/2434.js +1 -0
  204. package/.next/server/chunks/2744.js +1 -0
  205. package/.next/server/chunks/2815.js +1 -0
  206. package/.next/server/chunks/2871.js +8 -0
  207. package/.next/server/chunks/2903.js +1 -0
  208. package/.next/server/chunks/319.js +45 -0
  209. package/.next/server/chunks/3252.js +115 -0
  210. package/.next/server/chunks/3379.js +1 -0
  211. package/.next/server/chunks/3770.js +1 -0
  212. package/.next/server/chunks/3894.js +1 -0
  213. package/.next/server/chunks/4030.js +86 -0
  214. package/.next/server/chunks/4286.js +1 -0
  215. package/.next/server/chunks/4309.js +1 -0
  216. package/.next/server/chunks/4338.js +64 -0
  217. package/.next/server/chunks/4367.js +1 -0
  218. package/.next/server/chunks/4372.js +1 -0
  219. package/.next/server/chunks/4424.js +215 -0
  220. package/.next/server/chunks/4485.js +1 -0
  221. package/.next/server/chunks/46.js +62 -0
  222. package/.next/server/chunks/4674.js +1 -0
  223. package/.next/server/chunks/4741.js +18 -0
  224. package/.next/server/chunks/4742.js +80 -0
  225. package/.next/server/chunks/4796.js +104 -0
  226. package/.next/server/chunks/4980.js +1 -0
  227. package/.next/server/chunks/5029.js +1 -0
  228. package/.next/server/chunks/5198.js +90 -0
  229. package/.next/server/chunks/5318.js +1 -0
  230. package/.next/server/chunks/5461.js +1 -0
  231. package/.next/server/chunks/5582.js +3 -0
  232. package/.next/server/chunks/5598.js +1 -0
  233. package/.next/server/chunks/5627.js +1 -0
  234. package/.next/server/chunks/6219.js +41 -0
  235. package/.next/server/chunks/6337.js +1 -0
  236. package/.next/server/chunks/6429.js +1 -0
  237. package/.next/server/chunks/6476.js +27 -0
  238. package/.next/server/chunks/6509.js +153 -0
  239. package/.next/server/chunks/6949.js +1 -0
  240. package/.next/server/chunks/6953.js +1 -0
  241. package/.next/server/chunks/703.js +1 -0
  242. package/.next/server/chunks/7152.js +1 -0
  243. package/.next/server/chunks/7181.js +160 -0
  244. package/.next/server/chunks/7233.js +1 -0
  245. package/.next/server/chunks/7307.js +1 -0
  246. package/.next/server/chunks/7434.js +77 -0
  247. package/.next/server/chunks/7561.js +1 -0
  248. package/.next/server/chunks/7872.js +1 -0
  249. package/.next/server/chunks/7914.js +226 -0
  250. package/.next/server/chunks/8267.js +24 -0
  251. package/.next/server/chunks/8294.js +1 -0
  252. package/.next/server/chunks/835.js +1 -0
  253. package/.next/server/chunks/8645.js +141 -0
  254. package/.next/server/chunks/9081.js +1 -0
  255. package/.next/server/chunks/9169.js +1 -0
  256. package/.next/server/chunks/9280.js +255 -0
  257. package/.next/server/chunks/940.js +287 -0
  258. package/.next/server/chunks/9486.js +1 -0
  259. package/.next/server/chunks/9509.js +1 -0
  260. package/.next/server/functions-config-manifest.json +15 -0
  261. package/.next/server/instrumentation.js +1 -0
  262. package/.next/server/instrumentation.js.nft.json +1 -0
  263. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  264. package/.next/server/middleware-build-manifest.js +1 -0
  265. package/.next/server/middleware-manifest.json +6 -0
  266. package/.next/server/middleware-react-loadable-manifest.js +1 -0
  267. package/.next/server/middleware.js +18 -0
  268. package/.next/server/middleware.js.nft.json +1 -0
  269. package/.next/server/next-font-manifest.js +1 -0
  270. package/.next/server/next-font-manifest.json +1 -0
  271. package/.next/server/pages/404.html +1 -0
  272. package/.next/server/pages/500.html +1 -0
  273. package/.next/server/pages-manifest.json +4 -0
  274. package/.next/server/prefetch-hints.json +1 -0
  275. package/.next/server/server-reference-manifest.js +1 -0
  276. package/.next/server/server-reference-manifest.json +1 -0
  277. package/.next/server/webpack-runtime.js +1 -0
  278. package/.next/static/chunks/050357b0.986bc6597f184c3b.js +62 -0
  279. package/.next/static/chunks/1212.c32f02f461182c5b.js +226 -0
  280. package/.next/static/chunks/127.394be8b7a579a747.js +8 -0
  281. package/.next/static/chunks/1327.09252bb80616cc3a.js +1 -0
  282. package/.next/static/chunks/1377.e883e13864574c26.js +36 -0
  283. package/.next/static/chunks/1390.3e7d84d187924556.js +104 -0
  284. package/.next/static/chunks/1438.d742ea00e0f072ca.js +27 -0
  285. package/.next/static/chunks/1474.605367a77b6161a0.js +115 -0
  286. package/.next/static/chunks/1576.93e0666990c12243.js +38 -0
  287. package/.next/static/chunks/1951.4b73bf47740c2bfb.js +160 -0
  288. package/.next/static/chunks/2081.47b6e9391094055f.js +1 -0
  289. package/.next/static/chunks/2178.2adcd2b51553bd50.js +1 -0
  290. package/.next/static/chunks/2217.4bf1455eb89bdd9b.js +1 -0
  291. package/.next/static/chunks/2325.23caf22075e51aa5.js +1 -0
  292. package/.next/static/chunks/2356.52627097a8b56ec1.js +1 -0
  293. package/.next/static/chunks/2418.b5d9e177e10a686e.js +1 -0
  294. package/.next/static/chunks/249.973d23a3940a5fc9.js +1 -0
  295. package/.next/static/chunks/2554.ca4cb2f8bc69f32e.js +86 -0
  296. package/.next/static/chunks/2566.505384571dedf726.js +79 -0
  297. package/.next/static/chunks/2619.9aac8983f30c7c8a.js +1 -0
  298. package/.next/static/chunks/2646.c653cac657d7b035.js +215 -0
  299. package/.next/static/chunks/2784.3d8e0d20edb71dcd.js +64 -0
  300. package/.next/static/chunks/2821.934bcf60fbdc28c6.js +1 -0
  301. package/.next/static/chunks/2847.b66f6d92e4f5e495.js +23 -0
  302. package/.next/static/chunks/2866.4ecb766127917d99.js +1 -0
  303. package/.next/static/chunks/28f0fb3b.5f2b0099c24fbe32.js +122 -0
  304. package/.next/static/chunks/3308.29d4f7078e26a916.js +73 -0
  305. package/.next/static/chunks/3316.5c51b238308a838b.js +34 -0
  306. package/.next/static/chunks/3341.6042c7cb7225d88d.js +41 -0
  307. package/.next/static/chunks/339.1a094bb1c6eaf9dc.js +1 -0
  308. package/.next/static/chunks/370.57cfa27da8567918.js +1 -0
  309. package/.next/static/chunks/3708.81252290870c8487.js +1 -0
  310. package/.next/static/chunks/3794-e569667691edc8f7.js +32 -0
  311. package/.next/static/chunks/3832.5d713641634c65b5.js +24 -0
  312. package/.next/static/chunks/4368.e43e952c5535cba6.js +80 -0
  313. package/.next/static/chunks/4424.fd0c93a807a333e1.js +1 -0
  314. package/.next/static/chunks/4866.d1060b4faf2ae1e2.js +1 -0
  315. package/.next/static/chunks/4bd1b696-e356ca5ba0218e27.js +1 -0
  316. package/.next/static/chunks/5020.9ac8d0dc8390bb6e.js +1 -0
  317. package/.next/static/chunks/5166.7d3648847337fe52.js +62 -0
  318. package/.next/static/chunks/5242.7b643c6b3394cac1.js +1 -0
  319. package/.next/static/chunks/5361.afc00ab2626bacbf.js +1 -0
  320. package/.next/static/chunks/5460.0337c14f29b9ff9a.js +90 -0
  321. package/.next/static/chunks/5521.cfdf2cfc6db31407.js +1 -0
  322. package/.next/static/chunks/5715.048f1bae2c41fa89.js +1 -0
  323. package/.next/static/chunks/6121.5b8cb3199531d194.js +1 -0
  324. package/.next/static/chunks/6294.24f510c0c3e3714c.js +1 -0
  325. package/.next/static/chunks/6467.b354ed428e3bef01.js +5 -0
  326. package/.next/static/chunks/66d203d7.3e90bc8f1f096a8e.js +153 -0
  327. package/.next/static/chunks/6787.a15de946178e8ef7.js +1 -0
  328. package/.next/static/chunks/7176.2979806e91c0df29.js +1 -0
  329. package/.next/static/chunks/7256.e07cf52d87d40252.js +1 -0
  330. package/.next/static/chunks/7543.89f7b805ed0f2901.js +1 -0
  331. package/.next/static/chunks/776.fe8e64ab3669a915.js +287 -0
  332. package/.next/static/chunks/8118.f905a690db2b859b.js +148 -0
  333. package/.next/static/chunks/8233.a465d18b04719c6d.js +141 -0
  334. package/.next/static/chunks/8249.7a48897e80a16391.js +1 -0
  335. package/.next/static/chunks/8311-95813758da2b283c.js +1 -0
  336. package/.next/static/chunks/8365.dc22e1ff76d04a3b.js +93 -0
  337. package/.next/static/chunks/8498.1083c36ddbbedd69.js +1 -0
  338. package/.next/static/chunks/8511.c7c064a8f58f1355.js +1 -0
  339. package/.next/static/chunks/869.7152372b662e31af.js +1 -0
  340. package/.next/static/chunks/8782.9ab86081b5661687.js +77 -0
  341. package/.next/static/chunks/8863.fa0320ea586efb3b.js +1 -0
  342. package/.next/static/chunks/8953.e5e7399c7952a1ff.js +1 -0
  343. package/.next/static/chunks/90542734.b75ad0df50bf68f5.js +1 -0
  344. package/.next/static/chunks/9165.02dc1f4804b94791.js +24 -0
  345. package/.next/static/chunks/934.9006461bd0548660.js +1 -0
  346. package/.next/static/chunks/9522.c7c6e9c330f9ba6b.js +1 -0
  347. package/.next/static/chunks/9667.c6d6228dd3c4861b.js +1 -0
  348. package/.next/static/chunks/9705.40a82b97f214e28b.js +1 -0
  349. package/.next/static/chunks/9793.4567af813117ad25.js +1 -0
  350. package/.next/static/chunks/app/_global-error/page-6270af0206ac74b6.js +1 -0
  351. package/.next/static/chunks/app/_not-found/page-3ea40c1a91b0cd39.js +1 -0
  352. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-6270af0206ac74b6.js +1 -0
  353. package/.next/static/chunks/app/api/agent/[id]/events/route-6270af0206ac74b6.js +1 -0
  354. package/.next/static/chunks/app/api/agent/[id]/route-6270af0206ac74b6.js +1 -0
  355. package/.next/static/chunks/app/api/agent/new/route-6270af0206ac74b6.js +1 -0
  356. package/.next/static/chunks/app/api/agent/running/events/route-6270af0206ac74b6.js +1 -0
  357. package/.next/static/chunks/app/api/auth/all-providers/route-6270af0206ac74b6.js +1 -0
  358. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-6270af0206ac74b6.js +1 -0
  359. package/.next/static/chunks/app/api/auth/login/[provider]/route-6270af0206ac74b6.js +1 -0
  360. package/.next/static/chunks/app/api/auth/login/route-6270af0206ac74b6.js +1 -0
  361. package/.next/static/chunks/app/api/auth/logout/[provider]/route-6270af0206ac74b6.js +1 -0
  362. package/.next/static/chunks/app/api/auth/logout/route-6270af0206ac74b6.js +1 -0
  363. package/.next/static/chunks/app/api/auth/providers/route-6270af0206ac74b6.js +1 -0
  364. package/.next/static/chunks/app/api/auth/refresh/route-6270af0206ac74b6.js +1 -0
  365. package/.next/static/chunks/app/api/auth/status/route-6270af0206ac74b6.js +1 -0
  366. package/.next/static/chunks/app/api/auth/verify/route-6270af0206ac74b6.js +1 -0
  367. package/.next/static/chunks/app/api/cwd/validate/route-6270af0206ac74b6.js +1 -0
  368. package/.next/static/chunks/app/api/default-cwd/route-6270af0206ac74b6.js +1 -0
  369. package/.next/static/chunks/app/api/file-index/route-6270af0206ac74b6.js +1 -0
  370. package/.next/static/chunks/app/api/files/[...path]/route-6270af0206ac74b6.js +1 -0
  371. package/.next/static/chunks/app/api/git/diff/route-6270af0206ac74b6.js +1 -0
  372. package/.next/static/chunks/app/api/git/status/route-6270af0206ac74b6.js +1 -0
  373. package/.next/static/chunks/app/api/home/route-6270af0206ac74b6.js +1 -0
  374. package/.next/static/chunks/app/api/models/route-6270af0206ac74b6.js +1 -0
  375. package/.next/static/chunks/app/api/models-config/route-6270af0206ac74b6.js +1 -0
  376. package/.next/static/chunks/app/api/models-config/test/route-6270af0206ac74b6.js +1 -0
  377. package/.next/static/chunks/app/api/plugins/route-6270af0206ac74b6.js +1 -0
  378. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-6270af0206ac74b6.js +1 -0
  379. package/.next/static/chunks/app/api/sessions/[id]/context/route-6270af0206ac74b6.js +1 -0
  380. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-6270af0206ac74b6.js +1 -0
  381. package/.next/static/chunks/app/api/sessions/[id]/export/route-6270af0206ac74b6.js +1 -0
  382. package/.next/static/chunks/app/api/sessions/[id]/route-6270af0206ac74b6.js +1 -0
  383. package/.next/static/chunks/app/api/sessions/[id]/state/route-6270af0206ac74b6.js +1 -0
  384. package/.next/static/chunks/app/api/sessions/route-6270af0206ac74b6.js +1 -0
  385. package/.next/static/chunks/app/api/skills/check/route-6270af0206ac74b6.js +1 -0
  386. package/.next/static/chunks/app/api/skills/install/route-6270af0206ac74b6.js +1 -0
  387. package/.next/static/chunks/app/api/skills/route-6270af0206ac74b6.js +1 -0
  388. package/.next/static/chunks/app/api/skills/search/route-6270af0206ac74b6.js +1 -0
  389. package/.next/static/chunks/app/api/skills/update/route-6270af0206ac74b6.js +1 -0
  390. package/.next/static/chunks/app/api/worktrees/route-6270af0206ac74b6.js +1 -0
  391. package/.next/static/chunks/app/layout-fc0dbec63c654527.js +1 -0
  392. package/.next/static/chunks/app/login/page-c7d96da038297463.js +1 -0
  393. package/.next/static/chunks/app/page-883e877df3335b30.js +72 -0
  394. package/.next/static/chunks/d2c09beb.4f5ff7197b5bbbea.js +1 -0
  395. package/.next/static/chunks/d3ac728e-7964f816a1ca64e5.js +1 -0
  396. package/.next/static/chunks/da12927c.00775c0e4542fd3e.js +82 -0
  397. package/.next/static/chunks/framework-711ef29bc66f648c.js +1 -0
  398. package/.next/static/chunks/main-app-6d3ca1bd083597b7.js +1 -0
  399. package/.next/static/chunks/main-b70eb01cb9d3de17.js +5 -0
  400. package/.next/static/chunks/next/dist/client/components/builtin/app-error-6270af0206ac74b6.js +1 -0
  401. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-6270af0206ac74b6.js +1 -0
  402. package/.next/static/chunks/next/dist/client/components/builtin/global-error-129b03c25e777d59.js +1 -0
  403. package/.next/static/chunks/next/dist/client/components/builtin/not-found-6270af0206ac74b6.js +1 -0
  404. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-6270af0206ac74b6.js +1 -0
  405. package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  406. package/.next/static/chunks/webpack-bbd44e4ff13f4c9b.js +1 -0
  407. package/.next/static/css/88714c00e109ce28.css +1 -0
  408. package/.next/static/css/afdadd5192f321e7.css +1 -0
  409. package/.next/static/media/15605e25b523335c-s.woff2 +0 -0
  410. package/.next/static/media/1a3dce5cfb5f7760-s.woff2 +0 -0
  411. package/.next/static/media/1cdd02902f937a18-s.woff2 +0 -0
  412. package/.next/static/media/4c4b3b30b6bcb2be-s.woff2 +0 -0
  413. package/.next/static/media/641a7b8a5800ee0e-s.woff2 +0 -0
  414. package/.next/static/media/7deddc85b7ffd1dc-s.p.woff2 +0 -0
  415. package/.next/static/media/KaTeX_AMS-Regular.1608a09b.woff +0 -0
  416. package/.next/static/media/KaTeX_AMS-Regular.4aafdb68.ttf +0 -0
  417. package/.next/static/media/KaTeX_AMS-Regular.a79f1c31.woff2 +0 -0
  418. package/.next/static/media/KaTeX_Caligraphic-Bold.b6770918.woff +0 -0
  419. package/.next/static/media/KaTeX_Caligraphic-Bold.cce5b8ec.ttf +0 -0
  420. package/.next/static/media/KaTeX_Caligraphic-Bold.ec17d132.woff2 +0 -0
  421. package/.next/static/media/KaTeX_Caligraphic-Regular.07ef19e7.ttf +0 -0
  422. package/.next/static/media/KaTeX_Caligraphic-Regular.55fac258.woff2 +0 -0
  423. package/.next/static/media/KaTeX_Caligraphic-Regular.dad44a7f.woff +0 -0
  424. package/.next/static/media/KaTeX_Fraktur-Bold.9f256b85.woff +0 -0
  425. package/.next/static/media/KaTeX_Fraktur-Bold.b18f59e1.ttf +0 -0
  426. package/.next/static/media/KaTeX_Fraktur-Bold.d42a5579.woff2 +0 -0
  427. package/.next/static/media/KaTeX_Fraktur-Regular.7c187121.woff +0 -0
  428. package/.next/static/media/KaTeX_Fraktur-Regular.d3c882a6.woff2 +0 -0
  429. package/.next/static/media/KaTeX_Fraktur-Regular.ed38e79f.ttf +0 -0
  430. package/.next/static/media/KaTeX_Main-Bold.b74a1a8b.ttf +0 -0
  431. package/.next/static/media/KaTeX_Main-Bold.c3fb5ac2.woff2 +0 -0
  432. package/.next/static/media/KaTeX_Main-Bold.d181c465.woff +0 -0
  433. package/.next/static/media/KaTeX_Main-BoldItalic.6f2bb1df.woff2 +0 -0
  434. package/.next/static/media/KaTeX_Main-BoldItalic.70d8b0a5.ttf +0 -0
  435. package/.next/static/media/KaTeX_Main-BoldItalic.e3f82f9d.woff +0 -0
  436. package/.next/static/media/KaTeX_Main-Italic.47373d1e.ttf +0 -0
  437. package/.next/static/media/KaTeX_Main-Italic.8916142b.woff2 +0 -0
  438. package/.next/static/media/KaTeX_Main-Italic.9024d815.woff +0 -0
  439. package/.next/static/media/KaTeX_Main-Regular.0462f03b.woff2 +0 -0
  440. package/.next/static/media/KaTeX_Main-Regular.7f51fe03.woff +0 -0
  441. package/.next/static/media/KaTeX_Main-Regular.b7f8fe9b.ttf +0 -0
  442. package/.next/static/media/KaTeX_Math-BoldItalic.572d331f.woff2 +0 -0
  443. package/.next/static/media/KaTeX_Math-BoldItalic.a879cf83.ttf +0 -0
  444. package/.next/static/media/KaTeX_Math-BoldItalic.f1035d8d.woff +0 -0
  445. package/.next/static/media/KaTeX_Math-Italic.5295ba48.woff +0 -0
  446. package/.next/static/media/KaTeX_Math-Italic.939bc644.ttf +0 -0
  447. package/.next/static/media/KaTeX_Math-Italic.f28c23ac.woff2 +0 -0
  448. package/.next/static/media/KaTeX_SansSerif-Bold.8c5b5494.woff2 +0 -0
  449. package/.next/static/media/KaTeX_SansSerif-Bold.94e1e8dc.ttf +0 -0
  450. package/.next/static/media/KaTeX_SansSerif-Bold.bf59d231.woff +0 -0
  451. package/.next/static/media/KaTeX_SansSerif-Italic.3b1e59b3.woff2 +0 -0
  452. package/.next/static/media/KaTeX_SansSerif-Italic.7c9bc82b.woff +0 -0
  453. package/.next/static/media/KaTeX_SansSerif-Italic.b4c20c84.ttf +0 -0
  454. package/.next/static/media/KaTeX_SansSerif-Regular.74048478.woff +0 -0
  455. package/.next/static/media/KaTeX_SansSerif-Regular.ba21ed5f.woff2 +0 -0
  456. package/.next/static/media/KaTeX_SansSerif-Regular.d4d7ba48.ttf +0 -0
  457. package/.next/static/media/KaTeX_Script-Regular.03e9641d.woff2 +0 -0
  458. package/.next/static/media/KaTeX_Script-Regular.07505710.woff +0 -0
  459. package/.next/static/media/KaTeX_Script-Regular.fe9cbbe1.ttf +0 -0
  460. package/.next/static/media/KaTeX_Size1-Regular.e1e279cb.woff +0 -0
  461. package/.next/static/media/KaTeX_Size1-Regular.eae34984.woff2 +0 -0
  462. package/.next/static/media/KaTeX_Size1-Regular.fabc004a.ttf +0 -0
  463. package/.next/static/media/KaTeX_Size2-Regular.57727022.woff +0 -0
  464. package/.next/static/media/KaTeX_Size2-Regular.5916a24f.woff2 +0 -0
  465. package/.next/static/media/KaTeX_Size2-Regular.d6b476ec.ttf +0 -0
  466. package/.next/static/media/KaTeX_Size3-Regular.9acaf01c.woff +0 -0
  467. package/.next/static/media/KaTeX_Size3-Regular.a144ef58.ttf +0 -0
  468. package/.next/static/media/KaTeX_Size3-Regular.b4230e7e.woff2 +0 -0
  469. package/.next/static/media/KaTeX_Size4-Regular.10d95fd3.woff2 +0 -0
  470. package/.next/static/media/KaTeX_Size4-Regular.7a996c9d.woff +0 -0
  471. package/.next/static/media/KaTeX_Size4-Regular.fbccdabe.ttf +0 -0
  472. package/.next/static/media/KaTeX_Typewriter-Regular.6258592b.woff +0 -0
  473. package/.next/static/media/KaTeX_Typewriter-Regular.a8709e36.woff2 +0 -0
  474. package/.next/static/media/KaTeX_Typewriter-Regular.d97aaf4a.ttf +0 -0
  475. package/.next/static/media/ec14413c594b3356-s.p.woff2 +0 -0
  476. package/.next/static/rNxNXXmbOkkvQk0-VdhVR/_buildManifest.js +1 -0
  477. package/.next/static/rNxNXXmbOkkvQk0-VdhVR/_ssgManifest.js +1 -0
  478. package/.next/trace +6 -0
  479. package/.next/trace-build +1 -0
  480. package/.next/types/app/api/agent/[id]/bash-output/route.ts +351 -0
  481. package/.next/types/app/api/agent/[id]/events/route.ts +351 -0
  482. package/.next/types/app/api/agent/[id]/route.ts +351 -0
  483. package/.next/types/app/api/agent/new/route.ts +351 -0
  484. package/.next/types/app/api/agent/running/events/route.ts +351 -0
  485. package/.next/types/app/api/auth/all-providers/route.ts +351 -0
  486. package/.next/types/app/api/auth/api-key/[provider]/route.ts +351 -0
  487. package/.next/types/app/api/auth/login/[provider]/route.ts +351 -0
  488. package/.next/types/app/api/auth/login/route.ts +351 -0
  489. package/.next/types/app/api/auth/logout/[provider]/route.ts +351 -0
  490. package/.next/types/app/api/auth/logout/route.ts +351 -0
  491. package/.next/types/app/api/auth/providers/route.ts +351 -0
  492. package/.next/types/app/api/auth/refresh/route.ts +351 -0
  493. package/.next/types/app/api/auth/status/route.ts +351 -0
  494. package/.next/types/app/api/auth/verify/route.ts +351 -0
  495. package/.next/types/app/api/cwd/validate/route.ts +351 -0
  496. package/.next/types/app/api/default-cwd/route.ts +351 -0
  497. package/.next/types/app/api/file-index/route.ts +351 -0
  498. package/.next/types/app/api/files/[...path]/route.ts +351 -0
  499. package/.next/types/app/api/git/diff/route.ts +351 -0
  500. package/.next/types/app/api/git/status/route.ts +351 -0
  501. package/.next/types/app/api/home/route.ts +351 -0
  502. package/.next/types/app/api/models/route.ts +351 -0
  503. package/.next/types/app/api/models-config/route.ts +351 -0
  504. package/.next/types/app/api/models-config/test/route.ts +351 -0
  505. package/.next/types/app/api/plugins/route.ts +351 -0
  506. package/.next/types/app/api/sessions/[id]/auto-name/route.ts +351 -0
  507. package/.next/types/app/api/sessions/[id]/context/route.ts +351 -0
  508. package/.next/types/app/api/sessions/[id]/entries/[entryId]/thinking/route.ts +351 -0
  509. package/.next/types/app/api/sessions/[id]/export/route.ts +351 -0
  510. package/.next/types/app/api/sessions/[id]/route.ts +351 -0
  511. package/.next/types/app/api/sessions/[id]/state/route.ts +351 -0
  512. package/.next/types/app/api/sessions/route.ts +351 -0
  513. package/.next/types/app/api/skills/check/route.ts +351 -0
  514. package/.next/types/app/api/skills/install/route.ts +351 -0
  515. package/.next/types/app/api/skills/route.ts +351 -0
  516. package/.next/types/app/api/skills/search/route.ts +351 -0
  517. package/.next/types/app/api/skills/update/route.ts +351 -0
  518. package/.next/types/app/api/worktrees/route.ts +351 -0
  519. package/.next/types/app/layout.ts +87 -0
  520. package/.next/types/app/login/page.ts +87 -0
  521. package/.next/types/app/page.ts +87 -0
  522. package/.next/types/cache-life.d.ts +145 -0
  523. package/.next/types/package.json +1 -0
  524. package/.next/types/routes.d.ts +112 -0
  525. package/.next/types/validator.ts +430 -0
  526. package/LICENSE +21 -0
  527. package/README.md +140 -0
  528. package/README.zh-CN.md +136 -0
  529. package/bin/pi-web-options.js +45 -0
  530. package/bin/pi-web.js +343 -0
  531. package/lib/auth-cli.js +115 -0
  532. package/next.config.ts +37 -0
  533. package/package.json +79 -0
@@ -0,0 +1,24 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3832],{80650:(t,e,a)=>{function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}a.d(e,{S:()=>r}),(0,a(89851).K)(r,"populateCommonDb")},93832:(t,e,a)=>{a.d(e,{diagram:()=>$});var r=a(80650),i=a(98167),l=a(26757),o=a(88376),s=a(56037),c=a(89851),n=a(88863),d=o.UI.packet,k=class{constructor(){this.packet=[],this.setAccTitle=o.SV,this.getAccTitle=o.iN,this.setDiagramTitle=o.ke,this.getDiagramTitle=o.ab,this.getAccDescription=o.m7,this.setAccDescription=o.EI}static{(0,c.K)(this,"PacketDB")}getConfig(){let t=(0,l.$t)({...d,...(0,o.zj)().packet});return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){(0,o.IU)(),this.packet=[]}},p=(0,c.K)((t,e)=>{(0,r.S)(t,e);let a=-1,i=[],l=1,{bitsPerRow:o}=e.getConfig();for(let{start:r,end:c,bits:n,label:d}of t.blocks){if(void 0!==r&&void 0!==c&&c<r)throw Error(`Packet block ${r} - ${c} is invalid. End must be greater than start.`);if((r??=a+1)!==a+1)throw Error(`Packet block ${r} - ${c??r} is not contiguous. It should start from ${a+1}.`);if(0===n)throw Error(`Packet block ${r} is invalid. Cannot have a zero bit field.`);for(c??=r+(n??1)-1,n??=c-r+1,a=c,s.R.debug(`Packet block ${r} - ${a} with label ${d}`);i.length<=o+1&&e.getPacket().length<1e4;){let[t,a]=h({start:r,end:c,bits:n,label:d},l,o);if(i.push(t),t.end+1===l*o&&(e.pushWord(i),i=[],l++),!a)break;({start:r,end:c,bits:n,label:d}=a)}}e.pushWord(i)},"populate"),h=(0,c.K)((t,e,a)=>{if(void 0===t.start)throw Error("start should have been set during first phase");if(void 0===t.end)throw Error("end should have been set during first phase");if(t.start>t.end)throw Error(`Block start ${t.start} is greater than block end ${t.end}.`);if(t.end+1<=e*a)return[t,void 0];let r=e*a-1,i=e*a;return[{start:t.start,end:r,label:t.label,bits:r-t.start},{start:i,end:t.end,label:t.label,bits:t.end-i}]},"getNextFittingBlock"),b={parser:{yy:void 0},parse:(0,c.K)(async t=>{let e=await (0,n.qg)("packet",t),a=b.parser?.yy;if(!(a instanceof k))throw Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");s.R.debug(e),p(e,a)},"parse")},f=(0,c.K)((t,e,a,r)=>{let l=r.db,s=l.getConfig(),{rowHeight:c,paddingY:n,bitWidth:d,bitsPerRow:k}=s,p=l.getPacket(),h=l.getDiagramTitle(),b=c+n,f=b*(p.length+1)-(h?0:c),u=d*k+2,$=(0,i.D)(e);for(let[t,e]of($.attr("viewBox",`0 0 ${u} ${f}`),(0,o.a$)($,f,u,s.useMaxWidth),p.entries()))g($,e,t,s);$.append("text").text(h).attr("x",u/2).attr("y",f-b/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),g=(0,c.K)((t,e,a,{rowHeight:r,paddingX:i,paddingY:l,bitWidth:o,bitsPerRow:s,showBits:c})=>{let n=t.append("g"),d=a*(r+l)+l;for(let t of e){let e=t.start%s*o+1,a=(t.end-t.start+1)*o-i;if(n.append("rect").attr("x",e).attr("y",d).attr("width",a).attr("height",r).attr("class","packetBlock"),n.append("text").attr("x",e+a/2).attr("y",d+r/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(t.label),!c)continue;let l=t.end===t.start,k=d-2;n.append("text").attr("x",e+(l?a/2:0)).attr("y",k).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",l?"middle":"start").text(t.start),l||n.append("text").attr("x",e+a).attr("y",k).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(t.end)}},"drawWord"),u={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},$={parser:b,get db(){return new k},renderer:{draw:f},styles:(0,c.K)(({packet:t}={})=>{let e=(0,l.$t)(u,t);return`
2
+ .packetByte {
3
+ font-size: ${e.byteFontSize};
4
+ }
5
+ .packetByte.start {
6
+ fill: ${e.startByteColor};
7
+ }
8
+ .packetByte.end {
9
+ fill: ${e.endByteColor};
10
+ }
11
+ .packetLabel {
12
+ fill: ${e.labelColor};
13
+ font-size: ${e.labelFontSize};
14
+ }
15
+ .packetTitle {
16
+ fill: ${e.titleColor};
17
+ font-size: ${e.titleFontSize};
18
+ }
19
+ .packetBlock {
20
+ stroke: ${e.blockStrokeColor};
21
+ stroke-width: ${e.blockStrokeWidth};
22
+ fill: ${e.blockFillColor};
23
+ }
24
+ `},"styles")}}}]);
@@ -0,0 +1,80 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4368],{16443:(t,e,i)=>{i.d(e,{A:()=>r});var s=i(89851),n=i(33948),r=(0,s.K)((t,e)=>{let i;return"sandbox"===e&&(i=(0,n.Ltv)("#i"+t)),("sandbox"===e?(0,n.Ltv)(i.nodes()[0].contentDocument.body):(0,n.Ltv)("body")).select(`[id="${t}"]`)},"getDiagramElement")},18613:(t,e,i)=>{i.d(e,{P:()=>a});var s=i(88376),n=i(56037),r=i(89851),a=(0,r.K)((t,e,i,r)=>{t.attr("class",i);let{width:a,height:l,x:h,y:u}=c(t,e);(0,s.a$)(t,l,a,r);let d=o(h,u,a,l,e);t.attr("viewBox",d),n.R.debug(`viewBox configured: ${d} with padding: ${e}`)},"setupViewPortForSVG"),c=(0,r.K)((t,e)=>{let i=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+2*e,height:i.height+2*e,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),o=(0,r.K)((t,e,i,s,n)=>`${t-n} ${e-n} ${i} ${s}`,"createViewBox")},34368:(t,e,i)=>{i.d(e,{diagram:()=>E});var s=i(16443),n=i(18613),r=i(59907);i(9886),i(65591),i(83697),i(44701),i(8752),i(64549),i(49248);var a=i(26757),c=i(88376),o=i(56037),l=i(89851),h=i(33948),u=i(72555),d=i(13222),y=function(){var t=(0,l.K)(function(t,e,i,s){for(i=i||{},s=t.length;s--;i[t[s]]=e);return i},"o"),e=[6,8,10,22,24,26,28,33,34,35,36,37,40,43,44,48,50,51,52],i=[1,10],s=[1,11],n=[1,12],r=[1,13],a=[1,23],c=[1,24],o=[1,25],h=[1,26],u=[1,27],d=[1,19],y=[1,28],p=[1,29],_=[1,20],g=[1,18],b=[1,21],f=[1,22],m=[1,36],E=[1,37],k=[1,38],T=[1,39],O=[1,40],S=[6,8,10,13,15,17,20,21,22,24,26,28,33,34,35,36,37,40,43,44,48,50,51,52,66,67,68,69,70],N=[1,45],A=[1,46],R=[1,55],I=[40,48,50,51,52,71,72],$=[1,66],C=[1,64],x=[1,61],D=[1,65],v=[1,67],L=[6,8,10,13,17,22,24,26,28,33,34,35,36,37,40,41,42,43,44,48,49,50,51,52,66,67,68,69,70],K=[66,67,68,69,70],w=[1,85],M=[1,84],B=[1,82],F=[1,83],Y=[6,10,42,47],P=[6,10,13,41,42,47,48,49],z=[1,93],G=[1,92],U=[1,91],Z=[19,58],j=[1,102],W=[1,101],X=[19,58,61,63],V={trace:(0,l.K)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,COLON:13,role:14,STYLE_SEPARATOR:15,idList:16,BLOCK_START:17,attributes:18,BLOCK_STOP:19,SQS:20,SQE:21,title:22,title_value:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,direction:29,classDefStatement:30,classStatement:31,styleStatement:32,direction_tb:33,direction_bt:34,direction_rl:35,direction_lr:36,CLASSDEF:37,stylesOpt:38,separator:39,UNICODE_TEXT:40,STYLE_TEXT:41,COMMA:42,CLASS:43,STYLE:44,style:45,styleComponent:46,SEMI:47,NUM:48,BRKT:49,ENTITY_NAME:50,DECIMAL_NUM:51,ENTITY_ONE:52,attribute:53,attributeType:54,attributeName:55,attributeKeyTypeList:56,attributeComment:57,ATTRIBUTE_WORD:58,"?":59,attributeKeyType:60,",":61,ATTRIBUTE_KEY:62,COMMENT:63,cardinality:64,relType:65,ZERO_OR_ONE:66,ZERO_OR_MORE:67,ONE_OR_MORE:68,ONLY_ONE:69,MD_PARENT:70,NON_IDENTIFYING:71,IDENTIFYING:72,WORD:73,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:"COLON",15:"STYLE_SEPARATOR",17:"BLOCK_START",19:"BLOCK_STOP",20:"SQS",21:"SQE",22:"title",23:"title_value",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"direction_tb",34:"direction_bt",35:"direction_rl",36:"direction_lr",37:"CLASSDEF",40:"UNICODE_TEXT",41:"STYLE_TEXT",42:"COMMA",43:"CLASS",44:"STYLE",47:"SEMI",48:"NUM",49:"BRKT",50:"ENTITY_NAME",51:"DECIMAL_NUM",52:"ENTITY_ONE",58:"ATTRIBUTE_WORD",59:"?",61:",",62:"ATTRIBUTE_KEY",63:"COMMENT",66:"ZERO_OR_ONE",67:"ZERO_OR_MORE",68:"ONE_OR_MORE",69:"ONLY_ONE",70:"MD_PARENT",71:"NON_IDENTIFYING",72:"IDENTIFYING",73:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,9],[9,7],[9,7],[9,4],[9,6],[9,3],[9,5],[9,1],[9,3],[9,7],[9,9],[9,6],[9,8],[9,4],[9,6],[9,2],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[9,1],[29,1],[29,1],[29,1],[29,1],[30,4],[16,1],[16,1],[16,3],[16,3],[31,3],[32,4],[38,1],[38,3],[45,1],[45,2],[39,1],[39,1],[39,1],[46,1],[46,1],[46,1],[46,1],[11,1],[11,1],[11,1],[11,1],[11,1],[18,1],[18,2],[53,2],[53,3],[53,3],[53,4],[54,1],[54,2],[55,1],[56,1],[56,3],[60,1],[57,1],[12,3],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[14,1],[14,1],[14,1]],performAction:(0,l.K)(function(t,e,i,s,n,r,a){var c=r.length-1;switch(n){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:r[c-1].push(r[c]),this.$=r[c-1];break;case 4:case 5:case 55:case 56:case 57:case 58:case 82:case 65:case 67:case 70:this.$=r[c];break;case 8:s.addEntity(r[c-4]),s.addEntity(r[c-2]),s.addRelationship(r[c-4],r[c],r[c-2],r[c-3]);break;case 9:s.addEntity(r[c-8]),s.addEntity(r[c-4]),s.addRelationship(r[c-8],r[c],r[c-4],r[c-5]),s.setClass([r[c-8]],r[c-6]),s.setClass([r[c-4]],r[c-2]);break;case 10:s.addEntity(r[c-6]),s.addEntity(r[c-2]),s.addRelationship(r[c-6],r[c],r[c-2],r[c-3]),s.setClass([r[c-6]],r[c-4]);break;case 11:s.addEntity(r[c-6]),s.addEntity(r[c-4]),s.addRelationship(r[c-6],r[c],r[c-4],r[c-5]),s.setClass([r[c-4]],r[c-2]);break;case 12:s.addEntity(r[c-3]),s.addAttributes(r[c-3],r[c-1]);break;case 13:s.addEntity(r[c-5]),s.addAttributes(r[c-5],r[c-1]),s.setClass([r[c-5]],r[c-3]);break;case 14:s.addEntity(r[c-2]);break;case 15:s.addEntity(r[c-4]),s.setClass([r[c-4]],r[c-2]);break;case 16:s.addEntity(r[c]);break;case 17:s.addEntity(r[c-2]),s.setClass([r[c-2]],r[c]);break;case 18:s.addEntity(r[c-6],r[c-4]),s.addAttributes(r[c-6],r[c-1]);break;case 19:s.addEntity(r[c-8],r[c-6]),s.addAttributes(r[c-8],r[c-1]),s.setClass([r[c-8]],r[c-3]);break;case 20:s.addEntity(r[c-5],r[c-3]);break;case 21:s.addEntity(r[c-7],r[c-5]),s.setClass([r[c-7]],r[c-2]);break;case 22:s.addEntity(r[c-3],r[c-1]);break;case 23:s.addEntity(r[c-5],r[c-3]),s.setClass([r[c-5]],r[c]);break;case 24:case 25:this.$=r[c].trim(),s.setAccTitle(this.$);break;case 26:case 27:this.$=r[c].trim(),s.setAccDescription(this.$);break;case 32:s.setDirection("TB");break;case 33:s.setDirection("BT");break;case 34:s.setDirection("RL");break;case 35:s.setDirection("LR");break;case 36:this.$=r[c-3],s.addClass(r[c-2],r[c-1]);break;case 37:case 38:case 59:case 68:case 43:this.$=[r[c]];break;case 39:case 40:this.$=r[c-2].concat([r[c]]);break;case 41:this.$=r[c-2],s.setClass(r[c-1],r[c]);break;case 42:this.$=r[c-3],s.addCssStyles(r[c-2],r[c-1]);break;case 44:case 69:r[c-2].push(r[c]),this.$=r[c-2];break;case 46:case 66:this.$=r[c-1]+r[c];break;case 54:case 80:case 81:case 71:this.$=r[c].replace(/"/g,"");break;case 60:r[c].push(r[c-1]),this.$=r[c];break;case 61:this.$={type:r[c-1],name:r[c]};break;case 62:this.$={type:r[c-2],name:r[c-1],keys:r[c]};break;case 63:this.$={type:r[c-2],name:r[c-1],comment:r[c]};break;case 64:this.$={type:r[c-3],name:r[c-2],keys:r[c-1],comment:r[c]};break;case 72:this.$={cardA:r[c],relType:r[c-1],cardB:r[c-2]};break;case 73:this.$=s.Cardinality.ZERO_OR_ONE;break;case 74:this.$=s.Cardinality.ZERO_OR_MORE;break;case 75:this.$=s.Cardinality.ONE_OR_MORE;break;case 76:this.$=s.Cardinality.ONLY_ONE;break;case 77:this.$=s.Cardinality.MD_PARENT;break;case 78:this.$=s.Identification.NON_IDENTIFYING;break;case 79:this.$=s.Identification.IDENTIFYING}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,22:i,24:s,26:n,28:r,29:14,30:15,31:16,32:17,33:a,34:c,35:o,36:h,37:u,40:d,43:y,44:p,48:_,50:g,51:b,52:f},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:30,11:9,22:i,24:s,26:n,28:r,29:14,30:15,31:16,32:17,33:a,34:c,35:o,36:h,37:u,40:d,43:y,44:p,48:_,50:g,51:b,52:f},t(e,[2,5]),t(e,[2,6]),t(e,[2,16],{12:31,64:35,15:[1,32],17:[1,33],20:[1,34],66:m,67:E,68:k,69:T,70:O}),{23:[1,41]},{25:[1,42]},{27:[1,43]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),t(e,[2,30]),t(e,[2,31]),t(S,[2,54]),t(S,[2,55]),t(S,[2,56]),t(S,[2,57]),t(S,[2,58]),t(e,[2,32]),t(e,[2,33]),t(e,[2,34]),t(e,[2,35]),{16:44,40:N,41:A},{16:47,40:N,41:A},{16:48,40:N,41:A},t(e,[2,4]),{11:49,40:d,48:_,50:g,51:b,52:f},{16:50,40:N,41:A},{18:51,19:[1,52],53:53,54:54,58:R},{11:56,40:d,48:_,50:g,51:b,52:f},{65:57,71:[1,58],72:[1,59]},t(I,[2,73]),t(I,[2,74]),t(I,[2,75]),t(I,[2,76]),t(I,[2,77]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),{13:$,38:60,41:C,42:x,45:62,46:63,48:D,49:v},t(L,[2,37]),t(L,[2,38]),{16:68,40:N,41:A,42:x},{13:$,38:69,41:C,42:x,45:62,46:63,48:D,49:v},{13:[1,70],15:[1,71]},t(e,[2,17],{64:35,12:72,17:[1,73],42:x,66:m,67:E,68:k,69:T,70:O}),{19:[1,74]},t(e,[2,14]),{18:75,19:[2,59],53:53,54:54,58:R},{55:76,58:[1,77]},{58:[2,65],59:[1,78]},{21:[1,79]},{64:80,66:m,67:E,68:k,69:T,70:O},t(K,[2,78]),t(K,[2,79]),{6:w,10:M,39:81,42:B,47:F},{40:[1,86],41:[1,87]},t(Y,[2,43],{46:88,13:$,41:C,48:D,49:v}),t(P,[2,45]),t(P,[2,50]),t(P,[2,51]),t(P,[2,52]),t(P,[2,53]),t(e,[2,41],{42:x}),{6:w,10:M,39:89,42:B,47:F},{14:90,40:z,50:G,73:U},{16:94,40:N,41:A},{11:95,40:d,48:_,50:g,51:b,52:f},{18:96,19:[1,97],53:53,54:54,58:R},t(e,[2,12]),{19:[2,60]},t(Z,[2,61],{56:98,57:99,60:100,62:j,63:W}),t([19,58,62,63],[2,67]),{58:[2,66]},t(e,[2,22],{15:[1,104],17:[1,103]}),t([40,48,50,51,52],[2,72]),t(e,[2,36]),{13:$,41:C,45:105,46:63,48:D,49:v},t(e,[2,47]),t(e,[2,48]),t(e,[2,49]),t(L,[2,39]),t(L,[2,40]),t(P,[2,46]),t(e,[2,42]),t(e,[2,8]),t(e,[2,80]),t(e,[2,81]),t(e,[2,82]),{13:[1,106],42:x},{13:[1,108],15:[1,107]},{19:[1,109]},t(e,[2,15]),t(Z,[2,62],{57:110,61:[1,111],63:W}),t(Z,[2,63]),t(X,[2,68]),t(Z,[2,71]),t(X,[2,70]),{18:112,19:[1,113],53:53,54:54,58:R},{16:114,40:N,41:A},t(Y,[2,44],{46:88,13:$,41:C,48:D,49:v}),{14:115,40:z,50:G,73:U},{16:116,40:N,41:A},{14:117,40:z,50:G,73:U},t(e,[2,13]),t(Z,[2,64]),{60:118,62:j},{19:[1,119]},t(e,[2,20]),t(e,[2,23],{17:[1,120],42:x}),t(e,[2,11]),{13:[1,121],42:x},t(e,[2,10]),t(X,[2,69]),t(e,[2,18]),{18:122,19:[1,123],53:53,54:54,58:R},{14:124,40:z,50:G,73:U},{19:[1,125]},t(e,[2,21]),t(e,[2,9]),t(e,[2,19])],defaultActions:{75:[2,60],78:[2,66]},parseError:(0,l.K)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,l.K)(function(t){var e=this,i=[0],s=[],n=[null],r=[],a=this.table,c="",o=0,h=0,u=0,d=r.slice.call(arguments,1),y=Object.create(this.lexer),p={};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(p[_]=this.yy[_]);y.setInput(t,p),p.lexer=y,p.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;r.push(g);var b=y.options&&y.options.ranges;function f(){var t;return"number"!=typeof(t=s.pop()||y.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.parseError?this.parseError=p.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,l.K)(function(t){i.length=i.length-2*t,n.length=n.length-t,r.length=r.length-t},"popStack"),(0,l.K)(f,"lex");for(var m,E,k,T,O,S,N,A,R,I={};;){if(k=i[i.length-1],this.defaultActions[k]?T=this.defaultActions[k]:(null==m&&(m=f()),T=a[k]&&a[k][m]),void 0===T||!T.length||!T[0]){var $="";for(S in R=[],a[k])this.terminals_[S]&&S>2&&R.push("'"+this.terminals_[S]+"'");$=y.showPosition?"Parse error on line "+(o+1)+":\n"+y.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError($,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:g,expected:R})}if(T[0]instanceof Array&&T.length>1)throw Error("Parse Error: multiple actions possible at state: "+k+", token: "+m);switch(T[0]){case 1:i.push(m),n.push(y.yytext),r.push(y.yylloc),i.push(T[1]),m=null,E?(m=E,E=null):(h=y.yyleng,c=y.yytext,o=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(N=this.productions_[T[1]][1],I.$=n[n.length-N],I._$={first_line:r[r.length-(N||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(N||1)].first_column,last_column:r[r.length-1].last_column},b&&(I._$.range=[r[r.length-(N||1)].range[0],r[r.length-1].range[1]]),void 0!==(O=this.performAction.apply(I,[c,h,o,p,T[1],n,r].concat(d))))return O;N&&(i=i.slice(0,-1*N*2),n=n.slice(0,-1*N),r=r.slice(0,-1*N)),i.push(this.productions_[T[1]][0]),n.push(I.$),r.push(I._$),A=a[i[i.length-2]][i[i.length-1]],i.push(A);break;case 3:return!0}}return!0},"parse")};function Q(){this.yy={}}return V.lexer={EOF:1,parseError:(0,l.K)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,l.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,l.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,l.K)(function(t){var e=t.length,i=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 s=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),i.length-1&&(this.yylineno-=i.length-1);var n=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:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,l.K)(function(){return this._more=!0,this},"more"),reject:(0,l.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,l.K)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,l.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,l.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,l.K)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,l.K)(function(t,e){var i,s,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.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],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var r in n)this[r]=n[r];return!1},"test_match"),next:(0,l.K)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,s,n=this._currentRules(),r=0;r<n.length;r++)if((i=this._input.match(this.rules[n[r]]))&&(!e||i[0].length>e[0].length)){if(e=i,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[r])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,l.K)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,l.K)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,l.K)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.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,l.K)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,l.K)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,l.K)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,l.K)(function(t,e,i,s){switch(i){case 0:return this.begin("acc_title"),24;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),26;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 29:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 33;case 8:return 34;case 9:return 35;case 10:return 36;case 11:return 10;case 12:case 23:case 31:case 38:break;case 13:return 8;case 14:return 50;case 15:return 73;case 16:return 4;case 17:return this.begin("block"),17;case 18:case 19:case 41:return 49;case 20:case 40:return 42;case 21:return 15;case 22:case 39:return 13;case 24:return 62;case 25:case 26:case 28:return 58;case 27:this.begin("block_bq");break;case 30:return 63;case 32:return this.popState(),19;case 33:case 80:return e.yytext[0];case 34:return 20;case 35:return 21;case 36:return this.begin("style"),44;case 37:return this.popState(),10;case 42:return this.begin("style"),37;case 43:return 43;case 44:case 48:case 49:case 67:return 66;case 45:case 46:case 47:case 55:case 57:case 69:return 68;case 50:case 51:case 52:case 53:case 54:case 56:case 68:return 67;case 58:case 59:case 61:case 62:case 63:case 66:return 69;case 60:return 51;case 64:return 52;case 65:return 48;case 70:return 70;case 71:case 74:case 75:case 76:return 71;case 72:case 73:return 72;case 77:return 41;case 78:return 47;case 79:return 40;case 81:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i,/^(?:[`])/i,/^(?:[^`]+)/i,/^(?:[`])/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:[0-9]+\.[0-9]+)/i,/^(?:1(?=\s+[A-Za-z_"']))/i,/^(?:1(?=\s+[0-9]))/i,/^(?:1(?=(--|\.\.|\.-|-\.)))/i,/^(?:1\b)/i,/^(?:[0-9]+)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:u(?=[\.\-\|]))/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[37,38,39,40,41,77,78],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block_bq:{rules:[28,29],inclusive:!1},block:{rules:[23,24,25,26,27,30,31,32,33],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,34,35,36,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,79,80,81],inclusive:!0}}},(0,l.K)(Q,"Parser"),Q.prototype=V,V.Parser=Q,new Q}();y.parser=y;var p=class{constructor(){this.entities=new Map,this.relationships=[],this.classes=new Map,this.direction="TB",this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},this.setAccTitle=c.SV,this.getAccTitle=c.iN,this.setAccDescription=c.EI,this.getAccDescription=c.m7,this.setDiagramTitle=c.ke,this.getDiagramTitle=c.ab,this.getConfig=(0,l.K)(()=>(0,c.D7)().er,"getConfig"),this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{(0,l.K)(this,"ErDB")}addEntity(t,e=""){return this.entities.has(t)?!this.entities.get(t)?.alias&&e&&(this.entities.get(t).alias=e,o.R.info(`Add alias '${e}' to entity '${t}'`)):(this.entities.set(t,{id:`entity-${t}-${this.entities.size}`,label:t,attributes:[],alias:e,shape:"erBox",look:(0,c.D7)().look??"default",cssClasses:"default",cssStyles:[],labelType:"markdown"}),o.R.info("Added new entity :",t)),this.entities.get(t)}getEntity(t){return this.entities.get(t)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(t,e){let i,s=this.addEntity(t);for(i=e.length-1;i>=0;i--)e[i].keys||(e[i].keys=[]),e[i].comment||(e[i].comment=""),s.attributes.push(e[i]),o.R.debug("Added attribute ",e[i].name)}addRelationship(t,e,i,s){let n=this.entities.get(t),r=this.entities.get(i);if(!n||!r)return;let a={entityA:n.id,roleA:e,entityB:r.id,relSpec:s};this.relationships.push(a),o.R.debug("Added new relationship :",a)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(t){this.direction=t}getCompiledStyles(t){let e=[];for(let i of t){let t=this.classes.get(i);t?.styles&&(e=[...e,...t.styles??[]].map(t=>t.trim())),t?.textStyles&&(e=[...e,...t.textStyles??[]].map(t=>t.trim()))}return e}addCssStyles(t,e){for(let i of t){let t=this.entities.get(i);if(!e||!t)return;for(let i of e)t.cssStyles.push(i)}}addClass(t,e){t.forEach(t=>{let i=this.classes.get(t);void 0===i&&(i={id:t,styles:[],textStyles:[]},this.classes.set(t,i)),e&&e.forEach(function(t){if(/color/.exec(t)){let e=t.replace("fill","bgFill");i.textStyles.push(e)}i.styles.push(t)})})}setClass(t,e){for(let i of t){let t=this.entities.get(i);if(t)for(let i of e)t.cssClasses+=" "+i}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],(0,c.IU)()}getData(){let t=[],e=[],i=(0,c.D7)(),s=0;for(let e of this.entities.keys()){let i=this.entities.get(e);i&&(i.cssCompiledStyles=this.getCompiledStyles(i.cssClasses.split(" ")),i.colorIndex=s++,t.push(i))}let n=0;for(let t of this.relationships){let s={id:(0,a.rY)(t.entityA,t.entityB,{prefix:"id",counter:n++}),type:"normal",curve:"basis",start:t.entityA,end:t.entityB,label:t.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:t.relSpec.cardB.toLowerCase(),arrowTypeEnd:t.relSpec.cardA.toLowerCase(),pattern:"IDENTIFYING"==t.relSpec.relType?"solid":"dashed",look:i.look,labelType:"markdown"};e.push(s)}return{nodes:t,edges:e,other:{},config:i,direction:"TB"}}},_={};(0,l.V)(_,{draw:()=>g});var g=(0,l.K)(async function(t,e,i,l){o.R.info("REF0:"),o.R.info("Drawing er diagram (unified)",e);let{securityLevel:u,er:d,layout:y}=(0,c.D7)(),p=l.db.getData(),_=(0,s.A)(e,u);p.type=l.type,p.layoutAlgorithm=(0,r.q7)(y),p.config.flowchart.nodeSpacing=d?.nodeSpacing||140,p.config.flowchart.rankSpacing=d?.rankSpacing||80,p.direction=l.db.getDirection();let{config:g}=p,{look:b}=g;"neo"===b?p.markers=["only_one_neo","zero_or_one_neo","one_or_more_neo","zero_or_more_neo"]:p.markers=["only_one","zero_or_one","one_or_more","zero_or_more"],p.diagramId=e,await (0,r.XX)(p,_),"elk"===p.layoutAlgorithm&&_.select(".edges").lower();let f=_.selectAll('[id*="-background"]');Array.from(f).length>0&&f.each(function(){let t=(0,h.Ltv)(this),e=t.attr("id").replace("-background",""),i=_.select(`#${CSS.escape(e)}`);if(!i.empty()){let e=i.attr("transform");t.attr("transform",e)}}),a._K.insertTitle(_,"erDiagramTitleText",d?.titleTopMargin??25,l.db.getDiagramTitle()),(0,n.P)(_,8,"erDiagram",d?.useMaxWidth??!0)},"draw"),b=(0,l.K)((t,e)=>{let i=u.A,s=i(t,"r"),n=i(t,"g"),r=i(t,"b");return d.A(s,n,r,e)},"fade"),f=new Set(["redux-color","redux-dark-color"]),m=(0,l.K)(t=>{let{theme:e,look:i,bkgColorArray:s,borderColorArray:n}=t;if(!f.has(e))return"";let r=s?.length>0,a="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)a+=`
2
+
3
+ [data-look="${i}"][data-color-id="color-${e}"].node path {
4
+ stroke: ${n[e]};
5
+ ${r?`fill: ${s[e]};`:""}
6
+ }
7
+
8
+ [data-look="${i}"][data-color-id="color-${e}"].node rect {
9
+ stroke: ${n[e]};
10
+ ${r?`fill: ${s[e]};`:""}
11
+ }
12
+ `;return a},"genColor"),E={parser:y,get db(){return new p},renderer:_,styles:(0,l.K)(t=>{let{look:e,theme:i,erEdgeLabelBackground:s,strokeWidth:n}=t;return`
13
+ ${m(t)}
14
+ .entityBox {
15
+ fill: ${t.mainBkg};
16
+ stroke: ${t.nodeBorder};
17
+ }
18
+
19
+ .relationshipLabelBox {
20
+ fill: ${t.tertiaryColor};
21
+ opacity: 0.7;
22
+ background-color: ${t.tertiaryColor};
23
+ rect {
24
+ opacity: 0.5;
25
+ }
26
+ }
27
+
28
+ .labelBkg {
29
+ background-color: ${f.has(i)&&s?s:b(t.tertiaryColor,.5)};
30
+ }
31
+
32
+ .edgeLabel {
33
+ background-color: ${f.has(i)&&s?s:t.edgeLabelBackground};
34
+ }
35
+ .edgeLabel .label rect {
36
+ fill: ${f.has(i)&&s?s:t.edgeLabelBackground};
37
+ }
38
+ .edgeLabel .label text {
39
+ fill: ${t.textColor};
40
+ }
41
+
42
+ .edgeLabel .label {
43
+ fill: ${t.nodeBorder};
44
+ font-size: 14px;
45
+ }
46
+
47
+ .label {
48
+ font-family: ${t.fontFamily};
49
+ color: ${t.nodeTextColor||t.textColor};
50
+ }
51
+
52
+ .edge-pattern-dashed {
53
+ stroke-dasharray: 8,8;
54
+ }
55
+
56
+ .node rect,
57
+ .node circle,
58
+ .node ellipse,
59
+ .node polygon
60
+ {
61
+ fill: ${t.mainBkg};
62
+ stroke: ${t.nodeBorder};
63
+ stroke-width: ${"neo"===e?n:"1px"};
64
+ }
65
+
66
+ .relationshipLine {
67
+ stroke: ${t.lineColor};
68
+ stroke-width: ${"neo"===e?n:"1px"};
69
+ fill: none;
70
+ }
71
+
72
+ .marker {
73
+ fill: none !important;
74
+ stroke: ${t.lineColor} !important;
75
+ stroke-width: 1;
76
+ }
77
+ [data-look=neo].labelBkg {
78
+ background-color: ${b(t.tertiaryColor,.5)};
79
+ }
80
+ `},"getStyles")}},72555:(t,e,i)=>{i.d(e,{A:()=>r});var s=i(42112),n=i(52326);let r=(t,e)=>s.A.lang.round(n.A.parse(t)[e])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4424],{74424:(e,s,c)=>{c.d(s,{createPieServices:()=>a.f});var a=c(67243);c(11176)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4866],{94866:(e,c,r)=>{r.d(c,{createArchitectureServices:()=>s.S});var s=r(74797);r(11176)}}]);