plum-e2e 2.6.8 → 2.6.9

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 (828) hide show
  1. package/.env +5 -0
  2. package/backend/lib/runnerProcess.js +29 -15
  3. package/backend/logs/runner-cmqneqerz0000qq01i5ap2rvl.log +4 -0
  4. package/backend/logs/runner-cmqnfv7kr0000r101aeocm8eu.log +4 -0
  5. package/backend/logs/runner-cmqnfvb560001r101qoi0phau.log +4 -0
  6. package/backend/logs/runner-cmqnfvlm20002r101gsyqb837.log +4 -0
  7. package/backend/logs/runner-cmqnfvqfy0003r101fh41pzx3.log +4 -0
  8. package/backend/logs/runner-cmqnfvvwo0004r101q4dtqxd2.log +4 -0
  9. package/backend/logs/runner-cmr8o2x3n0000mg01410tpuck.log +4 -0
  10. package/backend/logs/runner-cmr90hvcx0000n2016edtmrtv.log +4 -0
  11. package/backend/logs/runner-cmr90i7h20001n201g2wg6v3n.log +4 -0
  12. package/backend/logs/runner-cmr90iilm0002n201mmisva95.log +4 -0
  13. package/backend/logs/runner-cmr90j70r0003n201xz8525dz.log +4 -0
  14. package/backend/logs/runner-cmr90yup70000qp017ianc2gp.log +4 -0
  15. package/backend/logs/runner-cmr90zbtm0001qp01u9tfdkh1.log +4 -0
  16. package/backend/logs/runner-cmr91a3mw0000tb01414rd1df.log +4 -0
  17. package/backend/logs/runner-cmr91dhla0001tb01jp7thjnl.log +4 -0
  18. package/backend/logs/runner-cmrkk6fcl0000qj012kve79f4.log +4 -0
  19. package/backend/logs/runner-cmrkl8sym0000qy01euz4270n.log +4 -0
  20. package/backend/logs/runner-cmrkl9oyx0001qy0137nzr94d.log +4 -0
  21. package/bin/plum.js +13 -0
  22. package/bin/postinstall.js +46 -0
  23. package/frontend/.svelte-kit/adapter-node/.vite/manifest.json +95 -39
  24. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/BackLink.CvWWuO3h.css +5 -0
  25. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Badge.D1SV0Gv7.css +5 -0
  26. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +23 -0
  27. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/EmptyState.DUDM4P19.css +23 -0
  28. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/{ConfirmModal.CdhOYVBb.css → Modal.BuaCfdLj.css} +6 -1
  29. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Pagination.DZmi2Po-.css +5 -0
  30. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Toast.DENwYn3g.css +5 -0
  31. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_layout.BuhMvMUj.css +5 -0
  32. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.0Eln51hV.css +5 -0
  33. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.5IJAEAjc.css +5 -0
  34. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BR3wgXcZ.css +5 -0
  35. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BWAH0Beh.css +23 -0
  36. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BZfe6nWe.css +5 -0
  37. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.Bj_a_5lv.css +5 -0
  38. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BwgOqeMo.css +23 -0
  39. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CBHi6pzT.css +5 -0
  40. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CFnbmY-D.css +5 -0
  41. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CrXpMrqh.css +5 -0
  42. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page._h2o67kg.css +5 -0
  43. package/frontend/.svelte-kit/adapter-node/chunks/BackLink.js +5 -0
  44. package/frontend/.svelte-kit/adapter-node/chunks/Badge.js +5 -0
  45. package/frontend/.svelte-kit/adapter-node/chunks/ConfirmModal.js +12 -20
  46. package/frontend/.svelte-kit/adapter-node/chunks/EmptyState.js +29 -7
  47. package/frontend/.svelte-kit/adapter-node/chunks/Modal.js +43 -0
  48. package/frontend/.svelte-kit/adapter-node/chunks/Toast.js +17 -1
  49. package/frontend/.svelte-kit/adapter-node/chunks/attributes.js +5 -0
  50. package/frontend/.svelte-kit/adapter-node/chunks/auth.js +5 -0
  51. package/frontend/.svelte-kit/adapter-node/{_app/immutable/assets/EmptyState.BdO1q9cJ.css → chunks/auth2.js} +13 -1
  52. package/frontend/.svelte-kit/adapter-node/chunks/client.js +5 -0
  53. package/frontend/.svelte-kit/adapter-node/chunks/common.js +56 -0
  54. package/frontend/.svelte-kit/adapter-node/chunks/constants.js +9 -2
  55. package/frontend/.svelte-kit/adapter-node/chunks/escaping.js +5 -0
  56. package/frontend/.svelte-kit/adapter-node/chunks/exports.js +5 -0
  57. package/frontend/.svelte-kit/adapter-node/chunks/format.js +5 -0
  58. package/frontend/.svelte-kit/adapter-node/chunks/index-server.js +5 -0
  59. package/frontend/.svelte-kit/adapter-node/chunks/index.js +5 -0
  60. package/frontend/.svelte-kit/adapter-node/chunks/index2.js +5 -0
  61. package/frontend/.svelte-kit/adapter-node/chunks/internal.js +7 -2
  62. package/frontend/.svelte-kit/adapter-node/chunks/reports.js +5 -0
  63. package/frontend/.svelte-kit/adapter-node/chunks/reports2.js +109 -0
  64. package/frontend/.svelte-kit/adapter-node/chunks/repository.js +111 -0
  65. package/frontend/.svelte-kit/adapter-node/chunks/runner.js +12 -0
  66. package/frontend/.svelte-kit/adapter-node/chunks/stores.js +5 -0
  67. package/frontend/.svelte-kit/adapter-node/chunks/theme.js +5 -0
  68. package/frontend/.svelte-kit/adapter-node/entries/fallbacks/error.svelte.js +5 -0
  69. package/frontend/.svelte-kit/adapter-node/entries/pages/_layout.js +5 -0
  70. package/frontend/.svelte-kit/adapter-node/entries/pages/_layout.svelte.js +7 -0
  71. package/frontend/.svelte-kit/adapter-node/entries/pages/_page.svelte.js +35 -12
  72. package/frontend/.svelte-kit/adapter-node/entries/pages/login/_page.svelte.js +9 -2
  73. package/frontend/.svelte-kit/adapter-node/entries/pages/reports/_id_/_page.svelte.js +9 -2
  74. package/frontend/.svelte-kit/adapter-node/entries/pages/reports/_page.svelte.js +21 -25
  75. package/frontend/.svelte-kit/adapter-node/entries/pages/reports/live/_page.svelte.js +31 -24
  76. package/frontend/.svelte-kit/adapter-node/entries/pages/scheduled-tests/_page.svelte.js +72 -32
  77. package/frontend/.svelte-kit/adapter-node/entries/pages/settings/_page.svelte.js +276 -95
  78. package/frontend/.svelte-kit/adapter-node/entries/pages/setup/_page.svelte.js +9 -2
  79. package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/_page.svelte.js +43 -36
  80. package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/runs/_id_/_page.svelte.js +66 -13
  81. package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/suites/_id_/_page.svelte.js +23 -17
  82. package/frontend/.svelte-kit/adapter-node/index.js +5 -0
  83. package/frontend/.svelte-kit/adapter-node/internal.js +5 -0
  84. package/frontend/.svelte-kit/adapter-node/manifest-full.js +6 -1
  85. package/frontend/.svelte-kit/adapter-node/manifest.js +6 -1
  86. package/frontend/.svelte-kit/adapter-node/nodes/0.js +7 -2
  87. package/frontend/.svelte-kit/adapter-node/nodes/1.js +6 -1
  88. package/frontend/.svelte-kit/adapter-node/nodes/10.js +7 -2
  89. package/frontend/.svelte-kit/adapter-node/nodes/11.js +7 -2
  90. package/frontend/.svelte-kit/adapter-node/nodes/12.js +7 -2
  91. package/frontend/.svelte-kit/adapter-node/nodes/2.js +7 -2
  92. package/frontend/.svelte-kit/adapter-node/nodes/3.js +6 -1
  93. package/frontend/.svelte-kit/adapter-node/nodes/4.js +7 -2
  94. package/frontend/.svelte-kit/adapter-node/nodes/5.js +6 -1
  95. package/frontend/.svelte-kit/adapter-node/nodes/6.js +6 -1
  96. package/frontend/.svelte-kit/adapter-node/nodes/7.js +7 -2
  97. package/frontend/.svelte-kit/adapter-node/nodes/8.js +7 -2
  98. package/frontend/.svelte-kit/adapter-node/nodes/9.js +6 -1
  99. package/frontend/.svelte-kit/ambient.d.ts +5 -4
  100. package/frontend/.svelte-kit/generated/client/app.js +5 -0
  101. package/frontend/.svelte-kit/generated/client/matchers.js +5 -0
  102. package/frontend/.svelte-kit/generated/client/nodes/0.js +5 -0
  103. package/frontend/.svelte-kit/generated/client/nodes/1.js +5 -0
  104. package/frontend/.svelte-kit/generated/client/nodes/10.js +5 -0
  105. package/frontend/.svelte-kit/generated/client/nodes/11.js +5 -0
  106. package/frontend/.svelte-kit/generated/client/nodes/12.js +5 -0
  107. package/frontend/.svelte-kit/generated/client/nodes/2.js +5 -0
  108. package/frontend/.svelte-kit/generated/client/nodes/3.js +5 -0
  109. package/frontend/.svelte-kit/generated/client/nodes/4.js +5 -0
  110. package/frontend/.svelte-kit/generated/client/nodes/5.js +5 -0
  111. package/frontend/.svelte-kit/generated/client/nodes/6.js +5 -0
  112. package/frontend/.svelte-kit/generated/client/nodes/7.js +5 -0
  113. package/frontend/.svelte-kit/generated/client/nodes/8.js +5 -0
  114. package/frontend/.svelte-kit/generated/client/nodes/9.js +5 -0
  115. package/frontend/.svelte-kit/generated/client-optimized/app.js +5 -0
  116. package/frontend/.svelte-kit/generated/client-optimized/matchers.js +5 -0
  117. package/frontend/.svelte-kit/generated/client-optimized/nodes/0.js +5 -0
  118. package/frontend/.svelte-kit/generated/client-optimized/nodes/1.js +5 -0
  119. package/frontend/.svelte-kit/generated/client-optimized/nodes/10.js +5 -0
  120. package/frontend/.svelte-kit/generated/client-optimized/nodes/11.js +5 -0
  121. package/frontend/.svelte-kit/generated/client-optimized/nodes/12.js +5 -0
  122. package/frontend/.svelte-kit/generated/client-optimized/nodes/2.js +5 -0
  123. package/frontend/.svelte-kit/generated/client-optimized/nodes/3.js +5 -0
  124. package/frontend/.svelte-kit/generated/client-optimized/nodes/4.js +5 -0
  125. package/frontend/.svelte-kit/generated/client-optimized/nodes/5.js +5 -0
  126. package/frontend/.svelte-kit/generated/client-optimized/nodes/6.js +5 -0
  127. package/frontend/.svelte-kit/generated/client-optimized/nodes/7.js +5 -0
  128. package/frontend/.svelte-kit/generated/client-optimized/nodes/8.js +5 -0
  129. package/frontend/.svelte-kit/generated/client-optimized/nodes/9.js +5 -0
  130. package/frontend/.svelte-kit/generated/root.js +5 -0
  131. package/frontend/.svelte-kit/generated/root.svelte +5 -0
  132. package/frontend/.svelte-kit/generated/server/internal.js +7 -2
  133. package/frontend/.svelte-kit/non-ambient.d.ts +5 -0
  134. package/frontend/.svelte-kit/output/client/.vite/manifest.json +404 -351
  135. package/frontend/.svelte-kit/output/client/_app/immutable/assets/0.BhSG-jZH.css +5 -0
  136. package/frontend/.svelte-kit/output/client/_app/immutable/assets/10.CdaQUS6U.css +5 -0
  137. package/frontend/.svelte-kit/output/client/_app/immutable/assets/11.BWAH0Beh.css +23 -0
  138. package/frontend/.svelte-kit/output/client/_app/immutable/assets/12.Bj_a_5lv.css +5 -0
  139. package/frontend/.svelte-kit/output/client/_app/immutable/assets/2.CrXpMrqh.css +5 -0
  140. package/frontend/.svelte-kit/output/client/_app/immutable/assets/3.BR3wgXcZ.css +5 -0
  141. package/frontend/.svelte-kit/output/client/_app/immutable/assets/4.0Eln51hV.css +5 -0
  142. package/frontend/.svelte-kit/output/client/_app/immutable/assets/5.DFV9OgAu.css +5 -0
  143. package/frontend/.svelte-kit/output/client/_app/immutable/assets/6.CFnbmY-D.css +5 -0
  144. package/frontend/.svelte-kit/output/client/_app/immutable/assets/7.CBHi6pzT.css +5 -0
  145. package/frontend/.svelte-kit/output/client/_app/immutable/assets/8.BwgOqeMo.css +23 -0
  146. package/frontend/.svelte-kit/output/client/_app/immutable/assets/9._h2o67kg.css +5 -0
  147. package/frontend/.svelte-kit/output/client/_app/immutable/assets/BackLink.CvWWuO3h.css +5 -0
  148. package/frontend/.svelte-kit/output/client/_app/immutable/assets/Badge.D1SV0Gv7.css +5 -0
  149. package/frontend/.svelte-kit/output/client/_app/immutable/assets/Button.FOWXxvc7.css +5 -0
  150. package/frontend/.svelte-kit/output/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +23 -0
  151. package/frontend/.svelte-kit/output/client/_app/immutable/assets/EmptyState.DUDM4P19.css +23 -0
  152. package/frontend/{build/client/_app/immutable/assets/ConfirmModal.DmxkcwXv.css → .svelte-kit/output/client/_app/immutable/assets/Modal.BZpm0HP8.css} +6 -1
  153. package/frontend/{build/client/_app/immutable/assets/ConfirmModal.CdhOYVBb.css → .svelte-kit/output/client/_app/immutable/assets/Modal.BuaCfdLj.css} +6 -1
  154. package/frontend/.svelte-kit/output/client/_app/immutable/assets/Pagination.DZmi2Po-.css +5 -0
  155. package/frontend/.svelte-kit/output/client/_app/immutable/assets/Toast.DENwYn3g.css +5 -0
  156. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_layout.BuhMvMUj.css +5 -0
  157. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.0Eln51hV.css +5 -0
  158. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.5IJAEAjc.css +5 -0
  159. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BR3wgXcZ.css +5 -0
  160. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BWAH0Beh.css +23 -0
  161. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BZfe6nWe.css +5 -0
  162. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.Bj_a_5lv.css +5 -0
  163. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BwgOqeMo.css +23 -0
  164. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CBHi6pzT.css +5 -0
  165. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CFnbmY-D.css +5 -0
  166. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CrXpMrqh.css +5 -0
  167. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page._h2o67kg.css +5 -0
  168. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{BLAiBE__.js → 2zMvi6fR.js} +6 -1
  169. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/3IV-uqHa.js +23 -0
  170. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/4N1zIH8t.js +23 -0
  171. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/B98sHkeB.js +23 -0
  172. package/frontend/{build/client/_app/immutable/chunks/C67QNx7Z.js → .svelte-kit/output/client/_app/immutable/chunks/BAACMRH5.js} +6 -1
  173. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Bfc47y5P.js +5 -0
  174. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BhvHtTRh.js +23 -0
  175. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BjUpWNbl.js +23 -0
  176. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DIx44H9N.js → C1Vid6wz.js} +6 -1
  177. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C1sukchk.js +23 -0
  178. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C8OURRSs.js +23 -0
  179. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DGryW1Vp.js → CKDtmZUQ.js} +6 -1
  180. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CMBQQ9RZ.js +23 -0
  181. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{C4eeChIU.js → CNdcuGR0.js} +6 -1
  182. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CgnwuKKO.js +23 -0
  183. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CuqnZUex.js +23 -0
  184. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/D2cvzNT9.js +23 -0
  185. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{B0pefNHY.js → D2gYTmAA.js} +6 -1
  186. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{uFRI_bmR.js → DCgHuuvs.js} +6 -1
  187. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{CxTX_lpP.js → DDblTLLE.js} +6 -1
  188. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DW85KPAh.js +24 -0
  189. package/frontend/{build/client/_app/immutable/chunks/BFgtfHj2.js → .svelte-kit/output/client/_app/immutable/chunks/DW_iTTZe.js} +6 -1
  190. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{BVMec-1T.js → DYlaQsvN.js} +6 -1
  191. package/frontend/{build/client/_app/immutable/chunks/BFEiffAL.js → .svelte-kit/output/client/_app/immutable/chunks/DkNBSlo2.js} +6 -1
  192. package/frontend/{build/client/_app/immutable/chunks/BkKmeUbA.js → .svelte-kit/output/client/_app/immutable/chunks/DlNYZJ7K.js} +6 -1
  193. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Dlnxgs49.js +23 -0
  194. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DtGXv8RA.js +25 -0
  195. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/TOCyHP97.js +28 -0
  196. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{CyQ_oBw2.js → oN0Z3NSF.js} +6 -1
  197. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{raHbXn_9.js → t-La0hgu.js} +6 -1
  198. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DP6QP4L6.js → w0D4Uzlq.js} +6 -1
  199. package/frontend/.svelte-kit/output/client/_app/immutable/entry/app.BCWbw5zZ.js +24 -0
  200. package/frontend/{build/client/_app/immutable/entry/start.MMlC62np.js → .svelte-kit/output/client/_app/immutable/entry/start.2_AF42wj.js} +6 -1
  201. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.BAqq2UTE.js +28 -0
  202. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{1.Dbck5ct8.js → 1.D5VvLtGP.js} +6 -1
  203. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/10.Bn4Ma-MU.js +23 -0
  204. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/11.BacEu7sW.js +23 -0
  205. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.0YGtl1uj.js +23 -0
  206. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.C2jjMA-Z.js +23 -0
  207. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/3.DHx0kho3.js +23 -0
  208. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/4.CnaMiirx.js +23 -0
  209. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/5.B6m-zTVe.js +23 -0
  210. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/6.BPDag1zv.js +23 -0
  211. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/7.D7LwxSvT.js +23 -0
  212. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/8.CCkNX20G.js +26 -0
  213. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/9.HDerA6JV.js +23 -0
  214. package/frontend/.svelte-kit/output/client/_app/version.json +1 -1
  215. package/frontend/.svelte-kit/output/server/.vite/manifest.json +95 -39
  216. package/frontend/.svelte-kit/output/server/_app/immutable/assets/BackLink.CvWWuO3h.css +5 -0
  217. package/frontend/.svelte-kit/output/server/_app/immutable/assets/Badge.D1SV0Gv7.css +5 -0
  218. package/frontend/.svelte-kit/output/server/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +23 -0
  219. package/frontend/.svelte-kit/output/server/_app/immutable/assets/EmptyState.DUDM4P19.css +23 -0
  220. package/frontend/.svelte-kit/output/{client/_app/immutable/assets/ConfirmModal.CdhOYVBb.css → server/_app/immutable/assets/Modal.BuaCfdLj.css} +6 -1
  221. package/frontend/.svelte-kit/output/server/_app/immutable/assets/Pagination.DZmi2Po-.css +5 -0
  222. package/frontend/.svelte-kit/output/server/_app/immutable/assets/Toast.DENwYn3g.css +5 -0
  223. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_layout.BuhMvMUj.css +5 -0
  224. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.0Eln51hV.css +5 -0
  225. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.5IJAEAjc.css +5 -0
  226. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BR3wgXcZ.css +5 -0
  227. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BWAH0Beh.css +23 -0
  228. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BZfe6nWe.css +5 -0
  229. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.Bj_a_5lv.css +5 -0
  230. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BwgOqeMo.css +23 -0
  231. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CBHi6pzT.css +5 -0
  232. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CFnbmY-D.css +5 -0
  233. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CrXpMrqh.css +5 -0
  234. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page._h2o67kg.css +5 -0
  235. package/frontend/.svelte-kit/output/server/chunks/BackLink.js +5 -0
  236. package/frontend/.svelte-kit/output/server/chunks/Badge.js +5 -0
  237. package/frontend/.svelte-kit/output/server/chunks/ConfirmModal.js +12 -20
  238. package/frontend/.svelte-kit/output/server/chunks/EmptyState.js +29 -7
  239. package/frontend/.svelte-kit/output/server/chunks/Modal.js +43 -0
  240. package/frontend/.svelte-kit/output/server/chunks/Toast.js +17 -1
  241. package/frontend/.svelte-kit/output/server/chunks/attributes.js +5 -0
  242. package/frontend/.svelte-kit/output/server/chunks/auth.js +5 -0
  243. package/frontend/.svelte-kit/output/{client/_app/immutable/assets/EmptyState.BdO1q9cJ.css → server/chunks/auth2.js} +13 -1
  244. package/frontend/.svelte-kit/output/server/chunks/client.js +5 -0
  245. package/frontend/.svelte-kit/output/server/chunks/common.js +56 -0
  246. package/frontend/.svelte-kit/output/server/chunks/constants.js +9 -2
  247. package/frontend/.svelte-kit/output/server/chunks/escaping.js +5 -0
  248. package/frontend/.svelte-kit/output/server/chunks/exports.js +5 -0
  249. package/frontend/.svelte-kit/output/server/chunks/format.js +5 -0
  250. package/frontend/.svelte-kit/output/server/chunks/index-server.js +5 -0
  251. package/frontend/.svelte-kit/output/server/chunks/index.js +5 -0
  252. package/frontend/.svelte-kit/output/server/chunks/index2.js +5 -0
  253. package/frontend/.svelte-kit/output/server/chunks/internal.js +7 -2
  254. package/frontend/.svelte-kit/output/server/chunks/reports.js +5 -0
  255. package/frontend/.svelte-kit/output/server/chunks/reports2.js +109 -0
  256. package/frontend/.svelte-kit/output/server/chunks/repository.js +111 -0
  257. package/frontend/.svelte-kit/output/server/chunks/runner.js +12 -0
  258. package/frontend/.svelte-kit/output/server/chunks/stores.js +5 -0
  259. package/frontend/.svelte-kit/output/server/chunks/theme.js +5 -0
  260. package/frontend/.svelte-kit/output/server/entries/fallbacks/error.svelte.js +5 -0
  261. package/frontend/.svelte-kit/output/server/entries/pages/_layout.js +5 -0
  262. package/frontend/.svelte-kit/output/server/entries/pages/_layout.svelte.js +7 -0
  263. package/frontend/.svelte-kit/output/server/entries/pages/_page.svelte.js +35 -12
  264. package/frontend/.svelte-kit/output/server/entries/pages/login/_page.svelte.js +9 -2
  265. package/frontend/.svelte-kit/output/server/entries/pages/reports/_id_/_page.svelte.js +9 -2
  266. package/frontend/.svelte-kit/output/server/entries/pages/reports/_page.svelte.js +21 -25
  267. package/frontend/.svelte-kit/output/server/entries/pages/reports/live/_page.svelte.js +31 -24
  268. package/frontend/.svelte-kit/output/server/entries/pages/scheduled-tests/_page.svelte.js +72 -32
  269. package/frontend/.svelte-kit/output/server/entries/pages/settings/_page.svelte.js +276 -95
  270. package/frontend/.svelte-kit/output/server/entries/pages/setup/_page.svelte.js +9 -2
  271. package/frontend/.svelte-kit/output/server/entries/pages/test-repository/_page.svelte.js +43 -36
  272. package/frontend/.svelte-kit/output/server/entries/pages/test-repository/runs/_id_/_page.svelte.js +66 -13
  273. package/frontend/.svelte-kit/output/server/entries/pages/test-repository/suites/_id_/_page.svelte.js +23 -17
  274. package/frontend/.svelte-kit/output/server/index.js +5 -0
  275. package/frontend/.svelte-kit/output/server/internal.js +5 -0
  276. package/frontend/.svelte-kit/output/server/manifest-full.js +6 -1
  277. package/frontend/.svelte-kit/output/server/manifest.js +6 -1
  278. package/frontend/.svelte-kit/output/server/nodes/0.js +7 -2
  279. package/frontend/.svelte-kit/output/server/nodes/1.js +6 -1
  280. package/frontend/.svelte-kit/output/server/nodes/10.js +7 -2
  281. package/frontend/.svelte-kit/output/server/nodes/11.js +7 -2
  282. package/frontend/.svelte-kit/output/server/nodes/12.js +7 -2
  283. package/frontend/.svelte-kit/output/server/nodes/2.js +7 -2
  284. package/frontend/.svelte-kit/output/server/nodes/3.js +6 -1
  285. package/frontend/.svelte-kit/output/server/nodes/4.js +7 -2
  286. package/frontend/.svelte-kit/output/server/nodes/5.js +6 -1
  287. package/frontend/.svelte-kit/output/server/nodes/6.js +6 -1
  288. package/frontend/.svelte-kit/output/server/nodes/7.js +7 -2
  289. package/frontend/.svelte-kit/output/server/nodes/8.js +7 -2
  290. package/frontend/.svelte-kit/output/server/nodes/9.js +6 -1
  291. package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css +5 -0
  292. package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css.br +0 -0
  293. package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css.gz +0 -0
  294. package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css +5 -0
  295. package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css.br +0 -0
  296. package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css.gz +0 -0
  297. package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css +23 -0
  298. package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css.br +0 -0
  299. package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css.gz +0 -0
  300. package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css +5 -0
  301. package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css.br +0 -0
  302. package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css.gz +0 -0
  303. package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css +5 -0
  304. package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css.br +0 -0
  305. package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css.gz +0 -0
  306. package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css +5 -0
  307. package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css.br +0 -0
  308. package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css.gz +0 -0
  309. package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css +5 -0
  310. package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css.br +0 -0
  311. package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css.gz +0 -0
  312. package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css +5 -0
  313. package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css.br +0 -0
  314. package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css.gz +0 -0
  315. package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css +5 -0
  316. package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css.br +0 -0
  317. package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css.gz +0 -0
  318. package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css +5 -0
  319. package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css.br +0 -0
  320. package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css.gz +0 -0
  321. package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css +23 -0
  322. package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css.br +0 -0
  323. package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css.gz +0 -0
  324. package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css +5 -0
  325. package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css.br +0 -0
  326. package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css.gz +0 -0
  327. package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css +5 -0
  328. package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css.br +0 -0
  329. package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css.gz +0 -0
  330. package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css +5 -0
  331. package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css.br +0 -0
  332. package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css.gz +0 -0
  333. package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css +5 -0
  334. package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css.br +0 -0
  335. package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css.gz +0 -0
  336. package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +23 -0
  337. package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css.br +0 -0
  338. package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css.gz +0 -0
  339. package/frontend/build/client/_app/immutable/assets/EmptyState.DUDM4P19.css +23 -0
  340. package/frontend/build/client/_app/immutable/assets/{EmptyState.BdO1q9cJ.css.gz → EmptyState.DUDM4P19.css.br} +0 -0
  341. package/frontend/build/client/_app/immutable/assets/EmptyState.DUDM4P19.css.gz +0 -0
  342. package/frontend/{.svelte-kit/output/client/_app/immutable/assets/ConfirmModal.DmxkcwXv.css → build/client/_app/immutable/assets/Modal.BZpm0HP8.css} +6 -1
  343. package/frontend/build/client/_app/immutable/assets/Modal.BZpm0HP8.css.br +0 -0
  344. package/frontend/build/client/_app/immutable/assets/Modal.BZpm0HP8.css.gz +0 -0
  345. package/frontend/{.svelte-kit/output/server/_app/immutable/assets/ConfirmModal.CdhOYVBb.css → build/client/_app/immutable/assets/Modal.BuaCfdLj.css} +6 -1
  346. package/frontend/build/client/_app/immutable/assets/Modal.BuaCfdLj.css.br +0 -0
  347. package/frontend/build/client/_app/immutable/assets/Modal.BuaCfdLj.css.gz +0 -0
  348. package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css +5 -0
  349. package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css.br +0 -0
  350. package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css.gz +0 -0
  351. package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css +5 -0
  352. package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css.br +0 -0
  353. package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css.gz +0 -0
  354. package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css +5 -0
  355. package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css.br +0 -0
  356. package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css.gz +0 -0
  357. package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css +5 -0
  358. package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css.br +0 -0
  359. package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css.gz +0 -0
  360. package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css +5 -0
  361. package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css.br +0 -0
  362. package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css.gz +0 -0
  363. package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css +5 -0
  364. package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css.br +0 -0
  365. package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css.gz +0 -0
  366. package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css +23 -0
  367. package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css.br +0 -0
  368. package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css.gz +0 -0
  369. package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css +5 -0
  370. package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css.br +0 -0
  371. package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css.gz +0 -0
  372. package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css +5 -0
  373. package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css.br +0 -0
  374. package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css.gz +0 -0
  375. package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css +23 -0
  376. package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css.br +0 -0
  377. package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css.gz +0 -0
  378. package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css +5 -0
  379. package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css.br +0 -0
  380. package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css.gz +0 -0
  381. package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css +5 -0
  382. package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css.br +0 -0
  383. package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css.gz +0 -0
  384. package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css +5 -0
  385. package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css.br +0 -0
  386. package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css.gz +0 -0
  387. package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css +5 -0
  388. package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css.br +0 -0
  389. package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css.gz +0 -0
  390. package/frontend/build/client/_app/immutable/chunks/{BLAiBE__.js → 2zMvi6fR.js} +6 -1
  391. package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js.br +0 -0
  392. package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js.gz +0 -0
  393. package/frontend/build/client/_app/immutable/chunks/3IV-uqHa.js +23 -0
  394. package/frontend/build/client/_app/immutable/chunks/3IV-uqHa.js.br +0 -0
  395. package/frontend/build/client/_app/immutable/chunks/3IV-uqHa.js.gz +0 -0
  396. package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js +23 -0
  397. package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js.br +0 -0
  398. package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js.gz +0 -0
  399. package/frontend/build/client/_app/immutable/chunks/B98sHkeB.js +23 -0
  400. package/frontend/build/client/_app/immutable/chunks/B98sHkeB.js.br +0 -0
  401. package/frontend/build/client/_app/immutable/chunks/B98sHkeB.js.gz +0 -0
  402. package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/C67QNx7Z.js → build/client/_app/immutable/chunks/BAACMRH5.js} +6 -1
  403. package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js.br +0 -0
  404. package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js.gz +0 -0
  405. package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js +5 -0
  406. package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js.br +0 -0
  407. package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js.gz +0 -0
  408. package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js +23 -0
  409. package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js.br +0 -0
  410. package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js.gz +0 -0
  411. package/frontend/build/client/_app/immutable/chunks/BjUpWNbl.js +23 -0
  412. package/frontend/build/client/_app/immutable/chunks/BjUpWNbl.js.br +0 -0
  413. package/frontend/build/client/_app/immutable/chunks/BjUpWNbl.js.gz +0 -0
  414. package/frontend/build/client/_app/immutable/chunks/{DIx44H9N.js → C1Vid6wz.js} +6 -1
  415. package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js.br +0 -0
  416. package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js.gz +0 -0
  417. package/frontend/build/client/_app/immutable/chunks/C1sukchk.js +23 -0
  418. package/frontend/build/client/_app/immutable/chunks/C1sukchk.js.br +0 -0
  419. package/frontend/build/client/_app/immutable/chunks/C1sukchk.js.gz +0 -0
  420. package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js +23 -0
  421. package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js.br +0 -0
  422. package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js.gz +0 -0
  423. package/frontend/build/client/_app/immutable/chunks/{DGryW1Vp.js → CKDtmZUQ.js} +6 -1
  424. package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js.br +0 -0
  425. package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js.gz +0 -0
  426. package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js +23 -0
  427. package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js.br +0 -0
  428. package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js.gz +0 -0
  429. package/frontend/build/client/_app/immutable/chunks/{C4eeChIU.js → CNdcuGR0.js} +6 -1
  430. package/frontend/build/client/_app/immutable/chunks/{BFgtfHj2.js.br → CNdcuGR0.js.br} +0 -0
  431. package/frontend/build/client/_app/immutable/chunks/CNdcuGR0.js.gz +0 -0
  432. package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js +23 -0
  433. package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js.br +0 -0
  434. package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js.gz +0 -0
  435. package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js +23 -0
  436. package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js.br +21 -0
  437. package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js.gz +0 -0
  438. package/frontend/build/client/_app/immutable/chunks/D2cvzNT9.js +23 -0
  439. package/frontend/build/client/_app/immutable/chunks/D2cvzNT9.js.br +0 -0
  440. package/frontend/build/client/_app/immutable/chunks/D2cvzNT9.js.gz +0 -0
  441. package/frontend/build/client/_app/immutable/chunks/{B0pefNHY.js → D2gYTmAA.js} +6 -1
  442. package/frontend/build/client/_app/immutable/chunks/D2gYTmAA.js.br +0 -0
  443. package/frontend/build/client/_app/immutable/chunks/D2gYTmAA.js.gz +0 -0
  444. package/frontend/build/client/_app/immutable/chunks/{uFRI_bmR.js → DCgHuuvs.js} +6 -1
  445. package/frontend/build/client/_app/immutable/{assets/EmptyState.BdO1q9cJ.css.br → chunks/DCgHuuvs.js.br} +0 -0
  446. package/frontend/build/client/_app/immutable/chunks/DCgHuuvs.js.gz +0 -0
  447. package/frontend/build/client/_app/immutable/chunks/{CxTX_lpP.js → DDblTLLE.js} +6 -1
  448. package/frontend/build/client/_app/immutable/chunks/DDblTLLE.js.br +0 -0
  449. package/frontend/build/client/_app/immutable/chunks/DDblTLLE.js.gz +0 -0
  450. package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js +24 -0
  451. package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js.br +0 -0
  452. package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js.gz +0 -0
  453. package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/BFgtfHj2.js → build/client/_app/immutable/chunks/DW_iTTZe.js} +6 -1
  454. package/frontend/build/client/_app/immutable/chunks/{BFgtfHj2.js.gz → DW_iTTZe.js.br} +0 -0
  455. package/frontend/build/client/_app/immutable/chunks/DW_iTTZe.js.gz +0 -0
  456. package/frontend/build/client/_app/immutable/chunks/{BVMec-1T.js → DYlaQsvN.js} +6 -1
  457. package/frontend/build/client/_app/immutable/chunks/DYlaQsvN.js.br +0 -0
  458. package/frontend/build/client/_app/immutable/chunks/DYlaQsvN.js.gz +0 -0
  459. package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/BFEiffAL.js → build/client/_app/immutable/chunks/DkNBSlo2.js} +6 -1
  460. package/frontend/build/client/_app/immutable/chunks/DkNBSlo2.js.br +0 -0
  461. package/frontend/build/client/_app/immutable/chunks/DkNBSlo2.js.gz +0 -0
  462. package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/BkKmeUbA.js → build/client/_app/immutable/chunks/DlNYZJ7K.js} +6 -1
  463. package/frontend/build/client/_app/immutable/chunks/DlNYZJ7K.js.br +0 -0
  464. package/frontend/build/client/_app/immutable/chunks/DlNYZJ7K.js.gz +0 -0
  465. package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js +23 -0
  466. package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js.br +0 -0
  467. package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js.gz +0 -0
  468. package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js +25 -0
  469. package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js.br +0 -0
  470. package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js.gz +0 -0
  471. package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js +28 -0
  472. package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js.br +0 -0
  473. package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js.gz +0 -0
  474. package/frontend/build/client/_app/immutable/chunks/{CyQ_oBw2.js → oN0Z3NSF.js} +6 -1
  475. package/frontend/build/client/_app/immutable/chunks/oN0Z3NSF.js.br +0 -0
  476. package/frontend/build/client/_app/immutable/chunks/oN0Z3NSF.js.gz +0 -0
  477. package/frontend/build/client/_app/immutable/chunks/{raHbXn_9.js → t-La0hgu.js} +6 -1
  478. package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js.br +0 -0
  479. package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js.gz +0 -0
  480. package/frontend/build/client/_app/immutable/chunks/{DP6QP4L6.js → w0D4Uzlq.js} +6 -1
  481. package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js.br +0 -0
  482. package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js.gz +0 -0
  483. package/frontend/build/client/_app/immutable/entry/app.BCWbw5zZ.js +24 -0
  484. package/frontend/build/client/_app/immutable/entry/app.BCWbw5zZ.js.br +0 -0
  485. package/frontend/build/client/_app/immutable/entry/app.BCWbw5zZ.js.gz +0 -0
  486. package/frontend/{.svelte-kit/output/client/_app/immutable/entry/start.MMlC62np.js → build/client/_app/immutable/entry/start.2_AF42wj.js} +6 -1
  487. package/frontend/build/client/_app/immutable/entry/{start.MMlC62np.js.br → start.2_AF42wj.js.br} +5 -1
  488. package/frontend/build/client/_app/immutable/entry/{start.MMlC62np.js.gz → start.2_AF42wj.js.gz} +0 -0
  489. package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js +28 -0
  490. package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js.br +0 -0
  491. package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js.gz +0 -0
  492. package/frontend/build/client/_app/immutable/nodes/{1.Dbck5ct8.js → 1.D5VvLtGP.js} +6 -1
  493. package/frontend/build/client/_app/immutable/nodes/1.D5VvLtGP.js.br +0 -0
  494. package/frontend/build/client/_app/immutable/nodes/1.D5VvLtGP.js.gz +0 -0
  495. package/frontend/build/client/_app/immutable/nodes/10.Bn4Ma-MU.js +23 -0
  496. package/frontend/build/client/_app/immutable/nodes/10.Bn4Ma-MU.js.br +0 -0
  497. package/frontend/build/client/_app/immutable/nodes/10.Bn4Ma-MU.js.gz +0 -0
  498. package/frontend/build/client/_app/immutable/nodes/11.BacEu7sW.js +23 -0
  499. package/frontend/build/client/_app/immutable/nodes/11.BacEu7sW.js.br +0 -0
  500. package/frontend/build/client/_app/immutable/nodes/11.BacEu7sW.js.gz +0 -0
  501. package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js +23 -0
  502. package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js.br +0 -0
  503. package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js.gz +0 -0
  504. package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js +23 -0
  505. package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js.br +0 -0
  506. package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js.gz +0 -0
  507. package/frontend/build/client/_app/immutable/nodes/3.DHx0kho3.js +23 -0
  508. package/frontend/build/client/_app/immutable/nodes/3.DHx0kho3.js.br +0 -0
  509. package/frontend/build/client/_app/immutable/nodes/3.DHx0kho3.js.gz +0 -0
  510. package/frontend/build/client/_app/immutable/nodes/4.CnaMiirx.js +23 -0
  511. package/frontend/build/client/_app/immutable/nodes/4.CnaMiirx.js.br +0 -0
  512. package/frontend/build/client/_app/immutable/nodes/4.CnaMiirx.js.gz +0 -0
  513. package/frontend/build/client/_app/immutable/nodes/5.B6m-zTVe.js +23 -0
  514. package/frontend/build/client/_app/immutable/nodes/5.B6m-zTVe.js.br +0 -0
  515. package/frontend/build/client/_app/immutable/nodes/5.B6m-zTVe.js.gz +0 -0
  516. package/frontend/build/client/_app/immutable/nodes/6.BPDag1zv.js +23 -0
  517. package/frontend/build/client/_app/immutable/nodes/6.BPDag1zv.js.br +0 -0
  518. package/frontend/build/client/_app/immutable/nodes/6.BPDag1zv.js.gz +0 -0
  519. package/frontend/build/client/_app/immutable/nodes/7.D7LwxSvT.js +23 -0
  520. package/frontend/build/client/_app/immutable/nodes/7.D7LwxSvT.js.br +0 -0
  521. package/frontend/build/client/_app/immutable/nodes/7.D7LwxSvT.js.gz +0 -0
  522. package/frontend/build/client/_app/immutable/nodes/8.CCkNX20G.js +26 -0
  523. package/frontend/build/client/_app/immutable/nodes/8.CCkNX20G.js.br +0 -0
  524. package/frontend/build/client/_app/immutable/nodes/8.CCkNX20G.js.gz +0 -0
  525. package/frontend/build/client/_app/immutable/nodes/9.HDerA6JV.js +23 -0
  526. package/frontend/build/client/_app/immutable/nodes/9.HDerA6JV.js.br +0 -0
  527. package/frontend/build/client/_app/immutable/nodes/9.HDerA6JV.js.gz +0 -0
  528. package/frontend/build/client/_app/version.json +1 -1
  529. package/frontend/build/client/_app/version.json.br +0 -0
  530. package/frontend/build/client/_app/version.json.gz +0 -0
  531. package/frontend/build/env.js +5 -0
  532. package/frontend/build/handler.js +5 -0
  533. package/frontend/build/index.js +5 -0
  534. package/frontend/build/server/chunks/{0-Dzas6zkl.js → 0-Di4jNU9J.js} +9 -4
  535. package/frontend/build/server/chunks/0-Di4jNU9J.js.map +21 -0
  536. package/frontend/build/server/chunks/{1-B4EsP8yr.js → 1-DR5YRUTa.js} +7 -2
  537. package/frontend/build/server/chunks/{1-B4EsP8yr.js.map → 1-DR5YRUTa.js.map} +5 -1
  538. package/frontend/build/server/chunks/10-Bhe409bL.js +31 -0
  539. package/frontend/build/server/chunks/10-Bhe409bL.js.map +21 -0
  540. package/frontend/build/server/chunks/11-DqyXW7n1.js +31 -0
  541. package/frontend/build/server/chunks/11-DqyXW7n1.js.map +21 -0
  542. package/frontend/build/server/chunks/12-BCpjMUbs.js +31 -0
  543. package/frontend/build/server/chunks/12-BCpjMUbs.js.map +21 -0
  544. package/frontend/build/server/chunks/{2-Bkz8H7CT.js → 2-D-0buH5i.js} +9 -4
  545. package/frontend/build/server/chunks/{2-Bkz8H7CT.js.map → 2-D-0buH5i.js.map} +5 -1
  546. package/frontend/build/server/chunks/{3-DDtaiqu7.js → 3-y2kzPO2X.js} +8 -3
  547. package/frontend/build/server/chunks/3-y2kzPO2X.js.map +21 -0
  548. package/frontend/build/server/chunks/4-CFrK8HST.js +31 -0
  549. package/frontend/build/server/chunks/4-CFrK8HST.js.map +21 -0
  550. package/frontend/build/server/chunks/{5-CK5hY2WF.js → 5-B0lJu5bT.js} +8 -3
  551. package/frontend/build/server/chunks/5-B0lJu5bT.js.map +21 -0
  552. package/frontend/build/server/chunks/{6-Cps9fL3Z.js → 6-BD4CEJ3Z.js} +8 -3
  553. package/frontend/build/server/chunks/6-BD4CEJ3Z.js.map +21 -0
  554. package/frontend/build/server/chunks/7-DekQfQHu.js +31 -0
  555. package/frontend/build/server/chunks/7-DekQfQHu.js.map +21 -0
  556. package/frontend/build/server/chunks/8-BMqmu7WF.js +31 -0
  557. package/frontend/build/server/chunks/8-BMqmu7WF.js.map +21 -0
  558. package/frontend/build/server/chunks/{9-CUJxgoIN.js → 9-C5sKo9aY.js} +8 -3
  559. package/frontend/build/server/chunks/9-C5sKo9aY.js.map +21 -0
  560. package/frontend/build/server/chunks/BackLink-KxZNqsaq.js +5 -0
  561. package/frontend/build/server/chunks/BackLink-KxZNqsaq.js.map +4 -0
  562. package/frontend/build/server/chunks/Badge-B5V-z6pI.js +5 -0
  563. package/frontend/build/server/chunks/Badge-B5V-z6pI.js.map +4 -0
  564. package/frontend/build/server/chunks/{ConfirmModal-DBtnLLsU.js → ConfirmModal-Ckkt99Pn.js} +12 -19
  565. package/frontend/build/server/chunks/ConfirmModal-Ckkt99Pn.js.map +21 -0
  566. package/frontend/build/server/chunks/EmptyState-BwwbShnX.js +56 -0
  567. package/frontend/build/server/chunks/EmptyState-BwwbShnX.js.map +21 -0
  568. package/frontend/build/server/chunks/Modal-DG-6c5si.js +43 -0
  569. package/frontend/build/server/chunks/Modal-DG-6c5si.js.map +21 -0
  570. package/frontend/build/server/chunks/{Button-CuacyA7Y.js → Toast-CIG4edEp.js} +22 -3
  571. package/frontend/build/server/chunks/Toast-CIG4edEp.js.map +21 -0
  572. package/frontend/build/server/chunks/{_layout.svelte-DoJXDbP1.js → _layout.svelte-BjPrZpoG.js} +10 -3
  573. package/frontend/build/server/chunks/_layout.svelte-BjPrZpoG.js.map +21 -0
  574. package/frontend/build/server/chunks/{_page.svelte-DNNyBx4y.js → _page.svelte-B9rjnZWE.js} +10 -4
  575. package/frontend/build/server/chunks/_page.svelte-B9rjnZWE.js.map +21 -0
  576. package/frontend/build/server/chunks/{_page.svelte-C0vstY93.js → _page.svelte-BHw14GPR.js} +76 -36
  577. package/frontend/build/server/chunks/_page.svelte-BHw14GPR.js.map +21 -0
  578. package/frontend/build/server/chunks/{_page.svelte-LcJmR5du.js → _page.svelte-BbZNxvCl.js} +29 -31
  579. package/frontend/build/server/chunks/_page.svelte-BbZNxvCl.js.map +21 -0
  580. package/frontend/build/server/chunks/_page.svelte-CLFpft5D.js +118 -0
  581. package/frontend/build/server/chunks/_page.svelte-CLFpft5D.js.map +21 -0
  582. package/frontend/build/server/chunks/_page.svelte-Cr16HubD.js +746 -0
  583. package/frontend/build/server/chunks/_page.svelte-Cr16HubD.js.map +21 -0
  584. package/frontend/build/server/chunks/{_page.svelte-DALHRFEX.js → _page.svelte-D1aYn1PL.js} +10 -4
  585. package/frontend/build/server/chunks/_page.svelte-D1aYn1PL.js.map +21 -0
  586. package/frontend/build/server/chunks/{_page.svelte-CC27sZag.js → _page.svelte-D2oF79cT.js} +45 -38
  587. package/frontend/build/server/chunks/_page.svelte-D2oF79cT.js.map +21 -0
  588. package/frontend/build/server/chunks/{_page.svelte-gnktnXKP.js → _page.svelte-D78qaBDN.js} +35 -28
  589. package/frontend/build/server/chunks/_page.svelte-D78qaBDN.js.map +21 -0
  590. package/frontend/build/server/chunks/{_page.svelte-DqWsUJRp.js → _page.svelte-DyyuZN_3.js} +25 -19
  591. package/frontend/build/server/chunks/_page.svelte-DyyuZN_3.js.map +21 -0
  592. package/frontend/build/server/chunks/{_page.svelte-CYkOPxn2.js → _page.svelte-sbqebZYx.js} +40 -17
  593. package/frontend/build/server/chunks/_page.svelte-sbqebZYx.js.map +21 -0
  594. package/frontend/build/server/chunks/{_page.svelte-BETENC2e.js → _page.svelte-ubW5EUCf.js} +13 -6
  595. package/frontend/build/server/chunks/_page.svelte-ubW5EUCf.js.map +21 -0
  596. package/frontend/build/server/chunks/attributes-BeaNKpgU.js +5 -0
  597. package/frontend/build/server/chunks/attributes-BeaNKpgU.js.map +4 -0
  598. package/frontend/build/server/chunks/auth-rlH-cIzn.js +5 -0
  599. package/frontend/build/server/chunks/auth-rlH-cIzn.js.map +4 -0
  600. package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/BIRVeCLU.js → build/server/chunks/auth2-C02yYDpz.js} +11 -1
  601. package/frontend/build/server/chunks/auth2-C02yYDpz.js.map +21 -0
  602. package/frontend/build/server/chunks/client-DyII78e0.js +5 -0
  603. package/frontend/build/server/chunks/client-DyII78e0.js.map +4 -0
  604. package/frontend/build/server/chunks/common-Db-bgKYG.js +42 -0
  605. package/frontend/build/server/chunks/common-Db-bgKYG.js.map +21 -0
  606. package/frontend/build/server/chunks/{constants-Drz-Vo39.js → constants-cZ2kUwWa.js} +9 -3
  607. package/frontend/build/server/chunks/{constants-Drz-Vo39.js.map → constants-cZ2kUwWa.js.map} +5 -1
  608. package/frontend/build/server/chunks/error.svelte-BDW3iP1O.js +5 -0
  609. package/frontend/build/server/chunks/error.svelte-BDW3iP1O.js.map +4 -0
  610. package/frontend/build/server/chunks/escaping-CqgfEcN3.js +5 -0
  611. package/frontend/build/server/chunks/escaping-CqgfEcN3.js.map +4 -0
  612. package/frontend/build/server/chunks/exports-D0QHgeSL.js +5 -0
  613. package/frontend/build/server/chunks/exports-D0QHgeSL.js.map +4 -0
  614. package/frontend/build/server/chunks/{format-D26ZQccb.js → format-0SSB1oGG.js} +7 -2
  615. package/frontend/build/server/chunks/{format-D26ZQccb.js.map → format-0SSB1oGG.js.map} +5 -1
  616. package/frontend/build/server/chunks/index-server-Dr2Nvcmu.js +5 -0
  617. package/frontend/build/server/chunks/index-server-Dr2Nvcmu.js.map +4 -0
  618. package/frontend/build/server/chunks/index2-DG8XHU5D.js +5 -0
  619. package/frontend/build/server/chunks/index2-DG8XHU5D.js.map +4 -0
  620. package/frontend/build/server/chunks/{reports-Bgi7V5N7.js → reports-DnYbvluH.js} +7 -2
  621. package/frontend/build/server/chunks/{reports-Bgi7V5N7.js.map → reports-DnYbvluH.js.map} +5 -1
  622. package/frontend/build/server/chunks/reports2-DR4XlcJg.js +69 -0
  623. package/frontend/build/server/chunks/reports2-DR4XlcJg.js.map +21 -0
  624. package/frontend/build/server/chunks/repository-D9Derhnk.js +70 -0
  625. package/frontend/build/server/chunks/repository-D9Derhnk.js.map +21 -0
  626. package/frontend/build/server/chunks/{runner-D18Ml_vF.js → runner-DE5sufZH.js} +13 -1
  627. package/frontend/build/server/chunks/runner-DE5sufZH.js.map +21 -0
  628. package/frontend/build/server/chunks/stores-DlkXV308.js +5 -0
  629. package/frontend/build/server/chunks/stores-DlkXV308.js.map +4 -0
  630. package/frontend/build/server/chunks/theme-D_NKm6iI.js +5 -0
  631. package/frontend/build/server/chunks/theme-D_NKm6iI.js.map +4 -0
  632. package/frontend/build/server/index.js +7 -2
  633. package/frontend/build/server/index.js.map +5 -1
  634. package/frontend/build/server/manifest.js +19 -14
  635. package/frontend/build/server/manifest.js.map +5 -1
  636. package/frontend/build/shims.js +5 -0
  637. package/package.json +2 -1
  638. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BJ-I1gHO.css +0 -18
  639. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.Bhof07Eg.css +0 -18
  640. package/frontend/.svelte-kit/adapter-node/chunks/Button.js +0 -33
  641. package/frontend/.svelte-kit/output/client/_app/immutable/assets/11.BJ-I1gHO.css +0 -18
  642. package/frontend/.svelte-kit/output/client/_app/immutable/assets/8.Bhof07Eg.css +0 -18
  643. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BJ-I1gHO.css +0 -18
  644. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.Bhof07Eg.css +0 -18
  645. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BKCNyxZ2.js +0 -18
  646. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BeO8veBd.js +0 -18
  647. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BgNaeXAp.js +0 -18
  648. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C3SY6-sX.js +0 -19
  649. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CVV6HrFb.js +0 -18
  650. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CstKKb9b.js +0 -18
  651. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DmRbbcS3.js +0 -23
  652. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/IFIFk6zi.js +0 -18
  653. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/KJdjlibc.js +0 -20
  654. package/frontend/.svelte-kit/output/client/_app/immutable/chunks/ll-VsEGv.js +0 -18
  655. package/frontend/.svelte-kit/output/client/_app/immutable/entry/app.Dz_CBZcR.js +0 -19
  656. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.CKD9Qja6.js +0 -23
  657. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/10.BfmGpmC1.js +0 -19
  658. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/11.C7l9HPom.js +0 -18
  659. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.Iu9bcGdC.js +0 -19
  660. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.BqQhRvYh.js +0 -18
  661. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/3.BZRTKadS.js +0 -18
  662. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/4.BfKoPKdM.js +0 -18
  663. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/5.B4a2uCWn.js +0 -18
  664. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/6.CI508CMS.js +0 -18
  665. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/7.3x_eiof1.js +0 -18
  666. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/8.BfUuob4H.js +0 -29
  667. package/frontend/.svelte-kit/output/client/_app/immutable/nodes/9.BZhCKRJe.js +0 -18
  668. package/frontend/.svelte-kit/output/server/_app/immutable/assets/EmptyState.BdO1q9cJ.css +0 -18
  669. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BJ-I1gHO.css +0 -18
  670. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.Bhof07Eg.css +0 -18
  671. package/frontend/.svelte-kit/output/server/chunks/Button.js +0 -33
  672. package/frontend/build/client/_app/immutable/assets/11.BJ-I1gHO.css +0 -18
  673. package/frontend/build/client/_app/immutable/assets/11.BJ-I1gHO.css.br +0 -0
  674. package/frontend/build/client/_app/immutable/assets/11.BJ-I1gHO.css.gz +0 -0
  675. package/frontend/build/client/_app/immutable/assets/8.Bhof07Eg.css +0 -18
  676. package/frontend/build/client/_app/immutable/assets/8.Bhof07Eg.css.br +0 -0
  677. package/frontend/build/client/_app/immutable/assets/8.Bhof07Eg.css.gz +0 -0
  678. package/frontend/build/client/_app/immutable/assets/ConfirmModal.CdhOYVBb.css.br +0 -0
  679. package/frontend/build/client/_app/immutable/assets/ConfirmModal.CdhOYVBb.css.gz +0 -0
  680. package/frontend/build/client/_app/immutable/assets/ConfirmModal.DmxkcwXv.css.br +0 -0
  681. package/frontend/build/client/_app/immutable/assets/ConfirmModal.DmxkcwXv.css.gz +0 -0
  682. package/frontend/build/client/_app/immutable/assets/EmptyState.BdO1q9cJ.css +0 -18
  683. package/frontend/build/client/_app/immutable/assets/_page.BJ-I1gHO.css +0 -18
  684. package/frontend/build/client/_app/immutable/assets/_page.BJ-I1gHO.css.br +0 -0
  685. package/frontend/build/client/_app/immutable/assets/_page.BJ-I1gHO.css.gz +0 -0
  686. package/frontend/build/client/_app/immutable/assets/_page.Bhof07Eg.css +0 -18
  687. package/frontend/build/client/_app/immutable/assets/_page.Bhof07Eg.css.br +0 -0
  688. package/frontend/build/client/_app/immutable/assets/_page.Bhof07Eg.css.gz +0 -0
  689. package/frontend/build/client/_app/immutable/chunks/B0pefNHY.js.br +0 -0
  690. package/frontend/build/client/_app/immutable/chunks/B0pefNHY.js.gz +0 -0
  691. package/frontend/build/client/_app/immutable/chunks/BFEiffAL.js.br +0 -0
  692. package/frontend/build/client/_app/immutable/chunks/BFEiffAL.js.gz +0 -0
  693. package/frontend/build/client/_app/immutable/chunks/BIRVeCLU.js +0 -18
  694. package/frontend/build/client/_app/immutable/chunks/BIRVeCLU.js.br +0 -20
  695. package/frontend/build/client/_app/immutable/chunks/BIRVeCLU.js.gz +0 -0
  696. package/frontend/build/client/_app/immutable/chunks/BKCNyxZ2.js +0 -18
  697. package/frontend/build/client/_app/immutable/chunks/BKCNyxZ2.js.br +0 -0
  698. package/frontend/build/client/_app/immutable/chunks/BKCNyxZ2.js.gz +0 -0
  699. package/frontend/build/client/_app/immutable/chunks/BLAiBE__.js.br +0 -18
  700. package/frontend/build/client/_app/immutable/chunks/BLAiBE__.js.gz +0 -0
  701. package/frontend/build/client/_app/immutable/chunks/BVMec-1T.js.br +0 -0
  702. package/frontend/build/client/_app/immutable/chunks/BVMec-1T.js.gz +0 -0
  703. package/frontend/build/client/_app/immutable/chunks/BeO8veBd.js +0 -18
  704. package/frontend/build/client/_app/immutable/chunks/BeO8veBd.js.br +0 -0
  705. package/frontend/build/client/_app/immutable/chunks/BeO8veBd.js.gz +0 -0
  706. package/frontend/build/client/_app/immutable/chunks/BgNaeXAp.js +0 -18
  707. package/frontend/build/client/_app/immutable/chunks/BgNaeXAp.js.br +0 -0
  708. package/frontend/build/client/_app/immutable/chunks/BgNaeXAp.js.gz +0 -0
  709. package/frontend/build/client/_app/immutable/chunks/BkKmeUbA.js.br +0 -0
  710. package/frontend/build/client/_app/immutable/chunks/BkKmeUbA.js.gz +0 -0
  711. package/frontend/build/client/_app/immutable/chunks/C3SY6-sX.js +0 -19
  712. package/frontend/build/client/_app/immutable/chunks/C3SY6-sX.js.br +0 -0
  713. package/frontend/build/client/_app/immutable/chunks/C3SY6-sX.js.gz +0 -0
  714. package/frontend/build/client/_app/immutable/chunks/C4eeChIU.js.br +0 -0
  715. package/frontend/build/client/_app/immutable/chunks/C4eeChIU.js.gz +0 -0
  716. package/frontend/build/client/_app/immutable/chunks/C67QNx7Z.js.br +0 -0
  717. package/frontend/build/client/_app/immutable/chunks/C67QNx7Z.js.gz +0 -0
  718. package/frontend/build/client/_app/immutable/chunks/CVV6HrFb.js +0 -18
  719. package/frontend/build/client/_app/immutable/chunks/CVV6HrFb.js.br +0 -0
  720. package/frontend/build/client/_app/immutable/chunks/CVV6HrFb.js.gz +0 -0
  721. package/frontend/build/client/_app/immutable/chunks/CstKKb9b.js +0 -18
  722. package/frontend/build/client/_app/immutable/chunks/CstKKb9b.js.br +0 -0
  723. package/frontend/build/client/_app/immutable/chunks/CstKKb9b.js.gz +0 -0
  724. package/frontend/build/client/_app/immutable/chunks/CxTX_lpP.js.br +0 -0
  725. package/frontend/build/client/_app/immutable/chunks/CxTX_lpP.js.gz +0 -0
  726. package/frontend/build/client/_app/immutable/chunks/CyQ_oBw2.js.br +0 -0
  727. package/frontend/build/client/_app/immutable/chunks/CyQ_oBw2.js.gz +0 -0
  728. package/frontend/build/client/_app/immutable/chunks/DGryW1Vp.js.br +0 -0
  729. package/frontend/build/client/_app/immutable/chunks/DGryW1Vp.js.gz +0 -0
  730. package/frontend/build/client/_app/immutable/chunks/DIx44H9N.js.br +0 -0
  731. package/frontend/build/client/_app/immutable/chunks/DIx44H9N.js.gz +0 -0
  732. package/frontend/build/client/_app/immutable/chunks/DP6QP4L6.js.br +0 -0
  733. package/frontend/build/client/_app/immutable/chunks/DP6QP4L6.js.gz +0 -0
  734. package/frontend/build/client/_app/immutable/chunks/DmRbbcS3.js +0 -23
  735. package/frontend/build/client/_app/immutable/chunks/DmRbbcS3.js.br +0 -0
  736. package/frontend/build/client/_app/immutable/chunks/DmRbbcS3.js.gz +0 -0
  737. package/frontend/build/client/_app/immutable/chunks/IFIFk6zi.js +0 -18
  738. package/frontend/build/client/_app/immutable/chunks/IFIFk6zi.js.br +0 -0
  739. package/frontend/build/client/_app/immutable/chunks/IFIFk6zi.js.gz +0 -0
  740. package/frontend/build/client/_app/immutable/chunks/KJdjlibc.js +0 -20
  741. package/frontend/build/client/_app/immutable/chunks/KJdjlibc.js.br +0 -0
  742. package/frontend/build/client/_app/immutable/chunks/KJdjlibc.js.gz +0 -0
  743. package/frontend/build/client/_app/immutable/chunks/ll-VsEGv.js +0 -18
  744. package/frontend/build/client/_app/immutable/chunks/ll-VsEGv.js.br +0 -0
  745. package/frontend/build/client/_app/immutable/chunks/ll-VsEGv.js.gz +0 -0
  746. package/frontend/build/client/_app/immutable/chunks/raHbXn_9.js.br +0 -0
  747. package/frontend/build/client/_app/immutable/chunks/raHbXn_9.js.gz +0 -0
  748. package/frontend/build/client/_app/immutable/chunks/uFRI_bmR.js.br +0 -0
  749. package/frontend/build/client/_app/immutable/chunks/uFRI_bmR.js.gz +0 -0
  750. package/frontend/build/client/_app/immutable/entry/app.Dz_CBZcR.js +0 -19
  751. package/frontend/build/client/_app/immutable/entry/app.Dz_CBZcR.js.br +0 -0
  752. package/frontend/build/client/_app/immutable/entry/app.Dz_CBZcR.js.gz +0 -0
  753. package/frontend/build/client/_app/immutable/nodes/0.CKD9Qja6.js +0 -23
  754. package/frontend/build/client/_app/immutable/nodes/0.CKD9Qja6.js.br +0 -0
  755. package/frontend/build/client/_app/immutable/nodes/0.CKD9Qja6.js.gz +0 -0
  756. package/frontend/build/client/_app/immutable/nodes/1.Dbck5ct8.js.br +0 -0
  757. package/frontend/build/client/_app/immutable/nodes/1.Dbck5ct8.js.gz +0 -0
  758. package/frontend/build/client/_app/immutable/nodes/10.BfmGpmC1.js +0 -19
  759. package/frontend/build/client/_app/immutable/nodes/10.BfmGpmC1.js.br +0 -0
  760. package/frontend/build/client/_app/immutable/nodes/10.BfmGpmC1.js.gz +0 -0
  761. package/frontend/build/client/_app/immutable/nodes/11.C7l9HPom.js +0 -18
  762. package/frontend/build/client/_app/immutable/nodes/11.C7l9HPom.js.br +0 -0
  763. package/frontend/build/client/_app/immutable/nodes/11.C7l9HPom.js.gz +0 -0
  764. package/frontend/build/client/_app/immutable/nodes/12.Iu9bcGdC.js +0 -19
  765. package/frontend/build/client/_app/immutable/nodes/12.Iu9bcGdC.js.br +0 -0
  766. package/frontend/build/client/_app/immutable/nodes/12.Iu9bcGdC.js.gz +0 -0
  767. package/frontend/build/client/_app/immutable/nodes/2.BqQhRvYh.js +0 -18
  768. package/frontend/build/client/_app/immutable/nodes/2.BqQhRvYh.js.br +0 -0
  769. package/frontend/build/client/_app/immutable/nodes/2.BqQhRvYh.js.gz +0 -0
  770. package/frontend/build/client/_app/immutable/nodes/3.BZRTKadS.js +0 -18
  771. package/frontend/build/client/_app/immutable/nodes/3.BZRTKadS.js.br +0 -0
  772. package/frontend/build/client/_app/immutable/nodes/3.BZRTKadS.js.gz +0 -0
  773. package/frontend/build/client/_app/immutable/nodes/4.BfKoPKdM.js +0 -18
  774. package/frontend/build/client/_app/immutable/nodes/4.BfKoPKdM.js.br +0 -0
  775. package/frontend/build/client/_app/immutable/nodes/4.BfKoPKdM.js.gz +0 -0
  776. package/frontend/build/client/_app/immutable/nodes/5.B4a2uCWn.js +0 -18
  777. package/frontend/build/client/_app/immutable/nodes/5.B4a2uCWn.js.br +0 -0
  778. package/frontend/build/client/_app/immutable/nodes/5.B4a2uCWn.js.gz +0 -0
  779. package/frontend/build/client/_app/immutable/nodes/6.CI508CMS.js +0 -18
  780. package/frontend/build/client/_app/immutable/nodes/6.CI508CMS.js.br +0 -0
  781. package/frontend/build/client/_app/immutable/nodes/6.CI508CMS.js.gz +0 -0
  782. package/frontend/build/client/_app/immutable/nodes/7.3x_eiof1.js +0 -18
  783. package/frontend/build/client/_app/immutable/nodes/7.3x_eiof1.js.br +0 -0
  784. package/frontend/build/client/_app/immutable/nodes/7.3x_eiof1.js.gz +0 -0
  785. package/frontend/build/client/_app/immutable/nodes/8.BfUuob4H.js +0 -29
  786. package/frontend/build/client/_app/immutable/nodes/8.BfUuob4H.js.br +0 -0
  787. package/frontend/build/client/_app/immutable/nodes/8.BfUuob4H.js.gz +0 -0
  788. package/frontend/build/client/_app/immutable/nodes/9.BZhCKRJe.js +0 -18
  789. package/frontend/build/client/_app/immutable/nodes/9.BZhCKRJe.js.br +0 -0
  790. package/frontend/build/client/_app/immutable/nodes/9.BZhCKRJe.js.gz +0 -0
  791. package/frontend/build/server/chunks/0-Dzas6zkl.js.map +0 -17
  792. package/frontend/build/server/chunks/10-UhDQZ5BY.js +0 -26
  793. package/frontend/build/server/chunks/10-UhDQZ5BY.js.map +0 -17
  794. package/frontend/build/server/chunks/11-mTH3nQlX.js +0 -26
  795. package/frontend/build/server/chunks/11-mTH3nQlX.js.map +0 -17
  796. package/frontend/build/server/chunks/12-9mg6kp53.js +0 -26
  797. package/frontend/build/server/chunks/12-9mg6kp53.js.map +0 -17
  798. package/frontend/build/server/chunks/3-DDtaiqu7.js.map +0 -17
  799. package/frontend/build/server/chunks/4-DbdkTAvS.js +0 -26
  800. package/frontend/build/server/chunks/4-DbdkTAvS.js.map +0 -17
  801. package/frontend/build/server/chunks/5-CK5hY2WF.js.map +0 -17
  802. package/frontend/build/server/chunks/6-Cps9fL3Z.js.map +0 -17
  803. package/frontend/build/server/chunks/7-CgUpbaJD.js +0 -26
  804. package/frontend/build/server/chunks/7-CgUpbaJD.js.map +0 -17
  805. package/frontend/build/server/chunks/8-dilaVKYo.js +0 -26
  806. package/frontend/build/server/chunks/8-dilaVKYo.js.map +0 -17
  807. package/frontend/build/server/chunks/9-CUJxgoIN.js.map +0 -17
  808. package/frontend/build/server/chunks/Button-CuacyA7Y.js.map +0 -17
  809. package/frontend/build/server/chunks/ConfirmModal-DBtnLLsU.js.map +0 -17
  810. package/frontend/build/server/chunks/EmptyState-B74-VZ15.js +0 -34
  811. package/frontend/build/server/chunks/EmptyState-B74-VZ15.js.map +0 -17
  812. package/frontend/build/server/chunks/Toast-DDF2wi_5.js +0 -37
  813. package/frontend/build/server/chunks/Toast-DDF2wi_5.js.map +0 -17
  814. package/frontend/build/server/chunks/_layout.svelte-DoJXDbP1.js.map +0 -17
  815. package/frontend/build/server/chunks/_page.svelte-BETENC2e.js.map +0 -17
  816. package/frontend/build/server/chunks/_page.svelte-C0vstY93.js.map +0 -17
  817. package/frontend/build/server/chunks/_page.svelte-CC27sZag.js.map +0 -17
  818. package/frontend/build/server/chunks/_page.svelte-CYkOPxn2.js.map +0 -17
  819. package/frontend/build/server/chunks/_page.svelte-CperUuP9.js +0 -564
  820. package/frontend/build/server/chunks/_page.svelte-CperUuP9.js.map +0 -17
  821. package/frontend/build/server/chunks/_page.svelte-CwrCf0C8.js +0 -65
  822. package/frontend/build/server/chunks/_page.svelte-CwrCf0C8.js.map +0 -17
  823. package/frontend/build/server/chunks/_page.svelte-DALHRFEX.js.map +0 -17
  824. package/frontend/build/server/chunks/_page.svelte-DNNyBx4y.js.map +0 -17
  825. package/frontend/build/server/chunks/_page.svelte-DqWsUJRp.js.map +0 -17
  826. package/frontend/build/server/chunks/_page.svelte-LcJmR5du.js.map +0 -17
  827. package/frontend/build/server/chunks/_page.svelte-gnktnXKP.js.map +0 -17
  828. package/frontend/build/server/chunks/runner-D18Ml_vF.js.map +0 -17
