@intent-hq/web 2.375.1 → 2.376.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{Dn-hGN0g.js → -Hb5Lymn.js} +1 -1
- package/web/app/immutable/chunks/{C9EedYBu.js → -SrZYziV.js} +1 -1
- package/web/app/immutable/chunks/{DKUOdUyV.js → 0rEEjvhW.js} +1 -1
- package/web/app/immutable/chunks/{DVcCnfZH.js → 0vLUv3ld.js} +1 -1
- package/web/app/immutable/chunks/1KDVFF23.js +1 -0
- package/web/app/immutable/chunks/{ChGLvrw4.js → 1_Sb4Kkv.js} +4 -4
- package/web/app/immutable/chunks/{Xgzrv-dN.js → 1wMLd-77.js} +1 -1
- package/web/app/immutable/chunks/{BX9IoE2d.js → 26zQgwyJ.js} +1 -1
- package/web/app/immutable/chunks/{DSiF4FpM.js → 2WaF6vs_.js} +1 -1
- package/web/app/immutable/chunks/{Bd6SODL5.js → 471Fgn_p.js} +1 -1
- package/web/app/immutable/chunks/{BE5ZU7pI.js → 5II1c2xL.js} +1 -1
- package/web/app/immutable/chunks/{DqujvsHK.js → 5IrgxRfr.js} +1 -1
- package/web/app/immutable/chunks/{DNozBV3M.js → 6529TVsv.js} +1 -1
- package/web/app/immutable/chunks/{Cpr2SOSC.js → 6FXzbKIf.js} +1 -1
- package/web/app/immutable/chunks/{DgiJ63hc.js → 7FS8g33K.js} +3 -3
- package/web/app/immutable/chunks/{CberoJl6.js → 7IpY0EgW.js} +1 -1
- package/web/app/immutable/chunks/{DY61j2wq.js → 7n3mxV6t.js} +1 -1
- package/web/app/immutable/chunks/{B_jbAa0I.js → 8PIbpdJu.js} +1 -1
- package/web/app/immutable/chunks/{B4SJ0wZk.js → 8VOCP3Xx.js} +1 -1
- package/web/app/immutable/chunks/{t4bVJhrn.js → 9Fwj-RCt.js} +4 -4
- package/web/app/immutable/chunks/{Jcrj5YZi.js → 9IHp8VDb.js} +1 -1
- package/web/app/immutable/chunks/{hK5d1dQ0.js → Aa4mTk2-.js} +1 -1
- package/web/app/immutable/chunks/{DV_Q2hiQ.js → B-lpv6Gv.js} +2 -2
- package/web/app/immutable/chunks/{DoQnqQZn.js → B4ot6F6B.js} +1 -1
- package/web/app/immutable/chunks/{B4n9OEnJ.js → B4wiFjXK.js} +1 -1
- package/web/app/immutable/chunks/B61tWwOC.js +1 -0
- package/web/app/immutable/chunks/{CM4xaytB.js → B6Zf-ZTX.js} +1 -1
- package/web/app/immutable/chunks/{DODG7FHv.js → B7o1DJo9.js} +1 -1
- package/web/app/immutable/chunks/{D3HVFnZe.js → B8tcC_lC.js} +1 -1
- package/web/app/immutable/chunks/{67uMgcnU.js → B9F4r5fH.js} +1 -1
- package/web/app/immutable/chunks/{BepABSAk.js → B9nat7hx.js} +1 -1
- package/web/app/immutable/chunks/{CtX28OJm.js → BA7mfVzm.js} +1 -1
- package/web/app/immutable/chunks/{CXjIzVpl.js → BGMy2Ryn.js} +1 -1
- package/web/app/immutable/chunks/{Dqtmunn7.js → BH4muXHE.js} +5 -5
- package/web/app/immutable/chunks/{Ds6Uj2aI.js → BIGkxv6Q.js} +1 -1
- package/web/app/immutable/chunks/{BWtq4mC4.js → BIwMjRQQ.js} +1 -1
- package/web/app/immutable/chunks/{CzEqpD5b.js → BLNcc2k4.js} +1 -1
- package/web/app/immutable/chunks/{CkRR8JwL.js → BLSHNn4a.js} +1 -1
- package/web/app/immutable/chunks/{jG67l4Uo.js → BLYYB2Pl.js} +2 -2
- package/web/app/immutable/chunks/{BbzFLKZE.js → BMScw2DS.js} +1 -1
- package/web/app/immutable/chunks/{gsUgKMwT.js → BMfUzLG6.js} +1 -1
- package/web/app/immutable/chunks/{B6CxzJhM.js → BOLzaoLg.js} +1 -1
- package/web/app/immutable/chunks/{mM-wy2h5.js → BP7XtCsE.js} +1 -1
- package/web/app/immutable/chunks/{NgEAPl8f.js → BPo1GPk4.js} +2 -2
- package/web/app/immutable/chunks/{BKPOvbtV.js → BPx3dFHu.js} +1 -1
- package/web/app/immutable/chunks/{DD_c8x6U.js → BQ5vM4FB.js} +2 -2
- package/web/app/immutable/chunks/{DJuFWuFo.js → BVunuTwn.js} +1 -1
- package/web/app/immutable/chunks/{DaUQbJQJ.js → BWBQA0E0.js} +1 -1
- package/web/app/immutable/chunks/{E0KBz4I2.js → BXB-ioXM.js} +1 -1
- package/web/app/immutable/chunks/{MBA6k0j3.js → BYBN65Dm.js} +1 -1
- package/web/app/immutable/chunks/{Dv3EtVHJ.js → BYeDxl_R.js} +1 -1
- package/web/app/immutable/chunks/{CiD4x8Gl.js → BZytk_HL.js} +1 -1
- package/web/app/immutable/chunks/{B5CW3gDe.js → Ba4cYgvZ.js} +3 -3
- package/web/app/immutable/chunks/{D806p2LW.js → BaEFcPEE.js} +3 -3
- package/web/app/immutable/chunks/{-18XT1CI.js → BblwdMxR.js} +1 -1
- package/web/app/immutable/chunks/{DIylOQL5.js → BcEldzTj.js} +1 -1
- package/web/app/immutable/chunks/{CRl6sOjh.js → Bco7_wmI.js} +1 -1
- package/web/app/immutable/chunks/{DppdhMsn.js → Bcx8Sxo7.js} +1 -1
- package/web/app/immutable/chunks/{PZRS5x7m.js → Bek4Es60.js} +1 -1
- package/web/app/immutable/chunks/{CUXVMwZ6.js → BgttkbLb.js} +1 -1
- package/web/app/immutable/chunks/{kFANwwYX.js → BgxLwwHQ.js} +1 -1
- package/web/app/immutable/chunks/{5mmUTVhd.js → BjYingUt.js} +1 -1
- package/web/app/immutable/chunks/{Cn8hCY5y.js → BkLeC-gf.js} +2 -2
- package/web/app/immutable/chunks/{ClkC2csJ.js → BlXvVwTG.js} +1 -1
- package/web/app/immutable/chunks/{DK-vph3Z.js → Blp2y8Zh.js} +1 -1
- package/web/app/immutable/chunks/{Bk5eDkyv.js → BmNAS5xc.js} +1 -1
- package/web/app/immutable/chunks/{CZJDTQJi.js → Bo5PTszQ.js} +1 -1
- package/web/app/immutable/chunks/{BZSs3eKh.js → BoEPe-FL.js} +1 -1
- package/web/app/immutable/chunks/{DZ8q1fkg.js → BoT5B49_.js} +1 -1
- package/web/app/immutable/chunks/{CSbK1_CV.js → BpT_ybtH.js} +2 -2
- package/web/app/immutable/chunks/{eGxC9Zfx.js → Br9RT7xb.js} +1 -1
- package/web/app/immutable/chunks/{CF0098kp.js → BrRuqfTp.js} +1 -1
- package/web/app/immutable/chunks/{DZmV2kHY.js → Bs1drFy2.js} +1 -1
- package/web/app/immutable/chunks/{DgOwYCT0.js → BtT-JO5g.js} +1 -1
- package/web/app/immutable/chunks/{DRPKvmfX.js → BtgBrLqZ.js} +1 -1
- package/web/app/immutable/chunks/{Dgn5Otg4.js → Bu4YAtNq.js} +1 -1
- package/web/app/immutable/chunks/{C0JDt0nm.js → Bu8LYT1B.js} +2 -2
- package/web/app/immutable/chunks/{BCKmKE5y.js → BuFlry2f.js} +1 -1
- package/web/app/immutable/chunks/{DvOdp8Jx.js → Bv5YjDej.js} +1 -1
- package/web/app/immutable/chunks/{Db_i0IkD.js → BvKzoZLa.js} +1 -1
- package/web/app/immutable/chunks/{CMFbZICM.js → BvhuCBEE.js} +2 -2
- package/web/app/immutable/chunks/{ChoM6f6w.js → BvjVhe2e.js} +1 -1
- package/web/app/immutable/chunks/{Bu7GfLOK.js → BvvCJG4x.js} +1 -1
- package/web/app/immutable/chunks/{LAC4SG96.js → Bwl-WDiM.js} +1 -1
- package/web/app/immutable/chunks/{tnfQ532f.js → BxlVsP3O.js} +1 -1
- package/web/app/immutable/chunks/{BSroN1Rt.js → ByJyX5qZ.js} +1 -1
- package/web/app/immutable/chunks/{K7F-rH-C.js → C09ifoAC.js} +4 -4
- package/web/app/immutable/chunks/{Q5HWwxnx.js → C0kzahSL.js} +1 -1
- package/web/app/immutable/chunks/{vXh-PQQZ.js → C0nXBDlv.js} +1 -1
- package/web/app/immutable/chunks/{DuPkRrZF.js → C2VSMRVU.js} +1 -1
- package/web/app/immutable/chunks/{B9-EoZ1p.js → C3FNiYoh.js} +1 -1
- package/web/app/immutable/chunks/{DINI7WNX.js → C3iIVLbv.js} +1 -1
- package/web/app/immutable/chunks/{LDe4IsYZ.js → C4MiITEz.js} +1 -1
- package/web/app/immutable/chunks/{TodMLsNs.js → C54d-qnB.js} +1 -1
- package/web/app/immutable/chunks/{D_Y9WK2x.js → C71BdIUW.js} +1 -1
- package/web/app/immutable/chunks/{iwQqOlmN.js → C7Ibt0hX.js} +1 -1
- package/web/app/immutable/chunks/{fXti0RCR.js → C7hm9bSX.js} +1 -1
- package/web/app/immutable/chunks/{CiJWG6bO.js → C82gBCX8.js} +1 -1
- package/web/app/immutable/chunks/{BmC0p6X8.js → CALsJq65.js} +1 -1
- package/web/app/immutable/chunks/{C-nutp9J.js → CB9DABC0.js} +1 -1
- package/web/app/immutable/chunks/{CnMgdwKG.js → CBLFNmYJ.js} +1 -1
- package/web/app/immutable/chunks/{DaysnCXK.js → CBmGf0Ke.js} +1 -1
- package/web/app/immutable/chunks/{gcpLbmeh.js → CCEqDzPP.js} +1 -1
- package/web/app/immutable/chunks/{C5l6D9GX.js → CClsvy7n.js} +1 -1
- package/web/app/immutable/chunks/{CpYW1yE7.js → CDeldaOF.js} +2 -2
- package/web/app/immutable/chunks/{CFqcGY4P.js → CEgHOs22.js} +1 -1
- package/web/app/immutable/chunks/{GlvfRTgI.js → CEqmtghP.js} +1 -1
- package/web/app/immutable/chunks/{RLFGU-s6.js → CFLXlno6.js} +1 -1
- package/web/app/immutable/chunks/{kuwy0JZA.js → CHHUtp07.js} +1 -1
- package/web/app/immutable/chunks/{BmEIQ8E-.js → CHzHsjlJ.js} +1 -1
- package/web/app/immutable/chunks/{Zw1KxEm0.js → CIzlkLuu.js} +1 -1
- package/web/app/immutable/chunks/{D5HhSqbc.js → CJJ2D2db.js} +1 -1
- package/web/app/immutable/chunks/{DGlNRMU1.js → CJh_F--P.js} +2 -2
- package/web/app/immutable/chunks/{CyaIe0jD.js → CJpjySL_.js} +1 -1
- package/web/app/immutable/chunks/{Cy9qAjIU.js → CL6yJ0UM.js} +1 -1
- package/web/app/immutable/chunks/{qPYbzgcC.js → CMgAi196.js} +1 -1
- package/web/app/immutable/chunks/{LGfIT3MS.js → CN0Csvus.js} +3 -3
- package/web/app/immutable/chunks/{Ctusnxiu.js → CN9rXc7J.js} +1 -1
- package/web/app/immutable/chunks/{Ilt_8E2i.js → COhzmnEo.js} +1 -1
- package/web/app/immutable/chunks/{D1HPSWvP.js → CPCza4LC.js} +1 -1
- package/web/app/immutable/chunks/{IVk1JAtP.js → CPEu2Vil.js} +1 -1
- package/web/app/immutable/chunks/{DSiZ9qTg.js → CQQvsDes.js} +1 -1
- package/web/app/immutable/chunks/{Cq76BY90.js → CQww8mRz.js} +1 -1
- package/web/app/immutable/chunks/{MyWfy8xc.js → CRWeEeIp.js} +1 -1
- package/web/app/immutable/chunks/{uE6SDSU_.js → CSepGuJ-.js} +1 -1
- package/web/app/immutable/chunks/{Byjmi-8z.js → CSp6HTdW.js} +2 -2
- package/web/app/immutable/chunks/CT6GHk2v.js +1 -0
- package/web/app/immutable/chunks/{BxVNHcGR.js → CTDEoCzv.js} +1 -1
- package/web/app/immutable/chunks/{oJ_ZL_ms.js → CToFQRbb.js} +1 -1
- package/web/app/immutable/chunks/{alEgYZuT.js → CUUAtNdA.js} +1 -1
- package/web/app/immutable/chunks/{C58p8xFm.js → CWFWI1JB.js} +1 -1
- package/web/app/immutable/chunks/{CFhbo3o1.js → CX9_bRjk.js} +1 -1
- package/web/app/immutable/chunks/{D1JjMDax.js → CYCawVEx.js} +1 -1
- package/web/app/immutable/chunks/{DzVqblgy.js → C_BHeuK7.js} +1 -1
- package/web/app/immutable/chunks/{DuDStABj.js → Ca9qLvAG.js} +1 -1
- package/web/app/immutable/chunks/{6JKrky9_.js → CbnYiL9b.js} +1 -1
- package/web/app/immutable/chunks/{CBl7oWeN.js → Cbu0O7F_.js} +1 -1
- package/web/app/immutable/chunks/{CHUCX9T6.js → CdgNuFkc.js} +1 -1
- package/web/app/immutable/chunks/{DZCvTRBp.js → CdpTO1ew.js} +1 -1
- package/web/app/immutable/chunks/{pZsrsFnW.js → CeWlRIsm.js} +1 -1
- package/web/app/immutable/chunks/{CHLHWub0.js → CfCk_l9B.js} +1 -1
- package/web/app/immutable/chunks/{DgH7yAy-.js → Cfy5Crpr.js} +1 -1
- package/web/app/immutable/chunks/{DoIr8Q2r.js → Ch-pFfsN.js} +1 -1
- package/web/app/immutable/chunks/{SMT1sep4.js → CjCvg4fu.js} +1 -1
- package/web/app/immutable/chunks/{DgaiTQpw.js → CjK2zm52.js} +1 -1
- package/web/app/immutable/chunks/{qkmjEtXH.js → CkmjUBxn.js} +3 -3
- package/web/app/immutable/chunks/{BJuNVIII.js → CkrblKaH.js} +1 -1
- package/web/app/immutable/chunks/{gSg6l32T.js → CmdE1AJL.js} +1 -1
- package/web/app/immutable/chunks/{C44hzh9R.js → CntPxeXh.js} +1 -1
- package/web/app/immutable/chunks/{1KCpY35B.js → Co4Bm5eY.js} +1 -1
- package/web/app/immutable/chunks/{C_GpcLP2.js → CqlSBroo.js} +1 -1
- package/web/app/immutable/chunks/{B4mmdCiF.js → CqsFOLCu.js} +1 -1
- package/web/app/immutable/chunks/{xS3xfMki.js → Csv5_672.js} +1 -1
- package/web/app/immutable/chunks/{C-7W2F0B.js → CtawaW2N.js} +1 -1
- package/web/app/immutable/chunks/{D6GBnYDv.js → CtguhKZB.js} +1 -1
- package/web/app/immutable/chunks/{C-JwFHXS.js → CuAAvi1f.js} +1 -1
- package/web/app/immutable/chunks/{DHqMqA41.js → CvZrEuUX.js} +1 -1
- package/web/app/immutable/chunks/{BlyKuyB7.js → CwQIGTQ1.js} +1 -1
- package/web/app/immutable/chunks/{C7Uh4cHO.js → CxfmOiQr.js} +1 -1
- package/web/app/immutable/chunks/{DyiA0AJU.js → D-7b6BAb.js} +1 -1
- package/web/app/immutable/chunks/{B3fU6XQp.js → D-rGNJzU.js} +1 -1
- package/web/app/immutable/chunks/{P3O1Bi5N.js → D1FftGj7.js} +1 -1
- package/web/app/immutable/chunks/{YfYAjqUM.js → D283eGmG.js} +1 -1
- package/web/app/immutable/chunks/{l4TJFOXC.js → D3GrssRa.js} +1 -1
- package/web/app/immutable/chunks/{DJ2vnC9G.js → D4EwlENg.js} +1 -1
- package/web/app/immutable/chunks/{BDXSQt10.js → D4XPYll-.js} +2 -2
- package/web/app/immutable/chunks/{BDsVnMYl.js → D7VeTrYO.js} +1 -1
- package/web/app/immutable/chunks/{BkLJnbD1.js → D7vAVIvz.js} +1 -1
- package/web/app/immutable/chunks/{D85P44Dj.js → D8B7qxXm.js} +1 -1
- package/web/app/immutable/chunks/{B_3JIPw3.js → DBI3WymG.js} +1 -1
- package/web/app/immutable/chunks/{LNZr9DCJ.js → DHSWOw-U.js} +1 -1
- package/web/app/immutable/chunks/{C6GJZLOP.js → DHbv9I-C.js} +1 -1
- package/web/app/immutable/chunks/{D_otNUZh.js → DJk5np0g.js} +1 -1
- package/web/app/immutable/chunks/{D-ls8znw.js → DKIi_opT.js} +1 -1
- package/web/app/immutable/chunks/{DUXVcIKV.js → DLMaiw5B.js} +1 -1
- package/web/app/immutable/chunks/{5uDsFopc.js → DM4cCUDd.js} +1 -1
- package/web/app/immutable/chunks/{DXwcjaPR.js → DM81x_EL.js} +2 -2
- package/web/app/immutable/chunks/{H3ekn9Mt.js → DMdq0QC2.js} +1 -1
- package/web/app/immutable/chunks/{kFRDyP-N.js → DPF9_zKV.js} +1 -1
- package/web/app/immutable/chunks/{C6jYe9up.js → DPLDRqMC.js} +1 -1
- package/web/app/immutable/chunks/{BO3WriTy.js → DPbnmxjX.js} +1 -1
- package/web/app/immutable/chunks/{CBtQnhwT.js → DPztwkUP.js} +1 -1
- package/web/app/immutable/chunks/{BYC0ucSR.js → DQlLBrpj.js} +1 -1
- package/web/app/immutable/chunks/{mdoDOmuU.js → DQmW4_9G.js} +1 -1
- package/web/app/immutable/chunks/{DzfHkSZF.js → DS5B84mn.js} +1 -1
- package/web/app/immutable/chunks/{P-zm4ktU.js → DSvyONiq.js} +1 -1
- package/web/app/immutable/chunks/{jaSHlZjt.js → DT8FaJbg.js} +1 -1
- package/web/app/immutable/chunks/{CGG7txTQ.js → DTpQzThG.js} +1 -1
- package/web/app/immutable/chunks/{BTKPx9nP.js → DTzE7g9m.js} +3 -3
- package/web/app/immutable/chunks/{BIo9gpGl.js → DUT4xhYi.js} +1 -1
- package/web/app/immutable/chunks/{D6YX_GFv.js → DVok8lSR.js} +1 -1
- package/web/app/immutable/chunks/{Bl8fHOk-.js → DXQ7EI2S.js} +1 -1
- package/web/app/immutable/chunks/{CdvXSvOC.js → DX_ZPiRZ.js} +1 -1
- package/web/app/immutable/chunks/{DgIh2Fs6.js → DXf8KXiZ.js} +1 -1
- package/web/app/immutable/chunks/{COUB9dHY.js → DYGC3eZn.js} +1 -1
- package/web/app/immutable/chunks/{BrFnR1vI.js → DZbKPa1t.js} +1 -1
- package/web/app/immutable/chunks/{U6kzE96u.js → D_fLfdMn.js} +1 -1
- package/web/app/immutable/chunks/{PCtwJJ25.js → D_xvUCUD.js} +1 -1
- package/web/app/immutable/chunks/{DoA3JmdK.js → DbSttgXv.js} +1 -1
- package/web/app/immutable/chunks/{3rxHCGTW.js → DcZr-m_l.js} +1 -1
- package/web/app/immutable/chunks/{a-OtAcF_.js → Dec_LXa-.js} +3 -3
- package/web/app/immutable/chunks/{CqJcYBUx.js → DfXFG9So.js} +1 -1
- package/web/app/immutable/chunks/{B7ydANq7.js → Dfq_rEeO.js} +1 -1
- package/web/app/immutable/chunks/{BowQ7sBM.js → DgV330Oe.js} +1 -1
- package/web/app/immutable/chunks/{grQh-L5q.js → DgaQFJ1C.js} +2 -2
- package/web/app/immutable/chunks/{CYWgGrsf.js → Dh_eorhd.js} +1 -1
- package/web/app/immutable/chunks/{ChJ4msi3.js → Dhj-Oo-y.js} +1 -1
- package/web/app/immutable/chunks/{CBHXSekd.js → DiEy7mCR.js} +1 -1
- package/web/app/immutable/chunks/{F-NRzkEu.js → DiLFzwi3.js} +1 -1
- package/web/app/immutable/chunks/{Bb_mQye1.js → Div7CQPf.js} +1 -1
- package/web/app/immutable/chunks/{DK3AlKip.js → DjBxG6q0.js} +3 -3
- package/web/app/immutable/chunks/{D6hUzfgH.js → DjLLAN4K.js} +1 -1
- package/web/app/immutable/chunks/{o1gxvTJU.js → DjpjFygj.js} +1 -1
- package/web/app/immutable/chunks/{BifXEk-G.js → Dk0afiu6.js} +1 -1
- package/web/app/immutable/chunks/{BOsHJKjO.js → DkY0xIi7.js} +2 -2
- package/web/app/immutable/chunks/{CpV-ehZ5.js → DkYquFOp.js} +1 -1
- package/web/app/immutable/chunks/{DZBnfhEV.js → Dmy603At.js} +1 -1
- package/web/app/immutable/chunks/{DmQm2Dw6.js → DnUdAfCR.js} +1 -1
- package/web/app/immutable/chunks/{CFUDIGea.js → DopSRBlm.js} +1 -1
- package/web/app/immutable/chunks/{CQxAYjD7.js → DpMsJtM0.js} +1 -1
- package/web/app/immutable/chunks/{kZanyiqf.js → DpSAF6fh.js} +1 -1
- package/web/app/immutable/chunks/{XyC5Phh7.js → DpgIqMGp.js} +1 -1
- package/web/app/immutable/chunks/{aToNeEMa.js → DqPe5uyz.js} +1 -1
- package/web/app/immutable/chunks/{D_o67XD6.js → DtO0wAdA.js} +2 -2
- package/web/app/immutable/chunks/{Di9CSB6H.js → DtYDlbcb.js} +1 -1
- package/web/app/immutable/chunks/{Bw0E8D92.js → Dv6PZjTW.js} +1 -1
- package/web/app/immutable/chunks/{yqs-hTyP.js → DvwOszqf.js} +1 -1
- package/web/app/immutable/chunks/{Cin575hV.js → Dwb4ijU4.js} +1 -1
- package/web/app/immutable/chunks/{m8gDbIPC.js → DwhE2_yv.js} +2 -2
- package/web/app/immutable/chunks/{C1m4pSe1.js → DxrRvklK.js} +1 -1
- package/web/app/immutable/chunks/{D9JbOH_S.js → Dy7nbUgl.js} +1 -1
- package/web/app/immutable/chunks/{iykV4pvb.js → DyFc4NAd.js} +1 -1
- package/web/app/immutable/chunks/{DTutiDCZ.js → DzTe1W0Z.js} +1 -1
- package/web/app/immutable/chunks/{CFtfWLBC.js → Dzl5aoA8.js} +1 -1
- package/web/app/immutable/chunks/{CCEQVSjx.js → G4lPpFfF.js} +1 -1
- package/web/app/immutable/chunks/{BL39LNxU.js → IdqO6uHC.js} +1 -1
- package/web/app/immutable/chunks/{B5bnHhgO.js → J9vGyyn3.js} +1 -1
- package/web/app/immutable/chunks/{DbCeN0Lt.js → KImhPY_I.js} +1 -1
- package/web/app/immutable/chunks/{YbP7yBkb.js → LFlj1pUW.js} +1 -1
- package/web/app/immutable/chunks/{dqvdjjXR.js → LqBZITyo.js} +3 -3
- package/web/app/immutable/chunks/{4r36FIB7.js → MujvTDgv.js} +1 -1
- package/web/app/immutable/chunks/{QjNLPDal.js → Mw2Z7eLx.js} +1 -1
- package/web/app/immutable/chunks/{DyT0mOdr.js → NUgfgzzR.js} +4 -4
- package/web/app/immutable/chunks/{DfdqseMI.js → NzPgPyYa.js} +1 -1
- package/web/app/immutable/chunks/{CJZ6Gu1k.js → Ow3KARwj.js} +1 -1
- package/web/app/immutable/chunks/{DtBx3nLm.js → PD1TeEVF.js} +1 -1
- package/web/app/immutable/chunks/{ChbTF48b.js → PqstdoKv.js} +1 -1
- package/web/app/immutable/chunks/{BK0rB8kZ.js → Pqx84Da9.js} +1 -1
- package/web/app/immutable/chunks/{8TUe2kcz.js → PtMxuYy8.js} +1 -1
- package/web/app/immutable/chunks/Q-Hp56ht.js +6 -0
- package/web/app/immutable/chunks/{BjWOzuMm.js → QSHJFaU7.js} +4 -4
- package/web/app/immutable/chunks/{zrdFYBgX.js → Qzhec1TY.js} +1 -1
- package/web/app/immutable/chunks/{Cr9glZDh.js → Ro7n3ECj.js} +1 -1
- package/web/app/immutable/chunks/{BReER1n3.js → THm8CnE2.js} +1 -1
- package/web/app/immutable/chunks/{S7_elIn6.js → TSQNyjhg.js} +1 -1
- package/web/app/immutable/chunks/{C-zY3GF-.js → UHs-xfbd.js} +1 -1
- package/web/app/immutable/chunks/{D0Ayz4Dm.js → Ug7t_gUQ.js} +1 -1
- package/web/app/immutable/chunks/{DQiheiDa.js → Wg-KBN6b.js} +48 -48
- package/web/app/immutable/chunks/{BsknvdQb.js → XmeiGQiO.js} +1 -1
- package/web/app/immutable/chunks/{COIbDYtT.js → Y4Eu_VSz.js} +3 -3
- package/web/app/immutable/chunks/{BQg4hK6W.js → Zg9SWWIQ.js} +1 -1
- package/web/app/immutable/chunks/{Cwvt_P5T.js → a0CN3en2.js} +1 -1
- package/web/app/immutable/chunks/{njprJ3WZ.js → aqQCGQpk.js} +1 -1
- package/web/app/immutable/chunks/bzfuMuVY.js +1 -0
- package/web/app/immutable/chunks/{BHni5QqW.js → cP-p0FYL.js} +1 -1
- package/web/app/immutable/chunks/{DMqmqAT4.js → dIyiVmNx.js} +1 -1
- package/web/app/immutable/chunks/{DVNEvaXi.js → fFnyP4ej.js} +1 -1
- package/web/app/immutable/chunks/{eZSKfAFO.js → gY6D1J3N.js} +1 -1
- package/web/app/immutable/chunks/{CyyqjEBc.js → hCk1hXVJ.js} +1 -1
- package/web/app/immutable/chunks/{DcNvIFJV.js → i0zaZVKI.js} +1 -1
- package/web/app/immutable/chunks/{CBRC7st2.js → i_Orzl3O.js} +2 -2
- package/web/app/immutable/chunks/{BevEoYEw.js → j9buSIht.js} +1 -1
- package/web/app/immutable/chunks/{BLYFfqzj.js → jUAybD8G.js} +1 -1
- package/web/app/immutable/chunks/{zjXa9LeK.js → jsYE2rXv.js} +1 -1
- package/web/app/immutable/chunks/{fXwGuYzr.js → kPyUfani.js} +1 -1
- package/web/app/immutable/chunks/{B0O5mhBM.js → mnnjJoDI.js} +1 -1
- package/web/app/immutable/chunks/{DQAJLaJ3.js → nHwpsxWy.js} +1 -1
- package/web/app/immutable/chunks/{y-lOZYhA.js → p0fS0rJD.js} +1 -1
- package/web/app/immutable/chunks/{BY16_RoT.js → q9cUG1dc.js} +1 -1
- package/web/app/immutable/chunks/{CYYyuCBb.js → qu0QpfUw.js} +1 -1
- package/web/app/immutable/chunks/{CQ6jYKtE.js → reP1x2hx.js} +1 -1
- package/web/app/immutable/chunks/{mF8ZdCMN.js → thdnIk1K.js} +1 -1
- package/web/app/immutable/chunks/tw85acZN.js +177 -0
- package/web/app/immutable/chunks/{BBiqqybB.js → wfSdTH77.js} +1 -1
- package/web/app/immutable/chunks/{Dtveg46I.js → wqzy1XTy.js} +1 -1
- package/web/app/immutable/chunks/{DCTwUEO7.js → xJBWkpxc.js} +1 -1
- package/web/app/immutable/chunks/{1Wzdy1K8.js → z1Wv0MVw.js} +6 -6
- package/web/app/immutable/chunks/{DinWeICM.js → zK-Wn6qa.js} +1 -1
- package/web/app/immutable/chunks/{C7TJE1vk.js → zaxjdjiF.js} +1 -1
- package/web/app/immutable/chunks/{DkkEizQf.js → zzl2tBQf.js} +1 -1
- package/web/app/immutable/entry/{app.B-3yrq60.js → app.CVv4zmJ_.js} +3 -3
- package/web/app/immutable/entry/start.CiYvv3YQ.js +1 -0
- package/web/app/immutable/nodes/{0.Dr7z-ndg.js → 0.Cb_UZQTB.js} +1 -1
- package/web/app/immutable/nodes/{1.DszvgcVt.js → 1.B0kBQ96l.js} +1 -1
- package/web/app/immutable/nodes/{10.mpjVYgcT.js → 10.CGIePvim.js} +5 -5
- package/web/app/immutable/nodes/{11.d9OIWvmS.js → 11.DcWpM7Yi.js} +1 -1
- package/web/app/immutable/nodes/{12.hNKUSgvY.js → 12.S6PrlAwz.js} +1 -1
- package/web/app/immutable/nodes/{13.NTcuwB8X.js → 13.Bs_o-uwb.js} +1 -1
- package/web/app/immutable/nodes/{14.C4hEzDzc.js → 14.CIZDoMeA.js} +3 -3
- package/web/app/immutable/nodes/{15.BGv16BME.js → 15.DDtIC3Hq.js} +1 -1
- package/web/app/immutable/nodes/{16.BLKEYdtz.js → 16.BgJmXimX.js} +1 -1
- package/web/app/immutable/nodes/{17.Cw1VnAlL.js → 17.BWRlIYI7.js} +1 -1
- package/web/app/immutable/nodes/{18.BC2tc74_.js → 18.BV2orlA1.js} +1 -1
- package/web/app/immutable/nodes/{19.BLf_cCOa.js → 19.B1-CCqHR.js} +2 -2
- package/web/app/immutable/nodes/{2.DT49t-u_.js → 2.CAFqSYBH.js} +4 -4
- package/web/app/immutable/nodes/{20.CAN0HPlm.js → 20.DLg8hCzP.js} +1 -1
- package/web/app/immutable/nodes/{3.CHLlivF3.js → 3.CNcHr_kX.js} +1 -1
- package/web/app/immutable/nodes/{4.D2tKSs2v.js → 4.BzoidTar.js} +1 -1
- package/web/app/immutable/nodes/{5.B9Lx7aa1.js → 5.vAApKfTG.js} +1 -1
- package/web/app/immutable/nodes/{6.BXEdmXk5.js → 6.D2VrWob4.js} +1 -1
- package/web/app/immutable/nodes/{7.Cg1blkaN.js → 7.cIi2v_en.js} +1 -1
- package/web/app/immutable/nodes/{8.B5g4h2T5.js → 8.DVH30a1F.js} +1 -1
- package/web/app/immutable/nodes/{9.CQeYWw6-.js → 9.AUZxhWIX.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/B6sO6A0G.js +0 -1
- package/web/app/immutable/chunks/BSev9KPj.js +0 -1
- package/web/app/immutable/chunks/Bv8Gaorn.js +0 -1
- package/web/app/immutable/chunks/CAEqRKhy.js +0 -1
- package/web/app/immutable/chunks/Dr4PDf9D.js +0 -6
- package/web/app/immutable/chunks/EZ4dI6hS.js +0 -177
- package/web/app/immutable/entry/start.DZZRsHd3.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/U6kzE96u.js","/app/immutable/chunks/Bv8Gaorn.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/BQg4hK6W.js","/app/immutable/chunks/ChJ4msi3.js","/app/immutable/chunks/hK5d1dQ0.js","/app/immutable/chunks/D1JjMDax.js","/app/immutable/chunks/DZBnfhEV.js","/app/immutable/chunks/D85P44Dj.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/kZanyiqf.js","/app/immutable/chunks/BkLJnbD1.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/BO3WriTy.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/CSbK1_CV.js","/app/immutable/chunks/B5bnHhgO.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/C44hzh9R.js","/app/immutable/chunks/BLYFfqzj.js","/app/immutable/chunks/NgEAPl8f.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/8TUe2kcz.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CiD4x8Gl.js","/app/immutable/chunks/DgaiTQpw.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/C6GJZLOP.js","/app/immutable/chunks/DkkEizQf.js","/app/immutable/chunks/DCTwUEO7.js","/app/immutable/chunks/DoIr8Q2r.js","/app/immutable/chunks/B_jbAa0I.js","/app/immutable/chunks/CFtfWLBC.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/CnMgdwKG.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/BL39LNxU.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/D6GBnYDv.js","/app/immutable/chunks/COUB9dHY.js","/app/immutable/chunks/DINI7WNX.js","/app/immutable/chunks/Xgzrv-dN.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/DMqmqAT4.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/DSiZ9qTg.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/zjXa9LeK.js","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/D806p2LW.js","/app/immutable/chunks/Dr4PDf9D.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/mdoDOmuU.js","/app/immutable/chunks/CpV-ehZ5.js","/app/immutable/chunks/iwQqOlmN.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/PCtwJJ25.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/MyWfy8xc.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/kuwy0JZA.js","/app/immutable/chunks/Byjmi-8z.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/qPYbzgcC.js","/app/immutable/chunks/-18XT1CI.js","/app/immutable/chunks/BWtq4mC4.js","/app/immutable/chunks/5uDsFopc.js","/app/immutable/chunks/B7ydANq7.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/DY61j2wq.js","/app/immutable/chunks/BOsHJKjO.js","/app/immutable/chunks/D0Ayz4Dm.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/CQxAYjD7.js","/app/immutable/chunks/gsUgKMwT.js","/app/immutable/chunks/fXti0RCR.js","/app/immutable/chunks/CiJWG6bO.js","/app/immutable/chunks/DaysnCXK.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/m8gDbIPC.js","/app/immutable/chunks/t4bVJhrn.js","/app/immutable/chunks/CHLHWub0.js","/app/immutable/chunks/njprJ3WZ.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/uE6SDSU_.js","/app/immutable/chunks/eGxC9Zfx.js","/app/immutable/chunks/Bb_mQye1.js","/app/immutable/chunks/B4mmdCiF.js","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/DgOwYCT0.js","/app/immutable/chunks/DVcCnfZH.js","/app/immutable/chunks/Bd6SODL5.js","/app/immutable/chunks/C6jYe9up.js","/app/immutable/chunks/BKPOvbtV.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/D5HhSqbc.js","/app/immutable/chunks/C1m4pSe1.js","/app/immutable/chunks/1Wzdy1K8.js","/app/immutable/chunks/kFANwwYX.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/YfYAjqUM.js","/app/immutable/chunks/LNZr9DCJ.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/DgiJ63hc.js","/app/immutable/chunks/DbCeN0Lt.js","/app/immutable/chunks/BDXSQt10.js","/app/immutable/chunks/PZRS5x7m.js","/app/immutable/chunks/DIylOQL5.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/MBA6k0j3.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/C58p8xFm.js","/app/immutable/chunks/F-NRzkEu.js","/app/immutable/chunks/BReER1n3.js","/app/immutable/assets/AttachmentPreview.D_hsaikk.css","/app/immutable/chunks/y-lOZYhA.js","/app/immutable/chunks/BCKmKE5y.js","/app/immutable/assets/DictationStopButton.DWUPhcKi.css","/app/immutable/chunks/BjWOzuMm.js","/app/immutable/chunks/DgIh2Fs6.js","/app/immutable/chunks/CCEQVSjx.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/BifXEk-G.js","/app/immutable/chunks/qkmjEtXH.js","/app/immutable/chunks/CpYW1yE7.js","/app/immutable/chunks/alEgYZuT.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/B4n9OEnJ.js","/app/immutable/chunks/BJuNVIII.js","/app/immutable/chunks/D3HVFnZe.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/DyiA0AJU.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/chunks/BBiqqybB.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/D_otNUZh.js","/app/immutable/chunks/DTutiDCZ.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/ChGLvrw4.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/aToNeEMa.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/B6sO6A0G.js","/app/immutable/chunks/D_o67XD6.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/B5CW3gDe.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/C0JDt0nm.js","/app/immutable/chunks/CM4xaytB.js","/app/immutable/chunks/CF0098kp.js","/app/immutable/chunks/COIbDYtT.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/Cq76BY90.js","/app/immutable/chunks/D6YX_GFv.js","/app/immutable/chunks/C_GpcLP2.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/Dqtmunn7.js","/app/immutable/chunks/gSg6l32T.js","/app/immutable/chunks/DQAJLaJ3.js","/app/immutable/chunks/DXwcjaPR.js","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/EZ4dI6hS.js","/app/immutable/chunks/DK-vph3Z.js","/app/immutable/chunks/jaSHlZjt.js","/app/immutable/chunks/Jcrj5YZi.js","/app/immutable/chunks/CZJDTQJi.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/oJ_ZL_ms.js","/app/immutable/assets/conversation-turns.P_pkAsRX.css","/app/immutable/chunks/CtX28OJm.js","/app/immutable/chunks/C5l6D9GX.js","/app/immutable/chunks/XyC5Phh7.js","/app/immutable/chunks/GlvfRTgI.js","/app/immutable/chunks/kFRDyP-N.js","/app/immutable/chunks/S7_elIn6.js","/app/immutable/chunks/DgH7yAy-.js","/app/immutable/chunks/ClkC2csJ.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/DVNEvaXi.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/DvOdp8Jx.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/CJZ6Gu1k.js","/app/immutable/chunks/C-JwFHXS.js","/app/immutable/chunks/C7TJE1vk.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/DoQnqQZn.js","/app/immutable/chunks/DuDStABj.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/IVk1JAtP.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/chunks/dqvdjjXR.js","/app/immutable/chunks/DSiF4FpM.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/C-7W2F0B.js","/app/immutable/chunks/jG67l4Uo.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/DK3AlKip.js","/app/immutable/chunks/DzfHkSZF.js","/app/immutable/chunks/DoA3JmdK.js","/app/immutable/chunks/Cwvt_P5T.js","/app/immutable/chunks/LGfIT3MS.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/CQ6jYKtE.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/gcpLbmeh.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/BxVNHcGR.js","/app/immutable/chunks/CRl6sOjh.js","/app/immutable/chunks/iykV4pvb.js","/app/immutable/chunks/DQiheiDa.js","/app/immutable/chunks/D-ls8znw.js","/app/immutable/chunks/DV_Q2hiQ.js","/app/immutable/chunks/DzVqblgy.js","/app/immutable/chunks/Ilt_8E2i.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/vXh-PQQZ.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/CFqcGY4P.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/CXjIzVpl.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/Cr9glZDh.js","/app/immutable/chunks/DUXVcIKV.js","/app/immutable/chunks/C-zY3GF-.js","/app/immutable/chunks/DGlNRMU1.js","/app/immutable/chunks/Bw0E8D92.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/a-OtAcF_.js","/app/immutable/chunks/BbzFLKZE.js","/app/immutable/chunks/DZCvTRBp.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/5mmUTVhd.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/BSroN1Rt.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/grQh-L5q.js","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/ChoM6f6w.js","/app/immutable/chunks/DKUOdUyV.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/BYC0ucSR.js","/app/immutable/chunks/BowQ7sBM.js","/app/immutable/chunks/BDsVnMYl.js","/app/immutable/chunks/ChbTF48b.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/CkRR8JwL.js","/app/immutable/chunks/pZsrsFnW.js","/app/immutable/chunks/Cn8hCY5y.js","/app/immutable/chunks/67uMgcnU.js","/app/immutable/chunks/DJ2vnC9G.js","/app/immutable/chunks/B4SJ0wZk.js","/app/immutable/chunks/BZ9svoQk.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{bm as e,_ as c,t as Te,bo as ie,bw as he,b as ke}from"./Bv8Gaorn.js";import{t as u}from"./BmC0p6X8.js";import{bD as ue,bv as Ve,cK as Ne,aO as $e,cn as Me,aV as ge,bg as Ke,aN as Be,aM as Ge,bs as He,bL as qe,b_ as Fe,bJ as je,F as Ue}from"./CiD4x8Gl.js";import{R as H}from"./eZSKfAFO.js";import{bs as we,ca as Q,bH as v,aD as t,bV as K,br as ze,a7 as q,ay as M,W as p,bn as Le,c9 as b,aA as ne,a5 as X,bA as Z,bS as ye,aw as Ye,aB as W,be as F,b$ as x,b_ as I,bO as E,bl as Je,bk as Qe}from"./3SdAC2_C.js";import{i as D}from"./BQg4hK6W.js";import{s as fe}from"./D85P44Dj.js";import{L as me}from"./BReER1n3.js";import{C as Xe,L as be}from"./C6GJZLOP.js";import{I as Ze}from"./DCTwUEO7.js";import"./DoIr8Q2r.js";import"./BL39LNxU.js";import{f as le}from"./BO3WriTy.js";import{v as Ie}from"./CSbK1_CV.js";import"./CnMgdwKG.js";import"./DZBnfhEV.js";import{I as ve}from"./D1JjMDax.js";import{I as et}from"./Bqd7fdCF.js";import"./B5bnHhgO.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./U6kzE96u.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209]),import.meta.url),defaultWidthTier:"wide",icon:ue,get defaultTitle(){return e.workspace_page_workspaceResource_label()},get categoryLabel(){return e.workspace_page_workspaceResource_label()},renameable:!1}),u.register({type:"browser",loadComponent:()=>c(()=>import("./DoQnqQZn.js"),__vite__mapDeps([210,1,2,3,11,6,7,8,9,10,15,211,22,23,24,25,26,18,13,4,71,14,16,17,19,12,20,21,27,28,29,30,31,32,45,33,34,35,36,37,38,39,40,41,42,43,44,46,58,72,64,62,65,68,60,59,73,74,75,76,63,77,78,181,92,57,61,182,212,123,213,125,52,136,86,214,99,100,215,109,110,111,112,113,216,217,102,218]),import.meta.url),defaultWidthTier:"wide",icon:Ve,get defaultTitle(){return e.layout_tabTypes_browser_title()},get categoryLabel(){return e.layout_tabTypes_browser_category()},sidebarTabId:"browser",renameable:!1}),u.register({type:"terminal",loadComponent:()=>c(()=>import("./C-7W2F0B.js"),__vite__mapDeps([219,1,2,3,4,11,28,7,8,9,10,6,64,18,22,23,24,25,26,13,62,16,17,19,65,20,220,15,221,222,59,60,57,58,61,63,223,224,225,226,227,112,212,191,228,14,12,21,27,29,30,31,32,213,229,72,68,73,74,75,76,77,78,36,42,43,40,41,217,230,38,35,39,136,33,34,37,44,45,46,215,231,149,232,233,102,234]),import.meta.url),defaultWidthTier:"medium",icon:Ne,get defaultTitle(){return e.layout_tabTypes_terminal_title()},get categoryLabel(){return e.layout_tabTypes_terminal_category()},sidebarTabId:"terminals",renameable:!1}),u.register({type:"code-review",loadComponent:()=>c(()=>import("./iykV4pvb.js"),__vite__mapDeps([235,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,64,28,11,62,16,17,19,65,20,216,76,63,78,92,72,12,14,15,4,21,27,30,31,32,68,60,59,73,74,75,77,58,57,61,217,181,182,102,236,237,178,84,87,179,180,130,132,133,142,229,167,238,234,239,36,42,43,40,41,113,112,172,206,191,213,143,135,71,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,140,153,154,35,164,82,69,70,33,34,37,38,39,44,45,46,79,80,81,50,51,117,165,125,52]),import.meta.url),defaultWidthTier:"wide",icon:$e,get defaultTitle(){return e.layout_tabTypes_codeReview_title()},get categoryLabel(){return e.layout_tabTypes_codeReview_category()},renameable:!1}),u.register({type:"agent-overview",loadComponent:()=>c(()=>import("./CXjIzVpl.js"),__vite__mapDeps([247,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,119,120,121,75,22,23,24,25,26,76,63,77,64,28,62,65,20,78,58,122,12,21,27,29,30,31,32,158,81,51,178,84,87,68,60,59,179,180,130,92,72,73,74,57,61,132,133,142,109,110,111,112,113,248]),import.meta.url),defaultWidthTier:"narrow",icon:Me,get defaultTitle(){return e.layout_tabTypes_agentOverview_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},renameable:!1}),u.register({type:"agent",loadComponent:()=>c(()=>import("./Cr9glZDh.js"),__vite__mapDeps([249,1,2,3,4,6,7,8,9,10,11,15,72,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,64,62,65,68,60,59,73,74,75,76,63,77,78,58,250,251,238,237,102,57,61,133,205,44,45,215,240,132,92,241,103,35,36,47,48,49,42,43,50,51,52,53,104,38,39,105,86,34,37,40,41,71,82,33,46,106,107,81,108,95,96,109,110,111,112,113,114,115,194,54,55,56,66,67,69,70,79,80,83,84,85,87,88,89,90,91,93,94,97,98,99,100,101,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200,201,202,203,204,206,207,208,217,216]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.layout_tabTypes_agent_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},sidebarTabId:"agents",renameable:!0}),u.register({type:"discussion",loadComponent:()=>c(()=>import("./DGlNRMU1.js"),__vite__mapDeps([252,1,2,3,4,11,8,9,7,10,16,13,17,18,19,38,6,29,35,15,36,14,39,33,34,37,27,40,41,28,42,31,43,44,45,46,21,22,23,24,25,26,217,12,20,30,32,64,62,65,72,68,60,59,73,74,75,76,63,77,78,58,92,57,61,194,88,89,66,114,120,121,125,52,161,82,164,140,69,70,71,79,80,81,50,51,117,165,99,100,48,236,216,181,182,102,237,178,84,87,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,129,131,253,98,94,95,49,96,97,118,215,254]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.workspace_discussion_title()},get categoryLabel(){return e.workspace_discussion_list_label()},sidebarTabId:"people",renameable:!1}),u.register({type:"note",loadComponent:()=>c(()=>import("./a-OtAcF_.js"),__vite__mapDeps([255,1,2,3,11,64,18,9,22,23,24,25,7,26,13,28,8,10,6,62,16,17,19,65,20,215,181,92,72,12,14,15,4,21,27,29,30,31,32,68,60,59,73,74,75,76,63,77,78,58,57,61,182,35,36,81,88,89,50,51,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,138,139,140,141,116,71,52,69,70,79,80,82,67,118,114,119,122,123,100,124,236,216,217,102,237,178,84,87,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,146,55,147,148,149,150,256,257,258,108,95,49,96,163,195,259,260,153,154,106,48,107,261,156,157,158,159,152,155,162,184,192,136,197,198,174,164,165,262]),import.meta.url),defaultWidthTier:"medium",icon:H.note,get defaultTitle(){return e.layout_tabTypes_note_title()},get categoryLabel(){return e.layout_tabTypes_context_category()},sidebarTabId:"notes",renameable:!0}),u.register({type:"file",loadComponent:()=>c(()=>import("./grQh-L5q.js"),__vite__mapDeps([263,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,215,151,64,28,62,16,17,19,65,20,264,68,60,59,199,77,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,236,61,57,58,63,92,72,73,74,75,76,78,216,217,181,182,102,237,178,84,87,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,71,240,241,242,243,244,109,110,111,245,246,223,224,225,226,227,256,257,117,258,164,140,82,69,70,79,80,81,50,51,165,136,265,123,266,233,267]),import.meta.url),defaultWidthTier:"wide",icon:Ke,get defaultTitle(){return e.layout_tabTypes_file_title()},get categoryLabel(){return e.layout_tabTypes_files_category()},sidebarTabId:"files",renameable:!0}),u.register({type:"diff",loadComponent:()=>c(()=>import("./BYC0ucSR.js"),__vite__mapDeps([268,1,2,3,4,11,163,22,23,24,25,9,7,26,18,13,215,64,28,8,10,6,62,16,17,19,65,20,146,55,15,132,59,92,72,12,14,21,27,29,30,31,32,68,60,73,74,75,76,63,77,78,58,57,61,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,136,265,197,198,174,199,121]),import.meta.url),defaultWidthTier:"wide",icon:Be,get defaultTitle(){return e.layout_tabTypes_diff_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"files",renameable:!1}),u.register({type:"changes",loadComponent:()=>c(()=>import("./BDsVnMYl.js"),__vite__mapDeps([270,1,2,4,15,22,23,24,25,9,7,26,18,13,163,215,64,28,11,3,8,10,6,62,16,17,19,65,20,216,76,63,78,92,72,12,14,21,27,29,30,31,32,68,60,59,73,74,75,77,58,57,61,217,181,182,102,271,160,259,260,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,71,126,143,178,84,87,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_changes_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"local-changes",loadComponent:()=>c(()=>import("./CkRR8JwL.js"),__vite__mapDeps([273,1,2,15,22,23,24,25,9,7,26,18,13,163,215,64,28,11,3,8,10,6,62,16,17,19,65,20,271,29,160,259,260,92,72,12,14,4,21,27,30,31,32,68,60,59,73,74,75,76,63,77,78,58,57,61,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,71,126,143,181,182,216,217,102,178,84,87,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_localChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"chat-changes",loadComponent:()=>c(()=>import("./pZsrsFnW.js"),__vite__mapDeps([274,1,2,3,271,6,7,8,9,10,29,15,22,23,24,25,26,18,13,160,64,28,11,62,16,17,19,65,20,259,260,92,72,12,14,4,21,27,30,31,32,68,60,59,73,74,75,76,63,77,78,58,57,61,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,71,126,143,181,182,216,217,102,178,84,87,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_chatChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"activity-changes",loadComponent:()=>c(()=>import("./Cn8hCY5y.js"),__vite__mapDeps([275,1,2,3,4,11,62,241,24,59,146,8,9,7,10,55,15,132,16,13,17,18,19,22,23,25,26,92,64,28,6,65,20,72,12,14,21,27,29,30,31,32,68,60,73,74,75,76,63,77,78,58,57,61,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,215,136,265,197,198,174,199,121]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_activityChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"hook-script",loadComponent:()=>c(()=>import("./67uMgcnU.js"),__vite__mapDeps([276,1,2,3,152,6,7,8,9,10,140,153,59,154,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,155,167,64,62,65,76,63,77]),import.meta.url),defaultWidthTier:"medium",icon:Ge,get defaultTitle(){return e.chat_backgroundHooks_viewScript_label()},get categoryLabel(){return e.layout_tabTypes_panel_category()},renameable:!1}),u.register({type:"settings",loadComponent:()=>c(()=>import("./DJ2vnC9G.js"),__vite__mapDeps([277,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:He,get defaultTitle(){return e.layout_tabTypes_settings_title()},get categoryLabel(){return e.layout_tabTypes_settings_category()},renameable:!1}),u.register({type:"overview",loadComponent:()=>c(()=>import("./B4SJ0wZk.js"),__vite__mapDeps([278,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:ue,get defaultTitle(){return e.layout_tabTypes_overview_title()},get categoryLabel(){return e.layout_tabTypes_overview_category()},renameable:!1})}async function Wt(y){if(y?.restoreStatus!=="restored")return;const _=new Set(Object.values(y.panels).flatMap(r=>{const k=r.tabs.find(l=>l.id===r.activeTabId);return k?[k.type]:[]}));await Promise.allSettled([..._].map(r=>u.loadComponent(r)))}var at=W("<!> <!>",1),rt=W('<img class="h-auto w-full max-w-64 rounded-lg" width="512" height="512"/>'),ot=W('<div class="flex aspect-square w-full max-w-64 items-center justify-center"><!></div>'),st=W('<div class="flex justify-center" data-testid="passkey-qr"><!></div>'),it=W('<div class="flex justify-center py-4 text-muted-foreground"><!></div>'),nt=W('<p class="type-caption text-muted-foreground" data-testid="passkey-pin-advice"> </p>'),lt=W('<form id="passkey-pin-form" class="flex flex-col gap-3"><!> <!></form>');function Pe(y,_){if(new.target)return Te({component:Pe,...y});we(_,!0);let r=ie(_,"payload",7),k=ie(_,"static",7,!1),l=ie(_,"onRespond",7),f=K(!1),A=K(""),U=K("");const a=b(()=>r()?.view??null);Q(()=>{v(f,r()!==null)}),Q(()=>{t(a)?.step!=="pin"&&v(A,"")});let z=K(0),Y=K(ze(Date.now()));Q(()=>{const i=t(a)?.step==="pin"&&t(a).kind==="device"?t(a).retryAfterMs:void 0;if(typeof i!="number"){v(z,0);return}const T=Date.now();v(Y,T,!0),v(z,T+i);const w=setInterval(()=>{v(Y,Date.now(),!0),t(Y)>=t(z)&&clearInterval(w)},250);return()=>clearInterval(w)});const ee=b(()=>Math.max(0,Math.ceil((t(z)-t(Y))/1e3))),_e=b(()=>t(a)?.step==="pin"&&(t(a).kind==="device"?t(ee)>0:typeof t(a).retryAfterMs=="number"));Q(()=>{const i=t(a)?.step==="qr"?t(a).data:"";if(!i){v(U,"");return}let T=!0;return c(async()=>{const{default:w}=await import("./BZ9svoQk.js").then(C=>C.b);return{default:w}},__vite__mapDeps([279,59]),import.meta.url).then(({default:w})=>w.toDataURL(i,{width:512,margin:2})).then(w=>{T&&v(U,w,!0)}),()=>{T=!1}});const Ee=b(()=>r()?r().kind==="create"?e.passkeys_dialog_createTitle_label({site:r().rpId}):e.passkeys_dialog_getTitle_label({site:r().rpId}):"");function De(i){switch(i){case"bluetooth-off":return e.passkeys_dialog_bluetoothOff_error();case"bluetooth-missing":return e.passkeys_dialog_bluetoothMissing_error();case"pin-locked":return e.passkeys_dialog_pinLocked_error();case"timeout":return e.passkeys_dialog_timeout_error();case"already-registered":return e.passkeys_dialog_alreadyRegistered_error();case"unavailable":return e.passkeys_dialog_unavailable_error();case"device-locked":return e.passkeys_dialog_deviceLocked_error();case"device-already-registered":return e.passkeys_dialog_deviceAlreadyRegistered_error();case"device-no-passkey":return e.passkeys_dialog_deviceNoPasskey_error({site:r()?.rpId??""});case"device-old-pin-wrong":return e.passkeys_dialog_deviceOldPinWrong_error();case"device-failed":return e.passkeys_dialog_deviceFailed_error();default:return e.passkeys_dialog_failed_error()}}const Ae=b(()=>{if(!(!t(a)||!r()))switch(t(a).step){case"choose-transport":return r().kind==="create"?e.passkeys_dialog_chooseCreate_description():e.passkeys_dialog_chooseGet_description();case"qr":case"progress":switch(t(a).progress){case"waiting-for-phone":return e.passkeys_dialog_waitingForPhone_description();case"connecting":return e.passkeys_dialog_connecting_description();case"waiting-for-approval":return e.passkeys_dialog_waitingForApproval_description();case"touch-key":return e.passkeys_dialog_touchKey_description();case"processing":return e.passkeys_dialog_processing_description();default:return t(a).step==="progress"&&t(a).transport==="usb"?e.passkeys_dialog_insertKey_description():e.passkeys_dialog_starting_description()}case"pin":return t(a).kind==="usb"?e.passkeys_dialog_pin_description():t(a).oldPin?e.passkeys_dialog_deviceOldPin_description():e.passkeys_dialog_devicePin_description();case"choose-account":return e.passkeys_dialog_chooseAccount_description();case"error":return De(t(a).reason)}}),de=b(()=>t(a)?.step==="pin"&&t(a).kind==="device"?t(a).oldPin?e.passkeys_dialog_deviceOldPin_label():e.passkeys_dialog_devicePin_label():e.passkeys_dialog_pin_label()),Ce=b(()=>{if(t(a)?.step==="pin"){if(t(a).kind==="device"){if(t(ee)>0)return e.passkeys_dialog_devicePinWait_error({seconds:t(ee)})}else if(typeof t(a).retryAfterMs=="number")return e.passkeys_dialog_pinRetryAfter_error();if(t(a).wrongPin)return typeof t(a).attemptsLeft=="number"?t(a).attemptsLeft===1?e.passkeys_dialog_wrongPinAttempts_one({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPinAttempts_many({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPin_error()}}),Oe=b(()=>{if(t(a)?.step!=="choose-transport")return[];const i=t(a).hybrid==="bluetooth-off"?e.passkeys_dialog_bluetoothOff_description():t(a).hybrid==="bluetooth-missing"?e.passkeys_dialog_bluetoothMissing_description():void 0;return[...t(a).device?[{id:"device",label:e.passkeys_dialog_thisDevice_label(),note:void 0,icon:qe}]:[],{id:"hybrid",label:e.passkeys_dialog_phone_label(),note:i,icon:Fe},{id:"usb",label:e.passkeys_dialog_securityKey_label(),note:void 0,icon:je}]});function te(){l()({action:"cancel"})}function Re(i){if(i.preventDefault(),!t(A))return;const T=t(A);v(A,""),l()({action:"pin",pin:T})}var xe={get payload(){return r()},set payload(i){r(i),ne()},get static(){return k()},set static(i=!1){k(i),ne()},get onRespond(){return l()},set onRespond(i){l(i),ne()},$set:he,$on:(i,T)=>ke(_,i,T)},pe=q(),We=M(pe);{var Se=i=>{{const T=C=>{var ae=q(),J=M(ae);{var re=P=>{le(P,{variant:"secondary",onclick:te,children:(S,B)=>{F();var V=x();I(d=>E(V,d),[()=>e.passkeys_dialog_close_label()]),p(S,V)},$$slots:{default:!0}})},oe=P=>{var S=at(),B=M(S);le(B,{variant:"ghost",onclick:te,children:(n,m)=>{F();var s=x();I(L=>E(s,L),[()=>e.passkeys_dialog_cancel_label()]),p(n,s)},$$slots:{default:!0}});var V=ye(B,2);{var d=n=>{{let m=b(()=>!t(A)||t(_e));le(n,{variant:"primary",type:"submit",form:"passkey-pin-form",get disabled(){return t(m)},children:(s,L)=>{F();var o=x();I(g=>E(o,g),[()=>e.passkeys_dialog_continue_label()]),p(s,o)},$$slots:{default:!0}})}};D(V,n=>{t(a).step==="pin"&&n(d)})}p(P,S)};D(J,P=>{t(a).step==="error"?P(re):P(oe,-1)})}p(C,ae)};let w=b(()=>t(a).step==="error"?e.passkeys_dialog_close_label():e.passkeys_dialog_cancel_label());Xe(i,{get static(){return k()},get title(){return t(Ee)},get description(){return t(Ae)},size:"sm",dismissOnInteractOutside:!1,get closeLabel(){return t(w)},onClose:te,get open(){return t(f)},set open(C){v(f,C,!0)},footer:T,children:(C,ae)=>{var J=q(),re=M(J);{var oe=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{leading:h=>{Ue(h,{get icon(){return o().icon},fw:!0})},title:h=>{F();var R=x();I(()=>E(R,o().label)),p(h,R)},description:h=>{var R=q(),se=M(R);{var G=$=>{var ce=x();I(()=>E(ce,o().note)),p($,ce)};D(se,$=>{o().note&&$(G)})}p(h,R)},$$slots:{leading:!0,title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_transports_ariaLabel());be(d,{get items(){return t(Oe)},getKey:s=>s.id,getText:s=>s.label,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"transport",transport:s.id}),row:n,$$slots:{row:!0}})}},P=d=>{var n=st(),m=X(n);{var s=o=>{var g=rt();I(O=>{fe(g,"src",t(U)),fe(g,"alt",O)},[()=>e.passkeys_dialog_qrImage_ariaLabel()]),p(o,g)},L=o=>{var g=ot(),O=X(g);ve(O,{size:20}),Z(g),p(o,g)};D(m,o=>{t(U)?o(s):o(L,-1)})}Z(n),p(d,n)},S=d=>{var n=it(),m=X(n);ve(m,{size:20}),Z(n),p(d,n)},B=d=>{var n=lt(),m=X(n);{let o=b(()=>t(a).kind==="device"?"numeric":void 0);Ze(m,{type:"password",get inputmode(){return t(o)},autocomplete:"off",get"aria-label"(){return t(de)},get placeholder(){return t(de)},get error(){return t(Ce)},get disabled(){return t(_e)},autofocus:!0,get value(){return t(A)},set value(g){v(A,g,!0)}})}var s=ye(m,2);{var L=o=>{var g=nt(),O=Je(g,!0);I(N=>E(O,N),[()=>e.passkeys_dialog_devicePinAdvice_description()]),p(o,g)};D(s,o=>{t(a).firstPasskey&&o(L)})}Z(n),Ye("submit",n,Re),p(d,n)},V=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{title:N=>{F();var h=x();I(()=>E(h,o().userDisplayName||o().userName)),p(N,h)},description:N=>{var h=q(),R=M(h);{var se=G=>{var $=x();I(()=>E($,o().userName)),p(G,$)};D(R,G=>{o().userDisplayName&&o().userName&&G(se)})}p(N,h)},$$slots:{title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_accounts_ariaLabel());be(d,{get items(){return t(a).accounts},getKey:s=>s.index,getText:s=>s.userDisplayName||s.userName,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"choose",index:s.index}),row:n,$$slots:{row:!0}})}};D(re,d=>{t(a).step==="choose-transport"?d(oe):t(a).step==="qr"?d(P,1):t(a).step==="progress"?d(S,2):t(a).step==="pin"?d(B,3):t(a).step==="choose-account"&&d(V,4)})}p(C,J)},$$slots:{footer:!0,default:!0}})}};D(We,i=>{r()&&t(a)&&i(Se)})}return p(y,pe),Le(xe)}const _t=new tt("PasskeyDialog"),j=et.PASSKEYS;function dt(y){const _=Ie();if(!_)return()=>{};const r=_.on(j.DIALOG_SHOW,l=>{const f=l;!f||typeof f.ceremonyId!="string"||!f.view||y.onShow(f)}),k=_.on(j.DIALOG_CLOSE,l=>{const f=l;f&&typeof f.ceremonyId=="string"&&y.onClose(f.ceremonyId)});return()=>{_.offById(j.DIALOG_SHOW,r),_.offById(j.DIALOG_CLOSE,k)}}function pt(y){const _=Ie();_&&_.invoke(j.DIALOG_RESPOND,y).catch(()=>{_t.warn("Passkey dialog response failed",{action:y.action})})}function ct(y,_){if(new.target)return Te({component:ct,...y});we(_,!0);let r=K(null);Qe(()=>dt({onShow:l=>{v(r,l,!0)},onClose:l=>{t(r)?.ceremonyId===l&&v(r,null)}}));var k={$set:he,$on:(l,f)=>ke(_,l,f)};return Pe(y,{get payload(){return t(r)},onRespond:l=>{t(r)&&pt({...l,ceremonyId:t(r).ceremonyId})}}),Le(k)}export{ct as P,Wt as p,xt as r};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/D_fLfdMn.js","/app/immutable/chunks/1KDVFF23.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/Zg9SWWIQ.js","/app/immutable/chunks/Dhj-Oo-y.js","/app/immutable/chunks/Aa4mTk2-.js","/app/immutable/chunks/CYCawVEx.js","/app/immutable/chunks/Dmy603At.js","/app/immutable/chunks/D8B7qxXm.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DpSAF6fh.js","/app/immutable/chunks/D7vAVIvz.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/DPbnmxjX.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BpT_ybtH.js","/app/immutable/chunks/J9vGyyn3.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/CntPxeXh.js","/app/immutable/chunks/jUAybD8G.js","/app/immutable/chunks/BPo1GPk4.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/PtMxuYy8.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/BZytk_HL.js","/app/immutable/chunks/CjK2zm52.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/DHbv9I-C.js","/app/immutable/chunks/zzl2tBQf.js","/app/immutable/chunks/xJBWkpxc.js","/app/immutable/chunks/Ch-pFfsN.js","/app/immutable/chunks/8PIbpdJu.js","/app/immutable/chunks/Dzl5aoA8.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/CBLFNmYJ.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/IdqO6uHC.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/CtguhKZB.js","/app/immutable/chunks/DYGC3eZn.js","/app/immutable/chunks/C3iIVLbv.js","/app/immutable/chunks/1wMLd-77.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/dIyiVmNx.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/CQQvsDes.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/jsYE2rXv.js","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/BaEFcPEE.js","/app/immutable/chunks/Q-Hp56ht.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/DQmW4_9G.js","/app/immutable/chunks/DkYquFOp.js","/app/immutable/chunks/C7Ibt0hX.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/D_xvUCUD.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/CRWeEeIp.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/CHHUtp07.js","/app/immutable/chunks/CSp6HTdW.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/CMgAi196.js","/app/immutable/chunks/BblwdMxR.js","/app/immutable/chunks/BIwMjRQQ.js","/app/immutable/chunks/DM4cCUDd.js","/app/immutable/chunks/Dfq_rEeO.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/7n3mxV6t.js","/app/immutable/chunks/DkY0xIi7.js","/app/immutable/chunks/Ug7t_gUQ.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/DpMsJtM0.js","/app/immutable/chunks/BMfUzLG6.js","/app/immutable/chunks/C7hm9bSX.js","/app/immutable/chunks/C82gBCX8.js","/app/immutable/chunks/CBmGf0Ke.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/DwhE2_yv.js","/app/immutable/chunks/9Fwj-RCt.js","/app/immutable/chunks/CfCk_l9B.js","/app/immutable/chunks/aqQCGQpk.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/CSepGuJ-.js","/app/immutable/chunks/Br9RT7xb.js","/app/immutable/chunks/Div7CQPf.js","/app/immutable/chunks/CqsFOLCu.js","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/BtT-JO5g.js","/app/immutable/chunks/0vLUv3ld.js","/app/immutable/chunks/471Fgn_p.js","/app/immutable/chunks/DPLDRqMC.js","/app/immutable/chunks/BPx3dFHu.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/CJJ2D2db.js","/app/immutable/chunks/DxrRvklK.js","/app/immutable/chunks/z1Wv0MVw.js","/app/immutable/chunks/BgxLwwHQ.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/D283eGmG.js","/app/immutable/chunks/DHSWOw-U.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/7FS8g33K.js","/app/immutable/chunks/KImhPY_I.js","/app/immutable/chunks/D4XPYll-.js","/app/immutable/chunks/Bek4Es60.js","/app/immutable/chunks/BcEldzTj.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/BYBN65Dm.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/CWFWI1JB.js","/app/immutable/chunks/DiLFzwi3.js","/app/immutable/chunks/THm8CnE2.js","/app/immutable/assets/AttachmentPreview.D_hsaikk.css","/app/immutable/chunks/p0fS0rJD.js","/app/immutable/chunks/BuFlry2f.js","/app/immutable/assets/DictationStopButton.DWUPhcKi.css","/app/immutable/chunks/QSHJFaU7.js","/app/immutable/chunks/DXf8KXiZ.js","/app/immutable/chunks/G4lPpFfF.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/Dk0afiu6.js","/app/immutable/chunks/CkmjUBxn.js","/app/immutable/chunks/CDeldaOF.js","/app/immutable/chunks/CUUAtNdA.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/B4wiFjXK.js","/app/immutable/chunks/CkrblKaH.js","/app/immutable/chunks/B8tcC_lC.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/D-7b6BAb.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/chunks/wfSdTH77.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/DJk5np0g.js","/app/immutable/chunks/DzTe1W0Z.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/1_Sb4Kkv.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/DqPe5uyz.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/CT6GHk2v.js","/app/immutable/chunks/DtO0wAdA.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/Ba4cYgvZ.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/Bu8LYT1B.js","/app/immutable/chunks/B6Zf-ZTX.js","/app/immutable/chunks/BrRuqfTp.js","/app/immutable/chunks/Y4Eu_VSz.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/CQww8mRz.js","/app/immutable/chunks/DVok8lSR.js","/app/immutable/chunks/CqlSBroo.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/BH4muXHE.js","/app/immutable/chunks/CmdE1AJL.js","/app/immutable/chunks/nHwpsxWy.js","/app/immutable/chunks/DM81x_EL.js","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/tw85acZN.js","/app/immutable/chunks/Blp2y8Zh.js","/app/immutable/chunks/DT8FaJbg.js","/app/immutable/chunks/9IHp8VDb.js","/app/immutable/chunks/Bo5PTszQ.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/CToFQRbb.js","/app/immutable/assets/conversation-turns.P_pkAsRX.css","/app/immutable/chunks/BA7mfVzm.js","/app/immutable/chunks/CClsvy7n.js","/app/immutable/chunks/DpgIqMGp.js","/app/immutable/chunks/CEqmtghP.js","/app/immutable/chunks/DPF9_zKV.js","/app/immutable/chunks/TSQNyjhg.js","/app/immutable/chunks/Cfy5Crpr.js","/app/immutable/chunks/BlXvVwTG.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/fFnyP4ej.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/Bv5YjDej.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/Ow3KARwj.js","/app/immutable/chunks/CuAAvi1f.js","/app/immutable/chunks/zaxjdjiF.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/B4ot6F6B.js","/app/immutable/chunks/Ca9qLvAG.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/CPEu2Vil.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/chunks/LqBZITyo.js","/app/immutable/chunks/2WaF6vs_.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/CtawaW2N.js","/app/immutable/chunks/BLYYB2Pl.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/DjBxG6q0.js","/app/immutable/chunks/DS5B84mn.js","/app/immutable/chunks/DbSttgXv.js","/app/immutable/chunks/a0CN3en2.js","/app/immutable/chunks/CN0Csvus.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/reP1x2hx.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/CCEqDzPP.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/CTDEoCzv.js","/app/immutable/chunks/Bco7_wmI.js","/app/immutable/chunks/DyFc4NAd.js","/app/immutable/chunks/Wg-KBN6b.js","/app/immutable/chunks/DKIi_opT.js","/app/immutable/chunks/B-lpv6Gv.js","/app/immutable/chunks/C_BHeuK7.js","/app/immutable/chunks/COhzmnEo.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/C0nXBDlv.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/CEgHOs22.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/BGMy2Ryn.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/Ro7n3ECj.js","/app/immutable/chunks/DLMaiw5B.js","/app/immutable/chunks/UHs-xfbd.js","/app/immutable/chunks/CJh_F--P.js","/app/immutable/chunks/Dv6PZjTW.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/Dec_LXa-.js","/app/immutable/chunks/BMScw2DS.js","/app/immutable/chunks/CdpTO1ew.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/BjYingUt.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/ByJyX5qZ.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/DgaQFJ1C.js","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/BvjVhe2e.js","/app/immutable/chunks/0rEEjvhW.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/DQlLBrpj.js","/app/immutable/chunks/DgV330Oe.js","/app/immutable/chunks/D7VeTrYO.js","/app/immutable/chunks/PqstdoKv.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/BLSHNn4a.js","/app/immutable/chunks/CeWlRIsm.js","/app/immutable/chunks/BkLeC-gf.js","/app/immutable/chunks/B9F4r5fH.js","/app/immutable/chunks/D4EwlENg.js","/app/immutable/chunks/8VOCP3Xx.js","/app/immutable/chunks/BZ9svoQk.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bm as e,_ as c,t as Te,bo as ie,bw as he,b as ke}from"./1KDVFF23.js";import{t as u}from"./CALsJq65.js";import{bD as ue,bv as Ve,cK as Ne,aO as $e,cn as Me,aV as ge,bg as Ke,aN as Be,aM as Ge,bs as He,bL as qe,b_ as Fe,bJ as je,F as Ue}from"./BZytk_HL.js";import{R as H}from"./gY6D1J3N.js";import{bs as we,ca as Q,bH as v,aD as t,bV as K,br as ze,a7 as q,ay as M,W as p,bn as Le,c9 as b,aA as ne,a5 as X,bA as Z,bS as ye,aw as Ye,aB as W,be as F,b$ as x,b_ as I,bO as E,bl as Je,bk as Qe}from"./3SdAC2_C.js";import{i as D}from"./Zg9SWWIQ.js";import{s as fe}from"./D8B7qxXm.js";import{L as me}from"./THm8CnE2.js";import{C as Xe,L as be}from"./DHbv9I-C.js";import{I as Ze}from"./xJBWkpxc.js";import"./Ch-pFfsN.js";import"./IdqO6uHC.js";import{f as le}from"./DPbnmxjX.js";import{v as Ie}from"./BpT_ybtH.js";import"./CBLFNmYJ.js";import"./Dmy603At.js";import{I as ve}from"./CYCawVEx.js";import{I as et}from"./Bqd7fdCF.js";import"./J9vGyyn3.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./D_fLfdMn.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209]),import.meta.url),defaultWidthTier:"wide",icon:ue,get defaultTitle(){return e.workspace_page_workspaceResource_label()},get categoryLabel(){return e.workspace_page_workspaceResource_label()},renameable:!1}),u.register({type:"browser",loadComponent:()=>c(()=>import("./B4ot6F6B.js"),__vite__mapDeps([210,1,2,3,11,6,7,8,9,10,15,211,22,23,24,25,26,18,13,4,71,14,16,17,19,12,20,21,27,28,29,30,31,32,45,33,34,35,36,37,38,39,40,41,42,43,44,46,58,72,64,62,65,68,60,59,73,74,75,76,63,77,78,181,92,57,61,182,212,123,213,125,52,136,86,214,99,100,215,109,110,111,112,113,216,217,102,218]),import.meta.url),defaultWidthTier:"wide",icon:Ve,get defaultTitle(){return e.layout_tabTypes_browser_title()},get categoryLabel(){return e.layout_tabTypes_browser_category()},sidebarTabId:"browser",renameable:!1}),u.register({type:"terminal",loadComponent:()=>c(()=>import("./CtawaW2N.js"),__vite__mapDeps([219,1,2,3,4,11,28,7,8,9,10,6,64,18,22,23,24,25,26,13,62,16,17,19,65,20,220,15,221,222,59,60,57,58,61,63,223,224,225,226,227,112,212,191,228,14,12,21,27,29,30,31,32,213,229,72,68,73,74,75,76,77,78,36,42,43,40,41,217,230,38,35,39,136,33,34,37,44,45,46,215,231,149,232,233,102,234]),import.meta.url),defaultWidthTier:"medium",icon:Ne,get defaultTitle(){return e.layout_tabTypes_terminal_title()},get categoryLabel(){return e.layout_tabTypes_terminal_category()},sidebarTabId:"terminals",renameable:!1}),u.register({type:"code-review",loadComponent:()=>c(()=>import("./DyFc4NAd.js"),__vite__mapDeps([235,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,64,28,11,62,16,17,19,65,20,216,76,63,78,92,72,12,14,15,4,21,27,30,31,32,68,60,59,73,74,75,77,58,57,61,217,181,182,102,236,237,178,84,87,179,180,130,132,133,142,229,167,238,234,239,36,42,43,40,41,113,112,172,206,191,213,143,135,71,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,140,153,154,35,164,82,69,70,33,34,37,38,39,44,45,46,79,80,81,50,51,117,165,125,52]),import.meta.url),defaultWidthTier:"wide",icon:$e,get defaultTitle(){return e.layout_tabTypes_codeReview_title()},get categoryLabel(){return e.layout_tabTypes_codeReview_category()},renameable:!1}),u.register({type:"agent-overview",loadComponent:()=>c(()=>import("./BGMy2Ryn.js"),__vite__mapDeps([247,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,119,120,121,75,22,23,24,25,26,76,63,77,64,28,62,65,20,78,58,122,12,21,27,29,30,31,32,158,81,51,178,84,87,68,60,59,179,180,130,92,72,73,74,57,61,132,133,142,109,110,111,112,113,248]),import.meta.url),defaultWidthTier:"narrow",icon:Me,get defaultTitle(){return e.layout_tabTypes_agentOverview_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},renameable:!1}),u.register({type:"agent",loadComponent:()=>c(()=>import("./Ro7n3ECj.js"),__vite__mapDeps([249,1,2,3,4,6,7,8,9,10,11,15,72,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,64,62,65,68,60,59,73,74,75,76,63,77,78,58,250,251,238,237,102,57,61,133,205,44,45,215,240,132,92,241,103,35,36,47,48,49,42,43,50,51,52,53,104,38,39,105,86,34,37,40,41,71,82,33,46,106,107,81,108,95,96,109,110,111,112,113,114,115,194,54,55,56,66,67,69,70,79,80,83,84,85,87,88,89,90,91,93,94,97,98,99,100,101,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200,201,202,203,204,206,207,208,217,216]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.layout_tabTypes_agent_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},sidebarTabId:"agents",renameable:!0}),u.register({type:"discussion",loadComponent:()=>c(()=>import("./CJh_F--P.js"),__vite__mapDeps([252,1,2,3,4,11,8,9,7,10,16,13,17,18,19,38,6,29,35,15,36,14,39,33,34,37,27,40,41,28,42,31,43,44,45,46,21,22,23,24,25,26,217,12,20,30,32,64,62,65,72,68,60,59,73,74,75,76,63,77,78,58,92,57,61,194,88,89,66,114,120,121,125,52,161,82,164,140,69,70,71,79,80,81,50,51,117,165,99,100,48,236,216,181,182,102,237,178,84,87,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,129,131,253,98,94,95,49,96,97,118,215,254]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.workspace_discussion_title()},get categoryLabel(){return e.workspace_discussion_list_label()},sidebarTabId:"people",renameable:!1}),u.register({type:"note",loadComponent:()=>c(()=>import("./Dec_LXa-.js"),__vite__mapDeps([255,1,2,3,11,64,18,9,22,23,24,25,7,26,13,28,8,10,6,62,16,17,19,65,20,215,181,92,72,12,14,15,4,21,27,29,30,31,32,68,60,59,73,74,75,76,63,77,78,58,57,61,182,35,36,81,88,89,50,51,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,138,139,140,141,116,71,52,69,70,79,80,82,67,118,114,119,122,123,100,124,236,216,217,102,237,178,84,87,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,146,55,147,148,149,150,256,257,258,108,95,49,96,163,195,259,260,153,154,106,48,107,261,156,157,158,159,152,155,162,184,192,136,197,198,174,164,165,262]),import.meta.url),defaultWidthTier:"medium",icon:H.note,get defaultTitle(){return e.layout_tabTypes_note_title()},get categoryLabel(){return e.layout_tabTypes_context_category()},sidebarTabId:"notes",renameable:!0}),u.register({type:"file",loadComponent:()=>c(()=>import("./DgaQFJ1C.js"),__vite__mapDeps([263,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,215,151,64,28,62,16,17,19,65,20,264,68,60,59,199,77,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,236,61,57,58,63,92,72,73,74,75,76,78,216,217,181,182,102,237,178,84,87,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,71,240,241,242,243,244,109,110,111,245,246,223,224,225,226,227,256,257,117,258,164,140,82,69,70,79,80,81,50,51,165,136,265,123,266,233,267]),import.meta.url),defaultWidthTier:"wide",icon:Ke,get defaultTitle(){return e.layout_tabTypes_file_title()},get categoryLabel(){return e.layout_tabTypes_files_category()},sidebarTabId:"files",renameable:!0}),u.register({type:"diff",loadComponent:()=>c(()=>import("./DQlLBrpj.js"),__vite__mapDeps([268,1,2,3,4,11,163,22,23,24,25,9,7,26,18,13,215,64,28,8,10,6,62,16,17,19,65,20,146,55,15,132,59,92,72,12,14,21,27,29,30,31,32,68,60,73,74,75,76,63,77,78,58,57,61,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,136,265,197,198,174,199,121]),import.meta.url),defaultWidthTier:"wide",icon:Be,get defaultTitle(){return e.layout_tabTypes_diff_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"files",renameable:!1}),u.register({type:"changes",loadComponent:()=>c(()=>import("./D7VeTrYO.js"),__vite__mapDeps([270,1,2,4,15,22,23,24,25,9,7,26,18,13,163,215,64,28,11,3,8,10,6,62,16,17,19,65,20,216,76,63,78,92,72,12,14,21,27,29,30,31,32,68,60,59,73,74,75,77,58,57,61,217,181,182,102,271,160,259,260,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,71,126,143,178,84,87,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_changes_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"local-changes",loadComponent:()=>c(()=>import("./BLSHNn4a.js"),__vite__mapDeps([273,1,2,15,22,23,24,25,9,7,26,18,13,163,215,64,28,11,3,8,10,6,62,16,17,19,65,20,271,29,160,259,260,92,72,12,14,4,21,27,30,31,32,68,60,59,73,74,75,76,63,77,78,58,57,61,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,71,126,143,181,182,216,217,102,178,84,87,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_localChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"chat-changes",loadComponent:()=>c(()=>import("./CeWlRIsm.js"),__vite__mapDeps([274,1,2,3,271,6,7,8,9,10,29,15,22,23,24,25,26,18,13,160,64,28,11,62,16,17,19,65,20,259,260,92,72,12,14,4,21,27,30,31,32,68,60,59,73,74,75,76,63,77,78,58,57,61,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,71,126,143,181,182,216,217,102,178,84,87,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_chatChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"activity-changes",loadComponent:()=>c(()=>import("./BkLeC-gf.js"),__vite__mapDeps([275,1,2,3,4,11,62,241,24,59,146,8,9,7,10,55,15,132,16,13,17,18,19,22,23,25,26,92,64,28,6,65,20,72,12,14,21,27,29,30,31,32,68,60,73,74,75,76,63,77,78,58,57,61,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,215,136,265,197,198,174,199,121]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_activityChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"hook-script",loadComponent:()=>c(()=>import("./B9F4r5fH.js"),__vite__mapDeps([276,1,2,3,152,6,7,8,9,10,140,153,59,154,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,155,167,64,62,65,76,63,77]),import.meta.url),defaultWidthTier:"medium",icon:Ge,get defaultTitle(){return e.chat_backgroundHooks_viewScript_label()},get categoryLabel(){return e.layout_tabTypes_panel_category()},renameable:!1}),u.register({type:"settings",loadComponent:()=>c(()=>import("./D4EwlENg.js"),__vite__mapDeps([277,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:He,get defaultTitle(){return e.layout_tabTypes_settings_title()},get categoryLabel(){return e.layout_tabTypes_settings_category()},renameable:!1}),u.register({type:"overview",loadComponent:()=>c(()=>import("./8VOCP3Xx.js"),__vite__mapDeps([278,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:ue,get defaultTitle(){return e.layout_tabTypes_overview_title()},get categoryLabel(){return e.layout_tabTypes_overview_category()},renameable:!1})}async function Wt(y){if(y?.restoreStatus!=="restored")return;const _=new Set(Object.values(y.panels).flatMap(r=>{const k=r.tabs.find(l=>l.id===r.activeTabId);return k?[k.type]:[]}));await Promise.allSettled([..._].map(r=>u.loadComponent(r)))}var at=W("<!> <!>",1),rt=W('<img class="h-auto w-full max-w-64 rounded-lg" width="512" height="512"/>'),ot=W('<div class="flex aspect-square w-full max-w-64 items-center justify-center"><!></div>'),st=W('<div class="flex justify-center" data-testid="passkey-qr"><!></div>'),it=W('<div class="flex justify-center py-4 text-muted-foreground"><!></div>'),nt=W('<p class="type-caption text-muted-foreground" data-testid="passkey-pin-advice"> </p>'),lt=W('<form id="passkey-pin-form" class="flex flex-col gap-3"><!> <!></form>');function Pe(y,_){if(new.target)return Te({component:Pe,...y});we(_,!0);let r=ie(_,"payload",7),k=ie(_,"static",7,!1),l=ie(_,"onRespond",7),f=K(!1),A=K(""),U=K("");const a=b(()=>r()?.view??null);Q(()=>{v(f,r()!==null)}),Q(()=>{t(a)?.step!=="pin"&&v(A,"")});let z=K(0),Y=K(ze(Date.now()));Q(()=>{const i=t(a)?.step==="pin"&&t(a).kind==="device"?t(a).retryAfterMs:void 0;if(typeof i!="number"){v(z,0);return}const T=Date.now();v(Y,T,!0),v(z,T+i);const w=setInterval(()=>{v(Y,Date.now(),!0),t(Y)>=t(z)&&clearInterval(w)},250);return()=>clearInterval(w)});const ee=b(()=>Math.max(0,Math.ceil((t(z)-t(Y))/1e3))),_e=b(()=>t(a)?.step==="pin"&&(t(a).kind==="device"?t(ee)>0:typeof t(a).retryAfterMs=="number"));Q(()=>{const i=t(a)?.step==="qr"?t(a).data:"";if(!i){v(U,"");return}let T=!0;return c(async()=>{const{default:w}=await import("./BZ9svoQk.js").then(C=>C.b);return{default:w}},__vite__mapDeps([279,59]),import.meta.url).then(({default:w})=>w.toDataURL(i,{width:512,margin:2})).then(w=>{T&&v(U,w,!0)}),()=>{T=!1}});const Ee=b(()=>r()?r().kind==="create"?e.passkeys_dialog_createTitle_label({site:r().rpId}):e.passkeys_dialog_getTitle_label({site:r().rpId}):"");function De(i){switch(i){case"bluetooth-off":return e.passkeys_dialog_bluetoothOff_error();case"bluetooth-missing":return e.passkeys_dialog_bluetoothMissing_error();case"pin-locked":return e.passkeys_dialog_pinLocked_error();case"timeout":return e.passkeys_dialog_timeout_error();case"already-registered":return e.passkeys_dialog_alreadyRegistered_error();case"unavailable":return e.passkeys_dialog_unavailable_error();case"device-locked":return e.passkeys_dialog_deviceLocked_error();case"device-already-registered":return e.passkeys_dialog_deviceAlreadyRegistered_error();case"device-no-passkey":return e.passkeys_dialog_deviceNoPasskey_error({site:r()?.rpId??""});case"device-old-pin-wrong":return e.passkeys_dialog_deviceOldPinWrong_error();case"device-failed":return e.passkeys_dialog_deviceFailed_error();default:return e.passkeys_dialog_failed_error()}}const Ae=b(()=>{if(!(!t(a)||!r()))switch(t(a).step){case"choose-transport":return r().kind==="create"?e.passkeys_dialog_chooseCreate_description():e.passkeys_dialog_chooseGet_description();case"qr":case"progress":switch(t(a).progress){case"waiting-for-phone":return e.passkeys_dialog_waitingForPhone_description();case"connecting":return e.passkeys_dialog_connecting_description();case"waiting-for-approval":return e.passkeys_dialog_waitingForApproval_description();case"touch-key":return e.passkeys_dialog_touchKey_description();case"processing":return e.passkeys_dialog_processing_description();default:return t(a).step==="progress"&&t(a).transport==="usb"?e.passkeys_dialog_insertKey_description():e.passkeys_dialog_starting_description()}case"pin":return t(a).kind==="usb"?e.passkeys_dialog_pin_description():t(a).oldPin?e.passkeys_dialog_deviceOldPin_description():e.passkeys_dialog_devicePin_description();case"choose-account":return e.passkeys_dialog_chooseAccount_description();case"error":return De(t(a).reason)}}),de=b(()=>t(a)?.step==="pin"&&t(a).kind==="device"?t(a).oldPin?e.passkeys_dialog_deviceOldPin_label():e.passkeys_dialog_devicePin_label():e.passkeys_dialog_pin_label()),Ce=b(()=>{if(t(a)?.step==="pin"){if(t(a).kind==="device"){if(t(ee)>0)return e.passkeys_dialog_devicePinWait_error({seconds:t(ee)})}else if(typeof t(a).retryAfterMs=="number")return e.passkeys_dialog_pinRetryAfter_error();if(t(a).wrongPin)return typeof t(a).attemptsLeft=="number"?t(a).attemptsLeft===1?e.passkeys_dialog_wrongPinAttempts_one({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPinAttempts_many({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPin_error()}}),Oe=b(()=>{if(t(a)?.step!=="choose-transport")return[];const i=t(a).hybrid==="bluetooth-off"?e.passkeys_dialog_bluetoothOff_description():t(a).hybrid==="bluetooth-missing"?e.passkeys_dialog_bluetoothMissing_description():void 0;return[...t(a).device?[{id:"device",label:e.passkeys_dialog_thisDevice_label(),note:void 0,icon:qe}]:[],{id:"hybrid",label:e.passkeys_dialog_phone_label(),note:i,icon:Fe},{id:"usb",label:e.passkeys_dialog_securityKey_label(),note:void 0,icon:je}]});function te(){l()({action:"cancel"})}function Re(i){if(i.preventDefault(),!t(A))return;const T=t(A);v(A,""),l()({action:"pin",pin:T})}var xe={get payload(){return r()},set payload(i){r(i),ne()},get static(){return k()},set static(i=!1){k(i),ne()},get onRespond(){return l()},set onRespond(i){l(i),ne()},$set:he,$on:(i,T)=>ke(_,i,T)},pe=q(),We=M(pe);{var Se=i=>{{const T=C=>{var ae=q(),J=M(ae);{var re=P=>{le(P,{variant:"secondary",onclick:te,children:(S,B)=>{F();var V=x();I(d=>E(V,d),[()=>e.passkeys_dialog_close_label()]),p(S,V)},$$slots:{default:!0}})},oe=P=>{var S=at(),B=M(S);le(B,{variant:"ghost",onclick:te,children:(n,m)=>{F();var s=x();I(L=>E(s,L),[()=>e.passkeys_dialog_cancel_label()]),p(n,s)},$$slots:{default:!0}});var V=ye(B,2);{var d=n=>{{let m=b(()=>!t(A)||t(_e));le(n,{variant:"primary",type:"submit",form:"passkey-pin-form",get disabled(){return t(m)},children:(s,L)=>{F();var o=x();I(g=>E(o,g),[()=>e.passkeys_dialog_continue_label()]),p(s,o)},$$slots:{default:!0}})}};D(V,n=>{t(a).step==="pin"&&n(d)})}p(P,S)};D(J,P=>{t(a).step==="error"?P(re):P(oe,-1)})}p(C,ae)};let w=b(()=>t(a).step==="error"?e.passkeys_dialog_close_label():e.passkeys_dialog_cancel_label());Xe(i,{get static(){return k()},get title(){return t(Ee)},get description(){return t(Ae)},size:"sm",dismissOnInteractOutside:!1,get closeLabel(){return t(w)},onClose:te,get open(){return t(f)},set open(C){v(f,C,!0)},footer:T,children:(C,ae)=>{var J=q(),re=M(J);{var oe=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{leading:h=>{Ue(h,{get icon(){return o().icon},fw:!0})},title:h=>{F();var R=x();I(()=>E(R,o().label)),p(h,R)},description:h=>{var R=q(),se=M(R);{var G=$=>{var ce=x();I(()=>E(ce,o().note)),p($,ce)};D(se,$=>{o().note&&$(G)})}p(h,R)},$$slots:{leading:!0,title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_transports_ariaLabel());be(d,{get items(){return t(Oe)},getKey:s=>s.id,getText:s=>s.label,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"transport",transport:s.id}),row:n,$$slots:{row:!0}})}},P=d=>{var n=st(),m=X(n);{var s=o=>{var g=rt();I(O=>{fe(g,"src",t(U)),fe(g,"alt",O)},[()=>e.passkeys_dialog_qrImage_ariaLabel()]),p(o,g)},L=o=>{var g=ot(),O=X(g);ve(O,{size:20}),Z(g),p(o,g)};D(m,o=>{t(U)?o(s):o(L,-1)})}Z(n),p(d,n)},S=d=>{var n=it(),m=X(n);ve(m,{size:20}),Z(n),p(d,n)},B=d=>{var n=lt(),m=X(n);{let o=b(()=>t(a).kind==="device"?"numeric":void 0);Ze(m,{type:"password",get inputmode(){return t(o)},autocomplete:"off",get"aria-label"(){return t(de)},get placeholder(){return t(de)},get error(){return t(Ce)},get disabled(){return t(_e)},autofocus:!0,get value(){return t(A)},set value(g){v(A,g,!0)}})}var s=ye(m,2);{var L=o=>{var g=nt(),O=Je(g,!0);I(N=>E(O,N),[()=>e.passkeys_dialog_devicePinAdvice_description()]),p(o,g)};D(s,o=>{t(a).firstPasskey&&o(L)})}Z(n),Ye("submit",n,Re),p(d,n)},V=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{title:N=>{F();var h=x();I(()=>E(h,o().userDisplayName||o().userName)),p(N,h)},description:N=>{var h=q(),R=M(h);{var se=G=>{var $=x();I(()=>E($,o().userName)),p(G,$)};D(R,G=>{o().userDisplayName&&o().userName&&G(se)})}p(N,h)},$$slots:{title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_accounts_ariaLabel());be(d,{get items(){return t(a).accounts},getKey:s=>s.index,getText:s=>s.userDisplayName||s.userName,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"choose",index:s.index}),row:n,$$slots:{row:!0}})}};D(re,d=>{t(a).step==="choose-transport"?d(oe):t(a).step==="qr"?d(P,1):t(a).step==="progress"?d(S,2):t(a).step==="pin"?d(B,3):t(a).step==="choose-account"&&d(V,4)})}p(C,J)},$$slots:{footer:!0,default:!0}})}};D(We,i=>{r()&&t(a)&&i(Se)})}return p(y,pe),Le(xe)}const _t=new tt("PasskeyDialog"),j=et.PASSKEYS;function dt(y){const _=Ie();if(!_)return()=>{};const r=_.on(j.DIALOG_SHOW,l=>{const f=l;!f||typeof f.ceremonyId!="string"||!f.view||y.onShow(f)}),k=_.on(j.DIALOG_CLOSE,l=>{const f=l;f&&typeof f.ceremonyId=="string"&&y.onClose(f.ceremonyId)});return()=>{_.offById(j.DIALOG_SHOW,r),_.offById(j.DIALOG_CLOSE,k)}}function pt(y){const _=Ie();_&&_.invoke(j.DIALOG_RESPOND,y).catch(()=>{_t.warn("Passkey dialog response failed",{action:y.action})})}function ct(y,_){if(new.target)return Te({component:ct,...y});we(_,!0);let r=K(null);Qe(()=>dt({onShow:l=>{v(r,l,!0)},onClose:l=>{t(r)?.ceremonyId===l&&v(r,null)}}));var k={$set:he,$on:(l,f)=>ke(_,l,f)};return Pe(y,{get payload(){return t(r)},onRespond:l=>{t(r)&&pt({...l,ceremonyId:t(r).ceremonyId})}}),Le(k)}export{ct as P,Wt as p,xt as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aZ as pi,U as mi,Y as $t,b0 as yi,V as bi,a_ as Ai,b as n,ay as Ut,aX as wi,B as Ci,r as Si,W as Tt,aV as Ri,q as qt,O as _i,a6 as ki,A as Ti,av as Ft}from"./
|
|
1
|
+
import{aZ as pi,U as mi,Y as $t,b0 as yi,V as bi,a_ as Ai,b as n,ay as Ut,aX as wi,B as Ci,r as Si,W as Tt,aV as Ri,q as qt,O as _i,a6 as ki,A as Ti,av as Ft}from"./1_Sb4Kkv.js";import{b as Xt,l as Yt}from"./CHzHsjlJ.js";var St=(function(){var e=n(function(O,r,g,u){for(g=g||{},u=O.length;u--;g[O[u]]=r);return g},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],a=[1,5],h=[1,6],c=[1,7],m=[1,5,10,12,14,16,18,19,21,23,36,37,38],f=[1,25],d=[1,26],w=[1,28],k=[1,29],P=[1,30],W=[1,31],F=[1,32],v=[1,33],z=[1,34],b=[1,35],T=[1,36],l=[1,37],I=[1,43],V=[1,42],X=[1,47],Y=[1,50],R=[1,10,12,14,16,18,19,21,23,36,37,38],H=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],A=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],C=[1,65],M=[26,28],_={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:n(function(r,g,u,x,S,o,lt){var p=o.length-1;switch(S){case 5:x.setOrientation(o[p]);break;case 9:x.setDiagramTitle(o[p].text.trim());break;case 12:x.setLineData({text:"",type:"text"},o[p]);break;case 13:x.setLineData(o[p-1],o[p]);break;case 14:x.setBarData({text:"",type:"text"},o[p]);break;case 15:x.setBarData(o[p-1],o[p]);break;case 16:this.$=o[p].trim(),x.setAccTitle(this.$);break;case 17:case 18:this.$=o[p].trim(),x.setAccDescription(this.$);break;case 19:this.$=o[p-1];break;case 20:case 30:this.$=[o[p-2],...o[p]];break;case 21:case 31:this.$=[o[p]];break;case 22:this.$={value:Number(o[p-1]),label:o[p]};break;case 23:this.$={value:Number(o[p]),label:""};break;case 24:x.setXAxisTitle(o[p]);break;case 25:x.setXAxisTitle(o[p-1]);break;case 26:x.setXAxisTitle({type:"text",text:""});break;case 27:x.setXAxisBand(o[p]);break;case 28:x.setXAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 29:this.$=o[p-1];break;case 32:x.setYAxisTitle(o[p]);break;case 33:x.setYAxisTitle(o[p-1]);break;case 34:x.setYAxisTitle({type:"text",text:""});break;case 35:x.setYAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 39:this.$={text:o[p],type:"text"};break;case 40:this.$={text:o[p],type:"text"};break;case 41:this.$={text:o[p],type:"markdown"};break;case 42:this.$=o[p];break;case 43:this.$=o[p-1]+""+o[p];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,36:a,37:h,38:c}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,36:a,37:h,38:c}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],36:a,37:h,38:c}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,36:a,37:h,38:c}),{1:[2,3]},e(m,[2,5]),e(t,[2,7],{4:22,36:a,37:h,38:c}),{11:23,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:39,13:38,24:I,29:V,30:f,31:40,32:41,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:45,15:44,29:X,30:f,35:46,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:49,17:48,24:Y,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:52,17:51,24:Y,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{20:[1,53]},{22:[1,54]},e(R,[2,18]),{1:[2,2]},e(R,[2,8]),e(R,[2,9]),e(H,[2,39],{41:55,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l}),e(H,[2,40]),e(H,[2,41]),e(A,[2,42]),e(A,[2,44]),e(A,[2,45]),e(A,[2,46]),e(A,[2,47]),e(A,[2,48]),e(A,[2,49]),e(A,[2,50]),e(A,[2,51]),e(A,[2,52]),e(A,[2,53]),e(R,[2,10]),e(R,[2,24],{32:41,31:56,24:I,29:V}),e(R,[2,26]),e(R,[2,27]),{33:[1,57]},{11:59,30:f,34:58,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},e(R,[2,11]),e(R,[2,32],{35:60,29:X}),e(R,[2,34]),{33:[1,61]},e(R,[2,12]),{17:62,24:Y},{25:63,27:64,29:C},e(R,[2,14]),{17:66,24:Y},e(R,[2,16]),e(R,[2,17]),e(A,[2,43]),e(R,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(R,[2,33]),{29:[1,70]},e(R,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(M,[2,23],{30:[1,73]}),e(R,[2,15]),e(R,[2,28]),e(R,[2,29]),{11:59,30:f,34:74,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},e(R,[2,35]),e(R,[2,19]),{25:75,27:64,29:C},e(M,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:n(function(r,g){if(g.recoverable)this.trace(r);else{var u=new Error(r);throw u.hash=g,u}},"parseError"),parse:n(function(r){var g=this,u=[0],x=[],S=[null],o=[],lt=this.table,p="",dt=0,zt=0,ui=2,Vt=1,di=o.slice.call(arguments,1),D=Object.create(this.lexer),$={yy:{}};for(var bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,bt)&&($.yy[bt]=this.yy[bt]);D.setInput(r,$.yy),$.yy.lexer=D,$.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var At=D.yylloc;o.push(At);var xi=D.options&&D.options.ranges;typeof $.yy.parseError=="function"?this.parseError=$.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fi(E){u.length=u.length-2*E,S.length=S.length-E,o.length=o.length-E}n(fi,"popStack");function Ot(){var E;return E=x.pop()||D.lex()||Vt,typeof E!="number"&&(E instanceof Array&&(x=E,E=x.pop()),E=g.symbols_[E]||E),E}n(Ot,"lex");for(var L,U,B,wt,j={},xt,N,Wt,ft;;){if(U=u[u.length-1],this.defaultActions[U]?B=this.defaultActions[U]:((L===null||typeof L>"u")&&(L=Ot()),B=lt[U]&<[U][L]),typeof B>"u"||!B.length||!B[0]){var Ct="";ft=[];for(xt in lt[U])this.terminals_[xt]&&xt>ui&&ft.push("'"+this.terminals_[xt]+"'");D.showPosition?Ct="Parse error on line "+(dt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+ft.join(", ")+", got '"+(this.terminals_[L]||L)+"'":Ct="Parse error on line "+(dt+1)+": Unexpected "+(L==Vt?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[L]||L,line:D.yylineno,loc:At,expected:ft})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+L);switch(B[0]){case 1:u.push(L),S.push(D.yytext),o.push(D.yylloc),u.push(B[1]),L=null,zt=D.yyleng,p=D.yytext,dt=D.yylineno,At=D.yylloc;break;case 2:if(N=this.productions_[B[1]][1],j.$=S[S.length-N],j._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},xi&&(j._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),wt=this.performAction.apply(j,[p,zt,dt,$.yy,B[1],S,o].concat(di)),typeof wt<"u")return wt;N&&(u=u.slice(0,-1*N*2),S=S.slice(0,-1*N),o=o.slice(0,-1*N)),u.push(this.productions_[B[1]][0]),S.push(j.$),o.push(j._$),Wt=lt[u[u.length-2]][u[u.length-1]],u.push(Wt);break;case 3:return!0}}return!0},"parse")},rt=(function(){var O={EOF:1,parseError:n(function(g,u){if(this.yy.parser)this.yy.parser.parseError(g,u);else throw new Error(g)},"parseError"),setInput:n(function(r,g){return this.yy=g||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var g=r.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n(function(r){var g=r.length,u=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===x.length?this.yylloc.first_column:0)+x[x.length-u.length].length-u[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var r=this.pastInput(),g=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aG as a,bI as l}from"./3SdAC2_C.js";import{Jr as t}from"./
|
|
1
|
+
import{aG as a,bI as l}from"./3SdAC2_C.js";import{Jr as t}from"./BPo1GPk4.js";const s=Symbol("static-overlay");function n(e){l(s,e)}function b(){return a(s)??(()=>!1)}const r=["border-rose-500/30 bg-rose-500/15 text-rose-700 dark:text-rose-300","border-amber-500/30 bg-amber-500/15 text-amber-700 dark:text-amber-300","border-yellow-500/30 bg-yellow-500/15 text-yellow-700 dark:text-yellow-300","border-emerald-500/30 bg-emerald-500/15 text-emerald-700 dark:text-emerald-300","border-sky-500/30 bg-sky-500/15 text-sky-700 dark:text-sky-300","border-violet-500/30 bg-violet-500/15 text-violet-700 dark:text-violet-300"],o=["hover:bg-rose-500/25","hover:bg-amber-500/25","hover:bg-yellow-500/25","hover:bg-emerald-500/25","hover:bg-sky-500/25","hover:bg-violet-500/25"];function h(e){return r[e%r.length]}function d(e){return o[e%o.length]}const u=t.createSelector(e=>e.theme.preference),v=t.createSelector(e=>e.theme.name==="dark"),S=t.createSelector(e=>e.theme.hasCustomTheme),i=t.createSelector(e=>e.theme.customThemeName),g=t.createSelector(e=>e.theme.activePresetId),x=t.createSelector(e=>e.theme.error);export{i as a,S as b,v as c,x as d,u as e,h as f,d as g,n as p,g as s,b as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var N_=Object.defineProperty;var Fg=n=>{throw TypeError(n)};var B_=(n,r,a)=>r in n?N_(n,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[r]=a;var Js=(n,r,a)=>B_(n,typeof r!="symbol"?r+"":r,a),W_=(n,r,a)=>r.has(n)||Fg("Cannot "+a);var Ro=(n,r,a)=>(W_(n,r,"read from private field"),a?a.call(n):r.get(n)),Dg=(n,r,a)=>r.has(n)?Fg("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(n):r.set(n,a);import{t as ln,bo as Z,bw as dn,bp as cf,b as cn,bm as g,bq as Ur,bs as pe,br as qi}from"./Bv8Gaorn.js";import{bs as un,a5 as S,bf as fs,bA as y,W as p,bn as gn,aA as ee,aB as E,ca as ie,a7 as Ot,ay as ye,aD as e,cd as Bn,c9 as o,bS as _,bl as de,be as vn,b_ as q,bO as j,c5 as dt,bH as w,bV as he,bj as Es,bk as no,b$ as on,ai as Bc,aj as ps,bo as jl,br as Mr,c0 as qt,cb as sc,aw as wi,a as U_}from"./3SdAC2_C.js";import{i as N}from"./BQg4hK6W.js";import{k as xi}from"./ChJ4msi3.js";import{g as Dn,i as z_,I as qo,p as Lo,e as Mo}from"./D1JjMDax.js";import{n as Lt,l as ma,c as eo,j as Ng,k as Fo,h as j_}from"./DgaiTQpw.js";import{b as uf,e as Wc,f as ke,s as Ne,c as Wt,g as gs}from"./D85P44Dj.js";import{b as G_}from"./goTpbPhD.js";import{b as wr}from"./Dn334wJv.js";import{m as V_,U as K_,Z as Q_,X as J_,Y as Y_,I as Bg,o as X_,l as Z_,a2 as ew,x as Wg,$ as tw,a0 as Ug,r as nw,s as rw}from"./D806p2LW.js";import{Jr as O,fo as aw,eW as sw,f3 as ow,eX as iw,f1 as lw,f0 as dw,eZ as cw,e$ as uw,eY as gw,rt as pw,c6 as fw,i as $i,J0 as vw,D9 as gf,De as hw,Dg as zg,Dd as mw,Df as _w,vC as ww,vE as bw,Cm as pf,cp as yw,cn as Iw,Bv as Sw,bE as $w,A1 as kw,Cb as oc,u_ as xw,cq as jg,dB as Cw,dC as Pw,Cl as Rw,el as Tw,CF as Aw,CE as Mw,CJ as Ew,CI as qw,cQ as Lw,cT as Hw,nB as Ow,er as Fw,wP as Dw,CK as Nw,wR as Bw,CL as Ww,cU as Uw,cV as zw,nJ as jw,Ae as Gw,Dq as Vw,wk as Kw,wl as Qw,yZ as Jw,z1 as ic,wg as Yw,wh as Xw,rR as Zw,re as eb,rc as tb,f_ as nb,HL as rb,Lf as ab,GJ as sb,gn as ob,p1 as ib,Jf as lb,oi as db,A0 as cb,ft as Gg,r1 as Vg,fm as ub,fl as gb,tA as pb,g3 as Kg,rd as fb,fe as vb,C6 as hb,m as mb,nK as _b,zF as wb,yX as bb,Ew as yb,El as Qg,xf as Ib,xg as Jg,uZ as Yg,p2 as Sb,DC as $b,gj as kb,g1 as xb,eU as Cb,cM as Pb,A4 as Rb,Lk as Tb,Cr as Ab,LC as Mb,y0 as Eb,ga as qb,fd as Lb,cL as Hb,cI as Ob,cH as Fb,vq as Db,xm as Nb,xk as Bb,cF as Wb,cE as Ub,z3 as zb,y_ as jb,xl as Gb}from"./NgEAPl8f.js";import{a as Uc}from"./CC7to1B5.js";import{aM as Vb,aL as Kb,bg as Qb,a7 as Jb,aD as Yb,aO as Xb,M as ff,a0 as vf,b8 as Zb,b2 as ey,as as Xg,P as bl,b0 as Zg,a$ as ep,a_ as tp}from"./BjWOzuMm.js";import{k as hf,F as ty,G as Cc,ar as ny,a_ as El,a8 as mf,Q as ry,aT as lc,ao as ay,aG as sy,B as oy,y as _f,r as iy,z as ly,u as dy,aY as cy,aE as wf,aD as bf,aF as uy,aJ as dc,aQ as np,aP as yl,aR as rp,P as ap,d as gy,e as py,av as fy,V as sp,aC as vy,c as hy,l as my,aS as op,an as _y,au as ip,a as wy,ay as by,ac as lp,aB as yy,aU as dp,aX as cp,m as up,ad as Iy,R as Sy,aw as gp,ak as $y,O as ky,aq as xy,h as Cy,p as Py,_ as cc,Z as Ry,aA as pp,a7 as Ty,f as Ay,i as My,a5 as Ey,ab as qy}from"./Dqtmunn7.js";import{f as Ly,o as Hy,E as Oy,C as Fy,m as Dy,a2 as fp,aa as Ny,K as By,e as Wy,y as Uy}from"./Dr4PDf9D.js";import{g as Pi}from"./DypB-Dwi.js";import{dW as Dl,cU as yf,O as If,W as zy,bv as jy,aF as Sf,dH as $f,aV as Eo,e8 as Gy,dw as kf,aw as zc,dV as jc,aO as xf,cP as Vy,V as ha,a3 as Xs,B as Ky,a7 as Qy,a4 as Jy,M as Yy,a6 as Xy,ar as Zy,aG as Cf,aP as ql,r as eI,n as Pc,H as tI,dY as nI,aR as rI,aK as aI,c9 as sI,aX as oI,bM as iI,bK as lI,bL as dI,c8 as cI,c7 as uI,cN as gI,cM as pI,aT as fI,bb as vI,bd as hI,bg as mI,bc as _I,bl as wI,bf as bI,be as yI,bh as II,bi as SI,bk as $I,bj as kI,ax as xI,ay as CI,cj as PI,ck as RI,dv as TI,du as AI,b0 as MI,G as EI,b4 as qI,cf as LI,C as vp,d0 as HI,ba as cs,b$ as OI,X as FI,bq as DI,E as NI,ad as BI,t as WI,cW as UI,d3 as hp,Q as mp,dt as zI,cQ as uc}from"./CpV-ehZ5.js";import{u as Pf,a as Il,ag as jI,x as GI,ad as Rf,af as VI,ac as Tf,a4 as KI,F as _p,D as QI,e as JI,n as YI,s as XI,m as ZI,Y as eS,k as tS}from"./DXwcjaPR.js";import{a2 as nS,b4 as rS,cL as aS,aZ as sS,b3 as oS,c1 as iS,c8 as lS,w as dS,x as cS,cc as uS}from"./m8gDbIPC.js";import{n as gS,P as Af,F as pS,ai as fS,r as vS,ac as hS}from"./8TUe2kcz.js";import{I as mS,s as _S,H as wp}from"./Bqd7fdCF.js";import{e as wS}from"./CL3a4Hm1.js";import{e as bS,f as yS}from"./fXti0RCR.js";import{s as IS,o as Zs,b as SS,g as Nl,d as $S,l as bi}from"./CIyUrgF0.js";import{a5 as kS,a7 as xS,D as CS,N as PS,ac as bp,X as RS,i as TS,r as cr,v as Ri,u as na,p as ki,x as br,S as Gc,m as Gl,s as Ho,y as Ti,o as ro,n as ao,t as yp,aa as so,w as oo,a9 as Vc,q as _a,z as Oo,J as Rc,_ as Ip,g as AS,F as MS,U as Mf,I as Ef,a8 as qf,a6 as Ll,O as ES,E as Lf,V as qS,A as LS,b as HS,ab as OS,ad as Sl,G as FS,e as gc,l as DS,C as NS,f as Ys,j as Sp,H as us,Q as BS,d as $l,c as WS,a as $p,h as US,L as zS,Y as kp,a4 as pc,a1 as xp,a0 as jS,a3 as Cp,$ as Pp,T as GS,B as VS,k as KS,a2 as QS,K as JS,R as YS,P as XS,W as ZS}from"./EZ4dI6hS.js";import{m as e$}from"./Dms_DO28.js";import{g as Hf}from"./BJuNVIII.js";import{b as t$}from"./BWtq4mC4.js";import{g as n$}from"./CtX28OJm.js";import{a as r$}from"./C5l6D9GX.js";import{q as Of,d as ur,r as a$,e as Bl,j as s$,g as Tc,i as o$,f as Ac,c as i$,A as l$,O as Rp,k as d$}from"./qkmjEtXH.js";import{P as c$}from"./XyC5Phh7.js";import{e as u$}from"./GlvfRTgI.js";import{b as g$,a as p$,g as f$,c as v$,i as h$}from"./kFRDyP-N.js";import{R as m$,g as _$,W as kl,c as w$}from"./S7_elIn6.js";import"./DoIr8Q2r.js";import"./BL39LNxU.js";import{s as Ai}from"./DZBnfhEV.js";import{F as b$,h as y$}from"./CSbK1_CV.js";import"./CnMgdwKG.js";import{C as I$,e as Br,L as S$,l as Vl,d as Kl,K as Ql,h as Kc,M as Jl,S as Da}from"./C6GJZLOP.js";import{D as $$}from"./DvOdp8Jx.js";import{f as Tp}from"./DQAJLaJ3.js";import"./DU3vNstz.js";import{i as Ff}from"./BjLb7AHW.js";import{h as Ap,i as Mp,g as Ep,P as qp,C as k$,m as Hl,R as x$}from"./BkLJnbD1.js";import{f as It,ae as C$}from"./BO3WriTy.js";import{F as ft,bs as P$,cd as R$,aw as Na,a2 as Df,c9 as T$,bf as A$,be as M$,bg as E$,aO as Lp,aj as fc,aB as vc,bB as Nf,d3 as Wl,cF as q$,aM as Hp,cb as Op,cK as Ul,bu as L$,aS as H$,d0 as O$,a8 as Bf,ac as F$,ag as D$,cr as N$,ba as B$,aC as Wf,cT as Fp,cz as W$,ax as U$,cD as z$,c3 as j$}from"./CiD4x8Gl.js";import{c as Uf}from"./ChTqQfQN.js";import"./BLYFfqzj.js";import{c as Rt}from"./kZanyiqf.js";import{a5 as zf,bg as G$,ar as V$,k as K$,Y as Q$,W as J$,a2 as Y$,Z as X$,bw as Z$,V as ek,a1 as tk,ah as nk}from"./kuwy0JZA.js";import{d as zl,f as rk,e as ak}from"./C1m4pSe1.js";import{A as sk}from"./DIylOQL5.js";import{D as ok}from"./D6YX_GFv.js";import"./CFtfWLBC.js";import{a as ik,C as lk}from"./CJZ6Gu1k.js";import"./COUB9dHY.js";import{C as dk}from"./D6GBnYDv.js";import{h as Mc,r as ck,a as uk}from"./BOsHJKjO.js";import{s as gk}from"./C-JwFHXS.js";import{I as pk,a as jf}from"./DCTwUEO7.js";import{L as fk}from"./Xgzrv-dN.js";import{g as vk,f as hk,b as mk}from"./qPYbzgcC.js";import{s as Mi,g as Yn,i as _k,j as wk,e as Dp,r as Np,f as bk,d as yk,a as hc,h as Ik}from"./CCEQVSjx.js";import{i as Bp,a as Sk}from"./Bu13V5mO.js";import{seekConversationToMessage as Wp}from"./C7TJE1vk.js";import{l as Kt,o as mc,h as Qc,n as Ec,q as $k}from"./C44hzh9R.js";import{o as kk}from"./CpYW1yE7.js";import{A as Gf}from"./CZJDTQJi.js";import{b as Vf}from"./PZRS5x7m.js";import{g as xk,e as Kf,v as Ck,f as Pk,N as Rk,M as Tk,K as Ak,k as Qf,l as Mk,H as Jf,s as Yf}from"./CM4xaytB.js";import{selectCurrentWorkspaceTabId as _c}from"./-18XT1CI.js";import{o as Ek}from"./YfYAjqUM.js";import{d as qk}from"./B0Z-1lwJ.js";import{P as Lk}from"./BBiqqybB.js";import{g as Hk}from"./DyiA0AJU.js";import{H as Xf,M as Ok,y as Fk,g as Dk,i as Nk,u as Bk,e as Zf,c as ev,d as Wk}from"./DgOwYCT0.js";import{c as Uk,h as Jc,f as tv,M as zk}from"./5uDsFopc.js";import{t as jk}from"./DAsc1V4f.js";import{s as Gk}from"./BsieX9dN.js";import{i as nv}from"./B4n9OEnJ.js";import{d as Vk,i as Kk,r as Qk}from"./iwQqOlmN.js";import{g as Jk}from"./MBA6k0j3.js";var Yk=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),Xk=E("<div><!></div>");function rv(n,r){if(new.target)return ln({component:rv,...n});un(r,!0);let a=Z(r,"ref",15,null),i=Z(r,"class",7),d=Z(r,"children",7),l=cf(r,Yk);var f={get ref(){return a()},set ref(v=null){a(v),ee()},get class(){return i()},set class(v){i(v),ee()},get children(){return d()},set children(v){d(v),ee()},$set:dn,$on:(v,R)=>cn(r,v,R)},u=Xk();uf(u,v=>({"data-slot":"card-header",class:v,...l}),[()=>Wc("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-x-4 gap-y-1.5 pt-4 pb-2 has-data-[slot=card-action]:grid-cols-[minmax(0,1fr)_auto]",dk,i())]);var b=S(u);return Ai(b,()=>d()??fs),y(u),wr(u,v=>a(v),()=>a()),p(n,u),gn(f)}var Zk=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),ex=E("<div><!></div>");function av(n,r){if(new.target)return ln({component:av,...n});un(r,!0);let a=Z(r,"ref",15,null),i=Z(r,"class",7),d=Z(r,"children",7),l=cf(r,Zk);var f={get ref(){return a()},set ref(v=null){a(v),ee()},get class(){return i()},set class(v){i(v),ee()},get children(){return d()},set children(v){d(v),ee()},$set:dn,$on:(v,R)=>cn(r,v,R)},u=ex();uf(u,v=>({"data-slot":"card-title",class:v,...l}),[()=>Wc("type-title min-w-0 break-words font-semibold leading-tight text-foreground",i())]);var b=S(u);return Ai(b,()=>d()??fs),y(u),wr(u,v=>a(v),()=>a()),p(n,u),gn(f)}const xl=mS.CHAT_MEDIA,wc=IS().min(1).max(512);Zs({workspaceId:wc,agentId:wc,draftId:Nl(),principalId:wc,media:SS(gS).min(1).max(20)}).strict();const tx=Zs({sessionId:Nl()}).strict();tx.extend({control:$S("action",[Zs({action:bi("readiness")}).strict(),Zs({action:bi("export"),request:bS}).strict(),Zs({action:bi("transcribe"),request:yS}).strict(),Zs({action:bi("release"),jobId:Nl()}).strict(),Zs({action:bi("adopt"),jobId:Nl()}).strict()])}).strict();function Yc(n,r,a,i=async(d,l)=>typeof window>"u"||_S(window)!=="electron"?{ok:!1,error:"unavailable"}:wS().invoke(d,l)){let d=null,l=null,f=!1;async function u(){f=!0,a.removeEventListener("abort",b);const x=d;d=null,x&&await i(xl.CLOSE,{sessionId:x}).catch(()=>{})}const b=()=>{u()};a.addEventListener("abort",b,{once:!0});const v=()=>{if(f||a.aborted||!r())throw new Error("media-send-retired")};async function R(){if(v(),d)return d;if(l)return l;l=(async()=>{const x=await i(xl.BEGIN,n);if(!x.ok)throw new Error("media-export-unavailable");d=x.value.sessionId;try{return v(),d}catch(F){throw await u(),F}})();try{return await l}finally{l=null}}async function I(x){const F=await R();v();const D=await i(xl.CONTROL,{sessionId:F,control:x});return v(),D}return{service:{exportMedia:x=>I({action:"export",request:x}),adoptMediaJob:x=>I({action:"adopt",jobId:x}),transcribeMedia:x=>I({action:"transcribe",request:x}),releaseMediaJob:async x=>d?await i(xl.CONTROL,{sessionId:d,control:{action:"release",jobId:x}}):{ok:!0,value:void 0}},dispose:u,readiness:()=>I({action:"readiness"})}}const bc=new Set;async function nx(n){const{drafts:r,signal:a}=n,i=structuredClone(n.capture),d=structuredClone(n.items),l=structuredClone(n.payload),{workspaceId:f,agentId:u}=i,b=Pi(O.state),v=Dl.select(O.state,f),R=yf.select(O.state),I=hf(),M=JSON.stringify([b,f,u]);if(!b||!v||!R||l.wsId!==f||bc.has(M))return!1;bc.add(M);const x=new AbortController,F=()=>x.abort();a.addEventListener("abort",F,{once:!0});const D=()=>!a.aborted&&!x.signal.aborted&&Pi(O.state)===b&&Dl.select(O.state,f)===v&&mf(I)&&r.isCurrentDraft(i),T=O.getReadableState().subscribe(()=>{D()||x.abort()});let H=null;try{if(!D()||nS(d))return!1;const V=Pf(i.attachments),oe=Af(pS(f,u),V,d.map(ce=>({contextItemId:ce.id,attachmentId:ce.attachmentId,path:ce.path}))),P=new Set([...oe.images,...oe.clips].map(ce=>ce.contextItemId));if(V.some(([ce])=>!P.has(ce))||oe.images.some(ce=>ce.mediaError)||oe.clips.some(ce=>ce.mediaError)||!fS(l.text,oe))throw new Error("invalid-evidence");if(H=n.warm?.take(i,x.signal)??null,!await r.flushDraft(i)||!D())return!1;const k=await Ly.agents.get(u,f);if(!D())return!1;if(!k||k.workspaceId!==f||k.retiredAt||k.pendingDeleteAt||k.status==="deleted")throw new Error("unavailable");const J=oe.clips.flatMap(ce=>ce.media?[ce.media]:[]);J.length&&!H&&(H=Yc({workspaceId:f,agentId:u,draftId:crypto.randomUUID(),principalId:R.principal.id,media:J},D,x.signal));const ge=ty(d,oe),Te=Cc(ge),ve=await ny({workspaceId:f,agentId:u,evidence:oe,clickedItems:d,sendItems:ge,clickedPayload:{...l,contextItems:ge,imageBlocks:Te.imageBlocks,fileBlocks:Te.fileBlocks},binding:I,service:H?.service??null,current:D,onRecord:()=>{}});return!ve||!D()?!1:El(O,u,ve)}catch{return D()&&O.dispatch(aw(u,g.dock_conversation_sendFailed_error())),!1}finally{T(),a.removeEventListener("abort",F),await H?.dispose(),bc.delete(M)}}const sv=1e4,Up={wasBusy:!1,busySince:null,preempted:!1,prediction:null};function zp(n){return kS(n.messageMetadata)}function rx(n,r){if(n.some(zp)){const a=n[0];return a&&!zp(a)&&jp(a,r)?[a.id]:[]}return n.filter(a=>jp(a,r)).map(a=>a.id)}function ax(n){let r=null;for(const a of n)(a.status==="preparing"||a.status==="sending")&&a.createdAt>(r??-1/0)&&(r=a.createdAt);return r}function jp(n,r){return!n.requeuedAfterFailure&&xS(n,r)}function sx(n,r){const{busy:a,queue:i,delivered:d,now:l}=r,f=r.blocked||r.interrupted,u=r.timeoutMs??sv;let b=n.prediction;if(b){const x=new Set(i.map(H=>H.id)),F=b.ids.filter(H=>x.has(H)&&!d.has(H)),D=l-b.startedAt>=u,T=n.wasBusy&&!a;!F.length||D||f&&!a||T?b=null:F.length!==b.ids.length&&(b={...b,ids:F})}const v=n.wasBusy&&!a,R=n.wasBusy?n.busySince:a?l:null,I=n.wasBusy&&n.preempted||R!==null&&r.directSendAt!==null&&r.directSendAt>R;if(!b&&v&&!f&&!I){const x=rx(i,l).filter(F=>!d.has(F));x.length&&(b={ids:x,startedAt:l})}const M={wasBusy:a,busySince:a?R:null,preempted:a&&I,prediction:b};return n.wasBusy===M.wasBusy&&n.busySince===M.busySince&&n.preempted===M.preempted&&n.prediction===M.prediction?n:M}class ox{constructor(){Js(this,"previousWorkspaceId",null);Js(this,"_isRebinding",!1);Js(this,"_generation",0);Js(this,"_rebindPromise",null);Js(this,"_rebindResolve",null)}recordMount(r){return this.previousWorkspaceId=r,r}wasWorkspaceChangedDuringMount(r){return this.previousWorkspaceId!==r}shouldRebind(r){return!r||this.previousWorkspaceId===null?!1:r!==this.previousWorkspaceId}recordRebind(r){this.previousWorkspaceId=r}hasWorkspaceChanged(r){return r!==this.previousWorkspaceId}get trackedWorkspaceId(){return this.previousWorkspaceId}get isRebinding(){return this._isRebinding}startRebind(){return this._generation++,this._isRebinding=!0,this._rebindResolve?.(),this._rebindPromise=new Promise(r=>{this._rebindResolve=r}),this._generation}endRebind(r){r!==void 0&&r!==this._generation||(this._isRebinding=!1,this._rebindResolve?.(),this._rebindPromise=null,this._rebindResolve=null)}async waitForRebind(r=5e3){if(!this._isRebinding||!this._rebindPromise)return!1;const a=Date.now()+r;for(;this._isRebinding&&this._rebindPromise;){const i=a-Date.now();if(i<=0)return!1;let d;const l=await Promise.race([this._rebindPromise.then(()=>!1),new Promise(f=>{d=setTimeout(()=>f(!0),i)})]);if(clearTimeout(d),l)return!1}return!0}}function ix(n,r){return!(n?.tabType!=="agent"||n.agentId!==r.agentId||!r.isActive||n.workspaceId&&n.workspaceId!==r.workspaceId||r.panelId&&(n.source!=="dictation"&&!r.isPanelFocused||n.panelId&&n.panelId!==r.panelId))}function Gp(n){const r=typeof n=="string"?n:n&&typeof n=="object"&&typeof n.script=="string"?n.script:void 0;return r||void 0}var lx=E('<div role="status" aria-live="polite" data-presence-typing-indicator=""><span class="inline-flex min-w-[var(--operational-leading-slot-size)] shrink-0 items-center justify-center svelte-lm4khl"><!></span> <span class="min-w-0 truncate svelte-lm4khl"> </span> <span class="inline-flex shrink-0 items-center gap-0.5 svelte-lm4khl" aria-hidden="true"><span class="typing-dot size-1 rounded-full bg-current svelte-lm4khl"></span> <span class="typing-dot size-1 rounded-full bg-current svelte-lm4khl" style="animation-delay: 0.2s"></span> <span class="typing-dot size-1 rounded-full bg-current svelte-lm4khl" style="animation-delay: 0.4s"></span></span></div>');function ov(n,r){if(new.target)return ln({component:ov,...n});un(r,!0);const a=()=>pe(R,"$typing$",i),[i,d]=Ur();let l=Z(r,"workspaceId",7),f=Z(r,"agentId",7),u=Z(r,"class",7,"");const b=Bn(""),v=Bn("");ie(()=>{b.set(l())}),ie(()=>{v.set(f())});const R=rS(b,v),I=o(()=>u$(a()));var M={get workspaceId(){return l()},set workspaceId(H){l(H),ee()},get agentId(){return f()},set agentId(H){f(H),ee()},get class(){return u()},set class(H=""){u(H),ee()},$set:dn,$on:(H,V)=>cn(r,H,V)},x=Ot(),F=ye(x);{var D=H=>{var V=lx(),oe=S(V),P=S(oe);c$(P,{get people(){return a()},size:12,decorative:!0}),y(oe);var k=_(oe,2),J=de(k,!0);vn(2),y(V),q(()=>{ke(V,1,`${Of} flex h-4 min-w-0 items-center gap-[var(--operational-leading-gap)] px-[var(--operational-row-inline-padding)] font-family-child font-normal text-muted-foreground text-[11px] leading-4 ${u()??""} /* a11y-ignore: user-requested compact typing status in the composer gap */`,"svelte-lm4khl"),j(J,e(I))}),p(H,V)};N(F,H=>{e(I)&&H(D)})}p(n,x);var T=gn(M);return d(),T}const dx=50,cx=5e3,ux=500,gx=()=>({authority:()=>Pi(O.state),persistSnapshot:ay,dispatch:n=>O.dispatch(n),ownerView:n=>sy.withStore(O)(n)});function px(n){const r=n.store??gx(),a=crypto.randomUUID();let i=he(!1),d=he(!1),l=he(!1),f=null,u=null,b=0,v=!1,R=null,I=null,M=null,x=0,F=null,D=null;const T={};let H,V=he([]),oe=null,P=0,k="",J=0,ge="";const Te=()=>{const B=n.workspaceId(),C=n.agentId();if(!B||!C||!(n.active?.()??!0))return null;const re=r.authority?.();if(!re||v)return null;const Me=n.inputValue(),L=ce(),X=H?.shared,Y=X?.workspaceId===B&&X.agentId===C?X.lifetime:null,be=JSON.stringify([re,B,C,x,Y,L.map(z=>[z.id,z.attachmentId,z.path])]);be!==ge&&(ge=be,J+=1);const De=JSON.stringify([re,B,C,Me,L,x]);return De!==k&&(k=De,P+=1),{authority:re,ownerId:a,workspaceId:B,agentId:C,text:Me,attachments:JSON.parse(JSON.stringify(L)),generation:P,attachmentEpoch:J}};let ve=null;const ce=()=>jI(n.contextItems(),GI(n.contextItems(),e(V))),we=B=>{if(H=B,!B||v)return;const C=B.restore;if(D&&C?.requestId===D.requestId&&C.status!=="pending"){const{apply:L}=D;D=null,w(d,!1),C.status==="restored"&&w(V,C.draft?.attachments??[]),L(C)}const re=B.shared;if(re&&!e(d)&&u===`${re.workspaceId}\0${re.agentId}`){const L=JSON.stringify([re.provenance,re.workspaceId,re.agentId,re.lifetime,re.revision]);if(oe!==L){oe=L;const X=ve??f,Y=X&&n.inputValue()===X.text&&JSON.stringify(ce())===X.attachmentsJson;re.origin===a?ve={text:re.snapshot.text,attachmentsJson:JSON.stringify(re.snapshot.attachments)}:Y&&(b+=1,M&&clearTimeout(M),w(V,re.snapshot.attachments),ve=f={text:re.snapshot.text,attachmentsJson:JSON.stringify(e(V))},n.setInputValue(re.snapshot.text),n.setContextItems(Il(e(V))),n.applyEditorContent(re.snapshot.text))}}dt(Te);const Me=[];for(const L of B.saves){if(L.status==="pending")continue;Me.push(L.id);const X=T[L.id];delete T[L.id],X?.(L)}Me.length>0&&queueMicrotask(()=>r.dispatch(lw(a,Me)))},ne=(B,C,re)=>{const Me=crypto.randomUUID();D={requestId:Me,apply:re},w(d,!0),r.dispatch(cw(a,Me,B,C))},te=()=>{D&&(D=null,w(d,!1),r.dispatch(gw(a)))},Be=()=>{const B=F;B&&(F=null,r.dispatch(uw(a)),H?.saves.some(C=>C.id===B)||delete T[B])};r.dispatch(sw(a));const se=r.ownerView(a).subscribe(B=>dt(()=>we(B))),me=()=>{I&&(clearTimeout(I),I=null),w(l,!1)},Ee=()=>{F&&(F=null,r.dispatch(dw(a)))};ie(()=>{const B=n.active?.()??!0,C=n.workspaceId(),re=n.agentId();if(!B){dt(()=>{b+=1,u=null,te(),R&&clearTimeout(R),R=null,me(),M&&clearTimeout(M),M=null,w(i,!1),Ee()});return}if(!C||!re)return;const Me=`${C}\0${re}`;if(u===Me)return;const L=u!==null;u=Me;const X=++b;dt(()=>{f=null,ve=null,oe=null,w(V,[]),R&&clearTimeout(R),me(),M&&(clearTimeout(M),M=null),L&&(Ee(),n.setInputValue(""),n.contextItemsAreScoped||n.setContextItems([]),n.applyEditorContent(""));const Y=ry(C,re);if(Y){w(V,Y.attachments),w(i,!1);const De=n.contextItems().length>0,z=Y.text,Ie=JSON.stringify(Y.attachments);n.setInputValue(Y.text),De||n.setContextItems(Il(Y.attachments)),n.applyEditorContent(Y.text),f={text:Y.text,attachmentsJson:Ie},ne(C,re,Ce=>{if(Ce.status!=="restored")return;const He=Ce.draft;if(v||!(n.active?.()??!0)||u!==Me||b!==X)return;const st=He?.text??"",Je=He?.attachments??[],Oe=JSON.stringify(Je);lc(C,re,{text:st,attachments:Je});const Pe=n.inputValue()===z&&JSON.stringify(ce())===Ie;De||!Pe||(st!==z&&(n.setInputValue(st),n.applyEditorContent(st)),Oe!==Ie&&n.setContextItems(Il(Je)),f={text:st,attachmentsJson:Oe})});return}w(i,!0),I=setTimeout(()=>{I=null,(n.active?.()??!0)&&w(l,!0)},ux),R=setTimeout(()=>{(n.active?.()??!0)&&(w(i,!1),me())},cx);const be=()=>{!(n.active?.()??!0)||u!==Me||b!==X||(R&&clearTimeout(R),w(i,!1),me())};ne(C,re,De=>{if(De.status!=="restored"){be();return}const z=De.draft;if(v||!(n.active?.()??!0)||u!==Me||b!==X)return;const Ie=!!n.inputValue();if(!Ie&&z?.attachments?.length&&n.contextItems().length===0&&n.setContextItems(Il(z.attachments)),!Ie&&z?.text&&(n.setInputValue(z.text),M=setTimeout(()=>{(n.active?.()??!0)&&n.inputValue()===z.text&&n.applyEditorContent(z.text)},dx)),f===null){const Ce=z?.text??"",He=z?.attachments??[];f={text:Ce,attachmentsJson:JSON.stringify(He)},lc(C,re,{text:Ce,attachments:He})}be()})})}),ie(()=>{const B=n.active?.()??!0,C=n.workspaceId(),re=n.agentId(),Me=e(i);if(!B){dt(Be);return}if(!C||!re)return;const L=n.inputValue(),X=ce();if(dt(Te),dt(Be),Me||f===null&&!L&&X.length===0)return;const Y=JSON.stringify(X);if(f!==null&&f.text===L&&f.attachmentsJson===Y)return;JSON.stringify(e(V))!==Y&&w(V,X);const be=`${C}\0${re}`,De=x,z=crypto.randomUUID();T[z]=Ie=>{if(n.active?.()??!0){if(Ie.status==="saved"){u===be&&x===De&&(f={text:L,attachmentsJson:Y});return}n.onSaveError?.(new Error(Ie.error))}},dt(()=>{F=z,r.dispatch(ow(a,z,{authority:r.authority?.()??void 0,workspaceId:C,agentId:re,text:L,attachments:X,rollback:f?{text:f.text,attachments:JSON.parse(f.attachmentsJson)}:null}))})}),ie(()=>()=>{v=!0,R&&clearTimeout(R),I&&clearTimeout(I),M&&clearTimeout(M),Ee(),se(),r.dispatch(iw(a))});const qe=B=>{const C=Te();return C!==null&&C.authority===B.authority&&C.ownerId===B.ownerId&&C.workspaceId===B.workspaceId&&C.agentId===B.agentId&&C.generation===B.generation&&C.text===B.text&&JSON.stringify(C.attachments)===JSON.stringify(B.attachments)};return{captureDraft:Te,isCurrentDraft:qe,updateAttachmentScreen(B,C,re){return!qe(B)||!B.attachments.some(Me=>Me.id===C)?null:(w(V,B.attachments.map(Me=>Me.id===C?{...Me,screen:structuredClone(re)}:Me)),Te())},async flushDraft(B){if(!qe(B))return!1;if(!r.persistSnapshot)throw new Error("draft-shared-transport-unavailable");return await r.persistSnapshot(a,B.workspaceId,B.agentId,B,B.authority),qe(B)},get restorePending(){return e(d)},get gateActive(){return e(i)},get gateVisible(){return e(l)},invalidatePendingRestore(){if(b+=1,x+=1,te(),R&&(clearTimeout(R),R=null),M&&(clearTimeout(M),M=null),w(i,!1),me(),Be(),u!==null){const[B,C]=u.split("\0");lc(B,C,{text:"",attachments:[]}),ve=null,w(V,[]),f={text:"",attachmentsJson:"[]"}}}}}function Ei(n){if(!n)return null;const r=Af(JSON.stringify([n.workspaceId,n.agentId]),Pf(n.attachments),n.attachments.map(a=>({contextItemId:a.id,attachmentId:a.attachmentId,path:a.path})));return{...r,clips:r.clips.filter(a=>{const i=n.attachments.find(d=>d.id===a.contextItemId);return!!a.media&&!a.mediaError&&!!i&&a.path===i.path})}}async function fx(n,r,a){const i=O.state.principal.snapshot,d=()=>Pi(O.state)===n.authority&&a.isCurrentDraft(n);if(!i||!d()||!await a.flushDraft(n)||!d())return{ready:!1};const l=new AbortController,f=Yc({workspaceId:n.workspaceId,agentId:n.agentId,principalId:i.principal.id,draftId:crypto.randomUUID(),media:[r]},d,l.signal);try{const u=await f.readiness();return!d()||!u.ok?{ready:!1}:u.value.find(b=>b.sourceId===r.source.id)??{ready:!1}}finally{await f.dispose()}}function Vp(n){let r=he(null),a=he(!1),i=he(!1),d=null,l=!0,f=0,u=null;Es(()=>{l=!1,f++}),ie(()=>{const I=n.capture();e(r)&&(!I||I.authority!==e(r).capture.authority||I.ownerId!==e(r).capture.ownerId||I.workspaceId!==e(r).capture.workspaceId||I.agentId!==e(r).capture.agentId||I.attachmentEpoch!==e(r).capture.attachmentEpoch)&&w(r,null)});async function b(I){if(n.disabled()||e(a))return;const M=n.drafts.captureDraft(),x=Ei(M),F=x?.clips.find(V=>V.contextItemId===I);if(!M||!F?.media||!x)return;const D=oy({workspaceId:M.workspaceId,agentId:M.agentId,clip:F,evidence:x,marks:x.marks}),T=_f(M.workspaceId,F.path);if(!D||!T)return;const H=++f;d=document.activeElement instanceof HTMLElement?document.activeElement:null,w(a,!0),w(i,!1);try{if(await n.beforeOpen?.(),!l||f!==H||!n.drafts.isCurrentDraft(M))return;const V=await(n.prepareOutput??fx)(M,F.media,n.drafts);if(!l||f!==H||!n.drafts.isCurrentDraft(M))return;const{attachmentPath:oe,...P}=D;w(r,{capture:M,contextItemId:I,snapshot:{...P,openId:crypto.randomUUID(),mediaUrl:T,output:V,deleteReady:!0}})}catch{l&&f===H&&w(i,!0)}finally{l&&f===H&&w(a,!1)}}async function v(I){const M=crypto.randomUUID(),x=e(r),F=n.drafts.captureDraft();if(!x||!F||F.authority!==x.capture.authority||F.ownerId!==x.capture.ownerId||F.workspaceId!==x.capture.workspaceId||F.agentId!==x.capture.agentId||F.attachmentEpoch!==x.capture.attachmentEpoch)return{requestId:M,result:"stale-source"};const D=Ei(F),T=D?.clips.find(J=>J.contextItemId===x.contextItemId);if(!D||!T?.media)return{requestId:M,result:"stale-source"};const V=u?.openId===x.snapshot.openId&&u.inputRevision===I.revision&&JSON.stringify(u.media)===JSON.stringify(T.media)?{...I,revision:T.media.saved?.revision??0}:I,oe=vS(T.media,{openId:x.snapshot.openId,...x.snapshot.output?.version===2?{outputVersion:2}:{},pair:{workspaceId:F.workspaceId,agentId:F.agentId},sourceId:I.sourceId,sourceRevision:I.sourceRevision,expectedEditRevision:V.revision,edit:V});if(oe.status!=="saved")return{requestId:M,result:oe.status==="invalid-edit"?"failed":oe.status};const P=hS({...D,clips:D.clips.map(J=>J.id===T.id?{...J,media:oe.media}:J)})[x.contextItemId],k=n.drafts.updateAttachmentScreen(F,x.contextItemId,P);if(!k)return{requestId:M,result:"stale-source"};u={openId:x.snapshot.openId,media:oe.media,inputRevision:I.revision};try{if(!n.drafts.isCurrentDraft(k))return{requestId:M,result:"stale-source"};await n.drafts.flushDraft(k);const J=n.drafts.captureDraft();return!l||e(r)?.snapshot.openId!==x.snapshot.openId||!J||J.attachmentEpoch!==x.capture.attachmentEpoch||J.authority!==k.authority||J.ownerId!==k.ownerId||J.workspaceId!==k.workspaceId||J.agentId!==k.agentId||JSON.stringify(J.attachments.find(ge=>ge.id===x.contextItemId)?.screen)!==JSON.stringify(P)?{requestId:M,result:"stale-source"}:(u=null,{requestId:M,result:"saved",saved:oe.media.saved??void 0})}catch{return{requestId:M,result:"failed"}}}function R(I){return n.disabled()||!n.onRemove(I)?!1:(e(r)?.contextItemId===I&&w(r,null),!0)}return{get session(){return e(r)},get opening(){return e(a)},get problem(){return e(i)},open:b,save:v,remove:R,close(){w(r,null)},restoreFocus(){d?.isConnected&&d.focus()}}}var vx=E('<p role="alert"> </p>'),hx=E('<div class="recording-editor-surface svelte-cdb16"><!></div>'),mx=E("<!> <!> <!>",1);function iv(n,r){if(new.target)return ln({component:iv,...n});un(r,!0);let a=Z(r,"capture",7),i=Z(r,"drafts",7),d=Z(r,"disabled",7,!1),l=Z(r,"onRemove",7),f=Z(r,"controllerFactory",7,Vp),u=Z(r,"beforeOpen",7),b=Z(r,"onReviewChange",7);const v=dt(()=>f()({drafts:i(),capture:()=>a(),disabled:()=>d(),onRemove:P=>l()(P),beforeOpen:()=>u()?.()??Promise.resolve()}));ie(()=>{const P=v.opening,k=v.session;dt(()=>b()?.(P,k?.snapshot.output?.ready?{openId:k.snapshot.openId,capture:k.capture}:null))});const R=o(iy),I=o(()=>Ei(a())),M=o(()=>e(I)?.clips.map(P=>({id:P.contextItemId,kind:"clip",owner:"evidence",duration:Tp(P.durationMs),recording:!1,url:a()?_f(a().workspaceId,P.path):void 0,...P.media?.saved?{summary:ly(P.media.saved)}:{}}))??[]);let x=he(null);var F={get capture(){return a()},set capture(P){a(P),ee()},get drafts(){return i()},set drafts(P){i(P),ee()},get disabled(){return d()},set disabled(P=!1){d(P),ee()},get onRemove(){return l()},set onRemove(P){l(P),ee()},get controllerFactory(){return f()},set controllerFactory(P=Vp){f(P),ee()},get beforeOpen(){return u()},set beforeOpen(P){u(P),ee()},get onReviewChange(){return b()},set onReviewChange(P){b(P),ee()},$set:dn,$on:(P,k)=>cn(r,P,k)},D=mx(),T=ye(D);{let P=o(()=>d()||v.opening);CS(T,{get items(){return e(M)},get labels(){return e(R)},get disabled(){return e(P)},onEdit:k=>void v.open(k),onMarkUp:k=>void v.open(k),get onRemove(){return v.remove}})}var H=_(T,2);{var V=P=>{var k=vx(),J=de(k,!0);q(ge=>j(J,ge),[()=>g.dock_captureEditor_saveFailed_label()]),p(P,k)};N(H,P=>{v.problem&&P(V)})}var oe=_(H,2);{let P=o(()=>!!v.session),k=o(()=>g.dock_captureEditor_recording_title({duration:v.session?Tp(v.session.snapshot.durationMs??0):""}));I$(oe,{get open(){return e(P)},size:"editor",showCloseButton:!1,get title(){return e(k)},escapeKeydownBehavior:"ignore",dismissOnInteractOutside:!1,onClose:()=>v.close(),onCloseAutoFocus:J=>{J.preventDefault(),v.restoreFocus()},get contentRef(){return e(x)},set contentRef(J){w(x,J,!0)},children:(J,ge)=>{var Te=Ot(),ve=ye(Te);{var ce=we=>{var ne=Ot(),te=ye(ne);xi(te,()=>v.session.snapshot.openId,Be=>{var se=hx(),me=S(se);$$(me,{get snapshot(){return v.session.snapshot},get shortcutDialog(){return e(x)},onClose:()=>v.close(),get onSave(){return v.save},onDelete:async()=>!!v.session&&v.remove(v.session.contextItemId)}),y(se),p(Be,se)}),p(we,ne)};N(ve,we=>{v.session&&we(ce)})}p(J,Te)},$$slots:{default:!0}})}return p(n,D),gn(F)}const Cl=n=>JSON.stringify([n.authority,n.ownerId,n.workspaceId,n.agentId,n.attachmentEpoch,n.attachments]);function _x(n){let r=he(!1),a=he(!1),i=he(null),d=!1,l=0,f=null,u=null;async function b(I){I.abort.abort(),I.slot?.cancel(),await I.native?.dispose()}async function v(){l++;const I=u;u=null,I&&await b(I)}no(()=>{const I=()=>{w(r,document.hasFocus(),!0)};return I(),window.addEventListener("focus",I),window.addEventListener("blur",I),()=>{window.removeEventListener("focus",I),window.removeEventListener("blur",I)}});const R=O.getReadableState().subscribe(()=>{u&&!u.current()&&v()});return Es(()=>{d=!0,R(),v()}),ie(()=>{const I=n.capture(),M=I?Cl(I):"",x=e(r)&&!e(a)&&(n.active()||e(i)?.key===M);dt(()=>{if(!x||!I){v();return}if(u?.key===M)return;if(f===M){v();return}v();const D=Ei(I)?.clips.flatMap(Te=>!Te.mediaError&&Te.media?[Te.media]:[])??[],T=D[0],H=O.state.principal.snapshot,V=Dl.select(O.state,I.workspaceId);if(!T||!H||!V||n.drafts.gateActive)return;const oe=hf(),P=new AbortController,k=()=>!d&&!P.signal.aborted&&Pi(O.state)===I.authority&&Dl.select(O.state,I.workspaceId)===V&&mf(oe)&&!!n.capture()&&Cl(n.capture())===M,J={key:M,capture:I,abort:P,native:null,slot:null,current:k};u=J;const ge=l;n.drafts.flushDraft(I).then(async Te=>{if(!(u!==J||ge!==l||!k())){if(!Te){f=M,await v();return}J.native=Yc({workspaceId:I.workspaceId,agentId:I.agentId,draftId:crypto.randomUUID(),principalId:H.principal.id,media:structuredClone(D)},k,P.signal),J.slot=dy(J.native.service),f=M,J.slot.warm(M,T,k)}}).catch(()=>{u===J&&v()})})}),{cancel:v,async beforeEditorOpen(){w(a,!0),f=null,await v()},editorState(I,M){w(a,I,!0);const x=M?Cl(M.capture):null;M&&e(i)?.openId!==M.openId&&(f=null),w(i,M&&x?{openId:M.openId,key:x}:null)},take(I,M){const x=u;if(!x?.native||!x.slot||x.key!==Cl(I)||!x.current())return v(),null;u=null,l++;const F=x.native,D=x.slot,T=()=>x.abort.abort();return M.addEventListener("abort",T,{once:!0}),M.aborted&&T(),{service:{...F.service,takePreparedRecording:H=>D.take(x.key,H,()=>!M.aborted&&x.current())},async dispose(){M.removeEventListener("abort",T),await b(x)}}}}}var wx=E('<div role="status" class="px-3 py-1.5 text-xs text-muted-foreground" data-testid="chat-draft-loading-gate"><span> </span></div>');function lv(n,r){if(new.target)return ln({component:lv,...n});un(r,!1);var a={$set:dn,$on:(f,u)=>cn(r,f,u)};Ff();var i=wx(),d=S(i),l=de(d,!0);return y(i),q(f=>j(l,f),[()=>g.chat_draftGate_loading_label()]),p(n,i),gn(a)}var bx=E('<div data-new-messages-divider="" class="type-caption font-family-child my-6 flex items-center gap-2 px-2" role="separator"><div class="h-px flex-1 bg-border"></div> <span class="whitespace-nowrap px-1 font-medium text-foreground"> </span> <div class="h-px flex-1 bg-border"></div></div>');function qc(n,r){if(new.target)return ln({component:qc,...n});un(r,!1);var a={$set:dn,$on:(f,u)=>cn(r,f,u)};Ff();var i=bx(),d=_(S(i),2),l=de(d,!0);return vn(2),y(i),q((f,u)=>{Ne(i,"aria-label",f),j(l,u)},[()=>g.chat_newMessagesDivider_label(),()=>g.chat_newMessagesDivider_label()]),p(n,i),gn(a)}function yx(n,r){if(!r||n.length===0)return null;const a=n.indexOf(r);return a===-1||a===n.length-1?null:r}function Ix(n,r,a){if(!r||n.length===0)return"none";const i=n.indexOf(r);return i===n.length-1?"none":i!==-1?"marker-loaded":a.complete?a.truncated?"marker-beyond-window":"none":"marker-pending"}function Sx(n,r){return r&&n.includes(r)?r:null}function Kp(n,r,a){return r-n<=a}const $x=.2;function Qp(n,r,a){const i=Math.max(0,a-r),d=n-$x*r;return Math.min(Math.max(0,d),i)}function kx(n,r,a){return n!==null&&a&&n===r}function xx(n){return n?pw(n)&&fw(n)!==null&&typeof n.metadata?.taskNoteId=="string":!1}function Cx(n){const r=[],a=new Set;let i,d;for(const H of n.messages){if(H.agentId&&H.agentId!==n.agentId){i=void 0,d=void 0;continue}if(a.has(H.id))continue;a.add(H.id),n.breakBeforeMessageIds?.has(H.id)&&(i=void 0,d=void 0);const V=PS(H);if(V?.kind!=="turn-failure")d=void 0;else{const oe=i?.seq!==void 0&&H.seq!==void 0&&Number.isSafeInteger(i.seq)&&Number.isSafeInteger(H.seq)&&H.seq===i.seq+1;(!d||!oe)&&(d={key:JSON.stringify([n.agentId,"notice",H.id]),anchorMessageId:H.id,correlation:"unavailable",records:[],recordedFailureCount:0},r.push(d)),d.records.push({messageId:H.id,reason:V.reason,timestamp:H.timestamp}),d.recordedFailureCount+=1}i=H}const l=new Map;for(const H of n.queue){if(!H.requeuedAfterFailure)continue;const V=H.turnId||void 0,oe=JSON.stringify([n.agentId,V?"turn":"queue",V??H.id]);let P=l.get(oe);P||(P={key:oe,correlation:V?"turn":"queue-entry",turnId:V,queueIds:[],state:"queued"},l.set(oe,P)),P.queueIds.includes(H.id)||P.queueIds.push(H.id)}const f=[...l.values()],u=n.session?.id===n.agentId?n.session:void 0,b=u?.status===$i.Error,v=n.transientError||b&&u.stopReason||null,R=b&&!v,I=b&&(!n.transientError||n.transientError===u.stopReason)?u.stopReasonTimestamp:void 0,M=I?bp(I):null,x=M&&v&&v===u?.stopReason?r.flatMap(H=>H.records).filter(H=>H.reason===v&&bp(H.timestamp)===M):[],F=x.length===1?x[0].messageId:void 0,T=(u?If(u):!1)?"attempting":f.length?"queued":v||R?"action-needed":"inactive";return{history:r,queueRecovery:f,current:{state:T,error:v,needsFallbackReason:R,timestamp:I,noticeId:F}}}function Px(n,r){const a=n.hiddenTail[0]?.id,i=Cx({...r,messages:[...n.groups.flatMap(u=>u.messages),...n.hiddenTail],breakBeforeMessageIds:new Set(a?[a]:[])}),d=i.current.noticeId,l=i.history.map(u=>({...u,records:u.records.filter(b=>b.messageId!==d)})).filter(u=>u.records.length>0),f=new Set(l.map(u=>u.records[0].messageId));return{...i,runsByAnchor:new Map(l.map(u=>[u.records[0].messageId,u])),collapsedMessageIds:new Set(i.history.flatMap(u=>u.records.map(b=>b.messageId).filter(b=>!f.has(b))))}}var Rx=E('<div class="flex size-10 shrink-0 items-center justify-center rounded-md bg-muted/50"><!></div> <div class="min-w-0 flex-1"><div class="type-body truncate font-medium text-foreground"> </div> <div class="type-caption mt-0.5 line-clamp-2 text-muted-foreground"> </div></div> <div class="flex size-7 shrink-0 items-center justify-center rounded-md bg-muted/50 text-muted-foreground transition-colors group-hover:bg-muted"><!></div>',1),Tx=E('<div class="flex size-9 shrink-0 items-center justify-center rounded-md bg-muted/50"><!></div> <span class="type-body font-medium"> </span>',1),Ax=E('<div><div class="border-b border-border bg-muted/20 px-4 py-3"><p class="type-body font-medium text-foreground"> </p> <p class="type-caption mt-0.5 text-muted-foreground"> </p></div> <div class="max-h-[21rem] overflow-y-auto p-2"><!></div> <div class="border-t border-border bg-popover p-2"><!></div></div>'),Mx=E('<div class="mb-5"><!></div>'),Ex=E('<p data-testid="agent-welcome-description"> </p> <!>',1),qx=E("<!> <!>",1),Lx=E('<p class="mb-3 px-4 text-sm text-subtle leading-relaxed whitespace-pre-wrap" data-testid="agent-welcome-description"> </p>'),Hx=E("<!> <span> </span>",1),Ox=E('<div class="mx-auto flex w-full max-w-[40rem] flex-1 flex-col px-4 pb-6 pt-4 text-subtle"><!> <!> <!></div>');function dv(n,r){if(new.target)return ln({component:dv,...n});un(r,!0);const a=()=>pe(x,"$userOverrides$",f),i=()=>pe(M,"$specialists$",f),d=()=>pe(H,"$isGitHubAuth$",f),l=()=>pe(V,"$recentSpecialistIds$",f),[f,u]=Ur();let b=Z(r,"onSpecialistChange",7),v=Z(r,"session",7),R=Z(r,"workspaceId",7);const I=Bn(R()??"");ie(()=>I.set(R()??""));const M=zf(I),x=G$();ie(()=>{a()});const F=o(()=>{if(!v()||zy(v()))return null;const B=v().metadata?.specialist||v().agentMetadata?.specialist;return B&&i().find(C=>C.id===B)||null});async function D(B){B?await zl({specialist:B,hash:"specialists"}):await zl({view:"create-specialist"})}let T=he(!1);const H=V$(),V=aS(),oe=o(()=>vw(K$(i(),d()),l()));let P=he(!1);const k=o(()=>g.chat_regularAgentWelcome_generalDescription_label()),J=o(()=>e(F)?.name??g.chat_shared_general_fallback()),ge=o(()=>e(F)?.description??g.chat_shared_noSpecializedBehavior_label()),Te=o(()=>e(F)?e(F).defaultBehaviorPrompt||"":e(k));var ve={get onSpecialistChange(){return b()},set onSpecialistChange(B){b(B),ee()},get session(){return v()},set session(B){v(B),ee()},get workspaceId(){return R()},set workspaceId(B){R(B),ee()},$set:dn,$on:(B,C)=>cn(r,B,C)},ce=Ox(),we=S(ce);{var ne=B=>{var C=Mx(),re=S(C);ok(re,{class:"block w-full",align:"start",side:"bottom",contentClass:"w-[min(28rem,calc(100vw-2rem))]",get open(){return e(P)},set open(X){w(P,X,!0)},trigger:(X,Y)=>{let be=()=>(Y?.()).props;{let De=o(()=>Wc("group flex h-auto min-h-(--control-height-medium) w-full cursor-pointer items-center gap-3 whitespace-normal rounded-lg border border-border bg-card px-4 py-3 text-left shadow-xs transition-colors","hover:border-input hover:bg-accent/30 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"));It(X,qi(be,{type:"button",variant:"plain",wrapContent:!1,get class(){return e(De)},"data-testid":"specialist-picker-trigger",children:(z,Ie)=>{var Ce=Rx(),He=ye(Ce),st=S(He);{let Se=o(()=>e(F)?.id??null),Ae=o(()=>e(F)?.icon??null);sk(st,{agentId:"blank",variant:"emphasized",get specialist(){return e(Se)},get icon(){return e(Ae)}})}y(He);var Je=_(He,2),Oe=S(Je),Pe=de(Oe,!0),G=_(Oe,2),ae=de(G,!0);y(Je);var Le=_(Je,2),Q=S(Le);ft(Q,{get icon(){return Na},size:10}),y(Le),q(()=>{j(Pe,e(J)),j(ae,e(ge))}),p(z,Ce)},$$slots:{default:!0}}))}},content:X=>{var Y=Ax(),be=S(Y),De=S(be),z=de(De,!0),Ie=_(De,2),Ce=de(Ie,!0);y(be);var He=_(be,2),st=S(He);{let Pe=o(()=>e(F)?.id??null);V_(st,{get specialists(){return e(oe)},get value(){return e(Pe)},onchange:G=>{w(P,!1),b()?.(G)}})}y(He);var Je=_(He,2),Oe=S(Je);Rt(Oe,()=>Br,(Pe,G)=>{G(Pe,{class:"flex h-auto w-full cursor-pointer items-center gap-3 whitespace-normal rounded-md px-3 py-2 text-left text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",onSelect:()=>{w(P,!1),D()},children:(ae,Le)=>{var Q=Tx(),Se=ye(Q),Ae=S(Se);ft(Ae,{get icon(){return R$},size:12}),y(Se);var ze=_(Se,2),Ge=de(ze,!0);q(We=>j(Ge,We),[()=>g.chat_regularAgentWelcome_createSpecialist_label()]),p(ae,Q)},$$slots:{default:!0}})}),y(Je),y(Y),q((Pe,G)=>{j(z,Pe),j(Ce,G)},[()=>g.workspace_createAgentSection_specialists_label(),()=>g.workspace_createAgentSection_specialists_description()]),p(X,Y)},$$slots:{trigger:!0,content:!0}}),y(C),p(B,C)};N(we,B=>{b()&&B(ne)})}var te=_(we,2);{var Be=B=>{var C=Ot(),re=ye(C);{let Me=o(()=>g.chat_specialistSelector_prompt_label());Rt(re,()=>lk,(L,X)=>{X(L,{class:"mb-3",role:"region",get"aria-label"(){return e(Me)},children:(Y,be)=>{var De=qx(),z=ye(De);Rt(z,()=>rv,(Ce,He)=>{He(Ce,{children:(st,Je)=>{var Oe=Ot(),Pe=ye(Oe);Rt(Pe,()=>av,(G,ae)=>{ae(G,{class:"type-caption font-medium",children:(Le,Q)=>{vn();var Se=on();q(Ae=>j(Se,Ae),[()=>g.chat_specialistSelector_prompt_label()]),p(Le,Se)},$$slots:{default:!0}})}),p(st,Oe)},$$slots:{default:!0}})});var Ie=_(z,2);Rt(Ie,()=>ik,(Ce,He)=>{He(Ce,{children:(st,Je)=>{var Oe=Ex(),Pe=ye(Oe),G=de(Pe,!0),ae=_(Pe,2);It(ae,{type:"button",variant:"link",get"aria-expanded"(){return e(T)},onclick:()=>w(T,!e(T)),class:"text-xs text-muted-foreground hover:text-foreground transition-colors mt-2 cursor-pointer",children:(Le,Q)=>{vn();var Se=on();q(Ae=>j(Se,Ae),[()=>e(T)?g.chat_regularAgentWelcome_showLess_label():g.chat_regularAgentWelcome_showMore_label()]),p(Le,Se)},$$slots:{default:!0}}),q(()=>{ke(Pe,1,`text-sm text-subtle leading-relaxed whitespace-pre-wrap break-words ${e(T)?"":"line-clamp-6"}`),j(G,e(Te))}),p(st,Oe)},$$slots:{default:!0}})}),p(Y,De)},$$slots:{default:!0}})})}p(B,C)},se=B=>{var C=Lx(),re=de(C,!0);q(()=>j(re,e(Te))),p(B,C)};N(te,B=>{e(F)?B(Be):B(se,-1)})}var me=_(te,2);{var Ee=B=>{It(B,{variant:"ghost-light",size:"sm",onclick:()=>D(e(F).id),class:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors cursor-pointer pl-1.5 mr-auto",children:(C,re)=>{var Me=Hx(),L=ye(Me);ft(L,{get icon(){return P$},size:12,class:"opacity-60"});var X=_(L,2),Y=de(X,!0);q(be=>j(Y,be),[()=>g.chat_regularAgentWelcome_customize_label()]),p(C,Me)},$$slots:{default:!0}})};N(me,B=>{e(F)&&B(Ee)})}y(ce),p(n,ce);var qe=gn(ve);return u(),qe}var Fx=E('<a class="cursor-pointer underline underline-offset-2 hover:opacity-80" data-suggested-prompt-link=""> </a>'),Dx=E('<kbd data-suggested-prompt-hint=""> </kbd>'),Nx=E('<span class="type-caption"> </span>'),Bx=E('<div role="presentation" data-typography-role="body" data-suggested-prompt-row=""><span data-suggested-prompt-icon=""><!></span> <span class="min-w-0 flex-1 text-pretty" data-suggested-prompt-label=""><span role="button" tabindex="0" class="focus-visible:outline-none" data-suggested-prompt-text=""> </span><!></span> <!> <!></div>'),Wx=E('<div class="flex flex-col" data-testid="suggested-prompts-surface"><!></div>');function Xc(n,r){if(new.target)return ln({component:Xc,...n});un(r,!0);let a=Z(r,"prompts",7),i=Z(r,"onSelect",7),d=Z(r,"onEdit",7),l=Z(r,"compact",7,!1),f=Z(r,"showShortcutHints",7,!1),u=Z(r,"reserveShortcutHintSpace",7,!1),b=Z(r,"workspaceId",7);const R=typeof navigator<"u"&&navigator.platform.toUpperCase().includes("MAC")?"⌃":"Alt+",I=s$.replace("text-ui","type-caption");function M(k){i()(k)}function x(k,J){k.key!=="Enter"&&k.key!==" "||(k.preventDefault(),M(J))}function F(k,J){k.preventDefault(),k.stopPropagation(),Mc(J,{workspaceId:b(),event:k})}function D(k,J){(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),k.stopPropagation(),Mc(J,{workspaceId:b(),event:k}))}function T(k){return k<3}var H={get prompts(){return a()},set prompts(k){a(k),ee()},get onSelect(){return i()},set onSelect(k){i(k),ee()},get onEdit(){return d()},set onEdit(k){d(k),ee()},get compact(){return l()},set compact(k=!1){l(k),ee()},get showShortcutHints(){return f()},set showShortcutHints(k=!1){f(k),ee()},get reserveShortcutHintSpace(){return u()},set reserveShortcutHintSpace(k=!1){u(k),ee()},get workspaceId(){return b()},set workspaceId(k){b(k),ee()},$set:dn,$on:(k,J)=>cn(r,k,J)},V=Ot(),oe=ye(V);{var P=k=>{var J=Wx(),ge=S(J);{const Te=(ce,we)=>{let ne=()=>(we?.()).item,te=()=>(we?.()).index;const Be=o(()=>Qb(ne())),se=o(()=>e(Be)[0]?.type==="text"?e(Be)[0].content:"");var me=Bx(),Ee=S(me),qe=S(Ee);ft(qe,{get icon(){return Df},size:16,get class(){return ur}}),y(Ee);var B=_(Ee,2),C=S(B),re=de(C,!0),Me=_(C);Dn(Me,17,()=>e(Be).slice(e(se)?1:0),z_,(z,Ie)=>{var Ce=Ot(),He=ye(Ce);{var st=Oe=>{const Pe=o(()=>Kb(e(Ie).url));var G=Fx(),ae=de(G,!0);q(()=>{Ne(G,"href",e(Pe)),Ne(G,"title",e(Pe)),j(ae,e(Ie).label)}),ps("click",G,Le=>F(Le,e(Pe))),ps("keydown",G,Le=>D(Le,e(Pe))),p(Oe,G)},Je=Oe=>{var Pe=on();q(()=>j(Pe,e(Ie).content)),p(Oe,Pe)};N(He,Oe=>{e(Ie).type==="link"?Oe(st):Oe(Je,-1)})}p(z,Ce)}),y(B);var L=_(B,2);{var X=z=>{var Ie=Dx();let Ce;var He=de(Ie);q(()=>{Ce=ke(Ie,1,`${I??""} mt-px inline-flex h-5 items-center self-start border-0 bg-transparent p-0 font-sans font-normal text-muted-foreground! opacity-100`,null,Ce,{invisible:!f()}),Ne(Ie,"aria-hidden",f()?void 0:"true"),Ne(Ie,"data-hint-visible",f()),j(He,`${R}${te()+1}`)}),p(z,Ie)},Y=o(()=>T(te())&&(f()||u()));N(L,z=>{e(Y)&&z(X)})}var be=_(L,2);{var De=z=>{C$(z,{side:"top",delayDuration:300,trigger:He=>{{let st=o(()=>g.chat_suggestedPrompts_editInInput_ariaLabel());It(He,{type:"button",variant:"ghost-light",size:"icon-xs",iconOnly:!0,class:"absolute right-0.5 top-[calc(var(--operational-leading-half-slot-size)+var(--space-1)*0.5+1px)] shrink-0 -translate-y-1/2 rounded opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 focus-visible:opacity-100",onclick:Je=>{Je.stopPropagation(),d()(ne())},get"aria-label"(){return e(st)},children:(Je,Oe)=>{ft(Je,{get icon(){return T$},size:"xs"})},$$slots:{default:!0}})}},content:He=>{var st=Nx(),Je=de(st,!0);q(Oe=>j(Je,Oe),[()=>g.chat_suggestedPrompts_edit_tooltip()]),p(He,st)},$$slots:{trigger:!0,content:!0}})};N(be,z=>{d()&&z(De)})}y(me),q(z=>{ke(me,1,`${Of} ${a$} group relative flex cursor-pointer items-center gap-[var(--operational-leading-gap)] rounded-sm border border-transparent bg-transparent px-1.5 py-0.5 text-left opacity-100 pr-9 transition-colors hover:text-foreground has-[[data-suggested-prompt-text]:focus-visible]:outline-2 has-[[data-suggested-prompt-text]:focus-visible]:outline-offset-2 has-[[data-suggested-prompt-text]:focus-visible]:outline-ring`),ke(Ee,1,`${Bl??""} mt-px self-start`),Ne(C,"aria-label",z),j(re,e(se))},[()=>Vb(ne())]),ps("click",C,z=>{z.stopPropagation(),M(ne())}),ps("keydown",C,z=>x(z,ne())),p(ce,me)};let ve=o(()=>l()?"[&>div>div:last-child]:gap-0":"[&>div>div:last-child]:gap-0.5");S$(ge,{get items(){return a()},virtualize:!1,onActivate:M,get class(){return`overflow-visible! [&>div>div:last-child]:flex [&>div>div:last-child]:flex-col ${e(ve)??""}`},"data-testid":"suggested-prompts-list",get"data-compact"(){return l()},row:Te,$$slots:{row:!0}})}y(J),Lt(1,J,()=>ma,()=>({tier:"fast",y:0,scale:1})),Lt(2,J,()=>eo,()=>({tier:"fast"})),p(k,J)};N(oe,k=>{a().length>0&&k(P)})}return p(n,V),gn(H)}Bc(["click","keydown"]);var Ux=E('<section class="pb-6 pt-6"><p class="type-body mb-5 max-w-[36rem] px-1.5 text-pretty text-muted-foreground"> </p> <!></section>');function cv(n,r){if(new.target)return ln({component:cv,...n});un(r,!0);let a=Z(r,"onSelect",7),i=Z(r,"compact",7,!1);const d=o(()=>[{label:g.chat_chiefEmptyState_assignedPrs_label(),prompt:g.chat_chiefEmptyState_assignedPrs_prompt()},{label:g.chat_chiefEmptyState_staleWorkspaces_label(),prompt:g.chat_chiefEmptyState_staleWorkspaces_prompt()},{label:g.chat_chiefEmptyState_agentPerformance_label(),prompt:g.chat_chiefEmptyState_agentPerformance_prompt()},{label:g.chat_chiefEmptyState_morningBrief_label(),prompt:g.chat_chiefEmptyState_morningBrief_prompt()},{label:g.chat_chiefEmptyState_randomTheme_label(),prompt:g.chat_chiefEmptyState_randomTheme_prompt()}]),l=o(()=>e(d).map(M=>M.label));function f(M){const x=e(d).find(F=>F.label===M);x&&a()(x.prompt)}var u={get onSelect(){return a()},set onSelect(M){a(M),ee()},get compact(){return i()},set compact(M=!1){i(M),ee()},$set:dn,$on:(M,x)=>cn(r,M,x)},b=Ux(),v=S(b),R=de(v,!0),I=_(v,2);return Xc(I,{get prompts(){return e(l)},onSelect:f,get compact(){return i()}}),y(b),q(M=>j(R,M),[()=>g.chat_chiefEmptyState_intro_label()]),p(n,b),gn(u)}const Zc=2e3,zx=4e3,jx=zx-Zc-2;function Gx(n,r=Zc){const a=[];let i=0;for(let d=n.length-1;d>=0&&i<r;d-=1){const l=n[d];if(l.role!=="user"&&l.role!=="assistant")continue;const f=(l.contentBlocks??[]).filter(b=>b.type==="text").map(b=>b.text||b.content||"").join(""),u=(l.role==="assistant"?K_(f).cleanedContent:f).trim();u&&(a.unshift({role:l.role,text:u}),i+=u.length)}return a}function Vx(n,r){const a=n.map(l=>`${l.role==="user"?"User":"Assistant"}: ${l.text}`).join(`
|
|
1
|
+
var N_=Object.defineProperty;var Fg=n=>{throw TypeError(n)};var B_=(n,r,a)=>r in n?N_(n,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[r]=a;var Js=(n,r,a)=>B_(n,typeof r!="symbol"?r+"":r,a),W_=(n,r,a)=>r.has(n)||Fg("Cannot "+a);var Ro=(n,r,a)=>(W_(n,r,"read from private field"),a?a.call(n):r.get(n)),Dg=(n,r,a)=>r.has(n)?Fg("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(n):r.set(n,a);import{t as ln,bo as Z,bw as dn,bp as cf,b as cn,bm as g,bq as Ur,bs as pe,br as qi}from"./1KDVFF23.js";import{bs as un,a5 as S,bf as fs,bA as y,W as p,bn as gn,aA as ee,aB as E,ca as ie,a7 as Ot,ay as ye,aD as e,cd as Bn,c9 as o,bS as _,bl as de,be as vn,b_ as q,bO as j,c5 as dt,bH as w,bV as he,bj as Es,bk as no,b$ as on,ai as Bc,aj as ps,bo as jl,br as Mr,c0 as qt,cb as sc,aw as wi,a as U_}from"./3SdAC2_C.js";import{i as N}from"./Zg9SWWIQ.js";import{k as xi}from"./Dhj-Oo-y.js";import{g as Dn,i as z_,I as qo,p as Lo,e as Mo}from"./CYCawVEx.js";import{n as Lt,l as ma,c as eo,j as Ng,k as Fo,h as j_}from"./CjK2zm52.js";import{b as uf,e as Wc,f as ke,s as Ne,c as Wt,g as gs}from"./D8B7qxXm.js";import{b as G_}from"./goTpbPhD.js";import{b as wr}from"./Dn334wJv.js";import{m as V_,U as K_,Z as Q_,X as J_,Y as Y_,I as Bg,o as X_,l as Z_,a2 as ew,x as Wg,$ as tw,a0 as Ug,r as nw,s as rw}from"./BaEFcPEE.js";import{Jr as O,fo as aw,eW as sw,f3 as ow,eX as iw,f1 as lw,f0 as dw,eZ as cw,e$ as uw,eY as gw,rt as pw,c6 as fw,i as $i,J0 as vw,D9 as gf,De as hw,Dg as zg,Dd as mw,Df as _w,vC as ww,vE as bw,Cm as pf,cp as yw,cn as Iw,Bv as Sw,bE as $w,A1 as kw,Cb as oc,u_ as xw,cq as jg,dB as Cw,dC as Pw,Cl as Rw,el as Tw,CF as Aw,CE as Mw,CJ as Ew,CI as qw,cQ as Lw,cT as Hw,nB as Ow,er as Fw,wP as Dw,CK as Nw,wR as Bw,CL as Ww,cU as Uw,cV as zw,nJ as jw,Ae as Gw,Dq as Vw,wk as Kw,wl as Qw,yZ as Jw,z1 as ic,wg as Yw,wh as Xw,rR as Zw,re as eb,rc as tb,f_ as nb,HL as rb,Lf as ab,GJ as sb,gn as ob,p1 as ib,Jf as lb,oi as db,A0 as cb,ft as Gg,r1 as Vg,fm as ub,fl as gb,tA as pb,g3 as Kg,rd as fb,fe as vb,C6 as hb,m as mb,nK as _b,zF as wb,yX as bb,Ew as yb,El as Qg,xf as Ib,xg as Jg,uZ as Yg,p2 as Sb,DC as $b,gj as kb,g1 as xb,eU as Cb,cM as Pb,A4 as Rb,Lk as Tb,Cr as Ab,LC as Mb,y0 as Eb,ga as qb,fd as Lb,cL as Hb,cI as Ob,cH as Fb,vq as Db,xm as Nb,xk as Bb,cF as Wb,cE as Ub,z3 as zb,y_ as jb,xl as Gb}from"./BPo1GPk4.js";import{a as Uc}from"./CC7to1B5.js";import{aM as Vb,aL as Kb,bg as Qb,a7 as Jb,aD as Yb,aO as Xb,M as ff,a0 as vf,b8 as Zb,b2 as ey,as as Xg,P as bl,b0 as Zg,a$ as ep,a_ as tp}from"./QSHJFaU7.js";import{k as hf,F as ty,G as Cc,ar as ny,a_ as El,a8 as mf,Q as ry,aT as lc,ao as ay,aG as sy,B as oy,y as _f,r as iy,z as ly,u as dy,aY as cy,aE as wf,aD as bf,aF as uy,aJ as dc,aQ as np,aP as yl,aR as rp,P as ap,d as gy,e as py,av as fy,V as sp,aC as vy,c as hy,l as my,aS as op,an as _y,au as ip,a as wy,ay as by,ac as lp,aB as yy,aU as dp,aX as cp,m as up,ad as Iy,R as Sy,aw as gp,ak as $y,O as ky,aq as xy,h as Cy,p as Py,_ as cc,Z as Ry,aA as pp,a7 as Ty,f as Ay,i as My,a5 as Ey,ab as qy}from"./BH4muXHE.js";import{f as Ly,o as Hy,E as Oy,C as Fy,m as Dy,a2 as fp,aa as Ny,K as By,e as Wy,y as Uy}from"./Q-Hp56ht.js";import{g as Pi}from"./DypB-Dwi.js";import{dW as Dl,cU as yf,O as If,W as zy,bv as jy,aF as Sf,dH as $f,aV as Eo,e8 as Gy,dw as kf,aw as zc,dV as jc,aO as xf,cP as Vy,V as ha,a3 as Xs,B as Ky,a7 as Qy,a4 as Jy,M as Yy,a6 as Xy,ar as Zy,aG as Cf,aP as ql,r as eI,n as Pc,H as tI,dY as nI,aR as rI,aK as aI,c9 as sI,aX as oI,bM as iI,bK as lI,bL as dI,c8 as cI,c7 as uI,cN as gI,cM as pI,aT as fI,bb as vI,bd as hI,bg as mI,bc as _I,bl as wI,bf as bI,be as yI,bh as II,bi as SI,bk as $I,bj as kI,ax as xI,ay as CI,cj as PI,ck as RI,dv as TI,du as AI,b0 as MI,G as EI,b4 as qI,cf as LI,C as vp,d0 as HI,ba as cs,b$ as OI,X as FI,bq as DI,E as NI,ad as BI,t as WI,cW as UI,d3 as hp,Q as mp,dt as zI,cQ as uc}from"./DkYquFOp.js";import{u as Pf,a as Il,ag as jI,x as GI,ad as Rf,af as VI,ac as Tf,a4 as KI,F as _p,D as QI,e as JI,n as YI,s as XI,m as ZI,Y as eS,k as tS}from"./DM81x_EL.js";import{a2 as nS,b5 as rS,cM as aS,a_ as sS,b4 as oS,c2 as iS,c9 as lS,w as dS,x as cS,cd as uS}from"./DwhE2_yv.js";import{n as gS,P as Af,F as pS,ai as fS,r as vS,ac as hS}from"./PtMxuYy8.js";import{I as mS,s as _S,H as wp}from"./Bqd7fdCF.js";import{e as wS}from"./CL3a4Hm1.js";import{e as bS,f as yS}from"./C7hm9bSX.js";import{s as IS,o as Zs,b as SS,g as Nl,d as $S,l as bi}from"./CIyUrgF0.js";import{a5 as kS,a7 as xS,D as CS,N as PS,ac as bp,X as RS,i as TS,r as cr,v as Ri,u as na,p as ki,x as br,S as Gc,m as Gl,s as Ho,y as Ti,o as ro,n as ao,t as yp,aa as so,w as oo,a9 as Vc,q as _a,z as Oo,J as Rc,_ as Ip,g as AS,F as MS,U as Mf,I as Ef,a8 as qf,a6 as Ll,O as ES,E as Lf,V as qS,A as LS,b as HS,ab as OS,ad as Sl,G as FS,e as gc,l as DS,C as NS,f as Ys,j as Sp,H as us,Q as BS,d as $l,c as WS,a as $p,h as US,L as zS,Y as kp,a4 as pc,a1 as xp,a0 as jS,a3 as Cp,$ as Pp,T as GS,B as VS,k as KS,a2 as QS,K as JS,R as YS,P as XS,W as ZS}from"./tw85acZN.js";import{m as e$}from"./Dms_DO28.js";import{g as Hf}from"./CkrblKaH.js";import{b as t$}from"./BIwMjRQQ.js";import{g as n$}from"./BA7mfVzm.js";import{a as r$}from"./CClsvy7n.js";import{q as Of,d as ur,r as a$,e as Bl,j as s$,g as Tc,i as o$,f as Ac,c as i$,A as l$,O as Rp,k as d$}from"./CkmjUBxn.js";import{P as c$}from"./DpgIqMGp.js";import{e as u$}from"./CEqmtghP.js";import{b as g$,a as p$,g as f$,c as v$,i as h$}from"./DPF9_zKV.js";import{R as m$,g as _$,W as kl,c as w$}from"./TSQNyjhg.js";import"./Ch-pFfsN.js";import"./IdqO6uHC.js";import{s as Ai}from"./Dmy603At.js";import{F as b$,h as y$}from"./BpT_ybtH.js";import"./CBLFNmYJ.js";import{C as I$,e as Br,L as S$,l as Vl,d as Kl,K as Ql,h as Kc,M as Jl,S as Da}from"./DHbv9I-C.js";import{D as $$}from"./Bv5YjDej.js";import{f as Tp}from"./nHwpsxWy.js";import"./DU3vNstz.js";import{i as Ff}from"./BjLb7AHW.js";import{h as Ap,i as Mp,g as Ep,P as qp,C as k$,m as Hl,R as x$}from"./D7vAVIvz.js";import{f as It,ae as C$}from"./DPbnmxjX.js";import{F as ft,bs as P$,cd as R$,aw as Na,a2 as Df,c9 as T$,bf as A$,be as M$,bg as E$,aO as Lp,aj as fc,aB as vc,bB as Nf,d3 as Wl,cF as q$,aM as Hp,cb as Op,cK as Ul,bu as L$,aS as H$,d0 as O$,a8 as Bf,ac as F$,ag as D$,cr as N$,ba as B$,aC as Wf,cT as Fp,cz as W$,ax as U$,cD as z$,c3 as j$}from"./BZytk_HL.js";import{c as Uf}from"./ChTqQfQN.js";import"./jUAybD8G.js";import{c as Rt}from"./DpSAF6fh.js";import{a5 as zf,bg as G$,ar as V$,k as K$,Y as Q$,W as J$,a2 as Y$,Z as X$,bw as Z$,V as ek,a1 as tk,ah as nk}from"./CHHUtp07.js";import{d as zl,f as rk,e as ak}from"./DxrRvklK.js";import{A as sk}from"./BcEldzTj.js";import{D as ok}from"./DVok8lSR.js";import"./Dzl5aoA8.js";import{a as ik,C as lk}from"./Ow3KARwj.js";import"./DYGC3eZn.js";import{C as dk}from"./CtguhKZB.js";import{h as Mc,r as ck,a as uk}from"./DkY0xIi7.js";import{s as gk}from"./CuAAvi1f.js";import{I as pk,a as jf}from"./xJBWkpxc.js";import{L as fk}from"./1wMLd-77.js";import{g as vk,f as hk,b as mk}from"./CMgAi196.js";import{s as Mi,g as Yn,i as _k,j as wk,e as Dp,r as Np,f as bk,d as yk,a as hc,h as Ik}from"./G4lPpFfF.js";import{i as Bp,a as Sk}from"./Bu13V5mO.js";import{seekConversationToMessage as Wp}from"./zaxjdjiF.js";import{l as Kt,o as mc,h as Qc,n as Ec,q as $k}from"./CntPxeXh.js";import{o as kk}from"./CDeldaOF.js";import{A as Gf}from"./Bo5PTszQ.js";import{b as Vf}from"./Bek4Es60.js";import{g as xk,e as Kf,v as Ck,f as Pk,N as Rk,M as Tk,K as Ak,k as Qf,l as Mk,H as Jf,s as Yf}from"./B6Zf-ZTX.js";import{selectCurrentWorkspaceTabId as _c}from"./BblwdMxR.js";import{o as Ek}from"./D283eGmG.js";import{d as qk}from"./B0Z-1lwJ.js";import{P as Lk}from"./wfSdTH77.js";import{g as Hk}from"./D-7b6BAb.js";import{H as Xf,M as Ok,y as Fk,g as Dk,i as Nk,u as Bk,e as Zf,c as ev,d as Wk}from"./BtT-JO5g.js";import{c as Uk,h as Jc,f as tv,M as zk}from"./DM4cCUDd.js";import{t as jk}from"./DAsc1V4f.js";import{s as Gk}from"./BsieX9dN.js";import{i as nv}from"./B4wiFjXK.js";import{d as Vk,i as Kk,r as Qk}from"./C7Ibt0hX.js";import{g as Jk}from"./BYBN65Dm.js";var Yk=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),Xk=E("<div><!></div>");function rv(n,r){if(new.target)return ln({component:rv,...n});un(r,!0);let a=Z(r,"ref",15,null),i=Z(r,"class",7),d=Z(r,"children",7),l=cf(r,Yk);var f={get ref(){return a()},set ref(v=null){a(v),ee()},get class(){return i()},set class(v){i(v),ee()},get children(){return d()},set children(v){d(v),ee()},$set:dn,$on:(v,R)=>cn(r,v,R)},u=Xk();uf(u,v=>({"data-slot":"card-header",class:v,...l}),[()=>Wc("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-x-4 gap-y-1.5 pt-4 pb-2 has-data-[slot=card-action]:grid-cols-[minmax(0,1fr)_auto]",dk,i())]);var b=S(u);return Ai(b,()=>d()??fs),y(u),wr(u,v=>a(v),()=>a()),p(n,u),gn(f)}var Zk=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),ex=E("<div><!></div>");function av(n,r){if(new.target)return ln({component:av,...n});un(r,!0);let a=Z(r,"ref",15,null),i=Z(r,"class",7),d=Z(r,"children",7),l=cf(r,Zk);var f={get ref(){return a()},set ref(v=null){a(v),ee()},get class(){return i()},set class(v){i(v),ee()},get children(){return d()},set children(v){d(v),ee()},$set:dn,$on:(v,R)=>cn(r,v,R)},u=ex();uf(u,v=>({"data-slot":"card-title",class:v,...l}),[()=>Wc("type-title min-w-0 break-words font-semibold leading-tight text-foreground",i())]);var b=S(u);return Ai(b,()=>d()??fs),y(u),wr(u,v=>a(v),()=>a()),p(n,u),gn(f)}const xl=mS.CHAT_MEDIA,wc=IS().min(1).max(512);Zs({workspaceId:wc,agentId:wc,draftId:Nl(),principalId:wc,media:SS(gS).min(1).max(20)}).strict();const tx=Zs({sessionId:Nl()}).strict();tx.extend({control:$S("action",[Zs({action:bi("readiness")}).strict(),Zs({action:bi("export"),request:bS}).strict(),Zs({action:bi("transcribe"),request:yS}).strict(),Zs({action:bi("release"),jobId:Nl()}).strict(),Zs({action:bi("adopt"),jobId:Nl()}).strict()])}).strict();function Yc(n,r,a,i=async(d,l)=>typeof window>"u"||_S(window)!=="electron"?{ok:!1,error:"unavailable"}:wS().invoke(d,l)){let d=null,l=null,f=!1;async function u(){f=!0,a.removeEventListener("abort",b);const x=d;d=null,x&&await i(xl.CLOSE,{sessionId:x}).catch(()=>{})}const b=()=>{u()};a.addEventListener("abort",b,{once:!0});const v=()=>{if(f||a.aborted||!r())throw new Error("media-send-retired")};async function R(){if(v(),d)return d;if(l)return l;l=(async()=>{const x=await i(xl.BEGIN,n);if(!x.ok)throw new Error("media-export-unavailable");d=x.value.sessionId;try{return v(),d}catch(F){throw await u(),F}})();try{return await l}finally{l=null}}async function I(x){const F=await R();v();const D=await i(xl.CONTROL,{sessionId:F,control:x});return v(),D}return{service:{exportMedia:x=>I({action:"export",request:x}),adoptMediaJob:x=>I({action:"adopt",jobId:x}),transcribeMedia:x=>I({action:"transcribe",request:x}),releaseMediaJob:async x=>d?await i(xl.CONTROL,{sessionId:d,control:{action:"release",jobId:x}}):{ok:!0,value:void 0}},dispose:u,readiness:()=>I({action:"readiness"})}}const bc=new Set;async function nx(n){const{drafts:r,signal:a}=n,i=structuredClone(n.capture),d=structuredClone(n.items),l=structuredClone(n.payload),{workspaceId:f,agentId:u}=i,b=Pi(O.state),v=Dl.select(O.state,f),R=yf.select(O.state),I=hf(),M=JSON.stringify([b,f,u]);if(!b||!v||!R||l.wsId!==f||bc.has(M))return!1;bc.add(M);const x=new AbortController,F=()=>x.abort();a.addEventListener("abort",F,{once:!0});const D=()=>!a.aborted&&!x.signal.aborted&&Pi(O.state)===b&&Dl.select(O.state,f)===v&&mf(I)&&r.isCurrentDraft(i),T=O.getReadableState().subscribe(()=>{D()||x.abort()});let H=null;try{if(!D()||nS(d))return!1;const V=Pf(i.attachments),oe=Af(pS(f,u),V,d.map(ce=>({contextItemId:ce.id,attachmentId:ce.attachmentId,path:ce.path}))),P=new Set([...oe.images,...oe.clips].map(ce=>ce.contextItemId));if(V.some(([ce])=>!P.has(ce))||oe.images.some(ce=>ce.mediaError)||oe.clips.some(ce=>ce.mediaError)||!fS(l.text,oe))throw new Error("invalid-evidence");if(H=n.warm?.take(i,x.signal)??null,!await r.flushDraft(i)||!D())return!1;const k=await Ly.agents.get(u,f);if(!D())return!1;if(!k||k.workspaceId!==f||k.retiredAt||k.pendingDeleteAt||k.status==="deleted")throw new Error("unavailable");const J=oe.clips.flatMap(ce=>ce.media?[ce.media]:[]);J.length&&!H&&(H=Yc({workspaceId:f,agentId:u,draftId:crypto.randomUUID(),principalId:R.principal.id,media:J},D,x.signal));const ge=ty(d,oe),Te=Cc(ge),ve=await ny({workspaceId:f,agentId:u,evidence:oe,clickedItems:d,sendItems:ge,clickedPayload:{...l,contextItems:ge,imageBlocks:Te.imageBlocks,fileBlocks:Te.fileBlocks},binding:I,service:H?.service??null,current:D,onRecord:()=>{}});return!ve||!D()?!1:El(O,u,ve)}catch{return D()&&O.dispatch(aw(u,g.dock_conversation_sendFailed_error())),!1}finally{T(),a.removeEventListener("abort",F),await H?.dispose(),bc.delete(M)}}const sv=1e4,Up={wasBusy:!1,busySince:null,preempted:!1,prediction:null};function zp(n){return kS(n.messageMetadata)}function rx(n,r){if(n.some(zp)){const a=n[0];return a&&!zp(a)&&jp(a,r)?[a.id]:[]}return n.filter(a=>jp(a,r)).map(a=>a.id)}function ax(n){let r=null;for(const a of n)(a.status==="preparing"||a.status==="sending")&&a.createdAt>(r??-1/0)&&(r=a.createdAt);return r}function jp(n,r){return!n.requeuedAfterFailure&&xS(n,r)}function sx(n,r){const{busy:a,queue:i,delivered:d,now:l}=r,f=r.blocked||r.interrupted,u=r.timeoutMs??sv;let b=n.prediction;if(b){const x=new Set(i.map(H=>H.id)),F=b.ids.filter(H=>x.has(H)&&!d.has(H)),D=l-b.startedAt>=u,T=n.wasBusy&&!a;!F.length||D||f&&!a||T?b=null:F.length!==b.ids.length&&(b={...b,ids:F})}const v=n.wasBusy&&!a,R=n.wasBusy?n.busySince:a?l:null,I=n.wasBusy&&n.preempted||R!==null&&r.directSendAt!==null&&r.directSendAt>R;if(!b&&v&&!f&&!I){const x=rx(i,l).filter(F=>!d.has(F));x.length&&(b={ids:x,startedAt:l})}const M={wasBusy:a,busySince:a?R:null,preempted:a&&I,prediction:b};return n.wasBusy===M.wasBusy&&n.busySince===M.busySince&&n.preempted===M.preempted&&n.prediction===M.prediction?n:M}class ox{constructor(){Js(this,"previousWorkspaceId",null);Js(this,"_isRebinding",!1);Js(this,"_generation",0);Js(this,"_rebindPromise",null);Js(this,"_rebindResolve",null)}recordMount(r){return this.previousWorkspaceId=r,r}wasWorkspaceChangedDuringMount(r){return this.previousWorkspaceId!==r}shouldRebind(r){return!r||this.previousWorkspaceId===null?!1:r!==this.previousWorkspaceId}recordRebind(r){this.previousWorkspaceId=r}hasWorkspaceChanged(r){return r!==this.previousWorkspaceId}get trackedWorkspaceId(){return this.previousWorkspaceId}get isRebinding(){return this._isRebinding}startRebind(){return this._generation++,this._isRebinding=!0,this._rebindResolve?.(),this._rebindPromise=new Promise(r=>{this._rebindResolve=r}),this._generation}endRebind(r){r!==void 0&&r!==this._generation||(this._isRebinding=!1,this._rebindResolve?.(),this._rebindPromise=null,this._rebindResolve=null)}async waitForRebind(r=5e3){if(!this._isRebinding||!this._rebindPromise)return!1;const a=Date.now()+r;for(;this._isRebinding&&this._rebindPromise;){const i=a-Date.now();if(i<=0)return!1;let d;const l=await Promise.race([this._rebindPromise.then(()=>!1),new Promise(f=>{d=setTimeout(()=>f(!0),i)})]);if(clearTimeout(d),l)return!1}return!0}}function ix(n,r){return!(n?.tabType!=="agent"||n.agentId!==r.agentId||!r.isActive||n.workspaceId&&n.workspaceId!==r.workspaceId||r.panelId&&(n.source!=="dictation"&&!r.isPanelFocused||n.panelId&&n.panelId!==r.panelId))}function Gp(n){const r=typeof n=="string"?n:n&&typeof n=="object"&&typeof n.script=="string"?n.script:void 0;return r||void 0}var lx=E('<div role="status" aria-live="polite" data-presence-typing-indicator=""><span class="inline-flex min-w-[var(--operational-leading-slot-size)] shrink-0 items-center justify-center svelte-lm4khl"><!></span> <span class="min-w-0 truncate svelte-lm4khl"> </span> <span class="inline-flex shrink-0 items-center gap-0.5 svelte-lm4khl" aria-hidden="true"><span class="typing-dot size-1 rounded-full bg-current svelte-lm4khl"></span> <span class="typing-dot size-1 rounded-full bg-current svelte-lm4khl" style="animation-delay: 0.2s"></span> <span class="typing-dot size-1 rounded-full bg-current svelte-lm4khl" style="animation-delay: 0.4s"></span></span></div>');function ov(n,r){if(new.target)return ln({component:ov,...n});un(r,!0);const a=()=>pe(R,"$typing$",i),[i,d]=Ur();let l=Z(r,"workspaceId",7),f=Z(r,"agentId",7),u=Z(r,"class",7,"");const b=Bn(""),v=Bn("");ie(()=>{b.set(l())}),ie(()=>{v.set(f())});const R=rS(b,v),I=o(()=>u$(a()));var M={get workspaceId(){return l()},set workspaceId(H){l(H),ee()},get agentId(){return f()},set agentId(H){f(H),ee()},get class(){return u()},set class(H=""){u(H),ee()},$set:dn,$on:(H,V)=>cn(r,H,V)},x=Ot(),F=ye(x);{var D=H=>{var V=lx(),oe=S(V),P=S(oe);c$(P,{get people(){return a()},size:12,decorative:!0}),y(oe);var k=_(oe,2),J=de(k,!0);vn(2),y(V),q(()=>{ke(V,1,`${Of} flex h-4 min-w-0 items-center gap-[var(--operational-leading-gap)] px-[var(--operational-row-inline-padding)] font-family-child font-normal text-muted-foreground text-[11px] leading-4 ${u()??""} /* a11y-ignore: user-requested compact typing status in the composer gap */`,"svelte-lm4khl"),j(J,e(I))}),p(H,V)};N(F,H=>{e(I)&&H(D)})}p(n,x);var T=gn(M);return d(),T}const dx=50,cx=5e3,ux=500,gx=()=>({authority:()=>Pi(O.state),persistSnapshot:ay,dispatch:n=>O.dispatch(n),ownerView:n=>sy.withStore(O)(n)});function px(n){const r=n.store??gx(),a=crypto.randomUUID();let i=he(!1),d=he(!1),l=he(!1),f=null,u=null,b=0,v=!1,R=null,I=null,M=null,x=0,F=null,D=null;const T={};let H,V=he([]),oe=null,P=0,k="",J=0,ge="";const Te=()=>{const B=n.workspaceId(),C=n.agentId();if(!B||!C||!(n.active?.()??!0))return null;const re=r.authority?.();if(!re||v)return null;const Me=n.inputValue(),L=ce(),X=H?.shared,Y=X?.workspaceId===B&&X.agentId===C?X.lifetime:null,be=JSON.stringify([re,B,C,x,Y,L.map(z=>[z.id,z.attachmentId,z.path])]);be!==ge&&(ge=be,J+=1);const De=JSON.stringify([re,B,C,Me,L,x]);return De!==k&&(k=De,P+=1),{authority:re,ownerId:a,workspaceId:B,agentId:C,text:Me,attachments:JSON.parse(JSON.stringify(L)),generation:P,attachmentEpoch:J}};let ve=null;const ce=()=>jI(n.contextItems(),GI(n.contextItems(),e(V))),we=B=>{if(H=B,!B||v)return;const C=B.restore;if(D&&C?.requestId===D.requestId&&C.status!=="pending"){const{apply:L}=D;D=null,w(d,!1),C.status==="restored"&&w(V,C.draft?.attachments??[]),L(C)}const re=B.shared;if(re&&!e(d)&&u===`${re.workspaceId}\0${re.agentId}`){const L=JSON.stringify([re.provenance,re.workspaceId,re.agentId,re.lifetime,re.revision]);if(oe!==L){oe=L;const X=ve??f,Y=X&&n.inputValue()===X.text&&JSON.stringify(ce())===X.attachmentsJson;re.origin===a?ve={text:re.snapshot.text,attachmentsJson:JSON.stringify(re.snapshot.attachments)}:Y&&(b+=1,M&&clearTimeout(M),w(V,re.snapshot.attachments),ve=f={text:re.snapshot.text,attachmentsJson:JSON.stringify(e(V))},n.setInputValue(re.snapshot.text),n.setContextItems(Il(e(V))),n.applyEditorContent(re.snapshot.text))}}dt(Te);const Me=[];for(const L of B.saves){if(L.status==="pending")continue;Me.push(L.id);const X=T[L.id];delete T[L.id],X?.(L)}Me.length>0&&queueMicrotask(()=>r.dispatch(lw(a,Me)))},ne=(B,C,re)=>{const Me=crypto.randomUUID();D={requestId:Me,apply:re},w(d,!0),r.dispatch(cw(a,Me,B,C))},te=()=>{D&&(D=null,w(d,!1),r.dispatch(gw(a)))},Be=()=>{const B=F;B&&(F=null,r.dispatch(uw(a)),H?.saves.some(C=>C.id===B)||delete T[B])};r.dispatch(sw(a));const se=r.ownerView(a).subscribe(B=>dt(()=>we(B))),me=()=>{I&&(clearTimeout(I),I=null),w(l,!1)},Ee=()=>{F&&(F=null,r.dispatch(dw(a)))};ie(()=>{const B=n.active?.()??!0,C=n.workspaceId(),re=n.agentId();if(!B){dt(()=>{b+=1,u=null,te(),R&&clearTimeout(R),R=null,me(),M&&clearTimeout(M),M=null,w(i,!1),Ee()});return}if(!C||!re)return;const Me=`${C}\0${re}`;if(u===Me)return;const L=u!==null;u=Me;const X=++b;dt(()=>{f=null,ve=null,oe=null,w(V,[]),R&&clearTimeout(R),me(),M&&(clearTimeout(M),M=null),L&&(Ee(),n.setInputValue(""),n.contextItemsAreScoped||n.setContextItems([]),n.applyEditorContent(""));const Y=ry(C,re);if(Y){w(V,Y.attachments),w(i,!1);const De=n.contextItems().length>0,z=Y.text,Ie=JSON.stringify(Y.attachments);n.setInputValue(Y.text),De||n.setContextItems(Il(Y.attachments)),n.applyEditorContent(Y.text),f={text:Y.text,attachmentsJson:Ie},ne(C,re,Ce=>{if(Ce.status!=="restored")return;const He=Ce.draft;if(v||!(n.active?.()??!0)||u!==Me||b!==X)return;const st=He?.text??"",Je=He?.attachments??[],Oe=JSON.stringify(Je);lc(C,re,{text:st,attachments:Je});const Pe=n.inputValue()===z&&JSON.stringify(ce())===Ie;De||!Pe||(st!==z&&(n.setInputValue(st),n.applyEditorContent(st)),Oe!==Ie&&n.setContextItems(Il(Je)),f={text:st,attachmentsJson:Oe})});return}w(i,!0),I=setTimeout(()=>{I=null,(n.active?.()??!0)&&w(l,!0)},ux),R=setTimeout(()=>{(n.active?.()??!0)&&(w(i,!1),me())},cx);const be=()=>{!(n.active?.()??!0)||u!==Me||b!==X||(R&&clearTimeout(R),w(i,!1),me())};ne(C,re,De=>{if(De.status!=="restored"){be();return}const z=De.draft;if(v||!(n.active?.()??!0)||u!==Me||b!==X)return;const Ie=!!n.inputValue();if(!Ie&&z?.attachments?.length&&n.contextItems().length===0&&n.setContextItems(Il(z.attachments)),!Ie&&z?.text&&(n.setInputValue(z.text),M=setTimeout(()=>{(n.active?.()??!0)&&n.inputValue()===z.text&&n.applyEditorContent(z.text)},dx)),f===null){const Ce=z?.text??"",He=z?.attachments??[];f={text:Ce,attachmentsJson:JSON.stringify(He)},lc(C,re,{text:Ce,attachments:He})}be()})})}),ie(()=>{const B=n.active?.()??!0,C=n.workspaceId(),re=n.agentId(),Me=e(i);if(!B){dt(Be);return}if(!C||!re)return;const L=n.inputValue(),X=ce();if(dt(Te),dt(Be),Me||f===null&&!L&&X.length===0)return;const Y=JSON.stringify(X);if(f!==null&&f.text===L&&f.attachmentsJson===Y)return;JSON.stringify(e(V))!==Y&&w(V,X);const be=`${C}\0${re}`,De=x,z=crypto.randomUUID();T[z]=Ie=>{if(n.active?.()??!0){if(Ie.status==="saved"){u===be&&x===De&&(f={text:L,attachmentsJson:Y});return}n.onSaveError?.(new Error(Ie.error))}},dt(()=>{F=z,r.dispatch(ow(a,z,{authority:r.authority?.()??void 0,workspaceId:C,agentId:re,text:L,attachments:X,rollback:f?{text:f.text,attachments:JSON.parse(f.attachmentsJson)}:null}))})}),ie(()=>()=>{v=!0,R&&clearTimeout(R),I&&clearTimeout(I),M&&clearTimeout(M),Ee(),se(),r.dispatch(iw(a))});const qe=B=>{const C=Te();return C!==null&&C.authority===B.authority&&C.ownerId===B.ownerId&&C.workspaceId===B.workspaceId&&C.agentId===B.agentId&&C.generation===B.generation&&C.text===B.text&&JSON.stringify(C.attachments)===JSON.stringify(B.attachments)};return{captureDraft:Te,isCurrentDraft:qe,updateAttachmentScreen(B,C,re){return!qe(B)||!B.attachments.some(Me=>Me.id===C)?null:(w(V,B.attachments.map(Me=>Me.id===C?{...Me,screen:structuredClone(re)}:Me)),Te())},async flushDraft(B){if(!qe(B))return!1;if(!r.persistSnapshot)throw new Error("draft-shared-transport-unavailable");return await r.persistSnapshot(a,B.workspaceId,B.agentId,B,B.authority),qe(B)},get restorePending(){return e(d)},get gateActive(){return e(i)},get gateVisible(){return e(l)},invalidatePendingRestore(){if(b+=1,x+=1,te(),R&&(clearTimeout(R),R=null),M&&(clearTimeout(M),M=null),w(i,!1),me(),Be(),u!==null){const[B,C]=u.split("\0");lc(B,C,{text:"",attachments:[]}),ve=null,w(V,[]),f={text:"",attachmentsJson:"[]"}}}}}function Ei(n){if(!n)return null;const r=Af(JSON.stringify([n.workspaceId,n.agentId]),Pf(n.attachments),n.attachments.map(a=>({contextItemId:a.id,attachmentId:a.attachmentId,path:a.path})));return{...r,clips:r.clips.filter(a=>{const i=n.attachments.find(d=>d.id===a.contextItemId);return!!a.media&&!a.mediaError&&!!i&&a.path===i.path})}}async function fx(n,r,a){const i=O.state.principal.snapshot,d=()=>Pi(O.state)===n.authority&&a.isCurrentDraft(n);if(!i||!d()||!await a.flushDraft(n)||!d())return{ready:!1};const l=new AbortController,f=Yc({workspaceId:n.workspaceId,agentId:n.agentId,principalId:i.principal.id,draftId:crypto.randomUUID(),media:[r]},d,l.signal);try{const u=await f.readiness();return!d()||!u.ok?{ready:!1}:u.value.find(b=>b.sourceId===r.source.id)??{ready:!1}}finally{await f.dispose()}}function Vp(n){let r=he(null),a=he(!1),i=he(!1),d=null,l=!0,f=0,u=null;Es(()=>{l=!1,f++}),ie(()=>{const I=n.capture();e(r)&&(!I||I.authority!==e(r).capture.authority||I.ownerId!==e(r).capture.ownerId||I.workspaceId!==e(r).capture.workspaceId||I.agentId!==e(r).capture.agentId||I.attachmentEpoch!==e(r).capture.attachmentEpoch)&&w(r,null)});async function b(I){if(n.disabled()||e(a))return;const M=n.drafts.captureDraft(),x=Ei(M),F=x?.clips.find(V=>V.contextItemId===I);if(!M||!F?.media||!x)return;const D=oy({workspaceId:M.workspaceId,agentId:M.agentId,clip:F,evidence:x,marks:x.marks}),T=_f(M.workspaceId,F.path);if(!D||!T)return;const H=++f;d=document.activeElement instanceof HTMLElement?document.activeElement:null,w(a,!0),w(i,!1);try{if(await n.beforeOpen?.(),!l||f!==H||!n.drafts.isCurrentDraft(M))return;const V=await(n.prepareOutput??fx)(M,F.media,n.drafts);if(!l||f!==H||!n.drafts.isCurrentDraft(M))return;const{attachmentPath:oe,...P}=D;w(r,{capture:M,contextItemId:I,snapshot:{...P,openId:crypto.randomUUID(),mediaUrl:T,output:V,deleteReady:!0}})}catch{l&&f===H&&w(i,!0)}finally{l&&f===H&&w(a,!1)}}async function v(I){const M=crypto.randomUUID(),x=e(r),F=n.drafts.captureDraft();if(!x||!F||F.authority!==x.capture.authority||F.ownerId!==x.capture.ownerId||F.workspaceId!==x.capture.workspaceId||F.agentId!==x.capture.agentId||F.attachmentEpoch!==x.capture.attachmentEpoch)return{requestId:M,result:"stale-source"};const D=Ei(F),T=D?.clips.find(J=>J.contextItemId===x.contextItemId);if(!D||!T?.media)return{requestId:M,result:"stale-source"};const V=u?.openId===x.snapshot.openId&&u.inputRevision===I.revision&&JSON.stringify(u.media)===JSON.stringify(T.media)?{...I,revision:T.media.saved?.revision??0}:I,oe=vS(T.media,{openId:x.snapshot.openId,...x.snapshot.output?.version===2?{outputVersion:2}:{},pair:{workspaceId:F.workspaceId,agentId:F.agentId},sourceId:I.sourceId,sourceRevision:I.sourceRevision,expectedEditRevision:V.revision,edit:V});if(oe.status!=="saved")return{requestId:M,result:oe.status==="invalid-edit"?"failed":oe.status};const P=hS({...D,clips:D.clips.map(J=>J.id===T.id?{...J,media:oe.media}:J)})[x.contextItemId],k=n.drafts.updateAttachmentScreen(F,x.contextItemId,P);if(!k)return{requestId:M,result:"stale-source"};u={openId:x.snapshot.openId,media:oe.media,inputRevision:I.revision};try{if(!n.drafts.isCurrentDraft(k))return{requestId:M,result:"stale-source"};await n.drafts.flushDraft(k);const J=n.drafts.captureDraft();return!l||e(r)?.snapshot.openId!==x.snapshot.openId||!J||J.attachmentEpoch!==x.capture.attachmentEpoch||J.authority!==k.authority||J.ownerId!==k.ownerId||J.workspaceId!==k.workspaceId||J.agentId!==k.agentId||JSON.stringify(J.attachments.find(ge=>ge.id===x.contextItemId)?.screen)!==JSON.stringify(P)?{requestId:M,result:"stale-source"}:(u=null,{requestId:M,result:"saved",saved:oe.media.saved??void 0})}catch{return{requestId:M,result:"failed"}}}function R(I){return n.disabled()||!n.onRemove(I)?!1:(e(r)?.contextItemId===I&&w(r,null),!0)}return{get session(){return e(r)},get opening(){return e(a)},get problem(){return e(i)},open:b,save:v,remove:R,close(){w(r,null)},restoreFocus(){d?.isConnected&&d.focus()}}}var vx=E('<p role="alert"> </p>'),hx=E('<div class="recording-editor-surface svelte-cdb16"><!></div>'),mx=E("<!> <!> <!>",1);function iv(n,r){if(new.target)return ln({component:iv,...n});un(r,!0);let a=Z(r,"capture",7),i=Z(r,"drafts",7),d=Z(r,"disabled",7,!1),l=Z(r,"onRemove",7),f=Z(r,"controllerFactory",7,Vp),u=Z(r,"beforeOpen",7),b=Z(r,"onReviewChange",7);const v=dt(()=>f()({drafts:i(),capture:()=>a(),disabled:()=>d(),onRemove:P=>l()(P),beforeOpen:()=>u()?.()??Promise.resolve()}));ie(()=>{const P=v.opening,k=v.session;dt(()=>b()?.(P,k?.snapshot.output?.ready?{openId:k.snapshot.openId,capture:k.capture}:null))});const R=o(iy),I=o(()=>Ei(a())),M=o(()=>e(I)?.clips.map(P=>({id:P.contextItemId,kind:"clip",owner:"evidence",duration:Tp(P.durationMs),recording:!1,url:a()?_f(a().workspaceId,P.path):void 0,...P.media?.saved?{summary:ly(P.media.saved)}:{}}))??[]);let x=he(null);var F={get capture(){return a()},set capture(P){a(P),ee()},get drafts(){return i()},set drafts(P){i(P),ee()},get disabled(){return d()},set disabled(P=!1){d(P),ee()},get onRemove(){return l()},set onRemove(P){l(P),ee()},get controllerFactory(){return f()},set controllerFactory(P=Vp){f(P),ee()},get beforeOpen(){return u()},set beforeOpen(P){u(P),ee()},get onReviewChange(){return b()},set onReviewChange(P){b(P),ee()},$set:dn,$on:(P,k)=>cn(r,P,k)},D=mx(),T=ye(D);{let P=o(()=>d()||v.opening);CS(T,{get items(){return e(M)},get labels(){return e(R)},get disabled(){return e(P)},onEdit:k=>void v.open(k),onMarkUp:k=>void v.open(k),get onRemove(){return v.remove}})}var H=_(T,2);{var V=P=>{var k=vx(),J=de(k,!0);q(ge=>j(J,ge),[()=>g.dock_captureEditor_saveFailed_label()]),p(P,k)};N(H,P=>{v.problem&&P(V)})}var oe=_(H,2);{let P=o(()=>!!v.session),k=o(()=>g.dock_captureEditor_recording_title({duration:v.session?Tp(v.session.snapshot.durationMs??0):""}));I$(oe,{get open(){return e(P)},size:"editor",showCloseButton:!1,get title(){return e(k)},escapeKeydownBehavior:"ignore",dismissOnInteractOutside:!1,onClose:()=>v.close(),onCloseAutoFocus:J=>{J.preventDefault(),v.restoreFocus()},get contentRef(){return e(x)},set contentRef(J){w(x,J,!0)},children:(J,ge)=>{var Te=Ot(),ve=ye(Te);{var ce=we=>{var ne=Ot(),te=ye(ne);xi(te,()=>v.session.snapshot.openId,Be=>{var se=hx(),me=S(se);$$(me,{get snapshot(){return v.session.snapshot},get shortcutDialog(){return e(x)},onClose:()=>v.close(),get onSave(){return v.save},onDelete:async()=>!!v.session&&v.remove(v.session.contextItemId)}),y(se),p(Be,se)}),p(we,ne)};N(ve,we=>{v.session&&we(ce)})}p(J,Te)},$$slots:{default:!0}})}return p(n,D),gn(F)}const Cl=n=>JSON.stringify([n.authority,n.ownerId,n.workspaceId,n.agentId,n.attachmentEpoch,n.attachments]);function _x(n){let r=he(!1),a=he(!1),i=he(null),d=!1,l=0,f=null,u=null;async function b(I){I.abort.abort(),I.slot?.cancel(),await I.native?.dispose()}async function v(){l++;const I=u;u=null,I&&await b(I)}no(()=>{const I=()=>{w(r,document.hasFocus(),!0)};return I(),window.addEventListener("focus",I),window.addEventListener("blur",I),()=>{window.removeEventListener("focus",I),window.removeEventListener("blur",I)}});const R=O.getReadableState().subscribe(()=>{u&&!u.current()&&v()});return Es(()=>{d=!0,R(),v()}),ie(()=>{const I=n.capture(),M=I?Cl(I):"",x=e(r)&&!e(a)&&(n.active()||e(i)?.key===M);dt(()=>{if(!x||!I){v();return}if(u?.key===M)return;if(f===M){v();return}v();const D=Ei(I)?.clips.flatMap(Te=>!Te.mediaError&&Te.media?[Te.media]:[])??[],T=D[0],H=O.state.principal.snapshot,V=Dl.select(O.state,I.workspaceId);if(!T||!H||!V||n.drafts.gateActive)return;const oe=hf(),P=new AbortController,k=()=>!d&&!P.signal.aborted&&Pi(O.state)===I.authority&&Dl.select(O.state,I.workspaceId)===V&&mf(oe)&&!!n.capture()&&Cl(n.capture())===M,J={key:M,capture:I,abort:P,native:null,slot:null,current:k};u=J;const ge=l;n.drafts.flushDraft(I).then(async Te=>{if(!(u!==J||ge!==l||!k())){if(!Te){f=M,await v();return}J.native=Yc({workspaceId:I.workspaceId,agentId:I.agentId,draftId:crypto.randomUUID(),principalId:H.principal.id,media:structuredClone(D)},k,P.signal),J.slot=dy(J.native.service),f=M,J.slot.warm(M,T,k)}}).catch(()=>{u===J&&v()})})}),{cancel:v,async beforeEditorOpen(){w(a,!0),f=null,await v()},editorState(I,M){w(a,I,!0);const x=M?Cl(M.capture):null;M&&e(i)?.openId!==M.openId&&(f=null),w(i,M&&x?{openId:M.openId,key:x}:null)},take(I,M){const x=u;if(!x?.native||!x.slot||x.key!==Cl(I)||!x.current())return v(),null;u=null,l++;const F=x.native,D=x.slot,T=()=>x.abort.abort();return M.addEventListener("abort",T,{once:!0}),M.aborted&&T(),{service:{...F.service,takePreparedRecording:H=>D.take(x.key,H,()=>!M.aborted&&x.current())},async dispose(){M.removeEventListener("abort",T),await b(x)}}}}}var wx=E('<div role="status" class="px-3 py-1.5 text-xs text-muted-foreground" data-testid="chat-draft-loading-gate"><span> </span></div>');function lv(n,r){if(new.target)return ln({component:lv,...n});un(r,!1);var a={$set:dn,$on:(f,u)=>cn(r,f,u)};Ff();var i=wx(),d=S(i),l=de(d,!0);return y(i),q(f=>j(l,f),[()=>g.chat_draftGate_loading_label()]),p(n,i),gn(a)}var bx=E('<div data-new-messages-divider="" class="type-caption font-family-child my-6 flex items-center gap-2 px-2" role="separator"><div class="h-px flex-1 bg-border"></div> <span class="whitespace-nowrap px-1 font-medium text-foreground"> </span> <div class="h-px flex-1 bg-border"></div></div>');function qc(n,r){if(new.target)return ln({component:qc,...n});un(r,!1);var a={$set:dn,$on:(f,u)=>cn(r,f,u)};Ff();var i=bx(),d=_(S(i),2),l=de(d,!0);return vn(2),y(i),q((f,u)=>{Ne(i,"aria-label",f),j(l,u)},[()=>g.chat_newMessagesDivider_label(),()=>g.chat_newMessagesDivider_label()]),p(n,i),gn(a)}function yx(n,r){if(!r||n.length===0)return null;const a=n.indexOf(r);return a===-1||a===n.length-1?null:r}function Ix(n,r,a){if(!r||n.length===0)return"none";const i=n.indexOf(r);return i===n.length-1?"none":i!==-1?"marker-loaded":a.complete?a.truncated?"marker-beyond-window":"none":"marker-pending"}function Sx(n,r){return r&&n.includes(r)?r:null}function Kp(n,r,a){return r-n<=a}const $x=.2;function Qp(n,r,a){const i=Math.max(0,a-r),d=n-$x*r;return Math.min(Math.max(0,d),i)}function kx(n,r,a){return n!==null&&a&&n===r}function xx(n){return n?pw(n)&&fw(n)!==null&&typeof n.metadata?.taskNoteId=="string":!1}function Cx(n){const r=[],a=new Set;let i,d;for(const H of n.messages){if(H.agentId&&H.agentId!==n.agentId){i=void 0,d=void 0;continue}if(a.has(H.id))continue;a.add(H.id),n.breakBeforeMessageIds?.has(H.id)&&(i=void 0,d=void 0);const V=PS(H);if(V?.kind!=="turn-failure")d=void 0;else{const oe=i?.seq!==void 0&&H.seq!==void 0&&Number.isSafeInteger(i.seq)&&Number.isSafeInteger(H.seq)&&H.seq===i.seq+1;(!d||!oe)&&(d={key:JSON.stringify([n.agentId,"notice",H.id]),anchorMessageId:H.id,correlation:"unavailable",records:[],recordedFailureCount:0},r.push(d)),d.records.push({messageId:H.id,reason:V.reason,timestamp:H.timestamp}),d.recordedFailureCount+=1}i=H}const l=new Map;for(const H of n.queue){if(!H.requeuedAfterFailure)continue;const V=H.turnId||void 0,oe=JSON.stringify([n.agentId,V?"turn":"queue",V??H.id]);let P=l.get(oe);P||(P={key:oe,correlation:V?"turn":"queue-entry",turnId:V,queueIds:[],state:"queued"},l.set(oe,P)),P.queueIds.includes(H.id)||P.queueIds.push(H.id)}const f=[...l.values()],u=n.session?.id===n.agentId?n.session:void 0,b=u?.status===$i.Error,v=n.transientError||b&&u.stopReason||null,R=b&&!v,I=b&&(!n.transientError||n.transientError===u.stopReason)?u.stopReasonTimestamp:void 0,M=I?bp(I):null,x=M&&v&&v===u?.stopReason?r.flatMap(H=>H.records).filter(H=>H.reason===v&&bp(H.timestamp)===M):[],F=x.length===1?x[0].messageId:void 0,T=(u?If(u):!1)?"attempting":f.length?"queued":v||R?"action-needed":"inactive";return{history:r,queueRecovery:f,current:{state:T,error:v,needsFallbackReason:R,timestamp:I,noticeId:F}}}function Px(n,r){const a=n.hiddenTail[0]?.id,i=Cx({...r,messages:[...n.groups.flatMap(u=>u.messages),...n.hiddenTail],breakBeforeMessageIds:new Set(a?[a]:[])}),d=i.current.noticeId,l=i.history.map(u=>({...u,records:u.records.filter(b=>b.messageId!==d)})).filter(u=>u.records.length>0),f=new Set(l.map(u=>u.records[0].messageId));return{...i,runsByAnchor:new Map(l.map(u=>[u.records[0].messageId,u])),collapsedMessageIds:new Set(i.history.flatMap(u=>u.records.map(b=>b.messageId).filter(b=>!f.has(b))))}}var Rx=E('<div class="flex size-10 shrink-0 items-center justify-center rounded-md bg-muted/50"><!></div> <div class="min-w-0 flex-1"><div class="type-body truncate font-medium text-foreground"> </div> <div class="type-caption mt-0.5 line-clamp-2 text-muted-foreground"> </div></div> <div class="flex size-7 shrink-0 items-center justify-center rounded-md bg-muted/50 text-muted-foreground transition-colors group-hover:bg-muted"><!></div>',1),Tx=E('<div class="flex size-9 shrink-0 items-center justify-center rounded-md bg-muted/50"><!></div> <span class="type-body font-medium"> </span>',1),Ax=E('<div><div class="border-b border-border bg-muted/20 px-4 py-3"><p class="type-body font-medium text-foreground"> </p> <p class="type-caption mt-0.5 text-muted-foreground"> </p></div> <div class="max-h-[21rem] overflow-y-auto p-2"><!></div> <div class="border-t border-border bg-popover p-2"><!></div></div>'),Mx=E('<div class="mb-5"><!></div>'),Ex=E('<p data-testid="agent-welcome-description"> </p> <!>',1),qx=E("<!> <!>",1),Lx=E('<p class="mb-3 px-4 text-sm text-subtle leading-relaxed whitespace-pre-wrap" data-testid="agent-welcome-description"> </p>'),Hx=E("<!> <span> </span>",1),Ox=E('<div class="mx-auto flex w-full max-w-[40rem] flex-1 flex-col px-4 pb-6 pt-4 text-subtle"><!> <!> <!></div>');function dv(n,r){if(new.target)return ln({component:dv,...n});un(r,!0);const a=()=>pe(x,"$userOverrides$",f),i=()=>pe(M,"$specialists$",f),d=()=>pe(H,"$isGitHubAuth$",f),l=()=>pe(V,"$recentSpecialistIds$",f),[f,u]=Ur();let b=Z(r,"onSpecialistChange",7),v=Z(r,"session",7),R=Z(r,"workspaceId",7);const I=Bn(R()??"");ie(()=>I.set(R()??""));const M=zf(I),x=G$();ie(()=>{a()});const F=o(()=>{if(!v()||zy(v()))return null;const B=v().metadata?.specialist||v().agentMetadata?.specialist;return B&&i().find(C=>C.id===B)||null});async function D(B){B?await zl({specialist:B,hash:"specialists"}):await zl({view:"create-specialist"})}let T=he(!1);const H=V$(),V=aS(),oe=o(()=>vw(K$(i(),d()),l()));let P=he(!1);const k=o(()=>g.chat_regularAgentWelcome_generalDescription_label()),J=o(()=>e(F)?.name??g.chat_shared_general_fallback()),ge=o(()=>e(F)?.description??g.chat_shared_noSpecializedBehavior_label()),Te=o(()=>e(F)?e(F).defaultBehaviorPrompt||"":e(k));var ve={get onSpecialistChange(){return b()},set onSpecialistChange(B){b(B),ee()},get session(){return v()},set session(B){v(B),ee()},get workspaceId(){return R()},set workspaceId(B){R(B),ee()},$set:dn,$on:(B,C)=>cn(r,B,C)},ce=Ox(),we=S(ce);{var ne=B=>{var C=Mx(),re=S(C);ok(re,{class:"block w-full",align:"start",side:"bottom",contentClass:"w-[min(28rem,calc(100vw-2rem))]",get open(){return e(P)},set open(X){w(P,X,!0)},trigger:(X,Y)=>{let be=()=>(Y?.()).props;{let De=o(()=>Wc("group flex h-auto min-h-(--control-height-medium) w-full cursor-pointer items-center gap-3 whitespace-normal rounded-lg border border-border bg-card px-4 py-3 text-left shadow-xs transition-colors","hover:border-input hover:bg-accent/30 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"));It(X,qi(be,{type:"button",variant:"plain",wrapContent:!1,get class(){return e(De)},"data-testid":"specialist-picker-trigger",children:(z,Ie)=>{var Ce=Rx(),He=ye(Ce),st=S(He);{let Se=o(()=>e(F)?.id??null),Ae=o(()=>e(F)?.icon??null);sk(st,{agentId:"blank",variant:"emphasized",get specialist(){return e(Se)},get icon(){return e(Ae)}})}y(He);var Je=_(He,2),Oe=S(Je),Pe=de(Oe,!0),G=_(Oe,2),ae=de(G,!0);y(Je);var Le=_(Je,2),Q=S(Le);ft(Q,{get icon(){return Na},size:10}),y(Le),q(()=>{j(Pe,e(J)),j(ae,e(ge))}),p(z,Ce)},$$slots:{default:!0}}))}},content:X=>{var Y=Ax(),be=S(Y),De=S(be),z=de(De,!0),Ie=_(De,2),Ce=de(Ie,!0);y(be);var He=_(be,2),st=S(He);{let Pe=o(()=>e(F)?.id??null);V_(st,{get specialists(){return e(oe)},get value(){return e(Pe)},onchange:G=>{w(P,!1),b()?.(G)}})}y(He);var Je=_(He,2),Oe=S(Je);Rt(Oe,()=>Br,(Pe,G)=>{G(Pe,{class:"flex h-auto w-full cursor-pointer items-center gap-3 whitespace-normal rounded-md px-3 py-2 text-left text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",onSelect:()=>{w(P,!1),D()},children:(ae,Le)=>{var Q=Tx(),Se=ye(Q),Ae=S(Se);ft(Ae,{get icon(){return R$},size:12}),y(Se);var ze=_(Se,2),Ge=de(ze,!0);q(We=>j(Ge,We),[()=>g.chat_regularAgentWelcome_createSpecialist_label()]),p(ae,Q)},$$slots:{default:!0}})}),y(Je),y(Y),q((Pe,G)=>{j(z,Pe),j(Ce,G)},[()=>g.workspace_createAgentSection_specialists_label(),()=>g.workspace_createAgentSection_specialists_description()]),p(X,Y)},$$slots:{trigger:!0,content:!0}}),y(C),p(B,C)};N(we,B=>{b()&&B(ne)})}var te=_(we,2);{var Be=B=>{var C=Ot(),re=ye(C);{let Me=o(()=>g.chat_specialistSelector_prompt_label());Rt(re,()=>lk,(L,X)=>{X(L,{class:"mb-3",role:"region",get"aria-label"(){return e(Me)},children:(Y,be)=>{var De=qx(),z=ye(De);Rt(z,()=>rv,(Ce,He)=>{He(Ce,{children:(st,Je)=>{var Oe=Ot(),Pe=ye(Oe);Rt(Pe,()=>av,(G,ae)=>{ae(G,{class:"type-caption font-medium",children:(Le,Q)=>{vn();var Se=on();q(Ae=>j(Se,Ae),[()=>g.chat_specialistSelector_prompt_label()]),p(Le,Se)},$$slots:{default:!0}})}),p(st,Oe)},$$slots:{default:!0}})});var Ie=_(z,2);Rt(Ie,()=>ik,(Ce,He)=>{He(Ce,{children:(st,Je)=>{var Oe=Ex(),Pe=ye(Oe),G=de(Pe,!0),ae=_(Pe,2);It(ae,{type:"button",variant:"link",get"aria-expanded"(){return e(T)},onclick:()=>w(T,!e(T)),class:"text-xs text-muted-foreground hover:text-foreground transition-colors mt-2 cursor-pointer",children:(Le,Q)=>{vn();var Se=on();q(Ae=>j(Se,Ae),[()=>e(T)?g.chat_regularAgentWelcome_showLess_label():g.chat_regularAgentWelcome_showMore_label()]),p(Le,Se)},$$slots:{default:!0}}),q(()=>{ke(Pe,1,`text-sm text-subtle leading-relaxed whitespace-pre-wrap break-words ${e(T)?"":"line-clamp-6"}`),j(G,e(Te))}),p(st,Oe)},$$slots:{default:!0}})}),p(Y,De)},$$slots:{default:!0}})})}p(B,C)},se=B=>{var C=Lx(),re=de(C,!0);q(()=>j(re,e(Te))),p(B,C)};N(te,B=>{e(F)?B(Be):B(se,-1)})}var me=_(te,2);{var Ee=B=>{It(B,{variant:"ghost-light",size:"sm",onclick:()=>D(e(F).id),class:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors cursor-pointer pl-1.5 mr-auto",children:(C,re)=>{var Me=Hx(),L=ye(Me);ft(L,{get icon(){return P$},size:12,class:"opacity-60"});var X=_(L,2),Y=de(X,!0);q(be=>j(Y,be),[()=>g.chat_regularAgentWelcome_customize_label()]),p(C,Me)},$$slots:{default:!0}})};N(me,B=>{e(F)&&B(Ee)})}y(ce),p(n,ce);var qe=gn(ve);return u(),qe}var Fx=E('<a class="cursor-pointer underline underline-offset-2 hover:opacity-80" data-suggested-prompt-link=""> </a>'),Dx=E('<kbd data-suggested-prompt-hint=""> </kbd>'),Nx=E('<span class="type-caption"> </span>'),Bx=E('<div role="presentation" data-typography-role="body" data-suggested-prompt-row=""><span data-suggested-prompt-icon=""><!></span> <span class="min-w-0 flex-1 text-pretty" data-suggested-prompt-label=""><span role="button" tabindex="0" class="focus-visible:outline-none" data-suggested-prompt-text=""> </span><!></span> <!> <!></div>'),Wx=E('<div class="flex flex-col" data-testid="suggested-prompts-surface"><!></div>');function Xc(n,r){if(new.target)return ln({component:Xc,...n});un(r,!0);let a=Z(r,"prompts",7),i=Z(r,"onSelect",7),d=Z(r,"onEdit",7),l=Z(r,"compact",7,!1),f=Z(r,"showShortcutHints",7,!1),u=Z(r,"reserveShortcutHintSpace",7,!1),b=Z(r,"workspaceId",7);const R=typeof navigator<"u"&&navigator.platform.toUpperCase().includes("MAC")?"⌃":"Alt+",I=s$.replace("text-ui","type-caption");function M(k){i()(k)}function x(k,J){k.key!=="Enter"&&k.key!==" "||(k.preventDefault(),M(J))}function F(k,J){k.preventDefault(),k.stopPropagation(),Mc(J,{workspaceId:b(),event:k})}function D(k,J){(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),k.stopPropagation(),Mc(J,{workspaceId:b(),event:k}))}function T(k){return k<3}var H={get prompts(){return a()},set prompts(k){a(k),ee()},get onSelect(){return i()},set onSelect(k){i(k),ee()},get onEdit(){return d()},set onEdit(k){d(k),ee()},get compact(){return l()},set compact(k=!1){l(k),ee()},get showShortcutHints(){return f()},set showShortcutHints(k=!1){f(k),ee()},get reserveShortcutHintSpace(){return u()},set reserveShortcutHintSpace(k=!1){u(k),ee()},get workspaceId(){return b()},set workspaceId(k){b(k),ee()},$set:dn,$on:(k,J)=>cn(r,k,J)},V=Ot(),oe=ye(V);{var P=k=>{var J=Wx(),ge=S(J);{const Te=(ce,we)=>{let ne=()=>(we?.()).item,te=()=>(we?.()).index;const Be=o(()=>Qb(ne())),se=o(()=>e(Be)[0]?.type==="text"?e(Be)[0].content:"");var me=Bx(),Ee=S(me),qe=S(Ee);ft(qe,{get icon(){return Df},size:16,get class(){return ur}}),y(Ee);var B=_(Ee,2),C=S(B),re=de(C,!0),Me=_(C);Dn(Me,17,()=>e(Be).slice(e(se)?1:0),z_,(z,Ie)=>{var Ce=Ot(),He=ye(Ce);{var st=Oe=>{const Pe=o(()=>Kb(e(Ie).url));var G=Fx(),ae=de(G,!0);q(()=>{Ne(G,"href",e(Pe)),Ne(G,"title",e(Pe)),j(ae,e(Ie).label)}),ps("click",G,Le=>F(Le,e(Pe))),ps("keydown",G,Le=>D(Le,e(Pe))),p(Oe,G)},Je=Oe=>{var Pe=on();q(()=>j(Pe,e(Ie).content)),p(Oe,Pe)};N(He,Oe=>{e(Ie).type==="link"?Oe(st):Oe(Je,-1)})}p(z,Ce)}),y(B);var L=_(B,2);{var X=z=>{var Ie=Dx();let Ce;var He=de(Ie);q(()=>{Ce=ke(Ie,1,`${I??""} mt-px inline-flex h-5 items-center self-start border-0 bg-transparent p-0 font-sans font-normal text-muted-foreground! opacity-100`,null,Ce,{invisible:!f()}),Ne(Ie,"aria-hidden",f()?void 0:"true"),Ne(Ie,"data-hint-visible",f()),j(He,`${R}${te()+1}`)}),p(z,Ie)},Y=o(()=>T(te())&&(f()||u()));N(L,z=>{e(Y)&&z(X)})}var be=_(L,2);{var De=z=>{C$(z,{side:"top",delayDuration:300,trigger:He=>{{let st=o(()=>g.chat_suggestedPrompts_editInInput_ariaLabel());It(He,{type:"button",variant:"ghost-light",size:"icon-xs",iconOnly:!0,class:"absolute right-0.5 top-[calc(var(--operational-leading-half-slot-size)+var(--space-1)*0.5+1px)] shrink-0 -translate-y-1/2 rounded opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 focus-visible:opacity-100",onclick:Je=>{Je.stopPropagation(),d()(ne())},get"aria-label"(){return e(st)},children:(Je,Oe)=>{ft(Je,{get icon(){return T$},size:"xs"})},$$slots:{default:!0}})}},content:He=>{var st=Nx(),Je=de(st,!0);q(Oe=>j(Je,Oe),[()=>g.chat_suggestedPrompts_edit_tooltip()]),p(He,st)},$$slots:{trigger:!0,content:!0}})};N(be,z=>{d()&&z(De)})}y(me),q(z=>{ke(me,1,`${Of} ${a$} group relative flex cursor-pointer items-center gap-[var(--operational-leading-gap)] rounded-sm border border-transparent bg-transparent px-1.5 py-0.5 text-left opacity-100 pr-9 transition-colors hover:text-foreground has-[[data-suggested-prompt-text]:focus-visible]:outline-2 has-[[data-suggested-prompt-text]:focus-visible]:outline-offset-2 has-[[data-suggested-prompt-text]:focus-visible]:outline-ring`),ke(Ee,1,`${Bl??""} mt-px self-start`),Ne(C,"aria-label",z),j(re,e(se))},[()=>Vb(ne())]),ps("click",C,z=>{z.stopPropagation(),M(ne())}),ps("keydown",C,z=>x(z,ne())),p(ce,me)};let ve=o(()=>l()?"[&>div>div:last-child]:gap-0":"[&>div>div:last-child]:gap-0.5");S$(ge,{get items(){return a()},virtualize:!1,onActivate:M,get class(){return`overflow-visible! [&>div>div:last-child]:flex [&>div>div:last-child]:flex-col ${e(ve)??""}`},"data-testid":"suggested-prompts-list",get"data-compact"(){return l()},row:Te,$$slots:{row:!0}})}y(J),Lt(1,J,()=>ma,()=>({tier:"fast",y:0,scale:1})),Lt(2,J,()=>eo,()=>({tier:"fast"})),p(k,J)};N(oe,k=>{a().length>0&&k(P)})}return p(n,V),gn(H)}Bc(["click","keydown"]);var Ux=E('<section class="pb-6 pt-6"><p class="type-body mb-5 max-w-[36rem] px-1.5 text-pretty text-muted-foreground"> </p> <!></section>');function cv(n,r){if(new.target)return ln({component:cv,...n});un(r,!0);let a=Z(r,"onSelect",7),i=Z(r,"compact",7,!1);const d=o(()=>[{label:g.chat_chiefEmptyState_assignedPrs_label(),prompt:g.chat_chiefEmptyState_assignedPrs_prompt()},{label:g.chat_chiefEmptyState_staleWorkspaces_label(),prompt:g.chat_chiefEmptyState_staleWorkspaces_prompt()},{label:g.chat_chiefEmptyState_agentPerformance_label(),prompt:g.chat_chiefEmptyState_agentPerformance_prompt()},{label:g.chat_chiefEmptyState_morningBrief_label(),prompt:g.chat_chiefEmptyState_morningBrief_prompt()},{label:g.chat_chiefEmptyState_randomTheme_label(),prompt:g.chat_chiefEmptyState_randomTheme_prompt()}]),l=o(()=>e(d).map(M=>M.label));function f(M){const x=e(d).find(F=>F.label===M);x&&a()(x.prompt)}var u={get onSelect(){return a()},set onSelect(M){a(M),ee()},get compact(){return i()},set compact(M=!1){i(M),ee()},$set:dn,$on:(M,x)=>cn(r,M,x)},b=Ux(),v=S(b),R=de(v,!0),I=_(v,2);return Xc(I,{get prompts(){return e(l)},onSelect:f,get compact(){return i()}}),y(b),q(M=>j(R,M),[()=>g.chat_chiefEmptyState_intro_label()]),p(n,b),gn(u)}const Zc=2e3,zx=4e3,jx=zx-Zc-2;function Gx(n,r=Zc){const a=[];let i=0;for(let d=n.length-1;d>=0&&i<r;d-=1){const l=n[d];if(l.role!=="user"&&l.role!=="assistant")continue;const f=(l.contentBlocks??[]).filter(b=>b.type==="text").map(b=>b.text||b.content||"").join(""),u=(l.role==="assistant"?K_(f).cleanedContent:f).trim();u&&(a.unshift({role:l.role,text:u}),i+=u.length)}return a}function Vx(n,r){const a=n.map(l=>`${l.role==="user"?"User":"Assistant"}: ${l.text}`).join(`
|
|
2
2
|
|
|
3
3
|
`).slice(-Zc),i=r.map(l=>l.trim()).filter(Boolean);if(i.length===0)return a;const d=`Suggested prompts:
|
|
4
4
|
${i.map(l=>`- ${l}`).join(`
|