@intent-hq/web 2.359.0 → 2.360.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{Dwycp9kz.js → -UDhr0q5.js} +1 -1
  3. package/web/app/immutable/chunks/{DYd8nNWc.js → 1R56Qj8Y.js} +1 -1
  4. package/web/app/immutable/chunks/{DoZBqkYF.js → 32iKFv4-.js} +1 -1
  5. package/web/app/immutable/chunks/{Cl9D9QD8.js → 4f4S0sUh.js} +1 -1
  6. package/web/app/immutable/chunks/{j2jTU61E.js → 4kuiywlQ.js} +1 -1
  7. package/web/app/immutable/chunks/{0GiDyxSH.js → 5nGPNxrH.js} +1 -1
  8. package/web/app/immutable/chunks/{DrJhzfF1.js → 6HkyTXcq.js} +1 -1
  9. package/web/app/immutable/chunks/{B2VWtQXD.js → 8JflFTpI.js} +1 -1
  10. package/web/app/immutable/chunks/{BM8PGEcO.js → 9GiEkE-P.js} +1 -1
  11. package/web/app/immutable/chunks/{BjRCAf8X.js → 9y5vkRaS.js} +1 -1
  12. package/web/app/immutable/chunks/{C-KmDSVv.js → A91xcSiw.js} +1 -1
  13. package/web/app/immutable/chunks/{BR6nXvi2.js → B-wvdvfF.js} +1 -1
  14. package/web/app/immutable/chunks/{_KJ048jX.js → B2pIq9fg.js} +1 -1
  15. package/web/app/immutable/chunks/{D5XiG13m.js → B34oQCN1.js} +1 -1
  16. package/web/app/immutable/chunks/{8RYLPrR5.js → B3fJGWt9.js} +1 -1
  17. package/web/app/immutable/chunks/{C0HpRgD4.js → B4P8KmTp.js} +1 -1
  18. package/web/app/immutable/chunks/{C8BKrcE1.js → B4R_0jQo.js} +1 -1
  19. package/web/app/immutable/chunks/{vkhyqDoZ.js → B5IW1VlE.js} +1 -1
  20. package/web/app/immutable/chunks/{CzCt7LFa.js → B6OxFt0S.js} +1 -1
  21. package/web/app/immutable/chunks/{CS2E7BOf.js → B7KiQTDj.js} +2 -2
  22. package/web/app/immutable/chunks/{BDu_-2pO.js → B7hW9x49.js} +1 -1
  23. package/web/app/immutable/chunks/B8PCLBxN.js +1 -0
  24. package/web/app/immutable/chunks/{vKIItbxs.js → BBFx0QAL.js} +1 -1
  25. package/web/app/immutable/chunks/{CNjFQiNk.js → BBnLbsoD.js} +3 -3
  26. package/web/app/immutable/chunks/{CfdrPzuS.js → BCnWCh48.js} +3 -3
  27. package/web/app/immutable/chunks/{CeXrdQTj.js → BDrSOwDu.js} +1 -1
  28. package/web/app/immutable/chunks/{t1Reg1-l.js → BEJv0Pc9.js} +1 -1
  29. package/web/app/immutable/chunks/{GLifdN8w.js → BFPmZe29.js} +1 -1
  30. package/web/app/immutable/chunks/{Bff7OX_M.js → BFeZEby1.js} +1 -1
  31. package/web/app/immutable/chunks/{DNvbM_Jw.js → BFoEwS3N.js} +14 -14
  32. package/web/app/immutable/chunks/{DNhi2pnC.js → BGGHmOCQ.js} +1 -1
  33. package/web/app/immutable/chunks/{Bxt1GZdu.js → BHUOcy1d.js} +1 -1
  34. package/web/app/immutable/chunks/{BomWh1eD.js → BHlsW_o1.js} +1 -1
  35. package/web/app/immutable/chunks/{C-ZYRRid.js → BJtZTy_N.js} +1 -1
  36. package/web/app/immutable/chunks/{YNY2RV1c.js → BL0zmkuy.js} +1 -1
  37. package/web/app/immutable/chunks/{B_VapsyM.js → BLyqJ_tX.js} +1 -1
  38. package/web/app/immutable/chunks/{CVwloYeX.js → BMl2xNoL.js} +1 -1
  39. package/web/app/immutable/chunks/{-6O_hwvF.js → BNoTLiJq.js} +1 -1
  40. package/web/app/immutable/chunks/{B08-5Fsn.js → BOCQKOZ_.js} +1 -1
  41. package/web/app/immutable/chunks/{Bn81D_5T.js → BOWtLHmq.js} +1 -1
  42. package/web/app/immutable/chunks/{fXQtWVk2.js → BREs1pEK.js} +1 -1
  43. package/web/app/immutable/chunks/{Ci5YRbmm.js → BRT5I2VH.js} +1 -1
  44. package/web/app/immutable/chunks/{Clfqtwbt.js → BSWgqRaC.js} +1 -1
  45. package/web/app/immutable/chunks/{pYgZjzLi.js → BVSy1i1c.js} +1 -1
  46. package/web/app/immutable/chunks/{DB4pEg85.js → BVtazWzZ.js} +1 -1
  47. package/web/app/immutable/chunks/{CWnW1H_r.js → BWW2m17x.js} +1 -1
  48. package/web/app/immutable/chunks/{Blu36gU0.js → BX-wlbf1.js} +1 -1
  49. package/web/app/immutable/chunks/{DtAi5eiG.js → BX3Qm7r_.js} +1 -1
  50. package/web/app/immutable/chunks/{B7ID5lhM.js → BXVqjGzF.js} +1 -1
  51. package/web/app/immutable/chunks/{CfTOR9Xs.js → BY8Zvp_5.js} +1 -1
  52. package/web/app/immutable/chunks/{BghNeZnO.js → BYHyHMOf.js} +1 -1
  53. package/web/app/immutable/chunks/{DyM6oXRa.js → B_PtieXN.js} +1 -1
  54. package/web/app/immutable/chunks/{CmjC2IOn.js → BctdwcHy.js} +1 -1
  55. package/web/app/immutable/chunks/{lJ2hrkPe.js → Bd92b52s.js} +1 -1
  56. package/web/app/immutable/chunks/{CILpVksu.js → Bd_P-L3U.js} +2 -2
  57. package/web/app/immutable/chunks/{BDECMwd0.js → BdkhvtBn.js} +3 -3
  58. package/web/app/immutable/chunks/{XsqUZwYc.js → Be4cU-9x.js} +1 -1
  59. package/web/app/immutable/chunks/{CdQskv_M.js → BeCv1r50.js} +1 -1
  60. package/web/app/immutable/chunks/{C9k6syqr.js → BeJ9dLu2.js} +1 -1
  61. package/web/app/immutable/chunks/{C61zN4kC.js → BifMsF0g.js} +1 -1
  62. package/web/app/immutable/chunks/{jg75CCgI.js → BioI1i4g.js} +2 -2
  63. package/web/app/immutable/chunks/{utZHhb7g.js → BkAhwE4C.js} +1 -1
  64. package/web/app/immutable/chunks/{K9El2yPE.js → BkqaxMfg.js} +1 -1
  65. package/web/app/immutable/chunks/{DrjLBq4b.js → BkzHDegO.js} +2 -2
  66. package/web/app/immutable/chunks/{Dvz4y7lb.js → Bldr-p8H.js} +1 -1
  67. package/web/app/immutable/chunks/{BO1UvMYh.js → BmCHTIDH.js} +1 -1
  68. package/web/app/immutable/chunks/{D7Fu5qfY.js → BnE71Sxv.js} +1 -1
  69. package/web/app/immutable/chunks/{BKkJ5wmq.js → BoPOsJod.js} +1 -1
  70. package/web/app/immutable/chunks/{BEUX_9Gf.js → BpCBwtvA.js} +1 -1
  71. package/web/app/immutable/chunks/{Cqo5h0cq.js → BpE3z_V4.js} +1 -1
  72. package/web/app/immutable/chunks/{C3DfjxaV.js → BpozSsrs.js} +1 -1
  73. package/web/app/immutable/chunks/{Di9Z0x4r.js → BqCQZYkF.js} +1 -1
  74. package/web/app/immutable/chunks/{BNdkWvF7.js → BrbwH5yU.js} +1 -1
  75. package/web/app/immutable/chunks/{DvKZFqCo.js → Brujc5Qs.js} +1 -1
  76. package/web/app/immutable/chunks/{fPif4XLT.js → BsRAiU3M.js} +1 -1
  77. package/web/app/immutable/chunks/{BTTOyJaN.js → BsRUTEry.js} +1 -1
  78. package/web/app/immutable/chunks/{BUwnMspE.js → BsVek4ep.js} +1 -1
  79. package/web/app/immutable/chunks/{C0LUTbI7.js → Bsozz-8j.js} +1 -1
  80. package/web/app/immutable/chunks/{DJtAtlMe.js → Bst2sLeL.js} +1 -1
  81. package/web/app/immutable/chunks/{CFYbMOQh.js → BtWZ63FE.js} +1 -1
  82. package/web/app/immutable/chunks/{Da2l_kGL.js → BuHRLZKa.js} +1 -1
  83. package/web/app/immutable/chunks/{B5OEBl_F.js → Bvu_tazq.js} +1 -1
  84. package/web/app/immutable/chunks/{BibvkaKz.js → Bx2B90L7.js} +1 -1
  85. package/web/app/immutable/chunks/{EM0-8M4u.js → Bx903o6z.js} +1 -1
  86. package/web/app/immutable/chunks/{Chk2VmFC.js → BzFtQkIk.js} +1 -1
  87. package/web/app/immutable/chunks/{waNhHeBe.js → BzhmxD74.js} +1 -1
  88. package/web/app/immutable/chunks/{D1AHHNz_.js → C0GOL7QH.js} +1 -1
  89. package/web/app/immutable/chunks/{CjyYp1d6.js → C0s3H3cX.js} +1 -1
  90. package/web/app/immutable/chunks/{bDYVRgHv.js → C2Q_f-Ao.js} +1 -1
  91. package/web/app/immutable/chunks/{BN2Xx7qY.js → C2gV5GaR.js} +4 -4
  92. package/web/app/immutable/chunks/{CwN0y7xj.js → C54_KTzu.js} +4 -4
  93. package/web/app/immutable/chunks/{CMOu7J7m.js → C5hIBQ3i.js} +1 -1
  94. package/web/app/immutable/chunks/{BlfSgRgz.js → C6gTWqQd.js} +1 -1
  95. package/web/app/immutable/chunks/{C9g6kBvz.js → C7xMm-xs.js} +1 -1
  96. package/web/app/immutable/chunks/{CELWxQ_U.js → C8PDklve.js} +1 -1
  97. package/web/app/immutable/chunks/{CkjVC7MP.js → C9JwZT8z.js} +1 -1
  98. package/web/app/immutable/chunks/{B8TUirrt.js → C9m9xaQX.js} +1 -1
  99. package/web/app/immutable/chunks/{ZlUXDv9w.js → CB0BBmB3.js} +2 -2
  100. package/web/app/immutable/chunks/{BGfY3mAg.js → CB8Kg0_N.js} +1 -1
  101. package/web/app/immutable/chunks/{CQGkGXEd.js → CCW4xg3d.js} +1 -1
  102. package/web/app/immutable/chunks/{Ba7JIG6D.js → CCq7LQoR.js} +1 -1
  103. package/web/app/immutable/chunks/{o4jWsDx5.js → CDAGrCMS.js} +1 -1
  104. package/web/app/immutable/chunks/{CvCQt2D9.js → CDCwuoNC.js} +1 -1
  105. package/web/app/immutable/chunks/{BJrEWx4G.js → CEdXFb7B.js} +1 -1
  106. package/web/app/immutable/chunks/{CQeKyPfB.js → CFPO-Gdn.js} +1 -1
  107. package/web/app/immutable/chunks/{D3dCNwq6.js → CGpu-8LN.js} +4 -4
  108. package/web/app/immutable/chunks/{BiD0cL9w.js → CIBrW7Ku.js} +1 -1
  109. package/web/app/immutable/chunks/{wSDPkPFW.js → CIQ39w4Y.js} +1 -1
  110. package/web/app/immutable/chunks/{o7jQDkBd.js → CJD0yCmp.js} +1 -1
  111. package/web/app/immutable/chunks/{_9zJA_sE.js → CJftmRaI.js} +2 -2
  112. package/web/app/immutable/chunks/{CjCKLQJ9.js → CJmMm5OV.js} +3 -3
  113. package/web/app/immutable/chunks/{Cy1jfWDK.js → CJx5kB-H.js} +1 -1
  114. package/web/app/immutable/chunks/{wV3FJ8_B.js → CK9vN0Vx.js} +1 -1
  115. package/web/app/immutable/chunks/{DaBtQ4Rq.js → CKZSqILX.js} +1 -1
  116. package/web/app/immutable/chunks/{BhHMFSp2.js → CLN26_YU.js} +1 -1
  117. package/web/app/immutable/chunks/{yfZcC2N6.js → CMFCeNSK.js} +1 -1
  118. package/web/app/immutable/chunks/{tkvqiJWu.js → CMPYMsb3.js} +1 -1
  119. package/web/app/immutable/chunks/{Dqvqq37X.js → CMUpwbv3.js} +1 -1
  120. package/web/app/immutable/chunks/{DB3uT95Q.js → CMlZAr5p.js} +1 -1
  121. package/web/app/immutable/chunks/{B_41a3se.js → CNfKBI6L.js} +1 -1
  122. package/web/app/immutable/chunks/{BKY4Q0TT.js → CO3XLT45.js} +1 -1
  123. package/web/app/immutable/chunks/{BNSN6XCP.js → COnJo1Ps.js} +1 -1
  124. package/web/app/immutable/chunks/COqplkxR.js +1 -0
  125. package/web/app/immutable/chunks/{D_eImbVR.js → CS70Dx2B.js} +1 -1
  126. package/web/app/immutable/chunks/{DM_khyu7.js → CSKp9zzd.js} +1 -1
  127. package/web/app/immutable/chunks/{RqQMOZAT.js → CU4KWWbD.js} +1 -1
  128. package/web/app/immutable/chunks/{Dwp84kQu.js → CVmPa1mG.js} +1 -1
  129. package/web/app/immutable/chunks/{CabY5Ajz.js → CWwVTuEX.js} +1 -1
  130. package/web/app/immutable/chunks/{D_LNh-Ja.js → CWz2XNBO.js} +1 -1
  131. package/web/app/immutable/chunks/{Bzcuhxw_.js → CXFlWWO4.js} +1 -1
  132. package/web/app/immutable/chunks/{BFfFhR1D.js → CZ-QhNUI.js} +1 -1
  133. package/web/app/immutable/chunks/{G3F9ni6B.js → C_9mGNUw.js} +1 -1
  134. package/web/app/immutable/chunks/{ZY6P3elZ.js → Ca98gcvs.js} +1 -1
  135. package/web/app/immutable/chunks/{CEM8KTTx.js → Cak06Ipv.js} +1 -1
  136. package/web/app/immutable/chunks/{BtBvnlNb.js → Cb4SpXNJ.js} +1 -1
  137. package/web/app/immutable/chunks/{cw-15yhi.js → Cd1q1wWY.js} +1 -1
  138. package/web/app/immutable/chunks/{Dh18lLbG.js → CdEPpK5c.js} +1 -1
  139. package/web/app/immutable/chunks/{DR4IFZXy.js → CdIWJpFL.js} +1 -1
  140. package/web/app/immutable/chunks/{CMxGr_ey.js → CeXNhl9e.js} +1 -1
  141. package/web/app/immutable/chunks/{Dp6TtOQM.js → CgGU0gTh.js} +1 -1
  142. package/web/app/immutable/chunks/{MlkHiaSF.js → ChjOKBnG.js} +1 -1
  143. package/web/app/immutable/chunks/{C_ZgD3DB.js → Cho0-9KA.js} +1 -1
  144. package/web/app/immutable/chunks/{DfUAlDfK.js → Ci0DCXei.js} +1 -1
  145. package/web/app/immutable/chunks/{CwnD43Xy.js → CiPzAmKo.js} +1 -1
  146. package/web/app/immutable/chunks/{g7hC9VeO.js → CjPOxOh3.js} +1 -1
  147. package/web/app/immutable/chunks/{D-sEMjzy.js → CkWz1mLV.js} +1 -1
  148. package/web/app/immutable/chunks/{B0RvqECX.js → CkY0UrZh.js} +1 -1
  149. package/web/app/immutable/chunks/{CIOI2vcP.js → CkdaiT2c.js} +1 -1
  150. package/web/app/immutable/chunks/{FdrUgkC6.js → CktoO_4b.js} +1 -1
  151. package/web/app/immutable/chunks/{Dl4PtwLv.js → ClPEPp33.js} +1 -1
  152. package/web/app/immutable/chunks/{CQ2L5Zaq.js → CmQUy1iX.js} +1 -1
  153. package/web/app/immutable/chunks/Cn0dUMcV.js +1 -0
  154. package/web/app/immutable/chunks/{CrTnLjrr.js → Con90c3P.js} +1 -1
  155. package/web/app/immutable/chunks/{BWvY9nb-.js → CpYOvNz6.js} +1 -1
  156. package/web/app/immutable/chunks/{CZhfnI2G.js → Crm_Oabm.js} +1 -1
  157. package/web/app/immutable/chunks/{Ce7GGwjY.js → CsZJMlJ8.js} +1 -1
  158. package/web/app/immutable/chunks/{BZWFeX8A.js → CsxWziDD.js} +1 -1
  159. package/web/app/immutable/chunks/{DB5XpEWp.js → CukxP3bH.js} +1 -1
  160. package/web/app/immutable/chunks/{CIe_IdcQ.js → CurjThIN.js} +1 -1
  161. package/web/app/immutable/chunks/{C5SRkSUi.js → CwhU2GJj.js} +1 -1
  162. package/web/app/immutable/chunks/{DWHgu0is.js → CycTTYyM.js} +1 -1
  163. package/web/app/immutable/chunks/{DHAp2Kc0.js → CzX6D7dd.js} +1 -1
  164. package/web/app/immutable/chunks/{dvtB8PCn.js → CzaiY1Hd.js} +1 -1
  165. package/web/app/immutable/chunks/{6myNhyGM.js → CzxOAjWm.js} +1 -1
  166. package/web/app/immutable/chunks/{klnEQWHo.js → D0TCMhf8.js} +1 -1
  167. package/web/app/immutable/chunks/{C7eqIAuZ.js → D0bF1ewx.js} +1 -1
  168. package/web/app/immutable/chunks/{5wkpHjhE.js → D0j6Pw9H.js} +1 -1
  169. package/web/app/immutable/chunks/{Dla5GTQo.js → D2BBYrzr.js} +1 -1
  170. package/web/app/immutable/chunks/{CGVGh8Xh.js → D3nmUaz-.js} +1 -1
  171. package/web/app/immutable/chunks/{CvLyzc7I.js → D3rExJpy.js} +2 -2
  172. package/web/app/immutable/chunks/{lzlrZOOx.js → D6WUVWA7.js} +3 -3
  173. package/web/app/immutable/chunks/{BsfZKUyJ.js → D6ag701e.js} +1 -1
  174. package/web/app/immutable/chunks/{D5TVVdCO.js → D77SC-WI.js} +1 -1
  175. package/web/app/immutable/chunks/{B3gMfjd-.js → D79Xzbwc.js} +1 -1
  176. package/web/app/immutable/chunks/{CzOKs-9h.js → D7XN10mW.js} +1 -1
  177. package/web/app/immutable/chunks/{DhJiUMGh.js → D7saN_TE.js} +1 -1
  178. package/web/app/immutable/chunks/{DS1-LIJo.js → D88N7fik.js} +1 -1
  179. package/web/app/immutable/chunks/{D7S6-tcN.js → D9e6EkDi.js} +1 -1
  180. package/web/app/immutable/chunks/{DY_VgpBE.js → DA1JRBSr.js} +1 -1
  181. package/web/app/immutable/chunks/{CUgyGwcZ.js → DB1FUARM.js} +1 -1
  182. package/web/app/immutable/chunks/{XDFbJjVz.js → DB2nf3HK.js} +1 -1
  183. package/web/app/immutable/chunks/{D2C9COn-.js → DB5oJv4b.js} +2 -2
  184. package/web/app/immutable/chunks/{BQqk8D2k.js → DBeaWkI6.js} +1 -1
  185. package/web/app/immutable/chunks/{DkXhJ1BL.js → DCAdK-TK.js} +1 -1
  186. package/web/app/immutable/chunks/{YDiGw5NX.js → DDEi4ohI.js} +3 -3
  187. package/web/app/immutable/chunks/{BxzohA4k.js → DEFiLw0G.js} +1 -1
  188. package/web/app/immutable/chunks/{CW-B1B_2.js → DFA3fNuM.js} +1 -1
  189. package/web/app/immutable/chunks/{hpioGaKy.js → DFngs4Y1.js} +2 -2
  190. package/web/app/immutable/chunks/{10-QywS9.js → DG1-cBAz.js} +1 -1
  191. package/web/app/immutable/chunks/{Di3YCBTy.js → DKvrlewQ.js} +2 -2
  192. package/web/app/immutable/chunks/{CJGJtaIh.js → DLx-21ka.js} +1 -1
  193. package/web/app/immutable/chunks/{DVqlnAf4.js → DMDLNgZw.js} +1 -1
  194. package/web/app/immutable/chunks/{CZnzjQ8w.js → DNSvJh5E.js} +1 -1
  195. package/web/app/immutable/chunks/{DMicUhyp.js → DODIyxsG.js} +1 -1
  196. package/web/app/immutable/chunks/{BAB5cGdR.js → DP1Kxs4G.js} +1 -1
  197. package/web/app/immutable/chunks/{C-6RTvqK.js → DRfuH7ia.js} +1 -1
  198. package/web/app/immutable/chunks/{DJXbxolz.js → DSGWdxMc.js} +1 -1
  199. package/web/app/immutable/chunks/{BveCGFpc.js → DSgbJdfR.js} +1 -1
  200. package/web/app/immutable/chunks/{BosvHmXn.js → DT7EyIEo.js} +1 -1
  201. package/web/app/immutable/chunks/{C9c1XoGB.js → DTY9Anmi.js} +3 -3
  202. package/web/app/immutable/chunks/{ADgiB_JD.js → DTzZbirR.js} +1 -1
  203. package/web/app/immutable/chunks/{BwCXlNwV.js → DUUOaZUX.js} +1 -1
  204. package/web/app/immutable/chunks/{R_gbTJLb.js → DUyvq6BR.js} +1 -1
  205. package/web/app/immutable/chunks/{CdhsB6Tk.js → DYhAW_nh.js} +1 -1
  206. package/web/app/immutable/chunks/{CZuwX70n.js → DYv-ImbG.js} +1 -1
  207. package/web/app/immutable/chunks/{i6o2muyh.js → D_tjJvUn.js} +1 -1
  208. package/web/app/immutable/chunks/{DCDVRPan.js → Db1vsTVc.js} +1 -1
  209. package/web/app/immutable/chunks/{CLgO49-n.js → Dcity0ZX.js} +1 -1
  210. package/web/app/immutable/chunks/{BJKM0aco.js → DcsVySxU.js} +2 -2
  211. package/web/app/immutable/chunks/{DreRsNdo.js → DdAEgsrh.js} +2 -2
  212. package/web/app/immutable/chunks/{CbwoPYB3.js → DfCpph1F.js} +1 -1
  213. package/web/app/immutable/chunks/{DE2DQy0T.js → DfQtmVKc.js} +1 -1
  214. package/web/app/immutable/chunks/{By3Fe9OQ.js → DhbB133w.js} +1 -1
  215. package/web/app/immutable/chunks/{Uz0kppPo.js → DjkW13rw.js} +1 -1
  216. package/web/app/immutable/chunks/{g1QznGhp.js → DkGGr_35.js} +1 -1
  217. package/web/app/immutable/chunks/{C5Pv37ZW.js → DlVBS_bY.js} +1 -1
  218. package/web/app/immutable/chunks/{bqipvca_.js → DmOmVRF-.js} +1 -1
  219. package/web/app/immutable/chunks/{B_3LwjEE.js → DmSe6pPh.js} +1 -1
  220. package/web/app/immutable/chunks/{BFZDKSps.js → DmfXn75c.js} +1 -1
  221. package/web/app/immutable/chunks/{uDkSpspe.js → Dn7IHtB4.js} +1 -1
  222. package/web/app/immutable/chunks/{CmxpZd0C.js → DnR6iKmC.js} +1 -1
  223. package/web/app/immutable/chunks/{DsLK0lhE.js → Dqbu3Xgt.js} +1 -1
  224. package/web/app/immutable/chunks/{BnFk2thR.js → DqvZHD0T.js} +1 -1
  225. package/web/app/immutable/chunks/{BqUNG33_.js → DrPmlbuk.js} +1 -1
  226. package/web/app/immutable/chunks/{BPDm13z6.js → Drhk0kLj.js} +1 -1
  227. package/web/app/immutable/chunks/{BpJkEHyp.js → DsB0QHTZ.js} +1 -1
  228. package/web/app/immutable/chunks/{BgwmEIlo.js → DsDqvgC9.js} +2 -2
  229. package/web/app/immutable/chunks/{CUF6AFLj.js → Dt2PgbAx.js} +1 -1
  230. package/web/app/immutable/chunks/{XfZ7vUz0.js → DtrdP8PT.js} +1 -1
  231. package/web/app/immutable/chunks/{BduQZGB-.js → Dw86rOY4.js} +1 -1
  232. package/web/app/immutable/chunks/{CHJwDFbB.js → Dwc9p0hU.js} +1 -1
  233. package/web/app/immutable/chunks/{BH8Pvo2Y.js → DxFe9Sj2.js} +1 -1
  234. package/web/app/immutable/chunks/{BjE588G3.js → DzCNJq2j.js} +1 -1
  235. package/web/app/immutable/chunks/{CHwCT_tY.js → EBip0AWO.js} +1 -1
  236. package/web/app/immutable/chunks/{CyqRVYAu.js → ELAGDjsa.js} +6 -6
  237. package/web/app/immutable/chunks/{Dv95zz7s.js → F5q6OMDX.js} +1 -1
  238. package/web/app/immutable/chunks/{C-3h7Yfn.js → FNy8h0Ka.js} +1 -1
  239. package/web/app/immutable/chunks/{Bh3EI3zr.js → HjEy7vfo.js} +1 -1
  240. package/web/app/immutable/chunks/{CWYIb5h_.js → HxrItRGs.js} +1 -1
  241. package/web/app/immutable/chunks/{COizPexY.js → LQm_WUG-.js} +1 -1
  242. package/web/app/immutable/chunks/{CRQ7p08H.js → MNJDbe1l.js} +1 -1
  243. package/web/app/immutable/chunks/{ryJoABjA.js → MQB3-RUl.js} +1 -1
  244. package/web/app/immutable/chunks/{BRhTL40m.js → NtBDgvZ2.js} +1 -1
  245. package/web/app/immutable/chunks/NtxbXOxK.js +1 -0
  246. package/web/app/immutable/chunks/{CDthvhNa.js → O077287M.js} +1 -1
  247. package/web/app/immutable/chunks/{BldMt0qe.js → OJdRtUTM.js} +1 -1
  248. package/web/app/immutable/chunks/{BNxYYK1k.js → OfJYxV7d.js} +1 -1
  249. package/web/app/immutable/chunks/{YXtDIgke.js → OvgkhrA7.js} +1 -1
  250. package/web/app/immutable/chunks/{yFbmvZcp.js → P3QocI-G.js} +1 -1
  251. package/web/app/immutable/chunks/{BddjjpyI.js → S6AtfZPI.js} +1 -1
  252. package/web/app/immutable/chunks/{CUqDFxUi.js → SM6VUydw.js} +1 -1
  253. package/web/app/immutable/chunks/{Cq94dOBc.js → SXQhdPre.js} +1 -1
  254. package/web/app/immutable/chunks/{ByA2IWok.js → S_DaaRo9.js} +3 -3
  255. package/web/app/immutable/chunks/{q9ZyJAa1.js → SmHZXgwN.js} +1 -1
  256. package/web/app/immutable/chunks/{Bm2P91T0.js → UunyqK3Z.js} +1 -1
  257. package/web/app/immutable/chunks/{DiJNvptO.js → W6sF2Cur.js} +1 -1
  258. package/web/app/immutable/chunks/{wM59GHbh.js → WoXHXc-b.js} +1 -1
  259. package/web/app/immutable/chunks/{CLp5K2Cv.js → XFXlU9Ox.js} +1 -1
  260. package/web/app/immutable/chunks/{MqeYlZEc.js → Z14_HVFv.js} +1 -1
  261. package/web/app/immutable/chunks/{DRzVKoEr.js → ZdVOG1YL.js} +1 -1
  262. package/web/app/immutable/chunks/{DryREkHP.js → ZyHSqKKz.js} +1 -1
  263. package/web/app/immutable/chunks/{Cb35PO19.js → a-uzFDRe.js} +1 -1
  264. package/web/app/immutable/chunks/{BiVxPdNt.js → b_O4pZtc.js} +1 -1
  265. package/web/app/immutable/chunks/{WVUqAkKa.js → cNKe5jVM.js} +1 -1
  266. package/web/app/immutable/chunks/{BtE8ng9B.js → cPv_DFdy.js} +1 -1
  267. package/web/app/immutable/chunks/{DUpzlKAB.js → dRfjsn2g.js} +1 -1
  268. package/web/app/immutable/chunks/{B-Q3uU6_.js → frxcf8rJ.js} +1 -1
  269. package/web/app/immutable/chunks/{DgrkG05k.js → guxjwWAr.js} +1 -1
  270. package/web/app/immutable/chunks/{C2sr3EWe.js → h3NGlSjH.js} +1 -1
  271. package/web/app/immutable/chunks/{FQFJV7C0.js → h9OLCnwu.js} +1 -1
  272. package/web/app/immutable/chunks/{CCAjvk0X.js → hCt1V8jO.js} +3 -3
  273. package/web/app/immutable/chunks/{DqJHcisc.js → hLkstuSa.js} +1 -1
  274. package/web/app/immutable/chunks/{DCtyzj03.js → jSlXIbXa.js} +1 -1
  275. package/web/app/immutable/chunks/{DiW8XnY5.js → kBqzcezI.js} +1 -1
  276. package/web/app/immutable/chunks/{CMziHXPQ.js → kNipFpJ2.js} +1 -1
  277. package/web/app/immutable/chunks/{Fd-rEJnu.js → liwjXrkc.js} +1 -1
  278. package/web/app/immutable/chunks/{Dk51AkwK.js → oB7eN-Qf.js} +1 -1
  279. package/web/app/immutable/chunks/{Bn37CRsE.js → oIy1WGn7.js} +1 -1
  280. package/web/app/immutable/chunks/{BrJIlZXG.js → plaTXQg3.js} +1 -1
  281. package/web/app/immutable/chunks/{DrzhapyO.js → puisNM3r.js} +1 -1
  282. package/web/app/immutable/chunks/{BpMUTlD3.js → qW1_mixC.js} +1 -1
  283. package/web/app/immutable/chunks/{Bl7A2mT8.js → qzRpsGdv.js} +1 -1
  284. package/web/app/immutable/chunks/{BugaF9Gz.js → roVeGd8G.js} +1 -1
  285. package/web/app/immutable/chunks/{Bw4cxMjz.js → tU-erPwy.js} +1 -1
  286. package/web/app/immutable/chunks/{D5HWvTpD.js → tguQ0uKY.js} +1 -1
  287. package/web/app/immutable/chunks/{BTLBASJX.js → wZqQTU3s.js} +1 -1
  288. package/web/app/immutable/chunks/{D94cTefs.js → yerK1wE4.js} +3 -3
  289. package/web/app/immutable/chunks/{BL7BGzQb.js → z-LfKEyT.js} +1 -1
  290. package/web/app/immutable/chunks/{CNgTnn6E.js → zKe1EQER.js} +1 -1
  291. package/web/app/immutable/chunks/{CLGFCqMt.js → zsS-jFOF.js} +1 -1
  292. package/web/app/immutable/entry/{app.B_j9AtYN.js → app.xn8bouEy.js} +3 -3
  293. package/web/app/immutable/entry/start.8SWo5eaL.js +1 -0
  294. package/web/app/immutable/nodes/{0.DI5KXj3q.js → 0.Czkxq6nC.js} +1 -1
  295. package/web/app/immutable/nodes/{1.BvUSq5GT.js → 1.CO4mj6IJ.js} +1 -1
  296. package/web/app/immutable/nodes/{10.ybliADtC.js → 10.BComrAcc.js} +5 -5
  297. package/web/app/immutable/nodes/{11.CWdfbS9L.js → 11.CNzRS9fn.js} +1 -1
  298. package/web/app/immutable/nodes/{12.DSU3TNHa.js → 12.C2n7WplF.js} +1 -1
  299. package/web/app/immutable/nodes/{13.B395oPY5.js → 13.D60oIlHW.js} +1 -1
  300. package/web/app/immutable/nodes/{14.DPnho-i5.js → 14.RHTyY8ed.js} +3 -3
  301. package/web/app/immutable/nodes/{15.IPdMXrpa.js → 15.DXCA05Q9.js} +1 -1
  302. package/web/app/immutable/nodes/{16.Cw2bhRT9.js → 16.BHGcOoK4.js} +1 -1
  303. package/web/app/immutable/nodes/{17.B-8GZWIV.js → 17.DMb17SuB.js} +1 -1
  304. package/web/app/immutable/nodes/{18.B_8rjYQB.js → 18.DZXncr1W.js} +1 -1
  305. package/web/app/immutable/nodes/{19.xCKjx5de.js → 19.BtsQ8Lfg.js} +2 -2
  306. package/web/app/immutable/nodes/{2.4eqTbGC7.js → 2.9HsLNQbg.js} +4 -4
  307. package/web/app/immutable/nodes/{20.DOuPBU4q.js → 20.JY9Qq_nG.js} +1 -1
  308. package/web/app/immutable/nodes/{3.gnGgxc2q.js → 3.BlmNm3mg.js} +1 -1
  309. package/web/app/immutable/nodes/{4.DhWSCpDA.js → 4.Cpy2Xerc.js} +1 -1
  310. package/web/app/immutable/nodes/{5.D-CLZiU3.js → 5.DeXJEhFX.js} +1 -1
  311. package/web/app/immutable/nodes/{6.D8GgaYC7.js → 6.Bpl-_47P.js} +1 -1
  312. package/web/app/immutable/nodes/{7.CYuvhsU8.js → 7.B1PEqe7o.js} +1 -1
  313. package/web/app/immutable/nodes/{8.Cfa_YzNb.js → 8.DEBn-U8f.js} +1 -1
  314. package/web/app/immutable/nodes/{9.Cjn8-jSI.js → 9.DtFfiQ9-.js} +4 -4
  315. package/web/app/version.json +1 -1
  316. package/web/generated/paraglide.js +45 -45
  317. package/web/index.html +18 -18
  318. package/web/app/immutable/chunks/ClwCcrCE.js +0 -1
  319. package/web/app/immutable/chunks/D4MngzTk.js +0 -1
  320. package/web/app/immutable/chunks/DkN1HOvv.js +0 -1
  321. package/web/app/immutable/chunks/cRhti_97.js +0 -1
  322. package/web/app/immutable/entry/start.D5KmTXnC.js +0 -1