@@ -0,0 +1,28 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{av as va,Z as da,aw as ta,h as T,a3 as M,ax as _a,_ as sa,g as Y,a1 as pa,a2 as J,a4 as H,a8 as S,ay as ha,a5 as ia,a6 as na,a7 as ya,az as D,aA as fa,q as oa,H as k,aB as z,aC as Q,aD as B,x as ma,i as $a,W as ga,E as X,aE as wa,aF as Ea,aG as Ta,aH as xa,aI as Na,aJ as ba,aK as Aa,a0 as Ca,aL as Ia,aM as Sa,e as Fa,u as Ra,aN as ka,aO as La,a9 as F,aP as Z,aQ as j,aR as Oa,aS as Ma,aT as Ha}from"./BAACMRH5.js";import{g as Da,w as qa}from"./CMBQQ9RZ.js";function Xa(e,a){return a}function za(e,a,r,i){for(var s=[],n=a.length,o=0;o<n;o++)Ea(a[o].e,s,!0);var c=n>0&&s.length===0&&r!==null;if(c){var g=r.parentNode;Ta(g),g.append(r),i.clear(),N(e,a[0].prev,a[n-1].next)}xa(s,()=>{for(var d=0;d<n;d++){var l=a[d];c||(i.delete(l.k),N(e,l.prev,l.next)),Na(l.e,!c)}})}function Za(e,a,r,i,s,n=null){var o=e,c={flags:a,items:new Map,first:null},g=(a&ta)!==0;if(g){var d=e;o=T?M(_a(d)):d.appendChild(va())}T&&sa();var l=null,w=!1,t=ma(()=>{var u=r();return $a(u)?u:u==null?[]:fa(u)});da(()=>{var u=Y(t),f=u.length;if(w&&f===0)return;w=f===0;let m=!1;if(T){var h=o.data===pa;h!==(f===0)&&(o=J(),M(o),H(!1),m=!0)}if(T){for(var _=null,$,p=0;p<f;p++){if(S.nodeType===8&&S.data===ha){o=S,m=!0,H(!1);break}var v=u[p],y=i(v,p);$=la(S,c,_,null,v,y,p,s,a,r),c.items.set(y,$),_=$}f>0&&M(J())}T||Ba(u,c,o,s,a,i,r),n!==null&&(f===0?l?ia(l):l=na(()=>n(o)):l!==null&&ya(l,()=>{l=null})),m&&H(!0),Y(t)}),T&&(o=S)}function Ba(e,a,r,i,s,n,o){var W,P,G,K;var c=(s&wa)!==0,g=(s&(z|B))!==0,d=e.length,l=a.items,w=a.first,t=w,u,f=null,m,h=[],_=[],$,p,v,y;if(c)for(y=0;y<d;y+=1)$=e[y],p=n($,y),v=l.get(p),v!==void 0&&((W=v.a)==null||W.measure(),(m??(m=new Set)).add(v));for(y=0;y<d;y+=1){if($=e[y],p=n($,y),v=l.get(p),v===void 0){var C=t?t.e.nodes_start:r;f=la(C,a,f,f===null?a.first:f.next,$,p,y,i,s,o),l.set(p,f),h=[],_=[],t=f.next;continue}if(g&&Ua(v,$,y,s),v.e.f&D&&(ia(v.e),c&&((P=v.a)==null||P.unfix(),(m??(m=new Set)).delete(v))),v!==t){if(u!==void 0&&u.has(v)){if(h.length<_.length){var b=_[0],E;f=b.prev;var A=h[0],L=h[h.length-1];for(E=0;E<h.length;E+=1)aa(h[E],b,r);for(E=0;E<_.length;E+=1)u.delete(_[E]);N(a,A.prev,L.next),N(a,f,A),N(a,L,b),t=b,f=L,y-=1,h=[],_=[]}else u.delete(v),aa(v,t,r),N(a,v.prev,v.next),N(a,v,f===null?a.first:f.next),N(a,f,v),f=v;continue}for(h=[],_=[];t!==null&&t.k!==p;)t.e.f&D||(u??(u=new Set)).add(t),_.push(t),t=t.next;if(t===null)continue;v=t}h.push(v),f=v,t=v.next}if(t!==null||u!==void 0){for(var I=u===void 0?[]:fa(u);t!==null;)t.e.f&D||I.push(t),t=t.next;var O=I.length;if(O>0){var ca=s&ta&&d===0?r:null;if(c){for(y=0;y<O;y+=1)(G=I[y].a)==null||G.measure();for(y=0;y<O;y+=1)(K=I[y].a)==null||K.fix()}za(a,I,ca,l)}}c&&oa(()=>{var V;if(m!==void 0)for(v of m)(V=v.a)==null||V.apply()}),k.first=a.first&&a.first.e,k.last=f&&f.e}function Ua(e,a,r,i){i&z&&Q(e.v,a),i&B?Q(e.i,r):e.i=r}function la(e,a,r,i,s,n,o,c,g,d){var l=(g&z)!==0,w=(g&ba)===0,t=l?w?ga(s):X(s):s,u=g&B?X(o):o,f={i:u,v:t,k:n,a:null,e:null,prev:r,next:i};try{return f.e=na(()=>c(e,t,u,d),T),f.e.prev=r&&r.e,f.e.next=i&&i.e,r===null?a.first=f:(r.next=f,r.e.next=f.e),i!==null&&(i.prev=f,i.e.prev=f.e),f}finally{}}function aa(e,a,r){for(var i=e.next?e.next.e.nodes_start:r,s=a?a.e.nodes_start:r,n=e.e.nodes_start;n!==i;){var o=Aa(n);s.before(n),n=o}}function N(e,a,r){a===null?e.first=r:(a.next=r,a.e.next=r&&r.e),r!==null&&(r.prev=a,r.e.prev=a&&a.e)}function ja(e,a,r,i,s){var c;T&&sa();var n=(c=a.$$slots)==null?void 0:c[r],o=!1;n===!0&&(n=a.children,o=!0),n===void 0?s!==null&&s(e):n(e,o?()=>i:i)}function ae(e,a,r){var i=e.__className,s=Wa(a);T&&e.className===s?e.__className=s:(i!==s||T&&e.className!==s)&&(a==null?e.removeAttribute("class"):e.className=s,e.__className=s)}function Wa(e,a){return(e??"")+""}function ee(e,a,r){if(r){if(e.classList.contains(a))return;e.classList.add(a)}else{if(!e.classList.contains(a))return;e.classList.remove(a)}}const Pa=()=>performance.now(),x={tick:e=>requestAnimationFrame(e),now:()=>Pa(),tasks:new Set};function ua(){const e=x.now();x.tasks.forEach(a=>{a.c(e)||(x.tasks.delete(a),a.f())}),x.tasks.size!==0&&x.tick(ua)}function Ga(e){let a;return x.tasks.size===0&&x.tick(ua),{promise:new Promise(r=>{x.tasks.add(a={c:e,f:r})}),abort(){x.tasks.delete(a)}}}function R(e,a){qa(()=>{e.dispatchEvent(new CustomEvent(a))})}function Ka(e){if(e==="float")return"cssFloat";if(e==="offset")return"cssOffset";if(e.startsWith("--"))return e;const a=e.split("-");return a.length===1?a[0]:a[0]+a.slice(1).map(r=>r[0].toUpperCase()+r.slice(1)).join("")}function ea(e){const a={},r=e.split(";");for(const i of r){const[s,n]=i.split(":");if(!s||n===void 0)break;const o=Ka(s.trim());a[o]=n.trim()}return a}const Va=e=>e;function re(e,a,r,i){var s=(e&Ma)!==0,n=(e&Ha)!==0,o=s&&n,c=(e&ka)!==0,g=o?"both":s?"in":"out",d,l=a.inert,w=a.style.overflow,t,u;function f(){var p=Oa,v=k;Z(null),j(null);try{return d??(d=r()(a,(i==null?void 0:i())??{},{direction:g}))}finally{Z(p),j(v)}}var m={is_global:c,in(){var p;if(a.inert=l,!s){u==null||u.abort(),(p=u==null?void 0:u.reset)==null||p.call(u);return}n||t==null||t.abort(),R(a,"introstart"),t=q(a,f(),u,1,()=>{R(a,"introend"),t==null||t.abort(),t=d=void 0,a.style.overflow=w})},out(p){if(!n){p==null||p(),d=void 0;return}a.inert=!0,R(a,"outrostart"),u=q(a,f(),t,0,()=>{R(a,"outroend"),p==null||p()})},stop:()=>{t==null||t.abort(),u==null||u.abort()}},h=k;if((h.transitions??(h.transitions=[])).push(m),s&&Da){var _=c;if(!_){for(var $=h.parent;$&&$.f&Ca;)for(;($=$.parent)&&!($.f&Ia););_=!$||($.f&Sa)!==0}_&&Fa(()=>{Ra(()=>m.in())})}}function q(e,a,r,i,s){var n=i===1;if(La(a)){var o,c=!1;return oa(()=>{if(!c){var h=a({direction:n?"in":"out"});o=q(e,h,r,i,s)}}),{abort:()=>{c=!0,o==null||o.abort()},deactivate:()=>o.deactivate(),reset:()=>o.reset(),t:()=>o.t()}}if(r==null||r.deactivate(),!(a!=null&&a.duration))return s(),{abort:F,deactivate:F,reset:F,t:()=>i};const{delay:g=0,css:d,tick:l,easing:w=Va}=a;var t=[];if(n&&r===void 0&&(l&&l(0,1),d)){var u=ea(d(0,1));t.push(u,u)}var f=()=>1-i,m=e.animate(t,{duration:g});return m.onfinish=()=>{var h=(r==null?void 0:r.t())??1-i;r==null||r.abort();var _=i-h,$=a.duration*Math.abs(_),p=[];if($>0){var v=!1;if(d)for(var y=Math.ceil($/16.666666666666668),C=0;C<=y;C+=1){var b=h+_*w(C/y),E=ea(d(b,1-b));p.push(E),v||(v=E.overflow==="hidden")}v&&(e.style.overflow="hidden"),f=()=>{var A=m.currentTime;return h+_*w(A/$)},l&&Ga(()=>{if(m.playState!=="running")return!1;var A=f();return l(A,1-A),!0})}m=e.animate(p,{duration:$,fill:"forwards"}),m.onfinish=()=>{f=()=>i,l==null||l(i,1-i),s()}},{abort:()=>{m&&(m.cancel(),m.effect=null,m.onfinish=F)},deactivate:()=>{s=F},reset:()=>{i===0&&(l==null||l(1,0))},t:()=>f()}}const Ya=e=>e;function U(e){const a=e-1;return a*a*a+1}function ra(e){const a=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return a?[parseFloat(a[1]),a[2]||"px"]:[e,"px"]}function te(e,{delay:a=0,duration:r=400,easing:i=Ya}={}){const s=+getComputedStyle(e).opacity;return{delay:a,duration:r,easing:i,css:n=>`opacity: ${n*s}`}}function se(e,{delay:a=0,duration:r=400,easing:i=U,x:s=0,y:n=0,opacity:o=0}={}){const c=getComputedStyle(e),g=+c.opacity,d=c.transform==="none"?"":c.transform,l=g*(1-o),[w,t]=ra(s),[u,f]=ra(n);return{delay:a,duration:r,easing:i,css:(m,h)=>`
24
+ transform: ${d} translate(${(1-m)*w}${t}, ${(1-m)*u}${f});
25
+ opacity: ${g-l*h}`}}function ie(e,{delay:a=0,duration:r=400,easing:i=U,axis:s="y"}={}){const n=getComputedStyle(e),o=+n.opacity,c=s==="y"?"height":"width",g=parseFloat(n[c]),d=s==="y"?["top","bottom"]:["left","right"],l=d.map(_=>`${_[0].toUpperCase()}${_.slice(1)}`),w=parseFloat(n[`padding${l[0]}`]),t=parseFloat(n[`padding${l[1]}`]),u=parseFloat(n[`margin${l[0]}`]),f=parseFloat(n[`margin${l[1]}`]),m=parseFloat(n[`border${l[0]}Width`]),h=parseFloat(n[`border${l[1]}Width`]);return{delay:a,duration:r,easing:i,css:_=>`overflow: hidden;opacity: ${Math.min(_*20,1)*o};${c}: ${_*g}px;padding-${d[0]}: ${_*w}px;padding-${d[1]}: ${_*t}px;margin-${d[0]}: ${_*u}px;margin-${d[1]}: ${_*f}px;border-${d[0]}-width: ${_*m}px;border-${d[1]}-width: ${_*h}px;min-${c}: 0`}}function ne(e,{delay:a=0,duration:r=400,easing:i=U,start:s=0,opacity:n=0}={}){const o=getComputedStyle(e),c=+o.opacity,g=o.transform==="none"?"":o.transform,d=1-s,l=c*(1-n);return{delay:a,duration:r,easing:i,css:(w,t)=>`
26
+ transform: ${g} scale(${1-d*t});
27
+ opacity: ${c-l*t}
28
+ `}}export{re as a,ja as b,te as c,ne as d,Za as e,se as f,ie as g,Xa as i,ae as s,ee as t};
@@ -15,4 +15,9 @@
15
15
  * along with Plum. If not, see https://www.gnu.org/licenses/.
