@dylanpiercey/work 0.0.96 → 0.0.97

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 (244) hide show
  1. package/dist/{_C_EF8rh-.js → _CRHCebx8.js} +29 -29
  2. package/dist/{_Cel25igI.js → _DPT3XRV0.js} +190 -190
  3. package/dist/index.mjs +595 -581
  4. package/dist/public/assets/{_BGz6c5fQ.js → _-b51A6U7.js} +1 -1
  5. package/dist/public/assets/_-b51A6U7.js.br +0 -0
  6. package/dist/public/assets/{_CzGmg6J6.js → _0KWxGbZw.js} +1 -1
  7. package/dist/public/assets/_0KWxGbZw.js.br +0 -0
  8. package/dist/public/assets/{_6Tvpa4Xu.js → _8GNWgmjH.js} +1 -1
  9. package/dist/public/assets/_8GNWgmjH.js.br +0 -0
  10. package/dist/public/assets/{_FsklS6Cf.js → _8tiEU3RO.js} +1 -1
  11. package/dist/public/assets/_8tiEU3RO.js.br +0 -0
  12. package/dist/public/assets/{_C1AEjtWB.js → _B2AC3SUA.js} +1 -1
  13. package/dist/public/assets/_B2AC3SUA.js.br +0 -0
  14. package/dist/public/assets/{_DmknNPV-.js → _B8-V5BF5.js} +1 -1
  15. package/dist/public/assets/_B8-V5BF5.js.br +0 -0
  16. package/dist/public/assets/{_CRtlCbY-.js → _B80qXOTR.js} +1 -1
  17. package/dist/public/assets/_B80qXOTR.js.br +0 -0
  18. package/dist/public/assets/{_BnDvpSPb.js → _B9D12lOA.js} +1 -1
  19. package/dist/public/assets/_B9D12lOA.js.br +0 -0
  20. package/dist/public/assets/{_DdeqfoDq2.js → _BBS5zv8C2.js} +1 -1
  21. package/dist/public/assets/_BBS5zv8C2.js.br +0 -0
  22. package/dist/public/assets/{_CBkUW_R-.js → _BCovSJRb.js} +1 -1
  23. package/dist/public/assets/_BCovSJRb.js.br +0 -0
  24. package/dist/public/assets/{_Ch3aclh9.js → _BE3R8mFE.js} +1 -1
  25. package/dist/public/assets/_BE3R8mFE.js.br +0 -0
  26. package/dist/public/assets/{_jEfYpM3E2.js → _BGvyA4oE2.js} +1 -1
  27. package/dist/public/assets/_BGvyA4oE2.js.br +0 -0
  28. package/dist/public/assets/{_CbFus18_2.js → _BIOtkDha2.js} +1 -1
  29. package/dist/public/assets/_BIOtkDha2.js.br +0 -0
  30. package/dist/public/assets/{_CAhTTF9I2.js → _BLcb3Cg42.js} +1 -1
  31. package/dist/public/assets/_BLcb3Cg42.js.br +0 -0
  32. package/dist/public/assets/{_CaZfk2zB.js → _BP_u4OL-.js} +1 -1
  33. package/dist/public/assets/_BP_u4OL-.js.br +0 -0
  34. package/dist/public/assets/{_BGuxBUC6.js → _BPfQaxTd.js} +1 -1
  35. package/dist/public/assets/_BPfQaxTd.js.br +0 -0
  36. package/dist/public/assets/{_D_7Jyml2.js → _BTsrDfH-.js} +1 -1
  37. package/dist/public/assets/_BTsrDfH-.js.br +0 -0
  38. package/dist/public/assets/{_D9Iriq-Y.js → _BZsn-7u1.js} +1 -1
  39. package/dist/public/assets/_BZsn-7u1.js.br +0 -0
  40. package/dist/public/assets/{_DkuBJFLN2.js → _BaY0h2ec2.js} +1 -1
  41. package/dist/public/assets/_BaY0h2ec2.js.br +0 -0
  42. package/dist/public/assets/{_E4WOoQhA.js → _Bc4j5n7x.js} +1 -1
  43. package/dist/public/assets/_Bc4j5n7x.js.br +0 -0
  44. package/dist/public/assets/{_CNW9dpu42.js → _BgPTyoAr2.js} +1 -1
  45. package/dist/public/assets/_BgPTyoAr2.js.br +0 -0
  46. package/dist/public/assets/{_Cerr01H42.js → _BiDyvSOO2.js} +1 -1
  47. package/dist/public/assets/_BiDyvSOO2.js.br +0 -0
  48. package/dist/public/assets/{_BggRFG6b.js → _BkjyxJ0i.js} +1 -1
  49. package/dist/public/assets/{_CvciVzJE.js → _Bl512FoL.js} +1 -1
  50. package/dist/public/assets/_Bl512FoL.js.br +0 -0
  51. package/dist/public/assets/{_Dfr7TISb.js → _Bw9jvu1-.js} +1 -1
  52. package/dist/public/assets/_Bw9jvu1-.js.br +0 -0
  53. package/dist/public/assets/{_D3o4Rxbh.js → _BwFRjBOz.js} +1 -1
  54. package/dist/public/assets/_BwFRjBOz.js.br +0 -0
  55. package/dist/public/assets/{_C2Qcx14K2.js → _BzGLDIBO2.js} +1 -1
  56. package/dist/public/assets/_BzGLDIBO2.js.br +0 -0
  57. package/dist/public/assets/{_DYN4MZjM2.js → _BzfCLxV82.js} +1 -1
  58. package/dist/public/assets/_BzfCLxV82.js.br +0 -0
  59. package/dist/public/assets/{_BgA0nPVc2.js → _Bzp9X35S2.js} +1 -1
  60. package/dist/public/assets/_Bzp9X35S2.js.br +0 -0
  61. package/dist/public/assets/{_Bpnk-HWG2.js → _C-KXAuRh2.js} +1 -1
  62. package/dist/public/assets/_C-KXAuRh2.js.br +0 -0
  63. package/dist/public/assets/{_koIBjoCI2.js → _C2SDF9Yg2.js} +1 -1
  64. package/dist/public/assets/{_CHSMtXGV.js → _C4nOqeMD.js} +1 -1
  65. package/dist/public/assets/_C4nOqeMD.js.br +0 -0
  66. package/dist/public/assets/{_63r8H6KD2.js → _C5xrDvQI2.js} +1 -1
  67. package/dist/public/assets/_C5xrDvQI2.js.br +0 -0
  68. package/dist/public/assets/{_BAJq8l9L.js → _CMYGsqdf.js} +1 -1
  69. package/dist/public/assets/_CMYGsqdf.js.br +0 -0
  70. package/dist/public/assets/{_BBpJiyYC.js → _COSXS0J8.js} +1 -1
  71. package/dist/public/assets/_COSXS0J8.js.br +0 -0
  72. package/dist/public/assets/{_Qqf8g1TK.js → _CPeBESzl.js} +1 -1
  73. package/dist/public/assets/_CPeBESzl.js.br +0 -0
  74. package/dist/public/assets/{_CnF5wkxz2.js → _CRbRTfeP2.js} +1 -1
  75. package/dist/public/assets/_CRbRTfeP2.js.br +0 -0
  76. package/dist/public/assets/{_D_Ut2Ol9.js → _Cn1q8R2G.js} +1 -1
  77. package/dist/public/assets/_Cn1q8R2G.js.br +0 -0
  78. package/dist/public/assets/{_DzyBRpRU.js → _Ct6qquOF.js} +1 -1
  79. package/dist/public/assets/_Ct6qquOF.js.br +0 -0
  80. package/dist/public/assets/{_mf72EOR_.js → _CyQMVS2T.js} +1 -1
  81. package/dist/public/assets/_CyQMVS2T.js.br +0 -0
  82. package/dist/public/assets/{_BQiqdgb9.js → _Cyhh59cC.js} +1 -1
  83. package/dist/public/assets/_Cyhh59cC.js.br +0 -0
  84. package/dist/public/assets/{_Bxjd-YPA2.js → _Cyl9FKNU2.js} +1 -1
  85. package/dist/public/assets/_Cyl9FKNU2.js.br +0 -0
  86. package/dist/public/assets/{_DPjHjfD8.js → _D4cKCypW.js} +1 -1
  87. package/dist/public/assets/_D4cKCypW.js.br +0 -0
  88. package/dist/public/assets/{_Cwn2Dzif.js → _D5o1QAvJ.js} +1 -1
  89. package/dist/public/assets/_D5o1QAvJ.js.br +0 -0
  90. package/dist/public/assets/{_BKaiZ1NX.js → _DA_USHEu.js} +1 -1
  91. package/dist/public/assets/_DA_USHEu.js.br +0 -0
  92. package/dist/public/assets/{_BdRvtpe42.js → _DFpIp88l2.js} +1 -1
  93. package/dist/public/assets/_DFpIp88l2.js.br +0 -0
  94. package/dist/public/assets/{_CzuNzNf52.js → _DJ0uAfUp2.js} +1 -1
  95. package/dist/public/assets/_DJ0uAfUp2.js.br +0 -0
  96. package/dist/public/assets/{_DI8J66CZ.js → _DJ6cJzuI.js} +1 -1
  97. package/dist/public/assets/_DJ6cJzuI.js.br +0 -0
  98. package/dist/public/assets/{_tMvc_5W_2.js → _DLSsOTkW2.js} +1 -1
  99. package/dist/public/assets/{_TPFL8bDN.js → _DSX5dMw5.js} +1 -1
  100. package/dist/public/assets/_DSX5dMw5.js.br +0 -0
  101. package/dist/public/assets/{_vE0bTBGo.js → _DYCJZ-Iu.js} +1 -1
  102. package/dist/public/assets/_DYCJZ-Iu.js.br +0 -0
  103. package/dist/public/assets/{_CqgdIwou.js → _DaH2ZbUV.js} +1 -1
  104. package/dist/public/assets/_DaH2ZbUV.js.br +0 -0
  105. package/dist/public/assets/{_uVBAFIy8.js → _DcTJxua3.js} +1 -1
  106. package/dist/public/assets/_DcTJxua3.js.br +0 -0
  107. package/dist/public/assets/{_CHu5Km3j2.js → _DwVknvPD2.js} +1 -1
  108. package/dist/public/assets/_DwVknvPD2.js.br +0 -0
  109. package/dist/public/assets/{_D8ZjEIBC.js → _Dx_iq98R.js} +1 -1
  110. package/dist/public/assets/_Dx_iq98R.js.br +0 -0
  111. package/dist/public/assets/{_BEejQ7lO.js → _DyjSeFv1.js} +1 -1
  112. package/dist/public/assets/_DyjSeFv1.js.br +0 -0
  113. package/dist/public/assets/{_xIRNtE1V.js → _ERnhNh-Y.js} +1 -1
  114. package/dist/public/assets/_ERnhNh-Y.js.br +0 -0
  115. package/dist/public/assets/{_a17toZcs.js → _I8D7wiZO.js} +1 -1
  116. package/dist/public/assets/_I8D7wiZO.js.br +0 -0
  117. package/dist/public/assets/{_D8kpusiR.js → _Is38l22C.js} +1 -1
  118. package/dist/public/assets/_Is38l22C.js.br +0 -0
  119. package/dist/public/assets/{_Em_sWtVW.js → _J13dOJAl.js} +6 -6
  120. package/dist/public/assets/_J13dOJAl.js.br +0 -0
  121. package/dist/public/assets/{_3d2N4uW7.js → _Ka1PvLiD.js} +1 -1
  122. package/dist/public/assets/_Ka1PvLiD.js.br +0 -0
  123. package/dist/public/assets/{_CKqbHwCF2.js → _Skj5Z76l2.js} +1 -1
  124. package/dist/public/assets/_Skj5Z76l2.js.br +0 -0
  125. package/dist/public/assets/{_B3G8MYzv.js → _VJa0VTCn.js} +1 -1
  126. package/dist/public/assets/_VJa0VTCn.js.br +0 -0
  127. package/dist/public/assets/{_Bzv-EzCt.js → _XQjM1w_8.js} +1 -1
  128. package/dist/public/assets/_XQjM1w_8.js.br +0 -0
  129. package/dist/public/assets/{_D0XB9M1F2.js → _YOqlhSHw2.js} +1 -1
  130. package/dist/public/assets/_YOqlhSHw2.js.br +0 -0
  131. package/dist/public/assets/{_B2uZZeNN.js → _a_oWV3XM.js} +1 -1
  132. package/dist/public/assets/_a_oWV3XM.js.br +0 -0
  133. package/dist/public/assets/{_y6bl1mtk2.js → _cd0Dn5oM2.js} +1 -1
  134. package/dist/public/assets/_cd0Dn5oM2.js.br +0 -0
  135. package/dist/public/assets/{_B4JWlIQw2.js → _e3oDddUx2.js} +1 -1
  136. package/dist/public/assets/_e3oDddUx2.js.br +0 -0
  137. package/dist/public/assets/{_vBAanm_x.js → _gu9YaOjx.js} +1 -1
  138. package/dist/public/assets/_gu9YaOjx.js.br +0 -0
  139. package/dist/public/assets/{_DCUcB2sk.js → _jK_yh8X8.js} +1 -1
  140. package/dist/public/assets/_jK_yh8X8.js.br +0 -0
  141. package/dist/public/assets/{_D8QuoF51.js → _mU_JkZbV.js} +1 -1
  142. package/dist/public/assets/_mU_JkZbV.js.br +0 -0
  143. package/dist/public/assets/{_DyVuhWqf2.js → _pImBOEXD2.js} +1 -1
  144. package/dist/public/assets/_pImBOEXD2.js.br +0 -0
  145. package/dist/public/assets/{_C3JlLCxf.js → _t5tGr2D1.js} +1 -1
  146. package/dist/public/assets/_t5tGr2D1.js.br +0 -0
  147. package/dist/public/assets/{_Ame3I5fr.js → _tzwJRvKK.js} +20 -20
  148. package/dist/public/assets/_tzwJRvKK.js.br +0 -0
  149. package/dist/public/assets/{_xACnj4IY.js → _zWXmuT9S.js} +1 -1
  150. package/dist/public/assets/_zWXmuT9S.js.br +0 -0
  151. package/dist/public/assets/{_Bx5JF3nx.js → _zZovbli0.js} +1 -1
  152. package/dist/public/assets/_zZovbli0.js.br +0 -0
  153. package/dist/public/assets/app-page-D30JmXcA.css +1 -0
  154. package/dist/public/assets/app-page-D30JmXcA.css.br +0 -0
  155. package/dist/public/assets/diff-view-WfajAxvs.css +1 -0
  156. package/dist/public/assets/diff-view-WfajAxvs.css.br +0 -0
  157. package/dist/public/assets/new-BiAv3en2.js +1 -0
  158. package/dist/public/assets/settings-BiAv3en2.js +1 -0
  159. package/dist/public/assets/w-BiAv3en2.js +1 -0
  160. package/dist/public/assets/w._-BiAv3en2.js +1 -0
  161. package/dist/public/assets/w._-DoR9D5Ku.js +1 -0
  162. package/package.json +1 -1
  163. package/dist/public/assets/_3d2N4uW7.js.br +0 -0
  164. package/dist/public/assets/_63r8H6KD2.js.br +0 -0
  165. package/dist/public/assets/_6Tvpa4Xu.js.br +0 -0
  166. package/dist/public/assets/_Ame3I5fr.js.br +0 -0
  167. package/dist/public/assets/_B2uZZeNN.js.br +0 -0
  168. package/dist/public/assets/_B3G8MYzv.js.br +0 -0
  169. package/dist/public/assets/_B4JWlIQw2.js.br +0 -0
  170. package/dist/public/assets/_BAJq8l9L.js.br +0 -0
  171. package/dist/public/assets/_BBpJiyYC.js.br +0 -0
  172. package/dist/public/assets/_BEejQ7lO.js.br +0 -0
  173. package/dist/public/assets/_BGuxBUC6.js.br +0 -0
  174. package/dist/public/assets/_BGz6c5fQ.js.br +0 -0
  175. package/dist/public/assets/_BKaiZ1NX.js.br +0 -0
  176. package/dist/public/assets/_BQiqdgb9.js.br +0 -0
  177. package/dist/public/assets/_BdRvtpe42.js.br +0 -0
  178. package/dist/public/assets/_BgA0nPVc2.js.br +0 -0
  179. package/dist/public/assets/_BnDvpSPb.js.br +0 -0
  180. package/dist/public/assets/_Bpnk-HWG2.js.br +0 -0
  181. package/dist/public/assets/_Bx5JF3nx.js.br +0 -0
  182. package/dist/public/assets/_Bxjd-YPA2.js.br +0 -0
  183. package/dist/public/assets/_Bzv-EzCt.js.br +0 -0
  184. package/dist/public/assets/_C1AEjtWB.js.br +0 -0
  185. package/dist/public/assets/_C2Qcx14K2.js.br +0 -0
  186. package/dist/public/assets/_C3JlLCxf.js.br +0 -0
  187. package/dist/public/assets/_CAhTTF9I2.js.br +0 -0
  188. package/dist/public/assets/_CBkUW_R-.js.br +0 -0
  189. package/dist/public/assets/_CHSMtXGV.js.br +0 -0
  190. package/dist/public/assets/_CHu5Km3j2.js.br +0 -0
  191. package/dist/public/assets/_CKqbHwCF2.js.br +0 -0
  192. package/dist/public/assets/_CNW9dpu42.js.br +0 -0
  193. package/dist/public/assets/_CRtlCbY-.js.br +0 -0
  194. package/dist/public/assets/_CaZfk2zB.js.br +0 -0
  195. package/dist/public/assets/_CbFus18_2.js.br +0 -0
  196. package/dist/public/assets/_Cerr01H42.js.br +0 -0
  197. package/dist/public/assets/_Ch3aclh9.js.br +0 -0
  198. package/dist/public/assets/_CnF5wkxz2.js.br +0 -0
  199. package/dist/public/assets/_CqgdIwou.js.br +0 -0
  200. package/dist/public/assets/_CvciVzJE.js.br +0 -0
  201. package/dist/public/assets/_Cwn2Dzif.js.br +0 -0
  202. package/dist/public/assets/_CzGmg6J6.js.br +0 -0
  203. package/dist/public/assets/_CzuNzNf52.js.br +0 -0
  204. package/dist/public/assets/_D0XB9M1F2.js.br +0 -0
  205. package/dist/public/assets/_D3o4Rxbh.js.br +0 -0
  206. package/dist/public/assets/_D8QuoF51.js.br +0 -0
  207. package/dist/public/assets/_D8ZjEIBC.js.br +0 -0
  208. package/dist/public/assets/_D8kpusiR.js.br +0 -0
  209. package/dist/public/assets/_D9Iriq-Y.js.br +0 -0
  210. package/dist/public/assets/_DCUcB2sk.js.br +0 -0
  211. package/dist/public/assets/_DI8J66CZ.js.br +0 -0
  212. package/dist/public/assets/_DPjHjfD8.js.br +0 -0
  213. package/dist/public/assets/_DYN4MZjM2.js.br +0 -0
  214. package/dist/public/assets/_D_7Jyml2.js.br +0 -0
  215. package/dist/public/assets/_D_Ut2Ol9.js.br +0 -0
  216. package/dist/public/assets/_DdeqfoDq2.js.br +0 -0
  217. package/dist/public/assets/_Dfr7TISb.js.br +0 -0
  218. package/dist/public/assets/_DkuBJFLN2.js.br +0 -0
  219. package/dist/public/assets/_DmknNPV-.js.br +0 -0
  220. package/dist/public/assets/_DyVuhWqf2.js.br +0 -0
  221. package/dist/public/assets/_DzyBRpRU.js.br +0 -0
  222. package/dist/public/assets/_E4WOoQhA.js.br +0 -0
  223. package/dist/public/assets/_Em_sWtVW.js.br +0 -0
  224. package/dist/public/assets/_FsklS6Cf.js.br +0 -0
  225. package/dist/public/assets/_Qqf8g1TK.js.br +0 -0
  226. package/dist/public/assets/_TPFL8bDN.js.br +0 -0
  227. package/dist/public/assets/_a17toZcs.js.br +0 -0
  228. package/dist/public/assets/_jEfYpM3E2.js.br +0 -0
  229. package/dist/public/assets/_mf72EOR_.js.br +0 -0
  230. package/dist/public/assets/_uVBAFIy8.js.br +0 -0
  231. package/dist/public/assets/_vBAanm_x.js.br +0 -0
  232. package/dist/public/assets/_vE0bTBGo.js.br +0 -0
  233. package/dist/public/assets/_xACnj4IY.js.br +0 -0
  234. package/dist/public/assets/_xIRNtE1V.js.br +0 -0
  235. package/dist/public/assets/_y6bl1mtk2.js.br +0 -0
  236. package/dist/public/assets/app-page-B1_16TZW.css +0 -1
  237. package/dist/public/assets/app-page-B1_16TZW.css.br +0 -0
  238. package/dist/public/assets/diff-view-CKc458jK.css +0 -1
  239. package/dist/public/assets/diff-view-CKc458jK.css.br +0 -0
  240. package/dist/public/assets/new-BpwV-DKC.js +0 -1
  241. package/dist/public/assets/settings-BpwV-DKC.js +0 -1
  242. package/dist/public/assets/w-BpwV-DKC.js +0 -1
  243. package/dist/public/assets/w._-BpwV-DKC.js +0 -1
  244. package/dist/public/assets/w._-C0I_DcpJ.js +0 -1