@@ -1 +1 @@
1
- import{t as P,bo as d,bw as V,b as B,bm as L}from"./D4MngzTk.js";import{bs as F,b_ as z,W as _,bn as j,aA as p,aC as T,a7 as H,ay as I,aD as r,a5 as U,bS as X,bH as b,bA as Y,be as Z,b$ as $,bO as ee,c9 as c,aB as te,bV as k,bk as re}from"./CJxGDkBm.js";import{s as ne,f as ie,c as oe}from"./DrzhapyO.js";import{i as O}from"./BqUNG33_.js";import{k as se}from"./Cl9D9QD8.js";import{I as ae}from"./D5XiG13m.js";import"./COizPexY.js";import{L as le}from"./wM59GHbh.js";import"./CELWxQ_U.js";import{D as ue}from"./CvCQt2D9.js";import{b as W}from"./BO1UvMYh.js";import{J as ce,H as y}from"./BduQZGB-.js";var fe=T('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 15.82L12 23.76M4.44 21L8.35 16.35A1.96 1.96 0 0 0 6.4 12.99L0.42 14.04M1.82 6.12L7.08 9.16A1.96 1.96 0 0 0 10.06 6.66L7.98 0.95M16.02 0.95L13.94 6.66A1.96 1.96 0 0 0 16.92 9.16L22.18 6.12M23.58 14.04L17.6 12.99A1.96 1.96 0 0 0 15.65 16.35L19.56 21" stroke="currentColor" stroke-width="2.06" stroke-linecap="butt" stroke-linejoin="round"></path></svg>');function me(f,o){if(new.target)return P({component:me,...f});F(o,!0);let e=d(o,"width",7,24),n=d(o,"class",7,"");var s={get width(){return e()},set width(a=24){e(a),p()},get class(){return n()},set class(a=""){n(a),p()},$set:V,$on:(a,m)=>B(o,a,m)},l=fe();return z(()=>{ne(l,"width",e()),ie(l,0,oe(n()))}),_(f,l),j(s)}var de=te('<div class="grid gap-2"><!> <!></div>');function E(f,o){if(new.target)return P({component:E,...f});F(o,!0);let e=d(o,"request",7),n=d(o,"value",15,""),s=d(o,"busy",7,!1),l=d(o,"static",7,!1),a=d(o,"onAccept",7),m=d(o,"onCancel",7),v=k(null);var A={get request(){return e()},set request(t){e(t),p()},get value(){return n()},set value(t=""){n(t),p()},get busy(){return s()},set busy(t=!1){s(t),p()},get static(){return l()},set static(t=!1){l(t),p()},get onAccept(){return a()},set onAccept(t){a(t),p()},get onCancel(){return m()},set onCancel(t){m(t),p()},$set:V,$on:(t,g)=>B(o,t,g)},h=H(),i=I(h);{var u=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_bulkActionConfirm_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_bulkActionConfirm_cancel_label()),S=c(()=>e().options.destructive??!1);ue(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get confirmLabel(){return r(g)},get cancelLabel(){return r(M)},get destructive(){return r(S)},get busy(){return s()},onConfirm:()=>a()(n()),get onCancel(){return m()}})}},q=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_input_cancel_label()),S=c(()=>!e().options.field.required||n().trim().length>0);W(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},get cancelLabel(){return r(M)},get canSubmit(){return r(S)},get busy(){return s()},get initialFocus(){return r(v)},onSubmit:()=>a()(n()),get onCancel(){return m()},children:(G,ge)=>{var D=de(),J=U(D);{var K=C=>{le(C,{for:"confirm-prompt-field",children:(R,w)=>{Z();var N=$();z(()=>ee(N,e().options.field.label)),_(R,N)},$$slots:{default:!0}})};O(J,C=>{e().options.field.label&&C(K)})}var Q=X(J,2);{let C=c(()=>e().options.field.type??"text"),R=c(()=>e().options.field.label?void 0:e().options.title);ae(Q,{id:"confirm-prompt-field",get type(){return r(C)},get placeholder(){return e().options.field.placeholder},get"aria-label"(){return r(R)},get ref(){return r(v)},set ref(w){b(v,w,!0)},get value(){return n()},set value(w){n(w)}})}Y(D),_(G,D)},$$slots:{default:!0}})}},x=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label());W(t,{open:!0,get static(){return l()},role:"alertdialog",get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},showCancel:!1,dismissOnInteractOutside:!1,get busy(){return s()},onSubmit:()=>a()(n()),onCancel:()=>a()(n())})}};O(i,t=>{e()?.kind==="confirm"?t(u):e()?.kind==="prompt"?t(q,1):e()?.kind==="alert"&&t(x,2)})}return _(f,h),j(A)}function pe(f,o){if(new.target)return P({component:pe,...f});F(o,!0);let e=k(null),n=k(""),s=k(!1);re(()=>ce(i=>{b(e,i,!0),b(n,i?.kind==="prompt"?i.options.field.initialValue??"":"",!0),b(s,!1)}));function l(){!r(e)||r(s)||y(r(e).id,r(e).kind==="confirm"?!1:null)}async function a(){if(!r(e)||r(s))return;const i=r(e);b(s,!0);try{i.kind==="confirm"?(await i.options.onConfirm?.(),y(i.id,!0)):i.kind==="prompt"?(await i.options.onConfirm?.(r(n).trim()),y(i.id,r(n).trim())):y(i.id,void 0)}catch(u){throw console.error("Confirm action failed:",u),b(s,!1),u}}var m={$set:V,$on:(i,u)=>B(o,i,u)},v=H(),A=I(v);{var h=i=>{var u=H(),q=I(u);se(q,()=>r(e).id,x=>{E(x,{get request(){return r(e)},get busy(){return r(s)},onAccept:a,onCancel:l,get value(){return r(n)},set value(t){b(n,t,!0)}})}),_(i,u)};O(A,i=>{r(e)&&i(h)})}return _(f,v),j(m)}export{pe as C,me as L};
1
+ import{t as P,bo as d,bw as V,b as B,bm as L}from"./NtxbXOxK.js";import{bs as F,b_ as z,W as _,bn as j,aA as p,aC as T,a7 as H,ay as I,aD as r,a5 as U,bS as X,bH as b,bA as Y,be as Z,b$ as $,bO as ee,c9 as c,aB as te,bV as k,bk as re}from"./CJxGDkBm.js";import{s as ne,f as ie,c as oe}from"./puisNM3r.js";import{i as O}from"./DrPmlbuk.js";import{k as se}from"./4f4S0sUh.js";import{I as ae}from"./B34oQCN1.js";import"./LQm_WUG-.js";import{L as le}from"./WoXHXc-b.js";import"./C8PDklve.js";import{D as ue}from"./CDCwuoNC.js";import{b as W}from"./BmCHTIDH.js";import{J as ce,H as y}from"./Dw86rOY4.js";var fe=T('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 15.82L12 23.76M4.44 21L8.35 16.35A1.96 1.96 0 0 0 6.4 12.99L0.42 14.04M1.82 6.12L7.08 9.16A1.96 1.96 0 0 0 10.06 6.66L7.98 0.95M16.02 0.95L13.94 6.66A1.96 1.96 0 0 0 16.92 9.16L22.18 6.12M23.58 14.04L17.6 12.99A1.96 1.96 0 0 0 15.65 16.35L19.56 21" stroke="currentColor" stroke-width="2.06" stroke-linecap="butt" stroke-linejoin="round"></path></svg>');function me(f,o){if(new.target)return P({component:me,...f});F(o,!0);let e=d(o,"width",7,24),n=d(o,"class",7,"");var s={get width(){return e()},set width(a=24){e(a),p()},get class(){return n()},set class(a=""){n(a),p()},$set:V,$on:(a,m)=>B(o,a,m)},l=fe();return z(()=>{ne(l,"width",e()),ie(l,0,oe(n()))}),_(f,l),j(s)}var de=te('<div class="grid gap-2"><!> <!></div>');function E(f,o){if(new.target)return P({component:E,...f});F(o,!0);let e=d(o,"request",7),n=d(o,"value",15,""),s=d(o,"busy",7,!1),l=d(o,"static",7,!1),a=d(o,"onAccept",7),m=d(o,"onCancel",7),v=k(null);var A={get request(){return e()},set request(t){e(t),p()},get value(){return n()},set value(t=""){n(t),p()},get busy(){return s()},set busy(t=!1){s(t),p()},get static(){return l()},set static(t=!1){l(t),p()},get onAccept(){return a()},set onAccept(t){a(t),p()},get onCancel(){return m()},set onCancel(t){m(t),p()},$set:V,$on:(t,g)=>B(o,t,g)},h=H(),i=I(h);{var u=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_bulkActionConfirm_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_bulkActionConfirm_cancel_label()),S=c(()=>e().options.destructive??!1);ue(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get confirmLabel(){return r(g)},get cancelLabel(){return r(M)},get destructive(){return r(S)},get busy(){return s()},onConfirm:()=>a()(n()),get onCancel(){return m()}})}},q=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_input_cancel_label()),S=c(()=>!e().options.field.required||n().trim().length>0);W(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},get cancelLabel(){return r(M)},get canSubmit(){return r(S)},get busy(){return s()},get initialFocus(){return r(v)},onSubmit:()=>a()(n()),get onCancel(){return m()},children:(G,ge)=>{var D=de(),J=U(D);{var K=C=>{le(C,{for:"confirm-prompt-field",children:(R,w)=>{Z();var N=$();z(()=>ee(N,e().options.field.label)),_(R,N)},$$slots:{default:!0}})};O(J,C=>{e().options.field.label&&C(K)})}var Q=X(J,2);{let C=c(()=>e().options.field.type??"text"),R=c(()=>e().options.field.label?void 0:e().options.title);ae(Q,{id:"confirm-prompt-field",get type(){return r(C)},get placeholder(){return e().options.field.placeholder},get"aria-label"(){return r(R)},get ref(){return r(v)},set ref(w){b(v,w,!0)},get value(){return n()},set value(w){n(w)}})}Y(D),_(G,D)},$$slots:{default:!0}})}},x=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label());W(t,{open:!0,get static(){return l()},role:"alertdialog",get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},showCancel:!1,dismissOnInteractOutside:!1,get busy(){return s()},onSubmit:()=>a()(n()),onCancel:()=>a()(n())})}};O(i,t=>{e()?.kind==="confirm"?t(u):e()?.kind==="prompt"?t(q,1):e()?.kind==="alert"&&t(x,2)})}return _(f,h),j(A)}function pe(f,o){if(new.target)return P({component:pe,...f});F(o,!0);let e=k(null),n=k(""),s=k(!1);re(()=>ce(i=>{b(e,i,!0),b(n,i?.kind==="prompt"?i.options.field.initialValue??"":"",!0),b(s,!1)}));function l(){!r(e)||r(s)||y(r(e).id,r(e).kind==="confirm"?!1:null)}async function a(){if(!r(e)||r(s))return;const i=r(e);b(s,!0);try{i.kind==="confirm"?(await i.options.onConfirm?.(),y(i.id,!0)):i.kind==="prompt"?(await i.options.onConfirm?.(r(n).trim()),y(i.id,r(n).trim())):y(i.id,void 0)}catch(u){throw console.error("Confirm action failed:",u),b(s,!1),u}}var m={$set:V,$on:(i,u)=>B(o,i,u)},v=H(),A=I(v);{var h=i=>{var u=H(),q=I(u);se(q,()=>r(e).id,x=>{E(x,{get request(){return r(e)},get busy(){return r(s)},onAccept:a,onCancel:l,get value(){return r(n)},set value(t){b(n,t,!0)}})}),_(i,u)};O(A,i=>{r(e)&&i(h)})}return _(f,v),j(m)}export{pe as C,me as L};
@@ -1,4 +1,4 @@
1
- import{g as gt}from"./DMicUhyp.js";import{d as mt,g as lt,f as xt,e as kt}from"./Blu36gU0.js";import{U as _t,aZ as vt,V as bt,a_ as wt,Y as Tt,b0 as St,b as s,X as R,aW as H,B as $t,r as Mt,d as it}from"./BN2Xx7qY.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,W;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var X="";W=[];for(N in v[A])this.terminals_[N]&&N>yt&&W.push("'"+this.terminals_[N]+"'");_.showPosition?X="Parse error on line "+(C+1)+`:
1
+ import{g as gt}from"./DODIyxsG.js";import{d as mt,g as lt,f as xt,e as kt}from"./BX-wlbf1.js";import{U as _t,aZ as vt,V as bt,a_ as wt,Y as Tt,b0 as St,b as s,X as R,aW as H,B as $t,r as Mt,d as it}from"./C2gV5GaR.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,W;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var X="";W=[];for(N in v[A])this.terminals_[N]&&N>yt&&W.push("'"+this.terminals_[N]+"'");_.showPosition?X="Parse error on line "+(C+1)+`:
2
2
  `+_.showPosition()+`
