@chrisjowen/wheelhouse 0.22.5 → 0.22.7
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/build/client/_app/immutable/assets/0.DvoPFmNs.css +1 -0
- package/build/client/_app/immutable/assets/0.DvoPFmNs.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DvoPFmNs.css.gz +0 -0
- package/build/client/_app/immutable/chunks/{B42HCa1Z.js → ALbIn9xu.js} +1 -1
- package/build/client/_app/immutable/chunks/ALbIn9xu.js.br +0 -0
- package/build/client/_app/immutable/chunks/ALbIn9xu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C0XRIeH0.js → BBm_Fs-b.js} +1 -1
- package/build/client/_app/immutable/chunks/BBm_Fs-b.js.br +0 -0
- package/build/client/_app/immutable/chunks/BBm_Fs-b.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D_t5aTvb.js → BCs6bnXY.js} +1 -1
- package/build/client/_app/immutable/chunks/BCs6bnXY.js.br +0 -0
- package/build/client/_app/immutable/chunks/BCs6bnXY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{06NYrole.js → BF_cZ9t1.js} +1 -1
- package/build/client/_app/immutable/chunks/BF_cZ9t1.js.br +0 -0
- package/build/client/_app/immutable/chunks/BF_cZ9t1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{S3dTIgXO.js → B_2dI8B-.js} +1 -1
- package/build/client/_app/immutable/chunks/B_2dI8B-.js.br +0 -0
- package/build/client/_app/immutable/chunks/B_2dI8B-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B1Ason0h.js → BkMzJnu3.js} +1 -1
- package/build/client/_app/immutable/chunks/BkMzJnu3.js.br +0 -0
- package/build/client/_app/immutable/chunks/BkMzJnu3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D3vMdNpQ.js → Bk_ZNhuN.js} +1 -1
- package/build/client/_app/immutable/chunks/Bk_ZNhuN.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bk_ZNhuN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CvnA42KE.js → C--OEIw2.js} +1 -1
- package/build/client/_app/immutable/chunks/C--OEIw2.js.br +0 -0
- package/build/client/_app/immutable/chunks/C--OEIw2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BewcaM3i.js → C4rlO5ce.js} +2 -2
- package/build/client/_app/immutable/chunks/C4rlO5ce.js.br +0 -0
- package/build/client/_app/immutable/chunks/C4rlO5ce.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DKlxq08T.js → CU--1UbH.js} +1 -1
- package/build/client/_app/immutable/chunks/CU--1UbH.js.br +0 -0
- package/build/client/_app/immutable/chunks/CU--1UbH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DdD2DUSn.js → CWCjMcSQ.js} +1 -1
- package/build/client/_app/immutable/chunks/CWCjMcSQ.js.br +1 -0
- package/build/client/_app/immutable/chunks/CWCjMcSQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CJ_zP9aP.js → DFCS-1G4.js} +1 -1
- package/build/client/_app/immutable/chunks/DFCS-1G4.js.br +0 -0
- package/build/client/_app/immutable/chunks/DFCS-1G4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Bk_vkVPR.js → DIVbIv6L.js} +1 -1
- package/build/client/_app/immutable/chunks/DIVbIv6L.js.br +0 -0
- package/build/client/_app/immutable/chunks/DIVbIv6L.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{HxCbb4z3.js → DKap1_6w.js} +1 -1
- package/build/client/_app/immutable/chunks/DKap1_6w.js.br +0 -0
- package/build/client/_app/immutable/chunks/DKap1_6w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Cz6s8vAU.js → DSX3BpgH.js} +1 -1
- package/build/client/_app/immutable/chunks/DSX3BpgH.js.br +0 -0
- package/build/client/_app/immutable/chunks/DSX3BpgH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BIDYlDeR.js → DUXFc1rr.js} +1 -1
- package/build/client/_app/immutable/chunks/DUXFc1rr.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUXFc1rr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{EiS0rhjr.js → DW78OM6E.js} +1 -1
- package/build/client/_app/immutable/chunks/DW78OM6E.js.br +0 -0
- package/build/client/_app/immutable/chunks/DW78OM6E.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{tVK81Wo7.js → DcngPT1B.js} +1 -1
- package/build/client/_app/immutable/chunks/DcngPT1B.js.br +0 -0
- package/build/client/_app/immutable/chunks/DcngPT1B.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B_9oGok_.js → DeI80PG9.js} +1 -1
- package/build/client/_app/immutable/chunks/DeI80PG9.js.br +0 -0
- package/build/client/_app/immutable/chunks/DeI80PG9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DkYzvlzG.js → DjaUBMdB.js} +1 -1
- package/build/client/_app/immutable/chunks/DjaUBMdB.js.br +0 -0
- package/build/client/_app/immutable/chunks/DjaUBMdB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CCNfPCjE.js → DkLM7lHB.js} +1 -1
- package/build/client/_app/immutable/chunks/DkLM7lHB.js.br +0 -0
- package/build/client/_app/immutable/chunks/{CCNfPCjE.js.gz → DkLM7lHB.js.gz} +0 -0
- package/build/client/_app/immutable/chunks/{nb8rTQbZ.js → H0f_fYvf.js} +1 -1
- package/build/client/_app/immutable/chunks/H0f_fYvf.js.br +0 -0
- package/build/client/_app/immutable/chunks/H0f_fYvf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DKmmKKWI.js → WrKGiNFc.js} +1 -1
- package/build/client/_app/immutable/chunks/WrKGiNFc.js.br +0 -0
- package/build/client/_app/immutable/chunks/WrKGiNFc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Z0GxSwEl.js +1 -0
- package/build/client/_app/immutable/chunks/Z0GxSwEl.js.br +0 -0
- package/build/client/_app/immutable/chunks/Z0GxSwEl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DwbTjpdU.js → bVnBahjY.js} +1 -1
- package/build/client/_app/immutable/chunks/bVnBahjY.js.br +0 -0
- package/build/client/_app/immutable/chunks/bVnBahjY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CjEWkwrc.js → g2M5EibM.js} +1 -1
- package/build/client/_app/immutable/chunks/g2M5EibM.js.br +0 -0
- package/build/client/_app/immutable/chunks/g2M5EibM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BPodyZX-.js → jGjhSZaO.js} +1 -1
- package/build/client/_app/immutable/chunks/jGjhSZaO.js.br +0 -0
- package/build/client/_app/immutable/chunks/jGjhSZaO.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.BYCz6Sud.js → app.CBd4ts86.js} +2 -2
- package/build/client/_app/immutable/entry/app.CBd4ts86.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CBd4ts86.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DsKQ0RT3.js +1 -0
- package/build/client/_app/immutable/entry/start.DsKQ0RT3.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DsKQ0RT3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{0.B-iFwXkB.js → 0.F-xI54ba.js} +1 -1
- package/build/client/_app/immutable/nodes/0.F-xI54ba.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.F-xI54ba.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.BmQ5L6gl.js → 1.BeXAD0_3.js} +1 -1
- package/build/client/_app/immutable/nodes/1.BeXAD0_3.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BeXAD0_3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{10.xV6yNabZ.js → 10.MkZ74VF5.js} +1 -1
- package/build/client/_app/immutable/nodes/10.MkZ74VF5.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.MkZ74VF5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{11.GVCOI3ma.js → 11.Dfa5qI-E.js} +1 -1
- package/build/client/_app/immutable/nodes/11.Dfa5qI-E.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.Dfa5qI-E.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{12.DhYFOVoP.js → 12.pVeM3rSk.js} +1 -1
- package/build/client/_app/immutable/nodes/12.pVeM3rSk.js.br +0 -0
- package/build/client/_app/immutable/nodes/{12.DhYFOVoP.js.gz → 12.pVeM3rSk.js.gz} +0 -0
- package/build/client/_app/immutable/nodes/{13.B-vfxaQx.js → 13.DftunDAR.js} +1 -1
- package/build/client/_app/immutable/nodes/13.DftunDAR.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.DftunDAR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{14.Bd1B9WvF.js → 14.CoquYL6y.js} +1 -1
- package/build/client/_app/immutable/nodes/14.CoquYL6y.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.CoquYL6y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{15.oS-QEFZo.js → 15.DWSZSNt3.js} +1 -1
- package/build/client/_app/immutable/nodes/15.DWSZSNt3.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.DWSZSNt3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{16.DgiO8TOd.js → 16.Cd97GqaU.js} +1 -1
- package/build/client/_app/immutable/nodes/16.Cd97GqaU.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.Cd97GqaU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{17.5qy13_B4.js → 17.CeIjKAJx.js} +1 -1
- package/build/client/_app/immutable/nodes/17.CeIjKAJx.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.CeIjKAJx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{18.CA4e4G5Q.js → 18.D5iwjrHU.js} +1 -1
- package/build/client/_app/immutable/nodes/18.D5iwjrHU.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.D5iwjrHU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{19.e4b8xXj0.js → 19.C7weQjUV.js} +1 -1
- package/build/client/_app/immutable/nodes/19.C7weQjUV.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.C7weQjUV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.Bf1fGTeR.js → 2.1HiIWXTK.js} +12 -12
- package/build/client/_app/immutable/nodes/2.1HiIWXTK.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.1HiIWXTK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{20.DN5K9vD4.js → 20.CI3Th2_V.js} +1 -1
- package/build/client/_app/immutable/nodes/20.CI3Th2_V.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.CI3Th2_V.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{21.C643Epvv.js → 21.Ch2Fmhtx.js} +1 -1
- package/build/client/_app/immutable/nodes/21.Ch2Fmhtx.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.Ch2Fmhtx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{22.B_2zPEiy.js → 22.BeRzoSXH.js} +1 -1
- package/build/client/_app/immutable/nodes/22.BeRzoSXH.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.BeRzoSXH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{24.COBGvV9n.js → 24.BLuVZRkq.js} +1 -1
- package/build/client/_app/immutable/nodes/24.BLuVZRkq.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.BLuVZRkq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{26.DJr6tC_E.js → 26.CYAb3esZ.js} +1 -1
- package/build/client/_app/immutable/nodes/26.CYAb3esZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.CYAb3esZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{27.D9XQZDvO.js → 27.CcQodI5j.js} +1 -1
- package/build/client/_app/immutable/nodes/27.CcQodI5j.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.CcQodI5j.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{28.Ak-I9CMX.js → 28.B0JWWCYd.js} +1 -1
- package/build/client/_app/immutable/nodes/28.B0JWWCYd.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.B0JWWCYd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{29.CMBRS4HZ.js → 29.Dz-zF1qk.js} +1 -1
- package/build/client/_app/immutable/nodes/29.Dz-zF1qk.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.Dz-zF1qk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.B46fsCV_.js → 3.j0BjUyv6.js} +1 -1
- package/build/client/_app/immutable/nodes/3.j0BjUyv6.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.j0BjUyv6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{30.DWvHkTqn.js → 30.BEz9JoNL.js} +1 -1
- package/build/client/_app/immutable/nodes/30.BEz9JoNL.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.BEz9JoNL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{31.BPODDW08.js → 31.keG04jdU.js} +1 -1
- package/build/client/_app/immutable/nodes/31.keG04jdU.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.keG04jdU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{32.Cwe4Ng6s.js → 32.DvZix2vN.js} +1 -1
- package/build/client/_app/immutable/nodes/32.DvZix2vN.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.DvZix2vN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{33.DboRymFK.js → 33.CsEI_wli.js} +1 -1
- package/build/client/_app/immutable/nodes/33.CsEI_wli.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.CsEI_wli.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{34.CORslYSI.js → 34.C4Cn7mhz.js} +1 -1
- package/build/client/_app/immutable/nodes/34.C4Cn7mhz.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.C4Cn7mhz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{35.BmBrCN-g.js → 35.ByNF3cvk.js} +1 -1
- package/build/client/_app/immutable/nodes/35.ByNF3cvk.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.ByNF3cvk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{36.DsRWjCSa.js → 36.C0AqTZfD.js} +1 -1
- package/build/client/_app/immutable/nodes/36.C0AqTZfD.js.br +0 -0
- package/build/client/_app/immutable/nodes/36.C0AqTZfD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{37.-Qs0XcuC.js → 37.C983Oc7Q.js} +1 -1
- package/build/client/_app/immutable/nodes/37.C983Oc7Q.js.br +0 -0
- package/build/client/_app/immutable/nodes/37.C983Oc7Q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{38.BSCKABwI.js → 38.DZpVrKpZ.js} +1 -1
- package/build/client/_app/immutable/nodes/38.DZpVrKpZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/38.DZpVrKpZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.CI9I4ed-.js → 4.CrCa5tPK.js} +1 -1
- package/build/client/_app/immutable/nodes/4.CrCa5tPK.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CrCa5tPK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{40.DyhgbEK2.js → 40.DuKLsUmt.js} +1 -1
- package/build/client/_app/immutable/nodes/40.DuKLsUmt.js.br +0 -0
- package/build/client/_app/immutable/nodes/40.DuKLsUmt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{5.CHhQpmXm.js → 5.CB4i7ZNg.js} +1 -1
- package/build/client/_app/immutable/nodes/5.CB4i7ZNg.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.CB4i7ZNg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.BV94HuPe.js +3 -0
- package/build/client/_app/immutable/nodes/8.BV94HuPe.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.BV94HuPe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.yaUsGssm.js → 9.dDDTNF4u.js} +1 -1
- package/build/client/_app/immutable/nodes/9.dDDTNF4u.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.dDDTNF4u.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/{detail.js-BrB0UkaI.js → detail.js-AOyyGV6f.js} +8 -10
- package/build/server/chunks/chunks/{feedback.js-DSX1PUXP.js → feedback.js-Y_qeE4lk.js} +2 -2
- package/build/server/chunks/chunks/{internal.js-MfZofyr0.js → internal.js-YFFIkEGy.js} +3 -3
- package/build/server/chunks/chunks/{marketplace-service.js-B6gAYcuZ.js → marketplace-service.js-ByN9lMyn.js} +2 -2
- package/build/server/chunks/chunks/{package.js-4pIo8smV.js → package.js-CRRRb0vq.js} +2 -2
- package/build/server/chunks/chunks/{page.js-D2DE-6NV.js → page.js-5YKGK16Q.js} +2 -2
- package/build/server/chunks/chunks/{previewhelper2.js-DEFfeY1x.js → previewhelper2.js-C8YozFzs.js} +3 -3
- package/build/server/chunks/chunks/{runtime.js-CSA1gOSd.js → runtime.js-beTUQJvS.js} +494 -69
- package/build/server/chunks/chunks/{scribe.js-Bhgm7aZy.js → scribe.js-sGGKDf0Q.js} +3 -3
- package/build/server/chunks/chunks/{service.js-BzM58BD7.js → service.js-hNir0rQ0.js} +2 -2
- package/build/server/chunks/chunks/{service2.js-CjNLOWOe.js → service2.js-CCi6VqWr.js} +2 -2
- package/build/server/chunks/chunks/{service3.js-CgCeuMLG.js → service3.js-CYxcsw27.js} +2 -2
- package/build/server/chunks/chunks/{settings.js-Biwk3M0_.js → settings.js-B5e9I92Q.js} +2 -2
- package/build/server/chunks/chunks/{starter.js-8S1GJfCc.js → starter.js-yK7UTpae.js} +3 -3
- package/build/server/chunks/chunks/{view.js-BZcChHcc.js → view.js-C_sVwMxj.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/apps/_op_/{_server.ts.js-GyVuUHkg.js → _server.ts.js-DcDrpzQ0.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/cloud/{_server.ts.js-BBporNkc.js → _server.ts.js-PsKvo0EQ.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/cloud/previews/{_server.ts.js-CLAvkLT3.js → _server.ts.js-ChKr8jQB.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/crew/{_server.ts.js-DztuoCF3.js → _server.ts.js-BYOITfdX.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/crew/messages/{_server.ts.js-B_s3t4J-.js → _server.ts.js-Cuml2nA8.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/events/{_server.ts.js-TpgGKa9I.js → _server.ts.js-oUq7VB-c.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/files/{_server.ts.js-Cftwdzil.js → _server.ts.js-CFB---55.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/{_server.ts.js-Dpj1nCHm.js → _server.ts.js-38TWOJFC.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/{_server.ts.js-Da5F6sTW.js → _server.ts.js-Ds4yFTov.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/{_server.ts.js-Dmn95WRm.js → _server.ts.js-BrfpEAdf.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/{_server.ts.js-Cf87-Xs3.js → _server.ts.js-ClGkZJrE.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/{_server.ts.js-rkSDvZZM.js → _server.ts.js-BAi2jIUa.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/{_server.ts.js-DzPuEB0T.js → _server.ts.js-DU9fFldF.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/input/{_server.ts.js-izvB4uBU.js → _server.ts.js-rmxE3GDI.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/{_server.ts.js-Bsr1n3gW.js → _server.ts.js-Er7ICTMc.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/{_server.ts.js-B82sy8QF.js → _server.ts.js-CzhSZtJx.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/{_server.ts.js-4k0RLAj6.js → _server.ts.js-C62koQm8.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/{_server.ts.js-BmfRS22F.js → _server.ts.js-DmH3adF3.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/{_server.ts.js-Doqh3FD9.js → _server.ts.js-BTqcOxFr.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/firstmate/start/{_server.ts.js-DoMPaWSk.js → _server.ts.js-0H1slVlF.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/fleet/{_server.ts.js-Cuu6wc12.js → _server.ts.js-D9IhzsNZ.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-Dl0wGHIL.js → _server.ts.js-Dzm8TJik.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/inbox/{_server.ts.js-BxMNnSrL.js → _server.ts.js-Cj-QPW9H.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/inbox/following/{_server.ts.js-BhPO24DG.js → _server.ts.js-CQPAH9lf.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/inbox/report/{_server.ts.js-B_qpNDWM.js → _server.ts.js-ByfBJSzN.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/inbox/talk/{_server.ts.js-XVTDVcHV.js → _server.ts.js-DPhhSbn9.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/insights/{_server.ts.js-DqFYlKJs.js → _server.ts.js-Bg9HUq2z.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/live/_id_/end/{_server.ts.js-nWqO2LYp.js → _server.ts.js-DbDwbrB4.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/live/{_server.ts.js-DjmZf8qV.js → _server.ts.js-BCQlnrGe.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/live/scouts/{_server.ts.js-CvYa0tFL.js → _server.ts.js-C4IE5onc.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/live/settings/{_server.ts.js-nTY8J_ix.js → _server.ts.js-BEQa9lj6.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/{_server.ts.js-C-VE6_-n.js → _server.ts.js-2JFQWMGG.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/{_server.ts.js-BwLW4TfC.js → _server.ts.js-Bu0VmgeG.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/{_server.ts.js-DtiNODOI.js → _server.ts.js-DMVzgRXs.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/{_server.ts.js-Bl2FK6OM.js → _server.ts.js-BkQZamil.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/{_server.ts.js-BO1Gxnex.js → _server.ts.js-Dz9dAgEt.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/{_server.ts.js-CdYFdDSE.js → _server.ts.js-D6m-gaJm.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/{_server.ts.js-B63PT5xo.js → _server.ts.js-D2F2UeX3.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/{_server.ts.js-B_4X5skm.js → _server.ts.js-CMcKr8nq.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/{_server.ts.js-BLqWN6P-.js → _server.ts.js-CyX2kUrz.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/install/{_server.ts.js-C5AdZFHE.js → _server.ts.js-CAgJLmfJ.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/{_server.ts.js-gOW1miHe.js → _server.ts.js-C-YOUEeh.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/{_server.ts.js-B819rWFV.js → _server.ts.js-BuB_aUcs.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/{_server.ts.js-CyhbVeVM.js → _server.ts.js-uFBc9qAF.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/roles/{_server.ts.js-BedrXewk.js → _server.ts.js-BwP7m1ne.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/plugins/updates/{_server.ts.js-Bal3HS7-.js → _server.ts.js-BDXiQIdE.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/previews/check/{_server.ts.js-CC9fYE8T.js → _server.ts.js-BHTqJRTV.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/{_server.ts.js-UAQ6VD4Y.js → _server.ts.js-DaExrOG9.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/{_server.ts.js-DS_sj7E3.js → _server.ts.js-BBcgKi4i.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/{_server.ts.js-DYocPexz.js → _server.ts.js-BPgyW_wK.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/{_server.ts.js-DHlVWaLz.js → _server.ts.js-B3_OvzWw.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/{_server.ts.js-BW0k3RQV.js → _server.ts.js-C1qyVk-B.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/{_server.ts.js-i6vcjolT.js → _server.ts.js-CWjUpm9b.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/second-mate-setup/{_server.ts.js-O7oEc3c6.js → _server.ts.js-Y6iM0S6h.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/{_server.ts.js-B3ywJOQa.js → _server.ts.js-C2XK2RjP.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/{_server.ts.js-DU1gjPgg.js → _server.ts.js-DOBoBUsW.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/services/{_server.ts.js-CcCr1-1m.js → _server.ts.js-ClGwOp1I.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/setup/{_server.ts.js-DRpReO79.js → _server.ts.js-DrfL6cjv.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/slots/{_server.ts.js-8YxzzHOY.js → _server.ts.js-CcZPyGtL.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/soundings/{_server.ts.js-CJr29kSQ.js → _server.ts.js-DA8MpdlA.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/soundings/beacon/{_server.ts.js-DjNRcKvR.js → _server.ts.js-C9MStV42.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/soundings/settings/{_server.ts.js-CHuvhZXi.js → _server.ts.js-aiZABdT4.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/{_server.ts.js-CBEa0vpI.js → _server.ts.js-CFWnCNhR.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/{_server.ts.js-01RWnOK9.js → _server.ts.js-rUy8BKIx.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/{_server.ts.js-C3prpay7.js → _server.ts.js-B0sfWkfC.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/{_server.ts.js-C7jEYiQ4.js → _server.ts.js-BwKBxIbZ.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/{_server.ts.js-DJCmZU-X.js → _server.ts.js-VsLkyd6z.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/{_server.ts.js-DBwGhbNs.js → _server.ts.js-sPq94TYM.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/{_server.ts.js-BVvuQ9jF.js → _server.ts.js-dlImNVbc.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/{_server.ts.js-Bj6HhGQ5.js → _server.ts.js-Ajt27nH3.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/vault/{_server.ts.js-HLDB_nm5.js → _server.ts.js-C7_DGaT1.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/voice/{_server.ts.js-COkw_Z8F.js → _server.ts.js-BPzYZcVX.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/voice/hear/{_server.ts.js-DZKCMDL2.js → _server.ts.js-tje_tDmn.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/voice/speak/{_server.ts.js-Bivugwcb.js → _server.ts.js-CboOaWGF.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wh-events/{_server.ts.js-Op7g75aQ.js → _server.ts.js-ByGfzq0k.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/{_server.ts.js-BQ4xSd7C.js → _server.ts.js-CAarY5F9.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/{_server.ts.js-CfVdgj-s.js → _server.ts.js-CG8phUOI.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/{_server.ts.js-CYehJDKe.js → _server.ts.js-DVALJQwH.js} +2 -2
- package/build/server/chunks/entries/endpoints/tasks/_id_/live/{_server.ts.js-DJucy-1l.js → _server.ts.js-DJbuQ133.js} +5 -5
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/{_server.ts.js-CV7FQXS6.js → _server.ts.js-C2GHSxyQ.js} +3 -3
- package/build/server/chunks/entries/{hooks.server.js-D0ehnSJd.js → hooks.server.js-Glu4cfzQ.js} +5 -5
- package/build/server/chunks/entries/pages/{_layout.server.ts.js-2cytddk_.js → _layout.server.ts.js-C2Q75Dku.js} +3 -3
- package/build/server/chunks/entries/pages/{_page.server.ts.js-DOF_Ah2E.js → _page.server.ts.js-DdBa3OcX.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.svelte.js-_lqRKq5L.js → _page.svelte.js-mP8Czi7r.js} +3 -3
- package/build/server/chunks/entries/pages/decisions/{_page.server.ts.js-9tHgmunh.js → _page.server.ts.js-CHrBjN6U.js} +2 -2
- package/build/server/chunks/entries/pages/deck/{_page.server.ts.js-BzH-jp7S.js → _page.server.ts.js-DVXZwj-D.js} +2 -2
- package/build/server/chunks/entries/pages/files/{_page.server.ts.js-DXuQcPIW.js → _page.server.ts.js-DPw8W3cO.js} +2 -2
- package/build/server/chunks/entries/pages/harbour/{_page.svelte.js-DsRcX_45.js → _page.svelte.js-BRqipSGh.js} +170 -34
- package/build/server/chunks/entries/pages/headroom/{_page.server.ts.js-BsmJgoUo.js → _page.server.ts.js-BIxCYvRT.js} +2 -2
- package/build/server/chunks/entries/pages/health/{_page.server.ts.js-B_vk2cP9.js → _page.server.ts.js-BmvIfRNN.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.server.ts.js-CjDL6PVC.js → _page.server.ts.js-DYmxSK6o.js} +2 -2
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.server.ts.js-CxKpLKAM.js → _page.server.ts.js-BM100wYL.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/{_page.server.ts.js-BZs_w9b2.js → _page.server.ts.js-CsxshObH.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.server.ts.js-B96oRoTl.js → _page.server.ts.js-CdLIMcCE.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/passage/{_page.server.ts.js-CjItTz4B.js → _page.server.ts.js-UDHRJeTm.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/{_page.server.ts.js-JJ4hbpWK.js → _page.server.ts.js-CRrQcUKj.js} +2 -2
- package/build/server/chunks/entries/pages/remotes/{_page.server.ts.js-hDqIHoY7.js → _page.server.ts.js-Cb7pCLmf.js} +2 -2
- package/build/server/chunks/entries/pages/settings/chat/{_page.server.ts.js-DP5T1GAq.js → _page.server.ts.js-tOduOAOo.js} +2 -2
- package/build/server/chunks/entries/pages/settings/discussion/{_page.server.ts.js-D5UC5P8F.js → _page.server.ts.js-Dewu_3lC.js} +2 -2
- package/build/server/chunks/entries/pages/settings/events/{_page.server.ts.js-D4DcjlCl.js → _page.server.ts.js-Bosk4MgV.js} +2 -2
- package/build/server/chunks/entries/pages/settings/firstmate/{_page.server.ts.js-CUQ6Gem_.js → _page.server.ts.js-Dm16bW7a.js} +2 -2
- package/build/server/chunks/entries/pages/settings/gateway/{_page.server.ts.js-D05BzKbn.js → _page.server.ts.js-DKBRV1Kv.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/{_page.server.ts.js-C2ToGRtI.js → _page.server.ts.js-BuXRLXt-.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/{_page.server.ts.js-D-JYNevo.js → _page.server.ts.js-aYwltwyo.js} +2 -2
- package/build/server/chunks/entries/pages/settings/setup/{_page.server.ts.js-DrzKfWat.js → _page.server.ts.js-CBnW3vAL.js} +2 -2
- package/build/server/chunks/entries/pages/settings/update/{_page.server.ts.js-79kZF-NB.js → _page.server.ts.js-mmHvowRY.js} +2 -2
- package/build/server/chunks/entries/pages/settings/voice/{_page.server.ts.js-BWkdTOrW.js → _page.server.ts.js-BtcArcMy.js} +3 -3
- package/build/server/chunks/entries/pages/setup/{_page.server.ts.js-CCJC2dcu.js → _page.server.ts.js-CWVSledS.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.server.ts.js-JCWJl67i.js → _page.server.ts.js-J4OLpWmN.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/doc/{_page.server.ts.js-D0LndSQy.js → _page.server.ts.js-D9dQvbNO.js} +2 -2
- package/build/server/chunks/entries/pages/time/{_page.server.ts.js-BlEDpmhL.js → _page.server.ts.js-DD-uGmhK.js} +2 -2
- package/build/server/chunks/{handler-DytYaiGI.js → handler-Rlgr3qgp.js} +3 -3
- package/build/server/chunks/{index.js-Jh_pPZbK.js → index.js-Cq8PeAYv.js} +2 -2
- package/build/server/chunks/{manifest.js-Cn1M53MQ.js → manifest.js-D2nXE20x.js} +120 -120
- package/build/server/chunks/nodes/{0.js-DNqsRRHY.js → 0.js-D-AyokcK.js} +7 -7
- package/build/server/chunks/nodes/{1.js-CPxe0KZ3.js → 1.js-CEP8Wkc6.js} +2 -2
- package/build/server/chunks/nodes/{10.js-d3vN624D.js → 10.js-DQ05XfkH.js} +5 -5
- package/build/server/chunks/nodes/{11.js-BtsUx6ke.js → 11.js-CUI7nHXF.js} +5 -5
- package/build/server/chunks/nodes/{12.js-DxL39Qjj.js → 12.js-D4Qq5-L5.js} +2 -2
- package/build/server/chunks/nodes/{13.js-C7VhBhnH.js → 13.js-B5b0noB_.js} +2 -2
- package/build/server/chunks/nodes/{14.js-ZFebNYw5.js → 14.js-Dz8rjKdf.js} +2 -2
- package/build/server/chunks/nodes/{15.js-mNjztx2T.js → 15.js-CqjaR54q.js} +5 -5
- package/build/server/chunks/nodes/{16.js-BTLgtaFt.js → 16.js-CSFtMqSs.js} +5 -5
- package/build/server/chunks/nodes/{17.js-CEDuEbx7.js → 17.js-DIXFVzud.js} +5 -5
- package/build/server/chunks/nodes/{18.js-96SVz1gH.js → 18.js-D0OLmYtB.js} +6 -6
- package/build/server/chunks/nodes/{19.js-Omjmy9AZ.js → 19.js-CjK_nc0R.js} +6 -6
- package/build/server/chunks/nodes/{2.js-Db2B1FYj.js → 2.js-C5aTOTCK.js} +6 -6
- package/build/server/chunks/nodes/{20.js-EyCWuHPf.js → 20.js-F_X6MGKx.js} +7 -7
- package/build/server/chunks/nodes/{21.js-CTkHtkoc.js → 21.js-CLD608m1.js} +2 -2
- package/build/server/chunks/nodes/{22.js-CYAXW5aK.js → 22.js-DJDOD8dQ.js} +2 -2
- package/build/server/chunks/nodes/{24.js-HGkHnKVG.js → 24.js-1ccZSvaM.js} +5 -5
- package/build/server/chunks/nodes/{26.js-DZf54c-0.js → 26.js-P2RkHNN_.js} +5 -5
- package/build/server/chunks/nodes/{27.js-DwkxV1x4.js → 27.js-CHcCaT46.js} +5 -5
- package/build/server/chunks/nodes/{28.js-DuXcmNIU.js → 28.js-mNdmkKwl.js} +2 -2
- package/build/server/chunks/nodes/{29.js-CYHEfauI.js → 29.js-Cds-0H9b.js} +5 -5
- package/build/server/chunks/nodes/{3.js-BAdhthz5.js → 3.js-Dm0t0ruE.js} +2 -2
- package/build/server/chunks/nodes/{30.js-B8V8CgQ-.js → 30.js-CbuDQapx.js} +7 -7
- package/build/server/chunks/nodes/{31.js-CjeByTQG.js → 31.js-DoqM4d_j.js} +2 -2
- package/build/server/chunks/nodes/{32.js-Jsr5lOrC.js → 32.js-uWw9LwYe.js} +5 -5
- package/build/server/chunks/nodes/{33.js-DVzVyRZ8.js → 33.js-Bi8tKoQ6.js} +5 -5
- package/build/server/chunks/nodes/{34.js-oqztczhy.js → 34.js-CPjjhmOm.js} +6 -6
- package/build/server/chunks/nodes/{35.js-SAYpUfiI.js → 35.js-CBKkzHgr.js} +4 -4
- package/build/server/chunks/nodes/{36.js-BdjfjrY6.js → 36.js-CTvFiRyW.js} +6 -6
- package/build/server/chunks/nodes/{37.js-DJFffCB0.js → 37.js-1vY9OMcr.js} +6 -6
- package/build/server/chunks/nodes/{38.js-B2zxZsxe.js → 38.js-DhcBz8pw.js} +6 -6
- package/build/server/chunks/nodes/{39.js-BvypnsKw.js → 39.js-5F3z7S6Q.js} +5 -5
- package/build/server/chunks/nodes/{4.js-BPwKXJOs.js → 4.js-KHEhlqP6.js} +5 -5
- package/build/server/chunks/nodes/{40.js-Bs2yBOvW.js → 40.js-DcvGK4bV.js} +5 -5
- package/build/server/chunks/nodes/{5.js-CbXHUtl3.js → 5.js-_ddQMODI.js} +5 -5
- package/build/server/chunks/nodes/{7.js-CEoI55pt.js → 7.js-CmYiMFTa.js} +4 -4
- package/build/server/chunks/nodes/{8.js-imgk-qU4.js → 8.js-LyEm37G-.js} +3 -3
- package/build/server/chunks/nodes/{9.js-lm6Gq6_5.js → 9.js-47Ps2sky.js} +5 -5
- package/dist/cli.js +1 -1
- package/dist/wh-vault.js +1 -1
- package/firstmate-extension/firstmate-extension.json +1 -1
- package/package.json +1 -1
- package/skills/manage-wheelhouse/references/operations.md +1 -1
- package/build/client/_app/immutable/assets/0.BvEx4fYi.css +0 -1
- package/build/client/_app/immutable/assets/0.BvEx4fYi.css.br +0 -0
- package/build/client/_app/immutable/assets/0.BvEx4fYi.css.gz +0 -0
- package/build/client/_app/immutable/chunks/06NYrole.js.br +0 -0
- package/build/client/_app/immutable/chunks/06NYrole.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1Ason0h.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1Ason0h.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B42HCa1Z.js.br +0 -0
- package/build/client/_app/immutable/chunks/B42HCa1Z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BIDYlDeR.js.br +0 -0
- package/build/client/_app/immutable/chunks/BIDYlDeR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BPodyZX-.js.br +0 -0
- package/build/client/_app/immutable/chunks/BPodyZX-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B_9oGok_.js.br +0 -0
- package/build/client/_app/immutable/chunks/B_9oGok_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BewcaM3i.js.br +0 -0
- package/build/client/_app/immutable/chunks/BewcaM3i.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bk_vkVPR.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bk_vkVPR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C0XRIeH0.js.br +0 -0
- package/build/client/_app/immutable/chunks/C0XRIeH0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCNfPCjE.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJ_zP9aP.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJ_zP9aP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CjEWkwrc.js.br +0 -0
- package/build/client/_app/immutable/chunks/CjEWkwrc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CvnA42KE.js.br +0 -0
- package/build/client/_app/immutable/chunks/CvnA42KE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cz6s8vAU.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cz6s8vAU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D3vMdNpQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/D3vMdNpQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DKlxq08T.js.br +0 -0
- package/build/client/_app/immutable/chunks/DKlxq08T.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DKmmKKWI.js.br +0 -0
- package/build/client/_app/immutable/chunks/DKmmKKWI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D_t5aTvb.js.br +0 -0
- package/build/client/_app/immutable/chunks/D_t5aTvb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DdD2DUSn.js.br +0 -3
- package/build/client/_app/immutable/chunks/DdD2DUSn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DkYzvlzG.js.br +0 -0
- package/build/client/_app/immutable/chunks/DkYzvlzG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DwbTjpdU.js.br +0 -0
- package/build/client/_app/immutable/chunks/DwbTjpdU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/EiS0rhjr.js.br +0 -0
- package/build/client/_app/immutable/chunks/EiS0rhjr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HxCbb4z3.js.br +0 -0
- package/build/client/_app/immutable/chunks/HxCbb4z3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/S3dTIgXO.js.br +0 -0
- package/build/client/_app/immutable/chunks/S3dTIgXO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/nb8rTQbZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/nb8rTQbZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/tVK81Wo7.js.br +0 -0
- package/build/client/_app/immutable/chunks/tVK81Wo7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/yG62-yMx.js +0 -1
- package/build/client/_app/immutable/chunks/yG62-yMx.js.br +0 -0
- package/build/client/_app/immutable/chunks/yG62-yMx.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.BYCz6Sud.js.br +0 -0
- package/build/client/_app/immutable/entry/app.BYCz6Sud.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BhFFxrCg.js +0 -1
- package/build/client/_app/immutable/entry/start.BhFFxrCg.js.br +0 -0
- package/build/client/_app/immutable/entry/start.BhFFxrCg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.B-iFwXkB.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.B-iFwXkB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BmQ5L6gl.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BmQ5L6gl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.xV6yNabZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.xV6yNabZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.GVCOI3ma.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.GVCOI3ma.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.DhYFOVoP.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.B-vfxaQx.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.B-vfxaQx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.Bd1B9WvF.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.Bd1B9WvF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.oS-QEFZo.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.oS-QEFZo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.DgiO8TOd.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.DgiO8TOd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.5qy13_B4.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.5qy13_B4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.CA4e4G5Q.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.CA4e4G5Q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.e4b8xXj0.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.e4b8xXj0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.Bf1fGTeR.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.Bf1fGTeR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.DN5K9vD4.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.DN5K9vD4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.C643Epvv.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.C643Epvv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.B_2zPEiy.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.B_2zPEiy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.COBGvV9n.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.COBGvV9n.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.DJr6tC_E.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.DJr6tC_E.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.D9XQZDvO.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.D9XQZDvO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.Ak-I9CMX.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.Ak-I9CMX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.CMBRS4HZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.CMBRS4HZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.B46fsCV_.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.B46fsCV_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.DWvHkTqn.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.DWvHkTqn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.BPODDW08.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.BPODDW08.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.Cwe4Ng6s.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.Cwe4Ng6s.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.DboRymFK.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.DboRymFK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.CORslYSI.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.CORslYSI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.BmBrCN-g.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.BmBrCN-g.js.gz +0 -0
- package/build/client/_app/immutable/nodes/36.DsRWjCSa.js.br +0 -0
- package/build/client/_app/immutable/nodes/36.DsRWjCSa.js.gz +0 -0
- package/build/client/_app/immutable/nodes/37.-Qs0XcuC.js.br +0 -0
- package/build/client/_app/immutable/nodes/37.-Qs0XcuC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/38.BSCKABwI.js.br +0 -1
- package/build/client/_app/immutable/nodes/38.BSCKABwI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.CI9I4ed-.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CI9I4ed-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/40.DyhgbEK2.js.br +0 -0
- package/build/client/_app/immutable/nodes/40.DyhgbEK2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.CHhQpmXm.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.CHhQpmXm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.B6d3XJVy.js +0 -3
- package/build/client/_app/immutable/nodes/8.B6d3XJVy.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.B6d3XJVy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.yaUsGssm.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.yaUsGssm.js.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{o as Ot}from"../chunks/B42VotjV.js";import{p as Se,m as I,y as Y,f as w,g as t,a as i,b as $e,h,i as be,j as Lt,u as ct,k as xa,e as b,r as v,c as f,q as st,t as F,aC as _a,bJ as ya,ag as $t,s as c,o as W,l as ds,n as We,A as ft,aD as wa,$ as ka}from"../chunks/CEfkcOME.js";import{i as D}from"../chunks/D4ikcNuh.js";import{s as Ue}from"../chunks/s1S1BAXN.js";import{c as ee}from"../chunks/CGbw525c.js";import{h as Ca}from"../chunks/C9FkVhl-.js";import{j as nt,s as de,r as An,e as ut,d as Pe,c as Ta,h as Gr,k as Jt}from"../chunks/BMjXQSgN.js";import{g as Wt,a as Pa,o as Sa,i as $a}from"../chunks/BewcaM3i.js";import{p as Ee}from"../chunks/DdD2DUSn.js";import{l as Ge,b as cs,c as cr,a as us}from"../chunks/DKlxq08T.js";import{i as Yt,t as On}from"../chunks/Z_T9JZ0p.js";import{z as Ma}from"../chunks/DTpgmq3M.js";import{P as Ia,a as Fr,r as Aa}from"../chunks/D3vMdNpQ.js";import{s as En,a as zr,n as Oa}from"../chunks/B_vxNA4w.js";import{m as Ea}from"../chunks/Dbp9eKZl.js";import{d as Da,r as Na}from"../chunks/yG62-yMx.js";import{S as Fa,r as za,t as La,a as Wa}from"../chunks/CjEWkwrc.js";import{S as ja}from"../chunks/BXN538J3.js";import{l as Ka,o as ir,d as ur,a as pt,s as A,e as kr}from"../chunks/CPPNfCxh.js";import{b as er}from"../chunks/DKCbih8n.js";import{s as Ae,r as Oe,p as $}from"../chunks/D42BPZCD.js";import{P as Ba}from"../chunks/Cz6s8vAU.js";import{n as Ha}from"../chunks/BUYzAikv.js";import{G as Ua,H as hs,I as ps,J as fs,K as Cr,L as Ra,M as qa,m as ar,O as Ga,Q as Va,j as vs,P as gs,h as ms,S as Ya,l as Xa,v as Ja,n as Lr,R as Za}from"../chunks/tVK81Wo7.js";import{a as Xt,r as Dn,p as Vr}from"../chunks/-Ivlm0RJ.js";import{c as Qa}from"../chunks/CCNfPCjE.js";import{b as eo}from"../chunks/B6yYMcjx.js";import{S as to}from"../chunks/C3dZ1eoF.js";import{C as Zt}from"../chunks/BftdAJED.js";import{P as ro}from"../chunks/CSPx7z8H.js";import{I as wt,t as Yr,a as no}from"../chunks/DBuj1e9B.js";import{p as so}from"../chunks/BLcrDXJf.js";import{c as Bt}from"../chunks/CrOCeWF7.js";import{L as ao,M as oo,j as io,b as J,N as lo,O as co,Q as uo,R as ho,U as Tr,V as Zr,W as Qr,X as dr,Y as bs,Z as tr,_ as xs,K as vt,u as _s,m as ot,$ as po,a0 as fo,z as ys,A as en,r as Sr,a1 as vo,a2 as go,H as tn,a3 as mo,a4 as bo,a5 as xo,C as Ht,v as ws,w as xt,k as Ut,B as ks,a6 as $r,G as Cs,x as Ts,t as jt,a7 as zt,a8 as _o,a9 as yo,I as Ps,aa as wo,J as Ss,ab as $s,c as Et,s as Ms,ac as ko,P as hr,h as Co,f as To,e as Po,a as Nn,g as Fn}from"../chunks/DRPGxn7H.js";import{B as bt}from"../chunks/D4Okmn3b.js";import{a as Kt,p as So,c as $o,g as Mo,h as Io,b as Ao,e as Oo,n as Eo,d as Do}from"../chunks/WRwU91GU.js";import{a as No,h as Fo,i as zo,b as Lo}from"../chunks/EiS0rhjr.js";import{M as Wo}from"../chunks/BNnZxuye.js";import{A as Is,r as Pt,b as zn,s as jo,c as Ko,f as Ln}from"../chunks/CuYc7d4s.js";import{t as As,b as Os,d as Bo}from"../chunks/DrX7Uhja.js";import{B as Ho}from"../chunks/oz1KZkRS.js";import{B as Uo}from"../chunks/C9vOtGP4.js";import{w as mt}from"../chunks/pKdinMXX.js";import{L as xr}from"../chunks/BMEfZRmb.js";import{T as Wn}from"../chunks/CiB1IASV.js";import{R as Ro}from"../chunks/BUmmYEUU.js";import{C as jn}from"../chunks/q8XKXA7h.js";import{E as rn}from"../chunks/BexGUSY7.js";import{A as Es}from"../chunks/BTPd4OWk.js";import{A as qo}from"../chunks/lJr_B3U6.js";import{G as Ds,S as Kn}from"../chunks/BUDmXDBn.js";import{C as Ns}from"../chunks/CuD4TGYr.js";import{k as Fs}from"../chunks/D5xbT1cY.js";import{B as Go}from"../chunks/FbsbMm-u.js";import{a as Vo,M as Yo}from"../chunks/fNoseNKL.js";import{S as Xo}from"../chunks/C1_mhCjD.js";import{U as Jo,T as Zo}from"../chunks/CJ_zP9aP.js";import{P as Qo}from"../chunks/DsdpKvSM.js";import{P as ei}from"../chunks/B0iegdDx.js";import"../chunks/Bk_vkVPR.js";import{a as Bn}from"../chunks/B-JNrTge.js";import{f as ti}from"../chunks/B42HCa1Z.js";import{X as Xr}from"../chunks/C6E-ekUK.js";import{s as It}from"../chunks/DlBoDmKe.js";import{p as Hn,A as Wr,s as ri,P as ni,k as si,c as ai,L as oi}from"../chunks/DwbTjpdU.js";import{p as ii,C as li}from"../chunks/S3dTIgXO.js";import{e as di}from"../chunks/BJ2W5Dwa.js";import{l as ci}from"../chunks/HxCbb4z3.js";import{T as ui,a as hi,p as pi}from"../chunks/C0XRIeH0.js";import{C as fi}from"../chunks/BPodyZX-.js";import{C as vi}from"../chunks/LJz6leLj.js";import{L as jr}from"../chunks/DnSfLnEu.js";import{W as gi,S as mi}from"../chunks/06NYrole.js";import{M as bi}from"../chunks/DgIRKToT.js";import{A as xi}from"../chunks/aXaOr426.js";import{D as _i}from"../chunks/DBAsB2Vf.js";import{G as yi}from"../chunks/CuBB2sQo.js";import{C as wi}from"../chunks/B_K7bQIx.js";import{C as ki}from"../chunks/uFR0qOc6.js";import{C as Ci}from"../chunks/DjjMMxuF.js";function Ti(o,e){const r=l=>{try{const u=new URL(String(l),location.href);return u.pathname+u.search}catch{return String(l)}},n=l=>{try{return JSON.stringify(l)}catch{return String(l)}};addEventListener("error",l=>{const u=l.target;if(u&&u!==window&&u.tagName)o("resource",`Could not load ${u.tagName.toLowerCase()} ${u.src||u.href||""}`);else{const a=l;o("exception",a.message,{source:a.filename?`${a.filename.split("/").pop()}:${a.lineno}`:null})}},!0),addEventListener("unhandledrejection",l=>o("exception",`Unhandled: ${l.reason&&l.reason.message?l.reason.message:l.reason}`));const s=console.error;console.error=function(...l){return o("console",l.map(u=>u instanceof Error?u.message:typeof u=="object"?n(u):String(u)).join(" ")),s.apply(this,l)};const d=window.fetch;d&&(window.fetch=async function(l,u){const a=l,g=typeof l=="string"?l:l instanceof URL?l.href:a?.url,T=u&&u.method||a&&a.method||"GET";if(e&&g&&e(String(g)))return d.call(this,l,u);try{const m=await d.call(this,l,u);return m.status>=400&&o("network",`${T} ${r(g)} → ${m.status}`),m}catch(m){throw m&&m.name==="AbortError"||o("network",`${T} ${r(g)} failed (${m&&m.message})`),m}})}const Un="/api/soundings/beacon",Pi=3e4,Si=25,$i=200,Rn=6e4,Mi=1e4,Ii=/^(loading|reading|checking|looking|fetching|opening|connecting)/i;let qn=!1;function Ai(o){if(qn||typeof window>"u")return()=>{};qn=!0;const e=window.fetch.bind(window),r=new Map,n=(p,y,x=!1)=>{const P=location.pathname,E=`${p}|${P}|${x?"":y}`,te=r.get(E);te?(te.count++,x&&(te.message=y)):r.size<Si&&r.set(E,{kind:p,message:y,page:P,count:1})};Ti((p,y,x)=>n(p,`${String(y)}${x?.source?` (${x.source})`:""}`.slice(0,300)),p=>p.includes(Un));let s=0,d=null;try{d=new PerformanceObserver(p=>{for(const y of p.getEntries())y.duration<$i||(s=Math.max(s,y.duration),n("longtask",`The page froze for up to ${Math.round(s)} ms at a time`,!0))}),d.observe({type:"longtask",buffered:!1})}catch{}const l=new WeakMap,u=new WeakSet,a=()=>{const p=Date.now(),y=[...document.querySelectorAll('[aria-busy="true"]'),...[...document.querySelectorAll(".animate-spin")].filter(x=>Ii.test((x.parentElement?.textContent??"").trim()))];for(const x of y){if(!x.offsetParent||u.has(x))continue;const P=l.get(x)??p;if(l.set(x,P),p-P<Rn)continue;u.add(x);const E=(x.getAttribute("aria-label")||x.parentElement?.textContent||"").replace(/\s+/g," ").trim().slice(0,80);n("stuck",`Still loading after ${Math.round(Rn/1e3)} s${E?`: “${E}”`:""}`)}},g=(p=!1)=>{if(!r.size)return;const y=o();if(!y)return;const x=[...r.values()];r.clear(),s=0,e(Un,{method:"POST",headers:{"content-type":"application/json",[ja]:y},body:JSON.stringify({signals:x}),keepalive:p}).catch(()=>{})},T=setInterval(()=>g(),Pi),m=setInterval(a,Mi),_=()=>g(!0);return addEventListener("pagehide",_),()=>{clearInterval(T),clearInterval(m),d?.disconnect(),removeEventListener("pagehide",_)}}var Oi=new Set(["$$slots","$$events","$$legacy"]);function Gn(o,e){let r=Oe(e,Oi);const n={name:"bell-ring",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Ei=new Set(["$$slots","$$events","$$legacy"]);function Di(o,e){let r=Oe(e,Ei);const n={name:"blocks",size:24,node:[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Ni=new Set(["$$slots","$$events","$$legacy"]);function Fi(o,e){let r=Oe(e,Ni);const n={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1"}],["circle",{cx:"19",cy:"12",r:"1"}],["circle",{cx:"5",cy:"12",r:"1"}]],aliases:["more-horizontal"]};wt(o,Ae(()=>r,{get icon(){return n}}))}var zi=new Set(["$$slots","$$events","$$legacy"]);function Li(o,e){let r=Oe(e,zi);const n={name:"inbox",size:24,node:[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Wi=new Set(["$$slots","$$events","$$legacy"]);function ji(o,e){let r=Oe(e,Wi);const n={name:"message-circle",size:24,node:[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Ki=new Set(["$$slots","$$events","$$legacy"]);function Bi(o,e){let r=Oe(e,Ki);const n={name:"moon",size:24,node:[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Hi=new Set(["$$slots","$$events","$$legacy"]);function Ui(o,e){let r=Oe(e,Hi);const n={name:"panel-left-close",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M9 3v18"}],["path",{d:"m16 15-3-3 3-3"}]],aliases:["sidebar-close"]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Ri=new Set(["$$slots","$$events","$$legacy"]);function qi(o,e){let r=Oe(e,Ri);const n={name:"panel-left-open",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M9 3v18"}],["path",{d:"m14 9 3 3-3 3"}]],aliases:["sidebar-open"]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Gi=new Set(["$$slots","$$events","$$legacy"]);function Vi(o,e){let r=Oe(e,Gi);const n={name:"pin",size:24,node:[["path",{d:"M12 17v5"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Yi=new Set(["$$slots","$$events","$$legacy"]);function Xi(o,e){let r=Oe(e,Yi);const n={name:"radio-tower",size:24,node:[["path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9"}],["path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5"}],["circle",{cx:"12",cy:"9",r:"2"}],["path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47"}],["path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1"}],["path",{d:"M9.5 18h5"}],["path",{d:"m8 22 4-11 4 11"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Ji=new Set(["$$slots","$$events","$$legacy"]);function Zi(o,e){let r=Oe(e,Ji);const n={name:"sun",size:24,node:[["circle",{cx:"12",cy:"12",r:"4"}],["path",{d:"M12 2v2"}],["path",{d:"M12 20v2"}],["path",{d:"m4.93 4.93 1.41 1.41"}],["path",{d:"m17.66 17.66 1.41 1.41"}],["path",{d:"M2 12h2"}],["path",{d:"M20 12h2"}],["path",{d:"m6.34 17.66-1.41 1.41"}],["path",{d:"m19.07 4.93-1.41 1.41"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}function Qi(o,e){Se(e,!0);const r=h(()=>"component"in e.entry.render?Ba[e.entry.render.component]:void 0);let n=be(!1);Ot(()=>{I(n,!0)});var s=Y(),d=w(s);{var l=a=>{Ia(a,{get entry(){return e.entry},get data(){return e.entry.content.value},quiet:!0})},u=a=>{var g=Y(),T=w(g);Ka(T,{failed:_=>{}},_=>{var p=Y(),y=w(p);ee(y,()=>t(r),(x,P)=>{P(x,{get data(){return e.entry.content.value},get entry(){return e.entry}})}),i(_,p)}),i(a,g)};D(d,a=>{t(n)&&"element"in e.entry.render&&e.entry.content.available?a(l):t(n)&&t(r)&&e.entry.content.available&&a(u,1)})}i(o,s),$e()}function Rt(o){let e=be(Lt(o));return{[oo]:!0,[ao]:!0,get current(){return t(e)},set current(r){I(e,r,!0)}}}Rt.from=io;Rt.with=J;Rt.flatten=lo;Rt.readonly=co;Rt.isBox=uo;Rt.isWritableBox=ho;function nn(o){ct(()=>xa(()=>o()))}function el(o){return window.getComputedStyle(o).getPropertyValue("direction")}function tl(o="ltr",e="horizontal"){return{horizontal:o==="rtl"?Qr:Zr,vertical:dr}[e]}function rl(o="ltr",e="horizontal"){return{horizontal:o==="rtl"?Zr:Qr,vertical:Tr}[e]}function nl(o="ltr",e="horizontal"){return["ltr","rtl"].includes(o)||(o="ltr"),["horizontal","vertical"].includes(e)||(e="horizontal"),{nextKey:tl(o,e),prevKey:rl(o,e)}}class sl{#e;#t=Rt(null);constructor(e){this.#e=e}getCandidateNodes(){return this.#e.rootNode.current?this.#e.candidateSelector?Array.from(this.#e.rootNode.current.querySelectorAll(this.#e.candidateSelector)):this.#e.candidateAttr?Array.from(this.#e.rootNode.current.querySelectorAll(`[${this.#e.candidateAttr}]:not([data-disabled])`)):[]:[]}focusFirstCandidate(){const e=this.getCandidateNodes();e.length&&e[0]?.focus()}handleKeydown(e,r,n=!1){const s=this.#e.rootNode.current;if(!s||!e)return;const d=this.getCandidateNodes();if(!d.length)return;const l=d.indexOf(e),u=el(s),{nextKey:a,prevKey:g}=nl(u,this.#e.orientation.current),T=this.#e.loop.current,m={[a]:l+1,[g]:l-1,[xs]:0,[bs]:d.length-1};if(n){const y=a===dr?Zr:dr,x=g===Tr?Qr:Tr;m[y]=l+1,m[x]=l-1}let _=m[r.key];if(_===void 0)return;r.preventDefault(),_<0&&T?_=d.length-1:_===d.length&&T&&(_=0);const p=d[_];if(p)return p.focus(),this.#t.current=p.id,this.#e.onCandidateFocus?.(p),p}getTabIndex(e){const r=this.getCandidateNodes(),n=this.#t.current!==null;return e&&!n&&r[0]===e?(this.#t.current=e.id,0):e?.id===this.#t.current?0:-1}setCurrentTabStopId(e){this.#t.current=e}focusCurrentTabStop(){const e=this.#t.current;if(!e)return;const r=this.#e.rootNode.current?.querySelector(`#${e}`);!r||!tr(r)||r.focus()}}class al{eventName;options;constructor(e,r={bubbles:!0,cancelable:!0}){this.eventName=e,this.options=r}createEvent(e){return new CustomEvent(this.eventName,{...this.options,detail:e})}dispatch(e,r){const n=this.createEvent(r);return e.dispatchEvent(n),n}listen(e,r,n){const s=d=>{r(d)};return ir(e,this.eventName,s,n)}}function zs(o,e,r){const n=e.toLowerCase();if(n.endsWith(" ")){const m=n.slice(0,-1);if(o.filter(x=>x.toLowerCase().startsWith(m)).length<=1)return zs(o,m,r);const p=r?.toLowerCase();if(p&&p.startsWith(m)&&p.charAt(m.length)===" "&&e.trim()===m)return r;const y=o.filter(x=>x.toLowerCase().startsWith(n));if(y.length>0){const x=r?o.indexOf(r):-1;return Vn(y,Math.max(x,0)).find(te=>te!==r)||r}}const d=e.length>1&&Array.from(e).every(m=>m===e[0])?e[0]:e,l=d.toLowerCase(),u=r?o.indexOf(r):-1;let a=Vn(o,Math.max(u,0));d.length===1&&(a=a.filter(m=>m!==r));const T=a.find(m=>m?.toLowerCase().startsWith(l));return T!==r?T:void 0}function Vn(o,e){return o.map((r,n)=>o[(e+n)%o.length])}const ol={afterMs:1e4,onChange:vt};function il(o,e){const{afterMs:r,onChange:n,getWindow:s}={...ol,...e};let d=null,l=be(Lt(o));function u(){return s().setTimeout(()=>{I(l,o,!0),n?.(o)},r)}return ct(()=>()=>{d&&s().clearTimeout(d)}),J(()=>t(l),a=>{I(l,a,!0),n?.(a),d&&s().clearTimeout(d),d=u()})}class ll{#e;#t;#r=h(()=>this.#e.onMatch?this.#e.onMatch:e=>e.focus());#n=h(()=>this.#e.getCurrentItem?this.#e.getCurrentItem:this.#e.getActiveElement);constructor(e){this.#e=e,this.#t=il("",{afterMs:1e3,getWindow:e.getWindow}),this.handleTypeaheadSearch=this.handleTypeaheadSearch.bind(this),this.resetTypeahead=this.resetTypeahead.bind(this)}handleTypeaheadSearch(e,r){if(!r.length)return;this.#t.current=this.#t.current+e;const n=t(this.#n)(),s=r.find(a=>a===n)?.textContent?.trim()??"",d=r.map(a=>a.textContent?.trim()??""),l=zs(d,this.#t.current,s),u=r.find(a=>a.textContent?.trim()===l);return u&&t(this.#r)(u),u}resetTypeahead(){this.#t.current=""}get search(){return this.#t.current}}var dl=new Set(["$$slots","$$events","$$legacy","id","children","child","width","height"]),cl=_a('<svg viewBox="0 0 30 10" preserveAspectRatio="none" data-arrow=""><polygon points="0,0 30,0 15,10" fill="currentColor"></polygon></svg>'),ul=f("<span><!></span>");function hl(o,e){Se(e,!0);let r=$(e,"id",19,_s),n=$(e,"width",3,10),s=$(e,"height",3,5),d=Oe(e,dl);const l=h(()=>ot(d,{id:r()}));var u=Y(),a=w(u);{var g=m=>{var _=Y(),p=w(_);Ue(p,()=>e.child,()=>({props:t(l)})),i(m,_)},T=m=>{var _=ul();nt(_,()=>({...t(l)}));var p=b(_);{var y=P=>{var E=Y(),te=w(E);Ue(te,()=>e.children??st),i(P,E)},x=P=>{var E=cl();F(()=>{de(E,"width",n()),de(E,"height",s())}),i(P,E)};D(p,P=>{e.children?P(y):P(x,-1)})}v(_),i(m,_)};D(a,m=>{e.child?m(g):m(T,-1)})}i(o,u),$e()}var pl=new Set(["$$slots","$$events","$$legacy","id","ref"]);function fl(o,e){Se(e,!0);let r=$(e,"id",19,_s),n=$(e,"ref",15,null),s=Oe(e,pl);const d=Ua.create({id:J(()=>r()),ref:J(()=>n(),u=>n(u))}),l=h(()=>ot(s,d.props));hl(o,Ae(()=>t(l))),$e()}const vl=[ys,en],gl=[dr,po,xs],Ls=[Tr,fo,bs],ml=[...gl,...Ls];function bl(o){return o==="indeterminate"}function xl(o){return bl(o)?"indeterminate":o?"checked":"unchecked"}function St(o){return o.pointerType==="mouse"}function _l(o,{select:e=!1}={}){if(!o||!o.focus)return;const r=Sr(o);if(r.activeElement===o)return;const n=r.activeElement;o.focus({preventScroll:!0}),o!==n&&vo(o)&&e&&o.select()}function yl(o,{select:e=!1}={},r){const n=r();for(const s of o)if(_l(s,{select:e}),r()!==n)return!0}let qt=be(!1);class At{static _refs=0;static _cleanup;constructor(){ct(()=>(At._refs===0&&(At._cleanup=ya(()=>{const e=[],r=s=>{I(qt,!1)},n=s=>{I(qt,!0)};return e.push(ir(document,"pointerdown",r,{capture:!0}),ir(document,"keydown",n,{capture:!0})),ct(()=>{if(t(qt))return ir(document,"pointermove",r,{capture:!0})}),go(...e)})),At._refs++,()=>{At._refs--,At._refs===0&&(I(qt,!1),At._cleanup?.())}))}get current(){return t(qt)}set current(e){I(qt,e,!0)}}function lr(){return{getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"}}function wl(o,e){if(!tn(o,lr()))return kl(o,e);const r=Sr(o),n=mo(r.body,lr());e==="prev"&&n.reverse();const s=n.indexOf(o);return s===-1?r.body:n.slice(s+1)[0]}function kl(o,e){const r=Sr(o);if(!bo(o,lr()))return r.body;const n=xo(r.body,lr());e==="prev"&&n.reverse();const s=n.indexOf(o);return s===-1?r.body:n.slice(s+1).find(l=>tn(l,lr()))??r.body}const sn=new Ht("Menu.Root"),an=new Ht("Menu.Root | Menu.Sub"),on=new Ht("Menu.Content"),Cl=new Ht("Menu.Group | Menu.RadioGroup"),Tl=new Ht("Menu.CheckboxGroup"),Pl=new al("bitsmenuopen",{bubbles:!1,cancelable:!0}),Sl=Ss({component:"menu",parts:["trigger","content","sub-trigger","item","group","group-heading","checkbox-group","checkbox-item","radio-group","radio-item","separator","sub-content","arrow"]});class $l{#e;#t=null;#r=null;#n=!1;#s=null;#o=null;#a=null;#i=null;constructor(e){this.#e=e,xt([e.triggerNode,e.contentNode,e.enabled],([r,n,s])=>{if(this.#p(),!r||!n||!s)return;const d=m=>{St(m)&&(this.#i={x:m.clientX,y:m.clientY},this.#n||this.#m(m,"content"))},l=m=>{St(m)&&this.#b(m,"content")},u=m=>{St(m)&&(this.#n||this.#m(m,"trigger"))},a=m=>{if(St(m)){if(jt(m.relatedTarget)){const _=this.#e.subContentSelector(),p=m.relatedTarget.closest(_);if(p&&p!==n&&p.id&&!!n.querySelector(`[aria-controls="${p.id}"]`))return}this.#b(m,"trigger")}},g=m=>{St(m)&&this.#u()},T=m=>{St(m)&&this.#u()};return r.addEventListener("pointermove",d),r.addEventListener("pointerleave",l),r.addEventListener("pointerenter",g),n.addEventListener("pointermove",u),n.addEventListener("pointerleave",a),n.addEventListener("pointerenter",T),()=>{r.removeEventListener("pointermove",d),r.removeEventListener("pointerleave",l),r.removeEventListener("pointerenter",g),n.removeEventListener("pointermove",u),n.removeEventListener("pointerleave",a),n.removeEventListener("pointerenter",T),this.#p()}}),$s(()=>{this.#p()})}#l(){const e=this.#e.parentContentNode();return e?e.getBoundingClientRect():this.#e.triggerNode()?.getBoundingClientRect()??null}#d(e,r){const n=this.#e.triggerNode(),s=this.#e.contentNode();if(!n||!s)return null;const d=n.getBoundingClientRect(),l=s.getBoundingClientRect(),u=Il(d,l);let a,g,T;return r==="content"?(a=this.#n?this.#o??e:e,g=l):(a=this.#i??e,g=this.#l()??d,T=l),this.#o=a,{corridor:Al(d,l,u),intent:Ol(a,g,u,r,T),targetRect:g,side:u}}#g(e,r,n){return Yn(e,r)||Yn(e,n)}#m(e,r){const n={x:e.clientX,y:e.clientY};this.#d(n,r)&&(this.#s=r,this.#a=n)}#b(e,r){if(!this.#e.enabled())return;const n=this.#e.triggerNode(),s=this.#e.contentNode();if(!n||!s)return;const d=e.relatedTarget;if(jt(d)&&(r==="content"&&s.contains(d)||r==="trigger"&&n.contains(d)))return;const l={x:e.clientX,y:e.clientY},u=this.#d(l,r);if(u){if(!Xn(l,u.targetRect)&&!this.#g(l,u.corridor,u.intent)){this.#y();return}this.#n=!0,this.#s=r,this.#a=l,this.#e.setIsPointerInTransit(!0),this.#C(),this.#_()}}#c=null;#u(){if(!this.#n)return;const e=this.#s==="trigger";this.#x(),this.#v(),this.#n=!1,this.#y(),e?(this.#f(),this.#c=setTimeout(()=>{this.#c=null,this.#e.setIsPointerInTransit(!1)},100)):this.#e.setIsPointerInTransit(!1)}#f(){this.#c!==null&&(clearTimeout(this.#c),this.#c=null)}#h(){const e=this.#a;this.#x(),this.#v(),this.#f(),this.#n=!1,this.#e.setIsPointerInTransit(!1),this.#y(),this.#e.onIntentExit(e)}#p(){this.#x(),this.#v(),this.#f(),this.#n&&this.#e.setIsPointerInTransit(!1),this.#n=!1,this.#s=null,this.#o=null,this.#a=null,this.#i=null}#k(e){const r=this.#e.contentNode();if(!r)return!1;const s=r.ownerDocument.elementFromPoint(e.x,e.y);if(!s)return!1;const d=this.#e.subContentSelector(),l=s.closest(d);return!l||l===r?!1:l.id?!!r.querySelector(`[aria-controls="${l.id}"]`):!1}#w=e=>{if(!this.#n||!this.#s||!St(e))return;const r=this.#e.triggerNode(),n=this.#e.contentNode();if(!r||!n){this.#h();return}this.#v();const s={x:e.clientX,y:e.clientY};this.#a=s;const d=r.getBoundingClientRect(),l=n.getBoundingClientRect();if(this.#s==="content"&&Xn(s,l)){this.#u();return}if(this.#s==="trigger"&&Ml(s,d,4)){this.#u();return}if(this.#k(s)){this.#_();return}const u=this.#d(s,this.#s);if(!u){this.#h();return}if(this.#g(s,u.corridor,u.intent)){this.#_();return}this.#h()};#C(){if(this.#t)return;const e=Sr(this.#e.triggerNode()??this.#e.contentNode());e&&(e.addEventListener("pointermove",this.#w,!0),this.#t=()=>{e.removeEventListener("pointermove",this.#w,!0),this.#t=null})}#x(){this.#t?.()}#_(){this.#v(),this.#r=setTimeout(()=>{this.#r=null,this.#n&&this.#h()},500)}#v(){this.#r!==null&&(clearTimeout(this.#r),this.#r=null)}#y(){this.#s=null,this.#o=null,this.#a=null}}function Yn(o,e){const{x:r,y:n}=o;let s=!1;for(let d=0,l=e.length-1;d<e.length;l=d++){const u=e[d].x,a=e[d].y,g=e[l].x,T=e[l].y;a>n!=T>n&&r<(g-u)*(n-a)/(T-a)+u&&(s=!s)}return s}function Xn(o,e){return o.x>=e.left&&o.x<=e.right&&o.y>=e.top&&o.y<=e.bottom}function Ml(o,e,r){return o.x>=e.left+r&&o.x<=e.right-r&&o.y>=e.top+r&&o.y<=e.bottom-r}function Il(o,e){const r=o.left+o.width/2,n=o.top+o.height/2,s=e.left+e.width/2,d=e.top+e.height/2,l=s-r,u=d-n;return Math.abs(l)>Math.abs(u)?l>0?"right":"left":u>0?"bottom":"top"}function Al(o,e,r){switch(r){case"top":return[{x:Math.min(o.left,e.left)-2,y:o.top},{x:Math.min(o.left,e.left)-2,y:e.bottom},{x:Math.max(o.right,e.right)+2,y:e.bottom},{x:Math.max(o.right,e.right)+2,y:o.top}];case"bottom":return[{x:Math.min(o.left,e.left)-2,y:o.bottom},{x:Math.min(o.left,e.left)-2,y:e.top},{x:Math.max(o.right,e.right)+2,y:e.top},{x:Math.max(o.right,e.right)+2,y:o.bottom}];case"left":return[{x:o.left,y:Math.min(o.top,e.top)-2},{x:e.right,y:Math.min(o.top,e.top)-2},{x:e.right,y:Math.max(o.bottom,e.bottom)+2},{x:o.left,y:Math.max(o.bottom,e.bottom)+2}];case"right":return[{x:o.right,y:Math.min(o.top,e.top)-2},{x:e.left,y:Math.min(o.top,e.top)-2},{x:e.left,y:Math.max(o.bottom,e.bottom)+2},{x:o.right,y:Math.max(o.bottom,e.bottom)+2}]}}function Ol(o,e,r,n,s){const l=n==="trigger"?El(r):r,u=s?Math.min(e.top,s.top)-8:e.top-8,a=s?Math.max(e.bottom,s.bottom)+8:e.bottom+8,g=s?Math.min(e.left,s.left)-8:e.left-8,T=s?Math.max(e.right,s.right)+8:e.right+8;switch(l){case"right":return[o,{x:e.left,y:u},{x:e.left,y:a}];case"left":return[o,{x:e.right,y:u},{x:e.right,y:a}];case"bottom":return[o,{x:g,y:e.top},{x:T,y:e.top}];case"top":return[o,{x:g,y:e.bottom},{x:T,y:e.bottom}]}}function El(o){switch(o){case"top":return"bottom";case"bottom":return"top";case"left":return"right";case"right":return"left"}}class ln{static create(e){const r=new ln(e);return sn.set(r)}opts;isUsingKeyboard=new At;#e=be(!1);get ignoreCloseAutoFocus(){return t(this.#e)}set ignoreCloseAutoFocus(e){I(this.#e,e,!0)}#t=be(!1);get isPointerInTransit(){return t(this.#t)}set isPointerInTransit(e){I(this.#t,e,!0)}constructor(e){this.opts=e}getBitsAttr=e=>Sl.getAttr(e,this.opts.variant.current)}class dn{static create(e,r){return an.set(new dn(e,r,null))}opts;root;parentMenu;#e=be(J(()=>""));get contentId(){return t(this.#e)}set contentId(e){I(this.#e,e)}#t=be(null);get contentNode(){return t(this.#t)}set contentNode(e){I(this.#t,e,!0)}contentPresence;#r=be(null);get triggerNode(){return t(this.#r)}set triggerNode(e){I(this.#r,e,!0)}constructor(e,r,n){this.opts=e,this.root=r,this.parentMenu=n,this.contentPresence=new ws({ref:J(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)},shouldSkipExitAnimation:()=>this.root.opts.variant.current!=="menubar"||this.parentMenu!==null?!1:this.root.opts.shouldSkipExitAnimation?.()??!1}),n&&xt(()=>n.opts.open.current,()=>{n.opts.open.current||(this.opts.open.current=!1)})}toggleOpen(){this.opts.open.current=!this.opts.open.current}onOpen(){this.opts.open.current=!0}onClose(){this.opts.open.current=!1}}class cn{static create(e){return on.set(new cn(e,an.get()))}opts;parentMenu;rovingFocusGroup;domContext;attachment;#e=be("");get search(){return t(this.#e)}set search(e){I(this.#e,e,!0)}#t=0;#r;#n=be(!1);get mounted(){return t(this.#n)}set mounted(e){I(this.#n,e,!0)}#s;constructor(e,r){this.opts=e,this.parentMenu=r,this.domContext=new Ts(e.ref),this.attachment=Ut(this.opts.ref,n=>{this.parentMenu.contentNode!==n&&(this.parentMenu.contentNode=n)}),r.contentId=e.id,this.#s=e.isSub??!1,this.onkeydown=this.onkeydown.bind(this),this.onblur=this.onblur.bind(this),this.onfocus=this.onfocus.bind(this),this.handleInteractOutside=this.handleInteractOutside.bind(this),new $l({contentNode:()=>this.parentMenu.contentNode,triggerNode:()=>this.parentMenu.triggerNode,parentContentNode:()=>this.parentMenu.parentMenu?.contentNode??null,subContentSelector:()=>`[${this.parentMenu.root.getBitsAttr("sub-content")}]`,enabled:()=>this.parentMenu.opts.open.current&&!!this.parentMenu.triggerNode?.hasAttribute(this.parentMenu.root.getBitsAttr("sub-trigger")),onIntentExit:n=>{this.parentMenu.opts.open.current=!1,this.#i(n)},setIsPointerInTransit:n=>{this.parentMenu.root.isPointerInTransit=n}}),this.#r=new ll({getActiveElement:()=>this.domContext.getActiveElement(),getWindow:()=>this.domContext.getWindow()}).handleTypeaheadSearch,this.rovingFocusGroup=new sl({rootNode:J(()=>this.parentMenu.contentNode),candidateAttr:this.parentMenu.root.getBitsAttr("item"),loop:this.opts.loop,orientation:J(()=>"vertical")}),xt(()=>this.parentMenu.contentNode,n=>{if(!n)return;const s=()=>{zt(()=>{this.parentMenu.root.isUsingKeyboard.current&&this.rovingFocusGroup.focusFirstCandidate()})};return Pl.listen(n,s)}),ct(()=>{this.parentMenu.opts.open.current||this.domContext.getWindow().clearTimeout(this.#t)})}#o(){const e=this.parentMenu.contentNode;return e?Array.from(e.querySelectorAll(`[${this.parentMenu.root.getBitsAttr("item")}]:not([data-disabled])`)):[]}#a(){return this.parentMenu.root.isPointerInTransit}#i(e){if(!e)return;const r=this.parentMenu.parentMenu?.contentNode;if(!r)return;const n=this.domContext.getDocument().elementFromPoint(e.x,e.y);if(!jt(n))return;const s=n.closest(`[${this.parentMenu.root.getBitsAttr("sub-trigger")}]`);!s||!r.contains(s)||s!==this.parentMenu.triggerNode&&s.dispatchEvent(new PointerEvent("pointermove",{bubbles:!0,cancelable:!0,pointerType:"mouse",clientX:e.x,clientY:e.y}))}onCloseAutoFocus=e=>{if(this.opts.onCloseAutoFocus.current?.(e),!(e.defaultPrevented||this.#s)){if(this.parentMenu.root.ignoreCloseAutoFocus){e.preventDefault();return}this.parentMenu.triggerNode&&tn(this.parentMenu.triggerNode)&&(e.preventDefault(),this.parentMenu.triggerNode.focus())}};handleTabKeyDown(e){let r=this.parentMenu;for(;r.parentMenu!==null;)r=r.parentMenu;if(!r.triggerNode)return;e.preventDefault();const n=wl(r.triggerNode,e.shiftKey?"prev":"next");n?(this.parentMenu.root.ignoreCloseAutoFocus=!0,r.onClose(),zt(()=>{n.focus(),zt(()=>{this.parentMenu.root.ignoreCloseAutoFocus=!1})})):this.domContext.getDocument().body.focus()}onkeydown(e){if(e.defaultPrevented)return;if(e.key===_o){this.handleTabKeyDown(e);return}const r=e.target,n=e.currentTarget;if(!tr(r)||!tr(n))return;const s=r.closest(`[${this.parentMenu.root.getBitsAttr("content")}]`)?.id===this.parentMenu.contentId.current,d=e.ctrlKey||e.altKey||e.metaKey,l=e.key.length===1;if(this.rovingFocusGroup.handleKeydown(r,e)||e.code==="Space")return;const a=this.#o();s&&!d&&l&&this.#r(e.key,a),e.target?.id===this.parentMenu.contentId.current&&ml.includes(e.key)&&(e.preventDefault(),Ls.includes(e.key)&&a.reverse(),yl(a,{select:!1},()=>this.domContext.getActiveElement()))}onblur(e){jt(e.currentTarget)&&jt(e.target)&&(e.currentTarget.contains?.(e.target)||(this.domContext.getWindow().clearTimeout(this.#t),this.search=""))}onfocus(e){this.parentMenu.root.isUsingKeyboard.current&&zt(()=>this.rovingFocusGroup.focusFirstCandidate())}onItemEnter(){return this.#a()}onItemLeave(e){if(e.currentTarget.hasAttribute(this.parentMenu.root.getBitsAttr("sub-trigger"))||this.#a()||this.parentMenu.root.isUsingKeyboard.current)return;this.parentMenu.contentNode?.focus({preventScroll:!0}),this.rovingFocusGroup.setCurrentTabStopId("")}onTriggerLeave(){return!!this.#a()}handleInteractOutside(e){if(!yo(e.target))return;const r=this.parentMenu.triggerNode?.id;if(e.target.id===r){e.preventDefault();return}if(e.target.closest(`#${r}`)){e.preventDefault();return}this.parentMenu.root.ignoreCloseAutoFocus=!0,zt(()=>{this.parentMenu.root.ignoreCloseAutoFocus=!1})}get shouldRender(){return this.parentMenu.contentPresence.shouldRender}#l=h(()=>({open:this.parentMenu.opts.open.current}));get snippetProps(){return t(this.#l)}set snippetProps(e){I(this.#l,e)}#d=h(()=>({id:this.opts.id.current,role:"menu","aria-orientation":"vertical",[this.parentMenu.root.getBitsAttr("content")]:"","data-state":ks(this.parentMenu.opts.open.current),...Ps(this.parentMenu.contentPresence.transitionStatus),onkeydown:this.onkeydown,onblur:this.onblur,onfocus:this.onfocus,dir:this.parentMenu.root.opts.dir.current,style:{pointerEvents:"auto",contain:"layout style"},...this.attachment}));get props(){return t(this.#d)}set props(e){I(this.#d,e)}popperProps={onCloseAutoFocus:e=>this.onCloseAutoFocus(e)}}class Ws{opts;content;attachment;#e=be(!1);constructor(e,r){this.opts=e,this.content=r,this.attachment=Ut(this.opts.ref),this.onpointermove=this.onpointermove.bind(this),this.onpointerleave=this.onpointerleave.bind(this),this.onfocus=this.onfocus.bind(this),this.onblur=this.onblur.bind(this)}onpointermove(e){if(!e.defaultPrevented&&St(e))if(this.opts.disabled.current)this.content.onItemLeave(e);else{if(this.content.onItemEnter())return;const n=e.currentTarget;if(!tr(n))return;n.focus({preventScroll:!0})}}onpointerleave(e){e.defaultPrevented||St(e)&&this.content.onItemLeave(e)}onfocus(e){zt(()=>{e.defaultPrevented||this.opts.disabled.current||I(this.#e,!0)})}onblur(e){zt(()=>{e.defaultPrevented||I(this.#e,!1)})}#t=h(()=>({id:this.opts.id.current,tabindex:-1,role:"menuitem","aria-disabled":Cs(this.opts.disabled.current),"data-disabled":$r(this.opts.disabled.current),"data-highlighted":t(this.#e)?"":void 0,[this.content.parentMenu.root.getBitsAttr("item")]:"",onpointermove:this.onpointermove,onpointerleave:this.onpointerleave,onfocus:this.onfocus,onblur:this.onblur,...this.attachment}));get props(){return t(this.#t)}set props(e){I(this.#t,e)}}class Mr{static create(e){const r=new Ws(e,on.get());return new Mr(e,r)}opts;item;root;#e=!1;constructor(e,r){this.opts=e,this.item=r,this.root=r.content.parentMenu.root,this.onkeydown=this.onkeydown.bind(this),this.onclick=this.onclick.bind(this),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this)}#t(){if(this.item.opts.disabled.current)return;const e=new CustomEvent("menuitemselect",{bubbles:!0,cancelable:!0});if(this.opts.onSelect.current(e),e.defaultPrevented){this.item.content.parentMenu.root.isUsingKeyboard.current=!1;return}this.opts.closeOnSelect.current&&this.item.content.parentMenu.root.opts.onClose()}onkeydown(e){const r=this.item.content.search!=="";if(!(this.item.opts.disabled.current||r&&e.key===en)&&vl.includes(e.key)){if(!tr(e.currentTarget))return;e.currentTarget.click(),e.preventDefault()}}onclick(e){this.item.opts.disabled.current||this.#t()}onpointerup(e){if(!e.defaultPrevented&&!this.#e){if(!tr(e.currentTarget))return;e.currentTarget?.click()}}onpointerdown(e){this.#e=!0}#r=h(()=>ot(this.item.props,{onclick:this.onclick,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,onkeydown:this.onkeydown}));get props(){return t(this.#r)}set props(e){I(this.#r,e)}}class un{static create(e,r){const n=new Mr(e,new Ws(e,on.get()));return new un(e,n,r)}opts;item;group;constructor(e,r,n=null){this.opts=e,this.item=r,this.group=n,this.group&&(xt(()=>this.group.opts.value.current,s=>{this.opts.checked.current=s.includes(this.opts.value.current)}),xt(()=>this.opts.checked.current,s=>{s?this.group.addValue(this.opts.value.current):this.group.removeValue(this.opts.value.current)}))}toggleChecked(){this.opts.indeterminate.current?(this.opts.indeterminate.current=!1,this.opts.checked.current=!0):this.opts.checked.current=!this.opts.checked.current}#e=h(()=>({checked:this.opts.checked.current,indeterminate:this.opts.indeterminate.current}));get snippetProps(){return t(this.#e)}set snippetProps(e){I(this.#e,e)}#t=h(()=>({...this.item.props,role:"menuitemcheckbox","aria-checked":wo(this.opts.checked.current,this.opts.indeterminate.current),"data-state":xl(this.opts.checked.current),[this.item.root.getBitsAttr("checkbox-item")]:""}));get props(){return t(this.#t)}set props(e){I(this.#t,e)}}class hn{static create(e){return Cl.set(new hn(e,sn.get()))}opts;root;attachment;#e=be(void 0);get groupHeadingId(){return t(this.#e)}set groupHeadingId(e){I(this.#e,e,!0)}constructor(e,r){this.opts=e,this.root=r,this.attachment=Ut(this.opts.ref)}#t=h(()=>({id:this.opts.id.current,role:"group","aria-labelledby":this.groupHeadingId,[this.root.getBitsAttr("group")]:"",...this.attachment}));get props(){return t(this.#t)}set props(e){I(this.#t,e)}}class pn{static create(e){return new pn(e,sn.get())}opts;root;attachment;constructor(e,r){this.opts=e,this.root=r,this.attachment=Ut(this.opts.ref)}#e=h(()=>({id:this.opts.id.current,role:"separator",[this.root.getBitsAttr("separator")]:"",...this.attachment}));get props(){return t(this.#e)}set props(e){I(this.#e,e)}}class fn{static create(e){return new fn(e,an.get())}opts;parentMenu;attachment;constructor(e,r){this.opts=e,this.parentMenu=r,this.attachment=Ut(this.opts.ref,n=>this.parentMenu.triggerNode=n)}onclick=e=>{this.opts.disabled.current||e.detail!==0||(this.parentMenu.toggleOpen(),e.preventDefault())};onpointerdown=e=>{if(!this.opts.disabled.current){if(e.pointerType==="touch")return e.preventDefault();e.button===0&&e.ctrlKey===!1&&(this.parentMenu.toggleOpen(),this.parentMenu.opts.open.current||e.preventDefault())}};onpointerup=e=>{this.opts.disabled.current||e.pointerType==="touch"&&(e.preventDefault(),this.parentMenu.toggleOpen())};onkeydown=e=>{if(!this.opts.disabled.current){if(e.key===en||e.key===ys){this.parentMenu.toggleOpen(),e.preventDefault();return}e.key===dr&&(this.parentMenu.onOpen(),e.preventDefault())}};#e=h(()=>{if(this.parentMenu.opts.open.current&&this.parentMenu.contentId.current)return this.parentMenu.contentId.current});#t=h(()=>({id:this.opts.id.current,disabled:this.opts.disabled.current,"aria-haspopup":"menu","aria-expanded":Cs(this.parentMenu.opts.open.current),"aria-controls":t(this.#e),"data-disabled":$r(this.opts.disabled.current),"data-state":ks(this.parentMenu.opts.open.current),[this.parentMenu.root.getBitsAttr("trigger")]:"",onclick:this.onclick,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,onkeydown:this.onkeydown,...this.attachment}));get props(){return t(this.#t)}set props(e){I(this.#t,e)}}var Dl=new Set(["$$slots","$$events","$$legacy","child","children","ref","id","disabled","onSelect","closeOnSelect"]),Nl=f("<div><!></div>");function Fl(o,e){const r=$t();Se(e,!0);let n=$(e,"ref",15,null),s=$(e,"id",19,()=>Et(r)),d=$(e,"disabled",3,!1),l=$(e,"onSelect",3,vt),u=$(e,"closeOnSelect",3,!0),a=Oe(e,Dl);const g=Mr.create({id:J(()=>s()),disabled:J(()=>d()),onSelect:J(()=>l()),ref:J(()=>n(),x=>n(x)),closeOnSelect:J(()=>u())}),T=h(()=>ot(a,g.props));var m=Y(),_=w(m);{var p=x=>{var P=Y(),E=w(P);Ue(E,()=>e.child,()=>({props:t(T)})),i(x,P)},y=x=>{var P=Nl();nt(P,()=>({...t(T)}));var E=b(P);Ue(E,()=>e.children??st),v(P),i(x,P)};D(_,x=>{e.child?x(p):x(y,-1)})}i(o,m),$e()}var zl=new Set(["$$slots","$$events","$$legacy","children","child","ref","id"]),Ll=f("<div><!></div>");function Wl(o,e){const r=$t();Se(e,!0);let n=$(e,"ref",15,null),s=$(e,"id",19,()=>Et(r)),d=Oe(e,zl);const l=hn.create({id:J(()=>s()),ref:J(()=>n(),_=>n(_))}),u=h(()=>ot(d,l.props));var a=Y(),g=w(a);{var T=_=>{var p=Y(),y=w(p);Ue(y,()=>e.child,()=>({props:t(u)})),i(_,p)},m=_=>{var p=Ll();nt(p,()=>({...t(u)}));var y=b(p);Ue(y,()=>e.children??st),v(p),i(_,p)};D(g,_=>{e.child?_(T):_(m,-1)})}i(o,a),$e()}var jl=new Set(["$$slots","$$events","$$legacy","ref","id","child","children"]),Kl=f("<div><!></div>");function Bl(o,e){const r=$t();Se(e,!0);let n=$(e,"ref",15,null),s=$(e,"id",19,()=>Et(r)),d=Oe(e,jl);const l=pn.create({id:J(()=>s()),ref:J(()=>n(),_=>n(_))}),u=h(()=>ot(d,l.props));var a=Y(),g=w(a);{var T=_=>{var p=Y(),y=w(p);Ue(y,()=>e.child,()=>({props:t(u)})),i(_,p)},m=_=>{var p=Kl();nt(p,()=>({...t(u)}));var y=b(p);Ue(y,()=>e.children??st),v(p),i(_,p)};D(g,_=>{e.child?_(T):_(m,-1)})}i(o,a),$e()}var Hl=new Set(["$$slots","$$events","$$legacy","child","children","ref","checked","id","onCheckedChange","disabled","onSelect","closeOnSelect","indeterminate","onIndeterminateChange","value"]),Ul=f("<div><!></div>");function Rl(o,e){const r=$t();Se(e,!0);let n=$(e,"ref",15,null),s=$(e,"checked",15,!1),d=$(e,"id",19,()=>Et(r)),l=$(e,"onCheckedChange",3,vt),u=$(e,"disabled",3,!1),a=$(e,"onSelect",3,vt),g=$(e,"closeOnSelect",3,!0),T=$(e,"indeterminate",15,!1),m=$(e,"onIndeterminateChange",3,vt),_=$(e,"value",3,""),p=Oe(e,Hl);const y=Tl.getOr(null);y&&_()&&(y.opts.value.current.includes(_())?s(!0):s(!1)),xt.pre(()=>_(),()=>{y&&_()&&(y.opts.value.current.includes(_())?s(!0):s(!1))});const x=un.create({checked:J(()=>s(),S=>{S!==s()&&(s(S),l()(S))}),id:J(()=>d()),disabled:J(()=>u()),onSelect:J(()=>P),ref:J(()=>n(),S=>n(S)),closeOnSelect:J(()=>g()),indeterminate:J(()=>T(),S=>{S!==T()&&(T(S),m()(S))}),value:J(()=>_())},y);function P(S){a()(S),!S.defaultPrevented&&x.toggleChecked()}const E=h(()=>ot(p,x.props));var te=Y(),xe=w(te);{var H=S=>{var Q=Y(),L=w(Q);Ue(L,()=>e.child,()=>({checked:s(),indeterminate:T(),props:t(E)})),i(S,Q)},re=S=>{var Q=Ul();nt(Q,()=>({...t(E)}));var L=b(Q);Ue(L,()=>e.children??st,()=>({checked:s(),indeterminate:T()})),v(Q),i(S,Q)};D(xe,S=>{e.child?S(H):S(re,-1)})}i(o,te),$e()}function ql(o,e){Se(e,!0);let r=$(e,"open",15,!1),n=$(e,"dir",3,"ltr"),s=$(e,"onOpenChange",3,vt),d=$(e,"onOpenChangeComplete",3,vt),l=$(e,"_internal_variant",3,"dropdown-menu"),u=$(e,"_internal_should_skip_exit_animation",3,void 0);const a=ln.create({variant:J(()=>l()),dir:J(()=>n()),onClose:()=>{r(!1),s()(!1)},shouldSkipExitAnimation:()=>u()?.()??!1});dn.create({open:J(()=>r(),g=>{r(g),s()(g)}),onOpenChangeComplete:J(()=>d())},a),hs(o,{children:(g,T)=>{var m=Y(),_=w(m);Ue(_,()=>e.children??st),i(g,m)},$$slots:{default:!0}}),$e()}var Gl=new Set(["$$slots","$$events","$$legacy","id","child","children","ref","loop","onInteractOutside","onEscapeKeydown","onCloseAutoFocus","forceMount","trapFocus","style"]),Jn=f("<div><div><!></div></div>");function Vl(o,e){const r=$t();Se(e,!0);let n=$(e,"id",19,()=>Et(r)),s=$(e,"ref",15,null),d=$(e,"loop",3,!0),l=$(e,"onInteractOutside",3,vt),u=$(e,"onEscapeKeydown",3,vt),a=$(e,"onCloseAutoFocus",3,vt),g=$(e,"forceMount",3,!1),T=$(e,"trapFocus",3,!1),m=Oe(e,Gl);const _=cn.create({id:J(()=>n()),loop:J(()=>d()),ref:J(()=>s(),H=>s(H)),onCloseAutoFocus:J(()=>a())}),p=h(()=>ot(m,_.props));function y(H){if(_.handleInteractOutside(H),!H.defaultPrevented&&(l()(H),!H.defaultPrevented)){if(H.target&&H.target instanceof Element){const re=`[${_.parentMenu.root.getBitsAttr("sub-content")}]`;if(H.target.closest(re))return}_.parentMenu.onClose()}}function x(H){u()(H),!H.defaultPrevented&&_.parentMenu.onClose()}var P=Y(),E=w(P);{var te=H=>{ps(H,Ae(()=>t(p),()=>_.popperProps,{get ref(){return _.opts.ref},get enabled(){return _.parentMenu.opts.open.current},onInteractOutside:y,onEscapeKeydown:x,get trapFocus(){return T()},get loop(){return d()},forceMount:!0,get id(){return n()},get shouldRender(){return _.shouldRender},popper:(S,Q)=>{let L=()=>(Q?.()).props,R=()=>(Q?.()).wrapperProps;const Me=h(()=>ot(L(),{style:Cr("dropdown-menu")},{style:e.style}));var se=Y(),he=w(se);{var N=k=>{var M=Y(),O=w(M);{let q=h(()=>({props:t(Me),wrapperProps:R(),..._.snippetProps}));Ue(O,()=>e.child,()=>t(q))}i(k,M)},C=k=>{var M=Jn();nt(M,()=>({...R()}));var O=b(M);nt(O,()=>({...t(Me)}));var q=b(O);Ue(q,()=>e.children??st),v(O),v(M),i(k,M)};D(he,k=>{e.child?k(N):k(C,-1)})}i(S,se)},$$slots:{popper:!0}}))},xe=H=>{fs(H,Ae(()=>t(p),()=>_.popperProps,{get ref(){return _.opts.ref},get open(){return _.parentMenu.opts.open.current},onInteractOutside:y,onEscapeKeydown:x,get trapFocus(){return T()},get loop(){return d()},forceMount:!1,get id(){return n()},get shouldRender(){return _.shouldRender},popper:(S,Q)=>{let L=()=>(Q?.()).props,R=()=>(Q?.()).wrapperProps;const Me=h(()=>ot(L(),{style:Cr("dropdown-menu")},{style:e.style}));var se=Y(),he=w(se);{var N=k=>{var M=Y(),O=w(M);{let q=h(()=>({props:t(Me),wrapperProps:R(),..._.snippetProps}));Ue(O,()=>e.child,()=>t(q))}i(k,M)},C=k=>{var M=Jn();nt(M,()=>({...R()}));var O=b(M);nt(O,()=>({...t(Me)}));var q=b(O);Ue(q,()=>e.children??st),v(O),v(M),i(k,M)};D(he,k=>{e.child?k(N):k(C,-1)})}i(S,se)},$$slots:{popper:!0}}))};D(E,H=>{g()?H(te):g()||H(xe,1)})}i(o,P),$e()}var Yl=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","disabled","type"]),Xl=f("<button><!></button>");function Jl(o,e){const r=$t();Se(e,!0);let n=$(e,"id",19,()=>Et(r)),s=$(e,"ref",15,null),d=$(e,"disabled",3,!1),l=$(e,"type",3,"button"),u=Oe(e,Yl);const a=fn.create({id:J(()=>n()),disabled:J(()=>d()??!1),ref:J(()=>s(),T=>s(T))}),g=h(()=>ot(u,a.props,{type:l()}));Ra(o,{get id(){return n()},get ref(){return a.opts.ref},children:(T,m)=>{var _=Y(),p=w(_);{var y=P=>{var E=Y(),te=w(E);Ue(te,()=>e.child,()=>({props:t(g)})),i(P,E)},x=P=>{var E=Xl();nt(E,()=>({...t(g)}));var te=b(E);Ue(te,()=>e.children??st),v(E),i(P,E)};D(p,P=>{e.child?P(y):P(x,-1)})}i(T,_)},$$slots:{default:!0}}),$e()}class Jr{#e;#t;#r=null;constructor(e,r){this.#t=e,this.#e=r,this.stop=this.stop.bind(this),this.start=this.start.bind(this),$s(this.stop)}#n(){this.#r!==null&&(window.clearTimeout(this.#r),this.#r=null)}stop(){this.#n()}start(...e){this.#n(),this.#r=window.setTimeout(()=>{this.#r=null,this.#t(...e)},this.#e)}}const js=Ss({component:"tooltip",parts:["content","trigger"]}),Ks=new Ht("Tooltip.Provider"),vn=new Ht("Tooltip.Root");class Zl{#e=be(Lt(new Map));get triggers(){return t(this.#e)}set triggers(e){I(this.#e,e,!0)}#t=be(null);get activeTriggerId(){return t(this.#t)}set activeTriggerId(e){I(this.#t,e,!0)}#r=h(()=>{const e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return t(this.#r)}set activeTriggerNode(e){I(this.#r,e)}#n=h(()=>{const e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.payload??null});get activePayload(){return t(this.#n)}set activePayload(e){I(this.#n,e)}register=e=>{const r=new Map(this.triggers);r.set(e.id,e),this.triggers=r,this.#s()};update=e=>{const r=new Map(this.triggers);r.set(e.id,e),this.triggers=r,this.#s()};unregister=e=>{if(!this.triggers.has(e))return;const r=new Map(this.triggers);r.delete(e),this.triggers=r,this.activeTriggerId===e&&(this.activeTriggerId=null)};setActiveTrigger=e=>{if(e===null){this.activeTriggerId=null;return}if(!this.triggers.has(e)){this.activeTriggerId=null;return}this.activeTriggerId=e};get=e=>this.triggers.get(e);has=e=>this.triggers.has(e);getFirstTriggerId=()=>{const e=this.triggers.entries().next();return e.done?null:e.value[0]};#s=()=>{const e=this.activeTriggerId;e!==null&&(this.triggers.has(e)||(this.activeTriggerId=null))}}class gn{static create(e){return Ks.set(new gn(e))}opts;#e=be(!0);get isOpenDelayed(){return t(this.#e)}set isOpenDelayed(e){I(this.#e,e,!0)}isPointerInTransit=Ms(!1);#t;#r=be(null);constructor(e){this.opts=e,this.#t=new Jr(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),nn(()=>ir(window,"scroll",r=>{const n=t(this.#r);if(!n)return;const s=n.triggerNode;if(!s)return;const d=r.target;(d instanceof Element||d instanceof Document)&&d.contains(s)&&n.handleClose()}))}#n=()=>{if(this.opts.skipDelayDuration.current===0){this.isOpenDelayed=!0;return}else this.#t.start()};#s=()=>{this.#t.stop()};onOpen=e=>{t(this.#r)&&t(this.#r)!==e&&t(this.#r).handleClose(),this.#s(),this.isOpenDelayed=!1,I(this.#r,e,!0)};onClose=e=>{t(this.#r)===e&&(I(this.#r,null),this.#n())};isTooltipOpen=e=>t(this.#r)===e}class mn{static create(e){return vn.set(new mn(e,Ks.get()))}opts;provider;#e=h(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return t(this.#e)}set delayDuration(e){I(this.#e,e)}#t=h(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return t(this.#t)}set disableHoverableContent(e){I(this.#t,e)}#r=h(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return t(this.#r)}set disableCloseOnTriggerClick(e){I(this.#r,e)}#n=h(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return t(this.#n)}set disabled(e){I(this.#n,e)}#s=h(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return t(this.#s)}set ignoreNonKeyboardFocus(e){I(this.#s,e)}registry;tether;#o=be(null);get contentNode(){return t(this.#o)}set contentNode(e){I(this.#o,e,!0)}contentPresence;#a=be(!1);#i;#l=h(()=>this.opts.open.current?t(this.#a)?"delayed-open":"instant-open":"closed");get stateAttr(){return t(this.#l)}set stateAttr(e){I(this.#l,e)}constructor(e,r){this.opts=e,this.provider=r,this.tether=e.tether.current?.state??null,this.registry=this.tether?.registry??new Zl,this.#i=new Jr(()=>{I(this.#a,!0),this.opts.open.current=!0},this.delayDuration??0),this.tether&&(this.tether.root=this,nn(()=>()=>{this.tether?.root===this&&(this.tether.root=null)})),this.contentPresence=new ws({open:this.opts.open,ref:J(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),xt(()=>this.delayDuration,()=>{this.delayDuration!==void 0&&(this.#i=new Jr(()=>{I(this.#a,!0),this.opts.open.current=!0},this.delayDuration))}),xt(()=>this.opts.open.current,n=>{n?(this.ensureActiveTrigger(),this.provider.onOpen(this)):this.provider.onClose(this)},{lazy:!0}),xt(()=>this.opts.triggerId.current,n=>{n!==this.registry.activeTriggerId&&this.registry.setActiveTrigger(n)}),xt(()=>this.registry.activeTriggerId,n=>{this.opts.triggerId.current!==n&&(this.opts.triggerId.current=n)})}handleOpen=()=>{this.#i.stop(),I(this.#a,!1),this.ensureActiveTrigger(),this.opts.open.current=!0};handleClose=()=>{this.#i.stop(),this.opts.open.current=!1};cancelPendingOpen=()=>{this.#i.stop()};#d=()=>{this.#i.stop();const e=!this.provider.isOpenDelayed,r=this.delayDuration??0;e||r===0?(I(this.#a,!1),this.opts.open.current=!0):this.#i.start()};onTriggerEnter=e=>{this.setActiveTrigger(e),this.#d()};onTriggerLeave=()=>{this.disableHoverableContent?this.handleClose():this.#i.stop()};ensureActiveTrigger=()=>{if(this.registry.activeTriggerId!==null&&this.registry.has(this.registry.activeTriggerId))return;if(this.opts.triggerId.current!==null&&this.registry.has(this.opts.triggerId.current)){this.registry.setActiveTrigger(this.opts.triggerId.current);return}const e=this.registry.getFirstTriggerId();this.registry.setActiveTrigger(e)};setActiveTrigger=e=>{this.registry.setActiveTrigger(e)};registerTrigger=e=>{this.registry.register(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};updateTrigger=e=>{this.registry.update(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};unregisterTrigger=e=>{const r=this.registry.activeTriggerId===e;this.registry.unregister(e),r&&this.opts.open.current&&this.handleClose()};isActiveTrigger=e=>this.registry.activeTriggerId===e;get triggerNode(){return this.registry.activeTriggerNode}get activePayload(){return this.registry.activePayload}get activeTriggerId(){return this.registry.activeTriggerId}}class Pr{static create(e){return e.tether.current?new Pr(e,null,e.tether.current.state):new Pr(e,vn.get(),null)}opts;root;tether;attachment;#e=Ms(!1);#t=be(!1);domContext;#r=null;#n=!1;#s=null;constructor(e,r,n){this.opts=e,this.root=r,this.tether=n,this.domContext=new Ts(e.ref),this.attachment=Ut(this.opts.ref,s=>this.#i(s)),xt(()=>this.opts.id.current,()=>{this.#i(this.opts.ref.current)}),xt(()=>this.opts.payload.current,()=>{this.#i(this.opts.ref.current)}),xt(()=>this.opts.disabled.current,()=>{this.#i(this.opts.ref.current)}),nn(()=>(this.#n=!0,this.#i(this.opts.ref.current),()=>{const s=this.#o(),d=this.#s;d&&(this.tether?this.tether.registry.unregister(d):s?.unregisterTrigger(d)),this.#s=null,this.#n=!1}))}#o=()=>this.tether?.root??this.root;#a=()=>{const e=this.#o();return this.opts.disabled.current||!!e?.disabled};#i=e=>{if(!this.#n)return;const r=this.opts.id.current,n=this.opts.payload.current,s=this.opts.disabled.current;if(this.#s&&this.#s!==r){const u=this.#o();this.tether?this.tether.registry.unregister(this.#s):u?.unregisterTrigger(this.#s)}const d={id:r,node:e,payload:n,disabled:s},l=this.#o();this.tether?(this.tether.registry.has(r)?this.tether.registry.update(d):this.tether.registry.register(d),s&&this.tether.registry.activeTriggerId===r&&l?.opts.open.current&&l.handleClose()):l?.registry.has(r)?l.updateTrigger(d):l?.registerTrigger(d),this.#s=r};#l=()=>{this.#r!==null&&(clearTimeout(this.#r),this.#r=null)};handlePointerUp=()=>{this.#e.current=!1};#d=()=>{this.#a()||(this.#e.current=!1)};#g=()=>{if(this.#a())return;const e=this.#o();e&&!e.disableCloseOnTriggerClick&&(e.opts.open.current?e.handleClose():e.cancelPendingOpen()),this.#e.current=!0,this.domContext.getDocument().addEventListener("pointerup",()=>{this.handlePointerUp()},{once:!0})};#m=e=>{const r=this.#o();if(r){if(this.#a()){r.opts.open.current&&r.handleClose();return}if(e.pointerType!=="touch"){if(r.provider.isPointerInTransit.current){this.#l(),this.#r=window.setTimeout(()=>{r.provider.isPointerInTransit.current&&(r.provider.isPointerInTransit.current=!1,r.onTriggerEnter(this.opts.id.current),I(this.#t,!0))},250);return}r.onTriggerEnter(this.opts.id.current),I(this.#t,!0)}}};#b=e=>{const r=this.#o();if(r){if(this.#a()){r.opts.open.current&&r.handleClose();return}e.pointerType!=="touch"&&(t(this.#t)||(this.#l(),r.provider.isPointerInTransit.current=!1,r.onTriggerEnter(this.opts.id.current),I(this.#t,!0)))}};#c=e=>{const r=this.#o();if(!r||this.#a())return;if(this.#l(),!r.isActiveTrigger(this.opts.id.current)){I(this.#t,!1);return}const n=e.relatedTarget;if(jt(n)){for(const s of r.registry.triggers.values())if(s.node===n){if(r.provider.opts.skipDelayDuration.current>0){I(this.#t,!1);return}r.handleClose(),I(this.#t,!1);return}}r.onTriggerLeave(),I(this.#t,!1)};#u=e=>{const r=this.#o();if(r&&!this.#e.current){if(this.#a()){r.opts.open.current&&r.handleClose();return}r.ignoreNonKeyboardFocus&&!ko(e.currentTarget)||(r.setActiveTrigger(this.opts.id.current),r.handleOpen())}};#f=()=>{const e=this.#o();!e||this.#a()||e.handleClose()};#h=()=>{const e=this.#o();!e||e.disableCloseOnTriggerClick||this.#a()||e.handleClose()};#p=h(()=>{const e=this.#o(),r=!!(e?.opts.open.current&&e.isActiveTrigger(this.opts.id.current)),n=this.#a();return{id:this.opts.id.current,"aria-describedby":r?e?.contentNode?.id:void 0,"data-state":r?e?.stateAttr:"closed","data-disabled":$r(n),"data-delay-duration":`${e?.delayDuration??0}`,[js.trigger]:"",tabindex:n?void 0:this.opts.tabindex.current,disabled:this.opts.disabled.current,onpointerup:this.#d,onpointerdown:this.#g,onpointerenter:this.#m,onpointermove:this.#b,onpointerleave:this.#c,onfocus:this.#u,onblur:this.#f,onclick:this.#h,...this.attachment}});get props(){return t(this.#p)}set props(e){I(this.#p,e)}}class bn{static create(e){return new bn(e,vn.get())}opts;root;attachment;constructor(e,r){this.opts=e,this.root=r,this.attachment=Ut(this.opts.ref,n=>this.root.contentNode=n),new qa({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&!this.root.disableHoverableContent,transitIntentTimeout:180,ignoredTargets:()=>{if(this.root.provider.opts.skipDelayDuration.current===0)return[];const n=[],s=this.root.triggerNode;for(const d of this.root.registry.triggers.values())d.node&&d.node!==s&&n.push(d.node);return n},onPointerExit:()=>{this.root.provider.isTooltipOpen(this.root)&&this.root.handleClose()}})}onInteractOutside=e=>{if(jt(e.target)&&this.root.triggerNode?.contains(e.target)&&this.root.disableCloseOnTriggerClick){e.preventDefault();return}this.opts.onInteractOutside.current(e),!e.defaultPrevented&&this.root.handleClose()};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current?.(e),!e.defaultPrevented&&this.root.handleClose()};onOpenAutoFocus=e=>{e.preventDefault()};onCloseAutoFocus=e=>{e.preventDefault()};get shouldRender(){return this.root.contentPresence.shouldRender}#e=h(()=>({open:this.root.opts.open.current}));get snippetProps(){return t(this.#e)}set snippetProps(e){I(this.#e,e)}#t=h(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":$r(this.root.disabled),...Ps(this.root.contentPresence.transitionStatus),style:{outline:"none"},[js.content]:"",...this.attachment}));get props(){return t(this.#t)}set props(e){I(this.#t,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}}function Ql(o,e){Se(e,!0);let r=$(e,"open",15,!1),n=$(e,"triggerId",15,null),s=$(e,"onOpenChange",3,vt),d=$(e,"onOpenChangeComplete",3,vt);const l=mn.create({open:J(()=>r(),u=>{r(u),s()(u)}),triggerId:J(()=>n(),u=>{n(u)}),delayDuration:J(()=>e.delayDuration),disableCloseOnTriggerClick:J(()=>e.disableCloseOnTriggerClick),disableHoverableContent:J(()=>e.disableHoverableContent),ignoreNonKeyboardFocus:J(()=>e.ignoreNonKeyboardFocus),disabled:J(()=>e.disabled),onOpenChangeComplete:J(()=>d()),tether:J(()=>e.tether)});hs(o,{tooltip:!0,children:(u,a)=>{var g=Y(),T=w(g);Ue(T,()=>e.children??st,()=>({open:l.opts.open.current,triggerId:l.activeTriggerId,payload:l.activePayload})),i(u,g)},$$slots:{default:!0}}),$e()}var ed=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","side","sideOffset","align","avoidCollisions","arrowPadding","sticky","strategy","hideWhenDetached","customAnchor","collisionPadding","onInteractOutside","onEscapeKeydown","forceMount","style"]),Zn=f("<div><div><!></div></div>");function td(o,e){const r=$t();Se(e,!0);let n=$(e,"id",19,()=>Et(r)),s=$(e,"ref",15,null),d=$(e,"side",3,"top"),l=$(e,"sideOffset",3,0),u=$(e,"align",3,"center"),a=$(e,"avoidCollisions",3,!0),g=$(e,"arrowPadding",3,0),T=$(e,"sticky",3,"partial"),m=$(e,"hideWhenDetached",3,!1),_=$(e,"collisionPadding",3,0),p=$(e,"onInteractOutside",3,vt),y=$(e,"onEscapeKeydown",3,vt),x=$(e,"forceMount",3,!1),P=Oe(e,ed);const E=bn.create({id:J(()=>n()),ref:J(()=>s(),L=>s(L)),onInteractOutside:J(()=>p()),onEscapeKeydown:J(()=>y())}),te=h(()=>({side:d(),sideOffset:l(),align:u(),avoidCollisions:a(),arrowPadding:g(),sticky:T(),hideWhenDetached:m(),collisionPadding:_(),strategy:e.strategy,customAnchor:e.customAnchor??E.root.triggerNode})),xe=h(()=>ot(P,t(te),E.props));var H=Y(),re=w(H);{var S=L=>{{const R=(se,he)=>{let N=()=>(he?.()).props,C=()=>(he?.()).wrapperProps;const k=h(()=>ot(C(),{style:{pointerEvents:E.root.disableHoverableContent?"none":void 0}})),M=h(()=>ot(N(),{style:Cr("tooltip")},{style:e.style}));var O=Y(),q=w(O);{var oe=K=>{var G=Y(),ie=w(G);{let we=h(()=>({props:t(M),wrapperProps:t(k),...E.snippetProps}));Ue(ie,()=>e.child,()=>t(we))}i(K,G)},ye=K=>{var G=Zn();nt(G,()=>({...t(k)}));var ie=b(G);nt(ie,()=>({...t(M)}));var we=b(ie);Ue(we,()=>e.children??st),v(ie),v(G),i(K,G)};D(q,K=>{e.child?K(oe):K(ye,-1)})}i(se,O)};let Me=h(()=>E.root.disableHoverableContent?"none":"auto");ps(L,Ae(()=>t(xe),()=>E.popperProps,{get enabled(){return E.root.opts.open.current},get id(){return n()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return E.opts.ref},tooltip:!0,get shouldRender(){return E.shouldRender},get contentPointerEvents(){return t(Me)},popper:R,$$slots:{popper:!0}}))}},Q=L=>{{const R=(se,he)=>{let N=()=>(he?.()).props,C=()=>(he?.()).wrapperProps;const k=h(()=>ot(C(),{style:{pointerEvents:E.root.disableHoverableContent?"none":void 0}})),M=h(()=>ot(N(),{style:Cr("tooltip")},{style:e.style}));var O=Y(),q=w(O);{var oe=K=>{var G=Y(),ie=w(G);{let we=h(()=>({props:t(M),wrapperProps:t(k),...E.snippetProps}));Ue(ie,()=>e.child,()=>t(we))}i(K,G)},ye=K=>{var G=Zn();nt(G,()=>({...t(k)}));var ie=b(G);nt(ie,()=>({...t(M)}));var we=b(ie);Ue(we,()=>e.children??st),v(ie),v(G),i(K,G)};D(q,K=>{e.child?K(oe):K(ye,-1)})}i(se,O)};let Me=h(()=>E.root.disableHoverableContent?"none":"auto");fs(L,Ae(()=>t(xe),()=>E.popperProps,{get open(){return E.root.opts.open.current},get id(){return n()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return E.opts.ref},tooltip:!0,get shouldRender(){return E.shouldRender},get contentPointerEvents(){return t(Me)},popper:R,$$slots:{popper:!0}}))}};D(re,L=>{x()?L(S):x()||L(Q,1)})}i(o,H),$e()}var rd=new Set(["$$slots","$$events","$$legacy","children","child","id","disabled","payload","tether","type","tabindex","ref"]),nd=f("<button><!></button>");function sd(o,e){const r=$t();Se(e,!0);let n=$(e,"id",19,()=>Et(r)),s=$(e,"disabled",3,!1),d=$(e,"type",3,"button"),l=$(e,"tabindex",3,0),u=$(e,"ref",15,null),a=Oe(e,rd);const g=Pr.create({id:J(()=>n()),disabled:J(()=>s()??!1),tabindex:J(()=>l()??0),payload:J(()=>e.payload),tether:J(()=>e.tether),ref:J(()=>u(),x=>u(x))}),T=h(()=>ot(a,g.props,{type:d()}));var m=Y(),_=w(m);{var p=x=>{var P=Y(),E=w(P);Ue(E,()=>e.child,()=>({props:t(T)})),i(x,P)},y=x=>{var P=nd();nt(P,()=>({...t(T)}));var E=b(P);Ue(E,()=>e.children??st),v(P),i(x,P)};D(_,x=>{e.child?x(p):x(y,-1)})}i(o,m),$e()}var ad=new Set(["$$slots","$$events","$$legacy","ref"]);function od(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,ad);fl(o,Ae(()=>n,{get ref(){return r()},set ref(s){r(s)}})),$e()}function id(o,e){Se(e,!0);let r=$(e,"delayDuration",3,700),n=$(e,"disableCloseOnTriggerClick",3,!1),s=$(e,"disableHoverableContent",3,!1),d=$(e,"disabled",3,!1),l=$(e,"ignoreNonKeyboardFocus",3,!1),u=$(e,"skipDelayDuration",3,300);gn.create({delayDuration:J(()=>r()),disableCloseOnTriggerClick:J(()=>n()),disableHoverableContent:J(()=>s()),disabled:J(()=>d()),ignoreNonKeyboardFocus:J(()=>l()),skipDelayDuration:J(()=>u())});var a=Y(),g=w(a);Ue(g,()=>e.children??st),i(o,a),$e()}var ld=f('<p class="px-2 py-3 text-sm text-muted-foreground"> </p>'),dd=f('<p class="px-2 pt-2 pb-1 text-xs font-medium tracking-wide text-muted-foreground uppercase"> </p>'),cd=f('<div class="-mx-1 my-1 h-px bg-border" role="separator"></div>'),ud=f('<p class="truncate px-2 pt-1.5 pb-0.5 text-xs text-muted-foreground"> </p>'),hd=f('<span aria-hidden="true"> </span> <input class="-my-1 min-w-0 flex-1 rounded border border-ring bg-card px-1.5 py-0.5 text-sm text-foreground outline-none"/>',1),pd=f('<span class="project-name"><span class="project-prefix"> </span><span class="truncate"> </span></span>'),fd=f('<span class="min-w-0 flex-1 truncate"> </span>'),vd=f('<span aria-hidden="true"> </span> <!>',1),gd=f('<span class="flex w-[1.45rem] shrink-0 justify-center" aria-hidden="true"><span class="thread-dot"></span></span>'),md=f('<!> <span class="min-w-0 flex-1 truncate"> </span>',1),bd=f('<span class="tabular text-xs whitespace-nowrap text-sea"> </span>'),xd=f('<span class="tabular text-xs whitespace-nowrap text-muted-foreground"> </span>'),_d=f('<button type="button" tabindex="-1" class="-my-1 rounded p-1 text-muted-foreground opacity-0 group-hover:opacity-100 group-aria-selected:opacity-100 hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring max-md:my-0 max-md:grid max-md:size-11 max-md:place-items-center pointer-coarse:opacity-100"><!></button> <button type="button" tabindex="-1"><!></button>',1),yd=f('<div role="option" tabindex="-1"><!> <!> <!> <!> <!></div>'),Qn=f("<!> <!>",1),wd=f('<div class="flex flex-col"><label class="flex items-center gap-2 border-b border-hair px-3 max-md:px-5"><!> <input type="search" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-label="Find a project" placeholder="Find a project…" autocomplete="off" spellcheck="false" class="h-10 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground max-md:h-12 max-md:text-base [&::-webkit-search-cancel-button]:hidden"/></label> <div role="listbox" aria-label="Projects" class="max-h-[min(24rem,60dvh)] overflow-y-auto p-1 max-md:max-h-none max-md:px-2 max-md:pb-3"><!> <!></div></div>');function kd(o,e){const r=$t();Se(e,!0);let n=$(e,"topics",19,()=>[]);const s={id:"all",name:"All projects"};let d=be(""),l=be(0),u=be(null),a=be(null);Ot(()=>{ar.load(),Xt.load(),I(l,Math.max(0,t(m).findIndex(N=>N.id===e.current)),!0)});const g=h(()=>Vr(e.projects,Xt.names)),T=h(()=>{const N=t(d).trim()?null:Ga(e.projects,e.stats,{pinned:ar.ids,current:e.current});return(N?[{label:null,options:[s]},{label:"Chat topics",options:n()},{label:"Pinned",options:N.pinned},{label:"Most active",options:N.top},{label:N.pinned.length||N.top.length?"Other projects":"Projects",options:N.rest}]:[{label:null,options:Va(e.projects,t(d),ar.ids,Xt.names)},{label:"Chat topics",options:n().filter(k=>k.name.toLowerCase().includes(t(d).trim().toLowerCase()))}]).map(k=>({...k,options:Dn(k.options,t(g)).flatMap(M=>M.items)})).filter(k=>k.options.length)}),m=h(()=>t(T).flatMap(N=>N.options));function _(N){I(d,N,!0),I(l,0)}ct(()=>{t(a)?.querySelector(`#${CSS.escape(`${r}-${t(l)}`)}`)?.scrollIntoView?.({block:"nearest"})});function p(N){const C=t(m).length;if(N.key==="ArrowDown"||N.key==="ArrowUp")N.preventDefault(),C&&I(l,(t(l)+(N.key==="ArrowDown"?1:C-1))%C);else if(N.key==="Enter"){N.preventDefault();const k=t(m)[t(l)];k&&e.onpick(k.id)}}function y(){t(u)?.focus()}let x=be(null),P=be("");function E(N){I(P,Xt.names[N]??t(g).get(N)?.label??N,!0),I(x,N,!0)}function te(){if(!t(x))return;const N=Vr(e.projects).get(t(x))?.label;Xt.set(t(x),t(P).trim()===N?"":t(P)),I(x,null),t(u)?.focus()}const xe=N=>{N.focus(),N.select()};var H={focus:y},re=wd(),S=b(re),Q=b(S);to(Q,{class:"size-4 shrink-0 text-muted-foreground","aria-hidden":"true"});var L=c(Q,2);An(L),er(L,N=>I(u,N),()=>t(u)),v(S);var R=c(S,2),Me=b(R);{var se=N=>{var C=ld(),k=W(C);F(M=>A(k,`No project matches “${M??""}”.`),[()=>t(d).trim()]),i(N,C)};D(Me,N=>{t(m).length||N(se)})}var he=c(Me,2);return ut(he,19,()=>t(T),(N,C)=>N.label??`g${C}`,(N,C,k)=>{var M=Qn(),O=w(M);{var q=K=>{var G=dd(),ie=W(G,!0);F(()=>A(ie,t(C).label)),i(K,G)},oe=K=>{var G=cd();i(K,G)};D(O,K=>{t(C).label?K(q):t(k)>0&&K(oe,1)})}var ye=c(O,2);ut(ye,17,()=>Dn(t(C).options,t(g)),K=>K.group?`g:${K.group}`:`p:${K.items[0].id}`,(K,G)=>{var ie=Qn(),we=w(ie);{var De=ze=>{var pe=ud(),Le=W(pe,!0);F(()=>{de(pe,"title",t(G).group),A(Le,t(G).group)}),i(ze,pe)};D(we,ze=>{t(G).group&&ze(De)})}var Ke=c(we,2);ut(Ke,17,()=>t(G).items,ze=>ze.id,(ze,pe)=>{const Le=h(()=>t(m).indexOf(t(pe))),rt=h(()=>e.needCount(t(pe).id)),Ve=h(()=>ar.has(t(pe).id)),Ie=h(()=>t(g).get(t(pe).id)),lt=h(()=>"hue"in t(pe)),z=h(()=>e.counts?.get(t(pe).id));var U=yd(),Te=b(U);{var Ye=X=>{var ne=hd(),fe=w(ne),Ce=W(fe,!0),ce=c(fe,2);An(ce),ds(()=>eo(ce,()=>t(P),ve=>I(P,ve))),Qa(ce,ve=>xe?.(ve)),F(()=>{Pe(fe,1,`project-tile ${t(G).group?"ml-3":""}`),de(fe,"data-hue",t(Ie)?.hue),A(Ce,t(Ie)?.monogram),de(ce,"aria-label",`Friendly name for ${t(Ie)?.full??t(pe).name??""}`),de(ce,"placeholder",t(Ie)?.full??t(pe).name)}),kr("blur",ce,te),pt("click",ce,ve=>ve.stopPropagation()),pt("keydown",ce,ve=>{ve.stopPropagation(),ve.key==="Enter"?(ve.preventDefault(),te()):ve.key==="Escape"&&(ve.preventDefault(),I(x,null),t(u)?.focus())}),i(X,ne)},ke=X=>{var ne=vd(),fe=w(ne),Ce=W(fe,!0),ce=c(fe,2);{var ve=me=>{var je=pd(),et=b(je),gt=W(et),Ct=c(et),rr=W(Ct,!0);v(je),F(()=>{de(je,"title",t(Ie).full),A(gt,`${t(Ie).group??""} ›`),A(rr,t(Ie).label)}),i(me,je)},ae=me=>{var je=fd(),et=W(je,!0);F(()=>{de(je,"title",t(Ie).full),A(et,t(Ie).label)}),i(me,je)};D(ce,me=>{t(Ie).group&&!t(G).group&&t(Ie).label!==t(Ie).full?me(ve):me(ae,-1)})}F(()=>{Pe(fe,1,`project-tile ${t(G).group?"ml-3":""}`),de(fe,"data-hue",t(Ie).hue),A(Ce,t(Ie).monogram)}),i(X,ne)},Re=X=>{var ne=md(),fe=w(ne);{var Ce=ae=>{var me=gd(),je=W(me);F(()=>de(je,"data-hue",t(pe).hue??void 0)),i(ae,me)};D(fe,ae=>{t(lt)&&ae(Ce)})}var ce=c(fe,2),ve=W(ce,!0);F(()=>A(ve,t(pe).name)),i(X,ne)};D(Te,X=>{t(x)===t(pe).id?X(Ye):t(Ie)?X(ke,1):X(Re,-1)})}var Xe=c(Te,2);{var Ne=X=>{var ne=bd(),fe=W(ne);F(()=>A(fe,`${t(rt)??""} need you`)),i(X,ne)};D(Xe,X=>{t(rt)&&X(Ne)})}var Ze=c(Xe,2);{var Z=X=>{var ne=xd(),fe=W(ne,!0);F(()=>{de(ne,"title",`${t(z)??""} in the chat`),A(fe,t(z))}),i(X,ne)};D(Ze,X=>{t(z)&&X(Z)})}var V=c(Ze,2);{var j=X=>{Zt(X,{class:"size-4 shrink-0","aria-label":"Selected"})};D(V,X=>{e.current===t(pe).id&&X(j)})}var ue=c(V,2);{var _e=X=>{var ne=_d(),fe=w(ne),Ce=b(fe);ro(Ce,{class:"size-3.5"}),v(fe);var ce=c(fe,2),ve=b(ce);{let ae=h(()=>t(Ve)?"currentColor":"none");Vi(ve,{class:"size-3.5",get fill(){return t(ae)}})}v(ce),F(()=>{de(fe,"aria-label",`Rename ${t(Ie)?.full??t(pe).name??""}`),Pe(ce,1,`-my-1 rounded p-1 text-muted-foreground hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring max-md:my-0 max-md:grid max-md:size-11 max-md:place-items-center ${t(Ve)?"":"opacity-0 group-hover:opacity-100 group-aria-selected:opacity-100 pointer-coarse:opacity-100"}`),de(ce,"aria-label",t(Ve)?`Unpin ${t(pe).name}`:`Pin ${t(pe).name}`),de(ce,"aria-pressed",t(Ve))}),pt("click",fe,ae=>{ae.stopPropagation(),E(t(pe).id)}),pt("click",ce,ae=>{ae.stopPropagation(),ar.toggle(t(pe).id),t(u)?.focus()}),i(X,ne)};D(ue,X=>{t(pe).id!=="all"&&!t(lt)&&t(x)!==t(pe).id&&X(_e)})}v(U),F(()=>{de(U,"id",`${r}-${t(Le)??""}`),de(U,"aria-selected",t(Le)===t(l)),de(U,"data-project",t(pe).id),Pe(U,1,`group flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm select-none max-md:min-h-12 max-md:rounded-md max-md:py-1 ${t(Le)===t(l)?"bg-accent text-accent-foreground":""}`)}),pt("mousemove",U,()=>I(l,t(Le),!0)),pt("click",U,()=>e.onpick(t(pe).id)),pt("keydown",U,()=>{}),i(ze,U)}),i(K,ie)}),i(N,M)}),v(R),er(R,N=>I(a,N),()=>t(a)),v(re),F(()=>{Ta(L,t(d)),de(L,"aria-controls",`${r}-list`),de(L,"aria-activedescendant",t(m).length?`${r}-${t(l)}`:void 0),de(R,"id",`${r}-list`)}),pt("input",L,N=>_(N.currentTarget.value)),pt("keydown",L,p),i(o,re),$e(H)}ur(["input","keydown","mousemove","click"]);var Cd=new Set(["$$slots","$$events","$$legacy"]);function Td(o,e){let r=Oe(e,Cd);var n=Y(),s=w(n);ee(s,()=>hr,(d,l)=>{l(d,Ae(()=>r))}),i(o,n)}var Pd=new Set(["$$slots","$$events","$$legacy","ref","class","sideOffset","side","children","arrowClasses","portalProps"]),Sd=f("<div></div>"),$d=f("<!> <!>",1);function Bs(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=$(e,"sideOffset",3,0),s=$(e,"side",3,"top"),d=Oe(e,Pd);Td(o,Ae(()=>e.portalProps,{children:(l,u)=>{var a=Y(),g=w(a);{let T=h(()=>Bt("z-50 inline-flex w-fit max-w-xs origin-(--bits-tooltip-content-transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e.class));ee(g,()=>td,(m,_)=>{_(m,Ae({"data-slot":"tooltip-content",get sideOffset(){return n()},get side(){return s()},get class(){return t(T)}},()=>d,{get ref(){return r()},set ref(p){r(p)},children:(p,y)=>{var x=$d(),P=w(x);Ue(P,()=>e.children??st);var E=c(P,2);{const te=(xe,H)=>{let re=()=>(H?.()).props;var S=Sd();nt(S,Q=>({class:Q,...re()}),[()=>Bt("z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:-translate-x-1/2 data-[side=bottom]:-translate-y-[calc(-50%_+_1px)] data-[side=left]:-translate-y-[calc(50%_-_3px)] data-[side=right]:translate-x-[calc(50%_+_2px)] data-[side=right]:translate-y-1/2 data-[side=top]:translate-x-1/2 data-[side=top]:translate-y-[calc(-50%_+_2px)]",e.arrowClasses)]),i(xe,S)};ee(E,()=>od,(xe,H)=>{H(xe,{child:te,$$slots:{child:!0}})})}i(p,x)},$$slots:{default:!0}}))})}i(l,a)},$$slots:{default:!0}})),$e()}var Md=new Set(["$$slots","$$events","$$legacy","delayDuration"]);function Id(o,e){let r=$(e,"delayDuration",3,0),n=Oe(e,Md);var s=Y(),d=w(s);ee(d,()=>id,(l,u)=>{u(l,Ae({get delayDuration(){return r()}},()=>n))}),i(o,s)}var Ad=new Set(["$$slots","$$events","$$legacy","ref"]);function _r(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,Ad);var s=Y(),d=w(s);ee(d,()=>sd,(l,u)=>{u(l,Ae({"data-slot":"tooltip-trigger"},()=>n,{get ref(){return r()},set ref(a){r(a)}}))}),i(o,s),$e()}var Od=new Set(["$$slots","$$events","$$legacy","open"]);function yr(o,e){Se(e,!0);let r=$(e,"open",15,!1),n=Oe(e,Od);var s=Y(),d=w(s);ee(d,()=>Ql,(l,u)=>{u(l,Ae(()=>n,{get open(){return r()},set open(a){r(a)}}))}),i(o,s),$e()}var Ed=new Set(["$$slots","$$events","$$legacy","ref","checked","indeterminate","class","children","closeOnSelect"]),Dd=f('<span class="pointer-events-none absolute right-2 flex items-center justify-center" data-slot="dropdown-menu-checkbox-item-indicator"><!></span> <!>',1);function Kr(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=$(e,"checked",15,!1),s=$(e,"indeterminate",15,!1),d=$(e,"closeOnSelect",3,!1),l=Oe(e,Ed);var u=Y(),a=w(u);{const g=(m,_)=>{let p=()=>(_?.()).checked,y=()=>(_?.()).indeterminate;var x=Dd(),P=w(x),E=b(P);{var te=re=>{Wo(re,{})},xe=re=>{Zt(re,{})};D(E,re=>{y()?re(te):p()&&re(xe,1)})}v(P);var H=c(P,2);Ue(H,()=>e.children??st),i(m,x)};let T=h(()=>Bt("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-8 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e.class));ee(a,()=>Rl,(m,_)=>{_(m,Ae({get closeOnSelect(){return d()},"data-slot":"dropdown-menu-checkbox-item",get class(){return t(T)}},()=>l,{get ref(){return r()},set ref(p){r(p)},get checked(){return n()},set checked(p){n(p)},get indeterminate(){return s()},set indeterminate(p){s(p)},children:g,$$slots:{default:!0}}))})}i(o,u),$e()}var Nd=new Set(["$$slots","$$events","$$legacy"]);function Fd(o,e){let r=Oe(e,Nd);var n=Y(),s=w(n);ee(s,()=>hr,(d,l)=>{l(d,Ae(()=>r))}),i(o,n)}var zd=new Set(["$$slots","$$events","$$legacy","ref","sideOffset","align","portalProps","class"]);function Ld(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=$(e,"sideOffset",3,4),s=$(e,"align",3,"start"),d=Oe(e,zd);Fd(o,Ae(()=>e.portalProps,{children:(l,u)=>{var a=Y(),g=w(a);{let T=h(()=>Bt("z-50 max-h-(--bits-dropdown-menu-content-available-height) w-(--bits-dropdown-menu-anchor-width) min-w-32 origin-(--bits-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95",e.class));ee(g,()=>Vl,(m,_)=>{_(m,Ae({"data-slot":"dropdown-menu-content",get sideOffset(){return n()},get align(){return s()},get class(){return t(T)}},()=>d,{get ref(){return r()},set ref(p){r(p)}}))})}i(l,a)},$$slots:{default:!0}})),$e()}var Wd=new Set(["$$slots","$$events","$$legacy","ref"]);function Br(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,Wd);var s=Y(),d=w(s);ee(d,()=>Wl,(l,u)=>{u(l,Ae({"data-slot":"dropdown-menu-group"},()=>n,{get ref(){return r()},set ref(a){r(a)}}))}),i(o,s),$e()}var jd=new Set(["$$slots","$$events","$$legacy","ref","class","inset","variant"]);function es(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=$(e,"variant",3,"default"),s=Oe(e,jd);var d=Y(),l=w(d);{let u=h(()=>Bt("group/dropdown-menu-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",e.class));ee(l,()=>Fl,(a,g)=>{g(a,Ae({"data-slot":"dropdown-menu-item",get"data-inset"(){return e.inset},get"data-variant"(){return n()},get class(){return t(u)}},()=>s,{get ref(){return r()},set ref(T){r(T)}}))})}i(o,d),$e()}var Kd=new Set(["$$slots","$$events","$$legacy","ref","class","inset","children"]),Bd=f("<div><!></div>");function Hr(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,Kd);var s=Bd();nt(s,l=>({"data-slot":"dropdown-menu-label","data-inset":e.inset,class:l,...n}),[()=>Bt("px-2 py-1.5 text-xs font-medium text-muted-foreground data-inset:pl-8",e.class)]);var d=b(s);Ue(d,()=>e.children??st),v(s),er(s,l=>r(l),()=>r()),i(o,s),$e()}var Hd=new Set(["$$slots","$$events","$$legacy","ref","class"]);function ts(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,Hd);var s=Y(),d=w(s);{let l=h(()=>Bt("-mx-1 my-1 h-px bg-border",e.class));ee(d,()=>Bl,(u,a)=>{a(u,Ae({"data-slot":"dropdown-menu-separator",get class(){return t(l)}},()=>n,{get ref(){return r()},set ref(g){r(g)}}))})}i(o,s),$e()}var Ud=new Set(["$$slots","$$events","$$legacy","ref"]);function Rd(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,Ud);var s=Y(),d=w(s);ee(d,()=>Jl,(l,u)=>{u(l,Ae({"data-slot":"dropdown-menu-trigger"},()=>n,{get ref(){return r()},set ref(a){r(a)}}))}),i(o,s),$e()}var qd=new Set(["$$slots","$$events","$$legacy","open"]);function Gd(o,e){Se(e,!0);let r=$(e,"open",15,!1),n=Oe(e,qd);var s=Y(),d=w(s);ee(d,()=>ql,(l,u)=>{u(l,Ae(()=>n,{get open(){return r()},set open(a){r(a)}}))}),i(o,s),$e()}const Vd=587,Yd=[[.5,.35,2.8],[1,.6,2.2],[1.2,.3,1.6],[1.5,.22,1.3],[2,.4,1.1],[2.74,.12,.7],[3.76,.08,.45]],Xd=.42,Jd=.16;let Gt=null;function wr(){try{const o=globalThis.AudioContext??globalThis.webkitAudioContext;if(!o)return;Gt??=new o,Gt.state==="suspended"&&Gt.resume();const e=Gt.currentTime+.02;rs(Gt,e),rs(Gt,e+Xd)}catch{}}function rs(o,e){const r=o.createGain();r.gain.value=Jd,r.connect(o.destination);for(const[n,s,d]of Yd){const l=o.createOscillator(),u=o.createGain();l.type="sine",l.frequency.value=Vd*n,u.gain.setValueAtTime(1e-4,e),u.gain.exponentialRampToValueAtTime(s,e+.004),u.gain.exponentialRampToValueAtTime(1e-4,e+d),l.connect(u).connect(r),l.start(e),l.stop(e+d+.05)}}const vr="wheelhouse-bell",ns="wheelhouse-bell-seen",or="wheelhouse-bell-dismissed",Zd="wheelhouse-bell",Qd=400,ec=12,tc=12,rc=400,Hs={sound:!1,notify:!1,kinds:{"pr-green":!0,question:!0,stuck:!0,landed:!0,issue:!0,"events-paused":!0,health:!0}};function xn(o){return Is.find(e=>e.kind===o)?.label??o}function Vt(o,e){try{const r=localStorage.getItem(o);return r?JSON.parse(r):e}catch{return e}}function Ur(o,e){try{localStorage.setItem(o,JSON.stringify(e))}catch{}}function ss(o){const e=o&&typeof o=="object"?o:{},r={...Hs.kinds};for(const n of Object.keys(r))typeof e.kinds?.[n]=="boolean"&&(r[n]=e.kinds[n]);return{sound:e.sound===!0,notify:e.notify===!0,kinds:r}}function as(o,e,r=Qd){return o.includes(e)?!1:(o.push(e),o.length>r&&o.splice(0,o.length-r),!0)}class nc{#e=be(Lt(Hs));get settings(){return t(this.#e)}set settings(e){I(this.#e,e,!0)}#t=be(Lt([]));get toasts(){return t(this.#t)}set toasts(e){I(this.#t,e,!0)}#r=be(Lt([]));get log(){return t(this.#r)}set log(e){I(this.#r,e,!0)}#n=be(0);get unread(){return t(this.#n)}set unread(e){I(this.#n,e,!0)}#s=be("default");get permission(){return t(this.#s)}set permission(e){I(this.#s,e,!0)}#o=be(Lt({}));get notes(){return t(this.#o)}set notes(e){I(this.#o,e,!0)}dismissed=[];raisedAt=new Map;rang=new Set;channel=null;started=!1;start(){if(this.started)return()=>{};this.started=!0,this.settings=ss(Vt(vr,null)),this.dismissed=Vt(or,[]),this.permission=typeof Notification>"u"?"unsupported":Notification.permission,Ge.claim=n=>{const s=Vt(ns,[]),d=as(s,Pt(n));return d&&Ur(ns,s),d};const e=Ge.onAlert(n=>this.receive(n)),r=n=>{n.key===vr&&(this.settings=ss(Vt(vr,null))),n.key===or&&(this.dismissed=Vt(or,[]),this.toasts=this.toasts.filter(s=>!this.dismissed.includes(Pt(s.alert))))};return addEventListener("storage",r),typeof BroadcastChannel<"u"&&(this.channel=new BroadcastChannel(Zd),this.channel.onmessage=n=>{n.data?.t==="rang"&&this.rang.add(n.data.id)}),()=>{e(),removeEventListener("storage",r),this.channel?.close(),this.channel=null,Ge.claim=()=>!0,this.started=!1}}receive(e){if(e.type==="settled"){this.toasts=this.toasts.filter(n=>n.alert.id!==e.data);return}const r=e.type==="alert"?[{alert:e.data,fresh:e.fresh}]:e.data;for(const{alert:n,fresh:s}of r){const d=Date.parse(n.at);if(d<(this.raisedAt.get(n.id)??-1/0))continue;this.raisedAt.set(n.id,d),this.log=[n,...this.log.filter(u=>u.id!==n.id)].sort((u,a)=>Date.parse(a.at)-Date.parse(u.at)).slice(0,ec);const l=Pt(n);!this.settings.kinds[n.kind]||this.dismissed.includes(l)||this.toasts.some(u=>Pt(u.alert)===l)||(s?(this.unread++,this.show({alert:n,fresh:s}),this.ring(n)):n.captain&&zn(n,Ge.fleet)&&this.show({alert:n,fresh:s}))}}show(e){const r=[...this.toasts.filter(n=>n.alert.id!==e.alert.id),e];for(;r.length>tc;){const n=r.findIndex(s=>!s.alert.captain);r.splice(n===-1?0:n,1)}this.toasts=r}dismiss(e){const r=Pt(e);this.toasts=this.toasts.filter(s=>Pt(s.alert)!==r);const n=Vt(or,[]);as(n,r)&&Ur(or,n),this.dismissed=n}expire(e){this.toasts=this.toasts.filter(r=>r.alert.id!==e||r.alert.captain)}prune(){const e=Ge.fleet;if(!e)return;const r=this.toasts.filter(n=>zn(n.alert,e));r.length!==this.toasts.length&&(this.toasts=r)}update(e){this.settings={...this.settings,...e},Ur(vr,this.settings)}setKind(e,r){this.update({kinds:{...this.settings.kinds,[e]:r}}),r||(this.toasts=this.toasts.filter(n=>n.alert.kind!==e))}async setNotify(e){if(!e||typeof Notification>"u"){this.update({notify:!1});return}let r=Notification.permission;r==="default"&&(r=await Notification.requestPermission()),this.permission=r,this.update({notify:r==="granted"})}setSound(e){this.update({sound:e}),e&&wr()}opened(){this.unread=0}async act(e,r=""){if(e.kind==="open"){e.external?window.open(e.href,"_blank","noopener,noreferrer"):await Wt(e.href);return}const n=this.notes[e.requestId];if(n?.state==="sending"||n?.state==="sent")return;this.notes[e.requestId]={state:"sending"};const s=await jo(e.text,r,null,e.requestId);this.notes[e.requestId]=s.ok?{state:"sent"}:{state:"failed",error:s.error}}ring(e){if(document.visibilityState==="visible"&&document.hasFocus()){this.settings.sound&&wr(),this.channel?.postMessage({t:"rang",id:Pt(e)});return}Ge.leader&&setTimeout(()=>{this.rang.has(Pt(e))||(this.settings.sound&&wr(),this.notify(e))},rc)}notify(e){if(!(!this.settings.notify||typeof Notification>"u")&&Notification.permission==="granted")try{const r=new Notification(`${xn(e.kind)}: ${e.title}`,{body:e.text,tag:e.id}),n=e.actions.find(s=>s.kind==="open"&&!s.external);r.onclick=()=>{window.focus(),Wt(n?.kind==="open"?n.href:e.taskId?Ko(e.taskId):"/"),r.close()}}catch{}}}const He=new nc;var sc=f('<span class="tabular absolute -top-0.5 -right-0.5 min-w-4 rounded-full bg-brass px-1 text-[0.6875rem] leading-4 font-semibold text-on-accent" aria-hidden="true"> </span>'),gr=f("<!> <!>",1),ac=f('<span class="flex w-full items-baseline justify-between gap-3 text-xs"><span> </span> <span class="text-muted-foreground"> </span></span> <span class="line-clamp-1 font-medium"> </span> <span class="line-clamp-2 text-xs text-muted-foreground"> </span>',1),oc=f('<p class="px-2 pb-2 text-sm text-muted-foreground">Nothing has rung yet.</p>'),ic=f('<span class="flex flex-col"><span> </span> <span class="text-xs text-muted-foreground"> </span></span>'),lc=f('<span class="flex flex-col"><span>Bell sound</span> <span class="text-xs text-muted-foreground">Two strokes of a ship’s bell. Off unless you turn it on.</span></span>'),dc=f('<span class="flex flex-col"><span>Browser notifications</span> <span class="text-xs text-muted-foreground"> </span></span>'),cc=f("<!>Ring the bell to hear it",1),uc=f("<!> <!> <!> <!>",1),hc=f('<div class="border-b border-b-brass/60 px-3 py-2.5"><p class="font-display text-base font-semibold">Ship’s bell</p> <p class="text-xs text-muted-foreground">Rings for the moments that need you.</p></div> <!> <!> <!> <!> <!>',1);function pc(o,e){Se(e,!0);const r=h(()=>Object.values(He.settings.kinds).every(l=>!l)),n=h(()=>He.permission==="unsupported"?"This browser cannot show notifications.":He.permission==="denied"?"Blocked in this browser’s site settings.":"When no Wheelhouse tab is in front.");var s=Y(),d=w(s);ee(d,()=>Gd,(l,u)=>{u(l,{onOpenChange:a=>a&&He.opened(),children:(a,g)=>{var T=gr(),m=w(T);{const p=(y,x)=>{let P=()=>(x?.()).props;{let E=h(()=>He.unread?`Ship’s bell: ${He.unread} new ${He.unread===1?"alert":"alerts"}`:"Ship’s bell");bt(y,Ae(P,{variant:"ghost",size:"icon-sm",class:"relative",get"aria-label"(){return t(E)},children:(te,xe)=>{var H=gr(),re=w(H);{var S=se=>{Ho(se,{})},Q=se=>{Gn(se,{})},L=se=>{Uo(se,{})};D(re,se=>{t(r)?se(S):He.unread?se(Q,1):se(L,-1)})}var R=c(re,2);{var Me=se=>{var he=sc(),N=W(he,!0);F(()=>A(N,He.unread)),i(se,he)};D(R,se=>{He.unread&&se(Me)})}i(te,H)},$$slots:{default:!0}}))}};ee(m,()=>Rd,(y,x)=>{x(y,{child:p,$$slots:{child:!0}})})}var _=c(m,2);ee(_,()=>Ld,(p,y)=>{y(p,{align:"end",class:"w-80 max-w-[calc(100vw-2rem)] p-0",children:(x,P)=>{var E=hc(),te=c(w(E),2);ee(te,()=>Br,(Q,L)=>{L(Q,{class:"p-1",children:(R,Me)=>{var se=gr(),he=w(se);ee(he,()=>Hr,(C,k)=>{k(C,{children:(M,O)=>{We();var q=ft("Recent");i(M,q)},$$slots:{default:!0}})});var N=c(he,2);ut(N,17,()=>He.log,C=>C.id,(C,k)=>{const M=h(()=>t(k).actions.find(oe=>oe.kind==="open"));var O=Y(),q=w(O);ee(q,()=>es,(oe,ye)=>{ye(oe,{class:"flex-col items-start gap-0.5",onSelect:()=>t(M)&&He.act(t(M)),children:(K,G)=>{var ie=ac(),we=w(ie),De=b(we),Ke=W(De,!0),ze=c(De,2),pe=W(ze,!0);v(we);var Le=c(we,2),rt=W(Le,!0),Ve=c(Le,2),Ie=W(Ve,!0);F((lt,z)=>{Pe(De,1,`font-medium ${As[Os[t(k).kind]]??""}`),A(Ke,lt),A(pe,z),A(rt,t(k).title),A(Ie,t(k).text)},[()=>xn(t(k).kind),()=>Kt(t(k).at,Ge.now)]),i(K,ie)},$$slots:{default:!0}})}),i(C,O)},C=>{var k=oc();i(C,k)}),i(R,se)},$$slots:{default:!0}})});var xe=c(te,2);ee(xe,()=>ts,(Q,L)=>{L(Q,{class:"my-0"})});var H=c(xe,2);ee(H,()=>Br,(Q,L)=>{L(Q,{class:"p-1",children:(R,Me)=>{var se=gr(),he=w(se);ee(he,()=>Hr,(C,k)=>{k(C,{children:(M,O)=>{We();var q=ft("Ring for");i(M,q)},$$slots:{default:!0}})});var N=c(he,2);ut(N,17,()=>Is,C=>C.kind,(C,k)=>{var M=Y(),O=w(M);ee(O,()=>Kr,(q,oe)=>{oe(q,{get checked(){return He.settings.kinds[t(k).kind]},onCheckedChange:ye=>He.setKind(t(k).kind,ye),children:(ye,K)=>{var G=ic(),ie=b(G),we=W(ie,!0),De=c(ie,2),Ke=W(De,!0);v(G),F(()=>{A(we,t(k).label),A(Ke,t(k).hint)}),i(ye,G)},$$slots:{default:!0}})}),i(C,M)}),i(R,se)},$$slots:{default:!0}})});var re=c(H,2);ee(re,()=>ts,(Q,L)=>{L(Q,{class:"my-0"})});var S=c(re,2);ee(S,()=>Br,(Q,L)=>{L(Q,{class:"p-1",children:(R,Me)=>{var se=uc(),he=w(se);ee(he,()=>Hr,(M,O)=>{O(M,{children:(q,oe)=>{We();var ye=ft("How");i(q,ye)},$$slots:{default:!0}})});var N=c(he,2);ee(N,()=>Kr,(M,O)=>{O(M,{get checked(){return He.settings.sound},onCheckedChange:q=>He.setSound(q),children:(q,oe)=>{var ye=lc();i(q,ye)},$$slots:{default:!0}})});var C=c(N,2);{let M=h(()=>He.permission==="unsupported"||He.permission==="denied");ee(C,()=>Kr,(O,q)=>{q(O,{get checked(){return He.settings.notify},get disabled(){return t(M)},onCheckedChange:oe=>{He.setNotify(oe)},children:(oe,ye)=>{var K=dc(),G=c(b(K),2),ie=W(G,!0);v(K),F(()=>A(ie,t(n))),i(oe,K)},$$slots:{default:!0}})})}var k=c(C,2);ee(k,()=>es,(M,O)=>{O(M,{closeOnSelect:!1,onSelect:()=>wr(),children:(q,oe)=>{var ye=cc(),K=w(ye);Gn(K,{class:"text-brass"}),We(),i(q,ye)},$$slots:{default:!0}})}),i(R,se)},$$slots:{default:!0}})}),i(x,E)},$$slots:{default:!0}})}),i(a,T)},$$slots:{default:!0}})}),i(o,s),$e()}const Qt=[{step:"fetch",label:"Fetch from GitHub"},{step:"fast-forward",label:"Fast-forward the clone"},{step:"install",label:"Install packages (npm ci)"},{step:"build",label:"Build"},{step:"restart",label:"Restart Wheelhouse"}],fc=[{step:"npm-install",label:"Install from npm"},{step:"restart",label:"Restart Wheelhouse"}],Us={step:"link",label:"Link the clone (npm link)"};[...Qt.slice(0,-1),Qt[4]];Qt[2],Qt[3],Qt[4];var vc=f('<!> <span class="hidden md:inline"> </span>',1),gc=f('<span class="absolute top-1 right-1 size-1.5 rounded-full bg-warning" aria-hidden="true"></span>'),Rr=f("<!> <!>",1),mc=f('· from <a class="hover:underline" target="_blank" rel="noreferrer"> </a> ',1),bc=f('<span class="size-4 text-center" aria-hidden="true">·</span>'),xc=f("<li><!> </li>"),_c=f('<p class="mt-3 text-xs text-muted-foreground">Waiting for Wheelhouse to come back…</p>'),yc=f('<ol class="space-y-1.5" aria-label="Upgrade progress"></ol> <!>',1),wc=f('<p class="mt-1 text-xs text-muted-foreground"> </p>'),kc=f('<p class="flex items-center gap-2"><!>Upgraded and restarted.</p> <!>',1),Cc=f('<pre class="mt-2 max-h-32 overflow-auto rounded-md bg-muted/60 px-2.5 py-1.5 font-mono text-[0.7rem] whitespace-pre-wrap"> </pre>'),os=f('<pre class="mt-2 max-h-32 overflow-auto rounded-md bg-muted/60 px-2.5 py-1.5 font-mono text-xs"> </pre>'),is=f('<p class="flex items-start gap-2"><!> <span> </span></p> <!> <!>',1),Tc=f('<p class="flex items-center gap-2 text-muted-foreground"><!> </p>'),Pc=f('<p class="flex items-center gap-2"><!>Up to date.</p> <p class="mt-1 text-xs text-muted-foreground"> </p>',1),Sc=f('<span class="font-normal text-muted-foreground"> </span>'),$c=f('<li class="text-xs"><span class="line-clamp-2"> </span> <span class="tabular text-muted-foreground"> </span></li>'),Mc=f('<li class="text-xs text-muted-foreground"> </li>'),Ic=f('<a target="_blank" rel="noreferrer" class="mt-2 inline-flex items-center gap-1 text-xs text-sea hover:underline">Compare on GitHub<!></a>'),Ac=f(`Upgrading runs <code>npm install -g @chrisjowen/wheelhouse</code> and restarts
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{o as Ot}from"../chunks/B42VotjV.js";import{p as Se,m as I,y as Y,f as w,g as t,a as i,b as $e,h,i as be,j as Lt,u as ct,k as xa,e as b,r as v,c as f,q as st,t as F,aC as _a,bJ as ya,ag as $t,s as c,o as W,l as ds,n as We,A as ft,aD as wa,$ as ka}from"../chunks/CEfkcOME.js";import{i as D}from"../chunks/D4ikcNuh.js";import{s as Ue}from"../chunks/s1S1BAXN.js";import{c as ee}from"../chunks/CGbw525c.js";import{h as Ca}from"../chunks/C9FkVhl-.js";import{j as nt,s as de,r as An,e as ut,d as Pe,c as Ta,h as Gr,k as Jt}from"../chunks/BMjXQSgN.js";import{g as Wt,a as Pa,o as Sa,i as $a}from"../chunks/C4rlO5ce.js";import{p as Ee}from"../chunks/CWCjMcSQ.js";import{l as Ge,b as cs,c as cr,a as us}from"../chunks/CU--1UbH.js";import{i as Yt,t as On}from"../chunks/Z_T9JZ0p.js";import{z as Ma}from"../chunks/DTpgmq3M.js";import{P as Ia,a as Fr,r as Aa}from"../chunks/Bk_ZNhuN.js";import{s as En,a as zr,n as Oa}from"../chunks/B_vxNA4w.js";import{m as Ea}from"../chunks/Dbp9eKZl.js";import{e as Da,r as Na}from"../chunks/Z0GxSwEl.js";import{S as Fa,r as za,t as La,a as Wa}from"../chunks/g2M5EibM.js";import{S as ja}from"../chunks/BXN538J3.js";import{l as Ka,o as ir,d as ur,a as pt,s as A,e as kr}from"../chunks/CPPNfCxh.js";import{b as er}from"../chunks/DKCbih8n.js";import{s as Ae,r as Oe,p as $}from"../chunks/D42BPZCD.js";import{P as Ba}from"../chunks/DSX3BpgH.js";import{n as Ha}from"../chunks/BUYzAikv.js";import{G as Ua,H as hs,I as ps,J as fs,K as Cr,L as Ra,M as qa,m as ar,O as Ga,Q as Va,j as vs,P as gs,h as ms,S as Ya,l as Xa,v as Ja,n as Lr,R as Za}from"../chunks/DcngPT1B.js";import{a as Xt,r as Dn,p as Vr}from"../chunks/-Ivlm0RJ.js";import{c as Qa}from"../chunks/DkLM7lHB.js";import{b as eo}from"../chunks/B6yYMcjx.js";import{S as to}from"../chunks/C3dZ1eoF.js";import{C as Zt}from"../chunks/BftdAJED.js";import{P as ro}from"../chunks/CSPx7z8H.js";import{I as wt,t as Yr,a as no}from"../chunks/DBuj1e9B.js";import{p as so}from"../chunks/BLcrDXJf.js";import{c as Bt}from"../chunks/CrOCeWF7.js";import{L as ao,M as oo,j as io,b as J,N as lo,O as co,Q as uo,R as ho,U as Tr,V as Zr,W as Qr,X as dr,Y as bs,Z as tr,_ as xs,K as vt,u as _s,m as ot,$ as po,a0 as fo,z as ys,A as en,r as Sr,a1 as vo,a2 as go,H as tn,a3 as mo,a4 as bo,a5 as xo,C as Ht,v as ws,w as xt,k as Ut,B as ks,a6 as $r,G as Cs,x as Ts,t as jt,a7 as zt,a8 as _o,a9 as yo,I as Ps,aa as wo,J as Ss,ab as $s,c as Et,s as Ms,ac as ko,P as hr,h as Co,f as To,e as Po,a as Nn,g as Fn}from"../chunks/DRPGxn7H.js";import{B as bt}from"../chunks/D4Okmn3b.js";import{a as Kt,p as So,c as $o,g as Mo,h as Io,b as Ao,e as Oo,n as Eo,d as Do}from"../chunks/WRwU91GU.js";import{a as No,h as Fo,i as zo,b as Lo}from"../chunks/DW78OM6E.js";import{M as Wo}from"../chunks/BNnZxuye.js";import{A as Is,r as Pt,b as zn,s as jo,c as Ko,f as Ln}from"../chunks/CuYc7d4s.js";import{t as As,b as Os,d as Bo}from"../chunks/DrX7Uhja.js";import{B as Ho}from"../chunks/oz1KZkRS.js";import{B as Uo}from"../chunks/C9vOtGP4.js";import{w as mt}from"../chunks/pKdinMXX.js";import{L as xr}from"../chunks/BMEfZRmb.js";import{T as Wn}from"../chunks/CiB1IASV.js";import{R as Ro}from"../chunks/BUmmYEUU.js";import{C as jn}from"../chunks/q8XKXA7h.js";import{E as rn}from"../chunks/BexGUSY7.js";import{A as Es}from"../chunks/BTPd4OWk.js";import{A as qo}from"../chunks/lJr_B3U6.js";import{G as Ds,S as Kn}from"../chunks/BUDmXDBn.js";import{C as Ns}from"../chunks/CuD4TGYr.js";import{k as Fs}from"../chunks/D5xbT1cY.js";import{B as Go}from"../chunks/FbsbMm-u.js";import{a as Vo,M as Yo}from"../chunks/fNoseNKL.js";import{S as Xo}from"../chunks/C1_mhCjD.js";import{U as Jo,T as Zo}from"../chunks/DFCS-1G4.js";import{P as Qo}from"../chunks/DsdpKvSM.js";import{P as ei}from"../chunks/B0iegdDx.js";import"../chunks/DIVbIv6L.js";import{a as Bn}from"../chunks/B-JNrTge.js";import{f as ti}from"../chunks/ALbIn9xu.js";import{X as Xr}from"../chunks/C6E-ekUK.js";import{s as It}from"../chunks/DlBoDmKe.js";import{p as Hn,A as Wr,s as ri,P as ni,k as si,c as ai,L as oi}from"../chunks/bVnBahjY.js";import{p as ii,C as li}from"../chunks/B_2dI8B-.js";import{e as di}from"../chunks/BJ2W5Dwa.js";import{l as ci}from"../chunks/DKap1_6w.js";import{T as ui,a as hi,p as pi}from"../chunks/BBm_Fs-b.js";import{C as fi}from"../chunks/jGjhSZaO.js";import{C as vi}from"../chunks/LJz6leLj.js";import{L as jr}from"../chunks/DnSfLnEu.js";import{W as gi,S as mi}from"../chunks/BF_cZ9t1.js";import{M as bi}from"../chunks/DgIRKToT.js";import{A as xi}from"../chunks/aXaOr426.js";import{D as _i}from"../chunks/DBAsB2Vf.js";import{G as yi}from"../chunks/CuBB2sQo.js";import{C as wi}from"../chunks/B_K7bQIx.js";import{C as ki}from"../chunks/uFR0qOc6.js";import{C as Ci}from"../chunks/DjjMMxuF.js";function Ti(o,e){const r=l=>{try{const u=new URL(String(l),location.href);return u.pathname+u.search}catch{return String(l)}},n=l=>{try{return JSON.stringify(l)}catch{return String(l)}};addEventListener("error",l=>{const u=l.target;if(u&&u!==window&&u.tagName)o("resource",`Could not load ${u.tagName.toLowerCase()} ${u.src||u.href||""}`);else{const a=l;o("exception",a.message,{source:a.filename?`${a.filename.split("/").pop()}:${a.lineno}`:null})}},!0),addEventListener("unhandledrejection",l=>o("exception",`Unhandled: ${l.reason&&l.reason.message?l.reason.message:l.reason}`));const s=console.error;console.error=function(...l){return o("console",l.map(u=>u instanceof Error?u.message:typeof u=="object"?n(u):String(u)).join(" ")),s.apply(this,l)};const d=window.fetch;d&&(window.fetch=async function(l,u){const a=l,g=typeof l=="string"?l:l instanceof URL?l.href:a?.url,T=u&&u.method||a&&a.method||"GET";if(e&&g&&e(String(g)))return d.call(this,l,u);try{const m=await d.call(this,l,u);return m.status>=400&&o("network",`${T} ${r(g)} → ${m.status}`),m}catch(m){throw m&&m.name==="AbortError"||o("network",`${T} ${r(g)} failed (${m&&m.message})`),m}})}const Un="/api/soundings/beacon",Pi=3e4,Si=25,$i=200,Rn=6e4,Mi=1e4,Ii=/^(loading|reading|checking|looking|fetching|opening|connecting)/i;let qn=!1;function Ai(o){if(qn||typeof window>"u")return()=>{};qn=!0;const e=window.fetch.bind(window),r=new Map,n=(p,y,x=!1)=>{const P=location.pathname,E=`${p}|${P}|${x?"":y}`,te=r.get(E);te?(te.count++,x&&(te.message=y)):r.size<Si&&r.set(E,{kind:p,message:y,page:P,count:1})};Ti((p,y,x)=>n(p,`${String(y)}${x?.source?` (${x.source})`:""}`.slice(0,300)),p=>p.includes(Un));let s=0,d=null;try{d=new PerformanceObserver(p=>{for(const y of p.getEntries())y.duration<$i||(s=Math.max(s,y.duration),n("longtask",`The page froze for up to ${Math.round(s)} ms at a time`,!0))}),d.observe({type:"longtask",buffered:!1})}catch{}const l=new WeakMap,u=new WeakSet,a=()=>{const p=Date.now(),y=[...document.querySelectorAll('[aria-busy="true"]'),...[...document.querySelectorAll(".animate-spin")].filter(x=>Ii.test((x.parentElement?.textContent??"").trim()))];for(const x of y){if(!x.offsetParent||u.has(x))continue;const P=l.get(x)??p;if(l.set(x,P),p-P<Rn)continue;u.add(x);const E=(x.getAttribute("aria-label")||x.parentElement?.textContent||"").replace(/\s+/g," ").trim().slice(0,80);n("stuck",`Still loading after ${Math.round(Rn/1e3)} s${E?`: “${E}”`:""}`)}},g=(p=!1)=>{if(!r.size)return;const y=o();if(!y)return;const x=[...r.values()];r.clear(),s=0,e(Un,{method:"POST",headers:{"content-type":"application/json",[ja]:y},body:JSON.stringify({signals:x}),keepalive:p}).catch(()=>{})},T=setInterval(()=>g(),Pi),m=setInterval(a,Mi),_=()=>g(!0);return addEventListener("pagehide",_),()=>{clearInterval(T),clearInterval(m),d?.disconnect(),removeEventListener("pagehide",_)}}var Oi=new Set(["$$slots","$$events","$$legacy"]);function Gn(o,e){let r=Oe(e,Oi);const n={name:"bell-ring",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Ei=new Set(["$$slots","$$events","$$legacy"]);function Di(o,e){let r=Oe(e,Ei);const n={name:"blocks",size:24,node:[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Ni=new Set(["$$slots","$$events","$$legacy"]);function Fi(o,e){let r=Oe(e,Ni);const n={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1"}],["circle",{cx:"19",cy:"12",r:"1"}],["circle",{cx:"5",cy:"12",r:"1"}]],aliases:["more-horizontal"]};wt(o,Ae(()=>r,{get icon(){return n}}))}var zi=new Set(["$$slots","$$events","$$legacy"]);function Li(o,e){let r=Oe(e,zi);const n={name:"inbox",size:24,node:[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Wi=new Set(["$$slots","$$events","$$legacy"]);function ji(o,e){let r=Oe(e,Wi);const n={name:"message-circle",size:24,node:[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Ki=new Set(["$$slots","$$events","$$legacy"]);function Bi(o,e){let r=Oe(e,Ki);const n={name:"moon",size:24,node:[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Hi=new Set(["$$slots","$$events","$$legacy"]);function Ui(o,e){let r=Oe(e,Hi);const n={name:"panel-left-close",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M9 3v18"}],["path",{d:"m16 15-3-3 3-3"}]],aliases:["sidebar-close"]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Ri=new Set(["$$slots","$$events","$$legacy"]);function qi(o,e){let r=Oe(e,Ri);const n={name:"panel-left-open",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M9 3v18"}],["path",{d:"m14 9 3 3-3 3"}]],aliases:["sidebar-open"]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Gi=new Set(["$$slots","$$events","$$legacy"]);function Vi(o,e){let r=Oe(e,Gi);const n={name:"pin",size:24,node:[["path",{d:"M12 17v5"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Yi=new Set(["$$slots","$$events","$$legacy"]);function Xi(o,e){let r=Oe(e,Yi);const n={name:"radio-tower",size:24,node:[["path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9"}],["path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5"}],["circle",{cx:"12",cy:"9",r:"2"}],["path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47"}],["path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1"}],["path",{d:"M9.5 18h5"}],["path",{d:"m8 22 4-11 4 11"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}var Ji=new Set(["$$slots","$$events","$$legacy"]);function Zi(o,e){let r=Oe(e,Ji);const n={name:"sun",size:24,node:[["circle",{cx:"12",cy:"12",r:"4"}],["path",{d:"M12 2v2"}],["path",{d:"M12 20v2"}],["path",{d:"m4.93 4.93 1.41 1.41"}],["path",{d:"m17.66 17.66 1.41 1.41"}],["path",{d:"M2 12h2"}],["path",{d:"M20 12h2"}],["path",{d:"m6.34 17.66-1.41 1.41"}],["path",{d:"m19.07 4.93-1.41 1.41"}]]};wt(o,Ae(()=>r,{get icon(){return n}}))}function Qi(o,e){Se(e,!0);const r=h(()=>"component"in e.entry.render?Ba[e.entry.render.component]:void 0);let n=be(!1);Ot(()=>{I(n,!0)});var s=Y(),d=w(s);{var l=a=>{Ia(a,{get entry(){return e.entry},get data(){return e.entry.content.value},quiet:!0})},u=a=>{var g=Y(),T=w(g);Ka(T,{failed:_=>{}},_=>{var p=Y(),y=w(p);ee(y,()=>t(r),(x,P)=>{P(x,{get data(){return e.entry.content.value},get entry(){return e.entry}})}),i(_,p)}),i(a,g)};D(d,a=>{t(n)&&"element"in e.entry.render&&e.entry.content.available?a(l):t(n)&&t(r)&&e.entry.content.available&&a(u,1)})}i(o,s),$e()}function Rt(o){let e=be(Lt(o));return{[oo]:!0,[ao]:!0,get current(){return t(e)},set current(r){I(e,r,!0)}}}Rt.from=io;Rt.with=J;Rt.flatten=lo;Rt.readonly=co;Rt.isBox=uo;Rt.isWritableBox=ho;function nn(o){ct(()=>xa(()=>o()))}function el(o){return window.getComputedStyle(o).getPropertyValue("direction")}function tl(o="ltr",e="horizontal"){return{horizontal:o==="rtl"?Qr:Zr,vertical:dr}[e]}function rl(o="ltr",e="horizontal"){return{horizontal:o==="rtl"?Zr:Qr,vertical:Tr}[e]}function nl(o="ltr",e="horizontal"){return["ltr","rtl"].includes(o)||(o="ltr"),["horizontal","vertical"].includes(e)||(e="horizontal"),{nextKey:tl(o,e),prevKey:rl(o,e)}}class sl{#e;#t=Rt(null);constructor(e){this.#e=e}getCandidateNodes(){return this.#e.rootNode.current?this.#e.candidateSelector?Array.from(this.#e.rootNode.current.querySelectorAll(this.#e.candidateSelector)):this.#e.candidateAttr?Array.from(this.#e.rootNode.current.querySelectorAll(`[${this.#e.candidateAttr}]:not([data-disabled])`)):[]:[]}focusFirstCandidate(){const e=this.getCandidateNodes();e.length&&e[0]?.focus()}handleKeydown(e,r,n=!1){const s=this.#e.rootNode.current;if(!s||!e)return;const d=this.getCandidateNodes();if(!d.length)return;const l=d.indexOf(e),u=el(s),{nextKey:a,prevKey:g}=nl(u,this.#e.orientation.current),T=this.#e.loop.current,m={[a]:l+1,[g]:l-1,[xs]:0,[bs]:d.length-1};if(n){const y=a===dr?Zr:dr,x=g===Tr?Qr:Tr;m[y]=l+1,m[x]=l-1}let _=m[r.key];if(_===void 0)return;r.preventDefault(),_<0&&T?_=d.length-1:_===d.length&&T&&(_=0);const p=d[_];if(p)return p.focus(),this.#t.current=p.id,this.#e.onCandidateFocus?.(p),p}getTabIndex(e){const r=this.getCandidateNodes(),n=this.#t.current!==null;return e&&!n&&r[0]===e?(this.#t.current=e.id,0):e?.id===this.#t.current?0:-1}setCurrentTabStopId(e){this.#t.current=e}focusCurrentTabStop(){const e=this.#t.current;if(!e)return;const r=this.#e.rootNode.current?.querySelector(`#${e}`);!r||!tr(r)||r.focus()}}class al{eventName;options;constructor(e,r={bubbles:!0,cancelable:!0}){this.eventName=e,this.options=r}createEvent(e){return new CustomEvent(this.eventName,{...this.options,detail:e})}dispatch(e,r){const n=this.createEvent(r);return e.dispatchEvent(n),n}listen(e,r,n){const s=d=>{r(d)};return ir(e,this.eventName,s,n)}}function zs(o,e,r){const n=e.toLowerCase();if(n.endsWith(" ")){const m=n.slice(0,-1);if(o.filter(x=>x.toLowerCase().startsWith(m)).length<=1)return zs(o,m,r);const p=r?.toLowerCase();if(p&&p.startsWith(m)&&p.charAt(m.length)===" "&&e.trim()===m)return r;const y=o.filter(x=>x.toLowerCase().startsWith(n));if(y.length>0){const x=r?o.indexOf(r):-1;return Vn(y,Math.max(x,0)).find(te=>te!==r)||r}}const d=e.length>1&&Array.from(e).every(m=>m===e[0])?e[0]:e,l=d.toLowerCase(),u=r?o.indexOf(r):-1;let a=Vn(o,Math.max(u,0));d.length===1&&(a=a.filter(m=>m!==r));const T=a.find(m=>m?.toLowerCase().startsWith(l));return T!==r?T:void 0}function Vn(o,e){return o.map((r,n)=>o[(e+n)%o.length])}const ol={afterMs:1e4,onChange:vt};function il(o,e){const{afterMs:r,onChange:n,getWindow:s}={...ol,...e};let d=null,l=be(Lt(o));function u(){return s().setTimeout(()=>{I(l,o,!0),n?.(o)},r)}return ct(()=>()=>{d&&s().clearTimeout(d)}),J(()=>t(l),a=>{I(l,a,!0),n?.(a),d&&s().clearTimeout(d),d=u()})}class ll{#e;#t;#r=h(()=>this.#e.onMatch?this.#e.onMatch:e=>e.focus());#n=h(()=>this.#e.getCurrentItem?this.#e.getCurrentItem:this.#e.getActiveElement);constructor(e){this.#e=e,this.#t=il("",{afterMs:1e3,getWindow:e.getWindow}),this.handleTypeaheadSearch=this.handleTypeaheadSearch.bind(this),this.resetTypeahead=this.resetTypeahead.bind(this)}handleTypeaheadSearch(e,r){if(!r.length)return;this.#t.current=this.#t.current+e;const n=t(this.#n)(),s=r.find(a=>a===n)?.textContent?.trim()??"",d=r.map(a=>a.textContent?.trim()??""),l=zs(d,this.#t.current,s),u=r.find(a=>a.textContent?.trim()===l);return u&&t(this.#r)(u),u}resetTypeahead(){this.#t.current=""}get search(){return this.#t.current}}var dl=new Set(["$$slots","$$events","$$legacy","id","children","child","width","height"]),cl=_a('<svg viewBox="0 0 30 10" preserveAspectRatio="none" data-arrow=""><polygon points="0,0 30,0 15,10" fill="currentColor"></polygon></svg>'),ul=f("<span><!></span>");function hl(o,e){Se(e,!0);let r=$(e,"id",19,_s),n=$(e,"width",3,10),s=$(e,"height",3,5),d=Oe(e,dl);const l=h(()=>ot(d,{id:r()}));var u=Y(),a=w(u);{var g=m=>{var _=Y(),p=w(_);Ue(p,()=>e.child,()=>({props:t(l)})),i(m,_)},T=m=>{var _=ul();nt(_,()=>({...t(l)}));var p=b(_);{var y=P=>{var E=Y(),te=w(E);Ue(te,()=>e.children??st),i(P,E)},x=P=>{var E=cl();F(()=>{de(E,"width",n()),de(E,"height",s())}),i(P,E)};D(p,P=>{e.children?P(y):P(x,-1)})}v(_),i(m,_)};D(a,m=>{e.child?m(g):m(T,-1)})}i(o,u),$e()}var pl=new Set(["$$slots","$$events","$$legacy","id","ref"]);function fl(o,e){Se(e,!0);let r=$(e,"id",19,_s),n=$(e,"ref",15,null),s=Oe(e,pl);const d=Ua.create({id:J(()=>r()),ref:J(()=>n(),u=>n(u))}),l=h(()=>ot(s,d.props));hl(o,Ae(()=>t(l))),$e()}const vl=[ys,en],gl=[dr,po,xs],Ls=[Tr,fo,bs],ml=[...gl,...Ls];function bl(o){return o==="indeterminate"}function xl(o){return bl(o)?"indeterminate":o?"checked":"unchecked"}function St(o){return o.pointerType==="mouse"}function _l(o,{select:e=!1}={}){if(!o||!o.focus)return;const r=Sr(o);if(r.activeElement===o)return;const n=r.activeElement;o.focus({preventScroll:!0}),o!==n&&vo(o)&&e&&o.select()}function yl(o,{select:e=!1}={},r){const n=r();for(const s of o)if(_l(s,{select:e}),r()!==n)return!0}let qt=be(!1);class At{static _refs=0;static _cleanup;constructor(){ct(()=>(At._refs===0&&(At._cleanup=ya(()=>{const e=[],r=s=>{I(qt,!1)},n=s=>{I(qt,!0)};return e.push(ir(document,"pointerdown",r,{capture:!0}),ir(document,"keydown",n,{capture:!0})),ct(()=>{if(t(qt))return ir(document,"pointermove",r,{capture:!0})}),go(...e)})),At._refs++,()=>{At._refs--,At._refs===0&&(I(qt,!1),At._cleanup?.())}))}get current(){return t(qt)}set current(e){I(qt,e,!0)}}function lr(){return{getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"}}function wl(o,e){if(!tn(o,lr()))return kl(o,e);const r=Sr(o),n=mo(r.body,lr());e==="prev"&&n.reverse();const s=n.indexOf(o);return s===-1?r.body:n.slice(s+1)[0]}function kl(o,e){const r=Sr(o);if(!bo(o,lr()))return r.body;const n=xo(r.body,lr());e==="prev"&&n.reverse();const s=n.indexOf(o);return s===-1?r.body:n.slice(s+1).find(l=>tn(l,lr()))??r.body}const sn=new Ht("Menu.Root"),an=new Ht("Menu.Root | Menu.Sub"),on=new Ht("Menu.Content"),Cl=new Ht("Menu.Group | Menu.RadioGroup"),Tl=new Ht("Menu.CheckboxGroup"),Pl=new al("bitsmenuopen",{bubbles:!1,cancelable:!0}),Sl=Ss({component:"menu",parts:["trigger","content","sub-trigger","item","group","group-heading","checkbox-group","checkbox-item","radio-group","radio-item","separator","sub-content","arrow"]});class $l{#e;#t=null;#r=null;#n=!1;#s=null;#o=null;#a=null;#i=null;constructor(e){this.#e=e,xt([e.triggerNode,e.contentNode,e.enabled],([r,n,s])=>{if(this.#p(),!r||!n||!s)return;const d=m=>{St(m)&&(this.#i={x:m.clientX,y:m.clientY},this.#n||this.#m(m,"content"))},l=m=>{St(m)&&this.#b(m,"content")},u=m=>{St(m)&&(this.#n||this.#m(m,"trigger"))},a=m=>{if(St(m)){if(jt(m.relatedTarget)){const _=this.#e.subContentSelector(),p=m.relatedTarget.closest(_);if(p&&p!==n&&p.id&&!!n.querySelector(`[aria-controls="${p.id}"]`))return}this.#b(m,"trigger")}},g=m=>{St(m)&&this.#u()},T=m=>{St(m)&&this.#u()};return r.addEventListener("pointermove",d),r.addEventListener("pointerleave",l),r.addEventListener("pointerenter",g),n.addEventListener("pointermove",u),n.addEventListener("pointerleave",a),n.addEventListener("pointerenter",T),()=>{r.removeEventListener("pointermove",d),r.removeEventListener("pointerleave",l),r.removeEventListener("pointerenter",g),n.removeEventListener("pointermove",u),n.removeEventListener("pointerleave",a),n.removeEventListener("pointerenter",T),this.#p()}}),$s(()=>{this.#p()})}#l(){const e=this.#e.parentContentNode();return e?e.getBoundingClientRect():this.#e.triggerNode()?.getBoundingClientRect()??null}#d(e,r){const n=this.#e.triggerNode(),s=this.#e.contentNode();if(!n||!s)return null;const d=n.getBoundingClientRect(),l=s.getBoundingClientRect(),u=Il(d,l);let a,g,T;return r==="content"?(a=this.#n?this.#o??e:e,g=l):(a=this.#i??e,g=this.#l()??d,T=l),this.#o=a,{corridor:Al(d,l,u),intent:Ol(a,g,u,r,T),targetRect:g,side:u}}#g(e,r,n){return Yn(e,r)||Yn(e,n)}#m(e,r){const n={x:e.clientX,y:e.clientY};this.#d(n,r)&&(this.#s=r,this.#a=n)}#b(e,r){if(!this.#e.enabled())return;const n=this.#e.triggerNode(),s=this.#e.contentNode();if(!n||!s)return;const d=e.relatedTarget;if(jt(d)&&(r==="content"&&s.contains(d)||r==="trigger"&&n.contains(d)))return;const l={x:e.clientX,y:e.clientY},u=this.#d(l,r);if(u){if(!Xn(l,u.targetRect)&&!this.#g(l,u.corridor,u.intent)){this.#y();return}this.#n=!0,this.#s=r,this.#a=l,this.#e.setIsPointerInTransit(!0),this.#C(),this.#_()}}#c=null;#u(){if(!this.#n)return;const e=this.#s==="trigger";this.#x(),this.#v(),this.#n=!1,this.#y(),e?(this.#f(),this.#c=setTimeout(()=>{this.#c=null,this.#e.setIsPointerInTransit(!1)},100)):this.#e.setIsPointerInTransit(!1)}#f(){this.#c!==null&&(clearTimeout(this.#c),this.#c=null)}#h(){const e=this.#a;this.#x(),this.#v(),this.#f(),this.#n=!1,this.#e.setIsPointerInTransit(!1),this.#y(),this.#e.onIntentExit(e)}#p(){this.#x(),this.#v(),this.#f(),this.#n&&this.#e.setIsPointerInTransit(!1),this.#n=!1,this.#s=null,this.#o=null,this.#a=null,this.#i=null}#k(e){const r=this.#e.contentNode();if(!r)return!1;const s=r.ownerDocument.elementFromPoint(e.x,e.y);if(!s)return!1;const d=this.#e.subContentSelector(),l=s.closest(d);return!l||l===r?!1:l.id?!!r.querySelector(`[aria-controls="${l.id}"]`):!1}#w=e=>{if(!this.#n||!this.#s||!St(e))return;const r=this.#e.triggerNode(),n=this.#e.contentNode();if(!r||!n){this.#h();return}this.#v();const s={x:e.clientX,y:e.clientY};this.#a=s;const d=r.getBoundingClientRect(),l=n.getBoundingClientRect();if(this.#s==="content"&&Xn(s,l)){this.#u();return}if(this.#s==="trigger"&&Ml(s,d,4)){this.#u();return}if(this.#k(s)){this.#_();return}const u=this.#d(s,this.#s);if(!u){this.#h();return}if(this.#g(s,u.corridor,u.intent)){this.#_();return}this.#h()};#C(){if(this.#t)return;const e=Sr(this.#e.triggerNode()??this.#e.contentNode());e&&(e.addEventListener("pointermove",this.#w,!0),this.#t=()=>{e.removeEventListener("pointermove",this.#w,!0),this.#t=null})}#x(){this.#t?.()}#_(){this.#v(),this.#r=setTimeout(()=>{this.#r=null,this.#n&&this.#h()},500)}#v(){this.#r!==null&&(clearTimeout(this.#r),this.#r=null)}#y(){this.#s=null,this.#o=null,this.#a=null}}function Yn(o,e){const{x:r,y:n}=o;let s=!1;for(let d=0,l=e.length-1;d<e.length;l=d++){const u=e[d].x,a=e[d].y,g=e[l].x,T=e[l].y;a>n!=T>n&&r<(g-u)*(n-a)/(T-a)+u&&(s=!s)}return s}function Xn(o,e){return o.x>=e.left&&o.x<=e.right&&o.y>=e.top&&o.y<=e.bottom}function Ml(o,e,r){return o.x>=e.left+r&&o.x<=e.right-r&&o.y>=e.top+r&&o.y<=e.bottom-r}function Il(o,e){const r=o.left+o.width/2,n=o.top+o.height/2,s=e.left+e.width/2,d=e.top+e.height/2,l=s-r,u=d-n;return Math.abs(l)>Math.abs(u)?l>0?"right":"left":u>0?"bottom":"top"}function Al(o,e,r){switch(r){case"top":return[{x:Math.min(o.left,e.left)-2,y:o.top},{x:Math.min(o.left,e.left)-2,y:e.bottom},{x:Math.max(o.right,e.right)+2,y:e.bottom},{x:Math.max(o.right,e.right)+2,y:o.top}];case"bottom":return[{x:Math.min(o.left,e.left)-2,y:o.bottom},{x:Math.min(o.left,e.left)-2,y:e.top},{x:Math.max(o.right,e.right)+2,y:e.top},{x:Math.max(o.right,e.right)+2,y:o.bottom}];case"left":return[{x:o.left,y:Math.min(o.top,e.top)-2},{x:e.right,y:Math.min(o.top,e.top)-2},{x:e.right,y:Math.max(o.bottom,e.bottom)+2},{x:o.left,y:Math.max(o.bottom,e.bottom)+2}];case"right":return[{x:o.right,y:Math.min(o.top,e.top)-2},{x:e.left,y:Math.min(o.top,e.top)-2},{x:e.left,y:Math.max(o.bottom,e.bottom)+2},{x:o.right,y:Math.max(o.bottom,e.bottom)+2}]}}function Ol(o,e,r,n,s){const l=n==="trigger"?El(r):r,u=s?Math.min(e.top,s.top)-8:e.top-8,a=s?Math.max(e.bottom,s.bottom)+8:e.bottom+8,g=s?Math.min(e.left,s.left)-8:e.left-8,T=s?Math.max(e.right,s.right)+8:e.right+8;switch(l){case"right":return[o,{x:e.left,y:u},{x:e.left,y:a}];case"left":return[o,{x:e.right,y:u},{x:e.right,y:a}];case"bottom":return[o,{x:g,y:e.top},{x:T,y:e.top}];case"top":return[o,{x:g,y:e.bottom},{x:T,y:e.bottom}]}}function El(o){switch(o){case"top":return"bottom";case"bottom":return"top";case"left":return"right";case"right":return"left"}}class ln{static create(e){const r=new ln(e);return sn.set(r)}opts;isUsingKeyboard=new At;#e=be(!1);get ignoreCloseAutoFocus(){return t(this.#e)}set ignoreCloseAutoFocus(e){I(this.#e,e,!0)}#t=be(!1);get isPointerInTransit(){return t(this.#t)}set isPointerInTransit(e){I(this.#t,e,!0)}constructor(e){this.opts=e}getBitsAttr=e=>Sl.getAttr(e,this.opts.variant.current)}class dn{static create(e,r){return an.set(new dn(e,r,null))}opts;root;parentMenu;#e=be(J(()=>""));get contentId(){return t(this.#e)}set contentId(e){I(this.#e,e)}#t=be(null);get contentNode(){return t(this.#t)}set contentNode(e){I(this.#t,e,!0)}contentPresence;#r=be(null);get triggerNode(){return t(this.#r)}set triggerNode(e){I(this.#r,e,!0)}constructor(e,r,n){this.opts=e,this.root=r,this.parentMenu=n,this.contentPresence=new ws({ref:J(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)},shouldSkipExitAnimation:()=>this.root.opts.variant.current!=="menubar"||this.parentMenu!==null?!1:this.root.opts.shouldSkipExitAnimation?.()??!1}),n&&xt(()=>n.opts.open.current,()=>{n.opts.open.current||(this.opts.open.current=!1)})}toggleOpen(){this.opts.open.current=!this.opts.open.current}onOpen(){this.opts.open.current=!0}onClose(){this.opts.open.current=!1}}class cn{static create(e){return on.set(new cn(e,an.get()))}opts;parentMenu;rovingFocusGroup;domContext;attachment;#e=be("");get search(){return t(this.#e)}set search(e){I(this.#e,e,!0)}#t=0;#r;#n=be(!1);get mounted(){return t(this.#n)}set mounted(e){I(this.#n,e,!0)}#s;constructor(e,r){this.opts=e,this.parentMenu=r,this.domContext=new Ts(e.ref),this.attachment=Ut(this.opts.ref,n=>{this.parentMenu.contentNode!==n&&(this.parentMenu.contentNode=n)}),r.contentId=e.id,this.#s=e.isSub??!1,this.onkeydown=this.onkeydown.bind(this),this.onblur=this.onblur.bind(this),this.onfocus=this.onfocus.bind(this),this.handleInteractOutside=this.handleInteractOutside.bind(this),new $l({contentNode:()=>this.parentMenu.contentNode,triggerNode:()=>this.parentMenu.triggerNode,parentContentNode:()=>this.parentMenu.parentMenu?.contentNode??null,subContentSelector:()=>`[${this.parentMenu.root.getBitsAttr("sub-content")}]`,enabled:()=>this.parentMenu.opts.open.current&&!!this.parentMenu.triggerNode?.hasAttribute(this.parentMenu.root.getBitsAttr("sub-trigger")),onIntentExit:n=>{this.parentMenu.opts.open.current=!1,this.#i(n)},setIsPointerInTransit:n=>{this.parentMenu.root.isPointerInTransit=n}}),this.#r=new ll({getActiveElement:()=>this.domContext.getActiveElement(),getWindow:()=>this.domContext.getWindow()}).handleTypeaheadSearch,this.rovingFocusGroup=new sl({rootNode:J(()=>this.parentMenu.contentNode),candidateAttr:this.parentMenu.root.getBitsAttr("item"),loop:this.opts.loop,orientation:J(()=>"vertical")}),xt(()=>this.parentMenu.contentNode,n=>{if(!n)return;const s=()=>{zt(()=>{this.parentMenu.root.isUsingKeyboard.current&&this.rovingFocusGroup.focusFirstCandidate()})};return Pl.listen(n,s)}),ct(()=>{this.parentMenu.opts.open.current||this.domContext.getWindow().clearTimeout(this.#t)})}#o(){const e=this.parentMenu.contentNode;return e?Array.from(e.querySelectorAll(`[${this.parentMenu.root.getBitsAttr("item")}]:not([data-disabled])`)):[]}#a(){return this.parentMenu.root.isPointerInTransit}#i(e){if(!e)return;const r=this.parentMenu.parentMenu?.contentNode;if(!r)return;const n=this.domContext.getDocument().elementFromPoint(e.x,e.y);if(!jt(n))return;const s=n.closest(`[${this.parentMenu.root.getBitsAttr("sub-trigger")}]`);!s||!r.contains(s)||s!==this.parentMenu.triggerNode&&s.dispatchEvent(new PointerEvent("pointermove",{bubbles:!0,cancelable:!0,pointerType:"mouse",clientX:e.x,clientY:e.y}))}onCloseAutoFocus=e=>{if(this.opts.onCloseAutoFocus.current?.(e),!(e.defaultPrevented||this.#s)){if(this.parentMenu.root.ignoreCloseAutoFocus){e.preventDefault();return}this.parentMenu.triggerNode&&tn(this.parentMenu.triggerNode)&&(e.preventDefault(),this.parentMenu.triggerNode.focus())}};handleTabKeyDown(e){let r=this.parentMenu;for(;r.parentMenu!==null;)r=r.parentMenu;if(!r.triggerNode)return;e.preventDefault();const n=wl(r.triggerNode,e.shiftKey?"prev":"next");n?(this.parentMenu.root.ignoreCloseAutoFocus=!0,r.onClose(),zt(()=>{n.focus(),zt(()=>{this.parentMenu.root.ignoreCloseAutoFocus=!1})})):this.domContext.getDocument().body.focus()}onkeydown(e){if(e.defaultPrevented)return;if(e.key===_o){this.handleTabKeyDown(e);return}const r=e.target,n=e.currentTarget;if(!tr(r)||!tr(n))return;const s=r.closest(`[${this.parentMenu.root.getBitsAttr("content")}]`)?.id===this.parentMenu.contentId.current,d=e.ctrlKey||e.altKey||e.metaKey,l=e.key.length===1;if(this.rovingFocusGroup.handleKeydown(r,e)||e.code==="Space")return;const a=this.#o();s&&!d&&l&&this.#r(e.key,a),e.target?.id===this.parentMenu.contentId.current&&ml.includes(e.key)&&(e.preventDefault(),Ls.includes(e.key)&&a.reverse(),yl(a,{select:!1},()=>this.domContext.getActiveElement()))}onblur(e){jt(e.currentTarget)&&jt(e.target)&&(e.currentTarget.contains?.(e.target)||(this.domContext.getWindow().clearTimeout(this.#t),this.search=""))}onfocus(e){this.parentMenu.root.isUsingKeyboard.current&&zt(()=>this.rovingFocusGroup.focusFirstCandidate())}onItemEnter(){return this.#a()}onItemLeave(e){if(e.currentTarget.hasAttribute(this.parentMenu.root.getBitsAttr("sub-trigger"))||this.#a()||this.parentMenu.root.isUsingKeyboard.current)return;this.parentMenu.contentNode?.focus({preventScroll:!0}),this.rovingFocusGroup.setCurrentTabStopId("")}onTriggerLeave(){return!!this.#a()}handleInteractOutside(e){if(!yo(e.target))return;const r=this.parentMenu.triggerNode?.id;if(e.target.id===r){e.preventDefault();return}if(e.target.closest(`#${r}`)){e.preventDefault();return}this.parentMenu.root.ignoreCloseAutoFocus=!0,zt(()=>{this.parentMenu.root.ignoreCloseAutoFocus=!1})}get shouldRender(){return this.parentMenu.contentPresence.shouldRender}#l=h(()=>({open:this.parentMenu.opts.open.current}));get snippetProps(){return t(this.#l)}set snippetProps(e){I(this.#l,e)}#d=h(()=>({id:this.opts.id.current,role:"menu","aria-orientation":"vertical",[this.parentMenu.root.getBitsAttr("content")]:"","data-state":ks(this.parentMenu.opts.open.current),...Ps(this.parentMenu.contentPresence.transitionStatus),onkeydown:this.onkeydown,onblur:this.onblur,onfocus:this.onfocus,dir:this.parentMenu.root.opts.dir.current,style:{pointerEvents:"auto",contain:"layout style"},...this.attachment}));get props(){return t(this.#d)}set props(e){I(this.#d,e)}popperProps={onCloseAutoFocus:e=>this.onCloseAutoFocus(e)}}class Ws{opts;content;attachment;#e=be(!1);constructor(e,r){this.opts=e,this.content=r,this.attachment=Ut(this.opts.ref),this.onpointermove=this.onpointermove.bind(this),this.onpointerleave=this.onpointerleave.bind(this),this.onfocus=this.onfocus.bind(this),this.onblur=this.onblur.bind(this)}onpointermove(e){if(!e.defaultPrevented&&St(e))if(this.opts.disabled.current)this.content.onItemLeave(e);else{if(this.content.onItemEnter())return;const n=e.currentTarget;if(!tr(n))return;n.focus({preventScroll:!0})}}onpointerleave(e){e.defaultPrevented||St(e)&&this.content.onItemLeave(e)}onfocus(e){zt(()=>{e.defaultPrevented||this.opts.disabled.current||I(this.#e,!0)})}onblur(e){zt(()=>{e.defaultPrevented||I(this.#e,!1)})}#t=h(()=>({id:this.opts.id.current,tabindex:-1,role:"menuitem","aria-disabled":Cs(this.opts.disabled.current),"data-disabled":$r(this.opts.disabled.current),"data-highlighted":t(this.#e)?"":void 0,[this.content.parentMenu.root.getBitsAttr("item")]:"",onpointermove:this.onpointermove,onpointerleave:this.onpointerleave,onfocus:this.onfocus,onblur:this.onblur,...this.attachment}));get props(){return t(this.#t)}set props(e){I(this.#t,e)}}class Mr{static create(e){const r=new Ws(e,on.get());return new Mr(e,r)}opts;item;root;#e=!1;constructor(e,r){this.opts=e,this.item=r,this.root=r.content.parentMenu.root,this.onkeydown=this.onkeydown.bind(this),this.onclick=this.onclick.bind(this),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this)}#t(){if(this.item.opts.disabled.current)return;const e=new CustomEvent("menuitemselect",{bubbles:!0,cancelable:!0});if(this.opts.onSelect.current(e),e.defaultPrevented){this.item.content.parentMenu.root.isUsingKeyboard.current=!1;return}this.opts.closeOnSelect.current&&this.item.content.parentMenu.root.opts.onClose()}onkeydown(e){const r=this.item.content.search!=="";if(!(this.item.opts.disabled.current||r&&e.key===en)&&vl.includes(e.key)){if(!tr(e.currentTarget))return;e.currentTarget.click(),e.preventDefault()}}onclick(e){this.item.opts.disabled.current||this.#t()}onpointerup(e){if(!e.defaultPrevented&&!this.#e){if(!tr(e.currentTarget))return;e.currentTarget?.click()}}onpointerdown(e){this.#e=!0}#r=h(()=>ot(this.item.props,{onclick:this.onclick,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,onkeydown:this.onkeydown}));get props(){return t(this.#r)}set props(e){I(this.#r,e)}}class un{static create(e,r){const n=new Mr(e,new Ws(e,on.get()));return new un(e,n,r)}opts;item;group;constructor(e,r,n=null){this.opts=e,this.item=r,this.group=n,this.group&&(xt(()=>this.group.opts.value.current,s=>{this.opts.checked.current=s.includes(this.opts.value.current)}),xt(()=>this.opts.checked.current,s=>{s?this.group.addValue(this.opts.value.current):this.group.removeValue(this.opts.value.current)}))}toggleChecked(){this.opts.indeterminate.current?(this.opts.indeterminate.current=!1,this.opts.checked.current=!0):this.opts.checked.current=!this.opts.checked.current}#e=h(()=>({checked:this.opts.checked.current,indeterminate:this.opts.indeterminate.current}));get snippetProps(){return t(this.#e)}set snippetProps(e){I(this.#e,e)}#t=h(()=>({...this.item.props,role:"menuitemcheckbox","aria-checked":wo(this.opts.checked.current,this.opts.indeterminate.current),"data-state":xl(this.opts.checked.current),[this.item.root.getBitsAttr("checkbox-item")]:""}));get props(){return t(this.#t)}set props(e){I(this.#t,e)}}class hn{static create(e){return Cl.set(new hn(e,sn.get()))}opts;root;attachment;#e=be(void 0);get groupHeadingId(){return t(this.#e)}set groupHeadingId(e){I(this.#e,e,!0)}constructor(e,r){this.opts=e,this.root=r,this.attachment=Ut(this.opts.ref)}#t=h(()=>({id:this.opts.id.current,role:"group","aria-labelledby":this.groupHeadingId,[this.root.getBitsAttr("group")]:"",...this.attachment}));get props(){return t(this.#t)}set props(e){I(this.#t,e)}}class pn{static create(e){return new pn(e,sn.get())}opts;root;attachment;constructor(e,r){this.opts=e,this.root=r,this.attachment=Ut(this.opts.ref)}#e=h(()=>({id:this.opts.id.current,role:"separator",[this.root.getBitsAttr("separator")]:"",...this.attachment}));get props(){return t(this.#e)}set props(e){I(this.#e,e)}}class fn{static create(e){return new fn(e,an.get())}opts;parentMenu;attachment;constructor(e,r){this.opts=e,this.parentMenu=r,this.attachment=Ut(this.opts.ref,n=>this.parentMenu.triggerNode=n)}onclick=e=>{this.opts.disabled.current||e.detail!==0||(this.parentMenu.toggleOpen(),e.preventDefault())};onpointerdown=e=>{if(!this.opts.disabled.current){if(e.pointerType==="touch")return e.preventDefault();e.button===0&&e.ctrlKey===!1&&(this.parentMenu.toggleOpen(),this.parentMenu.opts.open.current||e.preventDefault())}};onpointerup=e=>{this.opts.disabled.current||e.pointerType==="touch"&&(e.preventDefault(),this.parentMenu.toggleOpen())};onkeydown=e=>{if(!this.opts.disabled.current){if(e.key===en||e.key===ys){this.parentMenu.toggleOpen(),e.preventDefault();return}e.key===dr&&(this.parentMenu.onOpen(),e.preventDefault())}};#e=h(()=>{if(this.parentMenu.opts.open.current&&this.parentMenu.contentId.current)return this.parentMenu.contentId.current});#t=h(()=>({id:this.opts.id.current,disabled:this.opts.disabled.current,"aria-haspopup":"menu","aria-expanded":Cs(this.parentMenu.opts.open.current),"aria-controls":t(this.#e),"data-disabled":$r(this.opts.disabled.current),"data-state":ks(this.parentMenu.opts.open.current),[this.parentMenu.root.getBitsAttr("trigger")]:"",onclick:this.onclick,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,onkeydown:this.onkeydown,...this.attachment}));get props(){return t(this.#t)}set props(e){I(this.#t,e)}}var Dl=new Set(["$$slots","$$events","$$legacy","child","children","ref","id","disabled","onSelect","closeOnSelect"]),Nl=f("<div><!></div>");function Fl(o,e){const r=$t();Se(e,!0);let n=$(e,"ref",15,null),s=$(e,"id",19,()=>Et(r)),d=$(e,"disabled",3,!1),l=$(e,"onSelect",3,vt),u=$(e,"closeOnSelect",3,!0),a=Oe(e,Dl);const g=Mr.create({id:J(()=>s()),disabled:J(()=>d()),onSelect:J(()=>l()),ref:J(()=>n(),x=>n(x)),closeOnSelect:J(()=>u())}),T=h(()=>ot(a,g.props));var m=Y(),_=w(m);{var p=x=>{var P=Y(),E=w(P);Ue(E,()=>e.child,()=>({props:t(T)})),i(x,P)},y=x=>{var P=Nl();nt(P,()=>({...t(T)}));var E=b(P);Ue(E,()=>e.children??st),v(P),i(x,P)};D(_,x=>{e.child?x(p):x(y,-1)})}i(o,m),$e()}var zl=new Set(["$$slots","$$events","$$legacy","children","child","ref","id"]),Ll=f("<div><!></div>");function Wl(o,e){const r=$t();Se(e,!0);let n=$(e,"ref",15,null),s=$(e,"id",19,()=>Et(r)),d=Oe(e,zl);const l=hn.create({id:J(()=>s()),ref:J(()=>n(),_=>n(_))}),u=h(()=>ot(d,l.props));var a=Y(),g=w(a);{var T=_=>{var p=Y(),y=w(p);Ue(y,()=>e.child,()=>({props:t(u)})),i(_,p)},m=_=>{var p=Ll();nt(p,()=>({...t(u)}));var y=b(p);Ue(y,()=>e.children??st),v(p),i(_,p)};D(g,_=>{e.child?_(T):_(m,-1)})}i(o,a),$e()}var jl=new Set(["$$slots","$$events","$$legacy","ref","id","child","children"]),Kl=f("<div><!></div>");function Bl(o,e){const r=$t();Se(e,!0);let n=$(e,"ref",15,null),s=$(e,"id",19,()=>Et(r)),d=Oe(e,jl);const l=pn.create({id:J(()=>s()),ref:J(()=>n(),_=>n(_))}),u=h(()=>ot(d,l.props));var a=Y(),g=w(a);{var T=_=>{var p=Y(),y=w(p);Ue(y,()=>e.child,()=>({props:t(u)})),i(_,p)},m=_=>{var p=Kl();nt(p,()=>({...t(u)}));var y=b(p);Ue(y,()=>e.children??st),v(p),i(_,p)};D(g,_=>{e.child?_(T):_(m,-1)})}i(o,a),$e()}var Hl=new Set(["$$slots","$$events","$$legacy","child","children","ref","checked","id","onCheckedChange","disabled","onSelect","closeOnSelect","indeterminate","onIndeterminateChange","value"]),Ul=f("<div><!></div>");function Rl(o,e){const r=$t();Se(e,!0);let n=$(e,"ref",15,null),s=$(e,"checked",15,!1),d=$(e,"id",19,()=>Et(r)),l=$(e,"onCheckedChange",3,vt),u=$(e,"disabled",3,!1),a=$(e,"onSelect",3,vt),g=$(e,"closeOnSelect",3,!0),T=$(e,"indeterminate",15,!1),m=$(e,"onIndeterminateChange",3,vt),_=$(e,"value",3,""),p=Oe(e,Hl);const y=Tl.getOr(null);y&&_()&&(y.opts.value.current.includes(_())?s(!0):s(!1)),xt.pre(()=>_(),()=>{y&&_()&&(y.opts.value.current.includes(_())?s(!0):s(!1))});const x=un.create({checked:J(()=>s(),S=>{S!==s()&&(s(S),l()(S))}),id:J(()=>d()),disabled:J(()=>u()),onSelect:J(()=>P),ref:J(()=>n(),S=>n(S)),closeOnSelect:J(()=>g()),indeterminate:J(()=>T(),S=>{S!==T()&&(T(S),m()(S))}),value:J(()=>_())},y);function P(S){a()(S),!S.defaultPrevented&&x.toggleChecked()}const E=h(()=>ot(p,x.props));var te=Y(),xe=w(te);{var H=S=>{var Q=Y(),L=w(Q);Ue(L,()=>e.child,()=>({checked:s(),indeterminate:T(),props:t(E)})),i(S,Q)},re=S=>{var Q=Ul();nt(Q,()=>({...t(E)}));var L=b(Q);Ue(L,()=>e.children??st,()=>({checked:s(),indeterminate:T()})),v(Q),i(S,Q)};D(xe,S=>{e.child?S(H):S(re,-1)})}i(o,te),$e()}function ql(o,e){Se(e,!0);let r=$(e,"open",15,!1),n=$(e,"dir",3,"ltr"),s=$(e,"onOpenChange",3,vt),d=$(e,"onOpenChangeComplete",3,vt),l=$(e,"_internal_variant",3,"dropdown-menu"),u=$(e,"_internal_should_skip_exit_animation",3,void 0);const a=ln.create({variant:J(()=>l()),dir:J(()=>n()),onClose:()=>{r(!1),s()(!1)},shouldSkipExitAnimation:()=>u()?.()??!1});dn.create({open:J(()=>r(),g=>{r(g),s()(g)}),onOpenChangeComplete:J(()=>d())},a),hs(o,{children:(g,T)=>{var m=Y(),_=w(m);Ue(_,()=>e.children??st),i(g,m)},$$slots:{default:!0}}),$e()}var Gl=new Set(["$$slots","$$events","$$legacy","id","child","children","ref","loop","onInteractOutside","onEscapeKeydown","onCloseAutoFocus","forceMount","trapFocus","style"]),Jn=f("<div><div><!></div></div>");function Vl(o,e){const r=$t();Se(e,!0);let n=$(e,"id",19,()=>Et(r)),s=$(e,"ref",15,null),d=$(e,"loop",3,!0),l=$(e,"onInteractOutside",3,vt),u=$(e,"onEscapeKeydown",3,vt),a=$(e,"onCloseAutoFocus",3,vt),g=$(e,"forceMount",3,!1),T=$(e,"trapFocus",3,!1),m=Oe(e,Gl);const _=cn.create({id:J(()=>n()),loop:J(()=>d()),ref:J(()=>s(),H=>s(H)),onCloseAutoFocus:J(()=>a())}),p=h(()=>ot(m,_.props));function y(H){if(_.handleInteractOutside(H),!H.defaultPrevented&&(l()(H),!H.defaultPrevented)){if(H.target&&H.target instanceof Element){const re=`[${_.parentMenu.root.getBitsAttr("sub-content")}]`;if(H.target.closest(re))return}_.parentMenu.onClose()}}function x(H){u()(H),!H.defaultPrevented&&_.parentMenu.onClose()}var P=Y(),E=w(P);{var te=H=>{ps(H,Ae(()=>t(p),()=>_.popperProps,{get ref(){return _.opts.ref},get enabled(){return _.parentMenu.opts.open.current},onInteractOutside:y,onEscapeKeydown:x,get trapFocus(){return T()},get loop(){return d()},forceMount:!0,get id(){return n()},get shouldRender(){return _.shouldRender},popper:(S,Q)=>{let L=()=>(Q?.()).props,R=()=>(Q?.()).wrapperProps;const Me=h(()=>ot(L(),{style:Cr("dropdown-menu")},{style:e.style}));var se=Y(),he=w(se);{var N=k=>{var M=Y(),O=w(M);{let q=h(()=>({props:t(Me),wrapperProps:R(),..._.snippetProps}));Ue(O,()=>e.child,()=>t(q))}i(k,M)},C=k=>{var M=Jn();nt(M,()=>({...R()}));var O=b(M);nt(O,()=>({...t(Me)}));var q=b(O);Ue(q,()=>e.children??st),v(O),v(M),i(k,M)};D(he,k=>{e.child?k(N):k(C,-1)})}i(S,se)},$$slots:{popper:!0}}))},xe=H=>{fs(H,Ae(()=>t(p),()=>_.popperProps,{get ref(){return _.opts.ref},get open(){return _.parentMenu.opts.open.current},onInteractOutside:y,onEscapeKeydown:x,get trapFocus(){return T()},get loop(){return d()},forceMount:!1,get id(){return n()},get shouldRender(){return _.shouldRender},popper:(S,Q)=>{let L=()=>(Q?.()).props,R=()=>(Q?.()).wrapperProps;const Me=h(()=>ot(L(),{style:Cr("dropdown-menu")},{style:e.style}));var se=Y(),he=w(se);{var N=k=>{var M=Y(),O=w(M);{let q=h(()=>({props:t(Me),wrapperProps:R(),..._.snippetProps}));Ue(O,()=>e.child,()=>t(q))}i(k,M)},C=k=>{var M=Jn();nt(M,()=>({...R()}));var O=b(M);nt(O,()=>({...t(Me)}));var q=b(O);Ue(q,()=>e.children??st),v(O),v(M),i(k,M)};D(he,k=>{e.child?k(N):k(C,-1)})}i(S,se)},$$slots:{popper:!0}}))};D(E,H=>{g()?H(te):g()||H(xe,1)})}i(o,P),$e()}var Yl=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","disabled","type"]),Xl=f("<button><!></button>");function Jl(o,e){const r=$t();Se(e,!0);let n=$(e,"id",19,()=>Et(r)),s=$(e,"ref",15,null),d=$(e,"disabled",3,!1),l=$(e,"type",3,"button"),u=Oe(e,Yl);const a=fn.create({id:J(()=>n()),disabled:J(()=>d()??!1),ref:J(()=>s(),T=>s(T))}),g=h(()=>ot(u,a.props,{type:l()}));Ra(o,{get id(){return n()},get ref(){return a.opts.ref},children:(T,m)=>{var _=Y(),p=w(_);{var y=P=>{var E=Y(),te=w(E);Ue(te,()=>e.child,()=>({props:t(g)})),i(P,E)},x=P=>{var E=Xl();nt(E,()=>({...t(g)}));var te=b(E);Ue(te,()=>e.children??st),v(E),i(P,E)};D(p,P=>{e.child?P(y):P(x,-1)})}i(T,_)},$$slots:{default:!0}}),$e()}class Jr{#e;#t;#r=null;constructor(e,r){this.#t=e,this.#e=r,this.stop=this.stop.bind(this),this.start=this.start.bind(this),$s(this.stop)}#n(){this.#r!==null&&(window.clearTimeout(this.#r),this.#r=null)}stop(){this.#n()}start(...e){this.#n(),this.#r=window.setTimeout(()=>{this.#r=null,this.#t(...e)},this.#e)}}const js=Ss({component:"tooltip",parts:["content","trigger"]}),Ks=new Ht("Tooltip.Provider"),vn=new Ht("Tooltip.Root");class Zl{#e=be(Lt(new Map));get triggers(){return t(this.#e)}set triggers(e){I(this.#e,e,!0)}#t=be(null);get activeTriggerId(){return t(this.#t)}set activeTriggerId(e){I(this.#t,e,!0)}#r=h(()=>{const e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return t(this.#r)}set activeTriggerNode(e){I(this.#r,e)}#n=h(()=>{const e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.payload??null});get activePayload(){return t(this.#n)}set activePayload(e){I(this.#n,e)}register=e=>{const r=new Map(this.triggers);r.set(e.id,e),this.triggers=r,this.#s()};update=e=>{const r=new Map(this.triggers);r.set(e.id,e),this.triggers=r,this.#s()};unregister=e=>{if(!this.triggers.has(e))return;const r=new Map(this.triggers);r.delete(e),this.triggers=r,this.activeTriggerId===e&&(this.activeTriggerId=null)};setActiveTrigger=e=>{if(e===null){this.activeTriggerId=null;return}if(!this.triggers.has(e)){this.activeTriggerId=null;return}this.activeTriggerId=e};get=e=>this.triggers.get(e);has=e=>this.triggers.has(e);getFirstTriggerId=()=>{const e=this.triggers.entries().next();return e.done?null:e.value[0]};#s=()=>{const e=this.activeTriggerId;e!==null&&(this.triggers.has(e)||(this.activeTriggerId=null))}}class gn{static create(e){return Ks.set(new gn(e))}opts;#e=be(!0);get isOpenDelayed(){return t(this.#e)}set isOpenDelayed(e){I(this.#e,e,!0)}isPointerInTransit=Ms(!1);#t;#r=be(null);constructor(e){this.opts=e,this.#t=new Jr(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),nn(()=>ir(window,"scroll",r=>{const n=t(this.#r);if(!n)return;const s=n.triggerNode;if(!s)return;const d=r.target;(d instanceof Element||d instanceof Document)&&d.contains(s)&&n.handleClose()}))}#n=()=>{if(this.opts.skipDelayDuration.current===0){this.isOpenDelayed=!0;return}else this.#t.start()};#s=()=>{this.#t.stop()};onOpen=e=>{t(this.#r)&&t(this.#r)!==e&&t(this.#r).handleClose(),this.#s(),this.isOpenDelayed=!1,I(this.#r,e,!0)};onClose=e=>{t(this.#r)===e&&(I(this.#r,null),this.#n())};isTooltipOpen=e=>t(this.#r)===e}class mn{static create(e){return vn.set(new mn(e,Ks.get()))}opts;provider;#e=h(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return t(this.#e)}set delayDuration(e){I(this.#e,e)}#t=h(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return t(this.#t)}set disableHoverableContent(e){I(this.#t,e)}#r=h(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return t(this.#r)}set disableCloseOnTriggerClick(e){I(this.#r,e)}#n=h(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return t(this.#n)}set disabled(e){I(this.#n,e)}#s=h(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return t(this.#s)}set ignoreNonKeyboardFocus(e){I(this.#s,e)}registry;tether;#o=be(null);get contentNode(){return t(this.#o)}set contentNode(e){I(this.#o,e,!0)}contentPresence;#a=be(!1);#i;#l=h(()=>this.opts.open.current?t(this.#a)?"delayed-open":"instant-open":"closed");get stateAttr(){return t(this.#l)}set stateAttr(e){I(this.#l,e)}constructor(e,r){this.opts=e,this.provider=r,this.tether=e.tether.current?.state??null,this.registry=this.tether?.registry??new Zl,this.#i=new Jr(()=>{I(this.#a,!0),this.opts.open.current=!0},this.delayDuration??0),this.tether&&(this.tether.root=this,nn(()=>()=>{this.tether?.root===this&&(this.tether.root=null)})),this.contentPresence=new ws({open:this.opts.open,ref:J(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),xt(()=>this.delayDuration,()=>{this.delayDuration!==void 0&&(this.#i=new Jr(()=>{I(this.#a,!0),this.opts.open.current=!0},this.delayDuration))}),xt(()=>this.opts.open.current,n=>{n?(this.ensureActiveTrigger(),this.provider.onOpen(this)):this.provider.onClose(this)},{lazy:!0}),xt(()=>this.opts.triggerId.current,n=>{n!==this.registry.activeTriggerId&&this.registry.setActiveTrigger(n)}),xt(()=>this.registry.activeTriggerId,n=>{this.opts.triggerId.current!==n&&(this.opts.triggerId.current=n)})}handleOpen=()=>{this.#i.stop(),I(this.#a,!1),this.ensureActiveTrigger(),this.opts.open.current=!0};handleClose=()=>{this.#i.stop(),this.opts.open.current=!1};cancelPendingOpen=()=>{this.#i.stop()};#d=()=>{this.#i.stop();const e=!this.provider.isOpenDelayed,r=this.delayDuration??0;e||r===0?(I(this.#a,!1),this.opts.open.current=!0):this.#i.start()};onTriggerEnter=e=>{this.setActiveTrigger(e),this.#d()};onTriggerLeave=()=>{this.disableHoverableContent?this.handleClose():this.#i.stop()};ensureActiveTrigger=()=>{if(this.registry.activeTriggerId!==null&&this.registry.has(this.registry.activeTriggerId))return;if(this.opts.triggerId.current!==null&&this.registry.has(this.opts.triggerId.current)){this.registry.setActiveTrigger(this.opts.triggerId.current);return}const e=this.registry.getFirstTriggerId();this.registry.setActiveTrigger(e)};setActiveTrigger=e=>{this.registry.setActiveTrigger(e)};registerTrigger=e=>{this.registry.register(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};updateTrigger=e=>{this.registry.update(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};unregisterTrigger=e=>{const r=this.registry.activeTriggerId===e;this.registry.unregister(e),r&&this.opts.open.current&&this.handleClose()};isActiveTrigger=e=>this.registry.activeTriggerId===e;get triggerNode(){return this.registry.activeTriggerNode}get activePayload(){return this.registry.activePayload}get activeTriggerId(){return this.registry.activeTriggerId}}class Pr{static create(e){return e.tether.current?new Pr(e,null,e.tether.current.state):new Pr(e,vn.get(),null)}opts;root;tether;attachment;#e=Ms(!1);#t=be(!1);domContext;#r=null;#n=!1;#s=null;constructor(e,r,n){this.opts=e,this.root=r,this.tether=n,this.domContext=new Ts(e.ref),this.attachment=Ut(this.opts.ref,s=>this.#i(s)),xt(()=>this.opts.id.current,()=>{this.#i(this.opts.ref.current)}),xt(()=>this.opts.payload.current,()=>{this.#i(this.opts.ref.current)}),xt(()=>this.opts.disabled.current,()=>{this.#i(this.opts.ref.current)}),nn(()=>(this.#n=!0,this.#i(this.opts.ref.current),()=>{const s=this.#o(),d=this.#s;d&&(this.tether?this.tether.registry.unregister(d):s?.unregisterTrigger(d)),this.#s=null,this.#n=!1}))}#o=()=>this.tether?.root??this.root;#a=()=>{const e=this.#o();return this.opts.disabled.current||!!e?.disabled};#i=e=>{if(!this.#n)return;const r=this.opts.id.current,n=this.opts.payload.current,s=this.opts.disabled.current;if(this.#s&&this.#s!==r){const u=this.#o();this.tether?this.tether.registry.unregister(this.#s):u?.unregisterTrigger(this.#s)}const d={id:r,node:e,payload:n,disabled:s},l=this.#o();this.tether?(this.tether.registry.has(r)?this.tether.registry.update(d):this.tether.registry.register(d),s&&this.tether.registry.activeTriggerId===r&&l?.opts.open.current&&l.handleClose()):l?.registry.has(r)?l.updateTrigger(d):l?.registerTrigger(d),this.#s=r};#l=()=>{this.#r!==null&&(clearTimeout(this.#r),this.#r=null)};handlePointerUp=()=>{this.#e.current=!1};#d=()=>{this.#a()||(this.#e.current=!1)};#g=()=>{if(this.#a())return;const e=this.#o();e&&!e.disableCloseOnTriggerClick&&(e.opts.open.current?e.handleClose():e.cancelPendingOpen()),this.#e.current=!0,this.domContext.getDocument().addEventListener("pointerup",()=>{this.handlePointerUp()},{once:!0})};#m=e=>{const r=this.#o();if(r){if(this.#a()){r.opts.open.current&&r.handleClose();return}if(e.pointerType!=="touch"){if(r.provider.isPointerInTransit.current){this.#l(),this.#r=window.setTimeout(()=>{r.provider.isPointerInTransit.current&&(r.provider.isPointerInTransit.current=!1,r.onTriggerEnter(this.opts.id.current),I(this.#t,!0))},250);return}r.onTriggerEnter(this.opts.id.current),I(this.#t,!0)}}};#b=e=>{const r=this.#o();if(r){if(this.#a()){r.opts.open.current&&r.handleClose();return}e.pointerType!=="touch"&&(t(this.#t)||(this.#l(),r.provider.isPointerInTransit.current=!1,r.onTriggerEnter(this.opts.id.current),I(this.#t,!0)))}};#c=e=>{const r=this.#o();if(!r||this.#a())return;if(this.#l(),!r.isActiveTrigger(this.opts.id.current)){I(this.#t,!1);return}const n=e.relatedTarget;if(jt(n)){for(const s of r.registry.triggers.values())if(s.node===n){if(r.provider.opts.skipDelayDuration.current>0){I(this.#t,!1);return}r.handleClose(),I(this.#t,!1);return}}r.onTriggerLeave(),I(this.#t,!1)};#u=e=>{const r=this.#o();if(r&&!this.#e.current){if(this.#a()){r.opts.open.current&&r.handleClose();return}r.ignoreNonKeyboardFocus&&!ko(e.currentTarget)||(r.setActiveTrigger(this.opts.id.current),r.handleOpen())}};#f=()=>{const e=this.#o();!e||this.#a()||e.handleClose()};#h=()=>{const e=this.#o();!e||e.disableCloseOnTriggerClick||this.#a()||e.handleClose()};#p=h(()=>{const e=this.#o(),r=!!(e?.opts.open.current&&e.isActiveTrigger(this.opts.id.current)),n=this.#a();return{id:this.opts.id.current,"aria-describedby":r?e?.contentNode?.id:void 0,"data-state":r?e?.stateAttr:"closed","data-disabled":$r(n),"data-delay-duration":`${e?.delayDuration??0}`,[js.trigger]:"",tabindex:n?void 0:this.opts.tabindex.current,disabled:this.opts.disabled.current,onpointerup:this.#d,onpointerdown:this.#g,onpointerenter:this.#m,onpointermove:this.#b,onpointerleave:this.#c,onfocus:this.#u,onblur:this.#f,onclick:this.#h,...this.attachment}});get props(){return t(this.#p)}set props(e){I(this.#p,e)}}class bn{static create(e){return new bn(e,vn.get())}opts;root;attachment;constructor(e,r){this.opts=e,this.root=r,this.attachment=Ut(this.opts.ref,n=>this.root.contentNode=n),new qa({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&!this.root.disableHoverableContent,transitIntentTimeout:180,ignoredTargets:()=>{if(this.root.provider.opts.skipDelayDuration.current===0)return[];const n=[],s=this.root.triggerNode;for(const d of this.root.registry.triggers.values())d.node&&d.node!==s&&n.push(d.node);return n},onPointerExit:()=>{this.root.provider.isTooltipOpen(this.root)&&this.root.handleClose()}})}onInteractOutside=e=>{if(jt(e.target)&&this.root.triggerNode?.contains(e.target)&&this.root.disableCloseOnTriggerClick){e.preventDefault();return}this.opts.onInteractOutside.current(e),!e.defaultPrevented&&this.root.handleClose()};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current?.(e),!e.defaultPrevented&&this.root.handleClose()};onOpenAutoFocus=e=>{e.preventDefault()};onCloseAutoFocus=e=>{e.preventDefault()};get shouldRender(){return this.root.contentPresence.shouldRender}#e=h(()=>({open:this.root.opts.open.current}));get snippetProps(){return t(this.#e)}set snippetProps(e){I(this.#e,e)}#t=h(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":$r(this.root.disabled),...Ps(this.root.contentPresence.transitionStatus),style:{outline:"none"},[js.content]:"",...this.attachment}));get props(){return t(this.#t)}set props(e){I(this.#t,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}}function Ql(o,e){Se(e,!0);let r=$(e,"open",15,!1),n=$(e,"triggerId",15,null),s=$(e,"onOpenChange",3,vt),d=$(e,"onOpenChangeComplete",3,vt);const l=mn.create({open:J(()=>r(),u=>{r(u),s()(u)}),triggerId:J(()=>n(),u=>{n(u)}),delayDuration:J(()=>e.delayDuration),disableCloseOnTriggerClick:J(()=>e.disableCloseOnTriggerClick),disableHoverableContent:J(()=>e.disableHoverableContent),ignoreNonKeyboardFocus:J(()=>e.ignoreNonKeyboardFocus),disabled:J(()=>e.disabled),onOpenChangeComplete:J(()=>d()),tether:J(()=>e.tether)});hs(o,{tooltip:!0,children:(u,a)=>{var g=Y(),T=w(g);Ue(T,()=>e.children??st,()=>({open:l.opts.open.current,triggerId:l.activeTriggerId,payload:l.activePayload})),i(u,g)},$$slots:{default:!0}}),$e()}var ed=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","side","sideOffset","align","avoidCollisions","arrowPadding","sticky","strategy","hideWhenDetached","customAnchor","collisionPadding","onInteractOutside","onEscapeKeydown","forceMount","style"]),Zn=f("<div><div><!></div></div>");function td(o,e){const r=$t();Se(e,!0);let n=$(e,"id",19,()=>Et(r)),s=$(e,"ref",15,null),d=$(e,"side",3,"top"),l=$(e,"sideOffset",3,0),u=$(e,"align",3,"center"),a=$(e,"avoidCollisions",3,!0),g=$(e,"arrowPadding",3,0),T=$(e,"sticky",3,"partial"),m=$(e,"hideWhenDetached",3,!1),_=$(e,"collisionPadding",3,0),p=$(e,"onInteractOutside",3,vt),y=$(e,"onEscapeKeydown",3,vt),x=$(e,"forceMount",3,!1),P=Oe(e,ed);const E=bn.create({id:J(()=>n()),ref:J(()=>s(),L=>s(L)),onInteractOutside:J(()=>p()),onEscapeKeydown:J(()=>y())}),te=h(()=>({side:d(),sideOffset:l(),align:u(),avoidCollisions:a(),arrowPadding:g(),sticky:T(),hideWhenDetached:m(),collisionPadding:_(),strategy:e.strategy,customAnchor:e.customAnchor??E.root.triggerNode})),xe=h(()=>ot(P,t(te),E.props));var H=Y(),re=w(H);{var S=L=>{{const R=(se,he)=>{let N=()=>(he?.()).props,C=()=>(he?.()).wrapperProps;const k=h(()=>ot(C(),{style:{pointerEvents:E.root.disableHoverableContent?"none":void 0}})),M=h(()=>ot(N(),{style:Cr("tooltip")},{style:e.style}));var O=Y(),q=w(O);{var oe=K=>{var G=Y(),ie=w(G);{let we=h(()=>({props:t(M),wrapperProps:t(k),...E.snippetProps}));Ue(ie,()=>e.child,()=>t(we))}i(K,G)},ye=K=>{var G=Zn();nt(G,()=>({...t(k)}));var ie=b(G);nt(ie,()=>({...t(M)}));var we=b(ie);Ue(we,()=>e.children??st),v(ie),v(G),i(K,G)};D(q,K=>{e.child?K(oe):K(ye,-1)})}i(se,O)};let Me=h(()=>E.root.disableHoverableContent?"none":"auto");ps(L,Ae(()=>t(xe),()=>E.popperProps,{get enabled(){return E.root.opts.open.current},get id(){return n()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return E.opts.ref},tooltip:!0,get shouldRender(){return E.shouldRender},get contentPointerEvents(){return t(Me)},popper:R,$$slots:{popper:!0}}))}},Q=L=>{{const R=(se,he)=>{let N=()=>(he?.()).props,C=()=>(he?.()).wrapperProps;const k=h(()=>ot(C(),{style:{pointerEvents:E.root.disableHoverableContent?"none":void 0}})),M=h(()=>ot(N(),{style:Cr("tooltip")},{style:e.style}));var O=Y(),q=w(O);{var oe=K=>{var G=Y(),ie=w(G);{let we=h(()=>({props:t(M),wrapperProps:t(k),...E.snippetProps}));Ue(ie,()=>e.child,()=>t(we))}i(K,G)},ye=K=>{var G=Zn();nt(G,()=>({...t(k)}));var ie=b(G);nt(ie,()=>({...t(M)}));var we=b(ie);Ue(we,()=>e.children??st),v(ie),v(G),i(K,G)};D(q,K=>{e.child?K(oe):K(ye,-1)})}i(se,O)};let Me=h(()=>E.root.disableHoverableContent?"none":"auto");fs(L,Ae(()=>t(xe),()=>E.popperProps,{get open(){return E.root.opts.open.current},get id(){return n()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return E.opts.ref},tooltip:!0,get shouldRender(){return E.shouldRender},get contentPointerEvents(){return t(Me)},popper:R,$$slots:{popper:!0}}))}};D(re,L=>{x()?L(S):x()||L(Q,1)})}i(o,H),$e()}var rd=new Set(["$$slots","$$events","$$legacy","children","child","id","disabled","payload","tether","type","tabindex","ref"]),nd=f("<button><!></button>");function sd(o,e){const r=$t();Se(e,!0);let n=$(e,"id",19,()=>Et(r)),s=$(e,"disabled",3,!1),d=$(e,"type",3,"button"),l=$(e,"tabindex",3,0),u=$(e,"ref",15,null),a=Oe(e,rd);const g=Pr.create({id:J(()=>n()),disabled:J(()=>s()??!1),tabindex:J(()=>l()??0),payload:J(()=>e.payload),tether:J(()=>e.tether),ref:J(()=>u(),x=>u(x))}),T=h(()=>ot(a,g.props,{type:d()}));var m=Y(),_=w(m);{var p=x=>{var P=Y(),E=w(P);Ue(E,()=>e.child,()=>({props:t(T)})),i(x,P)},y=x=>{var P=nd();nt(P,()=>({...t(T)}));var E=b(P);Ue(E,()=>e.children??st),v(P),i(x,P)};D(_,x=>{e.child?x(p):x(y,-1)})}i(o,m),$e()}var ad=new Set(["$$slots","$$events","$$legacy","ref"]);function od(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,ad);fl(o,Ae(()=>n,{get ref(){return r()},set ref(s){r(s)}})),$e()}function id(o,e){Se(e,!0);let r=$(e,"delayDuration",3,700),n=$(e,"disableCloseOnTriggerClick",3,!1),s=$(e,"disableHoverableContent",3,!1),d=$(e,"disabled",3,!1),l=$(e,"ignoreNonKeyboardFocus",3,!1),u=$(e,"skipDelayDuration",3,300);gn.create({delayDuration:J(()=>r()),disableCloseOnTriggerClick:J(()=>n()),disableHoverableContent:J(()=>s()),disabled:J(()=>d()),ignoreNonKeyboardFocus:J(()=>l()),skipDelayDuration:J(()=>u())});var a=Y(),g=w(a);Ue(g,()=>e.children??st),i(o,a),$e()}var ld=f('<p class="px-2 py-3 text-sm text-muted-foreground"> </p>'),dd=f('<p class="px-2 pt-2 pb-1 text-xs font-medium tracking-wide text-muted-foreground uppercase"> </p>'),cd=f('<div class="-mx-1 my-1 h-px bg-border" role="separator"></div>'),ud=f('<p class="truncate px-2 pt-1.5 pb-0.5 text-xs text-muted-foreground"> </p>'),hd=f('<span aria-hidden="true"> </span> <input class="-my-1 min-w-0 flex-1 rounded border border-ring bg-card px-1.5 py-0.5 text-sm text-foreground outline-none"/>',1),pd=f('<span class="project-name"><span class="project-prefix"> </span><span class="truncate"> </span></span>'),fd=f('<span class="min-w-0 flex-1 truncate"> </span>'),vd=f('<span aria-hidden="true"> </span> <!>',1),gd=f('<span class="flex w-[1.45rem] shrink-0 justify-center" aria-hidden="true"><span class="thread-dot"></span></span>'),md=f('<!> <span class="min-w-0 flex-1 truncate"> </span>',1),bd=f('<span class="tabular text-xs whitespace-nowrap text-sea"> </span>'),xd=f('<span class="tabular text-xs whitespace-nowrap text-muted-foreground"> </span>'),_d=f('<button type="button" tabindex="-1" class="-my-1 rounded p-1 text-muted-foreground opacity-0 group-hover:opacity-100 group-aria-selected:opacity-100 hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring max-md:my-0 max-md:grid max-md:size-11 max-md:place-items-center pointer-coarse:opacity-100"><!></button> <button type="button" tabindex="-1"><!></button>',1),yd=f('<div role="option" tabindex="-1"><!> <!> <!> <!> <!></div>'),Qn=f("<!> <!>",1),wd=f('<div class="flex flex-col"><label class="flex items-center gap-2 border-b border-hair px-3 max-md:px-5"><!> <input type="search" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-label="Find a project" placeholder="Find a project…" autocomplete="off" spellcheck="false" class="h-10 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground max-md:h-12 max-md:text-base [&::-webkit-search-cancel-button]:hidden"/></label> <div role="listbox" aria-label="Projects" class="max-h-[min(24rem,60dvh)] overflow-y-auto p-1 max-md:max-h-none max-md:px-2 max-md:pb-3"><!> <!></div></div>');function kd(o,e){const r=$t();Se(e,!0);let n=$(e,"topics",19,()=>[]);const s={id:"all",name:"All projects"};let d=be(""),l=be(0),u=be(null),a=be(null);Ot(()=>{ar.load(),Xt.load(),I(l,Math.max(0,t(m).findIndex(N=>N.id===e.current)),!0)});const g=h(()=>Vr(e.projects,Xt.names)),T=h(()=>{const N=t(d).trim()?null:Ga(e.projects,e.stats,{pinned:ar.ids,current:e.current});return(N?[{label:null,options:[s]},{label:"Chat topics",options:n()},{label:"Pinned",options:N.pinned},{label:"Most active",options:N.top},{label:N.pinned.length||N.top.length?"Other projects":"Projects",options:N.rest}]:[{label:null,options:Va(e.projects,t(d),ar.ids,Xt.names)},{label:"Chat topics",options:n().filter(k=>k.name.toLowerCase().includes(t(d).trim().toLowerCase()))}]).map(k=>({...k,options:Dn(k.options,t(g)).flatMap(M=>M.items)})).filter(k=>k.options.length)}),m=h(()=>t(T).flatMap(N=>N.options));function _(N){I(d,N,!0),I(l,0)}ct(()=>{t(a)?.querySelector(`#${CSS.escape(`${r}-${t(l)}`)}`)?.scrollIntoView?.({block:"nearest"})});function p(N){const C=t(m).length;if(N.key==="ArrowDown"||N.key==="ArrowUp")N.preventDefault(),C&&I(l,(t(l)+(N.key==="ArrowDown"?1:C-1))%C);else if(N.key==="Enter"){N.preventDefault();const k=t(m)[t(l)];k&&e.onpick(k.id)}}function y(){t(u)?.focus()}let x=be(null),P=be("");function E(N){I(P,Xt.names[N]??t(g).get(N)?.label??N,!0),I(x,N,!0)}function te(){if(!t(x))return;const N=Vr(e.projects).get(t(x))?.label;Xt.set(t(x),t(P).trim()===N?"":t(P)),I(x,null),t(u)?.focus()}const xe=N=>{N.focus(),N.select()};var H={focus:y},re=wd(),S=b(re),Q=b(S);to(Q,{class:"size-4 shrink-0 text-muted-foreground","aria-hidden":"true"});var L=c(Q,2);An(L),er(L,N=>I(u,N),()=>t(u)),v(S);var R=c(S,2),Me=b(R);{var se=N=>{var C=ld(),k=W(C);F(M=>A(k,`No project matches “${M??""}”.`),[()=>t(d).trim()]),i(N,C)};D(Me,N=>{t(m).length||N(se)})}var he=c(Me,2);return ut(he,19,()=>t(T),(N,C)=>N.label??`g${C}`,(N,C,k)=>{var M=Qn(),O=w(M);{var q=K=>{var G=dd(),ie=W(G,!0);F(()=>A(ie,t(C).label)),i(K,G)},oe=K=>{var G=cd();i(K,G)};D(O,K=>{t(C).label?K(q):t(k)>0&&K(oe,1)})}var ye=c(O,2);ut(ye,17,()=>Dn(t(C).options,t(g)),K=>K.group?`g:${K.group}`:`p:${K.items[0].id}`,(K,G)=>{var ie=Qn(),we=w(ie);{var De=ze=>{var pe=ud(),Le=W(pe,!0);F(()=>{de(pe,"title",t(G).group),A(Le,t(G).group)}),i(ze,pe)};D(we,ze=>{t(G).group&&ze(De)})}var Ke=c(we,2);ut(Ke,17,()=>t(G).items,ze=>ze.id,(ze,pe)=>{const Le=h(()=>t(m).indexOf(t(pe))),rt=h(()=>e.needCount(t(pe).id)),Ve=h(()=>ar.has(t(pe).id)),Ie=h(()=>t(g).get(t(pe).id)),lt=h(()=>"hue"in t(pe)),z=h(()=>e.counts?.get(t(pe).id));var U=yd(),Te=b(U);{var Ye=X=>{var ne=hd(),fe=w(ne),Ce=W(fe,!0),ce=c(fe,2);An(ce),ds(()=>eo(ce,()=>t(P),ve=>I(P,ve))),Qa(ce,ve=>xe?.(ve)),F(()=>{Pe(fe,1,`project-tile ${t(G).group?"ml-3":""}`),de(fe,"data-hue",t(Ie)?.hue),A(Ce,t(Ie)?.monogram),de(ce,"aria-label",`Friendly name for ${t(Ie)?.full??t(pe).name??""}`),de(ce,"placeholder",t(Ie)?.full??t(pe).name)}),kr("blur",ce,te),pt("click",ce,ve=>ve.stopPropagation()),pt("keydown",ce,ve=>{ve.stopPropagation(),ve.key==="Enter"?(ve.preventDefault(),te()):ve.key==="Escape"&&(ve.preventDefault(),I(x,null),t(u)?.focus())}),i(X,ne)},ke=X=>{var ne=vd(),fe=w(ne),Ce=W(fe,!0),ce=c(fe,2);{var ve=me=>{var je=pd(),et=b(je),gt=W(et),Ct=c(et),rr=W(Ct,!0);v(je),F(()=>{de(je,"title",t(Ie).full),A(gt,`${t(Ie).group??""} ›`),A(rr,t(Ie).label)}),i(me,je)},ae=me=>{var je=fd(),et=W(je,!0);F(()=>{de(je,"title",t(Ie).full),A(et,t(Ie).label)}),i(me,je)};D(ce,me=>{t(Ie).group&&!t(G).group&&t(Ie).label!==t(Ie).full?me(ve):me(ae,-1)})}F(()=>{Pe(fe,1,`project-tile ${t(G).group?"ml-3":""}`),de(fe,"data-hue",t(Ie).hue),A(Ce,t(Ie).monogram)}),i(X,ne)},Re=X=>{var ne=md(),fe=w(ne);{var Ce=ae=>{var me=gd(),je=W(me);F(()=>de(je,"data-hue",t(pe).hue??void 0)),i(ae,me)};D(fe,ae=>{t(lt)&&ae(Ce)})}var ce=c(fe,2),ve=W(ce,!0);F(()=>A(ve,t(pe).name)),i(X,ne)};D(Te,X=>{t(x)===t(pe).id?X(Ye):t(Ie)?X(ke,1):X(Re,-1)})}var Xe=c(Te,2);{var Ne=X=>{var ne=bd(),fe=W(ne);F(()=>A(fe,`${t(rt)??""} need you`)),i(X,ne)};D(Xe,X=>{t(rt)&&X(Ne)})}var Ze=c(Xe,2);{var Z=X=>{var ne=xd(),fe=W(ne,!0);F(()=>{de(ne,"title",`${t(z)??""} in the chat`),A(fe,t(z))}),i(X,ne)};D(Ze,X=>{t(z)&&X(Z)})}var V=c(Ze,2);{var j=X=>{Zt(X,{class:"size-4 shrink-0","aria-label":"Selected"})};D(V,X=>{e.current===t(pe).id&&X(j)})}var ue=c(V,2);{var _e=X=>{var ne=_d(),fe=w(ne),Ce=b(fe);ro(Ce,{class:"size-3.5"}),v(fe);var ce=c(fe,2),ve=b(ce);{let ae=h(()=>t(Ve)?"currentColor":"none");Vi(ve,{class:"size-3.5",get fill(){return t(ae)}})}v(ce),F(()=>{de(fe,"aria-label",`Rename ${t(Ie)?.full??t(pe).name??""}`),Pe(ce,1,`-my-1 rounded p-1 text-muted-foreground hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring max-md:my-0 max-md:grid max-md:size-11 max-md:place-items-center ${t(Ve)?"":"opacity-0 group-hover:opacity-100 group-aria-selected:opacity-100 pointer-coarse:opacity-100"}`),de(ce,"aria-label",t(Ve)?`Unpin ${t(pe).name}`:`Pin ${t(pe).name}`),de(ce,"aria-pressed",t(Ve))}),pt("click",fe,ae=>{ae.stopPropagation(),E(t(pe).id)}),pt("click",ce,ae=>{ae.stopPropagation(),ar.toggle(t(pe).id),t(u)?.focus()}),i(X,ne)};D(ue,X=>{t(pe).id!=="all"&&!t(lt)&&t(x)!==t(pe).id&&X(_e)})}v(U),F(()=>{de(U,"id",`${r}-${t(Le)??""}`),de(U,"aria-selected",t(Le)===t(l)),de(U,"data-project",t(pe).id),Pe(U,1,`group flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm select-none max-md:min-h-12 max-md:rounded-md max-md:py-1 ${t(Le)===t(l)?"bg-accent text-accent-foreground":""}`)}),pt("mousemove",U,()=>I(l,t(Le),!0)),pt("click",U,()=>e.onpick(t(pe).id)),pt("keydown",U,()=>{}),i(ze,U)}),i(K,ie)}),i(N,M)}),v(R),er(R,N=>I(a,N),()=>t(a)),v(re),F(()=>{Ta(L,t(d)),de(L,"aria-controls",`${r}-list`),de(L,"aria-activedescendant",t(m).length?`${r}-${t(l)}`:void 0),de(R,"id",`${r}-list`)}),pt("input",L,N=>_(N.currentTarget.value)),pt("keydown",L,p),i(o,re),$e(H)}ur(["input","keydown","mousemove","click"]);var Cd=new Set(["$$slots","$$events","$$legacy"]);function Td(o,e){let r=Oe(e,Cd);var n=Y(),s=w(n);ee(s,()=>hr,(d,l)=>{l(d,Ae(()=>r))}),i(o,n)}var Pd=new Set(["$$slots","$$events","$$legacy","ref","class","sideOffset","side","children","arrowClasses","portalProps"]),Sd=f("<div></div>"),$d=f("<!> <!>",1);function Bs(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=$(e,"sideOffset",3,0),s=$(e,"side",3,"top"),d=Oe(e,Pd);Td(o,Ae(()=>e.portalProps,{children:(l,u)=>{var a=Y(),g=w(a);{let T=h(()=>Bt("z-50 inline-flex w-fit max-w-xs origin-(--bits-tooltip-content-transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e.class));ee(g,()=>td,(m,_)=>{_(m,Ae({"data-slot":"tooltip-content",get sideOffset(){return n()},get side(){return s()},get class(){return t(T)}},()=>d,{get ref(){return r()},set ref(p){r(p)},children:(p,y)=>{var x=$d(),P=w(x);Ue(P,()=>e.children??st);var E=c(P,2);{const te=(xe,H)=>{let re=()=>(H?.()).props;var S=Sd();nt(S,Q=>({class:Q,...re()}),[()=>Bt("z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:-translate-x-1/2 data-[side=bottom]:-translate-y-[calc(-50%_+_1px)] data-[side=left]:-translate-y-[calc(50%_-_3px)] data-[side=right]:translate-x-[calc(50%_+_2px)] data-[side=right]:translate-y-1/2 data-[side=top]:translate-x-1/2 data-[side=top]:translate-y-[calc(-50%_+_2px)]",e.arrowClasses)]),i(xe,S)};ee(E,()=>od,(xe,H)=>{H(xe,{child:te,$$slots:{child:!0}})})}i(p,x)},$$slots:{default:!0}}))})}i(l,a)},$$slots:{default:!0}})),$e()}var Md=new Set(["$$slots","$$events","$$legacy","delayDuration"]);function Id(o,e){let r=$(e,"delayDuration",3,0),n=Oe(e,Md);var s=Y(),d=w(s);ee(d,()=>id,(l,u)=>{u(l,Ae({get delayDuration(){return r()}},()=>n))}),i(o,s)}var Ad=new Set(["$$slots","$$events","$$legacy","ref"]);function _r(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,Ad);var s=Y(),d=w(s);ee(d,()=>sd,(l,u)=>{u(l,Ae({"data-slot":"tooltip-trigger"},()=>n,{get ref(){return r()},set ref(a){r(a)}}))}),i(o,s),$e()}var Od=new Set(["$$slots","$$events","$$legacy","open"]);function yr(o,e){Se(e,!0);let r=$(e,"open",15,!1),n=Oe(e,Od);var s=Y(),d=w(s);ee(d,()=>Ql,(l,u)=>{u(l,Ae(()=>n,{get open(){return r()},set open(a){r(a)}}))}),i(o,s),$e()}var Ed=new Set(["$$slots","$$events","$$legacy","ref","checked","indeterminate","class","children","closeOnSelect"]),Dd=f('<span class="pointer-events-none absolute right-2 flex items-center justify-center" data-slot="dropdown-menu-checkbox-item-indicator"><!></span> <!>',1);function Kr(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=$(e,"checked",15,!1),s=$(e,"indeterminate",15,!1),d=$(e,"closeOnSelect",3,!1),l=Oe(e,Ed);var u=Y(),a=w(u);{const g=(m,_)=>{let p=()=>(_?.()).checked,y=()=>(_?.()).indeterminate;var x=Dd(),P=w(x),E=b(P);{var te=re=>{Wo(re,{})},xe=re=>{Zt(re,{})};D(E,re=>{y()?re(te):p()&&re(xe,1)})}v(P);var H=c(P,2);Ue(H,()=>e.children??st),i(m,x)};let T=h(()=>Bt("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-8 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e.class));ee(a,()=>Rl,(m,_)=>{_(m,Ae({get closeOnSelect(){return d()},"data-slot":"dropdown-menu-checkbox-item",get class(){return t(T)}},()=>l,{get ref(){return r()},set ref(p){r(p)},get checked(){return n()},set checked(p){n(p)},get indeterminate(){return s()},set indeterminate(p){s(p)},children:g,$$slots:{default:!0}}))})}i(o,u),$e()}var Nd=new Set(["$$slots","$$events","$$legacy"]);function Fd(o,e){let r=Oe(e,Nd);var n=Y(),s=w(n);ee(s,()=>hr,(d,l)=>{l(d,Ae(()=>r))}),i(o,n)}var zd=new Set(["$$slots","$$events","$$legacy","ref","sideOffset","align","portalProps","class"]);function Ld(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=$(e,"sideOffset",3,4),s=$(e,"align",3,"start"),d=Oe(e,zd);Fd(o,Ae(()=>e.portalProps,{children:(l,u)=>{var a=Y(),g=w(a);{let T=h(()=>Bt("z-50 max-h-(--bits-dropdown-menu-content-available-height) w-(--bits-dropdown-menu-anchor-width) min-w-32 origin-(--bits-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95",e.class));ee(g,()=>Vl,(m,_)=>{_(m,Ae({"data-slot":"dropdown-menu-content",get sideOffset(){return n()},get align(){return s()},get class(){return t(T)}},()=>d,{get ref(){return r()},set ref(p){r(p)}}))})}i(l,a)},$$slots:{default:!0}})),$e()}var Wd=new Set(["$$slots","$$events","$$legacy","ref"]);function Br(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,Wd);var s=Y(),d=w(s);ee(d,()=>Wl,(l,u)=>{u(l,Ae({"data-slot":"dropdown-menu-group"},()=>n,{get ref(){return r()},set ref(a){r(a)}}))}),i(o,s),$e()}var jd=new Set(["$$slots","$$events","$$legacy","ref","class","inset","variant"]);function es(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=$(e,"variant",3,"default"),s=Oe(e,jd);var d=Y(),l=w(d);{let u=h(()=>Bt("group/dropdown-menu-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",e.class));ee(l,()=>Fl,(a,g)=>{g(a,Ae({"data-slot":"dropdown-menu-item",get"data-inset"(){return e.inset},get"data-variant"(){return n()},get class(){return t(u)}},()=>s,{get ref(){return r()},set ref(T){r(T)}}))})}i(o,d),$e()}var Kd=new Set(["$$slots","$$events","$$legacy","ref","class","inset","children"]),Bd=f("<div><!></div>");function Hr(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,Kd);var s=Bd();nt(s,l=>({"data-slot":"dropdown-menu-label","data-inset":e.inset,class:l,...n}),[()=>Bt("px-2 py-1.5 text-xs font-medium text-muted-foreground data-inset:pl-8",e.class)]);var d=b(s);Ue(d,()=>e.children??st),v(s),er(s,l=>r(l),()=>r()),i(o,s),$e()}var Hd=new Set(["$$slots","$$events","$$legacy","ref","class"]);function ts(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,Hd);var s=Y(),d=w(s);{let l=h(()=>Bt("-mx-1 my-1 h-px bg-border",e.class));ee(d,()=>Bl,(u,a)=>{a(u,Ae({"data-slot":"dropdown-menu-separator",get class(){return t(l)}},()=>n,{get ref(){return r()},set ref(g){r(g)}}))})}i(o,s),$e()}var Ud=new Set(["$$slots","$$events","$$legacy","ref"]);function Rd(o,e){Se(e,!0);let r=$(e,"ref",15,null),n=Oe(e,Ud);var s=Y(),d=w(s);ee(d,()=>Jl,(l,u)=>{u(l,Ae({"data-slot":"dropdown-menu-trigger"},()=>n,{get ref(){return r()},set ref(a){r(a)}}))}),i(o,s),$e()}var qd=new Set(["$$slots","$$events","$$legacy","open"]);function Gd(o,e){Se(e,!0);let r=$(e,"open",15,!1),n=Oe(e,qd);var s=Y(),d=w(s);ee(d,()=>ql,(l,u)=>{u(l,Ae(()=>n,{get open(){return r()},set open(a){r(a)}}))}),i(o,s),$e()}const Vd=587,Yd=[[.5,.35,2.8],[1,.6,2.2],[1.2,.3,1.6],[1.5,.22,1.3],[2,.4,1.1],[2.74,.12,.7],[3.76,.08,.45]],Xd=.42,Jd=.16;let Gt=null;function wr(){try{const o=globalThis.AudioContext??globalThis.webkitAudioContext;if(!o)return;Gt??=new o,Gt.state==="suspended"&&Gt.resume();const e=Gt.currentTime+.02;rs(Gt,e),rs(Gt,e+Xd)}catch{}}function rs(o,e){const r=o.createGain();r.gain.value=Jd,r.connect(o.destination);for(const[n,s,d]of Yd){const l=o.createOscillator(),u=o.createGain();l.type="sine",l.frequency.value=Vd*n,u.gain.setValueAtTime(1e-4,e),u.gain.exponentialRampToValueAtTime(s,e+.004),u.gain.exponentialRampToValueAtTime(1e-4,e+d),l.connect(u).connect(r),l.start(e),l.stop(e+d+.05)}}const vr="wheelhouse-bell",ns="wheelhouse-bell-seen",or="wheelhouse-bell-dismissed",Zd="wheelhouse-bell",Qd=400,ec=12,tc=12,rc=400,Hs={sound:!1,notify:!1,kinds:{"pr-green":!0,question:!0,stuck:!0,landed:!0,issue:!0,"events-paused":!0,health:!0}};function xn(o){return Is.find(e=>e.kind===o)?.label??o}function Vt(o,e){try{const r=localStorage.getItem(o);return r?JSON.parse(r):e}catch{return e}}function Ur(o,e){try{localStorage.setItem(o,JSON.stringify(e))}catch{}}function ss(o){const e=o&&typeof o=="object"?o:{},r={...Hs.kinds};for(const n of Object.keys(r))typeof e.kinds?.[n]=="boolean"&&(r[n]=e.kinds[n]);return{sound:e.sound===!0,notify:e.notify===!0,kinds:r}}function as(o,e,r=Qd){return o.includes(e)?!1:(o.push(e),o.length>r&&o.splice(0,o.length-r),!0)}class nc{#e=be(Lt(Hs));get settings(){return t(this.#e)}set settings(e){I(this.#e,e,!0)}#t=be(Lt([]));get toasts(){return t(this.#t)}set toasts(e){I(this.#t,e,!0)}#r=be(Lt([]));get log(){return t(this.#r)}set log(e){I(this.#r,e,!0)}#n=be(0);get unread(){return t(this.#n)}set unread(e){I(this.#n,e,!0)}#s=be("default");get permission(){return t(this.#s)}set permission(e){I(this.#s,e,!0)}#o=be(Lt({}));get notes(){return t(this.#o)}set notes(e){I(this.#o,e,!0)}dismissed=[];raisedAt=new Map;rang=new Set;channel=null;started=!1;start(){if(this.started)return()=>{};this.started=!0,this.settings=ss(Vt(vr,null)),this.dismissed=Vt(or,[]),this.permission=typeof Notification>"u"?"unsupported":Notification.permission,Ge.claim=n=>{const s=Vt(ns,[]),d=as(s,Pt(n));return d&&Ur(ns,s),d};const e=Ge.onAlert(n=>this.receive(n)),r=n=>{n.key===vr&&(this.settings=ss(Vt(vr,null))),n.key===or&&(this.dismissed=Vt(or,[]),this.toasts=this.toasts.filter(s=>!this.dismissed.includes(Pt(s.alert))))};return addEventListener("storage",r),typeof BroadcastChannel<"u"&&(this.channel=new BroadcastChannel(Zd),this.channel.onmessage=n=>{n.data?.t==="rang"&&this.rang.add(n.data.id)}),()=>{e(),removeEventListener("storage",r),this.channel?.close(),this.channel=null,Ge.claim=()=>!0,this.started=!1}}receive(e){if(e.type==="settled"){this.toasts=this.toasts.filter(n=>n.alert.id!==e.data);return}const r=e.type==="alert"?[{alert:e.data,fresh:e.fresh}]:e.data;for(const{alert:n,fresh:s}of r){const d=Date.parse(n.at);if(d<(this.raisedAt.get(n.id)??-1/0))continue;this.raisedAt.set(n.id,d),this.log=[n,...this.log.filter(u=>u.id!==n.id)].sort((u,a)=>Date.parse(a.at)-Date.parse(u.at)).slice(0,ec);const l=Pt(n);!this.settings.kinds[n.kind]||this.dismissed.includes(l)||this.toasts.some(u=>Pt(u.alert)===l)||(s?(this.unread++,this.show({alert:n,fresh:s}),this.ring(n)):n.captain&&zn(n,Ge.fleet)&&this.show({alert:n,fresh:s}))}}show(e){const r=[...this.toasts.filter(n=>n.alert.id!==e.alert.id),e];for(;r.length>tc;){const n=r.findIndex(s=>!s.alert.captain);r.splice(n===-1?0:n,1)}this.toasts=r}dismiss(e){const r=Pt(e);this.toasts=this.toasts.filter(s=>Pt(s.alert)!==r);const n=Vt(or,[]);as(n,r)&&Ur(or,n),this.dismissed=n}expire(e){this.toasts=this.toasts.filter(r=>r.alert.id!==e||r.alert.captain)}prune(){const e=Ge.fleet;if(!e)return;const r=this.toasts.filter(n=>zn(n.alert,e));r.length!==this.toasts.length&&(this.toasts=r)}update(e){this.settings={...this.settings,...e},Ur(vr,this.settings)}setKind(e,r){this.update({kinds:{...this.settings.kinds,[e]:r}}),r||(this.toasts=this.toasts.filter(n=>n.alert.kind!==e))}async setNotify(e){if(!e||typeof Notification>"u"){this.update({notify:!1});return}let r=Notification.permission;r==="default"&&(r=await Notification.requestPermission()),this.permission=r,this.update({notify:r==="granted"})}setSound(e){this.update({sound:e}),e&&wr()}opened(){this.unread=0}async act(e,r=""){if(e.kind==="open"){e.external?window.open(e.href,"_blank","noopener,noreferrer"):await Wt(e.href);return}const n=this.notes[e.requestId];if(n?.state==="sending"||n?.state==="sent")return;this.notes[e.requestId]={state:"sending"};const s=await jo(e.text,r,null,e.requestId);this.notes[e.requestId]=s.ok?{state:"sent"}:{state:"failed",error:s.error}}ring(e){if(document.visibilityState==="visible"&&document.hasFocus()){this.settings.sound&&wr(),this.channel?.postMessage({t:"rang",id:Pt(e)});return}Ge.leader&&setTimeout(()=>{this.rang.has(Pt(e))||(this.settings.sound&&wr(),this.notify(e))},rc)}notify(e){if(!(!this.settings.notify||typeof Notification>"u")&&Notification.permission==="granted")try{const r=new Notification(`${xn(e.kind)}: ${e.title}`,{body:e.text,tag:e.id}),n=e.actions.find(s=>s.kind==="open"&&!s.external);r.onclick=()=>{window.focus(),Wt(n?.kind==="open"?n.href:e.taskId?Ko(e.taskId):"/"),r.close()}}catch{}}}const He=new nc;var sc=f('<span class="tabular absolute -top-0.5 -right-0.5 min-w-4 rounded-full bg-brass px-1 text-[0.6875rem] leading-4 font-semibold text-on-accent" aria-hidden="true"> </span>'),gr=f("<!> <!>",1),ac=f('<span class="flex w-full items-baseline justify-between gap-3 text-xs"><span> </span> <span class="text-muted-foreground"> </span></span> <span class="line-clamp-1 font-medium"> </span> <span class="line-clamp-2 text-xs text-muted-foreground"> </span>',1),oc=f('<p class="px-2 pb-2 text-sm text-muted-foreground">Nothing has rung yet.</p>'),ic=f('<span class="flex flex-col"><span> </span> <span class="text-xs text-muted-foreground"> </span></span>'),lc=f('<span class="flex flex-col"><span>Bell sound</span> <span class="text-xs text-muted-foreground">Two strokes of a ship’s bell. Off unless you turn it on.</span></span>'),dc=f('<span class="flex flex-col"><span>Browser notifications</span> <span class="text-xs text-muted-foreground"> </span></span>'),cc=f("<!>Ring the bell to hear it",1),uc=f("<!> <!> <!> <!>",1),hc=f('<div class="border-b border-b-brass/60 px-3 py-2.5"><p class="font-display text-base font-semibold">Ship’s bell</p> <p class="text-xs text-muted-foreground">Rings for the moments that need you.</p></div> <!> <!> <!> <!> <!>',1);function pc(o,e){Se(e,!0);const r=h(()=>Object.values(He.settings.kinds).every(l=>!l)),n=h(()=>He.permission==="unsupported"?"This browser cannot show notifications.":He.permission==="denied"?"Blocked in this browser’s site settings.":"When no Wheelhouse tab is in front.");var s=Y(),d=w(s);ee(d,()=>Gd,(l,u)=>{u(l,{onOpenChange:a=>a&&He.opened(),children:(a,g)=>{var T=gr(),m=w(T);{const p=(y,x)=>{let P=()=>(x?.()).props;{let E=h(()=>He.unread?`Ship’s bell: ${He.unread} new ${He.unread===1?"alert":"alerts"}`:"Ship’s bell");bt(y,Ae(P,{variant:"ghost",size:"icon-sm",class:"relative",get"aria-label"(){return t(E)},children:(te,xe)=>{var H=gr(),re=w(H);{var S=se=>{Ho(se,{})},Q=se=>{Gn(se,{})},L=se=>{Uo(se,{})};D(re,se=>{t(r)?se(S):He.unread?se(Q,1):se(L,-1)})}var R=c(re,2);{var Me=se=>{var he=sc(),N=W(he,!0);F(()=>A(N,He.unread)),i(se,he)};D(R,se=>{He.unread&&se(Me)})}i(te,H)},$$slots:{default:!0}}))}};ee(m,()=>Rd,(y,x)=>{x(y,{child:p,$$slots:{child:!0}})})}var _=c(m,2);ee(_,()=>Ld,(p,y)=>{y(p,{align:"end",class:"w-80 max-w-[calc(100vw-2rem)] p-0",children:(x,P)=>{var E=hc(),te=c(w(E),2);ee(te,()=>Br,(Q,L)=>{L(Q,{class:"p-1",children:(R,Me)=>{var se=gr(),he=w(se);ee(he,()=>Hr,(C,k)=>{k(C,{children:(M,O)=>{We();var q=ft("Recent");i(M,q)},$$slots:{default:!0}})});var N=c(he,2);ut(N,17,()=>He.log,C=>C.id,(C,k)=>{const M=h(()=>t(k).actions.find(oe=>oe.kind==="open"));var O=Y(),q=w(O);ee(q,()=>es,(oe,ye)=>{ye(oe,{class:"flex-col items-start gap-0.5",onSelect:()=>t(M)&&He.act(t(M)),children:(K,G)=>{var ie=ac(),we=w(ie),De=b(we),Ke=W(De,!0),ze=c(De,2),pe=W(ze,!0);v(we);var Le=c(we,2),rt=W(Le,!0),Ve=c(Le,2),Ie=W(Ve,!0);F((lt,z)=>{Pe(De,1,`font-medium ${As[Os[t(k).kind]]??""}`),A(Ke,lt),A(pe,z),A(rt,t(k).title),A(Ie,t(k).text)},[()=>xn(t(k).kind),()=>Kt(t(k).at,Ge.now)]),i(K,ie)},$$slots:{default:!0}})}),i(C,O)},C=>{var k=oc();i(C,k)}),i(R,se)},$$slots:{default:!0}})});var xe=c(te,2);ee(xe,()=>ts,(Q,L)=>{L(Q,{class:"my-0"})});var H=c(xe,2);ee(H,()=>Br,(Q,L)=>{L(Q,{class:"p-1",children:(R,Me)=>{var se=gr(),he=w(se);ee(he,()=>Hr,(C,k)=>{k(C,{children:(M,O)=>{We();var q=ft("Ring for");i(M,q)},$$slots:{default:!0}})});var N=c(he,2);ut(N,17,()=>Is,C=>C.kind,(C,k)=>{var M=Y(),O=w(M);ee(O,()=>Kr,(q,oe)=>{oe(q,{get checked(){return He.settings.kinds[t(k).kind]},onCheckedChange:ye=>He.setKind(t(k).kind,ye),children:(ye,K)=>{var G=ic(),ie=b(G),we=W(ie,!0),De=c(ie,2),Ke=W(De,!0);v(G),F(()=>{A(we,t(k).label),A(Ke,t(k).hint)}),i(ye,G)},$$slots:{default:!0}})}),i(C,M)}),i(R,se)},$$slots:{default:!0}})});var re=c(H,2);ee(re,()=>ts,(Q,L)=>{L(Q,{class:"my-0"})});var S=c(re,2);ee(S,()=>Br,(Q,L)=>{L(Q,{class:"p-1",children:(R,Me)=>{var se=uc(),he=w(se);ee(he,()=>Hr,(M,O)=>{O(M,{children:(q,oe)=>{We();var ye=ft("How");i(q,ye)},$$slots:{default:!0}})});var N=c(he,2);ee(N,()=>Kr,(M,O)=>{O(M,{get checked(){return He.settings.sound},onCheckedChange:q=>He.setSound(q),children:(q,oe)=>{var ye=lc();i(q,ye)},$$slots:{default:!0}})});var C=c(N,2);{let M=h(()=>He.permission==="unsupported"||He.permission==="denied");ee(C,()=>Kr,(O,q)=>{q(O,{get checked(){return He.settings.notify},get disabled(){return t(M)},onCheckedChange:oe=>{He.setNotify(oe)},children:(oe,ye)=>{var K=dc(),G=c(b(K),2),ie=W(G,!0);v(K),F(()=>A(ie,t(n))),i(oe,K)},$$slots:{default:!0}})})}var k=c(C,2);ee(k,()=>es,(M,O)=>{O(M,{closeOnSelect:!1,onSelect:()=>wr(),children:(q,oe)=>{var ye=cc(),K=w(ye);Gn(K,{class:"text-brass"}),We(),i(q,ye)},$$slots:{default:!0}})}),i(R,se)},$$slots:{default:!0}})}),i(x,E)},$$slots:{default:!0}})}),i(a,T)},$$slots:{default:!0}})}),i(o,s),$e()}const Qt=[{step:"fetch",label:"Fetch from GitHub"},{step:"fast-forward",label:"Fast-forward the clone"},{step:"install",label:"Install packages (npm ci)"},{step:"build",label:"Build"},{step:"restart",label:"Restart Wheelhouse"}],fc=[{step:"npm-install",label:"Install from npm"},{step:"restart",label:"Restart Wheelhouse"}],Us={step:"link",label:"Link the clone (npm link)"};[...Qt.slice(0,-1),Qt[4]];Qt[2],Qt[3],Qt[4];var vc=f('<!> <span class="hidden md:inline"> </span>',1),gc=f('<span class="absolute top-1 right-1 size-1.5 rounded-full bg-warning" aria-hidden="true"></span>'),Rr=f("<!> <!>",1),mc=f('· from <a class="hover:underline" target="_blank" rel="noreferrer"> </a> ',1),bc=f('<span class="size-4 text-center" aria-hidden="true">·</span>'),xc=f("<li><!> </li>"),_c=f('<p class="mt-3 text-xs text-muted-foreground">Waiting for Wheelhouse to come back…</p>'),yc=f('<ol class="space-y-1.5" aria-label="Upgrade progress"></ol> <!>',1),wc=f('<p class="mt-1 text-xs text-muted-foreground"> </p>'),kc=f('<p class="flex items-center gap-2"><!>Upgraded and restarted.</p> <!>',1),Cc=f('<pre class="mt-2 max-h-32 overflow-auto rounded-md bg-muted/60 px-2.5 py-1.5 font-mono text-[0.7rem] whitespace-pre-wrap"> </pre>'),os=f('<pre class="mt-2 max-h-32 overflow-auto rounded-md bg-muted/60 px-2.5 py-1.5 font-mono text-xs"> </pre>'),is=f('<p class="flex items-start gap-2"><!> <span> </span></p> <!> <!>',1),Tc=f('<p class="flex items-center gap-2 text-muted-foreground"><!> </p>'),Pc=f('<p class="flex items-center gap-2"><!>Up to date.</p> <p class="mt-1 text-xs text-muted-foreground"> </p>',1),Sc=f('<span class="font-normal text-muted-foreground"> </span>'),$c=f('<li class="text-xs"><span class="line-clamp-2"> </span> <span class="tabular text-muted-foreground"> </span></li>'),Mc=f('<li class="text-xs text-muted-foreground"> </li>'),Ic=f('<a target="_blank" rel="noreferrer" class="mt-2 inline-flex items-center gap-1 text-xs text-sea hover:underline">Compare on GitHub<!></a>'),Ac=f(`Upgrading runs <code>npm install -g @chrisjowen/wheelhouse</code> and restarts
|
|
2
2
|
Wheelhouse.`,1),Oc=f("<li> </li>"),Ec=f('<div class="mt-3 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-xs"><p class="font-medium text-warning">Restarting stops:</p> <ul class="mt-0.5"></ul></div>'),Dc=f("<code>npm install -g @chrisjowen/wheelhouse</code>"),Nc=f("<code>wheelhouse upgrade</code>"),Fc=f(`<p class="mt-3 text-xs text-muted-foreground">This Wheelhouse was not started by <code>wheelhouse open</code>, so it cannot restart
|
|
3
3
|
itself; run <!> in a terminal instead.</p>`),zc=f('<p class="font-medium"> <!></p> <ul class="mt-2 max-h-56 space-y-1.5 overflow-auto border-l border-hair pl-3"><!> <!></ul> <!> <p class="mt-3 text-xs leading-relaxed text-muted-foreground"><!> This page reconnects by itself. Firstmate and its crew keep running.</p> <!> <!>',1),Lc=f('<p class="mt-2 text-xs text-muted-foreground">Nothing was changed.</p>'),Wc=f('<p class="mt-3 text-xs text-danger" role="alert"> </p>'),jc=f('<span class="text-xs text-muted-foreground">You can close this; it carries on.</span>'),Kc=f("<!>Check now",1),Bc=f('<span class="text-xs text-muted-foreground"> </span> <!>',1),Hc=f('<div class="border-b border-b-brass/60 px-4 py-3"><p class="font-display text-base font-semibold">Wheelhouse</p> <p class="tabular text-xs break-words text-muted-foreground"> <!></p></div> <div class="px-4 py-3" aria-live="polite"><!> <!></div> <div class="flex items-center justify-between gap-2 border-t px-4 py-2.5"><!></div>',1);function Uc(o,e){Se(e,!0);let r=be(!1);const n=h(()=>mt.view),s=h(()=>t(n)?.check??null),d=h(()=>t(n)?.job??null),l=h(()=>mt.upgrading||t(d)?.state==="running"||t(d)?.state==="restarting"),u=h(()=>t(s)?.state==="available"&&!t(d)),a=h(()=>t(d)?.state==="failed"||t(s)?.state==="refused"||t(s)?.state==="error"),g=h(()=>t(n)?.source==="published"),T=h(()=>t(d)?.steps??(t(g)?fc:Qt)),m=h(()=>mt.upgrading&&!t(d)?t(T).length-1:t(T).findIndex(H=>H.step===t(d)?.step)),_=H=>H?H.slice(0,7):"",p=H=>H?[H.version,_(H.commit)].filter(Boolean).join(" · "):"",y=()=>Ee.data.sessionToken,x=h(()=>t(g)?"npm":"GitHub"),P=h(()=>t(s)?t(g)?"A new version is published on npm":`${t(s).behind} ${So(t(s).behind,"new commit","new commits")} on ${t(s).branch}`:""),E=h(()=>t(s)?.latest?.version&&t(s).latest.version!==t(s).current.version?t(s).latest.version:null);Ot(()=>mt.start());var te=Y(),xe=w(te);ee(xe,()=>vs,(H,re)=>{re(H,{get open(){return t(r)},set open(S){I(r,S,!0)},children:(S,Q)=>{var L=Rr(),R=w(L);{const se=(he,N)=>{let C=()=>(N?.()).props;var k=Y(),M=w(k);{var O=oe=>{{let ye=h(()=>t(l)?"Upgrading Wheelhouse":"Wheelhouse update available");bt(oe,Ae(C,{variant:"outline",size:"sm",class:"gap-1.5 border-sea/50 text-sea hover:text-sea",get"aria-label"(){return t(ye)},children:(K,G)=>{var ie=vc(),we=w(ie);{var De=Le=>{xr(Le,{class:"animate-spin"})},Ke=Le=>{jn(Le,{})};D(we,Le=>{t(l)?Le(De):Le(Ke,-1)})}var ze=c(we,2),pe=W(ze,!0);F(()=>A(pe,t(l)?"Upgrading…":"Update")),i(K,ie)},$$slots:{default:!0}}))}},q=oe=>{{let ye=h(()=>t(a)?"Wheelhouse updates: needs a look":"Wheelhouse version and updates");bt(oe,Ae(C,{variant:"ghost",size:"icon-sm",class:"relative text-muted-foreground",get"aria-label"(){return t(ye)},children:(K,G)=>{var ie=Rr(),we=w(ie);jn(we,{});var De=c(we,2);{var Ke=ze=>{var pe=gc();i(ze,pe)};D(De,ze=>{t(a)&&ze(Ke)})}i(K,ie)},$$slots:{default:!0}}))}};D(M,oe=>{t(u)||t(l)?oe(O):oe(q,-1)})}i(he,k)};ee(R,()=>gs,(he,N)=>{N(he,{child:se,$$slots:{child:!0}})})}var Me=c(R,2);ee(Me,()=>hr,(se,he)=>{he(se,{children:(N,C)=>{var k=Y(),M=w(k);ee(M,()=>ms,(O,q)=>{q(O,{align:"end",sideOffset:4,class:"z-50 w-96 max-w-[calc(100vw-2rem)] overflow-hidden rounded-md bg-popover text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10",children:(oe,ye)=>{var K=Hc(),G=w(K),ie=c(b(G),2),we=b(ie,!0),De=c(we);{var Ke=Z=>{var V=mc(),j=c(w(V)),ue=W(j,!0),_e=c(j);F(()=>{de(j,"href",`https://github.com/${t(s).repository??""}`),A(ue,t(s).repository),A(_e,` ${t(s).branch??""}`)}),i(Z,V)};D(De,Z=>{t(s)?.repository&&Z(Ke)})}v(ie),v(G);var ze=c(G,2),pe=b(ze);{var Le=Z=>{var V=yc(),j=w(V);ut(j,23,()=>t(T),X=>X.step,(X,ne,fe)=>{var Ce=xc(),ce=b(Ce);{var ve=et=>{Zt(et,{class:"size-4 text-success"})},ae=et=>{xr(et,{class:"size-4 animate-spin text-sea"})},me=et=>{var gt=bc();i(et,gt)};D(ce,et=>{t(fe)<t(m)?et(ve):t(fe)===t(m)?et(ae,1):et(me,-1)})}var je=c(ce);v(Ce),F(()=>{Pe(Ce,1,`flex items-center gap-2 ${t(fe)<=t(m)?"":"text-muted-foreground"}`),A(je,` ${t(ne).label??""}`)}),i(X,Ce)}),v(j);var ue=c(j,2);{var _e=X=>{var ne=_c();i(X,ne)};D(ue,X=>{(t(d)?.state==="restarting"||mt.upgrading&&!t(d))&&X(_e)})}i(Z,V)},rt=Z=>{var V=kc(),j=w(V),ue=b(j);Zt(ue,{class:"size-4 text-success"}),We(),v(j);var _e=c(j,2);{var X=ne=>{var fe=wc(),Ce=W(fe);F(ce=>A(Ce,`Now running ${ce??""}.`),[()=>p(t(s).current)]),i(ne,fe)};D(_e,ne=>{t(s)?.current.version&&ne(X)})}i(Z,V)},Ve=Z=>{var V=is(),j=w(V),ue=b(j);Wn(ue,{class:"mt-0.5 size-4 shrink-0 text-danger"});var _e=c(ue,2),X=W(_e);v(j);var ne=c(j,2);{var fe=ve=>{var ae=Cc(),me=W(ae,!0);F(je=>A(me,je),[()=>t(d).output.trim().split(`
|
|
4
4
|
`).slice(-12).join(`
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{p as n,f as h,t as c,a as l,b as u,c as v,o as a,s as _}from"../chunks/CEfkcOME.js";import{s}from"../chunks/CPPNfCxh.js";import{p as e}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{p as n,f as h,t as c,a as l,b as u,c as v,o as a,s as _}from"../chunks/CEfkcOME.js";import{s}from"../chunks/CPPNfCxh.js";import{p as e}from"../chunks/CWCjMcSQ.js";var g=v("<h1> </h1> <p> </p>",1);function E(o,p){n(p,!0);var r=g(),t=h(r),m=a(t,!0),f=_(t,2),i=a(f,!0);c(()=>{s(m,e.status),s(i,e.error?.message)}),l(o,r),u()}export{E as component};
|
|
Binary file
|
|
Binary file
|