@chrisjowen/wheelhouse 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -56
- package/build/client/_app/immutable/assets/0.CKUND0qa.css +1 -0
- package/build/client/_app/immutable/assets/0.CKUND0qa.css.br +0 -0
- package/build/client/_app/immutable/assets/0.CKUND0qa.css.gz +0 -0
- package/build/client/_app/immutable/assets/DocSheet.CaO2v_qh.css +1 -0
- package/build/client/_app/immutable/assets/DocSheet.CaO2v_qh.css.br +0 -0
- package/build/client/_app/immutable/assets/DocSheet.CaO2v_qh.css.gz +0 -0
- package/build/client/_app/immutable/chunks/08Q01-Mc.js +1 -0
- package/build/client/_app/immutable/chunks/08Q01-Mc.js.br +0 -0
- package/build/client/_app/immutable/chunks/08Q01-Mc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/0TvUxbRv.js +1 -0
- package/build/client/_app/immutable/chunks/0TvUxbRv.js.br +2 -0
- package/build/client/_app/immutable/chunks/0TvUxbRv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/3Of2kn6M.js +5 -0
- package/build/client/_app/immutable/chunks/3Of2kn6M.js.br +0 -0
- package/build/client/_app/immutable/chunks/3Of2kn6M.js.gz +0 -0
- package/build/client/_app/immutable/chunks/5fVeMNeJ.js +1 -0
- package/build/client/_app/immutable/chunks/5fVeMNeJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/5fVeMNeJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/A8GZ5Uuc.js +1 -0
- package/build/client/_app/immutable/chunks/A8GZ5Uuc.js.br +0 -0
- package/build/client/_app/immutable/chunks/A8GZ5Uuc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/AHy1Hzhf.js +1 -0
- package/build/client/_app/immutable/chunks/AHy1Hzhf.js.br +0 -0
- package/build/client/_app/immutable/chunks/AHy1Hzhf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B3jXa2LJ.js +1 -0
- package/build/client/_app/immutable/chunks/B3jXa2LJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3jXa2LJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BEDHe9fo.js +1 -0
- package/build/client/_app/immutable/chunks/BEDHe9fo.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEDHe9fo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BJ_s8GdZ.js +2 -0
- package/build/client/_app/immutable/chunks/BJ_s8GdZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJ_s8GdZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BKd0HUNP.js +1 -0
- package/build/client/_app/immutable/chunks/BKd0HUNP.js.br +1 -0
- package/build/client/_app/immutable/chunks/BKd0HUNP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BLL4xbEj.js +1 -0
- package/build/client/_app/immutable/chunks/BLL4xbEj.js.br +0 -0
- package/build/client/_app/immutable/chunks/BLL4xbEj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BUUcNufp.js +1 -0
- package/build/client/_app/immutable/chunks/BUUcNufp.js.br +0 -0
- package/build/client/_app/immutable/chunks/BUUcNufp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BVXUMEgB.js +1 -0
- package/build/client/_app/immutable/chunks/BVXUMEgB.js.br +0 -0
- package/build/client/_app/immutable/chunks/BVXUMEgB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BY5XjwMm.js +1 -0
- package/build/client/_app/immutable/chunks/BY5XjwMm.js.br +0 -0
- package/build/client/_app/immutable/chunks/BY5XjwMm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BdZ-2OIO.js +1 -0
- package/build/client/_app/immutable/chunks/BdZ-2OIO.js.br +0 -0
- package/build/client/_app/immutable/chunks/BdZ-2OIO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BdvB_H6l.js +1 -0
- package/build/client/_app/immutable/chunks/BdvB_H6l.js.br +0 -0
- package/build/client/_app/immutable/chunks/BdvB_H6l.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BkLV0FAz.js +1 -0
- package/build/client/_app/immutable/chunks/BkLV0FAz.js.br +0 -0
- package/build/client/_app/immutable/chunks/BkLV0FAz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bm8huziG.js +1 -0
- package/build/client/_app/immutable/chunks/Bm8huziG.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bm8huziG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BnMEvq-8.js +1 -0
- package/build/client/_app/immutable/chunks/BnMEvq-8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BnMEvq-8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BngQrigD.js +1 -0
- package/build/client/_app/immutable/chunks/BngQrigD.js.br +0 -0
- package/build/client/_app/immutable/chunks/BngQrigD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BqQtpLRF.js +5 -0
- package/build/client/_app/immutable/chunks/BqQtpLRF.js.br +0 -0
- package/build/client/_app/immutable/chunks/BqQtpLRF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bx2K4OII.js +1 -0
- package/build/client/_app/immutable/chunks/Bx2K4OII.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bx2K4OII.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bypc6r1_.js +1 -0
- package/build/client/_app/immutable/chunks/Bypc6r1_.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bypc6r1_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C16DfZ5a.js +1 -0
- package/build/client/_app/immutable/chunks/C16DfZ5a.js.br +1 -0
- package/build/client/_app/immutable/chunks/C16DfZ5a.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C3Yi7wCu.js +1 -0
- package/build/client/_app/immutable/chunks/C3Yi7wCu.js.br +0 -0
- package/build/client/_app/immutable/chunks/C3Yi7wCu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C3e5IrpE.js +1 -0
- package/build/client/_app/immutable/chunks/C3e5IrpE.js.br +0 -0
- package/build/client/_app/immutable/chunks/C3e5IrpE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C3o9xHsB.js +1 -0
- package/build/client/_app/immutable/chunks/C3o9xHsB.js.br +0 -0
- package/build/client/_app/immutable/chunks/C3o9xHsB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C6q0X9xa.js +1 -0
- package/build/client/_app/immutable/chunks/C6q0X9xa.js.br +0 -0
- package/build/client/_app/immutable/chunks/C6q0X9xa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C74jQQYs.js +1 -0
- package/build/client/_app/immutable/chunks/C74jQQYs.js.br +0 -0
- package/build/client/_app/immutable/chunks/C74jQQYs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CBHYGBBU.js +4 -0
- package/build/client/_app/immutable/chunks/CBHYGBBU.js.br +0 -0
- package/build/client/_app/immutable/chunks/CBHYGBBU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CD3hbDYc.js +1 -0
- package/build/client/_app/immutable/chunks/CD3hbDYc.js.br +0 -0
- package/build/client/_app/immutable/chunks/CD3hbDYc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CE3Ue5FU.js +1 -0
- package/build/client/_app/immutable/chunks/CE3Ue5FU.js.br +0 -0
- package/build/client/_app/immutable/chunks/CE3Ue5FU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CGGuNYjO.js +1 -0
- package/build/client/_app/immutable/chunks/CGGuNYjO.js.br +0 -0
- package/build/client/_app/immutable/chunks/CGGuNYjO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CH_9Gtej.js +1 -0
- package/build/client/_app/immutable/chunks/CH_9Gtej.js.br +0 -0
- package/build/client/_app/immutable/chunks/CH_9Gtej.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CIj4gWfs.js +1 -0
- package/build/client/_app/immutable/chunks/CIj4gWfs.js.br +0 -0
- package/build/client/_app/immutable/chunks/CIj4gWfs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJ3NIasv.js +1 -0
- package/build/client/_app/immutable/chunks/CJ3NIasv.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJ3NIasv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CKEJURpk.js +1 -0
- package/build/client/_app/immutable/chunks/CKEJURpk.js.br +0 -0
- package/build/client/_app/immutable/chunks/CKEJURpk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CPmGhju_.js +1 -0
- package/build/client/_app/immutable/chunks/CPmGhju_.js.br +1 -0
- package/build/client/_app/immutable/chunks/CPmGhju_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CXcL7cOb.js +1 -0
- package/build/client/_app/immutable/chunks/CXcL7cOb.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXcL7cOb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CXgAyvD-.js +1 -0
- package/build/client/_app/immutable/chunks/CXgAyvD-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXgAyvD-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CZBcpBnY.js +1 -0
- package/build/client/_app/immutable/chunks/CZBcpBnY.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZBcpBnY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CZPeboo-.js +1 -0
- package/build/client/_app/immutable/chunks/CZPeboo-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZPeboo-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cb-gOV5k.js +1 -0
- package/build/client/_app/immutable/chunks/Cb-gOV5k.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cb-gOV5k.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cl72MTSX.js +1 -0
- package/build/client/_app/immutable/chunks/Cl72MTSX.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cl72MTSX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cl7r7DFs.js +1 -0
- package/build/client/_app/immutable/chunks/Cl7r7DFs.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cl7r7DFs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cm8CSK8p.js +1 -0
- package/build/client/_app/immutable/chunks/Cm8CSK8p.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cm8CSK8p.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cng04DK0.js +1 -0
- package/build/client/_app/immutable/chunks/Cng04DK0.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cng04DK0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CqOnPLsz.js +1 -0
- package/build/client/_app/immutable/chunks/CqOnPLsz.js.br +0 -0
- package/build/client/_app/immutable/chunks/CqOnPLsz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cqy1lT7e.js +1 -0
- package/build/client/_app/immutable/chunks/Cqy1lT7e.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cqy1lT7e.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CrjvgIhR.js +1 -0
- package/build/client/_app/immutable/chunks/CrjvgIhR.js.br +0 -0
- package/build/client/_app/immutable/chunks/CrjvgIhR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CsRBDrRN.js +1 -0
- package/build/client/_app/immutable/chunks/CsRBDrRN.js.br +0 -0
- package/build/client/_app/immutable/chunks/CsRBDrRN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CwwFbl61.js +62 -0
- package/build/client/_app/immutable/chunks/CwwFbl61.js.br +0 -0
- package/build/client/_app/immutable/chunks/CwwFbl61.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D0JSbOCt.js +1 -0
- package/build/client/_app/immutable/chunks/D0JSbOCt.js.br +0 -0
- package/build/client/_app/immutable/chunks/D0JSbOCt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D25j-NnT.js +1 -0
- package/build/client/_app/immutable/chunks/D25j-NnT.js.br +0 -0
- package/build/client/_app/immutable/chunks/D25j-NnT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D5hwKKRv.js +1 -0
- package/build/client/_app/immutable/chunks/D5hwKKRv.js.br +0 -0
- package/build/client/_app/immutable/chunks/D5hwKKRv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DBxUIz0k.js +1 -0
- package/build/client/_app/immutable/chunks/DBxUIz0k.js.br +0 -0
- package/build/client/_app/immutable/chunks/DBxUIz0k.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DH7t4M9x.js +1 -0
- package/build/client/_app/immutable/chunks/DH7t4M9x.js.br +0 -0
- package/build/client/_app/immutable/chunks/DH7t4M9x.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DIsXG5DF.js +1 -0
- package/build/client/_app/immutable/chunks/DIsXG5DF.js.br +0 -0
- package/build/client/_app/immutable/chunks/DIsXG5DF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNgh8jh8.js +1 -0
- package/build/client/_app/immutable/chunks/DNgh8jh8.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNgh8jh8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DOWSzKHL.js +1 -0
- package/build/client/_app/immutable/chunks/DOWSzKHL.js.br +0 -0
- package/build/client/_app/immutable/chunks/DOWSzKHL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DSbOoIPC.js +1 -0
- package/build/client/_app/immutable/chunks/DSbOoIPC.js.br +0 -0
- package/build/client/_app/immutable/chunks/DSbOoIPC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DUYBhCSA.js +1 -0
- package/build/client/_app/immutable/chunks/DUYBhCSA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUYBhCSA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DfDxKk91.js +2 -0
- package/build/client/_app/immutable/chunks/DfDxKk91.js.br +0 -0
- package/build/client/_app/immutable/chunks/DfDxKk91.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DhfQd5fc.js +1 -0
- package/build/client/_app/immutable/chunks/DhfQd5fc.js.br +0 -0
- package/build/client/_app/immutable/chunks/DhfQd5fc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DmYFgZ4g.js +6 -0
- package/build/client/_app/immutable/chunks/DmYFgZ4g.js.br +0 -0
- package/build/client/_app/immutable/chunks/DmYFgZ4g.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dn-83VwV.js +1 -0
- package/build/client/_app/immutable/chunks/Dn-83VwV.js.br +1 -0
- package/build/client/_app/immutable/chunks/Dn-83VwV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dnnuh6qK.js +1 -0
- package/build/client/_app/immutable/chunks/Dnnuh6qK.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dnnuh6qK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DocaGLjv.js +1 -0
- package/build/client/_app/immutable/chunks/DocaGLjv.js.br +0 -0
- package/build/client/_app/immutable/chunks/DocaGLjv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dqlbq2bD.js +2 -0
- package/build/client/_app/immutable/chunks/Dqlbq2bD.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dqlbq2bD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DugIbHkD.js +1 -0
- package/build/client/_app/immutable/chunks/DugIbHkD.js.br +0 -0
- package/build/client/_app/immutable/chunks/DugIbHkD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dy07EIjs.js +1 -0
- package/build/client/_app/immutable/chunks/Dy07EIjs.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dy07EIjs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dy_X9Fgu.js +1 -0
- package/build/client/_app/immutable/chunks/Dy_X9Fgu.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dy_X9Fgu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/I26VQaTs.js +2 -0
- package/build/client/_app/immutable/chunks/I26VQaTs.js.br +0 -0
- package/build/client/_app/immutable/chunks/I26VQaTs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/IsTbwoyV.js +1 -0
- package/build/client/_app/immutable/chunks/IsTbwoyV.js.br +0 -0
- package/build/client/_app/immutable/chunks/IsTbwoyV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Km1CymxJ.js +1 -0
- package/build/client/_app/immutable/chunks/Km1CymxJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Km1CymxJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Me06-nC7.js +1 -0
- package/build/client/_app/immutable/chunks/Me06-nC7.js.br +0 -0
- package/build/client/_app/immutable/chunks/Me06-nC7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/PQApLOOr.js +1 -0
- package/build/client/_app/immutable/chunks/PQApLOOr.js.br +0 -0
- package/build/client/_app/immutable/chunks/PQApLOOr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/WcvPAxq7.js +1 -0
- package/build/client/_app/immutable/chunks/WcvPAxq7.js.br +0 -0
- package/build/client/_app/immutable/chunks/WcvPAxq7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ZoG8qKMx.js +1 -0
- package/build/client/_app/immutable/chunks/ZoG8qKMx.js.br +0 -0
- package/build/client/_app/immutable/chunks/ZoG8qKMx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/cZnJ0mAm.js +7 -0
- package/build/client/_app/immutable/chunks/cZnJ0mAm.js.br +0 -0
- package/build/client/_app/immutable/chunks/cZnJ0mAm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/qb_JS6rP.js +1 -0
- package/build/client/_app/immutable/chunks/qb_JS6rP.js.br +0 -0
- package/build/client/_app/immutable/chunks/qb_JS6rP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/riwaJFkb.js +3 -0
- package/build/client/_app/immutable/chunks/riwaJFkb.js.br +0 -0
- package/build/client/_app/immutable/chunks/riwaJFkb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/wDLVOANX.js +2 -0
- package/build/client/_app/immutable/chunks/wDLVOANX.js.br +0 -0
- package/build/client/_app/immutable/chunks/wDLVOANX.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.CNnpPQtw.js +2 -0
- package/build/client/_app/immutable/entry/app.CNnpPQtw.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CNnpPQtw.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BGpEqKH0.js +1 -0
- package/build/client/_app/immutable/entry/start.BGpEqKH0.js.br +0 -0
- package/build/client/_app/immutable/entry/start.BGpEqKH0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.CGlGdRWB.js +8 -0
- package/build/client/_app/immutable/nodes/0.CGlGdRWB.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CGlGdRWB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.B4M0q1v4.js +1 -0
- package/build/client/_app/immutable/nodes/1.B4M0q1v4.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.B4M0q1v4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.LJhhE6c8.js +3 -0
- package/build/client/_app/immutable/nodes/10.LJhhE6c8.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.LJhhE6c8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.CM_xAozz.js +1 -0
- package/build/client/_app/immutable/nodes/11.CM_xAozz.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.CM_xAozz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.UENbuJYy.js +14 -0
- package/build/client/_app/immutable/nodes/12.UENbuJYy.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.UENbuJYy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.NbAfy9an.js +150 -0
- package/build/client/_app/immutable/nodes/13.NbAfy9an.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.NbAfy9an.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.BgyPK-jf.js +11 -0
- package/build/client/_app/immutable/nodes/15.BgyPK-jf.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.BgyPK-jf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.DcgniGJK.js +9 -0
- package/build/client/_app/immutable/nodes/16.DcgniGJK.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.DcgniGJK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.CB9DXHxS.js +2 -0
- package/build/client/_app/immutable/nodes/17.CB9DXHxS.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.CB9DXHxS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.BHa-KoGE.js +6 -0
- package/build/client/_app/immutable/nodes/18.BHa-KoGE.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.BHa-KoGE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19._VaGaWBD.js +1 -0
- package/build/client/_app/immutable/nodes/19._VaGaWBD.js.br +0 -0
- package/build/client/_app/immutable/nodes/19._VaGaWBD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DKxd0T79.js +14 -0
- package/build/client/_app/immutable/nodes/2.DKxd0T79.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DKxd0T79.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.C10FVhEw.js +10 -0
- package/build/client/_app/immutable/nodes/20.C10FVhEw.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.C10FVhEw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.BhyJIr3P.js +6 -0
- package/build/client/_app/immutable/nodes/21.BhyJIr3P.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.BhyJIr3P.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CcRoRYc-.js +5 -0
- package/build/client/_app/immutable/nodes/3.CcRoRYc-.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CcRoRYc-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.BulJqGnt.js +1 -0
- package/build/client/_app/immutable/nodes/4.BulJqGnt.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.BulJqGnt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.BT3hraTU.js +1 -0
- package/build/client/_app/immutable/nodes/5.BT3hraTU.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BT3hraTU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DtNMha3Y.js +7 -0
- package/build/client/_app/immutable/nodes/6.DtNMha3Y.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DtNMha3Y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.Bv6Vn8eC.js +4 -0
- package/build/client/_app/immutable/nodes/7.Bv6Vn8eC.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.Bv6Vn8eC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.DgQz7-Cb.js +1 -0
- package/build/client/_app/immutable/nodes/9.DgQz7-Cb.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DgQz7-Cb.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +7 -7
- package/build/index.js +7 -7
- package/build/server/chunks/chunks/AllowanceMeter.js-DBpmESX6.js +42 -0
- package/build/server/chunks/chunks/DecisionCard.js-B1YgF5EF.js +446 -0
- package/build/server/chunks/chunks/DictateTextarea.js-CbkGsd1h.js +415 -0
- package/build/server/chunks/chunks/DocSheet.js-BPPDMi3P.js +50 -0
- package/build/server/chunks/chunks/EtaLine.js-5SCP9O1f.js +79 -0
- package/build/server/chunks/chunks/EveryProjectSwitch.js-DzcwkHh4.js +200 -0
- package/build/server/chunks/chunks/Icon.js-CVZZ-yuB.js +129 -0
- package/build/server/chunks/chunks/InsightsNav.js-Cmn5y1to.js +18 -0
- package/build/server/chunks/chunks/InstallPlugin.js-B46b-IrK.js +45 -0
- package/build/server/chunks/chunks/LinkedText.js-COjHV297.js +43 -0
- package/build/server/chunks/chunks/ProjectBanner.js-ByPp7Y_e.js +111 -0
- package/build/server/chunks/chunks/ProjectStateMark.js-BkRD8cX4.js +61 -0
- package/build/server/chunks/chunks/QuestionList.js-CppuauNj.js +187 -0
- package/build/server/chunks/chunks/ResizableRail.js-BS8hRLV0.js +395 -0
- package/build/server/chunks/chunks/SettingsNav.js-BtJIv5cc.js +22 -0
- package/build/server/chunks/chunks/SlotContent.js-B4p1QLQN.js +748 -0
- package/build/server/chunks/chunks/StageTrack.js-DHvZX7Bl.js +111 -0
- package/build/server/chunks/chunks/TimeBar.js-CUFKEJW9.js +32 -0
- package/build/server/chunks/chunks/TimeLegend.js-B3Wl61jM.js +29 -0
- package/build/server/chunks/chunks/aliases.svelte.js-C_vCoKdk.js +138 -0
- package/build/server/chunks/chunks/arrow-down.js-Bt3fQooI.js +18 -0
- package/build/server/chunks/chunks/arrow-left.js-BKiSMzvI.js +18 -0
- package/build/server/chunks/chunks/arrow-right.js-CNYqcx0M.js +18 -0
- package/build/server/chunks/chunks/arrow-up.js-DHbXk79z.js +18 -0
- package/build/server/chunks/chunks/attachments.js-BAnnqpd-.js +48 -0
- package/build/server/chunks/chunks/bell.js-CXJp-3UZ.js +150 -0
- package/build/server/chunks/chunks/berths.js-CuAE9lHW.js +268 -0
- package/build/server/chunks/chunks/book-open.js-C2rohN3N.js +23 -0
- package/build/server/chunks/chunks/button.js-BF2PsvWw.js +7311 -0
- package/build/server/chunks/chunks/chat.svelte.js--pRzj_Xo.js +545 -0
- package/build/server/chunks/chunks/check.js-32sYHVxG.js +15 -0
- package/build/server/chunks/chunks/checks.js-DR3fVVpO.js +242 -0
- package/build/server/chunks/chunks/chevron-down.js-CH53s_me.js +15 -0
- package/build/server/chunks/chunks/chevron-left.js-D5RHY-kD.js +15 -0
- package/build/server/chunks/chunks/chevron-right.js-DCBAqAae.js +15 -0
- package/build/server/chunks/chunks/circle-alert.js-XTuAj7ZH.js +23 -0
- package/build/server/chunks/chunks/circle-dashed.js-fXv_bIo-.js +24 -0
- package/build/server/chunks/chunks/circle-dot.js-C950Kosw.js +18 -0
- package/build/server/chunks/chunks/client.js-B_5mNqUe.js +24 -0
- package/build/server/chunks/chunks/clock.js-CHhHTWK_.js +18 -0
- package/build/server/chunks/chunks/compass.js-k2sRSGWn.js +23 -0
- package/build/server/chunks/chunks/detail.js-DDoqeh1A.js +144 -0
- package/build/server/chunks/chunks/docpath.js-D27w_pf9.js +47 -0
- package/build/server/chunks/chunks/external-link.js-BQs1euhR.js +24 -0
- package/build/server/chunks/chunks/file-text.js-CnuVvHlB.js +26 -0
- package/build/server/chunks/chunks/gauge.js-Cbb1aqE7.js +35 -0
- package/build/server/chunks/chunks/git-pull-request.js-BMzktlcs.js +20 -0
- package/build/server/chunks/chunks/hand.js-BA9yKAan.js +25 -0
- package/build/server/chunks/chunks/harbour.js-PHLHOFea.js +117 -0
- package/build/server/chunks/chunks/html.js-FW6Ia4bL.js +8 -0
- package/build/server/chunks/chunks/http.js-CBM8xgUM.js +25 -0
- package/build/server/chunks/chunks/http2.js-fIdVBJaD.js +26 -0
- package/build/server/chunks/chunks/inbox.js-Dv8a1ecX.js +184 -0
- package/build/server/chunks/chunks/inbox.svelte.js-n7K3YnGB.js +171 -0
- package/build/server/chunks/chunks/index-server.js-DsObimPA.js +9 -0
- package/build/server/chunks/chunks/index-server2.js-Fb2GE8KQ.js +17 -0
- package/build/server/chunks/chunks/index.js-B0NFhRTN.js +1524 -0
- package/build/server/chunks/chunks/index2.js-Bxt1T6_K.js +46 -0
- package/build/server/chunks/chunks/internal.js-BlgsFxfY.js +146 -0
- package/build/server/chunks/chunks/live.svelte.js-By2dseJB.js +253 -0
- package/build/server/chunks/chunks/loader-circle.js-rQHvIWN7.js +16 -0
- package/build/server/chunks/chunks/markdown.js-CApgGpeX.js +2634 -0
- package/build/server/chunks/chunks/message-circle-question-mark.js-DbmaS9k_.js +25 -0
- package/build/server/chunks/chunks/message-square-text.js-CyRiNGB8.js +25 -0
- package/build/server/chunks/chunks/message-square.js-XK15WVZq.js +22 -0
- package/build/server/chunks/chunks/messages-square.js-BXH8BHfd.js +28 -0
- package/build/server/chunks/chunks/minus.js-DKvkj8VD.js +15 -0
- package/build/server/chunks/chunks/monitor-play.js-4ed3ghDf.js +28 -0
- package/build/server/chunks/chunks/nav.js-DwnXJgxd.js +29 -0
- package/build/server/chunks/chunks/plus.js-caVrjGZc.js +15 -0
- package/build/server/chunks/chunks/preview.js-hrimfbCG.js +69 -0
- package/build/server/chunks/chunks/prreview.js-Cg9LDxJp.js +92 -0
- package/build/server/chunks/chunks/repo.js-CuWUNKbP.js +33 -0
- package/build/server/chunks/chunks/requests.js-DiL4Poa9.js +42 -0
- package/build/server/chunks/chunks/restart.js-Dv1_ODgZ.js +12 -0
- package/build/server/chunks/chunks/root.js-60iebdW4.js +3105 -0
- package/build/server/chunks/chunks/rotate-cw.js-M4SHOpYI.js +21 -0
- package/build/server/chunks/chunks/runtime.js-BuGWYyZZ.js +16470 -0
- package/build/server/chunks/chunks/scale.js-S5g8YUqL.js +21 -0
- package/build/server/chunks/chunks/scroll-lock.js-Ci_ylINL.js +2811 -0
- package/build/server/chunks/chunks/service.js-DQK1kj-4.js +914 -0
- package/build/server/chunks/chunks/settings.js-C_6kvzhM.js +862 -0
- package/build/server/chunks/chunks/square-terminal.js-D9D9_9_V.js +30 -0
- package/build/server/chunks/chunks/store.js-XXOawxPN.js +317 -0
- package/build/server/chunks/chunks/tone.js-Dxsl-adt.js +31 -0
- package/build/server/chunks/chunks/triangle-alert.js-ClLszsZE.js +25 -0
- package/build/server/chunks/chunks/uploads.js-D45pIvPk.js +107 -0
- package/build/server/chunks/chunks/urls.js-BrlC6XZ8.js +8 -0
- package/build/server/chunks/chunks/utils.js-BJgm9WbO.js +2985 -0
- package/build/server/chunks/chunks/vault.js-CTaWe09z.js +162 -0
- package/build/server/chunks/chunks/view.js-CrOFjYk4.js +76 -0
- package/build/server/chunks/chunks/views.js-DyGxvskG.js +124 -0
- package/build/server/chunks/chunks/words.js-Cte4wOB4.js +48 -0
- package/build/server/chunks/chunks/x.js-YxaUOlq9.js +18 -0
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-DSkVUNdc.js +90 -0
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-CYnLRjOH.js +106 -0
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-CG8IGmSp.js +49 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-fmzKkrXb.js +83 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-BgIU3add.js +119 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-Ba9E_53E.js +45 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-BQZBERsR.js +51 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-BnT3VHSx.js +44 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-DRYHwJ7R.js +66 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-BD2B1ByG.js +54 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-DB-m2WWH.js +44 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-CK3swjFX.js +32 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-WCE63uer.js +40 -0
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-D5-3acjK.js +36 -0
- package/build/server/chunks/entries/endpoints/api/gateway/_server.ts.js-B2I7jHdc.js +100 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-BFSqEG5B.js +36 -0
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-BpUaHfsf.js +60 -0
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-BNRD4HyF.js +51 -0
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-7808SNDM.js +36 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-B-cQTShG.js +71 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-CPAHSih2.js +23 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-DW3M1pzH.js +59 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-DDTSw0pX.js +35 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-BlD-1l6V.js +36 -0
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-IT-jeApI.js +35 -0
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-DQqKN2MF.js +38 -0
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-D7rx-bwI.js +23 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-BC0HjK9M.js +41 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-aVmcjStV.js +50 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-BuHN_WYU.js +62 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-Dx0x7sws.js +49 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-CcCDMmmF.js +72 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-BsOOyTNM.js +55 -0
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DGyU8Zmu.js +55 -0
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-1B8fEiat.js +44 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-D4CKazw-.js +41 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-CUKo26Ia.js +60 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-BOa2lgvP.js +48 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-BmI8Ofms.js +93 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-C2mJi22c.js +110 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/_server.ts.js-8pN6fHl8.js +43 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/ask/_server.ts.js-D6D9O8Su.js +49 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/check/_server.ts.js-BAaCwzOf.js +48 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/guide/_server.ts.js-DfP2iNta.js +48 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/runs/_run_/stop/_server.ts.js-DZDaSSYT.js +41 -0
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-CJNUplXf.js +54 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-CVqjWsw8.js +23 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-CE2zzWtC.js +23 -0
- package/build/server/chunks/entries/endpoints/projects/_server.ts.js-uMp6dcat.js +7 -0
- package/build/server/chunks/entries/fallbacks/error.svelte.js-DnpcUjRk.js +15 -0
- package/build/server/chunks/entries/hooks.server.js-FjSdw_QS.js +54 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-BkWAC802.js +22 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-DstinFjN.js +8746 -0
- package/build/server/chunks/entries/pages/_page.server.ts.js-BXkuWJh7.js +16 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-ehBbQlco.js +2194 -0
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-B2YZfjBk.js +11 -0
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-C3NsHXP-.js +184 -0
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-CT3pm5a6.js +17 -0
- package/build/server/chunks/entries/pages/files/_page.svelte.js-Bj-5ZaJn.js +61 -0
- package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-CcLkegHq.js +46 -0
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-hBC6QUHZ.js +580 -0
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-BazCFIuz.js +11 -0
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-BLFQjLz8.js +149 -0
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-rjm303kf.js +185 -0
- package/build/server/chunks/entries/pages/plugins/_page.server.ts.js-D_nxVVQ0.js +11 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-BRQpg3kQ.js +16 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-DazeLLT8.js +52 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-BIypd_XU.js +23 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-DJajtLup.js +945 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-BwAOIwUv.js +21 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-Cm8mxt61.js +74 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-CnfqlJgl.js +27 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-CuMA-rCM.js +433 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-CG14M19O.js +15 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-mtGQO-dJ.js +1880 -0
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-DnBg1UuM.js +11 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-Zgfe-LX9.js +11 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-BmbSSxk6.js +208 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-DZ4oJmnj.js +19 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-gBZCjZlg.js +1847 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-Dm-tgyir.js +17 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-BFGxdrrb.js +220 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-Llp3a0Fb.js +25 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-LgJMZ2RE.js +2107 -0
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-DuWuEdZ2.js +24 -0
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-BOMmvf6G.js +80 -0
- package/build/server/chunks/entries/pages/tasks/_id_/review/_page.server.ts.js-BMQF9I9c.js +15 -0
- package/build/server/chunks/entries/pages/tasks/_id_/review/_page.svelte.js-k659tqiw.js +657 -0
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-DstGu3ji.js +11 -0
- package/build/server/chunks/entries/pages/time/_page.svelte.js-Ckn0YUW_.js +108 -0
- package/build/server/chunks/handler-BRidfBIY.js +1474 -0
- package/build/server/chunks/index.js-Dhoi5wa_.js +4296 -0
- package/build/server/chunks/manifest.js-CF4aVg77.js +537 -0
- package/build/server/chunks/nodes/0.js-B2yTHeOL.js +41 -0
- package/build/server/chunks/nodes/1.js-BoD2_1or.js +9 -0
- package/build/server/chunks/nodes/10.js-C2XmTW8j.js +43 -0
- package/build/server/chunks/nodes/11.js-CAJnQkWH.js +42 -0
- package/build/server/chunks/nodes/12.js-Cu57dOUj.js +43 -0
- package/build/server/chunks/nodes/13.js-1g1BRnk_.js +42 -0
- package/build/server/chunks/nodes/14.js-Cl3VZ6XR.js +12 -0
- package/build/server/chunks/nodes/15.js-BqL5jpLU.js +41 -0
- package/build/server/chunks/nodes/16.js-DibdTAKZ.js +41 -0
- package/build/server/chunks/nodes/17.js-BUFA5Avk.js +44 -0
- package/build/server/chunks/nodes/18.js-cxLrKmMx.js +42 -0
- package/build/server/chunks/nodes/19.js-DMbI3mDp.js +42 -0
- package/build/server/chunks/nodes/2.js-8QSIq2KZ.js +41 -0
- package/build/server/chunks/nodes/20.js-BNXpftag.js +42 -0
- package/build/server/chunks/nodes/21.js-DdJK6h7p.js +41 -0
- package/build/server/chunks/nodes/3.js-DHT7fiTy.js +41 -0
- package/build/server/chunks/nodes/4.js-DvjrLz8n.js +41 -0
- package/build/server/chunks/nodes/5.js-CvUGUQbi.js +45 -0
- package/build/server/chunks/nodes/6.js-ptKHsAn6.js +41 -0
- package/build/server/chunks/nodes/7.js-BigF9SYG.js +9 -0
- package/build/server/chunks/nodes/8.js-D32pPbKa.js +12 -0
- package/build/server/chunks/nodes/9.js-DkS4HHqV.js +41 -0
- package/dist/cli.js +2156 -62
- package/dist/wh-vault.js +1007 -0
- package/package.json +5 -3
- package/plugins/github-issues/.wheelhouse-plugin/plugin.json +44 -0
- package/plugins/github-issues/README.md +16 -0
- package/plugins/github-issues/wheelhouse/server/index.js +463 -0
- package/plugins/project-links/.wheelhouse-plugin/plugin.json +25 -0
- package/plugins/project-links/README.md +17 -0
- package/plugins/project-links/wheelhouse/server/index.js +278 -0
- package/plugins/project-links/wheelhouse/ui/index.js +87 -0
- package/plugins/vault/.wheelhouse-plugin/plugin.json +22 -0
- package/plugins/vault/README.md +18 -0
- package/plugins/vault/wheelhouse/server/index.js +297 -0
- package/build/client/_app/immutable/assets/0.DaQhCSel.css +0 -1
- package/build/client/_app/immutable/assets/0.DaQhCSel.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DaQhCSel.css.gz +0 -0
- package/build/client/_app/immutable/assets/12.DT1C9nmd.css +0 -1
- package/build/client/_app/immutable/assets/12.DT1C9nmd.css.br +0 -0
- package/build/client/_app/immutable/assets/12.DT1C9nmd.css.gz +0 -0
- package/build/client/_app/immutable/assets/14.CjNfSPQ6.css +0 -1
- package/build/client/_app/immutable/assets/14.CjNfSPQ6.css.br +0 -0
- package/build/client/_app/immutable/assets/14.CjNfSPQ6.css.gz +0 -0
- package/build/client/_app/immutable/chunks/36FDwM1G.js +0 -1
- package/build/client/_app/immutable/chunks/36FDwM1G.js.br +0 -0
- package/build/client/_app/immutable/chunks/36FDwM1G.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1XxiJam.js +0 -1
- package/build/client/_app/immutable/chunks/B1XxiJam.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1XxiJam.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B2wEHue2.js +0 -1
- package/build/client/_app/immutable/chunks/B2wEHue2.js.br +0 -0
- package/build/client/_app/immutable/chunks/B2wEHue2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BAurN1n6.js +0 -2
- package/build/client/_app/immutable/chunks/BAurN1n6.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAurN1n6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BEAYWcbT.js +0 -1
- package/build/client/_app/immutable/chunks/BEAYWcbT.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEAYWcbT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BGINfGsV.js +0 -1
- package/build/client/_app/immutable/chunks/BGINfGsV.js.br +0 -4
- package/build/client/_app/immutable/chunks/BGINfGsV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BHsdHLbF.js +0 -1
- package/build/client/_app/immutable/chunks/BHsdHLbF.js.br +0 -0
- package/build/client/_app/immutable/chunks/BHsdHLbF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BR5v76-T.js +0 -1
- package/build/client/_app/immutable/chunks/BR5v76-T.js.br +0 -0
- package/build/client/_app/immutable/chunks/BR5v76-T.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BUo4hMcM.js +0 -1
- package/build/client/_app/immutable/chunks/BUo4hMcM.js.br +0 -0
- package/build/client/_app/immutable/chunks/BUo4hMcM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BVVO3JPx.js +0 -1
- package/build/client/_app/immutable/chunks/BVVO3JPx.js.br +0 -0
- package/build/client/_app/immutable/chunks/BVVO3JPx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BZm5e4fE.js +0 -1
- package/build/client/_app/immutable/chunks/BZm5e4fE.js.br +0 -0
- package/build/client/_app/immutable/chunks/BZm5e4fE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bfi4vm-w.js +0 -1
- package/build/client/_app/immutable/chunks/Bfi4vm-w.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bfi4vm-w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BiTivU7x.js +0 -1
- package/build/client/_app/immutable/chunks/BiTivU7x.js.br +0 -0
- package/build/client/_app/immutable/chunks/BiTivU7x.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BiuLIp4b.js +0 -1
- package/build/client/_app/immutable/chunks/BiuLIp4b.js.br +0 -0
- package/build/client/_app/immutable/chunks/BiuLIp4b.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bns_F-QV.js +0 -1
- package/build/client/_app/immutable/chunks/Bns_F-QV.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bns_F-QV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Brlpgp90.js +0 -1
- package/build/client/_app/immutable/chunks/Brlpgp90.js.br +0 -0
- package/build/client/_app/immutable/chunks/Brlpgp90.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BunkbzFG.js +0 -1
- package/build/client/_app/immutable/chunks/BunkbzFG.js.br +0 -0
- package/build/client/_app/immutable/chunks/BunkbzFG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwOfqJw9.js +0 -1
- package/build/client/_app/immutable/chunks/BwOfqJw9.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwOfqJw9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-xrRA1Y.js +0 -1
- package/build/client/_app/immutable/chunks/C-xrRA1Y.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-xrRA1Y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C2_XZrIO.js +0 -7
- package/build/client/_app/immutable/chunks/C2_XZrIO.js.br +0 -0
- package/build/client/_app/immutable/chunks/C2_XZrIO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C2d4bDYU.js +0 -1
- package/build/client/_app/immutable/chunks/C2d4bDYU.js.br +0 -0
- package/build/client/_app/immutable/chunks/C2d4bDYU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C6BQPSOs.js +0 -62
- package/build/client/_app/immutable/chunks/C6BQPSOs.js.br +0 -0
- package/build/client/_app/immutable/chunks/C6BQPSOs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CDphfOBv.js +0 -1
- package/build/client/_app/immutable/chunks/CDphfOBv.js.br +0 -0
- package/build/client/_app/immutable/chunks/CDphfOBv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CHoQMvOZ.js +0 -1
- package/build/client/_app/immutable/chunks/CHoQMvOZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/CHoQMvOZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CIE0U5Ih.js +0 -1
- package/build/client/_app/immutable/chunks/CIE0U5Ih.js.br +0 -0
- package/build/client/_app/immutable/chunks/CIE0U5Ih.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLs9Rkbg.js +0 -1
- package/build/client/_app/immutable/chunks/CLs9Rkbg.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLs9Rkbg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/COQ3aAYj.js +0 -1
- package/build/client/_app/immutable/chunks/COQ3aAYj.js.br +0 -0
- package/build/client/_app/immutable/chunks/COQ3aAYj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/COiIt96y.js +0 -1
- package/build/client/_app/immutable/chunks/COiIt96y.js.br +0 -0
- package/build/client/_app/immutable/chunks/COiIt96y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQ7gIAH8.js +0 -1
- package/build/client/_app/immutable/chunks/CQ7gIAH8.js.br +0 -2
- package/build/client/_app/immutable/chunks/CQ7gIAH8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQlHU-Rx.js +0 -1
- package/build/client/_app/immutable/chunks/CQlHU-Rx.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQlHU-Rx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CXfdgbLv.js +0 -1
- package/build/client/_app/immutable/chunks/CXfdgbLv.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXfdgbLv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CeYIQAXD.js +0 -1
- package/build/client/_app/immutable/chunks/CeYIQAXD.js.br +0 -0
- package/build/client/_app/immutable/chunks/CeYIQAXD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CewXGI4o.js +0 -14
- package/build/client/_app/immutable/chunks/CewXGI4o.js.br +0 -0
- package/build/client/_app/immutable/chunks/CewXGI4o.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CfdzAfq2.js +0 -1
- package/build/client/_app/immutable/chunks/CfdzAfq2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CfdzAfq2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CkFDaaNz.js +0 -1
- package/build/client/_app/immutable/chunks/CkFDaaNz.js.br +0 -0
- package/build/client/_app/immutable/chunks/CkFDaaNz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CkLriSVx.js +0 -1
- package/build/client/_app/immutable/chunks/CkLriSVx.js.br +0 -0
- package/build/client/_app/immutable/chunks/CkLriSVx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Clzs_eXS.js +0 -5
- package/build/client/_app/immutable/chunks/Clzs_eXS.js.br +0 -0
- package/build/client/_app/immutable/chunks/Clzs_eXS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CrCQ2NNA.js +0 -1
- package/build/client/_app/immutable/chunks/CrCQ2NNA.js.br +0 -0
- package/build/client/_app/immutable/chunks/CrCQ2NNA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CrgqcyB_.js +0 -1
- package/build/client/_app/immutable/chunks/CrgqcyB_.js.br +0 -0
- package/build/client/_app/immutable/chunks/CrgqcyB_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CtlVBKf-.js +0 -1
- package/build/client/_app/immutable/chunks/CtlVBKf-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CtlVBKf-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D4aeBIhU.js +0 -1
- package/build/client/_app/immutable/chunks/D4aeBIhU.js.br +0 -0
- package/build/client/_app/immutable/chunks/D4aeBIhU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8Hx-_mj.js +0 -1
- package/build/client/_app/immutable/chunks/D8Hx-_mj.js.br +0 -3
- package/build/client/_app/immutable/chunks/D8Hx-_mj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DC8T2WRZ.js +0 -1
- package/build/client/_app/immutable/chunks/DC8T2WRZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DC8T2WRZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DGy76IbW.js +0 -2
- package/build/client/_app/immutable/chunks/DGy76IbW.js.br +0 -0
- package/build/client/_app/immutable/chunks/DGy76IbW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DIABVMrA.js +0 -1
- package/build/client/_app/immutable/chunks/DIABVMrA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DIABVMrA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DLith9Yi.js +0 -1
- package/build/client/_app/immutable/chunks/DLith9Yi.js.br +0 -0
- package/build/client/_app/immutable/chunks/DLith9Yi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DPTtvukI.js +0 -1
- package/build/client/_app/immutable/chunks/DPTtvukI.js.br +0 -0
- package/build/client/_app/immutable/chunks/DPTtvukI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Da92_52d.js +0 -1
- package/build/client/_app/immutable/chunks/Da92_52d.js.br +0 -0
- package/build/client/_app/immutable/chunks/Da92_52d.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Db0WMrvR.js +0 -1
- package/build/client/_app/immutable/chunks/Db0WMrvR.js.br +0 -0
- package/build/client/_app/immutable/chunks/Db0WMrvR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dlb_KqyS.js +0 -2
- package/build/client/_app/immutable/chunks/Dlb_KqyS.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dlb_KqyS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DmcreR7o.js +0 -1
- package/build/client/_app/immutable/chunks/DmcreR7o.js.br +0 -0
- package/build/client/_app/immutable/chunks/DmcreR7o.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dq9kJk5R.js +0 -1
- package/build/client/_app/immutable/chunks/Dq9kJk5R.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dq9kJk5R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DxGQT-Hz.js +0 -1
- package/build/client/_app/immutable/chunks/DxGQT-Hz.js.br +0 -0
- package/build/client/_app/immutable/chunks/DxGQT-Hz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ET-O1REu.js +0 -1
- package/build/client/_app/immutable/chunks/ET-O1REu.js.br +0 -0
- package/build/client/_app/immutable/chunks/ET-O1REu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ewrw42Vq.js +0 -1
- package/build/client/_app/immutable/chunks/Ewrw42Vq.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ewrw42Vq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/FQ69txbU.js +0 -1
- package/build/client/_app/immutable/chunks/FQ69txbU.js.br +0 -0
- package/build/client/_app/immutable/chunks/FQ69txbU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/L-6wuY5f.js +0 -2
- package/build/client/_app/immutable/chunks/L-6wuY5f.js.br +0 -0
- package/build/client/_app/immutable/chunks/L-6wuY5f.js.gz +0 -0
- package/build/client/_app/immutable/chunks/M201SoVK.js +0 -1
- package/build/client/_app/immutable/chunks/M201SoVK.js.br +0 -1
- package/build/client/_app/immutable/chunks/M201SoVK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/OeqXO44y.js +0 -1
- package/build/client/_app/immutable/chunks/OeqXO44y.js.br +0 -0
- package/build/client/_app/immutable/chunks/OeqXO44y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/PPVm8Dsz.js +0 -1
- package/build/client/_app/immutable/chunks/PPVm8Dsz.js.br +0 -0
- package/build/client/_app/immutable/chunks/PPVm8Dsz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/QAFSHLn2.js +0 -1
- package/build/client/_app/immutable/chunks/QAFSHLn2.js.br +0 -0
- package/build/client/_app/immutable/chunks/QAFSHLn2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Tm9AblHs.js +0 -1
- package/build/client/_app/immutable/chunks/Tm9AblHs.js.br +0 -0
- package/build/client/_app/immutable/chunks/Tm9AblHs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/bvY4yrzM.js +0 -4
- package/build/client/_app/immutable/chunks/bvY4yrzM.js.br +0 -0
- package/build/client/_app/immutable/chunks/bvY4yrzM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/eMSiEzFi.js +0 -1
- package/build/client/_app/immutable/chunks/eMSiEzFi.js.br +0 -0
- package/build/client/_app/immutable/chunks/eMSiEzFi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/iVpzjqp1.js +0 -1
- package/build/client/_app/immutable/chunks/iVpzjqp1.js.br +0 -0
- package/build/client/_app/immutable/chunks/iVpzjqp1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/m3YfhLk1.js +0 -1
- package/build/client/_app/immutable/chunks/m3YfhLk1.js.br +0 -0
- package/build/client/_app/immutable/chunks/m3YfhLk1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/p7x6PRF0.js +0 -1
- package/build/client/_app/immutable/chunks/p7x6PRF0.js.br +0 -0
- package/build/client/_app/immutable/chunks/p7x6PRF0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/t4rxsdjl.js +0 -74
- package/build/client/_app/immutable/chunks/t4rxsdjl.js.br +0 -0
- package/build/client/_app/immutable/chunks/t4rxsdjl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/uD7-7yV9.js +0 -1
- package/build/client/_app/immutable/chunks/uD7-7yV9.js.br +0 -4
- package/build/client/_app/immutable/chunks/uD7-7yV9.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.D22_AlD8.js +0 -2
- package/build/client/_app/immutable/entry/app.D22_AlD8.js.br +0 -0
- package/build/client/_app/immutable/entry/app.D22_AlD8.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.xwa7znED.js +0 -1
- package/build/client/_app/immutable/entry/start.xwa7znED.js.br +0 -0
- package/build/client/_app/immutable/entry/start.xwa7znED.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DsfUbybd.js +0 -5
- package/build/client/_app/immutable/nodes/0.DsfUbybd.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DsfUbybd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.9tnApS8T.js +0 -1
- package/build/client/_app/immutable/nodes/1.9tnApS8T.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.9tnApS8T.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.CbyVViLq.js +0 -14
- package/build/client/_app/immutable/nodes/10.CbyVViLq.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.CbyVViLq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.xg5UTCOx.js +0 -77
- package/build/client/_app/immutable/nodes/11.xg5UTCOx.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.xg5UTCOx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.C6hLGaov.js +0 -32
- package/build/client/_app/immutable/nodes/12.C6hLGaov.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.C6hLGaov.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.DHbTeLkm.js +0 -5
- package/build/client/_app/immutable/nodes/13.DHbTeLkm.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.DHbTeLkm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.BMIOGjF-.js +0 -1
- package/build/client/_app/immutable/nodes/14.BMIOGjF-.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.BMIOGjF-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.DYSMqa5A.js +0 -10
- package/build/client/_app/immutable/nodes/15.DYSMqa5A.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.DYSMqa5A.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.B0mX0t_j.js +0 -6
- package/build/client/_app/immutable/nodes/16.B0mX0t_j.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.B0mX0t_j.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CSYV0jmk.js +0 -4
- package/build/client/_app/immutable/nodes/2.CSYV0jmk.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CSYV0jmk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.X5qqsIUa.js +0 -5
- package/build/client/_app/immutable/nodes/3.X5qqsIUa.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.X5qqsIUa.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.Di4k8SR2.js +0 -3
- package/build/client/_app/immutable/nodes/4.Di4k8SR2.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.Di4k8SR2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DMFYTxVa.js +0 -7
- package/build/client/_app/immutable/nodes/5.DMFYTxVa.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DMFYTxVa.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.6yDAURLV.js +0 -4
- package/build/client/_app/immutable/nodes/6.6yDAURLV.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.6yDAURLV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.xxvMU05c.js +0 -1
- package/build/client/_app/immutable/nodes/7.xxvMU05c.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.xxvMU05c.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.GSaWotW8.js +0 -1
- package/build/client/_app/immutable/nodes/8.GSaWotW8.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.GSaWotW8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.CEiUwDDg.js +0 -1
- package/build/client/_app/immutable/nodes/9.CEiUwDDg.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.CEiUwDDg.js.gz +0 -0
- package/build/server/chunks/chunks/AllowanceMeter.js-C9jRsAGU.js +0 -42
- package/build/server/chunks/chunks/DecisionCard.js-u1VQ9s_v.js +0 -350
- package/build/server/chunks/chunks/DictateTextarea.js-BlEnOzcN.js +0 -85
- package/build/server/chunks/chunks/EtaLine.js-Pa4_VV6V.js +0 -79
- package/build/server/chunks/chunks/Icon.js-D7CY3joB.js +0 -129
- package/build/server/chunks/chunks/InsightsNav.js-BlxFBJfj.js +0 -22
- package/build/server/chunks/chunks/MicButton.js-BZSQAyuM.js +0 -336
- package/build/server/chunks/chunks/QuestionList.js-DglKezUe.js +0 -259
- package/build/server/chunks/chunks/SlotContent.js-YqZXXtRz.js +0 -1977
- package/build/server/chunks/chunks/StageTrack.js-BaorW-yk.js +0 -59
- package/build/server/chunks/chunks/TimeBar.js-k38rc7ZI.js +0 -32
- package/build/server/chunks/chunks/TimeLegend.js-BQVvgsvs.js +0 -29
- package/build/server/chunks/chunks/access.js-CS2pJasF.js +0 -816
- package/build/server/chunks/chunks/anchor.js-ByXDBfbi.js +0 -20
- package/build/server/chunks/chunks/arrow-down.js-DXDJc9EE.js +0 -18
- package/build/server/chunks/chunks/arrow-left.js-6Yey35CE.js +0 -18
- package/build/server/chunks/chunks/arrow-right.js-CfbPWRqu.js +0 -18
- package/build/server/chunks/chunks/arrow-up.js-AhghNbhW.js +0 -18
- package/build/server/chunks/chunks/bell.js-CAlv92RY.js +0 -143
- package/build/server/chunks/chunks/blocks.js-BL9jLCe-.js +0 -710
- package/build/server/chunks/chunks/bus.svelte.js-DRTptEhF.js +0 -9
- package/build/server/chunks/chunks/button.js-HeBqLheH.js +0 -7311
- package/build/server/chunks/chunks/chat.svelte.js-Cgdbtjbw.js +0 -537
- package/build/server/chunks/chunks/check.js-bmUhmMEz.js +0 -15
- package/build/server/chunks/chunks/checks.js-BnIxIaus.js +0 -175
- package/build/server/chunks/chunks/chevron-down.js-D75hVSIe.js +0 -15
- package/build/server/chunks/chunks/chevron-right.js-yhLg_GaH.js +0 -15
- package/build/server/chunks/chunks/circle-dashed.js-Bm3gZCXK.js +0 -24
- package/build/server/chunks/chunks/client.js-BUNengrw.js +0 -24
- package/build/server/chunks/chunks/clock.js-D7JTvRbC.js +0 -18
- package/build/server/chunks/chunks/compass.js-Tq6uiG8I.js +0 -23
- package/build/server/chunks/chunks/detail.js-CSjOmiVi.js +0 -133
- package/build/server/chunks/chunks/external-link.js-WxVF0xXO.js +0 -24
- package/build/server/chunks/chunks/file-text.js-CAo3vdqd.js +0 -26
- package/build/server/chunks/chunks/gauge.js-Dw9bgE72.js +0 -35
- package/build/server/chunks/chunks/git-pull-request.js-Cx1w8BQr.js +0 -20
- package/build/server/chunks/chunks/hammer.js-fp_Kidfj.js +0 -24
- package/build/server/chunks/chunks/hand.js-xkYPYJZj.js +0 -37
- package/build/server/chunks/chunks/harbour.js-xu7EfIHk.js +0 -113
- package/build/server/chunks/chunks/http.js-TzZuOtxn.js +0 -25
- package/build/server/chunks/chunks/http2.js-Cr9xuMRL.js +0 -26
- package/build/server/chunks/chunks/inbox.js-CW2sFmx9.js +0 -114
- package/build/server/chunks/chunks/inbox.svelte.js-OoKhjjWM.js +0 -134
- package/build/server/chunks/chunks/index-server.js-CtyUzIGY.js +0 -17
- package/build/server/chunks/chunks/index-server2.js-DMc-UvjC.js +0 -19
- package/build/server/chunks/chunks/index.js-Bn6j9diM.js +0 -1524
- package/build/server/chunks/chunks/index2.js-CXaRTuov.js +0 -46
- package/build/server/chunks/chunks/internal.js-Co-6PAQm.js +0 -146
- package/build/server/chunks/chunks/live.svelte.js-BRUTNc9D.js +0 -196
- package/build/server/chunks/chunks/loader-circle.js-IYRaUYWq.js +0 -16
- package/build/server/chunks/chunks/message-circle-question-mark.js-DwrMi0ty.js +0 -25
- package/build/server/chunks/chunks/message-square-text.js-N5uEmy8L.js +0 -25
- package/build/server/chunks/chunks/message-square.js-Hp-6BHgG.js +0 -22
- package/build/server/chunks/chunks/minus.js-bsfnwE-h.js +0 -15
- package/build/server/chunks/chunks/monitor-play.js-B7qbbPH6.js +0 -28
- package/build/server/chunks/chunks/preview.js-CVD-Kwks.js +0 -68
- package/build/server/chunks/chunks/prreview.js-C5XxDIu2.js +0 -85
- package/build/server/chunks/chunks/root.js-CQzYN4Pu.js +0 -3105
- package/build/server/chunks/chunks/runtime.js-C0n924wq.js +0 -13280
- package/build/server/chunks/chunks/scale.js-vP4G0lZM.js +0 -21
- package/build/server/chunks/chunks/shield-check.js-PJLnCKD9.js +0 -23
- package/build/server/chunks/chunks/spec.js-B0yI1XqG.js +0 -307
- package/build/server/chunks/chunks/split.js-BsCU24rQ.js +0 -20
- package/build/server/chunks/chunks/square-terminal.js-D5Z4Sl2-.js +0 -47
- package/build/server/chunks/chunks/tone.js-r2qFVrZC.js +0 -30
- package/build/server/chunks/chunks/trash.js-DYFbRevY.js +0 -46
- package/build/server/chunks/chunks/triangle-alert.js-DuE40HSU.js +0 -38
- package/build/server/chunks/chunks/utils.js-DTSGDHlH.js +0 -2956
- package/build/server/chunks/chunks/view.js-BtcLmKUY.js +0 -76
- package/build/server/chunks/chunks/view2.js-BdUXqNlY.js +0 -87
- package/build/server/chunks/chunks/views.js-B0wP-tuB.js +0 -137
- package/build/server/chunks/chunks/waypoints.js-D3HN7bje.js +0 -67
- package/build/server/chunks/chunks/x.js-tlds9Ooz.js +0 -18
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-DNHG661Q.js +0 -93
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-XBUQePMq.js +0 -74
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-D1tzpRWy.js +0 -110
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-DqhQUZUA.js +0 -42
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-LsZer0Bi.js +0 -35
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-DQob0XkJ.js +0 -57
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-DgFjtYYL.js +0 -45
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-DOoA4rRW.js +0 -35
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-DZQsFY87.js +0 -27
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-DuSzTlq5.js +0 -27
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-C15XwPXH.js +0 -51
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js--gavJO4f.js +0 -27
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-CsTy_jT6.js +0 -27
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-BWOcGtOU.js +0 -32
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-Kjwbc2wm.js +0 -41
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-BTIb8CUb.js +0 -53
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-Vh52yDJ9.js +0 -40
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-LJDJLrpB.js +0 -63
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-CdDBYH6K.js +0 -46
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DoElFmWK.js +0 -46
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-KiiPnPLF.js +0 -35
- package/build/server/chunks/entries/endpoints/api/specs/_id_/_server.ts.js-LMXTPr04.js +0 -59
- package/build/server/chunks/entries/endpoints/api/specs/_id_/build-request/_server.ts.js-bqjJGIjt.js +0 -47
- package/build/server/chunks/entries/endpoints/api/specs/_id_/comments/_comment_/_server.ts.js-DD1qQE9w.js +0 -36
- package/build/server/chunks/entries/endpoints/api/specs/_id_/comments/_server.ts.js-Bby1xkpH.js +0 -57
- package/build/server/chunks/entries/endpoints/api/specs/_id_/images/_name_/_server.ts.js-CPX8OLQa.js +0 -49
- package/build/server/chunks/entries/endpoints/api/specs/_id_/images/_server.ts.js-BjBV4SVl.js +0 -55
- package/build/server/chunks/entries/endpoints/api/specs/_id_/sent/_server.ts.js-BAqm0IW0.js +0 -36
- package/build/server/chunks/entries/endpoints/api/specs/_id_/turn/_server.ts.js-CNFIHA70.js +0 -82
- package/build/server/chunks/entries/endpoints/api/specs/_server.ts.js-Bix9PKKr.js +0 -40
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-CT7cLDQU.js +0 -32
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-zCsm8UJT.js +0 -51
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-ccyEPbua.js +0 -39
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-eZPQtK6T.js +0 -84
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-CW76hSLW.js +0 -102
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/_server.ts.js-Cjuig1dr.js +0 -34
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/ask/_server.ts.js-C04r1OFS.js +0 -40
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/check/_server.ts.js-Ca5VNJtJ.js +0 -39
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/guide/_server.ts.js-BKLIKSUM.js +0 -39
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/runs/_run_/stop/_server.ts.js-C-D9zXgK.js +0 -32
- package/build/server/chunks/entries/fallbacks/error.svelte.js-DlN_tCrh.js +0 -15
- package/build/server/chunks/entries/hooks.server.js-Cgq1_RNe.js +0 -40
- package/build/server/chunks/entries/pages/_layout.server.ts.js-B7EWMhm1.js +0 -20
- package/build/server/chunks/entries/pages/_layout.svelte.js-BJuZaosz.js +0 -10454
- package/build/server/chunks/entries/pages/_page.server.ts.js-CrjekE3C.js +0 -16
- package/build/server/chunks/entries/pages/_page.svelte.js-BI4c5H0n.js +0 -3699
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-Olm_zS-k.js +0 -11
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-ClTz3O_K.js +0 -167
- package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-CVhhNUGy.js +0 -20
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-43FRNSVK.js +0 -1346
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-Bv8GukD1.js +0 -11
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-zmKQdAwy.js +0 -135
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-wTvAFPNM.js +0 -175
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-BJRmRxez.js +0 -15
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-DfAqJJ3i.js +0 -55
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-DawJ61h-.js +0 -15
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-B472Pugu.js +0 -66
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-Cm-4qkeb.js +0 -14
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-CWjEArXY.js +0 -394
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-DWNW8L5o.js +0 -15
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-iHacn81K.js +0 -1859
- package/build/server/chunks/entries/pages/projects/_page.server.ts.js-BVDM5Frg.js +0 -37
- package/build/server/chunks/entries/pages/projects/_page.svelte.js-B_NQ-Wg3.js +0 -270
- package/build/server/chunks/entries/pages/spec/_page.server.ts.js-B3atEUDm.js +0 -31
- package/build/server/chunks/entries/pages/spec/_page.svelte.js-BJjweG9u.js +0 -1561
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-BDQIO7Ft.js +0 -25
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-Dr2wwDJG.js +0 -2063
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-Bw-3fcQ6.js +0 -24
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-DOyZ1QzI.js +0 -145
- package/build/server/chunks/entries/pages/tasks/_id_/review/_page.server.ts.js-CJek9uLa.js +0 -15
- package/build/server/chunks/entries/pages/tasks/_id_/review/_page.svelte.js-BDaRELgE.js +0 -692
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-An6F-Ydg.js +0 -11
- package/build/server/chunks/entries/pages/time/_page.svelte.js-CSXGxvVs.js +0 -107
- package/build/server/chunks/handler-BnRz5A8m.js +0 -1474
- package/build/server/chunks/index.js-C8djlQGs.js +0 -4296
- package/build/server/chunks/manifest.js-YAglwkb0.js +0 -434
- package/build/server/chunks/nodes/0.js-lkzICUiD.js +0 -32
- package/build/server/chunks/nodes/1.js-BJHI215Q.js +0 -9
- package/build/server/chunks/nodes/10.js-BWB-fD67.js +0 -33
- package/build/server/chunks/nodes/11.js-DWkXu85W.js +0 -33
- package/build/server/chunks/nodes/12.js-CKTx5eRx.js +0 -37
- package/build/server/chunks/nodes/13.js-C9YUj8Wf.js +0 -33
- package/build/server/chunks/nodes/14.js-CvfRHrCy.js +0 -33
- package/build/server/chunks/nodes/15.js-D_eEoMQb.js +0 -33
- package/build/server/chunks/nodes/16.js-BQhgpvij.js +0 -32
- package/build/server/chunks/nodes/2.js-C-3t-e-a.js +0 -32
- package/build/server/chunks/nodes/3.js-DgwKYi6C.js +0 -32
- package/build/server/chunks/nodes/4.js-DRDQ1cZ6.js +0 -34
- package/build/server/chunks/nodes/5.js-Bn5aoN6C.js +0 -32
- package/build/server/chunks/nodes/6.js-lazTWxVv.js +0 -9
- package/build/server/chunks/nodes/7.js-PUjlFfxr.js +0 -32
- package/build/server/chunks/nodes/8.js-DYPhaWV-.js +0 -34
- package/build/server/chunks/nodes/9.js-C2q_Jaiu.js +0 -32
- /package/build/client/_app/immutable/assets/{15.KLSHp5Yu.css → 20.KLSHp5Yu.css} +0 -0
- /package/build/client/_app/immutable/assets/{15.KLSHp5Yu.css.br → 20.KLSHp5Yu.css.br} +0 -0
- /package/build/client/_app/immutable/assets/{15.KLSHp5Yu.css.gz → 20.KLSHp5Yu.css.gz} +0 -0
- /package/build/client/_app/immutable/assets/{4.5dJKCkOT.css → 5.5dJKCkOT.css} +0 -0
- /package/build/client/_app/immutable/assets/{4.5dJKCkOT.css.br → 5.5dJKCkOT.css.br} +0 -0
- /package/build/client/_app/immutable/assets/{4.5dJKCkOT.css.gz → 5.5dJKCkOT.css.gz} +0 -0
- /package/build/client/_app/immutable/assets/{MicButton.Dga9zAug.css → DictateTextarea.Dga9zAug.css} +0 -0
- /package/build/client/_app/immutable/assets/{MicButton.Dga9zAug.css.br → DictateTextarea.Dga9zAug.css.br} +0 -0
- /package/build/client/_app/immutable/assets/{MicButton.Dga9zAug.css.gz → DictateTextarea.Dga9zAug.css.gz} +0 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{k as Pt,p as Dt,i as O,s as m,o as U,r as x,t as B,g as o,a as y,d as M,x as we,b as Kt,af as yr,h as j,n as We,f as Ee,c as w,ah as $s,u as Bs,v as ae,z as br,l as $e,w as Mt,D as _r,m as wr,j as mn,e as kr,$ as xr}from"../chunks/BJ_s8GdZ.js";import{s as On,r as Tn,p as zt,i as G}from"../chunks/CD3hbDYc.js";import{k as gn}from"../chunks/BnMEvq-8.js";import{r as mt,a as Ae,c as Ze,e as Be,s as ge,f as ht,k as bt,m as $t,i as gs,b as Sr,l as mi,h as Nr}from"../chunks/DfDxKk91.js";import{b as Ar,g as Or}from"../chunks/wDLVOANX.js";import{p as Ps}from"../chunks/C16DfZ5a.js";import{c as Tr}from"../chunks/Bm8huziG.js";import{a as Ir,b as Er}from"../chunks/D0JSbOCt.js";import{S as Xn}from"../chunks/BEDHe9fo.js";import{B as et}from"../chunks/PQApLOOr.js";import{S as vn}from"../chunks/BXN538J3.js";import{C as vs,a as Cr,b as Lr,E as jr,F as Mr,O as $r,o as Br,s as Pr}from"../chunks/D7IP_ZEm.js";import{A as gi}from"../chunks/C3Yi7wCu.js";import{S as Dr}from"../chunks/Me06-nC7.js";import{I as In}from"../chunks/Bypc6r1_.js";import{b as Kr}from"../chunks/CJ3NIasv.js";import{X as En}from"../chunks/BdZ-2OIO.js";import{P as Cn}from"../chunks/Dnnuh6qK.js";import{A as vi,a as yi}from"../chunks/DIsXG5DF.js";import{P as Rr,C as Fr}from"../chunks/CH_9Gtej.js";import{C as bi}from"../chunks/D25j-NnT.js";import{C as qr}from"../chunks/DOWSzKHL.js";import{C as Ur}from"../chunks/CPmGhju_.js";import{M as Wr}from"../chunks/Dn-83VwV.js";import{C as Vr}from"../chunks/ZoG8qKMx.js";var Jr=new Set(["$$slots","$$events","$$legacy"]);function Yr(n,e){let t=Tn(e,Jr);const s={name:"flask-conical",size:24,node:[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2"}],["path",{d:"M6.453 15h11.094"}],["path",{d:"M8.5 2h7"}]]};In(n,On(()=>t,{get icon(){return s}}))}var zr=new Set(["$$slots","$$events","$$legacy"]);function Gr(n,e){let t=Tn(e,zr);const s={name:"rotate-ccw",size:24,node:[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}],["path",{d:"M3 3v5h5"}]]};In(n,On(()=>t,{get icon(){return s}}))}var Hr=new Set(["$$slots","$$events","$$legacy"]);function _i(n,e){let t=Tn(e,Hr);const s={name:"trash",size:24,node:[["path",{d:"M10 11v6"}],["path",{d:"M14 11v6"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"}],["path",{d:"M3 6h18"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}]],aliases:["trash-2"]};In(n,On(()=>t,{get icon(){return s}}))}const Ln=Symbol.for("yaml.alias"),yn=Symbol.for("yaml.document"),At=Symbol.for("yaml.map"),wi=Symbol.for("yaml.pair"),gt=Symbol.for("yaml.scalar"),es=Symbol.for("yaml.seq"),ut=Symbol.for("yaml.node.type"),ts=n=>!!n&&typeof n=="object"&&n[ut]===Ln,Fs=n=>!!n&&typeof n=="object"&&n[ut]===yn,rt=n=>!!n&&typeof n=="object"&&n[ut]===At,Ke=n=>!!n&&typeof n=="object"&&n[ut]===wi,xe=n=>!!n&&typeof n=="object"&&n[ut]===gt,wt=n=>!!n&&typeof n=="object"&&n[ut]===es;function Pe(n){if(n&&typeof n=="object")switch(n[ut]){case At:case es:return!0}return!1}function De(n){if(n&&typeof n=="object")switch(n[ut]){case Ln:case At:case gt:case es:return!0}return!1}const ki=n=>(xe(n)||Pe(n))&&!!n.anchor,Ct=Symbol("break visit"),Qr=Symbol("skip children"),hs=Symbol("remove node");function Rt(n,e){const t=Xr(e);Fs(n)?Vt(null,n.contents,t,Object.freeze([n]))===hs&&(n.contents=null):Vt(null,n,t,Object.freeze([]))}Rt.BREAK=Ct;Rt.SKIP=Qr;Rt.REMOVE=hs;function Vt(n,e,t,s){const i=Zr(n,e,t,s);if(De(i)||Ke(i))return ea(n,s,i),Vt(n,i,t,s);if(typeof i!="symbol"){if(Pe(e)){s=Object.freeze(s.concat(e));for(let r=0;r<e.items.length;++r){const a=Vt(r,e.items[r],t,s);if(typeof a=="number")r=a-1;else{if(a===Ct)return Ct;a===hs&&(e.items.splice(r,1),r-=1)}}}else if(Ke(e)){s=Object.freeze(s.concat(e));const r=Vt("key",e.key,t,s);if(r===Ct)return Ct;r===hs&&(e.key=null);const a=Vt("value",e.value,t,s);if(a===Ct)return Ct;a===hs&&(e.value=null)}}return i}function Xr(n){return typeof n=="object"&&(n.Collection||n.Node||n.Value)?Object.assign({Alias:n.Node,Map:n.Node,Scalar:n.Node,Seq:n.Node},n.Value&&{Map:n.Value,Scalar:n.Value,Seq:n.Value},n.Collection&&{Map:n.Collection,Seq:n.Collection},n):n}function Zr(n,e,t,s){if(typeof t=="function")return t(n,e,s);if(rt(e))return t.Map?.(n,e,s);if(wt(e))return t.Seq?.(n,e,s);if(Ke(e))return t.Pair?.(n,e,s);if(xe(e))return t.Scalar?.(n,e,s);if(ts(e))return t.Alias?.(n,e,s)}function ea(n,e,t){const s=e[e.length-1];if(Pe(s))s.items[n]=t;else if(Ke(s))n==="key"?s.key=t:s.value=t;else if(Fs(s))s.contents=t;else{const i=ts(s)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const ta={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},sa=n=>n.replace(/[!,[\]{}]/g,e=>ta[e]);class Ge{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Ge.defaultYaml,e),this.tags=Object.assign({},Ge.defaultTags,t)}clone(){const e=new Ge(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new Ge(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Ge.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Ge.defaultTags);break}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:Ge.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Ge.defaultTags),this.atNextDocument=!1);const s=e.trim().split(/[ \t]+/),i=s.shift();switch(i){case"%TAG":{if(s.length!==2&&(t(0,"%TAG directive should contain exactly two parts"),s.length<2))return!1;const[r,a]=s;return this.tags[r]=a,!0}case"%YAML":{if(this.yaml.explicit=!0,s.length!==1)return t(0,"%YAML directive should contain exactly one part"),!1;const[r]=s;if(r==="1.1"||r==="1.2")return this.yaml.version=r,!0;{const a=/^\d+\.\d+$/.test(r);return t(6,`Unsupported YAML version ${r}`,a),!1}}default:return t(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e==="!")return"!";if(e[0]!=="!")return t(`Not a valid tag: ${e}`),null;if(e[1]==="<"){const a=e.slice(2,-1);return a==="!"||a==="!!"?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&t("Verbatim tags must end with a >"),a)}const[,s,i]=e.match(/^(.*!)([^!]*)$/s);i||t(`The ${e} tag has no suffix`);const r=this.tags[s];if(r)try{return r+decodeURIComponent(i)}catch(a){return t(String(a)),null}return s==="!"?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,s]of Object.entries(this.tags))if(e.startsWith(s))return t+sa(e.substring(s.length));return e[0]==="!"?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],s=Object.entries(this.tags);let i;if(e&&s.length>0&&De(e.contents)){const r={};Rt(e.contents,(a,l)=>{De(l)&&l.tag&&(r[l.tag]=!0)}),i=Object.keys(r)}else i=[];for(const[r,a]of s)r==="!!"&&a==="tag:yaml.org,2002:"||(!e||i.some(l=>l.startsWith(a)))&&t.push(`%TAG ${r} ${a}`);return t.join(`
|
|
2
|
+
`)}}Ge.defaultYaml={explicit:!1,version:"1.2"};Ge.defaultTags={"!!":"tag:yaml.org,2002:"};function xi(n){if(/[\x00-\x19\s,[\]{}]/.test(n)){const t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(n)}`;throw new Error(t)}return!0}function Si(n){const e=new Set;return Rt(n,{Value(t,s){s.anchor&&e.add(s.anchor)}}),e}function Ni(n,e){for(let t=1;;++t){const s=`${n}${t}`;if(!e.has(s))return s}}function na(n,e){const t=[],s=new Map;let i=null;return{onAnchor:r=>{t.push(r),i??(i=Si(n));const a=Ni(e,i);return i.add(a),a},setAnchors:()=>{for(const r of t){const a=s.get(r);if(typeof a=="object"&&a.anchor&&(xe(a.node)||Pe(a.node)))a.node.anchor=a.anchor;else{const l=new Error("Failed to resolve repeated object (this should not happen)");throw l.source=r,l}}},sourceObjects:s}}function Jt(n,e,t,s){if(s&&typeof s=="object")if(Array.isArray(s))for(let i=0,r=s.length;i<r;++i){const a=s[i],l=Jt(n,s,String(i),a);l===void 0?delete s[i]:l!==a&&(s[i]=l)}else if(s instanceof Map)for(const i of Array.from(s.keys())){const r=s.get(i),a=Jt(n,s,i,r);a===void 0?s.delete(i):a!==r&&s.set(i,a)}else if(s instanceof Set)for(const i of Array.from(s)){const r=Jt(n,s,i,i);r===void 0?s.delete(i):r!==i&&(s.delete(i),s.add(r))}else for(const[i,r]of Object.entries(s)){const a=Jt(n,s,i,r);a===void 0?delete s[i]:a!==r&&(s[i]=a)}return n.call(e,t,s)}function ct(n,e,t){if(Array.isArray(n))return n.map((s,i)=>ct(s,String(i),t));if(n&&typeof n.toJSON=="function"){if(!t||!ki(n))return n.toJSON(e,t);const s={aliasCount:0,count:1,res:void 0};t.anchors.set(n,s),t.onCreate=r=>{s.res=r,delete t.onCreate};const i=n.toJSON(e,t);return t.onCreate&&t.onCreate(i),i}return typeof n=="bigint"&&!t?.keep?Number(n):n}class jn{constructor(e){Object.defineProperty(this,ut,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:s,onAnchor:i,reviver:r}={}){if(!Fs(e))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof s=="number"?s:100},l=ct(this,"",a);if(typeof i=="function")for(const{count:c,res:u}of a.anchors.values())i(u,c);return typeof r=="function"?Jt(r,{"":l},"",l):l}}class Mn extends jn{constructor(e){super(Ln),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e,t){if(t?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let s;t?.aliasResolveCache?s=t.aliasResolveCache:(s=[],Rt(e,{Node:(r,a)=>{(ts(a)||ki(a))&&s.push(a)}}),t&&(t.aliasResolveCache=s));let i;for(const r of s){if(r===this)break;r.anchor===this.source&&(i=r)}if(i&&t){const{anchors:r,doc:a,maxAliasCount:l}=t;let c=r.get(i);if(c||(ct(i,null,t),c=r.get(i)),c?.res===void 0){const u="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(u)}if(l>=0&&(c.count+=1,c.aliasCount===0&&(c.aliasCount=Ls(a,i,r)),c.count*c.aliasCount>l)){const u="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(u)}}return i}toJSON(e,t){if(!t)return{source:this.source};const s=this.resolve(t.doc,t);if(!s){const i=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(i)}return t.anchors.get(s).res}toString(e,t,s){const i=`*${this.source}`;if(e){if(xi(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const r=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(r)}if(e.implicitKey)return`${i} `}return i}}function Ls(n,e,t){if(ts(e)){const s=e.resolve(n),i=t&&s&&t.get(s);return i?i.count*i.aliasCount:0}else if(Pe(e)){let s=0;for(const i of e.items){const r=Ls(n,i,t);r>s&&(s=r)}return s}else if(Ke(e)){const s=Ls(n,e.key,t),i=Ls(n,e.value,t);return Math.max(s,i)}return 1}const Ai=n=>!n||typeof n!="function"&&typeof n!="object";class ue extends jn{constructor(e){super(gt),this.value=e}toJSON(e,t){return t?.keep?this.value:ct(this.value,e,t)}toString(){return String(this.value)}}ue.BLOCK_FOLDED="BLOCK_FOLDED";ue.BLOCK_LITERAL="BLOCK_LITERAL";ue.PLAIN="PLAIN";ue.QUOTE_DOUBLE="QUOTE_DOUBLE";ue.QUOTE_SINGLE="QUOTE_SINGLE";const ia="tag:yaml.org,2002:";function ra(n,e,t){if(e){const s=t.filter(r=>r.tag===e),i=s.find(r=>!r.format)??s[0];if(!i)throw new Error(`Tag ${e} not found`);return i}return t.find(s=>s.identify?.(n)&&!s.format)}function ys(n,e,t){if(Fs(n)&&(n=n.contents),De(n))return n;if(Ke(n)){const f=t.schema[At].createNode?.(t.schema,null,t);return f.items.push(n),f}(n instanceof String||n instanceof Number||n instanceof Boolean||typeof BigInt<"u"&&n instanceof BigInt)&&(n=n.valueOf());const{aliasDuplicateObjects:s,onAnchor:i,onTagObj:r,schema:a,sourceObjects:l}=t;let c;if(s&&n&&typeof n=="object"){if(c=l.get(n),c)return c.anchor??(c.anchor=i(n)),new Mn(c.anchor);c={anchor:null,node:null},l.set(n,c)}e?.startsWith("!!")&&(e=ia+e.slice(2));let u=ra(n,e,a.tags);if(!u){if(n&&typeof n.toJSON=="function"&&(n=n.toJSON()),!n||typeof n!="object"){const f=new ue(n);return c&&(c.node=f),f}u=n instanceof Map?a[At]:Symbol.iterator in Object(n)?a[es]:a[At]}r&&(r(u),delete t.onTagObj);const h=u?.createNode?u.createNode(t.schema,n,t):typeof u?.nodeClass?.from=="function"?u.nodeClass.from(t.schema,n,t):new ue(n);return e?h.tag=e:u.default||(h.tag=u.tag),c&&(c.node=h),h}function Ds(n,e,t){let s=t;for(let i=e.length-1;i>=0;--i){const r=e[i];if(typeof r=="number"&&Number.isInteger(r)&&r>=0){const a=[];a[r]=s,s=a}else s=new Map([[r,s]])}return ys(s,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:n,sourceObjects:new Map})}const fs=n=>n==null||typeof n=="object"&&!!n[Symbol.iterator]().next().done;class Oi extends jn{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(s=>De(s)||Ke(s)?s.clone(e):s),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(fs(e))this.add(t);else{const[s,...i]=e,r=this.get(s,!0);if(Pe(r))r.addIn(i,t);else if(r===void 0&&this.schema)this.set(s,Ds(this.schema,i,t));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${i}`)}}deleteIn(e){const[t,...s]=e;if(s.length===0)return this.delete(t);const i=this.get(t,!0);if(Pe(i))return i.deleteIn(s);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${s}`)}getIn(e,t){const[s,...i]=e,r=this.get(s,!0);return i.length===0?!t&&xe(r)?r.value:r:Pe(r)?r.getIn(i,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!Ke(t))return!1;const s=t.value;return s==null||e&&xe(s)&&s.value==null&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(e){const[t,...s]=e;if(s.length===0)return this.has(t);const i=this.get(t,!0);return Pe(i)?i.hasIn(s):!1}setIn(e,t){const[s,...i]=e;if(i.length===0)this.set(s,t);else{const r=this.get(s,!0);if(Pe(r))r.setIn(i,t);else if(r===void 0&&this.schema)this.set(s,Ds(this.schema,i,t));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${i}`)}}}const aa=n=>n.replace(/^(?!$)(?: $)?/gm,"#");function yt(n,e){return/^\n+$/.test(n)?n.substring(1):e?n.replace(/^(?! *$)/gm,e):n}const Lt=(n,e,t)=>n.endsWith(`
|
|
3
|
+
`)?yt(t,e):t.includes(`
|
|
4
|
+
`)?`
|
|
5
|
+
`+yt(t,e):(n.endsWith(" ")?"":" ")+t,Ti="flow",bn="block",js="quoted";function qs(n,e,t="flow",{indentAtStart:s,lineWidth:i=80,minContentWidth:r=20,onFold:a,onOverflow:l}={}){if(!i||i<0)return n;i<r&&(r=0);const c=Math.max(1+r,1+i-e.length);if(n.length<=c)return n;const u=[],h={};let f=i-e.length;typeof s=="number"&&(s>i-Math.max(2,r)?u.push(0):f=i-s);let d,g,A=!1,p=-1,v=-1,N=-1;t===bn&&(p=Zn(n,p,e.length),p!==-1&&(f=p+c));for(let P;P=n[p+=1];){if(t===js&&P==="\\"){switch(v=p,n[p+1]){case"x":p+=3;break;case"u":p+=5;break;case"U":p+=9;break;default:p+=1}N=p}if(P===`
|
|
6
|
+
`)t===bn&&(p=Zn(n,p,e.length)),f=p+e.length+c,d=void 0;else{if(P===" "&&g&&g!==" "&&g!==`
|
|
7
|
+
`&&g!==" "){const D=n[p+1];D&&D!==" "&&D!==`
|
|
8
|
+
`&&D!==" "&&(d=p)}if(p>=f)if(d)u.push(d),f=d+c,d=void 0;else if(t===js){for(;g===" "||g===" ";)g=P,P=n[p+=1],A=!0;const D=p>N+1?p-2:v-1;if(h[D])return n;u.push(D),h[D]=!0,f=D+c,d=void 0}else A=!0}g=P}if(A&&l&&l(),u.length===0)return n;a&&a();let T=n.slice(0,u[0]);for(let P=0;P<u.length;++P){const D=u[P],K=u[P+1]||n.length;D===0?T=`
|
|
9
|
+
${e}${n.slice(0,K)}`:(t===js&&h[D]&&(T+=`${n[D]}\\`),T+=`
|
|
10
|
+
${e}${n.slice(D+1,K)}`)}return T}function Zn(n,e,t){let s=e,i=e+1,r=n[i];for(;r===" "||r===" ";)if(e<i+t)r=n[++e];else{do r=n[++e];while(r&&r!==`
|
|
11
|
+
`);s=e,i=e+1,r=n[i]}return s}const Us=(n,e)=>({indentAtStart:e?n.indent.length:n.indentAtStart,lineWidth:n.options.lineWidth,minContentWidth:n.options.minContentWidth}),Ws=n=>/^(%|---|\.\.\.)/m.test(n);function oa(n,e,t){if(!e||e<0)return!1;const s=e-t,i=n.length;if(i<=s)return!1;for(let r=0,a=0;r<i;++r)if(n[r]===`
|
|
12
|
+
`){if(r-a>s)return!0;if(a=r+1,i-a<=s)return!1}return!0}function ps(n,e){const t=JSON.stringify(n);if(e.options.doubleQuotedAsJSON)return t;const{implicitKey:s}=e,i=e.options.doubleQuotedMinMultiLineLength,r=e.indent||(Ws(n)?" ":"");let a="",l=0;for(let c=0,u=t[c];u;u=t[++c])if(u===" "&&t[c+1]==="\\"&&t[c+2]==="n"&&(a+=t.slice(l,c)+"\\ ",c+=1,l=c,u="\\"),u==="\\")switch(t[c+1]){case"u":{a+=t.slice(l,c);const h=t.substr(c+2,4);switch(h){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:h.substr(0,2)==="00"?a+="\\x"+h.substr(2):a+=t.substr(c,6)}c+=5,l=c+1}break;case"n":if(s||t[c+2]==='"'||t.length<i)c+=1;else{for(a+=t.slice(l,c)+`
|
|
13
|
+
|
|
14
|
+
`;t[c+2]==="\\"&&t[c+3]==="n"&&t[c+4]!=='"';)a+=`
|
|
15
|
+
`,c+=2;a+=r,t[c+2]===" "&&(a+="\\"),c+=1,l=c+1}break;default:c+=1}return a=l?a+t.slice(l):t,s?a:qs(a,r,js,Us(e,!1))}function _n(n,e){if(e.options.singleQuote===!1||e.implicitKey&&n.includes(`
|
|
16
|
+
`)||/[ \t]\n|\n[ \t]/.test(n))return ps(n,e);const t=e.indent||(Ws(n)?" ":""),s="'"+n.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
17
|
+
${t}`)+"'";return e.implicitKey?s:qs(s,t,Ti,Us(e,!1))}function Yt(n,e){const{singleQuote:t}=e.options;let s;if(t===!1)s=ps;else{const i=n.includes('"'),r=n.includes("'");i&&!r?s=_n:r&&!i?s=ps:s=t?_n:ps}return s(n,e)}let wn;try{wn=new RegExp(`(^|(?<!
|
|
18
|
+
))
|
|
19
|
+
+(?!
|
|
20
|
+
|$)`,"g")}catch{wn=/\n+(?!\n|$)/g}function Ms({comment:n,type:e,value:t},s,i,r){const{blockQuote:a,commentString:l,lineWidth:c}=s.options;if(!a||/\n[\t ]+$/.test(t))return Yt(t,s);const u=s.indent||(s.forceBlockIndent||Ws(t)?" ":""),h=a==="literal"?!0:a==="folded"||e===ue.BLOCK_FOLDED?!1:e===ue.BLOCK_LITERAL?!0:!oa(t,c,u.length);if(!t)return h?`|
|
|
21
|
+
`:`>
|
|
22
|
+
`;let f,d;for(d=t.length;d>0;--d){const K=t[d-1];if(K!==`
|
|
23
|
+
`&&K!==" "&&K!==" ")break}let g=t.substring(d);const A=g.indexOf(`
|
|
24
|
+
`);A===-1?f="-":t===g||A!==g.length-1?(f="+",r&&r()):f="",g&&(t=t.slice(0,-g.length),g[g.length-1]===`
|
|
25
|
+
`&&(g=g.slice(0,-1)),g=g.replace(wn,`$&${u}`));let p=!1,v,N=-1;for(v=0;v<t.length;++v){const K=t[v];if(K===" ")p=!0;else if(K===`
|
|
26
|
+
`)N=v;else break}let T=t.substring(0,N<v?N+1:v);T&&(t=t.substring(T.length),T=T.replace(/\n+/g,`$&${u}`));let D=(p?u?"2":"1":"")+f;if(n&&(D+=" "+l(n.replace(/ ?[\r\n]+/g," ")),i&&i()),!h){const K=t.replace(/\n+/g,`
|
|
27
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${u}`);let W=!1;const ie=Us(s,!0);a!=="folded"&&e!==ue.BLOCK_FOLDED&&(ie.onOverflow=()=>{W=!0});const C=qs(`${T}${K}${g}`,u,bn,ie);if(!W)return`>${D}
|
|
28
|
+
${u}${C}`}return t=t.replace(/\n+/g,`$&${u}`),`|${D}
|
|
29
|
+
${u}${T}${t}${g}`}function la(n,e,t,s){const{type:i,value:r}=n,{actualString:a,implicitKey:l,indent:c,indentStep:u,inFlow:h}=e;if(l&&r.includes(`
|
|
30
|
+
`)||h&&/[[\]{},]/.test(r))return Yt(r,e);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(r))return l||h||!r.includes(`
|
|
31
|
+
`)?Yt(r,e):Ms(n,e,t,s);if(!l&&!h&&i!==ue.PLAIN&&r.includes(`
|
|
32
|
+
`))return Ms(n,e,t,s);if(Ws(r)){if(c==="")return e.forceBlockIndent=!0,Ms(n,e,t,s);if(l&&c===u)return Yt(r,e)}const f=r.replace(/\n+/g,`$&
|
|
33
|
+
${c}`);if(a){const d=p=>p.default&&p.tag!=="tag:yaml.org,2002:str"&&p.test?.test(f),{compat:g,tags:A}=e.doc.schema;if(A.some(d)||g?.some(d))return Yt(r,e)}return l?f:qs(f,c,Ti,Us(e,!1))}function $n(n,e,t,s){const{implicitKey:i,inFlow:r}=e,a=typeof n.value=="string"?n:Object.assign({},n,{value:String(n.value)});let{type:l}=n;l!==ue.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(l=ue.QUOTE_DOUBLE);const c=h=>{switch(h){case ue.BLOCK_FOLDED:case ue.BLOCK_LITERAL:return i||r?Yt(a.value,e):Ms(a,e,t,s);case ue.QUOTE_DOUBLE:return ps(a.value,e);case ue.QUOTE_SINGLE:return _n(a.value,e);case ue.PLAIN:return la(a,e,t,s);default:return null}};let u=c(l);if(u===null){const{defaultKeyType:h,defaultStringType:f}=e.options,d=i&&h||f;if(u=c(d),u===null)throw new Error(`Unsupported default string type ${d}`)}return u}function Ii(n,e){const t=Object.assign({blockQuote:!0,commentString:aa,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},n.schema.toStringOptions,e);let s;switch(t.collectionStyle){case"block":s=!1;break;case"flow":s=!0;break;default:s=null}return{anchors:new Set,doc:n,flowCollectionPadding:t.flowCollectionPadding?" ":"",indent:"",indentStep:typeof t.indent=="number"?" ".repeat(t.indent):" ",inFlow:s,options:t}}function ca(n,e){if(e.tag){const i=n.filter(r=>r.tag===e.tag);if(i.length>0)return i.find(r=>r.format===e.format)??i[0]}let t,s;if(xe(e)){s=e.value;let i=n.filter(r=>r.identify?.(s));if(i.length>1){const r=i.filter(a=>a.test);r.length>0&&(i=r)}t=i.find(r=>r.format===e.format)??i.find(r=>!r.format)}else s=e,t=n.find(i=>i.nodeClass&&s instanceof i.nodeClass);if(!t){const i=s?.constructor?.name??(s===null?"null":typeof s);throw new Error(`Tag not resolved for ${i} value`)}return t}function ua(n,e,{anchors:t,doc:s}){if(!s.directives)return"";const i=[],r=(xe(n)||Pe(n))&&n.anchor;r&&xi(r)&&(t.add(r),i.push(`&${r}`));const a=n.tag??(e.default?null:e.tag);return a&&i.push(s.directives.tagString(a)),i.join(" ")}function Xt(n,e,t,s){if(Ke(n))return n.toString(e,t,s);if(ts(n)){if(e.doc.directives)return n.toString(e);if(e.resolvedAliases?.has(n))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(n):e.resolvedAliases=new Set([n]),n=n.resolve(e.doc)}let i;const r=De(n)?n:e.doc.createNode(n,{onTagObj:c=>i=c});i??(i=ca(e.doc.schema.tags,r));const a=ua(r,i,e);a.length>0&&(e.indentAtStart=(e.indentAtStart??0)+a.length+1);const l=typeof i.stringify=="function"?i.stringify(r,e,t,s):xe(r)?$n(r,e,t,s):r.toString(e,t,s);return a?xe(r)||l[0]==="{"||l[0]==="["?`${a} ${l}`:`${a}
|
|
34
|
+
${e.indent}${l}`:l}function fa({key:n,value:e},t,s,i){const{allNullValues:r,doc:a,indent:l,indentStep:c,options:{commentString:u,indentSeq:h,simpleKeys:f}}=t;let d=De(n)&&n.comment||null;if(f){if(d)throw new Error("With simple keys, key nodes cannot have comments");if(Pe(n)||!De(n)&&typeof n=="object"){const ie="With simple keys, collection cannot be used as a key value";throw new Error(ie)}}let g=!f&&(!n||d&&e==null&&!t.inFlow||Pe(n)||(xe(n)?n.type===ue.BLOCK_FOLDED||n.type===ue.BLOCK_LITERAL:typeof n=="object"));t=Object.assign({},t,{allNullValues:!1,implicitKey:!g&&(f||!r),indent:l+c});let A=!1,p=!1,v=Xt(n,t,()=>A=!0,()=>p=!0);if(!g&&!t.inFlow&&v.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(t.inFlow){if(r||e==null)return A&&s&&s(),v===""?"?":g?`? ${v}`:v}else if(r&&!f||e==null&&g)return v=`? ${v}`,d&&!A?v+=Lt(v,t.indent,u(d)):p&&i&&i(),v;A&&(d=null),g?(d&&(v+=Lt(v,t.indent,u(d))),v=`? ${v}
|
|
35
|
+
${l}:`):(v=`${v}:`,d&&(v+=Lt(v,t.indent,u(d))));let N,T,P;De(e)?(N=!!e.spaceBefore,T=e.commentBefore,P=e.comment):(N=!1,T=null,P=null,e&&typeof e=="object"&&(e=a.createNode(e))),t.implicitKey=!1,!g&&!d&&xe(e)&&(t.indentAtStart=v.length+1),p=!1,!h&&c.length>=2&&!t.inFlow&&!g&&wt(e)&&!e.flow&&!e.tag&&!e.anchor&&(t.indent=t.indent.substring(2));let D=!1;const K=Xt(e,t,()=>D=!0,()=>p=!0);let W=" ";if(d||N||T){if(W=N?`
|
|
36
|
+
`:"",T){const ie=u(T);W+=`
|
|
37
|
+
${yt(ie,t.indent)}`}K===""&&!t.inFlow?W===`
|
|
38
|
+
`&&P&&(W=`
|
|
39
|
+
|
|
40
|
+
`):W+=`
|
|
41
|
+
${t.indent}`}else if(!g&&Pe(e)){const ie=K[0],C=K.indexOf(`
|
|
42
|
+
`),H=C!==-1,ve=t.inFlow??e.flow??e.items.length===0;if(H||!ve){let R=!1;if(H&&(ie==="&"||ie==="!")){let I=K.indexOf(" ");ie==="&"&&I!==-1&&I<C&&K[I+1]==="!"&&(I=K.indexOf(" ",I+1)),(I===-1||C<I)&&(R=!0)}R||(W=`
|
|
43
|
+
${t.indent}`)}}else(K===""||K[0]===`
|
|
44
|
+
`)&&(W="");return v+=W+K,t.inFlow?D&&s&&s():P&&!D?v+=Lt(v,t.indent,u(P)):p&&i&&i(),v}function da(n,e){(n==="debug"||n==="warn")&&console.warn(e)}const As="<<",_t={identify:n=>n===As||typeof n=="symbol"&&n.description===As,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new ue(Symbol(As)),{addToJSMap:Ei}),stringify:()=>As},ha=(n,e)=>(_t.identify(e)||xe(e)&&(!e.type||e.type===ue.PLAIN)&&_t.identify(e.value))&&n?.doc.schema.tags.some(t=>t.tag===_t.tag&&t.default);function Ei(n,e,t){const s=Ci(n,t);if(wt(s))for(const i of s.items)nn(n,e,i);else if(Array.isArray(s))for(const i of s)nn(n,e,i);else nn(n,e,s)}function nn(n,e,t){const s=Ci(n,t);if(!rt(s))throw new Error("Merge sources must be maps or map aliases");const i=s.toJSON(null,n,Map);for(const[r,a]of i)e instanceof Map?e.has(r)||e.set(r,a):e instanceof Set?e.add(r):Object.prototype.hasOwnProperty.call(e,r)||Object.defineProperty(e,r,{value:a,writable:!0,enumerable:!0,configurable:!0});return e}function Ci(n,e){return n&&ts(e)?e.resolve(n.doc,n):e}function Li(n,e,{key:t,value:s}){if(De(t)&&t.addToJSMap)t.addToJSMap(n,e,s);else if(ha(n,t))Ei(n,e,s);else{const i=ct(t,"",n);if(e instanceof Map)e.set(i,ct(s,i,n));else if(e instanceof Set)e.add(i);else{const r=pa(t,i,n),a=ct(s,r,n);r in e?Object.defineProperty(e,r,{value:a,writable:!0,enumerable:!0,configurable:!0}):e[r]=a}}return e}function pa(n,e,t){if(e===null)return"";if(typeof e!="object")return String(e);if(De(n)&&t?.doc){const s=Ii(t.doc,{});s.anchors=new Set;for(const r of t.anchors.keys())s.anchors.add(r.anchor);s.inFlow=!0,s.inStringifyKey=!0;const i=n.toString(s);if(!t.mapKeyWarned){let r=JSON.stringify(i);r.length>40&&(r=r.substring(0,36)+'..."'),da(t.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${r}. Set mapAsMap: true to use object keys.`),t.mapKeyWarned=!0}return i}return JSON.stringify(e)}function Bn(n,e,t){const s=ys(n,void 0,t),i=ys(e,void 0,t);return new He(s,i)}class He{constructor(e,t=null){Object.defineProperty(this,ut,{value:wi}),this.key=e,this.value=t}clone(e){let{key:t,value:s}=this;return De(t)&&(t=t.clone(e)),De(s)&&(s=s.clone(e)),new He(t,s)}toJSON(e,t){const s=t?.mapAsMap?new Map:{};return Li(t,s,this)}toString(e,t,s){return e?.doc?fa(this,e,t,s):JSON.stringify(this)}}function ji(n,e,t){return(e.inFlow??n.flow?ga:ma)(n,e,t)}function ma({comment:n,items:e},t,{blockItemPrefix:s,flowChars:i,itemIndent:r,onChompKeep:a,onComment:l}){const{indent:c,options:{commentString:u}}=t,h=Object.assign({},t,{indent:r,type:null});let f=!1;const d=[];for(let A=0;A<e.length;++A){const p=e[A];let v=null;if(De(p))!f&&p.spaceBefore&&d.push(""),Ks(t,d,p.commentBefore,f),p.comment&&(v=p.comment);else if(Ke(p)){const T=De(p.key)?p.key:null;T&&(!f&&T.spaceBefore&&d.push(""),Ks(t,d,T.commentBefore,f))}f=!1;let N=Xt(p,h,()=>v=null,()=>f=!0);v&&(N+=Lt(N,r,u(v))),f&&v&&(f=!1),d.push(s+N)}let g;if(d.length===0)g=i.start+i.end;else{g=d[0];for(let A=1;A<d.length;++A){const p=d[A];g+=p?`
|
|
45
|
+
${c}${p}`:`
|
|
46
|
+
`}}return n?(g+=`
|
|
47
|
+
`+yt(u(n),c),l&&l()):f&&a&&a(),g}function ga({items:n},e,{flowChars:t,itemIndent:s}){const{indent:i,indentStep:r,flowCollectionPadding:a,options:{commentString:l}}=e;s+=r;const c=Object.assign({},e,{indent:s,inFlow:!0,type:null});let u=!1,h=0;const f=[];for(let A=0;A<n.length;++A){const p=n[A];let v=null;if(De(p))p.spaceBefore&&f.push(""),Ks(e,f,p.commentBefore,!1),p.comment&&(v=p.comment);else if(Ke(p)){const T=De(p.key)?p.key:null;T&&(T.spaceBefore&&f.push(""),Ks(e,f,T.commentBefore,!1),T.comment&&(u=!0));const P=De(p.value)?p.value:null;P?(P.comment&&(v=P.comment),P.commentBefore&&(u=!0)):p.value==null&&T?.comment&&(v=T.comment)}v&&(u=!0);let N=Xt(p,c,()=>v=null);u||(u=f.length>h||N.includes(`
|
|
48
|
+
`)),A<n.length-1?N+=",":e.options.trailingComma&&(e.options.lineWidth>0&&(u||(u=f.reduce((T,P)=>T+P.length+2,2)+(N.length+2)>e.options.lineWidth)),u&&(N+=",")),v&&(N+=Lt(N,s,l(v))),f.push(N),h=f.length}const{start:d,end:g}=t;if(f.length===0)return d+g;if(!u){const A=f.reduce((p,v)=>p+v.length+2,2);u=e.options.lineWidth>0&&A>e.options.lineWidth}if(u){let A=d;for(const p of f)A+=p?`
|
|
49
|
+
${r}${i}${p}`:`
|
|
50
|
+
`;return`${A}
|
|
51
|
+
${i}${g}`}else return`${d}${a}${f.join(" ")}${a}${g}`}function Ks({indent:n,options:{commentString:e}},t,s,i){if(s&&i&&(s=s.replace(/^\n+/,"")),s){const r=yt(e(s),n);t.push(r.trimStart())}}function jt(n,e){const t=xe(e)?e.value:e;for(const s of n)if(Ke(s)&&(s.key===e||s.key===t||xe(s.key)&&s.key.value===t))return s}class lt extends Oi{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(At,e),this.items=[]}static from(e,t,s){const{keepUndefined:i,replacer:r}=s,a=new this(e),l=(c,u)=>{if(typeof r=="function")u=r.call(t,c,u);else if(Array.isArray(r)&&!r.includes(c))return;(u!==void 0||i)&&a.items.push(Bn(c,u,s))};if(t instanceof Map)for(const[c,u]of t)l(c,u);else if(t&&typeof t=="object")for(const c of Object.keys(t))l(c,t[c]);return typeof e.sortMapEntries=="function"&&a.items.sort(e.sortMapEntries),a}add(e,t){let s;Ke(e)?s=e:!e||typeof e!="object"||!("key"in e)?s=new He(e,e?.value):s=new He(e.key,e.value);const i=jt(this.items,s.key),r=this.schema?.sortMapEntries;if(i){if(!t)throw new Error(`Key ${s.key} already set`);xe(i.value)&&Ai(s.value)?i.value.value=s.value:i.value=s.value}else if(r){const a=this.items.findIndex(l=>r(s,l)<0);a===-1?this.items.push(s):this.items.splice(a,0,s)}else this.items.push(s)}delete(e){const t=jt(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){const i=jt(this.items,e)?.value;return(!t&&xe(i)?i.value:i)??void 0}has(e){return!!jt(this.items,e)}set(e,t){this.add(new He(e,t),!0)}toJSON(e,t,s){const i=s?new s:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(i);for(const r of this.items)Li(t,i,r);return i}toString(e,t,s){if(!e)return JSON.stringify(this);for(const i of this.items)if(!Ke(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),ji(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:s,onComment:t})}}const ss={collection:"map",default:!0,nodeClass:lt,tag:"tag:yaml.org,2002:map",resolve(n,e){return rt(n)||e("Expected a mapping for this tag"),n},createNode:(n,e,t)=>lt.from(n,e,t)};class Bt extends Oi{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(es,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=Os(e);return typeof t!="number"?!1:this.items.splice(t,1).length>0}get(e,t){const s=Os(e);if(typeof s!="number")return;const i=this.items[s];return!t&&xe(i)?i.value:i}has(e){const t=Os(e);return typeof t=="number"&&t<this.items.length}set(e,t){const s=Os(e);if(typeof s!="number")throw new Error(`Expected a valid index, not ${e}.`);const i=this.items[s];xe(i)&&Ai(t)?i.value=t:this.items[s]=t}toJSON(e,t){const s=[];t?.onCreate&&t.onCreate(s);let i=0;for(const r of this.items)s.push(ct(r,String(i++),t));return s}toString(e,t,s){return e?ji(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:s,onComment:t}):JSON.stringify(this)}static from(e,t,s){const{replacer:i}=s,r=new this(e);if(t&&Symbol.iterator in Object(t)){let a=0;for(let l of t){if(typeof i=="function"){const c=t instanceof Set?l:String(a++);l=i.call(t,c,l)}r.items.push(ys(l,void 0,s))}}return r}}function Os(n){let e=xe(n)?n.value:n;return e&&typeof e=="string"&&(e=Number(e)),typeof e=="number"&&Number.isInteger(e)&&e>=0?e:null}const ns={collection:"seq",default:!0,nodeClass:Bt,tag:"tag:yaml.org,2002:seq",resolve(n,e){return wt(n)||e("Expected a sequence for this tag"),n},createNode:(n,e,t)=>Bt.from(n,e,t)},Vs={identify:n=>typeof n=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:n=>n,stringify(n,e,t,s){return e=Object.assign({actualString:!0},e),$n(n,e,t,s)}},Js={identify:n=>n==null,createNode:()=>new ue(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new ue(null),stringify:({source:n},e)=>typeof n=="string"&&Js.test.test(n)?n:e.options.nullStr},Pn={identify:n=>typeof n=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:n=>new ue(n[0]==="t"||n[0]==="T"),stringify({source:n,value:e},t){if(n&&Pn.test.test(n)){const s=n[0]==="t"||n[0]==="T";if(e===s)return n}return e?t.options.trueStr:t.options.falseStr}};function pt({format:n,minFractionDigits:e,tag:t,value:s}){if(typeof s=="bigint")return String(s);const i=typeof s=="number"?s:Number(s);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let r=Object.is(s,-0)?"-0":JSON.stringify(s);if(!n&&e&&(!t||t==="tag:yaml.org,2002:float")&&/^-?\d/.test(r)&&!r.includes("e")){let a=r.indexOf(".");a<0&&(a=r.length,r+=".");let l=e-(r.length-a-1);for(;l-- >0;)r+="0"}return r}const Mi={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:n=>n.slice(-3).toLowerCase()==="nan"?NaN:n[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:pt},$i={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:n=>parseFloat(n),stringify(n){const e=Number(n.value);return isFinite(e)?e.toExponential():pt(n)}},Bi={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(n){const e=new ue(parseFloat(n)),t=n.indexOf(".");return t!==-1&&n[n.length-1]==="0"&&(e.minFractionDigits=n.length-t-1),e},stringify:pt},Ys=n=>typeof n=="bigint"||Number.isInteger(n),Dn=(n,e,t,{intAsBigInt:s})=>s?BigInt(n):parseInt(n.substring(e),t);function Pi(n,e,t){const{value:s}=n;return Ys(s)&&s>=0?t+s.toString(e):pt(n)}const Di={identify:n=>Ys(n)&&n>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(n,e,t)=>Dn(n,2,8,t),stringify:n=>Pi(n,8,"0o")},Ki={identify:Ys,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(n,e,t)=>Dn(n,0,10,t),stringify:pt},Ri={identify:n=>Ys(n)&&n>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(n,e,t)=>Dn(n,2,16,t),stringify:n=>Pi(n,16,"0x")},va=[ss,ns,Vs,Js,Pn,Di,Ki,Ri,Mi,$i,Bi];function ei(n){return typeof n=="bigint"||Number.isInteger(n)}const Ts=({value:n})=>JSON.stringify(n),ya=[{identify:n=>typeof n=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:n=>n,stringify:Ts},{identify:n=>n==null,createNode:()=>new ue(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Ts},{identify:n=>typeof n=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:n=>n==="true",stringify:Ts},{identify:ei,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(n,e,{intAsBigInt:t})=>t?BigInt(n):parseInt(n,10),stringify:({value:n})=>ei(n)?n.toString():JSON.stringify(n)},{identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:n=>parseFloat(n),stringify:Ts}],ba={default:!0,tag:"",test:/^/,resolve(n,e){return e(`Unresolved plain scalar ${JSON.stringify(n)}`),n}},_a=[ss,ns].concat(ya,ba),Kn={identify:n=>n instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(n,e){if(typeof atob=="function"){const t=atob(n.replace(/[\n\r]/g,"")),s=new Uint8Array(t.length);for(let i=0;i<t.length;++i)s[i]=t.charCodeAt(i);return s}else return e("This environment does not support reading binary tags; either Buffer or atob is required"),n},stringify({comment:n,type:e,value:t},s,i,r){if(!t)return"";const a=t;let l;if(typeof btoa=="function"){let c="";for(let u=0;u<a.length;++u)c+=String.fromCharCode(a[u]);l=btoa(c)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(e??(e=ue.BLOCK_LITERAL),e!==ue.QUOTE_DOUBLE){const c=Math.max(s.options.lineWidth-s.indent.length,s.options.minContentWidth),u=Math.ceil(l.length/c),h=new Array(u);for(let f=0,d=0;f<u;++f,d+=c)h[f]=l.substr(d,c);l=h.join(e===ue.BLOCK_LITERAL?`
|
|
52
|
+
`:" ")}return $n({comment:n,type:e,value:l},s,i,r)}};function Fi(n,e){if(wt(n))for(let t=0;t<n.items.length;++t){let s=n.items[t];if(!Ke(s)){if(rt(s)){s.items.length>1&&e("Each pair must have its own sequence indicator");const i=s.items[0]||new He(new ue(null));if(s.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${s.commentBefore}
|
|
53
|
+
${i.key.commentBefore}`:s.commentBefore),s.comment){const r=i.value??i.key;r.comment=r.comment?`${s.comment}
|
|
54
|
+
${r.comment}`:s.comment}s=i}n.items[t]=Ke(s)?s:new He(s)}}else e("Expected a sequence for this tag");return n}function qi(n,e,t){const{replacer:s}=t,i=new Bt(n);i.tag="tag:yaml.org,2002:pairs";let r=0;if(e&&Symbol.iterator in Object(e))for(let a of e){typeof s=="function"&&(a=s.call(e,String(r++),a));let l,c;if(Array.isArray(a))if(a.length===2)l=a[0],c=a[1];else throw new TypeError(`Expected [key, value] tuple: ${a}`);else if(a&&a instanceof Object){const u=Object.keys(a);if(u.length===1)l=u[0],c=a[l];else throw new TypeError(`Expected tuple with one key, not ${u.length} keys`)}else l=a;i.items.push(Bn(l,c,t))}return i}const Rn={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Fi,createNode:qi};class Gt extends Bt{constructor(){super(),this.add=lt.prototype.add.bind(this),this.delete=lt.prototype.delete.bind(this),this.get=lt.prototype.get.bind(this),this.has=lt.prototype.has.bind(this),this.set=lt.prototype.set.bind(this),this.tag=Gt.tag}toJSON(e,t){if(!t)return super.toJSON(e);const s=new Map;t?.onCreate&&t.onCreate(s);for(const i of this.items){let r,a;if(Ke(i)?(r=ct(i.key,"",t),a=ct(i.value,r,t)):r=ct(i,"",t),s.has(r))throw new Error("Ordered maps must not include duplicate keys");s.set(r,a)}return s}static from(e,t,s){const i=qi(e,t,s),r=new this;return r.items=i.items,r}}Gt.tag="tag:yaml.org,2002:omap";const Fn={collection:"seq",identify:n=>n instanceof Map,nodeClass:Gt,default:!1,tag:"tag:yaml.org,2002:omap",resolve(n,e){const t=Fi(n,e),s=[];for(const{key:i}of t.items)xe(i)&&(s.includes(i.value)?e(`Ordered maps must not include duplicate keys: ${i.value}`):s.push(i.value));return Object.assign(new Gt,t)},createNode:(n,e,t)=>Gt.from(n,e,t)};function Ui({value:n,source:e},t){return e&&(n?Wi:Vi).test.test(e)?e:n?t.options.trueStr:t.options.falseStr}const Wi={identify:n=>n===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new ue(!0),stringify:Ui},Vi={identify:n=>n===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new ue(!1),stringify:Ui},wa={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:n=>n.slice(-3).toLowerCase()==="nan"?NaN:n[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:pt},ka={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:n=>parseFloat(n.replace(/_/g,"")),stringify(n){const e=Number(n.value);return isFinite(e)?e.toExponential():pt(n)}},xa={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(n){const e=new ue(parseFloat(n.replace(/_/g,""))),t=n.indexOf(".");if(t!==-1){const s=n.substring(t+1).replace(/_/g,"");s[s.length-1]==="0"&&(e.minFractionDigits=s.length)}return e},stringify:pt},ks=n=>typeof n=="bigint"||Number.isInteger(n);function zs(n,e,t,{intAsBigInt:s}){const i=n[0];if((i==="-"||i==="+")&&(e+=1),n=n.substring(e).replace(/_/g,""),s){switch(t){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`;break}const a=BigInt(n);return i==="-"?BigInt(-1)*a:a}const r=parseInt(n,t);return i==="-"?-1*r:r}function qn(n,e,t){const{value:s}=n;if(ks(s)){const i=s.toString(e);return s<0?"-"+t+i.substr(1):t+i}return pt(n)}const Sa={identify:ks,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(n,e,t)=>zs(n,2,2,t),stringify:n=>qn(n,2,"0b")},Na={identify:ks,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(n,e,t)=>zs(n,1,8,t),stringify:n=>qn(n,8,"0")},Aa={identify:ks,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(n,e,t)=>zs(n,0,10,t),stringify:pt},Oa={identify:ks,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(n,e,t)=>zs(n,2,16,t),stringify:n=>qn(n,16,"0x")};class Ht extends lt{constructor(e){super(e),this.tag=Ht.tag}add(e){let t;Ke(e)?t=e:e&&typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?t=new He(e.key,null):t=new He(e,null),jt(this.items,t.key)||this.items.push(t)}get(e,t){const s=jt(this.items,e);return!t&&Ke(s)?xe(s.key)?s.key.value:s.key:s}set(e,t){if(typeof t!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const s=jt(this.items,e);s&&!t?this.items.splice(this.items.indexOf(s),1):!s&&t&&this.items.push(new He(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,s){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,s);throw new Error("Set items must all have null values")}static from(e,t,s){const{replacer:i}=s,r=new this(e);if(t&&Symbol.iterator in Object(t))for(let a of t)typeof i=="function"&&(a=i.call(t,a,a)),r.items.push(Bn(a,null,s));return r}}Ht.tag="tag:yaml.org,2002:set";const Un={collection:"map",identify:n=>n instanceof Set,nodeClass:Ht,default:!1,tag:"tag:yaml.org,2002:set",createNode:(n,e,t)=>Ht.from(n,e,t),resolve(n,e){if(rt(n)){if(n.hasAllNullValues(!0))return Object.assign(new Ht,n);e("Set items must all have null values")}else e("Expected a mapping for this tag");return n}};function Wn(n,e){const t=n[0],s=t==="-"||t==="+"?n.substring(1):n,i=a=>e?BigInt(a):Number(a),r=s.replace(/_/g,"").split(":").reduce((a,l)=>a*i(60)+i(l),i(0));return t==="-"?i(-1)*r:r}function Ji(n){let{value:e}=n,t=a=>a;if(typeof e=="bigint")t=a=>BigInt(a);else if(isNaN(e)||!isFinite(e))return pt(n);let s="";e<0&&(s="-",e*=t(-1));const i=t(60),r=[e%i];return e<60?r.unshift(0):(e=(e-r[0])/i,r.unshift(e%i),e>=60&&(e=(e-r[0])/i,r.unshift(e))),s+r.map(a=>String(a).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const Yi={identify:n=>typeof n=="bigint"||Number.isInteger(n),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(n,e,{intAsBigInt:t})=>Wn(n,t),stringify:Ji},zi={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:n=>Wn(n,!1),stringify:Ji},Gs={identify:n=>n instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(n){const e=n.match(Gs.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,t,s,i,r,a,l]=e.map(Number),c=e[7]?Number((e[7]+"00").substr(1,3)):0;let u=Date.UTC(t,s-1,i,r||0,a||0,l||0,c);const h=e[8];if(h&&h!=="Z"){let f=Wn(h,!1);Math.abs(f)<30&&(f*=60),u-=6e4*f}return new Date(u)},stringify:({value:n})=>n?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},ti=[ss,ns,Vs,Js,Wi,Vi,Sa,Na,Aa,Oa,wa,ka,xa,Kn,_t,Fn,Rn,Un,Yi,zi,Gs],si=new Map([["core",va],["failsafe",[ss,ns,Vs]],["json",_a],["yaml11",ti],["yaml-1.1",ti]]),ni={binary:Kn,bool:Pn,float:Bi,floatExp:$i,floatNaN:Mi,floatTime:zi,int:Ki,intHex:Ri,intOct:Di,intTime:Yi,map:ss,merge:_t,null:Js,omap:Fn,pairs:Rn,seq:ns,set:Un,timestamp:Gs},Ta={"tag:yaml.org,2002:binary":Kn,"tag:yaml.org,2002:merge":_t,"tag:yaml.org,2002:omap":Fn,"tag:yaml.org,2002:pairs":Rn,"tag:yaml.org,2002:set":Un,"tag:yaml.org,2002:timestamp":Gs};function rn(n,e,t){const s=si.get(e);if(s&&!n)return t&&!s.includes(_t)?s.concat(_t):s.slice();let i=s;if(!i)if(Array.isArray(n))i=[];else{const r=Array.from(si.keys()).filter(a=>a!=="yaml11").map(a=>JSON.stringify(a)).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${r} or define customTags array`)}if(Array.isArray(n))for(const r of n)i=i.concat(r);else typeof n=="function"&&(i=n(i.slice()));return t&&(i=i.concat(_t)),i.reduce((r,a)=>{const l=typeof a=="string"?ni[a]:a;if(!l){const c=JSON.stringify(a),u=Object.keys(ni).map(h=>JSON.stringify(h)).join(", ");throw new Error(`Unknown custom tag ${c}; use one of ${u}`)}return r.includes(l)||r.push(l),r},[])}const Ia=(n,e)=>n.key<e.key?-1:n.key>e.key?1:0;class Vn{constructor({compat:e,customTags:t,merge:s,resolveKnownTags:i,schema:r,sortMapEntries:a,toStringDefaults:l}){this.compat=Array.isArray(e)?rn(e,"compat"):e?rn(null,e):null,this.name=typeof r=="string"&&r||"core",this.knownTags=i?Ta:{},this.tags=rn(t,this.name,s),this.toStringOptions=l??null,Object.defineProperty(this,At,{value:ss}),Object.defineProperty(this,gt,{value:Vs}),Object.defineProperty(this,es,{value:ns}),this.sortMapEntries=typeof a=="function"?a:a===!0?Ia:null}clone(){const e=Object.create(Vn.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}function Ea(n,e){const t=[];let s=e.directives===!0;if(e.directives!==!1&&n.directives){const c=n.directives.toString(n);c?(t.push(c),s=!0):n.directives.docStart&&(s=!0)}s&&t.push("---");const i=Ii(n,e),{commentString:r}=i.options;if(n.commentBefore){t.length!==1&&t.unshift("");const c=r(n.commentBefore);t.unshift(yt(c,""))}let a=!1,l=null;if(n.contents){if(De(n.contents)){if(n.contents.spaceBefore&&s&&t.push(""),n.contents.commentBefore){const h=r(n.contents.commentBefore);t.push(yt(h,""))}i.forceBlockIndent=!!n.comment,l=n.contents.comment}const c=l?void 0:()=>a=!0;let u=Xt(n.contents,i,()=>l=null,c);l&&(u+=Lt(u,"",r(l))),(u[0]==="|"||u[0]===">")&&t[t.length-1]==="---"?t[t.length-1]=`--- ${u}`:t.push(u)}else t.push(Xt(n.contents,i));if(n.directives?.docEnd)if(n.comment){const c=r(n.comment);c.includes(`
|
|
55
|
+
`)?(t.push("..."),t.push(yt(c,""))):t.push(`... ${c}`)}else t.push("...");else{let c=n.comment;c&&a&&(c=c.replace(/^\n+/,"")),c&&((!a||l)&&t[t.length-1]!==""&&t.push(""),t.push(yt(r(c),"")))}return t.join(`
|
|
56
|
+
`)+`
|
|
57
|
+
`}class Hs{constructor(e,t,s){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,ut,{value:yn});let i=null;typeof t=="function"||Array.isArray(t)?i=t:s===void 0&&t&&(s=t,t=void 0);const r=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},s);this.options=r;let{version:a}=r;s?._directives?(this.directives=s._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new Ge({version:a}),this.setSchema(a,s),this.contents=e===void 0?null:this.createNode(e,i,s)}clone(){const e=Object.create(Hs.prototype,{[ut]:{value:yn}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=De(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Ut(this.contents)&&this.contents.add(e)}addIn(e,t){Ut(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const s=Si(this);e.anchor=!t||s.has(t)?Ni(t||"a",s):t}return new Mn(e.anchor)}createNode(e,t,s){let i;if(typeof t=="function")e=t.call({"":e},"",e),i=t;else if(Array.isArray(t)){const v=T=>typeof T=="number"||T instanceof String||T instanceof Number,N=t.filter(v).map(String);N.length>0&&(t=t.concat(N)),i=t}else s===void 0&&t&&(s=t,t=void 0);const{aliasDuplicateObjects:r,anchorPrefix:a,flow:l,keepUndefined:c,onTagObj:u,tag:h}=s??{},{onAnchor:f,setAnchors:d,sourceObjects:g}=na(this,a||"a"),A={aliasDuplicateObjects:r??!0,keepUndefined:c??!1,onAnchor:f,onTagObj:u,replacer:i,schema:this.schema,sourceObjects:g},p=ys(e,h,A);return l&&Pe(p)&&(p.flow=!0),d(),p}createPair(e,t,s={}){const i=this.createNode(e,null,s),r=this.createNode(t,null,s);return new He(i,r)}delete(e){return Ut(this.contents)?this.contents.delete(e):!1}deleteIn(e){return fs(e)?this.contents==null?!1:(this.contents=null,!0):Ut(this.contents)?this.contents.deleteIn(e):!1}get(e,t){return Pe(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return fs(e)?!t&&xe(this.contents)?this.contents.value:this.contents:Pe(this.contents)?this.contents.getIn(e,t):void 0}has(e){return Pe(this.contents)?this.contents.has(e):!1}hasIn(e){return fs(e)?this.contents!==void 0:Pe(this.contents)?this.contents.hasIn(e):!1}set(e,t){this.contents==null?this.contents=Ds(this.schema,[e],t):Ut(this.contents)&&this.contents.set(e,t)}setIn(e,t){fs(e)?this.contents=t:this.contents==null?this.contents=Ds(this.schema,Array.from(e),t):Ut(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){typeof e=="number"&&(e=String(e));let s;switch(e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Ge({version:"1.1"}),s={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Ge({version:e}),s={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,s=null;break;default:{const i=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(s)this.schema=new Vn(Object.assign(s,t));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:s,maxAliasCount:i,onAnchor:r,reviver:a}={}){const l={anchors:new Map,doc:this,keep:!e,mapAsMap:s===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},c=ct(this.contents,t??"",l);if(typeof r=="function")for(const{count:u,res:h}of l.anchors.values())r(h,u);return typeof a=="function"?Jt(a,{"":c},"",c):c}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return Ea(this,e)}}function Ut(n){if(Pe(n))return!0;throw new Error("Expected a YAML collection as document contents")}class Gi extends Error{constructor(e,t,s,i){super(),this.name=e,this.code=s,this.message=i,this.pos=t}}class ds extends Gi{constructor(e,t,s){super("YAMLParseError",e,t,s)}}class Ca extends Gi{constructor(e,t,s){super("YAMLWarning",e,t,s)}}const ii=(n,e)=>t=>{if(t.pos[0]===-1)return;t.linePos=t.pos.map(l=>e.linePos(l));const{line:s,col:i}=t.linePos[0];t.message+=` at line ${s}, column ${i}`;let r=i-1,a=n.substring(e.lineStarts[s-1],e.lineStarts[s]).replace(/[\n\r]+$/,"");if(r>=60&&a.length>80){const l=Math.min(r-39,a.length-79);a="…"+a.substring(l),r-=l-1}if(a.length>80&&(a=a.substring(0,79)+"…"),s>1&&/^ *$/.test(a.substring(0,r))){let l=n.substring(e.lineStarts[s-2],e.lineStarts[s-1]);l.length>80&&(l=l.substring(0,79)+`…
|
|
58
|
+
`),a=l+a}if(/[^ ]/.test(a)){let l=1;const c=t.linePos[1];c?.line===s&&c.col>i&&(l=Math.max(1,Math.min(c.col-i,80-r)));const u=" ".repeat(r)+"^".repeat(l);t.message+=`:
|
|
59
|
+
|
|
60
|
+
${a}
|
|
61
|
+
${u}
|
|
62
|
+
`}};function Zt(n,{flow:e,indicator:t,next:s,offset:i,onError:r,parentIndent:a,startOnNewline:l}){let c=!1,u=l,h=l,f="",d="",g=!1,A=!1,p=null,v=null,N=null,T=null,P=null,D=null,K=null;for(const C of n)switch(A&&(C.type!=="space"&&C.type!=="newline"&&C.type!=="comma"&&r(C.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),A=!1),p&&(u&&C.type!=="comment"&&C.type!=="newline"&&r(p,"TAB_AS_INDENT","Tabs are not allowed as indentation"),p=null),C.type){case"space":!e&&(t!=="doc-start"||s?.type!=="flow-collection")&&C.source.includes(" ")&&(p=C),h=!0;break;case"comment":{h||r(C,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const H=C.source.substring(1)||" ";f?f+=d+H:f=H,d="",u=!1;break}case"newline":u?f?f+=C.source:(!D||t!=="seq-item-ind")&&(c=!0):d+=C.source,u=!0,g=!0,(v||N)&&(T=C),h=!0;break;case"anchor":v&&r(C,"MULTIPLE_ANCHORS","A node can have at most one anchor"),C.source.endsWith(":")&&r(C.offset+C.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),v=C,K??(K=C.offset),u=!1,h=!1,A=!0;break;case"tag":{N&&r(C,"MULTIPLE_TAGS","A node can have at most one tag"),N=C,K??(K=C.offset),u=!1,h=!1,A=!0;break}case t:(v||N)&&r(C,"BAD_PROP_ORDER",`Anchors and tags must be after the ${C.source} indicator`),D&&r(C,"UNEXPECTED_TOKEN",`Unexpected ${C.source} in ${e??"collection"}`),D=C,u=t==="seq-item-ind"||t==="explicit-key-ind",h=!1;break;case"comma":if(e){P&&r(C,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),P=C,u=!1,h=!1;break}default:r(C,"UNEXPECTED_TOKEN",`Unexpected ${C.type} token`),u=!1,h=!1}const W=n[n.length-1],ie=W?W.offset+W.source.length:i;return A&&s&&s.type!=="space"&&s.type!=="newline"&&s.type!=="comma"&&(s.type!=="scalar"||s.source!=="")&&r(s.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p&&(u&&p.indent<=a||s?.type==="block-map"||s?.type==="block-seq")&&r(p,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:P,found:D,spaceBefore:c,comment:f,hasNewline:g,anchor:v,tag:N,newlineAfterProp:T,end:ie,start:K??ie}}function bs(n){if(!n)return null;switch(n.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(n.source.includes(`
|
|
63
|
+
`))return!0;if(n.end){for(const e of n.end)if(e.type==="newline")return!0}return!1;case"flow-collection":for(const e of n.items){for(const t of e.start)if(t.type==="newline")return!0;if(e.sep){for(const t of e.sep)if(t.type==="newline")return!0}if(bs(e.key)||bs(e.value))return!0}return!1;default:return!0}}function kn(n,e,t){if(e?.type==="flow-collection"){const s=e.end[0];s.indent===n&&(s.source==="]"||s.source==="}")&&bs(e)&&t(s,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Hi(n,e,t){const{uniqueKeys:s}=n.options;if(s===!1)return!1;const i=typeof s=="function"?s:(r,a)=>r===a||xe(r)&&xe(a)&&r.value===a.value;return e.some(r=>i(r.key,t))}const ri="All mapping items must start at the same column";function La({composeNode:n,composeEmptyNode:e},t,s,i,r){const a=r?.nodeClass??lt,l=new a(t.schema);t.atRoot&&(t.atRoot=!1);let c=s.offset,u=null;for(const h of s.items){const{start:f,key:d,sep:g,value:A}=h,p=Zt(f,{indicator:"explicit-key-ind",next:d??g?.[0],offset:c,onError:i,parentIndent:s.indent,startOnNewline:!0}),v=!p.found;if(v){if(d&&(d.type==="block-seq"?i(c,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in d&&d.indent!==s.indent&&i(c,"BAD_INDENT",ri)),!p.anchor&&!p.tag&&!g){u=p.end,p.comment&&(l.comment?l.comment+=`
|
|
64
|
+
`+p.comment:l.comment=p.comment);continue}(p.newlineAfterProp||bs(d))&&i(d??f[f.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else p.found?.indent!==s.indent&&i(c,"BAD_INDENT",ri);t.atKey=!0;const N=p.end,T=d?n(t,d,p,i):e(t,N,f,null,p,i);t.schema.compat&&kn(s.indent,d,i),t.atKey=!1,Hi(t,l.items,T)&&i(N,"DUPLICATE_KEY","Map keys must be unique");const P=Zt(g??[],{indicator:"map-value-ind",next:A,offset:T.range[2],onError:i,parentIndent:s.indent,startOnNewline:!d||d.type==="block-scalar"});if(c=P.end,P.found){v&&(A?.type==="block-map"&&!P.hasNewline&&i(c,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),t.options.strict&&p.start<P.found.offset-1024&&i(T.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const D=A?n(t,A,P,i):e(t,c,g,null,P,i);t.schema.compat&&kn(s.indent,A,i),c=D.range[2];const K=new He(T,D);t.options.keepSourceTokens&&(K.srcToken=h),l.items.push(K)}else{v&&i(T.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),P.comment&&(T.comment?T.comment+=`
|
|
65
|
+
`+P.comment:T.comment=P.comment);const D=new He(T);t.options.keepSourceTokens&&(D.srcToken=h),l.items.push(D)}}return u&&u<c&&i(u,"IMPOSSIBLE","Map comment with trailing content"),l.range=[s.offset,c,u??c],l}function ja({composeNode:n,composeEmptyNode:e},t,s,i,r){const a=r?.nodeClass??Bt,l=new a(t.schema);t.atRoot&&(t.atRoot=!1),t.atKey&&(t.atKey=!1);let c=s.offset,u=null;for(const{start:h,value:f}of s.items){const d=Zt(h,{indicator:"seq-item-ind",next:f,offset:c,onError:i,parentIndent:s.indent,startOnNewline:!0});if(!d.found)if(d.anchor||d.tag||f)f?.type==="block-seq"?i(d.end,"BAD_INDENT","All sequence items must start at the same column"):i(c,"MISSING_CHAR","Sequence item without - indicator");else{u=d.end,d.comment&&(l.comment=d.comment);continue}const g=f?n(t,f,d,i):e(t,d.end,h,null,d,i);t.schema.compat&&kn(s.indent,f,i),c=g.range[2],l.items.push(g)}return l.range=[s.offset,c,u??c],l}function xs(n,e,t,s){let i="";if(n){let r=!1,a="";for(const l of n){const{source:c,type:u}=l;switch(u){case"space":r=!0;break;case"comment":{t&&!r&&s(l,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const h=c.substring(1)||" ";i?i+=a+h:i=h,a="";break}case"newline":i&&(a+=c),r=!0;break;default:s(l,"UNEXPECTED_TOKEN",`Unexpected ${u} at node end`)}e+=c.length}}return{comment:i,offset:e}}const an="Block collections are not allowed within flow collections",on=n=>n&&(n.type==="block-map"||n.type==="block-seq");function Ma({composeNode:n,composeEmptyNode:e},t,s,i,r){const a=s.start.source==="{",l=a?"flow map":"flow sequence",c=r?.nodeClass??(a?lt:Bt),u=new c(t.schema);u.flow=!0;const h=t.atRoot;h&&(t.atRoot=!1),t.atKey&&(t.atKey=!1);let f=s.offset+s.start.source.length;for(let v=0;v<s.items.length;++v){const N=s.items[v],{start:T,key:P,sep:D,value:K}=N,W=Zt(T,{flow:l,indicator:"explicit-key-ind",next:P??D?.[0],offset:f,onError:i,parentIndent:s.indent,startOnNewline:!1});if(!W.found){if(!W.anchor&&!W.tag&&!D&&!K){v===0&&W.comma?i(W.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`):v<s.items.length-1&&i(W.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${l}`),W.comment&&(u.comment?u.comment+=`
|
|
66
|
+
`+W.comment:u.comment=W.comment),f=W.end;continue}!a&&t.options.strict&&bs(P)&&i(P,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(v===0)W.comma&&i(W.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`);else if(W.comma||i(W.start,"MISSING_CHAR",`Missing , between ${l} items`),W.comment){let ie="";e:for(const C of T)switch(C.type){case"comma":case"space":break;case"comment":ie=C.source.substring(1);break e;default:break e}if(ie){let C=u.items[u.items.length-1];Ke(C)&&(C=C.value??C.key),C.comment?C.comment+=`
|
|
67
|
+
`+ie:C.comment=ie,W.comment=W.comment.substring(ie.length+1)}}if(!a&&!D&&!W.found){const ie=K?n(t,K,W,i):e(t,W.end,D,null,W,i);u.items.push(ie),f=ie.range[2],on(K)&&i(ie.range,"BLOCK_IN_FLOW",an)}else{t.atKey=!0;const ie=W.end,C=P?n(t,P,W,i):e(t,ie,T,null,W,i);on(P)&&i(C.range,"BLOCK_IN_FLOW",an),t.atKey=!1;const H=Zt(D??[],{flow:l,indicator:"map-value-ind",next:K,offset:C.range[2],onError:i,parentIndent:s.indent,startOnNewline:!1});if(H.found){if(!a&&!W.found&&t.options.strict){if(D)for(const I of D){if(I===H.found)break;if(I.type==="newline"){i(I,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}W.start<H.found.offset-1024&&i(H.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else K&&("source"in K&&K.source?.[0]===":"?i(K,"MISSING_CHAR",`Missing space after : in ${l}`):i(H.start,"MISSING_CHAR",`Missing , or : between ${l} items`));const ve=K?n(t,K,H,i):H.found?e(t,H.end,D,null,H,i):null;ve?on(K)&&i(ve.range,"BLOCK_IN_FLOW",an):H.comment&&(C.comment?C.comment+=`
|
|
68
|
+
`+H.comment:C.comment=H.comment);const R=new He(C,ve);if(t.options.keepSourceTokens&&(R.srcToken=N),a){const I=u;Hi(t,I.items,C)&&i(ie,"DUPLICATE_KEY","Map keys must be unique"),I.items.push(R)}else{const I=new lt(t.schema);I.flow=!0,I.items.push(R);const $=(ve??C).range;I.range=[C.range[0],$[1],$[2]],u.items.push(I)}f=ve?ve.range[2]:H.end}}const d=a?"}":"]",[g,...A]=s.end;let p=f;if(g?.source===d)p=g.offset+g.source.length;else{const v=l[0].toUpperCase()+l.substring(1),N=h?`${v} must end with a ${d}`:`${v} in block collection must be sufficiently indented and end with a ${d}`;i(f,h?"MISSING_CHAR":"BAD_INDENT",N),g&&g.source.length!==1&&A.unshift(g)}if(A.length>0){const v=xs(A,p,t.options.strict,i);v.comment&&(u.comment?u.comment+=`
|
|
69
|
+
`+v.comment:u.comment=v.comment),u.range=[s.offset,p,v.offset]}else u.range=[s.offset,p,p];return u}function ln(n,e,t,s,i,r){const a=t.type==="block-map"?La(n,e,t,s,r):t.type==="block-seq"?ja(n,e,t,s,r):Ma(n,e,t,s,r),l=a.constructor;return i==="!"||i===l.tagName?(a.tag=l.tagName,a):(i&&(a.tag=i),a)}function $a(n,e,t,s,i){const r=s.tag,a=r?e.directives.tagName(r.source,d=>i(r,"TAG_RESOLVE_FAILED",d)):null;if(t.type==="block-seq"){const{anchor:d,newlineAfterProp:g}=s,A=d&&r?d.offset>r.offset?d:r:d??r;A&&(!g||g.offset<A.offset)&&i(A,"MISSING_CHAR","Missing newline after block sequence props")}const l=t.type==="block-map"?"map":t.type==="block-seq"?"seq":t.start.source==="{"?"map":"seq";if(!r||!a||a==="!"||a===lt.tagName&&l==="map"||a===Bt.tagName&&l==="seq")return ln(n,e,t,i,a);let c=e.schema.tags.find(d=>d.tag===a&&d.collection===l);if(!c){const d=e.schema.knownTags[a];if(d?.collection===l)e.schema.tags.push(Object.assign({},d,{default:!1})),c=d;else return d?i(r,"BAD_COLLECTION_TYPE",`${d.tag} used for ${l} collection, but expects ${d.collection??"scalar"}`,!0):i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,!0),ln(n,e,t,i,a)}const u=ln(n,e,t,i,a,c),h=c.resolve?.(u,d=>i(r,"TAG_RESOLVE_FAILED",d),e.options)??u,f=De(h)?h:new ue(h);return f.range=u.range,f.tag=a,c?.format&&(f.format=c.format),f}function Ba(n,e,t){const s=e.offset,i=Pa(e,n.options.strict,t);if(!i)return{value:"",type:null,comment:"",range:[s,s,s]};const r=i.mode===">"?ue.BLOCK_FOLDED:ue.BLOCK_LITERAL,a=e.source?Da(e.source):[];let l=a.length;for(let p=a.length-1;p>=0;--p){const v=a[p][1];if(v===""||v==="\r")l=p;else break}if(l===0){const p=i.chomp==="+"&&a.length>0?`
|
|
70
|
+
`.repeat(Math.max(1,a.length-1)):"";let v=s+i.length;return e.source&&(v+=e.source.length),{value:p,type:r,comment:i.comment,range:[s,v,v]}}let c=e.indent+i.indent,u=e.offset+i.length,h=0;for(let p=0;p<l;++p){const[v,N]=a[p];if(N===""||N==="\r")i.indent===0&&v.length>c&&(c=v.length);else{v.length<c&&t(u+v.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(c=v.length),h=p,c===0&&!n.atRoot&&t(u,"BAD_INDENT","Block scalar values in collections must be indented");break}u+=v.length+N.length+1}for(let p=a.length-1;p>=l;--p)a[p][0].length>c&&(l=p+1);let f="",d="",g=!1;for(let p=0;p<h;++p)f+=a[p][0].slice(c)+`
|
|
71
|
+
`;for(let p=h;p<l;++p){let[v,N]=a[p];u+=v.length+N.length+1;const T=N[N.length-1]==="\r";if(T&&(N=N.slice(0,-1)),N&&v.length<c){const D=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;t(u-N.length-(T?2:1),"BAD_INDENT",D),v=""}r===ue.BLOCK_LITERAL?(f+=d+v.slice(c)+N,d=`
|
|
72
|
+
`):v.length>c||N[0]===" "?(d===" "?d=`
|
|
73
|
+
`:!g&&d===`
|
|
74
|
+
`&&(d=`
|
|
75
|
+
|
|
76
|
+
`),f+=d+v.slice(c)+N,d=`
|
|
77
|
+
`,g=!0):N===""?d===`
|
|
78
|
+
`?f+=`
|
|
79
|
+
`:d=`
|
|
80
|
+
`:(f+=d+N,d=" ",g=!1)}switch(i.chomp){case"-":break;case"+":for(let p=l;p<a.length;++p)f+=`
|
|
81
|
+
`+a[p][0].slice(c);f[f.length-1]!==`
|
|
82
|
+
`&&(f+=`
|
|
83
|
+
`);break;default:f+=`
|
|
84
|
+
`}const A=s+i.length+e.source.length;return{value:f,type:r,comment:i.comment,range:[s,A,A]}}function Pa({offset:n,props:e},t,s){if(e[0].type!=="block-scalar-header")return s(e[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=e[0],r=i[0];let a=0,l="",c=-1;for(let d=1;d<i.length;++d){const g=i[d];if(!l&&(g==="-"||g==="+"))l=g;else{const A=Number(g);!a&&A?a=A:c===-1&&(c=n+d)}}c!==-1&&s(c,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let u=!1,h="",f=i.length;for(let d=1;d<e.length;++d){const g=e[d];switch(g.type){case"space":u=!0;case"newline":f+=g.source.length;break;case"comment":t&&!u&&s(g,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),f+=g.source.length,h=g.source.substring(1);break;case"error":s(g,"UNEXPECTED_TOKEN",g.message),f+=g.source.length;break;default:{const A=`Unexpected token in block scalar header: ${g.type}`;s(g,"UNEXPECTED_TOKEN",A);const p=g.source;p&&typeof p=="string"&&(f+=p.length)}}}return{mode:r,indent:a,chomp:l,comment:h,length:f}}function Da(n){const e=n.split(/\n( *)/),t=e[0],s=t.match(/^( *)/),r=[s?.[1]?[s[1],t.slice(s[1].length)]:["",t]];for(let a=1;a<e.length;a+=2)r.push([e[a],e[a+1]]);return r}function Ka(n,e,t){const{offset:s,type:i,source:r,end:a}=n;let l,c;const u=(d,g,A)=>t(s+d,g,A);switch(i){case"scalar":l=ue.PLAIN,c=Ra(r,u);break;case"single-quoted-scalar":l=ue.QUOTE_SINGLE,c=Fa(r,u);break;case"double-quoted-scalar":l=ue.QUOTE_DOUBLE,c=qa(r,u);break;default:return t(n,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[s,s+r.length,s+r.length]}}const h=s+r.length,f=xs(a,h,e,t);return{value:c,type:l,comment:f.comment,range:[s,h,f.offset]}}function Ra(n,e){let t="";switch(n[0]){case" ":t="a tab character";break;case",":t="flow indicator character ,";break;case"%":t="directive indicator character %";break;case"|":case">":{t=`block scalar indicator ${n[0]}`;break}case"@":case"`":{t=`reserved character ${n[0]}`;break}}return t&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${t}`),Qi(n)}function Fa(n,e){return(n[n.length-1]!=="'"||n.length===1)&&e(n.length,"MISSING_CHAR","Missing closing 'quote"),Qi(n.slice(1,-1)).replace(/''/g,"'")}function Qi(n){const e=/(.*?)\r?\n/sy;let t=e.exec(n);if(!t)return n;let s,i;try{s=new RegExp("(?<![ ])[ ]+$"),i=new RegExp("^[ ]+|(?<![ ])[ ]+$","g")}catch{s=/[ \t]+$/,i=/^[ \t]+|[ \t]+$/g}let r=t[1].replace(s,""),a=" ",l=e.lastIndex;for(;t=e.exec(n);){const u=t[1].replace(i,"");u===""?a===`
|
|
85
|
+
`?r+=a:a=`
|
|
86
|
+
`:(r+=a+u,a=" "),l=e.lastIndex}const c=/[ \t]*(.*)/sy;return c.lastIndex=l,t=c.exec(n),r+a+(t?.[1]??"")}function qa(n,e){let t="";for(let s=1;s<n.length-1;++s){const i=n[s];if(!(i==="\r"&&n[s+1]===`
|
|
87
|
+
`))if(i===`
|
|
88
|
+
`){const{fold:r,offset:a}=Ua(n,s);t+=r,s=a}else if(i==="\\"){let r=n[++s];const a=Wa[r];if(a)t+=a;else if(r===`
|
|
89
|
+
`)for(r=n[s+1];r===" "||r===" ";)r=n[++s+1];else if(r==="\r"&&n[s+1]===`
|
|
90
|
+
`)for(r=n[++s+1];r===" "||r===" ";)r=n[++s+1];else if(r==="x"||r==="u"||r==="U"){const l=r==="x"?2:r==="u"?4:8;t+=Va(n,s+1,l,e),s+=l}else{const l=n.substr(s-1,2);e(s-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),t+=l}}else if(i===" "||i===" "){const r=s;let a=n[s+1];for(;a===" "||a===" ";)a=n[++s+1];a!==`
|
|
91
|
+
`&&!(a==="\r"&&n[s+2]===`
|
|
92
|
+
`)&&(t+=s>r?n.slice(r,s+1):i)}else t+=i}return(n[n.length-1]!=='"'||n.length===1)&&e(n.length,"MISSING_CHAR",'Missing closing "quote'),t}function Ua(n,e){let t="",s=n[e+1];for(;(s===" "||s===" "||s===`
|
|
93
|
+
`||s==="\r")&&!(s==="\r"&&n[e+2]!==`
|
|
94
|
+
`);)s===`
|
|
95
|
+
`&&(t+=`
|
|
96
|
+
`),e+=1,s=n[e+1];return t||(t=" "),{fold:t,offset:e}}const Wa={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
97
|
+
`,r:"\r",t:" ",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function Va(n,e,t,s){const i=n.substr(e,t),a=i.length===t&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;try{return String.fromCodePoint(a)}catch{const l=n.substr(e-2,t+2);return s(e-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),l}}function Xi(n,e,t,s){const{value:i,type:r,comment:a,range:l}=e.type==="block-scalar"?Ba(n,e,s):Ka(e,n.options.strict,s),c=t?n.directives.tagName(t.source,f=>s(t,"TAG_RESOLVE_FAILED",f)):null;let u;n.options.stringKeys&&n.atKey?u=n.schema[gt]:c?u=Ja(n.schema,i,c,t,s):e.type==="scalar"?u=Ya(n,i,e,s):u=n.schema[gt];let h;try{const f=u.resolve(i,d=>s(t??e,"TAG_RESOLVE_FAILED",d),n.options);h=xe(f)?f:new ue(f)}catch(f){const d=f instanceof Error?f.message:String(f);s(t??e,"TAG_RESOLVE_FAILED",d),h=new ue(i)}return h.range=l,h.source=i,r&&(h.type=r),c&&(h.tag=c),u.format&&(h.format=u.format),a&&(h.comment=a),h}function Ja(n,e,t,s,i){if(t==="!")return n[gt];const r=[];for(const l of n.tags)if(!l.collection&&l.tag===t)if(l.default&&l.test)r.push(l);else return l;for(const l of r)if(l.test?.test(e))return l;const a=n.knownTags[t];return a&&!a.collection?(n.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${t}`,t!=="tag:yaml.org,2002:str"),n[gt])}function Ya({atKey:n,directives:e,schema:t},s,i,r){const a=t.tags.find(l=>(l.default===!0||n&&l.default==="key")&&l.test?.test(s))||t[gt];if(t.compat){const l=t.compat.find(c=>c.default&&c.test?.test(s))??t[gt];if(a.tag!==l.tag){const c=e.tagString(a.tag),u=e.tagString(l.tag),h=`Value may be parsed as either ${c} or ${u}`;r(i,"TAG_RESOLVE_FAILED",h,!0)}}return a}function za(n,e,t){if(e){t??(t=e.length);for(let s=t-1;s>=0;--s){let i=e[s];switch(i.type){case"space":case"comment":case"newline":n-=i.source.length;continue}for(i=e[++s];i?.type==="space";)n+=i.source.length,i=e[++s];break}}return n}const Ga={composeNode:Zi,composeEmptyNode:Jn};function Zi(n,e,t,s){const i=n.atKey,{spaceBefore:r,comment:a,anchor:l,tag:c}=t;let u,h=!0;switch(e.type){case"alias":u=Ha(n,e,s),(l||c)&&s(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=Xi(n,e,c,s),l&&(u.anchor=l.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{u=$a(Ga,n,e,t,s),l&&(u.anchor=l.source.substring(1))}catch(f){const d=f instanceof Error?f.message:String(f);s(e,"RESOURCE_EXHAUSTION",d)}break;default:{const f=e.type==="error"?e.message:`Unsupported token (type: ${e.type})`;s(e,"UNEXPECTED_TOKEN",f),h=!1}}return u??(u=Jn(n,e.offset,void 0,null,t,s)),l&&u.anchor===""&&s(l,"BAD_ALIAS","Anchor cannot be an empty string"),i&&n.options.stringKeys&&(!xe(u)||typeof u.value!="string"||u.tag&&u.tag!=="tag:yaml.org,2002:str")&&s(c??e,"NON_STRING_KEY","With stringKeys, all keys must be strings"),r&&(u.spaceBefore=!0),a&&(e.type==="scalar"&&e.source===""?u.comment=a:u.commentBefore=a),n.options.keepSourceTokens&&h&&(u.srcToken=e),u}function Jn(n,e,t,s,{spaceBefore:i,comment:r,anchor:a,tag:l,end:c},u){const h={type:"scalar",offset:za(e,t,s),indent:-1,source:""},f=Xi(n,h,l,u);return a&&(f.anchor=a.source.substring(1),f.anchor===""&&u(a,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(f.spaceBefore=!0),r&&(f.comment=r,f.range[2]=c),f}function Ha({options:n},{offset:e,source:t,end:s},i){const r=new Mn(t.substring(1));r.source===""&&i(e,"BAD_ALIAS","Alias cannot be an empty string"),r.source.endsWith(":")&&i(e+t.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const a=e+t.length,l=xs(s,a,n.strict,i);return r.range=[e,a,l.offset],l.comment&&(r.comment=l.comment),r}function Qa(n,e,{offset:t,start:s,value:i,end:r},a){const l=Object.assign({_directives:e},n),c=new Hs(void 0,l),u={atKey:!1,atRoot:!0,directives:c.directives,options:c.options,schema:c.schema},h=Zt(s,{indicator:"doc-start",next:i??r?.[0],offset:t,onError:a,parentIndent:0,startOnNewline:!0});h.found&&(c.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!h.hasNewline&&a(h.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),c.contents=i?Zi(u,i,h,a):Jn(u,h.end,s,null,h,a);const f=c.contents.range[2],d=xs(r,f,!1,a);return d.comment&&(c.comment=d.comment),c.range=[t,f,d.offset],c}function us(n){if(typeof n=="number")return[n,n+1];if(Array.isArray(n))return n.length===2?n:[n[0],n[1]];const{offset:e,source:t}=n;return[e,e+(typeof t=="string"?t.length:1)]}function ai(n){let e="",t=!1,s=!1;for(let i=0;i<n.length;++i){const r=n[i];switch(r[0]){case"#":e+=(e===""?"":s?`
|
|
98
|
+
|
|
99
|
+
`:`
|
|
100
|
+
`)+(r.substring(1)||" "),t=!0,s=!1;break;case"%":n[i+1]?.[0]!=="#"&&(i+=1),t=!1;break;default:t||(s=!0),t=!1}}return{comment:e,afterEmptyLine:s}}class Xa{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(t,s,i,r)=>{const a=us(t);r?this.warnings.push(new Ca(a,s,i)):this.errors.push(new ds(a,s,i))},this.directives=new Ge({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:s,afterEmptyLine:i}=ai(this.prelude);if(s){const r=e.contents;if(t)e.comment=e.comment?`${e.comment}
|
|
101
|
+
${s}`:s;else if(i||e.directives.docStart||!r)e.commentBefore=s;else if(Pe(r)&&!r.flow&&r.items.length>0){let a=r.items[0];Ke(a)&&(a=a.key);const l=a.commentBefore;a.commentBefore=l?`${s}
|
|
102
|
+
${l}`:s}else{const a=r.commentBefore;r.commentBefore=a?`${s}
|
|
103
|
+
${a}`:s}}if(t){for(let r=0;r<this.errors.length;++r)e.errors.push(this.errors[r]);for(let r=0;r<this.warnings.length;++r)e.warnings.push(this.warnings[r])}else e.errors=this.errors,e.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:ai(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,s=-1){for(const i of e)yield*this.next(i);yield*this.end(t,s)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,s,i)=>{const r=us(e);r[0]+=t,this.onError(r,"BAD_DIRECTIVE",s,i)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=Qa(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,s=new ds(us(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(s):this.doc.errors.push(s);break}case"doc-end":{if(!this.doc){const s="Unexpected doc-end without preceding document";this.errors.push(new ds(us(e),"UNEXPECTED_TOKEN",s));break}this.doc.directives.docEnd=!0;const t=xs(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const s=this.doc.comment;this.doc.comment=s?`${s}
|
|
104
|
+
${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new ds(us(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const s=Object.assign({_directives:this.directives},this.options),i=new Hs(void 0,s);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,t,t],this.decorate(i,!1),yield i}}}const er="\uFEFF",tr="",sr="",xn="";function Za(n){switch(n){case er:return"byte-order-mark";case tr:return"doc-mode";case sr:return"flow-error-end";case xn:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
|
|
105
|
+
`:case`\r
|
|
106
|
+
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(n[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function dt(n){switch(n){case void 0:case" ":case`
|
|
107
|
+
`:case"\r":case" ":return!0;default:return!1}}const oi=new Set("0123456789ABCDEFabcdef"),eo=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Is=new Set(",[]{}"),to=new Set(` ,[]{}
|
|
108
|
+
\r `),cn=n=>!n||to.has(n);class so{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if(typeof e!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let s=this.next??"stream";for(;s&&(t||this.hasChars(1));)s=yield*this.parseNext(s)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;t===" "||t===" ";)t=this.buffer[++e];return!t||t==="#"||t===`
|
|
109
|
+
`?!0:t==="\r"?this.buffer[e+1]===`
|
|
110
|
+
`:!1}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let s=0;for(;t===" ";)t=this.buffer[++s+e];if(t==="\r"){const i=this.buffer[s+e+1];if(i===`
|
|
111
|
+
`||!i&&!this.atEnd)return e+s+1}return t===`
|
|
112
|
+
`||s>=this.indentNext||!t&&!this.atEnd?e+s:-1}if(t==="-"||t==="."){const s=this.buffer.substr(e,3);if((s==="---"||s==="...")&&dt(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return(typeof e!="number"||e!==-1&&e<this.pos)&&(e=this.buffer.indexOf(`
|
|
113
|
+
`,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]==="\r"&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(e===null)return this.setNext("stream");if(e[0]===er&&(yield*this.pushCount(1),e=e.substring(1)),e[0]==="%"){let t=e.length,s=e.indexOf("#");for(;s!==-1;){const r=e[s-1];if(r===" "||r===" "){t=s-1;break}else s=e.indexOf("#",s+1)}for(;;){const r=e[t-1];if(r===" "||r===" ")t-=1;else break}const i=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield tr,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if(e==="-"||e==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const t=this.peek(3);if((t==="---"||t==="...")&&dt(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,t==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!dt(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if((e==="-"||e==="?"||e===":")&&dt(t)){const s=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=s,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(e===null)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(cn),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,s=-1;do e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=s=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);const i=this.getLine();if(i===null)return this.setNext("flow");if((s!==-1&&s<this.indentNext&&i[0]!=="#"||s===0&&(i.startsWith("---")||i.startsWith("..."))&&dt(i[3]))&&!(s===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield sr,yield*this.parseLineStart();let r=0;for(;i[r]===",";)r+=yield*this.pushCount(1),r+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(r+=yield*this.pushIndicators(),i[r]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-r),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(cn),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const a=this.charAt(1);if(this.flowKey||dt(a)||a===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if(e==="'")for(;t!==-1&&this.buffer[t+1]==="'";)t=this.buffer.indexOf("'",t+2);else for(;t!==-1;){let r=0;for(;this.buffer[t-1-r]==="\\";)r+=1;if(r%2===0)break;t=this.buffer.indexOf('"',t+1)}const s=this.buffer.substring(0,t);let i=s.indexOf(`
|
|
114
|
+
`,this.pos);if(i!==-1){for(;i!==-1;){const r=this.continueScalar(i+1);if(r===-1)break;i=s.indexOf(`
|
|
115
|
+
`,r)}i!==-1&&(t=i-(s[i-1]==="\r"?2:1))}if(t===-1){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const t=this.buffer[++e];if(t==="+")this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if(t!=="-")break}return yield*this.pushUntil(t=>dt(t)||t==="#")}*parseBlockScalar(){let e=this.pos-1,t=0,s;e:for(let r=this.pos;s=this.buffer[r];++r)switch(s){case" ":t+=1;break;case`
|
|
116
|
+
`:e=r,t=0;break;case"\r":{const a=this.buffer[r+1];if(!a&&!this.atEnd)return this.setNext("block-scalar");if(a===`
|
|
117
|
+
`)break}default:break e}if(!s&&!this.atEnd)return this.setNext("block-scalar");if(t>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=t:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const r=this.continueScalar(e+1);if(r===-1)break;e=this.buffer.indexOf(`
|
|
118
|
+
`,r)}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}let i=e+1;for(s=this.buffer[i];s===" ";)s=this.buffer[++i];if(s===" "){for(;s===" "||s===" "||s==="\r"||s===`
|
|
119
|
+
`;)s=this.buffer[++i];e=i-1}else if(!this.blockScalarKeep)do{let r=e-1,a=this.buffer[r];a==="\r"&&(a=this.buffer[--r]);const l=r;for(;a===" ";)a=this.buffer[--r];if(a===`
|
|
120
|
+
`&&r>=this.pos&&r+1+t>l)e=r;else break}while(!0);return yield xn,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t=this.pos-1,s=this.pos-1,i;for(;i=this.buffer[++s];)if(i===":"){const r=this.buffer[s+1];if(dt(r)||e&&Is.has(r))break;t=s}else if(dt(i)){let r=this.buffer[s+1];if(i==="\r"&&(r===`
|
|
121
|
+
`?(s+=1,i=`
|
|
122
|
+
`,r=this.buffer[s+1]):t=s),r==="#"||e&&Is.has(r))break;if(i===`
|
|
123
|
+
`){const a=this.continueScalar(s+1);if(a===-1)break;s=Math.max(s,a-2)}}else{if(e&&Is.has(i))break;t=s}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield xn,yield*this.pushToIndex(t+1,!0),e?"flow":"doc")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const s=this.buffer.slice(this.pos,e);return s?(yield s,this.pos+=s.length,s.length):(t&&(yield""),0)}*pushIndicators(){let e=0;e:for(;;){switch(this.charAt(0)){case"!":e+=yield*this.pushTag(),e+=yield*this.pushSpaces(!0);continue e;case"&":e+=yield*this.pushUntil(cn),e+=yield*this.pushSpaces(!0);continue e;case"-":case"?":case":":{const t=this.flowLevel>0,s=this.charAt(1);if(dt(s)||t&&Is.has(s)){t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,e+=yield*this.pushCount(1),e+=yield*this.pushSpaces(!0);continue e}}}break e}return e}*pushTag(){if(this.charAt(1)==="<"){let e=this.pos+2,t=this.buffer[e];for(;!dt(t)&&t!==">";)t=this.buffer[++e];return yield*this.pushToIndex(t===">"?e+1:e,!1)}else{let e=this.pos+1,t=this.buffer[e];for(;t;)if(eo.has(t))t=this.buffer[++e];else if(t==="%"&&oi.has(this.buffer[e+1])&&oi.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return e===`
|
|
124
|
+
`?yield*this.pushCount(1):e==="\r"&&this.charAt(1)===`
|
|
125
|
+
`?yield*this.pushCount(2):0}*pushSpaces(e){let t=this.pos-1,s;do s=this.buffer[++t];while(s===" "||e&&s===" ");const i=t-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=t),i}*pushUntil(e){let t=this.pos,s=this.buffer[t];for(;!e(s);)s=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class no{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,s=this.lineStarts.length;for(;t<s;){const r=t+s>>1;this.lineStarts[r]<e?t=r+1:s=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(t===0)return{line:0,col:e};const i=this.lineStarts[t-1];return{line:t,col:e-i+1}}}}function Nt(n,e){for(let t=0;t<n.length;++t)if(n[t].type===e)return!0;return!1}function li(n){for(let e=0;e<n.length;++e)switch(n[e].type){case"space":case"comment":case"newline":break;default:return e}return-1}function nr(n){switch(n?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function Es(n){switch(n.type){case"document":return n.start;case"block-map":{const e=n.items[n.items.length-1];return e.sep??e.start}case"block-seq":return n.items[n.items.length-1].start;default:return[]}}function Wt(n){if(n.length===0)return[];let e=n.length;e:for(;--e>=0;)switch(n[e].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;n[++e]?.type==="space";);return n.splice(e,n.length)}function Rs(n,e){if(e.length<1e5)Array.prototype.push.apply(n,e);else for(let t=0;t<e.length;++t)n.push(e[t])}function ci(n){if(n.start.type==="flow-seq-start")for(const e of n.items)e.sep&&!e.value&&!Nt(e.start,"explicit-key-ind")&&!Nt(e.sep,"map-value-ind")&&(e.key&&(e.value=e.key),delete e.key,nr(e.value)?e.value.end?Rs(e.value.end,e.sep):e.value.end=e.sep:Rs(e.start,e.sep),delete e.sep)}class io{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new so,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const s of this.lexer.lex(e,t))yield*this.next(s);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}const t=Za(e);if(t)if(t==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&e[0]===" "&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const s=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:s,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if(this.type==="doc-end"&&e?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(!t)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield t;else{const s=this.peek(1);switch(t.type==="block-scalar"?t.indent="indent"in s?s.indent:0:t.type==="flow-collection"&&s.type==="document"&&(t.indent=0),t.type==="flow-collection"&&ci(t),s.type){case"document":s.value=t;break;case"block-scalar":s.props.push(t);break;case"block-map":{const i=s.items[s.items.length-1];if(i.value){s.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=t;else{Object.assign(i,{key:t,sep:[]}),this.onKeyLine=!i.explicitKey;return}break}case"block-seq":{const i=s.items[s.items.length-1];i.value?s.items.push({start:[],value:t}):i.value=t;break}case"flow-collection":{const i=s.items[s.items.length-1];!i||i.value?s.items.push({start:[],key:t,sep:[]}):i.sep?i.value=t:Object.assign(i,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if((s.type==="document"||s.type==="block-map"||s.type==="block-seq")&&(t.type==="block-map"||t.type==="block-seq")){const i=t.items[t.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&li(i.start)===-1&&(t.indent===0||i.start.every(r=>r.type!=="comment"||r.indent<t.indent))&&(s.type==="document"?s.end=i.start:s.items.push({start:i.start}),t.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":{li(e.start)!==-1?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}const t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if(this.type==="map-value-ind"){const t=Es(this.peek(2)),s=Wt(t);let i;e.end?(i=e.end,i.push(this.sourceToken),delete e.end):i=[this.sourceToken];const r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let t=this.source.indexOf(`
|
|
126
|
+
`)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(`
|
|
127
|
+
`,t)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const s="end"in t.value?t.value.end:void 0;(Array.isArray(s)?s[s.length-1]:void 0)?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const i=e.items[e.items.length-2]?.value?.end;if(Array.isArray(i)){Rs(i,t.start),i.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const s=!this.onKeyLine&&this.indent===e.indent,i=s&&(t.sep||t.explicitKey)&&this.type!=="seq-item-ind";let r=[];if(i&&t.sep&&!t.value){const a=[];for(let l=0;l<t.sep.length;++l){const c=t.sep[l];switch(c.type){case"newline":a.push(l);break;case"space":break;case"comment":c.indent>e.indent&&(a.length=0);break;default:a.length=0}}a.length>=2&&(r=t.sep.splice(a[1]))}switch(this.type){case"anchor":case"tag":i||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":!t.sep&&!t.explicitKey?(t.start.push(this.sourceToken),t.explicitKey=!0):i||t.value?(r.push(this.sourceToken),e.items.push({start:r,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Nt(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(nr(t.key)&&!Nt(t.sep,"newline")){const a=Wt(t.start),l=t.key,c=t.sep;c.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:l,sep:c}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if(Nt(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const a=Wt(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||i?e.items.push({start:r,key:null,sep:[this.sourceToken]}):Nt(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const a=this.flowScalar(this.type);i||t.value?(e.items.push({start:r,key:a,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(a):(Object.assign(t,{key:a,sep:[]}),this.onKeyLine=!0);return}default:{const a=this.startBlockValue(e);if(a){if(a.type==="block-seq"){if(!t.explicitKey&&t.sep&&!Nt(t.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else s&&e.items.push({start:r});this.stack.push(a);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const s="end"in t.value?t.value.end:void 0;(Array.isArray(s)?s[s.length-1]:void 0)?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const i=e.items[e.items.length-2]?.value?.end;if(Array.isArray(i)){Rs(i,t.start),i.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||Nt(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){const s=this.startBlockValue(e);if(s){this.stack.push(s);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if(this.type==="flow-error-end"){let s;do yield*this.pop(),s=this.peek(1);while(s?.type==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:i,sep:[]}):t.sep?this.stack.push(i):Object.assign(t,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}const s=this.startBlockValue(e);s?this.stack.push(s):(yield*this.pop(),yield*this.step())}else{const s=this.peek(2);if(s.type==="block-map"&&(this.type==="map-value-ind"&&s.indent===e.indent||this.type==="newline"&&!s.items[s.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&s.type!=="flow-collection"){const i=Es(s),r=Wt(i);ci(e);const a=e.end.splice(1,e.end.length);a.push(this.sourceToken);const l={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:r,key:e,sep:a}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=l}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let t=this.source.indexOf(`
|
|
128
|
+
`)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(`
|
|
129
|
+
`,t)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=Es(e),s=Wt(t);return s.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const t=Es(e),s=Wt(t);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!=="comment"||this.indent<=t?!1:e.every(s=>s.type==="newline"||s.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function ro(n){const e=n.prettyErrors!==!1;return{lineCounter:n.lineCounter||e&&new no||null,prettyErrors:e}}function ao(n,e={}){const{lineCounter:t,prettyErrors:s}=ro(e),i=new io(t?.addNewLine),r=new Xa(e);let a=null;for(const l of r.compose(i.parse(n),!0,n.length))if(!a)a=l;else if(a.options.logLevel!=="silent"){a.errors.push(new ds(l.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return s&&t&&(a.errors.forEach(ii(n,t)),a.warnings.forEach(ii(n,t))),a}function ir(n,e){let t=0;for(;t<n.length&&t<e.length&&n[t]===e[t];)t++;let s=n.length,i=e.length;for(;s>t&&i>t&&n[s-1]===e[i-1];)s--,i--;const r=s-t,a=i-t,l=a+1,c=new Uint32Array((r+1)*l);for(let d=r-1;d>=0;d--)for(let g=a-1;g>=0;g--)c[d*l+g]=n[t+d]===e[t+g]?c[(d+1)*l+g+1]+1:Math.max(c[(d+1)*l+g],c[d*l+g+1]);const u=[];for(let d=0;d<t;d++)u.push({op:" ",text:n[d],from:d});let h=0,f=0;for(;h<r||f<a;)h<r&&f<a&&n[t+h]===e[t+f]?(u.push({op:" ",text:n[t+h],from:t+h}),h++,f++):f<a&&(h>=r||c[h*l+f+1]>=c[(h+1)*l+f])?u.push({op:"+",text:e[t+f++]}):u.push({op:"-",text:n[t+h++]});for(let d=s;d<n.length;d++)u.push({op:" ",text:n[d],from:d});return u}const ms=n=>{const e=n.split(`
|
|
130
|
+
`);return e.length&&e[e.length-1]===""&&e.pop(),e},rr=(n="ship")=>`version: 1
|
|
131
|
+
extends: ${n}
|
|
132
|
+
`;function ar(n){const e=ao(n||rr(),{uniqueKeys:!0});return{doc:e,error:e.errors.length?e.errors[0].message.split(`
|
|
133
|
+
`)[0]:null}}function Sn(n){const{doc:e,error:t}=ar(n);if(t)return null;let s;try{s=e.toJS({maxAliasCount:0})}catch{return null}const i=s&&typeof s=="object"&&!Array.isArray(s)?s:{},r=i.checks&&typeof i.checks=="object"&&!Array.isArray(i.checks)?i.checks:{},a=Array.isArray(i.stages)?i.stages.filter(l=>l&&typeof l=="object"):[];return{extends:i.extends==="scout"?"scout":"ship",checks:r,stages:a}}function _s(n,e){const t=n.steps.map(i=>({id:i.id,label:i.label,added:!1,fileIndex:null,restyled:!1,lost:!1})),s=new Map;return e.forEach((i,r)=>{if(typeof i.id!="string"||!i.id)return;const a=typeof i.label=="string"&&i.label?i.label:null,l=t.find(h=>h.id===i.id);if(l){if(l.added)return;l.fileIndex=r,l.restyled=!0,a&&(l.label=a);return}let c=t.length,u=!1;if(typeof i.after=="string"&&i.after){const h=s.get(i.after)??i.after,f=t.findIndex(d=>d.id===h);f<0?u=!0:c=f+1,s.set(i.after,i.id)}t.splice(c,0,{id:i.id,label:a??i.id,added:!0,fileIndex:r,restyled:!1,lost:u})}),t}function is(n){let e=n.get("stages",!0);return wt(e)||(e=n.createNode([]),n.set("stages",e)),e}const ws=n=>xe(n)?n.value:n;function oo(n){let e=n.get("checks",!0);if(!rt(e)){e=n.createNode({}),n.set("checks",e);const s=n.contents.items,i=s.findIndex(a=>ws(a.key)==="checks"),r=s.findIndex(a=>ws(a.key)==="stages");r>=0&&i>r&&s.splice(r,0,...s.splice(i,1))}return e}const Qt=n=>n==null||n===""||Array.isArray(n)&&n.length===0||typeof n=="object"&&!Array.isArray(n)&&Object.keys(n).length===0,ui={lineWidth:0};function lo(n,e){const{doc:t,error:s}=ar(n);if(s)return n;const i=ms(t.toString(ui));if(e(t)===!1)return n;const r=t.toString(ui),a=ms(n);return!n||a.length!==i.length?r:`${ir(i,ms(r)).filter(c=>c.op!=="-").map(c=>c.op===" "?a[c.from]:c.text).join(`
|
|
134
|
+
`)}
|
|
135
|
+
`}function Et(n,e,t,s){const i=is(n).get(e,!0);rt(i)&&(Qt(s)?i.delete(t):i.set(t,or(n,s)))}function or(n,e){const t=n.createNode(e);return wt(t)&&t.items.every(s=>xe(s))&&(t.flow=!0),t}function co(n,e,t){const s=is(n);for(const i of s.items)rt(i)&&(i.get("id")===e&&i.set("id",t),i.get("after")===e&&i.set("after",t),i.get("column")===e&&i.set("column",t));n.getIn(["headline","live"])===e&&n.setIn(["headline","live"],t)}function fi(n,e){const t=is(n),s=t.items.findIndex(i=>rt(i)&&i.get("id")===e);return s>=0?s:(t.add(n.createNode({id:e})),t.items.length-1)}function di(n,e){is(n).delete(e)}function Cs(n,e,t="step"){const s=new Set(e);let i=n.toLowerCase().normalize("NFKD").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,32)||t;/^[a-z]/.test(i)||(i=`${t}-${i}`.slice(0,32));let r=i;for(let a=2;s.has(r);a++)r=`${i}-${a}`;return r}function uo(n,e,t){const s=is(n),i={id:e.id,label:e.label};t&&(i.after=t);for(const[a,l]of Object.entries(e))!(a in i)&&!Qt(l)&&(i[a]=l);const r=n.createNode(i);for(const a of r.items)wt(a.value)&&a.value.items.every(l=>xe(l))&&(a.value.flow=!0);return s.add(r),s.items.length-1}function lr(n,e,t,s){const i=n.toJS(),r=_s(e,Array.isArray(i?.stages)?i.stages:[]),a=r.findIndex(d=>d.id===t);if(a<0||!r[a].added||s<1||s>=r.length||s===a)return!1;const[l]=r.splice(a,1);r.splice(s,0,l);const c=is(n),u=new Map;for(const d of c.items)rt(d)&&u.set(String(d.get("id")),d);const h=c.items.filter(d=>{const g=rt(d)?String(d.get("id")):"";return!r.some(A=>A.added&&A.id===g)}),f=r.map((d,g)=>({s:d,prev:r[g-1]})).filter(({s:d})=>d.added).map(({s:d,prev:g})=>{const A=u.get(d.id);return A.set("after",g.id),A});return c.items=[...h,...f],!0}function un(n,e,t,s){const i=n.toJS(),a=_s(e,Array.isArray(i?.stages)?i.stages:[]).findIndex(l=>l.id===t);return a>=0&&lr(n,e,t,a+s)}function fn(n,e,t){const s=oo(n);if(t===null){s.delete(e),s.items.length||n.delete("checks");return}const i={};for(const[a,l]of Object.entries(t))if(l&&typeof l=="object"&&!Array.isArray(l)){const c=Object.fromEntries(Object.entries(l).filter(([,u])=>!Qt(u)));Qt(c)||(i[a]=c)}else Qt(l)||(i[a]=l);const r=s.get(e,!0);if(rt(r)){for(const l of[...r.items.map(c=>String(ws(c.key)))])l in i||r.delete(l);const a=r.toJSON();for(const[l,c]of Object.entries(i))JSON.stringify(a[l])!==JSON.stringify(c)&&r.set(l,or(n,c))}else{const a=n.createNode(i);for(const l of a.items)wt(l.value)&&l.value.items.every(c=>xe(c))&&(l.value.flow=!0);s.set(e,a)}}function fo(n,e,t){Qt(t)?n.delete(e):n.set(e,n.createNode(t))}function ho(n,e){const t=[],s=i=>{if(typeof i=="string"&&i.startsWith(`${e}.`))t.push(i);else if(i&&typeof i=="object")for(const r of Object.values(i))s(r)};for(const i of n)s(i.reached_when),s(i.failed_when),s(i.skip_when),i.note&&typeof i.note=="object"&&s(i.note.when),Array.isArray(i.evidence)&&i.evidence.includes(`check:${e}`)&&t.push(`check:${e}`),i.primary_link===`${e}.url`&&t.push(`${e}.url`);return t}function Nn(n){if(n==null)return{join:"all",items:[]};const e=a=>typeof a=="string"?{not:!1,ref:a}:a&&typeof a=="object"&&"not"in a&&typeof a.not=="string"?{not:!0,ref:a.not}:null,t=e(n);if(t)return{join:"all",items:[t]};if(typeof n!="object")return null;const s="all"in n?"all":"any"in n?"any":null;if(!s)return null;const i=n[s];if(!Array.isArray(i))return null;const r=i.map(a=>e(a));return r.every(a=>a)?{join:s,items:r}:null}function An(n){const e=n.items.filter(s=>s.ref),t=s=>s.not?{not:s.ref}:s.ref;if(e.length)return e.length===1?t(e[0]):n.join==="all"?{all:e.map(t)}:{any:e.map(t)}}function po(n,e,t){const s=n.get("checks",!0);if(rt(s))for(const r of s.items)ws(r.key)===e&&(r.key=n.createNode(t));const i=`${e}.`;Rt(n,{Pair(r,a){ws(a.key)==="version_from"&&xe(a.value)&&a.value.value===e&&(a.value.value=t)},Scalar(r,a){typeof a.value=="string"&&(a.value===`check:${e}`?a.value=`check:${t}`:a.value.startsWith(i)&&/^[a-z_]+$/.test(a.value.slice(i.length))&&(a.value=`${t}.${a.value.slice(i.length)}`))}})}const dn=(n,e)=>typeof n=="string"&&n?n:e;function mo(n,e,t){const s=Sn(n)??{extends:"ship",checks:{},stages:[]},i=Sn(e);if(!i)return["The YAML could not be read."];const r=[];s.extends!==i.extends&&r.push(`It now builds on ${i.extends==="scout"?"scout":"ship"} work.`);const a=new Map(_s(t,s.stages).map(f=>[f.id,f])),l=_s(t,i.stages),c=(f,d)=>f.stages.find(g=>g.id===d);l.forEach((f,d)=>{const g=a.get(f.id),A=l[d-1]?.label;f.added&&!g?.added?r.push(`Adds the step “${f.label}”${A?` after ${A}`:""}.`):g&&g.label!==f.label?r.push(`Renames “${g.label}” to “${f.label}”.`):g&&JSON.stringify(c(s,f.id)??null)!==JSON.stringify(c(i,f.id)??null)&&r.push(`Changes the step “${f.label}”.`)});for(const[f,d]of a)d.added&&!l.some(g=>g.id===f)&&r.push(`Removes the step “${d.label}”.`);const u=new Set([...Object.keys(s.checks),...Object.keys(i.checks)]);let h=!1;for(const f of u){const d=s.checks[f],g=i.checks[f];JSON.stringify(d??null)!==JSON.stringify(g??null)&&((d?.type==="command"||g?.type==="command")&&(h=!0),d?g?r.push(`Changes the check “${dn(g.label,f)}”.`):r.push(`Removes the check “${dn(d.label,f)}”.`):r.push(`Adds the check “${dn(g.label,f)}”.`))}return h&&r.push("Command checks change, so they stay off until you allow them again on the passage page."),!r.length&&n!==e&&r.push("Changes the file’s layout or comments only."),r}var go=w('<span class="ml-1 font-normal text-muted-foreground">(required)</span>'),vo=w("<option>Not set</option>"),yo=w("<option>As written in the YAML</option>"),hn=w("<option> </option>"),bo=w("<select><!><!><!></select>"),_o=w("<select><option>Choose a release check</option><!></select>"),wo=w("<textarea></textarea>"),ko=w('<textarea rows="2"></textarea>'),xo=w('<input type="number"/>'),So=w("<input/>"),No=w('<p class="mt-1 text-xs text-muted-foreground"> </p>'),Ao=w('<div class="min-w-0"><label class="block text-sm font-medium"> <!></label> <!> <!></div>'),Oo=w('<button type="button" class="mb-3 inline-flex items-center gap-1 text-sm text-sea hover:underline"><!> </button>'),To=w('<p class="mt-2 text-sm text-muted-foreground"> </p>'),Io=w("<div><!></div>"),Eo=w('<div><label class="block text-sm font-medium">How often</label> <input/> <p class="mt-1 text-xs text-muted-foreground">At least 30s, e.g. 60s, 5m or 1h.</p></div>'),Co=w(`<div class="mt-6 rounded-lg border bg-panel p-4 text-sm" data-command-preview=""><p class="flex items-center gap-2 font-medium"><!>Exactly what will run</p> <pre class="mt-2 overflow-x-auto rounded-md bg-terminal px-3 py-2 font-mono text-xs text-terminal-foreground"> </pre> <dl class="mt-3 grid gap-x-4 gap-y-1 text-xs sm:grid-cols-[9rem_minmax(0,1fr)]"><dt class="text-muted-foreground">In the folder</dt> <dd> </dd> <dt class="text-muted-foreground">For at most</dt> <dd> </dd> <dt class="text-muted-foreground">With only</dt> <dd class="break-words"> </dd> <dt class="text-muted-foreground">When</dt> <dd> </dd></dl> <p class="mt-3 text-xs text-muted-foreground">It never goes through a shell. Command checks run only after you allow them on the project’s
|
|
136
|
+
passage page, and changing a command line turns them off again. Allowing them trusts the
|
|
137
|
+
project’s own scripts as they are at that commit: consent covers the command line, not the
|
|
138
|
+
scripts it calls, which can change through merged pull requests without turning the commands
|
|
139
|
+
off.</p> <p class="mt-2 text-xs text-muted-foreground">Each run gets a fresh checkout with no installed dependencies and none of the clone’s
|
|
140
|
+
untracked files (such as .env), so the command must install what it needs.</p></div>`),Lo=w("<!>Remove this check",1),jo=w('<p class="text-xs text-muted-foreground"> </p>'),Mo=w('<div class="mt-6 flex flex-wrap items-center gap-3 border-t pt-4"><!> <!></div>'),$o=w('<section><!> <p class="text-xs tracking-wide text-muted-foreground uppercase"> </p> <h2 class="mt-0.5 text-xl"> </h2> <p class="mt-1 text-sm text-muted-foreground"> </p> <!> <div class="mt-5 grid gap-4 sm:grid-cols-2"><div class="min-w-0 sm:col-span-2"><label class="block text-sm font-medium">Name</label> <input/></div> <!> <!></div> <!> <!></section>');function Bo(n,e){Dt(e,!0);const t=(E,k=yr)=>{const z=j(()=>`check-${e.checkId}-${k().key}`);var re=Ao(),de=O(re),Q=O(de,!0),ee=m(Q);{var Ne=F=>{var S=go();y(F,S)};G(ee,F=>{k().required&&F(Ne)})}x(de);var he=m(de,2);{var Me=F=>{const S=j(()=>f(u(k().key)));var J=bo();Ae(J,1,Ze(P));var pe=O(J);{var ke=Le=>{var je=vo();je.value=je.__value="",y(Le,je)};G(pe,Le=>{k().required||Le(ke)})}var ne=m(pe);{var me=Le=>{var je=yo(),at={};B(()=>{at!==(at=o(S))&&(je.value=(je.__value=at)??"")}),y(Le,je)},X=j(()=>u(k().key)!==void 0&&typeof u(k().key)!="string"),Ce=Le=>{var je=hn(),at=U(je,!0),xt={};B(()=>{M(at,o(S)),xt!==(xt=o(S))&&(je.value=(je.__value=xt)??"")}),y(Le,je)},st=j(()=>o(S)&&!(k().options??[]).some(Le=>Le.value===o(S)));G(ne,Le=>{o(X)?Le(me):o(st)&&Le(Ce,1)})}var kt=m(ne);Be(kt,17,()=>k().options??[],Le=>Le.value,(Le,je)=>{var at=hn(),xt=U(at,!0),rs={};B(()=>{M(xt,o(je).label),rs!==(rs=o(je).value)&&(at.value=(at.__value=rs)??"")}),y(Le,at)}),x(J);var Ot;bt(J),B(Le=>{ge(J,"id",o(z)),J.disabled=s(),Ot!==(Ot=Le)&&(J.value=(J.__value=Ot)??"",$t(J,Ot))},[()=>f(u(k().key))]),we("change",J,Le=>{const je=Le.currentTarget.value;(je!==o(S)||typeof u(k().key)=="string"||!je)&&h(k().key,je||void 0)}),y(F,J)},Fe=F=>{var S=_o();Ae(S,1,Ze(P));var J=O(S);J.value=J.__value="";var pe=m(J);Be(pe,17,()=>e.releaseChecks,ne=>ne.id,(ne,me)=>{var X=hn(),Ce=U(X,!0),st={};B(()=>{M(Ce,o(me).label),st!==(st=o(me).id)&&(X.value=(X.__value=st)??"")}),y(ne,X)}),x(S);var ke;bt(S),B(ne=>{ge(S,"id",o(z)),S.disabled=s(),ke!==(ke=ne)&&(S.value=(S.__value=ke)??"",$t(S,ke))},[()=>f(u(k().key))]),we("change",S,ne=>h(k().key,ne.currentTarget.value||void 0)),y(F,S)},Ve=F=>{var S=wo();$s(S),Ae(S,1,"mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm disabled:opacity-60 font-mono"),B((J,pe)=>{ge(S,"id",o(z)),ge(S,"rows",J),S.disabled=s(),ht(S,pe)},[()=>Math.max(2,u(k().key)?.length??2),()=>d(u(k().key))]),we("change",S,J=>h(k().key,g(J.currentTarget.value))),y(F,S)},Ye=F=>{var S=ko();$s(S),Ae(S,1,"mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm disabled:opacity-60 font-mono"),B(J=>{ge(S,"id",o(z)),S.disabled=s(),ht(S,J)},[()=>A(u(k().key))]),we("change",S,J=>h(k().key,p(J.currentTarget.value))),y(F,S)},tt=F=>{var S=xo();mt(S),Ae(S,1,Ze(P)),B(J=>{ge(S,"id",o(z)),S.disabled=s(),ge(S,"placeholder",k().placeholder),ht(S,J)},[()=>f(u(k().key))]),we("change",S,J=>{const pe=J.currentTarget.value;h(k().key,pe===""?void 0:Number(pe))}),y(F,S)},Qe=F=>{var S=So();mt(S),B(J=>{ge(S,"id",o(z)),Ae(S,1,`mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm disabled:opacity-60 ${k().kind==="duration"?"max-w-40":""}`),S.disabled=s(),ge(S,"placeholder",k().placeholder),ht(S,J)},[()=>f(u(k().key))]),we("input",S,J=>h(k().key,J.currentTarget.value||void 0)),y(F,S)};G(he,F=>{k().kind==="select"?F(Me):k().kind==="check"?F(Fe,1):k().kind==="list"?F(Ve,2):k().kind==="map"?F(Ye,3):k().kind==="number"?F(tt,4):F(Qe,-1)})}var L=m(he,2);{var Y=F=>{var S=No(),J=U(S,!0);B(()=>M(J,k().help)),y(F,S)};G(L,F=>{k().help&&F(Y)})}x(re),B(()=>{ge(de,"for",o(z)),M(Q,k().label)}),y(E,re)};let s=zt(e,"readonly",3,!1),i=zt(e,"readonlyWhy",3,null),r=zt(e,"back",3,null);const a=j(()=>e.spec.type),l=j(()=>vs[o(a)]??{name:String(e.spec.type),what:""}),c=j(()=>(Cr[o(a)]??[]).filter(E=>!E.captainOnly||e.captain));function u(E){const[k,z]=E.split("."),re=e.spec[k];return z?re&&typeof re=="object"?re[z]:void 0:re}function h(E,k){const[z,re]=E.split("."),de={...e.spec};if(re){const Q={...de[z]??{}};Q[re]=k,de[z]=Q}else de[z]=k;e.onchange(de)}const f=E=>E==null?"":String(E),d=E=>Array.isArray(E)?E.map(String).join(`
|
|
141
|
+
`):f(E),g=E=>E.split(`
|
|
142
|
+
`).map(k=>k.trim()).filter(Boolean),A=E=>E&&typeof E=="object"?Object.entries(E).map(([k,z])=>`${k}: ${z}`).join(`
|
|
143
|
+
`):"",p=E=>Object.fromEntries(g(E).map(k=>k.split(":").map(z=>z.trim())).filter(k=>k.length===2&&k[0]&&k[1])),v=E=>Array.isArray(E)?E.map(k=>String(k)).map(k=>/^[A-Za-z0-9_@%+=:,./-]+$/.test(k)?k:`'${k.replace(/'/g,"'\\''")}'`).join(" "):"",N={merged:"After the merge","pr.recorded":"Once a pull request is open","crew.done":"Once the worker reports done"};function T(E){const k=E.when===void 0?"As soon as a task can use it, even before the merge":N[String(E.when)]??"When its condition holds",z=E.ref==="merge.commit"?", once per merged commit":E.ref==="pr.head"?", once per pull request commit":"";return`${k}${z}. A pass is not run again.`}const P="mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm disabled:opacity-60";var D=$o(),K=O(D);{var W=E=>{var k=Oo(),z=O(k);gi(z,{class:"size-3.5","aria-hidden":"true"});var re=m(z);x(k),B(()=>M(re,`Back to ${r().label??""}`)),we("click",k,function(...de){r().go?.apply(this,de)}),y(E,k)};G(K,E=>{r()&&E(W)})}var ie=m(K,2),C=U(ie,!0),H=m(ie,2),ve=U(H,!0),R=m(H,2),I=U(R,!0),$=m(R,2);{var ye=E=>{var k=To(),z=U(k,!0);B(()=>M(z,i())),y(E,k)};G($,E=>{i()&&E(ye)})}var Se=m($,2),te=O(Se),se=O(te),oe=m(se,2);mt(oe),Ae(oe,1,Ze(P)),x(te);var be=m(te,2);Be(be,17,()=>o(c),E=>E.key,(E,k)=>{var z=Io(),re=O(z);t(re,()=>o(k)),x(z),B(()=>Ae(z,1,Ze(o(k).kind==="list"||o(k).key==="url"?"sm:col-span-2":""))),y(E,z)});var Ie=m(be,2);{var q=E=>{var k=Eo(),z=O(k),re=m(z,2);mt(re),Ae(re,1,"mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm disabled:opacity-60 max-w-40"),We(2),x(k),B(de=>{ge(z,"for",`check-${e.checkId??""}-interval`),ge(re,"id",`check-${e.checkId??""}-interval`),re.disabled=s(),ge(re,"placeholder",o(a)==="command"?"10m":o(a)==="github.release"||o(a)==="npm.published"?"5m":"60s"),ht(re,de)},[()=>f(e.spec.interval)]),we("input",re,de=>h("interval",de.currentTarget.value||void 0)),y(E,k)};G(Ie,E=>{o(a)!=="status.note"&&E(q)})}x(Se);var V=m(Se,2);{var _e=E=>{var k=Co(),z=O(k),re=O(z);Dr(re,{class:"size-4","aria-hidden":"true"}),We(),x(z);var de=m(z,2),Q=U(de,!0),ee=m(de,2),Ne=m(O(ee),2),he=U(Ne),Me=m(Ne,4),Fe=U(Me,!0),Ve=m(Me,4),Ye=U(Ve),tt=m(Ve,4),Qe=U(tt,!0);x(ee),We(4),x(k),B((L,Y,F,S,J)=>{M(Q,L),M(he,`${Y??""}, in a fresh checkout of ${e.spec.ref==="merge.commit"?"the merge commit":e.spec.ref==="pr.head"?"the pull request’s latest commit":"the default branch"}`),M(Fe,F),M(Ye,`${S??""} from Wheelhouse’s
|
|
144
|
+
environment, plus the task and project names`),M(Qe,J)},[()=>v(e.spec.run)||"(no program yet)",()=>f(e.spec.cwd)&&e.spec.cwd!=="."?`${e.spec.cwd}, inside the project`:"At the top of the project",()=>f(e.spec.timeout)||"5m",()=>[...Lr,...e.spec.env??[]].join(", "),()=>T(e.spec)]),y(E,k)};G(V,E=>{o(a)==="command"&&E(_e)})}var fe=m(V,2);{var ce=E=>{var k=Mo(),z=O(k);et(z,{variant:"destructive",size:"sm",get onclick(){return e.onremove},children:(Q,ee)=>{var Ne=Lo(),he=Ee(Ne);_i(he,{"aria-hidden":"true"}),We(),y(Q,Ne)},$$slots:{default:!0}});var re=m(z,2);{var de=Q=>{var ee=jo(),Ne=U(ee);B(he=>M(Ne,`Used by ${he??""}; removing it takes it out of ${e.usedBy.length===1?"that step":"those steps"}.`),[()=>e.usedBy.join(", ")]),y(Q,ee)};G(re,Q=>{e.usedBy.length&&Q(de)})}x(k),y(E,k)};G(fe,E=>{s()||E(ce)})}x(D),B((E,k)=>{ge(D,"aria-labelledby",`check-${e.checkId??""}-title`),ge(D,"data-check-form",e.checkId),M(C,o(l).name),ge(H,"id",`check-${e.checkId??""}-title`),M(ve,E),M(I,o(l).what),ge(se,"for",`check-${e.checkId??""}-label`),ge(oe,"id",`check-${e.checkId??""}-label`),oe.disabled=s(),ht(oe,k),ge(oe,"placeholder",e.checkId)},[()=>f(e.spec.label)||e.checkId,()=>f(e.spec.label)]),we("input",oe,E=>h("label",E.currentTarget.value||void 0)),we("change",oe,function(...E){e.onlabeldone?.apply(this,E)}),y(n,D),Kt()}Pt(["change","input","click"]);var Po=w("<li> </li>"),Do=w('<ul class="space-y-1 border-b px-5 py-3 text-sm" aria-label="What changes"></ul>'),Ko=w('<span><span class="mr-3 inline-block w-3 select-none" aria-hidden="true"> </span><span class="sr-only"> </span> </span>'),Ro=w('<strong class="font-medium">This changes a file in the project’s repository:</strong> <code class="font-mono text-xs">.wheelhouse.yaml</code> ',1),Fo=w(`<strong class="font-medium">This changes your own Wheelhouse config</strong> for this project,
|
|
145
|
+
outside the repository. Wheelhouse uses it within a minute.`,1),qo=w('<p class="mt-2 text-sm text-danger" role="alert"> </p>'),Uo=w('<div class="flex max-h-[90vh] flex-col"><div class="flex items-start gap-3 border-b px-5 py-4"><div class="min-w-0 flex-1"><h2 id="review-title" class="text-lg">Review and save</h2> <p class="mt-1 text-sm text-muted-foreground"> </p></div> <button type="button" class="inline-flex size-8 items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Close"><!></button></div> <!> <pre class="min-h-0 flex-1 overflow-auto bg-card px-0 py-2 font-mono text-xs leading-5" aria-label="Changes"></pre> <div class="border-t px-5 py-4"><p class="text-sm leading-relaxed" data-save-note=""><!></p> <!> <div class="mt-4 flex flex-wrap justify-end gap-2"><!> <!></div></div></div>'),Wo=w('<dialog class="m-auto max-h-[90vh] w-[min(94vw,980px)] max-w-none overflow-hidden rounded-xl border bg-background p-0 text-foreground shadow-xl backdrop:bg-black/60" aria-labelledby="review-title"><!></dialog>');function Vo(n,e){Dt(e,!0);let t=zt(e,"open",15,!1),s=$e(null);Bs(()=>{o(s)&&(t()&&!o(s).open?o(s).showModal():!t()&&o(s).open&&o(s).close())});const i=j(()=>t()?ir(ms(e.before),ms(e.after)):[]),r=j(()=>o(i).filter(f=>f.op==="+").length),a=j(()=>o(i).filter(f=>f.op==="-").length),l=j(()=>e.defaultRef?.replace(/^origin\//,"")??"the default branch");var c=Wo(),u=O(c);{var h=f=>{var d=Uo(),g=O(d),A=O(g),p=m(O(A),2),v=U(p);x(A);var N=m(A,2),T=O(N);En(T,{class:"size-4","aria-hidden":"true"}),x(N),x(g);var P=m(g,2);{var D=te=>{var se=Do();Be(se,21,()=>e.summary,gs,(oe,be)=>{var Ie=Po(),q=U(Ie,!0);B(()=>M(q,o(be))),y(oe,Ie)}),x(se),y(te,se)};G(P,te=>{e.summary.length&&te(D)})}var K=m(P,2);Be(K,21,()=>o(i),gs,(te,se)=>{var oe=Ko(),be=O(oe),Ie=U(be,!0),q=m(be),V=U(q,!0),_e=m(q,1,!0);x(oe),B(()=>{Ae(oe,1,`block px-5 ${o(se).op==="+"?"bg-success/10 text-success":o(se).op==="-"?"bg-danger/10 text-danger":"text-muted-foreground"}`),M(Ie,o(se).op===" "?"":o(se).op),M(V,o(se).op==="+"?"added: ":o(se).op==="-"?"removed: ":""),M(_e,o(se).text)}),y(te,oe)}),x(K);var W=m(K,2),ie=O(W),C=O(ie);{var H=te=>{var se=Ro(),oe=m(Ee(se),3);B(()=>M(oe,` in Firstmate’s clone of the
|
|
146
|
+
project. It is not committed. Wheelhouse uses it once it is on ${o(l)??""}, so ask
|
|
147
|
+
Firstmate to ship it.`)),y(te,se)},ve=te=>{var se=Fo();We(),y(te,se)};G(C,te=>{e.target==="project"?te(H):te(ve,-1)})}x(ie);var R=m(ie,2);{var I=te=>{var se=qo(),oe=U(se,!0);B(()=>M(oe,e.error)),y(te,se)};G(R,te=>{e.error&&te(I)})}var $=m(R,2),ye=O($);et(ye,{variant:"outline",onclick:()=>t(!1),children:(te,se)=>{We();var oe=Mt("Keep editing");y(te,oe)},$$slots:{default:!0}});var Se=m(ye,2);{let te=j(()=>e.busy||!o(r)&&!o(a));et(Se,{get disabled(){return o(te)},get onclick(){return e.onsave},children:(se,oe)=>{We();var be=Mt();B(()=>M(be,e.busy?"Saving…":e.target==="project"?"Save to the repository file":"Save to your config")),y(se,be)},$$slots:{default:!0}})}x($),x(W),x(d),B(()=>M(v,`The file: ${o(r)??""} line${o(r)===1?"":"s"} added, ${o(a)??""} removed.`)),we("click",N,()=>t(!1)),y(f,d)};G(u,f=>{t()&&f(h)})}x(c),Kr(c,f=>ae(s,f),()=>o(s)),br("close",c,()=>t(!1)),y(n,c),Kt()}Pt(["click"]);var Jo=w('<p class="mt-0.5 text-xs text-muted-foreground"> </p>'),Yo=w('<p class="mt-2 rounded-md border border-dashed px-3 py-2 text-sm text-muted-foreground">This condition is more involved than the form shows. Edit it in the YAML view.</p>'),zo=w('<label class="mt-2 inline-flex items-center gap-2 text-sm"><span class="sr-only">How these combine</span> <select class="rounded-md border border-input bg-card px-2 py-1 text-sm"><option>All of these</option><option>Any of these</option></select></label>'),hi=w("<option> </option>"),Go=w("<optgroup></optgroup>"),Ho=w('<li class="flex flex-wrap items-center gap-2"><select class="rounded-md border border-input bg-card px-2 py-1 text-sm"><option>When</option><option>Unless</option></select> <select class="min-w-0 flex-1 rounded-md border border-input bg-card px-2 py-1 text-sm"><!><!></select> <button type="button" class="inline-flex size-8 items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Remove this condition"><!></button></li>'),Qo=w('<!> <ul class="mt-2 space-y-2"></ul> <button type="button" class="mt-2 inline-flex items-center gap-1 text-sm text-sea hover:underline disabled:opacity-50"><!> </button>',1),Xo=w('<fieldset class="min-w-0"><legend class="text-sm font-medium"> </legend> <!> <!></fieldset>');function pn(n,e){Dt(e,!0);let t=zt(e,"help",3,null),s=zt(e,"disabled",3,!1);const i=j(()=>Nn(e.value)),r=j(()=>new Set(e.refs.flatMap(v=>v.options.map(N=>N.value))));function a(v){e.onchange(An(v))}const l=j(()=>e.refs[0]?.options[0]?.value??"merged");var c=Xo(),u=O(c),h=U(u,!0),f=m(u,2);{var d=v=>{var N=Jo(),T=U(N,!0);B(()=>{ge(N,"id",`${e.id??""}-help`),M(T,t())}),y(v,N)};G(f,v=>{t()&&v(d)})}var g=m(f,2);{var A=v=>{var N=Yo();y(v,N)},p=v=>{var N=Qo(),T=Ee(N);{var P=C=>{var H=zo(),ve=m(O(H),2),R=O(ve);R.value=R.__value="all";var I=m(R);I.value=I.__value="any",x(ve);var $;bt(ve),x(H),B(()=>{ve.disabled=s(),$!==($=o(i).join)&&(ve.value=(ve.__value=$)??"",$t(ve,$))}),we("change",ve,ye=>a({...o(i),join:ye.currentTarget.value})),y(C,H)};G(T,C=>{o(i).items.length>1&&C(P)})}var D=m(T,2);Be(D,21,()=>o(i).items,gs,(C,H,ve)=>{var R=Ho(),I=O(R),$=O(I);$.value=$.__value="is";var ye=m($);ye.value=ye.__value="not",x(I);var Se;bt(I);var te=m(I,2),se=O(te);{var oe=fe=>{var ce=hi(),E=U(ce),k={};B(()=>{M(E,`${o(H).ref??""} (not known)`),k!==(k=o(H).ref)&&(ce.value=(ce.__value=k)??"")}),y(fe,ce)},be=j(()=>!o(r).has(o(H).ref));G(se,fe=>{o(be)&&fe(oe)})}var Ie=m(se);Be(Ie,17,()=>e.refs,fe=>fe.group,(fe,ce)=>{var E=Go();Be(E,21,()=>o(ce).options,k=>k.value,(k,z)=>{var re=hi(),de=U(re,!0),Q={};B(()=>{M(de,o(z).label),Q!==(Q=o(z).value)&&(re.value=(re.__value=Q)??"")}),y(k,re)}),x(E),B(()=>ge(E,"label",o(ce).group)),y(fe,E)}),x(te);var q;bt(te);var V=m(te,2),_e=O(V);En(_e,{class:"size-4","aria-hidden":"true"}),x(V),x(R),B(()=>{ge(I,"aria-label",`${e.label??""}: when`),I.disabled=s(),Se!==(Se=o(H).not?"not":"is")&&(I.value=I.__value=Se,$t(I,Se)),ge(te,"aria-label",`${e.label??""}: condition ${ve+1}`),te.disabled=s(),q!==(q=o(H).ref)&&(te.value=(te.__value=q)??"",$t(te,q)),V.disabled=s()}),we("change",I,fe=>{const ce=[...o(i).items];ce[ve]={...o(H),not:fe.currentTarget.value==="not"},a({...o(i),items:ce})}),we("change",te,fe=>{const ce=[...o(i).items];ce[ve]={...o(H),ref:fe.currentTarget.value},a({...o(i),items:ce})}),we("click",V,()=>a({...o(i),items:o(i).items.filter((fe,ce)=>ce!==ve)})),y(C,R)}),x(D);var K=m(D,2),W=O(K);Cn(W,{class:"size-3.5","aria-hidden":"true"});var ie=m(W,1,!0);x(K),B(()=>{K.disabled=s(),M(ie,o(i).items.length?"Add another":"Add a condition")}),we("click",K,()=>a({...o(i),items:[...o(i).items,{not:!1,ref:o(l)}]})),y(v,N)};G(g,v=>{o(i)===null?v(A):v(p,-1)})}x(c),B(()=>{ge(c,"aria-describedby",t()?`${e.id}-help`:void 0),M(h,e.label)}),y(n,c),Kt()}Pt(["change","click"]);var Zo=w('<p class="mt-2 text-sm text-danger" role="alert">It is placed after a step that does not exist. Move it to put it back in the passage.</p>'),el=w('<span class="ml-1 font-normal text-muted-foreground">(required)</span>'),tl=w('<div><label for="step-skip-note" class="block text-sm font-medium">Why it is skipped</label> <input id="step-skip-note"/></div>'),sl=w("<!> <!> <!> <!>",1),nl=w('<p class="rounded-md bg-muted/60 px-3 py-2 text-sm text-muted-foreground">When a built-in step is reached is fixed. You can rename it and choose what it shows.</p>'),il=w('<label class="flex items-center gap-2 text-sm"><input type="checkbox" class="size-4 accent-[var(--sea)]"/> </label>'),pi=w("<option> </option>"),rl=w('<div><label for="step-give-up" class="block text-sm font-medium">Stop checking after</label> <input id="step-give-up" placeholder="e.g. 24h"/></div>'),al=w('<p class="mt-1 text-sm text-muted-foreground">This note depends on a condition; edit it in the YAML view.</p>'),ol=w('<textarea id="step-note" rows="2"></textarea>'),ll=w('<li><button type="button" class="flex w-full items-baseline justify-between gap-3 px-3 py-2 text-left text-sm hover:bg-muted/60"><span class="font-medium"> </span> <span class="text-xs text-muted-foreground"> </span></button></li>'),cl=w('<ul class="mt-2 divide-y rounded-lg border"></ul>'),ul=w('<p class="mt-1 text-sm text-muted-foreground">None yet.</p>'),fl=w("<!>Add a check to this step",1),dl=w('<div class="mt-3 flex flex-wrap items-center gap-2"><label for="add-check-type" class="sr-only">Kind of check</label> <select id="add-check-type" class="rounded-md border border-input bg-card px-2 py-1.5 text-sm"></select> <!></div> <p class="mt-1 text-xs text-muted-foreground">The step is then reached when the check passes, and shows its result.</p>',1),hl=w("<!>Move up",1),pl=w("<!>Move down",1),ml=w("<!>Remove this step",1),gl=w("<!> <!> <!>",1),vl=w("<!>Undo this file’s changes to the step",1),yl=w('<p class="self-center text-xs text-muted-foreground">Built-in steps stay in place and cannot be removed.</p>'),bl=w('<section aria-labelledby="step-title"><p class="text-xs tracking-wide text-muted-foreground uppercase"> </p> <h2 id="step-title" class="mt-0.5 text-xl"> </h2> <!> <div class="mt-5 grid gap-4 sm:grid-cols-[minmax(0,2fr)_minmax(0,1fr)]"><div><label for="step-label" class="block text-sm font-medium">Name<!></label> <input id="step-label"/></div> <div><label for="step-short" class="block text-sm font-medium">Short name</label> <input id="step-short" placeholder="For narrow layouts"/></div></div> <div class="mt-6 space-y-5"><!> <fieldset><legend class="block text-sm font-medium">What it shows on the task page</legend> <p class="mt-0.5 text-xs text-muted-foreground"> </p> <div class="mt-2 grid gap-x-4 gap-y-1.5 sm:grid-cols-2 xl:grid-cols-3"></div></fieldset> <div class="grid gap-4 sm:grid-cols-2"><div><label for="step-link" class="block text-sm font-medium">Main link while current</label> <select id="step-link"><option>None</option><!></select></div> <!></div> <div><label for="step-note" class="block text-sm font-medium">Note shown with the step</label> <!></div></div> <div class="mt-8 border-t pt-5"><h3 class="block text-sm font-medium">Checks this step uses</h3> <!> <!></div> <div class="mt-8 flex flex-wrap gap-2 border-t pt-5"><!> <!></div></section>');function _l(n,e){Dt(e,!0);const t=j(()=>e.declared!=="builtin"),s=L=>typeof L=="string"?L:"",i=j(()=>Array.isArray(e.entry?.evidence)?e.entry.evidence:null),r=j(()=>typeof e.entry?.note=="string"?e.entry.note:""),a=j(()=>!!e.entry?.note&&typeof e.entry.note=="object"),l={builtin:"A built-in step",project:"Added by the project’s repository file",captain:"Added by your Wheelhouse config",file:"Added by this file"},c="mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm";let u=$e("command");var h=bl(),f=O(h),d=U(f),g=m(f,2),A=U(g,!0),p=m(g,2);{var v=L=>{var Y=Zo();y(L,Y)};G(p,L=>{e.step.lost&&L(v)})}var N=m(p,2),T=O(N),P=O(T),D=m(O(P));{var K=L=>{var Y=el();y(L,Y)};G(D,L=>{e.step.added&&L(K)})}x(P);var W=m(P,2);mt(W),Ae(W,1,Ze(c)),x(T);var ie=m(T,2),C=m(O(ie),2);mt(C),Ae(C,1,Ze(c)),x(ie),x(N);var H=m(N,2),ve=O(H);{var R=L=>{var Y=sl(),F=Ee(Y);{let ne=j(()=>e.step.added?"Required. The step is current once this holds.":null),me=j(()=>e.entry?.reached_when);pn(F,{id:"reached",label:"Reached when",get help(){return o(ne)},get value(){return o(me)},get refs(){return e.refs},onchange:X=>e.onfield("reached_when",X)})}var S=m(F,2);{let ne=j(()=>e.entry?.failed_when);pn(S,{id:"failed",label:"Failed when",help:"Optional. The task shows as failed at this step.",get value(){return o(ne)},get refs(){return e.refs},onchange:me=>e.onfield("failed_when",me)})}var J=m(S,2);{let ne=j(()=>e.entry?.skip_when);pn(J,{id:"skipped",label:"Skipped when",help:"Optional. Shown as skipped unless it is the current step.",get value(){return o(ne)},get refs(){return e.refs},onchange:me=>e.onfield("skip_when",me)})}var pe=m(J,2);{var ke=ne=>{var me=tl(),X=m(O(me),2);mt(X),Ae(X,1,Ze(c)),x(me),B(Ce=>ht(X,Ce),[()=>s(e.entry?.skip_note)]),we("input",X,Ce=>e.onfield("skip_note",Ce.currentTarget.value)),y(ne,me)};G(pe,ne=>{e.entry?.skip_when!==void 0&&ne(ke)})}y(L,Y)},I=L=>{var Y=nl();y(L,Y)};G(ve,L=>{o(t)?L(R):L(I,-1)})}var $=m(ve,2),ye=m(O($),2),Se=U(ye,!0),te=m(ye,2);Be(te,21,()=>e.evidence,L=>L.value,(L,Y)=>{var F=il(),S=O(F);mt(S);var J=m(S,1,!0);x(F),B(pe=>{Sr(S,pe),M(J,o(Y).label)},[()=>o(i)?.includes(o(Y).value)??!1]),we("change",S,pe=>{const ke=pe.currentTarget.checked,ne=o(i)??[];e.onfield("evidence",ke?[...ne,o(Y).value]:ne.filter(me=>me!==o(Y).value))}),y(L,F)}),x(te),x($);var se=m($,2),oe=O(se),be=m(O(oe),2);Ae(be,1,Ze(c));var Ie=O(be);Ie.value=Ie.__value="";var q=m(Ie);Be(q,17,()=>e.links,L=>L.id,(L,Y)=>{var F=pi(),S=U(F,!0),J={};B(()=>{M(S,o(Y).label),J!==(J=`${o(Y).id??""}.url`)&&(F.value=F.__value=J)}),y(L,F)}),x(be);var V;bt(be),x(oe);var _e=m(oe,2);{var fe=L=>{var Y=rl(),F=m(O(Y),2);mt(F),Ae(F,1,"mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm max-w-40"),x(Y),B(S=>ht(F,S),[()=>s(e.entry?.give_up_after)]),we("input",F,S=>e.onfield("give_up_after",S.currentTarget.value)),y(L,Y)};G(_e,L=>{o(t)&&L(fe)})}x(se);var ce=m(se,2),E=m(O(ce),2);{var k=L=>{var Y=al();y(L,Y)},z=L=>{var Y=ol();$s(Y),Ae(Y,1,Ze(c)),B(()=>ht(Y,o(r))),we("input",Y,F=>e.onfield("note",F.currentTarget.value)),y(L,Y)};G(E,L=>{o(a)?L(k):L(z,-1)})}x(ce),x(H);var re=m(H,2),de=m(O(re),2);{var Q=L=>{var Y=cl();Be(Y,21,()=>e.uses,F=>F.id,(F,S)=>{var J=ll(),pe=O(J),ke=O(pe),ne=U(ke,!0),me=m(ke,2),X=U(me,!0);x(pe),x(J),B(()=>{M(ne,o(S).label),M(X,vs[o(S).type]?.name??o(S).type)}),we("click",pe,()=>e.onopencheck(o(S).id)),y(F,J)}),x(Y),y(L,Y)},ee=L=>{var Y=ul();y(L,Y)};G(de,L=>{e.uses.length?L(Q):L(ee,-1)})}var Ne=m(de,2);{var he=L=>{var Y=dl(),F=Ee(Y),S=m(O(F),2);Be(S,21,()=>Object.entries(vs),([pe,ke])=>pe,(pe,ke)=>{var ne=j(()=>_r(o(ke),2));let me=()=>o(ne)[0],X=()=>o(ne)[1];var Ce=pi(),st=U(Ce,!0),kt={};B(()=>{M(st,X().name),kt!==(kt=me())&&(Ce.value=(Ce.__value=kt)??"")}),y(pe,Ce)}),x(S),bt(S);var J=m(S,2);et(J,{variant:"outline",size:"sm",onclick:()=>e.onaddcheck(o(u)),children:(pe,ke)=>{var ne=fl(),me=Ee(ne);Cn(me,{"aria-hidden":"true"}),We(),y(pe,ne)},$$slots:{default:!0}}),x(F),We(2),mi(S,()=>o(u),pe=>ae(u,pe)),y(L,Y)};G(Ne,L=>{o(t)&&L(he)})}x(re);var Me=m(re,2),Fe=O(Me);{var Ve=L=>{var Y=gl(),F=Ee(Y);{let pe=j(()=>!e.canUp);et(F,{variant:"outline",size:"sm",get disabled(){return o(pe)},onclick:()=>e.onmove(-1),children:(ke,ne)=>{var me=hl(),X=Ee(me);vi(X,{"aria-hidden":"true"}),We(),y(ke,me)},$$slots:{default:!0}})}var S=m(F,2);{let pe=j(()=>!e.canDown);et(S,{variant:"outline",size:"sm",get disabled(){return o(pe)},onclick:()=>e.onmove(1),children:(ke,ne)=>{var me=pl(),X=Ee(me);yi(X,{"aria-hidden":"true"}),We(),y(ke,me)},$$slots:{default:!0}})}var J=m(S,2);et(J,{variant:"destructive",size:"sm",get onclick(){return e.onremove},children:(pe,ke)=>{var ne=ml(),me=Ee(ne);_i(me,{"aria-hidden":"true"}),We(),y(pe,ne)},$$slots:{default:!0}}),y(L,Y)},Ye=L=>{et(L,{variant:"outline",size:"sm",get onclick(){return e.onreset},children:(Y,F)=>{var S=vl(),J=Ee(S);Gr(J,{"aria-hidden":"true"}),We(),y(Y,S)},$$slots:{default:!0}})};G(Fe,L=>{e.step.added?L(Ve):e.step.restyled&&L(Ye,1)})}var tt=m(Fe,2);{var Qe=L=>{var Y=yl();y(L,Y)};G(tt,L=>{e.declared==="builtin"&&L(Qe)})}x(Me),x(h),B((L,Y,F)=>{ge(h,"data-step-form",e.step.id),M(d,`${l[e.declared]??""}${e.step.restyled&&!e.step.added?", changed by this file":""}`),M(A,e.step.label),ht(W,L),ge(W,"placeholder",e.step.added?"e.g. Deployed locally":e.step.label),ht(C,Y),M(Se,o(i)?"Chosen here.":`As in ${e.belowName}; tick to choose your own.`),V!==(V=F)&&(be.value=(be.__value=V)??"",$t(be,V))},[()=>s(e.entry?.label),()=>s(e.entry?.short),()=>s(e.entry?.primary_link)]),we("input",W,L=>e.onfield("label",L.currentTarget.value)),we("change",W,function(...L){e.onlabeldone?.apply(this,L)}),we("input",C,L=>e.onfield("short",L.currentTarget.value)),we("change",be,L=>e.onfield("primary_link",L.currentTarget.value)),y(n,h),Kt()}Pt(["input","change","click"]);var wl=w('<p class="mt-4 text-sm text-muted-foreground"> </p>'),kl=w("<option> </option>"),xl=w("<!> ",1),Sl=w('<p class="mt-2 text-sm text-danger">Fix the file’s problems to test it.</p>'),Nl=w('<li><span class="font-medium"> </span> <code class="font-mono text-xs"> </code> <span class="text-xs text-muted-foreground"> </span></li>'),Al=w('<p class="mt-2 pl-6 text-xs text-muted-foreground"> </p>'),Ol=w('<div class="mt-4 rounded-lg border bg-panel p-3 text-sm"><label class="flex items-start gap-2"><input type="checkbox" class="mt-0.5 size-4 accent-[var(--sea)]"/> <span> </span></label> <ul class="mt-2 space-y-1 pl-6"></ul> <!></div>'),Tl=w('<div class="mt-4 flex flex-wrap items-end gap-3"><label class="min-w-0 flex-1 text-sm font-medium" for="test-task">Task <select id="test-task" class="mt-1 block w-full max-w-xl rounded-md border border-input bg-card px-3 py-1.5 text-sm font-normal"></select></label> <!></div> <!> <!>',1),Il=w('<p class="mt-3 text-sm text-danger" role="alert"> </p>'),El=w("<li> </li>"),Cl=w('<ul class="mt-1 list-disc pl-5 font-mono text-xs"></ul>'),Ll=w('<div class="mt-4 text-sm text-danger" role="alert"><p> </p> <!></div>'),jl=w('<p class="mt-2 text-sm text-warning" role="status"> </p>'),Ml=w('<span class="block text-xs text-danger"> </span>'),$l=w('<span class="block text-xs text-muted-foreground"> </span>'),Bl=w('<li class="flex items-start gap-2"><!> <span class="min-w-0"><span> </span> <span class="sr-only"> </span> <!> <!></span></li>'),Pl=w('<p class="mt-1 text-sm text-muted-foreground">This passage has no checks.</p>'),Dl=w('<p class="mt-0.5 font-mono text-xs text-muted-foreground"> </p>'),Kl=w('<details class="mt-1"><summary class="cursor-pointer text-xs text-sea">Output</summary> <pre class="mt-1 max-h-72 overflow-auto rounded-md bg-terminal px-3 py-2 font-mono text-xs text-terminal-foreground"> </pre></details>'),Rl=w('<li><p class="flex flex-wrap items-baseline gap-x-2"><span class="font-medium"> </span> <span> </span></p> <p class="mt-0.5 text-muted-foreground"> </p> <!> <!></li>'),Fl=w('<ul class="mt-3 space-y-2"></ul>'),ql=w('<div class="mt-5 grid gap-6 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.4fr)]" aria-live="polite"><div><h3 class="text-sm font-medium">It would be at <span> </span></h3> <p class="mt-1 text-xs text-muted-foreground"> </p> <!> <ol class="mt-3 space-y-1.5 text-sm"></ol></div> <div><h3 class="text-sm font-medium">What each check found</h3> <!></div></div>'),Ul=w(`<section class="rounded-xl border bg-card p-5" aria-labelledby="test-title" data-test-panel=""><div class="flex items-start gap-3"><div class="min-w-0 flex-1"><h2 id="test-title" class="text-lg">Test this passage</h2> <p class="mt-1 text-sm text-muted-foreground">See where a task would be with your edits. Each check runs once now; nothing is saved or
|
|
148
|
+
recorded.</p></div> <button type="button" class="inline-flex size-8 items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Close the test"><!></button></div> <!> <!> <!></section>`);function Wl(n,e){Dt(e,!0);const t=j(()=>e.tasks.filter(R=>R.track===e.track));let s=$e(""),i=$e(!1),r=$e(!1),a=$e(null),l=$e(null);Bs(()=>{o(t).some(R=>R.id===o(s))||ae(s,o(t)[0]?.id??"",!0)});const c=j(()=>JSON.stringify(e.commands));Bs(()=>{o(c),ae(i,!1)});async function u(){ae(r,!0),ae(l,null),ae(a,null);try{const R=await fetch(`/api/projects/${encodeURIComponent(e.projectId)}/passage/test`,{method:"POST",headers:{"content-type":"application/json",[vn]:Ps.data.sessionToken},body:JSON.stringify({target:e.target,text:e.text,taskId:o(s),commands:o(i)&&e.commands.length>0?e.commands:null})}),I=await R.json().catch(()=>null);I&&typeof I.ok=="boolean"?ae(a,I,!0):ae(l,typeof I?.message=="string"?I.message:`Wheelhouse answered ${R.status}.`,!0)}catch{ae(l,"Could not reach the Wheelhouse server.")}finally{ae(r,!1)}}const h={s:1,m:60,h:3600,d:86400},f=j(()=>{const R=e.commands.reduce((I,$)=>{const ye=/^(\d+)([smhd])$/.exec($.timeout);return I+(ye?Number(ye[1])*h[ye[2]]:300)},0);return R>=3600&&R%3600===0?`${R/3600} h`:R>=60?`${Math.round(R/60)} min`:`${R} s`}),d=new Set(["failed","failure","error","mismatch"]),g=new Set(["absent","not_yet","no","in_progress"]);function A(R){return R.state==="observed"&&R.outcome&&d.has(R.outcome)?{word:"Failed",tone:"text-danger"}:R.state==="observed"&&R.outcome&&g.has(R.outcome)?{word:"Not yet",tone:"text-muted-foreground"}:R.state==="observed"?{word:"Passed",tone:"text-success"}:R.state==="unknown"?{word:"Couldn’t tell",tone:"text-warning"}:{word:"Not run",tone:"text-muted-foreground"}}var p=Ul(),v=O(p),N=m(O(v),2),T=O(N);En(T,{class:"size-4","aria-hidden":"true"}),x(N),x(v);var P=m(v,2);{var D=R=>{var I=wl(),$=U(I,!0);B(()=>M($,e.tasks.length?`None of this project’s recent tasks follow the ${e.track==="ship"?"ship":"scout"} passage.`:"Wheelhouse has not seen any of this project’s tasks recently.")),y(R,I)},K=R=>{var I=Tl(),$=Ee(I),ye=O($),Se=m(O(ye));Be(Se,21,()=>o(t),q=>q.id,(q,V)=>{var _e=kl(),fe=U(_e),ce={};B(()=>{M(fe,`${o(V).title??""}${o(V).step?` (now at ${o(V).step})`:""}`),ce!==(ce=o(V).id)&&(_e.value=(_e.__value=ce)??"")}),y(q,_e)}),x(Se),bt(Se),x(ye);var te=m(ye,2);{let q=j(()=>o(r)||e.blocked||!o(s));et(te,{get disabled(){return o(q)},onclick:u,children:(V,_e)=>{var fe=xl(),ce=Ee(fe);Rr(ce,{"aria-hidden":"true"});var E=m(ce,1,!0);B(()=>M(E,o(r)?"Testing…":"Run the test")),y(V,fe)},$$slots:{default:!0}})}x($);var se=m($,2);{var oe=q=>{var V=Sl();y(q,V)};G(se,q=>{e.blocked&&q(oe)})}var be=m(se,2);{var Ie=q=>{var V=Ol(),_e=O(V),fe=O(_e);mt(fe);var ce=m(fe,2),E=U(ce);x(_e);var k=m(_e,2);Be(k,21,()=>e.commands,de=>de.id,(de,Q)=>{var ee=Nl(),Ne=O(ee),he=U(Ne),Me=m(Ne,2),Fe=U(Me,!0),Ve=m(Me,2),Ye=U(Ve);x(ee),B(()=>{M(he,`${o(Q).label??""}:`),M(Fe,o(Q).line),M(Ye,`in ${(o(Q).cwd==="."?"the project folder":o(Q).cwd)??""}, up to ${o(Q).timeout??""}`)}),y(de,ee)}),x(k);var z=m(k,2);{var re=de=>{var Q=Al(),ee=U(Q);B(()=>M(ee,`The test waits for ${e.commands.length===1?"it":"them"}, up to ${o(f)??""} in all.`)),y(de,Q)};G(z,de=>{o(i)&&de(re)})}x(V),B(()=>M(E,`Also run ${e.commands.length===1?"this command":`these ${e.commands.length} commands`} on
|
|
149
|
+
this machine now. Otherwise they are left out of the test.`)),Ir(fe,()=>o(i),de=>ae(i,de)),y(q,V)};G(be,q=>{e.commands.length&&q(Ie)})}mi(Se,()=>o(s),q=>ae(s,q)),y(R,I)};G(P,R=>{o(t).length?R(K,-1):R(D)})}var W=m(P,2);{var ie=R=>{var I=Il(),$=U(I,!0);B(()=>M($,o(l))),y(R,I)};G(W,R=>{o(l)&&R(ie)})}var C=m(W,2);{var H=R=>{var I=Ll(),$=O(I),ye=U($,!0),Se=m($,2);{var te=se=>{var oe=Cl();Be(oe,21,()=>o(a).errors,gs,(be,Ie)=>{var q=El(),V=U(q,!0);B(()=>M(V,o(Ie))),y(be,q)}),x(oe),y(se,oe)};G(Se,se=>{o(a).errors.length&&se(te)})}x(I),B(()=>M(ye,o(a).message)),y(R,I)},ve=R=>{const I=j(()=>o(a).passage),$=j(()=>o(I).steps[o(I).current]),ye=j(()=>o(I).checks.filter(Q=>A(Q).word==="Failed").length),Se=j(()=>o(I).checks.filter(Q=>Q.state==="unknown").length),te=j(()=>new Set(o(I).checks.filter(Q=>A(Q).word==="Failed").map(Q=>Q.id)));var se=ql(),oe=O(se),be=O(oe),Ie=m(O(be)),q=U(Ie);x(be);var V=m(be,2),_e=U(V,!0),fe=m(V,2);{var ce=Q=>{var ee=jl(),Ne=U(ee);B(he=>M(Ne,`${he??""}; see what each check found.`),[()=>[o(ye)?`${o(ye)} check${o(ye)===1?"":"s"} failed`:"",o(Se)?`${o(Se)} couldn’t tell`:""].filter(Boolean).join(" and ")]),y(Q,ee)};G(fe,Q=>{(o(ye)||o(Se))&&Q(ce)})}var E=m(fe,2);Be(E,21,()=>o(I).steps,Q=>Q.key,(Q,ee)=>{const Ne=j(()=>o(ee).evidence.some(X=>X.startsWith("check:")&&o(te).has(X.slice(6))));var he=Bl(),Me=O(he);{var Fe=X=>{bi(X,{class:"mt-0.5 size-4 shrink-0 text-danger","aria-hidden":"true"})},Ve=X=>{qr(X,{class:"mt-0.5 size-4 shrink-0 text-success","aria-hidden":"true"})},Ye=X=>{Ur(X,{class:"mt-0.5 size-4 shrink-0 text-sea","aria-hidden":"true"})},tt=X=>{Wr(X,{class:"mt-0.5 size-4 shrink-0 text-muted-foreground","aria-hidden":"true"})},Qe=X=>{Fr(X,{class:"mt-0.5 size-4 shrink-0 text-muted-foreground","aria-hidden":"true"})};G(Me,X=>{o(ee).failed||o(Ne)?X(Fe):o(ee).state==="done"?X(Ve,1):o(ee).state==="current"?X(Ye,2):o(ee).state==="skipped"?X(tt,3):X(Qe,-1)})}var L=m(Me,2),Y=O(L),F=U(Y,!0),S=m(Y,2),J=U(S),pe=m(S,2);{var ke=X=>{var Ce=Ml(),st=U(Ce);B(()=>M(st,`Its check failed${o(ee).state==="done"?", though a later step was reached":""}.`)),y(X,Ce)};G(pe,X=>{o(Ne)&&!o(ee).failed&&X(ke)})}var ne=m(pe,2);{var me=X=>{var Ce=$l(),st=U(Ce,!0);B(()=>M(st,o(ee).note)),y(X,Ce)};G(ne,X=>{o(ee).note&&X(me)})}x(L),x(he),B(()=>{ge(he,"data-state",o(ee).state),Ae(Y,1,Ze(o(ee).state==="upcoming"?"text-muted-foreground":"")),M(F,o(ee).label),M(J,`(${(o(ee).failed?"failed":o(ee).state)??""})`)}),y(Q,he)}),x(E),x(oe);var k=m(oe,2),z=m(O(k),2);{var re=Q=>{var ee=Pl();y(Q,ee)},de=Q=>{var ee=Fl();Be(ee,21,()=>o(I).checks,Ne=>Ne.id,(Ne,he)=>{const Me=j(()=>A(o(he)));var Fe=Rl(),Ve=O(Fe),Ye=O(Ve),tt=U(Ye,!0),Qe=m(Ye,2),L=U(Qe,!0);x(Ve);var Y=m(Ve,2),F=U(Y,!0),S=m(Y,2);{var J=ne=>{var me=Dl(),X=U(me,!0);B(()=>M(X,o(he).command)),y(ne,me)};G(S,ne=>{o(he).command&&ne(J)})}var pe=m(S,2);{var ke=ne=>{var me=Kl(),X=m(O(me),2),Ce=U(X,!0);x(me),B(()=>M(Ce,o(he).output)),y(ne,me)};G(pe,ne=>{o(he).output&&ne(ke)})}x(Fe),B(()=>{Ae(Fe,1,`rounded-lg border px-3 py-2 text-sm ${o(Me).word==="Failed"?"border-danger/50":o(Me).word==="Couldn’t tell"?"border-warning/50":""}`),ge(Fe,"data-verdict",o(Me).word),M(tt,o(he).label),Ae(Qe,1,`text-xs font-medium ${o(Me).tone??""}`),M(L,o(Me).word),M(F,o(he).summary)}),y(Ne,Fe)}),x(ee),y(Q,ee)};G(z,Q=>{o(I).checks.length?Q(de,-1):Q(re)})}x(k),x(se),B(()=>{Ae(Ie,1,Ze(o($).failed?"text-danger":"text-sea")),M(q,`${o($).label??""}${o($).failed?", failed":""}`),M(_e,o(I).basis)}),y(R,se)};G(C,R=>{o(a)&&!o(a).ok?R(H):o(a)?.ok&&R(ve,1)})}x(p),we("click",N,function(...R){e.onclose?.apply(this,R)}),y(n,p),Kt()}Pt(["click"]);var Vl=w('<button type="button" class="inline-flex items-center gap-1.5 text-danger hover:underline"><!> </button>'),Jl=w('<span class="text-muted-foreground">Checking…</span>'),Yl=w('<span class="inline-flex items-center gap-1.5 whitespace-nowrap text-success"><!>No problems</span>'),zl=w("<!>Test",1),Gl=w('<li class="font-mono text-xs leading-5 break-words"> </li>'),Hl=w('<ul class="mt-3 space-y-1 rounded-lg border border-danger/40 bg-danger/5 px-4 py-3 text-sm text-danger" role="alert"></ul>'),Ql=w('<p class="mt-3 text-sm text-success" role="status"> </p>'),Xl=w('<div class="mt-5"><!></div>'),Zl=w('<p class="mb-3 text-sm text-danger">The YAML could not be read, so the form is unavailable. Fix it here.</p>'),ec=w('<div class="mt-6"><!> <label for="yaml" class="sr-only">The passage file as YAML</label> <textarea id="yaml" class="min-h-[60vh] w-full rounded-lg border border-input bg-card p-4 font-mono text-sm leading-6" spellcheck="false"></textarea></div>'),tc=w("<!>Up",1),sc=w("<!>Down",1),nc=w('<div class="flex gap-1 px-3 pb-2" role="group"><!> <!></div>'),ic=w('<li><button type="button"><span class="tabular w-5 shrink-0 text-muted-foreground"> </span> <span> </span> <span> </span></button> <!></li>'),rc=w("<!> ",1),ac=w('<li><button type="button"><span> </span> <span class="text-xs text-muted-foreground"> </span></button></li>'),oc=w('<ul class="mt-2 divide-y rounded-xl border bg-card"></ul>'),lc=w('<p class="mt-1 text-sm text-muted-foreground">None yet. Choose a step and add a check to it.</p>'),cc=w('<div class="py-6 text-sm text-muted-foreground"><p>Choose a step or a check to edit it.</p> <p class="mt-1">Or add a step, such as a local deploy after the merge.</p></div>'),uc=w('<div class="mt-6 grid gap-8 lg:grid-cols-[minmax(17rem,24rem)_minmax(0,1fr)]"><div class="min-w-0 space-y-8"><section aria-labelledby="steps-title"><h2 id="steps-title" class="text-sm font-medium">Steps, in order</h2> <ol class="mt-2 divide-y rounded-xl border bg-card" data-step-list=""></ol> <!></section> <section aria-labelledby="checks-title"><h2 id="checks-title" class="text-sm font-medium">Checks</h2> <!></section></div> <div id="passage-detail" class="min-w-0 scroll-mt-20 rounded-xl border bg-card p-5 lg:p-6"><!></div></div>'),fc=w('<div class="mt-6 flex flex-wrap items-center gap-x-4 gap-y-3 border-y py-3"><div class="inline-flex rounded-md bg-muted p-0.5" role="tablist" aria-label="Edit as"><button type="button" role="tab">Form</button> <button type="button" role="tab">YAML</button></div> <label class="inline-flex items-center gap-2 text-sm"><span class="text-muted-foreground">Builds on</span> <select class="rounded-md border border-input bg-card px-2 py-1 text-sm"><option>Ship work</option><option>Scout work</option></select></label> <div class="min-w-0 flex-1 text-sm" aria-live="polite"><!></div> <div class="flex gap-2"><!> <!></div></div> <!> <!> <!> <!> <!> <p class="mt-8 text-xs text-muted-foreground"><!></p>',1);function dc(n,e){Dt(e,!0);const t=e.editor.file.exists?e.editor.file.text:rr();let s=$e(wr(t)),i=$e("form"),r=$e(null),a=$e(!1),l=$e(!1),c=$e(!1),u=$e(null),h=$e(null),f=$e(null),d=$e(!1),g=$e(!1);const A=j(()=>Sn(o(s))),p=j(()=>o(A)?.extends??"ship"),v=j(()=>e.editor.below[o(p)]),N=j(()=>o(A)?_s(o(v),o(A).stages):[]),T=j(()=>o(A)?.checks??{}),P=j(()=>o(s)!==t),D=j(()=>o(A)===null),K=j(()=>o(D)?["The YAML could not be read."]:o(f)?.errors??[]),W=j(()=>o(f)?.commands??[]),ie=j(()=>e.editor.target==="project"),C=j(()=>e.editor.defaultRef?.replace(/^origin\//,"")??"the default branch"),H=j(()=>{const b={};for(const _ of o(v).checks)b[_.id]={..._,mine:!1};for(const[_,Z]of Object.entries(o(T)))b[_]={id:_,label:typeof Z?.label=="string"&&Z.label?Z.label:_,type:String(Z?.type??""),mine:!0};return Object.values(b)}),ve=j(()=>[{group:"Firstmate",options:Object.entries(Mr).map(([b,_])=>({value:b,label:_.charAt(0).toUpperCase()+_.slice(1)}))},...o(H).map(b=>({group:b.label,options:($r[b.type]??[]).map(_=>({value:`${b.id}.${_}`,label:`${b.label} ${Br(_)}`}))}))]),R=j(()=>[...Object.entries(jr).map(([b,_])=>({value:b,label:_})),...o(H).map(b=>({value:`check:${b.id}`,label:`${b.label} result`}))]);Bs(()=>{const b=o(s);if(o(D))return;ae(d,!0);const _=setTimeout(async()=>{try{const le=await(await fetch(`/api/projects/${encodeURIComponent(e.editor.projectId)}/passage/draft`,{method:"POST",headers:{"content-type":"application/json",[vn]:Ps.data.sessionToken},body:JSON.stringify({target:e.editor.target,text:b})})).json().catch(()=>null);b===o(s)&&le&&Array.isArray(le.errors)&&ae(f,le,!0)}catch{}finally{b===o(s)&&ae(d,!1)}},300);return()=>clearTimeout(_)}),Ar(({cancel:b,willUnload:_})=>{o(P)&&!o(c)&&!_&&!confirm("Leave without saving your changes?")&&b()});const I=b=>{ae(s,lo(o(s),b),!0),ae(h,null)},$=j(()=>o(r)?.kind==="step"?o(N).find(b=>b.id===o(r).id):void 0),ye=j(()=>o($)&&o($).fileIndex!==null?o(A)?.stages[o($).fileIndex]??null:null),Se=j(()=>o($)?o($).added?"file":o(v).steps.find(b=>b.id===o($).id)?.origin??"builtin":"builtin"),te=j(()=>o($)?o(N).indexOf(o($)):-1),se=new Xn,oe=new Xn,be=b=>o(N).map(_=>_.id).filter(_=>_!==b),Ie=b=>o(H).map(_=>_.id).filter(_=>_!==b);function q(b,_){if(!o($))return;const Z=o($).id;I(le=>{const qe=o($).fileIndex??fi(le,Z);Et(le,qe,b,_)})}function V(){if(!o($)||!se.has(o($).id))return;const b=o($).id,_=typeof o(ye)?.label=="string"?o(ye).label.trim():"";if(!_)return;const Z=Cs(_,be(b));Z!==b&&(I(le=>co(le,b,Z)),se.delete(b),se.add(Z),ae(r,{kind:"step",id:Z},!0))}function _e(b){if(!oe.has(b))return;const _=o(T)[b]?.label;if(typeof _!="string"||!_.trim())return;const Z=Cs(_,Ie(b),"check");Z!==b&&(I(le=>po(le,b,Z)),oe.delete(b),oe.add(Z),ae(r,{kind:"check",id:Z},!0))}function fe(b,_){ae(r,{kind:b,id:_},!0),typeof window<"u"&&window.innerWidth<1024&&requestAnimationFrame(()=>document.getElementById("passage-detail")?.scrollIntoView({behavior:"smooth",block:"start"}))}function ce(){const b=Cs("New step",be("")),_=o($)?.id??o(N).at(-1)?.id??null,Z=o($)?o(N).indexOf(o($))+1:o(N).length;I(le=>{uo(le,{id:b,label:"New step",reached_when:"merged"},_),lr(le,o(v),b,Z)}),se.add(b),fe("step",b)}function E(){if(!o($)||o($).fileIndex===null||!confirm(`Remove the step “${o($).label}” from this file?`))return;const b=o($).fileIndex;I(_=>di(_,b)),ae(r,null)}function k(){if(!o($)||o($).fileIndex===null)return;const b=o($).fileIndex;I(_=>di(_,b))}const z={"github.deployment":"success","github.workflow":"success","github.release":"included","npm.published":"published",http:"ok","git.contains":"yes","status.note":"present",command:"passed"},re={"github.deployment":"failure","github.workflow":"failure",command:"failed"},de={"github.deployment":{ref:"merge.commit"},"github.workflow":{ref:"pr.head"},"github.release":{contains:"merge.commit"},"npm.published":{},http:{},"git.contains":{repo:"project-clone",commit:"merge.commit"},"status.note":{prefix:"preview"},command:{timeout:"5m"}};function Q(b){if(!o($))return;const _=o($),Z=o(H).some(Re=>Re.label===_.label)?`${_.label}: ${vs[b].name.toLowerCase()}`:_.label,le=Cs(Z,Ie(""),"check"),qe=o(N).findIndex(Re=>Re.id==="landed"),Je=qe>=0&&o(N).indexOf(_)>qe;I(Re=>{fn(Re,le,{type:b,label:Z,...de[b],...b==="command"&&Je?{when:"merged"}:{}});const St=_.fileIndex??fi(Re,_.id),Ft=Re.toJS().stages[St];if(o(Se)!=="builtin"){const as=(Ss,Xs)=>{const os=Nn(Ss);if(!os)return Ss;const Zs=os.items.filter(Te=>!(Te.ref==="merged"&&!Te.not&&_.added));return An({...os,items:[...Zs,{not:!1,ref:Xs}]})};Et(Re,St,"reached_when",as(Ft.reached_when,`${le}.${z[b]}`)),re[b]&&Et(Re,St,"failed_when",as(Ft.failed_when,`${le}.${re[b]}`))}const Qs=Array.isArray(Ft.evidence)?Ft.evidence:[];Et(Re,St,"evidence",[...Qs,`check:${le}`])}),oe.add(le),ae(ee,_.id,!0),fe("check",le)}let ee=$e(null);const Ne=b=>{const _=o(A)?.stages.find(Z=>Z.id===b);return _?o(H).filter(Z=>ho([_],Z.id).length>0):[]},he=j(()=>o(r)?.kind==="check"?o(H).find(b=>b.id===o(r).id):void 0);function Me(b){confirm("Remove this check? Steps that use it stop using it.")&&(I(_=>{fn(_,b,null),(_.toJS().stages??[]).forEach((le,qe)=>{for(const Je of["reached_when","failed_when","skip_when"]){const Re=Nn(le[Je]);Re&&le[Je]!==void 0&&Et(_,qe,Je,An({...Re,items:Re.items.filter(St=>!St.ref.startsWith(`${b}.`))}))}Array.isArray(le.evidence)&&Et(_,qe,"evidence",le.evidence.filter(Je=>Je!==`check:${b}`)),le.primary_link===`${b}.url`&&Et(_,qe,"primary_link",void 0)})}),ae(r,null))}async function Fe(){ae(c,!0),ae(u,null);try{const b=await fetch(`/api/projects/${encodeURIComponent(e.editor.projectId)}/passage/file`,{method:"PUT",headers:{"content-type":"application/json",[vn]:Ps.data.sessionToken},body:JSON.stringify({target:e.editor.target,text:o(s),baseDigest:e.editor.file.digest})}),_=await b.json().catch(()=>null);if(b.ok&&_?.schema==="wheelhouse-passage-editor.v1"){ae(l,!1);const{tasks:Z,...le}=_;e.onsaved(le,Z)}else ae(u,(typeof _?.message=="string"?_.message:`Wheelhouse answered ${b.status}.`)+(Array.isArray(_?.errors)&&_.errors.length?` ${_.errors[0]}`:""))}catch{ae(u,"Could not reach the Wheelhouse server.")}finally{ae(c,!1)}}const Ve=b=>`inline-flex items-center rounded-sm px-3 py-1.5 text-sm ${b?"bg-card font-medium shadow-xs":"text-muted-foreground hover:text-foreground"}`;var Ye=fc(),tt=Ee(Ye),Qe=O(tt),L=O(Qe),Y=m(L,2);x(Qe);var F=m(Qe,2),S=m(O(F),2),J=O(S);J.value=J.__value="ship";var pe=m(J);pe.value=pe.__value="scout",x(S);var ke;bt(S),x(F);var ne=m(F,2),me=O(ne);{var X=b=>{var _=Vl(),Z=O(_);bi(Z,{class:"size-4","aria-hidden":"true"});var le=m(Z);x(_),B(()=>{ge(_,"aria-expanded",o(g)),M(le,`${o(K).length===1?"1 problem":`${o(K).length} problems`}; it can’t be saved yet`)}),we("click",_,()=>ae(g,!o(g))),y(b,_)},Ce=b=>{var _=Jl();y(b,_)},st=b=>{var _=Yl(),Z=O(_);Vr(Z,{class:"size-4","aria-hidden":"true"}),We(),x(_),y(b,_)};G(me,b=>{o(K).length?b(X):o(d)||!o(f)?b(Ce,1):b(st,-1)})}x(ne);var kt=m(ne,2),Ot=O(kt);et(Ot,{variant:"outline",onclick:()=>ae(a,!o(a)),get"aria-expanded"(){return o(a)},children:(b,_)=>{var Z=zl(),le=Ee(Z);Yr(le,{"aria-hidden":"true"}),We(),y(b,Z)},$$slots:{default:!0}});var Le=m(Ot,2);{let b=j(()=>!o(P)||o(K).length>0||o(d));et(Le,{get disabled(){return o(b)},onclick:()=>{ae(u,null),ae(l,!0)},children:(_,Z)=>{We();var le=Mt("Review and save");y(_,le)},$$slots:{default:!0}})}x(kt),x(tt);var je=m(tt,2);{var at=b=>{var _=Hl();Be(_,21,()=>o(K),gs,(Z,le)=>{var qe=Gl(),Je=U(qe,!0);B(()=>M(Je,o(le))),y(Z,qe)}),x(_),y(b,_)};G(je,b=>{o(g)&&o(K).length&&b(at)})}var xt=m(je,2);{var rs=b=>{var _=Ql(),Z=U(_,!0);B(()=>M(Z,o(h))),y(b,_)};G(xt,b=>{o(h)&&b(rs)})}var Yn=m(xt,2);{var cr=b=>{var _=Xl(),Z=O(_);{let le=j(()=>o(K).length>0);Wl(Z,{get projectId(){return e.editor.projectId},get target(){return e.editor.target},get text(){return o(s)},get track(){return o(p)},get tasks(){return e.tasks},get commands(){return o(W)},get blocked(){return o(le)},onclose:()=>ae(a,!1)})}x(_),y(b,_)};G(Yn,b=>{o(a)&&b(cr)})}var zn=m(Yn,2);{var ur=b=>{var _=ec(),Z=O(_);{var le=Je=>{var Re=Zl();y(Je,Re)};G(Z,Je=>{o(D)&&o(i)==="form"&&Je(le)})}var qe=m(Z,4);$s(qe),x(_),Er(qe,()=>o(s),Je=>ae(s,Je)),y(b,_)},fr=b=>{var _=uc(),Z=O(_),le=O(Z),qe=m(O(le),2);Be(qe,23,()=>o(N),Te=>Te.id,(Te,Oe,Xe)=>{const Ue=j(()=>o(r)?.kind==="step"&&o(r).id===o(Oe).id);var nt=ic(),ze=O(nt),ot=O(ze),vt=U(ot),ft=m(ot,2),Tt=U(ft,!0),qt=m(ft,2),it=U(qt,!0);x(ze);var ls=m(ze,2);{var mr=en=>{var Ns=nc(),Qn=O(Ns);{let tn=j(()=>o(Xe)<=1);et(Qn,{variant:"ghost",size:"xs",get disabled(){return o(tn)},onclick:()=>I(It=>un(It,o(v),o(Oe).id,-1)),children:(It,vr)=>{var cs=tc(),sn=Ee(cs);vi(sn,{"aria-hidden":"true"}),We(),y(It,cs)},$$slots:{default:!0}})}var gr=m(Qn,2);{let tn=j(()=>o(Xe)>=o(N).length-1);et(gr,{variant:"ghost",size:"xs",get disabled(){return o(tn)},onclick:()=>I(It=>un(It,o(v),o(Oe).id,1)),children:(It,vr)=>{var cs=sc(),sn=Ee(cs);yi(sn,{"aria-hidden":"true"}),We(),y(It,cs)},$$slots:{default:!0}})}x(Ns),B(()=>ge(Ns,"aria-label",`Move ${o(Oe).label??""}`)),y(en,Ns)};G(ls,en=>{o(Ue)&&o(Oe).added&&en(mr)})}x(nt),B(()=>{Ae(ze,1,`flex w-full items-baseline gap-2 px-3 py-2.5 text-left text-sm hover:bg-muted/60 ${o(Ue)?"bg-sea/10":""}`),ge(ze,"aria-current",o(Ue)?"true":void 0),ge(ze,"data-step",o(Oe).id),M(vt,`${o(Xe)+1}.`),Ae(ft,1,`min-w-0 flex-1 ${o(Ue)?"font-medium":""}`),M(Tt,o(Oe).label),Ae(qt,1,`text-xs ${o(Oe).lost?"text-danger":"text-muted-foreground"}`),M(it,o(Oe).lost?"misplaced":o(Oe).added?"added here":o(Oe).restyled?"changed here":"")}),we("click",ze,()=>{ae(ee,null),fe("step",o(Oe).id)}),y(Te,nt)}),x(qe);var Je=m(qe,2);et(Je,{variant:"outline",size:"sm",class:"mt-3",onclick:ce,children:(Te,Oe)=>{var Xe=rc(),Ue=Ee(Xe);Cn(Ue,{"aria-hidden":"true"});var nt=m(Ue);B(()=>M(nt,`Add a step${o($)?` after ${o($).label}`:""}`)),y(Te,Xe)},$$slots:{default:!0}}),x(le);var Re=m(le,2),St=m(O(Re),2);{var Ft=Te=>{var Oe=oc();Be(Oe,21,()=>o(H),Xe=>Xe.id,(Xe,Ue)=>{const nt=j(()=>o(r)?.kind==="check"&&o(r).id===o(Ue).id);var ze=ac(),ot=O(ze),vt=O(ot),ft=U(vt,!0),Tt=m(vt,2),qt=U(Tt);x(ot),x(ze),B(()=>{Ae(ot,1,`flex w-full items-baseline justify-between gap-3 px-3 py-2.5 text-left text-sm hover:bg-muted/60 ${o(nt)?"bg-sea/10":""}`),ge(ot,"aria-current",o(nt)?"true":void 0),Ae(vt,1,`min-w-0 ${o(nt)?"font-medium":""}`),M(ft,o(Ue).label),M(qt,`${vs[o(Ue).type]?.name??o(Ue).type??""}${o(Ue).mine?"":", below"}`)}),we("click",ot,()=>{ae(ee,null),fe("check",o(Ue).id)}),y(Xe,ze)}),x(Oe),y(Te,Oe)},Qs=Te=>{var Oe=lc();y(Te,Oe)};G(St,Te=>{o(H).length?Te(Ft):Te(Qs,-1)})}x(Re),x(Z);var as=m(Z,2),Ss=O(as);{var Xs=Te=>{var Oe=mn(),Xe=Ee(Oe);gn(Xe,()=>o($).id,Ue=>{{let nt=j(()=>Ne(o($).id)),ze=j(()=>o($).added&&o(te)>1),ot=j(()=>o($).added&&o(te)<o(N).length-1),vt=j(()=>o(ie)?"the built-in passage":"the repository file or the built-in passage");_l(Ue,{get step(){return o($)},get entry(){return o(ye)},get declared(){return o(Se)},get refs(){return o(ve)},get evidence(){return o(R)},get links(){return o(H)},get uses(){return o(nt)},get canUp(){return o(ze)},get canDown(){return o(ot)},onfield:q,onlabeldone:V,get belowName(){return o(vt)},onmove:ft=>I(Tt=>un(Tt,o(v),o($).id,ft)),onremove:E,onreset:k,onopencheck:ft=>{ae(ee,o($).id,!0),fe("check",ft)},onaddcheck:Q})}}),y(Te,Oe)},os=Te=>{var Oe=mn(),Xe=Ee(Oe);gn(Xe,()=>o(he).id,Ue=>{{let nt=j(()=>o(he).mine?o(T)[o(he).id]:{type:o(he).type,label:o(he).label}),ze=j(()=>!o(he).mine),ot=j(()=>o(he).mine?null:"Declared in the project’s repository file; change it there."),vt=j(()=>!o(ie)),ft=j(()=>o(H).filter(it=>it.type==="github.release")),Tt=j(()=>o(N).filter(it=>Ne(it.id).some(ls=>ls.id===o(he).id)).map(it=>it.label)),qt=j(()=>o(ee)&&o(N).some(it=>it.id===o(ee))?{label:o(N).find(it=>it.id===o(ee)).label,go:()=>fe("step",o(ee))}:null);Bo(Ue,{get checkId(){return o(he).id},get spec(){return o(nt)},get readonly(){return o(ze)},get readonlyWhy(){return o(ot)},get captain(){return o(vt)},get releaseChecks(){return o(ft)},get usedBy(){return o(Tt)},onchange:it=>I(ls=>fn(ls,o(he).id,it)),onlabeldone:()=>_e(o(he).id),get back(){return o(qt)},onremove:()=>Me(o(he).id)})}}),y(Te,Oe)},Zs=Te=>{var Oe=cc();y(Te,Oe)};G(Ss,Te=>{o($)?Te(Xs):o(he)?Te(os,1):Te(Zs,-1)})}x(as),x(_),y(b,_)};G(zn,b=>{o(i)==="yaml"||o(D)?b(ur):b(fr,-1)})}var Gn=m(zn,2);{let b=j(()=>o(l)?mo(e.editor.file.text,o(s),o(v)):[]);Vo(Gn,{get before(){return e.editor.file.text},get after(){return o(s)},get summary(){return o(b)},get target(){return e.editor.target},get defaultRef(){return e.editor.defaultRef},get busy(){return o(c)},get error(){return o(u)},onsave:Fe,get open(){return o(l)},set open(_){ae(l,_,!0)}})}var Hn=m(Gn,2),dr=O(Hn);{var hr=b=>{var _=Mt();B(()=>M(_,`Saving writes the file in the project’s repository; Wheelhouse uses it once it is on ${o(C)??""}.`)),y(b,_)},pr=b=>{var _=Mt("Saving writes your own file for this project; Wheelhouse uses it within a minute.");y(b,_)};G(dr,b=>{o(ie)?b(hr):b(pr,-1)})}x(Hn),B((b,_)=>{ge(L,"aria-selected",o(i)==="form"),Ae(L,1,b),ge(Y,"aria-selected",o(i)==="yaml"),Ae(Y,1,_),S.disabled=o(D),ke!==(ke=o(p))&&(S.value=(S.__value=ke)??"",$t(S,ke))},[()=>Ze(Ve(o(i)==="form")),()=>Ze(Ve(o(i)==="yaml"))]),we("click",L,()=>ae(i,"form")),we("click",Y,()=>ae(i,"yaml")),we("change",S,b=>{const _=b.currentTarget.value;I(Z=>fo(Z,"extends",_)),ae(r,null)}),y(n,Ye),Kt()}Pt(["click","change"]);var hc=w('<p class="mt-10 text-muted-foreground"> </p>'),pc=w('<button type="button" role="radio"><span class="block text-sm font-medium"> </span> <span class="mt-0.5 block text-xs text-muted-foreground"> </span></button>'),mc=w('<span class="text-success">This is the version Wheelhouse uses now.</span>'),gc=w('<span class="text-warning"> </span> <a class="ml-1 text-sea hover:underline">Ask Firstmate to ship it</a>',1),vc=w('<span class="text-success">In use.</span>'),yc=w('<span class="text-danger">Not in use: it has problems.</span>'),bc=w('<details class="mt-1 text-xs text-muted-foreground"><summary class="cursor-pointer">Where the file is</summary> <p class="mt-1 font-mono break-all"> </p></details>'),_c=w('<p class="mt-2 text-sm text-danger"> </p>'),wc=w('<p class="mt-2 text-sm text-success" role="status"> </p>'),kc=w(`<p class="mt-6 text-sm text-muted-foreground"> </p> <h1 class="mt-1 text-2xl font-semibold tracking-tight">Edit passage</h1> <p class="mt-2 max-w-3xl leading-relaxed text-muted-foreground">Add, rename and reorder the steps this project’s tasks pass through, and the checks that
|
|
150
|
+
move them along. Test your edits on a real task before you save.</p> <div class="mt-6" role="radiogroup" aria-label="Which file to edit"><div class="flex flex-wrap gap-3"></div> <p class="mt-3 max-w-3xl text-sm" data-file-state=""><!></p> <!> <!> <!></div> <!>`,1),xc=w('<main class="px-4 pt-6 pb-24 sm:px-6 lg:px-10"><div class="surface px-5 py-6 sm:px-8 sm:py-8"><a class="inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground"><!> </a> <!></div></main>');function Hc(n,e){Dt(e,!0);const t=j(()=>Ps.params.id),s=j(()=>Tr()?.projects.find(T=>T.id===o(t))?.name??o(t));let i=$e(null),r=$e(null);const a=j(()=>o(i)&&o(i).editor.target===e.data.editor?.target&&o(i).editor.projectId===o(t)?o(i).editor:e.data.editor),l=j(()=>o(i)&&o(a)===o(i).editor?o(i).tasks:e.data.tasks),c={project:{name:"Repository file",line:"The project’s .wheelhouse.yaml, shared with everyone who works on the repository."},captain:{name:"Your Wheelhouse config",line:"Your own file for this project, outside the repository. It applies on top of the repository file."}};function u(T){T!==o(a)?.target&&(ae(r,null),Or(`?file=${T}`,{replaceState:!0,keepFocus:!0,noScroll:!0}))}var h=xc();Nr("txb91p",T=>{kr(()=>{xr.title=`Edit ${o(s)??""} passage · Wheelhouse`})});var f=O(h),d=O(f),g=O(d);gi(g,{class:"size-4","aria-hidden":"true"});var A=m(g);x(d);var p=m(d,2);{var v=T=>{var P=hc(),D=U(P,!0);B(()=>M(D,e.data.problem??"Loading…")),y(T,P)},N=T=>{var P=kc(),D=Ee(P),K=U(D,!0),W=m(D,6),ie=O(W);Be(ie,20,()=>["project","captain"],q=>q,(q,V)=>{const _e=j(()=>o(a).target===V),fe=j(()=>o(a).targets[V].available);var ce=pc(),E=O(ce),k=U(E,!0),z=m(E,2),re=U(z,!0);x(ce),B(()=>{ge(ce,"aria-checked",o(_e)),ce.disabled=!o(fe),Ae(ce,1,`w-full max-w-sm rounded-lg border px-4 py-3 text-left transition-colors sm:w-auto ${o(_e)?"border-primary bg-card shadow-xs":"border-border hover:bg-muted/60"} disabled:opacity-60`),M(k,c[V].name),M(re,o(fe)?c[V].line:o(a).targets[V].why)}),we("click",ce,()=>u(V)),y(q,ce)}),x(ie);var C=m(ie,2),H=O(C);{var ve=q=>{var V=mn(),_e=Ee(V);{var fe=k=>{var z=Mt("There is no repository file yet; saving creates one.");y(k,z)},ce=k=>{var z=mc();y(k,z)},E=k=>{var z=gc(),re=Ee(z),de=U(re),Q=m(re,2);B((ee,Ne)=>{M(de,`This version is saved in the clone but not yet on ${ee??""}, so Wheelhouse does not use it yet.`),ge(Q,"href",`/?draft=${Ne??""}`)},[()=>o(a).defaultRef?.replace(/^origin\//,"")??"the default branch",()=>encodeURIComponent(Pr(o(s)))]),y(k,z)};G(_e,k=>{o(a).file.exists?o(a).inEffect?k(ce,1):k(E,-1):k(fe)})}y(q,V)},R=q=>{var V=Mt("You have no config for this project yet; saving creates it.");y(q,V)},I=q=>{var V=vc();y(q,V)},$=q=>{var V=yc();y(q,V)};G(H,q=>{o(a).target==="project"?q(ve):o(a).file.exists?o(a).inEffect?q(I,2):q($,-1):q(R,1)})}x(C);var ye=m(C,2);{var Se=q=>{var V=bc(),_e=m(O(V),2),fe=U(_e,!0);x(V),B(()=>M(fe,o(a).file.location)),y(q,V)};G(ye,q=>{o(a).file.location&&q(Se)})}var te=m(ye,2);{var se=q=>{var V=_c(),_e=U(V,!0);B(()=>M(_e,o(a).file.problem)),y(q,V)};G(te,q=>{o(a).file.problem&&q(se)})}var oe=m(te,2);{var be=q=>{var V=wc(),_e=U(V,!0);B(()=>M(_e,o(r))),y(q,V)};G(oe,q=>{o(r)&&q(be)})}x(W);var Ie=m(W,2);gn(Ie,()=>`${o(a).target}|${o(a).file.digest}`,q=>{dc(q,{get editor(){return o(a)},get tasks(){return o(l)},onsaved:(V,_e)=>{ae(i,{editor:V,tasks:_e},!0),ae(r,V.target==="project"?`Saved to the repository file. Wheelhouse uses it once it is on ${V.defaultRef?.replace(/^origin\//,"")??"the default branch"}.`:"Saved to your config. Wheelhouse uses it within a minute.",!0)}})}),B(()=>M(K,o(s))),y(T,P)};G(p,T=>{o(a)?T(N,-1):T(v)})}x(f),x(h),B(T=>{ge(d,"href",`/projects/${T??""}/passage`),M(A,`${o(s)??""} passage`)},[()=>encodeURIComponent(o(t))]),y(n,h),Kt()}Pt(["click"]);export{Hc as component};
|
|
Binary file
|
|
Binary file
|