pi-app 0.7.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 (484) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-path-routes-manifest.json +55 -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 +114 -0
  12. package/.next/react-loadable-manifest.json +2271 -0
  13. package/.next/required-server-files.js +347 -0
  14. package/.next/required-server-files.json +347 -0
  15. package/.next/routes-manifest.json +394 -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 +4 -0
  40. package/.next/server/app/api/agent/[id]/events/route.js +3 -0
  41. package/.next/server/app/api/agent/[id]/events/route.js.nft.json +1 -0
  42. package/.next/server/app/api/agent/[id]/events/route_client-reference-manifest.js +1 -0
  43. package/.next/server/app/api/agent/[id]/export.html/route.js +1 -0
  44. package/.next/server/app/api/agent/[id]/export.html/route.js.nft.json +1 -0
  45. package/.next/server/app/api/agent/[id]/export.html/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/auth/all-providers/route.js +1 -0
  53. package/.next/server/app/api/auth/all-providers/route.js.nft.json +1 -0
  54. package/.next/server/app/api/auth/all-providers/route_client-reference-manifest.js +1 -0
  55. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -0
  56. package/.next/server/app/api/auth/api-key/[provider]/route.js.nft.json +1 -0
  57. package/.next/server/app/api/auth/api-key/[provider]/route_client-reference-manifest.js +1 -0
  58. package/.next/server/app/api/auth/login/[provider]/route.js +3 -0
  59. package/.next/server/app/api/auth/login/[provider]/route.js.nft.json +1 -0
  60. package/.next/server/app/api/auth/login/[provider]/route_client-reference-manifest.js +1 -0
  61. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -0
  62. package/.next/server/app/api/auth/logout/[provider]/route.js.nft.json +1 -0
  63. package/.next/server/app/api/auth/logout/[provider]/route_client-reference-manifest.js +1 -0
  64. package/.next/server/app/api/auth/providers/route.js +1 -0
  65. package/.next/server/app/api/auth/providers/route.js.nft.json +1 -0
  66. package/.next/server/app/api/auth/providers/route_client-reference-manifest.js +1 -0
  67. package/.next/server/app/api/cwd/validate/route.js +1 -0
  68. package/.next/server/app/api/cwd/validate/route.js.nft.json +1 -0
  69. package/.next/server/app/api/cwd/validate/route_client-reference-manifest.js +1 -0
  70. package/.next/server/app/api/default-cwd/route.js +1 -0
  71. package/.next/server/app/api/default-cwd/route.js.nft.json +1 -0
  72. package/.next/server/app/api/default-cwd/route_client-reference-manifest.js +1 -0
  73. package/.next/server/app/api/extensions/route.js +2 -0
  74. package/.next/server/app/api/extensions/route.js.nft.json +1 -0
  75. package/.next/server/app/api/extensions/route_client-reference-manifest.js +1 -0
  76. package/.next/server/app/api/files/[...path]/route.js +50 -0
  77. package/.next/server/app/api/files/[...path]/route.js.nft.json +1 -0
  78. package/.next/server/app/api/files/[...path]/route_client-reference-manifest.js +1 -0
  79. package/.next/server/app/api/files/stage/route.js +1 -0
  80. package/.next/server/app/api/files/stage/route.js.nft.json +1 -0
  81. package/.next/server/app/api/files/stage/route_client-reference-manifest.js +1 -0
  82. package/.next/server/app/api/git-branch/route.js +1 -0
  83. package/.next/server/app/api/git-branch/route.js.nft.json +1 -0
  84. package/.next/server/app/api/git-branch/route_client-reference-manifest.js +1 -0
  85. package/.next/server/app/api/health/route.js +1 -0
  86. package/.next/server/app/api/health/route.js.nft.json +1 -0
  87. package/.next/server/app/api/health/route_client-reference-manifest.js +1 -0
  88. package/.next/server/app/api/history/[id]/route.js +2 -0
  89. package/.next/server/app/api/history/[id]/route.js.nft.json +1 -0
  90. package/.next/server/app/api/history/[id]/route_client-reference-manifest.js +1 -0
  91. package/.next/server/app/api/history/route.js +2 -0
  92. package/.next/server/app/api/history/route.js.nft.json +1 -0
  93. package/.next/server/app/api/history/route_client-reference-manifest.js +1 -0
  94. package/.next/server/app/api/home/route.js +1 -0
  95. package/.next/server/app/api/home/route.js.nft.json +1 -0
  96. package/.next/server/app/api/home/route_client-reference-manifest.js +1 -0
  97. package/.next/server/app/api/models/route.js +1 -0
  98. package/.next/server/app/api/models/route.js.nft.json +1 -0
  99. package/.next/server/app/api/models/route_client-reference-manifest.js +1 -0
  100. package/.next/server/app/api/models-config/route.js +1 -0
  101. package/.next/server/app/api/models-config/route.js.nft.json +1 -0
  102. package/.next/server/app/api/models-config/route_client-reference-manifest.js +1 -0
  103. package/.next/server/app/api/models-config/test/route.js +1 -0
  104. package/.next/server/app/api/models-config/test/route.js.nft.json +1 -0
  105. package/.next/server/app/api/models-config/test/route_client-reference-manifest.js +1 -0
  106. package/.next/server/app/api/notifications/agent-end/route.js +3 -0
  107. package/.next/server/app/api/notifications/agent-end/route.js.nft.json +1 -0
  108. package/.next/server/app/api/notifications/agent-end/route_client-reference-manifest.js +1 -0
  109. package/.next/server/app/api/preferences/route.js +2 -0
  110. package/.next/server/app/api/preferences/route.js.nft.json +1 -0
  111. package/.next/server/app/api/preferences/route_client-reference-manifest.js +1 -0
  112. package/.next/server/app/api/product-sessions/[id]/route.js +3 -0
  113. package/.next/server/app/api/product-sessions/[id]/route.js.nft.json +1 -0
  114. package/.next/server/app/api/product-sessions/[id]/route_client-reference-manifest.js +1 -0
  115. package/.next/server/app/api/push/route.js +2 -0
  116. package/.next/server/app/api/push/route.js.nft.json +1 -0
  117. package/.next/server/app/api/push/route_client-reference-manifest.js +1 -0
  118. package/.next/server/app/api/remote/audit/route.js +1 -0
  119. package/.next/server/app/api/remote/audit/route.js.nft.json +1 -0
  120. package/.next/server/app/api/remote/audit/route_client-reference-manifest.js +1 -0
  121. package/.next/server/app/api/remote/client/route.js +1 -0
  122. package/.next/server/app/api/remote/client/route.js.nft.json +1 -0
  123. package/.next/server/app/api/remote/client/route_client-reference-manifest.js +1 -0
  124. package/.next/server/app/api/remote/pair/route.js +1 -0
  125. package/.next/server/app/api/remote/pair/route.js.nft.json +1 -0
  126. package/.next/server/app/api/remote/pair/route_client-reference-manifest.js +1 -0
  127. package/.next/server/app/api/remote/route.js +1 -0
  128. package/.next/server/app/api/remote/route.js.nft.json +1 -0
  129. package/.next/server/app/api/remote/route_client-reference-manifest.js +1 -0
  130. package/.next/server/app/api/scene-overrides/[sceneId]/route.js +3 -0
  131. package/.next/server/app/api/scene-overrides/[sceneId]/route.js.nft.json +1 -0
  132. package/.next/server/app/api/scene-overrides/[sceneId]/route_client-reference-manifest.js +1 -0
  133. package/.next/server/app/api/scene-overrides/export/route.js +4 -0
  134. package/.next/server/app/api/scene-overrides/export/route.js.nft.json +1 -0
  135. package/.next/server/app/api/scene-overrides/export/route_client-reference-manifest.js +1 -0
  136. package/.next/server/app/api/scene-overrides/import/route.js +3 -0
  137. package/.next/server/app/api/scene-overrides/import/route.js.nft.json +1 -0
  138. package/.next/server/app/api/scene-overrides/import/route_client-reference-manifest.js +1 -0
  139. package/.next/server/app/api/scene-overrides/route.js +3 -0
  140. package/.next/server/app/api/scene-overrides/route.js.nft.json +1 -0
  141. package/.next/server/app/api/scene-overrides/route_client-reference-manifest.js +1 -0
  142. package/.next/server/app/api/sessions/[id]/context/route.js +2 -0
  143. package/.next/server/app/api/sessions/[id]/context/route.js.nft.json +1 -0
  144. package/.next/server/app/api/sessions/[id]/context/route_client-reference-manifest.js +1 -0
  145. package/.next/server/app/api/sessions/[id]/route.js +1 -0
  146. package/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -0
  147. package/.next/server/app/api/sessions/[id]/route_client-reference-manifest.js +1 -0
  148. package/.next/server/app/api/sessions/[id]/share/route.js +1 -0
  149. package/.next/server/app/api/sessions/[id]/share/route.js.nft.json +1 -0
  150. package/.next/server/app/api/sessions/[id]/share/route_client-reference-manifest.js +1 -0
  151. package/.next/server/app/api/sessions/new/route.js +1 -0
  152. package/.next/server/app/api/sessions/new/route.js.nft.json +1 -0
  153. package/.next/server/app/api/sessions/new/route_client-reference-manifest.js +1 -0
  154. package/.next/server/app/api/sessions/route.js +2 -0
  155. package/.next/server/app/api/sessions/route.js.nft.json +1 -0
  156. package/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -0
  157. package/.next/server/app/api/settings/default-model/route.js +1 -0
  158. package/.next/server/app/api/settings/default-model/route.js.nft.json +1 -0
  159. package/.next/server/app/api/settings/default-model/route_client-reference-manifest.js +1 -0
  160. package/.next/server/app/api/share/[token]/route.js +2 -0
  161. package/.next/server/app/api/share/[token]/route.js.nft.json +1 -0
  162. package/.next/server/app/api/share/[token]/route_client-reference-manifest.js +1 -0
  163. package/.next/server/app/api/skills/install/route.js +1 -0
  164. package/.next/server/app/api/skills/install/route.js.nft.json +1 -0
  165. package/.next/server/app/api/skills/install/route_client-reference-manifest.js +1 -0
  166. package/.next/server/app/api/skills/route.js +6 -0
  167. package/.next/server/app/api/skills/route.js.nft.json +1 -0
  168. package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -0
  169. package/.next/server/app/api/skills/search/route.js +1 -0
  170. package/.next/server/app/api/skills/search/route.js.nft.json +1 -0
  171. package/.next/server/app/api/skills/search/route_client-reference-manifest.js +1 -0
  172. package/.next/server/app/api/usage/route.js +2 -0
  173. package/.next/server/app/api/usage/route.js.nft.json +1 -0
  174. package/.next/server/app/api/usage/route_client-reference-manifest.js +1 -0
  175. package/.next/server/app/api/web-fetch/install-agent-browser/route.js +3 -0
  176. package/.next/server/app/api/web-fetch/install-agent-browser/route.js.nft.json +1 -0
  177. package/.next/server/app/api/web-fetch/install-agent-browser/route_client-reference-manifest.js +1 -0
  178. package/.next/server/app/api/web-fetch/preferences/route.js +1 -0
  179. package/.next/server/app/api/web-fetch/preferences/route.js.nft.json +1 -0
  180. package/.next/server/app/api/web-fetch/preferences/route_client-reference-manifest.js +1 -0
  181. package/.next/server/app/api/web-fetch/status/route.js +1 -0
  182. package/.next/server/app/api/web-fetch/status/route.js.nft.json +1 -0
  183. package/.next/server/app/api/web-fetch/status/route_client-reference-manifest.js +1 -0
  184. package/.next/server/app/favicon.ico/route.js +1 -0
  185. package/.next/server/app/favicon.ico/route.js.nft.json +1 -0
  186. package/.next/server/app/favicon.ico.body +0 -0
  187. package/.next/server/app/favicon.ico.meta +1 -0
  188. package/.next/server/app/index.html +1 -0
  189. package/.next/server/app/index.meta +14 -0
  190. package/.next/server/app/index.rsc +18 -0
  191. package/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -0
  192. package/.next/server/app/index.segments/_full.segment.rsc +18 -0
  193. package/.next/server/app/index.segments/_head.segment.rsc +6 -0
  194. package/.next/server/app/index.segments/_index.segment.rsc +6 -0
  195. package/.next/server/app/index.segments/_tree.segment.rsc +4 -0
  196. package/.next/server/app/page.js +5 -0
  197. package/.next/server/app/page.js.nft.json +1 -0
  198. package/.next/server/app/page_client-reference-manifest.js +1 -0
  199. package/.next/server/app/share/[token]/page.js +2 -0
  200. package/.next/server/app/share/[token]/page.js.nft.json +1 -0
  201. package/.next/server/app/share/[token]/page_client-reference-manifest.js +1 -0
  202. package/.next/server/app-paths-manifest.json +55 -0
  203. package/.next/server/chunks/1048.js +1 -0
  204. package/.next/server/chunks/1185.js +3 -0
  205. package/.next/server/chunks/1367.js +77 -0
  206. package/.next/server/chunks/1381.js +1 -0
  207. package/.next/server/chunks/165.js +1 -0
  208. package/.next/server/chunks/1681.js +215 -0
  209. package/.next/server/chunks/1703.js +79 -0
  210. package/.next/server/chunks/1712.js +43 -0
  211. package/.next/server/chunks/1813.js +1 -0
  212. package/.next/server/chunks/2325.js +80 -0
  213. package/.next/server/chunks/258.js +1 -0
  214. package/.next/server/chunks/2671.js +287 -0
  215. package/.next/server/chunks/2778.js +1 -0
  216. package/.next/server/chunks/2943.js +1 -0
  217. package/.next/server/chunks/3031.js +226 -0
  218. package/.next/server/chunks/3181.js +1 -0
  219. package/.next/server/chunks/319.js +45 -0
  220. package/.next/server/chunks/3379.js +1 -0
  221. package/.next/server/chunks/3451.js +1 -0
  222. package/.next/server/chunks/349.js +4 -0
  223. package/.next/server/chunks/3493.js +1 -0
  224. package/.next/server/chunks/3672.js +1 -0
  225. package/.next/server/chunks/3701.js +104 -0
  226. package/.next/server/chunks/4035.js +80 -0
  227. package/.next/server/chunks/4248.js +153 -0
  228. package/.next/server/chunks/4325.js +90 -0
  229. package/.next/server/chunks/4367.js +1 -0
  230. package/.next/server/chunks/4406.js +141 -0
  231. package/.next/server/chunks/459.js +2 -0
  232. package/.next/server/chunks/4741.js +18 -0
  233. package/.next/server/chunks/4858.js +148 -0
  234. package/.next/server/chunks/4880.js +1 -0
  235. package/.next/server/chunks/4980.js +1 -0
  236. package/.next/server/chunks/5155.js +5 -0
  237. package/.next/server/chunks/5293.js +166 -0
  238. package/.next/server/chunks/5409.js +1 -0
  239. package/.next/server/chunks/5797.js +93 -0
  240. package/.next/server/chunks/5851.js +36 -0
  241. package/.next/server/chunks/6206.js +1 -0
  242. package/.next/server/chunks/6296.js +1 -0
  243. package/.next/server/chunks/6346.js +1 -0
  244. package/.next/server/chunks/6406.js +23 -0
  245. package/.next/server/chunks/642.js +1 -0
  246. package/.next/server/chunks/6429.js +2 -0
  247. package/.next/server/chunks/6729.js +64 -0
  248. package/.next/server/chunks/6907.js +115 -0
  249. package/.next/server/chunks/6980.js +1 -0
  250. package/.next/server/chunks/7073.js +24 -0
  251. package/.next/server/chunks/7233.js +24 -0
  252. package/.next/server/chunks/7270.js +2 -0
  253. package/.next/server/chunks/7307.js +1 -0
  254. package/.next/server/chunks/7362.js +9 -0
  255. package/.next/server/chunks/7567.js +29 -0
  256. package/.next/server/chunks/8238.js +34 -0
  257. package/.next/server/chunks/8276.js +1 -0
  258. package/.next/server/chunks/8336.js +1 -0
  259. package/.next/server/chunks/8342.js +4 -0
  260. package/.next/server/chunks/8433.js +1 -0
  261. package/.next/server/chunks/8490.js +1 -0
  262. package/.next/server/chunks/8916.js +1 -0
  263. package/.next/server/chunks/9280.js +252 -0
  264. package/.next/server/chunks/9315.js +1 -0
  265. package/.next/server/chunks/966.js +1 -0
  266. package/.next/server/edge-instrumentation.js +2 -0
  267. package/.next/server/edge-runtime-webpack.js +2 -0
  268. package/.next/server/functions-config-manifest.json +8 -0
  269. package/.next/server/instrumentation.js +1 -0
  270. package/.next/server/instrumentation.js.nft.json +1 -0
  271. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  272. package/.next/server/middleware-build-manifest.js +1 -0
  273. package/.next/server/middleware-manifest.json +34 -0
  274. package/.next/server/middleware-react-loadable-manifest.js +1 -0
  275. package/.next/server/middleware.js +10 -0
  276. package/.next/server/next-font-manifest.js +1 -0
  277. package/.next/server/next-font-manifest.json +1 -0
  278. package/.next/server/pages/404.html +1 -0
  279. package/.next/server/pages/500.html +1 -0
  280. package/.next/server/pages-manifest.json +4 -0
  281. package/.next/server/prefetch-hints.json +1 -0
  282. package/.next/server/server-reference-manifest.js +1 -0
  283. package/.next/server/server-reference-manifest.json +1 -0
  284. package/.next/server/webpack-runtime.js +1 -0
  285. package/.next/static/chunks/0b9a0da7.915b07ceecd18755.js +62 -0
  286. package/.next/static/chunks/1413.922d232de90c0c41.js +115 -0
  287. package/.next/static/chunks/1643.467a526a1f24f54d.js +24 -0
  288. package/.next/static/chunks/1852.4afb7f7ef17737c1.js +1 -0
  289. package/.next/static/chunks/1960.b1e26436d7a5f586.js +1 -0
  290. package/.next/static/chunks/2241-3268f463e00f6e38.js +1 -0
  291. package/.next/static/chunks/2261-cd89471c199745e2.js +4 -0
  292. package/.next/static/chunks/2419.fb50b8bb1874d556.js +166 -0
  293. package/.next/static/chunks/2619.9aac8983f30c7c8a.js +1 -0
  294. package/.next/static/chunks/2623.d20fabd8e18197c6.js +287 -0
  295. package/.next/static/chunks/2729.f5365061a849d659.js +34 -0
  296. package/.next/static/chunks/2821.934bcf60fbdc28c6.js +1 -0
  297. package/.next/static/chunks/2918becc.abff2ece1de37bc1.js +153 -0
  298. package/.next/static/chunks/2947.114e51cb06d1c01a.js +23 -0
  299. package/.next/static/chunks/3079.90c6008a4bba4ee1.js +79 -0
  300. package/.next/static/chunks/3274.208ca44844cd7d95.js +148 -0
  301. package/.next/static/chunks/3308.115707ee3fd446be.js +73 -0
  302. package/.next/static/chunks/3325.01cdecedf0fb6d62.js +80 -0
  303. package/.next/static/chunks/3794-ba2500baa4c52d55.js +32 -0
  304. package/.next/static/chunks/3837.a755ccfe6f9c1c1c.js +5 -0
  305. package/.next/static/chunks/394.2860c5a408dc8801.js +1 -0
  306. package/.next/static/chunks/3997.42e942ad02cc6f4b.js +1 -0
  307. package/.next/static/chunks/4491.44fdf20580ac72bd.js +24 -0
  308. package/.next/static/chunks/4829.cf1d50e43e6d9db5.js +1 -0
  309. package/.next/static/chunks/498.fe1d9da9ecad6c36.js +1 -0
  310. package/.next/static/chunks/4bd1b696-e356ca5ba0218e27.js +1 -0
  311. package/.next/static/chunks/5019.b5a1a2b8daf17525.js +1 -0
  312. package/.next/static/chunks/5034.cbaaf32db6d2086d.js +1 -0
  313. package/.next/static/chunks/5035.3755dbc45ec0eb8d.js +90 -0
  314. package/.next/static/chunks/5074.fc63ed48a3b1a61f.js +1 -0
  315. package/.next/static/chunks/5118-c59568935da468da.js +1 -0
  316. package/.next/static/chunks/532.5956ed631aff722b.js +9 -0
  317. package/.next/static/chunks/5326.69460442bdcd6cd3.js +1 -0
  318. package/.next/static/chunks/5403.ff110bf5bf600758.js +64 -0
  319. package/.next/static/chunks/547.902a733488cfe3f7.js +77 -0
  320. package/.next/static/chunks/5567.540d7fc108ad6ee5.js +215 -0
  321. package/.next/static/chunks/5590.ef62922166d308b4.js +1 -0
  322. package/.next/static/chunks/5690.9d6eb1edb1399995.js +1 -0
  323. package/.next/static/chunks/5749.25faee4a1e55b854.js +226 -0
  324. package/.next/static/chunks/58bb9007.1ccb6bba34b4c635.js +80 -0
  325. package/.next/static/chunks/6121.f3f43f1896ea0cd9.js +1 -0
  326. package/.next/static/chunks/634-ca908c8d0258d9db.js +3 -0
  327. package/.next/static/chunks/6600.583c88eef37aa524.js +1 -0
  328. package/.next/static/chunks/6696.c05e02f280b8186b.js +141 -0
  329. package/.next/static/chunks/6922.42148793782d2fe7.js +1 -0
  330. package/.next/static/chunks/7006.e191611ffc2b9528.js +43 -0
  331. package/.next/static/chunks/7343.9574ac32b87d5050.js +1 -0
  332. package/.next/static/chunks/73972abe.25a4cffa03b2bcef.js +119 -0
  333. package/.next/static/chunks/7547.8caf31f3b18ded65.js +93 -0
  334. package/.next/static/chunks/7648.4ae2f183b4db0353.js +1 -0
  335. package/.next/static/chunks/7874.8db6929b94cdf697.js +1 -0
  336. package/.next/static/chunks/7959.1f20a35df316216a.js +104 -0
  337. package/.next/static/chunks/83.85d62d7fc9850b75.js +29 -0
  338. package/.next/static/chunks/8489.fd81b5e4de9f8431.js +36 -0
  339. package/.next/static/chunks/8568.f85d8b36fc9a9037.js +1 -0
  340. package/.next/static/chunks/8863.be51033a67436277.js +1 -0
  341. package/.next/static/chunks/90542734.ecc36ada79772529.js +1 -0
  342. package/.next/static/chunks/9500.1488aec06ee78127.js +1 -0
  343. package/.next/static/chunks/9633.155548b5fca6e580.js +1 -0
  344. package/.next/static/chunks/9779.673004a62d70e36a.js +1 -0
  345. package/.next/static/chunks/9b0008ae.3afefd8b13735168.js +2 -0
  346. package/.next/static/chunks/app/_global-error/page-6ba03eac42f3d2bb.js +1 -0
  347. package/.next/static/chunks/app/_not-found/page-647d65d4d44f4663.js +1 -0
  348. package/.next/static/chunks/app/api/agent/[id]/events/route-6ba03eac42f3d2bb.js +1 -0
  349. package/.next/static/chunks/app/api/agent/[id]/export.html/route-6ba03eac42f3d2bb.js +1 -0
  350. package/.next/static/chunks/app/api/agent/[id]/route-6ba03eac42f3d2bb.js +1 -0
  351. package/.next/static/chunks/app/api/agent/new/route-6ba03eac42f3d2bb.js +1 -0
  352. package/.next/static/chunks/app/api/auth/all-providers/route-6ba03eac42f3d2bb.js +1 -0
  353. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-6ba03eac42f3d2bb.js +1 -0
  354. package/.next/static/chunks/app/api/auth/login/[provider]/route-6ba03eac42f3d2bb.js +1 -0
  355. package/.next/static/chunks/app/api/auth/logout/[provider]/route-6ba03eac42f3d2bb.js +1 -0
  356. package/.next/static/chunks/app/api/auth/providers/route-6ba03eac42f3d2bb.js +1 -0
  357. package/.next/static/chunks/app/api/cwd/validate/route-6ba03eac42f3d2bb.js +1 -0
  358. package/.next/static/chunks/app/api/default-cwd/route-6ba03eac42f3d2bb.js +1 -0
  359. package/.next/static/chunks/app/api/extensions/route-6ba03eac42f3d2bb.js +1 -0
  360. package/.next/static/chunks/app/api/files/[...path]/route-6ba03eac42f3d2bb.js +1 -0
  361. package/.next/static/chunks/app/api/files/stage/route-6ba03eac42f3d2bb.js +1 -0
  362. package/.next/static/chunks/app/api/git-branch/route-6ba03eac42f3d2bb.js +1 -0
  363. package/.next/static/chunks/app/api/health/route-6ba03eac42f3d2bb.js +1 -0
  364. package/.next/static/chunks/app/api/history/[id]/route-6ba03eac42f3d2bb.js +1 -0
  365. package/.next/static/chunks/app/api/history/route-6ba03eac42f3d2bb.js +1 -0
  366. package/.next/static/chunks/app/api/home/route-6ba03eac42f3d2bb.js +1 -0
  367. package/.next/static/chunks/app/api/models/route-6ba03eac42f3d2bb.js +1 -0
  368. package/.next/static/chunks/app/api/models-config/route-6ba03eac42f3d2bb.js +1 -0
  369. package/.next/static/chunks/app/api/models-config/test/route-6ba03eac42f3d2bb.js +1 -0
  370. package/.next/static/chunks/app/api/notifications/agent-end/route-6ba03eac42f3d2bb.js +1 -0
  371. package/.next/static/chunks/app/api/preferences/route-6ba03eac42f3d2bb.js +1 -0
  372. package/.next/static/chunks/app/api/product-sessions/[id]/route-6ba03eac42f3d2bb.js +1 -0
  373. package/.next/static/chunks/app/api/push/route-6ba03eac42f3d2bb.js +1 -0
  374. package/.next/static/chunks/app/api/remote/audit/route-6ba03eac42f3d2bb.js +1 -0
  375. package/.next/static/chunks/app/api/remote/client/route-6ba03eac42f3d2bb.js +1 -0
  376. package/.next/static/chunks/app/api/remote/pair/route-6ba03eac42f3d2bb.js +1 -0
  377. package/.next/static/chunks/app/api/remote/route-6ba03eac42f3d2bb.js +1 -0
  378. package/.next/static/chunks/app/api/scene-overrides/[sceneId]/route-6ba03eac42f3d2bb.js +1 -0
  379. package/.next/static/chunks/app/api/scene-overrides/export/route-6ba03eac42f3d2bb.js +1 -0
  380. package/.next/static/chunks/app/api/scene-overrides/import/route-6ba03eac42f3d2bb.js +1 -0
  381. package/.next/static/chunks/app/api/scene-overrides/route-6ba03eac42f3d2bb.js +1 -0
  382. package/.next/static/chunks/app/api/sessions/[id]/context/route-6ba03eac42f3d2bb.js +1 -0
  383. package/.next/static/chunks/app/api/sessions/[id]/route-6ba03eac42f3d2bb.js +1 -0
  384. package/.next/static/chunks/app/api/sessions/[id]/share/route-6ba03eac42f3d2bb.js +1 -0
  385. package/.next/static/chunks/app/api/sessions/new/route-6ba03eac42f3d2bb.js +1 -0
  386. package/.next/static/chunks/app/api/sessions/route-6ba03eac42f3d2bb.js +1 -0
  387. package/.next/static/chunks/app/api/settings/default-model/route-6ba03eac42f3d2bb.js +1 -0
  388. package/.next/static/chunks/app/api/share/[token]/route-6ba03eac42f3d2bb.js +1 -0
  389. package/.next/static/chunks/app/api/skills/install/route-6ba03eac42f3d2bb.js +1 -0
  390. package/.next/static/chunks/app/api/skills/route-6ba03eac42f3d2bb.js +1 -0
  391. package/.next/static/chunks/app/api/skills/search/route-6ba03eac42f3d2bb.js +1 -0
  392. package/.next/static/chunks/app/api/usage/route-6ba03eac42f3d2bb.js +1 -0
  393. package/.next/static/chunks/app/api/web-fetch/install-agent-browser/route-6ba03eac42f3d2bb.js +1 -0
  394. package/.next/static/chunks/app/api/web-fetch/preferences/route-6ba03eac42f3d2bb.js +1 -0
  395. package/.next/static/chunks/app/api/web-fetch/status/route-6ba03eac42f3d2bb.js +1 -0
  396. package/.next/static/chunks/app/layout-e74bc51db18cfddb.js +1 -0
  397. package/.next/static/chunks/app/page-0a72cdb03c0de546.js +2 -0
  398. package/.next/static/chunks/app/share/[token]/page-801df8f03e50e9cc.js +1 -0
  399. package/.next/static/chunks/d3ac728e.7964f816a1ca64e5.js +1 -0
  400. package/.next/static/chunks/framework-594babcea68f40f6.js +1 -0
  401. package/.next/static/chunks/main-a301b80fa032f44e.js +5 -0
  402. package/.next/static/chunks/main-app-4543b2d36de0bf44.js +1 -0
  403. package/.next/static/chunks/next/dist/client/components/builtin/app-error-6ba03eac42f3d2bb.js +1 -0
  404. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-6ba03eac42f3d2bb.js +1 -0
  405. package/.next/static/chunks/next/dist/client/components/builtin/global-error-7fe17cf3265b4136.js +1 -0
  406. package/.next/static/chunks/next/dist/client/components/builtin/not-found-6ba03eac42f3d2bb.js +1 -0
  407. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-6ba03eac42f3d2bb.js +1 -0
  408. package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  409. package/.next/static/chunks/webpack-bef1f311e5b374f6.js +1 -0
  410. package/.next/static/css/889d8f95f57176c7.css +3 -0
  411. package/.next/static/mO8qg2XV3QxoVaZcobTyc/_buildManifest.js +1 -0
  412. package/.next/static/mO8qg2XV3QxoVaZcobTyc/_ssgManifest.js +1 -0
  413. package/.next/static/media/15605e25b523335c-s.woff2 +0 -0
  414. package/.next/static/media/1a3dce5cfb5f7760-s.woff2 +0 -0
  415. package/.next/static/media/1cdd02902f937a18-s.woff2 +0 -0
  416. package/.next/static/media/4c4b3b30b6bcb2be-s.woff2 +0 -0
  417. package/.next/static/media/641a7b8a5800ee0e-s.woff2 +0 -0
  418. package/.next/static/media/7deddc85b7ffd1dc-s.p.woff2 +0 -0
  419. package/.next/static/media/ec14413c594b3356-s.p.woff2 +0 -0
  420. package/.next/trace +6 -0
  421. package/.next/trace-build +1 -0
  422. package/.next/types/app/api/agent/[id]/events/route.ts +351 -0
  423. package/.next/types/app/api/agent/[id]/export.html/route.ts +351 -0
  424. package/.next/types/app/api/agent/[id]/route.ts +351 -0
  425. package/.next/types/app/api/agent/new/route.ts +351 -0
  426. package/.next/types/app/api/auth/all-providers/route.ts +351 -0
  427. package/.next/types/app/api/auth/api-key/[provider]/route.ts +351 -0
  428. package/.next/types/app/api/auth/login/[provider]/route.ts +351 -0
  429. package/.next/types/app/api/auth/logout/[provider]/route.ts +351 -0
  430. package/.next/types/app/api/auth/providers/route.ts +351 -0
  431. package/.next/types/app/api/cwd/validate/route.ts +351 -0
  432. package/.next/types/app/api/default-cwd/route.ts +351 -0
  433. package/.next/types/app/api/extensions/route.ts +351 -0
  434. package/.next/types/app/api/files/[...path]/route.ts +351 -0
  435. package/.next/types/app/api/files/stage/route.ts +351 -0
  436. package/.next/types/app/api/git-branch/route.ts +351 -0
  437. package/.next/types/app/api/health/route.ts +351 -0
  438. package/.next/types/app/api/history/[id]/route.ts +351 -0
  439. package/.next/types/app/api/history/route.ts +351 -0
  440. package/.next/types/app/api/home/route.ts +351 -0
  441. package/.next/types/app/api/models/route.ts +351 -0
  442. package/.next/types/app/api/models-config/route.ts +351 -0
  443. package/.next/types/app/api/models-config/test/route.ts +351 -0
  444. package/.next/types/app/api/notifications/agent-end/route.ts +351 -0
  445. package/.next/types/app/api/preferences/route.ts +351 -0
  446. package/.next/types/app/api/product-sessions/[id]/route.ts +351 -0
  447. package/.next/types/app/api/push/route.ts +351 -0
  448. package/.next/types/app/api/remote/audit/route.ts +351 -0
  449. package/.next/types/app/api/remote/client/route.ts +351 -0
  450. package/.next/types/app/api/remote/pair/route.ts +351 -0
  451. package/.next/types/app/api/remote/route.ts +351 -0
  452. package/.next/types/app/api/scene-overrides/[sceneId]/route.ts +351 -0
  453. package/.next/types/app/api/scene-overrides/export/route.ts +351 -0
  454. package/.next/types/app/api/scene-overrides/import/route.ts +351 -0
  455. package/.next/types/app/api/scene-overrides/route.ts +351 -0
  456. package/.next/types/app/api/sessions/[id]/context/route.ts +351 -0
  457. package/.next/types/app/api/sessions/[id]/route.ts +351 -0
  458. package/.next/types/app/api/sessions/[id]/share/route.ts +351 -0
  459. package/.next/types/app/api/sessions/new/route.ts +351 -0
  460. package/.next/types/app/api/sessions/route.ts +351 -0
  461. package/.next/types/app/api/settings/default-model/route.ts +351 -0
  462. package/.next/types/app/api/share/[token]/route.ts +351 -0
  463. package/.next/types/app/api/skills/install/route.ts +351 -0
  464. package/.next/types/app/api/skills/route.ts +351 -0
  465. package/.next/types/app/api/skills/search/route.ts +351 -0
  466. package/.next/types/app/api/usage/route.ts +351 -0
  467. package/.next/types/app/api/web-fetch/install-agent-browser/route.ts +351 -0
  468. package/.next/types/app/api/web-fetch/preferences/route.ts +351 -0
  469. package/.next/types/app/api/web-fetch/status/route.ts +351 -0
  470. package/.next/types/app/page.ts +87 -0
  471. package/.next/types/app/share/[token]/page.ts +87 -0
  472. package/.next/types/cache-life.d.ts +145 -0
  473. package/.next/types/package.json +1 -0
  474. package/.next/types/routes.d.ts +121 -0
  475. package/.next/types/validator.ts +511 -0
  476. package/LICENSE +21 -0
  477. package/README.md +142 -0
  478. package/bin/pi-app.js +113 -0
  479. package/next.config.ts +61 -0
  480. package/package.json +78 -0
  481. package/public/icon.svg +4 -0
  482. package/public/manifest.webmanifest +18 -0
  483. package/public/pdf.worker.min.mjs +21 -0
  484. package/public/sw.js +63 -0
