@chrisjowen/wheelhouse 0.24.1 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (833) hide show
  1. package/build/client/_app/immutable/assets/0.Bi7wbObi.css +1 -0
  2. package/build/client/_app/immutable/assets/0.Bi7wbObi.css.br +0 -0
  3. package/build/client/_app/immutable/assets/0.Bi7wbObi.css.gz +0 -0
  4. package/build/client/_app/immutable/chunks/28SuhBcT.js +1 -0
  5. package/build/client/_app/immutable/chunks/28SuhBcT.js.br +0 -0
  6. package/build/client/_app/immutable/chunks/28SuhBcT.js.gz +0 -0
  7. package/build/client/_app/immutable/chunks/7W-6I0W5.js +1 -0
  8. package/build/client/_app/immutable/chunks/7W-6I0W5.js.br +0 -0
  9. package/build/client/_app/immutable/chunks/7W-6I0W5.js.gz +0 -0
  10. package/build/client/_app/immutable/chunks/B-PCtbJj.js +1 -0
  11. package/build/client/_app/immutable/chunks/B-PCtbJj.js.br +0 -0
  12. package/build/client/_app/immutable/chunks/B-PCtbJj.js.gz +0 -0
  13. package/build/client/_app/immutable/chunks/BTF7kOWj.js +5 -0
  14. package/build/client/_app/immutable/chunks/BTF7kOWj.js.br +0 -0
  15. package/build/client/_app/immutable/chunks/BTF7kOWj.js.gz +0 -0
  16. package/build/client/_app/immutable/chunks/BnGC1hPK.js +8 -0
  17. package/build/client/_app/immutable/chunks/BnGC1hPK.js.br +0 -0
  18. package/build/client/_app/immutable/chunks/BnGC1hPK.js.gz +0 -0
  19. package/build/client/_app/immutable/chunks/BpMceauw.js +7 -0
  20. package/build/client/_app/immutable/chunks/BpMceauw.js.br +0 -0
  21. package/build/client/_app/immutable/chunks/BpMceauw.js.gz +0 -0
  22. package/build/client/_app/immutable/chunks/BuKI2ZJL.js +7 -0
  23. package/build/client/_app/immutable/chunks/BuKI2ZJL.js.br +0 -0
  24. package/build/client/_app/immutable/chunks/BuKI2ZJL.js.gz +0 -0
  25. package/build/client/_app/immutable/chunks/CEgeDr98.js +3 -0
  26. package/build/client/_app/immutable/chunks/CEgeDr98.js.br +0 -0
  27. package/build/client/_app/immutable/chunks/CEgeDr98.js.gz +0 -0
  28. package/build/client/_app/immutable/chunks/CIppRg38.js +2 -0
  29. package/build/client/_app/immutable/chunks/CIppRg38.js.br +0 -0
  30. package/build/client/_app/immutable/chunks/CIppRg38.js.gz +0 -0
  31. package/build/client/_app/immutable/chunks/CWXMOoE5.js +1 -0
  32. package/build/client/_app/immutable/chunks/CWXMOoE5.js.br +2 -0
  33. package/build/client/_app/immutable/chunks/CWXMOoE5.js.gz +0 -0
  34. package/build/client/_app/immutable/chunks/CcZQvhp1.js +1 -0
  35. package/build/client/_app/immutable/chunks/CcZQvhp1.js.br +0 -0
  36. package/build/client/_app/immutable/chunks/CcZQvhp1.js.gz +0 -0
  37. package/build/client/_app/immutable/chunks/CdXXnfvS.js +1 -0
  38. package/build/client/_app/immutable/chunks/CdXXnfvS.js.br +0 -0
  39. package/build/client/_app/immutable/chunks/CdXXnfvS.js.gz +0 -0
  40. package/build/client/_app/immutable/chunks/CfSmEcaH.js +6 -0
  41. package/build/client/_app/immutable/chunks/CfSmEcaH.js.br +0 -0
  42. package/build/client/_app/immutable/chunks/CfSmEcaH.js.gz +0 -0
  43. package/build/client/_app/immutable/chunks/CgJcnAcm.js +3 -0
  44. package/build/client/_app/immutable/chunks/CgJcnAcm.js.br +0 -0
  45. package/build/client/_app/immutable/chunks/CgJcnAcm.js.gz +0 -0
  46. package/build/client/_app/immutable/chunks/CgvWEeQK.js +2 -0
  47. package/build/client/_app/immutable/chunks/CgvWEeQK.js.br +0 -0
  48. package/build/client/_app/immutable/chunks/CgvWEeQK.js.gz +0 -0
  49. package/build/client/_app/immutable/chunks/CqwyiX4n.js +1 -0
  50. package/build/client/_app/immutable/chunks/CqwyiX4n.js.br +0 -0
  51. package/build/client/_app/immutable/chunks/CqwyiX4n.js.gz +0 -0
  52. package/build/client/_app/immutable/chunks/CtfzluSe.js +1 -0
  53. package/build/client/_app/immutable/chunks/CtfzluSe.js.br +0 -0
  54. package/build/client/_app/immutable/chunks/CtfzluSe.js.gz +0 -0
  55. package/build/client/_app/immutable/chunks/DQZynC5d.js +1 -0
  56. package/build/client/_app/immutable/chunks/DQZynC5d.js.br +0 -0
  57. package/build/client/_app/immutable/chunks/DQZynC5d.js.gz +0 -0
  58. package/build/client/_app/immutable/chunks/DhFU494N.js +3 -0
  59. package/build/client/_app/immutable/chunks/DhFU494N.js.br +0 -0
  60. package/build/client/_app/immutable/chunks/DhFU494N.js.gz +0 -0
  61. package/build/client/_app/immutable/chunks/DotKSDx1.js +4 -0
  62. package/build/client/_app/immutable/chunks/DotKSDx1.js.br +0 -0
  63. package/build/client/_app/immutable/chunks/DotKSDx1.js.gz +0 -0
  64. package/build/client/_app/immutable/chunks/ITHHFCAt.js +1 -0
  65. package/build/client/_app/immutable/chunks/ITHHFCAt.js.br +0 -0
  66. package/build/client/_app/immutable/chunks/ITHHFCAt.js.gz +0 -0
  67. package/build/client/_app/immutable/chunks/KLlJvBx3.js +1 -0
  68. package/build/client/_app/immutable/chunks/KLlJvBx3.js.br +0 -0
  69. package/build/client/_app/immutable/chunks/KLlJvBx3.js.gz +0 -0
  70. package/build/client/_app/immutable/chunks/Kh20FmpZ.js +3 -0
  71. package/build/client/_app/immutable/chunks/Kh20FmpZ.js.br +0 -0
  72. package/build/client/_app/immutable/chunks/Kh20FmpZ.js.gz +0 -0
  73. package/build/client/_app/immutable/chunks/RTsEYL93.js +1 -0
  74. package/build/client/_app/immutable/chunks/RTsEYL93.js.br +0 -0
  75. package/build/client/_app/immutable/chunks/RTsEYL93.js.gz +0 -0
  76. package/build/client/_app/immutable/chunks/_NxO7pzE.js +1 -0
  77. package/build/client/_app/immutable/chunks/_NxO7pzE.js.br +0 -0
  78. package/build/client/_app/immutable/chunks/_NxO7pzE.js.gz +0 -0
  79. package/build/client/_app/immutable/chunks/uFHn3SsP.js +2 -0
  80. package/build/client/_app/immutable/chunks/uFHn3SsP.js.br +0 -0
  81. package/build/client/_app/immutable/chunks/uFHn3SsP.js.gz +0 -0
  82. package/build/client/_app/immutable/entry/app.D6StH31U.js +2 -0
  83. package/build/client/_app/immutable/entry/app.D6StH31U.js.br +0 -0
  84. package/build/client/_app/immutable/entry/app.D6StH31U.js.gz +0 -0
  85. package/build/client/_app/immutable/entry/start.B2z8DOZI.js +1 -0
  86. package/build/client/_app/immutable/entry/start.B2z8DOZI.js.br +0 -0
  87. package/build/client/_app/immutable/entry/start.B2z8DOZI.js.gz +0 -0
  88. package/build/client/_app/immutable/nodes/0.CKuUS76g.js +9 -0
  89. package/build/client/_app/immutable/nodes/0.CKuUS76g.js.br +0 -0
  90. package/build/client/_app/immutable/nodes/0.CKuUS76g.js.gz +0 -0
  91. package/build/client/_app/immutable/nodes/1.ClSKcXXD.js +1 -0
  92. package/build/client/_app/immutable/nodes/1.ClSKcXXD.js.br +0 -0
  93. package/build/client/_app/immutable/nodes/1.ClSKcXXD.js.gz +0 -0
  94. package/build/client/_app/immutable/nodes/10.C1VYgF4o.js +10 -0
  95. package/build/client/_app/immutable/nodes/10.C1VYgF4o.js.br +0 -0
  96. package/build/client/_app/immutable/nodes/10.C1VYgF4o.js.gz +0 -0
  97. package/build/client/_app/immutable/nodes/11.Cz3SoD3J.js +9 -0
  98. package/build/client/_app/immutable/nodes/11.Cz3SoD3J.js.br +0 -0
  99. package/build/client/_app/immutable/nodes/11.Cz3SoD3J.js.gz +0 -0
  100. package/build/client/_app/immutable/nodes/12.Ck8hTl9o.js +3 -0
  101. package/build/client/_app/immutable/nodes/12.Ck8hTl9o.js.br +0 -0
  102. package/build/client/_app/immutable/nodes/12.Ck8hTl9o.js.gz +0 -0
  103. package/build/client/_app/immutable/nodes/13.uPkonAXk.js +2 -0
  104. package/build/client/_app/immutable/nodes/13.uPkonAXk.js.br +0 -0
  105. package/build/client/_app/immutable/nodes/13.uPkonAXk.js.gz +0 -0
  106. package/build/client/_app/immutable/nodes/14.BhgJgo-p.js +6 -0
  107. package/build/client/_app/immutable/nodes/14.BhgJgo-p.js.br +0 -0
  108. package/build/client/_app/immutable/nodes/14.BhgJgo-p.js.gz +0 -0
  109. package/build/client/_app/immutable/nodes/15.C8fHy07w.js +1 -0
  110. package/build/client/_app/immutable/nodes/15.C8fHy07w.js.br +0 -0
  111. package/build/client/_app/immutable/nodes/15.C8fHy07w.js.gz +0 -0
  112. package/build/client/_app/immutable/nodes/16.BIiXdOvw.js +10 -0
  113. package/build/client/_app/immutable/nodes/16.BIiXdOvw.js.br +0 -0
  114. package/build/client/_app/immutable/nodes/16.BIiXdOvw.js.gz +0 -0
  115. package/build/client/_app/immutable/nodes/17.UCTOPfQ9.js +1 -0
  116. package/build/client/_app/immutable/nodes/17.UCTOPfQ9.js.br +0 -0
  117. package/build/client/_app/immutable/nodes/17.UCTOPfQ9.js.gz +0 -0
  118. package/build/client/_app/immutable/nodes/18.BIIxWe2_.js +3 -0
  119. package/build/client/_app/immutable/nodes/18.BIIxWe2_.js.br +0 -0
  120. package/build/client/_app/immutable/nodes/18.BIIxWe2_.js.gz +0 -0
  121. package/build/client/_app/immutable/nodes/19.MIMOOdHv.js +1 -0
  122. package/build/client/_app/immutable/nodes/19.MIMOOdHv.js.br +0 -0
  123. package/build/client/_app/immutable/nodes/19.MIMOOdHv.js.gz +0 -0
  124. package/build/client/_app/immutable/nodes/2.DtoFWLWO.js +28 -0
  125. package/build/client/_app/immutable/nodes/2.DtoFWLWO.js.br +0 -0
  126. package/build/client/_app/immutable/nodes/2.DtoFWLWO.js.gz +0 -0
  127. package/build/client/_app/immutable/nodes/20.6wKzQBq7.js +14 -0
  128. package/build/client/_app/immutable/nodes/20.6wKzQBq7.js.br +0 -0
  129. package/build/client/_app/immutable/nodes/20.6wKzQBq7.js.gz +0 -0
  130. package/build/client/_app/immutable/nodes/21.5HKRevgQ.js +150 -0
  131. package/build/client/_app/immutable/nodes/21.5HKRevgQ.js.br +0 -0
  132. package/build/client/_app/immutable/nodes/21.5HKRevgQ.js.gz +0 -0
  133. package/build/client/_app/immutable/nodes/22.D2Go4NAd.js +3 -0
  134. package/build/client/_app/immutable/nodes/22.D2Go4NAd.js.br +0 -0
  135. package/build/client/_app/immutable/nodes/22.D2Go4NAd.js.gz +0 -0
  136. package/build/client/_app/immutable/nodes/23.CD_BMpjF.js +2 -0
  137. package/build/client/_app/immutable/nodes/23.CD_BMpjF.js.br +0 -0
  138. package/build/client/_app/immutable/nodes/23.CD_BMpjF.js.gz +0 -0
  139. package/build/client/_app/immutable/nodes/24.T-WCg51Y.js +25 -0
  140. package/build/client/_app/immutable/nodes/24.T-WCg51Y.js.br +0 -0
  141. package/build/client/_app/immutable/nodes/24.T-WCg51Y.js.gz +0 -0
  142. package/build/client/_app/immutable/nodes/25.BeupWX4f.js +5 -0
  143. package/build/client/_app/immutable/nodes/25.BeupWX4f.js.br +0 -0
  144. package/build/client/_app/immutable/nodes/25.BeupWX4f.js.gz +0 -0
  145. package/build/client/_app/immutable/nodes/26.Yu_f5rJN.js +18 -0
  146. package/build/client/_app/immutable/nodes/26.Yu_f5rJN.js.br +0 -0
  147. package/build/client/_app/immutable/nodes/26.Yu_f5rJN.js.gz +0 -0
  148. package/build/client/_app/immutable/nodes/28.CXVRuiJO.js +4 -0
  149. package/build/client/_app/immutable/nodes/28.CXVRuiJO.js.br +0 -0
  150. package/build/client/_app/immutable/nodes/28.CXVRuiJO.js.gz +0 -0
  151. package/build/client/_app/immutable/nodes/3.CQz7EPod.js +2 -0
  152. package/build/client/_app/immutable/nodes/3.CQz7EPod.js.br +0 -0
  153. package/build/client/_app/immutable/nodes/3.CQz7EPod.js.gz +0 -0
  154. package/build/client/_app/immutable/nodes/30.Cn5WjjU2.js +6 -0
  155. package/build/client/_app/immutable/nodes/30.Cn5WjjU2.js.br +0 -0
  156. package/build/client/_app/immutable/nodes/30.Cn5WjjU2.js.gz +0 -0
  157. package/build/client/_app/immutable/nodes/31.X3AmUS0p.js +8 -0
  158. package/build/client/_app/immutable/nodes/31.X3AmUS0p.js.br +0 -0
  159. package/build/client/_app/immutable/nodes/31.X3AmUS0p.js.gz +0 -0
  160. package/build/client/_app/immutable/nodes/32.ByxI0zka.js +2 -0
  161. package/build/client/_app/immutable/nodes/32.ByxI0zka.js.br +0 -0
  162. package/build/client/_app/immutable/nodes/32.ByxI0zka.js.gz +0 -0
  163. package/build/client/_app/immutable/nodes/33.D3i9rpHh.js +5 -0
  164. package/build/client/_app/immutable/nodes/33.D3i9rpHh.js.br +0 -0
  165. package/build/client/_app/immutable/nodes/33.D3i9rpHh.js.gz +0 -0
  166. package/build/client/_app/immutable/nodes/34.0c6Z2Z6d.js +4 -0
  167. package/build/client/_app/immutable/nodes/34.0c6Z2Z6d.js.br +0 -0
  168. package/build/client/_app/immutable/nodes/34.0c6Z2Z6d.js.gz +0 -0
  169. package/build/client/_app/immutable/nodes/35.BWPVbOEr.js +3 -0
  170. package/build/client/_app/immutable/nodes/35.BWPVbOEr.js.br +0 -0
  171. package/build/client/_app/immutable/nodes/35.BWPVbOEr.js.gz +0 -0
  172. package/build/client/_app/immutable/nodes/36.CvLYsEYT.js +7 -0
  173. package/build/client/_app/immutable/nodes/36.CvLYsEYT.js.br +0 -0
  174. package/build/client/_app/immutable/nodes/36.CvLYsEYT.js.gz +0 -0
  175. package/build/client/_app/immutable/nodes/37.BJz6-lS3.js +2 -0
  176. package/build/client/_app/immutable/nodes/37.BJz6-lS3.js.br +0 -0
  177. package/build/client/_app/immutable/nodes/37.BJz6-lS3.js.gz +0 -0
  178. package/build/client/_app/immutable/nodes/38.D_9ntghd.js +4 -0
  179. package/build/client/_app/immutable/nodes/38.D_9ntghd.js.br +0 -0
  180. package/build/client/_app/immutable/nodes/38.D_9ntghd.js.gz +0 -0
  181. package/build/client/_app/immutable/nodes/39.HPPVcNOu.js +7 -0
  182. package/build/client/_app/immutable/nodes/39.HPPVcNOu.js.br +0 -0
  183. package/build/client/_app/immutable/nodes/39.HPPVcNOu.js.gz +0 -0
  184. package/build/client/_app/immutable/nodes/4.Doi_SYLu.js +5 -0
  185. package/build/client/_app/immutable/nodes/4.Doi_SYLu.js.br +0 -0
  186. package/build/client/_app/immutable/nodes/4.Doi_SYLu.js.gz +0 -0
  187. package/build/client/_app/immutable/nodes/40.CrsYdbJ2.js +6 -0
  188. package/build/client/_app/immutable/nodes/40.CrsYdbJ2.js.br +0 -0
  189. package/build/client/_app/immutable/nodes/40.CrsYdbJ2.js.gz +0 -0
  190. package/build/client/_app/immutable/nodes/41.gEqeY20t.js +23 -0
  191. package/build/client/_app/immutable/nodes/41.gEqeY20t.js.br +0 -0
  192. package/build/client/_app/immutable/nodes/41.gEqeY20t.js.gz +0 -0
  193. package/build/client/_app/immutable/nodes/42.B2LWwGrT.js +1 -0
  194. package/build/client/_app/immutable/nodes/42.B2LWwGrT.js.br +1 -0
  195. package/build/client/_app/immutable/nodes/42.B2LWwGrT.js.gz +0 -0
  196. package/build/client/_app/immutable/nodes/44.CdUnQCqR.js +6 -0
  197. package/build/client/_app/immutable/nodes/44.CdUnQCqR.js.br +0 -0
  198. package/build/client/_app/immutable/nodes/44.CdUnQCqR.js.gz +0 -0
  199. package/build/client/_app/immutable/nodes/5.B4uTy-0f.js +1 -0
  200. package/build/client/_app/immutable/nodes/5.B4uTy-0f.js.br +0 -0
  201. package/build/client/_app/immutable/nodes/5.B4uTy-0f.js.gz +0 -0
  202. package/build/client/_app/immutable/nodes/6.CmIB-igu.js +6 -0
  203. package/build/client/_app/immutable/nodes/6.CmIB-igu.js.br +0 -0
  204. package/build/client/_app/immutable/nodes/6.CmIB-igu.js.gz +0 -0
  205. package/build/client/_app/immutable/nodes/9.D5kLV1OU.js +3 -0
  206. package/build/client/_app/immutable/nodes/9.D5kLV1OU.js.br +0 -0
  207. package/build/client/_app/immutable/nodes/9.D5kLV1OU.js.gz +0 -0
  208. package/build/client/_app/version.json +1 -1
  209. package/build/client/_app/version.json.br +0 -0
  210. package/build/client/_app/version.json.gz +0 -0
  211. package/build/handler.js +4 -4
  212. package/build/index.js +4 -4
  213. package/build/server/chunks/chunks/ResizableRail.js-D0idmMXk.js +708 -0
  214. package/build/server/chunks/chunks/TaskView.js-d4_0kZ-e.js +3029 -0
  215. package/build/server/chunks/chunks/detail.js-DNmr2zHv.js +149 -0
  216. package/build/server/chunks/chunks/features.js-BhXyRT_1.js +181 -0
  217. package/build/server/chunks/chunks/feedback.js-CHXRyn5n.js +67 -0
  218. package/build/server/chunks/chunks/internal.js-O-vX00u6.js +151 -0
  219. package/build/server/chunks/chunks/livereview.js-FqdWoyiJ.js +261 -0
  220. package/build/server/chunks/chunks/marketplace-service.js-7cE4n6mo.js +557 -0
  221. package/build/server/chunks/chunks/package.js-X-RlQsSA.js +160 -0
  222. package/build/server/chunks/chunks/page.js-B6PDBS51.js +13 -0
  223. package/build/server/chunks/chunks/previewhelper.js-Cz95M8xJ.js +246 -0
  224. package/build/server/chunks/chunks/previewhelper2.js-CawzBO7t.js +214 -0
  225. package/build/server/chunks/chunks/repo.js-OOqVL99k.js +33 -0
  226. package/build/server/chunks/chunks/runtime.js-D7BWZr4r.js +26676 -0
  227. package/build/server/chunks/chunks/scribe.js-CrX8YPGp.js +1591 -0
  228. package/build/server/chunks/chunks/service.js-BNXHwz0z.js +1339 -0
  229. package/build/server/chunks/chunks/service2.js-K1G_0p9s.js +835 -0
  230. package/build/server/chunks/chunks/service3.js-DsuUdHqU.js +234 -0
  231. package/build/server/chunks/chunks/sessions.js-qcyBTO1C.js +534 -0
  232. package/build/server/chunks/chunks/settings.js-C5VqzDhW.js +379 -0
  233. package/build/server/chunks/chunks/starter.js-ClhdKcek.js +400 -0
  234. package/build/server/chunks/chunks/store.js-CBYhaqF1.js +334 -0
  235. package/build/server/chunks/chunks/tmux.js-BnFtiGpm.js +504 -0
  236. package/build/server/chunks/chunks/tools.js-CSWRR-_m.js +156 -0
  237. package/build/server/chunks/chunks/uploads.js-ZX2kg51N.js +107 -0
  238. package/build/server/chunks/chunks/view.js-8odN6g23.js +76 -0
  239. package/build/server/chunks/chunks/volume-2.js-BdrATtWy.js +24 -0
  240. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-BDWFdikr.js +116 -0
  241. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-fQe2vCi_.js +112 -0
  242. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-BVRNsIIW.js +63 -0
  243. package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-ySb9KZ_-.js +79 -0
  244. package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-BdAhPgNT.js +83 -0
  245. package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-Deuf72TK.js +68 -0
  246. package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-xQ85tCJ6.js +73 -0
  247. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js--A6MYR5G.js +158 -0
  248. package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-C9jkqC7K.js +57 -0
  249. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-BX1LxrEa.js +75 -0
  250. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-C0J5w0FB.js +111 -0
  251. package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-BTs5o7Mw.js +87 -0
  252. package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-C8FKFafE.js +77 -0
  253. package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-WkSY6nlu.js +70 -0
  254. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-BJwI8Gmn.js +70 -0
  255. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-DVXInXQI.js +71 -0
  256. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-KRUnXG1_.js +77 -0
  257. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-C3wD-Bsc.js +70 -0
  258. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-yknBiY0D.js +119 -0
  259. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-DWcY1uoX.js +80 -0
  260. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-BOaD3IeK.js +91 -0
  261. package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-BoSwn8Tv.js +79 -0
  262. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-BdmoziWD.js +70 -0
  263. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-CSSUNhkV.js +32 -0
  264. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-yZHelvlp.js +40 -0
  265. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-CUL8Pq_B.js +62 -0
  266. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-CEdzoclv.js +62 -0
  267. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-BjVzUKNa.js +89 -0
  268. package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-hDF9NFq_.js +87 -0
  269. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-CQFmK6Jj.js +80 -0
  270. package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-BgL_OBuS.js +172 -0
  271. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-Bj3ArJ8e.js +62 -0
  272. package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-Ytj8LRyz.js +71 -0
  273. package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-Bsw-coX5.js +72 -0
  274. package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-BAq01f1Q.js +91 -0
  275. package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-DuDvfPGO.js +72 -0
  276. package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-DOA618e_.js +27 -0
  277. package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-XXsEGuag.js +30 -0
  278. package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-AHdWEtIp.js +105 -0
  279. package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-DzPUeQTi.js +74 -0
  280. package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-D_OL9OX2.js +122 -0
  281. package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-CsVJLGBv.js +76 -0
  282. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-B21zqtCS.js +97 -0
  283. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-D7dwIUHu.js +86 -0
  284. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-DV8iGc2m.js +81 -0
  285. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-HOT8HzRk.js +78 -0
  286. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-TVTyRXGB.js +27 -0
  287. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-Cpz_Nwq9.js +85 -0
  288. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-DWCTugFd.js +39 -0
  289. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-Dm0eRjNy.js +62 -0
  290. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-BUs16W7B.js +39 -0
  291. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-COg9oQo8.js +42 -0
  292. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-oAXY6lwM.js +67 -0
  293. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-C4oBldsb.js +76 -0
  294. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-BPPmeb1O.js +73 -0
  295. package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-DcRonc0M.js +77 -0
  296. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-D650HWSB.js +27 -0
  297. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-bYzuM3AX.js +86 -0
  298. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-DgBbAzui.js +67 -0
  299. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-I7Q9NEeo.js +76 -0
  300. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-Cqsk5blC.js +88 -0
  301. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-DhcvEOaq.js +75 -0
  302. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-DnepVFAC.js +98 -0
  303. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-DW1M5BKY.js +81 -0
  304. package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-Dw6RfG7L.js +476 -0
  305. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-B8bvA9DM.js +92 -0
  306. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-D6eYs2D1.js +71 -0
  307. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-q1F7JDi4.js +81 -0
  308. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-3dHJdpfk.js +141 -0
  309. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-CuKl_RQf.js +70 -0
  310. package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-CFd99DmZ.js +84 -0
  311. package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-C-2St0o7.js +70 -0
  312. package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-vvMmWUno.js +73 -0
  313. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-CLqanxiv.js +67 -0
  314. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-DVxSMd63.js +86 -0
  315. package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-2ZTB9AOc.js +113 -0
  316. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-Bqz9Jxq-.js +79 -0
  317. package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-B7cAJcuZ.js +108 -0
  318. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-qGkkUc0n.js +127 -0
  319. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-BVyk7T-v.js +82 -0
  320. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-BMwxujEw.js +84 -0
  321. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-40rgCCP-.js +85 -0
  322. package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-4PZyHkNr.js +24 -0
  323. package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-BjhLHXXA.js +31 -0
  324. package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-0u91Zt3R.js +33 -0
  325. package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-deys_OrX.js +97 -0
  326. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-CXK5O72T.js +40 -0
  327. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-VNIH1gz4.js +27 -0
  328. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-DWmyyxxj.js +27 -0
  329. package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-BjRdBCjC.js +78 -0
  330. package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-C1DBUIIo.js +68 -0
  331. package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-D-qgAHe2.js +75 -0
  332. package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-B_YfmtCr.js +87 -0
  333. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-B8wpApaS.js +66 -0
  334. package/build/server/chunks/entries/hooks.server.js-C2Jq471K.js +108 -0
  335. package/build/server/chunks/entries/pages/_layout.server.ts.js-Bt-gmVC8.js +55 -0
  336. package/build/server/chunks/entries/pages/_layout.svelte.js-CkPHJ6iw.js +6023 -0
  337. package/build/server/chunks/entries/pages/_page.server.ts.js-DfN7-68h.js +16 -0
  338. package/build/server/chunks/entries/pages/_page.svelte.js-Bp57ktWC.js +4907 -0
  339. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-Cmkth9fT.js +14 -0
  340. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-C0ulhk4E.js +16 -0
  341. package/build/server/chunks/entries/pages/documents/_page.server.ts.js-lb2y3RrU.js +15 -0
  342. package/build/server/chunks/entries/pages/files/_page.server.ts.js-C8K8Bywk.js +17 -0
  343. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-g48T0kd-.js +11 -0
  344. package/build/server/chunks/entries/pages/health/_page.server.ts.js-BtYNItQA.js +16 -0
  345. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-BgSMH_CR.js +18 -0
  346. package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-BGT47EiL.js +18 -0
  347. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-DBvqb-4n.js +16 -0
  348. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-C5lDScfS.js +23 -0
  349. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-OHtCg3ps.js +21 -0
  350. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-C5T5xtcE.js +27 -0
  351. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-4wFc1XPC.js +15 -0
  352. package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-BljSK7lM.js +25 -0
  353. package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-CXnAVg7S.js +37 -0
  354. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-C-gvokYd.js +11 -0
  355. package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-C5r6-ShC.js +13 -0
  356. package/build/server/chunks/entries/pages/settings/_page.server.ts.js-DGKwb104.js +12 -0
  357. package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-B3YDnmmB.js +18 -0
  358. package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-sFixjDN7.js +19 -0
  359. package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-ORPe-Udr.js +16 -0
  360. package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-DRjZBOes.js +15 -0
  361. package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-CuJj3RFV.js +797 -0
  362. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-7_ZbhFWy.js +11 -0
  363. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-BhiagNIi.js +19 -0
  364. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-Dgl8iOBp.js +17 -0
  365. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-KsPYJwiB.js +11 -0
  366. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-BZZoApKT.js +11 -0
  367. package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-GCgZEZdm.js +15 -0
  368. package/build/server/chunks/entries/pages/settings/voice/_page.svelte.js-CPtKfR3g.js +161 -0
  369. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-BOorm5Wm.js +18 -0
  370. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-Feuxftuj.js +36 -0
  371. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-Bz5xWZGZ.js +121 -0
  372. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BMEYrcpa.js +24 -0
  373. package/build/server/chunks/entries/pages/time/_page.server.ts.js-CwBRGUi5.js +11 -0
  374. package/build/server/chunks/handler-HICo2rBa.js +1474 -0
  375. package/build/server/chunks/index.js-mXeyfwOL.js +4296 -0
  376. package/build/server/chunks/manifest.js-BXvg7MTn.js +1050 -0
  377. package/build/server/chunks/nodes/0.js-B6FWOub_.js +69 -0
  378. package/build/server/chunks/nodes/1.js-A3LTU5o8.js +9 -0
  379. package/build/server/chunks/nodes/10.js-CylXMpAM.js +67 -0
  380. package/build/server/chunks/nodes/11.js-COltHAQK.js +69 -0
  381. package/build/server/chunks/nodes/12.js-D4Upu6y1.js +68 -0
  382. package/build/server/chunks/nodes/13.js-DVK7Dh6e.js +69 -0
  383. package/build/server/chunks/nodes/14.js-4qz1fO9Q.js +12 -0
  384. package/build/server/chunks/nodes/15.js-ChjTgj9K.js +9 -0
  385. package/build/server/chunks/nodes/16.js-P8F-wWtO.js +9 -0
  386. package/build/server/chunks/nodes/17.js-DjuCCIpy.js +67 -0
  387. package/build/server/chunks/nodes/18.js-C993M6oc.js +70 -0
  388. package/build/server/chunks/nodes/19.js-D9Embfjr.js +68 -0
  389. package/build/server/chunks/nodes/2.js-Wc5kZHvb.js +67 -0
  390. package/build/server/chunks/nodes/20.js-BPRKQiIS.js +69 -0
  391. package/build/server/chunks/nodes/21.js-CUAn10i3.js +68 -0
  392. package/build/server/chunks/nodes/22.js-TBH6F4dy.js +69 -0
  393. package/build/server/chunks/nodes/23.js-szYvETrv.js +69 -0
  394. package/build/server/chunks/nodes/24.js-D3VP7c7Q.js +25 -0
  395. package/build/server/chunks/nodes/25.js-CBoW-4He.js +25 -0
  396. package/build/server/chunks/nodes/26.js-DzXVuGMS.js +9 -0
  397. package/build/server/chunks/nodes/27.js-rQgQSbRQ.js +25 -0
  398. package/build/server/chunks/nodes/28.js-Cd8QuiHE.js +67 -0
  399. package/build/server/chunks/nodes/3.js-DZsIWxJx.js +9 -0
  400. package/build/server/chunks/nodes/30.js-DoJvIlX5.js +68 -0
  401. package/build/server/chunks/nodes/31.js-D8IGmFgH.js +67 -0
  402. package/build/server/chunks/nodes/32.js-B20MERXQ.js +25 -0
  403. package/build/server/chunks/nodes/33.js-DOlfd37i.js +67 -0
  404. package/build/server/chunks/nodes/34.js-DWWZCvyG.js +25 -0
  405. package/build/server/chunks/nodes/35.js-oWOgHh8Z.js +22 -0
  406. package/build/server/chunks/nodes/36.js-DZ-lKaYT.js +67 -0
  407. package/build/server/chunks/nodes/37.js-eAJH-k_k.js +70 -0
  408. package/build/server/chunks/nodes/38.js-BNDRcNzX.js +69 -0
  409. package/build/server/chunks/nodes/39.js-o8Oz_jZ9.js +26 -0
  410. package/build/server/chunks/nodes/4.js-XBXJC9EJ.js +68 -0
  411. package/build/server/chunks/nodes/40.js-BruOvnJW.js +69 -0
  412. package/build/server/chunks/nodes/41.js-ygYBXXUn.js +71 -0
  413. package/build/server/chunks/nodes/42.js-DVVbf2pp.js +68 -0
  414. package/build/server/chunks/nodes/43.js-4kkcs8x3.js +68 -0
  415. package/build/server/chunks/nodes/44.js-Dz4_viSC.js +67 -0
  416. package/build/server/chunks/nodes/5.js-CESSNTmC.js +67 -0
  417. package/build/server/chunks/nodes/6.js-ReQxzqU3.js +67 -0
  418. package/build/server/chunks/nodes/8.js-Bp5GVhBi.js +67 -0
  419. package/build/server/chunks/nodes/9.js-hs2_Bguy.js +14 -0
  420. package/dist/cli.js +1 -1
  421. package/dist/wh-vault.js +1 -1
  422. package/firstmate-extension/firstmate-extension.json +1 -1
  423. package/package.json +1 -1
  424. package/build/client/_app/immutable/assets/0.Dy2mS3Kw.css +0 -1
  425. package/build/client/_app/immutable/assets/0.Dy2mS3Kw.css.br +0 -0
  426. package/build/client/_app/immutable/assets/0.Dy2mS3Kw.css.gz +0 -0
  427. package/build/client/_app/immutable/chunks/BBesepuR.js +0 -2
  428. package/build/client/_app/immutable/chunks/BBesepuR.js.br +0 -0
  429. package/build/client/_app/immutable/chunks/BBesepuR.js.gz +0 -0
  430. package/build/client/_app/immutable/chunks/BY1C16HZ.js +0 -3
  431. package/build/client/_app/immutable/chunks/BY1C16HZ.js.br +0 -0
  432. package/build/client/_app/immutable/chunks/BY1C16HZ.js.gz +0 -0
  433. package/build/client/_app/immutable/chunks/BhOOgzoY.js +0 -1
  434. package/build/client/_app/immutable/chunks/BhOOgzoY.js.br +0 -0
  435. package/build/client/_app/immutable/chunks/BhOOgzoY.js.gz +0 -0
  436. package/build/client/_app/immutable/chunks/BnPVAF08.js +0 -7
  437. package/build/client/_app/immutable/chunks/BnPVAF08.js.br +0 -0
  438. package/build/client/_app/immutable/chunks/BnPVAF08.js.gz +0 -0
  439. package/build/client/_app/immutable/chunks/BoV2Cb3u.js +0 -3
  440. package/build/client/_app/immutable/chunks/BoV2Cb3u.js.br +0 -0
  441. package/build/client/_app/immutable/chunks/BoV2Cb3u.js.gz +0 -0
  442. package/build/client/_app/immutable/chunks/BxUfJDlK.js +0 -3
  443. package/build/client/_app/immutable/chunks/BxUfJDlK.js.br +0 -0
  444. package/build/client/_app/immutable/chunks/BxUfJDlK.js.gz +0 -0
  445. package/build/client/_app/immutable/chunks/CEqUfztC.js +0 -1
  446. package/build/client/_app/immutable/chunks/CEqUfztC.js.br +0 -0
  447. package/build/client/_app/immutable/chunks/CEqUfztC.js.gz +0 -0
  448. package/build/client/_app/immutable/chunks/CTPaAaT8.js +0 -1
  449. package/build/client/_app/immutable/chunks/CTPaAaT8.js.br +0 -0
  450. package/build/client/_app/immutable/chunks/CTPaAaT8.js.gz +0 -0
  451. package/build/client/_app/immutable/chunks/CidiHe2w.js +0 -1
  452. package/build/client/_app/immutable/chunks/CidiHe2w.js.br +0 -0
  453. package/build/client/_app/immutable/chunks/CidiHe2w.js.gz +0 -0
  454. package/build/client/_app/immutable/chunks/CjpC_avs.js +0 -1
  455. package/build/client/_app/immutable/chunks/CjpC_avs.js.br +0 -0
  456. package/build/client/_app/immutable/chunks/CjpC_avs.js.gz +0 -0
  457. package/build/client/_app/immutable/chunks/CqTNazs8.js +0 -3
  458. package/build/client/_app/immutable/chunks/CqTNazs8.js.br +0 -0
  459. package/build/client/_app/immutable/chunks/CqTNazs8.js.gz +0 -0
  460. package/build/client/_app/immutable/chunks/Cv8vU_7G.js +0 -1
  461. package/build/client/_app/immutable/chunks/Cv8vU_7G.js.br +0 -0
  462. package/build/client/_app/immutable/chunks/Cv8vU_7G.js.gz +0 -0
  463. package/build/client/_app/immutable/chunks/D0W-yI5k.js +0 -1
  464. package/build/client/_app/immutable/chunks/D0W-yI5k.js.br +0 -0
  465. package/build/client/_app/immutable/chunks/D0W-yI5k.js.gz +0 -0
  466. package/build/client/_app/immutable/chunks/D2UqGNPw.js +0 -4
  467. package/build/client/_app/immutable/chunks/D2UqGNPw.js.br +0 -0
  468. package/build/client/_app/immutable/chunks/D2UqGNPw.js.gz +0 -0
  469. package/build/client/_app/immutable/chunks/D3m3qs9L.js +0 -5
  470. package/build/client/_app/immutable/chunks/D3m3qs9L.js.br +0 -0
  471. package/build/client/_app/immutable/chunks/D3m3qs9L.js.gz +0 -0
  472. package/build/client/_app/immutable/chunks/D5k4wnt7.js +0 -1
  473. package/build/client/_app/immutable/chunks/D5k4wnt7.js.br +0 -0
  474. package/build/client/_app/immutable/chunks/D5k4wnt7.js.gz +0 -0
  475. package/build/client/_app/immutable/chunks/DN2Bw8XE.js +0 -1
  476. package/build/client/_app/immutable/chunks/DN2Bw8XE.js.br +0 -0
  477. package/build/client/_app/immutable/chunks/DN2Bw8XE.js.gz +0 -0
  478. package/build/client/_app/immutable/chunks/DWJRIYp5.js +0 -1
  479. package/build/client/_app/immutable/chunks/DWJRIYp5.js.br +0 -0
  480. package/build/client/_app/immutable/chunks/DWJRIYp5.js.gz +0 -0
  481. package/build/client/_app/immutable/chunks/DZhEGM3P.js +0 -2
  482. package/build/client/_app/immutable/chunks/DZhEGM3P.js.br +0 -0
  483. package/build/client/_app/immutable/chunks/DZhEGM3P.js.gz +0 -0
  484. package/build/client/_app/immutable/chunks/De08PyIM.js +0 -2
  485. package/build/client/_app/immutable/chunks/De08PyIM.js.br +0 -0
  486. package/build/client/_app/immutable/chunks/De08PyIM.js.gz +0 -0
  487. package/build/client/_app/immutable/chunks/DgeYJw1V.js +0 -8
  488. package/build/client/_app/immutable/chunks/DgeYJw1V.js.br +0 -0
  489. package/build/client/_app/immutable/chunks/DgeYJw1V.js.gz +0 -0
  490. package/build/client/_app/immutable/chunks/ZFly2pmD.js +0 -6
  491. package/build/client/_app/immutable/chunks/ZFly2pmD.js.br +0 -0
  492. package/build/client/_app/immutable/chunks/ZFly2pmD.js.gz +0 -0
  493. package/build/client/_app/immutable/chunks/_sdkObeO.js +0 -1
  494. package/build/client/_app/immutable/chunks/_sdkObeO.js.br +0 -1
  495. package/build/client/_app/immutable/chunks/_sdkObeO.js.gz +0 -0
  496. package/build/client/_app/immutable/chunks/v1_0RI9s.js +0 -1
  497. package/build/client/_app/immutable/chunks/v1_0RI9s.js.br +0 -0
  498. package/build/client/_app/immutable/chunks/v1_0RI9s.js.gz +0 -0
  499. package/build/client/_app/immutable/chunks/yLS4MyUX.js +0 -7
  500. package/build/client/_app/immutable/chunks/yLS4MyUX.js.br +0 -0
  501. package/build/client/_app/immutable/chunks/yLS4MyUX.js.gz +0 -0
  502. package/build/client/_app/immutable/entry/app.DHcKVmKY.js +0 -2
  503. package/build/client/_app/immutable/entry/app.DHcKVmKY.js.br +0 -0
  504. package/build/client/_app/immutable/entry/app.DHcKVmKY.js.gz +0 -0
  505. package/build/client/_app/immutable/entry/start.Pwknkd-J.js +0 -1
  506. package/build/client/_app/immutable/entry/start.Pwknkd-J.js.br +0 -0
  507. package/build/client/_app/immutable/entry/start.Pwknkd-J.js.gz +0 -0
  508. package/build/client/_app/immutable/nodes/0.d_V6I31n.js +0 -9
  509. package/build/client/_app/immutable/nodes/0.d_V6I31n.js.br +0 -0
  510. package/build/client/_app/immutable/nodes/0.d_V6I31n.js.gz +0 -0
  511. package/build/client/_app/immutable/nodes/1.BHMHInUO.js +0 -1
  512. package/build/client/_app/immutable/nodes/1.BHMHInUO.js.br +0 -0
  513. package/build/client/_app/immutable/nodes/1.BHMHInUO.js.gz +0 -0
  514. package/build/client/_app/immutable/nodes/10.BSyzQxNk.js +0 -10
  515. package/build/client/_app/immutable/nodes/10.BSyzQxNk.js.br +0 -0
  516. package/build/client/_app/immutable/nodes/10.BSyzQxNk.js.gz +0 -0
  517. package/build/client/_app/immutable/nodes/11.Cj3IvJeL.js +0 -9
  518. package/build/client/_app/immutable/nodes/11.Cj3IvJeL.js.br +0 -0
  519. package/build/client/_app/immutable/nodes/11.Cj3IvJeL.js.gz +0 -0
  520. package/build/client/_app/immutable/nodes/12.Cq63mXMK.js +0 -3
  521. package/build/client/_app/immutable/nodes/12.Cq63mXMK.js.br +0 -0
  522. package/build/client/_app/immutable/nodes/12.Cq63mXMK.js.gz +0 -0
  523. package/build/client/_app/immutable/nodes/13.BUbIjJfF.js +0 -2
  524. package/build/client/_app/immutable/nodes/13.BUbIjJfF.js.br +0 -0
  525. package/build/client/_app/immutable/nodes/13.BUbIjJfF.js.gz +0 -0
  526. package/build/client/_app/immutable/nodes/14.Ddky97Wb.js +0 -6
  527. package/build/client/_app/immutable/nodes/14.Ddky97Wb.js.br +0 -0
  528. package/build/client/_app/immutable/nodes/14.Ddky97Wb.js.gz +0 -0
  529. package/build/client/_app/immutable/nodes/15.B4xWeGxa.js +0 -1
  530. package/build/client/_app/immutable/nodes/15.B4xWeGxa.js.br +0 -0
  531. package/build/client/_app/immutable/nodes/15.B4xWeGxa.js.gz +0 -0
  532. package/build/client/_app/immutable/nodes/16.LQrwVbEB.js +0 -10
  533. package/build/client/_app/immutable/nodes/16.LQrwVbEB.js.br +0 -0
  534. package/build/client/_app/immutable/nodes/16.LQrwVbEB.js.gz +0 -0
  535. package/build/client/_app/immutable/nodes/17.DYmttVYk.js +0 -1
  536. package/build/client/_app/immutable/nodes/17.DYmttVYk.js.br +0 -0
  537. package/build/client/_app/immutable/nodes/17.DYmttVYk.js.gz +0 -0
  538. package/build/client/_app/immutable/nodes/18.B2MYLx89.js +0 -3
  539. package/build/client/_app/immutable/nodes/18.B2MYLx89.js.br +0 -0
  540. package/build/client/_app/immutable/nodes/18.B2MYLx89.js.gz +0 -0
  541. package/build/client/_app/immutable/nodes/19.DXwfInRR.js +0 -1
  542. package/build/client/_app/immutable/nodes/19.DXwfInRR.js.br +0 -0
  543. package/build/client/_app/immutable/nodes/19.DXwfInRR.js.gz +0 -0
  544. package/build/client/_app/immutable/nodes/2.F5N7XU8C.js +0 -28
  545. package/build/client/_app/immutable/nodes/2.F5N7XU8C.js.br +0 -0
  546. package/build/client/_app/immutable/nodes/2.F5N7XU8C.js.gz +0 -0
  547. package/build/client/_app/immutable/nodes/20.SAWcBx0p.js +0 -14
  548. package/build/client/_app/immutable/nodes/20.SAWcBx0p.js.br +0 -0
  549. package/build/client/_app/immutable/nodes/20.SAWcBx0p.js.gz +0 -0
  550. package/build/client/_app/immutable/nodes/21.D6qFz2sa.js +0 -150
  551. package/build/client/_app/immutable/nodes/21.D6qFz2sa.js.br +0 -0
  552. package/build/client/_app/immutable/nodes/21.D6qFz2sa.js.gz +0 -0
  553. package/build/client/_app/immutable/nodes/22.tV2rJSEI.js +0 -3
  554. package/build/client/_app/immutable/nodes/22.tV2rJSEI.js.br +0 -0
  555. package/build/client/_app/immutable/nodes/22.tV2rJSEI.js.gz +0 -0
  556. package/build/client/_app/immutable/nodes/23.DuW8-oym.js +0 -2
  557. package/build/client/_app/immutable/nodes/23.DuW8-oym.js.br +0 -0
  558. package/build/client/_app/immutable/nodes/23.DuW8-oym.js.gz +0 -0
  559. package/build/client/_app/immutable/nodes/24.CnP1JJLb.js +0 -25
  560. package/build/client/_app/immutable/nodes/24.CnP1JJLb.js.br +0 -0
  561. package/build/client/_app/immutable/nodes/24.CnP1JJLb.js.gz +0 -0
  562. package/build/client/_app/immutable/nodes/25.DeEfy92d.js +0 -5
  563. package/build/client/_app/immutable/nodes/25.DeEfy92d.js.br +0 -0
  564. package/build/client/_app/immutable/nodes/25.DeEfy92d.js.gz +0 -0
  565. package/build/client/_app/immutable/nodes/26.D-8mzx-R.js +0 -18
  566. package/build/client/_app/immutable/nodes/26.D-8mzx-R.js.br +0 -0
  567. package/build/client/_app/immutable/nodes/26.D-8mzx-R.js.gz +0 -0
  568. package/build/client/_app/immutable/nodes/28.C2P7oxne.js +0 -4
  569. package/build/client/_app/immutable/nodes/28.C2P7oxne.js.br +0 -0
  570. package/build/client/_app/immutable/nodes/28.C2P7oxne.js.gz +0 -0
  571. package/build/client/_app/immutable/nodes/3.ucJ0Pz2c.js +0 -2
  572. package/build/client/_app/immutable/nodes/3.ucJ0Pz2c.js.br +0 -0
  573. package/build/client/_app/immutable/nodes/3.ucJ0Pz2c.js.gz +0 -0
  574. package/build/client/_app/immutable/nodes/30.CEgnqL0a.js +0 -6
  575. package/build/client/_app/immutable/nodes/30.CEgnqL0a.js.br +0 -0
  576. package/build/client/_app/immutable/nodes/30.CEgnqL0a.js.gz +0 -0
  577. package/build/client/_app/immutable/nodes/31.BYFAiOJd.js +0 -8
  578. package/build/client/_app/immutable/nodes/31.BYFAiOJd.js.br +0 -0
  579. package/build/client/_app/immutable/nodes/31.BYFAiOJd.js.gz +0 -0
  580. package/build/client/_app/immutable/nodes/32.BkVMo3VQ.js +0 -2
  581. package/build/client/_app/immutable/nodes/32.BkVMo3VQ.js.br +0 -0
  582. package/build/client/_app/immutable/nodes/32.BkVMo3VQ.js.gz +0 -0
  583. package/build/client/_app/immutable/nodes/33.DRQLqVjL.js +0 -5
  584. package/build/client/_app/immutable/nodes/33.DRQLqVjL.js.br +0 -0
  585. package/build/client/_app/immutable/nodes/33.DRQLqVjL.js.gz +0 -0
  586. package/build/client/_app/immutable/nodes/34.DTI61C_T.js +0 -4
  587. package/build/client/_app/immutable/nodes/34.DTI61C_T.js.br +0 -0
  588. package/build/client/_app/immutable/nodes/34.DTI61C_T.js.gz +0 -0
  589. package/build/client/_app/immutable/nodes/35.-X5S6mPa.js +0 -3
  590. package/build/client/_app/immutable/nodes/35.-X5S6mPa.js.br +0 -0
  591. package/build/client/_app/immutable/nodes/35.-X5S6mPa.js.gz +0 -0
  592. package/build/client/_app/immutable/nodes/36.jtWdNkRT.js +0 -7
  593. package/build/client/_app/immutable/nodes/36.jtWdNkRT.js.br +0 -0
  594. package/build/client/_app/immutable/nodes/36.jtWdNkRT.js.gz +0 -0
  595. package/build/client/_app/immutable/nodes/37.BL9MLXZv.js +0 -2
  596. package/build/client/_app/immutable/nodes/37.BL9MLXZv.js.br +0 -0
  597. package/build/client/_app/immutable/nodes/37.BL9MLXZv.js.gz +0 -0
  598. package/build/client/_app/immutable/nodes/38.CMuF_Clt.js +0 -4
  599. package/build/client/_app/immutable/nodes/38.CMuF_Clt.js.br +0 -0
  600. package/build/client/_app/immutable/nodes/38.CMuF_Clt.js.gz +0 -0
  601. package/build/client/_app/immutable/nodes/39.tiSwGz1u.js +0 -7
  602. package/build/client/_app/immutable/nodes/39.tiSwGz1u.js.br +0 -0
  603. package/build/client/_app/immutable/nodes/39.tiSwGz1u.js.gz +0 -0
  604. package/build/client/_app/immutable/nodes/4.dUo8OlOh.js +0 -5
  605. package/build/client/_app/immutable/nodes/4.dUo8OlOh.js.br +0 -0
  606. package/build/client/_app/immutable/nodes/4.dUo8OlOh.js.gz +0 -0
  607. package/build/client/_app/immutable/nodes/40.Cvy3afVQ.js +0 -6
  608. package/build/client/_app/immutable/nodes/40.Cvy3afVQ.js.br +0 -0
  609. package/build/client/_app/immutable/nodes/40.Cvy3afVQ.js.gz +0 -0
  610. package/build/client/_app/immutable/nodes/41.CCo8O58Y.js +0 -23
  611. package/build/client/_app/immutable/nodes/41.CCo8O58Y.js.br +0 -0
  612. package/build/client/_app/immutable/nodes/41.CCo8O58Y.js.gz +0 -0
  613. package/build/client/_app/immutable/nodes/42.CBMdYvRk.js +0 -1
  614. package/build/client/_app/immutable/nodes/42.CBMdYvRk.js.br +0 -0
  615. package/build/client/_app/immutable/nodes/42.CBMdYvRk.js.gz +0 -0
  616. package/build/client/_app/immutable/nodes/44.CZPoIuC8.js +0 -6
  617. package/build/client/_app/immutable/nodes/44.CZPoIuC8.js.br +0 -0
  618. package/build/client/_app/immutable/nodes/44.CZPoIuC8.js.gz +0 -0
  619. package/build/client/_app/immutable/nodes/5.Dafp5GI5.js +0 -1
  620. package/build/client/_app/immutable/nodes/5.Dafp5GI5.js.br +0 -0
  621. package/build/client/_app/immutable/nodes/5.Dafp5GI5.js.gz +0 -0
  622. package/build/client/_app/immutable/nodes/6.BE696aJ4.js +0 -6
  623. package/build/client/_app/immutable/nodes/6.BE696aJ4.js.br +0 -0
  624. package/build/client/_app/immutable/nodes/6.BE696aJ4.js.gz +0 -0
  625. package/build/client/_app/immutable/nodes/9.DhQeTbmU.js +0 -3
  626. package/build/client/_app/immutable/nodes/9.DhQeTbmU.js.br +0 -0
  627. package/build/client/_app/immutable/nodes/9.DhQeTbmU.js.gz +0 -0
  628. package/build/server/chunks/chunks/ResizableRail.js-DWTZXucY.js +0 -708
  629. package/build/server/chunks/chunks/TaskView.js-Djh37gNV.js +0 -3029
  630. package/build/server/chunks/chunks/detail.js-DgGYGF6E.js +0 -149
  631. package/build/server/chunks/chunks/features.js-C0RFlCU9.js +0 -181
  632. package/build/server/chunks/chunks/feedback.js-C6iqEsPN.js +0 -67
  633. package/build/server/chunks/chunks/internal.js-DVvBSC2Y.js +0 -151
  634. package/build/server/chunks/chunks/livereview.js-BJxqrnBd.js +0 -261
  635. package/build/server/chunks/chunks/marketplace-service.js-rqq8C3T1.js +0 -557
  636. package/build/server/chunks/chunks/package.js-CVpRo49m.js +0 -160
  637. package/build/server/chunks/chunks/page.js-Zj6kzOqn.js +0 -13
  638. package/build/server/chunks/chunks/previewhelper.js-CUjqs8rl.js +0 -245
  639. package/build/server/chunks/chunks/previewhelper2.js-BfPvB6QX.js +0 -214
  640. package/build/server/chunks/chunks/repo.js-zZjENX9B.js +0 -33
  641. package/build/server/chunks/chunks/runtime.js-DcSUF_r8.js +0 -26530
  642. package/build/server/chunks/chunks/scribe.js-BwiXC-bJ.js +0 -1376
  643. package/build/server/chunks/chunks/service.js-D4yz0pF8.js +0 -1339
  644. package/build/server/chunks/chunks/service2.js-BzDKAz-w.js +0 -835
  645. package/build/server/chunks/chunks/service3.js-8zLUKBxg.js +0 -234
  646. package/build/server/chunks/chunks/sessions.js--Esog5VV.js +0 -534
  647. package/build/server/chunks/chunks/settings.js-D7vi6kH7.js +0 -379
  648. package/build/server/chunks/chunks/starter.js-JAh-nUu5.js +0 -400
  649. package/build/server/chunks/chunks/store.js-DHAfX_W5.js +0 -334
  650. package/build/server/chunks/chunks/tmux.js-8vQMGgvb.js +0 -504
  651. package/build/server/chunks/chunks/tools.js-BnmGImVp.js +0 -156
  652. package/build/server/chunks/chunks/uploads.js-B9xKVdU_.js +0 -107
  653. package/build/server/chunks/chunks/view.js-G_-xy6c3.js +0 -76
  654. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-B2J5-Jaz.js +0 -116
  655. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js--wAlyFki.js +0 -112
  656. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-BNkJb1Ei.js +0 -63
  657. package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-CE4ho2tR.js +0 -79
  658. package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-jEjvyX3L.js +0 -83
  659. package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-vYs_6t0J.js +0 -68
  660. package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-D6QVYL_4.js +0 -73
  661. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-BJ3Ravc8.js +0 -158
  662. package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-BEPV7YR2.js +0 -57
  663. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-BcZoObuM.js +0 -75
  664. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-CdU3fF0J.js +0 -111
  665. package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-XzPx-PzQ.js +0 -87
  666. package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-CzXJdEjR.js +0 -77
  667. package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-X5fNEQPZ.js +0 -70
  668. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-BS5jyhRw.js +0 -70
  669. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-DUhm2FN4.js +0 -71
  670. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-Dm129oxx.js +0 -77
  671. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-CZVuQvpx.js +0 -70
  672. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-CKJzfKIQ.js +0 -119
  673. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-rgQhLN38.js +0 -80
  674. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-E5Mf_VJv.js +0 -91
  675. package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-C4yUZjAY.js +0 -79
  676. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-B86FNiew.js +0 -70
  677. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-SINb4OzG.js +0 -32
  678. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-DALaQV6B.js +0 -40
  679. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-rJYpVlFE.js +0 -62
  680. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-D0Nr2g1y.js +0 -62
  681. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-CqTI0_pM.js +0 -89
  682. package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-VNW7HGOT.js +0 -87
  683. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-BU-5ub-I.js +0 -80
  684. package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-brrrZ6Zb.js +0 -172
  685. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-Dhw2YuZk.js +0 -62
  686. package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-Dfoof_SQ.js +0 -71
  687. package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-CJ1FKLLp.js +0 -72
  688. package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-DpCseNhF.js +0 -91
  689. package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-D4LS14N_.js +0 -72
  690. package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-oJKS0Y1M.js +0 -27
  691. package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-CiJNPYNd.js +0 -30
  692. package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-BvbgYeeF.js +0 -105
  693. package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-DF2XQ3CU.js +0 -74
  694. package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-CodtKfl8.js +0 -122
  695. package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-D1d85rzP.js +0 -76
  696. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-CC45m6Sr.js +0 -97
  697. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-DRZ8098M.js +0 -86
  698. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-BHVex3Sd.js +0 -81
  699. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-CXlTitlI.js +0 -78
  700. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-C-b29jqN.js +0 -27
  701. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-C_DJ_pLg.js +0 -85
  702. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-xnGpQeHD.js +0 -39
  703. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-zMwJlAc8.js +0 -62
  704. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-44pVKE3k.js +0 -39
  705. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-DWkAJEde.js +0 -42
  706. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-C-d6SYqR.js +0 -67
  707. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-BrosK67i.js +0 -76
  708. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-otCGnd88.js +0 -73
  709. package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-BjoKSVe1.js +0 -77
  710. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-DX72RZRk.js +0 -27
  711. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-CzlxdvlD.js +0 -86
  712. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-DZj1G9bN.js +0 -67
  713. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-C5UJ7mLX.js +0 -76
  714. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-ClT0DY2-.js +0 -88
  715. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-BPJkenRn.js +0 -75
  716. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-Djs5J_D0.js +0 -98
  717. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-CH-_wkku.js +0 -81
  718. package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-BGqL9IgY.js +0 -476
  719. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-CZy6ifJ_.js +0 -92
  720. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-B_SZ7MPW.js +0 -71
  721. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-4zkQC71I.js +0 -81
  722. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-CQ1vZ3MD.js +0 -141
  723. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-B78jOuRe.js +0 -70
  724. package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-DZv8AryD.js +0 -84
  725. package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-fIpsUXJq.js +0 -70
  726. package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-BGaAEIbl.js +0 -73
  727. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-ksbo_110.js +0 -67
  728. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-DkY1Gc2u.js +0 -86
  729. package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-KhbknjpT.js +0 -113
  730. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-CViAXfb1.js +0 -79
  731. package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-gDOC8B1N.js +0 -108
  732. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-D3Q8zW0q.js +0 -127
  733. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-DIqci-Ed.js +0 -82
  734. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-BybuPQi8.js +0 -84
  735. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-oWGGEMWD.js +0 -85
  736. package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-_OAduKHo.js +0 -24
  737. package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-yAP1YQDd.js +0 -31
  738. package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-D_ecs712.js +0 -33
  739. package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-D1Z78xWD.js +0 -97
  740. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-BBFI9Moo.js +0 -40
  741. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-vAklFRiS.js +0 -27
  742. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-DJsAgBb2.js +0 -27
  743. package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-CyCBaAZh.js +0 -78
  744. package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-CJgWNPC3.js +0 -68
  745. package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-zG5FVAtZ.js +0 -75
  746. package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-DX_RntZ9.js +0 -87
  747. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-CQOH8Ec_.js +0 -66
  748. package/build/server/chunks/entries/hooks.server.js-_T8-2Tdu.js +0 -108
  749. package/build/server/chunks/entries/pages/_layout.server.ts.js-BDFW8AE9.js +0 -55
  750. package/build/server/chunks/entries/pages/_layout.svelte.js-DsvCGNUI.js +0 -6023
  751. package/build/server/chunks/entries/pages/_page.server.ts.js-CQdBzftA.js +0 -16
  752. package/build/server/chunks/entries/pages/_page.svelte.js-Er6DIvYo.js +0 -4886
  753. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-CmIcdp1K.js +0 -14
  754. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-CP46-bdg.js +0 -16
  755. package/build/server/chunks/entries/pages/documents/_page.server.ts.js-DoRczVBi.js +0 -15
  756. package/build/server/chunks/entries/pages/files/_page.server.ts.js-CZ5J1a0b.js +0 -17
  757. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-B-dJ56_o.js +0 -11
  758. package/build/server/chunks/entries/pages/health/_page.server.ts.js-FCGMZnS0.js +0 -16
  759. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-C1IMl0G3.js +0 -18
  760. package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-CvH6UZxP.js +0 -18
  761. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-DYwy2QGP.js +0 -16
  762. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-CdqA3d8R.js +0 -23
  763. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-Dgc8jz0C.js +0 -21
  764. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-BHxIGyYx.js +0 -27
  765. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-BeGIXTTQ.js +0 -15
  766. package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-BxSyKg7G.js +0 -25
  767. package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-WjfloLST.js +0 -37
  768. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-BHC_zI7E.js +0 -11
  769. package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-CXlEidtY.js +0 -13
  770. package/build/server/chunks/entries/pages/settings/_page.server.ts.js-DbVvZoJ2.js +0 -12
  771. package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-C6gVOPBz.js +0 -18
  772. package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-C28nfj0b.js +0 -19
  773. package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-DD6wxYn3.js +0 -16
  774. package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-D9mUpzeB.js +0 -15
  775. package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-w65a8vFY.js +0 -797
  776. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-Cf9cF9Bz.js +0 -11
  777. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-Cp-xHYfh.js +0 -19
  778. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-B0Yf6JFN.js +0 -17
  779. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-DlITF4bJ.js +0 -11
  780. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-BnmlV12r.js +0 -11
  781. package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-Db7HqVFS.js +0 -15
  782. package/build/server/chunks/entries/pages/settings/voice/_page.svelte.js-qEc5nPtP.js +0 -178
  783. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-BipeV31Z.js +0 -18
  784. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-DHH6191x.js +0 -36
  785. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-BLYEV0pM.js +0 -121
  786. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-DdNVejxy.js +0 -24
  787. package/build/server/chunks/entries/pages/time/_page.server.ts.js-C6_FcMaS.js +0 -11
  788. package/build/server/chunks/handler-DHfoWPhz.js +0 -1474
  789. package/build/server/chunks/index.js-B6Yr1yas.js +0 -4296
  790. package/build/server/chunks/manifest.js-royf2dM1.js +0 -1050
  791. package/build/server/chunks/nodes/0.js-Dv68eeJF.js +0 -69
  792. package/build/server/chunks/nodes/1.js-Bxx2N9rK.js +0 -9
  793. package/build/server/chunks/nodes/10.js-zqhC3nkd.js +0 -67
  794. package/build/server/chunks/nodes/11.js-DTii3QXJ.js +0 -69
  795. package/build/server/chunks/nodes/12.js-C7XBevXO.js +0 -68
  796. package/build/server/chunks/nodes/13.js-CdiONLGC.js +0 -69
  797. package/build/server/chunks/nodes/14.js-Jv0pUrsU.js +0 -12
  798. package/build/server/chunks/nodes/15.js-Dbq_BT7w.js +0 -9
  799. package/build/server/chunks/nodes/16.js-DxoDzZTm.js +0 -9
  800. package/build/server/chunks/nodes/17.js-mUmz_n5H.js +0 -67
  801. package/build/server/chunks/nodes/18.js-uI_lyO4m.js +0 -70
  802. package/build/server/chunks/nodes/19.js-DOjvikEu.js +0 -68
  803. package/build/server/chunks/nodes/2.js-CsyDQ9CR.js +0 -67
  804. package/build/server/chunks/nodes/20.js-BhZ3mJKX.js +0 -69
  805. package/build/server/chunks/nodes/21.js-B5qpuRmg.js +0 -68
  806. package/build/server/chunks/nodes/22.js-DIBxNE7D.js +0 -69
  807. package/build/server/chunks/nodes/23.js-_XdUJeXm.js +0 -69
  808. package/build/server/chunks/nodes/24.js-DFXLT-Ko.js +0 -25
  809. package/build/server/chunks/nodes/25.js-CubMvH_3.js +0 -25
  810. package/build/server/chunks/nodes/26.js-xEySzqTy.js +0 -9
  811. package/build/server/chunks/nodes/27.js-CqinYfdy.js +0 -25
  812. package/build/server/chunks/nodes/28.js-5W6qLa9a.js +0 -67
  813. package/build/server/chunks/nodes/3.js-wGSl8npu.js +0 -9
  814. package/build/server/chunks/nodes/30.js-CvU5RIda.js +0 -68
  815. package/build/server/chunks/nodes/31.js-Cc2URZTj.js +0 -67
  816. package/build/server/chunks/nodes/32.js-BzCsYJ2M.js +0 -25
  817. package/build/server/chunks/nodes/33.js-CsNDupaq.js +0 -67
  818. package/build/server/chunks/nodes/34.js-tUO-53DO.js +0 -25
  819. package/build/server/chunks/nodes/35.js-CzPtBxQF.js +0 -22
  820. package/build/server/chunks/nodes/36.js-vG_Yz-ba.js +0 -67
  821. package/build/server/chunks/nodes/37.js-B_Wn1hwE.js +0 -70
  822. package/build/server/chunks/nodes/38.js-DJipjIA8.js +0 -69
  823. package/build/server/chunks/nodes/39.js-BZ83h5TG.js +0 -26
  824. package/build/server/chunks/nodes/4.js-ueU4Ep-j.js +0 -68
  825. package/build/server/chunks/nodes/40.js-nFgIGStD.js +0 -69
  826. package/build/server/chunks/nodes/41.js-Dfq_Yre5.js +0 -71
  827. package/build/server/chunks/nodes/42.js-Cb-ls2O-.js +0 -68
  828. package/build/server/chunks/nodes/43.js-CL7RkfbH.js +0 -68
  829. package/build/server/chunks/nodes/44.js-BxrjdnVk.js +0 -67
  830. package/build/server/chunks/nodes/5.js-BsbkF-v-.js +0 -67
  831. package/build/server/chunks/nodes/6.js-TEqG30Pn.js +0 -67
  832. package/build/server/chunks/nodes/8.js-CMqXiMJ-.js +0 -67
  833. package/build/server/chunks/nodes/9.js-D53SUe7a.js +0 -14
