@intent-hq/web 2.320.0 → 2.321.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 (263) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{4o1DPfmL.js → -x_SoK5J.js} +1 -1
  3. package/web/app/immutable/chunks/{DYRPk2Lc.js → 0Orrh1Id.js} +6 -6
  4. package/web/app/immutable/chunks/{BBHcEtpr.js → 0TFOtiMK.js} +1 -1
  5. package/web/app/immutable/chunks/{DrzXjqzo.js → 0x0gscua.js} +1 -1
  6. package/web/app/immutable/chunks/{D2Hsf4lo.js → 45y_L1a9.js} +1 -1
  7. package/web/app/immutable/chunks/{CVQvxrRM.js → 4iRc0E9v.js} +1 -1
  8. package/web/app/immutable/chunks/{CCvXttvr.js → 5MGYaOe_.js} +1 -1
  9. package/web/app/immutable/chunks/{DCnWoCId.js → 5QXDo1_h.js} +1 -1
  10. package/web/app/immutable/chunks/{VlQJw7Mt.js → 6cxhz2FS.js} +1 -1
  11. package/web/app/immutable/chunks/{Bw5FiD-Y.js → 7fl6VDRo.js} +1 -1
  12. package/web/app/immutable/chunks/{D1xDyaMF.js → 8OpKoiOO.js} +1 -1
  13. package/web/app/immutable/chunks/{Bfb5WFg3.js → 8biy-UQv.js} +1 -1
  14. package/web/app/immutable/chunks/{H3thz4A8.js → Ab2YxsyL.js} +1 -1
  15. package/web/app/immutable/chunks/{CAoY2-K6.js → B-WefpDP.js} +1 -1
  16. package/web/app/immutable/chunks/{DsF7snTf.js → B0FM877X.js} +1 -1
  17. package/web/app/immutable/chunks/{XppZ9Q2A.js → B0FYEeEw.js} +1 -1
  18. package/web/app/immutable/chunks/{CpEHCOut.js → B0JWnOsx.js} +1 -1
  19. package/web/app/immutable/chunks/{C0Eg_x6y.js → B0pgN3Jj.js} +1 -1
  20. package/web/app/immutable/chunks/{dTdCS8d7.js → B1WyTcs2.js} +3 -3
  21. package/web/app/immutable/chunks/{CgN5SAW1.js → B2c_0_UD.js} +2 -2
  22. package/web/app/immutable/chunks/{BtxYdCDO.js → B2yYgkwz.js} +1 -1
  23. package/web/app/immutable/chunks/{Dyftr3KP.js → B5nbjbRb.js} +1 -1
  24. package/web/app/immutable/chunks/{Cmsg1-Jz.js → B6DUgu-2.js} +1 -1
  25. package/web/app/immutable/chunks/{BpzYGtC7.js → B7BTR3Z_.js} +1 -1
  26. package/web/app/immutable/chunks/{eeOO6ePS.js → B9MBednq.js} +1 -1
  27. package/web/app/immutable/chunks/{GzyujEXJ.js → BBZiE97y.js} +1 -1
  28. package/web/app/immutable/chunks/{CjOd6IrN.js → BBeErNG6.js} +1 -1
  29. package/web/app/immutable/chunks/{CwKQMp5y.js → BC1v75_H.js} +1 -1
  30. package/web/app/immutable/chunks/{D02FkLBh.js → BD8I8FK1.js} +1 -1
  31. package/web/app/immutable/chunks/{gV7ZxrZ2.js → BDgfVkJh.js} +1 -1
  32. package/web/app/immutable/chunks/{CZy8s0G0.js → BEQ_aNVt.js} +2 -2
  33. package/web/app/immutable/chunks/{C-_w8CdN.js → BG-UHIO1.js} +2 -2
  34. package/web/app/immutable/chunks/{DgIrJ3hH.js → BGFrQA7m.js} +1 -1
  35. package/web/app/immutable/chunks/{BJDDeVIO.js → BGiTQR4x.js} +1 -1
  36. package/web/app/immutable/chunks/{BwTXFSMC.js → BLhWzQz2.js} +1 -1
  37. package/web/app/immutable/chunks/{hIpW6zoP.js → BM51eWC-.js} +1 -1
  38. package/web/app/immutable/chunks/{DpAML2LZ.js → BMH4mbSd.js} +2 -2
  39. package/web/app/immutable/chunks/{CPgvYNNr.js → BMc6OzJ-.js} +2 -2
  40. package/web/app/immutable/chunks/{CI_jzrtS.js → BMvbnoDk.js} +1 -1
  41. package/web/app/immutable/chunks/{CAidTZMG.js → BOaNSc_1.js} +1 -1
  42. package/web/app/immutable/chunks/{go1cucdf.js → BOrghaSd.js} +2 -2
  43. package/web/app/immutable/chunks/{DDRNgELR.js → BPp7FHiR.js} +1 -1
  44. package/web/app/immutable/chunks/{BI6L4fKK.js → BS5yagDq.js} +1 -1
  45. package/web/app/immutable/chunks/{D5mrdrwv.js → BWHu0fap.js} +1 -1
  46. package/web/app/immutable/chunks/{CT5WLLvq.js → BX-dt_Uh.js} +1 -1
  47. package/web/app/immutable/chunks/{CR6gKG-r.js → BXPwex0u.js} +1 -1
  48. package/web/app/immutable/chunks/{CDFwOYFZ.js → BXean12D.js} +1 -1
  49. package/web/app/immutable/chunks/{Cl6HYldG.js → BZyfa8QR.js} +1 -1
  50. package/web/app/immutable/chunks/{C5i434eU.js → BbCn81lZ.js} +1 -1
  51. package/web/app/immutable/chunks/{D2MFHl3c.js → Bc-CUZMV.js} +1 -1
  52. package/web/app/immutable/chunks/{DHup9Hyk.js → Bcc7Bzbg.js} +1 -1
  53. package/web/app/immutable/chunks/{D33mZ1q4.js → BcpqnYRX.js} +5 -5
  54. package/web/app/immutable/chunks/{CI-6MxKa.js → BdWpSBC4.js} +2 -2
  55. package/web/app/immutable/chunks/{CLHEbYRj.js → BeqbwVaJ.js} +1 -1
  56. package/web/app/immutable/chunks/{DgDI47Tl.js → BflC9e-C.js} +1 -1
  57. package/web/app/immutable/chunks/{DSP3ClFU.js → Bgw4M5Hc.js} +1 -1
  58. package/web/app/immutable/chunks/{lzfQOUtM.js → Bi4OiJD3.js} +1 -1
  59. package/web/app/immutable/chunks/{DpTF0OML.js → BkR5Qiti.js} +1 -1
  60. package/web/app/immutable/chunks/{CWHiycVZ.js → Bknqawxe.js} +1 -1
  61. package/web/app/immutable/chunks/{CK5TbVXs.js → Bm_1OUSw.js} +1 -1
  62. package/web/app/immutable/chunks/{DVX1HL-4.js → Bmmshx2M.js} +1 -1
  63. package/web/app/immutable/chunks/{DYepVMa7.js → Bo4s1kgI.js} +3 -3
  64. package/web/app/immutable/chunks/{D_FHOcPH.js → Bok30zBH.js} +1 -1
  65. package/web/app/immutable/chunks/{5REd_oE3.js → BsB3ty-n.js} +1 -1
  66. package/web/app/immutable/chunks/{i6Mg1Q2O.js → BtTBXjdJ.js} +1 -1
  67. package/web/app/immutable/chunks/{r2I2bB7k.js → BtWwzwrf.js} +1 -1
  68. package/web/app/immutable/chunks/{D8UQMJEh.js → BvkV35-O.js} +1 -1
  69. package/web/app/immutable/chunks/{fUyHJpWx.js → BwICfRz9.js} +1 -1
  70. package/web/app/immutable/chunks/{CfpYQrWa.js → BwYRCP9e.js} +1 -1
  71. package/web/app/immutable/chunks/{B_dSJdhc.js → ByKL05wN.js} +1 -1
  72. package/web/app/immutable/chunks/{afj8l-L0.js → Byv2GcxJ.js} +2 -2
  73. package/web/app/immutable/chunks/{D-NAfI6p.js → BziQ6zwo.js} +1 -1
  74. package/web/app/immutable/chunks/{SrOLwB5L.js → C-RJDuZ9.js} +1 -1
  75. package/web/app/immutable/chunks/{BsWKC22i.js → C-neqscP.js} +1 -1
  76. package/web/app/immutable/chunks/{DHbAKa61.js → C06rhFz-.js} +1 -1
  77. package/web/app/immutable/chunks/{Bd9YcJpJ.js → C0VXEpDj.js} +1 -1
  78. package/web/app/immutable/chunks/{ivVGXMNS.js → C0mBOV7w.js} +1 -1
  79. package/web/app/immutable/chunks/{B9MzVcgv.js → C11XjPnf.js} +3 -3
  80. package/web/app/immutable/chunks/{C7VzwASa.js → C3AKbypo.js} +6 -6
  81. package/web/app/immutable/chunks/{8AEPB8vg.js → C3lgqjB4.js} +1 -1
  82. package/web/app/immutable/chunks/{C_nueLij.js → C5aeZ3Yo.js} +2 -2
  83. package/web/app/immutable/chunks/{Bk4gFCP5.js → C6-BVYMv.js} +1 -1
  84. package/web/app/immutable/chunks/C76-jvlr.js +19 -0
  85. package/web/app/immutable/chunks/{CIO13o1_.js → C7JWgw8J.js} +3 -3
  86. package/web/app/immutable/chunks/{DLX1zpqU.js → C804xHCz.js} +1 -1
  87. package/web/app/immutable/chunks/{DdteGby8.js → C8xPpxcv.js} +1 -1
  88. package/web/app/immutable/chunks/{BoUhyyfU.js → C8zzua9V.js} +1 -1
  89. package/web/app/immutable/chunks/{P_873CiZ.js → CAgY0H5Q.js} +1 -1
  90. package/web/app/immutable/chunks/{ApbPdiAE.js → CBxbaIvA.js} +1 -1
  91. package/web/app/immutable/chunks/CCaX_DIa.js +1 -0
  92. package/web/app/immutable/chunks/{7z2H_RtS.js → CCnP87Jb.js} +1 -1
  93. package/web/app/immutable/chunks/{DUBITB6h.js → CCsRc7xx.js} +1 -1
  94. package/web/app/immutable/chunks/{BFslYMdM.js → CDsY8gY8.js} +1 -1
  95. package/web/app/immutable/chunks/{BjK8NxLQ.js → CEFpGNTq.js} +1 -1
  96. package/web/app/immutable/chunks/{V4Dt-iuy.js → CEj75uMJ.js} +1 -1
  97. package/web/app/immutable/chunks/{DFelFjwN.js → CG9qWr93.js} +3 -3
  98. package/web/app/immutable/chunks/{DjfcjPFA.js → CGBBhq8k.js} +1 -1
  99. package/web/app/immutable/chunks/{DU9iEtZ1.js → CGIf2jXM.js} +1 -1
  100. package/web/app/immutable/chunks/{B02JUP96.js → CGVJO4eq.js} +1 -1
  101. package/web/app/immutable/chunks/{ipFV2AXr.js → CHM5tGJ6.js} +1 -1
  102. package/web/app/immutable/chunks/CHRkLzGl.js +1 -0
  103. package/web/app/immutable/chunks/{D7X4cgrV.js → CHZAzCO9.js} +2 -2
  104. package/web/app/immutable/chunks/{BuOFVkeK.js → CIh8Ybhq.js} +1 -1
  105. package/web/app/immutable/chunks/{BUQv-rGq.js → CKO4faLg.js} +1 -1
  106. package/web/app/immutable/chunks/{Hl0p8Y_K.js → CKwPlZ66.js} +1 -1
  107. package/web/app/immutable/chunks/{BYWZOhBp.js → CLmrIbfi.js} +1 -1
  108. package/web/app/immutable/chunks/{qBcLa7Zb.js → CM7Hb3PZ.js} +1 -1
  109. package/web/app/immutable/chunks/{BcyYpopU.js → CN70DRE5.js} +1 -1
  110. package/web/app/immutable/chunks/{B_BXfNyq.js → CPKLysog.js} +1 -1
  111. package/web/app/immutable/chunks/CRyHSgI1.js +1 -0
  112. package/web/app/immutable/chunks/{EJCOdspF.js → CS7dHtKw.js} +1 -1
  113. package/web/app/immutable/chunks/{XL81JlY3.js → CTlGDL05.js} +1 -1
  114. package/web/app/immutable/chunks/{DkrIcKd4.js → CVjlpAWj.js} +3 -3
  115. package/web/app/immutable/chunks/{vnFqKiHP.js → CVrH3Neh.js} +1 -1
  116. package/web/app/immutable/chunks/{D7ZBvVv7.js → CXIZuwd7.js} +1 -1
  117. package/web/app/immutable/chunks/{T8ZYfg6I.js → CY9IKMQG.js} +1 -1
  118. package/web/app/immutable/chunks/{D_tUKjY4.js → CYOvUFvY.js} +1 -1
  119. package/web/app/immutable/chunks/{BPBgxP_m.js → CZEWv-Gf.js} +1 -1
  120. package/web/app/immutable/chunks/{jiIr1QvR.js → C_Vz3LCC.js} +1 -1
  121. package/web/app/immutable/chunks/{_GzLh8om.js → Cb3FWEmc.js} +1 -1
  122. package/web/app/immutable/chunks/{HxY68xDO.js → Cbqk5Mud.js} +1 -1
  123. package/web/app/immutable/chunks/{BkH6TsO0.js → CchM71Qw.js} +1 -1
  124. package/web/app/immutable/chunks/{RBSqSYOo.js → CdGIN-T1.js} +3 -3
  125. package/web/app/immutable/chunks/{DaNWGYoy.js → CdVKa6AF.js} +2 -2
  126. package/web/app/immutable/chunks/{DHA6UXAH.js → Ced26xBL.js} +1 -1
  127. package/web/app/immutable/chunks/{DukwQosN.js → Ci959ZOg.js} +1 -1
  128. package/web/app/immutable/chunks/{Uvf6CZvV.js → Cja4W1Zb.js} +4 -4
  129. package/web/app/immutable/chunks/{DtL3mwiX.js → CmAVmm3T.js} +1 -1
  130. package/web/app/immutable/chunks/CmYXfe7_.js +1 -0
  131. package/web/app/immutable/chunks/{5-cDqrnd.js → CoUfnBeR.js} +1 -1
  132. package/web/app/immutable/chunks/{4PQMLe8m.js → Cq6ekj5I.js} +1 -1
  133. package/web/app/immutable/chunks/{C_Jtint5.js → CqGkRJXi.js} +1 -1
  134. package/web/app/immutable/chunks/{BEqt0QSe.js → Cqay3Iio.js} +1 -1
  135. package/web/app/immutable/chunks/{B1r9HFnN.js → CsqvO7xN.js} +1 -1
  136. package/web/app/immutable/chunks/{DQhHyGm2.js → Ctggj9Y1.js} +1 -1
  137. package/web/app/immutable/chunks/{CTIoKRdg.js → Cts399i7.js} +1 -1
  138. package/web/app/immutable/chunks/{TRcwahzR.js → CulY8r4s.js} +1 -1
  139. package/web/app/immutable/chunks/{0S9IxBYm.js → CvBuWqyP.js} +4 -4
  140. package/web/app/immutable/chunks/{DB531Hr_.js → CvegPRPp.js} +2 -2
  141. package/web/app/immutable/chunks/{DFlMJdQz.js → Cwv7iryQ.js} +1 -1
  142. package/web/app/immutable/chunks/{BFPcVXtw.js → CxQ0SCX2.js} +1 -1
  143. package/web/app/immutable/chunks/{DZxiqmZj.js → CxZuxrAL.js} +1 -1
  144. package/web/app/immutable/chunks/{BxsS3mXG.js → Cz8iOYm8.js} +1 -1
  145. package/web/app/immutable/chunks/{CFBBhrkC.js → CztKENY4.js} +1 -1
  146. package/web/app/immutable/chunks/{CxGR0S3R.js → D26IPp5S.js} +1 -1
  147. package/web/app/immutable/chunks/{DfBOHkPz.js → D2iCI9dn.js} +1 -1
  148. package/web/app/immutable/chunks/{CSY5tujD.js → D2zJp5fS.js} +29 -29
  149. package/web/app/immutable/chunks/{Bv-JB2Uu.js → D4e2w8TP.js} +1 -1
  150. package/web/app/immutable/chunks/{BDWwvOsS.js → D5lr7eae.js} +2 -2
  151. package/web/app/immutable/chunks/{9Lm8k_8r.js → D6dCvfQe.js} +1 -1
  152. package/web/app/immutable/chunks/{CMeoq2YD.js → D7q-DSVP.js} +1 -1
  153. package/web/app/immutable/chunks/{Bq8HB3qA.js → D84A4J8d.js} +1 -1
  154. package/web/app/immutable/chunks/{B2RDqcyK.js → DDdLPEvL.js} +1 -1
  155. package/web/app/immutable/chunks/{DU9yd1xn.js → DDnwQoVq.js} +1 -1
  156. package/web/app/immutable/chunks/{MJGmlCLu.js → DFcwI6Rh.js} +1 -1
  157. package/web/app/immutable/chunks/{DyyCDL26.js → DFyBaL9d.js} +1 -1
  158. package/web/app/immutable/chunks/{CCmXROuj.js → DI4wCe7O.js} +1 -1
  159. package/web/app/immutable/chunks/{DSbw-nyW.js → DJKXcaw9.js} +1 -1
  160. package/web/app/immutable/chunks/{DIitBWg3.js → DMRQ6CDd.js} +2 -2
  161. package/web/app/immutable/chunks/{i3h2CX4F.js → DMvfzQWM.js} +1 -1
  162. package/web/app/immutable/chunks/{D0rBJOMA.js → DNFHGDC9.js} +1 -1
  163. package/web/app/immutable/chunks/{R6dAjEem.js → DNNMwmDG.js} +1 -1
  164. package/web/app/immutable/chunks/{CZ5Pr0zI.js → DOzF5uE-.js} +1 -1
  165. package/web/app/immutable/chunks/{DDdEHmdT.js → DPoarPZL.js} +1 -1
  166. package/web/app/immutable/chunks/{273-ejOd.js → DR4i54x0.js} +1 -1
  167. package/web/app/immutable/chunks/{CHGuZ9fZ.js → DRpDjwRs.js} +1 -1
  168. package/web/app/immutable/chunks/{BvnODxCP.js → DS2Q5gr9.js} +1 -1
  169. package/web/app/immutable/chunks/{B-ukGsyU.js → DSdY0J1g.js} +1 -1
  170. package/web/app/immutable/chunks/{BYA94DCT.js → DXySew1R.js} +1 -1
  171. package/web/app/immutable/chunks/{C72zM9oE.js → DYfBNrOV.js} +1 -1
  172. package/web/app/immutable/chunks/{CCghBHzC.js → DYhpST_X.js} +1 -1
  173. package/web/app/immutable/chunks/{QeTaV4Op.js → DZAWjsA4.js} +1 -1
  174. package/web/app/immutable/chunks/{CBE9bOjQ.js → DZtstCLQ.js} +1 -1
  175. package/web/app/immutable/chunks/{sZnxO3Td.js → D_HysCp7.js} +1 -1
  176. package/web/app/immutable/chunks/{BOypJjQg.js → Dd0rdLMI.js} +1 -1
  177. package/web/app/immutable/chunks/{CwSP6heW.js → Dd7A9glX.js} +1 -1
  178. package/web/app/immutable/chunks/{Ci8maFTk.js → Dgqdx3pd.js} +1 -1
  179. package/web/app/immutable/chunks/{Ca0VZzWN.js → DhtKWu39.js} +1 -1
  180. package/web/app/immutable/chunks/{BBvT7Bb8.js → Dix9BiYu.js} +1 -1
  181. package/web/app/immutable/chunks/{CtugIh5q.js → DjqPgoUP.js} +1 -1
  182. package/web/app/immutable/chunks/DlBxdhh5.js +2 -0
  183. package/web/app/immutable/chunks/{CgQiyraX.js → DlZzAKZ2.js} +1 -1
  184. package/web/app/immutable/chunks/{PsUBRXJ6.js → DnfX8iZ_.js} +1 -1
  185. package/web/app/immutable/chunks/Dritbi2C.js +6 -0
  186. package/web/app/immutable/chunks/{BlAtH_I1.js → DsRLPs6I.js} +10 -10
  187. package/web/app/immutable/chunks/{DVijqcE1.js → Du7yAEgM.js} +1 -1
  188. package/web/app/immutable/chunks/{BivhoPt2.js → DuMlpvYZ.js} +1 -1
  189. package/web/app/immutable/chunks/{CvfkUn8M.js → DwNzQjT_.js} +1 -1
  190. package/web/app/immutable/chunks/{Dyr9OHj8.js → DwsRDnkS.js} +4 -4
  191. package/web/app/immutable/chunks/{C7K9s96B.js → DyVNmy1r.js} +1 -1
  192. package/web/app/immutable/chunks/{IwQXvQKq.js → I0eHZGMz.js} +1 -1
  193. package/web/app/immutable/chunks/{D1zDcaZa.js → JfyBNQs2.js} +1 -1
  194. package/web/app/immutable/chunks/{YGDnq71P.js → NeHKo0ZG.js} +1 -1
  195. package/web/app/immutable/chunks/{DCXOZ-cm.js → O0CxvO89.js} +1 -1
  196. package/web/app/immutable/chunks/{DudXAl_N.js → Ob5NWDgS.js} +1 -1
  197. package/web/app/immutable/chunks/{DEbxL_K_.js → PUalo3UE.js} +1 -1
  198. package/web/app/immutable/chunks/{DXjHY2hF.js → QGE3iD8D.js} +1 -1
  199. package/web/app/immutable/chunks/{_p09hiud.js → QSR6vsk4.js} +1 -1
  200. package/web/app/immutable/chunks/{9tzjcklF.js → QjpXu0Du.js} +1 -1
  201. package/web/app/immutable/chunks/{CPObUSo8.js → UEd-gngc.js} +1 -1
  202. package/web/app/immutable/chunks/VEkj47bo.js +1 -0
  203. package/web/app/immutable/chunks/{V7Hjifys.js → VeIqG7dc.js} +4 -4
  204. package/web/app/immutable/chunks/{j3QkolT-.js → XF_IbTR1.js} +3 -3
  205. package/web/app/immutable/chunks/{CcVvQKcJ.js → XV0T3w4n.js} +1 -1
  206. package/web/app/immutable/chunks/{Dzu_kyuP.js → YO4PhogQ.js} +1 -1
  207. package/web/app/immutable/chunks/{BLl4jbbs.js → aLZSbque.js} +2 -2
  208. package/web/app/immutable/chunks/{DkBn6nxi.js → csuWDYc9.js} +1 -1
  209. package/web/app/immutable/chunks/{CnlzKY2y.js → dmSYAakE.js} +1 -1
  210. package/web/app/immutable/chunks/eK7OULll.js +1 -0
  211. package/web/app/immutable/chunks/{ZPW-9-jj.js → gCXIPBa3.js} +1 -1
  212. package/web/app/immutable/chunks/{Rut-2pZ8.js → hxIWaKu8.js} +1 -1
  213. package/web/app/immutable/chunks/{C3lmZVdU.js → jMKjj8ae.js} +1 -1
  214. package/web/app/immutable/chunks/{Dpk7e0gp.js → jvHJQ-Xz.js} +1 -1
  215. package/web/app/immutable/chunks/{e5uo7mZH.js → k4eU_FWk.js} +1 -1
  216. package/web/app/immutable/chunks/{BigdBsL9.js → nLw8YrmA.js} +1 -1
  217. package/web/app/immutable/chunks/{C95LwPTq.js → nR16njgN.js} +1 -1
  218. package/web/app/immutable/chunks/{Dld3dCA-.js → o5rEX9Xy.js} +1 -1
  219. package/web/app/immutable/chunks/{B30Ssr1r.js → p5gLe3PS.js} +1 -1
  220. package/web/app/immutable/chunks/{DUTF8GiF.js → pnKMO5U0.js} +53 -53
  221. package/web/app/immutable/chunks/{BV8VDu62.js → reR1kPlm.js} +1 -1
  222. package/web/app/immutable/chunks/{BwfkZxtl.js → tGqA6xQ9.js} +1 -1
  223. package/web/app/immutable/chunks/uLB4Kp9c.js +1 -0
  224. package/web/app/immutable/chunks/{rytmH58N.js → ubLEbEcV.js} +1 -1
  225. package/web/app/immutable/chunks/{BrMxn35B.js → uyOfKmty.js} +3 -3
  226. package/web/app/immutable/chunks/{DVRDTT5s.js → vUGF5JqJ.js} +1 -1
  227. package/web/app/immutable/chunks/{DamIfQPR.js → vzGm0J_h.js} +1 -1
  228. package/web/app/immutable/chunks/{Dlalsrb2.js → w6mFE4SD.js} +1 -1
  229. package/web/app/immutable/chunks/{DQyFaFhy.js → z3QVK190.js} +2 -2
  230. package/web/app/immutable/entry/{app.D1_zvf06.js → app.PHHlgSoZ.js} +3 -3
  231. package/web/app/immutable/entry/start.Cltn4m6a.js +1 -0
  232. package/web/app/immutable/nodes/{0.DncqPHfM.js → 0.D7bJjS_y.js} +1 -1
  233. package/web/app/immutable/nodes/{1.C0XLYfok.js → 1.B3gH8FG5.js} +1 -1
  234. package/web/app/immutable/nodes/{10.FOhcPF7P.js → 10.NQcSgQgq.js} +4 -4
  235. package/web/app/immutable/nodes/{11.DNy1N3E_.js → 11.Drfz7PRj.js} +1 -1
  236. package/web/app/immutable/nodes/{12.CkJqJXDQ.js → 12.gXokqM9g.js} +1 -1
  237. package/web/app/immutable/nodes/{13.BQO-XqRU.js → 13.DFxxGy6Y.js} +3 -3
  238. package/web/app/immutable/nodes/{14.CQ7rNDCc.js → 14.7T2ChNl_.js} +1 -1
  239. package/web/app/immutable/nodes/{15.Cul5GEsK.js → 15.CgEeXtgJ.js} +1 -1
  240. package/web/app/immutable/nodes/{16.D1YB7GYH.js → 16.CWrHY2VB.js} +2 -2
  241. package/web/app/immutable/nodes/{2.BdCIUUeK.js → 2.DQ6QcB9c.js} +8 -8
  242. package/web/app/immutable/nodes/{3.plIg2MFf.js → 3.Fjkgohv2.js} +1 -1
  243. package/web/app/immutable/nodes/{4.CcgVPTck.js → 4.D1BNF_ep.js} +1 -1
  244. package/web/app/immutable/nodes/{5.C_N4OtaU.js → 5.C5OySrRk.js} +2 -2
  245. package/web/app/immutable/nodes/{6.DGUZaYtw.js → 6.BrxG9qCf.js} +1 -1
  246. package/web/app/immutable/nodes/{7.C8AkEQkN.js → 7.CvdabbdY.js} +1 -1
  247. package/web/app/immutable/nodes/8.BSQtFfFS.js +15 -0
  248. package/web/app/immutable/nodes/{9.DgERn09Y.js → 9.D6DS9Z9f.js} +5 -5
  249. package/web/app/version.json +1 -1
  250. package/web/generated/paraglide.js +49 -49
  251. package/web/index.html +18 -18
  252. package/web/app/immutable/chunks/4Qt-u50Z.js +0 -1
  253. package/web/app/immutable/chunks/BozAh4mR.js +0 -1
  254. package/web/app/immutable/chunks/C5NmOSh4.js +0 -2
  255. package/web/app/immutable/chunks/C7-4lB53.js +0 -6
  256. package/web/app/immutable/chunks/CsBJcTed.js +0 -1
  257. package/web/app/immutable/chunks/DZyoV8-g.js +0 -19
  258. package/web/app/immutable/chunks/DakbBhJV.js +0 -1
  259. package/web/app/immutable/chunks/DozYGPQ1.js +0 -1
  260. package/web/app/immutable/chunks/TWdtA8BC.js +0 -1
  261. package/web/app/immutable/chunks/nGAsq1_L.js +0 -1
  262. package/web/app/immutable/entry/start.UwzduGPr.js +0 -1
  263. package/web/app/immutable/nodes/8.Bib6c2R5.js +0 -15