@@ -0,0 +1,80 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3325],{23325:(t,e,i)=>{i.d(e,{diagram:()=>f});var s=i(66777),n=i(93789),r=i(3628);i(72475),i(85774),i(63886),i(38033),i(17541),i(27655);var a=i(32563),o=i(97096),c=i(32165),l=i(33948),h=i(72555),u=i(13222),d=function(){var t=(0,c.K2)(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],o=[1,24],l=[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],m=[1,22],f=[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,65,66,67,68,69],A=[1,45],N=[1,46],R=[1,55],I=[40,48,50,51,52,70,71],$=[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,65,66,67,68,69],K=[65,66,67,68,69],w=[1,84],M=[1,83],B=[1,81],F=[1,82],Y=[6,10,42,47],P=[6,10,13,41,42,47,48,49],z=[1,92],G=[1,91],U=[1,90],Z=[19,58],j=[1,101],W=[1,100],X=[19,58,60,62],V={trace:(0,c.K2)(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,attributeKeyType:59,",":60,ATTRIBUTE_KEY:61,COMMENT:62,cardinality:63,relType:64,ZERO_OR_ONE:65,ZERO_OR_MORE:66,ONE_OR_MORE:67,ONLY_ONE:68,MD_PARENT:69,NON_IDENTIFYING:70,IDENTIFYING:71,WORD:72,$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",60:",",61:"ATTRIBUTE_KEY",62:"COMMENT",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"},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],[55,1],[56,1],[56,3],[59,1],[57,1],[12,3],[63,1],[63,1],[63,1],[63,1],[63,1],[64,1],[64,1],[14,1],[14,1],[14,1]],performAction:(0,c.K2)(function(t,e,i,s,n,r,a){var o=r.length-1;switch(n){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:r[o-1].push(r[o]),this.$=r[o-1];break;case 4:case 5:case 55:case 56:case 57:case 58:case 81:case 65:case 66:case 69:this.$=r[o];break;case 8:s.addEntity(r[o-4]),s.addEntity(r[o-2]),s.addRelationship(r[o-4],r[o],r[o-2],r[o-3]);break;case 9:s.addEntity(r[o-8]),s.addEntity(r[o-4]),s.addRelationship(r[o-8],r[o],r[o-4],r[o-5]),s.setClass([r[o-8]],r[o-6]),s.setClass([r[o-4]],r[o-2]);break;case 10:s.addEntity(r[o-6]),s.addEntity(r[o-2]),s.addRelationship(r[o-6],r[o],r[o-2],r[o-3]),s.setClass([r[o-6]],r[o-4]);break;case 11:s.addEntity(r[o-6]),s.addEntity(r[o-4]),s.addRelationship(r[o-6],r[o],r[o-4],r[o-5]),s.setClass([r[o-4]],r[o-2]);break;case 12:s.addEntity(r[o-3]),s.addAttributes(r[o-3],r[o-1]);break;case 13:s.addEntity(r[o-5]),s.addAttributes(r[o-5],r[o-1]),s.setClass([r[o-5]],r[o-3]);break;case 14:s.addEntity(r[o-2]);break;case 15:s.addEntity(r[o-4]),s.setClass([r[o-4]],r[o-2]);break;case 16:s.addEntity(r[o]);break;case 17:s.addEntity(r[o-2]),s.setClass([r[o-2]],r[o]);break;case 18:s.addEntity(r[o-6],r[o-4]),s.addAttributes(r[o-6],r[o-1]);break;case 19:s.addEntity(r[o-8],r[o-6]),s.addAttributes(r[o-8],r[o-1]),s.setClass([r[o-8]],r[o-3]);break;case 20:s.addEntity(r[o-5],r[o-3]);break;case 21:s.addEntity(r[o-7],r[o-5]),s.setClass([r[o-7]],r[o-2]);break;case 22:s.addEntity(r[o-3],r[o-1]);break;case 23:s.addEntity(r[o-5],r[o-3]),s.setClass([r[o-5]],r[o]);break;case 24:case 25:this.$=r[o].trim(),s.setAccTitle(this.$);break;case 26:case 27:this.$=r[o].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[o-3],s.addClass(r[o-2],r[o-1]);break;case 37:case 38:case 59:case 67:case 43:this.$=[r[o]];break;case 39:case 40:this.$=r[o-2].concat([r[o]]);break;case 41:this.$=r[o-2],s.setClass(r[o-1],r[o]);break;case 42:this.$=r[o-3],s.addCssStyles(r[o-2],r[o-1]);break;case 44:case 68:r[o-2].push(r[o]),this.$=r[o-2];break;case 46:this.$=r[o-1]+r[o];break;case 54:case 79:case 80:case 70:this.$=r[o].replace(/"/g,"");break;case 60:r[o].push(r[o-1]),this.$=r[o];break;case 61:this.$={type:r[o-1],name:r[o]};break;case 62:this.$={type:r[o-2],name:r[o-1],keys:r[o]};break;case 63:this.$={type:r[o-2],name:r[o-1],comment:r[o]};break;case 64:this.$={type:r[o-3],name:r[o-2],keys:r[o-1],comment:r[o]};break;case 71:this.$={cardA:r[o],relType:r[o-1],cardB:r[o-2]};break;case 72:this.$=s.Cardinality.ZERO_OR_ONE;break;case 73:this.$=s.Cardinality.ZERO_OR_MORE;break;case 74:this.$=s.Cardinality.ONE_OR_MORE;break;case 75:this.$=s.Cardinality.ONLY_ONE;break;case 76:this.$=s.Cardinality.MD_PARENT;break;case 77:this.$=s.Identification.NON_IDENTIFYING;break;case 78: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:o,35:l,36:h,37:u,40:d,43:y,44:p,48:_,50:g,51:b,52:m},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:o,35:l,36:h,37:u,40:d,43:y,44:p,48:_,50:g,51:b,52:m},t(e,[2,5]),t(e,[2,6]),t(e,[2,16],{12:31,63:35,15:[1,32],17:[1,33],20:[1,34],65:f,66:E,67:k,68:T,69: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:A,41:N},{16:47,40:A,41:N},{16:48,40:A,41:N},t(e,[2,4]),{11:49,40:d,48:_,50:g,51:b,52:m},{16:50,40:A,41:N},{18:51,19:[1,52],53:53,54:54,58:R},{11:56,40:d,48:_,50:g,51:b,52:m},{64:57,70:[1,58],71:[1,59]},t(I,[2,72]),t(I,[2,73]),t(I,[2,74]),t(I,[2,75]),t(I,[2,76]),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:A,41:N,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],{63:35,12:72,17:[1,73],42:x,65:f,66:E,67:k,68:T,69: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]},{21:[1,78]},{63:79,65:f,66:E,67:k,68:T,69:O},t(K,[2,77]),t(K,[2,78]),{6:w,10:M,39:80,42:B,47:F},{40:[1,85],41:[1,86]},t(Y,[2,43],{46:87,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:88,42:B,47:F},{14:89,40:z,50:G,72:U},{16:93,40:A,41:N},{11:94,40:d,48:_,50:g,51:b,52:m},{18:95,19:[1,96],53:53,54:54,58:R},t(e,[2,12]),{19:[2,60]},t(Z,[2,61],{56:97,57:98,59:99,61:j,62:W}),t([19,58,61,62],[2,66]),t(e,[2,22],{15:[1,103],17:[1,102]}),t([40,48,50,51,52],[2,71]),t(e,[2,36]),{13:$,41:C,45:104,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,79]),t(e,[2,80]),t(e,[2,81]),{13:[1,105],42:x},{13:[1,107],15:[1,106]},{19:[1,108]},t(e,[2,15]),t(Z,[2,62],{57:109,60:[1,110],62:W}),t(Z,[2,63]),t(X,[2,67]),t(Z,[2,70]),t(X,[2,69]),{18:111,19:[1,112],53:53,54:54,58:R},{16:113,40:A,41:N},t(Y,[2,44],{46:87,13:$,41:C,48:D,49:v}),{14:114,40:z,50:G,72:U},{16:115,40:A,41:N},{14:116,40:z,50:G,72:U},t(e,[2,13]),t(Z,[2,64]),{59:117,61:j},{19:[1,118]},t(e,[2,20]),t(e,[2,23],{17:[1,119],42:x}),t(e,[2,11]),{13:[1,120],42:x},t(e,[2,10]),t(X,[2,68]),t(e,[2,18]),{18:121,19:[1,122],53:53,54:54,58:R},{14:123,40:z,50:G,72:U},{19:[1,124]},t(e,[2,21]),t(e,[2,9]),t(e,[2,19])],defaultActions:{55:[2,65],75:[2,60]},parseError:(0,c.K2)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,c.K2)(function(t){var e=this,i=[0],s=[],n=[null],r=[],a=this.table,o="",l=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 m(){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,c.K2)(function(t){i.length=i.length-2*t,n.length=n.length-t,r.length=r.length-t},"popStack"),(0,c.K2)(m,"lex");for(var f,E,k,T,O,S,A,N,R,I={};;){if(k=i[i.length-1],this.defaultActions[k]?T=this.defaultActions[k]:(null==f&&(f=m()),T=a[k]&&a[k][f]),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 "+(l+1)+":\n"+y.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError($,{text:y.match,token:this.terminals_[f]||f,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: "+f);switch(T[0]){case 1:i.push(f),n.push(y.yytext),r.push(y.yylloc),i.push(T[1]),f=null,E?(f=E,E=null):(h=y.yyleng,o=y.yytext,l=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(A=this.productions_[T[1]][1],I.$=n[n.length-A],I._$={first_line:r[r.length-(A||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(A||1)].first_column,last_column:r[r.length-1].last_column},b&&(I._$.range=[r[r.length-(A||1)].range[0],r[r.length-1].range[1]]),void 0!==(O=this.performAction.apply(I,[o,h,l,p,T[1],n,r].concat(d))))return O;A&&(i=i.slice(0,-1*A*2),n=n.slice(0,-1*A),r=r.slice(0,-1*A)),i.push(this.productions_[T[1]][0]),n.push(I.$),r.push(I._$),N=a[i[i.length-2]][i[i.length-1]],i.push(N);break;case 3:return!0}}return!0},"parse")};function Q(){this.yy={}}return V.lexer={EOF:1,parseError:(0,c.K2)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,c.K2)(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,c.K2)(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,c.K2)(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,c.K2)(function(){return this._more=!0,this},"more"),reject:(0,c.K2)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,c.K2)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,c.K2)(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,c.K2)(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,c.K2)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,c.K2)(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,c.K2)(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,c.K2)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,c.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,c.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.K2)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,c.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,c.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,c.K2)(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: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 28:case 35:break;case 13:return 8;case 14:return 50;case 15:return 72;case 16:return 4;case 17:return this.begin("block"),17;case 18:case 19:case 38:return 49;case 20:case 37:return 42;case 21:return 15;case 22:case 36:return 13;case 24:return 61;case 25:case 26:return 58;case 27:return 62;case 29:return this.popState(),19;case 30:case 77:return e.yytext[0];case 31:return 20;case 32:return 21;case 33:return this.begin("style"),44;case 34:return this.popState(),10;case 39:return this.begin("style"),37;case 40:return 43;case 41:case 45:case 46:case 64:return 65;case 42:case 43:case 44:case 52:case 54:case 66:return 67;case 47:case 48:case 49:case 50:case 51:case 53:case 65:return 66;case 55:case 56:case 58:case 59:case 60:case 63:return 68;case 57:return 51;case 61:return 52;case 62:return 48;case 67:return 69;case 68:case 71:case 72:case 73:return 70;case 69:case 70:return 71;case 74:return 41;case 75:return 47;case 76:return 40;case 78: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,/^(?:[\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:[34,35,36,37,38,74,75],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[23,24,25,26,27,28,29,30],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,31,32,33,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,76,77,78],inclusive:!0}}},(0,c.K2)(Q,"Parser"),Q.prototype=V,V.Parser=Q,new Q}();d.parser=d;var y=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=o.SV,this.getAccTitle=o.iN,this.setAccDescription=o.EI,this.getAccDescription=o.m7,this.setDiagramTitle=o.ke,this.getDiagramTitle=o.ab,this.getConfig=(0,c.K2)(()=>(0,o.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,c.K2)(this,"ErDB")}addEntity(t,e=""){return this.entities.has(t)?!this.entities.get(t)?.alias&&e&&(this.entities.get(t).alias=e,c.Rm.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,o.D7)().look??"default",cssClasses:"default",cssStyles:[],labelType:"markdown"}),c.Rm.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]),c.Rm.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),c.Rm.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,o.IU)()}getData(){let t=[],e=[],i=(0,o.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"}}},p={};(0,c.VA)(p,{draw:()=>_});var _=(0,c.K2)(async function(t,e,i,h){c.Rm.info("REF0:"),c.Rm.info("Drawing er diagram (unified)",e);let{securityLevel:u,er:d,layout:y}=(0,o.D7)(),p=h.db.getData(),_=(0,s.A)(e,u);p.type=h.type,p.layoutAlgorithm=(0,r.q7)(y),p.config.flowchart.nodeSpacing=d?.nodeSpacing||140,p.config.flowchart.rankSpacing=d?.rankSpacing||80,p.direction=h.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 m=_.selectAll('[id*="-background"]');Array.from(m).length>0&&m.each(function(){let t=(0,l.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,h.db.getDiagramTitle()),(0,n.P)(_,8,"erDiagram",d?.useMaxWidth??!0)},"draw"),g=(0,c.K2)((t,e)=>{let i=h.A,s=i(t,"r"),n=i(t,"g"),r=i(t,"b");return u.A(s,n,r,e)},"fade"),b=new Set(["redux-color","redux-dark-color"]),m=(0,c.K2)(t=>{let{theme:e,look:i,bkgColorArray:s,borderColorArray:n}=t;if(!b.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"),f={parser:d,get db(){return new y},renderer:p,styles:(0,c.K2)(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: ${b.has(i)&&s?s:g(t.tertiaryColor,.5)};
30
+ }
31
+
32
+ .edgeLabel {
33
+ background-color: ${b.has(i)&&s?s:t.edgeLabelBackground};
34
+ }
35
+ .edgeLabel .label rect {
36
+ fill: ${b.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: ${g(t.tertiaryColor,.5)};
79
+ }
80
+ `},"getStyles")}},66777:(t,e,i)=>{i.d(e,{A:()=>r});var s=i(32165),n=i(33948),r=(0,s.K2)((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")},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])},93789:(t,e,i)=>{i.d(e,{P:()=>r});var s=i(97096),n=i(32165),r=(0,n.K2)((t,e,i,r)=>{t.attr("class",i);let{width:c,height:l,x:h,y:u}=a(t,e);(0,s.a$)(t,l,c,r);let d=o(h,u,c,l,e);t.attr("viewBox",d),n.Rm.debug(`viewBox configured: ${d} with padding: ${e}`)},"setupViewPortForSVG"),a=(0,n.K2)((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,n.K2)((t,e,i,s,n)=>`${t-n} ${e-n} ${i} ${s}`,"createViewBox")}}]);