@@ -0,0 +1,3 @@
1
+ import{w as O,v as U,X as A,ai as N,b9 as P,d as l,i as c,k as u,e as y}from"./Jk-ASPRO.js";import"./DsnmJJEf.js";import{s as C,r as M}from"./DQWg__9S.js";import{I as F}from"./DE0e4nJ8.js";import{p as q}from"./CWXMOoE5.js";import{a as D}from"./BdjCJ4uL.js";import{s as E}from"./Cw6Vodkk.js";import{S as b}from"./BXN538J3.js";function at(a,t,e){O(()=>{var s=U(()=>t(a,e?.())||{});if(e&&s?.update){var i=!1,n={};A(()=>{var r=e();N(r),i&&P(n,r)&&(n=r,s.update(r))}),i=!0}if(s?.destroy)return()=>s.destroy()})}var j=new Set(["$$slots","$$events","$$legacy"]);function ht(a,t){let e=M(t,j);const s={name:"crosshair",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18"}]]};F(a,C(()=>e,{get icon(){return s}}))}var _=new Set(["$$slots","$$events","$$legacy"]);function lt(a,t){let e=M(t,_);const s={name:"mic",size:24,node:[["path",{d:"M12 19v3"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3"}]]};F(a,C(()=>e,{get icon(){return s}}))}const ct=["must","should","could","none"],B={must:"Must fix",should:"Should fix",could:"Could do",none:"Keep"},L=8e3,k=a=>a.replace(/\s+/g," ").trim();function m(a){const t=Math.max(0,Math.round(a/1e3));return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}const w=(a,t)=>`${a} ${t}${a===1?"":"s"}`,W=/\b(this|here|that one|these)\b/i;function G(a,t,e,s,i){const n=a.filter(o=>(o.type==="click"||o.type==="input"||o.type==="choose"||o.type==="mark")&&o.t>=e-L&&o.t<=s).pop()??null,r=n?.type!=="mark"&&W.test(t)&&i&&n&&i.t>n.t+400&&i.selector!==n.el?.selector;return n&&!r?{ev:n}:{pointing:i??null}}function $(a,t){const e=s=>a.find(i=>i.id===s)?.label??"";return[...a.map(s=>({t:s.t,s:`${s.id} ${m(s.t)} ${s.label}${s.type!=="nav"&&s.page?` (on ${s.page})`:""}`})),...t.map(s=>({t:s.t0,s:`${s.id} ${m(s.t0)}–${m(s.t1)} captain said: “${s.text}”${s.anchor?` [about ${s.anchor}: ${e(s.anchor)}]`:""}${s.pointing?` [pointing at ${s.pointing.label}]`:""} (on ${s.page})`}))].sort((s,i)=>s.t-i.t).map(s=>s.s).slice(-160)}function H(a){const t=a.split(/[.(]|, (?:that|which|so|and)\b/)[0].trim();return t.length<=64?t:t.slice(0,64).replace(/\s+\S*$/,"")+"…"}function Q(a,t,e){const s=t.text.toLowerCase(),i=/\b(love|like|nice|great|good|perfect)\b/.test(s)&&!/\bnot\b/.test(s)?"praise":/\?|\bwhy\b|\bnot sure\b/.test(s)?"question":/\b(broken|bug|error|doesn'?t|does not|can'?t|wrong|fails?|nothing happens|confus)/.test(s)?"problem":/\b(maybe|could|would be nice|idea|what if)\b/.test(s)?"idea":"change",n=t.text.charAt(0).toUpperCase()+t.text.slice(1);return{id:a,kind:i,severity:i==="praise"?"none":i==="problem"?"must":i==="idea"?"could":"should",text:`${n}${e?` (about ${e} on ${t.page})`:` (on ${t.page})`}`,quote:t.text,anchor:t.anchor??"",utterances:[t.id]}}const K=a=>/\?\s*$|^(what|how|why|where|when|can you|could you|is this|does|do i|which)\b/i.test(a.trim());function V(a,t){return{summary:a.length?`The captain reviewed ${t.title} for ${m(t.duration)} and raised ${w(a.length,"point")}.`:"Nothing was raised in this session, so there is nothing to pass on yet.",issues:a.map(e=>({title:H(e.text),detail:e.text,severity:e.severity,kind:e.kind,notes:[e.id],anchor:e.anchor,quote:e.quote})),openQuestions:[]}}function J(a,t,e,s,i){const n=[`Preview feedback for ${a.id} (${k(a.title)}), sent together from the Preview tab (${t}):`,`Live review session: ${m(e.duration)}, ${w(e.remarks,"remark")}, ${w(e.clicks,"click")}, ${w(e.pages,"page")}. ${k(s.summary)}`,"The captain requests these changes: the preview is not approved yet."];return s.lines.forEach((r,o)=>{n.push(`${o+1}. [${B[r.severity]}] ${k(r.title)}. ${k(r.detail)}`),r.where&&n.push(` Points at: ${k(r.where)}`),r.quote&&n.push(` Captain said${r.at?` (${r.at})`:""}: “${k(r.quote)}”`),r.shot&&n.push(` Screenshot: ${r.shot}`)}),s.errors.length&&n.push("","Seen on the page during the session:",...s.errors.map(r=>`- ${r}`)),s.openQuestions.length&&n.push("","Open questions for the captain:",...s.openQuestions.map(r=>`- ${r}`)),i&&n.push("",`The whole session (every click, page, remark and screenshot): ${i}`),n.push("","Firstmate: pass these to this task’s worker, the same task (start no new one). You may add notes of your own, marked as yours."),n.join(`
2
+ `)}function z(a,t,e){const s=[`Preview approved for ${a.id} (${k(a.title)}): the captain reviewed the preview (${t}) and approves it.`,"This is the captain’s go for its pull request: land it under this project’s rules."];return e.length&&s.push("","Notes the captain took (not blocking):",...e.map(i=>`- ${k(i)}`)),s.join(`
3
+ `)}const ut=()=>q.data.features?.livereview===!0&&!D.remote&&!D.hosted,pt=(a,t=location.pathname+location.search)=>`/tasks/${encodeURIComponent(a)}/live?back=${encodeURIComponent(t)}`,Y=260,X=450;function R(){const a=globalThis;return a.SpeechRecognition??a.webkitSpeechRecognition??null}const v=a=>{const t=URL.parse(a??"");return t?t.pathname+t.hash||"/":a||"/"};class dt{taskId;title;token;previewUrl="";#t=l(null);get problem(){return c(this.#t)}set problem(t){u(this.#t,t,!0)}#e=l(!1);get on(){return c(this.#e)}set on(t){u(this.#e,t,!0)}#s=l(!1);get paused(){return c(this.#s)}set paused(t){u(this.#s,t,!0)}started=0;#i=l(0);get now(){return c(this.#i)}set now(t){u(this.#i,t,!0)}#n=l("talk");get mode(){return c(this.#n)}set mode(t){u(this.#n,t,!0)}#r=l("note");get sendAs(){return c(this.#r)}set sendAs(t){u(this.#r,t,!0)}#o=l(!0);get speak(){return c(this.#o)}set speak(t){u(this.#o,t,!0)}#a=l(!0);get mask(){return c(this.#a)}set mask(t){u(this.#a,t,!0)}#h=l(!0);get shootClicks(){return c(this.#h)}set shootClicks(t){u(this.#h,t,!0)}#l=l(y([]));get events(){return c(this.#l)}set events(t){u(this.#l,t,!0)}#c=l(y([]));get remarks(){return c(this.#c)}set remarks(t){u(this.#c,t,!0)}#u=l(y([]));get notes(){return c(this.#u)}set notes(t){u(this.#u,t,!0)}#p=l(y([]));get convo(){return c(this.#p)}set convo(t){u(this.#p,t,!0)}#d=l({});get shots(){return c(this.#d)}set shots(t){u(this.#d,t)}#f=l(y([]));get fresh(){return c(this.#f)}set fresh(t){u(this.#f,t,!0)}#g=l("");get heard(){return c(this.#g)}set heard(t){u(this.#g,t,!0)}#k=l("/");get page(){return c(this.#k)}set page(t){u(this.#k,t,!0)}#m=l(!1);get talking(){return c(this.#m)}set talking(t){u(this.#m,t,!0)}#y=l(!1);get locked(){return c(this.#y)}set locked(t){u(this.#y,t,!0)}#v=l(null);get hearing(){return c(this.#v)}set hearing(t){u(this.#v,t,!0)}#w=l(null);get scribeSays(){return c(this.#w)}set scribeSays(t){u(this.#w,t,!0)}#b=l(!1);get notesBusy(){return c(this.#b)}set notesBusy(t){u(this.#b,t,!0)}#$=l(!1);get replyBusy(){return c(this.#$)}set replyBusy(t){u(this.#$,t,!0)}#S=l(!1);get speaking(){return c(this.#S)}set speaking(t){u(this.#S,t,!0)}#x=l(null);get notice(){return c(this.#x)}set notice(t){u(this.#x,t,!0)}#I=l(null);get pack(){return c(this.#I)}set pack(t){u(this.#I,t,!0)}#T=l(!1);get marking(){return c(this.#T)}set marking(t){u(this.#T,t,!0)}#D=l(!1);get picking(){return c(this.#D)}set picking(t){u(this.#D,t,!0)}#E=l(null);get picked(){return c(this.#E)}set picked(t){u(this.#E,t,!0)}#R=l(null);get approved(){return c(this.#R)}set approved(t){u(this.#R,t,!0)}#C=l(!1);get approving(){return c(this.#C)}set approving(t){u(this.#C,t,!0)}canHear=R()!==null;peer=null;origin="";hover=null;pageText=null;ev=0;ut=0;sh=0;lastShotAt=0;rec=null;cur=null;pressAt=0;lastTap=0;chord=!1;quietEnd=!1;notesAgain=!1;replyNext=null;outlinedCache=new Map;clock=null;player=null;sayGen=0;constructor(t,e){this.taskId=t.id,this.title=t.title,this.token=e}async call(t){try{const e=await fetch(`/api/tasks/${encodeURIComponent(this.taskId)}/livereview`,{method:"POST",headers:{"content-type":"application/json",[b]:this.token},body:JSON.stringify(t)}),s=await e.json().catch(()=>null);return!e.ok||!s?{ok:!1,error:s?.message??`Wheelhouse answered ${e.status}.`}:{ok:!0,value:s}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}connect(t,e,s){this.peer=t,this.origin=e,this.previewUrl=s}toFrame(t){this.origin&&this.peer?.postMessage({__wh:1,...t},this.origin)}get elapsed(){return this.on?this.now-this.started:0}t(){return this.started?Date.now()-this.started:0}get canDone(){return!this.pack&&(this.on||this.remarks.length>0)}start(){this.on=!0,this.paused=!1,this.started=Date.now(),this.now=this.started,this.clock=setInterval(()=>this.now=Date.now(),1e3),this.addEvent({type:"start",label:`Started on ${this.page}`}),this.toFrame({type:"record",on:!0,mask:this.mask}),this.toFrame({type:"gettext"})}setPaused(t){!this.on||this.paused===t||(t&&this.stopTalking(),t&&this.marking&&this.mark(!1),this.paused=t,this.toFrame({type:"record",on:!t,mask:this.mask}),this.addEvent({type:"pause",label:t?"Paused the recording":"Carried on recording"}))}setMask(t){this.mask=t,this.on&&this.toFrame({type:"record",on:!this.paused,mask:t})}setMode(t){this.mode=t,t==="notes"&&this.hush()}close(){this.stopTalking(!0),this.marking&&this.mark(!1),this.hush(),this.toFrame({type:"record",on:!1}),this.on=!1,this.clock&&clearInterval(this.clock)}stopTalking(t=!1){this.locked&&(this.quietEnd=!0,this.locked=!1),this.talking&&this.release(t)}addEvent(t){const e={id:`e${++this.ev}`,t:this.t(),page:this.page,...t};return this.events.push(e),this.events[this.events.length-1]}receive(t){if(!this.peer||t.source!==this.peer||t.origin!==this.origin)return;const e=t.data;if(!(!e||e.__wh!==1)){if(e.type==="hello"){const s=this.on&&v(e.url)!==this.page;this.page=v(e.url),this.on&&(this.toFrame({type:"record",on:!this.paused,mask:this.mask}),s&&!this.paused&&this.addEvent({type:"nav",label:`Opened ${this.page}`}));return}if(e.type==="key")return this.frameKey(e);if(e.type==="marking"){this.marking=!!e.on;return}if(e.type==="picked"){this.picking=!1;const s=e.el??null;this.started||(this.started=Date.now()),this.picked=s?{el:s,shotId:this.shoot(s.selector,s.text)}:null;return}if(e.type==="mode"){this.sendAs=e.mode==="ask"?"ask":"note";return}if(e.type==="inline"){this.inline(e.el??null,e.said??"",e.mode==="ask"?"ask":"note");return}if(e.type==="text"){this.pageText={url:e.url??"",title:e.title??"",text:e.text??"",at:Date.now()};return}if(e.type==="shot"&&e.id){const s=this.shots[e.id];if(!s)return;this.shots={...this.shots,[e.id]:{...s,image:e.image??null,vw:e.vw??0,vh:e.vh??0,el:e.el??s.el,pending:!1}};return}if(!(!this.on||this.paused))switch(e.url&&(this.page=v(e.url)),e.type){case"click":{const s=this.addEvent({type:"click",label:`Clicked ${e.el?.label??"a spot on the page"}`,el:e.el??null});this.shootClicks&&Date.now()-this.lastShotAt>900&&(this.lastShotAt=Date.now(),setTimeout(()=>{s.shotId=this.shoot(e.el?.selector??null,e.el?.text??null,e.at?{...e.at,vw:e.vw??0}:null)},350));break}case"input":this.addEvent({type:"input",label:`Typed ${e.value?`“${e.value}”`:`${e.length??0} characters`} in ${e.el?.label??"a box"}`,el:e.el??null});break;case"choose":this.addEvent({type:"choose",label:`Set ${e.el?.label??"a choice"} to ${e.value}`,el:e.el??null});break;case"nav":this.addEvent({type:"nav",label:`Went to ${v(e.url)}`}),this.toFrame({type:"gettext"});break;case"scroll":{const s=this.events[this.events.length-1];s?.type==="scroll"&&this.t()-s.t<4e3?(s.label=`Scrolled to ${e.pct}%`,s.t=this.t()):this.addEvent({type:"scroll",label:`Scrolled to ${e.pct}%`});break}case"area":{if(!e.rect)break;const s={label:e.n?`marked area ${e.n}`:"the area you marked",text:"",tag:"area",selector:"",rect:e.rect},i=this.addEvent({type:"mark",label:`Marked ${s.label} on ${this.page}`,el:s});i.shotId=this.shoot(null,null,null,s);break}case"hover":this.hover=e.el?{...e.el,t:this.t()}:null;break;case"error":this.addEvent({type:"error",label:e.kind==="network"?`Request failed: ${e.message}`:`${e.kind==="console"?"Console error":"Error"}: ${e.message}`});break}}}shoot(t,e,s=null,i=null){const n=`s${++this.sh}`;return this.shots={...this.shots,[n]:{id:n,t:this.t(),image:null,vw:0,vh:0,el:i,point:s,pending:!0}},this.toFrame({type:"shoot",id:n,selector:t,text:e}),setTimeout(()=>{const r=this.shots[n];r?.pending&&(this.shots={...this.shots,[n]:{...r,pending:!1}})},8e3),n}outlined(t){const e=t?this.shots[t]:null;if(!e?.image)return Promise.resolve(null);const s=`${e.id}:${e.image.length}`,i=this.outlinedCache.get(s);if(i)return i;const n=new Promise(r=>{const o=new Image;o.onload=()=>{const p=document.createElement("canvas");p.width=o.width,p.height=o.height;const h=p.getContext("2d");if(!h)return r(e.image);h.drawImage(o,0,0);const d=o.width/(e.vw||o.width),g=e.el?.rect;if(g&&g.w>0){const f=6*d,[S,x,I,T]=[g.x*d-f,g.y*d-f,g.w*d+f*2,g.h*d+f*2];h.fillStyle="rgba(11,17,24,.38)",h.beginPath(),h.rect(0,0,p.width,p.height),h.roundRect(S,x,I,T,6*d),h.fill("evenodd"),h.strokeStyle="#e8b04a",h.lineWidth=Math.max(3,3*d),h.beginPath(),h.roundRect(S,x,I,T,6*d),h.stroke()}else if(e.point){const f=o.width/(e.point.vw||e.vw||o.width);h.strokeStyle="#e8b04a",h.lineWidth=Math.max(3,3*f),h.beginPath(),h.arc(e.point.x*f,e.point.y*f,16*f,0,Math.PI*2),h.stroke()}r(p.toDataURL("image/jpeg",.85))},o.onerror=()=>r(null),o.src=e.image});return this.outlinedCache.set(s,n),n}newHearing(){const t=this.hover&&this.t()-this.hover.t<2e4?{...this.hover}:null;return{t0:this.t(),t1:0,finals:"",interim:"",hover:t,shotId:this.shoot(t?.selector??null,t?.text??null),pointShot:null}}press(){!this.on||this.paused||this.talking||(this.talking=!0,this.pressAt=Date.now(),this.chord=!1,this.hush(),this.toFrame({type:"gettext"}),this.toFrame({type:"talking",on:!0}),this.cur=this.newHearing(),this.hearing={finals:"",interim:""},this.listen(this.cur))}pressHeld(){this.press(),this.pressAt=Date.now()-1e3}listen(t){const e=R();if(!e)return;const s=new e;s.lang=navigator.language||"en-GB",s.continuous=!0,s.interimResults=!0,this.rec=s;let i=t;s.onresult=n=>{let r="";for(let o=n.resultIndex;o<n.results.length;o++){const p=n.results[o];p.isFinal?(i.finals+=(i.finals?" ":"")+p[0].transcript.trim(),this.locked&&this.rec===s&&(i.interim="",i.t1=this.t(),this.finish(i),i=this.newHearing(),this.cur=i)):r+=p[0].transcript}i.interim=r,!i.pointShot&&this.hover&&/\b(this|here|that one|these)\b/i.test(`${i.finals} ${r}`)&&(i.hover={...this.hover},i.pointShot=this.shoot(this.hover.selector,this.hover.text)),this.talking&&this.cur===i&&(this.hearing={finals:i.finals,interim:i.interim})},s.onerror=n=>{n.error==="not-allowed"||n.error==="service-not-allowed"?this.notice="The microphone is blocked for this page. Type to the scribe instead.":n.error==="network"&&(this.notice="The browser’s speech service could not be reached. Type to the scribe instead.")},s.onend=()=>{if(this.talking&&this.locked&&this.rec===s){try{s.start()}catch{}return}this.rec===s&&(this.rec=null),this.finish(i)};try{s.start()}catch{this.notice="The browser would not start listening. Type to the scribe instead."}}release(t=!1){if(!this.talking||!this.cur)return;this.talking=!1,this.hearing=null,this.toFrame({type:"talking",on:!1});const e=this.rec,s=this.cur;this.rec=null,s.t1=this.t();const i=r=>{try{e?.[r]()}catch{}},n=Date.now()-this.pressAt;if(t||this.chord){s.dropped=!0,i("abort");return}if(!this.locked&&n<Y&&!s.finals&&!s.interim){s.dropped=!0,i("abort"),Date.now()-this.lastTap<X?(this.lastTap=0,this.setLocked(!0)):this.lastTap=Date.now();return}e?(i("stop"),setTimeout(()=>this.finish(s),2500)):this.finish(s)}setLocked(t){this.locked=t,t&&!this.talking?this.pressHeld():!t&&this.talking&&(this.quietEnd=!0,this.release())}keyDown(){if(this.on){if(this.locked)return this.setLocked(!1);this.pressHeld()}}keyUp(){this.on&&!this.locked&&this.release()}chorded(){this.talking&&!this.locked&&(this.chord=!0,this.release())}frameKey(t){t.key==="talk"?t.down?this.keyDown():this.keyUp():t.key==="chord"?this.chorded():t.key==="mark"?this.mark():t.key==="pick"&&this.pick(!this.picking)}finish(t){if(t.done||t.dropped)return;t.done=!0;const e=`${t.finals} ${t.interim}`.replace(/\s+/g," ").trim(),s=this.quietEnd;if(this.quietEnd=!1,!e){!s&&!this.locked&&(this.notice="Didn’t catch anything. Keep talking a little longer before you let go.");return}this.addRemark(e,t.t0,t.t1||this.t(),t.hover,t.pointShot??t.shotId)}mark(t=!this.marking){t&&(!this.on||this.paused)||(this.marking=t,this.toFrame({type:"mark",on:t}))}pick(t=!0){this.picking=t,this.toFrame({type:"pick",on:t})}comment(t){const e=t.trim();if(!e)return;this.started||(this.started=Date.now());const s=this.t(),i=this.picked,n={id:`u${++this.ut}`,t0:s,t1:s+600,text:e,page:this.page,anchor:null,pointing:i?.el??null,shotId:i?.shotId??this.shoot(null,null)};this.remarks.push(n),this.convo.push({who:"captain",text:e,t:s,uid:n.id}),this.picked=null,this.toFrame({type:"clear"}),this.on&&this.askNotes()}inline(t,e,s){const i=e.trim();if(!i||this.pack)return;if(s==="ask"&&this.paused){this.notice="Paused: carry on to ask the scribe.";return}const n=this.picked;this.started||(this.started=Date.now()),this.picked=t?{el:t,shotId:this.shoot(t.selector,t.text)}:null,s==="note"?this.comment(i):(this.on||this.start(),this.type(i)),this.picked=n}edit(t,e){const s=e.trim(),i=this.remarks.find(n=>n.id===t);if(!(!s||!i||this.pack||i.text===s)){i.text=s;for(const n of this.convo)n.uid===t&&n.who==="captain"&&(n.text=s);this.on&&this.askNotes()}}save(){const t=s=>JSON.stringify({v:1,on:this.on,paused:this.paused,started:this.started,mode:this.mode,speak:this.speak,mask:this.mask,shootClicks:this.shootClicks,page:this.page,events:this.events,remarks:this.remarks,notes:this.notes,convo:this.convo,shots:s?this.shots:Object.fromEntries(Object.entries(this.shots).map(([i,n])=>[i,{...n,image:null}])),pack:this.pack,picked:this.picked,approved:this.approved,counts:[this.ev,this.ut,this.sh]}),e=t(!0);return e.length<4e6?e:t(!1)}restore(t){let e=null;try{e=t?JSON.parse(t):null}catch{e=null}if(!e||e.v!==1)return;this.paused=!!e.paused,this.started=Number(e.started)||0,this.mode=e.mode==="notes"?"notes":"talk",this.speak=e.speak!==!1,this.mask=e.mask!==!1,this.shootClicks=e.shootClicks!==!1,this.page=typeof e.page=="string"?e.page:"/",this.events=e.events??[],this.remarks=e.remarks??[],this.notes=e.notes??[],this.convo=e.convo??[],this.shots=e.shots??{},this.pack=e.pack??null,this.pack&&(this.pack.sending=!1),this.picked=e.picked??null,this.approved=e.approved??null;const[s,i,n]=e.counts??[0,0,0];[this.ev,this.ut,this.sh]=[s||0,i||0,n||0],e.on&&(this.on=!0,this.now=Date.now(),this.clock=setInterval(()=>this.now=Date.now(),1e3))}type(t){const e=t.trim();if(!e||!this.on||this.paused)return;const s=this.t();this.toFrame({type:"gettext"});const i=this.hover;this.addRemark(e,s-1500,s,i,this.shoot(i?.selector??null,i?.text??null))}addRemark(t,e,s,i,n){const r=this.picked;this.picked=null;const o=r?{pointing:r.el}:G(this.events,t,e,s,i),p={id:`u${++this.ut}`,t0:e,t1:Math.max(s,e+600),text:t,page:this.page,anchor:"ev"in o?o.ev.id:null,pointing:"pointing"in o?o.pointing:null,shotId:r?r.shotId:"ev"in o&&o.ev.shotId?o.ev.shotId:n};this.remarks.push(p),this.convo.push({who:"captain",text:t,t:e,uid:p.id}),this.toFrame({type:"clear"}),this.heard="",this.askNotes(),this.mode==="talk"&&this.askReply(p)}about(t){const e=this.remarks.find(i=>t.utterances.includes(i.id)),s=this.events.find(i=>i.id===(t.anchor||e?.anchor));return{el:s?.el??e?.pointing??null,shotId:s?.shotId??e?.shotId??null,page:s?.page??e?.page??"",t:e?.t0??s?.t??0,clicked:!!s}}highlight(t){t&&this.toFrame({type:"highlight",selector:t})}async askNotes(){if(this.notesBusy){this.notesAgain=!0;return}this.notesBusy=!0,this.notesAgain=!1;const t=await this.call({action:"notes",timeline:$(this.events,this.remarks),notes:this.notes});if(this.notesBusy=!1,!!this.on){if(t.ok){const e=new Map(this.notes.map(s=>[s.id,s.text]));this.notes=t.value.notes,this.fresh=t.value.notes.filter(s=>e.get(s.id)!==s.text).map(s=>s.id),this.heard=t.value.heard}else this.notice=`The scribe could not take notes just then (${t.error}). It will try again with your next remark.`;this.notesAgain&&this.askNotes()}}async askReply(t){if(this.replyBusy){this.replyNext=t;return}this.replyBusy=!0;for(let i=0;i<6&&!(this.pageText&&Date.now()-this.pageText.at<15e3);i++)await new Promise(n=>setTimeout(n,100));const e=await this.call({action:"reply",said:t.text,page:this.pageText,timeline:$(this.events,this.remarks),notes:this.notes.map(i=>i.text),convo:this.convo.filter(i=>i.uid!==t.id||i.who==="scribe").map(({who:i,text:n})=>({who:i,text:n}))});if(this.replyBusy=!1,!this.on)return;const s=this.replyNext;if(this.replyNext=null,s)return void this.askReply(s);e.ok&&e.value.reply?(this.convo.push({who:"scribe",text:e.value.reply,t:this.t(),uid:t.id}),this.say(e.value.reply)):e.ok||this.convo.push({who:"scribe",text:`I couldn’t answer just then (${e.error}) but I noted what you said.`,t:this.t(),uid:t.id,error:!0})}say(t){this.scribeSays=t,this.stopVoice();const e=globalThis.speechSynthesis;if(!this.speak){setTimeout(()=>{this.scribeSays===t&&(this.scribeSays=null)},Math.max(4e3,t.split(" ").length*380));return}const s=this.sayGen,i=()=>{this.speaking=!1,setTimeout(()=>{!this.speaking&&this.scribeSays===t&&(this.scribeSays=null)},1200)},n=()=>{if(s!==this.sayGen)return;if(!e)return i();const r=new SpeechSynthesisUtterance(t),o=e.getVoices().filter(p=>/^en/i.test(p.lang));r.voice=o.find(p=>/Google UK English Female|Daniel|Serena|Kate|Samantha|Google US English/.test(p.name))??o[0]??null,r.rate=1.04,r.onstart=()=>this.speaking=!0,r.onend=r.onerror=i,e.speak(r)};this.voiced(t).then(r=>{if(s!==this.sayGen)return;if(!r)return n();const o=new Audio(URL.createObjectURL(r));this.player=o,o.onplaying=()=>this.speaking=!0,o.onended=()=>{URL.revokeObjectURL(o.src),this.player===o&&(this.player=null),i()},o.onerror=()=>{this.player===o&&(this.player=null),n()},o.play().catch(()=>{this.player===o&&(this.player=null),n()})})}async voiced(t){try{const e=await fetch("/api/voice/speak",{method:"POST",headers:{"content-type":"application/json",[b]:this.token},body:JSON.stringify({text:t.slice(0,1200),speed:1})});return e.status===200?await e.blob():null}catch{return null}}stopVoice(){this.sayGen++,this.player?.pause(),this.player=null,globalThis.speechSynthesis?.cancel()}hush(){this.stopVoice(),this.speaking=!1,this.scribeSays=null}async approve(t){if(this.approving||this.approved)return!1;this.approving=!0;const e=[...this.remarks.map(r=>r.text),t.trim()].filter(Boolean),s=await this.openQuestion();let i="message",n=null;if(s){i="answer";try{const r=await fetch("/api/inbox",{method:"POST",headers:{"content-type":"application/json","idempotency-key":`review-${crypto.randomUUID()}`,[b]:this.token},body:JSON.stringify({cardId:s.id,choice:"approve",note:e.length?`From the live review: ${e.join(" · ")}`:null})}),o=await r.json().catch(()=>null);r.ok?typeof o?.message=="object"&&o.message.delivery==="failed"&&(n=o.message.deliveryDetail??"Firstmate did not take the approval."):n=(typeof o?.message=="string"?o.message:null)??`Wheelhouse answered ${r.status}.`}catch{n="Could not reach the Wheelhouse server."}}else{const r=await E(z({id:this.taskId,title:this.title},this.previewUrl,e),this.token,this.taskId);r.ok||(n=r.error)}return this.approving=!1,n?(this.notice=`The approval did not go: ${n}`,!1):(this.approved={how:i,at:Date.now()},!0)}async openQuestion(){try{const t=await fetch("/api/inbox");if(!t.ok)return null;const e=await t.json();if(!e.canAnswer)return null;const s=e.cards.filter(i=>i.taskId===this.taskId&&!i.secondMate);return s.find(i=>i.kind==="merge")??s.find(i=>i.kind==="preview")??null}catch{return null}}point(t,e){const s=this.notes.find(r=>t.notes.includes(r.id)),i=s?this.about(s):null,n=this.events.find(r=>r.id===t.anchor);return{...t,key:`p${e}`,include:!0,el:n?.el??i?.el??null,shotId:n?.shotId??i?.shotId??null,page:n?.page??i?.page??"",t:i?.t??n?.t??0}}view(t,e,s){const i={must:0,should:1,could:2,none:3};return{summary:t.summary,points:t.issues.map((n,r)=>this.point(n,r)).sort((n,r)=>i[n.severity]-i[r.severity]),openQuestions:t.openQuestions,errors:[...new Set(this.events.filter(n=>n.type==="error").map(n=>`${m(n.t)} on ${n.page}: ${n.label}`))],duration:s,from:e,tidying:!1,better:null,tidyFailed:null,edited:!1,sending:!1,sent:null,error:null}}async end(){this.stopTalking(),this.marking&&this.mark(!1),this.hush(),this.paused=!0,this.toFrame({type:"record",on:!1});const t=this.t(),e=new Set(this.notes.flatMap(h=>h.utterances)),s=new Set(this.convo.filter(h=>h.who==="scribe"&&!h.error).map(h=>h.uid)),i=this.remarks.filter(h=>!e.has(h.id)&&!(s.has(h.id)&&K(h.text))).map((h,d)=>Q(`q${d+1}`,h,(h.anchor?this.events.find(g=>g.id===h.anchor)?.el?.label:h.pointing?.label)??null)),n=[...this.notes,...i];this.notes=n;const r=this.view(V(n,{title:this.title,duration:t}),"notes",t);if(r.tidying=this.remarks.length>0,this.pack=r,!r.tidying)return;const o=await this.call({action:"pack",timeline:$(this.events,this.remarks),notes:n}),p=this.pack;!p||p.sent||p.sending||(p.tidying=!1,o.ok&&o.value.issues?.length?p.edited?p.better=o.value:this.pack=this.view(o.value,"scribe",t):p.tidyFailed=o.ok?"no points":o.error)}useBetter(){this.pack?.better&&(this.pack=this.view(this.pack.better,"scribe",this.pack.duration))}resume(){this.pack=null,this.setPaused(!1)}stats(){return{remarks:this.remarks.length,clicks:this.events.filter(t=>t.type==="click").length,pages:new Set(this.events.map(t=>t.page).filter(Boolean)).size,shots:Object.values(this.shots).filter(t=>t.image).length}}message(t){const e=this.pack;if(!e)return"";const s=this.stats();return J({id:this.taskId,title:this.title},this.previewUrl,{duration:e.duration,...s},{summary:e.summary,lines:e.points.filter(i=>i.include).map(i=>({severity:i.severity,title:i.title,detail:i.detail,where:i.el?`${i.el.label}${i.page?` on ${i.page}`:""}`:i.page?`the page ${i.page}`:null,quote:i.quote,at:m(i.t),shot:i.shotId?t?t.shots[i.shotId]??null:`(screenshot ${i.shotId})`:null})),errors:e.errors,openQuestions:e.openQuestions},t?.session??null)}async send(){const t=this.pack;if(!t||t.sending||t.sent)return!1;t.sending=!0,t.error=null;const e={};for(const n of t.points.filter(r=>r.include&&r.shotId)){const r=await this.outlined(n.shotId);r&&(e[n.shotId]=r)}const s=await this.call({action:"save",session:{task:{id:this.taskId,title:this.title},preview:this.previewUrl,startedAt:new Date(this.started).toISOString(),events:this.events,remarks:this.remarks,notes:this.notes,conversation:this.convo.map(({who:n,text:r,t:o})=>({who:n,text:r,at:m(o)}))},shots:e});if(!s.ok)return t.sending=!1,t.error=s.error,!1;const i=await E(this.message(s.value),this.token,this.taskId);return t.sending=!1,i.ok?(t.sent={dir:s.value.dir},!0):(t.error=i.error,!1)}}export{ht as C,dt as L,lt as M,ct as S,at as a,pt as b,ut as l,m,w as p};
@@ -0,0 +1,2 @@
1
+ import"./DsnmJJEf.js";import{d as me,S as ue}from"./CIppRg38.js";import{p as fe,h as c,s as a,o as n,r as f,i as D,t as u,a as v,b as _e,j as ce,f as g,n as ge,c as l}from"./Jk-ASPRO.js";import{s as i}from"./DTApYZoW.js";import{i as _}from"./BEVJas-l.js";import{a as xe,e as we}from"./DNP6oCAK.js";import{p as G}from"./DQWg__9S.js";import{T as he}from"./BmXrroyA.js";const k=m=>m.installed?m.settings.filter(e=>e.current===void 0):m.settings,Ne=m=>Object.fromEntries(k(m).map(e=>[e.key,me(e.current??e.default)])),Be=(m,e)=>k(m).find(x=>x.required&&!e[x.key]?.trim())??null,De=m=>Object.fromEntries(Object.entries(m).filter(([,e])=>e.trim()!==""));var pe=l('<p class="mt-0.5 text-xs text-muted-foreground"> </p>'),be=l('<dt class="text-muted-foreground">Now</dt> <dd class="tabular font-mono"> </dd>',1),ye=l('<span class="font-sans">· <a class="text-sea hover:underline" target="_blank" rel="noreferrer">compare</a></span>'),je=l('<dt class="text-muted-foreground">Author</dt> <dd> </dd>',1),ke=l('<dt class="text-muted-foreground">Runs</dt> <dd> </dd>',1),Ae=l('<dt class="text-muted-foreground">Addresses</dt> <dd> </dd>',1),Ie=l('<dt class="text-muted-foreground">Sends</dt> <dd> </dd>',1),Se=l('<dt class="text-muted-foreground">Role</dt> <dd data-roles=""> </dd>',1),Oe=l('<fieldset class="grid gap-3"><legend class="mb-1 text-xs font-medium"> </legend> <!> <p class="text-xs text-muted-foreground">Kept in Wheelhouse’s plugins file.</p></fieldset>'),We=l("<li> </li>"),Re=l('<div class="text-xs text-muted-foreground">Wheelhouse restarts to load it, which stops: <ul class="mt-0.5 list-inside list-disc"></ul></div>'),Te=l('<div class="grid gap-4"><div class="rounded-md border bg-card px-4 py-3"><p class="font-medium"> <span class="font-normal text-muted-foreground"> </span></p> <!> <dl class="mt-3 grid grid-cols-[6rem_minmax(0,1fr)] gap-x-3 gap-y-1 text-xs"><dt class="text-muted-foreground">From</dt> <dd class="font-mono break-all"> </dd> <!> <dt class="text-muted-foreground">Commit</dt> <dd class="tabular font-mono"> <!></dd> <!> <dt class="text-muted-foreground">Adds</dt> <dd> </dd> <!> <!> <!> <!> <dt class="text-muted-foreground">On</dt> <dd> </dd></dl></div> <!> <p class="flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-xs"><!> <span> </span></p> <!></div>');function Ge(m,e){fe(e,!0);let x=G(e,"answers",15),A=G(e,"busy",19,()=>[]);const I=ce(()=>k(e.preview)),S=t=>t.slice(0,12);var h=Te(),p=c(h),b=c(p),O=c(b),H=a(O),J=n(H);f(b);var W=a(b,2);{var L=t=>{var r=pe(),d=n(r,!0);u(()=>i(d,e.preview.description)),v(t,r)};_(W,t=>{e.preview.description&&t(L)})}var R=a(W,2),T=a(c(R),2),M=n(T),E=a(T,2);{var Q=t=>{var r=be(),d=a(g(r),2),s=n(d);u(o=>i(s,`${e.preview.installed.version??""} · ${o??""}`),[()=>S(e.preview.installed.commit)]),v(t,r)};_(E,t=>{e.preview.installed&&t(Q)})}var y=a(E,4),F=c(y),V=a(F);{var X=t=>{var r=ye(),d=a(c(r));f(r),u(()=>xe(d,"href",`https://github.com/${e.preview.repository??""}/compare/${e.preview.installed.commit??""}...${e.preview.commit??""}`)),v(t,r)};_(V,t=>{e.preview.installed&&t(X)})}f(y);var P=a(y,2);{var Y=t=>{var r=je(),d=a(g(r),2),s=n(d,!0);u(()=>i(s,e.preview.author)),v(t,r)};_(P,t=>{e.preview.author&&t(Y)})}var U=a(P,4),Z=n(U),q=a(U,2);{var $=t=>{var r=ke(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.services.join(", ")]),v(t,r)};_(q,t=>{e.preview.services.length&&t($)})}var z=a(q,2);{var ee=t=>{var r=Ae(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.addresses.join("; ")]),v(t,r)};_(z,t=>{e.preview.addresses?.length&&t(ee)})}var C=a(z,2);{var te=t=>{var r=Ie(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.capabilities.join("; ")]),v(t,r)};_(C,t=>{e.preview.capabilities?.length&&t(te)})}var K=a(C,2);{var re=t=>{var r=Se(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.roles.join("; ")]),v(t,r)};_(K,t=>{e.preview.roles?.length&&t(re)})}var ae=a(K,4),de=n(ae,!0);f(R),f(p);var N=a(p,2);{var se=t=>{var r=Oe(),d=c(r),s=n(d,!0),o=a(d,2);ue(o,{get settings(){return D(I)},get answers(){return x()},set answers(w){x(w)}}),ge(2),f(r),u(()=>i(s,e.preview.installed?"Its new settings":"Its settings")),v(t,r)};_(N,t=>{D(I).length&&t(se)})}var j=a(N,2),B=c(j);he(B,{class:"mt-0.5 size-3.5 shrink-0 text-warning"});var ie=a(B,2),ne=n(ie);f(j);var oe=a(j,2);{var ve=t=>{var r=Re(),d=a(c(r));we(d,20,A,s=>s,(s,o)=>{var w=We(),le=n(w,!0);u(()=>i(le,o)),v(s,w)}),f(d),f(r),v(t,r)};_(oe,t=>{A().length&&t(ve)})}f(h),u((t,r)=>{i(O,`${e.preview.name??""} `),i(J,`${e.preview.id??""} ${e.preview.version??""}`),i(M,`${e.preview.repository??""}${e.preview.ref?` (${e.preview.ref})`:""}`),i(F,`${t??""} `),i(Z,`${r??""}${e.preview.ui?"; a UI bundle":""}`),i(de,e.preview.on),i(ne,`Its code runs with your permissions, inside Wheelhouse and in its pages. Wheelhouse does not
2
+ sandbox it. ${e.preview.installed?"Update":"Install"} only plugins you trust.`)},[()=>S(e.preview.commit),()=>e.preview.slots.join(", ")||"nothing to the pages"]),v(m,h),_e()}export{Ge as P,De as f,Ne as i,Be as m};
@@ -0,0 +1 @@
1
+ import"./DsnmJJEf.js";import{p as N,q as v,i as c,k as f,v as y,f as U,s as P,t as j,a as S,b as F,j as _,d as g,o as W,c as T}from"./Jk-ASPRO.js";import{s as x}from"./DTApYZoW.js";import{i as C}from"./BEVJas-l.js";import{a as D}from"./DNP6oCAK.js";import{b as R}from"./DLfKkHEy.js";import{p as E}from"./DQWg__9S.js";import{p as q}from"./CWXMOoE5.js";import{S as b}from"./BXN538J3.js";import{a as M}from"./BdjCJ4uL.js";async function J(r,e,a,o=`wh-${crypto.randomUUID()}`){try{const n=await fetch(`/api/plugins/${encodeURIComponent(r)}/feedback`,{method:"POST",headers:{"content-type":"application/json","idempotency-key":o,[b]:a},body:JSON.stringify(e)});if(n.ok){const t=await n.json().catch(()=>null);return t?.message?.delivery==="failed"?{ok:!1,error:t.message.deliveryDetail??"Firstmate did not take the list."}:{ok:!0,pending:n.status===202}}return{ok:!1,error:(await n.json().catch(()=>null))?.message??`Wheelhouse answered ${n.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}async function B(r,e,a){try{const o=await fetch(`/api/plugins/${encodeURIComponent(r)}/feedback/summary`,{method:"POST",headers:{"content-type":"application/json",[b]:a},body:JSON.stringify(e)}),n=await o.json().catch(()=>null);return o.ok&&Array.isArray(n?.points)?{ok:!0,points:n.points}:{ok:!1,error:n?.message??`Wheelhouse answered ${o.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}const H=r=>new URLSearchParams({plugin:r.plugin,service:r.service,...r.project?{project:r.project}:{}}).toString();async function z(r){try{const e=await fetch(`/api/services?${H(r)}`);return e.ok?await e.json():null}catch{return null}}async function L(r,e,a=null){const o=window.open("","_blank");try{o?.document.write('<!doctype html><title>Starting…</title><body style="font:15px system-ui;margin:3rem;color:#14213d;background:#f6f2e9">Wheelhouse is starting it; this tab opens it when it answers.</body>')}catch{}let n=null;try{const t=await fetch("/api/services",{method:"POST",headers:{"content-type":"application/json",[b]:e},body:JSON.stringify({plugin:r.plugin,service:r.service,project:r.project??null})});n=t.ok?await t.json():{...await t.json().catch(()=>({})),state:"failed",reason:`Wheelhouse could not start it (${t.status}).`}}catch{n=null}const s=n?.state==="running"?a??n.url:null;if(s){const t=M.view(s);o?o.location.href=t:window.open(t,"_blank")}else o?.close();return n}const G=5e3,k=new Map;function K(r,e){let a=k.get(r);return a||(a=e(r).catch(o=>{throw k.delete(r),o}),k.set(r,a)),a}const I=()=>typeof navigator>"u"||!navigator.userActivation?!0:navigator.userActivation.isActive;function Q(r,e){const a=r.pluginId,o=(s,t)=>{if(typeof s!="string"||!s)throw new TypeError("Name a service.");const i=t===void 0?r.projectId:t;return{plugin:a,service:s,project:typeof i=="string"&&i?i:null}},n=s=>{const t=typeof s=="object"&&s!==null?s:{},i=typeof t.task=="string"&&t.task?t.task:r.taskId??null;return i?{taskId:i,subject:typeof t.subject=="string"?t.subject:null,items:Array.isArray(t.items)?t.items:[]}:null};return Object.freeze({pluginId:a,service:async(s,t={})=>e.status(o(s,t.project)),launch:async(s,t={})=>e.launch(o(s,t.project),e.token(),typeof t.open=="string"?t.open:null),sendFeedback:async s=>{if(!(e.clicked??I)())return{ok:!1,error:"Feedback is sent only when the captain clicks to send it."};const t=n(s);return t?e.feedback(a,t,e.token()):{ok:!1,error:"Name the task the feedback is about."}},summariseFeedback:async s=>{if(!(e.clicked??I)())return{ok:!1,error:"Feedback is summarised only when the captain clicks to."};if(!e.summarise)return{ok:!1,error:"This page cannot summarise feedback."};const t=n(s);return t?e.summarise(a,t,e.token()):{ok:!1,error:"Name the task the feedback is about."}}})}async function V(r,e){if(!customElements.get(e.tag)){if(!e.ui)throw new Error("this Wheelhouse has no UI bundle for it");try{await K(e.ui,e.importer??(n=>import(n)))}catch(n){throw new Error(`its UI bundle did not load (${n instanceof Error?n.message:String(n)})`)}let o;try{await Promise.race([customElements.whenDefined(e.tag),new Promise((n,s)=>{o=setTimeout(()=>s(new Error(`its UI bundle does not define <${e.tag}>`)),e.timeoutMs??G)})])}finally{clearTimeout(o)}}const a=document.createElement(e.tag);return e.host&&(a.host=e.host),a.entry=e.entry,a.data=e.data,r.append(a),a}var X=T('<p class="text-sm text-muted-foreground"> </p>'),Y=T('<div class="contents"></div> <!>',1);function ce(r,e){N(e,!0);let a=E(e,"preview",3,void 0),o=E(e,"quiet",3,!1);const n=_(()=>"element"in e.entry.render?e.entry.render.element:""),s=_(()=>e.entry.ui??null);let t=g(null),i=g(null),m=g(null);v(()=>{if(!c(t)||!c(n))return;const l=c(t);let u=!1,h=null;return f(m,null),V(l,{tag:c(n),ui:c(s),data:y(()=>e.data),entry:y(()=>e.entry),host:Q(y(()=>e.entry),{status:z,launch:L,feedback:J,summarise:B,token:()=>q.data.sessionToken??""}),importer:e.importer}).then(d=>{h=d,u?d.remove():f(i,d,!0)},d=>{u||f(m,d.message,!0)}),()=>{u=!0,h?.remove(),f(i,null)}}),v(()=>{c(i)&&(a()!==void 0&&(c(i).preview=a()),c(i).entry=e.entry,c(i).data=e.data)});var w=Y(),p=U(w);R(p,l=>f(t,l),()=>c(t));var O=P(p,2);{var A=l=>{var u=X(),h=W(u);j(()=>x(h,`Not available. The ${e.entry.pluginId??""} plugin’s element could not be shown: ${c(m)??""}.`)),S(l,u)};C(O,l=>{c(m)&&!o()&&l(A)})}j(()=>D(p,"data-plugin-element",c(n))),S(r,w),F()}export{ce as P};
@@ -0,0 +1 @@
1
+ import{a as y}from"./CeV_7ApB.js";import{y as b,b9 as I,d as u,i as f,k as d}from"./Jk-ASPRO.js";const h=[];function k(e,t=b){let n=null;const r=new Set;function s(o){if(I(e,o)&&(e=o,n)){const l=!h.length;for(const c of r)c[1](),h.push(c,e);if(l){for(let c=0;c<h.length;c+=2)h[c][0](h[c+1]);h.length=0}}}function i(o){s(o(e))}function a(o,l=b){const c=[o,l];return r.add(c),r.size===1&&(n=t(s,i)||b),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:s,update:i,subscribe:a}}const L="1795111539303";new URL("sveltekit-internal://");function K(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function B(e){return e.split("%25").map(decodeURI).join("%25")}function D(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function J({href:e}){return e.split("#")[0]}function W(e,t,n,r=!1){const s=new URL(e);Object.defineProperty(s,"searchParams",{value:new Proxy(s.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return(c,...N)=>(n(c),a[o](c,...N));t();const l=Reflect.get(a,o);return typeof l=="function"?l.bind(a):l}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const a of i)Object.defineProperty(s,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return s}function x(){}function P(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let s=r.length;for(;s;)t=t*33^r[--s]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function $(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const q=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&p.delete(m(e)),q(e,t));const p=new Map;function X(e,t){const n=m(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:s,...i}=JSON.parse(r.textContent);r.getAttribute("data-b64")!==null&&(s=$(s));const o=r.getAttribute("data-ttl");return o&&p.set(n,{body:s,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(s,i))}return window.fetch(e,t)}function M(e,t,n){if(p.size>0){const r=m(e,n),s=p.get(r);if(s){if(performance.now()<s.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(s.body,s.init);p.delete(r)}}return window.fetch(t,n)}function m(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const s=[];t.headers&&s.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&s.push(t.body),r+=`[data-hash="${P(...s)}"]`}return r}const z=globalThis.__sveltekit_1gz72ep?.base??"",C=globalThis.__sveltekit_1gz72ep?.assets??z??"",F="sveltekit:snapshot",Q="sveltekit:scroll",Z="sveltekit:states",ee="sveltekit:pageurl",te="sveltekit:history",ne="sveltekit:navigation",v={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},E=location.origin;function re(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function se(){return{x:pageXOffset,y:pageYOffset}}function g(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const S={...v,"":v.hover};function T(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function oe(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=T(e)}}function ae(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!s||V(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),a=r?.origin===E&&e.hasAttribute("download");return{url:r,external:i,target:s,download:a}}function ie(e){let t=null,n=null,r=null,s=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=g(o,"preload-code")),s===null&&(s=g(o,"preload-data")),t===null&&(t=g(o,"keepfocus")),n===null&&(n=g(o,"noscroll")),i===null&&(i=g(o,"reload")),a===null&&(a=g(o,"replacestate")),o=T(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:S[r??"off"],preload_data:S[s??"off"],keepfocus:l(t),noscroll:l(n),reload:l(i),replace_state:l(a)}}function le(e){const t=k(e);let n=!0;function r(){n=!0,t.update(a=>a)}function s(a){n=!1,t.set(a)}function i(a){let o;return t.subscribe(l=>{(o===void 0||n&&l!==o)&&a(o=l)})}return{notify:r,set:s,subscribe:i}}const U={v:x};function ce(){const{set:e,subscribe:t}=k(!1);let n;async function r(){clearTimeout(n);try{const s=await fetch(`${C}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!s.ok)return!1;const a=(await s.json()).version!==L;return a&&(e(!0),U.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:r}}function V(e,t,n){return e.origin!==E||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function ue(e){}const O=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...O];const j=new Set([...O]);[...j];let w,R,_;const G=y.toString().includes("$$")||/function \w+\(\) \{\}/.test(y.toString()),A="a:";G?(w={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(A)},R={current:null},_={current:!1}):(w=new class{#e=u({});get data(){return f(this.#e)}set data(t){d(this.#e,t)}#t=u(null);get form(){return f(this.#t)}set form(t){d(this.#t,t)}#n=u(null);get error(){return f(this.#n)}set error(t){d(this.#n,t)}#r=u({});get params(){return f(this.#r)}set params(t){d(this.#r,t)}#s=u({id:null});get route(){return f(this.#s)}set route(t){d(this.#s,t)}#o=u({});get state(){return f(this.#o)}set state(t){d(this.#o,t)}#a=u(-1);get status(){return f(this.#a)}set status(t){d(this.#a,t)}#i=u(new URL(A));get url(){return f(this.#i)}set url(t){d(this.#i,t)}},R=new class{#e=u(null);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},_=new class{#e=u(!1);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},U.v=()=>_.current=!0);function ge(e){Object.assign(w,e)}export{te as H,ne as N,ee as P,Z as S,R as a,z as b,ie as c,J as d,D as e,oe as f,ae as g,K as h,V as i,ce as j,le as k,v as l,W as m,x as n,E as o,w as p,B as q,re as r,se as s,F as t,ge as u,M as v,k as w,X as x,Q as y,ue as z};
@@ -0,0 +1 @@
1
+ import"./DsnmJJEf.js";import{p as L,f as M,h as k,n as N,r as w,s as c,i as e,a as b,b as P,d as E,k as x,c as y,j as C,o as _,t as z}from"./Jk-ASPRO.js";import{d as O,a as T,s as h}from"./DTApYZoW.js";import{i as I}from"./BEVJas-l.js";import{P as j}from"./CEgeDr98.js";import{M as q}from"./V9uGi6jc.js";import{s as B,a as D}from"./DNP6oCAK.js";import{e as F,C as R}from"./Ds4LY5_S.js";import{C as S}from"./teNj0U11.js";var W=y('<div class="relative z-10 mt-3" data-card-preview=""><button type="button" class="inline-flex items-center gap-1.5 rounded-md text-xs font-medium text-sea hover:underline" aria-haspopup="dialog"><!>Open live preview</button></div> <!>',1);function $(m,t){L(t,!0);let a=E(null),r=E(!1);function u(s){const n=s.currentTarget,i=n.closest("article"),g=i?.querySelector("[data-card-picture]");x(a,(g??i??n).getBoundingClientRect(),!0),x(r,!0)}var l=W(),d=M(l),o=k(d),f=k(o);q(f,{class:"size-3.5","aria-hidden":"true"}),N(),w(o),w(d);var v=c(d,2);{var p=s=>{{let n=C(()=>t.task.preview?.url??""),i=C(()=>t.task.status!=="landed");j(s,{get taskId(){return t.task.id},get title(){return t.task.shortTitle},get url(){return e(n)},get talk(){return e(i)},get from(){return e(a)},onclose:()=>x(r,!1)})}};I(v,s=>{e(r)&&t.task.preview&&s(p)})}T("click",o,u),b(m,l),P()}O(["click"]);var A=y('<span class="shrink-0 text-muted-foreground"> </span>'),G=y('<p><!> <span class="truncate font-medium"> </span> <!> <span class="sr-only"> </span></p>');function tt(m,t){L(t,!0);const a=C(()=>F(t.eta));var r=G(),u=k(r);S(u,{class:"size-3.5 shrink-0","aria-hidden":"true"});var l=c(u,2),d=_(l,!0),o=c(l,2);{var f=s=>{var n=A(),i=_(n);z(g=>h(i,`· ${g??""}`),[()=>R[t.eta.confidence].toLowerCase()]),b(s,n)};I(o,s=>{e(a).tone==="normal"&&t.eta.confidence!=="none"&&s(f)})}var v=c(o,2),p=_(v,!0);w(r),z(()=>{B(r,1,`flex min-w-0 items-center gap-1.5 text-xs ${e(a).tone==="warning"?"text-warning":e(a).tone==="muted"?"text-muted-foreground":"text-foreground"}`),D(r,"title",e(a).note),h(d,e(a).text),h(p,e(a).note)}),b(m,r),P()}export{$ as C,tt as E};
@@ -0,0 +1,3 @@
1
+ import"./DsnmJJEf.js";import{a as ra}from"./CeV_7ApB.js";import{e as na,p as Bt,f as he,h as s,s as n,i as e,o as y,t as b,a as d,r as o,b as Nt,j as l,c,n as Me,aB as oa,k as Ee,d as et,x as sa,y as Tt}from"./Jk-ASPRO.js";import{d as Pt,s as f,a as ne}from"./DTApYZoW.js";import{i as x}from"./BEVJas-l.js";import{e as pe,a as m,s as P,c as ia,j as la}from"./DNP6oCAK.js";import{t as zt}from"./DE0e4nJ8.js";import{p as ye}from"./DQWg__9S.js";import{S as da}from"./CbKpBvf7.js";import{p as ua}from"./CWXMOoE5.js";import{a as kt}from"./WRwU91GU.js";import{b as ca}from"./BUYzAikv.js";import{W as va,S as ma,p as ht}from"./KLlJvBx3.js";import{t as fa,s as ga,d as pa}from"./Ds4LY5_S.js";import{D as ha,l as xa,s as Ut,d as _a,i as xt,c as ba,a as ka,O as Ze,A as $e,b as wa}from"./28SuhBcT.js";import{i as _t}from"./gocvF-xl.js";import{h as ya,e as Ca}from"./nqsqhzVw.js";import{a as ja,s as Sa}from"./Z0GxSwEl.js";import{T as Ia}from"./CNrVcIUd.js";import{S as Aa}from"./BpMceauw.js";import{M as Rt}from"./C4jBfsPB.js";import{s as Ta}from"./CEgeDr98.js";import{d as za}from"./Dg5Iatf7.js";import{g as Ra}from"./uFHn3SsP.js";import{E as Ea,C as Ma}from"./DQZynC5d.js";import{C as Oa}from"./_NxO7pzE.js";import{S as Et,G as La}from"./D66j7WEk.js";import{M as bt}from"./DlALRMA8.js";import{A as Ha}from"./BjTe15qL.js";import{G as qa}from"./MgFVe5-f.js";import{c as Da,g as Ba,D as Na}from"./CdXXnfvS.js";import{s as Mt}from"./BwF-OIK3.js";import{a as Ot,p as Pa}from"./DWBTuuo9.js";import{A as Lt}from"./BwauVYjH.js";import{X as Ua}from"./m8-RluHE.js";import{S as Ht}from"./voMZUjSQ.js";import{A as qt}from"./BRYVBL-t.js";import{C as Wa}from"./BfHvf1Rg.js";import{C as Ga}from"./c9k4nDgn.js";import{S as Fa}from"./DP0NWgBG.js";import{p as Ya}from"./XxOJwmzJ.js";const Ka=na({pending:null,draft:null,decision:null});var Qa=c('<span class="absolute inset-y-1.5 -left-1 w-[3px] rounded-full bg-gold" aria-hidden="true"></span>'),Va=c('<span class="mx-1" aria-hidden="true">·</span>'),Xa=c("<!><span> </span>",1),Ja=c('<button type="button" title="Chat about this"><!></button>'),Za=c('<a aria-label="Chat about this question" title="Chat about this"><!></a>'),$a=c('<span class="text-muted-foreground"> </span>'),er=c('<span class="ml-auto text-muted-foreground"> </span>'),tr=c('<p class="leading-snug text-muted-foreground"> </p>'),ar=c('<p class="leading-snug text-muted-foreground" data-now=""> </p>'),rr=c('<div class="pt-1"><!></div>'),nr=c('<a target="_blank" rel="noreferrer" class="flex items-start gap-1 break-all text-sea hover:underline"><!> </a>'),or=c('<div class="-mt-2"><!></div>'),sr=c('<div class="flex flex-col gap-2 text-xs"><div class="flex flex-wrap items-center gap-1.5"><span><!> </span> <!> <!> <!></div> <!> <!> <!> <!> <!> <!> <div class="-ml-1.5 flex flex-wrap gap-0.5"><a><!>Open</a> <button type="button"><!>Chat about this</button></div></div>'),ir=c('<div class="mt-0.5 mb-2 ml-[0.85rem] border-l-2 border-hair pr-1 pl-3" data-deck-detail=""><!></div>'),lr=c('<div><!> <button type="button" data-deck-line="" class="flex h-full min-w-0 flex-1 cursor-pointer items-center gap-2 rounded-md py-2 pr-1 pl-1 text-left focus-visible:outline-2 focus-visible:outline-ring"><!> <span class="min-w-0 flex-1"><span> </span> <span class="block truncate text-xs text-muted-foreground"></span></span></button> <!></div> <!>',1);function dr(Ce,r){Bt(r,!0);let ee=ye(r,"dim",3,!1),F=ye(r,"selected",3,!1);const U={danger:"bg-danger/10 text-danger",warning:"bg-warning/10 text-warning",sea:"bg-sea/10 text-sea",muted:"bg-muted text-muted-foreground",busy:"bg-muted text-foreground",success:"bg-success/10 text-success",quiet:"bg-muted text-muted-foreground"},te=l(()=>r.line.kind==="task"?xa(r.line.task):ha),v=l(()=>r.line.kind==="task"?r.line.task:null),Q=l(()=>`deck-${r.line.key.replace(/[^\w-]/g,"-")}`),V=l(()=>e(v)&&r.line.text!==e(v).shortTitle?e(v).shortTitle:e(v)?.attention?.owner==="captain"&&e(v).attention.text&&e(v).attention.text!==r.line.text?e(v).attention.text:null),Y=l(()=>e(v)?e(v).activity?.text||e(v).summary||e(v).statusLabel:null),de=l(()=>[r.project?{key:"project",text:r.project.tag,title:r.project.name}:null,e(V)??(e(Y)&&e(Y)!==r.line.text?e(Y):null)?{key:"doing",text:e(V)??e(Y),title:void 0}:null,r.line.at?{key:"age",text:Ut(r.line.at,r.now),title:kt(r.line.at,r.now)}:null].filter(R=>R!==null)),ue=l(()=>e(v)?e(v).attention?.url??e(v).pr?.url??null:null),xe=l(()=>e(v)?`/tasks/${encodeURIComponent(e(v).id)}`:null),H=l(()=>!!(e(v)&&r.onOpen)||r.line.kind==="decision"),ce="flex items-center gap-1 rounded-md px-1.5 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring";var Oe=lr(),je=he(Oe),z=s(je);{var Be=R=>{var k=Qa();d(R,k)};x(z,R=>{F()&&R(Be)})}var oe=n(z,2),se=s(oe);Et(se,{get state(){return e(te)},class:"size-5 shrink-0"});var Se=n(se,2),_e=s(Se),K=y(_e,!0),Ie=n(_e,2);pe(Ie,23,()=>e(de),R=>R.key,(R,k,X)=>{var A=Xa(),ie=he(A);{var ve=ae=>{var Le=Va();d(ae,Le)};x(ie,ae=>{e(X)&&ae(ve)})}var le=n(ie),J=y(le,!0);b(()=>{m(le,"title",e(k).title),m(le,"data-project-tag",e(k).key==="project"||void 0),f(J,e(k).text)}),d(R,A)}),o(Ie),o(Se),o(oe);var tt=n(oe,2);{var Ne=R=>{var k=Ja(),X=s(k);bt(X,{class:"size-3.5"}),o(k),b(()=>{P(k,1,`flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground opacity-0 group-hover:opacity-100 hover:bg-muted hover:text-foreground focus-visible:opacity-100 focus-visible:outline-2 focus-visible:outline-ring pointer-coarse:size-11 pointer-coarse:opacity-100 ${r.open?"opacity-100":""}`),m(k,"aria-label",`Chat about ${e(v).shortTitle??""}`)}),ne("click",k,()=>r.onChat(e(v))),d(R,k)},be=R=>{var k=Za(),X=s(k);bt(X,{class:"size-3.5"}),o(k),b(A=>{m(k,"href",A),P(k,1,`flex size-7 shrink-0 items-center justify-center rounded-md text-muted-foreground opacity-0 group-hover:opacity-100 hover:bg-muted hover:text-foreground focus-visible:opacity-100 focus-visible:outline-2 focus-visible:outline-ring pointer-coarse:size-11 pointer-coarse:opacity-100 ${r.open?"opacity-100":""}`)},[()=>za(r.line.card.id)]),d(R,k)};x(tt,R=>{e(v)?R(Ne):r.line.kind==="decision"&&R(be,1)})}o(je);var at=n(je,2);{var rt=R=>{var k=ir(),X=s(k);{var A=ie=>{var ve=sr(),le=s(ve),J=s(le),ae=s(J);Et(ae,{get state(){return e(te)},still:!0,decorative:!0,class:"size-3.5"});var Le=n(ae,1,!0);o(J);var Ae=n(J,2);va(Ae,{get task(){return e(v)}});var Pe=n(Ae,2);{var nt=g=>{var C=$a(),D=y(C,!0);b(()=>f(D,r.project.name)),d(g,C)};x(Pe,g=>{r.project&&g(nt)})}var Ue=n(Pe,2);{var We=g=>{var C=er(),D=y(C,!0);b(Re=>f(D,Re),[()=>kt(r.line.at,r.now)]),d(g,C)};x(Ue,g=>{r.line.at&&g(We)})}o(le);var Ge=n(le,2);{var Fe=g=>{var C=tr(),D=y(C,!0);b(()=>f(D,e(V))),d(g,C)};x(Ge,g=>{e(V)&&g(Fe)})}var Ye=n(Ge,2);{var ot=g=>{Oa(g,{get pipeline(){return e(v).pipeline},get busy(){return e(v).busy},size:"rail"})},st=l(()=>Ta(e(v))),it=g=>{var C=ar(),D=y(C,!0);b(()=>f(D,e(Y))),d(g,C)};x(Ye,g=>{e(st)?g(ot):e(Y)&&e(Y)!==r.line.text&&g(it,1)})}var re=n(Ye,2);{var lt=g=>{var C=rr(),D=s(C);ma(D,{get task(){return e(v)}}),o(C),d(g,C)};x(re,g=>{e(v).passage.steps.length>1&&g(lt)})}var Z=n(re,2);{var Ke=g=>{Ea(g,{get eta(){return e(v).eta}})};x(Z,g=>{e(v).eta&&g(Ke)})}var He=n(Z,2);{var qe=g=>{var C=nr(),D=s(C);qa(D,{class:"mt-0.5 size-3.5 shrink-0","aria-hidden":"true"});var Re=n(D,1,!0);o(C),b(()=>{m(C,"href",e(ue)),f(Re,e(ue))}),d(g,C)};x(He,g=>{e(ue)&&g(qe)})}var De=n(He,2);{var dt=g=>{var C=or(),D=s(C);Ma(D,{get task(){return e(v)}}),o(C),d(g,C)};x(De,g=>{e(v).preview&&g(dt)})}var Te=n(De,2),me=s(Te);P(me,1,ia(ce));var ut=s(me);Ha(ut,{class:"size-3.5","aria-hidden":"true"}),Me(),o(me);var ze=n(me,2);P(ze,1,"flex items-center gap-1 rounded-md px-1.5 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring cursor-pointer");var ct=s(ze);bt(ct,{class:"size-3.5","aria-hidden":"true"}),Me(),o(ze),o(Te),o(ve),b(()=>{P(J,1,`flex items-center gap-1 rounded px-1.5 leading-[1.15rem] font-medium ${U[e(te).tone]??""}`),f(Le,e(te).label),m(me,"href",e(xe))}),ne("click",ze,()=>r.onChat(e(v))),d(ie,ve)};x(X,ie=>{e(v)&&ie(A)})}o(k),b(()=>m(k,"id",e(Q))),d(R,k)};x(at,R=>{r.open&&!e(H)&&R(rt)})}b(()=>{P(je,1,`group relative flex items-center border-b border-hair transition-colors ${r.open||F()?"bg-muted/70":"hover:bg-muted/50"}`),m(oe,"aria-expanded",e(H)?void 0:r.open),m(oe,"aria-controls",e(H)?void 0:e(Q)),m(oe,"aria-haspopup",e(H)?"dialog":void 0),m(Se,"title",e(V)?`${r.line.text} (${e(V)})`:r.line.text),P(_e,1,`block truncate text-[0.95rem] font-medium ${ee()?"text-muted-foreground":"text-foreground"}`),f(K,r.line.text)}),ne("click",oe,()=>r.line.kind==="decision"?void Ra(ya(r.line.card.id)):e(H)&&e(v)?r.onOpen?.(e(v)):r.onToggle()),d(Ce,Oe),Nt()}Pt(["click"]);var ur=oa('<circle cx="26" cy="26" class="gauge-value" transform="rotate(-90 26 26)"></circle>'),cr=c('<span class="gauge" aria-hidden="true"><svg viewBox="0 0 52 52"><circle cx="26" cy="26" class="gauge-track"></circle><!></svg> <span class="gauge-label"> </span></span>');function Dt(Ce,r){let ee=ye(r,"tone",3,"gold");const F=22,U=2*Math.PI*F,te=l(()=>r.value===null?0:Math.max(0,Math.min(100,Math.round(r.value))));var v=cr(),Q=s(v),V=s(Q);m(V,"r",F);var Y=n(V);{var de=H=>{var ce=ur();m(ce,"r",F),b(()=>m(ce,"stroke-dasharray",`${e(te)/100*U} 138.23007675795088`)),d(H,ce)};x(Y,H=>{r.value!==null&&e(te)>0&&H(de)})}o(Q);var ue=n(Q,2),xe=y(ue,!0);o(v),b(()=>{m(v,"data-tone",ee()),f(xe,r.value===null?"–":`${e(te)}%`)}),d(Ce,v)}var vr=c('<span class="min-w-0 truncate text-muted-foreground"> </span>'),mr=c('<!> <span class="shrink-0 font-medium text-brass"> </span> <!>',1),fr=c('<!> <span class="shrink-0 font-medium text-foreground"> </span>',1),gr=c('<p class="mb-1 flex items-center gap-2 px-1.5 text-xs text-muted-foreground"><!> <span class="min-w-0 truncate"> </span> <a class="ml-auto shrink-0 hover:text-foreground hover:underline">More</a></p>'),pr=c('<h3 class="mt-3 mb-0.5 first:mt-0"><button type="button"><!> <span class="shrink-0 text-muted-foreground tabular-nums"> </span> <span class="min-w-2 flex-1 border-t border-hair" aria-hidden="true"></span> <!></button></h3> <!>',1),hr=c("<span> <b> </b> left</span>"),xr=c('<a href="/headroom" class="ml-auto flex min-w-0 flex-col items-end rounded-md px-1.5 py-1 text-xs leading-tight text-muted-foreground hover:bg-muted hover:text-foreground max-md:min-h-11 max-md:justify-center" data-headroom=""><span class="sr-only">Claude headroom:</span> <!></a>'),_r=c('<a href="/headroom" class="ml-auto flex items-center gap-1.5 rounded-md px-1.5 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground" title="Connect your Claude usage to see what is left"><!>Connect usage</a>'),br=c('<button aria-label="Close"><!></button>'),kr=c('<button type="button" role="radio"><!> <span> </span> <span class="sr-only"> </span> <span aria-hidden="true"> </span></button>'),wr=c('<div class="shrink-0 px-4 pt-4"><div class="flex flex-wrap gap-2 text-[0.9rem]" role="radiogroup" aria-label="Whose work" tabindex="-1"></div></div>'),yr=c("<span> </span>"),Cr=c('<button role="tab" aria-controls="rail-panel"> <!></button>'),jr=c('<div class="px-1.5" data-slot="home.card"><!></div>'),Sr=c('<button type="button" class="float-right -mt-1 ml-2 flex cursor-pointer items-center gap-0.5 rounded-md px-1.5 py-1 text-xs whitespace-nowrap text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring max-md:float-none max-md:mt-0 max-md:ml-auto max-md:min-h-11 max-md:text-sm"><!> </button>'),Ir=c('<div class="mb-2" data-needs-decisions=""><!></div>'),Ar=c("<li><!></li>"),Tr=c("<ul></ul>"),zr=c('<p class="px-1.5 py-1 text-xs text-muted-foreground"> </p>'),Rr=c("<section><!> <!></section>"),Er=c('<p class="flex items-center gap-2 px-1.5 py-1 text-sm text-muted-foreground"><!> </p>'),Mr=c('<li><a class="flex h-8 items-center gap-2 rounded-md px-1.5 hover:bg-muted/50 focus-visible:outline-2 focus-visible:outline-ring"><span class="min-w-0 flex-1 truncate text-[0.875rem] text-muted-foreground"> </span> <span class="shrink-0 text-xs font-medium"> </span> <span class="w-7 shrink-0 text-right text-xs text-muted-foreground tabular-nums"> </span></a></li>'),Or=c('<div class="mt-4 mb-0.5 flex items-center gap-2 px-1.5 text-xs"><h3 class="flex items-center gap-1.5 font-medium text-muted-foreground"><!>Decided for you</h3> <span class="flex-1 border-t border-hair" aria-hidden="true"></span> <a href="/decisions" class="text-muted-foreground hover:text-foreground">See all</a></div> <ul></ul>',1),Lr=c('<a href="/time" class="mt-4 block rounded-md px-1.5 py-1 hover:bg-muted/50"><span class="block text-xs text-muted-foreground"><span class="font-medium text-foreground"> </span> </span> <span class="mt-1.5 block"><!></span> <span class="mt-1.5 block text-xs text-muted-foreground"> </span></a>'),Hr=c("<!> <div><!> <!></div> <!> <!>",1),qr=c('<a href="/second-mates" class="flex items-center justify-between gap-3 border-t px-1 py-3.5 text-muted-foreground hover:text-foreground">Every second mate, with its queue, pull requests and a look at it <!></a>'),Dr=c('<li class="mt-3 max-md:mt-1"><a class="group block text-sm max-md:py-1.5"><span class="flex items-baseline justify-between gap-2" aria-hidden="true"><span class="truncate font-medium group-hover:underline"> </span> <span class="shrink-0 text-xs text-muted-foreground"> </span></span> <span class="glance-bar" aria-hidden="true"><span></span></span></a></li>'),Br=c('<section class="mt-4 rounded-2xl border bg-card/70 px-4 pt-4 pb-4.5" aria-labelledby="rail-glance" data-glance=""><h3 id="rail-glance" class="font-semibold">Harbour at a glance</h3> <p class="text-sm text-muted-foreground">The fleet, without leaving the bridge.</p> <ul></ul></section>'),Nr=c('<aside class="flex h-full min-h-0 flex-col" aria-label="Tasks and decisions" aria-describedby="rail-headline"><p id="rail-headline" class="sr-only"> </p> <div class="flex h-16 shrink-0 items-center gap-2 border-b px-5 text-sm"><span class="font-title text-[2.15rem] leading-none">On <em class="text-gold">deck</em></span> <!> <!></div> <div class="grid shrink-0 grid-cols-2 gap-2.5 px-4 pt-4" data-gauges=""><a href="/headroom" class="gauge-card"><!> <span class="min-w-0"><span class="block font-semibold"> </span> <span class="block text-xs leading-snug text-muted-foreground"> </span></span></a> <a class="gauge-card"><!> <span class="min-w-0"><span class="block font-semibold">Checks</span> <span class="block text-xs leading-snug text-muted-foreground"> </span></span></a></div> <!> <div class="mt-3 no-scrollbar flex shrink-0 gap-5 overflow-x-auto border-b px-4" role="tablist" aria-label="On deck" tabindex="-1"></div> <div id="rail-panel" role="tabpanel" class="no-scrollbar min-h-0 flex-1 overflow-y-auto px-4 py-3"><!> <nav class="mt-5 flex flex-col" aria-label="More on deck"><a class="flex items-center justify-between gap-3 border-t px-1 py-3.5 font-medium hover:text-gold"> <!></a> <!></nav> <!></div></aside>');function Rn(Ce,r){Bt(r,!0);const ee=(t,a=Tt,i=Tt)=>{var h=pr(),u=he(h),E=s(u),M=s(E);{var T=p=>{var I=mr(),j=he(I);Ht(j,{class:"size-3.5 shrink-0 text-brass","aria-hidden":"true"});var O=n(j,2),B=y(O,!0),L=n(O,2);{var q=G=>{var N=vr(),$=y(N,!0);b(we=>f($,we),[()=>a().mate.where==="remote"?ht(a().mate.host):"on this computer"]),d(G,N)};x(L,G=>{a().mate&&G(q)})}b(()=>f(B,a().label)),d(p,I)},W=p=>{var I=fr(),j=he(I);qt(j,{class:"size-3.5 shrink-0 text-muted-foreground","aria-hidden":"true"});var O=n(j,2),B=y(O,!0);b(()=>f(B,a().label)),d(p,I)};x(M,p=>{a().id!==Ze?p(T):p(W,-1)})}var fe=n(M,2),ke=y(fe,!0),ge=n(fe,4);{var w=p=>{Rt(p,{get health(){return a().mate.health}})};x(ge,p=>{a().mate&&(a().mate.health.online!=="online"||a().mate.health.cached)&&p(w)})}o(E),o(u);var _=n(u,2);{var S=p=>{var I=gr(),j=s(I);Rt(j,{get health(){return a().mate.health}});var O=n(j,2),B=y(O),L=n(O,2);o(I),b(q=>{m(I,"data-second-mate",a().mate.id),m(O,"title",a().mate.lastReport?.text),f(B,`${a().mate.stateLabel??""}${a().mate.queued.length?` · ${a().mate.queued.length} queued`:""}${a().mate.lastReport?` · “${a().mate.lastReport.text}”`:""}`),m(L,"href",`/second-mates#mate-${q??""}`)},[()=>encodeURIComponent(a().mate.id)]),d(p,I)};x(_,p=>{a().mate&&e(K)===a().id&&p(S)})}b(p=>{m(u,"data-crew",a().id),P(E,1,`flex h-6 w-full items-center gap-1.5 rounded-md px-1.5 text-left text-xs focus-visible:outline-2 focus-visible:outline-ring ${e(K)===a().id?"cursor-default":"cursor-pointer hover:bg-muted/50"}`),m(E,"aria-label",`${a().label??""}${p??""}: ${i()??""}${e(K)===a().id?"":". Show only this crew"}`),f(ke,i())},[()=>a().mate?`, ${a().mate.where==="remote"?ht(a().mate.host):"on this computer"}`:""]),ne("click",E,()=>Ie(a().id)),d(t,h)};let F=ye(r,"insights",3,null),U=ye(r,"scope",3,null),te=ye(r,"cards",19,()=>[]),v=ye(r,"secondMates",19,()=>[]);const Q=t=>!U()||t===U(),V=l(()=>(F()?.decisions??[]).filter(t=>Q(t.projectId))),Y=l(()=>ga((F()?.today??[]).filter(t=>Q(t.projectId)))),de=l(()=>fa(e(Y))),ue=l(()=>(F()?.today??[]).filter(t=>Q(t.projectId)).length),xe=t=>e(de)?Math.round(e(Y)[t]/e(de)*100):0,H=l(()=>F()?.allowance??null),ce=l(()=>ua.data.inbox),Oe=l(()=>_t.view(e(ce))),je=l(()=>e(Oe)?.available?{shown:_t.shown(r.now,e(ce)).shown.filter(Ca),all:e(Oe).cards}:null),z=l(()=>_a(r.tasks,r.now,e(je),U())),Be=l(()=>[...e(z).needs,...e(z).withFirstmate,...e(z).under,...e(z).next,...e(z).landed]),oe=l(()=>U()?v().filter(t=>e(Be).some(a=>a.crew===t.id)):v()),se=l(()=>ba(e(oe),e(Be))),Se="wheelhouse-rail-crew";let _e=et(null);const K=l(()=>ka(e(_e),e(se)));function Ie(t){Ee(_e,t,!0);try{localStorage.setItem(Se,t)}catch{}}function tt(t){if(!["ArrowLeft","ArrowRight","Home","End"].includes(t.key))return;t.preventDefault();const a=[$e,...e(se).map(u=>u.id)],i=a.indexOf(e(K)),h=t.key==="Home"?0:t.key==="End"?a.length-1:(i+(t.key==="ArrowRight"?1:a.length-1))%a.length;Ie(a[h]),document.getElementById(Ne(a[h]))?.focus()}const Ne=t=>`rail-crew-${t.replace(/[^\w-]/g,"-")}`,be=t=>t.filter(a=>xt(e(K),a.crew)),at=t=>[...e(z).needs,...e(z).withFirstmate,...e(z).under].filter(a=>xt(t,a.crew)).length,rt=t=>e(z).needs.filter(a=>xt(t,a.crew)).length,R="wheelhouse-rail-tab",k=l(()=>[{id:"under",label:"Under way",count:be(e(z).under).length,strong:!1},{id:"needs",label:"Needs you",count:be(e(z).needs).length,strong:!0},{id:"landed",label:"Landed",count:be(e(z).landed).length,strong:!1},...te().map(t=>({id:t.key,label:t.title,count:t.badge??0,strong:!1}))]);let X=et("under");const A=l(()=>e(k).some(t=>t.id===e(X))?e(X):"under"),ie=l(()=>te().find(t=>t.key===e(A))??null);ra(()=>{Ot.load();try{Ee(X,localStorage.getItem(R)||"under",!0),Ee(_e,localStorage.getItem(Se),!0)}catch{}});function ve(t){Ee(X,t,!0);try{localStorage.setItem(R,t)}catch{}}function le(t){if(t.key!=="ArrowLeft"&&t.key!=="ArrowRight")return;t.preventDefault();const a=e(k).findIndex(h=>h.id===e(A)),i=e(k)[(a+(t.key==="ArrowRight"?1:e(k).length-1))%e(k).length];ve(i.id),document.getElementById(`rail-tab-${i.id}`)?.focus()}let J=et(!1);const ae=new da;function Le(t){ae.has(t)?ae.delete(t):ae.add(t)}const Ae=l(()=>be(e(z).needs).filter(t=>t.kind==="decision").length),Pe=l(()=>e(A)==="needs"?[...e(z).needs,...e(z).withFirstmate].filter(t=>t.kind!=="decision"):e(A)==="under"?[...e(z).under,...e(J)?e(z).next:[]]:e(A)==="landed"?e(z).landed:[]),nt=l(()=>wa(e(Pe),e(se),e(K))),Ue=l(()=>be(e(z).next).length),We=l(()=>e(K)===$e||e(K)===Ze);function Ge(t){if(!["ArrowDown","ArrowUp","Home","End"].includes(t.key))return;const i=[...t.currentTarget.querySelectorAll("[data-deck-line]")],h=i.indexOf(document.activeElement);if(h<0)return;t.preventDefault();const u=t.key==="Home"?0:t.key==="End"?i.length-1:Math.max(0,Math.min(i.length-1,h+(t.key==="ArrowDown"?1:-1)));i[u]?.focus()}const Fe=t=>!t||t==="unassigned"?null:r.projects.find(a=>a.id===t)?.name??t,Ye=l(()=>Pa(r.projects,Ot.names));function ot(t){const a=t.kind==="task"?t.task.projectId:t.card.projectId,i=Fe(a);return i?{name:i,tag:e(Ye).get(a)?.label??i}:null}const st=l(()=>Mt.taskId);function it(t){Ka.pending={kind:"task",id:t.id,title:t.shortTitle,project:Fe(t.projectId),url:null},r.onChat?.()}const re=l(()=>e(H)?.state==="ok"?e(H).windows.find(t=>/week/i.test(t.label))??e(H).windows[0]??null:null),lt=l(()=>r.tasks.filter(t=>Q(t.projectId))),Z=l(()=>Da(e(lt))),Ke=l(()=>Ba(r.projects.filter(t=>Q(t.id)&&t.id!=="unassigned"),r.tasks)),He={needs:"Nothing needs you right now.",under:"Nothing under way.",landed:"Nothing landed in the last day."};var qe=Nr(),De=s(qe),dt=y(De,!0),Te=n(De,2),me=n(s(Te),2);{var ut=t=>{var a=xr(),i=n(s(a),2);pe(i,17,()=>e(H).windows.slice(0,2),h=>h.id,(h,u)=>{var E=hr(),M=s(E),T=n(M),W=y(T);Me(),o(E),b(()=>{P(E,1,`whitespace-nowrap tabular-nums ${e(u).atRisk?"font-medium text-warning":e(u).id===e(re)?.id?"text-gold":""}`),f(M,`${e(u).label??""} `),P(T,1,`font-semibold ${e(u).id===e(re)?.id?"":"text-foreground"}`),f(W,`${e(u).percentLeft??""}%`)}),d(h,E)}),o(a),b(h=>m(a,"title",`Claude headroom: ${h??""}${F()?.atRisk?`. ${F().atRisk.label} may run out before it resets.`:""}`),[()=>e(H).windows.slice(0,2).map(h=>`${h.label} ${h.percentLeft}% left`).join(", ")]),d(t,a)},ze=t=>{var a=_r(),i=s(a);La(i,{class:"size-3.5","aria-hidden":"true"}),Me(),o(a),d(t,a)};x(me,t=>{e(H)?.state==="ok"&&e(H).windows.length?t(ut):e(H)?.state==="connect"&&t(ze,1)})}var ct=n(me,2);{var g=t=>{var a=br(),i=s(a);Ua(i,{class:"size-4"}),o(a),b(()=>P(a,1,`-mr-2 flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground ${e(H)?.state==="ok"||e(H)?.state==="connect"?"":"ml-auto"}`)),ne("click",a,function(...h){r.onClose?.apply(this,h)}),d(t,a)};x(ct,t=>{r.onClose&&t(g)})}o(Te);var C=n(Te,2),D=s(C),Re=s(D);{let t=l(()=>e(re)?.percentLeft??null);Dt(Re,{get value(){return e(t)},tone:"gold"})}var wt=n(Re,2),yt=s(wt),Wt=y(yt,!0),Gt=n(yt,2),Ft=y(Gt,!0);o(wt),o(D);var Qe=n(D,2),Ct=s(Qe);Dt(Ct,{get value(){return e(Z).percent},tone:"teal"});var jt=n(Ct,2),Yt=n(s(jt),2),Kt=y(Yt,!0);o(jt),o(Qe),o(C);var St=n(C,2);{var Qt=t=>{var a=wr(),i=s(a);pe(i,21,()=>[{id:$e,label:"All",short:"All",mate:null},...e(se)],h=>h.id,(h,u)=>{const E=l(()=>at(e(u).id)),M=l(()=>rt(e(u).id));var T=kr(),W=s(T);{var fe=j=>{Ht(j,{class:"size-3 shrink-0 text-brass","aria-hidden":"true"})},ke=j=>{qt(j,{class:"size-3 shrink-0","aria-hidden":"true"})};x(W,j=>{e(u).id!==Ze&&e(u).id!==$e?j(fe):e(u).id===Ze&&j(ke,1)})}var ge=n(W,2),w=y(ge,!0),_=n(ge,2),S=y(_),p=n(_,2),I=y(p,!0);o(T),b((j,O)=>{m(T,"id",j),m(T,"aria-checked",e(K)===e(u).id),m(T,"tabindex",e(K)===e(u).id?0:-1),P(T,1,`flex shrink-0 cursor-pointer items-center gap-1.5 rounded-full border px-3.5 py-1.5 whitespace-nowrap transition-colors focus-visible:outline-2 focus-visible:outline-ring ${e(K)===e(u).id?"border-foreground bg-foreground font-medium text-background":"text-foreground/85 hover:border-foreground/40 hover:text-foreground"}`),m(T,"title",`${e(u).label??""}${O??""}: ${e(E)??""} in play${e(M)?`, ${e(M)} waiting on you`:""}`),f(w,e(u).short),f(S,`: ${e(E)??""} in play${e(M)?`, ${e(M)} waiting on you`:""}`),P(p,1,`shrink-0 font-mono text-[0.75rem] tabular-nums ${e(M)?"rounded-full bg-sea px-[5px] font-semibold text-on-accent":"opacity-70"}`),f(I,e(M)||e(E))},[()=>Ne(e(u).id),()=>e(u).mate?.host?` ${ht(e(u).mate.host)}`:""]),ne("click",T,()=>Ie(e(u).id)),d(h,T)}),o(i),o(a),ne("keydown",i,tt),d(t,a)};x(St,t=>{e(se).length>1&&t(Qt)})}var Ve=n(St,2);pe(Ve,21,()=>e(k),t=>t.id,(t,a)=>{var i=Cr(),h=s(i,!0),u=n(h);{var E=M=>{var T=yr(),W=y(T,!0);b(()=>{P(T,1,`tabular rounded-full px-1.5 text-xs leading-4 font-semibold ${e(a).strong?"bg-sea text-on-accent":"bg-muted text-muted-foreground"}`),f(W,e(a).count)}),d(M,T)};x(u,M=>{e(a).count&&M(E)})}o(i),b(()=>{m(i,"id",`rail-tab-${e(a).id??""}`),m(i,"aria-selected",e(A)===e(a).id),m(i,"tabindex",e(A)===e(a).id?0:-1),P(i,1,`-mb-px flex shrink-0 cursor-pointer items-center gap-1.5 border-b-[2.5px] px-0.5 py-2.5 text-base whitespace-nowrap transition-colors duration-200 focus-visible:outline-2 focus-visible:outline-ring ${e(A)===e(a).id?"border-gold font-semibold text-foreground":"border-transparent text-muted-foreground hover:text-foreground"}`),f(h,e(a).label)}),ne("click",i,()=>ve(e(a).id)),d(t,i)}),o(Ve);var vt=n(Ve,2),It=s(vt);{var Vt=t=>{var a=jr(),i=s(a);Aa(i,{get entry(){return e(ie)},get now(){return r.now}}),o(a),d(t,a)},Xt=t=>{var a=Hr(),i=he(a);{var h=w=>{var _=Sr(),S=s(_);{let I=l(()=>e(J)?"rotate-90":"");Wa(S,{get class(){return`size-3.5 transition-transform ${e(I)??""}`},"aria-hidden":"true"})}var p=n(S);o(_),b(()=>{m(_,"aria-expanded",e(J)),f(p,`Up next · ${e(Ue)??""}`)}),ne("click",_,()=>Ee(J,!e(J))),d(w,_)};x(i,w=>{e(A)==="under"&&e(Ue)&&w(h)})}var u=n(i,2),E=s(u);{var M=w=>{var _=Ir(),S=s(_);{let p=l(()=>({projectId:U()}));Na(S,{get filter(){return e(p)},compact:!0})}o(_),d(w,_)};x(E,w=>{e(A)==="needs"&&e(Ae)&&w(M)})}var T=n(E,2);pe(T,17,()=>e(nt),w=>w.crew.id,(w,_)=>{var S=Rr(),p=s(S);{var I=L=>{ee(L,()=>e(_).crew,()=>e(_).lines.length)};x(p,L=>{e(se).length>1&&L(I)})}var j=n(p,2);{var O=L=>{var q=Tr();pe(q,21,()=>e(_).lines,G=>G.key,(G,N)=>{var $=Ar(),we=s($);{let Je=l(()=>ae.has(e(N).key)),ft=l(()=>ot(e(N))),gt=l(()=>e(N).kind==="task"&&(e(N).task.status==="queued"||e(N).task.status==="landed")),pt=l(()=>e(N).kind==="task"&&e(N).task.id===e(st));dr(we,{get line(){return e(N)},get now(){return r.now},get open(){return e(Je)},get project(){return e(ft)},get dim(){return e(gt)},get selected(){return e(pt)},onToggle:()=>Le(e(N).key),onOpen:aa=>Mt.openTask(aa.id),onChat:it})}o($),zt(1,$,()=>ja),zt(2,$,()=>Sa,()=>({word:e(N).kind==="decision"?_t.stampFor(e(N).card.id):null})),d(G,$)}),o(q),d(L,q)},B=L=>{var q=zr(),G=y(q,!0);b(()=>f(G,He[e(A)])),d(L,q)};x(j,L=>{e(_).lines.length?L(O):e(A)==="needs"&&e(Ae)||L(B,1)})}o(S),b(()=>{m(S,"aria-label",e(_).crew.label),m(S,"data-crew-group",e(_).crew.id)}),d(w,S)},w=>{var _=sa(),S=he(_);{var p=I=>{var j=Er(),O=s(j);{var B=q=>{Ga(q,{class:"size-4 text-success","aria-hidden":"true"})};x(O,q=>{e(A)==="needs"&&q(B)})}var L=n(O,1,!0);o(j),b(()=>f(L,He[e(A)])),d(I,j)};x(S,I=>{e(A)==="needs"&&e(Ae)||I(p)})}d(w,_)}),o(u);var W=n(u,2);{var fe=w=>{var _=Or(),S=he(_),p=s(S),I=s(p);Fa(I,{class:"size-3.5","aria-hidden":"true"}),Me(),o(p),Me(4),o(S);var j=n(S,2);pe(j,21,()=>e(V).slice(0,3),O=>O.id,(O,B)=>{var L=Mr(),q=s(L),G=s(q),N=y(G,!0),$=n(G,2),we=y($,!0),Je=n($,2),ft=y(Je,!0);o(q),o(L),b((gt,pt)=>{m(q,"href",`/decisions#${e(B).id??""}`),m(q,"title",e(B).question),f(N,e(B).taskTitle),f(we,e(B).verdict),m(Je,"title",gt),f(ft,pt)},[()=>kt(e(B).decidedAt,r.now),()=>Ut(e(B).decidedAt,r.now)]),d(O,L)}),o(j),d(w,_)};x(W,w=>{e(A)==="needs"&&e(V).length&&e(We)&&w(fe)})}var ke=n(W,2);{var ge=w=>{var _=Lr(),S=s(_),p=s(S),I=y(p,!0),j=n(p);o(S);var O=n(S,2),B=s(O);Ia(B,{get seconds(){return e(Y)},label:"Today"}),o(O);var L=n(O,2),q=y(L);o(_),b((G,N,$,we)=>{f(I,G),f(j,` of crew time today on ${e(ue)??""}
2
+ ${e(ue)===1?"task":"tasks"}`),f(q,`${N??""}% building · ${$??""}% automated review · ${we??""}%
3
+ waiting on you`)},[()=>pa(e(de)),()=>xe("build"),()=>xe("review"),()=>xe("captain")]),d(w,_)};x(ke,w=>{e(A)==="landed"&&e(de)>0&&e(We)&&w(ge)})}ne("keydown",u,Ge),d(t,a)};x(It,t=>{e(ie)?t(Vt):t(Xt,-1)})}var mt=n(It,2),Xe=s(mt),At=s(Xe),Jt=n(At);Lt(Jt,{class:"size-4 shrink-0 text-gold","aria-hidden":"true"}),o(Xe);var Zt=n(Xe,2);{var $t=t=>{var a=qr(),i=n(s(a));Lt(i,{class:"size-4 shrink-0 text-gold","aria-hidden":"true"}),o(a),d(t,a)};x(Zt,t=>{e(oe).length&&t($t)})}o(mt);var ea=n(mt,2);{var ta=t=>{var a=Br(),i=n(s(a),4);pe(i,21,()=>e(Ke),h=>h.id,(h,u)=>{var E=Dr(),M=s(E),T=s(M),W=s(T),fe=y(W,!0),ke=n(W,2),ge=y(ke,!0);o(T);var w=n(T,2),_=s(w);let S;o(w),o(M),o(E),b((p,I)=>{m(M,"href",`/projects/${p??""}`),m(M,"aria-label",`${e(u).name??""}: ${e(u).word??""}, ${e(u).landed??""}% of its work landed`),f(fe,e(u).name),f(ge,e(u).word),m(w,"data-tone",e(u).tone),S=la(_,"",S,{width:I})},[()=>encodeURIComponent(e(u).id),()=>`${Math.max(e(u).landed,3)}%`]),d(h,E)}),o(i),o(a),d(t,a)};x(ea,t=>{e(Ke).length&&t(ta)})}o(vt),o(qe),b((t,a,i)=>{f(dt,t),m(D,"aria-label",e(re)?`Claude headroom: ${e(re).label}, ${e(re).percentLeft}% left`:"Claude headroom: not read yet"),f(Wt,e(re)?.label??"Headroom"),f(Ft,e(re)?"Of Claude’s allowance left until it resets":e(H)?.state==="connect"?"Connect your Claude usage to see it":"Claude’s limits are not read yet"),m(Qe,"href",a),m(Qe,"aria-label",`Checks: ${e(Z).percent??""}% of the work in play has nothing failing${e(Z).failing?`, ${e(Z).failing} failing`:""}`),f(Kt,e(Z).failing?`${e(Z).failing} of ${e(Z).inPlay} in play failing`:e(Z).inPlay?`Nothing failing across ${e(Z).inPlay} in play`:"Nothing in play"),m(vt,"aria-labelledby",`rail-tab-${e(A)??""}`),m(Xe,"href",i),f(At,`${U()?"Open the project’s page":"Open every project in Harbour"} `)},[()=>ca(e(z).h),()=>U()?`/projects/${encodeURIComponent(U())}`:"/harbour",()=>U()?`/projects/${encodeURIComponent(U())}`:"/harbour"]),ne("keydown",Ve,le),d(Ce,qe),Nt()}Pt(["click","keydown"]);const Pr=6e4;class Ur{#e=et(null);get value(){return e(this.#e)}set value(r){Ee(this.#e,r,!0)}seed(r){r&&(this.value=r)}connect(r=document){return Ya({load:async()=>{const ee=await fetch("/api/insights");return ee.ok?await ee.json():null},intervalMs:Pr,immediate:!1,onresult:ee=>{ee&&(this.value=ee)},onerror:()=>{},doc:r})}}const En=new Ur;export{Rn as R,Ka as c,En as r};
@@ -0,0 +1,4 @@
1
+ import"./DsnmJJEf.js";import{d as J,e as Le,i as e,k as te,p as Be,q as Fe,h as _,s as v,r as w,t as x,a as l,b as Ue,j as L,aA as We,o as X,x as _e,f as G,c as u,n as we}from"./Jk-ASPRO.js";import{d as Ke,s as q,a as oe}from"./DTApYZoW.js";import{i as m}from"./BEVJas-l.js";import{k as Ye}from"./CsFoEe5t.js";import{s as ee,a as k,c as Ve,j as be}from"./DNP6oCAK.js";import{b as Pe,M as $e}from"./BbLERgY7.js";import{b as Xe}from"./DLfKkHEy.js";import{s as qe,r as Ge,p as B}from"./DQWg__9S.js";import{c as Je,r as Oe}from"./V9uGi6jc.js";import{a as le,f as Qe}from"./BdjCJ4uL.js";import{C as Ze}from"./fE4moRZ8.js";import{R as Ie}from"./BgsPzvvM.js";import{E as xe}from"./gEZHG5dd.js";import{M as et}from"./BK_MXWSk.js";import{I as tt}from"./DE0e4nJ8.js";var at=new Set(["$$slots","$$events","$$legacy"]);function Ae(n,t){let a=Ge(t,at);const s={name:"monitor-off",size:24,node:[["path",{d:"M12 17v4"}],["path",{d:"M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826"}],["path",{d:"m2 2 20 20"}],["path",{d:"M8 21h8"}],["path",{d:"M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042"}]]};tt(n,qe(()=>a,{get icon(){return s}}))}const rt=15e3,nt=n=>`url:${n}`,it=n=>n.startsWith("url:")?`/api/previews/check?url=${encodeURIComponent(n.slice(4))}`:`/api/tasks/${encodeURIComponent(n)}/preview`,st=5e3;class ot{#e=J(Le({}));get checks(){return e(this.#e)}set checks(t){te(this.#e,t,!0)}#t=J(Le({}));get failed(){return e(this.#t)}set failed(t){te(this.#t,t,!0)}watching=new Map;running=new Map;unlisten=null;stopped(t){return this.checks[t]?.state==="down"}watch(t){const a=this.watching.get(t);a?a.count++:(this.watching.set(t,{count:1,timer:null}),this.refresh(t)),this.listen();let s=!1;return()=>{if(s)return;s=!0;const y=this.watching.get(t);!y||--y.count>0||(y.timer&&clearTimeout(y.timer),this.watching.delete(t),this.watching.size||(this.unlisten?.(),this.unlisten=null))}}refresh(t){const a=this.running.get(t);if(a)return a;const s=this.load(t).finally(()=>{this.running.delete(t),this.schedule(t)});return this.running.set(t,s),s}clear(){for(const t of this.watching.values())t.timer&&clearTimeout(t.timer);this.watching.clear(),this.unlisten?.(),this.unlisten=null,this.checks={},this.failed={}}async load(t){try{const a=await fetch(it(t));if(!a.ok)throw new Error(String(a.status));this.checks[t]=await a.json(),this.failed[t]=!1}catch{this.failed[t]=!0}}schedule(t){const a=this.watching.get(t);if(!a)return;a.timer&&clearTimeout(a.timer);const s=this.checks[t]?.state==="live"?rt:st;a.timer=setTimeout(()=>{a.timer=null,document.visibilityState!=="hidden"&&this.refresh(t)},s)}listen(){if(this.unlisten)return;const t=()=>{if(document.visibilityState!=="hidden")for(const a of this.watching.keys())this.refresh(a)};window.addEventListener("focus",t),document.addEventListener("visibilitychange",t),this.unlisten=()=>{window.removeEventListener("focus",t),document.removeEventListener("visibilitychange",t)}}}const ce=new ot,Zt=500,ae=n=>n.replace(/\s+/g," ").trim(),lt=(n,t)=>n.length>t?n.slice(0,t-1).trimEnd()+"…":n;function ke(n){const t=n.y<.3333333333333333?"top":n.y<.6666666666666666?"middle":"bottom",a=n.x<1/3?"left":n.x<2/3?"":"right";return t==="middle"&&!a?"the middle":`the ${t}${a?` ${a}`:""}`}const ct={button:"button",a:"link",input:"box",textarea:"box",select:"menu",img:"picture",h1:"heading",h2:"heading",h3:"heading",h4:"heading",label:"label",li:"item"};function dt(n,t,a){const s=n?.closest('button, a, input, textarea, select, img, h1, h2, h3, h4, label, li, [role="button"]')??n;if(s&&s.tagName!=="HTML"&&s.tagName!=="BODY"){const y=s.tagName.toLowerCase(),E=s.getAttribute("role")==="button"?"button":ct[y]??"part of the page",T=lt(ae(s.value||s.getAttribute("aria-label")||s.getAttribute("alt")||s.textContent||""),60);return{kind:"element",label:T?`the “${T}” ${E}`:`a ${E} near ${ke(t)}`,detail:`<${y}>${T?` “${T}”`:""}, near ${ke(t)} of the page`}}return{kind:"spot",label:`a spot near ${ke(t)} of the page`,detail:`${Math.round(t.x*100)}% across and ${Math.round(t.y*100)}% down the part of the page in view (${a.w}×${a.h})`}}const ut=/^Preview feedback for (\S+) \((.+)\), sent together from the Preview tab \(([^)\n]*)\):$/,ht=/^Feedback for (\S+) \((.+)\), sent together from the “([^“”\n]+)” plugin \(([a-z][a-z0-9-]*)\)(?:, about (.+))?:$/,vt="Firstmate: pass these to this task’s worker, the same task (start no new one). You may add notes of your own, marked as yours.",pt=n=>n.flatMap((t,a)=>[`${a+1}. ${ae(t.text)}`,...t.points&&ae(t.points)?[` Points at: ${ae(t.points)}`]:[]]);function It(n,t,a){return[`Preview feedback for ${n.id} (${ae(n.title)}), sent together from the Preview tab (${t}):`,...pt(a.map(s=>({text:s.text,points:s.points?.label??null}))),"",vt].join(`
2
+ `)}function ea(n){const t=n.replace(/\r\n?/g,`
3
+ `).split(`
4
+ `),a=ut.exec(t[0]??""),s=a?null:ht.exec(t[0]??""),y=a??s;if(!y)return null;const E=[];for(const T of t.slice(1)){const F=/^\d+\. (.+)$/.exec(T);if(F){E.push({text:F[1],points:null});continue}const re=/^ {3}Points at: (.+)$/.exec(T);re&&E.length&&(E[E.length-1].points=re[1])}return E.length?{taskId:y[1],title:y[2],url:a?a[3]:null,plugin:s?{id:s[4],name:s[3],subject:s[5]??null}:null,items:E,...t[1]?.startsWith("Live review session:")?{live:!0}:{}}:null}var ft=u('<span class="inline-flex shrink-0 items-center gap-1" data-preview-translated=""><!><span class="max-md:sr-only"> </span></span>'),mt=u('<button type="button" class="rounded p-1 hover:bg-accent hover:text-foreground max-md:grid max-md:size-11 max-md:place-items-center"><!></button>'),gt=u('<a target="_blank" rel="noreferrer" class="inline-flex shrink-0 items-center gap-1 rounded px-1 py-0.5 text-sea hover:underline max-md:min-h-11">Open in new tab<!></a>'),_t=u('<button type="button" class="inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-accent max-md:min-h-11" data-preview-fullscreen=""><!>Full screen</button>'),wt=u('<div class="flex items-center gap-2 text-xs text-muted-foreground"><span class="min-w-0 flex-1 truncate font-mono"> </span> <!> <!> <!> <!></div>'),bt=u('<iframe referrerpolicy="no-referrer" loading="lazy"></iframe>'),xt=u('<button type="button" class="absolute inset-0 cursor-zoom-in" aria-label="Open the preview full size" data-preview-open=""><span class="absolute right-2.5 bottom-2.5 flex items-center gap-1.5 rounded-md border border-hair bg-card/95 px-2 py-1 text-xs font-medium text-foreground opacity-0 shadow-sm transition-opacity group-focus-within:opacity-100 group-hover:opacity-100"><!>Open full size</span></button>'),kt=u("<!> <!>",1),yt=u('<button type="button" class="absolute inset-0 cursor-crosshair bg-sea/5 ring-2 ring-sea ring-inset" aria-label="Point at part of the page" data-preview-pointing=""><span class="pointer-events-none absolute top-3 left-1/2 flex -translate-x-1/2 items-center gap-2 rounded-full bg-sea px-3.5 py-1.5 text-sm text-on-accent shadow-lg"><!>Click the part you mean</span></button>'),zt=u('<span class="pointer-events-none absolute size-5 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white bg-sea shadow-md ring-2 ring-sea/40" aria-hidden="true" data-preview-pin=""></span>'),Ct=u('<iframe referrerpolicy="no-referrer"></iframe> <!>',1),Mt=u('<span class="block text-xs"> </span>'),Et=u('<a target="_blank" rel="noreferrer" class="relative z-10 mt-1 inline-flex items-center gap-1 text-xs text-sea hover:underline" data-preview-newtab="">Open in new tab<!></a>'),Lt=u('<a class="relative z-10 mt-1 inline-block text-xs text-sea hover:underline" data-preview-report="">Open the report</a>'),Pt=u('<div class="flex items-start gap-2.5 px-4 py-3 text-muted-foreground" data-preview-notice=""><!> <p class="min-w-0 text-sm"><span> </span> <!> <!> <!></p></div>'),$t=u('<p class="text-sm"> </p>'),Ot=u('<a target="_blank" rel="noreferrer" class="mt-2 inline-flex items-center gap-1 text-sm text-sea hover:underline" data-preview-newtab="">Open in new tab<!></a>'),At=u('<a class="mt-2 inline-block text-sm text-sea hover:underline" data-preview-report="">Open the report</a>'),Ht=u('<!> <p class="mt-2 text-sm font-medium"> </p> <p class="mt-1 text-xs"> </p> <!> <!>',1),St=u('<div class="grid size-full place-items-center p-4 text-center text-muted-foreground" data-preview-notice=""><div><!></div></div>'),Tt=u("<div><!> <div><!></div></div>");function ta(n,t){Be(t,!0);let a=B(t,"taskId",3,null),s=B(t,"url",3,null),y=B(t,"compact",3,!1),E=B(t,"fill",3,!1),T=B(t,"desktop",3,!1),F=B(t,"toolbar",3,!0),re=B(t,"pointing",3,!1),de=B(t,"pin",3,null),ue=J(null);function He(p){const d=p.currentTarget.getBoundingClientRect(),P=p.clientX-d.left,S=p.clientY-d.top;let C=null;const R=e(pe)?e(U):1;try{C=e(ue)?.contentDocument?.elementFromPoint(P/R,S/R)??null}catch{C=null}const N={x:d.width?P/d.width:0,y:d.height?S/d.height:0};t.onpoint?.(dt(C,N,{w:Math.round(d.width),h:Math.round(d.height)}),N)}const ne={w:1280,h:800};let ye=J(0),he=J(0),ze=J(0);const ie=L(()=>a()??nt(s()??""));Fe(()=>ce.watch(e(ie)));const g=L(()=>ce.checks[e(ie)]??null),ve=L(()=>!!ce.failed[e(ie)]),D=L(()=>e(g)?.state==="live"),j=L(()=>e(g)?.url??null),z=L(()=>e(j)&&e(g)?le.view(e(j)):null),Ce=L(()=>e(z)?Qe(e(z),location.origin):""),U=L(()=>e(he)?e(he)/ne.w:0),pe=L(()=>E()&&T()&&e(U)>0&&e(U)<1);function Me(){We(ye),ce.refresh(e(ie))}var Se={reload:Me},Q=Tt(),Ee=_(Q);{var Te=p=>{var d=wt(),P=_(d),S=X(P,!0),C=v(P,2);{var R=c=>{var o=ft(),i=_(o);Ze(i,{class:"size-3.5","aria-hidden":"true"});var r=v(i),b=X(r,!0);w(o),x($=>{k(o,"title",$),q(b,le.remote?"via Wheelhouse Cloud":"translated")},[()=>le.where(e(z))]),l(c,o)};m(C,c=>{e(z)&&e(j)&&e(z)!==e(j)&&le.translating&&c(R)})}var N=v(C,2);{var I=c=>{var o=mt(),i=_(o);Ie(i,{class:"size-3.5"}),w(o),x(()=>{k(o,"aria-label",e(D)?"Reload the preview":"Check the preview again"),k(o,"title",e(D)?"Reload":"Check again")}),oe("click",o,Me),l(c,o)};m(N,c=>{(e(D)||e(g)?.state==="blocked"||e(g)?.state==="down")&&c(I)})}var A=v(N,2);{var M=c=>{var o=gt(),i=v(_(o));xe(i,{class:"size-3.5","aria-hidden":"true"}),w(o),x(()=>k(o,"href",e(z))),l(c,o)};m(A,c=>{(e(D)||e(g)?.state==="blocked")&&c(M)})}var h=v(A,2);{var H=c=>{var o=_t(),i=_(o);$e(i,{class:"size-3.5","aria-hidden":"true"}),we(),w(o),oe("click",o,function(...r){t.onfullscreen?.apply(this,r)}),l(c,o)};m(h,c=>{t.onfullscreen&&e(D)&&c(H)})}w(d),x(()=>{k(P,"title",e(j)??void 0),q(S,e(j)??"Live preview")}),l(p,d)};m(Ee,p=>{F()&&p(Te)})}var Z=v(Ee,2),Re=_(Z);{var Ne=p=>{var d=_e(),P=G(d);Ye(P,()=>`${e(z)} ${e(ye)}`,S=>{var C=_e(),R=G(C);{var N=A=>{var M=kt(),h=G(M);{var H=i=>{var r=bt();x(()=>{k(r,"src",e(z)),k(r,"title",`Live preview of ${e(j)??""}`),k(r,"sandbox",e(Ce)),r.inert=!!t.onopen,ee(r,1,`absolute top-0 left-0 origin-top-left border-0 bg-white ${t.onopen?"pointer-events-none":""}`),be(r,`width:${ne.w}px;height:${ne.h}px;transform:scale(${e(U)??""})`)}),l(i,r)};m(h,i=>{e(U)&&i(H)})}var c=v(h,2);{var o=i=>{var r=xt(),b=_(r),$=_(b);$e($,{class:"size-3.5","aria-hidden":"true"}),we(),w(b),w(r),oe("click",r,function(...W){t.onopen?.apply(this,W)}),l(i,r)};m(c,i=>{t.onopen&&i(o)})}l(A,M)},I=A=>{var M=Ct(),h=G(M);Xe(h,i=>te(ue,i),()=>e(ue));var H=v(h,2);{var c=i=>{var r=yt(),b=_(r),$=_(b);et($,{class:"size-4","aria-hidden":"true"}),we(),w(b),w(r),oe("click",r,He),l(i,r)},o=i=>{var r=zt();x(()=>be(r,`left:${de().x*100}%;top:${de().y*100}%`)),l(i,r)};m(H,i=>{re()?i(c):de()&&i(o,1)})}x(()=>{k(h,"src",e(z)),k(h,"title",`Live preview of ${e(j)??""}`),k(h,"sandbox",e(Ce)),ee(h,1,Ve(e(pe)?"absolute top-0 left-0 origin-top-left border-0 bg-white":"size-full border-0 bg-white")),be(h,e(pe)?`width:${ne.w}px;height:${e(ze)/e(U)}px;transform:scale(${e(U)})`:void 0)}),l(A,M)};m(R,A=>{y()?A(N):A(I,-1)})}l(S,C)}),l(p,d)},De=p=>{const d=L(()=>!e(g)&&!e(ve)),P=L(()=>e(d)?"Checking the preview…":e(ve)?"Could not check the preview":e(g)?.state==="down"?"Preview stopped":e(g)?.state==="blocked"?"Preview cannot be embedded":e(g)?.state==="refused"?"Preview not shown here":"No live preview reported"),S=L(()=>e(d)?"":e(ve)?"Wheelhouse did not answer; it will try again.":e(g)?.state==="blocked"?`${e(g).reason} Open it in a new tab instead.`:e(g)?.reason??""),C=L(()=>e(g)?.state==="down"&&a()?Je.recordFor(a()):null);var R=_e(),N=G(R);{var I=M=>{var h=Pt(),H=_(h);{var c=f=>{Ae(f,{class:"mt-0.5 size-4 shrink-0","aria-hidden":"true"})};m(H,f=>{e(d)||f(c)})}var o=v(H,2),i=_(o),r=X(i,!0),b=v(i,2);{var $=f=>{var O=Mt(),K=X(O,!0);x(()=>q(K,e(S))),l(f,O)};m(b,f=>{e(S)&&f($)})}var W=v(b,2);{var fe=f=>{var O=Et(),K=v(_(O));xe(K,{class:"size-3","aria-hidden":"true"}),w(O),x(()=>k(O,"href",e(z))),l(f,O)};m(W,f=>{e(g)?.state==="blocked"&&e(z)&&!F()&&f(fe)})}var se=v(W,2);{var me=f=>{var O=Lt();x(K=>k(O,"href",K),[()=>Oe(e(C).key)]),l(f,O)};m(se,f=>{e(C)&&f(me)})}w(o),w(h),x(()=>{ee(i,1,`font-medium ${e(d)?"":"text-foreground"}`),q(r,e(P))}),l(M,h)},A=M=>{var h=St(),H=_(h),c=_(H);{var o=r=>{var b=$t(),$=X(b,!0);x(()=>q($,e(P))),l(r,b)},i=r=>{var b=Ht(),$=G(b);Ae($,{class:"mx-auto size-6","aria-hidden":"true"});var W=v($,2),fe=X(W,!0),se=v(W,2),me=X(se,!0),f=v(se,2);{var O=Y=>{var V=Ot(),ge=v(_(V));xe(ge,{class:"size-3.5","aria-hidden":"true"}),w(V),x(()=>k(V,"href",e(z))),l(Y,V)};m(f,Y=>{e(g)?.state==="blocked"&&e(z)&&!F()&&Y(O)})}var K=v(f,2);{var je=Y=>{var V=At();x(ge=>k(V,"href",ge),[()=>Oe(e(C).key)]),l(Y,V)};m(K,Y=>{e(C)&&Y(je)})}x(()=>{q(fe,e(P)),q(me,e(S))}),l(r,b)};m(c,r=>{e(d)?r(o):r(i,-1)})}w(H),w(h),l(M,h)};m(N,M=>{y()?M(I):M(A,-1)})}l(p,R)};m(Re,p=>{e(D)&&e(z)?p(Ne):p(De,-1)})}return w(Z),w(Q),x(()=>{ee(Q,1,`min-w-0 ${E()?"flex h-full flex-col":""}`),k(Q,"data-live-preview",e(g)?.state??"checking"),ee(Z,1,`group relative w-full overflow-hidden bg-muted/40 ${F()?"mt-1.5 rounded-lg border":""} ${y()?e(D)?"aspect-[16/10]":"":E()?"min-h-0 flex-1":e(D)?"h-[70vh] min-h-80":"h-40"}`)}),Pe(Z,"clientWidth",p=>te(he,p)),Pe(Z,"clientHeight",p=>te(ze,p)),l(n,Q),Ue(Se)}Ke(["click"]);export{ta as L,Ae as M,Zt as a,It as b,ea as c,ce as p,nt as u};
@@ -0,0 +1 @@
1
+ import{d as r,i as n,k as i,e as f}from"./Jk-ASPRO.js";import{p as d}from"./CWXMOoE5.js";import{w as g}from"./RYvdmj4W.js";const m="wheelhouse-live",w="wheelhouse-live-leader",y=2*6e4;class v{#e=r(null);get fleet(){return n(this.#e)}set fleet(e){i(this.#e,e)}#t=r(null);get eventsPaused(){return n(this.#t)}set eventsPaused(e){i(this.#t,e,!0)}#s=r(null);get health(){return n(this.#s)}set health(e){i(this.#s,e,!0)}#a=r(null);get messages(){return n(this.#a)}set messages(e){i(this.#a,e)}#r=r(null);get crew(){return n(this.#r)}set crew(e){i(this.#r,e,!0)}#n=r("connecting");get connection(){return n(this.#n)}set connection(e){i(this.#n,e,!0)}#i=r(f(Date.now()));get now(){return n(this.#i)}set now(e){i(this.#i,e,!0)}#l=r(0);get revision(){return n(this.#l)}set revision(e){i(this.#l,e,!0)}#h=r(!1);get leader(){return n(this.#h)}set leader(e){i(this.#h,e,!0)}claim=()=>!0;alertListeners=new Set;restartListeners=new Set;serverId=null;latest={};recentAlerts=new Map;channel=null;stop=null;onAlert(e){return this.alertListeners.add(e),()=>this.alertListeners.delete(e)}onRestart(e){return this.restartListeners.add(e),()=>this.restartListeners.delete(e)}connect(){if(this.stop)return()=>{};const e=setInterval(()=>this.now=Date.now(),15e3),l=typeof BroadcastChannel<"u"&&!!globalThis.navigator?.locks?this.share():this.lead();return this.stop=()=>{clearInterval(e),l(),this.stop=null},this.stop}share(){const e=new BroadcastChannel(m);this.channel=e,e.onmessage=h=>{const s=h.data;s.t==="hello"?this.leader&&this.replay():s.t==="connection"?this.leader||(this.connection=s.state):this.leader||this.apply(s.e)};const a=new AbortController;let l=()=>{};return navigator.locks.request(w,{signal:a.signal},()=>{const h=this.lead();return new Promise(s=>{l=()=>{h(),s()}})}).catch(()=>{}),e.postMessage({t:"hello"}),()=>{a.abort(),l(),e.close(),this.channel=null}}lead(){this.leader=!0;const e=h=>{this.connection=h,this.post({t:"connection",state:h})},l=g("/api/events",h=>{const s=(t,o)=>h.addEventListener(t,p=>{const c=o(JSON.parse(p.data));this.remember(c),this.apply(c),this.post({t:"event",e:c}),c.type==="fleet"&&e("open")});s("server",t=>({type:"server",data:t})),s("events-status",t=>({type:"events-status",data:t})),s("fleet",t=>({type:"fleet",data:t})),s("health",t=>({type:"health",data:t})),s("messages",t=>({type:"messages",data:t})),s("crew",t=>({type:"crew",data:t})),s("alert",t=>({type:"alert",data:t,fresh:this.claim(t)})),s("settled",t=>({type:"settled",data:t})),s("alerts",t=>({type:"alerts",data:t.map(o=>{const p=this.claim(o);return{alert:o,fresh:p&&Date.now()-Date.parse(o.at)<=y}})}))},e);return()=>{l(),this.leader=!1}}remember(e){if(e.type==="alert")this.recentAlerts.set(e.data.id,e.data);else if(e.type==="settled")this.recentAlerts.delete(e.data);else if(e.type==="alerts")for(const a of e.data)this.recentAlerts.set(a.alert.id,a.alert);else this.latest[e.type]=e.data;for(const a of[...this.recentAlerts.keys()].slice(0,-40))this.recentAlerts.delete(a)}replay(){this.post({t:"connection",state:this.connection}),this.latest["events-status"]&&this.post({t:"event",e:{type:"events-status",data:this.latest["events-status"]}}),this.latest.fleet&&this.post({t:"event",e:{type:"fleet",data:this.latest.fleet}}),this.latest.health&&this.post({t:"event",e:{type:"health",data:this.latest.health}}),this.latest.messages&&this.post({t:"event",e:{type:"messages",data:this.latest.messages}}),this.latest.crew&&this.post({t:"event",e:{type:"crew",data:this.latest.crew}}),this.latest.server&&this.post({t:"event",e:{type:"server",data:this.latest.server}});const e=[...this.recentAlerts.values()].map(a=>({alert:a,fresh:!1}));this.post({t:"event",e:{type:"alerts",data:e}})}apply(e){switch(e.type){case"events-status":this.eventsPaused=e.data.paused;break;case"fleet":this.fleet=e.data,this.revision++,this.connection="open";break;case"health":this.health=e.data;break;case"messages":this.messages=e.data;break;case"crew":this.crew=e.data;break;case"server":{const a=this.serverId!==null&&this.serverId!==e.data.id;if(this.serverId=e.data.id,a)for(const l of this.restartListeners)l();break}default:for(const a of this.alertListeners)a(e)}}post(e){try{this.channel?.postMessage(e)}catch{}}}const u=new v;function C(){return u.fleet??d.data.fleet??null}function I(){return u.health??d.data.health??null}function P(){return u.messages??d.data.messages??null}function S(){return u.crew??d.data.crew??null}export{S as a,I as b,C as c,P as d,u as l};
@@ -0,0 +1 @@
1
+ import"./DsnmJJEf.js";import{t as m,a as d,c as u,p as I,f as J,i as e,s as $,b as K,j as v,o as W,h as F,r as x,x as ae}from"./Jk-ASPRO.js";import{s as M}from"./DTApYZoW.js";import{i as _}from"./BEVJas-l.js";import{s as b,e as Y,a as y,j as q}from"./DNP6oCAK.js";import{t as re}from"./DE0e4nJ8.js";import{p as N}from"./DQWg__9S.js";import{l as oe}from"./CEgeDr98.js";import{p as se}from"./Z0GxSwEl.js";import{t as ne,d as ie,a as de}from"./DrX7Uhja.js";import{S as le}from"./voMZUjSQ.js";var ue=u('<span aria-hidden="true"></span>');function pe(p,s){let n=N(s,"class",3,"");var a=ue();m(()=>b(a,1,`pointer-events-none absolute inset-0 rounded-full opacity-40 motion-safe:animate-ping ${n()??""}`)),d(p,a)}var ce=u('<p class="mb-1.5 text-xs font-medium text-muted-foreground" data-run-label=""> </p>'),G=u("<span></span>"),me=u("<span><!></span>"),fe=u('<span class="relative z-10 mt-[2px] size-2 rounded-full border border-dashed border-muted-foreground/50 bg-card"></span>'),ve=u('<li class="relative flex min-w-0 flex-col items-center"><!> <!> <span> </span></li>'),ge=u('<ol class="grid"></ol>'),he=u('<li class="min-w-0"><div></div> <p> </p></li>'),be=u('<ol class="grid gap-2"></ol>'),xe=u("<!> <!>",1);function Ee(p,s){I(s,!0);let n=N(s,"size",3,"card");const a=v(()=>s.task.passage),k=v(()=>oe(s.task)),z=v(()=>de(s.task)),j=v(()=>`${e(k)?`Run ${e(k).n}, `:""}Step ${e(a).current+1} of ${e(a).steps.length}: ${e(a).steps[e(a).current]?.label??""}${e(a).steps[e(a).current]?.failed?", failed":""}${s.task.busy?", in progress":""}`),w=r=>r?"bg-danger":ie[e(z)],R=r=>r?"text-danger":ne[e(z)];var f=xe(),S=J(f);{var C=r=>{var o=ce(),c=W(o);m(()=>M(c,`Run ${e(k).n??""}`)),d(r,o)};_(S,r=>{e(k)&&r(C)})}var E=$(S,2);{var A=r=>{var o=ge();Y(o,23,()=>e(a).steps,c=>c.key,(c,t,g)=>{var h=ve(),T=F(h);{var H=i=>{var l=G();m(()=>b(l,1,`absolute top-[5px] right-1/2 left-[-50%] ${e(g)<=e(a).current?"h-0.5 bg-foreground/50":"h-0 border-t border-dotted border-input"}`)),d(i,l)};_(T,i=>{e(g)>0&&i(H)})}var L=$(T,2);{var Q=i=>{var l=me(),Z=F(l);{var ee=B=>{{let te=v(()=>w(e(t).failed));pe(B,{get class(){return e(te)}})}};_(Z,B=>{s.task.busy&&B(ee)})}x(l),m(B=>b(l,1,`relative z-10 size-3 rounded-full ring-[3px] ring-card ${B??""}`),[()=>w(e(t).failed)]),re(1,l,()=>se),d(i,l)},U=i=>{var l=fe();d(i,l)},V=i=>{var l=G();m(()=>b(l,1,`relative z-10 mt-[2px] size-2 rounded-full ${e(t).state==="done"?"bg-foreground/50":"border border-border bg-card"}`)),d(i,l)};_(L,i=>{e(t).state==="current"?i(Q):e(t).state==="skipped"?i(U,1):i(V,-1)})}var O=$(L,2),X=W(O,!0);x(h),m(i=>{y(h,"title",e(t).note??void 0),b(O,1,`mt-1.5 max-w-full truncate text-xs leading-none ${i??""}`),M(X,e(t).short)},[()=>e(t).state==="current"?`font-semibold ${R(e(t).failed)}`:e(t).state==="done"?"text-muted-foreground":e(t).state==="skipped"?"text-muted-foreground italic line-through":"text-muted-foreground italic"]),d(c,h)}),x(o),m(()=>{q(o,`grid-template-columns: repeat(${e(a).steps.length??""}, minmax(0, 1fr))`),y(o,"aria-label",e(j))}),d(r,o)},D=r=>{var o=be();Y(o,21,()=>e(a).steps,c=>c.key,(c,t)=>{var g=he(),h=F(g),T=$(h,2),H=W(T);x(g),m(L=>{y(g,"title",e(t).note??void 0),b(h,1,`h-1.5 rounded-full transition-colors duration-500 ${L??""}`),b(T,1,`mt-2 truncate text-xs leading-tight ${e(t).state==="current"?`font-medium ${e(t).failed?"text-danger":"text-foreground"}`:e(t).state==="done"?"text-muted-foreground":"text-muted-foreground italic"} ${e(t).state==="skipped"?"line-through":""}`),M(H,`${e(t).label??""}${e(t).failed?" failed":""}`)},[()=>e(t).state==="done"?"bg-foreground/60":e(t).state==="current"?w(e(t).failed):e(t).state==="skipped"?"border border-dashed border-border":"bg-border"]),d(c,g)}),x(o),m(()=>{q(o,`grid-template-columns: repeat(${e(a).steps.length??""}, minmax(0, 1fr))`),y(o,"aria-label",e(j))}),d(r,o)};_(E,r=>{n()==="card"?r(A):r(D,-1)})}d(p,f),K()}const _e=/^fy-([a-z0-9][a-z0-9-]{0,62})$/;function P(p){return p&&_e.exec(p)?.[1]||null}function Le(p){const s=P(p);return s?`via Fleetyard · ${s}`:`on ${p??"another host"}`}globalThis.process?.platform;var ke=u('<span class="font-normal opacity-70" data-second-mate-host=""> </span>'),$e=u('<span class="inline-flex max-w-full min-w-0 items-center gap-1 rounded-sm bg-brass/10 px-1.5 text-xs leading-[1.15rem] font-medium text-brass"><!><span class="truncate"> <!></span></span>');function We(p,s){I(s,!0);const n=v(()=>s.task.secondMate??null),a=v(()=>P(e(n)?.host)),k=v(()=>e(a)?`${e(a)}, through Fleetyard`:e(n)?.host??"another host");var z=ae(),j=J(z);{var w=R=>{var f=$e(),S=F(f);le(S,{class:"size-3 shrink-0","aria-hidden":"true"});var C=$(S),E=F(C,!0),A=$(E);{var D=r=>{var o=ke(),c=W(o,!0);m(()=>M(c,` · ${e(a)??e(n).host}`)),d(r,o)};_(A,r=>{e(n).where==="remote"&&e(n).host&&r(D)})}x(C),x(f),m(()=>{y(f,"title",e(n).where==="remote"?`Runs on second mate ${e(n).id}, on ${e(k)}`:`Runs on second mate ${e(n).id}, on this computer`),y(f,"data-second-mate-task",e(n).id),M(E,e(n).id)}),d(R,f)};_(j,R=>{e(n)&&R(w)})}d(p,z),K()}export{pe as B,Ee as S,We as W,Le as p};
@@ -0,0 +1,3 @@
1
+ import"./DsnmJJEf.js";import{aC as Ve,p as be,x as Z,f as i,a as r,b as xe,i as e,h as se,y as qe,r as oe,j as y,c as S,d as G,e as Ee,s as d,n as L,m as T,k as a,t as de,o as Ae}from"./Jk-ASPRO.js";import{d as Je,s as ue,e as Ke,a as Me}from"./DTApYZoW.js";import{i as H}from"./BEVJas-l.js";import{c as h}from"./Cq7OFmxz.js";import{l as Qe,r as Be,s as Se,c as ze}from"./DNP6oCAK.js";import{b as Le}from"./CNxxt--f.js";import{p as O,r as We,s as fe}from"./DQWg__9S.js";import{p as Xe}from"./CWXMOoE5.js";import{D as Te}from"./DqyvT7BR.js";import{D as Ye,a as et,b as tt,c as rt,d as he,e as at}from"./Br5gy4Yk.js";import{s as Oe}from"./Wu0Biojm.js";import{c as st,a as ot,b as $e,m as lt}from"./1rMfpM_v.js";import{B as Q}from"./VrUPyiEH.js";import{C as nt,e as it,b as dt,i as ut}from"./CIppRg38.js";import{P as ft,i as pt,f as mt,m as vt}from"./CgvWEeQK.js";import{P as ct}from"./CJxikGC0.js";import{L as gt}from"./D73wi9-q.js";import{T as _t}from"./BmXrroyA.js";var ht=new Set(["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]),$t=S("<button><!></button>");function bt(X,o){const N=Ve();be(o,!0);let U=O(o,"id",19,()=>st(N)),V=O(o,"ref",15,null),R=O(o,"disabled",3,!1),t=We(o,ht);const $=ot.create({id:$e(()=>U()),ref:$e(()=>V(),c=>V(c)),disabled:$e(()=>!!R())}),A=y(()=>lt(t,$.props));var u=Z(),f=i(u);{var W=c=>{var k=Z(),q=i(k);Oe(q,()=>o.child,()=>({props:e(A)})),r(c,k)},le=c=>{var k=$t();Qe(k,()=>({...e(A)}));var q=se(k);Oe(q,()=>o.children??qe),oe(k),r(c,k)};H(f,c=>{o.child?c(W):c(le,-1)})}r(X,u),xe()}var xt=new Set(["$$slots","$$events","$$legacy","ref","type"]);function wt(X,o){be(o,!0);let N=O(o,"ref",15,null),U=O(o,"type",3,"button"),V=We(o,xt);var R=Z(),t=i(R);h(t,()=>bt,($,A)=>{A($,fe({"data-slot":"dialog-trigger",get type(){return U()}},()=>V,{get ref(){return N()},set ref(u){N(u)}}))}),r(X,R),xe()}var yt=S("<!> ",1),ae=S("<!> <!>",1),kt=S('<p class="flex items-start gap-2 rounded-md border border-danger/40 px-3 py-2 text-xs text-danger" role="alert"><!> </p>'),Pt=S("<!>Fetching…",1),Dt=S('<form class="grid gap-4" id="install-plugin-form"><label class="grid gap-1"><span class="text-xs font-medium">Repository</span> <input name="repository" placeholder="org/repo" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">On github.com, such as chrisjowen/improve.</span></label> <label class="grid gap-1"><span class="text-xs font-medium">Version <span class="font-normal text-muted-foreground">(optional)</span></span> <input name="ref" placeholder="tag, branch or commit" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">Leave it empty for the default branch. A tag keeps it on that release.</span></label> <!></form> <!>',1),It=S('<p class="text-xs text-danger" role="alert"> </p>'),Re=S("<!> <!> <!>",1),Ct=S("<p> </p>");function Kt(X,o){be(o,!0);let N=O(o,"busy",19,()=>[]),U=O(o,"suggested",3,null),V=O(o,"label",3,"Install plugin"),R=G(!1),t=G("form"),$=G(""),A=G(""),u=G(null),f=G(null),W=G(Ee({}));const le=y(()=>/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(e($).trim())),c=y(()=>e(f)?vt(e(f),e(W)):null),k=()=>Xe.data.sessionToken,q="h-9 rounded-md border border-input bg-background px-2.5 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring";function we(){a(t,"form"),a(u,null),a(f,null)}async function je(Y){if(Y.preventDefault(),!e(le)||e(t)==="looking")return;a(t,"looking"),a(u,null);const B=await it({repo:e($).trim(),ref:e(A).trim()||null},k());if(!B.ok){a(u,B.error,!0),a(t,"form");return}a(f,B.value,!0),a(W,pt(B.value),!0),a(t,"review")}async function Fe(){if(!e(f)||e(c))return;a(t,"saving"),a(u,null);const Y=dt(),B=await ut(e(f),mt(e(W)),k());if(!B.ok){a(u,B.error,!0),a(t,"review");return}a(t,"restarting"),a(t,await Y?"done":"slow",!0)}var ye=Z(),Ge=i(ye);h(Ge,()=>at,(Y,B)=>{B(Y,{onOpenChange:E=>{E&&(e(t)==="done"||e(t)==="slow")&&(a($,""),a(A,""),we()),E&&e(t)==="form"&&U()&&!e($)&&a($,U())},get open(){return e(R)},set open(E){a(R,E,!0)},children:(E,At)=>{var ke=ae(),Pe=i(ke);{const pe=(ee,te)=>{Q(ee,fe(()=>(te?.()).props,{variant:"outline",size:"sm",children:(Ie,me)=>{var re=yt(),ne=i(re);ct(ne,{});var ve=d(ne,1,!0);de(()=>ue(ve,V())),r(Ie,re)},$$slots:{default:!0}}))};h(Pe,()=>wt,(ee,te)=>{te(ee,{child:pe,$$slots:{child:!0}})})}var He=d(Pe,2);{let pe=y(()=>e(t)==="saving"||e(t)==="restarting"?"ignore":"close");h(He,()=>Ye,(ee,te)=>{te(ee,{class:"max-h-[calc(100dvh-2rem)] overflow-y-auto sm:max-w-lg",get interactOutsideBehavior(){return e(pe)},children:(De,Ie)=>{var me=ae(),re=i(me);h(re,()=>et,(b,P)=>{P(b,{children:(g,D)=>{var x=ae(),I=i(x);h(I,()=>tt,(l,p)=>{p(l,{class:"font-display text-lg",children:(j,n)=>{L();var m=T("Install a plugin from GitHub");r(j,m)},$$slots:{default:!0}})});var s=d(I,2);h(s,()=>rt,(l,p)=>{p(l,{children:(j,n)=>{var m=Z(),C=i(m);{var _=v=>{var z=T("Check what it is and where it comes from before you install it.");r(v,z)},w=v=>{var z=T(`Wheelhouse fetches the repository, pins the exact commit and shows you its manifest first.
2
+ Nothing runs until you install it.`);r(v,z)};H(C,v=>{e(t)==="review"?v(_):v(w,-1)})}r(j,m)},$$slots:{default:!0}})}),r(g,x)},$$slots:{default:!0}})});var ne=d(re,2);{var ve=b=>{var P=Dt(),g=i(P),D=se(g),x=d(se(D),2);Be(x),Se(x,1,ze(q)),L(2),oe(D);var I=d(D,2),s=d(se(I),2);Be(s),Se(s,1,ze(q)),L(2),oe(I);var l=d(I,2);{var p=n=>{var m=kt(),C=se(m);_t(C,{class:"mt-0.5 size-3.5 shrink-0"});var _=d(C,1,!0);oe(m),de(()=>ue(_,e(u))),r(n,m)};H(l,n=>{e(u)&&n(p)})}oe(g);var j=d(g,2);h(j,()=>he,(n,m)=>{m(n,{children:(C,_)=>{var w=ae(),v=i(w);{const F=(J,K)=>{Q(J,fe(()=>(K?.()).props,{variant:"ghost",children:(ge,Ce)=>{L();var _e=T("Cancel");r(ge,_e)},$$slots:{default:!0}}))};h(v,()=>Te,(J,K)=>{K(J,{child:F,$$slots:{child:!0}})})}var z=d(v,2);{let F=y(()=>!e(le)||e(t)==="looking");Q(z,{type:"submit",form:"install-plugin-form",get disabled(){return e(F)},children:(J,K)=>{var ce=Z(),ge=i(ce);{var Ce=M=>{var ie=Pt(),Ue=i(ie);gt(Ue,{class:"animate-spin"}),L(),r(M,ie)},_e=M=>{var ie=T("Look it up");r(M,ie)};H(ge,M=>{e(t)==="looking"?M(Ce):M(_e,-1)})}r(J,ce)},$$slots:{default:!0}})}r(C,w)},$$slots:{default:!0}})}),Ke("submit",g,je),Me("input",x,()=>a(u,null)),Le(x,()=>e($),n=>a($,n)),Le(s,()=>e(A),n=>a(A,n)),r(b,P)},Ze=b=>{var P=Re(),g=i(P);ft(g,{get preview(){return e(f)},get busy(){return N()},get answers(){return e(W)},set answers(s){a(W,s,!0)}});var D=d(g,2);{var x=s=>{var l=It(),p=Ae(l,!0);de(()=>ue(p,e(u))),r(s,l)};H(D,s=>{e(u)&&s(x)})}var I=d(D,2);h(I,()=>he,(s,l)=>{l(s,{children:(p,j)=>{var n=ae(),m=i(n);Q(m,{variant:"ghost",onclick:we,children:(_,w)=>{L();var v=T("Back");r(_,v)},$$slots:{default:!0}});var C=d(m,2);{let _=y(()=>!!e(c)),w=y(()=>e(c)?`${e(c).title} is needed`:void 0);Q(C,{onclick:Fe,get disabled(){return e(_)},get title(){return e(w)},children:(v,z)=>{L();var F=T("Install and restart");r(v,F)},$$slots:{default:!0}})}r(p,n)},$$slots:{default:!0}})}),r(b,P)},Ne=b=>{var P=Re(),g=i(P);{let s=y(()=>e(f).id),l=y(()=>e(f).commit.slice(0,7)),p=y(()=>e(t)==="saving"||e(t)==="restarting"||e(t)==="done"||e(t)==="slow"?e(t):"saving");nt(g,{get label(){return`Install ${e(s)??""} at ${e(l)??""}`},get phase(){return e(p)}})}var D=d(g,2);{var x=s=>{var l=Ct(),p=Ae(l);de(()=>ue(p,`${e(f).name??""}
3
+ ${e(f).version??""} is installed and Wheelhouse restarted. Its row shows whether it loaded.`)),r(s,l)};H(D,s=>{e(t)==="done"&&s(x)})}var I=d(D,2);h(I,()=>he,(s,l)=>{l(s,{children:(p,j)=>{var n=Z(),m=i(n);{const C=(_,w)=>{let v=()=>(w?.()).props;{let z=y(()=>e(t)==="saving"||e(t)==="restarting");Q(_,fe(v,{get disabled(){return e(z)},children:(F,J)=>{L();var K=T("Done");r(F,K)},$$slots:{default:!0}}))}};h(m,()=>Te,(_,w)=>{w(_,{child:C,$$slots:{child:!0}})})}r(p,n)},$$slots:{default:!0}})}),r(b,P)};H(ne,b=>{e(t)==="form"||e(t)==="looking"?b(ve):e(t)==="review"&&e(f)?b(Ze,1):e(f)&&b(Ne,2)})}r(De,me)},$$slots:{default:!0}})})}r(E,ke)},$$slots:{default:!0}})}),r(X,ye),xe()}Je(["input"]);export{Kt as I};
@@ -0,0 +1 @@
1
+ import"./DsnmJJEf.js";import{s,r}from"./DQWg__9S.js";import{I as p}from"./DE0e4nJ8.js";var n=new Set(["$$slots","$$events","$$legacy"]);function l(a,e){let o=r(e,n);const t={name:"volume-2",size:24,node:[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z"}],["path",{d:"M16 9a5 5 0 0 1 0 6"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728"}]]};p(a,s(()=>o,{get icon(){return t}}))}export{l as V};
@@ -0,0 +1 @@
1
+ import"./DsnmJJEf.js";import{p as G,h as q,t as l,a as d,i as o,r as b,s as j,b as I,j as h,o as x,c as g}from"./Jk-ASPRO.js";import{d as J,s as _,a as K}from"./DTApYZoW.js";import{i as z}from"./BEVJas-l.js";import{e as M,s as k,a as c,j as N}from"./DNP6oCAK.js";import{p as u}from"./DQWg__9S.js";import{l as O}from"./ITHHFCAt.js";import{a as P,c as Q}from"./CEgeDr98.js";const R={done:"bg-foreground/45",active:"bg-foreground",fixing:"bg-foreground",waiting:"bg-warning",failed:"bg-danger",skipped:"border border-dashed border-muted-foreground/50",todo:"bg-border"},S={done:"done",active:"under way",fixing:"fixing",waiting:"waiting on Firstmate",failed:"failed",skipped:"skipped",todo:"not reached"};var U=g("<li></li>"),V=g("<span> </span>"),X=g('<button type="button" class="relative z-10 cursor-pointer text-left text-foreground/80 underline decoration-foreground/30 underline-offset-2 hover:text-foreground hover:decoration-foreground" data-checks-questions=""> </button>'),Y=g('<span class="text-foreground/80"> </span>'),Z=g('<div data-checks=""><ol class="grid gap-0.5"></ol> <p data-checks-line=""><!> <!></p></div>');function ie(F,a){G(a,!0);let H=u(a,"busy",3,!1),y=u(a,"lead",3,null),L=u(a,"leadClass",3,""),T=u(a,"size",3,"card"),n=u(a,"questions",3,null);const f=h(()=>a.pipeline.steps.map(e=>({s:e,tone:P(e,a.pipeline)}))),w=h(()=>Q(a.pipeline,O.now)),W=h(()=>`Checks: ${o(f).map(({s:e,tone:t})=>`${e.label} ${S[t]}`).join(", ")}`);var p=Z(),i=q(p);M(i,21,()=>o(f),({s:e,tone:t})=>e.key,(e,t)=>{let r=()=>o(t).s,s=()=>o(t).tone;var v=U();l(()=>{k(v,1,`h-1 rounded-full ${R[s()]??""} ${H()&&(s()==="active"||s()==="fixing")?"motion-safe:animate-pulse":""}`),c(v,"title",`${r().label??""}: ${S[s()]??""}`)}),d(e,v)}),b(i);var m=j(i,2),C=q(m);{var A=e=>{var t=V(),r=x(t);l(()=>{k(t,1,`font-medium ${L()??""}`),_(r,`${y()??""}.`)}),d(e,t)};z(C,e=>{y()&&e(A)})}var B=j(C,2);{var D=e=>{var t=X(),r=x(t,!0);l(()=>{c(t,"aria-expanded",n().expanded),c(t,"aria-controls",n().controls),c(t,"title",n().expanded?"Hide the questions":"Show the questions"),_(r,o(w))}),K("click",t,function(...s){n().toggle?.apply(this,s)}),d(e,t)},E=e=>{var t=Y(),r=x(t,!0);l(()=>_(r,o(w))),d(e,t)};z(B,e=>{n()?e(D):e(E,-1)})}b(m),b(p),l(()=>{N(i,`grid-template-columns: repeat(${o(f).length??""}, minmax(0, 1fr))`),c(i,"aria-label",o(W)),k(m,1,`tabular line-clamp-2 text-muted-foreground ${T()==="rail"?"mt-1 text-xs leading-snug":"mt-1.5 text-sm"}`)}),d(F,p),I()}J(["click"]);export{ie as C};
@@ -0,0 +1,2 @@
1
+ import{s as vt}from"./CeV_7ApB.js";import{H as B,N as K,r as me,n as j,i as je,b as T,s as $,a as Se,f as rt,g as Ie,c as oe,d as be,S as Oe,P as nt,p as I,e as bt,m as Et,h as kt,o as Ne,u as xe,j as At,w as St,k as Ge,l as G,q as It,t as at,v as Rt,x as Pt,y as ot}from"./CtfzluSe.js";import{L as se,K as Lt,v as Tt}from"./Jk-ASPRO.js";class te{constructor(t,r){this.status=t,typeof r=="string"?this.body={message:r}:r?this.body=r:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class De{constructor(t,r){try{new Headers({location:r})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(r)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=r}}class Ce extends Error{constructor(t,r,n){super(n),this.status=t,this.text=r}}const Ut=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,jt=/^\/\((?:[^)]+)\)$/;function Ot(e){const t=[];return{pattern:e==="/"||jt.test(e)?/^\/$/:new RegExp(`^${xt(e).map(n=>{const i=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(i)return t.push({name:i[1],matcher:i[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const a=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(a)return t.push({name:a[1],matcher:a[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const s=n.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return Ee(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ee(String.fromCharCode(...c.slice(2).split("-").map(y=>parseInt(y,16))));const l=Ut.exec(c),[,h,d,u,p]=l;return t.push({name:u,matcher:p,optional:!!h,rest:!!d,chained:d?f===1&&s[0]==="":!1}),d?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return Ee(c)}).join("")}).join("")}/?$`),params:t}}function Nt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function xt(e){return e.slice(1).split("/").filter(Nt)}function Dt(e,t,r){const n={},i=e.slice(1),a=i.filter(o=>o!==void 0);let s=0;for(let o=0;o<t.length;o+=1){const c=t[o];let f=i[o-s];if(c.chained&&c.rest&&s&&(f=i.slice(o-s,o+1).filter(l=>l).join("/"),s=0),f===void 0)if(c.rest)f="";else continue;if(!c.matcher||r[c.matcher](f)){n[c.name]=f;const l=t[o+1],h=i[o+1];l&&!l.rest&&l.optional&&h&&c.chained&&(s=0),!l&&!h&&Object.keys(n).length===a.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return n}function Ee(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ct({nodes:e,server_loads:t,dictionary:r,matchers:n}){const i=new Set(t);return Object.entries(r).map(([o,[c,f,l]])=>{const{pattern:h,params:d}=Ot(o),u={id:o,exec:p=>{const y=h.exec(p);if(y)return Dt(y,d,n)},errors:[1,...l||[]].map(p=>e[p]),layouts:[0,...f||[]].map(s),leaf:a(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function s(o){return o===void 0?o:[i.has(o),e[o]]}}function st(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Xe(e,t,r=JSON.stringify){const n=r(t);try{sessionStorage[e]=n}catch{}}const Bt=-1,Mt=-2,$t=-3,Ft=-4,qt=-5,Vt=-6,Ht=-7,it=2**32-1,Re=it-1;function Kt(e){return!(!Number.isInteger(e)||e<0||e>Re)}function Yt(e){return!(!Number.isInteger(e)||e<0||e>it)}function zt(e){return Uint8Array.fromBase64(e).buffer}function Gt(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Xt(e){const t=atob(e),r=t.length,n=new Uint8Array(r);for(let i=0;i<r;i++)n[i]=t.charCodeAt(i);return n.buffer}const Wt=typeof Uint8Array.fromBase64=="function",Jt=typeof process=="object"&&process.versions?.node!==void 0,Zt=Wt?zt:Jt?Gt:Xt;function Qt(e,t){return e}const er=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,We=typeof SharedArrayBuffer>"u"?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get,tr={fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e==="URL"?new URL(t):e==="URLSearchParams"?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,r,n)=>{try{er.call(t)}catch(a){if(!We)throw a;We.call(t)}const i=globalThis[e];return r!==void 0?new i(t,r,n):new i(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[Re]=void 0,delete t[Re],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,r)=>{e[t]=r},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,r)=>{e.set(t,r)}},rr=Object.freeze(tr);function nr(e,t,r){const n=Qt(rr);if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const i=e,a=Array(i.length);let s=null;function o(c,f=!1){if(c===Bt)return n.fromPrimitive(void 0);if(c===$t)return n.fromPrimitive(NaN);if(c===Ft)return n.fromPrimitive(1/0);if(c===qt)return n.fromPrimitive(-1/0);if(c===Vt)return n.fromPrimitive(-0);if(f||typeof c!="number")throw new Error("Invalid input");if(c in a)return a[c];if(c>=i.length)throw new Error("Invalid input");const l=i[c];if(!l||typeof l!="object")a[c]=n.fromPrimitive(l);else if(Array.isArray(l))if(typeof l[0]=="string"){const h=l[0],d=t&&Object.hasOwn(t,h)?t[h]:void 0;if(d){let u=l[1];if(typeof u!="number"&&(u=i.push(l[1])-1),Object.hasOwn(a,u))return a[c]=d(a[u]);if(s??=new Set,s.has(u))throw new Error("Invalid circular reference");return s.add(u),a[c]=d(o(u)),s.delete(u),a[c]}switch(h){case"Date":a[c]=n.fromISOString(l[1]);break;case"Set":const u=n.createSet();a[c]=u;for(let _=1;_<l.length;_+=1)n.addValue(u,o(l[_]));break;case"Map":const p=n.createMap();a[c]=p;for(let _=1;_<l.length;_+=2)n.addEntry(p,o(l[_]),o(l[_+1]));break;case"RegExp":a[c]=n.fromRegExpInfo(l[1],l[2]);break;case"Object":{const _=l[1];if(typeof i[_]=="object"&&i[_][0]!=="BigInt")throw new Error("Invalid input");a[c]=n.box(o(_));break}case"BigInt":a[c]=n.fromPrimitive(BigInt(l[1]));break;case"null":const y=n.createNullPrototypeObject();a[c]=y;for(let _=1;_<l.length;_+=2){const m=l[_];if(typeof m!="string")throw new Error("Cannot parse an object with a non-string key");if(m==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(y,m,o(l[_+1]))}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(i[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const _=o(l[1]);a[c]=n.fromViewInfo(h,_,l[2],l[3]);break}case"ArrayBuffer":{const _=l[1];if(typeof _!="string")throw new Error("Invalid ArrayBuffer encoding");a[c]=n.fromArrayBuffer(Zt(_));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{a[c]=n.fromStringValue(h,l[1]);break}default:throw new Error(`Unknown type ${h}`)}}else if(l[0]===Ht){const h=l[1];if(!Yt(h))throw new Error("Invalid input");const d=n.createSparseArray(h);a[c]=d;for(let u=2;u<l.length;u+=2){const p=l[u];if(!Kt(p)||p>=h)throw new Error("Invalid input");n.set(d,p,o(l[u+1]))}}else{const h=n.createArray(l.length);a[c]=h;for(let d=0;d<l.length;d+=1){const u=l[d];u!==Mt&&n.set(h,d,o(u))}}else{const h=n.createObject();a[c]=h;for(const d of Object.keys(l)){if(d==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(h,d,o(l[d]))}}return a[c]}return o(0)}function ar(e){return e.filter(t=>t!=null)}const or="x-sveltekit-invalidated",sr="x-sveltekit-trailing-slash";function F(e,t){return e+"/"+t}function ie(e){return e instanceof te||e instanceof Ce?e.status:500}function ir(e){return e instanceof Ce?e.text:"Internal Error"}const cr="/__data.json",lr=".html__data.json";function fr(e){return e.endsWith(".html")?e.replace(/\.html$/,lr):e.replace(/\/$/,"")+cr}const Je={spanContext(){return ur},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},ur={traceId:"",spanId:"",traceFlags:0};async function*dr(e,t){let r=!1,n="";const i=new TextDecoder;for(;;){let a=n.indexOf(t);for(;a!==-1;)yield n.slice(0,a),n=n.slice(a+t.length),a=n.indexOf(t);if(r){n&&(yield n);return}const s=await e.read();r=s.done,s.value&&(n+=i.decode(s.value,{stream:!0})),r&&(n+=i.decode())}}async function*hr(e){for await(const t of dr(e,`
2
+ `)){const r=t.trim();r&&(yield JSON.parse(r))}}const{onMount:pr}=vt,_r=Tt??(e=>e()),mr=new Set(["icon","shortcut icon","apple-touch-icon"]);let X=null;const D=st(ot)??{},Z=st(at)??{},x={url:Ge({}),page:Ge({}),navigating:St(null),updated:At()};function Be(e){D[e]=$()}function gr(e,t){let r=e+1;for(;D[r];)delete D[r],r+=1;for(r=t+1;Z[r];)delete Z[r],r+=1}function Y(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(j)}async function ct(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}let Me,Pe,ce,N,Le,E;const le=[],fe=[];let L=null;function Q(){L?.fork?.then(e=>e?.discard()),L=null,q={element:void 0,href:void 0}}const ae=new Map,$e=new Set,lt=new Set,V=new Set;let g={branch:[],error:null,url:null,nav:null},Fe=!1,ue=!1,Ze=!0,ee=!1,W=!1,ft=!1,re=!1,ge,A,R,U;const J=new Set;let ke;const de=new Map,he=new Map;async function Nr(e,t,r){if(globalThis.__sveltekit_1gz72ep.data){const{q:a={},p:s={},l:o={},f:c={}}=globalThis.__sveltekit_1gz72ep.data;for(const f in a)a[f];for(const f in o)o[f];for(const f in c)c[f];for(const f in s)s[f]}document.URL!==location.href&&(location.href=location.href),E=e,await e.hooks.init?.(),Me=Ct(e),N=document.documentElement,Le=t,Pe=e.nodes[0],ce=e.nodes[1],Pe(),ce(),A=history.state?.[B],R=history.state?.[K],A||(A=R=Date.now(),history.replaceState({...history.state,[B]:A,[K]:R},""));const n=D[A];function i(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}r?(i(),await Rr(Le,r)):(await H({type:"enter",url:me(E.hash?Tr(new URL(location.href)):location.href),replace_state:!0}),i()),Ir()}async function yr(e=!0,t=!0){if(await(ke||=Promise.resolve()),!ke)return;ke=null;const r=U={},n=await ne(g.url,!0);Q();const i=new Map;if(re){for(const s of de.values())for(const{resource:o}of s.values())o.refresh();for(const[s,o]of he)for(const[c,{resource:f}]of o){const l=F(s,c),h=f.reconnect();h.catch(j),i.set(l,h)}}if(e){const s=I.state,o=n&&await Ke(n);if(!o||r!==U)return;if(o.type==="redirect")return qe(new URL(o.location,g.url).href,{replaceState:!0},1,r);t||(o.props.page.state=s),xe(o.props.page),g={...o.state,nav:g.nav},Te(),ge.$set(o.props)}else Te();const a=[];for(const s of de.values())for(const{resource:o}of s.values())a.push(o);for(const[s,o]of he)for(const c of o.keys()){const f=F(s,c),l=i.get(f);l&&a.push(l)}await Promise.all(a).catch(j)}function Te(){le.length=0,re=!1}function ut(e){fe.some(t=>t?.snapshot)&&(Z[e]=fe.map(t=>t?.snapshot?.capture()))}function dt(e){Z[e]?.forEach((t,r)=>{fe[r]?.snapshot?.restore(t)})}function Qe(){Be(A),Xe(ot,D),ut(R),Xe(at,Z)}async function qe(e,t,r,n){let i,a;t.invalidateAll&&Q(),await H({type:"goto",url:me(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:r,nav_token:n,accept:()=>{if(t.invalidateAll){re=!0,i=new Set;for(const[s,o]of de)for(const[c,f]of o)f.resource?.reset(),i.add(F(s,c));a=new Set;for(const[s,o]of he)for(const c of o.keys())a.add(F(s,c))}t.invalidate&&t.invalidate.forEach(Sr)}}),t.invalidateAll&&se().then(se).then(()=>{for(const[s,o]of de)for(const[c,{resource:f}]of o)i?.has(F(s,c))&&f.start();for(const[s,o]of he)for(const[c,{resource:f}]of o)a?.has(F(s,c))&&f.reconnect()})}async function wr(e){if(e.id!==L?.id){Q();const t={};J.add(t),L={id:e.id,token:t,promise:Ke({...e,preload:t}).then(r=>(J.delete(t),r.type==="loaded"&&r.state.error&&Q(),r)),fork:null}}return L.promise}async function Ae(e){const t=(await ne(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(r=>r[1]()))}async function ht(e,t,r){const n={params:g.params,route:{id:g.route?.id??null},url:new URL(location.href)};if(g={...e.state,nav:n},xe(e.props.page),ge=new E.root({target:t,props:{...e.props,stores:x,components:fe},hydrate:r,sync:!1,transformError:void 0}),await Promise.resolve(),r){const i={from:null,to:{...n,scroll:D[A]??$()},willUnload:!1,type:"enter",complete:Promise.resolve()};V.forEach(a=>a(i))}dt(R),ue=!0}async function pe({url:e,params:t,branch:r,errors:n,status:i,error:a,route:s,form:o}){let c="never";if(T&&(e.pathname===T||e.pathname===T+"/"))c="always";else for(const p of r)p?.slash!==void 0&&(c=p.slash);e.pathname=kt(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:r,error:a,route:s},props:{constructors:ar(r).map(p=>p.node.component),page:we(I)}};o!==void 0&&(f.props.form=o);let l={},h=!I,d=0;for(let p=0;p<Math.max(r.length,g.branch.length);p+=1){const y=r[p],_=g.branch[p];y?.data!==_?.data&&(h=!0),y&&(l={...l,...y.data},h&&(f.props[`data_${d}`]=l),d+=1)}return(!g.url||e.href!==g.url.href||g.error!==a||o!==void 0&&o!==I.form||h)&&(f.props.page={error:a,params:t,route:{id:s?.id??null},state:{},status:i,url:new URL(e),form:o??null,data:h?l:I.data}),f}async function Ve({loader:e,parent:t,url:r,params:n,route:i,server_data_node:a}){let s=null,o=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},f=await e();if(f.universal?.load){let l=function(...d){for(const u of d){const{href:p}=new URL(u,r);c.dependencies.add(p)}};const h={tracing:{enabled:!1,root:Je,current:Je},route:new Proxy(i,{get:(d,u)=>(o&&(c.route=!0),d[u])}),params:new Proxy(n,{get:(d,u)=>(o&&c.params.add(u),d[u])}),data:a?.data??null,url:Et(r,()=>{o&&(c.url=!0)},d=>{o&&c.search_params.add(d)},E.hash),async fetch(d,u){d instanceof Request&&(u={body:d.method==="GET"||d.method==="HEAD"?void 0:await d.blob(),cache:d.cache,credentials:d.credentials,headers:[...d.headers].length>0?d?.headers:void 0,integrity:d.integrity,keepalive:d.keepalive,method:d.method,mode:d.mode,redirect:d.redirect,referrer:d.referrer,referrerPolicy:d.referrerPolicy,signal:d.signal,...u});const{resolved:p,promise:y}=pt(d,u,r);return o&&l(p.href),y},setHeaders:j,depends:l,parent(){return o&&(c.parent=!0),t()},untrack(d){o=!1;try{return d()}finally{o=!0}}};s=await f.universal.load.call(null,h)??null}return{node:f,loader:e,server:a,universal:f.universal?.load?{type:"data",data:s,uses:c}:null,data:s??a?.data??null,slash:f.universal?.trailingSlash??a?.slash}}function pt(e,t,r){let n=e instanceof Request?e.url:e;const i=new URL(n,r);i.origin===r.origin&&(n=i.href.slice(r.origin.length));const a=ue?Rt(n,i.href,t):Pt(n,t);return{resolved:i,promise:a}}function et(e,t,r,n,i,a){if(re)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&r)return!0;for(const s of i.search_params)if(n.has(s))return!0;for(const s of i.params)if(a[s]!==g.params[s])return!0;for(const s of i.dependencies)if(le.some(o=>o(new URL(s))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function vr(e,t){if(!e)return new Set(t.searchParams.keys());const r=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const n of r){const i=e.searchParams.getAll(n),a=t.searchParams.getAll(n);i.every(s=>a.includes(s))&&a.every(s=>i.includes(s))&&r.delete(n)}return r}function tt({error:e,url:t,route:r,params:n}){return{type:"loaded",state:{error:e,url:t,route:r,params:n,branch:[]},props:{page:we(I),constructors:[]}}}async function Ke({id:e,invalidating:t,url:r,params:n,route:i,preload:a}){if(L?.id===e)return J.delete(L.token),L.promise;const{errors:s,layouts:o,leaf:c}=i,f=[...o,c];s.forEach(w=>w?.().catch(j)),f.forEach(w=>w?.[1]().catch(j));let l=null;const h=g.url?e!==_e(g.url):!1,d=g.route?i.id!==g.route.id:!1,u=vr(g.url,r);let p=!1;{const w=f.map((v,k)=>{const S=g.branch[k],b=!!v?.[0]&&(S?.loader!==v[1]||et(p,d,h,u,S.server?.uses,n));return b&&(p=!0),b});if(w.some(Boolean)){try{l=await gt(r,w)}catch(v){const k=await M(v,{url:r,params:n,route:{id:e}});return a&&J.has(a)?tt({error:k,url:r,params:n,route:i}):ye({status:ie(v),error:k,url:r,route:i})}if(l.type==="redirect")return l}}const y=l?.nodes;let _=!1;const m=f.map(async(w,v)=>{if(!w)return;const k=g.branch[v],S=y?.[v];if((!S||S.type==="skip")&&w[1]===k?.loader&&!et(_,d,h,u,k.universal?.uses,n))return k;if(_=!0,S?.type==="error")throw S;return Ve({loader:w[1],url:r,params:n,route:i,parent:async()=>{const O={};for(let C=0;C<v;C+=1)Object.assign(O,(await m[C])?.data);return O},server_data_node:He(S===void 0&&w[0]?{type:"skip"}:S??null,w[0]?k?.server:void 0)})});for(const w of m)w.catch(j);const P=[];for(let w=0;w<f.length;w+=1)if(f[w])try{P.push(await m[w])}catch(v){if(v instanceof De)return{type:"redirect",location:v.location};if(a&&J.has(a))return tt({error:await M(v,{params:n,url:r,route:{id:i.id}}),url:r,params:n,route:i});let k=ie(v),S;if(y?.includes(v))k=v.status??k,S=v.error;else if(v instanceof te)S=v.body;else{if(await x.updated.check())return await ct(),await Y(r);S=await M(v,{params:n,url:r,route:{id:i.id}})}const b=await br(w,P,s);return b?pe({url:r,params:n,branch:P.slice(0,b.idx).concat(b.node),errors:s,status:k,error:S,route:i}):await mt(r,{id:i.id},S,k)}else P.push(void 0);return pe({url:r,params:n,branch:P,errors:s,status:200,error:null,route:i,form:t?void 0:null})}async function br(e,t,r){for(;e--;)if(r[e]){let n=e;for(;!t[n];)n-=1;try{return{idx:n+1,node:{node:await r[e](),loader:r[e],data:{},server:null,universal:null}}}catch{continue}}}async function ye({status:e,error:t,url:r,route:n}){const i={};let a=null;if(E.server_loads[0]===0)try{const o=await gt(r,[!0]);if(o.type!=="data"||o.nodes[0]&&o.nodes[0].type!=="data")throw 0;a=o.nodes[0]??null}catch(o){if(!(o instanceof te&&o.status===404)&&(r.origin!==Ne||r.pathname!==location.pathname||Fe))return await Y(r)}try{const s=await Ve({loader:Pe,url:r,params:i,route:n,parent:()=>Promise.resolve({}),server_data_node:He(a)}),o={node:await ce(),loader:ce,universal:null,server:null,data:null};return pe({url:r,params:i,branch:[s,o],status:e,error:t,errors:[],route:null})}catch(s){if(s instanceof De){await qe(new URL(s.location,location.href),{},0);return}const o=await E.get_error_template(),c=await M(s,{url:r,params:i,route:n}),f=String(c?.message??"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),l=o({status:e,message:f}),h=new DOMParser().parseFromString(l,"text/html");throw document.documentElement.replaceChild(document.adoptNode(h.head),document.head),document.documentElement.replaceChild(document.adoptNode(h.body),document.body),s}}async function Er(e){const t=e.href;if(ae.has(t))return ae.get(t);let r;try{const n=(async()=>{let i=await E.hooks.reroute({url:new URL(e),fetch:async(a,s)=>pt(a,s,e).promise})??e;if(typeof i=="string"){const a=new URL(e);E.hash?a.hash=i:a.pathname=i,i=a}return i})();ae.set(t,n),r=await n}catch{ae.delete(t);return}return r}async function ne(e,t){if(e&&!je(e,T,E.hash)){const r=await Er(e);if(!r)return;const n=kr(r);for(const i of Me){const a=i.exec(n);if(a)return{id:_e(e),invalidating:t,route:i,params:bt(a),url:e}}}}function kr(e){return It(E.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(T.length))||"/"}function _e(e){return(E.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function _t({url:e,type:t,intent:r,delta:n,event:i,scroll:a}){let s=!1;const o=ze(g,r,e,t,a??null);n!==void 0&&(o.navigation.delta=n),i!==void 0&&(o.navigation.event=i);const c={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return ee||$e.forEach(f=>f(c)),s?null:o}async function H({type:e,url:t,popped:r,keepfocus:n,noscroll:i,replace_state:a,state:s={},redirect_count:o=0,nav_token:c={},accept:f=j,block:l=j,event:h}){const d=U;U=c;const u=await ne(t,!1),p=e==="enter"?ze(g,u,t,e):_t({url:t,type:e,delta:r?.delta,intent:u,scroll:r?.scroll,event:h});if(!p){l(),U===c&&(U=d);return}const y=A,_=R;f(),ee=!0,ue&&p.navigation.type!=="enter"&&x.navigating.set(Se.current=p.navigation);let m=u&&await Ke(u);if(!m){if(je(t,T,E.hash))return await Y(t,a);m=await mt(t,{id:null},await M(new Ce(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,a)}if(t=u?.url||t,U!==c){p.reject(new Error("navigation aborted"));return}if(!m)return;if(m.type==="redirect"){if(o<20){await H({type:e,url:new URL(m.location,t),popped:r,keepfocus:n,noscroll:i,replace_state:a,state:s,redirect_count:o+1,nav_token:c}),p.fulfil(void 0);return}if(m=await ye({status:500,error:await M(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!m)return}else if(m.props.page.status>=400&&await x.updated.check())return await ct(),await Y(t,a);if(Te(),Be(y),ut(_),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),s=r?r.state:s,!r){const b=a?0:1,O={[B]:A+=b,[K]:R+=b,[Oe]:s};(a?history.replaceState:history.pushState).call(history,O,"",t),a||gr(A,R)}const P=u&&L?.id===u.id?L.fork:null;L?.fork&&!P?Q():(L=null,q={element:void 0,href:void 0}),m.props.page.state=s;let w;if(ue){const b=(await Promise.all(Array.from(lt,z=>z(p.navigation)))).filter(z=>typeof z=="function");if(b.length>0){let z=function(){b.forEach(ve=>{V.delete(ve)})};b.push(z),b.forEach(ve=>{V.add(ve)})}const O=p.navigation.to;g={...m.state,nav:{params:O.params,route:O.route,url:O.url}},m.props.page&&(m.props.page.url=t),!n&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const C=P&&await P;C?w=C.commit():(X=null,ge.$set(m.props),X&&Object.assign(m.props.page,X),xe(m.props.page),w=Lt?.()),ft=!0}else await ht(m,Le,!1);const{activeElement:v}=document;if(await w,await se(),await se(),U!==c){p.reject(new Error("navigation aborted"));return}m.props.page&&X&&Object.assign(m.props.page,X);let k=null;if(Ze){const b=r?r.scroll:i?$():null;b?scrollTo(b.x,b.y):(k=t.hash&&document.getElementById(wt(t)))?k.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==v&&document.activeElement!==document.body;!n&&!S&&Lr(t,!k),Ze=!0,ee=!1,p.fulfil(void 0),p.navigation.to&&(p.navigation.to.scroll=$()),V.forEach(b=>b(p.navigation)),e==="popstate"&&dt(R),x.navigating.set(Se.current=null)}async function mt(e,t,r,n,i){return e.origin===Ne&&e.pathname===location.pathname&&!Fe?await ye({status:n,error:r,url:e,route:t}):await Y(e,i)}let q={element:void 0,href:void 0};function Ar(){let e,t;N.addEventListener("mousemove",s=>{const o=s.target;clearTimeout(e),e=setTimeout(()=>{i(o,G.hover)},20)});function r(s){s.defaultPrevented||i(s.composedPath()[0],G.tap)}N.addEventListener("mousedown",r),N.addEventListener("touchstart",r,{passive:!0});const n=new IntersectionObserver(s=>{for(const o of s)o.isIntersecting&&(Ae(new URL(o.target.href)),n.unobserve(o.target))},{threshold:0});async function i(s,o){const c=rt(s,N),f=c===q.element&&c?.href===q.href&&o>=t;if(!c||f)return;const{url:l,external:h,download:d}=Ie(c,T,E.hash);if(h||d)return;const u=oe(c),p=l&&_e(g.url)===_e(l);if(!(u.reload||p))if(o<=u.preload_data){q={element:c,href:c.href},t=G.tap;const y=await ne(l,!1);if(!y)return;wr(y)}else o<=u.preload_code&&(q={element:c,href:c.href},t=o,Ae(l))}function a(){n.disconnect();for(const s of N.querySelectorAll("a")){const{url:o,external:c,download:f}=Ie(s,T,E.hash);if(c||f)continue;const l=oe(s);l.reload||(l.preload_code===G.viewport&&n.observe(s),l.preload_code===G.eager&&Ae(o))}}V.add(a),a()}function M(e,t){if(e instanceof te)return e.body;const r=ie(e),n=ir(e);return E.hooks.handleError({error:e,event:t,status:r,message:n})??{message:n}}function Ye(e,t){pr(()=>(e.add(t),()=>{e.delete(t)}))}function xr(e){Ye(V,e)}function Dr(e){Ye($e,e)}function Cr(e){Ye(lt,e)}function Br(e,t={}){return e=new URL(me(e)),e.origin!==Ne?Promise.reject(new Error("goto: invalid URL")):qe(e,t,0)}function Sr(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(r=>r.href===t)}}function Mr(){return re=!0,yr()}function $r(e,t){const r={[B]:A,[K]:R,[nt]:I.url.href,[Oe]:t};history.replaceState(r,"",me(e)),I.state=t,ge.$set({page:_r(()=>we(I))})}function Ir(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Qe(),!ee){const n=ze(g,void 0,null,"leave"),i={...n.navigation,cancel:()=>{r=!0,n.reject(new Error("navigation cancelled"))}};$e.forEach(a=>a(i))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Qe()}),navigator.connection?.saveData||Ar(),N.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=rt(t.composedPath()[0],N);if(!r)return;const{url:n,external:i,target:a,download:s}=Ie(r,T,E.hash);if(!n)return;if(a==="_parent"||a==="_top"){if(window.parent!==window)return}else if(a&&a!=="_self")return;const o=oe(r);if(!(r instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||s)return;const[f,l]=(E.hash?n.hash.replace(/^#/,""):n.href).split("#"),h=f===be(location);if(i||o.reload&&(!h||!l)){_t({url:n,type:"link",event:t})?ee=!0:t.preventDefault();return}if(l!==void 0&&h){const[,d]=g.url.href.split("#");if(d===l){if(t.preventDefault(),l===""||l==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=r.ownerDocument.getElementById(decodeURIComponent(l));u&&(u.scrollIntoView(),u.focus())}return}if(W=!0,Be(A),e(n),!o.replace_state)return;W=!1}t.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),await H({type:"link",url:n,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??n.href===location.href,event:t})}),N.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),n=t.submitter;if((n?.formTarget||r.target)==="_blank"||(n?.formMethod||r.method)!=="get")return;const s=new URL(n?.hasAttribute("formaction")&&n?.formAction||r.action);if(je(s,T,!1))return;const o=t.target,c=oe(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(o,n);s.search=new URLSearchParams(f).toString(),H({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[B]){const r=t.state[B];if(U={},r===A)return;const n=D[r],i=t.state[Oe]??{},a=new URL(t.state[nt]??location.href),s=t.state[K],o=g.url?be(location)===be(g.url):!1;if(s===R&&(ft||o)){i!==I.state&&(I.state=i),e(a),D[A]=$(),n&&scrollTo(n.x,n.y),A=r;return}const f=r-A;await H({type:"popstate",url:a,popped:{state:i,scroll:n,delta:f},accept:()=>{A=r,R=s},block:()=>{history.go(-f)},nav_token:U,event:t})}else if(!W){const r=new URL(location.href);e(r),E.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[B]:++A,[K]:R},"",location.href))});for(const t of document.querySelectorAll("link"))mr.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&x.navigating.set(Se.current=null)});function e(t){g.url=I.url=t,x.page.set(we(I)),x.page.notify()}}async function Rr(e,{status:t=200,error:r,node_ids:n,params:i,route:a,server_route:s,data:o,form:c}){Fe=!0;const f=new URL(location.href);let l;({params:i={},route:a={id:null}}=await ne(f,!1)||{}),l=Me.find(({id:u})=>u===a.id);let h,d=!0;try{const u=n.map(async(y,_)=>{const m=o[_];return m?.uses&&(m.uses=yt(m.uses)),Ve({loader:E.nodes[y],url:f,params:i,route:a,parent:async()=>{const P={};for(let w=0;w<_;w+=1)Object.assign(P,(await u[w]).data);return P},server_data_node:He(m)})}),p=await Promise.all(u);if(l){const y=l.layouts;for(let _=0;_<y.length;_++)y[_]||p.splice(_,0,void 0)}h=await pe({url:f,params:i,branch:p,status:t,error:r,errors:l?.errors,form:c,route:l??null})}catch(u){if(u instanceof De)return await Y(new URL(u.location,location.href));h=await ye({status:ie(u),error:await M(u,{url:f,params:i,route:a}),url:f,route:a}),e.textContent="",d=!1}h&&(h.props.page&&(h.props.page.state={}),await ht(h,e,d))}async function gt(e,t){const r=new URL(e);r.pathname=fr(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(sr,"1"),r.searchParams.append(or,t.map(a=>a?"1":"0").join(""));const n=window.fetch,i=await n(r.href,{});if(!i.ok){let a;throw i.headers.get("content-type")?.includes("application/json")?a=await i.json():i.status===404?a="Not Found":i.status===500&&(a="Internal Error"),new te(i.status,a)}return new Promise((a,s)=>{Pr(a,i).catch(s)})}async function Pr(e,t){const r=t.body.getReader(),n=new Map;function i(a){return nr(a,{...E.decoders,Promise:s=>new Promise((o,c)=>{n.set(s,{fulfil:o,reject:c})})})}for await(const a of hr(r)){if(a.type==="redirect")return e(a);if(a.type==="data")a.nodes?.forEach(s=>{s?.type==="data"&&(s.uses=yt(s.uses),s.data=i(s.data))}),e(a);else if(a.type==="chunk"){const{id:s,data:o,error:c}=a,f=n.get(s);n.delete(s),c?f.reject(i(c)):f.fulfil(i(o))}}}function yt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ue=!1;function Lr(e,t=!0){const r=document.querySelector("[autofocus]");if(r)r.focus();else{const n=wt(e);if(n&&document.getElementById(n)){const{x:a,y:s}=$();setTimeout(()=>{const o=history.state;Ue=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(a,s),Ue=!1})}else{const a=document.body,s=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),s!==null?a.setAttribute("tabindex",s):a.removeAttribute("tabindex")}const i=getSelection();if(i&&i.type!=="None"){const a=[];for(let s=0;s<i.rangeCount;s+=1)a.push(i.getRangeAt(s));setTimeout(()=>{if(i.rangeCount===a.length){for(let s=0;s<i.rangeCount;s+=1){const o=a[s],c=i.getRangeAt(s);if(o.commonAncestorContainer!==c.commonAncestorContainer||o.startContainer!==c.startContainer||o.endContainer!==c.endContainer||o.startOffset!==c.startOffset||o.endOffset!==c.endOffset)return}i.removeAllRanges()}})}}}function ze(e,t,r,n,i=null){let a,s;const o=new Promise((f,l)=>{a=f,s=l});return o.catch(j),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:$()},to:r&&{params:t?.params??null,route:{id:t?.route?.id??null},url:r,scroll:i},willUnload:!t,type:n,complete:o},fulfil:a,reject:s}}function we(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Tr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function wt(e){let t;if(E.hash){const[,,r]=e.hash.split("#",3);t=r??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{xr as a,Dr as b,Br as g,Mr as i,Cr as o,$r as r,Nr as s};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CKuUS76g.js","../chunks/DsnmJJEf.js","../chunks/CeV_7ApB.js","../chunks/Jk-ASPRO.js","../chunks/DTApYZoW.js","../chunks/BEVJas-l.js","../chunks/Wu0Biojm.js","../chunks/Cq7OFmxz.js","../chunks/DdRGrlyi.js","../chunks/DNP6oCAK.js","../chunks/uFHn3SsP.js","../chunks/CtfzluSe.js","../chunks/CWXMOoE5.js","../chunks/ITHHFCAt.js","../chunks/RYvdmj4W.js","../chunks/gocvF-xl.js","../chunks/nqsqhzVw.js","../chunks/BXN538J3.js","../chunks/BdjCJ4uL.js","../chunks/jy9QDtyE.js","../chunks/Ci4VDAEG.js","../chunks/BGZONLpF.js","../chunks/Z0GxSwEl.js","../chunks/C1LJG_bi.js","../chunks/DQWg__9S.js","../chunks/DE0e4nJ8.js","../chunks/DLfKkHEy.js","../chunks/BpMceauw.js","../chunks/CsFoEe5t.js","../chunks/WRwU91GU.js","../chunks/CNxxt--f.js","../chunks/C14pDzYB.js","../chunks/VrUPyiEH.js","../chunks/BOHNp6eX.js","../chunks/Cz0t0Wrt.js","../chunks/C-HYwD2y.js","../chunks/BfHvf1Rg.js","../chunks/KaWfcwy_.js","../chunks/Cw6Vodkk.js","../chunks/BMMeDG3C.js","../chunks/D73wi9-q.js","../chunks/B_DDhx9A.js","../chunks/BwqxEF2U.js","../chunks/c9k4nDgn.js","../chunks/m8-RluHE.js","../chunks/CFq-JuCn.js","../chunks/lCxfAEBr.js","../chunks/gEZHG5dd.js","../chunks/CqwyiX4n.js","../chunks/BUYzAikv.js","../chunks/BnGC1hPK.js","../chunks/1rMfpM_v.js","../chunks/Cl68Rk3P.js","../chunks/DWBTuuo9.js","../chunks/CgJcnAcm.js","../chunks/v0ViZGjy.js","../chunks/CqVYnWrT.js","../chunks/DX7LwCrb.js","../chunks/CdXXnfvS.js","../chunks/BrqXkLnL.js","../chunks/CCSv0LIp.js","../chunks/DrX7Uhja.js","../chunks/CaqSaLai.js","../chunks/Cdpv7rd4.js","../chunks/DckZzLGn.js","../chunks/BmXrroyA.js","../chunks/DQCQ7gMl.js","../chunks/BgW5hi16.js","../chunks/BRYVBL-t.js","../chunks/BKRi8X2-.js","../chunks/D66j7WEk.js","../assets/StateIcon.Dme7y7s6.css","../chunks/BPBomwti.js","../chunks/Bz9tCoED.js","../chunks/DT1mJMTa.js","../chunks/DS5YqfWJ.js","../chunks/Cih51HL5.js","../chunks/voMZUjSQ.js","../chunks/BuKI2ZJL.js","../chunks/CGnI1F6D.js","../chunks/DMIaeBcI.js","../chunks/ck3_pj9L.js","../chunks/DqyvT7BR.js","../chunks/Br5gy4Yk.js","../chunks/Dze9OLXA.js","../chunks/C1-ZwXJJ.js","../chunks/D92svzym.js","../chunks/C8F_z3tF.js","../chunks/cG4guyTe.js","../chunks/CGgXi5F1.js","../chunks/CuSw1clo.js","../chunks/Do7xN4Qx.js","../chunks/XxOJwmzJ.js","../chunks/BbLERgY7.js","../chunks/C_BRvYKD.js","../chunks/teNj0U11.js","../chunks/BgsPzvvM.js","../chunks/B374TgJF.js","../chunks/DBLsdElo.js","../assets/Discussion.DvbZU78X.css","../chunks/DfL_9Z2a.js","../chunks/Xnyx2pJu.js","../chunks/CJxikGC0.js","../chunks/B-JNrTge.js","../chunks/ALbIn9xu.js","../chunks/BwF-OIK3.js","../chunks/CEgeDr98.js","../chunks/DotKSDx1.js","../chunks/V9uGi6jc.js","../chunks/fE4moRZ8.js","../chunks/BK_MXWSk.js","../chunks/DuiYw-2t.js","../chunks/DlALRMA8.js","../chunks/CIYxJVP-.js","../assets/PreviewWindow.Dga9zAug.css","../chunks/7W-6I0W5.js","../chunks/Ds4LY5_S.js","../chunks/28SuhBcT.js","../chunks/CfSmEcaH.js","../chunks/BJDcvTi2.js","../chunks/DZZuZ7Nl.js","../chunks/DD0oUy6v.js","../chunks/DFaX1kYU.js","../chunks/CQCVxehf.js","../chunks/B9zVXyGS.js","../assets/DocChip.DlKgEuWc.css","../chunks/Bn9TkbIB.js","../chunks/8eCF3fZX.js","../chunks/KLlJvBx3.js","../chunks/BbEKXuJh.js","../chunks/BHXZdfEc.js","../chunks/MgFVe5-f.js","../chunks/DP0NWgBG.js","../chunks/CNrVcIUd.js","../chunks/BpQy2vJd.js","../chunks/ip3BSDrD.js","../chunks/B65GEZdd.js","../chunks/_NxO7pzE.js","../chunks/BjTe15qL.js","../assets/0.Bi7wbObi.css","../nodes/1.ClSKcXXD.js","../nodes/2.DtoFWLWO.js","../chunks/Ckz7RGf0.js","../chunks/C5MY6dNP.js","../chunks/DUhuG1Hw.js","../chunks/BTF7kOWj.js","../chunks/fzA2mGC3.js","../chunks/BUmi_NPh.js","../chunks/CEBOwVEW.js","../chunks/CZPeboo-.js","../chunks/B2fcXQUP.js","../chunks/BwauVYjH.js","../chunks/DhFU494N.js","../chunks/CbKpBvf7.js","../chunks/C4jBfsPB.js","../chunks/Dg5Iatf7.js","../chunks/DQZynC5d.js","../chunks/BA9bXUEp.js","../chunks/DlIrtyNJ.js","../chunks/_CCaD_og.js","../chunks/Dd6SLnOK.js","../assets/Terminal.B4BtIq8f.css","../chunks/BMgWgkGl.js","../assets/2.meoe_KFK.css","../nodes/3.CQz7EPod.js","../nodes/4.Doi_SYLu.js","../chunks/CcZQvhp1.js","../nodes/5.B4uTy-0f.js","../nodes/6.CmIB-igu.js","../chunks/Ch8vIPte.js","../assets/6.DtDtUpRv.css","../nodes/8.DMqIMsoz.js","../chunks/CkJDm1ZW.js","../assets/DocSheet.DVwT-_8L.css","../nodes/9.D5kLV1OU.js","../chunks/D99Sj8Yt.js","../assets/9.DodnPJFM.css","../nodes/10.C1VYgF4o.js","../nodes/11.Cz3SoD3J.js","../nodes/12.Ck8hTl9o.js","../nodes/13.uPkonAXk.js","../chunks/F38--nON.js","../nodes/14.BhgJgo-p.js","../chunks/RTsEYL93.js","../nodes/15.C8fHy07w.js","../chunks/C24ObgpI.js","../nodes/16.BIiXdOvw.js","../chunks/CIppRg38.js","../chunks/CgvWEeQK.js","../chunks/B01yhBHF.js","../nodes/17.UCTOPfQ9.js","../chunks/BaXPxLpc.js","../nodes/18.BIIxWe2_.js","../chunks/D9hRQQol.js","../chunks/CT1Mi9Rm.js","../nodes/19.MIMOOdHv.js","../nodes/20.6wKzQBq7.js","../chunks/D7IP_ZEm.js","../nodes/21.5HKRevgQ.js","../chunks/9UVXc0hx.js","../nodes/22.D2Go4NAd.js","../nodes/23.CD_BMpjF.js","../nodes/24.T-WCg51Y.js","../chunks/Bx0PJwhk.js","../nodes/25.BeupWX4f.js","../assets/25.BEAKCIvn.css","../nodes/26.Yu_f5rJN.js","../nodes/28.CXVRuiJO.js","../chunks/B-PCtbJj.js","../nodes/29.p0VN3jhb.js","../nodes/30.Cn5WjjU2.js","../nodes/31.X3AmUS0p.js","../nodes/32.ByxI0zka.js","../nodes/33.D3i9rpHh.js","../nodes/34.0c6Z2Z6d.js","../nodes/35.BWPVbOEr.js","../nodes/36.CvLYsEYT.js","../chunks/Kh20FmpZ.js","../chunks/BXyVeS8z.js","../nodes/37.BJz6-lS3.js","../nodes/38.D_9ntghd.js","../nodes/39.HPPVcNOu.js","../nodes/40.CrsYdbJ2.js","../nodes/41.gEqeY20t.js","../nodes/42.B2LWwGrT.js","../nodes/43.DsoNZEVC.js","../nodes/44.CdUnQCqR.js"])))=>i.map(i=>d[i]);
2
+ import{_ as r}from"../chunks/CZPeboo-.js";import{k as h,ay as N,i as n,F as Y,aM as z,aN as B,p as H,u as J,q as K,L as Q,f as g,s as U,a as E,b as W,d as P,x as O,h as X,r as Z,c as y,j as R,m as $,t as tt}from"../chunks/Jk-ASPRO.js";import{h as rt,m as et,u as ot,s as _t}from"../chunks/DTApYZoW.js";import"../chunks/DsnmJJEf.js";import{a as it}from"../chunks/CeV_7ApB.js";import{i as L}from"../chunks/BEVJas-l.js";import{c as A}from"../chunks/Cq7OFmxz.js";import{b as D}from"../chunks/DLfKkHEy.js";import{p as I}from"../chunks/DQWg__9S.js";const Rt={};function st(_){return class extends at{constructor(t){super({component:_,...t})}}}class at{#r;#t;constructor(t){var i=new Map,a=(e,o)=>{var u=B(o,!1,!1);return i.set(e,u),u};const m=new Proxy({...t.props||{},$$events:{}},{get(e,o){return n(i.get(o)??a(o,Reflect.get(e,o)))},has(e,o){return o===N?!0:(n(i.get(o)??a(o,Reflect.get(e,o))),Reflect.has(e,o))},set(e,o,u){return h(i.get(o)??a(o,u),u),Reflect.set(e,o,u)}});this.#t=(t.hydrate?rt:et)(t.component,{target:t.target,anchor:t.anchor,props:m,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Y(),this.#r=m.$$events;for(const e of Object.keys(this.#t))e==="$set"||e==="$destroy"||e==="$on"||z(this,e,{get(){return this.#t[e]},set(o){this.#t[e]=o},enumerable:!0});this.#t.$set=e=>{Object.assign(m,e)},this.#t.$destroy=()=>{ot(this.#t)}}$set(t){this.#t.$set(t)}$on(t,i){this.#r[t]=this.#r[t]||[];const a=(...m)=>i.call(this,...m);return this.#r[t].push(a),()=>{this.#r[t]=this.#r[t].filter(m=>m!==a)}}$destroy(){this.#t.$destroy()}}var mt=y('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),ut=y("<!> <!>",1);function nt(_,t){H(t,!0);let i=I(t,"components",23,()=>[]),a=I(t,"data_0",3,null),m=I(t,"data_1",3,null);J(()=>t.stores.page.set(t.page)),K(()=>{t.stores,t.page,t.constructors,i(),t.form,a(),m(),t.stores.page.notify()});let e=P(!1),o=P(!1),u=P(null);it(()=>{const s=t.stores.page.subscribe(()=>{n(e)&&(h(o,!0),Q().then(()=>{h(u,document.title||"untitled page",!0)}))});return h(e,!0),s});const x=R(()=>t.constructors[1]);var T=ut(),V=g(T);{var k=s=>{const d=R(()=>t.constructors[0]);var l=O(),v=g(l);A(v,()=>n(d),(p,c)=>{D(c(p,{get data(){return a()},get form(){return t.form},get params(){return t.page.params},children:(f,lt)=>{var b=O(),S=g(b);A(S,()=>n(x),(q,F)=>{D(F(q,{get data(){return m()},get form(){return t.form},get params(){return t.page.params}}),G=>i()[1]=G,()=>i()?.[1])}),E(f,b)},$$slots:{default:!0}}),f=>i()[0]=f,()=>i()?.[0])}),E(s,l)},w=s=>{const d=R(()=>t.constructors[0]);var l=O(),v=g(l);A(v,()=>n(d),(p,c)=>{D(c(p,{get data(){return a()},get form(){return t.form},get params(){return t.page.params}}),f=>i()[0]=f,()=>i()?.[0])}),E(s,l)};L(V,s=>{t.constructors[1]?s(k):s(w,-1)})}var C=U(V,2);{var M=s=>{var d=mt(),l=X(d);{var v=p=>{var c=$();tt(()=>_t(c,n(u))),E(p,c)};L(l,p=>{n(o)&&p(v)})}Z(d),E(s,d)};L(C,s=>{n(e)&&s(M)})}E(_,T),W()}const Lt=st(nt),At=[()=>r(()=>import("../nodes/0.CKuUS76g.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139]),import.meta.url),()=>r(()=>import("../nodes/1.ClSKcXXD.js"),__vite__mapDeps([140,1,3,4,12,11,2]),import.meta.url),()=>r(()=>import("../nodes/2.DtoFWLWO.js"),__vite__mapDeps([141,1,2,3,4,5,8,9,12,11,13,14,38,16,17,20,49,79,80,54,24,25,6,18,19,26,108,123,7,124,89,73,125,50,51,28,27,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,52,142,82,83,111,143,144,55,145,15,129,94,146,122,72,131,120,121,107,93,109,96,110,106,22,57,112,97,113,102,114,136,147,65,148,59,61,149,115,119,150,138,151,53,152,153,128,77,116,117,133,154,155,10,156,95,137,70,71,58,105,68,132,92,81,84,85,86,87,88,90,100,66,101,157,158,76,159,160,69,135,161,162,63,163]),import.meta.url),()=>r(()=>import("../nodes/3.CQz7EPod.js"),__vite__mapDeps([164,1,3,4,5,28,9,8,10,2,11,12,13,14,58,49,24,15,16,17,59,25,6,36,29,78,79,80,7,30,26,81,32,33,82,51,83,44,84,40,45,85,86,87,88,55,89,90,91,92,39,93,43,94,95,96,97,98,41,99]),import.meta.url),()=>r(()=>import("../nodes/4.Doi_SYLu.js"),__vite__mapDeps([165,1,3,4,5,9,7,8,10,2,11,12,29,116,166,21,122,80,72,24,25,6,112,132,95]),import.meta.url),()=>r(()=>import("../nodes/5.B4uTy-0f.js"),__vite__mapDeps([167,1,2,3,4,8,12,11,10,13,14,20,152,5,9,25,6,24,153,29,49,128,106,54,18,19,38,16,17,26,22,57,107,28,93,108,109,96,47,110,79,80,30,33,111,44,112,97,72,113,43,102,48,114,61,77,116,117,15,133,27,7,31,32,34,35,36,37,39,40,41,42,45,46,154,155,156,95,137,70,71,138,131,58,59,105,53,151,68,132,92]),import.meta.url),()=>r(()=>import("../nodes/6.CmIB-igu.js"),__vite__mapDeps([168,1,3,4,5,9,8,12,11,2,10,108,24,25,6,38,16,17,14,30,26,55,44,89,75,73,169,124,170]),import.meta.url),()=>r(()=>import("../chunks/CZPeboo-.js").then(_=>_.a),[],import.meta.url),()=>r(()=>import("../nodes/8.DMqIMsoz.js"),__vite__mapDeps([171,1,3,4,5,8,79,80,172,6,9,26,36,24,25,173,69,89]),import.meta.url),()=>r(()=>import("../nodes/9.D5kLV1OU.js"),__vite__mapDeps([174,1,2,3,4,5,9,7,8,30,12,11,153,53,13,14,29,49,175,52,105,25,6,24,104,22,108,38,16,17,72,151,77,89,51,28,44,138,154,61,26,103,36,176]),import.meta.url),()=>r(()=>import("../nodes/10.C1VYgF4o.js"),__vite__mapDeps([177,1,3,4,5,9,8,29,116,24,166,12,11,2,21,85,25,6,65,112]),import.meta.url),()=>r(()=>import("../nodes/11.Cz3SoD3J.js"),__vite__mapDeps([178,1,3,4,5,9,8,30,12,11,2,32,33,6,26,24,166,21,38,16,17,14,29,96,25,63,62]),import.meta.url),()=>r(()=>import("../nodes/12.Ck8hTl9o.js"),__vite__mapDeps([179,1,2,3,4,5,28,9,25,6,24,8,10,11,12,13,14,15,16,17,29,155,22,79,80,30,26,106,54,18,19,38,57,107,93,108,109,96,47,110,33,111,44,112,97,72,113,43,102,20,48,114,145,129,94,146,122,131,89,7,120,121,36,136,147,123,124,73,125,69,95,87,117,49]),import.meta.url),()=>r(()=>import("../nodes/13.uPkonAXk.js"),__vite__mapDeps([180,1,2,3,4,5,9,8,30,12,11,10,79,80,108,24,25,6,38,16,17,14,172,26,36,173,123,7,124,89,73,125,142,82,51,28,83,32,33,44,111,143,144,55,69,74,56,169,181,43,147,100,113,40]),import.meta.url),()=>r(()=>import("../nodes/14.BhgJgo-p.js"),__vite__mapDeps([182,1,3,5,8,2,4,9,30,26,12,11,54,24,25,6,18,19,38,16,17,14,148,7,46,86,183,89,110,65,146,43,56,103,44,113,69,72,97,41,98]),import.meta.url),()=>r(()=>import("../nodes/15.C8fHy07w.js"),__vite__mapDeps([184,1,3,4,5,9,8,12,11,2,21,13,14,20,23,22,24,25,6,185,75,36,73,101]),import.meta.url),()=>r(()=>import("../nodes/16.BIiXdOvw.js"),__vite__mapDeps([186,1,2,3,4,5,9,8,30,26,12,11,32,33,6,24,7,83,51,28,44,25,187,13,14,17,40,43,188,65,29,102,189,55,66,72,101]),import.meta.url),()=>r(()=>import("../nodes/17.UCTOPfQ9.js"),__vite__mapDeps([190,1,3,4,5,8,9,12,11,2,13,14,20,191,43,24,25,6,159,27,28,7,29,30,17,31,32,33,26,34,35,36,37,18,19,38,16,39,40,41,42,44,45,46,47,48]),import.meta.url),()=>r(()=>import("../nodes/18.BIIxWe2_.js"),__vite__mapDeps([192,1,3,4,5,8,12,11,2,13,14,20,49,193,9,24,53,175,29,52,7,68,25,6,194,87,65,59,121,47,128,106,54,18,19,38,16,17,26,22,57,107,28,93,108,109,96,110,79,80,30,33,111,44,112,97,72,113,43,102,48,114,61,77,32,130,127,115,156,116,95,120,36,89,131,90,100,27,31,34,35,37,39,40,41,42,45,46,137,91,92,123,124,73,125,76,135,104,144]),import.meta.url),()=>r(()=>import("../nodes/19.MIMOOdHv.js"),__vite__mapDeps([195,1,3,4,5,8,9,12,11,2,13,14,20,193,24,53,175,29,49,52,7,68,25,6,194,87,65,59,121,47,27,28,30,17,31,32,33,26,34,35,36,37,18,19,38,16,39,40,41,42,43,44,45,46,48]),import.meta.url),()=>r(()=>import("../nodes/20.6wKzQBq7.js"),__vite__mapDeps([196,1,3,4,5,9,8,12,11,2,10,13,14,20,193,24,53,175,29,49,52,7,68,25,6,194,87,65,59,121,47,17,32,33,26,197,45,126,90]),import.meta.url),()=>r(()=>import("../nodes/21.5HKRevgQ.js"),__vite__mapDeps([198,1,3,4,5,28,9,8,10,2,11,12,13,14,30,153,32,33,6,26,24,17,197,69,25,90,150,44,102,97,135,199,41,45,43,194,60,42,129]),import.meta.url),()=>r(()=>import("../nodes/22.D2Go4NAd.js"),__vite__mapDeps([200,1,3,4,5,9,8,12,11,2,80,108,24,25,6,38,16,17,14,107,28,93,26,18,19,109,96,47,110,69,95,199,89]),import.meta.url),()=>r(()=>import("../nodes/23.CD_BMpjF.js"),__vite__mapDeps([201,1,3,4,5,9,8,79,80,108,24,25,6,38,16,17,14,172,26,36,173,7,30,12,11,2,10,82,51,28,83,32,33,44,181,40,142,111,143,144,55,89,73,69,74,147,159,43,124,126]),import.meta.url),()=>r(()=>import("../nodes/24.T-WCg51Y.js"),__vite__mapDeps([202,1,3,5,8,203,4,9,88,24,25,6,138,12,11,2,17,92,19,29,32,33,26]),import.meta.url),()=>r(()=>import("../nodes/25.BeupWX4f.js"),__vite__mapDeps([204,1,3,4,5,9,8,13,12,11,2,14,29,154,24,17,25,6,109,40,47,43,45,35,59,138,131,66,37,102,205]),import.meta.url),()=>r(()=>import("../nodes/26.Yu_f5rJN.js"),__vite__mapDeps([206,1,157,3,2,4,5,9,8,30,12,11,17,13,14,43,24,25,6,40,151,69,66,47,102]),import.meta.url),()=>r(()=>import("../chunks/CZPeboo-.js").then(_=>_.b),[],import.meta.url),()=>r(()=>import("../nodes/28.CXVRuiJO.js"),__vite__mapDeps([207,1,3,4,5,9,8,12,11,2,17,208,157,158]),import.meta.url),()=>r(()=>import("../nodes/29.p0VN3jhb.js"),__vite__mapDeps([209,1,157,3,8]),import.meta.url),()=>r(()=>import("../nodes/30.Cn5WjjU2.js"),__vite__mapDeps([210,1,3,4,5,9,8,12,11,2,17,208,157,158,34,24,25,6]),import.meta.url),()=>r(()=>import("../nodes/31.X3AmUS0p.js"),__vite__mapDeps([211,1,2,3,4,5,9,8,30,10,11,12,92,208,157,158]),import.meta.url),()=>r(()=>import("../nodes/32.ByxI0zka.js"),__vite__mapDeps([212,1,3,4,5,9,8,10,2,11,12,17,208,157,158]),import.meta.url),()=>r(()=>import("../nodes/33.D3i9rpHh.js"),__vite__mapDeps([213,1,3,4,5,9,8,26,208,157,158,12,11,2,36,24,25,6,44,65,56,112]),import.meta.url),()=>r(()=>import("../nodes/34.0c6Z2Z6d.js"),__vite__mapDeps([214,1,3,5,8,203,4,9,88,24,25,6,138,12,11,2,17,92,19,32,33,26,208,157,158]),import.meta.url),()=>r(()=>import("../nodes/35.BWPVbOEr.js"),__vite__mapDeps([215,1,3,4,5,9,8,12,11,2,17,208,157,158,129,24,25,6]),import.meta.url),()=>r(()=>import("../nodes/36.CvLYsEYT.js"),__vite__mapDeps([216,1,2,3,4,5,28,9,8,10,11,12,208,157,158,191,43,24,25,6,159,217,7,30,82,51,83,32,33,26,44,187,13,14,17,40,188,65,102,67,189,218,185,29,66,36]),import.meta.url),()=>r(()=>import("../nodes/37.BJz6-lS3.js"),__vite__mapDeps([219,1,2,3,4,5,9,8,10,11,12,208,157,158,218,24,185,187,13,14,17,40,25,6,43,30,189,65,32,33,26,96]),import.meta.url),()=>r(()=>import("../nodes/38.D_9ntghd.js"),__vite__mapDeps([220,1,3,4,5,8,32,33,9,6,26,24,208,157,158,12,11,2]),import.meta.url),()=>r(()=>import("../nodes/39.HPPVcNOu.js"),__vite__mapDeps([221,1,3,4,5,8,9,30,12,11,2,17,208,157,158,64]),import.meta.url),()=>r(()=>import("../nodes/40.CrsYdbJ2.js"),__vite__mapDeps([222,1,3,4,5,9,8,12,11,2,17,208,157,158,162,30,26,24,31,32,33,6,35,25,44,34,143,183,129]),import.meta.url),()=>r(()=>import("../nodes/41.gEqeY20t.js"),__vite__mapDeps([223,1,2,3,4,5,9,7,8,30,10,11,12,32,33,6,26,24,160,149,57,69,25,97,135,151,40,96,161,185,81,42,35,45,129,43,159,47,217,82,51,28,83,44,187,13,14,17,188,65,102,77,34]),import.meta.url),()=>r(()=>import("../nodes/42.B2LWwGrT.js"),__vite__mapDeps([224,1,3,12,11,2,4,118,5,9,6,25,24,8,26,29,119,10,13,14,20,27,28,7,30,17,31,32,33,34,35,36,37,18,19,38,16,39,40,41,42,43,44,45,46,47,48,106,54,22,57,107,93,108,109,96,110,79,80,111,112,97,72,113,102,114,91,92,90,120,121,122,123,124,89,73,125,21,126,60,127,128,61,77,129,130,87,131,84,85,86,88,55,132,133,116,134,115,15,78,58,49,59,81,82,51,83,94,95,98,99,69,135,136]),import.meta.url),()=>r(()=>import("../nodes/43.DsoNZEVC.js"),__vite__mapDeps([225,1,3,4,5,8,9,79,80,127,29,172,6,26,36,24,25,173,69,47,132,89]),import.meta.url),()=>r(()=>import("../nodes/44.CdUnQCqR.js"),__vite__mapDeps([226,1,3,4,5,9,8,116,166,12,11,2,21,133,24,134]),import.meta.url)],Dt=[0],It={"/":[-3],"/crew":[3],"/decisions":[-5],"/deck":[-6],"/documents":[-7],"/events":[-8],"/files":[-9],"/harbour":[-10],"/headroom":[-11],"/health":[-12],"/inbox":[-13],"/library/[shelf]/[folder]/[slug]":[-14],"/live-review/[id]":[14],"/more":[15],"/plugins":[16],"/plugins/[plugin]/[page]":[-18],"/projects/[id]":[-19],"/projects/[id]/passage":[-21],"/projects/[id]/passage/edit":[-22],"/projects/[id]/[plugin]/[tab]":[-20],"/prototypes/[project]/[task]/[name]":[-23],"/records/[project]/[task]":[-24],"/remotes":[-25],"/second-mates":[-26],"/second-mates/add":[26],"/settings":[-28],"/settings/chat":[-29],"/settings/cloud":[-30],"/settings/discussion":[-31],"/settings/events":[-32],"/settings/experimental":[-33],"/settings/firstmate":[-34],"/settings/gateway":[-35],"/settings/headroom":[-36],"/settings/plugins":[-37],"/settings/plugins/[plugin]":[-38],"/settings/setup":[-39],"/settings/update":[-40],"/settings/voice":[-41],"/setup":[-42],"/tasks/[id]":[-43],"/tasks/[id]/doc":[-44],"/time":[-45]},j={handleError:(({error:_})=>{console.error(_)}),reroute:(()=>{}),transport:{}},dt=Object.fromEntries(Object.entries(j.transport).map(([_,t])=>[_,t.decode])),Tt=Object.fromEntries(Object.entries(j.transport).map(([_,t])=>[_,t.encode])),Vt=!1,bt=(_,t)=>dt[_](t),yt=()=>r(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(_=>_.default);export{bt as decode,dt as decoders,It as dictionary,Tt as encoders,yt as get_error_template,Vt as hash,j as hooks,Rt as matchers,At as nodes,Lt as root,Dt as server_loads};
@@ -0,0 +1 @@
1
+ import{s as r}from"../chunks/uFHn3SsP.js";import{z as t}from"../chunks/CtfzluSe.js";export{t as load_css,r as start};