@@ -1,4 +1,4 @@
1
- var Ju=Object.defineProperty;var e1=(t,e,r)=>e in t?Ju(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var se=(t,e,r)=>e1(t,typeof e!="symbol"?e+"":e,r);import{cA as Gt,aS as t1,dn as Rl,Z as z0,X as va,Y as r1,W as n1,a0 as a1,aa as i1,S as s1,dP as o1,L as l1,b8 as Dl,cD as o0,dm as Nl,aR as c1,aV as u1,cl as h1,c7 as d1,di as Va,dJ as m1,dC as p1,ax as Bn,ak as f1,as as Si,dz as g1,dE as _l,dB as v1}from"./SrOLwB5L.js";import{D as Ns,bl as b1,bC as y1,aR as w1}from"./DQyFaFhy.js";import{L as k1,E as n0}from"./BBvT7Bb8.js";import{y2 as fn,HQ as E,nl as ve,nk as Se,aQ as x1,g as Ll,y as Re,bi as l0,j_ as Ai,lE as gn,an as Vt,lD as _s,lN as Ls,lK as Os,jx as Ol,gq as Ka,Gl as S1,sy as A1,zp as T1,oo as E1,mq as vn,A_ as M1,iD as C1,lX as I1,ly as z1}from"./DYepVMa7.js";import{bo as ne}from"./DozYGPQ1.js";import{t as rt}from"./C72zM9oE.js";import{T as R1,x as xr,y as Sr}from"./C7-4lB53.js";import{a as c0}from"./BJzHxIyr.js";import{o as me,r as jt,e as u0,s as V,_ as Xe,l as h0,g as D1,n as Le,c as lr,b as He,u as N1,d as _1}from"./UyBYtOpv.js";import{j as Pl}from"./BlOn95cv.js";import{r as L1}from"./YGDnq71P.js";import{b as O1}from"./CDFwOYFZ.js";import{i as je}from"./7z2H_RtS.js";import{l as ba,c as P1}from"./ChTqQfQN.js";import{ax as d0}from"./DkrIcKd4.js";import{i as Ps}from"./CVQvxrRM.js";import{f as Ti,B as $l,C as Bl,l as $1,y as ql,r as B1,u as q1}from"./BLl4jbbs.js";const We=[];for(let t=0;t<256;++t)We.push((t+256).toString(16).slice(1));function F1(t,e=0){return(We[t[e+0]]+We[t[e+1]]+We[t[e+2]]+We[t[e+3]]+"-"+We[t[e+4]]+We[t[e+5]]+"-"+We[t[e+6]]+We[t[e+7]]+"-"+We[t[e+8]]+We[t[e+9]]+"-"+We[t[e+10]]+We[t[e+11]]+We[t[e+12]]+We[t[e+13]]+We[t[e+14]]+We[t[e+15]]).toLowerCase()}const H1=new Uint8Array(16);function U1(){return crypto.getRandomValues(H1)}function Ei(t,e,r){return crypto.randomUUID?crypto.randomUUID():W1(t)}function W1(t,e,r){t=t||{};const n=t.random??t.rng?.()??U1();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,F1(n)}function Mi(t,e){if(t.repositoryIdentity===null)return null;if(t.repositoryIdentity){const{provider:a,instanceBaseUrl:i,projectPath:s}=t.repositoryIdentity,o=Mi({...t,repositoryIdentity:void 0,githubUrl:`${i}/${s}`},a==="gitlab"?i:void 0);return o?.provider===a?o:null}const r=t.githubUrl;if(!r)return null;const n=/^(?:https:\/\/github\.com\/|git@github\.com:)([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?\/?$/i.exec(r);return n&&!n.slice(1).some(a=>a==="."||a==="..")?{provider:"github",instanceBaseUrl:"https://github.com",projectPath:`${n[1]}/${n[2]}`}:e?k1(r.replace(/\.git\/?$/,""),e):null}function m5(t,e){return t.type==="local"?t.plainFolder?"folder":"local":Mi(t,e)?.provider==="gitlab"?"gitlab":"github"}function Fl(t){const e=t.split(/[\\/]/).filter(Boolean);return e[e.length-1]??""}function p5(t){if(t.type!=="local")return{ownerPrefix:t.owner,primary:t.name};const e=Fl(t.path)||t.name,r=t.owner?`${t.owner}/${t.name}`:void 0;return{primary:e,suffix:r}}function f5(t){return t.type==="local"&&t.path?t.path:void 0}const G1=["/.clones/","/.repo-cache/"];function g5(t){const e=t.replaceAll("\\","/");return G1.some(r=>e.includes(r))}function v5(t){const e=new Set;for(const r of t){const{repositoryPath:n,worktreePath:a}=r;n&&a&&n===a&&e.add(n)}return e}function j1(t){return t.includes("\\")||t.includes(":")||t.startsWith("/")?void 0:/^([^/]+)\/[^/]+$/.exec(t)?.[1]}function b5(t,e){const{selectedValue:r,selectedRepoType:n,confirmedGithubUrl:a}=t;if(!(n!=="github"||!r)){if(a){const i=e(a)?.owner;if(i)return i}return e(r)?.owner??j1(r)}}function y5(t,e){const r=e.trim().toLowerCase();return r===""?!0:[t.name,t.path,Fl(t.path),t.owner,t.owner?`${t.owner}/${t.name}`:void 0].some(a=>a?.toLowerCase().includes(r)??!1)}const V1="known-repos",K1=6e4;function X1({saved:t,source:e,dismissed:r,mode:n}){if(!e)return[...t];const a=new Map;if(n==="all")for(const s of[...e.repos,...t]){const o=fn(s);a.has(o)||a.set(o,s)}else{for(const s of t)a.set(fn(s),s);for(const s of e.repos)a.set(fn(s),s)}const i=[...a.values()].filter(s=>!r[fn(s)]);return n==="all"?i:i.slice(0,9)}function w5(t){const e=t.lastUsedAt?Date.parse(t.lastUsedAt):NaN;return Number.isFinite(e)?e:0}function k5({visible:t,admission:e,entry:r,readyAt:n,now:a}){return!t||!e?"skip":!r||r.admission!==e?"load":r.status==="pending"?"reuse":r.status==="ready"&&n?.requestId===r.requestId&&a-n.at<K1?"skip":"load"}function x5(t,e){if(t.type==="local")return t.plainFolder?{repoPath:t.path,plainFolder:!0}:{repoPath:t.path};const r=Mi(t,e);return r?.provider==="gitlab"?{repositoryCheckoutDraft:{instanceBaseUrl:r.instanceBaseUrl,projectPath:r.projectPath}}:r?{githubUrl:`https://github.com/${r.projectPath}`,exactRemote:!0}:{githubUrl:t.githubUrl||`https://github.com/${t.path}`,exactRemote:!0}}function Y1({compactFormState:t,lastSubmittedAgent:e,specialists:r,orchestratorId:n}){if(t?.isTeamMode??e?.isTeamMode??!1)return n;const i=o=>r.some(c=>c.id===o),s=t?.selectedSpecialist!==void 0?t.selectedSpecialist:e?.selectedSpecialist!==void 0?e.selectedSpecialist:i(Ns)?Ns:null;return s===null||!i(s)?null:s}const S5=E.createSelector(t=>t.workspaceInitializer.hydrated),A5=E.createSelector(t=>t.workspaceInitializer.compactFormState),T5=E.createSelector(t=>t.workspaceInitializer.onboardingFormState),E5=E.createSelector(t=>t.workspaceInitializer.lastSelectedRepo),M5=E.createSelector(t=>t.workspaceInitializer.branchByRepo),C5=E.createSelector(t=>t.workspaceInitializer.defaultParentPath),I5=E.createSelector(t=>ve(t.workspaceInitializer.recentRepos)),z5=E.createSelector((t,e)=>Se(t.workspaceInitializer.recentRepoRefreshes,e)),R5=E.createSelector((t,e)=>Se(t.workspaceInitializer.directoryStatusChecks,e)),D5=E.createSelector(t=>t.workspaceInitializer.dismissedRecentRepoKeys),N5=E.createSelector(t=>ve(t.workspaceInitializer.remoteSetups)),_5=E.createSelector(t=>t.workspaceInitializer.lastSubmittedAgent),L5=E.createSelector(t=>t.workspaceInitializer.agentByRepo),O5=E.createSelector(t=>t.workspaceInitializer.recentSpecialistIds),P5=E.createSelector((t,e)=>t.workspaceInitializer.agentByRepo[e]??null),$5=E.createSelector(t=>t.workspaceInitializer.pendingGitHubPrefill),B5=E.createSelector((t,e)=>({restore:Se(t.workspaceInitializer.draftRestores,e),clear:Se(t.workspaceInitializer.draftClears,e)})),q5=E.createSelector((t,e,r)=>{const n=Se(t.workspaceInitializer.initializationOutcomes,e);return n?.resourceId===r?n:void 0}),F5=E.createSelector((t,e)=>Se(t.workspaceInitializer.initializationOutcomes,e)),H5=E.createSelector((t,e)=>Se(t.workspaceInitializer.initializationResumes,e)),U5=E.createSelector(t=>Y1({compactFormState:t.workspaceInitializer.compactFormState,lastSubmittedAgent:t.workspaceInitializer.lastSubmittedAgent,specialists:y1.select(t),orchestratorId:b1.select(t)?.id??null})),Z1=E.createSelector(t=>{const e=t.workspaceInitializer.gitCheckRequest,r=Gt.select(t);return e&&r&&t1.select(t)?JSON.stringify([r,e]):null}),W5=E.createSelector(t=>{const e=Z1.select(t),r=t.workspaceInitializer.gitCheck;return e&&r?.context===e?r.available:null}),Q1=E.createSelector(t=>{const e=Se(t.workspaceInitializer.recentRepoRefreshes,V1),r=Gt.select(t);return X1({saved:ve(t.workspaceInitializer.recentRepos),source:e&&r&&e.admission===r?e:null,dismissed:t.workspaceInitializer.dismissedRecentRepoKeys,mode:"all"})}),G5=E.createSelector(t=>Rl.select(t)?Q1.select(t):[]),j5=E.createSelector(t=>w1.select(t)||void 0),$s="workspace-debug-flags",bn={enableCreationAnimation:!0,animationDuration:300,enablePageTransitions:!0,enableComponentTransitions:!0,showDebugInfo:!1,showPerformanceMetrics:!1,logStateChanges:!1,enableAutofocus:!0,enableBranchCaching:!0,enableFormPersistence:!0,simulateSlowNetwork:!1,simulateErrors:!1,networkDelay:0};class J1{constructor(){se(this,"flags");se(this,"listeners",new Set);this.flags=this.loadFlags()}loadFlags(){if(typeof localStorage>"u")return bn;try{const e=localStorage.getItem($s);if(e)return{...bn,...JSON.parse(e)}}catch(e){ba.error("Failed to load debug flags:",e)}return bn}saveFlags(){if(!(typeof localStorage>"u")){try{localStorage.setItem($s,JSON.stringify(this.flags))}catch(e){ba.error("Failed to save debug flags:",e)}this.listeners.forEach(e=>e(this.flags))}}get(e){return this.flags[e]}set(e,r){this.flags[e]=r,this.saveFlags()}toggle(e){typeof this.flags[e]=="boolean"&&(this.flags[e]=!this.flags[e],this.saveFlags())}reset(){this.flags={...bn},this.saveFlags()}getAll(){return{...this.flags}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}toggleDebugPanel(){this.toggle("showDebugInfo"),ba.info("Debug panel:",this.flags.showDebugInfo?"ON":"OFF")}async simulateDelay(e){return this.flags.simulateSlowNetwork&&this.flags.networkDelay>0&&await new Promise(r=>setTimeout(r,this.flags.networkDelay)),e}}const ya=new J1;function V5(t){if(!t)return"";let e=t;return e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(/(?<!\*)\*(?!\*)(.+?)(?<!\*)\*(?!\*)/g,"$1"),e=e.replace(/(?<!_)_(?!_)(.+?)(?<!_)_(?!_)/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/\[([^\]]+)\]\([^)]+\)/g,"$1"),e=e.replace(/^#{1,6}\s+/gm,""),e=e.replace(/^\*+\s*/gm,""),e=e.replace(/\s*\*+$/gm,""),e.trim()}function eh(t){return t.charAt(0).toUpperCase()+t.slice(1)}function K5(t){if(!t||t.trim().length===0)return ne.workspace_sidebarHeader_branchEmpty_error();if(/[\s~^:\\?*\[\\]/.test(t))return ne.workspace_sidebarHeader_branchInvalidChars_error();if(t.includes("@{"))return ne.workspace_sidebarChanges_branchAtBrace_error({seq:"@{"});if(t==="@")return ne.workspace_sidebarChanges_branchAt_error({symbol:"@"});if(t.startsWith("."))return ne.workspace_sidebarHeader_branchStartsDot_error();if(t.endsWith(".lock"))return ne.workspace_sidebarHeader_branchEndsLock_error();if(t.includes(".."))return ne.workspace_sidebarHeader_branchDoubleDot_error();if(t.startsWith("/")||t.endsWith("/"))return ne.workspace_sidebarHeader_branchSlashEnds_error();if(t.includes("//"))return ne.workspace_sidebarHeader_branchDoubleSlash_error();if(t.startsWith("-"))return ne.workspace_sidebarHeader_branchStartsDash_error();if(t.endsWith("."))return ne.workspace_sidebarChanges_branchEndsPeriod_error();const e=t.split("/");for(const r of e){if(r.startsWith("."))return ne.workspace_sidebarChanges_branchComponentStartsDot_error();if(r.endsWith(".lock"))return ne.workspace_sidebarChanges_branchComponentEndsLock_error()}if(t.length>250)return ne.workspace_sidebarHeader_branchTooLong_error()}function X5(t,e,r,n){return e&&r?`https://github.com/${e}/${r}/pull/${t}`:n||""}function Xa(t){return t==="Open"?"open":t==="Merged"?"merged":t==="Draft"?"draft":"closed"}function Y5(t,e){return`${e}:${t.agentId??"manual"}`}function th(t,e){if(t.length===0||e>=t.length)return 0;const r=Math.max(0,e);let n=0;for(let a=r;a<t.length;a++)t[a].isPushed||n++;return n}function rh(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed&&n++;return n}function nh(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed||n++;return n}function Z5(t,e,r,n){const a=th(t,e),i=n?` (origin/${n})`:"";return r?a===1?ne.workspace_sidebarChanges_addToPr_one({suffix:i}):ne.workspace_sidebarChanges_addToPr_many({count:rt(a),suffix:i}):a===1?ne.workspace_sidebarChanges_pushToRemote_one({suffix:i}):ne.workspace_sidebarChanges_pushToRemote_many({count:rt(a),suffix:i})}function Q5(t,e,r){const n=rh(t,e),a=r?` (origin/${r})`:"";return n===1?ne.workspace_sidebarChanges_undoPush_one({suffix:a}):ne.workspace_sidebarChanges_undoPush_many({count:rt(n),suffix:a})}function J5(t,e){const r=nh(t,e);return r===1?ne.workspace_sidebarChanges_undoCommit_one():ne.workspace_sidebarChanges_undoCommit_many({count:rt(r)})}function e3(t,e){return e===0&&t.length>0}function t3(t,e,r,n){return!r||n==null?!1:t===r&&e===n}function r3(t,e,r){const n=`${e?"staged":"unstaged"}:${t}`;return r.has(n)}function n3(t,e,r){return r?.path===t&&r?.staged===e}function a3(t){if(t.length===0)return[];const e=new Map,r=[...t].sort((n,a)=>n.timestamp-a.timestamp);for(const n of r)for(const a of n.files??[]){const i=e.get(a.path);i?e.set(a.path,{additions:i.additions+(a.additions||0),deletions:i.deletions+(a.deletions||0)}):e.set(a.path,{additions:a.additions||0,deletions:a.deletions||0})}return Array.from(e.entries()).map(([n,a])=>({path:n,additions:a.additions,deletions:a.deletions,staged:!1}))}function i3(t,e,r){const n=new Set;let a=0,i=0;for(const s of t)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of e)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of r)for(const o of s.files||[])n.add(o.path),a+=o.additions||0,i+=o.deletions||0;return{totalFilesChanged:n.size,totalAdditions:a,totalDeletions:i}}function ah(t){const e=t?.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+)\/pull\/\d+/i);return e?`${e[1]}/${e[2]}`:void 0}function s3(t,e,r,n,a){if(t&&t.length>0){const i=a?.split("/")[0];return t.map(s=>{const o=s.url||r(s.number),c=ah(s.url),h=c!==void 0&&c.toLowerCase()!==a?.toLowerCase()?c:void 0;return{number:s.number,title:n(s),url:o,htmlUrl:o,status:Xa(s.status),createdAt:s.createdAt,updatedAt:s.updatedAt,isInMergeQueue:s.isDraft?void 0:s.isInMergeQueue,crossRepo:h,crossRepoDisplay:h?Ci(h,i):void 0}})}return e?[{number:e.number,title:n(e),url:r(e.number,e.url),htmlUrl:r(e.number,e.url),status:Xa(e.status),createdAt:e.createdAt,updatedAt:e.updatedAt,isInMergeQueue:e.isDraft?void 0:e.isInMergeQueue}]:[]}function o3(t){const{prNumber:e,prUrl:r}=t;return e==null||!r?null:{id:`legacy-pr-${e}`,number:e,url:r,title:"",status:t.prStatus??x1.Open,createdAt:t.updatedAt,updatedAt:t.updatedAt}}function ih(t){const e=t.lastSnapshot?.state?.toLowerCase();return e==="merged"?"merged":e==="closed"?"closed":t.lastSnapshot?.isDraft?"draft":t.state==="completed"?"closed":"open"}function wa(t,e,r){if(e.length===0)return t;const n=r?.split("/")[0],a=t.map(i=>({...i}));for(const i of e){const s=!i.resource&&!i.monitorAvailability&&(!r||i.repo===r),o=z0(i),c=o.toLowerCase(),h=a.find(m=>!!o&&m.url.toLowerCase()===c||(i.resource||i.monitorAvailability?m.monitorIdentity===va(i):!m.resource&&!m.monitorAvailability&&(s?!m.crossRepo&&m.number===i.prNumber:m.crossRepo===i.repo&&m.number===i.prNumber)));if(h){h.monitorAgentId=i.agentId,h.resource=i.resource,h.monitorAvailability=i.monitorAvailability,h.monitorIdentity=i.resource||i.monitorAvailability?va(i):void 0,h.monitorSnapshot=i.lastSnapshot??h.monitorSnapshot;continue}a.push({number:i.prNumber,title:i.title??`${i.repo}${r1(i,i.prNumber)}`,resource:i.resource,monitorAvailability:i.monitorAvailability,monitorIdentity:i.resource||i.monitorAvailability?va(i):void 0,url:o,htmlUrl:o,status:ih(i),createdAt:i.createdAt,updatedAt:i.updatedAt,monitorAgentId:i.agentId,crossRepo:s?void 0:i.repo,crossRepoDisplay:s?void 0:Ci(i.repo,n),monitorSnapshot:i.lastSnapshot,monitorOnly:!0})}return a}function Ci(t,e){return e&&t.toLowerCase().startsWith(`${e.toLowerCase()}/`)?t.slice(e.length+1):t}function l3(t,e,r,n,a){const i=r?.toLowerCase(),s=new Set;for(const S of n)S.repoOwner&&S.repoName&&s.add(`${S.repoOwner}/${S.repoName}`.toLowerCase());let o=t;const c=[],h=[];if(t.some(S=>S.crossRepo)){o=[];for(const S of t)S.crossRepo?s.has(S.crossRepo.toLowerCase())?c.push(S):h.push(S):o.push(S)}const m=[],g=[],v=[];for(const S of e){const C=S.repo.toLowerCase();z0(S)&&o.some(W=>W.url===z0(S))||!S.resource&&!S.monitorAvailability&&(!i||C===i)?m.push(S):z0(S)&&c.some(W=>W.url===z0(S))||!S.resource&&!S.monitorAvailability&&s.has(C)?g.push(S):v.push(S)}const w=wa(o,m,r),A=r?.split("/")[0],M=new Set([...w,...c,...h].map(S=>`${(S.crossRepo??r??"").toLowerCase()}#${S.number}`)),D=[...c];for(const S of n){if(!S.repoOwner||!S.repoName)continue;const C=`${S.repoOwner}/${S.repoName}`;for(const W of S.pullRequests??[]){const Y=`${C.toLowerCase()}#${W.number}`;if(M.has(Y))continue;M.add(Y);const X=W.url||`https://github.com/${C}/pull/${W.number}`,T=i!==void 0&&C.toLowerCase()===i;D.push({number:W.number,title:a(W),url:X,htmlUrl:X,status:Xa(W.status),createdAt:W.createdAt,updatedAt:W.updatedAt,crossRepo:T?void 0:C,crossRepoDisplay:T?void 0:Ci(C,A)})}}return{own:w,otherRoots:wa(D,g,r),otherTracked:wa(h,v,r)}}function Bs(t){return t.status!=="open"?!1:t.monitorSnapshot?t.monitorSnapshot.isInMergeQueue===!0:t.isInMergeQueue===!0}function c3(t){const e=t.status==="merged"?ne.workspace_prSection_merged_label():t.status==="closed"?ne.workspace_prSection_closed_label():t.status==="draft"?ne.workspace_prSection_statusDraft_label():Bs(t)?ne.workspace_prSection_statusQueued_label():ne.workspace_prSection_statusOpen_label(),r=[n1(t)??e],n=Bs(t)?R1(t.monitorSnapshot?.mergeQueue):null;n&&r.push(n);const a=t.status==="merged"||t.status==="closed"?void 0:t.monitorSnapshot;return a&&(a.checks.total===null||a.checks.passed===null||a.checks.failed===null||a.checks.pending===null||a.availability&&a.availability.checks!=="available"?r.push(ne.chat_monitoredPrs_hover_checksUnknown_label()):a.checks.total>0&&r.push(ne.workspace_prSection_statusChecks_tooltip({passed:rt(a.checks.passed),failed:rt(a.checks.failed),pending:rt(a.checks.pending)})),r.push(a.approvals.have===null||a.availability&&a.availability.approvals!=="available"?ne.chat_monitoredPrs_hover_approvalsUnknown_label():a.approvals.needed!=null?ne.workspace_prSection_statusApprovalsOfNeeded_tooltip({count:rt(a.approvals.have),needed:rt(a.approvals.needed)}):ne.workspace_prSection_statusApprovals_tooltip({count:rt(a.approvals.have)})),a.approvals.changesRequested!==null&&a.approvals.changesRequested>0&&r.push(ne.workspace_prSection_statusChangesRequested_tooltip({count:rt(a.approvals.changesRequested)})),a.availability&&a.availability.discussions!=="available"?r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()):typeof a.threads.unresolved=="number"?a.threads.unresolved>0&&r.push(ne.workspace_prSection_statusUnresolvedThreads_tooltip({count:rt(a.threads.unresolved)})):a.threads.resolutionRequired&&r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()),a.mergeBlockedReason&&r.push(eh(a.mergeBlockedReason))),r.join(`
1
+ var Ju=Object.defineProperty;var e1=(t,e,r)=>e in t?Ju(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var se=(t,e,r)=>e1(t,typeof e!="symbol"?e+"":e,r);import{cA as Gt,aS as t1,dn as Rl,Z as z0,X as va,Y as r1,W as n1,a0 as a1,aa as i1,S as s1,dP as o1,L as l1,b8 as Dl,cD as o0,dm as Nl,aR as c1,aV as u1,cl as h1,c7 as d1,di as Va,dJ as m1,dC as p1,ax as Bn,ak as f1,as as Si,dz as g1,dE as _l,dB as v1}from"./C-RJDuZ9.js";import{D as Ns,bl as b1,bC as y1,aR as w1}from"./z3QVK190.js";import{L as k1,E as n0}from"./Dix9BiYu.js";import{y2 as fn,HR as E,nl as ve,nk as Se,aQ as x1,g as Ll,y as Re,bi as l0,j_ as Ai,lE as gn,an as Vt,lD as _s,lN as Ls,lK as Os,jx as Ol,gq as Ka,Gm as S1,sy as A1,zp as T1,oo as E1,mq as vn,A_ as M1,iD as C1,lX as I1,ly as z1}from"./Bo4s1kgI.js";import{bo as ne}from"./eK7OULll.js";import{t as rt}from"./DYfBNrOV.js";import{T as R1,x as xr,y as Sr}from"./Dritbi2C.js";import{a as c0}from"./BJzHxIyr.js";import{o as me,r as jt,e as u0,s as V,_ as Xe,l as h0,g as D1,n as Le,c as lr,b as He,u as N1,d as _1}from"./UyBYtOpv.js";import{j as Pl}from"./BlOn95cv.js";import{r as L1}from"./NeHKo0ZG.js";import{b as O1}from"./BXean12D.js";import{i as je}from"./CCnP87Jb.js";import{l as ba,c as P1}from"./ChTqQfQN.js";import{ax as d0}from"./CVjlpAWj.js";import{i as Ps}from"./4iRc0E9v.js";import{f as Ti,B as $l,C as Bl,l as $1,y as ql,r as B1,u as q1}from"./aLZSbque.js";const We=[];for(let t=0;t<256;++t)We.push((t+256).toString(16).slice(1));function F1(t,e=0){return(We[t[e+0]]+We[t[e+1]]+We[t[e+2]]+We[t[e+3]]+"-"+We[t[e+4]]+We[t[e+5]]+"-"+We[t[e+6]]+We[t[e+7]]+"-"+We[t[e+8]]+We[t[e+9]]+"-"+We[t[e+10]]+We[t[e+11]]+We[t[e+12]]+We[t[e+13]]+We[t[e+14]]+We[t[e+15]]).toLowerCase()}const H1=new Uint8Array(16);function U1(){return crypto.getRandomValues(H1)}function Ei(t,e,r){return crypto.randomUUID?crypto.randomUUID():W1(t)}function W1(t,e,r){t=t||{};const n=t.random??t.rng?.()??U1();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,F1(n)}function Mi(t,e){if(t.repositoryIdentity===null)return null;if(t.repositoryIdentity){const{provider:a,instanceBaseUrl:i,projectPath:s}=t.repositoryIdentity,o=Mi({...t,repositoryIdentity:void 0,githubUrl:`${i}/${s}`},a==="gitlab"?i:void 0);return o?.provider===a?o:null}const r=t.githubUrl;if(!r)return null;const n=/^(?:https:\/\/github\.com\/|git@github\.com:)([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?\/?$/i.exec(r);return n&&!n.slice(1).some(a=>a==="."||a==="..")?{provider:"github",instanceBaseUrl:"https://github.com",projectPath:`${n[1]}/${n[2]}`}:e?k1(r.replace(/\.git\/?$/,""),e):null}function m5(t,e){return t.type==="local"?t.plainFolder?"folder":"local":Mi(t,e)?.provider==="gitlab"?"gitlab":"github"}function Fl(t){const e=t.split(/[\\/]/).filter(Boolean);return e[e.length-1]??""}function p5(t){if(t.type!=="local")return{ownerPrefix:t.owner,primary:t.name};const e=Fl(t.path)||t.name,r=t.owner?`${t.owner}/${t.name}`:void 0;return{primary:e,suffix:r}}function f5(t){return t.type==="local"&&t.path?t.path:void 0}const G1=["/.clones/","/.repo-cache/"];function g5(t){const e=t.replaceAll("\\","/");return G1.some(r=>e.includes(r))}function v5(t){const e=new Set;for(const r of t){const{repositoryPath:n,worktreePath:a}=r;n&&a&&n===a&&e.add(n)}return e}function j1(t){return t.includes("\\")||t.includes(":")||t.startsWith("/")?void 0:/^([^/]+)\/[^/]+$/.exec(t)?.[1]}function b5(t,e){const{selectedValue:r,selectedRepoType:n,confirmedGithubUrl:a}=t;if(!(n!=="github"||!r)){if(a){const i=e(a)?.owner;if(i)return i}return e(r)?.owner??j1(r)}}function y5(t,e){const r=e.trim().toLowerCase();return r===""?!0:[t.name,t.path,Fl(t.path),t.owner,t.owner?`${t.owner}/${t.name}`:void 0].some(a=>a?.toLowerCase().includes(r)??!1)}const V1="known-repos",K1=6e4;function X1({saved:t,source:e,dismissed:r,mode:n}){if(!e)return[...t];const a=new Map;if(n==="all")for(const s of[...e.repos,...t]){const o=fn(s);a.has(o)||a.set(o,s)}else{for(const s of t)a.set(fn(s),s);for(const s of e.repos)a.set(fn(s),s)}const i=[...a.values()].filter(s=>!r[fn(s)]);return n==="all"?i:i.slice(0,9)}function w5(t){const e=t.lastUsedAt?Date.parse(t.lastUsedAt):NaN;return Number.isFinite(e)?e:0}function k5({visible:t,admission:e,entry:r,readyAt:n,now:a}){return!t||!e?"skip":!r||r.admission!==e?"load":r.status==="pending"?"reuse":r.status==="ready"&&n?.requestId===r.requestId&&a-n.at<K1?"skip":"load"}function x5(t,e){if(t.type==="local")return t.plainFolder?{repoPath:t.path,plainFolder:!0}:{repoPath:t.path};const r=Mi(t,e);return r?.provider==="gitlab"?{repositoryCheckoutDraft:{instanceBaseUrl:r.instanceBaseUrl,projectPath:r.projectPath}}:r?{githubUrl:`https://github.com/${r.projectPath}`,exactRemote:!0}:{githubUrl:t.githubUrl||`https://github.com/${t.path}`,exactRemote:!0}}function Y1({compactFormState:t,lastSubmittedAgent:e,specialists:r,orchestratorId:n}){if(t?.isTeamMode??e?.isTeamMode??!1)return n;const i=o=>r.some(c=>c.id===o),s=t?.selectedSpecialist!==void 0?t.selectedSpecialist:e?.selectedSpecialist!==void 0?e.selectedSpecialist:i(Ns)?Ns:null;return s===null||!i(s)?null:s}const S5=E.createSelector(t=>t.workspaceInitializer.hydrated),A5=E.createSelector(t=>t.workspaceInitializer.compactFormState),T5=E.createSelector(t=>t.workspaceInitializer.onboardingFormState),E5=E.createSelector(t=>t.workspaceInitializer.lastSelectedRepo),M5=E.createSelector(t=>t.workspaceInitializer.branchByRepo),C5=E.createSelector(t=>t.workspaceInitializer.defaultParentPath),I5=E.createSelector(t=>ve(t.workspaceInitializer.recentRepos)),z5=E.createSelector((t,e)=>Se(t.workspaceInitializer.recentRepoRefreshes,e)),R5=E.createSelector((t,e)=>Se(t.workspaceInitializer.directoryStatusChecks,e)),D5=E.createSelector(t=>t.workspaceInitializer.dismissedRecentRepoKeys),N5=E.createSelector(t=>ve(t.workspaceInitializer.remoteSetups)),_5=E.createSelector(t=>t.workspaceInitializer.lastSubmittedAgent),L5=E.createSelector(t=>t.workspaceInitializer.agentByRepo),O5=E.createSelector(t=>t.workspaceInitializer.recentSpecialistIds),P5=E.createSelector((t,e)=>t.workspaceInitializer.agentByRepo[e]??null),$5=E.createSelector(t=>t.workspaceInitializer.pendingGitHubPrefill),B5=E.createSelector((t,e)=>({restore:Se(t.workspaceInitializer.draftRestores,e),clear:Se(t.workspaceInitializer.draftClears,e)})),q5=E.createSelector((t,e,r)=>{const n=Se(t.workspaceInitializer.initializationOutcomes,e);return n?.resourceId===r?n:void 0}),F5=E.createSelector((t,e)=>Se(t.workspaceInitializer.initializationOutcomes,e)),H5=E.createSelector((t,e)=>Se(t.workspaceInitializer.initializationResumes,e)),U5=E.createSelector(t=>Y1({compactFormState:t.workspaceInitializer.compactFormState,lastSubmittedAgent:t.workspaceInitializer.lastSubmittedAgent,specialists:y1.select(t),orchestratorId:b1.select(t)?.id??null})),Z1=E.createSelector(t=>{const e=t.workspaceInitializer.gitCheckRequest,r=Gt.select(t);return e&&r&&t1.select(t)?JSON.stringify([r,e]):null}),W5=E.createSelector(t=>{const e=Z1.select(t),r=t.workspaceInitializer.gitCheck;return e&&r?.context===e?r.available:null}),Q1=E.createSelector(t=>{const e=Se(t.workspaceInitializer.recentRepoRefreshes,V1),r=Gt.select(t);return X1({saved:ve(t.workspaceInitializer.recentRepos),source:e&&r&&e.admission===r?e:null,dismissed:t.workspaceInitializer.dismissedRecentRepoKeys,mode:"all"})}),G5=E.createSelector(t=>Rl.select(t)?Q1.select(t):[]),j5=E.createSelector(t=>w1.select(t)||void 0),$s="workspace-debug-flags",bn={enableCreationAnimation:!0,animationDuration:300,enablePageTransitions:!0,enableComponentTransitions:!0,showDebugInfo:!1,showPerformanceMetrics:!1,logStateChanges:!1,enableAutofocus:!0,enableBranchCaching:!0,enableFormPersistence:!0,simulateSlowNetwork:!1,simulateErrors:!1,networkDelay:0};class J1{constructor(){se(this,"flags");se(this,"listeners",new Set);this.flags=this.loadFlags()}loadFlags(){if(typeof localStorage>"u")return bn;try{const e=localStorage.getItem($s);if(e)return{...bn,...JSON.parse(e)}}catch(e){ba.error("Failed to load debug flags:",e)}return bn}saveFlags(){if(!(typeof localStorage>"u")){try{localStorage.setItem($s,JSON.stringify(this.flags))}catch(e){ba.error("Failed to save debug flags:",e)}this.listeners.forEach(e=>e(this.flags))}}get(e){return this.flags[e]}set(e,r){this.flags[e]=r,this.saveFlags()}toggle(e){typeof this.flags[e]=="boolean"&&(this.flags[e]=!this.flags[e],this.saveFlags())}reset(){this.flags={...bn},this.saveFlags()}getAll(){return{...this.flags}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}toggleDebugPanel(){this.toggle("showDebugInfo"),ba.info("Debug panel:",this.flags.showDebugInfo?"ON":"OFF")}async simulateDelay(e){return this.flags.simulateSlowNetwork&&this.flags.networkDelay>0&&await new Promise(r=>setTimeout(r,this.flags.networkDelay)),e}}const ya=new J1;function V5(t){if(!t)return"";let e=t;return e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(/(?<!\*)\*(?!\*)(.+?)(?<!\*)\*(?!\*)/g,"$1"),e=e.replace(/(?<!_)_(?!_)(.+?)(?<!_)_(?!_)/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/\[([^\]]+)\]\([^)]+\)/g,"$1"),e=e.replace(/^#{1,6}\s+/gm,""),e=e.replace(/^\*+\s*/gm,""),e=e.replace(/\s*\*+$/gm,""),e.trim()}function eh(t){return t.charAt(0).toUpperCase()+t.slice(1)}function K5(t){if(!t||t.trim().length===0)return ne.workspace_sidebarHeader_branchEmpty_error();if(/[\s~^:\\?*\[\\]/.test(t))return ne.workspace_sidebarHeader_branchInvalidChars_error();if(t.includes("@{"))return ne.workspace_sidebarChanges_branchAtBrace_error({seq:"@{"});if(t==="@")return ne.workspace_sidebarChanges_branchAt_error({symbol:"@"});if(t.startsWith("."))return ne.workspace_sidebarHeader_branchStartsDot_error();if(t.endsWith(".lock"))return ne.workspace_sidebarHeader_branchEndsLock_error();if(t.includes(".."))return ne.workspace_sidebarHeader_branchDoubleDot_error();if(t.startsWith("/")||t.endsWith("/"))return ne.workspace_sidebarHeader_branchSlashEnds_error();if(t.includes("//"))return ne.workspace_sidebarHeader_branchDoubleSlash_error();if(t.startsWith("-"))return ne.workspace_sidebarHeader_branchStartsDash_error();if(t.endsWith("."))return ne.workspace_sidebarChanges_branchEndsPeriod_error();const e=t.split("/");for(const r of e){if(r.startsWith("."))return ne.workspace_sidebarChanges_branchComponentStartsDot_error();if(r.endsWith(".lock"))return ne.workspace_sidebarChanges_branchComponentEndsLock_error()}if(t.length>250)return ne.workspace_sidebarHeader_branchTooLong_error()}function X5(t,e,r,n){return e&&r?`https://github.com/${e}/${r}/pull/${t}`:n||""}function Xa(t){return t==="Open"?"open":t==="Merged"?"merged":t==="Draft"?"draft":"closed"}function Y5(t,e){return`${e}:${t.agentId??"manual"}`}function th(t,e){if(t.length===0||e>=t.length)return 0;const r=Math.max(0,e);let n=0;for(let a=r;a<t.length;a++)t[a].isPushed||n++;return n}function rh(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed&&n++;return n}function nh(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed||n++;return n}function Z5(t,e,r,n){const a=th(t,e),i=n?` (origin/${n})`:"";return r?a===1?ne.workspace_sidebarChanges_addToPr_one({suffix:i}):ne.workspace_sidebarChanges_addToPr_many({count:rt(a),suffix:i}):a===1?ne.workspace_sidebarChanges_pushToRemote_one({suffix:i}):ne.workspace_sidebarChanges_pushToRemote_many({count:rt(a),suffix:i})}function Q5(t,e,r){const n=rh(t,e),a=r?` (origin/${r})`:"";return n===1?ne.workspace_sidebarChanges_undoPush_one({suffix:a}):ne.workspace_sidebarChanges_undoPush_many({count:rt(n),suffix:a})}function J5(t,e){const r=nh(t,e);return r===1?ne.workspace_sidebarChanges_undoCommit_one():ne.workspace_sidebarChanges_undoCommit_many({count:rt(r)})}function e3(t,e){return e===0&&t.length>0}function t3(t,e,r,n){return!r||n==null?!1:t===r&&e===n}function r3(t,e,r){const n=`${e?"staged":"unstaged"}:${t}`;return r.has(n)}function n3(t,e,r){return r?.path===t&&r?.staged===e}function a3(t){if(t.length===0)return[];const e=new Map,r=[...t].sort((n,a)=>n.timestamp-a.timestamp);for(const n of r)for(const a of n.files??[]){const i=e.get(a.path);i?e.set(a.path,{additions:i.additions+(a.additions||0),deletions:i.deletions+(a.deletions||0)}):e.set(a.path,{additions:a.additions||0,deletions:a.deletions||0})}return Array.from(e.entries()).map(([n,a])=>({path:n,additions:a.additions,deletions:a.deletions,staged:!1}))}function i3(t,e,r){const n=new Set;let a=0,i=0;for(const s of t)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of e)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of r)for(const o of s.files||[])n.add(o.path),a+=o.additions||0,i+=o.deletions||0;return{totalFilesChanged:n.size,totalAdditions:a,totalDeletions:i}}function ah(t){const e=t?.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+)\/pull\/\d+/i);return e?`${e[1]}/${e[2]}`:void 0}function s3(t,e,r,n,a){if(t&&t.length>0){const i=a?.split("/")[0];return t.map(s=>{const o=s.url||r(s.number),c=ah(s.url),h=c!==void 0&&c.toLowerCase()!==a?.toLowerCase()?c:void 0;return{number:s.number,title:n(s),url:o,htmlUrl:o,status:Xa(s.status),createdAt:s.createdAt,updatedAt:s.updatedAt,isInMergeQueue:s.isDraft?void 0:s.isInMergeQueue,crossRepo:h,crossRepoDisplay:h?Ci(h,i):void 0}})}return e?[{number:e.number,title:n(e),url:r(e.number,e.url),htmlUrl:r(e.number,e.url),status:Xa(e.status),createdAt:e.createdAt,updatedAt:e.updatedAt,isInMergeQueue:e.isDraft?void 0:e.isInMergeQueue}]:[]}function o3(t){const{prNumber:e,prUrl:r}=t;return e==null||!r?null:{id:`legacy-pr-${e}`,number:e,url:r,title:"",status:t.prStatus??x1.Open,createdAt:t.updatedAt,updatedAt:t.updatedAt}}function ih(t){const e=t.lastSnapshot?.state?.toLowerCase();return e==="merged"?"merged":e==="closed"?"closed":t.lastSnapshot?.isDraft?"draft":t.state==="completed"?"closed":"open"}function wa(t,e,r){if(e.length===0)return t;const n=r?.split("/")[0],a=t.map(i=>({...i}));for(const i of e){const s=!i.resource&&!i.monitorAvailability&&(!r||i.repo===r),o=z0(i),c=o.toLowerCase(),h=a.find(m=>!!o&&m.url.toLowerCase()===c||(i.resource||i.monitorAvailability?m.monitorIdentity===va(i):!m.resource&&!m.monitorAvailability&&(s?!m.crossRepo&&m.number===i.prNumber:m.crossRepo===i.repo&&m.number===i.prNumber)));if(h){h.monitorAgentId=i.agentId,h.resource=i.resource,h.monitorAvailability=i.monitorAvailability,h.monitorIdentity=i.resource||i.monitorAvailability?va(i):void 0,h.monitorSnapshot=i.lastSnapshot??h.monitorSnapshot;continue}a.push({number:i.prNumber,title:i.title??`${i.repo}${r1(i,i.prNumber)}`,resource:i.resource,monitorAvailability:i.monitorAvailability,monitorIdentity:i.resource||i.monitorAvailability?va(i):void 0,url:o,htmlUrl:o,status:ih(i),createdAt:i.createdAt,updatedAt:i.updatedAt,monitorAgentId:i.agentId,crossRepo:s?void 0:i.repo,crossRepoDisplay:s?void 0:Ci(i.repo,n),monitorSnapshot:i.lastSnapshot,monitorOnly:!0})}return a}function Ci(t,e){return e&&t.toLowerCase().startsWith(`${e.toLowerCase()}/`)?t.slice(e.length+1):t}function l3(t,e,r,n,a){const i=r?.toLowerCase(),s=new Set;for(const S of n)S.repoOwner&&S.repoName&&s.add(`${S.repoOwner}/${S.repoName}`.toLowerCase());let o=t;const c=[],h=[];if(t.some(S=>S.crossRepo)){o=[];for(const S of t)S.crossRepo?s.has(S.crossRepo.toLowerCase())?c.push(S):h.push(S):o.push(S)}const m=[],g=[],v=[];for(const S of e){const C=S.repo.toLowerCase();z0(S)&&o.some(W=>W.url===z0(S))||!S.resource&&!S.monitorAvailability&&(!i||C===i)?m.push(S):z0(S)&&c.some(W=>W.url===z0(S))||!S.resource&&!S.monitorAvailability&&s.has(C)?g.push(S):v.push(S)}const w=wa(o,m,r),A=r?.split("/")[0],M=new Set([...w,...c,...h].map(S=>`${(S.crossRepo??r??"").toLowerCase()}#${S.number}`)),D=[...c];for(const S of n){if(!S.repoOwner||!S.repoName)continue;const C=`${S.repoOwner}/${S.repoName}`;for(const W of S.pullRequests??[]){const Y=`${C.toLowerCase()}#${W.number}`;if(M.has(Y))continue;M.add(Y);const X=W.url||`https://github.com/${C}/pull/${W.number}`,T=i!==void 0&&C.toLowerCase()===i;D.push({number:W.number,title:a(W),url:X,htmlUrl:X,status:Xa(W.status),createdAt:W.createdAt,updatedAt:W.updatedAt,crossRepo:T?void 0:C,crossRepoDisplay:T?void 0:Ci(C,A)})}}return{own:w,otherRoots:wa(D,g,r),otherTracked:wa(h,v,r)}}function Bs(t){return t.status!=="open"?!1:t.monitorSnapshot?t.monitorSnapshot.isInMergeQueue===!0:t.isInMergeQueue===!0}function c3(t){const e=t.status==="merged"?ne.workspace_prSection_merged_label():t.status==="closed"?ne.workspace_prSection_closed_label():t.status==="draft"?ne.workspace_prSection_statusDraft_label():Bs(t)?ne.workspace_prSection_statusQueued_label():ne.workspace_prSection_statusOpen_label(),r=[n1(t)??e],n=Bs(t)?R1(t.monitorSnapshot?.mergeQueue):null;n&&r.push(n);const a=t.status==="merged"||t.status==="closed"?void 0:t.monitorSnapshot;return a&&(a.checks.total===null||a.checks.passed===null||a.checks.failed===null||a.checks.pending===null||a.availability&&a.availability.checks!=="available"?r.push(ne.chat_monitoredPrs_hover_checksUnknown_label()):a.checks.total>0&&r.push(ne.workspace_prSection_statusChecks_tooltip({passed:rt(a.checks.passed),failed:rt(a.checks.failed),pending:rt(a.checks.pending)})),r.push(a.approvals.have===null||a.availability&&a.availability.approvals!=="available"?ne.chat_monitoredPrs_hover_approvalsUnknown_label():a.approvals.needed!=null?ne.workspace_prSection_statusApprovalsOfNeeded_tooltip({count:rt(a.approvals.have),needed:rt(a.approvals.needed)}):ne.workspace_prSection_statusApprovals_tooltip({count:rt(a.approvals.have)})),a.approvals.changesRequested!==null&&a.approvals.changesRequested>0&&r.push(ne.workspace_prSection_statusChangesRequested_tooltip({count:rt(a.approvals.changesRequested)})),a.availability&&a.availability.discussions!=="available"?r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()):typeof a.threads.unresolved=="number"?a.threads.unresolved>0&&r.push(ne.workspace_prSection_statusUnresolvedThreads_tooltip({count:rt(a.threads.unresolved)})):a.threads.resolutionRequired&&r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()),a.mergeBlockedReason&&r.push(eh(a.mergeBlockedReason))),r.join(`
2
2
  `)}function u3(t,e){return e.has(t??"manual")}function h3(t,e){return{path:t.relativePath,additions:t.stats.additions,deletions:t.stats.deletions,staged:e,status:t.status,attribution:t.attribution?.agent?{agentId:t.attribution.agent.agentId,agentName:t.attribution.agent.agentName,sessionId:t.attribution.agent.sessionId,turnNumber:t.attribution.agent.turnNumber,timestamp:t.attribution.timestamp}:void 0}}const Hl=500;function d3(t,e=Hl){const r=Math.max(0,Math.floor(e));return t.length<=r?{visible:t,shown:t.length,hiddenCount:0}:{visible:t.slice(0,r),shown:r,hiddenCount:t.length-r}}function m3(t,e,r=Hl){let n=Math.max(0,Math.floor(r)),a=0,i=0;return{groups:t.map(o=>{if(e(o))return{group:o,visibleFiles:[]};const c=Math.min(n,o.files.length);return n-=c,a+=c,i+=o.files.length-c,{group:o,visibleFiles:c===o.files.length?o.files:o.files.slice(0,c)}}),shown:a,hiddenCount:i}}function p3(t){if(t.hiddenCount<=0)return"";const e=rt(t.shown),r=rt(t.shown+t.hiddenCount);return t.hiddenCount===1?ne.workspace_fileChanges_hiddenFiles_one({shown:e,total:r}):ne.workspace_fileChanges_hiddenFiles_many({shown:e,total:r,count:rt(t.hiddenCount)})}function sh(t){if(!t)return{};try{const e=JSON.parse(t);return e&&typeof e=="object"?e:{}}catch{return{}}}function Ya(t){return t.startsWith("@")?t.slice(1):t}function oh(t,e,r,n){const a=t.fullPath||t.path||t.filename;if(a)return Ya(String(a));const i=[r,e,n.trim()].map(Ya).filter(Boolean),s=i.find(o=>o.includes("/"))??i[0];return s?a1(s).path:void 0}function lh(t){const e=t.line??t.startLine??t.range?.start;return typeof e=="number"&&Number.isFinite(e)?e:void 0}function ch(t){if(!t||t.getAttribute("data-mention")===null)return null;const e=t.getAttribute("data-type")||"",r=t.getAttribute("data-id")||"",n=t.getAttribute("data-label")||"",a=t.getAttribute("data-uri")||"",i=sh(t.getAttribute("data-meta")),s={type:e,id:r,label:n,uri:a,meta:i},o=a.startsWith("intent://")?a:typeof i.fullUrl=="string"&&i.fullUrl.startsWith("intent://")?i.fullUrl:void 0;if(o&&(s.intentUrl=o),e==="file"||e==="file-range"){const c=oh(i,n,r,t.textContent||"");c&&(s.filePath=c);const h=lh(i);h!==void 0&&(s.line=h)}else if(e==="folder"||e==="source-folder"){const c=i.fullPath||i.path||r||n,h=c?Ya(String(c)).replace(/\/+$/,""):"";h&&(s.folderPath=h)}else if(e==="note"||e==="note-range"){const c=i.noteId||r;c&&(s.note=i.isExternalLink&&i.workspaceId?{id:c,workspaceId:String(i.workspaceId)}:{id:c})}return s}function f3(t){return{sidebarTabId:"files",type:"file",filePath:`${t}/`}}function Ii(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Lr=Ii();function Ul(t){Lr=t}var Ir={exec:()=>null};function Kr(t){let e=[];return r=>{let n=Math.max(0,Math.min(3,r-1)),a=e[n];return a||(a=t(n),e[n]=a),a}}function ce(t,e=""){let r=typeof t=="string"?t:t.source,n={replace:(a,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(Ke.caret,"$1"),r=r.replace(a,s),n},getRegex:()=>new RegExp(r,e)};return n}var uh=((t="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+t)}catch{return!1}})(),Ke={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Kr(t=>new RegExp(`^ {0,${t}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Kr(t=>new RegExp(`^ {0,${t}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:Kr(t=>new RegExp(`^ {0,${t}}(?:\`\`\`|~~~)`)),headingBeginRegex:Kr(t=>new RegExp(`^ {0,${t}}#`)),htmlBeginRegex:Kr(t=>new RegExp(`^ {0,${t}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:Kr(t=>new RegExp(`^ {0,${t}}>`))},hh=/^(?:[ \t]*(?:\n|$))+/,dh=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,mh=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,U0=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ph=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,zi=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Wl=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Gl=ce(Wl).replace(/bull/g,zi).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),fh=ce(Wl).replace(/bull/g,zi).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Ri=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,gh=/^[^\n]+/,Di=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,vh=ce(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Di).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),bh=ce(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,zi).getRegex(),qn="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ni=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,yh=ce("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Ni).replace("tag",qn).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),jl=t=>ce(Ri).replace("hr",U0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list",t).replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qn).getRegex(),wh=jl(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),kh=jl(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),xh=ce(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",kh).getRegex(),_i={blockquote:xh,code:dh,def:vh,fences:mh,heading:ph,hr:U0,html:yh,lheading:Gl,list:bh,newline:hh,paragraph:wh,table:Ir,text:gh},qs=ce("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",U0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qn).getRegex(),Sh={..._i,lheading:fh,table:qs,paragraph:ce(Ri).replace("hr",U0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",qs).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qn).getRegex()},Ah={..._i,html:ce(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ni).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ir,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ce(Ri).replace("hr",U0).replace("heading",` *#{1,6} *[^
3
3
  ]`).replace("lheading",Gl).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Th=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Eh=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Vl=/^( {2,}|\\)\n(?!\s*$)/,Mh=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Kt=/[\p{P}\p{S}]/u,m0=/[\s\p{P}\p{S}]/u,W0=/[^\s\p{P}\p{S}]/u,Ch=ce(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,m0).getRegex(),Ih=/[\p{Pi}\p{Ps}"']/u,Kl=/(?!~)[\p{P}\p{S}]/u,zh=/(?!~)[\s\p{P}\p{S}]/u,Rh=/(?:[^\s\p{P}\p{S}]|~)/u,Dh=ce(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",uh?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Xl=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,Nh=ce(Xl,"u").replace(/punct/g,Kt).getRegex(),_h=ce(Xl,"u").replace(/punct/g,Kl).getRegex(),Lh=/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,Oh=ce(Lh,"u").replace(/openQuote/g,Ih).replace(/punct/g,Kt).getRegex(),Yl="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Ph=ce(Yl,"gu").replace(/notPunctSpace/g,W0).replace(/punctSpace/g,m0).replace(/punct/g,Kt).getRegex(),$h=ce(Yl,"gu").replace(/notPunctSpace/g,Rh).replace(/punctSpace/g,zh).replace(/punct/g,Kl).getRegex(),Bh="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)",qh=ce(Bh,"gu").replace(/notPunctSpace/g,W0).replace(/punctSpace/g,m0).replace(/punct/g,Kt).getRegex(),Fh=ce("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,W0).replace(/punctSpace/g,m0).replace(/punct/g,Kt).getRegex(),Hh="^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)",Uh=ce(Hh,"gu").replace(/notPunctSpace/g,W0).replace(/punctSpace/g,m0).replace(/punct/g,Kt).getRegex(),Wh=ce(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Kt).getRegex(),Gh="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",jh=ce(Gh,"gu").replace(/notPunctSpace/g,W0).replace(/punctSpace/g,m0).replace(/punct/g,Kt).getRegex(),Vh=ce(/\\(punct)/,"gu").replace(/punct/g,Kt).getRegex(),Kh=ce(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Xh=ce(Ni).replace("(?:-->|$)","-->").getRegex(),Yh=ce("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Xh).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Nn=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,Zh=ce(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",Nn).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Zl=ce(/^!?\[(label)\]\[(ref)\]/).replace("label",Nn).replace("ref",Di).getRegex(),Ql=ce(/^!?\[(ref)\](?:\[\])?/).replace("ref",Di).getRegex(),Qh=ce("reflink|nolink(?!\\()","g").replace("reflink",Zl).replace("nolink",Ql).getRegex(),Fs=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Li={_backpedal:Ir,anyPunctuation:Vh,autolink:Kh,blockSkip:Dh,br:Vl,code:Eh,del:Ir,delLDelim:Ir,delRDelim:Ir,emStrongLDelim:Nh,emStrongRDelimAst:Ph,emStrongRDelimUnd:Fh,escape:Th,link:Zh,nolink:Ql,punctuation:Ch,reflink:Zl,reflinkSearch:Qh,tag:Yh,text:Mh,url:Ir},Jh={...Li,emStrongLDelim:Oh,emStrongRDelimAst:qh,emStrongRDelimUnd:Uh,link:ce(/^!?\[(label)\]\((.*?)\)/).replace("label",Nn).getRegex(),reflink:ce(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Nn).getRegex()},Za={...Li,emStrongRDelimAst:$h,emStrongLDelim:_h,delLDelim:Wh,delRDelim:jh,url:ce(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Fs).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:ce(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Fs).getRegex()},ed={...Za,br:ce(Vl).replace("{2,}","*").getRegex(),text:ce(Za.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},yn={normal:_i,gfm:Sh,pedantic:Ah},x0={normal:Li,gfm:Za,breaks:ed,pedantic:Jh},td={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Hs=t=>td[t];function Dt(t,e){if(e){if(Ke.escapeTest.test(t))return t.replace(Ke.escapeReplace,Hs)}else if(Ke.escapeTestNoEncode.test(t))return t.replace(Ke.escapeReplaceNoEncode,Hs);return t}function Us(t){try{t=encodeURI(t).replace(Ke.percentDecode,"%")}catch{return null}return t}function Ws(t,e){let r=t.replace(Ke.findPipe,(i,s,o)=>{let c=!1,h=s;for(;--h>=0&&o[h]==="\\";)c=!c;return c?"|":" |"}),n=r.split(Ke.splitPipe),a=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;a<n.length;a++)n[a]=n[a].trim().replace(Ke.slashPipe,"|");return n}function rr(t,e,r){let n=t.length;if(n===0)return"";let a=0;for(;a<n&&t.charAt(n-a-1)===e;)a++;return t.slice(0,n-a)}function Gs(t){let e=t.split(`
4
4
  `),r=e.length-1;for(;r>=0&&Ke.blankLine.test(e[r]);)r--;return e.length-r<=2?t:e.slice(0,r+1).join(`
@@ -1,4 +1,4 @@
1
- import{HQ as N}from"./DYepVMa7.js";const z=N.createSelector((t,e,o)=>Object.values(t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId[o]??{})),D=N.createSelector((t,e,o)=>{const n=t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId??{};return Object.values(n).flatMap(s=>Object.values(s)).filter(s=>s.agentId===o)});let b=1;const I=new WeakMap;function $(t){let e=I.get(t);return e||(e=b++,I.set(t,e)),e}function m(t){if(t==null)return"";if(typeof t=="string")return`s:${t.length}:${t.slice(0,16)}:${t.slice(-16)}`;if(typeof t!="object")return`${typeof t}:${String(t)}`;if(Array.isArray(t))return`a:${$(t)}:${t.length}`;const e=Object.keys(t).sort();return`o:${$(t)}:${e.map(o=>`${o}=${m(t[o])}`).join(",")}`}function K(t){const e=[`message:${t.id||""}:${t.appMessageId||""}:${t.role}`];for(const o of t.toolCalls||[])e.push(`call:${o.id}:${o.status||""}:${o.error||""}`);for(const o of t.toolResults||[])e.push(`result:${o.toolCallId}:${o.isError?"1":"0"}:${m(o.content)}`);for(const[o,n]of(t.contentBlocks||[]).entries())if(n.type==="tool_use"){const s=n.metadata;e.push(`use:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${s?.toolId||""}:${n.name||""}:${n.toolName||""}:${m(n.input)}:${m(s?.toolInput)}`)}else n.type==="tool_result"&&e.push(`result-block:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${n.is_error?"1":"0"}:${n.isError?"1":"0"}:${m(n.content||n.text)}`);return e.join("|")}function y(t){if(!t)return!1;const e=typeof t=="string"?t:JSON.stringify(t);return[/tool .* not found/i,/tool .* not available/i,/unknown tool/i,/invalid tool/i,/tool execution failed/i,/failed to execute tool/i,/tool error:/i].some(n=>n.test(e))}const S=new WeakMap;function k(t){const e=S.get(t);if(e)return e;const o=new Set;if(t.toolResults)for(const n of t.toolResults)(n.isError||y(n.content))&&n.toolCallId&&o.add(n.toolCallId);if(t.toolCalls)for(const n of t.toolCalls)(n.status==="failed"||n.error)&&n.id&&o.add(n.id);if(t.contentBlocks){const n=t.contentBlocks;for(let s=0;s<n.length;s++){const i=n[s];if(i.type==="tool_result"){const r=i.is_error||i.isError,l=y(i.content||i.text);if(r||l){let a=i.tool_use_id||i.toolCallId||i.id;if(!a&&s>0){const f=n[s-1];f.type==="tool_use"&&(a=f.id||f.tool_use_id||f.toolCallId)}a&&o.add(a)}}}}return S.set(t,o),o}function U(t){const e=new Map;if(t.role!=="assistant"||!t.contentBlocks)return{changes:[],totalFiles:0,totalAdditions:0,totalDeletions:0};const o=k(t);for(const s of t.contentBlocks){if(s.type!=="tool_use")continue;const i=s.id||s.tool_use_id||s.toolCallId;if(i&&o.has(i))continue;const r=A(s);if(r){const l=e.get(r.filePath);l?(l.additions+=r.additions,l.deletions+=r.deletions,l.action=r.action,l.newContent=r.newContent,l.toolCallId=r.toolCallId,l.toolName=r.toolName):e.set(r.filePath,{...r})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function F(t){const e=new Map,o=new Set;for(const s of t){const i=k(s);for(const r of i)o.add(r)}for(const s of t)if(!(s.role!=="assistant"||!s.contentBlocks))for(const i of s.contentBlocks){if(i.type!=="tool_use")continue;const r=i.id||i.tool_use_id||i.toolCallId;if(r&&o.has(r))continue;const l=A(i);if(l){const a=e.get(l.filePath);a?(a.additions+=l.additions,a.deletions+=l.deletions,a.action=l.action,a.newContent=l.newContent,a.toolCallId=l.toolCallId,a.toolName=l.toolName):e.set(l.filePath,{...l})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function M(t){const e=[];for(let o=t.length-1;o>=0;o--){const n=t[o];if(n.role==="user")break;n.role==="assistant"&&e.unshift(n)}return e}function V(t){const e=F(t).changes.map(n=>n.filePath),o=new Set(F(M(t)).changes.map(n=>n.filePath));return e.length===o.size&&e.every(n=>o.has(n))}const T=new Set(["spec","notes","tasks","readme","todo","changelog"]),O=new Set(["workspace_api","get_note","create_note","update_note","add_to_note","edit_note","delegate_task","create_agent"]);function E(t){let e=t.toLowerCase();const o=e.match(/\/\/local\/mcp\/(.+)$/);for(o&&(e=o[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^workspace[-_]mcp[-_]/,"");/[-_]workspace-mcp$/.test(e);)e=e.replace(/[-_]workspace-mcp$/,"");return e}function L(t){const e=t.metadata;return[t.name,t.toolName,e?.toolName].some(n=>typeof n=="string"&&O.has(E(n)))}function x(t){if(/\s/.test(t))return!1;const e=t.includes("."),o=t.includes("/")||t.includes("\\");return e||o}function C(t){if(!t)return!1;const e=t.toLowerCase().trim();if(T.has(e)||e.includes(".workspace/notes/"))return!0;const o=e.includes("."),n=e.includes("/")||e.includes("\\");return!!(!o&&!n&&/^[a-z][a-z0-9-_]*$/.test(e))}function A(t){if(L(t))return null;if(t.inputTruncated===!0){const e=P(t);return e?{...e,additions:0,deletions:0,oldContent:void 0,newContent:void 0,startLineNumber:void 0}:null}return P(t)}function P(t){const e=typeof t.name=="string"&&t.name?t.name:typeof t.toolName=="string"?t.toolName:"",o=t.input||t.metadata?.toolInput||{},n=t.id||t.tool_use_id||t.metadata?.toolId||"",s=e.toLowerCase();if(s==="str_replace_editor"||s==="str-replace-editor"||s.startsWith("edit ")){const r=j(n,e,o);return r&&C(r.filePath)?null:r}const i=s==="save_file"||s==="save-file"||s==="write_file"||s==="write-file"||s==="create_file"||s==="create-file";if(i||s.startsWith("save ")||s.startsWith("create ")){const r=W(n,e,o,i);return r&&C(r.filePath)?null:r}if(s==="remove_files"||s==="remove-files"){const r=B(n,e,o);return r&&C(r.filePath)?null:r}return null}function p(t){if(t==null||typeof t=="object")return"";const e=typeof t=="string"?t:String(t);return e&&e.replace(/\\n/g,`
1
+ import{HR as N}from"./Bo4s1kgI.js";const z=N.createSelector((t,e,o)=>Object.values(t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId[o]??{})),D=N.createSelector((t,e,o)=>{const n=t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId??{};return Object.values(n).flatMap(s=>Object.values(s)).filter(s=>s.agentId===o)});let b=1;const I=new WeakMap;function $(t){let e=I.get(t);return e||(e=b++,I.set(t,e)),e}function m(t){if(t==null)return"";if(typeof t=="string")return`s:${t.length}:${t.slice(0,16)}:${t.slice(-16)}`;if(typeof t!="object")return`${typeof t}:${String(t)}`;if(Array.isArray(t))return`a:${$(t)}:${t.length}`;const e=Object.keys(t).sort();return`o:${$(t)}:${e.map(o=>`${o}=${m(t[o])}`).join(",")}`}function K(t){const e=[`message:${t.id||""}:${t.appMessageId||""}:${t.role}`];for(const o of t.toolCalls||[])e.push(`call:${o.id}:${o.status||""}:${o.error||""}`);for(const o of t.toolResults||[])e.push(`result:${o.toolCallId}:${o.isError?"1":"0"}:${m(o.content)}`);for(const[o,n]of(t.contentBlocks||[]).entries())if(n.type==="tool_use"){const s=n.metadata;e.push(`use:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${s?.toolId||""}:${n.name||""}:${n.toolName||""}:${m(n.input)}:${m(s?.toolInput)}`)}else n.type==="tool_result"&&e.push(`result-block:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${n.is_error?"1":"0"}:${n.isError?"1":"0"}:${m(n.content||n.text)}`);return e.join("|")}function y(t){if(!t)return!1;const e=typeof t=="string"?t:JSON.stringify(t);return[/tool .* not found/i,/tool .* not available/i,/unknown tool/i,/invalid tool/i,/tool execution failed/i,/failed to execute tool/i,/tool error:/i].some(n=>n.test(e))}const S=new WeakMap;function k(t){const e=S.get(t);if(e)return e;const o=new Set;if(t.toolResults)for(const n of t.toolResults)(n.isError||y(n.content))&&n.toolCallId&&o.add(n.toolCallId);if(t.toolCalls)for(const n of t.toolCalls)(n.status==="failed"||n.error)&&n.id&&o.add(n.id);if(t.contentBlocks){const n=t.contentBlocks;for(let s=0;s<n.length;s++){const i=n[s];if(i.type==="tool_result"){const r=i.is_error||i.isError,l=y(i.content||i.text);if(r||l){let a=i.tool_use_id||i.toolCallId||i.id;if(!a&&s>0){const f=n[s-1];f.type==="tool_use"&&(a=f.id||f.tool_use_id||f.toolCallId)}a&&o.add(a)}}}}return S.set(t,o),o}function U(t){const e=new Map;if(t.role!=="assistant"||!t.contentBlocks)return{changes:[],totalFiles:0,totalAdditions:0,totalDeletions:0};const o=k(t);for(const s of t.contentBlocks){if(s.type!=="tool_use")continue;const i=s.id||s.tool_use_id||s.toolCallId;if(i&&o.has(i))continue;const r=A(s);if(r){const l=e.get(r.filePath);l?(l.additions+=r.additions,l.deletions+=r.deletions,l.action=r.action,l.newContent=r.newContent,l.toolCallId=r.toolCallId,l.toolName=r.toolName):e.set(r.filePath,{...r})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function F(t){const e=new Map,o=new Set;for(const s of t){const i=k(s);for(const r of i)o.add(r)}for(const s of t)if(!(s.role!=="assistant"||!s.contentBlocks))for(const i of s.contentBlocks){if(i.type!=="tool_use")continue;const r=i.id||i.tool_use_id||i.toolCallId;if(r&&o.has(r))continue;const l=A(i);if(l){const a=e.get(l.filePath);a?(a.additions+=l.additions,a.deletions+=l.deletions,a.action=l.action,a.newContent=l.newContent,a.toolCallId=l.toolCallId,a.toolName=l.toolName):e.set(l.filePath,{...l})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function M(t){const e=[];for(let o=t.length-1;o>=0;o--){const n=t[o];if(n.role==="user")break;n.role==="assistant"&&e.unshift(n)}return e}function V(t){const e=F(t).changes.map(n=>n.filePath),o=new Set(F(M(t)).changes.map(n=>n.filePath));return e.length===o.size&&e.every(n=>o.has(n))}const T=new Set(["spec","notes","tasks","readme","todo","changelog"]),O=new Set(["workspace_api","get_note","create_note","update_note","add_to_note","edit_note","delegate_task","create_agent"]);function E(t){let e=t.toLowerCase();const o=e.match(/\/\/local\/mcp\/(.+)$/);for(o&&(e=o[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^workspace[-_]mcp[-_]/,"");/[-_]workspace-mcp$/.test(e);)e=e.replace(/[-_]workspace-mcp$/,"");return e}function L(t){const e=t.metadata;return[t.name,t.toolName,e?.toolName].some(n=>typeof n=="string"&&O.has(E(n)))}function x(t){if(/\s/.test(t))return!1;const e=t.includes("."),o=t.includes("/")||t.includes("\\");return e||o}function C(t){if(!t)return!1;const e=t.toLowerCase().trim();if(T.has(e)||e.includes(".workspace/notes/"))return!0;const o=e.includes("."),n=e.includes("/")||e.includes("\\");return!!(!o&&!n&&/^[a-z][a-z0-9-_]*$/.test(e))}function A(t){if(L(t))return null;if(t.inputTruncated===!0){const e=P(t);return e?{...e,additions:0,deletions:0,oldContent:void 0,newContent:void 0,startLineNumber:void 0}:null}return P(t)}function P(t){const e=typeof t.name=="string"&&t.name?t.name:typeof t.toolName=="string"?t.toolName:"",o=t.input||t.metadata?.toolInput||{},n=t.id||t.tool_use_id||t.metadata?.toolId||"",s=e.toLowerCase();if(s==="str_replace_editor"||s==="str-replace-editor"||s.startsWith("edit ")){const r=j(n,e,o);return r&&C(r.filePath)?null:r}const i=s==="save_file"||s==="save-file"||s==="write_file"||s==="write-file"||s==="create_file"||s==="create-file";if(i||s.startsWith("save ")||s.startsWith("create ")){const r=W(n,e,o,i);return r&&C(r.filePath)?null:r}if(s==="remove_files"||s==="remove-files"){const r=B(n,e,o);return r&&C(r.filePath)?null:r}return null}function p(t){if(t==null||typeof t=="object")return"";const e=typeof t=="string"?t:String(t);return e&&e.replace(/\\n/g,`
2
2
  `).replace(/\\t/g," ").replace(/\\r/g,"\r")}function _(t){return typeof t!="string"?null:t.trim()||null}function v(t){if(Array.isArray(t)){for(const e of t){const o=_(e);if(o)return o}return null}return _(t)}function j(t,e,o){let n=_(o.path);if(!n&&typeof e=="string"&&e.toLowerCase().startsWith("edit ")){const c=_(e.substring(5));n=c&&x(c)?c:null}if(!n)return null;if(o.command==="create"){const c=o.file_text??"",d=p(c),u=d?d.split(`
3
3
  `):[];return{filePath:n,action:"create",additions:u.length,deletions:0,toolName:e,toolCallId:t,oldContent:"",newContent:d}}let s=0,i=0;const r=[],l=[];let a;if(Array.isArray(o.str_replace_entries))for(const c of o.str_replace_entries){const d=c.old_str,u=c.new_str,h=c.old_str_start_line_number;if(d!==void 0&&u!==void 0){const g=p(d),w=p(u);i+=g?g.split(`
4
4
  `).length:0,s+=w?w.split(`