@intent-hq/web 2.384.2 → 2.385.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 (326) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{CK2Cr1RP.js → 0RCk28l5.js} +1 -1
  3. package/web/app/immutable/chunks/{DVL_BM5a.js → 0oyPeRI9.js} +1 -1
  4. package/web/app/immutable/chunks/{BEjISjEF.js → 2zSj5_GV.js} +1 -1
  5. package/web/app/immutable/chunks/{D6Hf6lXy.js → 3VhO4Wn2.js} +1 -1
  6. package/web/app/immutable/chunks/{6n7e2aNB.js → 3qVSmuIV.js} +1 -1
  7. package/web/app/immutable/chunks/{CYQKXGJn.js → 40W1U6K5.js} +1 -1
  8. package/web/app/immutable/chunks/{BZidc-yX.js → 418Agcsp.js} +1 -1
  9. package/web/app/immutable/chunks/{BTtAt-Pu.js → 4PAYwk2I.js} +1 -1
  10. package/web/app/immutable/chunks/{DXdFemRu.js → 4g_iHoQm.js} +1 -1
  11. package/web/app/immutable/chunks/{BRsOtr8M.js → 4poQ2xKW.js} +1 -1
  12. package/web/app/immutable/chunks/{CXul4WJt.js → 5-0LQoqd.js} +1 -1
  13. package/web/app/immutable/chunks/{BTc_j7Dt.js → 7KxcPj98.js} +1 -1
  14. package/web/app/immutable/chunks/{CpMQqUEz.js → 7OH6WUSt.js} +1 -1
  15. package/web/app/immutable/chunks/{BwLxx4IG.js → 7y3Z0Q49.js} +3 -3
  16. package/web/app/immutable/chunks/{B4mHWFlW.js → 8jMQM9h0.js} +1 -1
  17. package/web/app/immutable/chunks/{xmnalplU.js → 94vL4WlW.js} +1 -1
  18. package/web/app/immutable/chunks/{BVlMQ1xQ.js → 9GO97JAL.js} +1 -1
  19. package/web/app/immutable/chunks/{CpimfPxg.js → A0KsbysW.js} +1 -1
  20. package/web/app/immutable/chunks/{QFC15GkG.js → B-E_4dSm.js} +2 -2
  21. package/web/app/immutable/chunks/{DaXosNFA.js → B0qb2Ymj.js} +1 -1
  22. package/web/app/immutable/chunks/{B7h1ZmQS.js → B22zVGFP.js} +1 -1
  23. package/web/app/immutable/chunks/{k863GLf6.js → B2CniqS1.js} +1 -1
  24. package/web/app/immutable/chunks/{DB0jxR-D.js → B2XeuV1l.js} +1 -1
  25. package/web/app/immutable/chunks/{CmImGhNY.js → B433f4mk.js} +1 -1
  26. package/web/app/immutable/chunks/{4QXQvR4H.js → B5pL-E-o.js} +1 -1
  27. package/web/app/immutable/chunks/{55FYKQCf.js → B5qiyEpH.js} +1 -1
  28. package/web/app/immutable/chunks/{BNN0vAFF.js → B5tvpTFB.js} +1 -1
  29. package/web/app/immutable/chunks/{CE0jr9sE.js → B6FGs8l2.js} +1 -1
  30. package/web/app/immutable/chunks/{CdMAY9xp.js → B6QnBRPC.js} +1 -1
  31. package/web/app/immutable/chunks/{Di3TE7pQ.js → B6d1Nolc.js} +1 -1
  32. package/web/app/immutable/chunks/{B4PfEXaO.js → B6eTPmJH.js} +1 -1
  33. package/web/app/immutable/chunks/{B7JHU89G.js → B8HnjSSF.js} +1 -1
  34. package/web/app/immutable/chunks/{xeMXLCBg.js → B8QvP_8b.js} +1 -1
  35. package/web/app/immutable/chunks/{BYU-C1jV.js → B9ka1bX8.js} +2 -2
  36. package/web/app/immutable/chunks/{CNzCvSR9.js → BBYtaKSX.js} +1 -1
  37. package/web/app/immutable/chunks/{I8XhKsSY.js → BByf3ILj.js} +1 -1
  38. package/web/app/immutable/chunks/{DJM7b4MF.js → BCLFORRd.js} +1 -1
  39. package/web/app/immutable/chunks/{leDczq9h.js → BD9db4FR.js} +1 -1
  40. package/web/app/immutable/chunks/{DLvrhtSt.js → BDsciJGp.js} +1 -1
  41. package/web/app/immutable/chunks/{X-wIiWCo.js → BECK4OaG.js} +1 -1
  42. package/web/app/immutable/chunks/{DnozpXMO.js → BGspyNwk.js} +1 -1
  43. package/web/app/immutable/chunks/{DpeQIGDn.js → BHEogMS0.js} +2 -2
  44. package/web/app/immutable/chunks/{BAdVoGAI.js → BHqp2vwo.js} +1 -1
  45. package/web/app/immutable/chunks/{CIU_APaR.js → BIGqOuh0.js} +1 -1
  46. package/web/app/immutable/chunks/{DilOhRAO.js → BJO0de_7.js} +1 -1
  47. package/web/app/immutable/chunks/{BDPP0w0q.js → BJgwBOBz.js} +1 -1
  48. package/web/app/immutable/chunks/{DxDZbRkP.js → BLKFshyr.js} +1 -1
  49. package/web/app/immutable/chunks/{Dg5FvxXA.js → BNX4ri6c.js} +3 -3
  50. package/web/app/immutable/chunks/{D2Rapl2X.js → BNa9zzEx.js} +1 -1
  51. package/web/app/immutable/chunks/{B7RoQL2j.js → BO4b6Ny-.js} +2 -2
  52. package/web/app/immutable/chunks/{CVoQx6Vw.js → BO8Bp7Ht.js} +1 -1
  53. package/web/app/immutable/chunks/{DLKd3Oyl.js → BORk03Sd.js} +1 -1
  54. package/web/app/immutable/chunks/{tF7VK2wM.js → BP1fPIN6.js} +1 -1
  55. package/web/app/immutable/chunks/{rNjiZ_3W.js → BPuz5cN_.js} +2 -2
  56. package/web/app/immutable/chunks/{Bygp72Wl.js → BSUnflvl.js} +1 -1
  57. package/web/app/immutable/chunks/{Bm6FDHvN.js → BSWVBeG0.js} +1 -1
  58. package/web/app/immutable/chunks/{Df4fyHSB.js → BSgFpkqa.js} +1 -1
  59. package/web/app/immutable/chunks/{BOpszErG.js → BSntxgH1.js} +1 -1
  60. package/web/app/immutable/chunks/{YTt0B0lA.js → BT8hDSo1.js} +1 -1
  61. package/web/app/immutable/chunks/{BAAb6Ol7.js → BU1Gcrkq.js} +1 -1
  62. package/web/app/immutable/chunks/{Cb6nJOfB.js → BV1ayWTC.js} +1 -1
  63. package/web/app/immutable/chunks/{DN-MAVuE.js → BV47Ledo.js} +1 -1
  64. package/web/app/immutable/chunks/{CI-VmE1m.js → BVctKbNy.js} +1 -1
  65. package/web/app/immutable/chunks/{CIzFSDuO.js → BVkAOJlr.js} +1 -1
  66. package/web/app/immutable/chunks/{Bosi029J.js → BVl79jmM.js} +1 -1
  67. package/web/app/immutable/chunks/{iVHs_bWz.js → BVuLEX_p.js} +1 -1
  68. package/web/app/immutable/chunks/{uAXEbxa8.js → BW1iql_y.js} +1 -1
  69. package/web/app/immutable/chunks/{DDnDtSlm.js → BXJzIaQM.js} +1 -1
  70. package/web/app/immutable/chunks/{C4IVoYqo.js → BYLCAn5f.js} +1 -1
  71. package/web/app/immutable/chunks/{Mh0PqgbP.js → B_4WsP9b.js} +1 -1
  72. package/web/app/immutable/chunks/{D5-RCLzi.js → B_75gRww.js} +1 -1
  73. package/web/app/immutable/chunks/{CQZUFyS7.js → BbLh3POL.js} +1 -1
  74. package/web/app/immutable/chunks/{D5q2XDzo.js → BbuLzldI.js} +1 -1
  75. package/web/app/immutable/chunks/{72S4_8Fo.js → Bc1vJq_Z.js} +1 -1
  76. package/web/app/immutable/chunks/{D8s3q34H.js → BcEkxi5l.js} +1 -1
  77. package/web/app/immutable/chunks/{BTtqZJEI.js → BcKrkXju.js} +1 -1
  78. package/web/app/immutable/chunks/{2bsrY56g.js → Bd1Doib5.js} +2 -2
  79. package/web/app/immutable/chunks/{6kZoubzS.js → BdEtT3Ti.js} +1 -1
  80. package/web/app/immutable/chunks/{CJ72QIuX.js → BeJRU38G.js} +3 -3
  81. package/web/app/immutable/chunks/{DGZLYT-c.js → BeU-lAdJ.js} +1 -1
  82. package/web/app/immutable/chunks/{BXE_7Biv.js → Bf_nrOhg.js} +1 -1
  83. package/web/app/immutable/chunks/{CwHPdS9l.js → BgDnzAo4.js} +1 -1
  84. package/web/app/immutable/chunks/{D3qs3VJZ.js → BhD_8q1J.js} +1 -1
  85. package/web/app/immutable/chunks/{Za_i3D8P.js → Bhb3isek.js} +4 -4
  86. package/web/app/immutable/chunks/{CayjT2l8.js → Bi-y50ry.js} +1 -1
  87. package/web/app/immutable/chunks/{0tWsVa0y.js → Bi_Yd73A.js} +1 -1
  88. package/web/app/immutable/chunks/{CEjK2ich.js → BjlMkd10.js} +1 -1
  89. package/web/app/immutable/chunks/{gkPeOUJv.js → BlDwsvYd.js} +1 -1
  90. package/web/app/immutable/chunks/{RWWlGLMu.js → BlIRL_82.js} +1 -1
  91. package/web/app/immutable/chunks/{D4g4334W.js → BmF8Qq3w.js} +1 -1
  92. package/web/app/immutable/chunks/{BPZBxYco.js → BoIbJp9v.js} +1 -1
  93. package/web/app/immutable/chunks/{B4l71ix-.js → BpYEdDT4.js} +1 -1
  94. package/web/app/immutable/chunks/BsdyWfPQ.js +2 -0
  95. package/web/app/immutable/chunks/{CMbvNZma.js → BtBQ5qfh.js} +1 -1
  96. package/web/app/immutable/chunks/{4oPBEC4-.js → Bt_vaAcw.js} +1 -1
  97. package/web/app/immutable/chunks/{CcmN1reb.js → Bu-RLSv9.js} +1 -1
  98. package/web/app/immutable/chunks/{CXrVII1G.js → BuFDqZnJ.js} +1 -1
  99. package/web/app/immutable/chunks/{D0sQr-H_.js → BuPmvT2w.js} +1 -1
  100. package/web/app/immutable/chunks/{ZNhLMxqQ.js → BupDQr_B.js} +2 -2
  101. package/web/app/immutable/chunks/{CJoPlWyA.js → Bv_xG3nA.js} +1 -1
  102. package/web/app/immutable/chunks/{Bap7o4n5.js → BvbZcfOT.js} +1 -1
  103. package/web/app/immutable/chunks/{Djz9uuuA.js → BvbeTrka.js} +1 -1
  104. package/web/app/immutable/chunks/{BJZU-qAV.js → BvzO6hxM.js} +1 -1
  105. package/web/app/immutable/chunks/{BK6CZrM5.js → BwC--T1G.js} +1 -1
  106. package/web/app/immutable/chunks/{4jB5IsVV.js → BwPwF85e.js} +1 -1
  107. package/web/app/immutable/chunks/{DKrlwauu.js → Bwx5QwNp.js} +1 -1
  108. package/web/app/immutable/chunks/{CgJXgMzB.js → BxU4EAMe.js} +1 -1
  109. package/web/app/immutable/chunks/{CBvkahdk.js → ByZMA8RF.js} +1 -1
  110. package/web/app/immutable/chunks/{IxfPVMNO.js → C-G2u0Oe.js} +1 -1
  111. package/web/app/immutable/chunks/{0v4yIgtg.js → C-PQQ8rb.js} +1 -1
  112. package/web/app/immutable/chunks/{D400ElMz.js → C-zB-6G6.js} +1 -1
  113. package/web/app/immutable/chunks/{YtoDeXhM.js → C0Zo7HuP.js} +1 -1
  114. package/web/app/immutable/chunks/{ump_SWLl.js → C1AUaRa8.js} +1 -1
  115. package/web/app/immutable/chunks/{COB2k0Aa.js → C2F2Vd1P.js} +1 -1
  116. package/web/app/immutable/chunks/{DkET5D1Z.js → C2Hs8n0u.js} +1 -1
  117. package/web/app/immutable/chunks/{CnHcPhIW.js → C3-81PRC.js} +4 -4
  118. package/web/app/immutable/chunks/{rYnu2FeJ.js → C3gIkQxX.js} +1 -1
  119. package/web/app/immutable/chunks/{CCAcpS1o.js → C412Y6ti.js} +2 -2
  120. package/web/app/immutable/chunks/{BGN0Ete3.js → C4Py2-C-.js} +1 -1
  121. package/web/app/immutable/chunks/{DHbqsCcC.js → C4UnZ5aI.js} +1 -1
  122. package/web/app/immutable/chunks/{C6g7LzDB.js → C50zlWbZ.js} +1 -1
  123. package/web/app/immutable/chunks/{CmbheRhJ.js → C63WwVct.js} +1 -1
  124. package/web/app/immutable/chunks/{CJW4jhjq.js → C8LrJXqa.js} +1 -1
  125. package/web/app/immutable/chunks/{Bb9tq6rt.js → C9ew0Hx2.js} +1 -1
  126. package/web/app/immutable/chunks/{DpChblex.js → C9p4fddz.js} +1 -1
  127. package/web/app/immutable/chunks/{Cw2ZnpX7.js → CA8JHp72.js} +1 -1
  128. package/web/app/immutable/chunks/{C0fFeGdB.js → CAfPEsZt.js} +1 -1
  129. package/web/app/immutable/chunks/CAtVH-rJ.js +158 -0
  130. package/web/app/immutable/chunks/CCIZBeez.js +1 -0
  131. package/web/app/immutable/chunks/{BhVPbMnV.js → CD-M_2xD.js} +1 -1
  132. package/web/app/immutable/chunks/{cKonll34.js → CDAnHxmJ.js} +1 -1
  133. package/web/app/immutable/chunks/{qLxI2L63.js → CDBHtmaA.js} +1 -1
  134. package/web/app/immutable/chunks/{H9nIRlnK.js → CE9_m5Rd.js} +1 -1
  135. package/web/app/immutable/chunks/{AYsHMWH3.js → CEEUgGO1.js} +1 -1
  136. package/web/app/immutable/chunks/{CjyJQV6j.js → CEfkJpk7.js} +1 -1
  137. package/web/app/immutable/chunks/{DETS1-K4.js → CGYPBD6G.js} +1 -1
  138. package/web/app/immutable/chunks/{C0CrTfQC.js → CHto7_WH.js} +1 -1
  139. package/web/app/immutable/chunks/{KMO8sO00.js → CI0C7_h-.js} +1 -1
  140. package/web/app/immutable/chunks/{D4ZMSrvm.js → CIWky03S.js} +3 -3
  141. package/web/app/immutable/chunks/{CHMwcoWM.js → CIaruUrd.js} +1 -1
  142. package/web/app/immutable/chunks/{BzqJYEOZ.js → CJB-ebPL.js} +1 -1
  143. package/web/app/immutable/chunks/{_0LhNaan.js → CJNNcGWg.js} +1 -1
  144. package/web/app/immutable/chunks/{NZ_vlsKe.js → CLlFdy2p.js} +1 -1
  145. package/web/app/immutable/chunks/{jmJoSjVa.js → CLo9TzNK.js} +1 -1
  146. package/web/app/immutable/chunks/{CegXgKbh.js → CNSshwg_.js} +1 -1
  147. package/web/app/immutable/chunks/{Ciei8d6b.js → COflq_3N.js} +3 -3
  148. package/web/app/immutable/chunks/{O63l2zGE.js → COgn_CzG.js} +1 -1
  149. package/web/app/immutable/chunks/{BWtgRgi0.js → CPI5xBWX.js} +1 -1
  150. package/web/app/immutable/chunks/{oTjaecL9.js → CPaH4fRt.js} +1 -1
  151. package/web/app/immutable/chunks/{ByYwSpDO.js → CQMFoUkp.js} +1 -1
  152. package/web/app/immutable/chunks/{BmALJKBY.js → CR-JVxLD.js} +1 -1
  153. package/web/app/immutable/chunks/CT9qg5pc.js +1 -0
  154. package/web/app/immutable/chunks/{DpmMYKqt.js → CTW83wJs.js} +1 -1
  155. package/web/app/immutable/chunks/{DMrypNw-.js → CV2tdNDf.js} +1 -1
  156. package/web/app/immutable/chunks/{BqU6TsU1.js → CVU_1O7c.js} +1 -1
  157. package/web/app/immutable/chunks/{DV6uX7ff.js → CVs9CHtI.js} +1 -1
  158. package/web/app/immutable/chunks/{C9fPgzDG.js → CWOQ_pUA.js} +1 -1
  159. package/web/app/immutable/chunks/{BcffwE-d.js → CWTUGfLW.js} +1 -1
  160. package/web/app/immutable/chunks/{CWwAStwx.js → CXDUvPYf.js} +1 -1
  161. package/web/app/immutable/chunks/{_Tye__BB.js → CYSndAne.js} +1 -1
  162. package/web/app/immutable/chunks/{DnHJL326.js → C_SKcJv7.js} +1 -1
  163. package/web/app/immutable/chunks/{Cb0AGw5F.js → Cbb4o3qj.js} +1 -1
  164. package/web/app/immutable/chunks/{Dk0Z1pVU.js → CbxBZqC_.js} +1 -1
  165. package/web/app/immutable/chunks/{DKLk3Wx8.js → CdbRvoG6.js} +1 -1
  166. package/web/app/immutable/chunks/{Bw8_vMki.js → ClNMpui4.js} +1 -1
  167. package/web/app/immutable/chunks/{edw8TVSr.js → CletI6Pa.js} +1 -1
  168. package/web/app/immutable/chunks/{Dfh8DRT0.js → Clez3uTU.js} +3 -3
  169. package/web/app/immutable/chunks/{CwTWayd0.js → Clo7aK1n.js} +1 -1
  170. package/web/app/immutable/chunks/{CbucW-av.js → Cnl_O3ZO.js} +1 -1
  171. package/web/app/immutable/chunks/{CWezNj5-.js → CoJyxFcH.js} +1 -1
  172. package/web/app/immutable/chunks/{DCP9TL-A.js → Cp02CBjf.js} +1 -1
  173. package/web/app/immutable/chunks/{BaJfBXet.js → Cp7Byf5d.js} +1 -1
  174. package/web/app/immutable/chunks/{BGaOyp5o.js → CqrCSb8W.js} +1 -1
  175. package/web/app/immutable/chunks/{BziYv9ZW.js → Cr2Op5yp.js} +2 -2
  176. package/web/app/immutable/chunks/{BHKaBN6i.js → Cr5QjekU.js} +1 -1
  177. package/web/app/immutable/chunks/{CJHIllR1.js → CrEMns9K.js} +1 -1
  178. package/web/app/immutable/chunks/{DXB4L22V.js → CrsbEWnE.js} +1 -1
  179. package/web/app/immutable/chunks/{BNFLngEB.js → Csh6XB2J.js} +1 -1
  180. package/web/app/immutable/chunks/{BaodMpKG.js → CsyhqW-P.js} +1 -1
  181. package/web/app/immutable/chunks/{DOuyIvfN.js → CuPx_r7k.js} +1 -1
  182. package/web/app/immutable/chunks/{BD47nZkr.js → Cy9hcA7q.js} +1 -1
  183. package/web/app/immutable/chunks/{CjZEyjv4.js → D-rRuAXZ.js} +1 -1
  184. package/web/app/immutable/chunks/{B7o2QL9R.js → D0R3sca1.js} +1 -1
  185. package/web/app/immutable/chunks/{DoStKyYK.js → D20kqX2U.js} +2 -2
  186. package/web/app/immutable/chunks/{DOU-V4Cg.js → D2mnZ9kC.js} +2 -2
  187. package/web/app/immutable/chunks/{DZjKvOyB.js → D5Tu5Sg8.js} +1 -1
  188. package/web/app/immutable/chunks/{DTU57FsX.js → D7Dfbf5g.js} +1 -1
  189. package/web/app/immutable/chunks/{D5u143LD.js → D8XzixBC.js} +1 -1
  190. package/web/app/immutable/chunks/{CPel99qV.js → DDb9H7X6.js} +3 -3
  191. package/web/app/immutable/chunks/{DltbAw1B.js → DDrpCbke.js} +1 -1
  192. package/web/app/immutable/chunks/{Dm9EHXJZ.js → DEDo4DeD.js} +4 -4
  193. package/web/app/immutable/chunks/{Cx6Utm5I.js → DErxk4N4.js} +1 -1
  194. package/web/app/immutable/chunks/{DfOxl3xY.js → DEs9kPtf.js} +1 -1
  195. package/web/app/immutable/chunks/{DhHLTWgE.js → DGMrUmNq.js} +1 -1
  196. package/web/app/immutable/chunks/{BCx-pM-8.js → DGVdJiQ7.js} +1 -1
  197. package/web/app/immutable/chunks/{DcACHBPs.js → DHf7N1bI.js} +1 -1
  198. package/web/app/immutable/chunks/{CvxVjZLu.js → DI71nFp4.js} +1 -1
  199. package/web/app/immutable/chunks/{AXE1aiRo.js → DJPIUVkw.js} +1 -1
  200. package/web/app/immutable/chunks/{BWmYJDmC.js → DLCFUd4s.js} +1 -1
  201. package/web/app/immutable/chunks/{2V6-Yhg-.js → DM1_VFfD.js} +1 -1
  202. package/web/app/immutable/chunks/{BFc0Rlfo.js → DMeCi1eF.js} +1 -1
  203. package/web/app/immutable/chunks/{Bs8vOu-_.js → DPR_clFy.js} +1 -1
  204. package/web/app/immutable/chunks/{RzextV4B.js → DPY-p9P3.js} +2 -2
  205. package/web/app/immutable/chunks/{7Em2EC6e.js → DQT1hnTe.js} +1 -1
  206. package/web/app/immutable/chunks/{CU_25eHm.js → DR6M_MBd.js} +1 -1
  207. package/web/app/immutable/chunks/{D0I7VQ8a.js → DSiGyv9Y.js} +1 -1
  208. package/web/app/immutable/chunks/{mLzVJBUx.js → DTDtxEAk.js} +1 -1
  209. package/web/app/immutable/chunks/{CSIAWhhl.js → DUAtqTLU.js} +1 -1
  210. package/web/app/immutable/chunks/{CU89eAKc.js → DV7x43jt.js} +1 -1
  211. package/web/app/immutable/chunks/{BEvFtidS.js → DWa-2rkZ.js} +1 -1
  212. package/web/app/immutable/chunks/{CRFehAxF.js → DX9N1RQz.js} +1 -1
  213. package/web/app/immutable/chunks/{DB4f78Ip.js → D_VvdZe2.js} +1 -1
  214. package/web/app/immutable/chunks/{BNm3whw0.js → Da-Blgd9.js} +1 -1
  215. package/web/app/immutable/chunks/{BXT21uPn.js → DcOkWaeN.js} +1 -1
  216. package/web/app/immutable/chunks/{Ct8L3-dh.js → DgJnzjEh.js} +1 -1
  217. package/web/app/immutable/chunks/{Jh2BVut2.js → DiURwJNX.js} +1 -1
  218. package/web/app/immutable/chunks/{C5tAJtyd.js → DlU1rxYV.js} +1 -1
  219. package/web/app/immutable/chunks/{BQ1b28aV.js → DlUpt_0u.js} +1 -1
  220. package/web/app/immutable/chunks/{ez7LBTR9.js → DlWS0XX3.js} +1 -1
  221. package/web/app/immutable/chunks/{h3LTJhAu.js → DmhHa5tp.js} +1 -1
  222. package/web/app/immutable/chunks/{DAzQ7i2U.js → Dmn1abz2.js} +1 -1
  223. package/web/app/immutable/chunks/{Dl9we4aZ.js → DnLmeVJZ.js} +1 -1
  224. package/web/app/immutable/chunks/{1MN-thc1.js → Do2KlQU0.js} +1 -1
  225. package/web/app/immutable/chunks/DoOue2dc.js +2 -0
  226. package/web/app/immutable/chunks/{2ndYjFQq.js → Dp8FVKoA.js} +1 -1
  227. package/web/app/immutable/chunks/{Chx7ONT3.js → DqAYkzSz.js} +1 -1
  228. package/web/app/immutable/chunks/{hcDGwCEP.js → DrTTxENT.js} +1 -1
  229. package/web/app/immutable/chunks/{BqCuw50f.js → DsfORPYa.js} +1 -1
  230. package/web/app/immutable/chunks/{CcSZrbR4.js → DtqPBHQj.js} +1 -1
  231. package/web/app/immutable/chunks/{BEpYOO0x.js → DtyEiVnc.js} +1 -1
  232. package/web/app/immutable/chunks/{CXCw-Jw-.js → DuAAGnM9.js} +1 -1
  233. package/web/app/immutable/chunks/{CAmQkXZq.js → Dval4sTX.js} +1 -1
  234. package/web/app/immutable/chunks/{CJtFSxbf.js → Dvi4g0xk.js} +1 -1
  235. package/web/app/immutable/chunks/Dws-34a7.js +1 -0
  236. package/web/app/immutable/chunks/{BBV_EtXR.js → Dx3P5K2z.js} +1 -1
  237. package/web/app/immutable/chunks/{BdnR40vX.js → DxC0zTSc.js} +1 -1
  238. package/web/app/immutable/chunks/{CBZTF7Qa.js → DxPvfI2H.js} +4 -4
  239. package/web/app/immutable/chunks/{DbDI5c8r.js → Dxfvrgme.js} +1 -1
  240. package/web/app/immutable/chunks/{BhpCwvYl.js → DyZa5hX5.js} +1 -1
  241. package/web/app/immutable/chunks/{Bc3o0U_Z.js → Ex_x2wO5.js} +1 -1
  242. package/web/app/immutable/chunks/{B8nUpMEz.js → GIVowYni.js} +1 -1
  243. package/web/app/immutable/chunks/{CP9jggxp.js → Gt7Fxn5w.js} +1 -1
  244. package/web/app/immutable/chunks/{C0A3yiL9.js → HU1Ksz8U.js} +1 -1
  245. package/web/app/immutable/chunks/{wZz1J3UE.js → IIW6JGdD.js} +1 -1
  246. package/web/app/immutable/chunks/{BvFRd1je.js → JM7CQkWC.js} +1 -1
  247. package/web/app/immutable/chunks/{CceLSCZq.js → K8u-JjT9.js} +1 -1
  248. package/web/app/immutable/chunks/{oki3b9jv.js → L7Esr5Id.js} +1 -1
  249. package/web/app/immutable/chunks/{CGaMCAik.js → LQRHF1eM.js} +1 -1
  250. package/web/app/immutable/chunks/{x019Lcmv.js → OGqbAD_O.js} +1 -1
  251. package/web/app/immutable/chunks/{CbDsELcV.js → OrN9D77d.js} +3 -3
  252. package/web/app/immutable/chunks/{DZEg_JlV.js → PhAbES0t.js} +1 -1
  253. package/web/app/immutable/chunks/{BaJMqkSd.js → QRUY44Ff.js} +1 -1
  254. package/web/app/immutable/chunks/{9Bk8hwX5.js → RHSH5iZ7.js} +1 -1
  255. package/web/app/immutable/chunks/{C9aF-Sor.js → SbTG0nwQ.js} +1 -1
  256. package/web/app/immutable/chunks/{CyYfX9fz.js → TT8yXpG-.js} +1 -1
  257. package/web/app/immutable/chunks/{C4VXXfVL.js → U7dpdlAf.js} +1 -1
  258. package/web/app/immutable/chunks/{Bcb1iqQJ.js → VeUh5OMZ.js} +1 -1
  259. package/web/app/immutable/chunks/Whej1Dge.js +1 -0
  260. package/web/app/immutable/chunks/{DaZ7K0cS.js → Z9NyJp9w.js} +3 -3
  261. package/web/app/immutable/chunks/{DCGl0RXW.js → ZRNKCUqe.js} +47 -47
  262. package/web/app/immutable/chunks/{CUWtSiZ5.js → _2VCBG9z.js} +1 -1
  263. package/web/app/immutable/chunks/{DZAKdz0-.js → ada9rZfE.js} +1 -1
  264. package/web/app/immutable/chunks/{BzllE3aT.js → d8NijX_Z.js} +2 -2
  265. package/web/app/immutable/chunks/{BLZhAOLT.js → deEweluJ.js} +1 -1
  266. package/web/app/immutable/chunks/{Do6vtrQf.js → dmZv6JOg.js} +1 -1
  267. package/web/app/immutable/chunks/{D2LsUZli.js → e9nNeD_8.js} +1 -1
  268. package/web/app/immutable/chunks/{BJHkJxQ6.js → fHygQTSC.js} +1 -1
  269. package/web/app/immutable/chunks/{CbqBbwIN.js → gU2qspu9.js} +1 -1
  270. package/web/app/immutable/chunks/{-J-Hmuck.js → h8JtxU_T.js} +1 -1
  271. package/web/app/immutable/chunks/{MsC14vMO.js → hNQ1u1TD.js} +1 -1
  272. package/web/app/immutable/chunks/{Df-2xtN9.js → hYcAQyax.js} +1 -1
  273. package/web/app/immutable/chunks/{jiLgt56M.js → i0UHQwRY.js} +1 -1
  274. package/web/app/immutable/chunks/{HQDMr2H7.js → iCWz6IE9.js} +1 -1
  275. package/web/app/immutable/chunks/{CbaFGz2w.js → jBG7W4tL.js} +1 -1
  276. package/web/app/immutable/chunks/{oRcurxpq.js → lTwh0Wzj.js} +1 -1
  277. package/web/app/immutable/chunks/{DyHx5QFY.js → nwO3KCpP.js} +1 -1
  278. package/web/app/immutable/chunks/{05jEdw2V.js → pMP23LzB.js} +1 -1
  279. package/web/app/immutable/chunks/{BJTYazIn.js → pomj9evG.js} +1 -1
  280. package/web/app/immutable/chunks/{WWSsQ21S.js → rEslErv9.js} +1 -1
  281. package/web/app/immutable/chunks/{x_GKKTQV.js → rXKOJqUt.js} +1 -1
  282. package/web/app/immutable/chunks/{McOgUz0K.js → sOF-qTei.js} +1 -1
  283. package/web/app/immutable/chunks/{BXyd6A9p.js → sSXTMg2P.js} +1 -1
  284. package/web/app/immutable/chunks/{B0fUscDD.js → tLFaYuVN.js} +1 -1
  285. package/web/app/immutable/chunks/{BEiVNbJd.js → tuKjkgzS.js} +1 -1
  286. package/web/app/immutable/chunks/{Ipu7_2rx.js → v3_7O0A0.js} +1 -1
  287. package/web/app/immutable/chunks/{DZnKNdAN.js → vdylZNCS.js} +1 -1
  288. package/web/app/immutable/chunks/{ChdMCKvy.js → vyUklWDK.js} +1 -1
  289. package/web/app/immutable/chunks/{DU4sJYad.js → wiGlLVr-.js} +1 -1
  290. package/web/app/immutable/chunks/{CCPr9hs_.js → yDmmPu6L.js} +1 -1
  291. package/web/app/immutable/chunks/{Dv-bjgEk.js → zB9UbdEg.js} +1 -1
  292. package/web/app/immutable/entry/{app.CHgb5yMQ.js → app.DEnhhDc1.js} +3 -3
  293. package/web/app/immutable/entry/start.Cmawmwgw.js +1 -0
  294. package/web/app/immutable/nodes/{0.DECevrtM.js → 0.DLkagS9u.js} +1 -1
  295. package/web/app/immutable/nodes/{1.LZZdSQoJ.js → 1.ChB9puqR.js} +1 -1
  296. package/web/app/immutable/nodes/10.B3YEuSxS.js +39 -0
  297. package/web/app/immutable/nodes/{11.D5CTYtT6.js → 11.rgOqEz2U.js} +1 -1
  298. package/web/app/immutable/nodes/{12.iQywXLwT.js → 12.D6rxlIQy.js} +1 -1
  299. package/web/app/immutable/nodes/{13.m6xe0bMv.js → 13.CHYsmiD_.js} +1 -1
  300. package/web/app/immutable/nodes/{14.CyaNpqAL.js → 14.mG-YN9pn.js} +3 -3
  301. package/web/app/immutable/nodes/{15.5st_fzCN.js → 15.CgSxPoXZ.js} +1 -1
  302. package/web/app/immutable/nodes/{16.MUmBS-bv.js → 16.BsFtzH0D.js} +1 -1
  303. package/web/app/immutable/nodes/{17.C_k1qpf6.js → 17.me_aOx8O.js} +1 -1
  304. package/web/app/immutable/nodes/{18.BjTfofOz.js → 18.BO1oZWgm.js} +1 -1
  305. package/web/app/immutable/nodes/{19.wB7XsK3B.js → 19.DS0Anfm0.js} +2 -2
  306. package/web/app/immutable/nodes/{2.C7whbYui.js → 2.BB55cMHs.js} +4 -4
  307. package/web/app/immutable/nodes/{20.DuDV-BZU.js → 20.LbRPieV_.js} +1 -1
  308. package/web/app/immutable/nodes/{3.KbBbpAm6.js → 3.B1suR6zI.js} +1 -1
  309. package/web/app/immutable/nodes/{4.C1b_QyI0.js → 4.BdkLcCps.js} +1 -1
  310. package/web/app/immutable/nodes/{5.CG-B5vOM.js → 5.DlFTrLdG.js} +1 -1
  311. package/web/app/immutable/nodes/{6.v-GnNHdu.js → 6.EdJoOCRv.js} +1 -1
  312. package/web/app/immutable/nodes/{7.D9LU-AZb.js → 7.iPBOmxFo.js} +1 -1
  313. package/web/app/immutable/nodes/{8.BJP_1POW.js → 8.BRpg5Nn-.js} +1 -1
  314. package/web/app/immutable/nodes/{9.f8mHa7_b.js → 9.CeyWcdBf.js} +4 -4
  315. package/web/app/version.json +1 -1
  316. package/web/generated/paraglide.js +49 -49
  317. package/web/index.html +18 -18
  318. package/web/app/immutable/chunks/B8evz7o6.js +0 -2
  319. package/web/app/immutable/chunks/C0P2MUJp.js +0 -1
  320. package/web/app/immutable/chunks/D8elUKsb.js +0 -158
  321. package/web/app/immutable/chunks/DY52XPja.js +0 -2
  322. package/web/app/immutable/chunks/KU76P7cR.js +0 -1
  323. package/web/app/immutable/chunks/akx8_VtJ.js +0 -1
  324. package/web/app/immutable/chunks/hY0rMePc.js +0 -1
  325. package/web/app/immutable/entry/start.CINDVXKj.js +0 -1
  326. package/web/app/immutable/nodes/10.KUh1filM.js +0 -39