3
3
  Expecting `+W.join(", ")+", got '"+(this.terminals_[b]||b)+"'":X="Parse error on line "+(C+1)+": Unexpected "+(b==D?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(X,{text:_.match,token:this.terminals_[b]||b,line:_.yylineno,loc:Y,expected:W})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+b);switch(T[0]){case 1:l.push(b),d.push(_.yytext),c.push(_.yylloc),l.push(T[1]),b=null,Q=_.yyleng,k=_.yytext,C=_.yylineno,Y=_.yylloc;break;case 2:if(M=this.productions_[T[1]][1],F.$=d[d.length-M],F._$={first_line:c[c.length-(M||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(M||1)].first_column,last_column:c[c.length-1].last_column},ft&&(F._$.range=[c[c.length-(M||1)].range[0],c[c.length-1].range[1]]),q=this.performAction.apply(F,[k,Q,C,I.yy,T[1],d,c].concat(dt)),typeof q<"u")return q;M&&(l=l.slice(0,-1*M*2),d=d.slice(0,-1*M),c=c.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),d.push(F.$),c.push(F._$),et=v[l[l.length-2]][l[l.length-1]],l.push(et);break;case 3:return!0}}return!0},"parse")},m=(function(){var h={EOF:1,parseError:s(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:s(function(r,n){return this.yy=n||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:s(function(r){var n=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/D2C9COn-.js","/app/immutable/chunks/D4MngzTk.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/BwCXlNwV.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/C-KmDSVv.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/C3DfjxaV.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/DWPd-rzt.js","/app/immutable/chunks/GLifdN8w.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/BJKM0aco.js","/app/immutable/chunks/D7Fu5qfY.js","/app/immutable/chunks/DrzhapyO.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/DTWXK3Yd.js","/app/immutable/chunks/BV4GrhSx.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/bDYVRgHv.js","/app/immutable/chunks/CS2E7BOf.js","/app/immutable/chunks/pYgZjzLi.js","/app/immutable/chunks/BqUNG33_.js","/app/immutable/chunks/DJtAtlMe.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/DCtyzj03.js","/app/immutable/chunks/o4jWsDx5.js","/app/immutable/chunks/Cl9D9QD8.js","/app/immutable/chunks/Di9Z0x4r.js","/app/immutable/chunks/BiVxPdNt.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/BddjjpyI.js","/app/immutable/chunks/utZHhb7g.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/lJ2hrkPe.js","/app/immutable/chunks/DJXbxolz.js","/app/immutable/chunks/BpMUTlD3.js","/app/immutable/chunks/yfZcC2N6.js","/app/immutable/chunks/R_gbTJLb.js"])))=>i.map(i=>d[i]);
2
- import{_ as ue,t as re,bo as v,bw as ne,b as se,bm as k}from"./D4MngzTk.js";import{IS as pe}from"./BwCXlNwV.js";import{bs as ie,a7 as le,ay as X,aD as n,W as f,bn as oe,c9 as A,aA as h,a5 as q,bA as G,b_ as S,aB as P,bl as U,bO as K,bS as T,ca as de,bH as fe,bV as _e,aC as H}from"./CJxGDkBm.js";import{i as L}from"./BqUNG33_.js";import{c as ge,e as me,f as te,g as ce,s as M}from"./DrzhapyO.js";import{m as ve}from"./Di9Z0x4r.js";import{e as he}from"./DCtyzj03.js";import{t as Ce}from"./DAsc1V4f.js";import{F as we}from"./BddjjpyI.js";import{M as ke}from"./yFbmvZcp.js";import{a as be}from"./lJ2hrkPe.js";import{aO as xe}from"./D7S6-tcN.js";import{n as z,e as $,s as J}from"./utZHhb7g.js";import{f as Se}from"./DJtAtlMe.js";import"./BJKM0aco.js";function ut(r,t,c){if(r.metaKey||r.ctrlKey||!(r.currentTarget instanceof Element)||!r.currentTarget.closest("[data-assistant-panels]"))return!1;const e=pe.state.agentSessions.byAgentId[c]?.workspaceId??t,i=r.currentTarget.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId;return ue(async()=>{const{showAssistantContent:o}=await import("./D2C9COn-.js");return{showAssistantContent:o}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url).then(({showAssistantContent:o})=>o(`intent://local/${e}/agent/${c}`,{layoutId:i})),!0}var Te=P('<span class="text-subtle animate-pulse"> </span>'),ye=P('<span class="text-green-600 dark:text-green-400 flex items-center gap-0.5"><span class="opacity-70">+</span> <span> </span></span>'),Ee=P('<span class="text-red-600 dark:text-red-400 flex items-center gap-0.5"><span class="opacity-70">-</span> <span> </span></span>'),Ie=P('<span class="text-subtle"> </span>'),Me=P("<!> <!> <!>",1),Le=P("<div><!></div>");function Ae(r,t){if(new.target)return re({component:Ae,...r});ie(t,!0);let c=v(t,"additions",7,0),e=v(t,"deletions",7,0),i=v(t,"showZero",7,!1),o=v(t,"size",7,"sm"),g=v(t,"inline",7,!0),u=v(t,"loading",7,!1),d=v(t,"class",7,""),y=A(()=>i()||c()>0||e()>0||u()),R=A(()=>{switch(o()){case"xs":return"text-ui gap-1";case"sm":return"text-xs gap-1.5";case"md":return"text-sm gap-2";case"lg":return"text-base gap-2.5";default:return"text-xs gap-1.5"}});function B(a){return ve(a,{notation:"compact"})}var F={get additions(){return c()},set additions(a=0){c(a),h()},get deletions(){return e()},set deletions(a=0){e(a),h()},get showZero(){return i()},set showZero(a=!1){i(a),h()},get size(){return o()},set size(a="sm"){o(a),h()},get inline(){return g()},set inline(a=!0){g(a),h()},get loading(){return u()},set loading(a=!1){u(a),h()},get class(){return d()},set class(a=""){d(a),h()},$set:ne,$on:(a,w)=>se(t,a,w)},C=le(),D=X(C);{var p=a=>{var w=Le(),W=q(w);{var E=_=>{var m=Te(),N=U(m,!0);S(O=>K(N,O),[()=>k.shared_lineChangeStats_calculating_label()]),f(_,m)},V=_=>{var m=Me(),N=X(m);{var O=s=>{var l=ye(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(c())]),f(s,l)};L(N,s=>{(c()>0||i())&&s(O)})}var Z=T(N,2);{var j=s=>{var l=Ee(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(e())]),f(s,l)};L(Z,s=>{(e()>0||i())&&s(j)})}var x=T(Z,2);{var Q=s=>{var l=Ie(),b=U(l,!0);S(I=>K(b,I),[()=>k.shared_lineChangeStats_noChanges_label()]),f(s,l)};L(x,s=>{!c()&&!e()&&!i()&&s(Q)})}f(_,m)};L(W,_=>{u()?_(E):_(V,-1)})}G(w),S(_=>te(w,1,_),[()=>ge(me("whitespace-nowrap",g()?"inline-flex":"flex","items-center font-mono",n(R),d()))]),f(a,w)};L(D,a=>{n(y)&&a(p)})}return f(r,C),oe(F)}const Ne=new Map([["STRONG","strong"],["B","strong"],["EM","em"],["I","em"],["CODE","code"]]),Pe=new Set(["AUDIO","BUTTON","CANVAS","DETAILS","EMBED","HR","IFRAME","IMG","INPUT","OBJECT","PICTURE","PRE","SELECT","SVG","TABLE","TEXTAREA","VIDEO"]),Re=new Set(["ARTICLE","BLOCKQUOTE","DD","DIV","DT","FOOTER","H1","H2","H3","H4","H5","H6","HEADER","LI","P","SECTION"]);function De(r){return typeof Intl.Segmenter=="function"?Array.from(new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(r),({segment:t})=>t):Array.from(r)}function ee(r,t,c,e){for(const i of De(t.replace(/\s+/gu," "))){const o=i===" ";if(!(o&&(!e.hasText||e.lastWasSpace))){if(e.visibleLength>=c){if(o)return;e.truncated||r.append(document.createTextNode("…")),e.truncated=!0;return}r.append(document.createTextNode(i)),e.visibleLength+=1,e.hasText=!0,e.lastWasSpace=o}}}function ae(r,t,c,e){if(e.truncated)return;if(r.nodeType===Node.TEXT_NODE){ee(t,r.textContent??"",c,e);return}if(!(r instanceof HTMLElement)||Pe.has(r.tagName))return;if(r.tagName==="BR"){ee(t," ",c,e);return}const i=Ne.get(r.tagName);if(i){const o=document.createElement(i);t.append(o);for(const g of r.childNodes)ae(g,o,c,e);o.textContent||o.remove();return}Re.has(r.tagName)&&e.hasText&&ee(t," ",c,e);for(const o of r.childNodes)ae(o,t,c,e)}async function Oe(r,t=80){const c=await xe(r,{allowEmpty:!0,skipIfHTML:!1,preserveAnchors:!1,processPrimitives:!1,taskBlockRenderMode:"content"}),e=document.createElement("template");e.innerHTML=c;const i=document.createElement("span"),o={visibleLength:0,hasText:!1,lastWasSpace:!1,truncated:!1},g=Math.max(0,Math.floor(t));for(const u of e.content.childNodes)ae(u,i,g,o);return i.innerHTML.trim()}async function ze(r){const t=await Oe(r,Number.MAX_SAFE_INTEGER),c=document.createElement("span");return c.innerHTML=t,(c.textContent??"").replace(/<\/?[A-Za-z][^>]*>/gu,"").replace(/\s+/gu," ").trim()}var He=P('<span data-testid="agent-preview-tool-icon"><!></span>'),Be=P('<span><!> <span class="min-w-0 flex-1 truncate text-inherit opacity-[inherit]" data-testid="agent-preview-tool-text"> </span></span>');function Fe(r,t){if(new.target)return re({component:Fe,...r});ie(t,!0);const c=new Set(["figma","sentry","playwright","github","linear","slack","context7"]);let e=v(t,"toolUse",7),i=v(t,"animate",7,!1),o=v(t,"iconSize",7,12),g=v(t,"showIcon",7,!0),u=v(t,"class",7,"");const d=A(()=>be(e().name,e().input||{})),y=A(()=>[n(d).verb,n(d).subject,n(d).path].filter(Boolean).join(" ").trim()||n(d).verb||k.chat_previewToolLabel_tool_fallback());let R=_e("");de(()=>{const p=n(y);let a=!1;return ze(p).then(w=>{a||fe(R,w,!0)}),()=>{a=!0}});var B={get toolUse(){return e()},set toolUse(p){e(p),h()},get animate(){return i()},set animate(p=!1){i(p),h()},get iconSize(){return o()},set iconSize(p=12){o(p),h()},get showIcon(){return g()},set showIcon(p=!0){g(p),h()},get class(){return u()},set class(p=""){u(p),h()},$set:ne,$on:(p,a)=>se(t,p,a)},F=le(),C=X(F);{var D=p=>{var a=Be(),w=q(a);{var W=_=>{var m=He(),N=q(m);{var O=x=>{ke(x,{get iconName(){return n(d).mcpSource},get label(){return n(d).mcpSource},get size(){return o()}})},Z=A(()=>n(d).mcpSource&&c.has(n(d).mcpSource)),j=x=>{we(x,{get icon(){return n(d).icon},class:"h-full! w-full! text-inherit opacity-[inherit]"})};L(N,x=>{n(Z)?x(O):x(j,-1)})}G(m),S(()=>{te(m,1,`agent-preview-tool-icon inline-flex shrink-0 items-center justify-center text-inherit opacity-[inherit] ${i()?"animate-pulse":""}`,"svelte-115ywqs"),ce(m,`width: ${o()??""}px; height: ${o()??""}px;`)}),f(_,m)};L(w,_=>{g()&&_(W)})}var E=T(w,2),V=U(E,!0);he(E,(_,m)=>Ce?.(_,m),()=>n(R)),G(a),S(()=>{te(a,1,`type-body inline-flex w-full min-w-0 items-center font-normal ${g()?"gap-1.5":""} ${u()??""}`,"svelte-115ywqs"),K(V,n(R))}),f(p,a)};L(C,p=>{n(d).hidden||p(D)})}return f(r,F),oe(B)}var Ve=H('<circle cx="12" cy="12" r="10" stroke-width="2" fill="none"></circle>'),Ze=H('<path d="M7 12.5L10.5 16L17 9" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>'),Ue=H('<path d="M5 19L19 5" stroke-width="2.5" stroke-linecap="round"></path>'),qe=H('<path d="M13.1372 17.7135C13.1372 18.1682 12.9566 18.6042 12.6351 18.9257C12.3136 19.2472 11.8776 19.4278 11.4229 19.4278C10.9683 19.4278 10.5322 19.2472 10.2107 18.9257C9.88925 18.6042 9.70864 18.1682 9.70864 17.7135C9.70864 17.2589 9.88925 16.8228 10.2107 16.5014C10.5322 16.1799 10.9683 15.9993 11.4229 15.9993C11.8776 15.9993 12.3136 16.1799 12.6351 16.5014C12.9566 16.8228 13.1372 17.2589 13.1372 17.7135ZM10.2109 7.07297C10.3957 6.88872 10.6201 6.7491 10.8671 6.66473C11.114 6.58037 11.377 6.55349 11.6359 6.58615C11.8948 6.61881 12.1428 6.71015 12.361 6.8532C12.5793 6.99625 12.762 7.18724 12.8953 7.4116C13.0285 7.63597 13.1088 7.8878 13.1299 8.14789C13.1511 8.40799 13.1126 8.66948 13.0174 8.91244C12.9222 9.1554 12.7728 9.37342 12.5805 9.54988C12.3883 9.72634 12.1583 9.85659 11.9081 9.93068C11.1212 10.1604 10.1372 10.901 10.1372 12.1421V12.5707C10.1372 12.9117 10.2727 13.2387 10.5138 13.4798C10.7549 13.7209 11.0819 13.8564 11.4229 13.8564C11.7639 13.8564 12.0909 13.7209 12.3321 13.4798C12.5732 13.2387 12.7086 12.9117 12.7086 12.5707V12.3735C13.3281 12.1785 13.8952 11.8451 14.3669 11.3988C14.8387 10.9524 15.2029 10.4046 15.4319 9.79683C15.6609 9.18906 15.7487 8.53719 15.6888 7.89048C15.6289 7.24377 15.4228 6.61913 15.0861 6.06376C14.7494 5.50838 14.2908 5.03681 13.7451 4.68466C13.1994 4.33251 12.5808 4.10899 11.936 4.03101C11.2912 3.95302 10.6371 4.0226 10.0232 4.23449C9.40925 4.44638 8.8515 4.79503 8.39207 5.25411C8.26933 5.37277 8.17145 5.51469 8.10414 5.67158C8.03683 5.82848 8.00145 5.9972 8.00004 6.16792C7.99864 6.33864 8.03125 6.50792 8.09597 6.6659C8.16069 6.82388 8.25623 6.96739 8.37701 7.08805C8.49778 7.20871 8.64138 7.30411 8.79942 7.36868C8.95746 7.43326 9.12677 7.46571 9.29749 7.46414C9.4682 7.46258 9.6369 7.42703 9.79373 7.35958C9.95056 7.29212 10.0924 7.19411 10.2109 7.07125V7.07297Z" fill="white" class="origin-center"></path>'),Ge=H('<path d="M12 5.5V13.5" stroke="white" stroke-width="3" stroke-linecap="round"></path><circle cx="12" cy="17.5" r="1.6" fill="white" class="origin-center"></circle>',1),We=H('<path d="M11.6668 13.649C12.1044 13.649 12.5241 13.4751 12.8336 13.1656C13.1431 12.8562 13.3169 12.4365 13.3169 11.9988C13.3169 11.5611 13.1431 11.1414 12.8336 10.832C12.5241 10.5225 12.1044 10.3486 11.6668 10.3486C11.2291 10.3486 10.8094 10.5225 10.4999 10.832C10.1905 11.1414 10.0166 11.5611 10.0166 11.9988C10.0166 12.4365 10.1905 12.8562 10.4999 13.1656C10.8094 13.4751 11.2291 13.649 11.6668 13.649Z" fill="white" class="origin-center"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4.38506 12.3064C4.31566 12.1046 4.31566 11.8855 4.38506 11.6837C4.90912 10.1693 5.89241 8.85596 7.198 7.92665C8.50359 6.99734 10.0665 6.4983 11.669 6.49902C13.2716 6.49975 14.834 7.00021 16.1388 7.9307C17.4435 8.8612 18.4256 10.1754 18.9483 11.6903C19.0177 11.8921 19.0177 12.1112 18.9483 12.313C18.4245 13.8278 17.4412 15.1416 16.1355 16.0712C14.8298 17.0008 13.2666 17.5 11.6638 17.4993C10.0609 17.4986 8.49824 16.9979 7.19336 16.0671C5.88848 15.1363 4.90641 13.8217 4.38396 12.3064H4.38506ZM14.9681 11.9984C14.9681 12.8737 14.6204 13.7131 14.0015 14.3321C13.3825 14.951 12.5431 15.2987 11.6678 15.2987C10.7925 15.2987 9.95304 14.951 9.33411 14.3321C8.71517 13.7131 8.36746 12.8737 8.36746 11.9984C8.36746 11.1231 8.71517 10.2836 9.33411 9.66468C9.95304 9.04575 10.7925 8.69803 11.6678 8.69803C12.5431 8.69803 13.3825 9.04575 14.0015 9.66468C14.6204 10.2836 14.9681 11.1231 14.9681 11.9984Z" fill="white" class="origin-center"></path>',1),je=H('<svg viewBox="0 0 24 24" fill="none"><defs><clipPath><rect x="48%" y="0" width="100%" height="100%"></rect></clipPath></defs><circle cx="50%" cy="50%" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none origin-center"></circle><circle cx="50%" cy="50%" r="45%" stroke-width="2.5" fill="none" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none"></circle><!></svg>');function Ke(r,t){if(new.target)return re({component:Ke,...r});ie(t,!0);const c=new Set(["not_started","waiting","discussion_needed","blocked","in_progress","review_required","complete","cancelled"]);let e=v(t,"status",7),i=v(t,"size",7,16),o=v(t,"onclick",7);const g=Math.random().toString(36).substring(2,9);let u=A(()=>e()==="todo"?"not_started":e()==="in-progress"?"in_progress":e()==="done"?"complete":typeof e()=="string"&&c.has(e())?e():"unknown");const d={not_started:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},waiting:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},discussion_needed:{stroke:"#f59e0b",fill:"#f59e0b",innerCircleRPercentage:100},blocked:{stroke:"#ef4444",fill:"#ef4444",innerCircleRPercentage:100},in_progress:{stroke:"#00BCFF",fill:"#00BCFF",innerCircleRPercentage:55},review_required:{stroke:"#3b82f6",fill:"#3b82f6",innerCircleRPercentage:100},complete:{stroke:"#22c55e",fill:"#00BD7D",innerCircleRPercentage:100},cancelled:{stroke:"#99999966",fill:"#99999966",innerCircleRPercentage:0},unknown:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0}};let y=A(()=>d[n(u)]||d.not_started);const R={not_started:k.tiptap_taskStatus_notStarted_label,waiting:k.tiptap_taskStatus_waiting_label,discussion_needed:k.tiptap_taskStatus_discussionNeeded_label,blocked:k.tiptap_taskStatus_blocked_label,in_progress:k.tiptap_taskStatus_inProgress_label,review_required:k.tiptap_taskStatus_reviewRequired_label,complete:k.tiptap_taskStatus_complete_label,cancelled:k.tiptap_taskStatus_cancelled_label,unknown:k.tiptap_taskStatus_unknown_label};let B=A(()=>(R[n(u)]??k.tiptap_taskStatus_unknown_label)());var F={get status(){return e()},set status(C){e(C),h()},get size(){return i()},set size(C=16){i(C),h()},get onclick(){return o()},set onclick(C){o(C),h()},$set:ne,$on:(C,D)=>se(t,C,D)};{let C=A(()=>k.tiptap_taskStatus_status_tooltip({status:n(B)}));Se(r,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,class:"task-status-icon shrink-0 cursor-pointer bg-transparent border-0 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-primary-ink rounded-full",get style(){return`width: ${i()??""}px; height: ${i()??""}px;`},get onclick(){return o()},get title(){return n(C)},children:(D,p)=>{var a=je(),w=q(a),W=U(w),E=T(w),V=T(E),_=T(V);{var m=s=>{},N=s=>{var l=Ve();S(()=>M(l,"stroke",n(y).stroke)),f(s,l)},O=s=>{var l=Ze();z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},Z=s=>{var l=Ue();S(()=>M(l,"stroke",n(y).stroke)),z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},j=s=>{var l=qe();z(3,l,()=>J,()=>({tier:"slow"})),f(s,l)},x=s=>{var l=Ge(),b=X(l),I=T(b);z(3,b,()=>$,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)},Q=s=>{var l=We(),b=X(l),I=T(b);z(3,b,()=>J,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)};L(_,s=>{n(u)==="not_started"||n(u)==="waiting"?s(m):n(u)==="in_progress"?s(N,1):n(u)==="complete"?s(O,2):n(u)==="cancelled"?s(Z,3):n(u)==="discussion_needed"?s(j,4):n(u)==="blocked"?s(x,5):n(u)==="review_required"&&s(Q,6)})}G(a),S(()=>{M(a,"width",i()),M(a,"height",i()),ce(a,`width: ${i()??""}px; height: ${i()??""}px;`),M(W,"id",`half-clip-${g??""}`),M(E,"r",`${n(y).innerCircleRPercentage*.5}%`),M(E,"fill",n(y).fill),M(E,"clip-path",n(u)==="in_progress"?`url(#half-clip-${g})`:"none"),M(V,"stroke",n(y).stroke)}),f(D,a)},$$slots:{default:!0}})}return oe(F)}export{Fe as A,Ae as L,Ke as T,Oe as a,ut as o,ze as r};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DB5oJv4b.js","/app/immutable/chunks/NtxbXOxK.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/DUUOaZUX.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/A91xcSiw.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/BpozSsrs.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/DWPd-rzt.js","/app/immutable/chunks/BFPmZe29.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/DcsVySxU.js","/app/immutable/chunks/BnE71Sxv.js","/app/immutable/chunks/puisNM3r.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/DTWXK3Yd.js","/app/immutable/chunks/BV4GrhSx.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/C2Q_f-Ao.js","/app/immutable/chunks/B7KiQTDj.js","/app/immutable/chunks/BVSy1i1c.js","/app/immutable/chunks/DrPmlbuk.js","/app/immutable/chunks/Bst2sLeL.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/jSlXIbXa.js","/app/immutable/chunks/CDAGrCMS.js","/app/immutable/chunks/4f4S0sUh.js","/app/immutable/chunks/BqCQZYkF.js","/app/immutable/chunks/b_O4pZtc.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/S6AtfZPI.js","/app/immutable/chunks/BkAhwE4C.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/Bd92b52s.js","/app/immutable/chunks/DSGWdxMc.js","/app/immutable/chunks/qW1_mixC.js","/app/immutable/chunks/CMFCeNSK.js","/app/immutable/chunks/DUyvq6BR.js"])))=>i.map(i=>d[i]);
2
+ import{_ as ue,t as re,bo as v,bw as ne,b as se,bm as k}from"./NtxbXOxK.js";import{IS as pe}from"./DUUOaZUX.js";import{bs as ie,a7 as le,ay as X,aD as n,W as f,bn as oe,c9 as A,aA as h,a5 as q,bA as G,b_ as S,aB as P,bl as U,bO as K,bS as T,ca as de,bH as fe,bV as _e,aC as H}from"./CJxGDkBm.js";import{i as L}from"./DrPmlbuk.js";import{c as ge,e as me,f as te,g as ce,s as M}from"./puisNM3r.js";import{m as ve}from"./BqCQZYkF.js";import{e as he}from"./jSlXIbXa.js";import{t as Ce}from"./DAsc1V4f.js";import{F as we}from"./S6AtfZPI.js";import{M as ke}from"./P3QocI-G.js";import{a as be}from"./Bd92b52s.js";import{aO as xe}from"./D9e6EkDi.js";import{n as z,e as $,s as J}from"./BkAhwE4C.js";import{f as Se}from"./Bst2sLeL.js";import"./DcsVySxU.js";function ut(r,t,c){if(r.metaKey||r.ctrlKey||!(r.currentTarget instanceof Element)||!r.currentTarget.closest("[data-assistant-panels]"))return!1;const e=pe.state.agentSessions.byAgentId[c]?.workspaceId??t,i=r.currentTarget.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId;return ue(async()=>{const{showAssistantContent:o}=await import("./DB5oJv4b.js");return{showAssistantContent:o}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url).then(({showAssistantContent:o})=>o(`intent://local/${e}/agent/${c}`,{layoutId:i})),!0}var Te=P('<span class="text-subtle animate-pulse"> </span>'),ye=P('<span class="text-green-600 dark:text-green-400 flex items-center gap-0.5"><span class="opacity-70">+</span> <span> </span></span>'),Ee=P('<span class="text-red-600 dark:text-red-400 flex items-center gap-0.5"><span class="opacity-70">-</span> <span> </span></span>'),Ie=P('<span class="text-subtle"> </span>'),Me=P("<!> <!> <!>",1),Le=P("<div><!></div>");function Ae(r,t){if(new.target)return re({component:Ae,...r});ie(t,!0);let c=v(t,"additions",7,0),e=v(t,"deletions",7,0),i=v(t,"showZero",7,!1),o=v(t,"size",7,"sm"),g=v(t,"inline",7,!0),u=v(t,"loading",7,!1),d=v(t,"class",7,""),y=A(()=>i()||c()>0||e()>0||u()),R=A(()=>{switch(o()){case"xs":return"text-ui gap-1";case"sm":return"text-xs gap-1.5";case"md":return"text-sm gap-2";case"lg":return"text-base gap-2.5";default:return"text-xs gap-1.5"}});function B(a){return ve(a,{notation:"compact"})}var F={get additions(){return c()},set additions(a=0){c(a),h()},get deletions(){return e()},set deletions(a=0){e(a),h()},get showZero(){return i()},set showZero(a=!1){i(a),h()},get size(){return o()},set size(a="sm"){o(a),h()},get inline(){return g()},set inline(a=!0){g(a),h()},get loading(){return u()},set loading(a=!1){u(a),h()},get class(){return d()},set class(a=""){d(a),h()},$set:ne,$on:(a,w)=>se(t,a,w)},C=le(),D=X(C);{var p=a=>{var w=Le(),W=q(w);{var E=_=>{var m=Te(),N=U(m,!0);S(O=>K(N,O),[()=>k.shared_lineChangeStats_calculating_label()]),f(_,m)},V=_=>{var m=Me(),N=X(m);{var O=s=>{var l=ye(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(c())]),f(s,l)};L(N,s=>{(c()>0||i())&&s(O)})}var Z=T(N,2);{var j=s=>{var l=Ee(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(e())]),f(s,l)};L(Z,s=>{(e()>0||i())&&s(j)})}var x=T(Z,2);{var Q=s=>{var l=Ie(),b=U(l,!0);S(I=>K(b,I),[()=>k.shared_lineChangeStats_noChanges_label()]),f(s,l)};L(x,s=>{!c()&&!e()&&!i()&&s(Q)})}f(_,m)};L(W,_=>{u()?_(E):_(V,-1)})}G(w),S(_=>te(w,1,_),[()=>ge(me("whitespace-nowrap",g()?"inline-flex":"flex","items-center font-mono",n(R),d()))]),f(a,w)};L(D,a=>{n(y)&&a(p)})}return f(r,C),oe(F)}const Ne=new Map([["STRONG","strong"],["B","strong"],["EM","em"],["I","em"],["CODE","code"]]),Pe=new Set(["AUDIO","BUTTON","CANVAS","DETAILS","EMBED","HR","IFRAME","IMG","INPUT","OBJECT","PICTURE","PRE","SELECT","SVG","TABLE","TEXTAREA","VIDEO"]),Re=new Set(["ARTICLE","BLOCKQUOTE","DD","DIV","DT","FOOTER","H1","H2","H3","H4","H5","H6","HEADER","LI","P","SECTION"]);function De(r){return typeof Intl.Segmenter=="function"?Array.from(new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(r),({segment:t})=>t):Array.from(r)}function ee(r,t,c,e){for(const i of De(t.replace(/\s+/gu," "))){const o=i===" ";if(!(o&&(!e.hasText||e.lastWasSpace))){if(e.visibleLength>=c){if(o)return;e.truncated||r.append(document.createTextNode("…")),e.truncated=!0;return}r.append(document.createTextNode(i)),e.visibleLength+=1,e.hasText=!0,e.lastWasSpace=o}}}function ae(r,t,c,e){if(e.truncated)return;if(r.nodeType===Node.TEXT_NODE){ee(t,r.textContent??"",c,e);return}if(!(r instanceof HTMLElement)||Pe.has(r.tagName))return;if(r.tagName==="BR"){ee(t," ",c,e);return}const i=Ne.get(r.tagName);if(i){const o=document.createElement(i);t.append(o);for(const g of r.childNodes)ae(g,o,c,e);o.textContent||o.remove();return}Re.has(r.tagName)&&e.hasText&&ee(t," ",c,e);for(const o of r.childNodes)ae(o,t,c,e)}async function Oe(r,t=80){const c=await xe(r,{allowEmpty:!0,skipIfHTML:!1,preserveAnchors:!1,processPrimitives:!1,taskBlockRenderMode:"content"}),e=document.createElement("template");e.innerHTML=c;const i=document.createElement("span"),o={visibleLength:0,hasText:!1,lastWasSpace:!1,truncated:!1},g=Math.max(0,Math.floor(t));for(const u of e.content.childNodes)ae(u,i,g,o);return i.innerHTML.trim()}async function ze(r){const t=await Oe(r,Number.MAX_SAFE_INTEGER),c=document.createElement("span");return c.innerHTML=t,(c.textContent??"").replace(/<\/?[A-Za-z][^>]*>/gu,"").replace(/\s+/gu," ").trim()}var He=P('<span data-testid="agent-preview-tool-icon"><!></span>'),Be=P('<span><!> <span class="min-w-0 flex-1 truncate text-inherit opacity-[inherit]" data-testid="agent-preview-tool-text"> </span></span>');function Fe(r,t){if(new.target)return re({component:Fe,...r});ie(t,!0);const c=new Set(["figma","sentry","playwright","github","linear","slack","context7"]);let e=v(t,"toolUse",7),i=v(t,"animate",7,!1),o=v(t,"iconSize",7,12),g=v(t,"showIcon",7,!0),u=v(t,"class",7,"");const d=A(()=>be(e().name,e().input||{})),y=A(()=>[n(d).verb,n(d).subject,n(d).path].filter(Boolean).join(" ").trim()||n(d).verb||k.chat_previewToolLabel_tool_fallback());let R=_e("");de(()=>{const p=n(y);let a=!1;return ze(p).then(w=>{a||fe(R,w,!0)}),()=>{a=!0}});var B={get toolUse(){return e()},set toolUse(p){e(p),h()},get animate(){return i()},set animate(p=!1){i(p),h()},get iconSize(){return o()},set iconSize(p=12){o(p),h()},get showIcon(){return g()},set showIcon(p=!0){g(p),h()},get class(){return u()},set class(p=""){u(p),h()},$set:ne,$on:(p,a)=>se(t,p,a)},F=le(),C=X(F);{var D=p=>{var a=Be(),w=q(a);{var W=_=>{var m=He(),N=q(m);{var O=x=>{ke(x,{get iconName(){return n(d).mcpSource},get label(){return n(d).mcpSource},get size(){return o()}})},Z=A(()=>n(d).mcpSource&&c.has(n(d).mcpSource)),j=x=>{we(x,{get icon(){return n(d).icon},class:"h-full! w-full! text-inherit opacity-[inherit]"})};L(N,x=>{n(Z)?x(O):x(j,-1)})}G(m),S(()=>{te(m,1,`agent-preview-tool-icon inline-flex shrink-0 items-center justify-center text-inherit opacity-[inherit] ${i()?"animate-pulse":""}`,"svelte-115ywqs"),ce(m,`width: ${o()??""}px; height: ${o()??""}px;`)}),f(_,m)};L(w,_=>{g()&&_(W)})}var E=T(w,2),V=U(E,!0);he(E,(_,m)=>Ce?.(_,m),()=>n(R)),G(a),S(()=>{te(a,1,`type-body inline-flex w-full min-w-0 items-center font-normal ${g()?"gap-1.5":""} ${u()??""}`,"svelte-115ywqs"),K(V,n(R))}),f(p,a)};L(C,p=>{n(d).hidden||p(D)})}return f(r,F),oe(B)}var Ve=H('<circle cx="12" cy="12" r="10" stroke-width="2" fill="none"></circle>'),Ze=H('<path d="M7 12.5L10.5 16L17 9" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>'),Ue=H('<path d="M5 19L19 5" stroke-width="2.5" stroke-linecap="round"></path>'),qe=H('<path d="M13.1372 17.7135C13.1372 18.1682 12.9566 18.6042 12.6351 18.9257C12.3136 19.2472 11.8776 19.4278 11.4229 19.4278C10.9683 19.4278 10.5322 19.2472 10.2107 18.9257C9.88925 18.6042 9.70864 18.1682 9.70864 17.7135C9.70864 17.2589 9.88925 16.8228 10.2107 16.5014C10.5322 16.1799 10.9683 15.9993 11.4229 15.9993C11.8776 15.9993 12.3136 16.1799 12.6351 16.5014C12.9566 16.8228 13.1372 17.2589 13.1372 17.7135ZM10.2109 7.07297C10.3957 6.88872 10.6201 6.7491 10.8671 6.66473C11.114 6.58037 11.377 6.55349 11.6359 6.58615C11.8948 6.61881 12.1428 6.71015 12.361 6.8532C12.5793 6.99625 12.762 7.18724 12.8953 7.4116C13.0285 7.63597 13.1088 7.8878 13.1299 8.14789C13.1511 8.40799 13.1126 8.66948 13.0174 8.91244C12.9222 9.1554 12.7728 9.37342 12.5805 9.54988C12.3883 9.72634 12.1583 9.85659 11.9081 9.93068C11.1212 10.1604 10.1372 10.901 10.1372 12.1421V12.5707C10.1372 12.9117 10.2727 13.2387 10.5138 13.4798C10.7549 13.7209 11.0819 13.8564 11.4229 13.8564C11.7639 13.8564 12.0909 13.7209 12.3321 13.4798C12.5732 13.2387 12.7086 12.9117 12.7086 12.5707V12.3735C13.3281 12.1785 13.8952 11.8451 14.3669 11.3988C14.8387 10.9524 15.2029 10.4046 15.4319 9.79683C15.6609 9.18906 15.7487 8.53719 15.6888 7.89048C15.6289 7.24377 15.4228 6.61913 15.0861 6.06376C14.7494 5.50838 14.2908 5.03681 13.7451 4.68466C13.1994 4.33251 12.5808 4.10899 11.936 4.03101C11.2912 3.95302 10.6371 4.0226 10.0232 4.23449C9.40925 4.44638 8.8515 4.79503 8.39207 5.25411C8.26933 5.37277 8.17145 5.51469 8.10414 5.67158C8.03683 5.82848 8.00145 5.9972 8.00004 6.16792C7.99864 6.33864 8.03125 6.50792 8.09597 6.6659C8.16069 6.82388 8.25623 6.96739 8.37701 7.08805C8.49778 7.20871 8.64138 7.30411 8.79942 7.36868C8.95746 7.43326 9.12677 7.46571 9.29749 7.46414C9.4682 7.46258 9.6369 7.42703 9.79373 7.35958C9.95056 7.29212 10.0924 7.19411 10.2109 7.07125V7.07297Z" fill="white" class="origin-center"></path>'),Ge=H('<path d="M12 5.5V13.5" stroke="white" stroke-width="3" stroke-linecap="round"></path><circle cx="12" cy="17.5" r="1.6" fill="white" class="origin-center"></circle>',1),We=H('<path d="M11.6668 13.649C12.1044 13.649 12.5241 13.4751 12.8336 13.1656C13.1431 12.8562 13.3169 12.4365 13.3169 11.9988C13.3169 11.5611 13.1431 11.1414 12.8336 10.832C12.5241 10.5225 12.1044 10.3486 11.6668 10.3486C11.2291 10.3486 10.8094 10.5225 10.4999 10.832C10.1905 11.1414 10.0166 11.5611 10.0166 11.9988C10.0166 12.4365 10.1905 12.8562 10.4999 13.1656C10.8094 13.4751 11.2291 13.649 11.6668 13.649Z" fill="white" class="origin-center"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4.38506 12.3064C4.31566 12.1046 4.31566 11.8855 4.38506 11.6837C4.90912 10.1693 5.89241 8.85596 7.198 7.92665C8.50359 6.99734 10.0665 6.4983 11.669 6.49902C13.2716 6.49975 14.834 7.00021 16.1388 7.9307C17.4435 8.8612 18.4256 10.1754 18.9483 11.6903C19.0177 11.8921 19.0177 12.1112 18.9483 12.313C18.4245 13.8278 17.4412 15.1416 16.1355 16.0712C14.8298 17.0008 13.2666 17.5 11.6638 17.4993C10.0609 17.4986 8.49824 16.9979 7.19336 16.0671C5.88848 15.1363 4.90641 13.8217 4.38396 12.3064H4.38506ZM14.9681 11.9984C14.9681 12.8737 14.6204 13.7131 14.0015 14.3321C13.3825 14.951 12.5431 15.2987 11.6678 15.2987C10.7925 15.2987 9.95304 14.951 9.33411 14.3321C8.71517 13.7131 8.36746 12.8737 8.36746 11.9984C8.36746 11.1231 8.71517 10.2836 9.33411 9.66468C9.95304 9.04575 10.7925 8.69803 11.6678 8.69803C12.5431 8.69803 13.3825 9.04575 14.0015 9.66468C14.6204 10.2836 14.9681 11.1231 14.9681 11.9984Z" fill="white" class="origin-center"></path>',1),je=H('<svg viewBox="0 0 24 24" fill="none"><defs><clipPath><rect x="48%" y="0" width="100%" height="100%"></rect></clipPath></defs><circle cx="50%" cy="50%" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none origin-center"></circle><circle cx="50%" cy="50%" r="45%" stroke-width="2.5" fill="none" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none"></circle><!></svg>');function Ke(r,t){if(new.target)return re({component:Ke,...r});ie(t,!0);const c=new Set(["not_started","waiting","discussion_needed","blocked","in_progress","review_required","complete","cancelled"]);let e=v(t,"status",7),i=v(t,"size",7,16),o=v(t,"onclick",7);const g=Math.random().toString(36).substring(2,9);let u=A(()=>e()==="todo"?"not_started":e()==="in-progress"?"in_progress":e()==="done"?"complete":typeof e()=="string"&&c.has(e())?e():"unknown");const d={not_started:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},waiting:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},discussion_needed:{stroke:"#f59e0b",fill:"#f59e0b",innerCircleRPercentage:100},blocked:{stroke:"#ef4444",fill:"#ef4444",innerCircleRPercentage:100},in_progress:{stroke:"#00BCFF",fill:"#00BCFF",innerCircleRPercentage:55},review_required:{stroke:"#3b82f6",fill:"#3b82f6",innerCircleRPercentage:100},complete:{stroke:"#22c55e",fill:"#00BD7D",innerCircleRPercentage:100},cancelled:{stroke:"#99999966",fill:"#99999966",innerCircleRPercentage:0},unknown:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0}};let y=A(()=>d[n(u)]||d.not_started);const R={not_started:k.tiptap_taskStatus_notStarted_label,waiting:k.tiptap_taskStatus_waiting_label,discussion_needed:k.tiptap_taskStatus_discussionNeeded_label,blocked:k.tiptap_taskStatus_blocked_label,in_progress:k.tiptap_taskStatus_inProgress_label,review_required:k.tiptap_taskStatus_reviewRequired_label,complete:k.tiptap_taskStatus_complete_label,cancelled:k.tiptap_taskStatus_cancelled_label,unknown:k.tiptap_taskStatus_unknown_label};let B=A(()=>(R[n(u)]??k.tiptap_taskStatus_unknown_label)());var F={get status(){return e()},set status(C){e(C),h()},get size(){return i()},set size(C=16){i(C),h()},get onclick(){return o()},set onclick(C){o(C),h()},$set:ne,$on:(C,D)=>se(t,C,D)};{let C=A(()=>k.tiptap_taskStatus_status_tooltip({status:n(B)}));Se(r,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,class:"task-status-icon shrink-0 cursor-pointer bg-transparent border-0 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-primary-ink rounded-full",get style(){return`width: ${i()??""}px; height: ${i()??""}px;`},get onclick(){return o()},get title(){return n(C)},children:(D,p)=>{var a=je(),w=q(a),W=U(w),E=T(w),V=T(E),_=T(V);{var m=s=>{},N=s=>{var l=Ve();S(()=>M(l,"stroke",n(y).stroke)),f(s,l)},O=s=>{var l=Ze();z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},Z=s=>{var l=Ue();S(()=>M(l,"stroke",n(y).stroke)),z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},j=s=>{var l=qe();z(3,l,()=>J,()=>({tier:"slow"})),f(s,l)},x=s=>{var l=Ge(),b=X(l),I=T(b);z(3,b,()=>$,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)},Q=s=>{var l=We(),b=X(l),I=T(b);z(3,b,()=>J,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)};L(_,s=>{n(u)==="not_started"||n(u)==="waiting"?s(m):n(u)==="in_progress"?s(N,1):n(u)==="complete"?s(O,2):n(u)==="cancelled"?s(Z,3):n(u)==="discussion_needed"?s(j,4):n(u)==="blocked"?s(x,5):n(u)==="review_required"&&s(Q,6)})}G(a),S(()=>{M(a,"width",i()),M(a,"height",i()),ce(a,`width: ${i()??""}px; height: ${i()??""}px;`),M(W,"id",`half-clip-${g??""}`),M(E,"r",`${n(y).innerCircleRPercentage*.5}%`),M(E,"fill",n(y).fill),M(E,"clip-path",n(u)==="in_progress"?`url(#half-clip-${g})`:"none"),M(V,"stroke",n(y).stroke)}),f(D,a)},$$slots:{default:!0}})}return oe(F)}export{Fe as A,Ae as L,Ke as T,Oe as a,ut as o,ze as r};
@@ -1 +1 @@
1
- import{l as e}from"./C9c1XoGB.js";const t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${t.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:e.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},r={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{i as conf,r as language};
1
+ import{l as e}from"./DTY9Anmi.js";const t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${t.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:e.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},r={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{i as conf,r as language};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/GLifdN8w.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/D4MngzTk.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/BwCXlNwV.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/C-KmDSVv.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/C3DfjxaV.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/DWPd-rzt.js","/app/immutable/chunks/BJKM0aco.js","/app/immutable/chunks/D7Fu5qfY.js","/app/immutable/chunks/DrzhapyO.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/DTWXK3Yd.js","/app/immutable/chunks/BV4GrhSx.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/bDYVRgHv.js"])))=>i.map(i=>d[i]);
2
- var G=Object.defineProperty;var K=(t,e,a)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var A=(t,e,a)=>K(t,typeof e!="symbol"?e+"":e,a);import{IS as l,lX as V,mg as w,nH as b,nG as S,aX as H,oR as j,bj as z,mq as q,mo as X,mn as Z,He as J}from"./BwCXlNwV.js";import{cG as Q,c7 as Y,dD as ee,b as te,N as ae,J as ne,u as se,dR as re,dQ as ie,g as oe,T as M,Q as ce,ds as le,du as de}from"./lJ2hrkPe.js";import{bm as n,_ as _e}from"./D4MngzTk.js";import{am as ue,cX as F}from"./D7S6-tcN.js";import{m as me}from"./Di9Z0x4r.js";import{k as m,w as I}from"./pYgZjzLi.js";import{aE as pe}from"./CJxGDkBm.js";import"./DrzhapyO.js";import"./C3DfjxaV.js";import"./BJKM0aco.js";import"./ChTqQfQN.js";import"./BiVxPdNt.js";import{a as ve}from"./BdWqymET.js";import{b as ye}from"./CrUPGp6e.js";import{a as be}from"./CbSeeP7P.js";function at(t){return t.type==="image"&&typeof t.data=="string"&&typeof t.mimeType=="string"}function nt(t){return t.type==="file"&&typeof t.fileName=="string"&&t.fileName.length>0&&typeof t.attachmentId=="string"&&t.attachmentId.length>0}const C=l.createSelector((t,e)=>t.browser.byWorkspaceId[e]??V),st=l.createSelector((t,e)=>t.browser.byWorkspaceId[e]),rt=l.createSelector((t,e)=>C.select(t,e).recentUrls),it=l.createSelector((t,e,a)=>{const s=C.select(t,e).pendingZoomByTabId[a];return s&&s.length>0?s:null}),ot=l.createSelector((t,e)=>Object.values(C.select(t,e).pendingElementCaptures));function fe(t,e){const a=new Map;if(e)for(const s of e)s.owner&&s.name&&s.path&&a.set(s.path,{owner:s.owner,name:s.name});for(const s of t)s.repositoryPath&&s.repositoryOwner&&s.repositoryName&&a.set(s.repositoryPath,{owner:s.repositoryOwner,name:s.repositoryName});return a}function ge(t,e,a=n.workspace_grouping_unknownRepository_label()){if(t.repositoryOwner&&t.repositoryName)return{key:`${t.repositoryOwner}/${t.repositoryName}`,label:`${t.repositoryOwner}/${t.repositoryName}`,isGithub:!0,owner:t.repositoryOwner};if(t.repositoryPath){const s=e.get(t.repositoryPath);return s?{key:`${s.owner}/${s.name}`,label:`${s.owner}/${s.name}`,isGithub:!0,owner:s.owner}:{key:t.repositoryPath,label:t.repositoryPath.split("/").pop()||t.repositoryPath,isGithub:!1}}return t.repositoryName&&!t.repositoryOwner?{key:t.repositoryName,label:t.repositoryName,isGithub:!1}:{key:a,label:a,isGithub:!1}}function he(t,e){const a=e.get(t.path),s=a?.owner??t.owner,r=a?.name??t.name;return s?{key:`${s}/${r}`,label:`${s}/${r}`,isGithub:!0,owner:s}:{key:t.path,label:t.name,isGithub:!1}}function ke({workspaces:t,knownRepos:e,repoPathLookup:a,includeKnownRepos:s}){const r=new Map;if(s)for(const i of e){const c=he(i,a);r.has(c.key)||r.set(c.key,{...c,repoPath:i.path,name:c.isGithub?c.label.split("/").pop():i.name,workspaces:[]})}for(const i of t){const c=ge(i,a);let d=r.get(c.key);d||(d={...c,repoPath:i.repositoryPath,name:i.repositoryName??(c.isGithub?c.label.split("/").pop():c.label),workspaces:[]},r.set(c.key,d)),d.workspaces.push(i)}return Array.from(r.values())}const ct=l.createSelector((t,e)=>t.workspaceNotes.byWorkspaceId[e]??w),lt=l.createSelector((t,e)=>t.workspaceNotes.byWorkspaceId[e]?.loading??!1),dt=l.createSelector((t,e)=>t.workspaceNotes.byWorkspaceId[e]?.selectedNoteId??null),_t=l.createSelector((t,e)=>t.workspaceNotes.byWorkspaceId[e]?.newlyCreatedNoteId??null),ut=l.createSelector((t,e,a)=>t.workspaceNotes.byWorkspaceId[e]?.pendingContentByNoteId[a]===!0),mt=l.createSelector(t=>t.presence.windowVisible),pt=l.createSelector((t,e,a)=>b(t.workspaceNotes.byWorkspaceId[e]?.contentViews??w.contentViews).some(s=>s.noteId===a)),vt=l.createSelector((t,e,a)=>S(t.workspaceNotes.byWorkspaceId[e]?.contentViews??w.contentViews,a)),yt=l.createSelector((t,e,a)=>S(t.workspaceNotes.byWorkspaceId[e]?.workspaceRoots??w.workspaceRoots,a)),bt=l.createSelector((t,e,a)=>{const s=S(t.workspaceNotes.byWorkspaceId[e]?.presenceViews??w.presenceViews,a);return s?{...s,viewers:b(s.viewers)}:void 0}),ft=l.createSelector((t,e,a)=>{if(!e||!a)return;const s=t.workspaceNotes.byWorkspaceId[e];if(s)return S(s.notes,a)}),gt=l.createSelector((t,e)=>{const a=t.workspaceNotes.byWorkspaceId[e];if(a)return S(a.notes,H)}),ht=l.createSelector((t,e)=>{if(!e)return[];const a=t.workspaceNotes.byWorkspaceId[e];return a?b(a.notes):[]}),kt=l.createSelector((t,e)=>t.workspaceNotes.byWorkspaceId[e]?.noteVersions??null),we=l.createSelector(t=>t.knownRepos.repos),Se=l.createSelector(t=>b(we.select(t))),wt=l.createSelector(t=>t.knownRepos.loaded),Ne=l.createSelector(t=>t.homeWorkspaces),St=l.createSelector((t,e)=>t.homeWorkspaces?.previewAgentIds?.[e]??null),Nt=l.createSelector(t=>t.workspace.error),Te=l.createSelector(t=>{const e=Q.select(t)?.principal.id,a=t.connections?.hasReceivedList?t.connections.windowBackendId:null;return e&&a?j(a,e):null}),Tt=l.createSelector(t=>{const{repoKey:e}=Ne.select(t);if(!e)return;const a=Y.select(t),s=ee.select(t).filter(i=>i.status!==z.Deleted&&!i.pendingDeleteAt),r=a?[]:Se.select(t);return ke({workspaces:s,knownRepos:r,repoPathLookup:fe(s,r),includeKnownRepos:!a}).find(i=>i.key===e)}),P=Object.freeze({}),U=l.createSelector(t=>{const e=Te.select(t);return e&&t.homeWorkspaces?.persistenceScope===e?t.homeWorkspaces.setAside??P:P}),At=l.createSelector(t=>Object.entries(U.select(t)).sort(([,e],[,a])=>e.at-a.at).map(([e])=>e)),It=l.createSelector((t,e)=>!!U.select(t)[e]),Ct=l.createSelector(t=>t.connections?.hasReceivedList?t.connections.windowBackendId??null:null);function Wt(t,e){return t.filter(a=>a.imageData&&a.imageMimeType||a.attachmentId||a.sourcePath||a.type==="folder"&&a.path||a.type==="selection"&&a.content).map(a=>({id:a.id,type:a.type,label:a.label,...a.description!==void 0?{description:a.description}:{},...a.content!==void 0?{content:a.content}:{},...a.path!==void 0?{path:a.path}:{},...a.imageData!==void 0?{imageData:a.imageData}:{},...a.imageMimeType!==void 0?{imageMimeType:a.imageMimeType}:{},...a.attachmentId!==void 0?{attachmentId:a.attachmentId}:{},...a.attachmentMimeType!==void 0?{attachmentMimeType:a.attachmentMimeType}:{},...a.attachmentSize!==void 0?{attachmentSize:a.attachmentSize}:{},...a.sourcePath!==void 0&&!a.attachmentId?{sourcePath:a.sourcePath}:{},...(a.placementStatus==="placing"||a.placementStatus==="failed")&&!a.attachmentId?{placementStatus:"failed"}:{},...e?.[a.id]!==void 0?{screen:e[a.id]}:{}}))}function Et(t){return t.flatMap(e=>e.screen!==void 0?[[e.id,e.screen]]:[])}function Pt(t){return t.map(e=>({id:e.id,type:e.type||"file",label:e.label,...e.description!==void 0?{description:e.description}:{},...e.content!==void 0?{content:e.content}:{},...e.path!==void 0?{path:e.path}:{},...e.imageData!==void 0?{imageData:e.imageData}:{},...e.imageMimeType!==void 0?{imageMimeType:e.imageMimeType}:{},...e.imageMimeType&&!ue(e.imageMimeType)?{placementFileName:e.label}:{},...e.attachmentId!==void 0?{attachmentId:e.attachmentId}:{},...e.attachmentMimeType!==void 0?{attachmentMimeType:e.attachmentMimeType}:{},...e.attachmentSize!==void 0?{attachmentSize:e.attachmentSize}:{},...e.sourcePath!==void 0?{sourcePath:e.sourcePath}:{},...e.placementStatus==="failed"&&e.attachmentId===void 0?{placementStatus:"failed"}:{}}))}function xt(t,e){const a=r=>JSON.stringify([r.attachmentId??null,r.sourcePath??null,r.path??null,r.imageData??null,r.imageMimeType??null]),s=new Map(e.map(r=>[r.id,r]));return Object.fromEntries(t.flatMap(r=>{const i=s.get(r.id);return i?.screen!==void 0&&a(i)===a(r)?[[r.id,i.screen]]:[]}))}const g=l.createSelector((t,e)=>t.transientUi.byWorkspaceId[e]??q),Rt=l.createSelector((t,e,a)=>{const s=g.select(t,e).composerContextByAgentId?.[a];return s?b(s):[]}),Mt=l.createSelector((t,e)=>g.select(t,e).composerContextByAgentId??{});l.createSelector((t,e)=>g.select(t,e).sidebarActiveTab);const Ft=l.createSelector((t,e)=>g.select(t,e).viewedFiles),Ae=l.createSelector((t,e,a)=>g.select(t,e).noteViewModeByNoteId[a]??"editor"),Ut=l.createSelector((t,e,a)=>Ae.select(t,e,a)==="raw"),Dt=l.createSelector((t,e,a)=>g.select(t,e).chatDrafts[a]??"");function o(t,e=40){return!t||t.length<=e?t:t.slice(0,e-1)+"…"}function p(t,e){const a=t.actor?.name;return a&&a!=="System"?o(a,30):e??n.events_activity_agent_fallback()}function Ie(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}function k(t){const e=t.split("/"),a=e.pop()||t,s=e.join("/");return{filename:a,directory:s}}const Ce={"file:changed":t=>{const e=t.data,a=e?.path?o(k(e.path).filename,35):n.events_activity_file_fallback(),s=p(t,""),r=e?.action,i=r==="create"?n.events_activity_verbCreated_label():r==="delete"?n.events_activity_verbDeleted_label():r==="rename"?n.events_activity_verbRenamed_label():n.events_activity_verbUpdated_label();return s?n.events_activity_actorVerbFile_label({actor:s,verb:i,filename:a}):n.events_activity_verbFile_label({verb:i.charAt(0).toUpperCase()+i.slice(1),filename:a})},"file:created":t=>{const e=t.data,a=e?.path?o(k(e.path).filename,35):n.events_activity_file_fallback(),s=p(t,"");return s?n.events_activity_actorCreatedFile_label({actor:s,filename:a}):n.events_activity_createdFile_label({filename:a})},"file:deleted":t=>{const e=t.data,a=e?.path?o(k(e.path).filename,35):n.events_activity_file_fallback(),s=p(t,"");return s?n.events_activity_actorDeletedFile_label({actor:s,filename:a}):n.events_activity_deletedFile_label({filename:a})},"file:renamed":t=>{const e=t.data,a=e?.path?o(k(e.path).filename,30):n.events_activity_file_fallback(),s=e?.oldPath?o(k(e.oldPath).filename,20):null,r=p(t,"");return s?r?n.events_activity_actorRenamedFileArrow_label({actor:r,oldFilename:s,filename:a}):n.events_activity_renamedFileArrow_label({oldFilename:s,filename:a}):r?n.events_activity_actorRenamedFile_label({actor:r,filename:a}):n.events_activity_renamedFile_label({filename:a})},"note:created":t=>{const e=t.data,a=o(e?.title||e?.name||n.events_activity_note_fallback(),35),s=p(t,"");return s?n.events_activity_actorCreatedNote_label({actor:s,title:a}):n.events_activity_createdNote_label({title:a})},"note:updated":t=>{const e=t.data,a=o(e?.title||e?.name||n.events_activity_note_fallback(),35),s=p(t,"");return s?n.events_activity_actorUpdatedNote_label({actor:s,title:a}):n.events_activity_updatedNote_label({title:a})},"note:deleted":t=>{const e=t.data,a=o(e?.title||e?.name||n.events_activity_note_fallback(),35),s=p(t,"");return s?n.events_activity_actorDeletedNote_label({actor:s,title:a}):n.events_activity_deletedNote_label({title:a})},"git:commit":t=>{const a=t.data?.message;if(a){const s=a.length>40?`${a.slice(0,37)}...`:a;return n.events_activity_committed_label({message:s})}return n.events_activity_madeCommit_label()},"git:push":()=>n.events_activity_pushedChanges_label(),"git:pull":()=>n.events_activity_pulledChanges_label(),"git:branch":t=>{const e=t.data,a=e?.branch||e?.name;return a?n.events_activity_switchedTo_label({branch:a}):n.events_activity_changedBranch_label()},"git:merge":t=>{const e=t.data,a=e?.branch||e?.source;return a?n.events_activity_merged_label({branch:a}):n.events_activity_mergedBranches_label()},"agent:started":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||e?.taskTitle||"",35);return a?n.events_activity_startedWorking_label({name:a}):n.events_activity_agentStarted_label()},"agent:completed":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",35);return a?n.events_activity_nameCompleted_label({name:a}):n.events_activity_agentCompleted_label()},"agent:failed":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",35);return a?n.events_activity_nameFailed_label({name:a}):n.events_activity_agentFailed_label()},"agent:deleted":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",35);return a?n.events_activity_deletedName_label({name:a}):n.events_activity_agentDeleted_label()},"agent:message":t=>{const e=o(p(t,""),30);return e?n.events_activity_nameSentMessage_label({name:e}):n.events_activity_agentSentMessage_label()},"agent:idle":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",35);return a?n.events_activity_nameFinished_label({name:a}):n.events_activity_agentFinished_label()},"agent:status-changed":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",30),s=e?.status||e?.newStatus,r=a||n.events_activity_agent_fallback();switch(s){case"idle":return n.events_activity_nameFinished_label({name:r});case"responding":case"streaming":case"thinking":return n.events_activity_nameIsWorking_label({name:r});case"waiting":case"waiting_for_input":return n.events_activity_nameIsWaiting_label({name:r});case"completed":case"done":return n.events_activity_nameCompleted_label({name:r});case"error":case"failed":return n.events_activity_nameEncounteredError_label({name:r});default:return s?n.events_activity_nameIsStatus_label({name:r,status:s}):n.events_activity_nameStatusChanged_label({name:r})}},"agent:tool:call":t=>{const e=t.data,a=o(e?.title||e?.input?._acpTitle||"",40);if(a)return a;const s=e?.toolName||e?.name||"",r=te(s),i=ae(r)||ne(s,e?.input??{})?"":o(r,25),c=o(p(t,""),25);if(i&&c)return n.events_activity_actorUsedTool_label({actor:c,toolName:i});if(i)return n.events_activity_usedTool_label({toolName:i});switch(e?.toolKind){case"file":return n.events_activity_toolKindFile_label();case"search":return n.events_activity_toolKindSearch_label();case"terminal":return n.events_activity_toolKindTerminal_label();case"git":return n.events_activity_toolKindGit_label();case"note":return n.events_activity_toolKindNote_label();default:return n.events_activity_usedATool_label()}},"agent:created":t=>{const e=t.data,a=String(e?.agentName||e?.name||""),s=/^agent$/i.test(a.trim())?"":o(a,20),r=o(p(t,""),20);return s&&r?n.events_activity_creatorCreatedAgent_label({creator:r,agentName:s}):s?n.events_activity_createdAgentName_label({agentName:s}):r?n.events_activity_creatorCreatedAnAgent_label({creator:r}):n.events_activity_createdNewAgent_label()},"agent:renamed":t=>{const e=t.data,a=o(e?.name||"",30);return a?n.events_activity_renamedAgentTo_label({name:a}):n.events_activity_renamedAgent_label()},"agent:updated":t=>{const e=t.data,a=o(t.actor?.name||e?.agentName||"",25);if(typeof e?.modelId=="string"&&e.modelId){const s=o(e.modelId,25);return a?n.events_activity_nameModelSet_label({name:a,model:s}):n.events_activity_agentModelSet_label({model:s})}return e?.completionReportCleared?a?n.events_activity_clearedNameReport_label({name:a}):n.events_activity_clearedAgentReport_label():a?n.events_activity_nameSettingsUpdated_label({name:a}):n.events_activity_agentSettingsUpdated_label()},"agent:restored":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",30);return a?n.events_activity_restoredName_label({name:a}):n.events_activity_agentRestored_label()},"agent:permission:request":t=>{const e=t.data,a=o(e?.agentName||t.actor?.name||"",20),s=o(e?.title||"",35);return a&&s?n.events_activity_agentAskedTo_label({agentName:a,title:Ie(s)}):s?n.events_activity_permissionRequested_label({title:s}):n.events_activity_agentAskedPermission_label()},"agent:permission:resolved":t=>t.data?.outcome?.outcome==="cancelled"?n.events_activity_permissionDismissed_label():n.events_activity_permissionAnswered_label(),"agent:user-message:sent":t=>{const e=t.data,a=o(e?.agentName||e?.toAgentName||"",25);return a?n.events_activity_youMessagedName_label({agentName:a}):n.events_activity_youSentMessage_label()},"task:status-changed":t=>{const e=t.data,a=e?.taskName||e?.noteTitle||"",s=e?.newStatus||e?.status,r=o(p(t,""),25);let i="none",c=n.events_activity_statusUpdated_label();if(s){const d=s.toLowerCase().replace(/_/g," ");d==="complete"||d==="completed"||d==="done"?(i="complete",c=n.events_activity_statusComplete_label()):d==="in progress"||d==="in_progress"?(i="in-progress",c=n.events_activity_statusInProgress_label()):d==="cancelled"||d==="canceled"?(i="cancelled",c=n.events_activity_statusCancelled_label()):(i="other",c=d)}if(a&&a!=="task")switch(i){case"complete":return n.events_activity_completedTask_label({taskName:a});case"in-progress":return n.events_activity_startedTask_label({taskName:a});case"cancelled":return n.events_activity_cancelledTask_label({taskName:a});default:return n.events_activity_markedTaskStatus_label({status:c,taskName:a})}return r?n.events_activity_actorUpdatedTaskStatus_label({actor:r}):n.events_activity_taskMarked_label({status:c})},"task:ready-tasks-changed":t=>{const e=t.data,a=Array.isArray(e?.readyTaskIds)?e.readyTaskIds.length:e?.count||e?.taskCount;return typeof a=="number"?a===0?n.events_activity_noTasksReady_label():a===1?n.events_activity_oneTaskReadyToStart_label():n.events_activity_tasksReadyToStart_label({count:a}):n.events_activity_readyTasksUpdated_label()},"task:agent-linked":t=>{const e=t.data,a=e?.link?.taskText||e?.taskKey||"";return a?n.events_activity_agentAssignedToTask_label({taskText:a}):n.events_activity_agentAssignedToATask_label()},"task:agent-unlinked":t=>{const a=t.data?.taskKey||"";return a?n.events_activity_agentUnassignedFromTask_label({taskText:a}):n.events_activity_agentUnassignedFromATask_label()},"pr:linked":t=>{const a=t.data?.prNumber;return a?n.events_activity_linkedPrNumber_label({prNumber:a}):n.events_activity_linkedPr_label()},"pr:updated":t=>{const e=t.data,a=e?.prNumber,s=typeof e?.prStatus=="string"?e.prStatus.toLowerCase():"";return a&&s?s==="draft"?n.events_activity_prIsDraft_label({prNumber:a}):n.events_activity_prIsStatus_label({prNumber:a,status:s}):a?n.events_activity_prNumberUpdated_label({prNumber:a}):n.events_activity_prUpdated_label()},"pr:unlinked":()=>n.events_activity_prUnlinked_label(),"terminal:command":t=>{const a=t.data?.command,s=o(p(t,""),25);if(a){const r=o(a,25);return s?n.events_activity_actorRanCommand_label({actor:s,command:r}):n.events_activity_ranCommandName_label({command:r})}return s?n.events_activity_actorRanACommand_label({actor:s}):n.events_activity_ranCommand_label()},"terminal:exit":t=>{const a=t.data?.exitCode;return typeof a=="number"&&a!==0?n.events_activity_terminalExitedCode_label({exitCode:a}):n.events_activity_terminalSessionEnded_label()},"terminal:title":t=>{const e=t.data,a=o(e?.title||"",35);return a?n.events_activity_terminalRunningTitle_label({title:a}):n.events_activity_terminalTitleChanged_label()},"script:state":t=>{const e=t.data,a=o(e?.scriptId||"",25),s=e?.status,r=a||n.events_activity_script_fallback();switch(s){case"running":return n.events_activity_scriptStarted_label({name:r});case"stopped":{const i=e?.exitCode;return typeof i=="number"&&i!==0?n.events_activity_scriptFailedExit_label({name:r,exitCode:i}):n.events_activity_scriptStopped_label({name:r})}case"error":return e?.error?n.events_activity_scriptErroredDetail_label({name:r,error:o(e.error,30)}):n.events_activity_scriptErrored_label({name:r});default:return s?n.events_activity_scriptIsStatus_label({name:r,status:s}):n.events_activity_scriptStateChanged_label({name:r})}},"test:started":t=>{const e=t.data,a=o(e?.testName||e?.testSuite||"",30),s=o(p(t,""),25);return a?s?n.events_activity_actorStartedTesting_label({actor:s,testName:a}):n.events_activity_startedTestingName_label({testName:a}):s?n.events_activity_actorStartedTests_label({actor:s}):n.events_activity_startedTests_label()},"test:completed":t=>{const e=t.data,a=e?.status,s=o(e?.testName||e?.testSuite||"",30);return a==="passed"?s?n.events_activity_testsPassedName_label({testName:s}):n.events_activity_testsPassed_label():a==="failed"?s?n.events_activity_testsFailedName_label({testName:s}):n.events_activity_testsFailed_label():s?n.events_activity_testsCompletedName_label({testName:s}):n.events_activity_testsCompleted_label()},"build:started":t=>{const e=t.data,a=o(e?.target||"",30),s=o(p(t,""),25);return a?s?n.events_activity_actorStartedBuilding_label({actor:s,target:a}):n.events_activity_startedBuildingTarget_label({target:a}):s?n.events_activity_actorStartedBuild_label({actor:s}):n.events_activity_startedBuild_label()},"build:completed":t=>{const e=t.data,a=e?.status,s=o(e?.target||"",30);return a==="success"?s?n.events_activity_buildSucceededTarget_label({target:s}):n.events_activity_buildSucceeded_label():a==="failed"?s?n.events_activity_buildFailedTarget_label({target:s}):n.events_activity_buildFailed_label():s?n.events_activity_buildCompletedTarget_label({target:s}):n.events_activity_buildCompleted_label()},"workspace:created":t=>{const e=t.data,a=o(e?.workspace?.title||e?.name||"",35);return a?n.events_activity_createdWorkspaceName_label({name:a}):n.events_activity_createdWorkspace_label()},"workspace:updated":t=>{const e=t.data,a=e?.changes??{};if(typeof a.title=="string"&&a.title)return n.events_activity_renamedWorkspaceTo_label({title:o(a.title,30)});if(typeof a.statusMessage=="string")return a.statusMessage?n.events_activity_workspaceStatus_label({statusMessage:o(a.statusMessage,40)}):n.events_activity_clearedWorkspaceStatus_label();if(typeof a.status=="string"&&a.status)return n.events_activity_workspaceMarkedStatus_label({status:a.status.toLowerCase()});if(typeof a.branch=="string"&&a.branch)return n.events_activity_branchSetTo_label({branch:o(a.branch,30)});if(typeof a.baseRef=="string"&&a.baseRef)return n.events_activity_baseBranchSetTo_label({baseRef:o(a.baseRef,30)});const s={baseCommitSha:n.events_activity_fieldBaseCommit_label(),statusMessage:n.events_activity_fieldStatusMessage_label(),lastActivity:n.events_activity_fieldActivityTime_label(),repositoryPath:n.events_activity_fieldRepositoryPath_label(),repositoryOwner:n.events_activity_fieldRepositoryOwner_label(),repositoryName:n.events_activity_fieldRepositoryName_label(),worktreePath:n.events_activity_fieldWorktreePath_label(),setupScript:n.events_activity_fieldSetupScript_label(),skipWorktree:n.events_activity_fieldWorktreeSetting_label()},r=Object.keys(a).filter(c=>c!=="workspaceId");if(r.length>0){const c=r.map(d=>s[d]??d);return n.events_activity_changedWorkspaceFields_label({fields:o(c.join(", "),35)})}const i=o(e?.name||"",35);return i?n.events_activity_updatedWorkspaceName_label({name:i}):n.events_activity_updatedWorkspace_label()},"workspace:deleted":t=>{const e=t.data,a=o(e?.name||"",35);return a?n.events_activity_deletedWorkspaceName_label({name:a}):n.events_activity_deletedWorkspace_label()},"workspace:opened":t=>{const e=t.data,a=o(e?.name||"",35);return a?n.events_activity_openedName_label({name:a}):n.events_activity_openedWorkspace_label()},"workspace:closed":t=>{const e=t.data,a=o(e?.name||"",35);return a?n.events_activity_closedName_label({name:a}):n.events_activity_closedWorkspace_label()},"workspace:activity":t=>{const e=t.data,a=o(e?.description||"",40);return a||n.events_activity_workspaceActivity_label()},"spec:updated":t=>{const e=t.data,a=o(e?.section||"",30),s=o(p(t,""),25);return a?s?n.events_activity_actorUpdatedSpecSection_label({actor:s,section:a}):n.events_activity_updatedSpecSection_label({section:a}):s?n.events_activity_actorUpdatedSpec_label({actor:s}):n.events_activity_updatedSpec_label()},"goal:updated":t=>{const e=o(p(t,""),30);return e?n.events_activity_actorUpdatedGoal_label({actor:e}):n.events_activity_updatedGoal_label()},"comment:added":t=>{const e=t.data,a=o(t.actor?.name||e?.author||e?.authorName||"",30),s=o(e?.preview||e?.text||"",25);return a&&s?n.events_activity_authorCommentedPreview_label({author:a,preview:s}):a?n.events_activity_authorCommented_label({author:a}):s?n.events_activity_commentPreview_label({preview:s}):n.events_activity_commentAdded_label()},"agent:message:sent":t=>{const e=t.data,a=o(t.actor?.name||e?.fromAgentName||n.events_activity_agent_fallback(),25),s=o(e?.toAgentName||"",25);return s?n.events_activity_fromMessagedTo_label({fromName:a,toName:s}):n.events_activity_fromSentMessage_label({fromName:a})},"agent:message:received":t=>{const e=t.data,a=o(e?.fromAgentName||"",25),s=o(t.actor?.name||e?.toAgentName||n.events_activity_agent_fallback(),25);return a?n.events_activity_receivedMessageFrom_label({toName:s,fromName:a}):n.events_activity_receivedAMessage_label({toName:s})},"agent:message:delivery-failed":t=>{const e=t.data,a=o(e?.toAgentName||e?.agentName||"",25);return a?n.events_activity_messageToNameFailed_label({toName:a}):n.events_activity_messageDeliveryFailed_label()},"agent:subscribed":t=>{const e=t.data,a=o(t.actor?.name||e?.agentName||n.events_activity_agent_fallback(),30),s=e?.eventTypes;return s?.length===1?n.events_activity_watchingCategoryEvents_label({name:a,category:s[0].split(":")[0]}):s?.length>1?n.events_activity_watchingForUpdates_label({name:a}):n.events_activity_startedWatching_label({name:a})},"agent:unsubscribed":t=>{const e=t.data,a=o(t.actor?.name||e?.agentName||n.events_activity_agent_fallback(),30);return n.events_activity_stoppedWatching_label({name:a})},"agent:woken-by-subscription":t=>{const e=t.data,a=o(t.actor?.name||e?.agentName||n.events_activity_agent_fallback(),30),s=e?.eventCount||1;return s===1?n.events_activity_nameResumed_label({name:a}):n.events_activity_nameResumedEvents_label({name:a,count:s})},"agent:resumed":t=>{const e=t.data,a=o(t.actor?.name||e?.agentName||e?.name||"",35);return a?n.events_activity_nameResumed_label({name:a}):n.events_activity_agentResumed_label()},"comment:resolved":t=>t.data?.resolved===!1?n.events_activity_reopenedCommentThread_label():n.events_activity_resolvedCommentThread_label(),"git:clone:done":t=>{const e=t.data,a=o(e?.repository||e?.repo||e?.url||"",35);return a?n.events_activity_clonedRepo_label({repo:a}):n.events_activity_repositoryCloned_label()},"settings:changed":t=>{const e=t.data,a=Array.isArray(e?.changes)?e.changes.map(s=>s?.path).filter(Boolean):[];return a.length===1?n.events_activity_changedSetting_label({path:o(a[0],35)}):a.length>1?n.events_activity_changedSettingsCount_label({count:a.length}):n.events_activity_settingsChanged_label()},"skills:changed":()=>n.events_activity_skillsChanged_label(),"mcp:notification":t=>{const e=t.data,a=o(e?.serverName||e?.server||"",25);return a?n.events_activity_updateFromServer_label({server:a}):n.events_activity_mcpNotification_label()},"mcp.servers:status-changed":()=>n.events_activity_mcpStatusChanged_label(),"github:auth-changed":t=>{const a=t.data?.status;return a==="authenticated"||a==="success"?n.events_activity_githubSignedIn_label():a==="signed-out"||a==="expired"?n.events_activity_githubSignInExpired_label():n.events_activity_githubAuthChanged_label()},"workspace:context-changed":()=>n.events_activity_workspaceContextUpdated_label()};function Bt(t){if(!t?.type)return n.events_activity_unknownActivity_label();const e=Ce[t.type];if(e)try{return e(t)}catch{}const a=t.type.split(":");if(a.length>=2){const[s,r]=a;return`${s.charAt(0).toUpperCase()+s.slice(1)} ${r}`}return t.type.replace(/[_:]/g," ")}function Ot({currentScrollTop:t,targetTop:e,containerTop:a,headerBottom:s}){const r=Math.max(a,s??a);return t+e-r}function D(t){const e=t.trimStart();return e.startsWith("[WORKSPACE EVENTS]")||e.startsWith("[TASK WAKE]")||e.startsWith("[AGENT MESSAGE]")}function We(t,e){return t.metadata?.type?!0:D(e)}function Ee(t,e){return F(se(t,e)).replace(/\s+/g," ").trim()}function Lt(t,e){const a=new Set,s=[];for(const r of t){if(r.role!=="user"||a.has(r.id))continue;const i=oe(r);if(We(r,i))continue;const c=Ee(r,e);c&&(a.add(r.id),s.push({id:r.id,text:c}))}return s}function $t(t){const e=new Set,a=[];for(const s of t){if(e.has(s.id)||s.metadata?.type||D(s.preview))continue;const r=F(re(ie(s.preview,s.metadata),s.metadata)).replace(/\s+/g," ").trim();r&&(e.add(s.id),a.push({id:s.id,text:r}))}return a}function Gt(t,e){const a=new Map(e.map(i=>[i.id,i])),s=t.map(i=>a.get(i.id)??i),r=new Set(t.map(i=>i.id));for(const i of e)r.has(i.id)||s.push(i);return s}function N(t){return typeof t=="number"&&Number.isFinite(t)&&t>=0?t:void 0}function Kt(t){if(typeof t!="object"||t===null)return;const e=t,a=N(e.receivedObjects),s=N(e.totalObjects);if(a===void 0||!s)return;const r={receivedObjects:a,totalObjects:s},i=N(e.receivedBytes),c=N(e.bytesPerSecond);return i!==void 0&&(r.receivedBytes=i),c!==void 0&&(r.bytesPerSecond=c),r}function Pe(t){return t>=1e9?{unit:"gigabyte",value:t/1e9,digits:2}:t>=1e6?{unit:"megabyte",value:t/1e6,digits:1}:{unit:"kilobyte",value:t/1e3,digits:t<1e4?1:0}}function x(t,e=!1){const{unit:a,value:s,digits:r}=Pe(t);return me(s,{style:"unit",unit:e?`${a}-per-second`:a,maximumFractionDigits:r})}function Vt(t){const{receivedBytes:e,bytesPerSecond:a}=t;return e===void 0||a===void 0?null:n.workspace_compactInitializer_progressTransfer_label({received:x(e),rate:x(a,!0)})}const f=new ve("ReversibleActions");class xe{constructor(){A(this,"pendingActions",new Map);A(this,"completedActions",new Map)}async execute(e){const a=e.duration??15,s=e.id||globalThis.crypto.randomUUID(),r=e.immediate??!0,i=e.showCountdown??!1;if(r&&!i)try{if(await e.action()===!1)return!1;this.completedActions.set(s,e);let c=!1;const d=e.onUndo;if(d){const u=m.warning(e.message,I({duration:a*1e3,action:{label:n.ui_reversibleActions_undo_label(),onClick:async()=>{try{c=!0,await d(),this.completedActions.delete(s),m.dismiss(u)}catch(_){f.error("Failed to undo action:",_ instanceof Error?_:new Error(String(_))),m.error(n.ui_reversibleActions_undoFailed_error())}}}},{pauseOnHover:!1}))}else m.success(e.message);return setTimeout(async()=>{if(!c&&e.onExpire)try{await e.onExpire()}catch(u){f.error("Failed to execute onExpire callback:",u instanceof Error?u:new Error(String(u)))}this.completedActions.delete(s)},a*1e3),!0}catch(c){return f.error("Failed to execute action:",c instanceof Error?c:new Error(String(c))),m.error(n.ui_reversibleActions_failed_error({message:c instanceof Error?c.message:n.ui_reversibleActions_unknownError_label()})),!1}else return i?new Promise(c=>{let d=a,u;const _=async()=>{clearInterval(u),this.pendingActions.delete(s);try{await e.action(),m.success(n.ui_reversibleActions_completed_message({message:e.message})),c(!0)}catch(h){f.error("Failed to execute action:",h instanceof Error?h:new Error(String(h))),m.error(n.ui_reversibleActions_failed_error({message:h instanceof Error?h.message:n.ui_reversibleActions_unknownError_label()})),c(!1)}},y=()=>{clearTimeout(E),clearInterval(u),this.pendingActions.delete(s),m.info(n.ui_reversibleActions_cancelled_message()),c(!1)},v=I({duration:a*1e3},{pauseOnHover:!1}),$=m.warning(n.ui_reversibleActions_countdown_message({message:e.message,seconds:d}),{...v,action:{label:n.ui_reversibleActions_cancel_label(),onClick:y},onDismiss:y,onAutoClose:_});u=setInterval(()=>{d--,d>0&&m.warning(n.ui_reversibleActions_countdown_message({message:e.message,seconds:d}),{...v,id:$,duration:d*1e3,action:{label:n.ui_reversibleActions_cancel_label(),onClick:y},onDismiss:y,onAutoClose:_})},1e3);const E=setTimeout(_,a*1e3);this.pendingActions.set(s,{timeout:E,action:e})}):new Promise(c=>{const d=async()=>{clearTimeout(y),this.pendingActions.delete(s);try{await e.action(),m.success(n.ui_reversibleActions_completed_message({message:e.message})),c(!0)}catch(v){f.error("Failed to execute action:",v instanceof Error?v:new Error(String(v))),m.error(n.ui_reversibleActions_failed_error({message:v instanceof Error?v.message:n.ui_reversibleActions_unknownError_label()})),c(!1)}},u=()=>{clearTimeout(y),this.pendingActions.delete(s),m.info(n.ui_reversibleActions_cancelled_message()),c(!1)},_=async()=>{this.pendingActions.delete(s);try{e.onExpire&&await e.onExpire()}catch(v){f.error("Failed to execute onExpire callback:",v instanceof Error?v:new Error(String(v)))}m.info(n.ui_reversibleActions_expired_message()),c(!1)};m.info(`${e.message}`,I({duration:a*1e3,action:{label:n.ui_reversibleActions_execute_label(),onClick:d},onDismiss:u,onAutoClose:d},{pauseOnHover:!1}));const y=setTimeout(_,a*1e3);this.pendingActions.set(s,{timeout:y,action:e})})}cancel(e){const a=this.pendingActions.get(e);return a?(clearTimeout(a.timeout),this.pendingActions.delete(e),m.info(n.ui_reversibleActions_cancelled_message()),!0):!1}cancelAll(){for(const[e,{timeout:a}]of this.pendingActions)clearTimeout(a);this.pendingActions.clear(),this.pendingActions.size>0&&m.info(n.ui_reversibleActions_allCancelled_message())}getPendingActions(){return Array.from(this.pendingActions.keys())}}const B=new xe;async function Ht(t,e,a,s={}){return B.execute({id:globalThis.crypto.randomUUID(),message:n.ui_reversibleActions_deleted_message({itemName:t}),action:e,onUndo:a,onExpire:s.onExpire,immediate:s.immediate??!0,showCountdown:s.showCountdown??!1,duration:s.duration??15})}async function jt(t,e,a,s,r,i={}){return B.execute({id:globalThis.crypto.randomUUID(),message:n.ui_reversibleActions_renamed_message({itemType:t,newName:a}),action:s,onUndo:r,immediate:!0,showCountdown:!1,duration:i.duration??15})}function zt(){return be()&&pe(ye)==="main"}const Re=/\x1b\[[0-9;?]*[ -/]*[@-~]|\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)|\x1b[@-Z\\-_]/g,Me=/\x1b(\[[0-9;?]*[ -/]*|\][^\x07\x1b]*)?$/;function qt(t){let e="";for(const r of t.chunks)e+=r.text;if(e==="")return[];e=e.replace(Me,"").replace(Re,"");const a=/\r?\n$/.test(e);a||(e=e.replace(/\r$/,""));const s=e.split(/\r?\n/).map(r=>{const i=r.lastIndexOf("\r");return i===-1?r:r.slice(i+1)});return a&&s[s.length-1]===""&&s.pop(),s}const Fe="No output yet.",Ue=/^\[(?:showing last \d+ of )?\d+ lines\]$/;function Xt(t){if(!t||t.trim()===Fe)return[];const e=t.replace(/\r?\n$/,"").split(/\r?\n/);return Ue.test(e[0]??"")&&e.shift(),e.length===1&&e[0]===""?[]:e}function R(t,e,a){const r=e.find(c=>String(c.id)===t)?.name?.trim();if(r)return r;const i=a?.trim();return i||O(t)}function O(t){return t.length>14?`${t.slice(0,14)}…`:t}function Zt(t,e,a){const s=new Map,r={ownerAgentId:null,ownerName:null,entries:[]},i=(d,u)=>{let _=s.get(d);return _?_.ownerName===O(d)&&(_.ownerName=R(d,a,u)):(_={ownerAgentId:d,ownerName:R(d,a,u),entries:[]},s.set(d,_)),_};for(const{tab:d,panelId:u,active:_}of t)(d.ownerAgentId?i(d.ownerAgentId,d.ownerAgentName):r).entries.push({tab:d,panelId:u,active:_,hidden:!1});for(const d of e){if(d.type!=="browser")continue;(d.ownerAgentId?i(d.ownerAgentId,d.ownerAgentName):r).entries.push({tab:d,active:!1,hidden:!0})}const c=[...s.values()];return r.entries.length>0&&c.push(r),c}const De=new Set(["in_progress","review_required"]),Be=new Set(["cancelled"]);function Jt(t){if(!t)return new Set;const e=new Set,a=new RegExp(M.source,"g");for(const s of t.matchAll(a)){const r=s[2];r&&e.add(r)}return e}function Qt(t){if(!t)return[];const e=[],a=new RegExp(M.source,"g");for(const s of t.matchAll(a)){const r=s[2];r&&!e.includes(r)&&e.push(r)}return e}const Yt=l.createSelector((t,e)=>t.workspaceTasks.byWorkspaceId[e]??X);l.createSelector((t,e)=>t.workspaceTasks.byWorkspaceId[e]?.loading??!1);l.createSelector((t,e)=>t.workspaceTasks.byWorkspaceId[e]?.error??null);const ea=l.createSelector((t,e)=>t.workspaceTasks.byWorkspaceId[e]?.initialized??!1),ta=l.createSelector(t=>Object.entries(t.workspaceTasks.byWorkspaceId).filter(([,e])=>e.demandIds.length>0).map(([e])=>e)),aa=l.createSelector((t,e)=>{const a=t.workspaceTasks.byWorkspaceId[e];return!!a?.demandIds.length&&!a.loading&&(!a.initialized||a.stale)}),na=l.createSelector((t,e)=>{const a=t.workspaceTasks.byWorkspaceId[e];return a?b(a.tasks):[]}),sa=l.createSelector((t,e)=>t.workspaceTasks.byWorkspaceId[e]?.stats??Z);l.createSelector((t,e)=>{const a=t.workspaceTasks.byWorkspaceId[e];if(!a)return[];const s=[],r=[],i=[];for(const c of b(a.tasks))Be.has(c.status)||(De.has(c.status)?s.push(c):c.status==="complete"?i.push(c):r.push(c));return[...s,...r,...i]});const T=new Map;function Oe(t){const e=T.get(t);if(e)return e;const a=_e(async()=>{const{appClient:s}=await import("./GLifdN8w.js").then(r=>r.o);return{appClient:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url).then(({appClient:s})=>s.workspaces.get(t)).catch(()=>null).finally(()=>{T.get(t)===a&&T.delete(t)});return T.set(t,a),a}function W(t){return le.select(l.state,t)}async function L(t){const e=await Oe(t);return e&&l.dispatch(J(e,{detailRead:!0})),W(t)}function ra(t){return de.select(l.state,t)?Promise.resolve(W(t)):L(t)}function ia(t){const e=W(t);return ce(e)?L(t):Promise.resolve(e)}export{kt as $,qt as A,ht as B,rt as C,Dt as D,Be as E,Rt as F,ta as G,st as H,De as I,ut as J,pt as K,Te as L,St as M,Ct as N,U as O,At as P,Nt as Q,It as R,Tt as S,Ne as T,Ut as U,Se as V,wt as W,_t as X,ft as Y,vt as Z,bt as _,Pt as a,Ae as a0,mt as a1,yt as a2,lt as a3,ot as a4,it as a5,dt as a6,gt as a7,Ft as a8,Mt as a9,ct as aa,sa as ab,na as ac,ea as ad,aa as ae,Yt as af,Wt as ag,zt as ah,fe as b,Vt as c,Ht as d,ra as e,ia as f,Qt as g,Jt as h,Bt as i,ge as j,Ot as k,Ee as l,Lt as m,$t as n,Zt as o,ke as p,nt as q,at as r,Gt as s,Kt as t,Et as u,jt as v,R as w,xt as x,B as y,Xt as z};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BFPmZe29.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/NtxbXOxK.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/DUUOaZUX.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/A91xcSiw.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/BpozSsrs.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/DWPd-rzt.js","/app/immutable/chunks/DcsVySxU.js","/app/immutable/chunks/BnE71Sxv.js","/app/immutable/chunks/puisNM3r.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/DTWXK3Yd.js","/app/immutable/chunks/BV4GrhSx.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/C2Q_f-Ao.js"])))=>i.map(i=>d[i]);
2
+ var G=Object.defineProperty;var K=(t,e,a)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var A=(t,e,a)=>K(t,typeof e!="symbol"?e+"":e,a);import{IS as l,lX as V,mg as w,nH as b,nG as S,aX as H,oR as j,bj as z,mq as q,mo as X,mn as Z,He as J}from"./DUUOaZUX.js";import{cG as Q,c7 as Y,dD as ee,b as te,N as ae,J as ne,u as se,dR as re,dQ as ie,g as oe,T as M,Q as ce,ds as le,du as de}from"./Bd92b52s.js";import{bm as n,_ as _e}from"./NtxbXOxK.js";import{am as ue,cX as F}from"./D9e6EkDi.js";import{m as me}from"./BqCQZYkF.js";import{k as m,w as I}from"./BVSy1i1c.js";import{aE as pe}from"./CJxGDkBm.js";import"./puisNM3r.js";import"./BpozSsrs.js";import"./DcsVySxU.js";import"./ChTqQfQN.js";import"./b_O4pZtc.js";import{a as ve}from"./BdWqymET.js";import{b as ye}from"./CrUPGp6e.js";import{a as be}from"./CbSeeP7P.js";function at(t){return t.type==="image"&&typeof t.data=="string"&&typeof t.mimeType=="string"}function nt(t){return t.type==="file"&&typeof t.fileName=="string"&&t.fileName.length>0&&typeof t.attachmentId=="string"&&t.attachmentId.length>0}const C=l.createSelector((t,e)=>t.browser.byWorkspaceId[e]??V),st=l.createSelector((t,e)=>t.browser.byWorkspaceId[e]),rt=l.createSelector((t,e)=>C.select(t,e).recentUrls),it=l.createSelector((t,e,a)=>{const s=C.select(t,e).pendingZoomByTabId[a];return s&&s.length>0?s:null}),ot=l.createSelector((t,e)=>Object.values(C.select(t,e).pendingElementCaptures));function fe(t,e){const a=new Map;if(e)for(const s of e)s.owner&&s.name&&s.path&&a.set(s.path,{owner:s.owner,name:s.name});for(const s of t)s.repositoryPath&&s.repositoryOwner&&s.repositoryName&&a.set(s.repositoryPath,{owner:s.repositoryOwner,name:s.repositoryName});return a}function ge(t,e,a=n.workspace_grouping_unknownRepository_label()){if(t.repositoryOwner&&t.repositoryName)return{key:`${t.repositoryOwner}/${t.repositoryName}`,label:`${t.repositoryOwner}/${t.repositoryName}`,isGithub:!0,owner:t.repositoryOwner};if(t.repositoryPath){const s=e.get(t.repositoryPath);return s?{key:`${s.owner}/${s.name}`,label:`${s.owner}/${s.name}`,isGithub:!0,owner:s.owner}:{key:t.repositoryPath,label:t.repositoryPath.split("/").pop()||t.repositoryPath,isGithub:!1}}return t.repositoryName&&!t.repositoryOwner?{key:t.repositoryName,label:t.repositoryName,isGithub:!1}:{key:a,label:a,isGithub:!1}}function he(t,e){const a=e.get(t.path),s=a?.owner??t.owner,r=a?.name??t.name;return s?{key:`${s}/${r}`,label:`${s}/${r}`,isGithub:!0,owner:s}:{key:t.path,label:t.name,isGithub:!1}}function ke({workspaces:t,knownRepos:e,repoPathLookup:a,includeKnownRepos:s}){const r=new Map;if(s)for(const i of e){const c=he(i,a);r.has(c.key)||r.set(c.key,{...c,repoPath:i.path,name:c.isGithub?c.label.split("/").pop():i.name,workspaces:[]})}for(const i of t){const c=ge(i,a);let d=r.get(c.key);d||(d={...c,repoPath:i.repositoryPath,name:i.repositoryName??(c.isGithub?c.label.split("/").pop():c.label),workspaces:[]},r.set(c.key,d)),d.workspaces.push(i)}return Array.from(r.values())}const ct=l.createSelector((t,e)=>t.workspaceNotes.byWorkspaceId[e]??w),lt=l.createSelector((t,e)=>t.workspaceNotes.byWorkspaceId[e]?.loading??!1),dt=l.createSelector((t,e)=>t.workspaceNotes.byWorkspaceId[e]?.selectedNoteId??null),_t=l.createSelector((t,e)=>t.workspaceNotes.byWorkspaceId[e]?.newlyCreatedNoteId??null),ut=l.createSelector((t,e,a)=>t.workspaceNotes.byWorkspaceId[e]?.pendingContentByNoteId[a]===!0),mt=l.createSelector(t=>t.presence.windowVisible),pt=l.createSelector((t,e,a)=>b(t.workspaceNotes.byWorkspaceId[e]?.contentViews??w.contentViews).some(s=>s.noteId===a)),vt=l.createSelector((t,e,a)=>S(t.workspaceNotes.byWorkspaceId[e]?.contentViews??w.contentViews,a)),yt=l.createSelector((t,e,a)=>S(t.workspaceNotes.byWorkspaceId[e]?.workspaceRoots??w.workspaceRoots,a)),bt=l.createSelector((t,e,a)=>{const s=S(t.workspaceNotes.byWorkspaceId[e]?.presenceViews??w.presenceViews,a);return s?{...s,viewers:b(s.viewers)}:void 0}),ft=l.createSelector((t,e,a)=>{if(!e||!a)return;const s=t.workspaceNotes.byWorkspaceId[e];if(s)return S(s.notes,a)}),gt=l.createSelector((t,e)=>{const a=t.workspaceNotes.byWorkspaceId[e];if(a)return S(a.notes,H)}),ht=l.createSelector((t,e)=>{if(!e)return[];const a=t.workspaceNotes.byWorkspaceId[e];return a?b(a.notes):[]}),kt=l.createSelector((t,e)=>t.workspaceNotes.byWorkspaceId[e]?.noteVersions??null),we=l.createSelector(t=>t.knownRepos.repos),Se=l.createSelector(t=>b(we.select(t))),wt=l.createSelector(t=>t.knownRepos.loaded),Ne=l.createSelector(t=>t.homeWorkspaces),St=l.createSelector((t,e)=>t.homeWorkspaces?.previewAgentIds?.[e]??null),Nt=l.createSelector(t=>t.workspace.error),Te=l.createSelector(t=>{const e=Q.select(t)?.principal.id,a=t.connections?.hasReceivedList?t.connections.windowBackendId:null;return e&&a?j(a,e):null}),Tt=l.createSelector(t=>{const{repoKey:e}=Ne.select(t);if(!e)return;const a=Y.select(t),s=ee.select(t).filter(i=>i.status!==z.Deleted&&!i.pendingDeleteAt),r=a?[]:Se.select(t);return ke({workspaces:s,knownRepos:r,repoPathLookup:fe(s,r),includeKnownRepos:!a}).find(i=>i.key===e)}),P=Object.freeze({}),U=l.createSelector(t=>{const e=Te.select(t);return e&&t.homeWorkspaces?.persistenceScope===e?t.homeWorkspaces.setAside??P:P}),At=l.createSelector(t=>Object.entries(U.select(t)).sort(([,e],[,a])=>e.at-a.at).map(([e])=>e)),It=l.createSelector((t,e)=>!!U.select(t)[e]),Ct=l.createSelector(t=>t.connections?.hasReceivedList?t.connections.windowBackendId??null:null);function Wt(t,e){return t.filter(a=>a.imageData&&a.imageMimeType||a.attachmentId||a.sourcePath||a.type==="folder"&&a.path||a.type==="selection"&&a.content).map(a=>({id:a.id,type:a.type,label:a.label,...a.description!==void 0?{description:a.description}:{},...a.content!==void 0?{content:a.content}:{},...a.path!==void 0?{path:a.path}:{},...a.imageData!==void 0?{imageData:a.imageData}:{},...a.imageMimeType!==void 0?{imageMimeType:a.imageMimeType}:{},...a.attachmentId!==void 0?{attachmentId:a.attachmentId}:{},...a.attachmentMimeType!==void 0?{attachmentMimeType:a.attachmentMimeType}:{},...a.attachmentSize!==void 0?{attachmentSize:a.attachmentSize}:{},...a.sourcePath!==void 0&&!a.attachmentId?{sourcePath:a.sourcePath}:{},...(a.placementStatus==="placing"||a.placementStatus==="failed")&&!a.attachmentId?{placementStatus:"failed"}:{},...e?.[a.id]!==void 0?{screen:e[a.id]}:{}}))}function Et(t){return t.flatMap(e=>e.screen!==void 0?[[e.id,e.screen]]:[])}function Pt(t){return t.map(e=>({id:e.id,type:e.type||"file",label:e.label,...e.description!==void 0?{description:e.description}:{},...e.content!==void 0?{content:e.content}:{},...e.path!==void 0?{path:e.path}:{},...e.imageData!==void 0?{imageData:e.imageData}:{},...e.imageMimeType!==void 0?{imageMimeType:e.imageMimeType}:{},...e.imageMimeType&&!ue(e.imageMimeType)?{placementFileName:e.label}:{},...e.attachmentId!==void 0?{attachmentId:e.attachmentId}:{},...e.attachmentMimeType!==void 0?{attachmentMimeType:e.attachmentMimeType}:{},...e.attachmentSize!==void 0?{attachmentSize:e.attachmentSize}:{},...e.sourcePath!==void 0?{sourcePath:e.sourcePath}:{},...e.placementStatus==="failed"&&e.attachmentId===void 0?{placementStatus:"failed"}:{}}))}function xt(t,e){const a=r=>JSON.stringify([r.attachmentId??null,r.sourcePath??null,r.path??null,r.imageData??null,r.imageMimeType??null]),s=new Map(e.map(r=>[r.id,r]));return Object.fromEntries(t.flatMap(r=>{const i=s.get(r.id);return i?.screen!==void 0&&a(i)===a(r)?[[r.id,i.screen]]:[]}))}const g=l.createSelector((t,e)=>t.transientUi.byWorkspaceId[e]??q),Rt=l.createSelector((t,e,a)=>{const s=g.select(t,e).composerContextByAgentId?.[a];return s?b(s):[]}),Mt=l.createSelector((t,e)=>g.select(t,e).composerContextByAgentId??{});l.createSelector((t,e)=>g.select(t,e).sidebarActiveTab);const Ft=l.createSelector((t,e)=>g.select(t,e).viewedFiles),Ae=l.createSelector((t,e,a)=>g.select(t,e).noteViewModeByNoteId[a]??"editor"),Ut=l.createSelector((t,e,a)=>Ae.select(t,e,a)==="raw"),Dt=l.createSelector((t,e,a)=>g.select(t,e).chatDrafts[a]??"");function o(t,e=40){return!t||t.length<=e?t:t.slice(0,e-1)+"…"}function p(t,e){const a=t.actor?.name;return a&&a!=="System"?o(a,30):e??n.events_activity_agent_fallback()}function Ie(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}function k(t){const e=t.split("/"),a=e.pop()||t,s=e.join("/");return{filename:a,directory:s}}const Ce={"file:changed":t=>{const e=t.data,a=e?.path?o(k(e.path).filename,35):n.events_activity_file_fallback(),s=p(t,""),r=e?.action,i=r==="create"?n.events_activity_verbCreated_label():r==="delete"?n.events_activity_verbDeleted_label():r==="rename"?n.events_activity_verbRenamed_label():n.events_activity_verbUpdated_label();return s?n.events_activity_actorVerbFile_label({actor:s,verb:i,filename:a}):n.events_activity_verbFile_label({verb:i.charAt(0).toUpperCase()+i.slice(1),filename:a})},"file:created":t=>{const e=t.data,a=e?.path?o(k(e.path).filename,35):n.events_activity_file_fallback(),s=p(t,"");return s?n.events_activity_actorCreatedFile_label({actor:s,filename:a}):n.events_activity_createdFile_label({filename:a})},"file:deleted":t=>{const e=t.data,a=e?.path?o(k(e.path).filename,35):n.events_activity_file_fallback(),s=p(t,"");return s?n.events_activity_actorDeletedFile_label({actor:s,filename:a}):n.events_activity_deletedFile_label({filename:a})},"file:renamed":t=>{const e=t.data,a=e?.path?o(k(e.path).filename,30):n.events_activity_file_fallback(),s=e?.oldPath?o(k(e.oldPath).filename,20):null,r=p(t,"");return s?r?n.events_activity_actorRenamedFileArrow_label({actor:r,oldFilename:s,filename:a}):n.events_activity_renamedFileArrow_label({oldFilename:s,filename:a}):r?n.events_activity_actorRenamedFile_label({actor:r,filename:a}):n.events_activity_renamedFile_label({filename:a})},"note:created":t=>{const e=t.data,a=o(e?.title||e?.name||n.events_activity_note_fallback(),35),s=p(t,"");return s?n.events_activity_actorCreatedNote_label({actor:s,title:a}):n.events_activity_createdNote_label({title:a})},"note:updated":t=>{const e=t.data,a=o(e?.title||e?.name||n.events_activity_note_fallback(),35),s=p(t,"");return s?n.events_activity_actorUpdatedNote_label({actor:s,title:a}):n.events_activity_updatedNote_label({title:a})},"note:deleted":t=>{const e=t.data,a=o(e?.title||e?.name||n.events_activity_note_fallback(),35),s=p(t,"");return s?n.events_activity_actorDeletedNote_label({actor:s,title:a}):n.events_activity_deletedNote_label({title:a})},"git:commit":t=>{const a=t.data?.message;if(a){const s=a.length>40?`${a.slice(0,37)}...`:a;return n.events_activity_committed_label({message:s})}return n.events_activity_madeCommit_label()},"git:push":()=>n.events_activity_pushedChanges_label(),"git:pull":()=>n.events_activity_pulledChanges_label(),"git:branch":t=>{const e=t.data,a=e?.branch||e?.name;return a?n.events_activity_switchedTo_label({branch:a}):n.events_activity_changedBranch_label()},"git:merge":t=>{const e=t.data,a=e?.branch||e?.source;return a?n.events_activity_merged_label({branch:a}):n.events_activity_mergedBranches_label()},"agent:started":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||e?.taskTitle||"",35);return a?n.events_activity_startedWorking_label({name:a}):n.events_activity_agentStarted_label()},"agent:completed":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",35);return a?n.events_activity_nameCompleted_label({name:a}):n.events_activity_agentCompleted_label()},"agent:failed":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",35);return a?n.events_activity_nameFailed_label({name:a}):n.events_activity_agentFailed_label()},"agent:deleted":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",35);return a?n.events_activity_deletedName_label({name:a}):n.events_activity_agentDeleted_label()},"agent:message":t=>{const e=o(p(t,""),30);return e?n.events_activity_nameSentMessage_label({name:e}):n.events_activity_agentSentMessage_label()},"agent:idle":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",35);return a?n.events_activity_nameFinished_label({name:a}):n.events_activity_agentFinished_label()},"agent:status-changed":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",30),s=e?.status||e?.newStatus,r=a||n.events_activity_agent_fallback();switch(s){case"idle":return n.events_activity_nameFinished_label({name:r});case"responding":case"streaming":case"thinking":return n.events_activity_nameIsWorking_label({name:r});case"waiting":case"waiting_for_input":return n.events_activity_nameIsWaiting_label({name:r});case"completed":case"done":return n.events_activity_nameCompleted_label({name:r});case"error":case"failed":return n.events_activity_nameEncounteredError_label({name:r});default:return s?n.events_activity_nameIsStatus_label({name:r,status:s}):n.events_activity_nameStatusChanged_label({name:r})}},"agent:tool:call":t=>{const e=t.data,a=o(e?.title||e?.input?._acpTitle||"",40);if(a)return a;const s=e?.toolName||e?.name||"",r=te(s),i=ae(r)||ne(s,e?.input??{})?"":o(r,25),c=o(p(t,""),25);if(i&&c)return n.events_activity_actorUsedTool_label({actor:c,toolName:i});if(i)return n.events_activity_usedTool_label({toolName:i});switch(e?.toolKind){case"file":return n.events_activity_toolKindFile_label();case"search":return n.events_activity_toolKindSearch_label();case"terminal":return n.events_activity_toolKindTerminal_label();case"git":return n.events_activity_toolKindGit_label();case"note":return n.events_activity_toolKindNote_label();default:return n.events_activity_usedATool_label()}},"agent:created":t=>{const e=t.data,a=String(e?.agentName||e?.name||""),s=/^agent$/i.test(a.trim())?"":o(a,20),r=o(p(t,""),20);return s&&r?n.events_activity_creatorCreatedAgent_label({creator:r,agentName:s}):s?n.events_activity_createdAgentName_label({agentName:s}):r?n.events_activity_creatorCreatedAnAgent_label({creator:r}):n.events_activity_createdNewAgent_label()},"agent:renamed":t=>{const e=t.data,a=o(e?.name||"",30);return a?n.events_activity_renamedAgentTo_label({name:a}):n.events_activity_renamedAgent_label()},"agent:updated":t=>{const e=t.data,a=o(t.actor?.name||e?.agentName||"",25);if(typeof e?.modelId=="string"&&e.modelId){const s=o(e.modelId,25);return a?n.events_activity_nameModelSet_label({name:a,model:s}):n.events_activity_agentModelSet_label({model:s})}return e?.completionReportCleared?a?n.events_activity_clearedNameReport_label({name:a}):n.events_activity_clearedAgentReport_label():a?n.events_activity_nameSettingsUpdated_label({name:a}):n.events_activity_agentSettingsUpdated_label()},"agent:restored":t=>{const e=t.data,a=o(t.actor?.name||e?.name||e?.agentName||"",30);return a?n.events_activity_restoredName_label({name:a}):n.events_activity_agentRestored_label()},"agent:permission:request":t=>{const e=t.data,a=o(e?.agentName||t.actor?.name||"",20),s=o(e?.title||"",35);return a&&s?n.events_activity_agentAskedTo_label({agentName:a,title:Ie(s)}):s?n.events_activity_permissionRequested_label({title:s}):n.events_activity_agentAskedPermission_label()},"agent:permission:resolved":t=>t.data?.outcome?.outcome==="cancelled"?n.events_activity_permissionDismissed_label():n.events_activity_permissionAnswered_label(),"agent:user-message:sent":t=>{const e=t.data,a=o(e?.agentName||e?.toAgentName||"",25);return a?n.events_activity_youMessagedName_label({agentName:a}):n.events_activity_youSentMessage_label()},"task:status-changed":t=>{const e=t.data,a=e?.taskName||e?.noteTitle||"",s=e?.newStatus||e?.status,r=o(p(t,""),25);let i="none",c=n.events_activity_statusUpdated_label();if(s){const d=s.toLowerCase().replace(/_/g," ");d==="complete"||d==="completed"||d==="done"?(i="complete",c=n.events_activity_statusComplete_label()):d==="in progress"||d==="in_progress"?(i="in-progress",c=n.events_activity_statusInProgress_label()):d==="cancelled"||d==="canceled"?(i="cancelled",c=n.events_activity_statusCancelled_label()):(i="other",c=d)}if(a&&a!=="task")switch(i){case"complete":return n.events_activity_completedTask_label({taskName:a});case"in-progress":return n.events_activity_startedTask_label({taskName:a});case"cancelled":return n.events_activity_cancelledTask_label({taskName:a});default:return n.events_activity_markedTaskStatus_label({status:c,taskName:a})}return r?n.events_activity_actorUpdatedTaskStatus_label({actor:r}):n.events_activity_taskMarked_label({status:c})},"task:ready-tasks-changed":t=>{const e=t.data,a=Array.isArray(e?.readyTaskIds)?e.readyTaskIds.length:e?.count||e?.taskCount;return typeof a=="number"?a===0?n.events_activity_noTasksReady_label():a===1?n.events_activity_oneTaskReadyToStart_label():n.events_activity_tasksReadyToStart_label({count:a}):n.events_activity_readyTasksUpdated_label()},"task:agent-linked":t=>{const e=t.data,a=e?.link?.taskText||e?.taskKey||"";return a?n.events_activity_agentAssignedToTask_label({taskText:a}):n.events_activity_agentAssignedToATask_label()},"task:agent-unlinked":t=>{const a=t.data?.taskKey||"";return a?n.events_activity_agentUnassignedFromTask_label({taskText:a}):n.events_activity_agentUnassignedFromATask_label()},"pr:linked":t=>{const a=t.data?.prNumber;return a?n.events_activity_linkedPrNumber_label({prNumber:a}):n.events_activity_linkedPr_label()},"pr:updated":t=>{const e=t.data,a=e?.prNumber,s=typeof e?.prStatus=="string"?e.prStatus.toLowerCase():"";return a&&s?s==="draft"?n.events_activity_prIsDraft_label({prNumber:a}):n.events_activity_prIsStatus_label({prNumber:a,status:s}):a?n.events_activity_prNumberUpdated_label({prNumber:a}):n.events_activity_prUpdated_label()},"pr:unlinked":()=>n.events_activity_prUnlinked_label(),"terminal:command":t=>{const a=t.data?.command,s=o(p(t,""),25);if(a){const r=o(a,25);return s?n.events_activity_actorRanCommand_label({actor:s,command:r}):n.events_activity_ranCommandName_label({command:r})}return s?n.events_activity_actorRanACommand_label({actor:s}):n.events_activity_ranCommand_label()},"terminal:exit":t=>{const a=t.data?.exitCode;return typeof a=="number"&&a!==0?n.events_activity_terminalExitedCode_label({exitCode:a}):n.events_activity_terminalSessionEnded_label()},"terminal:title":t=>{const e=t.data,a=o(e?.title||"",35);return a?n.events_activity_terminalRunningTitle_label({title:a}):n.events_activity_terminalTitleChanged_label()},"script:state":t=>{const e=t.data,a=o(e?.scriptId||"",25),s=e?.status,r=a||n.events_activity_script_fallback();switch(s){case"running":return n.events_activity_scriptStarted_label({name:r});case"stopped":{const i=e?.exitCode;return typeof i=="number"&&i!==0?n.events_activity_scriptFailedExit_label({name:r,exitCode:i}):n.events_activity_scriptStopped_label({name:r})}case"error":return e?.error?n.events_activity_scriptErroredDetail_label({name:r,error:o(e.error,30)}):n.events_activity_scriptErrored_label({name:r});default:return s?n.events_activity_scriptIsStatus_label({name:r,status:s}):n.events_activity_scriptStateChanged_label({name:r})}},"test:started":t=>{const e=t.data,a=o(e?.testName||e?.testSuite||"",30),s=o(p(t,""),25);return a?s?n.events_activity_actorStartedTesting_label({actor:s,testName:a}):n.events_activity_startedTestingName_label({testName:a}):s?n.events_activity_actorStartedTests_label({actor:s}):n.events_activity_startedTests_label()},"test:completed":t=>{const e=t.data,a=e?.status,s=o(e?.testName||e?.testSuite||"",30);return a==="passed"?s?n.events_activity_testsPassedName_label({testName:s}):n.events_activity_testsPassed_label():a==="failed"?s?n.events_activity_testsFailedName_label({testName:s}):n.events_activity_testsFailed_label():s?n.events_activity_testsCompletedName_label({testName:s}):n.events_activity_testsCompleted_label()},"build:started":t=>{const e=t.data,a=o(e?.target||"",30),s=o(p(t,""),25);return a?s?n.events_activity_actorStartedBuilding_label({actor:s,target:a}):n.events_activity_startedBuildingTarget_label({target:a}):s?n.events_activity_actorStartedBuild_label({actor:s}):n.events_activity_startedBuild_label()},"build:completed":t=>{const e=t.data,a=e?.status,s=o(e?.target||"",30);return a==="success"?s?n.events_activity_buildSucceededTarget_label({target:s}):n.events_activity_buildSucceeded_label():a==="failed"?s?n.events_activity_buildFailedTarget_label({target:s}):n.events_activity_buildFailed_label():s?n.events_activity_buildCompletedTarget_label({target:s}):n.events_activity_buildCompleted_label()},"workspace:created":t=>{const e=t.data,a=o(e?.workspace?.title||e?.name||"",35);return a?n.events_activity_createdWorkspaceName_label({name:a}):n.events_activity_createdWorkspace_label()},"workspace:updated":t=>{const e=t.data,a=e?.changes??{};if(typeof a.title=="string"&&a.title)return n.events_activity_renamedWorkspaceTo_label({title:o(a.title,30)});if(typeof a.statusMessage=="string")return a.statusMessage?n.events_activity_workspaceStatus_label({statusMessage:o(a.statusMessage,40)}):n.events_activity_clearedWorkspaceStatus_label();if(typeof a.status=="string"&&a.status)return n.events_activity_workspaceMarkedStatus_label({status:a.status.toLowerCase()});if(typeof a.branch=="string"&&a.branch)return n.events_activity_branchSetTo_label({branch:o(a.branch,30)});if(typeof a.baseRef=="string"&&a.baseRef)return n.events_activity_baseBranchSetTo_label({baseRef:o(a.baseRef,30)});const s={baseCommitSha:n.events_activity_fieldBaseCommit_label(),statusMessage:n.events_activity_fieldStatusMessage_label(),lastActivity:n.events_activity_fieldActivityTime_label(),repositoryPath:n.events_activity_fieldRepositoryPath_label(),repositoryOwner:n.events_activity_fieldRepositoryOwner_label(),repositoryName:n.events_activity_fieldRepositoryName_label(),worktreePath:n.events_activity_fieldWorktreePath_label(),setupScript:n.events_activity_fieldSetupScript_label(),skipWorktree:n.events_activity_fieldWorktreeSetting_label()},r=Object.keys(a).filter(c=>c!=="workspaceId");if(r.length>0){const c=r.map(d=>s[d]??d);return n.events_activity_changedWorkspaceFields_label({fields:o(c.join(", "),35)})}const i=o(e?.name||"",35);return i?n.events_activity_updatedWorkspaceName_label({name:i}):n.events_activity_updatedWorkspace_label()},"workspace:deleted":t=>{const e=t.data,a=o(e?.name||"",35);return a?n.events_activity_deletedWorkspaceName_label({name:a}):n.events_activity_deletedWorkspace_label()},"workspace:opened":t=>{const e=t.data,a=o(e?.name||"",35);return a?n.events_activity_openedName_label({name:a}):n.events_activity_openedWorkspace_label()},"workspace:closed":t=>{const e=t.data,a=o(e?.name||"",35);return a?n.events_activity_closedName_label({name:a}):n.events_activity_closedWorkspace_label()},"workspace:activity":t=>{const e=t.data,a=o(e?.description||"",40);return a||n.events_activity_workspaceActivity_label()},"spec:updated":t=>{const e=t.data,a=o(e?.section||"",30),s=o(p(t,""),25);return a?s?n.events_activity_actorUpdatedSpecSection_label({actor:s,section:a}):n.events_activity_updatedSpecSection_label({section:a}):s?n.events_activity_actorUpdatedSpec_label({actor:s}):n.events_activity_updatedSpec_label()},"goal:updated":t=>{const e=o(p(t,""),30);return e?n.events_activity_actorUpdatedGoal_label({actor:e}):n.events_activity_updatedGoal_label()},"comment:added":t=>{const e=t.data,a=o(t.actor?.name||e?.author||e?.authorName||"",30),s=o(e?.preview||e?.text||"",25);return a&&s?n.events_activity_authorCommentedPreview_label({author:a,preview:s}):a?n.events_activity_authorCommented_label({author:a}):s?n.events_activity_commentPreview_label({preview:s}):n.events_activity_commentAdded_label()},"agent:message:sent":t=>{const e=t.data,a=o(t.actor?.name||e?.fromAgentName||n.events_activity_agent_fallback(),25),s=o(e?.toAgentName||"",25);return s?n.events_activity_fromMessagedTo_label({fromName:a,toName:s}):n.events_activity_fromSentMessage_label({fromName:a})},"agent:message:received":t=>{const e=t.data,a=o(e?.fromAgentName||"",25),s=o(t.actor?.name||e?.toAgentName||n.events_activity_agent_fallback(),25);return a?n.events_activity_receivedMessageFrom_label({toName:s,fromName:a}):n.events_activity_receivedAMessage_label({toName:s})},"agent:message:delivery-failed":t=>{const e=t.data,a=o(e?.toAgentName||e?.agentName||"",25);return a?n.events_activity_messageToNameFailed_label({toName:a}):n.events_activity_messageDeliveryFailed_label()},"agent:subscribed":t=>{const e=t.data,a=o(t.actor?.name||e?.agentName||n.events_activity_agent_fallback(),30),s=e?.eventTypes;return s?.length===1?n.events_activity_watchingCategoryEvents_label({name:a,category:s[0].split(":")[0]}):s?.length>1?n.events_activity_watchingForUpdates_label({name:a}):n.events_activity_startedWatching_label({name:a})},"agent:unsubscribed":t=>{const e=t.data,a=o(t.actor?.name||e?.agentName||n.events_activity_agent_fallback(),30);return n.events_activity_stoppedWatching_label({name:a})},"agent:woken-by-subscription":t=>{const e=t.data,a=o(t.actor?.name||e?.agentName||n.events_activity_agent_fallback(),30),s=e?.eventCount||1;return s===1?n.events_activity_nameResumed_label({name:a}):n.events_activity_nameResumedEvents_label({name:a,count:s})},"agent:resumed":t=>{const e=t.data,a=o(t.actor?.name||e?.agentName||e?.name||"",35);return a?n.events_activity_nameResumed_label({name:a}):n.events_activity_agentResumed_label()},"comment:resolved":t=>t.data?.resolved===!1?n.events_activity_reopenedCommentThread_label():n.events_activity_resolvedCommentThread_label(),"git:clone:done":t=>{const e=t.data,a=o(e?.repository||e?.repo||e?.url||"",35);return a?n.events_activity_clonedRepo_label({repo:a}):n.events_activity_repositoryCloned_label()},"settings:changed":t=>{const e=t.data,a=Array.isArray(e?.changes)?e.changes.map(s=>s?.path).filter(Boolean):[];return a.length===1?n.events_activity_changedSetting_label({path:o(a[0],35)}):a.length>1?n.events_activity_changedSettingsCount_label({count:a.length}):n.events_activity_settingsChanged_label()},"skills:changed":()=>n.events_activity_skillsChanged_label(),"mcp:notification":t=>{const e=t.data,a=o(e?.serverName||e?.server||"",25);return a?n.events_activity_updateFromServer_label({server:a}):n.events_activity_mcpNotification_label()},"mcp.servers:status-changed":()=>n.events_activity_mcpStatusChanged_label(),"github:auth-changed":t=>{const a=t.data?.status;return a==="authenticated"||a==="success"?n.events_activity_githubSignedIn_label():a==="signed-out"||a==="expired"?n.events_activity_githubSignInExpired_label():n.events_activity_githubAuthChanged_label()},"workspace:context-changed":()=>n.events_activity_workspaceContextUpdated_label()};function Bt(t){if(!t?.type)return n.events_activity_unknownActivity_label();const e=Ce[t.type];if(e)try{return e(t)}catch{}const a=t.type.split(":");if(a.length>=2){const[s,r]=a;return`${s.charAt(0).toUpperCase()+s.slice(1)} ${r}`}return t.type.replace(/[_:]/g," ")}function Ot({currentScrollTop:t,targetTop:e,containerTop:a,headerBottom:s}){const r=Math.max(a,s??a);return t+e-r}function D(t){const e=t.trimStart();return e.startsWith("[WORKSPACE EVENTS]")||e.startsWith("[TASK WAKE]")||e.startsWith("[AGENT MESSAGE]")}function We(t,e){return t.metadata?.type?!0:D(e)}function Ee(t,e){return F(se(t,e)).replace(/\s+/g," ").trim()}function Lt(t,e){const a=new Set,s=[];for(const r of t){if(r.role!=="user"||a.has(r.id))continue;const i=oe(r);if(We(r,i))continue;const c=Ee(r,e);c&&(a.add(r.id),s.push({id:r.id,text:c}))}return s}function $t(t){const e=new Set,a=[];for(const s of t){if(e.has(s.id)||s.metadata?.type||D(s.preview))continue;const r=F(re(ie(s.preview,s.metadata),s.metadata)).replace(/\s+/g," ").trim();r&&(e.add(s.id),a.push({id:s.id,text:r}))}return a}function Gt(t,e){const a=new Map(e.map(i=>[i.id,i])),s=t.map(i=>a.get(i.id)??i),r=new Set(t.map(i=>i.id));for(const i of e)r.has(i.id)||s.push(i);return s}function N(t){return typeof t=="number"&&Number.isFinite(t)&&t>=0?t:void 0}function Kt(t){if(typeof t!="object"||t===null)return;const e=t,a=N(e.receivedObjects),s=N(e.totalObjects);if(a===void 0||!s)return;const r={receivedObjects:a,totalObjects:s},i=N(e.receivedBytes),c=N(e.bytesPerSecond);return i!==void 0&&(r.receivedBytes=i),c!==void 0&&(r.bytesPerSecond=c),r}function Pe(t){return t>=1e9?{unit:"gigabyte",value:t/1e9,digits:2}:t>=1e6?{unit:"megabyte",value:t/1e6,digits:1}:{unit:"kilobyte",value:t/1e3,digits:t<1e4?1:0}}function x(t,e=!1){const{unit:a,value:s,digits:r}=Pe(t);return me(s,{style:"unit",unit:e?`${a}-per-second`:a,maximumFractionDigits:r})}function Vt(t){const{receivedBytes:e,bytesPerSecond:a}=t;return e===void 0||a===void 0?null:n.workspace_compactInitializer_progressTransfer_label({received:x(e),rate:x(a,!0)})}const f=new ve("ReversibleActions");class xe{constructor(){A(this,"pendingActions",new Map);A(this,"completedActions",new Map)}async execute(e){const a=e.duration??15,s=e.id||globalThis.crypto.randomUUID(),r=e.immediate??!0,i=e.showCountdown??!1;if(r&&!i)try{if(await e.action()===!1)return!1;this.completedActions.set(s,e);let c=!1;const d=e.onUndo;if(d){const u=m.warning(e.message,I({duration:a*1e3,action:{label:n.ui_reversibleActions_undo_label(),onClick:async()=>{try{c=!0,await d(),this.completedActions.delete(s),m.dismiss(u)}catch(_){f.error("Failed to undo action:",_ instanceof Error?_:new Error(String(_))),m.error(n.ui_reversibleActions_undoFailed_error())}}}},{pauseOnHover:!1}))}else m.success(e.message);return setTimeout(async()=>{if(!c&&e.onExpire)try{await e.onExpire()}catch(u){f.error("Failed to execute onExpire callback:",u instanceof Error?u:new Error(String(u)))}this.completedActions.delete(s)},a*1e3),!0}catch(c){return f.error("Failed to execute action:",c instanceof Error?c:new Error(String(c))),m.error(n.ui_reversibleActions_failed_error({message:c instanceof Error?c.message:n.ui_reversibleActions_unknownError_label()})),!1}else return i?new Promise(c=>{let d=a,u;const _=async()=>{clearInterval(u),this.pendingActions.delete(s);try{await e.action(),m.success(n.ui_reversibleActions_completed_message({message:e.message})),c(!0)}catch(h){f.error("Failed to execute action:",h instanceof Error?h:new Error(String(h))),m.error(n.ui_reversibleActions_failed_error({message:h instanceof Error?h.message:n.ui_reversibleActions_unknownError_label()})),c(!1)}},y=()=>{clearTimeout(E),clearInterval(u),this.pendingActions.delete(s),m.info(n.ui_reversibleActions_cancelled_message()),c(!1)},v=I({duration:a*1e3},{pauseOnHover:!1}),$=m.warning(n.ui_reversibleActions_countdown_message({message:e.message,seconds:d}),{...v,action:{label:n.ui_reversibleActions_cancel_label(),onClick:y},onDismiss:y,onAutoClose:_});u=setInterval(()=>{d--,d>0&&m.warning(n.ui_reversibleActions_countdown_message({message:e.message,seconds:d}),{...v,id:$,duration:d*1e3,action:{label:n.ui_reversibleActions_cancel_label(),onClick:y},onDismiss:y,onAutoClose:_})},1e3);const E=setTimeout(_,a*1e3);this.pendingActions.set(s,{timeout:E,action:e})}):new Promise(c=>{const d=async()=>{clearTimeout(y),this.pendingActions.delete(s);try{await e.action(),m.success(n.ui_reversibleActions_completed_message({message:e.message})),c(!0)}catch(v){f.error("Failed to execute action:",v instanceof Error?v:new Error(String(v))),m.error(n.ui_reversibleActions_failed_error({message:v instanceof Error?v.message:n.ui_reversibleActions_unknownError_label()})),c(!1)}},u=()=>{clearTimeout(y),this.pendingActions.delete(s),m.info(n.ui_reversibleActions_cancelled_message()),c(!1)},_=async()=>{this.pendingActions.delete(s);try{e.onExpire&&await e.onExpire()}catch(v){f.error("Failed to execute onExpire callback:",v instanceof Error?v:new Error(String(v)))}m.info(n.ui_reversibleActions_expired_message()),c(!1)};m.info(`${e.message}`,I({duration:a*1e3,action:{label:n.ui_reversibleActions_execute_label(),onClick:d},onDismiss:u,onAutoClose:d},{pauseOnHover:!1}));const y=setTimeout(_,a*1e3);this.pendingActions.set(s,{timeout:y,action:e})})}cancel(e){const a=this.pendingActions.get(e);return a?(clearTimeout(a.timeout),this.pendingActions.delete(e),m.info(n.ui_reversibleActions_cancelled_message()),!0):!1}cancelAll(){for(const[e,{timeout:a}]of this.pendingActions)clearTimeout(a);this.pendingActions.clear(),this.pendingActions.size>0&&m.info(n.ui_reversibleActions_allCancelled_message())}getPendingActions(){return Array.from(this.pendingActions.keys())}}const B=new xe;async function Ht(t,e,a,s={}){return B.execute({id:globalThis.crypto.randomUUID(),message:n.ui_reversibleActions_deleted_message({itemName:t}),action:e,onUndo:a,onExpire:s.onExpire,immediate:s.immediate??!0,showCountdown:s.showCountdown??!1,duration:s.duration??15})}async function jt(t,e,a,s,r,i={}){return B.execute({id:globalThis.crypto.randomUUID(),message:n.ui_reversibleActions_renamed_message({itemType:t,newName:a}),action:s,onUndo:r,immediate:!0,showCountdown:!1,duration:i.duration??15})}function zt(){return be()&&pe(ye)==="main"}const Re=/\x1b\[[0-9;?]*[ -/]*[@-~]|\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)|\x1b[@-Z\\-_]/g,Me=/\x1b(\[[0-9;?]*[ -/]*|\][^\x07\x1b]*)?$/;function qt(t){let e="";for(const r of t.chunks)e+=r.text;if(e==="")return[];e=e.replace(Me,"").replace(Re,"");const a=/\r?\n$/.test(e);a||(e=e.replace(/\r$/,""));const s=e.split(/\r?\n/).map(r=>{const i=r.lastIndexOf("\r");return i===-1?r:r.slice(i+1)});return a&&s[s.length-1]===""&&s.pop(),s}const Fe="No output yet.",Ue=/^\[(?:showing last \d+ of )?\d+ lines\]$/;function Xt(t){if(!t||t.trim()===Fe)return[];const e=t.replace(/\r?\n$/,"").split(/\r?\n/);return Ue.test(e[0]??"")&&e.shift(),e.length===1&&e[0]===""?[]:e}function R(t,e,a){const r=e.find(c=>String(c.id)===t)?.name?.trim();if(r)return r;const i=a?.trim();return i||O(t)}function O(t){return t.length>14?`${t.slice(0,14)}…`:t}function Zt(t,e,a){const s=new Map,r={ownerAgentId:null,ownerName:null,entries:[]},i=(d,u)=>{let _=s.get(d);return _?_.ownerName===O(d)&&(_.ownerName=R(d,a,u)):(_={ownerAgentId:d,ownerName:R(d,a,u),entries:[]},s.set(d,_)),_};for(const{tab:d,panelId:u,active:_}of t)(d.ownerAgentId?i(d.ownerAgentId,d.ownerAgentName):r).entries.push({tab:d,panelId:u,active:_,hidden:!1});for(const d of e){if(d.type!=="browser")continue;(d.ownerAgentId?i(d.ownerAgentId,d.ownerAgentName):r).entries.push({tab:d,active:!1,hidden:!0})}const c=[...s.values()];return r.entries.length>0&&c.push(r),c}const De=new Set(["in_progress","review_required"]),Be=new Set(["cancelled"]);function Jt(t){if(!t)return new Set;const e=new Set,a=new RegExp(M.source,"g");for(const s of t.matchAll(a)){const r=s[2];r&&e.add(r)}return e}function Qt(t){if(!t)return[];const e=[],a=new RegExp(M.source,"g");for(const s of t.matchAll(a)){const r=s[2];r&&!e.includes(r)&&e.push(r)}return e}const Yt=l.createSelector((t,e)=>t.workspaceTasks.byWorkspaceId[e]??X);l.createSelector((t,e)=>t.workspaceTasks.byWorkspaceId[e]?.loading??!1);l.createSelector((t,e)=>t.workspaceTasks.byWorkspaceId[e]?.error??null);const ea=l.createSelector((t,e)=>t.workspaceTasks.byWorkspaceId[e]?.initialized??!1),ta=l.createSelector(t=>Object.entries(t.workspaceTasks.byWorkspaceId).filter(([,e])=>e.demandIds.length>0).map(([e])=>e)),aa=l.createSelector((t,e)=>{const a=t.workspaceTasks.byWorkspaceId[e];return!!a?.demandIds.length&&!a.loading&&(!a.initialized||a.stale)}),na=l.createSelector((t,e)=>{const a=t.workspaceTasks.byWorkspaceId[e];return a?b(a.tasks):[]}),sa=l.createSelector((t,e)=>t.workspaceTasks.byWorkspaceId[e]?.stats??Z);l.createSelector((t,e)=>{const a=t.workspaceTasks.byWorkspaceId[e];if(!a)return[];const s=[],r=[],i=[];for(const c of b(a.tasks))Be.has(c.status)||(De.has(c.status)?s.push(c):c.status==="complete"?i.push(c):r.push(c));return[...s,...r,...i]});const T=new Map;function Oe(t){const e=T.get(t);if(e)return e;const a=_e(async()=>{const{appClient:s}=await import("./BFPmZe29.js").then(r=>r.o);return{appClient:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url).then(({appClient:s})=>s.workspaces.get(t)).catch(()=>null).finally(()=>{T.get(t)===a&&T.delete(t)});return T.set(t,a),a}function W(t){return le.select(l.state,t)}async function L(t){const e=await Oe(t);return e&&l.dispatch(J(e,{detailRead:!0})),W(t)}function ra(t){return de.select(l.state,t)?Promise.resolve(W(t)):L(t)}function ia(t){const e=W(t);return ce(e)?L(t):Promise.resolve(e)}export{kt as $,qt as A,ht as B,rt as C,Dt as D,Be as E,Rt as F,ta as G,st as H,De as I,ut as J,pt as K,Te as L,St as M,Ct as N,U as O,At as P,Nt as Q,It as R,Tt as S,Ne as T,Ut as U,Se as V,wt as W,_t as X,ft as Y,vt as Z,bt as _,Pt as a,Ae as a0,mt as a1,yt as a2,lt as a3,ot as a4,it as a5,dt as a6,gt as a7,Ft as a8,Mt as a9,ct as aa,sa as ab,na as ac,ea as ad,aa as ae,Yt as af,Wt as ag,zt as ah,fe as b,Vt as c,Ht as d,ra as e,ia as f,Qt as g,Jt as h,Bt as i,ge as j,Ot as k,Ee as l,Lt as m,$t as n,Zt as o,ke as p,nt as q,at as r,Gt as s,Kt as t,Et as u,jt as v,R as w,xt as x,B as y,Xt as z};