@intent-hq/web 2.373.0 → 2.374.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/{CGf2gpvp.js → 0Xr6eOOE.js} +1 -1
- package/web/app/immutable/chunks/{BKN8g-SH.js → 1e1uSG0B.js} +1 -1
- package/web/app/immutable/chunks/{B16R3gcp.js → 49cgEwsv.js} +1 -1
- package/web/app/immutable/chunks/{dIHmpCQU.js → 4aIDpPwE.js} +1 -1
- package/web/app/immutable/chunks/{DKfX0H_n.js → 50l-lj9m.js} +1 -1
- package/web/app/immutable/chunks/{mvlVGSeb.js → 5kmlNoKC.js} +4 -4
- package/web/app/immutable/chunks/{CP45YnfV.js → 5rvkVpHO.js} +1 -1
- package/web/app/immutable/chunks/{Cd-cZZzm.js → 6svm3ALY.js} +1 -1
- package/web/app/immutable/chunks/{ewVf6PIZ.js → 78vu4B3v.js} +1 -1
- package/web/app/immutable/chunks/{DD146Q03.js → 89cPEaN9.js} +1 -1
- package/web/app/immutable/chunks/{BQ8qAv7M.js → 8un-1yF0.js} +1 -1
- package/web/app/immutable/chunks/{CErePAlp.js → 9sLim_4t.js} +1 -1
- package/web/app/immutable/chunks/{D3ndslw4.js → Ax2B7QQh.js} +1 -1
- package/web/app/immutable/chunks/{C35YmXbg.js → B-W7deES.js} +1 -1
- package/web/app/immutable/chunks/{Coutr3Mi.js → B0zwGZ_O.js} +1 -1
- package/web/app/immutable/chunks/{Bx9jW2hM.js → B3pPpWYK.js} +1 -1
- package/web/app/immutable/chunks/{CA8MYKPh.js → B4LvWoln.js} +1 -1
- package/web/app/immutable/chunks/{CETwR3pL.js → B4Pcyup-.js} +1 -1
- package/web/app/immutable/chunks/{BZEL244B.js → B4on2wzU.js} +1 -1
- package/web/app/immutable/chunks/{kLX0oQjt.js → B55Lo0FS.js} +1 -1
- package/web/app/immutable/chunks/{n-7qZfot.js → B5L_fzQJ.js} +1 -1
- package/web/app/immutable/chunks/{Cuea3cpS.js → B5yEHkSy.js} +1 -1
- package/web/app/immutable/chunks/{BoOU7UK-.js → B6z9N_8y.js} +1 -1
- package/web/app/immutable/chunks/{szZ8pRnr.js → B7FRjLIO.js} +2 -2
- package/web/app/immutable/chunks/{By3d2aKb.js → B7v8ICP4.js} +1 -1
- package/web/app/immutable/chunks/{CWJC1lxP.js → B8BkT7-k.js} +1 -1
- package/web/app/immutable/chunks/{CYALE4XC.js → B94otgnH.js} +1 -1
- package/web/app/immutable/chunks/{CO4Rte0G.js → BE1cGlQD.js} +1 -1
- package/web/app/immutable/chunks/{H95XSLd_.js → BEtv8tBy.js} +1 -1
- package/web/app/immutable/chunks/{CIG7_Ars.js → BGL-uifv.js} +1 -1
- package/web/app/immutable/chunks/{qim_Ct3_.js → BHhpe04T.js} +1 -1
- package/web/app/immutable/chunks/{DM4j5ANN.js → BHrccWS6.js} +1 -1
- package/web/app/immutable/chunks/{CQzabfN4.js → BIXB2sEM.js} +4 -4
- package/web/app/immutable/chunks/{6w617QdY.js → BIzGfV52.js} +1 -1
- package/web/app/immutable/chunks/{gF4jlhhn.js → BJkBPBON.js} +2 -2
- package/web/app/immutable/chunks/{BmDq-uhT.js → BJs6L98H.js} +1 -1
- package/web/app/immutable/chunks/{mFH5JSTn.js → BLKGmMKH.js} +1 -1
- package/web/app/immutable/chunks/{B-gBT6Wp.js → BLM5WEkv.js} +1 -1
- package/web/app/immutable/chunks/{DoSi2n5h.js → BLub_WLN.js} +3 -3
- package/web/app/immutable/chunks/{DkNt2yt8.js → BMT3BZWc.js} +1 -1
- package/web/app/immutable/chunks/{DFvB5yOL.js → BMfEzUyf.js} +1 -1
- package/web/app/immutable/chunks/{BylMfQ8a.js → BNlcBg5q.js} +1 -1
- package/web/app/immutable/chunks/{CzlyzR5w.js → BOABr5iA.js} +1 -1
- package/web/app/immutable/chunks/{DYdDF6N_.js → BOImXhxR.js} +1 -1
- package/web/app/immutable/chunks/{BjxfkKmH.js → BOijq64j.js} +1 -1
- package/web/app/immutable/chunks/{BycCRh1U.js → BQMaTSUT.js} +1 -1
- package/web/app/immutable/chunks/{DJbFr8xM.js → BUT4El0L.js} +1 -1
- package/web/app/immutable/chunks/{DGjX-g5M.js → BUTJbFoT.js} +1 -1
- package/web/app/immutable/chunks/{cplLJoH8.js → BWsFbeUj.js} +1 -1
- package/web/app/immutable/chunks/{BGHJsG8l.js → BWtNXuH3.js} +1 -1
- package/web/app/immutable/chunks/{5lMMsSad.js → BWxQ5UZF.js} +1 -1
- package/web/app/immutable/chunks/{DSK8O9Vd.js → BXwdEeCG.js} +1 -1
- package/web/app/immutable/chunks/{DlxIFfaX.js → BYqiRSP_.js} +1 -1
- package/web/app/immutable/chunks/{Bps-K7_G.js → BZSpcC6v.js} +1 -1
- package/web/app/immutable/chunks/{D6H0b5RP.js → B_fuDTJc.js} +1 -1
- package/web/app/immutable/chunks/{-x2KiTdv.js → Bb4KDW-H.js} +1 -1
- package/web/app/immutable/chunks/{4kjAauCt.js → BbRVqgQZ.js} +1 -1
- package/web/app/immutable/chunks/{c8-6qMPD.js → BcubO1aW.js} +1 -1
- package/web/app/immutable/chunks/{BdpnQog4.js → BeTiPXK7.js} +1 -1
- package/web/app/immutable/chunks/{6_rpMdx6.js → BeigtvFK.js} +1 -1
- package/web/app/immutable/chunks/{Dk2HcklO.js → BfQPFCP7.js} +2 -2
- package/web/app/immutable/chunks/{CReqoCJu.js → BfdTnj-p.js} +1 -1
- package/web/app/immutable/chunks/{CSEth5B8.js → BfmZaG-s.js} +3 -3
- package/web/app/immutable/chunks/{CzlfnNwB.js → BgsG3ZiB.js} +1 -1
- package/web/app/immutable/chunks/{DSF6kjeh.js → Bi-OoqI4.js} +3 -3
- package/web/app/immutable/chunks/{UWZjMttV.js → Bi08_5Fn.js} +1 -1
- package/web/app/immutable/chunks/{CCt5EXjV.js → BiByqANf.js} +1 -1
- package/web/app/immutable/chunks/{rPhSJlXw.js → BjC_rKsH.js} +1 -1
- package/web/app/immutable/chunks/{QulM8iJe.js → BkB7PRB0.js} +1 -1
- package/web/app/immutable/chunks/{aJuiKWzg.js → BlEa7UsU.js} +1 -1
- package/web/app/immutable/chunks/{xMwKWjB7.js → BlTs1zAy.js} +1 -1
- package/web/app/immutable/chunks/{DGLC3mk9.js → BmO6NekI.js} +1 -1
- package/web/app/immutable/chunks/{EP05ckdk.js → BnVNvux0.js} +1 -1
- package/web/app/immutable/chunks/{DiNPchhP.js → BoDtRDem.js} +1 -1
- package/web/app/immutable/chunks/{BgTFeyrq.js → BoaqP5ET.js} +1 -1
- package/web/app/immutable/chunks/{CncWt3O6.js → BpM87Usm.js} +1 -1
- package/web/app/immutable/chunks/{DQLfBH7I.js → Bq5w_10y.js} +1 -1
- package/web/app/immutable/chunks/{B0r15Yat.js → BqB2D1x5.js} +9 -9
- package/web/app/immutable/chunks/{2EufkTRJ.js → BqJSWZOr.js} +1 -1
- package/web/app/immutable/chunks/{CT1vJyZh.js → BrfF5NLx.js} +1 -1
- package/web/app/immutable/chunks/{DhbWoWDC.js → BrrhiHyd.js} +1 -1
- package/web/app/immutable/chunks/{Cbbfu3DD.js → BtLlD_LO.js} +1 -1
- package/web/app/immutable/chunks/{Fzjn8DZE.js → BtdtsPJb.js} +1 -1
- package/web/app/immutable/chunks/{DfX9QhMz.js → Btxass_5.js} +1 -1
- package/web/app/immutable/chunks/{t6t3mdUn.js → BuXfbkCo.js} +1 -1
- package/web/app/immutable/chunks/{_e4xep-2.js → ByAetY4P.js} +1 -1
- package/web/app/immutable/chunks/{CljKdpeo.js → BymgwXRn.js} +1 -1
- package/web/app/immutable/chunks/{DWiL9mAL.js → BzL9Egzq.js} +1 -1
- package/web/app/immutable/chunks/{7aQTBNpP.js → BzPBikEv.js} +1 -1
- package/web/app/immutable/chunks/{BGMke03b.js → C-MW647h.js} +1 -1
- package/web/app/immutable/chunks/{xfUYUYD5.js → C-hRvbpj.js} +3 -3
- package/web/app/immutable/chunks/{D_G-1JiF.js → C0_snm4j.js} +1 -1
- package/web/app/immutable/chunks/{CiSv5u8J.js → C2eOYH_G.js} +1 -1
- package/web/app/immutable/chunks/{BaeKUSxM.js → C33vrAzQ.js} +1 -1
- package/web/app/immutable/chunks/{-pTsRhwv.js → C3XalDjV.js} +1 -1
- package/web/app/immutable/chunks/{C20fDEam.js → C4ERaDtS.js} +1 -1
- package/web/app/immutable/chunks/{DDdcGQT_.js → C5DeEaYP.js} +1 -1
- package/web/app/immutable/chunks/{FJqzUSSZ.js → C600Ggsz.js} +1 -1
- package/web/app/immutable/chunks/{DkH5cZvV.js → C6a1-Err.js} +1 -1
- package/web/app/immutable/chunks/{DH7M58MP.js → C7CeFFBU.js} +1 -1
- package/web/app/immutable/chunks/{C-ip9N1T.js → C7PhRIIZ.js} +1 -1
- package/web/app/immutable/chunks/{R0qfr5ax.js → C7QIVjEh.js} +1 -1
- package/web/app/immutable/chunks/{DbEXn4_y.js → C8hkzPoK.js} +2 -2
- package/web/app/immutable/chunks/{CDCE6oTg.js → CAeNUoVv.js} +1 -1
- package/web/app/immutable/chunks/{Bb1Qji_z.js → CCK5TGK5.js} +1 -1
- package/web/app/immutable/chunks/{DMTCts09.js → CD-hT3fi.js} +1 -1
- package/web/app/immutable/chunks/{IHRvbath.js → CGCLUZ3o.js} +1 -1
- package/web/app/immutable/chunks/{B0Vj4qoa.js → CGDwhMyu.js} +3 -3
- package/web/app/immutable/chunks/{nhnuI90y.js → CGvpPKXI.js} +1 -1
- package/web/app/immutable/chunks/{D5haHDwG.js → CIFNI35-.js} +1 -1
- package/web/app/immutable/chunks/{D-q4DlJb.js → CLMgFYIH.js} +1 -1
- package/web/app/immutable/chunks/{C6qzokod.js → CN1fsMHu.js} +1 -1
- package/web/app/immutable/chunks/{C8IMuGeP.js → CPUsWCCN.js} +1 -1
- package/web/app/immutable/chunks/{BsRM8yjb.js → CPc9hi45.js} +1 -1
- package/web/app/immutable/chunks/{DOHVP8r1.js → CPthbtAR.js} +1 -1
- package/web/app/immutable/chunks/{DanM5oR1.js → CSiViQVW.js} +1 -1
- package/web/app/immutable/chunks/{DwyFrp4u.js → CSrI4A-Z.js} +1 -1
- package/web/app/immutable/chunks/{CYIfyDKk.js → CVKwip72.js} +1 -1
- package/web/app/immutable/chunks/{CQ_L8AeY.js → CW2YUdJi.js} +1 -1
- package/web/app/immutable/chunks/{C81hO4Na.js → CWplqerm.js} +1 -1
- package/web/app/immutable/chunks/{KT1ygtoE.js → CXwkFfQD.js} +1 -1
- package/web/app/immutable/chunks/{DNjgbEGg.js → CYk_a71f.js} +1 -1
- package/web/app/immutable/chunks/{ZawOZTIQ.js → CZoORueB.js} +1 -1
- package/web/app/immutable/chunks/{DnzGwHHz.js → C_-1lZIi.js} +1 -1
- package/web/app/immutable/chunks/{CZL5vFO8.js → CaAd_cyY.js} +1 -1
- package/web/app/immutable/chunks/{B7kAC2QO.js → CbMctCk2.js} +1 -1
- package/web/app/immutable/chunks/{DJFHa_93.js → CddxYcvS.js} +1 -1
- package/web/app/immutable/chunks/{DYUZxGEP.js → Cdgx1q8N.js} +1 -1
- package/web/app/immutable/chunks/{D14WwGOw.js → CeNk7AI9.js} +1 -1
- package/web/app/immutable/chunks/{DqFPqj_c.js → Cf5H5FW2.js} +1 -1
- package/web/app/immutable/chunks/{C7HVlmGs.js → Cf6Y8_8o.js} +1 -1
- package/web/app/immutable/chunks/{EF-B7qSv.js → Cft5DaOC.js} +1 -1
- package/web/app/immutable/chunks/{D41qh-5f.js → Ch-D6DCZ.js} +1 -1
- package/web/app/immutable/chunks/{2m_u3bgL.js → Chgxj7dA.js} +1 -1
- package/web/app/immutable/chunks/{DRhcvZ9X.js → CiEru0ce.js} +1 -1
- package/web/app/immutable/chunks/{CinOJOVh.js → Cij6f88k.js} +1 -1
- package/web/app/immutable/chunks/Ciub7-gv.js +1 -0
- package/web/app/immutable/chunks/{Ym_4xzmH.js → CivTzCBV.js} +1 -1
- package/web/app/immutable/chunks/CkJd-nyM.js +1 -0
- package/web/app/immutable/chunks/{DjwaFIuf.js → CkbzWFJM.js} +1 -1
- package/web/app/immutable/chunks/{DM9LmF5j.js → CmHh0Wvy.js} +1 -1
- package/web/app/immutable/chunks/{BiYllXNK.js → CnLJ_N14.js} +1 -1
- package/web/app/immutable/chunks/{DjNq-V1x.js → Cncxuk-H.js} +1 -1
- package/web/app/immutable/chunks/{DIcqfvJD.js → Co5Wv5vC.js} +1 -1
- package/web/app/immutable/chunks/{02YUL-k8.js → CoVtH1zm.js} +1 -1
- package/web/app/immutable/chunks/{CB4UdDb9.js → CruJ4jyB.js} +1 -1
- package/web/app/immutable/chunks/{Do5F-HPE.js → CsFzjSWo.js} +1 -1
- package/web/app/immutable/chunks/{DHuSm3be.js → CsI7oUrd.js} +1 -1
- package/web/app/immutable/chunks/{D4lamhem.js → CsaKmxO_.js} +2 -2
- package/web/app/immutable/chunks/{D4dQaEzK.js → CtVskF6o.js} +1 -1
- package/web/app/immutable/chunks/{CSp7X79w.js → CttZcTQ2.js} +1 -1
- package/web/app/immutable/chunks/{DunKT6dS.js → CuLrgEBU.js} +2 -2
- package/web/app/immutable/chunks/{OnVz_1Np.js → CvP7-iXZ.js} +1 -1
- package/web/app/immutable/chunks/{DKfvgKdK.js → D--r5mHa.js} +1 -1
- package/web/app/immutable/chunks/{CXEOyFq9.js → D-zxS9tA.js} +1 -1
- package/web/app/immutable/chunks/{Dv4BYa-Z.js → D1E_1zhz.js} +1 -1
- package/web/app/immutable/chunks/{BA-uukBX.js → D1F-b1I5.js} +1 -1
- package/web/app/immutable/chunks/{BCG-StgC.js → D1ZkKLqt.js} +1 -1
- package/web/app/immutable/chunks/{BJT5G4Vv.js → D208CAsp.js} +1 -1
- package/web/app/immutable/chunks/{CXS-R8zY.js → D5D__L6c.js} +1 -1
- package/web/app/immutable/chunks/{BaUOI4IK.js → D5XjMLtX.js} +1 -1
- package/web/app/immutable/chunks/{CHVFOL-2.js → D5eCb9SA.js} +1 -1
- package/web/app/immutable/chunks/{DfZDDoxc.js → D7metssC.js} +1 -1
- package/web/app/immutable/chunks/{0LGjiHaB.js → D8IZMM7C.js} +1 -1
- package/web/app/immutable/chunks/{0iM-y8KY.js → DBEo2Y3v.js} +1 -1
- package/web/app/immutable/chunks/{BvxuCpa1.js → DBI9dTMM.js} +1 -1
- package/web/app/immutable/chunks/{Bs8Uk6ug.js → DCEkJXus.js} +1 -1
- package/web/app/immutable/chunks/{DQPJa1PL.js → DCwrIUyt.js} +1 -1
- package/web/app/immutable/chunks/{DxVSJQW2.js → DGK1iojf.js} +1 -1
- package/web/app/immutable/chunks/{k2cU06qa.js → DH2xXdI1.js} +1 -1
- package/web/app/immutable/chunks/{CYmtPuTl.js → DH7vXXdq.js} +1 -1
- package/web/app/immutable/chunks/{CevGDj0_.js → DHyTxmrF.js} +1 -1
- package/web/app/immutable/chunks/{C-AAKukn.js → DJsRid9i.js} +1 -1
- package/web/app/immutable/chunks/{CVbN130s.js → DKBM0Gj4.js} +1 -1
- package/web/app/immutable/chunks/{XgcRf2OO.js → DKOHx2a9.js} +2 -2
- package/web/app/immutable/chunks/{DhCgtN_p.js → DLJOBEeO.js} +3 -3
- package/web/app/immutable/chunks/{8SiHtB72.js → DM5MJ3Sn.js} +1 -1
- package/web/app/immutable/chunks/{B7ubb8f-.js → DMnVAzAI.js} +1 -1
- package/web/app/immutable/chunks/{BWMQtsIY.js → DNvCdh98.js} +1 -1
- package/web/app/immutable/chunks/{CwsVBSUF.js → DP6Xlts5.js} +1 -1
- package/web/app/immutable/chunks/{5x3ldUtC.js → DQPV9Jid.js} +1 -1
- package/web/app/immutable/chunks/{BYe7PWsd.js → DQQg-_Fv.js} +1 -1
- package/web/app/immutable/chunks/{DQvYqUjR.js → DQbaQwzY.js} +1 -1
- package/web/app/immutable/chunks/{8-vxLh_H.js → DQjZPSYr.js} +1 -1
- package/web/app/immutable/chunks/{CMdAOXEb.js → DQvmr3ea.js} +1 -1
- package/web/app/immutable/chunks/{hGZqfbJu.js → DSjVYlVX.js} +1 -1
- package/web/app/immutable/chunks/{CksX9wbO.js → DT6jGD_v.js} +2 -2
- package/web/app/immutable/chunks/{DeXfipOI.js → DTXx_iLa.js} +1 -1
- package/web/app/immutable/chunks/{C-QKLo6O.js → DUGzdx5G.js} +1 -1
- package/web/app/immutable/chunks/{CBNJqQCc.js → DUaNnRvN.js} +1 -1
- package/web/app/immutable/chunks/{DcvRBAV3.js → DUmGlkcv.js} +1 -1
- package/web/app/immutable/chunks/{BoBZ73YE.js → DVK3tNru.js} +1 -1
- package/web/app/immutable/chunks/{D-_v7kDk.js → DWBuWaVE.js} +1 -1
- package/web/app/immutable/chunks/{8gAO4rBm.js → DXFg1wKa.js} +1 -1
- package/web/app/immutable/chunks/{DJE_dF7Z.js → DYME5vl6.js} +1 -1
- package/web/app/immutable/chunks/{B9YvG8aT.js → DZLkwu2T.js} +1 -1
- package/web/app/immutable/chunks/{Vg0EpBe7.js → DZc-gQMq.js} +1 -1
- package/web/app/immutable/chunks/{DppUFX6O.js → Da8jWysx.js} +1 -1
- package/web/app/immutable/chunks/{CCgl5yNk.js → DcPZVozd.js} +1 -1
- package/web/app/immutable/chunks/{BOv3_02t.js → Dd92kFdo.js} +1 -1
- package/web/app/immutable/chunks/{DjrbQ2JE.js → DeREMpl2.js} +1 -1
- package/web/app/immutable/chunks/{DZ1MmJsG.js → DeaknxEN.js} +1 -1
- package/web/app/immutable/chunks/{DC4EvC84.js → Dep4c5m-.js} +1 -1
- package/web/app/immutable/chunks/{Bd7wm9ou.js → Df8V6WlA.js} +1 -1
- package/web/app/immutable/chunks/{BaKHwctr.js → DgNmFGXj.js} +1 -1
- package/web/app/immutable/chunks/{DkE1KcNT.js → DgboVgd_.js} +1 -1
- package/web/app/immutable/chunks/{BIW6jxDi.js → Dgmf4O3-.js} +1 -1
- package/web/app/immutable/chunks/{DGaBtrvB.js → DhNEeuS_.js} +1 -1
- package/web/app/immutable/chunks/{1KkdIMQF.js → DhezPe3y.js} +1 -1
- package/web/app/immutable/chunks/{CFxELBeY.js → DiE8v_X5.js} +1 -1
- package/web/app/immutable/chunks/{hR-DaH6k.js → DkkzFfYK.js} +1 -1
- package/web/app/immutable/chunks/{DnT_wkoM.js → Dl3FDpKM.js} +1 -1
- package/web/app/immutable/chunks/{D7thg7Ha.js → Dlu7eNjM.js} +1 -1
- package/web/app/immutable/chunks/{BSTl1RvT.js → DmmbYbmC.js} +2 -2
- package/web/app/immutable/chunks/{CHxdiRFz.js → Do2AbdMZ.js} +1 -1
- package/web/app/immutable/chunks/{wQ32vU9q.js → DoA8ABAE.js} +1 -1
- package/web/app/immutable/chunks/{cYKcpEeG.js → DoEVipUF.js} +1 -1
- package/web/app/immutable/chunks/{DzveesLa.js → Dotp5YRU.js} +1 -1
- package/web/app/immutable/chunks/{BlBb1keW.js → DreYzK2d.js} +1 -1
- package/web/app/immutable/chunks/DsRXAU7N.js +1 -0
- package/web/app/immutable/chunks/{GnS8SMtq.js → Dt0cEsoV.js} +2 -2
- package/web/app/immutable/chunks/{Dcl67lxX.js → DtVS2Hpo.js} +1 -1
- package/web/app/immutable/chunks/{CG456d1E.js → DtYEnzBU.js} +1 -1
- package/web/app/immutable/chunks/{DXXCttvN.js → Dtfq8wlv.js} +1 -1
- package/web/app/immutable/chunks/{DWGCjk6V.js → Dw2_URl8.js} +1 -1
- package/web/app/immutable/chunks/{BfXbOT8i.js → DxXHN0Kd.js} +1 -1
- package/web/app/immutable/chunks/{BBQsIbOZ.js → Dxc-KEkE.js} +3 -3
- package/web/app/immutable/chunks/DxxarOOi.js +1 -0
- package/web/app/immutable/chunks/{D2YGMA8q.js → Dyo489Aj.js} +4 -4
- package/web/app/immutable/chunks/{BL2ujNK_.js → Dz150vD0.js} +1 -1
- package/web/app/immutable/chunks/{D6XIvyP3.js → DzAQQ1i-.js} +1 -1
- package/web/app/immutable/chunks/{D9rf8Jdd.js → EKAiX2GI.js} +1 -1
- package/web/app/immutable/chunks/{CT9j94JK.js → FC-pHBfg.js} +2 -2
- package/web/app/immutable/chunks/{BvIER3hk.js → GfYLoKaL.js} +1 -1
- package/web/app/immutable/chunks/{C_92InJL.js → HP6Cq9rf.js} +1 -1
- package/web/app/immutable/chunks/{Dw9M83Lw.js → HjJJbdN8.js} +1 -1
- package/web/app/immutable/chunks/{Dt5BioTS.js → Hxdz4eYy.js} +1 -1
- package/web/app/immutable/chunks/I7PibMUG.js +1 -0
- package/web/app/immutable/chunks/{frim2Lpk.js → IcK2O8wN.js} +1 -1
- package/web/app/immutable/chunks/{B3Xs1bS2.js → IfuzSDQC.js} +1 -1
- package/web/app/immutable/chunks/{ChI9mvUS.js → Jd-PTJBp.js} +3 -3
- package/web/app/immutable/chunks/{BNGx8qtU.js → LIjxNVmo.js} +1 -1
- package/web/app/immutable/chunks/{B-Km1hE1.js → MncpPyA-.js} +1 -1
- package/web/app/immutable/chunks/{DeAaK3tO.js → OjneFxUj.js} +1 -1
- package/web/app/immutable/chunks/{CDPoeQz1.js → Opn_u-ak.js} +1 -1
- package/web/app/immutable/chunks/{Ctelf0jH.js → Or6TlXVc.js} +1 -1
- package/web/app/immutable/chunks/{ckTlOLII.js → PoxwHYkO.js} +1 -1
- package/web/app/immutable/chunks/{BhIqqwku.js → PrLg-ksP.js} +1 -1
- package/web/app/immutable/chunks/{4PwdPd7u.js → Qk2Uvykz.js} +1 -1
- package/web/app/immutable/chunks/{B-k5wsvC.js → QpoIgRGw.js} +1 -1
- package/web/app/immutable/chunks/{BwQ4aQNw.js → SqcDn3FF.js} +1 -1
- package/web/app/immutable/chunks/{70EoeQTk.js → Tsg7Rikm.js} +1 -1
- package/web/app/immutable/chunks/{DzibEiL0.js → U7PCJ0KW.js} +1 -1
- package/web/app/immutable/chunks/{BIMyMsOv.js → UCKuBGVM.js} +1 -1
- package/web/app/immutable/chunks/{B41DOn_L.js → VfcZjJDU.js} +1 -1
- package/web/app/immutable/chunks/{gkFzY6r7.js → VlOW_lom.js} +1 -1
- package/web/app/immutable/chunks/{BfrXK-ZU.js → Wu03VY_-.js} +1 -1
- package/web/app/immutable/chunks/{QL_pZGWA.js → ZQWbYglS.js} +1 -1
- package/web/app/immutable/chunks/{CmlGvxmu.js → Z_Zl_SfR.js} +1 -1
- package/web/app/immutable/chunks/Zas8kAKr.js +1 -0
- package/web/app/immutable/chunks/{_LMIM985.js → ZdR-PTAn.js} +1 -1
- package/web/app/immutable/chunks/{CKmtKxD0.js → Zs30783q.js} +1 -1
- package/web/app/immutable/chunks/{Q8JNttIh.js → ZyBOjDmf.js} +1 -1
- package/web/app/immutable/chunks/{Bah_ExD8.js → _NdZi_dM.js} +1 -1
- package/web/app/immutable/chunks/{8s1d6VlB.js → _rr6nsRq.js} +1 -1
- package/web/app/immutable/chunks/{BHRpMLDk.js → b7K3kFDW.js} +1 -1
- package/web/app/immutable/chunks/{C1q0hSky.js → dLGWDtiP.js} +1 -1
- package/web/app/immutable/chunks/{CniNJafb.js → eO_Y6Zjh.js} +1 -1
- package/web/app/immutable/chunks/{DHeLwLtz.js → euI_ACTK.js} +1 -1
- package/web/app/immutable/chunks/{BLlTtC--.js → fvPmV5Gi.js} +2 -2
- package/web/app/immutable/chunks/{Bm7RRc9h.js → ggBdElOR.js} +1 -1
- package/web/app/immutable/chunks/{DTCoCNln.js → hjdg1APe.js} +2 -2
- package/web/app/immutable/chunks/{lHD19ydf.js → hsWXTUXg.js} +1 -1
- package/web/app/immutable/chunks/{BRE1DYz5.js → mln4aKyz.js} +1 -1
- package/web/app/immutable/chunks/{CmeuXd0X.js → mzRkGv5m.js} +1 -1
- package/web/app/immutable/chunks/{Bup3f7j4.js → o6BZHHo-.js} +1 -1
- package/web/app/immutable/chunks/{qRbd1ibI.js → oHriEIAi.js} +2 -2
- package/web/app/immutable/chunks/{B72JTqS_.js → ow3T0tN7.js} +1 -1
- package/web/app/immutable/chunks/{ChAOamky.js → qM_0Sky2.js} +1 -1
- package/web/app/immutable/chunks/{R00Ksy_g.js → sX1SzO2T.js} +1 -1
- package/web/app/immutable/chunks/{C7eBooB_.js → v1GNktmz.js} +3 -3
- package/web/app/immutable/chunks/{DWoh9eLQ.js → vE_bc7tB.js} +1 -1
- package/web/app/immutable/chunks/{h0nUJIdx.js → w8yC-37t.js} +1 -1
- package/web/app/immutable/chunks/{DiJpPQTH.js → wWw37-Ke.js} +1 -1
- package/web/app/immutable/chunks/{MGCpuCf0.js → wouXHNlM.js} +13 -13
- package/web/app/immutable/chunks/{Bjnv-7Ay.js → wrK6ZRyS.js} +1 -1
- package/web/app/immutable/chunks/{BY3bBVx0.js → xOVHBiMd.js} +1 -1
- package/web/app/immutable/chunks/{D5N-4pZG.js → xzC0xG4O.js} +1 -1
- package/web/app/immutable/chunks/{Clbflwy_.js → ygVTpe0W.js} +1 -1
- package/web/app/immutable/chunks/{DQyVwHJA.js → yglMjm12.js} +1 -1
- package/web/app/immutable/entry/{app.B8U18HSQ.js → app.C3_ct89H.js} +3 -3
- package/web/app/immutable/entry/start.BIOjq307.js +1 -0
- package/web/app/immutable/nodes/{0.DLYOUyU1.js → 0.B60cY-E8.js} +1 -1
- package/web/app/immutable/nodes/{1.v44QLmv3.js → 1.Fg7YybpB.js} +1 -1
- package/web/app/immutable/nodes/10.CGBrSCkB.js +39 -0
- package/web/app/immutable/nodes/{11.zviYRL3w.js → 11.CxV9uXd7.js} +1 -1
- package/web/app/immutable/nodes/{12.BjGJ5mRG.js → 12.Chwv84gV.js} +1 -1
- package/web/app/immutable/nodes/{13.D6Me5QTp.js → 13.BT6BhMtf.js} +1 -1
- package/web/app/immutable/nodes/{14.CfuetyXy.js → 14.CYMJv-a-.js} +3 -3
- package/web/app/immutable/nodes/{15.LEAnwNjt.js → 15.Bh_nopxE.js} +1 -1
- package/web/app/immutable/nodes/{16.DaihUhp2.js → 16.7rbyrDeT.js} +1 -1
- package/web/app/immutable/nodes/{17.Cfmxzlp8.js → 17.DrMiOxPX.js} +1 -1
- package/web/app/immutable/nodes/{18.DMndf1DM.js → 18.BfN58CyI.js} +1 -1
- package/web/app/immutable/nodes/{19.D5f5Zs_m.js → 19.0bOGZuAY.js} +2 -2
- package/web/app/immutable/nodes/{2.DSNu5875.js → 2.DREuwjqg.js} +4 -4
- package/web/app/immutable/nodes/{20.B5_24cng.js → 20.BiFgSIxy.js} +1 -1
- package/web/app/immutable/nodes/{3.D7crSQQY.js → 3.DSIPMWPB.js} +1 -1
- package/web/app/immutable/nodes/{4.BQ4kX-MO.js → 4.CZVyJ7C4.js} +1 -1
- package/web/app/immutable/nodes/{5.CNI4QIY6.js → 5.DND6GJwF.js} +1 -1
- package/web/app/immutable/nodes/{6.aqqkkpU3.js → 6.Bk5k_Omu.js} +1 -1
- package/web/app/immutable/nodes/{7.31uDDPNB.js → 7.DCF-Fawn.js} +1 -1
- package/web/app/immutable/nodes/{8.WLZs12tR.js → 8.aBszzfhj.js} +1 -1
- package/web/app/immutable/nodes/9.Bs6CVTCT.js +12 -0
- 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/7HKQ-XDk.js +0 -1
- package/web/app/immutable/chunks/BLAU86XX.js +0 -1
- package/web/app/immutable/chunks/BpsIzxWJ.js +0 -1
- package/web/app/immutable/chunks/C8Ie7Deo.js +0 -1
- package/web/app/immutable/chunks/CmpHo399.js +0 -1
- package/web/app/immutable/chunks/DNGlU1yL.js +0 -1
- package/web/app/immutable/entry/start.C8nrElOF.js +0 -1
- package/web/app/immutable/nodes/10.CBX5mYGD.js +0 -39
- package/web/app/immutable/nodes/9.XMp3gBDl.js +0 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Jt}from"./
|
|
1
|
+
import{g as Jt}from"./Chgxj7dA.js";import{g as Zt}from"./B7v8ICP4.js";import{s as $t}from"./D8IZMM7C.js";import{b as C,a$ as e1,ay as Z,X as Ae,a1 as t1,aP as s1,bh as at,a_ as i1,aZ as r1,b0 as a1,V as n1,U as u1,Y as o1,z as l1,ax as c1,J as h1,aq as st,as as d1,$ as it,aW as rt,r as p1,a2 as f1,N as g1,am as b1,aU as k1,ab as A1,x as m1,aT as C1,p as S1}from"./Dyo489Aj.js";import{c as D1}from"./DUmGlkcv.js";import{aR as T1}from"./DXFg1wKa.js";var E1="flowchart-",y1=["laneRole","laneIndex","drawnExtent"];function Wt(s){if(!s||typeof s!="object")return s;const i={...s};for(const a of y1)Reflect.deleteProperty(i,a);return i}C(Wt,"withoutInternalKeys");var Pe,x1=(Pe=class{constructor(){this.vertexCounter=0,this.config=Ae(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=i1,this.setAccDescription=r1,this.setDiagramTitle=a1,this.getAccTitle=n1,this.getAccDescription=u1,this.getDiagramTitle=o1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return l1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,a,n,r,l,g,o={},m){if(!i||i.trim().length===0)return;let d;if(m!==void 0){let f;m.includes(`
|
|
2
2
|
`)?f=m+`
|
|
3
3
|
`:f=`{
|
|
4
4
|
`+m+`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{_ as ue,t as re,bo as v,bw as ne,b as se,bm as k}from"./C8Ie7Deo.js";import{Jq as pe}from"./CKmtKxD0.js";import{bs as ie,a7 as le,ay as X,aD as n,W as f,bn as oe,c9 as A,aA as h,a5 as U,bA as G,b_ as S,aB as P,bl as q,bO as K,bS as T,ca as de,bH as fe,bV as _e,aC as H}from"./3SdAC2_C.js";import{i as L}from"./D6XIvyP3.js";import{c as ge,e as me,f as te,g as ce,s as M}from"./D41qh-5f.js";import{m as ve}from"./2EufkTRJ.js";import{e as he}from"./DJbFr8xM.js";import{t as Ce}from"./DAsc1V4f.js";import{F as we}from"./Cuea3cpS.js";import{M as ke}from"./CYmtPuTl.js";import{b as be}from"./CReqoCJu.js";import{aO as xe}from"./8gAO4rBm.js";import{n as z,e as $,s as J}from"./hGZqfbJu.js";import{f as Se}from"./CHVFOL-2.js";import"./Dk2HcklO.js";function ut(r,t,c){if(r.metaKey||r.ctrlKey||!(r.currentTarget instanceof Element)||!r.currentTarget.closest("[data-assistant-panels]"))return!1;const e=pe.state.agentSessions.byAgentId[c]?.workspaceId??t,i=r.currentTarget.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId;return ue(async()=>{const{showAssistantContent:o}=await import("./qRbd1ibI.js");return{showAssistantContent:o}},__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]),import.meta.url).then(({showAssistantContent:o})=>o(`intent://local/${e}/agent/${c}`,{layoutId:i})),!0}var Te=P('<span class="text-subtle animate-pulse"> </span>'),ye=P('<span class="text-green-600 dark:text-green-400 flex items-center gap-0.5"><span class="opacity-70">+</span> <span> </span></span>'),Ee=P('<span class="text-red-600 dark:text-red-400 flex items-center gap-0.5"><span class="opacity-70">-</span> <span> </span></span>'),Ie=P('<span class="text-subtle"> </span>'),Me=P("<!> <!> <!>",1),Le=P("<div><!></div>");function Ae(r,t){if(new.target)return re({component:Ae,...r});ie(t,!0);let c=v(t,"additions",7,0),e=v(t,"deletions",7,0),i=v(t,"showZero",7,!1),o=v(t,"size",7,"sm"),g=v(t,"inline",7,!0),u=v(t,"loading",7,!1),d=v(t,"class",7,""),y=A(()=>i()||c()>0||e()>0||u()),R=A(()=>{switch(o()){case"xs":return"text-ui gap-1";case"sm":return"text-xs gap-1.5";case"md":return"text-sm gap-2";case"lg":return"text-base gap-2.5";default:return"text-xs gap-1.5"}});function B(a){return ve(a,{notation:"compact"})}var F={get additions(){return c()},set additions(a=0){c(a),h()},get deletions(){return e()},set deletions(a=0){e(a),h()},get showZero(){return i()},set showZero(a=!1){i(a),h()},get size(){return o()},set size(a="sm"){o(a),h()},get inline(){return g()},set inline(a=!0){g(a),h()},get loading(){return u()},set loading(a=!1){u(a),h()},get class(){return d()},set class(a=""){d(a),h()},$set:ne,$on:(a,w)=>se(t,a,w)},C=le(),D=X(C);{var p=a=>{var w=Le(),W=U(w);{var E=_=>{var m=Te(),N=q(m,!0);S(O=>K(N,O),[()=>k.shared_lineChangeStats_calculating_label()]),f(_,m)},V=_=>{var m=Me(),N=X(m);{var O=s=>{var l=ye(),b=T(U(l),2),I=q(b,!0);G(l),S(Y=>K(I,Y),[()=>B(c())]),f(s,l)};L(N,s=>{(c()>0||i())&&s(O)})}var Z=T(N,2);{var j=s=>{var l=Ee(),b=T(U(l),2),I=q(b,!0);G(l),S(Y=>K(I,Y),[()=>B(e())]),f(s,l)};L(Z,s=>{(e()>0||i())&&s(j)})}var x=T(Z,2);{var Q=s=>{var l=Ie(),b=q(l,!0);S(I=>K(b,I),[()=>k.shared_lineChangeStats_noChanges_label()]),f(s,l)};L(x,s=>{!c()&&!e()&&!i()&&s(Q)})}f(_,m)};L(W,_=>{u()?_(E):_(V,-1)})}G(w),S(_=>te(w,1,_),[()=>ge(me("whitespace-nowrap",g()?"inline-flex":"flex","items-center font-mono",n(R),d()))]),f(a,w)};L(D,a=>{n(y)&&a(p)})}return f(r,C),oe(F)}const Ne=new Map([["STRONG","strong"],["B","strong"],["EM","em"],["I","em"],["CODE","code"]]),Pe=new Set(["AUDIO","BUTTON","CANVAS","DETAILS","EMBED","HR","IFRAME","IMG","INPUT","OBJECT","PICTURE","PRE","SELECT","SVG","TABLE","TEXTAREA","VIDEO"]),Re=new Set(["ARTICLE","BLOCKQUOTE","DD","DIV","DT","FOOTER","H1","H2","H3","H4","H5","H6","HEADER","LI","P","SECTION"]);function De(r){return typeof Intl.Segmenter=="function"?Array.from(new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(r),({segment:t})=>t):Array.from(r)}function ee(r,t,c,e){for(const i of De(t.replace(/\s+/gu," "))){const o=i===" ";if(!(o&&(!e.hasText||e.lastWasSpace))){if(e.visibleLength>=c){if(o)return;e.truncated||r.append(document.createTextNode("…")),e.truncated=!0;return}r.append(document.createTextNode(i)),e.visibleLength+=1,e.hasText=!0,e.lastWasSpace=o}}}function ae(r,t,c,e){if(e.truncated)return;if(r.nodeType===Node.TEXT_NODE){ee(t,r.textContent??"",c,e);return}if(!(r instanceof HTMLElement)||Pe.has(r.tagName))return;if(r.tagName==="BR"){ee(t," ",c,e);return}const i=Ne.get(r.tagName);if(i){const o=document.createElement(i);t.append(o);for(const g of r.childNodes)ae(g,o,c,e);o.textContent||o.remove();return}Re.has(r.tagName)&&e.hasText&&ee(t," ",c,e);for(const o of r.childNodes)ae(o,t,c,e)}async function Oe(r,t=80){const c=await xe(r,{allowEmpty:!0,skipIfHTML:!1,preserveAnchors:!1,processPrimitives:!1,taskBlockRenderMode:"content"}),e=document.createElement("template");e.innerHTML=c;const i=document.createElement("span"),o={visibleLength:0,hasText:!1,lastWasSpace:!1,truncated:!1},g=Math.max(0,Math.floor(t));for(const u of e.content.childNodes)ae(u,i,g,o);return i.innerHTML.trim()}async function ze(r){const t=await Oe(r,Number.MAX_SAFE_INTEGER),c=document.createElement("span");return c.innerHTML=t,(c.textContent??"").replace(/<\/?[A-Za-z][^>]*>/gu,"").replace(/\s+/gu," ").trim()}var He=P('<span data-testid="agent-preview-tool-icon"><!></span>'),Be=P('<span><!> <span class="min-w-0 flex-1 truncate text-inherit opacity-[inherit]" data-testid="agent-preview-tool-text"> </span></span>');function Fe(r,t){if(new.target)return re({component:Fe,...r});ie(t,!0);const c=new Set(["figma","sentry","playwright","github","linear","slack","context7"]);let e=v(t,"toolUse",7),i=v(t,"animate",7,!1),o=v(t,"iconSize",7,12),g=v(t,"showIcon",7,!0),u=v(t,"class",7,"");const d=A(()=>be(e().name,e().input||{})),y=A(()=>[n(d).verb,n(d).subject,n(d).path].filter(Boolean).join(" ").trim()||n(d).verb||k.chat_previewToolLabel_tool_fallback());let R=_e("");de(()=>{const p=n(y);let a=!1;return ze(p).then(w=>{a||fe(R,w,!0)}),()=>{a=!0}});var B={get toolUse(){return e()},set toolUse(p){e(p),h()},get animate(){return i()},set animate(p=!1){i(p),h()},get iconSize(){return o()},set iconSize(p=12){o(p),h()},get showIcon(){return g()},set showIcon(p=!0){g(p),h()},get class(){return u()},set class(p=""){u(p),h()},$set:ne,$on:(p,a)=>se(t,p,a)},F=le(),C=X(F);{var D=p=>{var a=Be(),w=U(a);{var W=_=>{var m=He(),N=U(m);{var O=x=>{ke(x,{get iconName(){return n(d).mcpSource},get label(){return n(d).mcpSource},get size(){return o()}})},Z=A(()=>n(d).mcpSource&&c.has(n(d).mcpSource)),j=x=>{we(x,{get icon(){return n(d).icon},class:"h-full! w-full! text-inherit opacity-[inherit]"})};L(N,x=>{n(Z)?x(O):x(j,-1)})}G(m),S(()=>{te(m,1,`agent-preview-tool-icon inline-flex shrink-0 items-center justify-center text-inherit opacity-[inherit] ${i()?"animate-pulse":""}`,"svelte-115ywqs"),ce(m,`width: ${o()??""}px; height: ${o()??""}px;`)}),f(_,m)};L(w,_=>{g()&&_(W)})}var E=T(w,2),V=q(E,!0);he(E,(_,m)=>Ce?.(_,m),()=>n(R)),G(a),S(()=>{te(a,1,`type-body inline-flex w-full min-w-0 items-center font-normal ${g()?"gap-1.5":""} ${u()??""}`,"svelte-115ywqs"),K(V,n(R))}),f(p,a)};L(C,p=>{n(d).hidden||p(D)})}return f(r,F),oe(B)}var Ve=H('<circle cx="12" cy="12" r="10" stroke-width="2" fill="none"></circle>'),Ze=H('<path d="M7 12.5L10.5 16L17 9" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>'),qe=H('<path d="M5 19L19 5" stroke-width="2.5" stroke-linecap="round"></path>'),Ue=H('<path d="M13.1372 17.7135C13.1372 18.1682 12.9566 18.6042 12.6351 18.9257C12.3136 19.2472 11.8776 19.4278 11.4229 19.4278C10.9683 19.4278 10.5322 19.2472 10.2107 18.9257C9.88925 18.6042 9.70864 18.1682 9.70864 17.7135C9.70864 17.2589 9.88925 16.8228 10.2107 16.5014C10.5322 16.1799 10.9683 15.9993 11.4229 15.9993C11.8776 15.9993 12.3136 16.1799 12.6351 16.5014C12.9566 16.8228 13.1372 17.2589 13.1372 17.7135ZM10.2109 7.07297C10.3957 6.88872 10.6201 6.7491 10.8671 6.66473C11.114 6.58037 11.377 6.55349 11.6359 6.58615C11.8948 6.61881 12.1428 6.71015 12.361 6.8532C12.5793 6.99625 12.762 7.18724 12.8953 7.4116C13.0285 7.63597 13.1088 7.8878 13.1299 8.14789C13.1511 8.40799 13.1126 8.66948 13.0174 8.91244C12.9222 9.1554 12.7728 9.37342 12.5805 9.54988C12.3883 9.72634 12.1583 9.85659 11.9081 9.93068C11.1212 10.1604 10.1372 10.901 10.1372 12.1421V12.5707C10.1372 12.9117 10.2727 13.2387 10.5138 13.4798C10.7549 13.7209 11.0819 13.8564 11.4229 13.8564C11.7639 13.8564 12.0909 13.7209 12.3321 13.4798C12.5732 13.2387 12.7086 12.9117 12.7086 12.5707V12.3735C13.3281 12.1785 13.8952 11.8451 14.3669 11.3988C14.8387 10.9524 15.2029 10.4046 15.4319 9.79683C15.6609 9.18906 15.7487 8.53719 15.6888 7.89048C15.6289 7.24377 15.4228 6.61913 15.0861 6.06376C14.7494 5.50838 14.2908 5.03681 13.7451 4.68466C13.1994 4.33251 12.5808 4.10899 11.936 4.03101C11.2912 3.95302 10.6371 4.0226 10.0232 4.23449C9.40925 4.44638 8.8515 4.79503 8.39207 5.25411C8.26933 5.37277 8.17145 5.51469 8.10414 5.67158C8.03683 5.82848 8.00145 5.9972 8.00004 6.16792C7.99864 6.33864 8.03125 6.50792 8.09597 6.6659C8.16069 6.82388 8.25623 6.96739 8.37701 7.08805C8.49778 7.20871 8.64138 7.30411 8.79942 7.36868C8.95746 7.43326 9.12677 7.46571 9.29749 7.46414C9.4682 7.46258 9.6369 7.42703 9.79373 7.35958C9.95056 7.29212 10.0924 7.19411 10.2109 7.07125V7.07297Z" fill="white" class="origin-center"></path>'),Ge=H('<path d="M12 5.5V13.5" stroke="white" stroke-width="3" stroke-linecap="round"></path><circle cx="12" cy="17.5" r="1.6" fill="white" class="origin-center"></circle>',1),We=H('<path d="M11.6668 13.649C12.1044 13.649 12.5241 13.4751 12.8336 13.1656C13.1431 12.8562 13.3169 12.4365 13.3169 11.9988C13.3169 11.5611 13.1431 11.1414 12.8336 10.832C12.5241 10.5225 12.1044 10.3486 11.6668 10.3486C11.2291 10.3486 10.8094 10.5225 10.4999 10.832C10.1905 11.1414 10.0166 11.5611 10.0166 11.9988C10.0166 12.4365 10.1905 12.8562 10.4999 13.1656C10.8094 13.4751 11.2291 13.649 11.6668 13.649Z" fill="white" class="origin-center"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4.38506 12.3064C4.31566 12.1046 4.31566 11.8855 4.38506 11.6837C4.90912 10.1693 5.89241 8.85596 7.198 7.92665C8.50359 6.99734 10.0665 6.4983 11.669 6.49902C13.2716 6.49975 14.834 7.00021 16.1388 7.9307C17.4435 8.8612 18.4256 10.1754 18.9483 11.6903C19.0177 11.8921 19.0177 12.1112 18.9483 12.313C18.4245 13.8278 17.4412 15.1416 16.1355 16.0712C14.8298 17.0008 13.2666 17.5 11.6638 17.4993C10.0609 17.4986 8.49824 16.9979 7.19336 16.0671C5.88848 15.1363 4.90641 13.8217 4.38396 12.3064H4.38506ZM14.9681 11.9984C14.9681 12.8737 14.6204 13.7131 14.0015 14.3321C13.3825 14.951 12.5431 15.2987 11.6678 15.2987C10.7925 15.2987 9.95304 14.951 9.33411 14.3321C8.71517 13.7131 8.36746 12.8737 8.36746 11.9984C8.36746 11.1231 8.71517 10.2836 9.33411 9.66468C9.95304 9.04575 10.7925 8.69803 11.6678 8.69803C12.5431 8.69803 13.3825 9.04575 14.0015 9.66468C14.6204 10.2836 14.9681 11.1231 14.9681 11.9984Z" fill="white" class="origin-center"></path>',1),je=H('<svg viewBox="0 0 24 24" fill="none"><defs><clipPath><rect x="48%" y="0" width="100%" height="100%"></rect></clipPath></defs><circle cx="50%" cy="50%" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none origin-center"></circle><circle cx="50%" cy="50%" r="45%" stroke-width="2.5" fill="none" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none"></circle><!></svg>');function Ke(r,t){if(new.target)return re({component:Ke,...r});ie(t,!0);const c=new Set(["not_started","waiting","discussion_needed","blocked","in_progress","review_required","complete","cancelled"]);let e=v(t,"status",7),i=v(t,"size",7,16),o=v(t,"onclick",7);const g=Math.random().toString(36).substring(2,9);let u=A(()=>e()==="todo"?"not_started":e()==="in-progress"?"in_progress":e()==="done"?"complete":typeof e()=="string"&&c.has(e())?e():"unknown");const d={not_started:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},waiting:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},discussion_needed:{stroke:"#f59e0b",fill:"#f59e0b",innerCircleRPercentage:100},blocked:{stroke:"#ef4444",fill:"#ef4444",innerCircleRPercentage:100},in_progress:{stroke:"#00BCFF",fill:"#00BCFF",innerCircleRPercentage:55},review_required:{stroke:"#3b82f6",fill:"#3b82f6",innerCircleRPercentage:100},complete:{stroke:"#22c55e",fill:"#00BD7D",innerCircleRPercentage:100},cancelled:{stroke:"#99999966",fill:"#99999966",innerCircleRPercentage:0},unknown:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0}};let y=A(()=>d[n(u)]||d.not_started);const R={not_started:k.tiptap_taskStatus_notStarted_label,waiting:k.tiptap_taskStatus_waiting_label,discussion_needed:k.tiptap_taskStatus_discussionNeeded_label,blocked:k.tiptap_taskStatus_blocked_label,in_progress:k.tiptap_taskStatus_inProgress_label,review_required:k.tiptap_taskStatus_reviewRequired_label,complete:k.tiptap_taskStatus_complete_label,cancelled:k.tiptap_taskStatus_cancelled_label,unknown:k.tiptap_taskStatus_unknown_label};let B=A(()=>(R[n(u)]??k.tiptap_taskStatus_unknown_label)());var F={get status(){return e()},set status(C){e(C),h()},get size(){return i()},set size(C=16){i(C),h()},get onclick(){return o()},set onclick(C){o(C),h()},$set:ne,$on:(C,D)=>se(t,C,D)};{let C=A(()=>k.tiptap_taskStatus_status_tooltip({status:n(B)}));Se(r,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,class:"task-status-icon shrink-0 cursor-pointer bg-transparent border-0 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-primary-ink rounded-full",get style(){return`width: ${i()??""}px; height: ${i()??""}px;`},get onclick(){return o()},get title(){return n(C)},children:(D,p)=>{var a=je(),w=U(a),W=q(w),E=T(w),V=T(E),_=T(V);{var m=s=>{},N=s=>{var l=Ve();S(()=>M(l,"stroke",n(y).stroke)),f(s,l)},O=s=>{var l=Ze();z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},Z=s=>{var l=qe();S(()=>M(l,"stroke",n(y).stroke)),z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},j=s=>{var l=Ue();z(3,l,()=>J,()=>({tier:"slow"})),f(s,l)},x=s=>{var l=Ge(),b=X(l),I=T(b);z(3,b,()=>$,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)},Q=s=>{var l=We(),b=X(l),I=T(b);z(3,b,()=>J,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)};L(_,s=>{n(u)==="not_started"||n(u)==="waiting"?s(m):n(u)==="in_progress"?s(N,1):n(u)==="complete"?s(O,2):n(u)==="cancelled"?s(Z,3):n(u)==="discussion_needed"?s(j,4):n(u)==="blocked"?s(x,5):n(u)==="review_required"&&s(Q,6)})}G(a),S(()=>{M(a,"width",i()),M(a,"height",i()),ce(a,`width: ${i()??""}px; height: ${i()??""}px;`),M(W,"id",`half-clip-${g??""}`),M(E,"r",`${n(y).innerCircleRPercentage*.5}%`),M(E,"fill",n(y).fill),M(E,"clip-path",n(u)==="in_progress"?`url(#half-clip-${g})`:"none"),M(V,"stroke",n(y).stroke)}),f(D,a)},$$slots:{default:!0}})}return oe(F)}export{Fe as A,Ae as L,Ke as T,Oe as a,ut as o,ze as r};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/oHriEIAi.js","/app/immutable/chunks/DxxarOOi.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/Zs30783q.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/50l-lj9m.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/C600Ggsz.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/BXwdEeCG.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BfQPFCP7.js","/app/immutable/chunks/C0_snm4j.js","/app/immutable/chunks/Ch-D6DCZ.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/CAeNUoVv.js","/app/immutable/chunks/FC-pHBfg.js","/app/immutable/chunks/DkkzFfYK.js","/app/immutable/chunks/DzAQQ1i-.js","/app/immutable/chunks/D5eCb9SA.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BUT4El0L.js","/app/immutable/chunks/CruJ4jyB.js","/app/immutable/chunks/ByAetY4P.js","/app/immutable/chunks/BqJSWZOr.js","/app/immutable/chunks/BWsFbeUj.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/B5yEHkSy.js","/app/immutable/chunks/DSjVYlVX.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/BfdTnj-p.js","/app/immutable/chunks/CkbzWFJM.js","/app/immutable/chunks/D1E_1zhz.js","/app/immutable/chunks/DhNEeuS_.js","/app/immutable/chunks/Cij6f88k.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as ue,t as re,bo as v,bw as ne,b as se,bm as k}from"./DxxarOOi.js";import{Jq as pe}from"./Zs30783q.js";import{bs as ie,a7 as le,ay as X,aD as n,W as f,bn as oe,c9 as A,aA as h,a5 as U,bA as G,b_ as S,aB as P,bl as q,bO as K,bS as T,ca as de,bH as fe,bV as _e,aC as H}from"./3SdAC2_C.js";import{i as L}from"./DzAQQ1i-.js";import{c as ge,e as me,f as te,g as ce,s as M}from"./Ch-D6DCZ.js";import{m as ve}from"./BqJSWZOr.js";import{e as he}from"./BUT4El0L.js";import{t as Ce}from"./DAsc1V4f.js";import{F as we}from"./B5yEHkSy.js";import{M as ke}from"./DH7vXXdq.js";import{b as be}from"./BfdTnj-p.js";import{aO as xe}from"./DXFg1wKa.js";import{n as z,e as $,s as J}from"./DSjVYlVX.js";import{f as Se}from"./D5eCb9SA.js";import"./BfQPFCP7.js";function ut(r,t,c){if(r.metaKey||r.ctrlKey||!(r.currentTarget instanceof Element)||!r.currentTarget.closest("[data-assistant-panels]"))return!1;const e=pe.state.agentSessions.byAgentId[c]?.workspaceId??t,i=r.currentTarget.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId;return ue(async()=>{const{showAssistantContent:o}=await import("./oHriEIAi.js");return{showAssistantContent:o}},__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]),import.meta.url).then(({showAssistantContent:o})=>o(`intent://local/${e}/agent/${c}`,{layoutId:i})),!0}var Te=P('<span class="text-subtle animate-pulse"> </span>'),ye=P('<span class="text-green-600 dark:text-green-400 flex items-center gap-0.5"><span class="opacity-70">+</span> <span> </span></span>'),Ee=P('<span class="text-red-600 dark:text-red-400 flex items-center gap-0.5"><span class="opacity-70">-</span> <span> </span></span>'),Ie=P('<span class="text-subtle"> </span>'),Me=P("<!> <!> <!>",1),Le=P("<div><!></div>");function Ae(r,t){if(new.target)return re({component:Ae,...r});ie(t,!0);let c=v(t,"additions",7,0),e=v(t,"deletions",7,0),i=v(t,"showZero",7,!1),o=v(t,"size",7,"sm"),g=v(t,"inline",7,!0),u=v(t,"loading",7,!1),d=v(t,"class",7,""),y=A(()=>i()||c()>0||e()>0||u()),R=A(()=>{switch(o()){case"xs":return"text-ui gap-1";case"sm":return"text-xs gap-1.5";case"md":return"text-sm gap-2";case"lg":return"text-base gap-2.5";default:return"text-xs gap-1.5"}});function B(a){return ve(a,{notation:"compact"})}var F={get additions(){return c()},set additions(a=0){c(a),h()},get deletions(){return e()},set deletions(a=0){e(a),h()},get showZero(){return i()},set showZero(a=!1){i(a),h()},get size(){return o()},set size(a="sm"){o(a),h()},get inline(){return g()},set inline(a=!0){g(a),h()},get loading(){return u()},set loading(a=!1){u(a),h()},get class(){return d()},set class(a=""){d(a),h()},$set:ne,$on:(a,w)=>se(t,a,w)},C=le(),D=X(C);{var p=a=>{var w=Le(),W=U(w);{var E=_=>{var m=Te(),N=q(m,!0);S(O=>K(N,O),[()=>k.shared_lineChangeStats_calculating_label()]),f(_,m)},V=_=>{var m=Me(),N=X(m);{var O=s=>{var l=ye(),b=T(U(l),2),I=q(b,!0);G(l),S(Y=>K(I,Y),[()=>B(c())]),f(s,l)};L(N,s=>{(c()>0||i())&&s(O)})}var Z=T(N,2);{var j=s=>{var l=Ee(),b=T(U(l),2),I=q(b,!0);G(l),S(Y=>K(I,Y),[()=>B(e())]),f(s,l)};L(Z,s=>{(e()>0||i())&&s(j)})}var x=T(Z,2);{var Q=s=>{var l=Ie(),b=q(l,!0);S(I=>K(b,I),[()=>k.shared_lineChangeStats_noChanges_label()]),f(s,l)};L(x,s=>{!c()&&!e()&&!i()&&s(Q)})}f(_,m)};L(W,_=>{u()?_(E):_(V,-1)})}G(w),S(_=>te(w,1,_),[()=>ge(me("whitespace-nowrap",g()?"inline-flex":"flex","items-center font-mono",n(R),d()))]),f(a,w)};L(D,a=>{n(y)&&a(p)})}return f(r,C),oe(F)}const Ne=new Map([["STRONG","strong"],["B","strong"],["EM","em"],["I","em"],["CODE","code"]]),Pe=new Set(["AUDIO","BUTTON","CANVAS","DETAILS","EMBED","HR","IFRAME","IMG","INPUT","OBJECT","PICTURE","PRE","SELECT","SVG","TABLE","TEXTAREA","VIDEO"]),Re=new Set(["ARTICLE","BLOCKQUOTE","DD","DIV","DT","FOOTER","H1","H2","H3","H4","H5","H6","HEADER","LI","P","SECTION"]);function De(r){return typeof Intl.Segmenter=="function"?Array.from(new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(r),({segment:t})=>t):Array.from(r)}function ee(r,t,c,e){for(const i of De(t.replace(/\s+/gu," "))){const o=i===" ";if(!(o&&(!e.hasText||e.lastWasSpace))){if(e.visibleLength>=c){if(o)return;e.truncated||r.append(document.createTextNode("…")),e.truncated=!0;return}r.append(document.createTextNode(i)),e.visibleLength+=1,e.hasText=!0,e.lastWasSpace=o}}}function ae(r,t,c,e){if(e.truncated)return;if(r.nodeType===Node.TEXT_NODE){ee(t,r.textContent??"",c,e);return}if(!(r instanceof HTMLElement)||Pe.has(r.tagName))return;if(r.tagName==="BR"){ee(t," ",c,e);return}const i=Ne.get(r.tagName);if(i){const o=document.createElement(i);t.append(o);for(const g of r.childNodes)ae(g,o,c,e);o.textContent||o.remove();return}Re.has(r.tagName)&&e.hasText&&ee(t," ",c,e);for(const o of r.childNodes)ae(o,t,c,e)}async function Oe(r,t=80){const c=await xe(r,{allowEmpty:!0,skipIfHTML:!1,preserveAnchors:!1,processPrimitives:!1,taskBlockRenderMode:"content"}),e=document.createElement("template");e.innerHTML=c;const i=document.createElement("span"),o={visibleLength:0,hasText:!1,lastWasSpace:!1,truncated:!1},g=Math.max(0,Math.floor(t));for(const u of e.content.childNodes)ae(u,i,g,o);return i.innerHTML.trim()}async function ze(r){const t=await Oe(r,Number.MAX_SAFE_INTEGER),c=document.createElement("span");return c.innerHTML=t,(c.textContent??"").replace(/<\/?[A-Za-z][^>]*>/gu,"").replace(/\s+/gu," ").trim()}var He=P('<span data-testid="agent-preview-tool-icon"><!></span>'),Be=P('<span><!> <span class="min-w-0 flex-1 truncate text-inherit opacity-[inherit]" data-testid="agent-preview-tool-text"> </span></span>');function Fe(r,t){if(new.target)return re({component:Fe,...r});ie(t,!0);const c=new Set(["figma","sentry","playwright","github","linear","slack","context7"]);let e=v(t,"toolUse",7),i=v(t,"animate",7,!1),o=v(t,"iconSize",7,12),g=v(t,"showIcon",7,!0),u=v(t,"class",7,"");const d=A(()=>be(e().name,e().input||{})),y=A(()=>[n(d).verb,n(d).subject,n(d).path].filter(Boolean).join(" ").trim()||n(d).verb||k.chat_previewToolLabel_tool_fallback());let R=_e("");de(()=>{const p=n(y);let a=!1;return ze(p).then(w=>{a||fe(R,w,!0)}),()=>{a=!0}});var B={get toolUse(){return e()},set toolUse(p){e(p),h()},get animate(){return i()},set animate(p=!1){i(p),h()},get iconSize(){return o()},set iconSize(p=12){o(p),h()},get showIcon(){return g()},set showIcon(p=!0){g(p),h()},get class(){return u()},set class(p=""){u(p),h()},$set:ne,$on:(p,a)=>se(t,p,a)},F=le(),C=X(F);{var D=p=>{var a=Be(),w=U(a);{var W=_=>{var m=He(),N=U(m);{var O=x=>{ke(x,{get iconName(){return n(d).mcpSource},get label(){return n(d).mcpSource},get size(){return o()}})},Z=A(()=>n(d).mcpSource&&c.has(n(d).mcpSource)),j=x=>{we(x,{get icon(){return n(d).icon},class:"h-full! w-full! text-inherit opacity-[inherit]"})};L(N,x=>{n(Z)?x(O):x(j,-1)})}G(m),S(()=>{te(m,1,`agent-preview-tool-icon inline-flex shrink-0 items-center justify-center text-inherit opacity-[inherit] ${i()?"animate-pulse":""}`,"svelte-115ywqs"),ce(m,`width: ${o()??""}px; height: ${o()??""}px;`)}),f(_,m)};L(w,_=>{g()&&_(W)})}var E=T(w,2),V=q(E,!0);he(E,(_,m)=>Ce?.(_,m),()=>n(R)),G(a),S(()=>{te(a,1,`type-body inline-flex w-full min-w-0 items-center font-normal ${g()?"gap-1.5":""} ${u()??""}`,"svelte-115ywqs"),K(V,n(R))}),f(p,a)};L(C,p=>{n(d).hidden||p(D)})}return f(r,F),oe(B)}var Ve=H('<circle cx="12" cy="12" r="10" stroke-width="2" fill="none"></circle>'),Ze=H('<path d="M7 12.5L10.5 16L17 9" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>'),qe=H('<path d="M5 19L19 5" stroke-width="2.5" stroke-linecap="round"></path>'),Ue=H('<path d="M13.1372 17.7135C13.1372 18.1682 12.9566 18.6042 12.6351 18.9257C12.3136 19.2472 11.8776 19.4278 11.4229 19.4278C10.9683 19.4278 10.5322 19.2472 10.2107 18.9257C9.88925 18.6042 9.70864 18.1682 9.70864 17.7135C9.70864 17.2589 9.88925 16.8228 10.2107 16.5014C10.5322 16.1799 10.9683 15.9993 11.4229 15.9993C11.8776 15.9993 12.3136 16.1799 12.6351 16.5014C12.9566 16.8228 13.1372 17.2589 13.1372 17.7135ZM10.2109 7.07297C10.3957 6.88872 10.6201 6.7491 10.8671 6.66473C11.114 6.58037 11.377 6.55349 11.6359 6.58615C11.8948 6.61881 12.1428 6.71015 12.361 6.8532C12.5793 6.99625 12.762 7.18724 12.8953 7.4116C13.0285 7.63597 13.1088 7.8878 13.1299 8.14789C13.1511 8.40799 13.1126 8.66948 13.0174 8.91244C12.9222 9.1554 12.7728 9.37342 12.5805 9.54988C12.3883 9.72634 12.1583 9.85659 11.9081 9.93068C11.1212 10.1604 10.1372 10.901 10.1372 12.1421V12.5707C10.1372 12.9117 10.2727 13.2387 10.5138 13.4798C10.7549 13.7209 11.0819 13.8564 11.4229 13.8564C11.7639 13.8564 12.0909 13.7209 12.3321 13.4798C12.5732 13.2387 12.7086 12.9117 12.7086 12.5707V12.3735C13.3281 12.1785 13.8952 11.8451 14.3669 11.3988C14.8387 10.9524 15.2029 10.4046 15.4319 9.79683C15.6609 9.18906 15.7487 8.53719 15.6888 7.89048C15.6289 7.24377 15.4228 6.61913 15.0861 6.06376C14.7494 5.50838 14.2908 5.03681 13.7451 4.68466C13.1994 4.33251 12.5808 4.10899 11.936 4.03101C11.2912 3.95302 10.6371 4.0226 10.0232 4.23449C9.40925 4.44638 8.8515 4.79503 8.39207 5.25411C8.26933 5.37277 8.17145 5.51469 8.10414 5.67158C8.03683 5.82848 8.00145 5.9972 8.00004 6.16792C7.99864 6.33864 8.03125 6.50792 8.09597 6.6659C8.16069 6.82388 8.25623 6.96739 8.37701 7.08805C8.49778 7.20871 8.64138 7.30411 8.79942 7.36868C8.95746 7.43326 9.12677 7.46571 9.29749 7.46414C9.4682 7.46258 9.6369 7.42703 9.79373 7.35958C9.95056 7.29212 10.0924 7.19411 10.2109 7.07125V7.07297Z" fill="white" class="origin-center"></path>'),Ge=H('<path d="M12 5.5V13.5" stroke="white" stroke-width="3" stroke-linecap="round"></path><circle cx="12" cy="17.5" r="1.6" fill="white" class="origin-center"></circle>',1),We=H('<path d="M11.6668 13.649C12.1044 13.649 12.5241 13.4751 12.8336 13.1656C13.1431 12.8562 13.3169 12.4365 13.3169 11.9988C13.3169 11.5611 13.1431 11.1414 12.8336 10.832C12.5241 10.5225 12.1044 10.3486 11.6668 10.3486C11.2291 10.3486 10.8094 10.5225 10.4999 10.832C10.1905 11.1414 10.0166 11.5611 10.0166 11.9988C10.0166 12.4365 10.1905 12.8562 10.4999 13.1656C10.8094 13.4751 11.2291 13.649 11.6668 13.649Z" fill="white" class="origin-center"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4.38506 12.3064C4.31566 12.1046 4.31566 11.8855 4.38506 11.6837C4.90912 10.1693 5.89241 8.85596 7.198 7.92665C8.50359 6.99734 10.0665 6.4983 11.669 6.49902C13.2716 6.49975 14.834 7.00021 16.1388 7.9307C17.4435 8.8612 18.4256 10.1754 18.9483 11.6903C19.0177 11.8921 19.0177 12.1112 18.9483 12.313C18.4245 13.8278 17.4412 15.1416 16.1355 16.0712C14.8298 17.0008 13.2666 17.5 11.6638 17.4993C10.0609 17.4986 8.49824 16.9979 7.19336 16.0671C5.88848 15.1363 4.90641 13.8217 4.38396 12.3064H4.38506ZM14.9681 11.9984C14.9681 12.8737 14.6204 13.7131 14.0015 14.3321C13.3825 14.951 12.5431 15.2987 11.6678 15.2987C10.7925 15.2987 9.95304 14.951 9.33411 14.3321C8.71517 13.7131 8.36746 12.8737 8.36746 11.9984C8.36746 11.1231 8.71517 10.2836 9.33411 9.66468C9.95304 9.04575 10.7925 8.69803 11.6678 8.69803C12.5431 8.69803 13.3825 9.04575 14.0015 9.66468C14.6204 10.2836 14.9681 11.1231 14.9681 11.9984Z" fill="white" class="origin-center"></path>',1),je=H('<svg viewBox="0 0 24 24" fill="none"><defs><clipPath><rect x="48%" y="0" width="100%" height="100%"></rect></clipPath></defs><circle cx="50%" cy="50%" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none origin-center"></circle><circle cx="50%" cy="50%" r="45%" stroke-width="2.5" fill="none" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none"></circle><!></svg>');function Ke(r,t){if(new.target)return re({component:Ke,...r});ie(t,!0);const c=new Set(["not_started","waiting","discussion_needed","blocked","in_progress","review_required","complete","cancelled"]);let e=v(t,"status",7),i=v(t,"size",7,16),o=v(t,"onclick",7);const g=Math.random().toString(36).substring(2,9);let u=A(()=>e()==="todo"?"not_started":e()==="in-progress"?"in_progress":e()==="done"?"complete":typeof e()=="string"&&c.has(e())?e():"unknown");const d={not_started:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},waiting:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},discussion_needed:{stroke:"#f59e0b",fill:"#f59e0b",innerCircleRPercentage:100},blocked:{stroke:"#ef4444",fill:"#ef4444",innerCircleRPercentage:100},in_progress:{stroke:"#00BCFF",fill:"#00BCFF",innerCircleRPercentage:55},review_required:{stroke:"#3b82f6",fill:"#3b82f6",innerCircleRPercentage:100},complete:{stroke:"#22c55e",fill:"#00BD7D",innerCircleRPercentage:100},cancelled:{stroke:"#99999966",fill:"#99999966",innerCircleRPercentage:0},unknown:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0}};let y=A(()=>d[n(u)]||d.not_started);const R={not_started:k.tiptap_taskStatus_notStarted_label,waiting:k.tiptap_taskStatus_waiting_label,discussion_needed:k.tiptap_taskStatus_discussionNeeded_label,blocked:k.tiptap_taskStatus_blocked_label,in_progress:k.tiptap_taskStatus_inProgress_label,review_required:k.tiptap_taskStatus_reviewRequired_label,complete:k.tiptap_taskStatus_complete_label,cancelled:k.tiptap_taskStatus_cancelled_label,unknown:k.tiptap_taskStatus_unknown_label};let B=A(()=>(R[n(u)]??k.tiptap_taskStatus_unknown_label)());var F={get status(){return e()},set status(C){e(C),h()},get size(){return i()},set size(C=16){i(C),h()},get onclick(){return o()},set onclick(C){o(C),h()},$set:ne,$on:(C,D)=>se(t,C,D)};{let C=A(()=>k.tiptap_taskStatus_status_tooltip({status:n(B)}));Se(r,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,class:"task-status-icon shrink-0 cursor-pointer bg-transparent border-0 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-primary-ink rounded-full",get style(){return`width: ${i()??""}px; height: ${i()??""}px;`},get onclick(){return o()},get title(){return n(C)},children:(D,p)=>{var a=je(),w=U(a),W=q(w),E=T(w),V=T(E),_=T(V);{var m=s=>{},N=s=>{var l=Ve();S(()=>M(l,"stroke",n(y).stroke)),f(s,l)},O=s=>{var l=Ze();z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},Z=s=>{var l=qe();S(()=>M(l,"stroke",n(y).stroke)),z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},j=s=>{var l=Ue();z(3,l,()=>J,()=>({tier:"slow"})),f(s,l)},x=s=>{var l=Ge(),b=X(l),I=T(b);z(3,b,()=>$,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)},Q=s=>{var l=We(),b=X(l),I=T(b);z(3,b,()=>J,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)};L(_,s=>{n(u)==="not_started"||n(u)==="waiting"?s(m):n(u)==="in_progress"?s(N,1):n(u)==="complete"?s(O,2):n(u)==="cancelled"?s(Z,3):n(u)==="discussion_needed"?s(j,4):n(u)==="blocked"?s(x,5):n(u)==="review_required"&&s(Q,6)})}G(a),S(()=>{M(a,"width",i()),M(a,"height",i()),ce(a,`width: ${i()??""}px; height: ${i()??""}px;`),M(W,"id",`half-clip-${g??""}`),M(E,"r",`${n(y).innerCircleRPercentage*.5}%`),M(E,"fill",n(y).fill),M(E,"clip-path",n(u)==="in_progress"?`url(#half-clip-${g})`:"none"),M(V,"stroke",n(y).stroke)}),f(D,a)},$$slots:{default:!0}})}return oe(F)}export{Fe as A,Ae as L,Ke as T,Oe as a,ut as o,ze as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,aW as o}from"./
|
|
1
|
+
import{b as a,aW as o}from"./Dyo489Aj.js";var g=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./
|
|
1
|
+
import{l as e}from"./CGDwhMyu.js";const i={comments:{blockComment:["{/*","*/}"]},brackets:[["{","}"]],autoClosingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"“",close:"”"},{open:"‘",close:"’"},{open:"`",close:"`"},{open:"{",close:"}"},{open:"(",close:")"},{open:"_",close:"_"},{open:"**",close:"**"},{open:"<",close:">"}],onEnterRules:[{beforeText:/^\s*- .+/,action:{indentAction:e.IndentAction.None,appendText:"- "}},{beforeText:/^\s*\+ .+/,action:{indentAction:e.IndentAction.None,appendText:"+ "}},{beforeText:/^\s*\* .+/,action:{indentAction:e.IndentAction.None,appendText:"* "}},{beforeText:/^> /,action:{indentAction:e.IndentAction.None,appendText:"> "}},{beforeText:/<\w+/,action:{indentAction:e.IndentAction.Indent}},{beforeText:/\s+>\s*$/,action:{indentAction:e.IndentAction.Indent}},{beforeText:/<\/\w+>/,action:{indentAction:e.IndentAction.Outdent}},...Array.from({length:100},(n,t)=>({beforeText:new RegExp(`^${t}\\. .+`),action:{indentAction:e.IndentAction.None,appendText:`${t+1}. `}}))]},s={defaultToken:"",tokenPostfix:".mdx",control:/[!#()*+.[\\\]_`{}\-]/,escapes:/\\@control/,tokenizer:{root:[[/^---$/,{token:"meta.content",next:"@frontmatter",nextEmbedded:"yaml"}],[/^\s*import/,{token:"keyword",next:"@import",nextEmbedded:"js"}],[/^\s*export/,{token:"keyword",next:"@export",nextEmbedded:"js"}],[/<\w+/,{token:"type.identifier",next:"@jsx"}],[/<\/?\w+>/,"type.identifier"],[/^(\s*)(>*\s*)(#{1,6}\s)/,[{token:"white"},{token:"comment"},{token:"keyword",next:"@header"}]],[/^(\s*)(>*\s*)([*+-])(\s+)/,["white","comment","keyword","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(-{3,}|\*{3,}|_{3,})$/,["white","comment","keyword"]],[/`{3,}(\s.*)?$/,{token:"string",next:"@codeblock_backtick"}],[/~{3,}(\s.*)?$/,{token:"string",next:"@codeblock_tilde"}],[/`{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_backtick",nextEmbedded:"$1"}],[/~{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_tilde",nextEmbedded:"$1"}],[/^(\s*)(-{4,})$/,["white","comment"]],[/^(\s*)(>+)/,["white","comment"]],{include:"content"}],content:[[/(\[)(.+)(]\()(.+)(\s+".*")(\))/,["","string.link","","type.identifier","string.link",""]],[/(\[)(.+)(]\()(.+)(\))/,["","type.identifier","","string.link",""]],[/(\[)(.+)(]\[)(.+)(])/,["","type.identifier","","type.identifier",""]],[/(\[)(.+)(]:\s+)(\S*)/,["","type.identifier","","string.link"]],[/(\[)(.+)(])/,["","type.identifier",""]],[/`.*`/,"variable.source"],[/_/,{token:"emphasis",next:"@emphasis_underscore"}],[/\*(?!\*)/,{token:"emphasis",next:"@emphasis_asterisk"}],[/\*\*/,{token:"strong",next:"@strong"}],[/{/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}]],import:[[/'\s*(;|$)/,{token:"string",next:"@pop",nextEmbedded:"@pop"}]],expression:[[/{/,{token:"delimiter.bracket",next:"@expression"}],[/}/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],export:[[/^\s*$/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],jsx:[[/\s+/,""],[/(\w+)(=)("(?:[^"\\]|\\.)*")/,["attribute.name","operator","string"]],[/(\w+)(=)('(?:[^'\\]|\\.)*')/,["attribute.name","operator","string"]],[/(\w+(?=\s|>|={|$))/,["attribute.name"]],[/={/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}],[/>/,{token:"type.identifier",next:"@pop"}]],header:[[/.$/,{token:"keyword",next:"@pop"}],{include:"content"},[/./,{token:"keyword"}]],strong:[[/\*\*/,{token:"strong",next:"@pop"}],{include:"content"},[/./,{token:"strong"}]],emphasis_underscore:[[/_/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],emphasis_asterisk:[[/\*(?!\*)/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],frontmatter:[[/^---$/,{token:"meta.content",nextEmbedded:"@pop",next:"@pop"}]],codeblock_highlight_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_highlight_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblock_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]]}};export{i as conf,s as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as et,bo as h,bw as tt,bs as ee,bq as nt,b as ot,bm as M}from"./C8Ie7Deo.js";import{bs as it,bk as rt,a7 as Tt,ay as _e,aD as i,W as D,bn as at,c9 as xe,aA as v,a5 as K,bS as $,bl as Ce,bA as Y,b_ as me,bO as re,aB as te,cd as It,ca as P,bH as T,bj as Pt,bV as oe}from"./3SdAC2_C.js";import{i as Q}from"./D6XIvyP3.js";import{b as zt}from"./Dn334wJv.js";import{ensureMonacoInitialized as Ae,initializeMonaco as He,monaco as Nt}from"./CBNJqQCc.js";import{defineMonacoThemes as Ue,getActiveMonacoThemeName as ye}from"./EF-B7qSv.js";import{c as At}from"./ChTqQfQN.js";import{g as Ve,f as Vt}from"./D41qh-5f.js";import{Jq as st}from"./CKmtKxD0.js";import{f as Ge}from"./CHVFOL-2.js";import"./Dk2HcklO.js";import{F as Je,bd as Wt,bo as $t}from"./Cuea3cpS.js";import{i as Xe}from"./CL3a4Hm1.js";import{w as Ze}from"./Bqd7fdCF.js";import{dE as Dt,cy as Ot}from"./CReqoCJu.js";import{g as Rt}from"./DjwaFIuf.js";import{c as jt}from"./cplLJoH8.js";import{d as ie}from"./B0Z-1lwJ.js";import{g as Bt}from"./BA-uukBX.js";import{g as B,R as Ke,U as Ye}from"./B0Vj4qoa.js";const lt=st.createSelector(s=>s.agentFollow.isFollowing),qt=st.createSelector(s=>s.agentFollow.agentColor);var Ht=te('<div class="absolute top-2 right-2 flex items-center gap-2 px-2 py-1 rounded-md z-50 svelte-440ct6"><div></div> <span class="text-xs svelte-440ct6"> </span></div>');function ct(s,a){if(new.target)return et({component:ct,...s});it(a,!0);const f=()=>ee(ae,"$isFollowing$",C),k=()=>ee(z,"$agentColor$",C),[C,N]=nt(),ae=lt(),z=qt();let E=h(a,"content",15),l=h(a,"onContentChange",7),A=h(a,"isActive",7,!1),g=null,w=null,pe="";rt(()=>(window.addEventListener("agent-follow-animation",O),()=>{window.removeEventListener("agent-follow-animation",O),R()}));function O(c){if(!A()||!f())return;const b=c.detail;if(!b||typeof b.content!="string")return;const{content:F,isAddition:S,speed:I=30}=b;R(),S?he(F,I):ve(F,I)}function R(){g&&(g.abort(),g=null),w=null}async function he(c,b){g=new AbortController;const F=g.signal,S=c.split("");w=(async()=>{for(let I=0;I<S.length&&!F.aborted;I++){pe+=S[I],E(E()+S[I]),l()(E());const V=b+(Math.random()*10-5);await new Promise(H=>setTimeout(H,V))}})(),await w}async function ve(c,b){g=new AbortController;const F=g.signal,S=E().indexOf(c);if(S===-1)return;const I=E().slice(0,S),V=E().slice(S+c.length);w=(async()=>{for(let H=c.length;H>0&&!F.aborted;H--){const Me=c.slice(0,H-1);E(I+Me+V),l()(E());const ke=b*.7+(Math.random()*5-2.5);await new Promise(Ee=>setTimeout(Ee,ke))}})(),await w}let se=xe(()=>w!==null),x=xe(()=>i(se)?"animate-blink":"");var j={get content(){return E()},set content(c){E(c),v()},get onContentChange(){return l()},set onContentChange(c){l(c),v()},get isActive(){return A()},set isActive(c=!1){A(c),v()},$set:tt,$on:(c,b)=>ot(a,c,b)},ne=Tt(),le=_e(ne);{var q=c=>{var b=Ht(),F=K(b),S=$(F,2),I=Ce(S,!0);Y(b),me(V=>{Ve(b,`background: ${k()?.start??""}20; border: 1px solid ${k()?.start??""}40;`),Vt(F,1,`w-2 h-2 rounded-full ${i(x)??""}`,"svelte-440ct6"),Ve(F,`background: ${k()?.start??""};`),Ve(S,`color: ${k()?.start??""};`),re(I,V)},[()=>M.editor_typingAnimation_agentTyping_label()]),D(c,b)};Q(le,c=>{i(se)&&f()&&c(q)})}D(s,ne);var L=at(j);return N(),L}function En(s){const a=[];for(const f of s){let k=f.newStart;for(const C of f.lines)C.startsWith("+")?(a.push({line:k,type:"added"}),k++):C.startsWith("-")||C.startsWith(" ")&&k++}return a}function Ut(s,a){return a.map(f=>{const k=Gt(f.type),C=Jt(f.type);return{range:new s.Range(f.line,1,f.line,1),options:{isWholeLine:!1,linesDecorationsClassName:`line-change-indicator line-change-${f.type}`,overviewRuler:{color:k,position:s.editor.OverviewRulerLane.Left},glyphMarginHoverMessage:{value:C}}}})}function Gt(s){switch(s){case"added":return"#22c55e";case"modified":return"#3b82f6";case"deleted":return"#ef4444";default:return"#6b7280"}}function Jt(s){switch(s){case"added":return M.editor_lineChanges_added_tooltip();case"modified":return M.editor_lineChanges_modified_tooltip();case"deleted":return M.editor_lineChanges_deleted_tooltip();default:return M.editor_lineChanges_changed_tooltip()}}const Xt=[".d.mts",".d.cts",".d.ts",".mts",".cts",".tsx",".ts",".jsx",".mjs",".cjs",".js",".json"];function dt(s){return s.startsWith("/")?s:`/${s}`}function Zt(s){return s.replace(/[^a-zA-Z0-9_-]/g,"_")}function Kt(s,a){const f=dt(s),k=f.toLowerCase(),C=`.__editor_${Zt(a)}`,N=Xt.find(E=>k.endsWith(E));if(N)return`${f.slice(0,-N.length)}${C}${f.slice(-N.length)}`;const ae=f.lastIndexOf("/"),z=f.lastIndexOf(".");return z>ae?`${f.slice(0,z)}${C}${f.slice(z)}`:`${f}${C}`}function Yt(s){return dt(s)}var Qe=te("<!> ",1),Qt=te('<div class="mt-4 flex items-center justify-center gap-2"><!> <!></div>'),en=te('<div class="content-too-large svelte-2n2z1y"><div class="text-center space-y-4 max-w-md"><div class="text-subtle"><svg class="w-16 h-16 mx-auto mb-4 opacity-50" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg> <h3 class="text-lg font-medium mb-2"> </h3> <p class="text-sm"> </p> <!></div></div></div>'),tn=te('<div class="placeholder-overlay svelte-2n2z1y"><span class="text-subtle text-sm italic"> </span></div>'),nn=te('<!> <div class="native-scrollbars w-full h-full"></div> <!>',1),on=te('<div class="relative h-full w-full"><!></div>');function rn(s,a){if(new.target)return et({component:rn,...s});it(a,!0);const f=()=>ee(ut,"$workspaceById",z),k=()=>ee(ht,"$isFollowing$",z),C=()=>ee(I,"$isDarkTheme",z),N=()=>ee(S,"$codeFontFamilyCSS",z),ae=()=>ee(ft,"$isWorkspaceHostLocal$",z),[z,E]=nt(),l=At("CodeEditor"),A=500*1024;let g=h(a,"value",15,""),w=h(a,"language",7,"javascript"),pe=h(a,"theme",7,"light"),O=h(a,"readOnly",7,!1),R=h(a,"lineNumbers",7,!0),he=h(a,"highlightActiveLine",7,!0),ve=h(a,"diffMode",7,!1),se=h(a,"originalValue",7,""),x=h(a,"fileName",7,""),j=h(a,"lineWrapping",7,!0),ne=h(a,"jumpTo",7,void 0),le=h(a,"lineChanges",23,()=>[]),q=h(a,"workspaceId",7),L=h(a,"filePath",7),c=h(a,"placeholder",7),b=h(a,"isPanelFocused",7,!0),F=h(a,"externalContentVersion",7,0);const S=Rt(),I=jt(),V=Bt()?.workspaceId,H=typeof navigator<"u"&&navigator.platform?.startsWith("Win"),Me=typeof navigator<"u"&&(navigator.userAgentData?.platform==="macOS"||/Mac|iPhone|iPad|iPod/.test(navigator.userAgent)),ke=H?M.layout_panelTabBar_fileManagerExplorer_label():Me?M.layout_panelTabBar_fileManagerFinder_label():M.layout_panelTabBar_fileManagerGeneric_label(),Ee=xe(()=>q()??V??void 0),Le=It(q()??V??"");P(()=>{Le.set(q()??V??"")});const ut=Dt(Le),ft=Ot(Le),We=Ze("externalEditors"),$e=Ze("systemFileManager");function De(){return f()}let U=oe(!1),we=oe(0);function gt(e){return e<1024?M.editor_codeEditor_fileSizeBytes_label({size:e}):e<1024*1024?M.editor_codeEditor_fileSizeKb_label({size:(e/1024).toFixed(1)}):M.editor_codeEditor_fileSizeMb_label({size:(e/(1024*1024)).toFixed(1)})}async function mt(){if(!L()){l.error("Cannot open file: missing file path");return}let e;if(L().startsWith("/"))e=L();else{const n=De(),o=n?.worktreePath||n?.repositoryPath;if(!o){l.error("Cannot open file: missing workspace path for relative file path");return}e=`${o}/${L()}`}try{await Xe("vscode:openFile",{file:e})}catch(n){l.error("Failed to open file in VS Code:",n)}}async function pt(){if(!L()){l.error("Cannot reveal file: missing file path");return}let e;if(L().startsWith("/"))e=L();else{const n=De(),o=n?.worktreePath||n?.repositoryPath;if(!o){l.error("Cannot reveal file: missing workspace path for relative file path");return}e=`${o}/${L()}`}try{await Xe("shell:showItemInFolder",{path:e})}catch(n){l.error("Failed to reveal file:",n)}}let d=oe(void 0),t=null,G=null,J=oe(!1);const ht=lt();let Fe=xe(k),Oe=oe(0);const vt=`${Date.now()}-${Math.random().toString(36).slice(2)}`;let ce=[],Re;function de(e){if(typeof e=="string")return e;if(e==null)return"";try{return JSON.stringify(e,null,2)}catch{return String(e)}}function wt(e){const n=Ye.file(Yt(e));return B.getModel(n)?Ye.file(Kt(e,vt)):n}function Se(e,n){je();const o=L()||x();return o?(G=B.createModel(e,n,wt(o)),G):(G=B.createModel(e,n),G)}function je(){G&&(G.dispose(),G=null)}function Be(){if(t){try{t.dispose()}catch{}t=null,T(J,!1)}je()}let Te=oe(!1);P(()=>{const n=de(g()).length;n<=A?i(U)&&(l.debug("Content size now acceptable, resetting contentTooLarge",{fileName:x(),size:n,limit:A}),T(U,!1),T(we,0),T(Te,!0)):i(U)||(l.warn("Content too large for Monaco editor",{fileName:x(),size:n,limit:A}),T(U,!0),T(we,n,!0),t&&Be())}),P(()=>{i(Te)&&i(d)&&!t&&!i(U)&&(T(Te,!1),(async()=>{try{const e=de(g());if(await Ae(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}if(await He(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}Ue();const n=be(w()),o=ye(C());if(!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}const u=Se(e,n);t=B.create(i(d),{model:u,theme:o,readOnly:O(),lineNumbers:R()?"on":"off",lineNumbersMinChars:5,minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",overviewRulerLanes:0,scrollBeyondLastLine:!1,fontSize:13,fontFamily:N(),fontWeight:"500",fontLigatures:!0,guides:{indentation:!1},scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:10,horizontalScrollbarSize:10}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(m=>{const y=m.selection;if(!y.isEmpty()&&t?.hasTextFocus()){const r=t?.getModel()?.getValueInRange(y)||"";r&&ie("editor:selection-change",{text:r,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})}),l.debug("Editor re-initialized after contentTooLarge was cleared")}catch(e){l.error("Failed to initialize editor after contentTooLarge cleared:",e)}})())}),P(()=>{const e=de(g()),n=F(),o=n!==i(Oe);if(t){if(t.getValue()!==e&&(!i(Fe)||o)){const m=t.getPosition();t.setValue(e),m&&t.setPosition(m)}o&&t.getValue()===e&&T(Oe,n,!0)}}),P(()=>{const e=le();if(!t||!e||e.length===0){t&&ce.length>0&&(ce=t.deltaDecorations(ce,[]));return}const n=Ut(Nt,e);ce=t.deltaDecorations(ce,n)}),P(()=>{if(!t||!i(Fe))return;const e=n=>{const o=n.detail;if(!o||typeof o.content!="string")return;const{content:u,isAddition:m,lineNumber:y,column:_}=o;if(t)if(m){const r=y&&_?{lineNumber:y,column:_}:t.getPosition();if(r){const p=new Ke(r.lineNumber,r.column,r.lineNumber,r.column);t.executeEdits("agent-typing",[{range:p,text:u,forceMoveMarkers:!0}]);const W={lineNumber:r.lineNumber,column:r.column+u.length};t.setPosition(W),t.revealPositionInCenterIfOutsideViewport(W,0)}}else{const r=y&&_?{lineNumber:y,column:_}:t.getPosition();if(r&&u.length>0){const p=new Ke(r.lineNumber,Math.max(1,r.column-u.length),r.lineNumber,r.column);t.executeEdits("agent-typing",[{range:p,text:"",forceMoveMarkers:!0}]),t.revealPositionInCenterIfOutsideViewport(r,0)}}};return window.addEventListener("agent-follow-animation",e),()=>{window.removeEventListener("agent-follow-animation",e)}}),P(()=>{const e=w();if(t&&e){const n=be(e),o=t.getModel();o&&B.setModelLanguage(o,n)}}),P(()=>{const e=j();t&&t.updateOptions({wordWrap:e?"on":"off"})}),P(()=>{const e=N();t&&t.updateOptions({fontFamily:e})}),P(()=>{const e=C();t&&B.setTheme(ye(e))});function be(e){return{js:"javascript",ts:"typescript",jsx:"javascript",tsx:"typescript",py:"python",rs:"rust",html:"html",css:"css",scss:"scss",less:"less",json:"json",md:"markdown",yaml:"yaml",yml:"yaml",xml:"xml",cpp:"cpp",c:"c",java:"java",sh:"shell",bash:"shell",zsh:"shell",sql:"sql",svelte:"svelte",vue:"html",go:"go",rb:"ruby",php:"php",swift:"swift",kt:"kotlin",scala:"scala",r:"r",lua:"lua",dockerfile:"dockerfile",toml:"ini",ini:"ini",graphql:"graphql",gql:"graphql"}[e]||e}rt(async()=>{if(!i(d))return;try{const o=de(g());if(o.length>A){l.warn("Content too large for Monaco editor",{fileName:x(),size:o.length,limit:A}),T(U,!0),T(we,o.length,!0);return}if(await Ae(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}if(await He(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}Ue();const u=be(w()),m=ye(C());if(!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}const y=Se(o,u);t=B.create(i(d),{model:y,theme:m,readOnly:O(),lineNumbers:R()?"on":"off",lineNumbersMinChars:5,minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",overviewRulerLanes:0,scrollBeyondLastLine:!1,fontSize:13,fontFamily:N(),fontWeight:"500",fontLigatures:!0,guides:{indentation:!1},scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:10,horizontalScrollbarSize:10}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(_=>{const r=_.selection;if(!r.isEmpty()&&t?.hasTextFocus()){const W=t?.getModel()?.getValueInRange(r)||"";W&&ie("editor:selection-change",{text:W,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})})}catch(o){l.error("[CodeEditor] Failed to create Monaco editor:",o);try{await Ae();const u=de(g()),m=Se(u,be(w()));t=B.create(i(d),{model:m,theme:ye(C()),readOnly:O(),lineNumbers:R()?"on":"off",minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",fontFamily:N(),guides:{indentation:!1}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(y=>{const _=y.selection;if(!_.isEmpty()&&t?.hasTextFocus()){const p=t?.getModel()?.getValueInRange(_)||"";p&&ie("editor:selection-change",{text:p,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})})}catch(u){l.error("[CodeEditor] Failed to create fallback editor:",u)}}const e=o=>{if(t){const u=t.getScrollTop();o.detail.callback(u)}},n=o=>{o.detail.filePath&&o.detail.filePath!==x()||t&&typeof o.detail.scrollPosition=="number"&&requestAnimationFrame(()=>{t&&(t.setScrollTop(o.detail.scrollPosition),l.debug("[CodeEditor] Restored scroll position",{fileName:x(),scrollPosition:o.detail.scrollPosition}))})};window.addEventListener("file:save-scroll-position",e),window.addEventListener("file:restore-scroll-position",n),Re=()=>{window.removeEventListener("file:save-scroll-position",e),window.removeEventListener("file:restore-scroll-position",n)}});function bt(){if(t)try{return t.focus(),!0}catch(e){l.debug("[CodeEditor] Editor not ready for focus:",e)}return!1}function yt(e){if(!t||!t.hasTextFocus())return!1;const n={undo:"undo",redo:"redo",copy:"editor.action.clipboardCopyAction","select-all":"editor.action.selectAll"}[e];return t.trigger("shortcut-preferences",n,null),!0}Pt(()=>{Re?.(),Be()}),P(()=>{const e=ne(),n=i(J);if(!t||!e||!n)return;const o=Math.max(1,Math.floor(e.line??1)),u=Math.max(1,Math.floor(e.column??1)),y=t.getModel?.()?.getLineCount?.()??o,r={lineNumber:Math.min(o,y),column:u};try{t.setPosition(r),t.revealPositionInCenterIfOutsideViewport(r,0),t.focus()}catch{}}),P(()=>{if(!i(J)||!t)return;const n=()=>{t?.hasTextFocus()&&t.trigger("keyboard","editor.action.revealDefinition",{})};return window.addEventListener("editor:go-to-definition",n),()=>{window.removeEventListener("editor:go-to-definition",n)}}),P(()=>{if(!i(J)||!t)return;const n=o=>{const u=o.detail;!u?.line||!t||b()&&setTimeout(()=>{if(!t||!b())return;const m=Math.max(1,Math.floor(u.line)),_=t.getModel?.()?.getLineCount?.()??m,p={lineNumber:Math.min(m,_),column:1};try{t.focus(),t.setPosition(p),t.revealPositionInCenterIfOutsideViewport(p,0)}catch{}},100)};return window.addEventListener("workspace:go-to-line",n),()=>{window.removeEventListener("workspace:go-to-line",n)}});var _t={focus:bt,runShortcut:yt,get value(){return g()},set value(e=""){g(e),v()},get language(){return w()},set language(e="javascript"){w(e),v()},get theme(){return pe()},set theme(e="light"){pe(e),v()},get readOnly(){return O()},set readOnly(e=!1){O(e),v()},get lineNumbers(){return R()},set lineNumbers(e=!0){R(e),v()},get highlightActiveLine(){return he()},set highlightActiveLine(e=!0){he(e),v()},get diffMode(){return ve()},set diffMode(e=!1){ve(e),v()},get originalValue(){return se()},set originalValue(e=""){se(e),v()},get fileName(){return x()},set fileName(e=""){x(e),v()},get lineWrapping(){return j()},set lineWrapping(e=!0){j(e),v()},get jumpTo(){return ne()},set jumpTo(e=void 0){ne(e),v()},get lineChanges(){return le()},set lineChanges(e=[]){le(e),v()},get workspaceId(){return q()},set workspaceId(e){q(e),v()},get filePath(){return L()},set filePath(e){L(e),v()},get placeholder(){return c()},set placeholder(e){c(e),v()},get isPanelFocused(){return b()},set isPanelFocused(e=!0){b(e),v()},get externalContentVersion(){return F()},set externalContentVersion(e=0){F(e),v()},$set:tt,$on:(e,n)=>ot(a,e,n)},Ie=on(),Ct=K(Ie);{var xt=e=>{var n=en(),o=K(n),u=K(o),m=$(K(u),2),y=Ce(m,!0),_=$(m,2),r=Ce(_,!0),p=$(_,2);{var W=X=>{var ue=Qt(),qe=K(ue);{var Et=Z=>{Ge(Z,{variant:"secondary",size:"sm",onclick:mt,children:(Pe,St)=>{var fe=Qe(),ge=_e(fe);Je(ge,{get icon(){return Wt},class:"mr-2"});var ze=$(ge);me(Ne=>re(ze,` ${Ne??""}`),[()=>M.editor_codeEditor_openInVsCode_label()]),D(Pe,fe)},$$slots:{default:!0}})};Q(qe,Z=>{We&&Z(Et)})}var Lt=$(qe,2);{var Ft=Z=>{Ge(Z,{variant:"ghost",size:"sm",onclick:pt,children:(Pe,St)=>{var fe=Qe(),ge=_e(fe);Je(ge,{get icon(){return $t},class:"mr-2"});var ze=$(ge);me(Ne=>re(ze,` ${Ne??""}`),[()=>M.layout_panelTabBar_revealIn_label({fileManager:ke})]),D(Pe,fe)},$$slots:{default:!0}})};Q(Lt,Z=>{$e&&Z(Ft)})}Y(ue),D(X,ue)};Q(p,X=>{i(Ee)&&L()&&ae()&&(We||$e)&&X(W)})}Y(u),Y(o),Y(n),me((X,ue)=>{re(y,X),re(r,ue)},[()=>M.editor_codeEditor_fileTooLarge_title(),()=>M.editor_codeEditor_fileTooLarge_description({size:gt(i(we))})]),D(e,n)},Mt=e=>{var n=nn(),o=_e(n);{var u=r=>{ct(r,{onContentChange:p=>g(p),isActive:!0,get content(){return g()},set content(p){g(p)}})};Q(o,r=>{i(Fe)&&r(u)})}var m=$(o,2);zt(m,r=>T(d,r),()=>i(d));var y=$(m,2);{var _=r=>{var p=tn(),W=K(p),X=Ce(W,!0);Y(p),me(()=>re(X,c())),D(r,p)};Q(y,r=>{c()&&!g()&&r(_)})}D(e,n)};Q(Ct,e=>{i(U)?e(xt):e(Mt,-1)})}Y(Ie),D(s,Ie);var kt=at(_t);return E(),kt}export{rn as C,En as p};
|
|
1
|
+
import{t as et,bo as h,bw as tt,bs as ee,bq as nt,b as ot,bm as M}from"./DxxarOOi.js";import{bs as it,bk as rt,a7 as Tt,ay as _e,aD as i,W as D,bn as at,c9 as xe,aA as v,a5 as K,bS as $,bl as Ce,bA as Y,b_ as me,bO as re,aB as te,cd as It,ca as P,bH as T,bj as Pt,bV as oe}from"./3SdAC2_C.js";import{i as Q}from"./DzAQQ1i-.js";import{b as zt}from"./Dn334wJv.js";import{ensureMonacoInitialized as Ae,initializeMonaco as He,monaco as Nt}from"./DUaNnRvN.js";import{defineMonacoThemes as Ue,getActiveMonacoThemeName as ye}from"./Cft5DaOC.js";import{c as At}from"./ChTqQfQN.js";import{g as Ve,f as Vt}from"./Ch-D6DCZ.js";import{Jq as st}from"./Zs30783q.js";import{f as Ge}from"./D5eCb9SA.js";import"./BfQPFCP7.js";import{F as Je,bd as Wt,bo as $t}from"./B5yEHkSy.js";import{i as Xe}from"./CL3a4Hm1.js";import{w as Ze}from"./Bqd7fdCF.js";import{dE as Dt,cy as Ot}from"./BfdTnj-p.js";import{g as Rt}from"./CkbzWFJM.js";import{c as jt}from"./BWsFbeUj.js";import{d as ie}from"./B0Z-1lwJ.js";import{g as Bt}from"./D1F-b1I5.js";import{g as B,R as Ke,U as Ye}from"./CGDwhMyu.js";const lt=st.createSelector(s=>s.agentFollow.isFollowing),qt=st.createSelector(s=>s.agentFollow.agentColor);var Ht=te('<div class="absolute top-2 right-2 flex items-center gap-2 px-2 py-1 rounded-md z-50 svelte-440ct6"><div></div> <span class="text-xs svelte-440ct6"> </span></div>');function ct(s,a){if(new.target)return et({component:ct,...s});it(a,!0);const f=()=>ee(ae,"$isFollowing$",C),k=()=>ee(z,"$agentColor$",C),[C,N]=nt(),ae=lt(),z=qt();let E=h(a,"content",15),l=h(a,"onContentChange",7),A=h(a,"isActive",7,!1),g=null,w=null,pe="";rt(()=>(window.addEventListener("agent-follow-animation",O),()=>{window.removeEventListener("agent-follow-animation",O),R()}));function O(c){if(!A()||!f())return;const b=c.detail;if(!b||typeof b.content!="string")return;const{content:F,isAddition:S,speed:I=30}=b;R(),S?he(F,I):ve(F,I)}function R(){g&&(g.abort(),g=null),w=null}async function he(c,b){g=new AbortController;const F=g.signal,S=c.split("");w=(async()=>{for(let I=0;I<S.length&&!F.aborted;I++){pe+=S[I],E(E()+S[I]),l()(E());const V=b+(Math.random()*10-5);await new Promise(H=>setTimeout(H,V))}})(),await w}async function ve(c,b){g=new AbortController;const F=g.signal,S=E().indexOf(c);if(S===-1)return;const I=E().slice(0,S),V=E().slice(S+c.length);w=(async()=>{for(let H=c.length;H>0&&!F.aborted;H--){const Me=c.slice(0,H-1);E(I+Me+V),l()(E());const ke=b*.7+(Math.random()*5-2.5);await new Promise(Ee=>setTimeout(Ee,ke))}})(),await w}let se=xe(()=>w!==null),x=xe(()=>i(se)?"animate-blink":"");var j={get content(){return E()},set content(c){E(c),v()},get onContentChange(){return l()},set onContentChange(c){l(c),v()},get isActive(){return A()},set isActive(c=!1){A(c),v()},$set:tt,$on:(c,b)=>ot(a,c,b)},ne=Tt(),le=_e(ne);{var q=c=>{var b=Ht(),F=K(b),S=$(F,2),I=Ce(S,!0);Y(b),me(V=>{Ve(b,`background: ${k()?.start??""}20; border: 1px solid ${k()?.start??""}40;`),Vt(F,1,`w-2 h-2 rounded-full ${i(x)??""}`,"svelte-440ct6"),Ve(F,`background: ${k()?.start??""};`),Ve(S,`color: ${k()?.start??""};`),re(I,V)},[()=>M.editor_typingAnimation_agentTyping_label()]),D(c,b)};Q(le,c=>{i(se)&&f()&&c(q)})}D(s,ne);var L=at(j);return N(),L}function En(s){const a=[];for(const f of s){let k=f.newStart;for(const C of f.lines)C.startsWith("+")?(a.push({line:k,type:"added"}),k++):C.startsWith("-")||C.startsWith(" ")&&k++}return a}function Ut(s,a){return a.map(f=>{const k=Gt(f.type),C=Jt(f.type);return{range:new s.Range(f.line,1,f.line,1),options:{isWholeLine:!1,linesDecorationsClassName:`line-change-indicator line-change-${f.type}`,overviewRuler:{color:k,position:s.editor.OverviewRulerLane.Left},glyphMarginHoverMessage:{value:C}}}})}function Gt(s){switch(s){case"added":return"#22c55e";case"modified":return"#3b82f6";case"deleted":return"#ef4444";default:return"#6b7280"}}function Jt(s){switch(s){case"added":return M.editor_lineChanges_added_tooltip();case"modified":return M.editor_lineChanges_modified_tooltip();case"deleted":return M.editor_lineChanges_deleted_tooltip();default:return M.editor_lineChanges_changed_tooltip()}}const Xt=[".d.mts",".d.cts",".d.ts",".mts",".cts",".tsx",".ts",".jsx",".mjs",".cjs",".js",".json"];function dt(s){return s.startsWith("/")?s:`/${s}`}function Zt(s){return s.replace(/[^a-zA-Z0-9_-]/g,"_")}function Kt(s,a){const f=dt(s),k=f.toLowerCase(),C=`.__editor_${Zt(a)}`,N=Xt.find(E=>k.endsWith(E));if(N)return`${f.slice(0,-N.length)}${C}${f.slice(-N.length)}`;const ae=f.lastIndexOf("/"),z=f.lastIndexOf(".");return z>ae?`${f.slice(0,z)}${C}${f.slice(z)}`:`${f}${C}`}function Yt(s){return dt(s)}var Qe=te("<!> ",1),Qt=te('<div class="mt-4 flex items-center justify-center gap-2"><!> <!></div>'),en=te('<div class="content-too-large svelte-2n2z1y"><div class="text-center space-y-4 max-w-md"><div class="text-subtle"><svg class="w-16 h-16 mx-auto mb-4 opacity-50" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg> <h3 class="text-lg font-medium mb-2"> </h3> <p class="text-sm"> </p> <!></div></div></div>'),tn=te('<div class="placeholder-overlay svelte-2n2z1y"><span class="text-subtle text-sm italic"> </span></div>'),nn=te('<!> <div class="native-scrollbars w-full h-full"></div> <!>',1),on=te('<div class="relative h-full w-full"><!></div>');function rn(s,a){if(new.target)return et({component:rn,...s});it(a,!0);const f=()=>ee(ut,"$workspaceById",z),k=()=>ee(ht,"$isFollowing$",z),C=()=>ee(I,"$isDarkTheme",z),N=()=>ee(S,"$codeFontFamilyCSS",z),ae=()=>ee(ft,"$isWorkspaceHostLocal$",z),[z,E]=nt(),l=At("CodeEditor"),A=500*1024;let g=h(a,"value",15,""),w=h(a,"language",7,"javascript"),pe=h(a,"theme",7,"light"),O=h(a,"readOnly",7,!1),R=h(a,"lineNumbers",7,!0),he=h(a,"highlightActiveLine",7,!0),ve=h(a,"diffMode",7,!1),se=h(a,"originalValue",7,""),x=h(a,"fileName",7,""),j=h(a,"lineWrapping",7,!0),ne=h(a,"jumpTo",7,void 0),le=h(a,"lineChanges",23,()=>[]),q=h(a,"workspaceId",7),L=h(a,"filePath",7),c=h(a,"placeholder",7),b=h(a,"isPanelFocused",7,!0),F=h(a,"externalContentVersion",7,0);const S=Rt(),I=jt(),V=Bt()?.workspaceId,H=typeof navigator<"u"&&navigator.platform?.startsWith("Win"),Me=typeof navigator<"u"&&(navigator.userAgentData?.platform==="macOS"||/Mac|iPhone|iPad|iPod/.test(navigator.userAgent)),ke=H?M.layout_panelTabBar_fileManagerExplorer_label():Me?M.layout_panelTabBar_fileManagerFinder_label():M.layout_panelTabBar_fileManagerGeneric_label(),Ee=xe(()=>q()??V??void 0),Le=It(q()??V??"");P(()=>{Le.set(q()??V??"")});const ut=Dt(Le),ft=Ot(Le),We=Ze("externalEditors"),$e=Ze("systemFileManager");function De(){return f()}let U=oe(!1),we=oe(0);function gt(e){return e<1024?M.editor_codeEditor_fileSizeBytes_label({size:e}):e<1024*1024?M.editor_codeEditor_fileSizeKb_label({size:(e/1024).toFixed(1)}):M.editor_codeEditor_fileSizeMb_label({size:(e/(1024*1024)).toFixed(1)})}async function mt(){if(!L()){l.error("Cannot open file: missing file path");return}let e;if(L().startsWith("/"))e=L();else{const n=De(),o=n?.worktreePath||n?.repositoryPath;if(!o){l.error("Cannot open file: missing workspace path for relative file path");return}e=`${o}/${L()}`}try{await Xe("vscode:openFile",{file:e})}catch(n){l.error("Failed to open file in VS Code:",n)}}async function pt(){if(!L()){l.error("Cannot reveal file: missing file path");return}let e;if(L().startsWith("/"))e=L();else{const n=De(),o=n?.worktreePath||n?.repositoryPath;if(!o){l.error("Cannot reveal file: missing workspace path for relative file path");return}e=`${o}/${L()}`}try{await Xe("shell:showItemInFolder",{path:e})}catch(n){l.error("Failed to reveal file:",n)}}let d=oe(void 0),t=null,G=null,J=oe(!1);const ht=lt();let Fe=xe(k),Oe=oe(0);const vt=`${Date.now()}-${Math.random().toString(36).slice(2)}`;let ce=[],Re;function de(e){if(typeof e=="string")return e;if(e==null)return"";try{return JSON.stringify(e,null,2)}catch{return String(e)}}function wt(e){const n=Ye.file(Yt(e));return B.getModel(n)?Ye.file(Kt(e,vt)):n}function Se(e,n){je();const o=L()||x();return o?(G=B.createModel(e,n,wt(o)),G):(G=B.createModel(e,n),G)}function je(){G&&(G.dispose(),G=null)}function Be(){if(t){try{t.dispose()}catch{}t=null,T(J,!1)}je()}let Te=oe(!1);P(()=>{const n=de(g()).length;n<=A?i(U)&&(l.debug("Content size now acceptable, resetting contentTooLarge",{fileName:x(),size:n,limit:A}),T(U,!1),T(we,0),T(Te,!0)):i(U)||(l.warn("Content too large for Monaco editor",{fileName:x(),size:n,limit:A}),T(U,!0),T(we,n,!0),t&&Be())}),P(()=>{i(Te)&&i(d)&&!t&&!i(U)&&(T(Te,!1),(async()=>{try{const e=de(g());if(await Ae(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}if(await He(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}Ue();const n=be(w()),o=ye(C());if(!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}const u=Se(e,n);t=B.create(i(d),{model:u,theme:o,readOnly:O(),lineNumbers:R()?"on":"off",lineNumbersMinChars:5,minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",overviewRulerLanes:0,scrollBeyondLastLine:!1,fontSize:13,fontFamily:N(),fontWeight:"500",fontLigatures:!0,guides:{indentation:!1},scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:10,horizontalScrollbarSize:10}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(m=>{const y=m.selection;if(!y.isEmpty()&&t?.hasTextFocus()){const r=t?.getModel()?.getValueInRange(y)||"";r&&ie("editor:selection-change",{text:r,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})}),l.debug("Editor re-initialized after contentTooLarge was cleared")}catch(e){l.error("Failed to initialize editor after contentTooLarge cleared:",e)}})())}),P(()=>{const e=de(g()),n=F(),o=n!==i(Oe);if(t){if(t.getValue()!==e&&(!i(Fe)||o)){const m=t.getPosition();t.setValue(e),m&&t.setPosition(m)}o&&t.getValue()===e&&T(Oe,n,!0)}}),P(()=>{const e=le();if(!t||!e||e.length===0){t&&ce.length>0&&(ce=t.deltaDecorations(ce,[]));return}const n=Ut(Nt,e);ce=t.deltaDecorations(ce,n)}),P(()=>{if(!t||!i(Fe))return;const e=n=>{const o=n.detail;if(!o||typeof o.content!="string")return;const{content:u,isAddition:m,lineNumber:y,column:_}=o;if(t)if(m){const r=y&&_?{lineNumber:y,column:_}:t.getPosition();if(r){const p=new Ke(r.lineNumber,r.column,r.lineNumber,r.column);t.executeEdits("agent-typing",[{range:p,text:u,forceMoveMarkers:!0}]);const W={lineNumber:r.lineNumber,column:r.column+u.length};t.setPosition(W),t.revealPositionInCenterIfOutsideViewport(W,0)}}else{const r=y&&_?{lineNumber:y,column:_}:t.getPosition();if(r&&u.length>0){const p=new Ke(r.lineNumber,Math.max(1,r.column-u.length),r.lineNumber,r.column);t.executeEdits("agent-typing",[{range:p,text:"",forceMoveMarkers:!0}]),t.revealPositionInCenterIfOutsideViewport(r,0)}}};return window.addEventListener("agent-follow-animation",e),()=>{window.removeEventListener("agent-follow-animation",e)}}),P(()=>{const e=w();if(t&&e){const n=be(e),o=t.getModel();o&&B.setModelLanguage(o,n)}}),P(()=>{const e=j();t&&t.updateOptions({wordWrap:e?"on":"off"})}),P(()=>{const e=N();t&&t.updateOptions({fontFamily:e})}),P(()=>{const e=C();t&&B.setTheme(ye(e))});function be(e){return{js:"javascript",ts:"typescript",jsx:"javascript",tsx:"typescript",py:"python",rs:"rust",html:"html",css:"css",scss:"scss",less:"less",json:"json",md:"markdown",yaml:"yaml",yml:"yaml",xml:"xml",cpp:"cpp",c:"c",java:"java",sh:"shell",bash:"shell",zsh:"shell",sql:"sql",svelte:"svelte",vue:"html",go:"go",rb:"ruby",php:"php",swift:"swift",kt:"kotlin",scala:"scala",r:"r",lua:"lua",dockerfile:"dockerfile",toml:"ini",ini:"ini",graphql:"graphql",gql:"graphql"}[e]||e}rt(async()=>{if(!i(d))return;try{const o=de(g());if(o.length>A){l.warn("Content too large for Monaco editor",{fileName:x(),size:o.length,limit:A}),T(U,!0),T(we,o.length,!0);return}if(await Ae(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}if(await He(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}Ue();const u=be(w()),m=ye(C());if(!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}const y=Se(o,u);t=B.create(i(d),{model:y,theme:m,readOnly:O(),lineNumbers:R()?"on":"off",lineNumbersMinChars:5,minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",overviewRulerLanes:0,scrollBeyondLastLine:!1,fontSize:13,fontFamily:N(),fontWeight:"500",fontLigatures:!0,guides:{indentation:!1},scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:10,horizontalScrollbarSize:10}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(_=>{const r=_.selection;if(!r.isEmpty()&&t?.hasTextFocus()){const W=t?.getModel()?.getValueInRange(r)||"";W&&ie("editor:selection-change",{text:W,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})})}catch(o){l.error("[CodeEditor] Failed to create Monaco editor:",o);try{await Ae();const u=de(g()),m=Se(u,be(w()));t=B.create(i(d),{model:m,theme:ye(C()),readOnly:O(),lineNumbers:R()?"on":"off",minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",fontFamily:N(),guides:{indentation:!1}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(y=>{const _=y.selection;if(!_.isEmpty()&&t?.hasTextFocus()){const p=t?.getModel()?.getValueInRange(_)||"";p&&ie("editor:selection-change",{text:p,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})})}catch(u){l.error("[CodeEditor] Failed to create fallback editor:",u)}}const e=o=>{if(t){const u=t.getScrollTop();o.detail.callback(u)}},n=o=>{o.detail.filePath&&o.detail.filePath!==x()||t&&typeof o.detail.scrollPosition=="number"&&requestAnimationFrame(()=>{t&&(t.setScrollTop(o.detail.scrollPosition),l.debug("[CodeEditor] Restored scroll position",{fileName:x(),scrollPosition:o.detail.scrollPosition}))})};window.addEventListener("file:save-scroll-position",e),window.addEventListener("file:restore-scroll-position",n),Re=()=>{window.removeEventListener("file:save-scroll-position",e),window.removeEventListener("file:restore-scroll-position",n)}});function bt(){if(t)try{return t.focus(),!0}catch(e){l.debug("[CodeEditor] Editor not ready for focus:",e)}return!1}function yt(e){if(!t||!t.hasTextFocus())return!1;const n={undo:"undo",redo:"redo",copy:"editor.action.clipboardCopyAction","select-all":"editor.action.selectAll"}[e];return t.trigger("shortcut-preferences",n,null),!0}Pt(()=>{Re?.(),Be()}),P(()=>{const e=ne(),n=i(J);if(!t||!e||!n)return;const o=Math.max(1,Math.floor(e.line??1)),u=Math.max(1,Math.floor(e.column??1)),y=t.getModel?.()?.getLineCount?.()??o,r={lineNumber:Math.min(o,y),column:u};try{t.setPosition(r),t.revealPositionInCenterIfOutsideViewport(r,0),t.focus()}catch{}}),P(()=>{if(!i(J)||!t)return;const n=()=>{t?.hasTextFocus()&&t.trigger("keyboard","editor.action.revealDefinition",{})};return window.addEventListener("editor:go-to-definition",n),()=>{window.removeEventListener("editor:go-to-definition",n)}}),P(()=>{if(!i(J)||!t)return;const n=o=>{const u=o.detail;!u?.line||!t||b()&&setTimeout(()=>{if(!t||!b())return;const m=Math.max(1,Math.floor(u.line)),_=t.getModel?.()?.getLineCount?.()??m,p={lineNumber:Math.min(m,_),column:1};try{t.focus(),t.setPosition(p),t.revealPositionInCenterIfOutsideViewport(p,0)}catch{}},100)};return window.addEventListener("workspace:go-to-line",n),()=>{window.removeEventListener("workspace:go-to-line",n)}});var _t={focus:bt,runShortcut:yt,get value(){return g()},set value(e=""){g(e),v()},get language(){return w()},set language(e="javascript"){w(e),v()},get theme(){return pe()},set theme(e="light"){pe(e),v()},get readOnly(){return O()},set readOnly(e=!1){O(e),v()},get lineNumbers(){return R()},set lineNumbers(e=!0){R(e),v()},get highlightActiveLine(){return he()},set highlightActiveLine(e=!0){he(e),v()},get diffMode(){return ve()},set diffMode(e=!1){ve(e),v()},get originalValue(){return se()},set originalValue(e=""){se(e),v()},get fileName(){return x()},set fileName(e=""){x(e),v()},get lineWrapping(){return j()},set lineWrapping(e=!0){j(e),v()},get jumpTo(){return ne()},set jumpTo(e=void 0){ne(e),v()},get lineChanges(){return le()},set lineChanges(e=[]){le(e),v()},get workspaceId(){return q()},set workspaceId(e){q(e),v()},get filePath(){return L()},set filePath(e){L(e),v()},get placeholder(){return c()},set placeholder(e){c(e),v()},get isPanelFocused(){return b()},set isPanelFocused(e=!0){b(e),v()},get externalContentVersion(){return F()},set externalContentVersion(e=0){F(e),v()},$set:tt,$on:(e,n)=>ot(a,e,n)},Ie=on(),Ct=K(Ie);{var xt=e=>{var n=en(),o=K(n),u=K(o),m=$(K(u),2),y=Ce(m,!0),_=$(m,2),r=Ce(_,!0),p=$(_,2);{var W=X=>{var ue=Qt(),qe=K(ue);{var Et=Z=>{Ge(Z,{variant:"secondary",size:"sm",onclick:mt,children:(Pe,St)=>{var fe=Qe(),ge=_e(fe);Je(ge,{get icon(){return Wt},class:"mr-2"});var ze=$(ge);me(Ne=>re(ze,` ${Ne??""}`),[()=>M.editor_codeEditor_openInVsCode_label()]),D(Pe,fe)},$$slots:{default:!0}})};Q(qe,Z=>{We&&Z(Et)})}var Lt=$(qe,2);{var Ft=Z=>{Ge(Z,{variant:"ghost",size:"sm",onclick:pt,children:(Pe,St)=>{var fe=Qe(),ge=_e(fe);Je(ge,{get icon(){return $t},class:"mr-2"});var ze=$(ge);me(Ne=>re(ze,` ${Ne??""}`),[()=>M.layout_panelTabBar_revealIn_label({fileManager:ke})]),D(Pe,fe)},$$slots:{default:!0}})};Q(Lt,Z=>{$e&&Z(Ft)})}Y(ue),D(X,ue)};Q(p,X=>{i(Ee)&&L()&&ae()&&(We||$e)&&X(W)})}Y(u),Y(o),Y(n),me((X,ue)=>{re(y,X),re(r,ue)},[()=>M.editor_codeEditor_fileTooLarge_title(),()=>M.editor_codeEditor_fileTooLarge_description({size:gt(i(we))})]),D(e,n)},Mt=e=>{var n=nn(),o=_e(n);{var u=r=>{ct(r,{onContentChange:p=>g(p),isActive:!0,get content(){return g()},set content(p){g(p)}})};Q(o,r=>{i(Fe)&&r(u)})}var m=$(o,2);zt(m,r=>T(d,r),()=>i(d));var y=$(m,2);{var _=r=>{var p=tn(),W=K(p),X=Ce(W,!0);Y(p),me(()=>re(X,c())),D(r,p)};Q(y,r=>{c()&&!g()&&r(_)})}D(e,n)};Q(Ct,e=>{i(U)?e(xt):e(Mt,-1)})}Y(Ie),D(s,Ie);var kt=at(_t);return E(),kt}export{rn as C,En as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as M}from"./B5aYN90J.js";import{a as v}from"./BdWqymET.js";import{d as E}from"./
|
|
1
|
+
import{C as M}from"./B5aYN90J.js";import{a as v}from"./BdWqymET.js";import{d as E}from"./BXwdEeCG.js";import{Jq as o,Em as D,DJ as _,m as A,vn as O,uZ as C,ga as H,C$ as L,Dh as P,Fm as R,D3 as x}from"./Zs30783q.js";import{b8 as p}from"./BfdTnj-p.js";import{d as F}from"./B0Z-1lwJ.js";import{n as q}from"./fvPmV5Gi.js";import{o as B,e as W}from"./GfYLoKaL.js";const u=new v("OpenMessage"),S=150,y=15e3,N=2,G=[150,400,800,1500,3e3],Y=M;let g;function k(e){return new Promise(t=>setTimeout(t,e))}function m(e,t){const s=o.state,n=s.agentSessions?.byAgentId[e]?.messages,a=s.agentSessions?.historySegmentsByAgentId?.[e]?.messages;return!!(n?.some(r=>r.id===t)||a?.some(r=>r.id===t))}function T(e,t){const s=o.state,n=s.agentSessions?.historySegmentsByAgentId?.[e];n?.detachedFromTail!==!0||n.messages.some(r=>r.id===t)||!s.agentSessions?.byAgentId[e]?.messages?.some(r=>r.id===t)||o.dispatch(H(e))}function $(e){return o.state.chatState?.byAgentId[e]?.transcriptHydration}async function J(e,t,s){const n=Date.now()+y;let a=0;for(;Date.now()<n;){if(s.aborted)return!1;if(m(e,t))return!0;if(a>=N&&$(e)==="settled"&&!p.select(o.state,e).initialHistoryPending)return!1;a++,await k(S)}return!s.aborted&&m(e,t)}async function K(e,t,s,n){const a=Date.now()+y;for(;p.select(o.state,e).initialHistoryPending;){if(n?.aborted||Date.now()>=a)return!1;await k(S)}const r=o.state.agentSessions?.byAgentId[e];if(!r||n?.aborted)return!1;if(m(e,t))return T(e,t),!0;s??=r.workspaceId;const l=p.select(o.state,e);let c={nextToken:l.scrollbackOlderToken,prevToken:l.scrollbackGapToken,olderAnchorId:l.scrollbackOlderTokenAnchorId};o.dispatch(L(e,"seek"));const d=p.select(o.state,e).scrollbackDiscardEpoch,f=()=>!!o.state.agentSessions?.byAgentId[e]&&p.select(o.state,e).scrollbackDiscardEpoch===d;try{const i=await E.agents.getConversation(e,Y,void 0,t,void 0,s);return n?.aborted||!f()||!i.messages.some(h=>h.id===t)?!1:(o.dispatch(P(e,i.messages,i.messages[0]?.seq)),i.nextToken===null&&o.dispatch(R(e)),c={nextToken:i.nextToken,prevToken:i.prevToken,olderAnchorId:i.messages[0]?.id??null},m(e,t))}catch(i){return u.warn("[seekConversationToMessage] Seek fetch failed (message may no longer exist)",{agentId:e,messageId:t,error:i}),!1}finally{f()&&o.dispatch(x(e,c))}}async function ee(e){if(e.signal?.aborted)return;g?.abort(),g=new AbortController;const t=e.signal?AbortSignal.any([g.signal,e.signal]):g.signal,{workspaceId:s,agentId:n,messageId:a,query:r,targetTabId:l}=e;u.info("[openMessage] Deep-opening conversation at message",{workspaceId:s,agentId:n,messageId:a});const c=s===A;c&&!e.contentAlreadyOpen&&(o.dispatch(D(n)),o.dispatch(_(A,n)),o.dispatch(O("chief")));const d=c?"/":W(s);if(!e.contentAlreadyOpen&&typeof window<"u"&&window.location.pathname!==d){try{c?await q(d):await B(s)}catch(w){u.warn("[openMessage] Workspace navigation failed",{workspaceId:s,error:w});return}if(t.aborted)return;if(window.location.pathname!==d){u.warn("[openMessage] Workspace navigation was not confirmed",{workspaceId:s});return}}!e.contentAlreadyOpen&&!c&&o.dispatch(C(s,{agentId:n}));const f=await J(n,a,t);f&&T(n,a);const i=f||await K(n,a,s,t);if(t.aborted)return;if(!i){u.warn("[openMessage] Message not found; conversation opened at tail",{agentId:n,messageId:a});return}const h=`open-message-${Date.now()}-${Math.random().toString(36).slice(2)}`,b={agentId:n,messageId:a,query:r,targetTabId:l,requestId:h,signal:t};for(const w of G)setTimeout(()=>{t.aborted||F("chat:open-message",b)},w)}export{ee as openMessage,K as seekConversationToMessage};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as p,r as u,d as n}from"./
|
|
1
|
+
import{g as p,r as u,d as n}from"./DCwrIUyt.js";import{p as f}from"./B3pPpWYK.js";import{b as a,ay as o}from"./Dyo489Aj.js";import{M as c,c as d}from"./Co5Wv5vC.js";var v=d().RailroadAbnf.parser.LangiumParser,i=a(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=a(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=a(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=a(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=a(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=a(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=a(e=>{f(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(P(r)))},"populateDb"),R={parse:a(e=>{n.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:n}},w={parser:R,db:n,renderer:u,styles:p};export{w as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as d}from"./
|
|
1
|
+
import{h as d}from"./BqJSWZOr.js";import{bm as t}from"./DxxarOOi.js";import{Jq as n,nV as m,pb as _}from"./Zs30783q.js";import{c2 as h,aZ as g}from"./BfdTnj-p.js";import{R as H}from"./C7PhRIIZ.js";import{w as f,m as w,e as b}from"./DgNmFGXj.js";function u(e){return e.lastBackupAt?d(e.lastBackupAt):""}function k(e){if(e.starting)return t.workspaceHome_starting_label();if(e.state==="moving")return t.workspaceHome_banner_moving();if(e.unknownState)return t.workspaceHome_banner_detachedNoBackup({name:e.name});const o=u(e);return o?t.workspaceHome_banner_detached({name:e.name,time:o}):t.workspaceHome_banner_detachedNoBackup({name:e.name})}function A(e){return e?.unavailable?k(e):null}function y(e){if(e.banner==="detached"||e.banner==="moving")return k(e);if(e.banner!=="backupWarning")return"";const o=u(e);return o?t.workspaceHome_banner_backupWarning({name:e.name,time:o}):t.workspaceHome_banner_backupWarningNoBackup({name:e.name})}function R(e){switch(e.setup?.phase){case"preparing":case"runningSetup":return t.workspaceHome_opening_title({name:e.name});case"openFailed":return t.workspaceHome_openFailed_title({name:e.name});case"setupFailed":return t.remoteAgent_notice_setupFailed_title({machine:e.name});default:return""}}function N(e){const o=e.setup;switch(o?.phase){case"preparing":return t.remoteAgent_status_preparingCheckout();case"runningSetup":return t.remoteAgent_status_runningSetup();case"openFailed":return t.workspaceHome_openFailed_hint({name:e.name});case"setupFailed":return o.exitCode!==null?t.workspaceHome_setupFailed_exitCode({code:String(o.exitCode)}):o.timedOut?t.workspaceHome_setupFailed_timeout():t.workspaceHome_setupFailed_generic();default:return null}}function D(e){const o=e.setup,r=o?.phase==="openFailed"||o?.phase==="setupFailed"?o.error:null;return r&&r.replace(/^[a-z][a-z0-9-]*:\s*/,"").trim()||null}function E(e){return e==="detached"?t.workspaceHome_marker_detached():t.workspaceHome_marker_moving()}function V(e){const o=u(e);return o?t.workspaceHome_header_lastBackup({time:o}):null}function C(e){if(!e.moveWarning)return null;const o=u(e);return o?t.workspaceHome_moveDialog_warning({name:e.name,time:o}):t.workspaceHome_moveDialog_warningNoBackup({name:e.name})}function q(e){switch(e.code){case"forbidden":return t.workspaceHome_moveError_forbidden();case"homes-unsupported":return t.workspaceHome_moveError_homesUnsupported();case"home-moving":return t.workspaceHome_moveError_homeMoving();case"home-target-unavailable":return t.workspaceHome_moveError_targetUnavailable();case"machine-update-required":return t.workspaceHome_moveError_updateRequired();default:return t.workspaceHome_moveError_failed({message:e.message})}}const i=new WeakMap,S=n.createSelector((e,o)=>{const r=m(e.workspace.workspaces,o),a=r?.home;if(!a)return null;const s=i.get(a);if(s)return s;const c=f(r);return c&&i.set(a,c),c}),L=n.createSelector((e,o)=>w(m(e.workspace.workspaces,o),!h.select(e,o))),F=n.createSelector((e,o)=>{const r=m(e.workspace.workspaces,o)?.home;return r?.setup?.state==="failed"?_(r.homeId,r.setup.finishedAt):""}),U=n.createSelector((e,o)=>{const r=S.select(e,o);if(r?.banner!=="setupFailed")return r;const a=F.select(e,o);if(!a||!e.workspaceHome.dismissedSetupFailures[a])return r;const s=p.get(r);if(s)return s;const c={...r,banner:null};return p.set(r,c),c}),p=new WeakMap,z=n.createSelector((e,o)=>{const r=e.workspaceHome.setupOutputs[o],a=m(e.workspace.workspaces,o)?.home?.homeId;return r&&r.homeId===a?r:null}),I=n.createSelector((e,o)=>e.workspaceHome.waiting[o]===!0),J=n.createSelector(e=>e.workspaceHome.dialogWorkspaceId),K=n.createSelector(e=>e.workspaceHome.moveStatus==="submitting"),j=n.createSelector(e=>e.workspaceHome.moveFailure),W=[],l=new Map,P=n.createSelector((e,o)=>{if(!o)return W;const r=b({agents:g.select(e,o),machineRows:H.select(e)}),a=JSON.stringify(r),s=l.get(o);return s?.key===a?s.options:(l.set(o,{key:a,options:r}),r)}),Z=n.createSelector((e,o)=>m(e.workspace.workspaces,o)!==void 0);export{V as a,E as b,C as c,D as d,A as e,N as f,R as g,y as h,k as i,F as j,z as k,I as l,q as m,J as n,j as o,P as p,K as q,U as r,L as s,S as t,Z as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as Ce,bo as r,bw as we,bp as Ye,b as Se,bm as O}from"./
|
|
1
|
+
import{t as Ce,bo as r,bw as we,bp as Ye,b as Se,bm as O}from"./DxxarOOi.js";import{bs as xe,aD as a,a5 as H,bA as N,b_ as M,W as w,bn as Be,c9 as z,bH as m,aA as s,aB as ke,bV as A,bf as Oe,bS as ge,be as ye,b$ as ve,bO as _e,ca as Ze,a7 as V,ay as T}from"./3SdAC2_C.js";import{i as he}from"./DzAQQ1i-.js";import{s as R}from"./C600Ggsz.js";import{c as Ae}from"./CruJ4jyB.js";import{a_ as $e,aa as et,f as De}from"./D5eCb9SA.js";import"./BfQPFCP7.js";import{O as tt}from"./DBEo2Y3v.js";import{a as rt,D as st}from"./DeaknxEN.js";import{b as nt,e as Ke,s as Pe,c as at,f as ot}from"./Ch-D6DCZ.js";import"./DBI9dTMM.js";import{e as it}from"./BrfF5NLx.js";import{b as ut}from"./Dn334wJv.js";import{i as lt}from"./CC7to1B5.js";import"./Cncxuk-H.js";import"./euI_ACTK.js";var ct=new Set(["$$slots","$$events","$$legacy","children","onSubmit","busy","enterKey","modEnter","class"]),ft=ke('<form><fieldset class="contents"><!></fieldset></form>');function ze(K,t){if(new.target)return Ce({component:ze,...K});xe(t,!0);let l=r(t,"children",7),d=r(t,"onSubmit",7),b=r(t,"busy",7,!1),f=r(t,"enterKey",7,"submit"),g=r(t,"modEnter",7,"submit"),h=r(t,"class",7),L=Ye(t,ct),i,y=A(!1);const v=z(()=>b()||a(y));async function E(n){if(n.preventDefault(),!a(v)){m(y,!0);try{await d()(n)}finally{m(y,!1)}}}function S(n){if(n.key!=="Enter"||n.isComposing||n.defaultPrevented||a(v))return;const _=n.target,x=lt(_),D=_.closest('button, a[href], select, summary, [role="button"], [role="link"], [role="checkbox"], [role="radio"], [role="switch"], [role="tab"], [role="menuitem"], [role="option"], [role="combobox"], [role="slider"]');if(D&&i.contains(D)||_ instanceof HTMLInputElement&&!["text","search","email","url","tel","password","number"].includes(_.type))return;const k=n.metaKey||n.ctrlKey;(k?g()==="submit":!x&&f()==="submit")?(n.preventDefault(),i.requestSubmit()):(!x||k)&&n.preventDefault()}var p={get children(){return l()},set children(n){l(n),s()},get onSubmit(){return d()},set onSubmit(n){d(n),s()},get busy(){return b()},set busy(n=!1){b(n),s()},get enterKey(){return f()},set enterKey(n="submit"){f(n),s()},get modEnter(){return g()},set modEnter(n="submit"){g(n),s()},get class(){return h()},set class(n){h(n),s()},$set:we,$on:(n,_)=>Se(t,n,_)},u=ft();nt(u,n=>({"data-slot":"form","aria-busy":a(v)||void 0,class:n,onsubmit:E,onkeydown:S,...L}),[()=>Ke("grid gap-4",h())]);var C=H(u),o=H(C);return R(o,l),N(C),N(u),ut(u,n=>i=n,()=>i),M(()=>{C.disabled=a(v),Pe(C,"aria-busy",a(v)||void 0)}),w(K,u),Be(p)}var mt=ke('<div data-slot="form-actions"><div data-slot="form-actions-destructive" class="flex items-center"><!></div> <div data-slot="form-actions-end" class="ml-auto flex items-center gap-2"><!> <!> <!></div></div>');function Ve(K,t){if(new.target)return Ce({component:Ve,...K});xe(t,!0);let l=r(t,"destructive",7),d=r(t,"secondary",7),b=r(t,"primary",7),f=r(t,"hint",7),g=r(t,"class",7);const h=$e();var L={get destructive(){return l()},set destructive(o){l(o),s()},get secondary(){return d()},set secondary(o){d(o),s()},get primary(){return b()},set primary(o){b(o),s()},get hint(){return f()},set hint(o){f(o),s()},get class(){return g()},set class(o){g(o),s()},$set:we,$on:(o,n)=>Se(t,o,n)},i=mt(),y=H(i),v=H(y);R(v,()=>l()??Oe),N(y);var E=ge(y,2),S=H(E);{var p=o=>{et(o,{children:(n,_)=>{ye();var x=ve();M(()=>_e(x,f())),w(n,x)},$$slots:{default:!0}})};he(S,o=>{f()&&o(p)})}var u=ge(S,2);R(u,()=>d()??Oe);var C=ge(u,2);return R(C,b),N(E),N(i),M(o=>{Pe(i,"data-size",h),ot(i,1,o)},[()=>at(Ke("flex items-center justify-between",h==="compact"?"gap-2":"gap-3",g()))]),w(K,i),Be(L)}function dt(K,t){if(new.target)return Ce({component:dt,...K});xe(t,!0);let l=r(t,"open",15,!1),d=r(t,"static",7,!1),b=r(t,"title",7),f=r(t,"description",7),g=r(t,"titleId",7),h=r(t,"descriptionId",7),L=r(t,"children",7),i=r(t,"footer",7),y=r(t,"submitLabel",23,()=>O.modals_bulkActionConfirm_confirm_label()),v=r(t,"cancelLabel",23,()=>O.modals_bulkActionConfirm_cancel_label()),E=r(t,"submitVariant",7,"primary"),S=r(t,"canSubmit",7,!0),p=r(t,"busy",7,!1),u=r(t,"submitBusy",7,!1),C=r(t,"role",7,"dialog"),o=r(t,"dismissOnInteractOutside",7,!0),n=r(t,"showCancel",7,!0),_=r(t,"showCloseButton",7,!0),x=r(t,"closeLabel",23,()=>O.ui_dialog_close_ariaLabel()),D=r(t,"class",7),k=r(t,"size",7,"default"),j=r(t,"initialFocus",7),X=r(t,"focusContent",7,!1),q=r(t,"focusSubmit",7,!1),Y=r(t,"focusCancel",7,!1),W=r(t,"escapeKeydownBehavior",7,"close"),Z=r(t,"enterKey",7,"submit"),$=r(t,"modEnter",7,"submit"),ee=r(t,"onfocusin",7),te=r(t,"onCloseAutoFocus",7),re=r(t,"onSubmit",7),se=r(t,"onCancel",7),ne=A(!1),G=A(""),ae=A(!1),J=A(null),oe=A(null),ie=A(null);const B=z(()=>p()||a(ne));Ze(()=>{l()&&(m(ae,!1),m(G,""))});function ue(){a(B)||a(ae)||(m(ae,!0),l(!1),se()?.())}async function Te(){if(!(a(B)||u()||!S())){m(ne,!0),m(G,"");try{await re()()}catch{m(G,O.ui_dialog_submitFailed_error(),!0)}finally{m(ne,!1)}}}function He(e){const F=j()??(Y()?a(oe):q()?a(ie):X()?a(J):null);F&&(F.focus(),F.ownerDocument.activeElement===F&&e.preventDefault())}var Ne={get open(){return l()},set open(e=!1){l(e),s()},get static(){return d()},set static(e=!1){d(e),s()},get title(){return b()},set title(e){b(e),s()},get description(){return f()},set description(e){f(e),s()},get titleId(){return g()},set titleId(e){g(e),s()},get descriptionId(){return h()},set descriptionId(e){h(e),s()},get children(){return L()},set children(e){L(e),s()},get footer(){return i()},set footer(e){i(e),s()},get submitLabel(){return y()},set submitLabel(e=O.modals_bulkActionConfirm_confirm_label()){y(e),s()},get cancelLabel(){return v()},set cancelLabel(e=O.modals_bulkActionConfirm_cancel_label()){v(e),s()},get submitVariant(){return E()},set submitVariant(e="primary"){E(e),s()},get canSubmit(){return S()},set canSubmit(e=!0){S(e),s()},get busy(){return p()},set busy(e=!1){p(e),s()},get submitBusy(){return u()},set submitBusy(e=!1){u(e),s()},get role(){return C()},set role(e="dialog"){C(e),s()},get dismissOnInteractOutside(){return o()},set dismissOnInteractOutside(e=!0){o(e),s()},get showCancel(){return n()},set showCancel(e=!0){n(e),s()},get showCloseButton(){return _()},set showCloseButton(e=!0){_(e),s()},get closeLabel(){return x()},set closeLabel(e=O.ui_dialog_close_ariaLabel()){x(e),s()},get class(){return D()},set class(e){D(e),s()},get size(){return k()},set size(e="default"){k(e),s()},get initialFocus(){return j()},set initialFocus(e){j(e),s()},get focusContent(){return X()},set focusContent(e=!1){X(e),s()},get focusSubmit(){return q()},set focusSubmit(e=!1){q(e),s()},get focusCancel(){return Y()},set focusCancel(e=!1){Y(e),s()},get escapeKeydownBehavior(){return W()},set escapeKeydownBehavior(e="close"){W(e),s()},get enterKey(){return Z()},set enterKey(e="submit"){Z(e),s()},get modEnter(){return $()},set modEnter(e="submit"){$(e),s()},get onfocusin(){return ee()},set onfocusin(e){ee(e),s()},get onCloseAutoFocus(){return te()},set onCloseAutoFocus(e){te(e),s()},get onSubmit(){return re()},set onSubmit(e){re(e),s()},get onCancel(){return se()},set onCancel(e){se(e),s()},$set:we,$on:(e,F)=>Se(t,e,F)},Ee=V(),Re=T(Ee);return Ae(Re,()=>tt,(e,F)=>{F(e,{get open(){return l()},get staticPosition(){return d()},onOpenChange:le=>!le&&ue(),children:(le,bt)=>{var Fe=V(),Me=T(Fe);{let je=z(()=>Ke("flex min-h-0 flex-col overflow-hidden p-0",D()));Ae(Me,()=>rt,(qe,We)=>{We(qe,{get role(){return C()},get size(){return k()},get class(){return a(je)},get closeDisabled(){return a(B)},get showCloseButton(){return _()},get closeLabel(){return x()},get escapeKeydownBehavior(){return W()},onOpenAutoFocus:He,get onCloseAutoFocus(){return te()},get onfocusin(){return ee()},onkeydown:c=>{c.key==="Escape"&&it(a(J),c)||c.key==="Escape"&&W()==="close"&&(c.preventDefault(),c.stopPropagation(),ue())},onInteractOutside:c=>(a(B)||!o())&&c.preventDefault(),onEscapeKeydown:c=>a(B)&&c.preventDefault(),get ref(){return a(J)},set ref(c){m(J,c,!0)},children:(c,gt)=>{ze(c,{onSubmit:Te,get busy(){return a(B)},get enterKey(){return Z()},get modEnter(){return $()},class:"flex min-h-0 min-w-0 flex-1 flex-col",children:(Ge,yt)=>{st(Ge,{get title(){return b()},get description(){return f()},get titleId(){return g()},get descriptionId(){return h()},get children(){return L()},get error(){return a(G)},footer:Je=>{var Le=V(),Qe=T(Le);{var Ue=P=>{var ce=V(),pe=T(ce);R(pe,i),w(P,ce)},Xe=P=>{Ve(P,{secondary:fe=>{var Q=V(),me=T(Q);{var de=I=>{De(I,{variant:"ghost-light",get disabled(){return a(B)},onclick:ue,get ref(){return a(oe)},set ref(U){m(oe,U,!0)},children:(U,be)=>{ye();var Ie=ve();M(()=>_e(Ie,v())),w(U,Ie)},$$slots:{default:!0}})};he(me,I=>{n()&&I(de)})}w(fe,Q)},primary:fe=>{{let Q=z(()=>q()?"focus-visible:outline focus-visible:-outline-offset-1":void 0),me=z(()=>a(B)||u()),de=z(()=>!S()||a(B)||u());De(fe,{type:"submit",get variant(){return E()},get class(){return a(Q)},get loading(){return a(me)},get disabled(){return a(de)},get ref(){return a(ie)},set ref(I){m(ie,I,!0)},children:(I,U)=>{ye();var be=ve();M(()=>_e(be,y())),w(I,be)},$$slots:{default:!0}})}},$$slots:{secondary:!0,primary:!0}})};he(Qe,P=>{i()?P(Ue):P(Xe,-1)})}w(Je,Le)},$$slots:{footer:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}})})}w(le,Fe)},$$slots:{default:!0}})}),w(K,Ee),Be(Ne)}export{ze as F,Ve as a,dt as b};
|