@chrisjowen/wheelhouse 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/client/_app/immutable/chunks/{BNXbHZ4s.js → BEc8oFj4.js} +1 -1
- package/build/client/_app/immutable/chunks/BEc8oFj4.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEc8oFj4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{g4TsmxH1.js → BI6mOQIC.js} +1 -1
- package/build/client/_app/immutable/chunks/BI6mOQIC.js.br +0 -0
- package/build/client/_app/immutable/chunks/BI6mOQIC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BbaeceI1.js → BJLLbknR.js} +1 -1
- package/build/client/_app/immutable/chunks/BJLLbknR.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJLLbknR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNpuLzpy.js +2 -0
- package/build/client/_app/immutable/chunks/BNpuLzpy.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNpuLzpy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DjY7ZMGz.js → BRfuAoq7.js} +1 -1
- package/build/client/_app/immutable/chunks/BRfuAoq7.js.br +0 -0
- package/build/client/_app/immutable/chunks/BRfuAoq7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D6cF08T_.js → BSRqsJCa.js} +4 -4
- package/build/client/_app/immutable/chunks/BSRqsJCa.js.br +0 -0
- package/build/client/_app/immutable/chunks/BSRqsJCa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CisWRQQd.js → BTTjxuqT.js} +1 -1
- package/build/client/_app/immutable/chunks/BTTjxuqT.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTTjxuqT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B2lgXXfo.js → BveXuSek.js} +1 -1
- package/build/client/_app/immutable/chunks/BveXuSek.js.br +0 -0
- package/build/client/_app/immutable/chunks/BveXuSek.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C0DPNoH0.js +5 -0
- package/build/client/_app/immutable/chunks/C0DPNoH0.js.br +0 -0
- package/build/client/_app/immutable/chunks/C0DPNoH0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D_KEoseW.js → CNPFxlMK.js} +1 -1
- package/build/client/_app/immutable/chunks/CNPFxlMK.js.br +0 -0
- package/build/client/_app/immutable/chunks/CNPFxlMK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{ClPiDuuz.js → CTb_ccym.js} +1 -1
- package/build/client/_app/immutable/chunks/CTb_ccym.js.br +0 -0
- package/build/client/_app/immutable/chunks/CTb_ccym.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CCnNaKfv.js → CeCmrTGW.js} +1 -1
- package/build/client/_app/immutable/chunks/CeCmrTGW.js.br +0 -0
- package/build/client/_app/immutable/chunks/CeCmrTGW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DCmP9xcb.js +2 -0
- package/build/client/_app/immutable/chunks/DCmP9xcb.js.br +0 -0
- package/build/client/_app/immutable/chunks/DCmP9xcb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Go4g8RRQ.js → DHiN7982.js} +1 -1
- package/build/client/_app/immutable/chunks/DHiN7982.js.br +0 -0
- package/build/client/_app/immutable/chunks/DHiN7982.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DEvJ7EGc.js → DVPW54rN.js} +1 -1
- package/build/client/_app/immutable/chunks/DVPW54rN.js.br +0 -0
- package/build/client/_app/immutable/chunks/DVPW54rN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C31k8QGL.js → Dby6Wn4J.js} +1 -1
- package/build/client/_app/immutable/chunks/Dby6Wn4J.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dby6Wn4J.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{ff7mriJ8.js → Dzuse5SP.js} +1 -1
- package/build/client/_app/immutable/chunks/Dzuse5SP.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dzuse5SP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Lwq8jsO7.js +1 -0
- package/build/client/_app/immutable/chunks/Lwq8jsO7.js.br +0 -0
- package/build/client/_app/immutable/chunks/Lwq8jsO7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{AiTV8eMU.js → Mzyfuo21.js} +1 -1
- package/build/client/_app/immutable/chunks/Mzyfuo21.js.br +1 -0
- package/build/client/_app/immutable/chunks/Mzyfuo21.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BMTKBS3C.js → kdhJpKON.js} +1 -1
- package/build/client/_app/immutable/chunks/kdhJpKON.js.br +0 -0
- package/build/client/_app/immutable/chunks/kdhJpKON.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.gl-vT7jm.js → app.DqKfT2WZ.js} +2 -2
- package/build/client/_app/immutable/entry/app.DqKfT2WZ.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DqKfT2WZ.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DEmSMT5Q.js +1 -0
- package/build/client/_app/immutable/entry/start.DEmSMT5Q.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DEmSMT5Q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{0.D7nx1zUv.js → 0.CszE2Pm2.js} +1 -1
- package/build/client/_app/immutable/nodes/0.CszE2Pm2.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CszE2Pm2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.GyxmcDpk.js → 1.DdeexMc3.js} +1 -1
- package/build/client/_app/immutable/nodes/1.DdeexMc3.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.DdeexMc3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{10.Bu8ENATY.js → 10.C33nTvVg.js} +1 -1
- package/build/client/_app/immutable/nodes/10.C33nTvVg.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.C33nTvVg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{11.LfkwXgTW.js → 11.Bitd-Um8.js} +1 -1
- package/build/client/_app/immutable/nodes/11.Bitd-Um8.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.Bitd-Um8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{12.BxPjEbD6.js → 12.DvJMt_BX.js} +1 -1
- package/build/client/_app/immutable/nodes/12.DvJMt_BX.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.DvJMt_BX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{13.BlAJ4Vfy.js → 13.CNcETgxx.js} +1 -1
- package/build/client/_app/immutable/nodes/13.CNcETgxx.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.CNcETgxx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{14.D6gfCfYW.js → 14.D45aaeoF.js} +1 -1
- package/build/client/_app/immutable/nodes/14.D45aaeoF.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.D45aaeoF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{15.4lw2WKq9.js → 15.BeC_sH9Y.js} +1 -1
- package/build/client/_app/immutable/nodes/15.BeC_sH9Y.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.BeC_sH9Y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{16.BmzqQRka.js → 16.CzLyGYG9.js} +1 -1
- package/build/client/_app/immutable/nodes/16.CzLyGYG9.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.CzLyGYG9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{17.k-iDf2FK.js → 17.BHPNPH8i.js} +1 -1
- package/build/client/_app/immutable/nodes/17.BHPNPH8i.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.BHPNPH8i.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{19.Dp_e5Due.js → 19.D5AWgi46.js} +1 -1
- package/build/client/_app/immutable/nodes/19.D5AWgi46.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.D5AWgi46.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.D9LnprvD.js +25 -0
- package/build/client/_app/immutable/nodes/2.D9LnprvD.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.D9LnprvD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{20.Bz0SO3wK.js → 20.Ds8FV7bT.js} +1 -1
- package/build/client/_app/immutable/nodes/20.Ds8FV7bT.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.Ds8FV7bT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{21.DfM6w7Sq.js → 21.D-_n5D6I.js} +1 -1
- package/build/client/_app/immutable/nodes/21.D-_n5D6I.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.D-_n5D6I.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{22.CgDRkCuX.js → 22.Dvb0-l-Z.js} +1 -1
- package/build/client/_app/immutable/nodes/22.Dvb0-l-Z.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.Dvb0-l-Z.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{23.Cqr07Z9o.js → 23.CkYg9r5_.js} +1 -1
- package/build/client/_app/immutable/nodes/23.CkYg9r5_.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.CkYg9r5_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{24.CRrpf_iS.js → 24.BhEQq-vG.js} +1 -1
- package/build/client/_app/immutable/nodes/24.BhEQq-vG.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.BhEQq-vG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{25.BA3kP5aP.js → 25.B8eeSi6k.js} +1 -1
- package/build/client/_app/immutable/nodes/25.B8eeSi6k.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.B8eeSi6k.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{26.CipAeCRP.js → 26.DOI4ga1U.js} +1 -1
- package/build/client/_app/immutable/nodes/26.DOI4ga1U.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.DOI4ga1U.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{28.BSk8udo-.js → 28.Be9xcVGE.js} +1 -1
- package/build/client/_app/immutable/nodes/28.Be9xcVGE.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.Be9xcVGE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.Bfp3WQon.js → 3.HO48O20f.js} +1 -1
- package/build/client/_app/immutable/nodes/3.HO48O20f.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.HO48O20f.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.F2NZin5q.js → 4.CviaWtQ7.js} +1 -1
- package/build/client/_app/immutable/nodes/4.CviaWtQ7.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CviaWtQ7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.CiTAJagN.js → 6.CaGWrOVU.js} +1 -1
- package/build/client/_app/immutable/nodes/6.CaGWrOVU.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CaGWrOVU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.CFAVd444.js → 7.Uonnco-V.js} +1 -1
- package/build/client/_app/immutable/nodes/7.Uonnco-V.js.br +0 -0
- package/build/client/_app/immutable/nodes/{7.CFAVd444.js.gz → 7.Uonnco-V.js.gz} +0 -0
- package/build/client/_app/immutable/nodes/{8.DgSB72Qx.js → 8.hwuLwhy_.js} +1 -1
- package/build/client/_app/immutable/nodes/8.hwuLwhy_.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.hwuLwhy_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.ClGaEjTD.js → 9.BsDB_kf_.js} +1 -1
- package/build/client/_app/immutable/nodes/9.BsDB_kf_.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.BsDB_kf_.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/{DecisionCard.js-Dyj6ht_j.js → DecisionCard.js-DNJjQj6y.js} +16 -2
- package/build/server/chunks/chunks/{OpenDecision.js-0VvKUvGV.js → OpenDecision.js-evqpdz3O.js} +2 -2
- package/build/server/chunks/chunks/{SlotContent.js-CyN_Ifyi.js → SlotContent.js-Dfh5Tmlb.js} +25 -11
- package/build/server/chunks/chunks/{decisionform.js-BZIm6oAS.js → decisionform.js-Ds5LU9Wh.js} +7 -2
- package/build/server/chunks/chunks/{detail.js-C28uCfO4.js → detail.js-MTO7d0oZ.js} +2 -2
- package/build/server/chunks/chunks/{feedback.js-DbBFs_c7.js → feedback.js-BcVOtfsi.js} +2 -2
- package/build/server/chunks/chunks/{insights.svelte.js-DR4hOMAL.js → insights.svelte.js-BLHg5qc-.js} +4 -4
- package/build/server/chunks/chunks/{internal.js-BLKxcmnO.js → internal.js-B3jvxbpC.js} +3 -3
- package/build/server/chunks/chunks/{keychain.js-CLq9ZWSr.js → keychain.js-fsxzS7dh.js} +2 -2
- package/build/server/chunks/chunks/{marketplace-service.js-CiuqtVb8.js → marketplace-service.js-DIosJVMH.js} +2 -2
- package/build/server/chunks/chunks/{page.js-CGYLRa54.js → page.js-C30cD0Wp.js} +2 -2
- package/build/server/chunks/chunks/{previewhelper2.js-DvC-jUM7.js → previewhelper2.js-bodEg9Jj.js} +2 -2
- package/build/server/chunks/chunks/{repo.js-DVhaDnBj.js → repo.js-He5oSLdW.js} +2 -2
- package/build/server/chunks/chunks/{runtime.js-CdY5IpD-.js → runtime.js-CFXY9khN.js} +140 -29
- package/build/server/chunks/chunks/{service.js-DhlDVkLw.js → service.js-CMaRpVXw.js} +2 -2
- package/build/server/chunks/chunks/{service2.js-Bt-81oiB.js → service2.js-DxTR_5ki.js} +3 -3
- package/build/server/chunks/chunks/{starter.js-8hCfFY7e.js → starter.js-BEeKej_N.js} +2 -2
- package/build/server/chunks/chunks/{vault.js-DZFWbeCU.js → vault.js-kx-rYEM0.js} +5 -2
- package/build/server/chunks/chunks/{view.js-Ch9WrYrC.js → view.js-BqciV_nu.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/apps/_op_/{_server.ts.js-BY_N9WqF.js → _server.ts.js-DYk_zGmD.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/cloud/{_server.ts.js-Bs3squxw.js → _server.ts.js-BZ5xAnps.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/cloud/previews/{_server.ts.js-D7Hh_LA3.js → _server.ts.js-B1wMsqtV.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/events/{_server.ts.js-CnkZHmPh.js → _server.ts.js-B6yJINJv.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/files/{_server.ts.js-CFVR6_o4.js → _server.ts.js-XkHjWwFF.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/{_server.ts.js-DN70VJQU.js → _server.ts.js-CSWXw2oP.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/{_server.ts.js-BeRBlf5D.js → _server.ts.js-DjUmuNfh.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/{_server.ts.js-ThZS58R-.js → _server.ts.js-fo49iwRo.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/input/{_server.ts.js-BadTKi0S.js → _server.ts.js-Ugm4xiSu.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/{_server.ts.js-DVJ4gMGj.js → _server.ts.js-qhSNM_-L.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/{_server.ts.js-DUVZe4wn.js → _server.ts.js-BtpO3tEp.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/{_server.ts.js-Bs1bymHZ.js → _server.ts.js-C-wEt7Gp.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/{_server.ts.js-CKeFPXLR.js → _server.ts.js-gJ_-WFJW.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/firstmate/start/{_server.ts.js-Bt501lhC.js → _server.ts.js-5vfw0icS.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/fleet/{_server.ts.js-BcHSC1TK.js → _server.ts.js-Dv0n3oCp.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/gateway/{_server.ts.js-BH1fGFoq.js → _server.ts.js-D1tixfXq.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-gLB2SuJg.js → _server.ts.js-oViIkbvM.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/inbox/{_server.ts.js-CjdGWvfb.js → _server.ts.js-C-QStpbo.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/inbox/report/{_server.ts.js-C1A5OD4E.js → _server.ts.js-DhpVdO1p.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/insights/{_server.ts.js-TBvdVyc-.js → _server.ts.js-DmdgYa9p.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/{_server.ts.js-CIttYBu6.js → _server.ts.js-Dz22C5Oc.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/{_server.ts.js-D8oCGNZO.js → _server.ts.js-DFZimBsr.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/{_server.ts.js-g1pY8An3.js → _server.ts.js-xQVDvaLL.js} +7 -7
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/{_server.ts.js-D4TVO5R1.js → _server.ts.js-vSP17Umu.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/{_server.ts.js-xLCMogeA.js → _server.ts.js-CRbLNZwV.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/{_server.ts.js-CI-gKlsl.js → _server.ts.js-NnSaW2ui.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/{_server.ts.js-CoM4JCaD.js → _server.ts.js-B_bNv5Rb.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/{_server.ts.js-d03KFS_3.js → _server.ts.js-xDx3TswX.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/{_server.ts.js-DETako8r.js → _server.ts.js-DXQjVykz.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/install/{_server.ts.js-Ca4RBqlr.js → _server.ts.js-mFTzbdMz.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/{_server.ts.js-Bvl_HTXC.js → _server.ts.js-CQwT7ZXd.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/{_server.ts.js-BIJzWvqi.js → _server.ts.js-BAO68cNk.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/updates/{_server.ts.js-DUDgt9UQ.js → _server.ts.js-CTJ1ub0U.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/previews/check/{_server.ts.js-B8EQR_Y9.js → _server.ts.js-WdB3REaP.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/{_server.ts.js-DtU-nqAz.js → _server.ts.js-C9UD4jOU.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/{_server.ts.js-BOxpnZI1.js → _server.ts.js-Dkij69tw.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/{_server.ts.js-zD4NOGXM.js → _server.ts.js-CeTvV9nP.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/{_server.ts.js-DojyOKEB.js → _server.ts.js-COx2XJO9.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/{_server.ts.js-alp8EfXV.js → _server.ts.js-ftRSLVkK.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/{_server.ts.js-BexKsKLn.js → _server.ts.js-Bsx4lHpp.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/{_server.ts.js-Ml6j0WCs.js → _server.ts.js-BppnE5BC.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/services/{_server.ts.js-DNnU2Kh1.js → _server.ts.js-Gqwhj3Jr.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/setup/{_server.ts.js-DWGEum0i.js → _server.ts.js-CbPpORog.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/slots/{_server.ts.js-CyCQh4xv.js → _server.ts.js-DVip_Q6n.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/{_server.ts.js-D-Td7jnF.js → _server.ts.js-DnGmNxrE.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/{_server.ts.js-cjltaY9-.js → _server.ts.js-zPPo2S2T.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/{_server.ts.js-CUbj1mpd.js → _server.ts.js-Bx2c6dMt.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/{_server.ts.js-BT1aeWsT.js → _server.ts.js-BarbsV9y.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/{_server.ts.js-D3zqfuxP.js → _server.ts.js-D4DgKHLG.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/{_server.ts.js-pWuSZcd6.js → _server.ts.js-I42PMQ4f.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/vault/{_server.ts.js-DRdrgqbU.js → _server.ts.js-Cpcb_-3s.js} +6 -9
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/{_server.ts.js-OSwF25f9.js → _server.ts.js-Bt82w57y.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/{_server.ts.js-D0ZPP3Hu.js → _server.ts.js-CBNLk0kR.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/{_server.ts.js-pob8ZUA4.js → _server.ts.js-CAy-PnPf.js} +2 -2
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/{_server.ts.js-Dnn1Ck5w.js → _server.ts.js-DJsxRu_J.js} +5 -5
- package/build/server/chunks/entries/{hooks.server.js-Ba5h-Ow1.js → hooks.server.js-DP6V3oGk.js} +5 -5
- package/build/server/chunks/entries/pages/{_layout.server.ts.js-daNn9XCs.js → _layout.server.ts.js-bqdgxqy5.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.server.ts.js-Ca7VKy_t.js → _page.server.ts.js-DmT_6LZz.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.svelte.js-CdplbKoe.js → _page.svelte.js-DFWU8yJc.js} +8 -8
- package/build/server/chunks/entries/pages/decisions/{_page.server.ts.js-BmVbkNhh.js → _page.server.ts.js-BdI5Bl75.js} +2 -2
- package/build/server/chunks/entries/pages/deck/{_page.server.ts.js-DM9Z4DjM.js → _page.server.ts.js-ZOYAnM_g.js} +2 -2
- package/build/server/chunks/entries/pages/deck/{_page.svelte.js-DfBCOF77.js → _page.svelte.js-BE2e7Hyi.js} +7 -7
- package/build/server/chunks/entries/pages/files/{_page.server.ts.js-V32EvhsD.js → _page.server.ts.js-CWf8RxOy.js} +2 -2
- package/build/server/chunks/entries/pages/harbour/{_page.server.ts.js-ByuPMNrs.js → _page.server.ts.js-BTfsZht8.js} +2 -2
- package/build/server/chunks/entries/pages/headroom/{_page.server.ts.js-D4hamuGQ.js → _page.server.ts.js-o_cuSwWH.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.server.ts.js-CZ66oSeD.js → _page.server.ts.js-DPqNxi58.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.svelte.js-DNx_cf87.js → _page.svelte.js-BddxZY9X.js} +3 -3
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.server.ts.js-B66YDJlz.js → _page.server.ts.js-NvhMRXin.js} +2 -2
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.svelte.js-IxIvs80b.js → _page.svelte.js-BYHP64gx.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/{_page.server.ts.js-Dg6skd-i.js → _page.server.ts.js-ZNFvlLOS.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/{_page.svelte.js-CZuOnAvk.js → _page.svelte.js-B9P8UZOd.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.server.ts.js-LCEiVdUu.js → _page.server.ts.js-CIFxbd8n.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.svelte.js-BiaWDy5c.js → _page.svelte.js-CcwDpwg7.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/passage/{_page.server.ts.js-Bx_qWCvz.js → _page.server.ts.js-CxzZpBL2.js} +4 -4
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/{_page.server.ts.js-D8qPhcbQ.js → _page.server.ts.js-BIwdjBgl.js} +2 -2
- package/build/server/chunks/entries/pages/remotes/{_page.server.ts.js-BYMvJBgQ.js → _page.server.ts.js-C8KVdW_q.js} +2 -2
- package/build/server/chunks/entries/pages/settings/cloud/{_page.server.ts.js-DTKHEBOM.js → _page.server.ts.js-Bdohjqlm.js} +2 -2
- package/build/server/chunks/entries/pages/settings/gateway/{_page.server.ts.js-CXFxuG8I.js → _page.server.ts.js-Et20xA2U.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/{_page.server.ts.js-B_pDK0q3.js → _page.server.ts.js-B8chH9Vi.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/{_page.server.ts.js-8pc_xbfL.js → _page.server.ts.js-DzzCMiD4.js} +2 -2
- package/build/server/chunks/entries/pages/settings/setup/{_page.server.ts.js-CqOE_I-8.js → _page.server.ts.js-BfdXFrRT.js} +2 -2
- package/build/server/chunks/entries/pages/settings/update/{_page.server.ts.js-D7Xv3cWu.js → _page.server.ts.js-DVlBLn5S.js} +2 -2
- package/build/server/chunks/entries/pages/setup/{_page.server.ts.js-DmJ-JBh7.js → _page.server.ts.js-D6jIgQJ4.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.server.ts.js-DqCDx4eM.js → _page.server.ts.js-Ux_kUFGa.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.svelte.js-Dx2EX3aP.js → _page.svelte.js-016yK-eG.js} +6 -6
- package/build/server/chunks/entries/pages/tasks/_id_/doc/{_page.server.ts.js-pBPhifMt.js → _page.server.ts.js-2jI6Wnm5.js} +2 -2
- package/build/server/chunks/entries/pages/time/{_page.server.ts.js-DAhkOhKH.js → _page.server.ts.js-Gz8g7Lxm.js} +2 -2
- package/build/server/chunks/{handler-DsF0-ycu.js → handler-BBfqHGlL.js} +3 -3
- package/build/server/chunks/{index.js-DtxhOtsl.js → index.js-otQ83TL7.js} +2 -2
- package/build/server/chunks/{manifest.js-B9fXERnp.js → manifest.js-CwfU9jR_.js} +85 -85
- package/build/server/chunks/nodes/{0.js-idvnpSGx.js → 0.js-DY-FCb4h.js} +7 -7
- package/build/server/chunks/nodes/{1.js-BbZVNmme.js → 1.js-C1gj4J7r.js} +2 -2
- package/build/server/chunks/nodes/{10.js-7xwnxTBd.js → 10.js-D8sF_M7G.js} +2 -2
- package/build/server/chunks/nodes/{11.js-CN7D7Wtv.js → 11.js-DGbnw6E-.js} +8 -8
- package/build/server/chunks/nodes/{12.js-D0a9JV9J.js → 12.js-yixeL-nb.js} +9 -9
- package/build/server/chunks/nodes/{13.js-Gyan1Es0.js → 13.js-CgHVwdU1.js} +9 -9
- package/build/server/chunks/nodes/{14.js-BN2FgqUX.js → 14.js-IMBVJfKF.js} +9 -9
- package/build/server/chunks/nodes/{15.js-iDbZKSJO.js → 15.js-Bn-Gtc7-.js} +8 -8
- package/build/server/chunks/nodes/{16.js-5G5kk7kt.js → 16.js-CaZFpcDh.js} +6 -6
- package/build/server/chunks/nodes/{17.js-nlIQGV44.js → 17.js-BR4Pwbjy.js} +2 -2
- package/build/server/chunks/nodes/{19.js-CGgokEZO.js → 19.js-DTnGR4UX.js} +6 -6
- package/build/server/chunks/nodes/{2.js-worFzw4y.js → 2.js-DuZD1_ae.js} +8 -8
- package/build/server/chunks/nodes/{20.js-D0I7U4C9.js → 20.js-c7-2nU-p.js} +7 -7
- package/build/server/chunks/nodes/{21.js-CvRY-52P.js → 21.js-Yv1PzkRI.js} +7 -7
- package/build/server/chunks/nodes/{22.js-DwK7gqoW.js → 22.js-B_RyHclK.js} +7 -7
- package/build/server/chunks/nodes/{23.js-CJjm9tcQ.js → 23.js-BlDPhnR6.js} +8 -8
- package/build/server/chunks/nodes/{24.js-CckNMPKn.js → 24.js-D7qarZq6.js} +4 -4
- package/build/server/chunks/nodes/{25.js-BBDACqTg.js → 25.js-BIbn9KYt.js} +8 -8
- package/build/server/chunks/nodes/{26.js-BWq3B0wW.js → 26.js-D0_dD3EO.js} +9 -9
- package/build/server/chunks/nodes/{27.js-MgKQWlAq.js → 27.js-B0p1due2.js} +7 -7
- package/build/server/chunks/nodes/{28.js-xpq2RBgo.js → 28.js-CRdgyvv_.js} +7 -7
- package/build/server/chunks/nodes/{3.js-DOJOLxlE.js → 3.js-DKrxSrj9.js} +7 -7
- package/build/server/chunks/nodes/{4.js-acwNoMWi.js → 4.js-BRXw-v-L.js} +8 -8
- package/build/server/chunks/nodes/{5.js-DYuaSV-G.js → 5.js-C3ug9NBN.js} +6 -6
- package/build/server/chunks/nodes/{6.js-DA40mCwd.js → 6.js-BuWS4Z2-.js} +7 -7
- package/build/server/chunks/nodes/{7.js-D9HXWm_c.js → 7.js-BaxSjbK8.js} +7 -7
- package/build/server/chunks/nodes/{8.js-Dsx-zrYi.js → 8.js-Cqzz53er.js} +8 -8
- package/build/server/chunks/nodes/{9.js-D5YifYpK.js → 9.js-BGvUqMX3.js} +2 -2
- package/dist/cli.js +1 -1
- package/dist/wh-vault.js +573 -205
- package/package.json +1 -1
- package/plugins/vault/.wheelhouse-plugin/plugin.json +1 -1
- package/build/client/_app/immutable/chunks/AiTV8eMU.js.br +0 -3
- package/build/client/_app/immutable/chunks/AiTV8eMU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B2lgXXfo.js.br +0 -0
- package/build/client/_app/immutable/chunks/B2lgXXfo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BL5PiS2m.js +0 -5
- package/build/client/_app/immutable/chunks/BL5PiS2m.js.br +0 -0
- package/build/client/_app/immutable/chunks/BL5PiS2m.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BMTKBS3C.js.br +0 -0
- package/build/client/_app/immutable/chunks/BMTKBS3C.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNXbHZ4s.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNXbHZ4s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BbaeceI1.js.br +0 -0
- package/build/client/_app/immutable/chunks/BbaeceI1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C31k8QGL.js.br +0 -0
- package/build/client/_app/immutable/chunks/C31k8QGL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCnNaKfv.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCnNaKfv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLrvyXks.js +0 -3
- package/build/client/_app/immutable/chunks/CLrvyXks.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLrvyXks.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CisWRQQd.js.br +0 -0
- package/build/client/_app/immutable/chunks/CisWRQQd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ClPiDuuz.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClPiDuuz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D6cF08T_.js.br +0 -0
- package/build/client/_app/immutable/chunks/D6cF08T_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D85QHpKq.js +0 -2
- package/build/client/_app/immutable/chunks/D85QHpKq.js.br +0 -0
- package/build/client/_app/immutable/chunks/D85QHpKq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DEvJ7EGc.js.br +0 -0
- package/build/client/_app/immutable/chunks/DEvJ7EGc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D_KEoseW.js.br +0 -0
- package/build/client/_app/immutable/chunks/D_KEoseW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DjY7ZMGz.js.br +0 -0
- package/build/client/_app/immutable/chunks/DjY7ZMGz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Go4g8RRQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Go4g8RRQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ff7mriJ8.js.br +0 -0
- package/build/client/_app/immutable/chunks/ff7mriJ8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/g4TsmxH1.js.br +0 -0
- package/build/client/_app/immutable/chunks/g4TsmxH1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/w66b3iDh.js +0 -1
- package/build/client/_app/immutable/chunks/w66b3iDh.js.br +0 -0
- package/build/client/_app/immutable/chunks/w66b3iDh.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.gl-vT7jm.js.br +0 -0
- package/build/client/_app/immutable/entry/app.gl-vT7jm.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BobUuVbD.js +0 -1
- package/build/client/_app/immutable/entry/start.BobUuVbD.js.br +0 -0
- package/build/client/_app/immutable/entry/start.BobUuVbD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.D7nx1zUv.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.D7nx1zUv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.GyxmcDpk.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.GyxmcDpk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.Bu8ENATY.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.Bu8ENATY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.LfkwXgTW.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.LfkwXgTW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.BxPjEbD6.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.BxPjEbD6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.BlAJ4Vfy.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.BlAJ4Vfy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.D6gfCfYW.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.D6gfCfYW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.4lw2WKq9.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.4lw2WKq9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.BmzqQRka.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.BmzqQRka.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.k-iDf2FK.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.k-iDf2FK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.Dp_e5Due.js.br +0 -5
- package/build/client/_app/immutable/nodes/19.Dp_e5Due.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.tfxqjTNR.js +0 -25
- package/build/client/_app/immutable/nodes/2.tfxqjTNR.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.tfxqjTNR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.Bz0SO3wK.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.Bz0SO3wK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.DfM6w7Sq.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.DfM6w7Sq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.CgDRkCuX.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.CgDRkCuX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.Cqr07Z9o.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.Cqr07Z9o.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.CRrpf_iS.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.CRrpf_iS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.BA3kP5aP.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.BA3kP5aP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.CipAeCRP.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.CipAeCRP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.BSk8udo-.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.BSk8udo-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.Bfp3WQon.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.Bfp3WQon.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.F2NZin5q.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.F2NZin5q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.CiTAJagN.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CiTAJagN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.CFAVd444.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.DgSB72Qx.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.DgSB72Qx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.ClGaEjTD.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.ClGaEjTD.js.gz +0 -0
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"author": { "name": "Chris Owen", "url": "https://github.com/chrisjowen" },
|
|
8
8
|
"repository": "https://github.com/chrisjowen/wheelhouse",
|
|
9
9
|
"license": "MIT",
|
|
10
|
-
"keywords": ["secrets", "keychain"],
|
|
10
|
+
"keywords": ["secrets", "keychain", "keyring"],
|
|
11
11
|
"wheelhouse": {
|
|
12
12
|
"apiVersion": 1,
|
|
13
13
|
"server": "wheelhouse/server/index.js",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{m as g,g as l,v as m,p as V,u as q,A as I,f as X,s as Y,t as O,a as W,b as Z,i as _,o as tt,d as et,c as G,q as N}from"./DFFTcnMk.js";import{i as st}from"./fxwDaXQ6.js";import{s as nt}from"./VI4uBLfk.js";import{b as rt}from"./C_YTgp31.js";import{p as C}from"./DtxmqMMR.js";import{p as ot}from"./AiTV8eMU.js";import{S as A}from"./BXN538J3.js";import{r as it}from"./xjN9NojQ.js";import{w as at}from"./BNXbHZ4s.js";const ut=new Set(["127.0.0.1","localhost","0.0.0.0","[::1]"]),ct=e=>Number.isInteger(e)&&e>=1&&e<=65535;function lt(e){const t=URL.parse(e);if(!t||t.protocol!=="http:"&&t.protocol!=="https:"||t.username||t.password||!ut.has(t.hostname.toLowerCase()))return null;const s=Number(t.port||(t.protocol==="https:"?443:80));return ct(s)?s:null}function dt(e,t){const s=lt(e);if(s===null||t.reserved?.includes(s))return e;const n=new URL(e);return`${t.pattern.replace("{port}",String(s)).replace(/\/+$/,"")}${n.pathname}${n.search}${n.hash}`}const K=new Set(["127.0.0.1","localhost"]);function Zt(e,t){const s="allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox";let n=!0;try{n=new URL(e).origin===t}catch{}return n?s:`${s} allow-same-origin`}const ht=e=>Number.isInteger(e)&&e>=1&&e<=65535;function mt(e){const t=URL.parse(e);if(!t||t.protocol!=="http:"||t.username||t.password||!K.has(t.hostname.toLowerCase()))return null;const s=t.port?Number(t.port):80;return ht(s)?s:null}function ft(e,t,s){const n=t?mt(e):null;if(n===null||!t)return e;const r=s.port||(s.protocol==="https:"?"443":"80");if(K.has(s.hostname.toLowerCase())&&String(n)===r)return e;const i=new URL(e),a=t.replace("{port}",String(n));return`${s.protocol}//${a}${s.port?`:${s.port}`:""}${i.pathname}${i.search}${i.hash}`}class pt{#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?it(t,this.remote,location.origin):this.hosted?dt(t,this.hosted):this.to?ft(t,this.to,location):t}}const R=new pt;function te(e){const t=n=>{if(!R.active)return;const r=n.composedPath().find(a=>a instanceof HTMLAnchorElement&&a.hasAttribute("href"));if(!r)return;const i=R.view(r.href);i!==r.href&&(r.href=i)},s=["click","auxclick","contextmenu","dragstart"];for(const n of s)e.addEventListener(n,t,!0);return()=>{for(const n of s)e.removeEventListener(n,t,!0)}}async function gt(e,t,s,n=`wh-${crypto.randomUUID()}`){try{const r=await fetch(`/api/plugins/${encodeURIComponent(e)}/feedback`,{method:"POST",headers:{"content-type":"application/json","idempotency-key":n,[A]:s},body:JSON.stringify(t)});if(r.ok){const a=await r.json().catch(()=>null);return a?.message?.delivery==="failed"?{ok:!1,error:a.message.deliveryDetail??"Firstmate did not take the list."}:{ok:!0,pending:r.status===202}}return{ok:!1,error:(await r.json().catch(()=>null))?.message??`Wheelhouse answered ${r.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}async function yt(e,t,s){try{const n=await fetch(`/api/plugins/${encodeURIComponent(e)}/feedback/summary`,{method:"POST",headers:{"content-type":"application/json",[A]:s},body:JSON.stringify(t)}),r=await n.json().catch(()=>null);return n.ok&&Array.isArray(r?.points)?{ok:!0,points:r.points}:{ok:!1,error:r?.message??`Wheelhouse answered ${n.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}const kt=e=>new URLSearchParams({plugin:e.plugin,service:e.service,...e.project?{project:e.project}:{}}).toString();async function bt(e){try{const t=await fetch(`/api/services?${kt(e)}`);return t.ok?await t.json():null}catch{return null}}async function wt(e,t,s=null){const n=window.open("","_blank");try{n?.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 r=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})});r=a.ok?await a.json():{...await a.json().catch(()=>({})),state:"failed",reason:`Wheelhouse could not start it (${a.status}).`}}catch{r=null}const i=r?.state==="running"?s??r.url:null;if(i){const a=R.view(i);n?n.location.href=a:window.open(a,"_blank")}else n?.close();return r}const vt=5e3,U=new Map;function St(e,t){let s=U.get(e);return s||(s=t(e).catch(n=>{throw U.delete(e),n}),U.set(e,s)),s}const P=()=>typeof navigator>"u"||!navigator.userActivation?!0:navigator.userActivation.isActive;function xt(e,t){const s=e.pluginId,n=(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}},r=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(n(i,a.project)),launch:async(i,a={})=>t.launch(n(i,a.project),t.token(),typeof a.open=="string"?a.open:null),sendFeedback:async i=>{if(!(t.clicked??P)())return{ok:!1,error:"Feedback is sent only when the captain clicks to send it."};const a=r(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??P)())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=r(i);return a?t.summarise(s,a,t.token()):{ok:!1,error:"Name the task the feedback is about."}}})}async function _t(e,t){if(!customElements.get(t.tag)){if(!t.ui)throw new Error("this Wheelhouse has no UI bundle for it");try{await St(t.ui,t.importer??(r=>import(r)))}catch(r){throw new Error(`its UI bundle did not load (${r instanceof Error?r.message:String(r)})`)}let n;try{await Promise.race([customElements.whenDefined(t.tag),new Promise((r,i)=>{n=setTimeout(()=>i(new Error(`its UI bundle does not define <${t.tag}>`)),t.timeoutMs??vt)})])}finally{clearTimeout(n)}}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 Et=G('<p class="text-sm text-muted-foreground"> </p>'),Tt=G('<div class="contents"></div> <!>',1);function ee(e,t){V(t,!0);let s=C(t,"preview",3,void 0),n=C(t,"quiet",3,!1);const r=_(()=>"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(r))return;const k=l(a);let v=!1,T=null;return m(b,null),_t(k,{tag:l(r),ui:l(i),data:I(()=>t.data),entry:I(()=>t.entry),host:xt(I(()=>t.entry),{status:bt,launch:wt,feedback:gt,summarise:yt,token:()=>ot.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=Tt(),x=X(y);rt(x,k=>m(a,k),()=>l(a));var E=Y(x,2);{var w=k=>{var v=Et(),T=tt(v);O(()=>et(T,`Not available. The ${t.entry.pluginId??""} plugin’s element could not be shown: ${l(b)??""}.`)),W(k,v)};st(E,k=>{l(b)&&!n()&&k(w)})}O(()=>nt(x,"data-plugin-element",l(r))),W(e,y),Z()}const At=/^(captain[,.!]?\s*)?(shipshape|all (is )?well|all quiet|nothing (new )?to report)[.!]?$/i,D=/^\[Request interrupted by user/,jt=/\u001b\[[0-9;?]*[A-Za-z]/g,L=e=>String(e??"").split("/").filter(Boolean).pop()??"",M=e=>String(e??"").split(`
|
|
2
|
-
`)[0].trim(),$t=e=>{try{return new URL(String(e)).host}catch{return String(e??"")}};function It(e,t){switch(e){case"Bash":return{verb:"Ran",summary:t.description||M(t.command),noun:["command","commands"]};case"Read":return{verb:"Read",summary:L(t.file_path),noun:["file read","files read"]};case"Edit":case"MultiEdit":return{verb:"Edited",summary:L(t.file_path),noun:["edit","edits"]};case"Write":return{verb:"Wrote",summary:L(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
|
-
`):""}const j=e=>e.replace(/<system-reminder>[\s\S]*?<\/system-reminder>/g,"").replace(/<\/?pasted_content(?:\s+id="[^"]*")?\s*>\n?/g,"").trim(),Lt=/<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>/,F=e=>{const t=e.match(Lt);return t&&j(t[1])||null};function $(e,t){const s=e.match(new RegExp(`<${t}>([\\s\\S]*?)</${t}>`));return s?s[1].trim():null}function J(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(n=>({label:String(n?.label??""),description:String(n?.description??"")}))}))}function Rt(e,t){const s=e.toolUseResult?.answers;if(s&&typeof s=="object")return Object.fromEntries(Object.entries(s).map(([r,i])=>[r,String(i)]));const n={};for(const r of t.matchAll(/"([^"]+)"="([^"]*)"/g))n[r[1]]=r[2];return n}function qt(e){const t=[],s=new Map,n=new Map;let r=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":r=o.aiTitle??r;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=F(u);c?w(o,c,{queued:!0}):k(o,"Context added",u)}else if(D.test(u.trim()))a&&(a.interrupted=!0);else{const c=J(u);if(c)w(o,c,{command:!0});else if(!u.includes("<local-command-stdout>")){const h=j(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=n.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=F(h);if(D.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=j(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};n.set(u.id,c),x(o).parts.push(c)}else if(u?.type==="tool_use"){const c=It(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=j(u.prompt);c&&w(o,c,{queued:!0})}else if(u.type==="hook_additional_context"){const c=Array.isArray(u.content)?u.content.join(`
|
|
4
|
-
`):String(u.content??"");k(o,`Hook added context${u.hookEvent?` (${u.hookEvent})`:""}`,c)}break}case"system":{if(o.subtype==="turn_duration")a&&(a.durationMs=o.durationMs??null,a.done=!0),y();else if(o.subtype==="away_summary")y(),t.push({kind:"notice",id:o.uuid,title:"While you were away",detail:String(o.content??""),at:o.timestamp});else if(o.subtype==="local_command"){const u=String(o.content??""),c=$(u,"local-command-stdout")??$(u,"local-command-stderr"),h=J(u);if(h)w(o,h,{command:!0});else if(c!==null){const f=c.replace(jt,"").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(`
|
|
5
|
-
`).trim(),h=!o.parts.some(f=>f.kind==="question")&&(!u||At.test(u));return v.push({id:o.id,at:o.at,durationMs:o.durationMs,done:o.done||p<t.length-1,outcome:h?"quiet":"reported"}),!h}),title:r,checks:v}}function se(e){const t=new Map;let s=!1,n=0;for(const i of e){if(i.kind==="thinking"&&(s=!0,n+=i.ms??0),i.kind!=="tool")continue;const a=t.get(i.noun[0])??{n:0,noun:i.noun};a.n++,t.set(i.noun[0],a)}const r=[...t.values()].map(i=>`${i.n} ${i.n===1?i.noun[0]:i.noun[1]}`);return r.length?r.join(", "):s?n>=1e3?`Thought for ${Ot(n)}`:"Thought briefly":"Read some context"}function Ot(e){if(e==null||e<0)return"";const t=Math.round(e/1e3);if(t<60)return`${t}s`;const s=Math.floor(t/60);return s<60?`${s}m ${t%60}s`:`${Math.floor(s/60)}h ${s%60}m`}function ne(e){const t=[];for(const s of e)if(s.kind==="turn"){for(const n of s.parts)if(n.kind==="activity")for(const r of n.steps)r.kind==="tool"&&r.result!==null&&r.name.startsWith("mcp__")&&t.push(r.id)}return t}const Wt=2,B=e=>` ${e.replace(/\s+/g," ").trim()} `,H=e=>e[e.length-1]?.id??null,Nt=(e,t)=>t===null?-1:e.findIndex(s=>s.id===t),Q=e=>e?.kind==="turn";function Ct(e,t){const s=new Map;return e.filter(n=>{if(n.state==="sending"||n.state==="failed")return!0;const r=Nt(t,n.after),i=t.slice(r+1);if(n.via==="inbox")return!i.some(Q);const a=B(n.text),d=s.get(a)??0;return i.filter(y=>y.kind==="user"&&B(y.text).includes(a)).length>d?(s.set(a,d+1),!1):i.filter(y=>Q(y)&&y.done).length<Wt})}function re(e){switch(e.state){case"sending":return"Sending…";case"queued":return"Queued · Firstmate is busy and will read it next";case"failed":return e.error?`Not sent · ${e.error}`:"Not sent";default:return e.via==="inbox"?"In Firstmate’s inbox":"Delivered · waiting for Firstmate"}}const z=6e3;class Pt{#t=g(null);get session(){return l(this.#t)}set session(t){m(this.#t,t,!0)}#e=g(null);get source(){return l(this.#e)}set source(t){m(this.#e,t,!0)}#s=g([]);get records(){return l(this.#s)}set records(t){m(this.#s,t)}#n=g("connecting");get connection(){return l(this.#n)}set connection(t){m(this.#n,t,!0)}#r=g(0);get resets(){return l(this.#r)}set resets(t){m(this.#r,t,!0)}#o=g(!1);get synced(){return l(this.#o)}set synced(t){m(this.#o,t,!0)}#i=g(N([]));get commands(){return l(this.#i)}set commands(t){m(this.#i,t,!0)}#a=_(()=>qt(this.records));get chat(){return l(this.#a)}set chat(t){m(this.#a,t)}#u=_(()=>{const t=this.chat.items[this.chat.items.length-1];return this.session?.busy===!0||t?.kind==="turn"&&!t.done&&!t.interrupted});get working(){return l(this.#u)}set working(t){m(this.#u,t)}#c=_(()=>this.connection==="open"&&this.session?.state==="ours"&&!this.session.picker&&!this.session.menu&&this.working);get atWork(){return l(this.#c)}set atWork(t){m(this.#c,t)}#l=g(N([]));get outbox(){return l(this.#l)}set outbox(t){m(this.#l,t,!0)}#d=_(()=>Ct(this.outbox,this.chat.items));get pending(){return l(this.#d)}set pending(t){m(this.#d,t)}close=null;connect(){if(this.close)return()=>{};this.synced=!1;const t=s=>{s.addEventListener("session",n=>{this.session=JSON.parse(n.data),this.connection="open"}),s.addEventListener("reset",n=>{this.source=JSON.parse(n.data),this.records=[],this.resets++}),s.addEventListener("records",n=>{const r=[...this.records,...JSON.parse(n.data)];this.records=r.length>z?r.slice(-z):r}),s.addEventListener("synced",()=>this.synced=!0)};return this.close=at("/api/firstmate/chat",t,s=>this.connection=s),this.loadCommands(),()=>{this.close?.(),this.close=null,this.connection="connecting"}}async send(t,s,n,r){return this.prune(),this.outbox.push({id:crypto.randomUUID(),text:t,via:s,state:"sending",error:null,after:H(this.chat.items)}),this.deliver(this.outbox[this.outbox.length-1],n,r)}retry(t,s,n){const r=this.outbox.find(i=>i.id===t);!r||r.state!=="failed"||(r.after=H(this.chat.items),this.deliver(r,s,n))}dismiss(t){this.outbox=this.outbox.filter(s=>s.id!==t)}async deliver(t,s,n){t.state="sending",t.error=null;const r=t.via==="inbox"?await Ft(t.text,s):await Dt("/api/firstmate/input",s,{text:t.text});return r.ok?t.state=n&&t.via==="session"?"queued":"delivered":(t.state="failed",t.error=r.error),r}prune(){const t=new Set(this.pending.map(s=>s.id));this.outbox=this.outbox.filter(s=>t.has(s.id))}async loadCommands(){try{const t=await fetch("/api/firstmate/commands");t.ok&&(this.commands=(await t.json()).commands)}catch{}}}const oe=new Pt;async function Dt(e,t,s){try{const n=await fetch(e,{method:"POST",headers:{"content-type":"application/json",[A]:t},body:JSON.stringify(s??{})});return n.ok?{ok:!0}:{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 Ft(e,t,s=null,n=`wh-${crypto.randomUUID()}`){try{const r=await fetch("/api/firstmate/messages",{method:"POST",headers:{"content-type":"application/json","idempotency-key":n,[A]:t},body:JSON.stringify({text:e,taskId:s})});return r.ok?{ok:!0,pending:r.status===202}:{ok:!1,error:(await r.json().catch(()=>null))?.message??`Wheelhouse answered ${r.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}export{ee as P,R as a,K as b,se as c,Ot as d,oe as e,Zt as f,Dt as g,ne as h,re as p,te as r,Ft as s};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{l as rt,p as st,m as A,q as ot,f as be,s,h as d,g as e,r as i,a as l,b as nt,i as ne,n as C,w as L,o as w,t as k,d as _,x as Le,y as ve,v as n,c as p,aa as le,j as lt}from"./DFFTcnMk.js";import{i as R}from"./fxwDaXQ6.js";import{r as Pe,s as O,e as ye,i as it,b as dt,c as ut}from"./VI4uBLfk.js";import{a as ct}from"./DJKfepuw.js";import{p as Me}from"./AiTV8eMU.js";import{S as vt}from"./BXN538J3.js";import{B as W}from"./I9e8Fl7s.js";import{L as pt,K as Ie}from"./IpTBlU5z.js";import{C as mt}from"./BJ22bl3x.js";import{s as ft,r as gt}from"./DtxmqMMR.js";import{I as _t}from"./CDH1GGn5.js";import{E as ht}from"./KzJrxDZe.js";const xt=/https?:\/\/[^\s<>"'`]+/g,bt=/[.,;:!?)\]}'"*]+$/;function ia(M){return[...M.matchAll(xt)].map(H=>H[0].replace(bt,""))}var yt=new Set(["$$slots","$$events","$$legacy"]);function $t(M,H){let pe=gt(H,yt);const me={name:"eye-off",size:24,node:[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"}],["path",{d:"m2 2 20 20"}]]};_t(M,ft(()=>pe,{get icon(){return me}}))}const wt=/^[A-Za-z_][A-Za-z0-9_]{0,127}$/,da=/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;function kt(M){return M.length<=1?M.join(""):`${M.slice(0,-1).join(", ")} and ${M.at(-1)}`}var jt=p('<div class="relative"><input autocomplete="off" autocapitalize="off" spellcheck="false" data-1p-ignore="" data-lpignore="true" class="h-10 w-full rounded-md border border-input bg-background px-3 pr-10 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60"/> <button type="button" class="absolute inset-y-0 right-0 flex w-10 items-center justify-center rounded-r-md text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"><!></button></div>'),zt=p('<label class="flex min-w-0 items-center gap-2 text-sm"><input type="checkbox" class="size-4 shrink-0 accent-[var(--sea)]"/> <span class="truncate"> </span></label>'),At=p('<div class="grid gap-x-6 gap-y-2 sm:grid-cols-2" role="group"></div>'),Pt=p('<p class="text-sm text-muted-foreground">Wheelhouse knows no projects yet.</p>'),Et=p('<p class="mt-5 rounded-md border border-success/40 bg-success/5 px-4 py-2.5 text-sm" role="status"> </p>'),St=p('<p class="mt-5 rounded-md border border-danger/40 bg-danger/5 px-4 py-2.5 text-sm" role="alert"> </p>'),Nt=p('<p class="mt-5 text-sm text-muted-foreground"> </p>'),Rt=p('<p id="vault-name-help" class="text-sm text-danger" role="alert"> </p>'),Tt=p('<p id="vault-name-help" class="text-xs text-muted-foreground">The environment variable a command receives it as: letters, digits and underscores.</p>'),Ct=p('<section class="mt-6 rounded-lg border border-hair bg-background/60 px-5 py-5" aria-labelledby="vault-add"><h2 id="vault-add" class="font-display text-lg">Add a secret</h2> <p class="mt-0.5 mb-5 text-xs text-muted-foreground">Storing a name that already exists replaces its value.</p> <form class="grid gap-5"><div class="grid max-w-md gap-1.5"><label for="vault-name" class="text-sm font-medium">Name</label> <input id="vault-name" autocomplete="off" autocapitalize="characters" spellcheck="false" placeholder="VERCEL_TOKEN" aria-describedby="vault-name-help" class="h-10 w-full rounded-md border border-input bg-background px-3 font-mono text-sm outline-none placeholder:text-muted-foreground/60 focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60 aria-invalid:border-danger"/> <!></div> <div class="grid max-w-md gap-1.5"><label for="vault-value" class="text-sm font-medium">Value</label> <!> <p class="flex items-start gap-1.5 text-xs text-muted-foreground"><!> Goes straight into your Mac’s login Keychain. Wheelhouse cannot show it again.</p></div> <div class="grid gap-2"><p class="text-sm font-medium">Projects that may use it</p> <p class="-mt-1 mb-1 text-xs text-muted-foreground">Optional. You can change this any time.</p> <!></div> <div class="flex flex-wrap gap-2"><!> <!></div></form></section>'),Dt=p('<div class="mt-6 rounded-lg border border-dashed px-6 py-10"><!> <p class="mt-3 font-display text-lg">The vault is empty</p> <p class="mt-1 max-w-prose text-sm text-muted-foreground">Add the tokens and keys your projects need. The crew uses them by name and never sees a value.</p> <!></div>'),Kt=p('<span class="rounded border border-hair px-1.5 py-0.5 text-xs"> </span>'),Lt=p('<span class="text-xs text-muted-foreground">No project yet</span>'),Mt=p('<form class="grid gap-2"><label for="vault-replace" class="text-xs font-medium">New value</label> <!> <div class="flex flex-wrap gap-2"><!> <!></div></form>'),It=p(`<p>Remove <span class="font-mono"> </span>? Its value is deleted from the
|
|
2
|
-
Keychain and every project loses it. This cannot be undone.</p> <div class="flex flex-wrap gap-2"><!> <!></div>`,1),Vt=p('<div class="flex flex-wrap gap-2"><!> <!></div>'),Ot=p('<div class="grid gap-6 px-1 pt-1 pb-5 sm:grid-cols-[minmax(0,1fr)_minmax(0,18rem)] sm:pl-9"><div><p class="mb-2 text-sm font-medium">Projects that may use it</p> <!> <p class="mt-3 text-xs text-muted-foreground"> </p></div> <div class="grid content-start gap-3 text-sm"><p class="tabular text-xs text-muted-foreground"> <br/> </p> <!></div></div>'),Wt=p('<li><button class="flex min-h-12 w-full items-center gap-4 px-1 py-3 text-left outline-none hover:bg-muted/50 focus-visible:ring-2 focus-visible:ring-ring"><!> <span class="min-w-0 flex-1 truncate font-mono text-sm font-medium"> </span> <span class="hidden min-w-0 flex-wrap justify-end gap-1.5 sm:flex"></span> <!></button> <!></li>'),Ut=p('<ul class="mt-6 divide-y divide-hair border-y border-hair" aria-label="Secrets"></ul>'),Zt=p('<a class="text-sea hover:underline"> </a>'),Ht=p('<tr><td class="tabular py-2 pr-4 whitespace-nowrap"> </td><td class="py-2 pr-4"><!></td><td class="py-2 pr-4"> </td><td class="py-2 pr-4 font-mono text-xs"> </td><td class="py-2 pr-4"> </td><td class="py-2"> </td></tr>'),Bt=p('<h2 class="section-label mt-10">Recent use</h2> <div class="mt-3 no-scrollbar overflow-x-auto"><table class="w-full text-sm"><thead class="text-left text-xs text-muted-foreground"><tr class="border-b border-hair"><th class="py-2 pr-4 font-medium">When</th><th class="py-2 pr-4 font-medium">Task</th><th class="py-2 pr-4 font-medium">Project</th><th class="py-2 pr-4 font-medium">Secrets</th><th class="py-2 pr-4 font-medium">Command</th><th class="py-2 font-medium">Result</th></tr></thead><tbody class="divide-y divide-hair"></tbody></table></div>',1),Ft=p(`<div class="flex flex-wrap items-start justify-between gap-4"><p class="max-w-prose text-sm text-muted-foreground">Secrets your projects can use by name. Values stay in your Mac’s login Keychain; Wheelhouse
|
|
3
|
-
never shows one.</p> <!></div> <!> <!> <!> <!> <!> <!>`,1);function Gt(M,H){st(H,!0);const pe=(t,a=le,r=le,o=le)=>{var m=jt(),f=d(m);Pe(f);var u=s(f,2),T=d(u);{var h=v=>{$t(v,{class:"size-4"})},x=v=>{ht(v,{class:"size-4"})};R(T,v=>{e(U)?v(h):v(x,-1)})}i(u),i(m),k(v=>{O(f,"id",a()),O(f,"type",e(U)?"text":"password"),dt(f,v),f.disabled=e(y),O(u,"aria-label",e(U)?"Hide what you typed":"Show what you typed"),O(u,"aria-pressed",e(U))},[()=>r()()]),ve("input",f,v=>o()(v.currentTarget.value)),ve("click",u,()=>n(U,!e(U))),l(t,m)},me=(t,a=le,r=le,o=le)=>{var m=lt(),f=be(m);{var u=h=>{var x=At();ye(x,20,()=>e(Ee),v=>v,(v,Z)=>{var D=zt(),g=d(D);Pe(g);var b=s(g,2),P=w(b,!0);i(D),k(E=>{ut(g,E),g.disabled=e(y),_(P,Z)},[()=>r().includes(Z)]),ve("change",g,E=>{const c=E.currentTarget;o()(Z,c.checked,c)}),l(v,D)}),i(x),k(()=>O(x,"aria-label",a())),l(h,x)},T=h=>{var x=Pt();l(h,x)};R(f,h=>{e(Ee).length?h(u):h(T,-1)})}l(t,m)},ie=ne(()=>H.data);let fe=A(null);const de=ne(()=>{const t=H.entry.content.available?Date.parse(H.entry.content.observedAt??""):NaN;return e(fe)&&!(t>e(fe).at)?e(fe).secrets:e(ie).secrets}),Ee=ne(()=>{const t=(Me.data.fleet?.projects??[]).map(r=>r.id),a=e(de).flatMap(r=>r.projects).filter(r=>!t.includes(r));return[...t,...[...new Set(a)].sort()]});let F=A(null),Q=A(!1),ue=A(null),ce=A(null),y=A(!1),X=A(null),ee=A(null),G=A(""),J=A(""),te=A(ot([])),U=A(!1),ae=A(""),Y=A("");function $e(t){if(!t)return"Never";const a=new Date(t);if(Number.isNaN(a.getTime()))return t;const r=o=>String(o).padStart(2,"0");return`${a.getFullYear()}-${r(a.getMonth()+1)}-${r(a.getDate())} ${r(a.getHours())}:${r(a.getMinutes())}`}function ge(){n(J,""),n(Y,""),n(U,!1)}function Se(){n(G,""),n(te,[],!0),n(ae,""),n(X,null),n(ee,null),ge(),n(Q,!0)}function Ve(){n(Q,!1),ge()}async function _e(t){n(y,!0),n(ee,null),n(X,null);try{const a=await fetch("/api/vault",{method:"POST",headers:{"content-type":"application/json",[vt]:Me.data.sessionToken},body:JSON.stringify(t)}),r=await a.json().catch(()=>null);return a.ok?(r?.secrets&&n(fe,{secrets:r.secrets,at:Date.parse(r.observedAt??"")||Date.now()},!0),n(X,r?.message??"Done.",!0),!0):(n(ee,r?.message??`Wheelhouse could not do that (${a.status}).`,!0),!1)}catch{return n(ee,"Wheelhouse could not be reached. Try again."),!1}finally{n(y,!1)}}async function Oe(t){if(t.preventDefault(),!wt.test(e(G))){n(ae,"Use letters, digits and underscores, not starting with a digit, like VERCEL_TOKEN.");return}if(!e(J))return;const a={action:"set",name:e(G),value:e(J),projects:e(te)};n(J,""),n(U,!1),await _e(a)&&(n(Q,!1),n(F,e(G),!0))}async function We(t,a){if(t.preventDefault(),!e(Y))return;const r={action:"set",name:a.name,value:e(Y),projects:[]};n(Y,""),n(U,!1),await _e(r)&&n(ue,null)}async function Ue(t,a,r,o){await _e({action:r?"grant":"revoke",name:t.name,projects:[a]})||(o.checked=!r)}async function Ze(t){await _e({action:"remove",name:t.name})&&(n(ce,null),n(F,null))}function He(t){n(F,e(F)===t?null:t,!0),n(ce,null),n(ue,null),ge()}var Ne=Ft(),we=be(Ne),Be=s(d(we),2);{var Fe=t=>{W(t,{onclick:Se,get disabled(){return e(y)},children:(a,r)=>{C();var o=L("Add a secret");l(a,o)},$$slots:{default:!0}})};R(Be,t=>{e(de).length&&!e(Q)&&t(Fe)})}i(we);var Re=s(we,2);{var Ge=t=>{var a=Et(),r=w(a,!0);k(()=>_(r,e(X))),l(t,a)};R(Re,t=>{e(X)&&t(Ge)})}var Te=s(Re,2);{var Je=t=>{var a=St(),r=w(a,!0);k(()=>_(r,e(ee))),l(t,a)};R(Te,t=>{e(ee)&&t(Je)})}var Ce=s(Te,2);{var Ye=t=>{var a=Nt(),r=w(a,!0);k(()=>_(r,e(ie).problem)),l(t,a)};R(Ce,t=>{e(ie).problem&&t(Ye)})}var De=s(Ce,2);{var qe=t=>{var a=Ct(),r=s(d(a),4),o=d(r),m=s(d(o),2);Pe(m);var f=s(m,2);{var u=c=>{var j=Rt(),K=w(j,!0);k(()=>_(K,e(ae))),l(c,j)},T=c=>{var j=Tt();l(c,j)};R(f,c=>{e(ae)?c(u):c(T,-1)})}i(o);var h=s(o,2),x=s(d(h),2);pe(x,()=>"vault-value",()=>()=>e(J),()=>c=>n(J,c,!0));var v=s(x,2),Z=d(v);pt(Z,{class:"mt-px size-3.5 shrink-0"}),C(),i(v),i(h);var D=s(h,2),g=s(d(D),4);me(g,()=>"Projects that may use it",()=>e(te),()=>(c,j)=>{n(te,j?[...e(te),c]:e(te).filter(K=>K!==c),!0)}),i(D);var b=s(D,2),P=d(b);{let c=ne(()=>e(y)||!e(G)||!e(J));W(P,{type:"submit",get disabled(){return e(c)},children:(j,K)=>{C();var q=L("Store secret");l(j,q)},$$slots:{default:!0}})}var E=s(P,2);W(E,{type:"button",variant:"outline",get disabled(){return e(y)},onclick:Ve,children:(c,j)=>{C();var K=L("Cancel");l(c,K)},$$slots:{default:!0}}),i(b),i(r),i(a),k(()=>{m.disabled=e(y),O(m,"aria-invalid",e(ae)?"true":void 0)}),Le("submit",r,Oe),ve("input",m,()=>n(ae,"")),ct(m,()=>e(G),c=>n(G,c)),l(t,a)};R(De,t=>{e(Q)&&t(qe)})}var Ke=s(De,2);{var Qe=t=>{var a=Dt(),r=d(a);Ie(r,{class:"size-6 text-brass","aria-hidden":"true"});var o=s(r,6);W(o,{class:"mt-5",onclick:Se,get disabled(){return e(y)},children:(m,f)=>{C();var u=L("Add a secret");l(m,u)},$$slots:{default:!0}}),i(a),l(t,a)},Xe=t=>{var a=Ut();ye(a,21,()=>e(de),r=>r.name,(r,o)=>{var m=Wt(),f=d(m),u=d(f);Ie(u,{class:"size-4 shrink-0 text-brass","aria-hidden":"true"});var T=s(u,2),h=w(T,!0),x=s(T,2);ye(x,20,()=>e(o).projects,g=>g,(g,b)=>{var P=Kt(),E=w(P,!0);k(()=>_(E,b)),l(g,P)},g=>{var b=Lt();l(g,b)}),i(x);var v=s(x,2);{let g=ne(()=>e(F)===e(o).name?"rotate-90":"");mt(v,{get class(){return`size-4 shrink-0 text-muted-foreground transition-transform ${e(g)??""}`},"aria-hidden":"true"})}i(f);var Z=s(f,2);{var D=g=>{var b=Ot(),P=d(b),E=s(d(P),2);me(E,()=>`Projects that may use ${e(o).name}`,()=>e(o).projects,()=>(S,$,N)=>Ue(e(o),S,$,N));var c=s(E,2),j=w(c,!0);i(P);var K=s(P,2),q=d(K),he=d(q),I=s(he,2);i(q);var V=s(q,2);{var ke=S=>{var $=Mt(),N=s(d($),2);pe(N,()=>"vault-replace",()=>()=>e(Y),()=>z=>n(Y,z,!0));var re=s(N,2),B=d(re);{let z=ne(()=>e(y)||!e(Y));W(B,{type:"submit",size:"sm",get disabled(){return e(z)},children:(xe,oe)=>{C();var ze=L("Replace");l(xe,ze)},$$slots:{default:!0}})}var se=s(B,2);W(se,{type:"button",size:"sm",variant:"outline",get disabled(){return e(y)},onclick:()=>{n(ue,null),ge()},children:(z,xe)=>{C();var oe=L("Cancel");l(z,oe)},$$slots:{default:!0}}),i(re),i($),Le("submit",$,z=>We(z,e(o))),l(S,$)},je=S=>{var $=It(),N=be($),re=s(d(N)),B=w(re,!0);C(),i(N);var se=s(N,2),z=d(se);W(z,{size:"sm",variant:"destructive",get disabled(){return e(y)},onclick:()=>Ze(e(o)),children:(oe,ze)=>{C();var Ae=L("Remove");l(oe,Ae)},$$slots:{default:!0}});var xe=s(z,2);W(xe,{size:"sm",variant:"outline",get disabled(){return e(y)},onclick:()=>n(ce,null),children:(oe,ze)=>{C();var Ae=L("Keep it");l(oe,Ae)},$$slots:{default:!0}}),i(se),k(()=>_(B,e(o).name)),l(S,$)},at=S=>{var $=Vt(),N=d($);W(N,{size:"sm",variant:"outline",get disabled(){return e(y)},onclick:()=>{n(ue,e(o).name,!0),n(X,null)},children:(B,se)=>{C();var z=L("Replace value");l(B,z)},$$slots:{default:!0}});var re=s(N,2);W(re,{size:"sm",variant:"ghost",class:"text-danger hover:text-danger",get disabled(){return e(y)},onclick:()=>n(ce,e(o).name,!0),children:(B,se)=>{C();var z=L("Remove…");l(B,z)},$$slots:{default:!0}}),i($),l(S,$)};R(V,S=>{e(ue)===e(o).name?S(ke):e(ce)===e(o).name?S(je,1):S(at,-1)})}i(K),i(b),k((S,$,N)=>{O(b,"id",`vault-${e(o).name??""}`),_(j,S),_(he,`Value set ${$??""}`),_(I,`Last used ${N??""}`)},[()=>e(o).projects.length?`A command ${kt(e(o).projects)} ${e(o).projects.length===1?"runs":"run"} through the vault gets it in its environment, that command only.`:"No project can use it until you tick one.",()=>$e(e(o).updatedAt),()=>$e(e(o).lastUsedAt)]),l(g,b)};R(Z,g=>{e(F)===e(o).name&&g(D)})}i(m),k(()=>{O(f,"aria-expanded",e(F)===e(o).name),O(f,"aria-controls",`vault-${e(o).name??""}`),_(h,e(o).name)}),ve("click",f,()=>He(e(o).name)),l(r,m)}),i(a),l(t,a)};R(Ke,t=>{!e(de).length&&!e(Q)?t(Qe):e(de).length&&t(Xe,1)})}var et=s(Ke,2);{var tt=t=>{var a=Bt(),r=s(be(a),2),o=d(r),m=s(d(o));ye(m,21,()=>e(ie).used,it,(f,u)=>{var T=Ht(),h=d(T),x=w(h,!0),v=s(h),Z=d(v);{var D=I=>{var V=Zt(),ke=w(V,!0);k(je=>{O(V,"href",`/tasks/${je??""}`),_(ke,e(u).task)},[()=>encodeURIComponent(e(u).task)]),l(I,V)},g=I=>{var V=L();k(()=>_(V,e(u).task??"—")),l(I,V)};R(Z,I=>{e(u).task&&e(u).taskKnown?I(D):I(g,-1)})}i(v);var b=s(v),P=w(b,!0),E=s(b),c=w(E,!0),j=s(E),K=w(j,!0),q=s(j),he=w(q,!0);i(T),k((I,V)=>{_(x,I),_(P,e(u).project??"—"),_(c,V),_(K,e(u).program??"—"),_(he,e(u).result)},[()=>$e(e(u).at),()=>e(u).names.join(", ")||"—"]),l(f,T)}),i(m),i(o),i(r),l(t,a)};R(et,t=>{e(ie).used.length&&t(tt)})}l(M,Ne),nt()}rt(["input","click","change"]);const ua={"vault/overview":Gt};export{ua as P,wt as S,kt as a,da as b,ia as e};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{s as yt}from"./l_pUsC7d.js";import{H as B,N as Y,r as me,n as N,i as je,b as T,s as $,a as Se,f as tt,g as Ie,c as oe,d as be,S as Oe,P as rt,p as I,o as Ne,e as wt,h as vt,u as De,j as bt,w as Et,k as Xe,l as X,m as At,q as nt,t as kt,v as St,x as at}from"./w66b3iDh.js";import{G as se,a8 as It,A as Rt}from"./DFFTcnMk.js";class te{constructor(t,r){this.status=t,typeof r=="string"?this.body={message:r}:r?this.body=r:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class xe{constructor(t,r){try{new Headers({location:r})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(r)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=r}}class Ce extends Error{constructor(t,r,n){super(n),this.status=t,this.text=r}}const Pt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,Lt=/^\/\((?:[^)]+)\)$/;function Tt(e){const t=[];return{pattern:e==="/"||Lt.test(e)?/^\/$/:new RegExp(`^${jt(e).map(n=>{const i=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(i)return t.push({name:i[1],matcher:i[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const a=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(a)return t.push({name:a[1],matcher:a[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const o=n.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return Ee(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ee(String.fromCharCode(...c.slice(2).split("-").map(w=>parseInt(w,16))));const l=Pt.exec(c),[,d,p,u,h]=l;return t.push({name:u,matcher:h,optional:!!d,rest:!!p,chained:p?f===1&&o[0]==="":!1}),p?"([^]*?)":d?"([^/]*)?":"([^/]+?)"}return Ee(c)}).join("")}).join("")}/?$`),params:t}}function Ut(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function jt(e){return e.slice(1).split("/").filter(Ut)}function Ot(e,t,r){const n={},i=e.slice(1),a=i.filter(s=>s!==void 0);let o=0;for(let s=0;s<t.length;s+=1){const c=t[s];let f=i[s-o];if(c.chained&&c.rest&&o&&(f=i.slice(s-o,s+1).filter(l=>l).join("/"),o=0),f===void 0)if(c.rest)f="";else continue;if(!c.matcher||r[c.matcher](f)){n[c.name]=f;const l=t[s+1],d=i[s+1];l&&!l.rest&&l.optional&&d&&c.chained&&(o=0),!l&&!d&&Object.keys(n).length===a.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return n}function Ee(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Nt({nodes:e,server_loads:t,dictionary:r,matchers:n}){const i=new Set(t);return Object.entries(r).map(([s,[c,f,l]])=>{const{pattern:d,params:p}=Tt(s),u={id:s,exec:h=>{const w=d.exec(h);if(w)return Ot(w,p,n)},errors:[1,...l||[]].map(h=>e[h]),layouts:[0,...f||[]].map(o),leaf:a(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function o(s){return s===void 0?s:[i.has(s),e[s]]}}function ot(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ze(e,t,r=JSON.stringify){const n=r(t);try{sessionStorage[e]=n}catch{}}const Dt=-1,xt=-2,Ct=-3,Bt=-4,Mt=-5,$t=-6,Ft=-7,st=2**32-1,Re=st-1;function Vt(e){return!(!Number.isInteger(e)||e<0||e>Re)}function qt(e){return!(!Number.isInteger(e)||e<0||e>st)}function Ht(e){return Uint8Array.fromBase64(e).buffer}function Yt(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Kt(e){const t=atob(e),r=t.length,n=new Uint8Array(r);for(let i=0;i<r;i++)n[i]=t.charCodeAt(i);return n.buffer}const Gt=typeof Uint8Array.fromBase64=="function",Xt=typeof process=="object"&&process.versions?.node!==void 0,zt=Gt?Ht:Xt?Yt:Kt;function Wt(e,t){return e}const Jt=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,We=typeof SharedArrayBuffer>"u"?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get,Zt={fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e==="URL"?new URL(t):e==="URLSearchParams"?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,r,n)=>{try{Jt.call(t)}catch(a){if(!We)throw a;We.call(t)}const i=globalThis[e];return r!==void 0?new i(t,r,n):new i(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[Re]=void 0,delete t[Re],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,r)=>{e[t]=r},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,r)=>{e.set(t,r)}},Qt=Object.freeze(Zt);function er(e,t,r){const n=Wt(Qt);if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const i=e,a=Array(i.length);let o=null;function s(c,f=!1){if(c===Dt)return n.fromPrimitive(void 0);if(c===Ct)return n.fromPrimitive(NaN);if(c===Bt)return n.fromPrimitive(1/0);if(c===Mt)return n.fromPrimitive(-1/0);if(c===$t)return n.fromPrimitive(-0);if(f||typeof c!="number")throw new Error("Invalid input");if(c in a)return a[c];if(c>=i.length)throw new Error("Invalid input");const l=i[c];if(!l||typeof l!="object")a[c]=n.fromPrimitive(l);else if(Array.isArray(l))if(typeof l[0]=="string"){const d=l[0],p=t&&Object.hasOwn(t,d)?t[d]:void 0;if(p){let u=l[1];if(typeof u!="number"&&(u=i.push(l[1])-1),Object.hasOwn(a,u))return a[c]=p(a[u]);if(o??=new Set,o.has(u))throw new Error("Invalid circular reference");return o.add(u),a[c]=p(s(u)),o.delete(u),a[c]}switch(d){case"Date":a[c]=n.fromISOString(l[1]);break;case"Set":const u=n.createSet();a[c]=u;for(let _=1;_<l.length;_+=1)n.addValue(u,s(l[_]));break;case"Map":const h=n.createMap();a[c]=h;for(let _=1;_<l.length;_+=2)n.addEntry(h,s(l[_]),s(l[_+1]));break;case"RegExp":a[c]=n.fromRegExpInfo(l[1],l[2]);break;case"Object":{const _=l[1];if(typeof i[_]=="object"&&i[_][0]!=="BigInt")throw new Error("Invalid input");a[c]=n.box(s(_));break}case"BigInt":a[c]=n.fromPrimitive(BigInt(l[1]));break;case"null":const w=n.createNullPrototypeObject();a[c]=w;for(let _=1;_<l.length;_+=2){const m=l[_];if(typeof m!="string")throw new Error("Cannot parse an object with a non-string key");if(m==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(w,m,s(l[_+1]))}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(i[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const _=s(l[1]);a[c]=n.fromViewInfo(d,_,l[2],l[3]);break}case"ArrayBuffer":{const _=l[1];if(typeof _!="string")throw new Error("Invalid ArrayBuffer encoding");a[c]=n.fromArrayBuffer(zt(_));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{a[c]=n.fromStringValue(d,l[1]);break}default:throw new Error(`Unknown type ${d}`)}}else if(l[0]===Ft){const d=l[1];if(!qt(d))throw new Error("Invalid input");const p=n.createSparseArray(d);a[c]=p;for(let u=2;u<l.length;u+=2){const h=l[u];if(!Vt(h)||h>=d)throw new Error("Invalid input");n.set(p,h,s(l[u+1]))}}else{const d=n.createArray(l.length);a[c]=d;for(let p=0;p<l.length;p+=1){const u=l[p];u!==xt&&n.set(d,p,s(u))}}else{const d=n.createObject();a[c]=d;for(const p of Object.keys(l)){if(p==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(d,p,s(l[p]))}}return a[c]}return s(0)}function tr(e){return e.filter(t=>t!=null)}const rr="x-sveltekit-invalidated",nr="x-sveltekit-trailing-slash";function F(e,t){return e+"/"+t}function ie(e){return e instanceof te||e instanceof Ce?e.status:500}function ar(e){return e instanceof Ce?e.text:"Internal Error"}const or="/__data.json",sr=".html__data.json";function ir(e){return e.endsWith(".html")?e.replace(/\.html$/,sr):e.replace(/\/$/,"")+or}async function*cr(e,t){let r=!1,n="";const i=new TextDecoder;for(;;){let a=n.indexOf(t);for(;a!==-1;)yield n.slice(0,a),n=n.slice(a+t.length),a=n.indexOf(t);if(r){n&&(yield n);return}const o=await e.read();r=o.done,o.value&&(n+=i.decode(o.value,{stream:!0})),r&&(n+=i.decode())}}async function*lr(e){for await(const t of cr(e,`
|
|
2
|
-
`)){const r=t.trim();r&&(yield JSON.parse(r))}}const{onMount:fr}=yt,ur=Rt??(e=>e()),dr=new Set(["icon","shortcut icon","apple-touch-icon"]);let z=null;const x=ot(at)??{},Z=ot(nt)??{},D={url:Xe({}),page:Xe({}),navigating:Et(null),updated:bt()};function Be(e){x[e]=$()}function hr(e,t){let r=e+1;for(;x[r];)delete x[r],r+=1;for(r=t+1;Z[r];)delete Z[r],r+=1}function K(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(N)}async function it(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}let Me,Pe,ce,O,Le,E;const le=[],fe=[];let L=null;function Q(){L?.fork?.then(e=>e?.discard()),L=null,V={element:void 0,href:void 0}}const ae=new Map,$e=new Set,ct=new Set,q=new Set;let g={branch:[],error:null,url:null,nav:null},Fe=!1,ue=!1,Je=!0,ee=!1,W=!1,lt=!1,re=!1,ge,k,R,U;const J=new Set;let Ae;const de=new Map,he=new Map;async function Ur(e,t,r){if(globalThis.__sveltekit_1uo63cm.data){const{q:a={},p:o={},l:s={},f:c={}}=globalThis.__sveltekit_1uo63cm.data;for(const f in a)a[f];for(const f in s)s[f];for(const f in c)c[f];for(const f in o)o[f]}document.URL!==location.href&&(location.href=location.href),E=e,await e.hooks.init?.(),Me=Nt(e),O=document.documentElement,Le=t,Pe=e.nodes[0],ce=e.nodes[1],Pe(),ce(),k=history.state?.[B],R=history.state?.[Y],k||(k=R=Date.now(),history.replaceState({...history.state,[B]:k,[Y]:R},""));const n=x[k];function i(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}r?(i(),await kr(Le,r)):(await H({type:"enter",url:me(E.hash?Rr(new URL(location.href)):location.href),replace_state:!0}),i()),Ar()}async function pr(e=!0,t=!0){if(await(Ae||=Promise.resolve()),!Ae)return;Ae=null;const r=U={},n=await ne(g.url,!0);Q();const i=new Map;if(re){for(const o of de.values())for(const{resource:s}of o.values())s.refresh();for(const[o,s]of he)for(const[c,{resource:f}]of s){const l=F(o,c),d=f.reconnect();d.catch(N),i.set(l,d)}}if(e){const o=I.state,s=n&&await Ye(n);if(!s||r!==U)return;if(s.type==="redirect")return Ve(new URL(s.location,g.url).href,{replaceState:!0},1,r);t||(s.props.page.state=o),De(s.props.page),g={...s.state,nav:g.nav},Te(),ge.$set(s.props)}else Te();const a=[];for(const o of de.values())for(const{resource:s}of o.values())a.push(s);for(const[o,s]of he)for(const c of s.keys()){const f=F(o,c),l=i.get(f);l&&a.push(l)}await Promise.all(a).catch(N)}function Te(){le.length=0,re=!1}function ft(e){fe.some(t=>t?.snapshot)&&(Z[e]=fe.map(t=>t?.snapshot?.capture()))}function ut(e){Z[e]?.forEach((t,r)=>{fe[r]?.snapshot?.restore(t)})}function Ze(){Be(k),ze(at,x),ft(R),ze(nt,Z)}async function Ve(e,t,r,n){let i,a;t.invalidateAll&&Q(),await H({type:"goto",url:me(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:r,nav_token:n,accept:()=>{if(t.invalidateAll){re=!0,i=new Set;for(const[o,s]of de)for(const[c,f]of s)f.resource?.reset(),i.add(F(o,c));a=new Set;for(const[o,s]of he)for(const c of s.keys())a.add(F(o,c))}t.invalidate&&t.invalidate.forEach(Er)}}),t.invalidateAll&&se().then(se).then(()=>{for(const[o,s]of de)for(const[c,{resource:f}]of s)i?.has(F(o,c))&&f.start();for(const[o,s]of he)for(const[c,{resource:f}]of s)a?.has(F(o,c))&&f.reconnect()})}async function _r(e){if(e.id!==L?.id){Q();const t={};J.add(t),L={id:e.id,token:t,promise:Ye({...e,preload:t}).then(r=>(J.delete(t),r.type==="loaded"&&r.state.error&&Q(),r)),fork:null}}return L.promise}async function ke(e){const t=(await ne(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(r=>r[1]()))}async function dt(e,t,r){const n={params:g.params,route:{id:g.route?.id??null},url:new URL(location.href)};if(g={...e.state,nav:n},De(e.props.page),ge=new E.root({target:t,props:{...e.props,stores:D,components:fe},hydrate:r,sync:!1,transformError:void 0}),await Promise.resolve(),r){const i={from:null,to:{...n,scroll:x[k]??$()},willUnload:!1,type:"enter",complete:Promise.resolve()};q.forEach(a=>a(i))}ut(R),ue=!0}async function pe({url:e,params:t,branch:r,errors:n,status:i,error:a,route:o,form:s}){let c="never";if(T&&(e.pathname===T||e.pathname===T+"/"))c="always";else for(const h of r)h?.slash!==void 0&&(c=h.slash);e.pathname=vt(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:r,error:a,route:o},props:{constructors:tr(r).map(h=>h.node.component),page:we(I)}};s!==void 0&&(f.props.form=s);let l={},d=!I,p=0;for(let h=0;h<Math.max(r.length,g.branch.length);h+=1){const w=r[h],_=g.branch[h];w?.data!==_?.data&&(d=!0),w&&(l={...l,...w.data},d&&(f.props[`data_${p}`]=l),p+=1)}return(!g.url||e.href!==g.url.href||g.error!==a||s!==void 0&&s!==I.form||d)&&(f.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:i,url:new URL(e),form:s??null,data:d?l:I.data}),f}async function qe({loader:e,parent:t,url:r,params:n,route:i,server_data_node:a}){let o=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:a,universal:c.universal?.load?{type:"data",data:o,uses:s}:null,data:o??a?.data??null,slash:c.universal?.trailingSlash??a?.slash}}function mr(e,t,r){let n=e instanceof Request?e.url:e;const i=new URL(n,r);i.origin===r.origin&&(n=i.href.slice(r.origin.length));const a=ue?kt(n,i.href,t):St(n,t);return{resolved:i,promise:a}}function Qe(e,t,r,n,i,a){if(re)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&r)return!0;for(const o of i.search_params)if(n.has(o))return!0;for(const o of i.params)if(a[o]!==g.params[o])return!0;for(const o of i.dependencies)if(le.some(s=>s(new URL(o))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function gr(e,t){if(!e)return new Set(t.searchParams.keys());const r=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const n of r){const i=e.searchParams.getAll(n),a=t.searchParams.getAll(n);i.every(o=>a.includes(o))&&a.every(o=>i.includes(o))&&r.delete(n)}return r}function et({error:e,url:t,route:r,params:n}){return{type:"loaded",state:{error:e,url:t,route:r,params:n,branch:[]},props:{page:we(I),constructors:[]}}}async function Ye({id:e,invalidating:t,url:r,params:n,route:i,preload:a}){if(L?.id===e)return J.delete(L.token),L.promise;const{errors:o,layouts:s,leaf:c}=i,f=[...s,c];o.forEach(y=>y?.().catch(N)),f.forEach(y=>y?.[1]().catch(N));let l=null;const d=g.url?e!==_e(g.url):!1,p=g.route?i.id!==g.route.id:!1,u=gr(g.url,r);let h=!1;{const y=f.map((v,A)=>{const S=g.branch[A],b=!!v?.[0]&&(S?.loader!==v[1]||Qe(h,p,d,u,S.server?.uses,n));return b&&(h=!0),b});if(y.some(Boolean)){try{l=await _t(r,y)}catch(v){const A=await M(v,{url:r,params:n,route:{id:e}});return a&&J.has(a)?et({error:A,url:r,params:n,route:i}):ye({status:ie(v),error:A,url:r,route:i})}if(l.type==="redirect")return l}}const w=l?.nodes;let _=!1;const m=f.map(async(y,v)=>{if(!y)return;const A=g.branch[v],S=w?.[v];if((!S||S.type==="skip")&&y[1]===A?.loader&&!Qe(_,p,d,u,A.universal?.uses,n))return A;if(_=!0,S?.type==="error")throw S;return qe({loader:y[1],url:r,params:n,route:i,parent:async()=>{const j={};for(let C=0;C<v;C+=1)Object.assign(j,(await m[C])?.data);return j},server_data_node:He(S===void 0&&y[0]?{type:"skip"}:S??null,y[0]?A?.server:void 0)})});for(const y of m)y.catch(N);const P=[];for(let y=0;y<f.length;y+=1)if(f[y])try{P.push(await m[y])}catch(v){if(v instanceof xe)return{type:"redirect",location:v.location};if(a&&J.has(a))return et({error:await M(v,{params:n,url:r,route:{id:i.id}}),url:r,params:n,route:i});let A=ie(v),S;if(w?.includes(v))A=v.status??A,S=v.error;else if(v instanceof te)S=v.body;else{if(await D.updated.check())return await it(),await K(r);S=await M(v,{params:n,url:r,route:{id:i.id}})}const b=await yr(y,P,o);return b?pe({url:r,params:n,branch:P.slice(0,b.idx).concat(b.node),errors:o,status:A,error:S,route:i}):await pt(r,{id:i.id},S,A)}else P.push(void 0);return pe({url:r,params:n,branch:P,errors:o,status:200,error:null,route:i,form:t?void 0:null})}async function yr(e,t,r){for(;e--;)if(r[e]){let n=e;for(;!t[n];)n-=1;try{return{idx:n+1,node:{node:await r[e](),loader:r[e],data:{},server:null,universal:null}}}catch{continue}}}async function ye({status:e,error:t,url:r,route:n}){const i={};let a=null;if(E.server_loads[0]===0)try{const s=await _t(r,[!0]);if(s.type!=="data"||s.nodes[0]&&s.nodes[0].type!=="data")throw 0;a=s.nodes[0]??null}catch(s){if(!(s instanceof te&&s.status===404)&&(r.origin!==Ne||r.pathname!==location.pathname||Fe))return await K(r)}try{const o=await qe({loader:Pe,url:r,params:i,route:n,parent:()=>Promise.resolve({}),server_data_node:He(a)}),s={node:await ce(),loader:ce,universal:null,server:null,data:null};return pe({url:r,params:i,branch:[o,s],status:e,error:t,errors:[],route:null})}catch(o){if(o instanceof xe){await Ve(new URL(o.location,location.href),{},0);return}const s=await E.get_error_template(),c=await M(o,{url:r,params:i,route:n}),f=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),l=s({status:e,message:f}),d=new DOMParser().parseFromString(l,"text/html");throw document.documentElement.replaceChild(document.adoptNode(d.head),document.head),document.documentElement.replaceChild(document.adoptNode(d.body),document.body),o}}async function wr(e){const t=e.href;if(ae.has(t))return ae.get(t);let r;try{const n=(async()=>{let i=await E.hooks.reroute({url:new URL(e),fetch:async(a,o)=>mr(a,o,e).promise})??e;if(typeof i=="string"){const a=new URL(e);E.hash?a.hash=i:a.pathname=i,i=a}return i})();ae.set(t,n),r=await n}catch{ae.delete(t);return}return r}async function ne(e,t){if(e&&!je(e,T,E.hash)){const r=await wr(e);if(!r)return;const n=vr(r);for(const i of Me){const a=i.exec(n);if(a)return{id:_e(e),invalidating:t,route:i,params:wt(a),url:e}}}}function vr(e){return At(E.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(T.length))||"/"}function _e(e){return(E.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ht({url:e,type:t,intent:r,delta:n,event:i,scroll:a}){let o=!1;const s=Ge(g,r,e,t,a??null);n!==void 0&&(s.navigation.delta=n),i!==void 0&&(s.navigation.event=i);const c={...s.navigation,cancel:()=>{o=!0,s.reject(new Error("navigation cancelled"))}};return ee||$e.forEach(f=>f(c)),o?null:s}async function H({type:e,url:t,popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o={},redirect_count:s=0,nav_token:c={},accept:f=N,block:l=N,event:d}){const p=U;U=c;const u=await ne(t,!1),h=e==="enter"?Ge(g,u,t,e):ht({url:t,type:e,delta:r?.delta,intent:u,scroll:r?.scroll,event:d});if(!h){l(),U===c&&(U=p);return}const w=k,_=R;f(),ee=!0,ue&&h.navigation.type!=="enter"&&D.navigating.set(Se.current=h.navigation);let m=u&&await Ye(u);if(!m){if(je(t,T,E.hash))return await K(t,a);m=await pt(t,{id:null},await M(new Ce(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,a)}if(t=u?.url||t,U!==c){h.reject(new Error("navigation aborted"));return}if(!m)return;if(m.type==="redirect"){if(s<20){await H({type:e,url:new URL(m.location,t),popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o,redirect_count:s+1,nav_token:c}),h.fulfil(void 0);return}if(m=await ye({status:500,error:await M(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!m)return}else if(m.props.page.status>=400&&await D.updated.check())return await it(),await K(t,a);if(Te(),Be(w),ft(_),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),o=r?r.state:o,!r){const b=a?0:1,j={[B]:k+=b,[Y]:R+=b,[Oe]:o};(a?history.replaceState:history.pushState).call(history,j,"",t),a||hr(k,R)}const P=u&&L?.id===u.id?L.fork:null;L?.fork&&!P?Q():(L=null,V={element:void 0,href:void 0}),m.props.page.state=o;let y;if(ue){const b=(await Promise.all(Array.from(ct,G=>G(h.navigation)))).filter(G=>typeof G=="function");if(b.length>0){let G=function(){b.forEach(ve=>{q.delete(ve)})};b.push(G),b.forEach(ve=>{q.add(ve)})}const j=h.navigation.to;g={...m.state,nav:{params:j.params,route:j.route,url:j.url}},m.props.page&&(m.props.page.url=t),!n&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const C=P&&await P;C?y=C.commit():(z=null,ge.$set(m.props),z&&Object.assign(m.props.page,z),De(m.props.page),y=It?.()),lt=!0}else await dt(m,Le,!1);const{activeElement:v}=document;if(await y,await se(),await se(),U!==c){h.reject(new Error("navigation aborted"));return}m.props.page&&z&&Object.assign(m.props.page,z);let A=null;if(Je){const b=r?r.scroll:i?$():null;b?scrollTo(b.x,b.y):(A=t.hash&&document.getElementById(gt(t)))?A.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==v&&document.activeElement!==document.body;!n&&!S&&Ir(t,!A),Je=!0,ee=!1,h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=$()),q.forEach(b=>b(h.navigation)),e==="popstate"&&ut(R),D.navigating.set(Se.current=null)}async function pt(e,t,r,n,i){return e.origin===Ne&&e.pathname===location.pathname&&!Fe?await ye({status:n,error:r,url:e,route:t}):await K(e,i)}let V={element:void 0,href:void 0};function br(){let e,t;O.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{i(s,X.hover)},20)});function r(o){o.defaultPrevented||i(o.composedPath()[0],X.tap)}O.addEventListener("mousedown",r),O.addEventListener("touchstart",r,{passive:!0});const n=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(ke(new URL(s.target.href)),n.unobserve(s.target))},{threshold:0});async function i(o,s){const c=tt(o,O),f=c===V.element&&c?.href===V.href&&s>=t;if(!c||f)return;const{url:l,external:d,download:p}=Ie(c,T,E.hash);if(d||p)return;const u=oe(c),h=l&&_e(g.url)===_e(l);if(!(u.reload||h))if(s<=u.preload_data){V={element:c,href:c.href},t=X.tap;const w=await ne(l,!1);if(!w)return;_r(w)}else s<=u.preload_code&&(V={element:c,href:c.href},t=s,ke(l))}function a(){n.disconnect();for(const o of O.querySelectorAll("a")){const{url:s,external:c,download:f}=Ie(o,T,E.hash);if(c||f)continue;const l=oe(o);l.reload||(l.preload_code===X.viewport&&n.observe(o),l.preload_code===X.eager&&ke(s))}}q.add(a),a()}function M(e,t){if(e instanceof te)return e.body;const r=ie(e),n=ar(e);return E.hooks.handleError({error:e,event:t,status:r,message:n})??{message:n}}function Ke(e,t){fr(()=>(e.add(t),()=>{e.delete(t)}))}function jr(e){Ke(q,e)}function Or(e){Ke($e,e)}function Nr(e){Ke(ct,e)}function Dr(e,t={}){return e=new URL(me(e)),e.origin!==Ne?Promise.reject(new Error("goto: invalid URL")):Ve(e,t,0)}function Er(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(r=>r.href===t)}}function xr(){return re=!0,pr()}function Cr(e,t){const r={[B]:k,[Y]:R,[rt]:I.url.href,[Oe]:t};history.replaceState(r,"",me(e)),I.state=t,ge.$set({page:ur(()=>we(I))})}function Ar(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Ze(),!ee){const n=Ge(g,void 0,null,"leave"),i={...n.navigation,cancel:()=>{r=!0,n.reject(new Error("navigation cancelled"))}};$e.forEach(a=>a(i))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ze()}),navigator.connection?.saveData||br(),O.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=tt(t.composedPath()[0],O);if(!r)return;const{url:n,external:i,target:a,download:o}=Ie(r,T,E.hash);if(!n)return;if(a==="_parent"||a==="_top"){if(window.parent!==window)return}else if(a&&a!=="_self")return;const s=oe(r);if(!(r instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||o)return;const[f,l]=(E.hash?n.hash.replace(/^#/,""):n.href).split("#"),d=f===be(location);if(i||s.reload&&(!d||!l)){ht({url:n,type:"link",event:t})?ee=!0:t.preventDefault();return}if(l!==void 0&&d){const[,p]=g.url.href.split("#");if(p===l){if(t.preventDefault(),l===""||l==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=r.ownerDocument.getElementById(decodeURIComponent(l));u&&(u.scrollIntoView(),u.focus())}return}if(W=!0,Be(k),e(n),!s.replace_state)return;W=!1}t.preventDefault(),await new Promise(p=>{requestAnimationFrame(()=>{setTimeout(p,0)}),setTimeout(p,100)}),await H({type:"link",url:n,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??n.href===location.href,event:t})}),O.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),n=t.submitter;if((n?.formTarget||r.target)==="_blank"||(n?.formMethod||r.method)!=="get")return;const o=new URL(n?.hasAttribute("formaction")&&n?.formAction||r.action);if(je(o,T,!1))return;const s=t.target,c=oe(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(s,n);o.search=new URLSearchParams(f).toString(),H({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[B]){const r=t.state[B];if(U={},r===k)return;const n=x[r],i=t.state[Oe]??{},a=new URL(t.state[rt]??location.href),o=t.state[Y],s=g.url?be(location)===be(g.url):!1;if(o===R&&(lt||s)){i!==I.state&&(I.state=i),e(a),x[k]=$(),n&&scrollTo(n.x,n.y),k=r;return}const f=r-k;await H({type:"popstate",url:a,popped:{state:i,scroll:n,delta:f},accept:()=>{k=r,R=o},block:()=>{history.go(-f)},nav_token:U,event:t})}else if(!W){const r=new URL(location.href);e(r),E.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[B]:++k,[Y]:R},"",location.href))});for(const t of document.querySelectorAll("link"))dr.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&D.navigating.set(Se.current=null)});function e(t){g.url=I.url=t,D.page.set(we(I)),D.page.notify()}}async function kr(e,{status:t=200,error:r,node_ids:n,params:i,route:a,server_route:o,data:s,form:c}){Fe=!0;const f=new URL(location.href);let l;({params:i={},route:a={id:null}}=await ne(f,!1)||{}),l=Me.find(({id:u})=>u===a.id);let d,p=!0;try{const u=n.map(async(w,_)=>{const m=s[_];return m?.uses&&(m.uses=mt(m.uses)),qe({loader:E.nodes[w],url:f,params:i,route:a,parent:async()=>{const P={};for(let y=0;y<_;y+=1)Object.assign(P,(await u[y]).data);return P},server_data_node:He(m)})}),h=await Promise.all(u);if(l){const w=l.layouts;for(let _=0;_<w.length;_++)w[_]||h.splice(_,0,void 0)}d=await pe({url:f,params:i,branch:h,status:t,error:r,errors:l?.errors,form:c,route:l??null})}catch(u){if(u instanceof xe)return await K(new URL(u.location,location.href));d=await ye({status:ie(u),error:await M(u,{url:f,params:i,route:a}),url:f,route:a}),e.textContent="",p=!1}d&&(d.props.page&&(d.props.page.state={}),await dt(d,e,p))}async function _t(e,t){const r=new URL(e);r.pathname=ir(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(nr,"1"),r.searchParams.append(rr,t.map(a=>a?"1":"0").join(""));const n=window.fetch,i=await n(r.href,{});if(!i.ok){let a;throw i.headers.get("content-type")?.includes("application/json")?a=await i.json():i.status===404?a="Not Found":i.status===500&&(a="Internal Error"),new te(i.status,a)}return new Promise((a,o)=>{Sr(a,i).catch(o)})}async function Sr(e,t){const r=t.body.getReader(),n=new Map;function i(a){return er(a,{...E.decoders,Promise:o=>new Promise((s,c)=>{n.set(o,{fulfil:s,reject:c})})})}for await(const a of lr(r)){if(a.type==="redirect")return e(a);if(a.type==="data")a.nodes?.forEach(o=>{o?.type==="data"&&(o.uses=mt(o.uses),o.data=i(o.data))}),e(a);else if(a.type==="chunk"){const{id:o,data:s,error:c}=a,f=n.get(o);n.delete(o),c?f.reject(i(c)):f.fulfil(i(s))}}}function mt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ue=!1;function Ir(e,t=!0){const r=document.querySelector("[autofocus]");if(r)r.focus();else{const n=gt(e);if(n&&document.getElementById(n)){const{x:a,y:o}=$();setTimeout(()=>{const s=history.state;Ue=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(a,o),Ue=!1})}else{const a=document.body,o=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),o!==null?a.setAttribute("tabindex",o):a.removeAttribute("tabindex")}const i=getSelection();if(i&&i.type!=="None"){const a=[];for(let o=0;o<i.rangeCount;o+=1)a.push(i.getRangeAt(o));setTimeout(()=>{if(i.rangeCount===a.length){for(let o=0;o<i.rangeCount;o+=1){const s=a[o],c=i.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}i.removeAllRanges()}})}}}function Ge(e,t,r,n,i=null){let a,o;const s=new Promise((f,l)=>{a=f,o=l});return s.catch(N),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:$()},to:r&&{params:t?.params??null,route:{id:t?.route?.id??null},url:r,scroll:i},willUnload:!t,type:n,complete:s},fulfil:a,reject:o}}function we(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Rr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function gt(e){let t;if(E.hash){const[,,r]=e.hash.split("#",3);t=r??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{jr as a,Or as b,Dr as g,xr as i,Nr as o,Cr as r,Ur as s};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as y}from"./l_pUsC7d.js";import{aa as p,bD as N,m as u,g as f,v as d}from"./DFFTcnMk.js";const h=[];function k(e,t=p){let n=null;const s=new Set;function r(o){if(N(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 L="1794551319435";new URL("sveltekit-internal://");function D(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function H(e){return e.split("%25").map(decodeURI).join("%25")}function K(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function B({href:e}){return e.split("#")[0]}function O(){}function x(...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="${x(...r)}"]`}return s}const C=globalThis.__sveltekit_1uo63cm?.base??"",P=globalThis.__sveltekit_1uo63cm?.assets??C??"",J="sveltekit:snapshot",M="sveltekit:scroll",F="sveltekit:states",Q="sveltekit:pageurl",Z="sveltekit:history",ee="sveltekit:navigation",v={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={...v,"":v.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=k(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:O};function ie(){const{set:e,subscribe:t}=k(!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!==L;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 I=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...I];const j=new Set([...I]);[...j];let w,A,_;const G=y.toString().includes("$$")||/function \w+\(\) \{\}/.test(y.toString()),R="a:";G?(w={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(R)},A={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(R));get url(){return f(this.#i)}set url(t){d(this.#i,t)}},A=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,A as a,C as b,oe as c,B as d,K as e,se as f,re as g,D as h,V as i,ie as j,ae as k,v as l,H as m,O 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,k as w,M as x,le as y};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as r}from"../chunks/D85QHpKq.js";import{y as t}from"../chunks/w66b3iDh.js";export{t as load_css,r as start};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|