@autocode-cli/autocode 0.8.37 → 0.21.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 (1534) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_i18n/b8ZJBc5M/en/messages.json +1 -0
  3. package/.output/public/_i18n/b8ZJBc5M/fr/messages.json +1 -0
  4. package/.output/public/_nuxt/5BZMNEHZ.js +1 -0
  5. package/.output/public/_nuxt/B-hNDTeU.js +1 -0
  6. package/.output/public/_nuxt/B3M7yX_T.js +1 -0
  7. package/.output/public/_nuxt/BEvfVEPP.js +1 -0
  8. package/.output/public/_nuxt/BGpVLUX4.js +1 -0
  9. package/.output/public/_nuxt/BS2O5lAl.js +1 -0
  10. package/.output/public/_nuxt/BUbpbjMi.js +1 -0
  11. package/.output/public/_nuxt/BWErkScs.js +2 -0
  12. package/.output/public/_nuxt/BZdWLkNK.js +1 -0
  13. package/.output/public/_nuxt/BmGeRwzG.js +1 -0
  14. package/.output/public/_nuxt/Bsqp2d_a.js +1 -0
  15. package/.output/public/_nuxt/BuuGzzuh.js +1 -0
  16. package/.output/public/_nuxt/BvKypUr1.js +1 -0
  17. package/.output/public/_nuxt/BzvIhKXa.js +1 -0
  18. package/.output/public/_nuxt/C0Rlrcoy.js +59 -0
  19. package/.output/public/_nuxt/C3DyBObH.js +1 -0
  20. package/.output/public/_nuxt/Cd5yfd14.js +1 -0
  21. package/.output/public/_nuxt/CtVoJCjv.js +1 -0
  22. package/.output/public/_nuxt/D0OpJRhu.js +1 -0
  23. package/.output/public/_nuxt/DABng7wj.js +13 -0
  24. package/.output/public/_nuxt/DJYjLDDn.js +1 -0
  25. package/.output/public/_nuxt/DJfR4FNQ.js +1 -0
  26. package/.output/public/_nuxt/DM9QX0ua.js +1 -0
  27. package/.output/public/_nuxt/DbxL9lRD.js +1 -0
  28. package/.output/public/_nuxt/DePtrdSj.js +1 -0
  29. package/.output/public/_nuxt/DhuvGw28.js +2 -0
  30. package/.output/public/_nuxt/Dwo43MMH.js +1 -0
  31. package/.output/public/_nuxt/Grz13CMP.js +1 -0
  32. package/.output/public/_nuxt/IssueHeader.BKYJE9Ko.css +1 -0
  33. package/.output/public/_nuxt/LangSwitcher.DDTh1sNN.css +1 -0
  34. package/.output/public/_nuxt/M3URyIjQ.js +1 -0
  35. package/.output/public/_nuxt/_id_.CYj9w2Sw.css +1 -0
  36. package/.output/public/_nuxt/_name_.OOW3Ydwv.css +1 -0
  37. package/.output/public/_nuxt/autocreate.-iJ9Pxhm.css +1 -0
  38. package/.output/public/_nuxt/builds/latest.json +1 -0
  39. package/.output/public/_nuxt/builds/meta/12e415a4-da3b-4d7e-887c-761413993080.json +1 -0
  40. package/.output/public/_nuxt/changelog.CziWegef.css +1 -0
  41. package/.output/public/_nuxt/comments.BcvjcN1z.css +1 -0
  42. package/.output/public/_nuxt/cws29Auc.js +1 -0
  43. package/.output/public/_nuxt/default.BaZU2Ea8.css +1 -0
  44. package/.output/public/_nuxt/entry.CzscD3wg.css +1 -0
  45. package/.output/public/_nuxt/graph.BbpRRv0M.css +1 -0
  46. package/.output/public/_nuxt/index.CDND7dpO.css +1 -0
  47. package/.output/public/_nuxt/index.COVdL_Kx.css +1 -0
  48. package/.output/public/_nuxt/index.CTkgb9uR.css +1 -0
  49. package/.output/public/_nuxt/index.DkNg_n4G.css +1 -0
  50. package/.output/public/_nuxt/jiBgvKN8.js +1 -0
  51. package/.output/public/_nuxt/kanban.BuPOCLgG.css +1 -0
  52. package/.output/public/_nuxt/klDmWiiM.js +1 -0
  53. package/.output/public/_nuxt/landing.D5KkDm1b.css +1 -0
  54. package/.output/public/_nuxt/new.BFERdqdm.css +1 -0
  55. package/.output/public/_nuxt/new.BzaiohPo.css +1 -0
  56. package/.output/public/_nuxt/prompt.CbFHjm-L.css +1 -0
  57. package/.output/public/_nuxt/prompt.DM4VdPnn.css +1 -0
  58. package/.output/public/_nuxt/prompt.DZ0wdOji.css +1 -0
  59. package/.output/public/_nuxt/stats.CXzKxZ71.css +1 -0
  60. package/.output/public/_nuxt/terminal.BL0EPPyU.css +1 -0
  61. package/.output/public/_nuxt/terminal.D3JI44PH.css +1 -0
  62. package/.output/public/_nuxt/terminal.YXDzS4Ng.css +1 -0
  63. package/.output/public/_nuxt/tpFEFzWU.js +7 -0
  64. package/.output/public/_nuxt/zdvAcfWI.js +1 -0
  65. package/.output/public/_payload.json +1 -0
  66. package/.output/public/favicon.svg +11 -0
  67. package/.output/public/index.html +1 -0
  68. package/.output/public/media/podcast/en.m4a +0 -0
  69. package/.output/public/media/podcast/fr.m4a +0 -0
  70. package/.output/public/og-image.svg +58 -0
  71. package/.output/public/robots.txt +5 -0
  72. package/.output/server/chunks/_/attachments.service.mjs +33 -0
  73. package/.output/server/chunks/_/attachments.service.mjs.map +1 -0
  74. package/.output/server/chunks/_/comments.service.mjs +26 -0
  75. package/.output/server/chunks/_/comments.service.mjs.map +1 -0
  76. package/.output/server/chunks/_/en.mjs +538 -0
  77. package/.output/server/chunks/_/en.mjs.map +1 -0
  78. package/.output/server/chunks/_/error-500.mjs +10 -0
  79. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  80. package/.output/server/chunks/_/fr.mjs +538 -0
  81. package/.output/server/chunks/_/fr.mjs.map +1 -0
  82. package/.output/server/chunks/build/AppHeader-styles.D4cFmBur.mjs +8 -0
  83. package/.output/server/chunks/build/AppHeader-styles.D4cFmBur.mjs.map +1 -0
  84. package/.output/server/chunks/build/CatalogPanel-styles.BJ_ozkvH.mjs +8 -0
  85. package/.output/server/chunks/build/CatalogPanel-styles.BJ_ozkvH.mjs.map +1 -0
  86. package/.output/server/chunks/build/IssueHeader-BKlqeUoH.mjs +127 -0
  87. package/.output/server/chunks/build/IssueHeader-BKlqeUoH.mjs.map +1 -0
  88. package/.output/server/chunks/build/IssueHeader-styles.aWkocVax.mjs +8 -0
  89. package/.output/server/chunks/build/IssueHeader-styles.aWkocVax.mjs.map +1 -0
  90. package/.output/server/chunks/build/LandingArchitecture-styles.Don6ug3a.mjs +8 -0
  91. package/.output/server/chunks/build/LandingArchitecture-styles.Don6ug3a.mjs.map +1 -0
  92. package/.output/server/chunks/build/LandingAutonomy-styles.D9JJFMEO.mjs +8 -0
  93. package/.output/server/chunks/build/LandingAutonomy-styles.D9JJFMEO.mjs.map +1 -0
  94. package/.output/server/chunks/build/LandingCommands-styles.BoLpFQgT.mjs +8 -0
  95. package/.output/server/chunks/build/LandingCommands-styles.BoLpFQgT.mjs.map +1 -0
  96. package/.output/server/chunks/build/LandingDemo-styles.WY8VUN9P.mjs +8 -0
  97. package/.output/server/chunks/build/LandingDemo-styles.WY8VUN9P.mjs.map +1 -0
  98. package/.output/server/chunks/build/LandingFooter-styles.CEshuzKW.mjs +8 -0
  99. package/.output/server/chunks/build/LandingFooter-styles.CEshuzKW.mjs.map +1 -0
  100. package/.output/server/chunks/build/LandingMatrixBg-styles.DKJoYVuG.mjs +8 -0
  101. package/.output/server/chunks/build/LandingMatrixBg-styles.DKJoYVuG.mjs.map +1 -0
  102. package/.output/server/chunks/build/LandingPipeline-styles.CL96fyQR.mjs +8 -0
  103. package/.output/server/chunks/build/LandingPipeline-styles.CL96fyQR.mjs.map +1 -0
  104. package/.output/server/chunks/build/LandingPodcast-styles.BUxvpRMa.mjs +8 -0
  105. package/.output/server/chunks/build/LandingPodcast-styles.BUxvpRMa.mjs.map +1 -0
  106. package/.output/server/chunks/build/LandingRoadmap-styles.DX5EsTsx.mjs +8 -0
  107. package/.output/server/chunks/build/LandingRoadmap-styles.DX5EsTsx.mjs.map +1 -0
  108. package/.output/server/chunks/build/LangSwitcher-BcmlkZkS.mjs +32 -0
  109. package/.output/server/chunks/build/LangSwitcher-BcmlkZkS.mjs.map +1 -0
  110. package/.output/server/chunks/build/LangSwitcher-styles.DjejY3Ry.mjs +8 -0
  111. package/.output/server/chunks/build/LangSwitcher-styles.DjejY3Ry.mjs.map +1 -0
  112. package/.output/server/chunks/build/NotificationContainer-styles.CWuUTY5_.mjs +8 -0
  113. package/.output/server/chunks/build/NotificationContainer-styles.CWuUTY5_.mjs.map +1 -0
  114. package/.output/server/chunks/build/PipelineColumn-styles.DeCMKSUU.mjs +8 -0
  115. package/.output/server/chunks/build/PipelineColumn-styles.DeCMKSUU.mjs.map +1 -0
  116. package/.output/server/chunks/build/PipelineSegments-styles.Cx1F1okc.mjs +8 -0
  117. package/.output/server/chunks/build/PipelineSegments-styles.Cx1F1okc.mjs.map +1 -0
  118. package/.output/server/chunks/build/_id_-CE9OXhn_.mjs +78 -0
  119. package/.output/server/chunks/build/_id_-CE9OXhn_.mjs.map +1 -0
  120. package/.output/server/chunks/build/_id_-styles.DrupDd6T.mjs +8 -0
  121. package/.output/server/chunks/build/_id_-styles.DrupDd6T.mjs.map +1 -0
  122. package/.output/server/chunks/build/_name_-UJA12Rs2.mjs +810 -0
  123. package/.output/server/chunks/build/_name_-UJA12Rs2.mjs.map +1 -0
  124. package/.output/server/chunks/build/_name_-styles.megXcys0.mjs +8 -0
  125. package/.output/server/chunks/build/_name_-styles.megXcys0.mjs.map +1 -0
  126. package/.output/server/chunks/build/autocreate-DrAjWR5B.mjs +113 -0
  127. package/.output/server/chunks/build/autocreate-DrAjWR5B.mjs.map +1 -0
  128. package/.output/server/chunks/build/autocreate-styles.BkUFXyS7.mjs +8 -0
  129. package/.output/server/chunks/build/autocreate-styles.BkUFXyS7.mjs.map +1 -0
  130. package/.output/server/chunks/build/changelog-CVp1u2jo.mjs +159 -0
  131. package/.output/server/chunks/build/changelog-CVp1u2jo.mjs.map +1 -0
  132. package/.output/server/chunks/build/changelog-styles.Ct3EgGku.mjs +8 -0
  133. package/.output/server/chunks/build/changelog-styles.Ct3EgGku.mjs.map +1 -0
  134. package/.output/server/chunks/build/client.precomputed.mjs +4 -0
  135. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
  136. package/.output/server/chunks/build/comments-CZn-fPmX.mjs +119 -0
  137. package/.output/server/chunks/build/comments-CZn-fPmX.mjs.map +1 -0
  138. package/.output/server/chunks/build/comments-styles.CMP7TEvm.mjs +8 -0
  139. package/.output/server/chunks/build/comments-styles.CMP7TEvm.mjs.map +1 -0
  140. package/.output/server/chunks/build/default-BovpaVrS.mjs +180 -0
  141. package/.output/server/chunks/build/default-BovpaVrS.mjs.map +1 -0
  142. package/.output/server/chunks/build/default-styles.DCCKRaIF.mjs +8 -0
  143. package/.output/server/chunks/build/default-styles.DCCKRaIF.mjs.map +1 -0
  144. package/.output/server/chunks/build/en-1t1dLE2e.mjs +516 -0
  145. package/.output/server/chunks/build/en-1t1dLE2e.mjs.map +1 -0
  146. package/.output/server/chunks/build/error-styles.DYHGS7iv.mjs +8 -0
  147. package/.output/server/chunks/build/error-styles.DYHGS7iv.mjs.map +1 -0
  148. package/.output/server/chunks/build/fetch-B5NxMLIO.mjs +468 -0
  149. package/.output/server/chunks/build/fetch-B5NxMLIO.mjs.map +1 -0
  150. package/.output/server/chunks/build/fr-DHi8X16R.mjs +516 -0
  151. package/.output/server/chunks/build/fr-DHi8X16R.mjs.map +1 -0
  152. package/.output/server/chunks/build/graph-C-r91hz6.mjs +153 -0
  153. package/.output/server/chunks/build/graph-C-r91hz6.mjs.map +1 -0
  154. package/.output/server/chunks/build/graph-styles.BX4kyxPV.mjs +8 -0
  155. package/.output/server/chunks/build/graph-styles.BX4kyxPV.mjs.map +1 -0
  156. package/.output/server/chunks/build/index-Bm8ROtfk.mjs +239 -0
  157. package/.output/server/chunks/build/index-Bm8ROtfk.mjs.map +1 -0
  158. package/.output/server/chunks/build/index-C0DupdV0.mjs +89 -0
  159. package/.output/server/chunks/build/index-C0DupdV0.mjs.map +1 -0
  160. package/.output/server/chunks/build/index-CqyAV1ko.mjs +741 -0
  161. package/.output/server/chunks/build/index-CqyAV1ko.mjs.map +1 -0
  162. package/.output/server/chunks/build/index-D2tcUNO-.mjs +193 -0
  163. package/.output/server/chunks/build/index-D2tcUNO-.mjs.map +1 -0
  164. package/.output/server/chunks/build/index-styles.BJ7kZO7q.mjs +8 -0
  165. package/.output/server/chunks/build/index-styles.BJ7kZO7q.mjs.map +1 -0
  166. package/.output/server/chunks/build/index-styles.BaICoyCD.mjs +8 -0
  167. package/.output/server/chunks/build/index-styles.BaICoyCD.mjs.map +1 -0
  168. package/.output/server/chunks/build/index-styles.Cy221X-R.mjs +8 -0
  169. package/.output/server/chunks/build/index-styles.Cy221X-R.mjs.map +1 -0
  170. package/.output/server/chunks/build/kanban-CMVmXpCA.mjs +304 -0
  171. package/.output/server/chunks/build/kanban-CMVmXpCA.mjs.map +1 -0
  172. package/.output/server/chunks/build/kanban-styles.CWalvI0C.mjs +8 -0
  173. package/.output/server/chunks/build/kanban-styles.CWalvI0C.mjs.map +1 -0
  174. package/.output/server/chunks/build/landing-DK6wjn6b.mjs +52 -0
  175. package/.output/server/chunks/build/landing-DK6wjn6b.mjs.map +1 -0
  176. package/.output/server/chunks/build/landing-styles.Bx73xEdX.mjs +8 -0
  177. package/.output/server/chunks/build/landing-styles.Bx73xEdX.mjs.map +1 -0
  178. package/.output/server/chunks/build/new-BUvtXOoH.mjs +107 -0
  179. package/.output/server/chunks/build/new-BUvtXOoH.mjs.map +1 -0
  180. package/.output/server/chunks/build/new-DMctSKBX.mjs +171 -0
  181. package/.output/server/chunks/build/new-DMctSKBX.mjs.map +1 -0
  182. package/.output/server/chunks/build/new-styles.Chk5u_6M.mjs +8 -0
  183. package/.output/server/chunks/build/new-styles.Chk5u_6M.mjs.map +1 -0
  184. package/.output/server/chunks/build/new-styles.KSbzjZvD.mjs +8 -0
  185. package/.output/server/chunks/build/new-styles.KSbzjZvD.mjs.map +1 -0
  186. package/.output/server/chunks/build/nuxt-link-Cq8xZgFP.mjs +286 -0
  187. package/.output/server/chunks/build/nuxt-link-Cq8xZgFP.mjs.map +1 -0
  188. package/.output/server/chunks/build/prompt-BD-UncOd.mjs +167 -0
  189. package/.output/server/chunks/build/prompt-BD-UncOd.mjs.map +1 -0
  190. package/.output/server/chunks/build/prompt-BzvhmzrW.mjs +121 -0
  191. package/.output/server/chunks/build/prompt-BzvhmzrW.mjs.map +1 -0
  192. package/.output/server/chunks/build/prompt-evT7Aaj_.mjs +118 -0
  193. package/.output/server/chunks/build/prompt-evT7Aaj_.mjs.map +1 -0
  194. package/.output/server/chunks/build/prompt-styles.ByKVLx31.mjs +8 -0
  195. package/.output/server/chunks/build/prompt-styles.ByKVLx31.mjs.map +1 -0
  196. package/.output/server/chunks/build/prompt-styles.DWfublIG.mjs +8 -0
  197. package/.output/server/chunks/build/prompt-styles.DWfublIG.mjs.map +1 -0
  198. package/.output/server/chunks/build/prompt-styles.i7UlDRDv.mjs +8 -0
  199. package/.output/server/chunks/build/prompt-styles.i7UlDRDv.mjs.map +1 -0
  200. package/.output/server/chunks/build/server.mjs +6262 -0
  201. package/.output/server/chunks/build/server.mjs.map +1 -0
  202. package/.output/server/chunks/build/stats-Cxo5MAfa.mjs +184 -0
  203. package/.output/server/chunks/build/stats-Cxo5MAfa.mjs.map +1 -0
  204. package/.output/server/chunks/build/stats-styles.B6f61PbZ.mjs +8 -0
  205. package/.output/server/chunks/build/stats-styles.B6f61PbZ.mjs.map +1 -0
  206. package/.output/server/chunks/build/styles.mjs +82 -0
  207. package/.output/server/chunks/build/styles.mjs.map +1 -0
  208. package/.output/server/chunks/build/terminal-B0__67-c.mjs +134 -0
  209. package/.output/server/chunks/build/terminal-B0__67-c.mjs.map +1 -0
  210. package/.output/server/chunks/build/terminal-BtTmOD6s.mjs +128 -0
  211. package/.output/server/chunks/build/terminal-BtTmOD6s.mjs.map +1 -0
  212. package/.output/server/chunks/build/terminal-D_WbT8Ri.mjs +134 -0
  213. package/.output/server/chunks/build/terminal-D_WbT8Ri.mjs.map +1 -0
  214. package/.output/server/chunks/build/terminal-styles.C3XDlIUb.mjs +8 -0
  215. package/.output/server/chunks/build/terminal-styles.C3XDlIUb.mjs.map +1 -0
  216. package/.output/server/chunks/build/terminal-styles.CPOm0b7Y.mjs +8 -0
  217. package/.output/server/chunks/build/terminal-styles.CPOm0b7Y.mjs.map +1 -0
  218. package/.output/server/chunks/build/terminal-styles.TrVlIkii.mjs +8 -0
  219. package/.output/server/chunks/build/terminal-styles.TrVlIkii.mjs.map +1 -0
  220. package/.output/server/chunks/build/useApiError-BSStUojq.mjs +54 -0
  221. package/.output/server/chunks/build/useApiError-BSStUojq.mjs.map +1 -0
  222. package/.output/server/chunks/build/useNotification-BqDqaGnC.mjs +49 -0
  223. package/.output/server/chunks/build/useNotification-BqDqaGnC.mjs.map +1 -0
  224. package/.output/server/chunks/build/usePipeline-ZPHbtOs6.mjs +158 -0
  225. package/.output/server/chunks/build/usePipeline-ZPHbtOs6.mjs.map +1 -0
  226. package/.output/server/chunks/build/useWebSocket-UbMCn0vY.mjs +47 -0
  227. package/.output/server/chunks/build/useWebSocket-UbMCn0vY.mjs.map +1 -0
  228. package/.output/server/chunks/nitro/nitro.mjs +14661 -0
  229. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  230. package/.output/server/chunks/routes/_ws.mjs +50 -0
  231. package/.output/server/chunks/routes/_ws.mjs.map +1 -0
  232. package/.output/server/chunks/routes/api/catalog/autocreate/apply.post.mjs +67 -0
  233. package/.output/server/chunks/routes/api/catalog/autocreate/apply.post.mjs.map +1 -0
  234. package/.output/server/chunks/routes/api/catalog/autocreate.post.mjs +158 -0
  235. package/.output/server/chunks/routes/api/catalog/autocreate.post.mjs.map +1 -0
  236. package/.output/server/chunks/routes/api/changelog/summary.post.mjs +140 -0
  237. package/.output/server/chunks/routes/api/changelog/summary.post.mjs.map +1 -0
  238. package/.output/server/chunks/routes/api/changelog.get.mjs +83 -0
  239. package/.output/server/chunks/routes/api/changelog.get.mjs.map +1 -0
  240. package/.output/server/chunks/routes/api/columns/_slug/actions.get.mjs +43 -0
  241. package/.output/server/chunks/routes/api/columns/_slug/actions.get.mjs.map +1 -0
  242. package/.output/server/chunks/routes/api/columns/_slug/prompt.get.mjs +44 -0
  243. package/.output/server/chunks/routes/api/columns/_slug/prompt.get.mjs.map +1 -0
  244. package/.output/server/chunks/routes/api/health.get.mjs +61 -0
  245. package/.output/server/chunks/routes/api/health.get.mjs.map +1 -0
  246. package/.output/server/chunks/routes/api/index.get.mjs +80 -0
  247. package/.output/server/chunks/routes/api/index.get.mjs.map +1 -0
  248. package/.output/server/chunks/routes/api/index.get2.mjs +39 -0
  249. package/.output/server/chunks/routes/api/index.get2.mjs.map +1 -0
  250. package/.output/server/chunks/routes/api/index.get3.mjs +55 -0
  251. package/.output/server/chunks/routes/api/index.get3.mjs.map +1 -0
  252. package/.output/server/chunks/routes/api/index.get4.mjs +46 -0
  253. package/.output/server/chunks/routes/api/index.get4.mjs.map +1 -0
  254. package/.output/server/chunks/routes/api/index.post.mjs +104 -0
  255. package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
  256. package/.output/server/chunks/routes/api/index.post2.mjs +73 -0
  257. package/.output/server/chunks/routes/api/index.post2.mjs.map +1 -0
  258. package/.output/server/chunks/routes/api/index.post3.mjs +64 -0
  259. package/.output/server/chunks/routes/api/index.post3.mjs.map +1 -0
  260. package/.output/server/chunks/routes/api/issues/_id/_column/log.get.mjs +87 -0
  261. package/.output/server/chunks/routes/api/issues/_id/_column/log.get.mjs.map +1 -0
  262. package/.output/server/chunks/routes/api/issues/_id/ancestors.get.mjs +55 -0
  263. package/.output/server/chunks/routes/api/issues/_id/ancestors.get.mjs.map +1 -0
  264. package/.output/server/chunks/routes/api/issues/_id/archive.delete.mjs +67 -0
  265. package/.output/server/chunks/routes/api/issues/_id/archive.delete.mjs.map +1 -0
  266. package/.output/server/chunks/routes/api/issues/_id/attachments/_attachmentId_.delete.mjs +71 -0
  267. package/.output/server/chunks/routes/api/issues/_id/attachments/_attachmentId_.delete.mjs.map +1 -0
  268. package/.output/server/chunks/routes/api/issues/_id/attachments/_attachmentId_.get.mjs +73 -0
  269. package/.output/server/chunks/routes/api/issues/_id/attachments/_attachmentId_.get.mjs.map +1 -0
  270. package/.output/server/chunks/routes/api/issues/_id/attachments.get.mjs +49 -0
  271. package/.output/server/chunks/routes/api/issues/_id/attachments.get.mjs.map +1 -0
  272. package/.output/server/chunks/routes/api/issues/_id/attachments.post.mjs +96 -0
  273. package/.output/server/chunks/routes/api/issues/_id/attachments.post.mjs.map +1 -0
  274. package/.output/server/chunks/routes/api/issues/_id/children.get.mjs +55 -0
  275. package/.output/server/chunks/routes/api/issues/_id/children.get.mjs.map +1 -0
  276. package/.output/server/chunks/routes/api/issues/_id/comments.get.mjs +48 -0
  277. package/.output/server/chunks/routes/api/issues/_id/comments.get.mjs.map +1 -0
  278. package/.output/server/chunks/routes/api/issues/_id/comments.post.mjs +66 -0
  279. package/.output/server/chunks/routes/api/issues/_id/comments.post.mjs.map +1 -0
  280. package/.output/server/chunks/routes/api/issues/_id/full-history.get.mjs +73 -0
  281. package/.output/server/chunks/routes/api/issues/_id/full-history.get.mjs.map +1 -0
  282. package/.output/server/chunks/routes/api/issues/_id/full-terminal.get.mjs +86 -0
  283. package/.output/server/chunks/routes/api/issues/_id/full-terminal.get.mjs.map +1 -0
  284. package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/log.get.mjs +82 -0
  285. package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/log.get.mjs.map +1 -0
  286. package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/prompt.get.mjs +55 -0
  287. package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/prompt.get.mjs.map +1 -0
  288. package/.output/server/chunks/routes/api/issues/_id/history.get.mjs +66 -0
  289. package/.output/server/chunks/routes/api/issues/_id/history.get.mjs.map +1 -0
  290. package/.output/server/chunks/routes/api/issues/_id/log.get.mjs +73 -0
  291. package/.output/server/chunks/routes/api/issues/_id/log.get.mjs.map +1 -0
  292. package/.output/server/chunks/routes/api/issues/_id/move.post.mjs +87 -0
  293. package/.output/server/chunks/routes/api/issues/_id/move.post.mjs.map +1 -0
  294. package/.output/server/chunks/routes/api/issues/_id/next.post.mjs +78 -0
  295. package/.output/server/chunks/routes/api/issues/_id/next.post.mjs.map +1 -0
  296. package/.output/server/chunks/routes/api/issues/_id_.get.mjs +63 -0
  297. package/.output/server/chunks/routes/api/issues/_id_.get.mjs.map +1 -0
  298. package/.output/server/chunks/routes/api/issues/_id_.patch.mjs +70 -0
  299. package/.output/server/chunks/routes/api/issues/_id_.patch.mjs.map +1 -0
  300. package/.output/server/chunks/routes/api/issues/actionable.get.mjs +60 -0
  301. package/.output/server/chunks/routes/api/issues/actionable.get.mjs.map +1 -0
  302. package/.output/server/chunks/routes/api/issues/autocomplete.post.mjs +104 -0
  303. package/.output/server/chunks/routes/api/issues/autocomplete.post.mjs.map +1 -0
  304. package/.output/server/chunks/routes/api/issues/graph.get.mjs +67 -0
  305. package/.output/server/chunks/routes/api/issues/graph.get.mjs.map +1 -0
  306. package/.output/server/chunks/routes/api/pipelines/_name/activate.put.mjs +59 -0
  307. package/.output/server/chunks/routes/api/pipelines/_name/activate.put.mjs.map +1 -0
  308. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/activate.put.mjs +58 -0
  309. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/activate.put.mjs.map +1 -0
  310. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/finalize.post.mjs +69 -0
  311. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/finalize.post.mjs.map +1 -0
  312. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.delete.mjs +58 -0
  313. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.delete.mjs.map +1 -0
  314. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.get.mjs +68 -0
  315. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.get.mjs.map +1 -0
  316. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.put.mjs +70 -0
  317. package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.put.mjs.map +1 -0
  318. package/.output/server/chunks/routes/api/pipelines/_name/versions.get.mjs +49 -0
  319. package/.output/server/chunks/routes/api/pipelines/_name/versions.get.mjs.map +1 -0
  320. package/.output/server/chunks/routes/api/pipelines/_name/versions.post.mjs +61 -0
  321. package/.output/server/chunks/routes/api/pipelines/_name/versions.post.mjs.map +1 -0
  322. package/.output/server/chunks/routes/api/pipelines/_name_.delete.mjs +54 -0
  323. package/.output/server/chunks/routes/api/pipelines/_name_.delete.mjs.map +1 -0
  324. package/.output/server/chunks/routes/api/pipelines/_name_.get.mjs +63 -0
  325. package/.output/server/chunks/routes/api/pipelines/_name_.get.mjs.map +1 -0
  326. package/.output/server/chunks/routes/api/pipelines/_name_.put.mjs +78 -0
  327. package/.output/server/chunks/routes/api/pipelines/_name_.put.mjs.map +1 -0
  328. package/.output/server/chunks/routes/api/stats.get.mjs +39 -0
  329. package/.output/server/chunks/routes/api/stats.get.mjs.map +1 -0
  330. package/.output/server/chunks/routes/api/status.get.mjs +38 -0
  331. package/.output/server/chunks/routes/api/status.get.mjs.map +1 -0
  332. package/.output/server/chunks/routes/api/workflow/health.get.mjs +40 -0
  333. package/.output/server/chunks/routes/api/workflow/health.get.mjs.map +1 -0
  334. package/.output/server/chunks/routes/api/ws/status.get.mjs +38 -0
  335. package/.output/server/chunks/routes/api/ws/status.get.mjs.map +1 -0
  336. package/.output/server/chunks/routes/renderer.mjs +399 -0
  337. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  338. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  339. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  340. package/.output/server/index.mjs +28 -0
  341. package/.output/server/index.mjs.map +1 -0
  342. package/.output/server/node_modules/.prisma/client/default.js +5 -0
  343. package/.output/server/node_modules/.prisma/client/index.js +224 -0
  344. package/.output/server/node_modules/.prisma/client/package.json +144 -0
  345. package/.output/server/node_modules/.prisma/client/query_compiler_bg.js +2 -0
  346. package/.output/server/node_modules/.prisma/client/query_compiler_bg.wasm-base64.js +2 -0
  347. package/.output/server/node_modules/.prisma/package.json +4 -0
  348. package/.output/server/node_modules/@babel/parser/lib/index.js +14662 -0
  349. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  350. package/.output/server/node_modules/@intlify/core/dist/core.mjs +31 -0
  351. package/.output/server/node_modules/@intlify/core/package.json +82 -0
  352. package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +1886 -0
  353. package/.output/server/node_modules/@intlify/core-base/package.json +80 -0
  354. package/.output/server/node_modules/@intlify/h3/dist/index.mjs +65 -0
  355. package/.output/server/node_modules/@intlify/h3/package.json +122 -0
  356. package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1530 -0
  357. package/.output/server/node_modules/@intlify/message-compiler/package.json +79 -0
  358. package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +281 -0
  359. package/.output/server/node_modules/@intlify/shared/package.json +69 -0
  360. package/.output/server/node_modules/@intlify/utils/dist/h3.mjs +89 -0
  361. package/.output/server/node_modules/@intlify/utils/dist/shared/utils.9f8159f5.mjs +108 -0
  362. package/.output/server/node_modules/@intlify/utils/package.json +129 -0
  363. package/.output/server/node_modules/@prisma/adapter-better-sqlite3/dist/index.mjs +619 -0
  364. package/.output/server/node_modules/@prisma/adapter-better-sqlite3/package.json +45 -0
  365. package/.output/server/node_modules/@prisma/client/default.js +3 -0
  366. package/.output/server/node_modules/@prisma/client/package.json +281 -0
  367. package/.output/server/node_modules/@prisma/client/runtime/client.js +82 -0
  368. package/.output/server/node_modules/@prisma/client-runtime-utils/dist/index.js +2552 -0
  369. package/.output/server/node_modules/@prisma/client-runtime-utils/package.json +39 -0
  370. package/.output/server/node_modules/@prisma/debug/dist/index.mjs +213 -0
  371. package/.output/server/node_modules/@prisma/debug/package.json +47 -0
  372. package/.output/server/node_modules/@prisma/driver-adapter-utils/dist/index.mjs +245 -0
  373. package/.output/server/node_modules/@prisma/driver-adapter-utils/package.json +40 -0
  374. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6763 -0
  375. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  376. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
  377. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  378. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
  379. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  380. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
  381. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
  382. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
  383. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
  384. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
  385. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
  386. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
  387. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
  388. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
  389. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
  390. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
  391. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
  392. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
  393. package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
  394. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1853 -0
  395. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  396. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6770 -0
  397. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  398. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1732 -0
  399. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  400. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +879 -0
  401. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  402. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
  403. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  404. package/.output/server/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
  405. package/.output/server/node_modules/better-sqlite3/lib/database.js +90 -0
  406. package/.output/server/node_modules/better-sqlite3/lib/index.js +3 -0
  407. package/.output/server/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
  408. package/.output/server/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
  409. package/.output/server/node_modules/better-sqlite3/lib/methods/function.js +31 -0
  410. package/.output/server/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
  411. package/.output/server/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
  412. package/.output/server/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
  413. package/.output/server/node_modules/better-sqlite3/lib/methods/table.js +189 -0
  414. package/.output/server/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
  415. package/.output/server/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
  416. package/.output/server/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
  417. package/.output/server/node_modules/better-sqlite3/lib/util.js +12 -0
  418. package/.output/server/node_modules/better-sqlite3/package.json +59 -0
  419. package/.output/server/node_modules/bindings/bindings.js +221 -0
  420. package/.output/server/node_modules/bindings/package.json +28 -0
  421. package/.output/server/node_modules/cookie-es/dist/index.mjs +262 -0
  422. package/.output/server/node_modules/cookie-es/package.json +46 -0
  423. package/.output/server/node_modules/d3/package.json +92 -0
  424. package/.output/server/node_modules/d3/src/index.js +30 -0
  425. package/.output/server/node_modules/d3-array/package.json +61 -0
  426. package/.output/server/node_modules/d3-array/src/array.js +4 -0
  427. package/.output/server/node_modules/d3-array/src/ascending.js +3 -0
  428. package/.output/server/node_modules/d3-array/src/bin.js +125 -0
  429. package/.output/server/node_modules/d3-array/src/bisect.js +9 -0
  430. package/.output/server/node_modules/d3-array/src/bisector.js +56 -0
  431. package/.output/server/node_modules/d3-array/src/blur.js +115 -0
  432. package/.output/server/node_modules/d3-array/src/constant.js +3 -0
  433. package/.output/server/node_modules/d3-array/src/count.js +18 -0
  434. package/.output/server/node_modules/d3-array/src/cross.js +33 -0
  435. package/.output/server/node_modules/d3-array/src/cumsum.js +6 -0
  436. package/.output/server/node_modules/d3-array/src/descending.js +7 -0
  437. package/.output/server/node_modules/d3-array/src/deviation.js +6 -0
  438. package/.output/server/node_modules/d3-array/src/difference.js +11 -0
  439. package/.output/server/node_modules/d3-array/src/disjoint.js +15 -0
  440. package/.output/server/node_modules/d3-array/src/every.js +10 -0
  441. package/.output/server/node_modules/d3-array/src/extent.js +29 -0
  442. package/.output/server/node_modules/d3-array/src/filter.js +11 -0
  443. package/.output/server/node_modules/d3-array/src/fsum.js +69 -0
  444. package/.output/server/node_modules/d3-array/src/greatest.js +29 -0
  445. package/.output/server/node_modules/d3-array/src/greatestIndex.js +19 -0
  446. package/.output/server/node_modules/d3-array/src/group.js +65 -0
  447. package/.output/server/node_modules/d3-array/src/groupSort.js +10 -0
  448. package/.output/server/node_modules/d3-array/src/identity.js +3 -0
  449. package/.output/server/node_modules/d3-array/src/index.js +57 -0
  450. package/.output/server/node_modules/d3-array/src/intersection.js +19 -0
  451. package/.output/server/node_modules/d3-array/src/least.js +29 -0
  452. package/.output/server/node_modules/d3-array/src/leastIndex.js +19 -0
  453. package/.output/server/node_modules/d3-array/src/map.js +5 -0
  454. package/.output/server/node_modules/d3-array/src/max.js +20 -0
  455. package/.output/server/node_modules/d3-array/src/maxIndex.js +22 -0
  456. package/.output/server/node_modules/d3-array/src/mean.js +19 -0
  457. package/.output/server/node_modules/d3-array/src/median.js +9 -0
  458. package/.output/server/node_modules/d3-array/src/merge.js +9 -0
  459. package/.output/server/node_modules/d3-array/src/min.js +20 -0
  460. package/.output/server/node_modules/d3-array/src/minIndex.js +22 -0
  461. package/.output/server/node_modules/d3-array/src/mode.js +28 -0
  462. package/.output/server/node_modules/d3-array/src/nice.js +18 -0
  463. package/.output/server/node_modules/d3-array/src/number.js +20 -0
  464. package/.output/server/node_modules/d3-array/src/pairs.js +15 -0
  465. package/.output/server/node_modules/d3-array/src/permute.js +3 -0
  466. package/.output/server/node_modules/d3-array/src/quantile.js +47 -0
  467. package/.output/server/node_modules/d3-array/src/quickselect.js +53 -0
  468. package/.output/server/node_modules/d3-array/src/range.js +13 -0
  469. package/.output/server/node_modules/d3-array/src/rank.js +24 -0
  470. package/.output/server/node_modules/d3-array/src/reduce.js +14 -0
  471. package/.output/server/node_modules/d3-array/src/reverse.js +4 -0
  472. package/.output/server/node_modules/d3-array/src/scan.js +6 -0
  473. package/.output/server/node_modules/d3-array/src/shuffle.js +13 -0
  474. package/.output/server/node_modules/d3-array/src/some.js +10 -0
  475. package/.output/server/node_modules/d3-array/src/sort.js +39 -0
  476. package/.output/server/node_modules/d3-array/src/subset.js +5 -0
  477. package/.output/server/node_modules/d3-array/src/sum.js +18 -0
  478. package/.output/server/node_modules/d3-array/src/superset.js +19 -0
  479. package/.output/server/node_modules/d3-array/src/threshold/freedmanDiaconis.js +7 -0
  480. package/.output/server/node_modules/d3-array/src/threshold/scott.js +7 -0
  481. package/.output/server/node_modules/d3-array/src/threshold/sturges.js +5 -0
  482. package/.output/server/node_modules/d3-array/src/ticks.js +55 -0
  483. package/.output/server/node_modules/d3-array/src/transpose.js +15 -0
  484. package/.output/server/node_modules/d3-array/src/union.js +11 -0
  485. package/.output/server/node_modules/d3-array/src/variance.js +25 -0
  486. package/.output/server/node_modules/d3-array/src/zip.js +5 -0
  487. package/.output/server/node_modules/d3-axis/package.json +54 -0
  488. package/.output/server/node_modules/d3-axis/src/axis.js +174 -0
  489. package/.output/server/node_modules/d3-axis/src/identity.js +3 -0
  490. package/.output/server/node_modules/d3-axis/src/index.js +6 -0
  491. package/.output/server/node_modules/d3-brush/package.json +55 -0
  492. package/.output/server/node_modules/d3-brush/src/brush.js +621 -0
  493. package/.output/server/node_modules/d3-brush/src/constant.js +1 -0
  494. package/.output/server/node_modules/d3-brush/src/event.js +16 -0
  495. package/.output/server/node_modules/d3-brush/src/index.js +6 -0
  496. package/.output/server/node_modules/d3-brush/src/noevent.js +8 -0
  497. package/.output/server/node_modules/d3-chord/package.json +54 -0
  498. package/.output/server/node_modules/d3-chord/src/array.js +1 -0
  499. package/.output/server/node_modules/d3-chord/src/chord.js +122 -0
  500. package/.output/server/node_modules/d3-chord/src/constant.js +5 -0
  501. package/.output/server/node_modules/d3-chord/src/index.js +2 -0
  502. package/.output/server/node_modules/d3-chord/src/math.js +8 -0
  503. package/.output/server/node_modules/d3-chord/src/ribbon.js +134 -0
  504. package/.output/server/node_modules/d3-color/package.json +54 -0
  505. package/.output/server/node_modules/d3-color/src/color.js +396 -0
  506. package/.output/server/node_modules/d3-color/src/cubehelix.js +61 -0
  507. package/.output/server/node_modules/d3-color/src/define.js +10 -0
  508. package/.output/server/node_modules/d3-color/src/index.js +3 -0
  509. package/.output/server/node_modules/d3-color/src/lab.js +123 -0
  510. package/.output/server/node_modules/d3-color/src/math.js +2 -0
  511. package/.output/server/node_modules/d3-contour/package.json +66 -0
  512. package/.output/server/node_modules/d3-contour/src/area.js +5 -0
  513. package/.output/server/node_modules/d3-contour/src/array.js +3 -0
  514. package/.output/server/node_modules/d3-contour/src/ascending.js +3 -0
  515. package/.output/server/node_modules/d3-contour/src/constant.js +1 -0
  516. package/.output/server/node_modules/d3-contour/src/contains.js +27 -0
  517. package/.output/server/node_modules/d3-contour/src/contours.js +225 -0
  518. package/.output/server/node_modules/d3-contour/src/density.js +149 -0
  519. package/.output/server/node_modules/d3-contour/src/index.js +2 -0
  520. package/.output/server/node_modules/d3-contour/src/noop.js +1 -0
  521. package/.output/server/node_modules/d3-delaunay/package.json +62 -0
  522. package/.output/server/node_modules/d3-delaunay/src/delaunay.js +248 -0
  523. package/.output/server/node_modules/d3-delaunay/src/index.js +2 -0
  524. package/.output/server/node_modules/d3-delaunay/src/path.js +37 -0
  525. package/.output/server/node_modules/d3-delaunay/src/polygon.js +17 -0
  526. package/.output/server/node_modules/d3-delaunay/src/voronoi.js +332 -0
  527. package/.output/server/node_modules/d3-dispatch/package.json +50 -0
  528. package/.output/server/node_modules/d3-dispatch/src/dispatch.js +84 -0
  529. package/.output/server/node_modules/d3-dispatch/src/index.js +1 -0
  530. package/.output/server/node_modules/d3-drag/package.json +54 -0
  531. package/.output/server/node_modules/d3-drag/src/constant.js +1 -0
  532. package/.output/server/node_modules/d3-drag/src/drag.js +194 -0
  533. package/.output/server/node_modules/d3-drag/src/event.js +28 -0
  534. package/.output/server/node_modules/d3-drag/src/index.js +2 -0
  535. package/.output/server/node_modules/d3-drag/src/nodrag.js +28 -0
  536. package/.output/server/node_modules/d3-drag/src/noevent.js +13 -0
  537. package/.output/server/node_modules/d3-dsv/package.json +68 -0
  538. package/.output/server/node_modules/d3-dsv/src/autoType.js +20 -0
  539. package/.output/server/node_modules/d3-dsv/src/csv.js +11 -0
  540. package/.output/server/node_modules/d3-dsv/src/dsv.js +164 -0
  541. package/.output/server/node_modules/d3-dsv/src/index.js +4 -0
  542. package/.output/server/node_modules/d3-dsv/src/tsv.js +11 -0
  543. package/.output/server/node_modules/d3-ease/package.json +51 -0
  544. package/.output/server/node_modules/d3-ease/src/back.js +37 -0
  545. package/.output/server/node_modules/d3-ease/src/bounce.js +22 -0
  546. package/.output/server/node_modules/d3-ease/src/circle.js +11 -0
  547. package/.output/server/node_modules/d3-ease/src/cubic.js +11 -0
  548. package/.output/server/node_modules/d3-ease/src/elastic.js +46 -0
  549. package/.output/server/node_modules/d3-ease/src/exp.js +13 -0
  550. package/.output/server/node_modules/d3-ease/src/index.js +66 -0
  551. package/.output/server/node_modules/d3-ease/src/linear.js +1 -0
  552. package/.output/server/node_modules/d3-ease/src/math.js +4 -0
  553. package/.output/server/node_modules/d3-ease/src/poly.js +37 -0
  554. package/.output/server/node_modules/d3-ease/src/quad.js +11 -0
  555. package/.output/server/node_modules/d3-ease/src/sin.js +14 -0
  556. package/.output/server/node_modules/d3-fetch/package.json +53 -0
  557. package/.output/server/node_modules/d3-fetch/src/blob.js +8 -0
  558. package/.output/server/node_modules/d3-fetch/src/buffer.js +8 -0
  559. package/.output/server/node_modules/d3-fetch/src/dsv.js +22 -0
  560. package/.output/server/node_modules/d3-fetch/src/image.js +9 -0
  561. package/.output/server/node_modules/d3-fetch/src/index.js +7 -0
  562. package/.output/server/node_modules/d3-fetch/src/json.js +9 -0
  563. package/.output/server/node_modules/d3-fetch/src/text.js +8 -0
  564. package/.output/server/node_modules/d3-fetch/src/xml.js +12 -0
  565. package/.output/server/node_modules/d3-force/package.json +58 -0
  566. package/.output/server/node_modules/d3-force/src/center.js +40 -0
  567. package/.output/server/node_modules/d3-force/src/collide.js +100 -0
  568. package/.output/server/node_modules/d3-force/src/constant.js +5 -0
  569. package/.output/server/node_modules/d3-force/src/index.js +8 -0
  570. package/.output/server/node_modules/d3-force/src/jiggle.js +3 -0
  571. package/.output/server/node_modules/d3-force/src/lcg.js +9 -0
  572. package/.output/server/node_modules/d3-force/src/link.js +117 -0
  573. package/.output/server/node_modules/d3-force/src/manyBody.js +116 -0
  574. package/.output/server/node_modules/d3-force/src/radial.js +57 -0
  575. package/.output/server/node_modules/d3-force/src/simulation.js +156 -0
  576. package/.output/server/node_modules/d3-force/src/x.js +41 -0
  577. package/.output/server/node_modules/d3-force/src/y.js +41 -0
  578. package/.output/server/node_modules/d3-format/package.json +55 -0
  579. package/.output/server/node_modules/d3-format/src/defaultLocale.js +18 -0
  580. package/.output/server/node_modules/d3-format/src/exponent.js +5 -0
  581. package/.output/server/node_modules/d3-format/src/formatDecimal.js +20 -0
  582. package/.output/server/node_modules/d3-format/src/formatGroup.js +18 -0
  583. package/.output/server/node_modules/d3-format/src/formatNumerals.js +7 -0
  584. package/.output/server/node_modules/d3-format/src/formatPrefixAuto.js +16 -0
  585. package/.output/server/node_modules/d3-format/src/formatRounded.js +11 -0
  586. package/.output/server/node_modules/d3-format/src/formatSpecifier.js +47 -0
  587. package/.output/server/node_modules/d3-format/src/formatTrim.js +11 -0
  588. package/.output/server/node_modules/d3-format/src/formatTypes.js +19 -0
  589. package/.output/server/node_modules/d3-format/src/identity.js +3 -0
  590. package/.output/server/node_modules/d3-format/src/index.js +6 -0
  591. package/.output/server/node_modules/d3-format/src/locale.js +148 -0
  592. package/.output/server/node_modules/d3-format/src/precisionFixed.js +5 -0
  593. package/.output/server/node_modules/d3-format/src/precisionPrefix.js +5 -0
  594. package/.output/server/node_modules/d3-format/src/precisionRound.js +6 -0
  595. package/.output/server/node_modules/d3-geo/package.json +59 -0
  596. package/.output/server/node_modules/d3-geo/src/area.js +76 -0
  597. package/.output/server/node_modules/d3-geo/src/bounds.js +179 -0
  598. package/.output/server/node_modules/d3-geo/src/cartesian.js +33 -0
  599. package/.output/server/node_modules/d3-geo/src/centroid.js +143 -0
  600. package/.output/server/node_modules/d3-geo/src/circle.js +72 -0
  601. package/.output/server/node_modules/d3-geo/src/clip/antimeridian.js +92 -0
  602. package/.output/server/node_modules/d3-geo/src/clip/buffer.js +24 -0
  603. package/.output/server/node_modules/d3-geo/src/clip/circle.js +177 -0
  604. package/.output/server/node_modules/d3-geo/src/clip/extent.js +20 -0
  605. package/.output/server/node_modules/d3-geo/src/clip/index.js +131 -0
  606. package/.output/server/node_modules/d3-geo/src/clip/line.js +59 -0
  607. package/.output/server/node_modules/d3-geo/src/clip/rectangle.js +168 -0
  608. package/.output/server/node_modules/d3-geo/src/clip/rejoin.js +103 -0
  609. package/.output/server/node_modules/d3-geo/src/compose.js +12 -0
  610. package/.output/server/node_modules/d3-geo/src/constant.js +5 -0
  611. package/.output/server/node_modules/d3-geo/src/contains.js +97 -0
  612. package/.output/server/node_modules/d3-geo/src/distance.js +10 -0
  613. package/.output/server/node_modules/d3-geo/src/graticule.js +105 -0
  614. package/.output/server/node_modules/d3-geo/src/identity.js +1 -0
  615. package/.output/server/node_modules/d3-geo/src/index.js +34 -0
  616. package/.output/server/node_modules/d3-geo/src/interpolate.js +36 -0
  617. package/.output/server/node_modules/d3-geo/src/length.js +53 -0
  618. package/.output/server/node_modules/d3-geo/src/math.js +36 -0
  619. package/.output/server/node_modules/d3-geo/src/noop.js +1 -0
  620. package/.output/server/node_modules/d3-geo/src/path/area.js +50 -0
  621. package/.output/server/node_modules/d3-geo/src/path/bounds.js +28 -0
  622. package/.output/server/node_modules/d3-geo/src/path/centroid.js +100 -0
  623. package/.output/server/node_modules/d3-geo/src/path/context.js +45 -0
  624. package/.output/server/node_modules/d3-geo/src/path/index.js +76 -0
  625. package/.output/server/node_modules/d3-geo/src/path/measure.js +45 -0
  626. package/.output/server/node_modules/d3-geo/src/path/string.js +86 -0
  627. package/.output/server/node_modules/d3-geo/src/pointEqual.js +5 -0
  628. package/.output/server/node_modules/d3-geo/src/polygonContains.js +74 -0
  629. package/.output/server/node_modules/d3-geo/src/projection/albers.js +10 -0
  630. package/.output/server/node_modules/d3-geo/src/projection/albersUsa.js +111 -0
  631. package/.output/server/node_modules/d3-geo/src/projection/azimuthal.js +27 -0
  632. package/.output/server/node_modules/d3-geo/src/projection/azimuthalEqualArea.js +17 -0
  633. package/.output/server/node_modules/d3-geo/src/projection/azimuthalEquidistant.js +17 -0
  634. package/.output/server/node_modules/d3-geo/src/projection/conic.js +15 -0
  635. package/.output/server/node_modules/d3-geo/src/projection/conicConformal.js +38 -0
  636. package/.output/server/node_modules/d3-geo/src/projection/conicEqualArea.js +33 -0
  637. package/.output/server/node_modules/d3-geo/src/projection/conicEquidistant.js +32 -0
  638. package/.output/server/node_modules/d3-geo/src/projection/cylindricalEqualArea.js +15 -0
  639. package/.output/server/node_modules/d3-geo/src/projection/equalEarth.js +36 -0
  640. package/.output/server/node_modules/d3-geo/src/projection/equirectangular.js +12 -0
  641. package/.output/server/node_modules/d3-geo/src/projection/fit.js +47 -0
  642. package/.output/server/node_modules/d3-geo/src/projection/gnomonic.js +16 -0
  643. package/.output/server/node_modules/d3-geo/src/projection/identity.js +85 -0
  644. package/.output/server/node_modules/d3-geo/src/projection/index.js +177 -0
  645. package/.output/server/node_modules/d3-geo/src/projection/mercator.js +52 -0
  646. package/.output/server/node_modules/d3-geo/src/projection/naturalEarth1.js +28 -0
  647. package/.output/server/node_modules/d3-geo/src/projection/orthographic.js +15 -0
  648. package/.output/server/node_modules/d3-geo/src/projection/resample.js +102 -0
  649. package/.output/server/node_modules/d3-geo/src/projection/stereographic.js +18 -0
  650. package/.output/server/node_modules/d3-geo/src/projection/transverseMercator.js +27 -0
  651. package/.output/server/node_modules/d3-geo/src/rotation.js +79 -0
  652. package/.output/server/node_modules/d3-geo/src/stream.js +69 -0
  653. package/.output/server/node_modules/d3-geo/src/transform.js +26 -0
  654. package/.output/server/node_modules/d3-hierarchy/package.json +56 -0
  655. package/.output/server/node_modules/d3-hierarchy/src/accessors.js +8 -0
  656. package/.output/server/node_modules/d3-hierarchy/src/array.js +20 -0
  657. package/.output/server/node_modules/d3-hierarchy/src/cluster.js +84 -0
  658. package/.output/server/node_modules/d3-hierarchy/src/constant.js +9 -0
  659. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +7 -0
  660. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/count.js +12 -0
  661. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/descendants.js +3 -0
  662. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/each.js +7 -0
  663. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +15 -0
  664. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +12 -0
  665. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/find.js +8 -0
  666. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/index.js +91 -0
  667. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/iterator.js +14 -0
  668. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/leaves.js +9 -0
  669. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/links.js +9 -0
  670. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/path.js +30 -0
  671. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/sort.js +7 -0
  672. package/.output/server/node_modules/d3-hierarchy/src/hierarchy/sum.js +9 -0
  673. package/.output/server/node_modules/d3-hierarchy/src/index.js +15 -0
  674. package/.output/server/node_modules/d3-hierarchy/src/lcg.js +9 -0
  675. package/.output/server/node_modules/d3-hierarchy/src/pack/enclose.js +123 -0
  676. package/.output/server/node_modules/d3-hierarchy/src/pack/index.js +81 -0
  677. package/.output/server/node_modules/d3-hierarchy/src/pack/siblings.js +120 -0
  678. package/.output/server/node_modules/d3-hierarchy/src/partition.js +52 -0
  679. package/.output/server/node_modules/d3-hierarchy/src/stratify.js +145 -0
  680. package/.output/server/node_modules/d3-hierarchy/src/tree.js +237 -0
  681. package/.output/server/node_modules/d3-hierarchy/src/treemap/binary.js +46 -0
  682. package/.output/server/node_modules/d3-hierarchy/src/treemap/dice.js +12 -0
  683. package/.output/server/node_modules/d3-hierarchy/src/treemap/index.js +94 -0
  684. package/.output/server/node_modules/d3-hierarchy/src/treemap/resquarify.js +36 -0
  685. package/.output/server/node_modules/d3-hierarchy/src/treemap/round.js +6 -0
  686. package/.output/server/node_modules/d3-hierarchy/src/treemap/slice.js +12 -0
  687. package/.output/server/node_modules/d3-hierarchy/src/treemap/sliceDice.js +6 -0
  688. package/.output/server/node_modules/d3-hierarchy/src/treemap/squarify.js +66 -0
  689. package/.output/server/node_modules/d3-interpolate/package.json +53 -0
  690. package/.output/server/node_modules/d3-interpolate/src/array.js +22 -0
  691. package/.output/server/node_modules/d3-interpolate/src/basis.js +19 -0
  692. package/.output/server/node_modules/d3-interpolate/src/basisClosed.js +13 -0
  693. package/.output/server/node_modules/d3-interpolate/src/color.js +29 -0
  694. package/.output/server/node_modules/d3-interpolate/src/constant.js +1 -0
  695. package/.output/server/node_modules/d3-interpolate/src/cubehelix.js +29 -0
  696. package/.output/server/node_modules/d3-interpolate/src/date.js +6 -0
  697. package/.output/server/node_modules/d3-interpolate/src/discrete.js +6 -0
  698. package/.output/server/node_modules/d3-interpolate/src/hcl.js +21 -0
  699. package/.output/server/node_modules/d3-interpolate/src/hsl.js +21 -0
  700. package/.output/server/node_modules/d3-interpolate/src/hue.js +9 -0
  701. package/.output/server/node_modules/d3-interpolate/src/index.js +21 -0
  702. package/.output/server/node_modules/d3-interpolate/src/lab.js +16 -0
  703. package/.output/server/node_modules/d3-interpolate/src/number.js +5 -0
  704. package/.output/server/node_modules/d3-interpolate/src/numberArray.js +14 -0
  705. package/.output/server/node_modules/d3-interpolate/src/object.js +23 -0
  706. package/.output/server/node_modules/d3-interpolate/src/piecewise.js +11 -0
  707. package/.output/server/node_modules/d3-interpolate/src/quantize.js +5 -0
  708. package/.output/server/node_modules/d3-interpolate/src/rgb.js +55 -0
  709. package/.output/server/node_modules/d3-interpolate/src/round.js +5 -0
  710. package/.output/server/node_modules/d3-interpolate/src/string.js +64 -0
  711. package/.output/server/node_modules/d3-interpolate/src/transform/decompose.js +26 -0
  712. package/.output/server/node_modules/d3-interpolate/src/transform/index.js +63 -0
  713. package/.output/server/node_modules/d3-interpolate/src/transform/parse.js +18 -0
  714. package/.output/server/node_modules/d3-interpolate/src/value.js +22 -0
  715. package/.output/server/node_modules/d3-interpolate/src/zoom.js +71 -0
  716. package/.output/server/node_modules/d3-path/package.json +54 -0
  717. package/.output/server/node_modules/d3-path/src/index.js +1 -0
  718. package/.output/server/node_modules/d3-path/src/path.js +156 -0
  719. package/.output/server/node_modules/d3-polygon/package.json +51 -0
  720. package/.output/server/node_modules/d3-polygon/src/area.js +15 -0
  721. package/.output/server/node_modules/d3-polygon/src/centroid.js +20 -0
  722. package/.output/server/node_modules/d3-polygon/src/contains.js +16 -0
  723. package/.output/server/node_modules/d3-polygon/src/cross.js +7 -0
  724. package/.output/server/node_modules/d3-polygon/src/hull.js +49 -0
  725. package/.output/server/node_modules/d3-polygon/src/index.js +5 -0
  726. package/.output/server/node_modules/d3-polygon/src/length.js +23 -0
  727. package/.output/server/node_modules/d3-quadtree/package.json +49 -0
  728. package/.output/server/node_modules/d3-quadtree/src/add.js +84 -0
  729. package/.output/server/node_modules/d3-quadtree/src/cover.js +43 -0
  730. package/.output/server/node_modules/d3-quadtree/src/data.js +7 -0
  731. package/.output/server/node_modules/d3-quadtree/src/extent.js +5 -0
  732. package/.output/server/node_modules/d3-quadtree/src/find.js +70 -0
  733. package/.output/server/node_modules/d3-quadtree/src/index.js +1 -0
  734. package/.output/server/node_modules/d3-quadtree/src/quad.js +7 -0
  735. package/.output/server/node_modules/d3-quadtree/src/quadtree.js +73 -0
  736. package/.output/server/node_modules/d3-quadtree/src/remove.js +62 -0
  737. package/.output/server/node_modules/d3-quadtree/src/root.js +3 -0
  738. package/.output/server/node_modules/d3-quadtree/src/size.js +7 -0
  739. package/.output/server/node_modules/d3-quadtree/src/visit.js +16 -0
  740. package/.output/server/node_modules/d3-quadtree/src/visitAfter.js +21 -0
  741. package/.output/server/node_modules/d3-quadtree/src/x.js +7 -0
  742. package/.output/server/node_modules/d3-quadtree/src/y.js +7 -0
  743. package/.output/server/node_modules/d3-random/package.json +51 -0
  744. package/.output/server/node_modules/d3-random/src/bates.js +19 -0
  745. package/.output/server/node_modules/d3-random/src/bernoulli.js +14 -0
  746. package/.output/server/node_modules/d3-random/src/beta.js +19 -0
  747. package/.output/server/node_modules/d3-random/src/binomial.js +38 -0
  748. package/.output/server/node_modules/d3-random/src/cauchy.js +15 -0
  749. package/.output/server/node_modules/d3-random/src/defaultSource.js +1 -0
  750. package/.output/server/node_modules/d3-random/src/exponential.js +13 -0
  751. package/.output/server/node_modules/d3-random/src/gamma.js +34 -0
  752. package/.output/server/node_modules/d3-random/src/geometric.js +17 -0
  753. package/.output/server/node_modules/d3-random/src/index.js +18 -0
  754. package/.output/server/node_modules/d3-random/src/int.js +16 -0
  755. package/.output/server/node_modules/d3-random/src/irwinHall.js +15 -0
  756. package/.output/server/node_modules/d3-random/src/lcg.js +9 -0
  757. package/.output/server/node_modules/d3-random/src/logNormal.js +17 -0
  758. package/.output/server/node_modules/d3-random/src/logistic.js +16 -0
  759. package/.output/server/node_modules/d3-random/src/normal.js +28 -0
  760. package/.output/server/node_modules/d3-random/src/pareto.js +15 -0
  761. package/.output/server/node_modules/d3-random/src/poisson.js +27 -0
  762. package/.output/server/node_modules/d3-random/src/uniform.js +17 -0
  763. package/.output/server/node_modules/d3-random/src/weibull.js +22 -0
  764. package/.output/server/node_modules/d3-scale/package.json +57 -0
  765. package/.output/server/node_modules/d3-scale/src/band.js +101 -0
  766. package/.output/server/node_modules/d3-scale/src/constant.js +5 -0
  767. package/.output/server/node_modules/d3-scale/src/continuous.js +125 -0
  768. package/.output/server/node_modules/d3-scale/src/diverging.js +104 -0
  769. package/.output/server/node_modules/d3-scale/src/identity.js +28 -0
  770. package/.output/server/node_modules/d3-scale/src/index.js +78 -0
  771. package/.output/server/node_modules/d3-scale/src/init.js +26 -0
  772. package/.output/server/node_modules/d3-scale/src/linear.js +70 -0
  773. package/.output/server/node_modules/d3-scale/src/log.js +140 -0
  774. package/.output/server/node_modules/d3-scale/src/nice.js +18 -0
  775. package/.output/server/node_modules/d3-scale/src/number.js +3 -0
  776. package/.output/server/node_modules/d3-scale/src/ordinal.js +46 -0
  777. package/.output/server/node_modules/d3-scale/src/pow.js +50 -0
  778. package/.output/server/node_modules/d3-scale/src/quantile.js +57 -0
  779. package/.output/server/node_modules/d3-scale/src/quantize.js +56 -0
  780. package/.output/server/node_modules/d3-scale/src/radial.js +63 -0
  781. package/.output/server/node_modules/d3-scale/src/sequential.js +107 -0
  782. package/.output/server/node_modules/d3-scale/src/sequentialQuantile.js +38 -0
  783. package/.output/server/node_modules/d3-scale/src/symlog.js +35 -0
  784. package/.output/server/node_modules/d3-scale/src/threshold.js +39 -0
  785. package/.output/server/node_modules/d3-scale/src/tickFormat.js +29 -0
  786. package/.output/server/node_modules/d3-scale/src/time.js +71 -0
  787. package/.output/server/node_modules/d3-scale/src/utcTime.js +8 -0
  788. package/.output/server/node_modules/d3-scale-chromatic/package.json +55 -0
  789. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Accent.js +3 -0
  790. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Dark2.js +3 -0
  791. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Paired.js +3 -0
  792. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Pastel1.js +3 -0
  793. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Pastel2.js +3 -0
  794. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Set1.js +3 -0
  795. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Set2.js +3 -0
  796. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Set3.js +3 -0
  797. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -0
  798. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/category10.js +3 -0
  799. package/.output/server/node_modules/d3-scale-chromatic/src/categorical/observable10.js +3 -0
  800. package/.output/server/node_modules/d3-scale-chromatic/src/colors.js +5 -0
  801. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/BrBG.js +16 -0
  802. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/PRGn.js +16 -0
  803. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/PiYG.js +16 -0
  804. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/PuOr.js +16 -0
  805. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/RdBu.js +16 -0
  806. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/RdGy.js +16 -0
  807. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js +16 -0
  808. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js +16 -0
  809. package/.output/server/node_modules/d3-scale-chromatic/src/diverging/Spectral.js +16 -0
  810. package/.output/server/node_modules/d3-scale-chromatic/src/index.js +44 -0
  811. package/.output/server/node_modules/d3-scale-chromatic/src/ramp.js +3 -0
  812. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js +14 -0
  813. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js +14 -0
  814. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js +14 -0
  815. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js +14 -0
  816. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js +14 -0
  817. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js +14 -0
  818. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js +14 -0
  819. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js +14 -0
  820. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js +14 -0
  821. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js +14 -0
  822. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js +14 -0
  823. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js +14 -0
  824. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/cividis.js +8 -0
  825. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js +4 -0
  826. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js +17 -0
  827. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js +14 -0
  828. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/turbo.js +8 -0
  829. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js +16 -0
  830. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js +14 -0
  831. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js +14 -0
  832. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js +14 -0
  833. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js +14 -0
  834. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js +14 -0
  835. package/.output/server/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js +14 -0
  836. package/.output/server/node_modules/d3-selection/package.json +51 -0
  837. package/.output/server/node_modules/d3-selection/src/array.js +9 -0
  838. package/.output/server/node_modules/d3-selection/src/constant.js +5 -0
  839. package/.output/server/node_modules/d3-selection/src/create.js +6 -0
  840. package/.output/server/node_modules/d3-selection/src/creator.js +25 -0
  841. package/.output/server/node_modules/d3-selection/src/index.js +15 -0
  842. package/.output/server/node_modules/d3-selection/src/local.js +27 -0
  843. package/.output/server/node_modules/d3-selection/src/matcher.js +12 -0
  844. package/.output/server/node_modules/d3-selection/src/namespace.js +7 -0
  845. package/.output/server/node_modules/d3-selection/src/namespaces.js +9 -0
  846. package/.output/server/node_modules/d3-selection/src/pointer.js +20 -0
  847. package/.output/server/node_modules/d3-selection/src/pointers.js +11 -0
  848. package/.output/server/node_modules/d3-selection/src/select.js +7 -0
  849. package/.output/server/node_modules/d3-selection/src/selectAll.js +8 -0
  850. package/.output/server/node_modules/d3-selection/src/selection/append.js +8 -0
  851. package/.output/server/node_modules/d3-selection/src/selection/attr.js +57 -0
  852. package/.output/server/node_modules/d3-selection/src/selection/call.js +6 -0
  853. package/.output/server/node_modules/d3-selection/src/selection/classed.js +75 -0
  854. package/.output/server/node_modules/d3-selection/src/selection/clone.js +13 -0
  855. package/.output/server/node_modules/d3-selection/src/selection/data.js +128 -0
  856. package/.output/server/node_modules/d3-selection/src/selection/datum.js +5 -0
  857. package/.output/server/node_modules/d3-selection/src/selection/dispatch.js +34 -0
  858. package/.output/server/node_modules/d3-selection/src/selection/each.js +10 -0
  859. package/.output/server/node_modules/d3-selection/src/selection/empty.js +3 -0
  860. package/.output/server/node_modules/d3-selection/src/selection/enter.js +22 -0
  861. package/.output/server/node_modules/d3-selection/src/selection/exit.js +6 -0
  862. package/.output/server/node_modules/d3-selection/src/selection/filter.js +16 -0
  863. package/.output/server/node_modules/d3-selection/src/selection/html.js +25 -0
  864. package/.output/server/node_modules/d3-selection/src/selection/index.js +90 -0
  865. package/.output/server/node_modules/d3-selection/src/selection/insert.js +14 -0
  866. package/.output/server/node_modules/d3-selection/src/selection/iterator.js +7 -0
  867. package/.output/server/node_modules/d3-selection/src/selection/join.js +15 -0
  868. package/.output/server/node_modules/d3-selection/src/selection/lower.js +7 -0
  869. package/.output/server/node_modules/d3-selection/src/selection/merge.js +19 -0
  870. package/.output/server/node_modules/d3-selection/src/selection/node.js +11 -0
  871. package/.output/server/node_modules/d3-selection/src/selection/nodes.js +3 -0
  872. package/.output/server/node_modules/d3-selection/src/selection/on.js +67 -0
  873. package/.output/server/node_modules/d3-selection/src/selection/order.js +13 -0
  874. package/.output/server/node_modules/d3-selection/src/selection/property.js +28 -0
  875. package/.output/server/node_modules/d3-selection/src/selection/raise.js +7 -0
  876. package/.output/server/node_modules/d3-selection/src/selection/remove.js +8 -0
  877. package/.output/server/node_modules/d3-selection/src/selection/select.js +17 -0
  878. package/.output/server/node_modules/d3-selection/src/selection/selectAll.js +25 -0
  879. package/.output/server/node_modules/d3-selection/src/selection/selectChild.js +18 -0
  880. package/.output/server/node_modules/d3-selection/src/selection/selectChildren.js +18 -0
  881. package/.output/server/node_modules/d3-selection/src/selection/size.js +5 -0
  882. package/.output/server/node_modules/d3-selection/src/selection/sort.js +24 -0
  883. package/.output/server/node_modules/d3-selection/src/selection/sparse.js +3 -0
  884. package/.output/server/node_modules/d3-selection/src/selection/style.js +35 -0
  885. package/.output/server/node_modules/d3-selection/src/selection/text.js +25 -0
  886. package/.output/server/node_modules/d3-selection/src/selector.js +7 -0
  887. package/.output/server/node_modules/d3-selection/src/selectorAll.js +9 -0
  888. package/.output/server/node_modules/d3-selection/src/sourceEvent.js +5 -0
  889. package/.output/server/node_modules/d3-selection/src/window.js +5 -0
  890. package/.output/server/node_modules/d3-shape/package.json +55 -0
  891. package/.output/server/node_modules/d3-shape/src/arc.js +268 -0
  892. package/.output/server/node_modules/d3-shape/src/area.js +112 -0
  893. package/.output/server/node_modules/d3-shape/src/areaRadial.js +29 -0
  894. package/.output/server/node_modules/d3-shape/src/array.js +7 -0
  895. package/.output/server/node_modules/d3-shape/src/constant.js +5 -0
  896. package/.output/server/node_modules/d3-shape/src/curve/basis.js +51 -0
  897. package/.output/server/node_modules/d3-shape/src/curve/basisClosed.js +52 -0
  898. package/.output/server/node_modules/d3-shape/src/curve/basisOpen.js +39 -0
  899. package/.output/server/node_modules/d3-shape/src/curve/bump.js +75 -0
  900. package/.output/server/node_modules/d3-shape/src/curve/bundle.js +56 -0
  901. package/.output/server/node_modules/d3-shape/src/curve/cardinal.js +61 -0
  902. package/.output/server/node_modules/d3-shape/src/curve/cardinalClosed.js +61 -0
  903. package/.output/server/node_modules/d3-shape/src/curve/cardinalOpen.js +49 -0
  904. package/.output/server/node_modules/d3-shape/src/curve/catmullRom.js +88 -0
  905. package/.output/server/node_modules/d3-shape/src/curve/catmullRomClosed.js +74 -0
  906. package/.output/server/node_modules/d3-shape/src/curve/catmullRomOpen.js +62 -0
  907. package/.output/server/node_modules/d3-shape/src/curve/linear.js +31 -0
  908. package/.output/server/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
  909. package/.output/server/node_modules/d3-shape/src/curve/monotone.js +104 -0
  910. package/.output/server/node_modules/d3-shape/src/curve/natural.js +65 -0
  911. package/.output/server/node_modules/d3-shape/src/curve/radial.js +36 -0
  912. package/.output/server/node_modules/d3-shape/src/curve/step.js +53 -0
  913. package/.output/server/node_modules/d3-shape/src/descending.js +3 -0
  914. package/.output/server/node_modules/d3-shape/src/identity.js +3 -0
  915. package/.output/server/node_modules/d3-shape/src/index.js +53 -0
  916. package/.output/server/node_modules/d3-shape/src/line.js +58 -0
  917. package/.output/server/node_modules/d3-shape/src/lineRadial.js +19 -0
  918. package/.output/server/node_modules/d3-shape/src/link.js +73 -0
  919. package/.output/server/node_modules/d3-shape/src/math.js +20 -0
  920. package/.output/server/node_modules/d3-shape/src/noop.js +1 -0
  921. package/.output/server/node_modules/d3-shape/src/offset/diverging.js +14 -0
  922. package/.output/server/node_modules/d3-shape/src/offset/expand.js +10 -0
  923. package/.output/server/node_modules/d3-shape/src/offset/none.js +9 -0
  924. package/.output/server/node_modules/d3-shape/src/offset/silhouette.js +10 -0
  925. package/.output/server/node_modules/d3-shape/src/offset/wiggle.js +24 -0
  926. package/.output/server/node_modules/d3-shape/src/order/appearance.js +12 -0
  927. package/.output/server/node_modules/d3-shape/src/order/ascending.js +12 -0
  928. package/.output/server/node_modules/d3-shape/src/order/descending.js +5 -0
  929. package/.output/server/node_modules/d3-shape/src/order/insideOut.js +27 -0
  930. package/.output/server/node_modules/d3-shape/src/order/none.js +5 -0
  931. package/.output/server/node_modules/d3-shape/src/order/reverse.js +5 -0
  932. package/.output/server/node_modules/d3-shape/src/path.js +19 -0
  933. package/.output/server/node_modules/d3-shape/src/pie.js +80 -0
  934. package/.output/server/node_modules/d3-shape/src/point.js +7 -0
  935. package/.output/server/node_modules/d3-shape/src/pointRadial.js +3 -0
  936. package/.output/server/node_modules/d3-shape/src/stack.js +58 -0
  937. package/.output/server/node_modules/d3-shape/src/symbol/asterisk.js +17 -0
  938. package/.output/server/node_modules/d3-shape/src/symbol/circle.js +9 -0
  939. package/.output/server/node_modules/d3-shape/src/symbol/cross.js +20 -0
  940. package/.output/server/node_modules/d3-shape/src/symbol/diamond.js +16 -0
  941. package/.output/server/node_modules/d3-shape/src/symbol/diamond2.js +12 -0
  942. package/.output/server/node_modules/d3-shape/src/symbol/plus.js +11 -0
  943. package/.output/server/node_modules/d3-shape/src/symbol/square.js +9 -0
  944. package/.output/server/node_modules/d3-shape/src/symbol/square2.js +12 -0
  945. package/.output/server/node_modules/d3-shape/src/symbol/star.js +24 -0
  946. package/.output/server/node_modules/d3-shape/src/symbol/times.js +11 -0
  947. package/.output/server/node_modules/d3-shape/src/symbol/triangle.js +13 -0
  948. package/.output/server/node_modules/d3-shape/src/symbol/triangle2.js +15 -0
  949. package/.output/server/node_modules/d3-shape/src/symbol/wye.js +25 -0
  950. package/.output/server/node_modules/d3-shape/src/symbol.js +66 -0
  951. package/.output/server/node_modules/d3-time/package.json +53 -0
  952. package/.output/server/node_modules/d3-time/src/day.js +35 -0
  953. package/.output/server/node_modules/d3-time/src/duration.js +7 -0
  954. package/.output/server/node_modules/d3-time/src/hour.js +26 -0
  955. package/.output/server/node_modules/d3-time/src/index.js +96 -0
  956. package/.output/server/node_modules/d3-time/src/interval.js +69 -0
  957. package/.output/server/node_modules/d3-time/src/millisecond.js +25 -0
  958. package/.output/server/node_modules/d3-time/src/minute.js +26 -0
  959. package/.output/server/node_modules/d3-time/src/month.js +27 -0
  960. package/.output/server/node_modules/d3-time/src/second.js +14 -0
  961. package/.output/server/node_modules/d3-time/src/ticks.js +58 -0
  962. package/.output/server/node_modules/d3-time/src/week.js +56 -0
  963. package/.output/server/node_modules/d3-time/src/year.js +49 -0
  964. package/.output/server/node_modules/d3-time-format/package.json +60 -0
  965. package/.output/server/node_modules/d3-time-format/src/defaultLocale.js +27 -0
  966. package/.output/server/node_modules/d3-time-format/src/index.js +4 -0
  967. package/.output/server/node_modules/d3-time-format/src/isoFormat.js +13 -0
  968. package/.output/server/node_modules/d3-time-format/src/isoParse.js +13 -0
  969. package/.output/server/node_modules/d3-time-format/src/locale.js +697 -0
  970. package/.output/server/node_modules/d3-timer/package.json +53 -0
  971. package/.output/server/node_modules/d3-timer/src/index.js +13 -0
  972. package/.output/server/node_modules/d3-timer/src/interval.js +17 -0
  973. package/.output/server/node_modules/d3-timer/src/timeout.js +11 -0
  974. package/.output/server/node_modules/d3-timer/src/timer.js +110 -0
  975. package/.output/server/node_modules/d3-transition/package.json +65 -0
  976. package/.output/server/node_modules/d3-transition/src/active.js +21 -0
  977. package/.output/server/node_modules/d3-transition/src/index.js +4 -0
  978. package/.output/server/node_modules/d3-transition/src/interrupt.js +24 -0
  979. package/.output/server/node_modules/d3-transition/src/selection/index.js +6 -0
  980. package/.output/server/node_modules/d3-transition/src/selection/interrupt.js +7 -0
  981. package/.output/server/node_modules/d3-transition/src/selection/transition.js +42 -0
  982. package/.output/server/node_modules/d3-transition/src/transition/attr.js +78 -0
  983. package/.output/server/node_modules/d3-transition/src/transition/attrTween.js +44 -0
  984. package/.output/server/node_modules/d3-transition/src/transition/delay.js +23 -0
  985. package/.output/server/node_modules/d3-transition/src/transition/duration.js +23 -0
  986. package/.output/server/node_modules/d3-transition/src/transition/ease.js +16 -0
  987. package/.output/server/node_modules/d3-transition/src/transition/easeVarying.js +14 -0
  988. package/.output/server/node_modules/d3-transition/src/transition/end.js +29 -0
  989. package/.output/server/node_modules/d3-transition/src/transition/filter.js +16 -0
  990. package/.output/server/node_modules/d3-transition/src/transition/index.js +73 -0
  991. package/.output/server/node_modules/d3-transition/src/transition/interpolate.js +10 -0
  992. package/.output/server/node_modules/d3-transition/src/transition/merge.js +19 -0
  993. package/.output/server/node_modules/d3-transition/src/transition/on.js +32 -0
  994. package/.output/server/node_modules/d3-transition/src/transition/remove.js +11 -0
  995. package/.output/server/node_modules/d3-transition/src/transition/schedule.js +153 -0
  996. package/.output/server/node_modules/d3-transition/src/transition/select.js +22 -0
  997. package/.output/server/node_modules/d3-transition/src/transition/selectAll.js +26 -0
  998. package/.output/server/node_modules/d3-transition/src/transition/selection.js +7 -0
  999. package/.output/server/node_modules/d3-transition/src/transition/style.js +80 -0
  1000. package/.output/server/node_modules/d3-transition/src/transition/styleTween.js +24 -0
  1001. package/.output/server/node_modules/d3-transition/src/transition/text.js +20 -0
  1002. package/.output/server/node_modules/d3-transition/src/transition/textTween.js +24 -0
  1003. package/.output/server/node_modules/d3-transition/src/transition/transition.js +24 -0
  1004. package/.output/server/node_modules/d3-transition/src/transition/tween.js +81 -0
  1005. package/.output/server/node_modules/d3-zoom/package.json +57 -0
  1006. package/.output/server/node_modules/d3-zoom/src/constant.js +1 -0
  1007. package/.output/server/node_modules/d3-zoom/src/event.js +14 -0
  1008. package/.output/server/node_modules/d3-zoom/src/index.js +2 -0
  1009. package/.output/server/node_modules/d3-zoom/src/noevent.js +8 -0
  1010. package/.output/server/node_modules/d3-zoom/src/transform.js +51 -0
  1011. package/.output/server/node_modules/d3-zoom/src/zoom.js +447 -0
  1012. package/.output/server/node_modules/defu/dist/defu.mjs +69 -0
  1013. package/.output/server/node_modules/defu/package.json +43 -0
  1014. package/.output/server/node_modules/delaunator/index.js +480 -0
  1015. package/.output/server/node_modules/delaunator/package.json +56 -0
  1016. package/.output/server/node_modules/destr/dist/index.mjs +72 -0
  1017. package/.output/server/node_modules/destr/package.json +47 -0
  1018. package/.output/server/node_modules/devalue/index.js +4 -0
  1019. package/.output/server/node_modules/devalue/package.json +37 -0
  1020. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  1021. package/.output/server/node_modules/devalue/src/constants.js +6 -0
  1022. package/.output/server/node_modules/devalue/src/parse.js +205 -0
  1023. package/.output/server/node_modules/devalue/src/stringify.js +265 -0
  1024. package/.output/server/node_modules/devalue/src/uneval.js +407 -0
  1025. package/.output/server/node_modules/devalue/src/utils.js +118 -0
  1026. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  1027. package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
  1028. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  1029. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  1030. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  1031. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  1032. package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
  1033. package/.output/server/node_modules/entities/package.json +113 -0
  1034. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  1035. package/.output/server/node_modules/estree-walker/package.json +37 -0
  1036. package/.output/server/node_modules/file-uri-to-path/index.js +66 -0
  1037. package/.output/server/node_modules/file-uri-to-path/package.json +32 -0
  1038. package/.output/server/node_modules/h3/dist/index.mjs +2478 -0
  1039. package/.output/server/node_modules/h3/package.json +75 -0
  1040. package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
  1041. package/.output/server/node_modules/hookable/package.json +49 -0
  1042. package/.output/server/node_modules/internmap/package.json +43 -0
  1043. package/.output/server/node_modules/internmap/src/index.js +61 -0
  1044. package/.output/server/node_modules/iron-webcrypto/dist/index.js +298 -0
  1045. package/.output/server/node_modules/iron-webcrypto/package.json +72 -0
  1046. package/.output/server/node_modules/marked/lib/marked.esm.js +72 -0
  1047. package/.output/server/node_modules/marked/package.json +103 -0
  1048. package/.output/server/node_modules/node-mock-http/dist/_polyfill/buffer/node.mjs +1 -0
  1049. package/.output/server/node_modules/node-mock-http/dist/_polyfill/events/node.mjs +1 -0
  1050. package/.output/server/node_modules/node-mock-http/dist/index.mjs +1 -0
  1051. package/.output/server/node_modules/node-mock-http/package.json +63 -0
  1052. package/.output/server/node_modules/radix3/dist/index.mjs +262 -0
  1053. package/.output/server/node_modules/radix3/package.json +52 -0
  1054. package/.output/server/node_modules/robust-predicates/esm/incircle.js +765 -0
  1055. package/.output/server/node_modules/robust-predicates/esm/insphere.js +766 -0
  1056. package/.output/server/node_modules/robust-predicates/esm/orient2d.js +184 -0
  1057. package/.output/server/node_modules/robust-predicates/esm/orient3d.js +462 -0
  1058. package/.output/server/node_modules/robust-predicates/esm/util.js +138 -0
  1059. package/.output/server/node_modules/robust-predicates/index.js +5 -0
  1060. package/.output/server/node_modules/robust-predicates/package.json +75 -0
  1061. package/.output/server/node_modules/sortablejs/Sortable.min.js +2 -0
  1062. package/.output/server/node_modules/sortablejs/package.json +56 -0
  1063. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  1064. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  1065. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  1066. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  1067. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  1068. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  1069. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  1070. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  1071. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  1072. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  1073. package/.output/server/node_modules/source-map-js/package.json +71 -0
  1074. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  1075. package/.output/server/node_modules/ufo/dist/index.mjs +638 -0
  1076. package/.output/server/node_modules/ufo/package.json +47 -0
  1077. package/.output/server/node_modules/uncrypto/dist/crypto.node.mjs +16 -0
  1078. package/.output/server/node_modules/uncrypto/package.json +60 -0
  1079. package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
  1080. package/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
  1081. package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
  1082. package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
  1083. package/.output/server/node_modules/unhead/dist/server.mjs +182 -0
  1084. package/.output/server/node_modules/unhead/dist/shared/unhead.B578PsDV.mjs +266 -0
  1085. package/.output/server/node_modules/unhead/dist/shared/unhead.BPM0-cfG.mjs +44 -0
  1086. package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
  1087. package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
  1088. package/.output/server/node_modules/unhead/dist/shared/unhead.CGCfDSEL.mjs +180 -0
  1089. package/.output/server/node_modules/unhead/dist/shared/unhead.CYpwL2hc.mjs +194 -0
  1090. package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
  1091. package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
  1092. package/.output/server/node_modules/unhead/dist/shared/unhead.ckV6dpEQ.mjs +166 -0
  1093. package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
  1094. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  1095. package/.output/server/node_modules/unhead/package.json +105 -0
  1096. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  1097. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  1098. package/.output/server/node_modules/vue/index.js +7 -0
  1099. package/.output/server/node_modules/vue/index.mjs +1 -0
  1100. package/.output/server/node_modules/vue/package.json +112 -0
  1101. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  1102. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +301 -0
  1103. package/.output/server/node_modules/vue-bundle-renderer/package.json +55 -0
  1104. package/.output/server/node_modules/vue-devtools-stub/dist/index.mjs +11 -0
  1105. package/.output/server/node_modules/vue-devtools-stub/package.json +41 -0
  1106. package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
  1107. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
  1108. package/.output/server/node_modules/vue-router/package.json +153 -0
  1109. package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
  1110. package/.output/server/node_modules/vuedraggable/dist/vuedraggable.umd.min.js +2 -0
  1111. package/.output/server/node_modules/vuedraggable/package.json +97 -0
  1112. package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  1113. package/.output/server/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  1114. package/.output/server/node_modules/yaml/dist/compose/compose-node.js +105 -0
  1115. package/.output/server/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  1116. package/.output/server/node_modules/yaml/dist/compose/composer.js +222 -0
  1117. package/.output/server/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  1118. package/.output/server/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  1119. package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  1120. package/.output/server/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  1121. package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  1122. package/.output/server/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
  1123. package/.output/server/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  1124. package/.output/server/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  1125. package/.output/server/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  1126. package/.output/server/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  1127. package/.output/server/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  1128. package/.output/server/node_modules/yaml/dist/doc/Document.js +337 -0
  1129. package/.output/server/node_modules/yaml/dist/doc/anchors.js +76 -0
  1130. package/.output/server/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  1131. package/.output/server/node_modules/yaml/dist/doc/createNode.js +90 -0
  1132. package/.output/server/node_modules/yaml/dist/doc/directives.js +178 -0
  1133. package/.output/server/node_modules/yaml/dist/errors.js +62 -0
  1134. package/.output/server/node_modules/yaml/dist/index.js +50 -0
  1135. package/.output/server/node_modules/yaml/dist/log.js +19 -0
  1136. package/.output/server/node_modules/yaml/dist/nodes/Alias.js +116 -0
  1137. package/.output/server/node_modules/yaml/dist/nodes/Collection.js +151 -0
  1138. package/.output/server/node_modules/yaml/dist/nodes/Node.js +40 -0
  1139. package/.output/server/node_modules/yaml/dist/nodes/Pair.js +39 -0
  1140. package/.output/server/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  1141. package/.output/server/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  1142. package/.output/server/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  1143. package/.output/server/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  1144. package/.output/server/node_modules/yaml/dist/nodes/identity.js +53 -0
  1145. package/.output/server/node_modules/yaml/dist/nodes/toJS.js +39 -0
  1146. package/.output/server/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  1147. package/.output/server/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  1148. package/.output/server/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  1149. package/.output/server/node_modules/yaml/dist/parse/cst.js +112 -0
  1150. package/.output/server/node_modules/yaml/dist/parse/lexer.js +719 -0
  1151. package/.output/server/node_modules/yaml/dist/parse/line-counter.js +41 -0
  1152. package/.output/server/node_modules/yaml/dist/parse/parser.js +972 -0
  1153. package/.output/server/node_modules/yaml/dist/public-api.js +107 -0
  1154. package/.output/server/node_modules/yaml/dist/schema/Schema.js +39 -0
  1155. package/.output/server/node_modules/yaml/dist/schema/common/map.js +19 -0
  1156. package/.output/server/node_modules/yaml/dist/schema/common/null.js +17 -0
  1157. package/.output/server/node_modules/yaml/dist/schema/common/seq.js +19 -0
  1158. package/.output/server/node_modules/yaml/dist/schema/common/string.js +16 -0
  1159. package/.output/server/node_modules/yaml/dist/schema/core/bool.js +21 -0
  1160. package/.output/server/node_modules/yaml/dist/schema/core/float.js +47 -0
  1161. package/.output/server/node_modules/yaml/dist/schema/core/int.js +42 -0
  1162. package/.output/server/node_modules/yaml/dist/schema/core/schema.js +25 -0
  1163. package/.output/server/node_modules/yaml/dist/schema/json/schema.js +64 -0
  1164. package/.output/server/node_modules/yaml/dist/schema/tags.js +99 -0
  1165. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  1166. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  1167. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  1168. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  1169. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
  1170. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  1171. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  1172. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  1173. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  1174. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  1175. package/.output/server/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  1176. package/.output/server/node_modules/yaml/dist/stringify/stringify.js +131 -0
  1177. package/.output/server/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
  1178. package/.output/server/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  1179. package/.output/server/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  1180. package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
  1181. package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  1182. package/.output/server/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  1183. package/.output/server/node_modules/yaml/dist/visit.js +236 -0
  1184. package/.output/server/node_modules/yaml/package.json +97 -0
  1185. package/.output/server/package.json +90 -0
  1186. package/README.md +396 -117
  1187. package/bin/autocode +2337 -1
  1188. package/package.json +61 -23
  1189. package/templates/prompts/ready.en.md +29 -0
  1190. package/templates/prompts/ready.fr.md +29 -0
  1191. package/dist/cli/commands/comment.d.ts +0 -9
  1192. package/dist/cli/commands/comment.d.ts.map +0 -1
  1193. package/dist/cli/commands/comment.js +0 -40
  1194. package/dist/cli/commands/comment.js.map +0 -1
  1195. package/dist/cli/commands/health.d.ts +0 -9
  1196. package/dist/cli/commands/health.d.ts.map +0 -1
  1197. package/dist/cli/commands/health.js +0 -101
  1198. package/dist/cli/commands/health.js.map +0 -1
  1199. package/dist/cli/commands/init.d.ts +0 -9
  1200. package/dist/cli/commands/init.d.ts.map +0 -1
  1201. package/dist/cli/commands/init.js +0 -63
  1202. package/dist/cli/commands/init.js.map +0 -1
  1203. package/dist/cli/commands/list.d.ts +0 -9
  1204. package/dist/cli/commands/list.d.ts.map +0 -1
  1205. package/dist/cli/commands/list.js +0 -121
  1206. package/dist/cli/commands/list.js.map +0 -1
  1207. package/dist/cli/commands/move.d.ts +0 -9
  1208. package/dist/cli/commands/move.d.ts.map +0 -1
  1209. package/dist/cli/commands/move.js +0 -66
  1210. package/dist/cli/commands/move.js.map +0 -1
  1211. package/dist/cli/commands/new.d.ts +0 -9
  1212. package/dist/cli/commands/new.d.ts.map +0 -1
  1213. package/dist/cli/commands/new.js +0 -105
  1214. package/dist/cli/commands/new.js.map +0 -1
  1215. package/dist/cli/commands/next.d.ts +0 -9
  1216. package/dist/cli/commands/next.d.ts.map +0 -1
  1217. package/dist/cli/commands/next.js +0 -46
  1218. package/dist/cli/commands/next.js.map +0 -1
  1219. package/dist/cli/commands/parent.d.ts +0 -9
  1220. package/dist/cli/commands/parent.d.ts.map +0 -1
  1221. package/dist/cli/commands/parent.js +0 -94
  1222. package/dist/cli/commands/parent.js.map +0 -1
  1223. package/dist/cli/commands/pipeline.d.ts +0 -9
  1224. package/dist/cli/commands/pipeline.d.ts.map +0 -1
  1225. package/dist/cli/commands/pipeline.js +0 -68
  1226. package/dist/cli/commands/pipeline.js.map +0 -1
  1227. package/dist/cli/commands/pipeline.test.d.ts +0 -5
  1228. package/dist/cli/commands/pipeline.test.d.ts.map +0 -1
  1229. package/dist/cli/commands/pipeline.test.js +0 -171
  1230. package/dist/cli/commands/pipeline.test.js.map +0 -1
  1231. package/dist/cli/commands/serve.d.ts +0 -9
  1232. package/dist/cli/commands/serve.d.ts.map +0 -1
  1233. package/dist/cli/commands/serve.js +0 -249
  1234. package/dist/cli/commands/serve.js.map +0 -1
  1235. package/dist/cli/commands/show.d.ts +0 -9
  1236. package/dist/cli/commands/show.d.ts.map +0 -1
  1237. package/dist/cli/commands/show.js +0 -111
  1238. package/dist/cli/commands/show.js.map +0 -1
  1239. package/dist/cli/commands/stats.d.ts +0 -9
  1240. package/dist/cli/commands/stats.d.ts.map +0 -1
  1241. package/dist/cli/commands/stats.js +0 -108
  1242. package/dist/cli/commands/stats.js.map +0 -1
  1243. package/dist/cli/commands/sync.d.ts +0 -9
  1244. package/dist/cli/commands/sync.d.ts.map +0 -1
  1245. package/dist/cli/commands/sync.js +0 -91
  1246. package/dist/cli/commands/sync.js.map +0 -1
  1247. package/dist/cli/commands/tunnel.d.ts +0 -9
  1248. package/dist/cli/commands/tunnel.d.ts.map +0 -1
  1249. package/dist/cli/commands/tunnel.js +0 -90
  1250. package/dist/cli/commands/tunnel.js.map +0 -1
  1251. package/dist/cli/parser.d.ts +0 -13
  1252. package/dist/cli/parser.d.ts.map +0 -1
  1253. package/dist/cli/parser.js +0 -67
  1254. package/dist/cli/parser.js.map +0 -1
  1255. package/dist/core/catalog.d.ts +0 -52
  1256. package/dist/core/catalog.d.ts.map +0 -1
  1257. package/dist/core/catalog.js +0 -102
  1258. package/dist/core/catalog.js.map +0 -1
  1259. package/dist/core/column.d.ts +0 -50
  1260. package/dist/core/column.d.ts.map +0 -1
  1261. package/dist/core/column.js +0 -134
  1262. package/dist/core/column.js.map +0 -1
  1263. package/dist/core/config.d.ts +0 -20
  1264. package/dist/core/config.d.ts.map +0 -1
  1265. package/dist/core/config.js +0 -54
  1266. package/dist/core/config.js.map +0 -1
  1267. package/dist/core/features.d.ts +0 -24
  1268. package/dist/core/features.d.ts.map +0 -1
  1269. package/dist/core/features.js +0 -33
  1270. package/dist/core/features.js.map +0 -1
  1271. package/dist/core/hierarchy.d.ts +0 -121
  1272. package/dist/core/hierarchy.d.ts.map +0 -1
  1273. package/dist/core/hierarchy.js +0 -350
  1274. package/dist/core/hierarchy.js.map +0 -1
  1275. package/dist/core/implementations/FilesystemIssueRepository.d.ts +0 -18
  1276. package/dist/core/implementations/FilesystemIssueRepository.d.ts.map +0 -1
  1277. package/dist/core/implementations/FilesystemIssueRepository.js +0 -149
  1278. package/dist/core/implementations/FilesystemIssueRepository.js.map +0 -1
  1279. package/dist/core/interfaces/IHierarchyService.d.ts +0 -32
  1280. package/dist/core/interfaces/IHierarchyService.d.ts.map +0 -1
  1281. package/dist/core/interfaces/IHierarchyService.js +0 -2
  1282. package/dist/core/interfaces/IHierarchyService.js.map +0 -1
  1283. package/dist/core/interfaces/IIssueRepository.d.ts +0 -55
  1284. package/dist/core/interfaces/IIssueRepository.d.ts.map +0 -1
  1285. package/dist/core/interfaces/IIssueRepository.js +0 -2
  1286. package/dist/core/interfaces/IIssueRepository.js.map +0 -1
  1287. package/dist/core/interfaces/IPipelineService.d.ts +0 -38
  1288. package/dist/core/interfaces/IPipelineService.d.ts.map +0 -1
  1289. package/dist/core/interfaces/IPipelineService.js +0 -2
  1290. package/dist/core/interfaces/IPipelineService.js.map +0 -1
  1291. package/dist/core/interfaces/IWorkflowService.d.ts +0 -38
  1292. package/dist/core/interfaces/IWorkflowService.d.ts.map +0 -1
  1293. package/dist/core/interfaces/IWorkflowService.js +0 -2
  1294. package/dist/core/interfaces/IWorkflowService.js.map +0 -1
  1295. package/dist/core/interfaces/index.d.ts +0 -5
  1296. package/dist/core/interfaces/index.d.ts.map +0 -1
  1297. package/dist/core/interfaces/index.js +0 -2
  1298. package/dist/core/interfaces/index.js.map +0 -1
  1299. package/dist/core/issue.d.ts +0 -62
  1300. package/dist/core/issue.d.ts.map +0 -1
  1301. package/dist/core/issue.js +0 -255
  1302. package/dist/core/issue.js.map +0 -1
  1303. package/dist/core/loop-detector.d.ts +0 -45
  1304. package/dist/core/loop-detector.d.ts.map +0 -1
  1305. package/dist/core/loop-detector.js +0 -81
  1306. package/dist/core/loop-detector.js.map +0 -1
  1307. package/dist/core/pipeline.d.ts +0 -70
  1308. package/dist/core/pipeline.d.ts.map +0 -1
  1309. package/dist/core/pipeline.js +0 -199
  1310. package/dist/core/pipeline.js.map +0 -1
  1311. package/dist/core/sync.d.ts +0 -41
  1312. package/dist/core/sync.d.ts.map +0 -1
  1313. package/dist/core/sync.js +0 -272
  1314. package/dist/core/sync.js.map +0 -1
  1315. package/dist/core/validation.d.ts +0 -26
  1316. package/dist/core/validation.d.ts.map +0 -1
  1317. package/dist/core/validation.js +0 -67
  1318. package/dist/core/validation.js.map +0 -1
  1319. package/dist/core/workflow.d.ts +0 -68
  1320. package/dist/core/workflow.d.ts.map +0 -1
  1321. package/dist/core/workflow.js +0 -226
  1322. package/dist/core/workflow.js.map +0 -1
  1323. package/dist/index.d.ts +0 -8
  1324. package/dist/index.d.ts.map +0 -1
  1325. package/dist/index.js +0 -12
  1326. package/dist/index.js.map +0 -1
  1327. package/dist/server/api-autocomplete.test.d.ts +0 -6
  1328. package/dist/server/api-autocomplete.test.d.ts.map +0 -1
  1329. package/dist/server/api-autocomplete.test.js +0 -249
  1330. package/dist/server/api-autocomplete.test.js.map +0 -1
  1331. package/dist/server/api.d.ts +0 -9
  1332. package/dist/server/api.d.ts.map +0 -1
  1333. package/dist/server/api.js +0 -1377
  1334. package/dist/server/api.js.map +0 -1
  1335. package/dist/server/dashboard/index.d.ts +0 -10
  1336. package/dist/server/dashboard/index.d.ts.map +0 -1
  1337. package/dist/server/dashboard/index.js +0 -16
  1338. package/dist/server/dashboard/index.js.map +0 -1
  1339. package/dist/server/dashboard/pages/autocreate.d.ts +0 -9
  1340. package/dist/server/dashboard/pages/autocreate.d.ts.map +0 -1
  1341. package/dist/server/dashboard/pages/autocreate.js +0 -854
  1342. package/dist/server/dashboard/pages/autocreate.js.map +0 -1
  1343. package/dist/server/dashboard/pages/changelog.d.ts +0 -9
  1344. package/dist/server/dashboard/pages/changelog.d.ts.map +0 -1
  1345. package/dist/server/dashboard/pages/changelog.js +0 -160
  1346. package/dist/server/dashboard/pages/changelog.js.map +0 -1
  1347. package/dist/server/dashboard/pages/column-edit.d.ts +0 -8
  1348. package/dist/server/dashboard/pages/column-edit.d.ts.map +0 -1
  1349. package/dist/server/dashboard/pages/column-edit.js +0 -303
  1350. package/dist/server/dashboard/pages/column-edit.js.map +0 -1
  1351. package/dist/server/dashboard/pages/column-prompt.d.ts +0 -8
  1352. package/dist/server/dashboard/pages/column-prompt.d.ts.map +0 -1
  1353. package/dist/server/dashboard/pages/column-prompt.js +0 -249
  1354. package/dist/server/dashboard/pages/column-prompt.js.map +0 -1
  1355. package/dist/server/dashboard/pages/column-terminal.d.ts +0 -8
  1356. package/dist/server/dashboard/pages/column-terminal.d.ts.map +0 -1
  1357. package/dist/server/dashboard/pages/column-terminal.js +0 -550
  1358. package/dist/server/dashboard/pages/column-terminal.js.map +0 -1
  1359. package/dist/server/dashboard/pages/index.d.ts +0 -21
  1360. package/dist/server/dashboard/pages/index.d.ts.map +0 -1
  1361. package/dist/server/dashboard/pages/index.js +0 -21
  1362. package/dist/server/dashboard/pages/index.js.map +0 -1
  1363. package/dist/server/dashboard/pages/issue-comments.d.ts +0 -8
  1364. package/dist/server/dashboard/pages/issue-comments.d.ts.map +0 -1
  1365. package/dist/server/dashboard/pages/issue-comments.js +0 -283
  1366. package/dist/server/dashboard/pages/issue-comments.js.map +0 -1
  1367. package/dist/server/dashboard/pages/issue-graph.d.ts +0 -9
  1368. package/dist/server/dashboard/pages/issue-graph.d.ts.map +0 -1
  1369. package/dist/server/dashboard/pages/issue-graph.js +0 -629
  1370. package/dist/server/dashboard/pages/issue-graph.js.map +0 -1
  1371. package/dist/server/dashboard/pages/issue-history.d.ts +0 -8
  1372. package/dist/server/dashboard/pages/issue-history.d.ts.map +0 -1
  1373. package/dist/server/dashboard/pages/issue-history.js +0 -149
  1374. package/dist/server/dashboard/pages/issue-history.js.map +0 -1
  1375. package/dist/server/dashboard/pages/issue-shared.d.ts +0 -27
  1376. package/dist/server/dashboard/pages/issue-shared.d.ts.map +0 -1
  1377. package/dist/server/dashboard/pages/issue-shared.js +0 -297
  1378. package/dist/server/dashboard/pages/issue-shared.js.map +0 -1
  1379. package/dist/server/dashboard/pages/issue-terminal.d.ts +0 -8
  1380. package/dist/server/dashboard/pages/issue-terminal.d.ts.map +0 -1
  1381. package/dist/server/dashboard/pages/issue-terminal.js +0 -363
  1382. package/dist/server/dashboard/pages/issue-terminal.js.map +0 -1
  1383. package/dist/server/dashboard/pages/issue-view.d.ts +0 -8
  1384. package/dist/server/dashboard/pages/issue-view.d.ts.map +0 -1
  1385. package/dist/server/dashboard/pages/issue-view.js +0 -386
  1386. package/dist/server/dashboard/pages/issue-view.js.map +0 -1
  1387. package/dist/server/dashboard/pages/main-dashboard.d.ts +0 -11
  1388. package/dist/server/dashboard/pages/main-dashboard.d.ts.map +0 -1
  1389. package/dist/server/dashboard/pages/main-dashboard.js +0 -228
  1390. package/dist/server/dashboard/pages/main-dashboard.js.map +0 -1
  1391. package/dist/server/dashboard/pages/new-issue.d.ts +0 -8
  1392. package/dist/server/dashboard/pages/new-issue.d.ts.map +0 -1
  1393. package/dist/server/dashboard/pages/new-issue.js +0 -898
  1394. package/dist/server/dashboard/pages/new-issue.js.map +0 -1
  1395. package/dist/server/dashboard/pages/new-issue.test.d.ts +0 -6
  1396. package/dist/server/dashboard/pages/new-issue.test.d.ts.map +0 -1
  1397. package/dist/server/dashboard/pages/new-issue.test.js +0 -824
  1398. package/dist/server/dashboard/pages/new-issue.test.js.map +0 -1
  1399. package/dist/server/dashboard/pages/pipeline-configurator.d.ts +0 -8
  1400. package/dist/server/dashboard/pages/pipeline-configurator.d.ts.map +0 -1
  1401. package/dist/server/dashboard/pages/pipeline-configurator.js +0 -1783
  1402. package/dist/server/dashboard/pages/pipeline-configurator.js.map +0 -1
  1403. package/dist/server/dashboard/pages/shared.d.ts +0 -8
  1404. package/dist/server/dashboard/pages/shared.d.ts.map +0 -1
  1405. package/dist/server/dashboard/pages/shared.js +0 -58
  1406. package/dist/server/dashboard/pages/shared.js.map +0 -1
  1407. package/dist/server/dashboard/pages/stats-page.d.ts +0 -8
  1408. package/dist/server/dashboard/pages/stats-page.d.ts.map +0 -1
  1409. package/dist/server/dashboard/pages/stats-page.js +0 -558
  1410. package/dist/server/dashboard/pages/stats-page.js.map +0 -1
  1411. package/dist/server/dashboard/pages/water-quality-form.d.ts +0 -10
  1412. package/dist/server/dashboard/pages/water-quality-form.d.ts.map +0 -1
  1413. package/dist/server/dashboard/pages/water-quality-form.js +0 -910
  1414. package/dist/server/dashboard/pages/water-quality-form.js.map +0 -1
  1415. package/dist/server/dashboard/scripts/index.d.ts +0 -11
  1416. package/dist/server/dashboard/scripts/index.d.ts.map +0 -1
  1417. package/dist/server/dashboard/scripts/index.js +0 -1278
  1418. package/dist/server/dashboard/scripts/index.js.map +0 -1
  1419. package/dist/server/dashboard/shared/header.d.ts +0 -88
  1420. package/dist/server/dashboard/shared/header.d.ts.map +0 -1
  1421. package/dist/server/dashboard/shared/header.js +0 -209
  1422. package/dist/server/dashboard/shared/header.js.map +0 -1
  1423. package/dist/server/dashboard/shared/i18n-script.d.ts +0 -45
  1424. package/dist/server/dashboard/shared/i18n-script.d.ts.map +0 -1
  1425. package/dist/server/dashboard/shared/i18n-script.js +0 -204
  1426. package/dist/server/dashboard/shared/i18n-script.js.map +0 -1
  1427. package/dist/server/dashboard/shared/index.d.ts +0 -19
  1428. package/dist/server/dashboard/shared/index.d.ts.map +0 -1
  1429. package/dist/server/dashboard/shared/index.js +0 -22
  1430. package/dist/server/dashboard/shared/index.js.map +0 -1
  1431. package/dist/server/dashboard/shared/translations.d.ts +0 -515
  1432. package/dist/server/dashboard/shared/translations.d.ts.map +0 -1
  1433. package/dist/server/dashboard/shared/translations.js +0 -591
  1434. package/dist/server/dashboard/shared/translations.js.map +0 -1
  1435. package/dist/server/dashboard/styles/base.d.ts +0 -5
  1436. package/dist/server/dashboard/styles/base.d.ts.map +0 -1
  1437. package/dist/server/dashboard/styles/base.js +0 -130
  1438. package/dist/server/dashboard/styles/base.js.map +0 -1
  1439. package/dist/server/dashboard/styles/board.d.ts +0 -5
  1440. package/dist/server/dashboard/styles/board.d.ts.map +0 -1
  1441. package/dist/server/dashboard/styles/board.js +0 -168
  1442. package/dist/server/dashboard/styles/board.js.map +0 -1
  1443. package/dist/server/dashboard/styles/comments.d.ts +0 -5
  1444. package/dist/server/dashboard/styles/comments.d.ts.map +0 -1
  1445. package/dist/server/dashboard/styles/comments.js +0 -249
  1446. package/dist/server/dashboard/styles/comments.js.map +0 -1
  1447. package/dist/server/dashboard/styles/components.d.ts +0 -5
  1448. package/dist/server/dashboard/styles/components.d.ts.map +0 -1
  1449. package/dist/server/dashboard/styles/components.js +0 -360
  1450. package/dist/server/dashboard/styles/components.js.map +0 -1
  1451. package/dist/server/dashboard/styles/footer.d.ts +0 -5
  1452. package/dist/server/dashboard/styles/footer.d.ts.map +0 -1
  1453. package/dist/server/dashboard/styles/footer.js +0 -40
  1454. package/dist/server/dashboard/styles/footer.js.map +0 -1
  1455. package/dist/server/dashboard/styles/index.d.ts +0 -8
  1456. package/dist/server/dashboard/styles/index.d.ts.map +0 -1
  1457. package/dist/server/dashboard/styles/index.js +0 -27
  1458. package/dist/server/dashboard/styles/index.js.map +0 -1
  1459. package/dist/server/dashboard/styles/logs.d.ts +0 -5
  1460. package/dist/server/dashboard/styles/logs.d.ts.map +0 -1
  1461. package/dist/server/dashboard/styles/logs.js +0 -89
  1462. package/dist/server/dashboard/styles/logs.js.map +0 -1
  1463. package/dist/server/dashboard/styles/notifications.d.ts +0 -5
  1464. package/dist/server/dashboard/styles/notifications.d.ts.map +0 -1
  1465. package/dist/server/dashboard/styles/notifications.js +0 -51
  1466. package/dist/server/dashboard/styles/notifications.js.map +0 -1
  1467. package/dist/server/dashboard/styles/variables.d.ts +0 -5
  1468. package/dist/server/dashboard/styles/variables.d.ts.map +0 -1
  1469. package/dist/server/dashboard/styles/variables.js +0 -29
  1470. package/dist/server/dashboard/styles/variables.js.map +0 -1
  1471. package/dist/server/dashboard/utils.d.ts +0 -8
  1472. package/dist/server/dashboard/utils.d.ts.map +0 -1
  1473. package/dist/server/dashboard/utils.js +0 -14
  1474. package/dist/server/dashboard/utils.js.map +0 -1
  1475. package/dist/server/dashboard.d.ts +0 -8
  1476. package/dist/server/dashboard.d.ts.map +0 -1
  1477. package/dist/server/dashboard.js +0 -8
  1478. package/dist/server/dashboard.js.map +0 -1
  1479. package/dist/server/index.d.ts +0 -8
  1480. package/dist/server/index.d.ts.map +0 -1
  1481. package/dist/server/index.js +0 -274
  1482. package/dist/server/index.js.map +0 -1
  1483. package/dist/server/watcher.d.ts +0 -13
  1484. package/dist/server/watcher.d.ts.map +0 -1
  1485. package/dist/server/watcher.js +0 -62
  1486. package/dist/server/watcher.js.map +0 -1
  1487. package/dist/server/websocket.d.ts +0 -46
  1488. package/dist/server/websocket.d.ts.map +0 -1
  1489. package/dist/server/websocket.js +0 -204
  1490. package/dist/server/websocket.js.map +0 -1
  1491. package/dist/services/autocreate.d.ts +0 -34
  1492. package/dist/services/autocreate.d.ts.map +0 -1
  1493. package/dist/services/autocreate.js +0 -503
  1494. package/dist/services/autocreate.js.map +0 -1
  1495. package/dist/services/claude.d.ts +0 -79
  1496. package/dist/services/claude.d.ts.map +0 -1
  1497. package/dist/services/claude.js +0 -519
  1498. package/dist/services/claude.js.map +0 -1
  1499. package/dist/services/issue-io.d.ts +0 -81
  1500. package/dist/services/issue-io.d.ts.map +0 -1
  1501. package/dist/services/issue-io.js +0 -249
  1502. package/dist/services/issue-io.js.map +0 -1
  1503. package/dist/services/monitoring.d.ts +0 -47
  1504. package/dist/services/monitoring.d.ts.map +0 -1
  1505. package/dist/services/monitoring.js +0 -136
  1506. package/dist/services/monitoring.js.map +0 -1
  1507. package/dist/services/stats.d.ts +0 -58
  1508. package/dist/services/stats.d.ts.map +0 -1
  1509. package/dist/services/stats.js +0 -196
  1510. package/dist/services/stats.js.map +0 -1
  1511. package/dist/types/index.d.ts +0 -213
  1512. package/dist/types/index.d.ts.map +0 -1
  1513. package/dist/types/index.js +0 -8
  1514. package/dist/types/index.js.map +0 -1
  1515. package/dist/utils/config.d.ts +0 -101
  1516. package/dist/utils/config.d.ts.map +0 -1
  1517. package/dist/utils/config.js +0 -98
  1518. package/dist/utils/config.js.map +0 -1
  1519. package/dist/utils/fs.d.ts +0 -60
  1520. package/dist/utils/fs.d.ts.map +0 -1
  1521. package/dist/utils/fs.js +0 -129
  1522. package/dist/utils/fs.js.map +0 -1
  1523. package/dist/utils/logger.d.ts +0 -23
  1524. package/dist/utils/logger.d.ts.map +0 -1
  1525. package/dist/utils/logger.js +0 -56
  1526. package/dist/utils/logger.js.map +0 -1
  1527. package/dist/utils/tunnel.d.ts +0 -62
  1528. package/dist/utils/tunnel.d.ts.map +0 -1
  1529. package/dist/utils/tunnel.js +0 -240
  1530. package/dist/utils/tunnel.js.map +0 -1
  1531. package/dist/utils/version-check.d.ts +0 -26
  1532. package/dist/utils/version-check.d.ts.map +0 -1
  1533. package/dist/utils/version-check.js +0 -234
  1534. package/dist/utils/version-check.js.map +0 -1
