@chrisjowen/wheelhouse 0.29.0 → 0.31.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 +1 -1
- package/build/client/_app/immutable/assets/0.9zV4DRBy.css +1 -0
- package/build/client/_app/immutable/assets/0.9zV4DRBy.css.br +0 -0
- package/build/client/_app/immutable/assets/0.9zV4DRBy.css.gz +0 -0
- package/build/client/_app/immutable/chunks/-oEmaIpo.js +1 -0
- package/build/client/_app/immutable/chunks/-oEmaIpo.js.br +0 -0
- package/build/client/_app/immutable/chunks/-oEmaIpo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/0vjj9sLh.js +2 -0
- package/build/client/_app/immutable/chunks/0vjj9sLh.js.br +0 -0
- package/build/client/_app/immutable/chunks/0vjj9sLh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/3o82Rijn.js +1 -0
- package/build/client/_app/immutable/chunks/3o82Rijn.js.br +2 -0
- package/build/client/_app/immutable/chunks/3o82Rijn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/5DBSC9Xw.js +1 -0
- package/build/client/_app/immutable/chunks/5DBSC9Xw.js.br +0 -0
- package/build/client/_app/immutable/chunks/5DBSC9Xw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/63sNDDqX.js +3 -0
- package/build/client/_app/immutable/chunks/63sNDDqX.js.br +0 -0
- package/build/client/_app/immutable/chunks/63sNDDqX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/6_X-TEmw.js +1 -0
- package/build/client/_app/immutable/chunks/6_X-TEmw.js.br +0 -0
- package/build/client/_app/immutable/chunks/6_X-TEmw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/7sGgUcfK.js +1 -0
- package/build/client/_app/immutable/chunks/7sGgUcfK.js.br +2 -0
- package/build/client/_app/immutable/chunks/7sGgUcfK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8BAzEJRt.js +1 -0
- package/build/client/_app/immutable/chunks/8BAzEJRt.js.br +0 -0
- package/build/client/_app/immutable/chunks/8BAzEJRt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8QpEmyzM.js +1 -0
- package/build/client/_app/immutable/chunks/8QpEmyzM.js.br +0 -0
- package/build/client/_app/immutable/chunks/8QpEmyzM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/9RB_0OgG.js +1 -0
- package/build/client/_app/immutable/chunks/9RB_0OgG.js.br +0 -0
- package/build/client/_app/immutable/chunks/9RB_0OgG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B-m7BJJK.js +1 -0
- package/build/client/_app/immutable/chunks/B-m7BJJK.js.br +0 -0
- package/build/client/_app/immutable/chunks/B-m7BJJK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B3-5Ynt9.js +1 -0
- package/build/client/_app/immutable/chunks/B3-5Ynt9.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3-5Ynt9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B4idMr-y.js +4 -0
- package/build/client/_app/immutable/chunks/B4idMr-y.js.br +0 -0
- package/build/client/_app/immutable/chunks/B4idMr-y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B81miw6K.js +70 -0
- package/build/client/_app/immutable/chunks/B81miw6K.js.br +0 -0
- package/build/client/_app/immutable/chunks/B81miw6K.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B8BIwnJx.js +1 -0
- package/build/client/_app/immutable/chunks/B8BIwnJx.js.br +0 -0
- package/build/client/_app/immutable/chunks/B8BIwnJx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B9TKcKQm.js +1 -0
- package/build/client/_app/immutable/chunks/B9TKcKQm.js.br +0 -0
- package/build/client/_app/immutable/chunks/B9TKcKQm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BAntfp-l.js +1 -0
- package/build/client/_app/immutable/chunks/BAntfp-l.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAntfp-l.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BCcCC5tk.js +1 -0
- package/build/client/_app/immutable/chunks/BCcCC5tk.js.br +2 -0
- package/build/client/_app/immutable/chunks/BCcCC5tk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BD1IkbDg.js +3 -0
- package/build/client/_app/immutable/chunks/BD1IkbDg.js.br +0 -0
- package/build/client/_app/immutable/chunks/BD1IkbDg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BDH7KHim.js +2 -0
- package/build/client/_app/immutable/chunks/BDH7KHim.js.br +0 -0
- package/build/client/_app/immutable/chunks/BDH7KHim.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BDb5xsFm.js +1 -0
- package/build/client/_app/immutable/chunks/BDb5xsFm.js.br +0 -0
- package/build/client/_app/immutable/chunks/BDb5xsFm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BE5UXawQ.js +1 -0
- package/build/client/_app/immutable/chunks/BE5UXawQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BE5UXawQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BEnJvcc4.js +1 -0
- package/build/client/_app/immutable/chunks/BEnJvcc4.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEnJvcc4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BFOXrfuE.js +1 -0
- package/build/client/_app/immutable/chunks/BFOXrfuE.js.br +0 -0
- package/build/client/_app/immutable/chunks/BFOXrfuE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BHEjS7bh.js +292 -0
- package/build/client/_app/immutable/chunks/BHEjS7bh.js.br +0 -0
- package/build/client/_app/immutable/chunks/BHEjS7bh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BJsaNDJW.js +1 -0
- package/build/client/_app/immutable/chunks/BJsaNDJW.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJsaNDJW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BLVvWYU-.js +1 -0
- package/build/client/_app/immutable/chunks/BLVvWYU-.js.br +0 -0
- package/build/client/_app/immutable/chunks/BLVvWYU-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BOLqMNRE.js +1 -0
- package/build/client/_app/immutable/chunks/BOLqMNRE.js.br +0 -0
- package/build/client/_app/immutable/chunks/BOLqMNRE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BOXZNr1d.js +1 -0
- package/build/client/_app/immutable/chunks/BOXZNr1d.js.br +0 -0
- package/build/client/_app/immutable/chunks/BOXZNr1d.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BSeGDGr6.js +1 -0
- package/build/client/_app/immutable/chunks/BSeGDGr6.js.br +0 -0
- package/build/client/_app/immutable/chunks/BSeGDGr6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BT1CIW7t.js +1 -0
- package/build/client/_app/immutable/chunks/BT1CIW7t.js.br +0 -0
- package/build/client/_app/immutable/chunks/BT1CIW7t.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BTl2F2w4.js +1 -0
- package/build/client/_app/immutable/chunks/BTl2F2w4.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTl2F2w4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B_ZBAiKx.js +89 -0
- package/build/client/_app/immutable/chunks/B_ZBAiKx.js.br +0 -0
- package/build/client/_app/immutable/chunks/B_ZBAiKx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bb8oTLDZ.js +1 -0
- package/build/client/_app/immutable/chunks/Bb8oTLDZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bb8oTLDZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BctDA-4_.js +39 -0
- package/build/client/_app/immutable/chunks/BctDA-4_.js.br +0 -0
- package/build/client/_app/immutable/chunks/BctDA-4_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BeIbQHYZ.js +1 -0
- package/build/client/_app/immutable/chunks/BeIbQHYZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BeIbQHYZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BeJdtu3Q.js +1 -0
- package/build/client/_app/immutable/chunks/BeJdtu3Q.js.br +1 -0
- package/build/client/_app/immutable/chunks/BeJdtu3Q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BesrujxS.js +1 -0
- package/build/client/_app/immutable/chunks/BesrujxS.js.br +0 -0
- package/build/client/_app/immutable/chunks/BesrujxS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bf3Y-e3y.js +3 -0
- package/build/client/_app/immutable/chunks/Bf3Y-e3y.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bf3Y-e3y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BfU7uXyz.js +1 -0
- package/build/client/_app/immutable/chunks/BfU7uXyz.js.br +0 -0
- package/build/client/_app/immutable/chunks/BfU7uXyz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BfviDyKd.js +1 -0
- package/build/client/_app/immutable/chunks/BfviDyKd.js.br +0 -0
- package/build/client/_app/immutable/chunks/BfviDyKd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bgxftkg_.js +2 -0
- package/build/client/_app/immutable/chunks/Bgxftkg_.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bgxftkg_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BhI43o01.js +1 -0
- package/build/client/_app/immutable/chunks/BhI43o01.js.br +0 -0
- package/build/client/_app/immutable/chunks/BhI43o01.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BhQhvmc1.js +1 -0
- package/build/client/_app/immutable/chunks/BhQhvmc1.js.br +0 -0
- package/build/client/_app/immutable/chunks/BhQhvmc1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjN6hSj1.js +2 -0
- package/build/client/_app/immutable/chunks/BjN6hSj1.js.br +0 -0
- package/build/client/_app/immutable/chunks/BjN6hSj1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bm-2VJ9U.js +168 -0
- package/build/client/_app/immutable/chunks/Bm-2VJ9U.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bm-2VJ9U.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BmNod4Va.js +1 -0
- package/build/client/_app/immutable/chunks/BmNod4Va.js.br +0 -0
- package/build/client/_app/immutable/chunks/BmNod4Va.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BobQ46MT.js +1 -0
- package/build/client/_app/immutable/chunks/BobQ46MT.js.br +0 -0
- package/build/client/_app/immutable/chunks/BobQ46MT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BpJ4sY1O.js +1 -0
- package/build/client/_app/immutable/chunks/BpJ4sY1O.js.br +0 -0
- package/build/client/_app/immutable/chunks/BpJ4sY1O.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bqufmc_w.js +4 -0
- package/build/client/_app/immutable/chunks/Bqufmc_w.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bqufmc_w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BrBcPFpJ.js +6 -0
- package/build/client/_app/immutable/chunks/BrBcPFpJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BrBcPFpJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BrJ3sT-V.js +106 -0
- package/build/client/_app/immutable/chunks/BrJ3sT-V.js.br +0 -0
- package/build/client/_app/immutable/chunks/BrJ3sT-V.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BrjSZGsR.js +1 -0
- package/build/client/_app/immutable/chunks/BrjSZGsR.js.br +0 -0
- package/build/client/_app/immutable/chunks/BrjSZGsR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bth-w_YO.js +1 -0
- package/build/client/_app/immutable/chunks/Bth-w_YO.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bth-w_YO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Btq2jyoZ.js +1 -0
- package/build/client/_app/immutable/chunks/Btq2jyoZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Btq2jyoZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BuAzM5qJ.js +1 -0
- package/build/client/_app/immutable/chunks/BuAzM5qJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BuAzM5qJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BvAUwZNX.js +1 -0
- package/build/client/_app/immutable/chunks/BvAUwZNX.js.br +0 -0
- package/build/client/_app/immutable/chunks/BvAUwZNX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwRnRVF-.js +36 -0
- package/build/client/_app/immutable/chunks/BwRnRVF-.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwRnRVF-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BxSoMw-N.js +1 -0
- package/build/client/_app/immutable/chunks/BxSoMw-N.js.br +0 -0
- package/build/client/_app/immutable/chunks/BxSoMw-N.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ByfirooU.js +1 -0
- package/build/client/_app/immutable/chunks/ByfirooU.js.br +0 -0
- package/build/client/_app/immutable/chunks/ByfirooU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bys00mt5.js +1 -0
- package/build/client/_app/immutable/chunks/Bys00mt5.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bys00mt5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bz0HeMQN.js +1 -0
- package/build/client/_app/immutable/chunks/Bz0HeMQN.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bz0HeMQN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-e5x4fW.js +1 -0
- package/build/client/_app/immutable/chunks/C-e5x4fW.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-e5x4fW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-ipyNBT.js +41 -0
- package/build/client/_app/immutable/chunks/C-ipyNBT.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-ipyNBT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-mgEX4u.js +1 -0
- package/build/client/_app/immutable/chunks/C-mgEX4u.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-mgEX4u.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C06zl0uw.js +1 -0
- package/build/client/_app/immutable/chunks/C06zl0uw.js.br +0 -0
- package/build/client/_app/immutable/chunks/C06zl0uw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C0Aq5j-i.js +1 -0
- package/build/client/_app/immutable/chunks/C0Aq5j-i.js.br +0 -0
- package/build/client/_app/immutable/chunks/C0Aq5j-i.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C2gGBVMU.js +1 -0
- package/build/client/_app/immutable/chunks/C2gGBVMU.js.br +0 -0
- package/build/client/_app/immutable/chunks/C2gGBVMU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C4-bACeO.js +1 -0
- package/build/client/_app/immutable/chunks/C4-bACeO.js.br +0 -0
- package/build/client/_app/immutable/chunks/C4-bACeO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C4R5EuQW.js +1 -0
- package/build/client/_app/immutable/chunks/C4R5EuQW.js.br +0 -0
- package/build/client/_app/immutable/chunks/C4R5EuQW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C4wipffy.js +1 -0
- package/build/client/_app/immutable/chunks/C4wipffy.js.br +0 -0
- package/build/client/_app/immutable/chunks/C4wipffy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C5SP7Yqr.js +3 -0
- package/build/client/_app/immutable/chunks/C5SP7Yqr.js.br +0 -0
- package/build/client/_app/immutable/chunks/C5SP7Yqr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C6MWf1pJ.js +1 -0
- package/build/client/_app/immutable/chunks/C6MWf1pJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/C6MWf1pJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C7Zm2kjq.js +1 -0
- package/build/client/_app/immutable/chunks/C7Zm2kjq.js.br +0 -0
- package/build/client/_app/immutable/chunks/C7Zm2kjq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C7b2-reQ.js +1 -0
- package/build/client/_app/immutable/chunks/C7b2-reQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/C7b2-reQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C83KNKw7.js +1 -0
- package/build/client/_app/immutable/chunks/C83KNKw7.js.br +3 -0
- package/build/client/_app/immutable/chunks/C83KNKw7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8ZYKSxy.js +162 -0
- package/build/client/_app/immutable/chunks/C8ZYKSxy.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8ZYKSxy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCoGF_QE.js +1 -0
- package/build/client/_app/immutable/chunks/CCoGF_QE.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCoGF_QE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CD5Pg5Lq.js +1 -0
- package/build/client/_app/immutable/chunks/CD5Pg5Lq.js.br +0 -0
- package/build/client/_app/immutable/chunks/CD5Pg5Lq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CDvpUH9P.js +1 -0
- package/build/client/_app/immutable/chunks/CDvpUH9P.js.br +0 -0
- package/build/client/_app/immutable/chunks/CDvpUH9P.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CFHqhXVK.js +1 -0
- package/build/client/_app/immutable/chunks/CFHqhXVK.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFHqhXVK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CHaXhfow.js +1 -0
- package/build/client/_app/immutable/chunks/CHaXhfow.js.br +1 -0
- package/build/client/_app/immutable/chunks/CHaXhfow.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJN33CT3.js +1 -0
- package/build/client/_app/immutable/chunks/CJN33CT3.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJN33CT3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLZ96jaC.js +88 -0
- package/build/client/_app/immutable/chunks/CLZ96jaC.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLZ96jaC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLqMDSDJ.js +1 -0
- package/build/client/_app/immutable/chunks/CLqMDSDJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLqMDSDJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CN8keVsP.js +1 -0
- package/build/client/_app/immutable/chunks/CN8keVsP.js.br +0 -0
- package/build/client/_app/immutable/chunks/CN8keVsP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/COoSLAY4.js +1 -0
- package/build/client/_app/immutable/chunks/COoSLAY4.js.br +0 -0
- package/build/client/_app/immutable/chunks/COoSLAY4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/COtpYUd6.js +120 -0
- package/build/client/_app/immutable/chunks/COtpYUd6.js.br +0 -0
- package/build/client/_app/immutable/chunks/COtpYUd6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CR5FpuMT.js +1 -0
- package/build/client/_app/immutable/chunks/CR5FpuMT.js.br +0 -0
- package/build/client/_app/immutable/chunks/CR5FpuMT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CRD7cbw3.js +1 -0
- package/build/client/_app/immutable/chunks/CRD7cbw3.js.br +0 -0
- package/build/client/_app/immutable/chunks/CRD7cbw3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CRHvbv7L.js +1 -0
- package/build/client/_app/immutable/chunks/CRHvbv7L.js.br +0 -0
- package/build/client/_app/immutable/chunks/CRHvbv7L.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CTLZ2NkW.js +1 -0
- package/build/client/_app/immutable/chunks/CTLZ2NkW.js.br +0 -0
- package/build/client/_app/immutable/chunks/CTLZ2NkW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CUi_cDBD.js +2 -0
- package/build/client/_app/immutable/chunks/CUi_cDBD.js.br +0 -0
- package/build/client/_app/immutable/chunks/CUi_cDBD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CWCHIvSy.js +1 -0
- package/build/client/_app/immutable/chunks/CWCHIvSy.js.br +0 -0
- package/build/client/_app/immutable/chunks/CWCHIvSy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CWUm4tuc.js +3 -0
- package/build/client/_app/immutable/chunks/CWUm4tuc.js.br +0 -0
- package/build/client/_app/immutable/chunks/CWUm4tuc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CXYaxf2G.js +1 -0
- package/build/client/_app/immutable/chunks/CXYaxf2G.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXYaxf2G.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CZ0vx386.js +3 -0
- package/build/client/_app/immutable/chunks/CZ0vx386.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZ0vx386.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CbEXG3I8.js +1 -0
- package/build/client/_app/immutable/chunks/CbEXG3I8.js.br +0 -0
- package/build/client/_app/immutable/chunks/CbEXG3I8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CcFA44xK.js +1 -0
- package/build/client/_app/immutable/chunks/CcFA44xK.js.br +0 -0
- package/build/client/_app/immutable/chunks/CcFA44xK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CcHXHPOx.js +38 -0
- package/build/client/_app/immutable/chunks/CcHXHPOx.js.br +0 -0
- package/build/client/_app/immutable/chunks/CcHXHPOx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CcKukrvM.js +1 -0
- package/build/client/_app/immutable/chunks/CcKukrvM.js.br +0 -0
- package/build/client/_app/immutable/chunks/CcKukrvM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CdzhWRsV.js +1 -0
- package/build/client/_app/immutable/chunks/CdzhWRsV.js.br +0 -0
- package/build/client/_app/immutable/chunks/CdzhWRsV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CijrRfp3.js +1 -0
- package/build/client/_app/immutable/chunks/CijrRfp3.js.br +0 -0
- package/build/client/_app/immutable/chunks/CijrRfp3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CrTpEzHI.js +1 -0
- package/build/client/_app/immutable/chunks/CrTpEzHI.js.br +0 -0
- package/build/client/_app/immutable/chunks/CrTpEzHI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CsON-rLv.js +1 -0
- package/build/client/_app/immutable/chunks/CsON-rLv.js.br +0 -0
- package/build/client/_app/immutable/chunks/CsON-rLv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CsY5f3Ln.js +1 -0
- package/build/client/_app/immutable/chunks/CsY5f3Ln.js.br +0 -0
- package/build/client/_app/immutable/chunks/CsY5f3Ln.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CuJlOHGl.js +1 -0
- package/build/client/_app/immutable/chunks/CuJlOHGl.js.br +0 -0
- package/build/client/_app/immutable/chunks/CuJlOHGl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CxMNbSn6.js +1 -0
- package/build/client/_app/immutable/chunks/CxMNbSn6.js.br +0 -0
- package/build/client/_app/immutable/chunks/CxMNbSn6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cz71uyu_.js +30 -0
- package/build/client/_app/immutable/chunks/Cz71uyu_.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cz71uyu_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CzGQYAFt.js +1 -0
- package/build/client/_app/immutable/chunks/CzGQYAFt.js.br +0 -0
- package/build/client/_app/immutable/chunks/CzGQYAFt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D-BdzAzc.js +8 -0
- package/build/client/_app/immutable/chunks/D-BdzAzc.js.br +0 -0
- package/build/client/_app/immutable/chunks/D-BdzAzc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D-rLZFju.js +1 -0
- package/build/client/_app/immutable/chunks/D-rLZFju.js.br +0 -0
- package/build/client/_app/immutable/chunks/D-rLZFju.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D14-JF4g.js +40 -0
- package/build/client/_app/immutable/chunks/D14-JF4g.js.br +0 -0
- package/build/client/_app/immutable/chunks/D14-JF4g.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D2HpGQVa.js +1 -0
- package/build/client/_app/immutable/chunks/D2HpGQVa.js.br +4 -0
- package/build/client/_app/immutable/chunks/D2HpGQVa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D5tBMaVM.js +1 -0
- package/build/client/_app/immutable/chunks/D5tBMaVM.js.br +0 -0
- package/build/client/_app/immutable/chunks/D5tBMaVM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D6qQON0v.js +1 -0
- package/build/client/_app/immutable/chunks/D6qQON0v.js.br +0 -0
- package/build/client/_app/immutable/chunks/D6qQON0v.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D6ydSPoz.js +1 -0
- package/build/client/_app/immutable/chunks/D6ydSPoz.js.br +0 -0
- package/build/client/_app/immutable/chunks/D6ydSPoz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D77xnHW2.js +7 -0
- package/build/client/_app/immutable/chunks/D77xnHW2.js.br +0 -0
- package/build/client/_app/immutable/chunks/D77xnHW2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D7Hpo4hQ.js +2 -0
- package/build/client/_app/immutable/chunks/D7Hpo4hQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/D7Hpo4hQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D7g-AVnm.js +78 -0
- package/build/client/_app/immutable/chunks/D7g-AVnm.js.br +0 -0
- package/build/client/_app/immutable/chunks/D7g-AVnm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8IzkhQt.js +249 -0
- package/build/client/_app/immutable/chunks/D8IzkhQt.js.br +0 -0
- package/build/client/_app/immutable/chunks/D8IzkhQt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8V0iDnl.js +1 -0
- package/build/client/_app/immutable/chunks/D8V0iDnl.js.br +0 -0
- package/build/client/_app/immutable/chunks/D8V0iDnl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D9rxXWV2.js +1 -0
- package/build/client/_app/immutable/chunks/D9rxXWV2.js.br +1 -0
- package/build/client/_app/immutable/chunks/D9rxXWV2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DAIodQ-O.js +1 -0
- package/build/client/_app/immutable/chunks/DAIodQ-O.js.br +0 -0
- package/build/client/_app/immutable/chunks/DAIodQ-O.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DAs_aSGU.js +1 -0
- package/build/client/_app/immutable/chunks/DAs_aSGU.js.br +0 -0
- package/build/client/_app/immutable/chunks/DAs_aSGU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DAuO0BLy.js +139 -0
- package/build/client/_app/immutable/chunks/DAuO0BLy.js.br +0 -0
- package/build/client/_app/immutable/chunks/DAuO0BLy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DDYb2XV0.js +1 -0
- package/build/client/_app/immutable/chunks/DDYb2XV0.js.br +0 -0
- package/build/client/_app/immutable/chunks/DDYb2XV0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DFVMavvi.js +1 -0
- package/build/client/_app/immutable/chunks/DFVMavvi.js.br +0 -0
- package/build/client/_app/immutable/chunks/DFVMavvi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DFk7K4cb.js +1 -0
- package/build/client/_app/immutable/chunks/DFk7K4cb.js.br +0 -0
- package/build/client/_app/immutable/chunks/DFk7K4cb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DJ7z15CI.js +1 -0
- package/build/client/_app/immutable/chunks/DJ7z15CI.js.br +0 -0
- package/build/client/_app/immutable/chunks/DJ7z15CI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DJegyq3g.js +1 -0
- package/build/client/_app/immutable/chunks/DJegyq3g.js.br +0 -0
- package/build/client/_app/immutable/chunks/DJegyq3g.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DK7DW2p4.js +1 -0
- package/build/client/_app/immutable/chunks/DK7DW2p4.js.br +0 -0
- package/build/client/_app/immutable/chunks/DK7DW2p4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DLQthWb6.js +1 -0
- package/build/client/_app/immutable/chunks/DLQthWb6.js.br +0 -0
- package/build/client/_app/immutable/chunks/DLQthWb6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DOLTpNNz.js +1 -0
- package/build/client/_app/immutable/chunks/DOLTpNNz.js.br +0 -0
- package/build/client/_app/immutable/chunks/DOLTpNNz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DRL7VyP-.js +1 -0
- package/build/client/_app/immutable/chunks/DRL7VyP-.js.br +0 -0
- package/build/client/_app/immutable/chunks/DRL7VyP-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DSZaTfL4.js +62 -0
- package/build/client/_app/immutable/chunks/DSZaTfL4.js.br +0 -0
- package/build/client/_app/immutable/chunks/DSZaTfL4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DTLu73Y4.js +1 -0
- package/build/client/_app/immutable/chunks/DTLu73Y4.js.br +0 -0
- package/build/client/_app/immutable/chunks/DTLu73Y4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DWwwaJr0.js +1 -0
- package/build/client/_app/immutable/chunks/DWwwaJr0.js.br +0 -0
- package/build/client/_app/immutable/chunks/DWwwaJr0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DXwlBV_G.js +1 -0
- package/build/client/_app/immutable/chunks/DXwlBV_G.js.br +0 -0
- package/build/client/_app/immutable/chunks/DXwlBV_G.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DY-7-FPE.js +1 -0
- package/build/client/_app/immutable/chunks/DY-7-FPE.js.br +0 -0
- package/build/client/_app/immutable/chunks/DY-7-FPE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZ2uUSgH.js +1 -0
- package/build/client/_app/immutable/chunks/DZ2uUSgH.js.br +0 -0
- package/build/client/_app/immutable/chunks/DZ2uUSgH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D_cRiKiV.js +99 -0
- package/build/client/_app/immutable/chunks/D_cRiKiV.js.br +0 -0
- package/build/client/_app/immutable/chunks/D_cRiKiV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Da1oYmEt.js +231 -0
- package/build/client/_app/immutable/chunks/Da1oYmEt.js.br +0 -0
- package/build/client/_app/immutable/chunks/Da1oYmEt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Da6zozdJ.js +1 -0
- package/build/client/_app/immutable/chunks/Da6zozdJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Da6zozdJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dbv0PtXK.js +1 -0
- package/build/client/_app/immutable/chunks/Dbv0PtXK.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dbv0PtXK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DcAkPmJL.js +1 -0
- package/build/client/_app/immutable/chunks/DcAkPmJL.js.br +0 -0
- package/build/client/_app/immutable/chunks/DcAkPmJL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DdZKmoi_.js +1 -0
- package/build/client/_app/immutable/chunks/DdZKmoi_.js.br +0 -0
- package/build/client/_app/immutable/chunks/DdZKmoi_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DdsTaSRG.js +1 -0
- package/build/client/_app/immutable/chunks/DdsTaSRG.js.br +0 -0
- package/build/client/_app/immutable/chunks/DdsTaSRG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ddu4ICJt.js +7 -0
- package/build/client/_app/immutable/chunks/Ddu4ICJt.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ddu4ICJt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DezYjXiS.js +1 -0
- package/build/client/_app/immutable/chunks/DezYjXiS.js.br +0 -0
- package/build/client/_app/immutable/chunks/DezYjXiS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dhd2SQQx.js +7 -0
- package/build/client/_app/immutable/chunks/Dhd2SQQx.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dhd2SQQx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DhvOwFny.js +129 -0
- package/build/client/_app/immutable/chunks/DhvOwFny.js.br +0 -0
- package/build/client/_app/immutable/chunks/DhvOwFny.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DkzgJNl6.js +1 -0
- package/build/client/_app/immutable/chunks/DkzgJNl6.js.br +0 -0
- package/build/client/_app/immutable/chunks/DkzgJNl6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlZhWeae.js +1 -0
- package/build/client/_app/immutable/chunks/DlZhWeae.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlZhWeae.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DmrEnIHX.js +1 -0
- package/build/client/_app/immutable/chunks/DmrEnIHX.js.br +0 -0
- package/build/client/_app/immutable/chunks/DmrEnIHX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dmybdf2-.js +1 -0
- package/build/client/_app/immutable/chunks/Dmybdf2-.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dmybdf2-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DorWsEmw.js +1 -0
- package/build/client/_app/immutable/chunks/DorWsEmw.js.br +0 -0
- package/build/client/_app/immutable/chunks/DorWsEmw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DplLMUA3.js +1 -0
- package/build/client/_app/immutable/chunks/DplLMUA3.js.br +2 -0
- package/build/client/_app/immutable/chunks/DplLMUA3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ds7aBf57.js +1 -0
- package/build/client/_app/immutable/chunks/Ds7aBf57.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ds7aBf57.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DswmeLMJ.js +1 -0
- package/build/client/_app/immutable/chunks/DswmeLMJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DswmeLMJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DxP-w_H5.js +8 -0
- package/build/client/_app/immutable/chunks/DxP-w_H5.js.br +0 -0
- package/build/client/_app/immutable/chunks/DxP-w_H5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DyTIanRG.js +96 -0
- package/build/client/_app/immutable/chunks/DyTIanRG.js.br +0 -0
- package/build/client/_app/immutable/chunks/DyTIanRG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/E_pAkx0d.js +13 -0
- package/build/client/_app/immutable/chunks/E_pAkx0d.js.br +0 -0
- package/build/client/_app/immutable/chunks/E_pAkx0d.js.gz +0 -0
- package/build/client/_app/immutable/chunks/EoPE6GG3.js +1 -0
- package/build/client/_app/immutable/chunks/EoPE6GG3.js.br +0 -0
- package/build/client/_app/immutable/chunks/EoPE6GG3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/EpdQ7C-U.js +2 -0
- package/build/client/_app/immutable/chunks/EpdQ7C-U.js.br +0 -0
- package/build/client/_app/immutable/chunks/EpdQ7C-U.js.gz +0 -0
- package/build/client/_app/immutable/chunks/GRU3fDdT.js +1 -0
- package/build/client/_app/immutable/chunks/GRU3fDdT.js.br +0 -0
- package/build/client/_app/immutable/chunks/GRU3fDdT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/H9m0Dsjk.js +62 -0
- package/build/client/_app/immutable/chunks/H9m0Dsjk.js.br +0 -0
- package/build/client/_app/immutable/chunks/H9m0Dsjk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HNIRPYlG.js +3 -0
- package/build/client/_app/immutable/chunks/HNIRPYlG.js.br +0 -0
- package/build/client/_app/immutable/chunks/HNIRPYlG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Hxy3BUHp.js +1 -0
- package/build/client/_app/immutable/chunks/Hxy3BUHp.js.br +0 -0
- package/build/client/_app/immutable/chunks/Hxy3BUHp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/JdiMmujU.js +1 -0
- package/build/client/_app/immutable/chunks/JdiMmujU.js.br +0 -0
- package/build/client/_app/immutable/chunks/JdiMmujU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/MogGEBMi.js +1 -0
- package/build/client/_app/immutable/chunks/MogGEBMi.js.br +0 -0
- package/build/client/_app/immutable/chunks/MogGEBMi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ODuOMWEJ.js +1 -0
- package/build/client/_app/immutable/chunks/ODuOMWEJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/ODuOMWEJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/T3ozo-Ot.js +1 -0
- package/build/client/_app/immutable/chunks/T3ozo-Ot.js.br +0 -0
- package/build/client/_app/immutable/chunks/T3ozo-Ot.js.gz +0 -0
- package/build/client/_app/immutable/chunks/W1rcm6h6.js +24 -0
- package/build/client/_app/immutable/chunks/W1rcm6h6.js.br +0 -0
- package/build/client/_app/immutable/chunks/W1rcm6h6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/W7eOvMfz.js +1 -0
- package/build/client/_app/immutable/chunks/W7eOvMfz.js.br +0 -0
- package/build/client/_app/immutable/chunks/W7eOvMfz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/YRNR6MtQ.js +1 -0
- package/build/client/_app/immutable/chunks/YRNR6MtQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/YRNR6MtQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Zx_15GgW.js +6 -0
- package/build/client/_app/immutable/chunks/Zx_15GgW.js.br +0 -0
- package/build/client/_app/immutable/chunks/Zx_15GgW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Zzvl0G3R.js +24 -0
- package/build/client/_app/immutable/chunks/Zzvl0G3R.js.br +0 -0
- package/build/client/_app/immutable/chunks/Zzvl0G3R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_pUDh9dJ.js +84 -0
- package/build/client/_app/immutable/chunks/_pUDh9dJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/_pUDh9dJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/aky3cuza.js +1 -0
- package/build/client/_app/immutable/chunks/aky3cuza.js.br +0 -0
- package/build/client/_app/immutable/chunks/aky3cuza.js.gz +0 -0
- package/build/client/_app/immutable/chunks/cihmKa26.js +15 -0
- package/build/client/_app/immutable/chunks/cihmKa26.js.br +0 -0
- package/build/client/_app/immutable/chunks/cihmKa26.js.gz +0 -0
- package/build/client/_app/immutable/chunks/eDETYamS.js +34 -0
- package/build/client/_app/immutable/chunks/eDETYamS.js.br +0 -0
- package/build/client/_app/immutable/chunks/eDETYamS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/gTSpKrG1.js +1 -0
- package/build/client/_app/immutable/chunks/gTSpKrG1.js.br +0 -0
- package/build/client/_app/immutable/chunks/gTSpKrG1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/hPB7QTnr.js +7 -0
- package/build/client/_app/immutable/chunks/hPB7QTnr.js.br +0 -0
- package/build/client/_app/immutable/chunks/hPB7QTnr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/hfQ0WrAg.js +206 -0
- package/build/client/_app/immutable/chunks/hfQ0WrAg.js.br +0 -0
- package/build/client/_app/immutable/chunks/hfQ0WrAg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/huNunYGP.js +1 -0
- package/build/client/_app/immutable/chunks/huNunYGP.js.br +0 -0
- package/build/client/_app/immutable/chunks/huNunYGP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/i28ETZMh.js +1 -0
- package/build/client/_app/immutable/chunks/i28ETZMh.js.br +0 -0
- package/build/client/_app/immutable/chunks/i28ETZMh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/l6Km7OTJ.js +1 -0
- package/build/client/_app/immutable/chunks/l6Km7OTJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/l6Km7OTJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/lRVQZpe1.js +1 -0
- package/build/client/_app/immutable/chunks/lRVQZpe1.js.br +0 -0
- package/build/client/_app/immutable/chunks/lRVQZpe1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/lT6Qz-Fh.js +1 -0
- package/build/client/_app/immutable/chunks/lT6Qz-Fh.js.br +0 -0
- package/build/client/_app/immutable/chunks/lT6Qz-Fh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/qUksCsYf.js +3 -0
- package/build/client/_app/immutable/chunks/qUksCsYf.js.br +0 -0
- package/build/client/_app/immutable/chunks/qUksCsYf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/s7YUOZ0f.js +1 -0
- package/build/client/_app/immutable/chunks/s7YUOZ0f.js.br +0 -0
- package/build/client/_app/immutable/chunks/s7YUOZ0f.js.gz +0 -0
- package/build/client/_app/immutable/chunks/sup-z2Ur.js +1 -0
- package/build/client/_app/immutable/chunks/sup-z2Ur.js.br +0 -0
- package/build/client/_app/immutable/chunks/sup-z2Ur.js.gz +0 -0
- package/build/client/_app/immutable/chunks/tGFl98Ko.js +1 -0
- package/build/client/_app/immutable/chunks/tGFl98Ko.js.br +0 -0
- package/build/client/_app/immutable/chunks/tGFl98Ko.js.gz +0 -0
- package/build/client/_app/immutable/chunks/tcCSBPZf.js +1 -0
- package/build/client/_app/immutable/chunks/tcCSBPZf.js.br +0 -0
- package/build/client/_app/immutable/chunks/tcCSBPZf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/tcqP2-rz.js +1 -0
- package/build/client/_app/immutable/chunks/tcqP2-rz.js.br +0 -0
- package/build/client/_app/immutable/chunks/tcqP2-rz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/thzFBSL_.js +1 -0
- package/build/client/_app/immutable/chunks/thzFBSL_.js.br +2 -0
- package/build/client/_app/immutable/chunks/thzFBSL_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/uEwA9UDk.js +1 -0
- package/build/client/_app/immutable/chunks/uEwA9UDk.js.br +0 -0
- package/build/client/_app/immutable/chunks/uEwA9UDk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/uiJib7D-.js +5 -0
- package/build/client/_app/immutable/chunks/uiJib7D-.js.br +0 -0
- package/build/client/_app/immutable/chunks/uiJib7D-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/v4FA_Kmd.js +1 -0
- package/build/client/_app/immutable/chunks/v4FA_Kmd.js.br +0 -0
- package/build/client/_app/immutable/chunks/v4FA_Kmd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/zFcHGZh2.js +1 -0
- package/build/client/_app/immutable/chunks/zFcHGZh2.js.br +0 -0
- package/build/client/_app/immutable/chunks/zFcHGZh2.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.mv1Db9_o.js +2 -0
- package/build/client/_app/immutable/entry/app.mv1Db9_o.js.br +0 -0
- package/build/client/_app/immutable/entry/app.mv1Db9_o.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.Bs8E5jjR.js +1 -0
- package/build/client/_app/immutable/entry/start.Bs8E5jjR.js.br +0 -0
- package/build/client/_app/immutable/entry/start.Bs8E5jjR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.CYFrOBBl.js +9 -0
- package/build/client/_app/immutable/nodes/0.CYFrOBBl.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CYFrOBBl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.CiOPJxUB.js +1 -0
- package/build/client/_app/immutable/nodes/1.CiOPJxUB.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CiOPJxUB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.Cb996eYw.js +10 -0
- package/build/client/_app/immutable/nodes/10.Cb996eYw.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.Cb996eYw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.SKrJSf3v.js +9 -0
- package/build/client/_app/immutable/nodes/11.SKrJSf3v.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.SKrJSf3v.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.Cc7FPWpM.js +11 -0
- package/build/client/_app/immutable/nodes/12.Cc7FPWpM.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.Cc7FPWpM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.eou9nO_y.js +2 -0
- package/build/client/_app/immutable/nodes/13.eou9nO_y.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.eou9nO_y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.Lp-VgjsY.js +6 -0
- package/build/client/_app/immutable/nodes/14.Lp-VgjsY.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.Lp-VgjsY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.BvEKyC9t.js +1 -0
- package/build/client/_app/immutable/nodes/15.BvEKyC9t.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.BvEKyC9t.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.D7257XGZ.js +10 -0
- package/build/client/_app/immutable/nodes/16.D7257XGZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.D7257XGZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.PZPvs6eV.js +1 -0
- package/build/client/_app/immutable/nodes/17.PZPvs6eV.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.PZPvs6eV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.DLdqRR6N.js +3 -0
- package/build/client/_app/immutable/nodes/18.DLdqRR6N.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.DLdqRR6N.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.CXovCsqa.js +1 -0
- package/build/client/_app/immutable/nodes/19.CXovCsqa.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.CXovCsqa.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BcvqK2pW.js +29 -0
- package/build/client/_app/immutable/nodes/2.BcvqK2pW.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BcvqK2pW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.BlGw7CKn.js +14 -0
- package/build/client/_app/immutable/nodes/20.BlGw7CKn.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.BlGw7CKn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.BIjp6cCw.js +150 -0
- package/build/client/_app/immutable/nodes/21.BIjp6cCw.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.BIjp6cCw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.5F8mmWrr.js +3 -0
- package/build/client/_app/immutable/nodes/22.5F8mmWrr.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.5F8mmWrr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.DqtwvYeJ.js +2 -0
- package/build/client/_app/immutable/nodes/23.DqtwvYeJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.DqtwvYeJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.U8AtFQMx.js +25 -0
- package/build/client/_app/immutable/nodes/24.U8AtFQMx.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.U8AtFQMx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.9EJBWEDc.js +5 -0
- package/build/client/_app/immutable/nodes/25.9EJBWEDc.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.9EJBWEDc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.BZ9--RI7.js +18 -0
- package/build/client/_app/immutable/nodes/26.BZ9--RI7.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.BZ9--RI7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.DSlQcc2D.js +4 -0
- package/build/client/_app/immutable/nodes/28.DSlQcc2D.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.DSlQcc2D.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.DAmlxca7.js +1 -0
- package/build/client/_app/immutable/nodes/29.DAmlxca7.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.DAmlxca7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CbMDLDDV.js +2 -0
- package/build/client/_app/immutable/nodes/3.CbMDLDDV.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CbMDLDDV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.CHUMzh9y.js +6 -0
- package/build/client/_app/immutable/nodes/30.CHUMzh9y.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.CHUMzh9y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.D4Vm6EzH.js +8 -0
- package/build/client/_app/immutable/nodes/31.D4Vm6EzH.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.D4Vm6EzH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.BgKtVzqn.js +2 -0
- package/build/client/_app/immutable/nodes/32.BgKtVzqn.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.BgKtVzqn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.GQ4UFj2v.js +5 -0
- package/build/client/_app/immutable/nodes/33.GQ4UFj2v.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.GQ4UFj2v.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.7qbVxJdu.js +4 -0
- package/build/client/_app/immutable/nodes/34.7qbVxJdu.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.7qbVxJdu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.Cb_RuCLu.js +3 -0
- package/build/client/_app/immutable/nodes/35.Cb_RuCLu.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.Cb_RuCLu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/36.DkxpBGK-.js +5 -0
- package/build/client/_app/immutable/nodes/36.DkxpBGK-.js.br +0 -0
- package/build/client/_app/immutable/nodes/36.DkxpBGK-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/37.DMqrKT5K.js +7 -0
- package/build/client/_app/immutable/nodes/37.DMqrKT5K.js.br +0 -0
- package/build/client/_app/immutable/nodes/37.DMqrKT5K.js.gz +0 -0
- package/build/client/_app/immutable/nodes/38.C1jHKi0p.js +2 -0
- package/build/client/_app/immutable/nodes/38.C1jHKi0p.js.br +0 -0
- package/build/client/_app/immutable/nodes/38.C1jHKi0p.js.gz +0 -0
- package/build/client/_app/immutable/nodes/39.aXdnIZxY.js +4 -0
- package/build/client/_app/immutable/nodes/39.aXdnIZxY.js.br +0 -0
- package/build/client/_app/immutable/nodes/39.aXdnIZxY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.DVyiF5Qx.js +5 -0
- package/build/client/_app/immutable/nodes/4.DVyiF5Qx.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.DVyiF5Qx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/40.CH_13JpP.js +7 -0
- package/build/client/_app/immutable/nodes/40.CH_13JpP.js.br +0 -0
- package/build/client/_app/immutable/nodes/40.CH_13JpP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/41.CbAoclKK.js +6 -0
- package/build/client/_app/immutable/nodes/41.CbAoclKK.js.br +0 -0
- package/build/client/_app/immutable/nodes/41.CbAoclKK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/42.Cds93vbV.js +24 -0
- package/build/client/_app/immutable/nodes/42.Cds93vbV.js.br +0 -0
- package/build/client/_app/immutable/nodes/42.Cds93vbV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/43.BmIlBOwY.js +1 -0
- package/build/client/_app/immutable/nodes/43.BmIlBOwY.js.br +1 -0
- package/build/client/_app/immutable/nodes/43.BmIlBOwY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/44.BrNP4cf1.js +1 -0
- package/build/client/_app/immutable/nodes/44.BrNP4cf1.js.br +0 -0
- package/build/client/_app/immutable/nodes/44.BrNP4cf1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/45.DNd91yTP.js +6 -0
- package/build/client/_app/immutable/nodes/45.DNd91yTP.js.br +0 -0
- package/build/client/_app/immutable/nodes/45.DNd91yTP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DnL8mNUg.js +1 -0
- package/build/client/_app/immutable/nodes/5.DnL8mNUg.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DnL8mNUg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.Cr6axeW0.js +6 -0
- package/build/client/_app/immutable/nodes/6.Cr6axeW0.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.Cr6axeW0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.1wKy8r5N.js +1 -0
- package/build/client/_app/immutable/nodes/8.1wKy8r5N.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.1wKy8r5N.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.YdOTqKY1.js +3 -0
- package/build/client/_app/immutable/nodes/9.YdOTqKY1.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.YdOTqKY1.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 +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/ChecksStrip.js-CzTaTAYR.js +62 -0
- package/build/server/chunks/chunks/DecisionForm.js-CYnStAPe.js +744 -0
- package/build/server/chunks/chunks/DecisionsBadge.js-CrjpeyMZ.js +79 -0
- package/build/server/chunks/chunks/Discussion.js-Dg4dpcU9.js +582 -0
- package/build/server/chunks/chunks/PreviewWindow.js-kaKVEfw0.js +966 -0
- package/build/server/chunks/chunks/TaskView.js-BraQB9DD.js +3109 -0
- package/build/server/chunks/chunks/chat.svelte.js-S86rNJiC.js +417 -0
- package/build/server/chunks/chunks/detail.js-DBnrw693.js +149 -0
- package/build/server/chunks/chunks/features.js-DmbRnUHF.js +181 -0
- package/build/server/chunks/chunks/feedback.js-COdi3TjO.js +67 -0
- package/build/server/chunks/chunks/helperprogram.js-D7RAlNUM.js +37 -0
- package/build/server/chunks/chunks/insights.svelte.js-BYvubLfb.js +567 -0
- package/build/server/chunks/chunks/internal.js-vCXxlqtX.js +151 -0
- package/build/server/chunks/chunks/live.svelte.js-C8z7spp_.js +217 -0
- package/build/server/chunks/chunks/livereview.js-XvyW2kuX.js +261 -0
- package/build/server/chunks/chunks/marketplace-service.js-BgRSNaaq.js +557 -0
- package/build/server/chunks/chunks/package.js-CuhlmKa2.js +160 -0
- package/build/server/chunks/chunks/page.js-CjJiQYrd.js +13 -0
- package/build/server/chunks/chunks/plugins.js-CSiPxade.js +58 -0
- package/build/server/chunks/chunks/previewhelper.js-9SVj0b-s.js +256 -0
- package/build/server/chunks/chunks/previewhelper2.js-B9grgQDZ.js +373 -0
- package/build/server/chunks/chunks/repo.js-uSnNJ2OR.js +33 -0
- package/build/server/chunks/chunks/runtime.js-DsS88QmJ.js +27477 -0
- package/build/server/chunks/chunks/scribe.js-iOeGX5b-.js +1591 -0
- package/build/server/chunks/chunks/service.js-Czp3ML1f.js +1339 -0
- package/build/server/chunks/chunks/service2.js-B4wrB_04.js +884 -0
- package/build/server/chunks/chunks/service3.js-DH5qFD_p.js +234 -0
- package/build/server/chunks/chunks/sessions.js-CTgcSezb.js +579 -0
- package/build/server/chunks/chunks/settings.js-qASZ7OPe.js +379 -0
- package/build/server/chunks/chunks/starter.js-CHR-WRnX.js +400 -0
- package/build/server/chunks/chunks/store.js-CeotKeYF.js +334 -0
- package/build/server/chunks/chunks/stream.js-DaErQujC.js +54 -0
- package/build/server/chunks/chunks/terminal.js-itbRYerQ.js +92 -0
- package/build/server/chunks/chunks/tmux.js-VIvfTvV9.js +508 -0
- package/build/server/chunks/chunks/tools.js-Bm-XlmkD.js +156 -0
- package/build/server/chunks/chunks/uploads.js-DsG1DD3-.js +107 -0
- package/build/server/chunks/chunks/view.js-DUAH39S_.js +76 -0
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-CAR9x6If.js +116 -0
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-BmqJFXb3.js +112 -0
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-C1R7aAG1.js +63 -0
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-sblBpD28.js +79 -0
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-qE3bFSGr.js +83 -0
- package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-CcKjixDF.js +68 -0
- package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-05urMZ8P.js +73 -0
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-DdQ5RN72.js +158 -0
- package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-Dp9WZ4bf.js +57 -0
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-C3oUZ8oT.js +75 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-BOxypULD.js +111 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-D6E8qZ3V.js +87 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-CazJhfgH.js +77 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-Bkr5Orm8.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/cleared/_server.ts.js-D_bWUK-k.js +90 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-Bodz3BdZ.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-Bs7fCGCe.js +71 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-BGfMNKTf.js +77 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-Cjxh2exY.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-Bbi52iPZ.js +119 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-D2I3DiA_.js +80 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-D5TnOIyt.js +91 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-heVFZ_bD.js +79 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-_EWMubAY.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-ey4qcfP4.js +32 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-BrIhEXkY.js +40 -0
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-C0fETIYL.js +62 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-CSQ6PMQZ.js +62 -0
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-D8-CixSL.js +89 -0
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-BL3brwB7.js +87 -0
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-C4KpcMvm.js +80 -0
- package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-BU52jwqh.js +173 -0
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-_Te9dIdW.js +62 -0
- package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-C1zy7n-U.js +71 -0
- package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-BLaQYWL6.js +72 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-C9WPIsB3.js +91 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-Cg0f8D3d.js +72 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-j4XRZ5d-.js +27 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-Dq3RLRbP.js +30 -0
- package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-BKnZHwIC.js +113 -0
- package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-C15hiK8S.js +74 -0
- package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-DJfKVncx.js +122 -0
- package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-BfGE5FUe.js +76 -0
- package/build/server/chunks/entries/endpoints/api/material/_server.ts.js-CxfUmNOh.js +82 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-BPiN2knt.js +97 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-CIk2F-su.js +86 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-DqGYT6gg.js +82 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-D8UL8VOm.js +78 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-DJ0W5eUu.js +27 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-Bh5dxdam.js +85 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-CCI-nNuz.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-DNQNDDJM.js +62 -0
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-Brt5uVl4.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-C6cjdQAo.js +42 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-CRO1orTV.js +67 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-DrlOSy6A.js +76 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-TjBN5sfm.js +73 -0
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-BkEad_KL.js +77 -0
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-CWDR88NK.js +27 -0
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-BnSCsmWZ.js +86 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-C95eE952.js +67 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-DIVveUbx.js +76 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-oN5QuiQ5.js +88 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-CWvXVfnf.js +75 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-GbWHmLht.js +98 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-CSf6HGOQ.js +81 -0
- package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-CyKTSnVB.js +476 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-hYyCNMnO.js +92 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-DabGNOPU.js +71 -0
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DKUMF8AZ.js +81 -0
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-DZ4borVh.js +147 -0
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-CmhBZFHq.js +70 -0
- package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-7ms1_oyt.js +84 -0
- package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-BdXHUfuO.js +70 -0
- package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-XH9NSnej.js +73 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-BmpGcMtx.js +67 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-BL59WnYq.js +86 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-BLd6LFiu.js +113 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-tqhwDBZw.js +79 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-rcOSZryn.js +109 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-qjsdDQj9.js +127 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-DIh_CpMP.js +82 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-CeDVM3Ha.js +85 -0
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-BuH25Pmv.js +85 -0
- package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-BWKzLWfA.js +24 -0
- package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-Ck3xE0Gx.js +31 -0
- package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-DocjVxFs.js +33 -0
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-CkqzcPoM.js +97 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-BKjpke8g.js +40 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-L1v70Gde.js +27 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-BM7Z8FSU.js +27 -0
- package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-CiQaQ8uU.js +78 -0
- package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-TBv9efJs.js +68 -0
- package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-CTMxIdN3.js +75 -0
- package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-Dztz7n2G.js +88 -0
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-DkmYsIve.js +66 -0
- package/build/server/chunks/entries/hooks.server.js-G5ZjMffV.js +196 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-BmDgzUW-.js +57 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-Qke8DIZA.js +6139 -0
- package/build/server/chunks/entries/pages/_page.server.ts.js-D6Wpa6-v.js +16 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-Cecb4tbT.js +4593 -0
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-BUT_H5Ex.js +115 -0
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-C24ZqIqr.js +14 -0
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-BZE0B_qw.js +16 -0
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-BWIO8P9Y.js +96 -0
- package/build/server/chunks/entries/pages/documents/_page.server.ts.js-BeYVD2fQ.js +15 -0
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-CKZU_5oF.js +17 -0
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-B_N8ozV4.js +1011 -0
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js--50ZcTaI.js +11 -0
- package/build/server/chunks/entries/pages/health/_page.server.ts.js-OSeSyQ55.js +16 -0
- package/build/server/chunks/entries/pages/health/_page.svelte.js-BoBhH9L5.js +518 -0
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-hwrcBq08.js +18 -0
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-gfSbzscH.js +902 -0
- package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-p0_9_Uey.js +18 -0
- package/build/server/chunks/entries/pages/more/_page.svelte.js-YF8A6IyG.js +157 -0
- package/build/server/chunks/entries/pages/plugins/_page.svelte.js-DuP4du76.js +678 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-n1XnCuGz.js +16 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-oH1ut0qD.js +62 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-DI-aq8XM.js +23 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-BOtEcaFR.js +938 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-BBV23Rb_.js +21 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-BSCjBxDT.js +84 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-Bj1Y-sZa.js +27 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-DmqF0Qvx.js +421 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-t1NThIEG.js +15 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-C4Tw-j5z.js +1839 -0
- package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-D8QAuEx3.js +25 -0
- package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-K-Yc7yU9.js +37 -0
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-DLyuHHbd.js +11 -0
- package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-V0k1LBjq.js +13 -0
- package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-CqXfRzFb.js +420 -0
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-C4RWaYbl.js +12 -0
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-C4iVpPw-.js +18 -0
- package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-CpzQ9WGK.js +19 -0
- package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-DSq3s0u4.js +16 -0
- package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-CvY1aFlH.js +15 -0
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-JZ0C0xPl.js +797 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-CudsVOfQ.js +11 -0
- package/build/server/chunks/entries/pages/settings/material/_page.server.ts.js-Dw1oapvK.js +11 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-DfNt9VFs.js +19 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-1pxShM3m.js +567 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-BWMeyf-N.js +17 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-ZPRaMh9b.js +240 -0
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-BiGFhd54.js +11 -0
- package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-BPC2SXST.js +56 -0
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-BaC3yu69.js +11 -0
- package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-F6F2muzt.js +15 -0
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-CLRqwaIl.js +18 -0
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-Xx5wOY-T.js +1625 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-DDk7MpYd.js +36 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-DE_nyHyD.js +123 -0
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BcKbrOS1.js +24 -0
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-DXa9SY81.js +11 -0
- package/build/server/chunks/handler-B-XL_tKo.js +1474 -0
- package/build/server/chunks/index.js-CPbiumcf.js +4296 -0
- package/build/server/chunks/manifest.js-vx7TbGkr.js +1072 -0
- package/build/server/chunks/nodes/0.js-DgrkXc_5.js +69 -0
- package/build/server/chunks/nodes/1.js-DkGXKQAd.js +9 -0
- package/build/server/chunks/nodes/10.js-BMaVlR4_.js +67 -0
- package/build/server/chunks/nodes/11.js-BdWOIXb6.js +69 -0
- package/build/server/chunks/nodes/12.js-DSZL63L1.js +68 -0
- package/build/server/chunks/nodes/13.js-C8lZiveV.js +69 -0
- package/build/server/chunks/nodes/14.js-CCP6h7Px.js +12 -0
- package/build/server/chunks/nodes/15.js-CQZyZuL0.js +9 -0
- package/build/server/chunks/nodes/16.js-XIzs1Oka.js +9 -0
- package/build/server/chunks/nodes/17.js-CrB_SIgd.js +67 -0
- package/build/server/chunks/nodes/18.js-hzBsWFNv.js +70 -0
- package/build/server/chunks/nodes/19.js-Bu-Z_HLq.js +68 -0
- package/build/server/chunks/nodes/2.js-Ct-kCgnF.js +67 -0
- package/build/server/chunks/nodes/20.js-Dqw7_fea.js +69 -0
- package/build/server/chunks/nodes/21.js-CeXbfD2h.js +68 -0
- package/build/server/chunks/nodes/22.js-DeHfPwEv.js +69 -0
- package/build/server/chunks/nodes/23.js-BUSnnKn1.js +69 -0
- package/build/server/chunks/nodes/24.js-ChaWQ9Fh.js +25 -0
- package/build/server/chunks/nodes/25.js-DBNrhUQJ.js +25 -0
- package/build/server/chunks/nodes/26.js-cQcj1SD-.js +9 -0
- package/build/server/chunks/nodes/27.js-BQngZk3i.js +25 -0
- package/build/server/chunks/nodes/28.js-DeH9YdMn.js +67 -0
- package/build/server/chunks/nodes/29.js-BXLI4T_u.js +18 -0
- package/build/server/chunks/nodes/3.js-q9mrqBve.js +9 -0
- package/build/server/chunks/nodes/30.js-BhcUpSUE.js +68 -0
- package/build/server/chunks/nodes/31.js-D_8FYD1I.js +67 -0
- package/build/server/chunks/nodes/32.js-Dq85zpzf.js +25 -0
- package/build/server/chunks/nodes/33.js-Dc-Vv5LZ.js +67 -0
- package/build/server/chunks/nodes/34.js-CKuSTmVY.js +25 -0
- package/build/server/chunks/nodes/35.js-D3TQE6lq.js +22 -0
- package/build/server/chunks/nodes/36.js-BaT3QLq4.js +67 -0
- package/build/server/chunks/nodes/37.js-DyuxASlB.js +67 -0
- package/build/server/chunks/nodes/38.js-D26lw8jW.js +70 -0
- package/build/server/chunks/nodes/39.js-BiP6qmsO.js +70 -0
- package/build/server/chunks/nodes/4.js-BpSG_EgI.js +68 -0
- package/build/server/chunks/nodes/40.js-QPWjmKBa.js +26 -0
- package/build/server/chunks/nodes/41.js-DTYMDgWC.js +69 -0
- package/build/server/chunks/nodes/42.js-BVAA8QWm.js +72 -0
- package/build/server/chunks/nodes/43.js-C0owI_8a.js +68 -0
- package/build/server/chunks/nodes/44.js-D-DnIgeP.js +68 -0
- package/build/server/chunks/nodes/45.js-Did-YnPK.js +67 -0
- package/build/server/chunks/nodes/5.js-fPoi1495.js +67 -0
- package/build/server/chunks/nodes/6.js-B3Ig_KYg.js +67 -0
- package/build/server/chunks/nodes/8.js-CPLIwbA0.js +67 -0
- package/build/server/chunks/nodes/9.js-oMhOF7D5.js +14 -0
- package/dist/cli.js +77 -18
- package/dist/wh-vault.js +1 -1
- package/firstmate-extension/firstmate-extension.json +1 -1
- package/package.json +1 -1
- package/skills/manage-wheelhouse/references/operations.md +1 -1
- package/build/client/_app/immutable/assets/0.DfMBwLbg.css +0 -1
- package/build/client/_app/immutable/assets/0.DfMBwLbg.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DfMBwLbg.css.gz +0 -0
- package/build/client/_app/immutable/chunks/03yqYO20.js +0 -1
- package/build/client/_app/immutable/chunks/03yqYO20.js.br +0 -0
- package/build/client/_app/immutable/chunks/03yqYO20.js.gz +0 -0
- package/build/client/_app/immutable/chunks/1iXEnAxL.js +0 -1
- package/build/client/_app/immutable/chunks/1iXEnAxL.js.br +0 -0
- package/build/client/_app/immutable/chunks/1iXEnAxL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/1rMfpM_v.js +0 -5
- package/build/client/_app/immutable/chunks/1rMfpM_v.js.br +0 -0
- package/build/client/_app/immutable/chunks/1rMfpM_v.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2W-Z5JI4.js +0 -6
- package/build/client/_app/immutable/chunks/2W-Z5JI4.js.br +0 -0
- package/build/client/_app/immutable/chunks/2W-Z5JI4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/9UVXc0hx.js +0 -1
- package/build/client/_app/immutable/chunks/9UVXc0hx.js.br +0 -0
- package/build/client/_app/immutable/chunks/9UVXc0hx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/9z0E7C7q.js +0 -1
- package/build/client/_app/immutable/chunks/9z0E7C7q.js.br +0 -0
- package/build/client/_app/immutable/chunks/9z0E7C7q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B01yhBHF.js +0 -1
- package/build/client/_app/immutable/chunks/B01yhBHF.js.br +0 -0
- package/build/client/_app/immutable/chunks/B01yhBHF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B2fcXQUP.js +0 -1
- package/build/client/_app/immutable/chunks/B2fcXQUP.js.br +0 -0
- package/build/client/_app/immutable/chunks/B2fcXQUP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B374TgJF.js +0 -1
- package/build/client/_app/immutable/chunks/B374TgJF.js.br +0 -0
- package/build/client/_app/immutable/chunks/B374TgJF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B5ksxDw5.js +0 -162
- package/build/client/_app/immutable/chunks/B5ksxDw5.js.br +0 -0
- package/build/client/_app/immutable/chunks/B5ksxDw5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B65GEZdd.js +0 -1
- package/build/client/_app/immutable/chunks/B65GEZdd.js.br +0 -0
- package/build/client/_app/immutable/chunks/B65GEZdd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B6qh5sP6.js +0 -13
- package/build/client/_app/immutable/chunks/B6qh5sP6.js.br +0 -0
- package/build/client/_app/immutable/chunks/B6qh5sP6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B7CIGGfF.js +0 -3
- package/build/client/_app/immutable/chunks/B7CIGGfF.js.br +0 -0
- package/build/client/_app/immutable/chunks/B7CIGGfF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B7FcJYnU.js +0 -89
- package/build/client/_app/immutable/chunks/B7FcJYnU.js.br +0 -0
- package/build/client/_app/immutable/chunks/B7FcJYnU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B7nMBxu0.js +0 -40
- package/build/client/_app/immutable/chunks/B7nMBxu0.js.br +0 -0
- package/build/client/_app/immutable/chunks/B7nMBxu0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B8VobXs_.js +0 -1
- package/build/client/_app/immutable/chunks/B8VobXs_.js.br +0 -0
- package/build/client/_app/immutable/chunks/B8VobXs_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B9zVXyGS.js +0 -1
- package/build/client/_app/immutable/chunks/B9zVXyGS.js.br +0 -0
- package/build/client/_app/immutable/chunks/B9zVXyGS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BA9bXUEp.js +0 -1
- package/build/client/_app/immutable/chunks/BA9bXUEp.js.br +0 -2
- package/build/client/_app/immutable/chunks/BA9bXUEp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BEVJas-l.js +0 -1
- package/build/client/_app/immutable/chunks/BEVJas-l.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEVJas-l.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BEgjf0QM.js +0 -3
- package/build/client/_app/immutable/chunks/BEgjf0QM.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEgjf0QM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BIh5NTB2.js +0 -38
- package/build/client/_app/immutable/chunks/BIh5NTB2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BIh5NTB2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BJDcvTi2.js +0 -1
- package/build/client/_app/immutable/chunks/BJDcvTi2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJDcvTi2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BK-ZbQDl.js +0 -3
- package/build/client/_app/immutable/chunks/BK-ZbQDl.js.br +0 -0
- package/build/client/_app/immutable/chunks/BK-ZbQDl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BKPMU8Tz.js +0 -7
- package/build/client/_app/immutable/chunks/BKPMU8Tz.js.br +0 -0
- package/build/client/_app/immutable/chunks/BKPMU8Tz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BKRi8X2-.js +0 -1
- package/build/client/_app/immutable/chunks/BKRi8X2-.js.br +0 -0
- package/build/client/_app/immutable/chunks/BKRi8X2-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BK_MXWSk.js +0 -1
- package/build/client/_app/immutable/chunks/BK_MXWSk.js.br +0 -0
- package/build/client/_app/immutable/chunks/BK_MXWSk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BLBvc4wG.js +0 -1
- package/build/client/_app/immutable/chunks/BLBvc4wG.js.br +0 -0
- package/build/client/_app/immutable/chunks/BLBvc4wG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BMMeDG3C.js +0 -1
- package/build/client/_app/immutable/chunks/BMMeDG3C.js.br +0 -0
- package/build/client/_app/immutable/chunks/BMMeDG3C.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BMgWgkGl.js +0 -3
- package/build/client/_app/immutable/chunks/BMgWgkGl.js.br +0 -0
- package/build/client/_app/immutable/chunks/BMgWgkGl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BOHNp6eX.js +0 -1
- package/build/client/_app/immutable/chunks/BOHNp6eX.js.br +0 -0
- package/build/client/_app/immutable/chunks/BOHNp6eX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BOXS9UWz.js +0 -24
- package/build/client/_app/immutable/chunks/BOXS9UWz.js.br +0 -0
- package/build/client/_app/immutable/chunks/BOXS9UWz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BPBomwti.js +0 -1
- package/build/client/_app/immutable/chunks/BPBomwti.js.br +0 -0
- package/build/client/_app/immutable/chunks/BPBomwti.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BQW0JOSW.js +0 -1
- package/build/client/_app/immutable/chunks/BQW0JOSW.js.br +0 -0
- package/build/client/_app/immutable/chunks/BQW0JOSW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BRYVBL-t.js +0 -1
- package/build/client/_app/immutable/chunks/BRYVBL-t.js.br +0 -0
- package/build/client/_app/immutable/chunks/BRYVBL-t.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BRlpgpqH.js +0 -1
- package/build/client/_app/immutable/chunks/BRlpgpqH.js.br +0 -0
- package/build/client/_app/immutable/chunks/BRlpgpqH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BUvO7f76.js +0 -1
- package/build/client/_app/immutable/chunks/BUvO7f76.js.br +0 -0
- package/build/client/_app/immutable/chunks/BUvO7f76.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BXvyhM-l.js +0 -1
- package/build/client/_app/immutable/chunks/BXvyhM-l.js.br +0 -0
- package/build/client/_app/immutable/chunks/BXvyhM-l.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BXyVeS8z.js +0 -1
- package/build/client/_app/immutable/chunks/BXyVeS8z.js.br +0 -0
- package/build/client/_app/immutable/chunks/BXyVeS8z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BZlCsxEE.js +0 -70
- package/build/client/_app/immutable/chunks/BZlCsxEE.js.br +0 -0
- package/build/client/_app/immutable/chunks/BZlCsxEE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B_DDhx9A.js +0 -1
- package/build/client/_app/immutable/chunks/B_DDhx9A.js.br +0 -0
- package/build/client/_app/immutable/chunks/B_DDhx9A.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BaXPxLpc.js +0 -1
- package/build/client/_app/immutable/chunks/BaXPxLpc.js.br +0 -0
- package/build/client/_app/immutable/chunks/BaXPxLpc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BbEKXuJh.js +0 -1
- package/build/client/_app/immutable/chunks/BbEKXuJh.js.br +0 -0
- package/build/client/_app/immutable/chunks/BbEKXuJh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BbFmOapE.js +0 -1
- package/build/client/_app/immutable/chunks/BbFmOapE.js.br +0 -0
- package/build/client/_app/immutable/chunks/BbFmOapE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BbLERgY7.js +0 -1
- package/build/client/_app/immutable/chunks/BbLERgY7.js.br +0 -0
- package/build/client/_app/immutable/chunks/BbLERgY7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BdjCJ4uL.js +0 -1
- package/build/client/_app/immutable/chunks/BdjCJ4uL.js.br +0 -0
- package/build/client/_app/immutable/chunks/BdjCJ4uL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BfHvf1Rg.js +0 -1
- package/build/client/_app/immutable/chunks/BfHvf1Rg.js.br +0 -0
- package/build/client/_app/immutable/chunks/BfHvf1Rg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BgD25tEU.js +0 -1
- package/build/client/_app/immutable/chunks/BgD25tEU.js.br +0 -0
- package/build/client/_app/immutable/chunks/BgD25tEU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BgW5hi16.js +0 -1
- package/build/client/_app/immutable/chunks/BgW5hi16.js.br +0 -0
- package/build/client/_app/immutable/chunks/BgW5hi16.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BgsPzvvM.js +0 -1
- package/build/client/_app/immutable/chunks/BgsPzvvM.js.br +0 -0
- package/build/client/_app/immutable/chunks/BgsPzvvM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjTe15qL.js +0 -1
- package/build/client/_app/immutable/chunks/BjTe15qL.js.br +0 -0
- package/build/client/_app/immutable/chunks/BjTe15qL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bjy472kL.js +0 -1
- package/build/client/_app/immutable/chunks/Bjy472kL.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bjy472kL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BkgEVrAE.js +0 -1
- package/build/client/_app/immutable/chunks/BkgEVrAE.js.br +0 -0
- package/build/client/_app/immutable/chunks/BkgEVrAE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BljuL8ig.js +0 -1
- package/build/client/_app/immutable/chunks/BljuL8ig.js.br +0 -0
- package/build/client/_app/immutable/chunks/BljuL8ig.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BmMDKRxq.js +0 -168
- package/build/client/_app/immutable/chunks/BmMDKRxq.js.br +0 -0
- package/build/client/_app/immutable/chunks/BmMDKRxq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BmXrroyA.js +0 -1
- package/build/client/_app/immutable/chunks/BmXrroyA.js.br +0 -0
- package/build/client/_app/immutable/chunks/BmXrroyA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bn9TkbIB.js +0 -1
- package/build/client/_app/immutable/chunks/Bn9TkbIB.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bn9TkbIB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BpQy2vJd.js +0 -1
- package/build/client/_app/immutable/chunks/BpQy2vJd.js.br +0 -0
- package/build/client/_app/immutable/chunks/BpQy2vJd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BqPSLjdM.js +0 -1
- package/build/client/_app/immutable/chunks/BqPSLjdM.js.br +0 -0
- package/build/client/_app/immutable/chunks/BqPSLjdM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Br-ErZgz.js +0 -1
- package/build/client/_app/immutable/chunks/Br-ErZgz.js.br +0 -0
- package/build/client/_app/immutable/chunks/Br-ErZgz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Br5gy4Yk.js +0 -1
- package/build/client/_app/immutable/chunks/Br5gy4Yk.js.br +0 -0
- package/build/client/_app/immutable/chunks/Br5gy4Yk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BrqXkLnL.js +0 -1
- package/build/client/_app/immutable/chunks/BrqXkLnL.js.br +0 -0
- package/build/client/_app/immutable/chunks/BrqXkLnL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BtJjoKJc.js +0 -1
- package/build/client/_app/immutable/chunks/BtJjoKJc.js.br +0 -0
- package/build/client/_app/immutable/chunks/BtJjoKJc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bvytljwf.js +0 -249
- package/build/client/_app/immutable/chunks/Bvytljwf.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bvytljwf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bw9VDV5E.js +0 -1
- package/build/client/_app/immutable/chunks/Bw9VDV5E.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bw9VDV5E.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwF-OIK3.js +0 -1
- package/build/client/_app/immutable/chunks/BwF-OIK3.js.br +0 -2
- package/build/client/_app/immutable/chunks/BwF-OIK3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwauVYjH.js +0 -1
- package/build/client/_app/immutable/chunks/BwauVYjH.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwauVYjH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwqxEF2U.js +0 -1
- package/build/client/_app/immutable/chunks/BwqxEF2U.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwqxEF2U.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bx0PJwhk.js +0 -2
- package/build/client/_app/immutable/chunks/Bx0PJwhk.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bx0PJwhk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bxsc4Ss9.js +0 -62
- package/build/client/_app/immutable/chunks/Bxsc4Ss9.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bxsc4Ss9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bz9tCoED.js +0 -1
- package/build/client/_app/immutable/chunks/Bz9tCoED.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bz9tCoED.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-GEBIcR.js +0 -1
- package/build/client/_app/immutable/chunks/C-GEBIcR.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-GEBIcR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-HYwD2y.js +0 -1
- package/build/client/_app/immutable/chunks/C-HYwD2y.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-HYwD2y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C1-ZwXJJ.js +0 -1
- package/build/client/_app/immutable/chunks/C1-ZwXJJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/C1-ZwXJJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C24ObgpI.js +0 -1
- package/build/client/_app/immutable/chunks/C24ObgpI.js.br +0 -0
- package/build/client/_app/immutable/chunks/C24ObgpI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C4jBfsPB.js +0 -1
- package/build/client/_app/immutable/chunks/C4jBfsPB.js.br +0 -0
- package/build/client/_app/immutable/chunks/C4jBfsPB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8F_z3tF.js +0 -1
- package/build/client/_app/immutable/chunks/C8F_z3tF.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8F_z3tF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8jtmWux.js +0 -34
- package/build/client/_app/immutable/chunks/C8jtmWux.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8jtmWux.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8te4nqk.js +0 -1
- package/build/client/_app/immutable/chunks/C8te4nqk.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8te4nqk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C97qdOZ6.js +0 -4
- package/build/client/_app/immutable/chunks/C97qdOZ6.js.br +0 -0
- package/build/client/_app/immutable/chunks/C97qdOZ6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C9fioDu6.js +0 -3
- package/build/client/_app/immutable/chunks/C9fioDu6.js.br +0 -0
- package/build/client/_app/immutable/chunks/C9fioDu6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCSv0LIp.js +0 -1
- package/build/client/_app/immutable/chunks/CCSv0LIp.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCSv0LIp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CEB4lco6.js +0 -8
- package/build/client/_app/immutable/chunks/CEB4lco6.js.br +0 -0
- package/build/client/_app/immutable/chunks/CEB4lco6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CEBOwVEW.js +0 -1
- package/build/client/_app/immutable/chunks/CEBOwVEW.js.br +0 -0
- package/build/client/_app/immutable/chunks/CEBOwVEW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CFq-JuCn.js +0 -1
- package/build/client/_app/immutable/chunks/CFq-JuCn.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFq-JuCn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CGgXi5F1.js +0 -1
- package/build/client/_app/immutable/chunks/CGgXi5F1.js.br +0 -0
- package/build/client/_app/immutable/chunks/CGgXi5F1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CGnI1F6D.js +0 -62
- package/build/client/_app/immutable/chunks/CGnI1F6D.js.br +0 -0
- package/build/client/_app/immutable/chunks/CGnI1F6D.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CIUvtBh_.js +0 -231
- package/build/client/_app/immutable/chunks/CIUvtBh_.js.br +0 -0
- package/build/client/_app/immutable/chunks/CIUvtBh_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CIYxJVP-.js +0 -1
- package/build/client/_app/immutable/chunks/CIYxJVP-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CIYxJVP-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJxikGC0.js +0 -1
- package/build/client/_app/immutable/chunks/CJxikGC0.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJxikGC0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CNrVcIUd.js +0 -1
- package/build/client/_app/immutable/chunks/CNrVcIUd.js.br +0 -0
- package/build/client/_app/immutable/chunks/CNrVcIUd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CNxxt--f.js +0 -1
- package/build/client/_app/immutable/chunks/CNxxt--f.js.br +0 -0
- package/build/client/_app/immutable/chunks/CNxxt--f.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CSKtE77V.js +0 -1
- package/build/client/_app/immutable/chunks/CSKtE77V.js.br +0 -8
- package/build/client/_app/immutable/chunks/CSKtE77V.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CT1Mi9Rm.js +0 -1
- package/build/client/_app/immutable/chunks/CT1Mi9Rm.js.br +0 -0
- package/build/client/_app/immutable/chunks/CT1Mi9Rm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CTbld52k.js +0 -1
- package/build/client/_app/immutable/chunks/CTbld52k.js.br +0 -0
- package/build/client/_app/immutable/chunks/CTbld52k.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CVUv3vK_.js +0 -1
- package/build/client/_app/immutable/chunks/CVUv3vK_.js.br +0 -0
- package/build/client/_app/immutable/chunks/CVUv3vK_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CX9uMXk9.js +0 -15
- package/build/client/_app/immutable/chunks/CX9uMXk9.js.br +0 -0
- package/build/client/_app/immutable/chunks/CX9uMXk9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_BRvYKD.js +0 -1
- package/build/client/_app/immutable/chunks/C_BRvYKD.js.br +0 -3
- package/build/client/_app/immutable/chunks/C_BRvYKD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_D8fRYf.js +0 -1
- package/build/client/_app/immutable/chunks/C_D8fRYf.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_D8fRYf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_Devth_.js +0 -1
- package/build/client/_app/immutable/chunks/C_Devth_.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_Devth_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_d8_iJz.js +0 -84
- package/build/client/_app/immutable/chunks/C_d8_iJz.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_d8_iJz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_jc8OLQ.js +0 -2
- package/build/client/_app/immutable/chunks/C_jc8OLQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_jc8OLQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CaW5vMri.js +0 -292
- package/build/client/_app/immutable/chunks/CaW5vMri.js.br +0 -0
- package/build/client/_app/immutable/chunks/CaW5vMri.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CaqSaLai.js +0 -1
- package/build/client/_app/immutable/chunks/CaqSaLai.js.br +0 -2
- package/build/client/_app/immutable/chunks/CaqSaLai.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CbKpBvf7.js +0 -1
- package/build/client/_app/immutable/chunks/CbKpBvf7.js.br +0 -0
- package/build/client/_app/immutable/chunks/CbKpBvf7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cdpv7rd4.js +0 -1
- package/build/client/_app/immutable/chunks/Cdpv7rd4.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cdpv7rd4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CeV_7ApB.js +0 -1
- package/build/client/_app/immutable/chunks/CeV_7ApB.js.br +0 -0
- package/build/client/_app/immutable/chunks/CeV_7ApB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CfTxn-ef.js +0 -1
- package/build/client/_app/immutable/chunks/CfTxn-ef.js.br +0 -5
- package/build/client/_app/immutable/chunks/CfTxn-ef.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cg0xpm1i.js +0 -88
- package/build/client/_app/immutable/chunks/Cg0xpm1i.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cg0xpm1i.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CgEXMjiz.js +0 -2
- package/build/client/_app/immutable/chunks/CgEXMjiz.js.br +0 -0
- package/build/client/_app/immutable/chunks/CgEXMjiz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ch0pSFky.js +0 -30
- package/build/client/_app/immutable/chunks/Ch0pSFky.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ch0pSFky.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ch8vIPte.js +0 -1
- package/build/client/_app/immutable/chunks/Ch8vIPte.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ch8vIPte.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ci4VDAEG.js +0 -1
- package/build/client/_app/immutable/chunks/Ci4VDAEG.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ci4VDAEG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cih51HL5.js +0 -1
- package/build/client/_app/immutable/chunks/Cih51HL5.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cih51HL5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CjMxTOBq.js +0 -1
- package/build/client/_app/immutable/chunks/CjMxTOBq.js.br +0 -3
- package/build/client/_app/immutable/chunks/CjMxTOBq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CkJDm1ZW.js +0 -1
- package/build/client/_app/immutable/chunks/CkJDm1ZW.js.br +0 -0
- package/build/client/_app/immutable/chunks/CkJDm1ZW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ClPt-fmq.js +0 -1
- package/build/client/_app/immutable/chunks/ClPt-fmq.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClPt-fmq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CosKnXYm.js +0 -1
- package/build/client/_app/immutable/chunks/CosKnXYm.js.br +0 -0
- package/build/client/_app/immutable/chunks/CosKnXYm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cq7OFmxz.js +0 -1
- package/build/client/_app/immutable/chunks/Cq7OFmxz.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cq7OFmxz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CqVYnWrT.js +0 -1
- package/build/client/_app/immutable/chunks/CqVYnWrT.js.br +0 -0
- package/build/client/_app/immutable/chunks/CqVYnWrT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CqWiK08h.js +0 -4
- package/build/client/_app/immutable/chunks/CqWiK08h.js.br +0 -0
- package/build/client/_app/immutable/chunks/CqWiK08h.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CsFoEe5t.js +0 -1
- package/build/client/_app/immutable/chunks/CsFoEe5t.js.br +0 -0
- package/build/client/_app/immutable/chunks/CsFoEe5t.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CuSw1clo.js +0 -1
- package/build/client/_app/immutable/chunks/CuSw1clo.js.br +0 -0
- package/build/client/_app/immutable/chunks/CuSw1clo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CuUoVbbr.js +0 -7
- package/build/client/_app/immutable/chunks/CuUoVbbr.js.br +0 -0
- package/build/client/_app/immutable/chunks/CuUoVbbr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CwQPZvCv.js +0 -24
- package/build/client/_app/immutable/chunks/CwQPZvCv.js.br +0 -0
- package/build/client/_app/immutable/chunks/CwQPZvCv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cz0t0Wrt.js +0 -1
- package/build/client/_app/immutable/chunks/Cz0t0Wrt.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cz0t0Wrt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D30tqoRA.js +0 -206
- package/build/client/_app/immutable/chunks/D30tqoRA.js.br +0 -0
- package/build/client/_app/immutable/chunks/D30tqoRA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D66j7WEk.js +0 -1
- package/build/client/_app/immutable/chunks/D66j7WEk.js.br +0 -0
- package/build/client/_app/immutable/chunks/D66j7WEk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D73wi9-q.js +0 -1
- package/build/client/_app/immutable/chunks/D73wi9-q.js.br +0 -0
- package/build/client/_app/immutable/chunks/D73wi9-q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D91PitBW.js +0 -2
- package/build/client/_app/immutable/chunks/D91PitBW.js.br +0 -0
- package/build/client/_app/immutable/chunks/D91PitBW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D92svzym.js +0 -1
- package/build/client/_app/immutable/chunks/D92svzym.js.br +0 -0
- package/build/client/_app/immutable/chunks/D92svzym.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DAUgCAk3.js +0 -39
- package/build/client/_app/immutable/chunks/DAUgCAk3.js.br +0 -0
- package/build/client/_app/immutable/chunks/DAUgCAk3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DBLsdElo.js +0 -1
- package/build/client/_app/immutable/chunks/DBLsdElo.js.br +0 -1
- package/build/client/_app/immutable/chunks/DBLsdElo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DD0oUy6v.js +0 -1
- package/build/client/_app/immutable/chunks/DD0oUy6v.js.br +0 -0
- package/build/client/_app/immutable/chunks/DD0oUy6v.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DE0e4nJ8.js +0 -1
- package/build/client/_app/immutable/chunks/DE0e4nJ8.js.br +0 -0
- package/build/client/_app/immutable/chunks/DE0e4nJ8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DFaX1kYU.js +0 -1
- package/build/client/_app/immutable/chunks/DFaX1kYU.js.br +0 -0
- package/build/client/_app/immutable/chunks/DFaX1kYU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DLfKkHEy.js +0 -1
- package/build/client/_app/immutable/chunks/DLfKkHEy.js.br +0 -0
- package/build/client/_app/immutable/chunks/DLfKkHEy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNP6oCAK.js +0 -2
- package/build/client/_app/immutable/chunks/DNP6oCAK.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNP6oCAK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DO7qs3-2.js +0 -78
- package/build/client/_app/immutable/chunks/DO7qs3-2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DO7qs3-2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DP0NWgBG.js +0 -1
- package/build/client/_app/immutable/chunks/DP0NWgBG.js.br +0 -0
- package/build/client/_app/immutable/chunks/DP0NWgBG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQCQ7gMl.js +0 -1
- package/build/client/_app/immutable/chunks/DQCQ7gMl.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQCQ7gMl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQWg__9S.js +0 -1
- package/build/client/_app/immutable/chunks/DQWg__9S.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQWg__9S.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DS5YqfWJ.js +0 -1
- package/build/client/_app/immutable/chunks/DS5YqfWJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DS5YqfWJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DT1mJMTa.js +0 -1
- package/build/client/_app/immutable/chunks/DT1mJMTa.js.br +0 -0
- package/build/client/_app/immutable/chunks/DT1mJMTa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DTApYZoW.js +0 -2
- package/build/client/_app/immutable/chunks/DTApYZoW.js.br +0 -0
- package/build/client/_app/immutable/chunks/DTApYZoW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DUhuG1Hw.js +0 -1
- package/build/client/_app/immutable/chunks/DUhuG1Hw.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUhuG1Hw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DVz0vqdR.js +0 -3
- package/build/client/_app/immutable/chunks/DVz0vqdR.js.br +0 -0
- package/build/client/_app/immutable/chunks/DVz0vqdR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DWBTuuo9.js +0 -1
- package/build/client/_app/immutable/chunks/DWBTuuo9.js.br +0 -0
- package/build/client/_app/immutable/chunks/DWBTuuo9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DWebbZSk.js +0 -1
- package/build/client/_app/immutable/chunks/DWebbZSk.js.br +0 -0
- package/build/client/_app/immutable/chunks/DWebbZSk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DX7LwCrb.js +0 -1
- package/build/client/_app/immutable/chunks/DX7LwCrb.js.br +0 -0
- package/build/client/_app/immutable/chunks/DX7LwCrb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DXA2xbyE.js +0 -7
- package/build/client/_app/immutable/chunks/DXA2xbyE.js.br +0 -0
- package/build/client/_app/immutable/chunks/DXA2xbyE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DXYYABa4.js +0 -96
- package/build/client/_app/immutable/chunks/DXYYABa4.js.br +0 -0
- package/build/client/_app/immutable/chunks/DXYYABa4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZZuZ7Nl.js +0 -1
- package/build/client/_app/immutable/chunks/DZZuZ7Nl.js.br +0 -0
- package/build/client/_app/immutable/chunks/DZZuZ7Nl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DbrTDc61.js +0 -2
- package/build/client/_app/immutable/chunks/DbrTDc61.js.br +0 -0
- package/build/client/_app/immutable/chunks/DbrTDc61.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DckZzLGn.js +0 -1
- package/build/client/_app/immutable/chunks/DckZzLGn.js.br +0 -0
- package/build/client/_app/immutable/chunks/DckZzLGn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dd6SLnOK.js +0 -1
- package/build/client/_app/immutable/chunks/Dd6SLnOK.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dd6SLnOK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DdRGrlyi.js +0 -1
- package/build/client/_app/immutable/chunks/DdRGrlyi.js.br +0 -0
- package/build/client/_app/immutable/chunks/DdRGrlyi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DfL_9Z2a.js +0 -1
- package/build/client/_app/immutable/chunks/DfL_9Z2a.js.br +0 -0
- package/build/client/_app/immutable/chunks/DfL_9Z2a.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DfPYFyvh.js +0 -1
- package/build/client/_app/immutable/chunks/DfPYFyvh.js.br +0 -0
- package/build/client/_app/immutable/chunks/DfPYFyvh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DgDXiZXz.js +0 -41
- package/build/client/_app/immutable/chunks/DgDXiZXz.js.br +0 -0
- package/build/client/_app/immutable/chunks/DgDXiZXz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DjL5SSmX.js +0 -1
- package/build/client/_app/immutable/chunks/DjL5SSmX.js.br +0 -0
- package/build/client/_app/immutable/chunks/DjL5SSmX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlALRMA8.js +0 -1
- package/build/client/_app/immutable/chunks/DlALRMA8.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlALRMA8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlIrtyNJ.js +0 -1
- package/build/client/_app/immutable/chunks/DlIrtyNJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlIrtyNJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dmd5ismG.js +0 -106
- package/build/client/_app/immutable/chunks/Dmd5ismG.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dmd5ismG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DqyvT7BR.js +0 -1
- package/build/client/_app/immutable/chunks/DqyvT7BR.js.br +0 -0
- package/build/client/_app/immutable/chunks/DqyvT7BR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DqzJcWdz.js +0 -7
- package/build/client/_app/immutable/chunks/DqzJcWdz.js.br +0 -0
- package/build/client/_app/immutable/chunks/DqzJcWdz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dt_W6bJ0.js +0 -8
- package/build/client/_app/immutable/chunks/Dt_W6bJ0.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dt_W6bJ0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Du1nBNJW.js +0 -99
- package/build/client/_app/immutable/chunks/Du1nBNJW.js.br +0 -0
- package/build/client/_app/immutable/chunks/Du1nBNJW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dww8tpkZ.js +0 -3
- package/build/client/_app/immutable/chunks/Dww8tpkZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dww8tpkZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dztzg0cn.js +0 -36
- package/build/client/_app/immutable/chunks/Dztzg0cn.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dztzg0cn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/F38--nON.js +0 -1
- package/build/client/_app/immutable/chunks/F38--nON.js.br +0 -3
- package/build/client/_app/immutable/chunks/F38--nON.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HDcwEWP9.js +0 -139
- package/build/client/_app/immutable/chunks/HDcwEWP9.js.br +0 -0
- package/build/client/_app/immutable/chunks/HDcwEWP9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Jk-ASPRO.js +0 -1
- package/build/client/_app/immutable/chunks/Jk-ASPRO.js.br +0 -0
- package/build/client/_app/immutable/chunks/Jk-ASPRO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/KA0hGoA4.js +0 -6
- package/build/client/_app/immutable/chunks/KA0hGoA4.js.br +0 -0
- package/build/client/_app/immutable/chunks/KA0hGoA4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/KaWfcwy_.js +0 -1
- package/build/client/_app/immutable/chunks/KaWfcwy_.js.br +0 -0
- package/build/client/_app/immutable/chunks/KaWfcwy_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/MgFVe5-f.js +0 -1
- package/build/client/_app/immutable/chunks/MgFVe5-f.js.br +0 -0
- package/build/client/_app/immutable/chunks/MgFVe5-f.js.gz +0 -0
- package/build/client/_app/immutable/chunks/NT4VAohP.js +0 -1
- package/build/client/_app/immutable/chunks/NT4VAohP.js.br +0 -0
- package/build/client/_app/immutable/chunks/NT4VAohP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/RTsEYL93.js +0 -1
- package/build/client/_app/immutable/chunks/RTsEYL93.js.br +0 -0
- package/build/client/_app/immutable/chunks/RTsEYL93.js.gz +0 -0
- package/build/client/_app/immutable/chunks/RYvdmj4W.js +0 -1
- package/build/client/_app/immutable/chunks/RYvdmj4W.js.br +0 -0
- package/build/client/_app/immutable/chunks/RYvdmj4W.js.gz +0 -0
- package/build/client/_app/immutable/chunks/SfXgPswE.js +0 -1
- package/build/client/_app/immutable/chunks/SfXgPswE.js.br +0 -0
- package/build/client/_app/immutable/chunks/SfXgPswE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Um44Ka4n.js +0 -1
- package/build/client/_app/immutable/chunks/Um44Ka4n.js.br +0 -0
- package/build/client/_app/immutable/chunks/Um44Ka4n.js.gz +0 -0
- package/build/client/_app/immutable/chunks/VTc8VuEj.js +0 -129
- package/build/client/_app/immutable/chunks/VTc8VuEj.js.br +0 -0
- package/build/client/_app/immutable/chunks/VTc8VuEj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/VrUPyiEH.js +0 -1
- package/build/client/_app/immutable/chunks/VrUPyiEH.js.br +0 -0
- package/build/client/_app/immutable/chunks/VrUPyiEH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Wu0Biojm.js +0 -1
- package/build/client/_app/immutable/chunks/Wu0Biojm.js.br +0 -0
- package/build/client/_app/immutable/chunks/Wu0Biojm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Xnyx2pJu.js +0 -1
- package/build/client/_app/immutable/chunks/Xnyx2pJu.js.br +0 -0
- package/build/client/_app/immutable/chunks/Xnyx2pJu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/YcVqGYFt.js +0 -1
- package/build/client/_app/immutable/chunks/YcVqGYFt.js.br +0 -0
- package/build/client/_app/immutable/chunks/YcVqGYFt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_CCaD_og.js +0 -1
- package/build/client/_app/immutable/chunks/_CCaD_og.js.br +0 -0
- package/build/client/_app/immutable/chunks/_CCaD_og.js.gz +0 -0
- package/build/client/_app/immutable/chunks/c9k4nDgn.js +0 -1
- package/build/client/_app/immutable/chunks/c9k4nDgn.js.br +0 -0
- package/build/client/_app/immutable/chunks/c9k4nDgn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/cG4guyTe.js +0 -1
- package/build/client/_app/immutable/chunks/cG4guyTe.js.br +0 -5
- package/build/client/_app/immutable/chunks/cG4guyTe.js.gz +0 -0
- package/build/client/_app/immutable/chunks/fE4moRZ8.js +0 -1
- package/build/client/_app/immutable/chunks/fE4moRZ8.js.br +0 -0
- package/build/client/_app/immutable/chunks/fE4moRZ8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/fbNPmu46.js +0 -3
- package/build/client/_app/immutable/chunks/fbNPmu46.js.br +0 -0
- package/build/client/_app/immutable/chunks/fbNPmu46.js.gz +0 -0
- package/build/client/_app/immutable/chunks/fzA2mGC3.js +0 -1
- package/build/client/_app/immutable/chunks/fzA2mGC3.js.br +0 -0
- package/build/client/_app/immutable/chunks/fzA2mGC3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/gEZHG5dd.js +0 -1
- package/build/client/_app/immutable/chunks/gEZHG5dd.js.br +0 -0
- package/build/client/_app/immutable/chunks/gEZHG5dd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ho-1-1CE.js +0 -1
- package/build/client/_app/immutable/chunks/ho-1-1CE.js.br +0 -0
- package/build/client/_app/immutable/chunks/ho-1-1CE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ip3BSDrD.js +0 -1
- package/build/client/_app/immutable/chunks/ip3BSDrD.js.br +0 -0
- package/build/client/_app/immutable/chunks/ip3BSDrD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/k9XBnoKQ.js +0 -1
- package/build/client/_app/immutable/chunks/k9XBnoKQ.js.br +0 -1
- package/build/client/_app/immutable/chunks/k9XBnoKQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/lCb5pMri.js +0 -120
- package/build/client/_app/immutable/chunks/lCb5pMri.js.br +0 -0
- package/build/client/_app/immutable/chunks/lCb5pMri.js.gz +0 -0
- package/build/client/_app/immutable/chunks/lCxfAEBr.js +0 -1
- package/build/client/_app/immutable/chunks/lCxfAEBr.js.br +0 -0
- package/build/client/_app/immutable/chunks/lCxfAEBr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/m8-RluHE.js +0 -1
- package/build/client/_app/immutable/chunks/m8-RluHE.js.br +0 -0
- package/build/client/_app/immutable/chunks/m8-RluHE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/teNj0U11.js +0 -1
- package/build/client/_app/immutable/chunks/teNj0U11.js.br +0 -2
- package/build/client/_app/immutable/chunks/teNj0U11.js.gz +0 -0
- package/build/client/_app/immutable/chunks/v0ViZGjy.js +0 -1
- package/build/client/_app/immutable/chunks/v0ViZGjy.js.br +0 -0
- package/build/client/_app/immutable/chunks/v0ViZGjy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/voMZUjSQ.js +0 -1
- package/build/client/_app/immutable/chunks/voMZUjSQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/voMZUjSQ.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.6aVOb1Uz.js +0 -2
- package/build/client/_app/immutable/entry/app.6aVOb1Uz.js.br +0 -0
- package/build/client/_app/immutable/entry/app.6aVOb1Uz.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.C9DnA0q7.js +0 -1
- package/build/client/_app/immutable/entry/start.C9DnA0q7.js.br +0 -0
- package/build/client/_app/immutable/entry/start.C9DnA0q7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DWSMVnbu.js +0 -9
- package/build/client/_app/immutable/nodes/0.DWSMVnbu.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DWSMVnbu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BzXlGZ2U.js +0 -1
- package/build/client/_app/immutable/nodes/1.BzXlGZ2U.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BzXlGZ2U.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.BxHK3pGi.js +0 -10
- package/build/client/_app/immutable/nodes/10.BxHK3pGi.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.BxHK3pGi.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.XNgdEDHk.js +0 -9
- package/build/client/_app/immutable/nodes/11.XNgdEDHk.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.XNgdEDHk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.D1uwgzd0.js +0 -11
- package/build/client/_app/immutable/nodes/12.D1uwgzd0.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.D1uwgzd0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.DWzeDWiy.js +0 -2
- package/build/client/_app/immutable/nodes/13.DWzeDWiy.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.DWzeDWiy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.ChUvGP_y.js +0 -6
- package/build/client/_app/immutable/nodes/14.ChUvGP_y.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.ChUvGP_y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.76S1wAO_.js +0 -1
- package/build/client/_app/immutable/nodes/15.76S1wAO_.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.76S1wAO_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.CU50Mhmv.js +0 -10
- package/build/client/_app/immutable/nodes/16.CU50Mhmv.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.CU50Mhmv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.CMp7ha6d.js +0 -1
- package/build/client/_app/immutable/nodes/17.CMp7ha6d.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.CMp7ha6d.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.DRg05Jls.js +0 -3
- package/build/client/_app/immutable/nodes/18.DRg05Jls.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.DRg05Jls.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.BI2epLMk.js +0 -1
- package/build/client/_app/immutable/nodes/19.BI2epLMk.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.BI2epLMk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CaUuAgdB.js +0 -29
- package/build/client/_app/immutable/nodes/2.CaUuAgdB.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CaUuAgdB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.C1KAAIxf.js +0 -14
- package/build/client/_app/immutable/nodes/20.C1KAAIxf.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.C1KAAIxf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.CfV6s1iU.js +0 -150
- package/build/client/_app/immutable/nodes/21.CfV6s1iU.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.CfV6s1iU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.Ch_ULXhp.js +0 -3
- package/build/client/_app/immutable/nodes/22.Ch_ULXhp.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.Ch_ULXhp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.Bp4YJCR4.js +0 -2
- package/build/client/_app/immutable/nodes/23.Bp4YJCR4.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.Bp4YJCR4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.wpJ0lGqR.js +0 -25
- package/build/client/_app/immutable/nodes/24.wpJ0lGqR.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.wpJ0lGqR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.C-cl_M8R.js +0 -5
- package/build/client/_app/immutable/nodes/25.C-cl_M8R.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.C-cl_M8R.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.DHp6s5_l.js +0 -18
- package/build/client/_app/immutable/nodes/26.DHp6s5_l.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.DHp6s5_l.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.CKt64AFX.js +0 -4
- package/build/client/_app/immutable/nodes/28.CKt64AFX.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.CKt64AFX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.p0VN3jhb.js +0 -1
- package/build/client/_app/immutable/nodes/29.p0VN3jhb.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.p0VN3jhb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.GLQ98zQD.js +0 -2
- package/build/client/_app/immutable/nodes/3.GLQ98zQD.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.GLQ98zQD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.CC4fX7M9.js +0 -6
- package/build/client/_app/immutable/nodes/30.CC4fX7M9.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.CC4fX7M9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.DKQyPU5J.js +0 -8
- package/build/client/_app/immutable/nodes/31.DKQyPU5J.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.DKQyPU5J.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.BhU_uihJ.js +0 -2
- package/build/client/_app/immutable/nodes/32.BhU_uihJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.BhU_uihJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.n9mD48QO.js +0 -5
- package/build/client/_app/immutable/nodes/33.n9mD48QO.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.n9mD48QO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.Bda0SNWt.js +0 -4
- package/build/client/_app/immutable/nodes/34.Bda0SNWt.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.Bda0SNWt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.BJ9lPsn1.js +0 -3
- package/build/client/_app/immutable/nodes/35.BJ9lPsn1.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.BJ9lPsn1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/36.CCaFOlSB.js +0 -5
- package/build/client/_app/immutable/nodes/36.CCaFOlSB.js.br +0 -0
- package/build/client/_app/immutable/nodes/36.CCaFOlSB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/37.x8S2CZfa.js +0 -7
- package/build/client/_app/immutable/nodes/37.x8S2CZfa.js.br +0 -0
- package/build/client/_app/immutable/nodes/37.x8S2CZfa.js.gz +0 -0
- package/build/client/_app/immutable/nodes/38.BiTsuWZ5.js +0 -2
- package/build/client/_app/immutable/nodes/38.BiTsuWZ5.js.br +0 -0
- package/build/client/_app/immutable/nodes/38.BiTsuWZ5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/39.5bxoCQ_m.js +0 -4
- package/build/client/_app/immutable/nodes/39.5bxoCQ_m.js.br +0 -0
- package/build/client/_app/immutable/nodes/39.5bxoCQ_m.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.DSFXcNkB.js +0 -5
- package/build/client/_app/immutable/nodes/4.DSFXcNkB.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.DSFXcNkB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/40.BSKlTaCk.js +0 -7
- package/build/client/_app/immutable/nodes/40.BSKlTaCk.js.br +0 -0
- package/build/client/_app/immutable/nodes/40.BSKlTaCk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/41.4ATm7rK7.js +0 -6
- package/build/client/_app/immutable/nodes/41.4ATm7rK7.js.br +0 -0
- package/build/client/_app/immutable/nodes/41.4ATm7rK7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/42.CPN2sikV.js +0 -23
- package/build/client/_app/immutable/nodes/42.CPN2sikV.js.br +0 -0
- package/build/client/_app/immutable/nodes/42.CPN2sikV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/43.Br0Ma07w.js +0 -1
- package/build/client/_app/immutable/nodes/43.Br0Ma07w.js.br +0 -1
- package/build/client/_app/immutable/nodes/43.Br0Ma07w.js.gz +0 -0
- package/build/client/_app/immutable/nodes/44.C6Qrs38w.js +0 -1
- package/build/client/_app/immutable/nodes/44.C6Qrs38w.js.br +0 -0
- package/build/client/_app/immutable/nodes/44.C6Qrs38w.js.gz +0 -0
- package/build/client/_app/immutable/nodes/45.Dy7BRywK.js +0 -6
- package/build/client/_app/immutable/nodes/45.Dy7BRywK.js.br +0 -0
- package/build/client/_app/immutable/nodes/45.Dy7BRywK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.BMVgh--_.js +0 -1
- package/build/client/_app/immutable/nodes/5.BMVgh--_.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BMVgh--_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DLmCqe_7.js +0 -6
- package/build/client/_app/immutable/nodes/6.DLmCqe_7.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DLmCqe_7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.DMqIMsoz.js +0 -1
- package/build/client/_app/immutable/nodes/8.DMqIMsoz.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.DMqIMsoz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.BzzluJqq.js +0 -3
- package/build/client/_app/immutable/nodes/9.BzzluJqq.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.BzzluJqq.js.gz +0 -0
- package/build/server/chunks/chunks/ChecksStrip.js-2nkPLD7z.js +0 -62
- package/build/server/chunks/chunks/DecisionForm.js-BuZwcsBO.js +0 -744
- package/build/server/chunks/chunks/DecisionsBadge.js-CCOY0U9q.js +0 -79
- package/build/server/chunks/chunks/Discussion.js-C_Ft9jEY.js +0 -582
- package/build/server/chunks/chunks/PreviewWindow.js-B0EogasX.js +0 -966
- package/build/server/chunks/chunks/TaskView.js-DL9dNvag.js +0 -3109
- package/build/server/chunks/chunks/chat.svelte.js-Bj4PRBrx.js +0 -417
- package/build/server/chunks/chunks/detail.js-CsPmgpZG.js +0 -149
- package/build/server/chunks/chunks/features.js-Gpn3GBDq.js +0 -181
- package/build/server/chunks/chunks/feedback.js-CbPNvwUQ.js +0 -67
- package/build/server/chunks/chunks/insights.svelte.js-D2Vhrq7_.js +0 -567
- package/build/server/chunks/chunks/internal.js-p6DB5uIC.js +0 -151
- package/build/server/chunks/chunks/live.svelte.js-c69AWfsm.js +0 -217
- package/build/server/chunks/chunks/livereview.js-FqdWoyiJ.js +0 -261
- package/build/server/chunks/chunks/marketplace-service.js-BGTkusMO.js +0 -557
- package/build/server/chunks/chunks/package.js-BJEMsBvk.js +0 -160
- package/build/server/chunks/chunks/page.js-Ccoh7Vqe.js +0 -13
- package/build/server/chunks/chunks/plugins.js-DTJUPwJZ.js +0 -58
- package/build/server/chunks/chunks/previewhelper.js-Cz95M8xJ.js +0 -246
- package/build/server/chunks/chunks/previewhelper2.js-BJQ2lJ3m.js +0 -214
- package/build/server/chunks/chunks/repo.js-BMNiWLpT.js +0 -33
- package/build/server/chunks/chunks/runtime.js-DJQXqRdQ.js +0 -27438
- package/build/server/chunks/chunks/scribe.js-tIfZA7xN.js +0 -1591
- package/build/server/chunks/chunks/service.js-B4mG3DYP.js +0 -1339
- package/build/server/chunks/chunks/service2.js-BahOZYXd.js +0 -835
- package/build/server/chunks/chunks/service3.js-CqTcyS0v.js +0 -234
- package/build/server/chunks/chunks/sessions.js-OvqNZqST.js +0 -579
- package/build/server/chunks/chunks/settings.js-DFn7wj1U.js +0 -379
- package/build/server/chunks/chunks/starter.js-D3I_J5JY.js +0 -400
- package/build/server/chunks/chunks/store.js-CG9738oP.js +0 -334
- package/build/server/chunks/chunks/stream.js-BRaPJbs8.js +0 -48
- package/build/server/chunks/chunks/terminal.js-CjdVxoU8.js +0 -86
- package/build/server/chunks/chunks/tmux.js-NVfcOTW_.js +0 -504
- package/build/server/chunks/chunks/tools.js-BE5l3Gq7.js +0 -156
- package/build/server/chunks/chunks/uploads.js-Ca6miTnP.js +0 -107
- package/build/server/chunks/chunks/view.js-wA-smnFH.js +0 -76
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-D9PcKh3g.js +0 -116
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-CjUNKLrf.js +0 -112
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-5avwi5oz.js +0 -63
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-AKR-qjYy.js +0 -79
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-DZFGLF1Q.js +0 -83
- package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-C2N9coJv.js +0 -68
- package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-KfgVlHqz.js +0 -73
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-D_xyapKL.js +0 -158
- package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-OAN9aLRH.js +0 -57
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-BDUcSEd8.js +0 -75
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-CUUpVzkc.js +0 -111
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-BNramo6r.js +0 -87
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-Ce1h3kfx.js +0 -77
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-CAJE78Lo.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/cleared/_server.ts.js-U2rqxTDf.js +0 -90
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-D6DPeMTW.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-u4yQt1dz.js +0 -71
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-C0BMylqN.js +0 -77
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-B7XrU8Ej.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-79S8hOXA.js +0 -119
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-C2DvyWLS.js +0 -80
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-BzPvc18F.js +0 -91
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-DdUxmX10.js +0 -79
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-6wKh1TLT.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-CTeOLkL7.js +0 -32
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-BhwGi92i.js +0 -40
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-antz5Wg1.js +0 -62
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-BiTFYHYM.js +0 -62
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-CYY-QyFc.js +0 -89
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-DkceMopf.js +0 -87
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-yarh1oFD.js +0 -80
- package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-AqSfRAeV.js +0 -172
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-DygQVm5r.js +0 -62
- package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-Bv-lc2Dp.js +0 -71
- package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-DZF4phEQ.js +0 -72
- package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-Cb05FHFg.js +0 -91
- package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-YSnBSoPJ.js +0 -72
- package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-DpJi8gTx.js +0 -27
- package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-Dmi2TtY2.js +0 -30
- package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-BPQRazAe.js +0 -113
- package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-CH0_OmoG.js +0 -74
- package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-DafWFB7Y.js +0 -122
- package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-B2M-AqIs.js +0 -76
- package/build/server/chunks/entries/endpoints/api/material/_server.ts.js-Dxh4791C.js +0 -82
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-BeZyhWwV.js +0 -97
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-DejwVPNd.js +0 -86
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-CmzM1s9n.js +0 -81
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-D-p3t3Ze.js +0 -78
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-dE5eeZCt.js +0 -27
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-fxpowS94.js +0 -85
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-_pJjtt0h.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-f36XcSuf.js +0 -62
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-DkYDSObA.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-DdPBb_cr.js +0 -42
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-CTr9gkCG.js +0 -67
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-CddDdsai.js +0 -76
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-DSEjtxkz.js +0 -73
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-CxkDf5wJ.js +0 -77
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-XxwY9a-5.js +0 -27
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-CDrNT6X0.js +0 -86
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-BDSyvuH3.js +0 -67
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-B5zTJ5O4.js +0 -76
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-B7BoXJgA.js +0 -88
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-DMYYlDpJ.js +0 -75
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-DOFwAfye.js +0 -98
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-CnHnIZ6E.js +0 -81
- package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js--xUjoga6.js +0 -476
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-Be_5zEj8.js +0 -92
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-BvgvjIBq.js +0 -71
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DdXWTx03.js +0 -81
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-BKk9Ll-u.js +0 -141
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-B9536lVH.js +0 -70
- package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-DDs-cosG.js +0 -84
- package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-Ci34F1V5.js +0 -70
- package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-R9whsGKw.js +0 -73
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-BLhl2yBE.js +0 -67
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-DTLYL0-D.js +0 -86
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-Dzj5vOx8.js +0 -113
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-B5FDVqwA.js +0 -79
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-D4zPSZ88.js +0 -108
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-DFoNUQcA.js +0 -127
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-BA04zsJk.js +0 -82
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-FV1tDAdh.js +0 -84
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-BvZqpd3s.js +0 -85
- package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-S9prx9vC.js +0 -24
- package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-Dp2D88Hg.js +0 -31
- package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-CN6djCZa.js +0 -33
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-sq9_SL7A.js +0 -97
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-BAU4dTMQ.js +0 -40
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-BOjh1Ioo.js +0 -27
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-BRNGvMwk.js +0 -27
- package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-CP7QSezx.js +0 -78
- package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-Bk9O9q5t.js +0 -68
- package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-Cx6KHP5b.js +0 -75
- package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-Daiu4PvP.js +0 -87
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-DSqq_unQ.js +0 -66
- package/build/server/chunks/entries/hooks.server.js-OPdkA0C6.js +0 -196
- package/build/server/chunks/entries/pages/_layout.server.ts.js-CnwyuHHr.js +0 -55
- package/build/server/chunks/entries/pages/_layout.svelte.js-mE1ylvZx.js +0 -6006
- package/build/server/chunks/entries/pages/_page.server.ts.js-DXHSdgKN.js +0 -16
- package/build/server/chunks/entries/pages/_page.svelte.js-DhO54eIH.js +0 -4593
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-CTDTiD2b.js +0 -115
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-CvN429mT.js +0 -14
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-MI3gtfPq.js +0 -16
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-BFs_-wss.js +0 -96
- package/build/server/chunks/entries/pages/documents/_page.server.ts.js-Cce-H1ll.js +0 -15
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-957W6If0.js +0 -17
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-0G9_1X2p.js +0 -1011
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-B3Xw6qRM.js +0 -11
- package/build/server/chunks/entries/pages/health/_page.server.ts.js-Vxgm70Dc.js +0 -16
- package/build/server/chunks/entries/pages/health/_page.svelte.js-i2kaUZZ9.js +0 -518
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-BIOd6lp9.js +0 -18
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-BNw3v_6q.js +0 -902
- package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-BX71gi3v.js +0 -18
- package/build/server/chunks/entries/pages/more/_page.svelte.js-Bzg6zfvf.js +0 -157
- package/build/server/chunks/entries/pages/plugins/_page.svelte.js-CxaPA0kk.js +0 -678
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-CvM_SK88.js +0 -16
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-8Dt2l0kq.js +0 -62
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-CQkwCmR2.js +0 -23
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-DklpFCW6.js +0 -938
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-BzW06RDz.js +0 -21
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-B45JtjwN.js +0 -84
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-_ZLQP0D3.js +0 -27
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-CGcmFeC9.js +0 -421
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-CgWdJdSH.js +0 -15
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-BRjamtVM.js +0 -1839
- package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-BSozTmxi.js +0 -25
- package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-CacIW2f6.js +0 -37
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-j0EfpwgB.js +0 -11
- package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-DHwDkHQd.js +0 -13
- package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-CsdNCl_Y.js +0 -420
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-BjXcuDrf.js +0 -12
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-Ce3pOlIb.js +0 -18
- package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-D8Spt9L_.js +0 -19
- package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-Sfv9QKb6.js +0 -16
- package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-Byqrbco1.js +0 -15
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-BDBoJr8G.js +0 -797
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-D7NBRqtu.js +0 -11
- package/build/server/chunks/entries/pages/settings/material/_page.server.ts.js-CBJ6AP8J.js +0 -11
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-hAb_1Pgk.js +0 -19
- package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-CEa-FVXk.js +0 -567
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-DL400CnR.js +0 -17
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-BEXyKZie.js +0 -240
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-DeMmrEze.js +0 -11
- package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-B15qFvG8.js +0 -56
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-SHYbDgkT.js +0 -11
- package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-CzKBcuKb.js +0 -15
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-E1D97bN3.js +0 -18
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-BRfAhgMm.js +0 -1440
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-QVWV3i7U.js +0 -36
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-CljLpMWM.js +0 -123
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BuP6zTpe.js +0 -24
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-Dz9szXug.js +0 -11
- package/build/server/chunks/handler-ByDIse8C.js +0 -1474
- package/build/server/chunks/index.js-CXZmR6O7.js +0 -4296
- package/build/server/chunks/manifest.js-BEqSl-cy.js +0 -1072
- package/build/server/chunks/nodes/0.js-oiyIe2Vu.js +0 -69
- package/build/server/chunks/nodes/1.js-DlwrZ6Gg.js +0 -9
- package/build/server/chunks/nodes/10.js-Dlzo0ARt.js +0 -67
- package/build/server/chunks/nodes/11.js-3CIngrBx.js +0 -69
- package/build/server/chunks/nodes/12.js-C8vukjNr.js +0 -68
- package/build/server/chunks/nodes/13.js-CYNh5gyT.js +0 -69
- package/build/server/chunks/nodes/14.js-CPXLSzbY.js +0 -12
- package/build/server/chunks/nodes/15.js-Dub7hTqq.js +0 -9
- package/build/server/chunks/nodes/16.js-C8nNbyYd.js +0 -9
- package/build/server/chunks/nodes/17.js-BV9nzy9p.js +0 -67
- package/build/server/chunks/nodes/18.js-l6eMrcJq.js +0 -70
- package/build/server/chunks/nodes/19.js-Wi8bHCfi.js +0 -68
- package/build/server/chunks/nodes/2.js-CDl0JhLt.js +0 -67
- package/build/server/chunks/nodes/20.js-DjoTMz45.js +0 -69
- package/build/server/chunks/nodes/21.js-Bj9mM2_M.js +0 -68
- package/build/server/chunks/nodes/22.js-Dhl6iImC.js +0 -69
- package/build/server/chunks/nodes/23.js-C3oPquuF.js +0 -69
- package/build/server/chunks/nodes/24.js-BzUVjKqb.js +0 -25
- package/build/server/chunks/nodes/25.js-DQBLyNC9.js +0 -25
- package/build/server/chunks/nodes/26.js-BkuS7LnV.js +0 -9
- package/build/server/chunks/nodes/27.js-CnXwkd_G.js +0 -25
- package/build/server/chunks/nodes/28.js-DBwFh5nf.js +0 -67
- package/build/server/chunks/nodes/29.js-De22JWeb.js +0 -18
- package/build/server/chunks/nodes/3.js-Dc9ECm3T.js +0 -9
- package/build/server/chunks/nodes/30.js-CEObWsJv.js +0 -68
- package/build/server/chunks/nodes/31.js-BE92hqSd.js +0 -67
- package/build/server/chunks/nodes/32.js-1J1C3YKQ.js +0 -25
- package/build/server/chunks/nodes/33.js-DsCRGOrj.js +0 -67
- package/build/server/chunks/nodes/34.js-DznjwRsZ.js +0 -25
- package/build/server/chunks/nodes/35.js-DVmm0h3k.js +0 -22
- package/build/server/chunks/nodes/36.js-D-jkGXqd.js +0 -67
- package/build/server/chunks/nodes/37.js-D8TsyiY7.js +0 -67
- package/build/server/chunks/nodes/38.js-0rjQArMO.js +0 -70
- package/build/server/chunks/nodes/39.js-BXRs_NOY.js +0 -69
- package/build/server/chunks/nodes/4.js-_XSa1lFT.js +0 -68
- package/build/server/chunks/nodes/40.js-D9FdftYM.js +0 -26
- package/build/server/chunks/nodes/41.js-BjHXYkkm.js +0 -69
- package/build/server/chunks/nodes/42.js-BDjOwoHJ.js +0 -71
- package/build/server/chunks/nodes/43.js-DJMUtY54.js +0 -68
- package/build/server/chunks/nodes/44.js-OHSz1t4g.js +0 -68
- package/build/server/chunks/nodes/45.js-BnUFTyTY.js +0 -67
- package/build/server/chunks/nodes/5.js-CvDgAWWx.js +0 -67
- package/build/server/chunks/nodes/6.js-VgQEx5Yj.js +0 -67
- package/build/server/chunks/nodes/8.js-1QlESYMi.js +0 -67
- package/build/server/chunks/nodes/9.js-BIhukgpQ.js +0 -14
|
@@ -0,0 +1,4593 @@
|
|
|
1
|
+
import { ap as head, am as attr_class, _ as derived, al as attr, an as stringify, ak as escape_html, ab as clsx, a5 as ensure_array_like, a9 as spread_props, ac as bind_props, a4 as attributes } from '../../chunks/index.js-BEO9kLnZ.js';
|
|
2
|
+
import { p as page } from '../../chunks/index2.js-Ne9LsnQj.js';
|
|
3
|
+
import { l as live, c as currentFleet, d as currentMessages, b as currentHealth } from '../../chunks/live.svelte.js-C8z7spp_.js';
|
|
4
|
+
import { s as slots } from '../../chunks/slots.svelte.js-CizfW0L7.js';
|
|
5
|
+
import { s as slotKey } from '../../chunks/keys.js-iHygUPeb.js';
|
|
6
|
+
import { h as harbour } from '../../chunks/harbour.js-D3N7u1_p.js';
|
|
7
|
+
import { d as documents } from '../../chunks/documents.svelte.js-DR6809Qc.js';
|
|
8
|
+
import { D as DocChip } from '../../chunks/DocChip.js-DfdNZF3o.js';
|
|
9
|
+
import { p as parseAttachments, k as kindLabel, f as fileSize, a as UPLOAD_MAX_BYTES, t as thumbUrl, i as isImage, b as pastedName, N as NAME_HEADER, T as TYPE_HEADER } from '../../chunks/attachments.js-BAnnqpd-.js';
|
|
10
|
+
import { l as liveCall, L as LiveDocPicker, P as Paperclip, p as parseReply$1 } from '../../chunks/LiveDocPicker.js-BRaqXaw3.js';
|
|
11
|
+
import { B as BROWSER } from '../../chunks/settings3.js-BlZbXkzQ.js';
|
|
12
|
+
import { A as Audio_lines, D as DecisionForm, a as DecisionRecords, b as DecisionLinks, c as answerWith, d as DecisionDetails } from '../../chunks/DecisionForm.js-CYnStAPe.js';
|
|
13
|
+
import { I as Icon } from '../../chunks/Icon.js-DI_o6niz.js';
|
|
14
|
+
import { F as File_text } from '../../chunks/file-text.js-9raR2ehk.js';
|
|
15
|
+
import { A as Arrow_up } from '../../chunks/arrow-up.js-D4LAvjFg.js';
|
|
16
|
+
import { S as Send, M as Mic } from '../../chunks/livereview.svelte.js-mlSJ12oO.js';
|
|
17
|
+
import { m as markdown } from '../../chunks/markdown.js-C9jo262f.js';
|
|
18
|
+
import { d as dotClass, a as tone, t as textClass } from '../../chunks/tone.js-cUJxBZik.js';
|
|
19
|
+
import { a as ago } from '../../chunks/format.js-LmAzIWOy.js';
|
|
20
|
+
import { C as Compass, p as pullRequests } from '../../chunks/pullrequests.js-CUPCHmas.js';
|
|
21
|
+
import { p as previewChecks, u as urlKey } from '../../chunks/previewchecks.svelte.js-D-8DKXTI.js';
|
|
22
|
+
import { L as Layout_dashboard, a as PreviewActions, r as reviewSurface, M as MicButton, e as editableTarget, S as Square, P as PreviewWindow } from '../../chunks/PreviewWindow.js-kaKVEfw0.js';
|
|
23
|
+
import { M as Monitor_off, L as LivePreview } from '../../chunks/LivePreview.js-BciwB-ic.js';
|
|
24
|
+
import { R as ResizableRail, G as Git_merge } from '../../chunks/ResizableRail.js-6RNB63jw.js';
|
|
25
|
+
import { M as Monitor_play } from '../../chunks/monitor-play.js-CilOLGxR.js';
|
|
26
|
+
import { G as Git_pull_request } from '../../chunks/git-pull-request.js-CArdf4C9.js';
|
|
27
|
+
import { M as Maximize_2 } from '../../chunks/maximize-2.js-B3tsnHT1.js';
|
|
28
|
+
import { E as External_link } from '../../chunks/external-link.js-CtPy946p.js';
|
|
29
|
+
import { C as Circle_x } from '../../chunks/circle-x.js-BVQ2Ed1q.js';
|
|
30
|
+
import { C as Circle_dashed } from '../../chunks/circle-dashed.js-B2k7eTI1.js';
|
|
31
|
+
import { C as Circle_check } from '../../chunks/circle-check.js-N1bzCX8s.js';
|
|
32
|
+
import { i as inbox } from '../../chunks/decisionhome.js-NtAaP-do.js';
|
|
33
|
+
import { i as escalated, A as cardContext, g as choiceLabel, c as cardHref, z as cardTaskHref, k as callName } from '../../chunks/inbox.js-BnfWj0SF.js';
|
|
34
|
+
import { C as Check } from '../../chunks/check.js-DfF_V9Zc.js';
|
|
35
|
+
import { A as Arrow_right } from '../../chunks/arrow-right.js--KpODuNy.js';
|
|
36
|
+
import { L as Loader_circle } from '../../chunks/loader-circle.js-CMRY-v5_.js';
|
|
37
|
+
import { T as Trash } from '../../chunks/trash.js-Bgv8qBUv.js';
|
|
38
|
+
import { A as Arrow_up_right } from '../../chunks/arrow-up-right.js-zxMccGp5.js';
|
|
39
|
+
import { X } from '../../chunks/x.js-D5afbRfp.js';
|
|
40
|
+
import { C as Chevron_right } from '../../chunks/chevron-right.js-DJz6vAQ4.js';
|
|
41
|
+
import { h as html } from '../../chunks/html.js-FW6Ia4bL.js';
|
|
42
|
+
import { L as Lightbox } from '../../chunks/Lightbox.js-DAo2hGg7.js';
|
|
43
|
+
import { f as formIn, a as formIdIn, c as cardForm, d as decidedLabel, w as withoutForm, D as DECIDED_MAX } from '../../chunks/decisionform2.js-DIpyPKWn.js';
|
|
44
|
+
import { U as UNSORTED, j as parseReply, k as parseThread, l as UNSORTED_TAG, p as pins, t as topicName, n as foldRuns, o as tagChat, q as quotes, r as parseRefs, u as chipLabel, v as parseMarkers, w as cardTag, S as Sheet, x as threadRows, y as previewCards, P as Popover, z as snippetOf, a as Popover_trigger, b as Popover_content } from '../../chunks/Sheet.js-D6ufSQ7B.js';
|
|
45
|
+
import { d as duration } from '../../chunks/fold.js-BNM4Ug44.js';
|
|
46
|
+
import { S as SECRET_NAME, P as PROJECT_ID, a as andList } from '../../chunks/vault.js-giGoLNSu.js';
|
|
47
|
+
import { f as firstmateChat, p as pendingLabel } from '../../chunks/chat.svelte.js-S86rNJiC.js';
|
|
48
|
+
import { h as hue, p as projectLabels, a as aliases } from '../../chunks/aliases.svelte.js-DxJWmXNf.js';
|
|
49
|
+
import { S as SESSION_HEADER } from '../../chunks/messages.js-CFyGKoqq.js';
|
|
50
|
+
import { H as HARNESS_NAMES } from '../../chunks/harness.js-DvhIhjw1.js';
|
|
51
|
+
import { t as terminalWait } from '../../chunks/bell.js-DE12yiXu.js';
|
|
52
|
+
import { m as matchBridgeCards } from '../../chunks/blocks.js-DuedYFvd.js';
|
|
53
|
+
import { B as Blocks, A as AppFrame } from '../../chunks/SlotContent.js-C_ho7NCE.js';
|
|
54
|
+
import { L as LinkedText } from '../../chunks/LinkedText.js-Bo4Ephdr.js';
|
|
55
|
+
import { A as Activity } from '../../chunks/Activity.js-BBPabTRg.js';
|
|
56
|
+
import { c as chatAboutHref } from '../../chunks/handled.js-CpIraGco.js';
|
|
57
|
+
import { M as Message_circle_question_mark, a as Messages_square } from '../../chunks/messages-square.js-BKBSAzsb.js';
|
|
58
|
+
import { H as Hand } from '../../chunks/hand.js-CDBR5wgQ.js';
|
|
59
|
+
import { R as Refresh_cw } from '../../chunks/refresh-cw.js-BR6Dl4e3.js';
|
|
60
|
+
import { M as Message_square } from '../../chunks/message-square.js-Ca6iGOwf.js';
|
|
61
|
+
import { R as Rotate_cw } from '../../chunks/rotate-cw.js-Bbi3Npjz.js';
|
|
62
|
+
import { p as parseBatch } from '../../chunks/previewhelper.js-9SVj0b-s.js';
|
|
63
|
+
import { P as Puzzle } from '../../chunks/puzzle.js-DJvq75RL.js';
|
|
64
|
+
import { C as Circle_alert } from '../../chunks/circle-alert.js-BV4qQ79A.js';
|
|
65
|
+
import '../../chunks/state.svelte.js-CkSbGNMZ.js';
|
|
66
|
+
import '../../chunks/exports.js-BZBK1HC9.js';
|
|
67
|
+
import '../../chunks/utils2.js-BQzn9ikS.js';
|
|
68
|
+
import '../../chunks/utils.js-BJgm9WbO.js';
|
|
69
|
+
import '../../chunks/root.js-DnHbjfVr.js';
|
|
70
|
+
import { P as Plus } from '../../chunks/plus.js-B9zHcZty.js';
|
|
71
|
+
import { K as Key_round } from '../../chunks/key-round.js-BvP9yTch.js';
|
|
72
|
+
import { S as Square_terminal } from '../../chunks/square-terminal.js-BsoQQJOB.js';
|
|
73
|
+
import { C as Copy } from '../../chunks/copy.js-CPNPmC4T.js';
|
|
74
|
+
import '../../chunks/button.js-Cv3ubKJP.js';
|
|
75
|
+
import { p as phone } from '../../chunks/phone.svelte.js-BsUYnOhc.js';
|
|
76
|
+
import { P as Portal } from '../../chunks/dialog-content.js-C-Kzq-Z7.js';
|
|
77
|
+
import { C as Chevron_down } from '../../chunks/chevron-down.js-CT6xg--L.js';
|
|
78
|
+
import { V as VaultAdd } from '../../chunks/VaultAdd.js-Dh0XKY-s.js';
|
|
79
|
+
import { S as Search } from '../../chunks/search.js-Zpb2PGbv.js';
|
|
80
|
+
import { B as Bell } from '../../chunks/bell2.js-BWD7bmoe.js';
|
|
81
|
+
import { T as Thumbs_up } from '../../chunks/thumbs-up.js-zrropMVk.js';
|
|
82
|
+
import { R as Rail, r as railInsights } from '../../chunks/insights.svelte.js-BYvubLfb.js';
|
|
83
|
+
import { g as goto } from '../../chunks/client.js-Swm9KOkD.js';
|
|
84
|
+
import '../../chunks/stream.js-DaErQujC.js';
|
|
85
|
+
import '../../chunks/documents.js-B-rfcLt0.js';
|
|
86
|
+
import '../../chunks/package-check.js-C0dwhtzK.js';
|
|
87
|
+
import '../../chunks/book-open.js-DlNEJ493.js';
|
|
88
|
+
import '../../chunks/dialog-close.js-CMVFkNiq.js';
|
|
89
|
+
import '../../chunks/dialog.js-DrBgN31d.js';
|
|
90
|
+
import '../../chunks/utils3.js-CjRVjhD-.js';
|
|
91
|
+
import '../../chunks/engine.js-BfSj7Hk8.js';
|
|
92
|
+
import '../../chunks/scout.js-BWq3ETYy.js';
|
|
93
|
+
import '../../chunks/decisiondrafts.svelte.js-Y8YES4Ml.js';
|
|
94
|
+
import '../../chunks/list.js-CKo8sCqs.js';
|
|
95
|
+
import '../../chunks/docpath.js-C7d4_Ldm.js';
|
|
96
|
+
import '../../chunks/pen-line.js-CjnlD61A.js';
|
|
97
|
+
import '../../chunks/mouse-pointer-click.js-D4xkz5Sp.js';
|
|
98
|
+
import '../../chunks/cloud.js-CaK8Kzsg.js';
|
|
99
|
+
import '../../chunks/hosted.js-BV46NEd8.js';
|
|
100
|
+
import '../../chunks/addresses.js-DgKnCLvZ.js';
|
|
101
|
+
import '../../chunks/preview.js-CbgkVvT_.js';
|
|
102
|
+
import '../../chunks/urls.js-CM6aklCF.js';
|
|
103
|
+
import '../../chunks/pullrequests2.js-CCzk2sqm.js';
|
|
104
|
+
import '../../chunks/index-server2.js-BGUiJh_L.js';
|
|
105
|
+
import '../../chunks/PluginElement.js-CTV6ALOe.js';
|
|
106
|
+
import '../../chunks/cloud2.js-BZu9cK95.js';
|
|
107
|
+
import '../../chunks/chevron-left.js-DPtlmw2O.js';
|
|
108
|
+
import '../../chunks/index-server.js-Pk0DPLOC.js';
|
|
109
|
+
import '../../chunks/previewnote.js-DB6VK2fp.js';
|
|
110
|
+
import '../../chunks/views.js-8PiJAcXG.js';
|
|
111
|
+
import '../../chunks/eye.js-65-hbGx2.js';
|
|
112
|
+
import '../../chunks/lock.js-DKnBruSq.js';
|
|
113
|
+
import '../../chunks/circle-question-mark.js-DJy2XDn9.js';
|
|
114
|
+
import '../../chunks/matelink.js-D9ilVdpZ.js';
|
|
115
|
+
import '../../chunks/insights.js-D2D9kicC.js';
|
|
116
|
+
import '../../chunks/ondeck.js-fIa0X29e.js';
|
|
117
|
+
import '../../chunks/checks.js-vJmNWOsr.js';
|
|
118
|
+
import '../../chunks/TimeBar.js-epyzPf8k.js';
|
|
119
|
+
import '../../chunks/MateHealthPill.js-BbZdZaO7.js';
|
|
120
|
+
import '../../chunks/EtaLine.js-sj9VjtDa.js';
|
|
121
|
+
import '../../chunks/clock.js-R-2X90wz.js';
|
|
122
|
+
import '../../chunks/ChecksStrip.js-CzTaTAYR.js';
|
|
123
|
+
import '../../chunks/WhereBadge.js-D9GezA27.js';
|
|
124
|
+
import '../../chunks/ship.js-DX0_DKCK.js';
|
|
125
|
+
import '../../chunks/StateIcon.js-DUvSDhWL.js';
|
|
126
|
+
import '../../chunks/DecisionsBadge.js-CrjpeyMZ.js';
|
|
127
|
+
import '../../chunks/anchor.js-B7JEbbq6.js';
|
|
128
|
+
import '../../chunks/scale.js-zKsTaqRd.js';
|
|
129
|
+
import '../../chunks/console.js-BV5qkqBU.js';
|
|
130
|
+
|
|
131
|
+
function App_window($$renderer, $$props) {
|
|
132
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
133
|
+
const iconData = {
|
|
134
|
+
"name": "app-window",
|
|
135
|
+
"size": 24,
|
|
136
|
+
"node": [
|
|
137
|
+
[
|
|
138
|
+
"rect",
|
|
139
|
+
{ "x": "2", "y": "4", "width": "20", "height": "16", "rx": "2" }
|
|
140
|
+
],
|
|
141
|
+
["path", { "d": "M10 4v4" }],
|
|
142
|
+
["path", { "d": "M2 8h20" }],
|
|
143
|
+
["path", { "d": "M6 4v4" }]
|
|
144
|
+
]
|
|
145
|
+
};
|
|
146
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
147
|
+
}
|
|
148
|
+
function Arrow_left_right($$renderer, $$props) {
|
|
149
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
150
|
+
const iconData = {
|
|
151
|
+
"name": "arrow-left-right",
|
|
152
|
+
"size": 24,
|
|
153
|
+
"node": [
|
|
154
|
+
["path", { "d": "M8 3 4 7l4 4" }],
|
|
155
|
+
["path", { "d": "M4 7h16" }],
|
|
156
|
+
["path", { "d": "m16 21 4-4-4-4" }],
|
|
157
|
+
["path", { "d": "M20 17H4" }]
|
|
158
|
+
]
|
|
159
|
+
};
|
|
160
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
161
|
+
}
|
|
162
|
+
function Chart_column($$renderer, $$props) {
|
|
163
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
164
|
+
const iconData = {
|
|
165
|
+
"name": "chart-column",
|
|
166
|
+
"size": 24,
|
|
167
|
+
"node": [
|
|
168
|
+
["path", { "d": "M3 3v16a2 2 0 0 0 2 2h16" }],
|
|
169
|
+
["path", { "d": "M18 17V9" }],
|
|
170
|
+
["path", { "d": "M13 17V5" }],
|
|
171
|
+
["path", { "d": "M8 17v-3" }]
|
|
172
|
+
],
|
|
173
|
+
"aliases": ["bar-chart-3"]
|
|
174
|
+
};
|
|
175
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
176
|
+
}
|
|
177
|
+
function Eraser($$renderer, $$props) {
|
|
178
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
179
|
+
const iconData = {
|
|
180
|
+
"name": "eraser",
|
|
181
|
+
"size": 24,
|
|
182
|
+
"node": [
|
|
183
|
+
[
|
|
184
|
+
"path",
|
|
185
|
+
{
|
|
186
|
+
"d": "M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
["path", { "d": "m5.082 11.09 8.828 8.828" }]
|
|
190
|
+
]
|
|
191
|
+
};
|
|
192
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
193
|
+
}
|
|
194
|
+
function File_plus($$renderer, $$props) {
|
|
195
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
196
|
+
const iconData = {
|
|
197
|
+
"name": "file-plus",
|
|
198
|
+
"size": 24,
|
|
199
|
+
"node": [
|
|
200
|
+
[
|
|
201
|
+
"path",
|
|
202
|
+
{
|
|
203
|
+
"d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }],
|
|
207
|
+
["path", { "d": "M9 15h6" }],
|
|
208
|
+
["path", { "d": "M12 18v-6" }]
|
|
209
|
+
]
|
|
210
|
+
};
|
|
211
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
212
|
+
}
|
|
213
|
+
function Image($$renderer, $$props) {
|
|
214
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
215
|
+
const iconData = {
|
|
216
|
+
"name": "image",
|
|
217
|
+
"size": 24,
|
|
218
|
+
"node": [
|
|
219
|
+
[
|
|
220
|
+
"rect",
|
|
221
|
+
{
|
|
222
|
+
"width": "18",
|
|
223
|
+
"height": "18",
|
|
224
|
+
"x": "3",
|
|
225
|
+
"y": "3",
|
|
226
|
+
"rx": "2",
|
|
227
|
+
"ry": "2"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
["circle", { "cx": "9", "cy": "9", "r": "2" }],
|
|
231
|
+
["path", { "d": "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }]
|
|
232
|
+
]
|
|
233
|
+
};
|
|
234
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
235
|
+
}
|
|
236
|
+
function Log_out($$renderer, $$props) {
|
|
237
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
238
|
+
const iconData = {
|
|
239
|
+
"name": "log-out",
|
|
240
|
+
"size": 24,
|
|
241
|
+
"node": [
|
|
242
|
+
["path", { "d": "m16 17 5-5-5-5" }],
|
|
243
|
+
["path", { "d": "M21 12H9" }],
|
|
244
|
+
["path", { "d": "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }]
|
|
245
|
+
]
|
|
246
|
+
};
|
|
247
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
248
|
+
}
|
|
249
|
+
function Mic_off($$renderer, $$props) {
|
|
250
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
251
|
+
const iconData = {
|
|
252
|
+
"name": "mic-off",
|
|
253
|
+
"size": 24,
|
|
254
|
+
"node": [
|
|
255
|
+
["path", { "d": "M12 19v3" }],
|
|
256
|
+
["path", { "d": "M15 9.34V5a3 3 0 0 0-5.68-1.33" }],
|
|
257
|
+
["path", { "d": "M16.95 16.95A7 7 0 0 1 5 12v-2" }],
|
|
258
|
+
["path", { "d": "M18.89 13.23A7 7 0 0 0 19 12v-2" }],
|
|
259
|
+
["path", { "d": "m2 2 20 20" }],
|
|
260
|
+
["path", { "d": "M9 9v3a3 3 0 0 0 5.12 2.12" }]
|
|
261
|
+
]
|
|
262
|
+
};
|
|
263
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
264
|
+
}
|
|
265
|
+
function Panel_left($$renderer, $$props) {
|
|
266
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
267
|
+
const iconData = {
|
|
268
|
+
"name": "panel-left",
|
|
269
|
+
"size": 24,
|
|
270
|
+
"node": [
|
|
271
|
+
[
|
|
272
|
+
"rect",
|
|
273
|
+
{ "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }
|
|
274
|
+
],
|
|
275
|
+
["path", { "d": "M9 3v18" }]
|
|
276
|
+
],
|
|
277
|
+
"aliases": ["sidebar"]
|
|
278
|
+
};
|
|
279
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
280
|
+
}
|
|
281
|
+
function Panel_right($$renderer, $$props) {
|
|
282
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
283
|
+
const iconData = {
|
|
284
|
+
"name": "panel-right",
|
|
285
|
+
"size": 24,
|
|
286
|
+
"node": [
|
|
287
|
+
[
|
|
288
|
+
"rect",
|
|
289
|
+
{ "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }
|
|
290
|
+
],
|
|
291
|
+
["path", { "d": "M15 3v18" }]
|
|
292
|
+
]
|
|
293
|
+
};
|
|
294
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
295
|
+
}
|
|
296
|
+
function Reply($$renderer, $$props) {
|
|
297
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
298
|
+
const iconData = {
|
|
299
|
+
"name": "reply",
|
|
300
|
+
"size": 24,
|
|
301
|
+
"node": [
|
|
302
|
+
["path", { "d": "M20 18v-2a4 4 0 0 0-4-4H4" }],
|
|
303
|
+
["path", { "d": "m9 17-5-5 5-5" }]
|
|
304
|
+
]
|
|
305
|
+
};
|
|
306
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
307
|
+
}
|
|
308
|
+
function Sliders_horizontal($$renderer, $$props) {
|
|
309
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
310
|
+
const iconData = {
|
|
311
|
+
"name": "sliders-horizontal",
|
|
312
|
+
"size": 24,
|
|
313
|
+
"node": [
|
|
314
|
+
["path", { "d": "M10 5H3" }],
|
|
315
|
+
["path", { "d": "M12 19H3" }],
|
|
316
|
+
["path", { "d": "M14 3v4" }],
|
|
317
|
+
["path", { "d": "M16 17v4" }],
|
|
318
|
+
["path", { "d": "M21 12h-9" }],
|
|
319
|
+
["path", { "d": "M21 19h-5" }],
|
|
320
|
+
["path", { "d": "M21 5h-7" }],
|
|
321
|
+
["path", { "d": "M8 10v4" }],
|
|
322
|
+
["path", { "d": "M8 12H3" }]
|
|
323
|
+
]
|
|
324
|
+
};
|
|
325
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
326
|
+
}
|
|
327
|
+
function Telescope($$renderer, $$props) {
|
|
328
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
329
|
+
const iconData = {
|
|
330
|
+
"name": "telescope",
|
|
331
|
+
"size": 24,
|
|
332
|
+
"node": [
|
|
333
|
+
[
|
|
334
|
+
"path",
|
|
335
|
+
{
|
|
336
|
+
"d": "m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
["path", { "d": "m13.56 11.747 4.332-.924" }],
|
|
340
|
+
["path", { "d": "m16 21-3.105-6.21" }],
|
|
341
|
+
[
|
|
342
|
+
"path",
|
|
343
|
+
{
|
|
344
|
+
"d": "M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z"
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
["path", { "d": "m6.158 8.633 1.114 4.456" }],
|
|
348
|
+
["path", { "d": "m8 21 3.105-6.21" }],
|
|
349
|
+
["circle", { "cx": "12", "cy": "13", "r": "2" }]
|
|
350
|
+
]
|
|
351
|
+
};
|
|
352
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
353
|
+
}
|
|
354
|
+
function Undo_2($$renderer, $$props) {
|
|
355
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
356
|
+
const iconData = {
|
|
357
|
+
"name": "undo-2",
|
|
358
|
+
"size": 24,
|
|
359
|
+
"node": [
|
|
360
|
+
["path", { "d": "M9 14 4 9l5-5" }],
|
|
361
|
+
[
|
|
362
|
+
"path",
|
|
363
|
+
{
|
|
364
|
+
"d": "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11"
|
|
365
|
+
}
|
|
366
|
+
]
|
|
367
|
+
]
|
|
368
|
+
};
|
|
369
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
370
|
+
}
|
|
371
|
+
function Workflow($$renderer, $$props) {
|
|
372
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
373
|
+
const iconData = {
|
|
374
|
+
"name": "workflow",
|
|
375
|
+
"size": 24,
|
|
376
|
+
"node": [
|
|
377
|
+
[
|
|
378
|
+
"rect",
|
|
379
|
+
{ "width": "8", "height": "8", "x": "3", "y": "3", "rx": "2" }
|
|
380
|
+
],
|
|
381
|
+
["path", { "d": "M7 11v4a2 2 0 0 0 2 2h4" }],
|
|
382
|
+
[
|
|
383
|
+
"rect",
|
|
384
|
+
{ "width": "8", "height": "8", "x": "13", "y": "13", "rx": "2" }
|
|
385
|
+
]
|
|
386
|
+
]
|
|
387
|
+
};
|
|
388
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
389
|
+
}
|
|
390
|
+
function DocChips($$renderer, $$props) {
|
|
391
|
+
$$renderer.component(($$renderer2) => {
|
|
392
|
+
let { text, max = 4 } = $$props;
|
|
393
|
+
const docs = derived(() => text ? documents.mentioned(text).slice(0, max) : []);
|
|
394
|
+
if (docs().length) {
|
|
395
|
+
$$renderer2.push(`<!--[0--><div class="mt-2 grid w-full max-w-[min(100%,40rem)] gap-1.5" data-doc-chips=""><!--[-->`);
|
|
396
|
+
const each_array = ensure_array_like(docs());
|
|
397
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
398
|
+
let d = each_array[$$index];
|
|
399
|
+
DocChip($$renderer2, { doc: d });
|
|
400
|
+
}
|
|
401
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
402
|
+
} else {
|
|
403
|
+
$$renderer2.push("<!--[-1-->");
|
|
404
|
+
}
|
|
405
|
+
$$renderer2.push(`<!--]-->`);
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
function LiveBar($$renderer, $$props) {
|
|
409
|
+
$$renderer.component(($$renderer2) => {
|
|
410
|
+
let open = false;
|
|
411
|
+
let clock = "00:00";
|
|
412
|
+
const waiting = derived(() => liveCall.waitingHandoffs);
|
|
413
|
+
const ptt = derived(() => liveCall.prefs.input === "ptt");
|
|
414
|
+
const LINES = {
|
|
415
|
+
off: "",
|
|
416
|
+
starting: "Briefing the crew on the fleet…",
|
|
417
|
+
ready: "Your turn",
|
|
418
|
+
listening: "Listening · talk any time",
|
|
419
|
+
muted: "Microphone off · type, or press M",
|
|
420
|
+
hearing: "Hearing you",
|
|
421
|
+
transcribing: "Transcribing what you said…",
|
|
422
|
+
thinking: "Thinking",
|
|
423
|
+
speaking: "Speaking",
|
|
424
|
+
ending: "Ending…"
|
|
425
|
+
};
|
|
426
|
+
const line = derived(() => liveCall.state === "ending" && liveCall.briefing ? "Writing the Captain’s briefing…" : LINES[liveCall.state]);
|
|
427
|
+
const hint = derived(() => liveCall.state === "ready" ? " · hold Space for 2 s to talk" : liveCall.state === "hearing" ? ptt() ? ` · let go${" of Space"} to send` : " · pause when you are done" : liveCall.state === "thinking" || liveCall.state === "speaking" ? ptt() ? ` · hold${" Space"} to cut in` : " · talk to cut in" : "");
|
|
428
|
+
const voiceName = derived(() => {
|
|
429
|
+
const v = liveCall.voice;
|
|
430
|
+
if (!v || v.effective.speak === BROWSER) return "Browser voice";
|
|
431
|
+
const p = v.providers.find((x) => x.id === v.effective.speak);
|
|
432
|
+
return `${p?.voices.find((x) => x.id === v.effective.voice)?.name ?? p?.voices[0]?.name ?? ""} · ${p?.label ?? ""}`;
|
|
433
|
+
});
|
|
434
|
+
$$renderer2.push(`<div class="flex items-center gap-3 border-b border-sea/25 bg-sea/5 px-4 py-2 sm:px-6 lg:px-10" data-live-bar=""><span class="flex size-8 shrink-0 items-center justify-center rounded-full border-[1.5px] border-brass bg-sea/10 text-sea">`);
|
|
435
|
+
Audio_lines($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
436
|
+
$$renderer2.push(`<!----></span> <div class="min-w-0 flex-1"><p class="flex items-baseline gap-2 text-sm whitespace-nowrap"><b class="font-semibold">Discussion crew</b> <span class="font-mono text-xs text-muted-foreground tabular-nums">${escape_html(
|
|
437
|
+
// The meter: fixed bars, eased toward the level, so nothing on the page moves but the bars.
|
|
438
|
+
// A click that swapped the menu's own contents leaves its target detached: still inside.
|
|
439
|
+
clock
|
|
440
|
+
)}</span> <span class="hidden truncate text-xs text-muted-foreground sm:inline">${escape_html(voiceName())}</span></p> <p class="h-[1.15rem] truncate text-xs text-muted-foreground" role="status"><b class="font-semibold text-sea">${escape_html(line())}</b>${escape_html(hint())}</p></div> <canvas width="184" height="52" class="h-[22px] w-[56px] shrink-0 sm:h-[26px] sm:w-[92px]" aria-hidden="true"></canvas> <div class="relative" data-live-settings=""><button class="flex size-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Live mode settings"${attr("aria-expanded", open)}>`);
|
|
441
|
+
Sliders_horizontal($$renderer2, { class: "size-4" });
|
|
442
|
+
$$renderer2.push(`<!----></button> `);
|
|
443
|
+
{
|
|
444
|
+
$$renderer2.push("<!--[-1-->");
|
|
445
|
+
}
|
|
446
|
+
$$renderer2.push(`<!--]--></div> <div class="relative" data-live-end=""><button${attr_class(`h-8 shrink-0 cursor-pointer rounded-md border border-danger/50 px-3 text-sm font-medium text-danger hover:bg-danger/10 disabled:opacity-50 ${liveCall.choosingEnd ? "bg-danger/10" : ""}`)}${attr("aria-expanded", liveCall.choosingEnd)} aria-haspopup="menu"${attr("disabled", liveCall.state === "ending" || liveCall.state === "starting", true)}>End</button> `);
|
|
447
|
+
if (liveCall.choosingEnd) {
|
|
448
|
+
$$renderer2.push(`<!--[0--><div class="absolute top-full right-0 z-30 mt-2 w-[min(19rem,calc(100vw-2rem))] overflow-hidden rounded-xl border bg-popover text-sm shadow-lg" role="menu" aria-label="End the discussion" data-live-end-choice=""><p class="border-b px-4 py-2 text-xs font-medium tracking-wider text-muted-foreground uppercase">End the discussion</p> <button class="flex w-full cursor-pointer items-start gap-3 px-4 py-3 text-left hover:bg-muted" role="menuitem">`);
|
|
449
|
+
File_text($$renderer2, {
|
|
450
|
+
class: "mt-0.5 size-4 shrink-0 text-sea",
|
|
451
|
+
"aria-hidden": "true"
|
|
452
|
+
});
|
|
453
|
+
$$renderer2.push(`<!----> <span><b class="block font-semibold">End with a briefing</b> <span class="block text-xs leading-snug text-muted-foreground">The crew writes a Captain’s briefing for you to send to Firstmate${escape_html(waiting() ? `, with ${waiting()} waiting hand-off${waiting() === 1 ? "" : "s"}` : "")}.</span></span></button> `);
|
|
454
|
+
{
|
|
455
|
+
$$renderer2.push(`<!--[-1--><button class="flex w-full cursor-pointer items-start gap-3 border-t px-4 py-3 text-left hover:bg-muted" role="menuitem">`);
|
|
456
|
+
Log_out($$renderer2, {
|
|
457
|
+
class: "mt-0.5 size-4 shrink-0 text-muted-foreground",
|
|
458
|
+
"aria-hidden": "true"
|
|
459
|
+
});
|
|
460
|
+
$$renderer2.push(`<!----> <span><b class="block font-semibold">Just quit</b> <span class="block text-xs leading-snug text-muted-foreground">End now. No briefing; Firstmate hears nothing of it${escape_html(waiting() ? `, and ${waiting()} waiting hand-off${waiting() === 1 ? " is" : "s are"} discarded` : "")}.</span></span></button>`);
|
|
461
|
+
}
|
|
462
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
463
|
+
} else {
|
|
464
|
+
$$renderer2.push("<!--[-1-->");
|
|
465
|
+
}
|
|
466
|
+
$$renderer2.push(`<!--]--></div></div> <dialog class="m-auto w-[min(56rem,92vw)] rounded-xl border bg-popover p-0 text-foreground backdrop:bg-black/60"><div class="flex items-center border-b px-4 py-3 text-sm"><b class="font-semibold">What the discussion crew was told</b> <button class="ml-auto cursor-pointer text-muted-foreground hover:text-foreground">Close</button></div> <pre class="max-h-[70vh] overflow-auto p-4 font-mono text-xs whitespace-pre-wrap">${escape_html(liveCall.context)}</pre></dialog>`);
|
|
467
|
+
});
|
|
468
|
+
}
|
|
469
|
+
function muteButton($$renderer, big) {
|
|
470
|
+
$$renderer.push(`<button${attr_class(`inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 rounded-full border font-semibold ${"h-9 px-3.5 text-sm"} ${liveCall.state === "muted" ? "border-danger/55 bg-danger/10 text-danger" : "border-teal/55 bg-teal/10 text-teal"}`)}${attr("aria-label", liveCall.state === "muted" ? "Unmute" : "Mute")}>`);
|
|
471
|
+
if (liveCall.state === "muted") {
|
|
472
|
+
$$renderer.push("<!--[0-->");
|
|
473
|
+
Mic_off($$renderer, { class: "size-4", "aria-hidden": "true" });
|
|
474
|
+
$$renderer.push(`<!---->Muted`);
|
|
475
|
+
} else {
|
|
476
|
+
$$renderer.push("<!--[-1-->");
|
|
477
|
+
Mic($$renderer, { class: "size-4", "aria-hidden": "true" });
|
|
478
|
+
$$renderer.push(`<!---->Listening`);
|
|
479
|
+
}
|
|
480
|
+
$$renderer.push(`<!--]--></button>`);
|
|
481
|
+
}
|
|
482
|
+
function LiveComposer($$renderer, $$props) {
|
|
483
|
+
$$renderer.component(($$renderer2) => {
|
|
484
|
+
let text = "";
|
|
485
|
+
let picking = false;
|
|
486
|
+
const ptt = derived(() => liveCall.prefs.input === "ptt");
|
|
487
|
+
function holdButton($$renderer3, big) {
|
|
488
|
+
$$renderer3.push(`<button${attr_class(`inline-flex shrink-0 cursor-pointer touch-none items-center justify-center gap-2 rounded-full border font-semibold transition select-none [-webkit-touch-callout:none] ${"h-9 px-3.5 text-sm"} ${liveCall.pressing ? "scale-[0.98] border-sea bg-sea text-on-accent" : "border-sea/55 bg-sea/10 text-sea"}`)} aria-label="Hold to talk"${attr("aria-pressed", liveCall.pressing)}>`);
|
|
489
|
+
Mic($$renderer3, { class: "size-4", "aria-hidden": "true" });
|
|
490
|
+
$$renderer3.push(`<!----> ${escape_html(liveCall.pressing ? "Let go to send" : "Hold to talk")}</button>`);
|
|
491
|
+
}
|
|
492
|
+
let $$settled = true;
|
|
493
|
+
let $$inner_renderer;
|
|
494
|
+
function $$render_inner($$renderer3) {
|
|
495
|
+
$$renderer3.push(`<div data-live-composer=""><p class="flex h-6 items-center gap-2 overflow-hidden px-1 pb-1 text-sm whitespace-nowrap" aria-live="polite"><span${attr_class(`shrink-0 font-mono text-[0.65rem] tracking-widest uppercase ${liveCall.state === "transcribing" ? "text-sea" : "text-teal"}`)}>${escape_html(liveCall.state === "transcribing" ? "Transcribing" : liveCall.heard.settled || liveCall.heard.forming ? "Hearing" : ptt() ? "Push to talk" : "Hands-free")}</span> <span class="min-w-0 truncate">`);
|
|
496
|
+
if (liveCall.heard.settled || liveCall.heard.forming) {
|
|
497
|
+
$$renderer3.push(`<!--[0-->${escape_html(liveCall.heard.settled)} <span class="text-muted-foreground">${escape_html(liveCall.heard.forming)}</span>`);
|
|
498
|
+
} else {
|
|
499
|
+
$$renderer3.push(`<!--[-1--><span class="text-muted-foreground">${escape_html(liveCall.problem ?? (ptt() ? "Hold Space for 2 seconds and talk; let go to send." : "Talk any time; it sends when you pause."))}</span>`);
|
|
500
|
+
}
|
|
501
|
+
$$renderer3.push(`<!--]--></span></p> `);
|
|
502
|
+
{
|
|
503
|
+
$$renderer3.push("<!--[-1-->");
|
|
504
|
+
}
|
|
505
|
+
$$renderer3.push(`<!--]--> <div class="flex items-center gap-2 rounded-xl border border-sea/45 bg-card p-1.5 pl-2">`);
|
|
506
|
+
{
|
|
507
|
+
$$renderer3.push("<!--[0-->");
|
|
508
|
+
if (ptt()) {
|
|
509
|
+
$$renderer3.push("<!--[0-->");
|
|
510
|
+
holdButton($$renderer3);
|
|
511
|
+
} else {
|
|
512
|
+
$$renderer3.push("<!--[-1-->");
|
|
513
|
+
muteButton($$renderer3);
|
|
514
|
+
}
|
|
515
|
+
$$renderer3.push(`<!--]-->`);
|
|
516
|
+
}
|
|
517
|
+
$$renderer3.push(`<!--]--> <input class="min-w-0 flex-1 bg-transparent px-2 text-base outline-none placeholder:text-muted-foreground sm:text-[0.95rem]"${attr("placeholder", ptt() ? "Talk to the crew (hold Space for 2 s), or type here" : "Type to the crew")} aria-label="Message the discussion crew" enterkeyhint="send"${attr("value", text)}/> <button class="flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-full border border-sea/45 text-sea hover:bg-sea/10" aria-label="Add documents to the discussion" title="Add documents: attach in full, or list by title" data-live-add-doc="">`);
|
|
518
|
+
File_plus($$renderer3, { class: "size-4" });
|
|
519
|
+
$$renderer3.push(`<!----></button> <button class="flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-full border border-sea/45 text-sea hover:bg-sea/10 disabled:cursor-default disabled:opacity-40" aria-label="Send a scout on this question" title="Send a scout on this question"${attr("disabled", !text.trim(), true)}>`);
|
|
520
|
+
Telescope($$renderer3, { class: "size-4" });
|
|
521
|
+
$$renderer3.push(`<!----></button> <button class="flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-full bg-sea text-on-accent disabled:opacity-40" aria-label="Send to the crew"${attr("disabled", !text.trim(), true)}>`);
|
|
522
|
+
Arrow_up($$renderer3, { class: "size-4" });
|
|
523
|
+
$$renderer3.push(`<!----></button></div></div> `);
|
|
524
|
+
LiveDocPicker($$renderer3, {
|
|
525
|
+
get open() {
|
|
526
|
+
return picking;
|
|
527
|
+
},
|
|
528
|
+
set open($$value) {
|
|
529
|
+
picking = $$value;
|
|
530
|
+
$$settled = false;
|
|
531
|
+
}
|
|
532
|
+
});
|
|
533
|
+
$$renderer3.push(`<!---->`);
|
|
534
|
+
}
|
|
535
|
+
do {
|
|
536
|
+
$$settled = true;
|
|
537
|
+
$$inner_renderer = $$renderer2.copy();
|
|
538
|
+
$$render_inner($$inner_renderer);
|
|
539
|
+
} while (!$$settled);
|
|
540
|
+
$$renderer2.subsume($$inner_renderer);
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
const sameTitle = (summary, title) => !!title && summary.replace(/^[\w.-]+:\s*/, "").trim() === title.replace(/^[\w.-]+:\s*/, "").trim();
|
|
544
|
+
function groupCatchUp(items) {
|
|
545
|
+
const groups = /* @__PURE__ */ new Map();
|
|
546
|
+
for (const raw of items) {
|
|
547
|
+
const summary = raw.summary ?? raw.text;
|
|
548
|
+
const i = {
|
|
549
|
+
...raw,
|
|
550
|
+
project: raw.project ?? null,
|
|
551
|
+
// A heading that only repeats the task's title says nothing: the question does.
|
|
552
|
+
summary: sameTitle(summary, raw.title) ? raw.text : summary,
|
|
553
|
+
text: raw.kind === "cleared" && sameTitle(raw.text, raw.title) ? summary : raw.text
|
|
554
|
+
};
|
|
555
|
+
let g = groups.get(i.task);
|
|
556
|
+
if (!g) {
|
|
557
|
+
g = {
|
|
558
|
+
task: i.task,
|
|
559
|
+
title: i.title,
|
|
560
|
+
project: i.project,
|
|
561
|
+
moved: null,
|
|
562
|
+
decisions: [],
|
|
563
|
+
cleared: []
|
|
564
|
+
};
|
|
565
|
+
groups.set(i.task, g);
|
|
566
|
+
}
|
|
567
|
+
if (!g.title && i.title) g.title = i.title;
|
|
568
|
+
g.project ??= i.project;
|
|
569
|
+
if (i.kind === "decision") g.decisions.push(i);
|
|
570
|
+
else if (i.kind === "cleared") g.cleared.push(i);
|
|
571
|
+
else g.moved = i;
|
|
572
|
+
}
|
|
573
|
+
const all = [...groups.values()];
|
|
574
|
+
return [...all.filter((g) => g.decisions.length), ...all.filter((g) => !g.decisions.length)];
|
|
575
|
+
}
|
|
576
|
+
function ChatPreview($$renderer, $$props) {
|
|
577
|
+
$$renderer.component(($$renderer2) => {
|
|
578
|
+
let { preview, project = null, now } = $$props;
|
|
579
|
+
const task = derived(() => preview.task);
|
|
580
|
+
const url = derived(() => task() ? task().preview?.url ?? task().board?.url ?? null : preview.url);
|
|
581
|
+
const key = derived(() => task()?.preview ? task().id : urlKey(url() ?? ""));
|
|
582
|
+
const byTask = derived(() => !!task()?.preview);
|
|
583
|
+
const check = derived(() => previewChecks.checks[key()] ?? null);
|
|
584
|
+
const checked = derived(() => check()?.state ?? null);
|
|
585
|
+
const stopped = derived(() => checked() === "down");
|
|
586
|
+
const shown = derived(() => check()?.url ?? url());
|
|
587
|
+
const board = derived(() => task()?.preview && task().board && !reviewSurface() ? task().board.url : null);
|
|
588
|
+
const title = derived(() => task()?.shortTitle ?? (preview.board ? "Review board" : URL.parse(url() ?? "")?.host ?? "Preview"));
|
|
589
|
+
const action = derived(() => shown() && checked() === "live" ? {
|
|
590
|
+
url: shown(),
|
|
591
|
+
taskId: task()?.id ?? null,
|
|
592
|
+
title: task()?.shortTitle ?? null,
|
|
593
|
+
projectId: task()?.projectId ?? null,
|
|
594
|
+
board: preview.board
|
|
595
|
+
} : null);
|
|
596
|
+
const prLink = derived(() => task()?.pr ? pullRequests.review(task().projectId, task().pr) : null);
|
|
597
|
+
let full = false;
|
|
598
|
+
let from = null;
|
|
599
|
+
function open() {
|
|
600
|
+
from = null;
|
|
601
|
+
full = true;
|
|
602
|
+
}
|
|
603
|
+
const CHECKS = {
|
|
604
|
+
green: {
|
|
605
|
+
icon: Circle_check,
|
|
606
|
+
text: "Checks passed",
|
|
607
|
+
tone: "text-success"
|
|
608
|
+
},
|
|
609
|
+
pending: {
|
|
610
|
+
icon: Circle_dashed,
|
|
611
|
+
text: "Checks running",
|
|
612
|
+
tone: "text-muted-foreground"
|
|
613
|
+
},
|
|
614
|
+
red: { icon: Circle_x, text: "Checks failed", tone: "text-danger" }
|
|
615
|
+
};
|
|
616
|
+
const checks = derived(() => task()?.pipeline?.ci ? CHECKS[task().pipeline.ci] : null);
|
|
617
|
+
const reported = derived(() => task()?.preview?.reportedAt ?? task()?.board?.reportedAt ?? null);
|
|
618
|
+
const at = derived(() => preview.landed ? task()?.mergedAt ?? reported() : reported());
|
|
619
|
+
$$renderer2.push(`<div class="w-full max-w-[min(100%,40rem)] overflow-hidden rounded-xl border border-hair bg-card"${attr("data-chat-preview", preview.landed ? "landed" : "live")}${attr("data-chat-preview-for", task() ? "task" : "link")}><header class="flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1 px-4 pt-2.5 pb-2 text-sm"><span${attr_class(`flex shrink-0 items-center gap-1 rounded px-1.5 text-xs leading-[1.15rem] font-medium ${preview.landed ? "bg-success/10 text-success" : stopped() ? "bg-muted text-muted-foreground" : "bg-sea/10 text-sea"}`)}>`);
|
|
620
|
+
if (preview.landed) {
|
|
621
|
+
$$renderer2.push("<!--[0-->");
|
|
622
|
+
Git_merge($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
623
|
+
$$renderer2.push(`<!---->Landed`);
|
|
624
|
+
} else if (stopped()) {
|
|
625
|
+
$$renderer2.push("<!--[1-->");
|
|
626
|
+
Monitor_off($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
627
|
+
$$renderer2.push(`<!---->${escape_html(preview.board ? "Board stopped" : "Preview stopped")}`);
|
|
628
|
+
} else if (preview.board) {
|
|
629
|
+
$$renderer2.push("<!--[2-->");
|
|
630
|
+
Layout_dashboard($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
631
|
+
$$renderer2.push(`<!---->Review board`);
|
|
632
|
+
} else {
|
|
633
|
+
$$renderer2.push("<!--[-1-->");
|
|
634
|
+
Monitor_play($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
635
|
+
$$renderer2.push(`<!---->Live preview`);
|
|
636
|
+
}
|
|
637
|
+
$$renderer2.push(`<!--]--></span> `);
|
|
638
|
+
if (project) {
|
|
639
|
+
$$renderer2.push(`<!--[0--><span class="shrink-0 rounded-sm border px-1.5 text-[0.95rem] leading-[1.15rem] font-semibold tracking-[0.08em] text-muted-foreground [font-variant-caps:all-small-caps]">${escape_html(project)}</span>`);
|
|
640
|
+
} else {
|
|
641
|
+
$$renderer2.push("<!--[-1-->");
|
|
642
|
+
}
|
|
643
|
+
$$renderer2.push(`<!--]--> `);
|
|
644
|
+
if (task()) {
|
|
645
|
+
$$renderer2.push(`<!--[0--><a${attr("href", `/tasks/${stringify(encodeURIComponent(task().id))}`)} class="order-last min-w-0 basis-full truncate font-medium hover:underline sm:order-none sm:basis-auto">${escape_html(task().shortTitle)}</a>`);
|
|
646
|
+
} else {
|
|
647
|
+
$$renderer2.push(`<!--[-1--><span class="order-last min-w-0 basis-full truncate font-mono text-xs text-muted-foreground sm:order-none sm:basis-auto"${attr("title", url())}>${escape_html(url())}</span>`);
|
|
648
|
+
}
|
|
649
|
+
$$renderer2.push(`<!--]--> `);
|
|
650
|
+
if (at()) {
|
|
651
|
+
$$renderer2.push(`<!--[0--><span class="ml-auto shrink-0 text-xs text-muted-foreground tabular-nums">${escape_html(ago(at(), now))}</span>`);
|
|
652
|
+
} else {
|
|
653
|
+
$$renderer2.push("<!--[-1-->");
|
|
654
|
+
}
|
|
655
|
+
$$renderer2.push(`<!--]--></header> <div class="border-y border-hair">`);
|
|
656
|
+
if (byTask()) {
|
|
657
|
+
$$renderer2.push("<!--[0-->");
|
|
658
|
+
LivePreview($$renderer2, {
|
|
659
|
+
taskId: task()?.id,
|
|
660
|
+
compact: true,
|
|
661
|
+
toolbar: false,
|
|
662
|
+
onopen: open
|
|
663
|
+
});
|
|
664
|
+
} else {
|
|
665
|
+
$$renderer2.push("<!--[-1-->");
|
|
666
|
+
LivePreview($$renderer2, { url: url(), compact: true, toolbar: false, onopen: open });
|
|
667
|
+
}
|
|
668
|
+
$$renderer2.push(`<!--]--></div> <footer class="flex flex-wrap items-center gap-x-3 gap-y-1 px-4 py-2 text-xs">`);
|
|
669
|
+
if (task()?.pr) {
|
|
670
|
+
$$renderer2.push(`<!--[0--><a${attr("href", task().pr.url)} target="_blank" rel="noreferrer" class="inline-flex min-w-0 items-center gap-1 text-sea hover:underline">`);
|
|
671
|
+
if (preview.landed) {
|
|
672
|
+
$$renderer2.push("<!--[0-->");
|
|
673
|
+
Git_merge($$renderer2, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
674
|
+
} else {
|
|
675
|
+
$$renderer2.push("<!--[-1-->");
|
|
676
|
+
Git_pull_request($$renderer2, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
677
|
+
}
|
|
678
|
+
$$renderer2.push(`<!--]--><span class="truncate">${escape_html(task().pr.number ? `Pull request #${task().pr.number}` : "Pull request")}</span></a>`);
|
|
679
|
+
} else {
|
|
680
|
+
$$renderer2.push("<!--[-1-->");
|
|
681
|
+
}
|
|
682
|
+
$$renderer2.push(`<!--]--> `);
|
|
683
|
+
if (checks()) {
|
|
684
|
+
$$renderer2.push(`<!--[0--><span${attr_class(`inline-flex items-center gap-1 ${stringify(checks().tone)}`)}>`);
|
|
685
|
+
if (checks().icon) {
|
|
686
|
+
$$renderer2.push("<!--[-->");
|
|
687
|
+
checks().icon($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
688
|
+
$$renderer2.push("<!--]-->");
|
|
689
|
+
} else {
|
|
690
|
+
$$renderer2.push("<!--[!-->");
|
|
691
|
+
$$renderer2.push("<!--]-->");
|
|
692
|
+
}
|
|
693
|
+
$$renderer2.push(`${escape_html(checks().text)}</span>`);
|
|
694
|
+
} else {
|
|
695
|
+
$$renderer2.push("<!--[-1-->");
|
|
696
|
+
}
|
|
697
|
+
$$renderer2.push(`<!--]--> `);
|
|
698
|
+
if (board()) {
|
|
699
|
+
$$renderer2.push(`<!--[0--><a${attr("href", board())} target="_blank" rel="noreferrer" class="inline-flex min-w-0 items-center gap-1 text-sea hover:underline"${attr("title", board())} data-open-board="">`);
|
|
700
|
+
Layout_dashboard($$renderer2, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
701
|
+
$$renderer2.push(`<!----><span class="truncate">Open the board</span></a>`);
|
|
702
|
+
} else {
|
|
703
|
+
$$renderer2.push("<!--[-1-->");
|
|
704
|
+
}
|
|
705
|
+
$$renderer2.push(`<!--]--> <span class="ml-auto flex flex-wrap items-center justify-end gap-1">`);
|
|
706
|
+
if (action()) {
|
|
707
|
+
$$renderer2.push("<!--[0-->");
|
|
708
|
+
PreviewActions($$renderer2, { preview: action() });
|
|
709
|
+
} else {
|
|
710
|
+
$$renderer2.push("<!--[-1-->");
|
|
711
|
+
}
|
|
712
|
+
$$renderer2.push(`<!--]--> `);
|
|
713
|
+
if (prLink() && !prLink().external) {
|
|
714
|
+
$$renderer2.push(`<!--[0--><a${attr("href", prLink().href)} class="inline-flex items-center gap-1 rounded px-1.5 py-0.5 font-medium hover:bg-accent" data-review-pr="">`);
|
|
715
|
+
Compass($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
716
|
+
$$renderer2.push(`<!---->Review</a>`);
|
|
717
|
+
} else {
|
|
718
|
+
$$renderer2.push("<!--[-1-->");
|
|
719
|
+
}
|
|
720
|
+
$$renderer2.push(`<!--]--> `);
|
|
721
|
+
if (checked() === "live") {
|
|
722
|
+
$$renderer2.push(`<!--[0--><button type="button" class="inline-flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 font-medium hover:bg-accent">`);
|
|
723
|
+
Maximize_2($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
724
|
+
$$renderer2.push(`<!---->Full size</button>`);
|
|
725
|
+
} else {
|
|
726
|
+
$$renderer2.push("<!--[-1-->");
|
|
727
|
+
}
|
|
728
|
+
$$renderer2.push(`<!--]--> `);
|
|
729
|
+
if (shown() && (checked() === "live" || checked() === "blocked")) {
|
|
730
|
+
$$renderer2.push(`<!--[0--><a${attr("href", shown())} target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-muted-foreground hover:bg-accent hover:text-foreground"${attr("title", shown())}>New tab`);
|
|
731
|
+
External_link($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
732
|
+
$$renderer2.push(`<!----></a>`);
|
|
733
|
+
} else {
|
|
734
|
+
$$renderer2.push("<!--[-1-->");
|
|
735
|
+
}
|
|
736
|
+
$$renderer2.push(`<!--]--></span></footer></div> `);
|
|
737
|
+
if (full && url()) {
|
|
738
|
+
$$renderer2.push("<!--[0-->");
|
|
739
|
+
PreviewWindow($$renderer2, {
|
|
740
|
+
taskId: byTask() ? task()?.id ?? null : null,
|
|
741
|
+
title: title(),
|
|
742
|
+
url: url(),
|
|
743
|
+
talk: !preview.landed,
|
|
744
|
+
board: preview.board,
|
|
745
|
+
from,
|
|
746
|
+
onclose: () => full = false
|
|
747
|
+
});
|
|
748
|
+
} else {
|
|
749
|
+
$$renderer2.push("<!--[-1-->");
|
|
750
|
+
}
|
|
751
|
+
$$renderer2.push(`<!--]-->`);
|
|
752
|
+
});
|
|
753
|
+
}
|
|
754
|
+
function LiveDecision($$renderer, $$props) {
|
|
755
|
+
$$renderer.component(($$renderer2) => {
|
|
756
|
+
let { visual } = $$props;
|
|
757
|
+
const card = derived(() => inbox.cards().find((c) => c.id === visual.decision) ?? null);
|
|
758
|
+
const named = (name, what) => `${name}${/[?:]$/.test(name) ? " " : ": "}${what}`;
|
|
759
|
+
const calls = derived(() => card()?.choices?.calls ?? []);
|
|
760
|
+
const lines = derived(() => [
|
|
761
|
+
...Object.entries(visual.picks).map(([id, pick]) => {
|
|
762
|
+
const call = calls().find((c) => c.id === id);
|
|
763
|
+
const o = call?.options.find((x) => x.id === pick);
|
|
764
|
+
const name = call ? callName(call) || id : id;
|
|
765
|
+
return named(name, o ? `${o.label}${o.detail ? ` · ${o.detail}` : ""}` : pick);
|
|
766
|
+
}),
|
|
767
|
+
...Object.entries(visual.words).map(([id, words]) => {
|
|
768
|
+
const call = calls().find((c) => c.id === id);
|
|
769
|
+
return named(call ? callName(call) || id : id, `“${words}”`);
|
|
770
|
+
}),
|
|
771
|
+
...visual.answer ? [visual.answer] : []
|
|
772
|
+
]);
|
|
773
|
+
$$renderer2.push(`<div class="w-full max-w-[min(100%,40rem)] overflow-hidden rounded-xl border border-sea/45 bg-card text-sm"${attr("data-live-decision", visual.decision)}><header class="flex items-center gap-2 px-4 pt-2.5 pb-1 text-xs font-medium tracking-wider text-sea uppercase">`);
|
|
774
|
+
Check($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
775
|
+
$$renderer2.push(`<!---->The talk came to</header> <p class="px-4 text-xs text-muted-foreground">${escape_html(card()?.title ?? visual.decision)}</p> <ul class="space-y-1 px-4 pt-1.5 pb-2.5 leading-snug"><!--[-->`);
|
|
776
|
+
const each_array = ensure_array_like(lines());
|
|
777
|
+
for (let i = 0, $$length = each_array.length; i < $$length; i++) {
|
|
778
|
+
let l = each_array[i];
|
|
779
|
+
$$renderer2.push(`<li>${escape_html(l)}</li>`);
|
|
780
|
+
}
|
|
781
|
+
$$renderer2.push(`<!--]--></ul> <footer class="flex flex-wrap items-center gap-x-3 gap-y-2 border-t border-hair bg-muted/30 px-4 py-2"><span class="flex-1 text-xs text-muted-foreground">It is in the decision’s form. Nothing is sent until you send it there.</span> <a${attr("href", `/inbox?d=${stringify(encodeURIComponent(visual.decision))}`)} class="inline-flex min-h-8 items-center gap-1 rounded-md px-2 text-xs font-medium text-sea hover:bg-accent max-md:min-h-11" data-live-decision-open="">Open the decision`);
|
|
782
|
+
Arrow_right($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
783
|
+
$$renderer2.push(`<!----></a></footer></div>`);
|
|
784
|
+
});
|
|
785
|
+
}
|
|
786
|
+
function LiveHandoff($$renderer, $$props) {
|
|
787
|
+
$$renderer.component(($$renderer2) => {
|
|
788
|
+
let { handoffKey, note } = $$props;
|
|
789
|
+
const h = derived(() => liveCall.handoff(handoffKey));
|
|
790
|
+
const phase = derived(() => h()?.state ?? "pending");
|
|
791
|
+
const held = derived(() => phase() === "pending" || phase() === "failed");
|
|
792
|
+
const gone = derived(() => phase() === "deleted" || phase() === "discarded");
|
|
793
|
+
const LINE = {
|
|
794
|
+
pending: "This will be sent to Firstmate when the call ends.",
|
|
795
|
+
sending: "Sending to Firstmate…",
|
|
796
|
+
sent: "Sent to Firstmate.",
|
|
797
|
+
failed: "Could not send it. It will still go with the briefing when the call ends.",
|
|
798
|
+
deleted: "Deleted. Firstmate will not hear of it.",
|
|
799
|
+
briefing: "Goes to Firstmate with the Captain’s briefing below.",
|
|
800
|
+
briefed: "Sent to Firstmate with the Captain’s briefing.",
|
|
801
|
+
discarded: "Discarded when you quit. Firstmate did not hear of it."
|
|
802
|
+
};
|
|
803
|
+
const line = derived(() => phase() === "sent" && h()?.direct ? "Sent to Firstmate straight away, as Settings → Discussion says." : LINE[phase()]);
|
|
804
|
+
$$renderer2.push(`<div${attr_class(`w-full max-w-[min(100%,40rem)] overflow-hidden rounded-xl border text-sm ${held() || phase() === "sending" ? "border-sea/45 bg-card" : "border-hair bg-card/60"}`)}${attr("data-live-handoff", phase())}><header${attr_class(`flex items-center gap-2 px-4 pt-2.5 pb-1 text-xs font-medium tracking-wider uppercase ${held() ? "text-sea" : "text-muted-foreground"}`)}>`);
|
|
805
|
+
Send($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
806
|
+
$$renderer2.push(`<!---->For Firstmate `);
|
|
807
|
+
if (held()) {
|
|
808
|
+
$$renderer2.push(`<!--[0--><span class="font-normal tracking-normal normal-case">· held until the call ends</span>`);
|
|
809
|
+
} else {
|
|
810
|
+
$$renderer2.push("<!--[-1-->");
|
|
811
|
+
}
|
|
812
|
+
$$renderer2.push(`<!--]--></header> <p${attr_class(`px-4 pb-2.5 leading-snug ${gone() ? "text-muted-foreground line-through" : ""}`)}>${escape_html(note)}</p> <footer${attr_class(`flex flex-wrap items-center gap-x-3 gap-y-2 border-t border-hair px-4 py-2 ${phase() === "failed" ? "bg-danger/5" : "bg-muted/30"}`)}><span${attr_class(`flex min-w-[13rem] flex-1 items-center gap-1.5 text-xs ${phase() === "failed" ? "text-danger" : "text-muted-foreground"}`)} role="status">`);
|
|
813
|
+
if (phase() === "sending") {
|
|
814
|
+
$$renderer2.push("<!--[0-->");
|
|
815
|
+
Loader_circle($$renderer2, {
|
|
816
|
+
class: "size-3.5 shrink-0 animate-spin",
|
|
817
|
+
"aria-hidden": "true"
|
|
818
|
+
});
|
|
819
|
+
} else if (phase() === "sent" || phase() === "briefed") {
|
|
820
|
+
$$renderer2.push("<!--[1-->");
|
|
821
|
+
Check($$renderer2, {
|
|
822
|
+
class: "size-3.5 shrink-0 text-success",
|
|
823
|
+
"aria-hidden": "true"
|
|
824
|
+
});
|
|
825
|
+
} else {
|
|
826
|
+
$$renderer2.push("<!--[-1-->");
|
|
827
|
+
}
|
|
828
|
+
$$renderer2.push(`<!--]-->${escape_html(line())}</span> `);
|
|
829
|
+
if (held()) {
|
|
830
|
+
$$renderer2.push(`<!--[0--><span class="ml-auto flex shrink-0 gap-2"><button class="inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-md border px-2.5 text-xs font-medium text-muted-foreground hover:bg-muted hover:text-foreground">`);
|
|
831
|
+
Trash($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
832
|
+
$$renderer2.push(`<!---->Delete</button> <button class="inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-md bg-sea px-3 text-xs font-medium text-on-accent">`);
|
|
833
|
+
Send($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
834
|
+
$$renderer2.push(`<!---->${escape_html(phase() === "failed" ? "Try again" : "Send now")}</button></span>`);
|
|
835
|
+
} else if (phase() === "deleted" && liveCall.on) {
|
|
836
|
+
$$renderer2.push(`<!--[1--><button class="ml-auto inline-flex h-8 shrink-0 cursor-pointer items-center gap-1.5 rounded-md px-2 text-xs font-medium text-sea hover:bg-sea/10">`);
|
|
837
|
+
Undo_2($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
838
|
+
$$renderer2.push(`<!---->Undo</button>`);
|
|
839
|
+
} else {
|
|
840
|
+
$$renderer2.push("<!--[-1-->");
|
|
841
|
+
}
|
|
842
|
+
$$renderer2.push(`<!--]--></footer></div>`);
|
|
843
|
+
});
|
|
844
|
+
}
|
|
845
|
+
function LiveScout($$renderer, $$props) {
|
|
846
|
+
$$renderer.component(($$renderer2) => {
|
|
847
|
+
let { scoutKey, report = false } = $$props;
|
|
848
|
+
const s = derived(() => liveCall.scout(scoutKey));
|
|
849
|
+
const taskHref = derived(() => s()?.task ? `/tasks/${encodeURIComponent(s().task)}` : null);
|
|
850
|
+
const LINE = {
|
|
851
|
+
offered: "A scout investigates this and reports back into the conversation.",
|
|
852
|
+
declined: "Not sent.",
|
|
853
|
+
sending: "Asking Firstmate for a scout…",
|
|
854
|
+
failed: "Could not reach Firstmate’s chat to ask for the scout.",
|
|
855
|
+
requested: "Asked of Firstmate. Waiting for the scout to set off…",
|
|
856
|
+
running: "Scout under way. Its report comes back here.",
|
|
857
|
+
reported: "Report in, below."
|
|
858
|
+
};
|
|
859
|
+
if (s() && report) {
|
|
860
|
+
$$renderer2.push(`<!--[0--><section class="w-full max-w-[min(100%,44rem)] overflow-hidden rounded-xl border border-sea/45 bg-card" aria-label="Scout report" data-live-scout-report=""><header class="flex min-w-0 items-center gap-2 border-b border-sea/25 bg-sea/10 px-4 py-2.5 text-sm font-semibold text-sea">`);
|
|
861
|
+
File_text($$renderer2, { class: "size-4 shrink-0", "aria-hidden": "true" });
|
|
862
|
+
$$renderer2.push(`<!---->Scout report `);
|
|
863
|
+
if (s().task) {
|
|
864
|
+
$$renderer2.push(`<!--[0--><span class="ml-auto truncate font-mono text-[0.7rem] font-normal">${escape_html(s().task)}</span>`);
|
|
865
|
+
} else {
|
|
866
|
+
$$renderer2.push("<!--[-1-->");
|
|
867
|
+
}
|
|
868
|
+
$$renderer2.push(`<!--]--></header> <div class="bg-paper px-5 py-4 font-reading text-ink"><p class="text-[0.8rem] text-muted-foreground">${escape_html(s().question)}</p> <p class="mt-2 leading-relaxed">${escape_html(s().summary || "The report has no summary; open it to read.")}</p></div> <footer class="flex flex-wrap items-center gap-3 border-t border-hair px-4 py-2.5 text-xs"><span class="text-muted-foreground">${escape_html(s().told ? "Brought into the conversation." : liveCall.on ? "The crew picks it up when you pause." : "Came in after the call ended.")}</span> `);
|
|
869
|
+
if (taskHref()) {
|
|
870
|
+
$$renderer2.push(`<!--[0--><a class="ml-auto inline-flex items-center gap-1 font-medium text-sea hover:underline"${attr("href", taskHref())}>Open the report`);
|
|
871
|
+
Arrow_up_right($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
872
|
+
$$renderer2.push(`<!----></a>`);
|
|
873
|
+
} else {
|
|
874
|
+
$$renderer2.push("<!--[-1-->");
|
|
875
|
+
}
|
|
876
|
+
$$renderer2.push(`<!--]--></footer></section>`);
|
|
877
|
+
} else if (s()) {
|
|
878
|
+
$$renderer2.push("<!--[1-->");
|
|
879
|
+
const offered = s().state === "offered";
|
|
880
|
+
const busy = s().state === "sending" || s().state === "requested" || s().state === "running";
|
|
881
|
+
$$renderer2.push(`<div${attr_class(`w-full max-w-[min(100%,40rem)] overflow-hidden rounded-xl border text-sm ${offered || busy ? "border-sea/45 bg-card" : "border-hair bg-card/60"}`)}${attr("data-live-scout", s().state)}><header${attr_class(`flex items-center gap-2 px-4 pt-2.5 pb-1 text-xs font-medium tracking-wider uppercase ${s().state === "declined" ? "text-muted-foreground" : "text-sea"}`)}>`);
|
|
882
|
+
Telescope($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
883
|
+
$$renderer2.push(`<!---->Scout <span class="font-normal tracking-normal normal-case">· ${escape_html(s().asked ? "you asked for one" : "suggested by the crew")}</span></header> <p${attr_class(`px-4 pb-2.5 leading-snug ${s().state === "declined" ? "text-muted-foreground" : ""}`)}>${escape_html(s().question)}</p> <footer${attr_class(`flex flex-wrap items-center gap-x-3 gap-y-2 border-t border-hair px-4 py-2 ${s().state === "failed" ? "bg-danger/5" : "bg-muted/30"}`)}><span${attr_class(`flex min-w-[13rem] flex-1 items-center gap-1.5 text-xs ${s().state === "failed" ? "text-danger" : "text-muted-foreground"}`)} role="status">`);
|
|
884
|
+
if (busy) {
|
|
885
|
+
$$renderer2.push("<!--[0-->");
|
|
886
|
+
Loader_circle($$renderer2, {
|
|
887
|
+
class: "size-3.5 shrink-0 animate-spin text-sea",
|
|
888
|
+
"aria-hidden": "true"
|
|
889
|
+
});
|
|
890
|
+
} else {
|
|
891
|
+
$$renderer2.push("<!--[-1-->");
|
|
892
|
+
}
|
|
893
|
+
$$renderer2.push(`<!--]-->${escape_html(LINE[s().state])} `);
|
|
894
|
+
if (s().state === "running" && s().statusLabel) {
|
|
895
|
+
$$renderer2.push(`<!--[0--><span class="rounded-full border px-1.5 text-[0.7rem]">${escape_html(s().statusLabel)}</span>`);
|
|
896
|
+
} else {
|
|
897
|
+
$$renderer2.push("<!--[-1-->");
|
|
898
|
+
}
|
|
899
|
+
$$renderer2.push(`<!--]--></span> `);
|
|
900
|
+
if (offered || s().state === "failed") {
|
|
901
|
+
$$renderer2.push(`<!--[0--><span class="ml-auto flex shrink-0 gap-2">`);
|
|
902
|
+
if (offered) {
|
|
903
|
+
$$renderer2.push(`<!--[0--><button class="inline-flex h-8 cursor-pointer items-center rounded-md border px-2.5 text-xs font-medium text-muted-foreground hover:bg-muted hover:text-foreground">Not now</button>`);
|
|
904
|
+
} else {
|
|
905
|
+
$$renderer2.push("<!--[-1-->");
|
|
906
|
+
}
|
|
907
|
+
$$renderer2.push(`<!--]--> <button class="inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-md bg-sea px-3 text-xs font-medium text-on-accent">`);
|
|
908
|
+
Telescope($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
909
|
+
$$renderer2.push(`<!---->${escape_html(offered ? "Send a scout" : "Try again")}</button></span>`);
|
|
910
|
+
} else if (taskHref()) {
|
|
911
|
+
$$renderer2.push(`<!--[1--><a class="ml-auto inline-flex shrink-0 items-center gap-1 font-mono text-xs text-sea hover:underline"${attr("href", taskHref())}>${escape_html(s().task)}`);
|
|
912
|
+
Arrow_up_right($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
913
|
+
$$renderer2.push(`<!----></a>`);
|
|
914
|
+
} else {
|
|
915
|
+
$$renderer2.push("<!--[-1-->");
|
|
916
|
+
}
|
|
917
|
+
$$renderer2.push(`<!--]--></footer></div>`);
|
|
918
|
+
} else {
|
|
919
|
+
$$renderer2.push("<!--[-1-->");
|
|
920
|
+
}
|
|
921
|
+
$$renderer2.push(`<!--]-->`);
|
|
922
|
+
});
|
|
923
|
+
}
|
|
924
|
+
function LiveVisual($$renderer, $$props) {
|
|
925
|
+
$$renderer.component(($$renderer2) => {
|
|
926
|
+
let { visual, key, tasks, now, projectName } = $$props;
|
|
927
|
+
const KIND = {
|
|
928
|
+
diagram: ["Diagram", Workflow],
|
|
929
|
+
chart: ["Chart", Chart_column],
|
|
930
|
+
picture: ["Picture", Image]
|
|
931
|
+
};
|
|
932
|
+
const title = derived(() => visual.kind === "diagram" ? visual.title : visual.kind === "chart" ? visual.spec.title : visual.kind === "picture" ? visual.title : "");
|
|
933
|
+
const prNumber = (url) => /\/pull\/(\d+)/.exec(url)?.[1] ?? null;
|
|
934
|
+
const repo = (url) => /github\.com\/([^/]+\/[^/]+)\//.exec(url)?.[1] ?? null;
|
|
935
|
+
const find = (id) => {
|
|
936
|
+
const q = id.toLowerCase();
|
|
937
|
+
return tasks.find((t) => t.id.toLowerCase() === q) ?? tasks.find((t) => t.id.toLowerCase().startsWith(q)) ?? null;
|
|
938
|
+
};
|
|
939
|
+
if (visual.kind === "passon") {
|
|
940
|
+
$$renderer2.push("<!--[0-->");
|
|
941
|
+
LiveHandoff($$renderer2, { handoffKey: key, note: visual.note });
|
|
942
|
+
} else if (visual.kind === "decision") {
|
|
943
|
+
$$renderer2.push("<!--[1-->");
|
|
944
|
+
LiveDecision($$renderer2, { visual });
|
|
945
|
+
} else if (visual.kind === "scout") {
|
|
946
|
+
$$renderer2.push("<!--[2-->");
|
|
947
|
+
LiveScout($$renderer2, { scoutKey: key });
|
|
948
|
+
} else if (visual.kind === "cards") {
|
|
949
|
+
$$renderer2.push(`<!--[3--><!--[-->`);
|
|
950
|
+
const each_array = ensure_array_like(visual.cards);
|
|
951
|
+
for (let i = 0, $$length = each_array.length; i < $$length; i++) {
|
|
952
|
+
let card = each_array[i];
|
|
953
|
+
const task = card.kind === "task" ? find(card.task) : null;
|
|
954
|
+
if (task?.preview) {
|
|
955
|
+
$$renderer2.push("<!--[0-->");
|
|
956
|
+
ChatPreview($$renderer2, {
|
|
957
|
+
preview: {
|
|
958
|
+
task,
|
|
959
|
+
url: task.preview.url,
|
|
960
|
+
board: false,
|
|
961
|
+
landed: task.status === "landed"
|
|
962
|
+
},
|
|
963
|
+
project: projectName(task.projectId),
|
|
964
|
+
now
|
|
965
|
+
});
|
|
966
|
+
} else {
|
|
967
|
+
$$renderer2.push(`<!--[-1--><div class="w-full max-w-[min(100%,40rem)] overflow-hidden rounded-xl border border-hair bg-card text-sm"${attr("data-live-card", card.kind)}><header class="flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1 px-4 pt-2.5 pb-2">`);
|
|
968
|
+
if (card.kind === "task") {
|
|
969
|
+
$$renderer2.push(`<!--[0--><span${attr_class(`rounded px-1.5 text-xs leading-[1.15rem] font-medium ${task?.status === "landed" ? "bg-success/10 text-success" : task?.status === "blocked" ? "bg-danger/10 text-danger" : "bg-sea/10 text-sea"}`)}>${escape_html(task?.statusLabel ?? "Task")}</span> `);
|
|
970
|
+
if (task && projectName(task.projectId)) {
|
|
971
|
+
$$renderer2.push(`<!--[0--><span class="rounded-sm border px-1.5 text-[0.95rem] leading-[1.15rem] font-semibold tracking-[0.08em] text-muted-foreground [font-variant-caps:all-small-caps]">${escape_html(projectName(task.projectId))}</span>`);
|
|
972
|
+
} else {
|
|
973
|
+
$$renderer2.push("<!--[-1-->");
|
|
974
|
+
}
|
|
975
|
+
$$renderer2.push(`<!--]--> `);
|
|
976
|
+
if (task) {
|
|
977
|
+
$$renderer2.push(`<!--[0--><a${attr("href", `/tasks/${stringify(encodeURIComponent(task.id))}`)} class="min-w-0 truncate font-medium hover:underline">${escape_html(task.shortTitle)}</a>`);
|
|
978
|
+
} else {
|
|
979
|
+
$$renderer2.push(`<!--[-1--><span class="font-mono text-xs text-muted-foreground">${escape_html(card.task)}</span>`);
|
|
980
|
+
}
|
|
981
|
+
$$renderer2.push(`<!--]-->`);
|
|
982
|
+
} else if (card.kind === "pr") {
|
|
983
|
+
$$renderer2.push(`<!--[1--><span class="flex items-center gap-1 rounded bg-sea/10 px-1.5 text-xs leading-[1.15rem] font-medium text-sea">`);
|
|
984
|
+
Git_pull_request($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
985
|
+
$$renderer2.push(`<!---->Pull request</span> <span class="min-w-0 truncate font-medium">${escape_html(card.title ?? `#${prNumber(card.url) ?? ""}`)}</span>`);
|
|
986
|
+
} else {
|
|
987
|
+
$$renderer2.push(`<!--[-1--><span class="rounded bg-muted px-1.5 text-xs leading-[1.15rem] font-medium text-muted-foreground">Link</span> <span class="min-w-0 truncate font-medium">${escape_html(card.title ?? card.url)}</span>`);
|
|
988
|
+
}
|
|
989
|
+
$$renderer2.push(`<!--]--></header> `);
|
|
990
|
+
if (card.kind === "task" && task?.summary) {
|
|
991
|
+
$$renderer2.push(`<!--[0--><p class="border-t border-hair px-4 py-2.5 text-muted-foreground">${escape_html(task.summary)}</p>`);
|
|
992
|
+
} else if (card.kind === "task" && !task) {
|
|
993
|
+
$$renderer2.push(`<!--[1--><p class="border-t border-hair px-4 py-2.5 text-muted-foreground">Not in the fleet right now.</p>`);
|
|
994
|
+
} else if (card.kind === "link" && card.note) {
|
|
995
|
+
$$renderer2.push(`<!--[2--><p class="border-t border-hair px-4 py-2.5 text-muted-foreground">${escape_html(card.note)}</p>`);
|
|
996
|
+
} else {
|
|
997
|
+
$$renderer2.push("<!--[-1-->");
|
|
998
|
+
}
|
|
999
|
+
$$renderer2.push(`<!--]--> <footer class="flex flex-wrap items-center gap-x-3 gap-y-1 border-t border-hair px-4 py-2 text-xs">`);
|
|
1000
|
+
if (card.kind === "task" && task?.pr) {
|
|
1001
|
+
$$renderer2.push(`<!--[0--><a${attr("href", task.pr.url)} target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 text-sea hover:underline">`);
|
|
1002
|
+
Git_pull_request($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
1003
|
+
$$renderer2.push(`<!---->Pull request #${escape_html(task.pr.number)}</a>`);
|
|
1004
|
+
} else if (card.kind === "pr") {
|
|
1005
|
+
$$renderer2.push(`<!--[1--><a${attr("href", card.url)} target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 text-sea hover:underline">`);
|
|
1006
|
+
External_link($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
1007
|
+
$$renderer2.push(`<!---->${escape_html(repo(card.url) ?? "Open")}${escape_html(prNumber(card.url) ? `#${prNumber(card.url)}` : "")}</a>`);
|
|
1008
|
+
} else if (card.kind === "link") {
|
|
1009
|
+
$$renderer2.push(`<!--[2--><a${attr("href", card.url)} target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 text-sea hover:underline">`);
|
|
1010
|
+
External_link($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
1011
|
+
$$renderer2.push(`<!---->${escape_html(URL.parse(card.url)?.host ?? card.url)}</a>`);
|
|
1012
|
+
} else {
|
|
1013
|
+
$$renderer2.push("<!--[-1-->");
|
|
1014
|
+
}
|
|
1015
|
+
$$renderer2.push(`<!--]--> `);
|
|
1016
|
+
if (card.kind === "task") {
|
|
1017
|
+
$$renderer2.push(`<!--[0--><span class="font-mono text-muted-foreground">${escape_html(card.task)}</span>`);
|
|
1018
|
+
} else {
|
|
1019
|
+
$$renderer2.push("<!--[-1-->");
|
|
1020
|
+
}
|
|
1021
|
+
$$renderer2.push(`<!--]--></footer></div>`);
|
|
1022
|
+
}
|
|
1023
|
+
$$renderer2.push(`<!--]-->`);
|
|
1024
|
+
}
|
|
1025
|
+
$$renderer2.push(`<!--]-->`);
|
|
1026
|
+
} else if (visual.kind === "invalid") {
|
|
1027
|
+
$$renderer2.push(`<!--[4--><p class="text-xs text-muted-foreground" data-live-invalid="">${escape_html(visual.reason)}</p>`);
|
|
1028
|
+
} else {
|
|
1029
|
+
$$renderer2.push("<!--[-1-->");
|
|
1030
|
+
const [label, Icon2] = KIND[visual.kind];
|
|
1031
|
+
$$renderer2.push(`<figure class="w-full max-w-[min(100%,44rem)] overflow-hidden rounded-xl border border-hair bg-card"${attr("data-live-visual", visual.kind)}><header class="flex min-w-0 items-center gap-2 px-4 pt-2.5 pb-2 text-sm"><span class="flex shrink-0 items-center gap-1 rounded bg-sea/10 px-1.5 text-xs leading-[1.15rem] font-medium text-sea">`);
|
|
1032
|
+
if (Icon2) {
|
|
1033
|
+
$$renderer2.push("<!--[-->");
|
|
1034
|
+
Icon2($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
1035
|
+
$$renderer2.push("<!--]-->");
|
|
1036
|
+
} else {
|
|
1037
|
+
$$renderer2.push("<!--[!-->");
|
|
1038
|
+
$$renderer2.push("<!--]-->");
|
|
1039
|
+
}
|
|
1040
|
+
$$renderer2.push(`${escape_html(label)}</span> <span class="min-w-0 truncate font-medium">${escape_html(title())}</span></header> <div class="border-y border-hair bg-panel">`);
|
|
1041
|
+
if (visual.kind === "chart") {
|
|
1042
|
+
$$renderer2.push(`<!--[0--><div class="relative h-64 p-3"><canvas${attr("aria-label", title())}></canvas></div>`);
|
|
1043
|
+
} else {
|
|
1044
|
+
$$renderer2.push(`<!--[2--><p class="flex items-center gap-2 px-4 py-5 text-sm text-muted-foreground" role="status">`);
|
|
1045
|
+
Audio_lines($$renderer2, {
|
|
1046
|
+
class: "size-4 animate-pulse text-sea",
|
|
1047
|
+
"aria-hidden": "true"
|
|
1048
|
+
});
|
|
1049
|
+
$$renderer2.push(`<!---->${escape_html(visual.kind === "picture" ? "The illustrator is drawing it (about twenty seconds)…" : "Drawing…")}</p>`);
|
|
1050
|
+
}
|
|
1051
|
+
$$renderer2.push(`<!--]--></div> <footer class="flex items-center gap-3 px-4 py-2 text-xs text-muted-foreground"><span>From the discussion crew</span> `);
|
|
1052
|
+
if (visual.kind === "chart") {
|
|
1053
|
+
$$renderer2.push(`<!--[0--><button class="ml-auto inline-flex cursor-pointer items-center gap-1 hover:text-foreground hover:underline">`);
|
|
1054
|
+
Maximize_2($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
1055
|
+
$$renderer2.push(`<!---->Full size</button>`);
|
|
1056
|
+
} else {
|
|
1057
|
+
$$renderer2.push("<!--[-1-->");
|
|
1058
|
+
}
|
|
1059
|
+
$$renderer2.push(`<!--]--></footer></figure> <dialog class="m-auto h-[88vh] w-[92vw] max-w-none rounded-xl border bg-panel p-0 text-foreground backdrop:bg-black/60"><div class="flex items-center gap-2 border-b px-4 py-3 text-sm"><span class="font-medium">${escape_html(title())}</span> <button class="ml-auto flex size-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Close">`);
|
|
1060
|
+
X($$renderer2, { class: "size-4" });
|
|
1061
|
+
$$renderer2.push(`<!----></button></div> <div class="flex h-[calc(88vh-3.5rem)] items-center justify-center overflow-auto p-6">`);
|
|
1062
|
+
{
|
|
1063
|
+
$$renderer2.push("<!--[-1-->");
|
|
1064
|
+
}
|
|
1065
|
+
$$renderer2.push(`<!--]--></div></dialog>`);
|
|
1066
|
+
}
|
|
1067
|
+
$$renderer2.push(`<!--]-->`);
|
|
1068
|
+
});
|
|
1069
|
+
}
|
|
1070
|
+
function LiveEntries($$renderer, $$props) {
|
|
1071
|
+
$$renderer.component(($$renderer2) => {
|
|
1072
|
+
let { tasks, now, projectName } = $$props;
|
|
1073
|
+
const time2 = (iso) => new Date(iso).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", hour12: false });
|
|
1074
|
+
let fixing = null;
|
|
1075
|
+
let fixText = "";
|
|
1076
|
+
function parts(r) {
|
|
1077
|
+
let off = 0;
|
|
1078
|
+
let block = 0;
|
|
1079
|
+
return parseReply$1(r.text).map((p) => {
|
|
1080
|
+
if (p.type === "prose") {
|
|
1081
|
+
const start = off;
|
|
1082
|
+
off += p.text.length + 1;
|
|
1083
|
+
return { ...p, start };
|
|
1084
|
+
}
|
|
1085
|
+
return { ...p, start: -1, index: p.closed ? block++ : -1 };
|
|
1086
|
+
});
|
|
1087
|
+
}
|
|
1088
|
+
const speaking = (r) => liveCall.state === "speaking" && r.spoken < r.queued;
|
|
1089
|
+
const taskOf = (id) => tasks.find((t) => t.id === id) ?? null;
|
|
1090
|
+
const prLabel = (pr) => pr.number == null ? "PR" : `#${pr.number}`;
|
|
1091
|
+
let sending = null;
|
|
1092
|
+
$$renderer2.push(`<!--[-->`);
|
|
1093
|
+
const each_array = ensure_array_like(liveCall.entries);
|
|
1094
|
+
for (let $$index_5 = 0, $$length = each_array.length; $$index_5 < $$length; $$index_5++) {
|
|
1095
|
+
let e = each_array[$$index_5];
|
|
1096
|
+
if (e.kind === "notice") {
|
|
1097
|
+
$$renderer2.push(`<!--[0--><p class="flex items-center justify-center gap-2 text-center text-xs text-muted-foreground" data-live-notice="">`);
|
|
1098
|
+
Audio_lines($$renderer2, { class: "size-3.5 shrink-0 text-sea", "aria-hidden": "true" });
|
|
1099
|
+
$$renderer2.push(`<!---->${escape_html(e.text)}</p>`);
|
|
1100
|
+
} else if (e.kind === "scout" && !e.report) {
|
|
1101
|
+
$$renderer2.push(`<!--[1--><article class="msg msg-captain"${attr("aria-label", `You, ${stringify(time2(e.at))}`)} data-live-captain="scout"><span class="captain-avatar">C</span> <div class="flex min-w-0 flex-1 flex-col items-end gap-2"><header class="msg-head"><span class="msg-name">You</span><time${attr("datetime", e.at)}>${escape_html(time2(e.at))}</time> <span class="rounded border border-sea/50 px-1 font-mono text-[0.65rem] tracking-wider text-sea">LIVE</span></header> `);
|
|
1102
|
+
LiveScout($$renderer2, { scoutKey: e.scout });
|
|
1103
|
+
$$renderer2.push(`<!----></div></article>`);
|
|
1104
|
+
} else if (e.kind === "captain") {
|
|
1105
|
+
$$renderer2.push(`<!--[2--><article class="msg msg-captain"${attr("aria-label", `You, ${stringify(time2(e.at))}`)}${attr("data-live-captain", e.pending ? "pending" : "sent")}><span class="captain-avatar">C</span> <div class="min-w-0 flex-1"><header class="msg-head"><span class="msg-name">You</span><time${attr("datetime", e.at)}>${escape_html(time2(e.at))}</time> <span class="rounded border border-sea/50 px-1 font-mono text-[0.65rem] tracking-wider text-sea">LIVE</span> `);
|
|
1106
|
+
if (e.how === "typed" || e.how === "fixed") {
|
|
1107
|
+
$$renderer2.push(`<!--[0--><span class="rounded border px-1 font-mono text-[0.65rem] tracking-wider">${escape_html(e.how.toUpperCase())}</span>`);
|
|
1108
|
+
} else {
|
|
1109
|
+
$$renderer2.push("<!--[-1-->");
|
|
1110
|
+
}
|
|
1111
|
+
$$renderer2.push(`<!--]--></header> `);
|
|
1112
|
+
if (fixing === e.id) {
|
|
1113
|
+
$$renderer2.push(`<!--[0--><form class="flex w-full max-w-[min(85%,62ch)] gap-2"><input class="min-w-0 flex-1 rounded-md border border-sea bg-card px-3 py-1.5 text-sm"${attr("value", fixText)} aria-label="What you said"/> <button class="cursor-pointer rounded-md bg-sea px-3 text-sm font-medium text-on-accent">Send fix</button></form>`);
|
|
1114
|
+
} else {
|
|
1115
|
+
$$renderer2.push(`<!--[-1--><div${attr_class(`bubble bubble-captain ${e.pending ? "border-dashed opacity-60" : ""}`)}>${escape_html(e.text)}</div> `);
|
|
1116
|
+
if (!e.pending && e.how !== "typed") {
|
|
1117
|
+
$$renderer2.push(`<!--[0--><button class="mt-1 cursor-pointer text-xs text-muted-foreground underline underline-offset-2 hover:text-foreground">Fix what I said</button>`);
|
|
1118
|
+
} else {
|
|
1119
|
+
$$renderer2.push("<!--[-1-->");
|
|
1120
|
+
}
|
|
1121
|
+
$$renderer2.push(`<!--]-->`);
|
|
1122
|
+
}
|
|
1123
|
+
$$renderer2.push(`<!--]--></div></article>`);
|
|
1124
|
+
} else {
|
|
1125
|
+
$$renderer2.push(`<!--[-1--><article class="msg msg-firstmate"${attr("aria-label", `Discussion crew, ${stringify(time2(e.at))}`)} data-live-crew=""><span class="flex size-8 shrink-0 items-center justify-center rounded-full border-[1.5px] border-brass bg-sea/10 text-sea">`);
|
|
1126
|
+
Audio_lines($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
1127
|
+
$$renderer2.push(`<!----></span> <div class="flex min-w-0 flex-1 flex-col items-start gap-2"><header class="msg-head"><span class="msg-name">Discussion crew</span><time${attr("datetime", e.at)}>${escape_html(time2(e.at))}</time> <span class="rounded border border-sea/50 px-1 font-mono text-[0.65rem] tracking-wider text-sea">LIVE</span></header> `);
|
|
1128
|
+
if (e.kind === "writing") {
|
|
1129
|
+
$$renderer2.push(`<!--[0--><p class="flex items-center gap-2 text-sm text-muted-foreground" role="status">`);
|
|
1130
|
+
Loader_circle($$renderer2, { class: "size-4 animate-spin", "aria-hidden": "true" });
|
|
1131
|
+
$$renderer2.push(`<!---->${escape_html(e.briefing ? "Writing the Captain’s briefing for Firstmate…" : "Ending the discussion…")}</p>`);
|
|
1132
|
+
} else if (e.kind === "scout") {
|
|
1133
|
+
$$renderer2.push("<!--[1-->");
|
|
1134
|
+
LiveScout($$renderer2, { scoutKey: e.scout, report: true });
|
|
1135
|
+
} else if (e.kind === "brief") {
|
|
1136
|
+
$$renderer2.push("<!--[2-->");
|
|
1137
|
+
const groups = groupCatchUp(e.catchUp);
|
|
1138
|
+
const asks = groups.reduce((n, g) => n + g.decisions.length, 0);
|
|
1139
|
+
if (e.briefing || e.handoffs.length) {
|
|
1140
|
+
$$renderer2.push(`<!--[0--><div class="w-full max-w-[min(100%,44rem)] overflow-hidden rounded-xl border border-sea/45 bg-card" data-live-brief=""><div class="flex items-center gap-2 border-b border-sea/25 bg-sea/10 px-4 py-2.5 text-sm font-semibold text-sea">`);
|
|
1141
|
+
File_text($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
1142
|
+
$$renderer2.push(`<!---->Captain’s briefing · for Firstmate <span class="ml-auto font-mono text-[0.7rem] font-normal">${escape_html(e.minutes)} min</span></div> <div class="chat-md bg-paper px-5 py-4 font-reading text-ink">`);
|
|
1143
|
+
if (e.briefing) {
|
|
1144
|
+
$$renderer2.push(`<!--[0-->${html(markdown(e.briefing))}`);
|
|
1145
|
+
} else {
|
|
1146
|
+
$$renderer2.push("<!--[-1-->");
|
|
1147
|
+
}
|
|
1148
|
+
$$renderer2.push(`<!--]--> `);
|
|
1149
|
+
if (e.handoffs.length) {
|
|
1150
|
+
$$renderer2.push(`<!--[0--><h2>Hand-offs from the call</h2> <ul data-live-brief-handoffs=""><!--[-->`);
|
|
1151
|
+
const each_array_1 = ensure_array_like(e.handoffs);
|
|
1152
|
+
for (let ni = 0, $$length2 = each_array_1.length; ni < $$length2; ni++) {
|
|
1153
|
+
let n = each_array_1[ni];
|
|
1154
|
+
$$renderer2.push(`<li>${escape_html(n)}</li>`);
|
|
1155
|
+
}
|
|
1156
|
+
$$renderer2.push(`<!--]--></ul>`);
|
|
1157
|
+
} else {
|
|
1158
|
+
$$renderer2.push("<!--[-1-->");
|
|
1159
|
+
}
|
|
1160
|
+
$$renderer2.push(`<!--]--></div> <div class="flex items-center gap-3 border-t border-hair px-4 py-2.5"><span class="text-xs text-muted-foreground">${escape_html(e.sent ? "Sent to Firstmate." : "Read it over, then send it to Firstmate as your message.")}</span> <button class="ml-auto inline-flex cursor-pointer items-center gap-2 rounded-md bg-sea px-3 py-1.5 text-sm font-medium text-on-accent disabled:cursor-default disabled:opacity-50"${attr("disabled", e.sent || sending === e.id, true)}>`);
|
|
1161
|
+
Send($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
1162
|
+
$$renderer2.push(`<!---->${escape_html(e.sent ? "Sent" : "Send to Firstmate")}</button></div></div>`);
|
|
1163
|
+
} else if (e.quit) {
|
|
1164
|
+
$$renderer2.push(`<!--[1--><p class="text-sm text-muted-foreground" data-live-quit="">Ended without a briefing. Firstmate hears nothing of the discussion.</p>`);
|
|
1165
|
+
} else {
|
|
1166
|
+
$$renderer2.push(`<!--[-1--><div class="bubble bubble-firstmate">Nothing was discussed, so there is no briefing to hand over.</div>`);
|
|
1167
|
+
}
|
|
1168
|
+
$$renderer2.push(`<!--]--> <section class="w-full max-w-[min(100%,44rem)] overflow-hidden rounded-xl border bg-card" aria-label="While you talked" data-live-catchup=""><header class="flex flex-wrap items-baseline gap-x-3 gap-y-0.5 border-b px-4 py-2.5 text-sm"><b class="font-semibold">While you talked</b> <span class="font-mono text-xs text-muted-foreground tabular-nums">${escape_html(e.minutes)} min</span> <span class="ml-auto text-xs text-muted-foreground">`);
|
|
1169
|
+
if (groups.length) {
|
|
1170
|
+
$$renderer2.push(`<!--[0-->${escape_html(groups.length)} task${escape_html(groups.length === 1 ? "" : "s")} changed `);
|
|
1171
|
+
if (asks) {
|
|
1172
|
+
$$renderer2.push(`<!--[0-->· <b class="font-semibold text-sea">${escape_html(asks)} decision${escape_html(asks === 1 ? "" : "s")} for you</b>`);
|
|
1173
|
+
} else {
|
|
1174
|
+
$$renderer2.push("<!--[-1-->");
|
|
1175
|
+
}
|
|
1176
|
+
$$renderer2.push(`<!--]-->`);
|
|
1177
|
+
} else {
|
|
1178
|
+
$$renderer2.push(`<!--[-1-->${escape_html(e.fleet.live)} under way · ${escape_html(e.fleet.decisions)} decision${escape_html(e.fleet.decisions === 1 ? "" : "s")} open`);
|
|
1179
|
+
}
|
|
1180
|
+
$$renderer2.push(`<!--]--></span></header> `);
|
|
1181
|
+
if (groups.length) {
|
|
1182
|
+
$$renderer2.push(`<!--[0--><ul class="divide-y"><!--[-->`);
|
|
1183
|
+
const each_array_2 = ensure_array_like(groups);
|
|
1184
|
+
for (let $$index_3 = 0, $$length2 = each_array_2.length; $$index_3 < $$length2; $$index_3++) {
|
|
1185
|
+
let g = each_array_2[$$index_3];
|
|
1186
|
+
const t = taskOf(g.task);
|
|
1187
|
+
const project = projectName(t?.projectId ?? g.project);
|
|
1188
|
+
$$renderer2.push(`<li${attr_class(`px-4 py-3 ${g.decisions.length ? "border-l-[3px] border-l-sea bg-sea/5 pl-[calc(1rem-3px)]" : ""}`)}${attr("data-catchup-task", g.task)}><div class="flex min-w-0 items-baseline gap-2"><span${attr_class(`size-2 shrink-0 translate-y-[-1px] rounded-full ${stringify(t ? dotClass[tone(t)] : "bg-muted-foreground")}`)} aria-hidden="true"></span> `);
|
|
1189
|
+
if (t) {
|
|
1190
|
+
$$renderer2.push(`<!--[0--><a class="min-w-0 truncate font-medium hover:underline"${attr("href", `/tasks/${stringify(encodeURIComponent(g.task))}`)}>${escape_html(g.title || g.task)}</a>`);
|
|
1191
|
+
} else {
|
|
1192
|
+
$$renderer2.push(`<!--[-1--><span class="min-w-0 truncate font-medium">${escape_html(g.title || g.task)}</span>`);
|
|
1193
|
+
}
|
|
1194
|
+
$$renderer2.push(`<!--]--> `);
|
|
1195
|
+
if (project) {
|
|
1196
|
+
$$renderer2.push(`<!--[0--><span class="shrink-0 text-xs text-muted-foreground">${escape_html(project)}</span>`);
|
|
1197
|
+
} else {
|
|
1198
|
+
$$renderer2.push("<!--[-1-->");
|
|
1199
|
+
}
|
|
1200
|
+
$$renderer2.push(`<!--]--> `);
|
|
1201
|
+
if (t?.pr) {
|
|
1202
|
+
$$renderer2.push(`<!--[0--><a class="ml-auto inline-flex shrink-0 items-center gap-1 font-mono text-xs text-sea hover:underline"${attr("href", t.pr.url)} target="_blank" rel="noreferrer">`);
|
|
1203
|
+
Git_pull_request($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
1204
|
+
$$renderer2.push(`<!---->${escape_html(prLabel(t.pr))}</a>`);
|
|
1205
|
+
} else {
|
|
1206
|
+
$$renderer2.push("<!--[-1-->");
|
|
1207
|
+
}
|
|
1208
|
+
$$renderer2.push(`<!--]--></div> `);
|
|
1209
|
+
if (g.moved) {
|
|
1210
|
+
$$renderer2.push(`<!--[0--><p class="mt-1.5 flex flex-wrap items-center gap-1.5 pl-4 text-xs">`);
|
|
1211
|
+
if (g.moved.from) {
|
|
1212
|
+
$$renderer2.push(`<!--[0--><span class="text-muted-foreground">${escape_html(g.moved.from)}</span> `);
|
|
1213
|
+
Arrow_right($$renderer2, { class: "size-3 text-muted-foreground", "aria-label": "to" });
|
|
1214
|
+
$$renderer2.push(`<!---->`);
|
|
1215
|
+
} else {
|
|
1216
|
+
$$renderer2.push(`<!--[-1--><span class="text-muted-foreground">New task</span> `);
|
|
1217
|
+
Arrow_right($$renderer2, { class: "size-3 text-muted-foreground", "aria-label": "now" });
|
|
1218
|
+
$$renderer2.push(`<!---->`);
|
|
1219
|
+
}
|
|
1220
|
+
$$renderer2.push(`<!--]--> `);
|
|
1221
|
+
if (g.moved.to) {
|
|
1222
|
+
$$renderer2.push(`<!--[0--><span${attr_class(`rounded-full border px-2 py-px font-medium ${stringify(t ? textClass[tone(t)] : "")}`)}>${escape_html(g.moved.to)}</span>`);
|
|
1223
|
+
} else {
|
|
1224
|
+
$$renderer2.push(`<!--[-1--><span class="text-muted-foreground">${escape_html(g.moved.text)}</span>`);
|
|
1225
|
+
}
|
|
1226
|
+
$$renderer2.push(`<!--]--></p>`);
|
|
1227
|
+
} else {
|
|
1228
|
+
$$renderer2.push("<!--[-1-->");
|
|
1229
|
+
}
|
|
1230
|
+
$$renderer2.push(`<!--]--> <!--[-->`);
|
|
1231
|
+
const each_array_3 = ensure_array_like(g.decisions);
|
|
1232
|
+
for (let di = 0, $$length3 = each_array_3.length; di < $$length3; di++) {
|
|
1233
|
+
let d = each_array_3[di];
|
|
1234
|
+
$$renderer2.push(`<details class="group mt-1.5 pl-4 text-sm" data-catchup-decision=""><summary class="flex cursor-pointer list-none items-baseline gap-2 [&::-webkit-details-marker]:hidden"><span class="shrink-0 rounded border border-sea/50 px-1 font-mono text-[0.65rem] tracking-wider text-sea">FOR YOU</span> <span class="min-w-0 flex-1 truncate group-open:whitespace-normal">${escape_html(d.summary)}</span> `);
|
|
1235
|
+
Chevron_right($$renderer2, {
|
|
1236
|
+
class: "size-3.5 shrink-0 translate-y-0.5 text-muted-foreground transition-transform group-open:rotate-90",
|
|
1237
|
+
"aria-hidden": "true"
|
|
1238
|
+
});
|
|
1239
|
+
$$renderer2.push(`<!----></summary> `);
|
|
1240
|
+
if (d.text && d.text !== d.summary) {
|
|
1241
|
+
$$renderer2.push(`<!--[0--><div class="chat-md mt-2 rounded-md border bg-paper px-3 py-2 font-reading text-[0.85rem] text-ink">${html(markdown(d.text))}</div>`);
|
|
1242
|
+
} else {
|
|
1243
|
+
$$renderer2.push("<!--[-1-->");
|
|
1244
|
+
}
|
|
1245
|
+
$$renderer2.push(`<!--]--></details>`);
|
|
1246
|
+
}
|
|
1247
|
+
$$renderer2.push(`<!--]--> <!--[-->`);
|
|
1248
|
+
const each_array_4 = ensure_array_like(g.cleared);
|
|
1249
|
+
for (let ci = 0, $$length3 = each_array_4.length; ci < $$length3; ci++) {
|
|
1250
|
+
let c = each_array_4[ci];
|
|
1251
|
+
$$renderer2.push(`<p class="mt-1.5 flex items-baseline gap-1.5 pl-4 text-xs text-muted-foreground">`);
|
|
1252
|
+
Check($$renderer2, {
|
|
1253
|
+
class: "size-3 shrink-0 translate-y-0.5 text-success",
|
|
1254
|
+
"aria-hidden": "true"
|
|
1255
|
+
});
|
|
1256
|
+
$$renderer2.push(`<!----> <span class="min-w-0 truncate">Decision settled${escape_html(c.text && c.text !== c.summary ? `: ${c.text}` : "")}</span></p>`);
|
|
1257
|
+
}
|
|
1258
|
+
$$renderer2.push(`<!--]--></li>`);
|
|
1259
|
+
}
|
|
1260
|
+
$$renderer2.push(`<!--]--></ul>`);
|
|
1261
|
+
} else {
|
|
1262
|
+
$$renderer2.push(`<!--[-1--><p class="px-4 py-3 text-sm text-muted-foreground">Nothing changed state. Firstmate is still on watch.</p>`);
|
|
1263
|
+
}
|
|
1264
|
+
$$renderer2.push(`<!--]--></section>`);
|
|
1265
|
+
} else if (e.kind === "crew") {
|
|
1266
|
+
$$renderer2.push(`<!--[3--><!--[-->`);
|
|
1267
|
+
const each_array_5 = ensure_array_like(parts(e));
|
|
1268
|
+
for (let i = 0, $$length2 = each_array_5.length; i < $$length2; i++) {
|
|
1269
|
+
let p = each_array_5[i];
|
|
1270
|
+
if (p.type === "prose") {
|
|
1271
|
+
$$renderer2.push("<!--[0-->");
|
|
1272
|
+
const shown = e.interrupted ? p.text.slice(0, Math.max(0, e.spoken - p.start)) : p.text;
|
|
1273
|
+
if (shown.trim()) {
|
|
1274
|
+
$$renderer2.push("<!--[0-->");
|
|
1275
|
+
if (speaking(e) || e.streaming) {
|
|
1276
|
+
$$renderer2.push("<!--[0-->");
|
|
1277
|
+
const lit = Math.max(0, Math.min(shown.length, e.spoken - p.start));
|
|
1278
|
+
$$renderer2.push(`<div class="bubble bubble-firstmate border-sea/30">${escape_html(shown.slice(0, lit))}<span class="text-muted-foreground">${escape_html(shown.slice(lit))}</span></div>`);
|
|
1279
|
+
} else {
|
|
1280
|
+
$$renderer2.push(`<!--[-1--><div class="chat-md bubble bubble-firstmate border-sea/30">${html(markdown(shown.trim()))}</div>`);
|
|
1281
|
+
}
|
|
1282
|
+
$$renderer2.push(`<!--]-->`);
|
|
1283
|
+
} else {
|
|
1284
|
+
$$renderer2.push("<!--[-1-->");
|
|
1285
|
+
}
|
|
1286
|
+
$$renderer2.push(`<!--]-->`);
|
|
1287
|
+
} else if ("index" in p && p.index >= 0 && e.visuals[p.index]) {
|
|
1288
|
+
$$renderer2.push("<!--[1-->");
|
|
1289
|
+
LiveVisual($$renderer2, {
|
|
1290
|
+
visual: e.visuals[p.index],
|
|
1291
|
+
key: `${stringify(e.id)}:${stringify(p.index)}`,
|
|
1292
|
+
tasks,
|
|
1293
|
+
now,
|
|
1294
|
+
projectName
|
|
1295
|
+
});
|
|
1296
|
+
} else if (!e.interrupted) {
|
|
1297
|
+
$$renderer2.push(`<!--[2--><p class="flex items-center gap-2 text-sm text-muted-foreground">`);
|
|
1298
|
+
Loader_circle($$renderer2, { class: "size-4 animate-spin", "aria-hidden": "true" });
|
|
1299
|
+
$$renderer2.push(`<!---->Putting something up…</p>`);
|
|
1300
|
+
} else {
|
|
1301
|
+
$$renderer2.push("<!--[-1-->");
|
|
1302
|
+
}
|
|
1303
|
+
$$renderer2.push(`<!--]-->`);
|
|
1304
|
+
}
|
|
1305
|
+
$$renderer2.push(`<!--]--> `);
|
|
1306
|
+
if (!e.text && e.streaming) {
|
|
1307
|
+
$$renderer2.push(`<!--[0--><div class="flex gap-1 py-2" role="status" aria-label="The discussion crew is thinking"><span class="size-1.5 animate-bounce rounded-full bg-sea [animation-delay:-0.3s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-sea [animation-delay:-0.15s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-sea"></span></div>`);
|
|
1308
|
+
} else {
|
|
1309
|
+
$$renderer2.push("<!--[-1-->");
|
|
1310
|
+
}
|
|
1311
|
+
$$renderer2.push(`<!--]--> `);
|
|
1312
|
+
if (e.interrupted) {
|
|
1313
|
+
$$renderer2.push(`<!--[0--><span class="worked-for w-full">Interrupted</span>`);
|
|
1314
|
+
} else {
|
|
1315
|
+
$$renderer2.push("<!--[-1-->");
|
|
1316
|
+
}
|
|
1317
|
+
$$renderer2.push(`<!--]-->`);
|
|
1318
|
+
} else {
|
|
1319
|
+
$$renderer2.push("<!--[-1-->");
|
|
1320
|
+
}
|
|
1321
|
+
$$renderer2.push(`<!--]--></div></article>`);
|
|
1322
|
+
}
|
|
1323
|
+
$$renderer2.push(`<!--]-->`);
|
|
1324
|
+
}
|
|
1325
|
+
$$renderer2.push(`<!--]-->`);
|
|
1326
|
+
});
|
|
1327
|
+
}
|
|
1328
|
+
const TOO_LARGE = `Too large · ${UPLOAD_MAX_BYTES / (1024 * 1024)} MB at most`;
|
|
1329
|
+
class Attachments {
|
|
1330
|
+
drafts = [];
|
|
1331
|
+
/** Files dropped on the chat, for the composer to take. */
|
|
1332
|
+
dropped = [];
|
|
1333
|
+
inflight = /* @__PURE__ */ new Map();
|
|
1334
|
+
/** Add files and start uploading them. `pasted`: from the clipboard, so an image under the browser's generic name gets a readable one. */
|
|
1335
|
+
add(files, token, pasted = false) {
|
|
1336
|
+
for (const f of files) {
|
|
1337
|
+
const generic = pasted && isImage(f.type) && /^image\.\w+$/.test(f.name);
|
|
1338
|
+
const name = generic || !f.name ? pastedName(f.type) : f.name;
|
|
1339
|
+
this.drafts.push({
|
|
1340
|
+
id: crypto.randomUUID(),
|
|
1341
|
+
name,
|
|
1342
|
+
size: f.size,
|
|
1343
|
+
type: f.type,
|
|
1344
|
+
preview: isImage(f.type) ? URL.createObjectURL(f) : null,
|
|
1345
|
+
state: "uploading",
|
|
1346
|
+
progress: 0,
|
|
1347
|
+
error: null,
|
|
1348
|
+
upload: null
|
|
1349
|
+
});
|
|
1350
|
+
const d = this.drafts[this.drafts.length - 1];
|
|
1351
|
+
if (f.size > UPLOAD_MAX_BYTES) this.fail(d, TOO_LARGE);
|
|
1352
|
+
else if (f.size === 0) this.fail(d, "Empty file");
|
|
1353
|
+
else this.send(d, f, token);
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
remove(id) {
|
|
1357
|
+
this.inflight.get(id)?.abort();
|
|
1358
|
+
this.inflight.delete(id);
|
|
1359
|
+
const d = this.drafts.find((x) => x.id === id);
|
|
1360
|
+
if (d?.preview) URL.revokeObjectURL(d.preview);
|
|
1361
|
+
this.drafts = this.drafts.filter((x) => x.id !== id);
|
|
1362
|
+
}
|
|
1363
|
+
/** The uploaded files, handed to the message; failed ones stay listed. */
|
|
1364
|
+
take() {
|
|
1365
|
+
const ready = this.drafts.filter((d) => d.state === "ready" && d.upload);
|
|
1366
|
+
for (const d of ready) if (d.preview) URL.revokeObjectURL(d.preview);
|
|
1367
|
+
this.drafts = this.drafts.filter((d) => !ready.includes(d));
|
|
1368
|
+
return ready.map((d) => d.upload);
|
|
1369
|
+
}
|
|
1370
|
+
get uploading() {
|
|
1371
|
+
return this.drafts.some((d) => d.state === "uploading");
|
|
1372
|
+
}
|
|
1373
|
+
get ready() {
|
|
1374
|
+
return this.drafts.some((d) => d.state === "ready");
|
|
1375
|
+
}
|
|
1376
|
+
fail(d, error) {
|
|
1377
|
+
d.state = "failed";
|
|
1378
|
+
d.error = error;
|
|
1379
|
+
}
|
|
1380
|
+
send(d, file, token) {
|
|
1381
|
+
const xhr = new XMLHttpRequest();
|
|
1382
|
+
this.inflight.set(d.id, xhr);
|
|
1383
|
+
xhr.open("POST", "/api/firstmate/uploads");
|
|
1384
|
+
xhr.setRequestHeader(SESSION_HEADER, token);
|
|
1385
|
+
xhr.setRequestHeader(NAME_HEADER, encodeURIComponent(d.name));
|
|
1386
|
+
xhr.setRequestHeader(TYPE_HEADER, file.type);
|
|
1387
|
+
xhr.setRequestHeader("content-type", "application/octet-stream");
|
|
1388
|
+
xhr.upload.onprogress = (e) => {
|
|
1389
|
+
if (e.lengthComputable) d.progress = e.loaded / e.total;
|
|
1390
|
+
};
|
|
1391
|
+
xhr.onload = () => {
|
|
1392
|
+
this.inflight.delete(d.id);
|
|
1393
|
+
let body = {};
|
|
1394
|
+
try {
|
|
1395
|
+
body = JSON.parse(xhr.responseText);
|
|
1396
|
+
} catch {
|
|
1397
|
+
}
|
|
1398
|
+
if (xhr.status === 201 && typeof body.path === "string") {
|
|
1399
|
+
d.upload = {
|
|
1400
|
+
path: body.path,
|
|
1401
|
+
name: body.name ?? d.name,
|
|
1402
|
+
size: body.size ?? d.size,
|
|
1403
|
+
type: body.type ?? ""
|
|
1404
|
+
};
|
|
1405
|
+
d.progress = 1;
|
|
1406
|
+
d.state = "ready";
|
|
1407
|
+
} else if (xhr.status === 413) this.fail(d, TOO_LARGE);
|
|
1408
|
+
else this.fail(d, body.message ?? `Not uploaded · Wheelhouse answered ${xhr.status}`);
|
|
1409
|
+
};
|
|
1410
|
+
xhr.onerror = () => {
|
|
1411
|
+
this.inflight.delete(d.id);
|
|
1412
|
+
this.fail(d, "Could not reach the Wheelhouse server");
|
|
1413
|
+
};
|
|
1414
|
+
xhr.send(file);
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
const attachments = new Attachments();
|
|
1418
|
+
function SentFiles($$renderer, $$props) {
|
|
1419
|
+
$$renderer.component(($$renderer2) => {
|
|
1420
|
+
let { files, pending = false } = $$props;
|
|
1421
|
+
let broken = {};
|
|
1422
|
+
const thumb = (a) => broken[a.path] ? null : thumbUrl(a);
|
|
1423
|
+
const images = derived(() => files.filter((a) => thumb(a)));
|
|
1424
|
+
let open = null;
|
|
1425
|
+
let $$settled = true;
|
|
1426
|
+
let $$inner_renderer;
|
|
1427
|
+
function $$render_inner($$renderer3) {
|
|
1428
|
+
$$renderer3.push(`<div${attr_class(`mt-1.5 w-full max-w-[min(85%,62ch)] min-w-0 rounded-lg border border-hair bg-card px-3 py-2 sm:min-w-72 ${pending ? "border-dashed opacity-60" : ""}`)} data-sent-files=""><p class="mb-0.5 text-[0.8rem] font-semibold tracking-[0.08em] text-muted-foreground" style="font-variant-caps: all-small-caps">${escape_html(files.length === 1 ? "1 file attached" : `${files.length} files attached`)}</p> <ul class="flex flex-col divide-y divide-hair"><!--[-->`);
|
|
1429
|
+
const each_array = ensure_array_like(files);
|
|
1430
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
1431
|
+
let a = each_array[$$index];
|
|
1432
|
+
const src = thumb(a);
|
|
1433
|
+
$$renderer3.push(`<li class="flex items-center gap-2.5 py-1.5 text-sm">`);
|
|
1434
|
+
if (src) {
|
|
1435
|
+
$$renderer3.push(`<!--[0--><button type="button" class="shrink-0 cursor-zoom-in rounded"${attr("aria-label", `Enlarge ${stringify(a.name)}`)}><img${attr("src", src)} alt="" loading="lazy" class="size-10 rounded border border-hair bg-muted object-cover" onerror="this.__e=event"/></button>`);
|
|
1436
|
+
} else {
|
|
1437
|
+
$$renderer3.push(`<!--[-1--><span class="flex size-10 shrink-0 items-center justify-center rounded bg-sea/10 text-sea" aria-hidden="true">`);
|
|
1438
|
+
File_text($$renderer3, { class: "size-4" });
|
|
1439
|
+
$$renderer3.push(`<!----></span>`);
|
|
1440
|
+
}
|
|
1441
|
+
$$renderer3.push(`<!--]--> <span class="min-w-0 truncate font-medium"${attr("title", a.name)}>${escape_html(a.name)}</span> <span class="ml-auto shrink-0 pl-2 text-xs text-muted-foreground">${escape_html(kindLabel(a))} · ${escape_html(fileSize(a.size))}</span></li>`);
|
|
1442
|
+
}
|
|
1443
|
+
$$renderer3.push(`<!--]--></ul></div> `);
|
|
1444
|
+
if (images().length) {
|
|
1445
|
+
$$renderer3.push("<!--[0-->");
|
|
1446
|
+
Lightbox($$renderer3, {
|
|
1447
|
+
shots: images().map((a) => ({ name: a.name, url: thumb(a) ?? "" })),
|
|
1448
|
+
get index() {
|
|
1449
|
+
return open;
|
|
1450
|
+
},
|
|
1451
|
+
set index($$value) {
|
|
1452
|
+
open = $$value;
|
|
1453
|
+
$$settled = false;
|
|
1454
|
+
}
|
|
1455
|
+
});
|
|
1456
|
+
} else {
|
|
1457
|
+
$$renderer3.push("<!--[-1-->");
|
|
1458
|
+
}
|
|
1459
|
+
$$renderer3.push(`<!--]-->`);
|
|
1460
|
+
}
|
|
1461
|
+
do {
|
|
1462
|
+
$$settled = true;
|
|
1463
|
+
$$inner_renderer = $$renderer2.copy();
|
|
1464
|
+
$$render_inner($$inner_renderer);
|
|
1465
|
+
} while (!$$settled);
|
|
1466
|
+
$$renderer2.subsume($$inner_renderer);
|
|
1467
|
+
});
|
|
1468
|
+
}
|
|
1469
|
+
const headOf = (c) => ({
|
|
1470
|
+
cardId: c.id,
|
|
1471
|
+
taskId: c.taskId,
|
|
1472
|
+
taskTitle: c.taskTitle,
|
|
1473
|
+
projectId: c.projectId,
|
|
1474
|
+
kind: c.kind,
|
|
1475
|
+
key: c.key,
|
|
1476
|
+
question: c.title,
|
|
1477
|
+
askedAt: c.askedAt,
|
|
1478
|
+
secondMate: c.secondMate ?? null
|
|
1479
|
+
});
|
|
1480
|
+
function chatDecisions(cards, answered, local, opened = /* @__PURE__ */ new Set()) {
|
|
1481
|
+
const out = [];
|
|
1482
|
+
const shown = /* @__PURE__ */ new Set();
|
|
1483
|
+
for (const c of cards) {
|
|
1484
|
+
const head2 = headOf(c);
|
|
1485
|
+
const mine = local[c.id]?.question === c.question ? local[c.id] : null;
|
|
1486
|
+
const taken = c.sent && c.sent.delivery !== "failed" ? c.sent : null;
|
|
1487
|
+
if (!escalated(c) && !opened.has(c.id) && !mine && !taken) continue;
|
|
1488
|
+
if (mine && !(mine.posted && taken)) {
|
|
1489
|
+
out.push({
|
|
1490
|
+
id: c.id,
|
|
1491
|
+
head: head2,
|
|
1492
|
+
card: c,
|
|
1493
|
+
answer: {
|
|
1494
|
+
choice: mine.choice,
|
|
1495
|
+
label: choiceLabel(c, mine.choice),
|
|
1496
|
+
picks: mine.picks,
|
|
1497
|
+
note: mine.note,
|
|
1498
|
+
at: null,
|
|
1499
|
+
delivery: mine.posted ? null : "sending"
|
|
1500
|
+
}
|
|
1501
|
+
});
|
|
1502
|
+
} else if (taken) {
|
|
1503
|
+
shown.add(taken.requestId);
|
|
1504
|
+
out.push({
|
|
1505
|
+
id: c.id,
|
|
1506
|
+
head: head2,
|
|
1507
|
+
card: c,
|
|
1508
|
+
answer: {
|
|
1509
|
+
choice: taken.choice,
|
|
1510
|
+
label: choiceLabel(c, taken.choice),
|
|
1511
|
+
picks: taken.picks,
|
|
1512
|
+
note: taken.note,
|
|
1513
|
+
at: taken.at,
|
|
1514
|
+
delivery: taken.delivery
|
|
1515
|
+
}
|
|
1516
|
+
});
|
|
1517
|
+
} else {
|
|
1518
|
+
out.push({ id: c.id, head: head2, card: c, answer: null });
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
const open = new Map(out.map((d) => [d.id, d]));
|
|
1522
|
+
for (const a of answered) {
|
|
1523
|
+
if (shown.has(a.requestId) || a.delivery === "failed") continue;
|
|
1524
|
+
if (open.get(a.cardId)?.head.question === a.question) continue;
|
|
1525
|
+
out.push({
|
|
1526
|
+
id: `answer:${a.requestId}`,
|
|
1527
|
+
head: {
|
|
1528
|
+
cardId: a.cardId,
|
|
1529
|
+
taskId: a.taskId,
|
|
1530
|
+
taskTitle: a.taskTitle,
|
|
1531
|
+
projectId: a.projectId,
|
|
1532
|
+
kind: a.kind,
|
|
1533
|
+
key: a.key,
|
|
1534
|
+
question: a.question,
|
|
1535
|
+
askedAt: a.askedAt
|
|
1536
|
+
},
|
|
1537
|
+
card: null,
|
|
1538
|
+
answer: {
|
|
1539
|
+
choice: a.choice,
|
|
1540
|
+
label: a.label,
|
|
1541
|
+
picks: a.picks,
|
|
1542
|
+
note: a.note,
|
|
1543
|
+
at: a.answeredAt,
|
|
1544
|
+
delivery: a.delivery
|
|
1545
|
+
}
|
|
1546
|
+
});
|
|
1547
|
+
}
|
|
1548
|
+
return out;
|
|
1549
|
+
}
|
|
1550
|
+
function decisionFor(id, decisions) {
|
|
1551
|
+
if (!id) return null;
|
|
1552
|
+
const held = decisions.filter((d) => d.head.kind === "hold");
|
|
1553
|
+
const named = (d) => d.head.taskId === id || d.head.key === id;
|
|
1554
|
+
return held.find((d) => d.card && named(d)) ?? held.findLast(named) ?? null;
|
|
1555
|
+
}
|
|
1556
|
+
const time$1 = (s) => {
|
|
1557
|
+
const t = s ? Date.parse(s) : NaN;
|
|
1558
|
+
return Number.isNaN(t) ? null : t;
|
|
1559
|
+
};
|
|
1560
|
+
const placeAt = (d) => time$1(d.head.askedAt) ?? time$1(d.answer?.at);
|
|
1561
|
+
function placeDecisions(items, decisions) {
|
|
1562
|
+
const before = /* @__PURE__ */ new Map();
|
|
1563
|
+
const end = [];
|
|
1564
|
+
const times = items.map((it) => time$1(it.at));
|
|
1565
|
+
const first = times.find((t) => t !== null) ?? null;
|
|
1566
|
+
const sorted = decisions.map((d) => ({ d, at: placeAt(d) })).sort((a, b) => (a.at ?? Infinity) - (b.at ?? Infinity) || a.d.id.localeCompare(b.d.id));
|
|
1567
|
+
for (const { d, at } of sorted) {
|
|
1568
|
+
if (at === null) {
|
|
1569
|
+
end.push(d);
|
|
1570
|
+
continue;
|
|
1571
|
+
}
|
|
1572
|
+
if (d.answer && !d.card && (first === null || at < first)) continue;
|
|
1573
|
+
const i = times.findIndex((t) => t !== null && t > at);
|
|
1574
|
+
if (i < 0) end.push(d);
|
|
1575
|
+
else before.set(i, [...before.get(i) ?? [], d]);
|
|
1576
|
+
}
|
|
1577
|
+
return { before, end };
|
|
1578
|
+
}
|
|
1579
|
+
const QUOTED = /^> About the decision on ([^\s()]+) \(key ([^\s()]+)\), not an answer yet: “(.*)”\n(?:> [^\n]*\n)*\n([\s\S]+)$/;
|
|
1580
|
+
const cardIdOf = (ref) => `${ref.taskId}:${ref.key}`;
|
|
1581
|
+
function parseDiscuss(text) {
|
|
1582
|
+
const m = text.replace(/\r\n?/g, "\n").match(QUOTED);
|
|
1583
|
+
if (!m || !m[4].trim()) return null;
|
|
1584
|
+
return { cardId: cardIdOf({ taskId: m[1], key: m[2] }), question: m[3], body: m[4].trim() };
|
|
1585
|
+
}
|
|
1586
|
+
function refinedForm(thread, question) {
|
|
1587
|
+
const quoted = snippetOf(question);
|
|
1588
|
+
const msgs = thread?.messages ?? [];
|
|
1589
|
+
for (let i = msgs.length - 1; i >= 0; i--) {
|
|
1590
|
+
const m = msgs[i];
|
|
1591
|
+
const f = m.who === "firstmate" && m.question === quoted ? formIn(m.text) : null;
|
|
1592
|
+
if (f) return { id: m.id, form: f };
|
|
1593
|
+
}
|
|
1594
|
+
return null;
|
|
1595
|
+
}
|
|
1596
|
+
function byQuestion(thread, question) {
|
|
1597
|
+
const quoted = snippetOf(question);
|
|
1598
|
+
const earlier = [];
|
|
1599
|
+
const current = [];
|
|
1600
|
+
for (const m of thread?.messages ?? []) {
|
|
1601
|
+
if (m.question === quoted) {
|
|
1602
|
+
current.push(m);
|
|
1603
|
+
continue;
|
|
1604
|
+
}
|
|
1605
|
+
const last = earlier.at(-1);
|
|
1606
|
+
if (last?.question === m.question) last.messages.push(m);
|
|
1607
|
+
else earlier.push({ question: m.question, messages: [m] });
|
|
1608
|
+
}
|
|
1609
|
+
return { earlier, current };
|
|
1610
|
+
}
|
|
1611
|
+
function threads(items, cards) {
|
|
1612
|
+
const byCard = /* @__PURE__ */ new Map();
|
|
1613
|
+
const hidden = /* @__PURE__ */ new Set();
|
|
1614
|
+
for (let i = 0; i < items.length; i++) {
|
|
1615
|
+
const it = items[i];
|
|
1616
|
+
if (it.kind !== "user") continue;
|
|
1617
|
+
const d = parseDiscuss(it.text);
|
|
1618
|
+
if (!d || !cards.has(d.cardId)) continue;
|
|
1619
|
+
const thread = byCard.get(d.cardId) ?? { messages: [], answering: false };
|
|
1620
|
+
byCard.set(d.cardId, thread);
|
|
1621
|
+
thread.messages.push({
|
|
1622
|
+
id: it.id,
|
|
1623
|
+
who: "captain",
|
|
1624
|
+
text: d.body,
|
|
1625
|
+
at: it.at,
|
|
1626
|
+
question: d.question
|
|
1627
|
+
});
|
|
1628
|
+
thread.answering = false;
|
|
1629
|
+
hidden.add(it.id);
|
|
1630
|
+
const next = items[i + 1];
|
|
1631
|
+
if (next?.kind !== "turn" || next.trigger !== "captain") continue;
|
|
1632
|
+
if (next.parts.some((p) => p.kind === "question")) continue;
|
|
1633
|
+
hidden.add(next.id);
|
|
1634
|
+
for (const p of next.parts) {
|
|
1635
|
+
if (p.kind === "text")
|
|
1636
|
+
thread.messages.push({
|
|
1637
|
+
id: p.id,
|
|
1638
|
+
who: "firstmate",
|
|
1639
|
+
text: p.text,
|
|
1640
|
+
at: next.at,
|
|
1641
|
+
question: d.question
|
|
1642
|
+
});
|
|
1643
|
+
}
|
|
1644
|
+
thread.answering = !next.done && !next.interrupted;
|
|
1645
|
+
i++;
|
|
1646
|
+
}
|
|
1647
|
+
return { byCard, hidden };
|
|
1648
|
+
}
|
|
1649
|
+
function pendingThreads(pending) {
|
|
1650
|
+
const out = /* @__PURE__ */ new Map();
|
|
1651
|
+
for (const p of pending) {
|
|
1652
|
+
const d = parseDiscuss(p.text);
|
|
1653
|
+
if (!d) continue;
|
|
1654
|
+
out.set(d.cardId, [...out.get(d.cardId) ?? [], { pending: p, body: d.body }]);
|
|
1655
|
+
}
|
|
1656
|
+
return out;
|
|
1657
|
+
}
|
|
1658
|
+
const BRIEFING_MIN_CHARS = 500;
|
|
1659
|
+
function isBriefing(text) {
|
|
1660
|
+
if (!text || text.length < BRIEFING_MIN_CHARS) return false;
|
|
1661
|
+
const prose = text.replace(
|
|
1662
|
+
/^ {0,3}(`{3,}|~{3,})[^\n]*\n[\s\S]*?(?:^ {0,3}\1[`~]*[ \t]*$|(?![\s\S]))/gm,
|
|
1663
|
+
""
|
|
1664
|
+
);
|
|
1665
|
+
return /^\s{0,3}(?:[-*+]|\d+[.)]|#{1,4})\s+\S/m.test(prose);
|
|
1666
|
+
}
|
|
1667
|
+
const BLOCK$1 = /```decision-form[^\n]*\n[\s\S]*?(?:```|$)/g;
|
|
1668
|
+
const ANSWER = /^Decided( \(other\))?: (.+?)(?: — for: “(.+)”)?$/;
|
|
1669
|
+
const DISMISSED = /^Dismissed(?: — for: “(.+)”)?$/;
|
|
1670
|
+
const tidy = (s) => s.replace(/\s+/g, " ").trim();
|
|
1671
|
+
function formAtEnd(text) {
|
|
1672
|
+
const blocks = [...text.matchAll(BLOCK$1)];
|
|
1673
|
+
const last = blocks[blocks.length - 1];
|
|
1674
|
+
if (!last || text.slice(last.index + last[0].length).trim()) return null;
|
|
1675
|
+
const form = formIn(text);
|
|
1676
|
+
return form && { form, words: text.slice(0, last.index).trim(), id: formIdIn(text) };
|
|
1677
|
+
}
|
|
1678
|
+
function answerText(form, a, note) {
|
|
1679
|
+
const words = tidy(a.decided ?? "").slice(0, DECIDED_MAX);
|
|
1680
|
+
if (!words) return "";
|
|
1681
|
+
const question = tidy(form.prompt ?? "");
|
|
1682
|
+
const line = question ? `Decided: ${words} — for: “${question}”` : `Decided${a.other ? " (other)" : ""}: ${words}`;
|
|
1683
|
+
const more = note?.trim();
|
|
1684
|
+
return more ? `${line}
|
|
1685
|
+
|
|
1686
|
+
${more}` : line;
|
|
1687
|
+
}
|
|
1688
|
+
function dismissText(form, reason) {
|
|
1689
|
+
const question = tidy(form.prompt ?? "");
|
|
1690
|
+
const line = question ? `Dismissed — for: “${question}”` : "Dismissed";
|
|
1691
|
+
const why = tidy(reason ?? "");
|
|
1692
|
+
return why ? `${line}
|
|
1693
|
+
|
|
1694
|
+
Reason: ${why}` : line;
|
|
1695
|
+
}
|
|
1696
|
+
function parseAnswer(text) {
|
|
1697
|
+
const lines = text.replace(/\r\n?/g, "\n").trim().split("\n");
|
|
1698
|
+
const d = DISMISSED.exec(lines[0]);
|
|
1699
|
+
if (d) {
|
|
1700
|
+
const why = lines.slice(1).find((l) => l.startsWith("Reason: "));
|
|
1701
|
+
return {
|
|
1702
|
+
words: "",
|
|
1703
|
+
question: d[1] ? tidy(d[1]) : null,
|
|
1704
|
+
other: false,
|
|
1705
|
+
dismissed: why ? tidy(why.slice("Reason: ".length)) : ""
|
|
1706
|
+
};
|
|
1707
|
+
}
|
|
1708
|
+
const m = ANSWER.exec(lines[0]);
|
|
1709
|
+
const words = m ? tidy(m[2]) : "";
|
|
1710
|
+
return words ? { words, question: m?.[3] ? tidy(m[3]) : null, other: !!m?.[1], dismissed: null } : null;
|
|
1711
|
+
}
|
|
1712
|
+
const fits = (form, a) => a.other || a.dismissed !== null || form.kind === "text" || form.kind !== "picks" && form.options.some((o) => o.answer.decided === a.words);
|
|
1713
|
+
function chatForms(items, hidden, pending = [], inbox2 = []) {
|
|
1714
|
+
const said = [];
|
|
1715
|
+
const note = (m) => ({
|
|
1716
|
+
id: null,
|
|
1717
|
+
text: m.text,
|
|
1718
|
+
item: null,
|
|
1719
|
+
failed: m.delivery === "failed"
|
|
1720
|
+
});
|
|
1721
|
+
let n = 0;
|
|
1722
|
+
for (const it of items) {
|
|
1723
|
+
const at = Date.parse(it.at);
|
|
1724
|
+
while (n < inbox2.length && Date.parse(inbox2[n].submittedAt) < at) said.push(note(inbox2[n++]));
|
|
1725
|
+
if (hidden.has(it.id)) continue;
|
|
1726
|
+
said.push({ id: it.id, text: it.kind === "user" ? it.text : null, item: it, failed: false });
|
|
1727
|
+
}
|
|
1728
|
+
for (const m of inbox2.slice(n)) said.push(note(m));
|
|
1729
|
+
const shown = /* @__PURE__ */ new Set();
|
|
1730
|
+
const unshown = pending.filter((p) => {
|
|
1731
|
+
const from = said.findIndex((x) => x.id !== null && x.id === p.after);
|
|
1732
|
+
const echo = said.findIndex(
|
|
1733
|
+
(x, i) => i > from && !shown.has(i) && x.text !== null && tidy(x.text) === tidy(p.text)
|
|
1734
|
+
);
|
|
1735
|
+
if (echo < 0) return true;
|
|
1736
|
+
shown.add(echo);
|
|
1737
|
+
return false;
|
|
1738
|
+
});
|
|
1739
|
+
const out = /* @__PURE__ */ new Map();
|
|
1740
|
+
const asked = [];
|
|
1741
|
+
const waiting = (f) => f.decided === null && f.dismissed === null;
|
|
1742
|
+
const answer = (text) => {
|
|
1743
|
+
const a = parseAnswer(text);
|
|
1744
|
+
if (!a) return;
|
|
1745
|
+
const to = a.question ? asked.findLast((f) => waiting(f) && tidy(f.form.prompt ?? "") === a.question) : asked.at(-1);
|
|
1746
|
+
if (!to || !waiting(to) || !(a.question || fits(to.form, a))) return;
|
|
1747
|
+
if (a.dismissed !== null) to.dismissed = a.dismissed;
|
|
1748
|
+
else to.decided = a.words;
|
|
1749
|
+
};
|
|
1750
|
+
for (const { text, item, failed } of said) {
|
|
1751
|
+
if (text !== null && !failed) answer(text);
|
|
1752
|
+
if (item?.kind !== "turn") continue;
|
|
1753
|
+
for (const p of item.parts) {
|
|
1754
|
+
const reply = p.kind === "text" ? formAtEnd(p.text) : null;
|
|
1755
|
+
if (!reply) continue;
|
|
1756
|
+
const f = { ...reply, decided: null, dismissed: null, active: false };
|
|
1757
|
+
out.set(p.id, f);
|
|
1758
|
+
asked.push(f);
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
for (const p of unshown) answer(p.text);
|
|
1762
|
+
const seen = /* @__PURE__ */ new Set();
|
|
1763
|
+
for (const f of asked.toReversed()) {
|
|
1764
|
+
const key = f.form.prompt ? tidy(f.form.prompt) : null;
|
|
1765
|
+
f.active = waiting(f) && (key === null ? f === asked.at(-1) : !seen.has(key));
|
|
1766
|
+
if (key !== null) seen.add(key);
|
|
1767
|
+
}
|
|
1768
|
+
return out;
|
|
1769
|
+
}
|
|
1770
|
+
const PURPOSE_MAX = 300;
|
|
1771
|
+
const PROJECTS_MAX = 20;
|
|
1772
|
+
const BLOCK = /^```vault-request[ \t]*\r?\n([\s\S]*?)\r?\n?```[ \t]*$/gm;
|
|
1773
|
+
const STORED = /^Stored secret ([A-Za-z_][A-Za-z0-9_]{0,127}) in the vault\.(?: |$)/;
|
|
1774
|
+
function parseRequest(body) {
|
|
1775
|
+
const fields = /* @__PURE__ */ new Map();
|
|
1776
|
+
for (const raw of body.split(/\r?\n/)) {
|
|
1777
|
+
const line = raw.trim();
|
|
1778
|
+
if (!line) continue;
|
|
1779
|
+
const m = /^([a-z]+)\s*:\s*(.*)$/i.exec(line);
|
|
1780
|
+
if (!m) return null;
|
|
1781
|
+
const key = m[1].toLowerCase();
|
|
1782
|
+
if (!["name", "purpose", "projects"].includes(key) || fields.has(key)) return null;
|
|
1783
|
+
fields.set(key, m[2].trim());
|
|
1784
|
+
}
|
|
1785
|
+
const name = fields.get("name") ?? "";
|
|
1786
|
+
if (!SECRET_NAME.test(name)) return null;
|
|
1787
|
+
const purpose = fields.get("purpose") ?? "";
|
|
1788
|
+
if (purpose.length > PURPOSE_MAX) return null;
|
|
1789
|
+
const projects = [
|
|
1790
|
+
...new Set(
|
|
1791
|
+
(fields.get("projects") ?? "").split(/[\s,]+/).map((p) => p.trim()).filter(Boolean)
|
|
1792
|
+
)
|
|
1793
|
+
];
|
|
1794
|
+
if (projects.length > PROJECTS_MAX || !projects.every((p) => PROJECT_ID.test(p))) return null;
|
|
1795
|
+
return { name, purpose, projects };
|
|
1796
|
+
}
|
|
1797
|
+
function vaultRequests(text) {
|
|
1798
|
+
if (!text.includes("```vault-request")) return { words: text, requests: [] };
|
|
1799
|
+
const requests = [];
|
|
1800
|
+
const words = text.replace(BLOCK, (block, body) => {
|
|
1801
|
+
const r = parseRequest(body);
|
|
1802
|
+
if (!r) return block;
|
|
1803
|
+
requests.push(r);
|
|
1804
|
+
return "";
|
|
1805
|
+
});
|
|
1806
|
+
return requests.length ? { words: words.replace(/\n{3,}/g, "\n\n").trim(), requests } : { words: text, requests };
|
|
1807
|
+
}
|
|
1808
|
+
function storedText(name, projects) {
|
|
1809
|
+
const who = projects.length ? `${andList(projects)} can use it.` : "No project can use it yet.";
|
|
1810
|
+
return `Stored secret ${name} in the vault. ${who}`;
|
|
1811
|
+
}
|
|
1812
|
+
function parseStored(text) {
|
|
1813
|
+
return STORED.exec(text.trim())?.[1] ?? null;
|
|
1814
|
+
}
|
|
1815
|
+
function vaultAsks(items, pending = [], inbox2 = []) {
|
|
1816
|
+
const out = /* @__PURE__ */ new Map();
|
|
1817
|
+
const asked = [];
|
|
1818
|
+
const stored = (text, at = Infinity) => {
|
|
1819
|
+
const name = parseStored(text);
|
|
1820
|
+
if (!name) return;
|
|
1821
|
+
for (const [a, when] of asked) if (a.request.name === name && when < at) a.stored = true;
|
|
1822
|
+
};
|
|
1823
|
+
for (const it of items) {
|
|
1824
|
+
if (it.kind === "user") stored(it.text);
|
|
1825
|
+
if (it.kind !== "turn") continue;
|
|
1826
|
+
const at = Date.parse(it.at);
|
|
1827
|
+
for (const p of it.parts) {
|
|
1828
|
+
if (p.kind !== "text") continue;
|
|
1829
|
+
const { requests } = vaultRequests(p.text);
|
|
1830
|
+
if (!requests.length) continue;
|
|
1831
|
+
const asks = requests.map((request) => ({ request, stored: false }));
|
|
1832
|
+
out.set(p.id, asks);
|
|
1833
|
+
asked.push(...asks.map((a) => [a, at]));
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
for (const m of inbox2) {
|
|
1837
|
+
if (m.delivery !== "failed") stored(m.text, Date.parse(m.submittedAt));
|
|
1838
|
+
}
|
|
1839
|
+
for (const p of pending) stored(p.text);
|
|
1840
|
+
return out;
|
|
1841
|
+
}
|
|
1842
|
+
const WINDOW_ITEMS = 120;
|
|
1843
|
+
function windowStart(items, from, size = WINDOW_ITEMS) {
|
|
1844
|
+
return Math.max(0, items.length - size);
|
|
1845
|
+
}
|
|
1846
|
+
const tagKey = (tasks) => tasks.map(
|
|
1847
|
+
(t) => `${t.id}\0${t.projectId ?? ""}\0${t.secondMate ? 1 : 0}\0${t.pr?.url ?? ""}\0${t.preview?.url ?? ""}\0${t.board?.url ?? ""}`
|
|
1848
|
+
).join("");
|
|
1849
|
+
const previewKey = (tasks) => `${tagKey(tasks)}${tasks.map(
|
|
1850
|
+
(t) => `${t.status}\0${t.mergedAt ?? ""}\0${t.preview?.reportedAt ?? ""}\0${t.board?.reportedAt ?? ""}`
|
|
1851
|
+
).join("")}`;
|
|
1852
|
+
function sameWhile(key) {
|
|
1853
|
+
let last = null;
|
|
1854
|
+
return (v) => {
|
|
1855
|
+
const k = key(v);
|
|
1856
|
+
if (!last || last.k !== k) last = { k, v };
|
|
1857
|
+
return last.v;
|
|
1858
|
+
};
|
|
1859
|
+
}
|
|
1860
|
+
function clearedStart(items, clearedAt) {
|
|
1861
|
+
const t = clearedAt ? Date.parse(clearedAt) : NaN;
|
|
1862
|
+
if (!Number.isFinite(t)) return 0;
|
|
1863
|
+
const i = items.findIndex((it) => Date.parse(it.at) > t);
|
|
1864
|
+
return i < 0 ? items.length : i;
|
|
1865
|
+
}
|
|
1866
|
+
const KEY$2 = "wheelhouse-chat-tags";
|
|
1867
|
+
const FOLD_KEY = "wheelhouse-chat-fold";
|
|
1868
|
+
const MAX = 1e3;
|
|
1869
|
+
class ChatTags {
|
|
1870
|
+
retags = {};
|
|
1871
|
+
fold = false;
|
|
1872
|
+
loaded = false;
|
|
1873
|
+
load() {
|
|
1874
|
+
if (this.loaded) return;
|
|
1875
|
+
this.loaded = true;
|
|
1876
|
+
try {
|
|
1877
|
+
const v = JSON.parse(localStorage.getItem(KEY$2) ?? "{}");
|
|
1878
|
+
if (v && typeof v === "object" && !Array.isArray(v)) this.retags = Object.fromEntries(Object.entries(v).filter((e) => typeof e[1] === "string"));
|
|
1879
|
+
this.fold = localStorage.getItem(FOLD_KEY) === "1";
|
|
1880
|
+
} catch {
|
|
1881
|
+
this.retags = {};
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
/** Moves a message or card to a thread. */
|
|
1885
|
+
move(key, topic) {
|
|
1886
|
+
this.load();
|
|
1887
|
+
const next = { ...this.retags };
|
|
1888
|
+
delete next[key];
|
|
1889
|
+
next[key] = topic;
|
|
1890
|
+
const keys = Object.keys(next);
|
|
1891
|
+
for (const k of keys.slice(0, Math.max(0, keys.length - MAX))) delete next[k];
|
|
1892
|
+
this.retags = next;
|
|
1893
|
+
try {
|
|
1894
|
+
localStorage.setItem(KEY$2, JSON.stringify(next));
|
|
1895
|
+
} catch {
|
|
1896
|
+
}
|
|
1897
|
+
}
|
|
1898
|
+
setFold(on) {
|
|
1899
|
+
this.fold = on;
|
|
1900
|
+
try {
|
|
1901
|
+
localStorage.setItem(FOLD_KEY, on ? "1" : "0");
|
|
1902
|
+
} catch {
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
}
|
|
1906
|
+
const chatTags = new ChatTags();
|
|
1907
|
+
const KEY$1 = "wheelhouse-chat-seen";
|
|
1908
|
+
class ChatSeen {
|
|
1909
|
+
since = 0;
|
|
1910
|
+
seen = {};
|
|
1911
|
+
loaded = false;
|
|
1912
|
+
load() {
|
|
1913
|
+
if (this.loaded) return;
|
|
1914
|
+
this.loaded = true;
|
|
1915
|
+
try {
|
|
1916
|
+
const v = JSON.parse(localStorage.getItem(KEY$1) ?? "null");
|
|
1917
|
+
const rec = v && typeof v === "object" ? v : null;
|
|
1918
|
+
if (rec && typeof rec.since === "number") {
|
|
1919
|
+
this.since = rec.since;
|
|
1920
|
+
const seen = rec.seen && typeof rec.seen === "object" ? rec.seen : {};
|
|
1921
|
+
this.seen = Object.fromEntries(Object.entries(seen).filter((e) => typeof e[1] === "number"));
|
|
1922
|
+
return;
|
|
1923
|
+
}
|
|
1924
|
+
} catch {
|
|
1925
|
+
}
|
|
1926
|
+
this.since = Date.now();
|
|
1927
|
+
this.save();
|
|
1928
|
+
}
|
|
1929
|
+
/** Read up to `at` (ms) in a lane or a lane's task. */
|
|
1930
|
+
read(key, at) {
|
|
1931
|
+
this.load();
|
|
1932
|
+
if ((this.seen[key] ?? 0) >= at) return;
|
|
1933
|
+
this.seen = { ...this.seen, [key]: at };
|
|
1934
|
+
this.save();
|
|
1935
|
+
}
|
|
1936
|
+
/** Messages after this time (ms) in the lane, or the lane's task, are new. */
|
|
1937
|
+
after(key) {
|
|
1938
|
+
return Math.max(this.since, this.seen[key] ?? 0);
|
|
1939
|
+
}
|
|
1940
|
+
save() {
|
|
1941
|
+
try {
|
|
1942
|
+
localStorage.setItem(KEY$1, JSON.stringify({ since: this.since, seen: this.seen }));
|
|
1943
|
+
} catch {
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
const chatSeen = new ChatSeen();
|
|
1948
|
+
const KEY = "wheelhouse-chat-decisions";
|
|
1949
|
+
class OpenedDecisions {
|
|
1950
|
+
ids = [];
|
|
1951
|
+
loaded = false;
|
|
1952
|
+
load() {
|
|
1953
|
+
if (this.loaded) return;
|
|
1954
|
+
this.loaded = true;
|
|
1955
|
+
try {
|
|
1956
|
+
const v = JSON.parse(localStorage.getItem(KEY) ?? "[]");
|
|
1957
|
+
if (Array.isArray(v)) this.ids = v.filter((x) => typeof x === "string");
|
|
1958
|
+
} catch {
|
|
1959
|
+
this.ids = [];
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
add(id) {
|
|
1963
|
+
this.load();
|
|
1964
|
+
if (this.ids.includes(id)) return;
|
|
1965
|
+
this.ids = [...this.ids, id].slice(-50);
|
|
1966
|
+
try {
|
|
1967
|
+
localStorage.setItem(KEY, JSON.stringify(this.ids));
|
|
1968
|
+
} catch {
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
const openedDecisions = new OpenedDecisions();
|
|
1973
|
+
const ENDPOINT$1 = "/api/firstmate/reactions";
|
|
1974
|
+
const ids = (v) => Array.isArray(v) ? v.filter((x) => typeof x === "string") : null;
|
|
1975
|
+
class Reactions {
|
|
1976
|
+
liked = [];
|
|
1977
|
+
seq = 0;
|
|
1978
|
+
/** Reads the marks from the server again. */
|
|
1979
|
+
async refresh() {
|
|
1980
|
+
const n = ++this.seq;
|
|
1981
|
+
try {
|
|
1982
|
+
const res = await fetch(ENDPOINT$1);
|
|
1983
|
+
const v = res.ok ? ids((await res.json()).liked) : null;
|
|
1984
|
+
if (v && n === this.seq) this.liked = v;
|
|
1985
|
+
} catch {
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
has(id) {
|
|
1989
|
+
return this.liked.includes(id);
|
|
1990
|
+
}
|
|
1991
|
+
/**
|
|
1992
|
+
* Marks or unmarks a message at once and has the server keep it; a refused
|
|
1993
|
+
* change is undone. True only when the server newly marked it.
|
|
1994
|
+
*/
|
|
1995
|
+
async set(id, on, token) {
|
|
1996
|
+
this.mark(id, on);
|
|
1997
|
+
const n = ++this.seq;
|
|
1998
|
+
try {
|
|
1999
|
+
const res = await fetch(ENDPOINT$1, {
|
|
2000
|
+
method: "POST",
|
|
2001
|
+
headers: { "content-type": "application/json", [SESSION_HEADER]: token },
|
|
2002
|
+
body: JSON.stringify({ id, on })
|
|
2003
|
+
});
|
|
2004
|
+
if (res.ok) {
|
|
2005
|
+
const data = await res.json().catch(() => null);
|
|
2006
|
+
const v = ids(data?.liked);
|
|
2007
|
+
if (v && n === this.seq) this.liked = v;
|
|
2008
|
+
return on && data?.changed === true;
|
|
2009
|
+
}
|
|
2010
|
+
} catch {
|
|
2011
|
+
}
|
|
2012
|
+
if (n === this.seq) this.mark(id, !on);
|
|
2013
|
+
return false;
|
|
2014
|
+
}
|
|
2015
|
+
mark(id, on) {
|
|
2016
|
+
const rest = this.liked.filter((x) => x !== id);
|
|
2017
|
+
this.liked = on ? [...rest, id] : rest;
|
|
2018
|
+
}
|
|
2019
|
+
/** Forgets the marks shown, as a fresh page does (for tests). */
|
|
2020
|
+
reset() {
|
|
2021
|
+
this.seq++;
|
|
2022
|
+
this.liked = [];
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
const reactions = new Reactions();
|
|
2026
|
+
const ENDPOINT = "/api/firstmate/cleared";
|
|
2027
|
+
const time = (v) => typeof v === "string" ? v : null;
|
|
2028
|
+
class Cleared {
|
|
2029
|
+
at = null;
|
|
2030
|
+
seq = 0;
|
|
2031
|
+
/** Reads when the view was cleared from the server again. */
|
|
2032
|
+
async refresh() {
|
|
2033
|
+
const n = ++this.seq;
|
|
2034
|
+
try {
|
|
2035
|
+
const res = await fetch(ENDPOINT);
|
|
2036
|
+
if (!res.ok) return;
|
|
2037
|
+
const data = await res.json();
|
|
2038
|
+
if (n === this.seq) this.at = time(data.clearedAt);
|
|
2039
|
+
} catch {
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
/** Clears the view as of now, or shows everything again; a refused change is undone. */
|
|
2043
|
+
async set(cleared2, token) {
|
|
2044
|
+
const before = this.at;
|
|
2045
|
+
this.at = cleared2 ? /* @__PURE__ */ (/* @__PURE__ */ new Date()).toISOString() : null;
|
|
2046
|
+
const n = ++this.seq;
|
|
2047
|
+
try {
|
|
2048
|
+
const res = await fetch(ENDPOINT, {
|
|
2049
|
+
method: "POST",
|
|
2050
|
+
headers: { "content-type": "application/json", [SESSION_HEADER]: token },
|
|
2051
|
+
body: JSON.stringify({ cleared: cleared2 })
|
|
2052
|
+
});
|
|
2053
|
+
if (res.ok) {
|
|
2054
|
+
const data = await res.json().catch(() => null);
|
|
2055
|
+
if (n === this.seq) this.at = time(data?.clearedAt);
|
|
2056
|
+
return true;
|
|
2057
|
+
}
|
|
2058
|
+
} catch {
|
|
2059
|
+
}
|
|
2060
|
+
if (n === this.seq) this.at = before;
|
|
2061
|
+
return false;
|
|
2062
|
+
}
|
|
2063
|
+
/** Forgets the cleared view, as a fresh page does (for tests). */
|
|
2064
|
+
reset() {
|
|
2065
|
+
this.seq++;
|
|
2066
|
+
this.at = null;
|
|
2067
|
+
}
|
|
2068
|
+
}
|
|
2069
|
+
const cleared = new Cleared();
|
|
2070
|
+
const composerBus = { decision: null };
|
|
2071
|
+
function Avatar($$renderer, $$props) {
|
|
2072
|
+
let { class: className = "" } = $$props;
|
|
2073
|
+
const SPOKES = [0, 45, 90, 135, 180, 225, 270, 315];
|
|
2074
|
+
$$renderer.push(`<svg viewBox="0 0 32 32"${attr_class(`shrink-0 ${stringify(className)}`)} role="img" aria-label="Firstmate" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="15.25" class="fill-primary stroke-brass" stroke-width="1.5"></circle><g class="fill-none stroke-primary-foreground" stroke-linecap="round"><circle cx="16" cy="16" r="7" stroke-width="1.6"></circle><!--[-->`);
|
|
2075
|
+
const each_array = ensure_array_like(SPOKES);
|
|
2076
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
2077
|
+
let a = each_array[$$index];
|
|
2078
|
+
$$renderer.push(`<line x1="16" y1="12.4" x2="16" y2="5.6" stroke-width="1.3"${attr("transform", `rotate(${stringify(a)} 16 16)`)}></line>`);
|
|
2079
|
+
}
|
|
2080
|
+
$$renderer.push(`<!--]--></g><circle cx="16" cy="16" r="2.4" class="fill-primary-foreground"></circle><!--[-->`);
|
|
2081
|
+
const each_array_1 = ensure_array_like(SPOKES);
|
|
2082
|
+
for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
|
|
2083
|
+
let a = each_array_1[$$index_1];
|
|
2084
|
+
$$renderer.push(`<circle cx="16" cy="5.2" r="1.3" class="fill-primary-foreground"${attr("transform", `rotate(${stringify(a)} 16 16)`)}></circle>`);
|
|
2085
|
+
}
|
|
2086
|
+
$$renderer.push(`<!--]--></svg>`);
|
|
2087
|
+
}
|
|
2088
|
+
function ChatApp($$renderer, $$props) {
|
|
2089
|
+
$$renderer.component(($$renderer2) => {
|
|
2090
|
+
let {
|
|
2091
|
+
id,
|
|
2092
|
+
app,
|
|
2093
|
+
open = true
|
|
2094
|
+
/** Whether the app is drawn: expanded unless the captain collapsed it. */
|
|
2095
|
+
} = $$props;
|
|
2096
|
+
const MAX_HEIGHT = 480;
|
|
2097
|
+
$$renderer2.push(`<div class="max-w-[80ch] rounded-xl border bg-card"${attr("data-chat-app", id)}><button class="flex w-full min-w-0 cursor-pointer items-center gap-2 rounded-xl px-4 py-2.5 text-left text-sm transition-colors hover:bg-muted/60"${attr("aria-expanded", open)}>`);
|
|
2098
|
+
App_window($$renderer2, {
|
|
2099
|
+
class: "size-4 shrink-0 text-muted-foreground",
|
|
2100
|
+
"aria-hidden": "true"
|
|
2101
|
+
});
|
|
2102
|
+
$$renderer2.push(`<!----> <span class="shrink-0 font-medium">${escape_html(app.title)}</span> <span class="min-w-0 truncate text-muted-foreground">· an app from ${escape_html(app.server.title)}</span> <span class="ml-auto shrink-0 text-xs text-muted-foreground">${escape_html(open ? "Collapse" : "Expand")}</span> `);
|
|
2103
|
+
Chevron_right($$renderer2, {
|
|
2104
|
+
class: `size-3.5 shrink-0 text-muted-foreground transition-transform ${open ? "rotate-90" : ""}`,
|
|
2105
|
+
"aria-hidden": "true"
|
|
2106
|
+
});
|
|
2107
|
+
$$renderer2.push(`<!----></button> `);
|
|
2108
|
+
if (open) {
|
|
2109
|
+
$$renderer2.push(`<!--[0--><div class="border-t px-4 pt-3 pb-3">`);
|
|
2110
|
+
AppFrame($$renderer2, {
|
|
2111
|
+
ref: {},
|
|
2112
|
+
title: app.title,
|
|
2113
|
+
plugin: app.plugin,
|
|
2114
|
+
maxHeight: MAX_HEIGHT
|
|
2115
|
+
});
|
|
2116
|
+
$$renderer2.push(`<!----></div>`);
|
|
2117
|
+
} else {
|
|
2118
|
+
$$renderer2.push("<!--[-1-->");
|
|
2119
|
+
}
|
|
2120
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
2121
|
+
bind_props($$props, { open });
|
|
2122
|
+
});
|
|
2123
|
+
}
|
|
2124
|
+
function ChatDecision($$renderer, $$props) {
|
|
2125
|
+
$$renderer.component(($$renderer2) => {
|
|
2126
|
+
let {
|
|
2127
|
+
decision,
|
|
2128
|
+
project = null,
|
|
2129
|
+
now,
|
|
2130
|
+
thread = null,
|
|
2131
|
+
pending = [],
|
|
2132
|
+
asked = null
|
|
2133
|
+
} = $$props;
|
|
2134
|
+
const KIND = {
|
|
2135
|
+
review: "Review question",
|
|
2136
|
+
decision: "Decision",
|
|
2137
|
+
blocked: "Stuck",
|
|
2138
|
+
hold: "Your call",
|
|
2139
|
+
merge: "Merge call",
|
|
2140
|
+
preview: "Preview sign-off"
|
|
2141
|
+
};
|
|
2142
|
+
const head2 = derived(() => decision.head);
|
|
2143
|
+
const answer = derived(() => decision.answer);
|
|
2144
|
+
const count = derived(() => (thread?.messages.length ?? 0) + pending.length);
|
|
2145
|
+
const open = derived(() => count() > 0 && (!answer() && pending.length > 0));
|
|
2146
|
+
let expanded = false;
|
|
2147
|
+
let dismissing = false;
|
|
2148
|
+
const card = derived(() => decision.card);
|
|
2149
|
+
const token = derived(() => page.data.sessionToken ?? "");
|
|
2150
|
+
const canAnswer = derived(() => inbox.view(page.data.inbox)?.canAnswer ?? false);
|
|
2151
|
+
const refined = derived(() => refinedForm(thread, head2().question));
|
|
2152
|
+
const parts = derived(() => byQuestion(thread, head2().question));
|
|
2153
|
+
const plain = (s) => (s ?? "").replace(/[\s?.:]+$/, "").trim().toLowerCase();
|
|
2154
|
+
const form = derived(() => {
|
|
2155
|
+
const f = refined()?.form ?? asked ?? (card() ? cardForm(card()) : null);
|
|
2156
|
+
return f && f.prompt && plain(f.prompt) === plain(head2().question) ? { ...f, prompt: null } : f;
|
|
2157
|
+
});
|
|
2158
|
+
const decided = derived(() => answer() ? decidedLabel(cardForm(card() ?? { kind: head2().kind, choices: null, recommendation: null }), answer()) : "");
|
|
2159
|
+
const prLink = derived(() => card()?.evidence.pr ? pullRequests.review(card().projectId, card().evidence.pr) : null);
|
|
2160
|
+
const quiet = "inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md px-2.5 text-sm text-muted-foreground hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 max-md:min-h-11 sm:min-h-9";
|
|
2161
|
+
const time2 = (at) => at ? new Date(at).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) : "";
|
|
2162
|
+
const delivered = derived(() => !answer() ? "" : answer().delivery === "sending" ? "Sending to Firstmate…" : answer().delivery === "delivered" ? "Firstmate has it and passes it on" : answer().delivery === "failed" ? "Firstmate did not take it" : answer().delivery === "uncertain" ? "Sent; Firstmate has not confirmed it yet" : "Sent to Firstmate");
|
|
2163
|
+
function message($$renderer3, m, current) {
|
|
2164
|
+
$$renderer3.push(`<li class="flex gap-2.5">`);
|
|
2165
|
+
if (m.who === "firstmate") {
|
|
2166
|
+
$$renderer3.push("<!--[0-->");
|
|
2167
|
+
Avatar($$renderer3, { class: "mt-0.5 size-5" });
|
|
2168
|
+
} else {
|
|
2169
|
+
$$renderer3.push(`<!--[-1--><span class="captain-avatar mt-0.5 !size-5 !text-[0.7rem]">C</span>`);
|
|
2170
|
+
}
|
|
2171
|
+
$$renderer3.push(`<!--]--> <div class="min-w-0 flex-1"><p class="text-xs text-muted-foreground"><span class="font-medium text-foreground">${escape_html(m.who === "firstmate" ? "Firstmate" : "You")}</span>`);
|
|
2172
|
+
if (m.at) {
|
|
2173
|
+
$$renderer3.push(`<!--[0-->· ${escape_html(time2(m.at))}`);
|
|
2174
|
+
} else {
|
|
2175
|
+
$$renderer3.push("<!--[-1-->");
|
|
2176
|
+
}
|
|
2177
|
+
$$renderer3.push(`<!--]--></p> `);
|
|
2178
|
+
if (m.who === "firstmate") {
|
|
2179
|
+
$$renderer3.push(`<!--[0--><div class="chat-md mt-0.5 text-sm">${html(markdown(withoutForm(m.text), { docLinks: true }))}</div> `);
|
|
2180
|
+
if (current && formIn(m.text)) {
|
|
2181
|
+
$$renderer3.push(`<!--[0--><p class="mt-0.5 text-xs text-muted-foreground">Firstmate updated the options above.</p>`);
|
|
2182
|
+
} else {
|
|
2183
|
+
$$renderer3.push("<!--[-1-->");
|
|
2184
|
+
}
|
|
2185
|
+
$$renderer3.push(`<!--]-->`);
|
|
2186
|
+
} else {
|
|
2187
|
+
$$renderer3.push(`<!--[-1--><p class="mt-0.5 text-sm leading-relaxed whitespace-pre-line">${escape_html(m.text)}</p>`);
|
|
2188
|
+
}
|
|
2189
|
+
$$renderer3.push(`<!--]--></div></li>`);
|
|
2190
|
+
}
|
|
2191
|
+
function talk($$renderer3) {
|
|
2192
|
+
if (count()) {
|
|
2193
|
+
$$renderer3.push(`<!--[0--><button${attr_class(`inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md px-2.5 text-sm text-muted-foreground hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 max-md:min-h-11 sm:min-h-9 ${open() ? "bg-accent text-foreground" : ""}`)}${attr("aria-expanded", open())} title="What you and Firstmate said about it under this card before" data-discuss="">`);
|
|
2194
|
+
Messages_square($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
2195
|
+
$$renderer3.push(`<!---->Earlier talk<span class="text-xs tabular-nums">· ${escape_html(count())}</span></button>`);
|
|
2196
|
+
} else {
|
|
2197
|
+
$$renderer3.push("<!--[-1-->");
|
|
2198
|
+
}
|
|
2199
|
+
$$renderer3.push(`<!--]-->`);
|
|
2200
|
+
}
|
|
2201
|
+
$$renderer2.push(`<div class="flex w-full max-w-[min(100%,40rem)] scroll-mt-24 flex-col"${attr("data-chat-decision", decision.id)}>`);
|
|
2202
|
+
if (card() && form() && !answer()) {
|
|
2203
|
+
$$renderer2.push("<!--[0-->");
|
|
2204
|
+
const mine = escalated(card());
|
|
2205
|
+
const following = !!card().following;
|
|
2206
|
+
$$renderer2.push(`<article${attr_class(`rounded-lg border border-l-[3px] bg-card px-4 pt-3.5 pb-3 sm:px-5 ${following ? "border-l-sea/50" : mine ? "border-l-sea" : "border-l-brass"}`)}${attr("data-open-decision", card().owner)}${attr("data-following", following || void 0)}><header class="flex flex-wrap items-center gap-x-2 gap-y-1">`);
|
|
2207
|
+
if (project) {
|
|
2208
|
+
$$renderer2.push(`<!--[0--><span class="rounded-sm border px-1.5 text-[0.95rem] leading-[1.15rem] font-semibold tracking-[0.08em] text-muted-foreground [font-variant-caps:all-small-caps]">${escape_html(project)}</span>`);
|
|
2209
|
+
} else {
|
|
2210
|
+
$$renderer2.push("<!--[-1-->");
|
|
2211
|
+
}
|
|
2212
|
+
$$renderer2.push(`<!--]--> `);
|
|
2213
|
+
if (following) {
|
|
2214
|
+
$$renderer2.push(`<!--[0--><span class="flex items-center gap-1 rounded bg-muted px-1.5 text-xs leading-[1.15rem] font-medium text-sea">`);
|
|
2215
|
+
Messages_square($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
2216
|
+
$$renderer2.push(`<!---->Following up</span>`);
|
|
2217
|
+
} else {
|
|
2218
|
+
$$renderer2.push(`<!--[-1--><span${attr_class(`flex items-center gap-1 rounded px-1.5 text-xs leading-[1.15rem] font-medium ${mine ? "bg-sea/10 text-sea" : "bg-muted text-foreground/80"}`)}>`);
|
|
2219
|
+
Hand($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
2220
|
+
$$renderer2.push(`<!---->${escape_html(KIND[card().kind])}</span>`);
|
|
2221
|
+
}
|
|
2222
|
+
$$renderer2.push(`<!--]--> <span class="text-xs text-muted-foreground">${escape_html(following ? "Following up with Firstmate separately" : mine ? "Waiting on you" : "Firstmate is handling it; yours to take over")}</span> `);
|
|
2223
|
+
if (card().askedAt) {
|
|
2224
|
+
$$renderer2.push(`<!--[0--><span class="ml-auto text-xs text-muted-foreground tabular-nums">${escape_html(ago(card().askedAt, now))}</span>`);
|
|
2225
|
+
} else {
|
|
2226
|
+
$$renderer2.push("<!--[-1-->");
|
|
2227
|
+
}
|
|
2228
|
+
$$renderer2.push(`<!--]--></header> <h3 class="mt-2 font-sans text-base leading-snug font-medium sm:text-[1.05rem]">`);
|
|
2229
|
+
LinkedText($$renderer2, { text: head2().question });
|
|
2230
|
+
$$renderer2.push(`<!----></h3> `);
|
|
2231
|
+
if (cardContext(card())) {
|
|
2232
|
+
$$renderer2.push(`<!--[0--><p class="mt-0.5 line-clamp-3 text-sm leading-snug text-muted-foreground" data-context="">`);
|
|
2233
|
+
LinkedText($$renderer2, { text: cardContext(card()) ?? "" });
|
|
2234
|
+
$$renderer2.push(`<!----></p>`);
|
|
2235
|
+
} else {
|
|
2236
|
+
$$renderer2.push("<!--[-1-->");
|
|
2237
|
+
}
|
|
2238
|
+
$$renderer2.push(`<!--]--> <p class="mt-0.5 text-xs text-muted-foreground">${escape_html(head2().taskTitle)}</p> `);
|
|
2239
|
+
DecisionRecords($$renderer2, { card: card() });
|
|
2240
|
+
$$renderer2.push(`<!----> `);
|
|
2241
|
+
DecisionLinks($$renderer2, { card: card() });
|
|
2242
|
+
$$renderer2.push(`<!----> `);
|
|
2243
|
+
if (card().recommendation) {
|
|
2244
|
+
$$renderer2.push(`<!--[0--><p class="mt-2.5 border-l-2 border-brass pl-2.5 text-sm leading-snug"><span class="font-medium">Firstmate recommends</span><span class="text-muted-foreground">· `);
|
|
2245
|
+
LinkedText($$renderer2, { text: card().recommendation.text });
|
|
2246
|
+
$$renderer2.push(`<!----></span></p>`);
|
|
2247
|
+
} else {
|
|
2248
|
+
$$renderer2.push("<!--[-1-->");
|
|
2249
|
+
}
|
|
2250
|
+
$$renderer2.push(`<!--]--> `);
|
|
2251
|
+
if (refined()) {
|
|
2252
|
+
$$renderer2.push(`<!--[0--><p class="mt-3 flex items-center gap-1.5 text-xs text-muted-foreground" data-refined="">`);
|
|
2253
|
+
Refresh_cw($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
2254
|
+
$$renderer2.push(`<!---->Firstmate changed the options after your
|
|
2255
|
+
question.</p>`);
|
|
2256
|
+
} else {
|
|
2257
|
+
$$renderer2.push("<!--[-1-->");
|
|
2258
|
+
}
|
|
2259
|
+
$$renderer2.push(`<!--]--> <!---->`);
|
|
2260
|
+
{
|
|
2261
|
+
DecisionForm($$renderer2, {
|
|
2262
|
+
form: form(),
|
|
2263
|
+
name: decision.id,
|
|
2264
|
+
canAnswer: canAnswer(),
|
|
2265
|
+
onAnswer: (a, note) => answerWith(card(), a, note, token())
|
|
2266
|
+
});
|
|
2267
|
+
}
|
|
2268
|
+
$$renderer2.push(`<!----> `);
|
|
2269
|
+
if (card().sent?.delivery === "failed" && !inbox.errors[card().id]) {
|
|
2270
|
+
$$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-danger" role="alert">Not delivered to Firstmate: ${escape_html(card().sent.picks ?? choiceLabel(card(), card().sent.choice))}. ${escape_html(card().sent.detail ?? "Try again.")}</p>`);
|
|
2271
|
+
} else {
|
|
2272
|
+
$$renderer2.push("<!--[-1-->");
|
|
2273
|
+
}
|
|
2274
|
+
$$renderer2.push(`<!--]--> `);
|
|
2275
|
+
if (inbox.errors[card().id]) {
|
|
2276
|
+
$$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-danger" role="alert">${escape_html(inbox.errors[card().id])}</p>`);
|
|
2277
|
+
} else {
|
|
2278
|
+
$$renderer2.push("<!--[-1-->");
|
|
2279
|
+
}
|
|
2280
|
+
$$renderer2.push(`<!--]--> <div class="mt-2.5 flex flex-wrap items-center gap-1.5 border-t border-hair/70 pt-2"><a${attr("href", cardHref(card().id))} class="inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md px-2.5 text-sm text-muted-foreground hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 max-md:min-h-11 sm:min-h-9 font-medium text-foreground" title="Open it on the Decisions page, with everything it rests on, and ask about it there" data-open-in-decisions="">`);
|
|
2281
|
+
Arrow_up_right($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
2282
|
+
$$renderer2.push(`<!---->Open in Decisions</a> <a${attr("href", chatAboutHref(card()))}${attr_class(clsx(quiet))} title="Start a message to Firstmate about this; it waits as following up meanwhile" data-chat-about="">`);
|
|
2283
|
+
Message_square($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
2284
|
+
$$renderer2.push(`<!---->Chat with Firstmate about this</a> `);
|
|
2285
|
+
if (following) {
|
|
2286
|
+
$$renderer2.push(`<!--[0--><button${attr_class(clsx(quiet))} title="It waits on you again, and counts as waiting" data-unfollow="">`);
|
|
2287
|
+
Undo_2($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
2288
|
+
$$renderer2.push(`<!---->Back to waiting</button>`);
|
|
2289
|
+
} else {
|
|
2290
|
+
$$renderer2.push("<!--[-1-->");
|
|
2291
|
+
}
|
|
2292
|
+
$$renderer2.push(`<!--]--> `);
|
|
2293
|
+
talk($$renderer2);
|
|
2294
|
+
$$renderer2.push(`<!----> `);
|
|
2295
|
+
if (prLink()) {
|
|
2296
|
+
$$renderer2.push(`<!--[0--><a${attr_class(clsx(quiet))}${attr("href", prLink().href)}${attr("target", prLink().external ? "_blank" : void 0)}${attr("rel", prLink().external ? "noreferrer" : void 0)} title="Open the pull request to review it; this answers nothing" data-review-pr="">`);
|
|
2297
|
+
Compass($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
2298
|
+
$$renderer2.push(`<!---->Review`);
|
|
2299
|
+
if (prLink().external) {
|
|
2300
|
+
$$renderer2.push("<!--[0-->");
|
|
2301
|
+
External_link($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
2302
|
+
} else {
|
|
2303
|
+
$$renderer2.push("<!--[-1-->");
|
|
2304
|
+
}
|
|
2305
|
+
$$renderer2.push(`<!--]--></a>`);
|
|
2306
|
+
} else {
|
|
2307
|
+
$$renderer2.push("<!--[-1-->");
|
|
2308
|
+
}
|
|
2309
|
+
$$renderer2.push(`<!--]--> <button class="inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md px-2.5 text-sm text-muted-foreground hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 max-md:min-h-11 sm:min-h-9 ml-auto"${attr("disabled", !canAnswer(), true)}${attr("aria-expanded", dismissing)} title="No answer needed: Firstmate records it closed, with your reason" data-dismiss="">`);
|
|
2310
|
+
X($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
2311
|
+
$$renderer2.push(`<!---->Dismiss</button></div> `);
|
|
2312
|
+
{
|
|
2313
|
+
$$renderer2.push("<!--[-1-->");
|
|
2314
|
+
}
|
|
2315
|
+
$$renderer2.push(`<!--]--> `);
|
|
2316
|
+
DecisionDetails($$renderer2, { card: card(), expanded, onToggle: () => expanded = !expanded });
|
|
2317
|
+
$$renderer2.push(`<!----></article>`);
|
|
2318
|
+
} else if (answer()) {
|
|
2319
|
+
$$renderer2.push("<!--[1-->");
|
|
2320
|
+
const closed = answer().choice === "close";
|
|
2321
|
+
$$renderer2.push(`<article${attr_class(`rounded-lg border border-l-[3px] bg-card px-4 pt-3 pb-2 sm:px-5 ${closed ? "border-l-hair" : "border-l-success/70"}`)}${attr("data-answered", closed ? "dismissed" : "answered")}><header class="flex flex-wrap items-center gap-x-2 gap-y-1">`);
|
|
2322
|
+
if (project) {
|
|
2323
|
+
$$renderer2.push(`<!--[0--><span class="rounded-sm border px-1.5 text-[0.95rem] leading-[1.15rem] font-semibold tracking-[0.08em] text-muted-foreground [font-variant-caps:all-small-caps]">${escape_html(project)}</span>`);
|
|
2324
|
+
} else {
|
|
2325
|
+
$$renderer2.push("<!--[-1-->");
|
|
2326
|
+
}
|
|
2327
|
+
$$renderer2.push(`<!--]--> <span class="rounded bg-muted px-1.5 text-xs leading-[1.15rem] font-medium text-foreground/80">${escape_html(KIND[head2().kind])}</span> `);
|
|
2328
|
+
if (closed) {
|
|
2329
|
+
$$renderer2.push(`<!--[0--><span class="flex items-center gap-1 text-xs text-muted-foreground">`);
|
|
2330
|
+
Circle_x($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
2331
|
+
$$renderer2.push(`<!---->Dismissed</span>`);
|
|
2332
|
+
} else {
|
|
2333
|
+
$$renderer2.push(`<!--[-1--><span class="flex items-center gap-1 text-xs text-success">`);
|
|
2334
|
+
Circle_check($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
2335
|
+
$$renderer2.push(`<!---->Answered</span>`);
|
|
2336
|
+
}
|
|
2337
|
+
$$renderer2.push(`<!--]--> `);
|
|
2338
|
+
if (answer().at) {
|
|
2339
|
+
$$renderer2.push(`<!--[0--><span class="ml-auto text-xs text-muted-foreground tabular-nums">${escape_html(ago(answer().at, now))}</span>`);
|
|
2340
|
+
} else {
|
|
2341
|
+
$$renderer2.push("<!--[-1-->");
|
|
2342
|
+
}
|
|
2343
|
+
$$renderer2.push(`<!--]--></header> <p class="mt-1.5 text-sm leading-snug text-muted-foreground">${escape_html(head2().question)}</p> <a${attr("href", cardTaskHref(head2()))} class="block text-xs text-muted-foreground hover:text-foreground hover:underline">${escape_html(head2().taskTitle)}</a> <p class="mt-1.5 text-sm leading-snug" data-decided="">`);
|
|
2344
|
+
if (closed) {
|
|
2345
|
+
$$renderer2.push(`<!--[0-->You dismissed it without an answer`);
|
|
2346
|
+
} else {
|
|
2347
|
+
$$renderer2.push(`<!--[-1-->You decided <span class="font-semibold">${escape_html(decided())}</span>`);
|
|
2348
|
+
}
|
|
2349
|
+
$$renderer2.push(`<!--]--></p> `);
|
|
2350
|
+
if (answer().note) {
|
|
2351
|
+
$$renderer2.push(`<!--[0--><p class="mt-1 border-l-2 border-hair pl-2.5 text-sm whitespace-pre-line text-muted-foreground">${escape_html(closed ? `Why: ${answer().note}` : answer().note)}</p>`);
|
|
2352
|
+
} else {
|
|
2353
|
+
$$renderer2.push("<!--[-1-->");
|
|
2354
|
+
}
|
|
2355
|
+
$$renderer2.push(`<!--]--> <div class="mt-1 flex flex-wrap items-center gap-2 text-xs text-muted-foreground"><span role="status" class="inline-flex items-center gap-1">`);
|
|
2356
|
+
if (answer().delivery === "sending") {
|
|
2357
|
+
$$renderer2.push("<!--[0-->");
|
|
2358
|
+
Loader_circle($$renderer2, { class: "size-3 animate-spin", "aria-hidden": "true" });
|
|
2359
|
+
} else {
|
|
2360
|
+
$$renderer2.push("<!--[-1-->");
|
|
2361
|
+
}
|
|
2362
|
+
$$renderer2.push(`<!--]-->${escape_html(delivered())}${escape_html(answer().at ? ` · ${time2(answer().at)}` : "")}</span> <span class="ml-auto">`);
|
|
2363
|
+
talk($$renderer2);
|
|
2364
|
+
$$renderer2.push(`<!----></span></div></article>`);
|
|
2365
|
+
} else {
|
|
2366
|
+
$$renderer2.push("<!--[-1-->");
|
|
2367
|
+
}
|
|
2368
|
+
$$renderer2.push(`<!--]--> `);
|
|
2369
|
+
if (open()) {
|
|
2370
|
+
$$renderer2.push(`<!--[0--><div class="mt-1 ml-4 border-l-2 border-hair pt-2 pl-4" role="region" aria-label="What was said about this question before" data-discussion="">`);
|
|
2371
|
+
if (thread?.messages.length || pending.length) {
|
|
2372
|
+
$$renderer2.push(`<!--[0--><ul class="flex flex-col gap-3 pb-1"><!--[-->`);
|
|
2373
|
+
const each_array = ensure_array_like(parts().earlier);
|
|
2374
|
+
for (let i = 0, $$length = each_array.length; i < $$length; i++) {
|
|
2375
|
+
let e = each_array[i];
|
|
2376
|
+
$$renderer2.push(`<li><details data-earlier=""><summary class="cursor-pointer text-xs text-muted-foreground hover:text-foreground">Earlier question: “${escape_html(e.question)}”</summary> <ul class="mt-2 flex flex-col gap-3 border-b border-hair/70 pb-3"><!--[-->`);
|
|
2377
|
+
const each_array_1 = ensure_array_like(e.messages);
|
|
2378
|
+
for (let $$index = 0, $$length2 = each_array_1.length; $$index < $$length2; $$index++) {
|
|
2379
|
+
let m = each_array_1[$$index];
|
|
2380
|
+
message($$renderer2, m, false);
|
|
2381
|
+
}
|
|
2382
|
+
$$renderer2.push(`<!--]--></ul></details></li>`);
|
|
2383
|
+
}
|
|
2384
|
+
$$renderer2.push(`<!--]--> <!--[-->`);
|
|
2385
|
+
const each_array_2 = ensure_array_like(parts().current);
|
|
2386
|
+
for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {
|
|
2387
|
+
let m = each_array_2[$$index_2];
|
|
2388
|
+
message($$renderer2, m, true);
|
|
2389
|
+
}
|
|
2390
|
+
$$renderer2.push(`<!--]--> <!--[-->`);
|
|
2391
|
+
const each_array_3 = ensure_array_like(pending);
|
|
2392
|
+
for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {
|
|
2393
|
+
let p = each_array_3[$$index_3];
|
|
2394
|
+
$$renderer2.push(`<li class="flex gap-2.5"${attr("data-pending", p.pending.state)}><span class="captain-avatar mt-0.5 !size-5 !text-[0.7rem]">C</span> <div class="min-w-0 flex-1"><p class="text-sm leading-relaxed whitespace-pre-line opacity-60">${escape_html(p.body)}</p> <p${attr_class(`mt-0.5 flex flex-wrap items-center gap-1.5 text-xs ${p.pending.state === "failed" ? "text-danger" : "text-muted-foreground"}`)} role="status">`);
|
|
2395
|
+
if (p.pending.state === "failed") {
|
|
2396
|
+
$$renderer2.push("<!--[0-->");
|
|
2397
|
+
Circle_x($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
2398
|
+
$$renderer2.push(`<!---->${escape_html(pendingLabel(p.pending))} <button class="ml-1 inline-flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-muted">`);
|
|
2399
|
+
Rotate_cw($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
2400
|
+
$$renderer2.push(`<!---->Retry</button> <button class="cursor-pointer rounded px-1.5 py-0.5 text-muted-foreground hover:bg-muted">Discard</button>`);
|
|
2401
|
+
} else {
|
|
2402
|
+
$$renderer2.push("<!--[-1-->");
|
|
2403
|
+
Loader_circle($$renderer2, { class: "size-3 animate-spin", "aria-hidden": "true" });
|
|
2404
|
+
$$renderer2.push(`<!---->${escape_html(pendingLabel(p.pending))}`);
|
|
2405
|
+
}
|
|
2406
|
+
$$renderer2.push(`<!--]--></p></div></li>`);
|
|
2407
|
+
}
|
|
2408
|
+
$$renderer2.push(`<!--]--></ul>`);
|
|
2409
|
+
} else {
|
|
2410
|
+
$$renderer2.push(`<!--[-1--><p class="text-xs text-muted-foreground">Nothing was said about it here.</p>`);
|
|
2411
|
+
}
|
|
2412
|
+
$$renderer2.push(`<!--]--> `);
|
|
2413
|
+
if (thread?.answering) {
|
|
2414
|
+
$$renderer2.push(`<!--[0--><div class="flex gap-1 py-2 pl-7" role="status" aria-label="Firstmate is answering"><span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.3s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.15s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground"></span></div>`);
|
|
2415
|
+
} else {
|
|
2416
|
+
$$renderer2.push("<!--[-1-->");
|
|
2417
|
+
}
|
|
2418
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
2419
|
+
} else {
|
|
2420
|
+
$$renderer2.push("<!--[-1-->");
|
|
2421
|
+
}
|
|
2422
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
2423
|
+
});
|
|
2424
|
+
}
|
|
2425
|
+
const STATUS = {
|
|
2426
|
+
sending: "Sending to Firstmate…",
|
|
2427
|
+
uncertain: "Confirming Firstmate has it…",
|
|
2428
|
+
"saved-unannounced": "Saved; Firstmate reads it at its next check",
|
|
2429
|
+
delivered: "Sent to Firstmate",
|
|
2430
|
+
failed: "Not delivered"
|
|
2431
|
+
};
|
|
2432
|
+
function chatBatches(messages) {
|
|
2433
|
+
const out = [];
|
|
2434
|
+
for (const m of messages) {
|
|
2435
|
+
const batch = parseBatch(m.text);
|
|
2436
|
+
if (!batch) continue;
|
|
2437
|
+
const seen = m.delivery === "delivered" && !!m.acknowledged;
|
|
2438
|
+
out.push({
|
|
2439
|
+
id: m.requestId,
|
|
2440
|
+
at: m.submittedAt,
|
|
2441
|
+
batch,
|
|
2442
|
+
status: seen ? "Seen by Firstmate, which passes it to the same task" : STATUS[m.delivery],
|
|
2443
|
+
seen,
|
|
2444
|
+
failed: m.delivery === "failed",
|
|
2445
|
+
reply: m.reply?.body ?? null
|
|
2446
|
+
});
|
|
2447
|
+
}
|
|
2448
|
+
return out;
|
|
2449
|
+
}
|
|
2450
|
+
function actedOn(id, runs) {
|
|
2451
|
+
for (const r of runs?.runs ?? []) {
|
|
2452
|
+
const c = r.changes.find((x) => x.id === `wheelhouse:${id}`);
|
|
2453
|
+
if (c) return { run: r.n, addressed: c.state === "addressed" };
|
|
2454
|
+
}
|
|
2455
|
+
return null;
|
|
2456
|
+
}
|
|
2457
|
+
function placeBatches(items, batches) {
|
|
2458
|
+
const before = /* @__PURE__ */ new Map();
|
|
2459
|
+
const end = [];
|
|
2460
|
+
const times = items.map((it) => Date.parse(it.at));
|
|
2461
|
+
const first = times.find((t) => !Number.isNaN(t));
|
|
2462
|
+
for (const b of batches) {
|
|
2463
|
+
const at = Date.parse(b.at);
|
|
2464
|
+
if (first !== void 0 && at < first) continue;
|
|
2465
|
+
const i = times.findIndex((t) => !Number.isNaN(t) && t > at);
|
|
2466
|
+
if (i < 0) end.push(b);
|
|
2467
|
+
else before.set(i, [...before.get(i) ?? [], b]);
|
|
2468
|
+
}
|
|
2469
|
+
return { before, end };
|
|
2470
|
+
}
|
|
2471
|
+
function FeedbackBatch($$renderer, $$props) {
|
|
2472
|
+
$$renderer.component(($$renderer2) => {
|
|
2473
|
+
let { batch, project = null, runs = null } = $$props;
|
|
2474
|
+
const time2 = (at) => new Date(at).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" });
|
|
2475
|
+
const waiting = derived(() => !batch.failed && !batch.seen && batch.status !== "Sent to Firstmate");
|
|
2476
|
+
const from = derived(() => batch.batch.plugin);
|
|
2477
|
+
const label = derived(() => from() ? `${from().name} feedback` : batch.batch.live ? "live review" : "preview feedback");
|
|
2478
|
+
const acted = derived(() => actedOn(batch.id, runs));
|
|
2479
|
+
const taskHref = derived(() => `/tasks/${encodeURIComponent(batch.batch.taskId)}`);
|
|
2480
|
+
$$renderer2.push(`<article class="msg msg-captain"${attr("aria-label", `Your ${label()}, ${stringify(time2(batch.at))}`)} data-feedback-batch=""><span class="captain-avatar">C</span> <div class="min-w-0 flex-1"><header class="msg-head"><span class="msg-name">You</span><time${attr("datetime", batch.at)}>${escape_html(time2(batch.at))}</time></header> <div class="w-full max-w-[34rem] rounded-lg border border-l-[3px] border-l-sea bg-card px-4 py-3 text-left"><header class="flex flex-wrap items-center gap-x-2 gap-y-1"><span class="flex items-center gap-1 rounded bg-sea/10 px-1.5 text-xs leading-[1.15rem] font-medium text-sea">`);
|
|
2481
|
+
if (from()) {
|
|
2482
|
+
$$renderer2.push("<!--[0-->");
|
|
2483
|
+
Puzzle($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
2484
|
+
} else {
|
|
2485
|
+
$$renderer2.push("<!--[-1-->");
|
|
2486
|
+
Monitor_play($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
2487
|
+
}
|
|
2488
|
+
$$renderer2.push(`<!--]-->To Firstmate · ${escape_html(label())}</span> `);
|
|
2489
|
+
if (project) {
|
|
2490
|
+
$$renderer2.push(`<!--[0--><span class="rounded-sm border px-1.5 text-[0.95rem] leading-[1.15rem] font-semibold tracking-[0.08em] text-muted-foreground [font-variant-caps:all-small-caps]">${escape_html(project)}</span>`);
|
|
2491
|
+
} else {
|
|
2492
|
+
$$renderer2.push("<!--[-1-->");
|
|
2493
|
+
}
|
|
2494
|
+
$$renderer2.push(`<!--]--></header> <a${attr("href", `${taskHref()}${from() ? "" : "?tab=preview"}`)} class="mt-1.5 block text-sm font-medium hover:underline">${escape_html(batch.batch.title)}</a> `);
|
|
2495
|
+
if (from()?.subject) {
|
|
2496
|
+
$$renderer2.push(`<!--[0--><p class="mt-0.5 text-xs text-muted-foreground">About ${escape_html(from().subject)}</p>`);
|
|
2497
|
+
} else {
|
|
2498
|
+
$$renderer2.push("<!--[-1-->");
|
|
2499
|
+
}
|
|
2500
|
+
$$renderer2.push(`<!--]--> <ol class="mt-2 list-decimal space-y-1.5 pl-5 text-sm leading-snug"><!--[-->`);
|
|
2501
|
+
const each_array = ensure_array_like(batch.batch.items);
|
|
2502
|
+
for (let i = 0, $$length = each_array.length; i < $$length; i++) {
|
|
2503
|
+
let it = each_array[i];
|
|
2504
|
+
$$renderer2.push(`<li>${escape_html(it.text)} `);
|
|
2505
|
+
if (it.points) {
|
|
2506
|
+
$$renderer2.push(`<!--[0--><span class="mt-0.5 block text-xs text-muted-foreground">Points at ${escape_html(it.points)}</span>`);
|
|
2507
|
+
} else {
|
|
2508
|
+
$$renderer2.push("<!--[-1-->");
|
|
2509
|
+
}
|
|
2510
|
+
$$renderer2.push(`<!--]--></li>`);
|
|
2511
|
+
}
|
|
2512
|
+
$$renderer2.push(`<!--]--></ol> <p${attr_class(`mt-2.5 flex items-center gap-1.5 text-xs ${batch.failed ? "text-danger" : "text-muted-foreground"}`)} role="status">`);
|
|
2513
|
+
if (batch.failed) {
|
|
2514
|
+
$$renderer2.push("<!--[0-->");
|
|
2515
|
+
Circle_x($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
2516
|
+
} else if (waiting()) {
|
|
2517
|
+
$$renderer2.push("<!--[1-->");
|
|
2518
|
+
Loader_circle($$renderer2, { class: "size-3 animate-spin", "aria-hidden": "true" });
|
|
2519
|
+
} else {
|
|
2520
|
+
$$renderer2.push("<!--[-1-->");
|
|
2521
|
+
Circle_check($$renderer2, { class: "size-3.5 text-success", "aria-hidden": "true" });
|
|
2522
|
+
}
|
|
2523
|
+
$$renderer2.push(`<!--]-->${escape_html(batch.status)}</p> `);
|
|
2524
|
+
if (acted()) {
|
|
2525
|
+
$$renderer2.push(`<!--[0--><p class="mt-1 flex items-center gap-1.5 text-xs text-muted-foreground" data-feedback-acted="">`);
|
|
2526
|
+
Arrow_right($$renderer2, { class: "size-3.5 text-sea", "aria-hidden": "true" });
|
|
2527
|
+
$$renderer2.push(`<!----> <a${attr("href", taskHref())} class="text-sea hover:underline">${escape_html(acted().addressed ? `Addressed by the worker in run ${acted().run}` : `With the worker · run ${acted().run}`)}</a></p>`);
|
|
2528
|
+
} else {
|
|
2529
|
+
$$renderer2.push("<!--[-1-->");
|
|
2530
|
+
}
|
|
2531
|
+
$$renderer2.push(`<!--]--> `);
|
|
2532
|
+
if (batch.reply) {
|
|
2533
|
+
$$renderer2.push(`<!--[0--><p class="mt-2 rounded-md bg-muted px-3 py-2 text-sm leading-relaxed whitespace-pre-line"><span class="font-medium">Firstmate:</span> ${escape_html(batch.reply)}</p>`);
|
|
2534
|
+
} else {
|
|
2535
|
+
$$renderer2.push("<!--[-1-->");
|
|
2536
|
+
}
|
|
2537
|
+
$$renderer2.push(`<!--]--></div></div></article>`);
|
|
2538
|
+
});
|
|
2539
|
+
}
|
|
2540
|
+
function AttachedFiles($$renderer, $$props) {
|
|
2541
|
+
$$renderer.component(($$renderer2) => {
|
|
2542
|
+
if (
|
|
2543
|
+
/**
|
|
2544
|
+
* The files waiting to go with the message, under the text in the composer:
|
|
2545
|
+
* one hairline-ruled row each, with a thumbnail for an image, its kind and
|
|
2546
|
+
* size (or how far it has uploaded, or why it failed) and a way to remove it.
|
|
2547
|
+
*/
|
|
2548
|
+
attachments.drafts.length
|
|
2549
|
+
) {
|
|
2550
|
+
$$renderer2.push(`<!--[0--><ul class="mx-2 mb-1 flex flex-col divide-y divide-hair border-t border-hair" aria-label="Attached files"><!--[-->`);
|
|
2551
|
+
const each_array = ensure_array_like(attachments.drafts);
|
|
2552
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
2553
|
+
let d = each_array[$$index];
|
|
2554
|
+
$$renderer2.push(`<li class="flex items-center gap-2.5 px-1.5 py-1.5 text-sm"${attr("data-attachment", d.state)}>`);
|
|
2555
|
+
if (d.preview) {
|
|
2556
|
+
$$renderer2.push(`<!--[0--><img${attr("src", d.preview)} alt="" class="size-7 shrink-0 rounded border border-hair object-cover"/>`);
|
|
2557
|
+
} else {
|
|
2558
|
+
$$renderer2.push(`<!--[-1--><span class="flex size-7 shrink-0 items-center justify-center rounded bg-sea/10 text-sea" aria-hidden="true">`);
|
|
2559
|
+
File_text($$renderer2, { class: "size-3.5" });
|
|
2560
|
+
$$renderer2.push(`<!----></span>`);
|
|
2561
|
+
}
|
|
2562
|
+
$$renderer2.push(`<!--]--> <span class="min-w-0 truncate font-medium"${attr("title", d.name)}>${escape_html(d.name)}</span> <span${attr_class(`flex shrink-0 items-center gap-1 text-xs ${d.state === "failed" ? "text-danger" : "text-muted-foreground"}`)}${attr("role", d.state === "failed" ? "alert" : void 0)}>`);
|
|
2563
|
+
if (d.state === "uploading") {
|
|
2564
|
+
$$renderer2.push("<!--[0-->");
|
|
2565
|
+
Loader_circle($$renderer2, { class: "size-3 animate-spin", "aria-hidden": "true" });
|
|
2566
|
+
$$renderer2.push(`<!---->Uploading ${escape_html(Math.round(d.progress * 100))}%`);
|
|
2567
|
+
} else if (d.state === "failed") {
|
|
2568
|
+
$$renderer2.push("<!--[1-->");
|
|
2569
|
+
Circle_alert($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
2570
|
+
$$renderer2.push(`<!---->${escape_html(d.error)}`);
|
|
2571
|
+
} else {
|
|
2572
|
+
$$renderer2.push(`<!--[-1-->${escape_html(kindLabel(d))} · ${escape_html(fileSize(d.size))}`);
|
|
2573
|
+
}
|
|
2574
|
+
$$renderer2.push(`<!--]--></span> <button type="button" class="ml-auto flex size-7 shrink-0 cursor-pointer items-center justify-center rounded text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"${attr("aria-label", `Remove ${stringify(d.name)}`)} title="Remove">`);
|
|
2575
|
+
X($$renderer2, { class: "size-3.5" });
|
|
2576
|
+
$$renderer2.push(`<!----></button></li>`);
|
|
2577
|
+
}
|
|
2578
|
+
$$renderer2.push(`<!--]--></ul>`);
|
|
2579
|
+
} else {
|
|
2580
|
+
$$renderer2.push("<!--[-1-->");
|
|
2581
|
+
}
|
|
2582
|
+
$$renderer2.push(`<!--]-->`);
|
|
2583
|
+
});
|
|
2584
|
+
}
|
|
2585
|
+
function Composer($$renderer, $$props) {
|
|
2586
|
+
$$renderer.component(($$renderer2) => {
|
|
2587
|
+
let {
|
|
2588
|
+
via,
|
|
2589
|
+
reason,
|
|
2590
|
+
working,
|
|
2591
|
+
held = null,
|
|
2592
|
+
reply = null,
|
|
2593
|
+
thread = null,
|
|
2594
|
+
threads: threads2 = [],
|
|
2595
|
+
inline = false,
|
|
2596
|
+
onvault
|
|
2597
|
+
} = $$props;
|
|
2598
|
+
let chosen = void 0;
|
|
2599
|
+
const threadTopic = derived(() => thread?.topic ?? null);
|
|
2600
|
+
const sendIn = derived(() => threadTopic());
|
|
2601
|
+
const sendInName = derived(() => sendIn() ? (threads2.find((t) => t.topic === sendIn()) ?? thread)?.name ?? sendIn() : null);
|
|
2602
|
+
const sendInHue = derived(() => sendIn() ? (threads2.find((t) => t.topic === sendIn()) ?? thread)?.hue ?? null : null);
|
|
2603
|
+
const sendInOwn = derived(() => sendIn() && sendIn() === thread?.topic ? thread : null);
|
|
2604
|
+
const canSend = derived(() => via !== null);
|
|
2605
|
+
let editor = void 0;
|
|
2606
|
+
let empty = true;
|
|
2607
|
+
let dictating = false;
|
|
2608
|
+
let extrasOpen = false;
|
|
2609
|
+
let stopping = false;
|
|
2610
|
+
const placeholder = derived(() => via === "session" ? "Message Firstmate · / for commands · # for a task or thread" : via === "inbox" ? "Message Firstmate’s inbox · # for a task or thread" : reason ?? "Firstmate is not running here.");
|
|
2611
|
+
const shortPlaceholder = derived(() => via === "session" ? "Message Firstmate" : via === "inbox" ? "Message Firstmate’s inbox" : reason ?? "Firstmate is not running here.");
|
|
2612
|
+
const sendable = derived(() => attachments.ready);
|
|
2613
|
+
let $$settled = true;
|
|
2614
|
+
let $$inner_renderer;
|
|
2615
|
+
function $$render_inner($$renderer3) {
|
|
2616
|
+
$$renderer3.push(`<div class="relative">`);
|
|
2617
|
+
{
|
|
2618
|
+
$$renderer3.push("<!--[-1-->");
|
|
2619
|
+
}
|
|
2620
|
+
$$renderer3.push(`<!--]--> `);
|
|
2621
|
+
if (sendIn() || thread && chosen === null) {
|
|
2622
|
+
$$renderer3.push(`<!--[0--><div${attr_class(`mb-1.5 flex items-center gap-1.5 text-xs text-muted-foreground ${inline ? "max-md:hidden" : ""}`)} data-send-in="">`);
|
|
2623
|
+
if (sendIn()) {
|
|
2624
|
+
$$renderer3.push(`<!--[0--><span>Sent in</span> <span class="thread-tag pointer-events-none"${attr("data-hue", sendInHue() ?? void 0)}>${escape_html(sendInName())}`);
|
|
2625
|
+
if (sendInOwn()?.taskName) {
|
|
2626
|
+
$$renderer3.push(`<!--[0--><span class="thread-tag-task" aria-hidden="true">›</span>${escape_html(sendInOwn().taskName)}`);
|
|
2627
|
+
} else {
|
|
2628
|
+
$$renderer3.push("<!--[-1-->");
|
|
2629
|
+
}
|
|
2630
|
+
$$renderer3.push(`<!--]--></span> <button class="cursor-pointer rounded px-1 hover:bg-muted hover:text-foreground" aria-label="Send this message in no thread" title="Send this message in no thread">`);
|
|
2631
|
+
X($$renderer3, { class: "size-3.5" });
|
|
2632
|
+
$$renderer3.push(`<!----></button> `);
|
|
2633
|
+
if (sendInOwn()?.why) {
|
|
2634
|
+
$$renderer3.push(`<!--[0--><span class="send-why">${escape_html(sendInOwn().why)}</span>`);
|
|
2635
|
+
} else {
|
|
2636
|
+
$$renderer3.push("<!--[-1-->");
|
|
2637
|
+
}
|
|
2638
|
+
$$renderer3.push(`<!--]-->`);
|
|
2639
|
+
} else if (thread) {
|
|
2640
|
+
$$renderer3.push(`<!--[1--><span>Sent in no thread ·</span> <button class="cursor-pointer font-medium text-sea hover:underline">Send in ${escape_html(thread.name)}</button>`);
|
|
2641
|
+
} else {
|
|
2642
|
+
$$renderer3.push("<!--[-1-->");
|
|
2643
|
+
}
|
|
2644
|
+
$$renderer3.push(`<!--]--></div>`);
|
|
2645
|
+
} else {
|
|
2646
|
+
$$renderer3.push("<!--[-1-->");
|
|
2647
|
+
}
|
|
2648
|
+
$$renderer3.push(`<!--]--> `);
|
|
2649
|
+
if (reply) {
|
|
2650
|
+
$$renderer3.push(`<!--[0--><div class="reply-draft" role="group" aria-label="Replying to a message">`);
|
|
2651
|
+
Reply($$renderer3, { class: "size-4 shrink-0 text-sea", "aria-hidden": "true" });
|
|
2652
|
+
$$renderer3.push(`<!----> <div class="min-w-0 flex-1"><p class="text-xs font-medium text-sea">Replying to ${escape_html(reply.who === "firstmate" ? "Firstmate" : "yourself")}</p> <p class="truncate text-sm text-muted-foreground">${escape_html(reply.snippet)}</p></div> <button class="flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Cancel the reply" title="Cancel the reply (Esc)">`);
|
|
2653
|
+
X($$renderer3, { class: "size-4" });
|
|
2654
|
+
$$renderer3.push(`<!----></button></div>`);
|
|
2655
|
+
} else {
|
|
2656
|
+
$$renderer3.push("<!--[-1-->");
|
|
2657
|
+
}
|
|
2658
|
+
$$renderer3.push(`<!--]--> <div${attr_class(`rounded-xl border bg-card/75 focus-within:ring-2 focus-within:ring-ring/30 ${canSend() ? "" : "opacity-70"} ${reply ? "rounded-t-none" : ""}`)}><div class="flex items-end gap-2 p-2.5 pl-2 max-md:flex-wrap max-md:gap-y-1"><input type="file" multiple="" class="hidden" tabindex="-1" aria-hidden="true"/> <div class="relative shrink-0 md:hidden"><button type="button" aria-label="Attach files or add a secret"${attr("aria-expanded", extrasOpen)} aria-haspopup="menu"${attr("disabled", !canSend(), true)} class="flex size-11 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-40">`);
|
|
2659
|
+
Plus($$renderer3, { class: "size-5" });
|
|
2660
|
+
$$renderer3.push(`<!----></button> `);
|
|
2661
|
+
{
|
|
2662
|
+
$$renderer3.push("<!--[-1-->");
|
|
2663
|
+
}
|
|
2664
|
+
$$renderer3.push(`<!--]--></div> <button type="button" aria-label="Attach files"${attr("title", `Attach files (or drop them on the chat, or paste an image), up to ${stringify(UPLOAD_MAX_BYTES / (1024 * 1024))} MB each`)}${attr("disabled", !canSend(), true)} class="flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-40 max-md:hidden">`);
|
|
2665
|
+
Paperclip($$renderer3, { class: "size-4" });
|
|
2666
|
+
$$renderer3.push(`<!----></button> `);
|
|
2667
|
+
if (onvault) {
|
|
2668
|
+
$$renderer3.push(`<!--[0--><button type="button" aria-label="Add a secret to the vault" title="Add a secret to the vault: its value goes to the Keychain, never into the chat" class="-ml-1 flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground max-md:hidden">`);
|
|
2669
|
+
Key_round($$renderer3, { class: "size-4" });
|
|
2670
|
+
$$renderer3.push(`<!----></button>`);
|
|
2671
|
+
} else {
|
|
2672
|
+
$$renderer3.push("<!--[-1-->");
|
|
2673
|
+
}
|
|
2674
|
+
$$renderer3.push(`<!--]--> `);
|
|
2675
|
+
if (inline && sendIn()) {
|
|
2676
|
+
$$renderer3.push(`<!--[0--><span class="send-chip md:hidden" data-send-in-inline=""><span class="thread-tag pointer-events-none"${attr("data-hue", sendInHue() ?? void 0)}><span class="thread-tag-name">${escape_html(sendInOwn()?.taskName ?? sendInName())}</span></span><button type="button" aria-label="Send this message in no thread"${attr("title", `${stringify(sendInName())}${sendInOwn()?.taskName ? ` › ${sendInOwn().taskName}` : ""}${sendInOwn()?.why ? ` · ${sendInOwn().why}` : ""}. Tap to send it in no thread`)} class="touch-target">`);
|
|
2677
|
+
X($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
2678
|
+
$$renderer3.push(`<!----></button></span>`);
|
|
2679
|
+
} else {
|
|
2680
|
+
$$renderer3.push("<!--[-1-->");
|
|
2681
|
+
}
|
|
2682
|
+
$$renderer3.push(`<!--]--> <div${attr("contenteditable", canSend() ? "true" : "false")} role="textbox"${attr("tabindex", canSend() ? 0 : -1)} aria-multiline="true" aria-label="Message Firstmate"${attr("aria-disabled", !canSend())}${attr("data-placeholder", placeholder())}${attr("data-placeholder-short", shortPlaceholder())}${attr_class(`editor no-scrollbar max-h-48 min-h-10 min-w-0 flex-1 overflow-y-auto py-2 text-base leading-relaxed whitespace-pre-wrap outline-none ${"is-empty"} ${canSend() ? "" : "cursor-not-allowed"}`, "svelte-w61w6e")}></div> <div${attr_class(`contents ${sendable() && !dictating ? "max-md:hidden" : ""}`)}>`);
|
|
2683
|
+
MicButton($$renderer3, {
|
|
2684
|
+
field: editor,
|
|
2685
|
+
target: () => editableTarget(editor),
|
|
2686
|
+
label: "Dictate a message",
|
|
2687
|
+
disabled: !canSend(),
|
|
2688
|
+
get listening() {
|
|
2689
|
+
return dictating;
|
|
2690
|
+
},
|
|
2691
|
+
set listening($$value) {
|
|
2692
|
+
dictating = $$value;
|
|
2693
|
+
$$settled = false;
|
|
2694
|
+
}
|
|
2695
|
+
});
|
|
2696
|
+
$$renderer3.push(`<!----></div> `);
|
|
2697
|
+
if (working && empty && !attachments.drafts.length && via === "session") {
|
|
2698
|
+
$$renderer3.push(`<!--[0--><button aria-label="Stop Firstmate" title="Stop what Firstmate is doing (Escape)"${attr("disabled", stopping, true)} class="flex size-10 shrink-0 cursor-pointer items-center justify-center rounded-full bg-sea text-on-accent transition-opacity disabled:opacity-40 max-md:size-11">`);
|
|
2699
|
+
{
|
|
2700
|
+
$$renderer3.push("<!--[-1-->");
|
|
2701
|
+
Square($$renderer3, { class: "size-3.5 fill-current" });
|
|
2702
|
+
}
|
|
2703
|
+
$$renderer3.push(`<!--]--></button>`);
|
|
2704
|
+
} else {
|
|
2705
|
+
$$renderer3.push(`<!--[-1--><button aria-label="Send"${attr("disabled", !attachments.ready || !canSend() || !!held || attachments.uploading, true)}${attr_class(`flex size-10 shrink-0 max-md:size-11 ${sendable() ? "" : "max-md:hidden"} cursor-pointer items-center justify-center rounded-full bg-sea text-on-accent transition-opacity disabled:cursor-not-allowed disabled:opacity-30`)}>`);
|
|
2706
|
+
Arrow_up($$renderer3, { class: "size-4" });
|
|
2707
|
+
$$renderer3.push(`<!----></button>`);
|
|
2708
|
+
}
|
|
2709
|
+
$$renderer3.push(`<!--]--></div> `);
|
|
2710
|
+
AttachedFiles($$renderer3);
|
|
2711
|
+
$$renderer3.push(`<!----></div> `);
|
|
2712
|
+
if (held) {
|
|
2713
|
+
$$renderer3.push(`<!--[1--><p class="mt-2 text-xs text-muted-foreground" data-held="">${escape_html(held)}</p>`);
|
|
2714
|
+
} else if (attachments.uploading) {
|
|
2715
|
+
$$renderer3.push(`<!--[2--><p class="mt-2 text-xs text-muted-foreground">Send waits until the files finish uploading.</p>`);
|
|
2716
|
+
} else if (via === "inbox") {
|
|
2717
|
+
$$renderer3.push(`<!--[3--><p class="mt-2 text-xs text-muted-foreground">${escape_html("Firstmate runs in another terminal, so messages go to its inbox.")}</p>`);
|
|
2718
|
+
} else {
|
|
2719
|
+
$$renderer3.push("<!--[-1-->");
|
|
2720
|
+
}
|
|
2721
|
+
$$renderer3.push(`<!--]--></div>`);
|
|
2722
|
+
}
|
|
2723
|
+
do {
|
|
2724
|
+
$$settled = true;
|
|
2725
|
+
$$inner_renderer = $$renderer2.copy();
|
|
2726
|
+
$$render_inner($$inner_renderer);
|
|
2727
|
+
} while (!$$settled);
|
|
2728
|
+
$$renderer2.subsume($$inner_renderer);
|
|
2729
|
+
});
|
|
2730
|
+
}
|
|
2731
|
+
function MenuCard($$renderer, $$props) {
|
|
2732
|
+
$$renderer.component(($$renderer2) => {
|
|
2733
|
+
let { menu, tool = "Claude Code" } = $$props;
|
|
2734
|
+
let busy = false;
|
|
2735
|
+
$$renderer2.push(`<div class="max-w-[80ch] rounded-lg border border-t-2 border-t-sea bg-card p-4" role="group"${attr("aria-label", `A ${stringify(tool)} menu is open`)}><p class="mb-2 flex items-center gap-2 font-display text-[1.15rem] font-medium">`);
|
|
2736
|
+
App_window($$renderer2, { class: "size-4 text-sea", "aria-hidden": "true" });
|
|
2737
|
+
$$renderer2.push(`<!---->A ${escape_html(tool)} menu is open</p> <p class="mb-3 text-sm text-muted-foreground">`);
|
|
2738
|
+
if (menu.title) {
|
|
2739
|
+
$$renderer2.push(`<!--[0--><span class="font-medium text-foreground">${escape_html(menu.title)}</span>`);
|
|
2740
|
+
} else {
|
|
2741
|
+
$$renderer2.push(`<!--[-1-->A menu`);
|
|
2742
|
+
}
|
|
2743
|
+
$$renderer2.push(`<!--]--> is open in Firstmate’s session, and the chat can’t use it. Close it to carry on chatting, or use it
|
|
2744
|
+
in Firstmate’s terminal.</p> <div class="flex flex-wrap items-center gap-3 text-sm">`);
|
|
2745
|
+
if (menu.canDismiss !== false) {
|
|
2746
|
+
$$renderer2.push(`<!--[0--><button class="flex cursor-pointer items-center gap-1.5 rounded-lg bg-foreground px-3 py-1.5 font-medium text-background disabled:opacity-40"${attr("disabled", busy, true)}>`);
|
|
2747
|
+
{
|
|
2748
|
+
$$renderer2.push("<!--[-1-->");
|
|
2749
|
+
X($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
2750
|
+
}
|
|
2751
|
+
$$renderer2.push(`<!--]-->Close menu</button>`);
|
|
2752
|
+
} else {
|
|
2753
|
+
$$renderer2.push("<!--[-1-->");
|
|
2754
|
+
}
|
|
2755
|
+
$$renderer2.push(`<!--]--> <button class="flex cursor-pointer items-center gap-1.5 text-muted-foreground hover:text-foreground">`);
|
|
2756
|
+
Square_terminal($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
2757
|
+
$$renderer2.push(`<!---->Use it in the terminal</button> `);
|
|
2758
|
+
{
|
|
2759
|
+
$$renderer2.push("<!--[-1-->");
|
|
2760
|
+
}
|
|
2761
|
+
$$renderer2.push(`<!--]--></div></div>`);
|
|
2762
|
+
});
|
|
2763
|
+
}
|
|
2764
|
+
function PickerCard($$renderer, $$props) {
|
|
2765
|
+
$$renderer.component(($$renderer2) => {
|
|
2766
|
+
let { picker } = $$props;
|
|
2767
|
+
let busy = false;
|
|
2768
|
+
$$renderer2.push(`<div class="max-w-[80ch] rounded-lg border border-t-2 border-t-sea bg-card p-4" role="group" aria-label="Firstmate is asking you"><p class="mb-2 flex items-center gap-2 font-display text-[1.15rem] font-medium">`);
|
|
2769
|
+
Message_circle_question_mark($$renderer2, { class: "size-4 text-sea", "aria-hidden": "true" });
|
|
2770
|
+
$$renderer2.push(`<!---->Firstmate is asking you `);
|
|
2771
|
+
{
|
|
2772
|
+
$$renderer2.push("<!--[-1-->");
|
|
2773
|
+
}
|
|
2774
|
+
$$renderer2.push(`<!--]--></p> `);
|
|
2775
|
+
if (picker.tabs.length > 1) {
|
|
2776
|
+
$$renderer2.push(`<!--[0--><div class="mb-3 flex flex-wrap gap-1.5 text-xs"><!--[-->`);
|
|
2777
|
+
const each_array = ensure_array_like(picker.tabs);
|
|
2778
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
2779
|
+
let tab = each_array[$$index];
|
|
2780
|
+
$$renderer2.push(`<span${attr_class(`flex items-center gap-1 rounded border px-1.5 py-0.5 ${tab.done ? "text-muted-foreground" : "border-sea/50 text-foreground"}`)}>`);
|
|
2781
|
+
if (tab.done) {
|
|
2782
|
+
$$renderer2.push("<!--[0-->");
|
|
2783
|
+
Check($$renderer2, { class: "size-3", "aria-label": "Answered" });
|
|
2784
|
+
} else {
|
|
2785
|
+
$$renderer2.push("<!--[-1-->");
|
|
2786
|
+
}
|
|
2787
|
+
$$renderer2.push(`<!--]-->${escape_html(tab.label)}</span>`);
|
|
2788
|
+
}
|
|
2789
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
2790
|
+
} else {
|
|
2791
|
+
$$renderer2.push("<!--[-1-->");
|
|
2792
|
+
}
|
|
2793
|
+
$$renderer2.push(`<!--]--> `);
|
|
2794
|
+
if (picker.title) {
|
|
2795
|
+
$$renderer2.push(`<!--[0--><p class="mb-3 text-base whitespace-pre-line">${escape_html(picker.title)}</p>`);
|
|
2796
|
+
} else {
|
|
2797
|
+
$$renderer2.push("<!--[-1-->");
|
|
2798
|
+
}
|
|
2799
|
+
$$renderer2.push(`<!--]--> <div class="flex flex-col gap-1.5"><!--[-->`);
|
|
2800
|
+
const each_array_1 = ensure_array_like(picker.options);
|
|
2801
|
+
for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
|
|
2802
|
+
let o = each_array_1[$$index_1];
|
|
2803
|
+
if (o.freeText) {
|
|
2804
|
+
$$renderer2.push(`<!--[0--><button class="flex w-full cursor-pointer items-center gap-3 rounded-lg border border-dashed bg-background px-3 py-2 text-left text-sm text-muted-foreground hover:border-sea/60">`);
|
|
2805
|
+
Square_terminal($$renderer2, { class: "size-4 shrink-0", "aria-hidden": "true" });
|
|
2806
|
+
$$renderer2.push(`<!----> <span>Type an answer in Firstmate’s terminal</span></button>`);
|
|
2807
|
+
} else {
|
|
2808
|
+
$$renderer2.push(`<!--[-1--><button${attr_class(`flex w-full cursor-pointer items-start gap-3 rounded-lg border px-3 py-2 text-left text-sm transition-colors disabled:cursor-default ${o.checked ? "border-sea bg-sea/10" : "bg-background hover:border-sea/60"}`)}${attr("disabled", busy, true)}${attr("aria-pressed", o.checked === null ? void 0 : o.checked)}><span class="tabular w-4 shrink-0 text-muted-foreground">`);
|
|
2809
|
+
if (o.checked) {
|
|
2810
|
+
$$renderer2.push("<!--[0-->");
|
|
2811
|
+
Check($$renderer2, { class: "size-4 text-sea", "aria-label": "Chosen" });
|
|
2812
|
+
} else {
|
|
2813
|
+
$$renderer2.push(`<!--[-1-->${escape_html(o.n)}`);
|
|
2814
|
+
}
|
|
2815
|
+
$$renderer2.push(`<!--]--></span> <span class="min-w-0"><span class="font-medium">${escape_html(o.label)}</span> `);
|
|
2816
|
+
if (o.description) {
|
|
2817
|
+
$$renderer2.push(`<!--[0--><span class="block text-xs text-muted-foreground">${escape_html(o.description)}</span>`);
|
|
2818
|
+
} else {
|
|
2819
|
+
$$renderer2.push("<!--[-1-->");
|
|
2820
|
+
}
|
|
2821
|
+
$$renderer2.push(`<!--]--></span></button>`);
|
|
2822
|
+
}
|
|
2823
|
+
$$renderer2.push(`<!--]-->`);
|
|
2824
|
+
}
|
|
2825
|
+
$$renderer2.push(`<!--]--></div> <div class="mt-3 flex flex-wrap items-center gap-3 text-sm">`);
|
|
2826
|
+
if (picker.multiSelect && picker.submitMoves !== null) {
|
|
2827
|
+
$$renderer2.push(`<!--[0--><button class="cursor-pointer rounded-lg bg-foreground px-3 py-1.5 font-medium text-background disabled:opacity-40"${attr("disabled", !picker.options.some((o) => o.checked), true)}>Done</button>`);
|
|
2828
|
+
} else {
|
|
2829
|
+
$$renderer2.push("<!--[-1-->");
|
|
2830
|
+
}
|
|
2831
|
+
$$renderer2.push(`<!--]--> <button class="flex cursor-pointer items-center gap-1.5 text-muted-foreground hover:text-foreground">`);
|
|
2832
|
+
Square_terminal($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
2833
|
+
$$renderer2.push(`<!---->Answer in the terminal instead</button> `);
|
|
2834
|
+
{
|
|
2835
|
+
$$renderer2.push("<!--[-1-->");
|
|
2836
|
+
}
|
|
2837
|
+
$$renderer2.push(`<!--]--></div></div>`);
|
|
2838
|
+
});
|
|
2839
|
+
}
|
|
2840
|
+
function QuestionCard($$renderer, $$props) {
|
|
2841
|
+
$$renderer.component(($$renderer2) => {
|
|
2842
|
+
let { part } = $$props;
|
|
2843
|
+
if (part.answers) {
|
|
2844
|
+
$$renderer2.push(`<!--[0--><div class="flex max-w-[80ch] flex-col gap-1 text-sm text-muted-foreground"><!--[-->`);
|
|
2845
|
+
const each_array = ensure_array_like(part.questions);
|
|
2846
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
2847
|
+
let q = each_array[$$index];
|
|
2848
|
+
$$renderer2.push(`<p class="flex items-start gap-2">`);
|
|
2849
|
+
Circle_check($$renderer2, {
|
|
2850
|
+
class: "mt-0.5 size-4 shrink-0 text-success",
|
|
2851
|
+
"aria-hidden": "true"
|
|
2852
|
+
});
|
|
2853
|
+
$$renderer2.push(`<!----> <span>${escape_html(q.question)} <span class="font-medium text-foreground">${escape_html(part.answers[q.question] ?? "No answer")}</span></span></p>`);
|
|
2854
|
+
}
|
|
2855
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
2856
|
+
} else {
|
|
2857
|
+
$$renderer2.push("<!--[-1-->");
|
|
2858
|
+
}
|
|
2859
|
+
$$renderer2.push(`<!--]-->`);
|
|
2860
|
+
});
|
|
2861
|
+
}
|
|
2862
|
+
function SignInCard($$renderer, $$props) {
|
|
2863
|
+
$$renderer.component(($$renderer2) => {
|
|
2864
|
+
let { signIn, tool = "Claude Code" } = $$props;
|
|
2865
|
+
let code = "";
|
|
2866
|
+
let busy = false;
|
|
2867
|
+
$$renderer2.push(`<div class="max-w-[80ch] rounded-lg border border-t-2 border-t-warning bg-card p-4" role="group"${attr("aria-label", `Sign in to ${stringify(tool)}`)} data-sign-in=""><p class="mb-1 flex items-center gap-2 font-display text-[1.15rem] font-medium">`);
|
|
2868
|
+
Key_round($$renderer2, { class: "size-4 text-warning", "aria-hidden": "true" });
|
|
2869
|
+
$$renderer2.push(`<!---->Sign in to ${escape_html(tool)}</p> <p class="mb-4 text-sm text-muted-foreground">Firstmate is waiting for you to sign ${escape_html(tool)} in before it can carry on.</p> <ol class="flex flex-col gap-4 text-sm"><li class="flex flex-col gap-2"><span><span class="tabular text-muted-foreground">1.</span> Open the sign-in page and sign in.</span> <a class="flex w-fit items-center gap-1.5 rounded-lg bg-foreground px-3 py-1.5 font-medium text-background hover:opacity-90"${attr("href", signIn.url)} target="_blank" rel="noopener noreferrer">`);
|
|
2870
|
+
External_link($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
2871
|
+
$$renderer2.push(`<!---->Open the sign-in page</a></li> `);
|
|
2872
|
+
if (signIn.code) {
|
|
2873
|
+
$$renderer2.push(`<!--[0--><li class="flex flex-col gap-2"><span><span class="tabular text-muted-foreground">2.</span> Enter this code on that page.</span> <span class="flex items-center gap-2"><code class="rounded border bg-background px-2 py-1 font-mono text-base tracking-wider select-all">${escape_html(signIn.code)}</code> <button class="flex cursor-pointer items-center gap-1 text-muted-foreground hover:text-foreground">`);
|
|
2874
|
+
{
|
|
2875
|
+
$$renderer2.push("<!--[-1-->");
|
|
2876
|
+
Copy($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
2877
|
+
$$renderer2.push(`<!---->Copy code`);
|
|
2878
|
+
}
|
|
2879
|
+
$$renderer2.push(`<!--]--></button></span></li>`);
|
|
2880
|
+
} else {
|
|
2881
|
+
$$renderer2.push("<!--[-1-->");
|
|
2882
|
+
}
|
|
2883
|
+
$$renderer2.push(`<!--]--> `);
|
|
2884
|
+
if (signIn.paste) {
|
|
2885
|
+
$$renderer2.push(`<!--[0--><li class="flex flex-col gap-2"><label for="wh-sign-in-code"><span class="tabular text-muted-foreground">2.</span> Paste the code the page gives you.</label> <form class="flex flex-wrap items-center gap-2"><input id="wh-sign-in-code" class="min-w-0 flex-1 rounded-lg border bg-background px-3 py-1.5 font-mono text-sm" autocomplete="off" autocapitalize="off" spellcheck="false" placeholder="Sign-in code"${attr("value", code)}${attr("disabled", busy, true)}/> <button type="submit" class="flex cursor-pointer items-center gap-1.5 rounded-lg bg-foreground px-3 py-1.5 font-medium text-background disabled:cursor-default disabled:opacity-40"${attr("disabled", !code.trim(), true)}>`);
|
|
2886
|
+
{
|
|
2887
|
+
$$renderer2.push("<!--[-1-->");
|
|
2888
|
+
}
|
|
2889
|
+
$$renderer2.push(`<!--]-->Sign in</button></form> `);
|
|
2890
|
+
{
|
|
2891
|
+
$$renderer2.push("<!--[-1-->");
|
|
2892
|
+
}
|
|
2893
|
+
$$renderer2.push(`<!--]--></li>`);
|
|
2894
|
+
} else {
|
|
2895
|
+
$$renderer2.push(`<!--[-1--><li class="text-muted-foreground">${escape_html(tool)} carries on by itself once you have signed in.</li>`);
|
|
2896
|
+
}
|
|
2897
|
+
$$renderer2.push(`<!--]--></ol> `);
|
|
2898
|
+
if (signIn.note) {
|
|
2899
|
+
$$renderer2.push(`<!--[0--><p class="mt-3 text-xs text-muted-foreground">${escape_html(signIn.note)}</p>`);
|
|
2900
|
+
} else {
|
|
2901
|
+
$$renderer2.push("<!--[-1-->");
|
|
2902
|
+
}
|
|
2903
|
+
$$renderer2.push(`<!--]--> <div class="mt-4 flex flex-wrap items-center gap-3 text-sm"><button class="flex cursor-pointer items-center gap-1.5 text-muted-foreground hover:text-foreground">`);
|
|
2904
|
+
Square_terminal($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
2905
|
+
$$renderer2.push(`<!---->Sign in in the terminal instead</button> `);
|
|
2906
|
+
{
|
|
2907
|
+
$$renderer2.push("<!--[-1-->");
|
|
2908
|
+
}
|
|
2909
|
+
$$renderer2.push(`<!--]--></div></div>`);
|
|
2910
|
+
});
|
|
2911
|
+
}
|
|
2912
|
+
function TerminalNotice($$renderer, $$props) {
|
|
2913
|
+
let { detail, tool = "Claude Code" } = $$props;
|
|
2914
|
+
$$renderer.push(`<div class="max-w-[80ch] rounded-lg border border-t-2 border-t-warning bg-card p-4" role="alert" aria-label="Firstmate is waiting for you in the terminal" data-terminal-notice=""><p class="mb-2 flex items-center gap-2 font-display text-[1.15rem] font-medium">`);
|
|
2915
|
+
Square_terminal($$renderer, { class: "size-4 text-warning", "aria-hidden": "true" });
|
|
2916
|
+
$$renderer.push(`<!---->Firstmate is waiting for you in
|
|
2917
|
+
the terminal</p> <p class="mb-3 text-sm text-muted-foreground">${escape_html(tool)} is showing something the chat can’t answer. Open the terminal to carry on; the chat picks up
|
|
2918
|
+
again once it’s done.</p> `);
|
|
2919
|
+
if (detail) {
|
|
2920
|
+
$$renderer.push(`<!--[0--><pre class="mb-3 overflow-x-auto rounded border bg-background px-3 py-2 font-mono text-xs whitespace-pre-wrap text-muted-foreground">${escape_html(detail)}</pre>`);
|
|
2921
|
+
} else {
|
|
2922
|
+
$$renderer.push("<!--[-1-->");
|
|
2923
|
+
}
|
|
2924
|
+
$$renderer.push(`<!--]--> <button class="flex cursor-pointer items-center gap-1.5 rounded-lg bg-foreground px-3 py-1.5 text-sm font-medium text-background hover:opacity-90">`);
|
|
2925
|
+
Square_terminal($$renderer, { class: "size-4", "aria-hidden": "true" });
|
|
2926
|
+
$$renderer.push(`<!---->Open terminal</button></div>`);
|
|
2927
|
+
}
|
|
2928
|
+
function ThreadTag($$renderer, $$props) {
|
|
2929
|
+
$$renderer.component(($$renderer2) => {
|
|
2930
|
+
let {
|
|
2931
|
+
tag,
|
|
2932
|
+
threads: threads2,
|
|
2933
|
+
onShow,
|
|
2934
|
+
taskName = (id) => id
|
|
2935
|
+
/** Every thread it can move to, with its name and hue (null for Unsorted). */
|
|
2936
|
+
/** Shows the thread (and task) the tag names. */
|
|
2937
|
+
/** A task's short name, for the tag's second part. */
|
|
2938
|
+
} = $$props;
|
|
2939
|
+
const SOURCE = {
|
|
2940
|
+
marker: "Firstmate filed this here",
|
|
2941
|
+
decision: "The decision’s project",
|
|
2942
|
+
task: "The task’s project",
|
|
2943
|
+
thread: "Sent in this thread",
|
|
2944
|
+
reply: "A reply, in the thread of the message it answers",
|
|
2945
|
+
you: "You moved this here",
|
|
2946
|
+
guess: "A guess from what it names"
|
|
2947
|
+
};
|
|
2948
|
+
const me = derived(() => threads2.find((t) => t.topic === tag.topic) ?? { topic: tag.topic, name: tag.topic, hue: null });
|
|
2949
|
+
let open = false;
|
|
2950
|
+
let fresh = "";
|
|
2951
|
+
function label($$renderer3) {
|
|
2952
|
+
$$renderer3.push(`<span class="thread-tag-name">${escape_html(me().name)}</span>`);
|
|
2953
|
+
if (tag.task) {
|
|
2954
|
+
$$renderer3.push(`<!--[0--><span class="thread-tag-task" aria-hidden="true">›</span><span class="thread-tag-name">${escape_html(taskName(tag.task))}</span>`);
|
|
2955
|
+
} else {
|
|
2956
|
+
$$renderer3.push("<!--[-1-->");
|
|
2957
|
+
}
|
|
2958
|
+
$$renderer3.push(`<!--]-->`);
|
|
2959
|
+
if (tag.source === "guess") {
|
|
2960
|
+
$$renderer3.push(`<!--[0--><span class="thread-tag-src">· guess</span>`);
|
|
2961
|
+
} else if (tag.source === "you") {
|
|
2962
|
+
$$renderer3.push(`<!--[1--><span class="thread-tag-src">· moved</span>`);
|
|
2963
|
+
} else {
|
|
2964
|
+
$$renderer3.push("<!--[-1-->");
|
|
2965
|
+
}
|
|
2966
|
+
$$renderer3.push(`<!--]-->`);
|
|
2967
|
+
}
|
|
2968
|
+
function tagButton($$renderer3, props) {
|
|
2969
|
+
$$renderer3.push(`<span class="thread-tag"${attr("data-hue", me().hue ?? void 0)}${attr("data-unsorted", tag.topic === UNSORTED ? "" : void 0)}${attr("data-source", tag.source ?? void 0)}${attr("title", `${stringify(tag.source ? SOURCE[tag.source] : "Not filed under a thread")}.${onShow ? " Click to show the thread; the arrow moves it." : " Click to move it."}`)}>`);
|
|
2970
|
+
if (onShow) {
|
|
2971
|
+
$$renderer3.push(`<!--[0--><button type="button" class="thread-tag-show touch-target"${attr("aria-label", `Show the ${stringify(me().name)}${tag.task ? ` › ${taskName(tag.task)}` : ""} thread${tag.source === "guess" ? " (a guess)" : ""}`)}>`);
|
|
2972
|
+
label($$renderer3);
|
|
2973
|
+
$$renderer3.push(`<!----></button><button${attributes({
|
|
2974
|
+
...props,
|
|
2975
|
+
class: "thread-tag-move touch-target",
|
|
2976
|
+
"aria-label": "Move it to another thread"
|
|
2977
|
+
})}>`);
|
|
2978
|
+
Chevron_down($$renderer3, { "aria-hidden": "true" });
|
|
2979
|
+
$$renderer3.push(`<!----></button>`);
|
|
2980
|
+
} else {
|
|
2981
|
+
$$renderer3.push(`<!--[-1--><button${attributes({
|
|
2982
|
+
...props,
|
|
2983
|
+
class: "thread-tag-show touch-target",
|
|
2984
|
+
"aria-label": `Thread: ${stringify(me().name)}${tag.source === "guess" ? " (a guess)" : ""}. Move it`
|
|
2985
|
+
})}>`);
|
|
2986
|
+
label($$renderer3);
|
|
2987
|
+
$$renderer3.push(`<!----></button>`);
|
|
2988
|
+
}
|
|
2989
|
+
$$renderer3.push(`<!--]--></span>`);
|
|
2990
|
+
}
|
|
2991
|
+
function moveTo($$renderer3) {
|
|
2992
|
+
$$renderer3.push(`<p class="px-2 pt-1 pb-1.5 text-xs text-muted-foreground max-md:hidden">Move to thread</p> <div class="no-scrollbar max-h-64 overflow-y-auto max-md:max-h-none"><!--[-->`);
|
|
2993
|
+
const each_array = ensure_array_like(threads2);
|
|
2994
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
2995
|
+
let t = each_array[$$index];
|
|
2996
|
+
$$renderer3.push(`<button class="flex w-full cursor-pointer items-center gap-2 rounded px-2 py-1.5 text-left hover:bg-muted max-md:min-h-12 max-md:text-base pointer-coarse:min-h-11"><span class="thread-dot"${attr("data-hue", t.hue ?? void 0)} aria-hidden="true"></span> <span class="min-w-0 flex-1 truncate">${escape_html(t.name)}</span> `);
|
|
2997
|
+
if (t.topic === tag.topic) {
|
|
2998
|
+
$$renderer3.push("<!--[0-->");
|
|
2999
|
+
Check($$renderer3, { class: "size-3.5 text-muted-foreground" });
|
|
3000
|
+
} else {
|
|
3001
|
+
$$renderer3.push("<!--[-1-->");
|
|
3002
|
+
}
|
|
3003
|
+
$$renderer3.push(`<!--]--></button>`);
|
|
3004
|
+
}
|
|
3005
|
+
$$renderer3.push(`<!--]--></div> <form class="mt-1 flex items-center gap-1.5 border-t px-1 pt-1.5">`);
|
|
3006
|
+
Plus($$renderer3, {
|
|
3007
|
+
class: "size-3.5 shrink-0 text-muted-foreground",
|
|
3008
|
+
"aria-hidden": "true"
|
|
3009
|
+
});
|
|
3010
|
+
$$renderer3.push(`<!----> <input class="min-w-0 flex-1 bg-transparent py-1 text-sm outline-none placeholder:text-muted-foreground max-md:min-h-12 max-md:text-base" placeholder="New topic…" aria-label="New topic"${attr("value", fresh)}/></form>`);
|
|
3011
|
+
}
|
|
3012
|
+
let $$settled = true;
|
|
3013
|
+
let $$inner_renderer;
|
|
3014
|
+
function $$render_inner($$renderer3) {
|
|
3015
|
+
if (phone.current) {
|
|
3016
|
+
$$renderer3.push("<!--[0-->");
|
|
3017
|
+
tagButton($$renderer3, {
|
|
3018
|
+
type: "button",
|
|
3019
|
+
"aria-haspopup": "dialog",
|
|
3020
|
+
onclick: () => open = true
|
|
3021
|
+
});
|
|
3022
|
+
$$renderer3.push(`<!----> `);
|
|
3023
|
+
Sheet($$renderer3, {
|
|
3024
|
+
title: "Move to thread",
|
|
3025
|
+
get open() {
|
|
3026
|
+
return open;
|
|
3027
|
+
},
|
|
3028
|
+
set open($$value) {
|
|
3029
|
+
open = $$value;
|
|
3030
|
+
$$settled = false;
|
|
3031
|
+
},
|
|
3032
|
+
children: ($$renderer4) => {
|
|
3033
|
+
$$renderer4.push(`<div class="px-3 pb-3">`);
|
|
3034
|
+
moveTo($$renderer4);
|
|
3035
|
+
$$renderer4.push(`<!----></div>`);
|
|
3036
|
+
},
|
|
3037
|
+
$$slots: { default: true }
|
|
3038
|
+
});
|
|
3039
|
+
$$renderer3.push(`<!---->`);
|
|
3040
|
+
} else {
|
|
3041
|
+
$$renderer3.push("<!--[-1-->");
|
|
3042
|
+
if (Popover) {
|
|
3043
|
+
$$renderer3.push("<!--[-->");
|
|
3044
|
+
Popover($$renderer3, {
|
|
3045
|
+
get open() {
|
|
3046
|
+
return open;
|
|
3047
|
+
},
|
|
3048
|
+
set open($$value) {
|
|
3049
|
+
open = $$value;
|
|
3050
|
+
$$settled = false;
|
|
3051
|
+
},
|
|
3052
|
+
children: ($$renderer4) => {
|
|
3053
|
+
{
|
|
3054
|
+
let child = function($$renderer5, { props }) {
|
|
3055
|
+
tagButton($$renderer5, props);
|
|
3056
|
+
};
|
|
3057
|
+
if (Popover_trigger) {
|
|
3058
|
+
$$renderer4.push("<!--[-->");
|
|
3059
|
+
Popover_trigger($$renderer4, { child, $$slots: { child: true } });
|
|
3060
|
+
$$renderer4.push("<!--]-->");
|
|
3061
|
+
} else {
|
|
3062
|
+
$$renderer4.push("<!--[!-->");
|
|
3063
|
+
$$renderer4.push("<!--]-->");
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
$$renderer4.push(` `);
|
|
3067
|
+
if (Portal) {
|
|
3068
|
+
$$renderer4.push("<!--[-->");
|
|
3069
|
+
Portal($$renderer4, {
|
|
3070
|
+
children: ($$renderer5) => {
|
|
3071
|
+
if (Popover_content) {
|
|
3072
|
+
$$renderer5.push("<!--[-->");
|
|
3073
|
+
Popover_content($$renderer5, {
|
|
3074
|
+
align: "start",
|
|
3075
|
+
sideOffset: 4,
|
|
3076
|
+
class: "z-50 w-60 max-w-[calc(100vw-2rem)] rounded-md bg-popover p-1.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10",
|
|
3077
|
+
children: ($$renderer6) => {
|
|
3078
|
+
moveTo($$renderer6);
|
|
3079
|
+
},
|
|
3080
|
+
$$slots: { default: true }
|
|
3081
|
+
});
|
|
3082
|
+
$$renderer5.push("<!--]-->");
|
|
3083
|
+
} else {
|
|
3084
|
+
$$renderer5.push("<!--[!-->");
|
|
3085
|
+
$$renderer5.push("<!--]-->");
|
|
3086
|
+
}
|
|
3087
|
+
}
|
|
3088
|
+
});
|
|
3089
|
+
$$renderer4.push("<!--]-->");
|
|
3090
|
+
} else {
|
|
3091
|
+
$$renderer4.push("<!--[!-->");
|
|
3092
|
+
$$renderer4.push("<!--]-->");
|
|
3093
|
+
}
|
|
3094
|
+
},
|
|
3095
|
+
$$slots: { default: true }
|
|
3096
|
+
});
|
|
3097
|
+
$$renderer3.push("<!--]-->");
|
|
3098
|
+
} else {
|
|
3099
|
+
$$renderer3.push("<!--[!-->");
|
|
3100
|
+
$$renderer3.push("<!--]-->");
|
|
3101
|
+
}
|
|
3102
|
+
}
|
|
3103
|
+
$$renderer3.push(`<!--]-->`);
|
|
3104
|
+
}
|
|
3105
|
+
do {
|
|
3106
|
+
$$settled = true;
|
|
3107
|
+
$$inner_renderer = $$renderer2.copy();
|
|
3108
|
+
$$render_inner($$inner_renderer);
|
|
3109
|
+
} while (!$$settled);
|
|
3110
|
+
$$renderer2.subsume($$inner_renderer);
|
|
3111
|
+
});
|
|
3112
|
+
}
|
|
3113
|
+
function Lanes($$renderer, $$props) {
|
|
3114
|
+
$$renderer.component(($$renderer2) => {
|
|
3115
|
+
let {
|
|
3116
|
+
lanes,
|
|
3117
|
+
current,
|
|
3118
|
+
onPick,
|
|
3119
|
+
tasks = [],
|
|
3120
|
+
currentTask = null,
|
|
3121
|
+
onPickTask,
|
|
3122
|
+
allUnread = 0,
|
|
3123
|
+
sheet = false
|
|
3124
|
+
/** The lane being read, or null for All. */
|
|
3125
|
+
/** The tasks of the lane being read; no row without two or more. */
|
|
3126
|
+
/** New messages across every lane. */
|
|
3127
|
+
/** Whether the phone's sheet of lanes is open. */
|
|
3128
|
+
} = $$props;
|
|
3129
|
+
const lane = derived(() => lanes.find((l) => l.topic === current) ?? null);
|
|
3130
|
+
let $$settled = true;
|
|
3131
|
+
let $$inner_renderer;
|
|
3132
|
+
function $$render_inner($$renderer3) {
|
|
3133
|
+
$$renderer3.push(`<nav class="lanes max-md:hidden" aria-label="Lanes" data-lanes=""><div class="lanes-row no-scrollbar"><button type="button" class="lane"${attr("aria-current", current === null ? "true" : void 0)} title="Every thread (⌥0)">All`);
|
|
3134
|
+
if (allUnread) {
|
|
3135
|
+
$$renderer3.push(`<!--[0--><span class="lane-count"${attr("aria-label", `${stringify(allUnread)} new`)}>${escape_html(allUnread)}</span>`);
|
|
3136
|
+
} else {
|
|
3137
|
+
$$renderer3.push("<!--[-1-->");
|
|
3138
|
+
}
|
|
3139
|
+
$$renderer3.push(`<!--]--><span class="lane-key" aria-hidden="true">⌥0</span></button> <span class="lane-rule" aria-hidden="true"></span> <!--[-->`);
|
|
3140
|
+
const each_array = ensure_array_like(lanes);
|
|
3141
|
+
for (let i = 0, $$length = each_array.length; i < $$length; i++) {
|
|
3142
|
+
let l = each_array[i];
|
|
3143
|
+
$$renderer3.push(`<button type="button" class="lane"${attr("data-hue", l.hue ?? void 0)}${attr("data-lane", l.topic)}${attr("aria-current", current === l.topic ? "true" : void 0)}${attr("title", `${stringify(l.name)}${i < 9 ? ` (⌥${i + 1})` : ""}`)}><span class="thread-dot"${attr("data-hue", l.hue ?? void 0)} aria-hidden="true"></span><span class="lane-name">${escape_html(l.name)}</span>`);
|
|
3144
|
+
if (l.needs) {
|
|
3145
|
+
$$renderer3.push(`<!--[0--><span class="lane-needs" role="img"${attr("aria-label", `${stringify(l.needs)} waiting on you`)}${attr("title", `${stringify(l.needs)} waiting on you`)}></span>`);
|
|
3146
|
+
} else {
|
|
3147
|
+
$$renderer3.push("<!--[-1-->");
|
|
3148
|
+
}
|
|
3149
|
+
$$renderer3.push(`<!--]-->`);
|
|
3150
|
+
if (l.unread) {
|
|
3151
|
+
$$renderer3.push(`<!--[0--><span class="lane-count"${attr("aria-label", `${stringify(l.unread)} new`)}>${escape_html(l.unread)}</span>`);
|
|
3152
|
+
} else {
|
|
3153
|
+
$$renderer3.push("<!--[-1-->");
|
|
3154
|
+
}
|
|
3155
|
+
$$renderer3.push(`<!--]-->`);
|
|
3156
|
+
if (i < 9) {
|
|
3157
|
+
$$renderer3.push(`<!--[0--><span class="lane-key" aria-hidden="true">⌥${escape_html(i + 1)}</span>`);
|
|
3158
|
+
} else {
|
|
3159
|
+
$$renderer3.push("<!--[-1-->");
|
|
3160
|
+
}
|
|
3161
|
+
$$renderer3.push(`<!--]--></button>`);
|
|
3162
|
+
}
|
|
3163
|
+
$$renderer3.push(`<!--]--></div> `);
|
|
3164
|
+
if (lane() && tasks.length > 1) {
|
|
3165
|
+
$$renderer3.push(`<!--[0--><div class="lane-tasks no-scrollbar"${attr("data-hue", lane().hue ?? void 0)} data-lane-tasks=""><button type="button" class="thread-chip"${attr("aria-pressed", currentTask === null)}>All of ${escape_html(lane().name)}</button> <!--[-->`);
|
|
3166
|
+
const each_array_1 = ensure_array_like(tasks);
|
|
3167
|
+
for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
|
|
3168
|
+
let t = each_array_1[$$index_1];
|
|
3169
|
+
$$renderer3.push(`<button type="button" class="thread-chip"${attr("aria-pressed", currentTask === t.task)}${attr("title", t.name)}><span class="lane-task-name">${escape_html(t.name)}</span>`);
|
|
3170
|
+
if (t.unread) {
|
|
3171
|
+
$$renderer3.push(`<!--[0--><span class="lane-count"${attr("aria-label", `${stringify(t.unread)} new`)}>${escape_html(t.unread)}</span>`);
|
|
3172
|
+
} else {
|
|
3173
|
+
$$renderer3.push("<!--[-1-->");
|
|
3174
|
+
}
|
|
3175
|
+
$$renderer3.push(`<!--]--></button>`);
|
|
3176
|
+
}
|
|
3177
|
+
$$renderer3.push(`<!--]--></div>`);
|
|
3178
|
+
} else {
|
|
3179
|
+
$$renderer3.push("<!--[-1-->");
|
|
3180
|
+
}
|
|
3181
|
+
$$renderer3.push(`<!--]--></nav> `);
|
|
3182
|
+
Sheet($$renderer3, {
|
|
3183
|
+
title: "Lanes",
|
|
3184
|
+
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
3185
|
+
get open() {
|
|
3186
|
+
return sheet;
|
|
3187
|
+
},
|
|
3188
|
+
set open($$value) {
|
|
3189
|
+
sheet = $$value;
|
|
3190
|
+
$$settled = false;
|
|
3191
|
+
},
|
|
3192
|
+
children: ($$renderer4) => {
|
|
3193
|
+
$$renderer4.push(`<div class="flex flex-col px-2 pb-3" data-lane-sheet=""><button type="button" class="lane-row"${attr("aria-current", current === null ? "true" : void 0)}><span class="lane-row-name">All</span>`);
|
|
3194
|
+
if (allUnread) {
|
|
3195
|
+
$$renderer4.push(`<!--[0--><span class="lane-count"${attr("aria-label", `${stringify(allUnread)} new`)}>${escape_html(allUnread)}</span>`);
|
|
3196
|
+
} else {
|
|
3197
|
+
$$renderer4.push("<!--[-1-->");
|
|
3198
|
+
}
|
|
3199
|
+
$$renderer4.push(`<!--]-->`);
|
|
3200
|
+
if (current === null) {
|
|
3201
|
+
$$renderer4.push("<!--[0-->");
|
|
3202
|
+
Check($$renderer4, { class: "size-4 shrink-0", "aria-hidden": "true" });
|
|
3203
|
+
} else {
|
|
3204
|
+
$$renderer4.push("<!--[-1-->");
|
|
3205
|
+
}
|
|
3206
|
+
$$renderer4.push(`<!--]--></button> <!--[-->`);
|
|
3207
|
+
const each_array_2 = ensure_array_like(lanes);
|
|
3208
|
+
for (let $$index_3 = 0, $$length = each_array_2.length; $$index_3 < $$length; $$index_3++) {
|
|
3209
|
+
let l = each_array_2[$$index_3];
|
|
3210
|
+
$$renderer4.push(`<button type="button" class="lane-row"${attr("data-hue", l.hue ?? void 0)}${attr("aria-current", current === l.topic && !currentTask ? "true" : void 0)}><span class="thread-dot"${attr("data-hue", l.hue ?? void 0)} aria-hidden="true"></span><span class="lane-row-name">${escape_html(l.name)}</span>`);
|
|
3211
|
+
if (l.needs) {
|
|
3212
|
+
$$renderer4.push(`<!--[0--><span class="lane-needs" role="img"${attr("aria-label", `${stringify(l.needs)} waiting on you`)}></span>`);
|
|
3213
|
+
} else {
|
|
3214
|
+
$$renderer4.push("<!--[-1-->");
|
|
3215
|
+
}
|
|
3216
|
+
$$renderer4.push(`<!--]-->`);
|
|
3217
|
+
if (l.unread) {
|
|
3218
|
+
$$renderer4.push(`<!--[0--><span class="lane-count"${attr("aria-label", `${stringify(l.unread)} new`)}>${escape_html(l.unread)}</span>`);
|
|
3219
|
+
} else {
|
|
3220
|
+
$$renderer4.push("<!--[-1-->");
|
|
3221
|
+
}
|
|
3222
|
+
$$renderer4.push(`<!--]-->`);
|
|
3223
|
+
if (current === l.topic && !currentTask) {
|
|
3224
|
+
$$renderer4.push("<!--[0-->");
|
|
3225
|
+
Check($$renderer4, { class: "size-4 shrink-0", "aria-hidden": "true" });
|
|
3226
|
+
} else {
|
|
3227
|
+
$$renderer4.push("<!--[-1-->");
|
|
3228
|
+
}
|
|
3229
|
+
$$renderer4.push(`<!--]--></button> `);
|
|
3230
|
+
if (current === l.topic && tasks.length > 1) {
|
|
3231
|
+
$$renderer4.push(`<!--[0--><!--[-->`);
|
|
3232
|
+
const each_array_3 = ensure_array_like(tasks);
|
|
3233
|
+
for (let $$index_2 = 0, $$length2 = each_array_3.length; $$index_2 < $$length2; $$index_2++) {
|
|
3234
|
+
let t = each_array_3[$$index_2];
|
|
3235
|
+
$$renderer4.push(`<button type="button" class="lane-row lane-row-task"${attr("aria-current", currentTask === t.task ? "true" : void 0)}><span class="lane-row-name">${escape_html(t.name)}</span>`);
|
|
3236
|
+
if (t.unread) {
|
|
3237
|
+
$$renderer4.push(`<!--[0--><span class="lane-count"${attr("aria-label", `${stringify(t.unread)} new`)}>${escape_html(t.unread)}</span>`);
|
|
3238
|
+
} else {
|
|
3239
|
+
$$renderer4.push("<!--[-1-->");
|
|
3240
|
+
}
|
|
3241
|
+
$$renderer4.push(`<!--]-->`);
|
|
3242
|
+
if (currentTask === t.task) {
|
|
3243
|
+
$$renderer4.push("<!--[0-->");
|
|
3244
|
+
Check($$renderer4, { class: "size-4 shrink-0", "aria-hidden": "true" });
|
|
3245
|
+
} else {
|
|
3246
|
+
$$renderer4.push("<!--[-1-->");
|
|
3247
|
+
}
|
|
3248
|
+
$$renderer4.push(`<!--]--></button>`);
|
|
3249
|
+
}
|
|
3250
|
+
$$renderer4.push(`<!--]-->`);
|
|
3251
|
+
} else {
|
|
3252
|
+
$$renderer4.push("<!--[-1-->");
|
|
3253
|
+
}
|
|
3254
|
+
$$renderer4.push(`<!--]-->`);
|
|
3255
|
+
}
|
|
3256
|
+
$$renderer4.push(`<!--]--></div>`);
|
|
3257
|
+
},
|
|
3258
|
+
$$slots: { default: true }
|
|
3259
|
+
});
|
|
3260
|
+
$$renderer3.push(`<!---->`);
|
|
3261
|
+
}
|
|
3262
|
+
do {
|
|
3263
|
+
$$settled = true;
|
|
3264
|
+
$$inner_renderer = $$renderer2.copy();
|
|
3265
|
+
$$render_inner($$inner_renderer);
|
|
3266
|
+
} while (!$$settled);
|
|
3267
|
+
$$renderer2.subsume($$inner_renderer);
|
|
3268
|
+
bind_props($$props, { sheet });
|
|
3269
|
+
});
|
|
3270
|
+
}
|
|
3271
|
+
function captainText($$renderer, text, linked) {
|
|
3272
|
+
$$renderer.push(`<!--[-->`);
|
|
3273
|
+
const each_array_1 = ensure_array_like(parseRefs(text));
|
|
3274
|
+
for (let pi = 0, $$length = each_array_1.length; pi < $$length; pi++) {
|
|
3275
|
+
let piece = each_array_1[pi];
|
|
3276
|
+
if (typeof piece === "string") {
|
|
3277
|
+
$$renderer.push(`<!--[0-->${escape_html(piece)}`);
|
|
3278
|
+
} else if (linked) {
|
|
3279
|
+
$$renderer.push(`<!--[1--><a${attr("href", `/tasks/${stringify(encodeURIComponent(piece.id))}`)} class="mx-px inline-block rounded-md bg-sea/15 px-1.5 text-[0.875em] font-medium whitespace-nowrap text-sea no-underline hover:bg-sea/25"${attr("title", piece.url ?? piece.title)}>${escape_html(chipLabel(piece))}</a>`);
|
|
3280
|
+
} else {
|
|
3281
|
+
$$renderer.push(`<!--[-1--><span class="mx-px inline-block rounded-md bg-sea/15 px-1.5 text-[0.875em] font-medium whitespace-nowrap text-sea">${escape_html(chipLabel(piece))}</span>`);
|
|
3282
|
+
}
|
|
3283
|
+
$$renderer.push(`<!--]-->`);
|
|
3284
|
+
}
|
|
3285
|
+
$$renderer.push(`<!--]-->`);
|
|
3286
|
+
}
|
|
3287
|
+
function Chat($$renderer, $$props) {
|
|
3288
|
+
$$renderer.component(($$renderer2) => {
|
|
3289
|
+
let {
|
|
3290
|
+
token,
|
|
3291
|
+
railOpen,
|
|
3292
|
+
railSide = "right",
|
|
3293
|
+
onSwapRail,
|
|
3294
|
+
waiting = 0,
|
|
3295
|
+
now,
|
|
3296
|
+
pluginEntries = [],
|
|
3297
|
+
tasks = [],
|
|
3298
|
+
projects = [],
|
|
3299
|
+
thread = null,
|
|
3300
|
+
onPickThread
|
|
3301
|
+
/** Which side of the chat the On deck rail docks to. */
|
|
3302
|
+
/** Moves the rail to the chat's other side; without it there is no button. */
|
|
3303
|
+
/** Items waiting on the captain, for the rail button's dot. */
|
|
3304
|
+
/** Plugin entries for the fleet, whose bridge.card cards follow replies that link them. */
|
|
3305
|
+
/** The fleet's tasks, whose live previews follow the replies about them. */
|
|
3306
|
+
/** The fleet's projects, for the cards' project names. */
|
|
3307
|
+
/** The thread being read (a project id, a topic or Unsorted), or null for all. */
|
|
3308
|
+
/** Picks the thread to read; without it the chat keeps the choice itself. */
|
|
3309
|
+
} = $$props;
|
|
3310
|
+
const session = derived(() => firstmateChat.session);
|
|
3311
|
+
const chat = derived(() => firstmateChat.chat);
|
|
3312
|
+
const items = derived(() => chat().items);
|
|
3313
|
+
const lastItem = derived(() => items()[items().length - 1]);
|
|
3314
|
+
const working = derived(() => firstmateChat.working);
|
|
3315
|
+
const liveEnabled = derived(() => page.data.features?.discussion === true);
|
|
3316
|
+
const liveAt = derived(() => {
|
|
3317
|
+
if (!liveEnabled() || !liveCall.entries.length) return null;
|
|
3318
|
+
if (liveCall.on) return "end";
|
|
3319
|
+
const i = items().findIndex((it) => Date.parse(it.at) > liveCall.endedAt);
|
|
3320
|
+
return i < 0 ? "pending" : i;
|
|
3321
|
+
});
|
|
3322
|
+
const picker = derived(() => session()?.canSend ? session().picker : null);
|
|
3323
|
+
const menu = derived(() => session()?.canSend ? session().menu : null);
|
|
3324
|
+
const signIn = derived(() => session()?.canSend ? session().signIn ?? null : null);
|
|
3325
|
+
const inTerminal = derived(() => session()?.canSend ? terminalWait(session()) : null);
|
|
3326
|
+
const tool = derived(() => HARNESS_NAMES[session()?.harness ?? "claude"]);
|
|
3327
|
+
const waitingOnAnswer = derived(() => !!picker() || !!menu() || !!signIn() || !!inTerminal());
|
|
3328
|
+
const held = derived(() => picker() ? "Answer the question above to send your message." : signIn() ? `Sign in to ${tool()} above to send your message.` : inTerminal() ? "Firstmate is waiting for you in its terminal. Open it and answer there to send your message." : menu() ? "Close the menu above to send your message." : null);
|
|
3329
|
+
const canSend = derived(() => session()?.canSend === true);
|
|
3330
|
+
const via = derived(() => canSend() ? "session" : session()?.state === "external" && currentHealth()?.messaging.available ? "inbox" : null);
|
|
3331
|
+
const inboxView = derived(() => inbox.view(page.data.inbox));
|
|
3332
|
+
const opened = derived(() => /* @__PURE__ */ new Set([
|
|
3333
|
+
...openedDecisions.ids,
|
|
3334
|
+
...[],
|
|
3335
|
+
...items().flatMap((it) => {
|
|
3336
|
+
const d = it.kind === "user" ? parseDiscuss(it.text) : null;
|
|
3337
|
+
return d ? [d.cardId] : [];
|
|
3338
|
+
}),
|
|
3339
|
+
...firstmateChat.pending.flatMap((p) => {
|
|
3340
|
+
const d = parseDiscuss(p.text);
|
|
3341
|
+
return d ? [d.cardId] : [];
|
|
3342
|
+
})
|
|
3343
|
+
]));
|
|
3344
|
+
const decisions = derived(() => inboxView()?.available ? chatDecisions(inboxView().cards, inboxView().answered ?? [], inbox.pending, opened()) : []);
|
|
3345
|
+
const allPlaced = derived(() => placeDecisions(items(), decisions()));
|
|
3346
|
+
const batches = derived(() => placeBatches(items(), chatBatches(currentMessages()?.messages ?? [])));
|
|
3347
|
+
const shown = derived(() => [
|
|
3348
|
+
...[...allPlaced().before.values()].flat(),
|
|
3349
|
+
...allPlaced().end
|
|
3350
|
+
]);
|
|
3351
|
+
const decisionIds = derived(() => new Set(shown().map((d) => d.head.cardId)));
|
|
3352
|
+
const discussed = derived(() => threads(items(), decisionIds()));
|
|
3353
|
+
const asking = derived(() => pendingThreads(firstmateChat.pending));
|
|
3354
|
+
const threadOwner = derived(() => {
|
|
3355
|
+
const owner = /* @__PURE__ */ new Map();
|
|
3356
|
+
for (const d of shown()) {
|
|
3357
|
+
const held2 = owner.get(d.head.cardId);
|
|
3358
|
+
if (!held2 || !shown().find((x) => x.id === held2)?.card) owner.set(d.head.cardId, d.id);
|
|
3359
|
+
}
|
|
3360
|
+
return owner;
|
|
3361
|
+
});
|
|
3362
|
+
const chatPending = derived(() => firstmateChat.pending.filter((p) => {
|
|
3363
|
+
const d = parseDiscuss(p.text);
|
|
3364
|
+
return !d || !decisionIds().has(d.cardId);
|
|
3365
|
+
}));
|
|
3366
|
+
const ownPort = derived(() => typeof location !== "undefined" && ["127.0.0.1", "localhost"].includes(location.hostname) ? location.port || (location.protocol === "https:" ? "443" : "80") : null);
|
|
3367
|
+
const previewTasks = sameWhile(previewKey);
|
|
3368
|
+
const placedPreviews = derived(() => previewCards(items(), previewTasks(tasks), ownPort()));
|
|
3369
|
+
const previews = derived(() => {
|
|
3370
|
+
const now2 = new Map(tasks.map((t) => [t.id, t]));
|
|
3371
|
+
return new Map([...placedPreviews()].map(([part, cards]) => [
|
|
3372
|
+
part,
|
|
3373
|
+
cards.map((c) => c.task ? { ...c, task: now2.get(c.task.id) ?? c.task } : c)
|
|
3374
|
+
]));
|
|
3375
|
+
});
|
|
3376
|
+
const projectName = (id) => !id || id === "unassigned" ? null : projects.find((p) => p.id === id)?.name ?? id;
|
|
3377
|
+
const forms = derived(() => chatForms(items(), discussed().hidden, firstmateChat.pending, currentMessages()?.messages ?? []));
|
|
3378
|
+
const formLinks = derived(() => {
|
|
3379
|
+
const linked2 = /* @__PURE__ */ new Map();
|
|
3380
|
+
const earlier = /* @__PURE__ */ new Map();
|
|
3381
|
+
const taken = /* @__PURE__ */ new Map();
|
|
3382
|
+
for (const [partId, f] of forms()) {
|
|
3383
|
+
const d = decisionFor(f.id, decisions());
|
|
3384
|
+
if (!d) continue;
|
|
3385
|
+
const before = taken.get(d.id);
|
|
3386
|
+
if (before) {
|
|
3387
|
+
linked2.delete(before);
|
|
3388
|
+
earlier.set(before, d);
|
|
3389
|
+
}
|
|
3390
|
+
linked2.set(partId, d);
|
|
3391
|
+
taken.set(d.id, partId);
|
|
3392
|
+
}
|
|
3393
|
+
return { linked: linked2, earlier };
|
|
3394
|
+
});
|
|
3395
|
+
const linked = derived(() => formLinks().linked);
|
|
3396
|
+
const linkedIds = derived(() => new Set([...linked().values()].map((d) => d.id)));
|
|
3397
|
+
const placed = derived(() => ({
|
|
3398
|
+
before: new Map([...allPlaced().before].map(([i, ds]) => [i, ds.filter((d) => !linkedIds().has(d.id))]).filter(([, ds]) => ds.length)),
|
|
3399
|
+
end: allPlaced().end.filter((d) => !linkedIds().has(d.id))
|
|
3400
|
+
}));
|
|
3401
|
+
const replyWords = (part) => parseMarkers(vaultRequests(forms().get(part.id)?.words ?? part.text).words).map((s) => s.text).join("\n\n");
|
|
3402
|
+
const md = (text) => markdown(vaultRequests(text).words, { docLinks: true });
|
|
3403
|
+
const asks = derived(() => vaultAsks(items(), firstmateChat.pending, currentMessages()?.messages ?? []));
|
|
3404
|
+
let vaultOpen = false;
|
|
3405
|
+
let vaultAsk = null;
|
|
3406
|
+
let vaultNotice = null;
|
|
3407
|
+
function addSecret(ask) {
|
|
3408
|
+
vaultAsk = ask;
|
|
3409
|
+
vaultNotice = null;
|
|
3410
|
+
vaultOpen = true;
|
|
3411
|
+
}
|
|
3412
|
+
function secretStored(name, granted) {
|
|
3413
|
+
const text = storedText(name, granted);
|
|
3414
|
+
if (via() && !held()) {
|
|
3415
|
+
void firstmateChat.send(text, via(), token, working() && !waitingOnAnswer());
|
|
3416
|
+
return;
|
|
3417
|
+
}
|
|
3418
|
+
vaultNotice = `${text} Firstmate was not told: ${held() ?? "there is no Firstmate session to send to."}`;
|
|
3419
|
+
}
|
|
3420
|
+
let ownThread = null;
|
|
3421
|
+
const current = derived(() => onPickThread ? thread : ownThread);
|
|
3422
|
+
const pickThread = (topic) => {
|
|
3423
|
+
openRuns = {};
|
|
3424
|
+
if (onPickThread) onPickThread(topic);
|
|
3425
|
+
else ownThread = topic;
|
|
3426
|
+
};
|
|
3427
|
+
const lanesOn = derived(() => page.data.features?.lanes === true);
|
|
3428
|
+
let taskFilter = null;
|
|
3429
|
+
const currentTask = derived(() => lanesOn() && taskFilter && taskFilter.topic === current() ? taskFilter.task : null);
|
|
3430
|
+
function showThread(topic, task) {
|
|
3431
|
+
taskFilter = lanesOn() && task ? { topic, task } : null;
|
|
3432
|
+
if (topic !== current()) pickThread(topic);
|
|
3433
|
+
}
|
|
3434
|
+
const taskName = (id) => {
|
|
3435
|
+
if (id === "-") return "General";
|
|
3436
|
+
const title = tasks.find((t) => t.id === id)?.shortTitle;
|
|
3437
|
+
if (!title) return id;
|
|
3438
|
+
const cut = title.search(/: | \(/);
|
|
3439
|
+
return cut >= 8 ? title.slice(0, cut) : title;
|
|
3440
|
+
};
|
|
3441
|
+
const tagTasks = sameWhile(tagKey);
|
|
3442
|
+
const tagged = derived(() => tagChat(items(), tagTasks(tasks), projects, chatTags.retags));
|
|
3443
|
+
const labels = derived(() => projectLabels(projects, aliases.names));
|
|
3444
|
+
const threadName = (topic) => topic === UNSORTED ? "Unsorted" : labels().get(topic)?.label ?? topicName(topic);
|
|
3445
|
+
const threadHue = (topic) => topic === UNSORTED ? null : labels().get(topic)?.hue ?? hue(topic);
|
|
3446
|
+
const decisionTag = (d) => cardTag(`decision:${d.head.cardId}`, d.head.projectId, "decision", chatTags.retags, d.head.taskId);
|
|
3447
|
+
const batchTag = (b) => cardTag(`batch:${b.id}`, tasks.find((t) => t.id === b.batch.taskId)?.projectId, "task", chatTags.retags, b.batch.taskId);
|
|
3448
|
+
const previewTag = (taskId, projectId) => cardTag(`preview:${taskId}`, projectId, "task", chatTags.retags, taskId);
|
|
3449
|
+
const threadKey = (t) => `${t.topic}/${t.task ?? "-"}`;
|
|
3450
|
+
function itemThreads(it) {
|
|
3451
|
+
if (it.kind === "user") return [tagged().users.get(it.id) ?? UNSORTED_TAG];
|
|
3452
|
+
if (it.kind !== "turn") return [UNSORTED_TAG];
|
|
3453
|
+
const out = /* @__PURE__ */ new Map();
|
|
3454
|
+
const add = (t) => out.set(threadKey(t), t);
|
|
3455
|
+
for (const p of it.parts) {
|
|
3456
|
+
if (p.kind !== "text") continue;
|
|
3457
|
+
for (const sec of tagged().parts.get(p.id) ?? []) if (!sec.intro) add(sec.tag);
|
|
3458
|
+
for (const pv of placedPreviews().get(p.id) ?? []) if (pv.task) add(previewTag(pv.task.id, pv.task.projectId));
|
|
3459
|
+
}
|
|
3460
|
+
if (!out.size) add(tagged().turns.get(it.id) ?? UNSORTED_TAG);
|
|
3461
|
+
return [...out.values()];
|
|
3462
|
+
}
|
|
3463
|
+
const entries = derived(() => {
|
|
3464
|
+
const out = [];
|
|
3465
|
+
const push = (key, threads2, at, needs, mine = false) => out.push({
|
|
3466
|
+
key,
|
|
3467
|
+
topics: [...new Set(threads2.map((t) => t.topic))],
|
|
3468
|
+
threads: threads2,
|
|
3469
|
+
at,
|
|
3470
|
+
needs,
|
|
3471
|
+
mine
|
|
3472
|
+
});
|
|
3473
|
+
const decision = (d) => push(`d:${d.id}`, [decisionTag(d)], d.head.askedAt, !!d.card && !d.answer);
|
|
3474
|
+
const batch = (b) => push(`b:${b.id}`, [batchTag(b)], b.at, false);
|
|
3475
|
+
items().forEach((it, i) => {
|
|
3476
|
+
for (const d of placed().before.get(i) ?? []) decision(d);
|
|
3477
|
+
for (const b of batches().before.get(i) ?? []) batch(b);
|
|
3478
|
+
if (!discussed().hidden.has(it.id) && it.kind !== "session") push(it.id, itemThreads(it), it.at, false, it.kind === "user");
|
|
3479
|
+
});
|
|
3480
|
+
for (const d of placed().end) decision(d);
|
|
3481
|
+
for (const b of batches().end) batch(b);
|
|
3482
|
+
return out;
|
|
3483
|
+
});
|
|
3484
|
+
const topicsOf = derived(() => new Map(entries().map((e) => [e.key, e.topics])));
|
|
3485
|
+
const threadsOf = derived(() => new Map(entries().map((e) => [e.key, e.threads.map(threadKey)])));
|
|
3486
|
+
const rows = derived(() => threadRows(entries(), current()));
|
|
3487
|
+
const inThread = derived(() => current() ? entries().filter((e) => e.topics.includes(current())).length : entries().length);
|
|
3488
|
+
const isNew = (e, t) => !e.mine && !!e.at && Date.parse(e.at) > Math.max(chatSeen.after(t.topic), chatSeen.after(threadKey(t)));
|
|
3489
|
+
const lanes = derived(() => {
|
|
3490
|
+
if (!lanesOn()) return [];
|
|
3491
|
+
const unread = /* @__PURE__ */ new Map();
|
|
3492
|
+
for (const e of entries()) for (const topic of e.topics) if (e.threads.some((t) => t.topic === topic && isNew(e, t))) unread.set(topic, (unread.get(topic) ?? 0) + 1);
|
|
3493
|
+
const pinned = (topic) => {
|
|
3494
|
+
const i = pins.ids.indexOf(topic);
|
|
3495
|
+
return i < 0 ? Infinity : i;
|
|
3496
|
+
};
|
|
3497
|
+
return rows().map((r) => ({
|
|
3498
|
+
topic: r.topic,
|
|
3499
|
+
name: threadName(r.topic),
|
|
3500
|
+
hue: threadHue(r.topic),
|
|
3501
|
+
unread: unread.get(r.topic) ?? 0,
|
|
3502
|
+
needs: r.needs
|
|
3503
|
+
})).sort((a, b) => Number(a.topic === UNSORTED) - Number(b.topic === UNSORTED) || pinned(a.topic) - pinned(b.topic) || a.name.localeCompare(b.name));
|
|
3504
|
+
});
|
|
3505
|
+
const laneTasks = derived(() => {
|
|
3506
|
+
if (!lanesOn() || !current()) return [];
|
|
3507
|
+
const found = /* @__PURE__ */ new Map();
|
|
3508
|
+
entries().forEach((e, i) => {
|
|
3509
|
+
for (const t of e.threads) {
|
|
3510
|
+
if (t.topic !== current()) continue;
|
|
3511
|
+
const task = t.task ?? "-";
|
|
3512
|
+
const row = found.get(task) ?? { task, name: taskName(task), unread: 0, last: 0 };
|
|
3513
|
+
if (isNew(e, t)) row.unread++;
|
|
3514
|
+
row.last = i;
|
|
3515
|
+
found.set(task, row);
|
|
3516
|
+
}
|
|
3517
|
+
});
|
|
3518
|
+
if (![...found.keys()].some((k) => k !== "-")) return [];
|
|
3519
|
+
return [...found.values()].sort((a, b) => Number(a.task === "-") - Number(b.task === "-") || b.last - a.last).map(({ task, name, unread }) => ({ task, name, unread }));
|
|
3520
|
+
});
|
|
3521
|
+
const allUnread = derived(() => lanesOn() ? entries().filter((e) => e.threads.some((t) => isNew(e, t))).length : 0);
|
|
3522
|
+
let lanesSheet = false;
|
|
3523
|
+
const laneTitle = derived(() => {
|
|
3524
|
+
const lane = lanes().find((l) => l.topic === current());
|
|
3525
|
+
const elsewhere = lanes().reduce((n, l) => n + (l.topic === current() ? 0 : l.unread), 0);
|
|
3526
|
+
return {
|
|
3527
|
+
name: lane ? lane.name : current() ? threadName(current()) : "All threads",
|
|
3528
|
+
hue: lane ? lane.hue : null,
|
|
3529
|
+
task: currentTask() ? taskName(currentTask()) : null,
|
|
3530
|
+
sub: current() ? "Firstmate · every task" : "Firstmate · every lane",
|
|
3531
|
+
elsewhere
|
|
3532
|
+
};
|
|
3533
|
+
});
|
|
3534
|
+
const moveTo = derived(() => {
|
|
3535
|
+
const seen = new Set(rows().map((r) => r.topic).filter((t) => t !== UNSORTED));
|
|
3536
|
+
const topics = [
|
|
3537
|
+
...seen,
|
|
3538
|
+
...projects.filter((p) => p.registered && !seen.has(p.id)).map((p) => p.id).sort((a, b) => threadName(a).localeCompare(threadName(b))),
|
|
3539
|
+
UNSORTED
|
|
3540
|
+
];
|
|
3541
|
+
return topics.map((topic) => ({ topic, name: threadName(topic), hue: threadHue(topic) }));
|
|
3542
|
+
});
|
|
3543
|
+
const runs = derived(() => current() && chatTags.fold && !lanesOn() ? foldRuns(entries(), current()) : /* @__PURE__ */ new Map());
|
|
3544
|
+
let openRuns = {};
|
|
3545
|
+
function view(key) {
|
|
3546
|
+
const topics = topicsOf().get(key);
|
|
3547
|
+
if (!current() || !topics) return "show";
|
|
3548
|
+
if (currentTask()) return threadsOf().get(key)?.includes(`${current()}/${currentTask()}`) ? "show" : "hide";
|
|
3549
|
+
if (topics.includes(current())) return "show";
|
|
3550
|
+
const run = runs().get(key);
|
|
3551
|
+
if (!run) return "hide";
|
|
3552
|
+
if (openRuns[run.first]) return "dim";
|
|
3553
|
+
return run.first === key ? "line" : "hide";
|
|
3554
|
+
}
|
|
3555
|
+
function lastTopic(it) {
|
|
3556
|
+
if (it.kind === "user") return tagged().users.get(it.id)?.topic ?? null;
|
|
3557
|
+
if (it.kind !== "turn") return null;
|
|
3558
|
+
for (let pi = it.parts.length - 1; pi >= 0; pi--) {
|
|
3559
|
+
const secs = tagged().parts.get(it.parts[pi].id);
|
|
3560
|
+
if (secs?.length) return secs[secs.length - 1].tag.topic;
|
|
3561
|
+
}
|
|
3562
|
+
return tagged().turns.get(it.id)?.topic ?? null;
|
|
3563
|
+
}
|
|
3564
|
+
function layoutTurn(it, all, grouped, prev) {
|
|
3565
|
+
const parts = /* @__PURE__ */ new Map();
|
|
3566
|
+
let head2 = null;
|
|
3567
|
+
let hidden = 0;
|
|
3568
|
+
let first = true;
|
|
3569
|
+
for (const p of it.parts) {
|
|
3570
|
+
if (p.kind !== "text") continue;
|
|
3571
|
+
const every = tagged().parts.get(p.id) ?? [];
|
|
3572
|
+
const inCurrent = (x) => !x.intro && x.tag.topic === current() && (!currentTask() || (x.tag.task ?? "-") === currentTask());
|
|
3573
|
+
const asked = forms().get(p.id);
|
|
3574
|
+
const words = asked && parseMarkers(asked.words);
|
|
3575
|
+
const own = !words ? every : all ? every.map((s, i) => ({ ...s, text: words[i]?.text ?? "" })) : every.length ? [every.find(inCurrent) || every[0]] : [];
|
|
3576
|
+
const filed = all ? own : own.filter(inCurrent);
|
|
3577
|
+
const secs = filed.length && own[0]?.intro && !filed.includes(own[0]) ? [own[0], ...filed] : filed;
|
|
3578
|
+
hidden += own.length - secs.length - (own[0]?.intro && !secs.length ? 1 : 0);
|
|
3579
|
+
let above = null;
|
|
3580
|
+
if (secs.length === 1) {
|
|
3581
|
+
if (first && !grouped) head2 = secs[0];
|
|
3582
|
+
else if (secs[0].tag.topic !== prev) above = secs[0];
|
|
3583
|
+
prev = secs[0].tag.topic;
|
|
3584
|
+
} else if (secs.length) prev = null;
|
|
3585
|
+
if (secs.length) first = false;
|
|
3586
|
+
parts.set(p.id, { secs, whole: secs.length === own.length, above });
|
|
3587
|
+
}
|
|
3588
|
+
if (first && !grouped) head2 = {
|
|
3589
|
+
key: `turn:${it.id}`,
|
|
3590
|
+
text: "",
|
|
3591
|
+
tag: tagged().turns.get(it.id) ?? UNSORTED_TAG,
|
|
3592
|
+
intro: false
|
|
3593
|
+
};
|
|
3594
|
+
return { parts, head: head2, hidden };
|
|
3595
|
+
}
|
|
3596
|
+
function decide(partId, a, note) {
|
|
3597
|
+
const asked = forms().get(partId);
|
|
3598
|
+
const text = asked ? answerText(asked.form, a, note) : "";
|
|
3599
|
+
if (!text || !via() || held()) return;
|
|
3600
|
+
void firstmateChat.send(text, via(), token, working() && !waitingOnAnswer());
|
|
3601
|
+
}
|
|
3602
|
+
function dismissForm(partId, reason) {
|
|
3603
|
+
const asked = forms().get(partId);
|
|
3604
|
+
if (!asked || !via() || held()) return;
|
|
3605
|
+
void firstmateChat.send(dismissText(asked.form, reason), via(), token, working() && !waitingOnAnswer());
|
|
3606
|
+
}
|
|
3607
|
+
let terminalOpen = false;
|
|
3608
|
+
let apps = {};
|
|
3609
|
+
let collapsedApps = {};
|
|
3610
|
+
let openNotice = {};
|
|
3611
|
+
let starting = false;
|
|
3612
|
+
let seenPast = null;
|
|
3613
|
+
const hiddenBefore = derived(() => cleared.at && seenPast !== cleared.at ? clearedStart(items(), cleared.at) : 0);
|
|
3614
|
+
const drawnFrom = derived(() => Math.max(windowStart(items()), hiddenBefore()));
|
|
3615
|
+
const drawn = derived(() => drawnFrom() ? items().slice(drawnFrom()) : items());
|
|
3616
|
+
const atClear = derived(() => hiddenBefore() > 0 && drawnFrom() === hiddenBefore());
|
|
3617
|
+
const GROUP_MS = 5 * 6e4;
|
|
3618
|
+
function previousShown(i) {
|
|
3619
|
+
let j = i - 1;
|
|
3620
|
+
while (j >= 0 && (discussed().hidden.has(items()[j].id) || view(items()[j].id) === "hide")) j--;
|
|
3621
|
+
return j;
|
|
3622
|
+
}
|
|
3623
|
+
function groupedWithPrevious(i) {
|
|
3624
|
+
const j = previousShown(i);
|
|
3625
|
+
if (j >= 0 && j < drawnFrom()) return false;
|
|
3626
|
+
const v = view(items()[i].id);
|
|
3627
|
+
if (v !== "show" && runs().get(items()[i].id)?.first === items()[i].id) return false;
|
|
3628
|
+
if (j >= 0 && view(items()[j].id) !== v) return false;
|
|
3629
|
+
for (let k = j + 1; k <= i; k++) if ((placed().before.get(k) ?? []).some((d) => view(`d:${d.id}`) !== "hide") || (batches().before.get(k) ?? []).some((b2) => view(`b:${b2.id}`) !== "hide")) return false;
|
|
3630
|
+
const a = items()[j];
|
|
3631
|
+
const b = items()[i];
|
|
3632
|
+
if (!a || !b || a.kind !== b.kind || b.kind !== "user" && b.kind !== "turn") return false;
|
|
3633
|
+
return Date.parse(b.at) - Date.parse(a.at) <= GROUP_MS;
|
|
3634
|
+
}
|
|
3635
|
+
const time2 = (at) => {
|
|
3636
|
+
const d = new Date(at);
|
|
3637
|
+
const clock = d.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" });
|
|
3638
|
+
return d.toDateString() === new Date(now).toDateString() ? clock : `${d.toLocaleDateString([], { weekday: "short", day: "numeric", month: "short" })}, ${clock}`;
|
|
3639
|
+
};
|
|
3640
|
+
const when = (at) => new Date(at).toLocaleString([], {
|
|
3641
|
+
weekday: "short",
|
|
3642
|
+
day: "numeric",
|
|
3643
|
+
month: "short",
|
|
3644
|
+
hour: "2-digit",
|
|
3645
|
+
minute: "2-digit"
|
|
3646
|
+
});
|
|
3647
|
+
let searching = false;
|
|
3648
|
+
const status = derived(() => {
|
|
3649
|
+
if (firstmateChat.connection === "lost") return { dot: "bg-danger", label: "Reconnecting" };
|
|
3650
|
+
if (!session()) return { dot: "bg-muted-foreground", label: "Connecting" };
|
|
3651
|
+
if (session().state === "external") return { dot: "bg-muted-foreground", label: "Read-only" };
|
|
3652
|
+
if (session().state === "starting") return { dot: "animate-pulse bg-sea", label: "Starting" };
|
|
3653
|
+
if (session().state !== "ours") return { dot: "bg-muted-foreground", label: "Not running" };
|
|
3654
|
+
if (!session().canSend) return { dot: "bg-warning", label: "Restart needed" };
|
|
3655
|
+
if (picker()) return { dot: "bg-sea", label: "Asking you" };
|
|
3656
|
+
if (signIn()) return { dot: "bg-warning", label: "Waiting on you to sign in" };
|
|
3657
|
+
if (inTerminal()) return { dot: "bg-warning", label: "Waiting on you in terminal" };
|
|
3658
|
+
if (menu()) return { dot: "bg-sea", label: "Menu open" };
|
|
3659
|
+
return working() ? { dot: "animate-pulse bg-working", label: "Working" } : { dot: "bg-success", label: "Waiting for you" };
|
|
3660
|
+
});
|
|
3661
|
+
let replyTo = null;
|
|
3662
|
+
const captainWords = (text) => parseAttachments(parseThread(parseReply(text).body).text).text;
|
|
3663
|
+
const CARRY_MS = 15 * 6e4;
|
|
3664
|
+
const sendTarget = derived(() => {
|
|
3665
|
+
const option = (t, why) => ({
|
|
3666
|
+
topic: t.topic,
|
|
3667
|
+
name: threadName(t.topic),
|
|
3668
|
+
hue: threadHue(t.topic),
|
|
3669
|
+
task: t.task && t.task !== "-" ? t.task : null,
|
|
3670
|
+
taskName: t.task && t.task !== "-" ? taskName(t.task) : null,
|
|
3671
|
+
why
|
|
3672
|
+
});
|
|
3673
|
+
if (current() && current() !== UNSORTED) return option({ topic: current(), task: currentTask() ?? void 0 }, lanesOn() ? "the lane you’re reading" : null);
|
|
3674
|
+
if (!lanesOn()) return null;
|
|
3675
|
+
for (let i = entries().length - 1; i >= 0; i--) {
|
|
3676
|
+
const e = entries()[i];
|
|
3677
|
+
const t = e.threads.findLast((x) => x.topic !== UNSORTED);
|
|
3678
|
+
if (!t) continue;
|
|
3679
|
+
if (!e.at || now - Date.parse(e.at) > CARRY_MS) return null;
|
|
3680
|
+
return option(t, `carries on from the ${time2(e.at)} message`);
|
|
3681
|
+
}
|
|
3682
|
+
return null;
|
|
3683
|
+
});
|
|
3684
|
+
function original(to, before = items().length) {
|
|
3685
|
+
for (let i = Math.min(before, items().length) - 1; i >= 0; i--) {
|
|
3686
|
+
const it = items()[i];
|
|
3687
|
+
if (to.who === "captain" && it.kind === "user" && quotes(to, captainWords(it.text))) return it.id;
|
|
3688
|
+
if (to.who === "firstmate" && it.kind === "turn") for (let pi = it.parts.length - 1; pi >= 0; pi--) {
|
|
3689
|
+
const part = it.parts[pi];
|
|
3690
|
+
if (part.kind === "text" && quotes(to, replyWords(part))) return part.id;
|
|
3691
|
+
}
|
|
3692
|
+
}
|
|
3693
|
+
return null;
|
|
3694
|
+
}
|
|
3695
|
+
let revealed = null;
|
|
3696
|
+
const isLive = (item, pi) => working() && item === lastItem() && item.kind === "turn" && pi === item.parts.length - 1;
|
|
3697
|
+
function liveEntries($$renderer3) {
|
|
3698
|
+
LiveEntries($$renderer3, { tasks, now, projectName });
|
|
3699
|
+
}
|
|
3700
|
+
function replyButton($$renderer3, key, who, text) {
|
|
3701
|
+
$$renderer3.push(`<button${attr_class(`reply-btn ${revealed === key ? "is-revealed" : ""}`)}${attr("aria-label", who === "firstmate" ? "Reply to this message from Firstmate" : "Reply to your message")} title="Reply">`);
|
|
3702
|
+
Reply($$renderer3, { class: "size-4", "aria-hidden": "true" });
|
|
3703
|
+
$$renderer3.push(`<!----></button>`);
|
|
3704
|
+
}
|
|
3705
|
+
function thumbsButton($$renderer3, key, words) {
|
|
3706
|
+
const on = reactions.has(key);
|
|
3707
|
+
$$renderer3.push(`<button${attr_class(`reply-btn thumbs-btn ${revealed === key ? "is-revealed" : ""} ${on ? "is-on" : ""}`)}${attr("aria-label", on ? "Take back your thumbs-up" : "Thumbs up this message from Firstmate")}${attr("aria-pressed", on)}${attr("title", on ? "Take back 👍" : "👍")}${attr("disabled", !on && !!held(), true)}>`);
|
|
3708
|
+
Thumbs_up($$renderer3, { class: "size-4", "aria-hidden": "true" });
|
|
3709
|
+
$$renderer3.push(`<!----></button>`);
|
|
3710
|
+
}
|
|
3711
|
+
function quote($$renderer3, to, target) {
|
|
3712
|
+
$$renderer3.push(`<button${attr_class(`reply-quote reply-quote-${stringify(to.who)}`)}${attr("disabled", !target, true)}${attr("title", target ? "Show the message this replies to" : "That message is no longer in the chat")}><span class="reply-quote-who">${escape_html(to.who === "firstmate" ? "Firstmate" : "You")}</span> <span class="reply-quote-text">${escape_html(to.snippet)}</span></button>`);
|
|
3713
|
+
}
|
|
3714
|
+
function decisionCard($$renderer3, d, asked) {
|
|
3715
|
+
ChatDecision($$renderer3, {
|
|
3716
|
+
decision: d,
|
|
3717
|
+
project: projectName(d.head.projectId),
|
|
3718
|
+
now,
|
|
3719
|
+
asked,
|
|
3720
|
+
thread: threadOwner().get(d.head.cardId) === d.id ? discussed().byCard.get(d.head.cardId) ?? null : null,
|
|
3721
|
+
pending: threadOwner().get(d.head.cardId) === d.id ? asking().get(d.head.cardId) ?? [] : [],
|
|
3722
|
+
focus: firstmateChat.synced && composerBus.decision === d.head.cardId && threadOwner().get(d.head.cardId) === d.id
|
|
3723
|
+
});
|
|
3724
|
+
}
|
|
3725
|
+
function decisionRow($$renderer3, d) {
|
|
3726
|
+
$$renderer3.push(`<div class="msg msg-firstmate msg-grouped"><span class="msg-gutter" aria-hidden="true"></span> <div class="min-w-0 flex-1"><div class="msg-tagline">`);
|
|
3727
|
+
tagOf($$renderer3, decisionTag(d), `decision:${d.head.cardId}`);
|
|
3728
|
+
$$renderer3.push(`<!----></div> `);
|
|
3729
|
+
decisionCard($$renderer3, d, null);
|
|
3730
|
+
$$renderer3.push(`<!----></div></div>`);
|
|
3731
|
+
}
|
|
3732
|
+
function decisionEntry($$renderer3, d) {
|
|
3733
|
+
const key = `d:${d.id}`;
|
|
3734
|
+
const v = view(key);
|
|
3735
|
+
if (v !== "show" && runs().get(key)?.first === key) {
|
|
3736
|
+
$$renderer3.push("<!--[0-->");
|
|
3737
|
+
foldLine($$renderer3, runs().get(key));
|
|
3738
|
+
} else {
|
|
3739
|
+
$$renderer3.push("<!--[-1-->");
|
|
3740
|
+
}
|
|
3741
|
+
$$renderer3.push(`<!--]--> `);
|
|
3742
|
+
if (v === "show" || v === "dim") {
|
|
3743
|
+
$$renderer3.push(`<!--[0--><div${attr_class(clsx(v === "dim" ? "thread-dim" : "contents"))}>`);
|
|
3744
|
+
decisionRow($$renderer3, d);
|
|
3745
|
+
$$renderer3.push(`<!----></div>`);
|
|
3746
|
+
} else {
|
|
3747
|
+
$$renderer3.push("<!--[-1-->");
|
|
3748
|
+
}
|
|
3749
|
+
$$renderer3.push(`<!--]-->`);
|
|
3750
|
+
}
|
|
3751
|
+
function batchEntry($$renderer3, b) {
|
|
3752
|
+
const key = `b:${b.id}`;
|
|
3753
|
+
const v = view(key);
|
|
3754
|
+
if (v !== "show" && runs().get(key)?.first === key) {
|
|
3755
|
+
$$renderer3.push("<!--[0-->");
|
|
3756
|
+
foldLine($$renderer3, runs().get(key));
|
|
3757
|
+
} else {
|
|
3758
|
+
$$renderer3.push("<!--[-1-->");
|
|
3759
|
+
}
|
|
3760
|
+
$$renderer3.push(`<!--]--> `);
|
|
3761
|
+
if (v === "show" || v === "dim") {
|
|
3762
|
+
$$renderer3.push("<!--[0-->");
|
|
3763
|
+
const task = tasks.find((t) => t.id === b.batch.taskId);
|
|
3764
|
+
$$renderer3.push(`<div${attr_class(`flex flex-col gap-1 ${v === "dim" ? "thread-dim" : ""}`)}><div class="msg-tagline">`);
|
|
3765
|
+
tagOf($$renderer3, batchTag(b), `batch:${b.id}`);
|
|
3766
|
+
$$renderer3.push(`<!----></div> `);
|
|
3767
|
+
FeedbackBatch($$renderer3, {
|
|
3768
|
+
batch: b,
|
|
3769
|
+
project: projectName(task?.projectId ?? null),
|
|
3770
|
+
runs: task?.runs ?? null
|
|
3771
|
+
});
|
|
3772
|
+
$$renderer3.push(`<!----></div>`);
|
|
3773
|
+
} else {
|
|
3774
|
+
$$renderer3.push("<!--[-1-->");
|
|
3775
|
+
}
|
|
3776
|
+
$$renderer3.push(`<!--]-->`);
|
|
3777
|
+
}
|
|
3778
|
+
function tagOf($$renderer3, tag, key) {
|
|
3779
|
+
ThreadTag($$renderer3, {
|
|
3780
|
+
tag,
|
|
3781
|
+
threads: moveTo(),
|
|
3782
|
+
taskName,
|
|
3783
|
+
onShow: showThread
|
|
3784
|
+
});
|
|
3785
|
+
}
|
|
3786
|
+
function foldLine($$renderer3, run) {
|
|
3787
|
+
$$renderer3.push(`<button class="thread-fold"${attr("aria-expanded", !!openRuns[run.first])}${attr("data-fold", run.first)}>`);
|
|
3788
|
+
Chevron_right($$renderer3, {
|
|
3789
|
+
class: `size-3.5 shrink-0 transition-transform ${openRuns[run.first] ? "rotate-90" : ""}`,
|
|
3790
|
+
"aria-hidden": "true"
|
|
3791
|
+
});
|
|
3792
|
+
$$renderer3.push(`<!----> <span class="shrink-0">${escape_html(run.count)} ${escape_html(run.count === 1 ? "message" : "messages")} about</span> <span class="flex min-w-0 flex-wrap items-center gap-x-2 gap-y-0.5"><!--[-->`);
|
|
3793
|
+
const each_array = ensure_array_like(run.topics);
|
|
3794
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
3795
|
+
let t = each_array[$$index];
|
|
3796
|
+
$$renderer3.push(`<span class="inline-flex items-center gap-1"><span class="thread-dot"${attr("data-hue", threadHue(t) ?? void 0)} aria-hidden="true"></span>${escape_html(threadName(t))}</span>`);
|
|
3797
|
+
}
|
|
3798
|
+
$$renderer3.push(`<!--]--></span> `);
|
|
3799
|
+
if (run.from && run.to) {
|
|
3800
|
+
$$renderer3.push(`<!--[0--><span class="tabular ml-auto shrink-0">${escape_html(time2(run.from))}${escape_html(run.to !== run.from ? `–${time2(run.to)}` : "")}</span>`);
|
|
3801
|
+
} else {
|
|
3802
|
+
$$renderer3.push("<!--[-1-->");
|
|
3803
|
+
}
|
|
3804
|
+
$$renderer3.push(`<!--]--></button>`);
|
|
3805
|
+
}
|
|
3806
|
+
let $$settled = true;
|
|
3807
|
+
let $$inner_renderer;
|
|
3808
|
+
function $$render_inner($$renderer3) {
|
|
3809
|
+
$$renderer3.push(`<section class="chat-grid relative flex min-h-0 min-w-0 flex-1 flex-col bg-panel" aria-label="Firstmate">`);
|
|
3810
|
+
{
|
|
3811
|
+
$$renderer3.push("<!--[-1-->");
|
|
3812
|
+
}
|
|
3813
|
+
$$renderer3.push(`<!--]--> <div class="border-b"><div class="flex h-14 items-center gap-3 px-4 text-sm sm:px-6 lg:px-10">`);
|
|
3814
|
+
if (lanesOn()) {
|
|
3815
|
+
$$renderer3.push(`<!--[0--><button type="button" class="lane-title md:hidden" aria-haspopup="dialog"${attr("aria-label", `Lane: ${stringify(laneTitle().name)}${laneTitle().task ? ` › ${laneTitle().task}` : ""}. Choose a lane`)}><span class="thread-dot"${attr("data-hue", laneTitle().hue ?? void 0)} aria-hidden="true"></span><span class="flex min-w-0 flex-col items-start leading-tight"><span class="max-w-full truncate text-[1.05rem] font-bold">${escape_html(laneTitle().name)}</span><span class="max-w-full truncate text-xs font-normal text-muted-foreground">${escape_html(laneTitle().task ?? laneTitle().sub)}</span></span>`);
|
|
3816
|
+
if (laneTitle().elsewhere) {
|
|
3817
|
+
$$renderer3.push(`<!--[0--><span class="lane-count"${attr("aria-label", `${stringify(laneTitle().elsewhere)} new in other lanes`)}>${escape_html(laneTitle().elsewhere)}</span>`);
|
|
3818
|
+
} else {
|
|
3819
|
+
$$renderer3.push("<!--[-1-->");
|
|
3820
|
+
}
|
|
3821
|
+
$$renderer3.push(`<!--]-->`);
|
|
3822
|
+
Chevron_down($$renderer3, {
|
|
3823
|
+
class: "size-4 shrink-0 text-muted-foreground",
|
|
3824
|
+
"aria-hidden": "true"
|
|
3825
|
+
});
|
|
3826
|
+
$$renderer3.push(`<!----></button>`);
|
|
3827
|
+
} else {
|
|
3828
|
+
$$renderer3.push("<!--[-1-->");
|
|
3829
|
+
}
|
|
3830
|
+
$$renderer3.push(`<!--]--> <span${attr_class(`text-[1.08rem] font-bold ${lanesOn() ? "max-md:hidden" : ""}`)}>Firstmate</span> `);
|
|
3831
|
+
if (chat().title) {
|
|
3832
|
+
$$renderer3.push(`<!--[0--><span class="hidden truncate text-[1.02rem] text-foreground/80 sm:inline">${escape_html(chat().title)}</span>`);
|
|
3833
|
+
} else {
|
|
3834
|
+
$$renderer3.push("<!--[-1-->");
|
|
3835
|
+
}
|
|
3836
|
+
$$renderer3.push(`<!--]--> <span class="ml-auto" aria-hidden="true"></span> <span${attr_class(`hidden h-8.5 shrink-0 items-center gap-2 rounded-full md:flex ${status().label === "Working" ? "border border-working/55 bg-working/10 px-3.5 font-medium text-foreground" : "text-muted-foreground"}`)}><span${attr_class(`size-2 rounded-full ${stringify(status().dot)}`)} aria-hidden="true"></span>${escape_html(status().label)}</span> `);
|
|
3837
|
+
if (liveEnabled()) {
|
|
3838
|
+
$$renderer3.push(`<!--[0--><button${attr_class(`flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-full border px-3 text-sm font-semibold transition-colors max-md:h-11 ${liveCall.on ? "border-sea/60 bg-sea/10 text-sea" : "text-muted-foreground hover:bg-muted hover:text-foreground"}`)}${attr("aria-pressed", liveCall.on)}${attr("aria-label", liveCall.on ? "End Live mode" : "Start Live mode")} data-live-toggle="" title="Live mode: talk it through out loud with a discussion crew member while Firstmate keeps the watch"${attr("disabled", liveCall.state === "starting" || liveCall.state === "ending", true)}>`);
|
|
3839
|
+
Audio_lines($$renderer3, { class: "size-4", "aria-hidden": "true" });
|
|
3840
|
+
$$renderer3.push(`<!----><span${attr_class(clsx(lanesOn() ? "max-md:sr-only" : ""))}>Live</span></button>`);
|
|
3841
|
+
} else {
|
|
3842
|
+
$$renderer3.push("<!--[-1-->");
|
|
3843
|
+
}
|
|
3844
|
+
$$renderer3.push(`<!--]--> <button class="flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg border text-muted-foreground transition-colors hover:bg-muted max-md:size-11" aria-label="Clear the chat" title="Clear the chat: hide what is on screen (Show earlier messages brings it back; Firstmate keeps its conversation)" data-chat-clear="">`);
|
|
3845
|
+
Eraser($$renderer3, { class: "size-4" });
|
|
3846
|
+
$$renderer3.push(`<!----></button> <button${attr_class(`flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg border transition-colors hover:bg-muted max-md:size-11 ${"text-muted-foreground"}`)}${attr("aria-label", "Search the chat history")}${attr("aria-pressed", searching)} title="Search every conversation with Firstmate">`);
|
|
3847
|
+
Search($$renderer3, { class: "size-4" });
|
|
3848
|
+
$$renderer3.push(`<!----></button> `);
|
|
3849
|
+
if (session()?.state === "ours") {
|
|
3850
|
+
$$renderer3.push(`<!--[0--><button${attr_class(`flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg border transition-colors hover:bg-muted max-md:size-11 ${"text-muted-foreground"}`)}${attr("aria-label", "Show Firstmate’s terminal")}${attr("aria-pressed", terminalOpen)} title="Firstmate’s own terminal, for anything the chat cannot show">`);
|
|
3851
|
+
Square_terminal($$renderer3, { class: "size-4" });
|
|
3852
|
+
$$renderer3.push(`<!----></button>`);
|
|
3853
|
+
} else {
|
|
3854
|
+
$$renderer3.push("<!--[-1-->");
|
|
3855
|
+
}
|
|
3856
|
+
$$renderer3.push(`<!--]--> `);
|
|
3857
|
+
if (onSwapRail && railOpen) {
|
|
3858
|
+
$$renderer3.push(`<!--[0--><button class="hidden size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg border text-muted-foreground transition-colors hover:bg-muted hover:text-foreground lg:flex"${attr("aria-label", railSide === "left" ? "Move On deck to the right" : "Move On deck to the left")}${attr("title", railSide === "left" ? "Move On deck to the right" : "Move On deck to the left")}>`);
|
|
3859
|
+
Arrow_left_right($$renderer3, { class: "size-4" });
|
|
3860
|
+
$$renderer3.push(`<!----></button>`);
|
|
3861
|
+
} else {
|
|
3862
|
+
$$renderer3.push("<!--[-1-->");
|
|
3863
|
+
}
|
|
3864
|
+
$$renderer3.push(`<!--]--> <button class="relative flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-lg border text-muted-foreground transition-colors hover:bg-muted hover:text-foreground max-md:hidden"${attr("aria-label", railOpen ? "Hide tasks and decisions" : "Show tasks and decisions")}${attr("aria-pressed", railOpen)}>`);
|
|
3865
|
+
if (railSide === "left") {
|
|
3866
|
+
$$renderer3.push("<!--[0-->");
|
|
3867
|
+
Panel_left($$renderer3, { class: "size-4" });
|
|
3868
|
+
} else {
|
|
3869
|
+
$$renderer3.push("<!--[-1-->");
|
|
3870
|
+
Panel_right($$renderer3, { class: "size-4" });
|
|
3871
|
+
}
|
|
3872
|
+
$$renderer3.push(`<!--]--> `);
|
|
3873
|
+
if (waiting && !railOpen) {
|
|
3874
|
+
$$renderer3.push(`<!--[0--><span class="absolute top-1.5 right-1.5 size-2 rounded-full bg-sea"${attr("aria-label", `${stringify(waiting)} waiting on you`)}></span>`);
|
|
3875
|
+
} else {
|
|
3876
|
+
$$renderer3.push("<!--[-1-->");
|
|
3877
|
+
}
|
|
3878
|
+
$$renderer3.push(`<!--]--></button></div></div> `);
|
|
3879
|
+
if (liveEnabled() && liveCall.on) {
|
|
3880
|
+
$$renderer3.push("<!--[0-->");
|
|
3881
|
+
LiveBar($$renderer3);
|
|
3882
|
+
} else {
|
|
3883
|
+
$$renderer3.push("<!--[-1-->");
|
|
3884
|
+
}
|
|
3885
|
+
$$renderer3.push(`<!--]--> `);
|
|
3886
|
+
{
|
|
3887
|
+
$$renderer3.push("<!--[-1-->");
|
|
3888
|
+
}
|
|
3889
|
+
$$renderer3.push(`<!--]--> `);
|
|
3890
|
+
if (lanesOn()) {
|
|
3891
|
+
$$renderer3.push("<!--[0-->");
|
|
3892
|
+
Lanes($$renderer3, {
|
|
3893
|
+
lanes: lanes(),
|
|
3894
|
+
current: current(),
|
|
3895
|
+
onPick: (topic) => {
|
|
3896
|
+
taskFilter = null;
|
|
3897
|
+
pickThread(topic);
|
|
3898
|
+
},
|
|
3899
|
+
tasks: laneTasks(),
|
|
3900
|
+
currentTask: currentTask(),
|
|
3901
|
+
onPickTask: (task) => taskFilter = task && current() ? { topic: current(), task } : null,
|
|
3902
|
+
allUnread: allUnread(),
|
|
3903
|
+
get sheet() {
|
|
3904
|
+
return lanesSheet;
|
|
3905
|
+
},
|
|
3906
|
+
set sheet($$value) {
|
|
3907
|
+
lanesSheet = $$value;
|
|
3908
|
+
$$settled = false;
|
|
3909
|
+
}
|
|
3910
|
+
});
|
|
3911
|
+
} else {
|
|
3912
|
+
$$renderer3.push("<!--[-1-->");
|
|
3913
|
+
}
|
|
3914
|
+
$$renderer3.push(`<!--]--> <div class="relative min-h-0 flex-1"><div class="no-scrollbar h-full overflow-y-auto"><div class="flex flex-col gap-4 px-4 pt-4 pb-8 sm:px-6 md:gap-6 md:pt-8 md:pb-10 lg:px-10"><div${attr("data-chat-history", firstmateChat.older)}${attr("data-drawn-from", drawnFrom())}>`);
|
|
3915
|
+
if (atClear()) {
|
|
3916
|
+
$$renderer3.push(`<!--[0--><p class="history-edge" data-chat-cleared="">Chat cleared · ${escape_html(hiddenBefore())}
|
|
3917
|
+
${escape_html(hiddenBefore() === 1 ? "message" : "messages")} hidden · <button class="cursor-pointer underline underline-offset-2 hover:text-foreground">Show earlier messages</button></p>`);
|
|
3918
|
+
} else if (drawnFrom() > 0) {
|
|
3919
|
+
$$renderer3.push(`<!--[1--><button class="history-edge cursor-pointer hover:text-foreground">Show earlier messages</button>`);
|
|
3920
|
+
} else if (firstmateChat.older === "loading") {
|
|
3921
|
+
$$renderer3.push(`<!--[2--><p class="history-edge" role="status">`);
|
|
3922
|
+
Loader_circle($$renderer3, { class: "size-3.5 animate-spin", "aria-hidden": "true" });
|
|
3923
|
+
$$renderer3.push(`<!---->Reading earlier
|
|
3924
|
+
messages…</p>`);
|
|
3925
|
+
} else if (firstmateChat.older === "failed") {
|
|
3926
|
+
$$renderer3.push(`<!--[3--><p class="history-edge" role="alert">Earlier messages could not be read. <button class="cursor-pointer underline underline-offset-2 hover:text-foreground">Try again</button></p>`);
|
|
3927
|
+
} else if (firstmateChat.older === "more") {
|
|
3928
|
+
$$renderer3.push(`<!--[4--><button class="history-edge cursor-pointer hover:text-foreground">Show earlier messages</button>`);
|
|
3929
|
+
} else if (firstmateChat.older === "none" && items().length) {
|
|
3930
|
+
$$renderer3.push(`<!--[5--><p class="history-edge">The chat history begins here.</p>`);
|
|
3931
|
+
} else if (firstmateChat.older === "unavailable" && firstmateChat.source?.truncated) {
|
|
3932
|
+
$$renderer3.push(`<!--[6--><p class="history-edge">Earlier messages are not shown here; the full conversation is in Firstmate’s terminal.</p>`);
|
|
3933
|
+
} else {
|
|
3934
|
+
$$renderer3.push("<!--[-1-->");
|
|
3935
|
+
}
|
|
3936
|
+
$$renderer3.push(`<!--]--></div> `);
|
|
3937
|
+
if (session()?.state === "ours" && !session().canSend) {
|
|
3938
|
+
$$renderer3.push(`<!--[0--><div class="my-8 flex max-w-lg flex-col items-start gap-3 rounded-lg border border-warning/40 bg-warning/5 p-4" role="alert" data-session-recovery=""><p class="font-medium">Restart needed to connect chat</p> <p class="text-sm text-muted-foreground">${escape_html(session().reason)}</p> <button class="cursor-pointer rounded-lg bg-foreground px-4 py-2 text-sm font-medium text-background">Open Firstmate’s terminal</button> <p class="text-sm text-muted-foreground">Exit the coding tool from its prompt. Closing Wheelhouse alone leaves it running. Then
|
|
3939
|
+
choose “Start Firstmate here” to launch it with chat connected.</p></div>`);
|
|
3940
|
+
} else if (session() && session().state !== "ours" && session().state !== "external") {
|
|
3941
|
+
$$renderer3.push(`<!--[1--><div class="my-8 flex max-w-md flex-col items-start gap-3"><p class="font-medium">${escape_html(session().state === "starting" ? "Starting Firstmate…" : "Firstmate is not running")}</p> `);
|
|
3942
|
+
if (session().reason && session().state !== "starting") {
|
|
3943
|
+
$$renderer3.push(`<!--[0--><p class="text-sm text-muted-foreground">${escape_html(session().reason)}</p>`);
|
|
3944
|
+
} else {
|
|
3945
|
+
$$renderer3.push("<!--[-1-->");
|
|
3946
|
+
}
|
|
3947
|
+
$$renderer3.push(`<!--]--> `);
|
|
3948
|
+
if (session().state === "none") {
|
|
3949
|
+
$$renderer3.push(`<!--[0--><button class="flex cursor-pointer items-center gap-2 rounded-lg bg-foreground px-4 py-2 text-sm font-medium text-background disabled:opacity-50"${attr("disabled", starting, true)}>`);
|
|
3950
|
+
{
|
|
3951
|
+
$$renderer3.push("<!--[-1-->");
|
|
3952
|
+
}
|
|
3953
|
+
$$renderer3.push(`<!--]-->Start Firstmate here</button> <p class="text-xs text-muted-foreground">It runs in Firstmate’s checkout${escape_html(session().skipPermissions ? " with --dangerously-skip-permissions" : "")}, inside a tmux session that keeps going when you close Wheelhouse.</p> `);
|
|
3954
|
+
{
|
|
3955
|
+
$$renderer3.push("<!--[-1-->");
|
|
3956
|
+
}
|
|
3957
|
+
$$renderer3.push(`<!--]-->`);
|
|
3958
|
+
} else {
|
|
3959
|
+
$$renderer3.push("<!--[-1-->");
|
|
3960
|
+
}
|
|
3961
|
+
$$renderer3.push(`<!--]--></div>`);
|
|
3962
|
+
} else if (!items().length || atClear() && drawnFrom() === items().length && !placed().end.length) {
|
|
3963
|
+
$$renderer3.push(`<!--[2--><p class="py-20 text-sm text-muted-foreground">${escape_html(items().length ? "Chat cleared. New messages show here." : session() ? "No messages yet. Say hello to Firstmate." : "Reading the conversation…")}</p>`);
|
|
3964
|
+
} else {
|
|
3965
|
+
$$renderer3.push("<!--[-1-->");
|
|
3966
|
+
}
|
|
3967
|
+
$$renderer3.push(`<!--]--> `);
|
|
3968
|
+
if (current() && !lanesOn()) {
|
|
3969
|
+
$$renderer3.push(`<!--[0--><div class="thread-note" role="status" data-thread-note=""><p>Showing the <b>${escape_html(threadName(current()))}</b> thread: ${escape_html(inThread())} of ${escape_html(entries().length)}
|
|
3970
|
+
${escape_html(entries().length === 1 ? "message" : "messages")}.${escape_html(current() !== UNSORTED ? " What you send from here is sent in it." : "")}</p> <div class="flex flex-wrap items-center gap-x-4 gap-y-1"><label class="flex cursor-pointer items-center gap-1.5"><input type="checkbox" class="accent-sea"${attr("checked", chatTags.fold, true)}/>Fold other threads to a line</label> <button class="cursor-pointer font-medium text-sea hover:underline">Show all threads</button></div></div>`);
|
|
3971
|
+
} else {
|
|
3972
|
+
$$renderer3.push("<!--[-1-->");
|
|
3973
|
+
}
|
|
3974
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
3975
|
+
const each_array_2 = ensure_array_like(drawn());
|
|
3976
|
+
for (let di = 0, $$length = each_array_2.length; di < $$length; di++) {
|
|
3977
|
+
let item = each_array_2[di];
|
|
3978
|
+
const i = drawnFrom() + di;
|
|
3979
|
+
const grouped = groupedWithPrevious(i);
|
|
3980
|
+
const v = view(item.id);
|
|
3981
|
+
if (liveAt() === i) {
|
|
3982
|
+
$$renderer3.push("<!--[0-->");
|
|
3983
|
+
liveEntries($$renderer3);
|
|
3984
|
+
} else {
|
|
3985
|
+
$$renderer3.push("<!--[-1-->");
|
|
3986
|
+
}
|
|
3987
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
3988
|
+
const each_array_3 = ensure_array_like(placed().before.get(i) ?? []);
|
|
3989
|
+
for (let $$index_2 = 0, $$length2 = each_array_3.length; $$index_2 < $$length2; $$index_2++) {
|
|
3990
|
+
let d = each_array_3[$$index_2];
|
|
3991
|
+
decisionEntry($$renderer3, d);
|
|
3992
|
+
}
|
|
3993
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
3994
|
+
const each_array_4 = ensure_array_like(batches().before.get(i) ?? []);
|
|
3995
|
+
for (let $$index_3 = 0, $$length2 = each_array_4.length; $$index_3 < $$length2; $$index_3++) {
|
|
3996
|
+
let b = each_array_4[$$index_3];
|
|
3997
|
+
batchEntry($$renderer3, b);
|
|
3998
|
+
}
|
|
3999
|
+
$$renderer3.push(`<!--]--> `);
|
|
4000
|
+
if (discussed().hidden.has(item.id)) {
|
|
4001
|
+
$$renderer3.push("<!--[0-->");
|
|
4002
|
+
} else if (v !== "show" && runs().get(item.id)?.first === item.id) {
|
|
4003
|
+
$$renderer3.push("<!--[1-->");
|
|
4004
|
+
foldLine($$renderer3, runs().get(item.id));
|
|
4005
|
+
} else {
|
|
4006
|
+
$$renderer3.push("<!--[-1-->");
|
|
4007
|
+
}
|
|
4008
|
+
$$renderer3.push(`<!--]--> `);
|
|
4009
|
+
if (discussed().hidden.has(item.id) || v === "hide" || v === "line") {
|
|
4010
|
+
$$renderer3.push("<!--[0-->");
|
|
4011
|
+
} else if (item.kind === "user") {
|
|
4012
|
+
$$renderer3.push("<!--[1-->");
|
|
4013
|
+
const reply = parseReply(item.text);
|
|
4014
|
+
const sent = parseAttachments(parseThread(reply.body).text);
|
|
4015
|
+
const tag = tagged().users.get(item.id) ?? UNSORTED_TAG;
|
|
4016
|
+
const prevAt = previousShown(i);
|
|
4017
|
+
$$renderer3.push(`<article${attr_class(`msg msg-captain ${grouped ? "msg-grouped" : ""} ${v === "dim" ? "thread-dim" : ""}`)}${attr("aria-label", `You, ${stringify(time2(item.at))}`)}>`);
|
|
4018
|
+
if (grouped) {
|
|
4019
|
+
$$renderer3.push(`<!--[0--><span class="msg-gutter" aria-hidden="true"></span>`);
|
|
4020
|
+
} else {
|
|
4021
|
+
$$renderer3.push(`<!--[-1--><span class="captain-avatar">C</span>`);
|
|
4022
|
+
}
|
|
4023
|
+
$$renderer3.push(`<!--]--> <div class="min-w-0 flex-1">`);
|
|
4024
|
+
if (!grouped) {
|
|
4025
|
+
$$renderer3.push(`<!--[0--><header class="msg-head"><span class="msg-name">You</span><time${attr("datetime", item.at)}>${escape_html(time2(item.at))}</time> `);
|
|
4026
|
+
if (item.queued) {
|
|
4027
|
+
$$renderer3.push(`<!--[0--><span>· sent while Firstmate was working</span>`);
|
|
4028
|
+
} else {
|
|
4029
|
+
$$renderer3.push("<!--[-1-->");
|
|
4030
|
+
}
|
|
4031
|
+
$$renderer3.push(`<!--]--> `);
|
|
4032
|
+
tagOf($$renderer3, tag, item.id);
|
|
4033
|
+
$$renderer3.push(`<!----></header>`);
|
|
4034
|
+
} else if (prevAt < 0 || lastTopic(items()[prevAt]) !== tag.topic) {
|
|
4035
|
+
$$renderer3.push(`<!--[1--><div class="msg-tagline">`);
|
|
4036
|
+
tagOf($$renderer3, tag, item.id);
|
|
4037
|
+
$$renderer3.push(`<!----></div>`);
|
|
4038
|
+
} else {
|
|
4039
|
+
$$renderer3.push("<!--[-1-->");
|
|
4040
|
+
}
|
|
4041
|
+
$$renderer3.push(`<!--]--> `);
|
|
4042
|
+
if (reply.to || sent.text) {
|
|
4043
|
+
$$renderer3.push(`<!--[0--><div class="bubble-row"><div${attr_class(`bubble bubble-captain ${item.command ? "font-mono text-sm" : ""}`)}${attr("data-bubble", item.id)}>`);
|
|
4044
|
+
if (reply.to) {
|
|
4045
|
+
$$renderer3.push("<!--[0-->");
|
|
4046
|
+
quote($$renderer3, reply.to, original(reply.to, i));
|
|
4047
|
+
} else {
|
|
4048
|
+
$$renderer3.push("<!--[-1-->");
|
|
4049
|
+
}
|
|
4050
|
+
$$renderer3.push(`<!--]-->`);
|
|
4051
|
+
captainText($$renderer3, sent.text, true);
|
|
4052
|
+
$$renderer3.push(`<!----></div> `);
|
|
4053
|
+
if (via() && !item.command) {
|
|
4054
|
+
$$renderer3.push("<!--[0-->");
|
|
4055
|
+
replyButton($$renderer3, item.id, "captain", item.text);
|
|
4056
|
+
} else {
|
|
4057
|
+
$$renderer3.push("<!--[-1-->");
|
|
4058
|
+
}
|
|
4059
|
+
$$renderer3.push(`<!--]--></div>`);
|
|
4060
|
+
} else {
|
|
4061
|
+
$$renderer3.push("<!--[-1-->");
|
|
4062
|
+
}
|
|
4063
|
+
$$renderer3.push(`<!--]--> `);
|
|
4064
|
+
if (sent.files.length) {
|
|
4065
|
+
$$renderer3.push("<!--[0-->");
|
|
4066
|
+
SentFiles($$renderer3, { files: sent.files });
|
|
4067
|
+
} else {
|
|
4068
|
+
$$renderer3.push("<!--[-1-->");
|
|
4069
|
+
}
|
|
4070
|
+
$$renderer3.push(`<!--]--></div></article>`);
|
|
4071
|
+
} else if (item.kind === "session") {
|
|
4072
|
+
$$renderer3.push(`<!--[2--><div class="session-divider" role="separator"${attr("aria-label", `${item.first ? "Firstmate session started" : "Firstmate restarted"}, ${stringify(when(item.at))}`)} data-session-divider=""><span>${escape_html(item.first ? "Firstmate session started" : "Firstmate restarted")} · <time${attr("datetime", item.at)}>${escape_html(when(item.at))}</time></span></div>`);
|
|
4073
|
+
} else if (item.kind === "output") {
|
|
4074
|
+
$$renderer3.push(`<!--[3--><pre${attr_class(`no-scrollbar max-h-80 max-w-[80ch] overflow-auto rounded-lg bg-muted/60 p-3 font-mono text-xs whitespace-pre-wrap text-muted-foreground ${v === "dim" ? "thread-dim" : ""}`)}>${escape_html(item.text)}</pre>`);
|
|
4075
|
+
} else if (item.kind === "notice") {
|
|
4076
|
+
$$renderer3.push(`<!--[4--><div${attr_class(`flex flex-col items-start ${v === "dim" ? "thread-dim" : ""}`)}><button class="-ml-3 flex max-w-full cursor-pointer items-center gap-2 rounded-full px-3 py-1 text-xs text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"${attr("aria-expanded", !!openNotice[item.id])}>`);
|
|
4077
|
+
Bell($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
4078
|
+
$$renderer3.push(`<!----> <span class="truncate">${escape_html(item.title)} · ${escape_html(time2(item.at))}</span> `);
|
|
4079
|
+
Chevron_right($$renderer3, {
|
|
4080
|
+
class: `size-3.5 shrink-0 transition-transform ${openNotice[item.id] ? "rotate-90" : ""}`,
|
|
4081
|
+
"aria-hidden": "true"
|
|
4082
|
+
});
|
|
4083
|
+
$$renderer3.push(`<!----></button> `);
|
|
4084
|
+
if (openNotice[item.id]) {
|
|
4085
|
+
$$renderer3.push(`<!--[0--><div class="mt-2 w-full max-w-[80ch] rounded-lg border bg-card px-4 py-3 text-sm whitespace-pre-wrap text-muted-foreground">`);
|
|
4086
|
+
LinkedText($$renderer3, { text: item.detail });
|
|
4087
|
+
$$renderer3.push(`<!----></div>`);
|
|
4088
|
+
} else {
|
|
4089
|
+
$$renderer3.push("<!--[-1-->");
|
|
4090
|
+
}
|
|
4091
|
+
$$renderer3.push(`<!--]--></div>`);
|
|
4092
|
+
} else {
|
|
4093
|
+
$$renderer3.push("<!--[-1-->");
|
|
4094
|
+
const prevAt = previousShown(i);
|
|
4095
|
+
const lay = layoutTurn(item, v === "dim" || !current(), grouped, prevAt >= 0 ? lastTopic(items()[prevAt]) : null);
|
|
4096
|
+
$$renderer3.push(`<article${attr_class(`msg msg-firstmate ${grouped ? "msg-grouped" : ""} ${v === "dim" ? "thread-dim" : ""}`)}${attr("aria-label", `Firstmate, ${stringify(time2(item.at))}`)}>`);
|
|
4097
|
+
if (grouped) {
|
|
4098
|
+
$$renderer3.push(`<!--[0--><span class="msg-gutter" aria-hidden="true"></span>`);
|
|
4099
|
+
} else {
|
|
4100
|
+
$$renderer3.push("<!--[-1-->");
|
|
4101
|
+
Avatar($$renderer3, { class: "msg-avatar size-8" });
|
|
4102
|
+
}
|
|
4103
|
+
$$renderer3.push(`<!--]--> <div class="flex min-w-0 flex-1 flex-col gap-2">`);
|
|
4104
|
+
if (!grouped) {
|
|
4105
|
+
$$renderer3.push(`<!--[0--><header class="msg-head"><span class="msg-name">Firstmate</span><time${attr("datetime", item.at)}>${escape_html(time2(item.at))}</time> `);
|
|
4106
|
+
if (lay.head) {
|
|
4107
|
+
$$renderer3.push("<!--[0-->");
|
|
4108
|
+
tagOf($$renderer3, lay.head.tag, lay.head.key);
|
|
4109
|
+
} else {
|
|
4110
|
+
$$renderer3.push("<!--[-1-->");
|
|
4111
|
+
}
|
|
4112
|
+
$$renderer3.push(`<!--]--></header>`);
|
|
4113
|
+
} else {
|
|
4114
|
+
$$renderer3.push("<!--[-1-->");
|
|
4115
|
+
}
|
|
4116
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
4117
|
+
const each_array_5 = ensure_array_like(item.parts);
|
|
4118
|
+
for (let pi = 0, $$length2 = each_array_5.length; pi < $$length2; pi++) {
|
|
4119
|
+
let part = each_array_5[pi];
|
|
4120
|
+
if (part.kind === "text") {
|
|
4121
|
+
$$renderer3.push("<!--[0-->");
|
|
4122
|
+
const asked = forms().get(part.id);
|
|
4123
|
+
const words = replyWords(part);
|
|
4124
|
+
const shown2 = lay.parts.get(part.id);
|
|
4125
|
+
const tracked = linked().get(part.id);
|
|
4126
|
+
const again = formLinks().earlier.get(part.id);
|
|
4127
|
+
if (shown2?.above) {
|
|
4128
|
+
$$renderer3.push(`<!--[0--><div class="msg-tagline -mb-1">`);
|
|
4129
|
+
tagOf($$renderer3, shown2.above.tag, shown2.above.key);
|
|
4130
|
+
$$renderer3.push(`<!----></div>`);
|
|
4131
|
+
} else {
|
|
4132
|
+
$$renderer3.push("<!--[-1-->");
|
|
4133
|
+
}
|
|
4134
|
+
$$renderer3.push(`<!--]--> `);
|
|
4135
|
+
if (words && shown2?.secs.length) {
|
|
4136
|
+
$$renderer3.push("<!--[0-->");
|
|
4137
|
+
const brief = isBriefing(words);
|
|
4138
|
+
$$renderer3.push(`<div class="bubble-row"><div${attr_class(`chat-md bubble bubble-firstmate ${brief ? "bubble-brief" : ""}`)}${attr("data-bubble", part.id)}${attr("data-briefing", brief || void 0)}>`);
|
|
4139
|
+
if (brief) {
|
|
4140
|
+
$$renderer3.push(`<!--[0--><div class="brief-head"><span class="brief-tag">Briefing</span><span class="truncate">Firstmate${escape_html(chat().title ? ` · ${chat().title}` : "")}</span></div>`);
|
|
4141
|
+
} else {
|
|
4142
|
+
$$renderer3.push("<!--[-1-->");
|
|
4143
|
+
}
|
|
4144
|
+
$$renderer3.push(`<!--]--> `);
|
|
4145
|
+
if (shown2.secs.length > 1) {
|
|
4146
|
+
$$renderer3.push(`<!--[0--><!--[-->`);
|
|
4147
|
+
const each_array_6 = ensure_array_like(shown2.secs);
|
|
4148
|
+
for (let $$index_4 = 0, $$length3 = each_array_6.length; $$index_4 < $$length3; $$index_4++) {
|
|
4149
|
+
let sec = each_array_6[$$index_4];
|
|
4150
|
+
if (sec.intro) {
|
|
4151
|
+
$$renderer3.push(`<!--[0--><div class="mb-3">${html(md(sec.text))}</div>`);
|
|
4152
|
+
} else {
|
|
4153
|
+
$$renderer3.push(`<!--[-1--><div class="thread-section"${attr("data-hue", threadHue(sec.tag.topic) ?? void 0)}><div class="mb-1">`);
|
|
4154
|
+
tagOf($$renderer3, sec.tag, sec.key);
|
|
4155
|
+
$$renderer3.push(`<!----></div> ${html(md(sec.text))}</div>`);
|
|
4156
|
+
}
|
|
4157
|
+
$$renderer3.push(`<!--]-->`);
|
|
4158
|
+
}
|
|
4159
|
+
$$renderer3.push(`<!--]-->`);
|
|
4160
|
+
} else {
|
|
4161
|
+
$$renderer3.push(`<!--[-1-->${html(md(shown2.whole ? words : shown2.secs[0].text))}`);
|
|
4162
|
+
}
|
|
4163
|
+
$$renderer3.push(`<!--]-->`);
|
|
4164
|
+
if (reactions.has(part.id)) {
|
|
4165
|
+
$$renderer3.push(`<!--[0--><span class="thumbs-mark" role="img" aria-label="You gave this a thumbs-up">👍</span>`);
|
|
4166
|
+
} else {
|
|
4167
|
+
$$renderer3.push("<!--[-1-->");
|
|
4168
|
+
}
|
|
4169
|
+
$$renderer3.push(`<!--]--></div> `);
|
|
4170
|
+
if (via()) {
|
|
4171
|
+
$$renderer3.push("<!--[0-->");
|
|
4172
|
+
replyButton($$renderer3, part.id, "firstmate");
|
|
4173
|
+
$$renderer3.push(`<!---->`);
|
|
4174
|
+
thumbsButton($$renderer3, part.id);
|
|
4175
|
+
$$renderer3.push(`<!---->`);
|
|
4176
|
+
} else {
|
|
4177
|
+
$$renderer3.push("<!--[-1-->");
|
|
4178
|
+
}
|
|
4179
|
+
$$renderer3.push(`<!--]--></div>`);
|
|
4180
|
+
} else {
|
|
4181
|
+
$$renderer3.push("<!--[-1-->");
|
|
4182
|
+
}
|
|
4183
|
+
$$renderer3.push(`<!--]--> `);
|
|
4184
|
+
if (words && shown2?.secs.length) {
|
|
4185
|
+
$$renderer3.push("<!--[0-->");
|
|
4186
|
+
DocChips($$renderer3, { text: words });
|
|
4187
|
+
} else {
|
|
4188
|
+
$$renderer3.push("<!--[-1-->");
|
|
4189
|
+
}
|
|
4190
|
+
$$renderer3.push(`<!--]--> `);
|
|
4191
|
+
if (asked && tracked && shown2?.secs.length) {
|
|
4192
|
+
$$renderer3.push("<!--[0-->");
|
|
4193
|
+
decisionCard($$renderer3, tracked, asked.form);
|
|
4194
|
+
} else if (asked && again && shown2?.secs.length) {
|
|
4195
|
+
$$renderer3.push(`<!--[1--><p class="flex w-full max-w-[min(100%,40rem)] items-center gap-1.5 rounded-lg border bg-card/60 px-4 py-2 text-xs text-muted-foreground sm:px-5" data-chat-form="replaced"${attr("data-asked-again", again.id)}>`);
|
|
4196
|
+
Message_circle_question_mark($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
4197
|
+
$$renderer3.push(`<!----><span>Firstmate asked this decision again below: “${escape_html(again.card?.title ?? again.head.question)}”</span></p>`);
|
|
4198
|
+
} else if (asked && shown2?.secs.length) {
|
|
4199
|
+
$$renderer3.push(`<!--[2--><div${attr_class(`w-full max-w-[min(100%,40rem)] rounded-lg border border-dashed bg-card/60 px-4 pt-2 pb-3 sm:px-5 ${asked.active ? "border-sea/60" : ""}`)}${attr("data-chat-form", asked.active ? "open" : asked.decided !== null ? "answered" : asked.dismissed !== null ? "dismissed" : "replaced")} data-quick-question=""><p class="flex items-center gap-1.5 text-xs text-muted-foreground" title="Asked here only: it is not on the Decisions page, and answering it closes nothing there">`);
|
|
4200
|
+
Message_circle_question_mark($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
4201
|
+
$$renderer3.push(`<!----><span>Quick question · not a tracked decision</span></p> `);
|
|
4202
|
+
DecisionForm($$renderer3, {
|
|
4203
|
+
form: asked.form,
|
|
4204
|
+
name: part.id,
|
|
4205
|
+
canAnswer: asked.active && !!via() && !held(),
|
|
4206
|
+
decided: asked.decided,
|
|
4207
|
+
dismissed: asked.dismissed,
|
|
4208
|
+
onAnswer: (a, note) => decide(part.id, a, note),
|
|
4209
|
+
onDismiss: (reason) => dismissForm(part.id, reason)
|
|
4210
|
+
});
|
|
4211
|
+
$$renderer3.push(`<!----> `);
|
|
4212
|
+
if (!asked.active && asked.decided === null && asked.dismissed === null) {
|
|
4213
|
+
$$renderer3.push(`<!--[0--><p class="mt-2 text-xs text-muted-foreground">A later question from Firstmate replaced this one.</p>`);
|
|
4214
|
+
} else {
|
|
4215
|
+
$$renderer3.push("<!--[-1-->");
|
|
4216
|
+
}
|
|
4217
|
+
$$renderer3.push(`<!--]--></div>`);
|
|
4218
|
+
} else {
|
|
4219
|
+
$$renderer3.push("<!--[-1-->");
|
|
4220
|
+
}
|
|
4221
|
+
$$renderer3.push(`<!--]--> `);
|
|
4222
|
+
if (shown2?.secs.length) {
|
|
4223
|
+
$$renderer3.push(`<!--[0--><!--[-->`);
|
|
4224
|
+
const each_array_7 = ensure_array_like(asks().get(part.id) ?? []);
|
|
4225
|
+
for (let ai = 0, $$length3 = each_array_7.length; ai < $$length3; ai++) {
|
|
4226
|
+
let a = each_array_7[ai];
|
|
4227
|
+
$$renderer3.push(`<div${attr_class(`flex w-full max-w-[min(100%,40rem)] flex-wrap items-start gap-3 rounded-lg border border-l-[3px] bg-card px-4 py-3 md:flex-nowrap ${a.stored ? "border-l-success/70" : "border-l-brass"}`)}${attr("data-vault-request", a.stored ? "stored" : "open")}>`);
|
|
4228
|
+
Key_round($$renderer3, {
|
|
4229
|
+
class: "mt-0.5 size-4 shrink-0 text-brass",
|
|
4230
|
+
"aria-hidden": "true"
|
|
4231
|
+
});
|
|
4232
|
+
$$renderer3.push(`<!----> <div class="min-w-0 flex-1"><p class="text-sm">Firstmate asks for <span class="font-mono font-medium">${escape_html(a.request.name)}</span></p> `);
|
|
4233
|
+
if (a.request.purpose) {
|
|
4234
|
+
$$renderer3.push(`<!--[0--><p class="mt-0.5 text-sm text-muted-foreground">${escape_html(a.request.purpose)}</p>`);
|
|
4235
|
+
} else {
|
|
4236
|
+
$$renderer3.push("<!--[-1-->");
|
|
4237
|
+
}
|
|
4238
|
+
$$renderer3.push(`<!--]--> `);
|
|
4239
|
+
if (a.stored) {
|
|
4240
|
+
$$renderer3.push(`<!--[0--><p class="mt-1 flex items-center gap-1 text-xs text-muted-foreground">`);
|
|
4241
|
+
Circle_check($$renderer3, { class: "size-3.5 text-success", "aria-hidden": "true" });
|
|
4242
|
+
$$renderer3.push(`<!---->Stored in the vault</p>`);
|
|
4243
|
+
} else {
|
|
4244
|
+
$$renderer3.push("<!--[-1-->");
|
|
4245
|
+
}
|
|
4246
|
+
$$renderer3.push(`<!--]--></div> <button type="button" class="shrink-0 cursor-pointer rounded-md border px-3 py-1.5 text-sm transition-colors hover:bg-muted max-md:min-h-11 max-md:w-full">${escape_html(a.stored ? "Store again…" : `Add ${a.request.name}…`)}</button></div>`);
|
|
4247
|
+
}
|
|
4248
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
4249
|
+
const each_array_8 = ensure_array_like(matchBridgeCards(part.text, pluginEntries));
|
|
4250
|
+
for (let $$index_6 = 0, $$length3 = each_array_8.length; $$index_6 < $$length3; $$index_6++) {
|
|
4251
|
+
let { entry, card } = each_array_8[$$index_6];
|
|
4252
|
+
$$renderer3.push(`<div class="max-w-[80ch] rounded-xl border bg-card p-4" data-slot="bridge.card"><p class="font-medium">${escape_html(card.title)}</p> <div class="mt-2">`);
|
|
4253
|
+
Blocks($$renderer3, { blocks: card.blocks });
|
|
4254
|
+
$$renderer3.push(`<!----></div></div>`);
|
|
4255
|
+
}
|
|
4256
|
+
$$renderer3.push(`<!--]-->`);
|
|
4257
|
+
} else {
|
|
4258
|
+
$$renderer3.push("<!--[-1-->");
|
|
4259
|
+
}
|
|
4260
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
4261
|
+
const each_array_9 = ensure_array_like(previews().get(part.id) ?? []);
|
|
4262
|
+
for (let $$index_7 = 0, $$length3 = each_array_9.length; $$index_7 < $$length3; $$index_7++) {
|
|
4263
|
+
let pv = each_array_9[$$index_7];
|
|
4264
|
+
if (!pv.task) {
|
|
4265
|
+
$$renderer3.push("<!--[0-->");
|
|
4266
|
+
ChatPreview($$renderer3, { preview: pv, now });
|
|
4267
|
+
} else {
|
|
4268
|
+
$$renderer3.push("<!--[-1-->");
|
|
4269
|
+
const ptag = previewTag(pv.task.id, pv.task.projectId);
|
|
4270
|
+
if (v === "dim" || !current() || ptag.topic === current()) {
|
|
4271
|
+
$$renderer3.push(`<!--[0--><div class="flex flex-col gap-1"><div class="msg-tagline">`);
|
|
4272
|
+
tagOf($$renderer3, ptag, `preview:${pv.task.id}`);
|
|
4273
|
+
$$renderer3.push(`<!----></div> `);
|
|
4274
|
+
ChatPreview($$renderer3, { preview: pv, project: projectName(pv.task.projectId), now });
|
|
4275
|
+
$$renderer3.push(`<!----></div>`);
|
|
4276
|
+
} else {
|
|
4277
|
+
$$renderer3.push("<!--[-1-->");
|
|
4278
|
+
}
|
|
4279
|
+
$$renderer3.push(`<!--]-->`);
|
|
4280
|
+
}
|
|
4281
|
+
$$renderer3.push(`<!--]-->`);
|
|
4282
|
+
}
|
|
4283
|
+
$$renderer3.push(`<!--]-->`);
|
|
4284
|
+
} else if (part.kind === "question") {
|
|
4285
|
+
$$renderer3.push("<!--[1-->");
|
|
4286
|
+
QuestionCard($$renderer3, { part });
|
|
4287
|
+
} else {
|
|
4288
|
+
$$renderer3.push("<!--[-1-->");
|
|
4289
|
+
Activity($$renderer3, { steps: part.steps, live: isLive(item, pi) });
|
|
4290
|
+
$$renderer3.push(`<!----> <!--[-->`);
|
|
4291
|
+
const each_array_10 = ensure_array_like(part.steps);
|
|
4292
|
+
for (let $$index_8 = 0, $$length3 = each_array_10.length; $$index_8 < $$length3; $$index_8++) {
|
|
4293
|
+
let step = each_array_10[$$index_8];
|
|
4294
|
+
if (apps[step.id]) {
|
|
4295
|
+
$$renderer3.push("<!--[0-->");
|
|
4296
|
+
var bind_get = () => !collapsedApps[step.id];
|
|
4297
|
+
var bind_set = (v2) => collapsedApps[step.id] = !v2;
|
|
4298
|
+
ChatApp($$renderer3, {
|
|
4299
|
+
id: step.id,
|
|
4300
|
+
app: apps[step.id],
|
|
4301
|
+
get open() {
|
|
4302
|
+
return bind_get();
|
|
4303
|
+
},
|
|
4304
|
+
set open($$value) {
|
|
4305
|
+
bind_set($$value);
|
|
4306
|
+
}
|
|
4307
|
+
});
|
|
4308
|
+
} else {
|
|
4309
|
+
$$renderer3.push("<!--[-1-->");
|
|
4310
|
+
}
|
|
4311
|
+
$$renderer3.push(`<!--]-->`);
|
|
4312
|
+
}
|
|
4313
|
+
$$renderer3.push(`<!--]-->`);
|
|
4314
|
+
}
|
|
4315
|
+
$$renderer3.push(`<!--]-->`);
|
|
4316
|
+
}
|
|
4317
|
+
$$renderer3.push(`<!--]--> `);
|
|
4318
|
+
if (lay.hidden) {
|
|
4319
|
+
$$renderer3.push(`<!--[0--><span class="text-xs text-muted-foreground" data-other-threads="">+ ${escape_html(lay.hidden)}
|
|
4320
|
+
${escape_html(lay.hidden === 1 ? "part" : "parts")} about other threads</span>`);
|
|
4321
|
+
} else {
|
|
4322
|
+
$$renderer3.push("<!--[-1-->");
|
|
4323
|
+
}
|
|
4324
|
+
$$renderer3.push(`<!--]--> `);
|
|
4325
|
+
if (item.interrupted) {
|
|
4326
|
+
$$renderer3.push(`<!--[0--><span class="text-xs text-muted-foreground">Stopped</span>`);
|
|
4327
|
+
} else if (item.done && item.durationMs) {
|
|
4328
|
+
$$renderer3.push(`<!--[1--><span class="worked-for">Worked for ${escape_html(duration(item.durationMs))}</span>`);
|
|
4329
|
+
} else {
|
|
4330
|
+
$$renderer3.push("<!--[-1-->");
|
|
4331
|
+
}
|
|
4332
|
+
$$renderer3.push(`<!--]--></div></article>`);
|
|
4333
|
+
}
|
|
4334
|
+
$$renderer3.push(`<!--]-->`);
|
|
4335
|
+
}
|
|
4336
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
4337
|
+
const each_array_11 = ensure_array_like(placed().end);
|
|
4338
|
+
for (let $$index_11 = 0, $$length = each_array_11.length; $$index_11 < $$length; $$index_11++) {
|
|
4339
|
+
let d = each_array_11[$$index_11];
|
|
4340
|
+
decisionEntry($$renderer3, d);
|
|
4341
|
+
}
|
|
4342
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
4343
|
+
const each_array_12 = ensure_array_like(batches().end);
|
|
4344
|
+
for (let $$index_12 = 0, $$length = each_array_12.length; $$index_12 < $$length; $$index_12++) {
|
|
4345
|
+
let b = each_array_12[$$index_12];
|
|
4346
|
+
batchEntry($$renderer3, b);
|
|
4347
|
+
}
|
|
4348
|
+
$$renderer3.push(`<!--]--> `);
|
|
4349
|
+
if (liveAt() === "pending") {
|
|
4350
|
+
$$renderer3.push("<!--[0-->");
|
|
4351
|
+
liveEntries($$renderer3);
|
|
4352
|
+
} else {
|
|
4353
|
+
$$renderer3.push("<!--[-1-->");
|
|
4354
|
+
}
|
|
4355
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
4356
|
+
const each_array_13 = ensure_array_like(chatPending());
|
|
4357
|
+
for (let pi = 0, $$length = each_array_13.length; pi < $$length; pi++) {
|
|
4358
|
+
let p = each_array_13[pi];
|
|
4359
|
+
const grouped = pi > 0 || lastItem()?.kind === "user";
|
|
4360
|
+
const reply = parseReply(p.text);
|
|
4361
|
+
const sent = parseAttachments(parseThread(reply.body).text);
|
|
4362
|
+
$$renderer3.push(`<article${attr_class(`msg msg-captain ${grouped ? "msg-grouped" : ""}`)}${attr("data-pending", p.state)}${attr("aria-label", `You, ${stringify(pendingLabel(p))}`)}>`);
|
|
4363
|
+
if (grouped) {
|
|
4364
|
+
$$renderer3.push(`<!--[0--><span class="msg-gutter" aria-hidden="true"></span>`);
|
|
4365
|
+
} else {
|
|
4366
|
+
$$renderer3.push(`<!--[-1--><span class="captain-avatar">C</span>`);
|
|
4367
|
+
}
|
|
4368
|
+
$$renderer3.push(`<!--]--> <div class="min-w-0 flex-1">`);
|
|
4369
|
+
if (!grouped) {
|
|
4370
|
+
$$renderer3.push(`<!--[0--><header class="msg-head"><span class="msg-name">You</span></header>`);
|
|
4371
|
+
} else {
|
|
4372
|
+
$$renderer3.push("<!--[-1-->");
|
|
4373
|
+
}
|
|
4374
|
+
$$renderer3.push(`<!--]--> `);
|
|
4375
|
+
if (reply.to || sent.text) {
|
|
4376
|
+
$$renderer3.push(`<!--[0--><div${attr_class(`bubble bubble-captain border-dashed ${p.state === "failed" ? "border-danger/60" : "opacity-60"}`)}>`);
|
|
4377
|
+
if (reply.to) {
|
|
4378
|
+
$$renderer3.push("<!--[0-->");
|
|
4379
|
+
quote($$renderer3, reply.to, original(reply.to));
|
|
4380
|
+
} else {
|
|
4381
|
+
$$renderer3.push("<!--[-1-->");
|
|
4382
|
+
}
|
|
4383
|
+
$$renderer3.push(`<!--]-->`);
|
|
4384
|
+
captainText($$renderer3, sent.text, false);
|
|
4385
|
+
$$renderer3.push(`<!----></div>`);
|
|
4386
|
+
} else {
|
|
4387
|
+
$$renderer3.push("<!--[-1-->");
|
|
4388
|
+
}
|
|
4389
|
+
$$renderer3.push(`<!--]--> `);
|
|
4390
|
+
if (sent.files.length) {
|
|
4391
|
+
$$renderer3.push("<!--[0-->");
|
|
4392
|
+
SentFiles($$renderer3, { files: sent.files, pending: true });
|
|
4393
|
+
} else {
|
|
4394
|
+
$$renderer3.push("<!--[-1-->");
|
|
4395
|
+
}
|
|
4396
|
+
$$renderer3.push(`<!--]--> <p${attr_class(`mt-1.5 flex flex-wrap items-center gap-1.5 text-xs ${p.state === "failed" ? "text-danger" : "text-muted-foreground"}`)} role="status">`);
|
|
4397
|
+
if (p.state === "failed") {
|
|
4398
|
+
$$renderer3.push("<!--[0-->");
|
|
4399
|
+
Circle_x($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
4400
|
+
$$renderer3.push(`<!---->${escape_html(pendingLabel(p))} <button class="ml-1 inline-flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-muted">`);
|
|
4401
|
+
Rotate_cw($$renderer3, { class: "size-3", "aria-hidden": "true" });
|
|
4402
|
+
$$renderer3.push(`<!---->Retry</button> <button class="cursor-pointer rounded px-1.5 py-0.5 text-muted-foreground hover:bg-muted">Discard</button>`);
|
|
4403
|
+
} else {
|
|
4404
|
+
$$renderer3.push("<!--[-1-->");
|
|
4405
|
+
Loader_circle($$renderer3, { class: "size-3 animate-spin", "aria-hidden": "true" });
|
|
4406
|
+
$$renderer3.push(`<!---->${escape_html(pendingLabel(p))}`);
|
|
4407
|
+
}
|
|
4408
|
+
$$renderer3.push(`<!--]--></p></div></article>`);
|
|
4409
|
+
}
|
|
4410
|
+
$$renderer3.push(`<!--]--> `);
|
|
4411
|
+
if (liveAt() === "end") {
|
|
4412
|
+
$$renderer3.push("<!--[0-->");
|
|
4413
|
+
liveEntries($$renderer3);
|
|
4414
|
+
} else {
|
|
4415
|
+
$$renderer3.push("<!--[-1-->");
|
|
4416
|
+
}
|
|
4417
|
+
$$renderer3.push(`<!--]--> `);
|
|
4418
|
+
if (picker()) {
|
|
4419
|
+
$$renderer3.push("<!--[0-->");
|
|
4420
|
+
PickerCard($$renderer3, { picker: picker() });
|
|
4421
|
+
} else if (signIn()) {
|
|
4422
|
+
$$renderer3.push("<!--[1-->");
|
|
4423
|
+
SignInCard($$renderer3, {
|
|
4424
|
+
signIn: signIn(),
|
|
4425
|
+
tool: tool()
|
|
4426
|
+
});
|
|
4427
|
+
} else if (inTerminal()) {
|
|
4428
|
+
$$renderer3.push("<!--[2-->");
|
|
4429
|
+
TerminalNotice($$renderer3, {
|
|
4430
|
+
detail: inTerminal().detail,
|
|
4431
|
+
tool: tool()
|
|
4432
|
+
});
|
|
4433
|
+
} else if (menu()) {
|
|
4434
|
+
$$renderer3.push("<!--[3-->");
|
|
4435
|
+
MenuCard($$renderer3, { menu: menu(), tool: tool() });
|
|
4436
|
+
} else if (working()) {
|
|
4437
|
+
$$renderer3.push(`<!--[4--><div class="flex gap-1 py-1" aria-label="Firstmate is working" role="status"><span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.3s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.15s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground"></span></div>`);
|
|
4438
|
+
} else {
|
|
4439
|
+
$$renderer3.push("<!--[-1-->");
|
|
4440
|
+
}
|
|
4441
|
+
$$renderer3.push(`<!--]--></div></div> `);
|
|
4442
|
+
{
|
|
4443
|
+
$$renderer3.push("<!--[-1-->");
|
|
4444
|
+
}
|
|
4445
|
+
$$renderer3.push(`<!--]--> `);
|
|
4446
|
+
{
|
|
4447
|
+
$$renderer3.push("<!--[-1-->");
|
|
4448
|
+
}
|
|
4449
|
+
$$renderer3.push(`<!--]--></div> <div class="bg-panel px-4 pb-4 sm:px-6 lg:px-10">`);
|
|
4450
|
+
if (vaultNotice) {
|
|
4451
|
+
$$renderer3.push(`<!--[0--><p class="mb-2 flex items-start gap-2 rounded-md border border-success/40 bg-success/5 px-3 py-2 text-sm" role="status" data-vault-notice=""><span class="min-w-0 flex-1">${escape_html(vaultNotice)}</span> <button class="-my-0.5 shrink-0 cursor-pointer rounded p-0.5 text-muted-foreground hover:text-foreground" aria-label="Dismiss">`);
|
|
4452
|
+
X($$renderer3, { class: "size-4" });
|
|
4453
|
+
$$renderer3.push(`<!----></button></p>`);
|
|
4454
|
+
} else {
|
|
4455
|
+
$$renderer3.push("<!--[-1-->");
|
|
4456
|
+
}
|
|
4457
|
+
$$renderer3.push(`<!--]--> `);
|
|
4458
|
+
if (liveEnabled() && liveCall.on) {
|
|
4459
|
+
$$renderer3.push("<!--[0-->");
|
|
4460
|
+
LiveComposer($$renderer3);
|
|
4461
|
+
} else {
|
|
4462
|
+
$$renderer3.push("<!--[-1-->");
|
|
4463
|
+
Composer($$renderer3, {
|
|
4464
|
+
onvault: () => addSecret(null),
|
|
4465
|
+
via: via(),
|
|
4466
|
+
reason: session()?.state === "ours" && !session().canSend ? "Open the terminal above to reconnect chat." : session()?.reason ?? null,
|
|
4467
|
+
working: working() && !waitingOnAnswer(),
|
|
4468
|
+
held: held(),
|
|
4469
|
+
commands: firstmateChat.commands,
|
|
4470
|
+
reply: replyTo,
|
|
4471
|
+
thread: sendTarget(),
|
|
4472
|
+
inline: lanesOn(),
|
|
4473
|
+
threads: moveTo().filter((t) => t.topic !== UNSORTED)
|
|
4474
|
+
});
|
|
4475
|
+
}
|
|
4476
|
+
$$renderer3.push(`<!--]--></div> `);
|
|
4477
|
+
VaultAdd($$renderer3, {
|
|
4478
|
+
ask: vaultAsk,
|
|
4479
|
+
projects: projects.map((p) => p.id),
|
|
4480
|
+
token,
|
|
4481
|
+
onstored: secretStored,
|
|
4482
|
+
get open() {
|
|
4483
|
+
return vaultOpen;
|
|
4484
|
+
},
|
|
4485
|
+
set open($$value) {
|
|
4486
|
+
vaultOpen = $$value;
|
|
4487
|
+
$$settled = false;
|
|
4488
|
+
}
|
|
4489
|
+
});
|
|
4490
|
+
$$renderer3.push(`<!----> `);
|
|
4491
|
+
{
|
|
4492
|
+
$$renderer3.push("<!--[-1-->");
|
|
4493
|
+
}
|
|
4494
|
+
$$renderer3.push(`<!--]--></section>`);
|
|
4495
|
+
}
|
|
4496
|
+
do {
|
|
4497
|
+
$$settled = true;
|
|
4498
|
+
$$inner_renderer = $$renderer2.copy();
|
|
4499
|
+
$$render_inner($$inner_renderer);
|
|
4500
|
+
} while (!$$settled);
|
|
4501
|
+
$$renderer2.subsume($$inner_renderer);
|
|
4502
|
+
});
|
|
4503
|
+
}
|
|
4504
|
+
const RAIL_SIDE_KEY = "wheelhouse-ondeck-side";
|
|
4505
|
+
function parseRailSide(raw) {
|
|
4506
|
+
return raw === "right" ? "right" : "left";
|
|
4507
|
+
}
|
|
4508
|
+
class HomeLayout {
|
|
4509
|
+
side = "left";
|
|
4510
|
+
load() {
|
|
4511
|
+
try {
|
|
4512
|
+
this.side = parseRailSide(localStorage.getItem(RAIL_SIDE_KEY));
|
|
4513
|
+
} catch {
|
|
4514
|
+
}
|
|
4515
|
+
}
|
|
4516
|
+
swap() {
|
|
4517
|
+
this.side = this.side === "left" ? "right" : "left";
|
|
4518
|
+
try {
|
|
4519
|
+
localStorage.setItem(RAIL_SIDE_KEY, this.side);
|
|
4520
|
+
} catch {
|
|
4521
|
+
}
|
|
4522
|
+
}
|
|
4523
|
+
}
|
|
4524
|
+
const homeLayout = new HomeLayout();
|
|
4525
|
+
function _page($$renderer, $$props) {
|
|
4526
|
+
$$renderer.component(($$renderer2) => {
|
|
4527
|
+
let { data } = $$props;
|
|
4528
|
+
const fleet = derived(currentFleet);
|
|
4529
|
+
const scope = derived(() => page.url.searchParams.get("project"));
|
|
4530
|
+
const thread = derived(() => page.url.searchParams.get("thread") ?? scope());
|
|
4531
|
+
function pickThread(topic) {
|
|
4532
|
+
const project = topic && fleet()?.projects.some((p) => p.id === topic);
|
|
4533
|
+
const q = !topic ? "" : project ? `?project=${encodeURIComponent(topic)}` : `?thread=${encodeURIComponent(topic)}`;
|
|
4534
|
+
void goto(`/${q}`, {});
|
|
4535
|
+
}
|
|
4536
|
+
const tasks = derived(() => (fleet()?.tasks ?? []).filter((t) => !scope() || t.projectId === scope()));
|
|
4537
|
+
const h = derived(() => harbour(tasks(), live.now));
|
|
4538
|
+
const waiting = derived(() => h().needsYou.length + h().stepFailed.length);
|
|
4539
|
+
const pluginEntries = derived(() => slots.entries(slotKey.fleet, data.slots, data.slotsAt));
|
|
4540
|
+
const cards = derived(() => pluginEntries().filter((e) => e.slot === "home.card"));
|
|
4541
|
+
const insights = derived(() => railInsights.value ?? data.insights);
|
|
4542
|
+
let railOpen = true;
|
|
4543
|
+
head("1uha8ag", $$renderer2, ($$renderer3) => {
|
|
4544
|
+
$$renderer3.title(($$renderer4) => {
|
|
4545
|
+
$$renderer4.push(`<title>Firstmate · Wheelhouse</title>`);
|
|
4546
|
+
});
|
|
4547
|
+
});
|
|
4548
|
+
$$renderer2.push(`<main${attr_class(`flex min-h-0 flex-1 ${homeLayout.side === "left" ? "flex-row-reverse" : ""}`)}>`);
|
|
4549
|
+
Chat($$renderer2, {
|
|
4550
|
+
token: data.sessionToken,
|
|
4551
|
+
railOpen,
|
|
4552
|
+
waiting: waiting(),
|
|
4553
|
+
now: live.now,
|
|
4554
|
+
pluginEntries: pluginEntries(),
|
|
4555
|
+
tasks: fleet()?.tasks ?? [],
|
|
4556
|
+
projects: fleet()?.projects ?? [],
|
|
4557
|
+
railSide: homeLayout.side,
|
|
4558
|
+
thread: thread(),
|
|
4559
|
+
onPickThread: pickThread,
|
|
4560
|
+
onSwapRail: () => homeLayout.swap()
|
|
4561
|
+
});
|
|
4562
|
+
$$renderer2.push(`<!----> `);
|
|
4563
|
+
{
|
|
4564
|
+
$$renderer2.push("<!--[0-->");
|
|
4565
|
+
ResizableRail($$renderer2, {
|
|
4566
|
+
storageKey: "wheelhouse-rail-width",
|
|
4567
|
+
label: "Resize the rail",
|
|
4568
|
+
defaultWidth: 460,
|
|
4569
|
+
side: homeLayout.side,
|
|
4570
|
+
class: "bg-panel",
|
|
4571
|
+
children: ($$renderer3) => {
|
|
4572
|
+
Rail($$renderer3, {
|
|
4573
|
+
tasks: tasks(),
|
|
4574
|
+
projects: fleet()?.projects ?? [],
|
|
4575
|
+
secondMates: fleet()?.secondMates ?? [],
|
|
4576
|
+
now: live.now,
|
|
4577
|
+
insights: insights(),
|
|
4578
|
+
scope: scope(),
|
|
4579
|
+
cards: cards()
|
|
4580
|
+
});
|
|
4581
|
+
}
|
|
4582
|
+
});
|
|
4583
|
+
}
|
|
4584
|
+
$$renderer2.push(`<!--]--></main> `);
|
|
4585
|
+
{
|
|
4586
|
+
$$renderer2.push("<!--[-1-->");
|
|
4587
|
+
}
|
|
4588
|
+
$$renderer2.push(`<!--]-->`);
|
|
4589
|
+
});
|
|
4590
|
+
}
|
|
4591
|
+
|
|
4592
|
+
export { _page as default };
|
|
4593
|
+
//# sourceMappingURL=_page.svelte.js-Cecb4tbT.js.map
|