@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,3 +1,3 @@
1
- import{fI as U,IS as o,nH as x,m9 as F,m0 as G,td as K}from"./BwCXlNwV.js";import{g as q,G as j,dT as V,cG as N,ds as w,dD as M,dO as E,cB as Y,aB as $}from"./lJ2hrkPe.js";import{selectCurrentWorkspaceTabId as z,selectWorkspaceTabsHydrated as J}from"./BpMUTlD3.js";import{t as Q}from"./yfZcC2N6.js";function X(e){return!e.retiredAt&&!e.pendingDeleteAt&&e.status!=="deleted"}function k(e){const t=new Date(e.lastActivity??e.updatedAt??e.createdAt).getTime()||0,s=e.messages.at(-1)?.timestamp,r=s&&new Date(s).getTime()||0;return Math.max(t,r)}function be(e){const t=e.filter(X).map(s=>({agent:s,activity:k(s),created:new Date(s.createdAt).getTime()||0})).sort((s,r)=>r.activity-s.activity||r.created-s.created||String(s.agent.id).localeCompare(String(r.agent.id)));return t.find(({agent:s})=>U(s)==="topLevel")?.agent??t[0]?.agent??null}const p="__chief__",L="New chat";function Z(e){const t=e?.trim();return!t||t===L||t==="New chat with Assistant"||t==="New chat with Intent"||t==="Chief of Staff"||t.startsWith("New thread ")}function ee(e){const t=e.name?.trim();if(e.nameExplicitlySet&&t)return t;const r=e.messages.find(l=>l.role==="user")??e.messages[0],c=r?q(r).trim():"";return!t||Z(t)?c||L:c||t}const te="chief-of-staff",se=6,T="## Assistant Runtime Identity\n\nYou are Intent's built-in Assistant. Operate at the app level with `ws.app.*` tools: manage workspaces, settings, specialists, navigation, and cross-workspace agents. You are not a repository coding agent. Treat generic coding-agent, workspace, spec, task, and delegation instructions as subordinate to this role.\n\nWhen the user requests repository work, create or open the appropriate workspace and hand the work to the appropriate specialist. Once you have enough repository or PR information, act through the app-level proposal flow instead of merely promising to verify, prepare, or hand off the work.\n\nShow workspaces, notes, files, agent conversations and repository links beside your conversation when they help the user. Share ordinary Markdown links to notes (intent://local/note/<noteId> or intent://local/<workspaceId>/note/<noteId>) workspace links (intent://local/workspace/<workspaceId>), workspace file and agent links, and HTTPS repository URLs; clicking opens a closable content panel while keeping chat visible. To show content automatically, call `ws.app.ui.navigate` with the same link or /workspace/<workspaceId>. Calling `ws.app.workspaces.open` also shows that workspace beside chat unless the user requests a new window. Each conversation has its own panel history. Workspaces show the same detail and agent chat as Home’s Workspaces tab. Earlier content remains available in that conversation’s panel header picker. Creating a note alone does not open it: explicitly navigate when you want to show it.\n\nWhen the user asks to transfer a project between devices, find the source workspace with `ws.app.workspaces.list` and call `ws.app.workspaces.transfer(id, { destination })`. Pass the user's destination name as the hint, or omit it so they can choose a saved device in the inline card. The source is the device serving this assistant conversation. The tool only proposes the transfer: wait for approval or cancellation in the card, and report completion only after the proposal is applied.";function Ae(e){const t=e?.trim();return t?`${T}
1
+ import{fI as U,IS as o,nH as x,m9 as F,m0 as G,td as K}from"./DUUOaZUX.js";import{g as q,G as j,dT as V,cG as N,ds as w,dD as M,dO as E,cB as Y,aB as $}from"./Bd92b52s.js";import{selectCurrentWorkspaceTabId as z,selectWorkspaceTabsHydrated as J}from"./qW1_mixC.js";import{t as Q}from"./CMFCeNSK.js";function X(e){return!e.retiredAt&&!e.pendingDeleteAt&&e.status!=="deleted"}function k(e){const t=new Date(e.lastActivity??e.updatedAt??e.createdAt).getTime()||0,s=e.messages.at(-1)?.timestamp,r=s&&new Date(s).getTime()||0;return Math.max(t,r)}function be(e){const t=e.filter(X).map(s=>({agent:s,activity:k(s),created:new Date(s.createdAt).getTime()||0})).sort((s,r)=>r.activity-s.activity||r.created-s.created||String(s.agent.id).localeCompare(String(r.agent.id)));return t.find(({agent:s})=>U(s)==="topLevel")?.agent??t[0]?.agent??null}const p="__chief__",L="New chat";function Z(e){const t=e?.trim();return!t||t===L||t==="New chat with Assistant"||t==="New chat with Intent"||t==="Chief of Staff"||t.startsWith("New thread ")}function ee(e){const t=e.name?.trim();if(e.nameExplicitlySet&&t)return t;const r=e.messages.find(l=>l.role==="user")??e.messages[0],c=r?q(r).trim():"";return!t||Z(t)?c||L:c||t}const te="chief-of-staff",se=6,T="## Assistant Runtime Identity\n\nYou are Intent's built-in Assistant. Operate at the app level with `ws.app.*` tools: manage workspaces, settings, specialists, navigation, and cross-workspace agents. You are not a repository coding agent. Treat generic coding-agent, workspace, spec, task, and delegation instructions as subordinate to this role.\n\nWhen the user requests repository work, create or open the appropriate workspace and hand the work to the appropriate specialist. Once you have enough repository or PR information, act through the app-level proposal flow instead of merely promising to verify, prepare, or hand off the work.\n\nShow workspaces, notes, files, agent conversations and repository links beside your conversation when they help the user. Share ordinary Markdown links to notes (intent://local/note/<noteId> or intent://local/<workspaceId>/note/<noteId>) workspace links (intent://local/workspace/<workspaceId>), workspace file and agent links, and HTTPS repository URLs; clicking opens a closable content panel while keeping chat visible. To show content automatically, call `ws.app.ui.navigate` with the same link or /workspace/<workspaceId>. Calling `ws.app.workspaces.open` also shows that workspace beside chat unless the user requests a new window. Each conversation has its own panel history. Workspaces show the same detail and agent chat as Home’s Workspaces tab. Earlier content remains available in that conversation’s panel header picker. Creating a note alone does not open it: explicitly navigate when you want to show it.\n\nWhen the user asks to transfer a project between devices, find the source workspace with `ws.app.workspaces.list` and call `ws.app.workspaces.transfer(id, { destination })`. Pass the user's destination name as the hint, or omit it so they can choose a saved device in the inline card. The source is the device serving this assistant conversation. The tool only proposes the transfer: wait for approval or cancellation in the card, and report completion only after the proposal is applied.";function Ae(e){const t=e?.trim();return t?`${T}
2
2
 
3
3
  ${t}`:T}const re=o.createSelector((e,t)=>{const s=e.backgroundHooks?.byWorkspaceId?.[t];return s?x(s.hooks):[]}),oe=o.createSelector((e,t)=>e.backgroundHooks?.byWorkspaceId?.[t]?.snapshotStatus??"loading"),O=o.createSelector((e,t)=>e.scriptMonitor?.byWorkspaceId[t]??F),ve=o.createSelector((e,t,s)=>{const r=O.select(e,t);return r.status==="unsupported"?[]:r.monitors.filter(c=>c.agentId===s)}),u=o.createSelector((e,t,s)=>{const r=K(t,s);return e.agentSubscriptionUI.entries[r]??G}),ne=o.createSelector((e,t,s)=>u.select(e,t,s).subscriptions),ae=o.createSelector((e,t,s)=>u.select(e,t,s).eventSubscriptions??[]),ce=o.createSelector((e,t,s)=>u.select(e,t,s).delegationGroups),ye=o.createSelector((e,t,s)=>u.select(e,t,s).agentStatuses),Ce=o.createSelector((e,t,s)=>u.select(e,t,s).waitingState),We=o.createSelector((e,t,s)=>u.select(e,t,s).wokenUpInfo);function ie(e){return[...new Set(e.filter(Boolean))]}const Te=o.createSelector((e,t,s)=>{const r=u.select(e,t,s),c=[],l=new Set,i=n=>{for(const a of ie(n))l.has(a)||(l.add(a),c.push(a))},h=[...r.subscriptions].sort((n,a)=>n.createdAt.localeCompare(a.createdAt)||n.id.localeCompare(a.id));for(const n of h)n.delegationGroup?.awaitMode!=="all"&&i(n.actorIds);const g=new Map;for(const n of r.delegationGroups)n.awaitMode==="all"&&g.set(n.groupId,n);for(const n of g.values())i(n.expectedAgentIds);for(const n of h){const a=n.delegationGroup;a?.awaitMode==="all"&&!g.has(a.groupId)&&i(a.expectedAgentIds)}const d=new Set;for(const n of r.delegationGroups){for(const a of n.completedAgentIds)d.add(a);for(const a of n.deletedAgentIds)d.add(a);for(const[a,f]of Object.entries(n.agentStatuses))f==="completed"&&d.add(a)}for(const[n,a]of Object.entries(r.agentStatuses))a==="completed"&&d.add(n);const A=e.agentSessions?.byAgentId??{},v=new Set([...d].filter(n=>{const a=A[n];return!a||!j(V(a))})),y=new Map(c.map((n,a)=>[n,a])),C=n=>{const a=A[n];if(!a)return 2;if(a.attentionRequestKind==="blocker")return 0;if(a.attentionRequestKind==="discussion")return 1;if(v.has(n))return 4;const f=String(a.status).toLowerCase();return f==="responding"||f==="active"||f==="processing"?2:3},W=c.filter(n=>!v.has(n)).sort((n,a)=>C(n)-C(a)||(y.get(n)??0)-(y.get(a)??0));return{visible:r.snapshotStatus==="failed"||r.waitingState==="completed"||c.length>0||r.wokenUpInfo!==null,count:W.length,participantAgentIds:W}}),Ne=o.createSelector((e,t,s)=>u.select(e,t,s).snapshotStatus),Me=o.createSelector((e,t)=>{const s=`${t}:`,r=[];for(const c of Object.keys(e.agentSubscriptionUI.entries))c.startsWith(s)&&r.push(c.slice(s.length));return r});o.createSelector((e,t,s)=>{const r=ce.select(e,t,s);let c=0,l=0;for(const i of r)c+=i.expectedAgentIds.length,l+=i.completedAgentIds.length+i.deletedAgentIds.length;return{total:c,completed:l}});const Ee=o.createSelector(e=>{const t=z.select(e);if(!t||!J.select(e))return[];const s=new Set;for(const r of Q.select(e,t)){const c=r.panes.find(l=>l.id===r.activePaneId);c?.type==="agent"&&c.agentId&&s.add(c.agentId)}return[...s].map(r=>({wsId:t,agentId:r}))}),P="pinned",le=64;function I(e){return e.trim().toLocaleLowerCase()}function R(e){return e===P}function Le(e,t){const s=e.trim();if(s.length===0)return{ok:!1,error:"empty"};if([...s].length>le)return{ok:!1,error:"tooLong"};const r=I(s);return r===P?{ok:!1,error:"reserved"}:t.some(c=>I(c)===r)?{ok:!1,error:"duplicate"}:{ok:!0,label:s}}function de(e){const t=new Map;for(const s of e){if(typeof s!="string"||R(s))continue;const r=s.trim();if(r.length===0)continue;const c=I(r);t.has(c)||t.set(c,s)}return[...t.values()].sort((s,r)=>s.localeCompare(r,void 0,{sensitivity:"base"}))}function _(e){const s=e.workspaceAgents?.byWorkspaceId?.[p]?.agentIds,r=s&&s.length>0?new Set(s.map(i=>String(i))):null,c=e.agentSessions?.agentIdsByWorkspace?.[p]??[],l=c.length>0?c.map(i=>e.agentSessions?.byAgentId?.[i]).filter(i=>!!i):Object.values(e.agentSessions?.byAgentId??{}).filter(i=>i.workspaceId===p);return r?l.filter(i=>r.has(String(i.id))):l}function D(e){return e.metadata?.specialist===te&&e.metadata?.chiefPromptVersion===se}function H(e){return Math.max(e.messages.length,e.messageCount??0)}function S(e){return{agentId:e.id,title:ee(e),isActive:e.isStreaming===!0||e.isProcessing===!0||e.isResponding===!0,messageCount:H(e),pinned:e.pinned===!0,retired:!!e.retiredAt}}function b(e){return _(e).filter(t=>!t.retiredAt)}function m(e,t){return k(t)-k(e)}const Oe=o.createSelector(e=>e.sidebarNav.panelItem),Pe=o.createSelector(e=>e.sidebarNav.onboardingActive),Re=o.createSelector(e=>e.sidebarNav.showCreateModal),_e=o.createSelector(e=>e.sidebarNav.createModalUsesHomeRepository),De=o.createSelector(e=>e.sidebarNav.createModalPrefillRequest),B=o.createSelector(e=>N.select(e)?.capabilities.workspaceLabels===1),He=o.createSelector((e,t)=>w.select(e,t)?.label??null),Be=o.createSelector(e=>de(M.select(e).map(t=>t.label))),pe=["id","label"],Ue=o.createSelector((e,t)=>B.select(e)&&E.select(e,t,pe)!==null),ue=o.createSelector(e=>N.select(e)?.capabilities.workspaceAutoArchiveOptOut===1),ge=o.createSelector(e=>(e.sidebarNav.autoArchiveIdleAfterDays??0)>0),xe=o.createSelector((e,t)=>w.select(e,t)?.autoArchiveDisabled===!0),fe=["id","autoArchiveDisabled"],Fe=o.createSelector((e,t)=>{if(!ue.select(e)||!ge.select(e))return!1;const s=w.select(e,t);return!s||s.isRemote===!0||s.environmentConfig?.type==="remote"?!1:E.select(e,t,fe)!==null}),Ge=o.createSelector(e=>e.sidebarNav.pinnedWorkspaceIds),Ke=o.createSelector(e=>B.select(e)?M.select(e).filter(t=>R(t.label)).map(t=>t.id):e.sidebarNav.pinnedWorkspaceIds),qe=o.createSelector((e,t)=>e.sidebarNav.multiSelectSelectedTabIdsByWorkspaceId[t]??["overview"]),je=o.createSelector((e,t)=>e.sidebarNav.noteOrderByWorkspaceId[t]??[]),Ve=o.createSelector((e,t)=>e.sidebarNav.collapsedNoteIdsByWorkspaceId[t]??[]),Ye=o.createSelector((e,t)=>e.sidebarNav.expandedNoteIdsByWorkspaceId?.[t]??[]),$e=o.createSelector(e=>e.sidebarNav.chiefActiveAgentId),ze=o.createSelector((e,t)=>{const s=e.agentSessions.byAgentId[t];if(s?.workspaceId!==p)return{hooks:0,monitors:0,subscriptions:0};const r=oe.select(e,p)==="ready"?re.select(e,p).filter(d=>d.agentId===t&&(d.state==="scheduled"||d.state==="running")).length:s.waitingOnHooks?.length??0,c=Y.select(e,p)==="ready"?$.select(e,p,t).filter(d=>d.state==="active").length:s.waitingOnPrMonitors?.length??0,l=O.select(e,p),i=l.status==="unsupported"?0:l.status==="ready"?l.monitors.filter(d=>d.agentId===t&&d.state==="active").length:s.waitingOnScriptMonitors?.length??0,h=s.isWaitingForOtherAgents===!1?0:s.waitingForAgentIds?.length??(ne.select(e,p,t).length||(s.isWaitingForOtherAgents?1:0)),g=ae.select(e,p,t).filter(d=>d.subscriberAgentId===t).length;return{hooks:r,monitors:c+i,subscriptions:h+g}}),Je=o.createSelector(e=>e.sidebarNav.statsOverlayOpen),he=o.createSelector(e=>b(e).sort((t,s)=>+(s.pinned===!0)-+(t.pinned===!0)||m(t,s)).map(S)),Se=o.createSelector(e=>_(e).filter(t=>!!t.retiredAt).sort(m).map(S)),Qe=o.createSelector(e=>[...he.select(e),...Se.select(e)]),Xe=o.createSelector(e=>{const t=b(e).filter(D).sort(m)[0];return t?S(t):null}),Ze=o.createSelector(e=>{const t=b(e).filter(s=>H(s)===0&&!s.lastMessageId&&D(s)).sort(m)[0];return t?S(t):null});export{Pe as A,Oe as B,se as C,L as D,Ke as E,Se as F,Ze as G,O as H,Re as I,Je as J,Ne as K,Me as L,Ce as M,We as N,xe as O,P,Ve as Q,Ye as R,He as S,Be as T,je as U,Le as V,le as W,te as a,p as b,Ae as c,X as d,Te as e,ye as f,ne as g,Qe as h,R as i,ze as j,re as k,oe as l,Fe as m,Ue as n,$e as o,he as p,De as q,be as r,ve as s,_e as t,Xe as u,ce as v,Ee as w,B as x,Ge as y,qe as z};
@@ -1 +1 @@
1
- import{b as a,aW as o}from"./BN2Xx7qY.js";var g=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{g};
1
+ import{b as a,aW as o}from"./C2gV5GaR.js";var g=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{g};
@@ -1 +1 @@
1
- import{t as Y,bo as a,bw as J,b as X,bp as _e,br as fe,bm as me}from"./D4MngzTk.js";import{bs as Z,bH as le,aD as d,ay as T,a7 as F,bf as re,W as b,bS as de,bn as $,bV as se,aA as n,c9 as y,aB as B,bo as we,a5 as j,bA as Q,bI as Ae,aG as ve,c5 as De,ca as ce,bl as qe,b_ as Ee,bO as Fe,c0 as Le}from"./CJxGDkBm.js";import{s as H}from"./C3DfjxaV.js";import{c as G}from"./o4jWsDx5.js";import{s as Re,b as Me,c as Ue}from"./DpqAXGKG.js";import{i as te}from"./BqUNG33_.js";import{g as We,e as pe}from"./DCtyzj03.js";import{aS as ee,a$ as Be,av as W,H as Ne,az as he,aQ as ze,f as Ge,a1 as He}from"./DJtAtlMe.js";import{c as Ke,g as ge,d as je,f as Qe,e as Ye,i as Je,h as Xe}from"./BosvHmXn.js";import{F as Ze,av as $e}from"./BddjjpyI.js";import{b as oe,e as ie,f as et}from"./DrzhapyO.js";import"./BJKM0aco.js";import{F as tt,O as rt,M as at}from"./Ce7GGwjY.js";import{b as be,a as nt}from"./C-ZYRRid.js";import{c as ot,u as lt,s as st}from"./DJfJ5NWH.js";import{u as it}from"./BpMs8swj.js";import"./DfUAlDfK.js";import{M as dt}from"./C8BKrcE1.js";var ut=B("<!> <!>",1);function xe(S,e){if(new.target)return Y({component:xe,...S});Z(e,!0);let m=a(e,"value",15),p=a(e,"onValueChange",7,ee),_=a(e,"name",7,""),c=a(e,"disabled",7,!1),g=a(e,"type",7),v=a(e,"open",15,!1),w=a(e,"onOpenChange",7,ee),C=a(e,"onOpenChangeComplete",7,ee),s=a(e,"loop",7,!1),f=a(e,"scrollAlignment",7,"nearest"),O=a(e,"required",7,!1),L=a(e,"items",23,()=>[]),i=a(e,"allowDeselect",7,!1),x=a(e,"autocomplete",7),k=a(e,"children",7);function U(){m()===void 0&&m(g()==="single"?"":[])}U(),Be.pre(()=>m(),()=>{U()});let A=se("");const R=Ke.create({type:g(),value:W(()=>m(),t=>{m(t),p()(t)}),disabled:W(()=>c()),required:W(()=>O()),open:W(()=>v(),t=>{v(t),w()(t)}),loop:W(()=>s()),scrollAlignment:W(()=>f()),name:W(()=>_()),isCombobox:!1,items:W(()=>L()),allowDeselect:W(()=>i()),inputValue:W(()=>d(A),t=>le(A,t,!0)),onOpenChangeComplete:W(()=>C())});var o={get value(){return m()},set value(t){m(t),n()},get onValueChange(){return p()},set onValueChange(t=ee){p(t),n()},get name(){return _()},set name(t=""){_(t),n()},get disabled(){return c()},set disabled(t=!1){c(t),n()},get type(){return g()},set type(t){g(t),n()},get open(){return v()},set open(t=!1){v(t),n()},get onOpenChange(){return w()},set onOpenChange(t=ee){w(t),n()},get onOpenChangeComplete(){return C()},set onOpenChangeComplete(t=ee){C(t),n()},get loop(){return s()},set loop(t=!1){s(t),n()},get scrollAlignment(){return f()},set scrollAlignment(t="nearest"){f(t),n()},get required(){return O()},set required(t=!1){O(t),n()},get items(){return L()},set items(t=[]){L(t),n()},get allowDeselect(){return i()},set allowDeselect(t=!1){i(t),n()},get autocomplete(){return x()},set autocomplete(t){x(t),n()},get children(){return k()},set children(t){k(t),n()},$set:J,$on:(t,h)=>X(e,t,h)},M=ut(),V=T(M);Ne(V,{children:(t,h)=>{var P=F(),E=T(P);H(E,()=>k()??re),b(t,P)},$$slots:{default:!0}});var l=de(V,2);{var r=t=>{var h=F(),P=T(h);{var E=D=>{ge(D,{get autocomplete(){return x()}})},q=D=>{var N=F(),K=T(N);We(K,16,()=>R.opts.value.current,z=>z,(z,ae)=>{ge(z,{get value(){return ae},get autocomplete(){return x()}})}),b(D,N)};te(P,D=>{R.opts.value.current.length===0?D(E):D(q,-1)})}b(t,h)},u=y(()=>Array.isArray(R.opts.value.current)),I=t=>{ge(t,{get autocomplete(){return x()},get value(){return R.opts.value.current},set value(h){R.opts.value.current=h}})};te(l,t=>{d(u)?t(r):t(I,-1)})}return b(S,M),$(o)}var ct=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","type"]),gt=B("<button><!></button>");function ye(S,e){const m=we();if(new.target)return Y({component:ye,...S});Z(e,!0);let p=a(e,"id",23,()=>he(m)),_=a(e,"ref",15,null),c=a(e,"child",7),g=a(e,"children",7),v=a(e,"type",7,"button"),w=_e(e,ct);const C=je.create({id:W(()=>p()),ref:W(()=>_(),i=>_(i))}),s=y(()=>ze(w,C.props,{type:v()}));var f={get id(){return p()},set id(i=he(m)){p(i),n()},get ref(){return _()},set ref(i=null){_(i),n()},get child(){return c()},set child(i){c(i),n()},get children(){return g()},set children(i){g(i),n()},get type(){return v()},set type(i="button"){v(i),n()},$set:J,$on:(i,x)=>X(e,i,x)},O=F(),L=T(O);return G(L,()=>tt,(i,x)=>{x(i,{get id(){return p()},get ref(){return C.opts.ref},children:(k,U)=>{var A=F(),R=T(A);{var o=V=>{var l=F(),r=T(l);H(r,c,()=>({props:d(s)})),b(V,l)},M=V=>{var l=gt();oe(l,()=>({...d(s)}));var r=j(l);H(r,()=>g()??re),Q(l),b(V,l)};te(R,V=>{c()?V(o):V(M,-1)})}b(k,A)},$$slots:{default:!0}})}),b(S,O),$(f)}var vt=B('<div data-slot="select-root" class="relative min-w-0 w-full"><!></div>');function Ce(S,e){const m=we();if(new.target)return Y({component:Ce,...S});Z(e,!0);const p=`${m}-trigger`;let _=se(p),c=a(e,"value",15,""),g=a(e,"open",15,!1),v=a(e,"items",23,()=>[]),w=a(e,"disabled",7,!1),C=a(e,"invalid",7,!1),s=a(e,"required",7,!1),f=a(e,"name",7),O=a(e,"loop",7,!0),L=a(e,"onchange",7),i=a(e,"onopenchange",7),x=a(e,"children",7),k=a(e,"staticPosition",7,!1);Re(()=>{g(!1),i()?.(!1)}),Ae("canonical-select",{get triggerId(){return d(_)},registerTriggerId(o){le(_,o??p,!0)},listboxId:`${m}-listbox`,get value(){return c()},get displayValue(){return v().find(o=>o.value===c())?.label??c()},get invalid(){return C()},get open(){return g()},get staticPosition(){return k()},set open(o){g(o)}});var U={get value(){return c()},set value(o=""){c(o),n()},get open(){return g()},set open(o=!1){g(o),n()},get items(){return v()},set items(o=[]){v(o),n()},get disabled(){return w()},set disabled(o=!1){w(o),n()},get invalid(){return C()},set invalid(o=!1){C(o),n()},get required(){return s()},set required(o=!1){s(o),n()},get name(){return f()},set name(o){f(o),n()},get loop(){return O()},set loop(o=!0){O(o),n()},get onchange(){return L()},set onchange(o){L(o),n()},get onopenchange(){return i()},set onopenchange(o){i(o),n()},get children(){return x()},set children(o){x(o),n()},get staticPosition(){return k()},set staticPosition(o=!1){k(o),n()},$set:J,$on:(o,M)=>X(e,o,M)},A=vt(),R=j(A);return G(R,()=>xe,(o,M)=>{M(o,{type:"single",get items(){return v()},get disabled(){return w()},get required(){return s()},get name(){return f()},get loop(){return O()},get onValueChange(){return L()},get onOpenChange(){return i()},get value(){return c()},set value(V){c(V)},get open(){return g()},set open(V){g(V)},children:(V,l)=>{var r=F(),u=T(r);H(u,()=>x()??re),b(V,r)},$$slots:{default:!0}})}),Q(A),b(S,A),$(U)}var ft=new Set(["$$slots","$$events","$$legacy","variant","class","children","child","onclick","id","ref"]),mt=B("<!> <!>",1);function Pe(S,e){if(new.target)return Y({component:Pe,...S});Z(e,!0);const m=(l,r)=>{let u=()=>(r?.()).props;const I=y(()=>R(u()));var t=F(),h=T(t);{var P=q=>{var D=F(),N=T(D);H(N,g,()=>({props:d(I)})),b(q,D)},E=q=>{Ge(q,fe(()=>d(I),{get variant(){return d(k)},get active(){return f.open},get class(){return d(U)},children:(D,N)=>{var K=mt(),z=T(K);H(z,()=>c()??re);var ae=de(z,2);{var ue=ne=>{Ze(ne,{get icon(){return $e},class:"size-3 shrink-0 text-muted-foreground transition-transform duration-spring-fast group-data-[state=open]:rotate-180 motion-reduce:transition-none"})};te(ae,ne=>{p()==="default"&&ne(ue)})}b(D,K)},$$slots:{default:!0}}))};te(h,q=>{g()?q(P):q(E,-1)})}b(l,t)};let p=a(e,"variant",7,"default"),_=a(e,"class",7,""),c=a(e,"children",7),g=a(e,"child",7),v=a(e,"onclick",7),w=a(e,"id",7),C=a(e,"ref",15,null),s=_e(e,ft);const f=ve("canonical-select");De(()=>f.registerTriggerId(w())),ce(()=>f.registerTriggerId(w()));let O=se(!1);ce(()=>{const l=f.triggerId;le(O,Array.from(document.querySelectorAll("label[for]")).some(r=>r.htmlFor===l),!0)});const L=y(()=>!s["aria-label"]&&!s["aria-labelledby"]&&!d(O));let i=se(void 0);ce(()=>{const l=C();if(!d(L)||!l){le(i,void 0);return}const r=()=>{le(i,l.textContent?.trim()||void 0,!0)};r();const u=new MutationObserver(r);return u.observe(l,{childList:!0,characterData:!0,subtree:!0}),()=>u.disconnect()});const x={default:"border border-border bg-transparent shadow-none hover:border-input hover:bg-hover px-3",underline:"border-0 bg-transparent underline underline-offset-3 decoration-muted-foreground/30 px-3",ghost:"border-0 bg-transparent shadow-none hover:border-transparent hover:bg-hover px-3",secondary:"border border-border bg-secondary text-secondary-foreground shadow-(--elevation-raised) hover:border-input hover:bg-hover px-3"},k=y(()=>p()==="default"?"outline":p()==="secondary"?"secondary":"ghost"),U=y(()=>ie("group type-caption text-foreground flex h-(--control-height-medium) w-full min-w-0 cursor-pointer items-center justify-between gap-2 rounded-(--radius-medium) font-medium transition-[border-color,background-color,box-shadow] duration-spring-fast aria-invalid:border-danger aria-invalid:ring-1 aria-invalid:ring-danger/25 disabled:cursor-not-allowed disabled:bg-transparent disabled:opacity-50 disabled:hover:border-border disabled:hover:bg-transparent motion-reduce:transition-none",x[p()],_()));function A(l){l.detail===0&&!f.open&&(f.open=!0),v()?.(l)}function R(l){const{"aria-activedescendant":r,"aria-label":u,...I}=l;return{...I,role:"combobox","aria-label":typeof u=="string"?u:d(i),"aria-activedescendant":f.open&&typeof r=="string"?r:void 0}}var o={get variant(){return p()},set variant(l="default"){p(l),n()},get class(){return _()},set class(l=""){_(l),n()},get children(){return c()},set children(l){c(l),n()},get child(){return g()},set child(l){g(l),n()},get onclick(){return v()},set onclick(l){v(l),n()},get id(){return w()},set id(l){w(l),n()},get ref(){return C()},set ref(l=null){C(l),n()},$set:J,$on:(l,r)=>X(e,l,r)},M=F(),V=T(M);{let l=y(()=>f.open?f.listboxId:void 0),r=y(()=>f.invalid||void 0);G(V,()=>ye,(u,I)=>{I(u,fe(()=>s,{get id(){return f.triggerId},get"aria-controls"(){return d(l)},get class(){return d(U)},get"aria-invalid"(){return d(r)},onclick:A,get child(){return m},get ref(){return C()},set ref(t){C(t)}}))})}return b(S,M),$(o)}var pt=B("<span> </span>");function Se(S,e){if(new.target)return Y({component:Se,...S});Z(e,!0);let m=a(e,"placeholder",23,()=>me.ui_select_value_placeholder());const p=ve("canonical-select");var _={get placeholder(){return m()},set placeholder(v=me.ui_select_value_placeholder()){m(v),n()},$set:J,$on:(v,w)=>X(e,v,w)},c=pt(),g=qe(c,!0);return Ee(()=>{et(c,1,`min-w-0 flex-1 truncate text-left ${p.value?"text-foreground":"text-muted-foreground"}`),Fe(g,p.displayValue||m())}),b(S,c),$(_)}var ht=B("<div><!> <!></div>"),bt=B("<div><!></div>"),_t=B("<div><div><!></div></div>");function Ie(S,e){if(new.target)return Y({component:Ie,...S});Z(e,!0);const m=r=>{var u=F(),I=T(u);{const t=(h,P)=>{let E=()=>(P?.()).props;var q=ht();oe(q,()=>({...E(),id:k.listboxId,role:"listbox","aria-labelledby":k.triggerId,tabindex:"-1"}));var D=j(q);at(D,{});var N=de(D,2);H(N,()=>O()??re),Q(q),b(h,q)};G(I,()=>Je,(h,P)=>{P(h,{get class(){return`relative min-h-0 flex-1 overflow-y-auto p-1.5 ${C()??""}`},child:t,$$slots:{child:!0}})})}b(r,u)},p=(r,u)=>{let I=()=>(u?.()).props;const t=y(()=>A(I()));var h=bt();oe(h,()=>({...d(t),...v()?{id:v()}:{}}));var P=j(h);m(P),Q(h),pe(h,E=>g?.(E)),b(r,h)},_=(r,u)=>{let I=()=>(u?.()).props,t=()=>(u?.()).wrapperProps;const h=y(()=>A(I()));var P=_t();oe(P,()=>({...t(),...v()?{id:v()}:{}}));var E=j(P);oe(E,()=>({...d(h)}));var q=j(E);m(q),Q(E),pe(E,D=>g?.(D)),Q(P),b(r,P)},c=Me(),g=Ue();let v=a(e,"wrapperId",7),w=a(e,"class",7,""),C=a(e,"wrapperClass",7,""),s=a(e,"dropUp",7,!1),f=a(e,"portal",7),O=a(e,"children",7);const L=y(()=>s()||f()===!0),i=it(),x=ot(lt()+2);st(x);const k=ve("canonical-select");async function U(){const r=document.getElementById(k.triggerId);await Le(),!k.open&&r?.isConnected&&r.focus({preventScroll:!0})}function A(r){const{role:u,tabindex:I,...t}=r;return t}var R={get wrapperId(){return v()},set wrapperId(r){v(r),n()},get class(){return w()},set class(r=""){w(r),n()},get wrapperClass(){return C()},set wrapperClass(r=""){C(r),n()},get dropUp(){return s()},set dropUp(r=!1){s(r),n()},get portal(){return f()},set portal(r){f(r),n()},get children(){return O()},set children(r){O(r),n()},$set:J,$on:(r,u)=>X(e,r,u)},o=F(),M=T(o);{var V=r=>{var u=F(),I=T(u);{let t=y(()=>ie(be(),"w-full max-h-60",w()));G(I,()=>Qe,(h,P)=>{P(h,{preventScroll:!1,onEscapeKeydown:U,"data-slot":"select-content","data-static-position":!0,get"data-surface-level"(){return x},get class(){return d(t)},style:"max-width: calc(100vw - var(--space-4));",get child(){return p}})})}b(r,u)},l=r=>{const u=y(()=>f()===void 0&&!s()?i():void 0);var I=F(),t=T(I);{let h=y(()=>!d(L)&&!d(u)),P=y(()=>d(u)??c?.target());G(t,()=>He,(E,q)=>{q(E,{get disabled(){return d(h)},get to(){return d(P)},children:(D,N)=>{var K=F(),z=T(K);{let ae=y(()=>d(u)?"absolute":"fixed"),ue=y(()=>d(u)!==void 0),ne=y(()=>s()?"top":"bottom"),ke=y(()=>ie(be(),"w-(--bits-select-anchor-width) max-h-60",w()));G(z,()=>Ye,(Ve,Te)=>{Te(Ve,{get strategy(){return d(ae)},get hideWhenDetached(){return d(ue)},onEscapeKeydown:U,"data-slot":"select-content",get"data-surface-level"(){return x},get side(){return d(ne)},sideOffset:4,get collisionPadding(){return rt},get class(){return d(ke)},style:"max-width: calc(100vw - var(--space-4));",get child(){return _}})})}b(D,K)},$$slots:{default:!0}})})}b(r,I)};te(M,r=>{k.staticPosition?r(V):r(l,-1)})}return b(S,o),$(R)}var wt=B('<div class="min-w-0 flex-1 truncate"><!></div> <!>',1);function Oe(S,e){if(new.target)return Y({component:Oe,...S});Z(e,!0);let m=a(e,"value",7),p=a(e,"label",7),_=a(e,"disabled",7,!1),c=a(e,"children",7),g=a(e,"class",7,"");var v={get value(){return m()},set value(s){m(s),n()},get label(){return p()},set label(s){p(s),n()},get disabled(){return _()},set disabled(s=!1){_(s),n()},get children(){return c()},set children(s){c(s),n()},get class(){return g()},set class(s=""){g(s),n()},$set:J,$on:(s,f)=>X(e,s,f)},w=F(),C=T(w);{const s=(i,x)=>{let k=()=>(x?.()).selected;var U=wt(),A=T(U),R=j(A);H(R,()=>c()??re),Q(A);var o=de(A,2);{let M=y(()=>k()?"checked":"empty");dt(o,{get state(){return d(M)},"data-slot":"select-item-check"})}b(i,U)};let f=y(()=>p()??m()),O=y(()=>_()||void 0),L=y(()=>ie(nt(),g()));G(C,()=>Xe,(i,x)=>{x(i,{get value(){return m()},get label(){return d(f)},get disabled(){return _()},get"aria-disabled"(){return d(O)},"data-menu-item":!0,get class(){return d(L)},children:s,$$slots:{default:!0}})})}return b(S,w),$(v)}const Ut={Root:Ce,Trigger:Pe,Value:Se,Content:Ie,Item:Oe};export{Ut as S};
1
+ import{t as Y,bo as a,bw as J,b as X,bp as _e,br as fe,bm as me}from"./NtxbXOxK.js";import{bs as Z,bH as le,aD as d,ay as T,a7 as F,bf as re,W as b,bS as de,bn as $,bV as se,aA as n,c9 as y,aB as B,bo as we,a5 as j,bA as Q,bI as Ae,aG as ve,c5 as De,ca as ce,bl as qe,b_ as Ee,bO as Fe,c0 as Le}from"./CJxGDkBm.js";import{s as H}from"./BpozSsrs.js";import{c as G}from"./CDAGrCMS.js";import{s as Re,b as Me,c as Ue}from"./DpqAXGKG.js";import{i as te}from"./DrPmlbuk.js";import{g as We,e as pe}from"./jSlXIbXa.js";import{aS as ee,a$ as Be,av as W,H as Ne,az as he,aQ as ze,f as Ge,a1 as He}from"./Bst2sLeL.js";import{c as Ke,g as ge,d as je,f as Qe,e as Ye,i as Je,h as Xe}from"./DT7EyIEo.js";import{F as Ze,av as $e}from"./S6AtfZPI.js";import{b as oe,e as ie,f as et}from"./puisNM3r.js";import"./DcsVySxU.js";import{F as tt,O as rt,M as at}from"./CsZJMlJ8.js";import{b as be,a as nt}from"./BJtZTy_N.js";import{c as ot,u as lt,s as st}from"./DJfJ5NWH.js";import{u as it}from"./BpMs8swj.js";import"./Ci0DCXei.js";import{M as dt}from"./B4R_0jQo.js";var ut=B("<!> <!>",1);function xe(S,e){if(new.target)return Y({component:xe,...S});Z(e,!0);let m=a(e,"value",15),p=a(e,"onValueChange",7,ee),_=a(e,"name",7,""),c=a(e,"disabled",7,!1),g=a(e,"type",7),v=a(e,"open",15,!1),w=a(e,"onOpenChange",7,ee),C=a(e,"onOpenChangeComplete",7,ee),s=a(e,"loop",7,!1),f=a(e,"scrollAlignment",7,"nearest"),O=a(e,"required",7,!1),L=a(e,"items",23,()=>[]),i=a(e,"allowDeselect",7,!1),x=a(e,"autocomplete",7),k=a(e,"children",7);function U(){m()===void 0&&m(g()==="single"?"":[])}U(),Be.pre(()=>m(),()=>{U()});let A=se("");const R=Ke.create({type:g(),value:W(()=>m(),t=>{m(t),p()(t)}),disabled:W(()=>c()),required:W(()=>O()),open:W(()=>v(),t=>{v(t),w()(t)}),loop:W(()=>s()),scrollAlignment:W(()=>f()),name:W(()=>_()),isCombobox:!1,items:W(()=>L()),allowDeselect:W(()=>i()),inputValue:W(()=>d(A),t=>le(A,t,!0)),onOpenChangeComplete:W(()=>C())});var o={get value(){return m()},set value(t){m(t),n()},get onValueChange(){return p()},set onValueChange(t=ee){p(t),n()},get name(){return _()},set name(t=""){_(t),n()},get disabled(){return c()},set disabled(t=!1){c(t),n()},get type(){return g()},set type(t){g(t),n()},get open(){return v()},set open(t=!1){v(t),n()},get onOpenChange(){return w()},set onOpenChange(t=ee){w(t),n()},get onOpenChangeComplete(){return C()},set onOpenChangeComplete(t=ee){C(t),n()},get loop(){return s()},set loop(t=!1){s(t),n()},get scrollAlignment(){return f()},set scrollAlignment(t="nearest"){f(t),n()},get required(){return O()},set required(t=!1){O(t),n()},get items(){return L()},set items(t=[]){L(t),n()},get allowDeselect(){return i()},set allowDeselect(t=!1){i(t),n()},get autocomplete(){return x()},set autocomplete(t){x(t),n()},get children(){return k()},set children(t){k(t),n()},$set:J,$on:(t,h)=>X(e,t,h)},M=ut(),V=T(M);Ne(V,{children:(t,h)=>{var P=F(),E=T(P);H(E,()=>k()??re),b(t,P)},$$slots:{default:!0}});var l=de(V,2);{var r=t=>{var h=F(),P=T(h);{var E=D=>{ge(D,{get autocomplete(){return x()}})},q=D=>{var N=F(),K=T(N);We(K,16,()=>R.opts.value.current,z=>z,(z,ae)=>{ge(z,{get value(){return ae},get autocomplete(){return x()}})}),b(D,N)};te(P,D=>{R.opts.value.current.length===0?D(E):D(q,-1)})}b(t,h)},u=y(()=>Array.isArray(R.opts.value.current)),I=t=>{ge(t,{get autocomplete(){return x()},get value(){return R.opts.value.current},set value(h){R.opts.value.current=h}})};te(l,t=>{d(u)?t(r):t(I,-1)})}return b(S,M),$(o)}var ct=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","type"]),gt=B("<button><!></button>");function ye(S,e){const m=we();if(new.target)return Y({component:ye,...S});Z(e,!0);let p=a(e,"id",23,()=>he(m)),_=a(e,"ref",15,null),c=a(e,"child",7),g=a(e,"children",7),v=a(e,"type",7,"button"),w=_e(e,ct);const C=je.create({id:W(()=>p()),ref:W(()=>_(),i=>_(i))}),s=y(()=>ze(w,C.props,{type:v()}));var f={get id(){return p()},set id(i=he(m)){p(i),n()},get ref(){return _()},set ref(i=null){_(i),n()},get child(){return c()},set child(i){c(i),n()},get children(){return g()},set children(i){g(i),n()},get type(){return v()},set type(i="button"){v(i),n()},$set:J,$on:(i,x)=>X(e,i,x)},O=F(),L=T(O);return G(L,()=>tt,(i,x)=>{x(i,{get id(){return p()},get ref(){return C.opts.ref},children:(k,U)=>{var A=F(),R=T(A);{var o=V=>{var l=F(),r=T(l);H(r,c,()=>({props:d(s)})),b(V,l)},M=V=>{var l=gt();oe(l,()=>({...d(s)}));var r=j(l);H(r,()=>g()??re),Q(l),b(V,l)};te(R,V=>{c()?V(o):V(M,-1)})}b(k,A)},$$slots:{default:!0}})}),b(S,O),$(f)}var vt=B('<div data-slot="select-root" class="relative min-w-0 w-full"><!></div>');function Ce(S,e){const m=we();if(new.target)return Y({component:Ce,...S});Z(e,!0);const p=`${m}-trigger`;let _=se(p),c=a(e,"value",15,""),g=a(e,"open",15,!1),v=a(e,"items",23,()=>[]),w=a(e,"disabled",7,!1),C=a(e,"invalid",7,!1),s=a(e,"required",7,!1),f=a(e,"name",7),O=a(e,"loop",7,!0),L=a(e,"onchange",7),i=a(e,"onopenchange",7),x=a(e,"children",7),k=a(e,"staticPosition",7,!1);Re(()=>{g(!1),i()?.(!1)}),Ae("canonical-select",{get triggerId(){return d(_)},registerTriggerId(o){le(_,o??p,!0)},listboxId:`${m}-listbox`,get value(){return c()},get displayValue(){return v().find(o=>o.value===c())?.label??c()},get invalid(){return C()},get open(){return g()},get staticPosition(){return k()},set open(o){g(o)}});var U={get value(){return c()},set value(o=""){c(o),n()},get open(){return g()},set open(o=!1){g(o),n()},get items(){return v()},set items(o=[]){v(o),n()},get disabled(){return w()},set disabled(o=!1){w(o),n()},get invalid(){return C()},set invalid(o=!1){C(o),n()},get required(){return s()},set required(o=!1){s(o),n()},get name(){return f()},set name(o){f(o),n()},get loop(){return O()},set loop(o=!0){O(o),n()},get onchange(){return L()},set onchange(o){L(o),n()},get onopenchange(){return i()},set onopenchange(o){i(o),n()},get children(){return x()},set children(o){x(o),n()},get staticPosition(){return k()},set staticPosition(o=!1){k(o),n()},$set:J,$on:(o,M)=>X(e,o,M)},A=vt(),R=j(A);return G(R,()=>xe,(o,M)=>{M(o,{type:"single",get items(){return v()},get disabled(){return w()},get required(){return s()},get name(){return f()},get loop(){return O()},get onValueChange(){return L()},get onOpenChange(){return i()},get value(){return c()},set value(V){c(V)},get open(){return g()},set open(V){g(V)},children:(V,l)=>{var r=F(),u=T(r);H(u,()=>x()??re),b(V,r)},$$slots:{default:!0}})}),Q(A),b(S,A),$(U)}var ft=new Set(["$$slots","$$events","$$legacy","variant","class","children","child","onclick","id","ref"]),mt=B("<!> <!>",1);function Pe(S,e){if(new.target)return Y({component:Pe,...S});Z(e,!0);const m=(l,r)=>{let u=()=>(r?.()).props;const I=y(()=>R(u()));var t=F(),h=T(t);{var P=q=>{var D=F(),N=T(D);H(N,g,()=>({props:d(I)})),b(q,D)},E=q=>{Ge(q,fe(()=>d(I),{get variant(){return d(k)},get active(){return f.open},get class(){return d(U)},children:(D,N)=>{var K=mt(),z=T(K);H(z,()=>c()??re);var ae=de(z,2);{var ue=ne=>{Ze(ne,{get icon(){return $e},class:"size-3 shrink-0 text-muted-foreground transition-transform duration-spring-fast group-data-[state=open]:rotate-180 motion-reduce:transition-none"})};te(ae,ne=>{p()==="default"&&ne(ue)})}b(D,K)},$$slots:{default:!0}}))};te(h,q=>{g()?q(P):q(E,-1)})}b(l,t)};let p=a(e,"variant",7,"default"),_=a(e,"class",7,""),c=a(e,"children",7),g=a(e,"child",7),v=a(e,"onclick",7),w=a(e,"id",7),C=a(e,"ref",15,null),s=_e(e,ft);const f=ve("canonical-select");De(()=>f.registerTriggerId(w())),ce(()=>f.registerTriggerId(w()));let O=se(!1);ce(()=>{const l=f.triggerId;le(O,Array.from(document.querySelectorAll("label[for]")).some(r=>r.htmlFor===l),!0)});const L=y(()=>!s["aria-label"]&&!s["aria-labelledby"]&&!d(O));let i=se(void 0);ce(()=>{const l=C();if(!d(L)||!l){le(i,void 0);return}const r=()=>{le(i,l.textContent?.trim()||void 0,!0)};r();const u=new MutationObserver(r);return u.observe(l,{childList:!0,characterData:!0,subtree:!0}),()=>u.disconnect()});const x={default:"border border-border bg-transparent shadow-none hover:border-input hover:bg-hover px-3",underline:"border-0 bg-transparent underline underline-offset-3 decoration-muted-foreground/30 px-3",ghost:"border-0 bg-transparent shadow-none hover:border-transparent hover:bg-hover px-3",secondary:"border border-border bg-secondary text-secondary-foreground shadow-(--elevation-raised) hover:border-input hover:bg-hover px-3"},k=y(()=>p()==="default"?"outline":p()==="secondary"?"secondary":"ghost"),U=y(()=>ie("group type-caption text-foreground flex h-(--control-height-medium) w-full min-w-0 cursor-pointer items-center justify-between gap-2 rounded-(--radius-medium) font-medium transition-[border-color,background-color,box-shadow] duration-spring-fast aria-invalid:border-danger aria-invalid:ring-1 aria-invalid:ring-danger/25 disabled:cursor-not-allowed disabled:bg-transparent disabled:opacity-50 disabled:hover:border-border disabled:hover:bg-transparent motion-reduce:transition-none",x[p()],_()));function A(l){l.detail===0&&!f.open&&(f.open=!0),v()?.(l)}function R(l){const{"aria-activedescendant":r,"aria-label":u,...I}=l;return{...I,role:"combobox","aria-label":typeof u=="string"?u:d(i),"aria-activedescendant":f.open&&typeof r=="string"?r:void 0}}var o={get variant(){return p()},set variant(l="default"){p(l),n()},get class(){return _()},set class(l=""){_(l),n()},get children(){return c()},set children(l){c(l),n()},get child(){return g()},set child(l){g(l),n()},get onclick(){return v()},set onclick(l){v(l),n()},get id(){return w()},set id(l){w(l),n()},get ref(){return C()},set ref(l=null){C(l),n()},$set:J,$on:(l,r)=>X(e,l,r)},M=F(),V=T(M);{let l=y(()=>f.open?f.listboxId:void 0),r=y(()=>f.invalid||void 0);G(V,()=>ye,(u,I)=>{I(u,fe(()=>s,{get id(){return f.triggerId},get"aria-controls"(){return d(l)},get class(){return d(U)},get"aria-invalid"(){return d(r)},onclick:A,get child(){return m},get ref(){return C()},set ref(t){C(t)}}))})}return b(S,M),$(o)}var pt=B("<span> </span>");function Se(S,e){if(new.target)return Y({component:Se,...S});Z(e,!0);let m=a(e,"placeholder",23,()=>me.ui_select_value_placeholder());const p=ve("canonical-select");var _={get placeholder(){return m()},set placeholder(v=me.ui_select_value_placeholder()){m(v),n()},$set:J,$on:(v,w)=>X(e,v,w)},c=pt(),g=qe(c,!0);return Ee(()=>{et(c,1,`min-w-0 flex-1 truncate text-left ${p.value?"text-foreground":"text-muted-foreground"}`),Fe(g,p.displayValue||m())}),b(S,c),$(_)}var ht=B("<div><!> <!></div>"),bt=B("<div><!></div>"),_t=B("<div><div><!></div></div>");function Ie(S,e){if(new.target)return Y({component:Ie,...S});Z(e,!0);const m=r=>{var u=F(),I=T(u);{const t=(h,P)=>{let E=()=>(P?.()).props;var q=ht();oe(q,()=>({...E(),id:k.listboxId,role:"listbox","aria-labelledby":k.triggerId,tabindex:"-1"}));var D=j(q);at(D,{});var N=de(D,2);H(N,()=>O()??re),Q(q),b(h,q)};G(I,()=>Je,(h,P)=>{P(h,{get class(){return`relative min-h-0 flex-1 overflow-y-auto p-1.5 ${C()??""}`},child:t,$$slots:{child:!0}})})}b(r,u)},p=(r,u)=>{let I=()=>(u?.()).props;const t=y(()=>A(I()));var h=bt();oe(h,()=>({...d(t),...v()?{id:v()}:{}}));var P=j(h);m(P),Q(h),pe(h,E=>g?.(E)),b(r,h)},_=(r,u)=>{let I=()=>(u?.()).props,t=()=>(u?.()).wrapperProps;const h=y(()=>A(I()));var P=_t();oe(P,()=>({...t(),...v()?{id:v()}:{}}));var E=j(P);oe(E,()=>({...d(h)}));var q=j(E);m(q),Q(E),pe(E,D=>g?.(D)),Q(P),b(r,P)},c=Me(),g=Ue();let v=a(e,"wrapperId",7),w=a(e,"class",7,""),C=a(e,"wrapperClass",7,""),s=a(e,"dropUp",7,!1),f=a(e,"portal",7),O=a(e,"children",7);const L=y(()=>s()||f()===!0),i=it(),x=ot(lt()+2);st(x);const k=ve("canonical-select");async function U(){const r=document.getElementById(k.triggerId);await Le(),!k.open&&r?.isConnected&&r.focus({preventScroll:!0})}function A(r){const{role:u,tabindex:I,...t}=r;return t}var R={get wrapperId(){return v()},set wrapperId(r){v(r),n()},get class(){return w()},set class(r=""){w(r),n()},get wrapperClass(){return C()},set wrapperClass(r=""){C(r),n()},get dropUp(){return s()},set dropUp(r=!1){s(r),n()},get portal(){return f()},set portal(r){f(r),n()},get children(){return O()},set children(r){O(r),n()},$set:J,$on:(r,u)=>X(e,r,u)},o=F(),M=T(o);{var V=r=>{var u=F(),I=T(u);{let t=y(()=>ie(be(),"w-full max-h-60",w()));G(I,()=>Qe,(h,P)=>{P(h,{preventScroll:!1,onEscapeKeydown:U,"data-slot":"select-content","data-static-position":!0,get"data-surface-level"(){return x},get class(){return d(t)},style:"max-width: calc(100vw - var(--space-4));",get child(){return p}})})}b(r,u)},l=r=>{const u=y(()=>f()===void 0&&!s()?i():void 0);var I=F(),t=T(I);{let h=y(()=>!d(L)&&!d(u)),P=y(()=>d(u)??c?.target());G(t,()=>He,(E,q)=>{q(E,{get disabled(){return d(h)},get to(){return d(P)},children:(D,N)=>{var K=F(),z=T(K);{let ae=y(()=>d(u)?"absolute":"fixed"),ue=y(()=>d(u)!==void 0),ne=y(()=>s()?"top":"bottom"),ke=y(()=>ie(be(),"w-(--bits-select-anchor-width) max-h-60",w()));G(z,()=>Ye,(Ve,Te)=>{Te(Ve,{get strategy(){return d(ae)},get hideWhenDetached(){return d(ue)},onEscapeKeydown:U,"data-slot":"select-content",get"data-surface-level"(){return x},get side(){return d(ne)},sideOffset:4,get collisionPadding(){return rt},get class(){return d(ke)},style:"max-width: calc(100vw - var(--space-4));",get child(){return _}})})}b(D,K)},$$slots:{default:!0}})})}b(r,I)};te(M,r=>{k.staticPosition?r(V):r(l,-1)})}return b(S,o),$(R)}var wt=B('<div class="min-w-0 flex-1 truncate"><!></div> <!>',1);function Oe(S,e){if(new.target)return Y({component:Oe,...S});Z(e,!0);let m=a(e,"value",7),p=a(e,"label",7),_=a(e,"disabled",7,!1),c=a(e,"children",7),g=a(e,"class",7,"");var v={get value(){return m()},set value(s){m(s),n()},get label(){return p()},set label(s){p(s),n()},get disabled(){return _()},set disabled(s=!1){_(s),n()},get children(){return c()},set children(s){c(s),n()},get class(){return g()},set class(s=""){g(s),n()},$set:J,$on:(s,f)=>X(e,s,f)},w=F(),C=T(w);{const s=(i,x)=>{let k=()=>(x?.()).selected;var U=wt(),A=T(U),R=j(A);H(R,()=>c()??re),Q(A);var o=de(A,2);{let M=y(()=>k()?"checked":"empty");dt(o,{get state(){return d(M)},"data-slot":"select-item-check"})}b(i,U)};let f=y(()=>p()??m()),O=y(()=>_()||void 0),L=y(()=>ie(nt(),g()));G(C,()=>Xe,(i,x)=>{x(i,{get value(){return m()},get label(){return d(f)},get disabled(){return _()},get"aria-disabled"(){return d(O)},"data-menu-item":!0,get class(){return d(L)},children:s,$$slots:{default:!0}})})}return b(S,w),$(v)}const Ut={Root:Ce,Trigger:Pe,Value:Se,Content:Ie,Item:Oe};export{Ut as S};
@@ -1 +1 @@
1
- import{d as s}from"./GLifdN8w.js";import{a as t}from"./BdWqymET.js";import{cG as i}from"./lJ2hrkPe.js";import{IS as a}from"./BwCXlNwV.js";import{setLinkActionMenuLinkedWorkspaces as n}from"./B3bYRRle.js";const c=new t("LinkActionMenuLinkedWorkspaces");async function u(r,e){if(i.select(a.state)?.capabilities.prWorkspaceLookup===1)try{const o=await s.workspaces.findByPullRequest(e);n(r,o)}catch(o){c.debug("PR workspace lookup failed",{url:e,error:o})}}export{u as loadLinkActionMenuLinkedWorkspaces};
1
+ import{d as s}from"./BFPmZe29.js";import{a as t}from"./BdWqymET.js";import{cG as i}from"./Bd92b52s.js";import{IS as a}from"./DUUOaZUX.js";import{setLinkActionMenuLinkedWorkspaces as n}from"./B3bYRRle.js";const c=new t("LinkActionMenuLinkedWorkspaces");async function u(r,e){if(i.select(a.state)?.capabilities.prWorkspaceLookup===1)try{const o=await s.workspaces.findByPullRequest(e);n(r,o)}catch(o){c.debug("PR workspace lookup failed",{url:e,error:o})}}export{u as loadLinkActionMenuLinkedWorkspaces};
@@ -1 +1 @@
1
- import{aR as Q,e as ke,aK as oe,bM as le,bL as ie,ad as Ie,a0 as Ce,a2 as Te,H as Ae,aQ as Me,aJ as Pe,bs as pe,cd as $e,c5 as ae,ca as me,bV as O,br as Fe,cb as He,aD as r,bH as y,a5 as L,a7 as Z,ay as ee,W as w,bA as D,bS as V,b_ as N,bn as _e,c9 as G,aA as A,aB as B,bl as U,be as de,b$ as ce,bO as R}from"./CJxGDkBm.js";import{t as ge,bo as M,bw as be,bs as X,bq as Ee,b as ye,bm as z}from"./D4MngzTk.js";import{i as re}from"./BqUNG33_.js";import{c as ue}from"./o4jWsDx5.js";import{s as Le}from"./DrzhapyO.js";import{t as Y}from"./BR6nXvi2.js";import{f as fe}from"./DJtAtlMe.js";import"./BJKM0aco.js";import{k as De}from"./Cl9D9QD8.js";import{s as We}from"./C3DfjxaV.js";import{IS as ve,tB as Se,p0 as Re}from"./BwCXlNwV.js";import{s as ze,W as Ne}from"./CFYbMOQh.js";import{i as Oe,n as Be,d as je}from"./Bxt1GZdu.js";import{t as qe,s as Ve,l as Ge,u as Je}from"./C9k6syqr.js";function yt(l,n){let e=null,u=Q;var v;if(Q){e=Me;for(var s=Pe(document.head);s!==null&&(s.nodeType!==ke||s.data!==l);)s=oe(s);if(s===null)le(!1);else{var p=oe(s);s.remove(),ie(p)}}Q||(v=document.head.appendChild(Ie()));try{Ce(()=>{var i=Te(()=>n(v));i.f|=Ae,Q||(i.nodes===null?i.nodes={start:v,end:v,a:null,t:null}:i.nodes.end=v)})}finally{u&&(le(!0),ie(e))}}const we=3e4,Ke=3;function J(l){return l.type==="browser"&&typeof l.ownerAgentId=="string"&&l.ownerAgentId.length>0}function wt(l,n,e,u,v){return l?Xe(new Map,n,e,u,v):new Map}const Qe={ttlMs:we,maxInactiveTabs:Ke};function Ue(l={}){return{...Qe,...l}}function ht(l,n){if(l.size!==n.size)return!1;for(const[e,u]of l)if(n.get(e)!==u)return!1;return!0}function Xe(l,n,e,u,v){const{ttlMs:s,maxInactiveTabs:p}=Ue(v),i=new Set(n.map(a=>a.id)),d=new Set(n.filter(a=>a.type==="browser").map(a=>a.id)),m=new Set(n.filter(J).map(a=>a.id)),c=new Map;for(const[a,k]of l)i.has(a)&&c.set(a,k);e&&i.has(e)&&c.set(e,u);for(const a of m)c.has(a)||c.set(a,u);for(const[a,k]of c)a!==e&&!d.has(a)&&u-k>=s&&c.delete(a);const g=Array.from(c.entries()).filter(([a])=>a!==e&&!d.has(a)).sort(([,a],[,k])=>a-k);for(;g.length>p;){const a=g.shift();a&&c.delete(a[0])}return c}function xt(l,n,e,u=we,v=[]){const s=new Set(v.filter(i=>i.type==="browser").map(i=>i.id));let p=null;for(const[i,d]of l){if(i===n||s.has(i))continue;const m=Math.max(0,u-(e-d));p=p===null?m:Math.min(p,m)}return p}var Ye=B('<div class="absolute inset-0 z-10 overflow-hidden bg-background"><!></div>'),Ze=B('<div class="relative flex h-full min-h-0 w-full flex-col" data-workspace-home-panel-gate=""><div class="flex min-h-0 w-full flex-1 flex-col"><!></div> <!></div>');function he(l,n){if(new.target)return ge({component:he,...l});pe(n,!0);const e=()=>X(a,"$view$",p),u=()=>X(K,"$loaded$",p),v=()=>X(k,"$canMove$",p),s=()=>X(W,"$waiting$",p),[p,i]=Ee();let d=M(n,"workspaceId",7),m=M(n,"children",7),c=M(n,"clock",23,()=>Date.now);const g=$e(ae(()=>d()));me(()=>{g.set(d())});const a=qe(g),k=Ve(g),W=Ge(g),K=Je(g),S=G(e);let P=O(Fe(Oe)),j=O(!1);ze({markContentLoaded:()=>{y(j,!0)}}),He(()=>{const o={workspaceId:d(),loaded:u(),unavailable:r(S)?.unavailable===!0,contentLoaded:r(j),now:c()()},f=Be(ae(()=>r(P)),o);f.generation!==ae(()=>r(P)).generation&&y(j,!1),y(P,f,!0)});var te={get workspaceId(){return d()},set workspaceId(o){d(o),A()},get children(){return m()},set children(o){m(o),A()},get clock(){return c()},set clock(o=Date.now){c(o),A()},$set:be,$on:(o,f)=>ye(n,o,f)},q=Ze(),t=L(q),h=L(t);De(h,()=>r(P).generation,o=>{var f=Z(),I=ee(f);We(I,m),w(o,f)}),D(t);var $=V(t,2);{var C=o=>{var f=Ye(),I=L(f);Ne(I,{get view(){return r(S)},get canMove(){return v()},get waiting(){return s()},onWait:()=>ve.dispatch(Re(d())),onMove:()=>ve.dispatch(Se(d()))}),D(f),w(o,f)};re($,o=>{r(S)?.unavailable&&o(C)})}D(q),N(()=>t.inert=r(S)?.unavailable?!0:void 0),w(l,q);var F=_e(te);return i(),F}var et=B('<div class="flex h-full flex-col items-center justify-center gap-3 text-subtle"><p> </p> <!></div>'),tt=B('<div class="flex h-full w-full items-center justify-center" role="status"><div class="size-5 animate-pulse rounded-full bg-muted motion-reduce:animate-none"></div></div>'),at=B('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><div class="text-center"><p class="text-lg font-medium text-foreground"> </p> <p class="text-sm"> </p> <p class="text-xs mt-4 text-subtle"> </p> <!></div></div>'),rt=B('<div class="panel-content-renderer h-full w-full overflow-hidden svelte-1ed760w"><!></div>');function nt(l,n){if(new.target)return ge({component:nt,...l});pe(n,!0);let e=M(n,"tab",7),u=M(n,"workspaceId",7),v=M(n,"layoutId",7),s=M(n,"isActive",7,!0),p=M(n,"isPanelFocused",7,!1),i=M(n,"onFocus",7),d=O(0),m=O(null),c=O(void 0),g=O(!1);const a=G(()=>(r(d),Y.get(e().type))),k=G(()=>(r(d),Y.getLoadedComponent(e().type))),W=G(()=>r(m)===e().type&&r(c)?r(c):s()||J(e())?r(k):void 0);me(()=>{const t=e().type,$=s()||J(e()),C=r(d),F=r(a),o=r(k);let f=!1;if((!F||r(m)!==t)&&(y(m,null),y(c,void 0),y(g,!1)),!(!F||!$)){if(o){y(m,t,!0),y(c,o,!0);return}if(!(r(m)===t&&r(c)))return y(g,!1),Y.loadComponent(t).then(I=>{f||!s()&&!J(e())||e().type!==t||r(d)!==C||(y(m,t,!0),y(c,I,!0))},()=>{f||!s()&&!J(e())||e().type!==t||r(d)!==C||y(g,!0)}),()=>{f=!0}}});function K(){Y.resetComponentLoad(e().type),y(d,r(d)+1)}var S={get tab(){return e()},set tab(t){e(t),A()},get workspaceId(){return u()},set workspaceId(t){u(t),A()},get layoutId(){return v()},set layoutId(t){v(t),A()},get isActive(){return s()},set isActive(t=!0){s(t),A()},get isPanelFocused(){return p()},set isPanelFocused(t=!1){p(t),A()},get onFocus(){return i()},set onFocus(t){i(t),A()},$set:be,$on:(t,h)=>ye(n,t,h)},P=rt(),j=L(P);{var te=t=>{var h=Z(),$=ee(h);{var C=_=>{he(_,{get workspaceId(){return u()},children:(b,x)=>{var T=Z(),H=ee(T);ue(H,()=>r(W),(E,ne)=>{ne(E,{get tab(){return e()},get workspaceId(){return u()},get layoutId(){return v()},get isActive(){return s()},get isPanelFocused(){return p()},get onFocus(){return i()}})}),w(b,T)},$$slots:{default:!0}})},F=G(()=>r(W)&&je(e())),o=_=>{var b=Z(),x=ee(b);ue(x,()=>r(W),(T,H)=>{H(T,{get tab(){return e()},get workspaceId(){return u()},get layoutId(){return v()},get isActive(){return s()},get isPanelFocused(){return p()},get onFocus(){return i()}})}),w(_,b)},f=_=>{var b=et(),x=L(b),T=U(x,!0),H=V(x,2);fe(H,{variant:"outline",size:"sm",onclick:K,children:(E,ne)=>{de();var se=ce();N(xe=>R(se,xe),[()=>z.ui_errorToast_retry_label()]),w(E,se)},$$slots:{default:!0}}),D(b),N(E=>R(T,E),[()=>z.error_boundary_title()]),w(_,b)},I=_=>{var b=tt();N(x=>Le(b,"aria-label",x),[()=>z.workspace_hoverCard_loading_label()]),w(_,b)};re($,_=>{r(F)?_(C):r(W)?_(o,1):s()&&r(g)?_(f,2):s()&&_(I,3)})}w(t,h)},q=t=>{var h=at(),$=L(h),C=L($),F=U(C,!0),o=V(C,2),f=U(o,!0),I=V(o,2),_=U(I,!0),b=V(I,2);fe(b,{class:"mt-4",variant:"outline",size:"sm",onclick:K,children:(x,T)=>{de();var H=ce();N(E=>R(H,E),[()=>z.ui_errorToast_retry_label()]),w(x,H)},$$slots:{default:!0}}),D($),D(h),N((x,T)=>{R(F,e().title),R(f,x),R(_,T)},[()=>z.layout_panelContent_typeLabel({type:e().type}),()=>z.layout_panelContent_notImplemented_label()]),w(t,h)};re(j,t=>{r(a)?t(te):t(q,-1)})}return D(P),w(l,P),_e(S)}export{Ke as M,we as P,he as W,nt as a,ht as b,xt as g,yt as h,wt as i,Xe as u};
1
+ import{aR as Q,e as ke,aK as oe,bM as le,bL as ie,ad as Ie,a0 as Ce,a2 as Te,H as Ae,aQ as Me,aJ as Pe,bs as pe,cd as $e,c5 as ae,ca as me,bV as O,br as Fe,cb as He,aD as r,bH as y,a5 as L,a7 as Z,ay as ee,W as w,bA as D,bS as V,b_ as N,bn as _e,c9 as G,aA as A,aB as B,bl as U,be as de,b$ as ce,bO as R}from"./CJxGDkBm.js";import{t as ge,bo as M,bw as be,bs as X,bq as Ee,b as ye,bm as z}from"./NtxbXOxK.js";import{i as re}from"./DrPmlbuk.js";import{c as ue}from"./CDAGrCMS.js";import{s as Le}from"./puisNM3r.js";import{t as Y}from"./B-wvdvfF.js";import{f as fe}from"./Bst2sLeL.js";import"./DcsVySxU.js";import{k as De}from"./4f4S0sUh.js";import{s as We}from"./BpozSsrs.js";import{IS as ve,tB as Se,p0 as Re}from"./DUUOaZUX.js";import{s as ze,W as Ne}from"./BtWZ63FE.js";import{i as Oe,n as Be,d as je}from"./BHUOcy1d.js";import{t as qe,s as Ve,l as Ge,u as Je}from"./BeJ9dLu2.js";function yt(l,n){let e=null,u=Q;var v;if(Q){e=Me;for(var s=Pe(document.head);s!==null&&(s.nodeType!==ke||s.data!==l);)s=oe(s);if(s===null)le(!1);else{var p=oe(s);s.remove(),ie(p)}}Q||(v=document.head.appendChild(Ie()));try{Ce(()=>{var i=Te(()=>n(v));i.f|=Ae,Q||(i.nodes===null?i.nodes={start:v,end:v,a:null,t:null}:i.nodes.end=v)})}finally{u&&(le(!0),ie(e))}}const we=3e4,Ke=3;function J(l){return l.type==="browser"&&typeof l.ownerAgentId=="string"&&l.ownerAgentId.length>0}function wt(l,n,e,u,v){return l?Xe(new Map,n,e,u,v):new Map}const Qe={ttlMs:we,maxInactiveTabs:Ke};function Ue(l={}){return{...Qe,...l}}function ht(l,n){if(l.size!==n.size)return!1;for(const[e,u]of l)if(n.get(e)!==u)return!1;return!0}function Xe(l,n,e,u,v){const{ttlMs:s,maxInactiveTabs:p}=Ue(v),i=new Set(n.map(a=>a.id)),d=new Set(n.filter(a=>a.type==="browser").map(a=>a.id)),m=new Set(n.filter(J).map(a=>a.id)),c=new Map;for(const[a,k]of l)i.has(a)&&c.set(a,k);e&&i.has(e)&&c.set(e,u);for(const a of m)c.has(a)||c.set(a,u);for(const[a,k]of c)a!==e&&!d.has(a)&&u-k>=s&&c.delete(a);const g=Array.from(c.entries()).filter(([a])=>a!==e&&!d.has(a)).sort(([,a],[,k])=>a-k);for(;g.length>p;){const a=g.shift();a&&c.delete(a[0])}return c}function xt(l,n,e,u=we,v=[]){const s=new Set(v.filter(i=>i.type==="browser").map(i=>i.id));let p=null;for(const[i,d]of l){if(i===n||s.has(i))continue;const m=Math.max(0,u-(e-d));p=p===null?m:Math.min(p,m)}return p}var Ye=B('<div class="absolute inset-0 z-10 overflow-hidden bg-background"><!></div>'),Ze=B('<div class="relative flex h-full min-h-0 w-full flex-col" data-workspace-home-panel-gate=""><div class="flex min-h-0 w-full flex-1 flex-col"><!></div> <!></div>');function he(l,n){if(new.target)return ge({component:he,...l});pe(n,!0);const e=()=>X(a,"$view$",p),u=()=>X(K,"$loaded$",p),v=()=>X(k,"$canMove$",p),s=()=>X(W,"$waiting$",p),[p,i]=Ee();let d=M(n,"workspaceId",7),m=M(n,"children",7),c=M(n,"clock",23,()=>Date.now);const g=$e(ae(()=>d()));me(()=>{g.set(d())});const a=qe(g),k=Ve(g),W=Ge(g),K=Je(g),S=G(e);let P=O(Fe(Oe)),j=O(!1);ze({markContentLoaded:()=>{y(j,!0)}}),He(()=>{const o={workspaceId:d(),loaded:u(),unavailable:r(S)?.unavailable===!0,contentLoaded:r(j),now:c()()},f=Be(ae(()=>r(P)),o);f.generation!==ae(()=>r(P)).generation&&y(j,!1),y(P,f,!0)});var te={get workspaceId(){return d()},set workspaceId(o){d(o),A()},get children(){return m()},set children(o){m(o),A()},get clock(){return c()},set clock(o=Date.now){c(o),A()},$set:be,$on:(o,f)=>ye(n,o,f)},q=Ze(),t=L(q),h=L(t);De(h,()=>r(P).generation,o=>{var f=Z(),I=ee(f);We(I,m),w(o,f)}),D(t);var $=V(t,2);{var C=o=>{var f=Ye(),I=L(f);Ne(I,{get view(){return r(S)},get canMove(){return v()},get waiting(){return s()},onWait:()=>ve.dispatch(Re(d())),onMove:()=>ve.dispatch(Se(d()))}),D(f),w(o,f)};re($,o=>{r(S)?.unavailable&&o(C)})}D(q),N(()=>t.inert=r(S)?.unavailable?!0:void 0),w(l,q);var F=_e(te);return i(),F}var et=B('<div class="flex h-full flex-col items-center justify-center gap-3 text-subtle"><p> </p> <!></div>'),tt=B('<div class="flex h-full w-full items-center justify-center" role="status"><div class="size-5 animate-pulse rounded-full bg-muted motion-reduce:animate-none"></div></div>'),at=B('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><div class="text-center"><p class="text-lg font-medium text-foreground"> </p> <p class="text-sm"> </p> <p class="text-xs mt-4 text-subtle"> </p> <!></div></div>'),rt=B('<div class="panel-content-renderer h-full w-full overflow-hidden svelte-1ed760w"><!></div>');function nt(l,n){if(new.target)return ge({component:nt,...l});pe(n,!0);let e=M(n,"tab",7),u=M(n,"workspaceId",7),v=M(n,"layoutId",7),s=M(n,"isActive",7,!0),p=M(n,"isPanelFocused",7,!1),i=M(n,"onFocus",7),d=O(0),m=O(null),c=O(void 0),g=O(!1);const a=G(()=>(r(d),Y.get(e().type))),k=G(()=>(r(d),Y.getLoadedComponent(e().type))),W=G(()=>r(m)===e().type&&r(c)?r(c):s()||J(e())?r(k):void 0);me(()=>{const t=e().type,$=s()||J(e()),C=r(d),F=r(a),o=r(k);let f=!1;if((!F||r(m)!==t)&&(y(m,null),y(c,void 0),y(g,!1)),!(!F||!$)){if(o){y(m,t,!0),y(c,o,!0);return}if(!(r(m)===t&&r(c)))return y(g,!1),Y.loadComponent(t).then(I=>{f||!s()&&!J(e())||e().type!==t||r(d)!==C||(y(m,t,!0),y(c,I,!0))},()=>{f||!s()&&!J(e())||e().type!==t||r(d)!==C||y(g,!0)}),()=>{f=!0}}});function K(){Y.resetComponentLoad(e().type),y(d,r(d)+1)}var S={get tab(){return e()},set tab(t){e(t),A()},get workspaceId(){return u()},set workspaceId(t){u(t),A()},get layoutId(){return v()},set layoutId(t){v(t),A()},get isActive(){return s()},set isActive(t=!0){s(t),A()},get isPanelFocused(){return p()},set isPanelFocused(t=!1){p(t),A()},get onFocus(){return i()},set onFocus(t){i(t),A()},$set:be,$on:(t,h)=>ye(n,t,h)},P=rt(),j=L(P);{var te=t=>{var h=Z(),$=ee(h);{var C=_=>{he(_,{get workspaceId(){return u()},children:(b,x)=>{var T=Z(),H=ee(T);ue(H,()=>r(W),(E,ne)=>{ne(E,{get tab(){return e()},get workspaceId(){return u()},get layoutId(){return v()},get isActive(){return s()},get isPanelFocused(){return p()},get onFocus(){return i()}})}),w(b,T)},$$slots:{default:!0}})},F=G(()=>r(W)&&je(e())),o=_=>{var b=Z(),x=ee(b);ue(x,()=>r(W),(T,H)=>{H(T,{get tab(){return e()},get workspaceId(){return u()},get layoutId(){return v()},get isActive(){return s()},get isPanelFocused(){return p()},get onFocus(){return i()}})}),w(_,b)},f=_=>{var b=et(),x=L(b),T=U(x,!0),H=V(x,2);fe(H,{variant:"outline",size:"sm",onclick:K,children:(E,ne)=>{de();var se=ce();N(xe=>R(se,xe),[()=>z.ui_errorToast_retry_label()]),w(E,se)},$$slots:{default:!0}}),D(b),N(E=>R(T,E),[()=>z.error_boundary_title()]),w(_,b)},I=_=>{var b=tt();N(x=>Le(b,"aria-label",x),[()=>z.workspace_hoverCard_loading_label()]),w(_,b)};re($,_=>{r(F)?_(C):r(W)?_(o,1):s()&&r(g)?_(f,2):s()&&_(I,3)})}w(t,h)},q=t=>{var h=at(),$=L(h),C=L($),F=U(C,!0),o=V(C,2),f=U(o,!0),I=V(o,2),_=U(I,!0),b=V(I,2);fe(b,{class:"mt-4",variant:"outline",size:"sm",onclick:K,children:(x,T)=>{de();var H=ce();N(E=>R(H,E),[()=>z.ui_errorToast_retry_label()]),w(x,H)},$$slots:{default:!0}}),D($),D(h),N((x,T)=>{R(F,e().title),R(f,x),R(_,T)},[()=>z.layout_panelContent_typeLabel({type:e().type}),()=>z.layout_panelContent_notImplemented_label()]),w(t,h)};re(j,t=>{r(a)?t(te):t(q,-1)})}return D(P),w(l,P),_e(S)}export{Ke as M,we as P,he as W,nt as a,ht as b,xt as g,yt as h,wt as i,Xe as u};
@@ -1 +1 @@
1
- import{a as S}from"./BdWqymET.js";import{aE as l}from"./CJxGDkBm.js";import{g as c}from"./CyqRVYAu.js";import{p as g}from"./CHwCT_tY.js";import{d as I}from"./B0Z-1lwJ.js";import{dD as f}from"./lJ2hrkPe.js";import{BV as u,i as y,IS as o,gV as A,vk as m,vl as N,vn as b}from"./BwCXlNwV.js";import{g as D,n as h}from"./bDYVRgHv.js";import{S as W,a as R,n as E}from"./BgwmEIlo.js";import{n as O,o as v}from"./tkvqiJWu.js";const k="intent:onboarding-skip:v1";function P(e){return u.getItem(h(k,e))==="1"}function re(e){P(e)||u.setItem(h(k,e),"1")}function _(e){return e.connections?.hasReceivedList===!0&&P(D(e))}function F(e,a){return e.some(t=>t.id!==y&&t.id!==a&&t.status!=="Archived"&&t.status!=="Deleted")}function j(e,a,t=!1){return t||F(e,a)?"/":"/workspace/new"}function d(e,a){return j(f.select(e),a,_(e))}const se=Object.freeze(Object.defineProperty({__proto__:null,resolveWindowEmptyDestination:d},Symbol.toStringTag,{value:"Module"})),r=new S("WorkspaceNavigation");async function L(e){r.info(`[navigateToAgent] Navigating to agent: ${e}`);const t=l(g).params.id;if(!t){r.error("[navigateToAgent] No workspace ID found in current page params");return}const n=new URL(window.location.href);n.searchParams.set("drawerOpen","1"),n.searchParams.set("drawerType","agent"),n.searchParams.set("selectedAgent",e),n.searchParams.delete("selectedTerminal"),await c(n.toString(),{replaceState:!0}),o.dispatch(m(t,"agent",e))}async function $(e){r.info(`[navigateToTerminal] Navigating to terminal: ${e}`);const t=l(g).params.id;if(!t){r.error("[navigateToTerminal] No workspace ID found in current page params");return}const n=new URL(window.location.href),i=n.searchParams.get("drawerOpen")==="1",s=n.searchParams.get("drawerType")==="terminal";(!i||!s)&&n.searchParams.set("drawerOpen","1"),n.searchParams.set("drawerType","terminal"),n.searchParams.set("selectedTerminal",e),n.searchParams.delete("selectedAgent"),await c(n.toString(),{replaceState:!0}),o.dispatch(m(t,"terminal",e))}function C(e){return!e||!(e instanceof Element)?void 0:e.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0}async function p(e,a){r.info(`[navigateToNote] Navigating to note: ${e}`,a);const t=l(g),n=a?.workspaceId??t.params.id;if(!n){r.error("[navigateToNote] No workspace ID found in current page params");return}o.dispatch(b(n,e,{openInAdjacentPanel:a?.openInAdjacentPanel??!1,openInNewAdjacentPanel:a?.openInNewAdjacentPanel??!1,sourcePanelId:a?.sourcePanelId}))}async function U(e,a,t){r.info(`[navigateToFile] Navigating to file: ${e}${a?` (line ${a})`:""}`,t);const i=l(g).params.id;if(!i){r.error("[navigateToFile] No workspace ID found in current page params");return}o.dispatch(N(i,e,{line:a,openInAdjacentPanel:t?.openInAdjacentPanel??!1,sourcePanelId:t?.sourcePanelId}))}async function B(){r.info("[navigateToSpec] Navigating to workspace spec"),await p("spec")}async function M(){r.info("[closeDrawer] Closing drawer");const a=l(g).params.id;if(!a){r.error("[closeDrawer] No workspace ID found in current page params");return}const t=new URL(window.location.href);t.searchParams.set("drawerOpen","0"),t.searchParams.delete("selectedAgent"),t.searchParams.delete("selectedTerminal"),await c(t.toString(),{replaceState:!0}),o.dispatch(A(a))}async function K(){r.info("[clearMainContent] Clearing main content");const e=new URL(window.location.href);e.searchParams.set("mainContentType","empty"),e.searchParams.delete("selectedNoteId"),e.searchParams.delete("selectedFile"),e.searchParams.delete("line"),await c(e.toString(),{replaceState:!1})}async function G(e,a,t){r.info("[navigateToTask] Navigating to task",{noteId:e,taskPosition:a,taskText:t}),await p(e);const n=()=>{I("scroll-to-task",{noteId:e,taskPosition:a,taskText:t},{bubbles:!0}),r.debug("[navigateToTask] Dispatched scroll-to-task event",{noteId:e,taskPosition:a})},i=[100,300,600];for(const s of i)setTimeout(n,s)}async function H(e){r.info("[navigateToSettings] Navigating to settings",e);const a=new URL("/settings",window.location.origin),t=window.location.pathname.match(/^\/workspace\/([^/]+)/)?.[1],n=t==="new"?void 0:t,i=e?.workspaceId??n;if(e?.tab&&a.searchParams.set("tab",e.tab),e?.specialist&&a.searchParams.set("specialist",e.specialist),e?.view&&a.searchParams.set("view",e.view),i&&a.searchParams.set("workspaceId",i),e?.hash&&(a.hash=e.hash),typeof window<"u"&&window.location.pathname==="/settings"){if(e?.tab||e?.specialist||e?.view||e?.workspaceId){const s=new URL(window.location.href);e?.tab&&s.searchParams.set("tab",e.tab),e?.specialist&&s.searchParams.set("specialist",e.specialist),e?.view&&s.searchParams.set("view",e.view),e?.workspaceId&&s.searchParams.set("workspaceId",e.workspaceId),e?.hash&&(s.hash=e.hash),await c(s.toString(),{replaceState:!0});return}if(e?.hash){const s=`#${e.hash}`;window.location.hash===s&&(window.location.hash=""),window.location.hash=s;return}return}await E(a.pathname+a.search+a.hash)}function T(){const e=typeof sessionStorage>"u"?null:sessionStorage.getItem(W);if(e&&e!=="/"&&!R(e))return e;const a=w();return a?`/workspace/${a.id}`:d(o.state)}async function V(){const e=T();r.info("[navigateBackFromSettings] Navigating back to:",e),await O(e)}function w(e){return f.select(o.state).find(a=>a.id!==e&&a.status!=="Archived"&&a.status!=="Deleted")}async function z(){const e=w();if(e){r.info("[navigateToFirstWorkspace] Showing workspace:",e.id),await v(e.id);return}const a=d(o.state);r.info("[navigateToFirstWorkspace] Navigating to:",a),await c(a)}async function Y(e){const a=w(e);if(a){r.info("[navigateAfterWorkspaceRemoval] Showing workspace:",a.id),await v(a.id);return}const t=d(o.state,e);r.info("[navigateAfterWorkspaceRemoval] Navigating to:",t),await c(t)}const ie=Object.freeze(Object.defineProperty({__proto__:null,clearMainContent:K,closeDrawer:M,findSourcePanelId:C,getSettingsPreviousPath:T,navigateAfterWorkspaceRemoval:Y,navigateBackFromSettings:V,navigateToAgent:L,navigateToFile:U,navigateToFirstWorkspace:z,navigateToNote:p,navigateToSettings:H,navigateToSpec:B,navigateToTask:G,navigateToTerminal:$},Symbol.toStringTag,{value:"Module"}));export{U as a,z as b,p as c,H as d,G as e,C as f,d as g,ie as h,_ as i,V as n,re as r,se as w};
1
+ import{a as S}from"./BdWqymET.js";import{aE as l}from"./CJxGDkBm.js";import{g as c}from"./ELAGDjsa.js";import{p as g}from"./EBip0AWO.js";import{d as I}from"./B0Z-1lwJ.js";import{dD as f}from"./Bd92b52s.js";import{BV as u,i as y,IS as o,gV as A,vk as m,vl as N,vn as b}from"./DUUOaZUX.js";import{g as D,n as h}from"./C2Q_f-Ao.js";import{S as W,a as R,n as E}from"./DsDqvgC9.js";import{n as O,o as v}from"./CMPYMsb3.js";const k="intent:onboarding-skip:v1";function P(e){return u.getItem(h(k,e))==="1"}function re(e){P(e)||u.setItem(h(k,e),"1")}function _(e){return e.connections?.hasReceivedList===!0&&P(D(e))}function F(e,a){return e.some(t=>t.id!==y&&t.id!==a&&t.status!=="Archived"&&t.status!=="Deleted")}function j(e,a,t=!1){return t||F(e,a)?"/":"/workspace/new"}function d(e,a){return j(f.select(e),a,_(e))}const se=Object.freeze(Object.defineProperty({__proto__:null,resolveWindowEmptyDestination:d},Symbol.toStringTag,{value:"Module"})),r=new S("WorkspaceNavigation");async function L(e){r.info(`[navigateToAgent] Navigating to agent: ${e}`);const t=l(g).params.id;if(!t){r.error("[navigateToAgent] No workspace ID found in current page params");return}const n=new URL(window.location.href);n.searchParams.set("drawerOpen","1"),n.searchParams.set("drawerType","agent"),n.searchParams.set("selectedAgent",e),n.searchParams.delete("selectedTerminal"),await c(n.toString(),{replaceState:!0}),o.dispatch(m(t,"agent",e))}async function $(e){r.info(`[navigateToTerminal] Navigating to terminal: ${e}`);const t=l(g).params.id;if(!t){r.error("[navigateToTerminal] No workspace ID found in current page params");return}const n=new URL(window.location.href),i=n.searchParams.get("drawerOpen")==="1",s=n.searchParams.get("drawerType")==="terminal";(!i||!s)&&n.searchParams.set("drawerOpen","1"),n.searchParams.set("drawerType","terminal"),n.searchParams.set("selectedTerminal",e),n.searchParams.delete("selectedAgent"),await c(n.toString(),{replaceState:!0}),o.dispatch(m(t,"terminal",e))}function C(e){return!e||!(e instanceof Element)?void 0:e.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0}async function p(e,a){r.info(`[navigateToNote] Navigating to note: ${e}`,a);const t=l(g),n=a?.workspaceId??t.params.id;if(!n){r.error("[navigateToNote] No workspace ID found in current page params");return}o.dispatch(b(n,e,{openInAdjacentPanel:a?.openInAdjacentPanel??!1,openInNewAdjacentPanel:a?.openInNewAdjacentPanel??!1,sourcePanelId:a?.sourcePanelId}))}async function U(e,a,t){r.info(`[navigateToFile] Navigating to file: ${e}${a?` (line ${a})`:""}`,t);const i=l(g).params.id;if(!i){r.error("[navigateToFile] No workspace ID found in current page params");return}o.dispatch(N(i,e,{line:a,openInAdjacentPanel:t?.openInAdjacentPanel??!1,sourcePanelId:t?.sourcePanelId}))}async function B(){r.info("[navigateToSpec] Navigating to workspace spec"),await p("spec")}async function M(){r.info("[closeDrawer] Closing drawer");const a=l(g).params.id;if(!a){r.error("[closeDrawer] No workspace ID found in current page params");return}const t=new URL(window.location.href);t.searchParams.set("drawerOpen","0"),t.searchParams.delete("selectedAgent"),t.searchParams.delete("selectedTerminal"),await c(t.toString(),{replaceState:!0}),o.dispatch(A(a))}async function K(){r.info("[clearMainContent] Clearing main content");const e=new URL(window.location.href);e.searchParams.set("mainContentType","empty"),e.searchParams.delete("selectedNoteId"),e.searchParams.delete("selectedFile"),e.searchParams.delete("line"),await c(e.toString(),{replaceState:!1})}async function G(e,a,t){r.info("[navigateToTask] Navigating to task",{noteId:e,taskPosition:a,taskText:t}),await p(e);const n=()=>{I("scroll-to-task",{noteId:e,taskPosition:a,taskText:t},{bubbles:!0}),r.debug("[navigateToTask] Dispatched scroll-to-task event",{noteId:e,taskPosition:a})},i=[100,300,600];for(const s of i)setTimeout(n,s)}async function H(e){r.info("[navigateToSettings] Navigating to settings",e);const a=new URL("/settings",window.location.origin),t=window.location.pathname.match(/^\/workspace\/([^/]+)/)?.[1],n=t==="new"?void 0:t,i=e?.workspaceId??n;if(e?.tab&&a.searchParams.set("tab",e.tab),e?.specialist&&a.searchParams.set("specialist",e.specialist),e?.view&&a.searchParams.set("view",e.view),i&&a.searchParams.set("workspaceId",i),e?.hash&&(a.hash=e.hash),typeof window<"u"&&window.location.pathname==="/settings"){if(e?.tab||e?.specialist||e?.view||e?.workspaceId){const s=new URL(window.location.href);e?.tab&&s.searchParams.set("tab",e.tab),e?.specialist&&s.searchParams.set("specialist",e.specialist),e?.view&&s.searchParams.set("view",e.view),e?.workspaceId&&s.searchParams.set("workspaceId",e.workspaceId),e?.hash&&(s.hash=e.hash),await c(s.toString(),{replaceState:!0});return}if(e?.hash){const s=`#${e.hash}`;window.location.hash===s&&(window.location.hash=""),window.location.hash=s;return}return}await E(a.pathname+a.search+a.hash)}function T(){const e=typeof sessionStorage>"u"?null:sessionStorage.getItem(W);if(e&&e!=="/"&&!R(e))return e;const a=w();return a?`/workspace/${a.id}`:d(o.state)}async function V(){const e=T();r.info("[navigateBackFromSettings] Navigating back to:",e),await O(e)}function w(e){return f.select(o.state).find(a=>a.id!==e&&a.status!=="Archived"&&a.status!=="Deleted")}async function z(){const e=w();if(e){r.info("[navigateToFirstWorkspace] Showing workspace:",e.id),await v(e.id);return}const a=d(o.state);r.info("[navigateToFirstWorkspace] Navigating to:",a),await c(a)}async function Y(e){const a=w(e);if(a){r.info("[navigateAfterWorkspaceRemoval] Showing workspace:",a.id),await v(a.id);return}const t=d(o.state,e);r.info("[navigateAfterWorkspaceRemoval] Navigating to:",t),await c(t)}const ie=Object.freeze(Object.defineProperty({__proto__:null,clearMainContent:K,closeDrawer:M,findSourcePanelId:C,getSettingsPreviousPath:T,navigateAfterWorkspaceRemoval:Y,navigateBackFromSettings:V,navigateToAgent:L,navigateToFile:U,navigateToFirstWorkspace:z,navigateToNote:p,navigateToSettings:H,navigateToSpec:B,navigateToTask:G,navigateToTerminal:$},Symbol.toStringTag,{value:"Module"}));export{U as a,z as b,p as c,H as d,G as e,C as f,d as g,ie as h,_ as i,V as n,re as r,se as w};