@chrisjowen/wheelhouse 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +75 -54
- package/build/client/_app/immutable/chunks/{DPTtvukI.js → B1bNvkZf.js} +1 -1
- package/build/client/_app/immutable/chunks/B1bNvkZf.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1bNvkZf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CHoQMvOZ.js → BORDV711.js} +1 -1
- package/build/client/_app/immutable/chunks/BORDV711.js.br +0 -0
- package/build/client/_app/immutable/chunks/BORDV711.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BZm5e4fE.js → BWJa0dU7.js} +1 -1
- package/build/client/_app/immutable/chunks/BWJa0dU7.js.br +0 -0
- package/build/client/_app/immutable/chunks/BWJa0dU7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CewXGI4o.js → CIfcjhKg.js} +1 -1
- package/build/client/_app/immutable/chunks/CIfcjhKg.js.br +0 -0
- package/build/client/_app/immutable/chunks/CIfcjhKg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DmcreR7o.js → CKhg4Tm6.js} +1 -1
- package/build/client/_app/immutable/chunks/CKhg4Tm6.js.br +0 -0
- package/build/client/_app/immutable/chunks/CKhg4Tm6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Ewrw42Vq.js → CdOazBBu.js} +1 -1
- package/build/client/_app/immutable/chunks/CdOazBBu.js.br +0 -0
- package/build/client/_app/immutable/chunks/CdOazBBu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BAurN1n6.js → _7N5fmOy.js} +2 -2
- package/build/client/_app/immutable/chunks/_7N5fmOy.js.br +0 -0
- package/build/client/_app/immutable/chunks/_7N5fmOy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D8Hx-_mj.js → euRlC7pA.js} +1 -1
- package/build/client/_app/immutable/chunks/euRlC7pA.js.br +1 -0
- package/build/client/_app/immutable/chunks/euRlC7pA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{bvY4yrzM.js → hBAvbyDe.js} +1 -1
- package/build/client/_app/immutable/chunks/hBAvbyDe.js.br +0 -0
- package/build/client/_app/immutable/chunks/hBAvbyDe.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.D22_AlD8.js → app.Dzyng0dn.js} +2 -2
- package/build/client/_app/immutable/entry/app.Dzyng0dn.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Dzyng0dn.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.9fa7Jj4n.js +1 -0
- package/build/client/_app/immutable/entry/start.9fa7Jj4n.js.br +0 -0
- package/build/client/_app/immutable/entry/start.9fa7Jj4n.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{0.DsfUbybd.js → 0.CaNaBMzB.js} +1 -1
- package/build/client/_app/immutable/nodes/0.CaNaBMzB.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CaNaBMzB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.9tnApS8T.js → 1.BCMmEnhe.js} +1 -1
- package/build/client/_app/immutable/nodes/1.BCMmEnhe.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BCMmEnhe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{10.CbyVViLq.js → 10.BO2VoEpn.js} +1 -1
- package/build/client/_app/immutable/nodes/10.BO2VoEpn.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.BO2VoEpn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{11.xg5UTCOx.js → 11.BOR5Lt2T.js} +1 -1
- package/build/client/_app/immutable/nodes/11.BOR5Lt2T.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.BOR5Lt2T.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{12.C6hLGaov.js → 12.BGnaA6g1.js} +1 -1
- package/build/client/_app/immutable/nodes/12.BGnaA6g1.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.BGnaA6g1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{13.DHbTeLkm.js → 13.BMHoWbLt.js} +1 -1
- package/build/client/_app/immutable/nodes/13.BMHoWbLt.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.BMHoWbLt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{15.DYSMqa5A.js → 15.BDQ6GGok.js} +1 -1
- package/build/client/_app/immutable/nodes/15.BDQ6GGok.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.BDQ6GGok.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{16.B0mX0t_j.js → 16.BYZHF6Y1.js} +1 -1
- package/build/client/_app/immutable/nodes/16.BYZHF6Y1.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.BYZHF6Y1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.CSYV0jmk.js → 2.DmiGTHZF.js} +1 -1
- package/build/client/_app/immutable/nodes/2.DmiGTHZF.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DmiGTHZF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.X5qqsIUa.js → 3.qyqfVtUJ.js} +1 -1
- package/build/client/_app/immutable/nodes/3.qyqfVtUJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.qyqfVtUJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.Di4k8SR2.js → 4.DMxs5dS-.js} +1 -1
- package/build/client/_app/immutable/nodes/4.DMxs5dS-.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.DMxs5dS-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{5.DMFYTxVa.js → 5.pFV6qgYd.js} +1 -1
- package/build/client/_app/immutable/nodes/5.pFV6qgYd.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.pFV6qgYd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.6yDAURLV.js → 6.DKZQPZQe.js} +1 -1
- package/build/client/_app/immutable/nodes/6.DKZQPZQe.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DKZQPZQe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.xxvMU05c.js → 7.DmCbsQpY.js} +1 -1
- package/build/client/_app/immutable/nodes/7.DmCbsQpY.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.DmCbsQpY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{8.GSaWotW8.js → 8.C5_-lQ12.js} +1 -1
- package/build/client/_app/immutable/nodes/8.C5_-lQ12.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.C5_-lQ12.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.CEiUwDDg.js → 9.DdS_3rh5.js} +1 -1
- package/build/client/_app/immutable/nodes/9.DdS_3rh5.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DdS_3rh5.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/{access.js-CS2pJasF.js → access.js-XFAczbHS.js} +2 -2
- package/build/server/chunks/chunks/{detail.js-CSjOmiVi.js → detail.js-COMRu1TY.js} +2 -2
- package/build/server/chunks/chunks/{http2.js-Cr9xuMRL.js → http2.js-BO84xGO4.js} +2 -2
- package/build/server/chunks/chunks/{internal.js-Co-6PAQm.js → internal.js-C_uDXIpd.js} +3 -3
- package/build/server/chunks/chunks/{runtime.js-C0n924wq.js → runtime.js-fVZqJsqU.js} +2 -2
- package/build/server/chunks/chunks/{view.js-BtcLmKUY.js → view.js-tvgxW0fE.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/events/{_server.ts.js-DNHG661Q.js → _server.ts.js-gil57_h5.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/{_server.ts.js-XBUQePMq.js → _server.ts.js-CWFdWS2r.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/{_server.ts.js-D1tzpRWy.js → _server.ts.js-0h1duDYU.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/input/{_server.ts.js-DqhQUZUA.js → _server.ts.js-DUtAFI8B.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/{_server.ts.js-LsZer0Bi.js → _server.ts.js-BVjvk1Kr.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/{_server.ts.js-DQob0XkJ.js → _server.ts.js-CZKuOhTq.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/{_server.ts.js-DgFjtYYL.js → _server.ts.js-DbYNDgMY.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/firstmate/start/{_server.ts.js-DOoA4rRW.js → _server.ts.js-Dez_V83F.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/fleet/{_server.ts.js-DZQsFY87.js → _server.ts.js-XScFl7NC.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-DuSzTlq5.js → _server.ts.js-BOvoz2OJ.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/inbox/{_server.ts.js-C15XwPXH.js → _server.ts.js-DuUHrmV4.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/insights/{_server.ts.js--gavJO4f.js → _server.ts.js-P-j2jdcu.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/{_server.ts.js-CsTy_jT6.js → _server.ts.js-BuaL2gbp.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/{_server.ts.js-BWOcGtOU.js → _server.ts.js-Dwoaon5p.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/{_server.ts.js-Kjwbc2wm.js → _server.ts.js-CpRObQnb.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/{_server.ts.js-BTIb8CUb.js → _server.ts.js-Dml05WPU.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/{_server.ts.js-Vh52yDJ9.js → _server.ts.js-rp9RtX4F.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/{_server.ts.js-LJDJLrpB.js → _server.ts.js-DLdJWcj-.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/{_server.ts.js-CdDBYH6K.js → _server.ts.js-Co_h1q_m.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/services/{_server.ts.js-DoElFmWK.js → _server.ts.js-SRzfx-2h.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/slots/{_server.ts.js-KiiPnPLF.js → _server.ts.js-lFuRL8QC.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/specs/_id_/{_server.ts.js-LMXTPr04.js → _server.ts.js-D-QFRPpb.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/specs/_id_/build-request/{_server.ts.js-bqjJGIjt.js → _server.ts.js-CEZLC3cJ.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/specs/_id_/comments/_comment_/{_server.ts.js-DD1qQE9w.js → _server.ts.js-BHNzMZ7H.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/specs/_id_/comments/{_server.ts.js-Bby1xkpH.js → _server.ts.js-DHMiene7.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/specs/_id_/images/_name_/{_server.ts.js-CPX8OLQa.js → _server.ts.js-BxmqxnuG.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/specs/_id_/images/{_server.ts.js-BjBV4SVl.js → _server.ts.js-CvRTk1JX.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/specs/_id_/sent/{_server.ts.js-BAqm0IW0.js → _server.ts.js-VHXvHVC9.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/specs/_id_/turn/{_server.ts.js-CNFIHA70.js → _server.ts.js-BjbvOskQ.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/specs/{_server.ts.js-Bix9PKKr.js → _server.ts.js-CUNgX4FQ.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/{_server.ts.js-CT7cLDQU.js → _server.ts.js-CTJxYuKH.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/{_server.ts.js-zCsm8UJT.js → _server.ts.js-BsDmTo5q.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/{_server.ts.js-ccyEPbua.js → _server.ts.js-DmDd31bm.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/{_server.ts.js-eZPQtK6T.js → _server.ts.js-xNagO0jC.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/{_server.ts.js-CW76hSLW.js → _server.ts.js-fNh7CbDX.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/{_server.ts.js-Cjuig1dr.js → _server.ts.js-DL1M1PqI.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/ask/{_server.ts.js-C04r1OFS.js → _server.ts.js-G8t4mipV.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/check/{_server.ts.js-Ca5VNJtJ.js → _server.ts.js-B0ymV1Pa.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/guide/{_server.ts.js-BKLIKSUM.js → _server.ts.js-Bi08FNu1.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/runs/_run_/stop/{_server.ts.js-C-D9zXgK.js → _server.ts.js-C_TftzeG.js} +2 -2
- package/build/server/chunks/entries/{hooks.server.js-Cgq1_RNe.js → hooks.server.js-IwCMs7or.js} +2 -2
- package/build/server/chunks/entries/pages/{_layout.server.ts.js-B7EWMhm1.js → _layout.server.ts.js-DQI-pH0T.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.server.ts.js-CrjekE3C.js → _page.server.ts.js-PgqrVobO.js} +2 -2
- package/build/server/chunks/entries/pages/decisions/{_page.server.ts.js-Olm_zS-k.js → _page.server.ts.js-SL6FScVj.js} +2 -2
- package/build/server/chunks/entries/pages/harbour/{_page.server.ts.js-CVhhNUGy.js → _page.server.ts.js-DIvSuIkZ.js} +2 -2
- package/build/server/chunks/entries/pages/headroom/{_page.server.ts.js-Bv8GukD1.js → _page.server.ts.js-CGLa7Yrr.js} +2 -2
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.server.ts.js-BJRmRxez.js → _page.server.ts.js-BoG4CT_l.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.server.ts.js-DawJ61h-.js → _page.server.ts.js-BVTs44zi.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/passage/{_page.server.ts.js-Cm-4qkeb.js → _page.server.ts.js-CER4deq2.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/{_page.server.ts.js-DWNW8L5o.js → _page.server.ts.js-DiCdDip4.js} +2 -2
- package/build/server/chunks/entries/pages/projects/{_page.server.ts.js-BVDM5Frg.js → _page.server.ts.js-BH_VcZlY.js} +2 -2
- package/build/server/chunks/entries/pages/spec/{_page.server.ts.js-B3atEUDm.js → _page.server.ts.js-CTzZ3jGx.js} +2 -2
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.server.ts.js-BDQIO7Ft.js → _page.server.ts.js-YgQ9nhRn.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/doc/{_page.server.ts.js-Bw-3fcQ6.js → _page.server.ts.js-DdBsWj8_.js} +2 -2
- package/build/server/chunks/entries/pages/tasks/_id_/review/{_page.server.ts.js-CJek9uLa.js → _page.server.ts.js-DY0lh_8-.js} +2 -2
- package/build/server/chunks/entries/pages/time/{_page.server.ts.js-An6F-Ydg.js → _page.server.ts.js-kriWArLo.js} +2 -2
- package/build/server/chunks/{handler-BnRz5A8m.js → handler-BZ-YqSXJ.js} +3 -3
- package/build/server/chunks/{index.js-C8djlQGs.js → index.js-CmcXVwBU.js} +2 -2
- package/build/server/chunks/{manifest.js-YAglwkb0.js → manifest.js-DqwS7AJB.js} +59 -59
- package/build/server/chunks/nodes/{0.js-lkzICUiD.js → 0.js-DS2IDkUW.js} +4 -4
- package/build/server/chunks/nodes/{1.js-BJHI215Q.js → 1.js-_0OBbjVP.js} +2 -2
- package/build/server/chunks/nodes/{10.js-BWB-fD67.js → 10.js-CMSpRrcc.js} +5 -5
- package/build/server/chunks/nodes/{11.js-DWkXu85W.js → 11.js-D1M01GlQ.js} +5 -5
- package/build/server/chunks/nodes/{12.js-CKTx5eRx.js → 12.js-DaC2vk2U.js} +5 -5
- package/build/server/chunks/nodes/{13.js-C9YUj8Wf.js → 13.js-BSWYX8Ak.js} +5 -5
- package/build/server/chunks/nodes/{14.js-CvfRHrCy.js → 14.js-CY9oBxXM.js} +4 -4
- package/build/server/chunks/nodes/{15.js-D_eEoMQb.js → 15.js-Bg9hD2dR.js} +5 -5
- package/build/server/chunks/nodes/{16.js-BQhgpvij.js → 16.js-qlcIEvV6.js} +4 -4
- package/build/server/chunks/nodes/{2.js-C-3t-e-a.js → 2.js-CW_-me_g.js} +4 -4
- package/build/server/chunks/nodes/{3.js-DgwKYi6C.js → 3.js-CUCcQUgI.js} +4 -4
- package/build/server/chunks/nodes/{4.js-DRDQ1cZ6.js → 4.js-CSYxmBts.js} +4 -4
- package/build/server/chunks/nodes/{5.js-Bn5aoN6C.js → 5.js-CHwpTnZj.js} +4 -4
- package/build/server/chunks/nodes/{6.js-lazTWxVv.js → 6.js-XHZwJGEg.js} +2 -2
- package/build/server/chunks/nodes/{7.js-PUjlFfxr.js → 7.js-DK_vuZQs.js} +4 -4
- package/build/server/chunks/nodes/{8.js-DYPhaWV-.js → 8.js-Crd93Nlx.js} +4 -4
- package/build/server/chunks/nodes/{9.js-C2q_Jaiu.js → 9.js-CWqhWBb9.js} +4 -4
- package/dist/cli.js +1 -1
- package/package.json +1 -1
- package/build/client/_app/immutable/chunks/BAurN1n6.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAurN1n6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BZm5e4fE.js.br +0 -0
- package/build/client/_app/immutable/chunks/BZm5e4fE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CHoQMvOZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/CHoQMvOZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CewXGI4o.js.br +0 -0
- package/build/client/_app/immutable/chunks/CewXGI4o.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8Hx-_mj.js.br +0 -3
- package/build/client/_app/immutable/chunks/D8Hx-_mj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DPTtvukI.js.br +0 -0
- package/build/client/_app/immutable/chunks/DPTtvukI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DmcreR7o.js.br +0 -0
- package/build/client/_app/immutable/chunks/DmcreR7o.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ewrw42Vq.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ewrw42Vq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/bvY4yrzM.js.br +0 -0
- package/build/client/_app/immutable/chunks/bvY4yrzM.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.D22_AlD8.js.br +0 -0
- package/build/client/_app/immutable/entry/app.D22_AlD8.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.xwa7znED.js +0 -1
- package/build/client/_app/immutable/entry/start.xwa7znED.js.br +0 -0
- package/build/client/_app/immutable/entry/start.xwa7znED.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DsfUbybd.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DsfUbybd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.9tnApS8T.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.9tnApS8T.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.CbyVViLq.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.CbyVViLq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.xg5UTCOx.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.xg5UTCOx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.C6hLGaov.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.C6hLGaov.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.DHbTeLkm.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.DHbTeLkm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.DYSMqa5A.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.DYSMqa5A.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.B0mX0t_j.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.B0mX0t_j.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CSYV0jmk.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CSYV0jmk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.X5qqsIUa.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.X5qqsIUa.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.Di4k8SR2.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.Di4k8SR2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DMFYTxVa.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DMFYTxVa.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.6yDAURLV.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.6yDAURLV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.xxvMU05c.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.xxvMU05c.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.GSaWotW8.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.GSaWotW8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.CEiUwDDg.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.CEiUwDDg.js.gz +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{s as mt}from"./BGINfGsV.js";import{H as M,N as H,r as me,n as N,i as je,b as T,s as $,a as Se,f as et,g as Ie,c as oe,d as be,S as Oe,P as tt,p as I,e as gt,h as yt,o as Ne,u as
|
|
2
|
-
`)){const r=t.trim();r&&(yield JSON.parse(r))}}const{onMount:cr}=mt,lr=St??(e=>e()),fr=new Set(["icon","shortcut icon","apple-touch-icon"]);let X=null;const D=at(nt)??{},Z=at(rt)??{},x={url:Ge({}),page:Ge({}),navigating:vt(null),updated:wt()};function Me(e){D[e]=$()}function ur(e,t){let r=e+1;for(;D[r];)delete D[r],r+=1;for(r=t+1;Z[r];)delete Z[r],r+=1}function Y(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(N)}async function st(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}let Be,Pe,ce,O,Le,E;const le=[],fe=[];let L=null;function Q(){L?.fork?.then(e=>e?.discard()),L=null,V={element:void 0,href:void 0}}const ae=new Map,$e=new Set,dr=new Set,W=new Set;let g={branch:[],error:null,url:null,nav:null},Fe=!1,ue=!1,We=!0,ee=!1,z=!1,it=!1,re=!1,ge,k,R,U;const J=new Set;let Ae;const de=new Map,pe=new Map;async function Ur(e,t,r){if(globalThis.__sveltekit_7ppixp.data){const{q:a={},p:o={},l:s={},f:c={}}=globalThis.__sveltekit_7ppixp.data;for(const f in a)a[f];for(const f in s)s[f];for(const f in c)c[f];for(const f in o)o[f]}document.URL!==location.href&&(location.href=location.href),E=e,await e.hooks.init?.(),Be=jt(e),O=document.documentElement,Le=t,Pe=e.nodes[0],ce=e.nodes[1],Pe(),ce(),k=history.state?.[M],R=history.state?.[H],k||(k=R=Date.now(),history.replaceState({...history.state,[M]:k,[H]:R},""));const n=D[k];function i(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}r?(i(),await kr(Le,r)):(await q({type:"enter",url:me(E.hash?Rr(new URL(location.href)):location.href),replace_state:!0}),i()),Ar()}async function pr(e=!0,t=!0){if(await(Ae||=Promise.resolve()),!Ae)return;Ae=null;const r=U={},n=await ne(g.url,!0);Q();const i=new Map;if(re){for(const o of de.values())for(const{resource:s}of o.values())s.refresh();for(const[o,s]of pe)for(const[c,{resource:f}]of s){const l=F(o,c),d=f.reconnect();d.catch(N),i.set(l,d)}}if(e){const o=I.state,s=n&&await Ye(n);if(!s||r!==U)return;if(s.type==="redirect")return Ve(new URL(s.location,g.url).href,{replaceState:!0},1,r);t||(s.props.page.state=o),xe(s.props.page),g={...s.state,nav:g.nav},Te(),ge.$set(s.props)}else Te();const a=[];for(const o of de.values())for(const{resource:s}of o.values())a.push(s);for(const[o,s]of pe)for(const c of s.keys()){const f=F(o,c),l=i.get(f);l&&a.push(l)}await Promise.all(a).catch(N)}function Te(){le.length=0,re=!1}function ct(e){fe.some(t=>t?.snapshot)&&(Z[e]=fe.map(t=>t?.snapshot?.capture()))}function lt(e){Z[e]?.forEach((t,r)=>{fe[r]?.snapshot?.restore(t)})}function Je(){Me(k),Xe(nt,D),ct(R),Xe(rt,Z)}async function Ve(e,t,r,n){let i,a;t.invalidateAll&&Q(),await q({type:"goto",url:me(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:r,nav_token:n,accept:()=>{if(t.invalidateAll){re=!0,i=new Set;for(const[o,s]of de)for(const[c,f]of s)f.resource?.reset(),i.add(F(o,c));a=new Set;for(const[o,s]of pe)for(const c of s.keys())a.add(F(o,c))}t.invalidate&&t.invalidate.forEach(Er)}}),t.invalidateAll&&se().then(se).then(()=>{for(const[o,s]of de)for(const[c,{resource:f}]of s)i?.has(F(o,c))&&f.start();for(const[o,s]of pe)for(const[c,{resource:f}]of s)a?.has(F(o,c))&&f.reconnect()})}async function hr(e){if(e.id!==L?.id){Q();const t={};J.add(t),L={id:e.id,token:t,promise:Ye({...e,preload:t}).then(r=>(J.delete(t),r.type==="loaded"&&r.state.error&&Q(),r)),fork:null}}return L.promise}async function ke(e){const t=(await ne(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(r=>r[1]()))}async function ft(e,t,r){const n={params:g.params,route:{id:g.route?.id??null},url:new URL(location.href)};if(g={...e.state,nav:n},xe(e.props.page),ge=new E.root({target:t,props:{...e.props,stores:x,components:fe},hydrate:r,sync:!1,transformError:void 0}),await Promise.resolve(),r){const i={from:null,to:{...n,scroll:D[k]??$()},willUnload:!1,type:"enter",complete:Promise.resolve()};W.forEach(a=>a(i))}lt(R),ue=!0}async function he({url:e,params:t,branch:r,errors:n,status:i,error:a,route:o,form:s}){let c="never";if(T&&(e.pathname===T||e.pathname===T+"/"))c="always";else for(const p of r)p?.slash!==void 0&&(c=p.slash);e.pathname=yt(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:r,error:a,route:o},props:{constructors:Qt(r).map(p=>p.node.component),page:we(I)}};s!==void 0&&(f.props.form=s);let l={},d=!I,h=0;for(let p=0;p<Math.max(r.length,g.branch.length);p+=1){const w=r[p],_=g.branch[p];w?.data!==_?.data&&(d=!0),w&&(l={...l,...w.data},d&&(f.props[`data_${h}`]=l),h+=1)}return(!g.url||e.href!==g.url.href||g.error!==a||s!==void 0&&s!==I.form||d)&&(f.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:i,url:new URL(e),form:s??null,data:d?l:I.data}),f}async function qe({loader:e,parent:t,url:r,params:n,route:i,server_data_node:a}){let o=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:a,universal:c.universal?.load?{type:"data",data:o,uses:s}:null,data:o??a?.data??null,slash:c.universal?.trailingSlash??a?.slash}}function _r(e,t,r){let n=e instanceof Request?e.url:e;const i=new URL(n,r);i.origin===r.origin&&(n=i.href.slice(r.origin.length));const a=ue?Et(n,i.href,t):At(n,t);return{resolved:i,promise:a}}function Ze(e,t,r,n,i,a){if(re)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&r)return!0;for(const o of i.search_params)if(n.has(o))return!0;for(const o of i.params)if(a[o]!==g.params[o])return!0;for(const o of i.dependencies)if(le.some(s=>s(new URL(o))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function mr(e,t){if(!e)return new Set(t.searchParams.keys());const r=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const n of r){const i=e.searchParams.getAll(n),a=t.searchParams.getAll(n);i.every(o=>a.includes(o))&&a.every(o=>i.includes(o))&&r.delete(n)}return r}function Qe({error:e,url:t,route:r,params:n}){return{type:"loaded",state:{error:e,url:t,route:r,params:n,branch:[]},props:{page:we(I),constructors:[]}}}async function Ye({id:e,invalidating:t,url:r,params:n,route:i,preload:a}){if(L?.id===e)return J.delete(L.token),L.promise;const{errors:o,layouts:s,leaf:c}=i,f=[...s,c];o.forEach(y=>y?.().catch(N)),f.forEach(y=>y?.[1]().catch(N));let l=null;const d=g.url?e!==_e(g.url):!1,h=g.route?i.id!==g.route.id:!1,u=mr(g.url,r);let p=!1;{const y=f.map((v,A)=>{const S=g.branch[A],b=!!v?.[0]&&(S?.loader!==v[1]||Ze(p,h,d,u,S.server?.uses,n));return b&&(p=!0),b});if(y.some(Boolean)){try{l=await pt(r,y)}catch(v){const A=await B(v,{url:r,params:n,route:{id:e}});return a&&J.has(a)?Qe({error:A,url:r,params:n,route:i}):ye({status:ie(v),error:A,url:r,route:i})}if(l.type==="redirect")return l}}const w=l?.nodes;let _=!1;const m=f.map(async(y,v)=>{if(!y)return;const A=g.branch[v],S=w?.[v];if((!S||S.type==="skip")&&y[1]===A?.loader&&!Ze(_,h,d,u,A.universal?.uses,n))return A;if(_=!0,S?.type==="error")throw S;return qe({loader:y[1],url:r,params:n,route:i,parent:async()=>{const j={};for(let C=0;C<v;C+=1)Object.assign(j,(await m[C])?.data);return j},server_data_node:He(S===void 0&&y[0]?{type:"skip"}:S??null,y[0]?A?.server:void 0)})});for(const y of m)y.catch(N);const P=[];for(let y=0;y<f.length;y+=1)if(f[y])try{P.push(await m[y])}catch(v){if(v instanceof De)return{type:"redirect",location:v.location};if(a&&J.has(a))return Qe({error:await B(v,{params:n,url:r,route:{id:i.id}}),url:r,params:n,route:i});let A=ie(v),S;if(w?.includes(v))A=v.status??A,S=v.error;else if(v instanceof te)S=v.body;else{if(await x.updated.check())return await st(),await Y(r);S=await B(v,{params:n,url:r,route:{id:i.id}})}const b=await gr(y,P,o);return b?he({url:r,params:n,branch:P.slice(0,b.idx).concat(b.node),errors:o,status:A,error:S,route:i}):await dt(r,{id:i.id},S,A)}else P.push(void 0);return he({url:r,params:n,branch:P,errors:o,status:200,error:null,route:i,form:t?void 0:null})}async function gr(e,t,r){for(;e--;)if(r[e]){let n=e;for(;!t[n];)n-=1;try{return{idx:n+1,node:{node:await r[e](),loader:r[e],data:{},server:null,universal:null}}}catch{continue}}}async function ye({status:e,error:t,url:r,route:n}){const i={};let a=null;if(E.server_loads[0]===0)try{const s=await pt(r,[!0]);if(s.type!=="data"||s.nodes[0]&&s.nodes[0].type!=="data")throw 0;a=s.nodes[0]??null}catch(s){if(!(s instanceof te&&s.status===404)&&(r.origin!==Ne||r.pathname!==location.pathname||Fe))return await Y(r)}try{const o=await qe({loader:Pe,url:r,params:i,route:n,parent:()=>Promise.resolve({}),server_data_node:He(a)}),s={node:await ce(),loader:ce,universal:null,server:null,data:null};return he({url:r,params:i,branch:[o,s],status:e,error:t,errors:[],route:null})}catch(o){if(o instanceof De){await Ve(new URL(o.location,location.href),{},0);return}const s=await E.get_error_template(),c=await B(o,{url:r,params:i,route:n}),f=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),l=s({status:e,message:f}),d=new DOMParser().parseFromString(l,"text/html");throw document.documentElement.replaceChild(document.adoptNode(d.head),document.head),document.documentElement.replaceChild(document.adoptNode(d.body),document.body),o}}async function yr(e){const t=e.href;if(ae.has(t))return ae.get(t);let r;try{const n=(async()=>{let i=await E.hooks.reroute({url:new URL(e),fetch:async(a,o)=>_r(a,o,e).promise})??e;if(typeof i=="string"){const a=new URL(e);E.hash?a.hash=i:a.pathname=i,i=a}return i})();ae.set(t,n),r=await n}catch{ae.delete(t);return}return r}async function ne(e,t){if(e&&!je(e,T,E.hash)){const r=await yr(e);if(!r)return;const n=wr(r);for(const i of Be){const a=i.exec(n);if(a)return{id:_e(e),invalidating:t,route:i,params:gt(a),url:e}}}}function wr(e){return bt(E.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(T.length))||"/"}function _e(e){return(E.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ut({url:e,type:t,intent:r,delta:n,event:i,scroll:a}){let o=!1;const s=Ke(g,r,e,t,a??null);n!==void 0&&(s.navigation.delta=n),i!==void 0&&(s.navigation.event=i);const c={...s.navigation,cancel:()=>{o=!0,s.reject(new Error("navigation cancelled"))}};return ee||$e.forEach(f=>f(c)),o?null:s}async function q({type:e,url:t,popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o={},redirect_count:s=0,nav_token:c={},accept:f=N,block:l=N,event:d}){const h=U;U=c;const u=await ne(t,!1),p=e==="enter"?Ke(g,u,t,e):ut({url:t,type:e,delta:r?.delta,intent:u,scroll:r?.scroll,event:d});if(!p){l(),U===c&&(U=h);return}const w=k,_=R;f(),ee=!0,ue&&p.navigation.type!=="enter"&&x.navigating.set(Se.current=p.navigation);let m=u&&await Ye(u);if(!m){if(je(t,T,E.hash))return await Y(t,a);m=await dt(t,{id:null},await B(new Ce(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,a)}if(t=u?.url||t,U!==c){p.reject(new Error("navigation aborted"));return}if(!m)return;if(m.type==="redirect"){if(s<20){await q({type:e,url:new URL(m.location,t),popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o,redirect_count:s+1,nav_token:c}),p.fulfil(void 0);return}if(m=await ye({status:500,error:await B(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!m)return}else if(m.props.page.status>=400&&await x.updated.check())return await st(),await Y(t,a);if(Te(),Me(w),ct(_),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),o=r?r.state:o,!r){const b=a?0:1,j={[M]:k+=b,[H]:R+=b,[Oe]:o};(a?history.replaceState:history.pushState).call(history,j,"",t),a||ur(k,R)}const P=u&&L?.id===u.id?L.fork:null;L?.fork&&!P?Q():(L=null,V={element:void 0,href:void 0}),m.props.page.state=o;let y;if(ue){const b=(await Promise.all(Array.from(dr,K=>K(p.navigation)))).filter(K=>typeof K=="function");if(b.length>0){let K=function(){b.forEach(ve=>{W.delete(ve)})};b.push(K),b.forEach(ve=>{W.add(ve)})}const j=p.navigation.to;g={...m.state,nav:{params:j.params,route:j.route,url:j.url}},m.props.page&&(m.props.page.url=t),!n&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const C=P&&await P;C?y=C.commit():(X=null,ge.$set(m.props),X&&Object.assign(m.props.page,X),xe(m.props.page),y=kt?.()),it=!0}else await ft(m,Le,!1);const{activeElement:v}=document;if(await y,await se(),await se(),U!==c){p.reject(new Error("navigation aborted"));return}m.props.page&&X&&Object.assign(m.props.page,X);let A=null;if(We){const b=r?r.scroll:i?$():null;b?scrollTo(b.x,b.y):(A=t.hash&&document.getElementById(_t(t)))?A.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==v&&document.activeElement!==document.body;!n&&!S&&Ir(t,!A),We=!0,ee=!1,p.fulfil(void 0),p.navigation.to&&(p.navigation.to.scroll=$()),W.forEach(b=>b(p.navigation)),e==="popstate"&<(R),x.navigating.set(Se.current=null)}async function dt(e,t,r,n,i){return e.origin===Ne&&e.pathname===location.pathname&&!Fe?await ye({status:n,error:r,url:e,route:t}):await Y(e,i)}let V={element:void 0,href:void 0};function vr(){let e,t;O.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{i(s,G.hover)},20)});function r(o){o.defaultPrevented||i(o.composedPath()[0],G.tap)}O.addEventListener("mousedown",r),O.addEventListener("touchstart",r,{passive:!0});const n=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(ke(new URL(s.target.href)),n.unobserve(s.target))},{threshold:0});async function i(o,s){const c=et(o,O),f=c===V.element&&c?.href===V.href&&s>=t;if(!c||f)return;const{url:l,external:d,download:h}=Ie(c,T,E.hash);if(d||h)return;const u=oe(c),p=l&&_e(g.url)===_e(l);if(!(u.reload||p))if(s<=u.preload_data){V={element:c,href:c.href},t=G.tap;const w=await ne(l,!1);if(!w)return;hr(w)}else s<=u.preload_code&&(V={element:c,href:c.href},t=s,ke(l))}function a(){n.disconnect();for(const o of O.querySelectorAll("a")){const{url:s,external:c,download:f}=Ie(o,T,E.hash);if(c||f)continue;const l=oe(o);l.reload||(l.preload_code===G.viewport&&n.observe(o),l.preload_code===G.eager&&ke(s))}}W.add(a),a()}function B(e,t){if(e instanceof te)return e.body;const r=ie(e),n=rr(e);return E.hooks.handleError({error:e,event:t,status:r,message:n})??{message:n}}function br(e,t){cr(()=>(e.add(t),()=>{e.delete(t)}))}function jr(e){br($e,e)}function Or(e,t={}){return e=new URL(me(e)),e.origin!==Ne?Promise.reject(new Error("goto: invalid URL")):Ve(e,t,0)}function Er(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(r=>r.href===t)}}function Nr(){return re=!0,pr()}function xr(e,t){const r={[M]:k,[H]:R,[tt]:I.url.href,[Oe]:t};history.replaceState(r,"",me(e)),I.state=t,ge.$set({page:lr(()=>we(I))})}function Ar(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Je(),!ee){const n=Ke(g,void 0,null,"leave"),i={...n.navigation,cancel:()=>{r=!0,n.reject(new Error("navigation cancelled"))}};$e.forEach(a=>a(i))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Je()}),navigator.connection?.saveData||vr(),O.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=et(t.composedPath()[0],O);if(!r)return;const{url:n,external:i,target:a,download:o}=Ie(r,T,E.hash);if(!n)return;if(a==="_parent"||a==="_top"){if(window.parent!==window)return}else if(a&&a!=="_self")return;const s=oe(r);if(!(r instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||o)return;const[f,l]=(E.hash?n.hash.replace(/^#/,""):n.href).split("#"),d=f===be(location);if(i||s.reload&&(!d||!l)){ut({url:n,type:"link",event:t})?ee=!0:t.preventDefault();return}if(l!==void 0&&d){const[,h]=g.url.href.split("#");if(h===l){if(t.preventDefault(),l===""||l==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=r.ownerDocument.getElementById(decodeURIComponent(l));u&&(u.scrollIntoView(),u.focus())}return}if(z=!0,Me(k),e(n),!s.replace_state)return;z=!1}t.preventDefault(),await new Promise(h=>{requestAnimationFrame(()=>{setTimeout(h,0)}),setTimeout(h,100)}),await q({type:"link",url:n,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??n.href===location.href,event:t})}),O.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),n=t.submitter;if((n?.formTarget||r.target)==="_blank"||(n?.formMethod||r.method)!=="get")return;const o=new URL(n?.hasAttribute("formaction")&&n?.formAction||r.action);if(je(o,T,!1))return;const s=t.target,c=oe(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(s,n);o.search=new URLSearchParams(f).toString(),q({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[M]){const r=t.state[M];if(U={},r===k)return;const n=D[r],i=t.state[Oe]??{},a=new URL(t.state[tt]??location.href),o=t.state[H],s=g.url?be(location)===be(g.url):!1;if(o===R&&(it||s)){i!==I.state&&(I.state=i),e(a),D[k]=$(),n&&scrollTo(n.x,n.y),k=r;return}const f=r-k;await q({type:"popstate",url:a,popped:{state:i,scroll:n,delta:f},accept:()=>{k=r,R=o},block:()=>{history.go(-f)},nav_token:U,event:t})}else if(!z){const r=new URL(location.href);e(r),E.hash&&location.reload()}}}),addEventListener("hashchange",()=>{z&&(z=!1,history.replaceState({...history.state,[M]:++k,[H]:R},"",location.href))});for(const t of document.querySelectorAll("link"))fr.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&x.navigating.set(Se.current=null)});function e(t){g.url=I.url=t,x.page.set(we(I)),x.page.notify()}}async function kr(e,{status:t=200,error:r,node_ids:n,params:i,route:a,server_route:o,data:s,form:c}){Fe=!0;const f=new URL(location.href);let l;({params:i={},route:a={id:null}}=await ne(f,!1)||{}),l=Be.find(({id:u})=>u===a.id);let d,h=!0;try{const u=n.map(async(w,_)=>{const m=s[_];return m?.uses&&(m.uses=ht(m.uses)),qe({loader:E.nodes[w],url:f,params:i,route:a,parent:async()=>{const P={};for(let y=0;y<_;y+=1)Object.assign(P,(await u[y]).data);return P},server_data_node:He(m)})}),p=await Promise.all(u);if(l){const w=l.layouts;for(let _=0;_<w.length;_++)w[_]||p.splice(_,0,void 0)}d=await he({url:f,params:i,branch:p,status:t,error:r,errors:l?.errors,form:c,route:l??null})}catch(u){if(u instanceof De)return await Y(new URL(u.location,location.href));d=await ye({status:ie(u),error:await B(u,{url:f,params:i,route:a}),url:f,route:a}),e.textContent="",h=!1}d&&(d.props.page&&(d.props.page.state={}),await ft(d,e,h))}async function pt(e,t){const r=new URL(e);r.pathname=or(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(tr,"1"),r.searchParams.append(er,t.map(a=>a?"1":"0").join(""));const n=window.fetch,i=await n(r.href,{});if(!i.ok){let a;throw i.headers.get("content-type")?.includes("application/json")?a=await i.json():i.status===404?a="Not Found":i.status===500&&(a="Internal Error"),new te(i.status,a)}return new Promise((a,o)=>{Sr(a,i).catch(o)})}async function Sr(e,t){const r=t.body.getReader(),n=new Map;function i(a){return Zt(a,{...E.decoders,Promise:o=>new Promise((s,c)=>{n.set(o,{fulfil:s,reject:c})})})}for await(const a of ir(r)){if(a.type==="redirect")return e(a);if(a.type==="data")a.nodes?.forEach(o=>{o?.type==="data"&&(o.uses=ht(o.uses),o.data=i(o.data))}),e(a);else if(a.type==="chunk"){const{id:o,data:s,error:c}=a,f=n.get(o);n.delete(o),c?f.reject(i(c)):f.fulfil(i(s))}}}function ht(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ue=!1;function Ir(e,t=!0){const r=document.querySelector("[autofocus]");if(r)r.focus();else{const n=_t(e);if(n&&document.getElementById(n)){const{x:a,y:o}=$();setTimeout(()=>{const s=history.state;Ue=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(a,o),Ue=!1})}else{const a=document.body,o=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),o!==null?a.setAttribute("tabindex",o):a.removeAttribute("tabindex")}const i=getSelection();if(i&&i.type!=="None"){const a=[];for(let o=0;o<i.rangeCount;o+=1)a.push(i.getRangeAt(o));setTimeout(()=>{if(i.rangeCount===a.length){for(let o=0;o<i.rangeCount;o+=1){const s=a[o],c=i.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}i.removeAllRanges()}})}}}function Ke(e,t,r,n,i=null){let a,o;const s=new Promise((f,l)=>{a=f,o=l});return s.catch(N),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:$()},to:r&&{params:t?.params??null,route:{id:t?.route?.id??null},url:r,scroll:i},willUnload:!t,type:n,complete:s},fulfil:a,reject:o}}function we(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Rr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function _t(e){let t;if(E.hash){const[,,r]=e.hash.split("#",3);t=r??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{jr as b,Or as g,Nr as i,xr as r,Ur as s};
|
|
1
|
+
import{s as mt}from"./BGINfGsV.js";import{H as M,N as H,r as me,n as N,i as je,b as T,s as $,a as Se,f as et,g as Ie,c as oe,d as be,S as Oe,P as tt,p as I,e as gt,h as yt,o as Ne,u as De,j as wt,w as vt,k as Ge,l as G,m as bt,q as rt,t as Et,v as At,x as nt}from"./CdOazBBu.js";import{M as se,a5 as kt,G as St}from"./L-6wuY5f.js";const It=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,Rt=/^\/\((?:[^)]+)\)$/;function Pt(e){const t=[];return{pattern:e==="/"||Rt.test(e)?/^\/$/:new RegExp(`^${Tt(e).map(n=>{const i=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(i)return t.push({name:i[1],matcher:i[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const a=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(a)return t.push({name:a[1],matcher:a[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const o=n.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return Ee(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ee(String.fromCharCode(...c.slice(2).split("-").map(w=>parseInt(w,16))));const l=It.exec(c),[,d,p,u,h]=l;return t.push({name:u,matcher:h,optional:!!d,rest:!!p,chained:p?f===1&&o[0]==="":!1}),p?"([^]*?)":d?"([^/]*)?":"([^/]+?)"}return Ee(c)}).join("")}).join("")}/?$`),params:t}}function Lt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Tt(e){return e.slice(1).split("/").filter(Lt)}function Ut(e,t,r){const n={},i=e.slice(1),a=i.filter(s=>s!==void 0);let o=0;for(let s=0;s<t.length;s+=1){const c=t[s];let f=i[s-o];if(c.chained&&c.rest&&o&&(f=i.slice(s-o,s+1).filter(l=>l).join("/"),o=0),f===void 0)if(c.rest)f="";else continue;if(!c.matcher||r[c.matcher](f)){n[c.name]=f;const l=t[s+1],d=i[s+1];l&&!l.rest&&l.optional&&d&&c.chained&&(o=0),!l&&!d&&Object.keys(n).length===a.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return n}function Ee(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}class te{constructor(t,r){this.status=t,typeof r=="string"?this.body={message:r}:r?this.body=r:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class xe{constructor(t,r){try{new Headers({location:r})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(r)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=r}}class Ce extends Error{constructor(t,r,n){super(n),this.status=t,this.text=r}}function jt({nodes:e,server_loads:t,dictionary:r,matchers:n}){const i=new Set(t);return Object.entries(r).map(([s,[c,f,l]])=>{const{pattern:d,params:p}=Pt(s),u={id:s,exec:h=>{const w=d.exec(h);if(w)return Ut(w,p,n)},errors:[1,...l||[]].map(h=>e[h]),layouts:[0,...f||[]].map(o),leaf:a(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function o(s){return s===void 0?s:[i.has(s),e[s]]}}function at(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Xe(e,t,r=JSON.stringify){const n=r(t);try{sessionStorage[e]=n}catch{}}const Ot=-1,Nt=-2,Dt=-3,xt=-4,Ct=-5,Mt=-6,Bt=-7,ot=2**32-1,Re=ot-1;function $t(e){return!(!Number.isInteger(e)||e<0||e>Re)}function Ft(e){return!(!Number.isInteger(e)||e<0||e>ot)}function Vt(e){return Uint8Array.fromBase64(e).buffer}function qt(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Ht(e){const t=atob(e),r=t.length,n=new Uint8Array(r);for(let i=0;i<r;i++)n[i]=t.charCodeAt(i);return n.buffer}const Yt=typeof Uint8Array.fromBase64=="function",Kt=typeof process=="object"&&process.versions?.node!==void 0,Gt=Yt?Vt:Kt?qt:Ht;function Xt(e,t){return e}const zt=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,ze=typeof SharedArrayBuffer>"u"?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get,Wt={fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e==="URL"?new URL(t):e==="URLSearchParams"?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,r,n)=>{try{zt.call(t)}catch(a){if(!ze)throw a;ze.call(t)}const i=globalThis[e];return r!==void 0?new i(t,r,n):new i(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[Re]=void 0,delete t[Re],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,r)=>{e[t]=r},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,r)=>{e.set(t,r)}},Jt=Object.freeze(Wt);function Zt(e,t,r){const n=Xt(Jt);if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const i=e,a=Array(i.length);let o=null;function s(c,f=!1){if(c===Ot)return n.fromPrimitive(void 0);if(c===Dt)return n.fromPrimitive(NaN);if(c===xt)return n.fromPrimitive(1/0);if(c===Ct)return n.fromPrimitive(-1/0);if(c===Mt)return n.fromPrimitive(-0);if(f||typeof c!="number")throw new Error("Invalid input");if(c in a)return a[c];if(c>=i.length)throw new Error("Invalid input");const l=i[c];if(!l||typeof l!="object")a[c]=n.fromPrimitive(l);else if(Array.isArray(l))if(typeof l[0]=="string"){const d=l[0],p=t&&Object.hasOwn(t,d)?t[d]:void 0;if(p){let u=l[1];if(typeof u!="number"&&(u=i.push(l[1])-1),Object.hasOwn(a,u))return a[c]=p(a[u]);if(o??=new Set,o.has(u))throw new Error("Invalid circular reference");return o.add(u),a[c]=p(s(u)),o.delete(u),a[c]}switch(d){case"Date":a[c]=n.fromISOString(l[1]);break;case"Set":const u=n.createSet();a[c]=u;for(let _=1;_<l.length;_+=1)n.addValue(u,s(l[_]));break;case"Map":const h=n.createMap();a[c]=h;for(let _=1;_<l.length;_+=2)n.addEntry(h,s(l[_]),s(l[_+1]));break;case"RegExp":a[c]=n.fromRegExpInfo(l[1],l[2]);break;case"Object":{const _=l[1];if(typeof i[_]=="object"&&i[_][0]!=="BigInt")throw new Error("Invalid input");a[c]=n.box(s(_));break}case"BigInt":a[c]=n.fromPrimitive(BigInt(l[1]));break;case"null":const w=n.createNullPrototypeObject();a[c]=w;for(let _=1;_<l.length;_+=2){const m=l[_];if(typeof m!="string")throw new Error("Cannot parse an object with a non-string key");if(m==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(w,m,s(l[_+1]))}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(i[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const _=s(l[1]);a[c]=n.fromViewInfo(d,_,l[2],l[3]);break}case"ArrayBuffer":{const _=l[1];if(typeof _!="string")throw new Error("Invalid ArrayBuffer encoding");a[c]=n.fromArrayBuffer(Gt(_));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{a[c]=n.fromStringValue(d,l[1]);break}default:throw new Error(`Unknown type ${d}`)}}else if(l[0]===Bt){const d=l[1];if(!Ft(d))throw new Error("Invalid input");const p=n.createSparseArray(d);a[c]=p;for(let u=2;u<l.length;u+=2){const h=l[u];if(!$t(h)||h>=d)throw new Error("Invalid input");n.set(p,h,s(l[u+1]))}}else{const d=n.createArray(l.length);a[c]=d;for(let p=0;p<l.length;p+=1){const u=l[p];u!==Nt&&n.set(d,p,s(u))}}else{const d=n.createObject();a[c]=d;for(const p of Object.keys(l)){if(p==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(d,p,s(l[p]))}}return a[c]}return s(0)}function Qt(e){return e.filter(t=>t!=null)}const er="x-sveltekit-invalidated",tr="x-sveltekit-trailing-slash";function F(e,t){return e+"/"+t}function ie(e){return e instanceof te||e instanceof Ce?e.status:500}function rr(e){return e instanceof Ce?e.text:"Internal Error"}const nr="/__data.json",ar=".html__data.json";function or(e){return e.endsWith(".html")?e.replace(/\.html$/,ar):e.replace(/\/$/,"")+nr}async function*sr(e,t){let r=!1,n="";const i=new TextDecoder;for(;;){let a=n.indexOf(t);for(;a!==-1;)yield n.slice(0,a),n=n.slice(a+t.length),a=n.indexOf(t);if(r){n&&(yield n);return}const o=await e.read();r=o.done,o.value&&(n+=i.decode(o.value,{stream:!0})),r&&(n+=i.decode())}}async function*ir(e){for await(const t of sr(e,`
|
|
2
|
+
`)){const r=t.trim();r&&(yield JSON.parse(r))}}const{onMount:cr}=mt,lr=St??(e=>e()),fr=new Set(["icon","shortcut icon","apple-touch-icon"]);let X=null;const x=at(nt)??{},Z=at(rt)??{},D={url:Ge({}),page:Ge({}),navigating:vt(null),updated:wt()};function Me(e){x[e]=$()}function ur(e,t){let r=e+1;for(;x[r];)delete x[r],r+=1;for(r=t+1;Z[r];)delete Z[r],r+=1}function Y(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(N)}async function st(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}let Be,Pe,ce,O,Le,E;const le=[],fe=[];let L=null;function Q(){L?.fork?.then(e=>e?.discard()),L=null,V={element:void 0,href:void 0}}const ae=new Map,$e=new Set,dr=new Set,W=new Set;let g={branch:[],error:null,url:null,nav:null},Fe=!1,ue=!1,We=!0,ee=!1,z=!1,it=!1,re=!1,ge,k,R,U;const J=new Set;let Ae;const de=new Map,he=new Map;async function Ur(e,t,r){if(globalThis.__sveltekit_69ivar.data){const{q:a={},p:o={},l:s={},f:c={}}=globalThis.__sveltekit_69ivar.data;for(const f in a)a[f];for(const f in s)s[f];for(const f in c)c[f];for(const f in o)o[f]}document.URL!==location.href&&(location.href=location.href),E=e,await e.hooks.init?.(),Be=jt(e),O=document.documentElement,Le=t,Pe=e.nodes[0],ce=e.nodes[1],Pe(),ce(),k=history.state?.[M],R=history.state?.[H],k||(k=R=Date.now(),history.replaceState({...history.state,[M]:k,[H]:R},""));const n=x[k];function i(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}r?(i(),await kr(Le,r)):(await q({type:"enter",url:me(E.hash?Rr(new URL(location.href)):location.href),replace_state:!0}),i()),Ar()}async function hr(e=!0,t=!0){if(await(Ae||=Promise.resolve()),!Ae)return;Ae=null;const r=U={},n=await ne(g.url,!0);Q();const i=new Map;if(re){for(const o of de.values())for(const{resource:s}of o.values())s.refresh();for(const[o,s]of he)for(const[c,{resource:f}]of s){const l=F(o,c),d=f.reconnect();d.catch(N),i.set(l,d)}}if(e){const o=I.state,s=n&&await Ye(n);if(!s||r!==U)return;if(s.type==="redirect")return Ve(new URL(s.location,g.url).href,{replaceState:!0},1,r);t||(s.props.page.state=o),De(s.props.page),g={...s.state,nav:g.nav},Te(),ge.$set(s.props)}else Te();const a=[];for(const o of de.values())for(const{resource:s}of o.values())a.push(s);for(const[o,s]of he)for(const c of s.keys()){const f=F(o,c),l=i.get(f);l&&a.push(l)}await Promise.all(a).catch(N)}function Te(){le.length=0,re=!1}function ct(e){fe.some(t=>t?.snapshot)&&(Z[e]=fe.map(t=>t?.snapshot?.capture()))}function lt(e){Z[e]?.forEach((t,r)=>{fe[r]?.snapshot?.restore(t)})}function Je(){Me(k),Xe(nt,x),ct(R),Xe(rt,Z)}async function Ve(e,t,r,n){let i,a;t.invalidateAll&&Q(),await q({type:"goto",url:me(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:r,nav_token:n,accept:()=>{if(t.invalidateAll){re=!0,i=new Set;for(const[o,s]of de)for(const[c,f]of s)f.resource?.reset(),i.add(F(o,c));a=new Set;for(const[o,s]of he)for(const c of s.keys())a.add(F(o,c))}t.invalidate&&t.invalidate.forEach(Er)}}),t.invalidateAll&&se().then(se).then(()=>{for(const[o,s]of de)for(const[c,{resource:f}]of s)i?.has(F(o,c))&&f.start();for(const[o,s]of he)for(const[c,{resource:f}]of s)a?.has(F(o,c))&&f.reconnect()})}async function pr(e){if(e.id!==L?.id){Q();const t={};J.add(t),L={id:e.id,token:t,promise:Ye({...e,preload:t}).then(r=>(J.delete(t),r.type==="loaded"&&r.state.error&&Q(),r)),fork:null}}return L.promise}async function ke(e){const t=(await ne(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(r=>r[1]()))}async function ft(e,t,r){const n={params:g.params,route:{id:g.route?.id??null},url:new URL(location.href)};if(g={...e.state,nav:n},De(e.props.page),ge=new E.root({target:t,props:{...e.props,stores:D,components:fe},hydrate:r,sync:!1,transformError:void 0}),await Promise.resolve(),r){const i={from:null,to:{...n,scroll:x[k]??$()},willUnload:!1,type:"enter",complete:Promise.resolve()};W.forEach(a=>a(i))}lt(R),ue=!0}async function pe({url:e,params:t,branch:r,errors:n,status:i,error:a,route:o,form:s}){let c="never";if(T&&(e.pathname===T||e.pathname===T+"/"))c="always";else for(const h of r)h?.slash!==void 0&&(c=h.slash);e.pathname=yt(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:r,error:a,route:o},props:{constructors:Qt(r).map(h=>h.node.component),page:we(I)}};s!==void 0&&(f.props.form=s);let l={},d=!I,p=0;for(let h=0;h<Math.max(r.length,g.branch.length);h+=1){const w=r[h],_=g.branch[h];w?.data!==_?.data&&(d=!0),w&&(l={...l,...w.data},d&&(f.props[`data_${p}`]=l),p+=1)}return(!g.url||e.href!==g.url.href||g.error!==a||s!==void 0&&s!==I.form||d)&&(f.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:i,url:new URL(e),form:s??null,data:d?l:I.data}),f}async function qe({loader:e,parent:t,url:r,params:n,route:i,server_data_node:a}){let o=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:a,universal:c.universal?.load?{type:"data",data:o,uses:s}:null,data:o??a?.data??null,slash:c.universal?.trailingSlash??a?.slash}}function _r(e,t,r){let n=e instanceof Request?e.url:e;const i=new URL(n,r);i.origin===r.origin&&(n=i.href.slice(r.origin.length));const a=ue?Et(n,i.href,t):At(n,t);return{resolved:i,promise:a}}function Ze(e,t,r,n,i,a){if(re)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&r)return!0;for(const o of i.search_params)if(n.has(o))return!0;for(const o of i.params)if(a[o]!==g.params[o])return!0;for(const o of i.dependencies)if(le.some(s=>s(new URL(o))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function mr(e,t){if(!e)return new Set(t.searchParams.keys());const r=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const n of r){const i=e.searchParams.getAll(n),a=t.searchParams.getAll(n);i.every(o=>a.includes(o))&&a.every(o=>i.includes(o))&&r.delete(n)}return r}function Qe({error:e,url:t,route:r,params:n}){return{type:"loaded",state:{error:e,url:t,route:r,params:n,branch:[]},props:{page:we(I),constructors:[]}}}async function Ye({id:e,invalidating:t,url:r,params:n,route:i,preload:a}){if(L?.id===e)return J.delete(L.token),L.promise;const{errors:o,layouts:s,leaf:c}=i,f=[...s,c];o.forEach(y=>y?.().catch(N)),f.forEach(y=>y?.[1]().catch(N));let l=null;const d=g.url?e!==_e(g.url):!1,p=g.route?i.id!==g.route.id:!1,u=mr(g.url,r);let h=!1;{const y=f.map((v,A)=>{const S=g.branch[A],b=!!v?.[0]&&(S?.loader!==v[1]||Ze(h,p,d,u,S.server?.uses,n));return b&&(h=!0),b});if(y.some(Boolean)){try{l=await ht(r,y)}catch(v){const A=await B(v,{url:r,params:n,route:{id:e}});return a&&J.has(a)?Qe({error:A,url:r,params:n,route:i}):ye({status:ie(v),error:A,url:r,route:i})}if(l.type==="redirect")return l}}const w=l?.nodes;let _=!1;const m=f.map(async(y,v)=>{if(!y)return;const A=g.branch[v],S=w?.[v];if((!S||S.type==="skip")&&y[1]===A?.loader&&!Ze(_,p,d,u,A.universal?.uses,n))return A;if(_=!0,S?.type==="error")throw S;return qe({loader:y[1],url:r,params:n,route:i,parent:async()=>{const j={};for(let C=0;C<v;C+=1)Object.assign(j,(await m[C])?.data);return j},server_data_node:He(S===void 0&&y[0]?{type:"skip"}:S??null,y[0]?A?.server:void 0)})});for(const y of m)y.catch(N);const P=[];for(let y=0;y<f.length;y+=1)if(f[y])try{P.push(await m[y])}catch(v){if(v instanceof xe)return{type:"redirect",location:v.location};if(a&&J.has(a))return Qe({error:await B(v,{params:n,url:r,route:{id:i.id}}),url:r,params:n,route:i});let A=ie(v),S;if(w?.includes(v))A=v.status??A,S=v.error;else if(v instanceof te)S=v.body;else{if(await D.updated.check())return await st(),await Y(r);S=await B(v,{params:n,url:r,route:{id:i.id}})}const b=await gr(y,P,o);return b?pe({url:r,params:n,branch:P.slice(0,b.idx).concat(b.node),errors:o,status:A,error:S,route:i}):await dt(r,{id:i.id},S,A)}else P.push(void 0);return pe({url:r,params:n,branch:P,errors:o,status:200,error:null,route:i,form:t?void 0:null})}async function gr(e,t,r){for(;e--;)if(r[e]){let n=e;for(;!t[n];)n-=1;try{return{idx:n+1,node:{node:await r[e](),loader:r[e],data:{},server:null,universal:null}}}catch{continue}}}async function ye({status:e,error:t,url:r,route:n}){const i={};let a=null;if(E.server_loads[0]===0)try{const s=await ht(r,[!0]);if(s.type!=="data"||s.nodes[0]&&s.nodes[0].type!=="data")throw 0;a=s.nodes[0]??null}catch(s){if(!(s instanceof te&&s.status===404)&&(r.origin!==Ne||r.pathname!==location.pathname||Fe))return await Y(r)}try{const o=await qe({loader:Pe,url:r,params:i,route:n,parent:()=>Promise.resolve({}),server_data_node:He(a)}),s={node:await ce(),loader:ce,universal:null,server:null,data:null};return pe({url:r,params:i,branch:[o,s],status:e,error:t,errors:[],route:null})}catch(o){if(o instanceof xe){await Ve(new URL(o.location,location.href),{},0);return}const s=await E.get_error_template(),c=await B(o,{url:r,params:i,route:n}),f=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),l=s({status:e,message:f}),d=new DOMParser().parseFromString(l,"text/html");throw document.documentElement.replaceChild(document.adoptNode(d.head),document.head),document.documentElement.replaceChild(document.adoptNode(d.body),document.body),o}}async function yr(e){const t=e.href;if(ae.has(t))return ae.get(t);let r;try{const n=(async()=>{let i=await E.hooks.reroute({url:new URL(e),fetch:async(a,o)=>_r(a,o,e).promise})??e;if(typeof i=="string"){const a=new URL(e);E.hash?a.hash=i:a.pathname=i,i=a}return i})();ae.set(t,n),r=await n}catch{ae.delete(t);return}return r}async function ne(e,t){if(e&&!je(e,T,E.hash)){const r=await yr(e);if(!r)return;const n=wr(r);for(const i of Be){const a=i.exec(n);if(a)return{id:_e(e),invalidating:t,route:i,params:gt(a),url:e}}}}function wr(e){return bt(E.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(T.length))||"/"}function _e(e){return(E.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ut({url:e,type:t,intent:r,delta:n,event:i,scroll:a}){let o=!1;const s=Ke(g,r,e,t,a??null);n!==void 0&&(s.navigation.delta=n),i!==void 0&&(s.navigation.event=i);const c={...s.navigation,cancel:()=>{o=!0,s.reject(new Error("navigation cancelled"))}};return ee||$e.forEach(f=>f(c)),o?null:s}async function q({type:e,url:t,popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o={},redirect_count:s=0,nav_token:c={},accept:f=N,block:l=N,event:d}){const p=U;U=c;const u=await ne(t,!1),h=e==="enter"?Ke(g,u,t,e):ut({url:t,type:e,delta:r?.delta,intent:u,scroll:r?.scroll,event:d});if(!h){l(),U===c&&(U=p);return}const w=k,_=R;f(),ee=!0,ue&&h.navigation.type!=="enter"&&D.navigating.set(Se.current=h.navigation);let m=u&&await Ye(u);if(!m){if(je(t,T,E.hash))return await Y(t,a);m=await dt(t,{id:null},await B(new Ce(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,a)}if(t=u?.url||t,U!==c){h.reject(new Error("navigation aborted"));return}if(!m)return;if(m.type==="redirect"){if(s<20){await q({type:e,url:new URL(m.location,t),popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o,redirect_count:s+1,nav_token:c}),h.fulfil(void 0);return}if(m=await ye({status:500,error:await B(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!m)return}else if(m.props.page.status>=400&&await D.updated.check())return await st(),await Y(t,a);if(Te(),Me(w),ct(_),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),o=r?r.state:o,!r){const b=a?0:1,j={[M]:k+=b,[H]:R+=b,[Oe]:o};(a?history.replaceState:history.pushState).call(history,j,"",t),a||ur(k,R)}const P=u&&L?.id===u.id?L.fork:null;L?.fork&&!P?Q():(L=null,V={element:void 0,href:void 0}),m.props.page.state=o;let y;if(ue){const b=(await Promise.all(Array.from(dr,K=>K(h.navigation)))).filter(K=>typeof K=="function");if(b.length>0){let K=function(){b.forEach(ve=>{W.delete(ve)})};b.push(K),b.forEach(ve=>{W.add(ve)})}const j=h.navigation.to;g={...m.state,nav:{params:j.params,route:j.route,url:j.url}},m.props.page&&(m.props.page.url=t),!n&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const C=P&&await P;C?y=C.commit():(X=null,ge.$set(m.props),X&&Object.assign(m.props.page,X),De(m.props.page),y=kt?.()),it=!0}else await ft(m,Le,!1);const{activeElement:v}=document;if(await y,await se(),await se(),U!==c){h.reject(new Error("navigation aborted"));return}m.props.page&&X&&Object.assign(m.props.page,X);let A=null;if(We){const b=r?r.scroll:i?$():null;b?scrollTo(b.x,b.y):(A=t.hash&&document.getElementById(_t(t)))?A.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==v&&document.activeElement!==document.body;!n&&!S&&Ir(t,!A),We=!0,ee=!1,h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=$()),W.forEach(b=>b(h.navigation)),e==="popstate"&<(R),D.navigating.set(Se.current=null)}async function dt(e,t,r,n,i){return e.origin===Ne&&e.pathname===location.pathname&&!Fe?await ye({status:n,error:r,url:e,route:t}):await Y(e,i)}let V={element:void 0,href:void 0};function vr(){let e,t;O.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{i(s,G.hover)},20)});function r(o){o.defaultPrevented||i(o.composedPath()[0],G.tap)}O.addEventListener("mousedown",r),O.addEventListener("touchstart",r,{passive:!0});const n=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(ke(new URL(s.target.href)),n.unobserve(s.target))},{threshold:0});async function i(o,s){const c=et(o,O),f=c===V.element&&c?.href===V.href&&s>=t;if(!c||f)return;const{url:l,external:d,download:p}=Ie(c,T,E.hash);if(d||p)return;const u=oe(c),h=l&&_e(g.url)===_e(l);if(!(u.reload||h))if(s<=u.preload_data){V={element:c,href:c.href},t=G.tap;const w=await ne(l,!1);if(!w)return;pr(w)}else s<=u.preload_code&&(V={element:c,href:c.href},t=s,ke(l))}function a(){n.disconnect();for(const o of O.querySelectorAll("a")){const{url:s,external:c,download:f}=Ie(o,T,E.hash);if(c||f)continue;const l=oe(o);l.reload||(l.preload_code===G.viewport&&n.observe(o),l.preload_code===G.eager&&ke(s))}}W.add(a),a()}function B(e,t){if(e instanceof te)return e.body;const r=ie(e),n=rr(e);return E.hooks.handleError({error:e,event:t,status:r,message:n})??{message:n}}function br(e,t){cr(()=>(e.add(t),()=>{e.delete(t)}))}function jr(e){br($e,e)}function Or(e,t={}){return e=new URL(me(e)),e.origin!==Ne?Promise.reject(new Error("goto: invalid URL")):Ve(e,t,0)}function Er(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(r=>r.href===t)}}function Nr(){return re=!0,hr()}function Dr(e,t){const r={[M]:k,[H]:R,[tt]:I.url.href,[Oe]:t};history.replaceState(r,"",me(e)),I.state=t,ge.$set({page:lr(()=>we(I))})}function Ar(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Je(),!ee){const n=Ke(g,void 0,null,"leave"),i={...n.navigation,cancel:()=>{r=!0,n.reject(new Error("navigation cancelled"))}};$e.forEach(a=>a(i))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Je()}),navigator.connection?.saveData||vr(),O.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=et(t.composedPath()[0],O);if(!r)return;const{url:n,external:i,target:a,download:o}=Ie(r,T,E.hash);if(!n)return;if(a==="_parent"||a==="_top"){if(window.parent!==window)return}else if(a&&a!=="_self")return;const s=oe(r);if(!(r instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||o)return;const[f,l]=(E.hash?n.hash.replace(/^#/,""):n.href).split("#"),d=f===be(location);if(i||s.reload&&(!d||!l)){ut({url:n,type:"link",event:t})?ee=!0:t.preventDefault();return}if(l!==void 0&&d){const[,p]=g.url.href.split("#");if(p===l){if(t.preventDefault(),l===""||l==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=r.ownerDocument.getElementById(decodeURIComponent(l));u&&(u.scrollIntoView(),u.focus())}return}if(z=!0,Me(k),e(n),!s.replace_state)return;z=!1}t.preventDefault(),await new Promise(p=>{requestAnimationFrame(()=>{setTimeout(p,0)}),setTimeout(p,100)}),await q({type:"link",url:n,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??n.href===location.href,event:t})}),O.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),n=t.submitter;if((n?.formTarget||r.target)==="_blank"||(n?.formMethod||r.method)!=="get")return;const o=new URL(n?.hasAttribute("formaction")&&n?.formAction||r.action);if(je(o,T,!1))return;const s=t.target,c=oe(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(s,n);o.search=new URLSearchParams(f).toString(),q({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[M]){const r=t.state[M];if(U={},r===k)return;const n=x[r],i=t.state[Oe]??{},a=new URL(t.state[tt]??location.href),o=t.state[H],s=g.url?be(location)===be(g.url):!1;if(o===R&&(it||s)){i!==I.state&&(I.state=i),e(a),x[k]=$(),n&&scrollTo(n.x,n.y),k=r;return}const f=r-k;await q({type:"popstate",url:a,popped:{state:i,scroll:n,delta:f},accept:()=>{k=r,R=o},block:()=>{history.go(-f)},nav_token:U,event:t})}else if(!z){const r=new URL(location.href);e(r),E.hash&&location.reload()}}}),addEventListener("hashchange",()=>{z&&(z=!1,history.replaceState({...history.state,[M]:++k,[H]:R},"",location.href))});for(const t of document.querySelectorAll("link"))fr.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&D.navigating.set(Se.current=null)});function e(t){g.url=I.url=t,D.page.set(we(I)),D.page.notify()}}async function kr(e,{status:t=200,error:r,node_ids:n,params:i,route:a,server_route:o,data:s,form:c}){Fe=!0;const f=new URL(location.href);let l;({params:i={},route:a={id:null}}=await ne(f,!1)||{}),l=Be.find(({id:u})=>u===a.id);let d,p=!0;try{const u=n.map(async(w,_)=>{const m=s[_];return m?.uses&&(m.uses=pt(m.uses)),qe({loader:E.nodes[w],url:f,params:i,route:a,parent:async()=>{const P={};for(let y=0;y<_;y+=1)Object.assign(P,(await u[y]).data);return P},server_data_node:He(m)})}),h=await Promise.all(u);if(l){const w=l.layouts;for(let _=0;_<w.length;_++)w[_]||h.splice(_,0,void 0)}d=await pe({url:f,params:i,branch:h,status:t,error:r,errors:l?.errors,form:c,route:l??null})}catch(u){if(u instanceof xe)return await Y(new URL(u.location,location.href));d=await ye({status:ie(u),error:await B(u,{url:f,params:i,route:a}),url:f,route:a}),e.textContent="",p=!1}d&&(d.props.page&&(d.props.page.state={}),await ft(d,e,p))}async function ht(e,t){const r=new URL(e);r.pathname=or(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(tr,"1"),r.searchParams.append(er,t.map(a=>a?"1":"0").join(""));const n=window.fetch,i=await n(r.href,{});if(!i.ok){let a;throw i.headers.get("content-type")?.includes("application/json")?a=await i.json():i.status===404?a="Not Found":i.status===500&&(a="Internal Error"),new te(i.status,a)}return new Promise((a,o)=>{Sr(a,i).catch(o)})}async function Sr(e,t){const r=t.body.getReader(),n=new Map;function i(a){return Zt(a,{...E.decoders,Promise:o=>new Promise((s,c)=>{n.set(o,{fulfil:s,reject:c})})})}for await(const a of ir(r)){if(a.type==="redirect")return e(a);if(a.type==="data")a.nodes?.forEach(o=>{o?.type==="data"&&(o.uses=pt(o.uses),o.data=i(o.data))}),e(a);else if(a.type==="chunk"){const{id:o,data:s,error:c}=a,f=n.get(o);n.delete(o),c?f.reject(i(c)):f.fulfil(i(s))}}}function pt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ue=!1;function Ir(e,t=!0){const r=document.querySelector("[autofocus]");if(r)r.focus();else{const n=_t(e);if(n&&document.getElementById(n)){const{x:a,y:o}=$();setTimeout(()=>{const s=history.state;Ue=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(a,o),Ue=!1})}else{const a=document.body,o=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),o!==null?a.setAttribute("tabindex",o):a.removeAttribute("tabindex")}const i=getSelection();if(i&&i.type!=="None"){const a=[];for(let o=0;o<i.rangeCount;o+=1)a.push(i.getRangeAt(o));setTimeout(()=>{if(i.rangeCount===a.length){for(let o=0;o<i.rangeCount;o+=1){const s=a[o],c=i.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}i.removeAllRanges()}})}}}function Ke(e,t,r,n,i=null){let a,o;const s=new Promise((f,l)=>{a=f,o=l});return s.catch(N),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:$()},to:r&&{params:t?.params??null,route:{id:t?.route?.id??null},url:r,scroll:i},willUnload:!t,type:n,complete:s},fulfil:a,reject:o}}function we(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Rr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function _t(e){let t;if(E.hash){const[,,r]=e.hash.split("#",3);t=r??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{jr as b,Or as g,Nr as i,Dr as r,Ur as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as r}from"./
|
|
1
|
+
import{p as r}from"./CdOazBBu.js";const t={get data(){return r.data},get error(){return r.error},get form(){return r.form},get params(){return r.params},get route(){return r.route},get state(){return r.state},get status(){return r.status},get url(){return r.url}},a=t;export{a as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@��8F���b �\����ptY�R�yx>yZ^�0�'�P��2�o9��O��J%o�5���̨�,1�[�d�m<�5���/��\���|n����4֬1�dfB�Hng����Z!+Bx�\�{¾��Z5,�G*�D�v�%
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{s as be,r as _e,p as ae,i as R}from"./COiIt96y.js";import{I as we}from"./CQlHU-Rx.js";import{k as de,p as ce,N as q,h as e,G as ke,i as E,m as k,r as g,t as S,a7 as ve,a as c,b as ue,e as O,q as se,s as m,o as I,d as C,n as ee,c as b,v as ne,f as te,aO as Le,bB as Oe,w as Ie,x as pe,y as Ne}from"./L-6wuY5f.js";import{s as L,b as ye,a as ie,e as Pe}from"./DGy76IbW.js";import{b as fe}from"./Da92_52d.js";import{c as me,m as Re,a as Ae}from"./DKQe4Tss.js";import{e as Fe,l as he,a as xe,M as Ee,R as He}from"./BEAYWcbT.js";import{b as ge}from"./
|
|
1
|
+
import"./DsnmJJEf.js";import{s as be,r as _e,p as ae,i as R}from"./COiIt96y.js";import{I as we}from"./CQlHU-Rx.js";import{k as de,p as ce,N as q,h as e,G as ke,i as E,m as k,r as g,t as S,a7 as ve,a as c,b as ue,e as O,q as se,s as m,o as I,d as C,n as ee,c as b,v as ne,f as te,aO as Le,bB as Oe,w as Ie,x as pe,y as Ne}from"./L-6wuY5f.js";import{s as L,b as ye,a as ie,e as Pe}from"./DGy76IbW.js";import{b as fe}from"./Da92_52d.js";import{c as me,m as Re,a as Ae}from"./DKQe4Tss.js";import{e as Fe,l as he,a as xe,M as Ee,R as He}from"./BEAYWcbT.js";import{b as ge}from"./CIfcjhKg.js";import{S as Se}from"./Bns_F-QV.js";import{X as Te}from"./BUo4hMcM.js";import{C as We}from"./CIE0U5Ih.js";import{k as De}from"./CkFDaaNz.js";import{l as je}from"./BWJa0dU7.js";import{p as Xe}from"./euRlC7pA.js";import{B as Ke}from"./BHsdHLbF.js";import{D as Ue}from"./CtlVBKf-.js";import{s as Ve}from"./Clzs_eXS.js";import{S as Be}from"./QAFSHLn2.js";import{E as Qe}from"./p7x6PRF0.js";var Ge=new Set(["$$slots","$$events","$$legacy"]);function $e(n,r){let s=_e(r,Ge);const l={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6"}]]};we(n,be(()=>s,{get icon(){return l}}))}var Je=new Set(["$$slots","$$events","$$legacy"]);function ir(n,r){let s=_e(r,Je);const l={name:"messages-square",size:24,node:[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1"}]]};we(n,be(()=>s,{get icon(){return l}}))}var Ye=new Set(["$$slots","$$events","$$legacy"]);function Ze(n,r){let s=_e(r,Ye);const l={name:"monitor-off",size:24,node:[["path",{d:"M12 17v4"}],["path",{d:"M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826"}],["path",{d:"m2 2 20 20"}],["path",{d:"M8 21h8"}],["path",{d:"M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042"}]]};we(n,be(()=>s,{get icon(){return l}}))}const Me={full:1e3,window:2e3,inspector:2e3},qe=80,ze=1.45,et=11,tt=32;function rt(n){let r=0;for(const s of n)r=Math.max(r,[...s.trimEnd()].length);return Math.max(qe,r)}function at(n){const r=n.lineHeight??ze,s=Math.max(1,Math.floor(n.cols)),l=n.width/(s*(n.charWidth>0?n.charWidth:.6)),v=Number.isFinite(l)?Math.min(tt,Math.max(et,l)):13,i=Math.floor(v*10)/10,d=Math.max(1,Math.floor(Math.max(0,n.height)/(i*r)));return{fontSize:i,cols:s,rows:d}}function nt({load:n,intervalMs:r,onresult:s,onerror:l,doc:v}){let i=!1,d=!1,t;const T=()=>{clearTimeout(t),i||(t=setTimeout(M,r))},M=async()=>{if(!(i||d)){if(v.hidden)return T();d=!0;try{const _=await n();i||s(_)}catch(_){i||l(_ instanceof Error?_:new Error(String(_)))}finally{d=!1}T()}},f=()=>{!v.hidden&&!d&&(clearTimeout(t),M())};return v.addEventListener("visibilitychange",f),M(),()=>{i=!0,clearTimeout(t),v.removeEventListener("visibilitychange",f)}}function Ce(n,r,s,l,v=document){const i=`/api/tasks/${encodeURIComponent(n)}/output?lines=${r}`;return nt({load:async()=>{const d=await fetch(i);if(!d.ok)throw new Error(`HTTP ${d.status}`);return await d.json()},intervalMs:s,doc:v,...l})}var ot=b('<pre class="mt-auto whitespace-pre" aria-label="The worker’s terminal"> </pre>'),st=b('<p class="grid flex-1 place-items-center px-4 text-center font-sans text-sm text-terminal-foreground/60"><!></p>'),lt=b('<div class="flex h-full flex-col"><div class="flex shrink-0 items-center gap-2 border-b border-terminal-foreground/15 px-4 py-2.5 text-sm sm:px-6"><!> <span class="min-w-0 truncate font-medium"> </span> <span class="hidden text-terminal-foreground/60 sm:inline"> </span> <span class="ml-auto hidden text-xs text-terminal-foreground/60 sm:inline">Esc to close</span> <button type="button" class="-mr-2 flex size-8 items-center justify-center rounded-md text-terminal-foreground/80 hover:bg-terminal-foreground/10 hover:text-terminal-foreground sm:ml-2" aria-label="Close the full-screen console"><!></button></div> <div class="flex min-h-0 flex-1 flex-col overflow-auto font-mono"><!></div></div>'),it=b('<dialog class="m-0 h-dvh max-h-none w-dvw max-w-none overflow-hidden bg-terminal p-0 text-terminal-foreground backdrop:bg-black/70"><!></dialog>');function dt(n,r){ce(r,!0);let s=ae(r,"open",15,!1);const l=200,v=16;let i=O(null),d=O(null),t=O(null),T=O(!1),M=O(0),f=O(0),_=O(.6),h=!0;q(()=>{if(e(i))if(s()&&!e(i).open){h=!0;const o=e(i);Fe(document.documentElement).then(()=>{!s()||!o.isConnected?he(document.documentElement):o.open||o.showModal()})}else!s()&&e(i).open&&e(i).close()}),q(()=>{if(!s())return;const o=document.documentElement;let p=!1;const w=()=>{document.fullscreenElement===o?p=!0:p&&(p=!1,s(!1))};return document.addEventListener("fullscreenchange",w),()=>{document.removeEventListener("fullscreenchange",w),he(o)}}),q(()=>{if(!s())return;ke(()=>xe.open++);const o=Ce(r.task.id,l,Me.full,{onresult:p=>{E(t,p,!0),E(T,!1)},onerror:()=>E(T,!0)});return()=>{o(),ke(()=>xe.open--)}}),q(()=>{if(!e(d))return;const o=getComputedStyle(e(d)).fontFamily,p=document.createElement("canvas").getContext("2d");if(!p)return;p.font=`100px ${o}`;const w=p.measureText("M".repeat(10)).width/1e3;w>0&&E(_,w)});const N=se(()=>e(t)?.available?e(t).lines:[]),F=se(()=>at({width:e(M)-2*v,height:e(f)-2*v,cols:rt(e(N)),charWidth:e(_)}));q(()=>{e(t),e(F),e(d)&&h&&(e(d).scrollTop=e(d).scrollHeight)});const A=()=>{e(d)&&(h=e(d).scrollHeight-e(d).scrollTop-e(d).clientHeight<24)};var P=it(),H=k(P);{var Y=o=>{var p=lt(),w=k(p),u=k(w);Se(u,{class:"size-4 text-terminal-foreground/70","aria-hidden":"true"});var x=m(u,2),W=I(x,!0),D=m(x,2),V=I(D),K=m(D,4),j=k(K);Te(j,{class:"size-4"}),g(K),g(w);var a=m(w,2),y=k(a);{var Q=z=>{var U=ot();let G;var Z=I(U,!0);S($=>{L(U,"data-cols",e(F).cols),L(U,"data-rows",e(F).rows),G=ye(U,"",G,{padding:"16px","font-size":`${e(F).fontSize??""}px`,"line-height":ze}),C(Z,$)},[()=>e(N).join(`
|
|
2
2
|
`)]),c(z,U)},re=z=>{var U=st(),G=k(U);{var Z=X=>{var B=ne("Could not reach the Wheelhouse server.");c(X,B)},$=X=>{var B=ne("Reading the worker’s terminal…");c(X,B)},J=X=>{var B=ne();S(()=>C(B,e(t).reason)),c(X,B)},le=X=>{var B=ne("The terminal is empty.");c(X,B)};R(G,X=>{e(T)?X(Z):e(t)?e(t).available?X(le,-1):X(J,2):X($,1)})}g(U),c(z,U)};R(y,z=>{e(N).length?z(Q):z(re,-1)})}g(a),fe(a,z=>E(d,z),()=>e(d)),g(p),S(z=>{C(W,r.task.shortTitle),C(V,`· live console, read-only${z??""}`)},[()=>e(t)?.capturedAt?` · ${me(e(t).capturedAt)}`:""]),ee("click",K,()=>s(!1)),ve("scroll",a,A),ge(a,"clientWidth",z=>E(M,z)),ge(a,"clientHeight",z=>E(f,z)),c(o,p)};R(H,o=>{s()&&o(Y)})}g(P),fe(P,o=>E(i,o),()=>e(i)),S(()=>{L(P,"aria-label",`${r.task.shortTitle??""}: live console`),L(P,"data-console-fullscreen",r.task.id)}),ve("close",P,()=>{he(document.documentElement),s(!1)}),c(n,P),ue()}de(["click"]);var ct=b('<pre class="flex min-h-0 flex-1 flex-col justify-end overflow-hidden px-3 py-2 font-mono text-xs leading-[1.45] whitespace-pre" aria-label="Latest lines of the worker’s terminal"> </pre>'),ut=b('<p class="grid flex-1 place-items-center px-4 text-center text-xs text-terminal-foreground/60"><!></p>'),vt=b('<div><button type="button" class="absolute inset-0 z-10 rounded-[inherit] focus-visible:ring-3 focus-visible:ring-ring/60 focus-visible:outline-none" title="Open full screen"></button> <div class="flex items-center gap-1.5 border-b border-terminal-foreground/10 px-3 py-1.5 text-xs text-terminal-foreground/60"><!> <span>Live console</span> <span class="ml-auto"> </span> <!></div> <!></div> <!>',1);function dr(n,r){ce(r,!0);let s=ae(r,"lines",3,12),l=ae(r,"class",3,"");const v=24;let i=O(null),d=O(!1),t=O(null),T=O(!1),M=O(!1);q(()=>{if(!e(i))return;const u=new IntersectionObserver(([x])=>E(d,x.isIntersecting,!0),{rootMargin:"100px"});return u.observe(e(i)),()=>u.disconnect()}),q(()=>{if(!(!e(d)||xe.open>0))return Ce(r.task.id,s()+v,Me.window,{onresult:u=>{E(t,u,!0),E(T,!1)},onerror:()=>E(T,!0)})}),q(()=>{r.onsample?.(e(t)?.available&&e(t).lines.length?{line:Re(e(t).lines),capturedAt:e(t).capturedAt}:null)});var f=vt(),_=te(f),h=k(_),N=m(h,2),F=k(N);Se(F,{class:"size-3","aria-hidden":"true"});var A=m(F,4),P=I(A),H=m(A,2);Ee(H,{class:"size-3.5 text-terminal-foreground/60 transition-colors group-hover/console:text-terminal-foreground","aria-hidden":"true"}),g(N);var Y=m(N,2);{var o=u=>{var x=ct(),W=I(x,!0);S(D=>C(W,D),[()=>e(t).lines.slice(-s()).join(`
|
|
3
3
|
`)]),c(u,x)},p=u=>{var x=ut(),W=k(x);{var D=a=>{var y=ne("Could not reach the Wheelhouse server.");c(a,y)},V=a=>{var y=ne("Reading the worker’s terminal…");c(a,y)},K=a=>{var y=ne();S(()=>C(y,e(t).reason)),c(a,y)},j=a=>{var y=ne("The terminal is empty.");c(a,y)};R(W,a=>{e(T)?a(D):e(t)?e(t).available?a(j,-1):a(K,2):a(V,1)})}g(x),c(u,x)};R(Y,u=>{e(t)?.available&&e(t).lines.length?u(o):u(p,-1)})}g(_),fe(_,u=>E(i,u),()=>e(i));var w=m(_,2);dt(w,{get task(){return r.task},get open(){return e(M)},set open(u){E(M,u,!0)}}),S(u=>{ie(_,1,`group/console relative z-10 flex aspect-[16/10] flex-col overflow-hidden rounded-sm border bg-terminal text-terminal-foreground ${l()??""}`),L(_,"data-console",r.task.id),L(h,"aria-label",`Open ${r.task.shortTitle??""}’s live console full screen`),C(P,`read-only${u??""}`)},[()=>e(t)?.capturedAt?` · ${me(e(t).capturedAt)}`:""]),ee("click",h,()=>E(M,!0)),c(n,f),ue()}de(["click"]);var ft=b('<span class="tabular text-xs text-muted-foreground"> </span> <button type="button" class="rounded p-1 hover:bg-accent" aria-label="Previous screenshot"><!></button> <button type="button" class="rounded p-1 hover:bg-accent" aria-label="Next screenshot"><!></button>',1),mt=b('<div class="flex items-center gap-3 border-b px-3 py-2 text-sm"><span class="min-w-0 flex-1 truncate"> </span> <!> <button type="button" class="rounded p-1 hover:bg-accent" aria-label="Close"><!></button></div> <img class="mx-auto max-h-[85vh] w-auto object-contain"/> <p class="border-t px-3 py-1.5 text-xs text-muted-foreground"> </p>',1),pt=b('<dialog class="m-auto max-h-[94vh] max-w-[min(94vw,1400px)] overflow-hidden rounded-xl border bg-background p-0 text-foreground shadow-xl backdrop:bg-black/70"><!></dialog>');function cr(n,r){ce(r,!0);let s=ae(r,"index",15,null),l=O(null);const v=se(()=>s()===null?null:r.shots[s()]??null);q(()=>{e(l)&&(e(v)&&!e(l).open?e(l).showModal():!e(v)&&e(l).open&&e(l).close())});const i=f=>{s()===null||r.shots.length<2||s((s()+f+r.shots.length)%r.shots.length)};function d(f){f.key==="ArrowRight"?(f.preventDefault(),i(1)):f.key==="ArrowLeft"&&(f.preventDefault(),i(-1))}var t=pt(),T=k(t);{var M=f=>{var _=mt(),h=te(_),N=k(h),F=I(N,!0),A=m(N,2);{var P=u=>{var x=ft(),W=te(x),D=I(W),V=m(W,2),K=k(V);$e(K,{class:"size-4"}),g(V);var j=m(V,2),a=k(j);We(a,{class:"size-4"}),g(j),S(()=>C(D,`${s()+1} of ${r.shots.length??""}`)),ee("click",V,()=>i(-1)),ee("click",j,()=>i(1)),c(u,x)};R(A,u=>{r.shots.length>1&&u(P)})}var H=m(A,2),Y=k(H);Te(Y,{class:"size-4"}),g(H),g(h);var o=m(h,2),p=m(o,2),w=I(p);S(()=>{C(F,e(v).name),L(o,"src",e(v).url),L(o,"alt",e(v).name),C(w,`Esc closes${r.shots.length>1?"; ← and → step through the screenshots":""}.`)}),ee("click",H,()=>e(l)?.close()),c(f,_)};R(T,f=>{e(v)&&s()!==null&&f(M)})}g(t),fe(t,f=>E(l,f),()=>e(l)),S(()=>L(t,"aria-label",e(v)?.name??"Screenshot")),ve("close",t,()=>s(null)),ee("click",t,f=>f.target===e(l)&&e(l)?.close()),ee("keydown",t,d),c(n,t),ue()}de(["click","keydown"]);function ht(n,r){const s="allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox";let l=!0;try{l=new URL(n).origin===r}catch{}return l?s:`${s} allow-same-origin`}function xt(n,r){return`Review feedback on the live preview (${n}):
|
|
4
4
|
${r.trim()}`}var gt=b("<!> ",1),bt=b('<p class="text-xs text-danger" role="alert"> </p>'),_t=b('<p class="text-xs text-muted-foreground" role="status" data-feedback-sent=""> </p>'),wt=b('<p class="text-xs text-muted-foreground">⌘/Ctrl+Enter sends; the mic dictates.</p>'),kt=b('<form class="mt-3" data-preview-feedback=""><label class="text-xs font-medium text-muted-foreground">Feedback on this preview</label> <!> <div class="mt-2 flex flex-wrap items-center gap-x-3 gap-y-1"><!> <!></div></form>');function yt(n,r){const s=Le();ce(r,!0);let l=ae(r,"rows",3,2),v=O(""),i=O(!1),d=O(null),t=O(null);async function T(){if(!e(v).trim()||e(i))return;E(i,!0),E(d,null);const o=await Ve(xt(r.url,e(v)),Xe.data.sessionToken,r.taskId);if(E(i,!1),!o.ok){E(d,o.error,!0);return}E(t,{at:new Date().toISOString(),pending:!!o.pending},!0),E(v,""),r.onsent?.()}function M(o){o.key==="Enter"&&(o.metaKey||o.ctrlKey)&&(o.preventDefault(),T())}var f=kt(),_=k(f),h=m(_,2);Ue(h,{get id(){return`feedback-${s}`},onkeydown:M,get rows(){return l()},maxlength:8e3,placeholder:"What should change? It goes to the worker through Firstmate.",class:"mt-1 min-h-14 text-sm",get value(){return e(v)},set value(o){E(v,o,!0)}});var N=m(h,2),F=k(N);{let o=se(()=>!e(v).trim()||e(i));Ke(F,{type:"submit",size:"sm",get disabled(){return e(o)},children:(p,w)=>{var u=gt(),x=te(u);Be(x,{});var W=m(x,1,!0);S(()=>C(W,e(i)?"Sending…":"Send feedback")),c(p,u)},$$slots:{default:!0}})}var A=m(F,2);{var P=o=>{var p=bt(),w=I(p,!0);S(()=>C(w,e(d))),c(o,p)},H=o=>{var p=_t(),w=I(p,!0);S(u=>C(w,u),[()=>e(t).pending?`Saved at ${me(e(t).at)}; Wheelhouse is confirming Firstmate has it.`:`Sent at ${me(e(t).at)}. Firstmate passes it to the worker.`]),c(o,p)},Y=o=>{var p=wt();c(o,p)};R(A,o=>{e(d)?o(P):e(t)?o(H,1):o(Y,-1)})}g(N),g(f),S(()=>L(_,"for",`feedback-${s}`)),ve("submit",f,o=>{o.preventDefault(),T()}),c(n,f),ue()}var Et=b('<button type="button" class="rounded p-1 hover:bg-accent hover:text-foreground" aria-label="Reload the preview" title="Reload"><!></button> <a target="_blank" rel="noreferrer" class="inline-flex shrink-0 items-center gap-1 rounded px-1 py-0.5 text-sea hover:underline">Open in new tab<!></a>',1),St=b('<button type="button" class="inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-accent" data-preview-fullscreen=""><!>Full screen</button>'),Tt=b('<iframe referrerpolicy="no-referrer" loading="lazy" class="absolute top-0 left-0 origin-top-left border-0 bg-white"></iframe>'),Mt=b('<iframe referrerpolicy="no-referrer" class="size-full border-0 bg-white"></iframe>'),zt=b('<p class="text-sm">Checking the preview…</p>'),Ct=b('<!> <p class="mt-2 text-sm font-medium"> </p> <p class="mt-1 text-xs"> </p>',1),Lt=b('<div class="grid size-full place-items-center p-4 text-center text-muted-foreground"><div><!></div></div>'),Ot=b('<div><div class="flex items-center gap-2 text-xs text-muted-foreground"><span class="min-w-0 flex-1 truncate font-mono"> </span> <!> <!></div> <div><!></div> <!></div>');function ur(n,r){ce(r,!0);let s=ae(r,"compact",3,!1),l=ae(r,"fill",3,!1),v=ae(r,"feedback",3,!0);const i=15e3,d={w:1280,h:800};let t=O(null),T=O(!1),M=O(0),f=O(0);async function _(){try{const a=await fetch(`/api/tasks/${encodeURIComponent(r.taskId)}/preview`);if(!a.ok)throw new Error(String(a.status));E(t,await a.json(),!0),E(T,!1)}catch{E(T,!0)}}q(()=>{r.taskId,_();const a=setInterval(_,i);return()=>clearInterval(a)});const h=se(()=>e(t)?.url??null),N=se(()=>e(h)&&e(t)?ht(e(h),location.origin):""),F=se(()=>e(f)?e(f)/d.w:0);var A=Ot(),P=k(A),H=k(P),Y=I(H,!0),o=m(H,2);{var p=a=>{var y=Et(),Q=te(y),re=k(Q);He(re,{class:"size-3.5"}),g(Q);var z=m(Q,2),U=m(k(z));Qe(U,{class:"size-3.5","aria-hidden":"true"}),g(z),S(()=>L(z,"href",e(h))),ee("click",Q,()=>{Oe(M),_()}),c(a,y)};R(o,a=>{(e(t)?.state==="live"||e(t)?.state==="blocked"||e(t)?.state==="down")&&a(p)})}var w=m(o,2);{var u=a=>{var y=St(),Q=k(y);Ee(Q,{class:"size-3.5","aria-hidden":"true"}),Ie(),g(y),ee("click",y,function(...re){r.onfullscreen?.apply(this,re)}),c(a,y)};R(w,a=>{r.onfullscreen&&e(t)?.state==="live"&&a(u)})}g(P);var x=m(P,2),W=k(x);{var D=a=>{var y=pe(),Q=te(y);De(Q,()=>`${e(h)} ${e(M)}`,re=>{var z=pe(),U=te(z);{var G=$=>{var J=pe(),le=te(J);{var X=B=>{var oe=Tt();S(()=>{L(oe,"src",e(h)),L(oe,"title",`Live preview of ${e(h)??""}`),L(oe,"sandbox",e(N)),ye(oe,`width:${d.w}px;height:${d.h}px;transform:scale(${e(F)??""})`)}),c(B,oe)};R(le,B=>{e(F)&&B(X)})}c($,J)},Z=$=>{var J=Mt();S(()=>{L(J,"src",e(h)),L(J,"title",`Live preview of ${e(h)??""}`),L(J,"sandbox",e(N))}),c($,J)};R(U,$=>{s()?$(G):$(Z,-1)})}c(re,z)}),c(a,y)},V=a=>{var y=Lt(),Q=k(y),re=k(Q);{var z=G=>{var Z=zt();c(G,Z)},U=G=>{var Z=Ct(),$=te(Z);Ze($,{class:"mx-auto size-6","aria-hidden":"true"});var J=m($,2),le=I(J,!0),X=m(J,2),B=I(X,!0);S(oe=>{C(le,e(T)?"Could not check the preview":e(t)?.state==="down"?"Preview not running":e(t)?.state==="blocked"?"Preview cannot be embedded":e(t)?.state==="refused"?"Preview not shown here":"No live preview reported"),C(B,oe)},[()=>e(T)?"Wheelhouse did not answer; it will try again.":e(t)?.state==="down"?`Nothing answered at this address${e(t).reportedAt?`; reported ${Ae(e(t).reportedAt,je.now)}`:""}. Wheelhouse checks again every 15 seconds.`:e(t)?.state==="blocked"?`${e(t).reason} Open it in a new tab instead.`:e(t)?.reason??""]),c(G,Z)};R(re,G=>{!e(t)&&!e(T)?G(z):G(U,-1)})}g(Q),g(y),c(a,y)};R(W,a=>{e(t)?.state==="live"&&e(h)?a(D):a(V,-1)})}g(x);var K=m(x,2);{var j=a=>{yt(a,{get taskId(){return r.taskId},get url(){return e(h)}})};R(K,a=>{v()&&e(h)&&a(j)})}g(A),S(()=>{ie(A,1,`min-w-0 ${l()?"flex h-full flex-col":""}`),L(A,"data-live-preview",e(t)?.state??"checking"),L(H,"title",e(h)??void 0),C(Y,e(h)??"Live preview"),ie(x,1,`relative mt-1.5 w-full overflow-hidden rounded-lg border bg-muted/40 ${s()?"aspect-[16/10]":l()?"min-h-0 flex-1":e(t)?.state==="live"?"h-[70vh] min-h-80":"h-40"}`)}),ge(x,"clientWidth",a=>E(f,a)),c(n,A),ue()}de(["click"]);const It="No screenshots saved",Nt="No live preview reported",Pt="No pull request recorded",vr=n=>n.attention?.owner==="captain"&&n.attention.kind==="review";function Rt(n){return n<=0?It:`${n} ${n===1?"screenshot":"screenshots"}`}function fr(n,r=null){const s=r??[],l=r?s.length:n.screenshots,v=n.preview?.url??n.passage.link?.url??null;return{shots:s,shotsText:Rt(l),preview:v?{url:v}:null,previewText:v?"Live preview":Nt,pr:n.pr?{url:n.pr.url,label:n.pr.number?`PR #${n.pr.number}`:"Pull request"}:null,prText:n.pr?n.pr.number?`PR #${n.pr.number}`:"Pull request":Pt}}var At=b('<p class="mt-1.5 leading-relaxed whitespace-pre-line text-muted-foreground" data-question-detail=""> </p>'),Ft=b('<!> <button type="button" class="mt-1 text-xs text-muted-foreground hover:text-foreground hover:underline"> </button>',1),Ht=b('<p class="mt-0.5 leading-relaxed"> </p>'),Wt=b('<div class="mt-2 border-l-2 border-brass/60 pl-2.5" data-question-call=""><p class="text-xs text-muted-foreground">Firstmate decided: <span class="font-medium text-foreground"> </span></p> <!></div>'),Dt=b('<li><div class="flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1"><p class="text-xs text-muted-foreground"> </p> <span> </span></div> <p class="mt-1 leading-relaxed"> </p> <!> <!></li>'),jt=b('<ol class="space-y-2" data-questions=""></ol>');function mr(n,r){let s=ae(r,"size",3,"page"),l=Ne({});const v={waiting:{label:"Waiting on Firstmate",class:"bg-warning/10 text-warning"},answered:{label:"Answered",class:"bg-success/10 text-success"},closed:{label:"Closed without an answer",class:"bg-muted text-muted-foreground"}};var i=jt();Pe(i,23,()=>r.questions,d=>d.id,(d,t,T)=>{var M=Dt(),f=k(M),_=k(f),h=I(_),N=m(_,2),F=I(N,!0);g(f);var A=m(f,2),P=I(A,!0),H=m(A,2);{var Y=w=>{var u=Ft(),x=te(u);{var W=K=>{var j=At(),a=I(j,!0);S(()=>C(a,e(t).detail)),c(K,j)};R(x,K=>{l[e(t).id]&&K(W)})}var D=m(x,2),V=I(D,!0);S(()=>{L(D,"aria-expanded",!!l[e(t).id]),C(V,l[e(t).id]?"Show less":"Show the whole question")}),ee("click",D,()=>l[e(t).id]=!l[e(t).id]),c(w,u)};R(H,w=>{e(t).detail&&w(Y)})}var o=m(H,2);{var p=w=>{var u=Wt(),x=k(u),W=m(k(x)),D=I(W,!0);g(x);var V=m(x,2);{var K=j=>{var a=Ht(),y=I(a,!0);S(()=>C(y,e(t).reason)),c(j,a)};R(V,j=>{e(t).reason&&j(K)})}g(u),S(()=>C(D,e(t).verdict)),c(w,u)};R(o,w=>{e(t).verdict&&w(p)})}g(M),S(()=>{ie(M,1,`rounded-md border border-hair bg-card ${s()==="card"?"px-2.5 py-2 text-xs":"px-3 py-2.5 text-sm"}`),L(M,"data-question",e(t).status),C(h,`Question ${e(T)+1}${e(t).where?` · ${e(t).where}`:""}${e(t).serious?" · marked serious":""}`),ie(N,1,`rounded-full px-2 py-0.5 text-xs font-medium ${v[e(t).status].class??""}`),C(F,v[e(t).status].label),C(P,e(t).summary)}),c(d,M)}),g(i),c(n,i)}de(["click"]);export{dr as C,ur as L,ir as M,yt as P,mr as Q,cr as a,vr as b,dt as c,Me as d,Ce as p,fr as r};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.
|
|
2
|
-
import{_ as a}from"../chunks/PPVm8Dsz.js";import{i as E,aK as K,h as u,a2 as Y,a3 as Z,Z as z,aM as B,a6 as F,aN as H,p as J,aa as Q,N as U,M as W,f as g,s as X,a as v,b as $,e as P,x as O,m as tt,r as et,c as V,q as R,v as rt,t as at,d as st}from"../chunks/L-6wuY5f.js";import"../chunks/DsnmJJEf.js";import{o as ot}from"../chunks/BGINfGsV.js";import{p as b,i as A}from"../chunks/COiIt96y.js";import{c as L}from"../chunks/BiTivU7x.js";import{b as y}from"../chunks/Da92_52d.js";const Pt={};function it(s){return class extends _t{constructor(t){super({component:s,...t})}}}class _t{#e;#t;constructor(t){var o=new Map,_=(e,r)=>{var m=H(r,!1,!1);return o.set(e,m),m};const n=new Proxy({...t.props||{},$$events:{}},{get(e,r){return u(o.get(r)??_(r,Reflect.get(e,r)))},has(e,r){return r===K?!0:(u(o.get(r)??_(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,m){return E(o.get(r)??_(r,m),m),Reflect.set(e,r,m)}});this.#t=(t.hydrate?Y:Z)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&z(),this.#e=n.$$events;for(const e of Object.keys(this.#t))e==="$set"||e==="$destroy"||e==="$on"||B(this,e,{get(){return this.#t[e]},set(r){this.#t[e]=r},enumerable:!0});this.#t.$set=e=>{Object.assign(n,e)},this.#t.$destroy=()=>{F(this.#t)}}$set(t){this.#t.$set(t)}$on(t,o){this.#e[t]=this.#e[t]||[];const _=(...n)=>o.call(this,...n);return this.#e[t].push(_),()=>{this.#e[t]=this.#e[t].filter(n=>n!==_)}}$destroy(){this.#t.$destroy()}}var nt=V('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),mt=V("<!> <!>",1);function ut(s,t){J(t,!0);let o=b(t,"components",23,()=>[]),_=b(t,"data_0",3,null),n=b(t,"data_1",3,null);Q(()=>t.stores.page.set(t.page)),U(()=>{t.stores,t.page,t.constructors,o(),t.form,_(),n(),t.stores.page.notify()});let e=P(!1),r=P(!1),m=P(null);ot(()=>{const i=t.stores.page.subscribe(()=>{u(e)&&(E(r,!0),W().then(()=>{E(m,document.title||"untitled page",!0)}))});return E(e,!0),i});const j=R(()=>t.constructors[1]);var D=mt(),I=g(D);{var k=i=>{const c=R(()=>t.constructors[0]);var d=O(),h=g(d);L(h,()=>u(c),(l,f)=>{y(f(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params},children:(p,dt)=>{var T=O(),S=g(T);L(S,()=>u(j),(N,q)=>{y(q(N,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),G=>o()[1]=G,()=>o()?.[1])}),v(p,T)},$$slots:{default:!0}}),p=>o()[0]=p,()=>o()?.[0])}),v(i,d)},w=i=>{const c=R(()=>t.constructors[0]);var d=O(),h=g(d);L(h,()=>u(c),(l,f)=>{y(f(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params}}),p=>o()[0]=p,()=>o()?.[0])}),v(i,d)};A(I,i=>{t.constructors[1]?i(k):i(w,-1)})}var C=X(I,2);{var M=i=>{var c=nt(),d=tt(c);{var h=l=>{var f=rt();at(()=>st(f,u(m))),v(l,f)};A(d,l=>{u(r)&&l(h)})}et(c),v(i,c)};A(C,i=>{u(e)&&i(M)})}v(s,D),$()}const Ot=it(ut),Rt=[()=>a(()=>import("../nodes/0.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CaNaBMzB.js","../chunks/DsnmJJEf.js","../chunks/BGINfGsV.js","../chunks/L-6wuY5f.js","../chunks/CQlHU-Rx.js","../chunks/COiIt96y.js","../chunks/DGy76IbW.js","../chunks/BiTivU7x.js","../chunks/euRlC7pA.js","../chunks/CdOazBBu.js","../chunks/BWJa0dU7.js","../chunks/CrgqcyB_.js","../chunks/BXN538J3.js","../chunks/_7N5fmOy.js","../chunks/36FDwM1G.js","../chunks/CIfcjhKg.js","../chunks/CDphfOBv.js","../chunks/p7x6PRF0.js","../chunks/Brlpgp90.js","../chunks/BVVO3JPx.js","../chunks/t4rxsdjl.js","../chunks/BR5v76-T.js","../chunks/BUo4hMcM.js","../chunks/CXfdgbLv.js","../chunks/DC8T2WRZ.js","../chunks/Bns_F-QV.js","../chunks/CfdzAfq2.js","../chunks/CeYIQAXD.js","../chunks/Tm9AblHs.js","../chunks/Bfi4vm-w.js","../chunks/C2d4bDYU.js","../chunks/BHsdHLbF.js","../chunks/Da92_52d.js","../chunks/CkFDaaNz.js","../chunks/DKQe4Tss.js","../chunks/m3YfhLk1.js","../chunks/Clzs_eXS.js","../chunks/M201SoVK.js","../chunks/B2wEHue2.js","../chunks/C2_XZrIO.js","../chunks/CLs9Rkbg.js","../chunks/CkLriSVx.js","../assets/0.DaQhCSel.css","../nodes/1.BCMmEnhe.js","../nodes/2.DmiGTHZF.js","../chunks/C6BQPSOs.js","../chunks/BEAYWcbT.js","../chunks/BORDV711.js","../chunks/iVpzjqp1.js","../chunks/uD7-7yV9.js","../chunks/CIE0U5Ih.js","../chunks/Db0WMrvR.js","../assets/MicButton.Dga9zAug.css","../chunks/CrCQ2NNA.js","../chunks/B1XxiJam.js","../chunks/BiuLIp4b.js","../chunks/CQ7gIAH8.js","../chunks/PPVm8Dsz.js","../chunks/DIABVMrA.js","../chunks/CR7y1ULG.js","../chunks/B1bNvkZf.js","../chunks/eMSiEzFi.js","../chunks/DLith9Yi.js","../chunks/Dlb_KqyS.js","../chunks/DxGQT-Hz.js","../chunks/COQ3aAYj.js","../chunks/C-xrRA1Y.js","../chunks/Dq9kJk5R.js","../assets/2.DvyEOdRq.css","../nodes/3.qyqfVtUJ.js","../chunks/CKhg4Tm6.js","../nodes/4.DMxs5dS-.js","../chunks/hBAvbyDe.js","../chunks/CtlVBKf-.js","../chunks/QAFSHLn2.js","../chunks/cAfuCUf-.js","../chunks/BunkbzFG.js","../assets/4.5dJKCkOT.css","../nodes/5.pFV6qgYd.js","../nodes/6.DKZQPZQe.js","../nodes/7.DmCbsQpY.js","../nodes/8.C5_-lQ12.js","../chunks/D4aeBIhU.js","../nodes/9.DdS_3rh5.js","../nodes/10.BO2VoEpn.js","../chunks/D7IP_ZEm.js","../chunks/OeqXO44y.js","../nodes/11.BOR5Lt2T.js","../chunks/ET-O1REu.js","../chunks/FQ69txbU.js","../nodes/12.BGnaA6g1.js","../assets/12.DT1C9nmd.css","../nodes/13.BMHoWbLt.js","../chunks/BwOfqJw9.js","../nodes/14.BMIOGjF-.js","../assets/14.CjNfSPQ6.css","../nodes/15.BDQ6GGok.js","../assets/15.KLSHp5Yu.css","../nodes/16.BYZHF6Y1.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as a}from"../chunks/PPVm8Dsz.js";import{i as E,aK as K,h as u,a2 as Y,a3 as Z,Z as z,aM as B,a6 as F,aN as H,p as J,aa as Q,N as U,M as W,f as g,s as X,a as v,b as $,e as P,x as O,m as tt,r as et,c as V,q as R,v as rt,t as at,d as st}from"../chunks/L-6wuY5f.js";import"../chunks/DsnmJJEf.js";import{o as ot}from"../chunks/BGINfGsV.js";import{p as b,i as A}from"../chunks/COiIt96y.js";import{c as L}from"../chunks/BiTivU7x.js";import{b as y}from"../chunks/Da92_52d.js";const Pt={};function it(s){return class extends _t{constructor(t){super({component:s,...t})}}}class _t{#e;#t;constructor(t){var o=new Map,_=(e,r)=>{var m=H(r,!1,!1);return o.set(e,m),m};const n=new Proxy({...t.props||{},$$events:{}},{get(e,r){return u(o.get(r)??_(r,Reflect.get(e,r)))},has(e,r){return r===K?!0:(u(o.get(r)??_(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,m){return E(o.get(r)??_(r,m),m),Reflect.set(e,r,m)}});this.#t=(t.hydrate?Y:Z)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&z(),this.#e=n.$$events;for(const e of Object.keys(this.#t))e==="$set"||e==="$destroy"||e==="$on"||B(this,e,{get(){return this.#t[e]},set(r){this.#t[e]=r},enumerable:!0});this.#t.$set=e=>{Object.assign(n,e)},this.#t.$destroy=()=>{F(this.#t)}}$set(t){this.#t.$set(t)}$on(t,o){this.#e[t]=this.#e[t]||[];const _=(...n)=>o.call(this,...n);return this.#e[t].push(_),()=>{this.#e[t]=this.#e[t].filter(n=>n!==_)}}$destroy(){this.#t.$destroy()}}var nt=V('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),mt=V("<!> <!>",1);function ut(s,t){J(t,!0);let o=b(t,"components",23,()=>[]),_=b(t,"data_0",3,null),n=b(t,"data_1",3,null);Q(()=>t.stores.page.set(t.page)),U(()=>{t.stores,t.page,t.constructors,o(),t.form,_(),n(),t.stores.page.notify()});let e=P(!1),r=P(!1),m=P(null);ot(()=>{const i=t.stores.page.subscribe(()=>{u(e)&&(E(r,!0),W().then(()=>{E(m,document.title||"untitled page",!0)}))});return E(e,!0),i});const j=R(()=>t.constructors[1]);var D=mt(),I=g(D);{var k=i=>{const c=R(()=>t.constructors[0]);var d=O(),h=g(d);L(h,()=>u(c),(l,f)=>{y(f(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params},children:(p,dt)=>{var T=O(),S=g(T);L(S,()=>u(j),(N,q)=>{y(q(N,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),G=>o()[1]=G,()=>o()?.[1])}),v(p,T)},$$slots:{default:!0}}),p=>o()[0]=p,()=>o()?.[0])}),v(i,d)},w=i=>{const c=R(()=>t.constructors[0]);var d=O(),h=g(d);L(h,()=>u(c),(l,f)=>{y(f(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params}}),p=>o()[0]=p,()=>o()?.[0])}),v(i,d)};A(I,i=>{t.constructors[1]?i(k):i(w,-1)})}var C=X(I,2);{var M=i=>{var c=nt(),d=tt(c);{var h=l=>{var f=rt();at(()=>st(f,u(m))),v(l,f)};A(d,l=>{u(r)&&l(h)})}et(c),v(i,c)};A(C,i=>{u(e)&&i(M)})}v(s,D),$()}const Ot=it(ut),Rt=[()=>a(()=>import("../nodes/0.CaNaBMzB.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42]),import.meta.url),()=>a(()=>import("../nodes/1.BCMmEnhe.js"),__vite__mapDeps([43,1,3,8,9,2]),import.meta.url),()=>a(()=>import("../nodes/2.DmiGTHZF.js"),__vite__mapDeps([44,1,2,3,5,6,8,9,10,36,12,14,30,45,7,32,46,4,37,34,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,47,48,49,50,51,52,53,54,55,56,57,31,38,58,59,60,40,61,62,11,63,64,65,41,66,67,13,68]),import.meta.url),()=>a(()=>import("../nodes/3.qyqfVtUJ.js"),__vite__mapDeps([69,1,3,5,6,7,8,9,2,34,59,70,29,4,67,41,26,40,66]),import.meta.url),()=>a(()=>import("../nodes/4.DMxs5dS-.js"),__vite__mapDeps([71,1,3,4,5,6,8,9,2,10,14,47,7,34,15,16,17,12,18,19,20,21,22,23,24,25,26,27,28,29,48,49,30,31,32,72,46,37,50,33,73,64,51,52,36,74,75,65,39,60,59,40,55,76,54,58,77]),import.meta.url),()=>a(()=>import("../nodes/5.pFV6qgYd.js"),__vite__mapDeps([78,1,3,5,6,34,59,61,70,8,9,2,23,4,67]),import.meta.url),()=>a(()=>import("../nodes/6.DKZQPZQe.js"),__vite__mapDeps([79,1,2,3,5,6,8,9,10,11,12,63,7,64,34,65,4,16,19,41,29,21,66,40,17,24]),import.meta.url),()=>a(()=>import("../nodes/7.DmCbsQpY.js"),__vite__mapDeps([80,1,3,5,6,8,9,2,10,14,47,7,34,15,16,4,17,12,18,19,20,21,22,23,24,25,26,27,28,29,48,49]),import.meta.url),()=>a(()=>import("../nodes/8.C5_-lQ12.js"),__vite__mapDeps([81,1,3,5,6,10,8,9,2,14,76,4,30,54,58,7,34,37,82,40,17]),import.meta.url),()=>a(()=>import("../nodes/9.DdS_3rh5.js"),__vite__mapDeps([83,1,3,5,6,8,9,2,10,14,47,7,34,15,16,4,17,12,18,19,20,21,22,23,24,25,26,27,28,29,48,49]),import.meta.url),()=>a(()=>import("../nodes/10.BO2VoEpn.js"),__vite__mapDeps([84,1,3,5,6,8,9,2,13,10,12,34,31,4,32,85,86,49,82,25]),import.meta.url),()=>a(()=>import("../nodes/11.BOR5Lt2T.js"),__vite__mapDeps([87,1,3,5,33,6,13,2,9,8,10,64,88,31,4,32,12,20,85,86,25,89,22,54,58,49,21,35,48,56]),import.meta.url),()=>a(()=>import("../nodes/12.BGnaA6g1.js"),__vite__mapDeps([90,1,2,3,5,6,64,13,9,31,4,32,10,8,12,53,45,73,51,22,52,18,54,89,33,86,27,21,34,29,66,91]),import.meta.url),()=>a(()=>import("../nodes/13.BMHoWbLt.js"),__vite__mapDeps([92,1,3,4,5,6,32,8,9,2,13,10,14,47,7,34,15,16,17,12,18,19,20,21,22,23,24,25,26,27,28,29,48,49,46,37,35,31,72,50,33,73,64,51,52,36,74,67,59,75,41,62,93,86,65]),import.meta.url),()=>a(()=>import("../nodes/14.BMIOGjF-.js"),__vite__mapDeps([94,1,3,5,6,45,32,75,34,86,4,17,41,24,95]),import.meta.url),()=>a(()=>import("../nodes/15.BDQ6GGok.js"),__vite__mapDeps([96,1,2,3,5,6,32,8,9,88,10,36,12,34,31,4,73,64,51,22,52,55,74,45,18,50,28,86,16,17,97]),import.meta.url),()=>a(()=>import("../nodes/16.BYZHF6Y1.js"),__vite__mapDeps([98,1,3,5,6,59,70,8,9,2,62,93]),import.meta.url)],bt=[0],At={"/":[-3],"/decisions":[-4],"/harbour":[-5],"/headroom":[-6],"/inbox":[6],"/plugins/[plugin]/[page]":[-8],"/projects":[-9],"/projects/[id]/passage":[-11],"/projects/[id]/passage/edit":[-12],"/projects/[id]/[plugin]/[tab]":[-10],"/spec":[-13],"/tasks/[id]":[-14],"/tasks/[id]/doc":[-15],"/tasks/[id]/review":[-16],"/time":[-17]},x={handleError:(({error:s})=>{console.error(s)}),reroute:(()=>{}),transport:{}},ct=Object.fromEntries(Object.entries(x.transport).map(([s,t])=>[s,t.decode])),Lt=Object.fromEntries(Object.entries(x.transport).map(([s,t])=>[s,t.encode])),yt=!1,Dt=(s,t)=>ct[s](t),It=()=>a(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(s=>s.default);export{Dt as decode,ct as decoders,At as dictionary,Lt as encoders,It as get_error_template,yt as hash,x as hooks,Pt as matchers,Rt as nodes,Ot as root,bt as server_loads};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as r}from"../chunks/_7N5fmOy.js";import{y as t}from"../chunks/CdOazBBu.js";export{t as load_css,r as start};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{o as Fe}from"../chunks/BGINfGsV.js";import{bf as so,e as Y,u as Zr,g as oo,h as o,i as _,j as Be,p as $,x as D,f as P,a as m,b as tt,q as b,aj as ao,y as Ht,bE as Ri,bF as xt,a1 as lo,a0 as Qr,a4 as co,aa as uo,N as _t,G as qe,M as fo,ag as ut,_ as ho,a3 as go,a6 as po,bG as zi,m as V,r as z,c as H,t as at,bA as vo,s as F,aO as fe,w as ae,v as le,o as dt,d as it,a7 as Qn,a8 as mo,k as Ki,n as Jn,l as bo,$ as yo}from"../chunks/L-6wuY5f.js";import{I as he,s as rt,a as wo,t as Jr}from"../chunks/CQlHU-Rx.js";import{c as G}from"../chunks/BiTivU7x.js";import{f as Ln,d as St,s as $t,e as Vt,a as Lt,h as xo,c as _o}from"../chunks/DGy76IbW.js";import{p as yt}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{o as Fe}from"../chunks/BGINfGsV.js";import{bf as so,e as Y,u as Zr,g as oo,h as o,i as _,j as Be,p as $,x as D,f as P,a as m,b as tt,q as b,aj as ao,y as Ht,bE as Ri,bF as xt,a1 as lo,a0 as Qr,a4 as co,aa as uo,N as _t,G as qe,M as fo,ag as ut,_ as ho,a3 as go,a6 as po,bG as zi,m as V,r as z,c as H,t as at,bA as vo,s as F,aO as fe,w as ae,v as le,o as dt,d as it,a7 as Qn,a8 as mo,k as Ki,n as Jn,l as bo,$ as yo}from"../chunks/L-6wuY5f.js";import{I as he,s as rt,a as wo,t as Jr}from"../chunks/CQlHU-Rx.js";import{c as G}from"../chunks/BiTivU7x.js";import{f as Ln,d as St,s as $t,e as Vt,a as Lt,h as xo,c as _o}from"../chunks/DGy76IbW.js";import{p as yt}from"../chunks/euRlC7pA.js";import{l as It,a as Hi,c as cr}from"../chunks/BWJa0dU7.js";import{i as an}from"../chunks/CrgqcyB_.js";import{s as lt,r as ot,i as Z,p as y}from"../chunks/COiIt96y.js";import{g as $n}from"../chunks/_7N5fmOy.js";import{s as $r,a as Bn,n as ti}from"../chunks/36FDwM1G.js";import{P as So,A as Co}from"../chunks/CIfcjhKg.js";import{n as ji}from"../chunks/C2d4bDYU.js";import{c as xe,B as ke}from"../chunks/BHsdHLbF.js";import{k as To}from"../chunks/CkFDaaNz.js";import{a as Vi,c as Po}from"../chunks/DKQe4Tss.js";import{M as Ao}from"../chunks/m3YfhLk1.js";import{C as ur}from"../chunks/BR5v76-T.js";import{b as Oo}from"../chunks/Da92_52d.js";import{s as Eo}from"../chunks/Clzs_eXS.js";import{a as Ui,b as qi,d as ko}from"../chunks/M201SoVK.js";import{B as Io,G as Xi}from"../chunks/B2wEHue2.js";import{C as Mo}from"../chunks/Bfi4vm-w.js";import{L as Fo,W as Do,R as No,f as Lo,b as ei}from"../chunks/C2_XZrIO.js";import{C as Bo}from"../chunks/CLs9Rkbg.js";import{S as Wo}from"../chunks/CkLriSVx.js";import{X as Ro}from"../chunks/BUo4hMcM.js";import{E as zo}from"../chunks/p7x6PRF0.js";function Ko(){return Symbol(so)}var Ho=new Set(["$$slots","$$events","$$legacy"]);function jo(n,t){let e=ot(t,Ho);const r={name:"bell-off",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0"}],["path",{d:"M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742"}],["path",{d:"m2 2 20 20"}],["path",{d:"M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05"}]]};he(n,lt(()=>e,{get icon(){return r}}))}var Vo=new Set(["$$slots","$$events","$$legacy"]);function ni(n,t){let e=ot(t,Vo);const r={name:"bell-ring",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8"}]]};he(n,lt(()=>e,{get icon(){return r}}))}var Uo=new Set(["$$slots","$$events","$$legacy"]);function qo(n,t){let e=ot(t,Uo);const r={name:"circle-check-big",size:24,node:[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335"}],["path",{d:"m9 11 3 3L22 4"}]],aliases:["check-circle"]};he(n,lt(()=>e,{get icon(){return r}}))}var Xo=new Set(["$$slots","$$events","$$legacy"]);function Go(n,t){let e=ot(t,Xo);const r={name:"layers",size:24,node:[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"}]],aliases:["layers-3"]};he(n,lt(()=>e,{get icon(){return r}}))}var Yo=new Set(["$$slots","$$events","$$legacy"]);function Zo(n,t){let e=ot(t,Yo);const r={name:"moon",size:24,node:[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"}]]};he(n,lt(()=>e,{get icon(){return r}}))}var Qo=new Set(["$$slots","$$events","$$legacy"]);function Jo(n,t){let e=ot(t,Qo);const r={name:"panel-left-close",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M9 3v18"}],["path",{d:"m16 15-3-3 3-3"}]],aliases:["sidebar-close"]};he(n,lt(()=>e,{get icon(){return r}}))}var $o=new Set(["$$slots","$$events","$$legacy"]);function ta(n,t){let e=ot(t,$o);const r={name:"panel-left-open",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M9 3v18"}],["path",{d:"m14 9 3 3-3 3"}]],aliases:["sidebar-open"]};he(n,lt(()=>e,{get icon(){return r}}))}var ea=new Set(["$$slots","$$events","$$legacy"]);function na(n,t){let e=ot(t,ea);const r={name:"sun",size:24,node:[["circle",{cx:"12",cy:"12",r:"4"}],["path",{d:"M12 2v2"}],["path",{d:"M12 20v2"}],["path",{d:"m4.93 4.93 1.41 1.41"}],["path",{d:"m17.66 17.66 1.41 1.41"}],["path",{d:"M2 12h2"}],["path",{d:"M20 12h2"}],["path",{d:"m6.34 17.66-1.41 1.41"}],["path",{d:"m19.07 4.93-1.41 1.41"}]]};he(n,lt(()=>e,{get icon(){return r}}))}class ra extends Map{#t=new Map;#e=Y(0);#n=Y(0);#r=Zr||-1;constructor(t){if(super(),t){for(var[e,r]of t)super.set(e,r);this.#n.v=super.size}}#i(t){return Zr===this.#r?Y(t):oo(t)}has(t){var e=this.#t,r=e.get(t);if(r===void 0)if(super.has(t))r=this.#i(0),e.set(t,r);else return o(this.#e),!1;return o(r),!0}forEach(t,e){this.#s(),super.forEach(t,e)}get(t){var e=this.#t,r=e.get(t);if(r===void 0)if(super.has(t))r=this.#i(0),e.set(t,r);else{o(this.#e);return}return o(r),super.get(t)}getOrInsert(t,e){return super.has(t)||this.set(t,e),this.get(t)}getOrInsertComputed(t,e){return super.has(t)||this.set(t,e(t)),this.get(t)}set(t,e){var r=this.#t,i=r.get(t),s=super.get(t),a=super.set(t,e),l=this.#e;if(i===void 0)i=this.#i(0),r.set(t,i),_(this.#n,super.size),Be(l);else if(s!==e){Be(i);var c=l.reactions===null?null:new Set(l.reactions),u=c===null||!i.reactions?.every(p=>c.has(p));u&&Be(l)}return a}delete(t){var e=this.#t,r=e.get(t),i=super.delete(t);return r!==void 0&&(e.delete(t),_(r,-1)),i&&(_(this.#n,super.size),Be(this.#e)),i}clear(){if(super.size!==0){super.clear();var t=this.#t;_(this.#n,0);for(var e of t.values())_(e,-1);Be(this.#e),t.clear()}}#s(){o(this.#e);var t=this.#t;if(this.#n.v!==t.size){for(var e of super.keys())if(!t.has(e)){var r=this.#i(0);t.set(e,r)}}for([,r]of this.#t)o(r)}keys(){return o(this.#e),super.keys()}values(){return this.#s(),super.values()}entries(){return this.#s(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return o(this.#n),super.size}}function ia(n,t){$(t,!0);const e=b(()=>"component"in t.entry.render?So[t.entry.render.component]:void 0);let r=Y(!1);Fe(()=>{_(r,!0)});var i=D(),s=P(i);{var a=l=>{var c=D(),u=P(c);ao(u,{failed:d=>{}},d=>{var f=D(),h=P(f);G(h,()=>o(e),(v,g)=>{g(v,{get data(){return t.entry.content.value},get entry(){return t.entry}})}),m(d,f)}),m(l,c)};Z(s,l=>{o(r)&&o(e)&&t.entry.content.available&&l(a)})}m(n,i),tt()}function sa(n){return typeof n=="function"}function Qe(n){return n!==null&&typeof n=="object"}const oa=["string","number","bigint","boolean"];function tr(n){return n==null||oa.includes(typeof n)?!0:Array.isArray(n)?n.every(t=>tr(t)):typeof n=="object"?Object.getPrototypeOf(n)===Object.prototype:!1}const Me=Symbol("box"),Pn=Symbol("is-writable");function S(n,t){const e=b(n);return t?{[Me]:!0,[Pn]:!0,get current(){return o(e)},set current(r){t(r)}}:{[Me]:!0,get current(){return n()}}}function Je(n){return Qe(n)&&Me in n}function dr(n){return Je(n)&&Pn in n}function Gi(n){return Je(n)?n:sa(n)?S(n):Bt(n)}function aa(n){return Object.entries(n).reduce((t,[e,r])=>Je(r)?(dr(r)?Object.defineProperty(t,e,{get(){return r.current},set(i){r.current=i}}):Object.defineProperty(t,e,{get(){return r.current}}),t):Object.assign(t,{[e]:r}),{})}function la(n){return dr(n)?{[Me]:!0,get current(){return n.current}}:n}function Bt(n){let t=Y(Ht(n));return{[Me]:!0,[Pn]:!0,get current(){return o(t)},set current(e){_(t,e,!0)}}}function Te(n){let t=Y(Ht(n));return{[Me]:!0,[Pn]:!0,get current(){return o(t)},set current(e){_(t,e,!0)}}}Te.from=Gi;Te.with=S;Te.flatten=aa;Te.readonly=la;Te.isBox=Je;Te.isWritableBox=dr;function ca(...n){return function(t){for(const e of n)if(e){if(t.defaultPrevented)return;typeof e=="function"?e.call(this,t):e.current?.call(this,t)}}}var ri=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,ua=/\n/g,da=/^\s*/,fa=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,ha=/^:\s*/,ga=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,pa=/^[;\s]*/,va=/^\s+|\s+$/g,ma=`
|
|
2
2
|
`,ii="/",si="*",we="",ba="comment",ya="declaration";function wa(n,t){if(typeof n!="string")throw new TypeError("First argument must be a string");if(!n)return[];t=t||{};var e=1,r=1;function i(v){var g=v.match(ua);g&&(e+=g.length);var w=v.lastIndexOf(ma);r=~w?v.length-w:r+v.length}function s(){var v={line:e,column:r};return function(g){return g.position=new a(v),u(),g}}function a(v){this.start=v,this.end={line:e,column:r},this.source=t.source}a.prototype.content=n;function l(v){var g=new Error(t.source+":"+e+":"+r+": "+v);if(g.reason=v,g.filename=t.source,g.line=e,g.column=r,g.source=n,!t.silent)throw g}function c(v){var g=v.exec(n);if(g){var w=g[0];return i(w),n=n.slice(w.length),g}}function u(){c(da)}function p(v){var g;for(v=v||[];g=d();)g!==!1&&v.push(g);return v}function d(){var v=s();if(!(ii!=n.charAt(0)||si!=n.charAt(1))){for(var g=2;we!=n.charAt(g)&&(si!=n.charAt(g)||ii!=n.charAt(g+1));)++g;if(g+=2,we===n.charAt(g-1))return l("End of comment missing");var w=n.slice(2,g-2);return r+=2,i(w),n=n.slice(g),r+=2,v({type:ba,comment:w})}}function f(){var v=s(),g=c(fa);if(g){if(d(),!c(ha))return l("property missing ':'");var w=c(ga),x=v({type:ya,property:oi(g[0].replace(ri,we)),value:w?oi(w[0].replace(ri,we)):we});return c(pa),x}}function h(){var v=[];p(v);for(var g;g=f();)g!==!1&&(v.push(g),p(v));return v}return u(),h()}function oi(n){return n?n.replace(va,we):we}function xa(n,t){let e=null;if(!n||typeof n!="string")return e;const r=wa(n),i=typeof t=="function";return r.forEach(s=>{if(s.type!=="declaration")return;const{property:a,value:l}=s;i?t(a,l,s):l&&(e=e||{},e[a]=l)}),e}const _a=/\d/,Sa=["-","_","/","."];function Ca(n=""){if(!_a.test(n))return n!==n.toLowerCase()}function Ta(n){const t=[];let e="",r,i;for(const s of n){const a=Sa.includes(s);if(a===!0){t.push(e),e="",r=void 0;continue}const l=Ca(s);if(i===!1){if(r===!1&&l===!0){t.push(e),e=s,r=l;continue}if(r===!0&&l===!1&&e.length>1){const c=e.at(-1);t.push(e.slice(0,Math.max(0,e.length-1))),e=c+s,r=l;continue}}e+=s,r=l,i=a}return t.push(e),t}function Yi(n){return n?Ta(n).map(t=>Aa(t)).join(""):""}function Pa(n){return Oa(Yi(n||""))}function Aa(n){return n?n[0].toUpperCase()+n.slice(1):""}function Oa(n){return n?n[0].toLowerCase()+n.slice(1):""}function He(n){if(!n)return{};const t={};function e(r,i){if(r.startsWith("-moz-")||r.startsWith("-webkit-")||r.startsWith("-ms-")||r.startsWith("-o-")){t[Yi(r)]=i;return}if(r.startsWith("--")){t[r]=i;return}t[Pa(r)]=i}return xa(n,e),t}function Xe(...n){return(...t)=>{for(const e of n)typeof e=="function"&&e(...t)}}function Ea(n,t){const e=RegExp(n,"g");return r=>{if(typeof r!="string")throw new TypeError(`expected an argument of type string, but got ${typeof r}`);return r.match(e)?r.replace(e,t):r}}const ka=Ea(/[A-Z]/,n=>`-${n.toLowerCase()}`);function Ia(n){if(!n||typeof n!="object"||Array.isArray(n))throw new TypeError(`expected an argument of type object, but got ${typeof n}`);return Object.keys(n).map(t=>`${ka(t)}: ${n[t]};`).join(`
|
|
3
3
|
`)}function Zi(n={}){return Ia(n).replace(`
|
|
4
4
|
`," ")}const Ma=["onabort","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onauxclick","onbeforeinput","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncompositionend","oncompositionstart","oncompositionupdate","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onfocusin","onfocusout","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectionchange","onselectstart","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onvolumechange","onwaiting","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkittransitionend","onwheel"],Fa=new Set(Ma);function Da(n){return Fa.has(n)}function Ot(...n){const t={...n[0]};for(let e=1;e<n.length;e++){const r=n[e];if(r){for(const i of Object.keys(r)){const s=t[i],a=r[i],l=typeof s=="function",c=typeof a=="function";if(l&&Da(i)){const u=s,p=a;t[i]=ca(u,p)}else if(l&&c)t[i]=Xe(s,a);else if(i==="class"){const u=tr(s),p=tr(a);u&&p?t[i]=Ln(s,a):u?t[i]=Ln(s):p&&(t[i]=Ln(a))}else if(i==="style"){const u=typeof s=="object",p=typeof a=="object",d=typeof s=="string",f=typeof a=="string";if(u&&p)t[i]={...s,...a};else if(u&&f){const h=He(a);t[i]={...s,...h}}else if(d&&p){const h=He(s);t[i]={...h,...a}}else if(d&&f){const h=He(s),v=He(a);t[i]={...h,...v}}else u?t[i]=s:p?t[i]=a:d?t[i]=s:f&&(t[i]=a)}else t[i]=a!==void 0?a:s}for(const i of Object.getOwnPropertySymbols(r)){const s=t[i],a=r[i];t[i]=a!==void 0?a:s}}}return typeof t.style=="object"&&(t.style=Zi(t.style).replaceAll(`
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{p as n,f as h,t as c,a as l,b as u,c as v,o as a,s as _,d as s}from"../chunks/L-6wuY5f.js";import{p as e}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{p as n,f as h,t as c,a as l,b as u,c as v,o as a,s as _,d as s}from"../chunks/L-6wuY5f.js";import{p as e}from"../chunks/euRlC7pA.js";var d=v("<h1> </h1> <p> </p>",1);function y(o,p){n(p,!0);var t=d(),r=h(t),m=a(r,!0),f=_(r,2),i=a(f,!0);c(()=>{s(m,e.status),s(i,e.error?.message)}),l(o,t),u()}export{y as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{p as at,t as $,a as i,b as rt,O as st,m as l,h as e,d as s,c as h,q as N,s as t,$ as ot,r,e as _e,o as v,f as ie,w as F,v as re,i as se}from"../chunks/L-6wuY5f.js";import{s as Te,r as Ie,i as k}from"../chunks/COiIt96y.js";import{h as nt,s as H,e as J,a as le,i as it}from"../chunks/DGy76IbW.js";import{p as Se}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{p as at,t as $,a as i,b as rt,O as st,m as l,h as e,d as s,c as h,q as N,s as t,$ as ot,r,e as _e,o as v,f as ie,w as F,v as re,i as se}from"../chunks/L-6wuY5f.js";import{s as Te,r as Ie,i as k}from"../chunks/COiIt96y.js";import{h as nt,s as H,e as J,a as le,i as it}from"../chunks/DGy76IbW.js";import{p as Se}from"../chunks/euRlC7pA.js";import{i as lt}from"../chunks/_7N5fmOy.js";import{c as dt,l as xe}from"../chunks/BWJa0dU7.js";import{S as ct}from"../chunks/BXN538J3.js";import{a as ge}from"../chunks/DKQe4Tss.js";import{B as ae}from"../chunks/BHsdHLbF.js";import{s as vt}from"../chunks/D7IP_ZEm.js";import{A as mt}from"../chunks/OeqXO44y.js";import{I as Ee}from"../chunks/CQlHU-Rx.js";import{C as pt}from"../chunks/uD7-7yV9.js";import{S as ut}from"../chunks/D4aeBIhU.js";import{S as ht}from"../chunks/Bns_F-QV.js";var ft=new Set(["$$slots","$$events","$$legacy"]);function _t(oe,K){let V=Ie(K,ft);const B={name:"file-code-corner",size:24,node:[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5"}],["path",{d:"m5 16-3 3 3 3"}],["path",{d:"m9 22 3-3-3-3"}]],aliases:["file-code-2"]};Ee(oe,Te(()=>V,{get icon(){return B}}))}var xt=new Set(["$$slots","$$events","$$legacy"]);function gt(oe,K){let V=Ie(K,xt);const B={name:"pencil-line",size:24,node:[["path",{d:"M13 21h8"}],["path",{d:"m15 5 4 4"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"}]]};Ee(oe,Te(()=>V,{get icon(){return B}}))}var $t=h('<p class="mt-10 text-muted-foreground"> </p>'),bt=h("<!>Edit passage",1),wt=h(`<p class="mt-2 text-sm text-warning" data-pending="">An edited version is saved in the project’s clone but is not on the default branch
|
|
2
2
|
yet, so this one is still in use.</p> <div class="mt-2 flex flex-wrap gap-2"><!> <!></div>`,1),kt=h('<li class="flex gap-2"><!><span class="min-w-0 font-mono text-xs leading-5 break-words"> </span></li>'),yt=h('<ul class="mt-3 space-y-1 text-sm text-danger"></ul> <p class="mt-2 text-xs text-muted-foreground">This file is left out until it is fixed; the passage uses the layers below it.</p>',1),jt=h('<li class="rounded-xl border p-4"><div class="flex flex-wrap items-baseline gap-x-3 gap-y-1"><!> <span class="font-medium"> </span> <span> </span></div> <p class="mt-1 font-mono text-xs break-all text-muted-foreground"> </p> <!> <!></li>'),At=h("<li> </li>"),Ct=h('<ul class="mt-3 space-y-1 text-sm text-muted-foreground"></ul>'),St=h('<li><span class="font-mono text-xs"> </span> </li>'),ze=h('<p class="mt-3 text-sm text-danger"> </p>'),We=h('<div class="mt-4 flex gap-2"><!></div>'),Pe=h('<p class="mt-2 text-sm text-danger" role="alert"> </p>'),zt=h(`<section aria-labelledby="consent"><h2 id="consent"><!> </h2> <p class="mt-2 text-sm leading-relaxed"> </p> <ul class="mt-2 list-disc space-y-1 pl-5 text-sm"></ul> <p class="mt-2 text-xs text-muted-foreground">These network checks only observe; they never deploy or change anything. This version of
|
|
3
3
|
the file has sha256 <span class="font-mono"> </span> </p> <!> <!></section>`),Wt=h('<li class="rounded-lg border bg-card p-3 text-sm"><p class="font-medium"> <span class="font-normal text-muted-foreground"> </span></p> <pre class="mt-2 overflow-x-auto rounded-md bg-terminal px-3 py-2 font-mono text-xs text-terminal-foreground"> </pre> <p class="mt-2 text-xs text-muted-foreground"> </p></li>'),Pt=h('<section aria-labelledby="commands"><h2 id="commands"><!> </h2> <p class="mt-2 text-sm leading-relaxed"> </p> <ul class="mt-3 space-y-3"></ul> <p class="mt-3 text-xs text-muted-foreground"> </p> <!> <!></section>'),Tt=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Reached</dt> <dd class="min-w-0 break-words"> </dd></div>'),It=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Failed</dt> <dd class="min-w-0 break-words"> </dd></div>'),Et=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Skipped</dt> <dd class="min-w-0 break-words"> </dd></div>'),Rt=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Shows</dt> <dd class="min-w-0 break-words"> </dd></div>'),Lt=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Link</dt> <dd class="min-w-0"> </dd></div>'),Ut=h('<div class="flex gap-2"><dt class="w-20 shrink-0 text-muted-foreground">Gives up</dt> <dd> </dd></div>'),Bt=h('<p class="pt-1 text-muted-foreground"> </p>'),Ot=h('<details class="pt-1 text-muted-foreground"><summary class="cursor-pointer">Rule as written</summary> <p class="mt-1 font-mono break-words"> </p></details>'),Mt=h('<li class="grid gap-x-6 gap-y-1 px-4 py-3 text-sm md:grid-cols-[12rem_minmax(0,1fr)]"><div class="min-w-0"><p class="font-medium"><span class="tabular mr-1 text-muted-foreground"> </span> </p> <p class="text-xs text-muted-foreground"> </p></div> <dl class="min-w-0 space-y-0.5 text-xs"><!> <!> <!> <!> <!> <!> <!> <!></dl></li>'),qt=h('<li class="grid gap-x-6 gap-y-1 px-4 py-3 text-sm md:grid-cols-[12rem_minmax(0,1fr)]"><div class="min-w-0"><p class="font-medium"> </p> <p class="text-xs text-muted-foreground"> </p></div> <div class="min-w-0 text-xs"><p><span class="font-mono"> </span> </p> <p class="mt-0.5 text-muted-foreground"> </p></div></li>'),Dt=h('<h3 class="mt-6 text-xs font-medium text-muted-foreground">Checks</h3> <ul class="mt-2 divide-y rounded-xl border"></ul>',1),Ft=h('<section class="mt-12"><h2 class="text-sm font-medium"> <span class="font-normal text-muted-foreground"> </span></h2> <ol class="mt-3 divide-y rounded-xl border"></ol> <!></section>'),Gt=h(`<div class="mt-6 max-w-3xl"><p class="text-sm text-muted-foreground"> </p> <div class="mt-1 flex flex-wrap items-center gap-x-4 gap-y-2"><h1 class="text-2xl font-semibold tracking-tight">Passage</h1> <!></div> <p class="mt-2 leading-relaxed text-muted-foreground">The steps this project’s tasks pass through, and the checks that observe them. Wheelhouse
|
|
4
4
|
starts from its built-in passage, then layers the project’s <code class="font-mono text-sm">.wheelhouse.yaml</code> from its default branch (never a task branch), then your own Wheelhouse config.</p></div> <section class="mt-10 max-w-3xl" aria-labelledby="files"><h2 id="files" class="text-sm font-medium">Passage files</h2> <ul class="mt-3 space-y-3"></ul> <!></section> <!> <!> <!> <p class="mt-10 max-w-3xl text-xs text-muted-foreground">See Wheelhouse’s <a class="underline underline-offset-2 hover:text-foreground" href="https://github.com/chrisjowen/wheelhouse/blob/main/docs/passages.md" target="_blank" rel="noreferrer">Passage files guide</a> for the format.</p>`,1),Nt=h('<main class="px-4 pt-6 pb-24 sm:px-6 lg:px-10"><div class="surface px-5 py-6 sm:px-8 sm:py-8"><a class="inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground"><!> </a> <!></div></main>');function la(oe,K){at(K,!0);let V=_e(null),B=_e(!1),Q=_e(null);const Y=N(()=>Se.params.id),w=N(()=>e(V)?.projectId===e(Y)?e(V):K.data.view),Re=N(()=>dt()?.projects.find(I=>I.id===e(Y))),de=N(()=>e(Re)?.name??e(Y)),ce={builtin:"Built-in",project:"Project file",captain:"Your config"},Le={absent:"Not present",applied:"In use",invalid:"Left out: has errors",unreadable:"Could not be read"},Ue={ship:"Ship work",scout:"Scout work"};async function ve(I,X="consent"){se(B,!0),se(Q,null);try{const O=await fetch(`/api/projects/${encodeURIComponent(e(Y))}/passage/${X}`,{method:"POST",headers:{"content-type":"application/json",[ct]:Se.data.sessionToken},body:JSON.stringify({digest:I})}),Z=await O.json().catch(()=>null);O.ok&&Z?.schema==="wheelhouse-passage.v1"?se(V,Z,!0):(se(Q,typeof Z?.message=="string"?Z.message:`Wheelhouse answered ${O.status}.`,!0),O.status===409&&await lt())}catch{se(Q,"Could not reach the Wheelhouse server.")}finally{se(B,!1)}}var ue=Nt();nt("1j5yzgw",I=>{st(()=>{ot.title=`${e(de)??""} passage · Wheelhouse`})});var $e=l(ue),me=l($e),be=l(me);mt(be,{class:"size-4","aria-hidden":"true"});var Be=t(be,1,!0);r(me);var Oe=t(me,2);{var Me=I=>{var X=$t(),O=v(X,!0);$(()=>s(O,K.data.problem??"Loading…")),i(I,X)},qe=I=>{var X=Gt(),O=ie(X),Z=l(O),De=v(Z),we=t(Z,2),Fe=t(l(we),2);{var Ge=g=>{{let a=N(()=>encodeURIComponent(e(Y)));ae(g,{variant:"outline",size:"sm",get href(){return`/projects/${e(a)??""}/passage/edit`},children:(f,y)=>{var z=bt(),R=ie(z);gt(R,{"aria-hidden":"true"}),F(),i(f,z)},$$slots:{default:!0}})}};k(Fe,g=>{e(Y)!=="unassigned"&&g(Ge)})}r(we),F(2),r(O);var he=t(O,2),fe=t(l(he),2);J(fe,21,()=>e(w).sources,g=>g.kind,(g,a)=>{var f=jt(),y=l(f),z=l(y);_t(z,{class:"size-4 self-center text-muted-foreground","aria-hidden":"true"});var R=t(z,2),G=v(R,!0),M=t(R,2),L=v(M,!0);r(y);var U=t(y,2),S=v(U,!0),o=t(U,2);{var q=A=>{var m=wt(),d=t(ie(m),2),n=l(d);{let _=N(()=>encodeURIComponent(vt(e(de))));ae(n,{variant:"outline",size:"sm",get href(){return`/?draft=${e(_)??""}`},children:(x,C)=>{F();var b=re("Ask Firstmate to ship it");i(x,b)},$$slots:{default:!0}})}var p=t(n,2);{let _=N(()=>encodeURIComponent(e(Y)));ae(p,{variant:"ghost",size:"sm",get href(){return`/projects/${e(_)??""}/passage/edit`},children:(x,C)=>{F();var b=re("Open the editor");i(x,b)},$$slots:{default:!0}})}r(d),i(A,m)};k(o,A=>{e(a).pending&&A(q)})}var W=t(o,2);{var j=A=>{var m=yt(),d=ie(m);J(d,21,()=>e(a).errors,it,(n,p)=>{var _=kt(),x=l(_);pt(x,{class:"mt-0.5 size-4 shrink-0","aria-hidden":"true"});var C=t(x),b=v(C,!0);r(_),$(()=>s(b,e(p))),i(n,_)}),r(d),F(2),i(A,m)};k(W,A=>{e(a).errors.length&&A(j)})}r(f),$(()=>{H(f,"data-source",e(a).kind),H(f,"data-state",e(a).state),s(G,e(a).kind==="project"?"Project file":"Your config"),le(M,1,`text-sm ${e(a).state==="applied"?"text-success":e(a).state==="absent"?"text-muted-foreground":"text-danger"}`),s(L,Le[e(a).state]),s(S,e(a).location)}),i(g,f)}),r(fe);var Ne=t(fe,2);{var He=g=>{var a=Ct();J(a,20,()=>e(w).notes,f=>f,(f,y)=>{var z=At(),R=v(z,!0);$(()=>s(R,y)),i(f,z)}),r(a),i(g,a)};k(Ne,g=>{e(w).notes.length&&g(He)})}r(he);var ke=t(he,2);{var Ye=g=>{const a=N(()=>e(w).passages.flatMap(n=>n.checks.filter(p=>p.origin==="project"&&p.network)));var f=zt(),y=l(f),z=l(y);ut(z,{class:"size-4","aria-hidden":"true"});var R=t(z);r(y);var G=t(y,2),M=v(G),L=t(G,2);J(L,21,()=>e(a),n=>n.id,(n,p)=>{var _=St(),x=l(_),C=v(x,!0),b=t(x);r(_),$(()=>{s(C,e(p).type),s(b,` ${e(p).params??""}`)}),i(n,_)}),r(L);var U=t(L,2),S=t(l(U)),o=v(S,!0),q=t(S);r(U);var W=t(U,2);{var j=n=>{var p=ze(),_=v(p,!0);$(()=>s(_,e(w).consent.unavailable)),i(n,p)},A=n=>{var p=We(),_=l(p);{var x=b=>{ae(b,{variant:"outline",size:"sm",get disabled(){return e(B)},onclick:()=>ve(null),children:(T,ee)=>{F();var D=re("Turn these checks off");i(T,D)},$$slots:{default:!0}})},C=b=>{ae(b,{size:"sm",get disabled(){return e(B)},onclick:()=>ve(e(w).consent.digest),children:(T,ee)=>{F();var D=re("Enable these checks");i(T,D)},$$slots:{default:!0}})};k(_,b=>{e(w).consent.enabled?b(x):b(C,-1)})}r(p),i(n,p)};k(W,n=>{e(w).consent.unavailable?n(j):n(A,-1)})}var m=t(W,2);{var d=n=>{var p=Pe(),_=v(p,!0);$(()=>s(_,e(Q))),i(n,p)};k(m,n=>{e(Q)&&n(d)})}r(f),$((n,p)=>{le(f,1,`mt-8 max-w-3xl rounded-xl p-4 ${e(w).consent.enabled?"border":"bg-sea/10"}`),le(y,1,`flex items-center gap-2 text-sm font-medium ${e(w).consent.enabled?"":"text-sea"}`),s(R,` ${e(w).consent.enabled?"The project file’s checks are on":"The project file’s network checks are off"}`),s(M,`The project file asks Wheelhouse to read ${e(a).length===1?"this":`these ${e(a).length}`} from the network, with your GitHub CLI login where it reads
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{k as kt,p as xt,m as w,s as h,o as D,r as _,t as M,h as a,a as m,d as O,n as _e,b as wt,ag as pa,q as I,w as qe,f as Ie,c as y,a9 as os,N as ls,i as ie,a7 as va,e as je,v as yt,J as ga,y as ya,x as js,O as ba,$ as _a}from"../chunks/L-6wuY5f.js";import{s as Sn,r as Tn,p as It,i as Y}from"../chunks/COiIt96y.js";import{k as Ms}from"../chunks/CkFDaaNz.js";import{r as at,a as Se,c as He,e as Me,s as me,l as st,g as ot,k as bt,i as Wt,m as ka,j as Nn,h as xa}from"../chunks/DGy76IbW.js";import{b as wa,g as Sa}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{k as kt,p as xt,m as w,s as h,o as D,r as _,t as M,h as a,a as m,d as O,n as _e,b as wt,ag as pa,q as I,w as qe,f as Ie,c as y,a9 as os,N as ls,i as ie,a7 as va,e as je,v as yt,J as ga,y as ya,x as js,O as ba,$ as _a}from"../chunks/L-6wuY5f.js";import{s as Sn,r as Tn,p as It,i as Y}from"../chunks/COiIt96y.js";import{k as Ms}from"../chunks/CkFDaaNz.js";import{r as at,a as Se,c as He,e as Me,s as me,l as st,g as ot,k as bt,i as Wt,m as ka,j as Nn,h as xa}from"../chunks/DGy76IbW.js";import{b as wa,g as Sa}from"../chunks/_7N5fmOy.js";import{p as cs}from"../chunks/euRlC7pA.js";import{c as Ta}from"../chunks/BWJa0dU7.js";import{a as Na,b as Aa}from"../chunks/DxGQT-Hz.js";import{S as an}from"../chunks/ET-O1REu.js";import{B as Ge}from"../chunks/BHsdHLbF.js";import{S as Ps}from"../chunks/BXN538J3.js";import{Y as Et,i as lt,a as Yt,b as Vt,s as An,S as Pe,m as Ot,o as qs,p as Us,c as Fs,M as Ia,d as _t,e as Oa,f as Ca,g as ts,h as $s,j as rn,l as Ea,N as on,D as ln,k as rs,n as La,q as ja,A as In,r as Ma,t as gt,P as ds,u as ss,v as it,w as cn,x as Pa,y as Ba,z as Da,B as On,L as Ra,C as Ka,E as qa,F as Ua}from"../chunks/t4rxsdjl.js";import{C as zt,a as Fa,b as $a,E as Wa,F as Ya,O as za,o as Ha,s as Ga}from"../chunks/D7IP_ZEm.js";import{A as Cn}from"../chunks/OeqXO44y.js";import{S as Ja}from"../chunks/Bns_F-QV.js";import{T as En,P as Ws,R as Va}from"../chunks/FQ69txbU.js";import{b as Xa}from"../chunks/Da92_52d.js";import{X as Ys}from"../chunks/BUo4hMcM.js";import{A as Ln}from"../chunks/B1XxiJam.js";import{A as jn}from"../chunks/DIABVMrA.js";import{C as Mn}from"../chunks/uD7-7yV9.js";import{C as Qa}from"../chunks/BR5v76-T.js";import{I as Pn}from"../chunks/CQlHU-Rx.js";import{M as Za}from"../chunks/m3YfhLk1.js";import{C as ei}from"../chunks/iVpzjqp1.js";import{C as ti}from"../chunks/CQ7gIAH8.js";var si=new Set(["$$slots","$$events","$$legacy"]);function ni(s,e){let t=Tn(e,si);const n={name:"circle-dot",size:24,node:[["circle",{cx:"12",cy:"12",r:"1"}],["circle",{cx:"12",cy:"12",r:"10"}]]};Pn(s,Sn(()=>t,{get icon(){return n}}))}var ai=new Set(["$$slots","$$events","$$legacy"]);function ii(s,e){let t=Tn(e,ai);const n={name:"flask-conical",size:24,node:[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2"}],["path",{d:"M6.453 15h11.094"}],["path",{d:"M8.5 2h7"}]]};Pn(s,Sn(()=>t,{get icon(){return n}}))}const jt={collection:"map",default:!0,nodeClass:Et,tag:"tag:yaml.org,2002:map",resolve(s,e){return lt(s)||e("Expected a mapping for this tag"),s},createNode:(s,e,t)=>Et.from(s,e,t)},Mt={collection:"seq",default:!0,nodeClass:Yt,tag:"tag:yaml.org,2002:seq",resolve(s,e){return Vt(s)||e("Expected a sequence for this tag"),s},createNode:(s,e,t)=>Yt.from(s,e,t)},fs={identify:s=>typeof s=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:s=>s,stringify(s,e,t,n){return e=Object.assign({actualString:!0},e),An(s,e,t,n)}},hs={identify:s=>s==null,createNode:()=>new Pe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Pe(null),stringify:({source:s},e)=>typeof s=="string"&&hs.test.test(s)?s:e.options.nullStr},zs={identify:s=>typeof s=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:s=>new Pe(s[0]==="t"||s[0]==="T"),stringify({source:s,value:e},t){if(s&&zs.test.test(s)){const n=s[0]==="t"||s[0]==="T";if(e===n)return s}return e?t.options.trueStr:t.options.falseStr}};function nt({format:s,minFractionDigits:e,tag:t,value:n}){if(typeof n=="bigint")return String(n);const i=typeof n=="number"?n:Number(n);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let o=Object.is(n,-0)?"-0":JSON.stringify(n);if(!s&&e&&(!t||t==="tag:yaml.org,2002:float")&&/^-?\d/.test(o)&&!o.includes("e")){let r=o.indexOf(".");r<0&&(r=o.length,o+=".");let l=e-(o.length-r-1);for(;l-- >0;)o+="0"}return o}const Bn={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:s=>s.slice(-3).toLowerCase()==="nan"?NaN:s[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:nt},Dn={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:s=>parseFloat(s),stringify(s){const e=Number(s.value);return isFinite(e)?e.toExponential():nt(s)}},Rn={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(s){const e=new Pe(parseFloat(s)),t=s.indexOf(".");return t!==-1&&s[s.length-1]==="0"&&(e.minFractionDigits=s.length-t-1),e},stringify:nt},ms=s=>typeof s=="bigint"||Number.isInteger(s),Hs=(s,e,t,{intAsBigInt:n})=>n?BigInt(s):parseInt(s.substring(e),t);function Kn(s,e,t){const{value:n}=s;return ms(n)&&n>=0?t+n.toString(e):nt(s)}const qn={identify:s=>ms(s)&&s>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(s,e,t)=>Hs(s,2,8,t),stringify:s=>Kn(s,8,"0o")},Un={identify:ms,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(s,e,t)=>Hs(s,0,10,t),stringify:nt},Fn={identify:s=>ms(s)&&s>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(s,e,t)=>Hs(s,2,16,t),stringify:s=>Kn(s,16,"0x")},ri=[jt,Mt,fs,hs,zs,qn,Un,Fn,Bn,Dn,Rn];function dn(s){return typeof s=="bigint"||Number.isInteger(s)}const ns=({value:s})=>JSON.stringify(s),oi=[{identify:s=>typeof s=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:s=>s,stringify:ns},{identify:s=>s==null,createNode:()=>new Pe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:ns},{identify:s=>typeof s=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:s=>s==="true",stringify:ns},{identify:dn,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(s,e,{intAsBigInt:t})=>t?BigInt(s):parseInt(s,10),stringify:({value:s})=>dn(s)?s.toString():JSON.stringify(s)},{identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:s=>parseFloat(s),stringify:ns}],li={default:!0,tag:"",test:/^/,resolve(s,e){return e(`Unresolved plain scalar ${JSON.stringify(s)}`),s}},ci=[jt,Mt].concat(oi,li),Gs={identify:s=>s instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(s,e){if(typeof atob=="function"){const t=atob(s.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let i=0;i<t.length;++i)n[i]=t.charCodeAt(i);return n}else return e("This environment does not support reading binary tags; either Buffer or atob is required"),s},stringify({comment:s,type:e,value:t},n,i,o){if(!t)return"";const r=t;let l;if(typeof btoa=="function"){let c="";for(let d=0;d<r.length;++d)c+=String.fromCharCode(r[d]);l=btoa(c)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(e??(e=Pe.BLOCK_LITERAL),e!==Pe.QUOTE_DOUBLE){const c=Math.max(n.options.lineWidth-n.indent.length,n.options.minContentWidth),d=Math.ceil(l.length/c),v=new Array(d);for(let u=0,f=0;u<d;++u,f+=c)v[u]=l.substr(f,c);l=v.join(e===Pe.BLOCK_LITERAL?`
|
|
2
2
|
`:" ")}return An({comment:s,type:e,value:l},n,i,o)}};function $n({value:s,source:e},t){return e&&(s?Wn:Yn).test.test(e)?e:s?t.options.trueStr:t.options.falseStr}const Wn={identify:s=>s===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Pe(!0),stringify:$n},Yn={identify:s=>s===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Pe(!1),stringify:$n},di={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:s=>s.slice(-3).toLowerCase()==="nan"?NaN:s[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:nt},ui={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:s=>parseFloat(s.replace(/_/g,"")),stringify(s){const e=Number(s.value);return isFinite(e)?e.toExponential():nt(s)}},fi={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(s){const e=new Pe(parseFloat(s.replace(/_/g,""))),t=s.indexOf(".");if(t!==-1){const n=s.substring(t+1).replace(/_/g,"");n[n.length-1]==="0"&&(e.minFractionDigits=n.length)}return e},stringify:nt},Xt=s=>typeof s=="bigint"||Number.isInteger(s);function ps(s,e,t,{intAsBigInt:n}){const i=s[0];if((i==="-"||i==="+")&&(e+=1),s=s.substring(e).replace(/_/g,""),n){switch(t){case 2:s=`0b${s}`;break;case 8:s=`0o${s}`;break;case 16:s=`0x${s}`;break}const r=BigInt(s);return i==="-"?BigInt(-1)*r:r}const o=parseInt(s,t);return i==="-"?-1*o:o}function Js(s,e,t){const{value:n}=s;if(Xt(n)){const i=n.toString(e);return n<0?"-"+t+i.substr(1):t+i}return nt(s)}const hi={identify:Xt,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(s,e,t)=>ps(s,2,2,t),stringify:s=>Js(s,2,"0b")},mi={identify:Xt,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(s,e,t)=>ps(s,1,8,t),stringify:s=>Js(s,8,"0")},pi={identify:Xt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(s,e,t)=>ps(s,0,10,t),stringify:nt},vi={identify:Xt,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(s,e,t)=>ps(s,2,16,t),stringify:s=>Js(s,16,"0x")};function Vs(s,e){const t=s[0],n=t==="-"||t==="+"?s.substring(1):s,i=r=>e?BigInt(r):Number(r),o=n.replace(/_/g,"").split(":").reduce((r,l)=>r*i(60)+i(l),i(0));return t==="-"?i(-1)*o:o}function zn(s){let{value:e}=s,t=r=>r;if(typeof e=="bigint")t=r=>BigInt(r);else if(isNaN(e)||!isFinite(e))return nt(s);let n="";e<0&&(n="-",e*=t(-1));const i=t(60),o=[e%i];return e<60?o.unshift(0):(e=(e-o[0])/i,o.unshift(e%i),e>=60&&(e=(e-o[0])/i,o.unshift(e))),n+o.map(r=>String(r).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const Hn={identify:s=>typeof s=="bigint"||Number.isInteger(s),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(s,e,{intAsBigInt:t})=>Vs(s,t),stringify:zn},Gn={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:s=>Vs(s,!1),stringify:zn},vs={identify:s=>s instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(s){const e=s.match(vs.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,t,n,i,o,r,l]=e.map(Number),c=e[7]?Number((e[7]+"00").substr(1,3)):0;let d=Date.UTC(t,n-1,i,o||0,r||0,l||0,c);const v=e[8];if(v&&v!=="Z"){let u=Vs(v,!1);Math.abs(u)<30&&(u*=60),d-=6e4*u}return new Date(d)},stringify:({value:s})=>s?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},un=[jt,Mt,fs,hs,Wn,Yn,hi,mi,pi,vi,di,ui,fi,Gs,Ot,qs,Us,Fs,Hn,Gn,vs],fn=new Map([["core",ri],["failsafe",[jt,Mt,fs]],["json",ci],["yaml11",un],["yaml-1.1",un]]),hn={binary:Gs,bool:zs,float:Rn,floatExp:Dn,floatNaN:Bn,floatTime:Gn,int:Un,intHex:Fn,intOct:qn,intTime:Hn,map:jt,merge:Ot,null:hs,omap:qs,pairs:Us,seq:Mt,set:Fs,timestamp:vs},gi={"tag:yaml.org,2002:binary":Gs,"tag:yaml.org,2002:merge":Ot,"tag:yaml.org,2002:omap":qs,"tag:yaml.org,2002:pairs":Us,"tag:yaml.org,2002:set":Fs,"tag:yaml.org,2002:timestamp":vs};function Ss(s,e,t){const n=fn.get(e);if(n&&!s)return t&&!n.includes(Ot)?n.concat(Ot):n.slice();let i=n;if(!i)if(Array.isArray(s))i=[];else{const o=Array.from(fn.keys()).filter(r=>r!=="yaml11").map(r=>JSON.stringify(r)).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${o} or define customTags array`)}if(Array.isArray(s))for(const o of s)i=i.concat(o);else typeof s=="function"&&(i=s(i.slice()));return t&&(i=i.concat(Ot)),i.reduce((o,r)=>{const l=typeof r=="string"?hn[r]:r;if(!l){const c=JSON.stringify(r),d=Object.keys(hn).map(v=>JSON.stringify(v)).join(", ");throw new Error(`Unknown custom tag ${c}; use one of ${d}`)}return o.includes(l)||o.push(l),o},[])}const yi=(s,e)=>s.key<e.key?-1:s.key>e.key?1:0;class Xs{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:i,schema:o,sortMapEntries:r,toStringDefaults:l}){this.compat=Array.isArray(e)?Ss(e,"compat"):e?Ss(null,e):null,this.name=typeof o=="string"&&o||"core",this.knownTags=i?gi:{},this.tags=Ss(t,this.name,n),this.toStringOptions=l??null,Object.defineProperty(this,Ia,{value:jt}),Object.defineProperty(this,_t,{value:fs}),Object.defineProperty(this,Oa,{value:Mt}),this.sortMapEntries=typeof r=="function"?r:r===!0?yi:null}clone(){const e=Object.create(Xs.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}function bi(s,e){const t=[];let n=e.directives===!0;if(e.directives!==!1&&s.directives){const c=s.directives.toString(s);c?(t.push(c),n=!0):s.directives.docStart&&(n=!0)}n&&t.push("---");const i=Ca(s,e),{commentString:o}=i.options;if(s.commentBefore){t.length!==1&&t.unshift("");const c=o(s.commentBefore);t.unshift(ts(c,""))}let r=!1,l=null;if(s.contents){if($s(s.contents)){if(s.contents.spaceBefore&&n&&t.push(""),s.contents.commentBefore){const v=o(s.contents.commentBefore);t.push(ts(v,""))}i.forceBlockIndent=!!s.comment,l=s.contents.comment}const c=l?void 0:()=>r=!0;let d=rn(s.contents,i,()=>l=null,c);l&&(d+=Ea(d,"",o(l))),(d[0]==="|"||d[0]===">")&&t[t.length-1]==="---"?t[t.length-1]=`--- ${d}`:t.push(d)}else t.push(rn(s.contents,i));if(s.directives?.docEnd)if(s.comment){const c=o(s.comment);c.includes(`
|
|
3
3
|
`)?(t.push("..."),t.push(ts(c,""))):t.push(`... ${c}`)}else t.push("...");else{let c=s.comment;c&&r&&(c=c.replace(/^\n+/,"")),c&&((!r||l)&&t[t.length-1]!==""&&t.push(""),t.push(ts(o(c),"")))}return t.join(`
|
|
4
4
|
`)+`
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{o as Ct}from"../chunks/BGINfGsV.js";import{aV as Sr,be as Cr,bD as Rr,k as lt,p as dt,i as s,N as Ut,h as e,M as it,m as u,s as o,x as pt,f as re,a as d,r as i,o as L,t as I,d as R,b as ct,e as B,q as S,v as ht,n as Re,w as ze,c as m,a7 as It,ag as st,J as fr,y as $t,l as Tr,G as rr,$ as Ar}from"../chunks/L-6wuY5f.js";import{s as Vt,r as Yt,i as k,p as gt}from"../chunks/COiIt96y.js";import{e as Ke,i as Kt,s as Te,a as Ee,r as yt,g as qr,k as Ir,b as Pr,h as Er}from"../chunks/DGy76IbW.js";import{b as kt}from"../chunks/DxGQT-Hz.js";import{b as Ur,g as Bt}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{o as Ct}from"../chunks/BGINfGsV.js";import{aV as Sr,be as Cr,bD as Rr,k as lt,p as dt,i as s,N as Ut,h as e,M as it,m as u,s as o,x as pt,f as re,a as d,r as i,o as L,t as I,d as R,b as ct,e as B,q as S,v as ht,n as Re,w as ze,c as m,a7 as It,ag as st,J as fr,y as $t,l as Tr,G as rr,$ as Ar}from"../chunks/L-6wuY5f.js";import{s as Vt,r as Yt,i as k,p as gt}from"../chunks/COiIt96y.js";import{e as Ke,i as Kt,s as Te,a as Ee,r as yt,g as qr,k as Ir,b as Pr,h as Er}from"../chunks/DGy76IbW.js";import{b as kt}from"../chunks/DxGQT-Hz.js";import{b as Ur,g as Bt}from"../chunks/_7N5fmOy.js";import{B as $e}from"../chunks/BHsdHLbF.js";import{c as Nr}from"../chunks/BWJa0dU7.js";import{S as ar}from"../chunks/BXN538J3.js";import{c as Dr}from"../chunks/CrCQ2NNA.js";import{h as St,m as Nt}from"../chunks/C6BQPSOs.js";import{b as xt}from"../chunks/Da92_52d.js";import{D as Ge,C as Or}from"../chunks/CtlVBKf-.js";import{d as nr}from"../chunks/Db0WMrvR.js";import{L as bt}from"../chunks/Brlpgp90.js";import{A as Wr}from"../chunks/B1XxiJam.js";import{R as or,P as zr,T as Mr}from"../chunks/FQ69txbU.js";import{k as Lr}from"../chunks/CkFDaaNz.js";import{X as Qt}from"../chunks/BUo4hMcM.js";import{I as Xt}from"../chunks/CQlHU-Rx.js";import{A as Jr}from"../chunks/OeqXO44y.js";import{A as $r}from"../chunks/CeYIQAXD.js";import{C as Br}from"../chunks/BR5v76-T.js";import{a as sr}from"../chunks/DKQe4Tss.js";import{C as Fr}from"../chunks/Bfi4vm-w.js";import{H as Hr}from"../chunks/C-xrRA1Y.js";const Gr=[];function ir(r,t=!1,n=!1){return Et(r,new Map,"",Gr,null,n)}function Et(r,t,n,h,a=null,b=!1){if(typeof r=="object"&&r!==null){var C=t.get(r);if(C!==void 0)return C;if(r instanceof Map)return new Map(r);if(r instanceof Set)return new Set(r);if(Sr(r)){var x=Array(r.length);t.set(r,x),a!==null&&t.set(a,x);for(var O=0;O<r.length;O+=1){var me=r[O];O in r&&(x[O]=Et(me,t,n,h,null,b))}return x}if(Cr(r)===Rr){x={},t.set(r,x),a!==null&&t.set(a,x);for(var H of Object.keys(r))x[H]=Et(r[H],t,n,h,null,b);return x}if(r instanceof Date)return r.getTime(),structuredClone(r);if(typeof r.toJSON=="function"&&!b)return Et(r.toJSON(),t,n,h,r)}if(r instanceof EventTarget)return r;try{return structuredClone(r)}catch{return r}}var Kr=new Set(["$$slots","$$events","$$legacy"]);function lr(r,t){let n=Yt(t,Kr);const h={name:"file-plus-corner",size:24,node:[["path",{d:"M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5"}],["path",{d:"M14 19h6"}],["path",{d:"M17 16v6"}]],aliases:["file-plus-2"]};Xt(r,Vt(()=>n,{get icon(){return h}}))}var Vr=new Set(["$$slots","$$events","$$legacy"]);function Yr(r,t){let n=Yt(t,Vr);const h={name:"image-plus",size:24,node:[["path",{d:"M16 5h6"}],["path",{d:"M19 2v6"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"}],["circle",{cx:"9",cy:"9",r:"2"}]]};Xt(r,Vt(()=>n,{get icon(){return h}}))}var Qr=new Set(["$$slots","$$events","$$legacy"]);function dr(r,t){let n=Yt(t,Qr);const h={name:"message-square-plus",size:24,node:[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"}],["path",{d:"M12 8v6"}],["path",{d:"M9 11h6"}]]};Xt(r,Vt(()=>n,{get icon(){return h}}))}const cr=r=>{var t=Xr(),n=u(t);Or(n,{class:"size-4"}),i(t),d(r,t)};var Xr=m('<span class="flex size-7 shrink-0 items-center justify-center rounded-full border border-brass bg-card text-sea" aria-hidden="true"><!></span>'),Zr=m(`<div class="rounded-lg border border-dashed border-hair p-5"><h2 class="font-display text-xl font-medium">What do you want built?</h2> <p class="mt-2 max-w-prose text-sm text-muted-foreground">Describe the idea in a sentence or two. The interviewer asks one question at a time,
|
|
2
2
|
offers answers with the one it recommends, and writes the spec alongside as you go.
|
|
3
3
|
Comment on anything in the spec and it will be addressed. When it is ready, send it to
|
|
4
4
|
build.</p></div>`),ea=m('<span class="ml-1.5 text-[0.7rem] font-medium tracking-wide text-brass uppercase">Recommended</span>'),ta=m("<button> <!></button>"),ra=m('<div class="mt-2 flex flex-wrap gap-2" role="group" aria-label="Suggested answers"></div>'),aa=m('<div class="flex items-start gap-3"><!> <div class="min-w-0 flex-1"><p class="mb-1 text-xs text-muted-foreground"><span class="font-semibold text-foreground">Interviewer</span></p> <div class="bubble bubble-firstmate chat-md text-[0.95rem]"><!></div> <!></div></div>'),ur=m('<div class="flex justify-end"><div class="bubble bubble-captain max-w-[85%] text-[0.95rem]"> </div></div>'),na=m('<div class="bubble bubble-firstmate chat-md text-[0.95rem]"><!></div>'),oa=m('<div class="flex items-start gap-3"><!> <div class="min-w-0 flex-1"><p class="mb-1 flex items-center gap-2 text-xs text-muted-foreground"><span class="font-semibold text-foreground">Interviewer</span> <!> </p> <!></div></div>'),sa=m(`<p class="rounded-md border border-sea/40 bg-sea/5 px-4 py-3 text-sm">The interviewer thinks the spec is ready. Read it over, comment on anything that is off, and
|
|
Binary file
|