@autocode-cli/autocode 0.8.37 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1534) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_i18n/zP5M_e1m/en/messages.json +1 -0
  3. package/.output/public/_i18n/zP5M_e1m/fr/messages.json +1 -0
  4. package/.output/public/_nuxt/BBgAVlXU.js +1 -0
  5. package/.output/public/_nuxt/BZUmpBmU.js +2 -0
  6. package/.output/public/_nuxt/BmGeRwzG.js +1 -0
  7. package/.output/public/_nuxt/Bsd2P-Xc.js +1 -0
  8. package/.output/public/_nuxt/BthlfLoK.js +1 -0
  9. package/.output/public/_nuxt/Bu1Qq2g-.js +1 -0
  10. package/.output/public/_nuxt/BvF9_V7p.js +1 -0
  11. package/.output/public/_nuxt/BvUbqlcZ.js +2 -0
  12. package/.output/public/_nuxt/Bxcwuw3U.js +1 -0
  13. package/.output/public/_nuxt/C0Rlrcoy.js +59 -0
  14. package/.output/public/_nuxt/CTV7-Iux.js +1 -0
  15. package/.output/public/_nuxt/CWENDdnZ.js +1 -0
  16. package/.output/public/_nuxt/CjVJcaTo.js +7 -0
  17. package/.output/public/_nuxt/CoGBQbLh.js +1 -0
  18. package/.output/public/_nuxt/CtVoJCjv.js +1 -0
  19. package/.output/public/_nuxt/D4lcVP-d.js +1 -0
  20. package/.output/public/_nuxt/D8RlVVzC.js +1 -0
  21. package/.output/public/_nuxt/DBuWa6JT.js +1 -0
  22. package/.output/public/_nuxt/DFQ30pd7.js +1 -0
  23. package/.output/public/_nuxt/DNUcHFTN.js +1 -0
  24. package/.output/public/_nuxt/DRo5NaOZ.js +1 -0
  25. package/.output/public/_nuxt/DU0awelf.js +1 -0
  26. package/.output/public/_nuxt/DYYF8rpr.js +1 -0
  27. package/.output/public/_nuxt/DaYBQX26.js +1 -0
  28. package/.output/public/_nuxt/DwfwVH0w.js +1 -0
  29. package/.output/public/_nuxt/DykwyQae.js +1 -0
  30. package/.output/public/_nuxt/FIIaIpPb.js +1 -0
  31. package/.output/public/_nuxt/IssueHeader.BKYJE9Ko.css +1 -0
  32. package/.output/public/_nuxt/LangSwitcher.DDTh1sNN.css +1 -0
  33. package/.output/public/_nuxt/QtPIr4OQ.js +1 -0
  34. package/.output/public/_nuxt/TA-NBooC.js +1 -0
  35. package/.output/public/_nuxt/TB1o0NrH.js +13 -0
  36. package/.output/public/_nuxt/Zzp33YZj.js +1 -0
  37. package/.output/public/_nuxt/_HJO0SwU.js +1 -0
  38. package/.output/public/_nuxt/_id_.CYj9w2Sw.css +1 -0
  39. package/.output/public/_nuxt/_name_.OOW3Ydwv.css +1 -0
  40. package/.output/public/_nuxt/autocreate.-iJ9Pxhm.css +1 -0
  41. package/.output/public/_nuxt/builds/latest.json +1 -0
  42. package/.output/public/_nuxt/builds/meta/83d9a3fc-c99e-4e26-adef-e7f5b329b81a.json +1 -0
  43. package/.output/public/_nuxt/changelog.CziWegef.css +1 -0
  44. package/.output/public/_nuxt/comments.BcvjcN1z.css +1 -0
  45. package/.output/public/_nuxt/default.BaZU2Ea8.css +1 -0
  46. package/.output/public/_nuxt/entry.CzscD3wg.css +1 -0
  47. package/.output/public/_nuxt/graph.BbpRRv0M.css +1 -0
  48. package/.output/public/_nuxt/iHS1jy-1.js +1 -0
  49. package/.output/public/_nuxt/index.CDND7dpO.css +1 -0
  50. package/.output/public/_nuxt/index.COVdL_Kx.css +1 -0
  51. package/.output/public/_nuxt/index.CTkgb9uR.css +1 -0
  52. package/.output/public/_nuxt/index.DkNg_n4G.css +1 -0
  53. package/.output/public/_nuxt/jYigECdj.js +1 -0
  54. package/.output/public/_nuxt/kanban.BuPOCLgG.css +1 -0
  55. package/.output/public/_nuxt/landing.D5KkDm1b.css +1 -0
  56. package/.output/public/_nuxt/new.BFERdqdm.css +1 -0
  57. package/.output/public/_nuxt/new.BzaiohPo.css +1 -0
  58. package/.output/public/_nuxt/prompt.CbFHjm-L.css +1 -0
  59. package/.output/public/_nuxt/prompt.DM4VdPnn.css +1 -0
  60. package/.output/public/_nuxt/prompt.DZ0wdOji.css +1 -0
  61. package/.output/public/_nuxt/stats.CXzKxZ71.css +1 -0
  62. package/.output/public/_nuxt/terminal.BL0EPPyU.css +1 -0
  63. package/.output/public/_nuxt/terminal.D3JI44PH.css +1 -0
  64. package/.output/public/_nuxt/terminal.YXDzS4Ng.css +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 +14666 -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 +90 -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 +57 -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 +75 -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 +51 -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 +103 -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 +57 -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 +50 -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 +79 -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 +88 -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 +84 -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 +57 -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 +68 -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 +75 -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 +110 -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 +69 -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,2552 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod2) => __copyProps(__defProp({}, "__esModule", { value: true }), mod2);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ AnyNull: () => AnyNull,