16
16
  */
17
17
 
18
- import{a as f,t as c,s as v}from"./ll-VsEGv.js";import"./DGryW1Vp.js";import{t as m,k as a,j as k,n as o}from"./C67QNx7Z.js";import{s as d}from"./CstKKb9b.js";import{p as s}from"./BeO8veBd.js";var h=c('<div class="back-row svelte-1qfuc04"><a class="back-link svelte-1qfuc04"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg> </a></div>');function y(i,r){let l=s(r,"href",8,"/reports"),n=s(r,"label",8,"Reports");var e=h(),t=a(e),p=k(a(t));o(t),o(e),m(()=>{d(t,"href",l()),v(p,` ${n()??""}`)}),f(i,e)}export{y as B};
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{a as f,t as c,s as v}from"./CMBQQ9RZ.js";import"./CKDtmZUQ.js";import{t as m,d as a,j as d,k as o}from"./BAACMRH5.js";import{s as k}from"./4N1zIH8t.js";import{p as s}from"./C8OURRSs.js";var h=c('<div class="back-row svelte-1qfuc04"><a class="back-link svelte-1qfuc04"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg> </a></div>');function y(i,r){let l=s(r,"href",8,"/reports"),n=s(r,"label",8,"Reports");var e=h(),t=a(e),p=d(a(t));o(t),o(e),m(()=>{k(t,"href",l()),v(p,` ${n()??""}`)}),f(i,e)}export{y as B};
@@ -15,4 +15,9 @@
15
15
  * along with Plum. If not, see https://www.gnu.org/licenses/.
16
16
  */
17
17
 
18
- import{a as k,u as n,r as s,h as u}from"./C67QNx7Z.js";import{l as h}from"./ll-VsEGv.js";function t(e,a,v=a){var c=k();h(e,"input",l=>{var r=l?e.defaultValue:e.value;if(r=f(e)?d(r):r,v(r),c&&r!==(r=a())){var _=e.selectionStart,o=e.selectionEnd;e.value=r??"",o!==null&&(e.selectionStart=_,e.selectionEnd=Math.min(o,e.value.length))}}),(u&&e.defaultValue!==e.value||n(a)==null&&e.value)&&v(f(e)?d(e.value):e.value),s(()=>{var l=a();f(e)&&l===d(e.value)||e.type==="date"&&!l&&!e.value||l!==e.value&&(e.value=l??"")})}function y(e,a,v=a){h(e,"change",c=>{var l=c?e.defaultChecked:e.checked;v(l)}),(u&&e.defaultChecked!==e.checked||n(a)==null)&&v(e.checked),s(()=>{var c=a();e.checked=!!c})}function f(e){var a=e.type;return a==="number"||a==="range"}function d(e){return e===""?null:+e}export{y as a,t as b};
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{a as k,u as n,r as s,h as u}from"./BAACMRH5.js";import{l as h}from"./CMBQQ9RZ.js";function t(e,a,v=a){var c=k();h(e,"input",l=>{var r=l?e.defaultValue:e.value;if(r=f(e)?d(r):r,v(r),c&&r!==(r=a())){var _=e.selectionStart,o=e.selectionEnd;e.value=r??"",o!==null&&(e.selectionStart=_,e.selectionEnd=Math.min(o,e.value.length))}}),(u&&e.defaultValue!==e.value||n(a)==null&&e.value)&&v(f(e)?d(e.value):e.value),s(()=>{var l=a();f(e)&&l===d(e.value)||e.type==="date"&&!l&&!e.value||l!==e.value&&(e.value=l??"")})}function y(e,a,v=a){h(e,"change",c=>{var l=c?e.defaultChecked:e.checked;v(l)}),(u&&e.defaultChecked!==e.checked||n(a)==null)&&v(e.checked),s(()=>{var c=a();e.checked=!!c})}function f(e){var a=e.type;return a==="number"||a==="range"}function d(e){return e===""?null:+e}export{y as a,t as b};
@@ -15,4 +15,9 @@
15
15
  * along with Plum. If not, see https://www.gnu.org/licenses/.
16
16
  */
17
17
 
