@chrisjowen/wheelhouse 0.18.1 → 0.19.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 +7 -6
- package/build/client/_app/immutable/assets/0.Bv6SelNG.css +1 -0
- package/build/client/_app/immutable/assets/0.Bv6SelNG.css.br +0 -0
- package/build/client/_app/immutable/assets/0.Bv6SelNG.css.gz +0 -0
- package/build/client/_app/immutable/chunks/{D2Frmdzl.js → -fAn-QZ6.js} +1 -1
- package/build/client/_app/immutable/chunks/-fAn-QZ6.js.br +0 -0
- package/build/client/_app/immutable/chunks/-fAn-QZ6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BL011DGQ.js → 2AbYRrJA.js} +1 -1
- package/build/client/_app/immutable/chunks/2AbYRrJA.js.br +0 -0
- package/build/client/_app/immutable/chunks/2AbYRrJA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DglJ92hi.js → 5DXsVwmq.js} +1 -1
- package/build/client/_app/immutable/chunks/5DXsVwmq.js.br +0 -0
- package/build/client/_app/immutable/chunks/5DXsVwmq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/5j8_HxjF.js +1 -0
- package/build/client/_app/immutable/chunks/5j8_HxjF.js.br +0 -0
- package/build/client/_app/immutable/chunks/5j8_HxjF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CspN1OJw.js → BT6Y01Hq.js} +1 -1
- package/build/client/_app/immutable/chunks/BT6Y01Hq.js.br +0 -0
- package/build/client/_app/immutable/chunks/BT6Y01Hq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{JUzTNcjv.js → BVJ0lC5K.js} +1 -1
- package/build/client/_app/immutable/chunks/BVJ0lC5K.js.br +0 -0
- package/build/client/_app/immutable/chunks/BVJ0lC5K.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BSBcdyd3.js → Baxoev3a.js} +1 -1
- package/build/client/_app/immutable/chunks/Baxoev3a.js.br +1 -0
- package/build/client/_app/immutable/chunks/Baxoev3a.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CoQMrCtk.js → BeZgLQLl.js} +1 -1
- package/build/client/_app/immutable/chunks/BeZgLQLl.js.br +0 -0
- package/build/client/_app/immutable/chunks/BeZgLQLl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BDtt0Y7t.js → CDrKIy6b.js} +1 -1
- package/build/client/_app/immutable/chunks/CDrKIy6b.js.br +0 -0
- package/build/client/_app/immutable/chunks/CDrKIy6b.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{I4bsCfS2.js → CGVyv1kv.js} +1 -1
- package/build/client/_app/immutable/chunks/CGVyv1kv.js.br +0 -0
- package/build/client/_app/immutable/chunks/{I4bsCfS2.js.gz → CGVyv1kv.js.gz} +0 -0
- package/build/client/_app/immutable/chunks/{Cpxqeawy.js → CGgU6JcF.js} +1 -1
- package/build/client/_app/immutable/chunks/CGgU6JcF.js.br +0 -0
- package/build/client/_app/immutable/chunks/CGgU6JcF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CW2qBe0U.js +1 -0
- package/build/client/_app/immutable/chunks/CW2qBe0U.js.br +0 -0
- package/build/client/_app/immutable/chunks/CW2qBe0U.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CzBY7r8x.js → Cg9h9TA_.js} +1 -1
- package/build/client/_app/immutable/chunks/Cg9h9TA_.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cg9h9TA_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{luPa70aT.js → CiyFCD_Y.js} +1 -1
- package/build/client/_app/immutable/chunks/CiyFCD_Y.js.br +0 -0
- package/build/client/_app/immutable/chunks/CiyFCD_Y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CtiH9jvV.js → CyEUF6kH.js} +1 -1
- package/build/client/_app/immutable/chunks/CyEUF6kH.js.br +0 -0
- package/build/client/_app/immutable/chunks/CyEUF6kH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Dcf7qESD.js → D4YFdJ2K.js} +1 -1
- package/build/client/_app/immutable/chunks/D4YFdJ2K.js.br +0 -0
- package/build/client/_app/immutable/chunks/D4YFdJ2K.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{COSi3XeB.js → DR64qHvI.js} +1 -1
- package/build/client/_app/immutable/chunks/DR64qHvI.js.br +0 -0
- package/build/client/_app/immutable/chunks/DR64qHvI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DTsBbwsD.js +1 -0
- package/build/client/_app/immutable/chunks/DTsBbwsD.js.br +0 -0
- package/build/client/_app/immutable/chunks/DTsBbwsD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Bj-Gheej.js → OWl_aob1.js} +1 -1
- package/build/client/_app/immutable/chunks/OWl_aob1.js.br +0 -0
- package/build/client/_app/immutable/chunks/OWl_aob1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Vkbb4g2s.js +2 -0
- package/build/client/_app/immutable/chunks/Vkbb4g2s.js.br +0 -0
- package/build/client/_app/immutable/chunks/Vkbb4g2s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_snkxcQo.js +5 -0
- package/build/client/_app/immutable/chunks/_snkxcQo.js.br +0 -0
- package/build/client/_app/immutable/chunks/_snkxcQo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Deh9Yuoc.js → gXQLD015.js} +1 -1
- package/build/client/_app/immutable/chunks/gXQLD015.js.br +0 -0
- package/build/client/_app/immutable/chunks/gXQLD015.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C_QL6rvF.js → qLcA5kFM.js} +1 -1
- package/build/client/_app/immutable/chunks/qLcA5kFM.js.br +0 -0
- package/build/client/_app/immutable/chunks/qLcA5kFM.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.Cqo400M3.js +2 -0
- package/build/client/_app/immutable/entry/app.Cqo400M3.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Cqo400M3.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.Ce2sGdnV.js +1 -0
- package/build/client/_app/immutable/entry/start.Ce2sGdnV.js.br +0 -0
- package/build/client/_app/immutable/entry/start.Ce2sGdnV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.BDEsJAC6.js +9 -0
- package/build/client/_app/immutable/nodes/0.BDEsJAC6.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.BDEsJAC6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.BGpUfjP8.js → 1.BAdh5fLI.js} +1 -1
- package/build/client/_app/immutable/nodes/1.BAdh5fLI.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BAdh5fLI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{10.Dqja5Hy7.js → 10.BdqmXPBq.js} +1 -1
- package/build/client/_app/immutable/nodes/10.BdqmXPBq.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.BdqmXPBq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{11.C2hpIuul.js → 11.C7GVGBrp.js} +1 -1
- package/build/client/_app/immutable/nodes/11.C7GVGBrp.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.C7GVGBrp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{12.D9gnyWPh.js → 12.CfCz32Hl.js} +1 -1
- package/build/client/_app/immutable/nodes/12.CfCz32Hl.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.CfCz32Hl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{13.DL0THiQT.js → 13.CerB5X05.js} +1 -1
- package/build/client/_app/immutable/nodes/13.CerB5X05.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.CerB5X05.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{14.zHzRn1L0.js → 14.B0msOOIX.js} +1 -1
- package/build/client/_app/immutable/nodes/14.B0msOOIX.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.B0msOOIX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{15.CxiJzXJw.js → 15.CU_96PAW.js} +1 -1
- package/build/client/_app/immutable/nodes/15.CU_96PAW.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.CU_96PAW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{16.ltkCLaiY.js → 16.ZuUMnj98.js} +1 -1
- package/build/client/_app/immutable/nodes/16.ZuUMnj98.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.ZuUMnj98.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{17.8mjwurTl.js → 17.BSv9bFuE.js} +1 -1
- package/build/client/_app/immutable/nodes/17.BSv9bFuE.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.BSv9bFuE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{19.DIpFUdcm.js → 19.EQTYVr90.js} +1 -1
- package/build/client/_app/immutable/nodes/19.EQTYVr90.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.EQTYVr90.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.9EupRWC-.js +28 -0
- package/build/client/_app/immutable/nodes/2.9EupRWC-.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.9EupRWC-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{20.BP6YYSQm.js → 20.D5cIPU-z.js} +1 -1
- package/build/client/_app/immutable/nodes/20.D5cIPU-z.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.D5cIPU-z.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{21.lQoTeuLN.js → 21.DK75zAW4.js} +1 -1
- package/build/client/_app/immutable/nodes/21.DK75zAW4.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.DK75zAW4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{22.DmHOHt5L.js → 22.Clcens7W.js} +1 -1
- package/build/client/_app/immutable/nodes/22.Clcens7W.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.Clcens7W.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{23.D7UbkVJG.js → 23.B7G5quJX.js} +1 -1
- package/build/client/_app/immutable/nodes/23.B7G5quJX.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.B7G5quJX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{24.B6o--6Mq.js → 24.DonaWknP.js} +1 -1
- package/build/client/_app/immutable/nodes/24.DonaWknP.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.DonaWknP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.Dw_k3X_t.js +23 -0
- package/build/client/_app/immutable/nodes/25.Dw_k3X_t.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.Dw_k3X_t.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{26.CbeAF_H2.js → 26.C8O2VDmM.js} +1 -1
- package/build/client/_app/immutable/nodes/26.C8O2VDmM.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.C8O2VDmM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{28.D3Nqqpa-.js → 28.zLgUNaHR.js} +1 -1
- package/build/client/_app/immutable/nodes/28.zLgUNaHR.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.zLgUNaHR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.BgWGx5YP.js → 3.Bf4Qi1i3.js} +1 -1
- package/build/client/_app/immutable/nodes/3.Bf4Qi1i3.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.Bf4Qi1i3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.CmSxKRLa.js → 4.CO6-aByj.js} +1 -1
- package/build/client/_app/immutable/nodes/4.CO6-aByj.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CO6-aByj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.CExYN4s7.js → 6.B56rBCgR.js} +1 -1
- package/build/client/_app/immutable/nodes/6.B56rBCgR.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.B56rBCgR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.B5DaW8rR.js → 7.CtYzZ1HY.js} +1 -1
- package/build/client/_app/immutable/nodes/7.CtYzZ1HY.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.CtYzZ1HY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{8.BAxGmD9j.js → 8.N9QG5-DU.js} +1 -1
- package/build/client/_app/immutable/nodes/8.N9QG5-DU.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.N9QG5-DU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.B05Fdcd3.js → 9.aHwzcVbZ.js} +1 -1
- package/build/client/_app/immutable/nodes/9.aHwzcVbZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.aHwzcVbZ.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/{DecisionCard.js-BGSPGiMJ.js → DecisionCard.js-BK-7QlF6.js} +2 -2
- package/build/server/chunks/chunks/{OpenDecision.js-D5ZzLDAg.js → OpenDecision.js-ECtCedSr.js} +3 -3
- package/build/server/chunks/chunks/{bell.js-DuW71LLn.js → bell.js-kMMKqlsJ.js} +35 -2
- package/build/server/chunks/chunks/{chat.svelte.js-BcKQjH6T.js → chat.svelte.js-BtY19xS3.js} +10 -2
- package/build/server/chunks/chunks/{detail.js-Cl-2Oh1e.js → detail.js-DfXwWd3N.js} +2 -2
- package/build/server/chunks/chunks/{feedback.js-7UNSvLAt.js → feedback.js-CpU0hBIw.js} +2 -2
- package/build/server/chunks/chunks/{harness.js-C1CYCy4c.js → harness.js-DvhIhjw1.js} +4 -3
- package/build/server/chunks/chunks/{insights.svelte.js-Buez8RTS.js → insights.svelte.js-DZqfDUCl.js} +4 -4
- package/build/server/chunks/chunks/{internal.js-DK7xaPVY.js → internal.js-DpvEcL3m.js} +3 -3
- package/build/server/chunks/chunks/{keychain.js-CJIUvfTQ.js → keychain.js-CUptlCB0.js} +2 -2
- package/build/server/chunks/chunks/{marketplace-service.js-nufBLQts.js → marketplace-service.js-CcEt-Yt_.js} +2 -2
- package/build/server/chunks/chunks/{page.js-BVYP5P0m.js → page.js-CSdkAlGz.js} +3 -3
- package/build/server/chunks/chunks/{previewhelper2.js-DPz8atKx.js → previewhelper2.js-Dz5p1Ak0.js} +2 -2
- package/build/server/chunks/chunks/{starter.js-Bs7SaswL.js → remote.js-B9wIv4yQ.js} +19 -339
- package/build/server/chunks/chunks/{repo.js-CPooM_kq.js → repo.js-n0uiFQ_1.js} +2 -2
- package/build/server/chunks/chunks/{runtime.js-Bj0q2OTu.js → runtime.js-D8WQmN9S.js} +580 -60
- package/build/server/chunks/chunks/{service.js-VAj_rquU.js → service.js-vvxAXEiD.js} +2 -2
- package/build/server/chunks/chunks/{service2.js-CbbDamOZ.js → service2.js-BbGi9Cq9.js} +24 -9
- package/build/server/chunks/chunks/starter.js-DzoT_I2j.js +333 -0
- package/build/server/chunks/chunks/{terminal.js-D6YKc4IS.js → terminal.js-BE8dA5Np.js} +19 -5
- package/build/server/chunks/chunks/{view.js-BiofJDNZ.js → view.js-tnJNOMBI.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/apps/_op_/{_server.ts.js-Bjepmw90.js → _server.ts.js-YypBbX7Z.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/cloud/{_server.ts.js-BkCwjJYX.js → _server.ts.js-C0uCNqUj.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/cloud/previews/{_server.ts.js-CXvN0rdQ.js → _server.ts.js-BesIsQP0.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/events/{_server.ts.js-v08IH4y_.js → _server.ts.js-M4ucOHu3.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/files/{_server.ts.js-d0XuZob6.js → _server.ts.js-DgeIgY-t.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/{_server.ts.js-CZEvtgmJ.js → _server.ts.js-lSl82WdD.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/{_server.ts.js-DojVtSlb.js → _server.ts.js-CkUo3Q-h.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/{_server.ts.js-DXBMuJxa.js → _server.ts.js-o9QvLY3R.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/input/{_server.ts.js-CL2HsmMI.js → _server.ts.js-CM5SUIBy.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/{_server.ts.js-Bi8yHsen.js → _server.ts.js-Dt0KDwmj.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/{_server.ts.js-CiPPnBqE.js → _server.ts.js-DCLz7kjl.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/{_server.ts.js-Dm0WehBE.js → _server.ts.js-2U13zCFK.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/{_server.ts.js-CmK0bQFV.js → _server.ts.js-DT31dvZa.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-C4O_w6UX.js +62 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/start/{_server.ts.js-CIR1beQf.js → _server.ts.js-L-Hjg9xg.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/fleet/{_server.ts.js-B7G60uTf.js → _server.ts.js-DgHjNrJe.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/gateway/{_server.ts.js-BKqRzjah.js → _server.ts.js-CRltDuWU.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-DxYmytE-.js → _server.ts.js-DlLRrX7c.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/inbox/{_server.ts.js-BHywbWob.js → _server.ts.js-CZgUVpTR.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/inbox/report/{_server.ts.js-CK3DFFDx.js → _server.ts.js-DUyWZ3-9.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/insights/{_server.ts.js-AUTZjM3m.js → _server.ts.js-2CyCBr_6.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/{_server.ts.js-COr7_-xt.js → _server.ts.js-CTkXGNLV.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/{_server.ts.js-DdgCnxxi.js → _server.ts.js-ChgUhOxs.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/{_server.ts.js-B-Bt7Bbc.js → _server.ts.js-NmoI6TdE.js} +8 -8
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/{_server.ts.js-DI9Fk8K7.js → _server.ts.js-BAQlQe2s.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/{_server.ts.js-BQvP1Q-R.js → _server.ts.js-D5XxEnCu.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/{_server.ts.js-CmtQrDJT.js → _server.ts.js-BGXT3UEn.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/{_server.ts.js-CU0RTwoG.js → _server.ts.js-CMVRpUZA.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/{_server.ts.js-Bdirqc6N.js → _server.ts.js-Bu9fx6v5.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/{_server.ts.js-EbyqpOEx.js → _server.ts.js-ktP3gud-.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/install/{_server.ts.js-BwkGtYFQ.js → _server.ts.js-DQBZvXwa.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/{_server.ts.js-CYD7YCIF.js → _server.ts.js-DkgeagPj.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/{_server.ts.js-gmMaK6QY.js → _server.ts.js-Ca-EjclY.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/{_server.ts.js-D43_Ml9Y.js → _server.ts.js-CHcP9p9j.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/plugins/roles/{_server.ts.js-BEUuxHTl.js → _server.ts.js-DEUeoZL0.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/updates/{_server.ts.js-C1xwZyfT.js → _server.ts.js-Cma7QVTl.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/previews/check/{_server.ts.js-qZdJXsGA.js → _server.ts.js-B3OF42Nq.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/{_server.ts.js-BM-c0-Ju.js → _server.ts.js-DsdF_bjf.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/{_server.ts.js-CHIAK59y.js → _server.ts.js-BYQjR_si.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/{_server.ts.js-CH1IHuDe.js → _server.ts.js-ChDPakdg.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/{_server.ts.js-DgeSMGot.js → _server.ts.js-DeJijkDf.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/{_server.ts.js-BQQc8aTH.js → _server.ts.js-Dymz4f3q.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/{_server.ts.js-D92Af8_M.js → _server.ts.js-CeqzeUZk.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/{_server.ts.js-7v53Dp0B.js → _server.ts.js-BP_16c0K.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/services/{_server.ts.js-cTrwNrLS.js → _server.ts.js-CFk-87JF.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/setup/{_server.ts.js-CmmK_jyt.js → _server.ts.js-9cAQuLKz.js} +10 -8
- package/build/server/chunks/entries/endpoints/api/slots/{_server.ts.js-D7-4JbRn.js → _server.ts.js-B1kwbXQm.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/{_server.ts.js-BI5hlIlZ.js → _server.ts.js-DjqQGx3a.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/{_server.ts.js-DIP-NQ7a.js → _server.ts.js-DDMf0gyd.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/{_server.ts.js-BP9_6wCq.js → _server.ts.js-Dp3vd0K4.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/{_server.ts.js-BxO3Yh5r.js → _server.ts.js-D-s6wA_g.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/{_server.ts.js-jojxY4wz.js → _server.ts.js-J9_uC4S-.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/{_server.ts.js-BAgqe8_d.js → _server.ts.js-Bd0wU1SA.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/vault/{_server.ts.js-DBYZ3kuk.js → _server.ts.js-BezlvrlP.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/{_server.ts.js-Bvrz69xX.js → _server.ts.js-DZ0sSfFq.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/{_server.ts.js-CAOg-IEp.js → _server.ts.js-BOL3EB6d.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/{_server.ts.js-CGEnB-6H.js → _server.ts.js-91XVVYwO.js} +2 -2
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/{_server.ts.js-BL2svrRm.js → _server.ts.js-TYjteIH9.js} +6 -6
- package/build/server/chunks/entries/{hooks.server.js-BEXBvrCk.js → hooks.server.js-y6GqC__K.js} +6 -6
- package/build/server/chunks/entries/pages/{_layout.server.ts.js-D3NceNiH.js → _layout.server.ts.js-CWR6gzcz.js} +15 -3
- package/build/server/chunks/entries/pages/{_layout.svelte.js-CuWnZ-US.js → _layout.svelte.js-BDIlEQ9G.js} +20 -7
- package/build/server/chunks/entries/pages/{_page.server.ts.js-DspaiJqP.js → _page.server.ts.js-ClSaGoxW.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.svelte.js-dxbEuRWy.js → _page.svelte.js-DAV9f-2z.js} +96 -16
- package/build/server/chunks/entries/pages/decisions/{_page.server.ts.js-BmPOLjxU.js → _page.server.ts.js-CmVt5_0H.js} +2 -2
- package/build/server/chunks/entries/pages/deck/{_page.server.ts.js-CCy338c9.js → _page.server.ts.js-Djt-UMHk.js} +2 -2
- package/build/server/chunks/entries/pages/deck/{_page.svelte.js-TazICq1a.js → _page.svelte.js-DYZLLbYM.js} +6 -5
- package/build/server/chunks/entries/pages/files/{_page.server.ts.js-bxjhlft-.js → _page.server.ts.js-BD7N_qlq.js} +2 -2
- package/build/server/chunks/entries/pages/harbour/{_page.server.ts.js-CZFURrsD.js → _page.server.ts.js-BWEvvkXd.js} +2 -2
- package/build/server/chunks/entries/pages/headroom/{_page.server.ts.js-DvR2S3u3.js → _page.server.ts.js-DEnGvqY7.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.server.ts.js-BesipmjT.js → _page.server.ts.js-BcSyMgQ3.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.svelte.js-BOndKRgZ.js → _page.svelte.js-BuV_cnZ4.js} +4 -3
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.server.ts.js-DHdujj6W.js → _page.server.ts.js-DICSJ1yk.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/{_page.server.ts.js-xmIQiuu2.js → _page.server.ts.js-qs8fYjoq.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.server.ts.js-D_Ii0uof.js → _page.server.ts.js-CFVD2206.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/passage/{_page.server.ts.js-n6e3g77p.js → _page.server.ts.js-B_EDdf4-.js} +4 -4
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/{_page.server.ts.js-ZJwXvTNk.js → _page.server.ts.js-CFc6J118.js} +2 -2
- package/build/server/chunks/entries/pages/remotes/{_page.server.ts.js-DbD1fRK0.js → _page.server.ts.js-YlsNimak.js} +2 -2
- package/build/server/chunks/entries/pages/settings/cloud/{_page.server.ts.js-C_UO9VhC.js → _page.server.ts.js-C18thE2p.js} +2 -2
- package/build/server/chunks/entries/pages/settings/gateway/{_page.server.ts.js-DmW9-_yt.js → _page.server.ts.js-D7MA5r8B.js} +2 -2
- package/build/server/chunks/entries/pages/settings/gateway/{_page.svelte.js-7xxA_syu.js → _page.svelte.js-DjdutjT9.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/{_page.server.ts.js-BxdFy--G.js → _page.server.ts.js-D7mFW6BU.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/{_page.server.ts.js-BfkLEaaA.js → _page.server.ts.js-B5PRjcEk.js} +2 -2
- package/build/server/chunks/entries/pages/settings/setup/{_page.server.ts.js-CkR40WPa.js → _page.server.ts.js-BKCf6GI8.js} +2 -2
- package/build/server/chunks/entries/pages/settings/update/{_page.server.ts.js-CN1Ahy44.js → _page.server.ts.js-l9818Zmt.js} +2 -2
- package/build/server/chunks/entries/pages/setup/{_page.server.ts.js-4IWnC99t.js → _page.server.ts.js-CYG3AjLq.js} +3 -3
- package/build/server/chunks/entries/pages/setup/{_page.svelte.js-Beyd7UV-.js → _page.svelte.js-ufidrxf2.js} +237 -62
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.server.ts.js-BOxovAbm.js → _page.server.ts.js-C8yELGLP.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.svelte.js-Pdk-bUSp.js → _page.svelte.js-ClTXM9u_.js} +5 -4
- package/build/server/chunks/entries/pages/tasks/_id_/doc/{_page.server.ts.js-Bmg4TjLJ.js → _page.server.ts.js-DH5FWFco.js} +2 -2
- package/build/server/chunks/entries/pages/time/{_page.server.ts.js-D7R4GOAK.js → _page.server.ts.js-CbGVDBOP.js} +2 -2
- package/build/server/chunks/{handler-Bsxke96k.js → handler-CXCR8Q4K.js} +3 -3
- package/build/server/chunks/{index.js-CcawFdzD.js → index.js-a92jTb4Y.js} +2 -2
- package/build/server/chunks/{manifest.js-DkK5FPTc.js → manifest.js-DlPiZuhP.js} +94 -87
- package/build/server/chunks/nodes/{0.js-Dr88qrfQ.js → 0.js-CvmTbg3U.js} +11 -11
- package/build/server/chunks/nodes/{1.js-D9Gz264j.js → 1.js-BujFb9Zi.js} +2 -2
- package/build/server/chunks/nodes/{10.js-DyFJpcP6.js → 10.js-BvDpsiPS.js} +2 -2
- package/build/server/chunks/nodes/{11.js-CHYjTTCN.js → 11.js-DnB_0WNt.js} +8 -8
- package/build/server/chunks/nodes/{12.js-CMF6MLfu.js → 12.js-DrP06vmh.js} +9 -9
- package/build/server/chunks/nodes/{13.js-Y2UOSc1A.js → 13.js-DIl2HIpF.js} +9 -9
- package/build/server/chunks/nodes/{14.js-B1dU02LJ.js → 14.js-q-yrKOw8.js} +10 -10
- package/build/server/chunks/nodes/{15.js-s36rxaaa.js → 15.js-DRka6ivw.js} +9 -9
- package/build/server/chunks/nodes/{16.js-C_GznDot.js → 16.js-DatqsdMm.js} +10 -10
- package/build/server/chunks/nodes/{17.js-B_z-Yacj.js → 17.js-Cwu5j1MM.js} +2 -2
- package/build/server/chunks/nodes/{19.js-7kkszInA.js → 19.js-Bhq4zmsU.js} +10 -10
- package/build/server/chunks/nodes/{2.js-BoKn8yL8.js → 2.js-D9vYoDxc.js} +9 -9
- package/build/server/chunks/nodes/{20.js-Duw5u3lU.js → 20.js-ByB6AIfc.js} +9 -9
- package/build/server/chunks/nodes/{21.js-DDgwWnZG.js → 21.js-2ShKtow1.js} +8 -8
- package/build/server/chunks/nodes/{22.js-8U2MYvHd.js → 22.js-CFCAypxN.js} +8 -8
- package/build/server/chunks/nodes/{23.js-Dvy1bm8Z.js → 23.js-Cx3oZxN7.js} +10 -10
- package/build/server/chunks/nodes/{24.js-C0hrPaj8.js → 24.js-Cfc2UkWc.js} +4 -4
- package/build/server/chunks/nodes/{25.js-DPILN__F.js → 25.js-BS3_PExv.js} +11 -11
- package/build/server/chunks/nodes/{26.js-g0xLmQX6.js → 26.js-yOfJBY-o.js} +10 -10
- package/build/server/chunks/nodes/{27.js-D-RYuUrP.js → 27.js-Qm4-nQTp.js} +8 -8
- package/build/server/chunks/nodes/{28.js-ChEjRlOd.js → 28.js-DvLWpxRU.js} +8 -8
- package/build/server/chunks/nodes/{3.js-2LHex_7S.js → 3.js-BVx4SYkn.js} +8 -8
- package/build/server/chunks/nodes/{4.js-B0jcFsXF.js → 4.js-BjhjiAF8.js} +9 -9
- package/build/server/chunks/nodes/{5.js-CeqH-HPW.js → 5.js-CSFZToQk.js} +7 -7
- package/build/server/chunks/nodes/{6.js-BuLAK7U9.js → 6.js-CxehRAvY.js} +8 -8
- package/build/server/chunks/nodes/{7.js-Ipoo2cZQ.js → 7.js-BD0AoE9A.js} +8 -8
- package/build/server/chunks/nodes/{8.js-BffjWe3B.js → 8.js-D27Ox14R.js} +9 -9
- package/build/server/chunks/nodes/{9.js-CCDefHMh.js → 9.js-Cpbe7mvE.js} +2 -2
- package/dist/cli.js +33 -10
- package/dist/wh-vault.js +1 -1
- package/package.json +1 -1
- package/skills/manage-wheelhouse/references/operations.md +13 -11
- package/build/client/_app/immutable/assets/0.Dyflbqc4.css +0 -1
- package/build/client/_app/immutable/assets/0.Dyflbqc4.css.br +0 -0
- package/build/client/_app/immutable/assets/0.Dyflbqc4.css.gz +0 -0
- package/build/client/_app/immutable/chunks/BDtt0Y7t.js.br +0 -0
- package/build/client/_app/immutable/chunks/BDtt0Y7t.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BL011DGQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BL011DGQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BSBcdyd3.js.br +0 -2
- package/build/client/_app/immutable/chunks/BSBcdyd3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bj-Gheej.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bj-Gheej.js.gz +0 -0
- package/build/client/_app/immutable/chunks/COSi3XeB.js.br +0 -0
- package/build/client/_app/immutable/chunks/COSi3XeB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CSzf141e.js +0 -1
- package/build/client/_app/immutable/chunks/CSzf141e.js.br +0 -0
- package/build/client/_app/immutable/chunks/CSzf141e.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_4BzEag.js +0 -1
- package/build/client/_app/immutable/chunks/C_4BzEag.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_4BzEag.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_QL6rvF.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_QL6rvF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ClsjySa8.js +0 -1
- package/build/client/_app/immutable/chunks/ClsjySa8.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClsjySa8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CoQMrCtk.js.br +0 -0
- package/build/client/_app/immutable/chunks/CoQMrCtk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cpxqeawy.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cpxqeawy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CspN1OJw.js.br +0 -0
- package/build/client/_app/immutable/chunks/CspN1OJw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CtiH9jvV.js.br +0 -2
- package/build/client/_app/immutable/chunks/CtiH9jvV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CzBY7r8x.js.br +0 -0
- package/build/client/_app/immutable/chunks/CzBY7r8x.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D2Frmdzl.js.br +0 -0
- package/build/client/_app/immutable/chunks/D2Frmdzl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D9kzO4Vy.js +0 -1
- package/build/client/_app/immutable/chunks/D9kzO4Vy.js.br +0 -0
- package/build/client/_app/immutable/chunks/D9kzO4Vy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dcf7qESD.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dcf7qESD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Deh9Yuoc.js.br +0 -0
- package/build/client/_app/immutable/chunks/Deh9Yuoc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DglJ92hi.js.br +0 -0
- package/build/client/_app/immutable/chunks/DglJ92hi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/I4bsCfS2.js.br +0 -0
- package/build/client/_app/immutable/chunks/JUzTNcjv.js.br +0 -0
- package/build/client/_app/immutable/chunks/JUzTNcjv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/cM1ZMvyM.js +0 -2
- package/build/client/_app/immutable/chunks/cM1ZMvyM.js.br +0 -0
- package/build/client/_app/immutable/chunks/cM1ZMvyM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/luPa70aT.js.br +0 -0
- package/build/client/_app/immutable/chunks/luPa70aT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/rwLE2q5W.js +0 -5
- package/build/client/_app/immutable/chunks/rwLE2q5W.js.br +0 -0
- package/build/client/_app/immutable/chunks/rwLE2q5W.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.LCo0tRMU.js +0 -2
- package/build/client/_app/immutable/entry/app.LCo0tRMU.js.br +0 -0
- package/build/client/_app/immutable/entry/app.LCo0tRMU.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.Ce3bAKNA.js +0 -1
- package/build/client/_app/immutable/entry/start.Ce3bAKNA.js.br +0 -0
- package/build/client/_app/immutable/entry/start.Ce3bAKNA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DjC9pa5r.js +0 -9
- package/build/client/_app/immutable/nodes/0.DjC9pa5r.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DjC9pa5r.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BGpUfjP8.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BGpUfjP8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.Dqja5Hy7.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.Dqja5Hy7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.C2hpIuul.js.br +0 -2
- package/build/client/_app/immutable/nodes/11.C2hpIuul.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.D9gnyWPh.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.D9gnyWPh.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.DL0THiQT.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.DL0THiQT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.zHzRn1L0.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.zHzRn1L0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.CxiJzXJw.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.CxiJzXJw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.ltkCLaiY.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.ltkCLaiY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.8mjwurTl.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.8mjwurTl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.DIpFUdcm.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.DIpFUdcm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CarjBwi1.js +0 -26
- package/build/client/_app/immutable/nodes/2.CarjBwi1.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CarjBwi1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.BP6YYSQm.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.BP6YYSQm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.lQoTeuLN.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.lQoTeuLN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.DmHOHt5L.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.DmHOHt5L.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.D7UbkVJG.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.D7UbkVJG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.B6o--6Mq.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.B6o--6Mq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.C4hB5RaJ.js +0 -20
- package/build/client/_app/immutable/nodes/25.C4hB5RaJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.C4hB5RaJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.CbeAF_H2.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.CbeAF_H2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.D3Nqqpa-.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.D3Nqqpa-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.BgWGx5YP.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.BgWGx5YP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.CmSxKRLa.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CmSxKRLa.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.CExYN4s7.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CExYN4s7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.B5DaW8rR.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.B5DaW8rR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.BAxGmD9j.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.BAxGmD9j.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.B05Fdcd3.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.B05Fdcd3.js.gz +0 -0
- package/build/server/chunks/chunks/remote.js-C8NtkvLx.js +0 -13
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{s as yt}from"./RYq3318d.js";import{H as B,N as Y,r as me,n as N,i as je,b as T,s as $,a as Se,f as tt,g as Ie,c as oe,d as be,S as Oe,P as rt,p as I,o as Ne,e as wt,h as vt,u as De,j as bt,w as Et,k as Xe,l as X,m as At,q as nt,t as kt,v as St,x as at}from"./5j8_HxjF.js";import{G as se,a8 as It,A as Rt}from"./BuRWgnCz.js";class te{constructor(t,r){this.status=t,typeof r=="string"?this.body={message:r}:r?this.body=r:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class 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}}const Pt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,Lt=/^\/\((?:[^)]+)\)$/;function Tt(e){const t=[];return{pattern:e==="/"||Lt.test(e)?/^\/$/:new RegExp(`^${jt(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=Pt.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 Ut(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function jt(e){return e.slice(1).split("/").filter(Ut)}function Ot(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,"\\$&")}function Nt({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}=Tt(s),u={id:s,exec:h=>{const w=d.exec(h);if(w)return Ot(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 ot(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ze(e,t,r=JSON.stringify){const n=r(t);try{sessionStorage[e]=n}catch{}}const Dt=-1,xt=-2,Ct=-3,Bt=-4,Mt=-5,$t=-6,Ft=-7,st=2**32-1,Re=st-1;function Vt(e){return!(!Number.isInteger(e)||e<0||e>Re)}function qt(e){return!(!Number.isInteger(e)||e<0||e>st)}function Ht(e){return Uint8Array.fromBase64(e).buffer}function Yt(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Kt(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 Gt=typeof Uint8Array.fromBase64=="function",Xt=typeof process=="object"&&process.versions?.node!==void 0,zt=Gt?Ht:Xt?Yt:Kt;function Wt(e,t){return e}const Jt=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,We=typeof SharedArrayBuffer>"u"?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get,Zt={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{Jt.call(t)}catch(a){if(!We)throw a;We.call(t)}const i=globalThis[e];return r!==void 0?new i(t,r,n):new i(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[Re]=void 0,delete t[Re],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,r)=>{e[t]=r},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,r)=>{e.set(t,r)}},Qt=Object.freeze(Zt);function er(e,t,r){const n=Wt(Qt);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===Dt)return n.fromPrimitive(void 0);if(c===Ct)return n.fromPrimitive(NaN);if(c===Bt)return n.fromPrimitive(1/0);if(c===Mt)return n.fromPrimitive(-1/0);if(c===$t)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(zt(_));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{a[c]=n.fromStringValue(d,l[1]);break}default:throw new Error(`Unknown type ${d}`)}}else if(l[0]===Ft){const d=l[1];if(!qt(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(!Vt(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!==xt&&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 tr(e){return e.filter(t=>t!=null)}const rr="x-sveltekit-invalidated",nr="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 ar(e){return e instanceof Ce?e.text:"Internal Error"}const or="/__data.json",sr=".html__data.json";function ir(e){return e.endsWith(".html")?e.replace(/\.html$/,sr):e.replace(/\/$/,"")+or}async function*cr(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*lr(e){for await(const t of cr(e,`
|
|
2
|
+
`)){const r=t.trim();r&&(yield JSON.parse(r))}}const{onMount:fr}=yt,ur=Rt??(e=>e()),dr=new Set(["icon","shortcut icon","apple-touch-icon"]);let z=null;const x=ot(at)??{},Z=ot(nt)??{},D={url:Xe({}),page:Xe({}),navigating:Et(null),updated:bt()};function Be(e){x[e]=$()}function hr(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 K(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(N)}async function it(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}let Me,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,ct=new Set,q=new Set;let g={branch:[],error:null,url:null,nav:null},Fe=!1,ue=!1,Je=!0,ee=!1,W=!1,lt=!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_or7cfm.data){const{q:a={},p:o={},l:s={},f:c={}}=globalThis.__sveltekit_or7cfm.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?.(),Me=Nt(e),O=document.documentElement,Le=t,Pe=e.nodes[0],ce=e.nodes[1],Pe(),ce(),k=history.state?.[B],R=history.state?.[Y],k||(k=R=Date.now(),history.replaceState({...history.state,[B]:k,[Y]:R},""));const n=x[k];function i(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}r?(i(),await kr(Le,r)):(await H({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 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 ft(e){fe.some(t=>t?.snapshot)&&(Z[e]=fe.map(t=>t?.snapshot?.capture()))}function ut(e){Z[e]?.forEach((t,r)=>{fe[r]?.snapshot?.restore(t)})}function Ze(){Be(k),ze(at,x),ft(R),ze(nt,Z)}async function Ve(e,t,r,n){let i,a;t.invalidateAll&&Q(),await H({type:"goto",url:me(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:r,nav_token:n,accept:()=>{if(t.invalidateAll){re=!0,i=new Set;for(const[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 _r(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 dt(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()};q.forEach(a=>a(i))}ut(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=vt(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:r,error:a,route:o},props:{constructors:tr(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 mr(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?kt(n,i.href,t):St(n,t);return{resolved:i,promise:a}}function Qe(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 gr(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 et({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=gr(g.url,r);let h=!1;{const y=f.map((v,A)=>{const S=g.branch[A],b=!!v?.[0]&&(S?.loader!==v[1]||Qe(h,p,d,u,S.server?.uses,n));return b&&(h=!0),b});if(y.some(Boolean)){try{l=await _t(r,y)}catch(v){const A=await M(v,{url:r,params:n,route:{id:e}});return a&&J.has(a)?et({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&&!Qe(_,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 et({error:await M(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 it(),await K(r);S=await M(v,{params:n,url:r,route:{id:i.id}})}const b=await yr(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 pt(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 yr(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 _t(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 K(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 M(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 wr(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)=>mr(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 wr(e);if(!r)return;const n=vr(r);for(const i of Me){const a=i.exec(n);if(a)return{id:_e(e),invalidating:t,route:i,params:wt(a),url:e}}}}function vr(e){return At(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 ht({url:e,type:t,intent:r,delta:n,event:i,scroll:a}){let o=!1;const s=Ge(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 H({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"?Ge(g,u,t,e):ht({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 K(t,a);m=await pt(t,{id:null},await M(new Ce(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,a)}if(t=u?.url||t,U!==c){h.reject(new Error("navigation aborted"));return}if(!m)return;if(m.type==="redirect"){if(s<20){await H({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 M(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!m)return}else if(m.props.page.status>=400&&await D.updated.check())return await it(),await K(t,a);if(Te(),Be(w),ft(_),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={[B]:k+=b,[Y]:R+=b,[Oe]:o};(a?history.replaceState:history.pushState).call(history,j,"",t),a||hr(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(ct,G=>G(h.navigation)))).filter(G=>typeof G=="function");if(b.length>0){let G=function(){b.forEach(ve=>{q.delete(ve)})};b.push(G),b.forEach(ve=>{q.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():(z=null,ge.$set(m.props),z&&Object.assign(m.props.page,z),De(m.props.page),y=It?.()),lt=!0}else await dt(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&&z&&Object.assign(m.props.page,z);let A=null;if(Je){const b=r?r.scroll:i?$():null;b?scrollTo(b.x,b.y):(A=t.hash&&document.getElementById(gt(t)))?A.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==v&&document.activeElement!==document.body;!n&&!S&&Ir(t,!A),Je=!0,ee=!1,h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=$()),q.forEach(b=>b(h.navigation)),e==="popstate"&&ut(R),D.navigating.set(Se.current=null)}async function pt(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 K(e,i)}let V={element:void 0,href:void 0};function br(){let e,t;O.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{i(s,X.hover)},20)});function r(o){o.defaultPrevented||i(o.composedPath()[0],X.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=tt(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=X.tap;const w=await ne(l,!1);if(!w)return;_r(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===X.viewport&&n.observe(o),l.preload_code===X.eager&&ke(s))}}q.add(a),a()}function M(e,t){if(e instanceof te)return e.body;const r=ie(e),n=ar(e);return E.hooks.handleError({error:e,event:t,status:r,message:n})??{message:n}}function Ke(e,t){fr(()=>(e.add(t),()=>{e.delete(t)}))}function jr(e){Ke(q,e)}function Or(e){Ke($e,e)}function Nr(e){Ke(ct,e)}function Dr(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 xr(){return re=!0,pr()}function Cr(e,t){const r={[B]:k,[Y]:R,[rt]:I.url.href,[Oe]:t};history.replaceState(r,"",me(e)),I.state=t,ge.$set({page:ur(()=>we(I))})}function Ar(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Ze(),!ee){const n=Ge(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"&&Ze()}),navigator.connection?.saveData||br(),O.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=tt(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)){ht({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(W=!0,Be(k),e(n),!s.replace_state)return;W=!1}t.preventDefault(),await new Promise(p=>{requestAnimationFrame(()=>{setTimeout(p,0)}),setTimeout(p,100)}),await H({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(),H({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?.[B]){const r=t.state[B];if(U={},r===k)return;const n=x[r],i=t.state[Oe]??{},a=new URL(t.state[rt]??location.href),o=t.state[Y],s=g.url?be(location)===be(g.url):!1;if(o===R&&(lt||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 H({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(!W){const r=new URL(location.href);e(r),E.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[B]:++k,[Y]:R},"",location.href))});for(const t of document.querySelectorAll("link"))dr.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=Me.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=mt(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 K(new URL(u.location,location.href));d=await ye({status:ie(u),error:await M(u,{url:f,params:i,route:a}),url:f,route:a}),e.textContent="",p=!1}d&&(d.props.page&&(d.props.page.state={}),await dt(d,e,p))}async function _t(e,t){const r=new URL(e);r.pathname=ir(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(nr,"1"),r.searchParams.append(rr,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 er(a,{...E.decoders,Promise:o=>new Promise((s,c)=>{n.set(o,{fulfil:s,reject:c})})})}for await(const a of lr(r)){if(a.type==="redirect")return e(a);if(a.type==="data")a.nodes?.forEach(o=>{o?.type==="data"&&(o.uses=mt(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 mt(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=gt(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 Ge(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 gt(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 a,Or as b,Dr as g,xr as i,Nr as o,Cr as r,Ur as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import{m as g,g as l,v as d,p as X,u as W,A as L,f as Z,s as tt,t as q,a as N,b as et,i as _,o as st,d as nt,c as K,q as C}from"./BuRWgnCz.js";import{i as rt}from"./BDpRITyb.js";import{s as ot}from"./Cwb6d3g_.js";import{b as it}from"./BWRIDih-.js";import{p as P}from"./BAOiF0in.js";import{p as at}from"./Baxoev3a.js";import{S as A}from"./BXN538J3.js";import{r as D}from"./xjN9NojQ.js";import{w as ut}from"./5DXsVwmq.js";import{t as ct}from"./DTsBbwsD.js";const lt=new Set(["127.0.0.1","localhost","0.0.0.0","[::1]"]),dt=e=>Number.isInteger(e)&&e>=1&&e<=65535;function ht(e){const t=e.indexOf("{port}"),s=e.indexOf("/",e.indexOf("://")+3);return t>=0&&(s<0||t<s)}function mt(e){const t=URL.parse(e);if(!t||t.protocol!=="http:"&&t.protocol!=="https:"||t.username||t.password||!lt.has(t.hostname.toLowerCase()))return null;const s=Number(t.port||(t.protocol==="https:"?443:80));return dt(s)?s:null}function F(e,t){const s=mt(e);if(s===null||t.reserved?.includes(s))return e;const r=new URL(e);return`${t.pattern.replace("{port}",String(s)).replace(/\/+$/,"")}${r.pathname}${r.search}${r.hash}`}const V=new Set(["127.0.0.1","localhost"]);function se(e,t){const s="allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox";let r=!0;try{r=new URL(e).origin===t}catch{}return r?s:`${s} allow-same-origin`}const ft=e=>Number.isInteger(e)&&e>=1&&e<=65535;function pt(e){const t=URL.parse(e);if(!t||t.protocol!=="http:"||t.username||t.password||!V.has(t.hostname.toLowerCase()))return null;const s=t.port?Number(t.port):80;return ft(s)?s:null}function gt(e,t,s){const r=t?pt(e):null;if(r===null||!t)return e;const n=s.port||(s.protocol==="https:"?"443":"80");if(V.has(s.hostname.toLowerCase())&&String(r)===n)return e;const i=new URL(e),a=t.replace("{port}",String(r));return`${s.protocol}//${a}${s.port?`:${s.port}`:""}${i.pathname}${i.search}${i.hash}`}class yt{#t=g(null);get to(){return l(this.#t)}set to(t){d(this.#t,t,!0)}#e=g(null);get remote(){return l(this.#e)}set remote(t){d(this.#e,t,!0)}#s=g(null);get hosted(){return l(this.#s)}set hosted(t){d(this.#s,t,!0)}get active(){return!!(this.remote||this.hosted||this.to)}view(t){return this.remote?D(t,this.remote,location.origin):this.hosted?F(t,this.hosted):this.to?gt(t,this.to,location):t}sandbox(t){return this.remote?D(t,this.remote,location.origin):this.hosted&&ht(this.hosted.pattern)?F(t,{pattern:this.hosted.pattern}):t}}const R=new yt;function ne(e){const t=r=>{if(!R.active)return;const n=r.composedPath().find(a=>a instanceof HTMLAnchorElement&&a.hasAttribute("href"));if(!n)return;const i=R.view(n.href);i!==n.href&&(n.href=i)},s=["click","auxclick","contextmenu","dragstart"];for(const r of s)e.addEventListener(r,t,!0);return()=>{for(const r of s)e.removeEventListener(r,t,!0)}}async function kt(e,t,s,r=`wh-${crypto.randomUUID()}`){try{const n=await fetch(`/api/plugins/${encodeURIComponent(e)}/feedback`,{method:"POST",headers:{"content-type":"application/json","idempotency-key":r,[A]:s},body:JSON.stringify(t)});if(n.ok){const a=await n.json().catch(()=>null);return a?.message?.delivery==="failed"?{ok:!1,error:a.message.deliveryDetail??"Firstmate did not take the list."}:{ok:!0,pending:n.status===202}}return{ok:!1,error:(await n.json().catch(()=>null))?.message??`Wheelhouse answered ${n.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}async function bt(e,t,s){try{const r=await fetch(`/api/plugins/${encodeURIComponent(e)}/feedback/summary`,{method:"POST",headers:{"content-type":"application/json",[A]:s},body:JSON.stringify(t)}),n=await r.json().catch(()=>null);return r.ok&&Array.isArray(n?.points)?{ok:!0,points:n.points}:{ok:!1,error:n?.message??`Wheelhouse answered ${r.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}const wt=e=>new URLSearchParams({plugin:e.plugin,service:e.service,...e.project?{project:e.project}:{}}).toString();async function vt(e){try{const t=await fetch(`/api/services?${wt(e)}`);return t.ok?await t.json():null}catch{return null}}async function St(e,t,s=null){const r=window.open("","_blank");try{r?.document.write('<!doctype html><title>Starting…</title><body style="font:15px system-ui;margin:3rem;color:#14213d;background:#f6f2e9">Wheelhouse is starting it; this tab opens it when it answers.</body>')}catch{}let n=null;try{const a=await fetch("/api/services",{method:"POST",headers:{"content-type":"application/json",[A]:t},body:JSON.stringify({plugin:e.plugin,service:e.service,project:e.project??null})});n=a.ok?await a.json():{...await a.json().catch(()=>({})),state:"failed",reason:`Wheelhouse could not start it (${a.status}).`}}catch{n=null}const i=n?.state==="running"?s??n.url:null;if(i){const a=R.view(i);r?r.location.href=a:window.open(a,"_blank")}else r?.close();return n}const xt=5e3,U=new Map;function _t(e,t){let s=U.get(e);return s||(s=t(e).catch(r=>{throw U.delete(e),r}),U.set(e,s)),s}const J=()=>typeof navigator>"u"||!navigator.userActivation?!0:navigator.userActivation.isActive;function Et(e,t){const s=e.pluginId,r=(i,a)=>{if(typeof i!="string"||!i)throw new TypeError("Name a service.");const h=a===void 0?e.projectId:a;return{plugin:s,service:i,project:typeof h=="string"&&h?h:null}},n=i=>{const a=typeof i=="object"&&i!==null?i:{},h=typeof a.task=="string"&&a.task?a.task:e.taskId??null;return h?{taskId:h,subject:typeof a.subject=="string"?a.subject:null,items:Array.isArray(a.items)?a.items:[]}:null};return Object.freeze({pluginId:s,service:async(i,a={})=>t.status(r(i,a.project)),launch:async(i,a={})=>t.launch(r(i,a.project),t.token(),typeof a.open=="string"?a.open:null),sendFeedback:async i=>{if(!(t.clicked??J)())return{ok:!1,error:"Feedback is sent only when the captain clicks to send it."};const a=n(i);return a?t.feedback(s,a,t.token()):{ok:!1,error:"Name the task the feedback is about."}},summariseFeedback:async i=>{if(!(t.clicked??J)())return{ok:!1,error:"Feedback is summarised only when the captain clicks to."};if(!t.summarise)return{ok:!1,error:"This page cannot summarise feedback."};const a=n(i);return a?t.summarise(s,a,t.token()):{ok:!1,error:"Name the task the feedback is about."}}})}async function Tt(e,t){if(!customElements.get(t.tag)){if(!t.ui)throw new Error("this Wheelhouse has no UI bundle for it");try{await _t(t.ui,t.importer??(n=>import(n)))}catch(n){throw new Error(`its UI bundle did not load (${n instanceof Error?n.message:String(n)})`)}let r;try{await Promise.race([customElements.whenDefined(t.tag),new Promise((n,i)=>{r=setTimeout(()=>i(new Error(`its UI bundle does not define <${t.tag}>`)),t.timeoutMs??xt)})])}finally{clearTimeout(r)}}const s=document.createElement(t.tag);return t.host&&(s.host=t.host),s.entry=t.entry,s.data=t.data,e.append(s),s}var At=K('<p class="text-sm text-muted-foreground"> </p>'),jt=K('<div class="contents"></div> <!>',1);function re(e,t){X(t,!0);let s=P(t,"preview",3,void 0),r=P(t,"quiet",3,!1);const n=_(()=>"element"in t.entry.render?t.entry.render.element:""),i=_(()=>t.entry.ui??null);let a=g(null),h=g(null),b=g(null);W(()=>{if(!l(a)||!l(n))return;const k=l(a);let v=!1,T=null;return d(b,null),Tt(k,{tag:l(n),ui:l(i),data:L(()=>t.data),entry:L(()=>t.entry),host:Et(L(()=>t.entry),{status:vt,launch:St,feedback:kt,summarise:bt,token:()=>at.data.sessionToken??""}),importer:t.importer}).then(o=>{T=o,v?o.remove():d(h,o,!0)},o=>{v||d(b,o.message,!0)}),()=>{v=!0,T?.remove(),d(h,null)}}),W(()=>{l(h)&&(s()!==void 0&&(l(h).preview=s()),l(h).entry=t.entry,l(h).data=t.data)});var y=jt(),x=Z(y);it(x,k=>d(a,k),()=>l(a));var E=tt(x,2);{var w=k=>{var v=At(),T=st(v);q(()=>nt(T,`Not available. The ${t.entry.pluginId??""} plugin’s element could not be shown: ${l(b)??""}.`)),N(k,v)};rt(E,k=>{l(b)&&!r()&&k(w)})}q(()=>ot(x,"data-plugin-element",l(n))),N(e,y),et()}const It=/^(captain[,.!]?\s*)?(shipshape|all (is )?well|all quiet|nothing (new )?to report)[.!]?$/i,H=/^\[Request interrupted by user/,$t=/\u001b\[[0-9;?]*[A-Za-z]/g,O=e=>String(e??"").split("/").filter(Boolean).pop()??"",M=e=>String(e??"").split(`
|
|
2
|
+
`)[0].trim(),Lt=e=>{try{return new URL(String(e)).host}catch{return String(e??"")}};function Ut(e,t){switch(e){case"Bash":return{verb:"Ran",summary:t.description||M(t.command),noun:["command","commands"]};case"Read":return{verb:"Read",summary:O(t.file_path),noun:["file read","files read"]};case"Edit":case"MultiEdit":return{verb:"Edited",summary:O(t.file_path),noun:["edit","edits"]};case"Write":return{verb:"Wrote",summary:O(t.file_path),noun:["file written","files written"]};case"Grep":return{verb:"Searched code for",summary:String(t.pattern??""),noun:["code search","code searches"]};case"Glob":return{verb:"Listed files",summary:String(t.pattern??""),noun:["file listing","file listings"]};case"WebSearch":return{verb:"Searched the web for",summary:String(t.query??""),noun:["web search","web searches"]};case"WebFetch":return{verb:"Read page",summary:Lt(t.url),noun:["page read","pages read"]};case"Skill":return{verb:"Used skill",summary:String(t.skill??""),noun:["skill","skills"]};case"ToolSearch":return{verb:"Loaded tools",summary:M(t.query),noun:["tool lookup","tool lookups"]};case"Agent":case"Task":return{verb:"Asked a helper",summary:t.description||M(t.prompt),noun:["helper","helpers"]};case"TodoWrite":return{verb:"Updated the plan",summary:"",noun:["plan update","plan updates"]};case"SendMessage":return{verb:"Messaged",summary:String(t.to??""),noun:["message","messages"]};default:{const s=e.match(/^mcp__(.+?)__(.+)$/);return s?{verb:"Used",summary:`${s[2].replace(/_/g," ")} (${s[1]})`,noun:["tool call","tool calls"]}:{verb:"Used",summary:e,noun:["tool call","tool calls"]}}}}function Ot(e){return typeof e=="string"?e:Array.isArray(e)?e.map(t=>t?.type==="text"?String(t.text??""):t?.type==="image"?"[image]":t?.type==="tool_reference"?`[tool: ${t.tool_name??""}]`:`[${t?.type??"item"}]`).join(`
|
|
3
|
+
`):""}const I=e=>e.replace(/<system-reminder>[\s\S]*?<\/system-reminder>/g,"").replace(/<\/?pasted_content(?:\s+id="[^"]*")?\s*>\n?/g,"").trim(),Mt=/<system-reminder>\s*The user sent a new message while you were working:\n([\s\S]*?)(?:\n\nThis is how Claude Code (?:(?!\n\n)[\s\S])*)?\s*<\/system-reminder>/,B=e=>{const t=e.match(Mt);return t&&I(t[1])||null};function $(e,t){const s=e.match(new RegExp(`<${t}>([\\s\\S]*?)</${t}>`));return s?s[1].trim():null}function Y(e){const t=$(e,"command-name");if(!t)return null;const s=$(e,"command-args");return s?`${t} ${s}`:t}function Rt(e){return(Array.isArray(e?.questions)?e.questions:[]).map(s=>({header:String(s?.header??""),question:String(s?.question??""),multiSelect:s?.multiSelect===!0,options:(Array.isArray(s?.options)?s.options:[]).map(r=>({label:String(r?.label??""),description:String(r?.description??"")}))}))}function Wt(e,t){const s=e.toolUseResult?.answers;if(s&&typeof s=="object")return Object.fromEntries(Object.entries(s).map(([n,i])=>[n,String(i)]));const r={};for(const n of t.matchAll(/"([^"]+)"="([^"]*)"/g))r[n[1]]=n[2];return r}function qt(e){const t=[],s=new Map,r=new Map;let n=null,i=null,a=null,h=null,b=!1;const y=()=>{i=null},x=o=>(i||(i={kind:"turn",id:o.uuid,parts:[],at:o.timestamp,durationMs:null,done:!1,interrupted:!1,trigger:b?"background":"captain"},b=!1,t.push(i),a=i),i),E=o=>{const p=x(o),u=p.parts[p.parts.length-1];if(u?.kind==="activity")return u;const c={kind:"activity",id:`${o.uuid}-a`,steps:[]};return p.parts.push(c),c},w=(o,p,u={})=>{y(),b=!1,t.push({kind:"user",id:o.uuid,text:p,at:o.timestamp,queued:!!u.queued,command:!!u.command})},k=(o,p,u,c=o.uuid)=>{i&&E(o).steps.push({kind:"context",id:c,label:p,detail:u})};for(const o of e){if(!o||typeof o!="object"||o.isSidechain)continue;const p=o.timestamp??null;switch(o.type){case"ai-title":n=o.aiTitle??n;break;case"user":{const u=o.message?.content;if(typeof u=="string")if(o.origin?.kind==="task-notification"||u.trimStart().startsWith("<task-notification>"))y(),b=!0;else if(o.isMeta){const c=B(u);c?w(o,c,{queued:!0}):k(o,"Context added",u)}else if(H.test(u.trim()))a&&(a.interrupted=!0);else{const c=Y(u);if(c)w(o,c,{command:!0});else if(!u.includes("<local-command-stdout>")){const m=I(u);m&&w(o,m)}}else if(Array.isArray(u))for(const c of u)if(c?.type==="tool_result"){const m=Ot(c.content),f=s.get(c.tool_use_id);f&&(f.result=m,f.isError=!!c.is_error);const S=r.get(c.tool_use_id);S&&(S.answers=c.is_error?{}:Wt(o,m))}else if(c?.type==="text"){const m=String(c.text??""),f=B(m);if(H.test(m.trim()))a&&(a.interrupted=!0);else if(f)w(o,f,{queued:!0});else if(o.isMeta||o.sourceToolUseID){const S=m.startsWith("Base directory for this skill")?"Skill instructions loaded":"Context added";k(o,S,m,`${o.uuid}-${S}`)}else{const S=I(m);S&&w(o,S)}}else c?.type==="image"&&w(o,"[image]");break}case"assistant":{for(const u of o.message?.content??[])if(u?.type==="thinking"||u?.type==="redacted_thinking"){const c=h&&p?Date.parse(p)-Date.parse(h):null;E(o).steps.push({kind:"thinking",id:`${o.uuid}-th`,ms:c})}else if(u?.type==="tool_use"&&u.name==="AskUserQuestion"){const c={kind:"question",id:u.id,questions:Rt(u.input),answers:null};r.set(u.id,c),x(o).parts.push(c)}else if(u?.type==="tool_use"){const c=Ut(String(u.name),u.input??{}),m={kind:"tool",id:u.id,name:String(u.name),...c,input:u.input,result:null,isError:!1};s.set(u.id,m),E(o).steps.push(m)}else if(u?.type==="text"){if(!String(u.text??"").trim())continue;x(o).parts.push({kind:"text",id:`${o.uuid}-t`,text:u.text})}break}case"attachment":{const u=o.attachment??{};if(u.type==="queued_command"&&typeof u.prompt=="string"&&(u.commandMode??"prompt")==="prompt"){const c=I(u.prompt);c&&w(o,c,{queued:!0})}else if(u.type==="hook_additional_context"){const c=Array.isArray(u.content)?u.content.join(`
|
|
4
|
+
`):String(u.content??"");k(o,`Hook added context${u.hookEvent?` (${u.hookEvent})`:""}`,c)}break}case"system":{if(o.subtype==="turn_duration")a&&(a.durationMs=o.durationMs??null,a.done=!0),y();else if(o.subtype==="away_summary")y(),t.push({kind:"notice",id:o.uuid,title:"While you were away",detail:String(o.content??""),at:o.timestamp});else if(o.subtype==="local_command"){const u=String(o.content??""),c=$(u,"local-command-stdout")??$(u,"local-command-stderr"),m=Y(u);if(m)w(o,m,{command:!0});else if(c!==null){const f=c.replace($t,"").trim();f&&t.push({kind:"output",id:o.uuid,text:f,at:o.timestamp})}}break}}p&&(h=p)}const v=[];return{items:t.filter((o,p)=>{if(o.kind!=="turn"||o.trigger!=="background")return!0;const u=o.parts.filter(f=>f.kind==="text").map(f=>f.text).join(`
|
|
5
|
+
`).trim(),m=!o.parts.some(f=>f.kind==="question")&&(!u||It.test(u));return v.push({id:o.id,at:o.at,durationMs:o.durationMs,done:o.done||p<t.length-1,outcome:m?"quiet":"reported"}),!m}),title:n,checks:v}}function oe(e){const t=new Map;let s=!1,r=0;for(const i of e){if(i.kind==="thinking"&&(s=!0,r+=i.ms??0),i.kind!=="tool")continue;const a=t.get(i.noun[0])??{n:0,noun:i.noun};a.n++,t.set(i.noun[0],a)}const n=[...t.values()].map(i=>`${i.n} ${i.n===1?i.noun[0]:i.noun[1]}`);return n.length?n.join(", "):s?r>=1e3?`Thought for ${Nt(r)}`:"Thought briefly":"Read some context"}function Nt(e){if(e==null||e<0)return"";const t=Math.round(e/1e3);if(t<60)return`${t}s`;const s=Math.floor(t/60);return s<60?`${s}m ${t%60}s`:`${Math.floor(s/60)}h ${s%60}m`}function ie(e){const t=[];for(const s of e)if(s.kind==="turn"){for(const r of s.parts)if(r.kind==="activity")for(const n of r.steps)n.kind==="tool"&&n.result!==null&&n.name.startsWith("mcp__")&&t.push(n.id)}return t}const Ct=2,Q=e=>` ${e.replace(/\s+/g," ").trim()} `,z=e=>e[e.length-1]?.id??null,Pt=(e,t)=>t===null?-1:e.findIndex(s=>s.id===t),G=e=>e?.kind==="turn";function Dt(e,t){const s=new Map;return e.filter(r=>{if(r.state==="sending"||r.state==="failed")return!0;const n=Pt(t,r.after),i=t.slice(n+1);if(r.via==="inbox")return!i.some(G);const a=Q(r.text),h=s.get(a)??0;return i.filter(y=>y.kind==="user"&&Q(y.text).includes(a)).length>h?(s.set(a,h+1),!1):i.filter(y=>G(y)&&y.done).length<Ct})}function ae(e){switch(e.state){case"sending":return"Sending…";case"queued":return"Queued · Firstmate is busy and will read it next";case"failed":return e.error?`Not sent · ${e.error}`:"Not sent";default:return e.via==="inbox"?"In Firstmate’s inbox":"Delivered · waiting for Firstmate"}}const j=6e3;class Ft{#t=g(null);get session(){return l(this.#t)}set session(t){d(this.#t,t,!0)}#e=g(null);get source(){return l(this.#e)}set source(t){d(this.#e,t,!0)}#s=g([]);get records(){return l(this.#s)}set records(t){d(this.#s,t)}#n=g("connecting");get connection(){return l(this.#n)}set connection(t){d(this.#n,t,!0)}#r=g(0);get resets(){return l(this.#r)}set resets(t){d(this.#r,t,!0)}#o=g(!1);get synced(){return l(this.#o)}set synced(t){d(this.#o,t,!0)}#i=g(C([]));get commands(){return l(this.#i)}set commands(t){d(this.#i,t,!0)}#a=_(()=>qt(this.records));get chat(){return l(this.#a)}set chat(t){d(this.#a,t)}#u=_(()=>{const t=this.chat.items[this.chat.items.length-1];return this.session?.busy===!0||t?.kind==="turn"&&!t.done&&!t.interrupted});get working(){return l(this.#u)}set working(t){d(this.#u,t)}#c=_(()=>this.connection==="open"&&this.session?.state==="ours"&&!this.session.picker&&!this.session.menu&&!this.session.signIn&&!this.session.terminal&&this.working);get atWork(){return l(this.#c)}set atWork(t){d(this.#c,t)}#l=_(()=>this.connection==="open"&&this.session?.state==="ours"&&this.session.canSend&&(!!this.session.picker||!!this.session.signIn||!!ct(this.session)));get needsYou(){return l(this.#l)}set needsYou(t){d(this.#l,t)}#d=g(C([]));get outbox(){return l(this.#d)}set outbox(t){d(this.#d,t,!0)}#h=_(()=>Dt(this.outbox,this.chat.items));get pending(){return l(this.#h)}set pending(t){d(this.#h,t)}close=null;connect(){if(this.close)return()=>{};this.synced=!1;const t=s=>{s.addEventListener("session",r=>{this.session=JSON.parse(r.data),this.connection="open"}),s.addEventListener("reset",r=>{this.source=JSON.parse(r.data),this.records=[],this.resets++}),s.addEventListener("records",r=>{const n=[...this.records,...JSON.parse(r.data)];this.records=n.length>j?n.slice(-j):n}),s.addEventListener("replace",r=>{const n=JSON.parse(r.data);this.records=n.length>j?n.slice(-j):n}),s.addEventListener("synced",()=>this.synced=!0)};return this.close=ut("/api/firstmate/chat",t,s=>this.connection=s),this.loadCommands(),()=>{this.close?.(),this.close=null,this.connection="connecting"}}async send(t,s,r,n){return this.prune(),this.outbox.push({id:crypto.randomUUID(),text:t,via:s,state:"sending",error:null,after:z(this.chat.items)}),this.deliver(this.outbox[this.outbox.length-1],r,n)}retry(t,s,r){const n=this.outbox.find(i=>i.id===t);!n||n.state!=="failed"||(n.after=z(this.chat.items),this.deliver(n,s,r))}dismiss(t){this.outbox=this.outbox.filter(s=>s.id!==t)}async deliver(t,s,r){t.state="sending",t.error=null;const n=t.via==="inbox"?await Ht(t.text,s):await Jt("/api/firstmate/input",s,{text:t.text});return n.ok?t.state=r&&t.via==="session"?"queued":"delivered":(t.state="failed",t.error=n.error),n}prune(){const t=new Set(this.pending.map(s=>s.id));this.outbox=this.outbox.filter(s=>t.has(s.id))}async loadCommands(){try{const t=await fetch("/api/firstmate/commands");t.ok&&(this.commands=(await t.json()).commands)}catch{}}}const ue=new Ft;async function Jt(e,t,s){try{const r=await fetch(e,{method:"POST",headers:{"content-type":"application/json",[A]:t},body:JSON.stringify(s??{})});return r.ok?{ok:!0}:{ok:!1,error:(await r.json().catch(()=>null))?.message??`Wheelhouse answered ${r.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}async function Ht(e,t,s=null,r=`wh-${crypto.randomUUID()}`){try{const n=await fetch("/api/firstmate/messages",{method:"POST",headers:{"content-type":"application/json","idempotency-key":r,[A]:t},body:JSON.stringify({text:e,taskId:s})});return n.ok?{ok:!0,pending:n.status===202}:{ok:!1,error:(await n.json().catch(()=>null))?.message??`Wheelhouse answered ${n.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}export{re as P,R as a,V as b,oe as c,Nt as d,ue as e,se as f,Jt as g,ie as h,ae as p,ne as r,Ht as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{aG as Ue,p as ve,j as F,f as l,a as r,b as ge,g as e,h as se,aa as Ve,r as oe,i as P,c as T,l as Ee,m as U,q as Je,s as u,n as W,w as j,v as a,t as ue,d as fe,x as Ke,y as Me,o as Be}from"./BuRWgnCz.js";import{i as V}from"./BDpRITyb.js";import{c as _}from"./DLuhTA05.js";import{l as Qe,r as Ce,a as ze,f as Le}from"./Cwb6d3g_.js";import{a as Te}from"./BMFk7aZ6.js";import{p as C,r as we,s as le}from"./BAOiF0in.js";import{p as Xe}from"./
|
|
1
|
+
import"./DsnmJJEf.js";import{aG as Ue,p as ve,j as F,f as l,a as r,b as ge,g as e,h as se,aa as Ve,r as oe,i as P,c as T,l as Ee,m as U,q as Je,s as u,n as W,w as j,v as a,t as ue,d as fe,x as Ke,y as Me,o as Be}from"./BuRWgnCz.js";import{i as V}from"./BDpRITyb.js";import{c as _}from"./DLuhTA05.js";import{l as Qe,r as Ce,a as ze,f as Le}from"./Cwb6d3g_.js";import{a as Te}from"./BMFk7aZ6.js";import{p as C,r as we,s as le}from"./BAOiF0in.js";import{p as Xe}from"./Baxoev3a.js";import{c as Ye,D as et,b as be,m as tt,a as rt}from"./DVEiwmFn.js";import{D as at,a as st,b as ot,c as lt,d as xe,P as nt,e as it,i as dt,f as ut,m as ft}from"./CGgU6JcF.js";import{s as Ge}from"./B2RyWxmQ.js";import{B as X}from"./C5BN6RHR.js";import{C as vt,d as gt,b as ct,i as pt}from"./CDrKIy6b.js";import{P as mt}from"./DNc9cRsu.js";import{L as _t}from"./CP7u-DWX.js";import{T as ht}from"./kynOtL7x.js";var $t=new Set(["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]),bt=T("<button><!></button>");function xt(H,s){const z=Ue();ve(s,!0);let G=C(s,"id",19,()=>Ye(z)),O=C(s,"ref",15,null),k=C(s,"disabled",3,!1),t=we(s,$t);const p=et.create({id:be(()=>G()),ref:be(()=>O(),m=>O(m)),disabled:be(()=>!!k())}),b=P(()=>tt(t,p.props));var n=F(),f=l(n);{var Z=m=>{var D=F(),E=l(D);Ge(E,()=>s.child,()=>({props:e(b)})),r(m,D)},ne=m=>{var D=bt();Qe(D,()=>({...e(b)}));var E=se(D);Ge(E,()=>s.children??Ve),oe(D),r(m,D)};V(f,m=>{s.child?m(Z):m(ne,-1)})}r(H,n),ge()}var wt=new Set(["$$slots","$$events","$$legacy","ref","type"]);function Oe(H,s){ve(s,!0);let z=C(s,"ref",15,null),G=C(s,"type",3,"button"),O=we(s,wt);var k=F(),t=l(k);_(t,()=>rt,(p,b)=>{b(p,le({"data-slot":"dialog-close",get type(){return G()}},()=>O,{get ref(){return z()},set ref(n){z(n)}}))}),r(H,k),ge()}var yt=new Set(["$$slots","$$events","$$legacy","ref","type"]);function Pt(H,s){ve(s,!0);let z=C(s,"ref",15,null),G=C(s,"type",3,"button"),O=we(s,yt);var k=F(),t=l(k);_(t,()=>xt,(p,b)=>{b(p,le({"data-slot":"dialog-trigger",get type(){return G()}},()=>O,{get ref(){return z()},set ref(n){z(n)}}))}),r(H,k),ge()}var kt=T("<!> ",1),ae=T("<!> <!>",1),Dt=T('<p class="flex items-start gap-2 rounded-md border border-danger/40 px-3 py-2 text-xs text-danger" role="alert"><!> </p>'),It=T("<!>Fetching…",1),St=T('<form class="grid gap-4" id="install-plugin-form"><label class="grid gap-1"><span class="text-xs font-medium">Repository</span> <input name="repository" placeholder="org/repo" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">On github.com, such as chrisjowen/improve.</span></label> <label class="grid gap-1"><span class="text-xs font-medium">Version <span class="font-normal text-muted-foreground">(optional)</span></span> <input name="ref" placeholder="tag, branch or commit" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">Leave it empty for the default branch. A tag keeps it on that release.</span></label> <!></form> <!>',1),At=T('<p class="text-xs text-danger" role="alert"> </p>'),Re=T("<!> <!> <!>",1),Bt=T("<p> </p>");function Jt(H,s){ve(s,!0);let z=C(s,"busy",19,()=>[]),G=C(s,"suggested",3,null),O=C(s,"label",3,"Install plugin"),k=U(!1),t=U("form"),p=U(""),b=U(""),n=U(null),f=U(null),Z=U(Je({}));const ne=P(()=>/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(e(p).trim())),m=P(()=>e(f)?ft(e(f),e(Z)):null),D=()=>Xe.data.sessionToken,E="h-9 rounded-md border border-input bg-background px-2.5 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring";function ye(){a(t,"form"),a(n,null),a(f,null)}async function We(Y){if(Y.preventDefault(),!e(ne)||e(t)==="looking")return;a(t,"looking"),a(n,null);const L=await gt({repo:e(p).trim(),ref:e(b).trim()||null},D());if(!L.ok){a(n,L.error,!0),a(t,"form");return}a(f,L.value,!0),a(Z,dt(L.value),!0),a(t,"review")}async function je(){if(!e(f)||e(m))return;a(t,"saving"),a(n,null);const Y=ct(),L=await pt(e(f),ut(e(Z)),D());if(!L.ok){a(n,L.error,!0),a(t,"review");return}a(t,"restarting"),a(t,await Y?"done":"slow",!0)}var Pe=F(),Fe=l(Pe);_(Fe,()=>it,(Y,L)=>{L(Y,{onOpenChange:J=>{J&&(e(t)==="done"||e(t)==="slow")&&(a(p,""),a(b,""),ye()),J&&e(t)==="form"&&G()&&!e(p)&&a(p,G())},get open(){return e(k)},set open(J){a(k,J,!0)},children:(J,Ct)=>{var ke=ae(),De=l(ke);{const ce=(ee,te)=>{X(ee,le(()=>(te?.()).props,{variant:"outline",size:"sm",children:(Se,pe)=>{var re=kt(),ie=l(re);mt(ie,{});var me=u(ie,1,!0);ue(()=>fe(me,O())),r(Se,re)},$$slots:{default:!0}}))};_(De,()=>Pt,(ee,te)=>{te(ee,{child:ce,$$slots:{child:!0}})})}var He=u(De,2);{let ce=P(()=>e(t)==="saving"||e(t)==="restarting"?"ignore":"close");_(He,()=>at,(ee,te)=>{te(ee,{class:"max-h-[calc(100dvh-2rem)] overflow-y-auto sm:max-w-lg",get interactOutsideBehavior(){return e(ce)},children:(Ie,Se)=>{var pe=ae(),re=l(pe);_(re,()=>st,(x,I)=>{I(x,{children:(h,S)=>{var w=ae(),A=l(w);_(A,()=>ot,(i,v)=>{v(i,{class:"font-display text-lg",children:(q,d)=>{W();var g=j("Install a plugin from GitHub");r(q,g)},$$slots:{default:!0}})});var o=u(A,2);_(o,()=>lt,(i,v)=>{v(i,{children:(q,d)=>{var g=F(),B=l(g);{var $=c=>{var R=j("Check what it is and where it comes from before you install it.");r(c,R)},y=c=>{var R=j(`Wheelhouse fetches the repository, pins the exact commit and shows you its manifest first.
|
|
2
2
|
Nothing runs until you install it.`);r(c,R)};V(B,c=>{e(t)==="review"?c($):c(y,-1)})}r(q,g)},$$slots:{default:!0}})}),r(h,w)},$$slots:{default:!0}})});var ie=u(re,2);{var me=x=>{var I=St(),h=l(I),S=se(h),w=u(se(S),2);Ce(w),ze(w,1,Le(E)),W(2),oe(S);var A=u(S,2),o=u(se(A),2);Ce(o),ze(o,1,Le(E)),W(2),oe(A);var i=u(A,2);{var v=d=>{var g=Dt(),B=se(g);ht(B,{class:"mt-0.5 size-3.5 shrink-0"});var $=u(B,1,!0);oe(g),ue(()=>fe($,e(n))),r(d,g)};V(i,d=>{e(n)&&d(v)})}oe(h);var q=u(h,2);_(q,()=>xe,(d,g)=>{g(d,{children:(B,$)=>{var y=ae(),c=l(y);{const N=(K,M)=>{X(K,le(()=>(M?.()).props,{variant:"ghost",children:(he,Ae)=>{W();var $e=j("Cancel");r(he,$e)},$$slots:{default:!0}}))};_(c,()=>Oe,(K,M)=>{M(K,{child:N,$$slots:{child:!0}})})}var R=u(c,2);{let N=P(()=>!e(ne)||e(t)==="looking");X(R,{type:"submit",form:"install-plugin-form",get disabled(){return e(N)},children:(K,M)=>{var _e=F(),he=l(_e);{var Ae=Q=>{var de=It(),Ne=l(de);_t(Ne,{class:"animate-spin"}),W(),r(Q,de)},$e=Q=>{var de=j("Look it up");r(Q,de)};V(he,Q=>{e(t)==="looking"?Q(Ae):Q($e,-1)})}r(K,_e)},$$slots:{default:!0}})}r(B,y)},$$slots:{default:!0}})}),Ke("submit",h,We),Me("input",w,()=>a(n,null)),Te(w,()=>e(p),d=>a(p,d)),Te(o,()=>e(b),d=>a(b,d)),r(x,I)},Ze=x=>{var I=Re(),h=l(I);nt(h,{get preview(){return e(f)},get busy(){return z()},get answers(){return e(Z)},set answers(o){a(Z,o,!0)}});var S=u(h,2);{var w=o=>{var i=At(),v=Be(i,!0);ue(()=>fe(v,e(n))),r(o,i)};V(S,o=>{e(n)&&o(w)})}var A=u(S,2);_(A,()=>xe,(o,i)=>{i(o,{children:(v,q)=>{var d=ae(),g=l(d);X(g,{variant:"ghost",onclick:ye,children:($,y)=>{W();var c=j("Back");r($,c)},$$slots:{default:!0}});var B=u(g,2);{let $=P(()=>!!e(m)),y=P(()=>e(m)?`${e(m).title} is needed`:void 0);X(B,{onclick:je,get disabled(){return e($)},get title(){return e(y)},children:(c,R)=>{W();var N=j("Install and restart");r(c,N)},$$slots:{default:!0}})}r(v,d)},$$slots:{default:!0}})}),r(x,I)},qe=x=>{var I=Re(),h=l(I);{let o=P(()=>e(f).id),i=P(()=>e(f).commit.slice(0,7)),v=P(()=>e(t)==="saving"||e(t)==="restarting"||e(t)==="done"||e(t)==="slow"?e(t):"saving");vt(h,{get label(){return`Install ${e(o)??""} at ${e(i)??""}`},get phase(){return e(v)}})}var S=u(h,2);{var w=o=>{var i=Bt(),v=Be(i);ue(()=>fe(v,`${e(f).name??""}
|
|
3
3
|
${e(f).version??""} is installed and Wheelhouse restarted. Its row shows whether it loaded.`)),r(o,i)};V(S,o=>{e(t)==="done"&&o(w)})}var A=u(S,2);_(A,()=>xe,(o,i)=>{i(o,{children:(v,q)=>{var d=F(),g=l(d);{const B=($,y)=>{let c=()=>(y?.()).props;{let R=P(()=>e(t)==="saving"||e(t)==="restarting");X($,le(c,{get disabled(){return e(R)},children:(N,K)=>{W();var M=j("Done");r(N,M)},$$slots:{default:!0}}))}};_(g,()=>Oe,($,y)=>{y($,{child:B,$$slots:{child:!0}})})}r(v,d)},$$slots:{default:!0}})}),r(x,I)};V(ie,x=>{e(t)==="form"||e(t)==="looking"?x(me):e(t)==="review"&&e(f)?x(Ze,1):e(f)&&x(qe,2)})}r(Ie,pe)},$$slots:{default:!0}})})}r(J,ke)},$$slots:{default:!0}})}),r(H,Pe),ge()}Ee(["input"]);export{Oe as D,Jt as I};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{o as Je}from"./RYq3318d.js";import{m as G,g as e,v as O,p as Re,u as qe,A as rt,f as K,s as D,h as L,r as _,x as nt,a as o,b as Le,i as se,t as b,o as R,d as M,n as Te,w as Ne,c as u,j as he,aa as Ie,aq as at,bC as ot,bD as st}from"./BuRWgnCz.js";import{i as W}from"./BDpRITyb.js";import{X as it,k as lt}from"./rS7QE60d.js";import{c as ct}from"./DLuhTA05.js";import{a as oe,f as dt,s as ue,d as ut,e as xe,i as _e}from"./Cwb6d3g_.js";import{s as Ke,r as Ze,p as Me}from"./BAOiF0in.js";import{a as ft}from"./BCUUi0V0.js";import{e as vt,P as mt}from"./
|
|
1
|
+
import"./DsnmJJEf.js";import{o as Je}from"./RYq3318d.js";import{m as G,g as e,v as O,p as Re,u as qe,A as rt,f as K,s as D,h as L,r as _,x as nt,a as o,b as Le,i as se,t as b,o as R,d as M,n as Te,w as Ne,c as u,j as he,aa as Ie,aq as at,bC as ot,bD as st}from"./BuRWgnCz.js";import{i as W}from"./BDpRITyb.js";import{X as it,k as lt}from"./rS7QE60d.js";import{c as ct}from"./DLuhTA05.js";import{a as oe,f as dt,s as ue,d as ut,e as xe,i as _e}from"./Cwb6d3g_.js";import{s as Ke,r as Ze,p as Me}from"./BAOiF0in.js";import{a as ft}from"./BCUUi0V0.js";import{e as vt,P as mt}from"./CGVyv1kv.js";import{b as Oe}from"./BWRIDih-.js";import{p as We}from"./Baxoev3a.js";import{a as Ce,s as pt,P as ht}from"./_snkxcQo.js";import{S as Ve}from"./BXN538J3.js";import{B as ze}from"./C5BN6RHR.js";import{L as Xe}from"./CP7u-DWX.js";import{P as gt}from"./Co6rv60s.js";import{I as Ge}from"./xH4qmLqM.js";import{C as xt}from"./B0XeFYOk.js";import{C as _t}from"./cmRB1an4.js";import{C as yt}from"./D-5zBf83.js";import{E as wt}from"./IuxiJfHx.js";var kt=new Set(["$$slots","$$events","$$legacy"]);function bt(r,t){let a=Ze(t,kt);const l={name:"circle-question-mark",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}],["path",{d:"M12 17h.01"}]],aliases:["help-circle","circle-help"]};Ge(r,Ke(()=>a,{get icon(){return l}}))}var Mt=new Set(["$$slots","$$events","$$legacy"]);function St(r,t){let a=Ze(t,Mt);const l={name:"minimize-2",size:24,node:[["path",{d:"m14 10 7-7"}],["path",{d:"M20 10h-6V4"}],["path",{d:"m3 21 7-7"}],["path",{d:"M4 14h6v6"}]]};Ge(r,Ke(()=>a,{get icon(){return l}}))}const Et="2026-01-26";class Y extends Error{constructor(t,a){super(a),this.code=t}code}const Tt=-32601,be=-32602,ye=-32e3,zt=r=>typeof r=="string"&&r.length<=128||typeof r=="number"&&Number.isFinite(r);function At(r){if(typeof r!="object"||r===null||Array.isArray(r))return null;const t=r;return t.jsonrpc!=="2.0"||t.method!==void 0&&(typeof t.method!="string"||t.method.length>128)||t.id!==void 0&&!zt(t.id)||t.method===void 0&&t.id===void 0?null:t}class Pt{constructor(t){this.o=t}o;next=1;pending=new Map;closed=!1;receive(t){if(this.closed)return;const a=At(t);if(a){if(a.method!==void 0&&a.id!==void 0)this.answer(a.id,a.method,a.params);else if(a.method!==void 0)try{this.o.onNotification(a.method,a.params)}catch{}else if(a.id!==void 0){const l=this.pending.get(a.id);if(!l)return;this.pending.delete(a.id),clearTimeout(l.timer),a.error?l.reject(new Y(a.error.code,String(a.error.message))):l.resolve(a.result)}}}async answer(t,a,l){let h;try{const d=await this.o.onRequest(a,l);h={jsonrpc:"2.0",id:t,result:d??{}}}catch(d){const x=d instanceof Y?d:new Y(ye,d instanceof Error?d.message:String(d));h={jsonrpc:"2.0",id:t,error:{code:x.code,message:x.message}}}this.closed||this.o.send(h)}request(t,a,l=1e4){if(this.closed)return Promise.reject(new Error("The app is closed."));const h=this.next++;return new Promise((d,x)=>{const n=setTimeout(()=>{this.pending.delete(h),x(new Error(`The app did not answer ${t}.`))},l);this.pending.set(h,{resolve:d,reject:x,timer:n}),this.o.send({jsonrpc:"2.0",id:h,method:t,params:a})})}notify(t,a){this.closed||this.o.send({jsonrpc:"2.0",method:t,params:a})}close(){this.closed=!0;for(const t of this.pending.values())clearTimeout(t.timer),t.reject(new Error("The app is closed."));this.pending.clear()}}const Pe=r=>typeof r=="object"&&r!==null&&!Array.isArray(r)?r:{},Nt=16*1024;function jt(r,t,a){return async(l,h)=>{const d=Pe(h);switch(l){case"ui/initialize":return{protocolVersion:Et,hostInfo:t,hostCapabilities:a,hostContext:r.context()};case"ping":return{};case"tools/call":{if(typeof d.name!="string"||!d.name)throw new Y(be,"Name the tool to call.");return r.callTool(d.name,Pe(d.arguments))}case"resources/read":{if(typeof d.uri!="string"||!d.uri)throw new Y(be,"Name the resource to read.");return r.readResource(d.uri)}case"ui/open-link":{let x;try{x=new URL(String(d.url))}catch{throw new Y(be,"Invalid URL")}if(x.protocol!=="http:"&&x.protocol!=="https:")throw new Y(ye,"Policy violation: only http(s) links open.");return r.openLink(x.href),{}}case"ui/message":{const n=(Array.isArray(d.content)?d.content:[d.content]).map(z=>Pe(z)).filter(z=>z.type==="text"&&typeof z.text=="string").map(z=>z.text).join(`
|
|
2
2
|
|
|
3
3
|
`).trim();if(!n)throw new Y(be,"Invalid message format: no text.");if(n.length>Nt)throw new Y(be,"The message is too long.");if(!await r.sendMessage(n))throw new Y(ye,"Message sending denied");return{}}case"ui/request-display-mode":{const x=d.mode;if(x!=="inline"&&x!=="fullscreen"&&x!=="pip")throw new Y(be,"Unknown display mode.");return{mode:await r.displayMode(x)}}default:throw new Y(Tt,`Wheelhouse does not offer ${l}.`)}}}function Ot(r){return(t,a)=>{const l=Pe(a),h=d=>typeof d=="number"&&Number.isFinite(d)&&d>=0?Math.min(d,1e5):void 0;t==="ui/notifications/initialized"?r.initialized():t==="ui/notifications/size-changed"?r.resize({width:h(l.width),height:h(l.height)}):t==="notifications/message"&&r.log(typeof l.level=="string"?l.level:"info",l.data)}}const Ct={"--color-background-primary":"--background","--color-background-secondary":"--card","--color-background-tertiary":"--muted","--color-background-inverse":"--foreground","--color-text-primary":"--foreground","--color-text-secondary":"--muted-foreground","--color-text-inverse":"--background","--color-text-info":"--sea","--color-text-danger":"--danger","--color-text-success":"--success","--color-text-warning":"--warning","--color-border-primary":"--border","--color-border-secondary":"--hair","--color-ring-primary":"--ring","--font-sans":"--font-sans","--font-mono":"--font-mono","--border-radius-md":"--radius"};function It(r){const t={};for(const[a,l]of Object.entries(Ct)){const h=r(l).trim();h&&(t[a]=h)}return t}function Dt(r,t,a){const l=Math.round(r.width);return t?{width:l,height:Math.round(r.height)}:{width:l,maxHeight:a}}function Rt(r){return{toolInfo:{tool:r.tool},theme:r.theme,styles:{variables:r.styles},displayMode:r.displayMode,availableDisplayModes:["inline","fullscreen"],containerDimensions:r.dimensions,...r.locale?{locale:r.locale}:{},...r.timeZone?{timeZone:r.timeZone}:{},userAgent:`wheelhouse/${r.version}`,platform:"web",deviceCapabilities:{hover:r.hover??!0,touch:r.touch??!1}}}function Lt(r){return{openLinks:{},serverTools:{},serverResources:{},logging:{},message:{text:{}},sandbox:{csp:r}}}const Ft=["connectDomains","resourceDomains","frameDomains","baseUriDomains"];function qt(r){return[...new Set(Ft.flatMap(t=>r[t]??[]))]}async function Se(r,t,a){let l;try{l=await fetch(`/api/apps/${r}`,{method:"POST",headers:{"content-type":"application/json",[Ve]:a},body:JSON.stringify(t)})}catch{throw new Error("Could not reach the Wheelhouse server.")}const h=await l.json().catch(()=>null);if(h&&(l.ok||"ok"in h||"state"in h))return h;throw new Error(h?.message??`Wheelhouse answered ${l.status}.`)}const Wt=(r,t)=>Se("open",r,t),Ht=(r,t)=>Se("run",r,t),He=(r,t,a)=>Se("call",{...r,...t},a),Ut=(r,t,a)=>Se("read",{...r,uri:t},a),sn=(r,t)=>Se("chat",{calls:r},t);async function Bt(r,t){try{return await(await fetch("/api/services",{method:"POST",headers:{"content-type":"application/json",[Ve]:t},body:JSON.stringify(r)})).json().catch(()=>null)}catch{return null}}const De=()=>navigator.keyboard;async function Jt(r,{keepEscape:t=!1}={}){if(document.fullscreenElement!==r){if(typeof r.requestFullscreen!="function")return{full:!1,escapeKept:!1};try{await r.requestFullscreen({navigationUI:"hide"})}catch{return{full:!1,escapeKept:!1}}}let a=!1;return t&&De()?.lock&&(a=await De().lock(["Escape"]).then(()=>!0).catch(()=>!1)),{full:!0,escapeKept:a}}function Ue(r){!r||document.fullscreenElement!==r||(De()?.unlock?.(),document.exitFullscreen().catch(()=>{}))}class Kt{#e=G(0);get open(){return e(this.#e)}set open(t){O(this.#e,t,!0)}}const ln=new Kt;var Zt=u('<p aria-busy="true">Opening the app…</p>'),Vt=u("<!>Starting…",1),Xt=u("<!> ",1),Gt=u('<p class="mt-2 text-muted-foreground">Start it by hand: <code class="font-mono text-xs select-all"> </code></p>'),Yt=u('<div data-app-service=""><p> </p> <!></div>'),Qt=u("<p> </p>"),$t=u("<!>Exit full screen",1),er=u('<div class="flex shrink-0 items-center gap-3 border-b px-4 py-1.5 text-sm"><span class="min-w-0 flex-1 truncate"> </span> <!></div>'),tr=u('<div><!> <iframe sandbox="allow-scripts allow-same-origin allow-forms" referrerpolicy="no-referrer"></iframe></div> <p data-app-note=""> </p>',1),rr=u('<h2 id="app-ask-title" class="text-lg"> </h2> <p class="mt-1 text-sm text-muted-foreground"> </p> <pre class="mt-3 max-h-60 overflow-auto rounded-md border bg-card px-3 py-2 font-mono text-xs" aria-label="Its arguments"> </pre>',1),nr=u('<h2 id="app-ask-title" class="text-lg">Send this to Firstmate?</h2> <p class="mt-1 text-sm text-muted-foreground"> </p> <p class="mt-3 max-h-60 overflow-auto rounded-md border bg-card px-3 py-2 text-sm whitespace-pre-wrap"> </p>',1),ar=u('<div class="px-5 py-4"><!> <div class="mt-4 flex flex-wrap justify-end gap-2"><!> <!></div></div>'),or=u('<!> <dialog class="m-auto w-[min(94vw,560px)] max-w-none rounded-xl border bg-background p-0 text-foreground shadow-xl backdrop:bg-black/60" aria-labelledby="app-ask-title"><!></dialog>',1);function sr(r,t){Re(t,!0);const a=720;let l=Me(t,"fill",3,!1),h=Me(t,"maxHeight",3,a);const d=()=>We.data.sessionToken??"",x=()=>We.data.health?.version??"0.0.0";let n=G("opening"),z=G(null),H=G(null),ie=G(""),Q=G(null),fe=G(null),ve=G(!1),ge=G(160),j=G("inline"),T=G(null),C=G(null),g=G(()=>{}),s=G(null),m=G(null),S=Promise.resolve();function y(c){const N=S.then(()=>new Promise(J=>{O(s,{...c,answer:te=>{O(s,null),J(te)}},!0)}));return S=N.catch(()=>{}),N}qe(()=>{e(m)&&(e(s)&&!e(m).open?e(m).showModal():!e(s)&&e(m).open&&e(m).close())});async function p(){O(n,"opening"),O(Q,null);try{const c=await Wt(t.ref,d());c.state==="ready"?(O(z,c),O(ie,c.server.title,!0),O(n,"ready")):c.state==="service"?(O(H,c.service),O(ie,c.server.title,!0),O(n,"service")):(O(Q,c.reason,!0),O(n,"failed"))}catch(c){O(Q,c.message,!0),O(n,"failed")}}async function w(){if(!e(H))return;O(ve,!0);const c=await Bt({plugin:e(H).plugin,service:e(H).service,project:e(H).project},d());O(ve,!1),c?.state==="running"?await p():O(H,c??e(H))}Je(()=>{p()});const i=se(()=>{if(!e(z))return null;const c=new URL(Ce.sandbox(e(z).sandbox));return c.searchParams.set("host",location.origin),c.href}),v=se(()=>e(z)?qt(e(z).csp):[]),A=()=>document.documentElement.classList.contains("dark")?"dark":"light",P=()=>{const c=getComputedStyle(document.documentElement);return It(N=>c.getPropertyValue(N))},E=()=>{const c=e(T)?.getBoundingClientRect()??{width:0,height:0};return e(j)==="fullscreen"?{width:Math.round(window.innerWidth),height:Math.round(window.innerHeight)}:Dt(c,l(),h())};qe(()=>{if(!e(z)||!e(C))return;const c=e(z),N=e(C);return rt(()=>I(c,N))});function I(c,N){const J=new URL(Ce.sandbox(c.sandbox)).origin,te=t.ref;let me=!1,$=null,le="";const re=Ht(te,d()).catch(f=>({ok:!1,reason:f.message})),U=f=>N.contentWindow?.postMessage(f,J),F={context:()=>Rt({tool:c.tool,theme:A(),styles:P(),displayMode:e(j),dimensions:E(),locale:navigator.language,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,hover:matchMedia("(hover: hover)").matches,touch:matchMedia("(pointer: coarse)").matches,version:x()}),async callTool(f,q){let ee=await He(te,{name:f,arguments:q,confirmed:!1},d());if(!ee.ok&&ee.confirm){if(!await y({kind:"tool",title:ee.confirm.title,description:ee.confirm.description,args:JSON.stringify(q,null,2)}))throw new Y(ye,"The captain declined the call.");ee=await He(te,{name:f,arguments:q,confirmed:!0},d())}if(!ee.ok)throw new Y(ye,ee.reason);return ee.result},async readResource(f){const q=await Ut(te,f,d());if(!q.ok)throw new Y(ye,q.reason);return q.result},async sendMessage(f){if(!await y({kind:"message",text:f}))return!1;const q=await pt(`From the “${t.title}” app (${t.plugin} plugin):
|
|
4
4
|
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BDEsJAC6.js","../chunks/DsnmJJEf.js","../chunks/RYq3318d.js","../chunks/BuRWgnCz.js","../chunks/BDpRITyb.js","../chunks/B2RyWxmQ.js","../chunks/DLuhTA05.js","../chunks/Cwb6d3g_.js","../chunks/Vkbb4g2s.js","../chunks/5j8_HxjF.js","../chunks/Baxoev3a.js","../chunks/5DXsVwmq.js","../chunks/BT6Y01Hq.js","../chunks/DTsBbwsD.js","../chunks/BXN538J3.js","../chunks/_snkxcQo.js","../chunks/BWRIDih-.js","../chunks/BAOiF0in.js","../chunks/xjN9NojQ.js","../chunks/BT_DAfvO.js","../chunks/cwI46DFb.js","../chunks/DJNADPa5.js","../chunks/CGVyv1kv.js","../chunks/BMFk7aZ6.js","../chunks/C5BN6RHR.js","../chunks/DYbDyf3M.js","../chunks/BxpN0jPH.js","../chunks/xH4qmLqM.js","../chunks/CqfUJirh.js","../chunks/Crfn3y_6.js","../chunks/Dse7bjta.js","../chunks/DcVvrp03.js","../chunks/BeZgLQLl.js","../chunks/DVEiwmFn.js","../chunks/rS7QE60d.js","../chunks/BksDoLoM.js","../chunks/cmRB1an4.js","../chunks/fuBLR9dZ.js","../chunks/BCUUi0V0.js","../chunks/Dd58JmFO.js","../chunks/Ddta0BJw.js","../chunks/BY5XjwMm.js","../chunks/DZeIs8RO.js","../chunks/CP7u-DWX.js","../chunks/kynOtL7x.js","../chunks/DXoZBzFG.js","../chunks/CCL5M9Xl.js","../chunks/IuxiJfHx.js","../chunks/DU3FdAFH.js","../chunks/BDiKlJJl.js","../chunks/C6T16bV1.js","../chunks/7vF3ego3.js","../chunks/CoGHF2lE.js","../chunks/DGK4csRg.js","../chunks/Cu50g1zS.js","../chunks/B-JNrTge.js","../chunks/hxhxtxcx.js","../assets/0.Bv6SelNG.css","../nodes/1.BAdh5fLI.js","../nodes/2.9EupRWC-.js","../chunks/CFTDQcgN.js","../chunks/BVXUMEgB.js","../chunks/o67KsWSa.js","../chunks/CQMIjH_m.js","../chunks/D4YFdJ2K.js","../chunks/CiyFCD_Y.js","../chunks/nW7-TN7t.js","../chunks/DxdQiNse.js","../chunks/C0iYpbLa.js","../chunks/DNc9cRsu.js","../assets/PreviewStudio.Dga9zAug.css","../chunks/DZbbLeZ5.js","../chunks/C8be1l5w.js","../chunks/CtgbxGhR.js","../chunks/D1uwWhcg.js","../chunks/D2ynzrtM.js","../chunks/qLcA5kFM.js","../chunks/Co6rv60s.js","../chunks/B0XeFYOk.js","../chunks/D-5zBf83.js","../chunks/BVJ0lC5K.js","../chunks/Dpd1rs9R.js","../chunks/CR7y1ULG.js","../chunks/BB2roMZd.js","../chunks/DjzsLGyn.js","../chunks/DSQSpWxL.js","../chunks/DR64qHvI.js","../chunks/OWl_aob1.js","../chunks/r_9m29GC.js","../chunks/Clm3nvxi.js","../chunks/DeVe8oaI.js","../chunks/CW2qBe0U.js","../chunks/BapAUJpM.js","../chunks/C8YpFJ43.js","../assets/Terminal.B4BtIq8f.css","../chunks/BIfGCSel.js","../chunks/DJnRpOqR.js","../chunks/DyHO2Vc7.js","../chunks/IPRCqR05.js","../chunks/Dw18qh6I.js","../chunks/CKBPLT-z.js","../chunks/ntd85-6_.js","../assets/2.9iA_78o1.css","../nodes/3.Bf4Qi1i3.js","../chunks/CyEUF6kH.js","../nodes/4.CO6-aByj.js","../nodes/5.DEmf7LWK.js","../chunks/QjAOAKa9.js","../assets/DocSheet.36VhUGpN.css","../nodes/6.B56rBCgR.js","../chunks/B3mAFyYS.js","../chunks/CDgGXUGq.js","../assets/6.5dJKCkOT.css","../nodes/7.CtYzZ1HY.js","../nodes/8.N9QG5-DU.js","../nodes/9.aHwzcVbZ.js","../nodes/10.BdqmXPBq.js","../chunks/CGgU6JcF.js","../chunks/CDrKIy6b.js","../chunks/BwPKBiav.js","../nodes/11.C7GVGBrp.js","../chunks/D-2tF-22.js","../nodes/12.CfCz32Hl.js","../chunks/YUutd5H1.js","../chunks/-fAn-QZ6.js","../chunks/BaPx3dni.js","../nodes/13.CerB5X05.js","../nodes/14.B0msOOIX.js","../chunks/D7IP_ZEm.js","../chunks/DIUPiJT7.js","../nodes/15.CU_96PAW.js","../nodes/16.ZuUMnj98.js","../chunks/2AbYRrJA.js","../nodes/17.BSv9bFuE.js","../nodes/19.EQTYVr90.js","../chunks/Cg9h9TA_.js","../nodes/20.D5cIPU-z.js","../nodes/21.DK75zAW4.js","../chunks/gXQLD015.js","../chunks/CMmxYmuw.js","../chunks/DtH7pDxF.js","../nodes/22.Clcens7W.js","../nodes/23.B7G5quJX.js","../nodes/24.DonaWknP.js","../nodes/25.Dw_k3X_t.js","../nodes/26.C8O2VDmM.js","../chunks/BaS0N1W3.js","../nodes/27.DUOTTUGh.js","../nodes/28.zLgUNaHR.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as e}from"../chunks/BapAUJpM.js";import{v as h,as as Y,g as u,a5 as q,a6 as B,a1 as F,aH as J,a9 as K,aI as N,p as Q,z as U,u as W,G as X,f as g,s as Z,a as E,b as $,m as P,j as O,h as tt,r as et,c as y,i as R,w as rt,t as ot,d as at}from"../chunks/BuRWgnCz.js";import"../chunks/DsnmJJEf.js";import{o as st}from"../chunks/RYq3318d.js";import{i as A}from"../chunks/BDpRITyb.js";import{c as I}from"../chunks/DLuhTA05.js";import{b as L}from"../chunks/BWRIDih-.js";import{p as D}from"../chunks/BAOiF0in.js";const Ot={};function it(a){return class extends _t{constructor(t){super({component:a,...t})}}}class _t{#e;#t;constructor(t){var s=new Map,_=(r,o)=>{var n=N(o,!1,!1);return s.set(r,n),n};const m=new Proxy({...t.props||{},$$events:{}},{get(r,o){return u(s.get(o)??_(o,Reflect.get(r,o)))},has(r,o){return o===Y?!0:(u(s.get(o)??_(o,Reflect.get(r,o))),Reflect.has(r,o))},set(r,o,n){return h(s.get(o)??_(o,n),n),Reflect.set(r,o,n)}});this.#t=(t.hydrate?q:B)(t.component,{target:t.target,anchor:t.anchor,props:m,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&F(),this.#e=m.$$events;for(const r of Object.keys(this.#t))r==="$set"||r==="$destroy"||r==="$on"||J(this,r,{get(){return this.#t[r]},set(o){this.#t[r]=o},enumerable:!0});this.#t.$set=r=>{Object.assign(m,r)},this.#t.$destroy=()=>{K(this.#t)}}$set(t){this.#t.$set(t)}$on(t,s){this.#e[t]=this.#e[t]||[];const _=(...m)=>s.call(this,...m);return this.#e[t].push(_),()=>{this.#e[t]=this.#e[t].filter(m=>m!==_)}}$destroy(){this.#t.$destroy()}}var mt=y('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),nt=y("<!> <!>",1);function ut(a,t){Q(t,!0);let s=D(t,"components",23,()=>[]),_=D(t,"data_0",3,null),m=D(t,"data_1",3,null);U(()=>t.stores.page.set(t.page)),W(()=>{t.stores,t.page,t.constructors,s(),t.form,_(),m(),t.stores.page.notify()});let r=P(!1),o=P(!1),n=P(null);st(()=>{const i=t.stores.page.subscribe(()=>{u(r)&&(h(o,!0),X().then(()=>{h(n,document.title||"untitled page",!0)}))});return h(r,!0),i});const x=R(()=>t.constructors[1]);var T=nt(),V=g(T);{var k=i=>{const d=R(()=>t.constructors[0]);var c=O(),f=g(c);I(f,()=>u(d),(l,p)=>{L(p(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params},children:(v,ct)=>{var b=O(),G=g(b);I(G,()=>u(x),(M,z)=>{L(z(M,{get data(){return m()},get form(){return t.form},get params(){return t.page.params}}),H=>s()[1]=H,()=>s()?.[1])}),E(v,b)},$$slots:{default:!0}}),v=>s()[0]=v,()=>s()?.[0])}),E(i,c)},w=i=>{const d=R(()=>t.constructors[0]);var c=O(),f=g(c);I(f,()=>u(d),(l,p)=>{L(p(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params}}),v=>s()[0]=v,()=>s()?.[0])}),E(i,c)};A(V,i=>{t.constructors[1]?i(k):i(w,-1)})}var C=Z(V,2);{var S=i=>{var d=mt(),c=tt(d);{var f=l=>{var p=rt();ot(()=>at(p,u(n))),E(l,p)};A(c,l=>{u(o)&&l(f)})}et(d),E(i,d)};A(C,i=>{u(r)&&i(S)})}E(a,T),$()}const Rt=it(ut),At=[()=>e(()=>import("../nodes/0.BDEsJAC6.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57]),import.meta.url),()=>e(()=>import("../nodes/1.BAdh5fLI.js"),__vite__mapDeps([58,1,3,10,9,2]),import.meta.url),()=>e(()=>import("../nodes/2.9EupRWC-.js"),__vite__mapDeps([59,1,2,3,4,7,10,9,11,15,16,17,14,18,13,19,30,27,5,60,61,6,32,33,34,22,23,24,25,26,28,29,62,63,64,12,38,65,21,37,66,47,67,68,50,36,69,70,71,72,73,74,75,76,43,77,78,79,80,81,82,83,53,41,84,85,86,87,88,89,39,90,91,92,49,93,94,95,96,97,35,98,99,52,45,54,100,101,44,8,102]),import.meta.url),()=>e(()=>import("../nodes/3.Bf4Qi1i3.js"),__vite__mapDeps([103,1,3,4,7,6,10,9,2,38,82,104,100,20,71,61,50,17,27,5,67,74,75]),import.meta.url),()=>e(()=>import("../nodes/4.CO6-aByj.js"),__vite__mapDeps([105,1,2,3,7,10,9,8,11,19,80,4,27,5,17,81,38,30,82,83,53,21,41,13,12,14,84,76,34,6,22,23,24,25,16,26,28,29,15,18,43,77,78,36,79,47,85,64,65,37,66,60,61,67,68,50,69,70,71,72,73,74,75,86,87,88,89,39,90]),import.meta.url),()=>e(()=>import("../nodes/5.DEmf7LWK.js"),__vite__mapDeps([106,1,3,4,7,60,17,27,5,61,107,16,28,108,49]),import.meta.url),()=>e(()=>import("../nodes/6.B56rBCgR.js"),__vite__mapDeps([109,1,3,4,7,6,27,5,17,10,9,2,30,11,110,38,31,111,97,44,73,56,21,53,85,41,36,90,16,55,28,112]),import.meta.url),()=>e(()=>import("../nodes/7.CtYzZ1HY.js"),__vite__mapDeps([113,1,3,4,7,38,82,17,104,100,10,9,2,20,95,27,5,44,67]),import.meta.url),()=>e(()=>import("../nodes/8.N9QG5-DU.js"),__vite__mapDeps([114,1,2,3,4,7,27,5,17,8,9,10,11,12,13,14,64,6,38,65,16,21,15,18,37,34,66,47,60,61,23,25,67,68,50,36,69,19,70,71,72,73,74,75]),import.meta.url),()=>e(()=>import("../nodes/9.aHwzcVbZ.js"),__vite__mapDeps([115,1,3,4,7,10,9,2,20,11,19,51,17,27,5,89,28,48,54]),import.meta.url),()=>e(()=>import("../nodes/10.BdqmXPBq.js"),__vite__mapDeps([116,1,2,3,4,7,23,16,10,9,24,25,5,17,6,117,33,34,27,118,11,14,43,36,44,38,69,119,35,45,50,54]),import.meta.url),()=>e(()=>import("../nodes/11.C7GVGBrp.js"),__vite__mapDeps([120,1,3,4,7,10,9,2,11,19,121,36,17,27,5,101,76,34,6,38,22,23,14,24,25,16,26,28,29,15,18,13,43,77,78,79,47]),import.meta.url),()=>e(()=>import("../nodes/12.CfCz32Hl.js"),__vite__mapDeps([122,1,3,4,7,10,9,2,11,19,30,17,27,5,123,110,6,38,31,111,97,44,73,63,47,83,53,21,41,24,25,16,124,76,34,22,23,14,26,28,29,15,18,13,43,77,78,36,79,65,37,66,60,61,67,68,50,69,70,98,125,86,82,75,62,72,52,93,56]),import.meta.url),()=>e(()=>import("../nodes/13.CerB5X05.js"),__vite__mapDeps([126,1,3,4,7,10,9,2,11,19,123,17,30,27,5,110,6,38,31,111,97,44,73,63,47,76,34,22,23,14,24,25,16,26,28,29,15,18,13,43,77,78,36,79]),import.meta.url),()=>e(()=>import("../nodes/14.B0msOOIX.js"),__vite__mapDeps([127,1,3,4,7,10,9,2,8,11,19,123,17,30,27,5,110,6,38,31,111,97,44,73,63,47,14,24,25,16,128,79,129,98]),import.meta.url),()=>e(()=>import("../nodes/15.CU_96PAW.js"),__vite__mapDeps([130,1,3,4,34,17,27,5,7,8,2,9,10,11,23,81,24,25,16,14,128,49,98,69,68,93,77,79,36,111,40,78,99]),import.meta.url),()=>e(()=>import("../nodes/16.ZuUMnj98.js"),__vite__mapDeps([131,1,3,7,132,4,10,9,2,14,18,38,24,25,5,16,17]),import.meta.url),()=>e(()=>import("../nodes/17.BSv9bFuE.js"),__vite__mapDeps([133,1,3,4,7,11,10,9,2,38,85,73,17,27,5,88,72,45,29]),import.meta.url),()=>e(()=>import("../chunks/BapAUJpM.js").then(a=>a.a),[],import.meta.url),()=>e(()=>import("../nodes/19.EQTYVr90.js"),__vite__mapDeps([134,1,3,7,132,4,10,9,2,14,18,38,24,25,5,16,17,135,100]),import.meta.url),()=>e(()=>import("../nodes/20.D5cIPU-z.js"),__vite__mapDeps([136,1,3,4,7,10,9,2,13,14,38,24,25,5,16,17,135,100]),import.meta.url),()=>e(()=>import("../nodes/21.DK75zAW4.js"),__vite__mapDeps([137,1,2,3,4,34,17,27,5,7,8,9,10,135,100,121,36,101,138,6,23,33,117,24,25,16,118,11,14,43,44,69,46,119,139,140,38,45,28]),import.meta.url),()=>e(()=>import("../nodes/22.Clcens7W.js"),__vite__mapDeps([141,1,2,3,4,7,8,9,10,135,100,139,17,140,118,11,14,43,27,5,36,23,119,44,24,25,16,66]),import.meta.url),()=>e(()=>import("../nodes/23.B7G5quJX.js"),__vite__mapDeps([142,1,3,4,7,24,25,5,16,17,135,100,10,9,2]),import.meta.url),()=>e(()=>import("../nodes/24.DonaWknP.js"),__vite__mapDeps([143,1,3,4,7,23,10,9,2,14,135,100,42]),import.meta.url),()=>e(()=>import("../nodes/25.Dw_k3X_t.js"),__vite__mapDeps([144,1,2,3,4,7,6,23,8,9,10,24,25,5,16,17,91,92,37,49,27,68,93,90,43,66,94,140,78,26,79,99,36,101,47,138,33,34,117,118,11,14,44,69,53]),import.meta.url),()=>e(()=>import("../nodes/26.C8O2VDmM.js"),__vite__mapDeps([145,1,2,3,4,7,5,16,10,9,38,96,17,27,8,11,19,76,34,6,22,23,14,24,25,26,28,29,15,18,13,43,77,78,36,79,47,83,53,21,41,124,65,37,66,60,61,67,68,50,69,70,98,62,63,71,20,129,40,125,99,97,72,87,12,64,73,74,75,51,84,82,146,49,93]),import.meta.url),()=>e(()=>import("../nodes/27.DUOTTUGh.js"),__vite__mapDeps([147,1,3,4,7,60,17,27,5,61,125,38,107,16,28,108,49,47,74]),import.meta.url),()=>e(()=>import("../nodes/28.zLgUNaHR.js"),__vite__mapDeps([148,1,3,4,7,82,104,100,10,9,2,20,84,17,146]),import.meta.url)],It=[0],Lt={"/":[-3],"/decisions":[-4],"/deck":[-5],"/files":[-6],"/harbour":[-7],"/headroom":[-8],"/inbox":[-9],"/more":[9],"/plugins":[10],"/plugins/[plugin]/[page]":[-12],"/projects/[id]":[-13],"/projects/[id]/passage":[-15],"/projects/[id]/passage/edit":[-16],"/projects/[id]/[plugin]/[tab]":[-14],"/remotes":[-17],"/second-mates":[17],"/settings":[-19],"/settings/cloud":[-20],"/settings/gateway":[-21],"/settings/plugins":[-22],"/settings/plugins/[plugin]":[-23],"/settings/setup":[-24],"/settings/update":[-25],"/setup":[-26],"/tasks/[id]":[-27],"/tasks/[id]/doc":[-28],"/time":[-29]},j={handleError:(({error:a})=>{console.error(a)}),reroute:(()=>{}),transport:{}},dt=Object.fromEntries(Object.entries(j.transport).map(([a,t])=>[a,t.decode])),Dt=Object.fromEntries(Object.entries(j.transport).map(([a,t])=>[a,t.encode])),Tt=!1,Vt=(a,t)=>dt[a](t),bt=()=>e(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(a=>a.default);export{Vt as decode,dt as decoders,Lt as dictionary,Dt as encoders,bt as get_error_template,Tt as hash,j as hooks,Ot as matchers,At as nodes,Rt as root,It as server_loads};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as r}from"../chunks/Vkbb4g2s.js";import{y as t}from"../chunks/5j8_HxjF.js";export{t as load_css,r as start};
|
|
Binary file
|
|
Binary file
|