@chrisjowen/wheelhouse 0.17.1 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/build/client/_app/immutable/assets/{0.DNJoTEVa.css → 0.Dyflbqc4.css} +1 -1
- package/build/client/_app/immutable/assets/0.Dyflbqc4.css.br +0 -0
- package/build/client/_app/immutable/assets/{0.DNJoTEVa.css.gz → 0.Dyflbqc4.css.gz} +0 -0
- package/build/client/_app/immutable/chunks/{_8osrypQ.js → 0RGfo0js.js} +1 -1
- package/build/client/_app/immutable/chunks/0RGfo0js.js.br +2 -0
- package/build/client/_app/immutable/chunks/0RGfo0js.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CF9qC7cA.js → B13jYnr5.js} +1 -1
- package/build/client/_app/immutable/chunks/B13jYnr5.js.br +0 -0
- package/build/client/_app/immutable/chunks/B13jYnr5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DwBYQnih.js → B5OMEixy.js} +1 -1
- package/build/client/_app/immutable/chunks/B5OMEixy.js.br +0 -0
- package/build/client/_app/immutable/chunks/B5OMEixy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{iI4tqZHC.js → BDhezwGC.js} +1 -1
- package/build/client/_app/immutable/chunks/BDhezwGC.js.br +0 -0
- package/build/client/_app/immutable/chunks/BDhezwGC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CxexnUzw.js → Bd8l0yTM.js} +1 -1
- package/build/client/_app/immutable/chunks/Bd8l0yTM.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bd8l0yTM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Ch7J5mLH.js → BisZnsml.js} +1 -1
- package/build/client/_app/immutable/chunks/BisZnsml.js.br +0 -0
- package/build/client/_app/immutable/chunks/BisZnsml.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BS3n5c7l.js → Bl_aeMq-.js} +1 -1
- package/build/client/_app/immutable/chunks/Bl_aeMq-.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bl_aeMq-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{RedPhL9b.js → Bm06it9w.js} +1 -1
- package/build/client/_app/immutable/chunks/Bm06it9w.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bm06it9w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DkntkkRH.js → BvPKyGA8.js} +1 -1
- package/build/client/_app/immutable/chunks/BvPKyGA8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BvPKyGA8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Bgm2YDEc.js → C8rIEWKQ.js} +1 -1
- package/build/client/_app/immutable/chunks/C8rIEWKQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8rIEWKQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{ClSB0siN.js → ClopdZ_7.js} +1 -1
- package/build/client/_app/immutable/chunks/ClopdZ_7.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClopdZ_7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CLADX83T.js → Cv4HO3U0.js} +1 -1
- package/build/client/_app/immutable/chunks/Cv4HO3U0.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cv4HO3U0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D8F9xgmh.js → Cwq50RB4.js} +1 -1
- package/build/client/_app/immutable/chunks/Cwq50RB4.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cwq50RB4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DP7xDWnQ.js → DJmeKpkq.js} +1 -1
- package/build/client/_app/immutable/chunks/DJmeKpkq.js.br +0 -0
- package/build/client/_app/immutable/chunks/DJmeKpkq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CXsGgEzT.js → Drqp3nkL.js} +1 -1
- package/build/client/_app/immutable/chunks/Drqp3nkL.js.br +0 -0
- package/build/client/_app/immutable/chunks/Drqp3nkL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CU0ZJcdF.js → HCiUQtkc.js} +2 -2
- package/build/client/_app/immutable/chunks/HCiUQtkc.js.br +0 -0
- package/build/client/_app/immutable/chunks/HCiUQtkc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CS4t4atW.js → V46v89bT.js} +1 -1
- package/build/client/_app/immutable/chunks/V46v89bT.js.br +0 -0
- package/build/client/_app/immutable/chunks/V46v89bT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BQPyzYAS.js → Y3845wkB.js} +1 -1
- package/build/client/_app/immutable/chunks/Y3845wkB.js.br +0 -0
- package/build/client/_app/immutable/chunks/Y3845wkB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CGRtmaS4.js → gS_jJyWs.js} +1 -1
- package/build/client/_app/immutable/chunks/gS_jJyWs.js.br +0 -0
- package/build/client/_app/immutable/chunks/gS_jJyWs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CH2Y0BVE.js → rWDJOr9L.js} +1 -1
- package/build/client/_app/immutable/chunks/rWDJOr9L.js.br +0 -0
- package/build/client/_app/immutable/chunks/rWDJOr9L.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.DzMOOaXE.js → app.C_f-0Vea.js} +2 -2
- package/build/client/_app/immutable/entry/app.C_f-0Vea.js.br +0 -0
- package/build/client/_app/immutable/entry/app.C_f-0Vea.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CmPU2liD.js +1 -0
- package/build/client/_app/immutable/entry/start.CmPU2liD.js.br +0 -0
- package/build/client/_app/immutable/entry/start.CmPU2liD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{0.BIHpRnqw.js → 0.CycGUKhI.js} +1 -1
- package/build/client/_app/immutable/nodes/0.CycGUKhI.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CycGUKhI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.BJIoIsvP.js → 1.70vrwjqS.js} +1 -1
- package/build/client/_app/immutable/nodes/1.70vrwjqS.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.70vrwjqS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{10.DRDVy09M.js → 10.CG7LxHir.js} +1 -1
- package/build/client/_app/immutable/nodes/10.CG7LxHir.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.CG7LxHir.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{11.B2EhouGG.js → 11.CvQ4cyM3.js} +1 -1
- package/build/client/_app/immutable/nodes/11.CvQ4cyM3.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.CvQ4cyM3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{12.5fuIl1It.js → 12.D9IHJjN9.js} +1 -1
- package/build/client/_app/immutable/nodes/12.D9IHJjN9.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.D9IHJjN9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{13.BHd8lAXB.js → 13.D-hvVuS1.js} +1 -1
- package/build/client/_app/immutable/nodes/13.D-hvVuS1.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.D-hvVuS1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{14.DgsN2-TN.js → 14.DfUdqoEO.js} +1 -1
- package/build/client/_app/immutable/nodes/14.DfUdqoEO.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.DfUdqoEO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{15.CPHkfcQw.js → 15.CZRsd2Eg.js} +1 -1
- package/build/client/_app/immutable/nodes/15.CZRsd2Eg.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.CZRsd2Eg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{16.CrpxQoZ7.js → 16.qfrdNFMy.js} +1 -1
- package/build/client/_app/immutable/nodes/16.qfrdNFMy.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.qfrdNFMy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{17.B83y7TTZ.js → 17.D83W_Tta.js} +1 -1
- package/build/client/_app/immutable/nodes/17.D83W_Tta.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.D83W_Tta.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{19.BGzbdUG8.js → 19.BzcQyaMT.js} +1 -1
- package/build/client/_app/immutable/nodes/19.BzcQyaMT.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.BzcQyaMT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.B_zXlRDw.js → 2.C5dTKKEn.js} +1 -1
- package/build/client/_app/immutable/nodes/2.C5dTKKEn.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.C5dTKKEn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{20.CQE-Zjw-.js → 20.HovxKElE.js} +1 -1
- package/build/client/_app/immutable/nodes/20.HovxKElE.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.HovxKElE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{21.BjSp2mZI.js → 21.2vXCaqsr.js} +1 -1
- package/build/client/_app/immutable/nodes/21.2vXCaqsr.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.2vXCaqsr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{22.BycUFjCM.js → 22.C2_CQQkD.js} +1 -1
- package/build/client/_app/immutable/nodes/22.C2_CQQkD.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.C2_CQQkD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{23.BjOud3nL.js → 23.DLyV0afL.js} +1 -1
- package/build/client/_app/immutable/nodes/23.DLyV0afL.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.DLyV0afL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{24.DmaWt7EU.js → 24.B3x35Hk8.js} +1 -1
- package/build/client/_app/immutable/nodes/24.B3x35Hk8.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.B3x35Hk8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.nwMZWq7u.js +20 -0
- package/build/client/_app/immutable/nodes/25.nwMZWq7u.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.nwMZWq7u.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{26.BxG4S8mB.js → 26.Djo0UcCH.js} +1 -1
- package/build/client/_app/immutable/nodes/26.Djo0UcCH.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.Djo0UcCH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{28.Ds4FDR_a.js → 28.SqN60QfL.js} +1 -1
- package/build/client/_app/immutable/nodes/28.SqN60QfL.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.SqN60QfL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.CldWfpKa.js → 3.CNDDXR-R.js} +1 -1
- package/build/client/_app/immutable/nodes/3.CNDDXR-R.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CNDDXR-R.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.Ds0FcslK.js → 4.Dajo6qs6.js} +1 -1
- package/build/client/_app/immutable/nodes/4.Dajo6qs6.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.Dajo6qs6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.CvP4hVA3.js → 6.BHt0DwZF.js} +1 -1
- package/build/client/_app/immutable/nodes/6.BHt0DwZF.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.BHt0DwZF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.Ca_DVOMc.js → 7.BIfa9MqV.js} +1 -1
- package/build/client/_app/immutable/nodes/7.BIfa9MqV.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.BIfa9MqV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{8.D8JqGvkd.js → 8.CKbZrwQ8.js} +1 -1
- package/build/client/_app/immutable/nodes/8.CKbZrwQ8.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.CKbZrwQ8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.CHSFcAbh.js → 9.BbThPsu4.js} +1 -1
- package/build/client/_app/immutable/nodes/9.BbThPsu4.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.BbThPsu4.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/{detail.js-T1brxxWW.js → detail.js-K2fb6vUl.js} +2 -2
- package/build/server/chunks/chunks/{feedback.js-0cB22LBt.js → feedback.js-gBLi4FYP.js} +2 -2
- package/build/server/chunks/chunks/{harness.js-DPojOlFJ.js → harness.js-C1CYCy4c.js} +2 -2
- package/build/server/chunks/chunks/{internal.js-BJRpqxxM.js → internal.js-BOM77MfQ.js} +3 -3
- package/build/server/chunks/chunks/{keychain.js-CsTOqhf4.js → keychain.js-DDSo_IW8.js} +2 -2
- package/build/server/chunks/chunks/{marketplace-service.js-CckS3apE.js → marketplace-service.js-QhO4MhZa.js} +2 -2
- package/build/server/chunks/chunks/{page.js-D5V2PN2q.js → page.js-6KzOUc5P.js} +2 -2
- package/build/server/chunks/chunks/{previewhelper2.js-DRcdOpNv.js → previewhelper2.js-Dza1zgQB.js} +2 -2
- package/build/server/chunks/chunks/{repo.js-CsdCOmUL.js → repo.js-Aq4DOLtb.js} +2 -2
- package/build/server/chunks/chunks/{runtime.js-CbmzOl0F.js → runtime.js-DKYCLRYC.js} +12396 -11676
- package/build/server/chunks/chunks/{service.js-DztM8MY5.js → service.js-D9kA6Dvq.js} +2 -2
- package/build/server/chunks/chunks/{service2.js-DQccL6zz.js → service2.js-Dx7TTUyO.js} +141 -441
- package/build/server/chunks/chunks/{starter.js-ROzdTBeO.js → starter.js-BjLPYDEU.js} +2 -2
- package/build/server/chunks/chunks/terminal.js-Cr5N1hVN.js +189 -0
- package/build/server/chunks/chunks/{view.js-BDo4J83f.js → view.js-D6_Y6e4W.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/apps/_op_/{_server.ts.js-BTTHbZK6.js → _server.ts.js-C8-Bqwz2.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/cloud/{_server.ts.js-m9cTbE-7.js → _server.ts.js-iHvZiw6L.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/cloud/previews/{_server.ts.js-z8BbPJ2P.js → _server.ts.js-C2083EnL.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/events/{_server.ts.js-BniUpesu.js → _server.ts.js-DXerC_lz.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/files/{_server.ts.js-B0WcXQJH.js → _server.ts.js-DkrVdgsY.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/{_server.ts.js-CncNeTwM.js → _server.ts.js-itkq-Zhc.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/{_server.ts.js-hnvcy9Ia.js → _server.ts.js-BClrQ76Y.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/{_server.ts.js-BQgc12gv.js → _server.ts.js-CSaP0hys.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/input/{_server.ts.js-Cpq1OUlv.js → _server.ts.js-Cpm8-Jaf.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/{_server.ts.js-DcduvTz-.js → _server.ts.js-DxSC3HLK.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/{_server.ts.js-r_OTtndR.js → _server.ts.js-CITZvyir.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/{_server.ts.js-DRc0m-xP.js → _server.ts.js-7uCkkloP.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/{_server.ts.js-DBrNAwQy.js → _server.ts.js-RSm-5UF2.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/start/{_server.ts.js-D1Q8V-y_.js → _server.ts.js-CbHftl32.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/fleet/{_server.ts.js-cN8CO68M.js → _server.ts.js-DTbyWHA5.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/gateway/{_server.ts.js-BSpvCzuX.js → _server.ts.js-Dgj64C-8.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-Cs9IYII5.js → _server.ts.js-8Ao3NA-E.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/inbox/{_server.ts.js-D2iFH361.js → _server.ts.js-DGBE7UIq.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/inbox/report/{_server.ts.js-BnZZNGqp.js → _server.ts.js-DqkXU31r.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/insights/{_server.ts.js-6-pUqSbs.js → _server.ts.js-DVanxkdv.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/{_server.ts.js-BRHI8EzR.js → _server.ts.js-Cm68Rf5I.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/{_server.ts.js-D75GJhqf.js → _server.ts.js-3OGDAdpk.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/{_server.ts.js-DXlq6GNe.js → _server.ts.js-CFU80BaE.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/{_server.ts.js-DzCq67Pq.js → _server.ts.js-KWWnKNbi.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/{_server.ts.js-DP4Br_Kb.js → _server.ts.js-B_5x0zJS.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/{_server.ts.js-BTZibvW1.js → _server.ts.js-C90RNY_X.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/{_server.ts.js-BVEiTedk.js → _server.ts.js-DvGxNP7H.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/{_server.ts.js-BARKIuL9.js → _server.ts.js-CiLDpQsQ.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/{_server.ts.js-vXn-DxW7.js → _server.ts.js-B1XZhaia.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/install/{_server.ts.js-BrTsfhpU.js → _server.ts.js-DSD7vM9f.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/{_server.ts.js-uLUVa1Yc.js → _server.ts.js-CSXJmx4K.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/{_server.ts.js-fFGC33td.js → _server.ts.js-CBscduVo.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/{_server.ts.js-CV30SKJH.js → _server.ts.js-CbuLtoHm.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/roles/{_server.ts.js-BmywjWsD.js → _server.ts.js-Dwfzypry.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/updates/{_server.ts.js-C928jxXA.js → _server.ts.js-B5BKYa3M.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/previews/check/{_server.ts.js-DsVDHPoG.js → _server.ts.js-C4c7W5Q_.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/{_server.ts.js-B5kai_f_.js → _server.ts.js-D6V8uWHn.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/{_server.ts.js-DFdhVYKr.js → _server.ts.js-B2ihTXgb.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/{_server.ts.js-C3rHPgm9.js → _server.ts.js-kXH0W1Ky.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/{_server.ts.js-GMslvRRG.js → _server.ts.js-DzwBz0wz.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/{_server.ts.js-G6S2vjwB.js → _server.ts.js-uTK3V5EE.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/{_server.ts.js-nDbd4-FQ.js → _server.ts.js-Cl4zIULt.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/{_server.ts.js-v9aqCXY5.js → _server.ts.js-DqjxxFau.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/services/{_server.ts.js-BLxZZ6h-.js → _server.ts.js-dVN9ikOu.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/setup/{_server.ts.js-BViJ-Ufk.js → _server.ts.js-_iOzae7t.js} +22 -9
- package/build/server/chunks/entries/endpoints/api/slots/{_server.ts.js-T0HJn3Nc.js → _server.ts.js-XMhnf3Ej.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/{_server.ts.js-DN9vhG-X.js → _server.ts.js-KZTObDbB.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/{_server.ts.js-azR55GM-.js → _server.ts.js-DyjUgwF7.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/{_server.ts.js-NfTPilV6.js → _server.ts.js-CalJli32.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/{_server.ts.js-DzTACS2K.js → _server.ts.js-DWPP0yu8.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/{_server.ts.js-iObKq15r.js → _server.ts.js-0Nyn7nbY.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/{_server.ts.js-CFL0gv8m.js → _server.ts.js-3z5OVCPe.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/vault/{_server.ts.js-CxnJ6MH1.js → _server.ts.js-AbPbPvOK.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/{_server.ts.js-BzHUulBR.js → _server.ts.js-D029CrEh.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/{_server.ts.js-CwIEgYLU.js → _server.ts.js-BfHTqL2O.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/{_server.ts.js-BfV0Rwjv.js → _server.ts.js-CIRed7Ae.js} +2 -2
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/{_server.ts.js-D0M-kf3z.js → _server.ts.js-CvvKgDa5.js} +5 -5
- package/build/server/chunks/entries/{hooks.server.js-BK27kVep.js → hooks.server.js-C9TJKrED.js} +5 -5
- package/build/server/chunks/entries/pages/{_layout.server.ts.js-thMV7ofo.js → _layout.server.ts.js-BfjTrg6R.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.server.ts.js-IJJCfEOr.js → _page.server.ts.js-BFfRDA3t.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.svelte.js-DK0vMDpM.js → _page.svelte.js-dxbEuRWy.js} +2 -2
- package/build/server/chunks/entries/pages/decisions/{_page.server.ts.js-BknW8CoP.js → _page.server.ts.js-aZNQQOb5.js} +2 -2
- package/build/server/chunks/entries/pages/deck/{_page.server.ts.js-FcsedjYb.js → _page.server.ts.js-CLBsxhmZ.js} +2 -2
- package/build/server/chunks/entries/pages/files/{_page.server.ts.js-NxhxpluO.js → _page.server.ts.js-Dtrn3Jt8.js} +2 -2
- package/build/server/chunks/entries/pages/harbour/{_page.server.ts.js-D0vCnVfw.js → _page.server.ts.js-DYrU0BeU.js} +2 -2
- package/build/server/chunks/entries/pages/headroom/{_page.server.ts.js-8pe9nMCl.js → _page.server.ts.js-UKBrFpbo.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.server.ts.js-D5ACh022.js → _page.server.ts.js-COlncgCa.js} +2 -2
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.server.ts.js-BKpNXqUB.js → _page.server.ts.js-Bay2qA2Q.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/{_page.server.ts.js-DKtUeDFH.js → _page.server.ts.js-CU7ds9LA.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.server.ts.js-CAfpJ8z4.js → _page.server.ts.js-BGGSKQqb.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/passage/{_page.server.ts.js-DhvAOslS.js → _page.server.ts.js-CnSUSATt.js} +4 -4
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/{_page.server.ts.js-BbR8eGg8.js → _page.server.ts.js-_7cU19E_.js} +2 -2
- package/build/server/chunks/entries/pages/remotes/{_page.server.ts.js-CFi9Cpz4.js → _page.server.ts.js-C1Yxudql.js} +2 -2
- package/build/server/chunks/entries/pages/settings/cloud/{_page.server.ts.js-CGyBG4Yp.js → _page.server.ts.js-DTNE52aZ.js} +2 -2
- package/build/server/chunks/entries/pages/settings/gateway/{_page.server.ts.js-Bh0E2kwq.js → _page.server.ts.js-CrhYOE-D.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/{_page.server.ts.js-DcSZoBEC.js → _page.server.ts.js-CifBaqFj.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/{_page.server.ts.js-v3Tp8x_0.js → _page.server.ts.js-EKuElYxp.js} +2 -2
- package/build/server/chunks/entries/pages/settings/setup/{_page.server.ts.js-BnpgnteD.js → _page.server.ts.js-BF8rdJhn.js} +2 -2
- package/build/server/chunks/entries/pages/settings/update/{_page.server.ts.js-DQfv8ZWG.js → _page.server.ts.js-CrElCh4A.js} +2 -2
- package/build/server/chunks/entries/pages/setup/{_page.server.ts.js-CvG2Lr9C.js → _page.server.ts.js-wycRiBir.js} +3 -3
- package/build/server/chunks/entries/pages/setup/{_page.svelte.js-BZsw7k9z.js → _page.svelte.js-C1CXNUmI.js} +206 -33
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.server.ts.js-_ivyEUli.js → _page.server.ts.js-CYQPki7W.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/doc/{_page.server.ts.js-CSJ4X_eg.js → _page.server.ts.js-ecgyPy_T.js} +2 -2
- package/build/server/chunks/entries/pages/time/{_page.server.ts.js-CUc80zxD.js → _page.server.ts.js-DSQc-xWi.js} +2 -2
- package/build/server/chunks/{handler-CBnQILkF.js → handler-BHDQVtZw.js} +3 -3
- package/build/server/chunks/{index.js-8K34DF7Q.js → index.js-CrFdVwqU.js} +2 -2
- package/build/server/chunks/{manifest.js-DqAt-2-E.js → manifest.js-Dja0Po5-.js} +87 -87
- package/build/server/chunks/nodes/{0.js-B_9UrGRh.js → 0.js-NNn8Cg6_.js} +8 -8
- package/build/server/chunks/nodes/{1.js-DHSqapc6.js → 1.js-B4fNjYoV.js} +2 -2
- package/build/server/chunks/nodes/{10.js-Cw8UPtK2.js → 10.js-CmLFT1Pj.js} +2 -2
- package/build/server/chunks/nodes/{11.js-BIyDysEr.js → 11.js-BQqPaZKt.js} +7 -7
- package/build/server/chunks/nodes/{12.js-ClZNXjgF.js → 12.js-uooOT7mU.js} +8 -8
- package/build/server/chunks/nodes/{13.js-B8qskPtO.js → 13.js-Bwsn9ad_.js} +8 -8
- package/build/server/chunks/nodes/{14.js-DRbS2pR2.js → 14.js-RxQ3KjAZ.js} +9 -9
- package/build/server/chunks/nodes/{15.js-EWY83mDS.js → 15.js-mrYlzb81.js} +8 -8
- package/build/server/chunks/nodes/{16.js-Cm0oYApC.js → 16.js-Uqhuspdc.js} +6 -6
- package/build/server/chunks/nodes/{17.js-Cu5a2UaQ.js → 17.js-xO4_vt9v.js} +2 -2
- package/build/server/chunks/nodes/{19.js-B7TKyMV0.js → 19.js-Bp0kyiVl.js} +6 -6
- package/build/server/chunks/nodes/{2.js-DltTHZOL.js → 2.js-DiF_CXqM.js} +8 -8
- package/build/server/chunks/nodes/{20.js-CwLFSrxO.js → 20.js--x681h54.js} +7 -7
- package/build/server/chunks/nodes/{21.js-D_0U5UVP.js → 21.js-BWa_e-es.js} +7 -7
- package/build/server/chunks/nodes/{22.js-C2r9JmW7.js → 22.js-yLTp3XfM.js} +7 -7
- package/build/server/chunks/nodes/{23.js-h4YwJvrO.js → 23.js-gx53Nzzh.js} +8 -8
- package/build/server/chunks/nodes/{24.js-BciJ1KTf.js → 24.js-Ci8dS_77.js} +4 -4
- package/build/server/chunks/nodes/{25.js-ZCknzNaV.js → 25.js-WBDsJGik.js} +9 -9
- package/build/server/chunks/nodes/{26.js-BUolTInv.js → 26.js-CZ4lN-gH.js} +8 -8
- package/build/server/chunks/nodes/{27.js-DcvlJkEN.js → 27.js-DPEzrdzK.js} +7 -7
- package/build/server/chunks/nodes/{28.js-DPp6-E4I.js → 28.js-BJ38Ryxz.js} +7 -7
- package/build/server/chunks/nodes/{3.js-CLE5bCBt.js → 3.js-D52LKb1w.js} +7 -7
- package/build/server/chunks/nodes/{4.js-BXXDgWZn.js → 4.js-DDItN7w8.js} +7 -7
- package/build/server/chunks/nodes/{5.js-BtthxHsw.js → 5.js-DJ1sVBVf.js} +6 -6
- package/build/server/chunks/nodes/{6.js-C3hPPfLf.js → 6.js-D_Aqt_hx.js} +7 -7
- package/build/server/chunks/nodes/{7.js-v18x97qv.js → 7.js-tS4lw5ka.js} +7 -7
- package/build/server/chunks/nodes/{8.js-Csojentz.js → 8.js-ChN4dMEU.js} +7 -7
- package/build/server/chunks/nodes/{9.js-3NVn9Z4u.js → 9.js-BpLLOWXa.js} +2 -2
- package/dist/cli.js +314 -157
- package/dist/wh-vault.js +1 -1
- package/package.json +1 -1
- package/skills/manage-wheelhouse/references/operations.md +24 -22
- package/build/client/_app/immutable/assets/0.DNJoTEVa.css.br +0 -0
- package/build/client/_app/immutable/chunks/BQPyzYAS.js.br +0 -0
- package/build/client/_app/immutable/chunks/BQPyzYAS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BS3n5c7l.js.br +0 -0
- package/build/client/_app/immutable/chunks/BS3n5c7l.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bgm2YDEc.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bgm2YDEc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CF9qC7cA.js.br +0 -0
- package/build/client/_app/immutable/chunks/CF9qC7cA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CGRtmaS4.js.br +0 -0
- package/build/client/_app/immutable/chunks/CGRtmaS4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CH2Y0BVE.js.br +0 -0
- package/build/client/_app/immutable/chunks/CH2Y0BVE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLADX83T.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLADX83T.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CS4t4atW.js.br +0 -0
- package/build/client/_app/immutable/chunks/CS4t4atW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CU0ZJcdF.js.br +0 -0
- package/build/client/_app/immutable/chunks/CU0ZJcdF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CXsGgEzT.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXsGgEzT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ch7J5mLH.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ch7J5mLH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ClSB0siN.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClSB0siN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CxexnUzw.js.br +0 -0
- package/build/client/_app/immutable/chunks/CxexnUzw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8F9xgmh.js.br +0 -0
- package/build/client/_app/immutable/chunks/D8F9xgmh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DP7xDWnQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DP7xDWnQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DkntkkRH.js.br +0 -0
- package/build/client/_app/immutable/chunks/DkntkkRH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DwBYQnih.js.br +0 -0
- package/build/client/_app/immutable/chunks/DwBYQnih.js.gz +0 -0
- package/build/client/_app/immutable/chunks/RedPhL9b.js.br +0 -0
- package/build/client/_app/immutable/chunks/RedPhL9b.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_8osrypQ.js.br +0 -2
- package/build/client/_app/immutable/chunks/_8osrypQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/iI4tqZHC.js.br +0 -0
- package/build/client/_app/immutable/chunks/iI4tqZHC.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DzMOOaXE.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DzMOOaXE.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BP7YKN_Q.js +0 -1
- package/build/client/_app/immutable/entry/start.BP7YKN_Q.js.br +0 -0
- package/build/client/_app/immutable/entry/start.BP7YKN_Q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.BIHpRnqw.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.BIHpRnqw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BJIoIsvP.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BJIoIsvP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.DRDVy09M.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.DRDVy09M.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.B2EhouGG.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.B2EhouGG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.5fuIl1It.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.5fuIl1It.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.BHd8lAXB.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.BHd8lAXB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.DgsN2-TN.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.DgsN2-TN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.CPHkfcQw.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.CPHkfcQw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.CrpxQoZ7.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.CrpxQoZ7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.B83y7TTZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.B83y7TTZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.BGzbdUG8.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.BGzbdUG8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.B_zXlRDw.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.B_zXlRDw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.CQE-Zjw-.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.CQE-Zjw-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.BjSp2mZI.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.BjSp2mZI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.BycUFjCM.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.BycUFjCM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.BjOud3nL.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.BjOud3nL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.DmaWt7EU.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.DmaWt7EU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.DpdKssoo.js +0 -15
- package/build/client/_app/immutable/nodes/25.DpdKssoo.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.DpdKssoo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.BxG4S8mB.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.BxG4S8mB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.Ds4FDR_a.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.Ds4FDR_a.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CldWfpKa.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CldWfpKa.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.Ds0FcslK.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.Ds0FcslK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.CvP4hVA3.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CvP4hVA3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.Ca_DVOMc.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.Ca_DVOMc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.D8JqGvkd.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.D8JqGvkd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.CHSFcAbh.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.CHSFcAbh.js.gz +0 -0
- package/build/server/chunks/chunks/terminal.js-BUurgI6D.js +0 -81
|
@@ -1,2 +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
|
|
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_tu62vy.data){const{q:a={},p:o={},l:s={},f:c={}}=globalThis.__sveltekit_tu62vy.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};
|
|
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 xe,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"./V46v89bT.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 De{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 xt=-1,Dt=-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===xt)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!==Dt&&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 D=ot(at)??{},Z=ot(nt)??{},x={url:Xe({}),page:Xe({}),navigating:Et(null),updated:bt()};function Be(e){D[e]=$()}function hr(e,t){let r=e+1;for(;D[r];)delete D[r],r+=1;for(r=t+1;Z[r];)delete Z[r],r+=1}function 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_n6xvkg.data){const{q:a={},p:o={},l:s={},f:c={}}=globalThis.__sveltekit_n6xvkg.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=D[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),xe(s.props.page),g={...s.state,nav:g.nav},Te(),ge.$set(s.props)}else Te();const a=[];for(const o of de.values())for(const{resource:s}of o.values())a.push(s);for(const[o,s]of 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,D),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},xe(e.props.page),ge=new E.root({target:t,props:{...e.props,stores:x,components:fe},hydrate:r,sync:!1,transformError:void 0}),await Promise.resolve(),r){const i={from:null,to:{...n,scroll:D[k]??$()},willUnload:!1,type:"enter",complete:Promise.resolve()};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 De)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 x.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 De){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"&&x.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 x.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),xe(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),x.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 xr(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 Dr(){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=D[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),D[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&&x.navigating.set(Se.current=null)});function e(t){g.url=I.url=t,x.page.set(we(I)),x.page.notify()}}async function kr(e,{status:t=200,error:r,node_ids:n,params:i,route:a,server_route:o,data:s,form:c}){Fe=!0;const f=new URL(location.href);let l;({params:i={},route:a={id:null}}=await ne(f,!1)||{}),l=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 De)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,xr as g,Dr as i,Nr as o,Cr as r,Ur as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as
|
|
1
|
+
import{o as v}from"./RYq3318d.js";import{aa as p,bE as I,m as u,g as f,v as d}from"./BuRWgnCz.js";const h=[];function R(e,t=p){let n=null;const s=new Set;function r(o){if(I(e,o)&&(e=o,n)){const c=!h.length;for(const l of s)l[1](),h.push(l,e);if(c){for(let l=0;l<h.length;l+=2)h[l][0](h[l+1]);h.length=0}}}function i(o){r(o(e))}function a(o,c=p){const l=[o,c];return s.add(l),s.size===1&&(n=t(r,i)||p),o(e),()=>{s.delete(l),s.size===0&&n&&(n(),n=null)}}return{set:r,update:i,subscribe:a}}const N="1794643952441";new URL("sveltekit-internal://");function H(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function K(e){return e.split("%25").map(decodeURI).join("%25")}function B(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function D({href:e}){return e.split("#")[0]}function L(){}function O(...e){let t=5381;for(const n of e)if(typeof n=="string"){let s=n.length;for(;s;)t=t*33^n.charCodeAt(--s)}else if(ArrayBuffer.isView(n)){const s=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=s.length;for(;r;)t=t*33^s[--r]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function $(e){const t=atob(e),n=new Uint8Array(t.length);for(let s=0;s<t.length;s++)n[s]=t.charCodeAt(s);return n}const q=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&b.delete(m(e)),q(e,t));const b=new Map;function W(e,t){const n=m(e,t),s=document.querySelector(n);if(s?.textContent){s.remove();let{body:r,...i}=JSON.parse(s.textContent);s.getAttribute("data-b64")!==null&&(r=$(r));const o=s.getAttribute("data-ttl");return o&&b.set(n,{body:r,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(r,i))}return window.fetch(e,t)}function X(e,t,n){if(b.size>0){const s=m(e,n),r=b.get(s);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(r.body,r.init);b.delete(s)}}return window.fetch(t,n)}function m(e,t){let s=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const r=[];t.headers&&r.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&r.push(t.body),s+=`[data-hash="${O(...r)}"]`}return s}const C=globalThis.__sveltekit_n6xvkg?.base??"",P=globalThis.__sveltekit_n6xvkg?.assets??C??"",J="sveltekit:snapshot",M="sveltekit:scroll",F="sveltekit:states",Q="sveltekit:pageurl",Z="sveltekit:history",ee="sveltekit:navigation",y={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},E=location.origin;function te(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function ne(){return{x:pageXOffset,y:pageYOffset}}function g(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const S={...y,"":y.hover};function T(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function se(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=T(e)}}function re(e,t,n){let s;try{if(s=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&s.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";s.hash=`#${o}${s.hash}`}}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,i=!s||!!r||V(s,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),a=s?.origin===E&&e.hasAttribute("download");return{url:s,external:i,target:r,download:a}}function oe(e){let t=null,n=null,s=null,r=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)s===null&&(s=g(o,"preload-code")),r===null&&(r=g(o,"preload-data")),t===null&&(t=g(o,"keepfocus")),n===null&&(n=g(o,"noscroll")),i===null&&(i=g(o,"reload")),a===null&&(a=g(o,"replacestate")),o=T(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:S[s??"off"],preload_data:S[r??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(a)}}function ae(e){const t=R(e);let n=!0;function s(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function i(a){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&a(o=c)})}return{notify:s,set:r,subscribe:i}}const U={v:L};function ie(){const{set:e,subscribe:t}=R(!1);let n;async function s(){clearTimeout(n);try{const r=await fetch(`${P}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==N;return a&&(e(!0),U.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:s}}function V(e,t,n){return e.origin!==E||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function le(e){}const x=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...x];const j=new Set([...x]);[...j];let w,k,_;const G=v.toString().includes("$$")||/function \w+\(\) \{\}/.test(v.toString()),A="a:";G?(w={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(A)},k={current:null},_={current:!1}):(w=new class{#e=u({});get data(){return f(this.#e)}set data(t){d(this.#e,t)}#t=u(null);get form(){return f(this.#t)}set form(t){d(this.#t,t)}#n=u(null);get error(){return f(this.#n)}set error(t){d(this.#n,t)}#s=u({});get params(){return f(this.#s)}set params(t){d(this.#s,t)}#r=u({id:null});get route(){return f(this.#r)}set route(t){d(this.#r,t)}#o=u({});get state(){return f(this.#o)}set state(t){d(this.#o,t)}#a=u(-1);get status(){return f(this.#a)}set status(t){d(this.#a,t)}#i=u(new URL(A));get url(){return f(this.#i)}set url(t){d(this.#i,t)}},k=new class{#e=u(null);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},_=new class{#e=u(!1);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},U.v=()=>_.current=!0);function de(e){Object.assign(w,e)}export{Z as H,ee as N,Q as P,F as S,k as a,C as b,oe as c,D as d,B as e,se as f,re as g,H as h,V as i,ie as j,ae as k,y as l,K as m,L as n,E as o,w as p,J as q,te as r,ne as s,X as t,de as u,W as v,R as w,M as x,le as y};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{m as g,g as l,v as m,p as Y,u as q,A as L,f as Z,s as tt,t as N,a as W,b as et,i as _,o as st,d as nt,c as V,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"./
|
|
1
|
+
import"./DsnmJJEf.js";import{m as g,g as l,v as m,p as Y,u as q,A as L,f as Z,s as tt,t as N,a as W,b as et,i as _,o as st,d as nt,c as V,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"./0RGfo0js.js";import{S as A}from"./BXN538J3.js";import{r as D}from"./xjN9NojQ.js";import{w as ut}from"./Cwq50RB4.js";const ct=new Set(["127.0.0.1","localhost","0.0.0.0","[::1]"]),lt=e=>Number.isInteger(e)&&e>=1&&e<=65535;function dt(e){const t=e.indexOf("{port}"),s=e.indexOf("/",e.indexOf("://")+3);return t>=0&&(s<0||t<s)}function ht(e){const t=URL.parse(e);if(!t||t.protocol!=="http:"&&t.protocol!=="https:"||t.username||t.password||!ct.has(t.hostname.toLowerCase()))return null;const s=Number(t.port||(t.protocol==="https:"?443:80));return lt(s)?s:null}function F(e,t){const s=ht(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 X=new Set(["127.0.0.1","localhost"]);function te(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 mt=e=>Number.isInteger(e)&&e>=1&&e<=65535;function ft(e){const t=URL.parse(e);if(!t||t.protocol!=="http:"||t.username||t.password||!X.has(t.hostname.toLowerCase()))return null;const s=t.port?Number(t.port):80;return mt(s)?s:null}function pt(e,t,s){const r=t?ft(e):null;if(r===null||!t)return e;const n=s.port||(s.protocol==="https:"?"443":"80");if(X.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 gt{#t=g(null);get to(){return l(this.#t)}set to(t){m(this.#t,t,!0)}#e=g(null);get remote(){return l(this.#e)}set remote(t){m(this.#e,t,!0)}#s=g(null);get hosted(){return l(this.#s)}set hosted(t){m(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?pt(t,this.to,location):t}sandbox(t){return this.remote?D(t,this.remote,location.origin):this.hosted&&dt(this.hosted.pattern)?F(t,{pattern:this.hosted.pattern}):t}}const R=new gt;function ee(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 yt(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 kt(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 bt=e=>new URLSearchParams({plugin:e.plugin,service:e.service,...e.project?{project:e.project}:{}}).toString();async function wt(e){try{const t=await fetch(`/api/services?${bt(e)}`);return t.ok?await t.json():null}catch{return null}}async function vt(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 St=5e3,U=new Map;function xt(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 _t(e,t){const s=e.pluginId,r=(i,a)=>{if(typeof i!="string"||!i)throw new TypeError("Name a service.");const d=a===void 0?e.projectId:a;return{plugin:s,service:i,project:typeof d=="string"&&d?d:null}},n=i=>{const a=typeof i=="object"&&i!==null?i:{},d=typeof a.task=="string"&&a.task?a.task:e.taskId??null;return d?{taskId:d,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 Et(e,t){if(!customElements.get(t.tag)){if(!t.ui)throw new Error("this Wheelhouse has no UI bundle for it");try{await xt(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??St)})])}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 Tt=V('<p class="text-sm text-muted-foreground"> </p>'),At=V('<div class="contents"></div> <!>',1);function se(e,t){Y(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),d=g(null),b=g(null);q(()=>{if(!l(a)||!l(n))return;const k=l(a);let v=!1,T=null;return m(b,null),Et(k,{tag:l(n),ui:l(i),data:L(()=>t.data),entry:L(()=>t.entry),host:_t(L(()=>t.entry),{status:wt,launch:vt,feedback:yt,summarise:kt,token:()=>at.data.sessionToken??""}),importer:t.importer}).then(o=>{T=o,v?o.remove():m(d,o,!0)},o=>{v||m(b,o.message,!0)}),()=>{v=!0,T?.remove(),m(d,null)}}),q(()=>{l(d)&&(s()!==void 0&&(l(d).preview=s()),l(d).entry=t.entry,l(d).data=t.data)});var y=At(),x=Z(y);it(x,k=>m(a,k),()=>l(a));var E=tt(x,2);{var w=k=>{var v=Tt(),T=st(v);N(()=>nt(T,`Not available. The ${t.entry.pluginId??""} plugin’s element could not be shown: ${l(b)??""}.`)),W(k,v)};rt(E,k=>{l(b)&&!r()&&k(w)})}N(()=>ot(x,"data-plugin-element",l(n))),W(e,y),et()}const jt=/^(captain[,.!]?\s*)?(shipshape|all (is )?well|all quiet|nothing (new )?to report)[.!]?$/i,H=/^\[Request interrupted by user/,It=/\u001b\[[0-9;?]*[A-Za-z]/g,O=e=>String(e??"").split("/").filter(Boolean).pop()??"",M=e=>String(e??"").split(`
|
|
2
2
|
`)[0].trim(),$t=e=>{try{return new URL(String(e)).host}catch{return String(e??"")}};function Lt(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:$t(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 Ut(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
3
|
`):""}const I=e=>e.replace(/<system-reminder>[\s\S]*?<\/system-reminder>/g,"").replace(/<\/?pasted_content(?:\s+id="[^"]*")?\s*>\n?/g,"").trim(),Ot=/<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(Ot);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 Q(e){const t=$(e,"command-name");if(!t)return null;const s=$(e,"command-args");return s?`${t} ${s}`:t}function Mt(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 Rt(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,d=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=Q(u);if(c)w(o,c,{command:!0});else if(!u.includes("<local-command-stdout>")){const h=I(u);h&&w(o,h)}}else if(Array.isArray(u))for(const c of u)if(c?.type==="tool_result"){const h=Ut(c.content),f=s.get(c.tool_use_id);f&&(f.result=h,f.isError=!!c.is_error);const S=r.get(c.tool_use_id);S&&(S.answers=c.is_error?{}:Rt(o,h))}else if(c?.type==="text"){const h=String(c.text??""),f=B(h);if(H.test(h.trim()))a&&(a.interrupted=!0);else if(f)w(o,f,{queued:!0});else if(o.isMeta||o.sourceToolUseID){const S=h.startsWith("Base directory for this skill")?"Skill instructions loaded":"Context added";k(o,S,h,`${o.uuid}-${S}`)}else{const S=I(h);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=d&&p?Date.parse(p)-Date.parse(d):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:Mt(u.input),answers:null};r.set(u.id,c),x(o).parts.push(c)}else if(u?.type==="tool_use"){const c=Lt(String(u.name),u.input??{}),h={kind:"tool",id:u.id,name:String(u.name),...c,input:u.input,result:null,isError:!1};s.set(u.id,h),E(o).steps.push(h)}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
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"),h=Q(u);if(h)w(o,h,{command:!0});else if(c!==null){const f=c.replace(It,"").trim();f&&t.push({kind:"output",id:o.uuid,text:f,at:o.timestamp})}}break}}p&&(d=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(`
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{s as _e,r as me,p as K}from"./BAOiF0in.js";import{I as ze,t as Wt}from"./xH4qmLqM.js";import{p as et}from"./
|
|
1
|
+
import"./DsnmJJEf.js";import{s as _e,r as me,p as K}from"./BAOiF0in.js";import{I as ze,t as Wt}from"./xH4qmLqM.js";import{p as et}from"./0RGfo0js.js";import{a as Ft,o as Et}from"./RYq3318d.js";import{k as Kt,A as Ut,m as A,q as it,g as t,v as w,l as lt,p as Fe,u as We,h as d,s as v,r as l,t as P,a as f,b as Ke,i as b,aB as Bt,o as U,d as q,j as Be,f as De,c as m,y as N,n as fe,bF as Mt,z as Yt,G as gt,x as Dt,aC as Gt}from"./BuRWgnCz.js";import{i as z}from"./BDpRITyb.js";import{a as Pe,s as R,f as Jt,d as ut,l as Vt,e as nt,i as Xt,r as Qt,b as Zt}from"./Cwb6d3g_.js";import{b as Ge}from"./BWRIDih-.js";import{z as ea}from"./DJNADPa5.js";import{a as Pt,f as ta,s as aa,P as ra}from"./Y3845wkB.js";import{c as na}from"./Cwq50RB4.js";import{p as st}from"./fuBLR9dZ.js";import{k as sa,X as Ye}from"./rS7QE60d.js";import{R as At}from"./nW7-TN7t.js";import{E as Lt}from"./IuxiJfHx.js";import{h as ia,m as oa}from"./CFTDQcgN.js";import{a as Rt}from"./BMFk7aZ6.js";import{S as la}from"./BXN538J3.js";import{c as Nt}from"./DYbDyf3M.js";import{M as pt}from"./DxdQiNse.js";import{A as da}from"./C0iYpbLa.js";import{C as ca}from"./C6T16bV1.js";import{C as ua}from"./cmRB1an4.js";import{P as xt}from"./DNc9cRsu.js";import{s as va,a as bt}from"./BT_DAfvO.js";class mt{#e=new WeakMap;#t;#r;static entries=new WeakMap;constructor(e){this.#r=e}observe(e,a){var r=this.#e.get(e)||new Set;return r.add(a),this.#e.set(e,r),this.#s().observe(e,this.#r),()=>{var s=this.#e.get(e);s.delete(a),s.size===0&&(this.#e.delete(e),this.#t.unobserve(e))}}#s(){return this.#t??(this.#t=new ResizeObserver(e=>{for(var a of e){mt.entries.set(a.target,a);for(var r of this.#e.get(a.target)||[])r(a)}}))}}var ha=new mt({box:"border-box"});function wt(n,e,a){var r=ha.observe(n,()=>a(n[e]));Kt(()=>(Ut(()=>a(n[e])),r))}var pa=new Set(["$$slots","$$events","$$legacy"]);function In(n,e){let a=me(e,pa);const r={name:"compass",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var fa=new Set(["$$slots","$$events","$$legacy"]);function vt(n,e){let a=me(e,fa);const r={name:"crosshair",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ma=new Set(["$$slots","$$events","$$legacy"]);function _t(n,e){let a=me(e,ma);const r={name:"maximize-2",size:24,node:[["path",{d:"M15 3h6v6"}],["path",{d:"m21 3-7 7"}],["path",{d:"m3 21 7-7"}],["path",{d:"M9 21H3v-6"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ga=new Set(["$$slots","$$events","$$legacy"]);function xa(n,e){let a=me(e,ga);const r={name:"mic",size:24,node:[["path",{d:"M12 19v3"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ba=new Set(["$$slots","$$events","$$legacy"]);function yt(n,e){let a=me(e,ba);const r={name:"monitor-off",size:24,node:[["path",{d:"M12 17v4"}],["path",{d:"M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826"}],["path",{d:"m2 2 20 20"}],["path",{d:"M8 21h8"}],["path",{d:"M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var wa=new Set(["$$slots","$$events","$$legacy"]);function kt(n,e){let a=me(e,wa);const r={name:"monitor-play",size:24,node:[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z"}],["path",{d:"M12 17v4"}],["path",{d:"M8 21h8"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var _a=new Set(["$$slots","$$events","$$legacy"]);function ya(n,e){let a=me(e,_a);const r={name:"monitor",size:24,node:[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var ka=new Set(["$$slots","$$events","$$legacy"]);function za(n,e){let a=me(e,ka);const r={name:"mouse-pointer-click",size:24,node:[["path",{d:"M14 4.1 12 6"}],["path",{d:"m5.1 8-2.9-.8"}],["path",{d:"m6 12-1.9 2"}],["path",{d:"M7.2 2.2 8 5.1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Sa=new Set(["$$slots","$$events","$$legacy"]);function $a(n,e){let a=me(e,Sa);const r={name:"panel-right-close",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M15 3v18"}],["path",{d:"m8 9 3 3-3 3"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Ta=new Set(["$$slots","$$events","$$legacy"]);function Ca(n,e){let a=me(e,Ta);const r={name:"send",size:24,node:[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z"}],["path",{d:"m21.854 2.147-10.94 10.939"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Ea=new Set(["$$slots","$$events","$$legacy"]);function Ma(n,e){let a=me(e,Ea);const r={name:"smartphone",size:24,node:[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}],["path",{d:"M12 18h.01"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}var Da=new Set(["$$slots","$$events","$$legacy"]);function Pa(n,e){let a=me(e,Da);const r={name:"square",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}]]};ze(n,_e(()=>a,{get icon(){return r}}))}const Aa="{url}";function La(n,e,a){const r=e&&Object.hasOwn(n,e)?n[e]:null;return typeof r!="string"?{href:a.url,external:!0}:{href:r.replace(Aa,encodeURIComponent(a.url)),external:!1}}const Hn={review(n,e){const a=et.data?.pullRequestTabs??{};return La(a,n,e)}},Ra=15e3,Ot=n=>`url:${n}`,Na=n=>n.startsWith("url:")?`/api/previews/check?url=${encodeURIComponent(n.slice(4))}`:`/api/tasks/${encodeURIComponent(n)}/preview`,Oa=5e3;class Ia{#e=A(it({}));get checks(){return t(this.#e)}set checks(e){w(this.#e,e,!0)}#t=A(it({}));get failed(){return t(this.#t)}set failed(e){w(this.#t,e,!0)}watching=new Map;running=new Map;unlisten=null;stopped(e){return this.checks[e]?.state==="down"}watch(e){const a=this.watching.get(e);a?a.count++:(this.watching.set(e,{count:1,timer:null}),this.refresh(e)),this.listen();let r=!1;return()=>{if(r)return;r=!0;const s=this.watching.get(e);!s||--s.count>0||(s.timer&&clearTimeout(s.timer),this.watching.delete(e),this.watching.size||(this.unlisten?.(),this.unlisten=null))}}refresh(e){const a=this.running.get(e);if(a)return a;const r=this.load(e).finally(()=>{this.running.delete(e),this.schedule(e)});return this.running.set(e,r),r}clear(){for(const e of this.watching.values())e.timer&&clearTimeout(e.timer);this.watching.clear(),this.unlisten?.(),this.unlisten=null,this.checks={},this.failed={}}async load(e){try{const a=await fetch(Na(e));if(!a.ok)throw new Error(String(a.status));this.checks[e]=await a.json(),this.failed[e]=!1}catch{this.failed[e]=!0}}schedule(e){const a=this.watching.get(e);if(!a)return;a.timer&&clearTimeout(a.timer);const r=this.checks[e]?.state==="live"?Ra:Oa;a.timer=setTimeout(()=>{a.timer=null,document.visibilityState!=="hidden"&&this.refresh(e)},r)}listen(){if(this.unlisten)return;const e=()=>{if(document.visibilityState!=="hidden")for(const a of this.watching.keys())this.refresh(a)};window.addEventListener("focus",e),document.addEventListener("visibilitychange",e),this.unlisten=()=>{window.removeEventListener("focus",e),document.removeEventListener("visibilitychange",e)}}}const Qe=new Ia,It=()=>et.data.reviewSurface??null,zt=500,Ze=n=>n.replace(/\s+/g," ").trim(),Ha=(n,e)=>n.length>e?n.slice(0,e-1).trimEnd()+"…":n;function ht(n){const e=n.y<.3333333333333333?"top":n.y<.6666666666666666?"middle":"bottom",a=n.x<1/3?"left":n.x<2/3?"":"right";return e==="middle"&&!a?"the middle":`the ${e}${a?` ${a}`:""}`}const qa={button:"button",a:"link",input:"box",textarea:"box",select:"menu",img:"picture",h1:"heading",h2:"heading",h3:"heading",h4:"heading",label:"label",li:"item"};function ja(n,e,a){const r=n?.closest('button, a, input, textarea, select, img, h1, h2, h3, h4, label, li, [role="button"]')??n;if(r&&r.tagName!=="HTML"&&r.tagName!=="BODY"){const s=r.tagName.toLowerCase(),o=r.getAttribute("role")==="button"?"button":qa[s]??"part of the page",i=Ha(Ze(r.value||r.getAttribute("aria-label")||r.getAttribute("alt")||r.textContent||""),60);return{kind:"element",label:i?`the “${i}” ${o}`:`a ${o} near ${ht(e)}`,detail:`<${s}>${i?` “${i}”`:""}, near ${ht(e)} of the page`}}return{kind:"spot",label:`a spot near ${ht(e)} of the page`,detail:`${Math.round(e.x*100)}% across and ${Math.round(e.y*100)}% down the part of the page in view (${a.w}×${a.h})`}}const Wa=/^Preview feedback for (\S+) \((.+)\), sent together from the Preview tab \(([^)\n]*)\):$/,Fa=/^Feedback for (\S+) \((.+)\), sent together from the “([^“”\n]+)” plugin \(([a-z][a-z0-9-]*)\)(?:, about (.+))?:$/,Ka="Firstmate: pass these to this task’s worker, the same task (start no new one). You may add notes of your own, marked as yours.",Ua=n=>n.flatMap((e,a)=>[`${a+1}. ${Ze(e.text)}`,...e.points&&Ze(e.points)?[` Points at: ${Ze(e.points)}`]:[]]);function Ba(n,e,a){return[`Preview feedback for ${n.id} (${Ze(n.title)}), sent together from the Preview tab (${e}):`,...Ua(a.map(r=>({text:r.text,points:r.points?.label??null}))),"",Ka].join(`
|
|
2
2
|
`)}function qn(n){const e=n.replace(/\r\n?/g,`
|
|
3
3
|
`).split(`
|
|
4
4
|
`),a=Wa.exec(e[0]??""),r=a?null:Fa.exec(e[0]??""),s=a??r;if(!s)return null;const o=[];for(const i of e.slice(1)){const c=/^\d+\. (.+)$/.exec(i);if(c){o.push({text:c[1],points:null});continue}const u=/^ {3}Points at: (.+)$/.exec(i);u&&o.length&&(o[o.length-1].points=u[1])}return o.length?{taskId:s[1],title:s[2],url:a?a[3]:null,plugin:r?{id:r[4],name:r[3],subject:r[5]??null}:null,items:o}:null}var Ya=m('<button type="button" class="rounded p-1 hover:bg-accent hover:text-foreground max-md:grid max-md:size-11 max-md:place-items-center"><!></button>'),Ga=m('<a target="_blank" rel="noreferrer" class="inline-flex shrink-0 items-center gap-1 rounded px-1 py-0.5 text-sea hover:underline max-md:min-h-11">Open in new tab<!></a>'),Ja=m('<button type="button" class="inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-accent max-md:min-h-11" data-preview-fullscreen=""><!>Full screen</button>'),Va=m('<div class="flex items-center gap-2 text-xs text-muted-foreground"><span class="min-w-0 flex-1 truncate font-mono"> </span> <!> <!> <!></div>'),Xa=m('<iframe referrerpolicy="no-referrer" loading="lazy"></iframe>'),Qa=m('<button type="button" class="absolute inset-0 cursor-zoom-in" aria-label="Open the preview full size" data-preview-open=""><span class="absolute right-2.5 bottom-2.5 flex items-center gap-1.5 rounded-md border border-hair bg-card/95 px-2 py-1 text-xs font-medium text-foreground opacity-0 shadow-sm transition-opacity group-focus-within:opacity-100 group-hover:opacity-100"><!>Open full size</span></button>'),Za=m("<!> <!>",1),er=m('<button type="button" class="absolute inset-0 cursor-crosshair bg-sea/5 ring-2 ring-sea ring-inset" aria-label="Point at part of the page" data-preview-pointing=""><span class="pointer-events-none absolute top-3 left-1/2 flex -translate-x-1/2 items-center gap-2 rounded-full bg-sea px-3.5 py-1.5 text-sm text-on-accent shadow-lg"><!>Click the part you mean</span></button>'),tr=m('<span class="pointer-events-none absolute size-5 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white bg-sea shadow-md ring-2 ring-sea/40" aria-hidden="true" data-preview-pin=""></span>'),ar=m('<iframe referrerpolicy="no-referrer"></iframe> <!>',1),rr=m('<span class="block text-xs"> </span>'),nr=m('<div class="flex items-start gap-2.5 px-4 py-3 text-muted-foreground" data-preview-notice=""><!> <p class="min-w-0 text-sm"><span> </span> <!></p></div>'),sr=m('<p class="text-sm"> </p>'),ir=m('<!> <p class="mt-2 text-sm font-medium"> </p> <p class="mt-1 text-xs"> </p>',1),or=m('<div class="grid size-full place-items-center p-4 text-center text-muted-foreground" data-preview-notice=""><div><!></div></div>'),lr=m("<div><!> <div><!></div></div>");function dr(n,e){Fe(e,!0);let a=K(e,"taskId",3,null),r=K(e,"url",3,null),s=K(e,"compact",3,!1),o=K(e,"fill",3,!1),i=K(e,"desktop",3,!1),c=K(e,"toolbar",3,!0),u=K(e,"pointing",3,!1),g=K(e,"pin",3,null),C=A(null);function B($){const S=$.currentTarget.getBoundingClientRect(),W=$.clientX-S.left,V=$.clientY-S.top;let F=null;const be=t(Se)?t(ve):1;try{F=t(C)?.contentDocument?.elementFromPoint(W/be,V/be)??null}catch{F=null}const X={x:S.width?W/S.width:0,y:S.height?V/S.height:0};e.onpoint?.(ja(F,X,{w:Math.round(S.width),h:Math.round(S.height)}),X)}const re={w:1280,h:800};let ge=A(0),ee=A(0),I=A(0);const ie=b(()=>a()??Ot(r()??""));We(()=>Qe.watch(t(ie)));const O=b(()=>Qe.checks[t(ie)]??null),ye=b(()=>!!Qe.failed[t(ie)]),j=b(()=>t(O)?.state==="live"),ne=b(()=>t(O)?.url??null),oe=b(()=>t(ne)&&t(O)?Pt.view(t(ne)):null),te=b(()=>t(oe)?ta(t(oe),location.origin):""),ve=b(()=>t(ee)?t(ee)/re.w:0),Se=b(()=>o()&&i()&&t(ve)>0&&t(ve)<1);function Ae(){Bt(ge),Qe.refresh(t(ie))}var Ee={reload:Ae},$e=lr(),xe=d($e);{var Le=$=>{var S=Va(),W=d(S),V=U(W,!0),F=v(W,2);{var be=T=>{var D=Ya(),G=d(D);At(G,{class:"size-3.5"}),l(D),P(()=>{R(D,"aria-label",t(j)?"Reload the preview":"Check the preview again"),R(D,"title",t(j)?"Reload":"Check again")}),N("click",D,Ae),f(T,D)};z(F,T=>{(t(j)||t(O)?.state==="blocked"||t(O)?.state==="down")&&T(be)})}var X=v(F,2);{var ke=T=>{var D=Ga(),G=v(d(D));Lt(G,{class:"size-3.5","aria-hidden":"true"}),l(D),P(()=>R(D,"href",t(oe))),f(T,D)};z(X,T=>{(t(j)||t(O)?.state==="blocked")&&T(ke)})}var Q=v(X,2);{var Y=T=>{var D=Ja(),G=d(D);_t(G,{class:"size-3.5","aria-hidden":"true"}),fe(),l(D),N("click",D,function(...J){e.onfullscreen?.apply(this,J)}),f(T,D)};z(Q,T=>{e.onfullscreen&&t(j)&&T(Y)})}l(S),P(()=>{R(W,"title",t(ne)??void 0),q(V,t(ne)??"Live preview")}),f($,S)};z(xe,$=>{c()&&$(Le)})}var he=v(xe,2),y=d(he);{var L=$=>{var S=Be(),W=De(S);sa(W,()=>`${t(oe)} ${t(ge)}`,V=>{var F=Be(),be=De(F);{var X=Q=>{var Y=Za(),T=De(Y);{var D=E=>{var k=Xa();P(()=>{R(k,"src",t(oe)),R(k,"title",`Live preview of ${t(ne)??""}`),R(k,"sandbox",t(te)),k.inert=!!e.onopen,Pe(k,1,`absolute top-0 left-0 origin-top-left border-0 bg-white ${e.onopen?"pointer-events-none":""}`),ut(k,`width:${re.w}px;height:${re.h}px;transform:scale(${t(ve)??""})`)}),f(E,k)};z(T,E=>{t(ve)&&E(D)})}var G=v(T,2);{var J=E=>{var k=Qa(),se=d(k),Z=d(se);_t(Z,{class:"size-3.5","aria-hidden":"true"}),fe(),l(se),l(k),N("click",k,function(...x){e.onopen?.apply(this,x)}),f(E,k)};z(G,E=>{e.onopen&&E(J)})}f(Q,Y)},ke=Q=>{var Y=ar(),T=De(Y);Ge(T,E=>w(C,E),()=>t(C));var D=v(T,2);{var G=E=>{var k=er(),se=d(k),Z=d(se);za(Z,{class:"size-4","aria-hidden":"true"}),fe(),l(se),l(k),N("click",k,B),f(E,k)},J=E=>{var k=tr();P(()=>ut(k,`left:${g().x*100}%;top:${g().y*100}%`)),f(E,k)};z(D,E=>{u()?E(G):g()&&E(J,1)})}P(()=>{R(T,"src",t(oe)),R(T,"title",`Live preview of ${t(ne)??""}`),R(T,"sandbox",t(te)),Pe(T,1,Jt(t(Se)?"absolute top-0 left-0 origin-top-left border-0 bg-white":"size-full border-0 bg-white")),ut(T,t(Se)?`width:${re.w}px;height:${t(I)/t(ve)}px;transform:scale(${t(ve)})`:void 0)}),f(Q,Y)};z(be,Q=>{s()?Q(X):Q(ke,-1)})}f(V,F)}),f($,S)},le=$=>{const S=b(()=>!t(O)&&!t(ye)),W=b(()=>t(S)?"Checking the preview…":t(ye)?"Could not check the preview":t(O)?.state==="down"?"Preview stopped":t(O)?.state==="blocked"?"Preview cannot be embedded":t(O)?.state==="refused"?"Preview not shown here":"No live preview reported"),V=b(()=>t(S)?"":t(ye)?"Wheelhouse did not answer; it will try again.":t(O)?.state==="blocked"?`${t(O).reason} Open it in a new tab instead.`:t(O)?.reason??"");var F=Be(),be=De(F);{var X=Q=>{var Y=nr(),T=d(Y);{var D=Z=>{yt(Z,{class:"mt-0.5 size-4 shrink-0","aria-hidden":"true"})};z(T,Z=>{t(S)||Z(D)})}var G=v(T,2),J=d(G),E=U(J,!0),k=v(J,2);{var se=Z=>{var x=rr(),_=U(x,!0);P(()=>q(_,t(V))),f(Z,x)};z(k,Z=>{t(V)&&Z(se)})}l(G),l(Y),P(()=>{Pe(J,1,`font-medium ${t(S)?"":"text-foreground"}`),q(E,t(W))}),f(Q,Y)},ke=Q=>{var Y=or(),T=d(Y),D=d(T);{var G=E=>{var k=sr(),se=U(k,!0);P(()=>q(se,t(W))),f(E,k)},J=E=>{var k=ir(),se=De(k);yt(se,{class:"mx-auto size-6","aria-hidden":"true"});var Z=v(se,2),x=U(Z,!0),_=v(Z,2),ce=U(_,!0);P(()=>{q(x,t(W)),q(ce,t(V))}),f(E,k)};z(D,E=>{t(S)?E(G):E(J,-1)})}l(T),l(Y),f(Q,Y)};z(be,Q=>{s()?Q(X):Q(ke,-1)})}f($,F)};z(y,$=>{t(j)&&t(oe)?$(L):$(le,-1)})}return l(he),l($e),P(()=>{Pe($e,1,`min-w-0 ${o()?"flex h-full flex-col":""}`),R($e,"data-live-preview",t(O)?.state??"checking"),Pe(he,1,`group relative w-full overflow-hidden bg-muted/40 ${c()?"mt-1.5 rounded-lg border":""} ${s()?t(j)?"aspect-[16/10]":"":o()?"min-h-0 flex-1":t(j)?"h-[70vh] min-h-80":"h-40"}`)}),wt(he,"clientWidth",$=>w(ee,$)),wt(he,"clientHeight",$=>w(I,$)),f(n,$e),Ke(Ee)}lt(["click"]);const St="wheelhouse-preview-helper",Ht=()=>({said:[],list:[],asking:!1,error:null,sent:null}),cr=Object.freeze(Ht()),Xe=()=>crypto.randomUUID();class ur{#e=A(it({}));get byTask(){return t(this.#e)}set byTask(e){w(this.#e,e,!0)}loaded=!1;load(){if(!this.loaded){this.loaded=!0;try{const e=JSON.parse(localStorage.getItem(St)??"{}");if(e&&typeof e=="object"){for(const a of Object.values(e))a.asking=!1;this.byTask=e}}catch{this.byTask={}}}}save(){try{localStorage.setItem(St,JSON.stringify(this.byTask))}catch{}}view(e){return this.byTask[e]??cr}of(e){return this.load(),this.byTask[e]||(this.byTask[e]=Ht()),this.byTask[e]}async ask(e,a,r,s){const o=this.of(e),i=a.trim();if(!i&&!r||o.asking)return;o.said.push({id:Xe(),who:"captain",text:i||"What about this?",points:r}),o.asking=!0,o.error=null,this.save();const c=o.said.filter(u=>!u.notice).map(u=>({who:u.who,text:u.text,points:u.points??null}));try{const u=await fetch(`/api/tasks/${encodeURIComponent(e)}/preview/helper`,{method:"POST",headers:{"content-type":"application/json",[la]:s},body:JSON.stringify({turns:c,list:o.list.map(C=>C.text)})}),g=await u.json().catch(()=>null);!u.ok||!g?.reply?o.error=g?.message??`The helper could not answer (${u.status}).`:o.said.push({id:Xe(),who:"helper",text:g.reply,suggest:g.suggest.map(C=>({text:C,added:!1}))})}catch{o.error="Wheelhouse could not be reached. Try again."}finally{o.asking=!1,this.save()}}accept(e,a,r){const s=this.of(e),o=s.said.findIndex(u=>u.id===a),i=s.said[o]?.suggest?.[r];if(!i||i.added)return;i.added=!0;const c=s.said.slice(0,o).reverse().find(u=>u.who==="captain");s.list.push({id:Xe(),text:i.text,points:c?.points??null}),s.sent=null,this.save()}addOwn(e,a,r=null){const s=a.trim().slice(0,zt);if(!s)return;const o=this.of(e);o.list.push({id:Xe(),text:s,points:r}),o.sent=null,this.save()}edit(e,a,r){const s=this.of(e).list.find(o=>o.id===a);s&&(s.text=r.slice(0,zt),this.save())}remove(e,a){const r=this.of(e),s=r.list.find(o=>o.id===a);r.list=r.list.filter(o=>o.id!==a);for(const o of r.said)for(const i of o.suggest??[])s&&i.text===s.text&&(i.added=!1);this.save()}async send(e,a,r){const s=this.of(e.id),o=s.list.filter(g=>g.text.trim());if(!o.length)return!1;s.error=null;const i=await aa(Ba(e,a,o),r,e.id);if(!i.ok)return s.error=i.error,this.save(),!1;s.sent={at:new Date().toISOString(),count:o.length};const c=e.id.lastIndexOf("@"),u=c>0?`second mate ${e.id.slice(c+1)}`:"Firstmate";return s.list=[],s.said.push({id:Xe(),who:"helper",notice:!0,text:`Sent to ${u}: ${o.length} ${o.length===1?"note":"notes"}, which it passes to this task. Keep going if you spot more; they make a new list.`}),this.save(),!0}clear(e){const a=this.of(e);a.said=[],a.error=null,this.save()}}const Oe=new ur;var vr=new Set(["$$slots","$$events","$$legacy","ref","value","class","data-slot"]),hr=m("<textarea></textarea>");function pr(n,e){Fe(e,!0);let a=K(e,"ref",15,null),r=K(e,"value",15),s=K(e,"data-slot",3,"textarea"),o=me(e,vr);var i=hr();Mt(i),Vt(i,c=>({"data-slot":s(),class:c,...o}),[()=>Nt("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-2.5 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",e.class)]),Ge(i,c=>a(c),()=>a()),Rt(i,r),f(n,i),Ke()}const fr={unsupported:"This browser cannot turn speech into text. Chrome and Edge can; you can still type.",blocked:"The microphone is blocked for Wheelhouse. Allow it from the icon in the address bar, then try again.","no-microphone":"No microphone was found. Connect one, then try again.","no-speech":"Nothing was heard. Try again a little closer to the microphone.",network:"The browser’s speech service could not be reached. Check the connection and try again.",failed:"Dictation stopped unexpectedly. Try again, or type instead."};function $t(){if(typeof window>"u")return null;const n=window;return n.SpeechRecognition??n.webkitSpeechRecognition??null}const mr={"not-allowed":"blocked","service-not-allowed":"blocked","audio-capture":"no-microphone","no-speech":"no-speech",network:"network","language-not-supported":"unsupported"},ot=n=>n.trim().split(/\s+/).filter(Boolean),gr=(n,e)=>n.toLowerCase().replace(/[^\p{L}\p{N}]/gu,"")===e.toLowerCase().replace(/[^\p{L}\p{N}]/gu,""),qt=(n,e)=>e.length<=n.length&&e.every((a,r)=>gr(a,n[r]));function Tt(n,e){const a=ot(n);return!a.length||qt(ot(e),a)?e:/\s$/.test(n)||/^\s/.test(e)?n+e:`${n} ${e}`}function xr(n,e){const a=ot(n),r=ot(e);return!a.length||!qt(r,a)?e:r.slice(a.length).join(" ")}const br={privacyNote:"Dictation uses your browser’s speech service. In Chrome that sends what you say to Google to turn it into text, only while the microphone is on.",supported:()=>$t()!==null,start(n,e){const a=$t();if(!a)return e.problem("unsupported"),e.end(),{stop(){},abort(){}};const r=new a;r.lang=n,r.continuous=!0,r.interimResults=!0,r.onresult=s=>{let o="",i="";for(let c=0;c<s.results.length;c++){const u=s.results[c];u.isFinal?o=Tt(o,u[0].transcript):i=Tt(i,u[0].transcript)}e.text(o,xr(o,i))},r.onerror=s=>{s.error!=="aborted"&&e.problem(mr[s.error]??"failed")},r.onend=()=>e.end();try{r.start()}catch{e.problem("failed"),e.end()}return{stop:()=>r.stop(),abort:()=>r.abort()}}};let wr=br;const ft=()=>wr,_r=2e3;class yr{#e=A(null);get owner(){return t(this.#e)}set owner(e){w(this.#e,e)}#t=A("idle");get phase(){return t(this.#t)}set phase(e){w(this.#t,e,!0)}#r=A(0);get startedAt(){return t(this.#r)}set startedAt(e){w(this.#r,e,!0)}#s=A(null);get problem(){return t(this.#s)}set problem(e){w(this.#s,e,!0)}#n=null;#a=null;#i=null;active(e){return this.owner===e&&this.phase!=="idle"}start(e,a,r=kr()){this.phase!=="idle"&&this.commit();const s=ft();if(this.owner=e,this.problem=null,!s.supported()){this.problem="unsupported";return}this.#a=a,a.begin(),this.phase="listening",this.startedAt=Date.now();let o=null;const i=()=>o===null||this.#n===o;o=s.start(r,{text:(c,u)=>{i()&&this.#a===a&&a.show(...zr(c,u))},problem:c=>{i()&&(this.problem=c)},end:()=>{i()&&this.#a===a&&this.#o("finish")}}),this.#a===a&&(this.#n=o)}stop(){this.phase==="listening"&&(this.phase="stopping",this.#n?.stop(),this.#i=setTimeout(()=>this.#o("finish"),_r))}commit(){this.phase!=="idle"&&this.#o("finish")}cancel(){this.phase!=="idle"&&this.#o("revert")}dismiss(){this.problem=null}#o(e){const a=this.#n,r=this.#a;this.#n=null,this.#a=null,this.#i&&clearTimeout(this.#i),this.#i=null,this.phase="idle",a?.abort(),r?.[e]()}}const ae=new yr;function kr(){return typeof navigator<"u"&&navigator.language?navigator.language:"en-US"}function zr(n,e){const a=n.replace(/\s+/g," ").trim(),r=e.replace(/\s+/g," ").trim();return[a,a&&r?` ${r}`:r]}const jt=n=>n&&!/\s$/.test(n)?" ":"",Sr=n=>/^[\p{L}\p{N}]/u.test(n)?" ":"";function $r(n){let e="",a="",r="",s=!1;const o=(i,c)=>{n.value=i;try{n.setSelectionRange(c,c)}catch{}n.dispatchEvent(new Event("input",{bubbles:!0}))};return{begin(){e=n.value;const i=n.selectionStart??e.length,c=n.selectionEnd??i;a=e.slice(0,i),r=e.slice(c),s=!1},show(i,c){const u=i+c;if(!u)return;const g=a+jt(a)+u;o(g+Sr(r)+r,g.length),s=!0},finish(){},revert(){s&&o(e,a.length),s=!1}}}function jn(n,e){let a=null,r=null,s="";const o=i=>{const c=document.createRange();c.setStartAfter(i),c.collapse(!0);const u=window.getSelection();u?.removeAllRanges(),u?.addRange(c)};return{begin(){const i=window.getSelection();let c;i?.rangeCount&&n.contains(i.getRangeAt(0).startContainer)?(c=i.getRangeAt(0),r=c.extractContents()):(c=document.createRange(),c.selectNodeContents(n),c.collapse(!1),r=null);const u=document.createRange();u.setStart(n,0),u.setEnd(c.startContainer,c.startOffset),s=jt(u.toString().replace(/\u00a0/g," ")),a=document.createElement("span"),a.dataset.dictation="",c.insertNode(a)},show(i,c){if(!a)return;const u=document.createTextNode(i||c?s+i:""),g=document.createElement("span");g.className="dictation-forming",g.textContent=c,a.replaceChildren(u,...c?[g]:[]),e()},finish(){if(!a)return;const i=a.textContent??"";if(i){const c=document.createTextNode(i);a.replaceWith(c),(n.contains(document.activeElement)||document.activeElement===n)&&o(c)}else a.replaceWith(r??"");a=null,r=null,e()},revert(){a?.replaceWith(r??""),a=null,r=null,e()}}}const Tr=n=>n.code==="Space"&&n.shiftKey&&(n.metaKey||n.ctrlKey)&&!n.altKey,Cr=450;function Er(n,e,a){let r=0;const s=i=>{if(Tr(i)){if(i.preventDefault(),i.repeat)return;ae.active(e)?(r=0,ae.stop()):(r=Date.now(),a());return}ae.active(e)&&(i.key==="Escape"?(i.preventDefault(),i.stopPropagation(),r=0,ae.cancel()):["Shift","Control","Meta","Alt","CapsLock"].includes(i.key)||(r=0,ae.commit()))},o=i=>{if(!r||!(i.code==="Space"||["Shift","Meta","Control"].includes(i.key)))return;const c=Date.now()-r;r=0,c>=Cr&&ae.active(e)&&ae.stop()};return n.addEventListener("keydown",s),n.addEventListener("keyup",o),()=>{n.removeEventListener("keydown",s),n.removeEventListener("keyup",o)}}var Mr=m('<span class="tabular text-xs text-muted-foreground svelte-1uxx7q9" data-dictation-time=""> </span>'),Dr=m('<div class="absolute right-0 bottom-full z-30 mb-2 w-72 rounded-md border bg-popover p-3 text-left text-xs leading-relaxed text-popover-foreground shadow-md svelte-1uxx7q9" role="dialog" aria-label="Before you dictate" data-dictation-note=""><p class="svelte-1uxx7q9"> </p> <p class="mt-1.5 text-muted-foreground svelte-1uxx7q9">Words appear in the box for you to check; nothing is sent until you send it.</p> <div class="mt-2.5 flex justify-end gap-2 svelte-1uxx7q9"><button type="button" class="rounded-md px-2 py-1 text-muted-foreground hover:bg-muted hover:text-foreground svelte-1uxx7q9">Not now</button> <button type="button" class="rounded-md bg-primary px-2.5 py-1 font-medium text-primary-foreground svelte-1uxx7q9">Start dictating</button></div></div>'),Pr=m('<div class="absolute right-0 bottom-full z-30 mb-2 flex w-72 items-start gap-2 rounded-md border bg-popover p-3 text-left text-xs leading-relaxed text-popover-foreground shadow-md svelte-1uxx7q9" role="alert" data-dictation-problem=""><p class="min-w-0 flex-1 svelte-1uxx7q9"> </p> <button type="button" class="-m-1 rounded-sm p-1 text-muted-foreground hover:text-foreground svelte-1uxx7q9" aria-label="Dismiss"><!></button></div>'),Ar=m('<span class="relative inline-flex shrink-0 items-center gap-1.5 svelte-1uxx7q9"><!> <button type="button"><!></button> <span class="sr-only svelte-1uxx7q9" aria-live="polite"> </span> <!></span>');function Lr(n,e){Fe(e,!0);let a=K(e,"label",3,"Dictate"),r=K(e,"size",3,"md"),s=K(e,"disabled",3,!1),o=K(e,"listening",15,!1);const i={};Yt(()=>{o(ae.active(i))});const c=b(()=>o()&&ae.phase==="stopping"),u=b(()=>ae.owner===i?ae.problem:null);let g=A(!1),C=A(it(Date.now())),B=A("Ctrl+Shift+Space");const re="wheelhouse.voice.noted";let ge=!1;function ee(){if(ge)return!0;try{return localStorage.getItem(re)==="1"}catch{return!1}}function I(){if(s())return;const y=ft();if(y.supported()&&y.privacyNote&&!ee()){w(g,!0);return}ae.start(i,e.target()),e.field?.focus()}function ie(){ge=!0;try{localStorage.setItem(re,"1")}catch{}w(g,!1),I()}function O(){o()?ae.stop():t(g)?w(g,!1):I()}const ye=b(()=>{const y=Math.max(0,Math.floor((t(C)-ae.startedAt)/1e3));return`${Math.floor(y/60)}:${String(y%60).padStart(2,"0")}`});We(()=>{/Mac|iPhone|iPad/.test(navigator.platform)&&w(B,"⌘⇧Space")}),We(()=>{if(!o())return;w(C,Date.now(),!0);const y=setInterval(()=>w(C,Date.now(),!0),250);return()=>clearInterval(y)}),We(()=>{if(e.field)return Er(e.field,i,I)}),We(()=>{if(!o()&&!t(g))return;const y=L=>{L.key!=="Escape"||L.defaultPrevented||(L.preventDefault(),o()&&ae.cancel(),w(g,!1))};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)}),Ft(()=>{ae.active(i)&&ae.commit()});var j=Ar(),ne=d(j);{var oe=y=>{var L=Mr(),le=U(L,!0);P(()=>q(le,t(c)?"Finishing…":t(ye))),f(y,L)};z(ne,y=>{o()&&y(oe)})}var te=v(ne,2),ve=d(te);{var Se=y=>{{let L=b(()=>r()==="md"?"size-3.5 fill-current":"size-3 fill-current");Pa(y,{get class(){return t(L)}})}},Ae=y=>{{let L=b(()=>r()==="md"?"size-4.5":"size-4");xa(y,{get class(){return t(L)}})}};z(ve,y=>{o()?y(Se):y(Ae,-1)})}l(te);var Ee=v(te,2),$e=U(Ee,!0),xe=v(Ee,2);{var Le=y=>{var L=Dr(),le=d(L),$=U(le,!0),S=v(le,4),W=d(S),V=v(W,2);l(S),l(L),P(F=>q($,F),[()=>ft().privacyNote]),N("click",W,()=>w(g,!1)),N("click",V,ie),f(y,L)},he=y=>{var L=Pr(),le=d(L),$=U(le,!0),S=v(le,2),W=d(S);Ye(W,{class:"size-3.5"}),l(S),l(L),P(()=>q($,fr[t(u)])),N("click",S,()=>ae.dismiss()),f(y,L)};z(xe,y=>{t(g)?y(Le):t(u)&&y(he,1)})}l(j),P(()=>{R(te,"aria-label",o()?"Stop dictating":a()),R(te,"aria-pressed",o()),R(te,"title",o()?"Stop dictating · Esc cancels":`${a()} (${t(B)}; hold for push-to-talk)`),te.disabled=s(),R(te,"data-dictating",o()?"":void 0),Pe(te,1,`mic flex shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors disabled:cursor-not-allowed disabled:opacity-30 ${r()==="md"?"size-9 max-md:size-11":`size-7 ${st.current?"touch-target":""}`} ${o()?"bg-danger/10 text-danger":"text-muted-foreground hover:bg-muted hover:text-foreground"}`,"svelte-1uxx7q9"),q($e,o()?"Listening":"")}),N("mousedown",te,y=>y.preventDefault()),N("click",te,O),f(n,j),Ke()}lt(["mousedown","click"]);var Rr=new Set(["$$slots","$$events","$$legacy","value","class"]),Nr=m('<div class="relative w-full min-w-0"><!> <div class="absolute right-1.5 bottom-1.5"><!></div></div>');function Or(n,e){Fe(e,!0);let a=K(e,"value",15),r=me(e,Rr),s=A(null),o=A(!1);var i=Nr(),c=d(i);{let C=b(()=>Nt(e.class,t(o)?"pr-24":"pr-10"));pr(c,_e({get class(){return t(C)}},()=>r,{get ref(){return t(s)},set ref(B){w(s,B,!0)},get value(){return a()},set value(B){a(B)}}))}var u=v(c,2),g=d(u);{let C=b(()=>!!e.disabled);Lr(g,{get field(){return t(s)},target:()=>$r(t(s)),size:"sm",get disabled(){return t(C)},get listening(){return t(o)},set listening(B){w(o,B,!0)}})}l(u),l(i),f(n,i),Ke()}var Ir=m('<span class="inline-flex max-w-[85%] items-center gap-1 rounded-md bg-sea/10 px-2 py-0.5 text-xs text-sea"><!><span class="truncate"> </span></span>'),Hr=m('<li class="flex flex-col items-end gap-1" data-said="captain"><!> <p class="max-w-[85%] rounded-xl rounded-br-sm border border-[var(--bubble-captain-border)] bg-[var(--bubble-captain)] px-3 py-2 text-sm leading-relaxed whitespace-pre-wrap"> </p></li>'),qr=m('<a href="/" class="text-xs text-sea hover:underline">See it in the chat</a>'),jr=m('<span class="inline-flex items-center gap-1 text-xs text-success"><!>On your list</span>'),Wr=m('<button class="inline-flex cursor-pointer items-center gap-1 rounded-md bg-sea px-2.5 py-1 text-xs font-medium text-on-accent hover:bg-sea/90" data-add-to-list=""><!>Add to the list</button>'),Fr=m('<div class="mt-2 rounded-md border bg-card px-3 py-2" data-suggestion=""><p class="text-sm leading-snug"> </p> <div class="mt-1.5"><!></div></div>'),Kr=m('<li class="flex gap-2.5" data-said="helper"><span class="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full border border-brass bg-card text-sea" aria-hidden="true"><!></span> <div class="min-w-0 flex-1"><div></div> <!> <!></div></li>'),Ur=m('<li class="flex gap-1 py-1 pl-9" role="status" aria-label="The helper is answering"><span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.3s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.15s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground"></span></li>'),Br=m('<li class="text-sm text-danger" role="alert"> </li>'),Yr=m('<div class="flex items-center gap-1.5 px-2.5 pt-2"><span class="inline-flex min-w-0 items-center gap-1 rounded-md bg-sea/10 px-2 py-0.5 text-xs text-sea" data-attached=""><!><span class="truncate"> </span></span> <button class="flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground hover:bg-muted" aria-label="Not about this part"><!></button></div>'),Gr=m('<span class="text-xs text-muted-foreground">· not sent yet</span>'),Jr=m('<p class="text-xs text-muted-foreground"> </p>'),Vr=m('<li class="group flex items-start gap-2 rounded-md border bg-background px-2 py-1"><span class="mt-0.5 w-4 shrink-0 text-right text-xs text-muted-foreground tabular-nums"> </span> <div class="min-w-0 flex-1"><textarea rows="1" maxlength="500" class="no-scrollbar block field-sizing-content w-full resize-none rounded bg-transparent text-sm leading-snug outline-none focus:bg-accent/40 max-md:text-base"></textarea> <!></div> <button class="flex size-6 shrink-0 cursor-pointer items-center justify-center rounded text-muted-foreground opacity-60 group-hover:opacity-100 hover:bg-muted hover:text-foreground max-md:size-11" aria-label="Remove from the list"><!></button></li>'),Xr=m('<ol class="flex flex-col gap-1.5"></ol>'),Qr=m('<p class="text-xs text-muted-foreground">Empty so far. Add what the helper suggests, or write your own below.</p>'),Zr=m('<div class="no-scrollbar max-h-48 overflow-y-auto px-4"><!> <form class="mt-1.5 flex items-center gap-1"><!> <input maxlength="500" placeholder="Add your own" aria-label="Add your own feedback" class="h-7 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground max-md:h-11 max-md:text-base"/></form></div>'),en=m(`<section class="flex min-h-0 flex-col rounded-lg border bg-panel" aria-label="Talk about this preview" data-preview-helper=""><header class="border-b px-4 py-3"><h2 class="flex items-center gap-2 text-base"><!>Talk it through</h2> <p class="mt-0.5 text-xs text-muted-foreground">A helper that sees only this preview. Nothing goes to Firstmate until you send.</p></header> <div class="no-scrollbar min-h-40 flex-1 overflow-y-auto px-4 py-4"><ol class="flex flex-col gap-4"><li class="flex gap-2.5"><span class="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full border border-brass bg-card text-sea" aria-hidden="true"><!></span> <p class="min-w-0 flex-1 text-sm leading-relaxed">I can see this preview, its screenshots, the task’s instructions and what the worker has
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{aG as Ce,p as O,j as W,f as m,a as n,b as R,g as E,h as k,aa as Z,r as P,i as K,c as h,s,n as oe,w as Be,o as b,t as C,d as w}from"./BuRWgnCz.js";import{s as M}from"./B2RyWxmQ.js";import{i as D}from"./BDpRITyb.js";import{c as I}from"./DLuhTA05.js";import{p as S,r as T,s as A}from"./BAOiF0in.js";import{B as ge}from"./C5BN6RHR.js";import{c as N}from"./DYbDyf3M.js";import{c as ze,d as Ie,b as ue,m as Ae,P as We,e as Oe,a as me,f as Re,g as Te,h as Ee}from"./DVEiwmFn.js";import{X as Fe}from"./rS7QE60d.js";import{l as de,s as Ue,e as qe}from"./Cwb6d3g_.js";import{b as _e}from"./BWRIDih-.js";import{h as Ge,S as Ke}from"./
|
|
1
|
+
import"./DsnmJJEf.js";import{aG as Ce,p as O,j as W,f as m,a as n,b as R,g as E,h as k,aa as Z,r as P,i as K,c as h,s,n as oe,w as Be,o as b,t as C,d as w}from"./BuRWgnCz.js";import{s as M}from"./B2RyWxmQ.js";import{i as D}from"./BDpRITyb.js";import{c as I}from"./DLuhTA05.js";import{p as S,r as T,s as A}from"./BAOiF0in.js";import{B as ge}from"./C5BN6RHR.js";import{c as N}from"./DYbDyf3M.js";import{c as ze,d as Ie,b as ue,m as Ae,P as We,e as Oe,a as me,f as Re,g as Te,h as Ee}from"./DVEiwmFn.js";import{X as Fe}from"./rS7QE60d.js";import{l as de,s as Ue,e as qe}from"./Cwb6d3g_.js";import{b as _e}from"./BWRIDih-.js";import{h as Ge,S as Ke}from"./Bd8l0yTM.js";import{T as Ne}from"./kynOtL7x.js";var Xe=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),He=h("<div><!></div>");function Je(o,e){const a=Ce();O(e,!0);let v=S(e,"id",19,()=>ze(a)),d=S(e,"ref",15,null),l=T(e,Xe);const i=Ie.create({id:ue(()=>v()),ref:ue(()=>d(),p=>d(p))}),f=K(()=>Ae(l,i.props));var g=W(),u=m(g);{var B=p=>{var _=W(),j=m(_);M(j,()=>e.child,()=>({props:E(f)})),n(p,_)},z=p=>{var _=He();de(_,()=>({...E(f)}));var j=k(_);M(j,()=>e.children??Z),P(_),n(p,_)};D(u,p=>{e.child?p(B):p(z,-1)})}n(o,g),R()}var Le=new Set(["$$slots","$$events","$$legacy"]);function Me(o,e){let a=T(e,Le);var v=W(),d=m(v);I(d,()=>We,(l,i)=>{i(l,A(()=>a))}),n(o,v)}var Qe=new Set(["$$slots","$$events","$$legacy","ref","class","portalProps","children","showCloseButton"]),Ve=h('<!> <span class="sr-only">Close</span>',1),fe=h("<!> <!>",1);function At(o,e){O(e,!0);let a=S(e,"ref",15,null),v=S(e,"showCloseButton",3,!0),d=T(e,Qe);Me(o,A(()=>e.portalProps,{children:(l,i)=>{var f=fe(),g=m(f);I(g,()=>at,(B,z)=>{z(B,{})});var u=s(g,2);{let B=K(()=>N("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%_-_2rem)] -translate-x-1/2 -translate-y-1/2 gap-6 rounded-xl bg-popover p-6 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-md data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e.class));I(u,()=>Oe,(z,p)=>{p(z,A({"data-slot":"dialog-content",get class(){return E(B)}},()=>d,{get ref(){return a()},set ref(_){a(_)},children:(_,j)=>{var U=fe(),q=m(U);M(q,()=>e.children??Z);var X=s(q,2);{var H=F=>{var J=W(),$=m(J);{const ee=(G,L)=>{ge(G,A({variant:"ghost",class:"absolute top-4 right-4",size:"icon-sm"},()=>(L?.()).props,{children:(re,ae)=>{var Q=Ve(),V=m(Q);Fe(V,{}),oe(2),n(re,Q)},$$slots:{default:!0}}))};I($,()=>me,(G,L)=>{L(G,{"data-slot":"dialog-close",child:ee,$$slots:{child:!0}})})}n(F,J)};D(X,F=>{v()&&F(H)})}n(_,U)},$$slots:{default:!0}}))})}n(l,f)},$$slots:{default:!0}})),R()}var Ye=new Set(["$$slots","$$events","$$legacy","ref","class"]);function Wt(o,e){O(e,!0);let a=S(e,"ref",15,null),v=T(e,Ye);var d=W(),l=m(d);{let i=K(()=>N("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e.class));I(l,()=>Je,(f,g)=>{g(f,A({"data-slot":"dialog-description",get class(){return E(i)}},()=>v,{get ref(){return a()},set ref(u){a(u)}}))})}n(o,d),R()}var Ze=new Set(["$$slots","$$events","$$legacy","ref","class","children","showCloseButton"]),$e=h("<div><!> <!></div>");function Ot(o,e){O(e,!0);let a=S(e,"ref",15,null),v=S(e,"showCloseButton",3,!1),d=T(e,Ze);var l=$e();de(l,u=>({"data-slot":"dialog-footer",class:u,...d}),[()=>N("flex flex-col-reverse gap-2 gap-2 sm:flex-row sm:justify-end",e.class)]);var i=k(l);M(i,()=>e.children??Z);var f=s(i,2);{var g=u=>{var B=W(),z=m(B);{const p=(_,j)=>{ge(_,A({variant:"outline"},()=>(j?.()).props,{children:(q,X)=>{oe();var H=Be("Close");n(q,H)},$$slots:{default:!0}}))};I(z,()=>me,(_,j)=>{j(_,{child:p,$$slots:{child:!0}})})}n(u,B)};D(f,u=>{v()&&u(g)})}P(l),_e(l,u=>a(u),()=>a()),n(o,l),R()}var et=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),tt=h("<div><!></div>");function Rt(o,e){O(e,!0);let a=S(e,"ref",15,null),v=T(e,et);var d=tt();de(d,i=>({"data-slot":"dialog-header",class:i,...v}),[()=>N("flex flex-col gap-2",e.class)]);var l=k(d);M(l,()=>e.children??Z),P(d),_e(d,i=>a(i),()=>a()),n(o,d),R()}var rt=new Set(["$$slots","$$events","$$legacy","ref","class"]);function at(o,e){O(e,!0);let a=S(e,"ref",15,null),v=T(e,rt);var d=W(),l=m(d);{let i=K(()=>N("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e.class));I(l,()=>Re,(f,g)=>{g(f,A({"data-slot":"dialog-overlay",get class(){return E(i)}},()=>v,{get ref(){return a()},set ref(u){a(u)}}))})}n(o,d),R()}var st=new Set(["$$slots","$$events","$$legacy","ref","class"]);function Tt(o,e){O(e,!0);let a=S(e,"ref",15,null),v=T(e,st);var d=W(),l=m(d);{let i=K(()=>N("leading-none font-medium",e.class));I(l,()=>Te,(f,g)=>{g(f,A({"data-slot":"dialog-title",get class(){return E(i)}},()=>v,{get ref(){return a()},set ref(u){a(u)}}))})}n(o,d),R()}var ot=new Set(["$$slots","$$events","$$legacy","open"]);function Et(o,e){O(e,!0);let a=S(e,"open",15,!1),v=T(e,ot);var d=W(),l=m(d);I(l,()=>Ee,(i,f)=>{f(i,A(()=>v,{get open(){return a()},set open(g){a(g)}}))}),n(o,d),R()}const ne=o=>o.installed?o.settings.filter(e=>e.current===void 0):o.settings,Ft=o=>Object.fromEntries(ne(o).map(e=>[e.key,Ge(e.current??e.default)])),Ut=(o,e)=>ne(o).find(a=>a.required&&!e[a.key]?.trim())??null,qt=o=>Object.fromEntries(Object.entries(o).filter(([,e])=>e.trim()!==""));var dt=h('<p class="mt-0.5 text-xs text-muted-foreground"> </p>'),nt=h('<dt class="text-muted-foreground">Now</dt> <dd class="tabular font-mono"> </dd>',1),lt=h('<span class="font-sans">· <a class="text-sea hover:underline" target="_blank" rel="noreferrer">compare</a></span>'),it=h('<dt class="text-muted-foreground">Author</dt> <dd> </dd>',1),vt=h('<dt class="text-muted-foreground">Runs</dt> <dd> </dd>',1),ct=h('<dt class="text-muted-foreground">Addresses</dt> <dd> </dd>',1),ut=h('<dt class="text-muted-foreground">Sends</dt> <dd> </dd>',1),ft=h('<dt class="text-muted-foreground">Role</dt> <dd data-roles=""> </dd>',1),gt=h('<fieldset class="grid gap-3"><legend class="mb-1 text-xs font-medium"> </legend> <!> <p class="text-xs text-muted-foreground">Kept in Wheelhouse’s plugins file.</p></fieldset>'),mt=h("<li> </li>"),_t=h('<div class="text-xs text-muted-foreground">Wheelhouse restarts to load it, which stops: <ul class="mt-0.5 list-inside list-disc"></ul></div>'),xt=h('<div class="grid gap-4"><div class="rounded-md border bg-card px-4 py-3"><p class="font-medium"> <span class="font-normal text-muted-foreground"> </span></p> <!> <dl class="mt-3 grid grid-cols-[6rem_minmax(0,1fr)] gap-x-3 gap-y-1 text-xs"><dt class="text-muted-foreground">From</dt> <dd class="font-mono break-all"> </dd> <!> <dt class="text-muted-foreground">Commit</dt> <dd class="tabular font-mono"> <!></dd> <!> <dt class="text-muted-foreground">Adds</dt> <dd> </dd> <!> <!> <!> <!> <dt class="text-muted-foreground">On</dt> <dd> </dd></dl></div> <!> <p class="flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-xs"><!> <span> </span></p> <!></div>');function Gt(o,e){O(e,!0);let a=S(e,"answers",15),v=S(e,"busy",19,()=>[]);const d=K(()=>ne(e.preview)),l=t=>t.slice(0,12);var i=xt(),f=k(i),g=k(f),u=k(g),B=s(u),z=b(B);P(g);var p=s(g,2);{var _=t=>{var r=dt(),c=b(r,!0);C(()=>w(c,e.preview.description)),n(t,r)};D(p,t=>{e.preview.description&&t(_)})}var j=s(p,2),U=s(k(j),2),q=b(U),X=s(U,2);{var H=t=>{var r=nt(),c=s(m(r),2),x=b(c);C(y=>w(x,`${e.preview.installed.version??""} · ${y??""}`),[()=>l(e.preview.installed.commit)]),n(t,r)};D(X,t=>{e.preview.installed&&t(H)})}var F=s(X,4),J=k(F),$=s(J);{var ee=t=>{var r=lt(),c=s(k(r));P(r),C(()=>Ue(c,"href",`https://github.com/${e.preview.repository??""}/compare/${e.preview.installed.commit??""}...${e.preview.commit??""}`)),n(t,r)};D($,t=>{e.preview.installed&&t(ee)})}P(F);var G=s(F,2);{var L=t=>{var r=it(),c=s(m(r),2),x=b(c,!0);C(()=>w(x,e.preview.author)),n(t,r)};D(G,t=>{e.preview.author&&t(L)})}var te=s(G,4),re=b(te),ae=s(te,2);{var Q=t=>{var r=vt(),c=s(m(r),2),x=b(c,!0);C(y=>w(x,y),[()=>e.preview.services.join(", ")]),n(t,r)};D(ae,t=>{e.preview.services.length&&t(Q)})}var V=s(ae,2);{var xe=t=>{var r=ct(),c=s(m(r),2),x=b(c,!0);C(y=>w(x,y),[()=>e.preview.addresses.join("; ")]),n(t,r)};D(V,t=>{e.preview.addresses?.length&&t(xe)})}var le=s(V,2);{var he=t=>{var r=ut(),c=s(m(r),2),x=b(c,!0);C(y=>w(x,y),[()=>e.preview.capabilities.join("; ")]),n(t,r)};D(le,t=>{e.preview.capabilities?.length&&t(he)})}var ie=s(le,2);{var we=t=>{var r=ft(),c=s(m(r),2),x=b(c,!0);C(y=>w(x,y),[()=>e.preview.roles.join("; ")]),n(t,r)};D(ie,t=>{e.preview.roles?.length&&t(we)})}var pe=s(ie,4),be=b(pe,!0);P(j),P(f);var ve=s(f,2);{var ye=t=>{var r=gt(),c=k(r),x=b(c,!0),y=s(c,2);Ke(y,{get settings(){return E(d)},get answers(){return a()},set answers(Y){a(Y)}}),oe(2),P(r),C(()=>w(x,e.preview.installed?"Its new settings":"Its settings")),n(t,r)};D(ve,t=>{E(d).length&&t(ye)})}var se=s(ve,2),ce=k(se);Ne(ce,{class:"mt-0.5 size-3.5 shrink-0 text-warning"});var Pe=s(ce,2),De=b(Pe);P(se);var Se=s(se,2);{var ke=t=>{var r=_t(),c=s(k(r));qe(c,20,v,x=>x,(x,y)=>{var Y=mt(),je=b(Y,!0);C(()=>w(je,y)),n(x,Y)}),P(c),P(r),n(t,r)};D(Se,t=>{v().length&&t(ke)})}P(i),C((t,r)=>{w(u,`${e.preview.name??""} `),w(z,`${e.preview.id??""} ${e.preview.version??""}`),w(q,`${e.preview.repository??""}${e.preview.ref?` (${e.preview.ref})`:""}`),w(J,`${t??""} `),w(re,`${r??""}${e.preview.ui?"; a UI bundle":""}`),w(be,e.preview.on),w(De,`Its code runs with your permissions, inside Wheelhouse and in its pages. Wheelhouse does not
|
|
2
2
|
sandbox it. ${e.preview.installed?"Update":"Install"} only plugins you trust.`)},[()=>l(e.preview.commit),()=>e.preview.slots.join(", ")||"nothing to the pages"]),n(o,i),R()}export{At as D,Gt as P,Rt as a,Tt as b,Wt as c,Ot as d,Et as e,qt as f,Ft as i,Ut as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.
|
|
2
|
-
import{_ as 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.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CycGUKhI.js","../chunks/DsnmJJEf.js","../chunks/RYq3318d.js","../chunks/BuRWgnCz.js","../chunks/BDpRITyb.js","../chunks/B2RyWxmQ.js","../chunks/DLuhTA05.js","../chunks/Cwb6d3g_.js","../chunks/HCiUQtkc.js","../chunks/V46v89bT.js","../chunks/0RGfo0js.js","../chunks/Cwq50RB4.js","../chunks/CspN1OJw.js","../chunks/C_4BzEag.js","../chunks/BXN538J3.js","../chunks/Y3845wkB.js","../chunks/BWRIDih-.js","../chunks/BAOiF0in.js","../chunks/xjN9NojQ.js","../chunks/BT_DAfvO.js","../chunks/cwI46DFb.js","../chunks/DJNADPa5.js","../chunks/Drqp3nkL.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/B13jYnr5.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/ClsjySa8.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/C6T16bV1.js","../chunks/7vF3ego3.js","../chunks/CoGHF2lE.js","../chunks/DGK4csRg.js","../chunks/Cu50g1zS.js","../chunks/B-JNrTge.js","../chunks/hxhxtxcx.js","../assets/0.Dyflbqc4.css","../nodes/1.70vrwjqS.js","../nodes/2.C5dTKKEn.js","../chunks/CFTDQcgN.js","../chunks/BVXUMEgB.js","../chunks/o67KsWSa.js","../chunks/CQMIjH_m.js","../chunks/C8rIEWKQ.js","../chunks/gS_jJyWs.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/DJmeKpkq.js","../chunks/Co6rv60s.js","../chunks/B0XeFYOk.js","../chunks/D-5zBf83.js","../chunks/ClopdZ_7.js","../chunks/Dpd1rs9R.js","../chunks/CR7y1ULG.js","../chunks/BB2roMZd.js","../chunks/DjzsLGyn.js","../chunks/DSQSpWxL.js","../chunks/Bl_aeMq-.js","../chunks/BvPKyGA8.js","../chunks/r_9m29GC.js","../chunks/Clm3nvxi.js","../chunks/DeVe8oaI.js","../chunks/XSztV5e-.js","../chunks/BapAUJpM.js","../chunks/BDiKlJJl.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","../assets/2.9iA_78o1.css","../nodes/3.CNDDXR-R.js","../chunks/BisZnsml.js","../nodes/4.Dajo6qs6.js","../nodes/5.DEmf7LWK.js","../chunks/QjAOAKa9.js","../assets/DocSheet.36VhUGpN.css","../nodes/6.BHt0DwZF.js","../chunks/B3mAFyYS.js","../chunks/CDgGXUGq.js","../assets/6.5dJKCkOT.css","../nodes/7.BIfa9MqV.js","../nodes/8.CKbZrwQ8.js","../nodes/9.BbThPsu4.js","../nodes/10.CG7LxHir.js","../chunks/rWDJOr9L.js","../chunks/Bd8l0yTM.js","../chunks/BwPKBiav.js","../nodes/11.CvQ4cyM3.js","../chunks/D-2tF-22.js","../chunks/ntd85-6_.js","../nodes/12.D9IHJjN9.js","../chunks/YUutd5H1.js","../chunks/Bm06it9w.js","../chunks/BaPx3dni.js","../nodes/13.D-hvVuS1.js","../nodes/14.DfUdqoEO.js","../chunks/D7IP_ZEm.js","../chunks/DIUPiJT7.js","../nodes/15.CZRsd2Eg.js","../nodes/16.qfrdNFMy.js","../chunks/Cv4HO3U0.js","../nodes/17.D83W_Tta.js","../nodes/19.BzcQyaMT.js","../chunks/B5OMEixy.js","../nodes/20.HovxKElE.js","../nodes/21.2vXCaqsr.js","../chunks/BDhezwGC.js","../chunks/CMmxYmuw.js","../chunks/DtH7pDxF.js","../nodes/22.C2_CQQkD.js","../nodes/23.DLyV0afL.js","../nodes/24.B3x35Hk8.js","../nodes/25.nwMZWq7u.js","../nodes/26.Djo0UcCH.js","../chunks/BaS0N1W3.js","../nodes/27.DUOTTUGh.js","../nodes/28.SqN60QfL.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.CycGUKhI.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.70vrwjqS.js"),__vite__mapDeps([58,1,3,10,9,2]),import.meta.url),()=>e(()=>import("../nodes/2.C5dTKKEn.js"),__vite__mapDeps([59,1,2,3,4,7,10,9,11,15,16,17,14,18,19,30,27,5,60,61,6,32,33,34,22,23,24,25,26,28,29,62,63,13,64,12,38,65,21,37,66,48,67,68,50,36,69,70,71,72,73,74,75,76,44,77,78,79,80,81,82,83,53,42,84,85,86,87,88,89,39,90,91,92,93,94,95,96,97,98,35,99,100,52,46,54,101,45,8,102]),import.meta.url),()=>e(()=>import("../nodes/3.CNDDXR-R.js"),__vite__mapDeps([103,1,3,4,7,6,10,9,2,38,82,104,101,20,71,61,50,17,27,5,67,74,75]),import.meta.url),()=>e(()=>import("../nodes/4.Dajo6qs6.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,42,13,12,14,84,76,34,6,22,23,24,25,16,26,28,29,15,18,44,77,78,36,79,48,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,93]),import.meta.url),()=>e(()=>import("../nodes/6.BHt0DwZF.js"),__vite__mapDeps([109,1,3,4,7,6,27,5,17,10,9,2,30,11,110,38,31,111,98,45,73,56,21,53,85,42,36,90,16,55,28,112]),import.meta.url),()=>e(()=>import("../nodes/7.BIfa9MqV.js"),__vite__mapDeps([113,1,3,4,7,38,82,17,104,101,10,9,2,20,96,27,5,45,67]),import.meta.url),()=>e(()=>import("../nodes/8.CKbZrwQ8.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,48,60,61,23,25,67,68,50,36,69,19,70,71,72,73,74,75]),import.meta.url),()=>e(()=>import("../nodes/9.BbThPsu4.js"),__vite__mapDeps([115,1,3,4,7,10,9,2,20,11,19,51,17,27,5,89,28,49,54]),import.meta.url),()=>e(()=>import("../nodes/10.CG7LxHir.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,44,36,45,38,69,119,35,46,50,54]),import.meta.url),()=>e(()=>import("../nodes/11.CvQ4cyM3.js"),__vite__mapDeps([120,1,3,4,7,10,9,2,11,19,121,36,17,27,5,122,76,34,6,38,22,23,14,24,25,16,26,28,29,15,18,44,77,78,79,48]),import.meta.url),()=>e(()=>import("../nodes/12.D9IHJjN9.js"),__vite__mapDeps([123,1,3,4,7,10,9,2,11,19,30,17,27,5,124,110,6,38,31,111,98,45,73,63,48,83,53,21,42,24,25,16,125,76,34,22,23,14,26,28,29,15,18,44,77,78,36,79,65,37,66,60,61,67,68,50,69,70,99,126,86,82,75,62,72,52,94,56]),import.meta.url),()=>e(()=>import("../nodes/13.D-hvVuS1.js"),__vite__mapDeps([127,1,3,4,7,10,9,2,11,19,124,17,30,27,5,110,6,38,31,111,98,45,73,63,48,76,34,22,23,14,24,25,16,26,28,29,15,18,44,77,78,36,79]),import.meta.url),()=>e(()=>import("../nodes/14.DfUdqoEO.js"),__vite__mapDeps([128,1,3,4,7,10,9,2,8,11,19,124,17,30,27,5,110,6,38,31,111,98,45,73,63,48,14,24,25,16,129,79,130,99]),import.meta.url),()=>e(()=>import("../nodes/15.CZRsd2Eg.js"),__vite__mapDeps([131,1,3,4,34,17,27,5,7,8,2,9,10,11,23,81,24,25,16,14,129,93,99,69,68,94,77,79,36,111,40,78,100]),import.meta.url),()=>e(()=>import("../nodes/16.qfrdNFMy.js"),__vite__mapDeps([132,1,3,7,133,4,10,9,2,14,18,38,24,25,5,16,17]),import.meta.url),()=>e(()=>import("../nodes/17.D83W_Tta.js"),__vite__mapDeps([134,1,3,4,7,11,10,9,2,38,85,73,17,27,5,88,72,46,29]),import.meta.url),()=>e(()=>import("../chunks/BapAUJpM.js").then(a=>a.a),[],import.meta.url),()=>e(()=>import("../nodes/19.BzcQyaMT.js"),__vite__mapDeps([135,1,3,7,133,4,10,9,2,14,18,38,24,25,5,16,17,136,101]),import.meta.url),()=>e(()=>import("../nodes/20.HovxKElE.js"),__vite__mapDeps([137,1,3,4,7,10,9,2,41,13,14,38,24,25,5,16,17,136,101]),import.meta.url),()=>e(()=>import("../nodes/21.2vXCaqsr.js"),__vite__mapDeps([138,1,2,3,4,34,17,27,5,7,8,9,10,136,101,121,36,122,139,6,23,33,117,24,25,16,118,11,14,44,45,69,47,119,140,141,38,46,28]),import.meta.url),()=>e(()=>import("../nodes/22.C2_CQQkD.js"),__vite__mapDeps([142,1,2,3,4,7,8,9,10,136,101,140,17,141,118,11,14,44,27,5,36,23,119,45,24,25,16,66]),import.meta.url),()=>e(()=>import("../nodes/23.DLyV0afL.js"),__vite__mapDeps([143,1,3,4,7,24,25,5,16,17,136,101,10,9,2]),import.meta.url),()=>e(()=>import("../nodes/24.B3x35Hk8.js"),__vite__mapDeps([144,1,3,4,7,23,10,9,2,14,136,101,43]),import.meta.url),()=>e(()=>import("../nodes/25.nwMZWq7u.js"),__vite__mapDeps([145,1,2,3,4,7,6,23,8,9,10,24,25,5,16,17,91,92,37,93,27,68,94,90,44,66,95,141,78,26,79,100,36,122,48,139,33,34,117,118,11,14,45,69,53]),import.meta.url),()=>e(()=>import("../nodes/26.Djo0UcCH.js"),__vite__mapDeps([146,1,2,3,4,7,5,16,10,9,38,97,17,27,8,11,19,76,34,6,22,23,14,24,25,26,28,29,15,18,44,77,78,36,79,48,83,53,21,42,125,65,37,66,60,61,67,68,50,69,70,99,62,63,71,20,130,40,126,100,98,72,87,12,13,64,73,74,75,51,84,82,147,93,94]),import.meta.url),()=>e(()=>import("../nodes/27.DUOTTUGh.js"),__vite__mapDeps([148,1,3,4,7,60,17,27,5,61,126,38,107,16,28,108,93,48,74]),import.meta.url),()=>e(()=>import("../nodes/28.SqN60QfL.js"),__vite__mapDeps([149,1,3,4,7,82,104,101,10,9,2,20,84,17,147]),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/HCiUQtkc.js";import{y as t}from"../chunks/V46v89bT.js";export{t as load_css,r as start};
|
|
Binary file
|