@intent-hq/web 2.368.0 → 2.369.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/{LWpzAIb1.js → -QpfKAxD.js} +1 -1
- package/web/app/immutable/chunks/{CuGp4iiZ.js → -cLO88ax.js} +1 -1
- package/web/app/immutable/chunks/{Dv8qmtiG.js → 0NGflniG.js} +1 -1
- package/web/app/immutable/chunks/{D3-X6DuB.js → 0jRiL-di.js} +2 -2
- package/web/app/immutable/chunks/{DuH3Z8Tj.js → 3IxT-Mrl.js} +1 -1
- package/web/app/immutable/chunks/{WpDLfp8g.js → 3_UV1UgL.js} +1 -1
- package/web/app/immutable/chunks/{DV8MrQzP.js → 4pFiTcXi.js} +1 -1
- package/web/app/immutable/chunks/51_h0jm2.js +1 -0
- package/web/app/immutable/chunks/{D_4E2Vkl.js → 5E3JQYey.js} +1 -1
- package/web/app/immutable/chunks/{BqnLfjrK.js → 5NOp7PNZ.js} +1 -1
- package/web/app/immutable/chunks/{BM7pSBH1.js → 6GNWsakm.js} +1 -1
- package/web/app/immutable/chunks/{C-WGoO9q.js → 6i_wfV3v.js} +1 -1
- package/web/app/immutable/chunks/{DZs8iANO.js → 7Uk2VvOl.js} +1 -1
- package/web/app/immutable/chunks/{CX6lA3D1.js → 8TQkfju3.js} +1 -1
- package/web/app/immutable/chunks/{DSxt_T6i.js → 93RUSyHg.js} +1 -1
- package/web/app/immutable/chunks/{Dag-yjBl.js → 9wk-Hes5.js} +1 -1
- package/web/app/immutable/chunks/{H5EFGbef.js → AIQuxhpV.js} +1 -1
- package/web/app/immutable/chunks/{Ct-FgWRq.js → B0v5Qiob.js} +1 -1
- package/web/app/immutable/chunks/{qHf9sK0w.js → B2CG0f08.js} +1 -1
- package/web/app/immutable/chunks/{Cx_kU_DV.js → B3Zt92Gh.js} +1 -1
- package/web/app/immutable/chunks/{yKB3We_R.js → B3rtR-T9.js} +1 -1
- package/web/app/immutable/chunks/{CWlx9AQE.js → B5L5kFMu.js} +1 -1
- package/web/app/immutable/chunks/{ByCbrCKe.js → B5ht1e3g.js} +1 -1
- package/web/app/immutable/chunks/{DVE3gCYm.js → B6P0nIFd.js} +1 -1
- package/web/app/immutable/chunks/{BCr3FDPI.js → B9XvejAu.js} +1 -1
- package/web/app/immutable/chunks/{BRMZvcr_.js → BBRNc6Tk.js} +1 -1
- package/web/app/immutable/chunks/{BrzSX242.js → BCBNqT5t.js} +1 -1
- package/web/app/immutable/chunks/{BA1W84cz.js → BDbtK9be.js} +1 -1
- package/web/app/immutable/chunks/{B4XVQGzR.js → BE2y8JEQ.js} +1 -1
- package/web/app/immutable/chunks/{Dn9uXxwQ.js → BEjEPSxp.js} +1 -1
- package/web/app/immutable/chunks/{_Lq6xDqz.js → BEklUrxK.js} +1 -1
- package/web/app/immutable/chunks/{DdXuLwef.js → BGP1lrgu.js} +1 -1
- package/web/app/immutable/chunks/{DbTuLky4.js → BJPhI2lA.js} +1 -1
- package/web/app/immutable/chunks/{CVkfqdxF.js → BJTl-SyI.js} +1 -1
- package/web/app/immutable/chunks/{Bjdl3Bcn.js → BLzqYDED.js} +1 -1
- package/web/app/immutable/chunks/{3uTmxU9o.js → BQDGTBxC.js} +1 -1
- package/web/app/immutable/chunks/{C-Avcz-L.js → BQGSaBlM.js} +1 -1
- package/web/app/immutable/chunks/{BvM1EUuh.js → BR5vKj6f.js} +1 -1
- package/web/app/immutable/chunks/{ChB1u5oS.js → BR9s3igW.js} +1 -1
- package/web/app/immutable/chunks/{CL7J7j2D.js → BTIkMWVv.js} +1 -1
- package/web/app/immutable/chunks/{DwPVMoTd.js → BTYfh5fW.js} +1 -1
- package/web/app/immutable/chunks/{La7uvQeM.js → BUHAwVs7.js} +1 -1
- package/web/app/immutable/chunks/{OnFCkRZq.js → BUNNt_Jr.js} +1 -1
- package/web/app/immutable/chunks/{CYYIfm0c.js → BUtBz-tz.js} +1 -1
- package/web/app/immutable/chunks/BVUXyHGH.js +4 -0
- package/web/app/immutable/chunks/{DzoN41_6.js → BVVyDeyd.js} +1 -1
- package/web/app/immutable/chunks/{Dqg0f2LJ.js → BW6PhteS.js} +1 -1
- package/web/app/immutable/chunks/{C5lXC3sE.js → BW94gUhQ.js} +1 -1
- package/web/app/immutable/chunks/{-S-Y5qpw.js → BX9VoS92.js} +1 -1
- package/web/app/immutable/chunks/{DWo9ssuo.js → BXHaIh_f.js} +1 -1
- package/web/app/immutable/chunks/{BFg7EHUJ.js → BZpSGd8O.js} +1 -1
- package/web/app/immutable/chunks/{CdT83fDm.js → B_QtiZYt.js} +1 -1
- package/web/app/immutable/chunks/{C_xbtvYu.js → BbugAQ9t.js} +1 -1
- package/web/app/immutable/chunks/{DX7k4FhP.js → Bf02lG8Y.js} +1 -1
- package/web/app/immutable/chunks/{uz9wJ9h7.js → BgDYQZ_0.js} +1 -1
- package/web/app/immutable/chunks/{CgszRxao.js → BgJ-6yg0.js} +1 -1
- package/web/app/immutable/chunks/{BAZnizpv.js → BgLPrJ77.js} +1 -1
- package/web/app/immutable/chunks/{CJZrFy0z.js → BgVn7-pK.js} +1 -1
- package/web/app/immutable/chunks/{DdgRFvxI.js → Bi5_2qbB.js} +2 -2
- package/web/app/immutable/chunks/{BYQyF1EV.js → BipEZFvA.js} +1 -1
- package/web/app/immutable/chunks/{DEaLADF0.js → Bjy4ygfJ.js} +1 -1
- package/web/app/immutable/chunks/{C6baGIHW.js → BkrPhcBU.js} +1 -1
- package/web/app/immutable/chunks/{Bhf5PYkX.js → Bn5goMn4.js} +2 -2
- package/web/app/immutable/chunks/{CN68o0Xe.js → BnRltR11.js} +1 -1
- package/web/app/immutable/chunks/{4ZHcc7E6.js → BoAG71Ap.js} +1 -1
- package/web/app/immutable/chunks/{9uaxSDjR.js → BpKFGHfS.js} +1 -1
- package/web/app/immutable/chunks/{CVuIJUI6.js → Bq_CYpxm.js} +1 -1
- package/web/app/immutable/chunks/{BmBBmxeN.js → BqkCNgyL.js} +1 -1
- package/web/app/immutable/chunks/{qkupoeeB.js → Bs9TCQJX.js} +1 -1
- package/web/app/immutable/chunks/{Cg_iMZyA.js → BsE4jMhr.js} +1 -1
- package/web/app/immutable/chunks/{tKPL2CZA.js → BsKhFZ0Q.js} +1 -1
- package/web/app/immutable/chunks/{C7p6fkNW.js → BsjFeGOg.js} +1 -1
- package/web/app/immutable/chunks/{UdBW3xHf.js → BswUVSRu.js} +1 -1
- package/web/app/immutable/chunks/{sRuST45k.js → BuLzqNKd.js} +1 -1
- package/web/app/immutable/chunks/{DjtlNmSp.js → BuveYyQe.js} +1 -1
- package/web/app/immutable/chunks/{BIuwYO0J.js → BxOfEPjL.js} +1 -1
- package/web/app/immutable/chunks/BxTyo7yU.js +1 -0
- package/web/app/immutable/chunks/{Bpab3i1i.js → BxvIWx6J.js} +1 -1
- package/web/app/immutable/chunks/{CoC9Ux29.js → BxwkoIbZ.js} +1 -1
- package/web/app/immutable/chunks/{DehqEruM.js → ByCxDC-R.js} +1 -1
- package/web/app/immutable/chunks/{D3f6Bdno.js → ByfLGh4b.js} +1 -1
- package/web/app/immutable/chunks/{DVqASrmW.js → Bz9mgUtY.js} +1 -1
- package/web/app/immutable/chunks/{D3NQrju5.js → BzlXwMsq.js} +1 -1
- package/web/app/immutable/chunks/{CwpJKby0.js → C-dUgTvj.js} +1 -1
- package/web/app/immutable/chunks/{9L9c83oG.js → C0gEyGJV.js} +1 -1
- package/web/app/immutable/chunks/{CT1kjHng.js → C1FbWx7h.js} +1 -1
- package/web/app/immutable/chunks/{C-3HGS81.js → C1McR-sz.js} +1 -1
- package/web/app/immutable/chunks/{DH9Hqtuz.js → C2jA6pM8.js} +1 -1
- package/web/app/immutable/chunks/{DqvOMJZD.js → C3-0e__R.js} +1 -1
- package/web/app/immutable/chunks/{wlvXh-zp.js → C3CJZFT3.js} +1 -1
- package/web/app/immutable/chunks/{BFNcUqqi.js → C3SM2b7L.js} +2 -2
- package/web/app/immutable/chunks/{CrfRec8x.js → C3YB0zcV.js} +1 -1
- package/web/app/immutable/chunks/{BeSpo5mj.js → C5Tw8y-2.js} +1 -1
- package/web/app/immutable/chunks/{BS7XLnm3.js → C5rcw_c7.js} +1 -1
- package/web/app/immutable/chunks/{fu-5SwkC.js → C6vnD-WG.js} +1 -1
- package/web/app/immutable/chunks/{DzuDuJfn.js → C6yPb5D8.js} +1 -1
- package/web/app/immutable/chunks/{DtKQhjG0.js → C7H74phM.js} +1 -1
- package/web/app/immutable/chunks/{BpCl78z6.js → C7RXZVwZ.js} +3 -3
- package/web/app/immutable/chunks/{ag06q4LL.js → C9UsZ4re.js} +1 -1
- package/web/app/immutable/chunks/{C4IUEZO8.js → C9r0mVfa.js} +1 -1
- package/web/app/immutable/chunks/{BNXfTFgg.js → CASKMy_V.js} +1 -1
- package/web/app/immutable/chunks/{CddeEUaW.js → CC08YY4X.js} +2 -2
- package/web/app/immutable/chunks/{DMXV603W.js → CCYJSy4Y.js} +1 -1
- package/web/app/immutable/chunks/{ChcqjzlK.js → CDqnAH9U.js} +2 -2
- package/web/app/immutable/chunks/{BguHhtk8.js → CF1Tu_8c.js} +2 -2
- package/web/app/immutable/chunks/{DyTX_flC.js → CF2xUnmW.js} +1 -1
- package/web/app/immutable/chunks/{DTmuScj1.js → CFvGekuw.js} +1 -1
- package/web/app/immutable/chunks/{CgoEfH57.js → CFybzafc.js} +1 -1
- package/web/app/immutable/chunks/{CIg56hlz.js → CJCoBdox.js} +1 -1
- package/web/app/immutable/chunks/{B5xVgX0B.js → CJb9CQqu.js} +1 -1
- package/web/app/immutable/chunks/{DCaHyJVf.js → CJj_lU-4.js} +1 -1
- package/web/app/immutable/chunks/{mA-tbLJW.js → CLZkKjaI.js} +1 -1
- package/web/app/immutable/chunks/{Cl19iNDm.js → CLalkdxk.js} +1 -1
- package/web/app/immutable/chunks/{z7hpXipJ.js → CLg2G62j.js} +3 -3
- package/web/app/immutable/chunks/{Dbb9v9Pu.js → CMMep18j.js} +1 -1
- package/web/app/immutable/chunks/{ydU_XNBS.js → CMRXUPn9.js} +1 -1
- package/web/app/immutable/chunks/{Dkb27FfT.js → CMZHakZZ.js} +1 -1
- package/web/app/immutable/chunks/{BXFt_M3j.js → CMh2xRIF.js} +1 -1
- package/web/app/immutable/chunks/{a78XW9b7.js → CMqhKAKf.js} +1 -1
- package/web/app/immutable/chunks/{CB3yJRaj.js → CN-6Tr26.js} +1 -1
- package/web/app/immutable/chunks/{CIxVnrKO.js → CNAilJvj.js} +1 -1
- package/web/app/immutable/chunks/{XOY5jtOQ.js → COmDhl6S.js} +1 -1
- package/web/app/immutable/chunks/{BjNVk8U6.js → CQkTODWA.js} +1 -1
- package/web/app/immutable/chunks/{Q6h5kaDA.js → CQt5NIo9.js} +1 -1
- package/web/app/immutable/chunks/{DOgidnWF.js → CQw_RyF_.js} +1 -1
- package/web/app/immutable/chunks/{AnCzW8pd.js → CRJc1pCT.js} +1 -1
- package/web/app/immutable/chunks/{CJbKgJCP.js → CS3R6Yuh.js} +1 -1
- package/web/app/immutable/chunks/{C8EYdSF9.js → CSFyiYHp.js} +1 -1
- package/web/app/immutable/chunks/{CuaxAbnk.js → CV10cSI4.js} +1 -1
- package/web/app/immutable/chunks/{IOCQV0lc.js → CWc2lAUi.js} +1 -1
- package/web/app/immutable/chunks/{CD0f9RqX.js → CXXbDkir.js} +1 -1
- package/web/app/immutable/chunks/{DxC9rNFj.js → CYgFnKoL.js} +1 -1
- package/web/app/immutable/chunks/{BvvwHzHR.js → CZTVb5IB.js} +1 -1
- package/web/app/immutable/chunks/{DQKQnxx2.js → CZ_Dk1nz.js} +1 -1
- package/web/app/immutable/chunks/{Cdgpg8n7.js → C_qOm4aX.js} +49 -49
- package/web/app/immutable/chunks/{CLSuLceq.js → CatLGfTW.js} +1 -1
- package/web/app/immutable/chunks/{BSaMlrt7.js → Cc2FSrQK.js} +1 -1
- package/web/app/immutable/chunks/CcNIw4Px.js +1 -0
- package/web/app/immutable/chunks/{ClSKdYXV.js → Cdhrdfve.js} +1 -1
- package/web/app/immutable/chunks/{CszTaYPw.js → Cdw_CIdg.js} +1 -1
- package/web/app/immutable/chunks/{BfV-m33h.js → CeBDdapO.js} +1 -1
- package/web/app/immutable/chunks/{qN9kzcwL.js → CgXGPBF5.js} +1 -1
- package/web/app/immutable/chunks/{8xzOjoUV.js → CgeBiXYG.js} +1 -1
- package/web/app/immutable/chunks/{KJbU5Jwf.js → Ch30XVIS.js} +1 -1
- package/web/app/immutable/chunks/{DZtsu62T.js → CiyIhnuP.js} +3 -3
- package/web/app/immutable/chunks/{DDgv92vT.js → CjswKKTa.js} +1 -1
- package/web/app/immutable/chunks/{6gX3p-t6.js → Ck5xuk0H.js} +1 -1
- package/web/app/immutable/chunks/{CdO0EKIb.js → Ckp5O1pb.js} +1 -1
- package/web/app/immutable/chunks/{BG9eCPIt.js → Cl7NoY6M.js} +1 -1
- package/web/app/immutable/chunks/{DB4BdY3-.js → ClSUFCtq.js} +1 -1
- package/web/app/immutable/chunks/{DdswlFJs.js → Cmm2Uwq6.js} +1 -1
- package/web/app/immutable/chunks/{Bx5mj_-o.js → CnM1-KSC.js} +1 -1
- package/web/app/immutable/chunks/{LjCq2zYR.js → Cp81xhuN.js} +1 -1
- package/web/app/immutable/chunks/{C6Mf7wiS.js → CpL3Nqus.js} +1 -1
- package/web/app/immutable/chunks/{ysr2ZeEL.js → CpPNoOk-.js} +1 -1
- package/web/app/immutable/chunks/{CeVUwFpS.js → CqesqBNM.js} +1 -1
- package/web/app/immutable/chunks/{Bnfzeolk.js → Cs_DX3BC.js} +1 -1
- package/web/app/immutable/chunks/{DiyE6ez1.js → Cstrfm23.js} +4 -4
- package/web/app/immutable/chunks/{BG_ZjTnQ.js → Csxq8_TN.js} +1 -1
- package/web/app/immutable/chunks/{Bzw5kiqv.js → CtFSFfLz.js} +1 -1
- package/web/app/immutable/chunks/{cNJtArdZ.js → Ct_Zx4ru.js} +1 -1
- package/web/app/immutable/chunks/{BpmaKyHV.js → Cu0mADIg.js} +1 -1
- package/web/app/immutable/chunks/{fhbq8NBN.js → Cu91VTQn.js} +1 -1
- package/web/app/immutable/chunks/{BGhL-M7S.js → CuHlAB4d.js} +2 -2
- package/web/app/immutable/chunks/{DcyITQk4.js → CvC_PTf7.js} +1 -1
- package/web/app/immutable/chunks/{CHo30JVh.js → CxF8L5mw.js} +1 -1
- package/web/app/immutable/chunks/{XokPPDRt.js → CxVedbHg.js} +2 -2
- package/web/app/immutable/chunks/{aFmAoxnK.js → CxmJEenA.js} +1 -1
- package/web/app/immutable/chunks/{Da6oWcTC.js → D0Z6csIX.js} +1 -1
- package/web/app/immutable/chunks/{BBrZXpSP.js → D1FzC71c.js} +1 -1
- package/web/app/immutable/chunks/{CTrJXNY9.js → D1cY0pVs.js} +1 -1
- package/web/app/immutable/chunks/{C3o6TrCe.js → D1rvT9Od.js} +1 -1
- package/web/app/immutable/chunks/{BWCENrjZ.js → D3SYIfTl.js} +4 -4
- package/web/app/immutable/chunks/{BAua3HYa.js → D4q8ggLU.js} +2 -2
- package/web/app/immutable/chunks/{CPjshegW.js → D5sw7nR1.js} +1 -1
- package/web/app/immutable/chunks/{CAA5Pjlt.js → D8BdISor.js} +1 -1
- package/web/app/immutable/chunks/{UfQa_CM-.js → D9d8HfDB.js} +1 -1
- package/web/app/immutable/chunks/{BmZ-YX2h.js → DA4getmI.js} +1 -1
- package/web/app/immutable/chunks/{fh3WedHa.js → DCrqv4Go.js} +1 -1
- package/web/app/immutable/chunks/{CEODt5qB.js → DCv0ZqUq.js} +1 -1
- package/web/app/immutable/chunks/{my3EnaTa.js → DF0Pm5yp.js} +2 -2
- package/web/app/immutable/chunks/{B5t5yFV1.js → DGmOjLYi.js} +1 -1
- package/web/app/immutable/chunks/{BtNhR2qx.js → DKn1sQ32.js} +1 -1
- package/web/app/immutable/chunks/{CFUCukqN.js → DLEm9Cyg.js} +1 -1
- package/web/app/immutable/chunks/{uCE5nFj2.js → DMjF7NYG.js} +2 -2
- package/web/app/immutable/chunks/{BE8dgLGn.js → DNieQhK8.js} +3 -3
- package/web/app/immutable/chunks/{DPMWmOe5.js → DOi8NPXE.js} +1 -1
- package/web/app/immutable/chunks/{BU4XngZf.js → DPLuga0X.js} +3 -3
- package/web/app/immutable/chunks/{DwOsWxyQ.js → DPPtpHwn.js} +1 -1
- package/web/app/immutable/chunks/{DGt036ot.js → DQUvqa9o.js} +1 -1
- package/web/app/immutable/chunks/{Bo79geKp.js → DRLOB6Gw.js} +2 -2
- package/web/app/immutable/chunks/{prHJOEnU.js → DSQT151l.js} +1 -1
- package/web/app/immutable/chunks/{B3nJy--T.js → DUItrdZb.js} +1 -1
- package/web/app/immutable/chunks/{Bg5Fp4BA.js → DUctnn_k.js} +1 -1
- package/web/app/immutable/chunks/DVy6H5Ng.js +1 -0
- package/web/app/immutable/chunks/DW3gkA_F.js +1 -0
- package/web/app/immutable/chunks/{CDKjl22x.js → DWLnWMNZ.js} +1 -1
- package/web/app/immutable/chunks/{BWWmYtvo.js → DWjKA8Pm.js} +1 -1
- package/web/app/immutable/chunks/{nIerXkD8.js → DWsHBNeU.js} +1 -1
- package/web/app/immutable/chunks/{CW0tWbke.js → DYmzWBEk.js} +1 -1
- package/web/app/immutable/chunks/{Nbro-b-6.js → DZCGZjzG.js} +1 -1
- package/web/app/immutable/chunks/{DSBtJS15.js → DZTT1V6G.js} +1 -1
- package/web/app/immutable/chunks/{Cu63TBX_.js → D_MzuSit.js} +1 -1
- package/web/app/immutable/chunks/{CoxEQ1x9.js → DaXgwzm7.js} +1 -1
- package/web/app/immutable/chunks/{D-W7KYqw.js → Dbpb1w7S.js} +4 -4
- package/web/app/immutable/chunks/{Ce7ti2I7.js → DcmaumPg.js} +1 -1
- package/web/app/immutable/chunks/{CIasIl91.js → DcvxsgOZ.js} +1 -1
- package/web/app/immutable/chunks/{D5sOpT26.js → DdkBNH3W.js} +1 -1
- package/web/app/immutable/chunks/{v9gH-HNO.js → DdkDv5Sd.js} +1 -1
- package/web/app/immutable/chunks/{CXaxJbgG.js → DeVwq4Xj.js} +1 -1
- package/web/app/immutable/chunks/{DEJSVazL.js → Deg_SlHr.js} +2 -2
- package/web/app/immutable/chunks/{VvgtSbK2.js → DfSzfqox.js} +1 -1
- package/web/app/immutable/chunks/{DYOMUc5B.js → DlqetqWw.js} +1 -1
- package/web/app/immutable/chunks/{DOdlo-4T.js → DmhHEMPi.js} +1 -1
- package/web/app/immutable/chunks/{PRAJ9M9Y.js → DodshHwq.js} +1 -1
- package/web/app/immutable/chunks/{y_07dpNl.js → DpSi4PLY.js} +1 -1
- package/web/app/immutable/chunks/{Cg6uFDit.js → DqFWZ_g1.js} +1 -1
- package/web/app/immutable/chunks/{CB1L2aum.js → DqgCp5ae.js} +1 -1
- package/web/app/immutable/chunks/{Bu3w6q3q.js → DrBi0w5G.js} +4 -4
- package/web/app/immutable/chunks/{CSd0whCN.js → Druyrynh.js} +1 -1
- package/web/app/immutable/chunks/{Dyrz4mgu.js → DtnAdLQg.js} +1 -1
- package/web/app/immutable/chunks/{D2dQD04-.js → Dukt1CUc.js} +1 -1
- package/web/app/immutable/chunks/{9RBVjd2X.js → DumeSIrz.js} +1 -1
- package/web/app/immutable/chunks/{DfmIEc34.js → DupNtpYi.js} +1 -1
- package/web/app/immutable/chunks/{D9DtZ5bO.js → DxvSggY5.js} +1 -1
- package/web/app/immutable/chunks/{9XOJk36Z.js → DyBkeTEM.js} +1 -1
- package/web/app/immutable/chunks/{CIHmUaya.js → DyHCBf0T.js} +3 -3
- package/web/app/immutable/chunks/{D_84YASo.js → Dy_4BU07.js} +3 -3
- package/web/app/immutable/chunks/{DmLYqjCG.js → Dz5-AChV.js} +1 -1
- package/web/app/immutable/chunks/{CZmtskyb.js → DzFkUqsC.js} +1 -1
- package/web/app/immutable/chunks/{WbKTM-AY.js → DzMdBKPh.js} +1 -1
- package/web/app/immutable/chunks/{nR9NDXxc.js → E_jRuW-b.js} +2 -2
- package/web/app/immutable/chunks/{lnjs8g9M.js → FLNU8xuu.js} +1 -1
- package/web/app/immutable/chunks/{D635gi5P.js → FmBB5PWm.js} +1 -1
- package/web/app/immutable/chunks/{CbcqSAiT.js → Gr7b8MIr.js} +1 -1
- package/web/app/immutable/chunks/{DUk9Psab.js → JKboQXkL.js} +1 -1
- package/web/app/immutable/chunks/{BBuuu82x.js → KAO5AtPr.js} +1 -1
- package/web/app/immutable/chunks/{DFAg4YQw.js → KykWEhyB.js} +1 -1
- package/web/app/immutable/chunks/{Ch__d3EK.js → L3AlUw84.js} +1 -1
- package/web/app/immutable/chunks/{CFWjNNDI.js → LKW_Bid7.js} +1 -1
- package/web/app/immutable/chunks/{bMVl-_uo.js → M18r7swD.js} +1 -1
- package/web/app/immutable/chunks/{BJbXiNfd.js → P4OctF9m.js} +1 -1
- package/web/app/immutable/chunks/{Dr-hGtz9.js → PXCFrn2V.js} +1 -1
- package/web/app/immutable/chunks/{yyKL9m5q.js → Q8rtHwbz.js} +1 -1
- package/web/app/immutable/chunks/{DmaI9gJG.js → Qnx8Hmfg.js} +1 -1
- package/web/app/immutable/chunks/{OC9upl2Z.js → RsJMsDHX.js} +1 -1
- package/web/app/immutable/chunks/{2LHboW99.js → S5vPfW1A.js} +1 -1
- package/web/app/immutable/chunks/{PJHVK1jp.js → SX1khnGy.js} +1 -1
- package/web/app/immutable/chunks/{Bl1aiNRC.js → TrRXD94r.js} +1 -1
- package/web/app/immutable/chunks/{D6WnG3O5.js → U3137Ii1.js} +1 -1
- package/web/app/immutable/chunks/{DaX_ruGd.js → V6SVTu37.js} +1 -1
- package/web/app/immutable/chunks/{Dr2MCeHs.js → WABToc6b.js} +1 -1
- package/web/app/immutable/chunks/{DLpH_zOx.js → WHfdsTrE.js} +1 -1
- package/web/app/immutable/chunks/{DVXtNvCM.js → XJqoy2ap.js} +1 -1
- package/web/app/immutable/chunks/{CoKTpqDU.js → XPs8BW44.js} +1 -1
- package/web/app/immutable/chunks/{DIz708WA.js → Zldsekdv.js} +4 -4
- package/web/app/immutable/chunks/{DmPmT0eG.js → _UNYBFXm.js} +1 -1
- package/web/app/immutable/chunks/{BUc9vg7U.js → a34jwGLW.js} +1 -1
- package/web/app/immutable/chunks/{DCkjGG3P.js → aHO4L7kg.js} +1 -1
- package/web/app/immutable/chunks/{DjoTibfo.js → b-bXytVF.js} +1 -1
- package/web/app/immutable/chunks/{Bf_VKlmw.js → dP7u_sPF.js} +1 -1
- package/web/app/immutable/chunks/{BagTxwLt.js → dSvJdwG_.js} +3 -3
- package/web/app/immutable/chunks/{DTNUR8M2.js → dx9b_0TP.js} +2 -2
- package/web/app/immutable/chunks/{CPjCX26i.js → eln8hjjQ.js} +1 -1
- package/web/app/immutable/chunks/{CufGMblq.js → gcij4Gee.js} +1 -1
- package/web/app/immutable/chunks/{CFWrNsuZ.js → ge7HDe-3.js} +1 -1
- package/web/app/immutable/chunks/{ByhyupnT.js → hHeBjODU.js} +1 -1
- package/web/app/immutable/chunks/{M4mXlBrP.js → iI6LFAGI.js} +1 -1
- package/web/app/immutable/chunks/{PMgbVYrU.js → k3tEZZCe.js} +1 -1
- package/web/app/immutable/chunks/{BWlKpZE8.js → lVHjTAAb.js} +1 -1
- package/web/app/immutable/chunks/{Bm7IJJUE.js → nRmTo2Eh.js} +1 -1
- package/web/app/immutable/chunks/{rJd0G3JA.js → oOuL5l8A.js} +1 -1
- package/web/app/immutable/chunks/{BQEAmAsx.js → oSmiRYki.js} +1 -1
- package/web/app/immutable/chunks/{BWk-f4jj.js → oZkhvgMl.js} +1 -1
- package/web/app/immutable/chunks/{rvFYnBJj.js → p8jwzOYN.js} +1 -1
- package/web/app/immutable/chunks/{BGccgsYG.js → plFW1-kq.js} +1 -1
- package/web/app/immutable/chunks/{DrUo0N9I.js → s1m3ujOc.js} +1 -1
- package/web/app/immutable/chunks/{Dji1u83Z.js → sG8VksRm.js} +1 -1
- package/web/app/immutable/chunks/{3VXSKzWd.js → tVHyNPqL.js} +1 -1
- package/web/app/immutable/chunks/{BdvDDr3c.js → uWDJKH9B.js} +1 -1
- package/web/app/immutable/chunks/{DDhwf79f.js → v2EYTTpI.js} +3 -3
- package/web/app/immutable/chunks/{DSibel_X.js → ykNMRL6H.js} +1 -1
- package/web/app/immutable/chunks/{Ca9VfQ3Z.js → zhSFUcJz.js} +1 -1
- package/web/app/immutable/entry/{app.g9i4Hhee.js → app.AtsW0EhM.js} +3 -3
- package/web/app/immutable/entry/start.DHsRk6-P.js +1 -0
- package/web/app/immutable/nodes/{0.CDHHvjqw.js → 0.CegL6Bfc.js} +1 -1
- package/web/app/immutable/nodes/{1.D5xy2MCO.js → 1.B6-BTMS1.js} +1 -1
- package/web/app/immutable/nodes/{10.1IhdAEgn.js → 10.qlZM4NPl.js} +5 -5
- package/web/app/immutable/nodes/{11.BW_yfjel.js → 11.BR5ZtLjn.js} +1 -1
- package/web/app/immutable/nodes/{12.QDjrsyFI.js → 12.31R3OdO3.js} +1 -1
- package/web/app/immutable/nodes/{13.6cP3XOKB.js → 13.DYH2a5Wx.js} +1 -1
- package/web/app/immutable/nodes/{14.Bb8pZCFr.js → 14.B6MrEg8x.js} +3 -3
- package/web/app/immutable/nodes/{15.DTRK9Vyb.js → 15.Bitx8r2v.js} +1 -1
- package/web/app/immutable/nodes/{16.pYdajVyy.js → 16.CKbY5VRM.js} +1 -1
- package/web/app/immutable/nodes/{17.C6_qDHdP.js → 17.DPSU7Eqq.js} +1 -1
- package/web/app/immutable/nodes/{18.p2wClcpG.js → 18.BlD6ustd.js} +1 -1
- package/web/app/immutable/nodes/{19.DQGgWYsX.js → 19.BRj21xes.js} +2 -2
- package/web/app/immutable/nodes/{2.DLEjVhJq.js → 2.BBHXaN8p.js} +4 -4
- package/web/app/immutable/nodes/{20.Dzdd3lna.js → 20.Cj4TGw20.js} +1 -1
- package/web/app/immutable/nodes/{3.Do589hpw.js → 3.JJmMGjhS.js} +1 -1
- package/web/app/immutable/nodes/{4.BW-YS0Mv.js → 4.C3VD-4KP.js} +1 -1
- package/web/app/immutable/nodes/{5.0hjt7wvZ.js → 5.DIJ6nzqY.js} +1 -1
- package/web/app/immutable/nodes/{6.C6f4TtQ8.js → 6.DIzZZwt4.js} +1 -1
- package/web/app/immutable/nodes/{7.C1c9oJF2.js → 7.Xo0EbJUd.js} +1 -1
- package/web/app/immutable/nodes/{8.B6Vwx2Ni.js → 8.xZANL-qg.js} +1 -1
- package/web/app/immutable/nodes/9.BVBQgdJj.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/3TUSwkgT.js +0 -1
- package/web/app/immutable/chunks/7f-RK74P.js +0 -4
- package/web/app/immutable/chunks/BN8kP7XZ.js +0 -1
- package/web/app/immutable/chunks/BZhnh0KQ.js +0 -1
- package/web/app/immutable/chunks/CPDeRaia.js +0 -1
- package/web/app/immutable/chunks/a1kG0lDg.js +0 -1
- package/web/app/immutable/entry/start.DJAvowHl.js +0 -1
- package/web/app/immutable/nodes/9.BhguuCYy.js +0 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as bt,bo as b,bw as _t,bq as gt,b as vt,bm as x,bs as me,br as Te}from"./a1kG0lDg.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as B,ay as _,W as r,bn as It,aA as g,aD as t,bS as N,a5 as be,bH as De,bA as _e,b_ as W,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./CJxGDkBm.js";import{i as z}from"./Dr-hGtz9.js";import{g as $t}from"./DEaLADF0.js";import{s as We}from"./D9DtZ5bO.js";import{c as S}from"./B5t5yFV1.js";import{f as Pt,s as Le,b as At}from"./ysr2ZeEL.js";import{cK as Et,bn as Ot,aM as Ft,F as ne,aZ as Tt,aN as Dt,bo as Lt,a8 as Ve,aw as Bt}from"./prHJOEnU.js";import{W as Nt,T as zt,G as St,C as Rt,X as Mt,J as Ht,V as Wt}from"./CLSuLceq.js";import{f as ge}from"./CszTaYPw.js";import"./BguHhtk8.js";import{D as Vt}from"./DehqEruM.js";import{g as jt,R as Gt,k as Jt,j as Kt,i as qt,h as je}from"./bMVl-_uo.js";import{m as ve}from"./PJHVK1jp.js";import{c as Ut}from"./ChTqQfQN.js";import"./DUk9Psab.js";import{J4 as Ge,n4 as Xt,FM as Yt}from"./DIz708WA.js";import{w as Zt}from"./CqJQ3ikU.js";import{i as U}from"./DCOxMTSf.js";import{b3 as Qt,aN as er,aL as tr}from"./CDKjl22x.js";import{cy as rr}from"./DVXtNvCM.js";import{t as or}from"./H2jLkRRS.js";const ar={cursor:Rt,ghostty:St,terminal:zt,warp:Nt},nr={vscode:Wt,jetbrains:Ht,xcode:Mt};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function Je(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Be="finder",lr={id:Be,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),X=O.filter(({installed:Y,id:ye})=>Y&&!se.has(ye));return X.some(({id:Y})=>Y===Be)||se.has(Be)?X:[...X,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),mr=E("<span><!></span>"),br=E('<img class="w-4 h-4"/>'),_r=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return bt({component:wr,...O});ht(s,!0);const se=()=>me(Ue,"$installedEditors$",ie),X=()=>me(Xe,"$hiddenEditorIds$",ie),Y=()=>me(Ye,"$isWorkspaceHostLocal$",ie),ye=()=>me(qe,"$openAction",ie),[ie,Ke]=gt(),le=(e,d=kt)=>{var u=B(),p=_(u);S(p,()=>Gt,(te,G)=>{G(te,{get value(){return t(v).id},children:(F,L)=>{var k=B(),T=_(k);$t(T,17,d,C=>C.id,(C,c)=>{var J=B(),h=_(J);{const $=a=>{var i=B(),y=_(i);{var M=l=>{var A=dr();W(()=>Le(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},m=l=>{const A=o(()=>t(c).icon);var H=B(),D=_(H);S(D,()=>t(A),(K,re)=>{re(K,{size:16})}),r(l,H)},P=l=>{{let A=o(()=>t(c).faIcon??Je(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};z(y,l=>{t(c).iconBase64?l(M):t(c).icon?l(m,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());S(h,()=>jt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,M)=>{var m=pr(),P=_(m),l=oe(P,!0),A=N(P,2);{var H=D=>{var K=ur(),re=oe(K,!0);W(()=>ae(re,t(c).shortcut)),r(D,K)};z(A,D=>{t(c).shortcut&&D(H)})}W(()=>ae(l,t(c).label)),r(y,m)},$$slots:{leading:!0,default:!0}})})}r(C,J)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=Ut("OpenComboButton");let I=b(s,"filePath",7),ce=b(s,"workspaceId",7,""),de=b(s,"isDirectory",7,!0),we=b(s,"workspaceFolderPath",7),xe=b(s,"class",7,""),ue=b(s,"headerText",7),Ie=b(s,"usePortal",7,!0),ke=b(s,"side",7,"bottom"),V=b(s,"variant",7,"default"),Z=b(s,"branchName",7),Ce=b(s,"compact",7,!1),$e=b(s,"embedded",7,!1),Q=b(s,"inline",7,!1),j=b(s,"iconOnly",7,!1),R=b(s,"children",7,void 0);const ze=o(()=>V()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const qe=Qt(),Ue=er(Pe),Xe=tr(),Ye=rr(Pe);let ee=Ct(!1);xt(()=>{Ge.dispatch(Xt())});function Ze(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Qe=Zt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,X()).map(Ze),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Lt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Z()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Dt}]:[]];return!Qe||!Y()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Se=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Z()&&(await navigator.clipboard.writeText(Z()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await U("external-editors:open-with-other",{path:d});p?.success?De(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await U("shell:showItemInFolder",{path:d});break;case"vscode":await U("vscode:open",Ee());break;case"jetbrains":await U("jetbrains:open",Ee());break;case"xcode":await U("xcode:open",Ee());break;case"generic":default:{await U("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Re(e){e.stopPropagation()}function tt(e){Ge.dispatch(Yt(e)),Oe(e),De(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return V()},set variant(e="default"){V(e),g()},get branchName(){return Z()},set branchName(e){Z(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Q()},set inline(e=!1){Q(e),g()},get iconOnly(){return j()},set iconOnly(e=!1){j(e),g()},get children(){return R()},set children(e=void 0){R(e),g()},$set:_t,$on:(e,d)=>vt(s,e,d)},Me=B(),ot=_(Me);{var at=e=>{var d=he(),u=_(d);{var p=G=>{var F=he(),L=_(F);S(L,()=>qt,(T,C)=>{C(T,{children:(c,J)=>{var h=he(),$=_(h);S($,()=>Jt,(a,i)=>{i(a,{get icon(){return Ve},children:(y,M)=>{var m=fr(),P=oe(m,!0);W(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,m)},$$slots:{default:!0}})});var n=N($,2);S(n,()=>Kt,(a,i)=>{i(a,{class:"w-60",children:(y,M)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=N(L,2);S(k,()=>je,(T,C)=>{C(T,{})}),r(G,F)};z(u,G=>{t(fe).length&&G(p)})}var te=N(u,2);le(te,()=>t(Se)),r(e,d)},nt=e=>{var d=yr(),u=be(d);{const p=(F,L)=>{let k=()=>(L?.()).props;var T=B(),C=_(T);{var c=n=>{var a=mr();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=be(a);We(i,R),_e(a),r(n,a)},J=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>j()&&V()!=="sidebar"?"plain":"ghost"),y=o(()=>j()?V()==="sidebar"?"icon-compact":"icon-sm":void 0),M=o(()=>j()&&V()==="sidebar"&&t(ee)),m=o(()=>!j()),P=o(()=>j()?V()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(M)},get wrapContent(){return t(m)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var H=B(),D=_(H);We(D,R),r(l,H)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return Ve},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=be(a);{let m=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(m)??""} ${t(P)??""}`},onpointerdown:Re,onkeydown:Re,onclick:Fe,get title(){return t(l)},children:(A,H)=>{var D=_r(),K=_(D);{var re=w=>{var q=br();W(()=>{Le(q,"src",`data:image/png;base64,${t(v).iconBase64??""}`),Le(q,"alt",t(v).label)}),r(w,q)},it=w=>{const q=o(()=>t(v).icon);var He=B(),pt=_(He);S(pt,()=>t(q),(ft,mt)=>{mt(ft,{size:14})}),r(w,He)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let q=o(()=>Je(t(v).category));ne(w,{get icon(){return t(q)},class:"w-3.5 h-3.5 opacity-60"})}};z(K,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=N(K,2),ut=oe(dt,!0);W(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,D)},$$slots:{default:!0}})}var y=N(i,2);{var M=m=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(m,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Bt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};z(y,m=>{t(f).length>1&&m(M)})}_e(a),r(n,a)};z(C,n=>{Q()&&R()?n(c):R()?n(J,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var L=hr(),k=be(L);{var T=h=>{var $=vr(),n=oe($,!0);W(()=>ae(n,ue())),r(h,$)};z(k,h=>{ue()&&h(T)})}var C=N(k,2);{var c=h=>{var $=he(),n=_($);le(n,()=>t(fe));var a=N(n,2);S(a,()=>je,(i,y)=>{y(i,{})}),r(h,$)};z(C,h=>{t(fe).length&&h(c)})}var J=N(C,2);le(J,()=>t(Se)),_e(L),r(F,L)};let G=o(()=>Q()&&R()?"contents!":"");Vt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(G)},get open(){return t(ee)},set open(F){De(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}_e(d),W(()=>Pt(d,1,`${Q()&&R()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};z(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,Me);var st=It(rt);return Ke(),st}export{wr as O,sr as a,Je as r,ir as s};
|
|
1
|
+
import{t as bt,bo as b,bw as _t,bq as gt,b as vt,bm as x,bs as me,br as Te}from"./51_h0jm2.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as B,ay as _,W as r,bn as It,aA as g,aD as t,bS as N,a5 as be,bH as De,bA as _e,b_ as W,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./CJxGDkBm.js";import{i as z}from"./PXCFrn2V.js";import{g as $t}from"./Bjy4ygfJ.js";import{s as We}from"./DxvSggY5.js";import{c as S}from"./DGmOjLYi.js";import{f as Pt,s as Le,b as At}from"./CpPNoOk-.js";import{cK as Et,bn as Ot,aM as Ft,F as ne,aZ as Tt,aN as Dt,bo as Lt,a8 as Ve,aw as Bt}from"./DSQT151l.js";import{W as Nt,T as zt,G as St,C as Rt,X as Mt,J as Ht,V as Wt}from"./CatLGfTW.js";import{f as ge}from"./Cdw_CIdg.js";import"./CF1Tu_8c.js";import{D as Vt}from"./ByCxDC-R.js";import{g as jt,R as Gt,k as Jt,j as Kt,i as qt,h as je}from"./M18r7swD.js";import{m as ve}from"./SX1khnGy.js";import{c as Ut}from"./ChTqQfQN.js";import"./JKboQXkL.js";import{J4 as Ge,n4 as Xt,FM as Yt}from"./Zldsekdv.js";import{w as Zt}from"./CqJQ3ikU.js";import{i as U}from"./DCOxMTSf.js";import{b3 as Qt,aN as er,aL as tr}from"./DWLnWMNZ.js";import{cy as rr}from"./XJqoy2ap.js";import{t as or}from"./H2jLkRRS.js";const ar={cursor:Rt,ghostty:St,terminal:zt,warp:Nt},nr={vscode:Wt,jetbrains:Ht,xcode:Mt};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function Je(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Be="finder",lr={id:Be,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),X=O.filter(({installed:Y,id:ye})=>Y&&!se.has(ye));return X.some(({id:Y})=>Y===Be)||se.has(Be)?X:[...X,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),mr=E("<span><!></span>"),br=E('<img class="w-4 h-4"/>'),_r=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return bt({component:wr,...O});ht(s,!0);const se=()=>me(Ue,"$installedEditors$",ie),X=()=>me(Xe,"$hiddenEditorIds$",ie),Y=()=>me(Ye,"$isWorkspaceHostLocal$",ie),ye=()=>me(qe,"$openAction",ie),[ie,Ke]=gt(),le=(e,d=kt)=>{var u=B(),p=_(u);S(p,()=>Gt,(te,G)=>{G(te,{get value(){return t(v).id},children:(F,L)=>{var k=B(),T=_(k);$t(T,17,d,C=>C.id,(C,c)=>{var J=B(),h=_(J);{const $=a=>{var i=B(),y=_(i);{var M=l=>{var A=dr();W(()=>Le(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},m=l=>{const A=o(()=>t(c).icon);var H=B(),D=_(H);S(D,()=>t(A),(K,re)=>{re(K,{size:16})}),r(l,H)},P=l=>{{let A=o(()=>t(c).faIcon??Je(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};z(y,l=>{t(c).iconBase64?l(M):t(c).icon?l(m,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());S(h,()=>jt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,M)=>{var m=pr(),P=_(m),l=oe(P,!0),A=N(P,2);{var H=D=>{var K=ur(),re=oe(K,!0);W(()=>ae(re,t(c).shortcut)),r(D,K)};z(A,D=>{t(c).shortcut&&D(H)})}W(()=>ae(l,t(c).label)),r(y,m)},$$slots:{leading:!0,default:!0}})})}r(C,J)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=Ut("OpenComboButton");let I=b(s,"filePath",7),ce=b(s,"workspaceId",7,""),de=b(s,"isDirectory",7,!0),we=b(s,"workspaceFolderPath",7),xe=b(s,"class",7,""),ue=b(s,"headerText",7),Ie=b(s,"usePortal",7,!0),ke=b(s,"side",7,"bottom"),V=b(s,"variant",7,"default"),Z=b(s,"branchName",7),Ce=b(s,"compact",7,!1),$e=b(s,"embedded",7,!1),Q=b(s,"inline",7,!1),j=b(s,"iconOnly",7,!1),R=b(s,"children",7,void 0);const ze=o(()=>V()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const qe=Qt(),Ue=er(Pe),Xe=tr(),Ye=rr(Pe);let ee=Ct(!1);xt(()=>{Ge.dispatch(Xt())});function Ze(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Qe=Zt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,X()).map(Ze),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Lt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Z()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Dt}]:[]];return!Qe||!Y()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Se=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Z()&&(await navigator.clipboard.writeText(Z()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await U("external-editors:open-with-other",{path:d});p?.success?De(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await U("shell:showItemInFolder",{path:d});break;case"vscode":await U("vscode:open",Ee());break;case"jetbrains":await U("jetbrains:open",Ee());break;case"xcode":await U("xcode:open",Ee());break;case"generic":default:{await U("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Re(e){e.stopPropagation()}function tt(e){Ge.dispatch(Yt(e)),Oe(e),De(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return V()},set variant(e="default"){V(e),g()},get branchName(){return Z()},set branchName(e){Z(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Q()},set inline(e=!1){Q(e),g()},get iconOnly(){return j()},set iconOnly(e=!1){j(e),g()},get children(){return R()},set children(e=void 0){R(e),g()},$set:_t,$on:(e,d)=>vt(s,e,d)},Me=B(),ot=_(Me);{var at=e=>{var d=he(),u=_(d);{var p=G=>{var F=he(),L=_(F);S(L,()=>qt,(T,C)=>{C(T,{children:(c,J)=>{var h=he(),$=_(h);S($,()=>Jt,(a,i)=>{i(a,{get icon(){return Ve},children:(y,M)=>{var m=fr(),P=oe(m,!0);W(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,m)},$$slots:{default:!0}})});var n=N($,2);S(n,()=>Kt,(a,i)=>{i(a,{class:"w-60",children:(y,M)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=N(L,2);S(k,()=>je,(T,C)=>{C(T,{})}),r(G,F)};z(u,G=>{t(fe).length&&G(p)})}var te=N(u,2);le(te,()=>t(Se)),r(e,d)},nt=e=>{var d=yr(),u=be(d);{const p=(F,L)=>{let k=()=>(L?.()).props;var T=B(),C=_(T);{var c=n=>{var a=mr();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=be(a);We(i,R),_e(a),r(n,a)},J=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>j()&&V()!=="sidebar"?"plain":"ghost"),y=o(()=>j()?V()==="sidebar"?"icon-compact":"icon-sm":void 0),M=o(()=>j()&&V()==="sidebar"&&t(ee)),m=o(()=>!j()),P=o(()=>j()?V()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(M)},get wrapContent(){return t(m)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var H=B(),D=_(H);We(D,R),r(l,H)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return Ve},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=be(a);{let m=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(m)??""} ${t(P)??""}`},onpointerdown:Re,onkeydown:Re,onclick:Fe,get title(){return t(l)},children:(A,H)=>{var D=_r(),K=_(D);{var re=w=>{var q=br();W(()=>{Le(q,"src",`data:image/png;base64,${t(v).iconBase64??""}`),Le(q,"alt",t(v).label)}),r(w,q)},it=w=>{const q=o(()=>t(v).icon);var He=B(),pt=_(He);S(pt,()=>t(q),(ft,mt)=>{mt(ft,{size:14})}),r(w,He)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let q=o(()=>Je(t(v).category));ne(w,{get icon(){return t(q)},class:"w-3.5 h-3.5 opacity-60"})}};z(K,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=N(K,2),ut=oe(dt,!0);W(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,D)},$$slots:{default:!0}})}var y=N(i,2);{var M=m=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(m,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Bt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};z(y,m=>{t(f).length>1&&m(M)})}_e(a),r(n,a)};z(C,n=>{Q()&&R()?n(c):R()?n(J,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var L=hr(),k=be(L);{var T=h=>{var $=vr(),n=oe($,!0);W(()=>ae(n,ue())),r(h,$)};z(k,h=>{ue()&&h(T)})}var C=N(k,2);{var c=h=>{var $=he(),n=_($);le(n,()=>t(fe));var a=N(n,2);S(a,()=>je,(i,y)=>{y(i,{})}),r(h,$)};z(C,h=>{t(fe).length&&h(c)})}var J=N(C,2);le(J,()=>t(Se)),_e(L),r(F,L)};let G=o(()=>Q()&&R()?"contents!":"");Vt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(G)},get open(){return t(ee)},set open(F){De(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}_e(d),W(()=>Pt(d,1,`${Q()&&R()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};z(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,Me);var st=It(rt);return Ke(),st}export{wr as O,sr as a,Je as r,ir as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as q,bo as s,bw as G,bp as J,b as K}from"./
|
|
1
|
+
import{t as q,bo as s,bw as G,bp as J,b as K}from"./51_h0jm2.js";import{bo as L,bs as Q,ca as U,aD as i,ay as V,bx as X,bS as Z,W as B,bn as $,c9 as n,aA as r,be as ee,b$ as te,b_ as ae,bO as se,aB as re}from"./CJxGDkBm.js";import{i as ie}from"./PXCFrn2V.js";import{b as ne,e as oe}from"./CpPNoOk-.js";import{l as de,o as le,k as ue,t as ce,e as fe,a as ge}from"./BgDYQZ_0.js";import{b as me}from"./NtFyWdpR.js";import"./DKn1sQ32.js";import{a_ as xe}from"./Cdw_CIdg.js";var he=new Set(["$$slots","$$events","$$legacy","ref","id","class","value","doesExpandToFit","autoResize","minHeight","maxHeight","noFocusStyle","variant","size","message","error","messageId","aria-describedby","aria-invalid"]),be=re("<textarea></textarea> <!>",1);function ve(E,t){const C=L();if(new.target)return q({component:ve,...E});Q(t,!0);const k=xe();let a=s(t,"ref",15),x=s(t,"id",7),h=s(t,"class",7),c=s(t,"value",15),b=s(t,"doesExpandToFit",7,!1),v=s(t,"autoResize",7,!1),f=s(t,"minHeight",7,80),o=s(t,"maxHeight",7,400),y=s(t,"noFocusStyle",7,!1),g=s(t,"variant",7,"default"),_=s(t,"size",7),z=s(t,"message",7),d=s(t,"error",7),m=s(t,"messageId",23,()=>`${C}-message`),p=s(t,"aria-describedby",7),H=s(t,"aria-invalid",7),M=J(t,he);const I=n(()=>_()??k),l=n(()=>v()||b()),F=n(()=>d()??z()),j=n(()=>[p(),i(F)?m():void 0].filter(Boolean).join(" ")||void 0),A=n(()=>d()?!0:H());function D(){a()?.focus()}function P(){a()?.blur()}function w(){if(!i(l)||!a())return;a(a().style.height="auto",!0);const e=Math.min(Math.max(a().scrollHeight,f()),o());a(a().style.height=`${e}px`,!0),a(a().style.overflowY=a().scrollHeight>o()?"auto":"hidden",!0)}U(()=>{i(l)&&a()&&c()!==void 0&&w()});var N={focus:D,blur:P,get ref(){return a()},set ref(e){a(e),r()},get id(){return x()},set id(e){x(e),r()},get class(){return h()},set class(e){h(e),r()},get value(){return c()},set value(e){c(e),r()},get doesExpandToFit(){return b()},set doesExpandToFit(e=!1){b(e),r()},get autoResize(){return v()},set autoResize(e=!1){v(e),r()},get minHeight(){return f()},set minHeight(e=80){f(e),r()},get maxHeight(){return o()},set maxHeight(e=400){o(e),r()},get noFocusStyle(){return y()},set noFocusStyle(e=!1){y(e),r()},get variant(){return g()},set variant(e="default"){g(e),r()},get size(){return _()},set size(e){_(e),r()},get message(){return z()},set message(e){z(e),r()},get error(){return d()},set error(e){d(e),r()},get messageId(){return m()},set messageId(e=`${C}-message`){m(e),r()},get"aria-describedby"(){return p()},set"aria-describedby"(e){p(e),r()},get"aria-invalid"(){return H()},set"aria-invalid"(e){H(e),r()},$set:G,$on:(e,S)=>K(t,e,S)},R=be(),u=V(R);X(u),ne(u,e=>({id:x(),"data-slot":"textarea","data-size":i(I),"data-variant":g()==="inline"?"inline":void 0,oninput:i(l)?w:void 0,"aria-describedby":i(j),"aria-invalid":i(A),class:e,style:i(l)?`min-height: ${f()}px; max-height: ${o()}px`:void 0,autocorrect:"off",autocapitalize:"off",spellcheck:"false",...M}),[()=>oe(g()==="inline"?le:["type-caption text-foreground placeholder:text-muted-foreground flex w-full rounded-(--radius-medium) border px-3",ue,ce,i(I)==="compact"?"py-1.5":"py-2",i(l)?"resize-none overflow-hidden":"min-h-20"],y()&&de,h())]),me(u,e=>a(e),()=>a());var O=Z(u,2);{var W=e=>{{let S=n(()=>d()?"error":"helper");ge(e,{get id(){return m()},get tone(){return i(S)},children:(Y,ye)=>{ee();var T=te();ae(()=>se(T,i(F))),B(Y,T)},$$slots:{default:!0}})}};ie(O,e=>{i(F)&&e(W)})}return fe(u,c),B(E,R),$(N)}export{ve as T};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as W}from"./
|
|
1
|
+
import{I as W}from"./CgeBiXYG.js";import{p as X}from"./BXHaIh_f.js";import{b0 as z,a_ as G,aZ as Y,Y as P,U as F,V as Z,b as g,q as N,ay as A,aX as q,B as U,W as E,r as j,aV as J,a0 as K,O as Q,aO as ee}from"./DrBi0w5G.js";import{p as te}from"./C0gEyGJV.js";var L=/[─━│┃└┗├┣]/,D=/[└┗├┣]/,ne=/[─━]/,V=/^[\s│┃]+$/,T=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,$=/^\s*%%/,re=" ";function _(n){return n.some(t=>L.test(t))}g(_,"isBoxDrawingFormat");function M(n){for(const t of n){const e=D.exec(t);if(e?.index&&e.index>0)return e.index}return 4}g(M,"inferSegmentWidth");function S(n,t){return n.replace(/\bline\s+(\d+)\b/gi,(e,r)=>{const s=parseInt(r,10),i=t.get(s);return i?`line ${i}`:e})}g(S,"remapErrorLines");function R(n){const t=n.split(`
|
|
2
2
|
`),e=new Map;let r=-1;for(const[p,c]of t.entries())if(c.trim()==="treeView-beta"){r=p;break}if(r===-1)return{text:n,lineMap:e};const s=[];for(let p=r+1;p<t.length;p++){const c=t[p];c.trim()===""||$.test(c)||T.test(c)||V.test(c)||s.push(c.replace(/\t/g," "))}if(!_(s))return{text:n,lineMap:e};const i=M(s),o=[];let a=0;for(let p=0;p<=r;p++)o.push(t[p]),a++,e.set(a,p+1);for(let p=r+1;p<t.length;p++){const c=t[p],d=c.trim(),h=p+1;if(d===""){o.push(c),a++,e.set(a,h);continue}if($.test(c)){o.push(c),a++,e.set(a,h);continue}if(T.test(c)){o.push(c),a++,e.set(a,h);continue}if(V.test(c))continue;const l=c.replace(/\t/g," "),w=D.exec(l);if(w?.index!==void 0){const f=w.index,m=Math.round(f/i)+1;let u=f+1;for(;u<l.length&&ne.test(l[u]);)u++;for(;u<l.length&&l[u]===" ";)u++;const v=l.slice(u).trimEnd();if(!v)throw new Error(`Line ${h}: Empty node — expected a filename or directory name after the box-drawing prefix`);const O=re.repeat(m);o.push(O+v),a++,e.set(a,h)}else{if(/^[\s─━│┃└┗├┣]+$/.test(l))continue;if(L.test(l))o.push(c),a++,e.set(a,h);else{if(/^\s+/.test(l))throw new Error(`Line ${h}: Unexpected indentation without box-drawing characters. In box-drawing format, use ├── or └── prefixes for indented nodes.`);o.push(c),a++,e.set(a,h)}}}return{text:o.join(`
|
|
3
3
|
`),lineMap:e}}g(R,"preprocessBoxDrawing");var x=new W(()=>({cnt:1,stack:[{id:0,level:-1,name:"/",nodeType:"directory",children:[]}]})),ie=g(()=>{x.reset(),j()},"clear"),oe=g(()=>x.records.stack[0],"getRoot"),se=g(()=>x.records.cnt,"getCount"),ae=Q.treeView,ce=g(()=>N(ae,E().treeView),"getConfig"),le=g((n,t,e,r,s,i)=>{for(;n<=x.records.stack[x.records.stack.length-1].level;)x.records.stack.pop();const o={id:x.records.cnt++,level:n,name:t,nodeType:e,icon:s,cssClass:r,description:i,children:[]};x.records.stack[x.records.stack.length-1].children.push(o),x.records.stack.push(o)},"addNode"),de={clear:ie,addNode:le,getRoot:oe,getCount:se,getConfig:ce,getAccTitle:Z,getAccDescription:F,getDiagramTitle:P,setAccDescription:Y,setAccTitle:G,setDiagramTitle:z},I=de,he=g(n=>{X(n,I);for(const t of n.nodes){const e=typeof t.indent=="number"?t.indent:0;let r=t.name;const s=r.endsWith("/");s&&(r=r.slice(0,-1));const i=s?"directory":"file",o=t.classAnnotation||void 0,a=t.iconAnnotation,p=a!==void 0?a||"none":void 0,c=t.descAnnotation||void 0,d=c?J(c,E()):void 0;I.addNode(e,r,i,o,p,d)}},"populate"),pe={parse:g(async n=>{const{text:t,lineMap:e}=R(n);try{const r=await te("treeView",t);A.debug(r),he(r)}catch(r){throw e.size>0&&r instanceof Error&&(r.message=S(r.message,e)),r}},"parse")},b={prefix:"mermaid-treeview",height:24,width:24,icons:{folder:{body:'<path fill="currentColor" d="M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z"/>'},file:{body:'<path fill="currentColor" fill-rule="evenodd" d="M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z" clip-rule="evenodd"/>'}}};function H(n,t){const e=t?.filenameIcons?.[n];if(e)return e;const r=n.lastIndexOf(".");if(r>0){const s=n.substring(r).toLowerCase(),i=t?.extensionIcons;return i?.[s]??i?.[s.slice(1)]}}g(H,"detectIcon");function C(n,t){return n.includes(":")?n:n in b.icons||!t?`${b.prefix}:${n}`:`${t}:${n}`}g(C,"qualifyIcon");function B(n,t){if(n.icon!=="none"){if(n.icon)return C(n.icon,t.defaultIconPack);if(t.showIcons){if(n.nodeType==="file"){const e=H(n.name,t);if(e==="none")return;if(e)return C(e,t.defaultIconPack)}return`${b.prefix}:${n.nodeType==="directory"?"folder":"file"}`}}}g(B,"getNodeIcon");ee([{name:b.prefix,icons:b}]);var y=14,ge=4,fe=16,ue=g(async(n,t)=>{const e=[],r=g(i=>{const o=B(i,t);o&&e.push({icon:o,node:i}),i.children.forEach(r)},"collect");r(n);const s=await Promise.all(e.map(async({icon:i,node:o})=>({id:o.id,svg:await K(i,{height:y,width:y})})));return new Map(s.map(({id:i,svg:o})=>[i,o]))},"resolveNodeIcons"),we=g((n,t,e,r,s,i)=>{const o=r.append("g");let a="treeView-node-label";e.nodeType==="directory"&&(a+=" treeView-node-dir"),e.cssClass&&(a+=` ${e.cssClass}`);const p=y+ge,c=B(e,s),d=c!==void 0;c&&o.append("g").attr("class","treeView-node-icon").attr("transform",`translate(${n+s.paddingX}, ${t+s.paddingY})`).html(i.get(e.id)??"");const h=o.append("text").text(e.name).attr("dominant-baseline","middle").attr("class",a),{height:l,width:w}=h.node().getBBox(),f=l+s.paddingY*2,m=n+s.paddingX+(d?p:0);h.attr("x",m),h.attr("y",t+f/2);const u=m+w,v=w+s.paddingX*2+(d?p:0);return e.BBox={x:n,y:t,width:v,height:f},e.cssClass?.split(/\s+/).includes("highlight")&&o.insert("rect",":first-child").attr("x",n).attr("y",t+1).attr("width",0).attr("height",f-2).attr("rx",3).attr("class","treeView-highlight-bg"),{node:e,nodeGroup:o,labelRightEdge:u,centerY:t+f/2}},"positionLabel"),k=g((n,t,e,r,s,i)=>n.append("line").attr("x1",t).attr("y1",e).attr("x2",r).attr("y2",s).attr("stroke-width",i).attr("class","treeView-node-line"),"positionLine"),me=g((n,t,e,r)=>{let s=0,i=0;const o=[],a=g((d,h,l,w)=>{const f=w*(l.rowIndent+l.paddingX),m=we(f,s,h,d,l,r);o.push(m);const{height:u,width:v}=h.BBox;k(d,f-l.rowIndent,s+u/2,f,s+u/2,l.lineThickness),i=Math.max(i,f+v),s+=u},"drawNode"),p=g((d,h=0)=>{a(n,d,e,h),d.children.forEach(m=>{p(m,h+1)});const{x:l,y:w,height:f}=d.BBox;if(d.children.length){const{y:m,height:u}=d.children[d.children.length-1].BBox;k(n,l+e.paddingX,w+f,l+e.paddingX,m+u/2+e.lineThickness/2,e.lineThickness)}},"processNode");p(t);const c=o.filter(d=>d.node.description);if(c.length>0){const h=Math.max(...o.map(l=>l.labelRightEdge))+fe;for(const l of c){const f=l.nodeGroup.append("text").text(l.node.description).attr("dominant-baseline","middle").attr("class","treeView-node-description").attr("x",h).attr("y",l.centerY).node().getBBox();i=Math.max(i,h+f.width+e.paddingX)}}for(const d of o)if(d.node.cssClass?.split(/\s+/).includes("highlight")){const h=d.nodeGroup.select(".treeView-highlight-bg");if(!h.empty()){const l=i-d.node.BBox.x+8;h.attr("width",l),i=Math.max(i,d.node.BBox.x+l+2)}}return{totalHeight:s,totalWidth:i}},"drawTree"),xe=g(async(n,t,e,r)=>{A.debug(`Rendering treeView diagram
|
|
4
4
|
`+n);const s=r.db,i=s.getRoot(),o=s.getConfig(),a=q(t),p=a.append("g");p.attr("class","tree-view");const c=await ue(i,o),{totalHeight:d,totalWidth:h}=me(p,i,o,c);a.attr("viewBox",`-${o.lineThickness/2} 0 ${h} ${d}`),U(a,d,h,o.useMaxWidth)},"draw"),ve={draw:xe},be=ve,Ie={labelFontSize:"16px",labelColor:"black",lineColor:"black",iconColor:"#546e7a",descriptionColor:"#6a9955",highlightBg:"rgba(255, 193, 7, 0.15)",highlightStroke:"#ffc107"},Ce=g(({treeView:n})=>{const{labelFontSize:t,labelColor:e,lineColor:r,iconColor:s,descriptionColor:i,highlightBg:o,highlightStroke:a}=N(Ie,n);return`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Y as a,aM as e}from"./
|
|
1
|
+
import{Y as a,aM as e}from"./DSQT151l.js";const t={note:a,changes:e},c={note:"note",changes:"changes","local-changes":"changes","chat-changes":"changes","activity-changes":"changes"};function o(n){return c[n]??null}export{t as R,o as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as s}from"./
|
|
1
|
+
import{d as s}from"./Cs_DX3BC.js";import{a as t}from"./BdWqymET.js";import{cR as i}from"./XJqoy2ap.js";import{J4 as a}from"./Zldsekdv.js";import{setLinkActionMenuLinkedWorkspaces as n}from"./B3bYRRle.js";const c=new t("LinkActionMenuLinkedWorkspaces");async function u(r,e){if(i.select(a.state)?.capabilities.prWorkspaceLookup===1)try{const o=await s.workspaces.findByPullRequest(e);n(r,o)}catch(o){c.debug("PR workspace lookup failed",{url:e,error:o})}}export{u as loadLinkActionMenuLinkedWorkspaces};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,B as w,ay as x}from"./
|
|
1
|
+
import{b as a,B as w,ay as x}from"./DrBi0w5G.js";var g=a((e,t,i,r)=>{e.attr("class",i);const{width:o,height:h,x:n,y:c}=u(e,t);w(e,h,o,r);const s=B(n,c,o,h,t);e.attr("viewBox",s),x.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),u=a((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),B=a((e,t,i,r,o)=>`${e-o} ${t-o} ${i} ${r}`,"createViewBox");export{g as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{J4 as o,m6 as L,nL as E,no as C,J9 as W}from"./
|
|
1
|
+
import{J4 as o,m6 as L,nL as E,no as C,J9 as W}from"./Zldsekdv.js";import{w as z}from"./PVXvIyE8.js";import{dE as b,dI as f}from"./XJqoy2ap.js";const a=o.createSelector((t,e)=>t.fileExplorer.byWorkspaceId[e]??L),G=o.createSelector((t,e,s)=>{const n=E(t.fileExplorer.searches,s);return n?.workspaceId===e?n:void 0}),J=o.createSelector((t,e)=>{const s=a.select(t,e);return s.rootPath?E(s.nodes,s.rootPath)??null:null}),M=o.createSelector((t,e)=>a.select(t,e).nodes.map),R=o.createSelector((t,e)=>a.select(t,e).isLoading),q=o.createSelector((t,e)=>a.select(t,e).isInitialized),B=o.createSelector((t,e)=>a.select(t,e).error),K=o.createSelector((t,e)=>a.select(t,e).fileCount),O=o.createSelector((t,e)=>a.select(t,e).gitStatus),g=o.createSelector((t,e)=>{const s=b.select(t,e);return s?.worktreePath||s?.repositoryPath||s?.path||""}),V=o.createSelector((t,e)=>{const s=a.select(t,e);return{workspacePath:g.select(t,e),currentWorkspacePath:s.workspacePath,isLoading:s.isLoading,isInitialized:s.isInitialized}});o.createSelector((t,e)=>e?{wsId:e,workspacePath:g.select(t,e),workspaceEnvironmentConfig:f.select(t,e)}:{wsId:null,workspacePath:"",workspaceEnvironmentConfig:void 0});const A=o.createSelector((t,e,s)=>a.select(t,e).expandedPaths.includes(s)),Q=o.createSelector((t,e,s)=>a.select(t,e).loadingPaths.includes(s)),T=o.createSelector((t,e)=>{const s=a.select(t,e);return s.expandedPaths.some(n=>n!==s.workspacePath)}),U=o.createSelector((t,e)=>{const s=g.select(t,e);if(!s)return!1;const n=a.select(t,e),p=f.select(t,e);return n.workspacePath!==s?!0:n.isLoading?!1:n.isInitialized?p?.type==="remote"&&!n.isRemoteInitialized:!0}),F=new WeakMap,X=o.createSelector((t,e)=>{const s=a.select(t,e);if(!s.rootPath)return[];const n=E(s.nodes,s.rootPath);if(!n)return[];const p=new Set(s.expandedPaths),y=new Set(s.loadingPaths),I=C(s.nodes,n.children,p,y),{agentFileEdits:v,workspacePath:P,gitStatus:S}=s,x=new Set;for(const r of Object.keys(S)){const i=r.split("/");for(let l=1;l<i.length;l++)x.add(i.slice(0,l).join("/"))}return I.map(r=>{let i=r.node.path;if(P){const w=W(r.node.path,P);w!==r.node.path&&(i=w)}const l=r.node.type==="file",c=v[i],d=l?S[i]:void 0,h=!l&&x.has(i),k={isExpanded:r.isExpanded,isLoading:r.isLoading,agentEdits:c&&c.length>0?c:void 0,gitStatus:d,directoryHasChanges:h,displayPath:r.displayPath,compactedExpandedPathsKey:r.compactedExpandedPaths?.join("\0"),depth:r.depth},u=F.get(r.node);if(u&&z(u.inputs,k))return u.result;const m=c&&c.length>0||d!==void 0||h?{node:r.node,depth:r.depth,displayPath:r.displayPath,...r.compactedExpandedPaths?{compactedExpandedPaths:r.compactedExpandedPaths}:{},isExpanded:r.isExpanded,isLoading:r.isLoading,...c&&c.length>0?{agentEdits:c}:{},...d!==void 0?{gitStatus:d}:{},...h?{directoryHasChanges:!0}:{}}:r;return F.set(r.node,{inputs:k,result:m}),m})});export{B as a,K as b,O as c,V as d,q as e,R as f,M as g,J as h,G as i,a as j,X as k,T as l,A as m,Q as n,U as o,g as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as pt,bo as S,bw as bt,bq as Pt,b as Ct,bm as vt,bs as h}from"./
|
|
1
|
+
import{t as pt,bo as S,bw as bt,bq as Pt,b as Ct,bm as vt,bs as h}from"./51_h0jm2.js";import{bs as kt,ca as J,aD as n,c9 as i,a7 as q,ay as w,W as _,bn as $t,bS as yt,aA as B,aB as St}from"./CJxGDkBm.js";import{i as L}from"./PXCFrn2V.js";import{k as wt}from"./C9UsZ4re.js";import{c as _t}from"./DGmOjLYi.js";import{t as Bt}from"./D2MmXC4A.js";import{J4 as u,eB as It,eC as Tt,JE as Wt,JT as Ut,JJ as Rt,vg as Dt,og as V}from"./Zldsekdv.js";import{g as At}from"./BrMXrCxP.js";import{bL as Ft,bN as Ht,dE as Nt}from"./XJqoy2ap.js";import{C as f}from"./DypB-Dwi.js";import"./DdkBNH3W.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import{bg as Mt}from"./DSQT151l.js";import"./CF1Tu_8c.js";/* empty css */import{T as xt}from"./CpL3Nqus.js";import"./DmhHEMPi.js";import{M as Et}from"./CqesqBNM.js";import{V as Jt}from"./sG8VksRm.js";import{O as qt}from"./CF2xUnmW.js";import{bT as Lt,bN as Vt,b8 as Kt}from"./uWDJKH9B.js";import{i as Ot}from"./H2jLkRRS.js";var Gt=St("<!> <!>",1);function jt(I,p){if(new.target)return pt({component:jt,...I});kt(p,!0);const T=()=>h(et,"$workspace",l),P=()=>h(Y,"$ftChanges$",l),K=()=>h(Z,"$ftCommits$",l),W=()=>h(Q,"$foldUnchanged",l),U=()=>h(z,"$lineWrapping",l),R=()=>h(X,"$diffSideBySide",l),[l,O]=Pt(),G=t=>{Jt(t,{embedded:!0,get foldEnabled(){return W()},onToggleFold:()=>u.dispatch(Rt()),get wrapEnabled(){return U()},onToggleWrap:()=>u.dispatch(Ut()),get splitEnabled(){return R()},onToggleSplit:()=>u.dispatch(Wt())})},j=t=>{var e=Gt(),r=w(e);{let m=i(()=>vt.layout_diffHeader_goToFile_tooltip());_t(r,()=>Et,(y,ht)=>{ht(y,{get icon(){return Mt},get label(){return n(m)},onclick:zt=>ft()})})}var s=yt(r,2);{var d=m=>{qt(m,{get filePath(){return n(k)},get workspaceId(){return o()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return n(v)}})};L(s,m=>{n(k)&&m(d)})}_(t,e)},z=Lt(),Q=Vt(),X=Kt();let a=S(p,"tab",7),o=S(p,"workspaceId",7),b=S(p,"isActive",7);const C=Bt(()=>o()),Y=Ft(C),Z=Ht(C),tt=new Set([f.Committed,f.Pushed,f.PullRequest,f.Merged,f.Trunk]),D=At(),et=Nt(C),nt=i(()=>T()?.worktreePath||T()?.repositoryPath||void 0);J(()=>{const t=o();if(!(!b()||!t||n(c)))return u.dispatch(It(t,"all")),()=>u.dispatch(Tt(t,"all"))});const c=i(()=>a().data?.gitRootId),A=i(()=>a().data?.gitRootPath),v=i(()=>n(A)||n(nt)),k=i(()=>a().diffPath&&n(v)?Ot(a().diffPath)?a().diffPath:`${n(v)}/${a().diffPath}`:null);function F(t,e){return!!(t.file===e||t.relativePath===e||t.relativePath&&e.endsWith("/"+t.relativePath)||t.file&&e.endsWith("/"+t.file)||t.relativePath&&t.relativePath.endsWith("/"+e)||t.file&&t.file.endsWith("/"+e))}function H(t){return!t||n(c)?null:P().find(e=>F(e,t)&&(e.stage==="staged"||e.stage==="unstaged"))??null}function at(t){if(!t||n(c))return null;let e=null,r=-1/0;for(const s of P()){if(!F(s,t)||!tt.has(s.stage)||!s.commitHash)continue;const d=s.attribution?.timestamp??0;d>=r&&(e=s,r=d)}return e}function it(t,e){return!!(t===e||e.endsWith("/"+t)||t.endsWith("/"+e))}function rt(t){if(!t||n(c))return null;for(const e of K())if(e?.hash&&e.files?.some(r=>r?.path&&it(r.path,t)))return{id:`diff-${t}-${e.hash}`,file:t,relativePath:t,status:"modified",stage:f.Committed,commitHash:e.hash,stats:{additions:0,deletions:0},attribution:{timestamp:e.timestamp??Date.now()}};return null}const N=i(()=>a().diffPath?H(a().diffPath):null),st=i(()=>{if(!a().diffPath)return 0;const t=H(a().diffPath),e=P().length;if(t){const r=t.stage==="staged"?1:t.stage==="unstaged"?2:3,s=(t.stats?.additions||0)+(t.stats?.deletions||0),d=t.attribution?.timestamp?t.attribution.timestamp%1e5:0;return r*1e6+s*1e3+d+e}return e}),g=i(()=>a().data?.change),M=i(()=>a().data?.branchBaseRef),x=i(()=>a().data?.branchBaseCommitSha),ot=i(()=>!!(n(M)||n(x))),$=i(()=>{if(n(g)?.commitHash)return n(g);if(n(N))return n(N);if(n(ot)&&n(g))return n(g);const t=at(a().diffPath??null);if(t)return t;const e=rt(a().diffPath??null);return e||(n(g)?n(g):{id:`diff-${a().diffPath}`,file:a().diffPath||"",relativePath:a().diffPath||"",status:"modified",stage:f.Unstaged,stats:{additions:0,deletions:0},attribution:{timestamp:Date.now()}})});function ft(t){if(!a().diffPath)return;const r={type:"file",title:a().diffPath.split("/").pop()||a().diffPath,closable:!0,filePath:n(k)||a().diffPath,workspaceId:o()};u.dispatch(Dt(o(),r))}J(()=>{!D||!b()||D.registerActions({display:G,actions:j})});function dt(t,e){u.dispatch(V(o(),crypto.randomUUID(),{kind:"stageHunk",filePath:t,hunkPatch:e,source:"diff"}))}function ut(t,e){u.dispatch(V(o(),crypto.randomUUID(),{kind:"unstageHunk",filePath:t,hunkPatch:e,source:"diff"}))}var ct={get tab(){return a()},set tab(t){a(t),B()},get workspaceId(){return o()},set workspaceId(t){o(t),B()},get isActive(){return b()},set isActive(t){b(t),B()},$set:bt,$on:(t,e)=>Ct(p,t,e)},E=q(),mt=w(E);{var lt=t=>{var e=q(),r=w(e);wt(r,()=>a().diffPath,s=>{{let d=i(()=>R()?"split":"unified"),m=i(()=>!n(c)&&n($).stage===f.Unstaged?dt:void 0),y=i(()=>!n(c)&&n($).stage===f.Staged?ut:void 0);xt(s,{get active(){return b()},get change(){return n($)},get workspaceId(){return o()},get viewMode(){return n(d)},get foldUnchanged(){return W()},get lineWrapping(){return U()},get refreshKey(){return n(st)},get branchBaseRef(){return n(M)},get branchBaseCommitSha(){return n(x)},get gitRootId(){return n(c)},get gitRootPath(){return n(A)},get onStageHunk(){return n(m)},get onUnstageHunk(){return n(y)}})}}),_(t,e)};L(mt,t=>{a().diffPath&&t(lt)})}_(I,E);var gt=$t(ct);return O(),gt}export{jt as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{t as Bt,bo as h,bw as Ft,b as Ht,bm as g,bp as Bf,bs as _t,bq as sa,br as Ws,b6 as Kl,bj as Ff,b9 as Hf,bi as zf,ba as Wf,bf as jf,a$ as Uf,b3 as qf,bh as Vf,bk as Kf,a_ as Gf,b8 as Jf,b7 as Yf,b1 as Xf,be as Zf,bl as Qf,bu as Gl,bd as $f,b5 as eg,b4 as tg,b2 as rg,bc as ng,bb as ag,bg as og,b0 as sg,_ as ig}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CC08YY4X.js","/app/immutable/chunks/51_h0jm2.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/Zldsekdv.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BEklUrxK.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DxvSggY5.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CqJQ3ikU.js","/app/immutable/chunks/DWLnWMNZ.js","/app/immutable/chunks/SX1khnGy.js","/app/immutable/chunks/PXCFrn2V.js","/app/immutable/chunks/CpPNoOk-.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/Cdw_CIdg.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/Bjy4ygfJ.js","/app/immutable/chunks/CF1Tu_8c.js","/app/immutable/chunks/BQDGTBxC.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DGmOjLYi.js","/app/immutable/chunks/C9UsZ4re.js","/app/immutable/chunks/DqFWZ_g1.js","/app/immutable/chunks/JKboQXkL.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/DSQT151l.js","/app/immutable/chunks/BxwkoIbZ.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/XJqoy2ap.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/LKW_Bid7.js","/app/immutable/chunks/DCOxMTSf.js","/app/immutable/chunks/DMl4Z5o_.js","/app/immutable/chunks/Bi5_2qbB.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/Bs9TCQJX.js","/app/immutable/chunks/BuveYyQe.js","/app/immutable/chunks/oOuL5l8A.js","/app/immutable/chunks/DUItrdZb.js","/app/immutable/chunks/DVy6H5Ng.js","/app/immutable/chunks/B5aYN90J.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as Bt,bo as h,bw as Ft,b as Ht,bm as g,bp as Bf,bs as _t,bq as sa,br as Ws,b6 as Kl,bj as Ff,b9 as Hf,bi as zf,ba as Wf,bf as jf,a$ as Uf,b3 as qf,bh as Vf,bk as Kf,a_ as Gf,b8 as Jf,b7 as Yf,b1 as Xf,be as Zf,bl as Qf,bu as Gl,bd as $f,b5 as eg,b4 as tg,b2 as rg,bc as ng,bb as ag,bg as og,b0 as sg,_ as ig}from"./51_h0jm2.js";import{bI as lg,bj as bo,aG as cg,bs as zt,ca as xt,c0 as Wn,aD as e,a7 as vt,ay as De,bS as m,be as tr,b$ as jt,b_ as I,bO as _,W as u,bH as T,c9 as d,a5 as E,bl as L,bA as w,bn as Wt,bV as he,aA as b,aB as k,c5 as vn,aC as Ua,bo as Ho,br as Yr,bk as ss,ai as oo,cd as Ro,aw as Mn,a as dg,aj as Mr,c7 as ug,c6 as Jl,bf as Zo,bz as Hd}from"./CJxGDkBm.js";import{i as B}from"./PXCFrn2V.js";import{k as ao}from"./C9UsZ4re.js";import{g as Nt,h as pg,e as jn,I as is,i as Rr,o as fg,p as gg,f as vg,s as mg}from"./Bjy4ygfJ.js";import{s as gn}from"./DxvSggY5.js";import{c as kr}from"./DGmOjLYi.js";import{n as Mi}from"./BxwkoIbZ.js";import{b as hg,s as oe,g as Ln,e as Cn,c as ir,f as pt}from"./CpPNoOk-.js";import{b as mr}from"./NtFyWdpR.js";import{p as zd,bG as Wd,cX as jd,dT as bg,dF as yg,aI as _g,cG as xg,ac as wg,d1 as kg,dE as Qo,aN as js,ce as Ig,R as Sg,b as Cg,a9 as Yl,d7 as Eg,c2 as Pg,X as Ag,dA as Tg,a3 as Rg,dK as Mg,aq as Lg,c_ as Ng,aE as Og,n as Dg,H as Bg}from"./XJqoy2ap.js";import{c as Fg}from"./D-62MVd3.js";import{m as zn,w as Hg,C as Ud,c as zg,R as Wg}from"./SX1khnGy.js";import{aa as qd,f as St,ah as Ao,ae as Li}from"./Cdw_CIdg.js";import{w as jg,F as Ug}from"./CF1Tu_8c.js";import{T as qg}from"./nRmTo2Eh.js";import{F as Tt,bj as Ni,bO as Vg,aq as Kg,aS as Gg,cQ as Jg,bn as cl,bE as Yg,aI as Vd,aN as dl,d3 as As,ad as Oi,cs as Xg,ch as Zg,cn as ul,cK as pl,bv as Qg,e as $g,c3 as Xl,cd as ev,cq as tv,c$ as Kd,bY as rv,ba as ui,bg as Go,aH as nv,aB as Di,aw as Gd,be as Jd,bF as av,B as ov,by as sv,a2 as Yd,b5 as iv,a8 as Xd,cl as lv,an as Zd,cS as Qd,cO as Zl,au as $d,aM as Ql,cA as cv,cZ as dv,cT as uv,aL as pv,b1 as fv,bR as eu,bp as gv,ap as fl,c9 as $l,aA as vv,ab as mv,a9 as hv}from"./DSQT151l.js";import{c as tu}from"./ChTqQfQN.js";import{g as bv}from"./JKboQXkL.js";import{J4 as Ot,bT as yv,si as ec,sT as _v,JW as xv,K0 as wv,i as ru,IJ as nu,nK as au,n_ as ou,nZ as su,nD as Us,qm as gl,yq as kv,vs as ks,uL as Bi,vu as Iv,nr as iu,J9 as Sv,tz as Cv,oO as lu,rC as vl,m8 as tc,a5 as rc,r6 as Ev,r2 as Pv,r7 as Av,q_ as Tv,r4 as Rv,vi as Mv,B8 as cu,Bc as du,n$ as nc,A2 as Lv,A0 as Nv,A4 as Ov,bl as Fi,Hs as Dv,IF as Bv,hg as ac,hf as Fv,nV as Hv,wt as zv,wu as Wv,ws as oc,C7 as aa,cy as uu,cm as jv,xr as Uv,d7 as qv,de as Vv,Bi as Kv}from"./Zldsekdv.js";import{z as pu,I as fu}from"./CqJQ3ikU.js";import{e as sc,i as gu}from"./DCOxMTSf.js";import{e as ic,d as vu,b as Gv,a as Jv,f as Yv,I as Xv}from"./CnM1-KSC.js";import{b as mu}from"./CjswKKTa.js";/* empty css */import{d as hu,G as bu,R as yu,g as _u,f as Zv,M as xu,C as Qv,q as ml,l as $v,h as em,e as tm,a as wu,o as rm,S as Eo,K as nm}from"./M18r7swD.js";import{D as am,e as om}from"./BEklUrxK.js";import"./DKn1sQ32.js";import"./BGP1lrgu.js";import"./CN-6Tr26.js";import{b as sm}from"./Ct_Zx4ru.js";import{r as im}from"./CV10cSI4.js";import{a6 as lm,ck as cm,cm as dm,cl as um,b3 as pm,b1 as fm,b2 as gm,a4 as vm,am as hs,al as mm,cV as hm,aB as lc,aJ as bm,ak as ym,C as _m,i as xm,E as Is,cW as wm,aY as cc,c$ as km,ah as Im,a9 as Sm,r as Cm,p as Em,aG as Pm,d2 as Am,cM as Tm,cF as Rm,R as Mm,cw as Lm,bU as Nm}from"./uWDJKH9B.js";import{v as Om,k as Dm,E as Bm,l as Fm,V as Hm,q as zm,n as Wm,A as dc,s as jm,I as Um,R as qm,m as Vm,W as Km,o as ku,S as Iu,i as Gm,g as uc,f as Jm,e as Ym,j as Xm,h as Zm,c as pc,r as Qm}from"./v2EYTTpI.js";import{a as $m}from"./a34jwGLW.js";import{aA as eh,aH as th,g as rh,n as nh,aK as ah,K as oh,M as sh,O as ih,at as lh,aD as ch,av as dh}from"./Bs9TCQJX.js";import{f as uh,e as ph,m as Hi,bF as fh,B as gh,bE as vh,bB as mh,ai as fc,bD as hh,be as zi,ar as bh,k as yh,b4 as _h,q as gc,A as xh,L as vc}from"./DWLnWMNZ.js";import{i as wh,I as Mo,c as mc}from"./BgDYQZ_0.js";import{A as kh,s as Ih}from"./DNieQhK8.js";import{e as hc,l as bc,M as Su,m as Wi,w as vo}from"./Bn5goMn4.js";import{b as Cu}from"./C5rcw_c7.js";import{H as Sh}from"./KykWEhyB.js";import{t as $o}from"./DAsc1V4f.js";import{a as Ch}from"./DmhHEMPi.js";import{P as Eh}from"./KAO5AtPr.js";import{C as ji}from"./B9XvejAu.js";import"./dx9b_0TP.js";import{d as Ph,c as Ah}from"./CQw_RyF_.js";import{O as Th,M as Rh}from"./C1McR-sz.js";import{aQ as Mh,aZ as Lh,aB as Nh,b1 as Oh,aO as Dh,aY as Bh,aU as Fh,a7 as No,b4 as yc,aK as Hh,aR as zh,aX as hl,aS as bl,W as pi,aq as Wh,X as jh,a$ as Uh,aJ as qh,aT as Vh,aW as Kh,b7 as Gh,b5 as Jh,ay as Eu,p as Yh,n as Xh,aV as Zh,_ as Qh,ao as $h,aD as eb,z as tb,aC as rb,a8 as nb}from"./C7RXZVwZ.js";import{s as Ui}from"./DdkDv5Sd.js";import{e as _c}from"./BE2y8JEQ.js";import{M as ab}from"./CqesqBNM.js";import{s as ob,a as sb}from"./BsieX9dN.js";import{u as yl,w as ib,v as qs,I as lb,A as xc,e as Oo,d as Ha,J as wc,c as cb,f as db,g as kc,i as ub,b as pb,o as Pu,j as fb,q as qi,r as gb,O as vb,x as mb,k as Au,S as hb,N as bb,p as yb,n as Ic,z as _b,s as xb}from"./4pFiTcXi.js";import{o as Sc,T as fi,a as wb}from"./D4q8ggLU.js";import{O as kb,x as Ib,i as Sb,g as Cb,V as Eb,d as Pb}from"./Cs_DX3BC.js";import{D as es}from"./DdkBNH3W.js";import{l as ar,e as Ab,f as Cc,m as Ec}from"./DqFWZ_g1.js";import{A as ts}from"./FmBB5PWm.js";import"./C2jA6pM8.js";import{h as Tu}from"./BigcqNWS.js";import{C as ma}from"./Ck5xuk0H.js";import{M as Tb}from"./DrBi0w5G.js";/* empty css */import{g as _l}from"./D0Z6csIX.js";import{h as Vi}from"./CC08YY4X.js";import{f as Pc,d as Rb}from"./BswUVSRu.js";import{c as Ss}from"./BxTyo7yU.js";import{handleIntentLink as Mb}from"./CDqnAH9U.js";import{a as Ac}from"./D0H3cACA.js";import{t as Ki}from"./D2MmXC4A.js";import{s as Lb,a as Nb,M as Ru}from"./CiyIhnuP.js";import{b as Ob,k as Db}from"./DUItrdZb.js";import{m as Bb}from"./PVXvIyE8.js";import{showAssistantContent as Fb}from"./Deg_SlHr.js";import{o as Ts,c as Hb,n as zb}from"./CxmJEenA.js";import{p as Wb}from"./DupNtpYi.js";import{H as jb}from"./B0v5Qiob.js";import{d as Ub,c as qb,r as Vb,g as Kb,w as Jo,e as Gb,W as Jb,b as Yb}from"./Dy_4BU07.js";import{A as Tc}from"./D1cY0pVs.js";import{m as Xb}from"./BOXv-Vsz.js";import{h as bs}from"./hHeBjODU.js";import{g as Zb,e as Qb,f as $b,h as ey}from"./B5aYN90J.js";import{T as gi}from"./CFvGekuw.js";import"./DCv0ZqUq.js";import{S as ja}from"./5NOp7PNZ.js";import{O as ty,M as ry,X as ny,J as ay}from"./DVy6H5Ng.js";import{S as rs,a as Gi,T as Mu,U as Ji,K as oy,A as sy,P as iy,N as ly,j as cy,R as Rc,V as dy}from"./BQGSaBlM.js";import{D as uy}from"./ByCxDC-R.js";import{a as py}from"./C3-0e__R.js";import{a as fy}from"./BdWqymET.js";import{p as gy}from"./Qnx8Hmfg.js";const vy="intent:inline-visual-draft";function xP(r,t){const n=t.title.replace(/\s+/g," ").trim(),a=JSON.stringify({inputs:t.inputs,results:t.results},null,2),o=(a.match(/`+/g)??[]).reduce((c,l)=>Math.max(c,l.length),0),s="`".repeat(Math.max(3,o+1));return`${r}${r?`
|
|
3
3
|
|
|
4
4
|
`:""}${n}
|
|
5
5
|
|
|
@@ -294,7 +294,7 @@ ${r.content}`:a.content=r.content,a):r.old_text!==void 0&&r.new_text!==void 0?(a
|
|
|
294
294
|
`,Dk=["background","foreground","card","card-foreground","primary","primary-ink","primary-foreground","secondary","secondary-foreground","muted","muted-foreground","border","input","ring","danger","danger-background","info","info-foreground","success","success-foreground","warning","warning-foreground","font-ui","font-code","text-body-size","text-body-line-height","text-body-weight","text-body-tracking","radius-small","radius-medium","radius-large","app-background","sidebar","sidebar-accent","agent-avatar-surface-active","agent-avatar-foreground","diagram-host-surface","diagram-canvas","diagram-label-surface","diagram-node-surface","diagram-node-hover-surface","diagram-node-outline","diagram-node-title","diagram-metadata","diagram-group-outline","diagram-connector","diagram-connector-hover","diagram-connector-muted","diagram-connector-inactive","diagram-connector-danger","diagram-connector-success","diagram-connector-warning","diagram-connector-active","diagram-accent","diagram-accent-foreground","diagram-node-radius","diagram-group-radius","diagram-connector-width","text-caption-size","text-caption-line-height","text-caption-weight","text-caption-tracking","text-body-strong-size","text-body-strong-line-height","text-body-strong-weight","text-body-strong-tracking","space-1","space-2","space-3","space-4","space-5","space-6","space-7","control-height-compact","control-height-small","control-height-medium","control-height-large","radius-full","spring-fast","spring-fast-exit","spring-fast-ease","spring-moderate","spring-moderate-exit","spring-moderate-ease","spring-slow","spring-slow-exit","spring-slow-ease","spring-exit-ease","motion-fast","motion-standard","motion-slow","ease-standard","ease-emphasized-out","motion-reduced"],Ei=96,_d=2e4,Bk=480,Up=512,Fk=["default-src 'none'","script-src 'unsafe-inline'","style-src 'unsafe-inline'","img-src data:","connect-src 'none'","font-src data:","media-src 'none'","object-src 'none'","frame-src 'none'","child-src 'none'","worker-src 'none'","manifest-src 'none'","base-uri 'none'","form-action 'none'"].join("; ");function Hk(r,t,n,a,o,s){const c=new MessageChannel,l=MessagePort.prototype.postMessage.bind(c.port1);window.parent.postMessage({channel:r,type:"scroll-port"},"*",[c.port2]);const p=(C,D={})=>{window.parent.postMessage({channel:r,type:C,...D},"*")};let i=o?.state??null,f=null,v=!1;Object.defineProperty(window,"intentVisual",{configurable:!1,writable:!1,value:Object.freeze({get state(){return i},publish(C){try{if(!s(C))return!1;const D=JSON.parse(JSON.stringify(C));return i=D.state,f=D,v||(v=!0,requestAnimationFrame(()=>{v=!1,f&&p("snapshot",{snapshot:f}),f=null})),!0}catch{return!1}}})});let M=!1,x=-1,y=innerHeight,R=Number.NaN,O=0,F=0;const H=()=>{if(M=!1,!document.body)return;let C=Math.ceil(Math.max(document.body.scrollHeight,document.body.getBoundingClientRect().height));const D=innerHeight,G=C-D;if(D>y+1&&G>1&&Math.abs(G-R)<=1?O+=1:(D!==y||G<=1)&&(O=0),y=D,R=G,!F&&O>=3){F=Math.max(a,D);const z="Page height follows the frame (vh units or height: 100%); frame height held.";console.warn(z),p("layout",{message:z})}F&&(C=Math.min(C,F)),C!==x&&(x=C,p("resize",{height:C}))},S=()=>{M||(M=!0,requestAnimationFrame(H))},P=C=>{if(!C||typeof C.dark!="boolean"||!C.variables)return;const D=document.documentElement;D.classList.toggle("dark",C.dark),D.style.colorScheme=C.dark?"dark":"light";const G=C.variables["--inline-html-root-font-size"];"--inline-html-root-font-size"in t.variables&&typeof G=="string"&&G.length<512&&D.style.setProperty("--inline-html-root-font-size",G);for(const z of Object.keys(t.variables)){if(z==="--inline-html-root-font-size")continue;const K=C.variables[z];typeof K=="string"&&K.length<512&&D.style.setProperty(z,K)}S()};window.addEventListener("message",C=>{C.source!==window.parent||!C.data||C.data.channel!==r||C.data.type==="theme"&&P(C.data.theme)});const W=C=>{if(C.defaultPrevented||!C.isTrusted||C.ctrlKey||C.metaKey||C.shiftKey||!C.deltaY||Math.abs(C.deltaX)>Math.abs(C.deltaY))return;const D=K=>{const pe=getComputedStyle(K);if(K!==document.scrollingElement&&!/^(auto|scroll|overlay)$/.test(pe.overflowY)||/^(hidden|clip)$/.test(pe.overflowY))return!1;const X=K.scrollHeight-K.clientHeight;return X>1&&(C.deltaY<0?K.scrollTop>1:K.scrollTop<X-1)};if(C.composedPath().some(K=>K instanceof Element&&D(K))||document.scrollingElement&&D(document.scrollingElement))return;const G=C.deltaMode===WheelEvent.DOM_DELTA_LINE?parseFloat(getComputedStyle(document.body).lineHeight)||16:C.deltaMode===WheelEvent.DOM_DELTA_PAGE?innerHeight:1,z=Math.max(-n,Math.min(n,C.deltaY*G));Number.isFinite(z)&&(C.preventDefault(),l({deltaY:z}))};window.addEventListener("wheel",()=>{window.removeEventListener("wheel",W),window.addEventListener("wheel",W,{passive:!1})},{capture:!0,passive:!1}),window.addEventListener("error",C=>{C.message&&p("error",{message:C.message.slice(0,300)})}),window.addEventListener("unhandledrejection",C=>{const D=C.reason;p("error",{message:String(D instanceof Error?D.message:D).slice(0,300)})}),window.addEventListener("click",C=>{const D=C.target instanceof Element?C.target.closest("a, area"):null;if(!D)return;(D.getAttribute("href")??D.getAttribute("xlink:href"))?.startsWith("#")||C.preventDefault()},!0),window.addEventListener("submit",C=>C.preventDefault(),!0),P(t),window.addEventListener("DOMContentLoaded",()=>{new ResizeObserver(S).observe(document.body),new MutationObserver(S).observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),window.addEventListener("resize",S),document.addEventListener("load",S,!0),document.fonts.ready.then(S),p("ready"),S()},{once:!0})}function zk(r,t,n,a,o){const s=document.createElement("iframe");s.setAttribute("sandbox","allow-scripts"),s.setAttribute("referrerpolicy","no-referrer"),s.title=n,s.style.cssText="display:block;width:100%;height:100%;border:0;";let c;const l=p=>{const i=p.data?.deltaY;typeof i=="number"&&Number.isFinite(i)&&i!==0&&Math.abs(i)<=a&&window.parent.postMessage({channel:r,type:"wheel",deltaY:i},"*")};window.addEventListener("message",p=>{const i=p.data;if(!(!i||typeof i!="object"||i.channel!==r)){if(p.source===window.parent&&i.type==="theme"){s.contentWindow?.postMessage({channel:r,type:"theme",theme:i.theme},"*");return}if(!(p.source!==s.contentWindow||p.origin!=="null")){if(i.type==="scroll-port"&&!c&&p.ports.length===1){c=p.ports[0],c.onmessage=l;return}i.type==="resize"&&typeof i.height=="number"&&Number.isFinite(i.height)&&i.height>=0?window.parent.postMessage({channel:r,type:"resize",height:i.height},"*"):i.type==="ready"?window.parent.postMessage({channel:r,type:"ready"},"*"):(i.type==="error"||i.type==="layout")&&typeof i.message=="string"?window.parent.postMessage({channel:r,type:i.type,message:i.message.slice(0,300)},"*"):i.type==="snapshot"&&o(i.snapshot)&&window.parent.postMessage({channel:r,type:"snapshot",snapshot:i.snapshot},"*")}}}),window.addEventListener("DOMContentLoaded",()=>{s.srcdoc=t,document.body.append(s)},{once:!0})}function Wk(r,t,n,a,o,s,c,l){const p=document.implementation.createHTMLDocument(""),i=p.createElement("template");i.innerHTML=n,p.body.append(i.content);const f=z=>{z.querySelectorAll("meta, base, link, iframe, frame, frameset, object, embed").forEach(K=>K.remove()),z.querySelectorAll("template").forEach(K=>f(K.content)),z.querySelectorAll("a, area").forEach(K=>{for(const pe of["href","xlink:href"])K.getAttribute(pe)?.startsWith("#")||K.removeAttribute(pe);K.removeAttribute("target"),K.removeAttribute("ping"),K.removeAttribute("download")})};f(p);const v=z=>JSON.stringify(z).replace(/</g,"\\u003c"),M=p.createElement("meta");M.httpEquiv="Content-Security-Policy",M.content=r.csp;const x=p.createElement("meta");x.setAttribute("charset","utf-8");const y=p.createElement("style"),R=/^data:[\w.+/-]+;base64,[A-Za-z0-9+/=]+$/.test(l)?`@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900;
|
|
295
295
|
font-display: swap; src: url('${l}') format('woff2'); }`:"";y.textContent=`${R}${r.styles}`;const O=p.createElement("script"),F=v([a,o,r.maxScrollDelta,r.lockHeight,t(c)?c:null]);O.textContent=`(${r.bridge})(...${F}, (${r.validate}));`,p.head.prepend(M,x,y,O);const H=`<!doctype html>${p.documentElement.outerHTML}`,S=document.implementation.createHTMLDocument(""),P=S.createElement("meta");P.httpEquiv="Content-Security-Policy",P.content=r.csp.replace("frame-src 'none'","frame-src about:");const W=S.createElement("meta");W.setAttribute("charset","utf-8");const C=S.createElement("style");C.textContent="html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }";const D=S.createElement("script"),G=v([a,H,s,r.maxScrollDelta]);return D.textContent=`(${r.shell})(...${G}, (${r.validate}));`,S.head.prepend(P,W,C,D),`<!doctype html>${S.documentElement.outerHTML}`}const jk=()=>({csp:Fk,styles:Ok,maxScrollDelta:Up,lockHeight:Bk,bridge:Hk.toString(),shell:zk.toString(),validate:vl.toString()});function Uk(r,t,n,a,o=null,s=""){return Wk(jk(),vl,r,t,n,a,o,s)}function xd(r){const t=getComputedStyle(r);return{dark:document.documentElement.classList.contains("dark"),variables:{...Object.fromEntries(Dk.map(n=>[`--${n}`,t.getPropertyValue(`--${n}`).trim()])),"--inline-html-root-font-size":getComputedStyle(document.documentElement).fontSize}}}function qk(r,t,n,a,o=null){return Uk(r,t,n,a,o,Nk)}var Vk=k('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground"> </p>'),Kk=k('<div class="type-body flex items-center justify-between gap-3 px-4 py-2" role="status"><span class="text-danger"> </span> <!></div> <!>',1),Gk=k('<p class="sr-only" role="status"> </p>'),Jk=k('<p class="type-body m-0 px-4 py-3 text-muted-foreground" role="status"> </p>'),Yk=k('<div class="type-body px-4 py-2 text-danger" role="status"><p class="m-0"> </p> <p class="type-code m-0 break-words"> </p></div>'),Xk=k('<iframe sandbox="allow-scripts" referrerpolicy="no-referrer"></iframe>'),Zk=k('<div class="space-y-4 p-4" aria-hidden="true"><div class="space-y-2"><!> <!></div> <!> <div class="flex items-center gap-4"><!> <!> <!></div></div>'),Qk=k('<span aria-hidden="true"><!></span> <span class="min-w-0 flex-1 whitespace-normal text-pretty"> </span>',1),$k=k('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground" role="status"> <!></p>'),e2=k('<th class="min-w-40 px-2 pb-3 align-top font-normal"><!> <div class="mt-1 flex gap-1"><!> <!></div></th>'),t2=k('<td class="max-w-56 px-2 py-2 align-top break-words tabular-nums"> </td>'),r2=k('<tr><th class="max-w-48 py-2 pr-4 align-top font-normal break-words text-muted-foreground"> </th><!></tr>'),n2=k('<div class="overflow-x-auto px-4 pb-4" data-inline-visual-comparison=""><table class="type-body w-full border-separate border-spacing-0 text-left"><thead><tr><th class="min-w-28 pr-4 pb-3 font-normal text-muted-foreground"> </th><th class="min-w-32 px-2 pb-3 align-top font-medium"> </th><!></tr></thead><tbody></tbody></table></div>'),a2=k("<!> <!>",1),o2=k('<div data-inline-html="" class="my-3 min-w-0 overflow-hidden rounded-lg bg-background text-foreground"><!> <!> <div class="relative min-w-0"><!> <!></div> <div class="flex min-w-0 items-center justify-between gap-2 px-4 pt-1 pb-3" data-inline-visual-actions=""><!> <!></div> <!></div>');function qp(r,t){if(new.target)return Bt({component:qp,...r});zt(t,!0);const n=720,a=1e4;let o=h(t,"source",7),s=h(t,"isStreaming",7,!1),c=h(t,"isComplete",7,!0),l=h(t,"record",7),p=h(t,"storageStatus",7,"ready"),i=h(t,"onRecordChange",7),f=h(t,"onUseConfiguration",7),v=h(t,"onExport",7),M=h(t,"onRetry",7),x=h(t,"storageError",7),y=h(t,"exportStatus",7),R=h(t,"exportPath",7),O=h(t,"exportError",7),F,H=he(void 0),S=he(!1),P=he(!1),W=he(0),C=he(""),D=he(""),G=he(!1),z=he(""),K=he(Yr(Ei)),pe=he(n),X=he(""),be=he(tc()),se=he(void 0),Re=he(void 0),ie,Ee=he(void 0),re=he(!1);const $=d(()=>l()??e(be)),_e=d(()=>e(Re)!==void 0&&e(se)!==void 0&&!Bb(e(Re),e(se).inputs)),te=d(()=>p()!=="loading"&&(p()!=="error"||!!e($).current)),de=d(()=>!s()&&c()&&!!o().trim()&&e(te)),He=d(()=>Math.min(_d,Math.max(Ei,e(K)))),Ve=d(()=>s()||p()==="loading"?"loading":c()?o().trim()?e(z)?"error":e(G)?"ready":"loading":"empty":"incomplete"),Z=d(()=>s()||p()==="loading"||e(de)&&!e(G)&&!e(z)),Q=d(()=>rm([{id:"source",label:e(P)?Hf():zf()},{id:"reload",label:Wf(),disabled:!e(de)},{id:"save",label:jf(),when:!!(e(se)&&e(de)),disabled:!e(G)||!!e(z)||e($).scenarios.length>=rc,group:"configuration"},{id:"compare",label:Uf(),when:!!(e(se)&&e(de)&&e($).scenarios.length),group:"configuration"},{id:"export",label:qf(),when:!!(e(se)&&e(de)&&v()),disabled:!e(G)||y()==="saving",group:"configuration"}]));function Be(ue){ue==="source"?T(P,!e(P)):ue==="reload"?T(W,e(W)+1):ue==="save"?J():ue==="compare"?T(re,!e(re)):ue==="export"&&v()?.({...e($),current:e(se)??null})}function j(ue){const Te={...ue,current:e(se)??ue.current};T(be,Te),i()?.(Te)}function J(){const ue=e(se);!ue||e($).scenarios.length>=rc||(j({...e($),scenarios:[...e($).scenarios,{id:crypto.randomUUID(),name:Vf({number:Ec(e($).scenarios.length+1)}),snapshot:structuredClone(ue)}]}),T(re,!0))}function q(ue,Te){const tt=Te.trim().slice(0,120);tt&&j({...e($),scenarios:e($).scenarios.map(gt=>gt.id===ue?{...gt,name:tt}:gt)})}function ae(ue){const Te=structuredClone(ue);T(se,Te),T(Ee,Te),j({...e($),current:Te}),T(W,e(W)+1)}function we(ue){return typeof ue=="number"?Ec(ue):typeof ue=="string"?ue:JSON.stringify(ue)}function Me(){!e(H)?.contentWindow||!e(D)||e(H).contentWindow.postMessage({channel:e(D),type:"theme",theme:xd(F)},"*")}function ee(ue){let Te=F.parentElement;for(;Te;){const tt=getComputedStyle(Te),gt=Te.scrollHeight-Te.clientHeight;if(/^(auto|scroll|overlay)$/.test(tt.overflowY)&>>1){if(ue<0?Te.scrollTop>0:Te.scrollTop<gt){Te.dispatchEvent(new WheelEvent("wheel",{deltaY:ue,bubbles:!0})),Te.scrollTop+=ue;return}if(/^(contain|none)$/.test(tt.overscrollBehaviorY))return}Te=Te.parentElement}window.scrollBy({top:ue,behavior:"instant"})}xt(()=>{if(!e(S))return;const ue=o(),Te=e(de);e(W),vn(()=>{ie!==ue&&(T(be,tc()),T(se,void 0),T(Re,void 0),T(re,!1),T(Ee,void 0),ie=ue),T(G,!1),T(z,""),T(X,""),T(K,Ei,!0),T(D,crypto.randomUUID(),!0),T(C,Te?qk(ue,e(D),xd(F),Kl(),e(Ee)??e(se)??e($).current):"",!0),T(Ee,void 0)})}),xt(()=>{if(!e(C)||e(G)||e(z))return;const ue=setTimeout(()=>{T(z,Ff(),!0)},a);return()=>clearTimeout(ue)}),ss(()=>{T(S,!0);const ue=dt=>{if(dt.source!==e(H)?.contentWindow||dt.origin!=="null")return;const nt=dt.data;if(!(!nt||typeof nt!="object"||nt.channel!==e(D))){if(nt.type==="bootstrap"){e(H)?.contentWindow?.postMessage({channel:e(D),type:"initialize",documentHtml:e(C)},"*");return}if(nt.type==="resize"&&typeof nt.height=="number"&&Number.isFinite(nt.height)&&nt.height>=0)T(K,Math.min(_d,Math.ceil(nt.height)),!0);else if(nt.type==="ready")T(G,!0),Me();else if(nt.type==="error"&&typeof nt.message=="string")T(z,nt.message.slice(0,300),!0);else if(nt.type==="layout"&&typeof nt.message=="string")T(X,nt.message.slice(0,300),!0);else if(nt.type==="snapshot"&&e(de)&&vl(nt.snapshot)){const Et=nt.snapshot;T(Re,e(Re)??structuredClone(Et.inputs)),T(se,Et),j({...e($),current:Et})}else nt.type==="wheel"&&e(G)&&e(de)&&!e(P)&&!e(Z)&&typeof nt.deltaY=="number"&&Number.isFinite(nt.deltaY)&&nt.deltaY!==0&&Math.abs(nt.deltaY)<=Up&&ee(nt.deltaY)}},Te=()=>{T(pe,Math.min(n,Math.max(160,Math.floor(window.innerHeight*.8))),!0)},tt=new MutationObserver(Me);tt.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style","data-theme"]});const gt=window.matchMedia("(prefers-color-scheme: dark)");return gt.addEventListener("change",Me),window.addEventListener("message",ue),window.addEventListener("resize",Te),Te(),()=>{tt.disconnect(),gt.removeEventListener("change",Me),window.removeEventListener("message",ue),window.removeEventListener("resize",Te)}});var ce={get source(){return o()},set source(ue){o(ue),b()},get isStreaming(){return s()},set isStreaming(ue=!1){s(ue),b()},get isComplete(){return c()},set isComplete(ue=!0){c(ue),b()},get record(){return l()},set record(ue){l(ue),b()},get storageStatus(){return p()},set storageStatus(ue="ready"){p(ue),b()},get onRecordChange(){return i()},set onRecordChange(ue){i(ue),b()},get onUseConfiguration(){return f()},set onUseConfiguration(ue){f(ue),b()},get onExport(){return v()},set onExport(ue){v(ue),b()},get onRetry(){return M()},set onRetry(ue){M(ue),b()},get storageError(){return x()},set storageError(ue){x(ue),b()},get exportStatus(){return y()},set exportStatus(ue){y(ue),b()},get exportPath(){return R()},set exportPath(ue){R(ue),b()},get exportError(){return O()},set exportError(ue){O(ue),b()},$set:Ft,$on:(ue,Te)=>Ht(t,ue,Te)},Pe=o2(),et=E(Pe);{var xe=ue=>{var Te=Kk(),tt=De(Te),gt=E(tt),dt=L(gt,!0),nt=m(gt,2);{var Et=Rt=>{St(Rt,{variant:"ghost",size:"sm",get onclick(){return M()},children:(Jt,or)=>{tr();var Vt=jt();I(Ne=>_(Vt,Ne),[()=>$f()]),u(Jt,Vt)},$$slots:{default:!0}})};B(nt,Rt=>{M()&&Rt(Et)})}w(tt);var kt=m(tt,2);{var It=Rt=>{var Jt=Vk(),or=L(Jt,!0);I(()=>_(or,x())),u(Rt,Jt)};B(kt,Rt=>{x()&&Rt(It)})}I(Rt=>_(dt,Rt),[()=>Kf()]),u(ue,Te)};B(et,ue=>{p()==="error"&&ue(xe)})}var Ae=m(et,2);{var Y=ue=>{var Te=Gk(),tt=L(Te,!0);I(gt=>_(tt,gt),[()=>s()?Gf():Jf()]),u(ue,Te)},Ie=ue=>{var Te=Jk(),tt=L(Te,!0);I(gt=>_(tt,gt),[()=>c()?Xf():Yf()]),u(ue,Te)},fe=ue=>{var Te=Yk(),tt=E(Te),gt=L(tt,!0),dt=m(tt,2),nt=L(dt,!0);w(Te),I(Et=>{_(gt,Et),_(nt,e(z))},[()=>Zf()]),u(ue,Te)};B(Ae,ue=>{e(Z)?ue(Y):e(de)?e(z)&&ue(fe,2):ue(Ie,1)})}var N=m(Ae,2),V=E(N);{var ye=ue=>{var Te=vt(),tt=De(Te);ao(tt,()=>e(D),gt=>{var dt=Xk();let nt,Et;mr(dt,kt=>T(H,kt),()=>e(H)),I(kt=>{oe(dt,"title",kt),oe(dt,"src",`/inline-html-sandbox.html#${e(D)}`),nt=pt(dt,1,"block w-full border-0 svelte-1kkow1d",null,nt,{"preview-hidden":e(P)||!e(G)}),oe(dt,"aria-hidden",e(P)||!e(G)),Et=Ln(dt,"",Et,{height:`${e(He)}px`})},[()=>Kl()]),u(gt,dt)}),u(ue,Te)};B(V,ue=>{e(de)&&e(C)&&ue(ye)})}var Ke=m(V,2);{var Le=ue=>{ma(ue,{get code(){return o()},language:"html",noBorder:!0,noMargin:!0,get maxHeight(){return e(pe)}})},Ge=ue=>{var Te=Zk(),tt=E(Te),gt=E(tt);Eo(gt,{class:"h-4 w-32 max-w-1/2"});var dt=m(gt,2);Eo(dt,{class:"h-3 w-2/3"}),w(tt);var nt=m(tt,2);Eo(nt,{class:"aspect-video max-h-60 w-full rounded-lg"});var Et=m(nt,2),kt=E(Et);Eo(kt,{class:"h-3 w-16"});var It=m(kt,2);Eo(It,{class:"h-2 min-w-0 flex-1"});var Rt=m(It,2);Eo(Rt,{class:"h-3 w-10"}),w(Et),w(Te),u(ue,Te)};B(Ke,ue=>{e(P)?ue(Le):e(Z)&&ue(Ge,1)})}w(N);var Ye=m(N,2),it=E(Ye);{var yt=ue=>{{let Te=d(()=>!e(G)||!!e(z));St(ue,{variant:"plain",size:"sm",wrapContent:!1,get class(){return`${qi} ${gb} h-auto min-w-0 shrink justify-start rounded-sm border border-transparent px-1.5 py-0.5 text-left hover:text-foreground`},style:"gap: var(--operational-leading-gap)","data-typography-role":"body",get disabled(){return e(Te)},onclick:()=>e(se)&&f()(e(se)),children:(tt,gt)=>{var dt=Qk(),nt=De(dt),Et=E(nt);Tt(Et,{get icon(){return Yd},size:16,get class(){return Ha}}),w(nt);var kt=m(nt,2),It=L(kt,!0);I(Rt=>{pt(nt,1,`${Oo??""} mt-px self-start`,"svelte-1kkow1d"),_(It,Rt)},[()=>Qf()]),u(tt,dt)},$$slots:{default:!0}})}};B(it,ue=>{e(se)&&e(_e)&&e(de)&&f()&&!e(P)&&ue(yt)})}var wt=m(it,2);{const ue=(tt,gt)=>{let dt=()=>(gt?.()).props;{let nt=d(()=>Gl());St(tt,Ws(dt,{variant:"ghost",size:"icon-sm",class:"ml-auto text-muted-foreground",get"aria-label"(){return e(nt)},children:(Et,kt)=>{Tt(Et,{get icon(){return iv},size:16})},$$slots:{default:!0}}))}};let Te=d(()=>Gl());wu(wt,{get actions(){return e(Q)},get ariaLabel(){return e(Te)},align:"end",side:"top",onAction:Be,trigger:ue,$$slots:{trigger:!0}})}w(Ye);var Kt=m(Ye,2);{var Ct=ue=>{var Te=a2(),tt=De(Te);{var gt=Et=>{var kt=$k(),It=E(kt),Rt=m(It);{var Jt=or=>{var Vt=jt();I(()=>_(Vt,O())),u(or,Vt)};B(Rt,or=>{y()==="error"&&O()&&or(Jt)})}w(kt),I(or=>_(It,`${or??""} `),[()=>y()==="saving"?eg():y()==="saved"?tg({path:R()??""}):rg()]),u(Et,kt)};B(tt,Et=>{y()&&Et(gt)})}var dt=m(tt,2);{var nt=Et=>{var kt=n2(),It=E(kt),Rt=E(It),Jt=E(Rt),or=E(Jt),Vt=L(or,!0),Ne=m(or),ge=L(Ne,!0),Qe=m(Ne);Nt(Qe,17,()=>e($).scenarios,rt=>rt.id,(rt,ze)=>{var ne=e2(),ke=E(ne);{let Fe=d(()=>og());Mo(ke,{get value(){return e(ze).name},get"aria-label"(){return e(Fe)},maxlength:120,onblur:We=>{We.currentTarget.value.trim()||(We.currentTarget.value=e(ze).name),q(e(ze).id,We.currentTarget.value)},onkeydown:We=>{We.key==="Enter"&&We.currentTarget.blur(),We.key==="Escape"&&(We.currentTarget.value=e(ze).name,We.currentTarget.blur())}})}var ve=m(ke,2),Se=E(ve);St(Se,{variant:"ghost",size:"sm",onclick:()=>ae(e(ze).snapshot),children:(Fe,We)=>{tr();var Ze=jt();I(Je=>_(Ze,Je),[()=>ng()]),u(Fe,Ze)},$$slots:{default:!0}});var Ce=m(Se,2);St(Ce,{variant:"ghost",size:"sm",onclick:()=>j({...e($),scenarios:e($).scenarios.filter(Fe=>Fe.id!==e(ze).id)}),children:(Fe,We)=>{tr();var Ze=jt();I(Je=>_(Ze,Je),[()=>ag()]),u(Fe,Ze)},$$slots:{default:!0}}),w(ve),w(ne),u(rt,ne)}),w(Jt),w(Rt);var ot=m(Rt);Nt(ot,20,()=>["inputs","results"],Rr,(rt,ze)=>{const ne=d(()=>ze),ke=d(()=>Array.from(new Set([...Object.keys(e(se)[e(ne)]),...e($).scenarios.flatMap(Ce=>Object.keys(Ce.snapshot[e(ne)]))])));var ve=vt(),Se=De(ve);Nt(Se,16,()=>e(ke),Ce=>Ce,(Ce,Fe)=>{var We=r2(),Ze=E(We),Je=L(Ze,!0),Ue=m(Ze);Nt(Ue,17,()=>[e(se),...e($).scenarios.map($e=>$e.snapshot)],Rr,($e,qe)=>{var Xe=t2(),lt=L(Xe,!0);I(st=>_(lt,st),[()=>Object.hasOwn(e(qe)[e(ne)],Fe)?we(e(qe)[e(ne)][Fe]):"—"]),u($e,Xe)}),w(We),I(()=>_(Je,Fe)),u(Ce,We)}),u(rt,ve)}),w(ot),w(It),w(kt),I(rt=>{_(Vt,e(se).title),_(ge,rt)},[()=>sg()]),u(Et,kt)};B(dt,Et=>{e(re)&&e($).scenarios.length&&Et(nt)})}u(ue,Te)};B(Kt,ue=>{e(se)&&e(de)&&ue(Ct)})}return w(Pe),mr(Pe,ue=>F=ue,()=>F),I(()=>{oe(Pe,"data-inline-html-status",e(Ve)),oe(Pe,"data-inline-html-layout",e(X)?"viewport-locked":void 0),oe(Pe,"aria-busy",e(Z))}),u(r,Pe),Wt(ce)}var s2=k('<div class="w-full min-w-0"><!></div>');function i2(r,t){if(new.target)return Bt({component:i2,...r});zt(t,!0);const n=()=>_t(e(x),"$agent$",o),a=()=>_t(e(F),"$entry$",o),[o,s]=sa();let c=h(t,"block",7),l=h(t,"role",7),p=h(t,"workspaceId",7),i=h(t,"agentId",7),f=h(t,"messageId",7),v=h(t,"contentBlockKey",7,""),M=he(void 0);const x=d(()=>js(i()??"")),y=d(()=>l()==="assistant"&&p()&&i()&&f()&&c().metadata?.fenceClosed&&!c().metadata?.isStreaming&&n()&&!lu(n())?{workspaceId:p(),agentId:i(),messageId:f(),blockKey:JSON.stringify([v(),c().metadata?.fenceStart??0]),source:c().content}:void 0),R=d(()=>!!(p()&&i()&&f()&&c().metadata?.fenceClosed&&!n())),O=d(()=>e(y)?Rv(e(y)):""),F=d(()=>Dh(e(O)));xt(()=>{e(y)&&Ot.dispatch(Ev(e(y)))});function H(z){!p()||!i()||n()?.retiredAt||e(M)?.dispatchEvent(new CustomEvent(vy,{bubbles:!0,detail:{workspaceId:p(),agentId:i(),snapshot:z}}))}var S={get block(){return c()},set block(z){c(z),b()},get role(){return l()},set role(z){l(z),b()},get workspaceId(){return p()},set workspaceId(z){p(z),b()},get agentId(){return i()},set agentId(z){i(z),b()},get messageId(){return f()},set messageId(z){f(z),b()},get contentBlockKey(){return v()},set contentBlockKey(z=""){v(z),b()},$set:Ft,$on:(z,K)=>Ht(t,z,K)},P=vt(),W=De(P);{var C=z=>{var K=s2(),pe=E(K);{let X=d(()=>c().metadata?.isStreaming??!1),be=d(()=>c().metadata?.fenceClosed??!1),se=d(()=>a()?.record),Re=d(()=>e(y)?a()?.status??"loading":e(R)?"loading":"ready"),ie=d(()=>a()?.error),Ee=d(()=>e(y)?Ve=>Ot.dispatch(Tv(e(O),Ve)):void 0),re=d(()=>p()&&i()&&n()&&!n().retiredAt?H:void 0),$=d(()=>e(y)?()=>Ot.dispatch(Av(e(O))):void 0),_e=d(()=>e(y)?Ve=>Ot.dispatch(Pv(e(O),crypto.randomUUID(),Ve)):void 0),te=d(()=>a()?.export?.status),de=d(()=>a()?.export?.path),He=d(()=>a()?.export?.error);qp(pe,{get source(){return c().content},get isStreaming(){return e(X)},get isComplete(){return e(be)},get record(){return e(se)},get storageStatus(){return e(Re)},get storageError(){return e(ie)},get onRecordChange(){return e(Ee)},get onUseConfiguration(){return e(re)},get onRetry(){return e($)},get onExport(){return e(_e)},get exportStatus(){return e(te)},get exportPath(){return e(de)},get exportError(){return e(He)}})}w(K),mr(K,X=>T(M,X),()=>e(M)),u(z,K)},D=z=>{ma(z,{get code(){return c().content},language:"html"})};B(W,z=>{l()==="assistant"?z(C):z(D,-1)})}u(r,P);var G=Wt(S);return s(),G}var l2=k('<div class="digest-card flex items-start gap-2.5 py-5 px-6 my-4 shadow-xs text-base leading-normal border border-border"> </div>');function c2(r,t){if(new.target)return Bt({component:c2,...r});zt(t,!0);let n=h(t,"digest",7);var a={get digest(){return n()},set digest(c){n(c),b()},$set:Ft,$on:(c,l)=>Ht(t,c,l)},o=l2(),s=L(o,!0);return I(()=>_(s,n())),u(r,o),Wt(a)}var d2=k('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-blue-500/15 text-blue-600 dark:text-blue-400"> </span>'),u2=k('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-muted text-muted-foreground"> </span>'),p2=k('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-primary/10 text-primary/80"> </span>'),f2=k('<div class="flex items-start gap-3 px-4 py-2.5"><div class="flex-1 min-w-0"><div class="flex items-center gap-2 flex-wrap"><span class="text-sm font-semibold text-foreground"> </span> <!> <!></div> <div class="mt-0.5 text-xs font-mono text-muted-foreground truncate"> </div></div></div>'),g2=k('<div class="detected-scripts-card my-3 rounded-lg border border-border bg-muted/30 overflow-hidden"><div class="flex items-center gap-2 px-4 py-2.5 border-b border-border bg-muted/40"><!> <span class="text-sm font-semibold text-foreground"> </span></div> <div class="divide-y divide-border"></div> <div class="px-4 py-2 border-t border-border bg-muted/20"><span class="text-xs text-muted-foreground"> </span></div></div>');function v2(r,t){if(new.target)return Bt({component:v2,...r});zt(t,!0);let n=h(t,"scripts",7);var a={get scripts(){return n()},set scripts(x){n(x),b()},$set:Ft,$on:(x,y)=>Ht(t,x,y)},o=g2(),s=E(o),c=E(s);Tt(c,{get icon(){return Kd},size:"sm",class:"text-primary-ink/70"});var l=m(c,2),p=L(l,!0);w(s);var i=m(s,2);Nt(i,21,n,x=>x.name+x.command,(x,y)=>{var R=f2(),O=E(R),F=E(O),H=E(F),S=L(H,!0),P=m(H,2);{var W=pe=>{var X=d2(),be=L(X,!0);I(se=>_(be,se),[()=>g.chat_detectedScripts_service_badge()]),u(pe,X)},C=pe=>{var X=u2(),be=L(X,!0);I(se=>_(be,se),[()=>g.chat_detectedScripts_command_badge()]),u(pe,X)};B(P,pe=>{e(y).mode==="service"?pe(W):pe(C,-1)})}var D=m(P,2);{var G=pe=>{var X=p2(),be=L(X,!0);I(()=>_(be,e(y).category)),u(pe,X)};B(D,pe=>{e(y).category&&e(y).category!=="other"&&pe(G)})}w(F);var z=m(F,2),K=L(z,!0);w(O),w(R),I(()=>{_(S,e(y).name),_(K,e(y).command)}),u(x,R)}),w(i);var f=m(i,2),v=E(f),M=L(v,!0);return w(f),w(o),I((x,y)=>{_(p,x),_(M,y)},[()=>g.chat_detectedScripts_title(),()=>n().length===1?g.chat_detectedScripts_count_one({count:ar(n().length)}):g.chat_detectedScripts_count_many({count:ar(n().length)})]),u(r,o),Wt(a)}function m2(r,t){if(new.target)return Bt({component:m2,...r});zt(t,!0);let n=h(t,"diff",7),a=h(t,"filePath",7),o=h(t,"language",7),s=h(t,"onApply",7),c=h(t,"onReject",7);function l(){s()?.(),zn.success(g.chat_diffViewer_applied_toast())}function p(){c()?.(),zn.info(g.chat_diffViewer_rejected_toast())}const i=d(()=>{const v=[];return s()&&v.push({label:g.chat_diffViewer_apply_label(),variant:"success",onClick:l}),c()&&v.push({label:g.chat_diffViewer_reject_label(),variant:"danger",onClick:p}),v});var f={get diff(){return n()},set diff(v){n(v),b()},get filePath(){return a()},set filePath(v){a(v),b()},get language(){return o()},set language(v){o(v),b()},get onApply(){return s()},set onApply(v){s(v),b()},get onReject(){return c()},set onReject(v){c(v),b()},$set:Ft,$on:(v,M)=>Ht(t,v,M)};{let v=d(()=>a()||g.chat_diffViewer_suggestedChanges_fallback());es(r,{get patch(){return n()},get fileName(){return e(v)},get language(){return o()},get actions(){return e(i)},collapsible:!0,initialCollapsed:!1,maxHeight:"500px"})}return Wt(f)}var h2=Ua('<circle fill="none" style="transition: stroke-dasharray 0.3s ease-out"></circle>'),wd=Ua("<circle></circle>"),b2=Ua('<svg class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 fill-background" viewBox="0 0 8 6"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.69471 1.69471C7.87687 1.50611 7.97766 1.25351 7.97539 0.991311C7.97311 0.729114 7.86794 0.478302 7.68253 0.292894C7.49712 0.107485 7.24631 0.00231622 6.98411 3.78025e-05C6.72192 -0.00224062 6.46931 0.0985542 6.28071 0.280712L2.98771 3.57371L1.69471 2.28071C1.50611 2.09855 1.25351 1.99776 0.991311 2.00004C0.729114 2.00232 0.478302 2.10749 0.292894 2.29289C0.107485 2.4783 0.00231622 2.72911 3.78025e-05 2.99131C-0.00224062 3.25351 0.0985542 3.50611 0.280712 3.69471L2.28071 5.69471C2.46824 5.88218 2.72255 5.9875 2.98771 5.9875C3.25288 5.9875 3.50718 5.88218 3.69471 5.69471L7.69471 1.69471Z"></path></svg>'),y2=k('<div class="relative"><svg fill="none" xmlns="http://www.w3.org/2000/svg"><circle fill="none"></circle><!></svg> <!></div>');function Ps(r,t){if(new.target)return Bt({component:Ps,...r});zt(t,!0);let n=h(t,"phase",7),a=h(t,"progress",7,0),o=h(t,"size",7,16),s=h(t,"class",7,""),c=d(()=>o()/2),l=d(()=>e(c)),p=d(()=>e(c)),i=d(()=>o()*.12),f=d(()=>e(c)-e(i)/2),v=d(()=>e(c)*.35),M=d(()=>2*Math.PI*e(v)),x=d(()=>Math.max(0,Math.min(1,a()))*e(M));const y={planning:"#99999999",building:"#54B1F3",reviewing:"#6D7FF5",shipped:"var(--color-foreground)"};let R=d(()=>y[n()]||"currentColor");var O={get phase(){return n()},set phase(X){n(X),b()},get progress(){return a()},set progress(X=0){a(X),b()},get size(){return o()},set size(X=16){o(X),b()},get class(){return s()},set class(X=""){s(X),b()},$set:Ft,$on:(X,be)=>Ht(t,X,be)},F=y2(),H=E(F),S=E(H),P=m(S);{var W=X=>{},C=X=>{var be=h2();I(()=>{oe(be,"cx",e(l)),oe(be,"cy",e(p)),oe(be,"r",e(v)*.8),oe(be,"stroke",e(R)),oe(be,"stroke-width",e(v)*1.5),oe(be,"stroke-dasharray",`${e(x)??""} ${e(M)??""}`),oe(be,"stroke-dashoffset",e(M)*.25),oe(be,"transform",`rotate(-90 ${e(l)??""} ${e(p)??""})`)}),u(X,be)},D=X=>{var be=wd();I(()=>{oe(be,"cx",e(l)),oe(be,"cy",e(p)),oe(be,"r",e(f)*.6),oe(be,"fill",e(R))}),u(X,be)},G=X=>{var be=wd();I(()=>{oe(be,"cx",e(l)),oe(be,"cy",e(p)),oe(be,"r",e(f)),oe(be,"fill",e(R))}),u(X,be)};B(P,X=>{n()==="planning"?X(W):n()==="building"?X(C,1):n()==="reviewing"?X(D,2):n()==="shipped"&&X(G,3)})}w(H);var z=m(H,2);{var K=X=>{},pe=X=>{var be=b2();I(()=>oe(be,"width",o()*.5)),u(X,be)};B(z,X=>{n()==="reviewing"?X(K):n()==="shipped"&&X(pe,1)})}return w(F),I(()=>{oe(H,"width",o()),oe(H,"height",o()),oe(H,"viewBox",`0 0 ${o()??""} ${o()??""}`),pt(H,0,ir(s())),oe(S,"cx",e(l)),oe(S,"cy",e(p)),oe(S,"r",e(f)),oe(S,"stroke",e(R)),oe(S,"stroke-width",e(i))}),u(r,F),Wt(O)}var kd=k('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full"></span> </span>'),_2=k('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full bg-border"></span> </span>'),Id=k('<span class="text-ui text-subtle truncate"> </span>'),Sd=k('<div class="flex items-center gap-1 mt-0.5"><!> <!></div>'),Cd=k('<div class="flex items-start gap-2"><div class="shrink-0 mt-0.5"><!></div> <div class="flex-1 min-w-0"><div class="text-xs leading-snug truncate"> </div> <!></div></div>'),x2=k('<div class="flex items-center gap-2"><div class="shrink-0"><!></div> <span class="text-ui text-subtle truncate line-through"> </span></div>'),w2=k('<span class="text-ui text-subtle pl-4"> </span>'),k2=k('<div class="flex flex-col gap-0.5 pt-1 border-t border-border"><!> <!></div>'),I2=k('<div class="text-ui text-subtle"> </div>'),S2=k("<!> <!> <!> <!>",1),C2=k('<div class="flex flex-col py-2 px-3 gap-2 max-h-80 overflow-y-auto"><div class="flex items-center justify-between gap-3"><span class="text-xs font-semibold text-foreground"> </span> <div class="flex items-center gap-3 text-ui text-subtle"><!> <!> <!></div></div> <!></div>'),E2=k('<div class="rounded-[0.5px]"></div>');function Vp(r,t){if(new.target)return Bt({component:Vp,...r});zt(t,!0);let n=h(t,"stats",7),a=h(t,"tasks",23,()=>[]),o=h(t,"maxBars",7,20),s=h(t,"barWidth",7,"1px"),c=h(t,"barHeight",7,"16px"),l=h(t,"gap",7,"1px"),p=h(t,"class",7);const i={completed:"#22c55e",inProgress:"#4F7BF7",notStarted:"var(--border)"};let f=d(()=>{const{completed:P,inProgress:W,notStarted:C,total:D}=n();if(D===0)return[];const G=[...Array(P).fill("completed"),...Array(W).fill("inProgress"),...Array(Math.max(0,C)).fill("notStarted")];return G.length<=o()?G:G.slice(G.length-o())}),v=d(()=>a().filter(P=>P.status==="complete")),M=d(()=>a().filter(P=>P.status==="in_progress"||P.status==="review_required")),x=d(()=>a().filter(P=>P.status!=="complete"&&P.status!=="in_progress"&&P.status!=="review_required"&&P.status!=="cancelled")),y=d(()=>a().filter(P=>P.status==="cancelled")),R=d(()=>a().length>0);var O={get stats(){return n()},set stats(P){n(P),b()},get tasks(){return a()},set tasks(P=[]){a(P),b()},get maxBars(){return o()},set maxBars(P=20){o(P),b()},get barWidth(){return s()},set barWidth(P="1px"){s(P),b()},get barHeight(){return c()},set barHeight(P="16px"){c(P),b()},get gap(){return l()},set gap(P="1px"){l(P),b()},get class(){return p()},set class(P){p(P),b()},$set:Ft,$on:(P,W)=>Ht(t,P,W)},F=vt(),H=De(F);{var S=P=>{Li(P,{side:"top",align:"start",sideOffset:6,contentClass:"max-w-xs p-0",delayDuration:200,disableHoverableContent:!1,content:C=>{var D=C2(),G=E(D),z=E(G),K=L(z,!0),pe=m(z,2),X=E(pe);{var be=_e=>{var te=kd(),de=E(te);Ln(de,"",{},{"background-color":"#22c55e"});var He=m(de);w(te),I(()=>_(He,` ${n().completed??""}`)),u(_e,te)};B(X,_e=>{n().completed>0&&_e(be)})}var se=m(X,2);{var Re=_e=>{var te=kd(),de=E(te);Ln(de,"",{},{"background-color":"#4F7BF7"});var He=m(de);w(te),I(()=>_(He,` ${n().inProgress??""}`)),u(_e,te)};B(se,_e=>{n().inProgress>0&&_e(Re)})}var ie=m(se,2);{var Ee=_e=>{var te=_2(),de=m(E(te));w(te),I(()=>_(de,` ${n().notStarted??""}`)),u(_e,te)};B(ie,_e=>{n().notStarted>0&&_e(Ee)})}w(pe),w(G);var re=m(G,2);{var $=_e=>{var te=S2(),de=De(te);Nt(de,17,()=>e(M),Rr,(j,J)=>{var q=Cd(),ae=E(q),we=E(ae);fi(we,{get status(){return e(J).status},size:14}),w(ae);var Me=m(ae,2),ee=E(Me),ce=L(ee,!0),Pe=m(ee,2);{var et=xe=>{var Ae=Sd(),Y=E(Ae);{let N=d(()=>e(J).agentState||"idle");Tc(Y,{get agentId(){return e(J).agentId},get state(){return e(N)},size:12,get specialist(){return e(J).agentSpecialist}})}var Ie=m(Y,2);{var fe=N=>{var V=Id(),ye=L(V,!0);I(()=>_(ye,e(J).agentName)),u(N,V)};B(Ie,N=>{e(J).agentName&&N(fe)})}w(Ae),u(xe,Ae)};B(Pe,xe=>{e(J).agentId&&xe(et)})}w(Me),w(q),I(()=>_(ce,e(J).title)),u(j,q)});var He=m(de,2);Nt(He,17,()=>e(x),Rr,(j,J)=>{var q=Cd(),ae=E(q),we=E(ae);fi(we,{get status(){return e(J).status},size:14}),w(ae);var Me=m(ae,2),ee=E(Me),ce=L(ee,!0),Pe=m(ee,2);{var et=xe=>{var Ae=Sd(),Y=E(Ae);{let N=d(()=>e(J).agentState||"idle");Tc(Y,{get agentId(){return e(J).agentId},get state(){return e(N)},size:12,get specialist(){return e(J).agentSpecialist}})}var Ie=m(Y,2);{var fe=N=>{var V=Id(),ye=L(V,!0);I(()=>_(ye,e(J).agentName)),u(N,V)};B(Ie,N=>{e(J).agentName&&N(fe)})}w(Ae),u(xe,Ae)};B(Pe,xe=>{e(J).agentId&&xe(et)})}w(Me),w(q),I(()=>_(ce,e(J).title)),u(j,q)});var Ve=m(He,2);{var Z=j=>{var J=k2(),q=E(J);Nt(q,17,()=>e(v).slice(0,3),Rr,(Me,ee)=>{var ce=x2(),Pe=E(ce),et=E(Pe);fi(et,{status:"complete",size:12}),w(Pe);var xe=m(Pe,2),Ae=L(xe,!0);w(ce),I(()=>_(Ae,e(ee).title)),u(Me,ce)});var ae=m(q,2);{var we=Me=>{var ee=w2(),ce=L(ee,!0);I(Pe=>_(ce,Pe),[()=>g.workspace_taskProgressBar_moreCompleted_label({count:ar(e(v).length-3)})]),u(Me,ee)};B(ae,Me=>{e(v).length>3&&Me(we)})}w(J),u(j,J)};B(Ve,j=>{e(v).length>0&&j(Z)})}var Q=m(Ve,2);{var Be=j=>{var J=I2(),q=L(J,!0);I(ae=>_(q,ae),[()=>g.workspace_taskProgressBar_cancelled_label({count:ar(e(y).length)})]),u(j,J)};B(Q,j=>{e(y).length>0&&j(Be)})}u(_e,te)};B(re,_e=>{e(R)&&_e($)})}w(D),I(_e=>_(K,_e),[()=>g.workspace_taskProgressBar_tasksRatio_label({completed:ar(n().completed),total:ar(n().total)})]),u(C,D)},children:(C,D)=>{{let G=d(()=>Cn("flex h-auto min-w-0 shrink items-end justify-start cursor-default rounded-none border-0",p())),z=d(()=>`gap: ${l()}`),K=d(()=>g.workspace_taskProgressBar_tasksRatio_label({completed:ar(n().completed),total:ar(n().total)}));St(C,{variant:"plain",type:"button",wrapContent:!1,get class(){return e(G)},get style(){return e(z)},get"aria-label"(){return e(K)},"data-task-progress-trigger":!0,children:(pe,X)=>{var be=vt(),se=De(be);Nt(se,17,()=>e(f),Rr,(Re,ie)=>{var Ee=E2();let re;I(()=>re=Ln(Ee,"",re,{width:s(),height:c(),"background-color":i[e(ie)]})),u(Re,Ee)}),u(pe,be)},$$slots:{default:!0}})}},$$slots:{content:!0,default:!0}})};B(H,P=>{n().total>0&&P(S)})}return u(r,F),Wt(O)}function zs(r,t){if(new.target)return Bt({component:zs,...r});zt(t,!0);let n=h(t,"items",7),a=h(t,"ariaLabel",7),o=h(t,"open",15,!1),s=h(t,"orientation",7,"vertical"),c=h(t,"selection",7),l=h(t,"class",7,"");const p=d(()=>Km(n(),c(),a()));var i={get items(){return n()},set items(f){n(f),b()},get ariaLabel(){return a()},set ariaLabel(f){a(f),b()},get open(){return o()},set open(f=!1){o(f),b()},get orientation(){return s()},set orientation(f="vertical"){s(f),b()},get selection(){return c()},set selection(f){c(f),b()},get class(){return l()},set class(f=""){l(f),b()},$set:Ft,$on:(f,v)=>Ht(t,f,v)};return wu(r,{get actions(){return e(p)},align:"end",get ariaLabel(){return a()},onAction:v=>Vm(n(),v)?.onClick(),get open(){return o()},set open(v){o(v)},trigger:(v,M)=>{let x=()=>(M?.()).props;St(v,Ws(x,{variant:"plain",size:"icon-compact",iconOnly:!0,type:"button",get class(){return l()},get"aria-label"(){return a()},onclick:y=>{y.stopPropagation(),x().onclick?.(y)},oncontextmenu:y=>{y.preventDefault(),y.stopPropagation()},children:(y,R)=>{nm(y,{get orientation(){return s()},class:"size-3.5"})},$$slots:{default:!0}}))},$$slots:{trigger:!0}}),Wt(i)}var P2=k('<span class="contents"><!></span>'),A2=k("<!> <!>",1);function Kp(r,t){if(new.target)return Bt({component:Kp,...r});zt(t,!0);let n=h(t,"workspaceId",7),a=h(t,"slot",7);const o=d(()=>bv(a()));let s=he(null);xt(()=>{e(s)&&e(s).workspaceId!==n()&&T(s,null)});function c(y){const R=ku(y);R&&T(s,{...R,workspaceId:n()},!0)}function l(y){y.preventDefault(),y.stopPropagation();const R=y.currentTarget.getBoundingClientRect();T(s,{x:R.left,y:R.bottom+2,returnFocus:y.currentTarget,workspaceId:n()},!0)}function p(){T(s,null)}var i={get workspaceId(){return n()},set workspaceId(y){n(y),b()},get slot(){return a()},set slot(y){a(y),b()},$set:Ft,$on:(y,R)=>Ht(t,y,R)},f=A2(),v=De(f);{let y=d(()=>g.workspace_microKeyBadge_ariaLabel({number:ar(a()+1)})),R=d(()=>g.workspace_microKeyBadge_tooltip({number:ar(a()+1)})),O=d(()=>e(s)!==null);St(v,{variant:"ghost",size:"icon",type:"button",class:"micro-key-slot-badge size-4 min-w-0 shrink-0 cursor-pointer rounded-[3px] p-0 a11y-ignore",get"aria-label"(){return e(y)},get title(){return e(R)},onclick:l,oncontextmenu:c,onkeydown:c,"aria-haspopup":"menu",get"aria-expanded"(){return e(O)},children:(F,H)=>{var S=P2(),P=E(S);zg(P,{get slot(){return a()},get class(){return`transition-colors ${e(o)??""}`}}),w(S),u(F,S)},$$slots:{default:!0}})}var M=m(v,2);{var x=y=>{{let R=d(()=>e(s)?.x??0),O=d(()=>e(s)?.y??0),F=d(()=>e(s)?.returnFocus),H=d(()=>g.workspace_card_assignMicroKey_label()),S=d(()=>Ub(n(),p));Iu(y,{get x(){return e(R)},get y(){return e(O)},get returnFocus(){return e(F)},selection:"single",get ariaLabel(){return e(H)},get items(){return e(S)},onClickOutside:p})}};B(M,y=>{e(s)&&y(x)})}return u(r,f),Wt(i)}var T2=k('<span class="flex size-4 shrink-0 items-center justify-center"><!></span>'),R2=k('<span data-workspace-card-pin-indicator="" aria-hidden="true"><!></span> <span class="sr-only"> </span>',1),M2=k('<span class="type-caption shrink-0 rounded-sm bg-muted-foreground/10 px-1.5 font-normal text-muted-foreground" data-workspace-card-trailing-label=""> </span>'),L2=k('<span data-workspace-card-pr-item=""><!></span>'),N2=k('<span class="flex shrink-0 items-center" data-workspace-card-pr-list=""><!></span>'),O2=k('<span data-workspace-card-time=""><!></span>'),D2=k('<span aria-hidden="true"><!></span>'),B2=k("<div><!> <!> <!> <!></div>"),F2=k('<div data-workspace-card-hover-surface=""><!></div>'),H2=k('<div role="group" data-workspace-card-row=""><!> <div class="relative z-10 flex shrink-0 items-center gap-1.5"><!> <!> <span class="sr-only"> </span></div> <div class="relative z-10 flex min-w-0 flex-1 items-center gap-2"><span class="flex min-w-0 flex-1 items-center gap-1" data-workspace-card-title-group=""><span dir="ltr" data-workspace-card-title=""><span class="wc-title-text svelte-1ct56pd"> </span></span> <!></span> <!> <!> <!></div> <!></div> <!> <!>',1),z2=k('<div class="relative z-10 flex shrink-0 items-center"><!></div>'),W2=k('<div><!> <!> <span class="font-medium truncate"> </span> <span class="shrink-0 text-muted-foreground">·</span> <span class="truncate text-xs text-muted-foreground"> </span> <!></div>'),j2=k('<div class="text-sm font-semibold truncate"> </div>'),Ed=k('<span class="truncate"> </span>'),U2=k('<span class="text-muted-foreground">·</span>'),q2=k('<div class="flex items-center gap-1 truncate text-xs text-muted-foreground"><!> <!> <!></div>'),V2=k('<div><!> <!> <div class="flex items-center gap-2 text-xs"><!> <span class="truncate text-muted-foreground"> </span> <span> </span></div> <!></div>'),K2=k('<div class="flex items-center gap-2"><!> <span class="text-ui shrink-0 tabular-nums text-muted-foreground"> </span></div>'),G2=k('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span> <span class="tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span></div>'),J2=k('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span></div>'),Y2=k('<div class="flex items-center text-ui"><span> </span></div>'),X2=k('<div class="flex flex-col gap-1 px-3 pb-2.5"><!> <!> <!> <!></div>'),Z2=k('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!></div>'),Q2=k('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!> <!></div>'),$2=k('<div role="group"><!> <div class="flex items-start gap-2.5 px-3 pt-3 pb-2"><!> <div class="flex-1 min-w-0"><div class="text-sm font-medium"> </div> <div class="mt-0.5 line-clamp-2 text-xs leading-snug text-muted-foreground"> </div></div></div> <!> <!></div>');function sl(r,t){if(new.target)return Bt({component:sl,...r});zt(t,!0);const n=()=>_t(Ve,"$prMonitors$",c),a=()=>_t(Z,"$microConnected$",c),o=()=>_t(Be,"$hidesOwnerActions$",c),s=()=>_t(Q,"$workspaceKeySlot$",c),[c,l]=sa();let p=h(t,"workspace",7),i=h(t,"phase",7),f=h(t,"stats",7),v=h(t,"variant",7,"compact"),M=h(t,"showTime",7,!0),x=h(t,"isRunning",7,!1),y=h(t,"isUnread",7,!1),R=h(t,"isWaiting",7),O=h(t,"isPinned",7,!1),F=h(t,"streamingAgentIds",23,()=>[]),H=h(t,"hasSpec",7,!1),S=h(t,"isAgentRunning",7,!1),P=h(t,"agentDigest",7),W=h(t,"trailingLabel",7),C=h(t,"title",7),D=h(t,"repoName",7),G=h(t,"branch",7),z=h(t,"onClick",7),K=h(t,"onAction",7),pe=h(t,"onTogglePin",7),X=h(t,"onMarkAsRead",7),be=h(t,"onOpenInNewWindow",7),se=h(t,"onHover",7),Re=h(t,"highlighted",7,!1),ie=h(t,"selected",7,!1),Ee=h(t,"highlightId",7),re=h(t,"suppressHover",7,!1),$=h(t,"hoverPreview",7,!0),_e=h(t,"isolateHoverReveal",7,!1),te=h(t,"class",7),de=h(t,"actions",7);const He=Ro("");xt(()=>{He.set(p()?.id??"")});const Ve=Eg(He),Z=Xb(),Q=ah(He),Be=Pg(He),j=d(()=>Vb(p()??{})),J=d(()=>Kb(e(j)));let q=d(()=>p()?Wb.url.pathname===`/workspace/${p().id}`:!1),ae=d(()=>p()?`workspace-hover-card-${p().id}`:void 0),we=he(!1),Me=he(null),ee=he(null);xt(()=>{if(!e(ee))return;const le=bs(e(ee),{id:Ee()});return()=>le.destroy()});let ce=he(null),Pe=he(null),et=he(null),xe=he(0),Ae=he(0),Y=d(()=>e(xe)+(e(Ae)>0?e(Ae)+4:0));function Ie(){const le=e(ce),mt=e(et);T(xe,le?Math.max(0,le.scrollWidth-le.clientWidth):0,!0),T(Ae,le&&mt&&mt.getClientRects().length>0?Math.max(0,le.getBoundingClientRect().right-mt.getBoundingClientRect().left):0,!0)}xt(()=>{const le=e(ce),mt=e(Pe),At=e(et);if(!le||!mt||(Ie(),typeof ResizeObserver>"u"))return;const lr=new ResizeObserver(Ie);return lr.observe(le),lr.observe(mt),At&&lr.observe(At),()=>lr.disconnect()});let fe=null,N=null,V=!1,ye=!1,Ke=!1,Le=!1,Ge=!1,Ye=!1,it=he(!1),yt=!1,wt=null,Kt=he(null),Ct=null,ue;function Te(){fe!==null&&(clearTimeout(fe),fe=null)}function tt(){N!==null&&(clearTimeout(N),N=null),Ct?.(),Ct=null}function gt(){tt(),T(it,!0),T(we,!0),!Ge&&(Ge=!0,Jo.notifyOpened())}function dt(){tt(),clearTimeout(ue),T(it,!1),T(we,!1),ye=!1,Le=!1,Ge&&(Ge=!1,Jo.notifyClosed())}function nt(){return V||ye||Ke||Le}function Et(){if(!e(we)){dt();return}tt(),N=setTimeout(()=>{N=null,nt()||dt()},Jb),Ct=Jo.deferClose(dt)}function kt(){ye=!0,tt()}function It(){ye=!1,!Ke&&!Le&&Et()}function Rt(){Le=!0,clearTimeout(ue),tt()}function Jt(le){const mt=le.relatedTarget instanceof Node?le.relatedTarget:null;if(mt&&ve()?.contains(mt)||(Le=!1,mt&&e(Me)?.contains(mt)))return;if(mt){!V&&!ye&&dt();return}const At=le.target;clearTimeout(ue),ue=setTimeout(()=>{const lr=document.activeElement,Lr=ve()?.contains(lr)||e(Me)?.contains(lr);lr&&lr!==At&&Lr||!V&&!ye&&dt()},0)}function or(){wt!==null&&clearTimeout(wt),yt=!0,wt=setTimeout(()=>{yt=!1,wt=null},0)}function Vt(le){const mt=le.target,At=ve();mt instanceof Node&&At?.contains(mt)||le.type==="scroll"&&e(Me)&&mt instanceof Node&&!mt.contains(e(Me))||(le.type==="pointerdown"&&or(),Te(),dt())}xt(()=>{if(e(it))return window.addEventListener("pointerdown",Vt,!0),window.addEventListener("scroll",Vt,!0),()=>{window.removeEventListener("pointerdown",Vt,!0),window.removeEventListener("scroll",Vt,!0)}});function Ne(le){if(le.key!=="Escape")return;const mt=le.target;mt instanceof Node&&ve()?.contains(mt)||(le.preventDefault(),le.stopPropagation(),Ye=Ke,Te(),dt())}xt(()=>{if(e(we))return window.addEventListener("keydown",Ne,!0),()=>window.removeEventListener("keydown",Ne,!0)});const ge=d(()=>p()?Tg.select(Ot.state,p().id):null),Qe=d(()=>e(ge)?e(ge):p()?.activePullRequest?p().activePullRequest:!p()?.prStatus||p().prNumber==null?null:{id:`legacy-pr-${p().prNumber}`,number:p().prNumber,url:p().prUrl??"",title:g.workspace_hoverCard_pullRequest_label(),status:p().prStatus,createdAt:p().updatedAt,updatedAt:p().updatedAt}),ot=d(()=>Ag(p())),rt=d(()=>{if(!p()||e(ot))return[];const le=p(),mt=le.repositoryOwner&&le.repositoryName?`${le.repositoryOwner}/${le.repositoryName}`:void 0;return Gm({workspacePRs:le.pullRequests,activePR:e(Qe),monitors:n(),workspaceRepo:mt,buildPrUrl:(At,lr)=>Em(At,le.repositoryOwner,le.repositoryName,lr),getDisplayTitle:At=>At.title})}),ze=d(()=>e(rt)[0]);function ne(le){const mt=le.resource?.repository.provider==="gitlab"?`${le.repo} !${le.number}`:le.repo?g.workspace_card_prBadge_repoLine_tooltip({repo:le.repo,number:le.number}):g.workspace_card_prBadge_label({number:` #${le.number}`});return[Rg(mt,le),le.title,le.details].filter(Boolean).join(`
|
|
296
296
|
`)}function ke(le){le.key==="Enter"&&z()?.(le)}function ve(){return e(ae)?document.getElementById(e(ae)):null}function Se(){return Array.from(ve()?.querySelectorAll("button:not(:disabled), a[href]")??[])}function Ce(){const le=e(Me)?.querySelector("[data-workspace-card-trigger]"),mt=ve();if(!le||!mt)return null;const At=Array.from(document.querySelectorAll('button:not(:disabled), a[href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"])')).filter(Lr=>Lr.tabIndex>=0&&!mt.contains(Lr)),lr=At.indexOf(le);return lr>=0?At[lr+1]:null}function Fe(le){Ye=!!e(Me)?.contains(le),dt(),le.focus({preventScroll:!0})}function We(){const le=e(Me)?.querySelector("[data-workspace-card-trigger]");le&&Fe(le)}async function Ze(le){if(le.key==="Escape"&&e(we)){le.preventDefault(),le.stopPropagation(),dt();return}le.key!=="ArrowDown"||re()||!p()||(le.preventDefault(),le.stopPropagation(),T(it,!0),T(we,!0),await Wn(),Se()[0]?.focus({preventScroll:!0}))}function Je(le){const mt=Se(),At=le.key==="Tab"&&le.shiftKey&&le.currentTarget===mt[0],Lr=le.key==="Tab"&&!le.shiftKey&&le.currentTarget===mt.at(-1)?Ce():null;le.key!=="Escape"&&!At&&!Lr||(le.preventDefault(),le.stopPropagation(),Lr?Fe(Lr):We())}function Ue(){V=!0,tt(),Jo.settleDeferredCloses(),Ie(),se()?.(),p()&&!re()&&!Ke&&(Te(),T(it,!0),fe=setTimeout(()=>{fe=null,gt()},Jo.currentOpenDelay))}function $e(){V=!1,Te(),!Ke&&!Le&&Et()}function qe(){Ke=!0,Te(),tt(),!Ye&&(yt||p()&&!re()&&(T(it,!0),T(we,!0)))}function Xe(le){const mt=le.relatedTarget instanceof Node?le.relatedTarget:null;mt&&e(Me)?.contains(mt)||(Ye=!1,Ke=!1,!(mt&&ve()?.contains(mt))&&!V&&!ye&&dt())}xt(()=>{re()&&(Te(),tt(),dt())});let lt=he(null),st=he(!1),ut;xt(()=>{const le=p()?.id;ut!==le&&(ut=le,T(st,!1)),e(lt)&&e(lt).workspaceId!==p()?.id&&ft()});function Mt(le){if(!p())return;const mt=ku(le);if(mt){if(T(st,!1),Ut().length===0){T(lt,null);return}T(lt,{...mt,returnFocus:le.target instanceof HTMLElement?le.target.closest("button")??e(Me)?.querySelector("button")??null:null,workspaceId:p().id},!0)}}function ft(){T(lt,null),T(st,!1)}xt(()=>{e(st)&&T(lt,null)}),bo(()=>{Te(),tt(),wt!==null&&(clearTimeout(wt),wt=null),dt()});function Ut(){if(!p())return[];const le=[];return be()&&le.push({id:"open-new-window",label:g.workspace_card_openNewWindow_label(),icon:Xd,onClick:()=>{be()?.(),ft()}}),le.push(...Gb(p().id,{connected:a(),onClose:ft})),o()||(e(ot)||le.push({id:"transfer",label:g.workspace_card_transfer_label(),icon:lv,onClick:()=>{Ot.dispatch(Mv({workspaceId:p().id,workspaceTitle:p().title})),ft()}}),le.push({id:"archive",label:g.workspace_card_archive_label(),icon:Zd,onClick:()=>{Ot.dispatch(cu(p().id)),ft()}}),le.push({id:"delete",label:g.workspace_card_deleteSpace_label(),icon:Qd,destructive:!0,onClick:()=>{Ot.dispatch(du(p().id)),ft()}})),le}let Xt=d(()=>S()&&P()?P():i()?.subtitle??""),Zt=d(()=>f()&&f().tasks.total>0?f().tasks.completed/f().tasks.total:0),yr=d(()=>!!f()&&(f().tasks.total>0||f().files.changed>0||f().commits.total>0||f().pr.hasOpen||f().pr.hasMerged)),Cr=d(()=>e(ot)?void 0:G()),yn=d(()=>!f()||e(ot)?"":f().pr.hasMerged?g.workspace_card_prMerged_label({number:f().pr.number??""}):f().pr.hasOpen?g.workspace_card_prOpen_label({number:f().pr.number?`#${f().pr.number}`:""}):""),Vr=d(()=>i()?.phase==="planning"?S()?{primary:{label:g.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:g.workspace_card_pause_label(),action:"pause"}}:H()||(f()?.tasks.total??0)>0?{primary:{label:g.workspace_card_approveStart_label(),action:"approve"},secondary:{label:g.workspace_card_viewSpec_label(),action:"view-spec"}}:{primary:{label:g.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:g.workspace_card_viewSpec_label(),action:"view-spec"}}:i()?.phase==="building"?{primary:{label:g.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:g.workspace_card_pause_label(),action:"pause"}}:i()?.phase==="reviewing"?{primary:{label:g.workspace_card_createPr_label(),action:"create-pr"},secondary:{label:g.workspace_card_showChanges_label(),action:"show-changes"}}:{primary:{label:g.workspace_card_archive_label(),action:"archive"},secondary:{label:g.workspace_card_showChanges_label(),action:"show-changes"}});const dr={planning:"bg-muted/20 text-muted-foreground",building:"bg-info/15 text-info",reviewing:"bg-primary/15 text-primary",shipped:"bg-foreground/10 text-foreground"};var Qn={get workspace(){return p()},set workspace(le){p(le),b()},get phase(){return i()},set phase(le){i(le),b()},get stats(){return f()},set stats(le){f(le),b()},get variant(){return v()},set variant(le="compact"){v(le),b()},get showTime(){return M()},set showTime(le=!0){M(le),b()},get isRunning(){return x()},set isRunning(le=!1){x(le),b()},get isUnread(){return y()},set isUnread(le=!1){y(le),b()},get isWaiting(){return R()},set isWaiting(le){R(le),b()},get isPinned(){return O()},set isPinned(le=!1){O(le),b()},get streamingAgentIds(){return F()},set streamingAgentIds(le=[]){F(le),b()},get hasSpec(){return H()},set hasSpec(le=!1){H(le),b()},get isAgentRunning(){return S()},set isAgentRunning(le=!1){S(le),b()},get agentDigest(){return P()},set agentDigest(le){P(le),b()},get trailingLabel(){return W()},set trailingLabel(le){W(le),b()},get title(){return C()},set title(le){C(le),b()},get repoName(){return D()},set repoName(le){D(le),b()},get branch(){return G()},set branch(le){G(le),b()},get onClick(){return z()},set onClick(le){z(le),b()},get onAction(){return K()},set onAction(le){K(le),b()},get onTogglePin(){return pe()},set onTogglePin(le){pe(le),b()},get onMarkAsRead(){return X()},set onMarkAsRead(le){X(le),b()},get onOpenInNewWindow(){return be()},set onOpenInNewWindow(le){be(le),b()},get onHover(){return se()},set onHover(le){se(le),b()},get highlighted(){return Re()},set highlighted(le=!1){Re(le),b()},get selected(){return ie()},set selected(le=!1){ie(le),b()},get highlightId(){return Ee()},set highlightId(le){Ee(le),b()},get suppressHover(){return re()},set suppressHover(le=!1){re(le),b()},get hoverPreview(){return $()},set hoverPreview(le=!0){$(le),b()},get isolateHoverReveal(){return _e()},set isolateHoverReveal(le=!1){_e(le),b()},get class(){return te()},set class(le){te(le),b()},get actions(){return de()},set actions(le){de(le),b()},$set:Ft,$on:(le,mt)=>Ht(t,le,mt)},Un=vt(),ya=De(Un);{var mn=le=>{var mt=H2(),At=De(mt);let lr;var Lr=E(At);{let ht=d(()=>p().title||g.workspace_links_untitled_label()),Lt=d(()=>`workspace-status-state-${p().id}${O()?` workspace-pinned-state-${p().id}`:""}${e(we)?` ${e(ae)}`:""}`),fr=d(()=>e(q)?"page":void 0);St(Lr,{variant:"plain",class:"absolute inset-0 z-0 h-auto w-auto rounded-md focus-visible:border-transparent focus-visible:bg-background/50 focus-visible:ring-0",get"aria-label"(){return e(ht)},get"aria-describedby"(){return e(Lt)},get"aria-current"(){return e(fr)},"data-workspace-card-trigger":!0,onkeydown:Ze,onclick:hr=>{hr.stopPropagation(),z()?.(hr)}})}var Xr=m(Lr,2),qn=E(Xr);{var _n=ht=>{var Lt=T2(),fr=E(Lt);{var hr=Ir=>{Kp(Ir,{get workspaceId(){return p().id},get slot(){return s()}})};B(fr,Ir=>{s()!==null&&Ir(hr)})}w(Lt),u(ht,Lt)};B(qn,ht=>{a()&&ht(_n)})}var xn=m(qn,2);Li(xn,{get content(){return e(J).tooltip},side:"bottom",sideOffset:4,children:(ht,Lt)=>{qb(ht,{get status(){return e(j)},size:14,decorative:!0,class:"justify-start"})},$$slots:{default:!0}});var ia=m(xn,2),Vn=L(ia,!0);w(Xr);var Pr=m(Xr,2),nn=E(Pr),Yt=E(nn),er=E(Yt),_a=L(er,!0);mr(er,ht=>T(Pe,ht),()=>e(Pe)),w(Yt),mr(Yt,ht=>T(ce,ht),()=>e(ce));var _r=m(Yt,2);{var Nr=ht=>{var Lt=R2(),fr=De(Lt),hr=E(fr);Tt(hr,{get icon(){return Zl},size:"xs"}),w(fr);var Ir=m(fr,2),Or=L(Ir,!0);I(la=>{pt(fr,1,`wc-pin-indicator inline-flex shrink-0 items-center text-muted-foreground transition-opacity
|
|
297
|
-
${pe()?Re()?"opacity-0":re()?"":_e()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),oe(Ir,"id",`workspace-pinned-state-${p().id??""}`),_(Or,la)},[()=>g.layout_activeCard_pinned_header()]),u(ht,Lt)};B(_r,ht=>{O()&&ht(Nr)})}w(nn);var cn=m(nn,2);{var Ta=ht=>{var Lt=M2(),fr=L(Lt,!0);I(()=>_(fr,W())),u(ht,Lt)};B(cn,ht=>{W()&&ht(Ta)})}var Zr=m(cn,2);{var Qr=ht=>{const Lt=d(()=>e(ze));var fr=N2(),hr=E(fr);{let Ir=d(()=>ne(e(Lt)));Li(hr,{get content(){return e(Ir)},side:"bottom",sideOffset:4,children:(Or,la)=>{var ca=vt(),da=De(ca);{var Dr=wn=>{{let Ar=d(()=>ne(e(Lt)));St(wn,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(Lt).foregroundClass??""}`},get"aria-label"(){return e(Ar)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(Lt).identity},get"data-pr-status"(){return e(Lt).status},onclick:Pn=>{Pn.stopPropagation();const za=p().id;ig(async()=>{const{handleLink:Kn}=await import("./
|
|
297
|
+
${pe()?Re()?"opacity-0":re()?"":_e()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),oe(Ir,"id",`workspace-pinned-state-${p().id??""}`),_(Or,la)},[()=>g.layout_activeCard_pinned_header()]),u(ht,Lt)};B(_r,ht=>{O()&&ht(Nr)})}w(nn);var cn=m(nn,2);{var Ta=ht=>{var Lt=M2(),fr=L(Lt,!0);I(()=>_(fr,W())),u(ht,Lt)};B(cn,ht=>{W()&&ht(Ta)})}var Zr=m(cn,2);{var Qr=ht=>{const Lt=d(()=>e(ze));var fr=N2(),hr=E(fr);{let Ir=d(()=>ne(e(Lt)));Li(hr,{get content(){return e(Ir)},side:"bottom",sideOffset:4,children:(Or,la)=>{var ca=vt(),da=De(ca);{var Dr=wn=>{{let Ar=d(()=>ne(e(Lt)));St(wn,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(Lt).foregroundClass??""}`},get"aria-label"(){return e(Ar)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(Lt).identity},get"data-pr-status"(){return e(Lt).status},onclick:Pn=>{Pn.stopPropagation();const za=p().id;ig(async()=>{const{handleLink:Kn}=await import("./CC08YY4X.js").then(dn=>dn.l);return{handleLink:Kn}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46]),import.meta.url).then(({handleLink:Kn})=>Kn(e(Lt).url,{workspaceId:za,event:Pn}))},children:(Pn,za)=>{Tt(Pn,{get icon(){return e(Lt).statusIcon},size:14})},$$slots:{default:!0}})}},Ra=wn=>{var Ar=L2(),Pn=E(Ar);Tt(Pn,{get icon(){return e(Lt).statusIcon},size:14}),w(Ar),I(za=>{pt(Ar,1,`inline-flex size-5 shrink-0 items-center justify-center rounded-sm ${e(Lt).foregroundClass??""}`,"svelte-1ct56pd"),oe(Ar,"aria-label",za),oe(Ar,"data-pr-identity",e(Lt).identity),oe(Ar,"data-pr-status",e(Lt).status)},[()=>ne(e(Lt))]),u(wn,Ar)};B(da,wn=>{e(Lt).url?wn(Dr):wn(Ra,-1)})}u(Or,ca)},$$slots:{default:!0}})}w(fr),I(Ir=>oe(fr,"aria-label",Ir),[()=>e(Lt).resource?.repository.provider==="gitlab"?g.workspace_hoverCard_mergeRequest_label():g.workspace_hoverCard_pullRequest_label()]),u(ht,fr)};B(Zr,ht=>{e(ze)&&ht(Qr)})}var Kr=m(Zr,2);{var xa=ht=>{var Lt=O2(),fr=E(Lt);{var hr=Or=>{{let la=d(()=>nc(p()));Wg(Or,{get date(){return e(la)},class:"type-caption whitespace-nowrap tabular-nums text-muted-foreground",compact:!0})}},Ir=d(()=>nc(p())>0);B(fr,Or=>{e(Ir)&&Or(hr)})}w(Lt),I(()=>pt(Lt,1,`wc-secondary shrink-0 ${de()||pe()||y()&&X()?Re()?"opacity-0":re()?"":_e()?"group-hover/wc:opacity-0 group-hover/message:opacity-0":"group-hover:opacity-0 group-hover/message:opacity-0":""}`,"svelte-1ct56pd")),u(ht,Lt)};B(Kr,ht=>{M()&&ht(xa)})}w(Pr);var qa=m(Pr,2);{var io=ht=>{var Lt=B2(),fr=E(Lt);{var hr=Dr=>{{let Ra=d(()=>O()?"text-primary-ink":"text-muted-foreground"),wn=d(()=>O()?g.workspace_card_unpin_ariaLabel():g.workspace_card_pin_ariaLabel()),Ar=d(()=>O()?g.workspace_card_unpin_tooltip():g.workspace_card_pin_tooltip());St(Dr,{variant:"plain",size:"icon-xs",iconOnly:!0,get class(){return`transition-all hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0
|
|
298
298
|
${e(Ra)??""}`},onclick:Pn=>{Pn.stopPropagation(),pe()?.(Pn)},get"aria-label"(){return e(wn)},get title(){return e(Ar)},children:(Pn,za)=>{var Kn=D2(),dn=E(Kn);Tt(dn,{get icon(){return Zl},size:"xs"}),w(Kn),u(Pn,Kn)},$$slots:{default:!0}})}};B(fr,Dr=>{pe()&&Dr(hr)})}var Ir=m(fr,2);{var Or=Dr=>{{let Ra=d(()=>g.workspace_card_markAsRead_label()),wn=d(()=>g.workspace_card_markAsRead_label());St(Dr,{variant:"plain",size:"icon-xs",iconOnly:!0,class:"text-muted-foreground hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0",onclick:Ar=>{Ar.stopPropagation(),X()?.(Ar)},get"aria-label"(){return e(Ra)},get title(){return e(wn)},children:(Ar,Pn)=>{Tt(Ar,{get icon(){return $d},size:"xs"})},$$slots:{default:!0}})}};B(Ir,Dr=>{y()&&X()&&Dr(Or)})}var la=m(Ir,2);gn(la,()=>de()??Zo);var ca=m(la,2);{var da=Dr=>{{let Ra=d(Ut),wn=d(()=>g.workspace_progressCard_actions_ariaLabel());zs(Dr,{get items(){return e(Ra)},get ariaLabel(){return e(wn)},class:"flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:outline-none",get open(){return e(st)},set open(Ar){T(st,Ar,!0)}})}};B(ca,Dr=>{be()&&Dr(da)})}w(Lt),mr(Lt,Dr=>T(et,Dr),()=>e(et)),I(()=>pt(Lt,1,`wc-actions absolute right-1 top-1/2 z-20 flex -translate-y-1/2 items-center gap-0.5 rounded-md bg-accent/95 px-0.5 focus-within:opacity-100
|
|
299
299
|
${_e()?"group-focus-within/wc:opacity-100":"group-focus-within:opacity-100"}
|
|
300
300
|
${Re()?"opacity-100":re()?"opacity-0":_e()?"opacity-0 group-hover/wc:opacity-100":"opacity-0 group-hover:opacity-100"}`,"svelte-1ct56pd")),u(ht,Lt)};B(qa,ht=>{(de()||be()||pe()||y()&&X())&&ht(io)})}w(At),mr(At,ht=>T(Me,ht),()=>e(Me)),jn(At,(ht,Lt)=>bs?.(ht,Lt),()=>({id:Ee()}));var $r=m(At,2);{var Hr=ht=>{jb(ht,{get id(){return e(ae)},get anchor(){return`--workspace-list-${p().id??""}`},position:"right",get anchorElement(){return e(Me)},class:"w-auto overflow-visible! rounded-lg border-0! bg-background! shadow-none!",onmouseenter:kt,onmouseleave:It,onfocusin:Rt,onfocusout:Jt,children:(Lt,fr)=>{var hr=F2(),Ir=E(hr);Yb(Ir,{get workspace(){return p()},get activeAgentIds(){return F()},onkeydown:Je}),w(hr),mr(hr,Or=>T(Kt,Or),()=>e(Kt)),Mn("pointerenter",hr,kt),Mn("pointerleave",hr,It),Mr("focusin",hr,Rt),Mr("focusout",hr,Jt),u(Lt,hr)},$$slots:{default:!0}})};B($r,ht=>{e(we)&&!re()&&$()&&ht(Hr)})}var pr=m($r,2);{var $n=ht=>{const Lt=d(Ut);var fr=vt(),hr=De(fr);{var Ir=Or=>{{let la=d(()=>e(lt)?.x??0),ca=d(()=>e(lt)?.y??0),da=d(()=>e(lt)?.returnFocus),Dr=d(()=>g.workspace_progressCard_actions_ariaLabel());Iu(Or,{get x(){return e(la)},get y(){return e(ca)},get returnFocus(){return e(da)},get ariaLabel(){return e(Dr)},get items(){return e(Lt)},onClickOutside:ft})}};B(hr,Or=>{e(Lt).length>0&&Or(Ir)})}u(ht,fr)};B(pr,ht=>{e(lt)&&ht($n)})}I((ht,Lt,fr)=>{pt(At,1,ht,"svelte-1ct56pd"),oe(At,"data-pinned",O()),oe(At,"data-highlight-id",Ee()),lr=Ln(At,"",lr,{"anchor-name":`--workspace-list-${p().id??""}`}),oe(ia,"id",`workspace-status-state-${p().id??""}`),_(Vn,e(J).accessibleName),pt(Yt,1,`wc-title type-body min-w-0 truncate font-normal!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as g,bo as h,bm as v,bw as w,b as C}from"./
|
|
1
|
+
import{t as g,bo as h,bm as v,bw as w,b as C}from"./51_h0jm2.js";import{bs as T,a5 as u,bl as l,bS as _,bA as m,b_ as A,bO as p,W as O,bn as S,aA as j,aB as B}from"./CJxGDkBm.js";var I=B('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><div class="text-center"><p class="text-lg font-medium text-foreground"> </p> <p class="text-sm"> </p> <p class="text-xs mt-4 text-subtle"> </p></div></div>');function L(n,a){if(new.target)return g({component:L,...n});T(a,!0);let e=h(a,"tab",7);var c={get tab(){return e()},set tab(t){e(t),j()},$set:w,$on:(t,r)=>C(a,t,r)},s=I(),o=u(s),b=u(o),d=l(b,!0),i=_(b,2),x=l(i,!0),f=_(i,2),y=l(f,!0);return m(o),m(s),A((t,r)=>{p(d,e().title),p(x,t),p(y,r)},[()=>v.layout_panelContent_typeLabel({type:e().type}),()=>v.layout_overviewTab_notImplemented_label()]),O(n,s),S(c)}export{L as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as xt}from"./
|
|
1
|
+
import{p as xt}from"./BXHaIh_f.js";import{aZ as gt,U as $t,Y as bt,b0 as wt,V as Ct,a_ as vt,b as s,ay as O,aX as Dt,B as kt,r as Tt,q as U,W as Z,O as At,a6 as ot}from"./DrBi0w5G.js";import{p as Bt}from"./C0gEyGJV.js";var rt=s(()=>({domains:new Map,transitions:[]}),"createDefaultData"),H=rt(),St=s(()=>H.domains,"getDomains"),Mt=s(()=>H.transitions,"getTransitions"),zt=s(t=>{if(t)for(const e of t){const n=e.domain,a=(e.items??[]).map(c=>({label:c.label}));H.domains.set(n,{name:n,items:a})}},"setDomains"),Lt=s(t=>{t&&(H.transitions=t.filter(e=>e.from===e.to?(O.warn(`Cynefin: self-loop transition on domain "${e.from}" is not meaningful and will be skipped.`),!1):!0).map(e=>({from:e.from,to:e.to,label:e.label||void 0})))},"setTransitions"),Nt=s(()=>U({...At.cynefin,...Z().cynefin}),"getConfig"),Pt=s(()=>{Tt(),H=rt()},"clear"),G={getDomains:St,getTransitions:Mt,setDomains:zt,setTransitions:Lt,getConfig:Nt,clear:Pt,setAccTitle:vt,getAccTitle:Ct,setDiagramTitle:wt,getDiagramTitle:bt,getAccDescription:$t,setAccDescription:gt},Wt=s(t=>{xt(t,G),G.setDomains(t.domains),G.setTransitions(t.transitions)},"populate"),It={parse:s(async t=>{const e=await Bt("cynefin",t);O.debug(e),Wt(e)},"parse")};function E(t){let e=t+1831565813|0;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}s(E,"seededRandom");function st(t){let e=0;for(let n=0;n<t.length;n++){const a=t.charCodeAt(n);e=(e<<5)-e+a,e|=0}return e}s(st,"hashString");function it(t,e){return typeof t=="number"&&Number.isFinite(t)&&t!==0?t:st(e)}s(it,"resolveSeed");function ct(t,e,n,a){const c=t/2,m=a??t*.015,v=7,I=e/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*17)*m*2-m;d.push({x:c+p,y:o*I})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.y+i.y)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*31+7),R=p.x+h,V=f,_=i.x-h;D+=` C${R},${V} ${_},${f} ${i.x},${i.y}`}return D}s(ct,"generateFoldPath");function lt(t,e,n,a){const c=e/2,m=a??e*.015,v=7,I=t/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*23)*m*2-m;d.push({x:o*I,y:c+p})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.x+i.x)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*37+11),R=f,V=p.y+h,_=f,z=i.y-h;D+=` C${R},${V} ${_},${z} ${i.x},${i.y}`}return D}s(lt,"generateHorizontalBoundary");function dt(t,e){const n=t/2,a=e*.5,c=e,m=t*.03;return[`M${n},${a}`,`C${n+m},${a+(c-a)*.2}`,`${n-m*1.5},${a+(c-a)*.55}`,`${n+m*.5},${a+(c-a)*.75}`,`C${n-m},${a+(c-a)*.85}`,`${n+m*.3},${a+(c-a)*.95}`,`${n},${c}`].join(" ")}s(dt,"generateCliffPath");function ft(t,e,n,a){return[`M${t-n},${e}`,`A${n},${a} 0 1,1 ${t+n},${e}`,`A${n},${a} 0 1,1 ${t-n},${e}`,"Z"].join(" ")}s(ft,"generateConfusionPath");var at={complex:{model:"Probe → Sense → Respond",practice:"Emergent Practices"},complicated:{model:"Sense → Analyse → Respond",practice:"Good Practices"},clear:{model:"Sense → Categorise → Respond",practice:"Best Practices"},chaotic:{model:"Act → Sense → Respond",practice:"Novel Practices"},confusion:{model:"",practice:"Disorder"}},Rt=s((t,e)=>{const n=t/2,a=e/2;return{complex:{cx:n/2,cy:a/2,x:0,y:0,w:n,h:a},complicated:{cx:n+n/2,cy:a/2,x:n,y:0,w:n,h:a},chaotic:{cx:n/2,cy:a+a/2,x:0,y:a,w:n,h:a},clear:{cx:n+n/2,cy:a+a/2,x:n,y:a,w:n,h:a},confusion:{cx:n,cy:a,x:n*.7,y:a*.7,w:n*.6,h:a*.6}}},"getDomainLayouts"),Vt=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinDomainColors"),q=3,_t=s((t,e,n,a)=>{const c=a.db,m=c.getDomains(),v=c.getTransitions(),I=c.getDiagramTitle(),d=c.getAccTitle(),D=c.getAccDescription(),o=c.getConfig(),p=Vt();O.debug("Rendering Cynefin diagram");const i=o.width,f=o.height,b=o.padding,h=o.showDomainDescriptions,R=o.boundaryAmplitude,V=i+b*2,_=f+b*2,z={complex:p.complexBg,complicated:p.complicatedBg,clear:p.clearBg,chaotic:p.chaoticBg,confusion:p.confusionBg},k=Dt(e);kt(k,_,V,o.useMaxWidth??!0),k.attr("viewBox",`0 0 ${V} ${_}`),d&&k.append("title").text(d),D&&k.append("desc").text(D);const T=k.append("g").attr("transform",`translate(${b}, ${b})`),F=Rt(i,f),Q=it(o.seed,e),mt=T.append("g").attr("class","cynefin-backgrounds"),X=["complex","complicated","chaotic","clear"];for(const l of X){const r=F[l];mt.append("rect").attr("class","cynefinDomain").attr("x",r.x).attr("y",r.y).attr("width",r.w).attr("height",r.h).attr("fill",z[l]).attr("fill-opacity",.4).attr("stroke","none")}const j=T.append("g").attr("class","cynefin-boundaries");j.append("path").attr("class","cynefinBoundary").attr("d",ct(i,f,Q,R)).attr("fill","none"),j.append("path").attr("class","cynefinBoundary").attr("d",lt(i,f,Q+100,R)).attr("fill","none"),j.append("path").attr("class","cynefinCliff").attr("d",dt(i,f)).attr("fill","none");const pt=i*.15,yt=f*.15;T.append("path").attr("class","cynefinConfusion").attr("d",ft(i/2,f/2,pt,yt)).attr("fill",z.confusion).attr("fill-opacity",.5);const J=T.append("g").attr("class","cynefin-labels");for(const l of X){const r=F[l];J.append("text").attr("class","cynefinDomainLabel").attr("x",r.cx).attr("y",h?r.cy-30:r.cy).attr("text-anchor","middle").attr("dominant-baseline","middle").text(l.charAt(0).toUpperCase()+l.slice(1))}if(J.append("text").attr("class","cynefinDomainLabel").attr("x",i/2).attr("y",h?f/2-10:f/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text("Confusion"),h){const l=T.append("g").attr("class","cynefin-subtitles");for(const r of X){const u=F[r],y=at[r];l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy-10).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.model),l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy+5).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.practice)}l.append("text").attr("class","cynefinSubtitle").attr("x",i/2).attr("y",f/2+8).attr("text-anchor","middle").attr("dominant-baseline","middle").text(at.confusion.practice)}const K=T.append("g").attr("class","cynefin-items"),A=26,tt=10,ut=["complex","complicated","chaotic","clear","confusion"];for(const l of ut){const r=m.get(l);if(!r||r.items.length===0)continue;const u=F[l],y=l==="confusion";let L=r.items,N=0;y&&r.items.length>q&&(N=r.items.length-q,L=r.items.slice(0,q));let B;if(y){const g=h?22:14;B=u.cy+g}else B=u.cy+(h?25:15);if([...L].forEach((g,S)=>{const w=B+S*(A+4),M=K.append("g"),P=M.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(g.label);let $=g.label.length*7;const x=P.node();if(x&&typeof x.getBBox=="function"){const Y=x.getBBox();Y.width>0&&($=Y.width)}const C=$+tt*2,W=u.cx-C/2;M.attr("transform",`translate(${W}, ${w})`),M.insert("rect","text").attr("class","cynefinItem").attr("x",0).attr("y",0).attr("width",C).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.95),P.attr("x",C/2).attr("y",A/2)}),N>0){const g=B+L.length*(A+4),S=`+${N} more`,w=K.append("g"),M=w.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(S);let P=S.length*7;const $=M.node();if($&&typeof $.getBBox=="function"){const W=$.getBBox();W.width>0&&(P=W.width)}const x=P+tt*2,C=u.cx-x/2;w.attr("transform",`translate(${C}, ${g})`),w.insert("rect","text").attr("class","cynefinItemOverflow").attr("x",0).attr("y",0).attr("width",x).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.6),M.attr("x",x/2).attr("y",A/2)}}if(v.length>0){const l=k.select("defs").empty()?k.append("defs"):k.select("defs"),r=`cynefin-arrow-${e}`;l.append("marker").attr("id",r).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","cynefinArrowHead");const u=T.append("g").attr("class","cynefin-arrows");v.forEach(y=>{const L=F[y.from],N=F[y.to];if(!L||!N)return;if(y.from===y.to){O.warn(`Cynefin renderer: skipping self-loop on domain "${y.from}"`);return}const B=L.cx,g=L.cy,S=N.cx,w=N.cy,M=(B+S)/2,P=(g+w)/2,$=S-B,x=w-g,C=Math.sqrt($*$+x*x),W=C*.15,Y=-x/C,ht=$/C,et=M+Y*W,nt=P+ht*W;u.append("path").attr("class","cynefinArrowLine").attr("d",`M${B},${g} Q${et},${nt} ${S},${w}`).attr("fill","none").attr("marker-end",`url(#${r})`),y.label&&u.append("text").attr("class","cynefinArrowLabel").attr("x",et).attr("y",nt-6).attr("text-anchor","middle").attr("dominant-baseline","auto").text(y.label)})}I&&T.append("text").attr("class","cynefinTitle").attr("x",i/2).attr("y",-b/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text(I)},"draw"),Ft={draw:_t},Et=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinTheme"),Ht=s(()=>{const t=Et();return`
|
|
2
2
|
.cynefinDomain {
|
|
3
3
|
stroke: none;
|
|
4
4
|
}
|