@@ -0,0 +1,1557 @@
1
+ /*!
2
+ * vue-router v4.6.4
3
+ * (c) 2025 Eduardo San Martin Morote
4
+ * @license MIT
5
+ */
6
+ import { $ as isBrowser, A as START, B as stringifyURL, C as computeScrollPosition, D as scrollToPosition, E as saveScrollPosition, F as isSameRouteLocation, H as decode, I as isSameRouteLocationParams, J as assign, K as warn$1, L as isSameRouteRecord, M as normalizeBase, O as NavigationDirection, P as START_LOCATION_NORMALIZED, Q as noop, R as parseURL, S as isRouteName, T as getScrollKey, U as encodeHash, V as stripBase, W as encodeParam, X as isArray, Z as mergeOptions, _ as ErrorTypes, a as loadRouteLocation, b as isNavigationFailure, c as useCallbacks, d as routerKey, f as routerViewLocationKey, g as stringifyQuery, h as parseQuery, i as guardToPromiseFn, j as createHref, k as NavigationType, l as matchedRouteKey, m as normalizeQuery, n as extractChangingRecords, o as onBeforeRouteLeave, p as viewDepthKey, q as applyToParams, r as extractComponentsGuards, s as onBeforeRouteUpdate, t as addDevtools, u as routeLocationKey, v as NavigationFailureType, w as getSavedScrollPosition, x as isRouteLocation, y as createRouterError } from "./devtools-EWN81iOl.mjs";
7
+ import { computed, defineComponent, getCurrentInstance, h, inject, nextTick, provide, reactive, ref, shallowReactive, shallowRef, unref, watch, watchEffect } from "vue";
8
+
9
+ //#region src/history/html5.ts
10
+ let createBaseLocation = () => location.protocol + "//" + location.host;
11
+ /**
12
+ * Creates a normalized history location from a window.location object
13
+ * @param base - The base path
14
+ * @param location - The window.location object
15
+ */
16
+ function createCurrentLocation(base, location$1) {
17
+ const { pathname, search, hash } = location$1;
18
+ const hashPos = base.indexOf("#");
19
+ if (hashPos > -1) {
20
+ let slicePos = hash.includes(base.slice(hashPos)) ? base.slice(hashPos).length : 1;
21
+ let pathFromHash = hash.slice(slicePos);
22
+ if (pathFromHash[0] !== "/") pathFromHash = "/" + pathFromHash;
23
+ return stripBase(pathFromHash, "");
24
+ }
25
+ return stripBase(pathname, base) + search + hash;
26
+ }
27
+ function useHistoryListeners(base, historyState, currentLocation, replace) {
28
+ let listeners = [];
29
+ let teardowns = [];
30
+ let pauseState = null;
31
+ const popStateHandler = ({ state }) => {
32
+ const to = createCurrentLocation(base, location);
33
+ const from = currentLocation.value;
34
+ const fromState = historyState.value;
35
+ let delta = 0;
36
+ if (state) {
37
+ currentLocation.value = to;
38
+ historyState.value = state;
39
+ if (pauseState && pauseState === from) {
40
+ pauseState = null;
41
+ return;
42
+ }
43
+ delta = fromState ? state.position - fromState.position : 0;
44
+ } else replace(to);
45
+ listeners.forEach((listener) => {
46
+ listener(currentLocation.value, from, {
47
+ delta,
48
+ type: NavigationType.pop,
49
+ direction: delta ? delta > 0 ? NavigationDirection.forward : NavigationDirection.back : NavigationDirection.unknown
50
+ });
51
+ });
52
+ };
53
+ function pauseListeners() {
54
+ pauseState = currentLocation.value;
55
+ }
56
+ function listen(callback) {
57
+ listeners.push(callback);
58
+ const teardown = () => {
59
+ const index = listeners.indexOf(callback);
60
+ if (index > -1) listeners.splice(index, 1);
61
+ };
62
+ teardowns.push(teardown);
63
+ return teardown;
64
+ }
65
+ function beforeUnloadListener() {
66
+ if (document.visibilityState === "hidden") {
67
+ const { history: history$1 } = window;
68
+ if (!history$1.state) return;
69
+ history$1.replaceState(assign({}, history$1.state, { scroll: computeScrollPosition() }), "");
70
+ }
71
+ }
72
+ function destroy() {
73
+ for (const teardown of teardowns) teardown();
74
+ teardowns = [];
75
+ window.removeEventListener("popstate", popStateHandler);
76
+ window.removeEventListener("pagehide", beforeUnloadListener);
77
+ document.removeEventListener("visibilitychange", beforeUnloadListener);
78
+ }
79
+ window.addEventListener("popstate", popStateHandler);
80
+ window.addEventListener("pagehide", beforeUnloadListener);
81
+ document.addEventListener("visibilitychange", beforeUnloadListener);
82
+ return {
83
+ pauseListeners,
84
+ listen,
85
+ destroy
86
+ };
87
+ }
88
+ /**
89
+ * Creates a state object
90
+ */
91
+ function buildState(back, current, forward, replaced = false, computeScroll = false) {
92
+ return {
93
+ back,
94
+ current,
95
+ forward,
96
+ replaced,
97
+ position: window.history.length,
98
+ scroll: computeScroll ? computeScrollPosition() : null
99
+ };
100
+ }
101
+ function useHistoryStateNavigation(base) {
102
+ const { history: history$1, location: location$1 } = window;
103
+ const currentLocation = { value: createCurrentLocation(base, location$1) };
104
+ const historyState = { value: history$1.state };
105
+ if (!historyState.value) changeLocation(currentLocation.value, {
106
+ back: null,
107
+ current: currentLocation.value,
108
+ forward: null,
109
+ position: history$1.length - 1,
110
+ replaced: true,
111
+ scroll: null
112
+ }, true);
113
+ function changeLocation(to, state, replace$1) {
114
+ /**
115
+ * if a base tag is provided, and we are on a normal domain, we have to
116
+ * respect the provided `base` attribute because pushState() will use it and
117
+ * potentially erase anything before the `#` like at
118
+ * https://github.com/vuejs/router/issues/685 where a base of
119
+ * `/folder/#` but a base of `/` would erase the `/folder/` section. If
120
+ * there is no host, the `<base>` tag makes no sense and if there isn't a
121
+ * base tag we can just use everything after the `#`.
122
+ */
123
+ const hashIndex = base.indexOf("#");
124
+ const url = hashIndex > -1 ? (location$1.host && document.querySelector("base") ? base : base.slice(hashIndex)) + to : createBaseLocation() + base + to;
125
+ try {
126
+ history$1[replace$1 ? "replaceState" : "pushState"](state, "", url);
127
+ historyState.value = state;
128
+ } catch (err) {
129
+ if (process.env.NODE_ENV !== "production") warn$1("Error with push/replace State", err);
130
+ else console.error(err);
131
+ location$1[replace$1 ? "replace" : "assign"](url);
132
+ }
133
+ }
134
+ function replace(to, data) {
135
+ changeLocation(to, assign({}, history$1.state, buildState(historyState.value.back, to, historyState.value.forward, true), data, { position: historyState.value.position }), true);
136
+ currentLocation.value = to;
137
+ }
138
+ function push(to, data) {
139
+ const currentState = assign({}, historyState.value, history$1.state, {
140
+ forward: to,
141
+ scroll: computeScrollPosition()
142
+ });
143
+ if (process.env.NODE_ENV !== "production" && !history$1.state) warn$1("history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:\n\nhistory.replaceState(history.state, '', url)\n\nYou can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state");
144
+ changeLocation(currentState.current, currentState, true);
145
+ changeLocation(to, assign({}, buildState(currentLocation.value, to, null), { position: currentState.position + 1 }, data), false);
146
+ currentLocation.value = to;
147
+ }
148
+ return {
149
+ location: currentLocation,
150
+ state: historyState,
151
+ push,
152
+ replace
153
+ };
154
+ }
155
+ /**
156
+ * Creates an HTML5 history. Most common history for single page applications.
157
+ *
158
+ * @param base -
159
+ */
160
+ function createWebHistory(base) {
161
+ base = normalizeBase(base);
162
+ const historyNavigation = useHistoryStateNavigation(base);
163
+ const historyListeners = useHistoryListeners(base, historyNavigation.state, historyNavigation.location, historyNavigation.replace);
164
+ function go(delta, triggerListeners = true) {
165
+ if (!triggerListeners) historyListeners.pauseListeners();
166
+ history.go(delta);
167
+ }
168
+ const routerHistory = assign({
169
+ location: "",
170
+ base,
171
+ go,
172
+ createHref: createHref.bind(null, base)
173
+ }, historyNavigation, historyListeners);
174
+ Object.defineProperty(routerHistory, "location", {
175
+ enumerable: true,
176
+ get: () => historyNavigation.location.value
177
+ });
178
+ Object.defineProperty(routerHistory, "state", {
179
+ enumerable: true,
180
+ get: () => historyNavigation.state.value
181
+ });
182
+ return routerHistory;
183
+ }
184
+
185
+ //#endregion
186
+ //#region src/history/memory.ts
187
+ /**
188
+ * Creates an in-memory based history. The main purpose of this history is to handle SSR. It starts in a special location that is nowhere.
189
+ * It's up to the user to replace that location with the starter location by either calling `router.push` or `router.replace`.
190
+ *
191
+ * @param base - Base applied to all urls, defaults to '/'
192
+ * @returns a history object that can be passed to the router constructor
193
+ */
194
+ function createMemoryHistory(base = "") {
195
+ let listeners = [];
196
+ let queue = [[START, {}]];
197
+ let position = 0;
198
+ base = normalizeBase(base);
199
+ function setLocation(location$1, state = {}) {
200
+ position++;
201
+ if (position !== queue.length) queue.splice(position);
202
+ queue.push([location$1, state]);
203
+ }
204
+ function triggerListeners(to, from, { direction, delta }) {
205
+ const info = {
206
+ direction,
207
+ delta,
208
+ type: NavigationType.pop
209
+ };
210
+ for (const callback of listeners) callback(to, from, info);
211
+ }
212
+ const routerHistory = {
213
+ location: START,
214
+ state: {},
215
+ base,
216
+ createHref: createHref.bind(null, base),
217
+ replace(to, state) {
218
+ queue.splice(position--, 1);
219
+ setLocation(to, state);
220
+ },
221
+ push(to, state) {
222
+ setLocation(to, state);
223
+ },
224
+ listen(callback) {
225
+ listeners.push(callback);
226
+ return () => {
227
+ const index = listeners.indexOf(callback);
228
+ if (index > -1) listeners.splice(index, 1);
229
+ };
230
+ },
231
+ destroy() {
232
+ listeners = [];
233
+ queue = [[START, {}]];
234
+ position = 0;
235
+ },
236
+ go(delta, shouldTrigger = true) {
237
+ const from = this.location;
238
+ const direction = delta < 0 ? NavigationDirection.back : NavigationDirection.forward;
239
+ position = Math.max(0, Math.min(position + delta, queue.length - 1));
240
+ if (shouldTrigger) triggerListeners(this.location, from, {
241
+ direction,
242
+ delta
243
+ });
244
+ }
245
+ };
246
+ Object.defineProperty(routerHistory, "location", {
247
+ enumerable: true,
248
+ get: () => queue[position][0]
249
+ });
250
+ Object.defineProperty(routerHistory, "state", {
251
+ enumerable: true,
252
+ get: () => queue[position][1]
253
+ });
254
+ return routerHistory;
255
+ }
256
+
257
+ //#endregion
258
+ //#region src/history/hash.ts
259
+ /**
260
+ * Creates a hash history. Useful for web applications with no host (e.g. `file://`) or when configuring a server to
261
+ * handle any URL is not possible.
262
+ *
263
+ * @param base - optional base to provide. Defaults to `location.pathname + location.search` If there is a `<base>` tag
264
+ * in the `head`, its value will be ignored in favor of this parameter **but note it affects all the history.pushState()
265
+ * calls**, meaning that if you use a `<base>` tag, it's `href` value **has to match this parameter** (ignoring anything
266
+ * after the `#`).
267
+ *
268
+ * @example
269
+ * ```js
270
+ * // at https://example.com/folder
271
+ * createWebHashHistory() // gives a url of `https://example.com/folder#`
272
+ * createWebHashHistory('/folder/') // gives a url of `https://example.com/folder/#`
273
+ * // if the `#` is provided in the base, it won't be added by `createWebHashHistory`
274
+ * createWebHashHistory('/folder/#/app/') // gives a url of `https://example.com/folder/#/app/`
275
+ * // you should avoid doing this because it changes the original url and breaks copying urls
276
+ * createWebHashHistory('/other-folder/') // gives a url of `https://example.com/other-folder/#`
277
+ *
278
+ * // at file:///usr/etc/folder/index.html
279
+ * // for locations with no `host`, the base is ignored
280
+ * createWebHashHistory('/iAmIgnored') // gives a url of `file:///usr/etc/folder/index.html#`
281
+ * ```
282
+ */
283
+ function createWebHashHistory(base) {
284
+ base = location.host ? base || location.pathname + location.search : "";
285
+ if (!base.includes("#")) base += "#";
286
+ if (process.env.NODE_ENV !== "production" && !base.endsWith("#/") && !base.endsWith("#")) warn$1(`A hash base must end with a "#":\n"${base}" should be "${base.replace(/#.*$/, "#")}".`);
287
+ return createWebHistory(base);
288
+ }
289
+
290
+ //#endregion
291
+ //#region src/matcher/pathTokenizer.ts
292
+ let TokenType = /* @__PURE__ */ function(TokenType$1) {
293
+ TokenType$1[TokenType$1["Static"] = 0] = "Static";
294
+ TokenType$1[TokenType$1["Param"] = 1] = "Param";
295
+ TokenType$1[TokenType$1["Group"] = 2] = "Group";
296
+ return TokenType$1;
297
+ }({});
298
+ var TokenizerState = /* @__PURE__ */ function(TokenizerState$1) {
299
+ TokenizerState$1[TokenizerState$1["Static"] = 0] = "Static";
300
+ TokenizerState$1[TokenizerState$1["Param"] = 1] = "Param";
301
+ TokenizerState$1[TokenizerState$1["ParamRegExp"] = 2] = "ParamRegExp";
302
+ TokenizerState$1[TokenizerState$1["ParamRegExpEnd"] = 3] = "ParamRegExpEnd";
303
+ TokenizerState$1[TokenizerState$1["EscapeNext"] = 4] = "EscapeNext";
304
+ return TokenizerState$1;
305
+ }(TokenizerState || {});
306
+ const ROOT_TOKEN = {
307
+ type: TokenType.Static,
308
+ value: ""
309
+ };
310
+ const VALID_PARAM_RE = /[a-zA-Z0-9_]/;
311
+ function tokenizePath(path) {
312
+ if (!path) return [[]];
313
+ if (path === "/") return [[ROOT_TOKEN]];
314
+ if (!path.startsWith("/")) throw new Error(process.env.NODE_ENV !== "production" ? `Route paths should start with a "/": "${path}" should be "/${path}".` : `Invalid path "${path}"`);
315
+ function crash(message) {
316
+ throw new Error(`ERR (${state})/"${buffer}": ${message}`);
317
+ }
318
+ let state = TokenizerState.Static;
319
+ let previousState = state;
320
+ const tokens = [];
321
+ let segment;
322
+ function finalizeSegment() {
323
+ if (segment) tokens.push(segment);
324
+ segment = [];
325
+ }
326
+ let i = 0;
327
+ let char;
328
+ let buffer = "";
329
+ let customRe = "";
330
+ function consumeBuffer() {
331
+ if (!buffer) return;
332
+ if (state === TokenizerState.Static) segment.push({
333
+ type: TokenType.Static,
334
+ value: buffer
335
+ });
336
+ else if (state === TokenizerState.Param || state === TokenizerState.ParamRegExp || state === TokenizerState.ParamRegExpEnd) {
337
+ if (segment.length > 1 && (char === "*" || char === "+")) crash(`A repeatable param (${buffer}) must be alone in its segment. eg: '/:ids+.`);
338
+ segment.push({
339
+ type: TokenType.Param,
340
+ value: buffer,
341
+ regexp: customRe,
342
+ repeatable: char === "*" || char === "+",
343
+ optional: char === "*" || char === "?"
344
+ });
345
+ } else crash("Invalid state to consume buffer");
346
+ buffer = "";
347
+ }
348
+ function addCharToBuffer() {
349
+ buffer += char;
350
+ }
351
+ while (i < path.length) {
352
+ char = path[i++];
353
+ if (char === "\\" && state !== TokenizerState.ParamRegExp) {
354
+ previousState = state;
355
+ state = TokenizerState.EscapeNext;
356
+ continue;
357
+ }
358
+ switch (state) {
359
+ case TokenizerState.Static:
360
+ if (char === "/") {
361
+ if (buffer) consumeBuffer();
362
+ finalizeSegment();
363
+ } else if (char === ":") {
364
+ consumeBuffer();
365
+ state = TokenizerState.Param;
366
+ } else addCharToBuffer();
367
+ break;
368
+ case TokenizerState.EscapeNext:
369
+ addCharToBuffer();
370
+ state = previousState;
371
+ break;
372
+ case TokenizerState.Param:
373
+ if (char === "(") state = TokenizerState.ParamRegExp;
374
+ else if (VALID_PARAM_RE.test(char)) addCharToBuffer();
375
+ else {
376
+ consumeBuffer();
377
+ state = TokenizerState.Static;
378
+ if (char !== "*" && char !== "?" && char !== "+") i--;
379
+ }
380
+ break;
381
+ case TokenizerState.ParamRegExp:
382
+ if (char === ")") if (customRe[customRe.length - 1] == "\\") customRe = customRe.slice(0, -1) + char;
383
+ else state = TokenizerState.ParamRegExpEnd;
384
+ else customRe += char;
385
+ break;
386
+ case TokenizerState.ParamRegExpEnd:
387
+ consumeBuffer();
388
+ state = TokenizerState.Static;
389
+ if (char !== "*" && char !== "?" && char !== "+") i--;
390
+ customRe = "";
391
+ break;
392
+ default:
393
+ crash("Unknown state");
394
+ break;
395
+ }
396
+ }
397
+ if (state === TokenizerState.ParamRegExp) crash(`Unfinished custom RegExp for param "${buffer}"`);
398
+ consumeBuffer();
399
+ finalizeSegment();
400
+ return tokens;
401
+ }
402
+
403
+ //#endregion
404
+ //#region src/matcher/pathParserRanker.ts
405
+ const BASE_PARAM_PATTERN = "[^/]+?";
406
+ const BASE_PATH_PARSER_OPTIONS = {
407
+ sensitive: false,
408
+ strict: false,
409
+ start: true,
410
+ end: true
411
+ };
412
+ var PathScore = /* @__PURE__ */ function(PathScore$1) {
413
+ PathScore$1[PathScore$1["_multiplier"] = 10] = "_multiplier";
414
+ PathScore$1[PathScore$1["Root"] = 90] = "Root";
415
+ PathScore$1[PathScore$1["Segment"] = 40] = "Segment";
416
+ PathScore$1[PathScore$1["SubSegment"] = 30] = "SubSegment";
417
+ PathScore$1[PathScore$1["Static"] = 40] = "Static";
418
+ PathScore$1[PathScore$1["Dynamic"] = 20] = "Dynamic";
419
+ PathScore$1[PathScore$1["BonusCustomRegExp"] = 10] = "BonusCustomRegExp";
420
+ PathScore$1[PathScore$1["BonusWildcard"] = -50] = "BonusWildcard";
421
+ PathScore$1[PathScore$1["BonusRepeatable"] = -20] = "BonusRepeatable";
422
+ PathScore$1[PathScore$1["BonusOptional"] = -8] = "BonusOptional";
423
+ PathScore$1[PathScore$1["BonusStrict"] = .7000000000000001] = "BonusStrict";
424
+ PathScore$1[PathScore$1["BonusCaseSensitive"] = .25] = "BonusCaseSensitive";
425
+ return PathScore$1;
426
+ }(PathScore || {});
427
+ const REGEX_CHARS_RE = /[.+*?^${}()[\]/\\]/g;
428
+ /**
429
+ * Creates a path parser from an array of Segments (a segment is an array of Tokens)
430
+ *
431
+ * @param segments - array of segments returned by tokenizePath
432
+ * @param extraOptions - optional options for the regexp
433
+ * @returns a PathParser
434
+ */
435
+ function tokensToParser(segments, extraOptions) {
436
+ const options = assign({}, BASE_PATH_PARSER_OPTIONS, extraOptions);
437
+ const score = [];
438
+ let pattern = options.start ? "^" : "";
439
+ const keys = [];
440
+ for (const segment of segments) {
441
+ const segmentScores = segment.length ? [] : [PathScore.Root];
442
+ if (options.strict && !segment.length) pattern += "/";
443
+ for (let tokenIndex = 0; tokenIndex < segment.length; tokenIndex++) {
444
+ const token = segment[tokenIndex];
445
+ let subSegmentScore = PathScore.Segment + (options.sensitive ? PathScore.BonusCaseSensitive : 0);
446
+ if (token.type === TokenType.Static) {
447
+ if (!tokenIndex) pattern += "/";
448
+ pattern += token.value.replace(REGEX_CHARS_RE, "\\$&");
449
+ subSegmentScore += PathScore.Static;
450
+ } else if (token.type === TokenType.Param) {
451
+ const { value, repeatable, optional, regexp } = token;
452
+ keys.push({
453
+ name: value,
454
+ repeatable,
455
+ optional
456
+ });
457
+ const re$1 = regexp ? regexp : BASE_PARAM_PATTERN;
458
+ if (re$1 !== BASE_PARAM_PATTERN) {
459
+ subSegmentScore += PathScore.BonusCustomRegExp;
460
+ try {
461
+ `${re$1}`;
462
+ } catch (err) {
463
+ throw new Error(`Invalid custom RegExp for param "${value}" (${re$1}): ` + err.message);
464
+ }
465
+ }
466
+ let subPattern = repeatable ? `((?:${re$1})(?:/(?:${re$1}))*)` : `(${re$1})`;
467
+ if (!tokenIndex) subPattern = optional && segment.length < 2 ? `(?:/${subPattern})` : "/" + subPattern;
468
+ if (optional) subPattern += "?";
469
+ pattern += subPattern;
470
+ subSegmentScore += PathScore.Dynamic;
471
+ if (optional) subSegmentScore += PathScore.BonusOptional;
472
+ if (repeatable) subSegmentScore += PathScore.BonusRepeatable;
473
+ if (re$1 === ".*") subSegmentScore += PathScore.BonusWildcard;
474
+ }
475
+ segmentScores.push(subSegmentScore);
476
+ }
477
+ score.push(segmentScores);
478
+ }
479
+ if (options.strict && options.end) {
480
+ const i = score.length - 1;
481
+ score[i][score[i].length - 1] += PathScore.BonusStrict;
482
+ }
483
+ if (!options.strict) pattern += "/?";
484
+ if (options.end) pattern += "$";
485
+ else if (options.strict && !pattern.endsWith("/")) pattern += "(?:/|$)";
486
+ const re = new RegExp(pattern, options.sensitive ? "" : "i");
487
+ function parse(path) {
488
+ const match = path.match(re);
489
+ const params = {};
490
+ if (!match) return null;
491
+ for (let i = 1; i < match.length; i++) {
492
+ const value = match[i] || "";
493
+ const key = keys[i - 1];
494
+ params[key.name] = value && key.repeatable ? value.split("/") : value;
495
+ }
496
+ return params;
497
+ }
498
+ function stringify(params) {
499
+ let path = "";
500
+ let avoidDuplicatedSlash = false;
501
+ for (const segment of segments) {
502
+ if (!avoidDuplicatedSlash || !path.endsWith("/")) path += "/";
503
+ avoidDuplicatedSlash = false;
504
+ for (const token of segment) if (token.type === TokenType.Static) path += token.value;
505
+ else if (token.type === TokenType.Param) {
506
+ const { value, repeatable, optional } = token;
507
+ const param = value in params ? params[value] : "";
508
+ if (isArray(param) && !repeatable) throw new Error(`Provided param "${value}" is an array but it is not repeatable (* or + modifiers)`);
509
+ const text = isArray(param) ? param.join("/") : param;
510
+ if (!text) if (optional) {
511
+ if (segment.length < 2) if (path.endsWith("/")) path = path.slice(0, -1);
512
+ else avoidDuplicatedSlash = true;
513
+ } else throw new Error(`Missing required param "${value}"`);
514
+ path += text;
515
+ }
516
+ }
517
+ return path || "/";
518
+ }
519
+ return {
520
+ re,
521
+ score,
522
+ keys,
523
+ parse,
524
+ stringify
525
+ };
526
+ }
527
+ /**
528
+ * Compares an array of numbers as used in PathParser.score and returns a
529
+ * number. This function can be used to `sort` an array
530
+ *
531
+ * @param a - first array of numbers
532
+ * @param b - second array of numbers
533
+ * @returns 0 if both are equal, < 0 if a should be sorted first, > 0 if b
534
+ * should be sorted first
535
+ */
536
+ function compareScoreArray(a, b) {
537
+ let i = 0;
538
+ while (i < a.length && i < b.length) {
539
+ const diff = b[i] - a[i];
540
+ if (diff) return diff;
541
+ i++;
542
+ }
543
+ if (a.length < b.length) return a.length === 1 && a[0] === PathScore.Static + PathScore.Segment ? -1 : 1;
544
+ else if (a.length > b.length) return b.length === 1 && b[0] === PathScore.Static + PathScore.Segment ? 1 : -1;
545
+ return 0;
546
+ }
547
+ /**
548
+ * Compare function that can be used with `sort` to sort an array of PathParser
549
+ *
550
+ * @param a - first PathParser
551
+ * @param b - second PathParser
552
+ * @returns 0 if both are equal, < 0 if a should be sorted first, > 0 if b
553
+ */
554
+ function comparePathParserScore(a, b) {
555
+ let i = 0;
556
+ const aScore = a.score;
557
+ const bScore = b.score;
558
+ while (i < aScore.length && i < bScore.length) {
559
+ const comp = compareScoreArray(aScore[i], bScore[i]);
560
+ if (comp) return comp;
561
+ i++;
562
+ }
563
+ if (Math.abs(bScore.length - aScore.length) === 1) {
564
+ if (isLastScoreNegative(aScore)) return 1;
565
+ if (isLastScoreNegative(bScore)) return -1;
566
+ }
567
+ return bScore.length - aScore.length;
568
+ }
569
+ /**
570
+ * This allows detecting splats at the end of a path: /home/:id(.*)*
571
+ *
572
+ * @param score - score to check
573
+ * @returns true if the last entry is negative
574
+ */
575
+ function isLastScoreNegative(score) {
576
+ const last = score[score.length - 1];
577
+ return score.length > 0 && last[last.length - 1] < 0;
578
+ }
579
+ const PATH_PARSER_OPTIONS_DEFAULTS = {
580
+ strict: false,
581
+ end: true,
582
+ sensitive: false
583
+ };
584
+
585
+ //#endregion
586
+ //#region src/matcher/pathMatcher.ts
587
+ function createRouteRecordMatcher(record, parent, options) {
588
+ const parser = tokensToParser(tokenizePath(record.path), options);
589
+ if (process.env.NODE_ENV !== "production") {
590
+ const existingKeys = /* @__PURE__ */ new Set();
591
+ for (const key of parser.keys) {
592
+ if (existingKeys.has(key.name)) warn$1(`Found duplicated params with name "${key.name}" for path "${record.path}". Only the last one will be available on "$route.params".`);
593
+ existingKeys.add(key.name);
594
+ }
595
+ }
596
+ const matcher = assign(parser, {
597
+ record,
598
+ parent,
599
+ children: [],
600
+ alias: []
601
+ });
602
+ if (parent) {
603
+ if (!matcher.record.aliasOf === !parent.record.aliasOf) parent.children.push(matcher);
604
+ }
605
+ return matcher;
606
+ }
607
+
608
+ //#endregion
609
+ //#region src/matcher/index.ts
610
+ /**
611
+ * Creates a Router Matcher.
612
+ *
613
+ * @internal
614
+ * @param routes - array of initial routes
615
+ * @param globalOptions - global route options
616
+ */
617
+ function createRouterMatcher(routes, globalOptions) {
618
+ const matchers = [];
619
+ const matcherMap = /* @__PURE__ */ new Map();
620
+ globalOptions = mergeOptions(PATH_PARSER_OPTIONS_DEFAULTS, globalOptions);
621
+ function getRecordMatcher(name) {
622
+ return matcherMap.get(name);
623
+ }
624
+ function addRoute(record, parent, originalRecord) {
625
+ const isRootAdd = !originalRecord;
626
+ const mainNormalizedRecord = normalizeRouteRecord(record);
627
+ if (process.env.NODE_ENV !== "production") checkChildMissingNameWithEmptyPath(mainNormalizedRecord, parent);
628
+ mainNormalizedRecord.aliasOf = originalRecord && originalRecord.record;
629
+ const options = mergeOptions(globalOptions, record);
630
+ const normalizedRecords = [mainNormalizedRecord];
631
+ if ("alias" in record) {
632
+ const aliases = typeof record.alias === "string" ? [record.alias] : record.alias;
633
+ for (const alias of aliases) normalizedRecords.push(normalizeRouteRecord(assign({}, mainNormalizedRecord, {
634
+ components: originalRecord ? originalRecord.record.components : mainNormalizedRecord.components,
635
+ path: alias,
636
+ aliasOf: originalRecord ? originalRecord.record : mainNormalizedRecord
637
+ })));
638
+ }
639
+ let matcher;
640
+ let originalMatcher;
641
+ for (const normalizedRecord of normalizedRecords) {
642
+ const { path } = normalizedRecord;
643
+ if (parent && path[0] !== "/") {
644
+ const parentPath = parent.record.path;
645
+ const connectingSlash = parentPath[parentPath.length - 1] === "/" ? "" : "/";
646
+ normalizedRecord.path = parent.record.path + (path && connectingSlash + path);
647
+ }
648
+ if (process.env.NODE_ENV !== "production" && normalizedRecord.path === "*") throw new Error("Catch all routes (\"*\") must now be defined using a param with a custom regexp.\nSee more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.");
649
+ matcher = createRouteRecordMatcher(normalizedRecord, parent, options);
650
+ if (process.env.NODE_ENV !== "production" && parent && path[0] === "/") checkMissingParamsInAbsolutePath(matcher, parent);
651
+ if (originalRecord) {
652
+ originalRecord.alias.push(matcher);
653
+ if (process.env.NODE_ENV !== "production") checkSameParams(originalRecord, matcher);
654
+ } else {
655
+ originalMatcher = originalMatcher || matcher;
656
+ if (originalMatcher !== matcher) originalMatcher.alias.push(matcher);
657
+ if (isRootAdd && record.name && !isAliasRecord(matcher)) {
658
+ if (process.env.NODE_ENV !== "production") checkSameNameAsAncestor(record, parent);
659
+ removeRoute(record.name);
660
+ }
661
+ }
662
+ if (isMatchable(matcher)) insertMatcher(matcher);
663
+ if (mainNormalizedRecord.children) {
664
+ const children = mainNormalizedRecord.children;
665
+ for (let i = 0; i < children.length; i++) addRoute(children[i], matcher, originalRecord && originalRecord.children[i]);
666
+ }
667
+ originalRecord = originalRecord || matcher;
668
+ }
669
+ return originalMatcher ? () => {
670
+ removeRoute(originalMatcher);
671
+ } : noop;
672
+ }
673
+ function removeRoute(matcherRef) {
674
+ if (isRouteName(matcherRef)) {
675
+ const matcher = matcherMap.get(matcherRef);
676
+ if (matcher) {
677
+ matcherMap.delete(matcherRef);
678
+ matchers.splice(matchers.indexOf(matcher), 1);
679
+ matcher.children.forEach(removeRoute);
680
+ matcher.alias.forEach(removeRoute);
681
+ }
682
+ } else {
683
+ const index = matchers.indexOf(matcherRef);
684
+ if (index > -1) {
685
+ matchers.splice(index, 1);
686
+ if (matcherRef.record.name) matcherMap.delete(matcherRef.record.name);
687
+ matcherRef.children.forEach(removeRoute);
688
+ matcherRef.alias.forEach(removeRoute);
689
+ }
690
+ }
691
+ }
692
+ function getRoutes() {
693
+ return matchers;
694
+ }
695
+ function insertMatcher(matcher) {
696
+ const index = findInsertionIndex(matcher, matchers);
697
+ matchers.splice(index, 0, matcher);
698
+ if (matcher.record.name && !isAliasRecord(matcher)) matcherMap.set(matcher.record.name, matcher);
699
+ }
700
+ function resolve(location$1, currentLocation) {
701
+ let matcher;
702
+ let params = {};
703
+ let path;
704
+ let name;
705
+ if ("name" in location$1 && location$1.name) {
706
+ matcher = matcherMap.get(location$1.name);
707
+ if (!matcher) throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND, { location: location$1 });
708
+ if (process.env.NODE_ENV !== "production") {
709
+ const invalidParams = Object.keys(location$1.params || {}).filter((paramName) => !matcher.keys.find((k) => k.name === paramName));
710
+ if (invalidParams.length) warn$1(`Discarded invalid param(s) "${invalidParams.join("\", \"")}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);
711
+ }
712
+ name = matcher.record.name;
713
+ params = assign(pickParams(currentLocation.params, matcher.keys.filter((k) => !k.optional).concat(matcher.parent ? matcher.parent.keys.filter((k) => k.optional) : []).map((k) => k.name)), location$1.params && pickParams(location$1.params, matcher.keys.map((k) => k.name)));
714
+ path = matcher.stringify(params);
715
+ } else if (location$1.path != null) {
716
+ path = location$1.path;
717
+ if (process.env.NODE_ENV !== "production" && !path.startsWith("/")) warn$1(`The Matcher cannot resolve relative paths but received "${path}". Unless you directly called \`matcher.resolve("${path}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`);
718
+ matcher = matchers.find((m) => m.re.test(path));
719
+ if (matcher) {
720
+ params = matcher.parse(path);
721
+ name = matcher.record.name;
722
+ }
723
+ } else {
724
+ matcher = currentLocation.name ? matcherMap.get(currentLocation.name) : matchers.find((m) => m.re.test(currentLocation.path));
725
+ if (!matcher) throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND, {
726
+ location: location$1,
727
+ currentLocation
728
+ });
729
+ name = matcher.record.name;
730
+ params = assign({}, currentLocation.params, location$1.params);
731
+ path = matcher.stringify(params);
732
+ }
733
+ const matched = [];
734
+ let parentMatcher = matcher;
735
+ while (parentMatcher) {
736
+ matched.unshift(parentMatcher.record);
737
+ parentMatcher = parentMatcher.parent;
738
+ }
739
+ return {
740
+ name,
741
+ path,
742
+ params,
743
+ matched,
744
+ meta: mergeMetaFields(matched)
745
+ };
746
+ }
747
+ routes.forEach((route) => addRoute(route));
748
+ function clearRoutes() {
749
+ matchers.length = 0;
750
+ matcherMap.clear();
751
+ }
752
+ return {
753
+ addRoute,
754
+ resolve,
755
+ removeRoute,
756
+ clearRoutes,
757
+ getRoutes,
758
+ getRecordMatcher
759
+ };
760
+ }
761
+ /**
762
+ * Picks an object param to contain only specified keys.
763
+ *
764
+ * @param params - params object to pick from
765
+ * @param keys - keys to pick
766
+ */
767
+ function pickParams(params, keys) {
768
+ const newParams = {};
769
+ for (const key of keys) if (key in params) newParams[key] = params[key];
770
+ return newParams;
771
+ }
772
+ /**
773
+ * Normalizes a RouteRecordRaw. Creates a copy
774
+ *
775
+ * @param record
776
+ * @returns the normalized version
777
+ */
778
+ function normalizeRouteRecord(record) {
779
+ const normalized = {
780
+ path: record.path,
781
+ redirect: record.redirect,
782
+ name: record.name,
783
+ meta: record.meta || {},
784
+ aliasOf: record.aliasOf,
785
+ beforeEnter: record.beforeEnter,
786
+ props: normalizeRecordProps(record),
787
+ children: record.children || [],
788
+ instances: {},
789
+ leaveGuards: /* @__PURE__ */ new Set(),
790
+ updateGuards: /* @__PURE__ */ new Set(),
791
+ enterCallbacks: {},
792
+ components: "components" in record ? record.components || null : record.component && { default: record.component }
793
+ };
794
+ Object.defineProperty(normalized, "mods", { value: {} });
795
+ return normalized;
796
+ }
797
+ /**
798
+ * Normalize the optional `props` in a record to always be an object similar to
799
+ * components. Also accept a boolean for components.
800
+ * @param record
801
+ */
802
+ function normalizeRecordProps(record) {
803
+ const propsObject = {};
804
+ const props = record.props || false;
805
+ if ("component" in record) propsObject.default = props;
806
+ else for (const name in record.components) propsObject[name] = typeof props === "object" ? props[name] : props;
807
+ return propsObject;
808
+ }
809
+ /**
810
+ * Checks if a record or any of its parent is an alias
811
+ * @param record
812
+ */
813
+ function isAliasRecord(record) {
814
+ while (record) {
815
+ if (record.record.aliasOf) return true;
816
+ record = record.parent;
817
+ }
818
+ return false;
819
+ }
820
+ /**
821
+ * Merge meta fields of an array of records
822
+ *
823
+ * @param matched - array of matched records
824
+ */
825
+ function mergeMetaFields(matched) {
826
+ return matched.reduce((meta, record) => assign(meta, record.meta), {});
827
+ }
828
+ function isSameParam(a, b) {
829
+ return a.name === b.name && a.optional === b.optional && a.repeatable === b.repeatable;
830
+ }
831
+ /**
832
+ * Check if a path and its alias have the same required params
833
+ *
834
+ * @param a - original record
835
+ * @param b - alias record
836
+ */
837
+ function checkSameParams(a, b) {
838
+ for (const key of a.keys) if (!key.optional && !b.keys.find(isSameParam.bind(null, key))) return warn$1(`Alias "${b.record.path}" and the original record: "${a.record.path}" must have the exact same param named "${key.name}"`);
839
+ for (const key of b.keys) if (!key.optional && !a.keys.find(isSameParam.bind(null, key))) return warn$1(`Alias "${b.record.path}" and the original record: "${a.record.path}" must have the exact same param named "${key.name}"`);
840
+ }
841
+ /**
842
+ * A route with a name and a child with an empty path without a name should warn when adding the route
843
+ *
844
+ * @param mainNormalizedRecord - RouteRecordNormalized
845
+ * @param parent - RouteRecordMatcher
846
+ */
847
+ function checkChildMissingNameWithEmptyPath(mainNormalizedRecord, parent) {
848
+ if (parent && parent.record.name && !mainNormalizedRecord.name && !mainNormalizedRecord.path) warn$1(`The route named "${String(parent.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`);
849
+ }
850
+ function checkSameNameAsAncestor(record, parent) {
851
+ for (let ancestor = parent; ancestor; ancestor = ancestor.parent) if (ancestor.record.name === record.name) throw new Error(`A route named "${String(record.name)}" has been added as a ${parent === ancestor ? "child" : "descendant"} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`);
852
+ }
853
+ function checkMissingParamsInAbsolutePath(record, parent) {
854
+ for (const key of parent.keys) if (!record.keys.find(isSameParam.bind(null, key))) return warn$1(`Absolute path "${record.record.path}" must have the exact same param named "${key.name}" as its parent "${parent.record.path}".`);
855
+ }
856
+ /**
857
+ * Performs a binary search to find the correct insertion index for a new matcher.
858
+ *
859
+ * Matchers are primarily sorted by their score. If scores are tied then we also consider parent/child relationships,
860
+ * with descendants coming before ancestors. If there's still a tie, new routes are inserted after existing routes.
861
+ *
862
+ * @param matcher - new matcher to be inserted
863
+ * @param matchers - existing matchers
864
+ */
865
+ function findInsertionIndex(matcher, matchers) {
866
+ let lower = 0;
867
+ let upper = matchers.length;
868
+ while (lower !== upper) {
869
+ const mid = lower + upper >> 1;
870
+ if (comparePathParserScore(matcher, matchers[mid]) < 0) upper = mid;
871
+ else lower = mid + 1;
872
+ }
873
+ const insertionAncestor = getInsertionAncestor(matcher);
874
+ if (insertionAncestor) {
875
+ upper = matchers.lastIndexOf(insertionAncestor, upper - 1);
876
+ if (process.env.NODE_ENV !== "production" && upper < 0) warn$1(`Finding ancestor route "${insertionAncestor.record.path}" failed for "${matcher.record.path}"`);
877
+ }
878
+ return upper;
879
+ }
880
+ function getInsertionAncestor(matcher) {
881
+ let ancestor = matcher;
882
+ while (ancestor = ancestor.parent) if (isMatchable(ancestor) && comparePathParserScore(matcher, ancestor) === 0) return ancestor;
883
+ }
884
+ /**
885
+ * Checks if a matcher can be reachable. This means if it's possible to reach it as a route. For example, routes without
886
+ * a component, or name, or redirect, are just used to group other routes.
887
+ * @param matcher
888
+ * @param matcher.record record of the matcher
889
+ * @returns
890
+ */
891
+ function isMatchable({ record }) {
892
+ return !!(record.name || record.components && Object.keys(record.components).length || record.redirect);
893
+ }
894
+
895
+ //#endregion
896
+ //#region src/RouterLink.ts
897
+ /**
898
+ * Returns the internal behavior of a {@link RouterLink} without the rendering part.
899
+ *
900
+ * @param props - a `to` location and an optional `replace` flag
901
+ */
902
+ function useLink(props) {
903
+ const router = inject(routerKey);
904
+ const currentRoute = inject(routeLocationKey);
905
+ let hasPrevious = false;
906
+ let previousTo = null;
907
+ const route = computed(() => {
908
+ const to = unref(props.to);
909
+ if (process.env.NODE_ENV !== "production" && (!hasPrevious || to !== previousTo)) {
910
+ if (!isRouteLocation(to)) if (hasPrevious) warn$1(`Invalid value for prop "to" in useLink()\n- to:`, to, `\n- previous to:`, previousTo, `\n- props:`, props);
911
+ else warn$1(`Invalid value for prop "to" in useLink()\n- to:`, to, `\n- props:`, props);
912
+ previousTo = to;
913
+ hasPrevious = true;
914
+ }
915
+ return router.resolve(to);
916
+ });
917
+ const activeRecordIndex = computed(() => {
918
+ const { matched } = route.value;
919
+ const { length } = matched;
920
+ const routeMatched = matched[length - 1];
921
+ const currentMatched = currentRoute.matched;
922
+ if (!routeMatched || !currentMatched.length) return -1;
923
+ const index = currentMatched.findIndex(isSameRouteRecord.bind(null, routeMatched));
924
+ if (index > -1) return index;
925
+ const parentRecordPath = getOriginalPath(matched[length - 2]);
926
+ return length > 1 && getOriginalPath(routeMatched) === parentRecordPath && currentMatched[currentMatched.length - 1].path !== parentRecordPath ? currentMatched.findIndex(isSameRouteRecord.bind(null, matched[length - 2])) : index;
927
+ });
928
+ const isActive = computed(() => activeRecordIndex.value > -1 && includesParams(currentRoute.params, route.value.params));
929
+ const isExactActive = computed(() => activeRecordIndex.value > -1 && activeRecordIndex.value === currentRoute.matched.length - 1 && isSameRouteLocationParams(currentRoute.params, route.value.params));
930
+ function navigate(e = {}) {
931
+ if (guardEvent(e)) {
932
+ const p = router[unref(props.replace) ? "replace" : "push"](unref(props.to)).catch(noop);
933
+ if (props.viewTransition && typeof document !== "undefined" && "startViewTransition" in document) document.startViewTransition(() => p);
934
+ return p;
935
+ }
936
+ return Promise.resolve();
937
+ }
938
+ if ((process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) && isBrowser) {
939
+ const instance = getCurrentInstance();
940
+ if (instance) {
941
+ const linkContextDevtools = {
942
+ route: route.value,
943
+ isActive: isActive.value,
944
+ isExactActive: isExactActive.value,
945
+ error: null
946
+ };
947
+ instance.__vrl_devtools = instance.__vrl_devtools || [];
948
+ instance.__vrl_devtools.push(linkContextDevtools);
949
+ watchEffect(() => {
950
+ linkContextDevtools.route = route.value;
951
+ linkContextDevtools.isActive = isActive.value;
952
+ linkContextDevtools.isExactActive = isExactActive.value;
953
+ linkContextDevtools.error = isRouteLocation(unref(props.to)) ? null : "Invalid \"to\" value";
954
+ }, { flush: "post" });
955
+ }
956
+ }
957
+ /**
958
+ * NOTE: update {@link _RouterLinkI}'s `$slots` type when updating this
959
+ */
960
+ return {
961
+ route,
962
+ href: computed(() => route.value.href),
963
+ isActive,
964
+ isExactActive,
965
+ navigate
966
+ };
967
+ }
968
+ function preferSingleVNode(vnodes) {
969
+ return vnodes.length === 1 ? vnodes[0] : vnodes;
970
+ }
971
+ const RouterLinkImpl = /* @__PURE__ */ defineComponent({
972
+ name: "RouterLink",
973
+ compatConfig: { MODE: 3 },
974
+ props: {
975
+ to: {
976
+ type: [String, Object],
977
+ required: true
978
+ },
979
+ replace: Boolean,
980
+ activeClass: String,
981
+ exactActiveClass: String,
982
+ custom: Boolean,
983
+ ariaCurrentValue: {
984
+ type: String,
985
+ default: "page"
986
+ },
987
+ viewTransition: Boolean
988
+ },
989
+ useLink,
990
+ setup(props, { slots }) {
991
+ const link = reactive(useLink(props));
992
+ const { options } = inject(routerKey);
993
+ const elClass = computed(() => ({
994
+ [getLinkClass(props.activeClass, options.linkActiveClass, "router-link-active")]: link.isActive,
995
+ [getLinkClass(props.exactActiveClass, options.linkExactActiveClass, "router-link-exact-active")]: link.isExactActive
996
+ }));
997
+ return () => {
998
+ const children = slots.default && preferSingleVNode(slots.default(link));
999
+ return props.custom ? children : h("a", {
1000
+ "aria-current": link.isExactActive ? props.ariaCurrentValue : null,
1001
+ href: link.href,
1002
+ onClick: link.navigate,
1003
+ class: elClass.value
1004
+ }, children);
1005
+ };
1006
+ }
1007
+ });
1008
+ /**
1009
+ * Component to render a link that triggers a navigation on click.
1010
+ */
1011
+ const RouterLink = RouterLinkImpl;
1012
+ function guardEvent(e) {
1013
+ if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) return;
1014
+ if (e.defaultPrevented) return;
1015
+ if (e.button !== void 0 && e.button !== 0) return;
1016
+ if (e.currentTarget && e.currentTarget.getAttribute) {
1017
+ const target = e.currentTarget.getAttribute("target");
1018
+ if (/\b_blank\b/i.test(target)) return;
1019
+ }
1020
+ if (e.preventDefault) e.preventDefault();
1021
+ return true;
1022
+ }
1023
+ function includesParams(outer, inner) {
1024
+ for (const key in inner) {
1025
+ const innerValue = inner[key];
1026
+ const outerValue = outer[key];
1027
+ if (typeof innerValue === "string") {
1028
+ if (innerValue !== outerValue) return false;
1029
+ } else if (!isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i) => value.valueOf() !== outerValue[i].valueOf())) return false;
1030
+ }
1031
+ return true;
1032
+ }
1033
+ /**
1034
+ * Get the original path value of a record by following its aliasOf
1035
+ * @param record
1036
+ */
1037
+ function getOriginalPath(record) {
1038
+ return record ? record.aliasOf ? record.aliasOf.path : record.path : "";
1039
+ }
1040
+ /**
1041
+ * Utility class to get the active class based on defaults.
1042
+ * @param propClass
1043
+ * @param globalClass
1044
+ * @param defaultClass
1045
+ */
1046
+ const getLinkClass = (propClass, globalClass, defaultClass) => propClass != null ? propClass : globalClass != null ? globalClass : defaultClass;
1047
+
1048
+ //#endregion
1049
+ //#region src/RouterView.ts
1050
+ const RouterViewImpl = /* @__PURE__ */ defineComponent({
1051
+ name: "RouterView",
1052
+ inheritAttrs: false,
1053
+ props: {
1054
+ name: {
1055
+ type: String,
1056
+ default: "default"
1057
+ },
1058
+ route: Object
1059
+ },
1060
+ compatConfig: { MODE: 3 },
1061
+ setup(props, { attrs, slots }) {
1062
+ process.env.NODE_ENV !== "production" && warnDeprecatedUsage();
1063
+ const injectedRoute = inject(routerViewLocationKey);
1064
+ const routeToDisplay = computed(() => props.route || injectedRoute.value);
1065
+ const injectedDepth = inject(viewDepthKey, 0);
1066
+ const depth = computed(() => {
1067
+ let initialDepth = unref(injectedDepth);
1068
+ const { matched } = routeToDisplay.value;
1069
+ let matchedRoute;
1070
+ while ((matchedRoute = matched[initialDepth]) && !matchedRoute.components) initialDepth++;
1071
+ return initialDepth;
1072
+ });
1073
+ const matchedRouteRef = computed(() => routeToDisplay.value.matched[depth.value]);
1074
+ provide(viewDepthKey, computed(() => depth.value + 1));
1075
+ provide(matchedRouteKey, matchedRouteRef);
1076
+ provide(routerViewLocationKey, routeToDisplay);
1077
+ const viewRef = ref();
1078
+ watch(() => [
1079
+ viewRef.value,
1080
+ matchedRouteRef.value,
1081
+ props.name
1082
+ ], ([instance, to, name], [oldInstance, from, oldName]) => {
1083
+ if (to) {
1084
+ to.instances[name] = instance;
1085
+ if (from && from !== to && instance && instance === oldInstance) {
1086
+ if (!to.leaveGuards.size) to.leaveGuards = from.leaveGuards;
1087
+ if (!to.updateGuards.size) to.updateGuards = from.updateGuards;
1088
+ }
1089
+ }
1090
+ if (instance && to && (!from || !isSameRouteRecord(to, from) || !oldInstance)) (to.enterCallbacks[name] || []).forEach((callback) => callback(instance));
1091
+ }, { flush: "post" });
1092
+ return () => {
1093
+ const route = routeToDisplay.value;
1094
+ const currentName = props.name;
1095
+ const matchedRoute = matchedRouteRef.value;
1096
+ const ViewComponent = matchedRoute && matchedRoute.components[currentName];
1097
+ if (!ViewComponent) return normalizeSlot(slots.default, {
1098
+ Component: ViewComponent,
1099
+ route
1100
+ });
1101
+ const routePropsOption = matchedRoute.props[currentName];
1102
+ const routeProps = routePropsOption ? routePropsOption === true ? route.params : typeof routePropsOption === "function" ? routePropsOption(route) : routePropsOption : null;
1103
+ const onVnodeUnmounted = (vnode) => {
1104
+ if (vnode.component.isUnmounted) matchedRoute.instances[currentName] = null;
1105
+ };
1106
+ const component = h(ViewComponent, assign({}, routeProps, attrs, {
1107
+ onVnodeUnmounted,
1108
+ ref: viewRef
1109
+ }));
1110
+ if ((process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) && isBrowser && component.ref) {
1111
+ const info = {
1112
+ depth: depth.value,
1113
+ name: matchedRoute.name,
1114
+ path: matchedRoute.path,
1115
+ meta: matchedRoute.meta
1116
+ };
1117
+ (isArray(component.ref) ? component.ref.map((r) => r.i) : [component.ref.i]).forEach((instance) => {
1118
+ instance.__vrv_devtools = info;
1119
+ });
1120
+ }
1121
+ return normalizeSlot(slots.default, {
1122
+ Component: component,
1123
+ route
1124
+ }) || component;
1125
+ };
1126
+ }
1127
+ });
1128
+ function normalizeSlot(slot, data) {
1129
+ if (!slot) return null;
1130
+ const slotContent = slot(data);
1131
+ return slotContent.length === 1 ? slotContent[0] : slotContent;
1132
+ }
1133
+ /**
1134
+ * Component to display the current route the user is at.
1135
+ */
1136
+ const RouterView = RouterViewImpl;
1137
+ function warnDeprecatedUsage() {
1138
+ const instance = getCurrentInstance();
1139
+ const parentName = instance.parent && instance.parent.type.name;
1140
+ const parentSubTreeType = instance.parent && instance.parent.subTree && instance.parent.subTree.type;
1141
+ if (parentName && (parentName === "KeepAlive" || parentName.includes("Transition")) && typeof parentSubTreeType === "object" && parentSubTreeType.name === "RouterView") {
1142
+ const comp = parentName === "KeepAlive" ? "keep-alive" : "transition";
1143
+ warn$1(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
1144
+ Use slot props instead:
1145
+
1146
+ <router-view v-slot="{ Component }">
1147
+ <${comp}>\n <component :is="Component" />\n </${comp}>\n</router-view>`);
1148
+ }
1149
+ }
1150
+
1151
+ //#endregion
1152
+ //#region src/router.ts
1153
+ /**
1154
+ * Creates a Router instance that can be used by a Vue app.
1155
+ *
1156
+ * @param options - {@link RouterOptions}
1157
+ */
1158
+ function createRouter(options) {
1159
+ const matcher = createRouterMatcher(options.routes, options);
1160
+ const parseQuery$1 = options.parseQuery || parseQuery;
1161
+ const stringifyQuery$1 = options.stringifyQuery || stringifyQuery;
1162
+ const routerHistory = options.history;
1163
+ if (process.env.NODE_ENV !== "production" && !routerHistory) throw new Error("Provide the \"history\" option when calling \"createRouter()\": https://router.vuejs.org/api/interfaces/RouterOptions.html#history");
1164
+ const beforeGuards = useCallbacks();
1165
+ const beforeResolveGuards = useCallbacks();
1166
+ const afterGuards = useCallbacks();
1167
+ const currentRoute = shallowRef(START_LOCATION_NORMALIZED);
1168
+ let pendingLocation = START_LOCATION_NORMALIZED;
1169
+ if (isBrowser && options.scrollBehavior && "scrollRestoration" in history) history.scrollRestoration = "manual";
1170
+ const normalizeParams = applyToParams.bind(null, (paramValue) => "" + paramValue);
1171
+ const encodeParams = applyToParams.bind(null, encodeParam);
1172
+ const decodeParams = applyToParams.bind(null, decode);
1173
+ function addRoute(parentOrRoute, route) {
1174
+ let parent;
1175
+ let record;
1176
+ if (isRouteName(parentOrRoute)) {
1177
+ parent = matcher.getRecordMatcher(parentOrRoute);
1178
+ if (process.env.NODE_ENV !== "production" && !parent) warn$1(`Parent route "${String(parentOrRoute)}" not found when adding child route`, route);
1179
+ record = route;
1180
+ } else record = parentOrRoute;
1181
+ return matcher.addRoute(record, parent);
1182
+ }
1183
+ function removeRoute(name) {
1184
+ const recordMatcher = matcher.getRecordMatcher(name);
1185
+ if (recordMatcher) matcher.removeRoute(recordMatcher);
1186
+ else if (process.env.NODE_ENV !== "production") warn$1(`Cannot remove non-existent route "${String(name)}"`);
1187
+ }
1188
+ function getRoutes() {
1189
+ return matcher.getRoutes().map((routeMatcher) => routeMatcher.record);
1190
+ }
1191
+ function hasRoute(name) {
1192
+ return !!matcher.getRecordMatcher(name);
1193
+ }
1194
+ function resolve(rawLocation, currentLocation) {
1195
+ currentLocation = assign({}, currentLocation || currentRoute.value);
1196
+ if (typeof rawLocation === "string") {
1197
+ const locationNormalized = parseURL(parseQuery$1, rawLocation, currentLocation.path);
1198
+ const matchedRoute$1 = matcher.resolve({ path: locationNormalized.path }, currentLocation);
1199
+ const href$1 = routerHistory.createHref(locationNormalized.fullPath);
1200
+ if (process.env.NODE_ENV !== "production") {
1201
+ if (href$1.startsWith("//")) warn$1(`Location "${rawLocation}" resolved to "${href$1}". A resolved location cannot start with multiple slashes.`);
1202
+ else if (!matchedRoute$1.matched.length) warn$1(`No match found for location with path "${rawLocation}"`);
1203
+ }
1204
+ return assign(locationNormalized, matchedRoute$1, {
1205
+ params: decodeParams(matchedRoute$1.params),
1206
+ hash: decode(locationNormalized.hash),
1207
+ redirectedFrom: void 0,
1208
+ href: href$1
1209
+ });
1210
+ }
1211
+ if (process.env.NODE_ENV !== "production" && !isRouteLocation(rawLocation)) {
1212
+ warn$1(`router.resolve() was passed an invalid location. This will fail in production.\n- Location:`, rawLocation);
1213
+ return resolve({});
1214
+ }
1215
+ let matcherLocation;
1216
+ if (rawLocation.path != null) {
1217
+ if (process.env.NODE_ENV !== "production" && "params" in rawLocation && !("name" in rawLocation) && Object.keys(rawLocation.params).length) warn$1(`Path "${rawLocation.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`);
1218
+ matcherLocation = assign({}, rawLocation, { path: parseURL(parseQuery$1, rawLocation.path, currentLocation.path).path });
1219
+ } else {
1220
+ const targetParams = assign({}, rawLocation.params);
1221
+ for (const key in targetParams) if (targetParams[key] == null) delete targetParams[key];
1222
+ matcherLocation = assign({}, rawLocation, { params: encodeParams(targetParams) });
1223
+ currentLocation.params = encodeParams(currentLocation.params);
1224
+ }
1225
+ const matchedRoute = matcher.resolve(matcherLocation, currentLocation);
1226
+ const hash = rawLocation.hash || "";
1227
+ if (process.env.NODE_ENV !== "production" && hash && !hash.startsWith("#")) warn$1(`A \`hash\` should always start with the character "#". Replace "${hash}" with "#${hash}".`);
1228
+ matchedRoute.params = normalizeParams(decodeParams(matchedRoute.params));
1229
+ const fullPath = stringifyURL(stringifyQuery$1, assign({}, rawLocation, {
1230
+ hash: encodeHash(hash),
1231
+ path: matchedRoute.path
1232
+ }));
1233
+ const href = routerHistory.createHref(fullPath);
1234
+ if (process.env.NODE_ENV !== "production") {
1235
+ if (href.startsWith("//")) warn$1(`Location "${rawLocation}" resolved to "${href}". A resolved location cannot start with multiple slashes.`);
1236
+ else if (!matchedRoute.matched.length) warn$1(`No match found for location with path "${rawLocation.path != null ? rawLocation.path : rawLocation}"`);
1237
+ }
1238
+ return assign({
1239
+ fullPath,
1240
+ hash,
1241
+ query: stringifyQuery$1 === stringifyQuery ? normalizeQuery(rawLocation.query) : rawLocation.query || {}
1242
+ }, matchedRoute, {
1243
+ redirectedFrom: void 0,
1244
+ href
1245
+ });
1246
+ }
1247
+ function locationAsObject(to) {
1248
+ return typeof to === "string" ? parseURL(parseQuery$1, to, currentRoute.value.path) : assign({}, to);
1249
+ }
1250
+ function checkCanceledNavigation(to, from) {
1251
+ if (pendingLocation !== to) return createRouterError(ErrorTypes.NAVIGATION_CANCELLED, {
1252
+ from,
1253
+ to
1254
+ });
1255
+ }
1256
+ function push(to) {
1257
+ return pushWithRedirect(to);
1258
+ }
1259
+ function replace(to) {
1260
+ return push(assign(locationAsObject(to), { replace: true }));
1261
+ }
1262
+ function handleRedirectRecord(to, from) {
1263
+ const lastMatched = to.matched[to.matched.length - 1];
1264
+ if (lastMatched && lastMatched.redirect) {
1265
+ const { redirect } = lastMatched;
1266
+ let newTargetLocation = typeof redirect === "function" ? redirect(to, from) : redirect;
1267
+ if (typeof newTargetLocation === "string") {
1268
+ newTargetLocation = newTargetLocation.includes("?") || newTargetLocation.includes("#") ? newTargetLocation = locationAsObject(newTargetLocation) : { path: newTargetLocation };
1269
+ newTargetLocation.params = {};
1270
+ }
1271
+ if (process.env.NODE_ENV !== "production" && newTargetLocation.path == null && !("name" in newTargetLocation)) {
1272
+ warn$1(`Invalid redirect found:\n${JSON.stringify(newTargetLocation, null, 2)}\n when navigating to "${to.fullPath}". A redirect must contain a name or path. This will break in production.`);
1273
+ throw new Error("Invalid redirect");
1274
+ }
1275
+ return assign({
1276
+ query: to.query,
1277
+ hash: to.hash,
1278
+ params: newTargetLocation.path != null ? {} : to.params
1279
+ }, newTargetLocation);
1280
+ }
1281
+ }
1282
+ function pushWithRedirect(to, redirectedFrom) {
1283
+ const targetLocation = pendingLocation = resolve(to);
1284
+ const from = currentRoute.value;
1285
+ const data = to.state;
1286
+ const force = to.force;
1287
+ const replace$1 = to.replace === true;
1288
+ const shouldRedirect = handleRedirectRecord(targetLocation, from);
1289
+ if (shouldRedirect) return pushWithRedirect(assign(locationAsObject(shouldRedirect), {
1290
+ state: typeof shouldRedirect === "object" ? assign({}, data, shouldRedirect.state) : data,
1291
+ force,
1292
+ replace: replace$1
1293
+ }), redirectedFrom || targetLocation);
1294
+ const toLocation = targetLocation;
1295
+ toLocation.redirectedFrom = redirectedFrom;
1296
+ let failure;
1297
+ if (!force && isSameRouteLocation(stringifyQuery$1, from, targetLocation)) {
1298
+ failure = createRouterError(ErrorTypes.NAVIGATION_DUPLICATED, {
1299
+ to: toLocation,
1300
+ from
1301
+ });
1302
+ handleScroll(from, from, true, false);
1303
+ }
1304
+ return (failure ? Promise.resolve(failure) : navigate(toLocation, from)).catch((error) => isNavigationFailure(error) ? isNavigationFailure(error, ErrorTypes.NAVIGATION_GUARD_REDIRECT) ? error : markAsReady(error) : triggerError(error, toLocation, from)).then((failure$1) => {
1305
+ if (failure$1) {
1306
+ if (isNavigationFailure(failure$1, ErrorTypes.NAVIGATION_GUARD_REDIRECT)) {
1307
+ if (process.env.NODE_ENV !== "production" && isSameRouteLocation(stringifyQuery$1, resolve(failure$1.to), toLocation) && redirectedFrom && (redirectedFrom._count = redirectedFrom._count ? redirectedFrom._count + 1 : 1) > 30) {
1308
+ warn$1(`Detected a possibly infinite redirection in a navigation guard when going from "${from.fullPath}" to "${toLocation.fullPath}". Aborting to avoid a Stack Overflow.\n Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`);
1309
+ return Promise.reject(/* @__PURE__ */ new Error("Infinite redirect in navigation guard"));
1310
+ }
1311
+ return pushWithRedirect(assign({ replace: replace$1 }, locationAsObject(failure$1.to), {
1312
+ state: typeof failure$1.to === "object" ? assign({}, data, failure$1.to.state) : data,
1313
+ force
1314
+ }), redirectedFrom || toLocation);
1315
+ }
1316
+ } else failure$1 = finalizeNavigation(toLocation, from, true, replace$1, data);
1317
+ triggerAfterEach(toLocation, from, failure$1);
1318
+ return failure$1;
1319
+ });
1320
+ }
1321
+ /**
1322
+ * Helper to reject and skip all navigation guards if a new navigation happened
1323
+ * @param to
1324
+ * @param from
1325
+ */
1326
+ function checkCanceledNavigationAndReject(to, from) {
1327
+ const error = checkCanceledNavigation(to, from);
1328
+ return error ? Promise.reject(error) : Promise.resolve();
1329
+ }
1330
+ function runWithContext(fn) {
1331
+ const app = installedApps.values().next().value;
1332
+ return app && typeof app.runWithContext === "function" ? app.runWithContext(fn) : fn();
1333
+ }
1334
+ function navigate(to, from) {
1335
+ let guards;
1336
+ const [leavingRecords, updatingRecords, enteringRecords] = extractChangingRecords(to, from);
1337
+ guards = extractComponentsGuards(leavingRecords.reverse(), "beforeRouteLeave", to, from);
1338
+ for (const record of leavingRecords) record.leaveGuards.forEach((guard) => {
1339
+ guards.push(guardToPromiseFn(guard, to, from));
1340
+ });
1341
+ const canceledNavigationCheck = checkCanceledNavigationAndReject.bind(null, to, from);
1342
+ guards.push(canceledNavigationCheck);
1343
+ return runGuardQueue(guards).then(() => {
1344
+ guards = [];
1345
+ for (const guard of beforeGuards.list()) guards.push(guardToPromiseFn(guard, to, from));
1346
+ guards.push(canceledNavigationCheck);
1347
+ return runGuardQueue(guards);
1348
+ }).then(() => {
1349
+ guards = extractComponentsGuards(updatingRecords, "beforeRouteUpdate", to, from);
1350
+ for (const record of updatingRecords) record.updateGuards.forEach((guard) => {
1351
+ guards.push(guardToPromiseFn(guard, to, from));
1352
+ });
1353
+ guards.push(canceledNavigationCheck);
1354
+ return runGuardQueue(guards);
1355
+ }).then(() => {
1356
+ guards = [];
1357
+ for (const record of enteringRecords) if (record.beforeEnter) if (isArray(record.beforeEnter)) for (const beforeEnter of record.beforeEnter) guards.push(guardToPromiseFn(beforeEnter, to, from));
1358
+ else guards.push(guardToPromiseFn(record.beforeEnter, to, from));
1359
+ guards.push(canceledNavigationCheck);
1360
+ return runGuardQueue(guards);
1361
+ }).then(() => {
1362
+ to.matched.forEach((record) => record.enterCallbacks = {});
1363
+ guards = extractComponentsGuards(enteringRecords, "beforeRouteEnter", to, from, runWithContext);
1364
+ guards.push(canceledNavigationCheck);
1365
+ return runGuardQueue(guards);
1366
+ }).then(() => {
1367
+ guards = [];
1368
+ for (const guard of beforeResolveGuards.list()) guards.push(guardToPromiseFn(guard, to, from));
1369
+ guards.push(canceledNavigationCheck);
1370
+ return runGuardQueue(guards);
1371
+ }).catch((err) => isNavigationFailure(err, ErrorTypes.NAVIGATION_CANCELLED) ? err : Promise.reject(err));
1372
+ }
1373
+ function triggerAfterEach(to, from, failure) {
1374
+ afterGuards.list().forEach((guard) => runWithContext(() => guard(to, from, failure)));
1375
+ }
1376
+ /**
1377
+ * - Cleans up any navigation guards
1378
+ * - Changes the url if necessary
1379
+ * - Calls the scrollBehavior
1380
+ */
1381
+ function finalizeNavigation(toLocation, from, isPush, replace$1, data) {
1382
+ const error = checkCanceledNavigation(toLocation, from);
1383
+ if (error) return error;
1384
+ const isFirstNavigation = from === START_LOCATION_NORMALIZED;
1385
+ const state = !isBrowser ? {} : history.state;
1386
+ if (isPush) if (replace$1 || isFirstNavigation) routerHistory.replace(toLocation.fullPath, assign({ scroll: isFirstNavigation && state && state.scroll }, data));
1387
+ else routerHistory.push(toLocation.fullPath, data);
1388
+ currentRoute.value = toLocation;
1389
+ handleScroll(toLocation, from, isPush, isFirstNavigation);
1390
+ markAsReady();
1391
+ }
1392
+ let removeHistoryListener;
1393
+ function setupListeners() {
1394
+ if (removeHistoryListener) return;
1395
+ removeHistoryListener = routerHistory.listen((to, _from, info) => {
1396
+ if (!router.listening) return;
1397
+ const toLocation = resolve(to);
1398
+ const shouldRedirect = handleRedirectRecord(toLocation, router.currentRoute.value);
1399
+ if (shouldRedirect) {
1400
+ pushWithRedirect(assign(shouldRedirect, {
1401
+ replace: true,
1402
+ force: true
1403
+ }), toLocation).catch(noop);
1404
+ return;
1405
+ }
1406
+ pendingLocation = toLocation;
1407
+ const from = currentRoute.value;
1408
+ if (isBrowser) saveScrollPosition(getScrollKey(from.fullPath, info.delta), computeScrollPosition());
1409
+ navigate(toLocation, from).catch((error) => {
1410
+ if (isNavigationFailure(error, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_CANCELLED)) return error;
1411
+ if (isNavigationFailure(error, ErrorTypes.NAVIGATION_GUARD_REDIRECT)) {
1412
+ pushWithRedirect(assign(locationAsObject(error.to), { force: true }), toLocation).then((failure) => {
1413
+ if (isNavigationFailure(failure, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_DUPLICATED) && !info.delta && info.type === NavigationType.pop) routerHistory.go(-1, false);
1414
+ }).catch(noop);
1415
+ return Promise.reject();
1416
+ }
1417
+ if (info.delta) routerHistory.go(-info.delta, false);
1418
+ return triggerError(error, toLocation, from);
1419
+ }).then((failure) => {
1420
+ failure = failure || finalizeNavigation(toLocation, from, false);
1421
+ if (failure) {
1422
+ if (info.delta && !isNavigationFailure(failure, ErrorTypes.NAVIGATION_CANCELLED)) routerHistory.go(-info.delta, false);
1423
+ else if (info.type === NavigationType.pop && isNavigationFailure(failure, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_DUPLICATED)) routerHistory.go(-1, false);
1424
+ }
1425
+ triggerAfterEach(toLocation, from, failure);
1426
+ }).catch(noop);
1427
+ });
1428
+ }
1429
+ let readyHandlers = useCallbacks();
1430
+ let errorListeners = useCallbacks();
1431
+ let ready;
1432
+ /**
1433
+ * Trigger errorListeners added via onError and throws the error as well
1434
+ *
1435
+ * @param error - error to throw
1436
+ * @param to - location we were navigating to when the error happened
1437
+ * @param from - location we were navigating from when the error happened
1438
+ * @returns the error as a rejected promise
1439
+ */
1440
+ function triggerError(error, to, from) {
1441
+ markAsReady(error);
1442
+ const list = errorListeners.list();
1443
+ if (list.length) list.forEach((handler) => handler(error, to, from));
1444
+ else {
1445
+ if (process.env.NODE_ENV !== "production") warn$1("uncaught error during route navigation:");
1446
+ console.error(error);
1447
+ }
1448
+ return Promise.reject(error);
1449
+ }
1450
+ function isReady() {
1451
+ if (ready && currentRoute.value !== START_LOCATION_NORMALIZED) return Promise.resolve();
1452
+ return new Promise((resolve$1, reject) => {
1453
+ readyHandlers.add([resolve$1, reject]);
1454
+ });
1455
+ }
1456
+ function markAsReady(err) {
1457
+ if (!ready) {
1458
+ ready = !err;
1459
+ setupListeners();
1460
+ readyHandlers.list().forEach(([resolve$1, reject]) => err ? reject(err) : resolve$1());
1461
+ readyHandlers.reset();
1462
+ }
1463
+ return err;
1464
+ }
1465
+ function handleScroll(to, from, isPush, isFirstNavigation) {
1466
+ const { scrollBehavior } = options;
1467
+ if (!isBrowser || !scrollBehavior) return Promise.resolve();
1468
+ const scrollPosition = !isPush && getSavedScrollPosition(getScrollKey(to.fullPath, 0)) || (isFirstNavigation || !isPush) && history.state && history.state.scroll || null;
1469
+ return nextTick().then(() => scrollBehavior(to, from, scrollPosition)).then((position) => position && scrollToPosition(position)).catch((err) => triggerError(err, to, from));
1470
+ }
1471
+ const go = (delta) => routerHistory.go(delta);
1472
+ let started;
1473
+ const installedApps = /* @__PURE__ */ new Set();
1474
+ const router = {
1475
+ currentRoute,
1476
+ listening: true,
1477
+ addRoute,
1478
+ removeRoute,
1479
+ clearRoutes: matcher.clearRoutes,
1480
+ hasRoute,
1481
+ getRoutes,
1482
+ resolve,
1483
+ options,
1484
+ push,
1485
+ replace,
1486
+ go,
1487
+ back: () => go(-1),
1488
+ forward: () => go(1),
1489
+ beforeEach: beforeGuards.add,
1490
+ beforeResolve: beforeResolveGuards.add,
1491
+ afterEach: afterGuards.add,
1492
+ onError: errorListeners.add,
1493
+ isReady,
1494
+ install(app) {
1495
+ app.component("RouterLink", RouterLink);
1496
+ app.component("RouterView", RouterView);
1497
+ app.config.globalProperties.$router = router;
1498
+ Object.defineProperty(app.config.globalProperties, "$route", {
1499
+ enumerable: true,
1500
+ get: () => unref(currentRoute)
1501
+ });
1502
+ if (isBrowser && !started && currentRoute.value === START_LOCATION_NORMALIZED) {
1503
+ started = true;
1504
+ push(routerHistory.location).catch((err) => {
1505
+ if (process.env.NODE_ENV !== "production") warn$1("Unexpected error when starting the router:", err);
1506
+ });
1507
+ }
1508
+ const reactiveRoute = {};
1509
+ for (const key in START_LOCATION_NORMALIZED) Object.defineProperty(reactiveRoute, key, {
1510
+ get: () => currentRoute.value[key],
1511
+ enumerable: true
1512
+ });
1513
+ app.provide(routerKey, router);
1514
+ app.provide(routeLocationKey, shallowReactive(reactiveRoute));
1515
+ app.provide(routerViewLocationKey, currentRoute);
1516
+ const unmountApp = app.unmount;
1517
+ installedApps.add(app);
1518
+ app.unmount = function() {
1519
+ installedApps.delete(app);
1520
+ if (installedApps.size < 1) {
1521
+ pendingLocation = START_LOCATION_NORMALIZED;
1522
+ removeHistoryListener && removeHistoryListener();
1523
+ removeHistoryListener = null;
1524
+ currentRoute.value = START_LOCATION_NORMALIZED;
1525
+ started = false;
1526
+ ready = false;
1527
+ }
1528
+ unmountApp();
1529
+ };
1530
+ if ((process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) && isBrowser) addDevtools(app, router, matcher);
1531
+ }
1532
+ };
1533
+ function runGuardQueue(guards) {
1534
+ return guards.reduce((promise, guard) => promise.then(() => runWithContext(guard)), Promise.resolve());
1535
+ }
1536
+ return router;
1537
+ }
1538
+
1539
+ //#endregion
1540
+ //#region src/useApi.ts
1541
+ /**
1542
+ * Returns the router instance. Equivalent to using `$router` inside
1543
+ * templates.
1544
+ */
1545
+ function useRouter() {
1546
+ return inject(routerKey);
1547
+ }
1548
+ /**
1549
+ * Returns the current route location. Equivalent to using `$route` inside
1550
+ * templates.
1551
+ */
1552
+ function useRoute(_name) {
1553
+ return inject(routeLocationKey);
1554
+ }
1555
+
1556
+ //#endregion
1557
+ export { NavigationFailureType, RouterLink, RouterView, START_LOCATION_NORMALIZED as START_LOCATION, createMemoryHistory, createRouter, createRouterMatcher, createWebHashHistory, createWebHistory, isNavigationFailure, loadRouteLocation, matchedRouteKey, onBeforeRouteLeave, onBeforeRouteUpdate, parseQuery, routeLocationKey, routerKey, routerViewLocationKey, stringifyQuery, useLink, useRoute, useRouter, viewDepthKey };