24
+ AnyNullClass: () => AnyNullClass,
25
+ DbNull: () => DbNull,
26
+ DbNullClass: () => DbNullClass,
27
+ Decimal: () => Decimal,
28
+ JsonNull: () => JsonNull,
29
+ JsonNullClass: () => JsonNullClass,
30
+ NullTypes: () => NullTypes,
31
+ ObjectEnumValue: () => ObjectEnumValue,
32
+ PrismaClientInitializationError: () => PrismaClientInitializationError,
33
+ PrismaClientKnownRequestError: () => PrismaClientKnownRequestError,
34
+ PrismaClientRustError: () => PrismaClientRustError,
35
+ PrismaClientRustPanicError: () => PrismaClientRustPanicError,
36
+ PrismaClientUnknownRequestError: () => PrismaClientUnknownRequestError,
37
+ PrismaClientValidationError: () => PrismaClientValidationError,
38
+ Sql: () => Sql,
39
+ empty: () => empty,
40
+ hasBatchIndex: () => hasBatchIndex,
41
+ isAnyNull: () => isAnyNull,
42
+ isDbNull: () => isDbNull,
43
+ isJsonNull: () => isJsonNull,
44
+ join: () => join,
45
+ raw: () => raw,
46
+ sql: () => sql
47
+ });
48
+ module.exports = __toCommonJS(index_exports);
49
+
50
+ // src/errors/ErrorWithBatchIndex.ts
51
+ function hasBatchIndex(value) {
52
+ return typeof value["batchRequestIdx"] === "number";
53
+ }
54
+
55
+ // src/errors/setClassName.ts
56
+ function setClassName(classObject, name) {
57
+ Object.defineProperty(classObject, "name", {
58
+ value: name,
59
+ configurable: true
60
+ });
61
+ }
62
+
63
+ // src/errors/PrismaClientInitializationError.ts
64
+ var PrismaClientInitializationError = class _PrismaClientInitializationError extends Error {
65
+ clientVersion;
66
+ errorCode;
67
+ retryable;
68
+ constructor(message, clientVersion, errorCode) {
69
+ super(message);
70
+ this.name = "PrismaClientInitializationError";
71
+ this.clientVersion = clientVersion;
72
+ this.errorCode = errorCode;
73
+ Error.captureStackTrace(_PrismaClientInitializationError);
74
+ }
75
+ get [Symbol.toStringTag]() {
76
+ return "PrismaClientInitializationError";
77
+ }
78
+ };
79
+ setClassName(PrismaClientInitializationError, "PrismaClientInitializationError");
80
+
81
+ // src/errors/PrismaClientKnownRequestError.ts
82
+ var PrismaClientKnownRequestError = class extends Error {
83
+ code;
84
+ meta;
85
+ clientVersion;
86
+ batchRequestIdx;
87
+ constructor(message, { code, clientVersion, meta, batchRequestIdx }) {
88
+ super(message);
89
+ this.name = "PrismaClientKnownRequestError";
90
+ this.code = code;
91
+ this.clientVersion = clientVersion;
92
+ this.meta = meta;
93
+ Object.defineProperty(this, "batchRequestIdx", {
94
+ value: batchRequestIdx,
95
+ enumerable: false,
96
+ writable: true
97
+ });
98
+ }
99
+ get [Symbol.toStringTag]() {
100
+ return "PrismaClientKnownRequestError";
101
+ }
102
+ };
103
+ setClassName(PrismaClientKnownRequestError, "PrismaClientKnownRequestError");
104
+
105
+ // src/errors/log.ts
106
+ function getBacktrace(log3) {
107
+ if (log3.fields?.message) {
108
+ let str = log3.fields?.message;
109
+ if (log3.fields?.file) {
110
+ str += ` in ${log3.fields.file}`;
111
+ if (log3.fields?.line) {
112
+ str += `:${log3.fields.line}`;
113
+ }
114
+ if (log3.fields?.column) {
115
+ str += `:${log3.fields.column}`;
116
+ }
117
+ }
118
+ if (log3.fields?.reason) {
119
+ str += `
120
+ ${log3.fields?.reason}`;
121
+ }
122
+ return str;
123
+ }
124
+ return "Unknown error";
125
+ }
126
+ function isPanic(err) {
127
+ return err.fields?.message === "PANIC";
128
+ }
129
+
130
+ // src/errors/PrismaClientRustError.ts
131
+ var PrismaClientRustError = class extends Error {
132
+ clientVersion;
133
+ _isPanic;
134
+ constructor({ clientVersion, error }) {
135
+ const backtrace = getBacktrace(error);
136
+ super(backtrace ?? "Unknown error");
137
+ this._isPanic = isPanic(error);
138
+ this.clientVersion = clientVersion;
139
+ }
140
+ get [Symbol.toStringTag]() {
141
+ return "PrismaClientRustError";
142
+ }
143
+ isPanic() {
144
+ return this._isPanic;
145
+ }
146
+ };
147
+ setClassName(PrismaClientRustError, "PrismaClientRustError");
148
+
149
+ // src/errors/PrismaClientRustPanicError.ts
150
+ var PrismaClientRustPanicError = class extends Error {
151
+ clientVersion;
152
+ constructor(message, clientVersion) {
153
+ super(message);
154
+ this.name = "PrismaClientRustPanicError";
155
+ this.clientVersion = clientVersion;
156
+ }
157
+ get [Symbol.toStringTag]() {
158
+ return "PrismaClientRustPanicError";
159
+ }
160
+ };
161
+ setClassName(PrismaClientRustPanicError, "PrismaClientRustPanicError");
162
+
163
+ // src/errors/PrismaClientUnknownRequestError.ts
164
+ var PrismaClientUnknownRequestError = class extends Error {
165
+ clientVersion;
166
+ batchRequestIdx;
167
+ constructor(message, { clientVersion, batchRequestIdx }) {
168
+ super(message);
169
+ this.name = "PrismaClientUnknownRequestError";
170
+ this.clientVersion = clientVersion;
171
+ Object.defineProperty(this, "batchRequestIdx", {
172
+ value: batchRequestIdx,
173
+ writable: true,
174
+ enumerable: false
175
+ });
176
+ }
177
+ get [Symbol.toStringTag]() {
178
+ return "PrismaClientUnknownRequestError";
179
+ }
180
+ };
181
+ setClassName(PrismaClientUnknownRequestError, "PrismaClientUnknownRequestError");
182
+
183
+ // src/errors/PrismaClientValidationError.ts
184
+ var PrismaClientValidationError = class extends Error {
185
+ name = "PrismaClientValidationError";
186
+ clientVersion;
187
+ constructor(message, { clientVersion }) {
188
+ super(message);
189
+ this.clientVersion = clientVersion;
190
+ }
191
+ get [Symbol.toStringTag]() {
192
+ return "PrismaClientValidationError";
193
+ }
194
+ };
195
+ setClassName(PrismaClientValidationError, "PrismaClientValidationError");
196
+
197
+ // src/nullTypes.ts
198
+ var secret = Symbol();
199
+ var representations = /* @__PURE__ */ new WeakMap();
200
+ var ObjectEnumValue = class {
201
+ constructor(arg) {
202
+ if (arg === secret) {
203
+ representations.set(this, `Prisma.${this._getName()}`);
204
+ } else {
205
+ representations.set(this, `new Prisma.${this._getNamespace()}.${this._getName()}()`);
206
+ }
207
+ }
208
+ _getName() {
209
+ return this.constructor.name;
210
+ }
211
+ toString() {
212
+ return representations.get(this);
213
+ }
214
+ };
215
+ function setClassName2(classObject, name) {
216
+ Object.defineProperty(classObject, "name", {
217
+ value: name,
218
+ configurable: true
219
+ });
220
+ }
221
+ var NullTypesEnumValue = class extends ObjectEnumValue {
222
+ _getNamespace() {
223
+ return "NullTypes";
224
+ }
225
+ };
226
+ var DbNullClass = class extends NullTypesEnumValue {
227
+ // Phantom private property to prevent structural type equality
228
+ // eslint-disable-next-line no-unused-private-class-members
229
+ #_brand_DbNull;
230
+ };
231
+ setClassName2(DbNullClass, "DbNull");
232
+ var JsonNullClass = class extends NullTypesEnumValue {
233
+ // Phantom private property to prevent structural type equality
234
+ // eslint-disable-next-line no-unused-private-class-members
235
+ #_brand_JsonNull;
236
+ };
237
+ setClassName2(JsonNullClass, "JsonNull");
238
+ var AnyNullClass = class extends NullTypesEnumValue {
239
+ // Phantom private property to prevent structural type equality
240
+ // eslint-disable-next-line no-unused-private-class-members
241
+ #_brand_AnyNull;
242
+ };
243
+ setClassName2(AnyNullClass, "AnyNull");
244
+ var NullTypes = {
245
+ DbNull: DbNullClass,
246
+ JsonNull: JsonNullClass,
247
+ AnyNull: AnyNullClass
248
+ };
249
+ var DbNull = new DbNullClass(secret);
250
+ var JsonNull = new JsonNullClass(secret);
251
+ var AnyNull = new AnyNullClass(secret);
252
+ function isDbNull(value) {
253
+ return value === DbNull;
254
+ }
255
+ function isJsonNull(value) {
256
+ return value === JsonNull;
257
+ }
258
+ function isAnyNull(value) {
259
+ return value === AnyNull;
260
+ }
261
+
262
+ // ../../node_modules/.pnpm/decimal.js@10.5.0/node_modules/decimal.js/decimal.mjs
263
+ var EXP_LIMIT = 9e15;
264
+ var MAX_DIGITS = 1e9;
265
+ var NUMERALS = "0123456789abcdef";
266
+ var LN10 = "2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058";
267
+ var PI = "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789";
268
+ var DEFAULTS = {
269
+ // These values must be integers within the stated ranges (inclusive).
270
+ // Most of these values can be changed at run-time using the `Decimal.config` method.
271
+ // The maximum number of significant digits of the result of a calculation or base conversion.
272
+ // E.g. `Decimal.config({ precision: 20 });`
273
+ precision: 20,
274
+ // 1 to MAX_DIGITS
275
+ // The rounding mode used when rounding to `precision`.
276
+ //
277
+ // ROUND_UP 0 Away from zero.
278
+ // ROUND_DOWN 1 Towards zero.
279
+ // ROUND_CEIL 2 Towards +Infinity.
280
+ // ROUND_FLOOR 3 Towards -Infinity.
281
+ // ROUND_HALF_UP 4 Towards nearest neighbour. If equidistant, up.
282
+ // ROUND_HALF_DOWN 5 Towards nearest neighbour. If equidistant, down.
283
+ // ROUND_HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour.
284
+ // ROUND_HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity.
285
+ // ROUND_HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity.
286
+ //
287
+ // E.g.
288
+ // `Decimal.rounding = 4;`
289
+ // `Decimal.rounding = Decimal.ROUND_HALF_UP;`
290
+ rounding: 4,
291
+ // 0 to 8
292
+ // The modulo mode used when calculating the modulus: a mod n.
293
+ // The quotient (q = a / n) is calculated according to the corresponding rounding mode.
294
+ // The remainder (r) is calculated as: r = a - n * q.
295
+ //
296
+ // UP 0 The remainder is positive if the dividend is negative, else is negative.
297
+ // DOWN 1 The remainder has the same sign as the dividend (JavaScript %).
298
+ // FLOOR 3 The remainder has the same sign as the divisor (Python %).
299
+ // HALF_EVEN 6 The IEEE 754 remainder function.
300
+ // EUCLID 9 Euclidian division. q = sign(n) * floor(a / abs(n)). Always positive.
301
+ //
302
+ // Truncated division (1), floored division (3), the IEEE 754 remainder (6), and Euclidian
303
+ // division (9) are commonly used for the modulus operation. The other rounding modes can also
304
+ // be used, but they may not give useful results.
305
+ modulo: 1,
306
+ // 0 to 9
307
+ // The exponent value at and beneath which `toString` returns exponential notation.
308
+ // JavaScript numbers: -7
309
+ toExpNeg: -7,
310
+ // 0 to -EXP_LIMIT
311
+ // The exponent value at and above which `toString` returns exponential notation.
312
+ // JavaScript numbers: 21
313
+ toExpPos: 21,
314
+ // 0 to EXP_LIMIT
315
+ // The minimum exponent value, beneath which underflow to zero occurs.
316
+ // JavaScript numbers: -324 (5e-324)
317
+ minE: -EXP_LIMIT,
318
+ // -1 to -EXP_LIMIT
319
+ // The maximum exponent value, above which overflow to Infinity occurs.
320
+ // JavaScript numbers: 308 (1.7976931348623157e+308)
321
+ maxE: EXP_LIMIT,
322
+ // 1 to EXP_LIMIT
323
+ // Whether to use cryptographically-secure random number generation, if available.
324
+ crypto: false
325
+ // true/false
326
+ };
327
+ var inexact;
328
+ var quadrant;
329
+ var external = true;
330
+ var decimalError = "[DecimalError] ";
331
+ var invalidArgument = decimalError + "Invalid argument: ";
332
+ var precisionLimitExceeded = decimalError + "Precision limit exceeded";
333
+ var cryptoUnavailable = decimalError + "crypto unavailable";
334
+ var tag = "[object Decimal]";
335
+ var mathfloor = Math.floor;
336
+ var mathpow = Math.pow;
337
+ var isBinary = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i;
338
+ var isHex = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i;
339
+ var isOctal = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i;
340
+ var isDecimal = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
341
+ var BASE = 1e7;
342
+ var LOG_BASE = 7;
343
+ var MAX_SAFE_INTEGER = 9007199254740991;
344
+ var LN10_PRECISION = LN10.length - 1;
345
+ var PI_PRECISION = PI.length - 1;
346
+ var P = { toStringTag: tag };
347
+ P.absoluteValue = P.abs = function() {
348
+ var x = new this.constructor(this);
349
+ if (x.s < 0) x.s = 1;
350
+ return finalise(x);
351
+ };
352
+ P.ceil = function() {
353
+ return finalise(new this.constructor(this), this.e + 1, 2);
354
+ };
355
+ P.clampedTo = P.clamp = function(min2, max2) {
356
+ var k, x = this, Ctor = x.constructor;
357
+ min2 = new Ctor(min2);
358
+ max2 = new Ctor(max2);
359
+ if (!min2.s || !max2.s) return new Ctor(NaN);
360
+ if (min2.gt(max2)) throw Error(invalidArgument + max2);
361
+ k = x.cmp(min2);
362
+ return k < 0 ? min2 : x.cmp(max2) > 0 ? max2 : new Ctor(x);
363
+ };
364
+ P.comparedTo = P.cmp = function(y) {
365
+ var i, j, xdL, ydL, x = this, xd = x.d, yd = (y = new x.constructor(y)).d, xs = x.s, ys = y.s;
366
+ if (!xd || !yd) {
367
+ return !xs || !ys ? NaN : xs !== ys ? xs : xd === yd ? 0 : !xd ^ xs < 0 ? 1 : -1;
368
+ }
369
+ if (!xd[0] || !yd[0]) return xd[0] ? xs : yd[0] ? -ys : 0;
370
+ if (xs !== ys) return xs;
371
+ if (x.e !== y.e) return x.e > y.e ^ xs < 0 ? 1 : -1;
372
+ xdL = xd.length;
373
+ ydL = yd.length;
374
+ for (i = 0, j = xdL < ydL ? xdL : ydL; i < j; ++i) {
375
+ if (xd[i] !== yd[i]) return xd[i] > yd[i] ^ xs < 0 ? 1 : -1;
376
+ }
377
+ return xdL === ydL ? 0 : xdL > ydL ^ xs < 0 ? 1 : -1;
378
+ };
379
+ P.cosine = P.cos = function() {
380
+ var pr, rm, x = this, Ctor = x.constructor;
381
+ if (!x.d) return new Ctor(NaN);
382
+ if (!x.d[0]) return new Ctor(1);
383
+ pr = Ctor.precision;
384
+ rm = Ctor.rounding;
385
+ Ctor.precision = pr + Math.max(x.e, x.sd()) + LOG_BASE;
386
+ Ctor.rounding = 1;
387
+ x = cosine(Ctor, toLessThanHalfPi(Ctor, x));
388
+ Ctor.precision = pr;
389
+ Ctor.rounding = rm;
390
+ return finalise(quadrant == 2 || quadrant == 3 ? x.neg() : x, pr, rm, true);
391
+ };
392
+ P.cubeRoot = P.cbrt = function() {
393
+ var e, m, n, r, rep, s, sd, t, t3, t3plusx, x = this, Ctor = x.constructor;
394
+ if (!x.isFinite() || x.isZero()) return new Ctor(x);
395
+ external = false;
396
+ s = x.s * mathpow(x.s * x, 1 / 3);
397
+ if (!s || Math.abs(s) == 1 / 0) {
398
+ n = digitsToString(x.d);
399
+ e = x.e;
400
+ if (s = (e - n.length + 1) % 3) n += s == 1 || s == -2 ? "0" : "00";
401
+ s = mathpow(n, 1 / 3);
402
+ e = mathfloor((e + 1) / 3) - (e % 3 == (e < 0 ? -1 : 2));
403
+ if (s == 1 / 0) {
404
+ n = "5e" + e;
405
+ } else {
406
+ n = s.toExponential();
407
+ n = n.slice(0, n.indexOf("e") + 1) + e;
408
+ }
409
+ r = new Ctor(n);
410
+ r.s = x.s;
411
+ } else {
412
+ r = new Ctor(s.toString());
413
+ }
414
+ sd = (e = Ctor.precision) + 3;
415
+ for (; ; ) {
416
+ t = r;
417
+ t3 = t.times(t).times(t);
418
+ t3plusx = t3.plus(x);
419
+ r = divide(t3plusx.plus(x).times(t), t3plusx.plus(t3), sd + 2, 1);
420
+ if (digitsToString(t.d).slice(0, sd) === (n = digitsToString(r.d)).slice(0, sd)) {
421
+ n = n.slice(sd - 3, sd + 1);
422
+ if (n == "9999" || !rep && n == "4999") {
423
+ if (!rep) {
424
+ finalise(t, e + 1, 0);
425
+ if (t.times(t).times(t).eq(x)) {
426
+ r = t;
427
+ break;
428
+ }
429
+ }
430
+ sd += 4;
431
+ rep = 1;
432
+ } else {
433
+ if (!+n || !+n.slice(1) && n.charAt(0) == "5") {
434
+ finalise(r, e + 1, 1);
435
+ m = !r.times(r).times(r).eq(x);
436
+ }
437
+ break;
438
+ }
439
+ }
440
+ }
441
+ external = true;
442
+ return finalise(r, e, Ctor.rounding, m);
443
+ };
444
+ P.decimalPlaces = P.dp = function() {
445
+ var w, d = this.d, n = NaN;
446
+ if (d) {
447
+ w = d.length - 1;
448
+ n = (w - mathfloor(this.e / LOG_BASE)) * LOG_BASE;
449
+ w = d[w];
450
+ if (w) for (; w % 10 == 0; w /= 10) n--;
451
+ if (n < 0) n = 0;
452
+ }
453
+ return n;
454
+ };
455
+ P.dividedBy = P.div = function(y) {
456
+ return divide(this, new this.constructor(y));
457
+ };
458
+ P.dividedToIntegerBy = P.divToInt = function(y) {
459
+ var x = this, Ctor = x.constructor;
460
+ return finalise(divide(x, new Ctor(y), 0, 1, 1), Ctor.precision, Ctor.rounding);
461
+ };
462
+ P.equals = P.eq = function(y) {
463
+ return this.cmp(y) === 0;
464
+ };
465
+ P.floor = function() {
466
+ return finalise(new this.constructor(this), this.e + 1, 3);
467
+ };
468
+ P.greaterThan = P.gt = function(y) {
469
+ return this.cmp(y) > 0;
470
+ };
471
+ P.greaterThanOrEqualTo = P.gte = function(y) {
472
+ var k = this.cmp(y);
473
+ return k == 1 || k === 0;
474
+ };
475
+ P.hyperbolicCosine = P.cosh = function() {
476
+ var k, n, pr, rm, len, x = this, Ctor = x.constructor, one = new Ctor(1);
477
+ if (!x.isFinite()) return new Ctor(x.s ? 1 / 0 : NaN);
478
+ if (x.isZero()) return one;
479
+ pr = Ctor.precision;
480
+ rm = Ctor.rounding;
481
+ Ctor.precision = pr + Math.max(x.e, x.sd()) + 4;
482
+ Ctor.rounding = 1;
483
+ len = x.d.length;
484
+ if (len < 32) {
485
+ k = Math.ceil(len / 3);
486
+ n = (1 / tinyPow(4, k)).toString();
487
+ } else {
488
+ k = 16;
489
+ n = "2.3283064365386962890625e-10";
490
+ }
491
+ x = taylorSeries(Ctor, 1, x.times(n), new Ctor(1), true);
492
+ var cosh2_x, i = k, d8 = new Ctor(8);
493
+ for (; i--; ) {
494
+ cosh2_x = x.times(x);
495
+ x = one.minus(cosh2_x.times(d8.minus(cosh2_x.times(d8))));
496
+ }
497
+ return finalise(x, Ctor.precision = pr, Ctor.rounding = rm, true);
498
+ };
499
+ P.hyperbolicSine = P.sinh = function() {
500
+ var k, pr, rm, len, x = this, Ctor = x.constructor;
501
+ if (!x.isFinite() || x.isZero()) return new Ctor(x);
502
+ pr = Ctor.precision;
503
+ rm = Ctor.rounding;
504
+ Ctor.precision = pr + Math.max(x.e, x.sd()) + 4;
505
+ Ctor.rounding = 1;
506
+ len = x.d.length;
507
+ if (len < 3) {
508
+ x = taylorSeries(Ctor, 2, x, x, true);
509
+ } else {
510
+ k = 1.4 * Math.sqrt(len);
511
+ k = k > 16 ? 16 : k | 0;
512
+ x = x.times(1 / tinyPow(5, k));
513
+ x = taylorSeries(Ctor, 2, x, x, true);
514
+ var sinh2_x, d5 = new Ctor(5), d16 = new Ctor(16), d20 = new Ctor(20);
515
+ for (; k--; ) {
516
+ sinh2_x = x.times(x);
517
+ x = x.times(d5.plus(sinh2_x.times(d16.times(sinh2_x).plus(d20))));
518
+ }
519
+ }
520
+ Ctor.precision = pr;
521
+ Ctor.rounding = rm;
522
+ return finalise(x, pr, rm, true);
523
+ };
524
+ P.hyperbolicTangent = P.tanh = function() {
525
+ var pr, rm, x = this, Ctor = x.constructor;
526
+ if (!x.isFinite()) return new Ctor(x.s);
527
+ if (x.isZero()) return new Ctor(x);
528
+ pr = Ctor.precision;
529
+ rm = Ctor.rounding;
530
+ Ctor.precision = pr + 7;
531
+ Ctor.rounding = 1;
532
+ return divide(x.sinh(), x.cosh(), Ctor.precision = pr, Ctor.rounding = rm);
533
+ };
534
+ P.inverseCosine = P.acos = function() {
535
+ var x = this, Ctor = x.constructor, k = x.abs().cmp(1), pr = Ctor.precision, rm = Ctor.rounding;
536
+ if (k !== -1) {
537
+ return k === 0 ? x.isNeg() ? getPi(Ctor, pr, rm) : new Ctor(0) : new Ctor(NaN);
538
+ }
539
+ if (x.isZero()) return getPi(Ctor, pr + 4, rm).times(0.5);
540
+ Ctor.precision = pr + 6;
541
+ Ctor.rounding = 1;
542
+ x = new Ctor(1).minus(x).div(x.plus(1)).sqrt().atan();
543
+ Ctor.precision = pr;
544
+ Ctor.rounding = rm;
545
+ return x.times(2);
546
+ };
547
+ P.inverseHyperbolicCosine = P.acosh = function() {
548
+ var pr, rm, x = this, Ctor = x.constructor;
549
+ if (x.lte(1)) return new Ctor(x.eq(1) ? 0 : NaN);
550
+ if (!x.isFinite()) return new Ctor(x);
551
+ pr = Ctor.precision;
552
+ rm = Ctor.rounding;
553
+ Ctor.precision = pr + Math.max(Math.abs(x.e), x.sd()) + 4;
554
+ Ctor.rounding = 1;
555
+ external = false;
556
+ x = x.times(x).minus(1).sqrt().plus(x);
557
+ external = true;
558
+ Ctor.precision = pr;
559
+ Ctor.rounding = rm;
560
+ return x.ln();
561
+ };
562
+ P.inverseHyperbolicSine = P.asinh = function() {
563
+ var pr, rm, x = this, Ctor = x.constructor;
564
+ if (!x.isFinite() || x.isZero()) return new Ctor(x);
565
+ pr = Ctor.precision;
566
+ rm = Ctor.rounding;
567
+ Ctor.precision = pr + 2 * Math.max(Math.abs(x.e), x.sd()) + 6;
568
+ Ctor.rounding = 1;
569
+ external = false;
570
+ x = x.times(x).plus(1).sqrt().plus(x);
571
+ external = true;
572
+ Ctor.precision = pr;
573
+ Ctor.rounding = rm;
574
+ return x.ln();
575
+ };
576
+ P.inverseHyperbolicTangent = P.atanh = function() {
577
+ var pr, rm, wpr, xsd, x = this, Ctor = x.constructor;
578
+ if (!x.isFinite()) return new Ctor(NaN);
579
+ if (x.e >= 0) return new Ctor(x.abs().eq(1) ? x.s / 0 : x.isZero() ? x : NaN);
580
+ pr = Ctor.precision;
581
+ rm = Ctor.rounding;
582
+ xsd = x.sd();
583
+ if (Math.max(xsd, pr) < 2 * -x.e - 1) return finalise(new Ctor(x), pr, rm, true);
584
+ Ctor.precision = wpr = xsd - x.e;
585
+ x = divide(x.plus(1), new Ctor(1).minus(x), wpr + pr, 1);
586
+ Ctor.precision = pr + 4;
587
+ Ctor.rounding = 1;
588
+ x = x.ln();
589
+ Ctor.precision = pr;
590
+ Ctor.rounding = rm;
591
+ return x.times(0.5);
592
+ };
593
+ P.inverseSine = P.asin = function() {
594
+ var halfPi, k, pr, rm, x = this, Ctor = x.constructor;
595
+ if (x.isZero()) return new Ctor(x);
596
+ k = x.abs().cmp(1);
597
+ pr = Ctor.precision;
598
+ rm = Ctor.rounding;
599
+ if (k !== -1) {
600
+ if (k === 0) {
601
+ halfPi = getPi(Ctor, pr + 4, rm).times(0.5);
602
+ halfPi.s = x.s;
603
+ return halfPi;
604
+ }
605
+ return new Ctor(NaN);
606
+ }
607
+ Ctor.precision = pr + 6;
608
+ Ctor.rounding = 1;
609
+ x = x.div(new Ctor(1).minus(x.times(x)).sqrt().plus(1)).atan();
610
+ Ctor.precision = pr;
611
+ Ctor.rounding = rm;
612
+ return x.times(2);
613
+ };
614
+ P.inverseTangent = P.atan = function() {
615
+ var i, j, k, n, px, t, r, wpr, x2, x = this, Ctor = x.constructor, pr = Ctor.precision, rm = Ctor.rounding;
616
+ if (!x.isFinite()) {
617
+ if (!x.s) return new Ctor(NaN);
618
+ if (pr + 4 <= PI_PRECISION) {
619
+ r = getPi(Ctor, pr + 4, rm).times(0.5);
620
+ r.s = x.s;
621
+ return r;
622
+ }
623
+ } else if (x.isZero()) {
624
+ return new Ctor(x);
625
+ } else if (x.abs().eq(1) && pr + 4 <= PI_PRECISION) {
626
+ r = getPi(Ctor, pr + 4, rm).times(0.25);
627
+ r.s = x.s;
628
+ return r;
629
+ }
630
+ Ctor.precision = wpr = pr + 10;
631
+ Ctor.rounding = 1;
632
+ k = Math.min(28, wpr / LOG_BASE + 2 | 0);
633
+ for (i = k; i; --i) x = x.div(x.times(x).plus(1).sqrt().plus(1));
634
+ external = false;
635
+ j = Math.ceil(wpr / LOG_BASE);
636
+ n = 1;
637
+ x2 = x.times(x);
638
+ r = new Ctor(x);
639
+ px = x;
640
+ for (; i !== -1; ) {
641
+ px = px.times(x2);
642
+ t = r.minus(px.div(n += 2));
643
+ px = px.times(x2);
644
+ r = t.plus(px.div(n += 2));
645
+ if (r.d[j] !== void 0) for (i = j; r.d[i] === t.d[i] && i--; ) ;
646
+ }
647
+ if (k) r = r.times(2 << k - 1);
648
+ external = true;
649
+ return finalise(r, Ctor.precision = pr, Ctor.rounding = rm, true);
650
+ };
651
+ P.isFinite = function() {
652
+ return !!this.d;
653
+ };
654
+ P.isInteger = P.isInt = function() {
655
+ return !!this.d && mathfloor(this.e / LOG_BASE) > this.d.length - 2;
656
+ };
657
+ P.isNaN = function() {
658
+ return !this.s;
659
+ };
660
+ P.isNegative = P.isNeg = function() {
661
+ return this.s < 0;
662
+ };
663
+ P.isPositive = P.isPos = function() {
664
+ return this.s > 0;
665
+ };
666
+ P.isZero = function() {
667
+ return !!this.d && this.d[0] === 0;
668
+ };
669
+ P.lessThan = P.lt = function(y) {
670
+ return this.cmp(y) < 0;
671
+ };
672
+ P.lessThanOrEqualTo = P.lte = function(y) {
673
+ return this.cmp(y) < 1;
674
+ };
675
+ P.logarithm = P.log = function(base) {
676
+ var isBase10, d, denominator, k, inf, num, sd, r, arg = this, Ctor = arg.constructor, pr = Ctor.precision, rm = Ctor.rounding, guard = 5;
677
+ if (base == null) {
678
+ base = new Ctor(10);
679
+ isBase10 = true;
680
+ } else {
681
+ base = new Ctor(base);
682
+ d = base.d;
683
+ if (base.s < 0 || !d || !d[0] || base.eq(1)) return new Ctor(NaN);
684
+ isBase10 = base.eq(10);
685
+ }
686
+ d = arg.d;
687
+ if (arg.s < 0 || !d || !d[0] || arg.eq(1)) {
688
+ return new Ctor(d && !d[0] ? -1 / 0 : arg.s != 1 ? NaN : d ? 0 : 1 / 0);
689
+ }
690
+ if (isBase10) {
691
+ if (d.length > 1) {
692
+ inf = true;
693
+ } else {
694
+ for (k = d[0]; k % 10 === 0; ) k /= 10;
695
+ inf = k !== 1;
696
+ }
697
+ }
698
+ external = false;
699
+ sd = pr + guard;
700
+ num = naturalLogarithm(arg, sd);
701
+ denominator = isBase10 ? getLn10(Ctor, sd + 10) : naturalLogarithm(base, sd);
702
+ r = divide(num, denominator, sd, 1);
703
+ if (checkRoundingDigits(r.d, k = pr, rm)) {
704
+ do {
705
+ sd += 10;
706
+ num = naturalLogarithm(arg, sd);
707
+ denominator = isBase10 ? getLn10(Ctor, sd + 10) : naturalLogarithm(base, sd);
708
+ r = divide(num, denominator, sd, 1);
709
+ if (!inf) {
710
+ if (+digitsToString(r.d).slice(k + 1, k + 15) + 1 == 1e14) {
711
+ r = finalise(r, pr + 1, 0);
712
+ }
713
+ break;
714
+ }
715
+ } while (checkRoundingDigits(r.d, k += 10, rm));
716
+ }
717
+ external = true;
718
+ return finalise(r, pr, rm);
719
+ };
720
+ P.minus = P.sub = function(y) {
721
+ var d, e, i, j, k, len, pr, rm, xd, xe, xLTy, yd, x = this, Ctor = x.constructor;
722
+ y = new Ctor(y);
723
+ if (!x.d || !y.d) {
724
+ if (!x.s || !y.s) y = new Ctor(NaN);
725
+ else if (x.d) y.s = -y.s;
726
+ else y = new Ctor(y.d || x.s !== y.s ? x : NaN);
727
+ return y;
728
+ }
729
+ if (x.s != y.s) {
730
+ y.s = -y.s;
731
+ return x.plus(y);
732
+ }
733
+ xd = x.d;
734
+ yd = y.d;
735
+ pr = Ctor.precision;
736
+ rm = Ctor.rounding;
737
+ if (!xd[0] || !yd[0]) {
738
+ if (yd[0]) y.s = -y.s;
739
+ else if (xd[0]) y = new Ctor(x);
740
+ else return new Ctor(rm === 3 ? -0 : 0);
741
+ return external ? finalise(y, pr, rm) : y;
742
+ }
743
+ e = mathfloor(y.e / LOG_BASE);
744
+ xe = mathfloor(x.e / LOG_BASE);
745
+ xd = xd.slice();
746
+ k = xe - e;
747
+ if (k) {
748
+ xLTy = k < 0;
749
+ if (xLTy) {
750
+ d = xd;
751
+ k = -k;
752
+ len = yd.length;
753
+ } else {
754
+ d = yd;
755
+ e = xe;
756
+ len = xd.length;
757
+ }
758
+ i = Math.max(Math.ceil(pr / LOG_BASE), len) + 2;
759
+ if (k > i) {
760
+ k = i;
761
+ d.length = 1;
762
+ }
763
+ d.reverse();
764
+ for (i = k; i--; ) d.push(0);
765
+ d.reverse();
766
+ } else {
767
+ i = xd.length;
768
+ len = yd.length;
769
+ xLTy = i < len;
770
+ if (xLTy) len = i;
771
+ for (i = 0; i < len; i++) {
772
+ if (xd[i] != yd[i]) {
773
+ xLTy = xd[i] < yd[i];
774
+ break;
775
+ }
776
+ }
777
+ k = 0;
778
+ }
779
+ if (xLTy) {
780
+ d = xd;
781
+ xd = yd;
782
+ yd = d;
783
+ y.s = -y.s;
784
+ }
785
+ len = xd.length;
786
+ for (i = yd.length - len; i > 0; --i) xd[len++] = 0;
787
+ for (i = yd.length; i > k; ) {
788
+ if (xd[--i] < yd[i]) {
789
+ for (j = i; j && xd[--j] === 0; ) xd[j] = BASE - 1;
790
+ --xd[j];
791
+ xd[i] += BASE;
792
+ }
793
+ xd[i] -= yd[i];
794
+ }
795
+ for (; xd[--len] === 0; ) xd.pop();
796
+ for (; xd[0] === 0; xd.shift()) --e;
797
+ if (!xd[0]) return new Ctor(rm === 3 ? -0 : 0);
798
+ y.d = xd;
799
+ y.e = getBase10Exponent(xd, e);
800
+ return external ? finalise(y, pr, rm) : y;
801
+ };
802
+ P.modulo = P.mod = function(y) {
803
+ var q, x = this, Ctor = x.constructor;
804
+ y = new Ctor(y);
805
+ if (!x.d || !y.s || y.d && !y.d[0]) return new Ctor(NaN);
806
+ if (!y.d || x.d && !x.d[0]) {
807
+ return finalise(new Ctor(x), Ctor.precision, Ctor.rounding);
808
+ }
809
+ external = false;
810
+ if (Ctor.modulo == 9) {
811
+ q = divide(x, y.abs(), 0, 3, 1);
812
+ q.s *= y.s;
813
+ } else {
814
+ q = divide(x, y, 0, Ctor.modulo, 1);
815
+ }
816
+ q = q.times(y);
817
+ external = true;
818
+ return x.minus(q);
819
+ };
820
+ P.naturalExponential = P.exp = function() {
821
+ return naturalExponential(this);
822
+ };
823
+ P.naturalLogarithm = P.ln = function() {
824
+ return naturalLogarithm(this);
825
+ };
826
+ P.negated = P.neg = function() {
827
+ var x = new this.constructor(this);
828
+ x.s = -x.s;
829
+ return finalise(x);
830
+ };
831
+ P.plus = P.add = function(y) {
832
+ var carry, d, e, i, k, len, pr, rm, xd, yd, x = this, Ctor = x.constructor;
833
+ y = new Ctor(y);
834
+ if (!x.d || !y.d) {
835
+ if (!x.s || !y.s) y = new Ctor(NaN);
836
+ else if (!x.d) y = new Ctor(y.d || x.s === y.s ? x : NaN);
837
+ return y;
838
+ }
839
+ if (x.s != y.s) {
840
+ y.s = -y.s;
841
+ return x.minus(y);
842
+ }
843
+ xd = x.d;
844
+ yd = y.d;
845
+ pr = Ctor.precision;
846
+ rm = Ctor.rounding;
847
+ if (!xd[0] || !yd[0]) {
848
+ if (!yd[0]) y = new Ctor(x);
849
+ return external ? finalise(y, pr, rm) : y;
850
+ }
851
+ k = mathfloor(x.e / LOG_BASE);
852
+ e = mathfloor(y.e / LOG_BASE);
853
+ xd = xd.slice();
854
+ i = k - e;
855
+ if (i) {
856
+ if (i < 0) {
857
+ d = xd;
858
+ i = -i;
859
+ len = yd.length;
860
+ } else {
861
+ d = yd;
862
+ e = k;
863
+ len = xd.length;
864
+ }
865
+ k = Math.ceil(pr / LOG_BASE);
866
+ len = k > len ? k + 1 : len + 1;
867
+ if (i > len) {
868
+ i = len;
869
+ d.length = 1;
870
+ }
871
+ d.reverse();
872
+ for (; i--; ) d.push(0);
873
+ d.reverse();
874
+ }
875
+ len = xd.length;
876
+ i = yd.length;
877
+ if (len - i < 0) {
878
+ i = len;
879
+ d = yd;
880
+ yd = xd;
881
+ xd = d;
882
+ }
883
+ for (carry = 0; i; ) {
884
+ carry = (xd[--i] = xd[i] + yd[i] + carry) / BASE | 0;
885
+ xd[i] %= BASE;
886
+ }
887
+ if (carry) {
888
+ xd.unshift(carry);
889
+ ++e;
890
+ }
891
+ for (len = xd.length; xd[--len] == 0; ) xd.pop();
892
+ y.d = xd;
893
+ y.e = getBase10Exponent(xd, e);
894
+ return external ? finalise(y, pr, rm) : y;
895
+ };
896
+ P.precision = P.sd = function(z) {
897
+ var k, x = this;
898
+ if (z !== void 0 && z !== !!z && z !== 1 && z !== 0) throw Error(invalidArgument + z);
899
+ if (x.d) {
900
+ k = getPrecision(x.d);
901
+ if (z && x.e + 1 > k) k = x.e + 1;
902
+ } else {
903
+ k = NaN;
904
+ }
905
+ return k;
906
+ };
907
+ P.round = function() {
908
+ var x = this, Ctor = x.constructor;
909
+ return finalise(new Ctor(x), x.e + 1, Ctor.rounding);
910
+ };
911
+ P.sine = P.sin = function() {
912
+ var pr, rm, x = this, Ctor = x.constructor;
913
+ if (!x.isFinite()) return new Ctor(NaN);
914
+ if (x.isZero()) return new Ctor(x);
915
+ pr = Ctor.precision;
916
+ rm = Ctor.rounding;
917
+ Ctor.precision = pr + Math.max(x.e, x.sd()) + LOG_BASE;
918
+ Ctor.rounding = 1;
919
+ x = sine(Ctor, toLessThanHalfPi(Ctor, x));
920
+ Ctor.precision = pr;
921
+ Ctor.rounding = rm;
922
+ return finalise(quadrant > 2 ? x.neg() : x, pr, rm, true);
923
+ };
924
+ P.squareRoot = P.sqrt = function() {
925
+ var m, n, sd, r, rep, t, x = this, d = x.d, e = x.e, s = x.s, Ctor = x.constructor;
926
+ if (s !== 1 || !d || !d[0]) {
927
+ return new Ctor(!s || s < 0 && (!d || d[0]) ? NaN : d ? x : 1 / 0);
928
+ }
929
+ external = false;
930
+ s = Math.sqrt(+x);
931
+ if (s == 0 || s == 1 / 0) {
932
+ n = digitsToString(d);
933
+ if ((n.length + e) % 2 == 0) n += "0";
934
+ s = Math.sqrt(n);
935
+ e = mathfloor((e + 1) / 2) - (e < 0 || e % 2);
936
+ if (s == 1 / 0) {
937
+ n = "5e" + e;
938
+ } else {
939
+ n = s.toExponential();
940
+ n = n.slice(0, n.indexOf("e") + 1) + e;
941
+ }
942
+ r = new Ctor(n);
943
+ } else {
944
+ r = new Ctor(s.toString());
945
+ }
946
+ sd = (e = Ctor.precision) + 3;
947
+ for (; ; ) {
948
+ t = r;
949
+ r = t.plus(divide(x, t, sd + 2, 1)).times(0.5);
950
+ if (digitsToString(t.d).slice(0, sd) === (n = digitsToString(r.d)).slice(0, sd)) {
951
+ n = n.slice(sd - 3, sd + 1);
952
+ if (n == "9999" || !rep && n == "4999") {
953
+ if (!rep) {
954
+ finalise(t, e + 1, 0);
955
+ if (t.times(t).eq(x)) {
956
+ r = t;
957
+ break;
958
+ }
959
+ }
960
+ sd += 4;
961
+ rep = 1;
962
+ } else {
963
+ if (!+n || !+n.slice(1) && n.charAt(0) == "5") {
964
+ finalise(r, e + 1, 1);
965
+ m = !r.times(r).eq(x);
966
+ }
967
+ break;
968
+ }
969
+ }
970
+ }
971
+ external = true;
972
+ return finalise(r, e, Ctor.rounding, m);
973
+ };
974
+ P.tangent = P.tan = function() {
975
+ var pr, rm, x = this, Ctor = x.constructor;
976
+ if (!x.isFinite()) return new Ctor(NaN);
977
+ if (x.isZero()) return new Ctor(x);
978
+ pr = Ctor.precision;
979
+ rm = Ctor.rounding;
980
+ Ctor.precision = pr + 10;
981
+ Ctor.rounding = 1;
982
+ x = x.sin();
983
+ x.s = 1;
984
+ x = divide(x, new Ctor(1).minus(x.times(x)).sqrt(), pr + 10, 0);
985
+ Ctor.precision = pr;
986
+ Ctor.rounding = rm;
987
+ return finalise(quadrant == 2 || quadrant == 4 ? x.neg() : x, pr, rm, true);
988
+ };
989
+ P.times = P.mul = function(y) {
990
+ var carry, e, i, k, r, rL, t, xdL, ydL, x = this, Ctor = x.constructor, xd = x.d, yd = (y = new Ctor(y)).d;
991
+ y.s *= x.s;
992
+ if (!xd || !xd[0] || !yd || !yd[0]) {
993
+ return new Ctor(!y.s || xd && !xd[0] && !yd || yd && !yd[0] && !xd ? NaN : !xd || !yd ? y.s / 0 : y.s * 0);
994
+ }
995
+ e = mathfloor(x.e / LOG_BASE) + mathfloor(y.e / LOG_BASE);
996
+ xdL = xd.length;
997
+ ydL = yd.length;
998
+ if (xdL < ydL) {
999
+ r = xd;
1000
+ xd = yd;
1001
+ yd = r;
1002
+ rL = xdL;
1003
+ xdL = ydL;
1004
+ ydL = rL;
1005
+ }
1006
+ r = [];
1007
+ rL = xdL + ydL;
1008
+ for (i = rL; i--; ) r.push(0);
1009
+ for (i = ydL; --i >= 0; ) {
1010
+ carry = 0;
1011
+ for (k = xdL + i; k > i; ) {
1012
+ t = r[k] + yd[i] * xd[k - i - 1] + carry;
1013
+ r[k--] = t % BASE | 0;
1014
+ carry = t / BASE | 0;
1015
+ }
1016
+ r[k] = (r[k] + carry) % BASE | 0;
1017
+ }
1018
+ for (; !r[--rL]; ) r.pop();
1019
+ if (carry) ++e;
1020
+ else r.shift();
1021
+ y.d = r;
1022
+ y.e = getBase10Exponent(r, e);
1023
+ return external ? finalise(y, Ctor.precision, Ctor.rounding) : y;
1024
+ };
1025
+ P.toBinary = function(sd, rm) {
1026
+ return toStringBinary(this, 2, sd, rm);
1027
+ };
1028
+ P.toDecimalPlaces = P.toDP = function(dp, rm) {
1029
+ var x = this, Ctor = x.constructor;
1030
+ x = new Ctor(x);
1031
+ if (dp === void 0) return x;
1032
+ checkInt32(dp, 0, MAX_DIGITS);
1033
+ if (rm === void 0) rm = Ctor.rounding;
1034
+ else checkInt32(rm, 0, 8);
1035
+ return finalise(x, dp + x.e + 1, rm);
1036
+ };
1037
+ P.toExponential = function(dp, rm) {
1038
+ var str, x = this, Ctor = x.constructor;
1039
+ if (dp === void 0) {
1040
+ str = finiteToString(x, true);
1041
+ } else {
1042
+ checkInt32(dp, 0, MAX_DIGITS);
1043
+ if (rm === void 0) rm = Ctor.rounding;
1044
+ else checkInt32(rm, 0, 8);
1045
+ x = finalise(new Ctor(x), dp + 1, rm);
1046
+ str = finiteToString(x, true, dp + 1);
1047
+ }
1048
+ return x.isNeg() && !x.isZero() ? "-" + str : str;
1049
+ };
1050
+ P.toFixed = function(dp, rm) {
1051
+ var str, y, x = this, Ctor = x.constructor;
1052
+ if (dp === void 0) {
1053
+ str = finiteToString(x);
1054
+ } else {
1055
+ checkInt32(dp, 0, MAX_DIGITS);
1056
+ if (rm === void 0) rm = Ctor.rounding;
1057
+ else checkInt32(rm, 0, 8);
1058
+ y = finalise(new Ctor(x), dp + x.e + 1, rm);
1059
+ str = finiteToString(y, false, dp + y.e + 1);
1060
+ }
1061
+ return x.isNeg() && !x.isZero() ? "-" + str : str;
1062
+ };
1063
+ P.toFraction = function(maxD) {
1064
+ var d, d0, d1, d2, e, k, n, n0, n1, pr, q, r, x = this, xd = x.d, Ctor = x.constructor;
1065
+ if (!xd) return new Ctor(x);
1066
+ n1 = d0 = new Ctor(1);
1067
+ d1 = n0 = new Ctor(0);
1068
+ d = new Ctor(d1);
1069
+ e = d.e = getPrecision(xd) - x.e - 1;
1070
+ k = e % LOG_BASE;
1071
+ d.d[0] = mathpow(10, k < 0 ? LOG_BASE + k : k);
1072
+ if (maxD == null) {
1073
+ maxD = e > 0 ? d : n1;
1074
+ } else {
1075
+ n = new Ctor(maxD);
1076
+ if (!n.isInt() || n.lt(n1)) throw Error(invalidArgument + n);
1077
+ maxD = n.gt(d) ? e > 0 ? d : n1 : n;
1078
+ }
1079
+ external = false;
1080
+ n = new Ctor(digitsToString(xd));
1081
+ pr = Ctor.precision;
1082
+ Ctor.precision = e = xd.length * LOG_BASE * 2;
1083
+ for (; ; ) {
1084
+ q = divide(n, d, 0, 1, 1);
1085
+ d2 = d0.plus(q.times(d1));
1086
+ if (d2.cmp(maxD) == 1) break;
1087
+ d0 = d1;
1088
+ d1 = d2;
1089
+ d2 = n1;
1090
+ n1 = n0.plus(q.times(d2));
1091
+ n0 = d2;
1092
+ d2 = d;
1093
+ d = n.minus(q.times(d2));
1094
+ n = d2;
1095
+ }
1096
+ d2 = divide(maxD.minus(d0), d1, 0, 1, 1);
1097
+ n0 = n0.plus(d2.times(n1));
1098
+ d0 = d0.plus(d2.times(d1));
1099
+ n0.s = n1.s = x.s;
1100
+ r = divide(n1, d1, e, 1).minus(x).abs().cmp(divide(n0, d0, e, 1).minus(x).abs()) < 1 ? [n1, d1] : [n0, d0];
1101
+ Ctor.precision = pr;
1102
+ external = true;
1103
+ return r;
1104
+ };
1105
+ P.toHexadecimal = P.toHex = function(sd, rm) {
1106
+ return toStringBinary(this, 16, sd, rm);
1107
+ };
1108
+ P.toNearest = function(y, rm) {
1109
+ var x = this, Ctor = x.constructor;
1110
+ x = new Ctor(x);
1111
+ if (y == null) {
1112
+ if (!x.d) return x;
1113
+ y = new Ctor(1);
1114
+ rm = Ctor.rounding;
1115
+ } else {
1116
+ y = new Ctor(y);
1117
+ if (rm === void 0) {
1118
+ rm = Ctor.rounding;
1119
+ } else {
1120
+ checkInt32(rm, 0, 8);
1121
+ }
1122
+ if (!x.d) return y.s ? x : y;
1123
+ if (!y.d) {
1124
+ if (y.s) y.s = x.s;
1125
+ return y;
1126
+ }
1127
+ }
1128
+ if (y.d[0]) {
1129
+ external = false;
1130
+ x = divide(x, y, 0, rm, 1).times(y);
1131
+ external = true;
1132
+ finalise(x);
1133
+ } else {
1134
+ y.s = x.s;
1135
+ x = y;
1136
+ }
1137
+ return x;
1138
+ };
1139
+ P.toNumber = function() {
1140
+ return +this;
1141
+ };
1142
+ P.toOctal = function(sd, rm) {
1143
+ return toStringBinary(this, 8, sd, rm);
1144
+ };
1145
+ P.toPower = P.pow = function(y) {
1146
+ var e, k, pr, r, rm, s, x = this, Ctor = x.constructor, yn = +(y = new Ctor(y));
1147
+ if (!x.d || !y.d || !x.d[0] || !y.d[0]) return new Ctor(mathpow(+x, yn));
1148
+ x = new Ctor(x);
1149
+ if (x.eq(1)) return x;
1150
+ pr = Ctor.precision;
1151
+ rm = Ctor.rounding;
1152
+ if (y.eq(1)) return finalise(x, pr, rm);
1153
+ e = mathfloor(y.e / LOG_BASE);
1154
+ if (e >= y.d.length - 1 && (k = yn < 0 ? -yn : yn) <= MAX_SAFE_INTEGER) {
1155
+ r = intPow(Ctor, x, k, pr);
1156
+ return y.s < 0 ? new Ctor(1).div(r) : finalise(r, pr, rm);
1157
+ }
1158
+ s = x.s;
1159
+ if (s < 0) {
1160
+ if (e < y.d.length - 1) return new Ctor(NaN);
1161
+ if ((y.d[e] & 1) == 0) s = 1;
1162
+ if (x.e == 0 && x.d[0] == 1 && x.d.length == 1) {
1163
+ x.s = s;
1164
+ return x;
1165
+ }
1166
+ }
1167
+ k = mathpow(+x, yn);
1168
+ e = k == 0 || !isFinite(k) ? mathfloor(yn * (Math.log("0." + digitsToString(x.d)) / Math.LN10 + x.e + 1)) : new Ctor(k + "").e;
1169
+ if (e > Ctor.maxE + 1 || e < Ctor.minE - 1) return new Ctor(e > 0 ? s / 0 : 0);
1170
+ external = false;
1171
+ Ctor.rounding = x.s = 1;
1172
+ k = Math.min(12, (e + "").length);
1173
+ r = naturalExponential(y.times(naturalLogarithm(x, pr + k)), pr);
1174
+ if (r.d) {
1175
+ r = finalise(r, pr + 5, 1);
1176
+ if (checkRoundingDigits(r.d, pr, rm)) {
1177
+ e = pr + 10;
1178
+ r = finalise(naturalExponential(y.times(naturalLogarithm(x, e + k)), e), e + 5, 1);
1179
+ if (+digitsToString(r.d).slice(pr + 1, pr + 15) + 1 == 1e14) {
1180
+ r = finalise(r, pr + 1, 0);
1181
+ }
1182
+ }
1183
+ }
1184
+ r.s = s;
1185
+ external = true;
1186
+ Ctor.rounding = rm;
1187
+ return finalise(r, pr, rm);
1188
+ };
1189
+ P.toPrecision = function(sd, rm) {
1190
+ var str, x = this, Ctor = x.constructor;
1191
+ if (sd === void 0) {
1192
+ str = finiteToString(x, x.e <= Ctor.toExpNeg || x.e >= Ctor.toExpPos);
1193
+ } else {
1194
+ checkInt32(sd, 1, MAX_DIGITS);
1195
+ if (rm === void 0) rm = Ctor.rounding;
1196
+ else checkInt32(rm, 0, 8);
1197
+ x = finalise(new Ctor(x), sd, rm);
1198
+ str = finiteToString(x, sd <= x.e || x.e <= Ctor.toExpNeg, sd);
1199
+ }
1200
+ return x.isNeg() && !x.isZero() ? "-" + str : str;
1201
+ };
1202
+ P.toSignificantDigits = P.toSD = function(sd, rm) {
1203
+ var x = this, Ctor = x.constructor;
1204
+ if (sd === void 0) {
1205
+ sd = Ctor.precision;
1206
+ rm = Ctor.rounding;
1207
+ } else {
1208
+ checkInt32(sd, 1, MAX_DIGITS);
1209
+ if (rm === void 0) rm = Ctor.rounding;
1210
+ else checkInt32(rm, 0, 8);
1211
+ }
1212
+ return finalise(new Ctor(x), sd, rm);
1213
+ };
1214
+ P.toString = function() {
1215
+ var x = this, Ctor = x.constructor, str = finiteToString(x, x.e <= Ctor.toExpNeg || x.e >= Ctor.toExpPos);
1216
+ return x.isNeg() && !x.isZero() ? "-" + str : str;
1217
+ };
1218
+ P.truncated = P.trunc = function() {
1219
+ return finalise(new this.constructor(this), this.e + 1, 1);
1220
+ };
1221
+ P.valueOf = P.toJSON = function() {
1222
+ var x = this, Ctor = x.constructor, str = finiteToString(x, x.e <= Ctor.toExpNeg || x.e >= Ctor.toExpPos);
1223
+ return x.isNeg() ? "-" + str : str;
1224
+ };
1225
+ function digitsToString(d) {
1226
+ var i, k, ws, indexOfLastWord = d.length - 1, str = "", w = d[0];
1227
+ if (indexOfLastWord > 0) {
1228
+ str += w;
1229
+ for (i = 1; i < indexOfLastWord; i++) {
1230
+ ws = d[i] + "";
1231
+ k = LOG_BASE - ws.length;
1232
+ if (k) str += getZeroString(k);
1233
+ str += ws;
1234
+ }
1235
+ w = d[i];
1236
+ ws = w + "";
1237
+ k = LOG_BASE - ws.length;
1238
+ if (k) str += getZeroString(k);
1239
+ } else if (w === 0) {
1240
+ return "0";
1241
+ }
1242
+ for (; w % 10 === 0; ) w /= 10;
1243
+ return str + w;
1244
+ }
1245
+ function checkInt32(i, min2, max2) {
1246
+ if (i !== ~~i || i < min2 || i > max2) {
1247
+ throw Error(invalidArgument + i);
1248
+ }
1249
+ }
1250
+ function checkRoundingDigits(d, i, rm, repeating) {
1251
+ var di, k, r, rd;
1252
+ for (k = d[0]; k >= 10; k /= 10) --i;
1253
+ if (--i < 0) {
1254
+ i += LOG_BASE;
1255
+ di = 0;
1256
+ } else {
1257
+ di = Math.ceil((i + 1) / LOG_BASE);
1258
+ i %= LOG_BASE;
1259
+ }
1260
+ k = mathpow(10, LOG_BASE - i);
1261
+ rd = d[di] % k | 0;
1262
+ if (repeating == null) {
1263
+ if (i < 3) {
1264
+ if (i == 0) rd = rd / 100 | 0;
1265
+ else if (i == 1) rd = rd / 10 | 0;
1266
+ r = rm < 4 && rd == 99999 || rm > 3 && rd == 49999 || rd == 5e4 || rd == 0;
1267
+ } else {
1268
+ r = (rm < 4 && rd + 1 == k || rm > 3 && rd + 1 == k / 2) && (d[di + 1] / k / 100 | 0) == mathpow(10, i - 2) - 1 || (rd == k / 2 || rd == 0) && (d[di + 1] / k / 100 | 0) == 0;
1269
+ }
1270
+ } else {
1271
+ if (i < 4) {
1272
+ if (i == 0) rd = rd / 1e3 | 0;
1273
+ else if (i == 1) rd = rd / 100 | 0;
1274
+ else if (i == 2) rd = rd / 10 | 0;
1275
+ r = (repeating || rm < 4) && rd == 9999 || !repeating && rm > 3 && rd == 4999;
1276
+ } else {
1277
+ r = ((repeating || rm < 4) && rd + 1 == k || !repeating && rm > 3 && rd + 1 == k / 2) && (d[di + 1] / k / 1e3 | 0) == mathpow(10, i - 3) - 1;
1278
+ }
1279
+ }
1280
+ return r;
1281
+ }
1282
+ function convertBase(str, baseIn, baseOut) {
1283
+ var j, arr = [0], arrL, i = 0, strL = str.length;
1284
+ for (; i < strL; ) {
1285
+ for (arrL = arr.length; arrL--; ) arr[arrL] *= baseIn;
1286
+ arr[0] += NUMERALS.indexOf(str.charAt(i++));
1287
+ for (j = 0; j < arr.length; j++) {
1288
+ if (arr[j] > baseOut - 1) {
1289
+ if (arr[j + 1] === void 0) arr[j + 1] = 0;
1290
+ arr[j + 1] += arr[j] / baseOut | 0;
1291
+ arr[j] %= baseOut;
1292
+ }
1293
+ }
1294
+ }
1295
+ return arr.reverse();
1296
+ }
1297
+ function cosine(Ctor, x) {
1298
+ var k, len, y;
1299
+ if (x.isZero()) return x;
1300
+ len = x.d.length;
1301
+ if (len < 32) {
1302
+ k = Math.ceil(len / 3);
1303
+ y = (1 / tinyPow(4, k)).toString();
1304
+ } else {
1305
+ k = 16;
1306
+ y = "2.3283064365386962890625e-10";
1307
+ }
1308
+ Ctor.precision += k;
1309
+ x = taylorSeries(Ctor, 1, x.times(y), new Ctor(1));
1310
+ for (var i = k; i--; ) {
1311
+ var cos2x = x.times(x);
1312
+ x = cos2x.times(cos2x).minus(cos2x).times(8).plus(1);
1313
+ }
1314
+ Ctor.precision -= k;
1315
+ return x;
1316
+ }
1317
+ var divide = /* @__PURE__ */ function() {
1318
+ function multiplyInteger(x, k, base) {
1319
+ var temp, carry = 0, i = x.length;
1320
+ for (x = x.slice(); i--; ) {
1321
+ temp = x[i] * k + carry;
1322
+ x[i] = temp % base | 0;
1323
+ carry = temp / base | 0;
1324
+ }
1325
+ if (carry) x.unshift(carry);
1326
+ return x;
1327
+ }
1328
+ function compare(a, b, aL, bL) {
1329
+ var i, r;
1330
+ if (aL != bL) {
1331
+ r = aL > bL ? 1 : -1;
1332
+ } else {
1333
+ for (i = r = 0; i < aL; i++) {
1334
+ if (a[i] != b[i]) {
1335
+ r = a[i] > b[i] ? 1 : -1;
1336
+ break;
1337
+ }
1338
+ }
1339
+ }
1340
+ return r;
1341
+ }
1342
+ function subtract(a, b, aL, base) {
1343
+ var i = 0;
1344
+ for (; aL--; ) {
1345
+ a[aL] -= i;
1346
+ i = a[aL] < b[aL] ? 1 : 0;
1347
+ a[aL] = i * base + a[aL] - b[aL];
1348
+ }
1349
+ for (; !a[0] && a.length > 1; ) a.shift();
1350
+ }
1351
+ return function(x, y, pr, rm, dp, base) {
1352
+ var cmp, e, i, k, logBase, more, prod, prodL, q, qd, rem, remL, rem0, sd, t, xi, xL, yd0, yL, yz, Ctor = x.constructor, sign2 = x.s == y.s ? 1 : -1, xd = x.d, yd = y.d;
1353
+ if (!xd || !xd[0] || !yd || !yd[0]) {
1354
+ return new Ctor(
1355
+ // Return NaN if either NaN, or both Infinity or 0.
1356
+ !x.s || !y.s || (xd ? yd && xd[0] == yd[0] : !yd) ? NaN : (
1357
+ // Return ±0 if x is 0 or y is ±Infinity, or return ±Infinity as y is 0.
1358
+ xd && xd[0] == 0 || !yd ? sign2 * 0 : sign2 / 0
1359
+ )
1360
+ );
1361
+ }
1362
+ if (base) {
1363
+ logBase = 1;
1364
+ e = x.e - y.e;
1365
+ } else {
1366
+ base = BASE;
1367
+ logBase = LOG_BASE;
1368
+ e = mathfloor(x.e / logBase) - mathfloor(y.e / logBase);
1369
+ }
1370
+ yL = yd.length;
1371
+ xL = xd.length;
1372
+ q = new Ctor(sign2);
1373
+ qd = q.d = [];
1374
+ for (i = 0; yd[i] == (xd[i] || 0); i++) ;
1375
+ if (yd[i] > (xd[i] || 0)) e--;
1376
+ if (pr == null) {
1377
+ sd = pr = Ctor.precision;
1378
+ rm = Ctor.rounding;
1379
+ } else if (dp) {
1380
+ sd = pr + (x.e - y.e) + 1;
1381
+ } else {
1382
+ sd = pr;
1383
+ }
1384
+ if (sd < 0) {
1385
+ qd.push(1);
1386
+ more = true;
1387
+ } else {
1388
+ sd = sd / logBase + 2 | 0;
1389
+ i = 0;
1390
+ if (yL == 1) {
1391
+ k = 0;
1392
+ yd = yd[0];
1393
+ sd++;
1394
+ for (; (i < xL || k) && sd--; i++) {
1395
+ t = k * base + (xd[i] || 0);
1396
+ qd[i] = t / yd | 0;
1397
+ k = t % yd | 0;
1398
+ }
1399
+ more = k || i < xL;
1400
+ } else {
1401
+ k = base / (yd[0] + 1) | 0;
1402
+ if (k > 1) {
1403
+ yd = multiplyInteger(yd, k, base);
1404
+ xd = multiplyInteger(xd, k, base);
1405
+ yL = yd.length;
1406
+ xL = xd.length;
1407
+ }
1408
+ xi = yL;
1409
+ rem = xd.slice(0, yL);
1410
+ remL = rem.length;
1411
+ for (; remL < yL; ) rem[remL++] = 0;
1412
+ yz = yd.slice();
1413
+ yz.unshift(0);
1414
+ yd0 = yd[0];
1415
+ if (yd[1] >= base / 2) ++yd0;
1416
+ do {
1417
+ k = 0;
1418
+ cmp = compare(yd, rem, yL, remL);
1419
+ if (cmp < 0) {
1420
+ rem0 = rem[0];
1421
+ if (yL != remL) rem0 = rem0 * base + (rem[1] || 0);
1422
+ k = rem0 / yd0 | 0;
1423
+ if (k > 1) {
1424
+ if (k >= base) k = base - 1;
1425
+ prod = multiplyInteger(yd, k, base);
1426
+ prodL = prod.length;
1427
+ remL = rem.length;
1428
+ cmp = compare(prod, rem, prodL, remL);
1429
+ if (cmp == 1) {
1430
+ k--;
1431
+ subtract(prod, yL < prodL ? yz : yd, prodL, base);
1432
+ }
1433
+ } else {
1434
+ if (k == 0) cmp = k = 1;
1435
+ prod = yd.slice();
1436
+ }
1437
+ prodL = prod.length;
1438
+ if (prodL < remL) prod.unshift(0);
1439
+ subtract(rem, prod, remL, base);
1440
+ if (cmp == -1) {
1441
+ remL = rem.length;
1442
+ cmp = compare(yd, rem, yL, remL);
1443
+ if (cmp < 1) {
1444
+ k++;
1445
+ subtract(rem, yL < remL ? yz : yd, remL, base);
1446
+ }
1447
+ }
1448
+ remL = rem.length;
1449
+ } else if (cmp === 0) {
1450
+ k++;
1451
+ rem = [0];
1452
+ }
1453
+ qd[i++] = k;
1454
+ if (cmp && rem[0]) {
1455
+ rem[remL++] = xd[xi] || 0;
1456
+ } else {
1457
+ rem = [xd[xi]];
1458
+ remL = 1;
1459
+ }
1460
+ } while ((xi++ < xL || rem[0] !== void 0) && sd--);
1461
+ more = rem[0] !== void 0;
1462
+ }
1463
+ if (!qd[0]) qd.shift();
1464
+ }
1465
+ if (logBase == 1) {
1466
+ q.e = e;
1467
+ inexact = more;
1468
+ } else {
1469
+ for (i = 1, k = qd[0]; k >= 10; k /= 10) i++;
1470
+ q.e = i + e * logBase - 1;
1471
+ finalise(q, dp ? pr + q.e + 1 : pr, rm, more);
1472
+ }
1473
+ return q;
1474
+ };
1475
+ }();
1476
+ function finalise(x, sd, rm, isTruncated) {
1477
+ var digits, i, j, k, rd, roundUp, w, xd, xdi, Ctor = x.constructor;
1478
+ out: if (sd != null) {
1479
+ xd = x.d;
1480
+ if (!xd) return x;
1481
+ for (digits = 1, k = xd[0]; k >= 10; k /= 10) digits++;
1482
+ i = sd - digits;
1483
+ if (i < 0) {
1484
+ i += LOG_BASE;
1485
+ j = sd;
1486
+ w = xd[xdi = 0];
1487
+ rd = w / mathpow(10, digits - j - 1) % 10 | 0;
1488
+ } else {
1489
+ xdi = Math.ceil((i + 1) / LOG_BASE);
1490
+ k = xd.length;
1491
+ if (xdi >= k) {
1492
+ if (isTruncated) {
1493
+ for (; k++ <= xdi; ) xd.push(0);
1494
+ w = rd = 0;
1495
+ digits = 1;
1496
+ i %= LOG_BASE;
1497
+ j = i - LOG_BASE + 1;
1498
+ } else {
1499
+ break out;
1500
+ }
1501
+ } else {
1502
+ w = k = xd[xdi];
1503
+ for (digits = 1; k >= 10; k /= 10) digits++;
1504
+ i %= LOG_BASE;
1505
+ j = i - LOG_BASE + digits;
1506
+ rd = j < 0 ? 0 : w / mathpow(10, digits - j - 1) % 10 | 0;
1507
+ }
1508
+ }
1509
+ isTruncated = isTruncated || sd < 0 || xd[xdi + 1] !== void 0 || (j < 0 ? w : w % mathpow(10, digits - j - 1));
1510
+ roundUp = rm < 4 ? (rd || isTruncated) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) : rd > 5 || rd == 5 && (rm == 4 || isTruncated || rm == 6 && // Check whether the digit to the left of the rounding digit is odd.
1511
+ (i > 0 ? j > 0 ? w / mathpow(10, digits - j) : 0 : xd[xdi - 1]) % 10 & 1 || rm == (x.s < 0 ? 8 : 7));
1512
+ if (sd < 1 || !xd[0]) {
1513
+ xd.length = 0;
1514
+ if (roundUp) {
1515
+ sd -= x.e + 1;
1516
+ xd[0] = mathpow(10, (LOG_BASE - sd % LOG_BASE) % LOG_BASE);
1517
+ x.e = -sd || 0;
1518
+ } else {
1519
+ xd[0] = x.e = 0;
1520
+ }
1521
+ return x;
1522
+ }
1523
+ if (i == 0) {
1524
+ xd.length = xdi;
1525
+ k = 1;
1526
+ xdi--;
1527
+ } else {
1528
+ xd.length = xdi + 1;
1529
+ k = mathpow(10, LOG_BASE - i);
1530
+ xd[xdi] = j > 0 ? (w / mathpow(10, digits - j) % mathpow(10, j) | 0) * k : 0;
1531
+ }
1532
+ if (roundUp) {
1533
+ for (; ; ) {
1534
+ if (xdi == 0) {
1535
+ for (i = 1, j = xd[0]; j >= 10; j /= 10) i++;
1536
+ j = xd[0] += k;
1537
+ for (k = 1; j >= 10; j /= 10) k++;
1538
+ if (i != k) {
1539
+ x.e++;
1540
+ if (xd[0] == BASE) xd[0] = 1;
1541
+ }
1542
+ break;
1543
+ } else {
1544
+ xd[xdi] += k;
1545
+ if (xd[xdi] != BASE) break;
1546
+ xd[xdi--] = 0;
1547
+ k = 1;
1548
+ }
1549
+ }
1550
+ }
1551
+ for (i = xd.length; xd[--i] === 0; ) xd.pop();
1552
+ }
1553
+ if (external) {
1554
+ if (x.e > Ctor.maxE) {
1555
+ x.d = null;
1556
+ x.e = NaN;
1557
+ } else if (x.e < Ctor.minE) {
1558
+ x.e = 0;
1559
+ x.d = [0];
1560
+ }
1561
+ }
1562
+ return x;
1563
+ }
1564
+ function finiteToString(x, isExp, sd) {
1565
+ if (!x.isFinite()) return nonFiniteToString(x);
1566
+ var k, e = x.e, str = digitsToString(x.d), len = str.length;
1567
+ if (isExp) {
1568
+ if (sd && (k = sd - len) > 0) {
1569
+ str = str.charAt(0) + "." + str.slice(1) + getZeroString(k);
1570
+ } else if (len > 1) {
1571
+ str = str.charAt(0) + "." + str.slice(1);
1572
+ }
1573
+ str = str + (x.e < 0 ? "e" : "e+") + x.e;
1574
+ } else if (e < 0) {
1575
+ str = "0." + getZeroString(-e - 1) + str;
1576
+ if (sd && (k = sd - len) > 0) str += getZeroString(k);
1577
+ } else if (e >= len) {
1578
+ str += getZeroString(e + 1 - len);
1579
+ if (sd && (k = sd - e - 1) > 0) str = str + "." + getZeroString(k);
1580
+ } else {
1581
+ if ((k = e + 1) < len) str = str.slice(0, k) + "." + str.slice(k);
1582
+ if (sd && (k = sd - len) > 0) {
1583
+ if (e + 1 === len) str += ".";
1584
+ str += getZeroString(k);
1585
+ }
1586
+ }
1587
+ return str;
1588
+ }
1589
+ function getBase10Exponent(digits, e) {
1590
+ var w = digits[0];
1591
+ for (e *= LOG_BASE; w >= 10; w /= 10) e++;
1592
+ return e;
1593
+ }
1594
+ function getLn10(Ctor, sd, pr) {
1595
+ if (sd > LN10_PRECISION) {
1596
+ external = true;
1597
+ if (pr) Ctor.precision = pr;
1598
+ throw Error(precisionLimitExceeded);
1599
+ }
1600
+ return finalise(new Ctor(LN10), sd, 1, true);
1601
+ }
1602
+ function getPi(Ctor, sd, rm) {
1603
+ if (sd > PI_PRECISION) throw Error(precisionLimitExceeded);
1604
+ return finalise(new Ctor(PI), sd, rm, true);
1605
+ }
1606
+ function getPrecision(digits) {
1607
+ var w = digits.length - 1, len = w * LOG_BASE + 1;
1608
+ w = digits[w];
1609
+ if (w) {
1610
+ for (; w % 10 == 0; w /= 10) len--;
1611
+ for (w = digits[0]; w >= 10; w /= 10) len++;
1612
+ }
1613
+ return len;
1614
+ }
1615
+ function getZeroString(k) {
1616
+ var zs = "";
1617
+ for (; k--; ) zs += "0";
1618
+ return zs;
1619
+ }
1620
+ function intPow(Ctor, x, n, pr) {
1621
+ var isTruncated, r = new Ctor(1), k = Math.ceil(pr / LOG_BASE + 4);
1622
+ external = false;
1623
+ for (; ; ) {
1624
+ if (n % 2) {
1625
+ r = r.times(x);
1626
+ if (truncate(r.d, k)) isTruncated = true;
1627
+ }
1628
+ n = mathfloor(n / 2);
1629
+ if (n === 0) {
1630
+ n = r.d.length - 1;
1631
+ if (isTruncated && r.d[n] === 0) ++r.d[n];
1632
+ break;
1633
+ }
1634
+ x = x.times(x);
1635
+ truncate(x.d, k);
1636
+ }
1637
+ external = true;
1638
+ return r;
1639
+ }
1640
+ function isOdd(n) {
1641
+ return n.d[n.d.length - 1] & 1;
1642
+ }
1643
+ function maxOrMin(Ctor, args, n) {
1644
+ var k, y, x = new Ctor(args[0]), i = 0;
1645
+ for (; ++i < args.length; ) {
1646
+ y = new Ctor(args[i]);
1647
+ if (!y.s) {
1648
+ x = y;
1649
+ break;
1650
+ }
1651
+ k = x.cmp(y);
1652
+ if (k === n || k === 0 && x.s === n) {
1653
+ x = y;
1654
+ }
1655
+ }
1656
+ return x;
1657
+ }
1658
+ function naturalExponential(x, sd) {
1659
+ var denominator, guard, j, pow2, sum2, t, wpr, rep = 0, i = 0, k = 0, Ctor = x.constructor, rm = Ctor.rounding, pr = Ctor.precision;
1660
+ if (!x.d || !x.d[0] || x.e > 17) {
1661
+ return new Ctor(x.d ? !x.d[0] ? 1 : x.s < 0 ? 0 : 1 / 0 : x.s ? x.s < 0 ? 0 : x : 0 / 0);
1662
+ }
1663
+ if (sd == null) {
1664
+ external = false;
1665
+ wpr = pr;
1666
+ } else {
1667
+ wpr = sd;
1668
+ }
1669
+ t = new Ctor(0.03125);
1670
+ while (x.e > -2) {
1671
+ x = x.times(t);
1672
+ k += 5;
1673
+ }
1674
+ guard = Math.log(mathpow(2, k)) / Math.LN10 * 2 + 5 | 0;
1675
+ wpr += guard;
1676
+ denominator = pow2 = sum2 = new Ctor(1);
1677
+ Ctor.precision = wpr;
1678
+ for (; ; ) {
1679
+ pow2 = finalise(pow2.times(x), wpr, 1);
1680
+ denominator = denominator.times(++i);
1681
+ t = sum2.plus(divide(pow2, denominator, wpr, 1));
1682
+ if (digitsToString(t.d).slice(0, wpr) === digitsToString(sum2.d).slice(0, wpr)) {
1683
+ j = k;
1684
+ while (j--) sum2 = finalise(sum2.times(sum2), wpr, 1);
1685
+ if (sd == null) {
1686
+ if (rep < 3 && checkRoundingDigits(sum2.d, wpr - guard, rm, rep)) {
1687
+ Ctor.precision = wpr += 10;
1688
+ denominator = pow2 = t = new Ctor(1);
1689
+ i = 0;
1690
+ rep++;
1691
+ } else {
1692
+ return finalise(sum2, Ctor.precision = pr, rm, external = true);
1693
+ }
1694
+ } else {
1695
+ Ctor.precision = pr;
1696
+ return sum2;
1697
+ }
1698
+ }
1699
+ sum2 = t;
1700
+ }
1701
+ }
1702
+ function naturalLogarithm(y, sd) {
1703
+ var c, c0, denominator, e, numerator, rep, sum2, t, wpr, x1, x2, n = 1, guard = 10, x = y, xd = x.d, Ctor = x.constructor, rm = Ctor.rounding, pr = Ctor.precision;
1704
+ if (x.s < 0 || !xd || !xd[0] || !x.e && xd[0] == 1 && xd.length == 1) {
1705
+ return new Ctor(xd && !xd[0] ? -1 / 0 : x.s != 1 ? NaN : xd ? 0 : x);
1706
+ }
1707
+ if (sd == null) {
1708
+ external = false;
1709
+ wpr = pr;
1710
+ } else {
1711
+ wpr = sd;
1712
+ }
1713
+ Ctor.precision = wpr += guard;
1714
+ c = digitsToString(xd);
1715
+ c0 = c.charAt(0);
1716
+ if (Math.abs(e = x.e) < 15e14) {
1717
+ while (c0 < 7 && c0 != 1 || c0 == 1 && c.charAt(1) > 3) {
1718
+ x = x.times(y);
1719
+ c = digitsToString(x.d);
1720
+ c0 = c.charAt(0);
1721
+ n++;
1722
+ }
1723
+ e = x.e;
1724
+ if (c0 > 1) {
1725
+ x = new Ctor("0." + c);
1726
+ e++;
1727
+ } else {
1728
+ x = new Ctor(c0 + "." + c.slice(1));
1729
+ }
1730
+ } else {
1731
+ t = getLn10(Ctor, wpr + 2, pr).times(e + "");
1732
+ x = naturalLogarithm(new Ctor(c0 + "." + c.slice(1)), wpr - guard).plus(t);
1733
+ Ctor.precision = pr;
1734
+ return sd == null ? finalise(x, pr, rm, external = true) : x;
1735
+ }
1736
+ x1 = x;
1737
+ sum2 = numerator = x = divide(x.minus(1), x.plus(1), wpr, 1);
1738
+ x2 = finalise(x.times(x), wpr, 1);
1739
+ denominator = 3;
1740
+ for (; ; ) {
1741
+ numerator = finalise(numerator.times(x2), wpr, 1);
1742
+ t = sum2.plus(divide(numerator, new Ctor(denominator), wpr, 1));
1743
+ if (digitsToString(t.d).slice(0, wpr) === digitsToString(sum2.d).slice(0, wpr)) {
1744
+ sum2 = sum2.times(2);
1745
+ if (e !== 0) sum2 = sum2.plus(getLn10(Ctor, wpr + 2, pr).times(e + ""));
1746
+ sum2 = divide(sum2, new Ctor(n), wpr, 1);
1747
+ if (sd == null) {
1748
+ if (checkRoundingDigits(sum2.d, wpr - guard, rm, rep)) {
1749
+ Ctor.precision = wpr += guard;
1750
+ t = numerator = x = divide(x1.minus(1), x1.plus(1), wpr, 1);
1751
+ x2 = finalise(x.times(x), wpr, 1);
1752
+ denominator = rep = 1;
1753
+ } else {
1754
+ return finalise(sum2, Ctor.precision = pr, rm, external = true);
1755
+ }
1756
+ } else {
1757
+ Ctor.precision = pr;
1758
+ return sum2;
1759
+ }
1760
+ }
1761
+ sum2 = t;
1762
+ denominator += 2;
1763
+ }
1764
+ }
1765
+ function nonFiniteToString(x) {
1766
+ return String(x.s * x.s / 0);
1767
+ }
1768
+ function parseDecimal(x, str) {
1769
+ var e, i, len;
1770
+ if ((e = str.indexOf(".")) > -1) str = str.replace(".", "");
1771
+ if ((i = str.search(/e/i)) > 0) {
1772
+ if (e < 0) e = i;
1773
+ e += +str.slice(i + 1);
1774
+ str = str.substring(0, i);
1775
+ } else if (e < 0) {
1776
+ e = str.length;
1777
+ }
1778
+ for (i = 0; str.charCodeAt(i) === 48; i++) ;
1779
+ for (len = str.length; str.charCodeAt(len - 1) === 48; --len) ;
1780
+ str = str.slice(i, len);
1781
+ if (str) {
1782
+ len -= i;
1783
+ x.e = e = e - i - 1;
1784
+ x.d = [];
1785
+ i = (e + 1) % LOG_BASE;
1786
+ if (e < 0) i += LOG_BASE;
1787
+ if (i < len) {
1788
+ if (i) x.d.push(+str.slice(0, i));
1789
+ for (len -= LOG_BASE; i < len; ) x.d.push(+str.slice(i, i += LOG_BASE));
1790
+ str = str.slice(i);
1791
+ i = LOG_BASE - str.length;
1792
+ } else {
1793
+ i -= len;
1794
+ }
1795
+ for (; i--; ) str += "0";
1796
+ x.d.push(+str);
1797
+ if (external) {
1798
+ if (x.e > x.constructor.maxE) {
1799
+ x.d = null;
1800
+ x.e = NaN;
1801
+ } else if (x.e < x.constructor.minE) {
1802
+ x.e = 0;
1803
+ x.d = [0];
1804
+ }
1805
+ }
1806
+ } else {
1807
+ x.e = 0;
1808
+ x.d = [0];
1809
+ }
1810
+ return x;
1811
+ }
1812
+ function parseOther(x, str) {
1813
+ var base, Ctor, divisor, i, isFloat, len, p, xd, xe;
1814
+ if (str.indexOf("_") > -1) {
1815
+ str = str.replace(/(\d)_(?=\d)/g, "$1");
1816
+ if (isDecimal.test(str)) return parseDecimal(x, str);
1817
+ } else if (str === "Infinity" || str === "NaN") {
1818
+ if (!+str) x.s = NaN;
1819
+ x.e = NaN;
1820
+ x.d = null;
1821
+ return x;
1822
+ }
1823
+ if (isHex.test(str)) {
1824
+ base = 16;
1825
+ str = str.toLowerCase();
1826
+ } else if (isBinary.test(str)) {
1827
+ base = 2;
1828
+ } else if (isOctal.test(str)) {
1829
+ base = 8;
1830
+ } else {
1831
+ throw Error(invalidArgument + str);
1832
+ }
1833
+ i = str.search(/p/i);
1834
+ if (i > 0) {
1835
+ p = +str.slice(i + 1);
1836
+ str = str.substring(2, i);
1837
+ } else {
1838
+ str = str.slice(2);
1839
+ }
1840
+ i = str.indexOf(".");
1841
+ isFloat = i >= 0;
1842
+ Ctor = x.constructor;
1843
+ if (isFloat) {
1844
+ str = str.replace(".", "");
1845
+ len = str.length;
1846
+ i = len - i;
1847
+ divisor = intPow(Ctor, new Ctor(base), i, i * 2);
1848
+ }
1849
+ xd = convertBase(str, base, BASE);
1850
+ xe = xd.length - 1;
1851
+ for (i = xe; xd[i] === 0; --i) xd.pop();
1852
+ if (i < 0) return new Ctor(x.s * 0);
1853
+ x.e = getBase10Exponent(xd, xe);
1854
+ x.d = xd;
1855
+ external = false;
1856
+ if (isFloat) x = divide(x, divisor, len * 4);
1857
+ if (p) x = x.times(Math.abs(p) < 54 ? mathpow(2, p) : Decimal.pow(2, p));
1858
+ external = true;
1859
+ return x;
1860
+ }
1861
+ function sine(Ctor, x) {
1862
+ var k, len = x.d.length;
1863
+ if (len < 3) {
1864
+ return x.isZero() ? x : taylorSeries(Ctor, 2, x, x);
1865
+ }
1866
+ k = 1.4 * Math.sqrt(len);
1867
+ k = k > 16 ? 16 : k | 0;
1868
+ x = x.times(1 / tinyPow(5, k));
1869
+ x = taylorSeries(Ctor, 2, x, x);
1870
+ var sin2_x, d5 = new Ctor(5), d16 = new Ctor(16), d20 = new Ctor(20);
1871
+ for (; k--; ) {
1872
+ sin2_x = x.times(x);
1873
+ x = x.times(d5.plus(sin2_x.times(d16.times(sin2_x).minus(d20))));
1874
+ }
1875
+ return x;
1876
+ }
1877
+ function taylorSeries(Ctor, n, x, y, isHyperbolic) {
1878
+ var j, t, u, x2, i = 1, pr = Ctor.precision, k = Math.ceil(pr / LOG_BASE);
1879
+ external = false;
1880
+ x2 = x.times(x);
1881
+ u = new Ctor(y);
1882
+ for (; ; ) {
1883
+ t = divide(u.times(x2), new Ctor(n++ * n++), pr, 1);
1884
+ u = isHyperbolic ? y.plus(t) : y.minus(t);
1885
+ y = divide(t.times(x2), new Ctor(n++ * n++), pr, 1);
1886
+ t = u.plus(y);
1887
+ if (t.d[k] !== void 0) {
1888
+ for (j = k; t.d[j] === u.d[j] && j--; ) ;
1889
+ if (j == -1) break;
1890
+ }
1891
+ j = u;
1892
+ u = y;
1893
+ y = t;
1894
+ t = j;
1895
+ i++;
1896
+ }
1897
+ external = true;
1898
+ t.d.length = k + 1;
1899
+ return t;
1900
+ }
1901
+ function tinyPow(b, e) {
1902
+ var n = b;
1903
+ while (--e) n *= b;
1904
+ return n;
1905
+ }
1906
+ function toLessThanHalfPi(Ctor, x) {
1907
+ var t, isNeg = x.s < 0, pi = getPi(Ctor, Ctor.precision, 1), halfPi = pi.times(0.5);
1908
+ x = x.abs();
1909
+ if (x.lte(halfPi)) {
1910
+ quadrant = isNeg ? 4 : 1;
1911
+ return x;
1912
+ }
1913
+ t = x.divToInt(pi);
1914
+ if (t.isZero()) {
1915
+ quadrant = isNeg ? 3 : 2;
1916
+ } else {
1917
+ x = x.minus(t.times(pi));
1918
+ if (x.lte(halfPi)) {
1919
+ quadrant = isOdd(t) ? isNeg ? 2 : 3 : isNeg ? 4 : 1;
1920
+ return x;
1921
+ }
1922
+ quadrant = isOdd(t) ? isNeg ? 1 : 4 : isNeg ? 3 : 2;
1923
+ }
1924
+ return x.minus(pi).abs();
1925
+ }
1926
+ function toStringBinary(x, baseOut, sd, rm) {
1927
+ var base, e, i, k, len, roundUp, str, xd, y, Ctor = x.constructor, isExp = sd !== void 0;
1928
+ if (isExp) {
1929
+ checkInt32(sd, 1, MAX_DIGITS);
1930
+ if (rm === void 0) rm = Ctor.rounding;
1931
+ else checkInt32(rm, 0, 8);
1932
+ } else {
1933
+ sd = Ctor.precision;
1934
+ rm = Ctor.rounding;
1935
+ }
1936
+ if (!x.isFinite()) {
1937
+ str = nonFiniteToString(x);
1938
+ } else {
1939
+ str = finiteToString(x);
1940
+ i = str.indexOf(".");
1941
+ if (isExp) {
1942
+ base = 2;
1943
+ if (baseOut == 16) {
1944
+ sd = sd * 4 - 3;
1945
+ } else if (baseOut == 8) {
1946
+ sd = sd * 3 - 2;
1947
+ }
1948
+ } else {
1949
+ base = baseOut;
1950
+ }
1951
+ if (i >= 0) {
1952
+ str = str.replace(".", "");
1953
+ y = new Ctor(1);
1954
+ y.e = str.length - i;
1955
+ y.d = convertBase(finiteToString(y), 10, base);
1956
+ y.e = y.d.length;
1957
+ }
1958
+ xd = convertBase(str, 10, base);
1959
+ e = len = xd.length;
1960
+ for (; xd[--len] == 0; ) xd.pop();
1961
+ if (!xd[0]) {
1962
+ str = isExp ? "0p+0" : "0";
1963
+ } else {
1964
+ if (i < 0) {
1965
+ e--;
1966
+ } else {
1967
+ x = new Ctor(x);
1968
+ x.d = xd;
1969
+ x.e = e;
1970
+ x = divide(x, y, sd, rm, 0, base);
1971
+ xd = x.d;
1972
+ e = x.e;
1973
+ roundUp = inexact;
1974
+ }
1975
+ i = xd[sd];
1976
+ k = base / 2;
1977
+ roundUp = roundUp || xd[sd + 1] !== void 0;
1978
+ roundUp = rm < 4 ? (i !== void 0 || roundUp) && (rm === 0 || rm === (x.s < 0 ? 3 : 2)) : i > k || i === k && (rm === 4 || roundUp || rm === 6 && xd[sd - 1] & 1 || rm === (x.s < 0 ? 8 : 7));
1979
+ xd.length = sd;
1980
+ if (roundUp) {
1981
+ for (; ++xd[--sd] > base - 1; ) {
1982
+ xd[sd] = 0;
1983
+ if (!sd) {
1984
+ ++e;
1985
+ xd.unshift(1);
1986
+ }
1987
+ }
1988
+ }
1989
+ for (len = xd.length; !xd[len - 1]; --len) ;
1990
+ for (i = 0, str = ""; i < len; i++) str += NUMERALS.charAt(xd[i]);
1991
+ if (isExp) {
1992
+ if (len > 1) {
1993
+ if (baseOut == 16 || baseOut == 8) {
1994
+ i = baseOut == 16 ? 4 : 3;
1995
+ for (--len; len % i; len++) str += "0";
1996
+ xd = convertBase(str, base, baseOut);
1997
+ for (len = xd.length; !xd[len - 1]; --len) ;
1998
+ for (i = 1, str = "1."; i < len; i++) str += NUMERALS.charAt(xd[i]);
1999
+ } else {
2000
+ str = str.charAt(0) + "." + str.slice(1);
2001
+ }
2002
+ }
2003
+ str = str + (e < 0 ? "p" : "p+") + e;
2004
+ } else if (e < 0) {
2005
+ for (; ++e; ) str = "0" + str;
2006
+ str = "0." + str;
2007
+ } else {
2008
+ if (++e > len) for (e -= len; e--; ) str += "0";
2009
+ else if (e < len) str = str.slice(0, e) + "." + str.slice(e);
2010
+ }
2011
+ }
2012
+ str = (baseOut == 16 ? "0x" : baseOut == 2 ? "0b" : baseOut == 8 ? "0o" : "") + str;
2013
+ }
2014
+ return x.s < 0 ? "-" + str : str;
2015
+ }
2016
+ function truncate(arr, len) {
2017
+ if (arr.length > len) {
2018
+ arr.length = len;
2019
+ return true;
2020
+ }
2021
+ }
2022
+ function abs(x) {
2023
+ return new this(x).abs();
2024
+ }
2025
+ function acos(x) {
2026
+ return new this(x).acos();
2027
+ }
2028
+ function acosh(x) {
2029
+ return new this(x).acosh();
2030
+ }
2031
+ function add(x, y) {
2032
+ return new this(x).plus(y);
2033
+ }
2034
+ function asin(x) {
2035
+ return new this(x).asin();
2036
+ }
2037
+ function asinh(x) {
2038
+ return new this(x).asinh();
2039
+ }
2040
+ function atan(x) {
2041
+ return new this(x).atan();
2042
+ }
2043
+ function atanh(x) {
2044
+ return new this(x).atanh();
2045
+ }
2046
+ function atan2(y, x) {
2047
+ y = new this(y);
2048
+ x = new this(x);
2049
+ var r, pr = this.precision, rm = this.rounding, wpr = pr + 4;
2050
+ if (!y.s || !x.s) {
2051
+ r = new this(NaN);
2052
+ } else if (!y.d && !x.d) {
2053
+ r = getPi(this, wpr, 1).times(x.s > 0 ? 0.25 : 0.75);
2054
+ r.s = y.s;
2055
+ } else if (!x.d || y.isZero()) {
2056
+ r = x.s < 0 ? getPi(this, pr, rm) : new this(0);
2057
+ r.s = y.s;
2058
+ } else if (!y.d || x.isZero()) {
2059
+ r = getPi(this, wpr, 1).times(0.5);
2060
+ r.s = y.s;
2061
+ } else if (x.s < 0) {
2062
+ this.precision = wpr;
2063
+ this.rounding = 1;
2064
+ r = this.atan(divide(y, x, wpr, 1));
2065
+ x = getPi(this, wpr, 1);
2066
+ this.precision = pr;
2067
+ this.rounding = rm;
2068
+ r = y.s < 0 ? r.minus(x) : r.plus(x);
2069
+ } else {
2070
+ r = this.atan(divide(y, x, wpr, 1));
2071
+ }
2072
+ return r;
2073
+ }
2074
+ function cbrt(x) {
2075
+ return new this(x).cbrt();
2076
+ }
2077
+ function ceil(x) {
2078
+ return finalise(x = new this(x), x.e + 1, 2);
2079
+ }
2080
+ function clamp(x, min2, max2) {
2081
+ return new this(x).clamp(min2, max2);
2082
+ }
2083
+ function config(obj) {
2084
+ if (!obj || typeof obj !== "object") throw Error(decimalError + "Object expected");
2085
+ var i, p, v, useDefaults = obj.defaults === true, ps = [
2086
+ "precision",
2087
+ 1,
2088
+ MAX_DIGITS,
2089
+ "rounding",
2090
+ 0,
2091
+ 8,
2092
+ "toExpNeg",
2093
+ -EXP_LIMIT,
2094
+ 0,
2095
+ "toExpPos",
2096
+ 0,
2097
+ EXP_LIMIT,
2098
+ "maxE",
2099
+ 0,
2100
+ EXP_LIMIT,
2101
+ "minE",
2102
+ -EXP_LIMIT,
2103
+ 0,
2104
+ "modulo",
2105
+ 0,
2106
+ 9
2107
+ ];
2108
+ for (i = 0; i < ps.length; i += 3) {
2109
+ if (p = ps[i], useDefaults) this[p] = DEFAULTS[p];
2110
+ if ((v = obj[p]) !== void 0) {
2111
+ if (mathfloor(v) === v && v >= ps[i + 1] && v <= ps[i + 2]) this[p] = v;
2112
+ else throw Error(invalidArgument + p + ": " + v);
2113
+ }
2114
+ }
2115
+ if (p = "crypto", useDefaults) this[p] = DEFAULTS[p];
2116
+ if ((v = obj[p]) !== void 0) {
2117
+ if (v === true || v === false || v === 0 || v === 1) {
2118
+ if (v) {
2119
+ if (typeof crypto != "undefined" && crypto && (crypto.getRandomValues || crypto.randomBytes)) {
2120
+ this[p] = true;
2121
+ } else {
2122
+ throw Error(cryptoUnavailable);
2123
+ }
2124
+ } else {
2125
+ this[p] = false;
2126
+ }
2127
+ } else {
2128
+ throw Error(invalidArgument + p + ": " + v);
2129
+ }
2130
+ }
2131
+ return this;
2132
+ }
2133
+ function cos(x) {
2134
+ return new this(x).cos();
2135
+ }
2136
+ function cosh(x) {
2137
+ return new this(x).cosh();
2138
+ }
2139
+ function clone(obj) {
2140
+ var i, p, ps;
2141
+ function Decimal2(v) {
2142
+ var e, i2, t, x = this;
2143
+ if (!(x instanceof Decimal2)) return new Decimal2(v);
2144
+ x.constructor = Decimal2;
2145
+ if (isDecimalInstance(v)) {
2146
+ x.s = v.s;
2147
+ if (external) {
2148
+ if (!v.d || v.e > Decimal2.maxE) {
2149
+ x.e = NaN;
2150
+ x.d = null;
2151
+ } else if (v.e < Decimal2.minE) {
2152
+ x.e = 0;
2153
+ x.d = [0];
2154
+ } else {
2155
+ x.e = v.e;
2156
+ x.d = v.d.slice();
2157
+ }
2158
+ } else {
2159
+ x.e = v.e;
2160
+ x.d = v.d ? v.d.slice() : v.d;
2161
+ }
2162
+ return;
2163
+ }
2164
+ t = typeof v;
2165
+ if (t === "number") {
2166
+ if (v === 0) {
2167
+ x.s = 1 / v < 0 ? -1 : 1;
2168
+ x.e = 0;
2169
+ x.d = [0];
2170
+ return;
2171
+ }
2172
+ if (v < 0) {
2173
+ v = -v;
2174
+ x.s = -1;
2175
+ } else {
2176
+ x.s = 1;
2177
+ }
2178
+ if (v === ~~v && v < 1e7) {
2179
+ for (e = 0, i2 = v; i2 >= 10; i2 /= 10) e++;
2180
+ if (external) {
2181
+ if (e > Decimal2.maxE) {
2182
+ x.e = NaN;
2183
+ x.d = null;
2184
+ } else if (e < Decimal2.minE) {
2185
+ x.e = 0;
2186
+ x.d = [0];
2187
+ } else {
2188
+ x.e = e;
2189
+ x.d = [v];
2190
+ }
2191
+ } else {
2192
+ x.e = e;
2193
+ x.d = [v];
2194
+ }
2195
+ return;
2196
+ }
2197
+ if (v * 0 !== 0) {
2198
+ if (!v) x.s = NaN;
2199
+ x.e = NaN;
2200
+ x.d = null;
2201
+ return;
2202
+ }
2203
+ return parseDecimal(x, v.toString());
2204
+ }
2205
+ if (t === "string") {
2206
+ if ((i2 = v.charCodeAt(0)) === 45) {
2207
+ v = v.slice(1);
2208
+ x.s = -1;
2209
+ } else {
2210
+ if (i2 === 43) v = v.slice(1);
2211
+ x.s = 1;
2212
+ }
2213
+ return isDecimal.test(v) ? parseDecimal(x, v) : parseOther(x, v);
2214
+ }
2215
+ if (t === "bigint") {
2216
+ if (v < 0) {
2217
+ v = -v;
2218
+ x.s = -1;
2219
+ } else {
2220
+ x.s = 1;
2221
+ }
2222
+ return parseDecimal(x, v.toString());
2223
+ }
2224
+ throw Error(invalidArgument + v);
2225
+ }
2226
+ Decimal2.prototype = P;
2227
+ Decimal2.ROUND_UP = 0;
2228
+ Decimal2.ROUND_DOWN = 1;
2229
+ Decimal2.ROUND_CEIL = 2;
2230
+ Decimal2.ROUND_FLOOR = 3;
2231
+ Decimal2.ROUND_HALF_UP = 4;
2232
+ Decimal2.ROUND_HALF_DOWN = 5;
2233
+ Decimal2.ROUND_HALF_EVEN = 6;
2234
+ Decimal2.ROUND_HALF_CEIL = 7;
2235
+ Decimal2.ROUND_HALF_FLOOR = 8;
2236
+ Decimal2.EUCLID = 9;
2237
+ Decimal2.config = Decimal2.set = config;
2238
+ Decimal2.clone = clone;
2239
+ Decimal2.isDecimal = isDecimalInstance;
2240
+ Decimal2.abs = abs;
2241
+ Decimal2.acos = acos;
2242
+ Decimal2.acosh = acosh;
2243
+ Decimal2.add = add;
2244
+ Decimal2.asin = asin;
2245
+ Decimal2.asinh = asinh;
2246
+ Decimal2.atan = atan;
2247
+ Decimal2.atanh = atanh;
2248
+ Decimal2.atan2 = atan2;
2249
+ Decimal2.cbrt = cbrt;
2250
+ Decimal2.ceil = ceil;
2251
+ Decimal2.clamp = clamp;
2252
+ Decimal2.cos = cos;
2253
+ Decimal2.cosh = cosh;
2254
+ Decimal2.div = div;
2255
+ Decimal2.exp = exp;
2256
+ Decimal2.floor = floor;
2257
+ Decimal2.hypot = hypot;
2258
+ Decimal2.ln = ln;
2259
+ Decimal2.log = log;
2260
+ Decimal2.log10 = log10;
2261
+ Decimal2.log2 = log2;
2262
+ Decimal2.max = max;
2263
+ Decimal2.min = min;
2264
+ Decimal2.mod = mod;
2265
+ Decimal2.mul = mul;
2266
+ Decimal2.pow = pow;
2267
+ Decimal2.random = random;
2268
+ Decimal2.round = round;
2269
+ Decimal2.sign = sign;
2270
+ Decimal2.sin = sin;
2271
+ Decimal2.sinh = sinh;
2272
+ Decimal2.sqrt = sqrt;
2273
+ Decimal2.sub = sub;
2274
+ Decimal2.sum = sum;
2275
+ Decimal2.tan = tan;
2276
+ Decimal2.tanh = tanh;
2277
+ Decimal2.trunc = trunc;
2278
+ if (obj === void 0) obj = {};
2279
+ if (obj) {
2280
+ if (obj.defaults !== true) {
2281
+ ps = ["precision", "rounding", "toExpNeg", "toExpPos", "maxE", "minE", "modulo", "crypto"];
2282
+ for (i = 0; i < ps.length; ) if (!obj.hasOwnProperty(p = ps[i++])) obj[p] = this[p];
2283
+ }
2284
+ }
2285
+ Decimal2.config(obj);
2286
+ return Decimal2;
2287
+ }
2288
+ function div(x, y) {
2289
+ return new this(x).div(y);
2290
+ }
2291
+ function exp(x) {
2292
+ return new this(x).exp();
2293
+ }
2294
+ function floor(x) {
2295
+ return finalise(x = new this(x), x.e + 1, 3);
2296
+ }
2297
+ function hypot() {
2298
+ var i, n, t = new this(0);
2299
+ external = false;
2300
+ for (i = 0; i < arguments.length; ) {
2301
+ n = new this(arguments[i++]);
2302
+ if (!n.d) {
2303
+ if (n.s) {
2304
+ external = true;
2305
+ return new this(1 / 0);
2306
+ }
2307
+ t = n;
2308
+ } else if (t.d) {
2309
+ t = t.plus(n.times(n));
2310
+ }
2311
+ }
2312
+ external = true;
2313
+ return t.sqrt();
2314
+ }
2315
+ function isDecimalInstance(obj) {
2316
+ return obj instanceof Decimal || obj && obj.toStringTag === tag || false;
2317
+ }
2318
+ function ln(x) {
2319
+ return new this(x).ln();
2320
+ }
2321
+ function log(x, y) {
2322
+ return new this(x).log(y);
2323
+ }
2324
+ function log2(x) {
2325
+ return new this(x).log(2);
2326
+ }
2327
+ function log10(x) {
2328
+ return new this(x).log(10);
2329
+ }
2330
+ function max() {
2331
+ return maxOrMin(this, arguments, -1);
2332
+ }
2333
+ function min() {
2334
+ return maxOrMin(this, arguments, 1);
2335
+ }
2336
+ function mod(x, y) {
2337
+ return new this(x).mod(y);
2338
+ }
2339
+ function mul(x, y) {
2340
+ return new this(x).mul(y);
2341
+ }
2342
+ function pow(x, y) {
2343
+ return new this(x).pow(y);
2344
+ }
2345
+ function random(sd) {
2346
+ var d, e, k, n, i = 0, r = new this(1), rd = [];
2347
+ if (sd === void 0) sd = this.precision;
2348
+ else checkInt32(sd, 1, MAX_DIGITS);
2349
+ k = Math.ceil(sd / LOG_BASE);
2350
+ if (!this.crypto) {
2351
+ for (; i < k; ) rd[i++] = Math.random() * 1e7 | 0;
2352
+ } else if (crypto.getRandomValues) {
2353
+ d = crypto.getRandomValues(new Uint32Array(k));
2354
+ for (; i < k; ) {
2355
+ n = d[i];
2356
+ if (n >= 429e7) {
2357
+ d[i] = crypto.getRandomValues(new Uint32Array(1))[0];
2358
+ } else {
2359
+ rd[i++] = n % 1e7;
2360
+ }
2361
+ }
2362
+ } else if (crypto.randomBytes) {
2363
+ d = crypto.randomBytes(k *= 4);
2364
+ for (; i < k; ) {
2365
+ n = d[i] + (d[i + 1] << 8) + (d[i + 2] << 16) + ((d[i + 3] & 127) << 24);
2366
+ if (n >= 214e7) {
2367
+ crypto.randomBytes(4).copy(d, i);
2368
+ } else {
2369
+ rd.push(n % 1e7);
2370
+ i += 4;
2371
+ }
2372
+ }
2373
+ i = k / 4;
2374
+ } else {
2375
+ throw Error(cryptoUnavailable);
2376
+ }
2377
+ k = rd[--i];
2378
+ sd %= LOG_BASE;
2379
+ if (k && sd) {
2380
+ n = mathpow(10, LOG_BASE - sd);
2381
+ rd[i] = (k / n | 0) * n;
2382
+ }
2383
+ for (; rd[i] === 0; i--) rd.pop();
2384
+ if (i < 0) {
2385
+ e = 0;
2386
+ rd = [0];
2387
+ } else {
2388
+ e = -1;
2389
+ for (; rd[0] === 0; e -= LOG_BASE) rd.shift();
2390
+ for (k = 1, n = rd[0]; n >= 10; n /= 10) k++;
2391
+ if (k < LOG_BASE) e -= LOG_BASE - k;
2392
+ }
2393
+ r.e = e;
2394
+ r.d = rd;
2395
+ return r;
2396
+ }
2397
+ function round(x) {
2398
+ return finalise(x = new this(x), x.e + 1, this.rounding);
2399
+ }
2400
+ function sign(x) {
2401
+ x = new this(x);
2402
+ return x.d ? x.d[0] ? x.s : 0 * x.s : x.s || NaN;
2403
+ }
2404
+ function sin(x) {
2405
+ return new this(x).sin();
2406
+ }
2407
+ function sinh(x) {
2408
+ return new this(x).sinh();
2409
+ }
2410
+ function sqrt(x) {
2411
+ return new this(x).sqrt();
2412
+ }
2413
+ function sub(x, y) {
2414
+ return new this(x).sub(y);
2415
+ }
2416
+ function sum() {
2417
+ var i = 0, args = arguments, x = new this(args[i]);
2418
+ external = false;
2419
+ for (; x.s && ++i < args.length; ) x = x.plus(args[i]);
2420
+ external = true;
2421
+ return finalise(x, this.precision, this.rounding);
2422
+ }
2423
+ function tan(x) {
2424
+ return new this(x).tan();
2425
+ }
2426
+ function tanh(x) {
2427
+ return new this(x).tanh();
2428
+ }
2429
+ function trunc(x) {
2430
+ return finalise(x = new this(x), x.e + 1, 1);
2431
+ }
2432
+ P[Symbol.for("nodejs.util.inspect.custom")] = P.toString;
2433
+ P[Symbol.toStringTag] = "Decimal";
2434
+ var Decimal = P.constructor = clone(DEFAULTS);
2435
+ LN10 = new Decimal(LN10);
2436
+ PI = new Decimal(PI);
2437
+
2438
+ // ../../node_modules/.pnpm/sql-template-tag@5.2.1/node_modules/sql-template-tag/dist/index.js
2439
+ var Sql = class _Sql {
2440
+ constructor(rawStrings, rawValues) {
2441
+ if (rawStrings.length - 1 !== rawValues.length) {
2442
+ if (rawStrings.length === 0) {
2443
+ throw new TypeError("Expected at least 1 string");
2444
+ }
2445
+ throw new TypeError(`Expected ${rawStrings.length} strings to have ${rawStrings.length - 1} values`);
2446
+ }
2447
+ const valuesLength = rawValues.reduce((len, value) => len + (value instanceof _Sql ? value.values.length : 1), 0);
2448
+ this.values = new Array(valuesLength);
2449
+ this.strings = new Array(valuesLength + 1);
2450
+ this.strings[0] = rawStrings[0];
2451
+ let i = 0, pos = 0;
2452
+ while (i < rawValues.length) {
2453
+ const child = rawValues[i++];
2454
+ const rawString = rawStrings[i];
2455
+ if (child instanceof _Sql) {
2456
+ this.strings[pos] += child.strings[0];
2457
+ let childIndex = 0;
2458
+ while (childIndex < child.values.length) {
2459
+ this.values[pos++] = child.values[childIndex++];
2460
+ this.strings[pos] = child.strings[childIndex];
2461
+ }
2462
+ this.strings[pos] += rawString;
2463
+ } else {
2464
+ this.values[pos++] = child;
2465
+ this.strings[pos] = rawString;
2466
+ }
2467
+ }
2468
+ }
2469
+ get sql() {
2470
+ const len = this.strings.length;
2471
+ let i = 1;
2472
+ let value = this.strings[0];
2473
+ while (i < len)
2474
+ value += `?${this.strings[i++]}`;
2475
+ return value;
2476
+ }
2477
+ get statement() {
2478
+ const len = this.strings.length;
2479
+ let i = 1;
2480
+ let value = this.strings[0];
2481
+ while (i < len)
2482
+ value += `:${i}${this.strings[i++]}`;
2483
+ return value;
2484
+ }
2485
+ get text() {
2486
+ const len = this.strings.length;
2487
+ let i = 1;
2488
+ let value = this.strings[0];
2489
+ while (i < len)
2490
+ value += `$${i}${this.strings[i++]}`;
2491
+ return value;
2492
+ }
2493
+ inspect() {
2494
+ return {
2495
+ sql: this.sql,
2496
+ statement: this.statement,
2497
+ text: this.text,
2498
+ values: this.values
2499
+ };
2500
+ }
2501
+ };
2502
+ function join(values, separator = ",", prefix = "", suffix = "") {
2503
+ if (values.length === 0) {
2504
+ throw new TypeError("Expected `join([])` to be called with an array of multiple elements, but got an empty array");
2505
+ }
2506
+ return new Sql([prefix, ...Array(values.length - 1).fill(separator), suffix], values);
2507
+ }
2508
+ function raw(value) {
2509
+ return new Sql([value], []);
2510
+ }
2511
+ var empty = raw("");
2512
+ function sql(strings, ...values) {
2513
+ return new Sql(strings, values);
2514
+ }
2515
+ // Annotate the CommonJS export names for ESM import in node:
2516
+ 0 && (module.exports = {
2517
+ AnyNull,
2518
+ AnyNullClass,
2519
+ DbNull,
2520
+ DbNullClass,
2521
+ Decimal,
2522
+ JsonNull,
2523
+ JsonNullClass,
2524
+ NullTypes,
2525
+ ObjectEnumValue,
2526
+ PrismaClientInitializationError,
2527
+ PrismaClientKnownRequestError,
2528
+ PrismaClientRustError,
2529
+ PrismaClientRustPanicError,
2530
+ PrismaClientUnknownRequestError,
2531
+ PrismaClientValidationError,
2532
+ Sql,
2533
+ empty,
2534
+ hasBatchIndex,
2535
+ isAnyNull,
2536
+ isDbNull,
2537
+ isJsonNull,
2538
+ join,
2539
+ raw,
2540
+ sql
2541
+ });
2542
+ /*! Bundled license information:
2543
+
2544
+ decimal.js/decimal.mjs:
2545
+ (*!
2546
+ * decimal.js v10.5.0
2547
+ * An arbitrary-precision Decimal type for JavaScript.
2548
+ * https://github.com/MikeMcl/decimal.js
2549
+ * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
2550
+ * MIT Licence
2551
+ *)
2552
+ */