@@ -1,4 +1,4 @@
1
- import { A as repoLabel, Ct as _serialize_guard, D as icon_xmark_default, Dt as _template, E as toast_default, Et as _subscribe, F as iconBtnLg, G as _attr_details_or_dialog_open, I as iconBtnRow, K as _attr_input_value, O as icon_base_default, Pt as writeScope, St as _sep, Tt as _set_serialize_reason, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, _ as diffTreeOpen, _t as _resume_branch, a as fuzzy, at as _el_resume, b as setDiffScope, bt as _scope_with_id, c as icon_arrow_up_default, ft as _html, g as diffScope, gt as _resume, h as diffPos, ht as _peek_scope_id, i as icon_sidebar_default, it as _el_read_error, l as icon_back_default, lt as _for_of, m as diffFilter, mt as _if, n as findIconBtn, ot as _escape, q as _attr_option_value, r as findInput, rt as _el, s as icon_search_default, st as _existing_scope, t as icon_arrow_down_default, tt as _content_resume, u as icon_refresh_default, vt as _scope_id, wt as _serialize_if, xt as _script, y as setDiffPos, yt as _scope_reason } from "./_C_EF8rh-.js";
1
+ import { A as repoLabel, Ct as _serialize_guard, D as icon_xmark_default, Dt as _template, E as toast_default, Et as _subscribe, F as iconBtnLg, G as _attr_details_or_dialog_open, I as iconBtnRow, K as _attr_input_value, O as icon_base_default, Pt as writeScope, St as _sep, Tt as _set_serialize_reason, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, _ as diffTreeOpen, _t as _resume_branch, a as fuzzy, at as _el_resume, b as setDiffScope, bt as _scope_with_id, c as icon_arrow_up_default, ft as _html, g as diffScope, gt as _resume, h as diffPos, ht as _peek_scope_id, i as icon_sidebar_default, it as _el_read_error, l as icon_back_default, lt as _for_of, m as diffFilter, mt as _if, n as findIconBtn, ot as _escape, q as _attr_option_value, r as findInput, rt as _el, s as icon_search_default, st as _existing_scope, t as icon_arrow_down_default, tt as _content_resume, u as icon_refresh_default, vt as _scope_id, wt as _serialize_if, xt as _script, y as setDiffPos, yt as _scope_reason } from "./_CRHCebx8.js";
2
2
  //#region src/client/router.ts
3
3
  function urlFor(r) {
4
4
  if (r.view === "settings") return "/settings";
@@ -242,31 +242,31 @@ function treeDirs(files) {
242
242
  };
243
243
  return build(root, "", "", -1);
244
244
  }
245
- var treeToggle = "_dI _0 _j";
245
+ var treeToggle = "_eY _0 _j";
246
246
  //#endregion
247
247
  //#region src/tags/diff-send.marko