18
- import{c as w,a as c,e as v,t as _}from"./ll-VsEGv.js";import{i as j}from"./DGryW1Vp.js";import{p as y,B as A,f as B,d as C,k as D,j as p,t as u,n as E}from"./C67QNx7Z.js";import{i as N}from"./CVV6HrFb.js";import{e as q,t as z,i as F}from"./DmRbbcS3.js";import{p as d}from"./BeO8veBd.js";var G=_('<button class="page svelte-1a7b06a"></button>'),H=_('<div class="pagination svelte-1a7b06a"><button class="arrow svelte-1a7b06a" aria-label="Previous">←</button> <!> <button class="arrow svelte-1a7b06a" aria-label="Next">→</button></div>');function R(g,o){y(o,!1);let t=d(o,"current",8,1),e=d(o,"total",8,1);const h=A();function s(a){a<1||a>e()||h("change",a)}j();var b=w(),k=B(b);{var x=a=>{var i=H(),n=D(i),f=p(n,2);q(f,1,()=>Array(e()),F,(P,I,l)=>{var r=G();r.textContent=l+1,u(()=>z(r,"active",t()===l+1)),v("click",r,()=>s(l+1)),c(P,r)});var m=p(f,2);E(i),u(()=>{n.disabled=t()===1,m.disabled=t()===e()}),v("click",n,()=>s(t()-1)),v("click",m,()=>s(t()+1)),c(a,i)};N(k,a=>{e()>1&&a(x)})}c(g,b),C()}export{R as P};
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{c as w,a as c,e as v,t as _}from"./CMBQQ9RZ.js";import{i as A}from"./CKDtmZUQ.js";import{p as j,A as y,f as C,c as D,d as E,j as p,t as u,k as N}from"./BAACMRH5.js";import{i as q}from"./CgnwuKKO.js";import{e as z,t as B,i as F}from"./TOCyHP97.js";import{p as d}from"./C8OURRSs.js";var G=_('<button class="page svelte-1a7b06a"></button>'),H=_('<div class="pagination svelte-1a7b06a"><button class="arrow svelte-1a7b06a" aria-label="Previous">←</button> <!> <button class="arrow svelte-1a7b06a" aria-label="Next">→</button></div>');function R(g,o){j(o,!1);let t=d(o,"current",8,1),e=d(o,"total",8,1);const h=y();function s(a){a<1||a>e()||h("change",a)}A();var b=w(),k=C(b);{var x=a=>{var i=H(),n=E(i),f=p(n,2);z(f,1,()=>Array(e()),F,(P,I,l)=>{var r=G();r.textContent=l+1,u(()=>B(r,"active",t()===l+1)),v("click",r,()=>s(l+1)),c(P,r)});var m=p(f,2);N(i),u(()=>{n.disabled=t()===1,m.disabled=t()===e()}),v("click",n,()=>s(t()-1)),v("click",m,()=>s(t()+1)),c(a,i)};q(k,a=>{e()>1&&a(x)})}c(g,b),D()}export{R as P};
@@ -0,0 +1,24 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BAqq2UTE.js","../chunks/CMBQQ9RZ.js","../chunks/BAACMRH5.js","../chunks/CKDtmZUQ.js","../chunks/CgnwuKKO.js","../chunks/TOCyHP97.js","../chunks/DtGXv8RA.js","../chunks/DW_iTTZe.js","../chunks/4N1zIH8t.js","../chunks/C1Vid6wz.js","../chunks/D2cvzNT9.js","../chunks/DW85KPAh.js","../chunks/DDblTLLE.js","../chunks/DkNBSlo2.js","../chunks/D2gYTmAA.js","../chunks/3IV-uqHa.js","../chunks/C8OURRSs.js","../chunks/BjUpWNbl.js","../assets/Modal.BZpm0HP8.css","../assets/ConfirmModal.Dd3uP-Sk.css","../chunks/CuqnZUex.js","../assets/Badge.D1SV0Gv7.css","../chunks/DYlaQsvN.js","../assets/0.BhSG-jZH.css","../nodes/1.D5VvLtGP.js","../nodes/2.C2jjMA-Z.js","../chunks/t-La0hgu.js","../chunks/C1sukchk.js","../assets/EmptyState.DUDM4P19.css","../assets/2.CrXpMrqh.css","../nodes/3.DHx0kho3.js","../chunks/DCgHuuvs.js","../chunks/Dlnxgs49.js","../assets/3.BR3wgXcZ.css","../nodes/4.CnaMiirx.js","../chunks/w0D4Uzlq.js","../assets/Pagination.DZmi2Po-.css","../chunks/B98sHkeB.js","../assets/4.0Eln51hV.css","../nodes/5.B6m-zTVe.js","../chunks/Bfc47y5P.js","../chunks/CNdcuGR0.js","../chunks/oN0Z3NSF.js","../assets/BackLink.CvWWuO3h.css","../assets/5.DFV9OgAu.css","../nodes/6.BPDag1zv.js","../chunks/2zMvi6fR.js","../assets/6.CFnbmY-D.css","../nodes/7.D7LwxSvT.js","../chunks/DlNYZJ7K.js","../assets/Button.FOWXxvc7.css","../assets/7.CBHi6pzT.css","../nodes/8.CCkNX20G.js","../assets/8.BwgOqeMo.css","../nodes/9.HDerA6JV.js","../assets/9._h2o67kg.css","../nodes/10.Bn4Ma-MU.js","../chunks/BhvHtTRh.js","../assets/10.CdaQUS6U.css","../nodes/11.BacEu7sW.js","../assets/11.BWAH0Beh.css","../nodes/12.0YGtl1uj.js","../assets/12.Bj_a_5lv.css"])))=>i.map(i=>d[i]);
24
+ var W=r=>{throw TypeError(r)};var z=(r,t,s)=>t.has(r)||W("Cannot "+s);var u=(r,t,s)=>(z(r,t,"read from private field"),s?s.call(r):t.get(r)),w=(r,t,s)=>t.has(r)?W("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,s),D=(r,t,s,a)=>(z(r,t,"write to private field"),a?a.call(r,s):t.set(r,s),s);import{s as V,O as K,g as E,at as Q,ac as X,W as M,h as G,_ as $,Z as tt,a0 as et,a6 as rt,a7 as st,a8 as ot,p as at,ae as nt,af as it,o as ct,z as ut,f as T,j as lt,c as _t,au as I,d as mt,k as dt,t as ft,V as x}from"../chunks/BAACMRH5.js";import{f as ht,m as vt,u as Et,a as b,c as S,t as Y,b as gt,s as yt}from"../chunks/CMBQQ9RZ.js";import{i as C}from"../chunks/CgnwuKKO.js";import{p as j,a as pt}from"../chunks/C8OURRSs.js";import{b as B}from"../chunks/2zMvi6fR.js";const Pt="modulepreload",Rt=function(r,t){return new URL(r,t).href},N={},l=function(t,s,a){let n=Promise.resolve();if(s&&s.length>0){const o=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),d=(e==null?void 0:e.nonce)||(e==null?void 0:e.getAttribute("nonce"));n=Promise.allSettled(s.map(_=>{if(_=Rt(_,a),_ in N)return;N[_]=!0;const y=_.endsWith(".css"),k=y?'[rel="stylesheet"]':"";if(!!a)for(let p=o.length-1;p>=0;p--){const i=o[p];if(i.href===_&&(!y||i.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${_}"]${k}`))return;const h=document.createElement("link");if(h.rel=y?"stylesheet":Pt,y||(h.as="script"),h.crossOrigin="",h.href=_,d&&h.setAttribute("nonce",d),document.head.appendChild(h),y)return new Promise((p,i)=>{h.addEventListener("load",p),h.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${_}`)))})}))}function c(o){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=o,window.dispatchEvent(e),!e.defaultPrevented)throw o}return n.then(o=>{for(const e of o||[])e.status==="rejected"&&c(e.reason);return t().catch(c)})},Bt={};function bt(r){return class extends Ot{constructor(t){super({component:r,...t})}}}var g,m;class Ot{constructor(t){w(this,g);w(this,m);var c;var s=new Map,a=(o,e)=>{var d=M(e);return s.set(o,d),d};const n=new Proxy({...t.props||{},$$events:{}},{get(o,e){return E(s.get(e)??a(e,Reflect.get(o,e)))},has(o,e){return e===K?!0:(E(s.get(e)??a(e,Reflect.get(o,e))),Reflect.has(o,e))},set(o,e,d){return V(s.get(e)??a(e,d),d),Reflect.set(o,e,d)}});D(this,m,(t.hydrate?ht:vt)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((c=t==null?void 0:t.props)!=null&&c.$$host)||t.sync===!1)&&Q(),D(this,g,n.$$events);for(const o of Object.keys(u(this,m)))o==="$set"||o==="$destroy"||o==="$on"||X(this,o,{get(){return u(this,m)[o]},set(e){u(this,m)[o]=e},enumerable:!0});u(this,m).$set=o=>{Object.assign(n,o)},u(this,m).$destroy=()=>{Et(u(this,m))}}$set(t){u(this,m).$set(t)}$on(t,s){u(this,g)[t]=u(this,g)[t]||[];const a=(...n)=>s.call(this,...n);return u(this,g)[t].push(a),()=>{u(this,g)[t]=u(this,g)[t].filter(n=>n!==a)}}$destroy(){u(this,m).$destroy()}}g=new WeakMap,m=new WeakMap;function q(r,t,s){G&&$();var a=r,n,c;tt(()=>{n!==(n=t())&&(c&&(st(c),c=null),n&&(c=rt(()=>s(a,n))))},et),G&&(a=ot)}var At=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>'),Lt=Y("<!> <!>",1);function Tt(r,t){at(t,!0);let s=j(t,"components",23,()=>[]),a=j(t,"data_0",3,null),n=j(t,"data_1",3,null);nt(()=>t.stores.page.set(t.page)),it(()=>{t.stores,t.page,t.constructors,s(),t.form,a(),n(),t.stores.page.notify()});let c=I(!1),o=I(!1),e=I(null);ct(()=>{const i=t.stores.page.subscribe(()=>{E(c)&&(V(o,!0),ut().then(()=>{V(e,pt(document.title||"untitled page"))}))});return V(c,!0),i});const d=x(()=>t.constructors[1]);var _=Lt(),y=T(_);{var k=i=>{var v=S();const O=x(()=>t.constructors[0]);var A=T(v);q(A,()=>E(O),(P,R)=>{B(R(P,{get data(){return a()},get form(){return t.form},children:(f,wt)=>{var U=S(),Z=T(U);q(Z,()=>E(d),(H,J)=>{B(J(H,{get data(){return n()},get form(){return t.form}}),L=>s()[1]=L,()=>{var L;return(L=s())==null?void 0:L[1]})}),b(f,U)},$$slots:{default:!0}}),f=>s()[0]=f,()=>{var f;return(f=s())==null?void 0:f[0]})}),b(i,v)},F=i=>{var v=S();const O=x(()=>t.constructors[0]);var A=T(v);q(A,()=>E(O),(P,R)=>{B(R(P,{get data(){return a()},get form(){return t.form}}),f=>s()[0]=f,()=>{var f;return(f=s())==null?void 0:f[0]})}),b(i,v)};C(y,i=>{t.constructors[1]?i(k):i(F,!1)})}var h=lt(y,2);{var p=i=>{var v=At(),O=mt(v);{var A=P=>{var R=gt();ft(()=>yt(R,E(e))),b(P,R)};C(O,P=>{E(o)&&P(A)})}dt(v),b(i,v)};C(h,i=>{E(c)&&i(p)})}b(r,_),_t()}const qt=bt(Tt),Ft=[()=>l(()=>import("../nodes/0.BAqq2UTE.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]),import.meta.url),()=>l(()=>import("../nodes/1.D5VvLtGP.js"),__vite__mapDeps([24,1,2,3,6]),import.meta.url),()=>l(()=>import("../nodes/2.C2jjMA-Z.js"),__vite__mapDeps([25,1,2,3,4,5,8,26,11,14,27,16,28,29]),import.meta.url),()=>l(()=>import("../nodes/3.DHx0kho3.js"),__vite__mapDeps([30,1,2,3,4,8,26,6,9,22,31,32,33]),import.meta.url),()=>l(()=>import("../nodes/4.CnaMiirx.js"),__vite__mapDeps([34,1,2,3,4,5,8,12,11,14,20,16,21,35,36,15,17,18,19,27,28,37,38]),import.meta.url),()=>l(()=>import("../nodes/5.B6m-zTVe.js"),__vite__mapDeps([39,1,2,3,4,5,8,40,41,7,6,12,14,37,20,16,21,42,43,44]),import.meta.url),()=>l(()=>import("../nodes/6.BPDag1zv.js"),__vite__mapDeps([45,1,2,3,4,5,8,46,6,7,11,12,37,14,42,16,43,20,21,47]),import.meta.url),()=>l(()=>import("../nodes/7.D7LwxSvT.js"),__vite__mapDeps([48,1,2,3,4,5,8,26,49,16,41,50,40,10,9,11,14,20,21,17,18,15,19,27,28,51]),import.meta.url),()=>l(()=>import("../nodes/8.CCkNX20G.js"),__vite__mapDeps([52,1,2,3,4,5,8,26,49,16,41,50,46,6,10,9,13,22,11,31,15,17,18,19,20,21,53]),import.meta.url),()=>l(()=>import("../nodes/9.HDerA6JV.js"),__vite__mapDeps([54,1,2,3,4,8,26,6,22,9,31,32,55]),import.meta.url),()=>l(()=>import("../nodes/10.Bn4Ma-MU.js"),__vite__mapDeps([56,1,2,3,4,5,8,26,49,16,41,50,13,9,11,35,36,27,28,15,17,18,19,57,58]),import.meta.url),()=>l(()=>import("../nodes/11.BacEu7sW.js"),__vite__mapDeps([59,1,2,3,4,5,8,26,49,16,41,50,7,6,13,9,11,17,18,27,28,57,60]),import.meta.url),()=>l(()=>import("../nodes/12.0YGtl1uj.js"),__vite__mapDeps([61,1,2,3,4,5,8,26,49,16,41,50,40,7,6,13,9,27,28,15,17,18,19,35,36,57,62]),import.meta.url)],Ut=[],Wt={"/":[2],"/login":[3],"/reports":[4],"/reports/live":[6],"/reports/[id]":[5],"/scheduled-tests":[7],"/settings":[8],"/setup":[9],"/test-repository":[10],"/test-repository/runs/[id]":[11],"/test-repository/suites/[id]":[12]},Vt={handleError:({error:r})=>{console.error(r)},reroute:()=>{},transport:{}},kt=Object.fromEntries(Object.entries(Vt.transport).map(([r,t])=>[r,t.decode])),zt=!1,Gt=(r,t)=>kt[r](t);export{Gt as decode,kt as decoders,Wt as dictionary,zt as hash,Vt as hooks,Bt as matchers,Ft as nodes,qt as root,Ut as server_loads};
@@ -15,4 +15,9 @@
15
15
  * along with Plum. If not, see https://www.gnu.org/licenses/.
16
16
  */
17
17
 
