@intent-hq/web 2.375.1 → 2.376.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{Dn-hGN0g.js → -Hb5Lymn.js} +1 -1
- package/web/app/immutable/chunks/{CQ6jYKtE.js → -bihBnD_.js} +1 -1
- package/web/app/immutable/chunks/{DKUOdUyV.js → 0rEEjvhW.js} +1 -1
- package/web/app/immutable/chunks/1KDVFF23.js +1 -0
- package/web/app/immutable/chunks/{Xgzrv-dN.js → 1wMLd-77.js} +1 -1
- package/web/app/immutable/chunks/{BX9IoE2d.js → 26zQgwyJ.js} +1 -1
- package/web/app/immutable/chunks/{DSiF4FpM.js → 2WaF6vs_.js} +1 -1
- package/web/app/immutable/chunks/{C7Uh4cHO.js → 2tp4E25F.js} +1 -1
- package/web/app/immutable/chunks/{Bd6SODL5.js → 471Fgn_p.js} +1 -1
- package/web/app/immutable/chunks/{Cpr2SOSC.js → 6FXzbKIf.js} +1 -1
- package/web/app/immutable/chunks/{CYYyuCBb.js → 6GF_gyTS.js} +1 -1
- package/web/app/immutable/chunks/{DQiheiDa.js → 6HwVA3Xi.js} +48 -48
- package/web/app/immutable/chunks/{DODG7FHv.js → 6NqQpMgA.js} +1 -1
- package/web/app/immutable/chunks/{DY61j2wq.js → 7n3mxV6t.js} +1 -1
- package/web/app/immutable/chunks/{B_jbAa0I.js → 8PIbpdJu.js} +1 -1
- package/web/app/immutable/chunks/{C-7W2F0B.js → 8UE1B61A.js} +1 -1
- package/web/app/immutable/chunks/{B4SJ0wZk.js → 8VOCP3Xx.js} +1 -1
- package/web/app/immutable/chunks/{B4n9OEnJ.js → B4wiFjXK.js} +1 -1
- package/web/app/immutable/chunks/{CUXVMwZ6.js → B5n1Er-h.js} +1 -1
- package/web/app/immutable/chunks/B61tWwOC.js +1 -0
- package/web/app/immutable/chunks/{BDsVnMYl.js → B6ZbCtHN.js} +1 -1
- package/web/app/immutable/chunks/{CM4xaytB.js → B6Zf-ZTX.js} +1 -1
- package/web/app/immutable/chunks/{YfYAjqUM.js → B77YOXDU.js} +1 -1
- package/web/app/immutable/chunks/{BTKPx9nP.js → B85xL2lt.js} +3 -3
- package/web/app/immutable/chunks/{D3HVFnZe.js → B8tcC_lC.js} +1 -1
- package/web/app/immutable/chunks/{67uMgcnU.js → B9F4r5fH.js} +1 -1
- package/web/app/immutable/chunks/{CtX28OJm.js → BA7mfVzm.js} +1 -1
- package/web/app/immutable/chunks/{kFANwwYX.js → BEbBWmo4.js} +1 -1
- package/web/app/immutable/chunks/{C7TJE1vk.js → BEv4fIdD.js} +1 -1
- package/web/app/immutable/chunks/{C9EedYBu.js → BFT4wQs3.js} +1 -1
- package/web/app/immutable/chunks/{DNozBV3M.js → BGql-rAX.js} +1 -1
- package/web/app/immutable/chunks/{iykV4pvb.js → BHsQzwHt.js} +1 -1
- package/web/app/immutable/chunks/{Ds6Uj2aI.js → BIGkxv6Q.js} +1 -1
- package/web/app/immutable/chunks/{BWtq4mC4.js → BIwMjRQQ.js} +1 -1
- package/web/app/immutable/chunks/{CzEqpD5b.js → BLNcc2k4.js} +1 -1
- package/web/app/immutable/chunks/{BbzFLKZE.js → BMScw2DS.js} +1 -1
- package/web/app/immutable/chunks/{gsUgKMwT.js → BMfUzLG6.js} +1 -1
- package/web/app/immutable/chunks/{DD_c8x6U.js → BOZ6hjJI.js} +2 -2
- package/web/app/immutable/chunks/{mM-wy2h5.js → BP7XtCsE.js} +1 -1
- package/web/app/immutable/chunks/{NgEAPl8f.js → BPo1GPk4.js} +2 -2
- package/web/app/immutable/chunks/{CF0098kp.js → BPqKxoH8.js} +1 -1
- package/web/app/immutable/chunks/{BKPOvbtV.js → BPx3dFHu.js} +1 -1
- package/web/app/immutable/chunks/{DuPkRrZF.js → BSyKFBWd.js} +1 -1
- package/web/app/immutable/chunks/{DaUQbJQJ.js → BWBQA0E0.js} +1 -1
- package/web/app/immutable/chunks/{dqvdjjXR.js → BWIYTJ4a.js} +3 -3
- package/web/app/immutable/chunks/{BDXSQt10.js → BWyPNph7.js} +2 -2
- package/web/app/immutable/chunks/{MBA6k0j3.js → BYBN65Dm.js} +1 -1
- package/web/app/immutable/chunks/{CiD4x8Gl.js → BZytk_HL.js} +1 -1
- package/web/app/immutable/chunks/{ChbTF48b.js → BaO0hXxI.js} +1 -1
- package/web/app/immutable/chunks/{-18XT1CI.js → BblwdMxR.js} +1 -1
- package/web/app/immutable/chunks/{DIylOQL5.js → BcEldzTj.js} +1 -1
- package/web/app/immutable/chunks/{D_o67XD6.js → BcliNPZw.js} +2 -2
- package/web/app/immutable/chunks/{CRl6sOjh.js → Bco7_wmI.js} +1 -1
- package/web/app/immutable/chunks/{B_3JIPw3.js → BdBn1UvT.js} +1 -1
- package/web/app/immutable/chunks/{SMT1sep4.js → BdNdGDSe.js} +1 -1
- package/web/app/immutable/chunks/{DppdhMsn.js → BdaN2XXm.js} +1 -1
- package/web/app/immutable/chunks/{CMFbZICM.js → Bdn-RKqv.js} +2 -2
- package/web/app/immutable/chunks/{MyWfy8xc.js → BePTHsT0.js} +1 -1
- package/web/app/immutable/chunks/{PZRS5x7m.js → Bek4Es60.js} +1 -1
- package/web/app/immutable/chunks/{H3ekn9Mt.js → BjRLyMd2.js} +1 -1
- package/web/app/immutable/chunks/{5mmUTVhd.js → BjYingUt.js} +1 -1
- package/web/app/immutable/chunks/{DZ8q1fkg.js → BkcFLgQ7.js} +1 -1
- package/web/app/immutable/chunks/{C1m4pSe1.js → BkmrZjpE.js} +1 -1
- package/web/app/immutable/chunks/{ClkC2csJ.js → BlXvVwTG.js} +1 -1
- package/web/app/immutable/chunks/{DqujvsHK.js → BntFPxwt.js} +1 -1
- package/web/app/immutable/chunks/{CZJDTQJi.js → Bo5PTszQ.js} +1 -1
- package/web/app/immutable/chunks/{CkRR8JwL.js → BoLBqPln.js} +1 -1
- package/web/app/immutable/chunks/{CSbK1_CV.js → BpT_ybtH.js} +2 -2
- package/web/app/immutable/chunks/{BOsHJKjO.js → BpimY2Bn.js} +2 -2
- package/web/app/immutable/chunks/{eGxC9Zfx.js → Br9RT7xb.js} +1 -1
- package/web/app/immutable/chunks/{BsknvdQb.js → Bs1CY0TU.js} +1 -1
- package/web/app/immutable/chunks/{DV_Q2hiQ.js → Bt2C0fwl.js} +2 -2
- package/web/app/immutable/chunks/{DgOwYCT0.js → BtT-JO5g.js} +1 -1
- package/web/app/immutable/chunks/{Dgn5Otg4.js → Bu4YAtNq.js} +1 -1
- package/web/app/immutable/chunks/{BCKmKE5y.js → BuFlry2f.js} +1 -1
- package/web/app/immutable/chunks/{Bk5eDkyv.js → BuXc_maR.js} +1 -1
- package/web/app/immutable/chunks/{DvOdp8Jx.js → Bv5YjDej.js} +1 -1
- package/web/app/immutable/chunks/{ChoM6f6w.js → BvjVhe2e.js} +1 -1
- package/web/app/immutable/chunks/{Bu7GfLOK.js → BvvCJG4x.js} +1 -1
- package/web/app/immutable/chunks/{BSroN1Rt.js → ByJyX5qZ.js} +1 -1
- package/web/app/immutable/chunks/{C_GpcLP2.js → BzwPeFzF.js} +1 -1
- package/web/app/immutable/chunks/{Q5HWwxnx.js → C0kzahSL.js} +1 -1
- package/web/app/immutable/chunks/{vXh-PQQZ.js → C0nXBDlv.js} +1 -1
- package/web/app/immutable/chunks/{COIbDYtT.js → C22LcJ65.js} +3 -3
- package/web/app/immutable/chunks/{U6kzE96u.js → C3beNZjc.js} +1 -1
- package/web/app/immutable/chunks/{DINI7WNX.js → C3iIVLbv.js} +1 -1
- package/web/app/immutable/chunks/{tnfQ532f.js → C4cfJuJM.js} +1 -1
- package/web/app/immutable/chunks/{iwQqOlmN.js → C7Ibt0hX.js} +1 -1
- package/web/app/immutable/chunks/{fXti0RCR.js → C7hm9bSX.js} +1 -1
- package/web/app/immutable/chunks/{CiJWG6bO.js → C82gBCX8.js} +1 -1
- package/web/app/immutable/chunks/{CXjIzVpl.js → C9x6kmJK.js} +1 -1
- package/web/app/immutable/chunks/{BmC0p6X8.js → CALsJq65.js} +1 -1
- package/web/app/immutable/chunks/{CnMgdwKG.js → CBLFNmYJ.js} +1 -1
- package/web/app/immutable/chunks/{DaysnCXK.js → CBmGf0Ke.js} +1 -1
- package/web/app/immutable/chunks/{gcpLbmeh.js → CCEqDzPP.js} +1 -1
- package/web/app/immutable/chunks/{DgH7yAy-.js → CCWqLSpV.js} +1 -1
- package/web/app/immutable/chunks/{C5l6D9GX.js → CClsvy7n.js} +1 -1
- package/web/app/immutable/chunks/{CFqcGY4P.js → CEgHOs22.js} +1 -1
- package/web/app/immutable/chunks/{GlvfRTgI.js → CEqmtghP.js} +1 -1
- package/web/app/immutable/chunks/{RLFGU-s6.js → CFLXlno6.js} +1 -1
- package/web/app/immutable/chunks/{E0KBz4I2.js → CGx1Vpie.js} +1 -1
- package/web/app/immutable/chunks/{Zw1KxEm0.js → CIzlkLuu.js} +1 -1
- package/web/app/immutable/chunks/{D806p2LW.js → CJBG3N9y.js} +3 -3
- package/web/app/immutable/chunks/{D5HhSqbc.js → CJJ2D2db.js} +1 -1
- package/web/app/immutable/chunks/{LAC4SG96.js → CJfYXtXQ.js} +1 -1
- package/web/app/immutable/chunks/{C0JDt0nm.js → CKGNYRrS.js} +2 -2
- package/web/app/immutable/chunks/{P3O1Bi5N.js → CKKDDlBT.js} +1 -1
- package/web/app/immutable/chunks/{Cy9qAjIU.js → CL6yJ0UM.js} +1 -1
- package/web/app/immutable/chunks/{DGlNRMU1.js → CLG1DPRT.js} +2 -2
- package/web/app/immutable/chunks/{qPYbzgcC.js → CMgAi196.js} +1 -1
- package/web/app/immutable/chunks/{zjXa9LeK.js → CMn7jvlN.js} +1 -1
- package/web/app/immutable/chunks/{LGfIT3MS.js → CN0Csvus.js} +3 -3
- package/web/app/immutable/chunks/{Ctusnxiu.js → CN9rXc7J.js} +1 -1
- package/web/app/immutable/chunks/{DfdqseMI.js → COK2QQN9.js} +1 -1
- package/web/app/immutable/chunks/{LDe4IsYZ.js → COZ3dQ_A.js} +1 -1
- package/web/app/immutable/chunks/{IVk1JAtP.js → CPEu2Vil.js} +1 -1
- package/web/app/immutable/chunks/{DSiZ9qTg.js → CQQvsDes.js} +1 -1
- package/web/app/immutable/chunks/{Cq76BY90.js → CQww8mRz.js} +1 -1
- package/web/app/immutable/chunks/{CberoJl6.js → CQx3pm4t.js} +1 -1
- package/web/app/immutable/chunks/{uE6SDSU_.js → CSepGuJ-.js} +1 -1
- package/web/app/immutable/chunks/CT6GHk2v.js +1 -0
- package/web/app/immutable/chunks/{BxVNHcGR.js → CTDEoCzv.js} +1 -1
- package/web/app/immutable/chunks/{oJ_ZL_ms.js → CToFQRbb.js} +1 -1
- package/web/app/immutable/chunks/{alEgYZuT.js → CUUAtNdA.js} +1 -1
- package/web/app/immutable/chunks/CW7lfTzm.js +177 -0
- package/web/app/immutable/chunks/{C58p8xFm.js → CWFWI1JB.js} +1 -1
- package/web/app/immutable/chunks/{S7_elIn6.js → CX4bqTrJ.js} +1 -1
- package/web/app/immutable/chunks/{y-lOZYhA.js → CXfim-2t.js} +1 -1
- package/web/app/immutable/chunks/{D9JbOH_S.js → CXgy6Mbb.js} +1 -1
- package/web/app/immutable/chunks/{D1JjMDax.js → CYCawVEx.js} +1 -1
- package/web/app/immutable/chunks/{BlyKuyB7.js → CZw2t1gL.js} +1 -1
- package/web/app/immutable/chunks/{kuwy0JZA.js → C_0xgdqY.js} +1 -1
- package/web/app/immutable/chunks/{DzVqblgy.js → C_BHeuK7.js} +1 -1
- package/web/app/immutable/chunks/{DuDStABj.js → Ca9qLvAG.js} +1 -1
- package/web/app/immutable/chunks/{6JKrky9_.js → CbnYiL9b.js} +1 -1
- package/web/app/immutable/chunks/{CHUCX9T6.js → CdgNuFkc.js} +1 -1
- package/web/app/immutable/chunks/{DZCvTRBp.js → CdpTO1ew.js} +1 -1
- package/web/app/immutable/chunks/{CHLHWub0.js → CfCk_l9B.js} +1 -1
- package/web/app/immutable/chunks/{DoIr8Q2r.js → Ch-pFfsN.js} +1 -1
- package/web/app/immutable/chunks/{xS3xfMki.js → Cihg5T05.js} +1 -1
- package/web/app/immutable/chunks/{fXwGuYzr.js → CihneiLA.js} +1 -1
- package/web/app/immutable/chunks/{DgaiTQpw.js → CjK2zm52.js} +1 -1
- package/web/app/immutable/chunks/{BJuNVIII.js → CkrblKaH.js} +1 -1
- package/web/app/immutable/chunks/{gSg6l32T.js → CmdE1AJL.js} +1 -1
- package/web/app/immutable/chunks/{C44hzh9R.js → CntPxeXh.js} +1 -1
- package/web/app/immutable/chunks/{1KCpY35B.js → Co4Bm5eY.js} +1 -1
- package/web/app/immutable/chunks/{BjWOzuMm.js → CpIVKWwx.js} +4 -4
- package/web/app/immutable/chunks/{D_Y9WK2x.js → CqM0ozU7.js} +1 -1
- package/web/app/immutable/chunks/{B4mmdCiF.js → CqsFOLCu.js} +1 -1
- package/web/app/immutable/chunks/{l4TJFOXC.js → CrNPV-Vp.js} +1 -1
- package/web/app/immutable/chunks/{DgIh2Fs6.js → CrgJwS7n.js} +1 -1
- package/web/app/immutable/chunks/{CFhbo3o1.js → Cs85XoQa.js} +1 -1
- package/web/app/immutable/chunks/{DZmV2kHY.js → CtECFAby.js} +1 -1
- package/web/app/immutable/chunks/{D6GBnYDv.js → CtguhKZB.js} +1 -1
- package/web/app/immutable/chunks/{C-JwFHXS.js → CuAAvi1f.js} +1 -1
- package/web/app/immutable/chunks/{DHqMqA41.js → CvZrEuUX.js} +1 -1
- package/web/app/immutable/chunks/{m8gDbIPC.js → Cvp_IOBl.js} +2 -2
- package/web/app/immutable/chunks/{D6hUzfgH.js → Cw3skelK.js} +1 -1
- package/web/app/immutable/chunks/{CGG7txTQ.js → CwBMToxu.js} +1 -1
- package/web/app/immutable/chunks/{B3fU6XQp.js → D-rGNJzU.js} +1 -1
- package/web/app/immutable/chunks/{TodMLsNs.js → D1DNtybi.js} +1 -1
- package/web/app/immutable/chunks/{grQh-L5q.js → D2eaIIb4.js} +2 -2
- package/web/app/immutable/chunks/{DJ2vnC9G.js → D4EwlENg.js} +1 -1
- package/web/app/immutable/chunks/{CFUDIGea.js → D4gtBVLN.js} +1 -1
- package/web/app/immutable/chunks/{BepABSAk.js → D4lP_X71.js} +1 -1
- package/web/app/immutable/chunks/{o1gxvTJU.js → D5bd-ecJ.js} +1 -1
- package/web/app/immutable/chunks/{CpYW1yE7.js → D5raGlU7.js} +2 -2
- package/web/app/immutable/chunks/{B5CW3gDe.js → D6W9Whdp.js} +3 -3
- package/web/app/immutable/chunks/{Byjmi-8z.js → D7u67tV0.js} +2 -2
- package/web/app/immutable/chunks/{BkLJnbD1.js → D7vAVIvz.js} +1 -1
- package/web/app/immutable/chunks/{D85P44Dj.js → D8B7qxXm.js} +1 -1
- package/web/app/immutable/chunks/{Db_i0IkD.js → D8XqXEXt.js} +1 -1
- package/web/app/immutable/chunks/{DoQnqQZn.js → DCibR4Jk.js} +1 -1
- package/web/app/immutable/chunks/{BowQ7sBM.js → DDFAsI-l.js} +1 -1
- package/web/app/immutable/chunks/{LNZr9DCJ.js → DHSWOw-U.js} +1 -1
- package/web/app/immutable/chunks/{C6GJZLOP.js → DHbv9I-C.js} +1 -1
- package/web/app/immutable/chunks/{jG67l4Uo.js → DIDOx8hd.js} +2 -2
- package/web/app/immutable/chunks/{D_otNUZh.js → DJk5np0g.js} +1 -1
- package/web/app/immutable/chunks/{CBl7oWeN.js → DKHSbBis.js} +1 -1
- package/web/app/immutable/chunks/{D-ls8znw.js → DKIi_opT.js} +1 -1
- package/web/app/immutable/chunks/{5uDsFopc.js → DM4cCUDd.js} +1 -1
- package/web/app/immutable/chunks/{B6CxzJhM.js → DOEOrBL9.js} +1 -1
- package/web/app/immutable/chunks/{CyyqjEBc.js → DOMMuuHJ.js} +1 -1
- package/web/app/immutable/chunks/{kFRDyP-N.js → DPF9_zKV.js} +1 -1
- package/web/app/immutable/chunks/{C6jYe9up.js → DPLDRqMC.js} +1 -1
- package/web/app/immutable/chunks/{BO3WriTy.js → DPbnmxjX.js} +1 -1
- package/web/app/immutable/chunks/{CBtQnhwT.js → DPztwkUP.js} +1 -1
- package/web/app/immutable/chunks/{DinWeICM.js → DQGdnFBd.js} +1 -1
- package/web/app/immutable/chunks/{mdoDOmuU.js → DQmW4_9G.js} +1 -1
- package/web/app/immutable/chunks/{DzfHkSZF.js → DS5B84mn.js} +1 -1
- package/web/app/immutable/chunks/{P-zm4ktU.js → DSvyONiq.js} +1 -1
- package/web/app/immutable/chunks/{jaSHlZjt.js → DT8FaJbg.js} +1 -1
- package/web/app/immutable/chunks/{BIo9gpGl.js → DUT4xhYi.js} +1 -1
- package/web/app/immutable/chunks/{D6YX_GFv.js → DVok8lSR.js} +1 -1
- package/web/app/immutable/chunks/{CdvXSvOC.js → DX_ZPiRZ.js} +1 -1
- package/web/app/immutable/chunks/{BmEIQ8E-.js → DY-U3TFa.js} +1 -1
- package/web/app/immutable/chunks/{COUB9dHY.js → DYGC3eZn.js} +1 -1
- package/web/app/immutable/chunks/{Jcrj5YZi.js → DZEGFjPx.js} +1 -1
- package/web/app/immutable/chunks/{BrFnR1vI.js → DZbKPa1t.js} +1 -1
- package/web/app/immutable/chunks/{PCtwJJ25.js → D_xvUCUD.js} +1 -1
- package/web/app/immutable/chunks/{DoA3JmdK.js → DbSttgXv.js} +1 -1
- package/web/app/immutable/chunks/{3rxHCGTW.js → DcZr-m_l.js} +1 -1
- package/web/app/immutable/chunks/{DK-vph3Z.js → DdJ4cD_u.js} +1 -1
- package/web/app/immutable/chunks/{Dtveg46I.js → DeDQhZv5.js} +1 -1
- package/web/app/immutable/chunks/{pZsrsFnW.js → Deoe5X7L.js} +1 -1
- package/web/app/immutable/chunks/{B7ydANq7.js → Dfq_rEeO.js} +1 -1
- package/web/app/immutable/chunks/{BE5ZU7pI.js → DhW_HWBK.js} +1 -1
- package/web/app/immutable/chunks/{CYWgGrsf.js → Dh_eorhd.js} +1 -1
- package/web/app/immutable/chunks/{ChJ4msi3.js → Dhj-Oo-y.js} +1 -1
- package/web/app/immutable/chunks/{CBHXSekd.js → DiEy7mCR.js} +1 -1
- package/web/app/immutable/chunks/{F-NRzkEu.js → DiLFzwi3.js} +1 -1
- package/web/app/immutable/chunks/{BZSs3eKh.js → DiP5BH15.js} +1 -1
- package/web/app/immutable/chunks/{Bb_mQye1.js → Div7CQPf.js} +1 -1
- package/web/app/immutable/chunks/{DK3AlKip.js → DjBxG6q0.js} +3 -3
- package/web/app/immutable/chunks/{BifXEk-G.js → Dk0afiu6.js} +1 -1
- package/web/app/immutable/chunks/{CpV-ehZ5.js → DkYquFOp.js} +1 -1
- package/web/app/immutable/chunks/DmnStjtN.js +1 -0
- package/web/app/immutable/chunks/{DZBnfhEV.js → Dmy603At.js} +1 -1
- package/web/app/immutable/chunks/{DJuFWuFo.js → Dn7Cyi1s.js} +1 -1
- package/web/app/immutable/chunks/{CBRC7st2.js → Domj4ONg.js} +2 -2
- package/web/app/immutable/chunks/{CQxAYjD7.js → DpMsJtM0.js} +1 -1
- package/web/app/immutable/chunks/{kZanyiqf.js → DpSAF6fh.js} +1 -1
- package/web/app/immutable/chunks/{XyC5Phh7.js → DpgIqMGp.js} +1 -1
- package/web/app/immutable/chunks/{aToNeEMa.js → DqPe5uyz.js} +1 -1
- package/web/app/immutable/chunks/{DmQm2Dw6.js → DtEw_Okh.js} +1 -1
- package/web/app/immutable/chunks/{Di9CSB6H.js → DtYDlbcb.js} +1 -1
- package/web/app/immutable/chunks/{Bw0E8D92.js → Dv6PZjTW.js} +1 -1
- package/web/app/immutable/chunks/{yqs-hTyP.js → DvwOszqf.js} +1 -1
- package/web/app/immutable/chunks/{DTutiDCZ.js → DzTe1W0Z.js} +1 -1
- package/web/app/immutable/chunks/{CFtfWLBC.js → Dzl5aoA8.js} +1 -1
- package/web/app/immutable/chunks/{DyiA0AJU.js → DzsC5hAQ.js} +1 -1
- package/web/app/immutable/chunks/{Dv3EtVHJ.js → EmfdzzTF.js} +1 -1
- package/web/app/immutable/chunks/{K7F-rH-C.js → IB26d-_M.js} +4 -4
- package/web/app/immutable/chunks/{BL39LNxU.js → IdqO6uHC.js} +1 -1
- package/web/app/immutable/chunks/{B5bnHhgO.js → J9vGyyn3.js} +1 -1
- package/web/app/immutable/chunks/{a-OtAcF_.js → K0CA4l_-.js} +3 -3
- package/web/app/immutable/chunks/{DbCeN0Lt.js → KImhPY_I.js} +1 -1
- package/web/app/immutable/chunks/{DUXVcIKV.js → KS10KUQ4.js} +1 -1
- package/web/app/immutable/chunks/{DVcCnfZH.js → KaHKnBKn.js} +1 -1
- package/web/app/immutable/chunks/{C-nutp9J.js → L0PmMCK6.js} +1 -1
- package/web/app/immutable/chunks/{YbP7yBkb.js → LFlj1pUW.js} +1 -1
- package/web/app/immutable/chunks/{4r36FIB7.js → MujvTDgv.js} +1 -1
- package/web/app/immutable/chunks/{QjNLPDal.js → Mw2Z7eLx.js} +1 -1
- package/web/app/immutable/chunks/{DtBx3nLm.js → NEcXJ8Qo.js} +1 -1
- package/web/app/immutable/chunks/{CJZ6Gu1k.js → Ow3KARwj.js} +1 -1
- package/web/app/immutable/chunks/{CCEQVSjx.js → P27dN3C7.js} +1 -1
- package/web/app/immutable/chunks/{BK0rB8kZ.js → Pqx84Da9.js} +1 -1
- package/web/app/immutable/chunks/{8TUe2kcz.js → PtMxuYy8.js} +1 -1
- package/web/app/immutable/chunks/Q-Hp56ht.js +6 -0
- package/web/app/immutable/chunks/{zrdFYBgX.js → Qzhec1TY.js} +1 -1
- package/web/app/immutable/chunks/{Cr9glZDh.js → RyWl3sPF.js} +1 -1
- package/web/app/immutable/chunks/{BReER1n3.js → THm8CnE2.js} +1 -1
- package/web/app/immutable/chunks/{C-zY3GF-.js → UHs-xfbd.js} +1 -1
- package/web/app/immutable/chunks/{CqJcYBUx.js → UaQjBP_O.js} +1 -1
- package/web/app/immutable/chunks/{D0Ayz4Dm.js → Ug7t_gUQ.js} +1 -1
- package/web/app/immutable/chunks/{DXwcjaPR.js → Ydj2ePK_.js} +2 -2
- package/web/app/immutable/chunks/{1Wzdy1K8.js → YopO0YfH.js} +6 -6
- package/web/app/immutable/chunks/{DgiJ63hc.js → ZWIGjqdM.js} +3 -3
- package/web/app/immutable/chunks/{BQg4hK6W.js → Zg9SWWIQ.js} +1 -1
- package/web/app/immutable/chunks/{Cwvt_P5T.js → a0CN3en2.js} +1 -1
- package/web/app/immutable/chunks/{njprJ3WZ.js → aqQCGQpk.js} +1 -1
- package/web/app/immutable/chunks/{BYC0ucSR.js → bcfKuKQn.js} +1 -1
- package/web/app/immutable/chunks/{BHni5QqW.js → cP-p0FYL.js} +1 -1
- package/web/app/immutable/chunks/{DMqmqAT4.js → dIyiVmNx.js} +1 -1
- package/web/app/immutable/chunks/{DcNvIFJV.js → ebxZ5PPm.js} +1 -1
- package/web/app/immutable/chunks/{DVNEvaXi.js → fFnyP4ej.js} +1 -1
- package/web/app/immutable/chunks/{eZSKfAFO.js → gY6D1J3N.js} +1 -1
- package/web/app/immutable/chunks/{B9-EoZ1p.js → iNDSBgu7.js} +1 -1
- package/web/app/immutable/chunks/{BLYFfqzj.js → jUAybD8G.js} +1 -1
- package/web/app/immutable/chunks/{ChGLvrw4.js → kZL4nf_J.js} +4 -4
- package/web/app/immutable/chunks/{B0O5mhBM.js → mnnjJoDI.js} +1 -1
- package/web/app/immutable/chunks/{DyT0mOdr.js → my69Ox9w.js} +4 -4
- package/web/app/immutable/chunks/{DQAJLaJ3.js → nHwpsxWy.js} +1 -1
- package/web/app/immutable/chunks/{Dqtmunn7.js → pIjvEfMB.js} +5 -5
- package/web/app/immutable/chunks/{BY16_RoT.js → q9cUG1dc.js} +1 -1
- package/web/app/immutable/chunks/{DRPKvmfX.js → qg2KHuAY.js} +1 -1
- package/web/app/immutable/chunks/{D1HPSWvP.js → qyBT4DY2.js} +1 -1
- package/web/app/immutable/chunks/{Cn8hCY5y.js → rCkv5VsR.js} +2 -2
- package/web/app/immutable/chunks/{hK5d1dQ0.js → rHK6sLv4.js} +1 -1
- package/web/app/immutable/chunks/{BevEoYEw.js → sEj9k2KM.js} +1 -1
- package/web/app/immutable/chunks/{qkmjEtXH.js → sZBOVpM6.js} +3 -3
- package/web/app/immutable/chunks/{CyaIe0jD.js → tGL9OSFf.js} +1 -1
- package/web/app/immutable/chunks/{mF8ZdCMN.js → thdnIk1K.js} +1 -1
- package/web/app/immutable/chunks/{t4bVJhrn.js → ucKP4cAm.js} +4 -4
- package/web/app/immutable/chunks/{BBiqqybB.js → wfSdTH77.js} +1 -1
- package/web/app/immutable/chunks/{Ilt_8E2i.js → x8bssjcx.js} +1 -1
- package/web/app/immutable/chunks/{Cin575hV.js → xFC1lhKl.js} +1 -1
- package/web/app/immutable/chunks/{Bl8fHOk-.js → xIoxAtek.js} +1 -1
- package/web/app/immutable/chunks/{DCTwUEO7.js → xJBWkpxc.js} +1 -1
- package/web/app/immutable/chunks/{DkkEizQf.js → zzl2tBQf.js} +1 -1
- package/web/app/immutable/entry/{app.B-3yrq60.js → app.YY31OTuo.js} +3 -3
- package/web/app/immutable/entry/start.DBl7cnaM.js +1 -0
- package/web/app/immutable/nodes/{0.Dr7z-ndg.js → 0.I2U7Nyeq.js} +1 -1
- package/web/app/immutable/nodes/{1.DszvgcVt.js → 1.CgZVKAf9.js} +1 -1
- package/web/app/immutable/nodes/{10.mpjVYgcT.js → 10.CsryZO2H.js} +5 -5
- package/web/app/immutable/nodes/{11.d9OIWvmS.js → 11.BTowiakT.js} +1 -1
- package/web/app/immutable/nodes/{12.hNKUSgvY.js → 12.S6PrlAwz.js} +1 -1
- package/web/app/immutable/nodes/{13.NTcuwB8X.js → 13.Bs_o-uwb.js} +1 -1
- package/web/app/immutable/nodes/{14.C4hEzDzc.js → 14.CIZDoMeA.js} +3 -3
- package/web/app/immutable/nodes/{15.BGv16BME.js → 15.CzU59iiE.js} +1 -1
- package/web/app/immutable/nodes/{16.BLKEYdtz.js → 16.BgJmXimX.js} +1 -1
- package/web/app/immutable/nodes/{17.Cw1VnAlL.js → 17.BWRlIYI7.js} +1 -1
- package/web/app/immutable/nodes/{18.BC2tc74_.js → 18.BV2orlA1.js} +1 -1
- package/web/app/immutable/nodes/{19.BLf_cCOa.js → 19.vtvcgUzO.js} +2 -2
- package/web/app/immutable/nodes/{2.DT49t-u_.js → 2.xEZtPl1l.js} +4 -4
- package/web/app/immutable/nodes/{20.CAN0HPlm.js → 20.DLg8hCzP.js} +1 -1
- package/web/app/immutable/nodes/{3.CHLlivF3.js → 3.hyVEcKKo.js} +1 -1
- package/web/app/immutable/nodes/{4.D2tKSs2v.js → 4.CdWgO8Xv.js} +1 -1
- package/web/app/immutable/nodes/{5.B9Lx7aa1.js → 5.BhLUauX8.js} +1 -1
- package/web/app/immutable/nodes/{6.BXEdmXk5.js → 6.B3Vi01S1.js} +1 -1
- package/web/app/immutable/nodes/{7.Cg1blkaN.js → 7.DW7p588B.js} +1 -1
- package/web/app/immutable/nodes/{8.B5g4h2T5.js → 8.Bt8gdMyu.js} +1 -1
- package/web/app/immutable/nodes/{9.CQeYWw6-.js → 9.BSZ1-MKZ.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/B6sO6A0G.js +0 -1
- package/web/app/immutable/chunks/BSev9KPj.js +0 -1
- package/web/app/immutable/chunks/Bv8Gaorn.js +0 -1
- package/web/app/immutable/chunks/CAEqRKhy.js +0 -1
- package/web/app/immutable/chunks/Dr4PDf9D.js +0 -6
- package/web/app/immutable/chunks/EZ4dI6hS.js +0 -177
- package/web/app/immutable/entry/start.DZZRsHd3.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var I1=Object.defineProperty;var js=t=>{throw TypeError(t)};var z1=(t,e,r)=>e in t?I1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var le=(t,e,r)=>z1(t,typeof e!="symbol"?e+"":e,r),R1=(t,e,r)=>e.has(t)||js("Cannot "+r);var Vs=(t,e,r)=>e.has(t)?js("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var tn=(t,e,r)=>(R1(t,e,"access private method"),r);import{cR as mr,b5 as D1,dI as Xl,a7 as _n,a5 as Ia,a6 as N1,a4 as P1,aa as _1,am as L1,a1 as O1,e9 as $1,X as B1,bn as Yl,cU as qr,dH as Zl,b4 as q1,b8 as F1,cC as H1,cS as U1,cn as W1,dC as si,e1 as G1,dW as j1,aK as X0,ax as V1,aF as _i,dG as Ql,dT as K1,ed as Jl,ec as X1}from"./CpV-ehZ5.js";import{D as Ks,b4 as Y1,be as Z1,aC as Q1}from"./kuwy0JZA.js";import{M as J1,G as hn,I as eh}from"./Bqd7fdCF.js";import{zm as y0,Jr as E,nX as ve,nW as xe,aT as th,m as ec,I as De,bq as gn,kd as Li,md as w0,aq as Kt,mc as Xs,mm as Ys,mj as Zs,jM as tc,gz as oi,HP as rh,tH as nh,AP as ah,o_ as ih,n0 as k0,Cn as sh,iM as oh,mw as lh,m7 as ch}from"./NgEAPl8f.js";import{bm as ie}from"./Bv8Gaorn.js";import{l as rt}from"./C44hzh9R.js";import{m as uh,f as Tr}from"./Dr4PDf9D.js";import{a as vn}from"./BdWqymET.js";import{o as pe,r as Vt,e as bn,s as V,_ as Je,l as yn,g as hh,n as Le,c as hr,b as Ve,u as dh,d as ph}from"./CIyUrgF0.js";import{j as rc}from"./uXuxG9cN.js";import{u as mh}from"./iwQqOlmN.js";import{selectActiveWorkspaceIds as fh}from"./-18XT1CI.js";import{i as je}from"./CL3a4Hm1.js";import{l as za,c as Oi}from"./ChTqQfQN.js";import"./5uDsFopc.js";import{e as gh,h as Er}from"./DONrLvvt.js";import{h as wn}from"./CSbK1_CV.js";import{i as Qs}from"./BBWuirRW.js";import{f as $i,o as nc,p as ac,h as vh,m as ic,i as bh,k as yh}from"./qPYbzgcC.js";const Ze=[];for(let t=0;t<256;++t)Ze.push((t+256).toString(16).slice(1));function wh(t,e=0){return(Ze[t[e+0]]+Ze[t[e+1]]+Ze[t[e+2]]+Ze[t[e+3]]+"-"+Ze[t[e+4]]+Ze[t[e+5]]+"-"+Ze[t[e+6]]+Ze[t[e+7]]+"-"+Ze[t[e+8]]+Ze[t[e+9]]+"-"+Ze[t[e+10]]+Ze[t[e+11]]+Ze[t[e+12]]+Ze[t[e+13]]+Ze[t[e+14]]+Ze[t[e+15]]).toLowerCase()}const kh=new Uint8Array(16);function xh(){return crypto.getRandomValues(kh)}function Bi(t,e,r){return crypto.randomUUID?crypto.randomUUID():Sh(t)}function Sh(t,e,r){t=t||{};const n=t.random??t.rng?.()??xh();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,wh(n)}function qi(t,e){if(t.repositoryIdentity===null)return null;if(t.repositoryIdentity){const{provider:a,instanceBaseUrl:i,projectPath:s}=t.repositoryIdentity,o=qi({...t,repositoryIdentity:void 0,githubUrl:`${i}/${s}`},a==="gitlab"?i:void 0);return o?.provider===a?o:null}const r=t.githubUrl;if(!r)return null;const n=/^(?:https:\/\/github\.com\/|git@github\.com:)([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?\/?$/i.exec(r);return n&&!n.slice(1).some(a=>a==="."||a==="..")?{provider:"github",instanceBaseUrl:"https://github.com",projectPath:`${n[1]}/${n[2]}`}:e?J1(r.replace(/\.git\/?$/,""),e):null}function m3(t,e){return t.type==="local"?t.plainFolder?"folder":"local":qi(t,e)?.provider==="gitlab"?"gitlab":"github"}function sc(t){const e=t.split(/[\\/]/).filter(Boolean);return e[e.length-1]??""}function f3(t){if(t.type!=="local")return{ownerPrefix:t.owner,primary:t.name};const e=sc(t.path)||t.name,r=t.owner?`${t.owner}/${t.name}`:void 0;return{primary:e,suffix:r}}function g3(t){return t.type==="local"&&t.path?t.path:void 0}const Ah=["/.clones/","/.repo-cache/"];function v3(t){const e=t.replaceAll("\\","/");return Ah.some(r=>e.includes(r))}function b3(t){const e=new Set;for(const r of t){const{repositoryPath:n,worktreePath:a}=r;n&&a&&n===a&&e.add(n)}return e}function Th(t){return t.includes("\\")||t.includes(":")||t.startsWith("/")?void 0:/^([^/]+)\/[^/]+$/.exec(t)?.[1]}function y3(t,e){const{selectedValue:r,selectedRepoType:n,confirmedGithubUrl:a}=t;if(!(n!=="github"||!r)){if(a){const i=e(a)?.owner;if(i)return i}return e(r)?.owner??Th(r)}}function w3(t,e){const r=e.trim().toLowerCase();return r===""?!0:[t.name,t.path,sc(t.path),t.owner,t.owner?`${t.owner}/${t.name}`:void 0].some(a=>a?.toLowerCase().includes(r)??!1)}const Eh="known-repos",Ch=6e4;function Mh({saved:t,source:e,dismissed:r,mode:n}){if(!e)return[...t];const a=new Map;if(n==="all")for(const s of[...e.repos,...t]){const o=y0(s);a.has(o)||a.set(o,s)}else{for(const s of t)a.set(y0(s),s);for(const s of e.repos)a.set(y0(s),s)}const i=[...a.values()].filter(s=>!r[y0(s)]);return n==="all"?i:i.slice(0,9)}function k3(t){const e=t.lastUsedAt?Date.parse(t.lastUsedAt):NaN;return Number.isFinite(e)?e:0}function x3({visible:t,admission:e,entry:r,readyAt:n,now:a}){return!t||!e?"skip":!r||r.admission!==e?"load":r.status==="pending"?"reuse":r.status==="ready"&&n?.requestId===r.requestId&&a-n.at<Ch?"skip":"load"}function S3(t,e){if(t.type==="local")return t.plainFolder?{repoPath:t.path,plainFolder:!0}:{repoPath:t.path};const r=qi(t,e);return r?.provider==="gitlab"?{repositoryCheckoutDraft:{instanceBaseUrl:r.instanceBaseUrl,projectPath:r.projectPath}}:r?{githubUrl:`https://github.com/${r.projectPath}`,exactRemote:!0}:{githubUrl:t.githubUrl||`https://github.com/${t.path}`,exactRemote:!0}}function Ih({compactFormState:t,lastSubmittedAgent:e,specialists:r,orchestratorId:n}){if(t?.isTeamMode??e?.isTeamMode??!1)return n;const i=o=>r.some(c=>c.id===o),s=t?.selectedSpecialist!==void 0?t.selectedSpecialist:e?.selectedSpecialist!==void 0?e.selectedSpecialist:i(Ks)?Ks:null;return s===null||!i(s)?null:s}const A3=E.createSelector(t=>t.workspaceInitializer.hydrated),T3=E.createSelector(t=>t.workspaceInitializer.compactFormState),E3=E.createSelector(t=>t.workspaceInitializer.onboardingFormState),C3=E.createSelector(t=>t.workspaceInitializer.lastSelectedRepo),M3=E.createSelector(t=>t.workspaceInitializer.branchByRepo),I3=E.createSelector(t=>t.workspaceInitializer.defaultParentPath),z3=E.createSelector(t=>ve(t.workspaceInitializer.recentRepos)),R3=E.createSelector((t,e)=>xe(t.workspaceInitializer.recentRepoRefreshes,e)),D3=E.createSelector((t,e)=>xe(t.workspaceInitializer.directoryStatusChecks,e)),N3=E.createSelector(t=>t.workspaceInitializer.dismissedRecentRepoKeys),P3=E.createSelector(t=>ve(t.workspaceInitializer.remoteSetups)),_3=E.createSelector(t=>t.workspaceInitializer.lastSubmittedAgent),L3=E.createSelector(t=>t.workspaceInitializer.agentByRepo),O3=E.createSelector(t=>t.workspaceInitializer.recentSpecialistIds),$3=E.createSelector((t,e)=>t.workspaceInitializer.agentByRepo[e]??null),B3=E.createSelector(t=>t.workspaceInitializer.pendingGitHubPrefill),q3=E.createSelector((t,e)=>({restore:xe(t.workspaceInitializer.draftRestores,e),clear:xe(t.workspaceInitializer.draftClears,e)})),F3=E.createSelector((t,e,r)=>{const n=xe(t.workspaceInitializer.initializationOutcomes,e);return n?.resourceId===r?n:void 0}),H3=E.createSelector((t,e)=>xe(t.workspaceInitializer.initializationOutcomes,e)),U3=E.createSelector((t,e)=>xe(t.workspaceInitializer.initializationResumes,e)),W3=E.createSelector(t=>Ih({compactFormState:t.workspaceInitializer.compactFormState,lastSubmittedAgent:t.workspaceInitializer.lastSubmittedAgent,specialists:Z1.select(t),orchestratorId:Y1.select(t)?.id??null})),zh=E.createSelector(t=>{const e=t.workspaceInitializer.gitCheckRequest,r=mr.select(t);return e&&r&&D1.select(t)?JSON.stringify([r,e]):null}),G3=E.createSelector(t=>{const e=zh.select(t),r=t.workspaceInitializer.gitCheck;return e&&r?.context===e?r.available:null}),Rh=E.createSelector(t=>{const e=xe(t.workspaceInitializer.recentRepoRefreshes,Eh),r=mr.select(t);return Mh({saved:ve(t.workspaceInitializer.recentRepos),source:e&&r&&e.admission===r?e:null,dismissed:t.workspaceInitializer.dismissedRecentRepoKeys,mode:"all"})}),j3=E.createSelector(t=>Xl.select(t)?Rh.select(t):[]),V3=E.createSelector(t=>Q1.select(t)||void 0),Js="workspace-debug-flags",x0={enableCreationAnimation:!0,animationDuration:300,enablePageTransitions:!0,enableComponentTransitions:!0,showDebugInfo:!1,showPerformanceMetrics:!1,logStateChanges:!1,enableAutofocus:!0,enableBranchCaching:!0,enableFormPersistence:!0,simulateSlowNetwork:!1,simulateErrors:!1,networkDelay:0};class Dh{constructor(){le(this,"flags");le(this,"listeners",new Set);this.flags=this.loadFlags()}loadFlags(){if(typeof localStorage>"u")return x0;try{const e=localStorage.getItem(Js);if(e)return{...x0,...JSON.parse(e)}}catch(e){za.error("Failed to load debug flags:",e)}return x0}saveFlags(){if(!(typeof localStorage>"u")){try{localStorage.setItem(Js,JSON.stringify(this.flags))}catch(e){za.error("Failed to save debug flags:",e)}this.listeners.forEach(e=>e(this.flags))}}get(e){return this.flags[e]}set(e,r){this.flags[e]=r,this.saveFlags()}toggle(e){typeof this.flags[e]=="boolean"&&(this.flags[e]=!this.flags[e],this.saveFlags())}reset(){this.flags={...x0},this.saveFlags()}getAll(){return{...this.flags}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}toggleDebugPanel(){this.toggle("showDebugInfo"),za.info("Debug panel:",this.flags.showDebugInfo?"ON":"OFF")}async simulateDelay(e){return this.flags.simulateSlowNetwork&&this.flags.networkDelay>0&&await new Promise(r=>setTimeout(r,this.flags.networkDelay)),e}}const Ra=new Dh;function K3(t){if(!t)return"";let e=t;return e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(/(?<!\*)\*(?!\*)(.+?)(?<!\*)\*(?!\*)/g,"$1"),e=e.replace(/(?<!_)_(?!_)(.+?)(?<!_)_(?!_)/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/\[([^\]]+)\]\([^)]+\)/g,"$1"),e=e.replace(/^#{1,6}\s+/gm,""),e=e.replace(/^\*+\s*/gm,""),e=e.replace(/\s*\*+$/gm,""),e.trim()}function Nh(t){return t.charAt(0).toUpperCase()+t.slice(1)}function X3(t){if(!t||t.trim().length===0)return ie.workspace_sidebarHeader_branchEmpty_error();if(/[\s~^:\\?*\[\\]/.test(t))return ie.workspace_sidebarHeader_branchInvalidChars_error();if(t.includes("@{"))return ie.workspace_sidebarChanges_branchAtBrace_error({seq:"@{"});if(t==="@")return ie.workspace_sidebarChanges_branchAt_error({symbol:"@"});if(t.startsWith("."))return ie.workspace_sidebarHeader_branchStartsDot_error();if(t.endsWith(".lock"))return ie.workspace_sidebarHeader_branchEndsLock_error();if(t.includes(".."))return ie.workspace_sidebarHeader_branchDoubleDot_error();if(t.startsWith("/")||t.endsWith("/"))return ie.workspace_sidebarHeader_branchSlashEnds_error();if(t.includes("//"))return ie.workspace_sidebarHeader_branchDoubleSlash_error();if(t.startsWith("-"))return ie.workspace_sidebarHeader_branchStartsDash_error();if(t.endsWith("."))return ie.workspace_sidebarChanges_branchEndsPeriod_error();const e=t.split("/");for(const r of e){if(r.startsWith("."))return ie.workspace_sidebarChanges_branchComponentStartsDot_error();if(r.endsWith(".lock"))return ie.workspace_sidebarChanges_branchComponentEndsLock_error()}if(t.length>250)return ie.workspace_sidebarHeader_branchTooLong_error()}function Y3(t,e,r,n){return e&&r?`https://github.com/${e}/${r}/pull/${t}`:n||""}function li(t){return t==="Open"?"open":t==="Merged"?"merged":t==="Draft"?"draft":"closed"}function Z3(t,e){return`${e}:${t.agentId??"manual"}`}function Ph(t,e){if(t.length===0||e>=t.length)return 0;const r=Math.max(0,e);let n=0;for(let a=r;a<t.length;a++)t[a].isPushed||n++;return n}function _h(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed&&n++;return n}function Lh(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed||n++;return n}function Q3(t,e,r,n){const a=Ph(t,e),i=n?` (origin/${n})`:"";return r?a===1?ie.workspace_sidebarChanges_addToPr_one({suffix:i}):ie.workspace_sidebarChanges_addToPr_many({count:rt(a),suffix:i}):a===1?ie.workspace_sidebarChanges_pushToRemote_one({suffix:i}):ie.workspace_sidebarChanges_pushToRemote_many({count:rt(a),suffix:i})}function J3(t,e,r){const n=_h(t,e),a=r?` (origin/${r})`:"";return n===1?ie.workspace_sidebarChanges_undoPush_one({suffix:a}):ie.workspace_sidebarChanges_undoPush_many({count:rt(n),suffix:a})}function e6(t,e){const r=Lh(t,e);return r===1?ie.workspace_sidebarChanges_undoCommit_one():ie.workspace_sidebarChanges_undoCommit_many({count:rt(r)})}function t6(t,e){return e===0&&t.length>0}function r6(t,e,r,n){return!r||n==null?!1:t===r&&e===n}function n6(t,e,r){const n=`${e?"staged":"unstaged"}:${t}`;return r.has(n)}function a6(t,e,r){return r?.path===t&&r?.staged===e}function i6(t){if(t.length===0)return[];const e=new Map,r=[...t].sort((n,a)=>n.timestamp-a.timestamp);for(const n of r)for(const a of n.files??[]){const i=e.get(a.path);i?e.set(a.path,{additions:i.additions+(a.additions||0),deletions:i.deletions+(a.deletions||0)}):e.set(a.path,{additions:a.additions||0,deletions:a.deletions||0})}return Array.from(e.entries()).map(([n,a])=>({path:n,additions:a.additions,deletions:a.deletions,staged:!1}))}function s6(t,e,r){const n=new Set;let a=0,i=0;for(const s of t)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of e)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of r)for(const o of s.files||[])n.add(o.path),a+=o.additions||0,i+=o.deletions||0;return{totalFilesChanged:n.size,totalAdditions:a,totalDeletions:i}}function Oh(t){const e=t?.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+)\/pull\/\d+/i);return e?`${e[1]}/${e[2]}`:void 0}function o6(t,e,r,n,a){if(t&&t.length>0){const i=a?.split("/")[0];return t.map(s=>{const o=s.url||r(s.number),c=Oh(s.url),h=c!==void 0&&c.toLowerCase()!==a?.toLowerCase()?c:void 0;return{number:s.number,title:n(s),url:o,htmlUrl:o,status:li(s.status),createdAt:s.createdAt,updatedAt:s.updatedAt,isInMergeQueue:s.isDraft?void 0:s.isInMergeQueue,crossRepo:h,crossRepoDisplay:h?Fi(h,i):void 0}})}return e?[{number:e.number,title:n(e),url:r(e.number,e.url),htmlUrl:r(e.number,e.url),status:li(e.status),createdAt:e.createdAt,updatedAt:e.updatedAt,isInMergeQueue:e.isDraft?void 0:e.isInMergeQueue}]:[]}function l6(t){const{prNumber:e,prUrl:r}=t;return e==null||!r?null:{id:`legacy-pr-${e}`,number:e,url:r,title:"",status:t.prStatus??th.Open,createdAt:t.updatedAt,updatedAt:t.updatedAt}}function $h(t){const e=t.lastSnapshot?.state?.toLowerCase();return e==="merged"?"merged":e==="closed"?"closed":t.lastSnapshot?.isDraft?"draft":t.state==="completed"?"closed":"open"}function Da(t,e,r){if(e.length===0)return t;const n=r?.split("/")[0],a=t.map(i=>({...i}));for(const i of e){const s=!i.resource&&!i.monitorAvailability&&(!r||i.repo===r),o=_n(i),c=o.toLowerCase(),h=a.find(d=>!!o&&d.url.toLowerCase()===c||(i.resource||i.monitorAvailability?d.monitorIdentity===Ia(i):!d.resource&&!d.monitorAvailability&&(s?!d.crossRepo&&d.number===i.prNumber:d.crossRepo===i.repo&&d.number===i.prNumber)));if(h){h.monitorAgentId=i.agentId,h.resource=i.resource,h.monitorAvailability=i.monitorAvailability,h.monitorIdentity=i.resource||i.monitorAvailability?Ia(i):void 0,h.monitorSnapshot=i.lastSnapshot??h.monitorSnapshot;continue}a.push({number:i.prNumber,title:i.title??`${i.repo}${N1(i,i.prNumber)}`,resource:i.resource,monitorAvailability:i.monitorAvailability,monitorIdentity:i.resource||i.monitorAvailability?Ia(i):void 0,url:o,htmlUrl:o,status:$h(i),createdAt:i.createdAt,updatedAt:i.updatedAt,monitorAgentId:i.agentId,crossRepo:s?void 0:i.repo,crossRepoDisplay:s?void 0:Fi(i.repo,n),monitorSnapshot:i.lastSnapshot,monitorOnly:!0})}return a}function Fi(t,e){return e&&t.toLowerCase().startsWith(`${e.toLowerCase()}/`)?t.slice(e.length+1):t}function c6(t,e,r,n,a){const i=r?.toLowerCase(),s=new Set;for(const k of n)k.repoOwner&&k.repoName&&s.add(`${k.repoOwner}/${k.repoName}`.toLowerCase());let o=t;const c=[],h=[];if(t.some(k=>k.crossRepo)){o=[];for(const k of t)k.crossRepo?s.has(k.crossRepo.toLowerCase())?c.push(k):h.push(k):o.push(k)}const d=[],v=[],m=[];for(const k of e){const I=k.repo.toLowerCase();_n(k)&&o.some(R=>R.url===_n(k))||!k.resource&&!k.monitorAvailability&&(!i||I===i)?d.push(k):_n(k)&&c.some(R=>R.url===_n(k))||!k.resource&&!k.monitorAvailability&&s.has(I)?v.push(k):m.push(k)}const w=Da(o,d,r),A=r?.split("/")[0],C=new Set([...w,...c,...h].map(k=>`${(k.crossRepo??r??"").toLowerCase()}#${k.number}`)),M=[...c];for(const k of n){if(!k.repoOwner||!k.repoName)continue;const I=`${k.repoOwner}/${k.repoName}`;for(const R of k.pullRequests??[]){const Z=`${I.toLowerCase()}#${R.number}`;if(C.has(Z))continue;C.add(Z);const K=R.url||`https://github.com/${I}/pull/${R.number}`,ee=i!==void 0&&I.toLowerCase()===i;M.push({number:R.number,title:a(R),url:K,htmlUrl:K,status:li(R.status),createdAt:R.createdAt,updatedAt:R.updatedAt,crossRepo:ee?void 0:I,crossRepoDisplay:ee?void 0:Fi(I,A)})}}return{own:w,otherRoots:Da(M,v,r),otherTracked:Da(h,m,r)}}function eo(t){return t.status!=="open"?!1:t.monitorSnapshot?t.monitorSnapshot.isInMergeQueue===!0:t.isInMergeQueue===!0}function u6(t){const e=t.status==="merged"?ie.workspace_prSection_merged_label():t.status==="closed"?ie.workspace_prSection_closed_label():t.status==="draft"?ie.workspace_prSection_statusDraft_label():eo(t)?ie.workspace_prSection_statusQueued_label():ie.workspace_prSection_statusOpen_label(),r=[P1(t)??e],n=eo(t)?uh(t.monitorSnapshot?.mergeQueue):null;n&&r.push(n);const a=t.status==="merged"||t.status==="closed"?void 0:t.monitorSnapshot;return a&&(a.checks.total===null||a.checks.passed===null||a.checks.failed===null||a.checks.pending===null||a.availability&&a.availability.checks!=="available"?r.push(ie.chat_monitoredPrs_hover_checksUnknown_label()):a.checks.total>0&&r.push(ie.workspace_prSection_statusChecks_tooltip({passed:rt(a.checks.passed),failed:rt(a.checks.failed),pending:rt(a.checks.pending)})),r.push(a.approvals.have===null||a.availability&&a.availability.approvals!=="available"?ie.chat_monitoredPrs_hover_approvalsUnknown_label():a.approvals.needed!=null?ie.workspace_prSection_statusApprovalsOfNeeded_tooltip({count:rt(a.approvals.have),needed:rt(a.approvals.needed)}):ie.workspace_prSection_statusApprovals_tooltip({count:rt(a.approvals.have)})),a.approvals.changesRequested!==null&&a.approvals.changesRequested>0&&r.push(ie.workspace_prSection_statusChangesRequested_tooltip({count:rt(a.approvals.changesRequested)})),a.availability&&a.availability.discussions!=="available"?r.push(ie.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()):typeof a.threads.unresolved=="number"?a.threads.unresolved>0&&r.push(ie.workspace_prSection_statusUnresolvedThreads_tooltip({count:rt(a.threads.unresolved)})):a.threads.resolutionRequired&&r.push(ie.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()),a.mergeBlockedReason&&r.push(Nh(a.mergeBlockedReason))),r.join(`
|
|
1
|
+
var I1=Object.defineProperty;var js=t=>{throw TypeError(t)};var z1=(t,e,r)=>e in t?I1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var le=(t,e,r)=>z1(t,typeof e!="symbol"?e+"":e,r),R1=(t,e,r)=>e.has(t)||js("Cannot "+r);var Vs=(t,e,r)=>e.has(t)?js("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var tn=(t,e,r)=>(R1(t,e,"access private method"),r);import{cR as mr,b5 as D1,dI as Xl,a7 as _n,a5 as Ia,a6 as N1,a4 as P1,aa as _1,am as L1,a1 as O1,e9 as $1,X as B1,bn as Yl,cU as qr,dH as Zl,b4 as q1,b8 as F1,cC as H1,cS as U1,cn as W1,dC as si,e1 as G1,dW as j1,aK as X0,ax as V1,aF as _i,dG as Ql,dT as K1,ed as Jl,ec as X1}from"./DkYquFOp.js";import{D as Ks,b4 as Y1,be as Z1,aC as Q1}from"./C_0xgdqY.js";import{M as J1,G as hn,I as eh}from"./Bqd7fdCF.js";import{zm as y0,Jr as E,nX as ve,nW as xe,aT as th,m as ec,I as De,bq as gn,kd as Li,md as w0,aq as Kt,mc as Xs,mm as Ys,mj as Zs,jM as tc,gz as oi,HP as rh,tH as nh,AP as ah,o_ as ih,n0 as k0,Cn as sh,iM as oh,mw as lh,m7 as ch}from"./BPo1GPk4.js";import{bm as ie}from"./1KDVFF23.js";import{l as rt}from"./CntPxeXh.js";import{m as uh,f as Tr}from"./Q-Hp56ht.js";import{a as vn}from"./BdWqymET.js";import{o as pe,r as Vt,e as bn,s as V,_ as Je,l as yn,g as hh,n as Le,c as hr,b as Ve,u as dh,d as ph}from"./CIyUrgF0.js";import{j as rc}from"./uXuxG9cN.js";import{u as mh}from"./C7Ibt0hX.js";import{selectActiveWorkspaceIds as fh}from"./BblwdMxR.js";import{i as je}from"./CL3a4Hm1.js";import{l as za,c as Oi}from"./ChTqQfQN.js";import"./DM4cCUDd.js";import{e as gh,h as Er}from"./DONrLvvt.js";import{h as wn}from"./BpT_ybtH.js";import{i as Qs}from"./BBWuirRW.js";import{f as $i,o as nc,p as ac,h as vh,m as ic,i as bh,k as yh}from"./CMgAi196.js";const Ze=[];for(let t=0;t<256;++t)Ze.push((t+256).toString(16).slice(1));function wh(t,e=0){return(Ze[t[e+0]]+Ze[t[e+1]]+Ze[t[e+2]]+Ze[t[e+3]]+"-"+Ze[t[e+4]]+Ze[t[e+5]]+"-"+Ze[t[e+6]]+Ze[t[e+7]]+"-"+Ze[t[e+8]]+Ze[t[e+9]]+"-"+Ze[t[e+10]]+Ze[t[e+11]]+Ze[t[e+12]]+Ze[t[e+13]]+Ze[t[e+14]]+Ze[t[e+15]]).toLowerCase()}const kh=new Uint8Array(16);function xh(){return crypto.getRandomValues(kh)}function Bi(t,e,r){return crypto.randomUUID?crypto.randomUUID():Sh(t)}function Sh(t,e,r){t=t||{};const n=t.random??t.rng?.()??xh();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,wh(n)}function qi(t,e){if(t.repositoryIdentity===null)return null;if(t.repositoryIdentity){const{provider:a,instanceBaseUrl:i,projectPath:s}=t.repositoryIdentity,o=qi({...t,repositoryIdentity:void 0,githubUrl:`${i}/${s}`},a==="gitlab"?i:void 0);return o?.provider===a?o:null}const r=t.githubUrl;if(!r)return null;const n=/^(?:https:\/\/github\.com\/|git@github\.com:)([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?\/?$/i.exec(r);return n&&!n.slice(1).some(a=>a==="."||a==="..")?{provider:"github",instanceBaseUrl:"https://github.com",projectPath:`${n[1]}/${n[2]}`}:e?J1(r.replace(/\.git\/?$/,""),e):null}function m3(t,e){return t.type==="local"?t.plainFolder?"folder":"local":qi(t,e)?.provider==="gitlab"?"gitlab":"github"}function sc(t){const e=t.split(/[\\/]/).filter(Boolean);return e[e.length-1]??""}function f3(t){if(t.type!=="local")return{ownerPrefix:t.owner,primary:t.name};const e=sc(t.path)||t.name,r=t.owner?`${t.owner}/${t.name}`:void 0;return{primary:e,suffix:r}}function g3(t){return t.type==="local"&&t.path?t.path:void 0}const Ah=["/.clones/","/.repo-cache/"];function v3(t){const e=t.replaceAll("\\","/");return Ah.some(r=>e.includes(r))}function b3(t){const e=new Set;for(const r of t){const{repositoryPath:n,worktreePath:a}=r;n&&a&&n===a&&e.add(n)}return e}function Th(t){return t.includes("\\")||t.includes(":")||t.startsWith("/")?void 0:/^([^/]+)\/[^/]+$/.exec(t)?.[1]}function y3(t,e){const{selectedValue:r,selectedRepoType:n,confirmedGithubUrl:a}=t;if(!(n!=="github"||!r)){if(a){const i=e(a)?.owner;if(i)return i}return e(r)?.owner??Th(r)}}function w3(t,e){const r=e.trim().toLowerCase();return r===""?!0:[t.name,t.path,sc(t.path),t.owner,t.owner?`${t.owner}/${t.name}`:void 0].some(a=>a?.toLowerCase().includes(r)??!1)}const Eh="known-repos",Ch=6e4;function Mh({saved:t,source:e,dismissed:r,mode:n}){if(!e)return[...t];const a=new Map;if(n==="all")for(const s of[...e.repos,...t]){const o=y0(s);a.has(o)||a.set(o,s)}else{for(const s of t)a.set(y0(s),s);for(const s of e.repos)a.set(y0(s),s)}const i=[...a.values()].filter(s=>!r[y0(s)]);return n==="all"?i:i.slice(0,9)}function k3(t){const e=t.lastUsedAt?Date.parse(t.lastUsedAt):NaN;return Number.isFinite(e)?e:0}function x3({visible:t,admission:e,entry:r,readyAt:n,now:a}){return!t||!e?"skip":!r||r.admission!==e?"load":r.status==="pending"?"reuse":r.status==="ready"&&n?.requestId===r.requestId&&a-n.at<Ch?"skip":"load"}function S3(t,e){if(t.type==="local")return t.plainFolder?{repoPath:t.path,plainFolder:!0}:{repoPath:t.path};const r=qi(t,e);return r?.provider==="gitlab"?{repositoryCheckoutDraft:{instanceBaseUrl:r.instanceBaseUrl,projectPath:r.projectPath}}:r?{githubUrl:`https://github.com/${r.projectPath}`,exactRemote:!0}:{githubUrl:t.githubUrl||`https://github.com/${t.path}`,exactRemote:!0}}function Ih({compactFormState:t,lastSubmittedAgent:e,specialists:r,orchestratorId:n}){if(t?.isTeamMode??e?.isTeamMode??!1)return n;const i=o=>r.some(c=>c.id===o),s=t?.selectedSpecialist!==void 0?t.selectedSpecialist:e?.selectedSpecialist!==void 0?e.selectedSpecialist:i(Ks)?Ks:null;return s===null||!i(s)?null:s}const A3=E.createSelector(t=>t.workspaceInitializer.hydrated),T3=E.createSelector(t=>t.workspaceInitializer.compactFormState),E3=E.createSelector(t=>t.workspaceInitializer.onboardingFormState),C3=E.createSelector(t=>t.workspaceInitializer.lastSelectedRepo),M3=E.createSelector(t=>t.workspaceInitializer.branchByRepo),I3=E.createSelector(t=>t.workspaceInitializer.defaultParentPath),z3=E.createSelector(t=>ve(t.workspaceInitializer.recentRepos)),R3=E.createSelector((t,e)=>xe(t.workspaceInitializer.recentRepoRefreshes,e)),D3=E.createSelector((t,e)=>xe(t.workspaceInitializer.directoryStatusChecks,e)),N3=E.createSelector(t=>t.workspaceInitializer.dismissedRecentRepoKeys),P3=E.createSelector(t=>ve(t.workspaceInitializer.remoteSetups)),_3=E.createSelector(t=>t.workspaceInitializer.lastSubmittedAgent),L3=E.createSelector(t=>t.workspaceInitializer.agentByRepo),O3=E.createSelector(t=>t.workspaceInitializer.recentSpecialistIds),$3=E.createSelector((t,e)=>t.workspaceInitializer.agentByRepo[e]??null),B3=E.createSelector(t=>t.workspaceInitializer.pendingGitHubPrefill),q3=E.createSelector((t,e)=>({restore:xe(t.workspaceInitializer.draftRestores,e),clear:xe(t.workspaceInitializer.draftClears,e)})),F3=E.createSelector((t,e,r)=>{const n=xe(t.workspaceInitializer.initializationOutcomes,e);return n?.resourceId===r?n:void 0}),H3=E.createSelector((t,e)=>xe(t.workspaceInitializer.initializationOutcomes,e)),U3=E.createSelector((t,e)=>xe(t.workspaceInitializer.initializationResumes,e)),W3=E.createSelector(t=>Ih({compactFormState:t.workspaceInitializer.compactFormState,lastSubmittedAgent:t.workspaceInitializer.lastSubmittedAgent,specialists:Z1.select(t),orchestratorId:Y1.select(t)?.id??null})),zh=E.createSelector(t=>{const e=t.workspaceInitializer.gitCheckRequest,r=mr.select(t);return e&&r&&D1.select(t)?JSON.stringify([r,e]):null}),G3=E.createSelector(t=>{const e=zh.select(t),r=t.workspaceInitializer.gitCheck;return e&&r?.context===e?r.available:null}),Rh=E.createSelector(t=>{const e=xe(t.workspaceInitializer.recentRepoRefreshes,Eh),r=mr.select(t);return Mh({saved:ve(t.workspaceInitializer.recentRepos),source:e&&r&&e.admission===r?e:null,dismissed:t.workspaceInitializer.dismissedRecentRepoKeys,mode:"all"})}),j3=E.createSelector(t=>Xl.select(t)?Rh.select(t):[]),V3=E.createSelector(t=>Q1.select(t)||void 0),Js="workspace-debug-flags",x0={enableCreationAnimation:!0,animationDuration:300,enablePageTransitions:!0,enableComponentTransitions:!0,showDebugInfo:!1,showPerformanceMetrics:!1,logStateChanges:!1,enableAutofocus:!0,enableBranchCaching:!0,enableFormPersistence:!0,simulateSlowNetwork:!1,simulateErrors:!1,networkDelay:0};class Dh{constructor(){le(this,"flags");le(this,"listeners",new Set);this.flags=this.loadFlags()}loadFlags(){if(typeof localStorage>"u")return x0;try{const e=localStorage.getItem(Js);if(e)return{...x0,...JSON.parse(e)}}catch(e){za.error("Failed to load debug flags:",e)}return x0}saveFlags(){if(!(typeof localStorage>"u")){try{localStorage.setItem(Js,JSON.stringify(this.flags))}catch(e){za.error("Failed to save debug flags:",e)}this.listeners.forEach(e=>e(this.flags))}}get(e){return this.flags[e]}set(e,r){this.flags[e]=r,this.saveFlags()}toggle(e){typeof this.flags[e]=="boolean"&&(this.flags[e]=!this.flags[e],this.saveFlags())}reset(){this.flags={...x0},this.saveFlags()}getAll(){return{...this.flags}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}toggleDebugPanel(){this.toggle("showDebugInfo"),za.info("Debug panel:",this.flags.showDebugInfo?"ON":"OFF")}async simulateDelay(e){return this.flags.simulateSlowNetwork&&this.flags.networkDelay>0&&await new Promise(r=>setTimeout(r,this.flags.networkDelay)),e}}const Ra=new Dh;function K3(t){if(!t)return"";let e=t;return e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(/(?<!\*)\*(?!\*)(.+?)(?<!\*)\*(?!\*)/g,"$1"),e=e.replace(/(?<!_)_(?!_)(.+?)(?<!_)_(?!_)/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/\[([^\]]+)\]\([^)]+\)/g,"$1"),e=e.replace(/^#{1,6}\s+/gm,""),e=e.replace(/^\*+\s*/gm,""),e=e.replace(/\s*\*+$/gm,""),e.trim()}function Nh(t){return t.charAt(0).toUpperCase()+t.slice(1)}function X3(t){if(!t||t.trim().length===0)return ie.workspace_sidebarHeader_branchEmpty_error();if(/[\s~^:\\?*\[\\]/.test(t))return ie.workspace_sidebarHeader_branchInvalidChars_error();if(t.includes("@{"))return ie.workspace_sidebarChanges_branchAtBrace_error({seq:"@{"});if(t==="@")return ie.workspace_sidebarChanges_branchAt_error({symbol:"@"});if(t.startsWith("."))return ie.workspace_sidebarHeader_branchStartsDot_error();if(t.endsWith(".lock"))return ie.workspace_sidebarHeader_branchEndsLock_error();if(t.includes(".."))return ie.workspace_sidebarHeader_branchDoubleDot_error();if(t.startsWith("/")||t.endsWith("/"))return ie.workspace_sidebarHeader_branchSlashEnds_error();if(t.includes("//"))return ie.workspace_sidebarHeader_branchDoubleSlash_error();if(t.startsWith("-"))return ie.workspace_sidebarHeader_branchStartsDash_error();if(t.endsWith("."))return ie.workspace_sidebarChanges_branchEndsPeriod_error();const e=t.split("/");for(const r of e){if(r.startsWith("."))return ie.workspace_sidebarChanges_branchComponentStartsDot_error();if(r.endsWith(".lock"))return ie.workspace_sidebarChanges_branchComponentEndsLock_error()}if(t.length>250)return ie.workspace_sidebarHeader_branchTooLong_error()}function Y3(t,e,r,n){return e&&r?`https://github.com/${e}/${r}/pull/${t}`:n||""}function li(t){return t==="Open"?"open":t==="Merged"?"merged":t==="Draft"?"draft":"closed"}function Z3(t,e){return`${e}:${t.agentId??"manual"}`}function Ph(t,e){if(t.length===0||e>=t.length)return 0;const r=Math.max(0,e);let n=0;for(let a=r;a<t.length;a++)t[a].isPushed||n++;return n}function _h(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed&&n++;return n}function Lh(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed||n++;return n}function Q3(t,e,r,n){const a=Ph(t,e),i=n?` (origin/${n})`:"";return r?a===1?ie.workspace_sidebarChanges_addToPr_one({suffix:i}):ie.workspace_sidebarChanges_addToPr_many({count:rt(a),suffix:i}):a===1?ie.workspace_sidebarChanges_pushToRemote_one({suffix:i}):ie.workspace_sidebarChanges_pushToRemote_many({count:rt(a),suffix:i})}function J3(t,e,r){const n=_h(t,e),a=r?` (origin/${r})`:"";return n===1?ie.workspace_sidebarChanges_undoPush_one({suffix:a}):ie.workspace_sidebarChanges_undoPush_many({count:rt(n),suffix:a})}function e6(t,e){const r=Lh(t,e);return r===1?ie.workspace_sidebarChanges_undoCommit_one():ie.workspace_sidebarChanges_undoCommit_many({count:rt(r)})}function t6(t,e){return e===0&&t.length>0}function r6(t,e,r,n){return!r||n==null?!1:t===r&&e===n}function n6(t,e,r){const n=`${e?"staged":"unstaged"}:${t}`;return r.has(n)}function a6(t,e,r){return r?.path===t&&r?.staged===e}function i6(t){if(t.length===0)return[];const e=new Map,r=[...t].sort((n,a)=>n.timestamp-a.timestamp);for(const n of r)for(const a of n.files??[]){const i=e.get(a.path);i?e.set(a.path,{additions:i.additions+(a.additions||0),deletions:i.deletions+(a.deletions||0)}):e.set(a.path,{additions:a.additions||0,deletions:a.deletions||0})}return Array.from(e.entries()).map(([n,a])=>({path:n,additions:a.additions,deletions:a.deletions,staged:!1}))}function s6(t,e,r){const n=new Set;let a=0,i=0;for(const s of t)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of e)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of r)for(const o of s.files||[])n.add(o.path),a+=o.additions||0,i+=o.deletions||0;return{totalFilesChanged:n.size,totalAdditions:a,totalDeletions:i}}function Oh(t){const e=t?.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+)\/pull\/\d+/i);return e?`${e[1]}/${e[2]}`:void 0}function o6(t,e,r,n,a){if(t&&t.length>0){const i=a?.split("/")[0];return t.map(s=>{const o=s.url||r(s.number),c=Oh(s.url),h=c!==void 0&&c.toLowerCase()!==a?.toLowerCase()?c:void 0;return{number:s.number,title:n(s),url:o,htmlUrl:o,status:li(s.status),createdAt:s.createdAt,updatedAt:s.updatedAt,isInMergeQueue:s.isDraft?void 0:s.isInMergeQueue,crossRepo:h,crossRepoDisplay:h?Fi(h,i):void 0}})}return e?[{number:e.number,title:n(e),url:r(e.number,e.url),htmlUrl:r(e.number,e.url),status:li(e.status),createdAt:e.createdAt,updatedAt:e.updatedAt,isInMergeQueue:e.isDraft?void 0:e.isInMergeQueue}]:[]}function l6(t){const{prNumber:e,prUrl:r}=t;return e==null||!r?null:{id:`legacy-pr-${e}`,number:e,url:r,title:"",status:t.prStatus??th.Open,createdAt:t.updatedAt,updatedAt:t.updatedAt}}function $h(t){const e=t.lastSnapshot?.state?.toLowerCase();return e==="merged"?"merged":e==="closed"?"closed":t.lastSnapshot?.isDraft?"draft":t.state==="completed"?"closed":"open"}function Da(t,e,r){if(e.length===0)return t;const n=r?.split("/")[0],a=t.map(i=>({...i}));for(const i of e){const s=!i.resource&&!i.monitorAvailability&&(!r||i.repo===r),o=_n(i),c=o.toLowerCase(),h=a.find(d=>!!o&&d.url.toLowerCase()===c||(i.resource||i.monitorAvailability?d.monitorIdentity===Ia(i):!d.resource&&!d.monitorAvailability&&(s?!d.crossRepo&&d.number===i.prNumber:d.crossRepo===i.repo&&d.number===i.prNumber)));if(h){h.monitorAgentId=i.agentId,h.resource=i.resource,h.monitorAvailability=i.monitorAvailability,h.monitorIdentity=i.resource||i.monitorAvailability?Ia(i):void 0,h.monitorSnapshot=i.lastSnapshot??h.monitorSnapshot;continue}a.push({number:i.prNumber,title:i.title??`${i.repo}${N1(i,i.prNumber)}`,resource:i.resource,monitorAvailability:i.monitorAvailability,monitorIdentity:i.resource||i.monitorAvailability?Ia(i):void 0,url:o,htmlUrl:o,status:$h(i),createdAt:i.createdAt,updatedAt:i.updatedAt,monitorAgentId:i.agentId,crossRepo:s?void 0:i.repo,crossRepoDisplay:s?void 0:Fi(i.repo,n),monitorSnapshot:i.lastSnapshot,monitorOnly:!0})}return a}function Fi(t,e){return e&&t.toLowerCase().startsWith(`${e.toLowerCase()}/`)?t.slice(e.length+1):t}function c6(t,e,r,n,a){const i=r?.toLowerCase(),s=new Set;for(const k of n)k.repoOwner&&k.repoName&&s.add(`${k.repoOwner}/${k.repoName}`.toLowerCase());let o=t;const c=[],h=[];if(t.some(k=>k.crossRepo)){o=[];for(const k of t)k.crossRepo?s.has(k.crossRepo.toLowerCase())?c.push(k):h.push(k):o.push(k)}const d=[],v=[],m=[];for(const k of e){const I=k.repo.toLowerCase();_n(k)&&o.some(R=>R.url===_n(k))||!k.resource&&!k.monitorAvailability&&(!i||I===i)?d.push(k):_n(k)&&c.some(R=>R.url===_n(k))||!k.resource&&!k.monitorAvailability&&s.has(I)?v.push(k):m.push(k)}const w=Da(o,d,r),A=r?.split("/")[0],C=new Set([...w,...c,...h].map(k=>`${(k.crossRepo??r??"").toLowerCase()}#${k.number}`)),M=[...c];for(const k of n){if(!k.repoOwner||!k.repoName)continue;const I=`${k.repoOwner}/${k.repoName}`;for(const R of k.pullRequests??[]){const Z=`${I.toLowerCase()}#${R.number}`;if(C.has(Z))continue;C.add(Z);const K=R.url||`https://github.com/${I}/pull/${R.number}`,ee=i!==void 0&&I.toLowerCase()===i;M.push({number:R.number,title:a(R),url:K,htmlUrl:K,status:li(R.status),createdAt:R.createdAt,updatedAt:R.updatedAt,crossRepo:ee?void 0:I,crossRepoDisplay:ee?void 0:Fi(I,A)})}}return{own:w,otherRoots:Da(M,v,r),otherTracked:Da(h,m,r)}}function eo(t){return t.status!=="open"?!1:t.monitorSnapshot?t.monitorSnapshot.isInMergeQueue===!0:t.isInMergeQueue===!0}function u6(t){const e=t.status==="merged"?ie.workspace_prSection_merged_label():t.status==="closed"?ie.workspace_prSection_closed_label():t.status==="draft"?ie.workspace_prSection_statusDraft_label():eo(t)?ie.workspace_prSection_statusQueued_label():ie.workspace_prSection_statusOpen_label(),r=[P1(t)??e],n=eo(t)?uh(t.monitorSnapshot?.mergeQueue):null;n&&r.push(n);const a=t.status==="merged"||t.status==="closed"?void 0:t.monitorSnapshot;return a&&(a.checks.total===null||a.checks.passed===null||a.checks.failed===null||a.checks.pending===null||a.availability&&a.availability.checks!=="available"?r.push(ie.chat_monitoredPrs_hover_checksUnknown_label()):a.checks.total>0&&r.push(ie.workspace_prSection_statusChecks_tooltip({passed:rt(a.checks.passed),failed:rt(a.checks.failed),pending:rt(a.checks.pending)})),r.push(a.approvals.have===null||a.availability&&a.availability.approvals!=="available"?ie.chat_monitoredPrs_hover_approvalsUnknown_label():a.approvals.needed!=null?ie.workspace_prSection_statusApprovalsOfNeeded_tooltip({count:rt(a.approvals.have),needed:rt(a.approvals.needed)}):ie.workspace_prSection_statusApprovals_tooltip({count:rt(a.approvals.have)})),a.approvals.changesRequested!==null&&a.approvals.changesRequested>0&&r.push(ie.workspace_prSection_statusChangesRequested_tooltip({count:rt(a.approvals.changesRequested)})),a.availability&&a.availability.discussions!=="available"?r.push(ie.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()):typeof a.threads.unresolved=="number"?a.threads.unresolved>0&&r.push(ie.workspace_prSection_statusUnresolvedThreads_tooltip({count:rt(a.threads.unresolved)})):a.threads.resolutionRequired&&r.push(ie.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()),a.mergeBlockedReason&&r.push(Nh(a.mergeBlockedReason))),r.join(`
|
|
2
2
|
`)}function h6(t,e){return e.has(t??"manual")}function d6(t,e){return{path:t.relativePath,additions:t.stats.additions,deletions:t.stats.deletions,staged:e,status:t.status,attribution:t.attribution?.agent?{agentId:t.attribution.agent.agentId,agentName:t.attribution.agent.agentName,sessionId:t.attribution.agent.sessionId,turnNumber:t.attribution.agent.turnNumber,timestamp:t.attribution.timestamp}:void 0}}const oc=500;function p6(t,e=oc){const r=Math.max(0,Math.floor(e));return t.length<=r?{visible:t,shown:t.length,hiddenCount:0}:{visible:t.slice(0,r),shown:r,hiddenCount:t.length-r}}function m6(t,e,r=oc){let n=Math.max(0,Math.floor(r)),a=0,i=0;return{groups:t.map(o=>{if(e(o))return{group:o,visibleFiles:[]};const c=Math.min(n,o.files.length);return n-=c,a+=c,i+=o.files.length-c,{group:o,visibleFiles:c===o.files.length?o.files:o.files.slice(0,c)}}),shown:a,hiddenCount:i}}function f6(t){if(t.hiddenCount<=0)return"";const e=rt(t.shown),r=rt(t.shown+t.hiddenCount);return t.hiddenCount===1?ie.workspace_fileChanges_hiddenFiles_one({shown:e,total:r}):ie.workspace_fileChanges_hiddenFiles_many({shown:e,total:r,count:rt(t.hiddenCount)})}function Bh(t){if(!t)return{};try{const e=JSON.parse(t);return e&&typeof e=="object"?e:{}}catch{return{}}}function ci(t){return t.startsWith("@")?t.slice(1):t}function qh(t,e,r,n){const a=t.fullPath||t.path||t.filename;if(a)return ci(String(a));const i=[r,e,n.trim()].map(ci).filter(Boolean),s=i.find(o=>o.includes("/"))??i[0];return s?_1(s).path:void 0}function Fh(t){const e=t.line??t.startLine??t.range?.start;return typeof e=="number"&&Number.isFinite(e)?e:void 0}function Hh(t){if(!t||t.getAttribute("data-mention")===null)return null;const e=t.getAttribute("data-type")||"",r=t.getAttribute("data-id")||"",n=t.getAttribute("data-label")||"",a=t.getAttribute("data-uri")||"",i=Bh(t.getAttribute("data-meta")),s={type:e,id:r,label:n,uri:a,meta:i},o=a.startsWith("intent://")?a:typeof i.fullUrl=="string"&&i.fullUrl.startsWith("intent://")?i.fullUrl:void 0;if(o&&(s.intentUrl=o),e==="file"||e==="file-range"){const c=qh(i,n,r,t.textContent||"");c&&(s.filePath=c);const h=Fh(i);h!==void 0&&(s.line=h)}else if(e==="folder"||e==="source-folder"){const c=i.fullPath||i.path||r||n,h=c?ci(String(c)).replace(/\/+$/,""):"";h&&(s.folderPath=h)}else if(e==="note"||e==="note-range"){const c=i.noteId||r;c&&(s.note=i.isExternalLink&&i.workspaceId?{id:c,workspaceId:String(i.workspaceId)}:{id:c})}return s}function g6(t){return{sidebarTabId:"files",type:"file",filePath:`${t}/`}}function Hi(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Fr=Hi();function lc(t){Fr=t}var Nr={exec:()=>null};function Cr(t){let e=[];return r=>{let n=Math.max(0,Math.min(3,r-1)),a=e[n];return a||(a=t(n),e[n]=a),a}}function oe(t,e=""){let r=typeof t=="string"?t:t.source,n={replace:(a,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(Ue.caret,"$1"),r=r.replace(a,s),n},getRegex:()=>new RegExp(r,e)};return n}var cc=((t="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+t)}catch{return!1}})(),Ue={codeRemoveIndent:/^(?: {0,3}\t| {1,4})/gm,listInterruptsParagraph:/^ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,endingSpaceTabChar:/[ \t]$/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,leadingSpaceTab:/^[ \t]+/,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+)[ \t]*)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,blockquoteMarkerWhitespace:/^( {0,3}>)(\t[ \t]*)/gm,nestedBlockMarker:/^ {0,3}(?:(?:[*+-]|\d{1,9}[.)])(?: |$)|> ?)/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\][ \t]+\S/,listReplaceTask:/^\[[ xX]\][ \t]+/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,numericCharacterReference:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));/,numericCharacterReferenceOrAmpersand:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Cr(t=>new RegExp(`^ {0,${t}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Cr(t=>new RegExp(`^ {0,${t}}((?:-[ ]*){3,}|(?:_[ ]*){3,}|(?:\\*[ ]*){3,})(?:\\n+|$)`)),fencesBeginRegex:Cr(t=>new RegExp(`^ {0,${t}}(?:\`\`\`|~~~)`)),headingBeginRegex:Cr(t=>new RegExp(`^ {0,${t}}#{1,6}(?:\\s|$)`)),pedanticHeadingBeginRegex:Cr(t=>new RegExp(`^ {0,${t}}#`)),htmlBeginRegex:Cr(t=>new RegExp(`^ {0,${t}}(?:</?(?:${Wi})(?:[ \\t]+|$|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)`,"i")),blockquoteBeginRegex:Cr(t=>new RegExp(`^ {0,${t}}>`)),nestedContainerMarkers:/^(?: {0,3}(?:(?:[*+-]|\d{1,9}[.)])[ \t]+|>[ \t]?))+/},Uh=/^(?:[ \t]*(?:\n|$))+/,Wh=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Gh=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}(?:(?=`)\1`*|(?=~)\1~*) *(?=\n|$)|$)/,Kn=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,jh=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ui=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Wi="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Xn=oe(" {0,3}(?:</?(?:tag)(?:[ \\t]+|\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)").replace("tag",Wi).getRegex(),uc=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |fences|blockquote|heading|hr|html|table))+?)\n {0,3}(=+|-+)[ \t]*(?:\n+|$)/,hc=oe(uc).replace(/bull/g,Ui).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/\|table/g,"").replace(/html/g,Xn).getRegex(),Vh=oe(uc).replace(/bull/g,Ui).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).replace(/html/g,Xn).getRegex(),Gi=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,Kh=/^[^\n]+/,ji=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\\n]|\n(?![ \t]*\n))+/,Xh=oe(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<(?:\\.|[^\n<>\\])*>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ji).replace("title",/(?:"(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\\n]|\n(?!\n))*'|\((?:\\[\s\S]|[^()\\])*\))/).getRegex(),Yh=oe(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,Ui).getRegex(),Vi=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Zh=oe("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?:[ \\t]+|\\n|/?>|$)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!(?:script|pre|style|textarea)(?![a-z0-9-]))([a-z][a-z0-9-]*)(?:attribute)*?[ \\t]*/?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</[a-z][a-z0-9-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Vi).replace("tag",Wi).replace("attribute",/[ \t]+[a-zA-Z:_][\w.:-]*(?:[ \t]*=[ \t]*"[^"\n]*"|[ \t]*=[ \t]*'[^'\n]*'|[ \t]*=[ \t]*[^\s"'=<>`]+)?/).getRegex(),dc=t=>oe(Gi).replace("hr",Kn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list",t).replace("html",Xn).getRegex(),Qh=dc(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),Jh=dc(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),ed=oe(/^( {0,3}> ?(?:(?![ \t]*(?:\n|$))(paragraph)|[^\n]*)(?:\n|$))+/).replace("paragraph",Jh).getRegex(),Ki={blockquote:ed,code:Wh,def:Xh,fences:Gh,heading:jh,hr:Kn,html:Zh,lheading:hc,list:Yh,newline:Uh,paragraph:Qh,table:Nr,text:Kh},to=oe("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Kn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",Xn).getRegex(),td={...Ki,lheading:Vh,table:to,paragraph:oe(Gi).replace("hr",Kn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",to).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html",Xn).getRegex()},rd={...Ki,html:oe(`^ *(?:comment(?: *\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1>(?: *\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?>(?: *\\n{2,}|\\s*$))`).replace("comment",Vi).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Nr,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:oe(Gi).replace("hr",Kn).replace("heading",` *#{1,6} *[^
|
|
3
3
|
]`).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").replace("lheading",hc).getRegex()},nd=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ad=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,pc=/^( {2,}|\\)\n(?!\s*$)[ \t]*/,id=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Pt=/[\p{P}\p{S}]/u,kn=/[\s\p{P}\p{S}]/u,Yn=/[^\s\p{P}\p{S}]/u,sd=oe(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,kn).getRegex(),od=/[\p{Pi}\p{Ps}"']/u,mc=/(?!~)[\p{P}\p{S}]/u,ld=/(?!~)[\s\p{P}\p{S}]/u,cd=/(?:[^\s\p{P}\p{S}]|~)/u,ud=oe(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",cc?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),fc=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,hd=oe(fc,"u").replace(/punct/g,Pt).getRegex(),dd=oe(fc,"u").replace(/punct/g,mc).getRegex(),pd=/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,md=oe(pd,"u").replace(/openQuote/g,od).replace(/punct/g,Pt).getRegex(),gc="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",fd=oe(gc,"gu").replace(/notPunctSpace/g,Yn).replace(/punctSpace/g,kn).replace(/punct/g,Pt).getRegex(),gd=oe(gc,"gu").replace(/notPunctSpace/g,cd).replace(/punctSpace/g,ld).replace(/punct/g,mc).getRegex(),vd="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)",bd=oe(vd,"gu").replace(/notPunctSpace/g,Yn).replace(/punctSpace/g,kn).replace(/punct/g,Pt).getRegex(),yd=oe("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Yn).replace(/punctSpace/g,kn).replace(/punct/g,Pt).getRegex(),wd="^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)",kd=oe(wd,"gu").replace(/notPunctSpace/g,Yn).replace(/punctSpace/g,kn).replace(/punct/g,Pt).getRegex(),xd=oe(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Pt).getRegex(),Sd="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",Ad=oe(Sd,"gu").replace(/notPunctSpace/g,Yn).replace(/punctSpace/g,kn).replace(/punct/g,Pt).getRegex(),Td=oe(/\\(punct)/,"gu").replace(/punct/g,Pt).getRegex(),Ed=oe(/(`+)(?:[^`]|[^`][\s\S]*?[^`])\1(?!`)|`+|\\(punct)/,"gu").replace(/punct/g,Pt).getRegex(),Cd=oe(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Md=oe(Vi).replace("(?:-->|$)","-->").getRegex(),Id=oe("^comment|^</[a-zA-Z][a-zA-Z0-9-]*\\s*>|^<[a-zA-Z][a-zA-Z0-9-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Md).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),vc=/\[(?:\\[\s\S]|[^\[\]\\])*\]/,q0=oe(/(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/).replace("brackets",vc).getRegex(),zd=oe(/^!?\[(label)\]\([ \t\n]*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?[ \t\n]*\)/).replace("label",q0).replace("href",/<(?:\\.|[^\n<>\\])*>|(?!<)[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\])*'|\((?:\\[\s\S]|[^)\\])*\)/).getRegex(),Rd=oe(/^!?\[(label)\]\[(ref)\]/).replace("label",q0).replace("ref",ji).getRegex(),Dd=oe(/^!?\[(ref)\](?:\[\])?/).replace("ref",ji).getRegex(),ro=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\]){1,999}/,Nd=oe(/(?:[^\[\]\\`]*(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\]))){0,999}?[^\[\]\\`]*?/).replace("brackets",vc).getRegex(),Pd=oe("reflink|nolink(?!\\()","g").replace("reflink",oe(/^!?\[(label)\]\[(ref)\]/).replace("label",Nd).replace("ref",ro).getRegex()).replace("nolink",oe(/^!?\[(ref)\](?:\[\])?/).replace("ref",ro).getRegex()).getRegex(),no=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,_d=/[A-Za-z0-9._+-]+@[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/,Ld=oe(/(?:mailto:email|xmpp:email(?:\/[A-Za-z0-9@.]+)?)/).replace(/email/g,_d).getRegex(),Xi={_backpedal:Nr,anyPunctuation:Td,anyPunctuationOutsideCode:Ed,autolink:Cd,blockSkip:ud,br:pc,code:ad,del:Nr,delLDelim:Nr,delRDelim:Nr,emStrongLDelim:hd,emStrongRDelimAst:fd,emStrongRDelimUnd:yd,escape:nd,link:zd,nolink:Dd,punctuation:sd,reflink:Rd,reflinkSearch:Pd,tag:Id,text:id,url:Nr},Od={...Xi,emStrongLDelim:md,emStrongRDelimAst:bd,emStrongRDelimUnd:kd,link:oe(/^!?\[(label)\]\((.*?)\)/).replace("label",q0).getRegex(),reflink:oe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",q0).getRegex()},ui={...Xi,emStrongRDelimAst:gd,emStrongLDelim:dd,delLDelim:xd,delRDelim:Ad,url:oe(/^emailProtocol|^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("emailProtocol",Ld).replace("protocol",no).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:oe(/^(?:[^a-zA-Z0-9](?=emailProtocol)|(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|wwwStart|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9](?=emailProtocol)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))))/).replace("protocol",no).replace(/emailProtocol/g,/(?:mailto|xmpp):/).replace("wwwStart",cc?"(?<![^\\s*_~(])www\\.":"www\\.").getRegex()},$d={...ui,br:oe(pc).replace("{2,}","*").getRegex(),text:oe(ui.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},S0={normal:Ki,gfm:td,pedantic:rd},Mn={normal:Xi,gfm:ui,breaks:$d,pedantic:Od},Bd={"&":"&","<":"<",">":">",'"':""","'":"'"},ao=t=>Bd[t];function mt(t,e){if(e){if(Ue.escapeTest.test(t))return t.replace(Ue.escapeReplace,ao)}else if(Ue.escapeTestNoEncode.test(t))return t.replace(Ue.escapeReplaceNoEncode,ao);return t}function qd(t){return Ue.numericCharacterReference.test(t)?t.replace(Ue.numericCharacterReferenceOrAmpersand,(e,r,n)=>{if(r===void 0&&n===void 0)return"&";let a=r===void 0?Number.parseInt(n,16):Number.parseInt(r,10);return a===0||a>1114111||a>=55296&&a<=57343?"�":a===38?"&":String.fromCodePoint(a)}):t}function io(t){try{t=encodeURI(t).replace(Ue.percentDecode,"%")}catch{return null}return t}function so(t,e){let r=t.replace(Ue.findPipe,(i,s,o)=>{let c=!1,h=s;for(;--h>=0&&o[h]==="\\";)c=!c;return c?"|":" |"}),n=r.split(Ue.splitPipe),a=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;a<n.length;a++)n[a]=n[a].trim().replace(Ue.slashPipe,"|");return n}function qt(t,e,r){let n=t.length;if(n===0)return"";let a=0;for(;a<n&&t.charAt(n-a-1)===e;)a++;return t.slice(0,n-a)}function oo(t){let e=t.split(`
|
|
4
4
|
`),r=e.length-1;for(;r>=0&&Ue.blankLine.test(e[r]);)r--;return e.length-r<=2?t:e.slice(0,r+1).join(`
|
|
@@ -477,4 +477,4 @@ ${JSON.stringify(Q,null,2)}
|
|
|
477
477
|
`),de.debug("[markdown-processor] processHTMLToMarkdown OUTPUT:",{markdownLength:R.length,preservedAnchors:r}),R}typeof window<"u"&&(window.__clearMarkdownCache=A2);const Pl={major:15,minor:3},Ou="workspace-create:initializeGit",$2="~/Documents",_l="~/Developer";function B2(t){return rc(t,Pl.major,Pl.minor)}function E6(t){return t.some(e=>!B1(e))}function C6(t){return t.rememberedChoice!==null?t.rememberedChoice:t.hasGitWorkspace||t.githubConnected||t.gitlabConnected||t.githubFailed||t.gitlabFailed?!0:!t.workspacesLoaded||!t.githubSettled||!t.gitlabSettled?null:!1}function M6(t,e){switch(t){case"git-repo":return!e;case"new-repo":return!0;case"clone":return!1;default:return null}}function I6(t){try{const e=t?.getItem(Ou);if(e==="true")return!0;if(e==="false")return!1}catch{}return null}function z6(t,e){try{t?.setItem(Ou,String(e))}catch{}}function R6(t,e){return t&&t!==_l?t:e?$2:_l}function q2(t,e){const r=n=>n.replace(/[\\/]+$/,"");return r(t)===r(e)}function D6(t,e){return e?t.filter(r=>[r.repositoryPath,r.worktreePath,r.path].some(n=>typeof n=="string"&&n.length>0&&q2(n,e))):[]}function N6(t){const e=t.contextLinks?.filter(r=>r.kind!=="pr");return{title:t.title??"",repositoryPath:t.repositoryPath,plainFolder:!0,...e&&e.length>0?{contextLinks:e}:{},...t.linearIssue?{linearIssue:t.linearIssue}:{},...t.sentryIssue?{sentryIssue:t.sentryIssue}:{},...t.initialAgent?{initialAgent:t.initialAgent}:{}}}function P6(t,e){return!t||t.isGitRepo||t.isSubdirectoryOfGitRepo?null:t.exists?t.isDirectory?"existing":null:e===!1?"new":null}function _6(t){return t.labsEnabled&&B2(t.protocolVersion)&&t.githubSettled&&t.gitlabSettled&&!t.githubFailed&&!t.gitlabFailed&&!t.githubConnected&&!t.gitlabConnected}function L6(t,e){return!!t&&!t.plainFolder&&e.checked&&!e.available}const $t=E.createSelector(t=>Yl.select(t)?mr.select(t):null),F2=E.createSelector(t=>{const e=qr.select(t)?.principal;return e?JSON.stringify([t.connections.windowBackendId,e.id]):null}),O6=E.createSelector(t=>ve(t.workspace.workspaces).map(e=>String(e.id))),$6=E.createSelector((t,e,r=De)=>{const n=$t.select(t),a=xe(t.workspace.workspaces,gn(e)),i=Li(t.workspaceDiscussion,e,r);return n&&t.workspaceDiscussion.context===n&&a&&t.workspaceDiscussion.workspaceIds.includes(e)&&i?{context:n,workspaceId:e,conversationId:r,epoch:i.epoch}:null}),sa=E.createSelector(t=>{const e=t.workspaceDiscussion.owner;if(!e||!mh.select(t)||t.principal.status==="revoked"||t.principal.error==="incompatible-response"||t.connections.authRejected?.id===t.connections.windowBackendId)return!1;const r=F2.select(t);if(r)return r===e;try{const[n,a]=JSON.parse(e),i=t.principal.boundPrincipalId??t.principal.snapshot?.principal.id;return n===t.connections.windowBackendId&&(i==null||i===a)}catch{return!1}}),Nt=E.createSelector((t,e,r=De)=>{if(!xe(t.workspace.workspaces,gn(e))||!sa.select(t))return w0;const a=Li(t.workspaceDiscussion,e,r)??w0;return r!==De&&r!==Kt&&(!a.authorized||!a.initialized&&t.workspaceDiscussion.conversationsSupported!==!0)?{...a,draft:"",agentMentions:[],principalMentions:[],messages:w0.messages,pending:w0.pending}:a}),H2=E.createSelector((t,e,r=De)=>Nt.select(t,e,r).authorized?ve(Nt.select(t,e,r).messages):[]),B6=E.createSelector((t,e,r=De)=>Nt.select(t,e,r).authorized?ve(Nt.select(t,e,r).pending):[]),U2=E.createSelector((t,e,r=De)=>{const n=xe(t.workspace.workspaces,gn(e)),a=Nt.select(t,e,r);return!!$t.select(t)&&!!n&&!t.workspaceDiscussion.deletedKeys.includes(JSON.stringify([e,r]))&&(r===De||(r===Kt?t.workspaceDiscussion.managementSupported===!0:(t.workspaceDiscussion.conversationsSupported===!0||t.workspaceDiscussion.managementSupported===!0)&&a.authorized))&&!a.unsupported&&a.error!=="forbidden"}),q6=E.createSelector(t=>t.workspaceDiscussion.requestedIds),F6=E.createSelector(t=>t.workspaceDiscussion.requestedIds.filter(e=>{const[r,n]=JSON.parse(e);return!Li(t.workspaceDiscussion,r,n)})),$u=E.createSelector((t,e)=>qu.select(t)===!0&&!!$t.select(t)&&!!Zl.select(t,e)),W2=E.createSelector((t,e)=>$u.select(t,e)&&!Bu.select(t)),r0=E.createSelector((t,e)=>sa.select(t)&&(t.workspaceDiscussion.conversationsSupported===!0||t.workspaceDiscussion.managementSupported===!0)?t.workspaceDiscussion.directories[e]??Xs:Xs),H6=E.createSelector((t,e)=>ve(r0.select(t,e).conversations)),U6=E.createSelector((t,e)=>{if(sa.select(t)&&t.workspaceDiscussion.deletedKeys.includes(JSON.stringify([e,De])))return!1;if(t.workspaceDiscussion.managementSupported!==!0)return!0;const r=r0.select(t,e);return!!xe(r.conversations,De)||r.status!=="ready"||r.hasMore}),W6=E.createSelector((t,e)=>{const r=sa.select(t)?t.workspaceDiscussion.recipients[e]??Ys:Ys,n=Nt.select(t,e,Kt).recipientPrincipalIds;return{status:r.status,query:r.query,members:ve(r.members),selectedMembers:ve(r.knownMembers).filter(a=>n.includes(a.principalId)),hasMore:r.hasMore,error:r.error}});E.createSelector((t,e)=>Nt.select(t,e,Kt).createdConversationId);const G6=E.createSelector(t=>t.workspaceDiscussion.conversationsSupported),j6=E.createSelector(t=>t.workspaceDiscussion.directoryRequestedIds),V6=E.createSelector((t,e)=>t.workspaceDiscussion.recipients[e]),G2=E.createSelector(t=>{const e=qr.select(t)?.principal;return e?{principalId:e.id,login:e.login??null,displayName:e.displayName??null,avatarUrl:e.avatarUrl??null}:null}),K6=E.createSelector((t,e,r=De)=>{const n=Nt.select(t,e,r),a=t.workspaceDiscussion.owner,i=G2.select(t)?.principalId??(a?JSON.parse(a)[1]:null),s=n.readSequence??0,o=H2.select(t,e,r).filter(c=>c.sequence>s&&(c.author.agentId!==void 0||c.author.principalId!==i));return{count:o.length,firstSequence:o[0]?.sequence??null}}),Bu=E.createSelector(t=>t.workspaceDiscussion.context===$t.select(t)&&t.workspaceDiscussion.sharingEnabled===!1),n0=E.createSelector((t,e,r=De)=>(r!==Kt||W2.select(t,e))&&U2.select(t,e,r)&&!Bu.select(t)&&!Y2.select(t,e,r)),X6=E.createSelector((t,e)=>q1.select(t)&&F1.select(t,e)),Y6=E.createSelector(t=>t.workspaceDiscussion.messageActionsSupported),Z6=E.createSelector((t,e,r=De)=>r!==Kt&&t.workspaceDiscussion.messageActionsSupported===!0&&n0.select(t,e,r)),Q6=E.createSelector((t,e,r=De)=>{const n=Nt.select(t,e,r);return n.replyToMessageId&&n.authorized?xe(n.messages,n.replyToMessageId)??null:null}),j2=E.createSelector(t=>t.workspaceDiscussion.context===$t.select(t)?t.workspaceDiscussion.agentMessagingSupported:null),V2=E.createSelector(t=>t.workspaceDiscussion.context===$t.select(t)?t.workspaceDiscussion.agentActivitySupported:null),J6=E.createSelector(t=>t.workspaceDiscussion.context===$t.select(t)?t.workspaceDiscussion.principalMentionsSupported:null),e7=E.createSelector((t,e,r=De)=>r!==Kt&&Z2.select(t,e,r)&&V2.select(t)===!0&&n0.select(t,e,r)),t7=E.createSelector((t,e,r=De)=>ve(Nt.select(t,e,r).agentControls).map(n=>n.key)),r7=E.createSelector(t=>t.workspaceDiscussion.context===$t.select(t)?t.workspaceDiscussion.reactionsSupported:null),qu=E.createSelector(t=>t.workspaceDiscussion.context===$t.select(t)?t.workspaceDiscussion.managementSupported:null),K2=E.createSelector((t,e)=>$t.select(t)===t.workspaceDiscussion.context?t.workspaceDiscussion.management[e]??Zs:Zs),X2=E.createSelector((t,e,r=De)=>{const n=Zl.select(t,e);return $u.select(t,e)&&(n?.myRole==="owner"||n?.myRole==="manager")&&!t.workspaceDiscussion.deletedKeys.includes(JSON.stringify([e,r]))&&xe(r0.select(t,e).conversations,r)?.kind==="workspace"}),n7=E.createSelector((t,e,r=De)=>X2.select(t,e,r)&&H1.select(t,e)),a7=E.createSelector((t,e,r)=>{const n=K2.select(t,e);return n.pending!==null&&(r===void 0||n.conversationId===r)}),Y2=E.createSelector((t,e,r=De)=>{const n=xe(r0.select(t,e).conversations,r);return!!n&&n.kind!=="workspace"}),Z2=E.createSelector((t,e,r=De)=>j2.select(t)===!0&&n0.select(t,e,r)&&(r===De||qu.select(t)===!0&&(r===Kt||xe(r0.select(t,e).conversations,r)?.kind==="workspace"))),i7=E.createSelector(t=>t.presence.profileRevision),s7=E.createSelector(t=>t.presence.windowVisible),o7=E.createSelector(t=>t.presence.captureDrawingActive),Q2=E.createSelector(t=>Yl.select(t)?mr.select(t):null),Fu=t=>{const e=Q2.select(t);return e!==null&&t.presence.context===e},l7=E.createSelector(t=>fh.select(t).filter(e=>!!xe(t.workspace.workspaces,gn(e)))),cn=[],un=[],Ll=[],J2=(t,e)=>{const r=t.rosters[e];return r?ve(r):cn},Ur=(t,e)=>{const r=xe(t.workspace.workspaces,gn(e));return Fu(t)&&r&&(r.memberCount??1)>1?r:void 0},c7=E.createSelector((t,e)=>{const r=t.presence.ownPrincipalId;if(r===null||!Ur(t,e))return Ll;const n=t.presence.members[e];return n?ve(n).filter(a=>a.principalId!==r&&!!a.login?.trim()):Ll}),bs=(t,e)=>({principalId:t.principalId,login:t.login,displayName:t.displayName,avatarUrl:t.avatarUrl,...t.identity?{identity:t.identity}:{},...t.hostRole?{hostRole:t.hostRole}:{},...e}),e5=t=>t.some(e=>e.online&&!e.self),K0=t=>t.owner?0:t.online?1:2,Hu=E.createSelector((t,e)=>{const r=t.presence.ownPrincipalId;if(r===null||!Ur(t,e))return un;const n=t.presence.members[e];if(!n)return un;const a=t.presence.rosters[e],i=ve(n).filter(s=>s.principalId!==r).map(s=>{const o=a?xe(a,s.principalId):void 0,c=o?{...s,...o}:s;return bs(c,{owner:c.hostRole?c.hostRole==="owner":s.role==="owner",online:o!==void 0,viewing:o?.focus.some(h=>h.workspaceId===e)??!1,self:!1})}).sort((s,o)=>K0(s)-K0(o));return i.length>0?i:un}),u7=E.createSelector((t,e)=>{const r=qr.select(t)?.capabilities.hostMembership;return Hu.select(t,e).filter(n=>r&&!n.hostRole?!1:!n.hostRole||n.hostRole==="guest"||n.online)}),t5=E.createSelector((t,e)=>{if(!Ur(t,e))return un;const r=t.presence.members[e],n=t.presence.rosters[e],a=new Map;for(const s of r?ve(r):[])a.set(s.principalId,s);for(const s of n?ve(n):[])a.set(s.principalId,{...a.get(s.principalId),...s});const i=qr.select(t)?.principal;return i&&i.id===t.presence.ownPrincipalId&&!a.has(i.id)&&a.set(i.id,{...i,principalId:i.id}),[...a.values()]}),h7=E.createSelector((t,e)=>{const r=Hu.select(t,e),n=t.presence.ownPrincipalId,a=t5.select(t,e).find(s=>s.principalId===n);if(!a)return r;const i=Ur(t,e);return[bs(a,{owner:a.hostRole?a.hostRole==="owner":i?.ownerPrincipalId===n,online:!0,viewing:!0,self:!0}),...r]}),d7=E.createSelector((t,e,r)=>{const n=t.presence.ownPrincipalId,a=Ur(t,e);if(n===null||!a)return un;const i=J2(t.presence,e).filter(s=>s.principalId!==n&&s.focus.some(o=>o.workspaceId===e&&o.agentId===r)).map(s=>bs(s,{owner:s.principalId===a.ownerPrincipalId,online:!0,viewing:!0,self:!1})).sort((s,o)=>K0(s)-K0(o));return e5(i)?i:un}),p7=E.createSelector((t,e,r)=>{const n=t.presence.liveTyping[e],a=t.presence.rosters[e];if(!n||!a)return cn;const i=new Set;for(const s of Object.keys(n)){const o=n[s];o.expired||o.agentId!==r||s===t.presence.ownTypingSource||xe(a,o.principalId)&&i.add(o.principalId)}return i.size===0?cn:ve(a).filter(s=>i.has(s.principalId))}),r5=E.createSelector(t=>{const e=t.presence.discussionComposerWorkspaceId;return e&&Fu(t)&&Ur(t,e)&&t.presence.windowVisible&&t.tabState.currentTabId===e&&t.presence.discussionComposerConversationId!==Kt&&n0.select(t,e,t.presence.discussionComposerConversationId)?e:null}),n5=E.createSelector(t=>{const e=r5.select(t);return e?tc(e,t.presence.discussionComposerConversationId):null}),m7=E.createSelector((t,e,r=De)=>{if(r!==De&&!n0.select(t,e,r)||!Ur(t,e)||t.presence.ownPrincipalId===null)return cn;const n=t.presence.liveDiscussionTyping[e],a=t.presence.rosters[e];if(!n||!a)return cn;const i=new Set(Object.entries(n).filter(([s,o])=>!o.expired&&o.conversationId===r&&s!==t.presence.ownTypingSource&&o.principalId!==t.presence.ownPrincipalId).map(([,s])=>s.principalId));return i.size?ve(a).filter(s=>i.has(s.principalId)):cn}),f7=E.createSelector(t=>t.presence.liveDiscussionTyping),a5=E.createSelector(t=>{if(!t.presence.windowVisible)return{focus:[],typing:null};const e=t.tabState.currentTabId;if(!e)return{focus:[],typing:null};const r=[{workspaceId:e}],n=t.panelLayout.byWorkspaceId[e]?.panels??{};for(const i of Object.keys(n).sort()){const s=n[i],o=s.activeTabId?s.tabs.find(c=>c.id===s.activeTabId):void 0;o&&(o.type==="agent"&&o.agentId?r.push({workspaceId:e,agentId:o.agentId}):o.type==="note"&&o.noteId&&r.push({workspaceId:e,noteId:o.noteId}))}const a=t.presence.ownDiscussionTyping;return{focus:r,typing:t.presence.ownTyping,...a&&tc(a.workspaceId,a.conversationId)===n5.select(t)?{discussionTyping:a}:{}}}),g7=E.createSelector(t=>JSON.stringify(a5.select(t))),v7=E.createSelector(t=>t.presence.liveTyping),b7=E.createSelector(t=>t.presence.ownPrincipalId),y7=E.createSelector(t=>{const e=[];for(const r of Object.keys(t.tabState.openTabs)){if(t.tabState.openTabs[r]!==!0)continue;const n=xe(t.workspace.workspaces,gn(r))?.memberCount??1;n>1&&e.push(`${r}:${n}`)}return e.sort()});let pr=null;function w7(t){const e={};return pr={token:e,onCancel:t},e}function k7(t){return pr?.token===t}function x7(t){pr?.token===t&&(pr=null)}function S7(){return pr!==null}function A7(){if(pr===null)return!1;const{onCancel:t}=pr;return pr=null,t(),!0}const P0=Oi("ProviderAvailabilityClient");let nn=null;async function T7(){if(typeof window>"u")return P0.debug("Skipping provider availability check - not in browser environment"),Ol();const t=U1.select(E.state);if(nn&&nn.connection===t)return P0.debug("Joining in-flight provider availability request"),nn.promise;const e={},r=(async()=>{try{P0.debug("Checking provider availability via IPC");const n=await je(gh.GET_AVAILABILITY);if(!n.success)throw new Error(n.error||"Failed to get provider availability");const a=n.data??Ol();return P0.debug("Provider availability fetched",{hasAnyProvider:a.hasAnyProvider,auggie:a.providers.auggie.available,claudeCode:a.providers.claudeCode.available,codex:a.providers.codex.available,cortex:a.providers.cortex.available,mock:a.providers.mock?.available??!1,opencode:a.providers.opencode.available,droid:a.providers.droid?.available??!1,grok:a.providers.grok?.available??!1,unsloth:a.providers.unsloth?.available??!1}),a}finally{nn?.token===e&&(nn=null)}})();return nn={connection:t,token:e,promise:r},r}function Ol(){return{hasAnyProvider:!1,providers:{auggie:{available:!1},claudeCode:{available:!1},codex:{available:!1},cortex:{available:!1},mock:{available:!1},opencode:{available:!1},pi:{available:!1},droid:{available:!1},grok:{available:!1},unsloth:{available:!1}}}}const pt={IS_AUTHENTICATED:"github-auth:is-authenticated",GET_USER:"github-auth:get-user",START_AUTH:"github-auth:start",POLL_FOR_TOKEN:"github-auth:poll",CANCEL_AUTH:"github-auth:cancel",LOGOUT:"github-auth:logout",GET_AUTH_STATE:"github-auth:get-auth-state",GET_STATUS:"github-auth:get-status",LIST_REPOS:"github-auth:list-repos",SEARCH_REPOS:"github-auth:search-repos",SEARCH_USERS:"github-auth:search-users"},E7={async isAuthenticated(t){try{return await je(pt.IS_AUTHENTICATED,...t===void 0?[]:[{workspaceId:t}])}catch{return!1}},async getUser(t){try{return await je(pt.GET_USER,...t===void 0?[]:[{workspaceId:t}])}catch{return null}},async startAuth(t){return t?await je(pt.START_AUTH,t):await je(pt.START_AUTH)},async checkAuthComplete(){return await je(pt.POLL_FOR_TOKEN)},async cancelAuth(t){return t?je(pt.CANCEL_AUTH,t):je(pt.CANCEL_AUTH)},async logout(){return je(pt.LOGOUT)},async getAuthState(t){try{return await je(pt.GET_AUTH_STATE,...t===void 0?[]:[{workspaceId:t}])}catch{return{isAuthenticated:!1,requiresDaemonAuth:!0,user:null}}},async getStatus(t){try{return await je(pt.GET_STATUS,...t===void 0?[]:[{workspaceId:t}])}catch{return{isConfigured:!1,oauthUrl:"",configuredButNeedsUpdate:!1,updatedScopes:""}}},async listRepos(t,e){const r=await je(pt.LIST_REPOS,{page:t,...e===void 0?{}:{workspaceId:e}});if(!r.success)throw new Error(r.error||"Repository discovery failed");return r.data??[]},async searchRepos(t,e){try{return await je(pt.SEARCH_REPOS,{query:t,...e===void 0?{}:{workspaceId:e}})}catch(r){return{success:!1,error:r instanceof Error?r.message:String(r)}}},async searchUsers(t,e){try{return await je(pt.SEARCH_USERS,{query:t,...e===void 0?{}:{workspaceId:e}})}catch(r){return{success:!1,error:r instanceof Error?r.message:String(r)}}}};class i5{constructor(){le(this,"metrics",new Map);le(this,"completedMetrics",[]);le(this,"maxCompletedMetrics",100)}start(e,r){Ra.get("showPerformanceMetrics")&&this.metrics.set(e,{name:e,startTime:performance.now(),metadata:r})}end(e){if(!Ra.get("showPerformanceMetrics"))return null;const r=this.metrics.get(e);return r?(r.endTime=performance.now(),r.duration=r.endTime-r.startTime,this.metrics.delete(e),this.completedMetrics.push(r),this.completedMetrics.length>this.maxCompletedMetrics&&this.completedMetrics.shift(),Ra.get("logStateChanges")&&$l.info(`[Performance] ${e}: ${r.duration.toFixed(2)}ms`,r.metadata),r.duration):($l.warn(`Performance metric "${e}" was not started`),null)}async measure(e,r,n){this.start(e,n);try{const a=await r();return this.end(e),a}catch(a){throw this.end(e),a}}getMetrics(){return[...this.completedMetrics]}clear(){this.metrics.clear(),this.completedMetrics=[]}}const C7=new i5,$l=new vn("Performance"),Bl=t=>{t=1831565813+(t|=0)|0;let e=Math.imul(t^t>>>15,1|t);return e=e+Math.imul(e^e>>>7,61|e)^e,((e^e>>>14)>>>0)/4294967296};class s5{constructor(e){this.dictionaries=void 0,this.length=void 0,this.separator=void 0,this.style=void 0,this.seed=void 0;const{length:r,separator:n,dictionaries:a,style:i,seed:s}=e;this.dictionaries=a,this.separator=n,this.length=r,this.style=i,this.seed=s}generate(){if(!this.dictionaries)throw new Error('Cannot find any dictionary. Please provide at least one, or leave the "dictionary" field empty in the config object');if(this.length<=0)throw new Error("Invalid length provided");if(this.length>this.dictionaries.length)throw new Error(`The length cannot be bigger than the number of dictionaries.
|
|
478
478
|
Length provided: ${this.length}. Number of dictionaries provided: ${this.dictionaries.length}`);let e=this.seed;return this.dictionaries.slice(0,this.length).reduce((r,n)=>{let a;e?(a=(s=>{if(typeof s=="string"){const o=s.split("").map(h=>h.charCodeAt(0)).reduce((h,d)=>h+d,1),c=Math.floor(Number(o));return Bl(c)}return Bl(s)})(e),e=4294967296*a):a=Math.random();let i=n[Math.floor(a*n.length)]||"";if(this.style==="lowerCase")i=i.toLowerCase();else if(this.style==="capital"){const[s,...o]=i.split("");i=s.toUpperCase()+o.join("")}else this.style==="upperCase"&&(i=i.toUpperCase());return r?`${r}${this.separator}${i}`:`${i}`},"")}}const ql={separator:"_",dictionaries:[]},o5=t=>{const e=[...t&&t.dictionaries||ql.dictionaries],r={...ql,...t,length:t&&t.length||e.length,dictionaries:e};if(!t||!t.dictionaries||!t.dictionaries.length)throw new Error('A "dictionaries" array must be provided. This is a breaking change introduced starting from Unique Name Generator v4. Read more about the breaking change here: https://github.com/andreasonny83/unique-names-generator#migration-guide');return new s5(r).generate()};var l5=["able","above","absent","absolute","abstract","abundant","academic","acceptable","accepted","accessible","accurate","accused","active","actual","acute","added","additional","adequate","adjacent","administrative","adorable","advanced","adverse","advisory","aesthetic","afraid","aggregate","aggressive","agreeable","agreed","agricultural","alert","alive","alleged","allied","alone","alright","alternative","amateur","amazing","ambitious","amused","ancient","angry","annoyed","annual","anonymous","anxious","appalling","apparent","applicable","appropriate","arbitrary","architectural","armed","arrogant","artificial","artistic","ashamed","asleep","assistant","associated","atomic","attractive","automatic","autonomous","available","average","awake","aware","awful","awkward","back","bad","balanced","bare","basic","beautiful","beneficial","better","bewildered","big","binding","biological","bitter","bizarre","blank","blind","blonde","bloody","blushing","boiling","bold","bored","boring","bottom","brainy","brave","breakable","breezy","brief","bright","brilliant","broad","broken","bumpy","burning","busy","calm","capable","capitalist","careful","casual","causal","cautious","central","certain","changing","characteristic","charming","cheap","cheerful","chemical","chief","chilly","chosen","christian","chronic","chubby","circular","civic","civil","civilian","classic","classical","clean","clear","clever","clinical","close","closed","cloudy","clumsy","coastal","cognitive","coherent","cold","collective","colonial","colorful","colossal","coloured","colourful","combative","combined","comfortable","coming","commercial","common","communist","compact","comparable","comparative","compatible","competent","competitive","complete","complex","complicated","comprehensive","compulsory","conceptual","concerned","concrete","condemned","confident","confidential","confused","conscious","conservation","conservative","considerable","consistent","constant","constitutional","contemporary","content","continental","continued","continuing","continuous","controlled","controversial","convenient","conventional","convinced","convincing","cooing","cool","cooperative","corporate","correct","corresponding","costly","courageous","crazy","creative","creepy","criminal","critical","crooked","crowded","crucial","crude","cruel","cuddly","cultural","curious","curly","current","curved","cute","daily","damaged","damp","dangerous","dark","dead","deaf","deafening","dear","decent","decisive","deep","defeated","defensive","defiant","definite","deliberate","delicate","delicious","delighted","delightful","democratic","dependent","depressed","desirable","desperate","detailed","determined","developed","developing","devoted","different","difficult","digital","diplomatic","direct","dirty","disabled","disappointed","disastrous","disciplinary","disgusted","distant","distinct","distinctive","distinguished","disturbed","disturbing","diverse","divine","dizzy","domestic","dominant","double","doubtful","drab","dramatic","dreadful","driving","drunk","dry","dual","due","dull","dusty","dutch","dying","dynamic","eager","early","eastern","easy","economic","educational","eerie","effective","efficient","elaborate","elated","elderly","eldest","electoral","electric","electrical","electronic","elegant","eligible","embarrassed","embarrassing","emotional","empirical","empty","enchanting","encouraging","endless","energetic","enormous","enthusiastic","entire","entitled","envious","environmental","equal","equivalent","essential","established","estimated","ethical","ethnic","eventual","everyday","evident","evil","evolutionary","exact","excellent","exceptional","excess","excessive","excited","exciting","exclusive","existing","exotic","expected","expensive","experienced","experimental","explicit","extended","extensive","external","extra","extraordinary","extreme","exuberant","faint","fair","faithful","familiar","famous","fancy","fantastic","far","fascinating","fashionable","fast","fat","fatal","favourable","favourite","federal","fellow","female","feminist","few","fierce","filthy","final","financial","fine","firm","fiscal","fit","fixed","flaky","flat","flexible","fluffy","fluttering","flying","following","fond","foolish","foreign","formal","formidable","forthcoming","fortunate","forward","fragile","frail","frantic","free","frequent","fresh","friendly","frightened","front","frozen","full","fun","functional","fundamental","funny","furious","future","fuzzy","gastric","gay","general","generous","genetic","gentle","genuine","geographical","giant","gigantic","given","glad","glamorous","gleaming","global","glorious","golden","good","gorgeous","gothic","governing","graceful","gradual","grand","grateful","greasy","great","grieving","grim","gross","grotesque","growing","grubby","grumpy","guilty","handicapped","handsome","happy","hard","harsh","head","healthy","heavy","helpful","helpless","hidden","high","hilarious","hissing","historic","historical","hollow","holy","homeless","homely","hon","honest","horizontal","horrible","hostile","hot","huge","human","hungry","hurt","hushed","husky","icy","ideal","identical","ideological","ill","illegal","imaginative","immediate","immense","imperial","implicit","important","impossible","impressed","impressive","improved","inadequate","inappropriate","inc","inclined","increased","increasing","incredible","independent","indirect","individual","industrial","inevitable","influential","informal","inherent","initial","injured","inland","inner","innocent","innovative","inquisitive","instant","institutional","insufficient","intact","integral","integrated","intellectual","intelligent","intense","intensive","interested","interesting","interim","interior","intermediate","internal","international","intimate","invisible","involved","irrelevant","isolated","itchy","jealous","jittery","joint","jolly","joyous","judicial","juicy","junior","just","keen","key","kind","known","labour","large","late","latin","lazy","leading","left","legal","legislative","legitimate","lengthy","lesser","level","lexical","liable","liberal","light","like","likely","limited","linear","linguistic","liquid","literary","little","live","lively","living","local","logical","lonely","long","loose","lost","loud","lovely","low","loyal","ltd","lucky","mad","magic","magnetic","magnificent","main","major","male","mammoth","managerial","managing","manual","many","marginal","marine","marked","married","marvellous","marxist","mass","massive","mathematical","mature","maximum","mean","meaningful","mechanical","medical","medieval","melodic","melted","mental","mere","metropolitan","mid","middle","mighty","mild","military","miniature","minimal","minimum","ministerial","minor","miserable","misleading","missing","misty","mixed","moaning","mobile","moderate","modern","modest","molecular","monetary","monthly","moral","motionless","muddy","multiple","mushy","musical","mute","mutual","mysterious","naked","narrow","nasty","national","native","natural","naughty","naval","near","nearby","neat","necessary","negative","neighbouring","nervous","net","neutral","new","nice","noble","noisy","normal","northern","nosy","notable","novel","nuclear","numerous","nursing","nutritious","nutty","obedient","objective","obliged","obnoxious","obvious","occasional","occupational","odd","official","ok","okay","old","olympic","only","open","operational","opposite","optimistic","oral","ordinary","organic","organisational","original","orthodox","other","outdoor","outer","outrageous","outside","outstanding","overall","overseas","overwhelming","painful","pale","panicky","parallel","parental","parliamentary","partial","particular","passing","passive","past","patient","payable","peaceful","peculiar","perfect","permanent","persistent","personal","petite","philosophical","physical","plain","planned","plastic","pleasant","pleased","poised","polite","political","poor","popular","positive","possible","potential","powerful","practical","precious","precise","preferred","pregnant","preliminary","premier","prepared","present","presidential","pretty","previous","prickly","primary","prime","primitive","principal","printed","prior","private","probable","productive","professional","profitable","profound","progressive","prominent","promising","proper","proposed","prospective","protective","protestant","proud","provincial","psychiatric","psychological","public","puny","pure","purring","puzzled","quaint","qualified","quarrelsome","querulous","quick","quickest","quiet","quintessential","quixotic","racial","radical","rainy","random","rapid","rare","raspy","rational","ratty","raw","ready","real","realistic","rear","reasonable","recent","reduced","redundant","regional","registered","regular","regulatory","related","relative","relaxed","relevant","reliable","relieved","religious","reluctant","remaining","remarkable","remote","renewed","representative","repulsive","required","resident","residential","resonant","respectable","respective","responsible","resulting","retail","retired","revolutionary","rich","ridiculous","right","rigid","ripe","rising","rival","roasted","robust","rolling","romantic","rotten","rough","round","royal","rubber","rude","ruling","running","rural","sacred","sad","safe","salty","satisfactory","satisfied","scared","scary","scattered","scientific","scornful","scrawny","screeching","secondary","secret","secure","select","selected","selective","selfish","semantic","senior","sensible","sensitive","separate","serious","severe","sexual","shaggy","shaky","shallow","shared","sharp","sheer","shiny","shivering","shocked","short","shrill","shy","sick","significant","silent","silky","silly","similar","simple","single","skilled","skinny","sleepy","slight","slim","slimy","slippery","slow","small","smart","smiling","smoggy","smooth","social","socialist","soft","solar","sole","solid","sophisticated","sore","sorry","sound","sour","southern","soviet","spare","sparkling","spatial","special","specific","specified","spectacular","spicy","spiritual","splendid","spontaneous","sporting","spotless","spotty","square","squealing","stable","stale","standard","static","statistical","statutory","steady","steep","sticky","stiff","still","stingy","stormy","straight","straightforward","strange","strategic","strict","striking","striped","strong","structural","stuck","stupid","subjective","subsequent","substantial","subtle","successful","successive","sudden","sufficient","suitable","sunny","super","superb","superior","supporting","supposed","supreme","sure","surprised","surprising","surrounding","surviving","suspicious","sweet","swift","symbolic","sympathetic","systematic","tall","tame","tart","tasteless","tasty","technical","technological","teenage","temporary","tender","tense","terrible","territorial","testy","then","theoretical","thick","thin","thirsty","thorough","thoughtful","thoughtless","thundering","tight","tiny","tired","top","tory","total","tough","toxic","traditional","tragic","tremendous","tricky","tropical","troubled","typical","ugliest","ugly","ultimate","unable","unacceptable","unaware","uncertain","unchanged","uncomfortable","unconscious","underground","underlying","unemployed","uneven","unexpected","unfair","unfortunate","unhappy","uniform","uninterested","unique","united","universal","unknown","unlikely","unnecessary","unpleasant","unsightly","unusual","unwilling","upper","upset","uptight","urban","urgent","used","useful","useless","usual","vague","valid","valuable","variable","varied","various","varying","vast","verbal","vertical","very","vicarious","vicious","victorious","violent","visible","visiting","visual","vital","vitreous","vivacious","vivid","vocal","vocational","voiceless","voluminous","voluntary","vulnerable","wandering","warm","wasteful","watery","weak","wealthy","weary","wee","weekly","weird","welcome","well","western","wet","whispering","whole","wicked","wide","widespread","wild","wilful","willing","willowy","wily","wise","wispy","wittering","witty","wonderful","wooden","working","worldwide","worried","worrying","worthwhile","worthy","written","wrong","xenacious","xenial","xenogeneic","xenophobic","xeric","xerothermic","yabbering","yammering","yappiest","yappy","yawning","yearling","yearning","yeasty","yelling","yelping","yielding","yodelling","young","youngest","youthful","ytterbic","yucky","yummy","zany","zealous","zeroth","zestful","zesty","zippy","zonal","zoophagous","zygomorphic","zygotic"],c5=["aardvark","aardwolf","albatross","alligator","alpaca","amphibian","anaconda","angelfish","anglerfish","ant","anteater","antelope","antlion","ape","aphid","armadillo","asp","baboon","badger","bandicoot","barnacle","barracuda","basilisk","bass","bat","bear","beaver","bedbug","bee","beetle","bird","bison","blackbird","boa","boar","bobcat","bobolink","bonobo","booby","bovid","bug","butterfly","buzzard","camel","canid","canidae","capybara","cardinal","caribou","carp","cat","caterpillar","catfish","catshark","cattle","centipede","cephalopod","chameleon","cheetah","chickadee","chicken","chimpanzee","chinchilla","chipmunk","cicada","clam","clownfish","cobra","cockroach","cod","condor","constrictor","coral","cougar","cow","coyote","crab","crane","crawdad","crayfish","cricket","crocodile","crow","cuckoo","damselfly","deer","dingo","dinosaur","dog","dolphin","donkey","dormouse","dove","dragon","dragonfly","duck","eagle","earthworm","earwig","echidna","eel","egret","elephant","elk","emu","ermine","falcon","felidae","ferret","finch","firefly","fish","flamingo","flea","fly","flyingfish","fowl","fox","frog","galliform","gamefowl","gayal","gazelle","gecko","gerbil","gibbon","giraffe","goat","goldfish","goose","gopher","gorilla","grasshopper","grouse","guan","guanaco","guineafowl","gull","guppy","haddock","halibut","hamster","hare","harrier","hawk","hedgehog","heron","herring","hippopotamus","hookworm","hornet","horse","hoverfly","hummingbird","hyena","iguana","impala","jackal","jaguar","jay","jellyfish","junglefowl","kangaroo","kingfisher","kite","kiwi","koala","koi","krill","ladybug","lamprey","landfowl","lark","leech","lemming","lemur","leopard","leopon","limpet","lion","lizard","llama","lobster","locust","loon","louse","lungfish","lynx","macaw","mackerel","magpie","mammal","manatee","mandrill","marlin","marmoset","marmot","marsupial","marten","mastodon","meadowlark","meerkat","mink","minnow","mite","mockingbird","mole","mollusk","mongoose","monkey","moose","mosquito","moth","mouse","mule","muskox","narwhal","newt","nightingale","ocelot","octopus","opossum","orangutan","orca","ostrich","otter","owl","ox","panda","panther","parakeet","parrot","parrotfish","partridge","peacock","peafowl","pelican","penguin","perch","pheasant","pig","pigeon","pike","pinniped","piranha","planarian","platypus","pony","porcupine","porpoise","possum","prawn","primate","ptarmigan","puffin","puma","python","quail","quelea","quokka","rabbit","raccoon","rat","rattlesnake","raven","reindeer","reptile","rhinoceros","roadrunner","rodent","rook","rooster","roundworm","sailfish","salamander","salmon","sawfish","scallop","scorpion","seahorse","shark","sheep","shrew","shrimp","silkworm","silverfish","skink","skunk","sloth","slug","smelt","snail","snake","snipe","sole","sparrow","spider","spoonbill","squid","squirrel","starfish","stingray","stoat","stork","sturgeon","swallow","swan","swift","swordfish","swordtail","tahr","takin","tapir","tarantula","tarsier","termite","tern","thrush","tick","tiger","tiglon","toad","tortoise","toucan","trout","tuna","turkey","turtle","tyrannosaurus","unicorn","urial","vicuna","viper","vole","vulture","wallaby","walrus","warbler","wasp","weasel","whale","whippet","whitefish","wildcat","wildebeest","wildfowl","wolf","wolverine","wombat","woodpecker","worm","wren","xerinae","yak","zebra"];const Uu=/^[a-z]{2,15}-[a-z]{2,15}(-[0-9]+)?$/,Wu=/^[a-z]{2,15}$/,Gu=l5.filter(t=>Wu.test(t)),ju=c5.filter(t=>Wu.test(t));function M7(){return o5({dictionaries:[Gu,ju],separator:"-",style:"lowerCase",length:2})}function I7(t,e){return`${t}-${e}`}function u5(t){const e=t.match(/^([a-z]{2,15}-[a-z]{2,15})(?:-[0-9]+)?$/);return e?e[1]:t}const Fl=new Set(Gu),Hl=new Set(ju),h5=new Set;function z7(t){return!t||typeof t!="string"?!1:Uu.test(t)||/^[a-z]{2,15}-[a-z]{2,15}-[a-z0-9]{4}$/.test(t)?!0:/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i.test(t)}function R7(t){if(!t||typeof t!="string")return!1;if(h5.has(t))return!0;if(Uu.test(t)){const n=u5(t).split("-");if(n.length===2){const[a,i]=n;if(Fl.has(a)&&Hl.has(i))return!0}}if(/^[a-z]{2,15}-[a-z]{2,15}-[a-z0-9]{4}$/.test(t)){const r=t.split("-");if(r.length===3){const[n,a]=r;if(Fl.has(n)&&Hl.has(a))return!0}}return!1}const D7=E.createSelector(t=>qr.select(t)?.capabilities.sessionImport===1),N7=E.createSelector(t=>{const e=t.importableSessions?.sessions;return e?ve(e):[]}),P7=E.createSelector(t=>{const e=t.importableSessions?.providers;return e?ve(e):[]}),_7=E.createSelector(t=>t.importableSessions?.status??"idle"),d5=Oi("ContextAPI");function L7(t){return t.some(e=>e.placementStatus==="placing"||e.placementStatus==="failed")}async function Ul(t,e,r){return d5.debug("Placing attachment",{workspaceId:t,fileName:e,viaSourcePath:r.sourcePath!==void 0,keyed:r.idempotencyKey!==void 0}),await wn("file.placeAttachment",{workspaceId:t,fileName:e,...r.data!==void 0?{data:r.data}:{},...r.sourcePath!==void 0?{sourcePath:r.sourcePath}:{},...r.mimeType!==void 0&&r.mimeType!==""?{mimeType:r.mimeType}:{},...r.idempotencyKey!==void 0?{idempotencyKey:r.idempotencyKey}:{},...r.rawScreenshot!==void 0?{rawScreenshot:r.rawScreenshot}:{}})}async function p5(t,e,r,n,a={}){return await wn("file.attachmentUpload.begin",{workspaceId:t,fileName:e,sizeBytes:r,sha256:n,...a.mimeType!==void 0&&a.mimeType!==""?{mimeType:a.mimeType}:{},...a.idempotencyKey!==void 0?{idempotencyKey:a.idempotencyKey}:{},...a.rawScreenshot!==void 0?{rawScreenshot:a.rawScreenshot}:{}})}const Vu=300*1e3;async function m5(t,e,r,n){return await wn("file.attachmentUpload.chunk",{uploadId:t,seq:e,data:r,...n!==void 0?{workspaceId:n}:{}},{timeoutMs:Vu})}async function f5(t,e){return await wn("file.attachmentUpload.commit",{uploadId:t,...e!==void 0?{workspaceId:e}:{}},{timeoutMs:Vu})}async function g5(t,e){return await wn("file.attachmentUpload.abort",{uploadId:t,...e!==void 0?{workspaceId:e}:{}})}async function v5(t){const e=typeof t=="string"?{attachmentId:t}:t.attachmentId!==void 0?{workspaceId:t.workspaceId,attachmentId:t.attachmentId}:{workspaceId:t.workspaceId,idempotencyKey:t.idempotencyKey};return await wn("file.getAttachmentInfo",e)}async function O7(t,e,r){return await je("file:download-attachment",{workspaceId:t,path:e,fileName:r})}const Ku=25*1024*1024,Wl=1024*1024*1024,b5=16*1024*1024,Xu="attachment upload cancelled";function y5(t,e){return e?.aborted===!0||t instanceof Error&&t.message===Xu}function B0(t){if(t?.aborted)throw new Error(Xu)}function w5(){return!W1.select(E.state)}function k5(t){return rc(t,9,13)}function Yu(){return k5(E.state?.daemonHealth?.stats?.protocolVersion)}function $7(t){if(Yu())return t??crypto.randomUUID()}function Zu(t){if(!t||typeof t!="object")return!1;const{rpcCode:e,code:r}=t;return e===-32602||r==="INVALID_PARAMS"}function x5(t){return Zu(t)&&/already committed/i.test(String(t.message??""))}function S5(t){return{ok:!0,path:t.path,fileName:t.fileName,size:t.size,attachmentId:t.attachmentId,...t.mimeType!==void 0?{mimeType:t.mimeType}:{},uploadedAt:t.uploadedAt,replayed:!0,...t.rawScreenshot!==void 0?{rawScreenshot:t.rawScreenshot}:{}}}async function Pi(t,e,r=v5){try{return S5(await r({workspaceId:t,idempotencyKey:e}))}catch{return}}function Qu(t,e,r){return e!==void 0&&!Zu(t)&&!y5(t,r)}async function Gl(t,e,r,n,a=()=>!0){try{return lt(a),await n()}catch(i){if(lt(a),Qu(i,e,r)){const s=await Pi(t,e);if(s)return s}throw i}}const Ju="file:read returned an unexpected response",ys="file:read failed";function ws(t){if(!t||typeof t!="object"||!("success"in t))throw new Error(Ju);if(!t.success||t.data===void 0)throw new Error(t.error?.message??ys);return t.data}async function A5(t){const e=await je("file:read",{path:t,encoding:"base64",maxSize:Ku,truncateIfLarge:!1}),r=ws(e);if(r.content===void 0)throw new Error(e.error?.message??ys);return r.content}async function e1(t,e,r){const n=await je("file:read-chunk",{path:t,offset:e,length:r});return ws(n)}async function T5(t){const{size:e}=await e1(t,0,1);return e}async function E5(t){const e=await je("file:hash",{path:t});return ws(e).sha256}const C5=new Set(["Internal error","Backend request failed",Ju,ys]);async function B7(t,e,r,n,a,i=()=>!0){lt(i);const s=Yu()?r.idempotencyKey:void 0,o=s!==void 0?{idempotencyKey:s}:{};if(!w5())return Gl(t,s,a,()=>Ul(t,e,{sourcePath:r.sourcePath,mimeType:r.mimeType,...o}),i);const c=await T5(r.sourcePath);if(lt(i),c>Wl)throw new Error(ie.chat_attachmentPlacement_tooLargeRemote_error({name:e,maxGb:Math.round(Wl/(1024*1024*1024))}));if(c>Ku)return M5(t,e,{...r,idempotencyKey:s},c,n,a,i);const h=await A5(r.sourcePath);return lt(i),B0(a),Gl(t,s,a,()=>Ul(t,e,{data:h,mimeType:r.mimeType,...o}),i)}async function M5(t,e,r,n,a,i,s=()=>!0){lt(s);const o=await E5(r.sourcePath);lt(s),B0(i);let c,h;try{({uploadId:c,maxChunkBytes:h}=await p5(t,e,n,o,{mimeType:r.mimeType,...r.idempotencyKey!==void 0?{idempotencyKey:r.idempotencyKey}:{}}))}catch(w){if(lt(s),r.idempotencyKey!==void 0&&x5(w)){const A=await Pi(t,r.idempotencyKey);if(A)return A}throw w}const d=Math.min(b5,h),v=Math.ceil(n/d);let m=!1;try{for(let w=0;w<v;w++){lt(s),B0(i);const{content:A}=await e1(r.sourcePath,w*d,d);lt(s),await m5(c,w,A,t),lt(s),a?.((w+1)/v)}return B0(i),lt(s),m=!0,await f5(c,t)}catch(w){if(lt(s),m&&Qu(w,r.idempotencyKey,i)){const A=await Pi(t,r.idempotencyKey);if(A)return A}throw lt(s),await g5(c,t).catch(()=>{}),w}}function q7(t){if(!t||typeof t!="object")return;const e=t.data;if(e&&typeof e=="object"){const n=e.detail;if(typeof n=="string"&&n.trim().length>0)return n.trim()}const r=t.message;if(typeof r=="string"&&r.trim().length>0&&!C5.has(r.trim()))return r.trim()}function lt(t){if(!t())throw new DOMException("Obsolete attachment submission","AbortError")}function t1(t){const e=t?.split(";")[0].trim().toLowerCase()??"";return e==="image/jpg"?"image/jpeg":e}function F7(t){return["image/png","image/jpeg","image/gif","image/webp"].includes(t1(t))}const I5={"image/png":"png","image/jpeg":"jpg","image/gif":"gif","image/webp":"webp","image/svg+xml":"svg","image/avif":"avif","image/bmp":"bmp","image/tiff":"tiff","image/x-icon":"ico","image/vnd.microsoft.icon":"ico","image/heic":"heic","image/heif":"heif","image/jxl":"jxl"};function H7(t,e){const r=I5[t1(t)]??"bin";return`${e}.${r}`}const z5=Oi("InAppFileInputs");function R5(t=globalThis.window){return t?.electronAPI?.preferInAppPicker===!0}function D5(t){return typeof HTMLInputElement<"u"&&t instanceof HTMLInputElement&&t.type==="file"}const r1=new WeakMap;function U7(t,e=globalThis.window){let r="";try{r=e?.electronAPI?.getPathForFile?.(t)??""}catch{r=""}return r||r1.get(t)||""}function N5(t){const e=new DataTransfer;for(const r of t)e.items.add(new File([r.data],r.name,{type:r.type}));return e.files}async function P5(t,e){const r={accept:t.accept||void 0,multiple:t.multiple},n=await e.invoke(eh.IN_APP_FILE_DIALOG.PICK_FILES,r);return!Array.isArray(n)||n.length===0?(t.dispatchEvent(new Event("cancel",{bubbles:!0})),!1):(t.files=N5(n),Array.from(t.files??[],(a,i)=>{const s=n[i]?.path;s&&r1.set(a,s)}),t.dispatchEvent(new Event("input",{bubbles:!0})),t.dispatchEvent(new Event("change",{bubbles:!0})),!0)}function W7(t=globalThis.window){if(!t||!R5(t))return()=>{};const e=t.electronAPI;let r=!1;const n=a=>{const i=a.target;!D5(i)||i.disabled||(a.preventDefault(),!r&&(r=!0,P5(i,e).catch(s=>{z5.warn("in-app picker failed",{error:s instanceof Error?s.message:String(s)})}).finally(()=>{r=!1})))};return t.addEventListener("click",n,!0),()=>t.removeEventListener("click",n,!0)}let _5=0;const ks=new WeakSet;function G7(t){const e=E.dispatch,r=E.state.connections.windowBackendId,n=si.select(E.state,t.id);if(!n||E.state.workspace.pendingDeletions[t.id])return null;const a=`operation-${++_5}`;let i=!1;const s=()=>{try{return E.dispatch===e&&E.state.connections.windowBackendId===r}catch{return!1}},o=()=>s()&&E.state.workspace.deletionTokens[t.id]===a,c=()=>s()&&mr.select(E.state)===n&&(i?o()&&E.state.workspace.invalidatedDeletions[t.id]!==a&&E.state.workspace.terminalDeletions[t.id]!==a:si.select(E.state,t.id)===n),h={workspaceId:t.id,current:c,terminal(){return!i||!o()||mr.select(E.state)!==n||E.state.workspace.terminalDeletions[t.id]!==a?null:E.state.workspace.invalidatedDeletions[t.id]===a?"denied":"removed"},begin(d=!0){return i||!c()||E.state.workspace.pendingDeletions[t.id]?!1:(e(nh(t.id,a)),d&&e(ah(t.id)),i=!0,c())},restore(){c()&&(e(oi(t.id,a)),e(rh(t)))},expire(){o()&&e(oi(t.id,a))}};return ks.add(h),h}function jl(t,e){return ks.has(t)&&t.workspaceId===e&&t.current()}function L5(t,e){return ks.has(t)&&t.workspaceId===e&&t.terminal()==="removed"}function j7(t){const e=E.dispatch,r=E.state.connections.windowBackendId,n=E.state.workspace.deletionTokens[t];return()=>{try{n&&E.dispatch===e&&E.state.connections.windowBackendId===r&&e(oi(t,n))}catch{}}}function zr(t,e){const r=()=>t===void 0?Xl.select(E.state)?mr.select(E.state):null:e?G1.select(E.state,t,e):si.select(E.state,t),n=E.dispatch,a=r();return()=>{try{return E.dispatch===n&&a!==null&&a===r()}catch{return!1}}}const ot=()=>({ok:!1,error:ie.workspace_client_accessChanged_error()}),or=new vn("WorkspaceClient"),O5=100;function Pn(t){return{...t,path:t.path?.replaceAll("\\","/"),repositoryPath:t.repositoryPath?.replaceAll("\\","/"),worktreePath:t.worktreePath?.replaceAll("\\","/")}}class $5{constructor(){le(this,"pendingRequests",new Map);le(this,"cache",new Map);le(this,"CACHE_TTL",5e3);le(this,"mutationCounter",0)}getCacheKey(e,r){return`${e}:${JSON.stringify(r||{})}`}pruneExpiredCacheEntries(e=Date.now()){for(const[r,n]of this.cache)e-n.timestamp>=this.CACHE_TTL&&this.cache.delete(r)}setCacheEntry(e,r){for(this.pruneExpiredCacheEntries(),this.cache.delete(e),this.cache.set(e,{data:r,timestamp:Date.now()});this.cache.size>O5;){const n=this.cache.keys().next().value;if(n===void 0)break;this.cache.delete(n)}}shouldCacheResponse(e){return e!==Er.LIST&&(e.includes(":get")||e.includes(":list"))}async invoke(e,r){try{const n=this.mutationCounter,a=this.getCacheKey(e,r)+(e===Er.LIST?JSON.stringify([E.state.connections.windowBackendId,mr.select(E.state)]):"");this.pruneExpiredCacheEntries();const i=this.pendingRequests.get(a);if(i)return or.debug(`[WorkspaceClient] Reusing pending request for ${e}`),i;if(this.shouldCacheResponse(e)){const o=this.cache.get(a);if(o&&Date.now()-o.timestamp<this.CACHE_TTL)return or.debug(`[WorkspaceClient] Using cached response for ${e}`),{ok:!0,data:o.data};o&&this.cache.delete(a)}const s=(async()=>{if(typeof window<"u"&&window.electronAPI){let o=r;if(r!==void 0)try{o=JSON.parse(JSON.stringify(r))}catch(d){if(or.error(`[WorkspaceClient] Data serialization failed for ${e}:`,{error:d,dataKeys:r?Object.keys(r):[]}),r&&typeof r=="object")for(const[v,m]of Object.entries(r))try{JSON.stringify(m)}catch{or.error(`[WorkspaceClient] Non-serializable field: ${v}`,{type:typeof m,constructor:m?.constructor?.name})}throw new Error(`Data serialization failed: ${d instanceof Error?d.message:"Unknown error"}`)}const c=await Qs(e,o),h=this.normalizeResponse(c);return h.ok&&this.shouldCacheResponse(e)&&n===this.mutationCounter&&this.setCacheEntry(a,h.data),h}return{ok:!1,error:"IPC not available"}})();this.pendingRequests.set(a,s);try{return await s}finally{this.pendingRequests.delete(a)}}catch(n){return or.error(`[WorkspaceClient] IPC error for ${e}:`,n),{ok:!1,error:n instanceof Error?n.message:"IPC call failed"}}}clearCache(e){if(this.mutationCounter++,e){for(const[r]of this.cache)r.includes(e)&&this.cache.delete(r);for(const[r]of this.pendingRequests)r.includes(e)&&this.pendingRequests.delete(r)}else this.cache.clear(),this.pendingRequests.clear()}normalizeResponse(e){return e==null?{ok:!1,error:"No response received"}:"ok"in e?e.ok?{ok:!0,data:e.data}:{ok:!1,error:e.error||"Unknown error"}:"success"in e?e.success?{ok:!0,data:e.data}:{ok:!1,error:e.error||"Unknown error"}:{ok:!1,error:"Invalid response format"}}async list(e){const r=await this.invoke(Er.LIST,{lite:e?.lite});return r.ok?r.data&&"workspaces"in r.data?{ok:!0,data:r.data.workspaces.map(Pn)}:{ok:!0,data:r.data.map(Pn),complete:!0}:r}async create(e){const r=e.initialAgent;or.info(`[WorkspaceClient] create called: title=${e.title}, hasInitialAgent=${!!r}, specialist=${r?.specialist}, model=${r?.model}, keys=${r?Object.keys(r).join(","):"none"}`);const n=zr();if(!n())return ot();const a=await Tr.workspaces.create(e);if(!n())return ot();if(or.info("[WorkspaceClient] create result",{success:a.success,scope:e.scope,initialAgentId:a.success?a.initialAgent?.id:void 0,error:a.success?void 0:a.error}),a.success&&a.workspace)return this.clearCache(),{ok:!0,data:{workspace:Pn(a.workspace),initialAgent:a.initialAgent,...a.proposalOrigin?{proposalOrigin:a.proposalOrigin}:{}}};const i=a.error||ie.workspace_client_createFailed_error();return a.errorCode?{ok:!1,error:i,errorCode:a.errorCode,...a.launchFailure?{launchFailure:a.launchFailure}:{},...a.baseRefreshFailure?{baseRefreshFailure:a.baseRefreshFailure}:{}}:{ok:!1,error:i}}async open(e){const r=await this.invoke(Er.OPEN,{id:e});return r.ok?{ok:!0,data:Pn(r.data)}:r}async update(e){const r=zr(e.id,Object.keys(e));if(!r())return ot();const n=await Tr.workspaces.update(e);return r()?n.success&&n.workspace?(this.clearCache(e.id),this.clearCache(),{ok:!0,data:Pn(n.workspace)}):{ok:!1,error:n.error||ie.workspace_client_updateFailed_error()}:ot()}async delete(e,r,n){const a=n?()=>jl(n,e):zr(e);if(!a())return{...ot(),obsolete:!0};const i=await Tr.workspaces.delete(e,r);return!a()&&!(n&&L5(n,e))?{...ot(),obsolete:!0}:i.success?(this.clearCache(e),this.clearCache(),i.scheduled&&i.deleteAt?{ok:!0,data:{scheduled:!0,deleteAt:i.deleteAt}}:{ok:!0,data:void 0}):{ok:!1,error:i.error||ie.workspace_client_deleteFailed_error()}}async cancelDelete(e,r){const n=r?()=>jl(r,e):zr(e);if(!n())return{...ot(),obsolete:!0};const a=await Tr.workspaces.cancelDelete(e);return n()?a.success?(this.clearCache(e),this.clearCache(),{ok:!0,data:{cancelled:a.cancelled===!0}}):{ok:!1,error:a.error||ie.workspace_client_cancelDeleteFailed_error()}:{...ot(),obsolete:!0}}async archive(e){const r=zr(e);if(!r())return ot();const n=await Tr.workspaces.archive(e);return r()?n.success?(this.clearCache(e),this.clearCache(),{ok:!0,data:void 0}):{ok:!1,error:n.error||ie.workspace_client_archiveFailed_error()}:ot()}async unarchive(e){const r=zr(e);if(!r())return ot();const n=await Tr.workspaces.unarchive(e);return r()?n.success?(this.clearCache(e),this.clearCache(),{ok:!0,data:void 0}):{ok:!1,error:n.error||ie.workspace_client_unarchiveFailed_error()}:ot()}async retire(e){const r=zr(e);if(!r())return ot();const n=await Tr.workspaces.retire(e);return r()?n.success?(this.clearCache(e),this.clearCache(),{ok:!0,data:n.workspace}):{ok:!1,error:n.error||ie.workspace_ops_purgeFailed_error(),...n.errorCode?{errorCode:n.errorCode}:{}}:ot()}async invokeFresh(e,r){try{if(typeof window<"u"&&window.electronAPI){const n=await Qs(e,r);return this.normalizeResponse(n)}return{ok:!1,error:"IPC not available"}}catch(n){return or.error(`[WorkspaceClient] IPC error for ${e}:`,n),{ok:!1,error:n instanceof Error?n.message:"IPC call failed"}}}async getDiffSummary(e){return this.invokeFresh(Er.GET_DIFF_SUMMARY,{workspaceId:e})}async getGitSummary(e){return this.invokeFresh(Er.GET_GIT_SUMMARY,{workspaceId:e})}async getTasks(e){return this.invokeFresh(Er.GET_TASKS,{workspaceId:e})}}const V7=new $5;function Vl(t,e){return{key:t.id,confirmedId:t.id,confirmed:t,content:t.content,messageMetadata:t.messageMetadata,imageBlocks:[...t.imageBlocks??[]],fileBlocks:[...t.fileBlocks??[]],deliveryGroups:t.deliveryGroups,contextItems:[...t.contextItems??[]],contributions:[],blocksMutations:e}}function Kl(t){return!t.imageBlocks?.length&&!t.fileBlocks?.length}function n1(t,e){const r=t?.supported===!0,n=r&&(t.refreshNeeded||ih(t)),a=e.map(k=>Vl(k,n));if(!t)return{conversation:[],processing:[],queue:a};const i=new Set(ve(t.seeds).flatMap(k=>k0(k,t.scope.principalId))),s=ve(t.submissions).filter(k=>!i.has(k.id)),o=new Set(e.flatMap(k=>k0(k,t.scope.principalId))),c=ve(t.processing).filter(k=>!k0(k,t.scope.principalId).some(I=>o.has(I))),h=s.filter(k=>k.destination==="conversation");if(!r)return{conversation:h,processing:c,queue:a};for(const k of ve(t.seeds)){const I=a.findIndex(K=>K.confirmedId===k.id),R=Vl(k,!0),Z=k0(k,t.scope.principalId);R.contributions=ve(t.submissions).filter(K=>Z.includes(K.id)),I>=0?(R.confirmed=a[I].confirmed,a[I]=R):(R.confirmedId=void 0,R.confirmed=void 0,a.push(R))}const d=e.filter(k=>k.mergeEligible===!0),v=!n&&d.length===1&&d[0].author?.principalId===t.scope.principalId&&d[0].submissionIds?.length&&!d[0].recoverySources?d[0].id:void 0;let m=v?a.find(k=>k.confirmedId===v):void 0;for(const k of s.filter(I=>I.destination==="queue")){const I=m&&Kl(m)&&Kl(k)?m:void 0;if(I)I.content=[I.content,k.content].filter(Boolean).join(`
|
|
479
479
|
|
|
480
|
-
`),I.imageBlocks.push(...k.imageBlocks??[]),I.fileBlocks.push(...k.fileBlocks??[]),I.contextItems.push(...k.contextItems??[]),I.contributions.push(k),I.blocksMutations=!0,m=I;else{const R={key:k.id,content:k.content,messageMetadata:k.messageMetadata,imageBlocks:[...k.imageBlocks??[]],fileBlocks:[...k.fileBlocks??[]],contextItems:[...k.contextItems??[]],contributions:[k],blocksMutations:!0};a.push(R),n||(m=R)}}const w=new Map(ve(t.submissions).map((k,I)=>[k.id,I])),A=k=>Math.min(...k.contributions.map(I=>w.get(I.id)??1/0)),C=a.filter(k=>!k.confirmedId).sort((k,I)=>A(k)-A(I));let M=0;for(let k=0;k<a.length;k+=1)a[k].confirmedId||(a[k]=C[M++]);return{conversation:h,processing:c,queue:a}}function B5(t,e){return t.some(r=>r.blocksMutations&&(!r.confirmedId||e===void 0||e===r.confirmedId||!!r.confirmed?.editingMessageId&&e===r.confirmed.editingMessageId))}const oa=E.createSelector((t,e)=>{const r=t.pendingSubmissions?.byAgentId[e.agentId];if(!r||!sh(r.scope,e)||j1.select(t,e.workspaceId)!==e.participation||qr.select(t)?.principal.id!==e.principalId)return;const n=t.agentSessions?.byAgentId[e.agentId]?.workspaceId;return n!==void 0&&n!==e.workspaceId?void 0:r}),q5=E.createSelector((t,e)=>n1(oa.select(t,e),X0.select(t,e.agentId,e.workspaceId))),K7=E.createSelector(t=>t.pendingSubmissions),X7=E.createSelector((t,e)=>{const r=oa.select(t,e.scope);return!!r&&(!!xe(r.operations,e.id)||!!xe(r.submissions,e.id))}),F5=E.createSelector((t,e,r)=>{const n=t.pendingSubmissions?.byAgentId[e]?.scope;return n?.workspaceId===r?q5.select(t,n):n1(void 0,X0.select(t,e,r))}),Y7=E.createSelector((t,e)=>{const r=oa.select(t,e.scope);return!!r&&xe(r.operations,e.id)?.observed===!0}),Z7=E.createSelector((t,e,r,n)=>B5(F5.select(t,e,r).queue,n));function xs(t,e,r){const n=t.pendingSubmissions?.byAgentId[e]?.scope,a=n?oa.select(t,n):void 0;return a?[...ve(a.submissions),...ve(a.processing),...ve(a.tombstones).filter(i=>i.reason==="history"||i.reason==="processing")].some(i=>bh({metadata:i.messageMetadata}).includes(r)):!1}function H5(t,e,r,n=!1){const a=V1.select(t,e),i=X0.select(t,e),s=t.agentSessions?.byAgentId[e],o=$i(s?.metadata?.pendingQuestionsMessageId),c=o.kind==="set"?r.find(w=>w.id===o.messageId)??_i.select(t,e,o.messageId):void 0,h=t.chatState?.byAgentId[e]?.pendingQuestionRecovery,d=o.kind==="set"&&!c&&h?.messageId===o.messageId&&h.status==="found"&&h.questions&&h.questions.length>0?{messageId:o.messageId,questions:h.questions}:null,v=o.kind==="set"&&c&&!r.includes(c)?[c,...r]:r,m=d?n||nc(r,d.messageId)||ac(i,d.messageId)?null:d:vh(v,a,n,o.kind==="set"?o.messageId:o.kind==="cleared"?"":void 0,i);return!m||xs(t,e,m.messageId)||ic(s?.metadata,m.messageId)?null:m}function U5(t){return t.role==="assistant"&&t.provisional!==!0&&t.isStreaming!==!0&&(t.contentBlocks??[]).some(e=>yh(e)!==null)}function Q7(t,e,r){if(H5(t,e,r))return!0;const n=t.agentSessions?.byAgentId[e],a=$i(n?.metadata?.pendingQuestionsMessageId);if(a.kind!=="set"||xs(t,e,a.messageId)||ic(n?.metadata,a.messageId)||nc(r,a.messageId))return!1;const i=X0.select(t,e);if(ac(i,a.messageId))return!1;const s=r.find(h=>h.id===a.messageId)??_i.select(t,e,a.messageId);if(s)return!U5(s);const o=t.chatState?.byAgentId[e]?.pendingQuestionRecovery;return!(o?.messageId===a.messageId&&o.status==="found"&&!!o.questions&&o.questions.length>0)}function J7(t,e){const r=$i(t.agentSessions?.byAgentId[e]?.metadata?.pendingQuestionsMessageId);if(r.kind!=="set"||xs(t,e,r.messageId)||_i.select(t,e,r.messageId))return null;const n=t.chatState?.byAgentId[e]?.pendingQuestionRecovery;if(n?.messageId===r.messageId){const a=n.status==="found"&&!!n.questions&&n.questions.length>0;return{messageId:r.messageId,shouldRequest:!1,loading:!a}}return{messageId:r.messageId,shouldRequest:!0,loading:!0}}const W5=E.createSelector(t=>t.permission.requests),G5=E.createSelector(t=>ve(W5.select(t))),j5=E.createSelector((t,e)=>G5.select(t).filter(r=>r.sessionId===e)),eg=E.createSelector((t,e)=>j5.select(t,e).length),tg=E.createSelector(t=>{const e=Ql.select(t),r=e.actionContext;if(!r||!K1.select(t,t.connections.windowBackendId))return null;const n=ve(t.workspace.workspaces).filter(a=>Jl(e,a.id,()=>a)!==null).map(a=>a.id).sort();return JSON.stringify([r,n])}),rg=E.createSelector(t=>{const e=Ql.select(t),r=new Map,n=a=>{let i=r.get(a);if(!i){const s=()=>xe(t.workspace.workspaces,a);i=[Jl(e,a,s),X1(e,a,s)],r.set(a,i)}return i};return JSON.stringify(Object.values(t.agentSessions.byAgentId).flatMap(a=>a.workspaceId?[[a.id,a.workspaceId,...n(a.workspaceId)]]:[]).sort((a,i)=>a[0].localeCompare(i[0])))}),ng=E.createSelector((t,e,r)=>{const n=t.agentMutationUi.byWorkspaceId[e],a=n?xe(n.consumers,r):void 0;return a&&!a.consumed?{...a,workspaceId:e}:void 0});function ag(t){if(!t)return!0;const e=t.trim().toLowerCase();return e==="new agent"||e==="orchestrator"||e==="assistant"||e.startsWith("thread ")||e.startsWith("workspace agent")||/^chat \d{1,2}-\d{2} (am|pm)$/i.test(e)}function ig(t){return/^agent-[a-f0-9-]{36}$/i.test(t)}const sg=E.createSelector(t=>t.uiLayout.lineWrapping),og=E.createSelector(t=>t.uiLayout.foldUnchanged),lg=E.createSelector(t=>t.uiLayout.diffSideBySide),cg=E.createSelector(t=>t.uiLayout.diffIndicators),ug=E.createSelector(t=>t.uiLayout.sidebarWidth),hg=E.createSelector(t=>t.uiLayout.sidebarExpandedWidth),dg=E.createSelector(t=>t.uiLayout.sidebarCollapsed),pg=E.createSelector((t,e,r)=>{const n=t.uiLayout.panelVisibility.byWorkspaceId[e];return n?n[r]:oh[r]}),mg=E.createSelector(t=>t.uiLayout.spacesSidebarWidth),fg=E.createSelector(t=>t.uiLayout.spacesSidebarCollapsed),gg=E.createSelector(t=>t.uiLayout.tabbedSidebarPinned),vg=E.createSelector(t=>t.uiLayout.sidebarSide),bg=E.createSelector((t,e)=>t.uiLayout.resizablePanelSizes[e]),yg=E.createSelector((t,e)=>t.uiLayout.hydratedResizablePanelSizes[e]===!0),Ss=E.createSelector((t,e)=>t.skills.byWorkspaceId[e]??lh),wg=E.createSelector((t,e)=>Ss.select(t,e).skills),kg=E.createSelector((t,e)=>Ss.select(t,e).loading),xg=E.createSelector((t,e)=>Ss.select(t,e).error),Sg=E.createSelector((t,e)=>t.skills.byAgentId?.[e]??ch),Ag=E.createSelector((t,e)=>!!t.skills.byAgentId?.[e]),V5=E.createSelector(t=>qr.select(t)?.capabilities.remoteAgentSkills===1),Tg=E.createSelector((t,e)=>{if(!e||!V5.select(t))return;const r=t.agentSessions?.byAgentId[e];if(r?.nodeId)return r.nodeName??ie.chat_slashSkillSuggestionList_unnamedMachine_label()}),Eg=E.createSelector((t,e)=>t.agentSessions?.byAgentId[e]?.nodeState);export{b3 as $,E2 as A,u5 as B,q7 as C,Xf as D,g6 as E,f6 as F,pt as G,M7 as H,v5 as I,X3 as J,Eh as K,y3 as L,Ku as M,Zf as N,Z3 as O,u6 as P,T7 as Q,Q3 as R,qi as S,f3 as T,b5 as U,m3 as V,g3 as W,sc as X,x6 as Y,e6 as Z,J3 as _,g5 as a,
|
|
480
|
+
`),I.imageBlocks.push(...k.imageBlocks??[]),I.fileBlocks.push(...k.fileBlocks??[]),I.contextItems.push(...k.contextItems??[]),I.contributions.push(k),I.blocksMutations=!0,m=I;else{const R={key:k.id,content:k.content,messageMetadata:k.messageMetadata,imageBlocks:[...k.imageBlocks??[]],fileBlocks:[...k.fileBlocks??[]],contextItems:[...k.contextItems??[]],contributions:[k],blocksMutations:!0};a.push(R),n||(m=R)}}const w=new Map(ve(t.submissions).map((k,I)=>[k.id,I])),A=k=>Math.min(...k.contributions.map(I=>w.get(I.id)??1/0)),C=a.filter(k=>!k.confirmedId).sort((k,I)=>A(k)-A(I));let M=0;for(let k=0;k<a.length;k+=1)a[k].confirmedId||(a[k]=C[M++]);return{conversation:h,processing:c,queue:a}}function B5(t,e){return t.some(r=>r.blocksMutations&&(!r.confirmedId||e===void 0||e===r.confirmedId||!!r.confirmed?.editingMessageId&&e===r.confirmed.editingMessageId))}const oa=E.createSelector((t,e)=>{const r=t.pendingSubmissions?.byAgentId[e.agentId];if(!r||!sh(r.scope,e)||j1.select(t,e.workspaceId)!==e.participation||qr.select(t)?.principal.id!==e.principalId)return;const n=t.agentSessions?.byAgentId[e.agentId]?.workspaceId;return n!==void 0&&n!==e.workspaceId?void 0:r}),q5=E.createSelector((t,e)=>n1(oa.select(t,e),X0.select(t,e.agentId,e.workspaceId))),K7=E.createSelector(t=>t.pendingSubmissions),X7=E.createSelector((t,e)=>{const r=oa.select(t,e.scope);return!!r&&(!!xe(r.operations,e.id)||!!xe(r.submissions,e.id))}),F5=E.createSelector((t,e,r)=>{const n=t.pendingSubmissions?.byAgentId[e]?.scope;return n?.workspaceId===r?q5.select(t,n):n1(void 0,X0.select(t,e,r))}),Y7=E.createSelector((t,e)=>{const r=oa.select(t,e.scope);return!!r&&xe(r.operations,e.id)?.observed===!0}),Z7=E.createSelector((t,e,r,n)=>B5(F5.select(t,e,r).queue,n));function xs(t,e,r){const n=t.pendingSubmissions?.byAgentId[e]?.scope,a=n?oa.select(t,n):void 0;return a?[...ve(a.submissions),...ve(a.processing),...ve(a.tombstones).filter(i=>i.reason==="history"||i.reason==="processing")].some(i=>bh({metadata:i.messageMetadata}).includes(r)):!1}function H5(t,e,r,n=!1){const a=V1.select(t,e),i=X0.select(t,e),s=t.agentSessions?.byAgentId[e],o=$i(s?.metadata?.pendingQuestionsMessageId),c=o.kind==="set"?r.find(w=>w.id===o.messageId)??_i.select(t,e,o.messageId):void 0,h=t.chatState?.byAgentId[e]?.pendingQuestionRecovery,d=o.kind==="set"&&!c&&h?.messageId===o.messageId&&h.status==="found"&&h.questions&&h.questions.length>0?{messageId:o.messageId,questions:h.questions}:null,v=o.kind==="set"&&c&&!r.includes(c)?[c,...r]:r,m=d?n||nc(r,d.messageId)||ac(i,d.messageId)?null:d:vh(v,a,n,o.kind==="set"?o.messageId:o.kind==="cleared"?"":void 0,i);return!m||xs(t,e,m.messageId)||ic(s?.metadata,m.messageId)?null:m}function U5(t){return t.role==="assistant"&&t.provisional!==!0&&t.isStreaming!==!0&&(t.contentBlocks??[]).some(e=>yh(e)!==null)}function Q7(t,e,r){if(H5(t,e,r))return!0;const n=t.agentSessions?.byAgentId[e],a=$i(n?.metadata?.pendingQuestionsMessageId);if(a.kind!=="set"||xs(t,e,a.messageId)||ic(n?.metadata,a.messageId)||nc(r,a.messageId))return!1;const i=X0.select(t,e);if(ac(i,a.messageId))return!1;const s=r.find(h=>h.id===a.messageId)??_i.select(t,e,a.messageId);if(s)return!U5(s);const o=t.chatState?.byAgentId[e]?.pendingQuestionRecovery;return!(o?.messageId===a.messageId&&o.status==="found"&&!!o.questions&&o.questions.length>0)}function J7(t,e){const r=$i(t.agentSessions?.byAgentId[e]?.metadata?.pendingQuestionsMessageId);if(r.kind!=="set"||xs(t,e,r.messageId)||_i.select(t,e,r.messageId))return null;const n=t.chatState?.byAgentId[e]?.pendingQuestionRecovery;if(n?.messageId===r.messageId){const a=n.status==="found"&&!!n.questions&&n.questions.length>0;return{messageId:r.messageId,shouldRequest:!1,loading:!a}}return{messageId:r.messageId,shouldRequest:!0,loading:!0}}const W5=E.createSelector(t=>t.permission.requests),G5=E.createSelector(t=>ve(W5.select(t))),j5=E.createSelector((t,e)=>G5.select(t).filter(r=>r.sessionId===e)),eg=E.createSelector((t,e)=>j5.select(t,e).length),tg=E.createSelector(t=>{const e=Ql.select(t),r=e.actionContext;if(!r||!K1.select(t,t.connections.windowBackendId))return null;const n=ve(t.workspace.workspaces).filter(a=>Jl(e,a.id,()=>a)!==null).map(a=>a.id).sort();return JSON.stringify([r,n])}),rg=E.createSelector(t=>{const e=Ql.select(t),r=new Map,n=a=>{let i=r.get(a);if(!i){const s=()=>xe(t.workspace.workspaces,a);i=[Jl(e,a,s),X1(e,a,s)],r.set(a,i)}return i};return JSON.stringify(Object.values(t.agentSessions.byAgentId).flatMap(a=>a.workspaceId?[[a.id,a.workspaceId,...n(a.workspaceId)]]:[]).sort((a,i)=>a[0].localeCompare(i[0])))}),ng=E.createSelector((t,e,r)=>{const n=t.agentMutationUi.byWorkspaceId[e],a=n?xe(n.consumers,r):void 0;return a&&!a.consumed?{...a,workspaceId:e}:void 0});function ag(t){if(!t)return!0;const e=t.trim().toLowerCase();return e==="new agent"||e==="orchestrator"||e==="assistant"||e.startsWith("thread ")||e.startsWith("workspace agent")||/^chat \d{1,2}-\d{2} (am|pm)$/i.test(e)}function ig(t){return/^agent-[a-f0-9-]{36}$/i.test(t)}const sg=E.createSelector(t=>t.uiLayout.lineWrapping),og=E.createSelector(t=>t.uiLayout.foldUnchanged),lg=E.createSelector(t=>t.uiLayout.diffSideBySide),cg=E.createSelector(t=>t.uiLayout.diffIndicators),ug=E.createSelector(t=>t.uiLayout.sidebarWidth),hg=E.createSelector(t=>t.uiLayout.sidebarExpandedWidth),dg=E.createSelector(t=>t.uiLayout.sidebarCollapsed),pg=E.createSelector((t,e,r)=>{const n=t.uiLayout.panelVisibility.byWorkspaceId[e];return n?n[r]:oh[r]}),mg=E.createSelector(t=>t.uiLayout.spacesSidebarWidth),fg=E.createSelector(t=>t.uiLayout.spacesSidebarCollapsed),gg=E.createSelector(t=>t.uiLayout.tabbedSidebarPinned),vg=E.createSelector(t=>t.uiLayout.sidebarSide),bg=E.createSelector((t,e)=>t.uiLayout.resizablePanelSizes[e]),yg=E.createSelector((t,e)=>t.uiLayout.hydratedResizablePanelSizes[e]===!0),Ss=E.createSelector((t,e)=>t.skills.byWorkspaceId[e]??lh),wg=E.createSelector((t,e)=>Ss.select(t,e).skills),kg=E.createSelector((t,e)=>Ss.select(t,e).loading),xg=E.createSelector((t,e)=>Ss.select(t,e).error),Sg=E.createSelector((t,e)=>t.skills.byAgentId?.[e]??ch),Ag=E.createSelector((t,e)=>!!t.skills.byAgentId?.[e]),V5=E.createSelector(t=>qr.select(t)?.capabilities.remoteAgentSkills===1),Tg=E.createSelector((t,e)=>{if(!e||!V5.select(t))return;const r=t.agentSessions?.byAgentId[e];if(r?.nodeId)return r.nodeName??ie.chat_slashSkillSuggestionList_unnamedMachine_label()}),Eg=E.createSelector((t,e)=>t.agentSessions?.byAgentId[e]?.nodeState);export{b3 as $,E2 as A,u5 as B,q7 as C,Xf as D,g6 as E,f6 as F,pt as G,M7 as H,v5 as I,X3 as J,Eh as K,y3 as L,Ku as M,Zf as N,Z3 as O,u6 as P,T7 as Q,Q3 as R,qi as S,f3 as T,b5 as U,m3 as V,g3 as W,sc as X,x6 as Y,e6 as Z,J3 as _,g5 as a,d7 as a$,E7 as a0,S7 as a1,L7 as a2,E6 as a3,H7 as a4,y6 as a5,W7 as a6,b6 as a7,rf as a8,h6 as a9,$7 as aA,Sc as aB,L6 as aC,R6 as aD,bu as aE,Cu as aF,k6 as aG,C7 as aH,Ul as aI,B7 as aJ,Oh as aK,R5 as aL,S3 as aM,T6 as aN,A6 as aO,n1 as aP,p4 as aQ,ps as aR,B5 as aS,Hh as aT,I6 as aU,Pi as aV,C6 as aW,af as aX,Hn as aY,c6 as aZ,ng as a_,x5 as aa,v3 as ab,r6 as ac,a6 as ad,n6 as ae,ag as af,_6 as ag,eo as ah,y5 as ai,Fu as aj,w5 as ak,F7 as al,k7 as am,z7 as an,tf as ao,R7 as ap,k3 as aq,l6 as ar,p6 as as,m6 as at,ig as au,o6 as av,w6 as aw,w3 as ax,Mh as ay,Da as az,i6 as b,K7 as b$,Ag as b0,Tg as b1,Eg as b2,Sg as b3,F5 as b4,p7 as b5,T3 as b6,cg as b7,lg as b8,V2 as b9,Y2 as bA,U2 as bB,V6 as bC,W6 as bD,Q6 as bE,q6 as bF,Bu as bG,$6 as bH,m7 as bI,n5 as bJ,F6 as bK,K6 as bL,O6 as bM,og as bN,P7 as bO,N7 as bP,_7 as bQ,dg as bR,V3 as bS,sg as bT,W3 as bU,a5 as bV,g7 as bW,j3 as bX,pg as bY,eg as bZ,oa as b_,t7 as ba,j2 as bb,G2 as bc,e7 as bd,W2 as be,n7 as bf,X6 as bg,Z6 as bh,X2 as bi,n0 as bj,Z2 as bk,G6 as bl,$t as bm,H6 as bn,U6 as bo,r0 as bp,j6 as bq,K2 as br,a7 as bs,qu as bt,Y6 as bu,H2 as bv,F2 as bw,B6 as bx,J6 as by,r7 as bz,I7 as c,wt as c$,rg as c0,tg as c1,G5 as c2,W5 as c3,o7 as c4,Q2 as c5,f7 as c6,v7 as c7,y7 as c8,b7 as c9,D3 as cA,N3 as cB,q3 as cC,G3 as cD,zh as cE,A3 as cF,C3 as cG,_3 as cH,E3 as cI,B3 as cJ,R3 as cK,z3 as cL,O3 as cM,P3 as cN,c7 as cO,t5 as cP,h7 as cQ,u7 as cR,m5 as cS,Qu as cT,M6 as cU,U7 as cV,Qd as cW,K3 as cX,B2 as cY,d6 as cZ,Bi as c_,i7 as ca,s7 as cb,l7 as cc,Z7 as cd,bg as ce,yg as cf,D7 as cg,hg as ch,vg as ci,ug as cj,wg as ck,xg as cl,kg as cm,fg as cn,mg as co,X7 as cp,Y7 as cq,gg as cr,Nt as cs,F3 as ct,H3 as cu,U3 as cv,L3 as cw,$3 as cx,M3 as cy,I3 as cz,lt as d,S6 as d0,v6 as d1,gs as d2,V7 as d3,kl as d4,D6 as d5,z6 as d6,ke as d7,p5 as e,w7 as f,N6 as g,t6 as h,A7 as i,t1 as j,j7 as k,G7 as l,P6 as m,f5 as n,s6 as o,Y3 as p,f4 as q,Mu as r,Ra as s,x3 as t,d2 as u,Q7 as v,J7 as w,H5 as x,O7 as y,x7 as z};
|