248
- var diff_send_default = _template("i", (input) => {
248
+ var diff_send_default = _template("j", (input) => {
249
249
  const $scope0_reason = _scope_reason(), $sg__input_sessions = _serialize_guard($scope0_reason, 0), $si__input_sessions = _serialize_if($scope0_reason, 0);
250
250
  const $scope0_id = _scope_id();
251
251
  let sending = false;
252
252
  let sendTarget = null;
253
253
  const sessions = input.sessions || [];
254
254
  const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
255
- _html(`<span${_attr_class("_fl")}><button type=button${_attr_class("_o")} title="Copy comments as markdown">Copy${_el_resume($scope0_id, "c")}</button>${_el_resume($scope0_id, "b")}`);
255
+ _html(`<span${_attr_class("_fw")}><button type=button${_attr_class("_o")} title="Copy comments as markdown">Copy${_el_resume($scope0_id, "c")}</button>${_el_resume($scope0_id, "b")}`);
256
256
  _if(() => {
257
257
  if (sessions.length === 1) {
258
258
  const $scope1_id = _scope_id();
259
259
  _html(`<button type=button${_attr_class(["_o", "_p"])}${_attr("disabled", sending)}>${`Send to ${_escape(`${sessions[0].title || sessions[0].agent}`)}`}${_el_resume($scope1_id, "b")}</button>${_el_resume($scope1_id, "a")}`);
260
- _script($scope1_id, "i1");
260
+ _script($scope1_id, "j1");
261
261
  writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
262
262
  return 0;
263
263
  } else if (sessions.length) {
264
264
  const $scope2_id = _scope_id();
265
- _html(`<span${_attr_class("_fm")}><button type=button${_attr_class(["_p", "_fn"])}${_attr("disabled", sending)}>Send to${_el_resume($scope2_id, "c")}</button>${_el_resume($scope2_id, "b")}`);
265
+ _html(`<span${_attr_class("_fx")}><button type=button${_attr_class(["_p", "_fy"])}${_attr("disabled", sending)}>Send to${_el_resume($scope2_id, "c")}</button>${_el_resume($scope2_id, "b")}`);
266
266
  _attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
267
267
  sendTarget = _new_sendTarget;
268
- }, "i0", $scope2_id), () => {
269
- _html(`<select${_attr_class("_fo")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
268
+ }, "j0", $scope2_id), () => {
269
+ _html(`<select${_attr_class("_fz")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
270
270
  _for_of(sessions, (s) => {
271
271
  const $scope3_id = _scope_id();
272
272
  _html(`<option${_attr_option_value(s.id)}>${_escape(s.title || s.agent)}${_el_resume($scope3_id, "b", $sg__input_sessions)}</option>${_el_resume($scope3_id, "a", $sg__input_sessions)}`);
@@ -274,13 +274,13 @@ var diff_send_default = _template("i", (input) => {
274
274
  }, "id", $scope2_id, "d", $sg__input_sessions, 1, $sg__input_sessions, "</select>", 1);
275
275
  });
276
276
  _html("</span>");
277
- _script($scope2_id, "i2");
277
+ _script($scope2_id, "j2");
278
278
  writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
279
279
  return 1;
280
280
  }
281
281
  }, $scope0_id, "d", 1, $sg__input_sessions, $sg__input_sessions, 0, 1);
282
282
  _html("</span>");
283
- _script($scope0_id, "i3");
283
+ _script($scope0_id, "j3");
284
284
  writeScope($scope0_id, {
285
285
  h: input.onCopy,
286
286
  i: input.onSend,
@@ -1765,7 +1765,7 @@ function clip(line, at, len) {
1765
1765
  //#endregion
1766
1766
  //#region src/tags/diff-find.marko
1767
1767
  var setSearchPaint$1;
1768
- var diff_find_default = _template("h", (input) => {
1768
+ var diff_find_default = _template("i", (input) => {
1769
1769
  const $scope0_reason = _scope_reason();
1770
1770
  const $scope0_id = _scope_id();
1771
1771
  let open = input.open;
@@ -1792,7 +1792,7 @@ var diff_find_default = _template("h", (input) => {
1792
1792
  hi = (i % list.length + list.length) % list.length;
1793
1793
  const hit = list[hi];
1794
1794
  setSearchPaint$1(q, hit, hitKeys(list) ?? void 0);
1795
- }, "h1", $scope0_id);
1795
+ }, "i1", $scope0_id);
1796
1796
  const type = _resume((v) => {
1797
1797
  if (!live.open) return;
1798
1798
  query = v;
@@ -1804,7 +1804,7 @@ var diff_find_default = _template("h", (input) => {
1804
1804
  box.timer = 0;
1805
1805
  emit(v, 0);
1806
1806
  }, 80);
1807
- }, "h2", $scope0_id);
1807
+ }, "i2", $scope0_id);
1808
1808
  const next = _resume((dir) => {
1809
1809
  if (!live.open) return;
1810
1810
  if (box.timer) {
@@ -1812,7 +1812,7 @@ var diff_find_default = _template("h", (input) => {
1812
1812
  box.timer = 0;
1813
1813
  }
1814
1814
  emit(query || "", (at < 0 ? 0 : at) + dir);
1815
- }, "h3", $scope0_id);
1815
+ }, "i3", $scope0_id);
1816
1816
  const close = _resume(() => {
1817
1817
  open = false;
1818
1818
  live.open = false;
@@ -1821,7 +1821,7 @@ var diff_find_default = _template("h", (input) => {
1821
1821
  box.timer = 0;
1822
1822
  }
1823
1823
  setSearchPaint$1("", null);
1824
- }, "h4", $scope0_id);
1824
+ }, "i4", $scope0_id);
1825
1825
  const focusInput = _resume(() => {
1826
1826
  const el = ((findEl) => findEl())(_el_read_error);
1827
1827
  if (!el) return;
@@ -1831,19 +1831,19 @@ var diff_find_default = _template("h", (input) => {
1831
1831
  el.focus();
1832
1832
  el.select();
1833
1833
  }, 0);
1834
- }, "h5", $scope0_id);
1835
- _html(`<div${_attr_class(["_fO", !open && "_fN"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
1834
+ }, "i5", $scope0_id);
1835
+ _html(`<div${_attr_class(["_fB", !open && "_fA"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
1836
1836
  type(v);
1837
- }, "h0", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_fR")}>${open && (query || "").trim() ? hits.length ? `${_escape(`${at + 1}`)}/${_escape(`${hits.length}`)}` : "0/0" : ""}${_el_resume($scope0_id, "d")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
1837
+ }, "i0", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_fE")}>${open && (query || "").trim() ? hits.length ? `${_escape(`${at + 1}`)}/${_escape(`${hits.length}`)}` : "0/0" : ""}${_el_resume($scope0_id, "d")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
1838
1838
  icon_arrow_up_default({ size: 14 });
1839
1839
  _html(`</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
1840
1840
  icon_arrow_down_default({ size: 14 });
1841
1841
  _html(`</button>${_el_resume($scope0_id, "g")}<button type=button${_attr_class(findIconBtn)} title="Close find" tabindex=${open ? "0" : "-1"}>`);
1842
1842
  icon_xmark_default({ size: 14 });
1843
1843
  _html(`</button>${_el_resume($scope0_id, "i")}</div>${_el_resume($scope0_id, "a")}`);
1844
- _script($scope0_id, "h6");
1845
- _script($scope0_id, "h7");
1846
- _script($scope0_id, "h8");
1844
+ _script($scope0_id, "i6");
1845
+ _script($scope0_id, "i7");
1846
+ _script($scope0_id, "i8");
1847
1847
  writeScope($scope0_id, {
1848
1848
  m: _serialize_if($scope0_reason, 1) && input.open,
1849
1849
  n: _serialize_if($scope0_reason, 0) && input.openChange,
@@ -1935,11 +1935,11 @@ function shortBranch(name, wsBranch = "", wsName = "") {
1935
1935
  }
1936
1936
  return shortHeadFallback(head);
1937
1937
  }
1938
- var repoWorktree = "_gV _x";
1939
- var repoTitle = "_g1 _w";
1938
+ var repoWorktree = "_gs _x";
1939
+ var repoTitle = "_gy _w";
1940
1940
  //#endregion
1941
1941
  //#region src/tags/icons/icon-chevron-right.marko
1942
- var icon_chevron_right_default = _template("Q", (input) => {
1942
+ var icon_chevron_right_default = _template("R", (input) => {
1943
1943
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
1944
1944
  const $scope0_id = _scope_id();
1945
1945
  _set_serialize_reason({
@@ -1956,7 +1956,7 @@ var icon_chevron_right_default = _template("Q", (input) => {
1956
1956
  });
1957
1957
  //#endregion
1958
1958
  //#region src/tags/icons/icon-chevron-down.marko
1959
- var icon_chevron_down_default = _template("P", (input) => {
1959
+ var icon_chevron_down_default = _template("Q", (input) => {
1960
1960
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
1961
1961
  const $scope0_id = _scope_id();
1962
1962
  _set_serialize_reason({
@@ -1973,7 +1973,7 @@ var icon_chevron_down_default = _template("P", (input) => {
1973
1973
  });
1974
1974
  //#endregion
1975
1975
  //#region src/tags/icons/icon-comment.marko
1976
- var icon_comment_default = _template("S", (input) => {
1976
+ var icon_comment_default = _template("T", (input) => {
1977
1977
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
1978
1978
  const $scope0_id = _scope_id();
1979
1979
  _set_serialize_reason({
@@ -1989,12 +1989,12 @@ var icon_comment_default = _template("S", (input) => {
1989
1989
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
1990
1990
  });
1991
1991
  tone.warn;
1992
- var diff_file_default = _template("g", (input) => {
1992
+ var diff_file_default = _template("h", (input) => {
1993
1993
  _scope_reason();
1994
1994
  const $scope0_id = _scope_id();
1995
- _el($scope0_id, "g0");
1996
- _html(`<div${_attr_class(["_hj", input.class])}></div>${_el_resume($scope0_id, "a")}`);
1997
- _script($scope0_id, "g1");
1995
+ _el($scope0_id, "h0");
1996
+ _html(`<div${_attr_class(["_hl", input.class])}></div>${_el_resume($scope0_id, "a")}`);
1997
+ _script($scope0_id, "h1");
1998
1998
  writeScope($scope0_id, {
1999
1999
  e: input.file,
2000
2000
  f: input.comments,
@@ -2013,7 +2013,7 @@ var diff_file_default = _template("g", (input) => {
2013
2013
  });
2014
2014
  //#endregion
2015
2015
  //#region src/tags/review-section.marko
2016
- var review_section_default = _template("t", (input) => {
2016
+ var review_section_default = _template("u", (input) => {
2017
2017
  const $scope0_reason = _scope_reason(), $si__input_collapsed = _serialize_if($scope0_reason, 39), $sg__input_collapsed = _serialize_guard($scope0_reason, 39), $sg__input_repo = _serialize_guard($scope0_reason, 34), $si__input_repo = _serialize_if($scope0_reason, 34), $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened = _serialize_guard($scope0_reason, 31), $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_guard($scope0_reason, 13), $sg__input_repo__OR__input_files_length = _serialize_guard($scope0_reason, 0), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName = _serialize_if($scope0_reason, 13), $sg__input_files__OR__input_shownKeys = _serialize_guard($scope0_reason, 3), $sg__input_files__OR__input_onlyNew = _serialize_guard($scope0_reason, 4), $sg__input_files = _serialize_guard($scope0_reason, 35), $sg__input_files__OR__input_commentsByFile = _serialize_guard($scope0_reason, 5), $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles = _serialize_guard($scope0_reason, 18), $si__input_files__OR__input_collapsedFiles = _serialize_if($scope0_reason, 6), $si__input_files = _serialize_if($scope0_reason, 35), $si__input_files__OR__input_commentsByFile = _serialize_if($scope0_reason, 5), $si__input_findHit_key = _serialize_if($scope0_reason, 43), $sg__input_files__OR__input_collapsedFiles = _serialize_guard($scope0_reason, 6), $si__input_onFileToggle = _serialize_if($scope0_reason, 44), $si__input_repo__OR__input_files__OR__input_shownKeys = _serialize_if($scope0_reason, 11), $si__input_collapsible__OR__input_collapsed = _serialize_if($scope0_reason, 9), $si__input_files__OR__input_collapsible__OR__input_collapsed__OR__input_opened = _serialize_if($scope0_reason, 24), $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers = _serialize_if($scope0_reason, 23), $si__input_files__OR__input_shownKeys = _serialize_if($scope0_reason, 3), $si__input_files__OR__input_onlyNew = _serialize_if($scope0_reason, 4), $si__input = _serialize_if($scope0_reason, 33), $si__input_draft = _serialize_if($scope0_reason, 46), $si__input_sessions = _serialize_if($scope0_reason, 47), $si__input_onSelect = _serialize_if($scope0_reason, 48), $si__input_onSaveComment = _serialize_if($scope0_reason, 49), $si__input_onSendDraft = _serialize_if($scope0_reason, 50), $si__input_onCancelDraft = _serialize_if($scope0_reason, 51), $si__input_onDeleteComment = _serialize_if($scope0_reason, 52), $si__input_onEditComment = _serialize_if($scope0_reason, 53), $si__input_onSendComment = _serialize_if($scope0_reason, 54), $si__input_onError = _serialize_if($scope0_reason, 55), $si__input_shownKeys = _serialize_if($scope0_reason, 36), $si__input_commentsByFile = _serialize_if($scope0_reason, 41), $si__input_collapsedFiles = _serialize_if($scope0_reason, 42), $si__input_findHit_line = _serialize_if($scope0_reason, 45);
2018
2018
  const $scope0_id = _scope_id();
2019
2019
  const $input__closures = /* @__PURE__ */ new Set();
@@ -2052,14 +2052,14 @@ var review_section_default = _template("t", (input) => {
2052
2052
  const newCount = input.files.filter((f) => f.changedSince).length;
2053
2053
  const compare$1 = reviewCompareLabel(repo.pr?.baseRefName || repo.base, repo.pr?.headRefName || repo.branch, input.workspaceBranch, input.workspaceName);
2054
2054
  const prTitle = repo.pr ? `${repo.pr.title}: ${repo.pr.headRefName} ${repo.head} vs ${repo.base} ${repo.baseSha}` : "";
2055
- _html(`<section${_attr_class("_gR")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownCount && !repo.pr && input.findHit?.repo !== repo.id)}><div${_attr_class(["_gS", { ["_gT"]: input.collapsible && input.collapsed }])}>`);
2055
+ _html(`<section${_attr_class("_go")}${repo.pr ? _attr("data-pr", `${repo.worktree}/${repo.pr.number}`) : ""}${_attr("hidden", !shownCount && !repo.pr && input.findHit?.repo !== repo.id)}><div${_attr_class(["_gp", { ["_gq"]: input.collapsible && input.collapsed }])}>`);
2056
2056
  _if(() => {
2057
2057
  if (input.collapsible) {
2058
2058
  const $scope1_id = _scope_id();
2059
- _html(`<button type=button${_attr_class("_gU")} aria-expanded=${!input.collapsed ? "true" : "false"} aria-busy=${input.expanding ? "true" : "false"}${input.collapsed ? _attr("title", `Show ${countLabel} files`) : " title=\"Hide files\""}><span${_attr_class([
2060
- "_hd",
2061
- !input.collapsed && "_he",
2062
- input.expanding && "_hf"
2059
+ _html(`<button type=button${_attr_class("_gr")} aria-expanded=${!input.collapsed ? "true" : "false"} aria-busy=${input.expanding ? "true" : "false"}${input.collapsed ? _attr("title", `Show ${countLabel} files`) : " title=\"Hide files\""}><span${_attr_class([
2060
+ "_gL",
2061
+ !input.collapsed && "_gM",
2062
+ input.expanding && "_gN"
2063
2063
  ])} aria-hidden=true>`);
2064
2064
  _if(() => {
2065
2065
  if (input.collapsed) {
@@ -2075,7 +2075,7 @@ var review_section_default = _template("t", (input) => {
2075
2075
  }
2076
2076
  }, $scope1_id, "b", $sg__input_collapsed, _serialize_guard($scope0_reason, 10), $sg__input_collapsed, "</span>", 1);
2077
2077
  _html(`<span${_attr_class(repoWorktree)}>${_escape(repo.worktree)}${_el_resume($scope1_id, "d", $sg__input_repo)}</span></button>${_el_resume($scope1_id, "a")}`);
2078
- _script($scope1_id, "t9");
2078
+ _script($scope1_id, "u9");
2079
2079
  writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
2080
2080
  return 0;
2081
2081
  } else {
@@ -2098,14 +2098,14 @@ var review_section_default = _template("t", (input) => {
2098
2098
  return 1;
2099
2099
  }
2100
2100
  }, $scope0_id, "d", $sg__input_repo, $sg__input_repo, $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened);
2101
- _html(`<span${_attr_class("_g2")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_I", "_g3"])}>${_escape(compare$1.base)}${_el_resume($scope0_id, "g", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_K", "_g5"])} aria-hidden=true>vs</span><span${_attr_class(["_I", "_g4"])}>${_escape(compare$1.head)}${_el_resume($scope0_id, "j", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
2101
+ _html(`<span${_attr_class("_gz")}${_attr("title", `${compare$1.title} · ${repo.head.slice(0, 7)}…${repo.baseSha.slice(0, 7)}`)}><span${_attr_class(["_I", "_gA"])}>${_escape(compare$1.base)}${_el_resume($scope0_id, "g", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span><span${_attr_class(["_K", "_gC"])} aria-hidden=true>vs</span><span${_attr_class(["_I", "_gB"])}>${_escape(compare$1.head)}${_el_resume($scope0_id, "j", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
2102
2102
  _if(() => {
2103
2103
  if (compare$1.topic) {
2104
2104
  const $scope15_id = _scope_id();
2105
2105
  _html(`<span${_attr_class([
2106
2106
  "_I",
2107
2107
  tone.accent,
2108
- "_g6"
2108
+ "_gD"
2109
2109
  ])}>${_escape(compare$1.topic)}${_el_resume($scope15_id, "b", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}</span>`);
2110
2110
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && writeScope($scope15_id, { _: _scope_with_id($scope0_id) });
2111
2111
  return 0;
@@ -2118,9 +2118,9 @@ var review_section_default = _template("t", (input) => {
2118
2118
  _html(`<button type=button${_attr_class([
2119
2119
  "_I",
2120
2120
  tone.warn,
2121
- "_g7"
2121
+ "_gE"
2122
2122
  ])}${_attr("title", `origin/${repo.pr.headRefName} ${repo.head} · GitHub ${repo.pr.headRefOid}. Reload to re-ask GitHub`)}${_attr("disabled", input.loading)}>behind GitHub ${_sep($sg__input_repo)}${_escape(shortSha(repo.head, 7))}${_el_resume($scope2_id, "b", $sg__input_repo)} → ${_sep($sg__input_repo)}${_escape(shortSha(repo.pr.headRefOid, 7))}${_el_resume($scope2_id, "c", $sg__input_repo)}</button>${_el_resume($scope2_id, "a")}`);
2123
- _script($scope2_id, "t10");
2123
+ _script($scope2_id, "u10");
2124
2124
  writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
2125
2125
  return 0;
2126
2126
  }
@@ -2128,7 +2128,7 @@ var review_section_default = _template("t", (input) => {
2128
2128
  _if(() => {
2129
2129
  if (repo.contained && input.files.length) {
2130
2130
  const $scope13_id = _scope_id();
2131
- _html(`<span${_attr_class(["_I", "_g7"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_sep($sg__input_repo)}${_escape(repo.base)}${_el_resume($scope13_id, "b", $sg__input_repo)}</span>${_el_resume($scope13_id, "a", $sg__input_repo)}`);
2131
+ _html(`<span${_attr_class(["_I", "_gE"])}${_attr("title", `${repo.pr ? `#${repo.pr.number}` : repo.branch} is already in ${repo.base}; showing the working tree only`)}>already in ${_sep($sg__input_repo)}${_escape(repo.base)}${_el_resume($scope13_id, "b", $sg__input_repo)}</span>${_el_resume($scope13_id, "a", $sg__input_repo)}`);
2132
2132
  _serialize_if($scope0_reason, 0) && writeScope($scope13_id, { _: $si__input_repo && _scope_with_id($scope0_id) });
2133
2133
  return 0;
2134
2134
  }
@@ -2136,16 +2136,16 @@ var review_section_default = _template("t", (input) => {
2136
2136
  _if(() => {
2137
2137
  if (input.localDiffers) {
2138
2138
  const $scope3_id = _scope_id();
2139
- _html(`<span${_attr_class(["_I", "_g7"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_sep($sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}${_escape(shortBranch(repo.branch, input.workspaceBranch, input.workspaceName))}${_el_resume($scope3_id, "b", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)} ${_sep($sg__input_repo)}${_escape(shortSha(repo.localHead, 7))}${_el_resume($scope3_id, "c", $sg__input_repo)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
2139
+ _html(`<span${_attr_class(["_I", "_gE"])}${_attr("title", `This view is ${shortSha(repo.head)} (${repo.pr.headRefName}); checked out is ${shortSha(repo.localHead)} (${repo.branch})`)}>local ${_sep($sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)}${_escape(shortBranch(repo.branch, input.workspaceBranch, input.workspaceName))}${_el_resume($scope3_id, "b", $sg__input_repo__OR__input_workspaceBranch__OR__input_workspaceName)} ${_sep($sg__input_repo)}${_escape(shortSha(repo.localHead, 7))}${_el_resume($scope3_id, "c", $sg__input_repo)}</span>${_el_resume($scope3_id, "a", $sg__input_repo)}`);
2140
2140
  $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_localDiffers && writeScope($scope3_id, { _: $si__input_repo__OR__input_workspaceBranch__OR__input_workspaceName && _scope_with_id($scope0_id) });
2141
2141
  return 0;
2142
2142
  }
2143
2143
  }, $scope0_id, "n", _serialize_guard($scope0_reason, 23), _serialize_guard($scope0_reason, 40), $sg__input_repo__OR__input_files__OR__input_shownKeys__OR__input_workspaceBranch__OR__input_workspaceName__OR__input_collapsible__OR__input_collapsed__OR__input_localDiffers__OR__input_onlyNew__OR__input_opened, 0, 1);
2144
- _html(`<span${_attr_class("_gW")}><span>${_escape(countLabel)}${_el_resume($scope0_id, "p", $sg__input_files__OR__input_shownKeys)} file${_sep($sg__input_files__OR__input_shownKeys)}${countLabel === 1 ? "" : "s"}${_el_resume($scope0_id, "q", $sg__input_files__OR__input_shownKeys)}</span>`);
2144
+ _html(`<span${_attr_class("_gt")}><span>${_escape(countLabel)}${_el_resume($scope0_id, "p", $sg__input_files__OR__input_shownKeys)} file${_sep($sg__input_files__OR__input_shownKeys)}${countLabel === 1 ? "" : "s"}${_el_resume($scope0_id, "q", $sg__input_files__OR__input_shownKeys)}</span>`);
2145
2145
  _if(() => {
2146
2146
  if (stats.additions || stats.deletions) {
2147
2147
  const $scope14_id = _scope_id();
2148
- _html(`<span${_attr_class("_gX")}>+${_sep($sg__input_files__OR__input_shownKeys)}${_escape(stats.additions)}${_el_resume($scope14_id, "b", $sg__input_files__OR__input_shownKeys)}</span><span${_attr_class("_gY")}>−${_sep($sg__input_files__OR__input_shownKeys)}${_escape(stats.deletions)}${_el_resume($scope14_id, "d", $sg__input_files__OR__input_shownKeys)}</span>`);
2148
+ _html(`<span${_attr_class("_gu")}>+${_sep($sg__input_files__OR__input_shownKeys)}${_escape(stats.additions)}${_el_resume($scope14_id, "b", $sg__input_files__OR__input_shownKeys)}</span><span${_attr_class("_gv")}>−${_sep($sg__input_files__OR__input_shownKeys)}${_escape(stats.deletions)}${_el_resume($scope14_id, "d", $sg__input_files__OR__input_shownKeys)}</span>`);
2149
2149
  $si__input_files__OR__input_shownKeys && writeScope($scope14_id, { _: _scope_with_id($scope0_id) });
2150
2150
  return 0;
2151
2151
  }
@@ -2153,8 +2153,8 @@ var review_section_default = _template("t", (input) => {
2153
2153
  _if(() => {
2154
2154
  if (newCount || input.onlyNew) {
2155
2155
  const $scope4_id = _scope_id();
2156
- _html(`<button type=button${_attr_class(["_g0", { ["_gZ"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_escape(newCount)}${_el_resume($scope4_id, "b", $sg__input_files)} new</button>${_el_resume($scope4_id, "a")}`);
2157
- _script($scope4_id, "t11");
2156
+ _html(`<button type=button${_attr_class(["_gx", { ["_gw"]: input.onlyNew }])} aria-pressed=${input.onlyNew ? "true" : "false"} title=${input.onlyNew ? "\"Show every file\"" : "\"Show only files changed since your last visit\""}>${_escape(newCount)}${_el_resume($scope4_id, "b", $sg__input_files)} new</button>${_el_resume($scope4_id, "a")}`);
2157
+ _script($scope4_id, "u11");
2158
2158
  writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
2159
2159
  return 0;
2160
2160
  }
@@ -2163,7 +2163,7 @@ var review_section_default = _template("t", (input) => {
2163
2163
  _if(() => {
2164
2164
  if (!input.collapsible || !input.collapsed || input.opened) {
2165
2165
  const $scope5_id = _scope_id();
2166
- _html(`<div${_attr_class("_g9")}${_attr("hidden", input.collapsible && input.collapsed)}>`);
2166
+ _html(`<div${_attr_class("_gG")}${_attr("hidden", input.collapsible && input.collapsed)}>`);
2167
2167
  _for_of(input.files, (file$1) => {
2168
2168
  const $scope6_id = _scope_id();
2169
2169
  const $for_content__file__closures = /* @__PURE__ */ new Set();
@@ -2173,11 +2173,11 @@ var review_section_default = _template("t", (input) => {
2173
2173
  const expanded = !input.collapsedFiles.has(file$1.key);
2174
2174
  _html(`<details${_attr_details_or_dialog_open($scope6_id, "a", expanded, _resume(function(open) {
2175
2175
  input.onFileToggle(file$1.key, open);
2176
- }, "t0", $scope6_id))}${_attr_class(["_g_", input.findHit?.key === file$1.key && "_gP"])}${_attr("data-key", file$1.key)}${_attr("hidden", !input.shownKeys.has(file$1.key))}><summary${_attr_class("_hb")}><span${_attr_class("_hg")}${_attr("data-status", file$1.status)}>${_escape(file$1.status)}${_el_resume($scope6_id, "d", $sg__input_files)}</span>${_el_resume($scope6_id, "c", $sg__input_files)}<span${_attr_class(["_hh", input.findHit?.key === file$1.key && input.findHit.line < 1 && "_gQ"])}${_attr("title", file$1.path)}><bdi>${_escape(file$1.path)}${_el_resume($scope6_id, "f", $sg__input_files)}</bdi></span>${_el_resume($scope6_id, "e", _serialize_guard($scope0_reason, 19))}`);
2176
+ }, "u0", $scope6_id))}${_attr_class(["_gH", input.findHit?.key === file$1.key && "_gm"])}${_attr("data-key", file$1.key)}${_attr("hidden", !input.shownKeys.has(file$1.key))}><summary${_attr_class("_gJ")}><span${_attr_class("_gO")}${_attr("data-status", file$1.status)}>${_escape(file$1.status)}${_el_resume($scope6_id, "d", $sg__input_files)}</span>${_el_resume($scope6_id, "c", $sg__input_files)}<span${_attr_class(["_gP", input.findHit?.key === file$1.key && input.findHit.line < 1 && "_gn"])}${_attr("title", file$1.path)}><bdi>${_escape(file$1.path)}${_el_resume($scope6_id, "f", $sg__input_files)}</bdi></span>${_el_resume($scope6_id, "e", _serialize_guard($scope0_reason, 19))}`);
2177
2177
  _if(() => {
2178
2178
  if (file$1.changedSince) {
2179
2179
  const $scope19_id = _scope_id();
2180
- _html(`<span${_attr_class(["_z", "_g8"])} title="Changed since your last visit"></span>`);
2180
+ _html(`<span${_attr_class(["_z", "_gF"])} title="Changed since your last visit"></span>`);
2181
2181
  $si__input_files && writeScope($scope19_id, {});
2182
2182
  return 0;
2183
2183
  }
@@ -2196,17 +2196,17 @@ var review_section_default = _template("t", (input) => {
2196
2196
  _if(() => {
2197
2197
  if (file$1.binary) {
2198
2198
  const $scope20_id = _scope_id();
2199
- _html(`<p${_attr_class(["_hi", "_ha"])}>binary file</p>`);
2199
+ _html(`<p${_attr_class(["_gQ", "_gI"])}>binary file</p>`);
2200
2200
  $si__input_files__OR__input_collapsedFiles && writeScope($scope20_id, {});
2201
2201
  return 0;
2202
2202
  } else if (file$1.tooLarge) {
2203
2203
  const $scope21_id = _scope_id();
2204
- _html(`<p${_attr_class(["_hi", "_ha"])}>file too large to display</p>`);
2204
+ _html(`<p${_attr_class(["_gQ", "_gI"])}>file too large to display</p>`);
2205
2205
  $si__input_files__OR__input_collapsedFiles && writeScope($scope21_id, {});
2206
2206
  return 1;
2207
2207
  } else if (file$1.old == null && file$1.new == null) {
2208
2208
  const $scope22_id = _scope_id();
2209
- _html(`<p${_attr_class(["_hi", "_ha"])}>file could not be read</p>`);
2209
+ _html(`<p${_attr_class(["_gQ", "_gI"])}>file could not be read</p>`);
2210
2210
  $si__input_files__OR__input_collapsedFiles && writeScope($scope22_id, {});
2211
2211
  return 2;
2212
2212
  } else if (expanded) {
@@ -2216,43 +2216,43 @@ var review_section_default = _template("t", (input) => {
2216
2216
  _if(() => {
2217
2217
  if (!forceNear) {
2218
2218
  const $scope8_id = _scope_id();
2219
- _html(`<div${_attr_class(["_hc", "_ha"])}></div>${_el_resume($scope8_id, "a")}`);
2220
- _script($scope8_id, "t12");
2219
+ _html(`<div${_attr_class(["_gK", "_gI"])}></div>${_el_resume($scope8_id, "a")}`);
2220
+ _script($scope8_id, "u12");
2221
2221
  _subscribe($si__input && $input__closures, writeScope($scope8_id, {}));
2222
2222
  return 0;
2223
2223
  } else {
2224
2224
  const $scope9_id = _scope_id();
2225
2225
  const $childScope = _peek_scope_id();
2226
2226
  diff_file_default({
2227
- class: "_ha",
2227
+ class: "_gI",
2228
2228
  file: file$1,
2229
2229
  comments: fileComments,
2230
2230
  draft: input.draft && input.draft.key === file$1.key ? input.draft : null,
2231
2231
  sessions: input.sessions,
2232
2232
  onSelect: _resume(function(range) {
2233
2233
  input.onSelect(file$1, range);
2234
- }, "t1", $scope9_id),
2234
+ }, "u1", $scope9_id),
2235
2235
  onSaveComment: _resume(function(text) {
2236
2236
  input.onSaveComment(file$1, text);
2237
- }, "t2", $scope9_id),
2237
+ }, "u2", $scope9_id),
2238
2238
  onSendDraft: _resume(function(text, sessionId) {
2239
2239
  input.onSendDraft(file$1, text, sessionId);
2240
- }, "t3", $scope9_id),
2240
+ }, "u3", $scope9_id),
2241
2241
  onCancelDraft: _resume(function() {
2242
2242
  input.onCancelDraft();
2243
- }, "t4", $scope9_id),
2243
+ }, "u4", $scope9_id),
2244
2244
  onDeleteComment: _resume(function(id) {
2245
2245
  input.onDeleteComment(id);
2246
- }, "t5", $scope9_id),
2246
+ }, "u5", $scope9_id),
2247
2247
  onEditComment: _resume(function(id, text) {
2248
2248
  input.onEditComment(id, text);
2249
- }, "t6", $scope9_id),
2249
+ }, "u6", $scope9_id),
2250
2250
  onSendComment: _resume(function(id, sessionId) {
2251
2251
  input.onSendComment(id, sessionId);
2252
- }, "t7", $scope9_id),
2252
+ }, "u7", $scope9_id),
2253
2253
  onError: _resume(function(message) {
2254
2254
  input.onError(message);
2255
- }, "t8", $scope9_id)
2255
+ }, "u8", $scope9_id)
2256
2256
  });
2257
2257
  _subscribe($si__input_files__OR__input_commentsByFile && $for_content__fileComments__closures, _subscribe($si__input_files && $for_content__file_key__closures, _subscribe($si__input_files && $for_content__file__closures, _subscribe($si__input_onError && $input_onError__closures, _subscribe($si__input_onSendComment && $input_onSendComment__closures, _subscribe($si__input_onEditComment && $input_onEditComment__closures, _subscribe($si__input_onDeleteComment && $input_onDeleteComment__closures, _subscribe($si__input_onCancelDraft && $input_onCancelDraft__closures, _subscribe($si__input_onSendDraft && $input_onSendDraft__closures, _subscribe($si__input_onSaveComment && $input_onSaveComment__closures, _subscribe($si__input_onSelect && $input_onSelect__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($si__input_draft && $input_draft__closures, writeScope($scope9_id, { a: _serialize_if($scope0_reason, 32) && _existing_scope($childScope) }))))))))))))));
2258
2258
  return 1;
@@ -2268,7 +2268,7 @@ var review_section_default = _template("t", (input) => {
2268
2268
  }
2269
2269
  }, $scope6_id, "i", $sg__input_files__OR__input_collapsedFiles, $sg__input_files__OR__input_collapsedFiles, $sg__input_files__OR__input_commentsByFile__OR__input_collapsedFiles);
2270
2270
  _html(`</details>${_el_resume($scope6_id, "a")}`);
2271
- _script($scope6_id, "t13");
2271
+ _script($scope6_id, "u13");
2272
2272
  _subscribe($si__input_findHit_line && $input_findHit_line__closures, _subscribe($si__input_onFileToggle && $input_onFileToggle__closures, _subscribe($si__input_findHit_key && $input_findHit_key__closures, _subscribe($si__input_collapsedFiles && $input_collapsedFiles__closures, _subscribe($si__input_commentsByFile && $input_commentsByFile__closures, _subscribe($si__input_shownKeys && $input_shownKeys__closures, writeScope($scope6_id, {
2273
2273
  k: file$1,
2274
2274
  l: file$1?.key,
@@ -2364,10 +2364,10 @@ var review_section_default = _template("t", (input) => {
2364
2364
  cd: $si__input_findHit_line && $input_findHit_line__closures
2365
2365
  });
2366
2366
  });
2367
- var fileFilter = "_hl _l";
2367
+ var fileFilter = "_hn _l";
2368
2368
  //#endregion
2369
2369
  //#region src/tags/file-filter.marko
2370
- var file_filter_default = _template("m", (input) => {
2370
+ var file_filter_default = _template("n", (input) => {
2371
2371
  const $scope0_reason = _scope_reason();
2372
2372
  const $scope0_id = _scope_id();
2373
2373
  let value = input.value;
@@ -2382,7 +2382,7 @@ var file_filter_default = _template("m", (input) => {
2382
2382
  const next = pending !== null ? pending : value || "";
2383
2383
  pending = null;
2384
2384
  value = next;
2385
- }, "m1", $scope0_id);
2385
+ }, "n1", $scope0_id);
2386
2386
  const type = _resume((v) => {
2387
2387
  if (box.timer) clearTimeout(box.timer);
2388
2388
  if (!v) {
@@ -2393,11 +2393,11 @@ var file_filter_default = _template("m", (input) => {
2393
2393
  }
2394
2394
  pending = v;
2395
2395
  box.timer = setTimeout(flush, 150);
2396
- }, "m2", $scope0_id);
2397
- _html(`<div${_attr_class("_hk")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
2396
+ }, "n2", $scope0_id);
2397
+ _html(`<div${_attr_class("_hm")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
2398
2398
  type(v);
2399
- }, "m0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
2400
- _script($scope0_id, "m3");
2399
+ }, "n0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
2400
+ _script($scope0_id, "n3");
2401
2401
  writeScope($scope0_id, {
2402
2402
  e: _serialize_if($scope0_reason, 1) && input.value,
2403
2403
  f: _serialize_if($scope0_reason, 0) && input.valueChange,
@@ -2427,7 +2427,7 @@ var $content = (input) => {
2427
2427
  _for_of(dir.dirs, (child) => {
2428
2428
  const $scope1_id = _scope_id();
2429
2429
  const shut = input.collapsed.has(input.collapsedKey(child.path));
2430
- _html(`<div${_attr_class("_fx")}><button type=button${_attr_class(["_fy", { ["_fp"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_fF")}>`);
2430
+ _html(`<div${_attr_class("_fV")}><button type=button${_attr_class(["_fW", { ["_fN"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_f3")}>`);
2431
2431
  _if(() => {
2432
2432
  if (shut) {
2433
2433
  const $scope4_id = _scope_id();
@@ -2441,7 +2441,7 @@ var $content = (input) => {
2441
2441
  return 1;
2442
2442
  }
2443
2443
  }, $scope1_id, "c", $sg__input, $sg__input, $sg__input, "</span>", 1);
2444
- _html(`<span${_attr_class("_fz")}>${_escape(child.label)}${_el_resume($scope1_id, "e", $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
2444
+ _html(`<span${_attr_class("_fX")}>${_escape(child.label)}${_el_resume($scope1_id, "e", $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
2445
2445
  _if(() => {
2446
2446
  if (!shut) {
2447
2447
  const $scope2_id = _scope_id();
@@ -2479,7 +2479,7 @@ var $content = (input) => {
2479
2479
  }
2480
2480
  }, $scope1_id, "f", $sg__input, $sg__input, $sg__input);
2481
2481
  _html("</div>");
2482
- _script($scope1_id, "j0");
2482
+ _script($scope1_id, "k0");
2483
2483
  writeScope($scope1_id, {
2484
2484
  h: child,
2485
2485
  i: $si__input && child?.path,
@@ -2488,11 +2488,11 @@ var $content = (input) => {
2488
2488
  }, "path", $scope0_id, "a", $sg__input, $sg__input_dir, $sg__input_dir, 0, 1);
2489
2489
  _for_of(dir.files, ({ file, name }) => {
2490
2490
  const $scope3_id = _scope_id();
2491
- _html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_fB", { ["_fA"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_fG")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope3_id, "c", $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_fC")}>${_escape(name)}${_el_resume($scope3_id, "e", $sg__input_dir)}</span>`);
2491
+ _html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_fZ", { ["_fY"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_f4")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope3_id, "c", $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_f0")}>${_escape(name)}${_el_resume($scope3_id, "e", $sg__input_dir)}</span>`);
2492
2492
  _if(() => {
2493
2493
  if (input.newKeys.has(file.key)) {
2494
2494
  const $scope6_id = _scope_id();
2495
- _html(`<span${_attr_class(["_z", "_fD"])} title="Changed since your last visit"></span>`);
2495
+ _html(`<span${_attr_class(["_z", "_f1"])} title="Changed since your last visit"></span>`);
2496
2496
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
2497
2497
  return 0;
2498
2498
  }
@@ -2500,7 +2500,7 @@ var $content = (input) => {
2500
2500
  _if(() => {
2501
2501
  if (input.commentKeys.has(file.key)) {
2502
2502
  const $scope7_id = _scope_id();
2503
- _html(`<span${_attr_class("_fE")}>`);
2503
+ _html(`<span${_attr_class("_f2")}>`);
2504
2504
  icon_comment_default({ size: 12 });
2505
2505
  _html("</span>");
2506
2506
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
@@ -2533,10 +2533,10 @@ var $content = (input) => {
2533
2533
  x: $si__input_newKeys && $input_newKeys__closures
2534
2534
  });
2535
2535
  };
2536
- var diff_tree_dir_default = _template("j", $content);
2536
+ var diff_tree_dir_default = _template("k", $content);
2537
2537
  //#endregion
2538
2538
  //#region src/tags/diff-tree.marko
2539
- var diff_tree_default = _template("k", (input) => {
2539
+ var diff_tree_default = _template("l", (input) => {
2540
2540
  const $scope0_reason = _scope_reason(), $sg__input_sections = _serialize_guard($scope0_reason, 10), $si__input_onDirToggle = _serialize_if($scope0_reason, 12), $si__input_collapsedFiles = _serialize_if($scope0_reason, 13), $si__input_commentKeys = _serialize_if($scope0_reason, 7), $si__input_newKeys = _serialize_if($scope0_reason, 8), $si__input_workspaceId__OR__input_scope = _serialize_if($scope0_reason, 0);
2541
2541
  const $scope0_id = _scope_id();
2542
2542
  const $input_onDirToggle__closures = /* @__PURE__ */ new Set();
@@ -2557,28 +2557,28 @@ var diff_tree_default = _template("k", (input) => {
2557
2557
  view: "diff",
2558
2558
  scope: input.scope ?? null,
2559
2559
  file: key
2560
- }), "k0", $scope0_id);
2561
- _html(`<aside${_attr_class(["_fq", { ["_fp"]: input.open === false }])}><div${_attr_class("_fr")}>`);
2560
+ }), "l0", $scope0_id);
2561
+ _html(`<aside${_attr_class(["_fO", { ["_fN"]: input.open === false }])}><div${_attr_class("_fP")}>`);
2562
2562
  _set_serialize_reason(2);
2563
2563
  const $childScope = _peek_scope_id();
2564
2564
  file_filter_default({
2565
2565
  value: filter,
2566
2566
  valueChange: _resume((_new_filter) => {
2567
2567
  filter = _new_filter;
2568
- }, "k1", $scope0_id)
2568
+ }, "l1", $scope0_id)
2569
2569
  });
2570
- _html(`</div><div${_attr_class("_fs")}>`);
2570
+ _html(`</div><div${_attr_class("_fQ")}>`);
2571
2571
  _if(() => {
2572
2572
  if (!input.sections.length && filter) {
2573
2573
  const $scope3_id = _scope_id();
2574
- _html(`<p${_attr_class("_ft")}>No files match.</p>`);
2574
+ _html(`<p${_attr_class("_fR")}>No files match.</p>`);
2575
2575
  writeScope($scope3_id, {});
2576
2576
  return 0;
2577
2577
  }
2578
2578
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
2579
2579
  _for_of(input.sections, (section) => {
2580
2580
  const $scope1_id = _scope_id();
2581
- _html(`<div${_attr_class("_fu")}><button type=button${_attr_class(["_fv", { ["_fp"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_fF")}>`);
2581
+ _html(`<div${_attr_class("_fS")}><button type=button${_attr_class(["_fT", { ["_fN"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_f3")}>`);
2582
2582
  _if(() => {
2583
2583
  if (collapsedRepos.has(section.id)) {
2584
2584
  const $scope4_id = _scope_id();
@@ -2592,18 +2592,18 @@ var diff_tree_default = _template("k", (input) => {
2592
2592
  return 1;
2593
2593
  }
2594
2594
  }, $scope1_id, "c", 1, 1, 1, "</span>", 1);
2595
- _html(`<span${_attr_class("_fz")}>${_escape(section.label)}${_el_resume($scope1_id, "e", $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
2595
+ _html(`<span${_attr_class("_fX")}>${_escape(section.label)}${_el_resume($scope1_id, "e", $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
2596
2596
  _if(() => {
2597
2597
  if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
2598
2598
  const $scope2_id = _scope_id();
2599
2599
  const root = treeDirs(section.files);
2600
- _html(`<div${_attr_class("_fw")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
2600
+ _html(`<div${_attr_class("_fU")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
2601
2601
  _set_serialize_reason(1);
2602
2602
  const $childScope2 = _peek_scope_id();
2603
2603
  diff_tree_dir_default({
2604
2604
  dir: root,
2605
2605
  collapsed: collapsedDirs,
2606
- collapsedKey: _resume((path) => `${section.id}/${path}`, "k2", $scope2_id),
2606
+ collapsedKey: _resume((path) => `${section.id}/${path}`, "l2", $scope2_id),
2607
2607
  onToggleDir: _resume(function(dir) {
2608
2608
  const key = `${section.id}/${dir.path}`;
2609
2609
  const next = new Set(collapsedDirs);
@@ -2611,7 +2611,7 @@ var diff_tree_default = _template("k", (input) => {
2611
2611
  if (collapsed) next.add(key);
2612
2612
  collapsedDirs = next;
2613
2613
  input.onDirToggle?.(section.files.filter((f) => f.path.startsWith(`${dir.path}/`)).map((f) => f.key), collapsed);
2614
- }, "k3", $scope2_id),
2614
+ }, "l3", $scope2_id),
2615
2615
  hrefFor,
2616
2616
  collapsedFiles: input.collapsedFiles,
2617
2617
  commentKeys,
@@ -2626,7 +2626,7 @@ var diff_tree_default = _template("k", (input) => {
2626
2626
  }
2627
2627
  }, $scope1_id, "f", 1, 1, 1, 0, 1);
2628
2628
  _html("</div>");
2629
- _script($scope1_id, "k4");
2629
+ _script($scope1_id, "l4");
2630
2630
  writeScope($scope1_id, {
2631
2631
  i: section?.id,
2632
2632
  m: section?.files,
@@ -2669,7 +2669,7 @@ var diff_tree_default = _template("k", (input) => {
2669
2669
  });
2670
2670
  //#endregion
2671
2671
  //#region src/tags/diff-file-sheet.marko
2672
- var diff_file_sheet_default = _template("f", (input) => {
2672
+ var diff_file_sheet_default = _template("g", (input) => {
2673
2673
  const $scope0_reason = _scope_reason(), $sg__input_total__OR__input_files_length = _serialize_guard($scope0_reason, 2), $sg__input_files = _serialize_guard($scope0_reason, 12), $sg__input_newKeys__OR__input_files = _serialize_guard($scope0_reason, 1), $sg__input_commentKeys__OR__input_newKeys__OR__input_files = _serialize_guard($scope0_reason, 4), $sg__input_commentKeys__OR__input_files = _serialize_guard($scope0_reason, 0), $si__input_files = _serialize_if($scope0_reason, 12), $sg__input_files_length = _serialize_guard($scope0_reason, 13), $si__input_files_length = _serialize_if($scope0_reason, 13), $si__input_commentKeys = _serialize_if($scope0_reason, 10), $si__input_newKeys = _serialize_if($scope0_reason, 11), $si__input_workspaceId__OR__input_scope = _serialize_if($scope0_reason, 3);
2674
2674
  const $scope0_id = _scope_id();
2675
2675
  const $commentKeys__closures = /* @__PURE__ */ new Set();
@@ -2685,7 +2685,7 @@ var diff_file_sheet_default = _template("f", (input) => {
2685
2685
  view: "diff",
2686
2686
  scope: input.scope ?? null,
2687
2687
  file: key
2688
- }), "f0", $scope0_id);
2688
+ }), "g0", $scope0_id);
2689
2689
  const groups = (() => {
2690
2690
  const out = [];
2691
2691
  const byRepo = /* @__PURE__ */ new Map();
@@ -2722,39 +2722,39 @@ var diff_file_sheet_default = _template("f", (input) => {
2722
2722
  _if(() => {
2723
2723
  if (open) {
2724
2724
  const $scope1_id = _scope_id();
2725
- _html(`<div${_attr_class("_f5")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_f6")} role=dialog aria-label="Jump to file"><div${_attr_class("_f7")}><strong${_attr_class("_f4")}>Files</strong><span${_attr_class("_f8")}>${_escape(input.files.length)}${_el_resume($scope1_id, "f", $sg__input_files_length)}${_sep($sg__input_total__OR__input_files_length)}${input.files.length !== total ? ` / ${_escape(`${total}`)}` : ""}${_el_resume($scope1_id, "g", $sg__input_total__OR__input_files_length)}</span><button type=button${_attr_class([iconBtnLg, "_f3"])} title=Close aria-label=Close>`);
2725
+ _html(`<div${_attr_class("_f7")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_f8")} role=dialog aria-label="Jump to file"><div${_attr_class("_f9")}><strong${_attr_class("_f6")}>Files</strong><span${_attr_class("_f_")}>${_escape(input.files.length)}${_el_resume($scope1_id, "f", $sg__input_files_length)}${_sep($sg__input_total__OR__input_files_length)}${input.files.length !== total ? ` / ${_escape(`${total}`)}` : ""}${_el_resume($scope1_id, "g", $sg__input_total__OR__input_files_length)}</span><button type=button${_attr_class([iconBtnLg, "_f5"])} title=Close aria-label=Close>`);
2726
2726
  icon_xmark_default({ size: 16 });
2727
- _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_gf")}>`);
2727
+ _html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_gh")}>`);
2728
2728
  _set_serialize_reason(2);
2729
2729
  const $childScope = _peek_scope_id();
2730
2730
  file_filter_default({
2731
2731
  value: filter,
2732
2732
  valueChange: _resume((_new_filter) => {
2733
2733
  filter = _new_filter;
2734
- }, "f1", $scope1_id)
2734
+ }, "g1", $scope1_id)
2735
2735
  });
2736
- _html(`</div><div${_attr_class("_f9")}>`);
2736
+ _html(`</div><div${_attr_class("_ga")}>`);
2737
2737
  _for_of(groups, (group) => {
2738
2738
  const $scope2_id = _scope_id();
2739
- _html(`<div${_attr_class("_f_")}><div${_attr_class("_ga")}>${_escape(group.repo)}${_el_resume($scope2_id, "c", $sg__input_files)}</div>`);
2739
+ _html(`<div${_attr_class("_gb")}><div${_attr_class("_gc")}>${_escape(group.repo)}${_el_resume($scope2_id, "c", $sg__input_files)}</div>`);
2740
2740
  _for_of(group.dirs, ({ dir, files }) => {
2741
2741
  const $scope3_id = _scope_id();
2742
- _html(`<div${_attr_class("_gb")}>`);
2742
+ _html(`<div${_attr_class("_gd")}>`);
2743
2743
  _if(() => {
2744
2744
  if (dir) {
2745
2745
  const $scope5_id = _scope_id();
2746
- _html(`<div${_attr_class("_gd")}${_attr("title", dir)}><bdi>${_escape(dir)}${_el_resume($scope5_id, "b", $sg__input_files)}/</bdi></div>${_el_resume($scope5_id, "a", $sg__input_files)}`);
2746
+ _html(`<div${_attr_class("_gf")}${_attr("title", dir)}><bdi>${_escape(dir)}${_el_resume($scope5_id, "b", $sg__input_files)}/</bdi></div>${_el_resume($scope5_id, "a", $sg__input_files)}`);
2747
2747
  $si__input_files && writeScope($scope5_id, { _: _scope_with_id($scope3_id) });
2748
2748
  return 0;
2749
2749
  }
2750
2750
  }, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
2751
2751
  _for_of(files, ({ file, name }) => {
2752
2752
  const $scope4_id = _scope_id();
2753
- _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_gc", "_x"])}><span${_attr_class("_gj")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope4_id, "c", $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_ge")}><bdi>${_escape(name)}${_el_resume($scope4_id, "e", $sg__input_files)}</bdi></span>`);
2753
+ _html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_ge", "_x"])}><span${_attr_class("_gl")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope4_id, "c", $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_gg")}><bdi>${_escape(name)}${_el_resume($scope4_id, "e", $sg__input_files)}</bdi></span>`);
2754
2754
  _if(() => {
2755
2755
  if (newKeys.has(file.key)) {
2756
2756
  const $scope6_id = _scope_id();
2757
- _html(`<span${_attr_class(["_z", "_gh"])} title="Changed since your last visit"></span>`);
2757
+ _html(`<span${_attr_class(["_z", "_gj"])} title="Changed since your last visit"></span>`);
2758
2758
  _serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
2759
2759
  return 0;
2760
2760
  }
@@ -2764,14 +2764,14 @@ var diff_file_sheet_default = _template("f", (input) => {
2764
2764
  const $scope7_id = _scope_id();
2765
2765
  icon_comment_default({
2766
2766
  size: 12,
2767
- class: "_gi"
2767
+ class: "_gk"
2768
2768
  });
2769
2769
  _serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
2770
2770
  return 0;
2771
2771
  }
2772
2772
  }, $scope4_id, "g", $sg__input_commentKeys__OR__input_files, $sg__input_commentKeys__OR__input_files, $sg__input_commentKeys__OR__input_newKeys__OR__input_files, 0, 1);
2773
2773
  _html(`</a>${_el_resume($scope4_id, "a")}`);
2774
- _script($scope4_id, "f2");
2774
+ _script($scope4_id, "g2");
2775
2775
  _subscribe($si__input_workspaceId__OR__input_scope && $hrefFor2__closures, _subscribe($si__input_newKeys && $newKeys__closures, _subscribe($si__input_commentKeys && $commentKeys__closures, writeScope($scope4_id, {
2776
2776
  k: _serialize_if($scope0_reason, 5) && file?.key,
2777
2777
  _: _scope_with_id($scope3_id)
@@ -2789,13 +2789,13 @@ var diff_file_sheet_default = _template("f", (input) => {
2789
2789
  _if(() => {
2790
2790
  if (!input.files.length) {
2791
2791
  const $scope8_id = _scope_id();
2792
- _html(`<p${_attr_class("_gg")}>No files match.</p>`);
2792
+ _html(`<p${_attr_class("_gi")}>No files match.</p>`);
2793
2793
  $si__input_files_length && writeScope($scope8_id, {});
2794
2794
  return 0;
2795
2795
  }
2796
2796
  }, $scope1_id, "n", $sg__input_files_length, $sg__input_files_length, $sg__input_files_length, 0, 1);
2797
2797
  _html("</div></div>");
2798
- _script($scope1_id, "f3");
2798
+ _script($scope1_id, "g3");
2799
2799
  writeScope($scope1_id, { k: _existing_scope($childScope) });
2800
2800
  return 0;
2801
2801
  }
@@ -2829,7 +2829,7 @@ var api;
2829
2829
  var getTermDims;
2830
2830
  var revealSearchHit;
2831
2831
  var setSearchPaint;
2832
- var diff_view_default = _template("l", (input) => {
2832
+ var diff_view_default = _template("m", (input) => {
2833
2833
  const $scope0_reason = _scope_reason(), $si__input_sessions = _serialize_if($scope0_reason, 5), $si__input_workspaceBranch = _serialize_if($scope0_reason, 6), $si__input_workspaceName = _serialize_if($scope0_reason, 7);
2834
2834
  const $scope0_id = _scope_id();
2835
2835
  const $error__closures = /* @__PURE__ */ new Set();
@@ -2865,14 +2865,14 @@ var diff_view_default = _template("l", (input) => {
2865
2865
  let fileFilter = diffFilter(input.workspaceId);
2866
2866
  const $filterChange = _resume((_new_fileFilter) => {
2867
2867
  fileFilter = _new_fileFilter;
2868
- }, "l1", $scope0_id);
2868
+ }, "m1", $scope0_id);
2869
2869
  let onlyNew = false;
2870
2870
  let scope$1 = input.scope ?? diffScope();
2871
2871
  let treeOpen = diffTreeOpen();
2872
2872
  let fileSheet = false;
2873
2873
  let findOpen = input.findOpen;
2874
2874
  let findTick = input.findTick || 0;
2875
- const findFocusRef = input.findFocusRef || { focus: _resume(function() {}, "l2") };
2875
+ const findFocusRef = input.findFocusRef || { focus: _resume(function() {}, "m2") };
2876
2876
  let findState = {
2877
2877
  query: "",
2878
2878
  hit: null,
@@ -2885,7 +2885,7 @@ var diff_view_default = _template("l", (input) => {
2885
2885
  for (const key of keys) if (collapsed) next.add(key);
2886
2886
  else next.delete(key);
2887
2887
  if (next.size !== collapsedFiles.size || [...next].some((k) => !collapsedFiles.has(k))) collapsedFiles = next;
2888
- }, "l3", $scope0_id);
2888
+ }, "m3", $scope0_id);
2889
2889
  let openedRepos = /* @__PURE__ */ new Set();
2890
2890
  let expandingRepos = /* @__PURE__ */ new Set();
2891
2891
  const nearBox = {
@@ -2926,7 +2926,7 @@ var diff_view_default = _template("l", (input) => {
2926
2926
  cb();
2927
2927
  }
2928
2928
  });
2929
- }, "l4", $scope0_id);
2929
+ }, "m4", $scope0_id);
2930
2930
  const pinToTop = _resume((el) => {
2931
2931
  const root = ((scrollEl) => scrollEl())(_el_read_error);
2932
2932
  if (!root) {
@@ -2935,14 +2935,14 @@ var diff_view_default = _template("l", (input) => {
2935
2935
  }
2936
2936
  const top = el.getBoundingClientRect().top - root.getBoundingClientRect().top + root.scrollTop;
2937
2937
  root.scrollTo({ top: Math.max(0, top - 8) });
2938
- }, "l5", $scope0_id);
2938
+ }, "m5", $scope0_id);
2939
2939
  const retryFrames = _resume((attempt, ms = 2500) => {
2940
2940
  const started = Date.now();
2941
2941
  const tick = () => {
2942
2942
  if (!attempt() && Date.now() - started < ms) requestAnimationFrame(tick);
2943
2943
  };
2944
2944
  tick();
2945
- }, "l6");
2945
+ }, "m6");
2946
2946
  const focusPrSection = _resume((pr) => {
2947
2947
  if (!pr) return;
2948
2948
  const list = repos || [];
@@ -2960,13 +2960,13 @@ var diff_view_default = _template("l", (input) => {
2960
2960
  if (el) pinToTop(el);
2961
2961
  return !!el;
2962
2962
  });
2963
- }, "l7", $scope0_id);
2964
- const findFile = _resume((key) => ((scrollEl) => scrollEl())(_el_read_error)?.querySelector(`details[data-key="${CSS.escape(key)}"]`) ?? null, "l8", $scope0_id);
2963
+ }, "m7", $scope0_id);
2964
+ const findFile = _resume((key) => ((scrollEl) => scrollEl())(_el_read_error)?.querySelector(`details[data-key="${CSS.escape(key)}"]`) ?? null, "m8", $scope0_id);
2965
2965
  const openFile = _resume((key) => {
2966
2966
  const el = findFile(key);
2967
2967
  if (el) el.open = true;
2968
2968
  return el;
2969
- }, "l9", $scope0_id);
2969
+ }, "m9", $scope0_id);
2970
2970
  const jumpTo = _resume((key) => {
2971
2971
  input.onFileChange?.(key);
2972
2972
  retryFrames(() => {
@@ -2974,7 +2974,7 @@ var diff_view_default = _template("l", (input) => {
2974
2974
  if (el) pinToTop(el);
2975
2975
  return !!el;
2976
2976
  });
2977
- }, "l10", $scope0_id);
2977
+ }, "m10", $scope0_id);
2978
2978
  const posBox = {
2979
2979
  anchor: null,
2980
2980
  raf: 0,
@@ -2996,17 +2996,17 @@ var diff_view_default = _template("l", (input) => {
2996
2996
  };
2997
2997
  }
2998
2998
  return best;
2999
- }, "l11", $scope0_id);
2999
+ }, "m11", $scope0_id);
3000
3000
  const noteScroll = _resume(() => {
3001
3001
  if (posBox.raf) return;
3002
3002
  posBox.raf = requestAnimationFrame(() => {
3003
3003
  posBox.raf = 0;
3004
3004
  if (((scrollEl) => scrollEl())(_el_read_error)?.isConnected) posBox.anchor = anchorAt();
3005
3005
  });
3006
- }, "l12", $scope0_id);
3006
+ }, "m12", $scope0_id);
3007
3007
  const savePos = _resume(() => {
3008
3008
  if (repos) setDiffPos(input.workspaceId, posBox.anchor);
3009
- }, "l13", $scope0_id);
3009
+ }, "m13", $scope0_id);
3010
3010
  const restorePos = _resume((pos) => {
3011
3011
  const run = ++posBox.run;
3012
3012
  const started = Date.now();
@@ -3036,7 +3036,7 @@ var diff_view_default = _template("l", (input) => {
3036
3036
  } else if (!pinnedAt && Date.now() - started < 2500) requestAnimationFrame(tick);
3037
3037
  };
3038
3038
  requestAnimationFrame(tick);
3039
- }, "l14", $scope0_id);
3039
+ }, "m14", $scope0_id);
3040
3040
  const headBox = {
3041
3041
  sig: "",
3042
3042
  timer: 0
@@ -3068,14 +3068,14 @@ var diff_view_default = _template("l", (input) => {
3068
3068
  } finally {
3069
3069
  if (seq === loadBox.seq) loading = false;
3070
3070
  }
3071
- }, "l15", $scope0_id);
3071
+ }, "m15", $scope0_id);
3072
3072
  const setScope = _resume((next, persist = true) => {
3073
3073
  if (next === scope$1) return;
3074
3074
  scope$1 = next;
3075
3075
  if (persist) setDiffScope(next);
3076
3076
  input.onScopeChange?.(next);
3077
3077
  load(next);
3078
- }, "l16", $scope0_id);
3078
+ }, "m16", $scope0_id);
3079
3079
  const sendGate = { busy: 0 };
3080
3080
  const loadReview = _resume(async () => {
3081
3081
  if (sendGate.busy) return;
@@ -3084,15 +3084,15 @@ var diff_view_default = _template("l", (input) => {
3084
3084
  if (sendGate.busy) return;
3085
3085
  comments = reviewData.comments || [];
3086
3086
  } catch {}
3087
- }, "l17", $scope0_id);
3088
- const reload = _resume(() => load(scope$1, true), "l18", $scope0_id);
3087
+ }, "m17", $scope0_id);
3088
+ const reload = _resume(() => load(scope$1, true), "m18", $scope0_id);
3089
3089
  const reloadSoon = _resume(() => {
3090
3090
  if (headBox.timer) clearTimeout(headBox.timer);
3091
3091
  headBox.timer = setTimeout(() => {
3092
3092
  headBox.timer = 0;
3093
3093
  reload();
3094
3094
  }, 250);
3095
- }, "l19", $scope0_id);
3095
+ }, "m19", $scope0_id);
3096
3096
  const markSeen = _resume(() => {
3097
3097
  if (!repos) return;
3098
3098
  const heads = {};
@@ -3111,7 +3111,7 @@ var diff_view_default = _template("l", (input) => {
3111
3111
  }),
3112
3112
  keepalive: true
3113
3113
  }).catch(() => {});
3114
- }, "l20", $scope0_id);
3114
+ }, "m20", $scope0_id);
3115
3115
  const repoList = repos || [];
3116
3116
  const allFiles = repoList.flatMap((r) => r.files.map((f) => ({
3117
3117
  ...f,
@@ -3134,7 +3134,7 @@ var diff_view_default = _template("l", (input) => {
3134
3134
  else map.set(f.repo, [f]);
3135
3135
  }
3136
3136
  return map;
3137
- }, "l21");
3137
+ }, "m21");
3138
3138
  const filesByRepo = groupByRepo(allFiles);
3139
3139
  const shownByRepo = groupByRepo(shownFiles);
3140
3140
  const commentsByFile = (() => {
@@ -3153,7 +3153,7 @@ var diff_view_default = _template("l", (input) => {
3153
3153
  }));
3154
3154
  const localDifferIds = new Set(repoList.filter((repo) => !!repo.pr && !!repo.localHead && (repo.localHead !== repo.head || repo.branch !== repo.pr.headRefName)).map((r) => r.id));
3155
3155
  const hasFiles = !repos || allFiles.length > 0;
3156
- const fileWorktree = _resume((repo) => repo.includes("#") ? repo.split("#")[0] : repo, "l22");
3156
+ const fileWorktree = _resume((repo) => repo.includes("#") ? repo.split("#")[0] : repo, "m22");
3157
3157
  const anchorFor = _resume((file, range) => {
3158
3158
  const section = repoList.find((r) => r.id === file.repo);
3159
3159
  const source = range.side === "deletions" ? file.old : file.new;
@@ -3161,7 +3161,7 @@ var diff_view_default = _template("l", (input) => {
3161
3161
  head: section?.head,
3162
3162
  snippet: source == null ? void 0 : quoteRange(source, range.start, range.end, range.side === "deletions" ? "deletions" : "additions")
3163
3163
  };
3164
- }, "l23", $scope0_id);
3164
+ }, "m23", $scope0_id);
3165
3165
  const saveComment = _resume(async (file, text) => {
3166
3166
  const range = draft;
3167
3167
  draft = null;
@@ -3185,16 +3185,16 @@ var diff_view_default = _template("l", (input) => {
3185
3185
  } catch (err) {
3186
3186
  error = String(err.message || err);
3187
3187
  }
3188
- }, "l24", $scope0_id);
3188
+ }, "m24", $scope0_id);
3189
3189
  const deleteRemote = _resume((ids) => ids === "all" ? fetch(`/api/workspaces/${input.workspaceId}/review`, {
3190
3190
  method: "POST",
3191
3191
  headers: { "content-type": "application/json" },
3192
3192
  body: JSON.stringify({ action: "clear" })
3193
- }) : Promise.all(ids.map((id) => fetch(`/api/workspaces/${input.workspaceId}/review/${id}`, { method: "DELETE" }))), "l25", $scope0_id);
3193
+ }) : Promise.all(ids.map((id) => fetch(`/api/workspaces/${input.workspaceId}/review/${id}`, { method: "DELETE" }))), "m25", $scope0_id);
3194
3194
  const removeComment = _resume(async (id) => {
3195
3195
  comments = comments.filter((c) => c.id !== id);
3196
3196
  await deleteRemote([id]).catch(() => {});
3197
- }, "l26", $scope0_id);
3197
+ }, "m26", $scope0_id);
3198
3198
  const editComment = _resume(async (id, text) => {
3199
3199
  const prev = comments.find((c) => c.id === id);
3200
3200
  if (!prev) return;
@@ -3215,7 +3215,7 @@ var diff_view_default = _template("l", (input) => {
3215
3215
  error = String(err.message || err);
3216
3216
  throw err;
3217
3217
  }
3218
- }, "l27", $scope0_id);
3218
+ }, "m27", $scope0_id);
3219
3219
  const dispatch = _resume(async (list, to, consume) => {
3220
3220
  if (!list.length) return true;
3221
3221
  sendGate.busy++;
@@ -3251,13 +3251,13 @@ var diff_view_default = _template("l", (input) => {
3251
3251
  } finally {
3252
3252
  sendGate.busy--;
3253
3253
  }
3254
- }, "l28", $scope0_id);
3255
- const copyMarkdown = _resume(() => dispatch(comments, { clipboard: true }, "all"), "l29", $scope0_id);
3256
- const sendTo = _resume((sessionId) => dispatch(comments, { session: sessionId }, "all"), "l30", $scope0_id);
3254
+ }, "m28", $scope0_id);
3255
+ const copyMarkdown = _resume(() => dispatch(comments, { clipboard: true }, "all"), "m29", $scope0_id);
3256
+ const sendTo = _resume((sessionId) => dispatch(comments, { session: sessionId }, "all"), "m30", $scope0_id);
3257
3257
  const sendOneComment = _resume((id, sessionId) => {
3258
3258
  const comment = comments.find((c) => c.id === id);
3259
3259
  return comment ? dispatch([comment], { session: sessionId }, [id]) : Promise.resolve(false);
3260
- }, "l31", $scope0_id);
3260
+ }, "m31", $scope0_id);
3261
3261
  const sendDraftComment = _resume((file, text, sessionId) => {
3262
3262
  const range = draft;
3263
3263
  const trimmed = text.trim();
@@ -3275,12 +3275,12 @@ var diff_view_default = _template("l", (input) => {
3275
3275
  ...anchorFor(file, range)
3276
3276
  };
3277
3277
  return dispatch([one], { session: sessionId }, []);
3278
- }, "l32", $scope0_id);
3278
+ }, "m32", $scope0_id);
3279
3279
  const openFind = _resume(() => {
3280
3280
  findOpen = true;
3281
3281
  findTick++;
3282
3282
  findFocusRef.focus();
3283
- }, "l33", $scope0_id);
3283
+ }, "m33", $scope0_id);
3284
3284
  const onFindState = _resume((next) => {
3285
3285
  findState = next;
3286
3286
  if (!next.hit) return;
@@ -3295,7 +3295,7 @@ var diff_view_default = _template("l", (input) => {
3295
3295
  setSearchPaint(next.query, hit);
3296
3296
  revealSearchHit();
3297
3297
  }, 0);
3298
- }, "l34", $scope0_id);
3298
+ }, "m34", $scope0_id);
3299
3299
  const toggleSection = _resume((id) => {
3300
3300
  if (expandingRepos.has(id)) {
3301
3301
  const busy = new Set(expandingRepos);
@@ -3327,23 +3327,23 @@ var diff_view_default = _template("l", (input) => {
3327
3327
  openedRepos = /* @__PURE__ */ new Set([...openedRepos, id]);
3328
3328
  collapsedRepos = /* @__PURE__ */ new Set([...collapsedRepos, id]);
3329
3329
  }
3330
- }, "l35", $scope0_id);
3331
- _html(`<div${_attr_class("_dF")}><div${_attr_class("_dK")}><div${_attr_class("_dL")}><div${_attr_class(["_dV", { ["_dU"]: !comments.length }])}>`);
3330
+ }, "m35", $scope0_id);
3331
+ _html(`<div${_attr_class("_eV")}><div${_attr_class("_e0")}><div${_attr_class("_e1")}><div${_attr_class(["_fa", { ["_e_"]: !comments.length }])}>`);
3332
3332
  _if(() => {
3333
3333
  if (input.onExit) {
3334
3334
  const $scope1_id = _scope_id();
3335
- _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_dM"])} title="Back to terminal (Esc)">`);
3335
+ _html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_e2"])} title="Back to terminal (Esc)">`);
3336
3336
  icon_back_default({ size: 14 });
3337
3337
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 1))}`);
3338
3338
  _serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 1) && _scope_with_id($scope0_id) });
3339
3339
  return 0;
3340
3340
  }
3341
3341
  }, $scope0_id, "e", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 4), 1, 0, 1);
3342
- _html(`<h1${_attr_class("_dP")}>Review</h1>`);
3342
+ _html(`<h1${_attr_class("_e5")}>Review</h1>`);
3343
3343
  _if(() => {
3344
3344
  if (comments.length) {
3345
3345
  const $scope5_id = _scope_id();
3346
- _html(`<span${_attr_class("_dO")}>${_escape(comments.length)}${_el_resume($scope5_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope5_id, "c")}</span>`);
3346
+ _html(`<span${_attr_class("_e4")}>${_escape(comments.length)}${_el_resume($scope5_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope5_id, "c")}</span>`);
3347
3347
  writeScope($scope5_id, {});
3348
3348
  return 0;
3349
3349
  }
@@ -3351,7 +3351,7 @@ var diff_view_default = _template("l", (input) => {
3351
3351
  _if(() => {
3352
3352
  if (comments.length) {
3353
3353
  const $scope2_id = _scope_id();
3354
- _html(`<span${_attr_class("_dN")}>`);
3354
+ _html(`<span${_attr_class("_e3")}>`);
3355
3355
  _set_serialize_reason(_serialize_guard($scope0_reason, 5));
3356
3356
  const $childScope = _peek_scope_id();
3357
3357
  diff_send_default({
@@ -3364,23 +3364,23 @@ var diff_view_default = _template("l", (input) => {
3364
3364
  return 0;
3365
3365
  }
3366
3366
  }, $scope0_id, "h", 1, 1, 1, 0, 1);
3367
- _html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_dJ")}>`);
3367
+ _html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_eZ")}>`);
3368
3368
  _if(() => {
3369
3369
  if (hasFiles) {
3370
3370
  const $scope12_id = _scope_id();
3371
3371
  _html(`<button${_attr_class([
3372
3372
  treeToggle,
3373
- "_dH",
3374
- { ["_dG"]: treeOpen }
3373
+ "_eX",
3374
+ { ["_eW"]: treeOpen }
3375
3375
  ])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
3376
3376
  icon_sidebar_default({ size: 14 });
3377
3377
  _html(`</button>${_el_resume($scope12_id, "a")}`);
3378
- _script($scope12_id, "l54");
3378
+ _script($scope12_id, "m54");
3379
3379
  writeScope($scope12_id, {});
3380
3380
  return 0;
3381
3381
  }
3382
3382
  }, $scope0_id, "j", 1, 1, 1, 0, 1);
3383
- _html(`<button${_attr_class([iconBtnRow, "_dH"])} title="Refresh diff"${_attr("disabled", loading)}>`);
3383
+ _html(`<button${_attr_class([iconBtnRow, "_eX"])} title="Refresh diff"${_attr("disabled", loading)}>`);
3384
3384
  _set_serialize_reason(1);
3385
3385
  const $childScope2 = _peek_scope_id();
3386
3386
  icon_refresh_default({
@@ -3391,19 +3391,19 @@ var diff_view_default = _template("l", (input) => {
3391
3391
  _if(() => {
3392
3392
  if (hasFiles) {
3393
3393
  const $scope13_id = _scope_id();
3394
- _html(`<button${_attr_class(["_o", "_d7"])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope13_id, "b")})</button>${_el_resume($scope13_id, "a")}`);
3395
- _script($scope13_id, "l55");
3394
+ _html(`<button${_attr_class(["_o", "_fm"])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope13_id, "b")})</button>${_el_resume($scope13_id, "a")}`);
3395
+ _script($scope13_id, "m55");
3396
3396
  writeScope($scope13_id, {});
3397
3397
  return 0;
3398
3398
  }
3399
3399
  }, $scope0_id, "m", 1, 1, 1, 0, 1);
3400
- _html(`<div${_attr_class("_dW")} role=group aria-label="Review scope"><button type=button${_attr_class(["_dY", { ["_dX"]: scope$1 === "committed" }])} aria-pressed=${scope$1 === "committed" ? "true" : "false"} title="Committed changes only (base…tip, no working-tree edits)"${_attr("disabled", loading)}>Committed</button>${_el_resume($scope0_id, "o")}<button type=button${_attr_class(["_dY", { ["_dX"]: scope$1 === "working" }])} aria-pressed=${scope$1 === "working" ? "true" : "false"} title="Committed changes plus uncommitted and untracked files"${_attr("disabled", loading)}>Working tree</button>${_el_resume($scope0_id, "p")}<button type=button${_attr_class(["_dY", { ["_dX"]: scope$1 === "dirty" }])} aria-pressed=${scope$1 === "dirty" ? "true" : "false"} title="Only uncommitted and untracked files, against HEAD"${_attr("disabled", loading)}>Uncommitted</button>${_el_resume($scope0_id, "q")}</div><span${_attr_class(["_m", "_dZ"])}>`);
3400
+ _html(`<div${_attr_class("_fb")} role=group aria-label="Review scope"><button type=button${_attr_class(["_fd", { ["_fc"]: scope$1 === "committed" }])} aria-pressed=${scope$1 === "committed" ? "true" : "false"} title="Committed changes only (base…tip, no working-tree edits)"${_attr("disabled", loading)}>Committed</button>${_el_resume($scope0_id, "o")}<button type=button${_attr_class(["_fd", { ["_fc"]: scope$1 === "working" }])} aria-pressed=${scope$1 === "working" ? "true" : "false"} title="Committed changes plus uncommitted and untracked files"${_attr("disabled", loading)}>Working tree</button>${_el_resume($scope0_id, "p")}<button type=button${_attr_class(["_fd", { ["_fc"]: scope$1 === "dirty" }])} aria-pressed=${scope$1 === "dirty" ? "true" : "false"} title="Only uncommitted and untracked files, against HEAD"${_attr("disabled", loading)}>Uncommitted</button>${_el_resume($scope0_id, "q")}</div><span${_attr_class(["_m", "_fe"])}>`);
3401
3401
  _attr_select_value($scope0_id, "s", scope$1, _resume(function(v) {
3402
3402
  setScope(v);
3403
- }, "l0", $scope0_id), () => {
3404
- _html(`<select${_attr_class(["_n", "_d0"])} aria-label="Review scope"${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option></select>`);
3403
+ }, "m0", $scope0_id), () => {
3404
+ _html(`<select${_attr_class(["_n", "_ff"])} aria-label="Review scope"${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option></select>`);
3405
3405
  });
3406
- _html(`${_el_resume($scope0_id, "s")}</span><div${_attr_class(["_dS", { ["_dR"]: !findOpen }])}>`);
3406
+ _html(`${_el_resume($scope0_id, "s")}</span><div${_attr_class(["_e8", { ["_e7"]: !findOpen }])}>`);
3407
3407
  _set_serialize_reason(2);
3408
3408
  const $childScope3 = _peek_scope_id();
3409
3409
  diff_find_default({
@@ -3412,11 +3412,11 @@ var diff_view_default = _template("l", (input) => {
3412
3412
  open: findOpen,
3413
3413
  openChange: _resume((_new_findOpen) => {
3414
3414
  findOpen = _new_findOpen;
3415
- }, "l36", $scope0_id),
3415
+ }, "m36", $scope0_id),
3416
3416
  focusRef: findFocusRef,
3417
3417
  stateChange: _resume(function(s) {
3418
3418
  onFindState(s);
3419
- }, "l37", $scope0_id)
3419
+ }, "m37", $scope0_id)
3420
3420
  });
3421
3421
  _html(`</div>${_el_resume($scope0_id, "t")}`);
3422
3422
  _if(() => {
@@ -3424,25 +3424,25 @@ var diff_view_default = _template("l", (input) => {
3424
3424
  const $scope14_id = _scope_id();
3425
3425
  _html(`<button${_attr_class([
3426
3426
  iconBtnRow,
3427
- "_dQ",
3428
- "_dH"
3427
+ "_e6",
3428
+ "_eX"
3429
3429
  ])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
3430
3430
  icon_search_default({ size: 14 });
3431
3431
  _html(`</button>${_el_resume($scope14_id, "a")}`);
3432
- _script($scope14_id, "l56");
3432
+ _script($scope14_id, "m56");
3433
3433
  writeScope($scope14_id, {});
3434
3434
  return 0;
3435
3435
  }
3436
3436
  }, $scope0_id, "v", 1, 1, 1, 0, 1);
3437
- _html(`</div></div><div${_attr_class("_dT")} data-diff-main>`);
3437
+ _html(`</div></div><div${_attr_class("_e9")} data-diff-main>`);
3438
3438
  _if(() => {
3439
3439
  if (error) {
3440
3440
  const $scope6_id = _scope_id();
3441
3441
  toast_default({
3442
3442
  onDismiss: _resume(function() {
3443
3443
  error = null;
3444
- }, "l38", $scope6_id),
3445
- content: _content_resume("l57", () => {
3444
+ }, "m38", $scope6_id),
3445
+ content: _content_resume("m57", () => {
3446
3446
  _scope_reason();
3447
3447
  const $scope7_id = _scope_id();
3448
3448
  _html(`${_escape(error)}${_el_resume($scope7_id, "a")}`);
@@ -3457,7 +3457,7 @@ var diff_view_default = _template("l", (input) => {
3457
3457
  _if(() => {
3458
3458
  if (!repos && loading) {
3459
3459
  const $scope15_id = _scope_id();
3460
- _html(`<div${_attr_class("_d2")} aria-hidden=true><div${_attr_class(["_d3", "_d4"])}></div><div${_attr_class(["_d3", "_d5"])}></div><div${_attr_class(["_d3", "_d6"])}></div><div${_attr_class(["_d3", "_d5"])}></div><div${_attr_class(["_d3", "_d6"])}></div></div>`);
3460
+ _html(`<div${_attr_class("_fh")} aria-hidden=true><div${_attr_class(["_fi", "_fj"])}></div><div${_attr_class(["_fi", "_fk"])}></div><div${_attr_class(["_fi", "_fl"])}></div><div${_attr_class(["_fi", "_fk"])}></div><div${_attr_class(["_fi", "_fl"])}></div></div>`);
3461
3461
  writeScope($scope15_id, {});
3462
3462
  return 0;
3463
3463
  }
@@ -3471,7 +3471,7 @@ var diff_view_default = _template("l", (input) => {
3471
3471
  kind: "warn",
3472
3472
  placement: "inline",
3473
3473
  title: `${repo.worktree}: base not found`,
3474
- content: _content_resume("l58", () => {
3474
+ content: _content_resume("m58", () => {
3475
3475
  _scope_reason();
3476
3476
  const $scope10_id = _scope_id();
3477
3477
  _html(`${_escape(repo.base)}${_el_resume($scope10_id, "a")}<!>${scope$1 !== "committed" ? ", showing uncommitted changes only" : ""}${_el_resume($scope10_id, "b")}.`);
@@ -3488,12 +3488,12 @@ var diff_view_default = _template("l", (input) => {
3488
3488
  _if(() => {
3489
3489
  if (repos && !allFiles.length) {
3490
3490
  const $scope11_id = _scope_id();
3491
- _html(`<p${_attr_class("_bE")}>${repoList.some((r) => r.unborn) ? "No commits yet." : scope$1 === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($scope11_id, "b")}</p>`);
3491
+ _html(`<p${_attr_class("_bG")}>${repoList.some((r) => r.unborn) ? "No commits yet." : scope$1 === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($scope11_id, "b")}</p>`);
3492
3492
  writeScope($scope11_id, {});
3493
3493
  return 0;
3494
3494
  } else if (repos && !shownFiles.length && !findState.hit) {
3495
3495
  const $scope8_id = _scope_id();
3496
- _html(`<p${_attr_class("_bE")}>${findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($scope8_id, "b")}</p>`);
3496
+ _html(`<p${_attr_class("_bG")}>${findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($scope8_id, "b")}</p>`);
3497
3497
  writeScope($scope8_id, {});
3498
3498
  return 1;
3499
3499
  }
@@ -3516,14 +3516,14 @@ var diff_view_default = _template("l", (input) => {
3516
3516
  opened: openedRepos.has(repo.id),
3517
3517
  onToggle: _resume(function() {
3518
3518
  toggleSection(repo.id);
3519
- }, "l39", $scope4_id),
3519
+ }, "m39", $scope4_id),
3520
3520
  workspaceBranch: input.workspaceBranch || "",
3521
3521
  workspaceName: input.workspaceName || "",
3522
3522
  localDiffers: localDifferIds.has(repo.id),
3523
3523
  onlyNew,
3524
3524
  onToggleNew: _resume(function() {
3525
3525
  onlyNew = !onlyNew;
3526
- }, "l40", $scope4_id),
3526
+ }, "m40", $scope4_id),
3527
3527
  onReload: reload,
3528
3528
  loading,
3529
3529
  findHit: findState.hit,
@@ -3534,7 +3534,7 @@ var diff_view_default = _template("l", (input) => {
3534
3534
  collapsedFiles,
3535
3535
  onFileToggle: _resume(function(key, open) {
3536
3536
  setFilesCollapsed([key], !open);
3537
- }, "l41", $scope4_id),
3537
+ }, "m41", $scope4_id),
3538
3538
  onSelect: _resume(function(file, range) {
3539
3539
  draft = {
3540
3540
  key: file.key,
@@ -3542,28 +3542,28 @@ var diff_view_default = _template("l", (input) => {
3542
3542
  start: Math.min(range.start, range.end),
3543
3543
  end: Math.max(range.start, range.end)
3544
3544
  };
3545
- }, "l42", $scope4_id),
3545
+ }, "m42", $scope4_id),
3546
3546
  onSaveComment: _resume(function(file, text) {
3547
3547
  saveComment(file, text);
3548
- }, "l43", $scope4_id),
3548
+ }, "m43", $scope4_id),
3549
3549
  onSendDraft: _resume(function(file, text, sessionId) {
3550
3550
  sendDraftComment(file, text, sessionId);
3551
- }, "l44", $scope4_id),
3551
+ }, "m44", $scope4_id),
3552
3552
  onCancelDraft: _resume(function() {
3553
3553
  draft = null;
3554
- }, "l45", $scope4_id),
3554
+ }, "m45", $scope4_id),
3555
3555
  onDeleteComment: _resume(function(id) {
3556
3556
  removeComment(id);
3557
- }, "l46", $scope4_id),
3557
+ }, "m46", $scope4_id),
3558
3558
  onEditComment: _resume(function(id, text) {
3559
3559
  editComment(id, text);
3560
- }, "l47", $scope4_id),
3560
+ }, "m47", $scope4_id),
3561
3561
  onSendComment: _resume(function(id, sessionId) {
3562
3562
  sendOneComment(id, sessionId);
3563
- }, "l48", $scope4_id),
3563
+ }, "m48", $scope4_id),
3564
3564
  onError: _resume(function(message) {
3565
3565
  error = message;
3566
- }, "l49", $scope4_id)
3566
+ }, "m49", $scope4_id)
3567
3567
  });
3568
3568
  _subscribe($toggleSection2__closures, _subscribe($sendDraftComment2__closures, _subscribe($sendOneComment2__closures, _subscribe($editComment2__closures, _subscribe($removeComment2__closures, _subscribe($saveComment2__closures, _subscribe($localDifferIds__closures, _subscribe($commentsByFile__closures, _subscribe($shownKeySet__closures, _subscribe($repoList_length__closures, _subscribe($reload2__closures, _subscribe($expandingRepos__closures, _subscribe($openedRepos__closures, _subscribe($setFilesCollapsed2__closures, _subscribe($collapsedFiles__closures, _subscribe($collapsedRepos__closures, _subscribe($findState_hit__closures, _subscribe($onlyNew__closures, _subscribe($loading__closures, _subscribe($draft__closures, _subscribe($si__input_workspaceName && $input_workspaceName__closures, _subscribe($si__input_workspaceBranch && $input_workspaceBranch__closures, _subscribe($si__input_sessions && $input_sessions__closures, writeScope($scope4_id, { a: _existing_scope($childScope5) }))))))))))))))))))))))));
3569
3569
  return 0;
@@ -3585,17 +3585,17 @@ var diff_view_default = _template("l", (input) => {
3585
3585
  collapsedRepos,
3586
3586
  collapsedReposChange: _resume((_new_collapsedRepos) => {
3587
3587
  collapsedRepos = _new_collapsedRepos;
3588
- }, "l50", $scope0_id),
3588
+ }, "m50", $scope0_id),
3589
3589
  openedRepos,
3590
3590
  openedReposChange: _resume((_new_openedRepos) => {
3591
3591
  openedRepos = _new_openedRepos;
3592
- }, "l51", $scope0_id),
3592
+ }, "m51", $scope0_id),
3593
3593
  commentKeys,
3594
3594
  newKeys,
3595
3595
  collapsedFiles,
3596
3596
  onDirToggle: _resume(function(keys, collapsed) {
3597
3597
  setFilesCollapsed(keys, collapsed);
3598
- }, "l52", $scope0_id),
3598
+ }, "m52", $scope0_id),
3599
3599
  workspaceId: input.workspaceId,
3600
3600
  scope: scope$1
3601
3601
  });
@@ -3605,7 +3605,7 @@ var diff_view_default = _template("l", (input) => {
3605
3605
  open: fileSheet,
3606
3606
  openChange: _resume((_new_fileSheet) => {
3607
3607
  fileSheet = _new_fileSheet;
3608
- }, "l53", $scope0_id),
3608
+ }, "m53", $scope0_id),
3609
3609
  files: shownFiles,
3610
3610
  filter: fileFilter,
3611
3611
  filterChange: $filterChange,
@@ -3616,11 +3616,11 @@ var diff_view_default = _template("l", (input) => {
3616
3616
  scope: scope$1
3617
3617
  });
3618
3618
  _html("</div>");
3619
- _script($scope0_id, "l59");
3620
- _script($scope0_id, "l60");
3621
- _script($scope0_id, "l61");
3622
- _script($scope0_id, "l62");
3623
- _script($scope0_id, "l63");
3619
+ _script($scope0_id, "m59");
3620
+ _script($scope0_id, "m60");
3621
+ _script($scope0_id, "m61");
3622
+ _script($scope0_id, "m62");
3623
+ _script($scope0_id, "m63");
3624
3624
  writeScope($scope0_id, {
3625
3625
  a6: input.workspaceId,
3626
3626
  a7: input.scope,