@@ -1 +1 @@
1
- import{t as Be,bo as K,bm as L,bw as qe,b as je,bs as Ie,bq as at,br as xt}from"./hY0rMePc.js";import{bs as Ge,bj as bt,a5 as u,bA as c,b_ as x,W as r,bn as Ne,aA as U,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Ce,ca as yt,bk as st,bH as Pe,bV as Oe,a7 as fe,be as $e,b$ as ke,bO as O,bl as Ae}from"./3SdAC2_C.js";import{i as X}from"./BWmYJDmC.js";import{k as ot}from"./CXul4WJt.js";import{g as De}from"./D400ElMz.js";import{c as P}from"./BNN0vAFF.js";import{s as Ee,f as Ue,c as Ye,b as Qe}from"./leDczq9h.js";import{P as He,h as Le,i as Me,g as We}from"./x_GKKTQV.js";import{S as T,E as At}from"./CbaFGz2w.js";import"./rNjiZ_3W.js";import{w as Pt}from"./O63l2zGE.js";import{C as Tt}from"./DVL_BM5a.js";import{E as Ze}from"./D0I7VQ8a.js";import"./DnHJL326.js";import{Jx as xe,fy as Rt,Ft as nt,DO as it,q2 as Dt}from"./DXdFemRu.js";import{a_ as lt,aX as It,aY as St,dJ as zt}from"./C9aF-Sor.js";import{e as Et,r as Ht}from"./KMO8sO00.js";import{M as Lt}from"./Dm9EHXJZ.js";import{G as Mt}from"./BmALJKBY.js";import{A as et}from"./Djz9uuuA.js";import{M as Wt,e as Ft}from"./DpeQIGDn.js";import{o as Ct}from"./CK2Cr1RP.js";import{f as Fe}from"./CIU_APaR.js";import{S as Se}from"./BJTYazIn.js";import{F as ze,a2 as Ot,d3 as Bt,aw as qt,bn as jt}from"./DETS1-K4.js";var Gt=m('<div class="space-y-3"><!> <!></div>'),Nt=m('<div class="space-y-3"><!> <!></div> <!>',1),Jt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Vt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Xt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Kt=m('<div class="flex h-10 items-center px-3"><!></div>'),Ut=m("<div><!> <!> <!> <!></div>"),Yt=m("<!> <!>",1),Qt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Be({component:dt,...b});Ge(l,!0);const Y=Pt();bt(Y.cleanup);let S=K(l,"detail",7,!1),B=K(l,"count",7,5),Q=K(l,"view",7,"list"),Z=K(l,"grouped",7,!1),s=K(l,"rows",7,"workspace");var z={get detail(){return S()},set detail(i=!1){S(i),U()},get count(){return B()},set count(i=5){B(i),U()},get view(){return Q()},set view(i="list"){Q(i),U()},get grouped(){return Z()},set grouped(i=!1){Z(i),U()},get rows(){return s()},set rows(i="workspace"){s(i),U()},$set:qe,$on:(i,D)=>je(l,i,D)},y=Qt(),ie=u(y),be=u(ie);{var le=i=>{var D=Nt(),g=R(D),ee=u(g);T(ee,{class:"h-6 w-4/5"});var M=n(ee,2);T(M,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);De(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Gt(),te=u(k);T(te,{class:"h-3 w-full"});var q=n(te,2);T(q,{class:"h-3 w-5/6"}),c(k),r(h,k)}),r(i,D)},Te=i=>{var D=Xt();De(D,20,()=>[0,1,2],g=>g,(g,ee)=>{var M=Vt(),d=u(M),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);De(A,16,()=>[0,1,2],k=>k,(k,te)=>{var q=Jt(),de=u(q),re=u(de);T(re,{class:"h-4 flex-1"});var ce=n(re);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var j=n(w);T(j,{class:"h-3 w-6"}),c(o),c(q),r(k,q)}),c(M),r(g,M)}),c(D),r(i,D)},_e=i=>{var D=Yt(),g=R(D);{var ee=d=>{var h=Kt(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),r(d,h)};X(g,d=>{Z()&&d(ee)})}var M=n(g,2);De(M,16,()=>Array.from({length:B()},(d,h)=>h),d=>d,(d,h)=>{var A=Ut(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var q=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},re=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};X(q,o=>{s()==="workspace"?o(de):s()==="integration"&&o(re,1)})}var ce=n(q,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};X(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Ue(A,1,Ye(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),r(d,A)}),r(i,D)};X(be,i=>{S()?i(le):Q()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{Ee(y,"aria-label",i),Ee(y,"data-reduced",Y.current),Ue(ie,1,Ye(S()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>L.home_integrations_loading()]),r(b,y),Ne(z)}function ct(b){return b.filter(Et)}function Zt(){let b=null;return(l,Y)=>{const S=b?l.find(Q=>Q.id===b):void 0;if(S)return S;const B=Ht(l);return b=Y&&B?String(B.id):null,B}}function er(b,l,Y){return l&&b.find(S=>S.id===l)||Y}var tr=m('<div class="p-4"><!></div>'),rr=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Be({component:vt,...b});Ge(l,!0);const Y=()=>Ie(ie,"$agents$",B),S=()=>Ie(be,"$loaded$",B),[B,Q]=at();let Z=K(l,"workspace",7),s=K(l,"preview",7,!1),z=K(l,"agent",7);const y=Ce(()=>Z().id),ie=lt(y),be=It(y),le=$(()=>ct(Y())),Te=$(()=>s()?void 0:z()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<Lt||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Oe(void 0),i=0;function D(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Oe(!1),ee;function M(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(Dt(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||M(),()=>clearTimeout(ee)));var d={focusAttention:D,get workspace(){return Z()},set workspace(t){Z(t),U()},get preview(){return s()},set preview(t=!1){s(t),U()},get agent(){return z()},set agent(t){z(t),U()},$set:qe,$on:(t,o)=>je(l,t,o)},h=rr(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var j=ke();x(ae=>O(j,ae),[()=>L.agentOverview_hierarchyGraph_noAgents_title()]),r(w,j)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>z().id,j=>{{let ae=$(()=>e(_e)?.agentId===z().id?e(_e):void 0);Tt(j,{get workspace(){return Z()},get agentId(){return z().id},get agentName(){return z().name},autoFocus:!1,isFallbackPromptTarget:!0,get attentionFocusRequest(){return e(ae)},isInitialWorkspaceAgent:!1})}}),r(t,o)},q=t=>{var o=tr(),w=u(o);dt(w,{detail:!0}),c(o),r(t,o)},de=t=>{{const o=j=>{$e();var ae=ke();x(ye=>O(ae,ye),[()=>L.home_detail_unavailable()]),r(j,ae)};let w=$(()=>L.home_retry());At(t,{density:"compact",get retryLabel(){return e(w)},onRetry:M,message:o,$$slots:{message:!0}})}},re=t=>{{const o=j=>{$e();var ae=ke();x(ye=>O(ae,ye),[()=>L.agentOverview_hierarchyGraph_noAgents_title()]),r(j,ae)};let w=$(()=>L.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:M,title:o,$$slots:{title:!0}})}};X(A,t=>{s()?t(k):z()?t(te,1):!S()&&!e(g)?t(q,2):S()?t(re,-1):t(de,3)})}c(h),x(()=>Ee(h,"data-workspace-link-target",Z().id)),r(b,h);var ce=Ne(d);return Q(),ce}var ar=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sr=m('<div class="shrink-0"><!></div>'),or=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),rt=m("<!><!>",1),nr=m("<p> </p>"),ir=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),lr=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),dr=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),cr=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),vr=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ur(b,l){if(new.target)return Be({component:ur,...b});Ge(l,!0);const Y=()=>Ie(_e,"$readRevision$",Q),S=()=>Ie(Te,"$agents$",Q),B=()=>Ie(D,"$pickedId$",Q),[Q,Z]=at();let s=K(l,"workspace",7),z=K(l,"onclose",7),y=K(l,"preview",7,!1),ie=K(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:L.workspace_links_untitled_label()),le=Ce(()=>s().id),Te=lt(le),_e=St(le),i=Ce(()=>Y()),D=Wt(le),g=$(()=>ct(S())),ee=Zt(),M=$(()=>ee(e(g),Y()>i)),d=$(()=>er(e(g),B(),e(M)));function h(a){xe.dispatch(nt(le,a)),xe.dispatch(it(le,a))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Oe(!1);async function te(){Pe(k,!1);try{await Ft(s().id),Pe(k,!zt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function q(){Ct(s().id)}var de={get workspace(){return s()},set workspace(a){s(a),U()},get onclose(){return z()},set onclose(a){z(a),U()},get preview(){return y()},set preview(a=!1){y(a),U()},get showBackToList(){return ie()},set showBackToList(a=!0){ie(a),U()},$set:qe,$on:(a,f)=>je(l,a,f)},re=vr(),ce=u(re),t=u(ce),o=u(t),w=u(o);P(w,()=>He,(a,f)=>{f(a,{children:(G,oe)=>{var N=fe(),W=R(N);P(W,()=>Le,(ve,E)=>{E(ve,{children:(J,ge)=>{var me=tt(),ne=R(me);{const F=(H,C)=>{let I=()=>(C?.()).props;{let v=$(()=>L.home_open_workspace());Fe(H,xt(I,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:q,children:(p,V)=>{var _=ar(),se=R(_),ue=Ae(se,!0),we=n(se,2);ze(we,{get icon(){return Ot},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>O(ue,e(be))),r(p,_)},$$slots:{default:!0}}))}};P(ne,()=>Me,(H,C)=>{C(H,{child:F,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(F,H)=>{H(F,{children:(C,I)=>{$e();var v=ke();x(()=>O(v,e(be))),r(C,v)},$$slots:{default:!0}})}),r(J,me)},$$slots:{default:!0}})}),r(G,N)},$$slots:{default:!0}})}),c(o);var j=n(o,2);{var ae=a=>{var f=sr(),G=u(f);{let oe=$(()=>L.home_close_preview()),N=$(()=>L.home_close_preview());Fe(G,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(N)},get onclick(){return z()},children:(W,ve)=>{ze(W,{get icon(){return Bt}})},$$slots:{default:!0}})}c(f),r(a,f)};X(j,a=>{ie()&&a(ae)})}c(t);var ye=n(t,2);{var ut=a=>{var f=fe(),G=R(f);P(G,()=>He,(oe,N)=>{N(oe,{children:(W,ve)=>{var E=fe(),J=R(E);P(J,()=>Le,(ge,me)=>{me(ge,{children:(ne,he)=>{var F=rt(),H=R(F);{const I=(v,p)=>{let V=()=>(p?.()).props;var _=or();Qe(_,()=>({...V(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{Mt(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{ze(pe,{get icon(){return jt}})};X(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Ke=n(se,2),Re=Ae(Ke,!0);c(_),x(()=>O(Re,e(A))),r(v,_)};P(H,()=>Me,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var C=n(H);P(C,()=>We,(I,v)=>{v(I,{children:(p,V)=>{$e();var _=ke();x(()=>O(_,e(A))),r(p,_)},$$slots:{default:!0}})}),r(ne,F)},$$slots:{default:!0}})}),r(W,E)},$$slots:{default:!0}})}),r(a,f)};X(ye,a=>{e(A)&&a(ut)})}var pt=n(ye,2);{var mt=a=>{var f=fe(),G=R(f);P(G,()=>He,(oe,N)=>{N(oe,{children:(W,ve)=>{var E=fe(),J=R(E);P(J,()=>Le,(ge,me)=>{me(ge,{children:(ne,he)=>{var F=rt(),H=R(F);{const I=(v,p)=>{let V=()=>(p?.()).props;var _=nr();Qe(_,()=>({...V(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>O(se,s().statusMessage)),r(v,_)};P(H,()=>Me,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var C=n(H);P(C,()=>We,(I,v)=>{v(I,{children:(p,V)=>{$e();var _=ke();x(()=>O(_,s().statusMessage)),r(p,_)},$$slots:{default:!0}})}),r(ne,F)},$$slots:{default:!0}})}),r(W,E)},$$slots:{default:!0}})}),r(a,f)};X(pt,a=>{s().statusMessage&&a(mt)})}c(ce);var Je=n(ce,2);{var ft=a=>{var f=dr(),G=u(f);{let oe=$(()=>e(d)?.id??"");P(G,()=>Se.Root,(N,W)=>{W(N,{get value(){return e(oe)},onchange:ve=>{const E=e(g).find(J=>J.id===ve);E&&h(E.id)},children:(ve,E)=>{var J=tt(),ge=R(J);{let ne=$(()=>L.home_agents());P(ge,()=>Se.Trigger,(he,F)=>{F(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(H,C)=>{var I=ir(),v=R(I);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};X(v,ue=>{e(d)&&ue(p)})}var V=n(v,2),_=Ae(V,!0),se=n(V,2);ze(se,{get icon(){return qt},class:"shrink-0 text-muted-foreground"}),x(()=>O(_,e(d)?.name)),r(H,I)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Se.Content,(ne,he)=>{he(ne,{portal:!0,children:(F,H)=>{var C=fe(),I=R(C);De(I,17,()=>e(g),v=>v.id,(v,p)=>{var V=fe(),_=R(V);P(_,()=>Se.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Ke)=>{var Re=lr(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>O($t,e(p).name)),r(we,Re)},$$slots:{default:!0}})}),r(v,V)}),r(F,C)},$$slots:{default:!0}})}),r(ve,J)},$$slots:{default:!0}})})}c(f),r(a,f)};X(Je,a=>{e(g).length&&a(ft)})}var Ve=n(Je,2);{var _t=a=>{var f=cr(),G=u(f),oe=Ae(G,!0),N=n(G,2);Fe(N,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var E=ke();x(J=>O(E,J),[()=>L.home_retry()]),r(W,E)},$$slots:{default:!0}}),c(f),x(W=>O(oe,W),[()=>L.home_detail_unavailable()]),r(a,f)};X(Ve,a=>{e(k)&&a(_t)})}var Xe=n(Ve,2),gt=u(Xe);ot(gt,()=>s().id,a=>{vt(a,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Xe),c(re),x(a=>Ee(re,"aria-label",a),[()=>L.home_workspace_details()]),r(b,re);var ht=Ne(de);return Z(),ht}export{dt as H,ur as a};
1
+ import{t as Be,bo as K,bm as L,bw as qe,b as je,bs as Ie,bq as at,br as xt}from"./Dws-34a7.js";import{bs as Ge,bj as bt,a5 as u,bA as c,b_ as x,W as r,bn as Ne,aA as U,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Ce,ca as yt,bk as st,bH as Pe,bV as Oe,a7 as fe,be as $e,b$ as ke,bO as O,bl as Ae}from"./3SdAC2_C.js";import{i as X}from"./DLCFUd4s.js";import{k as ot}from"./5-0LQoqd.js";import{g as De}from"./C-zB-6G6.js";import{c as P}from"./B5tvpTFB.js";import{s as Ee,f as Ue,c as Ye,b as Qe}from"./BD9db4FR.js";import{P as He,h as Le,i as Me,g as We}from"./rXKOJqUt.js";import{S as T,E as At}from"./jBG7W4tL.js";import"./BPuz5cN_.js";import{w as Pt}from"./COgn_CzG.js";import{C as Tt}from"./0oyPeRI9.js";import{E as Ze}from"./DSiGyv9Y.js";import"./C_SKcJv7.js";import{Jx as xe,fy as Rt,Ft as nt,DO as it,q2 as Dt}from"./4g_iHoQm.js";import{a_ as lt,aX as It,aY as St,dJ as zt}from"./SbTG0nwQ.js";import{e as Et,r as Ht}from"./CI0C7_h-.js";import{M as Lt}from"./DEDo4DeD.js";import{G as Mt}from"./CR-JVxLD.js";import{A as et}from"./BvbeTrka.js";import{M as Wt,e as Ft}from"./BHEogMS0.js";import{o as Ct}from"./0RCk28l5.js";import{f as Fe}from"./BIGqOuh0.js";import{S as Se}from"./pomj9evG.js";import{F as ze,a2 as Ot,d3 as Bt,aw as qt,bn as jt}from"./CGYPBD6G.js";var Gt=m('<div class="space-y-3"><!> <!></div>'),Nt=m('<div class="space-y-3"><!> <!></div> <!>',1),Jt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Vt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Xt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Kt=m('<div class="flex h-10 items-center px-3"><!></div>'),Ut=m("<div><!> <!> <!> <!></div>"),Yt=m("<!> <!>",1),Qt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Be({component:dt,...b});Ge(l,!0);const Y=Pt();bt(Y.cleanup);let S=K(l,"detail",7,!1),B=K(l,"count",7,5),Q=K(l,"view",7,"list"),Z=K(l,"grouped",7,!1),s=K(l,"rows",7,"workspace");var z={get detail(){return S()},set detail(i=!1){S(i),U()},get count(){return B()},set count(i=5){B(i),U()},get view(){return Q()},set view(i="list"){Q(i),U()},get grouped(){return Z()},set grouped(i=!1){Z(i),U()},get rows(){return s()},set rows(i="workspace"){s(i),U()},$set:qe,$on:(i,D)=>je(l,i,D)},y=Qt(),ie=u(y),be=u(ie);{var le=i=>{var D=Nt(),g=R(D),ee=u(g);T(ee,{class:"h-6 w-4/5"});var M=n(ee,2);T(M,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);De(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Gt(),te=u(k);T(te,{class:"h-3 w-full"});var q=n(te,2);T(q,{class:"h-3 w-5/6"}),c(k),r(h,k)}),r(i,D)},Te=i=>{var D=Xt();De(D,20,()=>[0,1,2],g=>g,(g,ee)=>{var M=Vt(),d=u(M),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);De(A,16,()=>[0,1,2],k=>k,(k,te)=>{var q=Jt(),de=u(q),re=u(de);T(re,{class:"h-4 flex-1"});var ce=n(re);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var j=n(w);T(j,{class:"h-3 w-6"}),c(o),c(q),r(k,q)}),c(M),r(g,M)}),c(D),r(i,D)},_e=i=>{var D=Yt(),g=R(D);{var ee=d=>{var h=Kt(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),r(d,h)};X(g,d=>{Z()&&d(ee)})}var M=n(g,2);De(M,16,()=>Array.from({length:B()},(d,h)=>h),d=>d,(d,h)=>{var A=Ut(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var q=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},re=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};X(q,o=>{s()==="workspace"?o(de):s()==="integration"&&o(re,1)})}var ce=n(q,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};X(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Ue(A,1,Ye(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),r(d,A)}),r(i,D)};X(be,i=>{S()?i(le):Q()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{Ee(y,"aria-label",i),Ee(y,"data-reduced",Y.current),Ue(ie,1,Ye(S()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>L.home_integrations_loading()]),r(b,y),Ne(z)}function ct(b){return b.filter(Et)}function Zt(){let b=null;return(l,Y)=>{const S=b?l.find(Q=>Q.id===b):void 0;if(S)return S;const B=Ht(l);return b=Y&&B?String(B.id):null,B}}function er(b,l,Y){return l&&b.find(S=>S.id===l)||Y}var tr=m('<div class="p-4"><!></div>'),rr=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Be({component:vt,...b});Ge(l,!0);const Y=()=>Ie(ie,"$agents$",B),S=()=>Ie(be,"$loaded$",B),[B,Q]=at();let Z=K(l,"workspace",7),s=K(l,"preview",7,!1),z=K(l,"agent",7);const y=Ce(()=>Z().id),ie=lt(y),be=It(y),le=$(()=>ct(Y())),Te=$(()=>s()?void 0:z()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<Lt||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Oe(void 0),i=0;function D(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Oe(!1),ee;function M(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(Dt(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||M(),()=>clearTimeout(ee)));var d={focusAttention:D,get workspace(){return Z()},set workspace(t){Z(t),U()},get preview(){return s()},set preview(t=!1){s(t),U()},get agent(){return z()},set agent(t){z(t),U()},$set:qe,$on:(t,o)=>je(l,t,o)},h=rr(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var j=ke();x(ae=>O(j,ae),[()=>L.agentOverview_hierarchyGraph_noAgents_title()]),r(w,j)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>z().id,j=>{{let ae=$(()=>e(_e)?.agentId===z().id?e(_e):void 0);Tt(j,{get workspace(){return Z()},get agentId(){return z().id},get agentName(){return z().name},autoFocus:!1,isFallbackPromptTarget:!0,get attentionFocusRequest(){return e(ae)},isInitialWorkspaceAgent:!1})}}),r(t,o)},q=t=>{var o=tr(),w=u(o);dt(w,{detail:!0}),c(o),r(t,o)},de=t=>{{const o=j=>{$e();var ae=ke();x(ye=>O(ae,ye),[()=>L.home_detail_unavailable()]),r(j,ae)};let w=$(()=>L.home_retry());At(t,{density:"compact",get retryLabel(){return e(w)},onRetry:M,message:o,$$slots:{message:!0}})}},re=t=>{{const o=j=>{$e();var ae=ke();x(ye=>O(ae,ye),[()=>L.agentOverview_hierarchyGraph_noAgents_title()]),r(j,ae)};let w=$(()=>L.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:M,title:o,$$slots:{title:!0}})}};X(A,t=>{s()?t(k):z()?t(te,1):!S()&&!e(g)?t(q,2):S()?t(re,-1):t(de,3)})}c(h),x(()=>Ee(h,"data-workspace-link-target",Z().id)),r(b,h);var ce=Ne(d);return Q(),ce}var ar=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sr=m('<div class="shrink-0"><!></div>'),or=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),rt=m("<!><!>",1),nr=m("<p> </p>"),ir=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),lr=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),dr=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),cr=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),vr=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ur(b,l){if(new.target)return Be({component:ur,...b});Ge(l,!0);const Y=()=>Ie(_e,"$readRevision$",Q),S=()=>Ie(Te,"$agents$",Q),B=()=>Ie(D,"$pickedId$",Q),[Q,Z]=at();let s=K(l,"workspace",7),z=K(l,"onclose",7),y=K(l,"preview",7,!1),ie=K(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:L.workspace_links_untitled_label()),le=Ce(()=>s().id),Te=lt(le),_e=St(le),i=Ce(()=>Y()),D=Wt(le),g=$(()=>ct(S())),ee=Zt(),M=$(()=>ee(e(g),Y()>i)),d=$(()=>er(e(g),B(),e(M)));function h(a){xe.dispatch(nt(le,a)),xe.dispatch(it(le,a))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Oe(!1);async function te(){Pe(k,!1);try{await Ft(s().id),Pe(k,!zt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function q(){Ct(s().id)}var de={get workspace(){return s()},set workspace(a){s(a),U()},get onclose(){return z()},set onclose(a){z(a),U()},get preview(){return y()},set preview(a=!1){y(a),U()},get showBackToList(){return ie()},set showBackToList(a=!0){ie(a),U()},$set:qe,$on:(a,f)=>je(l,a,f)},re=vr(),ce=u(re),t=u(ce),o=u(t),w=u(o);P(w,()=>He,(a,f)=>{f(a,{children:(G,oe)=>{var N=fe(),W=R(N);P(W,()=>Le,(ve,E)=>{E(ve,{children:(J,ge)=>{var me=tt(),ne=R(me);{const F=(H,C)=>{let I=()=>(C?.()).props;{let v=$(()=>L.home_open_workspace());Fe(H,xt(I,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:q,children:(p,V)=>{var _=ar(),se=R(_),ue=Ae(se,!0),we=n(se,2);ze(we,{get icon(){return Ot},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>O(ue,e(be))),r(p,_)},$$slots:{default:!0}}))}};P(ne,()=>Me,(H,C)=>{C(H,{child:F,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(F,H)=>{H(F,{children:(C,I)=>{$e();var v=ke();x(()=>O(v,e(be))),r(C,v)},$$slots:{default:!0}})}),r(J,me)},$$slots:{default:!0}})}),r(G,N)},$$slots:{default:!0}})}),c(o);var j=n(o,2);{var ae=a=>{var f=sr(),G=u(f);{let oe=$(()=>L.home_close_preview()),N=$(()=>L.home_close_preview());Fe(G,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(N)},get onclick(){return z()},children:(W,ve)=>{ze(W,{get icon(){return Bt}})},$$slots:{default:!0}})}c(f),r(a,f)};X(j,a=>{ie()&&a(ae)})}c(t);var ye=n(t,2);{var ut=a=>{var f=fe(),G=R(f);P(G,()=>He,(oe,N)=>{N(oe,{children:(W,ve)=>{var E=fe(),J=R(E);P(J,()=>Le,(ge,me)=>{me(ge,{children:(ne,he)=>{var F=rt(),H=R(F);{const I=(v,p)=>{let V=()=>(p?.()).props;var _=or();Qe(_,()=>({...V(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{Mt(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{ze(pe,{get icon(){return jt}})};X(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Ke=n(se,2),Re=Ae(Ke,!0);c(_),x(()=>O(Re,e(A))),r(v,_)};P(H,()=>Me,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var C=n(H);P(C,()=>We,(I,v)=>{v(I,{children:(p,V)=>{$e();var _=ke();x(()=>O(_,e(A))),r(p,_)},$$slots:{default:!0}})}),r(ne,F)},$$slots:{default:!0}})}),r(W,E)},$$slots:{default:!0}})}),r(a,f)};X(ye,a=>{e(A)&&a(ut)})}var pt=n(ye,2);{var mt=a=>{var f=fe(),G=R(f);P(G,()=>He,(oe,N)=>{N(oe,{children:(W,ve)=>{var E=fe(),J=R(E);P(J,()=>Le,(ge,me)=>{me(ge,{children:(ne,he)=>{var F=rt(),H=R(F);{const I=(v,p)=>{let V=()=>(p?.()).props;var _=nr();Qe(_,()=>({...V(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>O(se,s().statusMessage)),r(v,_)};P(H,()=>Me,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var C=n(H);P(C,()=>We,(I,v)=>{v(I,{children:(p,V)=>{$e();var _=ke();x(()=>O(_,s().statusMessage)),r(p,_)},$$slots:{default:!0}})}),r(ne,F)},$$slots:{default:!0}})}),r(W,E)},$$slots:{default:!0}})}),r(a,f)};X(pt,a=>{s().statusMessage&&a(mt)})}c(ce);var Je=n(ce,2);{var ft=a=>{var f=dr(),G=u(f);{let oe=$(()=>e(d)?.id??"");P(G,()=>Se.Root,(N,W)=>{W(N,{get value(){return e(oe)},onchange:ve=>{const E=e(g).find(J=>J.id===ve);E&&h(E.id)},children:(ve,E)=>{var J=tt(),ge=R(J);{let ne=$(()=>L.home_agents());P(ge,()=>Se.Trigger,(he,F)=>{F(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(H,C)=>{var I=ir(),v=R(I);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};X(v,ue=>{e(d)&&ue(p)})}var V=n(v,2),_=Ae(V,!0),se=n(V,2);ze(se,{get icon(){return qt},class:"shrink-0 text-muted-foreground"}),x(()=>O(_,e(d)?.name)),r(H,I)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Se.Content,(ne,he)=>{he(ne,{portal:!0,children:(F,H)=>{var C=fe(),I=R(C);De(I,17,()=>e(g),v=>v.id,(v,p)=>{var V=fe(),_=R(V);P(_,()=>Se.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Ke)=>{var Re=lr(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>O($t,e(p).name)),r(we,Re)},$$slots:{default:!0}})}),r(v,V)}),r(F,C)},$$slots:{default:!0}})}),r(ve,J)},$$slots:{default:!0}})})}c(f),r(a,f)};X(Je,a=>{e(g).length&&a(ft)})}var Ve=n(Je,2);{var _t=a=>{var f=cr(),G=u(f),oe=Ae(G,!0),N=n(G,2);Fe(N,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var E=ke();x(J=>O(E,J),[()=>L.home_retry()]),r(W,E)},$$slots:{default:!0}}),c(f),x(W=>O(oe,W),[()=>L.home_detail_unavailable()]),r(a,f)};X(Ve,a=>{e(k)&&a(_t)})}var Xe=n(Ve,2),gt=u(Xe);ot(gt,()=>s().id,a=>{vt(a,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Xe),c(re),x(a=>Ee(re,"aria-label",a),[()=>L.home_workspace_details()]),r(b,re);var ht=Ne(de);return Z(),ht}export{dt as H,ur as a};
@@ -1 +1 @@
1
- import{l as e}from"./BwLxx4IG.js";const i={comments:{blockComment:["{/*","*/}"]},brackets:[["{","}"]],autoClosingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"“",close:"”"},{open:"‘",close:"’"},{open:"`",close:"`"},{open:"{",close:"}"},{open:"(",close:")"},{open:"_",close:"_"},{open:"**",close:"**"},{open:"<",close:">"}],onEnterRules:[{beforeText:/^\s*- .+/,action:{indentAction:e.IndentAction.None,appendText:"- "}},{beforeText:/^\s*\+ .+/,action:{indentAction:e.IndentAction.None,appendText:"+ "}},{beforeText:/^\s*\* .+/,action:{indentAction:e.IndentAction.None,appendText:"* "}},{beforeText:/^> /,action:{indentAction:e.IndentAction.None,appendText:"> "}},{beforeText:/<\w+/,action:{indentAction:e.IndentAction.Indent}},{beforeText:/\s+>\s*$/,action:{indentAction:e.IndentAction.Indent}},{beforeText:/<\/\w+>/,action:{indentAction:e.IndentAction.Outdent}},...Array.from({length:100},(n,t)=>({beforeText:new RegExp(`^${t}\\. .+`),action:{indentAction:e.IndentAction.None,appendText:`${t+1}. `}}))]},s={defaultToken:"",tokenPostfix:".mdx",control:/[!#()*+.[\\\]_`{}\-]/,escapes:/\\@control/,tokenizer:{root:[[/^---$/,{token:"meta.content",next:"@frontmatter",nextEmbedded:"yaml"}],[/^\s*import/,{token:"keyword",next:"@import",nextEmbedded:"js"}],[/^\s*export/,{token:"keyword",next:"@export",nextEmbedded:"js"}],[/<\w+/,{token:"type.identifier",next:"@jsx"}],[/<\/?\w+>/,"type.identifier"],[/^(\s*)(>*\s*)(#{1,6}\s)/,[{token:"white"},{token:"comment"},{token:"keyword",next:"@header"}]],[/^(\s*)(>*\s*)([*+-])(\s+)/,["white","comment","keyword","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(-{3,}|\*{3,}|_{3,})$/,["white","comment","keyword"]],[/`{3,}(\s.*)?$/,{token:"string",next:"@codeblock_backtick"}],[/~{3,}(\s.*)?$/,{token:"string",next:"@codeblock_tilde"}],[/`{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_backtick",nextEmbedded:"$1"}],[/~{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_tilde",nextEmbedded:"$1"}],[/^(\s*)(-{4,})$/,["white","comment"]],[/^(\s*)(>+)/,["white","comment"]],{include:"content"}],content:[[/(\[)(.+)(]\()(.+)(\s+".*")(\))/,["","string.link","","type.identifier","string.link",""]],[/(\[)(.+)(]\()(.+)(\))/,["","type.identifier","","string.link",""]],[/(\[)(.+)(]\[)(.+)(])/,["","type.identifier","","type.identifier",""]],[/(\[)(.+)(]:\s+)(\S*)/,["","type.identifier","","string.link"]],[/(\[)(.+)(])/,["","type.identifier",""]],[/`.*`/,"variable.source"],[/_/,{token:"emphasis",next:"@emphasis_underscore"}],[/\*(?!\*)/,{token:"emphasis",next:"@emphasis_asterisk"}],[/\*\*/,{token:"strong",next:"@strong"}],[/{/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}]],import:[[/'\s*(;|$)/,{token:"string",next:"@pop",nextEmbedded:"@pop"}]],expression:[[/{/,{token:"delimiter.bracket",next:"@expression"}],[/}/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],export:[[/^\s*$/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],jsx:[[/\s+/,""],[/(\w+)(=)("(?:[^"\\]|\\.)*")/,["attribute.name","operator","string"]],[/(\w+)(=)('(?:[^'\\]|\\.)*')/,["attribute.name","operator","string"]],[/(\w+(?=\s|>|={|$))/,["attribute.name"]],[/={/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}],[/>/,{token:"type.identifier",next:"@pop"}]],header:[[/.$/,{token:"keyword",next:"@pop"}],{include:"content"},[/./,{token:"keyword"}]],strong:[[/\*\*/,{token:"strong",next:"@pop"}],{include:"content"},[/./,{token:"strong"}]],emphasis_underscore:[[/_/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],emphasis_asterisk:[[/\*(?!\*)/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],frontmatter:[[/^---$/,{token:"meta.content",nextEmbedded:"@pop",next:"@pop"}]],codeblock_highlight_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_highlight_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblock_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]]}};export{i as conf,s as language};
1
+ import{l as e}from"./7y3Z0Q49.js";const i={comments:{blockComment:["{/*","*/}"]},brackets:[["{","}"]],autoClosingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"“",close:"”"},{open:"‘",close:"’"},{open:"`",close:"`"},{open:"{",close:"}"},{open:"(",close:")"},{open:"_",close:"_"},{open:"**",close:"**"},{open:"<",close:">"}],onEnterRules:[{beforeText:/^\s*- .+/,action:{indentAction:e.IndentAction.None,appendText:"- "}},{beforeText:/^\s*\+ .+/,action:{indentAction:e.IndentAction.None,appendText:"+ "}},{beforeText:/^\s*\* .+/,action:{indentAction:e.IndentAction.None,appendText:"* "}},{beforeText:/^> /,action:{indentAction:e.IndentAction.None,appendText:"> "}},{beforeText:/<\w+/,action:{indentAction:e.IndentAction.Indent}},{beforeText:/\s+>\s*$/,action:{indentAction:e.IndentAction.Indent}},{beforeText:/<\/\w+>/,action:{indentAction:e.IndentAction.Outdent}},...Array.from({length:100},(n,t)=>({beforeText:new RegExp(`^${t}\\. .+`),action:{indentAction:e.IndentAction.None,appendText:`${t+1}. `}}))]},s={defaultToken:"",tokenPostfix:".mdx",control:/[!#()*+.[\\\]_`{}\-]/,escapes:/\\@control/,tokenizer:{root:[[/^---$/,{token:"meta.content",next:"@frontmatter",nextEmbedded:"yaml"}],[/^\s*import/,{token:"keyword",next:"@import",nextEmbedded:"js"}],[/^\s*export/,{token:"keyword",next:"@export",nextEmbedded:"js"}],[/<\w+/,{token:"type.identifier",next:"@jsx"}],[/<\/?\w+>/,"type.identifier"],[/^(\s*)(>*\s*)(#{1,6}\s)/,[{token:"white"},{token:"comment"},{token:"keyword",next:"@header"}]],[/^(\s*)(>*\s*)([*+-])(\s+)/,["white","comment","keyword","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(-{3,}|\*{3,}|_{3,})$/,["white","comment","keyword"]],[/`{3,}(\s.*)?$/,{token:"string",next:"@codeblock_backtick"}],[/~{3,}(\s.*)?$/,{token:"string",next:"@codeblock_tilde"}],[/`{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_backtick",nextEmbedded:"$1"}],[/~{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_tilde",nextEmbedded:"$1"}],[/^(\s*)(-{4,})$/,["white","comment"]],[/^(\s*)(>+)/,["white","comment"]],{include:"content"}],content:[[/(\[)(.+)(]\()(.+)(\s+".*")(\))/,["","string.link","","type.identifier","string.link",""]],[/(\[)(.+)(]\()(.+)(\))/,["","type.identifier","","string.link",""]],[/(\[)(.+)(]\[)(.+)(])/,["","type.identifier","","type.identifier",""]],[/(\[)(.+)(]:\s+)(\S*)/,["","type.identifier","","string.link"]],[/(\[)(.+)(])/,["","type.identifier",""]],[/`.*`/,"variable.source"],[/_/,{token:"emphasis",next:"@emphasis_underscore"}],[/\*(?!\*)/,{token:"emphasis",next:"@emphasis_asterisk"}],[/\*\*/,{token:"strong",next:"@strong"}],[/{/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}]],import:[[/'\s*(;|$)/,{token:"string",next:"@pop",nextEmbedded:"@pop"}]],expression:[[/{/,{token:"delimiter.bracket",next:"@expression"}],[/}/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],export:[[/^\s*$/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],jsx:[[/\s+/,""],[/(\w+)(=)("(?:[^"\\]|\\.)*")/,["attribute.name","operator","string"]],[/(\w+)(=)('(?:[^'\\]|\\.)*')/,["attribute.name","operator","string"]],[/(\w+(?=\s|>|={|$))/,["attribute.name"]],[/={/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}],[/>/,{token:"type.identifier",next:"@pop"}]],header:[[/.$/,{token:"keyword",next:"@pop"}],{include:"content"},[/./,{token:"keyword"}]],strong:[[/\*\*/,{token:"strong",next:"@pop"}],{include:"content"},[/./,{token:"strong"}]],emphasis_underscore:[[/_/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],emphasis_asterisk:[[/\*(?!\*)/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],frontmatter:[[/^---$/,{token:"meta.content",nextEmbedded:"@pop",next:"@pop"}]],codeblock_highlight_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_highlight_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblock_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]]}};export{i as conf,s as language};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DoStKyYK.js","/app/immutable/chunks/hY0rMePc.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/DXdFemRu.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/B4mHWFlW.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CjZEyjv4.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/AXE1aiRo.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/rNjiZ_3W.js","/app/immutable/chunks/BTc_j7Dt.js","/app/immutable/chunks/leDczq9h.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/B0fUscDD.js","/app/immutable/chunks/BziYv9ZW.js","/app/immutable/chunks/x_GKKTQV.js","/app/immutable/chunks/BWmYJDmC.js","/app/immutable/chunks/CIU_APaR.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/D400ElMz.js","/app/immutable/chunks/BNN0vAFF.js","/app/immutable/chunks/CXul4WJt.js","/app/immutable/chunks/B7JHU89G.js","/app/immutable/chunks/BXT21uPn.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/DETS1-K4.js","/app/immutable/chunks/72S4_8Fo.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/C9aF-Sor.js","/app/immutable/chunks/CAmQkXZq.js","/app/immutable/chunks/CcSZrbR4.js","/app/immutable/chunks/B4PfEXaO.js","/app/immutable/chunks/KMO8sO00.js"])))=>i.map(i=>d[i]);
2
- import{_ as ue,t as re,bo as v,bw as ne,b as se,bm as k}from"./hY0rMePc.js";import{Jx as pe}from"./DXdFemRu.js";import{bs as ie,a7 as le,ay as X,aD as n,W as f,bn as oe,c9 as A,aA as h,a5 as q,bA as G,b_ as S,aB as P,bl as U,bO as K,bS as T,ca as de,bH as fe,bV as _e,aC as H}from"./3SdAC2_C.js";import{i as L}from"./BWmYJDmC.js";import{c as ge,e as me,f as te,g as ce,s as M}from"./leDczq9h.js";import{m as ve}from"./B7JHU89G.js";import{e as he}from"./D400ElMz.js";import{t as Ce}from"./DAsc1V4f.js";import{F as we}from"./DETS1-K4.js";import{M as ke}from"./Jh2BVut2.js";import{b as be}from"./C9aF-Sor.js";import{aO as xe}from"./Cw2ZnpX7.js";import{n as z,e as $,s as J}from"./72S4_8Fo.js";import{f as Se}from"./CIU_APaR.js";import"./rNjiZ_3W.js";function ut(r,t,c){if(r.metaKey||r.ctrlKey||!(r.currentTarget instanceof Element)||!r.currentTarget.closest("[data-assistant-panels]"))return!1;const e=pe.state.agentSessions.byAgentId[c]?.workspaceId??t,i=r.currentTarget.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId;return ue(async()=>{const{showAssistantContent:o}=await import("./DoStKyYK.js");return{showAssistantContent:o}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url).then(({showAssistantContent:o})=>o(`intent://local/${e}/agent/${c}`,{layoutId:i})),!0}var Te=P('<span class="text-subtle animate-pulse"> </span>'),ye=P('<span class="text-green-600 dark:text-green-400 flex items-center gap-0.5"><span class="opacity-70">+</span> <span> </span></span>'),Ee=P('<span class="text-red-600 dark:text-red-400 flex items-center gap-0.5"><span class="opacity-70">-</span> <span> </span></span>'),Ie=P('<span class="text-subtle"> </span>'),Me=P("<!> <!> <!>",1),Le=P("<div><!></div>");function Ae(r,t){if(new.target)return re({component:Ae,...r});ie(t,!0);let c=v(t,"additions",7,0),e=v(t,"deletions",7,0),i=v(t,"showZero",7,!1),o=v(t,"size",7,"sm"),g=v(t,"inline",7,!0),u=v(t,"loading",7,!1),d=v(t,"class",7,""),y=A(()=>i()||c()>0||e()>0||u()),R=A(()=>{switch(o()){case"xs":return"text-ui gap-1";case"sm":return"text-xs gap-1.5";case"md":return"text-sm gap-2";case"lg":return"text-base gap-2.5";default:return"text-xs gap-1.5"}});function B(a){return ve(a,{notation:"compact"})}var F={get additions(){return c()},set additions(a=0){c(a),h()},get deletions(){return e()},set deletions(a=0){e(a),h()},get showZero(){return i()},set showZero(a=!1){i(a),h()},get size(){return o()},set size(a="sm"){o(a),h()},get inline(){return g()},set inline(a=!0){g(a),h()},get loading(){return u()},set loading(a=!1){u(a),h()},get class(){return d()},set class(a=""){d(a),h()},$set:ne,$on:(a,w)=>se(t,a,w)},C=le(),D=X(C);{var p=a=>{var w=Le(),W=q(w);{var E=_=>{var m=Te(),N=U(m,!0);S(O=>K(N,O),[()=>k.shared_lineChangeStats_calculating_label()]),f(_,m)},V=_=>{var m=Me(),N=X(m);{var O=s=>{var l=ye(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(c())]),f(s,l)};L(N,s=>{(c()>0||i())&&s(O)})}var Z=T(N,2);{var j=s=>{var l=Ee(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(e())]),f(s,l)};L(Z,s=>{(e()>0||i())&&s(j)})}var x=T(Z,2);{var Q=s=>{var l=Ie(),b=U(l,!0);S(I=>K(b,I),[()=>k.shared_lineChangeStats_noChanges_label()]),f(s,l)};L(x,s=>{!c()&&!e()&&!i()&&s(Q)})}f(_,m)};L(W,_=>{u()?_(E):_(V,-1)})}G(w),S(_=>te(w,1,_),[()=>ge(me("whitespace-nowrap",g()?"inline-flex":"flex","items-center font-mono",n(R),d()))]),f(a,w)};L(D,a=>{n(y)&&a(p)})}return f(r,C),oe(F)}const Ne=new Map([["STRONG","strong"],["B","strong"],["EM","em"],["I","em"],["CODE","code"]]),Pe=new Set(["AUDIO","BUTTON","CANVAS","DETAILS","EMBED","HR","IFRAME","IMG","INPUT","OBJECT","PICTURE","PRE","SELECT","SVG","TABLE","TEXTAREA","VIDEO"]),Re=new Set(["ARTICLE","BLOCKQUOTE","DD","DIV","DT","FOOTER","H1","H2","H3","H4","H5","H6","HEADER","LI","P","SECTION"]);function De(r){return typeof Intl.Segmenter=="function"?Array.from(new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(r),({segment:t})=>t):Array.from(r)}function ee(r,t,c,e){for(const i of De(t.replace(/\s+/gu," "))){const o=i===" ";if(!(o&&(!e.hasText||e.lastWasSpace))){if(e.visibleLength>=c){if(o)return;e.truncated||r.append(document.createTextNode("…")),e.truncated=!0;return}r.append(document.createTextNode(i)),e.visibleLength+=1,e.hasText=!0,e.lastWasSpace=o}}}function ae(r,t,c,e){if(e.truncated)return;if(r.nodeType===Node.TEXT_NODE){ee(t,r.textContent??"",c,e);return}if(!(r instanceof HTMLElement)||Pe.has(r.tagName))return;if(r.tagName==="BR"){ee(t," ",c,e);return}const i=Ne.get(r.tagName);if(i){const o=document.createElement(i);t.append(o);for(const g of r.childNodes)ae(g,o,c,e);o.textContent||o.remove();return}Re.has(r.tagName)&&e.hasText&&ee(t," ",c,e);for(const o of r.childNodes)ae(o,t,c,e)}async function Oe(r,t=80){const c=await xe(r,{allowEmpty:!0,skipIfHTML:!1,preserveAnchors:!1,processPrimitives:!1,taskBlockRenderMode:"content"}),e=document.createElement("template");e.innerHTML=c;const i=document.createElement("span"),o={visibleLength:0,hasText:!1,lastWasSpace:!1,truncated:!1},g=Math.max(0,Math.floor(t));for(const u of e.content.childNodes)ae(u,i,g,o);return i.innerHTML.trim()}async function ze(r){const t=await Oe(r,Number.MAX_SAFE_INTEGER),c=document.createElement("span");return c.innerHTML=t,(c.textContent??"").replace(/<\/?[A-Za-z][^>]*>/gu,"").replace(/\s+/gu," ").trim()}var He=P('<span data-testid="agent-preview-tool-icon"><!></span>'),Be=P('<span><!> <span class="min-w-0 flex-1 truncate text-inherit opacity-[inherit]" data-testid="agent-preview-tool-text"> </span></span>');function Fe(r,t){if(new.target)return re({component:Fe,...r});ie(t,!0);const c=new Set(["figma","sentry","playwright","github","linear","slack","context7"]);let e=v(t,"toolUse",7),i=v(t,"animate",7,!1),o=v(t,"iconSize",7,12),g=v(t,"showIcon",7,!0),u=v(t,"class",7,"");const d=A(()=>be(e().name,e().input||{})),y=A(()=>[n(d).verb,n(d).subject,n(d).path].filter(Boolean).join(" ").trim()||n(d).verb||k.chat_previewToolLabel_tool_fallback());let R=_e("");de(()=>{const p=n(y);let a=!1;return ze(p).then(w=>{a||fe(R,w,!0)}),()=>{a=!0}});var B={get toolUse(){return e()},set toolUse(p){e(p),h()},get animate(){return i()},set animate(p=!1){i(p),h()},get iconSize(){return o()},set iconSize(p=12){o(p),h()},get showIcon(){return g()},set showIcon(p=!0){g(p),h()},get class(){return u()},set class(p=""){u(p),h()},$set:ne,$on:(p,a)=>se(t,p,a)},F=le(),C=X(F);{var D=p=>{var a=Be(),w=q(a);{var W=_=>{var m=He(),N=q(m);{var O=x=>{ke(x,{get iconName(){return n(d).mcpSource},get label(){return n(d).mcpSource},get size(){return o()}})},Z=A(()=>n(d).mcpSource&&c.has(n(d).mcpSource)),j=x=>{we(x,{get icon(){return n(d).icon},class:"h-full! w-full! text-inherit opacity-[inherit]"})};L(N,x=>{n(Z)?x(O):x(j,-1)})}G(m),S(()=>{te(m,1,`agent-preview-tool-icon inline-flex shrink-0 items-center justify-center text-inherit opacity-[inherit] ${i()?"animate-pulse":""}`,"svelte-115ywqs"),ce(m,`width: ${o()??""}px; height: ${o()??""}px;`)}),f(_,m)};L(w,_=>{g()&&_(W)})}var E=T(w,2),V=U(E,!0);he(E,(_,m)=>Ce?.(_,m),()=>n(R)),G(a),S(()=>{te(a,1,`type-body inline-flex w-full min-w-0 items-center font-normal ${g()?"gap-1.5":""} ${u()??""}`,"svelte-115ywqs"),K(V,n(R))}),f(p,a)};L(C,p=>{n(d).hidden||p(D)})}return f(r,F),oe(B)}var Ve=H('<circle cx="12" cy="12" r="10" stroke-width="2" fill="none"></circle>'),Ze=H('<path d="M7 12.5L10.5 16L17 9" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>'),Ue=H('<path d="M5 19L19 5" stroke-width="2.5" stroke-linecap="round"></path>'),qe=H('<path d="M13.1372 17.7135C13.1372 18.1682 12.9566 18.6042 12.6351 18.9257C12.3136 19.2472 11.8776 19.4278 11.4229 19.4278C10.9683 19.4278 10.5322 19.2472 10.2107 18.9257C9.88925 18.6042 9.70864 18.1682 9.70864 17.7135C9.70864 17.2589 9.88925 16.8228 10.2107 16.5014C10.5322 16.1799 10.9683 15.9993 11.4229 15.9993C11.8776 15.9993 12.3136 16.1799 12.6351 16.5014C12.9566 16.8228 13.1372 17.2589 13.1372 17.7135ZM10.2109 7.07297C10.3957 6.88872 10.6201 6.7491 10.8671 6.66473C11.114 6.58037 11.377 6.55349 11.6359 6.58615C11.8948 6.61881 12.1428 6.71015 12.361 6.8532C12.5793 6.99625 12.762 7.18724 12.8953 7.4116C13.0285 7.63597 13.1088 7.8878 13.1299 8.14789C13.1511 8.40799 13.1126 8.66948 13.0174 8.91244C12.9222 9.1554 12.7728 9.37342 12.5805 9.54988C12.3883 9.72634 12.1583 9.85659 11.9081 9.93068C11.1212 10.1604 10.1372 10.901 10.1372 12.1421V12.5707C10.1372 12.9117 10.2727 13.2387 10.5138 13.4798C10.7549 13.7209 11.0819 13.8564 11.4229 13.8564C11.7639 13.8564 12.0909 13.7209 12.3321 13.4798C12.5732 13.2387 12.7086 12.9117 12.7086 12.5707V12.3735C13.3281 12.1785 13.8952 11.8451 14.3669 11.3988C14.8387 10.9524 15.2029 10.4046 15.4319 9.79683C15.6609 9.18906 15.7487 8.53719 15.6888 7.89048C15.6289 7.24377 15.4228 6.61913 15.0861 6.06376C14.7494 5.50838 14.2908 5.03681 13.7451 4.68466C13.1994 4.33251 12.5808 4.10899 11.936 4.03101C11.2912 3.95302 10.6371 4.0226 10.0232 4.23449C9.40925 4.44638 8.8515 4.79503 8.39207 5.25411C8.26933 5.37277 8.17145 5.51469 8.10414 5.67158C8.03683 5.82848 8.00145 5.9972 8.00004 6.16792C7.99864 6.33864 8.03125 6.50792 8.09597 6.6659C8.16069 6.82388 8.25623 6.96739 8.37701 7.08805C8.49778 7.20871 8.64138 7.30411 8.79942 7.36868C8.95746 7.43326 9.12677 7.46571 9.29749 7.46414C9.4682 7.46258 9.6369 7.42703 9.79373 7.35958C9.95056 7.29212 10.0924 7.19411 10.2109 7.07125V7.07297Z" fill="white" class="origin-center"></path>'),Ge=H('<path d="M12 5.5V13.5" stroke="white" stroke-width="3" stroke-linecap="round"></path><circle cx="12" cy="17.5" r="1.6" fill="white" class="origin-center"></circle>',1),We=H('<path d="M11.6668 13.649C12.1044 13.649 12.5241 13.4751 12.8336 13.1656C13.1431 12.8562 13.3169 12.4365 13.3169 11.9988C13.3169 11.5611 13.1431 11.1414 12.8336 10.832C12.5241 10.5225 12.1044 10.3486 11.6668 10.3486C11.2291 10.3486 10.8094 10.5225 10.4999 10.832C10.1905 11.1414 10.0166 11.5611 10.0166 11.9988C10.0166 12.4365 10.1905 12.8562 10.4999 13.1656C10.8094 13.4751 11.2291 13.649 11.6668 13.649Z" fill="white" class="origin-center"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4.38506 12.3064C4.31566 12.1046 4.31566 11.8855 4.38506 11.6837C4.90912 10.1693 5.89241 8.85596 7.198 7.92665C8.50359 6.99734 10.0665 6.4983 11.669 6.49902C13.2716 6.49975 14.834 7.00021 16.1388 7.9307C17.4435 8.8612 18.4256 10.1754 18.9483 11.6903C19.0177 11.8921 19.0177 12.1112 18.9483 12.313C18.4245 13.8278 17.4412 15.1416 16.1355 16.0712C14.8298 17.0008 13.2666 17.5 11.6638 17.4993C10.0609 17.4986 8.49824 16.9979 7.19336 16.0671C5.88848 15.1363 4.90641 13.8217 4.38396 12.3064H4.38506ZM14.9681 11.9984C14.9681 12.8737 14.6204 13.7131 14.0015 14.3321C13.3825 14.951 12.5431 15.2987 11.6678 15.2987C10.7925 15.2987 9.95304 14.951 9.33411 14.3321C8.71517 13.7131 8.36746 12.8737 8.36746 11.9984C8.36746 11.1231 8.71517 10.2836 9.33411 9.66468C9.95304 9.04575 10.7925 8.69803 11.6678 8.69803C12.5431 8.69803 13.3825 9.04575 14.0015 9.66468C14.6204 10.2836 14.9681 11.1231 14.9681 11.9984Z" fill="white" class="origin-center"></path>',1),je=H('<svg viewBox="0 0 24 24" fill="none"><defs><clipPath><rect x="48%" y="0" width="100%" height="100%"></rect></clipPath></defs><circle cx="50%" cy="50%" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none origin-center"></circle><circle cx="50%" cy="50%" r="45%" stroke-width="2.5" fill="none" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none"></circle><!></svg>');function Ke(r,t){if(new.target)return re({component:Ke,...r});ie(t,!0);const c=new Set(["not_started","waiting","discussion_needed","blocked","in_progress","review_required","complete","cancelled"]);let e=v(t,"status",7),i=v(t,"size",7,16),o=v(t,"onclick",7);const g=Math.random().toString(36).substring(2,9);let u=A(()=>e()==="todo"?"not_started":e()==="in-progress"?"in_progress":e()==="done"?"complete":typeof e()=="string"&&c.has(e())?e():"unknown");const d={not_started:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},waiting:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},discussion_needed:{stroke:"#f59e0b",fill:"#f59e0b",innerCircleRPercentage:100},blocked:{stroke:"#ef4444",fill:"#ef4444",innerCircleRPercentage:100},in_progress:{stroke:"#00BCFF",fill:"#00BCFF",innerCircleRPercentage:55},review_required:{stroke:"#3b82f6",fill:"#3b82f6",innerCircleRPercentage:100},complete:{stroke:"#22c55e",fill:"#00BD7D",innerCircleRPercentage:100},cancelled:{stroke:"#99999966",fill:"#99999966",innerCircleRPercentage:0},unknown:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0}};let y=A(()=>d[n(u)]||d.not_started);const R={not_started:k.tiptap_taskStatus_notStarted_label,waiting:k.tiptap_taskStatus_waiting_label,discussion_needed:k.tiptap_taskStatus_discussionNeeded_label,blocked:k.tiptap_taskStatus_blocked_label,in_progress:k.tiptap_taskStatus_inProgress_label,review_required:k.tiptap_taskStatus_reviewRequired_label,complete:k.tiptap_taskStatus_complete_label,cancelled:k.tiptap_taskStatus_cancelled_label,unknown:k.tiptap_taskStatus_unknown_label};let B=A(()=>(R[n(u)]??k.tiptap_taskStatus_unknown_label)());var F={get status(){return e()},set status(C){e(C),h()},get size(){return i()},set size(C=16){i(C),h()},get onclick(){return o()},set onclick(C){o(C),h()},$set:ne,$on:(C,D)=>se(t,C,D)};{let C=A(()=>k.tiptap_taskStatus_status_tooltip({status:n(B)}));Se(r,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,class:"task-status-icon shrink-0 cursor-pointer bg-transparent border-0 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-primary-ink rounded-full",get style(){return`width: ${i()??""}px; height: ${i()??""}px;`},get onclick(){return o()},get title(){return n(C)},children:(D,p)=>{var a=je(),w=q(a),W=U(w),E=T(w),V=T(E),_=T(V);{var m=s=>{},N=s=>{var l=Ve();S(()=>M(l,"stroke",n(y).stroke)),f(s,l)},O=s=>{var l=Ze();z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},Z=s=>{var l=Ue();S(()=>M(l,"stroke",n(y).stroke)),z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},j=s=>{var l=qe();z(3,l,()=>J,()=>({tier:"slow"})),f(s,l)},x=s=>{var l=Ge(),b=X(l),I=T(b);z(3,b,()=>$,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)},Q=s=>{var l=We(),b=X(l),I=T(b);z(3,b,()=>J,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)};L(_,s=>{n(u)==="not_started"||n(u)==="waiting"?s(m):n(u)==="in_progress"?s(N,1):n(u)==="complete"?s(O,2):n(u)==="cancelled"?s(Z,3):n(u)==="discussion_needed"?s(j,4):n(u)==="blocked"?s(x,5):n(u)==="review_required"&&s(Q,6)})}G(a),S(()=>{M(a,"width",i()),M(a,"height",i()),ce(a,`width: ${i()??""}px; height: ${i()??""}px;`),M(W,"id",`half-clip-${g??""}`),M(E,"r",`${n(y).innerCircleRPercentage*.5}%`),M(E,"fill",n(y).fill),M(E,"clip-path",n(u)==="in_progress"?`url(#half-clip-${g})`:"none"),M(V,"stroke",n(y).stroke)}),f(D,a)},$$slots:{default:!0}})}return oe(F)}export{Fe as A,Ae as L,Ke as T,Oe as a,ut as o,ze as r};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/D20kqX2U.js","/app/immutable/chunks/Dws-34a7.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/4g_iHoQm.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/8jMQM9h0.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/D-rRuAXZ.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/DJPIUVkw.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BPuz5cN_.js","/app/immutable/chunks/7KxcPj98.js","/app/immutable/chunks/BD9db4FR.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/tLFaYuVN.js","/app/immutable/chunks/Cr2Op5yp.js","/app/immutable/chunks/rXKOJqUt.js","/app/immutable/chunks/DLCFUd4s.js","/app/immutable/chunks/BIGqOuh0.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/C-zB-6G6.js","/app/immutable/chunks/B5tvpTFB.js","/app/immutable/chunks/5-0LQoqd.js","/app/immutable/chunks/B8HnjSSF.js","/app/immutable/chunks/DcOkWaeN.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CGYPBD6G.js","/app/immutable/chunks/Bc1vJq_Z.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/SbTG0nwQ.js","/app/immutable/chunks/Dval4sTX.js","/app/immutable/chunks/DtqPBHQj.js","/app/immutable/chunks/B6eTPmJH.js","/app/immutable/chunks/CI0C7_h-.js"])))=>i.map(i=>d[i]);
2
+ import{_ as ue,t as re,bo as v,bw as ne,b as se,bm as k}from"./Dws-34a7.js";import{Jx as pe}from"./4g_iHoQm.js";import{bs as ie,a7 as le,ay as X,aD as n,W as f,bn as oe,c9 as A,aA as h,a5 as q,bA as G,b_ as S,aB as P,bl as U,bO as K,bS as T,ca as de,bH as fe,bV as _e,aC as H}from"./3SdAC2_C.js";import{i as L}from"./DLCFUd4s.js";import{c as ge,e as me,f as te,g as ce,s as M}from"./BD9db4FR.js";import{m as ve}from"./B8HnjSSF.js";import{e as he}from"./C-zB-6G6.js";import{t as Ce}from"./DAsc1V4f.js";import{F as we}from"./CGYPBD6G.js";import{M as ke}from"./DiURwJNX.js";import{b as be}from"./SbTG0nwQ.js";import{aO as xe}from"./CA8JHp72.js";import{n as z,e as $,s as J}from"./Bc1vJq_Z.js";import{f as Se}from"./BIGqOuh0.js";import"./BPuz5cN_.js";function ut(r,t,c){if(r.metaKey||r.ctrlKey||!(r.currentTarget instanceof Element)||!r.currentTarget.closest("[data-assistant-panels]"))return!1;const e=pe.state.agentSessions.byAgentId[c]?.workspaceId??t,i=r.currentTarget.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId;return ue(async()=>{const{showAssistantContent:o}=await import("./D20kqX2U.js");return{showAssistantContent:o}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url).then(({showAssistantContent:o})=>o(`intent://local/${e}/agent/${c}`,{layoutId:i})),!0}var Te=P('<span class="text-subtle animate-pulse"> </span>'),ye=P('<span class="text-green-600 dark:text-green-400 flex items-center gap-0.5"><span class="opacity-70">+</span> <span> </span></span>'),Ee=P('<span class="text-red-600 dark:text-red-400 flex items-center gap-0.5"><span class="opacity-70">-</span> <span> </span></span>'),Ie=P('<span class="text-subtle"> </span>'),Me=P("<!> <!> <!>",1),Le=P("<div><!></div>");function Ae(r,t){if(new.target)return re({component:Ae,...r});ie(t,!0);let c=v(t,"additions",7,0),e=v(t,"deletions",7,0),i=v(t,"showZero",7,!1),o=v(t,"size",7,"sm"),g=v(t,"inline",7,!0),u=v(t,"loading",7,!1),d=v(t,"class",7,""),y=A(()=>i()||c()>0||e()>0||u()),R=A(()=>{switch(o()){case"xs":return"text-ui gap-1";case"sm":return"text-xs gap-1.5";case"md":return"text-sm gap-2";case"lg":return"text-base gap-2.5";default:return"text-xs gap-1.5"}});function B(a){return ve(a,{notation:"compact"})}var F={get additions(){return c()},set additions(a=0){c(a),h()},get deletions(){return e()},set deletions(a=0){e(a),h()},get showZero(){return i()},set showZero(a=!1){i(a),h()},get size(){return o()},set size(a="sm"){o(a),h()},get inline(){return g()},set inline(a=!0){g(a),h()},get loading(){return u()},set loading(a=!1){u(a),h()},get class(){return d()},set class(a=""){d(a),h()},$set:ne,$on:(a,w)=>se(t,a,w)},C=le(),D=X(C);{var p=a=>{var w=Le(),W=q(w);{var E=_=>{var m=Te(),N=U(m,!0);S(O=>K(N,O),[()=>k.shared_lineChangeStats_calculating_label()]),f(_,m)},V=_=>{var m=Me(),N=X(m);{var O=s=>{var l=ye(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(c())]),f(s,l)};L(N,s=>{(c()>0||i())&&s(O)})}var Z=T(N,2);{var j=s=>{var l=Ee(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(e())]),f(s,l)};L(Z,s=>{(e()>0||i())&&s(j)})}var x=T(Z,2);{var Q=s=>{var l=Ie(),b=U(l,!0);S(I=>K(b,I),[()=>k.shared_lineChangeStats_noChanges_label()]),f(s,l)};L(x,s=>{!c()&&!e()&&!i()&&s(Q)})}f(_,m)};L(W,_=>{u()?_(E):_(V,-1)})}G(w),S(_=>te(w,1,_),[()=>ge(me("whitespace-nowrap",g()?"inline-flex":"flex","items-center font-mono",n(R),d()))]),f(a,w)};L(D,a=>{n(y)&&a(p)})}return f(r,C),oe(F)}const Ne=new Map([["STRONG","strong"],["B","strong"],["EM","em"],["I","em"],["CODE","code"]]),Pe=new Set(["AUDIO","BUTTON","CANVAS","DETAILS","EMBED","HR","IFRAME","IMG","INPUT","OBJECT","PICTURE","PRE","SELECT","SVG","TABLE","TEXTAREA","VIDEO"]),Re=new Set(["ARTICLE","BLOCKQUOTE","DD","DIV","DT","FOOTER","H1","H2","H3","H4","H5","H6","HEADER","LI","P","SECTION"]);function De(r){return typeof Intl.Segmenter=="function"?Array.from(new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(r),({segment:t})=>t):Array.from(r)}function ee(r,t,c,e){for(const i of De(t.replace(/\s+/gu," "))){const o=i===" ";if(!(o&&(!e.hasText||e.lastWasSpace))){if(e.visibleLength>=c){if(o)return;e.truncated||r.append(document.createTextNode("…")),e.truncated=!0;return}r.append(document.createTextNode(i)),e.visibleLength+=1,e.hasText=!0,e.lastWasSpace=o}}}function ae(r,t,c,e){if(e.truncated)return;if(r.nodeType===Node.TEXT_NODE){ee(t,r.textContent??"",c,e);return}if(!(r instanceof HTMLElement)||Pe.has(r.tagName))return;if(r.tagName==="BR"){ee(t," ",c,e);return}const i=Ne.get(r.tagName);if(i){const o=document.createElement(i);t.append(o);for(const g of r.childNodes)ae(g,o,c,e);o.textContent||o.remove();return}Re.has(r.tagName)&&e.hasText&&ee(t," ",c,e);for(const o of r.childNodes)ae(o,t,c,e)}async function Oe(r,t=80){const c=await xe(r,{allowEmpty:!0,skipIfHTML:!1,preserveAnchors:!1,processPrimitives:!1,taskBlockRenderMode:"content"}),e=document.createElement("template");e.innerHTML=c;const i=document.createElement("span"),o={visibleLength:0,hasText:!1,lastWasSpace:!1,truncated:!1},g=Math.max(0,Math.floor(t));for(const u of e.content.childNodes)ae(u,i,g,o);return i.innerHTML.trim()}async function ze(r){const t=await Oe(r,Number.MAX_SAFE_INTEGER),c=document.createElement("span");return c.innerHTML=t,(c.textContent??"").replace(/<\/?[A-Za-z][^>]*>/gu,"").replace(/\s+/gu," ").trim()}var He=P('<span data-testid="agent-preview-tool-icon"><!></span>'),Be=P('<span><!> <span class="min-w-0 flex-1 truncate text-inherit opacity-[inherit]" data-testid="agent-preview-tool-text"> </span></span>');function Fe(r,t){if(new.target)return re({component:Fe,...r});ie(t,!0);const c=new Set(["figma","sentry","playwright","github","linear","slack","context7"]);let e=v(t,"toolUse",7),i=v(t,"animate",7,!1),o=v(t,"iconSize",7,12),g=v(t,"showIcon",7,!0),u=v(t,"class",7,"");const d=A(()=>be(e().name,e().input||{})),y=A(()=>[n(d).verb,n(d).subject,n(d).path].filter(Boolean).join(" ").trim()||n(d).verb||k.chat_previewToolLabel_tool_fallback());let R=_e("");de(()=>{const p=n(y);let a=!1;return ze(p).then(w=>{a||fe(R,w,!0)}),()=>{a=!0}});var B={get toolUse(){return e()},set toolUse(p){e(p),h()},get animate(){return i()},set animate(p=!1){i(p),h()},get iconSize(){return o()},set iconSize(p=12){o(p),h()},get showIcon(){return g()},set showIcon(p=!0){g(p),h()},get class(){return u()},set class(p=""){u(p),h()},$set:ne,$on:(p,a)=>se(t,p,a)},F=le(),C=X(F);{var D=p=>{var a=Be(),w=q(a);{var W=_=>{var m=He(),N=q(m);{var O=x=>{ke(x,{get iconName(){return n(d).mcpSource},get label(){return n(d).mcpSource},get size(){return o()}})},Z=A(()=>n(d).mcpSource&&c.has(n(d).mcpSource)),j=x=>{we(x,{get icon(){return n(d).icon},class:"h-full! w-full! text-inherit opacity-[inherit]"})};L(N,x=>{n(Z)?x(O):x(j,-1)})}G(m),S(()=>{te(m,1,`agent-preview-tool-icon inline-flex shrink-0 items-center justify-center text-inherit opacity-[inherit] ${i()?"animate-pulse":""}`,"svelte-115ywqs"),ce(m,`width: ${o()??""}px; height: ${o()??""}px;`)}),f(_,m)};L(w,_=>{g()&&_(W)})}var E=T(w,2),V=U(E,!0);he(E,(_,m)=>Ce?.(_,m),()=>n(R)),G(a),S(()=>{te(a,1,`type-body inline-flex w-full min-w-0 items-center font-normal ${g()?"gap-1.5":""} ${u()??""}`,"svelte-115ywqs"),K(V,n(R))}),f(p,a)};L(C,p=>{n(d).hidden||p(D)})}return f(r,F),oe(B)}var Ve=H('<circle cx="12" cy="12" r="10" stroke-width="2" fill="none"></circle>'),Ze=H('<path d="M7 12.5L10.5 16L17 9" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>'),Ue=H('<path d="M5 19L19 5" stroke-width="2.5" stroke-linecap="round"></path>'),qe=H('<path d="M13.1372 17.7135C13.1372 18.1682 12.9566 18.6042 12.6351 18.9257C12.3136 19.2472 11.8776 19.4278 11.4229 19.4278C10.9683 19.4278 10.5322 19.2472 10.2107 18.9257C9.88925 18.6042 9.70864 18.1682 9.70864 17.7135C9.70864 17.2589 9.88925 16.8228 10.2107 16.5014C10.5322 16.1799 10.9683 15.9993 11.4229 15.9993C11.8776 15.9993 12.3136 16.1799 12.6351 16.5014C12.9566 16.8228 13.1372 17.2589 13.1372 17.7135ZM10.2109 7.07297C10.3957 6.88872 10.6201 6.7491 10.8671 6.66473C11.114 6.58037 11.377 6.55349 11.6359 6.58615C11.8948 6.61881 12.1428 6.71015 12.361 6.8532C12.5793 6.99625 12.762 7.18724 12.8953 7.4116C13.0285 7.63597 13.1088 7.8878 13.1299 8.14789C13.1511 8.40799 13.1126 8.66948 13.0174 8.91244C12.9222 9.1554 12.7728 9.37342 12.5805 9.54988C12.3883 9.72634 12.1583 9.85659 11.9081 9.93068C11.1212 10.1604 10.1372 10.901 10.1372 12.1421V12.5707C10.1372 12.9117 10.2727 13.2387 10.5138 13.4798C10.7549 13.7209 11.0819 13.8564 11.4229 13.8564C11.7639 13.8564 12.0909 13.7209 12.3321 13.4798C12.5732 13.2387 12.7086 12.9117 12.7086 12.5707V12.3735C13.3281 12.1785 13.8952 11.8451 14.3669 11.3988C14.8387 10.9524 15.2029 10.4046 15.4319 9.79683C15.6609 9.18906 15.7487 8.53719 15.6888 7.89048C15.6289 7.24377 15.4228 6.61913 15.0861 6.06376C14.7494 5.50838 14.2908 5.03681 13.7451 4.68466C13.1994 4.33251 12.5808 4.10899 11.936 4.03101C11.2912 3.95302 10.6371 4.0226 10.0232 4.23449C9.40925 4.44638 8.8515 4.79503 8.39207 5.25411C8.26933 5.37277 8.17145 5.51469 8.10414 5.67158C8.03683 5.82848 8.00145 5.9972 8.00004 6.16792C7.99864 6.33864 8.03125 6.50792 8.09597 6.6659C8.16069 6.82388 8.25623 6.96739 8.37701 7.08805C8.49778 7.20871 8.64138 7.30411 8.79942 7.36868C8.95746 7.43326 9.12677 7.46571 9.29749 7.46414C9.4682 7.46258 9.6369 7.42703 9.79373 7.35958C9.95056 7.29212 10.0924 7.19411 10.2109 7.07125V7.07297Z" fill="white" class="origin-center"></path>'),Ge=H('<path d="M12 5.5V13.5" stroke="white" stroke-width="3" stroke-linecap="round"></path><circle cx="12" cy="17.5" r="1.6" fill="white" class="origin-center"></circle>',1),We=H('<path d="M11.6668 13.649C12.1044 13.649 12.5241 13.4751 12.8336 13.1656C13.1431 12.8562 13.3169 12.4365 13.3169 11.9988C13.3169 11.5611 13.1431 11.1414 12.8336 10.832C12.5241 10.5225 12.1044 10.3486 11.6668 10.3486C11.2291 10.3486 10.8094 10.5225 10.4999 10.832C10.1905 11.1414 10.0166 11.5611 10.0166 11.9988C10.0166 12.4365 10.1905 12.8562 10.4999 13.1656C10.8094 13.4751 11.2291 13.649 11.6668 13.649Z" fill="white" class="origin-center"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4.38506 12.3064C4.31566 12.1046 4.31566 11.8855 4.38506 11.6837C4.90912 10.1693 5.89241 8.85596 7.198 7.92665C8.50359 6.99734 10.0665 6.4983 11.669 6.49902C13.2716 6.49975 14.834 7.00021 16.1388 7.9307C17.4435 8.8612 18.4256 10.1754 18.9483 11.6903C19.0177 11.8921 19.0177 12.1112 18.9483 12.313C18.4245 13.8278 17.4412 15.1416 16.1355 16.0712C14.8298 17.0008 13.2666 17.5 11.6638 17.4993C10.0609 17.4986 8.49824 16.9979 7.19336 16.0671C5.88848 15.1363 4.90641 13.8217 4.38396 12.3064H4.38506ZM14.9681 11.9984C14.9681 12.8737 14.6204 13.7131 14.0015 14.3321C13.3825 14.951 12.5431 15.2987 11.6678 15.2987C10.7925 15.2987 9.95304 14.951 9.33411 14.3321C8.71517 13.7131 8.36746 12.8737 8.36746 11.9984C8.36746 11.1231 8.71517 10.2836 9.33411 9.66468C9.95304 9.04575 10.7925 8.69803 11.6678 8.69803C12.5431 8.69803 13.3825 9.04575 14.0015 9.66468C14.6204 10.2836 14.9681 11.1231 14.9681 11.9984Z" fill="white" class="origin-center"></path>',1),je=H('<svg viewBox="0 0 24 24" fill="none"><defs><clipPath><rect x="48%" y="0" width="100%" height="100%"></rect></clipPath></defs><circle cx="50%" cy="50%" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none origin-center"></circle><circle cx="50%" cy="50%" r="45%" stroke-width="2.5" fill="none" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none"></circle><!></svg>');function Ke(r,t){if(new.target)return re({component:Ke,...r});ie(t,!0);const c=new Set(["not_started","waiting","discussion_needed","blocked","in_progress","review_required","complete","cancelled"]);let e=v(t,"status",7),i=v(t,"size",7,16),o=v(t,"onclick",7);const g=Math.random().toString(36).substring(2,9);let u=A(()=>e()==="todo"?"not_started":e()==="in-progress"?"in_progress":e()==="done"?"complete":typeof e()=="string"&&c.has(e())?e():"unknown");const d={not_started:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},waiting:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},discussion_needed:{stroke:"#f59e0b",fill:"#f59e0b",innerCircleRPercentage:100},blocked:{stroke:"#ef4444",fill:"#ef4444",innerCircleRPercentage:100},in_progress:{stroke:"#00BCFF",fill:"#00BCFF",innerCircleRPercentage:55},review_required:{stroke:"#3b82f6",fill:"#3b82f6",innerCircleRPercentage:100},complete:{stroke:"#22c55e",fill:"#00BD7D",innerCircleRPercentage:100},cancelled:{stroke:"#99999966",fill:"#99999966",innerCircleRPercentage:0},unknown:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0}};let y=A(()=>d[n(u)]||d.not_started);const R={not_started:k.tiptap_taskStatus_notStarted_label,waiting:k.tiptap_taskStatus_waiting_label,discussion_needed:k.tiptap_taskStatus_discussionNeeded_label,blocked:k.tiptap_taskStatus_blocked_label,in_progress:k.tiptap_taskStatus_inProgress_label,review_required:k.tiptap_taskStatus_reviewRequired_label,complete:k.tiptap_taskStatus_complete_label,cancelled:k.tiptap_taskStatus_cancelled_label,unknown:k.tiptap_taskStatus_unknown_label};let B=A(()=>(R[n(u)]??k.tiptap_taskStatus_unknown_label)());var F={get status(){return e()},set status(C){e(C),h()},get size(){return i()},set size(C=16){i(C),h()},get onclick(){return o()},set onclick(C){o(C),h()},$set:ne,$on:(C,D)=>se(t,C,D)};{let C=A(()=>k.tiptap_taskStatus_status_tooltip({status:n(B)}));Se(r,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,class:"task-status-icon shrink-0 cursor-pointer bg-transparent border-0 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-primary-ink rounded-full",get style(){return`width: ${i()??""}px; height: ${i()??""}px;`},get onclick(){return o()},get title(){return n(C)},children:(D,p)=>{var a=je(),w=q(a),W=U(w),E=T(w),V=T(E),_=T(V);{var m=s=>{},N=s=>{var l=Ve();S(()=>M(l,"stroke",n(y).stroke)),f(s,l)},O=s=>{var l=Ze();z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},Z=s=>{var l=Ue();S(()=>M(l,"stroke",n(y).stroke)),z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},j=s=>{var l=qe();z(3,l,()=>J,()=>({tier:"slow"})),f(s,l)},x=s=>{var l=Ge(),b=X(l),I=T(b);z(3,b,()=>$,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)},Q=s=>{var l=We(),b=X(l),I=T(b);z(3,b,()=>J,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)};L(_,s=>{n(u)==="not_started"||n(u)==="waiting"?s(m):n(u)==="in_progress"?s(N,1):n(u)==="complete"?s(O,2):n(u)==="cancelled"?s(Z,3):n(u)==="discussion_needed"?s(j,4):n(u)==="blocked"?s(x,5):n(u)==="review_required"&&s(Q,6)})}G(a),S(()=>{M(a,"width",i()),M(a,"height",i()),ce(a,`width: ${i()??""}px; height: ${i()??""}px;`),M(W,"id",`half-clip-${g??""}`),M(E,"r",`${n(y).innerCircleRPercentage*.5}%`),M(E,"fill",n(y).fill),M(E,"clip-path",n(u)==="in_progress"?`url(#half-clip-${g})`:"none"),M(V,"stroke",n(y).stroke)}),f(D,a)},$$slots:{default:!0}})}return oe(F)}export{Fe as A,Ae as L,Ke as T,Oe as a,ut as o,ze as r};
@@ -1 +1 @@
1
- import{bm as t}from"./hY0rMePc.js";function _(e){return e.hostRole?e.hostRole:e.owner?"owner":e.online===!1?"offline":e.online===!0?"member":null}function s(e){return e.displayName?.trim()||e.login?.trim()||t.presence_person_unknown_label()}function i(e){const n=e.identity;if(!n)return null;const r=e.login?.trim();return n.provider==="gitlab"?r?t.presence_person_gitlabHandle_label({login:`@${r}`,host:n.host}):t.workspace_share_pinProvider_gitlab_label({host:n.host}):r?t.presence_person_githubHandle_label({login:`@${r}`}):t.workspace_share_pinProvider_github_label()}function a(e){const n=i(e);if(!n)return s(e);const r=e.displayName?.trim(),o=e.login?.trim();return r&&r.replace(/^@/,"").toLowerCase()!==o?.toLowerCase()?t.presence_person_forge_label({name:r,handle:n}):n}function u(e){const n=a(e),r=e.self?t.presence_person_you_label({name:n}):n;if(!e.hostRole)return r;const o=e.hostRole==="owner"?t.presence_role_owner():e.hostRole==="member"?t.presence_role_member():t.presence_role_guest(),l=e.online?e.viewing?t.presence_status_viewing():t.presence_status_online():t.presence_status_offline();return t.presence_person_roleStatus({name:r,role:o,status:l})}function g(e){let n=0;for(let r=0;r<e.length;r++)n=n*31+e.charCodeAt(r)|0;return`hsl(${Math.abs(n)%360} 55% 45%)`}function f(e){if(e.length===0)return null;const[n,r]=e.map(s);return e.length===1?t.presence_typing_one({name:n}):e.length===2?t.presence_typing_two_label({first:n,second:r}):t.presence_typing_many({first:n,count:e.length-1})}export{u as a,s as b,a as c,_ as d,f as e,g as p};
1
+ import{bm as t}from"./Dws-34a7.js";function _(e){return e.hostRole?e.hostRole:e.owner?"owner":e.online===!1?"offline":e.online===!0?"member":null}function s(e){return e.displayName?.trim()||e.login?.trim()||t.presence_person_unknown_label()}function i(e){const n=e.identity;if(!n)return null;const r=e.login?.trim();return n.provider==="gitlab"?r?t.presence_person_gitlabHandle_label({login:`@${r}`,host:n.host}):t.workspace_share_pinProvider_gitlab_label({host:n.host}):r?t.presence_person_githubHandle_label({login:`@${r}`}):t.workspace_share_pinProvider_github_label()}function a(e){const n=i(e);if(!n)return s(e);const r=e.displayName?.trim(),o=e.login?.trim();return r&&r.replace(/^@/,"").toLowerCase()!==o?.toLowerCase()?t.presence_person_forge_label({name:r,handle:n}):n}function u(e){const n=a(e),r=e.self?t.presence_person_you_label({name:n}):n;if(!e.hostRole)return r;const o=e.hostRole==="owner"?t.presence_role_owner():e.hostRole==="member"?t.presence_role_member():t.presence_role_guest(),l=e.online?e.viewing?t.presence_status_viewing():t.presence_status_online():t.presence_status_offline();return t.presence_person_roleStatus({name:r,role:o,status:l})}function g(e){let n=0;for(let r=0;r<e.length;r++)n=n*31+e.charCodeAt(r)|0;return`hsl(${Math.abs(n)%360} 55% 45%)`}function f(e){if(e.length===0)return null;const[n,r]=e.map(s);return e.length===1?t.presence_typing_one({name:n}):e.length===2?t.presence_typing_two_label({first:n,second:r}):t.presence_typing_many({first:n,count:e.length-1})}export{u as a,s as b,a as c,_ as d,f as e,g as p};
@@ -1 +1 @@
1
- import{br as U}from"./3SdAC2_C.js";import{c as W}from"./ChTqQfQN.js";import{a as H,i as _}from"./Bu13V5mO.js";import{u as g,i as P,j as m,w as G}from"./B4PfEXaO.js";import{Jx as c}from"./DXdFemRu.js";import{B as Q,H as Z,v as V,O as K,J as X}from"./Bqd7fdCF.js";const f=W("PanelKeyboardShortcuts"),Y=2e3;function ae(d,p,D=()=>null,I={}){const v=I.isMac??(typeof navigator<"u"&&navigator.platform.toUpperCase().includes("MAC")),s=U({leaderActive:!1,leaderTimeout:null,isZoomed:!1,zoomedPanelId:null,showPanelNumbers:!1});function w(){s.leaderTimeout&&clearTimeout(s.leaderTimeout),s.leaderActive=!0,s.leaderTimeout=setTimeout(()=>{s.leaderActive=!1,s.showPanelNumbers=!1,f.debug("Leader key timed out")},Y),f.debug("Leader key activated")}function h(){s.leaderTimeout&&(clearTimeout(s.leaderTimeout),s.leaderTimeout=null),s.leaderActive=!1,s.showPanelNumbers=!1}function C(){s.leaderTimeout&&(clearTimeout(s.leaderTimeout),s.leaderTimeout=null),s.leaderActive=!1,s.isZoomed=!1,s.zoomedPanelId=null,s.showPanelNumbers=!1}function z(e){const n=d();switch(f.debug("Executing leader action",{action:e}),e){case"navigate-left":case"navigate-right":case"navigate-up":case"navigate-down":E(n,e.replace("navigate-",""));break;case"navigate-next":p?p("next"):k(n,"next");break;case"navigate-prev":p?p("prev"):k(n,"prev");break;case"split-right":{const t=m.select(c.state,n.workspaceId),a=g.select(c.state,n.workspaceId);t&&a.length<4&&n.splitPanel(t,"horizontal");break}case"zoom-toggle":N(n);break;case"zoom-reset":x();break;case"close-panel":{const t=m.select(c.state,n.workspaceId);t&&n.closePanel(t);break}case"resize-left":case"resize-right":case"resize-up":case"resize-down":f.debug("Resize action not yet implemented",{action:e});break;case"resize-equal":O(n);break;case"swap-prev":case"swap-next":f.debug("Swap action not yet implemented",{action:e});break;case"show-panel-numbers":s.showPanelNumbers=!0;return;case"move-tab-to-next-panel":{const t=P.select(c.state,n.workspaceId);if(t?.activeTabId){const a=n.getOtherPanelId();a&&n.moveTabToPanel(t.activeTabId,t.id,a)}break}case"cycle-layout-presets":n.cyclePresets();break}h()}function E(e,n){const t=e.workspaceId,a=c.state,r=g.select(a,t);if(r.length<=1)return;const u=m.select(a,t);if(!u){e.focusPanel(r[0]);return}const l=r.indexOf(u);let i;n==="left"||n==="up"?i=l>0?l-1:r.length-1:i=l<r.length-1?l+1:0,e.focusPanel(r[i])}function k(e,n){const t=e.workspaceId,a=c.state,r=g.select(a,t);if(r.length<=1)return;const u=m.select(a,t),l=u?r.indexOf(u):-1;let i;n==="next"?i=l<r.length-1?l+1:0:i=l>0?l-1:r.length-1,e.focusPanel(r[i])}function N(e){s.isZoomed=!s.isZoomed,s.isZoomed?s.zoomedPanelId=m.select(c.state,e.workspaceId):s.zoomedPanelId=null,f.debug("Zoom toggled",{isZoomed:s.isZoomed})}function x(){s.isZoomed=!1,s.zoomedPanelId=null,f.debug("Zoom reset")}function q(e,n){const t=s.zoomedPanelId;t===null&&!s.isZoomed||t!==null&&t===e&&n.includes(t)||x()}function O(e){const n=G.select(c.state,e.workspaceId);if(!n)return;function t(a){if(a.type==="split"){const r=100/a.children.length;a.sizes=a.children.map(()=>r),a.children.forEach(t)}}t(n.root),f.debug("Equalized all panel sizes")}function T(e,n){const t=g.select(c.state,e.workspaceId);n>=0&&n<t.length&&e.focusPanel(t[n])}function j(e,n){const t=P.select(c.state,e.workspaceId);return!t||t.tabs.length<2?!1:(n==="next"?e.selectNextTab(t.id):e.selectPreviousTab(t.id),!0)}function F(e,n){if(I.onFocusAdjacentColumn)return I.onFocusAdjacentColumn(n);const t=g.select(c.state,e.workspaceId),a=m.select(c.state,e.workspaceId),u=(a?t.indexOf(a):-1)+(n==="next"?1:-1),l=t[u];return l?(e.focusPanel(l),!0):!1}function B(e,n){const t=P.select(c.state,e.workspaceId);return t?e.moveActivePaneToColumn(t.id,n):!1}function L(e){const n=g.select(c.state,e.workspaceId),t=m.select(c.state,e.workspaceId);return!t||n.length>=4?!1:(e.splitPanel(t,"horizontal"),!0)}function R(e){const n=v?e.metaKey&&!e.ctrlKey:e.ctrlKey&&!e.metaKey,t=c.state.userPreferences?.shortcutOverrides??{},a=o=>K(o,t),r=o=>Z(e,a(o),v),u=o=>r(o)&&!Q(o,e,a,v),l=u("panel.focus-previous-column")?"prev":u("panel.focus-next-column")?"next":null,i=r("panel.previous-pane")?"prev":r("panel.next-pane")?"next":null;if(l){const o=F(d(),l);return o&&e.preventDefault(),o}if(i){const o=j(d(),i);return o&&e.preventDefault(),o}if(r("panel.create-column-right")){const o=L(d());return o&&(e.preventDefault(),e.stopPropagation()),o}const y=e.target instanceof Element?e.target:null;if(H(y)||_(y))return!1;const A=d(),S=r("panel.move-pane-previous-column")?"prev":r("panel.move-pane-next-column")?"next":null;if(S){const o=B(A,S);return o&&e.preventDefault(),o}if(n&&e.key===";"&&!e.shiftKey&&!e.altKey)return e.preventDefault(),w(),!0;if(s.leaderActive){if(e.preventDefault(),s.showPanelNumbers&&e.key>="1"&&e.key<="9")return T(A,parseInt(e.key)-1),h(),!0;const o=J(e);return o?(z(o),!0):(h(),!0)}return!1}function J(e){const n=i=>K(i,c.state.userPreferences?.shortcutOverrides??{}),t=i=>X(e,n(i),v),a=t("leader.navigate-panels");if(a>=0)return["navigate-left","navigate-down","navigate-up","navigate-right"][a];const r=t("leader.resize-panels");if(r>=0)return["resize-left","resize-down","resize-up","resize-right"][r];const u=t("leader.next-previous-panel");if(u>=0)return u===0?"navigate-next":"navigate-prev";if(t("leader.split-right")>=0)return"split-right";if(t("leader.toggle-zoom")>=0)return"zoom-toggle";if(t("leader.close-panel")>=0)return"close-panel";if(t("leader.equalize-sizes")>=0)return"resize-equal";const l=V(n("leader.jump-to-panel"));return l&&Z(e,l,v)?"show-panel-numbers":t("leader.cycle-layout")>=0?"cycle-layout-presets":null}return{get availableCanvasWidth(){return D()},get leaderActive(){return s.leaderActive},get isZoomed(){return s.isZoomed},get zoomedPanelId(){return s.zoomedPanelId},get showPanelNumbers(){return s.showPanelNumbers},handleKeyDown:R,activateLeader:w,deactivateLeader:h,executeAction:z,focusPanelByIndex:T,syncZoom:q,cleanup:C}}const b=new Map;function re(d,p){b.set(d,p)}function oe(d){b.delete(d)}function le(d){return b.get(d)}export{ae as c,le as g,re as r,oe as u};
1
+ import{br as U}from"./3SdAC2_C.js";import{c as W}from"./ChTqQfQN.js";import{a as H,i as _}from"./Bu13V5mO.js";import{u as g,i as P,j as m,w as G}from"./B6eTPmJH.js";import{Jx as c}from"./4g_iHoQm.js";import{B as Q,H as Z,v as V,O as K,J as X}from"./Bqd7fdCF.js";const f=W("PanelKeyboardShortcuts"),Y=2e3;function ae(d,p,D=()=>null,I={}){const v=I.isMac??(typeof navigator<"u"&&navigator.platform.toUpperCase().includes("MAC")),s=U({leaderActive:!1,leaderTimeout:null,isZoomed:!1,zoomedPanelId:null,showPanelNumbers:!1});function w(){s.leaderTimeout&&clearTimeout(s.leaderTimeout),s.leaderActive=!0,s.leaderTimeout=setTimeout(()=>{s.leaderActive=!1,s.showPanelNumbers=!1,f.debug("Leader key timed out")},Y),f.debug("Leader key activated")}function h(){s.leaderTimeout&&(clearTimeout(s.leaderTimeout),s.leaderTimeout=null),s.leaderActive=!1,s.showPanelNumbers=!1}function C(){s.leaderTimeout&&(clearTimeout(s.leaderTimeout),s.leaderTimeout=null),s.leaderActive=!1,s.isZoomed=!1,s.zoomedPanelId=null,s.showPanelNumbers=!1}function z(e){const n=d();switch(f.debug("Executing leader action",{action:e}),e){case"navigate-left":case"navigate-right":case"navigate-up":case"navigate-down":E(n,e.replace("navigate-",""));break;case"navigate-next":p?p("next"):k(n,"next");break;case"navigate-prev":p?p("prev"):k(n,"prev");break;case"split-right":{const t=m.select(c.state,n.workspaceId),a=g.select(c.state,n.workspaceId);t&&a.length<4&&n.splitPanel(t,"horizontal");break}case"zoom-toggle":N(n);break;case"zoom-reset":x();break;case"close-panel":{const t=m.select(c.state,n.workspaceId);t&&n.closePanel(t);break}case"resize-left":case"resize-right":case"resize-up":case"resize-down":f.debug("Resize action not yet implemented",{action:e});break;case"resize-equal":O(n);break;case"swap-prev":case"swap-next":f.debug("Swap action not yet implemented",{action:e});break;case"show-panel-numbers":s.showPanelNumbers=!0;return;case"move-tab-to-next-panel":{const t=P.select(c.state,n.workspaceId);if(t?.activeTabId){const a=n.getOtherPanelId();a&&n.moveTabToPanel(t.activeTabId,t.id,a)}break}case"cycle-layout-presets":n.cyclePresets();break}h()}function E(e,n){const t=e.workspaceId,a=c.state,r=g.select(a,t);if(r.length<=1)return;const u=m.select(a,t);if(!u){e.focusPanel(r[0]);return}const l=r.indexOf(u);let i;n==="left"||n==="up"?i=l>0?l-1:r.length-1:i=l<r.length-1?l+1:0,e.focusPanel(r[i])}function k(e,n){const t=e.workspaceId,a=c.state,r=g.select(a,t);if(r.length<=1)return;const u=m.select(a,t),l=u?r.indexOf(u):-1;let i;n==="next"?i=l<r.length-1?l+1:0:i=l>0?l-1:r.length-1,e.focusPanel(r[i])}function N(e){s.isZoomed=!s.isZoomed,s.isZoomed?s.zoomedPanelId=m.select(c.state,e.workspaceId):s.zoomedPanelId=null,f.debug("Zoom toggled",{isZoomed:s.isZoomed})}function x(){s.isZoomed=!1,s.zoomedPanelId=null,f.debug("Zoom reset")}function q(e,n){const t=s.zoomedPanelId;t===null&&!s.isZoomed||t!==null&&t===e&&n.includes(t)||x()}function O(e){const n=G.select(c.state,e.workspaceId);if(!n)return;function t(a){if(a.type==="split"){const r=100/a.children.length;a.sizes=a.children.map(()=>r),a.children.forEach(t)}}t(n.root),f.debug("Equalized all panel sizes")}function T(e,n){const t=g.select(c.state,e.workspaceId);n>=0&&n<t.length&&e.focusPanel(t[n])}function j(e,n){const t=P.select(c.state,e.workspaceId);return!t||t.tabs.length<2?!1:(n==="next"?e.selectNextTab(t.id):e.selectPreviousTab(t.id),!0)}function F(e,n){if(I.onFocusAdjacentColumn)return I.onFocusAdjacentColumn(n);const t=g.select(c.state,e.workspaceId),a=m.select(c.state,e.workspaceId),u=(a?t.indexOf(a):-1)+(n==="next"?1:-1),l=t[u];return l?(e.focusPanel(l),!0):!1}function B(e,n){const t=P.select(c.state,e.workspaceId);return t?e.moveActivePaneToColumn(t.id,n):!1}function L(e){const n=g.select(c.state,e.workspaceId),t=m.select(c.state,e.workspaceId);return!t||n.length>=4?!1:(e.splitPanel(t,"horizontal"),!0)}function R(e){const n=v?e.metaKey&&!e.ctrlKey:e.ctrlKey&&!e.metaKey,t=c.state.userPreferences?.shortcutOverrides??{},a=o=>K(o,t),r=o=>Z(e,a(o),v),u=o=>r(o)&&!Q(o,e,a,v),l=u("panel.focus-previous-column")?"prev":u("panel.focus-next-column")?"next":null,i=r("panel.previous-pane")?"prev":r("panel.next-pane")?"next":null;if(l){const o=F(d(),l);return o&&e.preventDefault(),o}if(i){const o=j(d(),i);return o&&e.preventDefault(),o}if(r("panel.create-column-right")){const o=L(d());return o&&(e.preventDefault(),e.stopPropagation()),o}const y=e.target instanceof Element?e.target:null;if(H(y)||_(y))return!1;const A=d(),S=r("panel.move-pane-previous-column")?"prev":r("panel.move-pane-next-column")?"next":null;if(S){const o=B(A,S);return o&&e.preventDefault(),o}if(n&&e.key===";"&&!e.shiftKey&&!e.altKey)return e.preventDefault(),w(),!0;if(s.leaderActive){if(e.preventDefault(),s.showPanelNumbers&&e.key>="1"&&e.key<="9")return T(A,parseInt(e.key)-1),h(),!0;const o=J(e);return o?(z(o),!0):(h(),!0)}return!1}function J(e){const n=i=>K(i,c.state.userPreferences?.shortcutOverrides??{}),t=i=>X(e,n(i),v),a=t("leader.navigate-panels");if(a>=0)return["navigate-left","navigate-down","navigate-up","navigate-right"][a];const r=t("leader.resize-panels");if(r>=0)return["resize-left","resize-down","resize-up","resize-right"][r];const u=t("leader.next-previous-panel");if(u>=0)return u===0?"navigate-next":"navigate-prev";if(t("leader.split-right")>=0)return"split-right";if(t("leader.toggle-zoom")>=0)return"zoom-toggle";if(t("leader.close-panel")>=0)return"close-panel";if(t("leader.equalize-sizes")>=0)return"resize-equal";const l=V(n("leader.jump-to-panel"));return l&&Z(e,l,v)?"show-panel-numbers":t("leader.cycle-layout")>=0?"cycle-layout-presets":null}return{get availableCanvasWidth(){return D()},get leaderActive(){return s.leaderActive},get isZoomed(){return s.isZoomed},get zoomedPanelId(){return s.zoomedPanelId},get showPanelNumbers(){return s.showPanelNumbers},handleKeyDown:R,activateLeader:w,deactivateLeader:h,executeAction:z,focusPanelByIndex:T,syncZoom:q,cleanup:C}}const b=new Map;function re(d,p){b.set(d,p)}function oe(d){b.delete(d)}function le(d){return b.get(d)}export{ae as c,le as g,re as r,oe as u};