18
- import{a as t}from"../chunks/KJdjlibc.js";export{t as start};
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{a as t}from"../chunks/DtGXv8RA.js";export{t as start};
@@ -0,0 +1,28 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{s as D,a as m,e as $,t as E,b as us,n as _n,c as Me}from"../chunks/CMBQQ9RZ.js";import{i as Ft}from"../chunks/CKDtmZUQ.js";import{e as ot,u as gn,p as Wt,o as Ht,s as k,d as g,j as d,f as j,g as r,k as _,t as P,x as te,c as Kt,m as U,an as mn,l as he,b as yn,n as Ie}from"../chunks/BAACMRH5.js";import{i as N,s as Yt,a as be}from"../chunks/CgnwuKKO.js";import{e as Fe,t as C,i as Ge,a as Ue,g as Rs,b as Ut,f as Ke}from"../chunks/TOCyHP97.js";import{g as ds}from"../chunks/DtGXv8RA.js";import{p as Ss}from"../chunks/DW_iTTZe.js";import{s as se,x as Re,w as xs,A as bn,t as wn,u as En,I as st,J as fs,B as At,K as ps,N as vs,r as Tt,G as kn,i as Rn,m as _s,y as Sn,z as xn}from"../chunks/4N1zIH8t.js";import{a as As}from"../chunks/C1Vid6wz.js";import{b as An,f as Tn,a as Nn}from"../chunks/D2cvzNT9.js";import{e as ke,p as Ye,g as Nt,s as Cn,S as Y,c as Te,t as Ln,a as gs,b as nt,f as Ct,r as Bn}from"../chunks/DW85KPAh.js";import{c as On,r as In}from"../chunks/DDblTLLE.js";import{a as Un,q as Pn}from"../chunks/DkNBSlo2.js";import{t as Ts,a as $n}from"../chunks/D2gYTmAA.js";import{C as Dn}from"../chunks/3IV-uqHa.js";import{B as ms}from"../chunks/CuqnZUex.js";import{c as qn}from"../chunks/DYlaQsvN.js";function Lt(n,e,t){ot(()=>{var s=gn(()=>e(n,t==null?void 0:t())||{});if(s!=null&&s.destroy)return()=>s.destroy()})}const Vn=!1,vo=Object.freeze(Object.defineProperty({__proto__:null,ssr:Vn},Symbol.toStringTag,{value:"Module"}));var Mn=E('<span class="nav-sep svelte-10t98u4" aria-hidden="true"></span>'),Fn=E('<!> <a class="link svelte-10t98u4"> </a>',1),Wn=E('<img alt="" class="project-logo svelte-10t98u4">'),Hn=E('<div class="project-card svelte-10t98u4"><!> <span class="project-name svelte-10t98u4"> </span></div>'),Kn=E('<span class="nav-user svelte-10t98u4"> </span>'),Yn=E('<hr class="mobile-sep svelte-10t98u4">'),jn=E('<!> <a class="mobile-link svelte-10t98u4"> </a>',1),zn=E('<div class="mobile-menu svelte-10t98u4"><!> <a href="/settings" class="mobile-link svelte-10t98u4">Settings</a></div>'),Gn=E('<nav class="nav svelte-10t98u4"><div class="inner svelte-10t98u4"><a href="/" class="brand svelte-10t98u4"><span class="brand-serif svelte-10t98u4">Pl</span><span class="brand-sans svelte-10t98u4">um</span></a> <div class="links svelte-10t98u4"></div> <div class="actions svelte-10t98u4"><!> <!> <a href="/settings" class="settings-btn svelte-10t98u4" aria-label="Settings" title="Settings"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg></a> <button class="hamburger svelte-10t98u4"><span class="svelte-10t98u4"></span> <span class="svelte-10t98u4"></span> <span class="svelte-10t98u4"></span></button></div></div> <!></nav>');function Jn(n,e){Wt(e,!1);const[t,s]=Yt(),i=()=>be(Ss,"$page",t),c=()=>be(As,"$auth",t);let v=U(!1),y=U({name:"",logoUrl:""});Ht(async()=>{try{k(y,await An())}catch{}});const w=[{href:"/",label:"Automated Tests"},{href:"/reports",label:"Reports"},{href:"/scheduled-tests",label:"Scheduled"},{href:"/test-repository",label:"Test Repository",sep:!0}];function K(){k(v,!1)}Ft();var f=Gn(),I=g(f),q=g(I),z=d(q,2);Fe(z,5,()=>w,Ge,(V,B)=>{var J=Fn(),re=j(J);{var ie=G=>{var Ae=Mn();m(G,Ae)};N(re,G=>{r(B).sep&&G(ie)})}var M=d(re,2),H=g(M,!0);_(M),P(G=>{se(M,"href",r(B).href),C(M,"repo",r(B).sep),C(M,"active",G),D(H,r(B).label)},[()=>r(B).href==="/"?i().url.pathname==="/":i().url.pathname.startsWith(r(B).href)],te),m(V,J)}),_(z);var ee=d(z,2),Se=g(ee);{var Pe=V=>{var B=Hn(),J=g(B);{var re=H=>{var G=Wn();P(()=>se(G,"src",r(y).logoUrl)),m(H,G)};N(J,H=>{r(y).logoUrl&&H(re)})}var ie=d(J,2),M=g(ie,!0);_(ie),_(B),P(()=>D(M,r(y).name)),m(V,B)};N(Se,V=>{r(y).name&&V(Pe)})}var ne=d(Se,2);{var _e=V=>{var B=Kn(),J=g(B,!0);_(B),P(()=>D(J,c().user.name)),m(V,B)};N(ne,V=>{c().user&&V(_e)})}var ge=d(ne,2),de=d(ge,2),ce=g(de),xe=d(ce,2),L=d(xe,2);_(de),_(ee),_(I);var fe=d(I,2);{var pe=V=>{var B=zn(),J=g(B);Fe(J,1,()=>w,Ge,(ie,M)=>{var H=jn(),G=j(H);{var Ae=Ce=>{var Je=Yn();m(Ce,Je)};N(G,Ce=>{r(M).sep&&Ce(Ae)})}var me=d(G,2),$e=g(me,!0);_(me),P(Ce=>{se(me,"href",r(M).href),C(me,"active",Ce),D($e,r(M).label)},[()=>r(M).href==="/"?i().url.pathname==="/":i().url.pathname.startsWith(r(M).href)],te),$("click",me,K),m(ie,H)});var re=d(J,2);_(B),P(()=>C(re,"active",i().url.pathname==="/settings")),$("click",re,K),Ue(3,B,()=>Rs,()=>({duration:200})),m(V,B)};N(fe,V=>{r(v)&&V(pe)})}_(f),P(()=>{C(ge,"active",i().url.pathname==="/settings"),se(de,"aria-label",r(v)?"Close menu":"Open menu"),se(de,"aria-expanded",r(v)),C(ce,"rotated",r(v)),C(xe,"hidden",r(v)),C(L,"rotated-reverse",r(v))}),$("click",q,K),$("click",de,()=>k(v,!r(v))),m(n,f),Kt(),s()}var Xn=E('<main class="shell svelte-28zx1m"><!></main>');function Qn(n,e){var t=Xn(),s=g(t);Ut(s,e,"default",{},null),_(t),m(n,t)}const Ee=Object.create(null);Ee.open="0";Ee.close="1";Ee.ping="2";Ee.pong="3";Ee.message="4";Ee.upgrade="5";Ee.noop="6";const at=Object.create(null);Object.keys(Ee).forEach(n=>{at[Ee[n]]=n});const Pt={type:"error",data:"parser error"},Ns=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Cs=typeof ArrayBuffer=="function",Ls=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n&&n.buffer instanceof ArrayBuffer,jt=({type:n,data:e},t,s)=>Ns&&e instanceof Blob?t?s(e):ys(e,s):Cs&&(e instanceof ArrayBuffer||Ls(e))?t?s(e):ys(new Blob([e]),s):s(Ee[n]+(e||"")),ys=(n,e)=>{const t=new FileReader;return t.onload=function(){const s=t.result.split(",")[1];e("b"+(s||""))},t.readAsDataURL(n)};function bs(n){return n instanceof Uint8Array?n:n instanceof ArrayBuffer?new Uint8Array(n):new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}let Bt;function Zn(n,e){if(Ns&&n.data instanceof Blob)return n.data.arrayBuffer().then(bs).then(e);if(Cs&&(n.data instanceof ArrayBuffer||Ls(n.data)))return e(bs(n.data));jt(n,!1,t=>{Bt||(Bt=new TextEncoder),e(Bt.encode(t))})}const ws="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ze=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let n=0;n<ws.length;n++)ze[ws.charCodeAt(n)]=n;const er=n=>{let e=n.length*.75,t=n.length,s,i=0,c,v,y,w;n[n.length-1]==="="&&(e--,n[n.length-2]==="="&&e--);const K=new ArrayBuffer(e),f=new Uint8Array(K);for(s=0;s<t;s+=4)c=ze[n.charCodeAt(s)],v=ze[n.charCodeAt(s+1)],y=ze[n.charCodeAt(s+2)],w=ze[n.charCodeAt(s+3)],f[i++]=c<<2|v>>4,f[i++]=(v&15)<<4|y>>2,f[i++]=(y&3)<<6|w&63;return K},tr=typeof ArrayBuffer=="function",zt=(n,e)=>{if(typeof n!="string")return{type:"message",data:Bs(n,e)};const t=n.charAt(0);return t==="b"?{type:"message",data:sr(n.substring(1),e)}:at[t]?n.length>1?{type:at[t],data:n.substring(1)}:{type:at[t]}:Pt},sr=(n,e)=>{if(tr){const t=er(n);return Bs(t,e)}else return{base64:!0,data:n}},Bs=(n,e)=>{switch(e){case"blob":return n instanceof Blob?n:new Blob([n]);case"arraybuffer":default:return n instanceof ArrayBuffer?n:n.buffer}},Os="",nr=(n,e)=>{const t=n.length,s=new Array(t);let i=0;n.forEach((c,v)=>{jt(c,!1,y=>{s[v]=y,++i===t&&e(s.join(Os))})})},rr=(n,e)=>{const t=n.split(Os),s=[];for(let i=0;i<t.length;i++){const c=zt(t[i],e);if(s.push(c),c.type==="error")break}return s};function ir(){return new TransformStream({transform(n,e){Zn(n,t=>{const s=t.length;let i;if(s<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,s);else if(s<65536){i=new Uint8Array(3);const c=new DataView(i.buffer);c.setUint8(0,126),c.setUint16(1,s)}else{i=new Uint8Array(9);const c=new DataView(i.buffer);c.setUint8(0,127),c.setBigUint64(1,BigInt(s))}n.data&&typeof n.data!="string"&&(i[0]|=128),e.enqueue(i),e.enqueue(t)})}})}let Ot;function rt(n){return n.reduce((e,t)=>e+t.length,0)}function it(n,e){if(n[0].length===e)return n.shift();const t=new Uint8Array(e);let s=0;for(let i=0;i<e;i++)t[i]=n[0][s++],s===n[0].length&&(n.shift(),s=0);return n.length&&s<n[0].length&&(n[0]=n[0].slice(s)),t}function or(n,e){Ot||(Ot=new TextDecoder);const t=[];let s=0,i=-1,c=!1;return new TransformStream({transform(v,y){for(t.push(v);;){if(s===0){if(rt(t)<1)break;const w=it(t,1);c=(w[0]&128)===128,i=w[0]&127,i<126?s=3:i===126?s=1:s=2}else if(s===1){if(rt(t)<2)break;const w=it(t,2);i=new DataView(w.buffer,w.byteOffset,w.length).getUint16(0),s=3}else if(s===2){if(rt(t)<8)break;const w=it(t,8),K=new DataView(w.buffer,w.byteOffset,w.length),f=K.getUint32(0);if(f>Math.pow(2,21)-1){y.enqueue(Pt);break}i=f*Math.pow(2,32)+K.getUint32(4),s=3}else{if(rt(t)<i)break;const w=it(t,i);y.enqueue(zt(c?w:Ot.decode(w),e)),s=0}if(i===0||i>n){y.enqueue(Pt);break}}}})}const Is=4;function W(n){if(n)return ar(n)}function ar(n){for(var e in W.prototype)n[e]=W.prototype[e];return n}W.prototype.on=W.prototype.addEventListener=function(n,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(e),this};W.prototype.once=function(n,e){function t(){this.off(n,t),e.apply(this,arguments)}return t.fn=e,this.on(n,t),this};W.prototype.off=W.prototype.removeListener=W.prototype.removeAllListeners=W.prototype.removeEventListener=function(n,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+n];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var s,i=0;i<t.length;i++)if(s=t[i],s===e||s.fn===e){t.splice(i,1);break}return t.length===0&&delete this._callbacks["$"+n],this};W.prototype.emit=function(n){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+n],s=1;s<arguments.length;s++)e[s-1]=arguments[s];if(t){t=t.slice(0);for(var s=0,i=t.length;s<i;++s)t[s].apply(this,e)}return this};W.prototype.emitReserved=W.prototype.emit;W.prototype.listeners=function(n){return this._callbacks=this._callbacks||{},this._callbacks["$"+n]||[]};W.prototype.hasListeners=function(n){return!!this.listeners(n).length};const ut=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0),ue=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),cr="arraybuffer";function Us(n,...e){return e.reduce((t,s)=>(n.hasOwnProperty(s)&&(t[s]=n[s]),t),{})}const lr=ue.setTimeout,hr=ue.clearTimeout;function dt(n,e){e.useNativeTimers?(n.setTimeoutFn=lr.bind(ue),n.clearTimeoutFn=hr.bind(ue)):(n.setTimeoutFn=ue.setTimeout.bind(ue),n.clearTimeoutFn=ue.clearTimeout.bind(ue))}const ur=1.33;function dr(n){return typeof n=="string"?fr(n):Math.ceil((n.byteLength||n.size)*ur)}function fr(n){let e=0,t=0;for(let s=0,i=n.length;s<i;s++)e=n.charCodeAt(s),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(s++,t+=4);return t}function Ps(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function pr(n){let e="";for(let t in n)n.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(n[t]));return e}function vr(n){let e={},t=n.split("&");for(let s=0,i=t.length;s<i;s++){let c=t[s].split("=");e[decodeURIComponent(c[0])]=decodeURIComponent(c[1])}return e}class _r extends Error{constructor(e,t,s){super(e),this.description=t,this.context=s,this.type="TransportError"}}class Gt extends W{constructor(e){super(),this.writable=!1,dt(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,s){return super.emitReserved("error",new _r(e,t,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=zt(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const t=pr(e);return t.length?"?"+t:""}}class gr extends Gt{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||t()})),this.writable||(s++,this.once("drain",function(){--s||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};rr(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,nr(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=Ps()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}}let $s=!1;try{$s=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const mr=$s;function yr(){}class br extends gr{constructor(e){if(super(e),typeof location<"u"){const t=location.protocol==="https:";let s=location.port;s||(s=t?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||s!==e.port}}doWrite(e,t){const s=this.request({method:"POST",data:e});s.on("success",t),s.on("error",(i,c)=>{this.onError("xhr post error",i,c)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,s)=>{this.onError("xhr poll error",t,s)}),this.pollXhr=e}}class we extends W{constructor(e,t,s){super(),this.createRequest=e,dt(this,s),this._opts=s,this._method=s.method||"GET",this._uri=t,this._data=s.data!==void 0?s.data:null,this._create()}_create(){var e;const t=Us(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;const s=this._xhr=this.createRequest(t);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&s.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var i;s.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(s.getResponseHeader("set-cookie"))),s.readyState===4&&(s.status===200||s.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof s.status=="number"?s.status:0)},0))},s.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=we.requestsCount++,we.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=yr,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete we.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}we.requestsCount=0;we.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Es);else if(typeof addEventListener=="function"){const n="onpagehide"in ue?"pagehide":"unload";addEventListener(n,Es,!1)}}function Es(){for(let n in we.requests)we.requests.hasOwnProperty(n)&&we.requests[n].abort()}const wr=function(){const n=Ds({xdomain:!1});return n&&n.responseType!==null}();class Er extends br{constructor(e){super(e);const t=e&&e.forceBase64;this.supportsBinary=wr&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new we(Ds,this.uri(),e)}}function Ds(n){const e=n.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||mr))return new XMLHttpRequest}catch{}if(!e)try{return new ue[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const qs=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class kr extends Gt{get name(){return"websocket"}doOpen(){const e=this.uri(),t=this.opts.protocols,s=qs?{}:Us(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,s)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const s=e[t],i=t===e.length-1;jt(s,this.supportsBinary,c=>{try{this.doWrite(s,c)}catch{}i&&ut(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=Ps()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}const It=ue.WebSocket||ue.MozWebSocket;class Rr extends kr{createSocket(e,t,s){return qs?new It(e,t,s):t?new It(e,t):new It(e)}doWrite(e,t){this.ws.send(t)}}class Sr extends Gt{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const t=or(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=e.readable.pipeThrough(t).getReader(),i=ir();i.readable.pipeTo(e.writable),this._writer=i.writable.getWriter();const c=()=>{s.read().then(({done:y,value:w})=>{y||(this.onPacket(w),c())}).catch(y=>{})};c();const v={type:"open"};this.query.sid&&(v.data=`{"sid":"${this.query.sid}"}`),this._writer.write(v).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const s=e[t],i=t===e.length-1;this._writer.write(s).then(()=>{i&&ut(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const xr={websocket:Rr,webtransport:Sr,polling:Er},Ar=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Tr=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function $t(n){if(n.length>8e3)throw"URI too long";const e=n,t=n.indexOf("["),s=n.indexOf("]");t!=-1&&s!=-1&&(n=n.substring(0,t)+n.substring(t,s).replace(/:/g,";")+n.substring(s,n.length));let i=Ar.exec(n||""),c={},v=14;for(;v--;)c[Tr[v]]=i[v]||"";return t!=-1&&s!=-1&&(c.source=e,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=Nr(c,c.path),c.queryKey=Cr(c,c.query),c}function Nr(n,e){const t=/\/{2,9}/g,s=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function Cr(n,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,i,c){i&&(t[i]=c)}),t}const Dt=typeof addEventListener=="function"&&typeof removeEventListener=="function",ct=[];Dt&&addEventListener("offline",()=>{ct.forEach(n=>n())},!1);class Ne extends W{constructor(e,t){if(super(),this.binaryType=cr,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(t=e,e=null),e){const s=$t(e);t.hostname=s.host,t.secure=s.protocol==="https"||s.protocol==="wss",t.port=s.port,s.query&&(t.query=s.query)}else t.host&&(t.hostname=$t(t.host).host);dt(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(s=>{const i=s.prototype.name;this.transports.push(i),this._transportsByName[i]=s}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=vr(this.opts.query)),Dt&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},ct.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=Is,t.transport=e,this.id&&(t.sid=this.id);const s=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&Ne.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",Ne.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const t=new Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let s=0;s<this.writeBuffer.length;s++){const i=this.writeBuffer[s].data;if(i&&(t+=dr(i)),s>0&&t>this._maxPayload)return this.writeBuffer.slice(0,s);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,ut(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,s){return this._sendPacket("message",e,t,s),this}send(e,t,s){return this._sendPacket("message",e,t,s),this}_sendPacket(e,t,s,i){if(typeof t=="function"&&(i=t,t=void 0),typeof s=="function"&&(i=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const c={type:e,data:t,options:s};this.emitReserved("packetCreate",c),this.writeBuffer.push(c),i&&this.once("flush",i),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},s=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}_onError(e){if(Ne.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Dt&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=ct.indexOf(this._offlineEventListener);s!==-1&&ct.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}Ne.protocol=Is;class Lr extends Ne{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),s=!1;Ne.priorWebsocketSuccess=!1;const i=()=>{s||(t.send([{type:"ping",data:"probe"}]),t.once("packet",I=>{if(!s)if(I.type==="pong"&&I.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;Ne.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(f(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const q=new Error("probe error");q.transport=t.name,this.emitReserved("upgradeError",q)}}))};function c(){s||(s=!0,f(),t.close(),t=null)}const v=I=>{const q=new Error("probe error: "+I);q.transport=t.name,c(),this.emitReserved("upgradeError",q)};function y(){v("transport closed")}function w(){v("socket closed")}function K(I){t&&I.name!==t.name&&c()}const f=()=>{t.removeListener("open",i),t.removeListener("error",v),t.removeListener("close",y),this.off("close",w),this.off("upgrading",K)};t.once("open",i),t.once("error",v),t.once("close",y),this.once("close",w),this.once("upgrading",K),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{s||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const t=[];for(let s=0;s<e.length;s++)~this.transports.indexOf(e[s])&&t.push(e[s]);return t}}let Br=class extends Lr{constructor(e,t={}){const s=typeof e=="object"?e:t;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(i=>xr[i]).filter(i=>!!i)),super(e,s)}};function Or(n,e="",t){let s=n;t=t||typeof location<"u"&&location,n==null&&(n=t.protocol+"//"+t.host),typeof n=="string"&&(n.charAt(0)==="/"&&(n.charAt(1)==="/"?n=t.protocol+n:n=t.host+n),/^(https?|wss?):\/\//.test(n)||(typeof t<"u"?n=t.protocol+"//"+n:n="https://"+n),s=$t(n)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const c=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+c+":"+s.port+e,s.href=s.protocol+"://"+c+(t&&t.port===s.port?"":":"+s.port),s}const Ir=typeof ArrayBuffer=="function",Ur=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n.buffer instanceof ArrayBuffer,Vs=Object.prototype.toString,Pr=typeof Blob=="function"||typeof Blob<"u"&&Vs.call(Blob)==="[object BlobConstructor]",$r=typeof File=="function"||typeof File<"u"&&Vs.call(File)==="[object FileConstructor]";function Jt(n){return Ir&&(n instanceof ArrayBuffer||Ur(n))||Pr&&n instanceof Blob||$r&&n instanceof File}function lt(n,e){if(!n||typeof n!="object")return!1;if(Array.isArray(n)){for(let t=0,s=n.length;t<s;t++)if(lt(n[t]))return!0;return!1}if(Jt(n))return!0;if(n.toJSON&&typeof n.toJSON=="function"&&arguments.length===1)return lt(n.toJSON(),!0);for(const t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&lt(n[t]))return!0;return!1}function Dr(n){const e=[],t=n.data,s=n;return s.data=qt(t,e),s.attachments=e.length,{packet:s,buffers:e}}function qt(n,e){if(!n)return n;if(Jt(n)){const t={_placeholder:!0,num:e.length};return e.push(n),t}else if(Array.isArray(n)){const t=new Array(n.length);for(let s=0;s<n.length;s++)t[s]=qt(n[s],e);return t}else if(typeof n=="object"&&!(n instanceof Date)){const t={};for(const s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=qt(n[s],e));return t}return n}function qr(n,e){return n.data=Vt(n.data,e),delete n.attachments,n}function Vt(n,e){if(!n)return n;if(n&&n._placeholder===!0){if(typeof n.num=="number"&&n.num>=0&&n.num<e.length)return e[n.num];throw new Error("illegal attachments")}else if(Array.isArray(n))for(let t=0;t<n.length;t++)n[t]=Vt(n[t],e);else if(typeof n=="object")for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&(n[t]=Vt(n[t],e));return n}const Vr=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var x;(function(n){n[n.CONNECT=0]="CONNECT",n[n.DISCONNECT=1]="DISCONNECT",n[n.EVENT=2]="EVENT",n[n.ACK=3]="ACK",n[n.CONNECT_ERROR=4]="CONNECT_ERROR",n[n.BINARY_EVENT=5]="BINARY_EVENT",n[n.BINARY_ACK=6]="BINARY_ACK"})(x||(x={}));class Mr{constructor(e){this.replacer=e}encode(e){return(e.type===x.EVENT||e.type===x.ACK)&&lt(e)?this.encodeAsBinary({type:e.type===x.EVENT?x.BINARY_EVENT:x.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===x.BINARY_EVENT||e.type===x.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=Dr(e),s=this.encodeAsString(t.packet),i=t.buffers;return i.unshift(s),i}}function ks(n){return Object.prototype.toString.call(n)==="[object Object]"}class Xt extends W{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const s=t.type===x.BINARY_EVENT;s||t.type===x.BINARY_ACK?(t.type=s?x.EVENT:x.ACK,this.reconstructor=new Fr(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(Jt(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0;const s={type:Number(e.charAt(0))};if(x[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===x.BINARY_EVENT||s.type===x.BINARY_ACK){const c=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);const v=e.substring(c,t);if(v!=Number(v)||e.charAt(t)!=="-")throw new Error("Illegal attachments");s.attachments=Number(v)}if(e.charAt(t+1)==="/"){const c=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););s.nsp=e.substring(c,t)}else s.nsp="/";const i=e.charAt(t+1);if(i!==""&&Number(i)==i){const c=t+1;for(;++t;){const v=e.charAt(t);if(v==null||Number(v)!=v){--t;break}if(t===e.length)break}s.id=Number(e.substring(c,t+1))}if(e.charAt(++t)){const c=this.tryParse(e.substr(t));if(Xt.isPayloadValid(s.type,c))s.data=c;else throw new Error("invalid payload")}return s}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case x.CONNECT:return ks(t);case x.DISCONNECT:return t===void 0;case x.CONNECT_ERROR:return typeof t=="string"||ks(t);case x.EVENT:case x.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&Vr.indexOf(t[0])===-1);case x.ACK:case x.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Fr{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const t=qr(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Wr=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Xt,Encoder:Mr,get PacketType(){return x}},Symbol.toStringTag,{value:"Module"}));function ve(n,e,t){return n.on(e,t),function(){n.off(e,t)}}const Hr=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Ms extends W{constructor(e,t,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[ve(e,"open",this.onopen.bind(this)),ve(e,"packet",this.onpacket.bind(this)),ve(e,"error",this.onerror.bind(this)),ve(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var s,i,c;if(Hr.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const v={type:x.EVENT,data:t};if(v.options={},v.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){const f=this.ids++,I=t.pop();this._registerAckCallback(f,I),v.id=f}const y=(i=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||i===void 0?void 0:i.writable,w=this.connected&&!(!((c=this.io.engine)===null||c===void 0)&&c._hasPingExpired());return this.flags.volatile&&!y||(w?(this.notifyOutgoingListeners(v),this.packet(v)):this.sendBuffer.push(v)),this.flags={},this}_registerAckCallback(e,t){var s;const i=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(i===void 0){this.acks[e]=t;return}const c=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let y=0;y<this.sendBuffer.length;y++)this.sendBuffer[y].id===e&&this.sendBuffer.splice(y,1);t.call(this,new Error("operation has timed out"))},i),v=(...y)=>{this.io.clearTimeoutFn(c),t.apply(this,y)};v.withError=!0,this.acks[e]=v}emitWithAck(e,...t){return new Promise((s,i)=>{const c=(v,y)=>v?i(v):s(y);c.withError=!0,t.push(c),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((i,...c)=>s!==this._queue[0]?void 0:(i!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(i)):(this._queue.shift(),t&&t(null,...c)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:x.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(s=>String(s.id)===e)){const s=this.acks[e];delete this.acks[e],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case x.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case x.EVENT:case x.BINARY_EVENT:this.onevent(e);break;case x.ACK:case x.BINARY_ACK:this.onack(e);break;case x.DISCONNECT:this.ondisconnect();break;case x.CONNECT_ERROR:this.destroy();const s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){const t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const s of t)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let s=!1;return function(...i){s||(s=!0,t.packet({type:x.ACK,id:e,data:i}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:x.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const s of t)s.apply(this,e.data)}}}function We(n){n=n||{},this.ms=n.min||100,this.max=n.max||1e4,this.factor=n.factor||2,this.jitter=n.jitter>0&&n.jitter<=1?n.jitter:0,this.attempts=0}We.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*n);n=Math.floor(e*10)&1?n+t:n-t}return Math.min(n,this.max)|0};We.prototype.reset=function(){this.attempts=0};We.prototype.setMin=function(n){this.ms=n};We.prototype.setMax=function(n){this.max=n};We.prototype.setJitter=function(n){this.jitter=n};class Mt extends W{constructor(e,t){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,dt(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((s=t.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new We({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const i=t.parser||Wr;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Br(this.uri,this.opts);const t=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const i=ve(t,"open",function(){s.onopen(),e&&e()}),c=y=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",y),e?e(y):this.maybeReconnectOnOpen()},v=ve(t,"error",c);if(this._timeout!==!1){const y=this._timeout,w=this.setTimeoutFn(()=>{i(),c(new Error("timeout")),t.close()},y);this.opts.autoUnref&&w.unref(),this.subs.push(()=>{this.clearTimeoutFn(w)})}return this.subs.push(i),this.subs.push(v),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(ve(e,"ping",this.onping.bind(this)),ve(e,"data",this.ondata.bind(this)),ve(e,"error",this.onerror.bind(this)),ve(e,"close",this.onclose.bind(this)),ve(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){ut(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new Ms(this,e,t),this.nsps[e]=s),s}_destroy(e){const t=Object.keys(this.nsps);for(const s of t)if(this.nsps[s].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let s=0;s<t.length;s++)this.engine.write(t[s],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(i=>{i?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",i)):e.onreconnect()}))},t);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const je={};function ht(n,e){typeof n=="object"&&(e=n,n=void 0),e=e||{};const t=Or(n,e.path||"/socket.io"),s=t.source,i=t.id,c=t.path,v=je[i]&&c in je[i].nsps,y=e.forceNew||e["force new connection"]||e.multiplex===!1||v;let w;return y?w=new Mt(s,e):(je[i]||(je[i]=new Mt(s,e)),w=je[i]),t.query&&!e.query&&(e.query=t.queryKey),w.socket(t.path,e)}Object.assign(ht,{Manager:Mt,Socket:Ms,io:ht,connect:ht});const Kr="Run all tests?",Yr="Run all tests",jr="No tag or filter is set. This will run",zr="every test",Gr="in the suite, which may take a while.",Jr="View Report",Xr="Test Run",Qr="Clear test run",Zr="None",ei="No active test runs",ti="Workers",si="Browser",ni="Runners",ri="Notify",ii="No automated cases in this run",oi="Running",ai="Run",ci="Manual run",li="No tests currently running",hi="Live",ui=n=>`${n} automated`,di=n=>n?"Discord notification on":"Discord notification off",fi=n=>n?"Slack notification on":"Slack notification off",pi=n=>`${n} runners`,vi=n=>`${Ts(n)} run`,_i=n=>n?"Collapse panel":"Expand panel";function gi(n,e,t){return n.running?"Running":n.status==="pass"?"Passed":n.status==="fail"?"Failed":t?"Scheduled":e?"Running":"Ready"}function mi(n,e){var t;return n.selectedRunners.length===1&&n.selectedRunners[0]===Re?xs:n.selectedRunners.length===1?((t=e.find(s=>s.id===n.selectedRunners[0]))==null?void 0:t.name)??"1 node":`${n.selectedRunners.length} nodes`}var yi=E(' <strong class="svelte-h71cn6"></strong> ',1),bi=E('<span class="run-tag svelte-h71cn6"> </span>'),wi=E('<a class="view-report-btn svelte-h71cn6"> <svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svelte-h71cn6"><line x1="5" y1="12" x2="19" y2="12" class="svelte-h71cn6"></line><polyline points="12 5 19 12 12 19" class="svelte-h71cn6"></polyline></svg></a>'),Ei=E('<span class="run-chip-spinner svelte-h71cn6"></span>'),ki=E('<span class="run-chip-count svelte-h71cn6"> </span>'),Ri=E('<div class="run-chip svelte-h71cn6"><svg width="9" height="10" viewBox="0 0 10 12" fill="currentColor" stroke="none" style="opacity:0.6;flex-shrink:0" class="svelte-h71cn6"><polygon points="0,0 10,6 0,12" class="svelte-h71cn6"></polygon></svg> <span class="run-chip-title svelte-h71cn6"> </span> <!> <button class="run-chip-clear svelte-h71cn6"><svg width="9" height="9" viewBox="0 0 14 14" fill="none" class="svelte-h71cn6"><path d="M1 1l12 12M13 1L1 13" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" class="svelte-h71cn6"></path></svg></button></div>'),Si=E('<div class="input-wrap svelte-h71cn6"><svg class="input-icon svelte-h71cn6" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8" class="svelte-h71cn6"></circle><line x1="21" y1="21" x2="16.65" y2="16.65" class="svelte-h71cn6"></line></svg> <input type="text" class="tag-input svelte-h71cn6" placeholder="@tag or leave blank for all tests"></div>'),xi=E('<button class="dropdown-item svelte-h71cn6"><span style="color:var(--text-muted)" class="svelte-h71cn6">✕</span> </button> <div class="dropdown-divider svelte-h71cn6"></div>',1),Ai=E('<div class="dropdown-empty svelte-h71cn6"></div>'),Ti=E('<button class="dropdown-item svelte-h71cn6"> </button>'),Ni=E('<div class="dropdown-menu run-pick-menu svelte-h71cn6"><!> <!></div>'),Ci=E('<button class="dropdown-item svelte-h71cn6"> </button>'),Li=E('<div class="dropdown-menu svelte-h71cn6"></div>'),Bi=E('<label class="runner-option svelte-h71cn6"><input type="checkbox" class="svelte-h71cn6"> <span class="runner-dot built-in svelte-h71cn6"></span> <span class="svelte-h71cn6"></span></label>'),Oi=E('<label class="runner-option svelte-h71cn6"><input type="checkbox" class="svelte-h71cn6"> <span class="runner-dot remote svelte-h71cn6"></span> <span class="svelte-h71cn6"> </span></label>'),Ii=E('<div class="dropdown-menu runners-menu svelte-h71cn6"><!> <!></div>'),Ui=E('<div class="ctrl-divider svelte-h71cn6"></div> <div class="ctrl-group svelte-h71cn6"><span class="ctrl-label svelte-h71cn6"></span> <div class="dropdown-wrap svelte-h71cn6"><button class="dropdown-trigger svelte-h71cn6"><span class="svelte-h71cn6"> </span> <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" class="trigger-chevron svelte-h71cn6"><polyline points="6 9 12 15 18 9" class="svelte-h71cn6"></polyline></svg></button> <!></div></div>',1),Pi=E('<button type="button" class="notify-btn svelte-h71cn6"></button>'),$i=E('<button type="button" class="notify-btn svelte-h71cn6"></button>'),Di=E('<div class="ctrl-divider svelte-h71cn6"></div> <div class="ctrl-group svelte-h71cn6"><span class="ctrl-label svelte-h71cn6"></span> <div class="notify-toggles svelte-h71cn6"><!> <!></div></div>',1),qi=E('<span class="run-spinner svelte-h71cn6"></span> ',1),Vi=_n('<svg width="9" height="10" viewBox="0 0 10 12" fill="currentColor" stroke="none" class="svelte-h71cn6"><polygon points="0,0 10,6 0,12" class="svelte-h71cn6"></polygon></svg> ',1),Mi=E('<span class="meta-dot svelte-h71cn6">·</span> ',1),Fi=E('<span class="run-card-meta svelte-h71cn6"> <span class="meta-dot svelte-h71cn6">·</span> <span class="meta-dot svelte-h71cn6">·</span> <!></span>'),Wi=E('<a href="/reports/live" class="run-card active-run svelte-h71cn6"><span class="run-card-dot pulse-accent svelte-h71cn6"></span> <div class="run-card-info svelte-h71cn6"><span class="run-card-label svelte-h71cn6"> </span> <!></div> <!> <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" class="run-card-arrow svelte-h71cn6"><line x1="5" y1="12" x2="19" y2="12" class="svelte-h71cn6"></line><polyline points="12 5 19 12 12 19" class="svelte-h71cn6"></polyline></svg></a>'),Hi=E('<a class="run-card cron-run svelte-h71cn6"><span class="run-card-dot pulse-pass svelte-h71cn6"></span> <div class="run-card-info svelte-h71cn6"><span class="run-card-label svelte-h71cn6"> </span> <span class="run-card-meta svelte-h71cn6"> </span></div> <!> <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" class="run-card-arrow svelte-h71cn6"><line x1="5" y1="12" x2="19" y2="12" class="svelte-h71cn6"></line><polyline points="12 5 19 12 12 19" class="svelte-h71cn6"></polyline></svg></a>'),Ki=E('<div class="empty-runs svelte-h71cn6"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="empty-icon svelte-h71cn6"><circle cx="12" cy="12" r="10" class="svelte-h71cn6"></circle><line x1="10" y1="15" x2="10" y2="12" class="svelte-h71cn6"></line><line x1="10" y1="9" x2="10.01" y2="9" class="svelte-h71cn6"></line></svg> </div>'),Yi=E('<div class="body svelte-h71cn6"><!> <!> <!></div>'),ji=E('<!> <div class="panel svelte-h71cn6"><div class="scan-line svelte-h71cn6"></div> <div class="bar svelte-h71cn6"><div class="bar-left svelte-h71cn6"><div class="bar-status svelte-h71cn6"><span class="status-dot svelte-h71cn6"></span> <span class="status-word svelte-h71cn6"> </span> <!></div> <!></div> <span class="flex-gap svelte-h71cn6"></span> <div class="bar-center svelte-h71cn6"><!> <div class="ctrl-group svelte-h71cn6"><span class="ctrl-label svelte-h71cn6"></span> <div class="dropdown-wrap svelte-h71cn6"><button class="dropdown-trigger svelte-h71cn6"><span class="svelte-h71cn6"> </span> <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" class="trigger-chevron svelte-h71cn6"><polyline points="6 9 12 15 18 9" class="svelte-h71cn6"></polyline></svg></button> <!></div></div> <div class="ctrl-divider svelte-h71cn6"></div> <div class="ctrl-group svelte-h71cn6"><span class="ctrl-label svelte-h71cn6"></span> <div class="stepper svelte-h71cn6"><button class="step-btn svelte-h71cn6">−</button> <span class="step-val svelte-h71cn6"> </span> <button class="step-btn svelte-h71cn6">+</button></div></div> <div class="ctrl-divider svelte-h71cn6"></div> <div class="ctrl-group svelte-h71cn6"><span class="ctrl-label svelte-h71cn6"></span> <div class="dropdown-wrap svelte-h71cn6"><button class="dropdown-trigger svelte-h71cn6"><span class="svelte-h71cn6"> </span> <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" class="trigger-chevron svelte-h71cn6"><polyline points="6 9 12 15 18 9" class="svelte-h71cn6"></polyline></svg></button> <!></div></div> <!> <!> <div class="ctrl-divider svelte-h71cn6"></div> <button class="run-btn svelte-h71cn6"><!></button></div> <span class="flex-gap-sm svelte-h71cn6"></span> <button class="expand-btn svelte-h71cn6"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svelte-h71cn6"><polyline points="18 15 12 9 6 15" class="svelte-h71cn6"></polyline></svg></button></div> <!></div>',1);function zi(n,e){Wt(e,!1);const[t,s]=Yt(),i=()=>be(Te,"$runnerState",t),c=()=>be(ke,"$runnerConfig",t),v=()=>be(nt,"$backgroundRuns",t),y=()=>be(Bn,"$runsVersion",t),w=()=>be(Ye,"$panelExpanded",t),K=()=>be(Nt,"$builtInEnabled",t),f=U(),I=U(),q=U(),z=U(),ee=U(),Se=U(),Pe=U(),ne=U(),_e=U(),ge=U(),de=U();let ce=U([]),xe=U([]),L=U(null),fe=U(!1),pe=U(!1),V=U(!1),B=U(!1),J=U(!1),re=U({discordWebhookUrl:"",slackWebhookUrl:"",notifyPublicUrl:""}),ie=U(!1),M=U(!1);function H(a){function u(o){a.contains(o.target)||a.dispatchEvent(new CustomEvent("clickoutside"))}return document.addEventListener("click",u,!0),{destroy(){document.removeEventListener("click",u,!0)}}}let G,Ae,me,$e;Ht(()=>{try{const o=localStorage.getItem("plum:runnerConfig");o&&ke.update(h=>({...h,...JSON.parse(o)}))}catch{}try{const o=localStorage.getItem("plum:panelExpanded");o!==null&&Ye.set(o==="true")}catch{}try{const o=localStorage.getItem("plum:builtInEnabled");o!==null&&Nt.set(o!=="false")}catch{}Tn().then(o=>{k(ce,o);const h=new Set([Re,...o.map(l=>l.id)]);ke.update(l=>{const p=l.selectedRunners.filter(b=>h.has(b));return{...l,selectedRunners:p.length>0?p:[Re]}})}).catch(()=>{}),Nn().then(o=>k(re,o)).catch(()=>{}),G=ke.subscribe(o=>{try{localStorage.setItem("plum:runnerConfig",JSON.stringify(o))}catch{}}),Ae=Ye.subscribe(o=>{try{localStorage.setItem("plum:panelExpanded",String(o))}catch{}}),me=Nt.subscribe(o=>{try{localStorage.setItem("plum:builtInEnabled",String(o))}catch{}ke.update(h=>{if(!o&&h.selectedRunners.includes(Re)){const l=h.selectedRunners.filter(b=>b!==Re),p=l.length>0?l:r(ce)[0]?[r(ce)[0].id]:[];return{...h,selectedRunners:p}}return h})});const a=ht(bn,{transports:["websocket"]});$e=a,Cn.set(a),a.on(Y.LOG,o=>{Te.update(h=>({...h,output:h.output+o+`
24
+ `}))}),a.on(Y.DONE,o=>{const h=typeof o=="object"&&o!==null?o.code:o,l=typeof o=="object"&&o!==null?o.reportId:void 0,p=h===0||h===null,b=h===130;(l!=null?Promise.resolve(l):On().catch(()=>null)).then(S=>{Te.update(A=>({...A,output:A.output+(b?"":p?`
25
+ ✓ All tests passed
26
+ `:`
27
+ ✗ Some tests failed
28
+ `),running:!1,testCompleted:!b,latestReportId:b?null:S,status:b?"idle":p?"pass":"fail",currentRun:b?null:A.currentRun}))})}),a.on(Y.RUNNER_LANES_INIT,o=>{Te.update(h=>({...h,lanes:o.map(l=>({...l,status:"running",logs:"",latestScreenshot:null}))}))}),a.on(Y.RUNNER_LANE_LOG,({id:o,log:h})=>{Te.update(l=>({...l,lanes:l.lanes.map(p=>p.id===o?{...p,logs:p.logs+h}:p)}))}),a.on(Y.RUNNER_LANE_STATUS,({id:o,status:h})=>{Te.update(l=>({...l,lanes:l.lanes.map(p=>p.id===o?{...p,status:h}:p)}))}),a.on(Y.STEP_SCREENSHOT,({stepName:o,data:h})=>{Te.update(l=>({...l,latestScreenshot:{stepName:o,data:h}}))}),a.on(Y.RUNNER_LANE_SCREENSHOT,({id:o,stepName:h,data:l})=>{Te.update(p=>({...p,lanes:p.lanes.map(b=>b.id===o?{...b,latestScreenshot:{stepName:h,data:l}}:b)}))}),a.on(Y.TESTS_CHANGED,()=>Ln.update(o=>o+1)),a.on(Y.REPORT_READY,()=>gs.update(o=>o+1));function u(o,h){nt.update(l=>l[o]?{...l,[o]:h(l[o])}:l)}a.on(Y.BG_RUN_START,({runId:o,kind:h,label:l,meta:p})=>{nt.update(b=>({...b,[o]:{kind:h,label:l,output:"",running:!0,testCompleted:!1,latestReportId:null,status:"running",lanes:[],currentRun:{tag:p==null?void 0:p.tag,workers:p==null?void 0:p.workers,browser:p==null?void 0:p.browser,runTitle:l},latestScreenshot:null}})),Ye.set(!0)}),a.on(Y.BG_RUN_LOG,({runId:o,log:h})=>{u(o,l=>({...l,output:l.output+h}))}),a.on(Y.BG_RUN_LANES_INIT,({runId:o,lanes:h})=>{u(o,l=>({...l,lanes:h.map(p=>({...p,status:"running",logs:"",latestScreenshot:null}))}))}),a.on(Y.BG_RUN_LANE_LOG,({runId:o,laneId:h,log:l})=>{u(o,p=>({...p,lanes:p.lanes.map(b=>b.id===h?{...b,logs:b.logs+l}:b)}))}),a.on(Y.BG_RUN_LANE_STATUS,({runId:o,laneId:h,status:l})=>{u(o,p=>({...p,lanes:p.lanes.map(b=>b.id===h?{...b,status:l}:b)}))}),a.on(Y.BG_RUN_SCREENSHOT,({runId:o,stepName:h,data:l})=>{u(o,p=>({...p,latestScreenshot:{stepName:h,data:l}}))}),a.on(Y.BG_RUN_LANE_SCREENSHOT,({runId:o,laneId:h,stepName:l,data:p})=>{u(o,b=>({...b,lanes:b.lanes.map(R=>R.id===h?{...R,latestScreenshot:{stepName:l,data:p}}:R)}))}),a.on(Y.BG_RUN_DONE,({runId:o,code:h,reportId:l})=>{const p=h===0||h===null;u(o,b=>({...b,running:!1,testCompleted:!0,latestReportId:l,status:p?"pass":"fail"})),gs.update(b=>b+1),setTimeout(()=>{nt.update(b=>{const R={...b};return delete R[o],R})},wn+5e3)})}),mn(()=>{G==null||G(),Ae==null||Ae(),me==null||me(),$e==null||$e.disconnect()});async function Ce(a){k(B,!1),k(L,{id:a.id,title:a.title,tags:null}),k(fe,!0);try{const o=(await Pn(a.id)).entries.filter(h=>{var l;return(l=h.case)==null?void 0:l.isAutomated}).map(h=>`@${h.case.displayId}`);k(L,{id:a.id,title:a.title,tags:o})}catch{k(L,null)}finally{k(fe,!1)}}function Je(){k(L,null)}function Qt(){const a={notifyDiscord:r(ie),notifySlack:r(M)};if(r(L)){if(r(fe)||!r(L).tags||r(L).tags.length===0)return;Ct(r(L).tags.join(" or "),r(L).id,a,r(L).title)}else c().testID.trim()===""?k(J,!0):Ct(void 0,void 0,a)}function Fs(a){a.key==="Enter"&&!r(f).running&&!r(L)&&Qt()}function Zt(a){ke.update(u=>({...u,workers:Math.max(ps,Math.min(vs,u.workers+a))}))}function es(a){ke.update(u=>{const o=u.selectedRunners;if(o.includes(a)&&o.length===1)return u;const h=o.includes(a)?o.filter(l=>l!==a):[...o,a];return{...u,selectedRunners:h}})}function ft(a){return c().selectedRunners.includes(a)}he(()=>i(),()=>{k(f,i())}),he(()=>c(),()=>{k(I,c())}),he(()=>(r(f),st),()=>{k(q,(()=>{var u;if(!((u=r(f).currentRun)!=null&&u.tag))return En;const a=r(f).currentRun.tag.split(/ or /i);return a.length<=st?r(f).currentRun.tag:a.slice(0,st).join(" or ")+` +${a.length-st} more`})())}),he(()=>v(),()=>{k(z,Object.entries(v()).filter(([,a])=>a.running))}),he(()=>r(z),()=>{k(ee,r(z).length>0)}),he(()=>r(z),()=>{k(Se,r(z).some(([,a])=>a.kind==="cron"))}),he(()=>(r(f),r(ee)),()=>{k(Pe,r(f).running||r(ee))}),he(()=>(y(),fs),()=>{y()>=0&&Un({limit:fs}).then(a=>k(xe,a.runs)).catch(()=>{})}),he(()=>(r(f),r(ee)),()=>{k(ne,r(f).status==="pass"?"var(--pass)":r(f).status==="fail"?"var(--fail)":r(f).running?"var(--accent)":r(ee)?"var(--pass)":"var(--border)")}),he(()=>(r(f),r(ee),r(Se)),()=>{k(_e,gi(r(f),r(ee),r(Se)))}),he(()=>r(I),()=>{k(ge,At.find(a=>a.id===r(I).browser)??At[0])}),he(()=>(r(I),r(ce)),()=>{k(de,mi(r(I),r(ce)))}),yn(),Ft();var ts=ji(),ss=j(ts);Dn(ss,{title:Kr,confirmLabel:Yr,get open(){return r(J)},set open(a){k(J,a)},$$events:{confirm:()=>{k(J,!1),Ct(void 0,void 0,{notifyDiscord:r(ie),notifySlack:r(M)})}},children:(a,u)=>{Ie();var o=yi(),h=j(o);h.nodeValue=`${jr} `;var l=d(h);l.textContent=zr;var p=d(l);p.nodeValue=` ${Gr}`,m(a,o)},$$slots:{default:!0},$$legacy:!0});var pt=d(ss,2),Xe=g(pt),vt=d(Xe,2),_t=g(vt),gt=g(_t),mt=g(gt),Qe=d(mt,2),Ws=g(Qe,!0);_(Qe);var Hs=d(Qe,2);{var Ks=a=>{var u=bi(),o=g(u,!0);_(u),P(()=>{var h;return D(o,((h=r(f).currentRun)==null?void 0:h.runTitle)||r(f).lastRunId)}),m(a,u)};N(Hs,a=>{var u;(r(f).lastRunId||(u=r(f).currentRun)!=null&&u.runTitle)&&a(Ks)})}_(gt);var Ys=d(gt,2);{var js=a=>{var u=wi(),o=g(u);o.nodeValue=`${Jr} `,Ie(),_(u),P(h=>se(u,"href",h),[()=>In(r(f).latestReportId)],te),Ue(3,u,()=>Ke,()=>({x:-6,duration:200})),m(a,u)};N(Ys,a=>{r(f).testCompleted&&r(f).latestReportId&&a(js)})}_(_t);var yt=d(_t,4),ns=g(yt);{var zs=a=>{var u=Ri(),o=d(g(u),2),h=g(o,!0);_(o);var l=d(o,2);{var p=S=>{var A=Ei();m(S,A)},b=S=>{var A=Me(),T=j(A);{var O=F=>{var X=ki(),ye=g(X,!0);_(X),P(Q=>{C(X,"none",r(L).tags.length===0),D(ye,Q)},[()=>ui(r(L).tags.length)],te),m(F,X)};N(T,F=>{r(L).tags!==null&&F(O)},!0)}m(S,A)};N(l,S=>{r(fe)?S(p):S(b,!1)})}var R=d(l,2);se(R,"aria-label",Qr),_(u),P(()=>{C(u,"loading",r(fe)),D(h,r(L).title)}),$("click",R,Je),m(a,u)},Gs=a=>{var u=Si(),o=d(g(u),2);Tt(o),_(u),P(()=>{kn(o,c().testID),o.disabled=r(f).running}),$("input",o,h=>ke.update(l=>({...l,testID:h.currentTarget.value}))),$("keydown",o,Fs),m(a,u)};N(ns,a=>{r(L)?a(zs):a(Gs,!1)})}var bt=d(ns,2),rs=g(bt);rs.textContent=Xr;var Ze=d(rs,2),Le=g(Ze),wt=g(Le),Js=g(wt,!0);_(wt);var Xs=d(wt,2);_(Le);var Qs=d(Le,2);{var Zs=a=>{var u=Ni(),o=g(u);{var h=R=>{var S=xi(),A=j(S),T=d(g(A));T.nodeValue=` ${Rn}`,_(A),Ie(2),$("click",A,Je),m(R,S)};N(o,R=>{r(L)&&R(h)})}var l=d(o,2);{var p=R=>{var S=Ai();S.textContent=ei,m(R,S)},b=R=>{var S=Me(),A=j(S);Fe(A,1,()=>r(xe).filter(T=>T.status!=="complete"),Ge,(T,O)=>{var F=Ti(),X=g(F,!0);_(F),P(()=>{var ye;C(F,"active",((ye=r(L))==null?void 0:ye.id)===r(O).id),D(X,r(O).title)}),$("click",F,()=>Ce(r(O))),m(T,F)}),m(R,S)};N(l,R=>{r(xe).filter(S=>S.status!=="complete").length===0?R(p):R(b,!1)})}_(u),Ue(3,u,()=>Ke,()=>({y:6,duration:130})),m(a,u)};N(Qs,a=>{r(B)&&a(Zs)})}_(Ze),Lt(Ze,a=>H==null?void 0:H(a)),ot(()=>$("clickoutside",Ze,()=>k(B,!1))),_(bt);var Et=d(bt,4),is=g(Et);is.textContent=ti;var os=d(is,2),kt=g(os),Rt=d(kt,2),en=g(Rt,!0);_(Rt);var as=d(Rt,2);_(os),_(Et);var St=d(Et,4),cs=g(St);cs.textContent=si;var et=d(cs,2),De=g(et),xt=g(De),tn=g(xt,!0);_(xt);var sn=d(xt,2);_(De);var nn=d(De,2);{var rn=a=>{var u=Li();Fe(u,5,()=>At,Ge,(o,h)=>{var l=Ci(),p=g(l,!0);_(l),P(()=>{C(l,"active",r(I).browser===r(h).id),D(p,r(h).label)}),$("click",l,()=>{ke.update(b=>({...b,browser:r(h).id})),k(pe,!1)}),m(o,l)}),_(u),Ue(3,u,()=>Ke,()=>({y:6,duration:130})),m(a,u)};N(nn,a=>{r(pe)&&a(rn)})}_(et),Lt(et,a=>H==null?void 0:H(a)),ot(()=>$("clickoutside",et,()=>k(pe,!1))),_(St);var ls=d(St,2);{var on=a=>{var u=Ui(),o=d(j(u),2),h=g(o);h.textContent=ni;var l=d(h,2),p=g(l),b=g(p),R=g(b,!0);_(b);var S=d(b,2);_(p);var A=d(p,2);{var T=O=>{var F=Ii(),X=g(F);{var ye=le=>{var Z=Bi(),oe=g(Z);Tt(oe);var ae=d(oe,4);ae.textContent=xs,_(Z),P(Be=>_s(oe,Be),[()=>ft(Re)],te),$("change",oe,()=>es(Re)),m(le,Z)};N(X,le=>{(K()||ft(Re))&&le(ye)})}var Q=d(X,2);Fe(Q,1,()=>r(ce),Ge,(le,Z)=>{var oe=Oi(),ae=g(oe);Tt(ae);var Be=d(ae,4),Ve=g(Be,!0);_(Be),_(oe),P(Oe=>{_s(ae,Oe),D(Ve,r(Z).name)},[()=>ft(r(Z).id)],te),$("change",ae,()=>es(r(Z).id)),m(le,oe)}),_(F),Ue(3,F,()=>Ke,()=>({y:6,duration:130})),m(O,F)};N(A,O=>{r(V)&&O(T)})}_(l),Lt(l,O=>H==null?void 0:H(O)),ot(()=>$("clickoutside",l,()=>k(V,!1))),_(o),P(O=>{p.disabled=r(f).running,C(p,"open",r(V)),C(p,"has-remote",O),D(R,r(de)),C(S,"open",r(V))},[()=>r(I).selectedRunners.some(O=>O!==Re)],te),$("click",p,()=>{r(f).running||k(V,!r(V))}),m(a,u)};N(ls,a=>{r(ce).length>0&&a(on)})}var hs=d(ls,2);{var an=a=>{var u=Di(),o=d(j(u),2),h=g(o);h.textContent=ri;var l=d(h,2),p=g(l);{var b=A=>{var T=Pi();T.textContent=Sn,P(O=>{se(T,"title",O),T.disabled=r(f).running,C(T,"active",r(ie))},[()=>di(r(ie))],te),$("click",T,()=>k(ie,!r(ie))),m(A,T)};N(p,A=>{r(re).discordWebhookUrl&&A(b)})}var R=d(p,2);{var S=A=>{var T=$i();T.textContent=xn,P(O=>{se(T,"title",O),T.disabled=r(f).running,C(T,"active",r(M))},[()=>fi(r(M))],te),$("click",T,()=>k(M,!r(M))),m(A,T)};N(R,A=>{r(re).slackWebhookUrl&&A(S)})}_(l),_(o),m(a,u)};N(hs,a=>{(r(re).discordWebhookUrl||r(re).slackWebhookUrl)&&a(an)})}var qe=d(hs,4),cn=g(qe);{var ln=a=>{var u=qi(),o=d(j(u));o.nodeValue=` ${oi}`,m(a,u)},hn=a=>{var u=Vi(),o=d(j(u),1,!0);o.nodeValue=ai,m(a,u)};N(cn,a=>{r(f).running?a(ln):a(hn,!1)})}_(qe),_(yt);var tt=d(yt,4),un=g(tt);_(tt),_(vt);var dn=d(vt,2);{var fn=a=>{var u=Yi(),o=g(u);{var h=R=>{var S=Wi(),A=d(g(S),2),T=g(A),O=g(T,!0);_(T);var F=d(T,2);{var X=Q=>{var le=Fi(),Z=g(le),oe=d(Z,2),ae=d(oe,2),Be=d(ae);{var Ve=Oe=>{var He=Mi(),pn=d(j(He));P(vn=>D(pn,` ${vn??""}`),[()=>pi(r(f).currentRun.runners.length)],te),m(Oe,He)};N(Be,Oe=>{var He;((He=r(f).currentRun.runners)==null?void 0:He.length)>1&&Oe(Ve)})}_(le),P(()=>{D(Z,`${r(q)??""} `),D(oe,` ${r(f).currentRun.workers??""}w `),D(ae,` ${r(f).currentRun.browser??""} `)}),m(Q,le)};N(F,Q=>{r(f).currentRun&&Q(X)})}_(A);var ye=d(A,2);ms(ye,{variant:"tag",children:(Q,le)=>{Ie();var Z=us();Z.nodeValue=hi,m(Q,Z)},$$slots:{default:!0}}),Ie(2),_(S),P(()=>{var Q;return D(O,((Q=r(f).currentRun)==null?void 0:Q.runTitle)||ci)}),m(R,S)};N(o,R=>{r(f).running&&R(h)})}var l=d(o,2);Fe(l,1,()=>r(z),([R,S])=>R,(R,S)=>{let A=()=>r(S)[0],T=()=>r(S)[1];var O=Hi(),F=d(g(O),2),X=g(F),ye=g(X,!0);_(X);var Q=d(X,2),le=g(Q,!0);_(Q),_(F);var Z=d(F,2);const oe=te(()=>$n(T().kind));ms(Z,{get variant(){return r(oe)},children:(ae,Be)=>{Ie();var Ve=us();P(Oe=>D(Ve,Oe),[()=>Ts(T().kind)],te),m(ae,Ve)},$$slots:{default:!0}}),Ie(2),_(O),P(ae=>{se(O,"href",`/reports/live?run=${A()??""}`),D(ye,T().label),D(le,ae)},[()=>vi(T().kind)],te),Ue(3,O,()=>Ke,()=>({x:-4,duration:160})),m(R,O)});var p=d(l,2);{var b=R=>{var S=Ki(),A=d(g(S));A.nodeValue=` ${li}`,_(S),m(R,S)};N(p,R=>{r(Pe)||R(b)})}_(u),Ue(3,u,()=>Rs,()=>({duration:200})),m(a,u)};N(dn,a=>{w()&&a(fn)})}_(pt),P(a=>{var u,o;C(pt,"expanded",w()),C(Xe,"scanning",r(f).running),C(Xe,"line-pass",r(f).status==="pass"&&!r(f).running),C(Xe,"line-fail",r(f).status==="fail"&&!r(f).running),se(mt,"style",`background:${r(ne)??""}`),C(mt,"pulse",r(f).running),se(Qe,"style",`color:${r(ne)??""}`),D(Ws,r(_e)),Le.disabled=r(f).running,C(Le,"open",r(B)),C(Le,"has-remote",!!r(L)),D(Js,r(L)?r(L).title:Zr),C(Xs,"open",r(B)),kt.disabled=r(I).workers<=ps||r(f).running,D(en,r(I).workers),as.disabled=r(I).workers>=vs||r(f).running,De.disabled=r(f).running,C(De,"open",r(pe)),D(tn,r(ge).label),C(sn,"open",r(pe)),qe.disabled=r(f).running||r(fe)||r(L)&&((u=r(L).tags)==null?void 0:u.length)===0,se(qe,"title",r(L)&&((o=r(L).tags)==null?void 0:o.length)===0?ii:void 0),C(qe,"is-running",r(f).running),se(tt,"aria-label",a),C(un,"flipped",w())},[()=>_i(w())],te),$("click",Le,()=>{r(f).running||k(B,!r(B))}),$("click",kt,()=>Zt(-1)),$("click",as,()=>Zt(1)),$("click",De,()=>{r(f).running||k(pe,!r(pe))}),$("click",qe,Qt),$("click",tt,()=>Ye.update(a=>!a)),m(n,ts),Kt(),s()}var Gi=E("<!> <!> <!>",1),Ji=E('<div class="boot-loading svelte-3qbr79">Loading…</div>');function go(n,e){Wt(e,!1);const[t,s]=Yt(),i=()=>be(Ss,"$page",t),c=()=>be(As,"$auth",t),v=["/login","/setup"];let y=U(!1);Ht(async()=>{const q=i().url.pathname;if(v.includes(q)){k(y,!0);return}if(c().token){k(y,!0);return}try{const ee=await qn();await ds(ee?"/setup":"/login")}catch{await ds("/login")}finally{k(y,!0)}}),Ft();var w=Me(),K=j(w);{var f=q=>{var z=Me(),ee=j(z);{var Se=ne=>{var _e=Me(),ge=j(_e);Ut(ge,e,"default",{},null),m(ne,_e)},Pe=ne=>{var _e=Gi(),ge=j(_e);Jn(ge,{});var de=d(ge,2);Qn(de,{children:(xe,L)=>{var fe=Me(),pe=j(fe);Ut(pe,e,"default",{},null),m(xe,fe)},$$slots:{default:!0}});var ce=d(de,2);zi(ce,{}),m(ne,_e)};N(ee,ne=>{i().url.pathname==="/login"||i().url.pathname==="/setup"?ne(Se):ne(Pe,!1)})}m(q,z)},I=q=>{var z=Ji();m(q,z)};N(K,q=>{r(y)?q(f):q(I,!1)})}m(n,w),Kt(),s()}export{go as component,vo as universal};
@@ -15,4 +15,9 @@
15
15
  * along with Plum. If not, see https://www.gnu.org/licenses/.
16
16
  */
17
17
 
18
- import{a as g,t as h,s}from"../chunks/ll-VsEGv.js";import{i as d}from"../chunks/DGryW1Vp.js";import{p as l,f as v,t as x,d as _,k as o,n as p,j as k}from"../chunks/C67QNx7Z.js";import{s as $,p as i}from"../chunks/KJdjlibc.js";const b={get error(){return i.error},get status(){return i.status}};$.updated.check;const m=b;var j=h("<h1> </h1> <p> </p>",1);function z(n,c){l(c,!1),d();var r=j(),t=v(r),f=o(t,!0);p(t);var e=k(t,2),u=o(e,!0);p(e),x(()=>{var a;s(f,m.status),s(u,(a=m.error)==null?void 0:a.message)}),g(n,r),_()}export{z as component};
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{a as g,t as h,s}from"../chunks/CMBQQ9RZ.js";import{i as d}from"../chunks/CKDtmZUQ.js";import{p as l,f as v,t as x,c as _,d as o,k as p,j as k}from"../chunks/BAACMRH5.js";import{s as $,p as i}from"../chunks/DtGXv8RA.js";const b={get error(){return i.error},get status(){return i.status}};$.updated.check;const m=b;var j=h("<h1> </h1> <p> </p>",1);function z(c,n){l(n,!1),d();var r=j(),t=v(r),f=o(t,!0);p(t);var e=k(t,2),u=o(e,!0);p(e),x(()=>{var a;s(f,m.status),s(u,(a=m.error)==null?void 0:a.message)}),g(c,r),_()}export{z as component};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{h as ya,e as oe,a as l,t as c,c as ce,s as o,r as ba,b as Re}from"../chunks/CMBQQ9RZ.js";import{i as La}from"../chunks/CKDtmZUQ.js";import{p as Ta,m as f,o as $a,s as i,l as Fe,b as Aa,f as W,t as S,g as e,c as wa,d as s,j as r,$ as Sa,k as a,n as Le,v as Ia,x as ve,y as De}from"../chunks/BAACMRH5.js";import{i as y}from"../chunks/CgnwuKKO.js";import{e as xe,i as ut,t as Ke,a as pt,f as gt,s as je}from"../chunks/TOCyHP97.js";import{s as R,b as Ca,r as ht,C as Ut,c as ka,S as Ht,L as Vt,a as Xe}from"../chunks/4N1zIH8t.js";import{b as Ze}from"../chunks/t-La0hgu.js";import{T as Ra,B as Me,b as Da}from"../chunks/DlNYZJ7K.js";import{f as Ma,a as Ba,s as Ft,d as Oa,b as Na,c as Pa,e as Ua,g as Ha}from"../chunks/DkNBSlo2.js";import{r as jt}from"../chunks/DW85KPAh.js";import{P as Gt}from"../chunks/w0D4Uzlq.js";import{E as xt}from"../chunks/C1sukchk.js";import{C as Yt}from"../chunks/3IV-uqHa.js";import{M as Wt}from"../chunks/BjUpWNbl.js";import{H as Va,a as Fa,S as ja,R as Ga,F as Ya,P as Wa,D as qt,b as qa,c as Ja,N as Qa,d as za,e as Ka,f as Xa,g as Za,h as es,i as ts,j as as,T as ss,k as rs,l as is,m as ls,s as ns,n as os,r as vs,o as ds,p as cs,q as _s,t as us,u as ps,v as gs,w as hs,x as xs,y as fs,z as ms,A as Es,B as ys,C as bs,E as Jt,G as et,I as tt,J as Ls,K as Ts,L as Qt,M as zt,O as $s,Q as As,U as ws,V as Ss}from"../chunks/BhvHtTRh.js";var Is=c("Delete <strong> </strong>? This cannot be undone.",1),Cs=c(" <strong> </strong> ",1),ks=c("<option> </option>"),Rs=c('<p class="form-error svelte-9ix8dg"> </p>'),Ds=c('<div class="form-fields svelte-9ix8dg"><div class="field"><label class="field-label" for="suite-name"></label> <input id="suite-name" type="text" class="field-input"></div> <div class="field"><label class="field-label" for="suite-desc"></label> <textarea id="suite-desc" class="field-input field-textarea svelte-9ix8dg" rows="3"></textarea></div> <div class="field"><label class="field-label" for="suite-prio"></label> <select id="suite-prio" class="field-input"></select></div> <!> <div class="modal-actions svelte-9ix8dg"><!> <!></div></div>'),Ms=c('<p class="form-error svelte-9ix8dg"> </p>'),Bs=c('<div class="form-fields svelte-9ix8dg"><div class="field"><label class="field-label" for="run-title"></label> <input id="run-title" type="text" class="field-input"></div> <!> <div class="modal-actions svelte-9ix8dg"><!> <!></div></div>'),Os=c('<button class="search-clear svelte-9ix8dg"><svg width="12" height="12" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><path d="M1 1l12 12M13 1L1 13"></path></svg></button>'),Ns=c('<span class="sort-dir svelte-9ix8dg"> </span>'),Ps=c('<button class="sort-chip svelte-9ix8dg"> <!></button>'),Us=c('<span class="sort-dir svelte-9ix8dg"> </span>'),Hs=c('<button class="sort-chip svelte-9ix8dg"> <!></button>'),Vs=c('<div class="sort-bar svelte-9ix8dg"><span class="sort-label svelte-9ix8dg"></span> <!></div>'),Fs=c('<div class="loading-row svelte-9ix8dg"></div>'),js=c('<div class="loading-row svelte-9ix8dg"></div>'),Gs=c('<span class="auto-badge svelte-9ix8dg"></span>'),Ys=c('<a class="case-result-row svelte-9ix8dg"><span class="id-chip small svelte-9ix8dg"> </span> <span class="case-result-title svelte-9ix8dg"> </span> <!> <span> </span> <span class="case-result-suite svelte-9ix8dg"> </span></a>'),Ws=c('<div class="search-section svelte-9ix8dg"><h2 class="search-section-title svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></h2> <div class="case-results svelte-9ix8dg"></div></div>'),qs=c('<p class="suite-desc svelte-9ix8dg"> </p>'),Js=c('<div class="suite-card svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="suite-card-header svelte-9ix8dg"><span class="id-chip svelte-9ix8dg"> </span> <span> </span> <div class="suite-card-actions svelte-9ix8dg"><button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div> <h3 class="suite-name svelte-9ix8dg"> </h3> <!> <div class="suite-meta svelte-9ix8dg"><span class="meta-item svelte-9ix8dg"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2"></path></svg> </span> <span class="meta-item svelte-9ix8dg"> </span></div></div>'),Qs=c('<div class="search-section svelte-9ix8dg"><h2 class="search-section-title svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></h2> <div class="suite-grid svelte-9ix8dg"></div></div>'),zs=c('<div class="run-row svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="run-row-main svelte-9ix8dg"><span></span> <span class="run-title svelte-9ix8dg"> </span> <span class="run-count svelte-9ix8dg"> </span></div> <div class="run-meta svelte-9ix8dg"><span class="run-status-label svelte-9ix8dg"> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span></div> <div class="run-row-actions svelte-9ix8dg"><button class="icon-btn svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></button> <button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div>'),Ks=c('<div class="search-section svelte-9ix8dg"><h2 class="search-section-title svelte-9ix8dg">Runs <span class="tab-count svelte-9ix8dg"> </span></h2> <div class="runs-list svelte-9ix8dg"></div></div>'),Xs=c("<!> <!> <!>",1),Zs=c("<div><!></div>"),er=c('<div class="loading-row svelte-9ix8dg"></div>'),tr=c('<p class="suite-desc svelte-9ix8dg"> </p>'),ar=c('<div class="suite-card svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="suite-card-header svelte-9ix8dg"><span class="id-chip svelte-9ix8dg"> </span> <span> </span> <div class="suite-card-actions svelte-9ix8dg"><button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div> <h3 class="suite-name svelte-9ix8dg"> </h3> <!> <div class="suite-meta svelte-9ix8dg"><span class="meta-item svelte-9ix8dg"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2"></path></svg> </span> <span class="meta-item svelte-9ix8dg"> </span></div></div>'),sr=c('<div class="pagination-row svelte-9ix8dg"><!></div>'),rr=c('<div class="suite-grid svelte-9ix8dg"></div> <!>',1),ir=c("<div><!></div>"),lr=c('<div class="loading-row svelte-9ix8dg"></div>'),nr=c('<div class="run-row svelte-9ix8dg"><a class="card-link svelte-9ix8dg"></a> <div class="run-row-main svelte-9ix8dg"><span></span> <span class="run-title svelte-9ix8dg"> </span> <span class="run-count svelte-9ix8dg"> </span></div> <div class="run-meta svelte-9ix8dg"><span class="run-status-label svelte-9ix8dg"> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span> <span class="meta-sep svelte-9ix8dg">·</span> <span> </span></div> <div class="run-row-actions svelte-9ix8dg"><button class="icon-btn svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></button> <button class="icon-btn danger svelte-9ix8dg"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><path d="M10 11v6M14 11v6"></path><path d="M9 6V4h6v2"></path></svg></button></div></div>'),or=c('<div class="pagination-row svelte-9ix8dg"><!></div>'),vr=c('<div class="runs-list svelte-9ix8dg"></div> <!>',1),dr=c("<div><!></div>"),cr=c('<!> <!> <!> <!> <!> <div class="page-header svelte-9ix8dg"><div class="header-text svelte-9ix8dg"><h1 class="svelte-9ix8dg"></h1> <p class="header-desc svelte-9ix8dg"></p></div> <div class="header-actions svelte-9ix8dg"><!></div></div> <div class="tabs svelte-9ix8dg"><button class="tab svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></button> <button class="tab svelte-9ix8dg"> <span class="tab-count svelte-9ix8dg"> </span></button></div> <div class="search-bar svelte-9ix8dg"><svg class="search-icon svelte-9ix8dg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg> <input type="search" class="search-input svelte-9ix8dg"> <!></div> <!> <!>',1);function wr(Kt,Xt){Ta(Xt,!1);const _e=f(),Be=f(),Te=f(),$e=f();let Ae=f(typeof sessionStorage<"u"&&sessionStorage.getItem("plum:repo:tab")||"suites");function ft(t){i(Ae,t);try{sessionStorage.setItem("plum:repo:tab",t)}catch{}}function mt(t,n){try{const v=sessionStorage.getItem(t);if(v)return JSON.parse(v)}catch{}return n}function Et(t,n){try{sessionStorage.setItem(t,JSON.stringify(n))}catch{}}let fe=f([]),ue=f(0),yt=f(1),K=f(mt("plum:repo:suites:sort",{by:"createdAt",order:"desc"})),de=f([]),pe=f(0),bt=f(1),re=f(mt("plum:repo:runs:sort",{by:"createdAt",order:"desc"}));const Lt={Critical:0,High:1,Medium:2,Low:3};function Zt(t,n){return[...t].sort((v,L)=>{const D=(Lt[v.priority]??4)-(Lt[L.priority]??4);return n==="asc"?D:-D})}let at=f(!0),st=f(null),ie=f(null),Ge=f(!1),rt=f(null),Oe=f(!1),X=f({name:"",description:"",priority:"Medium"}),Ye=f(!1),we=f(""),Ne=f(!1),Se=f({title:""}),We=f(!1),Ie=f(""),q=f(null),ge=f(!1),Ce=f(null),qe=f(!1),me=f("");const ea=["Critical","High","Medium","Low"];function he(t,n){i(st,{type:t,message:n}),setTimeout(()=>i(st,null),Ca)}async function it(t=1){const n=e(K).by==="priority",v=await Ma({page:t,sortBy:n?"createdAt":e(K).by,sortOrder:e(K).order});i(fe,n?Zt(v.suites,e(K).order):v.suites),i(ue,v.total),i(yt,t)}async function lt(t=1){const n=await Ba({page:t,sortBy:e(re).by,sortOrder:e(re).order});i(de,n.runs),i(pe,n.total),i(bt,t)}async function ta(t){e(K).by===t?De(K,e(K).order=e(K).order==="asc"?"desc":"asc"):i(K,{by:t,order:t==="createdAt"?"desc":"asc"}),Et("plum:repo:suites:sort",e(K)),await it(1)}async function aa(t){e(re).by===t?De(re,e(re).order=e(re).order==="asc"?"desc":"asc"):i(re,{by:t,order:t==="createdAt"||t==="updatedAt"?"desc":"asc"}),Et("plum:repo:runs:sort",e(re)),await lt(1)}$a(async()=>{try{await Promise.all([it(1),lt(1)])}catch{he("error",Ya)}finally{i(at,!1)}});async function sa(){if(!e(X).name.trim()){i(we,ps);return}i(we,""),i(Ye,!0);try{const t=await Ua(e(X));i(fe,[...e(fe),t]),i(ue,e(ue)+1),i(Oe,!1),i(X,{name:"",description:"",priority:"Medium"}),he("success",gs(t.name))}catch(t){i(we,t.message)}finally{i(Ye,!1)}}async function ra(t,n){try{await Oa(t),i(fe,e(fe).filter(v=>v.id!==t)),i(ue,e(ue)-1),he("success",ns(n))}catch{he("error",os)}i(q,null),i(ge,!1)}async function ia(){if(!e(Se).title.trim()){i(Ie,hs);return}i(Ie,""),i(We,!0);try{const t=await Ha({title:e(Se).title,caseIds:[]});i(de,[t,...e(de)]),i(Ne,!1),i(Se,{title:""}),window.location.href=`/test-repository/runs/${t.id}`}catch(t){i(Ie,t.message)}finally{i(We,!1)}}async function Tt(t){i(Ce,t),i(qe,!0)}async function la(){if(!e(Ce))return;const t=e(Ce);i(Ce,null),i(qe,!1);try{const n=await Pa(t.id);i(de,[n,...e(de)]),i(pe,e(pe)+1),jt.update(v=>v+1),he("success",_s(n.title))}catch{he("error",us)}}async function na(t,n){try{await Na(t),i(de,e(de).filter(v=>v.id!==t)),i(pe,e(pe)-1),jt.update(v=>v+1),he("success",vs(n))}catch{he("error",ds)}i(q,null),i(ge,!1)}function nt(t){return(t==null?void 0:t.toLowerCase())??"medium"}function $t(t){return t==="complete"?"pass":t==="in-progress"?"warn":"muted"}Fe(()=>e(me),()=>{i(_e,e(me).trim())}),Fe(()=>(e(rt),e(_e),Ft),()=>{clearTimeout(e(rt)),e(_e)?(i(Ge,!0),i(ie,null),i(rt,setTimeout(async()=>{try{i(ie,await Ft(e(_e)))}catch{i(ie,{suites:[],cases:[],runs:[]})}finally{i(Ge,!1)}},300))):(i(ie,null),i(Ge,!1))}),Fe(()=>e(ie),()=>{var t;i(Be,((t=e(ie))==null?void 0:t.cases)??[])}),Fe(()=>e(ie),()=>{var t;i(Te,((t=e(ie))==null?void 0:t.suites)??[])}),Fe(()=>e(ie),()=>{var t;i($e,((t=e(ie))==null?void 0:t.runs)??[])}),Aa(),La();var At=cr();ya(t=>{Sa.title=Wa});var wt=W(At);Ra(wt,{get toast(){return e(st)}});var St=r(wt,2);const oa=ve(()=>{var t;return cs((t=e(q))==null?void 0:t.type)});Yt(St,{get title(){return e(oa)},get open(){return e(ge)},set open(t){i(ge,t)},$$events:{confirm:()=>{var t;return((t=e(q))==null?void 0:t.type)==="suite"?ra(e(q).id,e(q).name):na(e(q).id,e(q).name)}},children:(t,n)=>{var v=ce(),L=W(v);{var D=x=>{var u=Is(),I=r(W(u)),C=s(I);a(I),Le(),S(()=>o(C,`"${e(q).name??""}"`)),l(x,u)};y(L,x=>{e(q)&&x(D)})}l(t,v)},$$slots:{default:!0},$$legacy:!0});var It=r(St,2);Yt(It,{title:qa,confirmLabel:qt,get open(){return e(qe)},set open(t){i(qe,t)},$$events:{confirm:la},children:(t,n)=>{var v=ce(),L=W(v);{var D=x=>{var u=Cs(),I=W(u);I.nodeValue=`${qt} `;var C=r(I),M=s(C);a(C);var g=r(C,1,!0);g.nodeValue=Ja,S(()=>o(M,`"${e(Ce).title??""}"`)),l(x,u)};y(L,x=>{e(Ce)&&x(D)})}l(t,v)},$$slots:{default:!0},$$legacy:!0});var Ct=r(It,2);Wt(Ct,{title:Qa,get open(){return e(Oe)},set open(t){i(Oe,t)},children:(t,n)=>{var v=Ds(),L=s(v),D=s(L);D.textContent=za;var x=r(D,2);ht(x),R(x,"placeholder",Ka),a(L);var u=r(L,2),I=s(u);I.textContent=Xa;var C=r(I,2);ba(C),R(C,"placeholder",Za),a(u);var M=r(u,2),g=s(M);g.textContent=es;var d=r(g,2);S(()=>{e(X),Ia(()=>{})}),xe(d,5,()=>ea,ut,(p,T)=>{var $=ks(),k={},_=s($,!0);a($),S(()=>{k!==(k=e(T))&&($.value=($.__value=e(T))==null?"":e(T)),o(_,e(T))}),l(p,$)}),a(d),a(M);var B=r(M,2);{var m=p=>{var T=Rs(),$=s(T,!0);a(T),S(()=>o($,e(we))),l(p,T)};y(B,p=>{e(we)&&p(m)})}var U=r(B,2),E=s(U);Me(E,{get disabled(){return e(Ye)},$$events:{click:sa},children:(p,T)=>{Le();var $=Re();S(k=>o($,k),[()=>ts(e(Ye))],ve),l(p,$)},$$slots:{default:!0}});var H=r(E,2);Me(H,{variant:"ghost",$$events:{click:()=>{i(Oe,!1),i(we,"")}},children:(p,T)=>{Le();var $=Re();$.nodeValue=Ut,l(p,$)},$$slots:{default:!0}}),a(U),a(v),Ze(x,()=>e(X).name,p=>De(X,e(X).name=p)),Ze(C,()=>e(X).description,p=>De(X,e(X).description=p)),Da(d,()=>e(X).priority,p=>De(X,e(X).priority=p)),l(t,v)},$$slots:{default:!0},$$legacy:!0});var kt=r(Ct,2);Wt(kt,{title:as,get open(){return e(Ne)},set open(t){i(Ne,t)},children:(t,n)=>{var v=Bs(),L=s(v),D=s(L);D.textContent=ss;var x=r(D,2);ht(x),R(x,"placeholder",rs),a(L);var u=r(L,2);{var I=d=>{var B=Ms(),m=s(B,!0);a(B),S(()=>o(m,e(Ie))),l(d,B)};y(u,d=>{e(Ie)&&d(I)})}var C=r(u,2),M=s(C);Me(M,{get disabled(){return e(We)},$$events:{click:ia},children:(d,B)=>{Le();var m=Re();S(U=>o(m,U),[()=>is(e(We))],ve),l(d,m)},$$slots:{default:!0}});var g=r(M,2);Me(g,{variant:"ghost",$$events:{click:()=>{i(Ne,!1),i(Ie,"")}},children:(d,B)=>{Le();var m=Re();m.nodeValue=Ut,l(d,m)},$$slots:{default:!0}}),a(C),a(v),Ze(x,()=>e(Se).title,d=>De(Se,e(Se).title=d)),l(t,v)},$$slots:{default:!0},$$legacy:!0});var ot=r(kt,2),vt=s(ot),Rt=s(vt);Rt.textContent=Va;var va=r(Rt,2);va.textContent=Fa,a(vt);var Dt=r(vt,2),da=s(Dt);{var ca=t=>{Me(t,{$$events:{click:()=>i(Oe,!0)},children:(n,v)=>{Le();var L=Re();L.nodeValue=xs,l(n,L)},$$slots:{default:!0}})},_a=t=>{Me(t,{$$events:{click:()=>i(Ne,!0)},children:(n,v)=>{Le();var L=Re();L.nodeValue=fs,l(n,L)},$$slots:{default:!0}})};y(da,t=>{e(Ae)==="suites"?t(ca):t(_a,!1)})}a(Dt),a(ot);var dt=r(ot,2),Pe=s(dt),Mt=s(Pe);Mt.nodeValue=`${ja} `;var Bt=r(Mt),ua=s(Bt);a(Bt),a(Pe);var Je=r(Pe,2),Ot=s(Je);Ot.nodeValue=`${Ga} `;var Nt=r(Ot),pa=s(Nt);a(Nt),a(Je),a(dt);var ct=r(dt,2),Qe=r(s(ct),2);ht(Qe),R(Qe,"placeholder",ls);var ga=r(Qe,2);{var ha=t=>{var n=Os();R(n,"aria-label",ka),oe("click",n,()=>i(me,"")),l(t,n)};y(ga,t=>{e(me)&&t(ha)})}a(ct);var Pt=r(ct,2);{var xa=t=>{var n=Vs(),v=s(n);v.textContent=ms;var L=r(v,2);{var D=u=>{var I=ce(),C=W(I);xe(C,0,()=>[["createdAt","Date Created"],["displayId","ID"],["name","Name"],["priority","Priority"]],ut,(M,g)=>{let d=()=>g[0],B=()=>g[1];var m=Ps(),U=s(m),E=r(U);{var H=p=>{var T=Ns(),$=s(T,!0);a(T),S(()=>o($,e(K).order==="asc"?"↑":"↓")),l(p,T)};y(E,p=>{e(K).by===d()&&p(H)})}a(m),S(()=>{Ke(m,"active",e(K).by===d()),o(U,`${B()??""} `)}),oe("click",m,()=>ta(d())),l(M,m)}),l(u,I)},x=u=>{var I=ce(),C=W(I);xe(C,0,()=>[["createdAt","Date Created"],["updatedAt","Last Updated"],["title","Name"]],ut,(M,g)=>{let d=()=>g[0],B=()=>g[1];var m=Hs(),U=s(m),E=r(U);{var H=p=>{var T=Us(),$=s(T,!0);a(T),S(()=>o($,e(re).order==="asc"?"↑":"↓")),l(p,T)};y(E,p=>{e(re).by===d()&&p(H)})}a(m),S(()=>{Ke(m,"active",e(re).by===d()),o(U,`${B()??""} `)}),oe("click",m,()=>aa(d())),l(M,m)}),l(u,I)};y(L,u=>{e(Ae)==="suites"?u(D):u(x,!1)})}a(n),l(t,n)};y(Pt,t=>{e(_e)||t(xa)})}var fa=r(Pt,2);{var ma=t=>{var n=Zs(),v=s(n);{var L=x=>{var u=Fs();u.textContent=Ht,l(x,u)},D=x=>{var u=ce(),I=W(u);{var C=g=>{var d=js();d.textContent=Ht,l(g,d)},M=g=>{var d=ce(),B=W(d);{var m=E=>{const H=ve(()=>$s(e(me)));xt(E,{title:Es,get description(){return e(H)}})},U=E=>{var H=Xs(),p=W(H);{var T=A=>{var w=Ws(),O=s(w),J=s(O);J.nodeValue=`${As} `;var Q=r(J),le=s(Q,!0);a(Q),a(O);var z=r(O,2);xe(z,5,()=>e(Be),b=>b.id,(b,h)=>{var V=Ys(),N=s(V),te=s(N,!0);a(N);var P=r(N,2),ne=s(P,!0);a(P);var Y=r(P,2);{var ae=se=>{var Ee=Gs();Ee.textContent=ws,l(se,Ee)};y(Y,se=>{e(h).isAutomated&&se(ae)})}var F=r(Y,2),j=s(F,!0);a(F);var G=r(F,2),ee=s(G);a(G),a(V),S(se=>{R(V,"href",`/test-repository/suites/${e(h).suite.id??""}`),o(te,e(h).displayId),o(ne,e(h).title),je(F,`priority-badge small ${se??""} svelte-9ix8dg`),o(j,e(h).priority),o(ee,`${e(h).suite.displayId??""} · ${e(h).suite.name??""}`)},[()=>nt(e(h).priority)],ve),l(b,V)}),a(z),a(w),S(()=>o(le,e(Be).length)),l(A,w)};y(p,A=>{e(Be).length>0&&A(T)})}var $=r(p,2);{var k=A=>{var w=Qs(),O=s(w),J=s(O);J.nodeValue=`${Ss} `;var Q=r(J),le=s(Q,!0);a(Q),a(O);var z=r(O,2);xe(z,5,()=>e(Te),b=>b.id,(b,h)=>{var V=Js(),N=s(V),te=r(N,2),P=s(te),ne=s(P,!0);a(P);var Y=r(P,2),ae=s(Y,!0);a(Y);var F=r(Y,2),j=s(F);R(j,"title",Jt),a(F),a(te);var G=r(te,2),ee=s(G,!0);a(G);var se=r(G,2);{var Ee=ye=>{var be=qs(),Ve=s(be,!0);a(be),S(()=>o(Ve,e(h).description)),l(ye,be)};y(se,ye=>{e(h).description&&ye(Ee)})}var ze=r(se,2),ke=s(ze),Ue=r(s(ke));a(ke);var He=r(ke,2),_t=s(He,!0);a(He),a(ze),a(V),S((ye,be,Ve)=>{R(N,"href",`/test-repository/suites/${e(h).id??""}`),R(N,"aria-label",e(h).name),o(ne,e(h).displayId),je(Y,`priority-badge ${ye??""} svelte-9ix8dg`),o(ae,e(h).priority),o(ee,e(h).name),o(Ue,` ${be??""}`),o(_t,Ve)},[()=>nt(e(h).priority),()=>et(e(h)._count.cases),()=>tt(e(h).createdBy.name)],ve),oe("click",j,()=>{i(q,{type:"suite",id:e(h).id,name:e(h).name}),i(ge,!0)}),l(b,V)}),a(z),a(w),S(()=>o(le,e(Te).length)),l(A,w)};y($,A=>{e(Te).length>0&&A(k)})}var _=r($,2);{var Z=A=>{var w=Ks(),O=s(w),J=r(s(O)),Q=s(J,!0);a(J),a(O);var le=r(O,2);xe(le,5,()=>e($e),z=>z.id,(z,b)=>{var h=zs(),V=s(h),N=r(V,2),te=s(N),P=r(te,2),ne=s(P,!0);a(P);var Y=r(P,2),ae=s(Y,!0);a(Y),a(N);var F=r(N,2),j=s(F),G=s(j,!0);a(j);var ee=r(j,4),se=s(ee,!0);a(ee);var Ee=r(ee,4),ze=s(Ee,!0);a(Ee),a(F);var ke=r(F,2),Ue=s(ke);R(Ue,"title",Qt);var He=r(Ue,2);R(He,"title",zt),a(ke),a(h),S((_t,ye,be,Ve)=>{R(V,"href",`/test-repository/runs/${e(b).id??""}`),R(V,"aria-label",e(b).title),je(te,`run-status-dot ${_t??""} svelte-9ix8dg`),o(ne,e(b).title),o(ae,ye),o(G,e(b).status),o(se,be),o(ze,Ve)},[()=>$t(e(b).status),()=>et(e(b)._count.entries),()=>tt(e(b).createdBy.name),()=>new Date(e(b).createdAt).toLocaleDateString()],ve),oe("click",Ue,()=>Tt(e(b))),oe("click",He,()=>{i(q,{type:"run",id:e(b).id,name:e(b).title}),i(ge,!0)}),l(z,h)}),a(le),a(w),S(()=>o(Q,e($e).length)),l(A,w)};y(_,A=>{e($e).length>0&&A(Z)})}l(E,H)};y(B,E=>{e(Be).length===0&&e(Te).length===0&&e($e).length===0?E(m):E(U,!1)},!0)}l(g,d)};y(I,g=>{e(ie)?g(M,!1):g(C)},!0)}l(x,u)};y(v,x=>{e(Ge)?x(L):x(D,!1)})}a(n),pt(3,n,()=>gt,()=>({y:4,duration:160})),l(t,n)},Ea=t=>{var n=ce(),v=W(n);{var L=x=>{var u=ir(),I=s(u);{var C=g=>{var d=er();d.textContent=Vt,l(g,d)},M=g=>{var d=ce(),B=W(d);{var m=E=>{xt(E,{title:bs,description:ys})},U=E=>{var H=rr(),p=W(H);xe(p,5,()=>e(fe),k=>k.id,(k,_)=>{var Z=ar(),A=s(Z),w=r(A,2),O=s(w),J=s(O,!0);a(O);var Q=r(O,2),le=s(Q,!0);a(Q);var z=r(Q,2),b=s(z);R(b,"title",Jt),a(z),a(w);var h=r(w,2),V=s(h,!0);a(h);var N=r(h,2);{var te=j=>{var G=tr(),ee=s(G,!0);a(G),S(()=>o(ee,e(_).description)),l(j,G)};y(N,j=>{e(_).description&&j(te)})}var P=r(N,2),ne=s(P),Y=r(s(ne));a(ne);var ae=r(ne,2),F=s(ae,!0);a(ae),a(P),a(Z),S((j,G,ee)=>{R(A,"href",`/test-repository/suites/${e(_).id??""}`),R(A,"aria-label",e(_).name),o(J,e(_).displayId),je(Q,`priority-badge ${j??""} svelte-9ix8dg`),o(le,e(_).priority),o(V,e(_).name),o(Y,` ${G??""}`),o(F,ee)},[()=>nt(e(_).priority),()=>et(e(_)._count.cases),()=>tt(e(_).createdBy.name)],ve),oe("click",b,()=>{i(q,{type:"suite",id:e(_).id,name:e(_).name}),i(ge,!0)}),l(k,Z)}),a(p);var T=r(p,2);{var $=k=>{var _=sr(),Z=s(_);const A=ve(()=>Math.ceil(e(ue)/Xe));Gt(Z,{get current(){return e(yt)},get total(){return e(A)},$$events:{change:w=>it(w.detail)}}),a(_),l(k,_)};y(T,k=>{Math.ceil(e(ue)/Xe)>1&&k($)})}l(E,H)};y(B,E=>{e(fe).length===0?E(m):E(U,!1)},!0)}l(g,d)};y(I,g=>{e(at)?g(C):g(M,!1)})}a(u),pt(3,u,()=>gt,()=>({y:4,duration:160})),l(x,u)},D=x=>{var u=dr(),I=s(u);{var C=g=>{var d=lr();d.textContent=Vt,l(g,d)},M=g=>{var d=ce(),B=W(d);{var m=E=>{xt(E,{title:Ts,description:Ls})},U=E=>{var H=vr(),p=W(H);xe(p,5,()=>e(de),k=>k.id,(k,_)=>{var Z=nr(),A=s(Z),w=r(A,2),O=s(w),J=r(O,2),Q=s(J,!0);a(J);var le=r(J,2),z=s(le,!0);a(le),a(w);var b=r(w,2),h=s(b),V=s(h,!0);a(h);var N=r(h,4),te=s(N,!0);a(N);var P=r(N,4),ne=s(P,!0);a(P),a(b);var Y=r(b,2),ae=s(Y);R(ae,"title",Qt);var F=r(ae,2);R(F,"title",zt),a(Y),a(Z),S((j,G,ee,se)=>{R(A,"href",`/test-repository/runs/${e(_).id??""}`),R(A,"aria-label",e(_).title),je(O,`run-status-dot ${j??""} svelte-9ix8dg`),o(Q,e(_).title),o(z,G),o(V,e(_).status),o(te,ee),o(ne,se)},[()=>$t(e(_).status),()=>et(e(_)._count.entries),()=>tt(e(_).createdBy.name),()=>new Date(e(_).createdAt).toLocaleDateString()],ve),oe("click",ae,()=>Tt(e(_))),oe("click",F,()=>{i(q,{type:"run",id:e(_).id,name:e(_).title}),i(ge,!0)}),l(k,Z)}),a(p);var T=r(p,2);{var $=k=>{var _=or(),Z=s(_);const A=ve(()=>Math.ceil(e(pe)/Xe));Gt(Z,{get current(){return e(bt)},get total(){return e(A)},$$events:{change:w=>lt(w.detail)}}),a(_),l(k,_)};y(T,k=>{Math.ceil(e(pe)/Xe)>1&&k($)})}l(E,H)};y(B,E=>{e(de).length===0?E(m):E(U,!1)},!0)}l(g,d)};y(I,g=>{e(at)?g(C):g(M,!1)})}a(u),pt(3,u,()=>gt,()=>({y:4,duration:160})),l(x,u)};y(v,x=>{e(Ae)==="suites"?x(L):x(D,!1)},!0)}l(t,n)};y(fa,t=>{e(_e)?t(ma):t(Ea,!1)})}S(()=>{Ke(Pe,"active",e(Ae)==="suites"),o(ua,`${(e(_e)?e(Te).length+"/":"")??""}${e(ue)??""}`),Ke(Je,"active",e(Ae)==="runs"),o(pa,`${(e(_e)?e($e).length+"/":"")??""}${e(pe)??""}`)}),oe("click",Pe,()=>ft("suites")),oe("click",Je,()=>ft("runs")),Ze(Qe,()=>e(me),t=>i(me,t)),l(Kt,At),wa()}export{wr as component};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
18
+ /*
19
+ * This file is part of Plum.
20
+ * Licensed under the MIT License. See LICENSE file in the project root for details.
21
+ */
22
+
23
+ import{a as o,t as u,s as b,h as ba,b as Ce,c as Fe,e as R,n as ha}from"../chunks/CMBQQ9RZ.js";import{i as Wt}from"../chunks/CKDtmZUQ.js";import{p as Et,l as me,s as i,ai as Yt,b as Lt,d as r,k as a,t as E,g as e,c as Tt,m as f,o as Ea,f as re,x as Xe,$ as La,y as Ut,j as l,n as pe}from"../chunks/BAACMRH5.js";import{i as m,s as Ta,a as Vt}from"../chunks/CgnwuKKO.js";import{t as I,s as Aa,a as xt,f as ft,e as Be,i as gt}from"../chunks/TOCyHP97.js";import{j as Ca,b as Sa,r as Gt,g as Ht,h as Kt,C as ya,L as Ia,s as Ne}from"../chunks/4N1zIH8t.js";import{b as Ft}from"../chunks/t-La0hgu.js";import{T as ka,B as Se,i as $a,s as Oa}from"../chunks/DlNYZJ7K.js";import{p as Ra}from"../chunks/DW_iTTZe.js";import{q as wt,r as Ba,t as Na,v as De,w as Da,x as Pa}from"../chunks/DkNBSlo2.js";import{r as bt}from"../chunks/DW85KPAh.js";import{a as Ma}from"../chunks/C1Vid6wz.js";import{M as Ua}from"../chunks/BjUpWNbl.js";import{E as Va}from"../chunks/C1sukchk.js";import{p as qe}from"../chunks/C8OURRSs.js";import{a6 as Ga,aE as Ha,aF as Ka,T as Fa,F as Xa,aG as ja,aH as Ja,aI as Wa,aJ as Ya,aK as qa,aL as za,aM as Qa,aN as Za,aO as es,aP as ts,aQ as as,aR as ss,aS as rs,aT as ls,aU as is,aV as os,aW as ns,aX as vs,aY as ds,aZ as cs,a_ as us,a$ as _s,b0 as ps,b1 as ms,b2 as xs,b3 as fs,b4 as gs,b5 as ws,b6 as bs,b7 as hs,b8 as Es,b9 as Xt,ba as Ls,bb as Ts,bc as As,bd as Cs,be as Ss,bf as ys}from"../chunks/BhvHtTRh.js";var Is=u('<span class="auto-badge svelte-1yr9844"></span>');function lt(Le){var z=Is();z.textContent=Ca,o(Le,z)}var ks=u('<span class="priority-badge svelte-1m066kw"> </span>');function jt(Le,z){Et(z,!1);const V=f();let Q=qe(z,"priority",8,"Medium"),G=qe(z,"small",8,!1);me(()=>Yt(Q()),()=>{var je;i(V,((je=Q())==null?void 0:je.toLowerCase())??"medium")}),Lt(),Wt();var J=ks(),Pe=r(J,!0);a(J),E(()=>{I(J,"critical",e(V)==="critical"),I(J,"high",e(V)==="high"),I(J,"medium",e(V)==="medium"),I(J,"low",e(V)==="low"),I(J,"small",G()),b(Pe,Q())}),o(Le,J),Tt()}var $s=u('<span class="id-chip svelte-1gmo0py"> </span>');function ht(Le,z){let V=qe(z,"id",8,""),Q=qe(z,"small",8,!1);var G=$s(),J=r(G,!0);a(G),E(()=>{I(G,"small",Q()),b(J,V())}),o(Le,G)}var Os=u('<span class="result-chip svelte-1rgb1a1"> </span>');function Jt(Le,z){Et(z,!1);const V=f();let Q=qe(z,"status",8,"pending");me(()=>Yt(Q()),()=>{i(V,Q()==="pass"?"pass":Q()==="fail"?"fail":Q()==="blocked"?"warn":Q()==="skip"?"muted":"pending")}),Lt();var G=Os(),J=r(G,!0);a(G),E(()=>{I(G,"pass",e(V)==="pass"),I(G,"fail",e(V)==="fail"),I(G,"warn",e(V)==="warn"),I(G,"muted",e(V)==="muted"),I(G,"pending",e(V)==="pending"),b(J,Q())}),o(Le,G),Tt()}var Rs=u('<div class="form-fields svelte-1mxlw2t"><div class="field"><label class="field-label" for="er-title"></label> <input id="er-title" type="text" class="field-input"></div> <div class="modal-actions svelte-1mxlw2t"><!> <!></div></div>'),Bs=u('<div class="loading-state svelte-1mxlw2t"></div>'),Ns=u("<!> <!>",1),Ds=u("<!> <!> <!>",1),Ps=u('<span class="exec-progress svelte-1mxlw2t"> </span>'),Ms=u('<span class="locked-badge svelte-1mxlw2t"></span>'),Us=u('<span class="entry-sort-dir svelte-1mxlw2t"> </span>'),Vs=u('<button class="entry-sort-chip svelte-1mxlw2t"> <!></button>'),Gs=ha('<svg class="drag-handle svelte-1mxlw2t" width="12" height="12" viewBox="0 0 24 24" fill="currentColor"><circle cx="9" cy="5" r="1.5"></circle><circle cx="15" cy="5" r="1.5"></circle><circle cx="9" cy="12" r="1.5"></circle><circle cx="15" cy="12" r="1.5"></circle><circle cx="9" cy="19" r="1.5"></circle><circle cx="15" cy="19" r="1.5"></circle></svg>'),Hs=u("<option> </option>"),Ks=u('<select class="assignee-select svelte-1mxlw2t"><option></option><!></select>'),Fs=u('<button class="icon-btn danger svelte-1mxlw2t"><svg width="11" height="11" viewBox="0 0 14 14" fill="none"><path d="M1 1l12 12M13 1L1 13" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></button>'),Xs=u('<div class="entry-row svelte-1mxlw2t" role="listitem"><!> <div class="entry-info svelte-1mxlw2t"><div class="entry-badges svelte-1mxlw2t"><!> <!></div> <p class="entry-title svelte-1mxlw2t"> </p> <span class="entry-suite svelte-1mxlw2t"> </span></div> <!> <!></div>'),js=u('<div class="entry-sort-bar svelte-1mxlw2t"></div> <div class="entry-list svelte-1mxlw2t" role="list"></div>',1),Js=u('<button class="browser-case svelte-1mxlw2t"><!> <span class="browser-case-title svelte-1mxlw2t"> </span> <!> <!></button>'),Ws=u('<div class="browser-cases svelte-1mxlw2t"></div>'),Ys=u('<p class="browser-empty svelte-1mxlw2t"> </p>'),qs=u('<div class="browser-suite svelte-1mxlw2t"><button class="browser-suite-header svelte-1mxlw2t"><svg class="chevron svelte-1mxlw2t" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><polyline points="9 18 15 12 9 6"></polyline></svg> <span class="browser-suite-name svelte-1mxlw2t"> </span> <span class="browser-suite-count svelte-1mxlw2t"> </span></button> <!></div>'),zs=u('<p class="browser-empty svelte-1mxlw2t"></p>'),Qs=u('<div class="builder-panel right-panel svelte-1mxlw2t"><div class="builder-panel-head svelte-1mxlw2t"><h2 class="builder-panel-title svelte-1mxlw2t"></h2> <input type="text" class="search-input svelte-1mxlw2t"></div> <div class="suite-browser svelte-1mxlw2t"><!> <!></div></div>'),Zs=u('<div class="builder-workspace svelte-1mxlw2t"><div class="builder-panel left-panel svelte-1mxlw2t"><div class="builder-panel-head svelte-1mxlw2t"><h2 class="builder-panel-title svelte-1mxlw2t"></h2> <span class="count-chip svelte-1mxlw2t"> </span> <!></div> <!></div> <!></div>'),er=u('<div class="exec-locked-banner svelte-1mxlw2t"></div>'),tr=u('<div class="progress-bar-wrap svelte-1mxlw2t"><div class="progress-stats svelte-1mxlw2t"><span class="stat pass svelte-1mxlw2t"> </span> <span class="stat fail svelte-1mxlw2t"> </span> <span class="stat muted svelte-1mxlw2t"> </span></div> <div class="progress-bar svelte-1mxlw2t"><div class="progress-fill pass svelte-1mxlw2t"></div> <div class="progress-fill fail svelte-1mxlw2t"></div></div></div>'),ar=u('<button class="exec-chevron svelte-1mxlw2t"><svg class="chevron svelte-1mxlw2t" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><polyline points="9 18 15 12 9 6"></polyline></svg></button>'),sr=u('<div class="exec-assignee-row svelte-1mxlw2t"><!></div> <div class="exec-assignee-divider svelte-1mxlw2t"></div>',1),rr=u('<span class="exec-assignee-name svelte-1mxlw2t"> </span>'),lr=u('<button class="exec-assign-me svelte-1mxlw2t"></button>'),ir=u('<div class="exec-assignee-row svelte-1mxlw2t"><!> <!></div> <div class="exec-assignee-divider svelte-1mxlw2t"></div>',1),or=u('<div class="exec-btns svelte-1mxlw2t"><button class="exec-btn in-progress svelte-1mxlw2t"></button> <button class="exec-btn pass svelte-1mxlw2t"></button> <button class="exec-btn fail svelte-1mxlw2t"></button> <button class="exec-btn warn svelte-1mxlw2t"></button> <button class="exec-btn muted svelte-1mxlw2t"></button></div>'),nr=u('<div class="exec-btns svelte-1mxlw2t"><!> <button class="exec-reset svelte-1mxlw2t"></button></div>'),vr=u('<p class="exec-step-data svelte-1mxlw2t"> </p>'),dr=u('<p class="exec-step-expected svelte-1mxlw2t"> </p>'),cr=u('<div class="exec-step svelte-1mxlw2t"><span class="exec-step-num svelte-1mxlw2t"></span> <div class="exec-step-body svelte-1mxlw2t"><p class="exec-step-action svelte-1mxlw2t"> </p> <!> <!></div></div>'),ur=u('<div class="exec-steps svelte-1mxlw2t"></div>'),_r=u('<div class="execute-row svelte-1mxlw2t"><div class="execute-row-main svelte-1mxlw2t"><div class="exec-info svelte-1mxlw2t"><!> <!> <!> <div><p class="exec-title svelte-1mxlw2t"> </p> <span class="exec-suite svelte-1mxlw2t"> </span></div></div> <div class="exec-actions svelte-1mxlw2t"><!> <!></div></div> <!></div>'),pr=u('<div class="execute-workspace"><!> <!> <div class="execute-list svelte-1mxlw2t"></div></div>'),mr=u('<div class="run-header svelte-1mxlw2t"><div class="run-header-left svelte-1mxlw2t"><h1 class="run-title svelte-1mxlw2t"> </h1> <span> </span> <button class="icon-btn svelte-1mxlw2t"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"></path><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"></path></svg></button></div> <div class="run-header-actions svelte-1mxlw2t"><!></div></div> <div class="mode-tabs svelte-1mxlw2t"><button class="mode-tab svelte-1mxlw2t"></button> <button class="mode-tab svelte-1mxlw2t"> <!></button></div> <!>',1),xr=u('<!> <!> <div class="breadcrumb svelte-1mxlw2t"><a href="/test-repository" class="bc-link svelte-1mxlw2t"></a> <span class="bc-sep svelte-1mxlw2t">›</span> <span class="bc-current"> </span></div> <!>',1);function Rr(Le,z){Et(z,!1);const[V,Q]=Ta(),G=()=>Vt(Ra,"$page",V),J=()=>Vt(Ma,"$auth",V),Pe=f(),je=f(),ze=f(),it=f(),H=f(),ot=f(),Ie=f(),nt=f(),vt=f(),xe=G().params.id;let le=f("build"),s=f(null),Qe=f([]),At=f([]),Ct=f(!0),dt=f(null),Ze=f(!1),et=f(null),ie=f(""),Te=f(new Set);const St={Critical:0,High:1,Medium:2,Low:3};let k=f((()=>{try{const t=sessionStorage.getItem("plum:run:entries:sort");if(t)return JSON.parse(t)}catch{}return{by:"order",order:"asc"}})());function qt(t){e(k).by===t?Ut(k,e(k).order=e(k).order==="asc"?"desc":"asc"):i(k,{by:t,order:"asc"});try{sessionStorage.setItem("plum:run:entries:sort",JSON.stringify(e(k)))}catch{}}let Me=f(null),tt=f(null),ct=f(null),yt="",ke=f(new Set),Je=f(!1),We=f({}),at=f(!1);function zt(t){e(ke).has(t)?e(ke).delete(t):e(ke).add(t),i(ke,new Set(e(ke)))}function ae(t,v){i(dt,{type:t,message:v}),setTimeout(()=>i(dt,null),Sa)}Ea(async()=>{try{await(async t=>(i(s,t[0]),i(Qe,t[1]),i(At,t[2])))(await Promise.all([wt(xe),Ba(),Na()])),i(Te,new Set(e(Qe).map(t=>t.id))),e(s).status==="in-progress"&&i(le,"execute")}catch{ae("error",Xa)}finally{i(Ct,!1)}});async function It(t,v){i(et,t);try{const _=await Da(t,v||null);i(s,{...e(s),entries:e(s).entries.map(g=>g.id===t?{...g,assignedToId:_.assignedToId,assignedTo:_.assignedTo}:g)})}catch(_){ae("error",_.message)}finally{i(et,null)}}async function Qt(t){if(!e(s)||e(ze).has(t.id))return;const v=e(s),_={id:`tmp-${t.id}`,order:e(s).entries.length,status:"pending",notes:"",executedAt:null,executedBy:null,case:t};i(s,{...e(s),entries:[...e(s).entries,_]});try{const g=e(s).entries.map(se=>se.case.id);await De(xe,{caseIds:g}),i(s,await wt(xe))}catch{i(s,v),ae("error",bs)}}function Zt(t){i(s,{...e(s),entries:e(s).entries.filter(v=>v.id!==t)})}async function ea(){i(at,!0);try{const t=await De(xe,e(We));i(s,{...e(s),...t}),i(Je,!1),ae("success",ja)}catch(t){ae("error",t.message)}finally{i(at,!1)}}async function kt(){i(Ze,!0);try{const t=e(s).entries.map(_=>_.case.id),v=await De(xe,{caseIds:t});i(s,await wt(xe)),ae("success",ws)}catch(t){ae("error",t.message)}finally{i(Ze,!1)}}async function ta(){await kt(),await De(xe,{status:"in-progress"}),i(s,{...e(s),status:"in-progress"}),i(le,"execute")}async function Ue(t,v){i(ct,t.id);try{const _=await Pa(t.id,{status:v,notes:yt});i(s,{...e(s),entries:e(s).entries.map(g=>g.id===t.id?{...g,..._,status:v}:g)}),yt=""}catch(_){ae("error",_.message)}finally{i(ct,null)}}async function aa(){try{await De(xe,{status:"backlog"}),i(s,{...e(s),status:"backlog"}),i(le,"build"),bt.update(t=>t+1)}catch(t){ae("error",t.message)}}async function sa(){try{await De(xe,{status:"complete"}),i(s,{...e(s),status:"complete"}),bt.update(t=>t+1),ae("success",ys)}catch(t){ae("error",t.message)}}async function ra(){try{await De(xe,{status:"backlog"}),i(s,{...e(s),status:"backlog"}),i(le,"build"),bt.update(t=>t+1),ae("success",Za)}catch(t){ae("error",t.message)}}function la(t,v){i(Me,v),t.dataTransfer.effectAllowed="move"}function ia(t,v){t.preventDefault(),i(tt,v)}function oa(t,v){if(t.preventDefault(),!e(Me)||e(Me)===v)return;const _=[...e(s).entries],g=_.findIndex(ge=>ge.id===e(Me)),se=_.findIndex(ge=>ge.id===v),[fe]=_.splice(g,1);_.splice(se,0,fe),i(s,{...e(s),entries:_}),i(Me,null),i(tt,null)}me(()=>J(),()=>{var t,v;i(Pe,((v=(t=J())==null?void 0:t.user)==null?void 0:v.id)??null)}),me(()=>(e(s),e(k)),()=>{i(je,(()=>{if(!e(s))return[];const t=[...e(s).entries],v=e(k).order==="asc"?1:-1;return e(k).by==="name"?t.sort((_,g)=>v*_.case.title.localeCompare(g.case.title)):e(k).by==="priority"?t.sort((_,g)=>v*((St[_.case.priority]??99)-(St[g.case.priority]??99))):e(k).by==="status"?t.sort((_,g)=>v*_.status.localeCompare(g.status)):e(k).by==="suite"?t.sort((_,g)=>{var se,fe;return v*(((se=_.case.suite)==null?void 0:se.name)??"").localeCompare(((fe=g.case.suite)==null?void 0:fe.name)??"")}):t.sort((_,g)=>v*(_.order-g.order))})())}),me(()=>e(s),()=>{var t;i(ze,new Set(((t=e(s))==null?void 0:t.entries.map(v=>v.case.id))??[]))}),me(()=>(e(Qe),e(ze),e(ie)),()=>{i(it,e(Qe).map(t=>({...t,_totalCases:(t.cases??[]).length,cases:(t.cases??[]).filter(v=>!e(ze).has(v.id)&&(!e(ie)||t.displayId.toLowerCase().includes(e(ie).toLowerCase())||t.name.toLowerCase().includes(e(ie).toLowerCase())||v.title.toLowerCase().includes(e(ie).toLowerCase())||v.displayId.toLowerCase().includes(e(ie).toLowerCase())))})).filter(t=>!e(ie)||t.cases.length>0||t.displayId.toLowerCase().includes(e(ie).toLowerCase())||t.name.toLowerCase().includes(e(ie).toLowerCase())))}),me(()=>e(s),()=>{var t;i(H,((t=e(s))==null?void 0:t.status)==="complete")}),me(()=>e(s),()=>{var t;i(ot,((t=e(s))==null?void 0:t.entries.filter(v=>v.status!=="pending").length)??0)}),me(()=>e(s),()=>{var t;i(Ie,((t=e(s))==null?void 0:t.entries.length)??0)}),me(()=>e(s),()=>{var t;i(nt,((t=e(s))==null?void 0:t.entries.filter(v=>v.status==="pass").length)??0)}),me(()=>e(s),()=>{var t;i(vt,((t=e(s))==null?void 0:t.entries.filter(v=>v.status==="fail").length)??0)}),Lt(),Wt();var $t=xr();ba(t=>{E(v=>La.title=v,[()=>Ha(e(s))],Xe)});var Ot=re($t);ka(Ot,{get toast(){return e(dt)}});var Rt=l(Ot,2);Ua(Rt,{title:Ka,get open(){return e(Je)},set open(t){i(Je,t)},children:(t,v)=>{var _=Rs(),g=r(_),se=r(g);se.textContent=Fa;var fe=l(se,2);Gt(fe),a(g);var ge=l(g,2),Ve=r(ge);Se(Ve,{get disabled(){return e(at)},$$events:{click:ea},children:($e,Ge)=>{pe();var Oe=Ce();E(()=>b(Oe,e(at)?Ht:Kt)),o($e,Oe)},$$slots:{default:!0}});var Ye=l(Ve,2);Se(Ye,{variant:"ghost",$$events:{click:()=>i(Je,!1)},children:($e,Ge)=>{pe();var Oe=Ce();Oe.nodeValue=ya,o($e,Oe)},$$slots:{default:!0}}),a(ge),a(_),Ft(fe,()=>e(We).title,$e=>Ut(We,e(We).title=$e)),o(t,_)},$$slots:{default:!0},$$legacy:!0});var ut=l(Rt,2),Bt=r(ut);Bt.textContent=Ga;var Nt=l(Bt,4),na=r(Nt,!0);a(Nt),a(ut);var va=l(ut,2);{var da=t=>{var v=Bs();v.textContent=Ia,o(t,v)},ca=t=>{var v=Fe(),_=re(v);{var g=se=>{var fe=mr(),ge=re(fe),Ve=r(ge),Ye=r(Ve),$e=r(Ye,!0);a(Ye);var Ge=l(Ye,2),Oe=r(Ge,!0);a(Ge);var Dt=l(Ge,2);Ne(Dt,"title",Ja),a(Ve);var Pt=l(Ve,2),ua=r(Pt);{var _a=K=>{Se(K,{variant:"ghost",$$events:{click:ra},children:(B,ce)=>{pe();var we=Ce();we.nodeValue=qa,o(B,we)},$$slots:{default:!0}})},pa=K=>{var B=Fe(),ce=re(B);{var we=oe=>{var be=Ns(),P=re(be);Se(P,{variant:"ghost",get disabled(){return e(Ze)},$$events:{click:kt},children:(A,W)=>{pe();var X=Ce();E(()=>b(X,e(Ze)?Ht:Kt)),o(A,X)},$$slots:{default:!0}});var c=l(P,2);{var Z=A=>{Se(A,{$$events:{click:ta},children:(W,X)=>{pe();var ee=Ce();ee.nodeValue=hs,o(W,ee)},$$slots:{default:!0}})};m(c,A=>{e(s).entries.length>0&&A(Z)})}o(oe,be)},Re=oe=>{var be=Fe(),P=re(be);{var c=A=>{var W=Ds(),X=re(W);Se(X,{variant:"ghost",$$events:{click:aa},children:($,Y)=>{pe();var O=Ce();O.nodeValue=Es,o($,O)},$$slots:{default:!0}});var ee=l(X,2);Se(ee,{variant:"ghost",$$events:{click:()=>i(le,"build")},children:($,Y)=>{pe();var O=Ce();O.nodeValue=Xt,o($,O)},$$slots:{default:!0}});var C=l(ee,2);Se(C,{$$events:{click:sa},children:($,Y)=>{pe();var O=Ce();O.nodeValue=Ls,o($,O)},$$slots:{default:!0}}),o(A,W)},Z=A=>{Se(A,{variant:"ghost",$$events:{click:()=>i(le,"build")},children:(W,X)=>{pe();var ee=Ce();ee.nodeValue=Xt,o(W,ee)},$$slots:{default:!0}})};m(P,A=>{e(s).status==="in-progress"?A(c):A(Z,!1)},!0)}o(oe,be)};m(ce,oe=>{e(le)==="build"?oe(we):oe(Re,!1)},!0)}o(K,B)};m(ua,K=>{e(H)?K(_a):K(pa,!1)})}a(Pt),a(ge);var _t=l(ge,2),st=r(_t);st.textContent=Wa;var rt=l(st,2),Mt=r(rt);Mt.nodeValue=`${Ya} `;var ma=l(Mt);{var xa=K=>{var B=Ps(),ce=r(B);a(B),E(()=>b(ce,`${e(ot)??""}/${e(Ie)??""}`)),o(K,B)};m(ma,K=>{e(Ie)>0&&K(xa)})}a(rt),a(_t);var fa=l(_t,2);{var ga=K=>{var B=Zs(),ce=r(B),we=r(ce),Re=r(we);Re.textContent=za;var oe=l(Re,2),be=r(oe,!0);a(oe);var P=l(oe,2);{var c=C=>{var $=Ms();$.textContent=es,o(C,$)};m(P,C=>{e(H)&&C(c)})}a(we);var Z=l(we,2);{var A=C=>{Va(C,{message:ts,size:"sm"})},W=C=>{var $=js(),Y=re($);Be(Y,4,()=>[["order","Order"],["name","Name"],["priority","Priority"],["status","Status"],["suite","Suite"]],gt,(q,w)=>{let T=()=>w[0],he=()=>w[1];var ne=Vs(),N=r(ne,!0),S=l(N);{var Ee=ve=>{var de=Us(),Ae=r(de,!0);a(de),E(()=>b(Ae,e(k).order==="asc"?" ↑":" ↓")),o(ve,de)};m(S,ve=>{e(k).by===T()&&ve(Ee)})}a(ne),E(()=>{I(ne,"active",e(k).by===T()),b(N,he())}),R("click",ne,()=>qt(T())),o(q,ne)}),a(Y);var O=l(Y,2);Be(O,5,()=>e(je),q=>q.id,(q,w)=>{var T=Xs(),he=r(T);{var ne=n=>{var d=Gs();o(n,d)};m(he,n=>{!e(H)&&e(k).by==="order"&&n(ne)})}var N=l(he,2),S=r(N),Ee=r(S);ht(Ee,{get id(){return e(w).case.displayId}});var ve=l(Ee,2);jt(ve,{get priority(){return e(w).case.priority}}),a(S);var de=l(S,2),Ae=r(de,!0);a(de);var He=l(de,2),Ke=r(He,!0);a(He),a(N);var p=l(N,2);{var L=n=>{lt(n)},te=n=>{var d=Ks();$a(d,()=>e(w).assignedToId??"");var x,h=r(d);h.value=((h.__value="")==null,""),h.textContent=as;var j=l(h);Be(j,1,()=>e(At),gt,(U,D)=>{var y=Hs(),ye={},ue=r(y,!0);a(y),E(()=>{ye!==(ye=e(D).id)&&(y.value=(y.__value=e(D).id)==null?"":e(D).id),b(ue,e(D).name)}),o(U,y)}),a(d),E(()=>{x!==(x=e(w).assignedToId??"")&&(d.value=(d.__value=e(w).assignedToId??"")==null?"":e(w).assignedToId??"",Oa(d,e(w).assignedToId??"")),d.disabled=e(et)===e(w).id}),R("change",d,U=>It(e(w).id,U.target.value)),o(n,d)};m(p,n=>{e(w).case.isAutomated?n(L):n(te,!1)})}var F=l(p,2);{var M=n=>{var d=Fs();R("click",d,()=>Zt(e(w).id)),o(n,d)};m(F,n=>{e(H)||n(M)})}a(T),E(()=>{var n;Ne(T,"draggable",!e(H)&&e(k).by==="order"),I(T,"entry-locked",e(H)),I(T,"dragging",e(Me)===e(w).id),I(T,"drag-over",e(tt)===e(w).id),b(Ae,e(w).case.title),b(Ke,((n=e(w).case.suite)==null?void 0:n.name)??"")}),R("dragstart",T,function(...n){var d;(d=e(H)||e(k).by!=="order"?null:x=>la(x,e(w).id))==null||d.apply(this,n)}),R("dragover",T,function(...n){var d;(d=e(H)||e(k).by!=="order"?null:x=>ia(x,e(w).id))==null||d.apply(this,n)}),R("dragleave",T,function(...n){var d;(d=e(H)||e(k).by!=="order"?null:()=>i(tt,null))==null||d.apply(this,n)}),R("drop",T,function(...n){var d;(d=e(H)||e(k).by!=="order"?null:x=>oa(x,e(w).id))==null||d.apply(this,n)}),o(q,T)}),a(O),o(C,$)};m(Z,C=>{e(s).entries.length===0?C(A):C(W,!1)})}a(ce);var X=l(ce,2);{var ee=C=>{var $=Qs(),Y=r($),O=r(Y);O.textContent=ss;var q=l(O,2);Gt(q),Ne(q,"placeholder",rs),a(Y);var w=l(Y,2),T=r(w);Be(T,1,()=>e(it),N=>N.id,(N,S)=>{var Ee=qs(),ve=r(Ee),de=r(ve),Ae=l(de,2),He=r(Ae,!0);a(Ae);var Ke=l(Ae,2),p=r(Ke,!0);a(Ke),a(ve);var L=l(ve,2);{var te=M=>{var n=Ws();Be(n,5,()=>e(S).cases,d=>d.id,(d,x)=>{var h=Js(),j=r(h);ht(j,{get id(){return e(x).displayId},small:!0});var U=l(j,2),D=r(U,!0);a(U);var y=l(U,2);jt(y,{get priority(){return e(x).priority},small:!0});var ye=l(y,2);{var ue=_e=>{lt(_e)};m(ye,_e=>{e(x).isAutomated&&_e(ue)})}a(h),E(()=>b(D,e(x).title)),R("click",h,()=>Qt(e(x))),o(d,h)}),a(n),xt(3,n,()=>ft,()=>({y:-4,duration:120})),o(M,n)},F=M=>{var n=Fe(),d=re(n);{var x=h=>{var j=Ys(),U=r(j,!0);a(j),E(()=>b(U,e(ie)?Ts:e(S)._totalCases===0?As:Cs)),o(h,j)};m(d,h=>{e(Te).has(e(S).id)&&h(x)},!0)}o(M,n)};m(L,M=>{var n;e(Te).has(e(S).id)&&((n=e(S).cases)==null?void 0:n.length)>0?M(te):M(F,!1)})}a(Ee),E(M=>{var n;I(de,"open",M),b(He,e(S).name),b(p,((n=e(S).cases)==null?void 0:n.length)??0)},[()=>e(Te).has(e(S).id)],Xe),R("click",ve,()=>{e(Te).has(e(S).id)?e(Te).delete(e(S).id):e(Te).add(e(S).id),i(Te,new Set(e(Te)))}),o(N,Ee)});var he=l(T,2);{var ne=N=>{var S=zs();S.textContent=Ss,o(N,S)};m(he,N=>{e(it).length===0&&N(ne)})}a(w),a($),Ft(q,()=>e(ie),N=>i(ie,N)),o(C,$)};m(X,C=>{e(H)||C(ee)})}a(B),E(()=>{I(B,"locked-workspace",e(H)),b(be,e(s).entries.length)}),xt(3,B,()=>ft,()=>({y:4,duration:150})),o(K,B)},wa=K=>{var B=pr(),ce=r(B);{var we=P=>{var c=er();c.textContent=ls,o(P,c)};m(ce,P=>{e(s).status!=="in-progress"&&!e(H)&&P(we)})}var Re=l(ce,2);{var oe=P=>{var c=tr(),Z=r(c),A=r(Z),W=r(A,!0);a(A);var X=l(A,2),ee=r(X,!0);a(X);var C=l(X,2),$=r(C,!0);a(C),a(Z);var Y=l(Z,2),O=r(Y),q=l(O,2);a(Y),a(c),E((w,T,he)=>{b(W,w),b(ee,T),b($,he),Ne(O,"style",`width: ${e(nt)/e(Ie)*100}%`),Ne(q,"style",`width: ${e(vt)/e(Ie)*100}%`)},[()=>is(e(nt)),()=>os(e(vt)),()=>ns(e(Ie)-e(ot))],Xe),o(P,c)};m(Re,P=>{e(Ie)>0&&P(oe)})}var be=l(Re,2);Be(be,5,()=>e(s).entries,P=>P.id,(P,c)=>{var Z=_r(),A=r(Z),W=r(A),X=r(W);{var ee=p=>{var L=ar();Ne(L,"title",Qa);var te=r(L);a(L),E(F=>I(te,"open",F),[()=>e(ke).has(e(c).id)],Xe),R("click",L,()=>zt(e(c).id)),o(p,L)};m(X,p=>{var L;((L=e(c).case.steps)==null?void 0:L.length)>0&&p(ee)})}var C=l(X,2);ht(C,{get id(){return e(c).case.displayId}});var $=l(C,2);{var Y=p=>{lt(p)};m($,p=>{e(c).case.isAutomated&&p(Y)})}var O=l($,2),q=r(O),w=r(q,!0);a(q);var T=l(q,2),he=r(T,!0);a(T),a(O),a(W);var ne=l(W,2),N=r(ne);{var S=p=>{var L=sr(),te=re(L),F=r(te);lt(F),a(te),pe(2),o(p,L)},Ee=p=>{var L=Fe(),te=re(L);{var F=M=>{var n=ir(),d=re(n),x=r(d);{var h=D=>{var y=rr(),ye=r(y,!0);a(y),E(()=>b(ye,e(c).assignedTo.name)),o(D,y)};m(x,D=>{e(c).assignedTo&&D(h)})}var j=l(x,2);{var U=D=>{var y=lr();y.textContent=gs,E(()=>y.disabled=e(et)===e(c).id),R("click",y,()=>It(e(c).id,e(Pe))),o(D,y)};m(j,D=>{var y;!e(H)&&((y=e(c).assignedTo)==null?void 0:y.id)!==e(Pe)&&D(U)})}a(d),pe(2),o(M,n)};m(te,M=>{var n;(e(c).assignedTo||!e(H)&&((n=e(c).assignedTo)==null?void 0:n.id)!==e(Pe))&&M(F)},!0)}o(p,L)};m(N,p=>{e(c).case.isAutomated?p(S):p(Ee,!1)})}var ve=l(N,2);{var de=p=>{Jt(p,{get status(){return e(c).status}})},Ae=p=>{var L=Fe(),te=re(L);{var F=n=>{var d=or(),x=r(d);x.textContent=vs;var h=l(x,2);h.textContent=ds;var j=l(h,2);j.textContent=cs;var U=l(j,2);U.textContent=us;var D=l(U,2);D.textContent=_s,a(d),E(()=>I(x,"active",e(c).status==="in-progress")),R("click",x,()=>Ue(e(c),"in-progress")),R("click",h,()=>Ue(e(c),"pass")),R("click",j,()=>Ue(e(c),"fail")),R("click",U,()=>Ue(e(c),"blocked")),R("click",D,()=>Ue(e(c),"skip")),o(n,d)},M=n=>{var d=nr(),x=r(d);Jt(x,{get status(){return e(c).status}});var h=l(x,2);Ne(h,"title",ps),h.textContent=ms,a(d),R("click",h,()=>Ue(e(c),"pending")),o(n,d)};m(te,n=>{e(c).status==="pending"||e(c).status==="in-progress"?n(F):n(M,!1)},!0)}o(p,L)};m(ve,p=>{e(H)||e(s).status!=="in-progress"?p(de):p(Ae,!1)})}a(ne),a(A);var He=l(A,2);{var Ke=p=>{var L=ur();Be(L,5,()=>e(c).case.steps,gt,(te,F,M)=>{var n=cr(),d=r(n);d.textContent=M+1;var x=l(d,2),h=r(x),j=r(h,!0);a(h);var U=l(h,2);{var D=ue=>{var _e=vr(),pt=r(_e,!0);a(_e),E(mt=>b(pt,mt),[()=>xs(e(F).testData)],Xe),o(ue,_e)};m(U,ue=>{e(F).testData&&ue(D)})}var y=l(U,2);{var ye=ue=>{var _e=dr(),pt=r(_e,!0);a(_e),E(mt=>b(pt,mt),[()=>fs(e(F).expectedOutput)],Xe),o(ue,_e)};m(y,ue=>{e(F).expectedOutput&&ue(ye)})}a(x),a(n),E(()=>b(j,e(F).action)),o(te,n)}),a(L),o(p,L)};m(He,p=>{e(c).case.steps&&e(c).case.steps.length>0&&e(ke).has(e(c).id)&&p(Ke)})}a(Z),E(()=>{var p;I(Z,"expanded",e(ct)===e(c).id),b(w,e(c).case.title),b(he,((p=e(c).case.suite)==null?void 0:p.name)??"")}),o(P,Z)}),a(be),a(B),xt(3,B,()=>ft,()=>({y:4,duration:150})),o(K,B)};m(fa,K=>{e(le)==="build"?K(ga):K(wa,!1)})}E(()=>{b($e,e(s).title),Aa(Ge,`run-status-badge ${e(s).status??""} svelte-1mxlw2t`),b(Oe,e(s).status),I(st,"active",e(le)==="build"),I(rt,"active",e(le)==="execute")}),R("click",Dt,()=>{i(We,{title:e(s).title}),i(Je,!0)}),R("click",st,()=>i(le,"build")),R("click",rt,()=>i(le,"execute")),o(se,fe)};m(_,se=>{e(s)&&se(g)},!0)}o(t,v)};m(va,t=>{e(Ct)?t(da):t(ca,!1)})}E(()=>{var t;return b(na,((t=e(s))==null?void 0:t.title)??"…")}),o(Le,$t),Tt(),Q()}export{Rr as component};